{"version":3,"sources":["../../../src/evm/gen/template.ts","../../../src/scriptJson.ts","../../../src/evm/template-loader.ts","../../../src/evm/paywall.ts","../../../src/evm/gen/decimals.ts","../../../src/evm/index.ts"],"names":["EVM_PAYWALL_TEMPLATE","formatUnits"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA,gBAAA,GAAA,EAAA;AAAA,QAAA,CAAA,gBAAA,EAAA;AAAA,EAAA,oBAAA,EAAA,MAAA;AAAA,CAAA,CAAA;AAAA,IAIa,oBAAA;AAJb,IAAA,aAAA,GAAA,KAAA,CAAA;AAAA,EAAA,yBAAA,GAAA;AAIO,IAAM,oBAAA,GACX,ix26EAAA;AAAA,EAAA;AAAA,CAAA,CAAA;;;ACGK,SAAS,aAAa,KAAA,EAAwB;AACnD,EAAA,OAAO,KAAK,SAAA,CAAU,KAAK,CAAA,CAAE,OAAA,CAAQ,MAAM,SAAS,CAAA;AACtD;;;ACVA,IAAI,cAAA,GAAgC,IAAA;AAE7B,SAAS,cAAA,GAAgC;AAC9C,EAAA,IAAI,mBAAmB,IAAA,EAAM;AAC3B,IAAA,OAAO,cAAA;AAAA,EACT;AAEA,EAAA,IAAI;AAEF,IAAA,MAAM,QAAA,IAAW,aAAA,EAAA,EAAA,YAAA,CAAA,gBAAA,CAAA,CAAA;AACjB,IAAA,cAAA,GAAiB,QAAA,CAAS,oBAAA;AAC1B,IAAA,OAAO,cAAA;AAAA,EACT,CAAA,CAAA,MAAQ;AACN,IAAA,OAAO,IAAA;AAAA,EACT;AACF;;;ACNA,SAAS,cAAA,GAAiB;AACxB,EAAA,OAAO;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,WAAA,EAAa,4CAAA;AAAA,MACb,QAAA,EAAU;AAAA,KACZ;AAAA,IACA,cAAA,EAAgB;AAAA,MACd,WAAA,EAAa,4CAAA;AAAA,MACb,QAAA,EAAU;AAAA;AACZ,GACF;AACF;AAyBO,SAAS,kBAAkB,OAAA,EAAoC;AACpE,EAAA,MAAMA,wBAAuB,cAAA,EAAe;AAE5C,EAAA,IAAI,CAACA,qBAAAA,EAAsB;AACzB,IAAA,OAAO,CAAA,gHAAA,CAAA;AAAA,EACT;AAEA,EAAA,MAAM,EAAE,QAAQ,OAAA,EAAS,eAAA,EAAiB,YAAY,OAAA,EAAS,OAAA,EAAS,YAAW,GAAI,OAAA;AAEvF,EAAA,MAAM,YAAA,GAAe,UACjB,gEAAA,GACA,EAAA;AAEJ,EAAA,MAAM,SAAS,cAAA,EAAe;AAE9B,EAAA,MAAM,YAAA,GAAe;AAAA;AAAA;AAAA,cAAA,EAGP,MAAM,CAAA;AAAA,uBAAA,EACG,YAAA,CAAa,eAAe,CAAC,CAAA;AAAA,eAAA,EACrC,OAAO,CAAA;AAAA,kBAAA,EACJ,YAAA,CAAa,UAAU,CAAC,CAAA;AAAA;AAAA,qBAAA,EAErB,IAAA,CAAK,SAAA,CAAU,MAAM,CAAC,CAAA;AAAA;AAAA,eAAA,EAE5B,YAAA,CAAa,OAAA,IAAW,EAAE,CAAC,CAAA;AAAA,eAAA,EAC3B,YAAA,CAAa,OAAA,IAAW,EAAE,CAAC,CAAA;AAAA,kBAAA,EACxB,UAAA,GAAa,YAAA,CAAa,UAAU,CAAA,GAAI,WAAW,CAAA;AAAA;AAAA,IAAA,EAEjE,YAAY;AAAA,WAAA,CAAA;AAGhB,EAAA,OAAOA,qBAAAA,CAAqB,OAAA,CAAQ,SAAA,EAAW,MAAM,GAAG,YAAY;AAAA,OAAA,CAAW,CAAA;AACjF;;;ACpEO,IAAM,gBAAA,GAA2C;AAAA,EACtD,cAAA,EAAgB,EAAA;AAAA,EAChB,cAAA,EAAgB,EAAA;AAAA,EAChB,aAAA,EAAe;AACjB,CAAA;;;ACQO,SAAS,wBAAwB,WAAA,EAA0C;AAChF,EAAA,OAAO,gBAAA,CAAiB,WAAA,CAAY,OAAO,CAAA,IAAK,CAAA;AAClD;AAKO,IAAM,UAAA,GAAoC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAO/C,SAAS,WAAA,EAA2C;AAClD,IAAA,OAAO,WAAA,CAAY,OAAA,CAAQ,UAAA,CAAW,SAAS,CAAA;AAAA,EACjD,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,YAAA,CACE,WAAA,EACA,eAAA,EACA,MAAA,EACQ;AACR,IAAA,MAAM,QAAA,GAAW,wBAAwB,WAAW,CAAA;AACpD,IAAA,MAAM,MAAA,GAAS,WAAA,CAAY,MAAA,IAAU,WAAA,CAAY,iBAAA;AAGjD,IAAA,MAAM,MAAA,GAAS,SAAS,MAAA,CAAOC,gBAAA,CAAY,OAAO,MAAM,CAAA,EAAG,QAAQ,CAAC,CAAA,GAAI,CAAA;AAExE,IAAA,OAAO,iBAAA,CAAkB;AAAA,MACvB,MAAA;AAAA,MACA,eAAA;AAAA,MACA,UAAA,EAAY,eAAA,CAAgB,QAAA,EAAU,GAAA,IAAO,OAAO,UAAA,IAAc,EAAA;AAAA,MAClE,OAAA,EAAS,OAAO,OAAA,IAAW,IAAA;AAAA,MAC3B,SAAS,MAAA,CAAO,OAAA;AAAA,MAChB,SAAS,MAAA,CAAO,OAAA;AAAA,MAChB,YAAY,MAAA,CAAO;AAAA,KACpB,CAAA;AAAA,EACH;AACF","file":"index.cjs","sourcesContent":["// THIS FILE IS AUTO-GENERATED - DO NOT EDIT\n/**\n * The pre-built EVM paywall template with inlined CSS and JS\n */\nexport const EVM_PAYWALL_TEMPLATE =\n  '<!DOCTYPE html><html lang=\"en\"><head>\\n        <meta charset=\"UTF-8\">\\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n    <title>Payment Required</title><style>*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}:root{--background-color: #f9fafb;--container-background-color: white;--text-color: #111827;--secondary-text-color: #4b5563;--details-background-color: #f9fafb;--details-background-color-hover: #f3f4f6;--button-primary-color: #2563eb;--button-primary-hover-color: #1d4ed8;--button-secondary-color: #eef0f3;--button-secondary-hover-color: #e9ebee;--button-positive-color: #059669;--button-positive-hover-color: #047857;--button-error-color: #ef4444;--button-error-hover-color: #dc2626}body{min-height:100vh;background-color:var(--background-color);font-family:Inter,system-ui,-apple-system,sans-serif}.container{max-width:32rem;margin:4rem auto;padding:1.5rem;background-color:var(--container-background-color);border-radius:.75rem;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.header{display:flex;flex-direction:column;gap:1rem}.title{font-size:1.5rem;font-weight:700;color:var(--text-color);margin-bottom:.5rem}.subtitle{color:var(--secondary-text-color)}.instructions{font-size:.9rem;color:var(--secondary-text-color);font-style:italic}.content{display:flex;flex-direction:column;gap:1rem}.input{width:100%;padding:.75rem 1rem;border-radius:.5rem;border:1px solid #d1d5db;background-color:#fff;transition:border-color .15s,box-shadow .15s}.input:focus{outline:none;border-color:var(--button-primary-color);box-shadow:0 0 0 3px #2563eb33}.button{width:100%;padding:.75rem 1rem;border-radius:.5rem;font-weight:600;border:none;cursor:pointer;transition:background-color .15s}.button-primary{background-color:var(--button-primary-color);color:#fff}.button-primary:hover{background-color:var(--button-primary-hover-color)}.button-secondary{background-color:var(--button-secondary-color);color:var(--text-color)}.button-secondary:hover{background-color:var(--button-secondary-hover-color)}.button-positive{background-color:var(--button-positive-color);color:#fff}.button-positive:hover{background-color:var(--button-positive-hover-color)}.button-error{background-color:var(--button-error-color);color:#fff}.button-error:hover{background-color:var(--button-error-hover-color)}.payment-details{padding:1rem;margin-bottom:1rem;background-color:var(--details-background-color);border-radius:.5rem}.payment-row{display:flex;justify-content:space-between;font-size:.875rem;margin-bottom:.5rem}.payment-row:last-child{margin-bottom:0}.payment-label{color:var(--text-color)}.payment-value{font-weight:500}.hidden{display:none}.status{text-align:center;font-size:.875rem}.cta-container{display:flex;flex-basis:50%;flex-direction:row;gap:.5rem;margin-top:1rem}.balance-button{background-color:transparent;border:none;cursor:pointer;min-height:1rem;min-width:150px;display:flex;justify-content:flex-end;align-items:center}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-flex;align-items:center;justify-content:center}.spinner>div{animation:spin 1s linear infinite;border:2px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;width:1rem;height:1rem}\\n</style></head>\\n    <body>\\n        <div id=\"root\"></div>\\n    \\n    \\n  <script type=\"module\">\"use strict\";(()=>{var Udt=Object.create;var AT=Object.defineProperty;var $dt=Object.getOwnPropertyDescriptor;var zdt=Object.getOwnPropertyNames;var Ldt=Object.getPrototypeOf,Hdt=Object.prototype.hasOwnProperty;var Dle=e=>{throw TypeError(e)};var x=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var J=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},an=(e,t)=>{for(var r in t)AT(e,r,{get:t[r],enumerable:!0})},Nle=(e,t,r,n)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let o of zdt(t))!Hdt.call(e,o)&&o!==r&&AT(e,o,{get:()=>t[o],enumerable:!(n=$dt(t,o))||n.enumerable});return e};var _r=(e,t,r)=>(r=e!=null?Udt(Ldt(e)):{},Nle(t||!e||!e.__esModule?AT(r,\"default\",{value:e,enumerable:!0}):r,e)),Fr=e=>Nle(AT({},\"__esModule\",{value:!0}),e);var xH=(e,t,r)=>t.has(e)||Dle(\"Cannot \"+r);var re=(e,t,r)=>(xH(e,t,\"read from private field\"),r?r.call(e):t.get(e)),et=(e,t,r)=>t.has(e)?Dle(\"Cannot add the same private member more than once\"):t instanceof WeakSet?t.add(e):t.set(e,r),Ue=(e,t,r,n)=>(xH(e,t,\"write to private field\"),n?n.call(e,r):t.set(e,r),r),Mt=(e,t,r)=>(xH(e,t,\"access private method\"),r);var oS=(e,t,r,n)=>({set _(o){Ue(e,t,o,r)},get _(){return re(e,t,n)}});var zle=J(kT=>{\"use strict\";u();kT.byteLength=Fdt;kT.toByteArray=qdt;kT.fromByteArray=Zdt;var rd=[],Mc=[],jdt=typeof Uint8Array<\"u\"?Uint8Array:Array,vH=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";for(Ty=0,Ule=vH.length;Ty<Ule;++Ty)rd[Ty]=vH[Ty],Mc[vH.charCodeAt(Ty)]=Ty;var Ty,Ule;Mc[45]=62;Mc[95]=63;function $le(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var r=e.indexOf(\"=\");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function Fdt(e){var t=$le(e),r=t[0],n=t[1];return(r+n)*3/4-n}function Vdt(e,t,r){return(t+r)*3/4-r}function qdt(e){var t,r=$le(e),n=r[0],o=r[1],i=new jdt(Vdt(e,n,o)),c=0,l=o>0?n-4:n,f;for(f=0;f<l;f+=4)t=Mc[e.charCodeAt(f)]<<18|Mc[e.charCodeAt(f+1)]<<12|Mc[e.charCodeAt(f+2)]<<6|Mc[e.charCodeAt(f+3)],i[c++]=t>>16&255,i[c++]=t>>8&255,i[c++]=t&255;return o===2&&(t=Mc[e.charCodeAt(f)]<<2|Mc[e.charCodeAt(f+1)]>>4,i[c++]=t&255),o===1&&(t=Mc[e.charCodeAt(f)]<<10|Mc[e.charCodeAt(f+1)]<<4|Mc[e.charCodeAt(f+2)]>>2,i[c++]=t>>8&255,i[c++]=t&255),i}function Gdt(e){return rd[e>>18&63]+rd[e>>12&63]+rd[e>>6&63]+rd[e&63]}function Kdt(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(e[i+2]&255),o.push(Gdt(n));return o.join(\"\")}function Zdt(e){for(var t,r=e.length,n=r%3,o=[],i=16383,c=0,l=r-n;c<l;c+=i)o.push(Kdt(e,c,c+i>l?l:c+i));return n===1?(t=e[r-1],o.push(rd[t>>2]+rd[t<<4&63]+\"==\")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(rd[t>>10]+rd[t>>4&63]+rd[t<<2&63]+\"=\")),o.join(\"\")}});var Lle=J(wH=>{u();wH.read=function(e,t,r,n,o){var i,c,l=o*8-n-1,f=(1<<l)-1,p=f>>1,h=-7,y=r?o-1:0,w=r?-1:1,E=e[t+y];for(y+=w,i=E&(1<<-h)-1,E>>=-h,h+=l;h>0;i=i*256+e[t+y],y+=w,h-=8);for(c=i&(1<<-h)-1,i>>=-h,h+=n;h>0;c=c*256+e[t+y],y+=w,h-=8);if(i===0)i=1-p;else{if(i===f)return c?NaN:(E?-1:1)*(1/0);c=c+Math.pow(2,n),i=i-p}return(E?-1:1)*c*Math.pow(2,i-n)};wH.write=function(e,t,r,n,o,i){var c,l,f,p=i*8-o-1,h=(1<<p)-1,y=h>>1,w=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=n?0:i-1,A=n?1:-1,C=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,c=h):(c=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-c))<1&&(c--,f*=2),c+y>=1?t+=w/f:t+=w*Math.pow(2,1-y),t*f>=2&&(c++,f/=2),c+y>=h?(l=0,c=h):c+y>=1?(l=(t*f-1)*Math.pow(2,o),c=c+y):(l=t*Math.pow(2,y-1)*Math.pow(2,o),c=0));o>=8;e[r+E]=l&255,E+=A,l/=256,o-=8);for(c=c<<o|l,p+=o;p>0;e[r+E]=c&255,E+=A,c/=256,p-=8);e[r+E-A]|=C*128}});var dx=J(lx=>{\"use strict\";u();var EH=zle(),cx=Lle(),Hle=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\"?Symbol.for(\"nodejs.util.inspect.custom\"):null;lx.Buffer=we;lx.SlowBuffer=eft;lx.INSPECT_MAX_BYTES=50;var CT=2147483647;lx.kMaxLength=CT;we.TYPED_ARRAY_SUPPORT=Wdt();!we.TYPED_ARRAY_SUPPORT&&typeof console<\"u\"&&typeof console.error==\"function\"&&console.error(\"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\");function Wdt(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(we.prototype,\"parent\",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.buffer}});Object.defineProperty(we.prototype,\"offset\",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.byteOffset}});function zf(e){if(e>CT)throw new RangeError(\\'The value \"\\'+e+\\'\" is invalid for option \"size\"\\');let t=new Uint8Array(e);return Object.setPrototypeOf(t,we.prototype),t}function we(e,t,r){if(typeof e==\"number\"){if(typeof t==\"string\")throw new TypeError(\\'The \"string\" argument must be of type string. Received type number\\');return kH(e)}return qle(e,t,r)}we.poolSize=8192;function qle(e,t,r){if(typeof e==\"string\")return Qdt(e,t);if(ArrayBuffer.isView(e))return Ydt(e);if(e==null)throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof e);if(nd(e,ArrayBuffer)||e&&nd(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<\"u\"&&(nd(e,SharedArrayBuffer)||e&&nd(e.buffer,SharedArrayBuffer)))return SH(e,t,r);if(typeof e==\"number\")throw new TypeError(\\'The \"value\" argument must not be of type number. Received type number\\');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return we.from(n,t,r);let o=Xdt(e);if(o)return o;if(typeof Symbol<\"u\"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==\"function\")return we.from(e[Symbol.toPrimitive](\"string\"),t,r);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof e)}we.from=function(e,t,r){return qle(e,t,r)};Object.setPrototypeOf(we.prototype,Uint8Array.prototype);Object.setPrototypeOf(we,Uint8Array);function Gle(e){if(typeof e!=\"number\")throw new TypeError(\\'\"size\" argument must be of type number\\');if(e<0)throw new RangeError(\\'The value \"\\'+e+\\'\" is invalid for option \"size\"\\')}function Jdt(e,t,r){return Gle(e),e<=0?zf(e):t!==void 0?typeof r==\"string\"?zf(e).fill(t,r):zf(e).fill(t):zf(e)}we.alloc=function(e,t,r){return Jdt(e,t,r)};function kH(e){return Gle(e),zf(e<0?0:CH(e)|0)}we.allocUnsafe=function(e){return kH(e)};we.allocUnsafeSlow=function(e){return kH(e)};function Qdt(e,t){if((typeof t!=\"string\"||t===\"\")&&(t=\"utf8\"),!we.isEncoding(t))throw new TypeError(\"Unknown encoding: \"+t);let r=Kle(e,t)|0,n=zf(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}function _H(e){let t=e.length<0?0:CH(e.length)|0,r=zf(t);for(let n=0;n<t;n+=1)r[n]=e[n]&255;return r}function Ydt(e){if(nd(e,Uint8Array)){let t=new Uint8Array(e);return SH(t.buffer,t.byteOffset,t.byteLength)}return _H(e)}function SH(e,t,r){if(t<0||e.byteLength<t)throw new RangeError(\\'\"offset\" is outside of buffer bounds\\');if(e.byteLength<t+(r||0))throw new RangeError(\\'\"length\" is outside of buffer bounds\\');let n;return t===void 0&&r===void 0?n=new Uint8Array(e):r===void 0?n=new Uint8Array(e,t):n=new Uint8Array(e,t,r),Object.setPrototypeOf(n,we.prototype),n}function Xdt(e){if(we.isBuffer(e)){let t=CH(e.length)|0,r=zf(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!=\"number\"||IH(e.length)?zf(0):_H(e);if(e.type===\"Buffer\"&&Array.isArray(e.data))return _H(e.data)}function CH(e){if(e>=CT)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+CT.toString(16)+\" bytes\");return e|0}function eft(e){return+e!=e&&(e=0),we.alloc(+e)}we.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==we.prototype};we.compare=function(t,r){if(nd(t,Uint8Array)&&(t=we.from(t,t.offset,t.byteLength)),nd(r,Uint8Array)&&(r=we.from(r,r.offset,r.byteLength)),!we.isBuffer(t)||!we.isBuffer(r))throw new TypeError(\\'The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array\\');if(t===r)return 0;let n=t.length,o=r.length;for(let i=0,c=Math.min(n,o);i<c;++i)if(t[i]!==r[i]){n=t[i],o=r[i];break}return n<o?-1:o<n?1:0};we.isEncoding=function(t){switch(String(t).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}};we.concat=function(t,r){if(!Array.isArray(t))throw new TypeError(\\'\"list\" argument must be an Array of Buffers\\');if(t.length===0)return we.alloc(0);let n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;let o=we.allocUnsafe(r),i=0;for(n=0;n<t.length;++n){let c=t[n];if(nd(c,Uint8Array))i+c.length>o.length?(we.isBuffer(c)||(c=we.from(c)),c.copy(o,i)):Uint8Array.prototype.set.call(o,c,i);else if(we.isBuffer(c))c.copy(o,i);else throw new TypeError(\\'\"list\" argument must be an Array of Buffers\\');i+=c.length}return o};function Kle(e,t){if(we.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||nd(e,ArrayBuffer))return e.byteLength;if(typeof e!=\"string\")throw new TypeError(\\'The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type \\'+typeof e);let r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let o=!1;for(;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return r;case\"utf8\":case\"utf-8\":return AH(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return r*2;case\"hex\":return r>>>1;case\"base64\":return rde(e).length;default:if(o)return n?-1:AH(e).length;t=(\"\"+t).toLowerCase(),o=!0}}we.byteLength=Kle;function tft(e,t,r){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return\"\";for(e||(e=\"utf8\");;)switch(e){case\"hex\":return dft(this,t,r);case\"utf8\":case\"utf-8\":return Wle(this,t,r);case\"ascii\":return uft(this,t,r);case\"latin1\":case\"binary\":return lft(this,t,r);case\"base64\":return sft(this,t,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return fft(this,t,r);default:if(n)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),n=!0}}we.prototype._isBuffer=!0;function Iy(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}we.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(let r=0;r<t;r+=2)Iy(this,r,r+1);return this};we.prototype.swap32=function(){let t=this.length;if(t%4!==0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(let r=0;r<t;r+=4)Iy(this,r,r+3),Iy(this,r+1,r+2);return this};we.prototype.swap64=function(){let t=this.length;if(t%8!==0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(let r=0;r<t;r+=8)Iy(this,r,r+7),Iy(this,r+1,r+6),Iy(this,r+2,r+5),Iy(this,r+3,r+4);return this};we.prototype.toString=function(){let t=this.length;return t===0?\"\":arguments.length===0?Wle(this,0,t):tft.apply(this,arguments)};we.prototype.toLocaleString=we.prototype.toString;we.prototype.equals=function(t){if(!we.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");return this===t?!0:we.compare(this,t)===0};we.prototype.inspect=function(){let t=\"\",r=lx.INSPECT_MAX_BYTES;return t=this.toString(\"hex\",0,r).replace(/(.{2})/g,\"$1 \").trim(),this.length>r&&(t+=\" ... \"),\"<Buffer \"+t+\">\"};Hle&&(we.prototype[Hle]=we.prototype.inspect);we.prototype.compare=function(t,r,n,o,i){if(nd(t,Uint8Array)&&(t=we.from(t,t.offset,t.byteLength)),!we.isBuffer(t))throw new TypeError(\\'The \"target\" argument must be one of type Buffer or Uint8Array. Received type \\'+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),r<0||n>t.length||o<0||i>this.length)throw new RangeError(\"out of range index\");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===t)return 0;let c=i-o,l=n-r,f=Math.min(c,l),p=this.slice(o,i),h=t.slice(r,n);for(let y=0;y<f;++y)if(p[y]!==h[y]){c=p[y],l=h[y];break}return c<l?-1:l<c?1:0};function Zle(e,t,r,n,o){if(e.length===0)return-1;if(typeof r==\"string\"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,IH(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof t==\"string\"&&(t=we.from(t,n)),we.isBuffer(t))return t.length===0?-1:jle(e,t,r,n,o);if(typeof t==\"number\")return t=t&255,typeof Uint8Array.prototype.indexOf==\"function\"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):jle(e,[t],r,n,o);throw new TypeError(\"val must be string, number or Buffer\")}function jle(e,t,r,n,o){let i=1,c=e.length,l=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n===\"ucs2\"||n===\"ucs-2\"||n===\"utf16le\"||n===\"utf-16le\")){if(e.length<2||t.length<2)return-1;i=2,c/=2,l/=2,r/=2}function f(h,y){return i===1?h[y]:h.readUInt16BE(y*i)}let p;if(o){let h=-1;for(p=r;p<c;p++)if(f(e,p)===f(t,h===-1?0:p-h)){if(h===-1&&(h=p),p-h+1===l)return h*i}else h!==-1&&(p-=p-h),h=-1}else for(r+l>c&&(r=c-l),p=r;p>=0;p--){let h=!0;for(let y=0;y<l;y++)if(f(e,p+y)!==f(t,y)){h=!1;break}if(h)return p}return-1}we.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};we.prototype.indexOf=function(t,r,n){return Zle(this,t,r,n,!0)};we.prototype.lastIndexOf=function(t,r,n){return Zle(this,t,r,n,!1)};function rft(e,t,r,n){r=Number(r)||0;let o=e.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;let i=t.length;n>i/2&&(n=i/2);let c;for(c=0;c<n;++c){let l=parseInt(t.substr(c*2,2),16);if(IH(l))return c;e[r+c]=l}return c}function nft(e,t,r,n){return TT(AH(t,e.length-r),e,r,n)}function oft(e,t,r,n){return TT(yft(t),e,r,n)}function ift(e,t,r,n){return TT(rde(t),e,r,n)}function aft(e,t,r,n){return TT(bft(t,e.length-r),e,r,n)}we.prototype.write=function(t,r,n,o){if(r===void 0)o=\"utf8\",n=this.length,r=0;else if(n===void 0&&typeof r==\"string\")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o=\"utf8\")):(o=n,n=void 0);else throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");let i=this.length-r;if((n===void 0||n>i)&&(n=i),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");o||(o=\"utf8\");let c=!1;for(;;)switch(o){case\"hex\":return rft(this,t,r,n);case\"utf8\":case\"utf-8\":return nft(this,t,r,n);case\"ascii\":case\"latin1\":case\"binary\":return oft(this,t,r,n);case\"base64\":return ift(this,t,r,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return aft(this,t,r,n);default:if(c)throw new TypeError(\"Unknown encoding: \"+o);o=(\"\"+o).toLowerCase(),c=!0}};we.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};function sft(e,t,r){return t===0&&r===e.length?EH.fromByteArray(e):EH.fromByteArray(e.slice(t,r))}function Wle(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o<r;){let i=e[o],c=null,l=i>239?4:i>223?3:i>191?2:1;if(o+l<=r){let f,p,h,y;switch(l){case 1:i<128&&(c=i);break;case 2:f=e[o+1],(f&192)===128&&(y=(i&31)<<6|f&63,y>127&&(c=y));break;case 3:f=e[o+1],p=e[o+2],(f&192)===128&&(p&192)===128&&(y=(i&15)<<12|(f&63)<<6|p&63,y>2047&&(y<55296||y>57343)&&(c=y));break;case 4:f=e[o+1],p=e[o+2],h=e[o+3],(f&192)===128&&(p&192)===128&&(h&192)===128&&(y=(i&15)<<18|(f&63)<<12|(p&63)<<6|h&63,y>65535&&y<1114112&&(c=y))}}c===null?(c=65533,l=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|c&1023),n.push(c),o+=l}return cft(n)}var Fle=4096;function cft(e){let t=e.length;if(t<=Fle)return String.fromCharCode.apply(String,e);let r=\"\",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Fle));return r}function uft(e,t,r){let n=\"\";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(e[o]&127);return n}function lft(e,t,r){let n=\"\";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function dft(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let o=\"\";for(let i=t;i<r;++i)o+=gft[e[i]];return o}function fft(e,t,r){let n=e.slice(t,r),o=\"\";for(let i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+n[i+1]*256);return o}we.prototype.slice=function(t,r){let n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);let o=this.subarray(t,r);return Object.setPrototypeOf(o,we.prototype),o};function si(e,t,r){if(e%1!==0||e<0)throw new RangeError(\"offset is not uint\");if(e+t>r)throw new RangeError(\"Trying to access beyond buffer length\")}we.prototype.readUintLE=we.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||si(t,r,this.length);let o=this[t],i=1,c=0;for(;++c<r&&(i*=256);)o+=this[t+c]*i;return o};we.prototype.readUintBE=we.prototype.readUIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||si(t,r,this.length);let o=this[t+--r],i=1;for(;r>0&&(i*=256);)o+=this[t+--r]*i;return o};we.prototype.readUint8=we.prototype.readUInt8=function(t,r){return t=t>>>0,r||si(t,1,this.length),this[t]};we.prototype.readUint16LE=we.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||si(t,2,this.length),this[t]|this[t+1]<<8};we.prototype.readUint16BE=we.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||si(t,2,this.length),this[t]<<8|this[t+1]};we.prototype.readUint32LE=we.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||si(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};we.prototype.readUint32BE=we.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||si(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};we.prototype.readBigUInt64LE=Lm(function(t){t=t>>>0,ux(t,\"offset\");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&iS(t,this.length-8);let o=r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,i=this[++t]+this[++t]*2**8+this[++t]*2**16+n*2**24;return BigInt(o)+(BigInt(i)<<BigInt(32))});we.prototype.readBigUInt64BE=Lm(function(t){t=t>>>0,ux(t,\"offset\");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&iS(t,this.length-8);let o=r*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],i=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n;return(BigInt(o)<<BigInt(32))+BigInt(i)});we.prototype.readIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||si(t,r,this.length);let o=this[t],i=1,c=0;for(;++c<r&&(i*=256);)o+=this[t+c]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o};we.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||si(t,r,this.length);let o=r,i=1,c=this[t+--o];for(;o>0&&(i*=256);)c+=this[t+--o]*i;return i*=128,c>=i&&(c-=Math.pow(2,8*r)),c};we.prototype.readInt8=function(t,r){return t=t>>>0,r||si(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};we.prototype.readInt16LE=function(t,r){t=t>>>0,r||si(t,2,this.length);let n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};we.prototype.readInt16BE=function(t,r){t=t>>>0,r||si(t,2,this.length);let n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};we.prototype.readInt32LE=function(t,r){return t=t>>>0,r||si(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};we.prototype.readInt32BE=function(t,r){return t=t>>>0,r||si(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};we.prototype.readBigInt64LE=Lm(function(t){t=t>>>0,ux(t,\"offset\");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&iS(t,this.length-8);let o=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(n<<24);return(BigInt(o)<<BigInt(32))+BigInt(r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24)});we.prototype.readBigInt64BE=Lm(function(t){t=t>>>0,ux(t,\"offset\");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&iS(t,this.length-8);let o=(r<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(o)<<BigInt(32))+BigInt(this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n)});we.prototype.readFloatLE=function(t,r){return t=t>>>0,r||si(t,4,this.length),cx.read(this,t,!0,23,4)};we.prototype.readFloatBE=function(t,r){return t=t>>>0,r||si(t,4,this.length),cx.read(this,t,!1,23,4)};we.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||si(t,8,this.length),cx.read(this,t,!0,52,8)};we.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||si(t,8,this.length),cx.read(this,t,!1,52,8)};function is(e,t,r,n,o,i){if(!we.isBuffer(e))throw new TypeError(\\'\"buffer\" argument must be a Buffer instance\\');if(t>o||t<i)throw new RangeError(\\'\"value\" argument is out of bounds\\');if(r+n>e.length)throw new RangeError(\"Index out of range\")}we.prototype.writeUintLE=we.prototype.writeUIntLE=function(t,r,n,o){if(t=+t,r=r>>>0,n=n>>>0,!o){let l=Math.pow(2,8*n)-1;is(this,t,r,n,l,0)}let i=1,c=0;for(this[r]=t&255;++c<n&&(i*=256);)this[r+c]=t/i&255;return r+n};we.prototype.writeUintBE=we.prototype.writeUIntBE=function(t,r,n,o){if(t=+t,r=r>>>0,n=n>>>0,!o){let l=Math.pow(2,8*n)-1;is(this,t,r,n,l,0)}let i=n-1,c=1;for(this[r+i]=t&255;--i>=0&&(c*=256);)this[r+i]=t/c&255;return r+n};we.prototype.writeUint8=we.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,1,255,0),this[r]=t&255,r+1};we.prototype.writeUint16LE=we.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};we.prototype.writeUint16BE=we.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};we.prototype.writeUint32LE=we.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};we.prototype.writeUint32BE=we.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Jle(e,t,r,n,o){tde(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i;let c=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=c,c=c>>8,e[r++]=c,c=c>>8,e[r++]=c,c=c>>8,e[r++]=c,r}function Qle(e,t,r,n,o){tde(t,n,o,e,r,7);let i=Number(t&BigInt(4294967295));e[r+7]=i,i=i>>8,e[r+6]=i,i=i>>8,e[r+5]=i,i=i>>8,e[r+4]=i;let c=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=c,c=c>>8,e[r+2]=c,c=c>>8,e[r+1]=c,c=c>>8,e[r]=c,r+8}we.prototype.writeBigUInt64LE=Lm(function(t,r=0){return Jle(this,t,r,BigInt(0),BigInt(\"0xffffffffffffffff\"))});we.prototype.writeBigUInt64BE=Lm(function(t,r=0){return Qle(this,t,r,BigInt(0),BigInt(\"0xffffffffffffffff\"))});we.prototype.writeIntLE=function(t,r,n,o){if(t=+t,r=r>>>0,!o){let f=Math.pow(2,8*n-1);is(this,t,r,n,f-1,-f)}let i=0,c=1,l=0;for(this[r]=t&255;++i<n&&(c*=256);)t<0&&l===0&&this[r+i-1]!==0&&(l=1),this[r+i]=(t/c>>0)-l&255;return r+n};we.prototype.writeIntBE=function(t,r,n,o){if(t=+t,r=r>>>0,!o){let f=Math.pow(2,8*n-1);is(this,t,r,n,f-1,-f)}let i=n-1,c=1,l=0;for(this[r+i]=t&255;--i>=0&&(c*=256);)t<0&&l===0&&this[r+i+1]!==0&&(l=1),this[r+i]=(t/c>>0)-l&255;return r+n};we.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};we.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};we.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};we.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};we.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||is(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};we.prototype.writeBigInt64LE=Lm(function(t,r=0){return Jle(this,t,r,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});we.prototype.writeBigInt64BE=Lm(function(t,r=0){return Qle(this,t,r,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))});function Yle(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError(\"Index out of range\");if(r<0)throw new RangeError(\"Index out of range\")}function Xle(e,t,r,n,o){return t=+t,r=r>>>0,o||Yle(e,t,r,4,34028234663852886e22,-34028234663852886e22),cx.write(e,t,r,n,23,4),r+4}we.prototype.writeFloatLE=function(t,r,n){return Xle(this,t,r,!0,n)};we.prototype.writeFloatBE=function(t,r,n){return Xle(this,t,r,!1,n)};function ede(e,t,r,n,o){return t=+t,r=r>>>0,o||Yle(e,t,r,8,17976931348623157e292,-17976931348623157e292),cx.write(e,t,r,n,52,8),r+8}we.prototype.writeDoubleLE=function(t,r,n){return ede(this,t,r,!0,n)};we.prototype.writeDoubleBE=function(t,r,n){return ede(this,t,r,!1,n)};we.prototype.copy=function(t,r,n,o){if(!we.isBuffer(t))throw new TypeError(\"argument should be a Buffer\");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=t.length&&(r=t.length),r||(r=0),o>0&&o<n&&(o=n),o===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError(\"targetStart out of bounds\");if(n<0||n>=this.length)throw new RangeError(\"Index out of range\");if(o<0)throw new RangeError(\"sourceEnd out of bounds\");o>this.length&&(o=this.length),t.length-r<o-n&&(o=t.length-r+n);let i=o-n;return this===t&&typeof Uint8Array.prototype.copyWithin==\"function\"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(t,this.subarray(n,o),r),i};we.prototype.fill=function(t,r,n,o){if(typeof t==\"string\"){if(typeof r==\"string\"?(o=r,r=0,n=this.length):typeof n==\"string\"&&(o=n,n=this.length),o!==void 0&&typeof o!=\"string\")throw new TypeError(\"encoding must be a string\");if(typeof o==\"string\"&&!we.isEncoding(o))throw new TypeError(\"Unknown encoding: \"+o);if(t.length===1){let c=t.charCodeAt(0);(o===\"utf8\"&&c<128||o===\"latin1\")&&(t=c)}}else typeof t==\"number\"?t=t&255:typeof t==\"boolean\"&&(t=Number(t));if(r<0||this.length<r||this.length<n)throw new RangeError(\"Out of range index\");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);let i;if(typeof t==\"number\")for(i=r;i<n;++i)this[i]=t;else{let c=we.isBuffer(t)?t:we.from(t,o),l=c.length;if(l===0)throw new TypeError(\\'The value \"\\'+t+\\'\" is invalid for argument \"value\"\\');for(i=0;i<n-r;++i)this[i+r]=c[i%l]}return this};var sx={};function TH(e,t,r){sx[e]=class extends r{constructor(){super(),Object.defineProperty(this,\"message\",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(o){Object.defineProperty(this,\"code\",{configurable:!0,enumerable:!0,value:o,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}TH(\"ERR_BUFFER_OUT_OF_BOUNDS\",function(e){return e?`${e} is outside of buffer bounds`:\"Attempt to access memory outside buffer bounds\"},RangeError);TH(\"ERR_INVALID_ARG_TYPE\",function(e,t){return`The \"${e}\" argument must be of type number. Received type ${typeof t}`},TypeError);TH(\"ERR_OUT_OF_RANGE\",function(e,t,r){let n=`The value of \"${e}\" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=Vle(String(r)):typeof r==\"bigint\"&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=Vle(o)),o+=\"n\"),n+=` It must be ${t}. Received ${o}`,n},RangeError);function Vle(e){let t=\"\",r=e.length,n=e[0]===\"-\"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function pft(e,t,r){ux(t,\"offset\"),(e[t]===void 0||e[t+r]===void 0)&&iS(t,e.length-(r+1))}function tde(e,t,r,n,o,i){if(e>r||e<t){let c=typeof t==\"bigint\"?\"n\":\"\",l;throw i>3?t===0||t===BigInt(0)?l=`>= 0${c} and < 2${c} ** ${(i+1)*8}${c}`:l=`>= -(2${c} ** ${(i+1)*8-1}${c}) and < 2 ** ${(i+1)*8-1}${c}`:l=`>= ${t}${c} and <= ${r}${c}`,new sx.ERR_OUT_OF_RANGE(\"value\",l,e)}pft(n,o,i)}function ux(e,t){if(typeof e!=\"number\")throw new sx.ERR_INVALID_ARG_TYPE(t,\"number\",e)}function iS(e,t,r){throw Math.floor(e)!==e?(ux(e,r),new sx.ERR_OUT_OF_RANGE(r||\"offset\",\"an integer\",e)):t<0?new sx.ERR_BUFFER_OUT_OF_BOUNDS:new sx.ERR_OUT_OF_RANGE(r||\"offset\",`>= ${r?1:0} and <= ${t}`,e)}var mft=/[^+/0-9A-Za-z-_]/g;function hft(e){if(e=e.split(\"=\")[0],e=e.trim().replace(mft,\"\"),e.length<2)return\"\";for(;e.length%4!==0;)e=e+\"=\";return e}function AH(e,t){t=t||1/0;let r,n=e.length,o=null,i=[];for(let c=0;c<n;++c){if(r=e.charCodeAt(c),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}else if(c+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error(\"Invalid code point\")}return i}function yft(e){let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function bft(e,t){let r,n,o,i=[];for(let c=0;c<e.length&&!((t-=2)<0);++c)r=e.charCodeAt(c),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function rde(e){return EH.toByteArray(hft(e))}function TT(e,t,r,n){let o;for(o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function nd(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function IH(e){return e!==e}var gft=(function(){let e=\"0123456789abcdef\",t=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t})();function Lm(e){return typeof BigInt>\"u\"?xft:e}function xft(){throw new Error(\"BigInt not supported\")}});var nde,u=x(()=>{\"use strict\";nde=_r(dx(),1);globalThis.Buffer=nde.Buffer});var ode=J(Gn=>{\"use strict\";u();(function(){function e(){if(H=!1,Q){var k=Gn.unstable_now();fe=k;var O=!0;try{e:{D=!1,$&&($=!1,G(X),X=-1),M=!0;var B=R;try{t:{for(i(k),C=r(w);C!==null&&!(C.expirationTime>k&&l());){var L=C.callback;if(typeof L==\"function\"){C.callback=null,R=C.priorityLevel;var q=L(C.expirationTime<=k);if(k=Gn.unstable_now(),typeof q==\"function\"){C.callback=q,i(k),O=!0;break t}C===r(w)&&n(w),i(k)}else n(w);C=r(w)}if(C!==null)O=!0;else{var W=r(E);W!==null&&f(c,W.startTime-k),O=!1}}break e}finally{C=null,R=B,M=!1}O=void 0}}finally{O?ce():Q=!1}}}function t(k,O){var B=k.length;k.push(O);e:for(;0<B;){var L=B-1>>>1,q=k[L];if(0<o(q,O))k[L]=O,k[B]=q,B=L;else break e}}function r(k){return k.length===0?null:k[0]}function n(k){if(k.length===0)return null;var O=k[0],B=k.pop();if(B!==O){k[0]=B;e:for(var L=0,q=k.length,W=q>>>1;L<W;){var U=2*(L+1)-1,P=k[U],Z=U+1,ye=k[Z];if(0>o(P,B))Z<q&&0>o(ye,P)?(k[L]=ye,k[Z]=B,L=Z):(k[L]=P,k[U]=B,L=U);else if(Z<q&&0>o(ye,B))k[L]=ye,k[Z]=B,L=Z;else break e}}return O}function o(k,O){var B=k.sortIndex-O.sortIndex;return B!==0?B:k.id-O.id}function i(k){for(var O=r(E);O!==null;){if(O.callback===null)n(E);else if(O.startTime<=k)n(E),O.sortIndex=O.expirationTime,t(w,O);else break;O=r(E)}}function c(k){if($=!1,i(k),!D)if(r(w)!==null)D=!0,Q||(Q=!0,ce());else{var O=r(E);O!==null&&f(c,O.startTime-k)}}function l(){return H?!0:!(Gn.unstable_now()-fe<Y)}function f(k,O){X=V(function(){k(Gn.unstable_now())},O)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Gn.unstable_now=void 0,typeof performance==\"object\"&&typeof performance.now==\"function\"){var p=performance;Gn.unstable_now=function(){return p.now()}}else{var h=Date,y=h.now();Gn.unstable_now=function(){return h.now()-y}}var w=[],E=[],A=1,C=null,R=3,M=!1,D=!1,$=!1,H=!1,V=typeof setTimeout==\"function\"?setTimeout:null,G=typeof clearTimeout==\"function\"?clearTimeout:null,K=typeof setImmediate<\"u\"?setImmediate:null,Q=!1,X=-1,Y=5,fe=-1;if(typeof K==\"function\")var ce=function(){K(e)};else if(typeof MessageChannel<\"u\"){var N=new MessageChannel,_=N.port2;N.port1.onmessage=e,ce=function(){_.postMessage(null)}}else ce=function(){V(e,0)};Gn.unstable_IdlePriority=5,Gn.unstable_ImmediatePriority=1,Gn.unstable_LowPriority=4,Gn.unstable_NormalPriority=3,Gn.unstable_Profiling=null,Gn.unstable_UserBlockingPriority=2,Gn.unstable_cancelCallback=function(k){k.callback=null},Gn.unstable_forceFrameRate=function(k){0>k||125<k?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):Y=0<k?Math.floor(1e3/k):5},Gn.unstable_getCurrentPriorityLevel=function(){return R},Gn.unstable_next=function(k){switch(R){case 1:case 2:case 3:var O=3;break;default:O=R}var B=R;R=O;try{return k()}finally{R=B}},Gn.unstable_requestPaint=function(){H=!0},Gn.unstable_runWithPriority=function(k,O){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var B=R;R=k;try{return O()}finally{R=B}},Gn.unstable_scheduleCallback=function(k,O,B){var L=Gn.unstable_now();switch(typeof B==\"object\"&&B!==null?(B=B.delay,B=typeof B==\"number\"&&0<B?L+B:L):B=L,k){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=B+q,k={id:A++,callback:O,priorityLevel:k,startTime:B,expirationTime:q,sortIndex:-1},B>L?(k.sortIndex=B,t(E,k),r(w)===null&&k===r(E)&&($?(G(X),X=-1):$=!0,f(c,B-L))):(k.sortIndex=q,t(w,k),D||M||(D=!0,Q||(Q=!0,ce()))),k},Gn.unstable_shouldYield=l,Gn.unstable_wrapCallback=function(k){var O=R;return function(){var B=R;R=O;try{return k.apply(this,arguments)}finally{R=B}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ade=J((CMt,ide)=>{\"use strict\";u();ide.exports=ode()});var sde=J((Ct,IT)=>{\"use strict\";u();(function(){function e(j,de){Object.defineProperty(n.prototype,j,{get:function(){console.warn(\"%s(...) is deprecated in plain JavaScript React classes. %s\",de[0],de[1])}})}function t(j){return j===null||typeof j!=\"object\"?null:(j=Nt&&j[Nt]||j[\"@@iterator\"],typeof j==\"function\"?j:null)}function r(j,de){j=(j=j.constructor)&&(j.displayName||j.name)||\"ReactClass\";var ke=j+\".\"+de;Pe[ke]||(console.error(\"Can\\'t call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.\",de,j),Pe[ke]=!0)}function n(j,de,ke){this.props=j,this.context=de,this.refs=rr,this.updater=ke||Ot}function o(){}function i(j,de,ke){this.props=j,this.context=de,this.refs=rr,this.updater=ke||Ot}function c(){}function l(j){return\"\"+j}function f(j){try{l(j);var de=!1}catch{de=!0}if(de){de=console;var ke=de.error,Re=typeof Symbol==\"function\"&&Symbol.toStringTag&&j[Symbol.toStringTag]||j.constructor.name||\"Object\";return ke.call(de,\"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",Re),l(j)}}function p(j){if(j==null)return null;if(typeof j==\"function\")return j.$$typeof===tn?null:j.displayName||j.name||null;if(typeof j==\"string\")return j;switch(j){case q:return\"Fragment\";case U:return\"Profiler\";case W:return\"StrictMode\";case xe:return\"Suspense\";case Te:return\"SuspenseList\";case Ve:return\"Activity\"}if(typeof j==\"object\")switch(typeof j.tag==\"number\"&&console.error(\"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"),j.$$typeof){case L:return\"Portal\";case Z:return j.displayName||\"Context\";case P:return(j._context.displayName||\"Context\")+\".Consumer\";case ye:var de=j.render;return j=j.displayName,j||(j=de.displayName||de.name||\"\",j=j!==\"\"?\"ForwardRef(\"+j+\")\":\"ForwardRef\"),j;case Ie:return de=j.displayName||null,de!==null?de:p(j.type)||\"Memo\";case Ke:de=j._payload,j=j._init;try{return p(j(de))}catch{}}return null}function h(j){if(j===q)return\"<>\";if(typeof j==\"object\"&&j!==null&&j.$$typeof===Ke)return\"<...>\";try{var de=p(j);return de?\"<\"+de+\">\":\"<...>\"}catch{return\"<...>\"}}function y(){var j=Xe.A;return j===null?null:j.getOwner()}function w(){return Error(\"react-stack-top-frame\")}function E(j){if(gc.call(j,\"key\")){var de=Object.getOwnPropertyDescriptor(j,\"key\").get;if(de&&de.isReactWarning)return!1}return j.key!==void 0}function A(j,de){function ke(){ln||(ln=!0,console.error(\"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",de))}ke.isReactWarning=!0,Object.defineProperty(j,\"key\",{get:ke,configurable:!0})}function C(){var j=p(this.type);return Mr[j]||(Mr[j]=!0,console.error(\"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\")),j=this.props.ref,j!==void 0?j:null}function R(j,de,ke,Re,Je,Ze){var We=ke.ref;return j={$$typeof:B,type:j,key:de,props:ke,_owner:Re},(We!==void 0?We:null)!==null?Object.defineProperty(j,\"ref\",{enumerable:!1,get:C}):Object.defineProperty(j,\"ref\",{enumerable:!1,value:null}),j._store={},Object.defineProperty(j._store,\"validated\",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(j,\"_debugInfo\",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(j,\"_debugStack\",{configurable:!1,enumerable:!1,writable:!0,value:Je}),Object.defineProperty(j,\"_debugTask\",{configurable:!1,enumerable:!1,writable:!0,value:Ze}),Object.freeze&&(Object.freeze(j.props),Object.freeze(j)),j}function M(j,de){return de=R(j.type,de,j.props,j._owner,j._debugStack,j._debugTask),j._store&&(de._store.validated=j._store.validated),de}function D(j){$(j)?j._store&&(j._store.validated=1):typeof j==\"object\"&&j!==null&&j.$$typeof===Ke&&(j._payload.status===\"fulfilled\"?$(j._payload.value)&&j._payload.value._store&&(j._payload.value._store.validated=1):j._store&&(j._store.validated=1))}function $(j){return typeof j==\"object\"&&j!==null&&j.$$typeof===B}function H(j){var de={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+j.replace(/[=:]/g,function(ke){return de[ke]})}function V(j,de){return typeof j==\"object\"&&j!==null&&j.key!=null?(f(j.key),H(\"\"+j.key)):de.toString(36)}function G(j){switch(j.status){case\"fulfilled\":return j.value;case\"rejected\":throw j.reason;default:switch(typeof j.status==\"string\"?j.then(c,c):(j.status=\"pending\",j.then(function(de){j.status===\"pending\"&&(j.status=\"fulfilled\",j.value=de)},function(de){j.status===\"pending\"&&(j.status=\"rejected\",j.reason=de)})),j.status){case\"fulfilled\":return j.value;case\"rejected\":throw j.reason}}throw j}function K(j,de,ke,Re,Je){var Ze=typeof j;(Ze===\"undefined\"||Ze===\"boolean\")&&(j=null);var We=!1;if(j===null)We=!0;else switch(Ze){case\"bigint\":case\"string\":case\"number\":We=!0;break;case\"object\":switch(j.$$typeof){case B:case L:We=!0;break;case Ke:return We=j._init,K(We(j._payload),de,ke,Re,Je)}}if(We){We=j,Je=Je(We);var jt=Re===\"\"?\".\"+V(We,0):Re;return nr(Je)?(ke=\"\",jt!=null&&(ke=jt.replace(zr,\"$&/\")+\"/\"),K(Je,de,ke,\"\",function(Ft){return Ft})):Je!=null&&($(Je)&&(Je.key!=null&&(We&&We.key===Je.key||f(Je.key)),ke=M(Je,ke+(Je.key==null||We&&We.key===Je.key?\"\":(\"\"+Je.key).replace(zr,\"$&/\")+\"/\")+jt),Re!==\"\"&&We!=null&&$(We)&&We.key==null&&We._store&&!We._store.validated&&(ke._store.validated=2),Je=ke),de.push(Je)),1}if(We=0,jt=Re===\"\"?\".\":Re+\":\",nr(j))for(var Le=0;Le<j.length;Le++)Re=j[Le],Ze=jt+V(Re,Le),We+=K(Re,de,ke,Ze,Je);else if(Le=t(j),typeof Le==\"function\")for(Le===j.entries&&($r||console.warn(\"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"),$r=!0),j=Le.call(j),Le=0;!(Re=j.next()).done;)Re=Re.value,Ze=jt+V(Re,Le++),We+=K(Re,de,ke,Ze,Je);else if(Ze===\"object\"){if(typeof j.then==\"function\")return K(G(j),de,ke,Re,Je);throw de=String(j),Error(\"Objects are not valid as a React child (found: \"+(de===\"[object Object]\"?\"object with keys {\"+Object.keys(j).join(\", \")+\"}\":de)+\"). If you meant to render a collection of children, use an array instead.\")}return We}function Q(j,de,ke){if(j==null)return j;var Re=[],Je=0;return K(j,Re,\"\",\"\",function(Ze){return de.call(ke,Ze,Je++)}),Re}function X(j){if(j._status===-1){var de=j._ioInfo;de!=null&&(de.start=de.end=performance.now()),de=j._result;var ke=de();if(ke.then(function(Je){if(j._status===0||j._status===-1){j._status=1,j._result=Je;var Ze=j._ioInfo;Ze!=null&&(Ze.end=performance.now()),ke.status===void 0&&(ke.status=\"fulfilled\",ke.value=Je)}},function(Je){if(j._status===0||j._status===-1){j._status=2,j._result=Je;var Ze=j._ioInfo;Ze!=null&&(Ze.end=performance.now()),ke.status===void 0&&(ke.status=\"rejected\",ke.reason=Je)}}),de=j._ioInfo,de!=null){de.value=ke;var Re=ke.displayName;typeof Re==\"string\"&&(de.name=Re)}j._status===-1&&(j._status=0,j._result=ke)}if(j._status===1)return de=j._result,de===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n  const MyComponent = lazy(() => import(\\'./MyComponent\\'))\\n\\nDid you accidentally put curly braces around the import?`,de),\"default\"in de||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s\\n\\nYour code should look like: \\n  const MyComponent = lazy(() => import(\\'./MyComponent\\'))`,de),de.default;throw j._result}function Y(){var j=Xe.H;return j===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),j}function fe(){Xe.asyncTransitions--}function ce(j){if(Ir===null)try{var de=(\"require\"+Math.random()).slice(0,7);Ir=(IT&&IT[de]).call(IT,\"timers\").setImmediate}catch{Ir=function(Re){rn===!1&&(rn=!0,typeof MessageChannel>\"u\"&&console.error(\"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"));var Je=new MessageChannel;Je.port1.onmessage=Re,Je.port2.postMessage(void 0)}}return Ir(j)}function N(j){return 1<j.length&&typeof AggregateError==\"function\"?new AggregateError(j):j[0]}function _(j,de){de!==Wa-1&&console.error(\"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \"),Wa=de}function k(j,de,ke){var Re=Xe.actQueue;if(Re!==null)if(Re.length!==0)try{O(Re),ce(function(){return k(j,de,ke)});return}catch(Je){Xe.thrownErrors.push(Je)}else Xe.actQueue=null;0<Xe.thrownErrors.length?(Re=N(Xe.thrownErrors),Xe.thrownErrors.length=0,ke(Re)):de(j)}function O(j){if(!Rr){Rr=!0;var de=0;try{for(;de<j.length;de++){var ke=j[de];do{Xe.didUsePromise=!1;var Re=ke(!1);if(Re!==null){if(Xe.didUsePromise){j[de]=ke,j.splice(0,de);return}ke=Re}else break}while(!0)}j.length=0}catch(Je){j.splice(0,de+1),Xe.thrownErrors.push(Je)}finally{Rr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B=Symbol.for(\"react.transitional.element\"),L=Symbol.for(\"react.portal\"),q=Symbol.for(\"react.fragment\"),W=Symbol.for(\"react.strict_mode\"),U=Symbol.for(\"react.profiler\"),P=Symbol.for(\"react.consumer\"),Z=Symbol.for(\"react.context\"),ye=Symbol.for(\"react.forward_ref\"),xe=Symbol.for(\"react.suspense\"),Te=Symbol.for(\"react.suspense_list\"),Ie=Symbol.for(\"react.memo\"),Ke=Symbol.for(\"react.lazy\"),Ve=Symbol.for(\"react.activity\"),Nt=Symbol.iterator,Pe={},Ot={isMounted:function(){return!1},enqueueForceUpdate:function(j){r(j,\"forceUpdate\")},enqueueReplaceState:function(j){r(j,\"replaceState\")},enqueueSetState:function(j){r(j,\"setState\")}},Fn=Object.assign,rr={};Object.freeze(rr),n.prototype.isReactComponent={},n.prototype.setState=function(j,de){if(typeof j!=\"object\"&&typeof j!=\"function\"&&j!=null)throw Error(\"takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,j,de,\"setState\")},n.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,\"forceUpdate\")};var yt={isMounted:[\"isMounted\",\"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.\"],replaceState:[\"replaceState\",\"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236).\"]};for(wr in yt)yt.hasOwnProperty(wr)&&e(wr,yt[wr]);o.prototype=n.prototype,yt=i.prototype=new o,yt.constructor=i,Fn(yt,n.prototype),yt.isPureReactComponent=!0;var nr=Array.isArray,tn=Symbol.for(\"react.client.reference\"),Xe={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},gc=Object.prototype.hasOwnProperty,pt=console.createTask?console.createTask:function(){return null};yt={react_stack_bottom_frame:function(j){return j()}};var ln,Hi,Mr={},Dr=yt.react_stack_bottom_frame.bind(yt,w)(),df=pt(h(w)),$r=!1,zr=/\\\\/+/g,sa=typeof reportError==\"function\"?reportError:function(j){if(typeof window==\"object\"&&typeof window.ErrorEvent==\"function\"){var de=new window.ErrorEvent(\"error\",{bubbles:!0,cancelable:!0,message:typeof j==\"object\"&&j!==null&&typeof j.message==\"string\"?String(j.message):String(j),error:j});if(!window.dispatchEvent(de))return}else if(typeof process==\"object\"&&typeof process.emit==\"function\"){process.emit(\"uncaughtException\",j);return}console.error(j)},rn=!1,Ir=null,Wa=0,Pr=!1,Rr=!1,xc=typeof queueMicrotask==\"function\"?function(j){queueMicrotask(function(){return queueMicrotask(j)})}:ce;yt=Object.freeze({__proto__:null,c:function(j){return Y().useMemoCache(j)}});var wr={map:Q,forEach:function(j,de,ke){Q(j,function(){de.apply(this,arguments)},ke)},count:function(j){var de=0;return Q(j,function(){de++}),de},toArray:function(j){return Q(j,function(de){return de})||[]},only:function(j){if(!$(j))throw Error(\"React.Children.only expected to receive a single React element child.\");return j}};Ct.Activity=Ve,Ct.Children=wr,Ct.Component=n,Ct.Fragment=q,Ct.Profiler=U,Ct.PureComponent=i,Ct.StrictMode=W,Ct.Suspense=xe,Ct.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Xe,Ct.__COMPILER_RUNTIME=yt,Ct.act=function(j){var de=Xe.actQueue,ke=Wa;Wa++;var Re=Xe.actQueue=de!==null?de:[],Je=!1;try{var Ze=j()}catch(Le){Xe.thrownErrors.push(Le)}if(0<Xe.thrownErrors.length)throw _(de,ke),j=N(Xe.thrownErrors),Xe.thrownErrors.length=0,j;if(Ze!==null&&typeof Ze==\"object\"&&typeof Ze.then==\"function\"){var We=Ze;return xc(function(){Je||Pr||(Pr=!0,console.error(\"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);\"))}),{then:function(Le,Ft){Je=!0,We.then(function(Co){if(_(de,ke),ke===0){try{O(Re),ce(function(){return k(Co,Le,Ft)})}catch(Lr){Xe.thrownErrors.push(Lr)}if(0<Xe.thrownErrors.length){var Er=N(Xe.thrownErrors);Xe.thrownErrors.length=0,Ft(Er)}}else Le(Co)},function(Co){_(de,ke),0<Xe.thrownErrors.length&&(Co=N(Xe.thrownErrors),Xe.thrownErrors.length=0),Ft(Co)})}}}var jt=Ze;if(_(de,ke),ke===0&&(O(Re),Re.length!==0&&xc(function(){Je||Pr||(Pr=!0,console.error(\"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\\\\n\\\\nawait act(() => ...)\"))}),Xe.actQueue=null),0<Xe.thrownErrors.length)throw j=N(Xe.thrownErrors),Xe.thrownErrors.length=0,j;return{then:function(Le,Ft){Je=!0,ke===0?(Xe.actQueue=Re,ce(function(){return k(jt,Le,Ft)})):Le(jt)}}},Ct.cache=function(j){return function(){return j.apply(null,arguments)}},Ct.cacheSignal=function(){return null},Ct.captureOwnerStack=function(){var j=Xe.getCurrentStack;return j===null?null:j()},Ct.cloneElement=function(j,de,ke){if(j==null)throw Error(\"The argument must be a React element, but you passed \"+j+\".\");var Re=Fn({},j.props),Je=j.key,Ze=j._owner;if(de!=null){var We;e:{if(gc.call(de,\"ref\")&&(We=Object.getOwnPropertyDescriptor(de,\"ref\").get)&&We.isReactWarning){We=!1;break e}We=de.ref!==void 0}We&&(Ze=y()),E(de)&&(f(de.key),Je=\"\"+de.key);for(jt in de)!gc.call(de,jt)||jt===\"key\"||jt===\"__self\"||jt===\"__source\"||jt===\"ref\"&&de.ref===void 0||(Re[jt]=de[jt])}var jt=arguments.length-2;if(jt===1)Re.children=ke;else if(1<jt){We=Array(jt);for(var Le=0;Le<jt;Le++)We[Le]=arguments[Le+2];Re.children=We}for(Re=R(j.type,Je,Re,Ze,j._debugStack,j._debugTask),Je=2;Je<arguments.length;Je++)D(arguments[Je]);return Re},Ct.createContext=function(j){return j={$$typeof:Z,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:P,_context:j},j._currentRenderer=null,j._currentRenderer2=null,j},Ct.createElement=function(j,de,ke){for(var Re=2;Re<arguments.length;Re++)D(arguments[Re]);Re={};var Je=null;if(de!=null)for(Le in Hi||!(\"__self\"in de)||\"key\"in de||(Hi=!0,console.warn(\"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform\")),E(de)&&(f(de.key),Je=\"\"+de.key),de)gc.call(de,Le)&&Le!==\"key\"&&Le!==\"__self\"&&Le!==\"__source\"&&(Re[Le]=de[Le]);var Ze=arguments.length-2;if(Ze===1)Re.children=ke;else if(1<Ze){for(var We=Array(Ze),jt=0;jt<Ze;jt++)We[jt]=arguments[jt+2];Object.freeze&&Object.freeze(We),Re.children=We}if(j&&j.defaultProps)for(Le in Ze=j.defaultProps,Ze)Re[Le]===void 0&&(Re[Le]=Ze[Le]);Je&&A(Re,typeof j==\"function\"?j.displayName||j.name||\"Unknown\":j);var Le=1e4>Xe.recentlyCreatedOwnerStacks++;return R(j,Je,Re,y(),Le?Error(\"react-stack-top-frame\"):Dr,Le?pt(h(j)):df)},Ct.createRef=function(){var j={current:null};return Object.seal(j),j},Ct.forwardRef=function(j){j!=null&&j.$$typeof===Ie?console.error(\"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\"):typeof j!=\"function\"?console.error(\"forwardRef requires a render function but was given %s.\",j===null?\"null\":typeof j):j.length!==0&&j.length!==2&&console.error(\"forwardRef render functions accept exactly two parameters: props and ref. %s\",j.length===1?\"Did you forget to use the ref parameter?\":\"Any additional parameter will be undefined.\"),j!=null&&j.defaultProps!=null&&console.error(\"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?\");var de={$$typeof:ye,render:j},ke;return Object.defineProperty(de,\"displayName\",{enumerable:!1,configurable:!0,get:function(){return ke},set:function(Re){ke=Re,j.name||j.displayName||(Object.defineProperty(j,\"name\",{value:Re}),j.displayName=Re)}}),de},Ct.isValidElement=$,Ct.lazy=function(j){j={_status:-1,_result:j};var de={$$typeof:Ke,_payload:j,_init:X},ke={name:\"lazy\",start:-1,end:-1,value:null,owner:null,debugStack:Error(\"react-stack-top-frame\"),debugTask:console.createTask?console.createTask(\"lazy()\"):null};return j._ioInfo=ke,de._debugInfo=[{awaited:ke}],de},Ct.memo=function(j,de){j==null&&console.error(\"memo: The first argument must be a component. Instead received: %s\",j===null?\"null\":typeof j),de={$$typeof:Ie,type:j,compare:de===void 0?null:de};var ke;return Object.defineProperty(de,\"displayName\",{enumerable:!1,configurable:!0,get:function(){return ke},set:function(Re){ke=Re,j.name||j.displayName||(Object.defineProperty(j,\"name\",{value:Re}),j.displayName=Re)}}),de},Ct.startTransition=function(j){var de=Xe.T,ke={};ke._updatedFibers=new Set,Xe.T=ke;try{var Re=j(),Je=Xe.S;Je!==null&&Je(ke,Re),typeof Re==\"object\"&&Re!==null&&typeof Re.then==\"function\"&&(Xe.asyncTransitions++,Re.then(fe,fe),Re.then(c,sa))}catch(Ze){sa(Ze)}finally{de===null&&ke._updatedFibers&&(j=ke._updatedFibers.size,ke._updatedFibers.clear(),10<j&&console.warn(\"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\")),de!==null&&ke.types!==null&&(de.types!==null&&de.types!==ke.types&&console.error(\"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"),de.types=ke.types),Xe.T=de}},Ct.unstable_useCacheRefresh=function(){return Y().useCacheRefresh()},Ct.use=function(j){return Y().use(j)},Ct.useActionState=function(j,de,ke){return Y().useActionState(j,de,ke)},Ct.useCallback=function(j,de){return Y().useCallback(j,de)},Ct.useContext=function(j){var de=Y();return j.$$typeof===P&&console.error(\"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?\"),de.useContext(j)},Ct.useDebugValue=function(j,de){return Y().useDebugValue(j,de)},Ct.useDeferredValue=function(j,de){return Y().useDeferredValue(j,de)},Ct.useEffect=function(j,de){return j==null&&console.warn(\"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?\"),Y().useEffect(j,de)},Ct.useEffectEvent=function(j){return Y().useEffectEvent(j)},Ct.useId=function(){return Y().useId()},Ct.useImperativeHandle=function(j,de,ke){return Y().useImperativeHandle(j,de,ke)},Ct.useInsertionEffect=function(j,de){return j==null&&console.warn(\"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?\"),Y().useInsertionEffect(j,de)},Ct.useLayoutEffect=function(j,de){return j==null&&console.warn(\"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?\"),Y().useLayoutEffect(j,de)},Ct.useMemo=function(j,de){return Y().useMemo(j,de)},Ct.useOptimistic=function(j,de){return Y().useOptimistic(j,de)},Ct.useReducer=function(j,de,ke){return Y().useReducer(j,de,ke)},Ct.useRef=function(j){return Y().useRef(j)},Ct.useState=function(j){return Y().useState(j)},Ct.useSyncExternalStore=function(j,de,ke){return Y().useSyncExternalStore(j,de,ke)},Ct.useTransition=function(){return Y().useTransition()},Ct.version=\"19.2.1\",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var eo=J((PMt,cde)=>{\"use strict\";u();cde.exports=sde()});var ude=J(ga=>{\"use strict\";u();(function(){function e(){}function t(y){return\"\"+y}function r(y,w,E){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(A);var C=!1}catch{C=!0}return C&&(console.error(\"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",typeof Symbol==\"function\"&&Symbol.toStringTag&&A[Symbol.toStringTag]||A.constructor.name||\"Object\"),t(A)),{$$typeof:p,key:A==null?null:\"\"+A,children:y,containerInfo:w,implementation:E}}function n(y,w){if(y===\"font\")return\"\";if(typeof w==\"string\")return w===\"use-credentials\"?w:\"\"}function o(y){return y===null?\"`null`\":y===void 0?\"`undefined`\":y===\"\"?\"an empty string\":\\'something with type \"\\'+typeof y+\\'\"\\'}function i(y){return y===null?\"`null`\":y===void 0?\"`undefined`\":y===\"\"?\"an empty string\":typeof y==\"string\"?JSON.stringify(y):typeof y==\"number\"?\"`\"+y+\"`\":\\'something with type \"\\'+typeof y+\\'\"\\'}function c(){var y=h.H;return y===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var l=eo(),f={d:{f:e,r:function(){throw Error(\"Invalid form element. requestFormReset must be passed a form that was rendered by React.\")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},p=Symbol.for(\"react.portal\"),h=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==\"function\"&&Map.prototype!=null&&typeof Map.prototype.forEach==\"function\"&&typeof Set==\"function\"&&Set.prototype!=null&&typeof Set.prototype.clear==\"function\"&&typeof Set.prototype.forEach==\"function\"||console.error(\"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills\"),ga.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,ga.createPortal=function(y,w){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!w||w.nodeType!==1&&w.nodeType!==9&&w.nodeType!==11)throw Error(\"Target container is not a DOM element.\");return r(y,w,null,E)},ga.flushSync=function(y){var w=h.T,E=f.p;try{if(h.T=null,f.p=2,y)return y()}finally{h.T=w,f.p=E,f.d.f()&&console.error(\"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.\")}},ga.preconnect=function(y,w){typeof y==\"string\"&&y?w!=null&&typeof w!=\"object\"?console.error(\"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.\",i(w)):w!=null&&typeof w.crossOrigin!=\"string\"&&console.error(\"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.\",o(w.crossOrigin)):console.error(\"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",o(y)),typeof y==\"string\"&&(w?(w=w.crossOrigin,w=typeof w==\"string\"?w===\"use-credentials\"?w:\"\":void 0):w=null,f.d.C(y,w))},ga.prefetchDNS=function(y){if(typeof y!=\"string\"||!y)console.error(\"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",o(y));else if(1<arguments.length){var w=arguments[1];typeof w==\"object\"&&w.hasOwnProperty(\"crossOrigin\")?console.error(\"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",i(w)):console.error(\"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.\",i(w))}typeof y==\"string\"&&f.d.D(y)},ga.preinit=function(y,w){if(typeof y==\"string\"&&y?w==null||typeof w!=\"object\"?console.error(\"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.\",i(w)):w.as!==\"style\"&&w.as!==\"script\"&&console.error(\\'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are \"style\" and \"script\".\\',i(w.as)):console.error(\"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.\",o(y)),typeof y==\"string\"&&w&&typeof w.as==\"string\"){var E=w.as,A=n(E,w.crossOrigin),C=typeof w.integrity==\"string\"?w.integrity:void 0,R=typeof w.fetchPriority==\"string\"?w.fetchPriority:void 0;E===\"style\"?f.d.S(y,typeof w.precedence==\"string\"?w.precedence:void 0,{crossOrigin:A,integrity:C,fetchPriority:R}):E===\"script\"&&f.d.X(y,{crossOrigin:A,integrity:C,fetchPriority:R,nonce:typeof w.nonce==\"string\"?w.nonce:void 0})}},ga.preinitModule=function(y,w){var E=\"\";typeof y==\"string\"&&y||(E+=\" The `href` argument encountered was \"+o(y)+\".\"),w!==void 0&&typeof w!=\"object\"?E+=\" The `options` argument encountered was \"+o(w)+\".\":w&&\"as\"in w&&w.as!==\"script\"&&(E+=\" The `as` option encountered was \"+i(w.as)+\".\"),E?console.error(\"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s\",E):(E=w&&typeof w.as==\"string\"?w.as:\"script\",E)===\"script\"||(E=i(E),console.error(\\'ReactDOM.preinitModule(): Currently the only supported \"as\" type for this function is \"script\" but received \"%s\" instead. This warning was generated for `href` \"%s\". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)\\',E,y)),typeof y==\"string\"&&(typeof w==\"object\"&&w!==null?(w.as==null||w.as===\"script\")&&(E=n(w.as,w.crossOrigin),f.d.M(y,{crossOrigin:E,integrity:typeof w.integrity==\"string\"?w.integrity:void 0,nonce:typeof w.nonce==\"string\"?w.nonce:void 0})):w==null&&f.d.M(y))},ga.preload=function(y,w){var E=\"\";if(typeof y==\"string\"&&y||(E+=\" The `href` argument encountered was \"+o(y)+\".\"),w==null||typeof w!=\"object\"?E+=\" The `options` argument encountered was \"+o(w)+\".\":typeof w.as==\"string\"&&w.as||(E+=\" The `as` option encountered was \"+o(w.as)+\".\"),E&&console.error(\\'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel=\"preload\" as=\"...\" />` tag.%s\\',E),typeof y==\"string\"&&typeof w==\"object\"&&w!==null&&typeof w.as==\"string\"){E=w.as;var A=n(E,w.crossOrigin);f.d.L(y,E,{crossOrigin:A,integrity:typeof w.integrity==\"string\"?w.integrity:void 0,nonce:typeof w.nonce==\"string\"?w.nonce:void 0,type:typeof w.type==\"string\"?w.type:void 0,fetchPriority:typeof w.fetchPriority==\"string\"?w.fetchPriority:void 0,referrerPolicy:typeof w.referrerPolicy==\"string\"?w.referrerPolicy:void 0,imageSrcSet:typeof w.imageSrcSet==\"string\"?w.imageSrcSet:void 0,imageSizes:typeof w.imageSizes==\"string\"?w.imageSizes:void 0,media:typeof w.media==\"string\"?w.media:void 0})}},ga.preloadModule=function(y,w){var E=\"\";typeof y==\"string\"&&y||(E+=\" The `href` argument encountered was \"+o(y)+\".\"),w!==void 0&&typeof w!=\"object\"?E+=\" The `options` argument encountered was \"+o(w)+\".\":w&&\"as\"in w&&typeof w.as!=\"string\"&&(E+=\" The `as` option encountered was \"+o(w.as)+\".\"),E&&console.error(\\'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel=\"modulepreload\" as=\"...\" />` tag.%s\\',E),typeof y==\"string\"&&(w?(E=n(w.as,w.crossOrigin),f.d.m(y,{as:typeof w.as==\"string\"&&w.as!==\"script\"?w.as:void 0,crossOrigin:E,integrity:typeof w.integrity==\"string\"?w.integrity:void 0})):f.d.m(y))},ga.requestFormReset=function(y){f.d.r(y)},ga.unstable_batchedUpdates=function(y,w){return y(w)},ga.useFormState=function(y,w,E){return c().useFormState(y,w,E)},ga.useFormStatus=function(){return c().useHostTransitionStatus()},ga.version=\"19.2.1\",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var dde=J((MMt,lde)=>{\"use strict\";u();lde.exports=ude()});var fde=J(PT=>{\"use strict\";u();(function(){function e(a,s){for(a=a.memoizedState;a!==null&&0<s;)a=a.next,s--;return a}function t(a,s,d,m){if(d>=s.length)return m;var b=s[d],v=Go(a)?a.slice():Jt({},a);return v[b]=t(a[b],s,d+1,m),v}function r(a,s,d){if(s.length!==d.length)console.warn(\"copyWithRename() expects paths of the same length\");else{for(var m=0;m<d.length-1;m++)if(s[m]!==d[m]){console.warn(\"copyWithRename() expects paths to be the same except for the deepest key\");return}return n(a,s,d,0)}}function n(a,s,d,m){var b=s[m],v=Go(a)?a.slice():Jt({},a);return m+1===s.length?(v[d[m]]=v[b],Go(v)?v.splice(b,1):delete v[b]):v[b]=n(a[b],s,d,m+1),v}function o(a,s,d){var m=s[d],b=Go(a)?a.slice():Jt({},a);return d+1===s.length?(Go(b)?b.splice(m,1):delete b[m],b):(b[m]=o(a[m],s,d+1),b)}function i(){return!1}function c(){return null}function l(){console.error(\"Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks\")}function f(){console.error(\"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\")}function p(){}function h(){}function y(a){var s=[];return a.forEach(function(d){s.push(d)}),s.sort().join(\", \")}function w(a,s,d,m){return new Act(a,s,d,m)}function E(a,s){a.context===xm&&($z(a.current,2,s,a,null,null),g1())}function A(a,s){if(Sc!==null){var d=s.staleFamilies;s=s.updatedFamilies,XE(),Hoe(a.current,s,d),g1()}}function C(a){Sc=a}function R(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function M(a){var s=a,d=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(d=s.return),a=s.return;while(a)}return s.tag===3?d:null}function D(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function $(a){if(a.tag===31){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function H(a){if(M(a)!==a)throw Error(\"Unable to find node on an unmounted component.\")}function V(a){var s=a.alternate;if(!s){if(s=M(a),s===null)throw Error(\"Unable to find node on an unmounted component.\");return s!==a?null:a}for(var d=a,m=s;;){var b=d.return;if(b===null)break;var v=b.alternate;if(v===null){if(m=b.return,m!==null){d=m;continue}break}if(b.child===v.child){for(v=b.child;v;){if(v===d)return H(b),a;if(v===m)return H(b),s;v=v.sibling}throw Error(\"Unable to find node on an unmounted component.\")}if(d.return!==m.return)d=b,m=v;else{for(var S=!1,I=b.child;I;){if(I===d){S=!0,d=b,m=v;break}if(I===m){S=!0,m=b,d=v;break}I=I.sibling}if(!S){for(I=v.child;I;){if(I===d){S=!0,d=v,m=b;break}if(I===m){S=!0,m=v,d=b;break}I=I.sibling}if(!S)throw Error(\"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\")}}if(d.alternate!==m)throw Error(\"Return fibers should always be each others\\' alternates. This error is likely caused by a bug in React. Please file an issue.\")}if(d.tag!==3)throw Error(\"Unable to find node on an unmounted component.\");return d.stateNode.current===d?a:s}function G(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=G(a),s!==null)return s;a=a.sibling}return null}function K(a){return a===null||typeof a!=\"object\"?null:(a=Zse&&a[Zse]||a[\"@@iterator\"],typeof a==\"function\"?a:null)}function Q(a){if(a==null)return null;if(typeof a==\"function\")return a.$$typeof===Kut?null:a.displayName||a.name||null;if(typeof a==\"string\")return a;switch(a){case A1:return\"Fragment\";case qz:return\"Profiler\";case x8:return\"StrictMode\";case Kz:return\"Suspense\";case Zz:return\"SuspenseList\";case Wz:return\"Activity\"}if(typeof a==\"object\")switch(typeof a.tag==\"number\"&&console.error(\"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"),a.$$typeof){case S1:return\"Portal\";case ql:return a.displayName||\"Context\";case Gz:return(a._context.displayName||\"Context\")+\".Consumer\";case u_:var s=a.render;return a=a.displayName,a||(a=s.displayName||s.name||\"\",a=a!==\"\"?\"ForwardRef(\"+a+\")\":\"ForwardRef\"),a;case v8:return s=a.displayName||null,s!==null?s:Q(a.type)||\"Memo\";case Vs:s=a._payload,a=a._init;try{return Q(a(s))}catch{}}return null}function X(a){return typeof a.tag==\"number\"?Y(a):typeof a.name==\"string\"?a.name:null}function Y(a){var s=a.type;switch(a.tag){case 31:return\"Activity\";case 24:return\"Cache\";case 9:return(s._context.displayName||\"Context\")+\".Consumer\";case 10:return s.displayName||\"Context\";case 18:return\"DehydratedFragment\";case 11:return a=s.render,a=a.displayName||a.name||\"\",s.displayName||(a!==\"\"?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 26:case 27:case 5:return s;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Q(s);case 8:return s===x8?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";case 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 14:case 15:if(typeof s==\"function\")return s.displayName||s.name||null;if(typeof s==\"string\")return s;break;case 29:if(s=a._debugInfo,s!=null){for(var d=s.length-1;0<=d;d--)if(typeof s[d].name==\"string\")return s[d].name}if(a.return!==null)return Y(a.return)}return null}function fe(a){return{current:a}}function ce(a,s){0>Ef?console.error(\"Unexpected pop.\"):(s!==Qz[Ef]&&console.error(\"Unexpected Fiber popped.\"),a.current=Jz[Ef],Jz[Ef]=null,Qz[Ef]=null,Ef--)}function N(a,s,d){Ef++,Jz[Ef]=a.current,Qz[Ef]=d,a.current=s}function _(a){return a===null&&console.error(\"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"),a}function k(a,s){N(pm,s,a),N(l_,a,a),N(fm,null,a);var d=s.nodeType;switch(d){case 9:case 11:d=d===9?\"#document\":\"#fragment\",s=(s=s.documentElement)&&(s=s.namespaceURI)?gse(s):Nf;break;default:if(d=s.tagName,s=s.namespaceURI)s=gse(s),s=xse(s,d);else switch(d){case\"svg\":s=ix;break;case\"math\":s=gT;break;default:s=Nf}}d=d.toLowerCase(),d=foe(null,d),d={context:s,ancestorInfo:d},ce(fm,a),N(fm,d,a)}function O(a){ce(fm,a),ce(l_,a),ce(pm,a)}function B(){return _(fm.current)}function L(a){a.memoizedState!==null&&N(w8,a,a);var s=_(fm.current),d=a.type,m=xse(s.context,d);d=foe(s.ancestorInfo,d),m={context:m,ancestorInfo:d},s!==m&&(N(l_,a,a),N(fm,m,a))}function q(a){l_.current===a&&(ce(fm,a),ce(l_,a)),w8.current===a&&(ce(w8,a),tS._currentValue=Cy)}function W(){}function U(){if(d_===0){Wse=console.log,Jse=console.info,Qse=console.warn,Yse=console.error,Xse=console.group,ece=console.groupCollapsed,tce=console.groupEnd;var a={configurable:!0,enumerable:!0,value:W,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}d_++}function P(){if(d_--,d_===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Jt({},a,{value:Wse}),info:Jt({},a,{value:Jse}),warn:Jt({},a,{value:Qse}),error:Jt({},a,{value:Yse}),group:Jt({},a,{value:Xse}),groupCollapsed:Jt({},a,{value:ece}),groupEnd:Jt({},a,{value:tce})})}0>d_&&console.error(\"disabledDepth fell below zero. This is a bug in React. Please file an issue.\")}function Z(a){var s=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,a=a.stack,Error.prepareStackTrace=s,a.startsWith(`Error: react-stack-top-frame\\n`)&&(a=a.slice(29)),s=a.indexOf(`\\n`),s!==-1&&(a=a.slice(s+1)),s=a.indexOf(\"react_stack_bottom_frame\"),s!==-1&&(s=a.lastIndexOf(`\\n`,s)),s!==-1)a=a.slice(0,s);else return\"\";return a}function ye(a){if(Yz===void 0)try{throw Error()}catch(d){var s=d.stack.trim().match(/\\\\n( *(at )?)/);Yz=s&&s[1]||\"\",rce=-1<d.stack.indexOf(`\\n    at`)?\" (<anonymous>)\":-1<d.stack.indexOf(\"@\")?\"@unknown:0:0\":\"\"}return`\\n`+Yz+a+rce}function xe(a,s){if(!a||Xz)return\"\";var d=eL.get(a);if(d!==void 0)return d;Xz=!0,d=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var m=null;m=ge.H,ge.H=null,U();try{var b={DetermineComponentFrameRoot:function(){try{if(s){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(te,[])}catch($e){var he=$e}Reflect.construct(a,[],te)}else{try{te.call()}catch($e){he=$e}a.call(te.prototype)}}else{try{throw Error()}catch($e){he=$e}(te=a())&&typeof te.catch==\"function\"&&te.catch(function(){})}}catch($e){if($e&&he&&typeof $e.stack==\"string\")return[$e.stack,he.stack]}return[null,null]}};b.DetermineComponentFrameRoot.displayName=\"DetermineComponentFrameRoot\";var v=Object.getOwnPropertyDescriptor(b.DetermineComponentFrameRoot,\"name\");v&&v.configurable&&Object.defineProperty(b.DetermineComponentFrameRoot,\"name\",{value:\"DetermineComponentFrameRoot\"});var S=b.DetermineComponentFrameRoot(),I=S[0],z=S[1];if(I&&z){var F=I.split(`\\n`),ae=z.split(`\\n`);for(S=v=0;v<F.length&&!F[v].includes(\"DetermineComponentFrameRoot\");)v++;for(;S<ae.length&&!ae[S].includes(\"DetermineComponentFrameRoot\");)S++;if(v===F.length||S===ae.length)for(v=F.length-1,S=ae.length-1;1<=v&&0<=S&&F[v]!==ae[S];)S--;for(;1<=v&&0<=S;v--,S--)if(F[v]!==ae[S]){if(v!==1||S!==1)do if(v--,S--,0>S||F[v]!==ae[S]){var se=`\\n`+F[v].replace(\" at new \",\" at \");return a.displayName&&se.includes(\"<anonymous>\")&&(se=se.replace(\"<anonymous>\",a.displayName)),typeof a==\"function\"&&eL.set(a,se),se}while(1<=v&&0<=S);break}}}finally{Xz=!1,ge.H=m,P(),Error.prepareStackTrace=d}return F=(F=a?a.displayName||a.name:\"\")?ye(F):\"\",typeof a==\"function\"&&eL.set(a,F),F}function Te(a,s){switch(a.tag){case 26:case 27:case 5:return ye(a.type);case 16:return ye(\"Lazy\");case 13:return a.child!==s&&s!==null?ye(\"Suspense Fallback\"):ye(\"Suspense\");case 19:return ye(\"SuspenseList\");case 0:case 15:return xe(a.type,!1);case 11:return xe(a.type.render,!1);case 1:return xe(a.type,!0);case 31:return ye(\"Activity\");default:return\"\"}}function Ie(a){try{var s=\"\",d=null;do{s+=Te(a,d);var m=a._debugInfo;if(m)for(var b=m.length-1;0<=b;b--){var v=m[b];if(typeof v.name==\"string\"){var S=s;e:{var I=v.name,z=v.env,F=v.debugLocation;if(F!=null){var ae=Z(F),se=ae.lastIndexOf(`\\n`),te=se===-1?ae:ae.slice(se+1);if(te.indexOf(I)!==-1){var he=`\\n`+te;break e}}he=ye(I+(z?\" [\"+z+\"]\":\"\"))}s=S+he}}d=a,a=a.return}while(a);return s}catch($e){return`\\nError generating stack: `+$e.message+`\\n`+$e.stack}}function Ke(a){return(a=a?a.displayName||a.name:\"\")?ye(a):\"\"}function Ve(){if(qs===null)return null;var a=qs._debugOwner;return a!=null?X(a):null}function Nt(){if(qs===null)return\"\";var a=qs;try{var s=\"\";switch(a.tag===6&&(a=a.return),a.tag){case 26:case 27:case 5:s+=ye(a.type);break;case 13:s+=ye(\"Suspense\");break;case 19:s+=ye(\"SuspenseList\");break;case 31:s+=ye(\"Activity\");break;case 30:case 0:case 15:case 1:a._debugOwner||s!==\"\"||(s+=Ke(a.type));break;case 11:a._debugOwner||s!==\"\"||(s+=Ke(a.type.render))}for(;a;)if(typeof a.tag==\"number\"){var d=a;a=d._debugOwner;var m=d._debugStack;if(a&&m){var b=Z(m);b!==\"\"&&(s+=`\\n`+b)}}else if(a.debugStack!=null){var v=a.debugStack;(a=a.owner)&&v&&(s+=`\\n`+Z(v))}else break;var S=s}catch(I){S=`\\nError generating stack: `+I.message+`\\n`+I.stack}return S}function Pe(a,s,d,m,b,v,S){var I=qs;Ot(a);try{return a!==null&&a._debugTask?a._debugTask.run(s.bind(null,d,m,b,v,S)):s(d,m,b,v,S)}finally{Ot(I)}throw Error(\"runWithFiberInDEV should never be called in production. This is a bug in React.\")}function Ot(a){ge.getCurrentStack=a===null?null:Nt,Gl=!1,qs=a}function Fn(a){return typeof Symbol==\"function\"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||\"Object\"}function rr(a){try{return yt(a),!1}catch{return!0}}function yt(a){return\"\"+a}function nr(a,s){if(rr(a))return console.error(\"The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.\",s,Fn(a)),yt(a)}function tn(a,s){if(rr(a))return console.error(\"The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.\",s,Fn(a)),yt(a)}function Xe(a){if(rr(a))return console.error(\"Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.\",Fn(a)),yt(a)}function gc(a){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>\"u\")return!1;var s=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(s.isDisabled)return!0;if(!s.supportsFiber)return console.error(\"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools\"),!0;try{C1=s.inject(a),Vi=s}catch(d){console.error(\"React instrumentation encountered an error: %o.\",d)}return!!s.checkDCE}function pt(a){if(typeof elt==\"function\"&&tlt(a),Vi&&typeof Vi.setStrictMode==\"function\")try{Vi.setStrictMode(C1,a)}catch(s){Kl||(Kl=!0,console.error(\"React instrumentation encountered an error: %o\",s))}}function ln(a){return a>>>=0,a===0?32:31-(rlt(a)/nlt|0)|0}function Hi(a){var s=a&42;if(s!==0)return s;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error(\"Should have found matching lanes. This is a bug in React.\"),a}}function Mr(a,s,d){var m=a.pendingLanes;if(m===0)return 0;var b=0,v=a.suspendedLanes,S=a.pingedLanes;a=a.warmLanes;var I=m&134217727;return I!==0?(m=I&~v,m!==0?b=Hi(m):(S&=I,S!==0?b=Hi(S):d||(d=I&~a,d!==0&&(b=Hi(d))))):(I=m&~v,I!==0?b=Hi(I):S!==0?b=Hi(S):d||(d=m&~a,d!==0&&(b=Hi(d)))),b===0?0:s!==0&&s!==b&&(s&v)===0&&(v=b&-b,d=s&-s,v>=d||v===32&&(d&4194048)!==0)?s:b}function Dr(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function df(a,s){switch(a){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error(\"Should have found matching lanes. This is a bug in React.\"),-1}}function $r(){var a=S8;return S8<<=1,(S8&62914560)===0&&(S8=4194304),a}function zr(a){for(var s=[],d=0;31>d;d++)s.push(a);return s}function sa(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function rn(a,s,d,m,b,v){var S=a.pendingLanes;a.pendingLanes=d,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=d,a.entangledLanes&=d,a.errorRecoveryDisabledLanes&=d,a.shellSuspendCounter=0;var I=a.entanglements,z=a.expirationTimes,F=a.hiddenUpdates;for(d=S&~d;0<d;){var ae=31-la(d),se=1<<ae;I[ae]=0,z[ae]=-1;var te=F[ae];if(te!==null)for(F[ae]=null,ae=0;ae<te.length;ae++){var he=te[ae];he!==null&&(he.lane&=-536870913)}d&=~se}m!==0&&Ir(a,m,0),v!==0&&b===0&&a.tag!==0&&(a.suspendedLanes|=v&~(S&~s))}function Ir(a,s,d){a.pendingLanes|=s,a.suspendedLanes&=~s;var m=31-la(s);a.entangledLanes|=s,a.entanglements[m]=a.entanglements[m]|1073741824|d&261930}function Wa(a,s){var d=a.entangledLanes|=s;for(a=a.entanglements;d;){var m=31-la(d),b=1<<m;b&s|a[m]&s&&(a[m]|=s),d&=~b}}function Pr(a,s){var d=s&-s;return d=(d&42)!==0?1:Rr(d),(d&(a.suspendedLanes|s))!==0?0:d}function Rr(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function xc(a,s,d){if(Zl)for(a=a.pendingUpdatersLaneMap;0<d;){var m=31-la(d),b=1<<m;a[m].add(s),d&=~b}}function wr(a,s){if(Zl)for(var d=a.pendingUpdatersLaneMap,m=a.memoizedUpdaters;0<s;){var b=31-la(s);a=1<<b,b=d[b],0<b.size&&(b.forEach(function(v){var S=v.alternate;S!==null&&m.has(S)||m.add(v)}),b.clear()),s&=~a}}function j(a){return a&=-a,Gs!==0&&Gs<a?Tu!==0&&Tu<a?(a&134217727)!==0?Wl:A8:Tu:Gs}function de(){var a=Ur.p;return a!==0?a:(a=window.event,a===void 0?Wl:Hse(a.type))}function ke(a,s){var d=Ur.p;try{return Ur.p=a,s()}finally{Ur.p=d}}function Re(a){delete a[Ei],delete a[da],delete a[iL],delete a[olt],delete a[ilt]}function Je(a){var s=a[Ei];if(s)return s;for(var d=a.parentNode;d;){if(s=d[hm]||d[Ei]){if(d=s.alternate,s.child!==null||d!==null&&d.child!==null)for(a=Cse(a);a!==null;){if(d=a[Ei])return d;a=Cse(a)}return s}a=d,d=a.parentNode}return null}function Ze(a){if(a=a[Ei]||a[hm]){var s=a.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return a}return null}function We(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a.stateNode;throw Error(\"getNodeFromInstance: Invalid argument.\")}function jt(a){var s=a[nce];return s||(s=a[nce]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Le(a){a[f_]=!0}function Ft(a,s){Co(a,s),Co(a+\"Capture\",s)}function Co(a,s){iy[a]&&console.error(\"EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.\",a),iy[a]=s;var d=a.toLowerCase();for(aL[d]=a,a===\"onDoubleClick\"&&(aL.ondblclick=a),a=0;a<s.length;a++)oce.add(s[a])}function Er(a,s){alt[s.type]||s.onChange||s.onInput||s.readOnly||s.disabled||s.value==null||console.error(a===\"select\"?\"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.\":\"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.\"),s.onChange||s.readOnly||s.disabled||s.checked==null||console.error(\"You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.\")}function Lr(a){return Cu.call(ace,a)?!0:Cu.call(ice,a)?!1:slt.test(a)?ace[a]=!0:(ice[a]=!0,console.error(\"Invalid attribute name: `%s`\",a),!1)}function ff(a,s,d){if(Lr(s)){if(!a.hasAttribute(s)){switch(typeof d){case\"symbol\":case\"object\":return d;case\"function\":return d;case\"boolean\":if(d===!1)return d}return d===void 0?void 0:null}return a=a.getAttribute(s),a===\"\"&&d===!0?!0:(nr(d,s),a===\"\"+d?d:a)}}function nn(a,s,d){if(Lr(s))if(d===null)a.removeAttribute(s);else{switch(typeof d){case\"undefined\":case\"function\":case\"symbol\":a.removeAttribute(s);return;case\"boolean\":var m=s.toLowerCase().slice(0,5);if(m!==\"data-\"&&m!==\"aria-\"){a.removeAttribute(s);return}}nr(d,s),a.setAttribute(s,\"\"+d)}}function on(a,s,d){if(d===null)a.removeAttribute(s);else{switch(typeof d){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":a.removeAttribute(s);return}nr(d,s),a.setAttribute(s,\"\"+d)}}function ji(a,s,d,m){if(m===null)a.removeAttribute(d);else{switch(typeof m){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":a.removeAttribute(d);return}nr(m,d),a.setAttributeNS(s,d,\"\"+m)}}function lr(a){switch(typeof a){case\"bigint\":case\"boolean\":case\"number\":case\"string\":case\"undefined\":return a;case\"object\":return Xe(a),a;default:return\"\"}}function wn(a){var s=a.type;return(a=a.nodeName)&&a.toLowerCase()===\"input\"&&(s===\"checkbox\"||s===\"radio\")}function Xp(a,s,d){var m=Object.getOwnPropertyDescriptor(a.constructor.prototype,s);if(!a.hasOwnProperty(s)&&typeof m<\"u\"&&typeof m.get==\"function\"&&typeof m.set==\"function\"){var b=m.get,v=m.set;return Object.defineProperty(a,s,{configurable:!0,get:function(){return b.call(this)},set:function(S){Xe(S),d=\"\"+S,v.call(this,S)}}),Object.defineProperty(a,s,{enumerable:m.enumerable}),{getValue:function(){return d},setValue:function(S){Xe(S),d=\"\"+S},stopTracking:function(){a._valueTracker=null,delete a[s]}}}}function dn(a){if(!a._valueTracker){var s=wn(a)?\"checked\":\"value\";a._valueTracker=Xp(a,s,\"\"+a[s])}}function En(a){if(!a)return!1;var s=a._valueTracker;if(!s)return!0;var d=s.getValue(),m=\"\";return a&&(m=wn(a)?a.checked?\"true\":\"false\":a.value),a=m,a!==d?(s.setValue(a),!0):!1}function _u(a){if(a=a||(typeof document<\"u\"?document:void 0),typeof a>\"u\")return null;try{return a.activeElement||a.body}catch{return a.body}}function dr(a){return a.replace(clt,function(s){return\"\\\\\\\\\"+s.charCodeAt(0).toString(16)+\" \"})}function _n(a,s){s.checked===void 0||s.defaultChecked===void 0||cce||(console.error(\"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components\",Ve()||\"A component\",s.type),cce=!0),s.value===void 0||s.defaultValue===void 0||sce||(console.error(\"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components\",Ve()||\"A component\",s.type),sce=!0)}function gl(a,s,d,m,b,v,S,I){a.name=\"\",S!=null&&typeof S!=\"function\"&&typeof S!=\"symbol\"&&typeof S!=\"boolean\"?(nr(S,\"type\"),a.type=S):a.removeAttribute(\"type\"),s!=null?S===\"number\"?(s===0&&a.value===\"\"||a.value!=s)&&(a.value=\"\"+lr(s)):a.value!==\"\"+lr(s)&&(a.value=\"\"+lr(s)):S!==\"submit\"&&S!==\"reset\"||a.removeAttribute(\"value\"),s!=null?fn(a,S,lr(s)):d!=null?fn(a,S,lr(d)):m!=null&&a.removeAttribute(\"value\"),b==null&&v!=null&&(a.defaultChecked=!!v),b!=null&&(a.checked=b&&typeof b!=\"function\"&&typeof b!=\"symbol\"),I!=null&&typeof I!=\"function\"&&typeof I!=\"symbol\"&&typeof I!=\"boolean\"?(nr(I,\"name\"),a.name=\"\"+lr(I)):a.removeAttribute(\"name\")}function Sn(a,s,d,m,b,v,S,I){if(v!=null&&typeof v!=\"function\"&&typeof v!=\"symbol\"&&typeof v!=\"boolean\"&&(nr(v,\"type\"),a.type=v),s!=null||d!=null){if(!(v!==\"submit\"&&v!==\"reset\"||s!=null)){dn(a);return}d=d!=null?\"\"+lr(d):\"\",s=s!=null?\"\"+lr(s):d,I||s===a.value||(a.value=s),a.defaultValue=s}m=m??b,m=typeof m!=\"function\"&&typeof m!=\"symbol\"&&!!m,a.checked=I?a.checked:!!m,a.defaultChecked=!!m,S!=null&&typeof S!=\"function\"&&typeof S!=\"symbol\"&&typeof S!=\"boolean\"&&(nr(S,\"name\"),a.name=S),dn(a)}function fn(a,s,d){s===\"number\"&&_u(a.ownerDocument)===a||a.defaultValue===\"\"+d||(a.defaultValue=\"\"+d)}function xl(a,s){s.value==null&&(typeof s.children==\"object\"&&s.children!==null?Vz.Children.forEach(s.children,function(d){d==null||typeof d==\"string\"||typeof d==\"number\"||typeof d==\"bigint\"||lce||(lce=!0,console.error(\"Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.\"))}):s.dangerouslySetInnerHTML==null||dce||(dce=!0,console.error(\"Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.\"))),s.selected==null||uce||(console.error(\"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.\"),uce=!0)}function vl(){var a=Ve();return a?`\\n\\nCheck the render method of \\\\``+a+\"`.\":\"\"}function Ja(a,s,d,m){if(a=a.options,s){s={};for(var b=0;b<d.length;b++)s[\"$\"+d[b]]=!0;for(d=0;d<a.length;d++)b=s.hasOwnProperty(\"$\"+a[d].value),a[d].selected!==b&&(a[d].selected=b),b&&m&&(a[d].defaultSelected=!0)}else{for(d=\"\"+lr(d),s=null,b=0;b<a.length;b++){if(a[b].value===d){a[b].selected=!0,m&&(a[b].defaultSelected=!0);return}s!==null||a[b].disabled||(s=a[b])}s!==null&&(s.selected=!0)}}function wl(a,s){for(a=0;a<pce.length;a++){var d=pce[a];if(s[d]!=null){var m=Go(s[d]);s.multiple&&!m?console.error(\"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s\",d,vl()):!s.multiple&&m&&console.error(\"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s\",d,vl())}}s.value===void 0||s.defaultValue===void 0||fce||(console.error(\"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components\"),fce=!0)}function El(a,s){s.value===void 0||s.defaultValue===void 0||mce||(console.error(\"%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components\",Ve()||\"A component\"),mce=!0),s.children!=null&&s.value==null&&console.error(\"Use the `defaultValue` or `value` props instead of setting children on <textarea>.\")}function _l(a,s,d){if(s!=null&&(s=\"\"+lr(s),s!==a.value&&(a.value=s),d==null)){a.defaultValue!==s&&(a.defaultValue=s);return}a.defaultValue=d!=null?\"\"+lr(d):\"\"}function Sl(a,s,d,m){if(s==null){if(m!=null){if(d!=null)throw Error(\"If you supply `defaultValue` on a <textarea>, do not pass children.\");if(Go(m)){if(1<m.length)throw Error(\"<textarea> can only have at most one child.\");m=m[0]}d=m}d==null&&(d=\"\"),s=d}d=lr(s),a.defaultValue=d,m=a.textContent,m===d&&m!==\"\"&&m!==null&&(a.value=m),dn(a)}function Al(a,s){return a.serverProps===void 0&&a.serverTail.length===0&&a.children.length===1&&3<a.distanceFromLeaf&&a.distanceFromLeaf>15-s?Al(a.children[0],s):a}function xo(a){return\"  \"+\"  \".repeat(a)}function Qa(a){return\"+ \"+\"  \".repeat(a)}function ca(a){return\"- \"+\"  \".repeat(a)}function kl(a){switch(a.tag){case 26:case 27:case 5:return a.type;case 16:return\"Lazy\";case 31:return\"Activity\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 0:case 15:return a=a.type,a.displayName||a.name||null;case 11:return a=a.type.render,a.displayName||a.name||null;case 1:return a=a.type,a.displayName||a.name||null;default:return null}}function Ns(a,s){return hce.test(a)?(a=JSON.stringify(a),a.length>s-2?8>s?\\'{\"...\"}\\':\"{\"+a.slice(0,s-7)+\\'...\"}\\':\"{\"+a+\"}\"):a.length>s?5>s?\\'{\"...\"}\\':a.slice(0,s-3)+\"...\":a}function vc(a,s,d){var m=120-2*d;if(s===null)return Qa(d)+Ns(a,m)+`\\n`;if(typeof s==\"string\"){for(var b=0;b<s.length&&b<a.length&&s.charCodeAt(b)===a.charCodeAt(b);b++);return b>m-8&&10<b&&(a=\"...\"+a.slice(b-8),s=\"...\"+s.slice(b-8)),Qa(d)+Ns(a,m)+`\\n`+ca(d)+Ns(s,m)+`\\n`}return xo(d)+Ns(a,m)+`\\n`}function F0(a){return Object.prototype.toString.call(a).replace(/^\\\\[object (.*)\\\\]$/,function(s,d){return d})}function pf(a,s){switch(typeof a){case\"string\":return a=JSON.stringify(a),a.length>s?5>s?\\'\"...\"\\':a.slice(0,s-4)+\\'...\"\\':a;case\"object\":if(a===null)return\"null\";if(Go(a))return\"[...]\";if(a.$$typeof===Vl)return(s=Q(a.type))?\"<\"+s+\">\":\"<...>\";var d=F0(a);if(d===\"Object\"){d=\"\",s-=2;for(var m in a)if(a.hasOwnProperty(m)){var b=JSON.stringify(m);if(b!==\\'\"\\'+m+\\'\"\\'&&(m=b),s-=m.length-2,b=pf(a[m],15>s?s:15),s-=b.length,0>s){d+=d===\"\"?\"...\":\", ...\";break}d+=(d===\"\"?\"\":\",\")+m+\":\"+b}return\"{\"+d+\"}\"}return d;case\"function\":return(s=a.displayName||a.name)?\"function \"+s:\"function\";default:return String(a)}}function Cl(a,s){return typeof a!=\"string\"||hce.test(a)?\"{\"+pf(a,s-2)+\"}\":a.length>s-2?5>s?\\'\"...\"\\':\\'\"\\'+a.slice(0,s-5)+\\'...\"\\':\\'\"\\'+a+\\'\"\\'}function V0(a,s,d){var m=120-d.length-a.length,b=[],v;for(v in s)if(s.hasOwnProperty(v)&&v!==\"children\"){var S=Cl(s[v],120-d.length-v.length-1);m-=v.length+S.length+2,b.push(v+\"=\"+S)}return b.length===0?d+\"<\"+a+`>\\n`:0<m?d+\"<\"+a+\" \"+b.join(\" \")+`>\\n`:d+\"<\"+a+`\\n`+d+\"  \"+b.join(`\\n`+d+\"  \")+`\\n`+d+`>\\n`}function IE(a,s,d){var m=\"\",b=Jt({},s),v;for(v in a)if(a.hasOwnProperty(v)){delete b[v];var S=120-2*d-v.length-2,I=pf(a[v],S);s.hasOwnProperty(v)?(S=pf(s[v],S),m+=Qa(d)+v+\": \"+I+`\\n`,m+=ca(d)+v+\": \"+S+`\\n`):m+=Qa(d)+v+\": \"+I+`\\n`}for(var z in b)b.hasOwnProperty(z)&&(a=pf(b[z],120-2*d-z.length-2),m+=ca(d)+z+\": \"+a+`\\n`);return m}function oct(a,s,d,m){var b=\"\",v=new Map;for(F in d)d.hasOwnProperty(F)&&v.set(F.toLowerCase(),F);if(v.size===1&&v.has(\"children\"))b+=V0(a,s,xo(m));else{for(var S in s)if(s.hasOwnProperty(S)&&S!==\"children\"){var I=120-2*(m+1)-S.length-1,z=v.get(S.toLowerCase());if(z!==void 0){v.delete(S.toLowerCase());var F=s[S];z=d[z];var ae=Cl(F,I);I=Cl(z,I),typeof F==\"object\"&&F!==null&&typeof z==\"object\"&&z!==null&&F0(F)===\"Object\"&&F0(z)===\"Object\"&&(2<Object.keys(F).length||2<Object.keys(z).length||-1<ae.indexOf(\"...\")||-1<I.indexOf(\"...\"))?b+=xo(m+1)+S+`={{\\n`+IE(F,z,m+2)+xo(m+1)+`}}\\n`:(b+=Qa(m+1)+S+\"=\"+ae+`\\n`,b+=ca(m+1)+S+\"=\"+I+`\\n`)}else b+=xo(m+1)+S+\"=\"+Cl(s[S],I)+`\\n`}v.forEach(function(se){if(se!==\"children\"){var te=120-2*(m+1)-se.length-1;b+=ca(m+1)+se+\"=\"+Cl(d[se],te)+`\\n`}}),b=b===\"\"?xo(m)+\"<\"+a+`>\\n`:xo(m)+\"<\"+a+`\\n`+b+xo(m)+`>\\n`}return a=d.children,s=s.children,typeof a==\"string\"||typeof a==\"number\"||typeof a==\"bigint\"?(v=\"\",(typeof s==\"string\"||typeof s==\"number\"||typeof s==\"bigint\")&&(v=\"\"+s),b+=vc(v,\"\"+a,m+1)):(typeof s==\"string\"||typeof s==\"number\"||typeof s==\"bigint\")&&(b=a==null?b+vc(\"\"+s,null,m+1):b+vc(\"\"+s,void 0,m+1)),b}function loe(a,s){var d=kl(a);if(d===null){for(d=\"\",a=a.child;a;)d+=loe(a,s),a=a.sibling;return d}return xo(s)+\"<\"+d+`>\\n`}function VU(a,s){var d=Al(a,s);if(d!==a&&(a.children.length!==1||a.children[0]!==d))return xo(s)+`...\\n`+VU(d,s+1);d=\"\";var m=a.fiber._debugInfo;if(m)for(var b=0;b<m.length;b++){var v=m[b].name;typeof v==\"string\"&&(d+=xo(s)+\"<\"+v+`>\\n`,s++)}if(m=\"\",b=a.fiber.pendingProps,a.fiber.tag===6)m=vc(b,a.serverProps,s),s++;else if(v=kl(a.fiber),v!==null)if(a.serverProps===void 0){m=s;var S=120-2*m-v.length-2,I=\"\";for(F in b)if(b.hasOwnProperty(F)&&F!==\"children\"){var z=Cl(b[F],15);if(S-=F.length+z.length+2,0>S){I+=\" ...\";break}I+=\" \"+F+\"=\"+z}m=xo(m)+\"<\"+v+I+`>\\n`,s++}else a.serverProps===null?(m=V0(v,b,Qa(s)),s++):typeof a.serverProps==\"string\"?console.error(\"Should not have matched a non HostText fiber to a Text node. This is a bug in React.\"):(m=oct(v,b,a.serverProps,s),s++);var F=\"\";for(b=a.fiber.child,v=0;b&&v<a.children.length;)S=a.children[v],S.fiber===b?(F+=VU(S,s),v++):F+=loe(b,s),b=b.sibling;for(b&&0<a.children.length&&(F+=xo(s)+`...\\n`),b=a.serverTail,a.serverProps===null&&s--,a=0;a<b.length;a++)v=b[a],F=typeof v==\"string\"?F+(ca(s)+Ns(v,120-2*s)+`\\n`):F+V0(v.type,v.props,ca(s));return d+m+F}function qU(a){try{return`\\n\\n`+VU(a,0)}catch{return\"\"}}function doe(a,s,d){for(var m=s,b=null,v=0;m;)m===a&&(v=0),b={fiber:m,children:b!==null?[b]:[],serverProps:m===s?d:m===a?null:void 0,serverTail:[],distanceFromLeaf:v},v++,m=m.return;return b!==null?qU(b).replaceAll(/^[+-]/gm,\">\"):\"\"}function foe(a,s){var d=Jt({},a||bce),m={tag:s};return yce.indexOf(s)!==-1&&(d.aTagInScope=null,d.buttonTagInScope=null,d.nobrTagInScope=null),llt.indexOf(s)!==-1&&(d.pTagInButtonScope=null),ult.indexOf(s)!==-1&&s!==\"address\"&&s!==\"div\"&&s!==\"p\"&&(d.listItemTagAutoclosing=null,d.dlItemTagAutoclosing=null),d.current=m,s===\"form\"&&(d.formTag=m),s===\"a\"&&(d.aTagInScope=m),s===\"button\"&&(d.buttonTagInScope=m),s===\"nobr\"&&(d.nobrTagInScope=m),s===\"p\"&&(d.pTagInButtonScope=m),s===\"li\"&&(d.listItemTagAutoclosing=m),(s===\"dd\"||s===\"dt\")&&(d.dlItemTagAutoclosing=m),s===\"#document\"||s===\"html\"?d.containerTagInScope=null:d.containerTagInScope||(d.containerTagInScope=m),a!==null||s!==\"#document\"&&s!==\"html\"&&s!==\"body\"?d.implicitRootScope===!0&&(d.implicitRootScope=!1):d.implicitRootScope=!0,d}function poe(a,s,d){switch(s){case\"select\":return a===\"hr\"||a===\"option\"||a===\"optgroup\"||a===\"script\"||a===\"template\"||a===\"#text\";case\"optgroup\":return a===\"option\"||a===\"#text\";case\"option\":return a===\"#text\";case\"tr\":return a===\"th\"||a===\"td\"||a===\"style\"||a===\"script\"||a===\"template\";case\"tbody\":case\"thead\":case\"tfoot\":return a===\"tr\"||a===\"style\"||a===\"script\"||a===\"template\";case\"colgroup\":return a===\"col\"||a===\"template\";case\"table\":return a===\"caption\"||a===\"colgroup\"||a===\"tbody\"||a===\"tfoot\"||a===\"thead\"||a===\"style\"||a===\"script\"||a===\"template\";case\"head\":return a===\"base\"||a===\"basefont\"||a===\"bgsound\"||a===\"link\"||a===\"meta\"||a===\"title\"||a===\"noscript\"||a===\"noframes\"||a===\"style\"||a===\"script\"||a===\"template\";case\"html\":if(d)break;return a===\"head\"||a===\"body\"||a===\"frameset\";case\"frameset\":return a===\"frame\";case\"#document\":if(!d)return a===\"html\"}switch(a){case\"h1\":case\"h2\":case\"h3\":case\"h4\":case\"h5\":case\"h6\":return s!==\"h1\"&&s!==\"h2\"&&s!==\"h3\"&&s!==\"h4\"&&s!==\"h5\"&&s!==\"h6\";case\"rp\":case\"rt\":return dlt.indexOf(s)===-1;case\"caption\":case\"col\":case\"colgroup\":case\"frameset\":case\"frame\":case\"tbody\":case\"td\":case\"tfoot\":case\"th\":case\"thead\":case\"tr\":return s==null;case\"head\":return d||s===null;case\"html\":return d&&s===\"#document\"||s===null;case\"body\":return d&&(s===\"#document\"||s===\"html\")||s===null}return!0}function ict(a,s){switch(a){case\"address\":case\"article\":case\"aside\":case\"blockquote\":case\"center\":case\"details\":case\"dialog\":case\"dir\":case\"div\":case\"dl\":case\"fieldset\":case\"figcaption\":case\"figure\":case\"footer\":case\"header\":case\"hgroup\":case\"main\":case\"menu\":case\"nav\":case\"ol\":case\"p\":case\"section\":case\"summary\":case\"ul\":case\"pre\":case\"listing\":case\"table\":case\"hr\":case\"xmp\":case\"h1\":case\"h2\":case\"h3\":case\"h4\":case\"h5\":case\"h6\":return s.pTagInButtonScope;case\"form\":return s.formTag||s.pTagInButtonScope;case\"li\":return s.listItemTagAutoclosing;case\"dd\":case\"dt\":return s.dlItemTagAutoclosing;case\"button\":return s.buttonTagInScope;case\"a\":return s.aTagInScope;case\"nobr\":return s.nobrTagInScope}return null}function moe(a,s){for(;a;){switch(a.tag){case 5:case 26:case 27:if(a.type===s)return a}a=a.return}return null}function GU(a,s){s=s||bce;var d=s.current;if(s=(d=poe(a,d&&d.tag,s.implicitRootScope)?null:d)?null:ict(a,s),s=d||s,!s)return!0;var m=s.tag;if(s=String(!!d)+\"|\"+a+\"|\"+m,k8[s])return!1;k8[s]=!0;var b=(s=qs)?moe(s.return,m):null,v=s!==null&&b!==null?doe(b,s,null):\"\",S=\"<\"+a+\">\";return d?(d=\"\",m===\"table\"&&a===\"tr\"&&(d+=\" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.\"),console.error(`In HTML, %s cannot be a child of <%s>.%s\\nThis will cause a hydration error.%s`,S,m,d,v)):console.error(`In HTML, %s cannot be a descendant of <%s>.\\nThis will cause a hydration error.%s`,S,m,v),s&&(a=s.return,b===null||a===null||b===a&&a._debugOwner===s._debugOwner||Pe(b,function(){console.error(`<%s> cannot contain a nested %s.\\nSee this log for the ancestor stack trace.`,m,S)})),!1}function hC(a,s,d){if(d||poe(\"#text\",s,!1))return!0;if(d=\"#text|\"+s,k8[d])return!1;k8[d]=!0;var m=(d=qs)?moe(d,s):null;return d=d!==null&&m!==null?doe(m,d,d.tag!==6?{children:null}:null):\"\",/\\\\S/.test(a)?console.error(`In HTML, text nodes cannot be a child of <%s>.\\nThis will cause a hydration error.%s`,s,d):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don\\'t have any extra whitespace between tags on each line of your source code.\\nThis will cause a hydration error.%s`,s,d),!1}function PE(a,s){if(s){var d=a.firstChild;if(d&&d===a.lastChild&&d.nodeType===3){d.nodeValue=s;return}}a.textContent=s}function act(a){return a.replace(mlt,function(s,d){return d.toUpperCase()})}function hoe(a,s,d){var m=s.indexOf(\"--\")===0;m||(-1<s.indexOf(\"-\")?T1.hasOwnProperty(s)&&T1[s]||(T1[s]=!0,console.error(\"Unsupported style property %s. Did you mean %s?\",s,act(s.replace(plt,\"ms-\")))):flt.test(s)?T1.hasOwnProperty(s)&&T1[s]||(T1[s]=!0,console.error(\"Unsupported vendor-prefixed style property %s. Did you mean %s?\",s,s.charAt(0).toUpperCase()+s.slice(1))):!vce.test(d)||cL.hasOwnProperty(d)&&cL[d]||(cL[d]=!0,console.error(`Style property values shouldn\\'t contain a semicolon. Try \"%s: %s\" instead.`,s,d.replace(vce,\"\"))),typeof d==\"number\"&&(isNaN(d)?wce||(wce=!0,console.error(\"`NaN` is an invalid value for the `%s` css style property.\",s)):isFinite(d)||Ece||(Ece=!0,console.error(\"`Infinity` is an invalid value for the `%s` css style property.\",s)))),d==null||typeof d==\"boolean\"||d===\"\"?m?a.setProperty(s,\"\"):s===\"float\"?a.cssFloat=\"\":a[s]=\"\":m?a.setProperty(s,d):typeof d!=\"number\"||d===0||_ce.has(s)?s===\"float\"?a.cssFloat=d:(tn(d,s),a[s]=(\"\"+d).trim()):a[s]=d+\"px\"}function yoe(a,s,d){if(s!=null&&typeof s!=\"object\")throw Error(\"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + \\'em\\'}} when using JSX.\");if(s&&Object.freeze(s),a=a.style,d!=null){if(s){var m={};if(d){for(var b in d)if(d.hasOwnProperty(b)&&!s.hasOwnProperty(b))for(var v=sL[b]||[b],S=0;S<v.length;S++)m[v[S]]=b}for(var I in s)if(s.hasOwnProperty(I)&&(!d||d[I]!==s[I]))for(b=sL[I]||[I],v=0;v<b.length;v++)m[b[v]]=I;I={};for(var z in s)for(b=sL[z]||[z],v=0;v<b.length;v++)I[b[v]]=z;z={};for(var F in m)if(b=m[F],(v=I[F])&&b!==v&&(S=b+\",\"+v,!z[S])){z[S]=!0,S=console;var ae=s[b];S.error.call(S,\"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don\\'t mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.\",ae==null||typeof ae==\"boolean\"||ae===\"\"?\"Removing\":\"Updating\",b,v)}}for(var se in d)!d.hasOwnProperty(se)||s!=null&&s.hasOwnProperty(se)||(se.indexOf(\"--\")===0?a.setProperty(se,\"\"):se===\"float\"?a.cssFloat=\"\":a[se]=\"\");for(var te in s)F=s[te],s.hasOwnProperty(te)&&d[te]!==F&&hoe(a,te,F)}else for(m in s)s.hasOwnProperty(m)&&hoe(a,m,s[m])}function RE(a){if(a.indexOf(\"-\")===-1)return!1;switch(a){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}function boe(a){return hlt.get(a)||a}function sct(a,s){if(Cu.call(P1,s)&&P1[s])return!0;if(blt.test(s)){if(a=\"aria-\"+s.slice(4).toLowerCase(),a=Sce.hasOwnProperty(a)?a:null,a==null)return console.error(\"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.\",s),P1[s]=!0;if(s!==a)return console.error(\"Invalid ARIA attribute `%s`. Did you mean `%s`?\",s,a),P1[s]=!0}if(ylt.test(s)){if(a=s.toLowerCase(),a=Sce.hasOwnProperty(a)?a:null,a==null)return P1[s]=!0,!1;s!==a&&(console.error(\"Unknown ARIA attribute `%s`. Did you mean `%s`?\",s,a),P1[s]=!0)}return!0}function cct(a,s){var d=[],m;for(m in s)sct(a,m)||d.push(m);s=d.map(function(b){return\"`\"+b+\"`\"}).join(\", \"),d.length===1?console.error(\"Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props\",s,a):1<d.length&&console.error(\"Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props\",s,a)}function uct(a,s,d,m){if(Cu.call(fa,s)&&fa[s])return!0;var b=s.toLowerCase();if(b===\"onfocusin\"||b===\"onfocusout\")return console.error(\"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.\"),fa[s]=!0;if(typeof d==\"function\"&&(a===\"form\"&&s===\"action\"||a===\"input\"&&s===\"formAction\"||a===\"button\"&&s===\"formAction\"))return!0;if(m!=null){if(a=m.possibleRegistrationNames,m.registrationNameDependencies.hasOwnProperty(s))return!0;if(m=a.hasOwnProperty(b)?a[b]:null,m!=null)return console.error(\"Invalid event handler property `%s`. Did you mean `%s`?\",s,m),fa[s]=!0;if(kce.test(s))return console.error(\"Unknown event handler property `%s`. It will be ignored.\",s),fa[s]=!0}else if(kce.test(s))return glt.test(s)&&console.error(\"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.\",s),fa[s]=!0;if(xlt.test(s)||vlt.test(s))return!0;if(b===\"innerhtml\")return console.error(\"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`.\"),fa[s]=!0;if(b===\"aria\")return console.error(\"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead.\"),fa[s]=!0;if(b===\"is\"&&d!==null&&d!==void 0&&typeof d!=\"string\")return console.error(\"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.\",typeof d),fa[s]=!0;if(typeof d==\"number\"&&isNaN(d))return console.error(\"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.\",s),fa[s]=!0;if(T8.hasOwnProperty(b)){if(b=T8[b],b!==s)return console.error(\"Invalid DOM property `%s`. Did you mean `%s`?\",s,b),fa[s]=!0}else if(s!==b)return console.error(\"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.\",s,b),fa[s]=!0;switch(s){case\"dangerouslySetInnerHTML\":case\"children\":case\"style\":case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"defaultValue\":case\"defaultChecked\":case\"innerHTML\":case\"ref\":return!0;case\"innerText\":case\"textContent\":return!0}switch(typeof d){case\"boolean\":switch(s){case\"autoFocus\":case\"checked\":case\"multiple\":case\"muted\":case\"selected\":case\"contentEditable\":case\"spellCheck\":case\"draggable\":case\"value\":case\"autoReverse\":case\"externalResourcesRequired\":case\"focusable\":case\"preserveAlpha\":case\"allowFullScreen\":case\"async\":case\"autoPlay\":case\"controls\":case\"default\":case\"defer\":case\"disabled\":case\"disablePictureInPicture\":case\"disableRemotePlayback\":case\"formNoValidate\":case\"hidden\":case\"loop\":case\"noModule\":case\"noValidate\":case\"open\":case\"playsInline\":case\"readOnly\":case\"required\":case\"reversed\":case\"scoped\":case\"seamless\":case\"itemScope\":case\"capture\":case\"download\":case\"inert\":return!0;default:return b=s.toLowerCase().slice(0,5),b===\"data-\"||b===\"aria-\"?!0:(d?console.error(\\'Received `%s` for a non-boolean attribute `%s`.\\\\n\\\\nIf you want to write it to the DOM, pass a string instead: %s=\"%s\" or %s={value.toString()}.\\',d,s,s,d,s):console.error(\\'Received `%s` for a non-boolean attribute `%s`.\\\\n\\\\nIf you want to write it to the DOM, pass a string instead: %s=\"%s\" or %s={value.toString()}.\\\\n\\\\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.\\',d,s,s,d,s,s,s),fa[s]=!0)}case\"function\":case\"symbol\":return fa[s]=!0,!1;case\"string\":if(d===\"false\"||d===\"true\"){switch(s){case\"checked\":case\"selected\":case\"multiple\":case\"muted\":case\"allowFullScreen\":case\"async\":case\"autoPlay\":case\"controls\":case\"default\":case\"defer\":case\"disabled\":case\"disablePictureInPicture\":case\"disableRemotePlayback\":case\"formNoValidate\":case\"hidden\":case\"loop\":case\"noModule\":case\"noValidate\":case\"open\":case\"playsInline\":case\"readOnly\":case\"required\":case\"reversed\":case\"scoped\":case\"seamless\":case\"itemScope\":case\"inert\":break;default:return!0}console.error(\"Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?\",d,s,d===\"false\"?\"The browser will interpret it as a truthy value.\":\\'Although this works, it will not work as expected if you pass the string \"false\".\\',s,d),fa[s]=!0}}return!0}function lct(a,s,d){var m=[],b;for(b in s)uct(a,b,s[b],d)||m.push(b);s=m.map(function(v){return\"`\"+v+\"`\"}).join(\", \"),m.length===1?console.error(\"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior \",s,a):1<m.length&&console.error(\"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior \",s,a)}function OE(a){return wlt.test(\"\"+a)?\"javascript:throw new Error(\\'React has blocked a javascript: URL as a security precaution.\\')\":a}function mf(){}function KU(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}function goe(a){var s=Ze(a);if(s&&(a=s.stateNode)){var d=a[da]||null;e:switch(a=s.stateNode,s.type){case\"input\":if(gl(a,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name),s=d.name,d.type===\"radio\"&&s!=null){for(d=a;d.parentNode;)d=d.parentNode;for(nr(s,\"name\"),d=d.querySelectorAll(\\'input[name=\"\\'+dr(\"\"+s)+\\'\"][type=\"radio\"]\\'),s=0;s<d.length;s++){var m=d[s];if(m!==a&&m.form===a.form){var b=m[da]||null;if(!b)throw Error(\"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.\");gl(m,b.value,b.defaultValue,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name)}}for(s=0;s<d.length;s++)m=d[s],m.form===a.form&&En(m)}break e;case\"textarea\":_l(a,d.value,d.defaultValue);break e;case\"select\":s=d.value,s!=null&&Ja(a,!!d.multiple,s,!1)}}}function xoe(a,s,d){if(uL)return a(s,d);uL=!0;try{var m=a(s);return m}finally{if(uL=!1,(R1!==null||O1!==null)&&(g1(),R1&&(s=R1,a=O1,O1=R1=null,goe(s),a)))for(s=0;s<a.length;s++)goe(a[s])}}function BE(a,s){var d=a.stateNode;if(d===null)return null;var m=d[da]||null;if(m===null)return null;d=m[s];e:switch(s){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(m=!m.disabled)||(a=a.type,m=!(a===\"button\"||a===\"input\"||a===\"select\"||a===\"textarea\")),a=!m;break e;default:a=!1}if(a)return null;if(d&&typeof d!=\"function\")throw Error(\"Expected `\"+s+\"` listener to be a function, instead got a value of `\"+typeof d+\"` type.\");return d}function voe(){if(I8)return I8;var a,s=dL,d=s.length,m,b=\"value\"in ym?ym.value:ym.textContent,v=b.length;for(a=0;a<d&&s[a]===b[a];a++);var S=d-a;for(m=1;m<=S&&s[d-m]===b[v-m];m++);return I8=b.slice(a,1<m?1-m:void 0)}function yC(a){var s=a.keyCode;return\"charCode\"in a?(a=a.charCode,a===0&&s===13&&(a=13)):a=s,a===10&&(a=13),32<=a||a===13?a:0}function bC(){return!0}function woe(){return!1}function Ya(a){function s(d,m,b,v,S){this._reactName=d,this._targetInst=b,this.type=m,this.nativeEvent=v,this.target=S,this.currentTarget=null;for(var I in a)a.hasOwnProperty(I)&&(d=a[I],this[I]=d?d(v):v[I]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?bC:woe,this.isPropagationStopped=woe,this}return Jt(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!=\"unknown\"&&(d.returnValue=!1),this.isDefaultPrevented=bC)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!=\"unknown\"&&(d.cancelBubble=!0),this.isPropagationStopped=bC)},persist:function(){},isPersistent:bC}),s}function dct(a){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(a):(a=Mlt[a])?!!s[a]:!1}function ZU(){return dct}function Eoe(a,s){switch(a){case\"keyup\":return Glt.indexOf(s.keyCode)!==-1;case\"keydown\":return s.keyCode!==Pce;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function _oe(a){return a=a.detail,typeof a==\"object\"&&\"data\"in a?a.data:null}function fct(a,s){switch(a){case\"compositionend\":return _oe(s);case\"keypress\":return s.which!==Oce?null:(Mce=!0,Bce);case\"textInput\":return a=s.data,a===Bce&&Mce?null:a;default:return null}}function pct(a,s){if(B1)return a===\"compositionend\"||!hL&&Eoe(a,s)?(a=voe(),I8=dL=ym=null,B1=!1,a):null;switch(a){case\"paste\":return null;case\"keypress\":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case\"compositionend\":return Rce&&s.locale!==\"ko\"?null:s.data;default:return null}}function Soe(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s===\"input\"?!!Zlt[a.type]:s===\"textarea\"}function mct(a){if(!Jl)return!1;a=\"on\"+a;var s=a in document;return s||(s=document.createElement(\"div\"),s.setAttribute(a,\"return;\"),s=typeof s[a]==\"function\"),s}function Aoe(a,s,d,m){R1?O1?O1.push(m):O1=[m]:R1=m,s=u8(s,\"onChange\"),0<s.length&&(d=new P8(\"onChange\",\"change\",null,d,m),a.push({event:d,listeners:s}))}function hct(a){sse(a,0)}function gC(a){var s=We(a);if(En(s))return a}function koe(a,s){if(a===\"change\")return s}function Coe(){g_&&(g_.detachEvent(\"onpropertychange\",Toe),x_=g_=null)}function Toe(a){if(a.propertyName===\"value\"&&gC(x_)){var s=[];Aoe(s,x_,a,KU(a)),xoe(hct,s)}}function yct(a,s,d){a===\"focusin\"?(Coe(),g_=s,x_=d,g_.attachEvent(\"onpropertychange\",Toe)):a===\"focusout\"&&Coe()}function bct(a){if(a===\"selectionchange\"||a===\"keyup\"||a===\"keydown\")return gC(x_)}function gct(a,s){if(a===\"click\")return gC(s)}function xct(a,s){if(a===\"input\"||a===\"change\")return gC(s)}function vct(a,s){return a===s&&(a!==0||1/a===1/s)||a!==a&&s!==s}function ME(a,s){if(pa(a,s))return!0;if(typeof a!=\"object\"||a===null||typeof s!=\"object\"||s===null)return!1;var d=Object.keys(a),m=Object.keys(s);if(d.length!==m.length)return!1;for(m=0;m<d.length;m++){var b=d[m];if(!Cu.call(s,b)||!pa(a[b],s[b]))return!1}return!0}function Ioe(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function Poe(a,s){var d=Ioe(a);a=0;for(var m;d;){if(d.nodeType===3){if(m=a+d.textContent.length,a<=s&&m>=s)return{node:d,offset:s-a};a=m}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=Ioe(d)}}function Roe(a,s){return a&&s?a===s?!0:a&&a.nodeType===3?!1:s&&s.nodeType===3?Roe(a,s.parentNode):\"contains\"in a?a.contains(s):a.compareDocumentPosition?!!(a.compareDocumentPosition(s)&16):!1:!1}function Ooe(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var s=_u(a.document);s instanceof a.HTMLIFrameElement;){try{var d=typeof s.contentWindow.location.href==\"string\"}catch{d=!1}if(d)a=s.contentWindow;else break;s=_u(a.document)}return s}function WU(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s&&(s===\"input\"&&(a.type===\"text\"||a.type===\"search\"||a.type===\"tel\"||a.type===\"url\"||a.type===\"password\")||s===\"textarea\"||a.contentEditable===\"true\")}function Boe(a,s,d){var m=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;bL||M1==null||M1!==_u(m)||(m=M1,\"selectionStart\"in m&&WU(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),v_&&ME(v_,m)||(v_=m,m=u8(yL,\"onSelect\"),0<m.length&&(s=new P8(\"onSelect\",\"select\",null,s,d),a.push({event:s,listeners:m}),s.target=M1)))}function q0(a,s){var d={};return d[a.toLowerCase()]=s.toLowerCase(),d[\"Webkit\"+a]=\"webkit\"+s,d[\"Moz\"+a]=\"moz\"+s,d}function G0(a){if(gL[a])return gL[a];if(!D1[a])return a;var s=D1[a],d;for(d in s)if(s.hasOwnProperty(d)&&d in Nce)return gL[a]=s[d];return a}function Su(a,s){Hce.set(a,s),Ft(s,[a])}function wct(a){for(var s=O8,d=0;d<a.length;d++){var m=a[d];if(typeof m==\"object\"&&m!==null)if(Go(m)&&m.length===2&&typeof m[0]==\"string\"){if(s!==O8&&s!==_L)return wL;s=_L}else return wL;else{if(typeof m==\"function\"||typeof m==\"string\"&&50<m.length||s!==O8&&s!==EL)return wL;s=EL}}return s}function JU(a,s,d,m){for(var b in a)Cu.call(a,b)&&b[0]!==\"_\"&&Tl(b,a[b],s,d,m)}function Tl(a,s,d,m,b){switch(typeof s){case\"object\":if(s===null){s=\"null\";break}else{if(s.$$typeof===Vl){var v=Q(s.type)||\"\\\\u2026\",S=s.key;s=s.props;var I=Object.keys(s),z=I.length;if(S==null&&z===0){s=\"<\"+v+\" />\";break}if(3>m||z===1&&I[0]===\"children\"&&S==null){s=\"<\"+v+\" \\\\u2026 />\";break}d.push([b+\"\\\\xA0\\\\xA0\".repeat(m)+a,\"<\"+v]),S!==null&&Tl(\"key\",S,d,m+1,b),a=!1;for(var F in s)F===\"children\"?s.children!=null&&(!Go(s.children)||0<s.children.length)&&(a=!0):Cu.call(s,F)&&F[0]!==\"_\"&&Tl(F,s[F],d,m+1,b);d.push([\"\",a?\">\\\\u2026</\"+v+\">\":\"/>\"]);return}if(v=Object.prototype.toString.call(s),v=v.slice(8,v.length-1),v===\"Array\"){if(F=wct(s),F===EL||F===O8){s=JSON.stringify(s);break}else if(F===_L){for(d.push([b+\"\\\\xA0\\\\xA0\".repeat(m)+a,\"\"]),a=0;a<s.length;a++)v=s[a],Tl(v[0],v[1],d,m+1,b);return}}if(v===\"Promise\"){if(s.status===\"fulfilled\"){if(v=d.length,Tl(a,s.value,d,m,b),d.length>v){d=d[v],d[1]=\"Promise<\"+(d[1]||\"Object\")+\">\";return}}else if(s.status===\"rejected\"&&(v=d.length,Tl(a,s.reason,d,m,b),d.length>v)){d=d[v],d[1]=\"Rejected Promise<\"+d[1]+\">\";return}d.push([\"\\\\xA0\\\\xA0\".repeat(m)+a,\"Promise\"]);return}v===\"Object\"&&(F=Object.getPrototypeOf(s))&&typeof F.constructor==\"function\"&&(v=F.constructor.name),d.push([b+\"\\\\xA0\\\\xA0\".repeat(m)+a,v===\"Object\"?3>m?\"\":\"\\\\u2026\":v]),3>m&&JU(s,d,m+1,b);return}case\"function\":s=s.name===\"\"?\"() => {}\":s.name+\"() {}\";break;case\"string\":s=s===tdt?\"\\\\u2026\":JSON.stringify(s);break;case\"undefined\":s=\"undefined\";break;case\"boolean\":s=s?\"true\":\"false\";break;default:s=String(s)}d.push([b+\"\\\\xA0\\\\xA0\".repeat(m)+a,s])}function Moe(a,s,d,m){var b=!0;for(S in a)S in s||(d.push([B8+\"\\\\xA0\\\\xA0\".repeat(m)+S,\"\\\\u2026\"]),b=!1);for(var v in s)if(v in a){var S=a[v],I=s[v];if(S!==I){if(m===0&&v===\"children\")b=\"\\\\xA0\\\\xA0\".repeat(m)+v,d.push([B8+b,\"\\\\u2026\"],[M8+b,\"\\\\u2026\"]);else{if(!(3<=m)){if(typeof S==\"object\"&&typeof I==\"object\"&&S!==null&&I!==null&&S.$$typeof===I.$$typeof)if(I.$$typeof===Vl){if(S.type===I.type&&S.key===I.key){S=Q(I.type)||\"\\\\u2026\",b=\"\\\\xA0\\\\xA0\".repeat(m)+v,S=\"<\"+S+\" \\\\u2026 />\",d.push([B8+b,S],[M8+b,S]),b=!1;continue}}else{var z=Object.prototype.toString.call(S),F=Object.prototype.toString.call(I);if(z===F&&(F===\"[object Object]\"||F===\"[object Array]\")){z=[Vce+\"\\\\xA0\\\\xA0\".repeat(m)+v,F===\"[object Array]\"?\"Array\":\"\"],d.push(z),F=d.length,Moe(S,I,d,m+1)?F===d.length&&(z[1]=\"Referentially unequal but deeply equal objects. Consider memoization.\"):b=!1;continue}}else if(typeof S==\"function\"&&typeof I==\"function\"&&S.name===I.name&&S.length===I.length&&(z=Function.prototype.toString.call(S),F=Function.prototype.toString.call(I),z===F)){S=I.name===\"\"?\"() => {}\":I.name+\"() {}\",d.push([Vce+\"\\\\xA0\\\\xA0\".repeat(m)+v,S+\" Referentially unequal function closure. Consider memoization.\"]);continue}}Tl(v,S,d,m,B8),Tl(v,I,d,m,M8)}b=!1}}else d.push([M8+\"\\\\xA0\\\\xA0\".repeat(m)+v,\"\\\\u2026\"]),b=!1;return b}function Us(a){tr=a&63?\"Blocking\":a&64?\"Gesture\":a&4194176?\"Transition\":a&62914560?\"Suspense\":a&2080374784?\"Idle\":\"Other\"}function Il(a,s,d,m){Pn&&(gm.start=s,gm.end=d,_f.color=\"warning\",_f.tooltipText=m,_f.properties=null,(a=a._debugTask)?a.run(performance.measure.bind(performance,m,gm)):performance.measure(m,gm))}function xC(a,s,d){Il(a,s,d,\"Reconnect\")}function vC(a,s,d,m,b){var v=Y(a);if(v!==null&&Pn){var S=a.alternate,I=a.actualDuration;if(S===null||S.child!==a.child)for(var z=a.child;z!==null;z=z.sibling)I-=z.actualDuration;m=.5>I?m?\"tertiary-light\":\"primary-light\":10>I?m?\"tertiary\":\"primary\":100>I?m?\"tertiary-dark\":\"primary-dark\":\"error\";var F=a.memoizedProps;I=a._debugTask,F!==null&&S!==null&&S.memoizedProps!==F?(z=[rdt],F=Moe(S.memoizedProps,F,z,0),1<z.length&&(F&&!bm&&(S.lanes&b)===0&&100<a.actualDuration?(bm=!0,z[0]=ndt,_f.color=\"warning\",_f.tooltipText=qce):(_f.color=m,_f.tooltipText=v),_f.properties=z,gm.start=s,gm.end=d,I!=null?I.run(performance.measure.bind(performance,\"\\\\u200B\"+v,gm)):performance.measure(\"\\\\u200B\"+v,gm))):I!=null?I.run(console.timeStamp.bind(console,v,s,d,Ec,void 0,m)):console.timeStamp(v,s,d,Ec,void 0,m)}}function QU(a,s,d,m){if(Pn){var b=Y(a);if(b!==null){for(var v=null,S=[],I=0;I<m.length;I++){var z=m[I];v==null&&z.source!==null&&(v=z.source._debugTask),z=z.value,S.push([\"Error\",typeof z==\"object\"&&z!==null&&typeof z.message==\"string\"?String(z.message):String(z)])}a.key!==null&&Tl(\"key\",a.key,S,0,\"\"),a.memoizedProps!==null&&JU(a.memoizedProps,S,0,\"\"),v==null&&(v=a._debugTask),a={start:s,end:d,detail:{devtools:{color:\"error\",track:Ec,tooltipText:a.tag===13?\"Hydration failed\":\"Error boundary caught an error\",properties:S}}},v?v.run(performance.measure.bind(performance,\"\\\\u200B\"+b,a)):performance.measure(\"\\\\u200B\"+b,a)}}}function Pl(a,s,d,m,b){if(b!==null){if(Pn){var v=Y(a);if(v!==null){m=[];for(var S=0;S<b.length;S++){var I=b[S].value;m.push([\"Error\",typeof I==\"object\"&&I!==null&&typeof I.message==\"string\"?String(I.message):String(I)])}a.key!==null&&Tl(\"key\",a.key,m,0,\"\"),a.memoizedProps!==null&&JU(a.memoizedProps,m,0,\"\"),s={start:s,end:d,detail:{devtools:{color:\"error\",track:Ec,tooltipText:\"A lifecycle or effect errored\",properties:m}}},(a=a._debugTask)?a.run(performance.measure.bind(performance,\"\\\\u200B\"+v,s)):performance.measure(\"\\\\u200B\"+v,s)}}}else v=Y(a),v!==null&&Pn&&(b=1>m?\"secondary-light\":100>m?\"secondary\":500>m?\"secondary-dark\":\"error\",(a=a._debugTask)?a.run(console.timeStamp.bind(console,v,s,d,Ec,void 0,b)):console.timeStamp(v,s,d,Ec,void 0,b))}function Ect(a,s,d,m){if(Pn&&!(s<=a)){var b=(d&738197653)===d?\"tertiary-dark\":\"primary-dark\";d=(d&536870912)===d?\"Prepared\":(d&201326741)===d?\"Hydrated\":\"Render\",m?m.run(console.timeStamp.bind(console,d,a,s,tr,Qt,b)):console.timeStamp(d,a,s,tr,Qt,b)}}function Doe(a,s,d,m){!Pn||s<=a||(d=(d&738197653)===d?\"tertiary-dark\":\"primary-dark\",m?m.run(console.timeStamp.bind(console,\"Prewarm\",a,s,tr,Qt,d)):console.timeStamp(\"Prewarm\",a,s,tr,Qt,d))}function Noe(a,s,d,m){!Pn||s<=a||(d=(d&738197653)===d?\"tertiary-dark\":\"primary-dark\",m?m.run(console.timeStamp.bind(console,\"Suspended\",a,s,tr,Qt,d)):console.timeStamp(\"Suspended\",a,s,tr,Qt,d))}function _ct(a,s,d,m,b,v){if(Pn&&!(s<=a)){d=[];for(var S=0;S<m.length;S++){var I=m[S].value;d.push([\"Recoverable Error\",typeof I==\"object\"&&I!==null&&typeof I.message==\"string\"?String(I.message):String(I)])}a={start:a,end:s,detail:{devtools:{color:\"primary-dark\",track:tr,trackGroup:Qt,tooltipText:b?\"Hydration Failed\":\"Recovered after Error\",properties:d}}},v?v.run(performance.measure.bind(performance,\"Recovered\",a)):performance.measure(\"Recovered\",a)}}function YU(a,s,d,m){!Pn||s<=a||(m?m.run(console.timeStamp.bind(console,\"Errored\",a,s,tr,Qt,\"error\")):console.timeStamp(\"Errored\",a,s,tr,Qt,\"error\"))}function Sct(a,s,d,m){!Pn||s<=a||(m?m.run(console.timeStamp.bind(console,d,a,s,tr,Qt,\"secondary-light\")):console.timeStamp(d,a,s,tr,Qt,\"secondary-light\"))}function Uoe(a,s,d,m,b){if(Pn&&!(s<=a)){for(var v=[],S=0;S<d.length;S++){var I=d[S].value;v.push([\"Error\",typeof I==\"object\"&&I!==null&&typeof I.message==\"string\"?String(I.message):String(I)])}a={start:a,end:s,detail:{devtools:{color:\"error\",track:tr,trackGroup:Qt,tooltipText:m?\"Remaining Effects Errored\":\"Commit Errored\",properties:v}}},b?b.run(performance.measure.bind(performance,\"Errored\",a)):performance.measure(\"Errored\",a)}}function DE(a,s,d){!Pn||s<=a||(d?d.run(console.timeStamp.bind(console,\"Animating\",a,s,tr,Qt,\"secondary-dark\")):console.timeStamp(\"Animating\",a,s,tr,Qt,\"secondary-dark\"))}function wC(){for(var a=N1,s=SL=N1=0;s<a;){var d=_c[s];_c[s++]=null;var m=_c[s];_c[s++]=null;var b=_c[s];_c[s++]=null;var v=_c[s];if(_c[s++]=null,m!==null&&b!==null){var S=m.pending;S===null?b.next=b:(b.next=S.next,S.next=b),m.pending=b}v!==0&&$oe(d,b,v)}}function EC(a,s,d,m){_c[N1++]=a,_c[N1++]=s,_c[N1++]=d,_c[N1++]=m,SL|=m,a.lanes|=m,a=a.alternate,a!==null&&(a.lanes|=m)}function XU(a,s,d,m){return EC(a,s,d,m),_C(a)}function Fi(a,s){return EC(a,null,null,s),_C(a)}function $oe(a,s,d){a.lanes|=d;var m=a.alternate;m!==null&&(m.lanes|=d);for(var b=!1,v=a.return;v!==null;)v.childLanes|=d,m=v.alternate,m!==null&&(m.childLanes|=d),v.tag===22&&(a=v.stateNode,a===null||a._visibility&w_||(b=!0)),a=v,v=v.return;return a.tag===3?(v=a.stateNode,b&&s!==null&&(b=31-la(d),a=v.hiddenUpdates,m=a[b],m===null?a[b]=[s]:m.push(s),s.lane=d|536870912),v):null}function _C(a){if(Z_>gdt)throw wy=Z_=0,W_=nH=null,Error(\"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\");wy>xdt&&(wy=0,W_=null,console.error(\"Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn\\'t have a dependency array, or one of the dependencies changes on every render.\")),a.alternate===null&&(a.flags&4098)!==0&&ese(a);for(var s=a,d=s.return;d!==null;)s.alternate===null&&(s.flags&4098)!==0&&ese(a),s=d,d=s.return;return s.tag===3?s.stateNode:null}function K0(a){if(Sc===null)return a;var s=Sc(a);return s===void 0?a:s.current}function e$(a){if(Sc===null)return a;var s=Sc(a);return s===void 0?a!=null&&typeof a.render==\"function\"&&(s=K0(a.render),a.render!==s)?(s={$$typeof:u_,render:s},a.displayName!==void 0&&(s.displayName=a.displayName),s):a:s.current}function zoe(a,s){if(Sc===null)return!1;var d=a.elementType;s=s.type;var m=!1,b=typeof s==\"object\"&&s!==null?s.$$typeof:null;switch(a.tag){case 1:typeof s==\"function\"&&(m=!0);break;case 0:(typeof s==\"function\"||b===Vs)&&(m=!0);break;case 11:(b===u_||b===Vs)&&(m=!0);break;case 14:case 15:(b===v8||b===Vs)&&(m=!0);break;default:return!1}return!!(m&&(a=Sc(d),a!==void 0&&a===Sc(s)))}function Loe(a){Sc!==null&&typeof WeakSet==\"function\"&&(U1===null&&(U1=new WeakSet),U1.add(a))}function Hoe(a,s,d){do{var m=a,b=m.alternate,v=m.child,S=m.sibling,I=m.tag;m=m.type;var z=null;switch(I){case 0:case 15:case 1:z=m;break;case 11:z=m.render}if(Sc===null)throw Error(\"Expected resolveFamily to be set during hot reload.\");var F=!1;if(m=!1,z!==null&&(z=Sc(z),z!==void 0&&(d.has(z)?m=!0:s.has(z)&&(I===1?m=!0:F=!0))),U1!==null&&(U1.has(a)||b!==null&&U1.has(b))&&(m=!0),m&&(a._debugNeedsRemount=!0),(m||F)&&(b=Fi(a,2),b!==null&&Yn(b,a,2)),v===null||m||Hoe(v,s,d),S===null)break;a=S}while(!0)}function Act(a,s,d,m){this.tag=a,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Gce||typeof Object.preventExtensions!=\"function\"||Object.preventExtensions(this)}function t$(a){return a=a.prototype,!(!a||!a.isReactComponent)}function hf(a,s){var d=a.alternate;switch(d===null?(d=w(a.tag,s,a.key,a.mode),d.elementType=a.elementType,d.type=a.type,d.stateNode=a.stateNode,d._debugOwner=a._debugOwner,d._debugStack=a._debugStack,d._debugTask=a._debugTask,d._debugHookTypes=a._debugHookTypes,d.alternate=a,a.alternate=d):(d.pendingProps=s,d.type=a.type,d.flags=0,d.subtreeFlags=0,d.deletions=null,d.actualDuration=-0,d.actualStartTime=-1.1),d.flags=a.flags&65011712,d.childLanes=a.childLanes,d.lanes=a.lanes,d.child=a.child,d.memoizedProps=a.memoizedProps,d.memoizedState=a.memoizedState,d.updateQueue=a.updateQueue,s=a.dependencies,d.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext,_debugThenableState:s._debugThenableState},d.sibling=a.sibling,d.index=a.index,d.ref=a.ref,d.refCleanup=a.refCleanup,d.selfBaseDuration=a.selfBaseDuration,d.treeBaseDuration=a.treeBaseDuration,d._debugInfo=a._debugInfo,d._debugNeedsRemount=a._debugNeedsRemount,d.tag){case 0:case 15:d.type=K0(a.type);break;case 1:d.type=K0(a.type);break;case 11:d.type=e$(a.type)}return d}function joe(a,s){a.flags&=65011714;var d=a.alternate;return d===null?(a.childLanes=0,a.lanes=s,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null,a.selfBaseDuration=0,a.treeBaseDuration=0):(a.childLanes=d.childLanes,a.lanes=d.lanes,a.child=d.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=d.memoizedProps,a.memoizedState=d.memoizedState,a.updateQueue=d.updateQueue,a.type=d.type,s=d.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext,_debugThenableState:s._debugThenableState},a.selfBaseDuration=d.selfBaseDuration,a.treeBaseDuration=d.treeBaseDuration),a}function r$(a,s,d,m,b,v){var S=0,I=a;if(typeof a==\"function\")t$(a)&&(S=1),I=K0(I);else if(typeof a==\"string\")S=B(),S=Mut(a,d,S)?26:a===\"html\"||a===\"head\"||a===\"body\"?27:5;else e:switch(a){case Wz:return s=w(31,d,s,b),s.elementType=Wz,s.lanes=v,s;case A1:return Z0(d.children,b,v,s);case x8:S=8,b|=qi,b|=Iu;break;case qz:return a=d,m=b,typeof a.id!=\"string\"&&console.error(\\'Profiler must specify an \"id\" of type `string` as a prop. Received the type `%s` instead.\\',typeof a.id),s=w(12,a,s,m|Ut),s.elementType=qz,s.lanes=v,s.stateNode={effectDuration:0,passiveEffectDuration:0},s;case Kz:return s=w(13,d,s,b),s.elementType=Kz,s.lanes=v,s;case Zz:return s=w(19,d,s,b),s.elementType=Zz,s.lanes=v,s;default:if(typeof a==\"object\"&&a!==null)switch(a.$$typeof){case ql:S=10;break e;case Gz:S=9;break e;case u_:S=11,I=e$(I);break e;case v8:S=14;break e;case Vs:S=16,I=null;break e}I=\"\",(a===void 0||typeof a==\"object\"&&a!==null&&Object.keys(a).length===0)&&(I+=\" You likely forgot to export your component from the file it\\'s defined in, or you might have mixed up default and named imports.\"),a===null?d=\"null\":Go(a)?d=\"array\":a!==void 0&&a.$$typeof===Vl?(d=\"<\"+(Q(a.type)||\"Unknown\")+\" />\",I=\" Did you accidentally export a JSX literal instead of a component?\"):d=typeof a,(S=m?X(m):null)&&(I+=`\\n\\nCheck the render method of \\\\``+S+\"`.\"),S=29,d=Error(\"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \"+(d+\".\"+I)),I=null}return s=w(S,d,s,b),s.elementType=a,s.type=I,s.lanes=v,s._debugOwner=m,s}function SC(a,s,d){return s=r$(a.type,a.key,a.props,a._owner,s,d),s._debugOwner=a._owner,s._debugStack=a._debugStack,s._debugTask=a._debugTask,s}function Z0(a,s,d,m){return a=w(7,a,m,s),a.lanes=d,a}function n$(a,s,d){return a=w(6,a,null,s),a.lanes=d,a}function Foe(a){var s=w(18,null,null,mt);return s.stateNode=a,s}function o$(a,s,d){return s=w(4,a.children!==null?a.children:[],a.key,s),s.lanes=d,s.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},s}function $s(a,s){if(typeof a==\"object\"&&a!==null){var d=AL.get(a);return d!==void 0?d:(s={value:a,source:s,stack:Ie(s)},AL.set(a,s),s)}return{value:a,source:s,stack:Ie(s)}}function yf(a,s){em(),$1[z1++]=E_,$1[z1++]=D8,D8=a,E_=s}function Voe(a,s,d){em(),Ac[kc++]=Af,Ac[kc++]=kf,Ac[kc++]=sy,sy=a;var m=Af;a=kf;var b=32-la(m)-1;m&=~(1<<b),d+=1;var v=32-la(s)+b;if(30<v){var S=b-b%5;v=(m&(1<<S)-1).toString(32),m>>=S,b-=S,Af=1<<32-la(s)+b|d<<b|m,kf=v+a}else Af=1<<v|d<<b|m,kf=a}function i$(a){em(),a.return!==null&&(yf(a,1),Voe(a,1,0))}function a$(a){for(;a===D8;)D8=$1[--z1],$1[z1]=null,E_=$1[--z1],$1[z1]=null;for(;a===sy;)sy=Ac[--kc],Ac[kc]=null,kf=Ac[--kc],Ac[kc]=null,Af=Ac[--kc],Ac[kc]=null}function qoe(){return em(),sy!==null?{id:Af,overflow:kf}:null}function Goe(a,s){em(),Ac[kc++]=Af,Ac[kc++]=kf,Ac[kc++]=sy,Af=s.id,kf=s.overflow,sy=a}function em(){or||console.error(\"Expected to be hydrating. This is a bug in React. Please file an issue.\")}function W0(a,s){if(a.return===null){if(Ks===null)Ks={fiber:a,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:s};else{if(Ks.fiber!==a)throw Error(\"Saw multiple hydration diff roots in a pass. This is a bug in React.\");Ks.distanceFromLeaf>s&&(Ks.distanceFromLeaf=s)}return Ks}var d=W0(a.return,s+1).children;return 0<d.length&&d[d.length-1].fiber===a?(d=d[d.length-1],d.distanceFromLeaf>s&&(d.distanceFromLeaf=s),d):(s={fiber:a,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:s},d.push(s),s)}function Koe(){or&&console.error(\"We should not be hydrating here. This is a bug in React. Please file a bug.\")}function AC(a,s){Ql||(a=W0(a,0),a.serverProps=null,s!==null&&(s=Ase(s),a.serverTail.push(s)))}function tm(a){var s=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,d=\"\",m=Ks;throw m!==null&&(Ks=null,d=qU(m)),NE($s(Error(\"Hydration failed because the server rendered \"+(s?\"text\":\"HTML\")+` didn\\'t match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\\n\\n- A server/client branch \\\\`if (typeof window !== \\'undefined\\')\\\\`.\\n- Variable input such as \\\\`Date.now()\\\\` or \\\\`Math.random()\\\\` which changes each time it\\'s called.\\n- Date formatting in a user\\'s locale which doesn\\'t match the server.\\n- External changing data without sending a snapshot of it along with the HTML.\\n- Invalid HTML tag nesting.\\n\\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\\n\\nhttps://react.dev/link/hydration-mismatch`+d),a)),kL}function Zoe(a){var s=a.stateNode,d=a.type,m=a.memoizedProps;switch(s[Ei]=a,s[da]=m,kz(d,m),d){case\"dialog\":fr(\"cancel\",s),fr(\"close\",s);break;case\"iframe\":case\"object\":case\"embed\":fr(\"load\",s);break;case\"video\":case\"audio\":for(d=0;d<J_.length;d++)fr(J_[d],s);break;case\"source\":fr(\"error\",s);break;case\"img\":case\"image\":case\"link\":fr(\"error\",s),fr(\"load\",s);break;case\"details\":fr(\"toggle\",s);break;case\"input\":Er(\"input\",m),fr(\"invalid\",s),_n(s,m),Sn(s,m.value,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name,!0);break;case\"option\":xl(s,m);break;case\"select\":Er(\"select\",m),fr(\"invalid\",s),wl(s,m);break;case\"textarea\":Er(\"textarea\",m),fr(\"invalid\",s),El(s,m),Sl(s,m.value,m.defaultValue,m.children)}d=m.children,typeof d!=\"string\"&&typeof d!=\"number\"&&typeof d!=\"bigint\"||s.textContent===\"\"+d||m.suppressHydrationWarning===!0||dse(s.textContent,d)?(m.popover!=null&&(fr(\"beforetoggle\",s),fr(\"toggle\",s)),m.onScroll!=null&&fr(\"scroll\",s),m.onScrollEnd!=null&&fr(\"scrollend\",s),m.onClick!=null&&(s.onclick=mf),s=!0):s=!1,s||tm(a,!0)}function Woe(a){for(_i=a.return;_i;)switch(_i.tag){case 5:case 31:case 13:Cc=!1;return;case 27:case 3:Cc=!0;return;default:_i=_i.return}}function u1(a){if(a!==_i)return!1;if(!or)return Woe(a),or=!0,!1;var s=a.tag,d;if((d=s!==3&&s!==27)&&((d=s===5)&&(d=a.type,d=!(d!==\"form\"&&d!==\"button\")||Rz(a.type,a.memoizedProps)),d=!d),d&&Rn){for(d=Rn;d;){var m=W0(a,0),b=Ase(d);m.serverTail.push(b),d=b.type===\"Suspense\"?Dz(d):Fs(d.nextSibling)}tm(a)}if(Woe(a),s===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(\"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\");Rn=Dz(a)}else if(s===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(\"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\");Rn=Dz(a)}else s===27?(s=Rn,dm(a.type)?(a=hH,hH=null,Rn=a):Rn=s):Rn=_i?Fs(a.stateNode.nextSibling):null;return!0}function J0(){Rn=_i=null,Ql=or=!1}function s$(){var a=vm;return a!==null&&(ba===null?ba=a:ba.push.apply(ba,a),vm=null),a}function NE(a){vm===null?vm=[a]:vm.push(a)}function c$(){var a=Ks;if(a!==null){Ks=null;for(var s=qU(a);0<a.children.length;)a=a.children[0];Pe(a.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn\\'t match the client properties. This won\\'t be patched up. This can happen if a SSR-ed Client Component used:\\n\\n- A server/client branch \\\\`if (typeof window !== \\'undefined\\')\\\\`.\\n- Variable input such as \\\\`Date.now()\\\\` or \\\\`Math.random()\\\\` which changes each time it\\'s called.\\n- Date formatting in a user\\'s locale which doesn\\'t match the server.\\n- External changing data without sending a snapshot of it along with the HTML.\\n- Invalid HTML tag nesting.\\n\\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\\n\\n%s%s`,\"https://react.dev/link/hydration-mismatch\",s)})}}function kC(){L1=N8=null,H1=!1}function rm(a,s,d){N(CL,s._currentValue,a),s._currentValue=d,N(TL,s._currentRenderer,a),s._currentRenderer!==void 0&&s._currentRenderer!==null&&s._currentRenderer!==Zce&&console.error(\"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.\"),s._currentRenderer=Zce}function bf(a,s){a._currentValue=CL.current;var d=TL.current;ce(TL,s),a._currentRenderer=d,ce(CL,s)}function u$(a,s,d){for(;a!==null;){var m=a.alternate;if((a.childLanes&s)!==s?(a.childLanes|=s,m!==null&&(m.childLanes|=s)):m!==null&&(m.childLanes&s)!==s&&(m.childLanes|=s),a===d)break;a=a.return}a!==d&&console.error(\"Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.\")}function l$(a,s,d,m){var b=a.child;for(b!==null&&(b.return=a);b!==null;){var v=b.dependencies;if(v!==null){var S=b.child;v=v.firstContext;e:for(;v!==null;){var I=v;v=b;for(var z=0;z<s.length;z++)if(I.context===s[z]){v.lanes|=d,I=v.alternate,I!==null&&(I.lanes|=d),u$(v.return,d,a),m||(S=null);break e}v=I.next}}else if(b.tag===18){if(S=b.return,S===null)throw Error(\"We just came from a parent so we must have had a parent. This is a bug in React.\");S.lanes|=d,v=S.alternate,v!==null&&(v.lanes|=d),u$(S,d,a),S=null}else S=b.child;if(S!==null)S.return=b;else for(S=b;S!==null;){if(S===a){S=null;break}if(b=S.sibling,b!==null){b.return=S.return,S=b;break}S=S.return}b=S}}function l1(a,s,d,m){a=null;for(var b=s,v=!1;b!==null;){if(!v){if((b.flags&524288)!==0)v=!0;else if((b.flags&262144)!==0)break}if(b.tag===10){var S=b.alternate;if(S===null)throw Error(\"Should have a current fiber. This is a bug in React.\");if(S=S.memoizedProps,S!==null){var I=b.type;pa(b.pendingProps.value,S.value)||(a!==null?a.push(I):a=[I])}}else if(b===w8.current){if(S=b.alternate,S===null)throw Error(\"Should have a current fiber. This is a bug in React.\");S.memoizedState.memoizedState!==b.memoizedState.memoizedState&&(a!==null?a.push(tS):a=[tS])}b=b.return}a!==null&&l$(s,a,d,m),s.flags|=262144}function CC(a){for(a=a.firstContext;a!==null;){if(!pa(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Q0(a){N8=a,L1=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Un(a){return H1&&console.error(\"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"),Joe(N8,a)}function TC(a,s){return N8===null&&Q0(a),Joe(a,s)}function Joe(a,s){var d=s._currentValue;if(s={context:s,memoizedValue:d,next:null},L1===null){if(a===null)throw Error(\"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\");L1=s,a.dependencies={lanes:0,firstContext:s,_debugThenableState:null},a.flags|=524288}else L1=L1.next=s;return d}function d$(){return{controller:new adt,data:new Map,refCount:0}}function Y0(a){a.controller.signal.aborted&&console.warn(\"A cache instance was retained after it was already freed. This likely indicates a bug in React.\"),a.refCount++}function UE(a){a.refCount--,0>a.refCount&&console.warn(\"A cache instance was released after it was already freed. This likely indicates a bug in React.\"),a.refCount===0&&sdt(cdt,function(){a.controller.abort()})}function Rl(a,s,d){(a&127)!==0?0>Yl&&(Yl=Po(),S_=U8(s),IL=s,d!=null&&(PL=Y(d)),(yr&(Zo|Js))!==ai&&(Xn=!0,_m=__),a=o_(),s=n_(),a!==j1||s!==A_?j1=-1.1:s!==null&&(_m=__),uy=a,A_=s):(a&4194048)!==0&&0>Tc&&(Tc=Po(),k_=U8(s),Wce=s,d!=null&&(Jce=Y(d)),0>If)&&(a=o_(),s=n_(),(a!==Am||s!==ly)&&(Am=-1.1),Sm=a,ly=s)}function kct(a){if(0>Yl){Yl=Po(),S_=a._debugTask!=null?a._debugTask:null,(yr&(Zo|Js))!==ai&&(_m=__);var s=o_(),d=n_();s!==j1||d!==A_?j1=-1.1:d!==null&&(_m=__),uy=s,A_=d}0>Tc&&(Tc=Po(),k_=a._debugTask!=null?a._debugTask:null,0>If)&&(a=o_(),s=n_(),(a!==Am||s!==ly)&&(Am=-1.1),Sm=a,ly=s)}function gf(){var a=cy;return cy=0,a}function IC(a){var s=cy;return cy=a,s}function $E(a){var s=cy;return cy+=a,s}function PC(){dt=ct=-1.1}function zs(){var a=ct;return ct=-1.1,a}function Ls(a){0<=a&&(ct=a)}function Ol(){var a=Vn;return Vn=-0,a}function Bl(a){0<=a&&(Vn=a)}function Ml(){var a=$n;return $n=null,a}function Dl(){var a=Xn;return Xn=!1,a}function f$(a){ma=Po(),0>a.actualStartTime&&(a.actualStartTime=ma)}function p$(a){if(0<=ma){var s=Po()-ma;a.actualDuration+=s,a.selfBaseDuration=s,ma=-1}}function Qoe(a){if(0<=ma){var s=Po()-ma;a.actualDuration+=s,ma=-1}}function Nl(){if(0<=ma){var a=Po(),s=a-ma;ma=-1,cy+=s,Vn+=s,dt=a}}function Yoe(a){$n===null&&($n=[]),$n.push(a),Tf===null&&(Tf=[]),Tf.push(a)}function Ul(){ma=Po(),0>ct&&(ct=ma)}function zE(a){for(var s=a.child;s;)a.actualDuration+=s.actualDuration,s=s.sibling}function Cct(a,s){if(T_===null){var d=T_=[];OL=0,dy=Ez(),F1={status:\"pending\",value:void 0,then:function(m){d.push(m)}}}return OL++,s.then(Xoe,Xoe),s}function Xoe(){if(--OL===0&&(-1<Tc||(If=-1.1),T_!==null)){F1!==null&&(F1.status=\"fulfilled\");var a=T_;T_=null,dy=0,F1=null;for(var s=0;s<a.length;s++)(0,a[s])()}}function Tct(a,s){var d=[],m={status:\"pending\",value:null,reason:null,then:function(b){d.push(b)}};return a.then(function(){m.status=\"fulfilled\",m.value=s;for(var b=0;b<d.length;b++)(0,d[b])(s)},function(b){for(m.status=\"rejected\",m.reason=b,b=0;b<d.length;b++)(0,d[b])(void 0)}),m}function m$(){var a=fy.current;return a!==null?a:hn.pooledCache}function RC(a,s){s===null?N(fy,fy.current,a):N(fy,s.pool,a)}function eie(){var a=m$();return a===null?null:{parent:Io._currentValue,pool:a}}function tie(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function rie(a){return a=a.status,a===\"fulfilled\"||a===\"rejected\"}function nie(a,s,d){ge.actQueue!==null&&(ge.didUsePromise=!0);var m=a.thenables;if(d=m[d],d===void 0?m.push(s):d!==s&&(a.didWarnAboutUncachedPromise||(a.didWarnAboutUncachedPromise=!0,console.error(\"A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.\")),s.then(mf,mf),s=d),s._debugInfo===void 0){a=performance.now(),m=s.displayName;var b={name:typeof m==\"string\"?m:\"Promise\",start:a,end:a,value:s};s._debugInfo=[{awaited:b}],s.status!==\"fulfilled\"&&s.status!==\"rejected\"&&(a=function(){b.end=performance.now()},s.then(a,a))}switch(s.status){case\"fulfilled\":return s.value;case\"rejected\":throw a=s.reason,iie(a),a;default:if(typeof s.status==\"string\")s.then(mf,mf);else{if(a=hn,a!==null&&100<a.shellSuspendCounter)throw Error(\"An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `\\'use client\\'` to a module that was originally written for the server.\");a=s,a.status=\"pending\",a.then(function(v){if(s.status===\"pending\"){var S=s;S.status=\"fulfilled\",S.value=v}},function(v){if(s.status===\"pending\"){var S=s;S.status=\"rejected\",S.reason=v}})}switch(s.status){case\"fulfilled\":return s.value;case\"rejected\":throw a=s.reason,iie(a),a}throw my=s,D_=!0,V1}}function nm(a){try{return fdt(a)}catch(s){throw s!==null&&typeof s==\"object\"&&typeof s.then==\"function\"?(my=s,D_=!0,V1):s}}function oie(){if(my===null)throw Error(\"Expected a suspended thenable. This is a bug in React. Please file an issue.\");var a=my;return my=null,D_=!1,a}function iie(a){if(a===V1||a===q8)throw Error(\"Hooks are not supported inside an async component. This error is often caused by accidentally adding `\\'use client\\'` to a module that was originally written for the server.\")}function xi(a){var s=$t;return a!=null&&($t=s===null?a:s.concat(a)),s}function h$(){var a=$t;if(a!=null){for(var s=a.length-1;0<=s;s--)if(a[s].name!=null){var d=a[s].debugTask;if(d!=null)return d}}return null}function OC(a,s,d){for(var m=Object.keys(a.props),b=0;b<m.length;b++){var v=m[b];if(v!==\"children\"&&v!==\"key\"){s===null&&(s=SC(a,d.mode,0),s._debugInfo=$t,s.return=d),Pe(s,function(S){console.error(\"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.\",S)},v);break}}}function BC(a){var s=N_;return N_+=1,q1===null&&(q1=tie()),nie(q1,a,s)}function LE(a,s){s=s.props.ref,a.ref=s!==void 0?s:null}function aie(a,s){throw s.$$typeof===qut?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:\\n- Multiple copies of the \"react\" package is used.\\n- A library pre-bundled an old copy of \"react\" or \"react/jsx-runtime\".\\n- A compiler tries to \"inline\" JSX instead of using the runtime.`):(a=Object.prototype.toString.call(s),Error(\"Objects are not valid as a React child (found: \"+(a===\"[object Object]\"?\"object with keys {\"+Object.keys(s).join(\", \")+\"}\":a)+\"). If you meant to render a collection of children, use an array instead.\"))}function MC(a,s){var d=h$();d!==null?d.run(aie.bind(null,a,s)):aie(a,s)}function sie(a,s){var d=Y(a)||\"Component\";yue[d]||(yue[d]=!0,s=s.displayName||s.name||\"Component\",a.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\\n  root.render(%s)`,s,s,s):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\\n  <%s>{%s}</%s>`,s,s,d,s,d))}function DC(a,s){var d=h$();d!==null?d.run(sie.bind(null,a,s)):sie(a,s)}function cie(a,s){var d=Y(a)||\"Component\";bue[d]||(bue[d]=!0,s=String(s),a.tag===3?console.error(`Symbols are not valid as a React child.\\n  root.render(%s)`,s):console.error(`Symbols are not valid as a React child.\\n  <%s>%s</%s>`,d,s,d))}function NC(a,s){var d=h$();d!==null?d.run(cie.bind(null,a,s)):cie(a,s)}function uie(a){function s(ee,ne){if(a){var ie=ee.deletions;ie===null?(ee.deletions=[ne],ee.flags|=16):ie.push(ne)}}function d(ee,ne){if(!a)return null;for(;ne!==null;)s(ee,ne),ne=ne.sibling;return null}function m(ee){for(var ne=new Map;ee!==null;)ee.key!==null?ne.set(ee.key,ee):ne.set(ee.index,ee),ee=ee.sibling;return ne}function b(ee,ne){return ee=hf(ee,ne),ee.index=0,ee.sibling=null,ee}function v(ee,ne,ie){return ee.index=ie,a?(ie=ee.alternate,ie!==null?(ie=ie.index,ie<ne?(ee.flags|=67108866,ne):ie):(ee.flags|=67108866,ne)):(ee.flags|=1048576,ne)}function S(ee){return a&&ee.alternate===null&&(ee.flags|=67108866),ee}function I(ee,ne,ie,ve){return ne===null||ne.tag!==6?(ne=n$(ie,ee.mode,ve),ne.return=ee,ne._debugOwner=ee,ne._debugTask=ee._debugTask,ne._debugInfo=$t,ne):(ne=b(ne,ie),ne.return=ee,ne._debugInfo=$t,ne)}function z(ee,ne,ie,ve){var Fe=ie.type;return Fe===A1?(ne=ae(ee,ne,ie.props.children,ve,ie.key),OC(ie,ne,ee),ne):ne!==null&&(ne.elementType===Fe||zoe(ne,ie)||typeof Fe==\"object\"&&Fe!==null&&Fe.$$typeof===Vs&&nm(Fe)===ne.type)?(ne=b(ne,ie.props),LE(ne,ie),ne.return=ee,ne._debugOwner=ie._owner,ne._debugInfo=$t,ne):(ne=SC(ie,ee.mode,ve),LE(ne,ie),ne.return=ee,ne._debugInfo=$t,ne)}function F(ee,ne,ie,ve){return ne===null||ne.tag!==4||ne.stateNode.containerInfo!==ie.containerInfo||ne.stateNode.implementation!==ie.implementation?(ne=o$(ie,ee.mode,ve),ne.return=ee,ne._debugInfo=$t,ne):(ne=b(ne,ie.children||[]),ne.return=ee,ne._debugInfo=$t,ne)}function ae(ee,ne,ie,ve,Fe){return ne===null||ne.tag!==7?(ne=Z0(ie,ee.mode,ve,Fe),ne.return=ee,ne._debugOwner=ee,ne._debugTask=ee._debugTask,ne._debugInfo=$t,ne):(ne=b(ne,ie),ne.return=ee,ne._debugInfo=$t,ne)}function se(ee,ne,ie){if(typeof ne==\"string\"&&ne!==\"\"||typeof ne==\"number\"||typeof ne==\"bigint\")return ne=n$(\"\"+ne,ee.mode,ie),ne.return=ee,ne._debugOwner=ee,ne._debugTask=ee._debugTask,ne._debugInfo=$t,ne;if(typeof ne==\"object\"&&ne!==null){switch(ne.$$typeof){case Vl:return ie=SC(ne,ee.mode,ie),LE(ie,ne),ie.return=ee,ee=xi(ne._debugInfo),ie._debugInfo=$t,$t=ee,ie;case S1:return ne=o$(ne,ee.mode,ie),ne.return=ee,ne._debugInfo=$t,ne;case Vs:var ve=xi(ne._debugInfo);return ne=nm(ne),ee=se(ee,ne,ie),$t=ve,ee}if(Go(ne)||K(ne))return ie=Z0(ne,ee.mode,ie,null),ie.return=ee,ie._debugOwner=ee,ie._debugTask=ee._debugTask,ee=xi(ne._debugInfo),ie._debugInfo=$t,$t=ee,ie;if(typeof ne.then==\"function\")return ve=xi(ne._debugInfo),ee=se(ee,BC(ne),ie),$t=ve,ee;if(ne.$$typeof===ql)return se(ee,TC(ee,ne),ie);MC(ee,ne)}return typeof ne==\"function\"&&DC(ee,ne),typeof ne==\"symbol\"&&NC(ee,ne),null}function te(ee,ne,ie,ve){var Fe=ne!==null?ne.key:null;if(typeof ie==\"string\"&&ie!==\"\"||typeof ie==\"number\"||typeof ie==\"bigint\")return Fe!==null?null:I(ee,ne,\"\"+ie,ve);if(typeof ie==\"object\"&&ie!==null){switch(ie.$$typeof){case Vl:return ie.key===Fe?(Fe=xi(ie._debugInfo),ee=z(ee,ne,ie,ve),$t=Fe,ee):null;case S1:return ie.key===Fe?F(ee,ne,ie,ve):null;case Vs:return Fe=xi(ie._debugInfo),ie=nm(ie),ee=te(ee,ne,ie,ve),$t=Fe,ee}if(Go(ie)||K(ie))return Fe!==null?null:(Fe=xi(ie._debugInfo),ee=ae(ee,ne,ie,ve,null),$t=Fe,ee);if(typeof ie.then==\"function\")return Fe=xi(ie._debugInfo),ee=te(ee,ne,BC(ie),ve),$t=Fe,ee;if(ie.$$typeof===ql)return te(ee,ne,TC(ee,ie),ve);MC(ee,ie)}return typeof ie==\"function\"&&DC(ee,ie),typeof ie==\"symbol\"&&NC(ee,ie),null}function he(ee,ne,ie,ve,Fe){if(typeof ve==\"string\"&&ve!==\"\"||typeof ve==\"number\"||typeof ve==\"bigint\")return ee=ee.get(ie)||null,I(ne,ee,\"\"+ve,Fe);if(typeof ve==\"object\"&&ve!==null){switch(ve.$$typeof){case Vl:return ie=ee.get(ve.key===null?ie:ve.key)||null,ee=xi(ve._debugInfo),ne=z(ne,ie,ve,Fe),$t=ee,ne;case S1:return ee=ee.get(ve.key===null?ie:ve.key)||null,F(ne,ee,ve,Fe);case Vs:var xt=xi(ve._debugInfo);return ve=nm(ve),ne=he(ee,ne,ie,ve,Fe),$t=xt,ne}if(Go(ve)||K(ve))return ie=ee.get(ie)||null,ee=xi(ve._debugInfo),ne=ae(ne,ie,ve,Fe,null),$t=ee,ne;if(typeof ve.then==\"function\")return xt=xi(ve._debugInfo),ne=he(ee,ne,ie,BC(ve),Fe),$t=xt,ne;if(ve.$$typeof===ql)return he(ee,ne,ie,TC(ne,ve),Fe);MC(ne,ve)}return typeof ve==\"function\"&&DC(ne,ve),typeof ve==\"symbol\"&&NC(ne,ve),null}function $e(ee,ne,ie,ve){if(typeof ie!=\"object\"||ie===null)return ve;switch(ie.$$typeof){case Vl:case S1:h(ee,ne,ie);var Fe=ie.key;if(typeof Fe!=\"string\")break;if(ve===null){ve=new Set,ve.add(Fe);break}if(!ve.has(Fe)){ve.add(Fe);break}Pe(ne,function(){console.error(\"Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \\\\u2014 the behavior is unsupported and could change in a future version.\",Fe)});break;case Vs:ie=nm(ie),$e(ee,ne,ie,ve)}return ve}function qe(ee,ne,ie,ve){for(var Fe=null,xt=null,st=null,nt=ne,Bt=ne=0,On=null;nt!==null&&Bt<ie.length;Bt++){nt.index>Bt?(On=nt,nt=null):On=nt.sibling;var wo=te(ee,nt,ie[Bt],ve);if(wo===null){nt===null&&(nt=On);break}Fe=$e(ee,wo,ie[Bt],Fe),a&&nt&&wo.alternate===null&&s(ee,nt),ne=v(wo,ne,Bt),st===null?xt=wo:st.sibling=wo,st=wo,nt=On}if(Bt===ie.length)return d(ee,nt),or&&yf(ee,Bt),xt;if(nt===null){for(;Bt<ie.length;Bt++)nt=se(ee,ie[Bt],ve),nt!==null&&(Fe=$e(ee,nt,ie[Bt],Fe),ne=v(nt,ne,Bt),st===null?xt=nt:st.sibling=nt,st=nt);return or&&yf(ee,Bt),xt}for(nt=m(nt);Bt<ie.length;Bt++)On=he(nt,ee,Bt,ie[Bt],ve),On!==null&&(Fe=$e(ee,On,ie[Bt],Fe),a&&On.alternate!==null&&nt.delete(On.key===null?Bt:On.key),ne=v(On,ne,Bt),st===null?xt=On:st.sibling=On,st=On);return a&&nt.forEach(function($f){return s(ee,$f)}),or&&yf(ee,Bt),xt}function kn(ee,ne,ie,ve){if(ie==null)throw Error(\"An iterable object provided no iterator.\");for(var Fe=null,xt=null,st=ne,nt=ne=0,Bt=null,On=null,wo=ie.next();st!==null&&!wo.done;nt++,wo=ie.next()){st.index>nt?(Bt=st,st=null):Bt=st.sibling;var $f=te(ee,st,wo.value,ve);if($f===null){st===null&&(st=Bt);break}On=$e(ee,$f,wo.value,On),a&&st&&$f.alternate===null&&s(ee,st),ne=v($f,ne,nt),xt===null?Fe=$f:xt.sibling=$f,xt=$f,st=Bt}if(wo.done)return d(ee,st),or&&yf(ee,nt),Fe;if(st===null){for(;!wo.done;nt++,wo=ie.next())st=se(ee,wo.value,ve),st!==null&&(On=$e(ee,st,wo.value,On),ne=v(st,ne,nt),xt===null?Fe=st:xt.sibling=st,xt=st);return or&&yf(ee,nt),Fe}for(st=m(st);!wo.done;nt++,wo=ie.next())Bt=he(st,ee,nt,wo.value,ve),Bt!==null&&(On=$e(ee,Bt,wo.value,On),a&&Bt.alternate!==null&&st.delete(Bt.key===null?nt:Bt.key),ne=v(Bt,ne,nt),xt===null?Fe=Bt:xt.sibling=Bt,xt=Bt);return a&&st.forEach(function(Ndt){return s(ee,Ndt)}),or&&yf(ee,nt),Fe}function pr(ee,ne,ie,ve){if(typeof ie==\"object\"&&ie!==null&&ie.type===A1&&ie.key===null&&(OC(ie,null,ee),ie=ie.props.children),typeof ie==\"object\"&&ie!==null){switch(ie.$$typeof){case Vl:var Fe=xi(ie._debugInfo);e:{for(var xt=ie.key;ne!==null;){if(ne.key===xt){if(xt=ie.type,xt===A1){if(ne.tag===7){d(ee,ne.sibling),ve=b(ne,ie.props.children),ve.return=ee,ve._debugOwner=ie._owner,ve._debugInfo=$t,OC(ie,ve,ee),ee=ve;break e}}else if(ne.elementType===xt||zoe(ne,ie)||typeof xt==\"object\"&&xt!==null&&xt.$$typeof===Vs&&nm(xt)===ne.type){d(ee,ne.sibling),ve=b(ne,ie.props),LE(ve,ie),ve.return=ee,ve._debugOwner=ie._owner,ve._debugInfo=$t,ee=ve;break e}d(ee,ne);break}else s(ee,ne);ne=ne.sibling}ie.type===A1?(ve=Z0(ie.props.children,ee.mode,ve,ie.key),ve.return=ee,ve._debugOwner=ee,ve._debugTask=ee._debugTask,ve._debugInfo=$t,OC(ie,ve,ee),ee=ve):(ve=SC(ie,ee.mode,ve),LE(ve,ie),ve.return=ee,ve._debugInfo=$t,ee=ve)}return ee=S(ee),$t=Fe,ee;case S1:e:{for(Fe=ie,ie=Fe.key;ne!==null;){if(ne.key===ie)if(ne.tag===4&&ne.stateNode.containerInfo===Fe.containerInfo&&ne.stateNode.implementation===Fe.implementation){d(ee,ne.sibling),ve=b(ne,Fe.children||[]),ve.return=ee,ee=ve;break e}else{d(ee,ne);break}else s(ee,ne);ne=ne.sibling}ve=o$(Fe,ee.mode,ve),ve.return=ee,ee=ve}return S(ee);case Vs:return Fe=xi(ie._debugInfo),ie=nm(ie),ee=pr(ee,ne,ie,ve),$t=Fe,ee}if(Go(ie))return Fe=xi(ie._debugInfo),ee=qe(ee,ne,ie,ve),$t=Fe,ee;if(K(ie)){if(Fe=xi(ie._debugInfo),xt=K(ie),typeof xt!=\"function\")throw Error(\"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\");var st=xt.call(ie);return st===ie?(ee.tag!==0||Object.prototype.toString.call(ee.type)!==\"[object GeneratorFunction]\"||Object.prototype.toString.call(st)!==\"[object Generator]\")&&(mue||console.error(\"Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items.\"),mue=!0):ie.entries!==xt||NL||(console.error(\"Using Maps as children is not supported. Use an array of keyed ReactElements instead.\"),NL=!0),ee=kn(ee,ne,st,ve),$t=Fe,ee}if(typeof ie.then==\"function\")return Fe=xi(ie._debugInfo),ee=pr(ee,ne,BC(ie),ve),$t=Fe,ee;if(ie.$$typeof===ql)return pr(ee,ne,TC(ee,ie),ve);MC(ee,ie)}return typeof ie==\"string\"&&ie!==\"\"||typeof ie==\"number\"||typeof ie==\"bigint\"?(Fe=\"\"+ie,ne!==null&&ne.tag===6?(d(ee,ne.sibling),ve=b(ne,Fe),ve.return=ee,ee=ve):(d(ee,ne),ve=n$(Fe,ee.mode,ve),ve.return=ee,ve._debugOwner=ee,ve._debugTask=ee._debugTask,ve._debugInfo=$t,ee=ve),S(ee)):(typeof ie==\"function\"&&DC(ee,ie),typeof ie==\"symbol\"&&NC(ee,ie),d(ee,ne))}return function(ee,ne,ie,ve){var Fe=$t;$t=null;try{N_=0;var xt=pr(ee,ne,ie,ve);return q1=null,xt}catch(On){if(On===V1||On===q8)throw On;var st=w(29,On,null,ee.mode);st.lanes=ve,st.return=ee;var nt=st._debugInfo=$t;if(st._debugOwner=ee._debugOwner,st._debugTask=ee._debugTask,nt!=null){for(var Bt=nt.length-1;0<=Bt;Bt--)if(typeof nt[Bt].stack==\"string\"){st._debugOwner=nt[Bt],st._debugTask=nt[Bt].debugTask;break}}return st}finally{$t=Fe}}}function lie(a,s){var d=Go(a);return a=!d&&typeof K(a)==\"function\",d||a?(d=d?\"array\":\"iterable\",console.error(\"A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>\",d,s,d),!1):!0}function y$(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function b$(a,s){a=a.updateQueue,s.updateQueue===a&&(s.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function om(a){return{lane:a,tag:xue,payload:null,callback:null,next:null}}function im(a,s,d){var m=a.updateQueue;if(m===null)return null;if(m=m.shared,$L===m&&!Eue){var b=Y(a);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.\\n\\nPlease update the following component: %s`,b),Eue=!0}return(yr&Zo)!==ai?(b=m.pending,b===null?s.next=s:(s.next=b.next,b.next=s),m.pending=s,s=_C(a),$oe(a,null,d),s):(EC(a,m,s,d),_C(a))}function HE(a,s,d){if(s=s.updateQueue,s!==null&&(s=s.shared,(d&4194048)!==0)){var m=s.lanes;m&=a.pendingLanes,d|=m,s.lanes=d,Wa(a,d)}}function UC(a,s){var d=a.updateQueue,m=a.alternate;if(m!==null&&(m=m.updateQueue,d===m)){var b=null,v=null;if(d=d.firstBaseUpdate,d!==null){do{var S={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};v===null?b=v=S:v=v.next=S,d=d.next}while(d!==null);v===null?b=v=s:v=v.next=s}else b=v=s;d={baseState:m.baseState,firstBaseUpdate:b,lastBaseUpdate:v,shared:m.shared,callbacks:m.callbacks},a.updateQueue=d;return}a=d.lastBaseUpdate,a===null?d.firstBaseUpdate=s:a.next=s,d.lastBaseUpdate=s}function jE(){if(zL){var a=F1;if(a!==null)throw a}}function FE(a,s,d,m){zL=!1;var b=a.updateQueue;km=!1,$L=b.shared;var v=b.firstBaseUpdate,S=b.lastBaseUpdate,I=b.shared.pending;if(I!==null){b.shared.pending=null;var z=I,F=z.next;z.next=null,S===null?v=F:S.next=F,S=z;var ae=a.alternate;ae!==null&&(ae=ae.updateQueue,I=ae.lastBaseUpdate,I!==S&&(I===null?ae.firstBaseUpdate=F:I.next=F,ae.lastBaseUpdate=z))}if(v!==null){var se=b.baseState;S=0,ae=F=z=null,I=v;do{var te=I.lane&-536870913,he=te!==I.lane;if(he?(zt&te)===te:(m&te)===te){te!==0&&te===dy&&(zL=!0),ae!==null&&(ae=ae.next={lane:0,tag:I.tag,payload:I.payload,callback:null,next:null});e:{te=a;var $e=I,qe=s,kn=d;switch($e.tag){case vue:if($e=$e.payload,typeof $e==\"function\"){H1=!0;var pr=$e.call(kn,se,qe);if(te.mode&qi){pt(!0);try{$e.call(kn,se,qe)}finally{pt(!1)}}H1=!1,se=pr;break e}se=$e;break e;case UL:te.flags=te.flags&-65537|128;case xue:if(pr=$e.payload,typeof pr==\"function\"){if(H1=!0,$e=pr.call(kn,se,qe),te.mode&qi){pt(!0);try{pr.call(kn,se,qe)}finally{pt(!1)}}H1=!1}else $e=pr;if($e==null)break e;se=Jt({},se,$e);break e;case wue:km=!0}}te=I.callback,te!==null&&(a.flags|=64,he&&(a.flags|=8192),he=b.callbacks,he===null?b.callbacks=[te]:he.push(te))}else he={lane:te,tag:I.tag,payload:I.payload,callback:I.callback,next:null},ae===null?(F=ae=he,z=se):ae=ae.next=he,S|=te;if(I=I.next,I===null){if(I=b.shared.pending,I===null)break;he=I,I=he.next,he.next=null,b.lastBaseUpdate=he,b.shared.pending=null}}while(!0);ae===null&&(z=se),b.baseState=z,b.firstBaseUpdate=F,b.lastBaseUpdate=ae,v===null&&(b.shared.lanes=0),Im|=S,a.lanes=S,a.memoizedState=se}$L=null}function die(a,s){if(typeof a!=\"function\")throw Error(\"Invalid argument passed as callback. Expected a function. Instead received: \"+a);a.call(s)}function Ict(a,s){var d=a.shared.hiddenCallbacks;if(d!==null)for(a.shared.hiddenCallbacks=null,a=0;a<d.length;a++)die(d[a],s)}function fie(a,s){var d=a.callbacks;if(d!==null)for(a.callbacks=null,a=0;a<d.length;a++)die(d[a],s)}function pie(a,s){var d=td;N(K8,d,a),N(G1,s,a),td=d|s.baseLanes}function g$(a){N(K8,td,a),N(G1,G1.current,a)}function x$(a){td=K8.current,ce(G1,a),ce(K8,a)}function am(a){var s=a.alternate;N(vo,vo.current&K1,a),N(Zs,a,a),Ic===null&&(s===null||G1.current!==null||s.memoizedState!==null)&&(Ic=a)}function v$(a){N(vo,vo.current,a),N(Zs,a,a),Ic===null&&(Ic=a)}function mie(a){a.tag===22?(N(vo,vo.current,a),N(Zs,a,a),Ic===null&&(Ic=a)):sm(a)}function sm(a){N(vo,vo.current,a),N(Zs,Zs.current,a)}function Hs(a){ce(Zs,a),Ic===a&&(Ic=null),ce(vo,a)}function $C(a){for(var s=a;s!==null;){if(s.tag===13){var d=s.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||Bz(d)||Mz(d)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder===\"forwards\"||s.memoizedProps.revealOrder===\"backwards\"||s.memoizedProps.revealOrder===\"unstable_legacy-backwards\"||s.memoizedProps.revealOrder===\"together\")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function Wt(){var a=be;Rc===null?Rc=[a]:Rc.push(a)}function Me(){var a=be;if(Rc!==null&&(Bf++,Rc[Bf]!==a)){var s=Y(gt);if(!_ue.has(s)&&(_ue.add(s),Rc!==null)){for(var d=\"\",m=0;m<=Bf;m++){var b=Rc[m],v=m===Bf?a:b;for(b=m+1+\". \"+b;30>b.length;)b+=\" \";b+=v+`\\n`,d+=b}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\\n\\n   Previous render            Next render\\n   ------------------------------------------------------\\n%s   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n`,s,d)}}}function d1(a){a==null||Go(a)||console.error(\"%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.\",be,typeof a)}function zC(){var a=Y(gt);Aue.has(a)||(Aue.add(a),console.error(\"ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.\",a))}function co(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function w$(a,s){if(z_)return!1;if(s===null)return console.error(\"%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.\",be),!1;a.length!==s.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\\n\\nPrevious: %s\\nIncoming: %s`,be,\"[\"+s.join(\", \")+\"]\",\"[\"+a.join(\", \")+\"]\");for(var d=0;d<s.length&&d<a.length;d++)if(!pa(a[d],s[d]))return!1;return!0}function E$(a,s,d,m,b,v){Rf=v,gt=s,Rc=a!==null?a._debugHookTypes:null,Bf=-1,z_=a!==null&&a.type!==s.type,(Object.prototype.toString.call(d)===\"[object AsyncFunction]\"||Object.prototype.toString.call(d)===\"[object AsyncGeneratorFunction]\")&&(v=Y(gt),LL.has(v)||(LL.add(v),console.error(\"%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `\\'use client\\'` to a module that was originally written for the server.\",v===null?\"An unknown Component\":\"<\"+v+\">\"))),s.memoizedState=null,s.updateQueue=null,s.lanes=0,ge.H=a!==null&&a.memoizedState!==null?jL:Rc!==null?kue:HL,yy=v=(s.mode&qi)!==mt;var S=BL(d,m,b);if(yy=!1,W1&&(S=_$(s,d,m,b)),v){pt(!0);try{S=_$(s,d,m,b)}finally{pt(!1)}}return hie(a,s),S}function hie(a,s){s._debugHookTypes=Rc,s.dependencies===null?Of!==null&&(s.dependencies={lanes:0,firstContext:null,_debugThenableState:Of}):s.dependencies._debugThenableState=Of,ge.H=L_;var d=mn!==null&&mn.next!==null;if(Rf=0,Rc=be=Ro=mn=gt=null,Bf=-1,a!==null&&(a.flags&65011712)!==(s.flags&65011712)&&console.error(\"Internal React error: Expected static flag was missing. Please notify the React team.\"),W8=!1,$_=0,Of=null,d)throw Error(\"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\");a===null||Oo||(a=a.dependencies,a!==null&&CC(a)&&(Oo=!0)),D_?(D_=!1,a=!0):a=!1,a&&(s=Y(s)||\"Unknown\",Sue.has(s)||LL.has(s)||(Sue.add(s),console.error(\"`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.\")))}function _$(a,s,d,m){gt=a;var b=0;do{if(W1&&(Of=null),$_=0,W1=!1,b>=mdt)throw Error(\"Too many re-renders. React limits the number of renders to prevent an infinite loop.\");if(b+=1,z_=!1,Ro=mn=null,a.updateQueue!=null){var v=a.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}Bf=-1,ge.H=Cue,v=BL(s,d,m)}while(W1);return v}function Pct(){var a=ge.H,s=a.useState()[0];return s=typeof s.then==\"function\"?VE(s):s,a=a.useState()[0],(mn!==null?mn.memoizedState:null)!==a&&(gt.flags|=1024),s}function S$(){var a=J8!==0;return J8=0,a}function A$(a,s,d){s.updateQueue=a.updateQueue,s.flags=(s.mode&Iu)!==mt?s.flags&-402655237:s.flags&-2053,a.lanes&=~d}function k$(a){if(W8){for(a=a.memoizedState;a!==null;){var s=a.queue;s!==null&&(s.pending=null),a=a.next}W8=!1}Rf=0,Rc=Ro=mn=gt=null,Bf=-1,be=null,W1=!1,$_=J8=0,Of=null}function ua(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ro===null?gt.memoizedState=Ro=a:Ro=Ro.next=a,Ro}function Hr(){if(mn===null){var a=gt.alternate;a=a!==null?a.memoizedState:null}else a=mn.next;var s=Ro===null?gt.memoizedState:Ro.next;if(s!==null)Ro=s,mn=a;else{if(a===null)throw gt.alternate===null?Error(\"Update hook called on initial render. This is likely a bug in React. Please file an issue.\"):Error(\"Rendered more hooks than during the previous render.\");mn=a,a={memoizedState:mn.memoizedState,baseState:mn.baseState,baseQueue:mn.baseQueue,queue:mn.queue,next:null},Ro===null?gt.memoizedState=Ro=a:Ro=Ro.next=a}return Ro}function LC(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function VE(a){var s=$_;return $_+=1,Of===null&&(Of=tie()),a=nie(Of,a,s),s=gt,(Ro===null?s.memoizedState:Ro.next)===null&&(s=s.alternate,ge.H=s!==null&&s.memoizedState!==null?jL:HL),a}function cm(a){if(a!==null&&typeof a==\"object\"){if(typeof a.then==\"function\")return VE(a);if(a.$$typeof===ql)return Un(a)}throw Error(\"An unsupported type was passed to use(): \"+String(a))}function X0(a){var s=null,d=gt.updateQueue;if(d!==null&&(s=d.memoCache),s==null){var m=gt.alternate;m!==null&&(m=m.updateQueue,m!==null&&(m=m.memoCache,m!=null&&(s={data:m.data.map(function(b){return b.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),d===null&&(d=LC(),gt.updateQueue=d),d.memoCache=s,d=s.data[s.index],d===void 0||z_)for(d=s.data[s.index]=Array(a),m=0;m<a;m++)d[m]=Gut;else d.length!==a&&console.error(\"Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.\",d.length,a);return s.index++,d}function Au(a,s){return typeof s==\"function\"?s(a):s}function C$(a,s,d){var m=ua();if(d!==void 0){var b=d(s);if(yy){pt(!0);try{d(s)}finally{pt(!1)}}}else b=s;return m.memoizedState=m.baseState=b,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b},m.queue=a,a=a.dispatch=Dct.bind(null,gt,a),[m.memoizedState,a]}function f1(a){var s=Hr();return T$(s,mn,a)}function T$(a,s,d){var m=a.queue;if(m===null)throw Error(\"Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)\");m.lastRenderedReducer=d;var b=a.baseQueue,v=m.pending;if(v!==null){if(b!==null){var S=b.next;b.next=v.next,v.next=S}s.baseQueue!==b&&console.error(\"Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.\"),s.baseQueue=b=v,m.pending=null}if(v=a.baseState,b===null)a.memoizedState=v;else{s=b.next;var I=S=null,z=null,F=s,ae=!1;do{var se=F.lane&-536870913;if(se!==F.lane?(zt&se)===se:(Rf&se)===se){var te=F.revertLane;if(te===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),se===dy&&(ae=!0);else if((Rf&te)===te){F=F.next,te===dy&&(ae=!0);continue}else se={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},z===null?(I=z=se,S=v):z=z.next=se,gt.lanes|=te,Im|=te;se=F.action,yy&&d(v,se),v=F.hasEagerState?F.eagerState:d(v,se)}else te={lane:se,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},z===null?(I=z=te,S=v):z=z.next=te,gt.lanes|=se,Im|=se;F=F.next}while(F!==null&&F!==s);if(z===null?S=v:z.next=I,!pa(v,a.memoizedState)&&(Oo=!0,ae&&(d=F1,d!==null)))throw d;a.memoizedState=v,a.baseState=S,a.baseQueue=z,m.lastRenderedState=v}return b===null&&(m.lanes=0),[a.memoizedState,m.dispatch]}function qE(a){var s=Hr(),d=s.queue;if(d===null)throw Error(\"Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)\");d.lastRenderedReducer=a;var m=d.dispatch,b=d.pending,v=s.memoizedState;if(b!==null){d.pending=null;var S=b=b.next;do v=a(v,S.action),S=S.next;while(S!==b);pa(v,s.memoizedState)||(Oo=!0),s.memoizedState=v,s.baseQueue===null&&(s.baseState=v),d.lastRenderedState=v}return[v,m]}function I$(a,s,d){var m=gt,b=ua();if(or){if(d===void 0)throw Error(\"Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.\");var v=d();Z1||v===d()||(console.error(\"The result of getServerSnapshot should be cached to avoid an infinite loop\"),Z1=!0)}else{if(v=s(),Z1||(d=s(),pa(v,d)||(console.error(\"The result of getSnapshot should be cached to avoid an infinite loop\"),Z1=!0)),hn===null)throw Error(\"Expected a work-in-progress root. This is a bug in React. Please file an issue.\");(zt&127)!==0||yie(m,s,v)}return b.memoizedState=v,d={value:v,getSnapshot:s},b.queue=d,VC(gie.bind(null,m,d,a),[a]),m.flags|=2048,m1(Pc|ya,{destroy:void 0},bie.bind(null,m,d,v,s),null),v}function HC(a,s,d){var m=gt,b=Hr(),v=or;if(v){if(d===void 0)throw Error(\"Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.\");d=d()}else if(d=s(),!Z1){var S=s();pa(d,S)||(console.error(\"The result of getSnapshot should be cached to avoid an infinite loop\"),Z1=!0)}(S=!pa((mn||b).memoizedState,d))&&(b.memoizedState=d,Oo=!0),b=b.queue;var I=gie.bind(null,m,b,a);if(Xa(2048,ya,I,[a]),b.getSnapshot!==s||S||Ro!==null&&Ro.memoizedState.tag&Pc){if(m.flags|=2048,m1(Pc|ya,{destroy:void 0},bie.bind(null,m,b,d,s),null),hn===null)throw Error(\"Expected a work-in-progress root. This is a bug in React. Please file an issue.\");v||(Rf&127)!==0||yie(m,s,d)}return d}function yie(a,s,d){a.flags|=16384,a={getSnapshot:s,value:d},s=gt.updateQueue,s===null?(s=LC(),gt.updateQueue=s,s.stores=[a]):(d=s.stores,d===null?s.stores=[a]:d.push(a))}function bie(a,s,d,m){s.value=d,s.getSnapshot=m,xie(s)&&vie(a)}function gie(a,s,d){return d(function(){xie(s)&&(Rl(2,\"updateSyncExternalStore()\",a),vie(a))})}function xie(a){var s=a.getSnapshot;a=a.value;try{var d=s();return!pa(a,d)}catch{return!0}}function vie(a){var s=Fi(a,2);s!==null&&Yn(s,a,2)}function P$(a){var s=ua();if(typeof a==\"function\"){var d=a;if(a=d(),yy){pt(!0);try{d()}finally{pt(!1)}}}return s.memoizedState=s.baseState=a,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:a},s}function R$(a){a=P$(a);var s=a.queue,d=zie.bind(null,gt,s);return s.dispatch=d,[a.memoizedState,d]}function O$(a){var s=ua();s.memoizedState=s.baseState=a;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=d,s=G$.bind(null,gt,!0,d),d.dispatch=s,[a,s]}function wie(a,s){var d=Hr();return Eie(d,mn,a,s)}function Eie(a,s,d,m){return a.baseState=d,T$(a,mn,typeof m==\"function\"?m:Au)}function _ie(a,s){var d=Hr();return mn!==null?Eie(d,mn,a,s):(d.baseState=a,[a,d.queue.dispatch])}function Rct(a,s,d,m,b){if(JC(a))throw Error(\"Cannot update form state while rendering.\");if(a=s.action,a!==null){var v={payload:b,action:a,next:null,isTransition:!0,status:\"pending\",value:null,reason:null,listeners:[],then:function(S){v.listeners.push(S)}};ge.T!==null?d(!0):v.isTransition=!1,m(v),d=s.pending,d===null?(v.next=s.pending=v,Sie(s,v)):(v.next=d.next,s.pending=d.next=v)}}function Sie(a,s){var d=s.action,m=s.payload,b=a.state;if(s.isTransition){var v=ge.T,S={};S._updatedFibers=new Set,ge.T=S;try{var I=d(b,m),z=ge.S;z!==null&&z(S,I),Aie(a,s,I)}catch(F){B$(a,s,F)}finally{v!==null&&S.types!==null&&(v.types!==null&&v.types!==S.types&&console.error(\"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"),v.types=S.types),ge.T=v,v===null&&S._updatedFibers&&(a=S._updatedFibers.size,S._updatedFibers.clear(),10<a&&console.warn(\"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"))}}else try{S=d(b,m),Aie(a,s,S)}catch(F){B$(a,s,F)}}function Aie(a,s,d){d!==null&&typeof d==\"object\"&&typeof d.then==\"function\"?(ge.asyncTransitions++,d.then(WC,WC),d.then(function(m){kie(a,s,m)},function(m){return B$(a,s,m)}),s.isTransition||console.error(\"An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.\")):kie(a,s,d)}function kie(a,s,d){s.status=\"fulfilled\",s.value=d,Cie(s),a.state=d,s=a.pending,s!==null&&(d=s.next,d===s?a.pending=null:(d=d.next,s.next=d,Sie(a,d)))}function B$(a,s,d){var m=a.pending;if(a.pending=null,m!==null){m=m.next;do s.status=\"rejected\",s.reason=d,Cie(s),s=s.next;while(s!==m)}a.action=null}function Cie(a){a=a.listeners;for(var s=0;s<a.length;s++)(0,a[s])()}function Tie(a,s){return s}function p1(a,s){if(or){var d=hn.formState;if(d!==null){e:{var m=gt;if(or){if(Rn){t:{for(var b=Rn,v=Cc;b.nodeType!==8;){if(!v){b=null;break t}if(b=Fs(b.nextSibling),b===null){b=null;break t}}v=b.data,b=v===dH||v===fle?b:null}if(b){Rn=Fs(b.nextSibling),m=b.data===dH;break e}}tm(m)}m=!1}m&&(s=d[0])}}return d=ua(),d.memoizedState=d.baseState=s,m={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tie,lastRenderedState:s},d.queue=m,d=zie.bind(null,gt,m),m.dispatch=d,m=P$(!1),v=G$.bind(null,gt,!1,m.queue),m=ua(),b={state:s,dispatch:null,action:a,pending:null},m.queue=b,d=Rct.bind(null,gt,b,v,d),b.dispatch=d,m.memoizedState=a,[s,d,!1]}function jC(a){var s=Hr();return Iie(s,mn,a)}function Iie(a,s,d){if(s=T$(a,s,Tie)[0],a=f1(Au)[0],typeof s==\"object\"&&s!==null&&typeof s.then==\"function\")try{var m=VE(s)}catch(S){throw S===V1?q8:S}else m=s;s=Hr();var b=s.queue,v=b.dispatch;return d!==s.memoizedState&&(gt.flags|=2048,m1(Pc|ya,{destroy:void 0},Oct.bind(null,b,d),null)),[m,v,a]}function Oct(a,s){a.action=s}function FC(a){var s=Hr(),d=mn;if(d!==null)return Iie(s,d,a);Hr(),s=s.memoizedState,d=Hr();var m=d.queue.dispatch;return d.memoizedState=a,[s,m,!1]}function m1(a,s,d,m){return a={tag:a,create:d,deps:m,inst:s,next:null},s=gt.updateQueue,s===null&&(s=LC(),gt.updateQueue=s),d=s.lastEffect,d===null?s.lastEffect=a.next=a:(m=d.next,d.next=a,a.next=m,s.lastEffect=a),a}function M$(a){var s=ua();return a={current:a},s.memoizedState=a}function ey(a,s,d,m){var b=ua();gt.flags|=a,b.memoizedState=m1(Pc|s,{destroy:void 0},d,m===void 0?null:m)}function Xa(a,s,d,m){var b=Hr();m=m===void 0?null:m;var v=b.memoizedState.inst;mn!==null&&m!==null&&w$(m,mn.memoizedState.deps)?b.memoizedState=m1(s,v,d,m):(gt.flags|=a,b.memoizedState=m1(Pc|s,v,d,m))}function VC(a,s){(gt.mode&Iu)!==mt?ey(276826112,ya,a,s):ey(8390656,ya,a,s)}function Bct(a){gt.flags|=4;var s=gt.updateQueue;if(s===null)s=LC(),gt.updateQueue=s,s.events=[a];else{var d=s.events;d===null?s.events=[a]:d.push(a)}}function D$(a){var s=ua(),d={impl:a};return s.memoizedState=d,function(){if((yr&Zo)!==ai)throw Error(\"A function wrapped in useEffectEvent can\\'t be called during rendering.\");return d.impl.apply(void 0,arguments)}}function qC(a){var s=Hr().memoizedState;return Bct({ref:s,nextImpl:a}),function(){if((yr&Zo)!==ai)throw Error(\"A function wrapped in useEffectEvent can\\'t be called during rendering.\");return s.impl.apply(void 0,arguments)}}function N$(a,s){var d=4194308;return(gt.mode&Iu)!==mt&&(d|=134217728),ey(d,Ws,a,s)}function Pie(a,s){if(typeof s==\"function\"){a=a();var d=s(a);return function(){typeof d==\"function\"?d():s(null)}}if(s!=null)return s.hasOwnProperty(\"current\")||console.error(\"Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.\",\"an object with keys {\"+Object.keys(s).join(\", \")+\"}\"),a=a(),s.current=a,function(){s.current=null}}function U$(a,s,d){typeof s!=\"function\"&&console.error(\"Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.\",s!==null?typeof s:\"null\"),d=d!=null?d.concat([a]):null;var m=4194308;(gt.mode&Iu)!==mt&&(m|=134217728),ey(m,Ws,Pie.bind(null,s,a),d)}function GC(a,s,d){typeof s!=\"function\"&&console.error(\"Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.\",s!==null?typeof s:\"null\"),d=d!=null?d.concat([a]):null,Xa(4,Ws,Pie.bind(null,s,a),d)}function $$(a,s){return ua().memoizedState=[a,s===void 0?null:s],a}function KC(a,s){var d=Hr();s=s===void 0?null:s;var m=d.memoizedState;return s!==null&&w$(s,m[1])?m[0]:(d.memoizedState=[a,s],a)}function z$(a,s){var d=ua();s=s===void 0?null:s;var m=a();if(yy){pt(!0);try{a()}finally{pt(!1)}}return d.memoizedState=[m,s],m}function ZC(a,s){var d=Hr();s=s===void 0?null:s;var m=d.memoizedState;if(s!==null&&w$(s,m[1]))return m[0];if(m=a(),yy){pt(!0);try{a()}finally{pt(!1)}}return d.memoizedState=[m,s],m}function L$(a,s){var d=ua();return H$(d,a,s)}function Rie(a,s){var d=Hr();return Bie(d,mn.memoizedState,a,s)}function Oie(a,s){var d=Hr();return mn===null?H$(d,a,s):Bie(d,mn.memoizedState,a,s)}function H$(a,s,d){return d===void 0||(Rf&1073741824)!==0&&(zt&261930)===0?a.memoizedState=s:(a.memoizedState=d,a=Mae(),gt.lanes|=a,Im|=a,d)}function Bie(a,s,d,m){return pa(d,s)?d:G1.current!==null?(a=H$(a,d,m),pa(a,s)||(Oo=!0),a):(Rf&42)===0||(Rf&1073741824)!==0&&(zt&261930)===0?(Oo=!0,a.memoizedState=d):(a=Mae(),gt.lanes|=a,Im|=a,s)}function WC(){ge.asyncTransitions--}function Mie(a,s,d,m,b){var v=Ur.p;Ur.p=v!==0&&v<Tu?v:Tu;var S=ge.T,I={};I._updatedFibers=new Set,ge.T=I,G$(a,!1,s,d);try{var z=b(),F=ge.S;if(F!==null&&F(I,z),z!==null&&typeof z==\"object\"&&typeof z.then==\"function\"){ge.asyncTransitions++,z.then(WC,WC);var ae=Tct(z,m);GE(a,s,ae,js(a))}else GE(a,s,m,js(a))}catch(se){GE(a,s,{then:function(){},status:\"rejected\",reason:se},js(a))}finally{Ur.p=v,S!==null&&I.types!==null&&(S.types!==null&&S.types!==I.types&&console.error(\"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React.\"),S.types=I.types),ge.T=S,S===null&&I._updatedFibers&&(a=I._updatedFibers.size,I._updatedFibers.clear(),10<a&&console.warn(\"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"))}}function j$(a,s,d,m){if(a.tag!==5)throw Error(\"Expected the form instance to be a HostComponent. This is a bug in React.\");var b=Die(a).queue;kct(a),Mie(a,b,s,Cy,d===null?p:function(){return Nie(a),d(m)})}function Die(a){var s=a.memoizedState;if(s!==null)return s;s={memoizedState:Cy,baseState:Cy,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:Cy},next:null};var d={};return s.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:d},next:null},a.memoizedState=s,a=a.alternate,a!==null&&(a.memoizedState=s),s}function Nie(a){ge.T===null&&console.error(\"requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.\");var s=Die(a);s.next===null&&(s=a.alternate.memoizedState),GE(a,s.next.queue,{},js(a))}function F$(){var a=P$(!1);return a=Mie.bind(null,gt,a.queue,!0,!1),ua().memoizedState=a,[!1,a]}function Uie(){var a=f1(Au)[0],s=Hr().memoizedState;return[typeof a==\"boolean\"?a:VE(a),s]}function $ie(){var a=qE(Au)[0],s=Hr().memoizedState;return[typeof a==\"boolean\"?a:VE(a),s]}function ty(){return Un(tS)}function V$(){var a=ua(),s=hn.identifierPrefix;if(or){var d=kf,m=Af;d=(m&~(1<<32-la(m)-1)).toString(32)+d,s=\"_\"+s+\"R_\"+d,d=J8++,0<d&&(s+=\"H\"+d.toString(32)),s+=\"_\"}else d=pdt++,s=\"_\"+s+\"r_\"+d.toString(32)+\"_\";return a.memoizedState=s}function q$(){return ua().memoizedState=Mct.bind(null,gt)}function Mct(a,s){for(var d=a.return;d!==null;){switch(d.tag){case 24:case 3:var m=js(d),b=om(m),v=im(d,b,m);v!==null&&(Rl(m,\"refresh()\",a),Yn(v,d,m),HE(v,d,m)),a=d$(),s!=null&&v!==null&&console.error(\"The seed argument is not enabled outside experimental channels.\"),b.payload={cache:a};return}d=d.return}}function Dct(a,s,d){var m=arguments;typeof m[3]==\"function\"&&console.error(\"State updates from the useState() and useReducer() Hooks don\\'t support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().\"),m=js(a);var b={lane:m,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null};JC(a)?Lie(s,b):(b=XU(a,s,b,m),b!==null&&(Rl(m,\"dispatch()\",a),Yn(b,a,m),Hie(b,s,m)))}function zie(a,s,d){var m=arguments;typeof m[3]==\"function\"&&console.error(\"State updates from the useState() and useReducer() Hooks don\\'t support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().\"),m=js(a),GE(a,s,d,m)&&Rl(m,\"setState()\",a)}function GE(a,s,d,m){var b={lane:m,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null};if(JC(a))Lie(s,b);else{var v=a.alternate;if(a.lanes===0&&(v===null||v.lanes===0)&&(v=s.lastRenderedReducer,v!==null)){var S=ge.H;ge.H=Ru;try{var I=s.lastRenderedState,z=v(I,d);if(b.hasEagerState=!0,b.eagerState=z,pa(z,I))return EC(a,s,b,0),hn===null&&wC(),!1}catch{}finally{ge.H=S}}if(d=XU(a,s,b,m),d!==null)return Yn(d,a,m),Hie(d,s,m),!0}return!1}function G$(a,s,d,m){if(ge.T===null&&dy===0&&console.error(\"An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.\"),m={lane:2,revertLane:Ez(),gesture:null,action:m,hasEagerState:!1,eagerState:null,next:null},JC(a)){if(s)throw Error(\"Cannot update optimistic state while rendering.\");console.error(\"Cannot call startTransition while rendering.\")}else s=XU(a,d,m,2),s!==null&&(Rl(2,\"setOptimistic()\",a),Yn(s,a,2))}function JC(a){var s=a.alternate;return a===gt||s!==null&&s===gt}function Lie(a,s){W1=W8=!0;var d=a.pending;d===null?s.next=s:(s.next=d.next,d.next=s),a.pending=s}function Hie(a,s,d){if((d&4194048)!==0){var m=s.lanes;m&=a.pendingLanes,d|=m,s.lanes=d,Wa(a,d)}}function K$(a){if(a!==null&&typeof a!=\"function\"){var s=String(a);$ue.has(s)||($ue.add(s),console.error(\"Expected the last optional `callback` argument to be a function. Instead received: %s.\",a))}}function Z$(a,s,d,m){var b=a.memoizedState,v=d(m,b);if(a.mode&qi){pt(!0);try{v=d(m,b)}finally{pt(!1)}}v===void 0&&(s=Q(s)||\"Component\",Mue.has(s)||(Mue.add(s),console.error(\"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.\",s))),b=v==null?b:Jt({},b,v),a.memoizedState=b,a.lanes===0&&(a.updateQueue.baseState=b)}function jie(a,s,d,m,b,v,S){var I=a.stateNode;if(typeof I.shouldComponentUpdate==\"function\"){if(d=I.shouldComponentUpdate(m,v,S),a.mode&qi){pt(!0);try{d=I.shouldComponentUpdate(m,v,S)}finally{pt(!1)}}return d===void 0&&console.error(\"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.\",Q(s)||\"Component\"),d}return s.prototype&&s.prototype.isPureReactComponent?!ME(d,m)||!ME(b,v):!0}function Fie(a,s,d,m){var b=s.state;typeof s.componentWillReceiveProps==\"function\"&&s.componentWillReceiveProps(d,m),typeof s.UNSAFE_componentWillReceiveProps==\"function\"&&s.UNSAFE_componentWillReceiveProps(d,m),s.state!==b&&(a=Y(a)||\"Component\",Iue.has(a)||(Iue.add(a),console.error(\"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component\\'s constructor). Use setState instead.\",a)),FL.enqueueReplaceState(s,s.state,null))}function ry(a,s){var d=s;if(\"ref\"in s){d={};for(var m in s)m!==\"ref\"&&(d[m]=s[m])}if(a=a.defaultProps){d===s&&(d=Jt({},d));for(var b in a)d[b]===void 0&&(d[b]=a[b])}return d}function Vie(a){vL(a),console.warn(`%s\\n\\n%s\\n`,J1?\"An error occurred in the <\"+J1+\"> component.\":\"An error occurred in one of your React components.\",`Consider adding an error boundary to your tree to customize error handling behavior.\\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function qie(a){var s=J1?\"The above error occurred in the <\"+J1+\"> component.\":\"The above error occurred in one of your React components.\",d=\"React will try to recreate this component tree from scratch using the error boundary you provided, \"+((VL||\"Anonymous\")+\".\");if(typeof a==\"object\"&&a!==null&&typeof a.environmentName==\"string\"){var m=a.environmentName;a=[`%o\\n\\n%s\\n\\n%s\\n`,a,s,d].slice(0),typeof a[0]==\"string\"?a.splice(0,1,vle+\" \"+a[0],wle,wT+m+wT,Ele):a.splice(0,0,vle,wle,wT+m+wT,Ele),a.unshift(console),m=Mdt.apply(console.error,a),m()}else console.error(`%o\\n\\n%s\\n\\n%s\\n`,a,s,d)}function Gie(a){vL(a)}function QC(a,s){try{J1=s.source?Y(s.source):null,VL=null;var d=s.value;if(ge.actQueue!==null)ge.thrownErrors.push(d);else{var m=a.onUncaughtError;m(d,{componentStack:s.stack})}}catch(b){setTimeout(function(){throw b})}}function Kie(a,s,d){try{J1=d.source?Y(d.source):null,VL=Y(s);var m=a.onCaughtError;m(d.value,{componentStack:d.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(b){setTimeout(function(){throw b})}}function W$(a,s,d){return d=om(d),d.tag=UL,d.payload={element:null},d.callback=function(){Pe(s.source,QC,a,s)},d}function J$(a){return a=om(a),a.tag=UL,a}function Q$(a,s,d,m){var b=d.type.getDerivedStateFromError;if(typeof b==\"function\"){var v=m.value;a.payload=function(){return b(v)},a.callback=function(){Loe(d),Pe(m.source,Kie,s,d,m)}}var S=d.stateNode;S!==null&&typeof S.componentDidCatch==\"function\"&&(a.callback=function(){Loe(d),Pe(m.source,Kie,s,d,m),typeof b!=\"function\"&&(Rm===null?Rm=new Set([this]):Rm.add(this)),udt(this,m),typeof b==\"function\"||(d.lanes&2)===0&&console.error(\"%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.\",Y(d)||\"Unknown\")})}function Nct(a,s,d,m,b){if(d.flags|=32768,Zl&&e_(a,b),m!==null&&typeof m==\"object\"&&typeof m.then==\"function\"){if(s=d.alternate,s!==null&&l1(s,d,b,!0),or&&(Ql=!0),d=Zs.current,d!==null){switch(d.tag){case 31:case 13:return Ic===null?a8():d.alternate===null&&qn===Df&&(qn=X8),d.flags&=-257,d.flags|=65536,d.lanes=b,m===G8?d.flags|=16384:(s=d.updateQueue,s===null?d.updateQueue=new Set([m]):s.add(m),gz(a,m,b)),!1;case 22:return d.flags|=65536,m===G8?d.flags|=16384:(s=d.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([m])},d.updateQueue=s):(d=s.retryQueue,d===null?s.retryQueue=new Set([m]):d.add(m)),gz(a,m,b)),!1}throw Error(\"Unexpected Suspense handler tag (\"+d.tag+\"). This is a bug in React.\")}return gz(a,m,b),a8(),!1}if(or)return Ql=!0,s=Zs.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=b,m!==kL&&NE($s(Error(\"There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.\",{cause:m}),d))):(m!==kL&&NE($s(Error(\"There was an error while hydrating but React was able to recover by instead client rendering the entire root.\",{cause:m}),d)),a=a.current.alternate,a.flags|=65536,b&=-b,a.lanes|=b,m=$s(m,d),b=W$(a.stateNode,m,b),UC(a,b),qn!==Cm&&(qn=by)),!1;var v=$s(Error(\"There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.\",{cause:m}),d);if(G_===null?G_=[v]:G_.push(v),qn!==Cm&&(qn=by),s===null)return!0;m=$s(m,d),d=s;do{switch(d.tag){case 3:return d.flags|=65536,a=b&-b,d.lanes|=a,a=W$(d.stateNode,m,a),UC(d,a),!1;case 1:if(s=d.type,v=d.stateNode,(d.flags&128)===0&&(typeof s.getDerivedStateFromError==\"function\"||v!==null&&typeof v.componentDidCatch==\"function\"&&(Rm===null||!Rm.has(v))))return d.flags|=65536,b&=-b,d.lanes|=b,b=J$(b),Q$(b,a,d,m),UC(d,b),!1}d=d.return}while(d!==null);return!1}function vi(a,s,d,m){s.child=a===null?gue(s,null,d,m):hy(s,a.child,d,m)}function Zie(a,s,d,m,b){d=d.render;var v=s.ref;if(\"ref\"in m){var S={};for(var I in m)I!==\"ref\"&&(S[I]=m[I])}else S=m;return Q0(s),m=E$(a,s,d,S,v,b),I=S$(),a!==null&&!Oo?(A$(a,s,b),xf(a,s,b)):(or&&I&&i$(s),s.flags|=1,vi(a,s,m,b),s.child)}function Wie(a,s,d,m,b){if(a===null){var v=d.type;return typeof v==\"function\"&&!t$(v)&&v.defaultProps===void 0&&d.compare===null?(d=K0(v),s.tag=15,s.type=d,X$(s,v),Jie(a,s,d,m,b)):(a=r$(d.type,null,m,s,s.mode,b),a.ref=s.ref,a.return=s,s.child=a)}if(v=a.child,!iz(a,b)){var S=v.memoizedProps;if(d=d.compare,d=d!==null?d:ME,d(S,m)&&a.ref===s.ref)return xf(a,s,b)}return s.flags|=1,a=hf(v,m),a.ref=s.ref,a.return=s,s.child=a}function Jie(a,s,d,m,b){if(a!==null){var v=a.memoizedProps;if(ME(v,m)&&a.ref===s.ref&&s.type===a.type)if(Oo=!1,s.pendingProps=m=v,iz(a,b))(a.flags&131072)!==0&&(Oo=!0);else return s.lanes=a.lanes,xf(a,s,b)}return Y$(a,s,d,m,b)}function Qie(a,s,d,m){var b=m.children,v=a!==null?a.memoizedState:null;if(a===null&&s.stateNode===null&&(s.stateNode={_visibility:w_,_pendingMarkers:null,_retryCache:null,_transitions:null}),m.mode===\"hidden\"){if((s.flags&128)!==0){if(v=v!==null?v.baseLanes|d:d,a!==null){for(m=s.child=a.child,b=0;m!==null;)b=b|m.lanes|m.childLanes,m=m.sibling;m=b&~v}else m=0,s.child=null;return Yie(a,s,v,d,m)}if((d&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},a!==null&&RC(s,v!==null?v.cachePool:null),v!==null?pie(s,v):g$(s),mie(s);else return m=s.lanes=536870912,Yie(a,s,v!==null?v.baseLanes|d:d,d,m)}else v!==null?(RC(s,v.cachePool),pie(s,v),sm(s),s.memoizedState=null):(a!==null&&RC(s,null),g$(s),sm(s));return vi(a,s,b,d),s.child}function KE(a,s){return a!==null&&a.tag===22||s.stateNode!==null||(s.stateNode={_visibility:w_,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function Yie(a,s,d,m,b){var v=m$();return v=v===null?null:{parent:Io._currentValue,pool:v},s.memoizedState={baseLanes:d,cachePool:v},a!==null&&RC(s,null),g$(s),mie(s),a!==null&&l1(a,s,m,!0),s.childLanes=b,null}function YC(a,s){var d=s.hidden;return d!==void 0&&console.error(`<Activity> doesn\\'t accept a hidden prop. Use mode=\"hidden\" instead.\\n- <Activity %s>\\n+ <Activity %s>`,d===!0?\"hidden\":d===!1?\"hidden={false}\":\"hidden={...}\",d?\\'mode=\"hidden\"\\':\\'mode=\"visible\"\\'),s=e8({mode:s.mode,children:s.children},a.mode),s.ref=a.ref,a.child=s,s.return=a,s}function Xie(a,s,d){return hy(s,a.child,null,d),a=YC(s,s.pendingProps),a.flags|=2,Hs(s),s.memoizedState=null,a}function Uct(a,s,d){var m=s.pendingProps,b=(s.flags&128)!==0;if(s.flags&=-129,a===null){if(or){if(m.mode===\"hidden\")return a=YC(s,m),s.lanes=536870912,KE(null,a);if(v$(s),(a=Rn)?(d=Sse(a,Cc),d=d!==null&&d.data===_y?d:null,d!==null&&(m={dehydrated:d,treeContext:qoe(),retryLane:536870912,hydrationErrors:null},s.memoizedState=m,m=Foe(d),m.return=s,s.child=m,_i=s,Rn=null)):d=null,d===null)throw AC(s,a),tm(s);return s.lanes=536870912,null}return YC(s,m)}var v=a.memoizedState;if(v!==null){var S=v.dehydrated;if(v$(s),b)if(s.flags&256)s.flags&=-257,s=Xie(a,s,d);else if(s.memoizedState!==null)s.child=a.child,s.flags|=128,s=null;else throw Error(\"Client rendering an Activity suspended it again. This is a bug in React.\");else if(Koe(),(d&536870912)!==0&&i8(s),Oo||l1(a,s,d,!1),b=(d&a.childLanes)!==0,Oo||b){if(m=hn,m!==null&&(S=Pr(m,d),S!==0&&S!==v.retryLane))throw v.retryLane=S,Fi(a,S),Yn(m,a,S),qL;a8(),s=Xie(a,s,d)}else a=v.treeContext,Rn=Fs(S.nextSibling),_i=s,or=!0,vm=null,Ql=!1,Ks=null,Cc=!1,a!==null&&Goe(s,a),s=YC(s,m),s.flags|=4096;return s}return v=a.child,m={mode:m.mode,children:m.children},(d&536870912)!==0&&(d&a.lanes)!==0&&i8(s),a=hf(v,m),a.ref=s.ref,s.child=a,a.return=s,a}function XC(a,s){var d=s.ref;if(d===null)a!==null&&a.ref!==null&&(s.flags|=4194816);else{if(typeof d!=\"function\"&&typeof d!=\"object\")throw Error(\"Expected ref to be a function, an object returned by React.createRef(), or undefined/null.\");(a===null||a.ref!==d)&&(s.flags|=4194816)}}function Y$(a,s,d,m,b){if(d.prototype&&typeof d.prototype.render==\"function\"){var v=Q(d)||\"Unknown\";zue[v]||(console.error(\"The <%s /> component appears to have a render method, but doesn\\'t extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.\",v,v),zue[v]=!0)}return s.mode&qi&&Pu.recordLegacyContextWarning(s,null),a===null&&(X$(s,s.type),d.contextTypes&&(v=Q(d)||\"Unknown\",Hue[v]||(Hue[v]=!0,console.error(\"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)\",v)))),Q0(s),d=E$(a,s,d,m,void 0,b),m=S$(),a!==null&&!Oo?(A$(a,s,b),xf(a,s,b)):(or&&m&&i$(s),s.flags|=1,vi(a,s,d,b),s.child)}function eae(a,s,d,m,b,v){return Q0(s),Bf=-1,z_=a!==null&&a.type!==s.type,s.updateQueue=null,d=_$(s,m,d,b),hie(a,s),m=S$(),a!==null&&!Oo?(A$(a,s,v),xf(a,s,v)):(or&&m&&i$(s),s.flags|=1,vi(a,s,d,v),s.child)}function tae(a,s,d,m,b){switch(c(s)){case!1:var v=s.stateNode,S=new s.type(s.memoizedProps,v.context).state;v.updater.enqueueSetState(v,S,null);break;case!0:s.flags|=128,s.flags|=65536,v=Error(\"Simulated error coming from DevTools\");var I=b&-b;if(s.lanes|=I,S=hn,S===null)throw Error(\"Expected a work-in-progress root. This is a bug in React. Please file an issue.\");I=J$(I),Q$(I,S,s,$s(v,s)),UC(s,I)}if(Q0(s),s.stateNode===null){if(S=xm,v=d.contextType,\"contextType\"in d&&v!==null&&(v===void 0||v.$$typeof!==ql)&&!Uue.has(d)&&(Uue.add(d),I=v===void 0?\" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.\":typeof v!=\"object\"?\" However, it is set to a \"+typeof v+\".\":v.$$typeof===Gz?\" Did you accidentally pass the Context.Consumer instead?\":\" However, it is set to an object with keys {\"+Object.keys(v).join(\", \")+\"}.\",console.error(\"%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s\",Q(d)||\"Component\",I)),typeof v==\"object\"&&v!==null&&(S=Un(v)),v=new d(m,S),s.mode&qi){pt(!0);try{v=new d(m,S)}finally{pt(!1)}}if(S=s.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=FL,s.stateNode=v,v._reactInternals=s,v._reactInternalInstance=Tue,typeof d.getDerivedStateFromProps==\"function\"&&S===null&&(S=Q(d)||\"Component\",Pue.has(S)||(Pue.add(S),console.error(\"`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.\",S,v.state===null?\"null\":\"undefined\",S))),typeof d.getDerivedStateFromProps==\"function\"||typeof v.getSnapshotBeforeUpdate==\"function\"){var z=I=S=null;if(typeof v.componentWillMount==\"function\"&&v.componentWillMount.__suppressDeprecationWarning!==!0?S=\"componentWillMount\":typeof v.UNSAFE_componentWillMount==\"function\"&&(S=\"UNSAFE_componentWillMount\"),typeof v.componentWillReceiveProps==\"function\"&&v.componentWillReceiveProps.__suppressDeprecationWarning!==!0?I=\"componentWillReceiveProps\":typeof v.UNSAFE_componentWillReceiveProps==\"function\"&&(I=\"UNSAFE_componentWillReceiveProps\"),typeof v.componentWillUpdate==\"function\"&&v.componentWillUpdate.__suppressDeprecationWarning!==!0?z=\"componentWillUpdate\":typeof v.UNSAFE_componentWillUpdate==\"function\"&&(z=\"UNSAFE_componentWillUpdate\"),S!==null||I!==null||z!==null){v=Q(d)||\"Component\";var F=typeof d.getDerivedStateFromProps==\"function\"?\"getDerivedStateFromProps()\":\"getSnapshotBeforeUpdate()\";Oue.has(v)||(Oue.add(v),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\nhttps://react.dev/link/unsafe-component-lifecycles`,v,F,S!==null?`\\n  `+S:\"\",I!==null?`\\n  `+I:\"\",z!==null?`\\n  `+z:\"\"))}}v=s.stateNode,S=Q(d)||\"Component\",v.render||(d.prototype&&typeof d.prototype.render==\"function\"?console.error(\"No `render` method found on the %s instance: did you accidentally return an object from the constructor?\",S):console.error(\"No `render` method found on the %s instance: you may have forgotten to define `render`.\",S)),!v.getInitialState||v.getInitialState.isReactClassApproved||v.state||console.error(\"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?\",S),v.getDefaultProps&&!v.getDefaultProps.isReactClassApproved&&console.error(\"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.\",S),v.contextType&&console.error(\"contextType was defined as an instance property on %s. Use a static property to define contextType instead.\",S),d.childContextTypes&&!Nue.has(d)&&(Nue.add(d),console.error(\"%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)\",S)),d.contextTypes&&!Due.has(d)&&(Due.add(d),console.error(\"%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)\",S)),typeof v.componentShouldUpdate==\"function\"&&console.error(\"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.\",S),d.prototype&&d.prototype.isPureReactComponent&&typeof v.shouldComponentUpdate<\"u\"&&console.error(\"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.\",Q(d)||\"A pure component\"),typeof v.componentDidUnmount==\"function\"&&console.error(\"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?\",S),typeof v.componentDidReceiveProps==\"function\"&&console.error(\"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().\",S),typeof v.componentWillRecieveProps==\"function\"&&console.error(\"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?\",S),typeof v.UNSAFE_componentWillRecieveProps==\"function\"&&console.error(\"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?\",S),I=v.props!==m,v.props!==void 0&&I&&console.error(\"When calling super() in `%s`, make sure to pass up the same props that your component\\'s constructor was passed.\",S),v.defaultProps&&console.error(\"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.\",S,S),typeof v.getSnapshotBeforeUpdate!=\"function\"||typeof v.componentDidUpdate==\"function\"||Rue.has(d)||(Rue.add(d),console.error(\"%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.\",Q(d))),typeof v.getDerivedStateFromProps==\"function\"&&console.error(\"%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.\",S),typeof v.getDerivedStateFromError==\"function\"&&console.error(\"%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.\",S),typeof d.getSnapshotBeforeUpdate==\"function\"&&console.error(\"%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.\",S),(I=v.state)&&(typeof I!=\"object\"||Go(I))&&console.error(\"%s.state: must be set to an object or null\",S),typeof v.getChildContext==\"function\"&&typeof d.childContextTypes!=\"object\"&&console.error(\"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().\",S),v=s.stateNode,v.props=m,v.state=s.memoizedState,v.refs={},y$(s),S=d.contextType,v.context=typeof S==\"object\"&&S!==null?Un(S):xm,v.state===m&&(S=Q(d)||\"Component\",Bue.has(S)||(Bue.add(S),console.error(\"%s: It is not recommended to assign props directly to state because updates to props won\\'t be reflected in state. In most cases, it is better to use props directly.\",S))),s.mode&qi&&Pu.recordLegacyContextWarning(s,v),Pu.recordUnsafeLifecycleWarnings(s,v),v.state=s.memoizedState,S=d.getDerivedStateFromProps,typeof S==\"function\"&&(Z$(s,d,S,m),v.state=s.memoizedState),typeof d.getDerivedStateFromProps==\"function\"||typeof v.getSnapshotBeforeUpdate==\"function\"||typeof v.UNSAFE_componentWillMount!=\"function\"&&typeof v.componentWillMount!=\"function\"||(S=v.state,typeof v.componentWillMount==\"function\"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount==\"function\"&&v.UNSAFE_componentWillMount(),S!==v.state&&(console.error(\"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component\\'s constructor). Use setState instead.\",Y(s)||\"Component\"),FL.enqueueReplaceState(v,v.state,null)),FE(s,m,v,b),jE(),v.state=s.memoizedState),typeof v.componentDidMount==\"function\"&&(s.flags|=4194308),(s.mode&Iu)!==mt&&(s.flags|=134217728),v=!0}else if(a===null){v=s.stateNode;var ae=s.memoizedProps;I=ry(d,ae),v.props=I;var se=v.context;z=d.contextType,S=xm,typeof z==\"object\"&&z!==null&&(S=Un(z)),F=d.getDerivedStateFromProps,z=typeof F==\"function\"||typeof v.getSnapshotBeforeUpdate==\"function\",ae=s.pendingProps!==ae,z||typeof v.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof v.componentWillReceiveProps!=\"function\"||(ae||se!==S)&&Fie(s,v,m,S),km=!1;var te=s.memoizedState;v.state=te,FE(s,m,v,b),jE(),se=s.memoizedState,ae||te!==se||km?(typeof F==\"function\"&&(Z$(s,d,F,m),se=s.memoizedState),(I=km||jie(s,d,I,m,te,se,S))?(z||typeof v.UNSAFE_componentWillMount!=\"function\"&&typeof v.componentWillMount!=\"function\"||(typeof v.componentWillMount==\"function\"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount==\"function\"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount==\"function\"&&(s.flags|=4194308),(s.mode&Iu)!==mt&&(s.flags|=134217728)):(typeof v.componentDidMount==\"function\"&&(s.flags|=4194308),(s.mode&Iu)!==mt&&(s.flags|=134217728),s.memoizedProps=m,s.memoizedState=se),v.props=m,v.state=se,v.context=S,v=I):(typeof v.componentDidMount==\"function\"&&(s.flags|=4194308),(s.mode&Iu)!==mt&&(s.flags|=134217728),v=!1)}else{v=s.stateNode,b$(a,s),S=s.memoizedProps,z=ry(d,S),v.props=z,F=s.pendingProps,te=v.context,se=d.contextType,I=xm,typeof se==\"object\"&&se!==null&&(I=Un(se)),ae=d.getDerivedStateFromProps,(se=typeof ae==\"function\"||typeof v.getSnapshotBeforeUpdate==\"function\")||typeof v.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof v.componentWillReceiveProps!=\"function\"||(S!==F||te!==I)&&Fie(s,v,m,I),km=!1,te=s.memoizedState,v.state=te,FE(s,m,v,b),jE();var he=s.memoizedState;S!==F||te!==he||km||a!==null&&a.dependencies!==null&&CC(a.dependencies)?(typeof ae==\"function\"&&(Z$(s,d,ae,m),he=s.memoizedState),(z=km||jie(s,d,z,m,te,he,I)||a!==null&&a.dependencies!==null&&CC(a.dependencies))?(se||typeof v.UNSAFE_componentWillUpdate!=\"function\"&&typeof v.componentWillUpdate!=\"function\"||(typeof v.componentWillUpdate==\"function\"&&v.componentWillUpdate(m,he,I),typeof v.UNSAFE_componentWillUpdate==\"function\"&&v.UNSAFE_componentWillUpdate(m,he,I)),typeof v.componentDidUpdate==\"function\"&&(s.flags|=4),typeof v.getSnapshotBeforeUpdate==\"function\"&&(s.flags|=1024)):(typeof v.componentDidUpdate!=\"function\"||S===a.memoizedProps&&te===a.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!=\"function\"||S===a.memoizedProps&&te===a.memoizedState||(s.flags|=1024),s.memoizedProps=m,s.memoizedState=he),v.props=m,v.state=he,v.context=I,v=z):(typeof v.componentDidUpdate!=\"function\"||S===a.memoizedProps&&te===a.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!=\"function\"||S===a.memoizedProps&&te===a.memoizedState||(s.flags|=1024),v=!1)}if(I=v,XC(a,s),S=(s.flags&128)!==0,I||S){if(I=s.stateNode,Ot(s),S&&typeof d.getDerivedStateFromError!=\"function\")d=null,ma=-1;else if(d=oue(I),s.mode&qi){pt(!0);try{oue(I)}finally{pt(!1)}}s.flags|=1,a!==null&&S?(s.child=hy(s,a.child,null,b),s.child=hy(s,null,d,b)):vi(a,s,d,b),s.memoizedState=I.state,a=s.child}else a=xf(a,s,b);return b=s.stateNode,v&&b.props!==m&&(Q1||console.error(\"It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.\",Y(s)||\"a component\"),Q1=!0),a}function rae(a,s,d,m){return J0(),s.flags|=256,vi(a,s,d,m),s.child}function X$(a,s){s&&s.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.\\n  %s.childContextTypes = ...`,s.displayName||s.name||\"Component\"),typeof s.getDerivedStateFromProps==\"function\"&&(a=Q(s)||\"Unknown\",jue[a]||(console.error(\"%s: Function components do not support getDerivedStateFromProps.\",a),jue[a]=!0)),typeof s.contextType==\"object\"&&s.contextType!==null&&(s=Q(s)||\"Unknown\",Lue[s]||(console.error(\"%s: Function components do not support contextType.\",s),Lue[s]=!0))}function ez(a){return{baseLanes:a,cachePool:eie()}}function tz(a,s,d){return a=a!==null?a.childLanes&~d:0,s&&(a|=os),a}function nae(a,s,d){var m,b=s.pendingProps;i(s)&&(s.flags|=128);var v=!1,S=(s.flags&128)!==0;if((m=S)||(m=a!==null&&a.memoizedState===null?!1:(vo.current&U_)!==0),m&&(v=!0,s.flags&=-129),m=(s.flags&32)!==0,s.flags&=-33,a===null){if(or){if(v?am(s):sm(s),(a=Rn)?(d=Sse(a,Cc),d=d!==null&&d.data!==_y?d:null,d!==null&&(m={dehydrated:d,treeContext:qoe(),retryLane:536870912,hydrationErrors:null},s.memoizedState=m,m=Foe(d),m.return=s,s.child=m,_i=s,Rn=null)):d=null,d===null)throw AC(s,a),tm(s);return Mz(d)?s.lanes=32:s.lanes=536870912,null}var I=b.children;if(b=b.fallback,v){sm(s);var z=s.mode;return I=e8({mode:\"hidden\",children:I},z),b=Z0(b,z,d,null),I.return=s,b.return=s,I.sibling=b,s.child=I,b=s.child,b.memoizedState=ez(d),b.childLanes=tz(a,m,d),s.memoizedState=GL,KE(null,b)}return am(s),rz(s,I)}var F=a.memoizedState;if(F!==null){var ae=F.dehydrated;if(ae!==null){if(S)s.flags&256?(am(s),s.flags&=-257,s=nz(a,s,d)):s.memoizedState!==null?(sm(s),s.child=a.child,s.flags|=128,s=null):(sm(s),I=b.fallback,z=s.mode,b=e8({mode:\"visible\",children:b.children},z),I=Z0(I,z,d,null),I.flags|=2,b.return=s,I.return=s,b.sibling=I,s.child=b,hy(s,a.child,null,d),b=s.child,b.memoizedState=ez(d),b.childLanes=tz(a,m,d),s.memoizedState=GL,s=KE(null,b));else if(am(s),Koe(),(d&536870912)!==0&&i8(s),Mz(ae)){if(m=ae.nextSibling&&ae.nextSibling.dataset,m){I=m.dgst;var se=m.msg;z=m.stck;var te=m.cstck}v=se,m=I,b=z,ae=te,I=v,z=ae,I=Error(I||\"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.\"),I.stack=b||\"\",I.digest=m,m=z===void 0?null:z,b={value:I,source:null,stack:m},typeof m==\"string\"&&AL.set(I,b),NE(b),s=nz(a,s,d)}else if(Oo||l1(a,s,d,!1),m=(d&a.childLanes)!==0,Oo||m){if(m=hn,m!==null&&(b=Pr(m,d),b!==0&&b!==F.retryLane))throw F.retryLane=b,Fi(a,b),Yn(m,a,b),qL;Bz(ae)||a8(),s=nz(a,s,d)}else Bz(ae)?(s.flags|=192,s.child=a.child,s=null):(a=F.treeContext,Rn=Fs(ae.nextSibling),_i=s,or=!0,vm=null,Ql=!1,Ks=null,Cc=!1,a!==null&&Goe(s,a),s=rz(s,b.children),s.flags|=4096);return s}}return v?(sm(s),I=b.fallback,z=s.mode,te=a.child,ae=te.sibling,b=hf(te,{mode:\"hidden\",children:b.children}),b.subtreeFlags=te.subtreeFlags&65011712,ae!==null?I=hf(ae,I):(I=Z0(I,z,d,null),I.flags|=2),I.return=s,b.return=s,b.sibling=I,s.child=b,KE(null,b),b=s.child,I=a.child.memoizedState,I===null?I=ez(d):(z=I.cachePool,z!==null?(te=Io._currentValue,z=z.parent!==te?{parent:te,pool:te}:z):z=eie(),I={baseLanes:I.baseLanes|d,cachePool:z}),b.memoizedState=I,b.childLanes=tz(a,m,d),s.memoizedState=GL,KE(a.child,b)):(F!==null&&(d&62914560)===d&&(d&a.lanes)!==0&&i8(s),am(s),d=a.child,a=d.sibling,d=hf(d,{mode:\"visible\",children:b.children}),d.return=s,d.sibling=null,a!==null&&(m=s.deletions,m===null?(s.deletions=[a],s.flags|=16):m.push(a)),s.child=d,s.memoizedState=null,d)}function rz(a,s){return s=e8({mode:\"visible\",children:s},a.mode),s.return=a,a.child=s}function e8(a,s){return a=w(22,a,null,s),a.lanes=0,a}function nz(a,s,d){return hy(s,a.child,null,d),a=rz(s,s.pendingProps.children),a.flags|=2,s.memoizedState=null,a}function oae(a,s,d){a.lanes|=s;var m=a.alternate;m!==null&&(m.lanes|=s),u$(a.return,s,d)}function oz(a,s,d,m,b,v){var S=a.memoizedState;S===null?a.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:m,tail:d,tailMode:b,treeForkCount:v}:(S.isBackwards=s,S.rendering=null,S.renderingStartTime=0,S.last=m,S.tail=d,S.tailMode=b,S.treeForkCount=v)}function iae(a,s,d){var m=s.pendingProps,b=m.revealOrder,v=m.tail,S=m.children,I=vo.current;if((m=(I&U_)!==0)?(I=I&K1|U_,s.flags|=128):I&=K1,N(vo,I,s),I=b??\"null\",b!==\"forwards\"&&b!==\"unstable_legacy-backwards\"&&b!==\"together\"&&b!==\"independent\"&&!Fue[I])if(Fue[I]=!0,b==null)console.error(\\'The default for the <SuspenseList revealOrder=\"...\"> prop is changing. To be future compatible you must explictly specify either \"independent\" (the current default), \"together\", \"forwards\" or \"legacy_unstable-backwards\".\\');else if(b===\"backwards\")console.error(\\'The rendering order of <SuspenseList revealOrder=\"backwards\"> is changing. To be future compatible you must specify revealOrder=\"legacy_unstable-backwards\" instead.\\');else if(typeof b==\"string\")switch(b.toLowerCase()){case\"together\":case\"forwards\":case\"backwards\":case\"independent\":console.error(\\'\"%s\" is not a valid value for revealOrder on <SuspenseList />. Use lowercase \"%s\" instead.\\',b,b.toLowerCase());break;case\"forward\":case\"backward\":console.error(\\'\"%s\" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use \"%ss\" instead.\\',b,b.toLowerCase());break;default:console.error(\\'\"%s\" is not a supported revealOrder on <SuspenseList />. Did you mean \"independent\", \"together\", \"forwards\" or \"backwards\"?\\',b)}else console.error(\\'%s is not a supported value for revealOrder on <SuspenseList />. Did you mean \"independent\", \"together\", \"forwards\" or \"backwards\"?\\',b);I=v??\"null\",Y8[I]||(v==null?(b===\"forwards\"||b===\"backwards\"||b===\"unstable_legacy-backwards\")&&(Y8[I]=!0,console.error(\\'The default for the <SuspenseList tail=\"...\"> prop is changing. To be future compatible you must explictly specify either \"visible\" (the current default), \"collapsed\" or \"hidden\".\\')):v!==\"visible\"&&v!==\"collapsed\"&&v!==\"hidden\"?(Y8[I]=!0,console.error(\\'\"%s\" is not a supported value for tail on <SuspenseList />. Did you mean \"visible\", \"collapsed\" or \"hidden\"?\\',v)):b!==\"forwards\"&&b!==\"backwards\"&&b!==\"unstable_legacy-backwards\"&&(Y8[I]=!0,console.error(\\'<SuspenseList tail=\"%s\" /> is only valid if revealOrder is \"forwards\" or \"backwards\". Did you mean to specify revealOrder=\"forwards\"?\\',v)));e:if((b===\"forwards\"||b===\"backwards\"||b===\"unstable_legacy-backwards\")&&S!==void 0&&S!==null&&S!==!1)if(Go(S)){for(I=0;I<S.length;I++)if(!lie(S[I],I))break e}else if(I=K(S),typeof I==\"function\"){if(I=I.call(S))for(var z=I.next(),F=0;!z.done;z=I.next()){if(!lie(z.value,F))break e;F++}}else console.error(\\'A single row was passed to a <SuspenseList revealOrder=\"%s\" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?\\',b);if(vi(a,s,S,d),or?(em(),S=E_):S=0,!m&&a!==null&&(a.flags&128)!==0)e:for(a=s.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&oae(a,d,s);else if(a.tag===19)oae(a,d,s);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break e;for(;a.sibling===null;){if(a.return===null||a.return===s)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(b){case\"forwards\":for(d=s.child,b=null;d!==null;)a=d.alternate,a!==null&&$C(a)===null&&(b=d),d=d.sibling;d=b,d===null?(b=s.child,s.child=null):(b=d.sibling,d.sibling=null),oz(s,!1,b,d,v,S);break;case\"backwards\":case\"unstable_legacy-backwards\":for(d=null,b=s.child,s.child=null;b!==null;){if(a=b.alternate,a!==null&&$C(a)===null){s.child=b;break}a=b.sibling,b.sibling=d,d=b,b=a}oz(s,!0,d,null,v,S);break;case\"together\":oz(s,!1,null,null,void 0,S);break;default:s.memoizedState=null}return s.child}function xf(a,s,d){if(a!==null&&(s.dependencies=a.dependencies),ma=-1,Im|=s.lanes,(d&s.childLanes)===0)if(a!==null){if(l1(a,s,d,!1),(d&s.childLanes)===0)return null}else return null;if(a!==null&&s.child!==a.child)throw Error(\"Resuming work not yet implemented.\");if(s.child!==null){for(a=s.child,d=hf(a,a.pendingProps),s.child=d,d.return=s;a.sibling!==null;)a=a.sibling,d=d.sibling=hf(a,a.pendingProps),d.return=s;d.sibling=null}return s.child}function iz(a,s){return(a.lanes&s)!==0?!0:(a=a.dependencies,!!(a!==null&&CC(a)))}function $ct(a,s,d){switch(s.tag){case 3:k(s,s.stateNode.containerInfo),rm(s,Io,a.memoizedState.cache),J0();break;case 27:case 5:L(s);break;case 4:k(s,s.stateNode.containerInfo);break;case 10:rm(s,s.type,s.memoizedProps.value);break;case 12:(d&s.childLanes)!==0&&(s.flags|=4),s.flags|=2048;var m=s.stateNode;m.effectDuration=-0,m.passiveEffectDuration=-0;break;case 31:if(s.memoizedState!==null)return s.flags|=128,v$(s),null;break;case 13:if(m=s.memoizedState,m!==null)return m.dehydrated!==null?(am(s),s.flags|=128,null):(d&s.child.childLanes)!==0?nae(a,s,d):(am(s),a=xf(a,s,d),a!==null?a.sibling:null);am(s);break;case 19:var b=(a.flags&128)!==0;if(m=(d&s.childLanes)!==0,m||(l1(a,s,d,!1),m=(d&s.childLanes)!==0),b){if(m)return iae(a,s,d);s.flags|=128}if(b=s.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),N(vo,vo.current,s),m)break;return null;case 22:return s.lanes=0,Qie(a,s,d,s.pendingProps);case 24:rm(s,Io,a.memoizedState.cache)}return xf(a,s,d)}function az(a,s,d){if(s._debugNeedsRemount&&a!==null){d=r$(s.type,s.key,s.pendingProps,s._debugOwner||null,s.mode,s.lanes),d._debugStack=s._debugStack,d._debugTask=s._debugTask;var m=s.return;if(m===null)throw Error(\"Cannot swap the root fiber.\");if(a.alternate=null,s.alternate=null,d.index=s.index,d.sibling=s.sibling,d.return=s.return,d.ref=s.ref,d._debugInfo=s._debugInfo,s===m.child)m.child=d;else{var b=m.child;if(b===null)throw Error(\"Expected parent to have a child.\");for(;b.sibling!==s;)if(b=b.sibling,b===null)throw Error(\"Expected to find the previous sibling.\");b.sibling=d}return s=m.deletions,s===null?(m.deletions=[a],m.flags|=16):s.push(a),d.flags|=2,d}if(a!==null)if(a.memoizedProps!==s.pendingProps||s.type!==a.type)Oo=!0;else{if(!iz(a,d)&&(s.flags&128)===0)return Oo=!1,$ct(a,s,d);Oo=(a.flags&131072)!==0}else Oo=!1,(m=or)&&(em(),m=(s.flags&1048576)!==0),m&&(m=s.index,em(),Voe(s,E_,m));switch(s.lanes=0,s.tag){case 16:e:if(m=s.pendingProps,a=nm(s.elementType),s.type=a,typeof a==\"function\")t$(a)?(m=ry(a,m),s.tag=1,s.type=a=K0(a),s=tae(null,s,a,m,d)):(s.tag=0,X$(s,a),s.type=a=K0(a),s=Y$(null,s,a,m,d));else{if(a!=null){if(b=a.$$typeof,b===u_){s.tag=11,s.type=a=e$(a),s=Zie(null,s,a,m,d);break e}else if(b===v8){s.tag=14,s=Wie(null,s,a,m,d);break e}}throw s=\"\",a!==null&&typeof a==\"object\"&&a.$$typeof===Vs&&(s=\" Did you wrap a component in React.lazy() more than once?\"),d=Q(a)||a,Error(\"Element type is invalid. Received a promise that resolves to: \"+d+\". Lazy element type must resolve to a class or function.\"+s)}return s;case 0:return Y$(a,s,s.type,s.pendingProps,d);case 1:return m=s.type,b=ry(m,s.pendingProps),tae(a,s,m,b,d);case 3:e:{if(k(s,s.stateNode.containerInfo),a===null)throw Error(\"Should have a current fiber. This is a bug in React.\");m=s.pendingProps;var v=s.memoizedState;b=v.element,b$(a,s),FE(s,m,null,d);var S=s.memoizedState;if(m=S.cache,rm(s,Io,m),m!==v.cache&&l$(s,[Io],d,!0),jE(),m=S.element,v.isDehydrated)if(v={element:m,isDehydrated:!1,cache:S.cache},s.updateQueue.baseState=v,s.memoizedState=v,s.flags&256){s=rae(a,s,m,d);break e}else if(m!==b){b=$s(Error(\"This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.\"),s),NE(b),s=rae(a,s,m,d);break e}else for(a=s.stateNode.containerInfo,a.nodeType===9?a=a.body:a=a.nodeName===\"HTML\"?a.ownerDocument.body:a,Rn=Fs(a.firstChild),_i=s,or=!0,vm=null,Ql=!1,Ks=null,Cc=!0,d=gue(s,null,m,d),s.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling;else{if(J0(),m===b){s=xf(a,s,d);break e}vi(a,s,m,d)}s=s.child}return s;case 26:return XC(a,s),a===null?(d=Pse(s.type,null,s.pendingProps,null))?s.memoizedState=d:or||(d=s.type,a=s.pendingProps,m=_(pm.current),m=l8(m).createElement(d),m[Ei]=s,m[da]=a,wi(m,d,a),Le(m),s.stateNode=m):s.memoizedState=Pse(s.type,a.memoizedProps,s.pendingProps,a.memoizedState),null;case 27:return L(s),a===null&&or&&(m=_(pm.current),b=B(),m=s.stateNode=Tse(s.type,s.pendingProps,m,b,!1),Ql||(b=yse(m,s.type,s.pendingProps,b),b!==null&&(W0(s,0).serverProps=b)),_i=s,Cc=!0,b=Rn,dm(s.type)?(hH=b,Rn=Fs(m.firstChild)):Rn=b),vi(a,s,s.pendingProps.children,d),XC(a,s),a===null&&(s.flags|=4194304),s.child;case 5:return a===null&&or&&(v=B(),m=GU(s.type,v.ancestorInfo),b=Rn,(S=!b)||(S=kut(b,s.type,s.pendingProps,Cc),S!==null?(s.stateNode=S,Ql||(v=yse(S,s.type,s.pendingProps,v),v!==null&&(W0(s,0).serverProps=v)),_i=s,Rn=Fs(S.firstChild),Cc=!1,v=!0):v=!1,S=!v),S&&(m&&AC(s,b),tm(s))),L(s),b=s.type,v=s.pendingProps,S=a!==null?a.memoizedProps:null,m=v.children,Rz(b,v)?m=null:S!==null&&Rz(b,S)&&(s.flags|=32),s.memoizedState!==null&&(b=E$(a,s,Pct,null,null,d),tS._currentValue=b),XC(a,s),vi(a,s,m,d),s.child;case 6:return a===null&&or&&(d=s.pendingProps,a=B(),m=a.ancestorInfo.current,d=m!=null?hC(d,m.tag,a.ancestorInfo.implicitRootScope):!0,a=Rn,(m=!a)||(m=Cut(a,s.pendingProps,Cc),m!==null?(s.stateNode=m,_i=s,Rn=null,m=!0):m=!1,m=!m),m&&(d&&AC(s,a),tm(s))),null;case 13:return nae(a,s,d);case 4:return k(s,s.stateNode.containerInfo),m=s.pendingProps,a===null?s.child=hy(s,null,m,d):vi(a,s,m,d),s.child;case 11:return Zie(a,s,s.type,s.pendingProps,d);case 7:return vi(a,s,s.pendingProps,d),s.child;case 8:return vi(a,s,s.pendingProps.children,d),s.child;case 12:return s.flags|=4,s.flags|=2048,m=s.stateNode,m.effectDuration=-0,m.passiveEffectDuration=-0,vi(a,s,s.pendingProps.children,d),s.child;case 10:return m=s.type,b=s.pendingProps,v=b.value,\"value\"in b||Vue||(Vue=!0,console.error(\"The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?\")),rm(s,m,v),vi(a,s,b.children,d),s.child;case 9:return b=s.type._context,m=s.pendingProps.children,typeof m!=\"function\"&&console.error(\"A context consumer was rendered with multiple children, or a child that isn\\'t a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.\"),Q0(s),b=Un(b),m=BL(m,b,void 0),s.flags|=1,vi(a,s,m,d),s.child;case 14:return Wie(a,s,s.type,s.pendingProps,d);case 15:return Jie(a,s,s.type,s.pendingProps,d);case 19:return iae(a,s,d);case 31:return Uct(a,s,d);case 22:return Qie(a,s,d,s.pendingProps);case 24:return Q0(s),m=Un(Io),a===null?(b=m$(),b===null&&(b=hn,v=d$(),b.pooledCache=v,Y0(v),v!==null&&(b.pooledCacheLanes|=d),b=v),s.memoizedState={parent:m,cache:b},y$(s),rm(s,Io,b)):((a.lanes&d)!==0&&(b$(a,s),FE(s,null,null,d),jE()),b=a.memoizedState,v=s.memoizedState,b.parent!==m?(b={parent:m,cache:m},s.memoizedState=b,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=b),rm(s,Io,m)):(m=v.cache,rm(s,Io,m),m!==b.cache&&l$(s,[Io],d,!0))),vi(a,s,s.pendingProps.children,d),s.child;case 29:throw s.pendingProps}throw Error(\"Unknown unit of work tag (\"+s.tag+\"). This error is likely caused by a bug in React. Please file an issue.\")}function vf(a){a.flags|=4}function sz(a,s,d,m,b){if((s=(a.mode&idt)!==mt)&&(s=!1),s){if(a.flags|=16777216,(b&335544128)===b)if(a.stateNode.complete)a.flags|=8192;else if($ae())a.flags|=8192;else throw my=G8,DL}else a.flags&=-16777217}function aae(a,s){if(s.type!==\"stylesheet\"||(s.state.loading&Oc)!==ky)a.flags&=-16777217;else if(a.flags|=16777216,!Dse(s))if($ae())a.flags|=8192;else throw my=G8,DL}function t8(a,s){s!==null&&(a.flags|=4),a.flags&16384&&(s=a.tag!==22?$r():536870912,a.lanes|=s,vy|=s)}function ZE(a,s){if(!or)switch(a.tailMode){case\"hidden\":s=a.tail;for(var d=null;s!==null;)s.alternate!==null&&(d=s),s=s.sibling;d===null?a.tail=null:d.sibling=null;break;case\"collapsed\":d=a.tail;for(var m=null;d!==null;)d.alternate!==null&&(m=d),d=d.sibling;m===null?s||a.tail===null?a.tail=null:a.tail.sibling=null:m.sibling=null}}function An(a){var s=a.alternate!==null&&a.alternate.child===a.child,d=0,m=0;if(s)if((a.mode&Ut)!==mt){for(var b=a.selfBaseDuration,v=a.child;v!==null;)d|=v.lanes|v.childLanes,m|=v.subtreeFlags&65011712,m|=v.flags&65011712,b+=v.treeBaseDuration,v=v.sibling;a.treeBaseDuration=b}else for(b=a.child;b!==null;)d|=b.lanes|b.childLanes,m|=b.subtreeFlags&65011712,m|=b.flags&65011712,b.return=a,b=b.sibling;else if((a.mode&Ut)!==mt){b=a.actualDuration,v=a.selfBaseDuration;for(var S=a.child;S!==null;)d|=S.lanes|S.childLanes,m|=S.subtreeFlags,m|=S.flags,b+=S.actualDuration,v+=S.treeBaseDuration,S=S.sibling;a.actualDuration=b,a.treeBaseDuration=v}else for(b=a.child;b!==null;)d|=b.lanes|b.childLanes,m|=b.subtreeFlags,m|=b.flags,b.return=a,b=b.sibling;return a.subtreeFlags|=m,a.childLanes=d,s}function zct(a,s,d){var m=s.pendingProps;switch(a$(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return An(s),null;case 1:return An(s),null;case 3:return d=s.stateNode,m=null,a!==null&&(m=a.memoizedState.cache),s.memoizedState.cache!==m&&(s.flags|=2048),bf(Io,s),O(s),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(a===null||a.child===null)&&(u1(s)?(c$(),vf(s)):a===null||a.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,s$())),An(s),null;case 26:var b=s.type,v=s.memoizedState;return a===null?(vf(s),v!==null?(An(s),aae(s,v)):(An(s),sz(s,b,null,m,d))):v?v!==a.memoizedState?(vf(s),An(s),aae(s,v)):(An(s),s.flags&=-16777217):(a=a.memoizedProps,a!==m&&vf(s),An(s),sz(s,b,a,m,d)),null;case 27:if(q(s),d=_(pm.current),b=s.type,a!==null&&s.stateNode!=null)a.memoizedProps!==m&&vf(s);else{if(!m){if(s.stateNode===null)throw Error(\"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\");return An(s),null}a=B(),u1(s)?Zoe(s,a):(a=Tse(b,m,d,a,!0),s.stateNode=a,vf(s))}return An(s),null;case 5:if(q(s),b=s.type,a!==null&&s.stateNode!=null)a.memoizedProps!==m&&vf(s);else{if(!m){if(s.stateNode===null)throw Error(\"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\");return An(s),null}var S=B();if(u1(s))Zoe(s,S);else{switch(v=_(pm.current),GU(b,S.ancestorInfo),S=S.context,v=l8(v),S){case ix:v=v.createElementNS(I1,b);break;case gT:v=v.createElementNS(C8,b);break;default:switch(b){case\"svg\":v=v.createElementNS(I1,b);break;case\"math\":v=v.createElementNS(C8,b);break;case\"script\":v=v.createElement(\"div\"),v.innerHTML=\"<script><\\\\/script>\",v=v.removeChild(v.firstChild);break;case\"select\":v=typeof m.is==\"string\"?v.createElement(\"select\",{is:m.is}):v.createElement(\"select\"),m.multiple?v.multiple=!0:m.size&&(v.size=m.size);break;default:v=typeof m.is==\"string\"?v.createElement(b,{is:m.is}):v.createElement(b),b.indexOf(\"-\")===-1&&(b!==b.toLowerCase()&&console.error(\"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.\",b),Object.prototype.toString.call(v)!==\"[object HTMLUnknownElement]\"||Cu.call(mle,b)||(mle[b]=!0,console.error(\"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.\",b)))}}v[Ei]=s,v[da]=m;e:for(S=s.child;S!==null;){if(S.tag===5||S.tag===6)v.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===s)break e;for(;S.sibling===null;){if(S.return===null||S.return===s)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}s.stateNode=v;e:switch(wi(v,b,m),b){case\"button\":case\"input\":case\"select\":case\"textarea\":m=!!m.autoFocus;break e;case\"img\":m=!0;break e;default:m=!1}m&&vf(s)}}return An(s),sz(s,s.type,a===null?null:a.memoizedProps,s.pendingProps,d),null;case 6:if(a&&s.stateNode!=null)a.memoizedProps!==m&&vf(s);else{if(typeof m!=\"string\"&&s.stateNode===null)throw Error(\"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\");if(a=_(pm.current),d=B(),u1(s)){if(a=s.stateNode,d=s.memoizedProps,b=!Ql,m=null,v=_i,v!==null)switch(v.tag){case 3:b&&(b=kse(a,d,m),b!==null&&(W0(s,0).serverProps=b));break;case 27:case 5:m=v.memoizedProps,b&&(b=kse(a,d,m),b!==null&&(W0(s,0).serverProps=b))}a[Ei]=s,a=!!(a.nodeValue===d||m!==null&&m.suppressHydrationWarning===!0||dse(a.nodeValue,d)),a||tm(s,!0)}else b=d.ancestorInfo.current,b!=null&&hC(m,b.tag,d.ancestorInfo.implicitRootScope),a=l8(a).createTextNode(m),a[Ei]=s,s.stateNode=a}return An(s),null;case 31:if(d=s.memoizedState,a===null||a.memoizedState!==null){if(m=u1(s),d!==null){if(a===null){if(!m)throw Error(\"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.\");if(a=s.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(\"Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.\");a[Ei]=s,An(s),(s.mode&Ut)!==mt&&d!==null&&(a=s.child,a!==null&&(s.treeBaseDuration-=a.treeBaseDuration))}else c$(),J0(),(s.flags&128)===0&&(d=s.memoizedState=null),s.flags|=4,An(s),(s.mode&Ut)!==mt&&d!==null&&(a=s.child,a!==null&&(s.treeBaseDuration-=a.treeBaseDuration));a=!1}else d=s$(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=d),a=!0;if(!a)return s.flags&256?(Hs(s),s):(Hs(s),null);if((s.flags&128)!==0)throw Error(\"Client rendering an Activity suspended it again. This is a bug in React.\")}return An(s),null;case 13:if(m=s.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(b=m,v=u1(s),b!==null&&b.dehydrated!==null){if(a===null){if(!v)throw Error(\"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.\");if(v=s.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(\"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.\");v[Ei]=s,An(s),(s.mode&Ut)!==mt&&b!==null&&(b=s.child,b!==null&&(s.treeBaseDuration-=b.treeBaseDuration))}else c$(),J0(),(s.flags&128)===0&&(b=s.memoizedState=null),s.flags|=4,An(s),(s.mode&Ut)!==mt&&b!==null&&(b=s.child,b!==null&&(s.treeBaseDuration-=b.treeBaseDuration));b=!1}else b=s$(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=b),b=!0;if(!b)return s.flags&256?(Hs(s),s):(Hs(s),null)}return Hs(s),(s.flags&128)!==0?(s.lanes=d,(s.mode&Ut)!==mt&&zE(s),s):(d=m!==null,a=a!==null&&a.memoizedState!==null,d&&(m=s.child,b=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(b=m.alternate.memoizedState.cachePool.pool),v=null,m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(v=m.memoizedState.cachePool.pool),v!==b&&(m.flags|=2048)),d!==a&&d&&(s.child.flags|=8192),t8(s,s.updateQueue),An(s),(s.mode&Ut)!==mt&&d&&(a=s.child,a!==null&&(s.treeBaseDuration-=a.treeBaseDuration)),null);case 4:return O(s),a===null&&Sz(s.stateNode.containerInfo),An(s),null;case 10:return bf(s.type,s),An(s),null;case 19:if(ce(vo,s),m=s.memoizedState,m===null)return An(s),null;if(b=(s.flags&128)!==0,v=m.rendering,v===null)if(b)ZE(m,!1);else{if(qn!==Df||a!==null&&(a.flags&128)!==0)for(a=s.child;a!==null;){if(v=$C(a),v!==null){for(s.flags|=128,ZE(m,!1),a=v.updateQueue,s.updateQueue=a,t8(s,a),s.subtreeFlags=0,a=d,d=s.child;d!==null;)joe(d,a),d=d.sibling;return N(vo,vo.current&K1|U_,s),or&&yf(s,m.treeForkCount),s.child}a=a.sibling}m.tail!==null&&ni()>iT&&(s.flags|=128,b=!0,ZE(m,!1),s.lanes=4194304)}else{if(!b)if(a=$C(v),a!==null){if(s.flags|=128,b=!0,a=a.updateQueue,s.updateQueue=a,t8(s,a),ZE(m,!0),m.tail===null&&m.tailMode===\"hidden\"&&!v.alternate&&!or)return An(s),null}else 2*ni()-m.renderingStartTime>iT&&d!==536870912&&(s.flags|=128,b=!0,ZE(m,!1),s.lanes=4194304);m.isBackwards?(v.sibling=s.child,s.child=v):(a=m.last,a!==null?a.sibling=v:s.child=v,m.last=v)}return m.tail!==null?(a=m.tail,m.rendering=a,m.tail=a.sibling,m.renderingStartTime=ni(),a.sibling=null,d=vo.current,d=b?d&K1|U_:d&K1,N(vo,d,s),or&&yf(s,m.treeForkCount),a):(An(s),null);case 22:case 23:return Hs(s),x$(s),m=s.memoizedState!==null,a!==null?a.memoizedState!==null!==m&&(s.flags|=8192):m&&(s.flags|=8192),m?(d&536870912)!==0&&(s.flags&128)===0&&(An(s),s.subtreeFlags&6&&(s.flags|=8192)):An(s),d=s.updateQueue,d!==null&&t8(s,d.retryQueue),d=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),m=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(m=s.memoizedState.cachePool.pool),m!==d&&(s.flags|=2048),a!==null&&ce(fy,s),null;case 24:return d=null,a!==null&&(d=a.memoizedState.cache),s.memoizedState.cache!==d&&(s.flags|=2048),bf(Io,s),An(s),null;case 25:return null;case 30:return null}throw Error(\"Unknown unit of work tag (\"+s.tag+\"). This error is likely caused by a bug in React. Please file an issue.\")}function Lct(a,s){switch(a$(s),s.tag){case 1:return a=s.flags,a&65536?(s.flags=a&-65537|128,(s.mode&Ut)!==mt&&zE(s),s):null;case 3:return bf(Io,s),O(s),a=s.flags,(a&65536)!==0&&(a&128)===0?(s.flags=a&-65537|128,s):null;case 26:case 27:case 5:return q(s),null;case 31:if(s.memoizedState!==null){if(Hs(s),s.alternate===null)throw Error(\"Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.\");J0()}return a=s.flags,a&65536?(s.flags=a&-65537|128,(s.mode&Ut)!==mt&&zE(s),s):null;case 13:if(Hs(s),a=s.memoizedState,a!==null&&a.dehydrated!==null){if(s.alternate===null)throw Error(\"Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.\");J0()}return a=s.flags,a&65536?(s.flags=a&-65537|128,(s.mode&Ut)!==mt&&zE(s),s):null;case 19:return ce(vo,s),null;case 4:return O(s),null;case 10:return bf(s.type,s),null;case 22:case 23:return Hs(s),x$(s),a!==null&&ce(fy,s),a=s.flags,a&65536?(s.flags=a&-65537|128,(s.mode&Ut)!==mt&&zE(s),s):null;case 24:return bf(Io,s),null;case 25:return null;default:return null}}function sae(a,s){switch(a$(s),s.tag){case 3:bf(Io,s),O(s);break;case 26:case 27:case 5:q(s);break;case 4:O(s);break;case 31:s.memoizedState!==null&&Hs(s);break;case 13:Hs(s);break;case 19:ce(vo,s);break;case 10:bf(s.type,s);break;case 22:case 23:Hs(s),x$(s),a!==null&&ce(fy,s);break;case 24:bf(Io,s)}}function $l(a){return(a.mode&Ut)!==mt}function cae(a,s){$l(a)?(Ul(),WE(s,a),Nl()):WE(s,a)}function cz(a,s,d){$l(a)?(Ul(),h1(d,a,s),Nl()):h1(d,a,s)}function WE(a,s){try{var d=s.updateQueue,m=d!==null?d.lastEffect:null;if(m!==null){var b=m.next;d=b;do{if((d.tag&a)===a&&(m=void 0,(a&ha)!==Z8&&(rx=!0),m=Pe(s,ldt,d),(a&ha)!==Z8&&(rx=!1),m!==void 0&&typeof m!=\"function\")){var v=void 0;v=(d.tag&Ws)!==0?\"useLayoutEffect\":(d.tag&ha)!==0?\"useInsertionEffect\":\"useEffect\";var S=void 0;S=m===null?\" You returned null. If your effect does not require clean up, return undefined (or nothing).\":typeof m.then==\"function\"?`\\n\\nIt looks like you wrote `+v+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\\n\\n`+v+`(() => {\\n  async function fetchData() {\\n    // You can await here\\n    const response = await MyAPI.getData(someId);\\n    // ...\\n  }\\n  fetchData();\\n}, [someId]); // Or [] if effect doesn\\'t need props or state\\n\\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:\" You returned: \"+m,Pe(s,function(I,z){console.error(\"%s must not return anything besides a function, which is used for clean-up.%s\",I,z)},v,S)}d=d.next}while(d!==b)}}catch(I){Nr(s,s.return,I)}}function h1(a,s,d){try{var m=s.updateQueue,b=m!==null?m.lastEffect:null;if(b!==null){var v=b.next;m=v;do{if((m.tag&a)===a){var S=m.inst,I=S.destroy;I!==void 0&&(S.destroy=void 0,(a&ha)!==Z8&&(rx=!0),b=s,Pe(b,ddt,b,d,I),(a&ha)!==Z8&&(rx=!1))}m=m.next}while(m!==v)}}catch(z){Nr(s,s.return,z)}}function uae(a,s){$l(a)?(Ul(),WE(s,a),Nl()):WE(s,a)}function uz(a,s,d){$l(a)?(Ul(),h1(d,a,s),Nl()):h1(d,a,s)}function lae(a){var s=a.updateQueue;if(s!==null){var d=a.stateNode;a.type.defaultProps||\"ref\"in a.memoizedProps||Q1||(d.props!==a.memoizedProps&&console.error(\"Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",Y(a)||\"instance\"),d.state!==a.memoizedState&&console.error(\"Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",Y(a)||\"instance\"));try{Pe(a,fie,s,d)}catch(m){Nr(a,a.return,m)}}}function Hct(a,s,d){return a.getSnapshotBeforeUpdate(s,d)}function jct(a,s){var d=s.memoizedProps,m=s.memoizedState;s=a.stateNode,a.type.defaultProps||\"ref\"in a.memoizedProps||Q1||(s.props!==a.memoizedProps&&console.error(\"Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",Y(a)||\"instance\"),s.state!==a.memoizedState&&console.error(\"Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",Y(a)||\"instance\"));try{var b=ry(a.type,d),v=Pe(a,Hct,s,b,m);d=que,v!==void 0||d.has(a.type)||(d.add(a.type),Pe(a,function(){console.error(\"%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.\",Y(a))})),s.__reactInternalSnapshotBeforeUpdate=v}catch(S){Nr(a,a.return,S)}}function dae(a,s,d){d.props=ry(a.type,a.memoizedProps),d.state=a.memoizedState,$l(a)?(Ul(),Pe(a,lue,a,s,d),Nl()):Pe(a,lue,a,s,d)}function Fct(a){var s=a.ref;if(s!==null){switch(a.tag){case 26:case 27:case 5:var d=a.stateNode;break;case 30:d=a.stateNode;break;default:d=a.stateNode}if(typeof s==\"function\")if($l(a))try{Ul(),a.refCleanup=s(d)}finally{Nl()}else a.refCleanup=s(d);else typeof s==\"string\"?console.error(\"String refs are no longer supported.\"):s.hasOwnProperty(\"current\")||console.error(\"Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().\",Y(a)),s.current=d}}function JE(a,s){try{Pe(a,Fct,a)}catch(d){Nr(a,s,d)}}function zl(a,s){var d=a.ref,m=a.refCleanup;if(d!==null)if(typeof m==\"function\")try{if($l(a))try{Ul(),Pe(a,m)}finally{Nl(a)}else Pe(a,m)}catch(b){Nr(a,s,b)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof d==\"function\")try{if($l(a))try{Ul(),Pe(a,d,null)}finally{Nl(a)}else Pe(a,d,null)}catch(b){Nr(a,s,b)}else d.current=null}function fae(a,s,d,m){var b=a.memoizedProps,v=b.id,S=b.onCommit;b=b.onRender,s=s===null?\"mount\":\"update\",j8&&(s=\"nested-update\"),typeof b==\"function\"&&b(v,s,a.actualDuration,a.treeBaseDuration,a.actualStartTime,d),typeof S==\"function\"&&S(v,s,m,d)}function Vct(a,s,d,m){var b=a.memoizedProps;a=b.id,b=b.onPostCommit,s=s===null?\"mount\":\"update\",j8&&(s=\"nested-update\"),typeof b==\"function\"&&b(a,s,m,d)}function pae(a){var s=a.type,d=a.memoizedProps,m=a.stateNode;try{Pe(a,mut,m,s,d,a)}catch(b){Nr(a,a.return,b)}}function lz(a,s,d){try{Pe(a,yut,a.stateNode,a.type,d,s,a)}catch(m){Nr(a,a.return,m)}}function mae(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&dm(a.type)||a.tag===4}function dz(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||mae(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&dm(a.type)||a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function fz(a,s,d){var m=a.tag;if(m===5||m===6)a=a.stateNode,s?(wse(d),(d.nodeType===9?d.body:d.nodeName===\"HTML\"?d.ownerDocument.body:d).insertBefore(a,s)):(wse(d),s=d.nodeType===9?d.body:d.nodeName===\"HTML\"?d.ownerDocument.body:d,s.appendChild(a),d=d._reactRootContainer,d!=null||s.onclick!==null||(s.onclick=mf));else if(m!==4&&(m===27&&dm(a.type)&&(d=a.stateNode,s=null),a=a.child,a!==null))for(fz(a,s,d),a=a.sibling;a!==null;)fz(a,s,d),a=a.sibling}function r8(a,s,d){var m=a.tag;if(m===5||m===6)a=a.stateNode,s?d.insertBefore(a,s):d.appendChild(a);else if(m!==4&&(m===27&&dm(a.type)&&(d=a.stateNode),a=a.child,a!==null))for(r8(a,s,d),a=a.sibling;a!==null;)r8(a,s,d),a=a.sibling}function qct(a){for(var s,d=a.return;d!==null;){if(mae(d)){s=d;break}d=d.return}if(s==null)throw Error(\"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\");switch(s.tag){case 27:s=s.stateNode,d=dz(a),r8(a,d,s);break;case 5:d=s.stateNode,s.flags&32&&(vse(d),s.flags&=-33),s=dz(a),r8(a,s,d);break;case 3:case 4:s=s.stateNode.containerInfo,d=dz(a),fz(a,d,s);break;default:throw Error(\"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.\")}}function hae(a){var s=a.stateNode,d=a.memoizedProps;try{Pe(a,Out,a.type,d,s,a)}catch(m){Nr(a,a.return,m)}}function yae(a,s){return s.tag===31?(s=s.memoizedState,a.memoizedState!==null&&s===null):s.tag===13?(a=a.memoizedState,s=s.memoizedState,a!==null&&a.dehydrated!==null&&(s===null||s.dehydrated===null)):s.tag===3?a.memoizedState.isDehydrated&&(s.flags&256)===0:!1}function Gct(a,s){if(a=a.containerInfo,fH=ET,a=Ooe(a),WU(a)){if(\"selectionStart\"in a)var d={start:a.selectionStart,end:a.selectionEnd};else e:{d=(d=a.ownerDocument)&&d.defaultView||window;var m=d.getSelection&&d.getSelection();if(m&&m.rangeCount!==0){d=m.anchorNode;var b=m.anchorOffset,v=m.focusNode;m=m.focusOffset;try{d.nodeType,v.nodeType}catch{d=null;break e}var S=0,I=-1,z=-1,F=0,ae=0,se=a,te=null;t:for(;;){for(var he;se!==d||b!==0&&se.nodeType!==3||(I=S+b),se!==v||m!==0&&se.nodeType!==3||(z=S+m),se.nodeType===3&&(S+=se.nodeValue.length),(he=se.firstChild)!==null;)te=se,se=he;for(;;){if(se===a)break t;if(te===d&&++F===b&&(I=S),te===v&&++ae===m&&(z=S),(he=se.nextSibling)!==null)break;se=te,te=se.parentNode}se=he}d=I===-1||z===-1?null:{start:I,end:z}}else d=null}d=d||{start:0,end:0}}else d=null;for(pH={focusedElem:a,selectionRange:d},ET=!1,ii=s;ii!==null;)if(s=ii,a=s.child,(s.subtreeFlags&1028)!==0&&a!==null)a.return=s,ii=a;else for(;ii!==null;){switch(a=s=ii,d=a.alternate,b=a.flags,a.tag){case 0:if((b&4)!==0&&(a=a.updateQueue,a=a!==null?a.events:null,a!==null))for(d=0;d<a.length;d++)b=a[d],b.ref.impl=b.nextImpl;break;case 11:case 15:break;case 1:(b&1024)!==0&&d!==null&&jct(a,d);break;case 3:if((b&1024)!==0){if(a=a.stateNode.containerInfo,d=a.nodeType,d===9)Oz(a);else if(d===1)switch(a.nodeName){case\"HEAD\":case\"HTML\":case\"BODY\":Oz(a);break;default:a.textContent=\"\"}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((b&1024)!==0)throw Error(\"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\")}if(a=s.sibling,a!==null){a.return=s.return,ii=a;break}ii=s.return}}function bae(a,s,d){var m=zs(),b=Ol(),v=Ml(),S=Dl(),I=d.flags;switch(d.tag){case 0:case 11:case 15:Ll(a,d),I&4&&cae(d,Ws|Pc);break;case 1:if(Ll(a,d),I&4)if(a=d.stateNode,s===null)d.type.defaultProps||\"ref\"in d.memoizedProps||Q1||(a.props!==d.memoizedProps&&console.error(\"Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",Y(d)||\"instance\"),a.state!==d.memoizedState&&console.error(\"Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",Y(d)||\"instance\")),$l(d)?(Ul(),Pe(d,ML,d,a),Nl()):Pe(d,ML,d,a);else{var z=ry(d.type,s.memoizedProps);s=s.memoizedState,d.type.defaultProps||\"ref\"in d.memoizedProps||Q1||(a.props!==d.memoizedProps&&console.error(\"Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.\",Y(d)||\"instance\"),a.state!==d.memoizedState&&console.error(\"Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.\",Y(d)||\"instance\")),$l(d)?(Ul(),Pe(d,sue,d,a,z,s,a.__reactInternalSnapshotBeforeUpdate),Nl()):Pe(d,sue,d,a,z,s,a.__reactInternalSnapshotBeforeUpdate)}I&64&&lae(d),I&512&&JE(d,d.return);break;case 3:if(s=gf(),Ll(a,d),I&64&&(I=d.updateQueue,I!==null)){if(z=null,d.child!==null)switch(d.child.tag){case 27:case 5:z=d.child.stateNode;break;case 1:z=d.child.stateNode}try{Pe(d,fie,I,z)}catch(ae){Nr(d,d.return,ae)}}a.effectDuration+=IC(s);break;case 27:s===null&&I&4&&hae(d);case 26:case 5:if(Ll(a,d),s===null){if(I&4)pae(d);else if(I&64){a=d.type,s=d.memoizedProps,z=d.stateNode;try{Pe(d,hut,z,a,s,d)}catch(ae){Nr(d,d.return,ae)}}}I&512&&JE(d,d.return);break;case 12:if(I&4){I=gf(),Ll(a,d),a=d.stateNode,a.effectDuration+=$E(I);try{Pe(d,fae,d,s,wm,a.effectDuration)}catch(ae){Nr(d,d.return,ae)}}else Ll(a,d);break;case 31:Ll(a,d),I&4&&vae(a,d);break;case 13:Ll(a,d),I&4&&wae(a,d),I&64&&(a=d.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(I=tut.bind(null,d),Tut(a,I))));break;case 22:if(I=d.memoizedState!==null||Mf,!I){s=s!==null&&s.memoizedState!==null||Bo,z=Mf;var F=Bo;Mf=I,(Bo=s)&&!F?(Hl(a,d,(d.subtreeFlags&8772)!==0),(d.mode&Ut)!==mt&&0<=ct&&0<=dt&&.05<dt-ct&&xC(d,ct,dt)):Ll(a,d),Mf=z,Bo=F}break;case 30:break;default:Ll(a,d)}(d.mode&Ut)!==mt&&0<=ct&&0<=dt&&((Xn||.05<Vn)&&Pl(d,ct,dt,Vn,$n),d.alternate===null&&d.return!==null&&d.return.alternate!==null&&.05<dt-ct&&(yae(d.return.alternate,d.return)||Il(d,ct,dt,\"Mount\"))),Ls(m),Bl(b),$n=v,Xn=S}function gae(a){var s=a.alternate;s!==null&&(a.alternate=null,gae(s)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(s=a.stateNode,s!==null&&Re(s)),a.stateNode=null,a._debugOwner=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function wf(a,s,d){for(d=d.child;d!==null;)xae(a,s,d),d=d.sibling}function xae(a,s,d){if(Vi&&typeof Vi.onCommitFiberUnmount==\"function\")try{Vi.onCommitFiberUnmount(C1,d)}catch(F){Kl||(Kl=!0,console.error(\"React instrumentation encountered an error: %o\",F))}var m=zs(),b=Ol(),v=Ml(),S=Dl();switch(d.tag){case 26:Bo||zl(d,s),wf(a,s,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(a=d.stateNode,a.parentNode.removeChild(a));break;case 27:Bo||zl(d,s);var I=Mo,z=rs;dm(d.type)&&(Mo=d.stateNode,rs=!1),wf(a,s,d),Pe(d,i_,d.stateNode),Mo=I,rs=z;break;case 5:Bo||zl(d,s);case 6:if(I=Mo,z=rs,Mo=null,wf(a,s,d),Mo=I,rs=z,Mo!==null)if(rs)try{Pe(d,xut,Mo,d.stateNode)}catch(F){Nr(d,s,F)}else try{Pe(d,gut,Mo,d.stateNode)}catch(F){Nr(d,s,F)}break;case 18:Mo!==null&&(rs?(a=Mo,Ese(a.nodeType===9?a.body:a.nodeName===\"HTML\"?a.ownerDocument.body:a,d.stateNode),_1(a)):Ese(Mo,d.stateNode));break;case 4:I=Mo,z=rs,Mo=d.stateNode.containerInfo,rs=!0,wf(a,s,d),Mo=I,rs=z;break;case 0:case 11:case 14:case 15:h1(ha,d,s),Bo||cz(d,s,Ws),wf(a,s,d);break;case 1:Bo||(zl(d,s),I=d.stateNode,typeof I.componentWillUnmount==\"function\"&&dae(d,s,I)),wf(a,s,d);break;case 21:wf(a,s,d);break;case 22:Bo=(I=Bo)||d.memoizedState!==null,wf(a,s,d),Bo=I;break;default:wf(a,s,d)}(d.mode&Ut)!==mt&&0<=ct&&0<=dt&&(Xn||.05<Vn)&&Pl(d,ct,dt,Vn,$n),Ls(m),Bl(b),$n=v,Xn=S}function vae(a,s){if(s.memoizedState===null&&(a=s.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{Pe(s,Put,a)}catch(d){Nr(s,s.return,d)}}}function wae(a,s){if(s.memoizedState===null&&(a=s.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Pe(s,Rut,a)}catch(d){Nr(s,s.return,d)}}function Kct(a){switch(a.tag){case 31:case 13:case 19:var s=a.stateNode;return s===null&&(s=a.stateNode=new Gue),s;case 22:return a=a.stateNode,s=a._retryCache,s===null&&(s=a._retryCache=new Gue),s;default:throw Error(\"Unexpected Suspense handler tag (\"+a.tag+\"). This is a bug in React.\")}}function n8(a,s){var d=Kct(a);s.forEach(function(m){if(!d.has(m)){if(d.add(m),Zl)if(Y1!==null&&X1!==null)e_(X1,Y1);else throw Error(\"Expected finished root and lanes to be set. This is a bug in React.\");var b=rut.bind(null,a,m);m.then(b,b)}})}function es(a,s){var d=s.deletions;if(d!==null)for(var m=0;m<d.length;m++){var b=a,v=s,S=d[m],I=zs(),z=v;e:for(;z!==null;){switch(z.tag){case 27:if(dm(z.type)){Mo=z.stateNode,rs=!1;break e}break;case 5:Mo=z.stateNode,rs=!1;break e;case 3:case 4:Mo=z.stateNode.containerInfo,rs=!0;break e}z=z.return}if(Mo===null)throw Error(\"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\");xae(b,v,S),Mo=null,rs=!1,(S.mode&Ut)!==mt&&0<=ct&&0<=dt&&.05<dt-ct&&Il(S,ct,dt,\"Unmount\"),Ls(I),b=S,v=b.alternate,v!==null&&(v.return=null),b.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)Eae(s,a),s=s.sibling}function Eae(a,s){var d=zs(),m=Ol(),b=Ml(),v=Dl(),S=a.alternate,I=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:es(s,a),ts(a),I&4&&(h1(ha|Pc,a,a.return),WE(ha|Pc,a),cz(a,a.return,Ws|Pc));break;case 1:if(es(s,a),ts(a),I&512&&(Bo||S===null||zl(S,S.return)),I&64&&Mf&&(I=a.updateQueue,I!==null&&(S=I.callbacks,S!==null))){var z=I.shared.hiddenCallbacks;I.shared.hiddenCallbacks=z===null?S:z.concat(S)}break;case 26:if(z=Ou,es(s,a),ts(a),I&512&&(Bo||S===null||zl(S,S.return)),I&4){var F=S!==null?S.memoizedState:null;if(I=a.memoizedState,S===null)if(I===null)if(a.stateNode===null){e:{I=a.type,S=a.memoizedProps,z=z.ownerDocument||z;t:switch(I){case\"title\":F=z.getElementsByTagName(\"title\")[0],(!F||F[f_]||F[Ei]||F.namespaceURI===I1||F.hasAttribute(\"itemprop\"))&&(F=z.createElement(I),z.head.insertBefore(F,z.querySelector(\"head > title\"))),wi(F,I,S),F[Ei]=a,Le(F),I=F;break e;case\"link\":var ae=Bse(\"link\",\"href\",z).get(I+(S.href||\"\"));if(ae){for(var se=0;se<ae.length;se++)if(F=ae[se],F.getAttribute(\"href\")===(S.href==null||S.href===\"\"?null:S.href)&&F.getAttribute(\"rel\")===(S.rel==null?null:S.rel)&&F.getAttribute(\"title\")===(S.title==null?null:S.title)&&F.getAttribute(\"crossorigin\")===(S.crossOrigin==null?null:S.crossOrigin)){ae.splice(se,1);break t}}F=z.createElement(I),wi(F,I,S),z.head.appendChild(F);break;case\"meta\":if(ae=Bse(\"meta\",\"content\",z).get(I+(S.content||\"\"))){for(se=0;se<ae.length;se++)if(F=ae[se],nr(S.content,\"content\"),F.getAttribute(\"content\")===(S.content==null?null:\"\"+S.content)&&F.getAttribute(\"name\")===(S.name==null?null:S.name)&&F.getAttribute(\"property\")===(S.property==null?null:S.property)&&F.getAttribute(\"http-equiv\")===(S.httpEquiv==null?null:S.httpEquiv)&&F.getAttribute(\"charset\")===(S.charSet==null?null:S.charSet)){ae.splice(se,1);break t}}F=z.createElement(I),wi(F,I,S),z.head.appendChild(F);break;default:throw Error(\\'getNodesForType encountered a type it did not expect: \"\\'+I+\\'\". This is a bug in React.\\')}F[Ei]=a,Le(F),I=F}a.stateNode=I}else Mse(z,a.type,a.stateNode);else a.stateNode=Ose(z,I,a.memoizedProps);else F!==I?(F===null?S.stateNode!==null&&(S=S.stateNode,S.parentNode.removeChild(S)):F.count--,I===null?Mse(z,a.type,a.stateNode):Ose(z,I,a.memoizedProps)):I===null&&a.stateNode!==null&&lz(a,a.memoizedProps,S.memoizedProps)}break;case 27:es(s,a),ts(a),I&512&&(Bo||S===null||zl(S,S.return)),S!==null&&I&4&&lz(a,a.memoizedProps,S.memoizedProps);break;case 5:if(es(s,a),ts(a),I&512&&(Bo||S===null||zl(S,S.return)),a.flags&32){z=a.stateNode;try{Pe(a,vse,z)}catch(qe){Nr(a,a.return,qe)}}I&4&&a.stateNode!=null&&(z=a.memoizedProps,lz(a,z,S!==null?S.memoizedProps:z)),I&1024&&(KL=!0,a.type!==\"form\"&&console.error(\"Unexpected host component type. Expected a form. This is a bug in React.\"));break;case 6:if(es(s,a),ts(a),I&4){if(a.stateNode===null)throw Error(\"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.\");I=a.memoizedProps,S=S!==null?S.memoizedProps:I,z=a.stateNode;try{Pe(a,but,z,S,I)}catch(qe){Nr(a,a.return,qe)}}break;case 3:if(z=gf(),xT=null,F=Ou,Ou=d8(s.containerInfo),es(s,a),Ou=F,ts(a),I&4&&S!==null&&S.memoizedState.isDehydrated)try{Pe(a,Iut,s.containerInfo)}catch(qe){Nr(a,a.return,qe)}KL&&(KL=!1,_ae(a)),s.effectDuration+=IC(z);break;case 4:I=Ou,Ou=d8(a.stateNode.containerInfo),es(s,a),ts(a),Ou=I;break;case 12:I=gf(),es(s,a),ts(a),a.stateNode.effectDuration+=$E(I);break;case 31:es(s,a),ts(a),I&4&&(I=a.updateQueue,I!==null&&(a.updateQueue=null,n8(a,I)));break;case 13:es(s,a),ts(a),a.child.flags&8192&&a.memoizedState!==null!=(S!==null&&S.memoizedState!==null)&&(oT=ni()),I&4&&(I=a.updateQueue,I!==null&&(a.updateQueue=null,n8(a,I)));break;case 22:z=a.memoizedState!==null;var te=S!==null&&S.memoizedState!==null,he=Mf,$e=Bo;if(Mf=he||z,Bo=$e||te,es(s,a),Bo=$e,Mf=he,te&&!z&&!he&&!$e&&(a.mode&Ut)!==mt&&0<=ct&&0<=dt&&.05<dt-ct&&xC(a,ct,dt),ts(a),I&8192)e:for(s=a.stateNode,s._visibility=z?s._visibility&~w_:s._visibility|w_,!z||S===null||te||Mf||Bo||(ny(a),(a.mode&Ut)!==mt&&0<=ct&&0<=dt&&.05<dt-ct&&Il(a,ct,dt,\"Disconnect\")),S=null,s=a;;){if(s.tag===5||s.tag===26){if(S===null){te=S=s;try{F=te.stateNode,z?Pe(te,wut,F):Pe(te,Sut,te.stateNode,te.memoizedProps)}catch(qe){Nr(te,te.return,qe)}}}else if(s.tag===6){if(S===null){te=s;try{ae=te.stateNode,z?Pe(te,Eut,ae):Pe(te,Aut,ae,te.memoizedProps)}catch(qe){Nr(te,te.return,qe)}}}else if(s.tag===18){if(S===null){te=s;try{se=te.stateNode,z?Pe(te,vut,se):Pe(te,_ut,te.stateNode)}catch(qe){Nr(te,te.return,qe)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===a)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break e;for(;s.sibling===null;){if(s.return===null||s.return===a)break e;S===s&&(S=null),s=s.return}S===s&&(S=null),s.sibling.return=s.return,s=s.sibling}I&4&&(I=a.updateQueue,I!==null&&(S=I.retryQueue,S!==null&&(I.retryQueue=null,n8(a,S))));break;case 19:es(s,a),ts(a),I&4&&(I=a.updateQueue,I!==null&&(a.updateQueue=null,n8(a,I)));break;case 30:break;case 21:break;default:es(s,a),ts(a)}(a.mode&Ut)!==mt&&0<=ct&&0<=dt&&((Xn||.05<Vn)&&Pl(a,ct,dt,Vn,$n),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<dt-ct&&(yae(a.return.alternate,a.return)||Il(a,ct,dt,\"Mount\"))),Ls(d),Bl(m),$n=b,Xn=v}function ts(a){var s=a.flags;if(s&2){try{Pe(a,qct,a)}catch(d){Nr(a,a.return,d)}a.flags&=-3}s&4096&&(a.flags&=-4097)}function _ae(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var s=a;_ae(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),a=a.sibling}}function Ll(a,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)bae(a,s.alternate,s),s=s.sibling}function Sae(a){var s=zs(),d=Ol(),m=Ml(),b=Dl();switch(a.tag){case 0:case 11:case 14:case 15:cz(a,a.return,Ws),ny(a);break;case 1:zl(a,a.return);var v=a.stateNode;typeof v.componentWillUnmount==\"function\"&&dae(a,a.return,v),ny(a);break;case 27:Pe(a,i_,a.stateNode);case 26:case 5:zl(a,a.return),ny(a);break;case 22:a.memoizedState===null&&ny(a);break;case 30:ny(a);break;default:ny(a)}(a.mode&Ut)!==mt&&0<=ct&&0<=dt&&(Xn||.05<Vn)&&Pl(a,ct,dt,Vn,$n),Ls(s),Bl(d),$n=m,Xn=b}function ny(a){for(a=a.child;a!==null;)Sae(a),a=a.sibling}function Aae(a,s,d,m){var b=zs(),v=Ol(),S=Ml(),I=Dl(),z=d.flags;switch(d.tag){case 0:case 11:case 15:Hl(a,d,m),cae(d,Ws);break;case 1:if(Hl(a,d,m),s=d.stateNode,typeof s.componentDidMount==\"function\"&&Pe(d,ML,d,s),s=d.updateQueue,s!==null){a=d.stateNode;try{Pe(d,Ict,s,a)}catch(F){Nr(d,d.return,F)}}m&&z&64&&lae(d),JE(d,d.return);break;case 27:hae(d);case 26:case 5:Hl(a,d,m),m&&s===null&&z&4&&pae(d),JE(d,d.return);break;case 12:if(m&&z&4){z=gf(),Hl(a,d,m),m=d.stateNode,m.effectDuration+=$E(z);try{Pe(d,fae,d,s,wm,m.effectDuration)}catch(F){Nr(d,d.return,F)}}else Hl(a,d,m);break;case 31:Hl(a,d,m),m&&z&4&&vae(a,d);break;case 13:Hl(a,d,m),m&&z&4&&wae(a,d);break;case 22:d.memoizedState===null&&Hl(a,d,m),JE(d,d.return);break;case 30:break;default:Hl(a,d,m)}(d.mode&Ut)!==mt&&0<=ct&&0<=dt&&(Xn||.05<Vn)&&Pl(d,ct,dt,Vn,$n),Ls(b),Bl(v),$n=S,Xn=I}function Hl(a,s,d){for(d=d&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;)Aae(a,s.alternate,s,d),s=s.sibling}function pz(a,s){var d=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),a=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(a=s.memoizedState.cachePool.pool),a!==d&&(a!=null&&Y0(a),d!=null&&UE(d))}function mz(a,s){a=null,s.alternate!==null&&(a=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==a&&(Y0(s),a!=null&&UE(a))}function ku(a,s,d,m,b){if(s.subtreeFlags&10256||s.actualDuration!==0&&(s.alternate===null||s.alternate.child!==s.child))for(s=s.child;s!==null;){var v=s.sibling;kae(a,s,d,m,v!==null?v.actualStartTime:b),s=v}}function kae(a,s,d,m,b){var v=zs(),S=Ol(),I=Ml(),z=Dl(),F=bm,ae=s.flags;switch(s.tag){case 0:case 11:case 15:(s.mode&Ut)!==mt&&0<s.actualStartTime&&(s.flags&1)!==0&&vC(s,s.actualStartTime,b,Ko,d),ku(a,s,d,m,b),ae&2048&&uae(s,ya|Pc);break;case 1:(s.mode&Ut)!==mt&&0<s.actualStartTime&&((s.flags&128)!==0?QU(s,s.actualStartTime,b,[]):(s.flags&1)!==0&&vC(s,s.actualStartTime,b,Ko,d)),ku(a,s,d,m,b);break;case 3:var se=gf(),te=Ko;Ko=s.alternate!==null&&s.alternate.memoizedState.isDehydrated&&(s.flags&256)===0,ku(a,s,d,m,b),Ko=te,ae&2048&&(d=null,s.alternate!==null&&(d=s.alternate.memoizedState.cache),m=s.memoizedState.cache,m!==d&&(Y0(m),d!=null&&UE(d))),a.passiveEffectDuration+=IC(se);break;case 12:if(ae&2048){ae=gf(),ku(a,s,d,m,b),a=s.stateNode,a.passiveEffectDuration+=$E(ae);try{Pe(s,Vct,s,s.alternate,wm,a.passiveEffectDuration)}catch(he){Nr(s,s.return,he)}}else ku(a,s,d,m,b);break;case 31:ae=Ko,se=s.alternate!==null?s.alternate.memoizedState:null,te=s.memoizedState,se!==null&&te===null?(te=s.deletions,te!==null&&0<te.length&&te[0].tag===18?(Ko=!1,se=se.hydrationErrors,se!==null&&QU(s,s.actualStartTime,b,se)):Ko=!0):Ko=!1,ku(a,s,d,m,b),Ko=ae;break;case 13:ae=Ko,se=s.alternate!==null?s.alternate.memoizedState:null,te=s.memoizedState,se===null||se.dehydrated===null||te!==null&&te.dehydrated!==null?Ko=!1:(te=s.deletions,te!==null&&0<te.length&&te[0].tag===18?(Ko=!1,se=se.hydrationErrors,se!==null&&QU(s,s.actualStartTime,b,se)):Ko=!0),ku(a,s,d,m,b),Ko=ae;break;case 23:break;case 22:te=s.stateNode,se=s.alternate,s.memoizedState!==null?te._visibility&Sf?ku(a,s,d,m,b):QE(a,s,d,m,b):te._visibility&Sf?ku(a,s,d,m,b):(te._visibility|=Sf,y1(a,s,d,m,(s.subtreeFlags&10256)!==0||s.actualDuration!==0&&(s.alternate===null||s.alternate.child!==s.child),b),(s.mode&Ut)===mt||Ko||(a=s.actualStartTime,0<=a&&.05<b-a&&xC(s,a,b),0<=ct&&0<=dt&&.05<dt-ct&&xC(s,ct,dt))),ae&2048&&pz(se,s);break;case 24:ku(a,s,d,m,b),ae&2048&&mz(s.alternate,s);break;default:ku(a,s,d,m,b)}(s.mode&Ut)!==mt&&((a=!Ko&&s.alternate===null&&s.return!==null&&s.return.alternate!==null)&&(d=s.actualStartTime,0<=d&&.05<b-d&&Il(s,d,b,\"Mount\")),0<=ct&&0<=dt&&((Xn||.05<Vn)&&Pl(s,ct,dt,Vn,$n),a&&.05<dt-ct&&Il(s,ct,dt,\"Mount\"))),Ls(v),Bl(S),$n=I,Xn=z,bm=F}function y1(a,s,d,m,b,v){for(b=b&&((s.subtreeFlags&10256)!==0||s.actualDuration!==0&&(s.alternate===null||s.alternate.child!==s.child)),s=s.child;s!==null;){var S=s.sibling;Cae(a,s,d,m,b,S!==null?S.actualStartTime:v),s=S}}function Cae(a,s,d,m,b,v){var S=zs(),I=Ol(),z=Ml(),F=Dl(),ae=bm;b&&(s.mode&Ut)!==mt&&0<s.actualStartTime&&(s.flags&1)!==0&&vC(s,s.actualStartTime,v,Ko,d);var se=s.flags;switch(s.tag){case 0:case 11:case 15:y1(a,s,d,m,b,v),uae(s,ya);break;case 23:break;case 22:var te=s.stateNode;s.memoizedState!==null?te._visibility&Sf?y1(a,s,d,m,b,v):QE(a,s,d,m,v):(te._visibility|=Sf,y1(a,s,d,m,b,v)),b&&se&2048&&pz(s.alternate,s);break;case 24:y1(a,s,d,m,b,v),b&&se&2048&&mz(s.alternate,s);break;default:y1(a,s,d,m,b,v)}(s.mode&Ut)!==mt&&0<=ct&&0<=dt&&(Xn||.05<Vn)&&Pl(s,ct,dt,Vn,$n),Ls(S),Bl(I),$n=z,Xn=F,bm=ae}function QE(a,s,d,m,b){if(s.subtreeFlags&10256||s.actualDuration!==0&&(s.alternate===null||s.alternate.child!==s.child))for(var v=s.child;v!==null;){s=v.sibling;var S=a,I=d,z=m,F=s!==null?s.actualStartTime:b,ae=bm;(v.mode&Ut)!==mt&&0<v.actualStartTime&&(v.flags&1)!==0&&vC(v,v.actualStartTime,F,Ko,I);var se=v.flags;switch(v.tag){case 22:QE(S,v,I,z,F),se&2048&&pz(v.alternate,v);break;case 24:QE(S,v,I,z,F),se&2048&&mz(v.alternate,v);break;default:QE(S,v,I,z,F)}bm=ae,v=s}}function b1(a,s,d){if(a.subtreeFlags&H_)for(a=a.child;a!==null;)Tae(a,s,d),a=a.sibling}function Tae(a,s,d){switch(a.tag){case 26:b1(a,s,d),a.flags&H_&&a.memoizedState!==null&&Dut(d,Ou,a.memoizedState,a.memoizedProps);break;case 5:b1(a,s,d);break;case 3:case 4:var m=Ou;Ou=d8(a.stateNode.containerInfo),b1(a,s,d),Ou=m;break;case 22:a.memoizedState===null&&(m=a.alternate,m!==null&&m.memoizedState!==null?(m=H_,H_=16777216,b1(a,s,d),H_=m):b1(a,s,d));break;default:b1(a,s,d)}}function Iae(a){var s=a.alternate;if(s!==null&&(a=s.child,a!==null)){s.child=null;do s=a.sibling,a.sibling=null,a=s;while(a!==null)}}function YE(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var d=0;d<s.length;d++){var m=s[d],b=zs();ii=m,Oae(m,a),(m.mode&Ut)!==mt&&0<=ct&&0<=dt&&.05<dt-ct&&Il(m,ct,dt,\"Unmount\"),Ls(b)}Iae(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Pae(a),a=a.sibling}function Pae(a){var s=zs(),d=Ol(),m=Ml(),b=Dl();switch(a.tag){case 0:case 11:case 15:YE(a),a.flags&2048&&uz(a,a.return,ya|Pc);break;case 3:var v=gf();YE(a),a.stateNode.passiveEffectDuration+=IC(v);break;case 12:v=gf(),YE(a),a.stateNode.passiveEffectDuration+=$E(v);break;case 22:v=a.stateNode,a.memoizedState!==null&&v._visibility&Sf&&(a.return===null||a.return.tag!==13)?(v._visibility&=~Sf,o8(a),(a.mode&Ut)!==mt&&0<=ct&&0<=dt&&.05<dt-ct&&Il(a,ct,dt,\"Disconnect\")):YE(a);break;default:YE(a)}(a.mode&Ut)!==mt&&0<=ct&&0<=dt&&(Xn||.05<Vn)&&Pl(a,ct,dt,Vn,$n),Ls(s),Bl(d),Xn=b,$n=m}function o8(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var d=0;d<s.length;d++){var m=s[d],b=zs();ii=m,Oae(m,a),(m.mode&Ut)!==mt&&0<=ct&&0<=dt&&.05<dt-ct&&Il(m,ct,dt,\"Unmount\"),Ls(b)}Iae(a)}for(a=a.child;a!==null;)Rae(a),a=a.sibling}function Rae(a){var s=zs(),d=Ol(),m=Ml(),b=Dl();switch(a.tag){case 0:case 11:case 15:uz(a,a.return,ya),o8(a);break;case 22:var v=a.stateNode;v._visibility&Sf&&(v._visibility&=~Sf,o8(a));break;default:o8(a)}(a.mode&Ut)!==mt&&0<=ct&&0<=dt&&(Xn||.05<Vn)&&Pl(a,ct,dt,Vn,$n),Ls(s),Bl(d),Xn=b,$n=m}function Oae(a,s){for(;ii!==null;){var d=ii,m=d,b=s,v=zs(),S=Ol(),I=Ml(),z=Dl();switch(m.tag){case 0:case 11:case 15:uz(m,b,ya);break;case 23:case 22:m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(b=m.memoizedState.cachePool.pool,b!=null&&Y0(b));break;case 24:UE(m.memoizedState.cache)}if((m.mode&Ut)!==mt&&0<=ct&&0<=dt&&(Xn||.05<Vn)&&Pl(m,ct,dt,Vn,$n),Ls(v),Bl(S),Xn=z,$n=I,m=d.child,m!==null)m.return=d,ii=m;else e:for(d=a;ii!==null;){if(m=ii,v=m.sibling,S=m.return,gae(m),m===d){ii=null;break e}if(v!==null){v.return=S,ii=v;break e}ii=S}}}function Zct(){ydt.forEach(function(a){return a()})}function Bae(){var a=typeof IS_REACT_ACT_ENVIRONMENT<\"u\"?IS_REACT_ACT_ENVIRONMENT:void 0;return a||ge.actQueue===null||console.error(\"The current testing environment is not configured to support act(...)\"),a}function js(a){if((yr&Zo)!==ai&&zt!==0)return zt&-zt;var s=ge.T;return s!==null?(s._updatedFibers||(s._updatedFibers=new Set),s._updatedFibers.add(a),Ez()):de()}function Mae(){if(os===0)if((zt&536870912)===0||or){var a=_8;_8<<=1,(_8&3932160)===0&&(_8=262144),os=a}else os=536870912;return a=Zs.current,a!==null&&(a.flags|=32),os}function Yn(a,s,d){if(rx&&console.error(\"useInsertionEffect must not schedule updates.\"),oH&&(cT=!0),(a===hn&&(jr===gy||jr===xy)||a.cancelPendingCommit!==null)&&(x1(a,0),um(a,zt,os,!1)),sa(a,d),(yr&Zo)!==ai&&a===hn){if(Gl)switch(s.tag){case 0:case 11:case 15:a=Vt&&Y(Vt)||\"Unknown\",sle.has(a)||(sle.add(a),s=Y(s)||\"Unknown\",console.error(\"Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render\",s,a,a));break;case 1:ale||(console.error(\"Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.\"),ale=!0)}}else Zl&&xc(a,s,d),out(s),a===hn&&((yr&Zo)===ai&&(Pm|=d),qn===Cm&&um(a,zt,os,!1)),jl(a)}function Dae(a,s,d){if((yr&(Zo|Js))!==ai)throw Error(\"Should not already be working.\");if(zt!==0&&Vt!==null){var m=Vt,b=ni();switch(Xce){case V_:case gy:var v=C_;Pn&&((m=m._debugTask)?m.run(console.timeStamp.bind(console,\"Suspended\",v,b,Ec,void 0,\"primary-light\")):console.timeStamp(\"Suspended\",v,b,Ec,void 0,\"primary-light\"));break;case xy:v=C_,Pn&&((m=m._debugTask)?m.run(console.timeStamp.bind(console,\"Action\",v,b,Ec,void 0,\"primary-light\")):console.timeStamp(\"Action\",v,b,Ec,void 0,\"primary-light\"));break;default:Pn&&(m=b-C_,3>m||console.timeStamp(\"Blocked\",C_,b,Ec,void 0,5>m?\"primary-light\":10>m?\"primary\":100>m?\"primary-dark\":\"error\"))}}v=(d=!d&&(s&127)===0&&(s&a.expiredLanes)===0||Dr(a,s))?Jct(a,s):yz(a,s,!0);var S=d;do{if(v===Df){ex&&!d&&um(a,s,0,!1),s=jr,C_=Po(),Xce=s;break}else{if(m=ni(),b=a.current.alternate,S&&!Wct(b)){Us(s),b=oi,v=m,!Pn||v<=b||(uo?uo.run(console.timeStamp.bind(console,\"Teared Render\",b,v,tr,Qt,\"error\")):console.timeStamp(\"Teared Render\",b,v,tr,Qt,\"error\")),oy(s,m),v=yz(a,s,!1),S=!1;continue}if(v===by){if(S=s,a.errorRecoveryDisabledLanes&S)var I=0;else I=a.pendingLanes&-536870913,I=I!==0?I:I&536870912?536870912:0;if(I!==0){Us(s),YU(oi,m,s,uo),oy(s,m),s=I;e:{m=a,v=S,S=G_;var z=m.current.memoizedState.isDehydrated;if(z&&(x1(m,I).flags|=256),I=yz(m,I,!1),I!==by){if(JL&&!z){m.errorRecoveryDisabledLanes|=v,Pm|=v,v=Cm;break e}m=ba,ba=S,m!==null&&(ba===null?ba=m:ba.push.apply(ba,m))}v=I}if(S=!1,v!==by)continue;m=ni()}}if(v===F_){Us(s),YU(oi,m,s,uo),oy(s,m),x1(a,0),um(a,s,0,!0);break}e:{switch(d=a,v){case Df:case F_:throw Error(\"Root did not complete. This is a bug in React.\");case Cm:if((s&4194048)!==s)break;case eT:Us(s),Doe(oi,m,s,uo),oy(s,m),b=s,(b&127)!==0?z8=m:(b&4194048)!==0&&(L8=m),um(d,s,os,!Tm);break e;case by:ba=null;break;case X8:case Kue:break;default:throw Error(\"Unknown root exit status.\")}if(ge.actQueue!==null)bz(d,b,s,ba,K_,nT,os,Pm,vy,v,null,null,oi,m);else{if((s&62914560)===s&&(S=oT+Jue-ni(),10<S)){if(um(d,s,os,!Tm),Mr(d,0,!0)!==0)break e;Bu=s,d.timeoutHandle=hle(Nae.bind(null,d,b,ba,K_,nT,s,os,Pm,vy,Tm,v,\"Throttled\",oi,m),S);break e}Nae(d,b,ba,K_,nT,s,os,Pm,vy,Tm,v,null,oi,m)}}}break}while(!0);jl(a)}function Nae(a,s,d,m,b,v,S,I,z,F,ae,se,te,he){a.timeoutHandle=Ay;var $e=s.subtreeFlags,qe=null;if(($e&8192||($e&16785408)===16785408)&&(qe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:mf},Tae(s,v,qe),$e=(v&62914560)===v?oT-ni():(v&4194048)===v?Wue-ni():0,$e=Nut(qe,$e),$e!==null)){Bu=v,a.cancelPendingCommit=$e(bz.bind(null,a,s,v,d,m,b,S,I,z,ae,qe,qe.waitingForViewTransition?\"Waiting for the previous Animation\":0<qe.count?0<qe.imgCount?\"Suspended on CSS and Images\":\"Suspended on CSS\":qe.imgCount===1?\"Suspended on an Image\":0<qe.imgCount?\"Suspended on Images\":null,te,he)),um(a,v,S,!F);return}bz(a,s,v,d,m,b,S,I,z,ae,qe,se,te,he)}function Wct(a){for(var s=a;;){var d=s.tag;if((d===0||d===11||d===15)&&s.flags&16384&&(d=s.updateQueue,d!==null&&(d=d.stores,d!==null)))for(var m=0;m<d.length;m++){var b=d[m],v=b.getSnapshot;b=b.value;try{if(!pa(v(),b))return!1}catch{return!1}}if(d=s.child,s.subtreeFlags&16384&&d!==null)d.return=s,s=d;else{if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function um(a,s,d,m){s&=~QL,s&=~Pm,a.suspendedLanes|=s,a.pingedLanes&=~s,m&&(a.warmLanes|=s),m=a.expirationTimes;for(var b=s;0<b;){var v=31-la(b),S=1<<v;m[v]=-1,b&=~S}d!==0&&Ir(a,d,s)}function g1(){return(yr&(Zo|Js))===ai?(t_(0,!1),!1):!0}function hz(){if(Vt!==null){if(jr===ns)var a=Vt.return;else a=Vt,kC(),k$(a),q1=null,N_=0,a=Vt;for(;a!==null;)sae(a.alternate,a),a=a.return;Vt=null}}function oy(a,s){(a&127)!==0&&(Em=s),(a&4194048)!==0&&(Xl=s),(a&62914560)!==0&&(Qce=s),(a&2080374784)!==0&&(Yce=s)}function x1(a,s){Pn&&(console.timeStamp(\"Blocking Track\",.003,.003,\"Blocking\",Qt,\"primary-light\"),console.timeStamp(\"Transition Track\",.003,.003,\"Transition\",Qt,\"primary-light\"),console.timeStamp(\"Suspense Track\",.003,.003,\"Suspense\",Qt,\"primary-light\"),console.timeStamp(\"Idle Track\",.003,.003,\"Idle\",Qt,\"primary-light\"));var d=oi;if(oi=Po(),zt!==0&&0<d){if(Us(zt),qn===X8||qn===Cm)Doe(d,oi,s,uo);else{var m=oi,b=uo;if(Pn&&!(m<=d)){var v=(s&738197653)===s?\"tertiary-dark\":\"primary-dark\",S=(s&536870912)===s?\"Prewarm\":(s&201326741)===s?\"Interrupted Hydration\":\"Interrupted Render\";b?b.run(console.timeStamp.bind(console,S,d,m,tr,Qt,v)):console.timeStamp(S,d,m,tr,Qt,v)}}oy(zt,oi)}if(d=uo,uo=null,(s&127)!==0){uo=S_,b=0<=Yl&&Yl<Em?Em:Yl,m=0<=uy&&uy<Em?Em:uy,v=0<=m?m:0<=b?b:oi,0<=z8?(Us(2),Noe(z8,v,s,d)):(H8&127)!==0&&(Us(2),DE(Em,v,Pf)),d=b;var I=m,z=A_,F=0<j1,ae=_m===__,se=_m===$8;if(b=oi,m=S_,v=IL,S=PL,Pn){if(tr=\"Blocking\",0<d?d>b&&(d=b):d=b,0<I?I>d&&(I=d):I=d,z!==null&&d>I){var te=F?\"secondary-light\":\"warning\";m?m.run(console.timeStamp.bind(console,F?\"Consecutive\":\"Event: \"+z,I,d,tr,Qt,te)):console.timeStamp(F?\"Consecutive\":\"Event: \"+z,I,d,tr,Qt,te)}b>d&&(I=ae?\"error\":(s&738197653)===s?\"tertiary-light\":\"primary-light\",ae=se?\"Promise Resolved\":ae?\"Cascading Update\":5<b-d?\"Update Blocked\":\"Update\",se=[],S!=null&&se.push([\"Component name\",S]),v!=null&&se.push([\"Method name\",v]),d={start:d,end:b,detail:{devtools:{properties:se,track:tr,trackGroup:Qt,color:I}}},m?m.run(performance.measure.bind(performance,ae,d)):performance.measure(ae,d))}Yl=-1.1,_m=0,PL=IL=null,z8=-1.1,j1=uy,uy=-1.1,Em=Po()}if((s&4194048)!==0&&(uo=k_,b=0<=If&&If<Xl?Xl:If,d=0<=Tc&&Tc<Xl?Xl:Tc,m=0<=Sm&&Sm<Xl?Xl:Sm,v=0<=m?m:0<=d?d:oi,0<=L8?(Us(256),Noe(L8,v,s,uo)):(H8&4194048)!==0&&(Us(256),DE(Xl,v,Pf)),se=m,I=ly,z=0<Am,F=RL===$8,v=oi,m=k_,S=Wce,ae=Jce,Pn&&(tr=\"Transition\",0<d?d>v&&(d=v):d=v,0<b?b>d&&(b=d):b=d,0<se?se>b&&(se=b):se=b,b>se&&I!==null&&(te=z?\"secondary-light\":\"warning\",m?m.run(console.timeStamp.bind(console,z?\"Consecutive\":\"Event: \"+I,se,b,tr,Qt,te)):console.timeStamp(z?\"Consecutive\":\"Event: \"+I,se,b,tr,Qt,te)),d>b&&(m?m.run(console.timeStamp.bind(console,\"Action\",b,d,tr,Qt,\"primary-dark\")):console.timeStamp(\"Action\",b,d,tr,Qt,\"primary-dark\")),v>d&&(b=F?\"Promise Resolved\":5<v-d?\"Update Blocked\":\"Update\",se=[],ae!=null&&se.push([\"Component name\",ae]),S!=null&&se.push([\"Method name\",S]),d={start:d,end:v,detail:{devtools:{properties:se,track:tr,trackGroup:Qt,color:\"primary-light\"}}},m?m.run(performance.measure.bind(performance,b,d)):performance.measure(b,d))),Tc=If=-1.1,RL=0,L8=-1.1,Am=Sm,Sm=-1.1,Xl=Po()),(s&62914560)!==0&&(H8&62914560)!==0&&(Us(4194304),DE(Qce,oi,Pf)),(s&2080374784)!==0&&(H8&2080374784)!==0&&(Us(268435456),DE(Yce,oi,Pf)),d=a.timeoutHandle,d!==Ay&&(a.timeoutHandle=Ay,Idt(d)),d=a.cancelPendingCommit,d!==null&&(a.cancelPendingCommit=null,d()),Bu=0,hz(),hn=a,Vt=d=hf(a.current,null),zt=s,jr=ns,Qs=null,Tm=!1,ex=Dr(a,s),JL=!1,qn=Df,vy=os=QL=Pm=Im=0,ba=G_=null,nT=!1,(s&8)!==0&&(s|=s&32),m=a.entangledLanes,m!==0)for(a=a.entanglements,m&=s;0<m;)b=31-la(m),v=1<<b,s|=a[b],m&=~v;return td=s,wC(),a=Fce(),1e3<a-jce&&(ge.recentlyCreatedOwnerStacks=0,jce=a),Pu.discardPendingWarnings(),d}function Uae(a,s){gt=null,ge.H=L_,ge.getCurrentStack=null,Gl=!1,qs=null,s===V1||s===q8?(s=oie(),jr=V_):s===DL?(s=oie(),jr=Zue):jr=s===qL?WL:s!==null&&typeof s==\"object\"&&typeof s.then==\"function\"?q_:tT,Qs=s;var d=Vt;d===null?(qn=F_,QC(a,$s(s,a.current))):d.mode&Ut&&p$(d)}function $ae(){var a=Zs.current;return a===null?!0:(zt&4194048)===zt?Ic===null:(zt&62914560)===zt||(zt&536870912)!==0?a===Ic:!1}function zae(){var a=ge.H;return ge.H=L_,a===null?L_:a}function Lae(){var a=ge.A;return ge.A=hdt,a}function i8(a){uo===null&&(uo=a._debugTask==null?null:a._debugTask)}function a8(){qn=Cm,Tm||(zt&4194048)!==zt&&Zs.current!==null||(ex=!0),(Im&134217727)===0&&(Pm&134217727)===0||hn===null||um(hn,zt,os,!1)}function yz(a,s,d){var m=yr;yr|=Zo;var b=zae(),v=Lae();if(hn!==a||zt!==s){if(Zl){var S=a.memoizedUpdaters;0<S.size&&(e_(a,zt),S.clear()),wr(a,s)}K_=null,x1(a,s)}s=!1,S=qn;e:do try{if(jr!==ns&&Vt!==null){var I=Vt,z=Qs;switch(jr){case WL:hz(),S=eT;break e;case V_:case gy:case xy:case q_:Zs.current===null&&(s=!0);var F=jr;if(jr=ns,Qs=null,v1(a,I,z,F),d&&ex){S=Df;break e}break;default:F=jr,jr=ns,Qs=null,v1(a,I,z,F)}}Hae(),S=qn;break}catch(ae){Uae(a,ae)}while(!0);return s&&a.shellSuspendCounter++,kC(),yr=m,ge.H=b,ge.A=v,Vt===null&&(hn=null,zt=0,wC()),S}function Hae(){for(;Vt!==null;)jae(Vt)}function Jct(a,s){var d=yr;yr|=Zo;var m=zae(),b=Lae();if(hn!==a||zt!==s){if(Zl){var v=a.memoizedUpdaters;0<v.size&&(e_(a,zt),v.clear()),wr(a,s)}K_=null,iT=ni()+Que,x1(a,s)}else ex=Dr(a,s);e:do try{if(jr!==ns&&Vt!==null)t:switch(s=Vt,v=Qs,jr){case tT:jr=ns,Qs=null,v1(a,s,v,tT);break;case gy:case xy:if(rie(v)){jr=ns,Qs=null,Fae(s);break}s=function(){jr!==gy&&jr!==xy||hn!==a||(jr=rT),jl(a)},v.then(s,s);break e;case V_:jr=rT;break e;case Zue:jr=ZL;break e;case rT:rie(v)?(jr=ns,Qs=null,Fae(s)):(jr=ns,Qs=null,v1(a,s,v,rT));break;case ZL:var S=null;switch(Vt.tag){case 26:S=Vt.memoizedState;case 5:case 27:var I=Vt;if(S?Dse(S):I.stateNode.complete){jr=ns,Qs=null;var z=I.sibling;if(z!==null)Vt=z;else{var F=I.return;F!==null?(Vt=F,s8(F)):Vt=null}break t}break;default:console.error(\"Unexpected type of fiber triggered a suspensey commit. This is a bug in React.\")}jr=ns,Qs=null,v1(a,s,v,ZL);break;case q_:jr=ns,Qs=null,v1(a,s,v,q_);break;case WL:hz(),qn=eT;break e;default:throw Error(\"Unexpected SuspendedReason. This is a bug in React.\")}ge.actQueue!==null?Hae():Qct();break}catch(ae){Uae(a,ae)}while(!0);return kC(),ge.H=m,ge.A=b,yr=d,Vt!==null?Df:(hn=null,zt=0,wC(),qn)}function Qct(){for(;Vt!==null&&!Jut();)jae(Vt)}function jae(a){var s=a.alternate;(a.mode&Ut)!==mt?(f$(a),s=Pe(a,az,s,a,td),p$(a)):s=Pe(a,az,s,a,td),a.memoizedProps=a.pendingProps,s===null?s8(a):Vt=s}function Fae(a){var s=Pe(a,Yct,a);a.memoizedProps=a.pendingProps,s===null?s8(a):Vt=s}function Yct(a){var s=a.alternate,d=(a.mode&Ut)!==mt;switch(d&&f$(a),a.tag){case 15:case 0:s=eae(s,a,a.pendingProps,a.type,void 0,zt);break;case 11:s=eae(s,a,a.pendingProps,a.type.render,a.ref,zt);break;case 5:k$(a);default:sae(s,a),a=Vt=joe(a,td),s=az(s,a,td)}return d&&p$(a),s}function v1(a,s,d,m){kC(),k$(s),q1=null,N_=0;var b=s.return;try{if(Nct(a,b,s,d,zt)){qn=F_,QC(a,$s(d,a.current)),Vt=null;return}}catch(v){if(b!==null)throw Vt=b,v;qn=F_,QC(a,$s(d,a.current)),Vt=null;return}s.flags&32768?(or||m===tT?a=!0:ex||(zt&536870912)!==0?a=!1:(Tm=a=!0,(m===gy||m===xy||m===V_||m===q_)&&(m=Zs.current,m!==null&&m.tag===13&&(m.flags|=16384))),Vae(s,a)):s8(s)}function s8(a){var s=a;do{if((s.flags&32768)!==0){Vae(s,Tm);return}var d=s.alternate;if(a=s.return,f$(s),d=Pe(s,zct,d,s,td),(s.mode&Ut)!==mt&&Qoe(s),d!==null){Vt=d;return}if(s=s.sibling,s!==null){Vt=s;return}Vt=s=a}while(s!==null);qn===Df&&(qn=Kue)}function Vae(a,s){do{var d=Lct(a.alternate,a);if(d!==null){d.flags&=32767,Vt=d;return}if((a.mode&Ut)!==mt){Qoe(a),d=a.actualDuration;for(var m=a.child;m!==null;)d+=m.actualDuration,m=m.sibling;a.actualDuration=d}if(d=a.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!s&&(a=a.sibling,a!==null)){Vt=a;return}Vt=a=d}while(a!==null);qn=eT,Vt=null}function bz(a,s,d,m,b,v,S,I,z,F,ae,se,te,he){a.cancelPendingCommit=null;do XE();while(Do!==Om);if(Pu.flushLegacyContextWarning(),Pu.flushPendingUnsafeLifecycleWarnings(),(yr&(Zo|Js))!==ai)throw Error(\"Should not already be working.\");if(Us(d),F===by?YU(te,he,d,uo):m!==null?_ct(te,he,d,m,s!==null&&s.alternate!==null&&s.alternate.memoizedState.isDehydrated&&(s.flags&256)!==0,uo):Ect(te,he,d,uo),s!==null){if(d===0&&console.error(\"finishedLanes should not be empty during a commit. This is a bug in React.\"),s===a.current)throw Error(\"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\");if(v=s.lanes|s.childLanes,v|=SL,rn(a,d,v,S,I,z),a===hn&&(Vt=hn=null,zt=0),tx=s,Bm=a,Bu=d,eH=v,rH=b,nle=m,tH=he,ole=se,Mu=aT,ile=null,s.actualDuration!==0||(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,nut(k1,function(){return X_=window.event,Mu===aT&&(Mu=XL),Wae(),null})):(a.callbackNode=null,a.callbackPriority=0),Tf=null,wm=Po(),se!==null&&Sct(he,wm,se,uo),m=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||m){m=ge.T,ge.T=null,b=Ur.p,Ur.p=Gs,S=yr,yr|=Js;try{Gct(a,s,d)}finally{yr=S,Ur.p=b,ge.T=m}}Do=Xue,qae(),Gae(),Kae()}}function qae(){if(Do===Xue){Do=Om;var a=Bm,s=tx,d=Bu,m=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||m){m=ge.T,ge.T=null;var b=Ur.p;Ur.p=Gs;var v=yr;yr|=Js;try{Y1=d,X1=a,PC(),Eae(s,a),X1=Y1=null,d=pH;var S=Ooe(a.containerInfo),I=d.focusedElem,z=d.selectionRange;if(S!==I&&I&&I.ownerDocument&&Roe(I.ownerDocument.documentElement,I)){if(z!==null&&WU(I)){var F=z.start,ae=z.end;if(ae===void 0&&(ae=F),\"selectionStart\"in I)I.selectionStart=F,I.selectionEnd=Math.min(ae,I.value.length);else{var se=I.ownerDocument||document,te=se&&se.defaultView||window;if(te.getSelection){var he=te.getSelection(),$e=I.textContent.length,qe=Math.min(z.start,$e),kn=z.end===void 0?qe:Math.min(z.end,$e);!he.extend&&qe>kn&&(S=kn,kn=qe,qe=S);var pr=Poe(I,qe),ee=Poe(I,kn);if(pr&&ee&&(he.rangeCount!==1||he.anchorNode!==pr.node||he.anchorOffset!==pr.offset||he.focusNode!==ee.node||he.focusOffset!==ee.offset)){var ne=se.createRange();ne.setStart(pr.node,pr.offset),he.removeAllRanges(),qe>kn?(he.addRange(ne),he.extend(ee.node,ee.offset)):(ne.setEnd(ee.node,ee.offset),he.addRange(ne))}}}}for(se=[],he=I;he=he.parentNode;)he.nodeType===1&&se.push({element:he,left:he.scrollLeft,top:he.scrollTop});for(typeof I.focus==\"function\"&&I.focus(),I=0;I<se.length;I++){var ie=se[I];ie.element.scrollLeft=ie.left,ie.element.scrollTop=ie.top}}ET=!!fH,pH=fH=null}finally{yr=v,Ur.p=b,ge.T=m}}a.current=s,Do=ele}}function Gae(){if(Do===ele){Do=Om;var a=ile;if(a!==null){wm=Po();var s=Cf,d=wm;!Pn||d<=s||(Pf?Pf.run(console.timeStamp.bind(console,a,s,d,tr,Qt,\"secondary-light\")):console.timeStamp(a,s,d,tr,Qt,\"secondary-light\"))}a=Bm,s=tx,d=Bu;var m=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||m){m=ge.T,ge.T=null;var b=Ur.p;Ur.p=Gs;var v=yr;yr|=Js;try{Y1=d,X1=a,PC(),bae(a,s.alternate,s),X1=Y1=null}finally{yr=v,Ur.p=b,ge.T=m}}a=tH,s=ole,Cf=Po(),a=s===null?a:wm,s=Cf,d=Mu===YL,m=uo,Tf!==null?Uoe(a,s,Tf,!1,m):!Pn||s<=a||(m?m.run(console.timeStamp.bind(console,d?\"Commit Interrupted View Transition\":\"Commit\",a,s,tr,Qt,d?\"error\":\"secondary-dark\")):console.timeStamp(d?\"Commit Interrupted View Transition\":\"Commit\",a,s,tr,Qt,d?\"error\":\"secondary-dark\")),Do=tle}}function Kae(){if(Do===rle||Do===tle){if(Do===rle){var a=Cf;Cf=Po();var s=Cf,d=Mu===YL;!Pn||s<=a||(Pf?Pf.run(console.timeStamp.bind(console,d?\"Interrupted View Transition\":\"Starting Animation\",a,s,tr,Qt,d?\"error\":\"secondary-light\")):console.timeStamp(d?\"Interrupted View Transition\":\"Starting Animation\",a,s,tr,Qt,d?\" error\":\"secondary-light\")),Mu!==YL&&(Mu=Yue)}Do=Om,Qut(),a=Bm;var m=tx;s=Bu,d=nle;var b=m.actualDuration!==0||(m.subtreeFlags&10256)!==0||(m.flags&10256)!==0;b?Do=sT:(Do=Om,tx=Bm=null,Zae(a,a.pendingLanes),wy=0,W_=null);var v=a.pendingLanes;if(v===0&&(Rm=null),b||Xae(a),v=j(s),m=m.stateNode,Vi&&typeof Vi.onCommitFiberRoot==\"function\")try{var S=(m.current.flags&128)===128;switch(v){case Gs:var I=rL;break;case Tu:I=nL;break;case Wl:I=k1;break;case A8:I=oL;break;default:I=k1}Vi.onCommitFiberRoot(C1,m,I,S)}catch(se){Kl||(Kl=!0,console.error(\"React instrumentation encountered an error: %o\",se))}if(Zl&&a.memoizedUpdaters.clear(),Zct(),d!==null){S=ge.T,I=Ur.p,Ur.p=Gs,ge.T=null;try{var z=a.onRecoverableError;for(m=0;m<d.length;m++){var F=d[m],ae=Xct(F.stack);Pe(F.source,z,F.value,ae)}}finally{ge.T=S,Ur.p=I}}(Bu&3)!==0&&XE(),jl(a),v=a.pendingLanes,(s&261930)!==0&&(v&42)!==0?(F8=!0,a===nH?Z_++:(Z_=0,nH=a)):Z_=0,b||oy(s,Cf),t_(0,!1)}}function Xct(a){return a={componentStack:a},Object.defineProperty(a,\"digest\",{get:function(){console.error(\\'You are accessing \"digest\" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.\\')}}),a}function Zae(a,s){(a.pooledCacheLanes&=s)===0&&(s=a.pooledCache,s!=null&&(a.pooledCache=null,UE(s)))}function XE(){return qae(),Gae(),Kae(),Wae()}function Wae(){if(Do!==sT)return!1;var a=Bm,s=eH;eH=0;var d=j(Bu),m=Wl===0||Wl>d?Wl:d;d=ge.T;var b=Ur.p;try{Ur.p=m,ge.T=null;var v=rH;rH=null,m=Bm;var S=Bu;if(Do=Om,tx=Bm=null,Bu=0,(yr&(Zo|Js))!==ai)throw Error(\"Cannot flush passive effects while already rendering.\");Us(S),oH=!0,cT=!1;var I=0;if(Tf=null,I=ni(),Mu===Yue)DE(Cf,I,Pf);else{var z=Cf,F=I,ae=Mu===XL;!Pn||F<=z||(uo?uo.run(console.timeStamp.bind(console,ae?\"Waiting for Paint\":\"Waiting\",z,F,tr,Qt,\"secondary-light\")):console.timeStamp(ae?\"Waiting for Paint\":\"Waiting\",z,F,tr,Qt,\"secondary-light\"))}z=yr,yr|=Js;var se=m.current;PC(),Pae(se);var te=m.current;se=tH,PC(),kae(m,te,S,v,se),Xae(m),yr=z;var he=ni();if(te=I,se=uo,Tf!==null?Uoe(te,he,Tf,!0,se):!Pn||he<=te||(se?se.run(console.timeStamp.bind(console,\"Remaining Effects\",te,he,tr,Qt,\"secondary-dark\")):console.timeStamp(\"Remaining Effects\",te,he,tr,Qt,\"secondary-dark\")),oy(S,he),t_(0,!1),cT?m===W_?wy++:(wy=0,W_=m):wy=0,cT=oH=!1,Vi&&typeof Vi.onPostCommitFiberRoot==\"function\")try{Vi.onPostCommitFiberRoot(C1,m)}catch(qe){Kl||(Kl=!0,console.error(\"React instrumentation encountered an error: %o\",qe))}var $e=m.current.stateNode;return $e.effectDuration=0,$e.passiveEffectDuration=0,!0}finally{Ur.p=b,ge.T=d,Zae(a,s)}}function Jae(a,s,d){s=$s(d,s),Yoe(s),s=W$(a.stateNode,s,2),a=im(a,s,2),a!==null&&(sa(a,2),jl(a))}function Nr(a,s,d){if(rx=!1,a.tag===3)Jae(a,a,d);else{for(;s!==null;){if(s.tag===3){Jae(s,a,d);return}if(s.tag===1){var m=s.stateNode;if(typeof s.type.getDerivedStateFromError==\"function\"||typeof m.componentDidCatch==\"function\"&&(Rm===null||!Rm.has(m))){a=$s(d,a),Yoe(a),d=J$(2),m=im(s,d,2),m!==null&&(Q$(d,m,s,a),sa(m,2),jl(m));return}}s=s.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\\n\\nError message:\\n\\n%s`,d)}}function gz(a,s,d){var m=a.pingCache;if(m===null){m=a.pingCache=new bdt;var b=new Set;m.set(s,b)}else b=m.get(s),b===void 0&&(b=new Set,m.set(s,b));b.has(d)||(JL=!0,b.add(d),m=eut.bind(null,a,s,d),Zl&&e_(a,d),s.then(m,m))}function eut(a,s,d){var m=a.pingCache;m!==null&&m.delete(s),a.pingedLanes|=a.suspendedLanes&d,a.warmLanes&=~d,(d&127)!==0?0>Yl&&(Em=Yl=Po(),S_=U8(\"Promise Resolved\"),_m=$8):(d&4194048)!==0&&0>Tc&&(Xl=Tc=Po(),k_=U8(\"Promise Resolved\"),RL=$8),Bae()&&ge.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\\n\\nWhen testing, code that resolves suspended data should be wrapped into act(...):\\n\\nact(() => {\\n  /* finish loading suspended data */\\n});\\n/* assert on the output */\\n\\nThis ensures that you\\'re testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),hn===a&&(zt&d)===d&&(qn===Cm||qn===X8&&(zt&62914560)===zt&&ni()-oT<Jue?(yr&Zo)===ai&&x1(a,0):QL|=d,vy===zt&&(vy=0)),jl(a)}function Qae(a,s){s===0&&(s=$r()),a=Fi(a,s),a!==null&&(sa(a,s),jl(a))}function tut(a){var s=a.memoizedState,d=0;s!==null&&(d=s.retryLane),Qae(a,d)}function rut(a,s){var d=0;switch(a.tag){case 31:case 13:var m=a.stateNode,b=a.memoizedState;b!==null&&(d=b.retryLane);break;case 19:m=a.stateNode;break;case 22:m=a.stateNode._retryCache;break;default:throw Error(\"Pinged unknown suspense boundary type. This is probably a bug in React.\")}m!==null&&m.delete(s),Qae(a,d)}function xz(a,s,d){if((s.subtreeFlags&67117056)!==0)for(s=s.child;s!==null;){var m=a,b=s,v=b.type===x8;v=d||v,b.tag!==22?b.flags&67108864?v&&Pe(b,Yae,m,b):xz(m,b,v):b.memoizedState===null&&(v&&b.flags&8192?Pe(b,Yae,m,b):b.subtreeFlags&67108864&&Pe(b,xz,m,b,v)),s=s.sibling}}function Yae(a,s){pt(!0);try{Sae(s),Rae(s),Aae(a,s.alternate,s,!1),Cae(a,s,0,null,!1,0)}finally{pt(!1)}}function Xae(a){var s=!0;a.current.mode&(qi|Iu)||(s=!1),xz(a,a.current,s)}function ese(a){if((yr&Zo)===ai){var s=a.tag;if(s===3||s===1||s===0||s===11||s===14||s===15){if(s=Y(a)||\"ReactComponent\",uT!==null){if(uT.has(s))return;uT.add(s)}else uT=new Set([s]);Pe(a,function(){console.error(\"Can\\'t perform a React state update on a component that hasn\\'t mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.\")})}}}function e_(a,s){Zl&&a.memoizedUpdaters.forEach(function(d){xc(a,d,s)})}function nut(a,s){var d=ge.actQueue;return d!==null?(d.push(s),vdt):tL(a,s)}function out(a){Bae()&&ge.actQueue===null&&Pe(a,function(){console.error(`An update to %s inside a test was not wrapped in act(...).\\n\\nWhen testing, code that causes React state updates should be wrapped into act(...):\\n\\nact(() => {\\n  /* fire events that update state */\\n});\\n/* assert on the output */\\n\\nThis ensures that you\\'re testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,Y(a))})}function jl(a){a!==nx&&a.next===null&&(nx===null?lT=nx=a:nx=nx.next=a),dT=!0,ge.actQueue!==null?aH||(aH=!0,ose()):iH||(iH=!0,ose())}function t_(a,s){if(!sH&&dT){sH=!0;do for(var d=!1,m=lT;m!==null;){if(!s)if(a!==0){var b=m.pendingLanes;if(b===0)var v=0;else{var S=m.suspendedLanes,I=m.pingedLanes;v=(1<<31-la(42|a)+1)-1,v&=b&~(S&~I),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(d=!0,nse(m,v))}else v=zt,v=Mr(m,m===hn?v:0,m.cancelPendingCommit!==null||m.timeoutHandle!==Ay),(v&3)===0||Dr(m,v)||(d=!0,nse(m,v));m=m.next}while(d);sH=!1}}function iut(){X_=window.event,vz()}function vz(){dT=aH=iH=!1;var a=0;Mm!==0&&fut()&&(a=Mm);for(var s=ni(),d=null,m=lT;m!==null;){var b=m.next,v=tse(m,s);v===0?(m.next=null,d===null?lT=b:d.next=b,b===null&&(nx=d)):(d=m,(a!==0||(v&3)!==0)&&(dT=!0)),m=b}Do!==Om&&Do!==sT||t_(a,!1),Mm!==0&&(Mm=0)}function tse(a,s){for(var d=a.suspendedLanes,m=a.pingedLanes,b=a.expirationTimes,v=a.pendingLanes&-62914561;0<v;){var S=31-la(v),I=1<<S,z=b[S];z===-1?((I&d)===0||(I&m)!==0)&&(b[S]=df(I,s)):z<=s&&(a.expiredLanes|=I),v&=~I}if(s=hn,d=zt,d=Mr(a,a===s?d:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Ay),m=a.callbackNode,d===0||a===s&&(jr===gy||jr===xy)||a.cancelPendingCommit!==null)return m!==null&&wz(m),a.callbackNode=null,a.callbackPriority=0;if((d&3)===0||Dr(a,d)){if(s=d&-d,s!==a.callbackPriority||ge.actQueue!==null&&m!==cH)wz(m);else return s;switch(j(d)){case Gs:case Tu:d=nL;break;case Wl:d=k1;break;case A8:d=oL;break;default:d=k1}return m=rse.bind(null,a),ge.actQueue!==null?(ge.actQueue.push(m),d=cH):d=tL(d,m),a.callbackPriority=s,a.callbackNode=d,s}return m!==null&&wz(m),a.callbackPriority=2,a.callbackNode=null,2}function rse(a,s){if(F8=j8=!1,X_=window.event,Do!==Om&&Do!==sT)return a.callbackNode=null,a.callbackPriority=0,null;var d=a.callbackNode;if(Mu===aT&&(Mu=XL),XE()&&a.callbackNode!==d)return null;var m=zt;return m=Mr(a,a===hn?m:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Ay),m===0?null:(Dae(a,m,s),tse(a,ni()),a.callbackNode!=null&&a.callbackNode===d?rse.bind(null,a):null)}function nse(a,s){if(XE())return null;j8=F8,F8=!1,Dae(a,s,!0)}function wz(a){a!==cH&&a!==null&&Wut(a)}function ose(){ge.actQueue!==null&&ge.actQueue.push(function(){return vz(),null}),Pdt(function(){(yr&(Zo|Js))!==ai?tL(rL,iut):vz()})}function Ez(){if(Mm===0){var a=dy;a===0&&(a=E8,E8<<=1,(E8&261888)===0&&(E8=256)),Mm=a}return Mm}function ise(a){return a==null||typeof a==\"symbol\"||typeof a==\"boolean\"?null:typeof a==\"function\"?a:(nr(a,\"action\"),OE(\"\"+a))}function ase(a,s){var d=s.ownerDocument.createElement(\"input\");return d.name=s.name,d.value=s.value,a.id&&d.setAttribute(\"form\",a.id),s.parentNode.insertBefore(d,s),a=new FormData(a),d.parentNode.removeChild(d),a}function aut(a,s,d,m,b){if(s===\"submit\"&&d&&d.stateNode===b){var v=ise((b[da]||null).action),S=m.submitter;S&&(s=(s=S[da]||null)?ise(s.formAction):S.getAttribute(\"formAction\"),s!==null&&(v=s,S=null));var I=new P8(\"action\",\"action\",null,m,b);a.push({event:I,listeners:[{instance:null,listener:function(){if(m.defaultPrevented){if(Mm!==0){var z=S?ase(b,S):new FormData(b),F={pending:!0,data:z,method:b.method,action:v};Object.freeze(F),j$(d,F,null,z)}}else typeof v==\"function\"&&(I.preventDefault(),z=S?ase(b,S):new FormData(b),F={pending:!0,data:z,method:b.method,action:v},Object.freeze(F),j$(d,F,v,z))},currentTarget:b}]})}}function c8(a,s,d){a.currentTarget=d;try{s(a)}catch(m){vL(m)}a.currentTarget=null}function sse(a,s){s=(s&4)!==0;for(var d=0;d<a.length;d++){var m=a[d];e:{var b=void 0,v=m.event;if(m=m.listeners,s)for(var S=m.length-1;0<=S;S--){var I=m[S],z=I.instance,F=I.currentTarget;if(I=I.listener,z!==b&&v.isPropagationStopped())break e;z!==null?Pe(z,c8,v,I,F):c8(v,I,F),b=z}else for(S=0;S<m.length;S++){if(I=m[S],z=I.instance,F=I.currentTarget,I=I.listener,z!==b&&v.isPropagationStopped())break e;z!==null?Pe(z,c8,v,I,F):c8(v,I,F),b=z}}}}function fr(a,s){uH.has(a)||console.error(\\'Did not expect a listenToNonDelegatedEvent() call for \"%s\". This is a bug in React. Please file an issue.\\',a);var d=s[iL];d===void 0&&(d=s[iL]=new Set);var m=a+\"__bubble\";d.has(m)||(cse(s,a,2,!1),d.add(m))}function _z(a,s,d){uH.has(a)&&!s&&console.error(\\'Did not expect a listenToNativeEvent() call for \"%s\" in the bubble phase. This is a bug in React. Please file an issue.\\',a);var m=0;s&&(m|=4),cse(d,a,m,s)}function Sz(a){if(!a[fT]){a[fT]=!0,oce.forEach(function(d){d!==\"selectionchange\"&&(uH.has(d)||_z(d,!1,a),_z(d,!0,a))});var s=a.nodeType===9?a:a.ownerDocument;s===null||s[fT]||(s[fT]=!0,_z(\"selectionchange\",!1,s))}}function cse(a,s,d,m){switch(Hse(s)){case Gs:var b=Lut;break;case Tu:b=Hut;break;default:b=Lz}d=b.bind(null,s,d,a),b=void 0,!lL||s!==\"touchstart\"&&s!==\"touchmove\"&&s!==\"wheel\"||(b=!0),m?b!==void 0?a.addEventListener(s,d,{capture:!0,passive:b}):a.addEventListener(s,d,!0):b!==void 0?a.addEventListener(s,d,{passive:b}):a.addEventListener(s,d,!1)}function Az(a,s,d,m,b){var v=m;if((s&1)===0&&(s&2)===0&&m!==null)e:for(;;){if(m===null)return;var S=m.tag;if(S===3||S===4){var I=m.stateNode.containerInfo;if(I===b)break;if(S===4)for(S=m.return;S!==null;){var z=S.tag;if((z===3||z===4)&&S.stateNode.containerInfo===b)return;S=S.return}for(;I!==null;){if(S=Je(I),S===null)return;if(z=S.tag,z===5||z===6||z===26||z===27){m=v=S;continue e}I=I.parentNode}}m=m.return}xoe(function(){var F=v,ae=KU(d),se=[];e:{var te=Hce.get(a);if(te!==void 0){var he=P8,$e=a;switch(a){case\"keypress\":if(yC(d)===0)break e;case\"keydown\":case\"keyup\":he=Nlt;break;case\"focusin\":$e=\"focus\",he=mL;break;case\"focusout\":$e=\"blur\",he=mL;break;case\"beforeblur\":case\"afterblur\":he=mL;break;case\"click\":if(d.button===2)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":he=Cce;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":he=Slt;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":he=zlt;break;case Uce:case $ce:case zce:he=Clt;break;case Lce:he=Hlt;break;case\"scroll\":case\"scrollend\":he=Elt;break;case\"wheel\":he=Flt;break;case\"copy\":case\"cut\":case\"paste\":he=Ilt;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":he=Ice;break;case\"toggle\":case\"beforetoggle\":he=qlt}var qe=(s&4)!==0,kn=!qe&&(a===\"scroll\"||a===\"scrollend\"),pr=qe?te!==null?te+\"Capture\":null:te;qe=[];for(var ee=F,ne;ee!==null;){var ie=ee;if(ne=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||ne===null||pr===null||(ie=BE(ee,pr),ie!=null&&qe.push(r_(ee,ie,ne))),kn)break;ee=ee.return}0<qe.length&&(te=new he(te,$e,null,d,ae),se.push({event:te,listeners:qe}))}}if((s&7)===0){e:{if(te=a===\"mouseover\"||a===\"pointerover\",he=a===\"mouseout\"||a===\"pointerout\",te&&d!==p_&&($e=d.relatedTarget||d.fromElement)&&(Je($e)||$e[hm]))break e;if((he||te)&&(te=ae.window===ae?ae:(te=ae.ownerDocument)?te.defaultView||te.parentWindow:window,he?($e=d.relatedTarget||d.toElement,he=F,$e=$e?Je($e):null,$e!==null&&(kn=M($e),qe=$e.tag,$e!==kn||qe!==5&&qe!==27&&qe!==6)&&($e=null)):(he=null,$e=F),he!==$e)){if(qe=Cce,ie=\"onMouseLeave\",pr=\"onMouseEnter\",ee=\"mouse\",(a===\"pointerout\"||a===\"pointerover\")&&(qe=Ice,ie=\"onPointerLeave\",pr=\"onPointerEnter\",ee=\"pointer\"),kn=he==null?te:We(he),ne=$e==null?te:We($e),te=new qe(ie,ee+\"leave\",he,d,ae),te.target=kn,te.relatedTarget=ne,ie=null,Je(ae)===F&&(qe=new qe(pr,ee+\"enter\",$e,d,ae),qe.target=ne,qe.relatedTarget=kn,ie=qe),kn=ie,he&&$e)t:{for(qe=sut,pr=he,ee=$e,ne=0,ie=pr;ie;ie=qe(ie))ne++;ie=0;for(var ve=ee;ve;ve=qe(ve))ie++;for(;0<ne-ie;)pr=qe(pr),ne--;for(;0<ie-ne;)ee=qe(ee),ie--;for(;ne--;){if(pr===ee||ee!==null&&pr===ee.alternate){qe=pr;break t}pr=qe(pr),ee=qe(ee)}qe=null}else qe=null;he!==null&&use(se,te,he,qe,!1),$e!==null&&kn!==null&&use(se,kn,$e,qe,!0)}}e:{if(te=F?We(F):window,he=te.nodeName&&te.nodeName.toLowerCase(),he===\"select\"||he===\"input\"&&te.type===\"file\")var Fe=koe;else if(Soe(te))if(Dce)Fe=xct;else{Fe=bct;var xt=yct}else he=te.nodeName,!he||he.toLowerCase()!==\"input\"||te.type!==\"checkbox\"&&te.type!==\"radio\"?F&&RE(F.elementType)&&(Fe=koe):Fe=gct;if(Fe&&(Fe=Fe(a,F))){Aoe(se,Fe,d,ae);break e}xt&&xt(a,te,F),a===\"focusout\"&&F&&te.type===\"number\"&&F.memoizedProps.value!=null&&fn(te,\"number\",te.value)}switch(xt=F?We(F):window,a){case\"focusin\":(Soe(xt)||xt.contentEditable===\"true\")&&(M1=xt,yL=F,v_=null);break;case\"focusout\":v_=yL=M1=null;break;case\"mousedown\":bL=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":bL=!1,Boe(se,d,ae);break;case\"selectionchange\":if(Wlt)break;case\"keydown\":case\"keyup\":Boe(se,d,ae)}var st;if(hL)e:{switch(a){case\"compositionstart\":var nt=\"onCompositionStart\";break e;case\"compositionend\":nt=\"onCompositionEnd\";break e;case\"compositionupdate\":nt=\"onCompositionUpdate\";break e}nt=void 0}else B1?Eoe(a,d)&&(nt=\"onCompositionEnd\"):a===\"keydown\"&&d.keyCode===Pce&&(nt=\"onCompositionStart\");nt&&(Rce&&d.locale!==\"ko\"&&(B1||nt!==\"onCompositionStart\"?nt===\"onCompositionEnd\"&&B1&&(st=voe()):(ym=ae,dL=\"value\"in ym?ym.value:ym.textContent,B1=!0)),xt=u8(F,nt),0<xt.length&&(nt=new Tce(nt,a,null,d,ae),se.push({event:nt,listeners:xt}),st?nt.data=st:(st=_oe(d),st!==null&&(nt.data=st)))),(st=Klt?fct(a,d):pct(a,d))&&(nt=u8(F,\"onBeforeInput\"),0<nt.length&&(xt=new Rlt(\"onBeforeInput\",\"beforeinput\",null,d,ae),se.push({event:xt,listeners:nt}),xt.data=st)),aut(se,a,F,d,ae)}sse(se,s)})}function r_(a,s,d){return{instance:a,listener:s,currentTarget:d}}function u8(a,s){for(var d=s+\"Capture\",m=[];a!==null;){var b=a,v=b.stateNode;if(b=b.tag,b!==5&&b!==26&&b!==27||v===null||(b=BE(a,d),b!=null&&m.unshift(r_(a,b,v)),b=BE(a,s),b!=null&&m.push(r_(a,b,v))),a.tag===3)return m;a=a.return}return[]}function sut(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function use(a,s,d,m,b){for(var v=s._reactName,S=[];d!==null&&d!==m;){var I=d,z=I.alternate,F=I.stateNode;if(I=I.tag,z!==null&&z===m)break;I!==5&&I!==26&&I!==27||F===null||(z=F,b?(F=BE(d,v),F!=null&&S.unshift(r_(d,F,z))):b||(F=BE(d,v),F!=null&&S.push(r_(d,F,z)))),d=d.return}S.length!==0&&a.push({event:s,listeners:S})}function kz(a,s){cct(a,s),a!==\"input\"&&a!==\"textarea\"&&a!==\"select\"||s==null||s.value!==null||Ace||(Ace=!0,a===\"select\"&&s.multiple?console.error(\"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.\",a):console.error(\"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.\",a));var d={registrationNameDependencies:iy,possibleRegistrationNames:aL};RE(a)||typeof s.is==\"string\"||lct(a,s,d),s.contentEditable&&!s.suppressContentEditableWarning&&s.children!=null&&console.error(\"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.\")}function ri(a,s,d,m){s!==d&&(d=lm(d),lm(s)!==d&&(m[a]=s))}function cut(a,s,d){s.forEach(function(m){d[fse(m)]=m===\"style\"?Tz(a):a.getAttribute(m)})}function Fl(a,s){s===!1?console.error(\"Expected `%s` listener to be a function, instead got `false`.\\\\n\\\\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.\",a,a,a):console.error(\"Expected `%s` listener to be a function, instead got a value of `%s` type.\",a,typeof s)}function lse(a,s){return a=a.namespaceURI===C8||a.namespaceURI===I1?a.ownerDocument.createElementNS(a.namespaceURI,a.tagName):a.ownerDocument.createElement(a.tagName),a.innerHTML=s,a.innerHTML}function lm(a){return rr(a)&&(console.error(\"The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.\",Fn(a)),yt(a)),(typeof a==\"string\"?a:\"\"+a).replace(wdt,`\\n`).replace(Edt,\"\")}function dse(a,s){return s=lm(s),lm(a)===s}function pn(a,s,d,m,b,v){switch(d){case\"children\":typeof m==\"string\"?(hC(m,s,!1),s===\"body\"||s===\"textarea\"&&m===\"\"||PE(a,m)):(typeof m==\"number\"||typeof m==\"bigint\")&&(hC(\"\"+m,s,!1),s!==\"body\"&&PE(a,\"\"+m));break;case\"className\":on(a,\"class\",m);break;case\"tabIndex\":on(a,\"tabindex\",m);break;case\"dir\":case\"role\":case\"viewBox\":case\"width\":case\"height\":on(a,d,m);break;case\"style\":yoe(a,m,v);break;case\"data\":if(s!==\"object\"){on(a,\"data\",m);break}case\"src\":case\"href\":if(m===\"\"&&(s!==\"a\"||d!==\"href\")){console.error(d===\"src\"?\\'An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.\\':\\'An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.\\',d,d),a.removeAttribute(d);break}if(m==null||typeof m==\"function\"||typeof m==\"symbol\"||typeof m==\"boolean\"){a.removeAttribute(d);break}nr(m,d),m=OE(\"\"+m),a.setAttribute(d,m);break;case\"action\":case\"formAction\":if(m!=null&&(s===\"form\"?d===\"formAction\"?console.error(\"You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.\"):typeof m==\"function\"&&(b.encType==null&&b.method==null||hT||(hT=!0,console.error(\"Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.\")),b.target==null||mT||(mT=!0,console.error(\"Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.\"))):s===\"input\"||s===\"button\"?d===\"action\"?console.error(\"You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.\"):s!==\"input\"||b.type===\"submit\"||b.type===\"image\"||pT?s!==\"button\"||b.type==null||b.type===\"submit\"||pT?typeof m==\"function\"&&(b.name==null||lle||(lle=!0,console.error(\\'Cannot specify a \"name\" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.\\')),b.formEncType==null&&b.formMethod==null||hT||(hT=!0,console.error(\"Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.\")),b.formTarget==null||mT||(mT=!0,console.error(\"Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.\"))):(pT=!0,console.error(\\'A button can only specify a formAction along with type=\"submit\" or no type.\\')):(pT=!0,console.error(\\'An input can only specify a formAction along with type=\"submit\" or type=\"image\".\\')):console.error(d===\"action\"?\"You can only pass the action prop to <form>.\":\"You can only pass the formAction prop to <input> or <button>.\")),typeof m==\"function\"){a.setAttribute(d,\"javascript:throw new Error(\\'A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\\\\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().\\')\");break}else typeof v==\"function\"&&(d===\"formAction\"?(s!==\"input\"&&pn(a,s,\"name\",b.name,b,null),pn(a,s,\"formEncType\",b.formEncType,b,null),pn(a,s,\"formMethod\",b.formMethod,b,null),pn(a,s,\"formTarget\",b.formTarget,b,null)):(pn(a,s,\"encType\",b.encType,b,null),pn(a,s,\"method\",b.method,b,null),pn(a,s,\"target\",b.target,b,null)));if(m==null||typeof m==\"symbol\"||typeof m==\"boolean\"){a.removeAttribute(d);break}nr(m,d),m=OE(\"\"+m),a.setAttribute(d,m);break;case\"onClick\":m!=null&&(typeof m!=\"function\"&&Fl(d,m),a.onclick=mf);break;case\"onScroll\":m!=null&&(typeof m!=\"function\"&&Fl(d,m),fr(\"scroll\",a));break;case\"onScrollEnd\":m!=null&&(typeof m!=\"function\"&&Fl(d,m),fr(\"scrollend\",a));break;case\"dangerouslySetInnerHTML\":if(m!=null){if(typeof m!=\"object\"||!(\"__html\"in m))throw Error(\"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.\");if(d=m.__html,d!=null){if(b.children!=null)throw Error(\"Can only set one of `children` or `props.dangerouslySetInnerHTML`.\");a.innerHTML=d}}break;case\"multiple\":a.multiple=m&&typeof m!=\"function\"&&typeof m!=\"symbol\";break;case\"muted\":a.muted=m&&typeof m!=\"function\"&&typeof m!=\"symbol\";break;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"defaultValue\":case\"defaultChecked\":case\"innerHTML\":case\"ref\":break;case\"autoFocus\":break;case\"xlinkHref\":if(m==null||typeof m==\"function\"||typeof m==\"boolean\"||typeof m==\"symbol\"){a.removeAttribute(\"xlink:href\");break}nr(m,d),d=OE(\"\"+m),a.setAttributeNS(Ey,\"xlink:href\",d);break;case\"contentEditable\":case\"spellCheck\":case\"draggable\":case\"value\":case\"autoReverse\":case\"externalResourcesRequired\":case\"focusable\":case\"preserveAlpha\":m!=null&&typeof m!=\"function\"&&typeof m!=\"symbol\"?(nr(m,d),a.setAttribute(d,\"\"+m)):a.removeAttribute(d);break;case\"inert\":m!==\"\"||yT[d]||(yT[d]=!0,console.error(\"Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.\",d));case\"allowFullScreen\":case\"async\":case\"autoPlay\":case\"controls\":case\"default\":case\"defer\":case\"disabled\":case\"disablePictureInPicture\":case\"disableRemotePlayback\":case\"formNoValidate\":case\"hidden\":case\"loop\":case\"noModule\":case\"noValidate\":case\"open\":case\"playsInline\":case\"readOnly\":case\"required\":case\"reversed\":case\"scoped\":case\"seamless\":case\"itemScope\":m&&typeof m!=\"function\"&&typeof m!=\"symbol\"?a.setAttribute(d,\"\"):a.removeAttribute(d);break;case\"capture\":case\"download\":m===!0?a.setAttribute(d,\"\"):m!==!1&&m!=null&&typeof m!=\"function\"&&typeof m!=\"symbol\"?(nr(m,d),a.setAttribute(d,m)):a.removeAttribute(d);break;case\"cols\":case\"rows\":case\"size\":case\"span\":m!=null&&typeof m!=\"function\"&&typeof m!=\"symbol\"&&!isNaN(m)&&1<=m?(nr(m,d),a.setAttribute(d,m)):a.removeAttribute(d);break;case\"rowSpan\":case\"start\":m==null||typeof m==\"function\"||typeof m==\"symbol\"||isNaN(m)?a.removeAttribute(d):(nr(m,d),a.setAttribute(d,m));break;case\"popover\":fr(\"beforetoggle\",a),fr(\"toggle\",a),nn(a,\"popover\",m);break;case\"xlinkActuate\":ji(a,Ey,\"xlink:actuate\",m);break;case\"xlinkArcrole\":ji(a,Ey,\"xlink:arcrole\",m);break;case\"xlinkRole\":ji(a,Ey,\"xlink:role\",m);break;case\"xlinkShow\":ji(a,Ey,\"xlink:show\",m);break;case\"xlinkTitle\":ji(a,Ey,\"xlink:title\",m);break;case\"xlinkType\":ji(a,Ey,\"xlink:type\",m);break;case\"xmlBase\":ji(a,lH,\"xml:base\",m);break;case\"xmlLang\":ji(a,lH,\"xml:lang\",m);break;case\"xmlSpace\":ji(a,lH,\"xml:space\",m);break;case\"is\":v!=null&&console.error(\\'Cannot update the \"is\" prop after it has been initialized.\\'),nn(a,\"is\",m);break;case\"innerText\":case\"textContent\":break;case\"popoverTarget\":dle||m==null||typeof m!=\"object\"||(dle=!0,console.error(\"The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.\",m));default:!(2<d.length)||d[0]!==\"o\"&&d[0]!==\"O\"||d[1]!==\"n\"&&d[1]!==\"N\"?(d=boe(d),nn(a,d,m)):iy.hasOwnProperty(d)&&m!=null&&typeof m!=\"function\"&&Fl(d,m)}}function Cz(a,s,d,m,b,v){switch(d){case\"style\":yoe(a,m,v);break;case\"dangerouslySetInnerHTML\":if(m!=null){if(typeof m!=\"object\"||!(\"__html\"in m))throw Error(\"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.\");if(d=m.__html,d!=null){if(b.children!=null)throw Error(\"Can only set one of `children` or `props.dangerouslySetInnerHTML`.\");a.innerHTML=d}}break;case\"children\":typeof m==\"string\"?PE(a,m):(typeof m==\"number\"||typeof m==\"bigint\")&&PE(a,\"\"+m);break;case\"onScroll\":m!=null&&(typeof m!=\"function\"&&Fl(d,m),fr(\"scroll\",a));break;case\"onScrollEnd\":m!=null&&(typeof m!=\"function\"&&Fl(d,m),fr(\"scrollend\",a));break;case\"onClick\":m!=null&&(typeof m!=\"function\"&&Fl(d,m),a.onclick=mf);break;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"innerHTML\":case\"ref\":break;case\"innerText\":case\"textContent\":break;default:if(iy.hasOwnProperty(d))m!=null&&typeof m!=\"function\"&&Fl(d,m);else e:{if(d[0]===\"o\"&&d[1]===\"n\"&&(b=d.endsWith(\"Capture\"),s=d.slice(2,b?d.length-7:void 0),v=a[da]||null,v=v!=null?v[d]:null,typeof v==\"function\"&&a.removeEventListener(s,v,b),typeof m==\"function\")){typeof v!=\"function\"&&v!==null&&(d in a?a[d]=null:a.hasAttribute(d)&&a.removeAttribute(d)),a.addEventListener(s,m,b);break e}d in a?a[d]=m:m===!0?a.setAttribute(d,\"\"):nn(a,d,m)}}}function wi(a,s,d){switch(kz(s,d),s){case\"div\":case\"span\":case\"svg\":case\"path\":case\"a\":case\"g\":case\"p\":case\"li\":break;case\"img\":fr(\"error\",a),fr(\"load\",a);var m=!1,b=!1,v;for(v in d)if(d.hasOwnProperty(v)){var S=d[v];if(S!=null)switch(v){case\"src\":m=!0;break;case\"srcSet\":b=!0;break;case\"children\":case\"dangerouslySetInnerHTML\":throw Error(s+\" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\");default:pn(a,s,v,S,d,null)}}b&&pn(a,s,\"srcSet\",d.srcSet,d,null),m&&pn(a,s,\"src\",d.src,d,null);return;case\"input\":Er(\"input\",d),fr(\"invalid\",a);var I=v=S=b=null,z=null,F=null;for(m in d)if(d.hasOwnProperty(m)){var ae=d[m];if(ae!=null)switch(m){case\"name\":b=ae;break;case\"type\":S=ae;break;case\"checked\":z=ae;break;case\"defaultChecked\":F=ae;break;case\"value\":v=ae;break;case\"defaultValue\":I=ae;break;case\"children\":case\"dangerouslySetInnerHTML\":if(ae!=null)throw Error(s+\" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\");break;default:pn(a,s,m,ae,d,null)}}_n(a,d),Sn(a,v,I,z,F,S,b,!1);return;case\"select\":Er(\"select\",d),fr(\"invalid\",a),m=S=v=null;for(b in d)if(d.hasOwnProperty(b)&&(I=d[b],I!=null))switch(b){case\"value\":v=I;break;case\"defaultValue\":S=I;break;case\"multiple\":m=I;default:pn(a,s,b,I,d,null)}wl(a,d),s=v,d=S,a.multiple=!!m,s!=null?Ja(a,!!m,s,!1):d!=null&&Ja(a,!!m,d,!0);return;case\"textarea\":Er(\"textarea\",d),fr(\"invalid\",a),v=b=m=null;for(S in d)if(d.hasOwnProperty(S)&&(I=d[S],I!=null))switch(S){case\"value\":m=I;break;case\"defaultValue\":b=I;break;case\"children\":v=I;break;case\"dangerouslySetInnerHTML\":if(I!=null)throw Error(\"`dangerouslySetInnerHTML` does not make sense on <textarea>.\");break;default:pn(a,s,S,I,d,null)}El(a,d),Sl(a,m,b,v);return;case\"option\":xl(a,d);for(z in d)d.hasOwnProperty(z)&&(m=d[z],m!=null)&&(z===\"selected\"?a.selected=m&&typeof m!=\"function\"&&typeof m!=\"symbol\":pn(a,s,z,m,d,null));return;case\"dialog\":fr(\"beforetoggle\",a),fr(\"toggle\",a),fr(\"cancel\",a),fr(\"close\",a);break;case\"iframe\":case\"object\":fr(\"load\",a);break;case\"video\":case\"audio\":for(m=0;m<J_.length;m++)fr(J_[m],a);break;case\"image\":fr(\"error\",a),fr(\"load\",a);break;case\"details\":fr(\"toggle\",a);break;case\"embed\":case\"source\":case\"link\":fr(\"error\",a),fr(\"load\",a);case\"area\":case\"base\":case\"br\":case\"col\":case\"hr\":case\"keygen\":case\"meta\":case\"param\":case\"track\":case\"wbr\":case\"menuitem\":for(F in d)if(d.hasOwnProperty(F)&&(m=d[F],m!=null))switch(F){case\"children\":case\"dangerouslySetInnerHTML\":throw Error(s+\" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\");default:pn(a,s,F,m,d,null)}return;default:if(RE(s)){for(ae in d)d.hasOwnProperty(ae)&&(m=d[ae],m!==void 0&&Cz(a,s,ae,m,d,void 0));return}}for(I in d)d.hasOwnProperty(I)&&(m=d[I],m!=null&&pn(a,s,I,m,d,null))}function uut(a,s,d,m){switch(kz(s,m),s){case\"div\":case\"span\":case\"svg\":case\"path\":case\"a\":case\"g\":case\"p\":case\"li\":break;case\"input\":var b=null,v=null,S=null,I=null,z=null,F=null,ae=null;for(he in d){var se=d[he];if(d.hasOwnProperty(he)&&se!=null)switch(he){case\"checked\":break;case\"value\":break;case\"defaultValue\":z=se;default:m.hasOwnProperty(he)||pn(a,s,he,null,m,se)}}for(var te in m){var he=m[te];if(se=d[te],m.hasOwnProperty(te)&&(he!=null||se!=null))switch(te){case\"type\":v=he;break;case\"name\":b=he;break;case\"checked\":F=he;break;case\"defaultChecked\":ae=he;break;case\"value\":S=he;break;case\"defaultValue\":I=he;break;case\"children\":case\"dangerouslySetInnerHTML\":if(he!=null)throw Error(s+\" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\");break;default:he!==se&&pn(a,s,te,he,m,se)}}s=d.type===\"checkbox\"||d.type===\"radio\"?d.checked!=null:d.value!=null,m=m.type===\"checkbox\"||m.type===\"radio\"?m.checked!=null:m.value!=null,s||!m||ule||(console.error(\"A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components\"),ule=!0),!s||m||cle||(console.error(\"A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components\"),cle=!0),gl(a,S,I,z,F,ae,v,b);return;case\"select\":he=S=I=te=null;for(v in d)if(z=d[v],d.hasOwnProperty(v)&&z!=null)switch(v){case\"value\":break;case\"multiple\":he=z;default:m.hasOwnProperty(v)||pn(a,s,v,null,m,z)}for(b in m)if(v=m[b],z=d[b],m.hasOwnProperty(b)&&(v!=null||z!=null))switch(b){case\"value\":te=v;break;case\"defaultValue\":I=v;break;case\"multiple\":S=v;default:v!==z&&pn(a,s,b,v,m,z)}m=I,s=S,d=he,te!=null?Ja(a,!!s,te,!1):!!d!=!!s&&(m!=null?Ja(a,!!s,m,!0):Ja(a,!!s,s?[]:\"\",!1));return;case\"textarea\":he=te=null;for(I in d)if(b=d[I],d.hasOwnProperty(I)&&b!=null&&!m.hasOwnProperty(I))switch(I){case\"value\":break;case\"children\":break;default:pn(a,s,I,null,m,b)}for(S in m)if(b=m[S],v=d[S],m.hasOwnProperty(S)&&(b!=null||v!=null))switch(S){case\"value\":te=b;break;case\"defaultValue\":he=b;break;case\"children\":break;case\"dangerouslySetInnerHTML\":if(b!=null)throw Error(\"`dangerouslySetInnerHTML` does not make sense on <textarea>.\");break;default:b!==v&&pn(a,s,S,b,m,v)}_l(a,te,he);return;case\"option\":for(var $e in d)te=d[$e],d.hasOwnProperty($e)&&te!=null&&!m.hasOwnProperty($e)&&($e===\"selected\"?a.selected=!1:pn(a,s,$e,null,m,te));for(z in m)te=m[z],he=d[z],m.hasOwnProperty(z)&&te!==he&&(te!=null||he!=null)&&(z===\"selected\"?a.selected=te&&typeof te!=\"function\"&&typeof te!=\"symbol\":pn(a,s,z,te,m,he));return;case\"img\":case\"link\":case\"area\":case\"base\":case\"br\":case\"col\":case\"embed\":case\"hr\":case\"keygen\":case\"meta\":case\"param\":case\"source\":case\"track\":case\"wbr\":case\"menuitem\":for(var qe in d)te=d[qe],d.hasOwnProperty(qe)&&te!=null&&!m.hasOwnProperty(qe)&&pn(a,s,qe,null,m,te);for(F in m)if(te=m[F],he=d[F],m.hasOwnProperty(F)&&te!==he&&(te!=null||he!=null))switch(F){case\"children\":case\"dangerouslySetInnerHTML\":if(te!=null)throw Error(s+\" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.\");break;default:pn(a,s,F,te,m,he)}return;default:if(RE(s)){for(var kn in d)te=d[kn],d.hasOwnProperty(kn)&&te!==void 0&&!m.hasOwnProperty(kn)&&Cz(a,s,kn,void 0,m,te);for(ae in m)te=m[ae],he=d[ae],!m.hasOwnProperty(ae)||te===he||te===void 0&&he===void 0||Cz(a,s,ae,te,m,he);return}}for(var pr in d)te=d[pr],d.hasOwnProperty(pr)&&te!=null&&!m.hasOwnProperty(pr)&&pn(a,s,pr,null,m,te);for(se in m)te=m[se],he=d[se],!m.hasOwnProperty(se)||te===he||te==null&&he==null||pn(a,s,se,te,m,he)}function fse(a){switch(a){case\"class\":return\"className\";case\"for\":return\"htmlFor\";default:return a}}function Tz(a){var s={};a=a.style;for(var d=0;d<a.length;d++){var m=a[d];s[m]=a.getPropertyValue(m)}return s}function pse(a,s,d){if(s!=null&&typeof s!=\"object\")console.error(\"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + \\'em\\'}} when using JSX.\");else{var m,b=m=\"\",v;for(v in s)if(s.hasOwnProperty(v)){var S=s[v];S!=null&&typeof S!=\"boolean\"&&S!==\"\"&&(v.indexOf(\"--\")===0?(tn(S,v),m+=b+v+\":\"+(\"\"+S).trim()):typeof S!=\"number\"||S===0||_ce.has(v)?(tn(S,v),m+=b+v.replace(gce,\"-$1\").toLowerCase().replace(xce,\"-ms-\")+\":\"+(\"\"+S).trim()):m+=b+v.replace(gce,\"-$1\").toLowerCase().replace(xce,\"-ms-\")+\":\"+S+\"px\",b=\";\")}m=m||null,s=a.getAttribute(\"style\"),s!==m&&(m=lm(m),lm(s)!==m&&(d.style=Tz(a)))}}function wc(a,s,d,m,b,v){if(b.delete(d),a=a.getAttribute(d),a===null)switch(typeof m){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":return}else if(m!=null)switch(typeof m){case\"function\":case\"symbol\":case\"boolean\":break;default:if(nr(m,s),a===\"\"+m)return}ri(s,a,m,v)}function mse(a,s,d,m,b,v){if(b.delete(d),a=a.getAttribute(d),a===null){switch(typeof m){case\"function\":case\"symbol\":return}if(!m)return}else switch(typeof m){case\"function\":case\"symbol\":break;default:if(m)return}ri(s,a,m,v)}function Iz(a,s,d,m,b,v){if(b.delete(d),a=a.getAttribute(d),a===null)switch(typeof m){case\"undefined\":case\"function\":case\"symbol\":return}else if(m!=null)switch(typeof m){case\"function\":case\"symbol\":break;default:if(nr(m,d),a===\"\"+m)return}ri(s,a,m,v)}function hse(a,s,d,m,b,v){if(b.delete(d),a=a.getAttribute(d),a===null)switch(typeof m){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":return;default:if(isNaN(m))return}else if(m!=null)switch(typeof m){case\"function\":case\"symbol\":case\"boolean\":break;default:if(!isNaN(m)&&(nr(m,s),a===\"\"+m))return}ri(s,a,m,v)}function Pz(a,s,d,m,b,v){if(b.delete(d),a=a.getAttribute(d),a===null)switch(typeof m){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":return}else if(m!=null)switch(typeof m){case\"function\":case\"symbol\":case\"boolean\":break;default:if(nr(m,s),d=OE(\"\"+m),a===d)return}ri(s,a,m,v)}function yse(a,s,d,m){for(var b={},v=new Set,S=a.attributes,I=0;I<S.length;I++)switch(S[I].name.toLowerCase()){case\"value\":break;case\"checked\":break;case\"selected\":break;default:v.add(S[I].name)}if(RE(s)){for(var z in d)if(d.hasOwnProperty(z)){var F=d[z];if(F!=null){if(iy.hasOwnProperty(z))typeof F!=\"function\"&&Fl(z,F);else if(d.suppressHydrationWarning!==!0)switch(z){case\"children\":typeof F!=\"string\"&&typeof F!=\"number\"||ri(\"children\",a.textContent,F,b);continue;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"defaultValue\":case\"defaultChecked\":case\"innerHTML\":case\"ref\":continue;case\"dangerouslySetInnerHTML\":S=a.innerHTML,F=F?F.__html:void 0,F!=null&&(F=lse(a,F),ri(z,S,F,b));continue;case\"style\":v.delete(z),pse(a,F,b);continue;case\"offsetParent\":case\"offsetTop\":case\"offsetLeft\":case\"offsetWidth\":case\"offsetHeight\":case\"isContentEditable\":case\"outerText\":case\"outerHTML\":v.delete(z.toLowerCase()),console.error(\"Assignment to read-only property will result in a no-op: `%s`\",z);continue;case\"className\":v.delete(\"class\"),S=ff(a,\"class\",F),ri(\"className\",S,F,b);continue;default:m.context===Nf&&s!==\"svg\"&&s!==\"math\"?v.delete(z.toLowerCase()):v.delete(z),S=ff(a,z,F),ri(z,S,F,b)}}}}else for(F in d)if(d.hasOwnProperty(F)&&(z=d[F],z!=null)){if(iy.hasOwnProperty(F))typeof z!=\"function\"&&Fl(F,z);else if(d.suppressHydrationWarning!==!0)switch(F){case\"children\":typeof z!=\"string\"&&typeof z!=\"number\"||ri(\"children\",a.textContent,z,b);continue;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"value\":case\"checked\":case\"selected\":case\"defaultValue\":case\"defaultChecked\":case\"innerHTML\":case\"ref\":continue;case\"dangerouslySetInnerHTML\":S=a.innerHTML,z=z?z.__html:void 0,z!=null&&(z=lse(a,z),S!==z&&(b[F]={__html:S}));continue;case\"className\":wc(a,F,\"class\",z,v,b);continue;case\"tabIndex\":wc(a,F,\"tabindex\",z,v,b);continue;case\"style\":v.delete(F),pse(a,z,b);continue;case\"multiple\":v.delete(F),ri(F,a.multiple,z,b);continue;case\"muted\":v.delete(F),ri(F,a.muted,z,b);continue;case\"autoFocus\":v.delete(\"autofocus\"),ri(F,a.autofocus,z,b);continue;case\"data\":if(s!==\"object\"){v.delete(F),S=a.getAttribute(\"data\"),ri(F,S,z,b);continue}case\"src\":case\"href\":if(!(z!==\"\"||s===\"a\"&&F===\"href\"||s===\"object\"&&F===\"data\")){console.error(F===\"src\"?\\'An empty string (\"\") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.\\':\\'An empty string (\"\") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.\\',F,F);continue}Pz(a,F,F,z,v,b);continue;case\"action\":case\"formAction\":if(S=a.getAttribute(F),typeof z==\"function\"){v.delete(F.toLowerCase()),F===\"formAction\"?(v.delete(\"name\"),v.delete(\"formenctype\"),v.delete(\"formmethod\"),v.delete(\"formtarget\")):(v.delete(\"enctype\"),v.delete(\"method\"),v.delete(\"target\"));continue}else if(S===_dt){v.delete(F.toLowerCase()),ri(F,\"function\",z,b);continue}Pz(a,F,F.toLowerCase(),z,v,b);continue;case\"xlinkHref\":Pz(a,F,\"xlink:href\",z,v,b);continue;case\"contentEditable\":Iz(a,F,\"contenteditable\",z,v,b);continue;case\"spellCheck\":Iz(a,F,\"spellcheck\",z,v,b);continue;case\"draggable\":case\"autoReverse\":case\"externalResourcesRequired\":case\"focusable\":case\"preserveAlpha\":Iz(a,F,F,z,v,b);continue;case\"allowFullScreen\":case\"async\":case\"autoPlay\":case\"controls\":case\"default\":case\"defer\":case\"disabled\":case\"disablePictureInPicture\":case\"disableRemotePlayback\":case\"formNoValidate\":case\"hidden\":case\"loop\":case\"noModule\":case\"noValidate\":case\"open\":case\"playsInline\":case\"readOnly\":case\"required\":case\"reversed\":case\"scoped\":case\"seamless\":case\"itemScope\":mse(a,F,F.toLowerCase(),z,v,b);continue;case\"capture\":case\"download\":e:{I=a;var ae=S=F,se=b;if(v.delete(ae),I=I.getAttribute(ae),I===null)switch(typeof z){case\"undefined\":case\"function\":case\"symbol\":break e;default:if(z===!1)break e}else if(z!=null)switch(typeof z){case\"function\":case\"symbol\":break;case\"boolean\":if(z===!0&&I===\"\")break e;break;default:if(nr(z,S),I===\"\"+z)break e}ri(S,I,z,se)}continue;case\"cols\":case\"rows\":case\"size\":case\"span\":e:{if(I=a,ae=S=F,se=b,v.delete(ae),I=I.getAttribute(ae),I===null)switch(typeof z){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":break e;default:if(isNaN(z)||1>z)break e}else if(z!=null)switch(typeof z){case\"function\":case\"symbol\":case\"boolean\":break;default:if(!(isNaN(z)||1>z)&&(nr(z,S),I===\"\"+z))break e}ri(S,I,z,se)}continue;case\"rowSpan\":hse(a,F,\"rowspan\",z,v,b);continue;case\"start\":hse(a,F,F,z,v,b);continue;case\"xHeight\":wc(a,F,\"x-height\",z,v,b);continue;case\"xlinkActuate\":wc(a,F,\"xlink:actuate\",z,v,b);continue;case\"xlinkArcrole\":wc(a,F,\"xlink:arcrole\",z,v,b);continue;case\"xlinkRole\":wc(a,F,\"xlink:role\",z,v,b);continue;case\"xlinkShow\":wc(a,F,\"xlink:show\",z,v,b);continue;case\"xlinkTitle\":wc(a,F,\"xlink:title\",z,v,b);continue;case\"xlinkType\":wc(a,F,\"xlink:type\",z,v,b);continue;case\"xmlBase\":wc(a,F,\"xml:base\",z,v,b);continue;case\"xmlLang\":wc(a,F,\"xml:lang\",z,v,b);continue;case\"xmlSpace\":wc(a,F,\"xml:space\",z,v,b);continue;case\"inert\":z!==\"\"||yT[F]||(yT[F]=!0,console.error(\"Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.\",F)),mse(a,F,F,z,v,b);continue;default:if(!(2<F.length)||F[0]!==\"o\"&&F[0]!==\"O\"||F[1]!==\"n\"&&F[1]!==\"N\"){I=boe(F),S=!1,m.context===Nf&&s!==\"svg\"&&s!==\"math\"?v.delete(I.toLowerCase()):(ae=F.toLowerCase(),ae=T8.hasOwnProperty(ae)&&T8[ae]||null,ae!==null&&ae!==F&&(S=!0,v.delete(ae)),v.delete(I));e:if(ae=a,se=I,I=z,Lr(se))if(ae.hasAttribute(se))ae=ae.getAttribute(se),nr(I,se),I=ae===\"\"+I?I:ae;else{switch(typeof I){case\"function\":case\"symbol\":break e;case\"boolean\":if(ae=se.toLowerCase().slice(0,5),ae!==\"data-\"&&ae!==\"aria-\")break e}I=I===void 0?void 0:null}else I=void 0;S||ri(F,I,z,b)}}}return 0<v.size&&d.suppressHydrationWarning!==!0&&cut(a,v,b),Object.keys(b).length===0?null:b}function lut(a,s){switch(a.length){case 0:return\"\";case 1:return a[0];case 2:return a[0]+\" \"+s+\" \"+a[1];default:return a.slice(0,-1).join(\", \")+\", \"+s+\" \"+a[a.length-1]}}function bse(a){switch(a){case\"css\":case\"script\":case\"font\":case\"img\":case\"image\":case\"input\":case\"link\":return!0;default:return!1}}function dut(){if(typeof performance.getEntriesByType==\"function\"){for(var a=0,s=0,d=performance.getEntriesByType(\"resource\"),m=0;m<d.length;m++){var b=d[m],v=b.transferSize,S=b.initiatorType,I=b.duration;if(v&&I&&bse(S)){for(S=0,I=b.responseEnd,m+=1;m<d.length;m++){var z=d[m],F=z.startTime;if(F>I)break;var ae=z.transferSize,se=z.initiatorType;ae&&bse(se)&&(z=z.responseEnd,S+=ae*(z<I?1:(I-F)/(z-F)))}if(--m,s+=8*(v+S)/(b.duration/1e3),a++,10<a)break}}if(0<a)return s/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a==\"number\")?a:5}function l8(a){return a.nodeType===9?a:a.ownerDocument}function gse(a){switch(a){case I1:return ix;case C8:return gT;default:return Nf}}function xse(a,s){if(a===Nf)switch(s){case\"svg\":return ix;case\"math\":return gT;default:return Nf}return a===ix&&s===\"foreignObject\"?Nf:a}function Rz(a,s){return a===\"textarea\"||a===\"noscript\"||typeof s.children==\"string\"||typeof s.children==\"number\"||typeof s.children==\"bigint\"||typeof s.dangerouslySetInnerHTML==\"object\"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}function fut(){var a=window.event;return a&&a.type===\"popstate\"?a===mH?!1:(mH=a,!0):(mH=null,!1)}function n_(){var a=window.event;return a&&a!==X_?a.type:null}function o_(){var a=window.event;return a&&a!==X_?a.timeStamp:-1.1}function put(a){setTimeout(function(){throw a})}function mut(a,s,d){switch(s){case\"button\":case\"input\":case\"select\":case\"textarea\":d.autoFocus&&a.focus();break;case\"img\":d.src?a.src=d.src:d.srcSet&&(a.srcset=d.srcSet)}}function hut(){}function yut(a,s,d,m){uut(a,s,d,m),a[da]=m}function vse(a){PE(a,\"\")}function but(a,s,d){a.nodeValue=d}function wse(a){if(!a.__reactWarnedAboutChildrenConflict){var s=a[da]||null;if(s!==null){var d=Ze(a);d!==null&&(typeof s.children==\"string\"||typeof s.children==\"number\"?(a.__reactWarnedAboutChildrenConflict=!0,Pe(d,function(){console.error(\\'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets \"children\" text content using React. It should be a leaf with no children. Otherwise it\\\\\\'s ambiguous which children should be used.\\')})):s.dangerouslySetInnerHTML!=null&&(a.__reactWarnedAboutChildrenConflict=!0,Pe(d,function(){console.error(\\'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets \"dangerouslySetInnerHTML\" using React. It should be a leaf with no children. Otherwise it\\\\\\'s ambiguous which children should be used.\\')})))}}}function dm(a){return a===\"head\"}function gut(a,s){a.removeChild(s)}function xut(a,s){(a.nodeType===9?a.body:a.nodeName===\"HTML\"?a.ownerDocument.body:a).removeChild(s)}function Ese(a,s){var d=s,m=0;do{var b=d.nextSibling;if(a.removeChild(d),b&&b.nodeType===8)if(d=b.data,d===Y_||d===bT){if(m===0){a.removeChild(b),_1(s);return}m--}else if(d===Q_||d===Dm||d===Sy||d===ox||d===_y)m++;else if(d===Adt)i_(a.ownerDocument.documentElement);else if(d===Cdt){d=a.ownerDocument.head,i_(d);for(var v=d.firstChild;v;){var S=v.nextSibling,I=v.nodeName;v[f_]||I===\"SCRIPT\"||I===\"STYLE\"||I===\"LINK\"&&v.rel.toLowerCase()===\"stylesheet\"||d.removeChild(v),v=S}}else d===kdt&&i_(a.ownerDocument.body);d=b}while(d);_1(s)}function _se(a,s){var d=a;a=0;do{var m=d.nextSibling;if(d.nodeType===1?s?(d._stashedDisplay=d.style.display,d.style.display=\"none\"):(d.style.display=d._stashedDisplay||\"\",d.getAttribute(\"style\")===\"\"&&d.removeAttribute(\"style\")):d.nodeType===3&&(s?(d._stashedText=d.nodeValue,d.nodeValue=\"\"):d.nodeValue=d._stashedText||\"\"),m&&m.nodeType===8)if(d=m.data,d===Y_){if(a===0)break;a--}else d!==Q_&&d!==Dm&&d!==Sy&&d!==ox||a++;d=m}while(d)}function vut(a){_se(a,!0)}function wut(a){a=a.style,typeof a.setProperty==\"function\"?a.setProperty(\"display\",\"none\",\"important\"):a.display=\"none\"}function Eut(a){a.nodeValue=\"\"}function _ut(a){_se(a,!1)}function Sut(a,s){s=s[Tdt],s=s!=null&&s.hasOwnProperty(\"display\")?s.display:null,a.style.display=s==null||typeof s==\"boolean\"?\"\":(\"\"+s).trim()}function Aut(a,s){a.nodeValue=s}function Oz(a){var s=a.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var d=s;switch(s=s.nextSibling,d.nodeName){case\"HTML\":case\"HEAD\":case\"BODY\":Oz(d),Re(d);continue;case\"SCRIPT\":case\"STYLE\":continue;case\"LINK\":if(d.rel.toLowerCase()===\"stylesheet\")continue}a.removeChild(d)}}function kut(a,s,d,m){for(;a.nodeType===1;){var b=d;if(a.nodeName.toLowerCase()!==s.toLowerCase()){if(!m&&(a.nodeName!==\"INPUT\"||a.type!==\"hidden\"))break}else if(m){if(!a[f_])switch(s){case\"meta\":if(!a.hasAttribute(\"itemprop\"))break;return a;case\"link\":if(v=a.getAttribute(\"rel\"),v===\"stylesheet\"&&a.hasAttribute(\"data-precedence\"))break;if(v!==b.rel||a.getAttribute(\"href\")!==(b.href==null||b.href===\"\"?null:b.href)||a.getAttribute(\"crossorigin\")!==(b.crossOrigin==null?null:b.crossOrigin)||a.getAttribute(\"title\")!==(b.title==null?null:b.title))break;return a;case\"style\":if(a.hasAttribute(\"data-precedence\"))break;return a;case\"script\":if(v=a.getAttribute(\"src\"),(v!==(b.src==null?null:b.src)||a.getAttribute(\"type\")!==(b.type==null?null:b.type)||a.getAttribute(\"crossorigin\")!==(b.crossOrigin==null?null:b.crossOrigin))&&v&&a.hasAttribute(\"async\")&&!a.hasAttribute(\"itemprop\"))break;return a;default:return a}}else if(s===\"input\"&&a.type===\"hidden\"){nr(b.name,\"name\");var v=b.name==null?null:\"\"+b.name;if(b.type===\"hidden\"&&a.getAttribute(\"name\")===v)return a}else return a;if(a=Fs(a.nextSibling),a===null)break}return null}function Cut(a,s,d){if(s===\"\")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!==\"INPUT\"||a.type!==\"hidden\")&&!d||(a=Fs(a.nextSibling),a===null))return null;return a}function Sse(a,s){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!==\"INPUT\"||a.type!==\"hidden\")&&!s||(a=Fs(a.nextSibling),a===null))return null;return a}function Bz(a){return a.data===Dm||a.data===Sy}function Mz(a){return a.data===ox||a.data===Dm&&a.ownerDocument.readyState!==ple}function Tut(a,s){var d=a.ownerDocument;if(a.data===Sy)a._reactRetry=s;else if(a.data!==Dm||d.readyState!==ple)s();else{var m=function(){s(),d.removeEventListener(\"DOMContentLoaded\",m)};d.addEventListener(\"DOMContentLoaded\",m),a._reactRetry=m}}function Fs(a){for(;a!=null;a=a.nextSibling){var s=a.nodeType;if(s===1||s===3)break;if(s===8){if(s=a.data,s===Q_||s===ox||s===Dm||s===Sy||s===_y||s===dH||s===fle)break;if(s===Y_||s===bT)return null}}return a}function Ase(a){if(a.nodeType===1){for(var s=a.nodeName.toLowerCase(),d={},m=a.attributes,b=0;b<m.length;b++){var v=m[b];d[fse(v.name)]=v.name.toLowerCase()===\"style\"?Tz(a):v.value}return{type:s,props:d}}return a.nodeType===8?a.data===_y?{type:\"Activity\",props:{}}:{type:\"Suspense\",props:{}}:a.nodeValue}function kse(a,s,d){return d===null||d[Sdt]!==!0?(a.nodeValue===s?a=null:(s=lm(s),a=lm(a.nodeValue)===s?null:a.nodeValue),a):null}function Dz(a){a=a.nextSibling;for(var s=0;a;){if(a.nodeType===8){var d=a.data;if(d===Y_||d===bT){if(s===0)return Fs(a.nextSibling);s--}else d!==Q_&&d!==ox&&d!==Dm&&d!==Sy&&d!==_y||s++}a=a.nextSibling}return null}function Cse(a){a=a.previousSibling;for(var s=0;a;){if(a.nodeType===8){var d=a.data;if(d===Q_||d===ox||d===Dm||d===Sy||d===_y){if(s===0)return a;s--}else d!==Y_&&d!==bT||s++}a=a.previousSibling}return null}function Iut(a){_1(a)}function Put(a){_1(a)}function Rut(a){_1(a)}function Tse(a,s,d,m,b){switch(b&&GU(a,m.ancestorInfo),s=l8(d),a){case\"html\":if(a=s.documentElement,!a)throw Error(\"React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.\");return a;case\"head\":if(a=s.head,!a)throw Error(\"React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.\");return a;case\"body\":if(a=s.body,!a)throw Error(\"React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.\");return a;default:throw Error(\"resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.\")}}function Out(a,s,d,m){if(!d[hm]&&Ze(d)){var b=d.tagName.toLowerCase();console.error(\"You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.\",b,b,b)}switch(a){case\"html\":case\"head\":case\"body\":break;default:console.error(\"acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.\")}for(b=d.attributes;b.length;)d.removeAttributeNode(b[0]);wi(d,a,s),d[Ei]=m,d[da]=s}function i_(a){for(var s=a.attributes;s.length;)a.removeAttributeNode(s[0]);Re(a)}function d8(a){return typeof a.getRootNode==\"function\"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}function Ise(a,s,d){var m=ax;if(m&&typeof s==\"string\"&&s){var b=dr(s);b=\\'link[rel=\"\\'+a+\\'\"][href=\"\\'+b+\\'\"]\\',typeof d==\"string\"&&(b+=\\'[crossorigin=\"\\'+d+\\'\"]\\'),xle.has(b)||(xle.add(b),a={rel:a,crossOrigin:d,href:s},m.querySelector(b)===null&&(s=m.createElement(\"link\"),wi(s,\"link\",a),Le(s),m.head.appendChild(s)))}}function Pse(a,s,d,m){var b=(b=pm.current)?d8(b):null;if(!b)throw Error(\\'\"resourceRoot\" was expected to exist. This is a bug in React.\\');switch(a){case\"meta\":case\"title\":return null;case\"style\":return typeof d.precedence==\"string\"&&typeof d.href==\"string\"?(d=w1(d.href),s=jt(b).hoistableStyles,m=s.get(d),m||(m={type:\"style\",instance:null,count:0,state:null},s.set(d,m)),m):{type:\"void\",instance:null,count:0,state:null};case\"link\":if(d.rel===\"stylesheet\"&&typeof d.href==\"string\"&&typeof d.precedence==\"string\"){a=w1(d.href);var v=jt(b).hoistableStyles,S=v.get(a);if(!S&&(b=b.ownerDocument||b,S={type:\"stylesheet\",instance:null,count:0,state:{loading:ky,preload:null}},v.set(a,S),(v=b.querySelector(a_(a)))&&!v._p&&(S.instance=v,S.state.loading=eS|Oc),!Bc.has(a))){var I={rel:\"preload\",as:\"style\",href:d.href,crossOrigin:d.crossOrigin,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy};Bc.set(a,I),v||But(b,a,I,S.state)}if(s&&m===null)throw d=`\\n\\n  - `+f8(s)+`\\n  + `+f8(d),Error(\"Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key.\"+d);return S}if(s&&m!==null)throw d=`\\n\\n  - `+f8(s)+`\\n  + `+f8(d),Error(\"Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key.\"+d);return null;case\"script\":return s=d.async,d=d.src,typeof d==\"string\"&&s&&typeof s!=\"function\"&&typeof s!=\"symbol\"?(d=E1(d),s=jt(b).hoistableScripts,m=s.get(d),m||(m={type:\"script\",instance:null,count:0,state:null},s.set(d,m)),m):{type:\"void\",instance:null,count:0,state:null};default:throw Error(\\'getResource encountered a type it did not expect: \"\\'+a+\\'\". this is a bug in React.\\')}}function f8(a){var s=0,d=\"<link\";return typeof a.rel==\"string\"?(s++,d+=\\' rel=\"\\'+a.rel+\\'\"\\'):Cu.call(a,\"rel\")&&(s++,d+=\\' rel=\"\\'+(a.rel===null?\"null\":\"invalid type \"+typeof a.rel)+\\'\"\\'),typeof a.href==\"string\"?(s++,d+=\\' href=\"\\'+a.href+\\'\"\\'):Cu.call(a,\"href\")&&(s++,d+=\\' href=\"\\'+(a.href===null?\"null\":\"invalid type \"+typeof a.href)+\\'\"\\'),typeof a.precedence==\"string\"?(s++,d+=\\' precedence=\"\\'+a.precedence+\\'\"\\'):Cu.call(a,\"precedence\")&&(s++,d+=\" precedence={\"+(a.precedence===null?\"null\":\"invalid type \"+typeof a.precedence)+\"}\"),Object.getOwnPropertyNames(a).length>s&&(d+=\" ...\"),d+\" />\"}function w1(a){return\\'href=\"\\'+dr(a)+\\'\"\\'}function a_(a){return\\'link[rel=\"stylesheet\"][\\'+a+\"]\"}function Rse(a){return Jt({},a,{\"data-precedence\":a.precedence,precedence:null})}function But(a,s,d,m){a.querySelector(\\'link[rel=\"preload\"][as=\"style\"][\\'+s+\"]\")?m.loading=eS:(s=a.createElement(\"link\"),m.preload=s,s.addEventListener(\"load\",function(){return m.loading|=eS}),s.addEventListener(\"error\",function(){return m.loading|=ble}),wi(s,\"link\",d),Le(s),a.head.appendChild(s))}function E1(a){return\\'[src=\"\\'+dr(a)+\\'\"]\\'}function s_(a){return\"script[async]\"+a}function Ose(a,s,d){if(s.count++,s.instance===null)switch(s.type){case\"style\":var m=a.querySelector(\\'style[data-href~=\"\\'+dr(d.href)+\\'\"]\\');if(m)return s.instance=m,Le(m),m;var b=Jt({},d,{\"data-href\":d.href,\"data-precedence\":d.precedence,href:null,precedence:null});return m=(a.ownerDocument||a).createElement(\"style\"),Le(m),wi(m,\"style\",b),p8(m,d.precedence,a),s.instance=m;case\"stylesheet\":b=w1(d.href);var v=a.querySelector(a_(b));if(v)return s.state.loading|=Oc,s.instance=v,Le(v),v;m=Rse(d),(b=Bc.get(b))&&Nz(m,b),v=(a.ownerDocument||a).createElement(\"link\"),Le(v);var S=v;return S._p=new Promise(function(I,z){S.onload=I,S.onerror=z}),wi(v,\"link\",m),s.state.loading|=Oc,p8(v,d.precedence,a),s.instance=v;case\"script\":return v=E1(d.src),(b=a.querySelector(s_(v)))?(s.instance=b,Le(b),b):(m=d,(b=Bc.get(v))&&(m=Jt({},d),Uz(m,b)),a=a.ownerDocument||a,b=a.createElement(\"script\"),Le(b),wi(b,\"link\",m),a.head.appendChild(b),s.instance=b);case\"void\":return null;default:throw Error(\\'acquireResource encountered a resource type it did not expect: \"\\'+s.type+\\'\". this is a bug in React.\\')}else s.type===\"stylesheet\"&&(s.state.loading&Oc)===ky&&(m=s.instance,s.state.loading|=Oc,p8(m,d.precedence,a));return s.instance}function p8(a,s,d){for(var m=d.querySelectorAll(\\'link[rel=\"stylesheet\"][data-precedence],style[data-precedence]\\'),b=m.length?m[m.length-1]:null,v=b,S=0;S<m.length;S++){var I=m[S];if(I.dataset.precedence===s)v=I;else if(v!==b)break}v?v.parentNode.insertBefore(a,v.nextSibling):(s=d.nodeType===9?d.head:d,s.insertBefore(a,s.firstChild))}function Nz(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.title==null&&(a.title=s.title)}function Uz(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.integrity==null&&(a.integrity=s.integrity)}function Bse(a,s,d){if(xT===null){var m=new Map,b=xT=new Map;b.set(d,m)}else b=xT,m=b.get(d),m||(m=new Map,b.set(d,m));if(m.has(a))return m;for(m.set(a,null),d=d.getElementsByTagName(a),b=0;b<d.length;b++){var v=d[b];if(!(v[f_]||v[Ei]||a===\"link\"&&v.getAttribute(\"rel\")===\"stylesheet\")&&v.namespaceURI!==I1){var S=v.getAttribute(s)||\"\";S=a+S;var I=m.get(S);I?I.push(v):m.set(S,[v])}}return m}function Mse(a,s,d){a=a.ownerDocument||a,a.head.insertBefore(d,s===\"title\"?a.querySelector(\"head > title\"):null)}function Mut(a,s,d){var m=!d.ancestorInfo.containerTagInScope;if(d.context===ix||s.itemProp!=null)return!m||s.itemProp==null||a!==\"meta\"&&a!==\"title\"&&a!==\"style\"&&a!==\"link\"&&a!==\"script\"||console.error(\"Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.\",a,a),!1;switch(a){case\"meta\":case\"title\":return!0;case\"style\":if(typeof s.precedence!=\"string\"||typeof s.href!=\"string\"||s.href===\"\"){m&&console.error(\\'Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel=\"stylesheet\" ...> tags.  Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence=\"default\"` and `href=\"some unique resource identifier\"`.\\');break}return!0;case\"link\":if(typeof s.rel!=\"string\"||typeof s.href!=\"string\"||s.href===\"\"||s.onLoad||s.onError){if(s.rel===\"stylesheet\"&&typeof s.precedence==\"string\"){a=s.href;var b=s.onError,v=s.disabled;d=[],s.onLoad&&d.push(\"`onLoad`\"),b&&d.push(\"`onError`\"),v!=null&&d.push(\"`disabled`\"),b=lut(d,\"and\"),b+=d.length===1?\" prop\":\" props\",v=d.length===1?\"an \"+b:\"the \"+b,d.length&&console.error(\\'React encountered a <link rel=\"stylesheet\" href=\"%s\" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.\\',a,v,b)}m&&(typeof s.rel!=\"string\"||typeof s.href!=\"string\"||s.href===\"\"?console.error(\"Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag\"):(s.onError||s.onLoad)&&console.error(\"Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.\"));break}return s.rel===\"stylesheet\"?(a=s.precedence,s=s.disabled,typeof a!=\"string\"&&m&&console.error(\\'Cannot render a <link rel=\"stylesheet\" /> outside the main document without knowing its precedence. Consider adding precedence=\"default\" or moving it into the root <head> tag.\\'),typeof a==\"string\"&&s==null):!0;case\"script\":if(a=s.async&&typeof s.async!=\"function\"&&typeof s.async!=\"symbol\",!a||s.onLoad||s.onError||!s.src||typeof s.src!=\"string\"){m&&(a?s.onLoad||s.onError?console.error(\"Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.\"):console.error(\"Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>.\"):console.error(\\'Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async=\"\" or moving it into the root <head> tag.\\'));break}return!0;case\"noscript\":case\"template\":m&&console.error(\"Cannot render <%s> outside the main document. Try moving it into the root <head> tag.\",a)}return!1}function Dse(a){return!(a.type===\"stylesheet\"&&(a.state.loading&gle)===ky)}function Dut(a,s,d,m){if(d.type===\"stylesheet\"&&(typeof m.media!=\"string\"||matchMedia(m.media).matches!==!1)&&(d.state.loading&Oc)===ky){if(d.instance===null){var b=w1(m.href),v=s.querySelector(a_(b));if(v){s=v._p,s!==null&&typeof s==\"object\"&&typeof s.then==\"function\"&&(a.count++,a=m8.bind(a),s.then(a,a)),d.state.loading|=Oc,d.instance=v,Le(v);return}v=s.ownerDocument||s,m=Rse(m),(b=Bc.get(b))&&Nz(m,b),v=v.createElement(\"link\"),Le(v);var S=v;S._p=new Promise(function(I,z){S.onload=I,S.onerror=z}),wi(v,\"link\",m),d.instance=v}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(d,s),(s=d.state.preload)&&(d.state.loading&gle)===ky&&(a.count++,d=m8.bind(a),s.addEventListener(\"load\",d),s.addEventListener(\"error\",d))}}function Nut(a,s){return a.stylesheets&&a.count===0&&h8(a,a.stylesheets),0<a.count||0<a.imgCount?function(d){var m=setTimeout(function(){if(a.stylesheets&&h8(a,a.stylesheets),a.unsuspend){var v=a.unsuspend;a.unsuspend=null,v()}},Rdt+s);0<a.imgBytes&&yH===0&&(yH=125*dut()*Bdt);var b=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&h8(a,a.stylesheets),a.unsuspend)){var v=a.unsuspend;a.unsuspend=null,v()}},(a.imgBytes>yH?50:Odt)+s);return a.unsuspend=d,function(){a.unsuspend=null,clearTimeout(m),clearTimeout(b)}}:null}function m8(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)h8(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}function h8(a,s){a.stylesheets=null,a.unsuspend!==null&&(a.count++,vT=new Map,s.forEach(Uut,a),vT=null,m8.call(a))}function Uut(a,s){if(!(s.state.loading&Oc)){var d=vT.get(a);if(d)var m=d.get(bH);else{d=new Map,vT.set(a,d);for(var b=a.querySelectorAll(\"link[data-precedence],style[data-precedence]\"),v=0;v<b.length;v++){var S=b[v];(S.nodeName===\"LINK\"||S.getAttribute(\"media\")!==\"not all\")&&(d.set(S.dataset.precedence,S),m=S)}m&&d.set(bH,m)}b=s.instance,S=b.getAttribute(\"data-precedence\"),v=d.get(S)||m,v===m&&d.set(bH,b),d.set(S,b),this.count++,m=m8.bind(this),b.addEventListener(\"load\",m),b.addEventListener(\"error\",m),v?v.parentNode.insertBefore(b,v.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(b,a.firstChild)),s.state.loading|=Oc}}function $ut(a,s,d,m,b,v,S,I,z){for(this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Ay,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=zr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zr(0),this.hiddenUpdates=zr(null),this.identifierPrefix=m,this.onUncaughtError=b,this.onCaughtError=v,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,a=this.pendingUpdatersLaneMap=[],s=0;31>s;s++)a.push(new Set);this._debugRootType=d?\"hydrateRoot()\":\"createRoot()\"}function Nse(a,s,d,m,b,v,S,I,z,F,ae,se){return a=new $ut(a,s,d,S,z,F,ae,se,I),s=odt,v===!0&&(s|=qi|Iu),s|=Ut,v=w(3,null,null,s),a.current=v,v.stateNode=a,s=d$(),Y0(s),a.pooledCache=s,Y0(s),v.memoizedState={element:m,isDehydrated:d,cache:s},y$(v),a}function Use(a){return a?(a=xm,a):xm}function $z(a,s,d,m,b,v){if(Vi&&typeof Vi.onScheduleFiberRoot==\"function\")try{Vi.onScheduleFiberRoot(C1,m,d)}catch(S){Kl||(Kl=!0,console.error(\"React instrumentation encountered an error: %o\",S))}b=Use(b),m.context===null?m.context=b:m.pendingContext=b,Gl&&qs!==null&&!_le&&(_le=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\\n\\nCheck the render method of %s.`,Y(qs)||\"Unknown\")),m=om(s),m.payload={element:d},v=v===void 0?null:v,v!==null&&(typeof v!=\"function\"&&console.error(\"Expected the last optional `callback` argument to be a function. Instead received: %s.\",v),m.callback=v),d=im(a,m,s),d!==null&&(Rl(s,\"root.render()\",null),Yn(d,a,s),HE(d,a,s))}function $se(a,s){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var d=a.retryLane;a.retryLane=d!==0&&d<s?d:s}}function zz(a,s){$se(a,s),(a=a.alternate)&&$se(a,s)}function zse(a){if(a.tag===13||a.tag===31){var s=Fi(a,67108864);s!==null&&Yn(s,a,67108864),zz(a,67108864)}}function Lse(a){if(a.tag===13||a.tag===31){var s=js(a);s=Rr(s);var d=Fi(a,s);d!==null&&Yn(d,a,s),zz(a,s)}}function zut(){return qs}function Lut(a,s,d,m){var b=ge.T;ge.T=null;var v=Ur.p;try{Ur.p=Gs,Lz(a,s,d,m)}finally{Ur.p=v,ge.T=b}}function Hut(a,s,d,m){var b=ge.T;ge.T=null;var v=Ur.p;try{Ur.p=Tu,Lz(a,s,d,m)}finally{Ur.p=v,ge.T=b}}function Lz(a,s,d,m){if(ET){var b=Hz(m);if(b===null)Az(a,s,m,_T,d),jse(a,m);else if(jut(b,a,s,d,m))m.stopPropagation();else if(jse(a,m),s&4&&-1<Ddt.indexOf(a)){for(;b!==null;){var v=Ze(b);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var S=Hi(v.pendingLanes);if(S!==0){var I=v;for(I.pendingLanes|=2,I.entangledLanes|=2;S;){var z=1<<31-la(S);I.entanglements[1]|=z,S&=~z}jl(v),(yr&(Zo|Js))===ai&&(iT=ni()+Que,t_(0,!1))}}break;case 31:case 13:I=Fi(v,2),I!==null&&Yn(I,v,2),g1(),zz(v,2)}if(v=Hz(m),v===null&&Az(a,s,m,_T,d),v===b)break;b=v}b!==null&&m.stopPropagation()}else Az(a,s,m,null,d)}}function Hz(a){return a=KU(a),jz(a)}function jz(a){if(_T=null,a=Je(a),a!==null){var s=M(a);if(s===null)a=null;else{var d=s.tag;if(d===13){if(a=D(s),a!==null)return a;a=null}else if(d===31){if(a=$(s),a!==null)return a;a=null}else if(d===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;a=null}else s!==a&&(a=null)}}return _T=a,null}function Hse(a){switch(a){case\"beforetoggle\":case\"cancel\":case\"click\":case\"close\":case\"contextmenu\":case\"copy\":case\"cut\":case\"auxclick\":case\"dblclick\":case\"dragend\":case\"dragstart\":case\"drop\":case\"focusin\":case\"focusout\":case\"input\":case\"invalid\":case\"keydown\":case\"keypress\":case\"keyup\":case\"mousedown\":case\"mouseup\":case\"paste\":case\"pause\":case\"play\":case\"pointercancel\":case\"pointerdown\":case\"pointerup\":case\"ratechange\":case\"reset\":case\"resize\":case\"seeked\":case\"submit\":case\"toggle\":case\"touchcancel\":case\"touchend\":case\"touchstart\":case\"volumechange\":case\"change\":case\"selectionchange\":case\"textInput\":case\"compositionstart\":case\"compositionend\":case\"compositionupdate\":case\"beforeblur\":case\"afterblur\":case\"beforeinput\":case\"blur\":case\"fullscreenchange\":case\"focus\":case\"hashchange\":case\"popstate\":case\"select\":case\"selectstart\":return Gs;case\"drag\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"mousemove\":case\"mouseout\":case\"mouseover\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"scroll\":case\"touchmove\":case\"wheel\":case\"mouseenter\":case\"mouseleave\":case\"pointerenter\":case\"pointerleave\":return Tu;case\"message\":switch(Yut()){case rL:return Gs;case nL:return Tu;case k1:case Xut:return Wl;case oL:return A8;default:return Wl}default:return Wl}}function jse(a,s){switch(a){case\"focusin\":case\"focusout\":Nm=null;break;case\"dragenter\":case\"dragleave\":Um=null;break;case\"mouseover\":case\"mouseout\":$m=null;break;case\"pointerover\":case\"pointerout\":rS.delete(s.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":nS.delete(s.pointerId)}}function c_(a,s,d,m,b,v){return a===null||a.nativeEvent!==v?(a={blockedOn:s,domEventName:d,eventSystemFlags:m,nativeEvent:v,targetContainers:[b]},s!==null&&(s=Ze(s),s!==null&&zse(s)),a):(a.eventSystemFlags|=m,s=a.targetContainers,b!==null&&s.indexOf(b)===-1&&s.push(b),a)}function jut(a,s,d,m,b){switch(s){case\"focusin\":return Nm=c_(Nm,a,s,d,m,b),!0;case\"dragenter\":return Um=c_(Um,a,s,d,m,b),!0;case\"mouseover\":return $m=c_($m,a,s,d,m,b),!0;case\"pointerover\":var v=b.pointerId;return rS.set(v,c_(rS.get(v)||null,a,s,d,m,b)),!0;case\"gotpointercapture\":return v=b.pointerId,nS.set(v,c_(nS.get(v)||null,a,s,d,m,b)),!0}return!1}function Fse(a){var s=Je(a.target);if(s!==null){var d=M(s);if(d!==null){if(s=d.tag,s===13){if(s=D(d),s!==null){a.blockedOn=s,ke(a.priority,function(){Lse(d)});return}}else if(s===31){if(s=$(d),s!==null){a.blockedOn=s,ke(a.priority,function(){Lse(d)});return}}else if(s===3&&d.stateNode.current.memoizedState.isDehydrated){a.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}a.blockedOn=null}function y8(a){if(a.blockedOn!==null)return!1;for(var s=a.targetContainers;0<s.length;){var d=Hz(a.nativeEvent);if(d===null){d=a.nativeEvent;var m=new d.constructor(d.type,d),b=m;p_!==null&&console.error(\"Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.\"),p_=b,d.target.dispatchEvent(m),p_===null&&console.error(\"Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue.\"),p_=null}else return s=Ze(d),s!==null&&zse(s),a.blockedOn=d,!1;s.shift()}return!0}function Vse(a,s,d){y8(a)&&d.delete(s)}function Fut(){gH=!1,Nm!==null&&y8(Nm)&&(Nm=null),Um!==null&&y8(Um)&&(Um=null),$m!==null&&y8($m)&&($m=null),rS.forEach(Vse),nS.forEach(Vse)}function b8(a,s){a.blockedOn===s&&(a.blockedOn=null,gH||(gH=!0,To.unstable_scheduleCallback(To.unstable_NormalPriority,Fut)))}function qse(a){ST!==a&&(ST=a,To.unstable_scheduleCallback(To.unstable_NormalPriority,function(){ST===a&&(ST=null);for(var s=0;s<a.length;s+=3){var d=a[s],m=a[s+1],b=a[s+2];if(typeof m!=\"function\"){if(jz(m||d)===null)continue;break}var v=Ze(d);v!==null&&(a.splice(s,3),s-=3,d={pending:!0,data:b,method:d.method,action:m},Object.freeze(d),j$(v,d,m,b))}}))}function _1(a){function s(z){return b8(z,a)}Nm!==null&&b8(Nm,a),Um!==null&&b8(Um,a),$m!==null&&b8($m,a),rS.forEach(s),nS.forEach(s);for(var d=0;d<zm.length;d++){var m=zm[d];m.blockedOn===a&&(m.blockedOn=null)}for(;0<zm.length&&(d=zm[0],d.blockedOn===null);)Fse(d),d.blockedOn===null&&zm.shift();if(d=(a.ownerDocument||a).$$reactFormReplay,d!=null)for(m=0;m<d.length;m+=3){var b=d[m],v=d[m+1],S=b[da]||null;if(typeof v==\"function\")S||qse(d);else if(S){var I=null;if(v&&v.hasAttribute(\"formAction\")){if(b=v,S=v[da]||null)I=S.formAction;else if(jz(b)!==null)continue}else I=S.action;typeof I==\"function\"?d[m+1]=I:(d.splice(m,3),m-=3),qse(d)}}}function Gse(){function a(v){v.canIntercept&&v.info===\"react-transition\"&&v.intercept({handler:function(){return new Promise(function(S){return b=S})},focusReset:\"manual\",scroll:\"manual\"})}function s(){b!==null&&(b(),b=null),m||setTimeout(d,20)}function d(){if(!m&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:\"react-transition\",history:\"replace\"})}}if(typeof navigation==\"object\"){var m=!1,b=null;return navigation.addEventListener(\"navigate\",a),navigation.addEventListener(\"navigatesuccess\",s),navigation.addEventListener(\"navigateerror\",s),setTimeout(d,100),function(){m=!0,navigation.removeEventListener(\"navigate\",a),navigation.removeEventListener(\"navigatesuccess\",s),navigation.removeEventListener(\"navigateerror\",s),b!==null&&(b(),b=null)}}}function Fz(a){this._internalRoot=a}function g8(a){this._internalRoot=a}function Kse(a){a[hm]&&(a._reactRootContainer?console.error(\"You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.\"):console.error(\"You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.\"))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var To=ade(),Vz=eo(),Vut=dde(),Jt=Object.assign,qut=Symbol.for(\"react.element\"),Vl=Symbol.for(\"react.transitional.element\"),S1=Symbol.for(\"react.portal\"),A1=Symbol.for(\"react.fragment\"),x8=Symbol.for(\"react.strict_mode\"),qz=Symbol.for(\"react.profiler\"),Gz=Symbol.for(\"react.consumer\"),ql=Symbol.for(\"react.context\"),u_=Symbol.for(\"react.forward_ref\"),Kz=Symbol.for(\"react.suspense\"),Zz=Symbol.for(\"react.suspense_list\"),v8=Symbol.for(\"react.memo\"),Vs=Symbol.for(\"react.lazy\"),Wz=Symbol.for(\"react.activity\"),Gut=Symbol.for(\"react.memo_cache_sentinel\"),Zse=Symbol.iterator,Kut=Symbol.for(\"react.client.reference\"),Go=Array.isArray,ge=Vz.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ur=Vut.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Zut=Object.freeze({pending:!1,data:null,method:null,action:null}),Jz=[],Qz=[],Ef=-1,fm=fe(null),l_=fe(null),pm=fe(null),w8=fe(null),d_=0,Wse,Jse,Qse,Yse,Xse,ece,tce;W.__reactDisabledLog=!0;var Yz,rce,Xz=!1,eL=new(typeof WeakMap==\"function\"?WeakMap:Map),qs=null,Gl=!1,Cu=Object.prototype.hasOwnProperty,tL=To.unstable_scheduleCallback,Wut=To.unstable_cancelCallback,Jut=To.unstable_shouldYield,Qut=To.unstable_requestPaint,ni=To.unstable_now,Yut=To.unstable_getCurrentPriorityLevel,rL=To.unstable_ImmediatePriority,nL=To.unstable_UserBlockingPriority,k1=To.unstable_NormalPriority,Xut=To.unstable_LowPriority,oL=To.unstable_IdlePriority,elt=To.log,tlt=To.unstable_setDisableYieldValue,C1=null,Vi=null,Kl=!1,Zl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\",la=Math.clz32?Math.clz32:ln,rlt=Math.log,nlt=Math.LN2,E8=256,_8=262144,S8=4194304,Gs=2,Tu=8,Wl=32,A8=268435456,mm=Math.random().toString(36).slice(2),Ei=\"__reactFiber$\"+mm,da=\"__reactProps$\"+mm,hm=\"__reactContainer$\"+mm,iL=\"__reactEvents$\"+mm,olt=\"__reactListeners$\"+mm,ilt=\"__reactHandles$\"+mm,nce=\"__reactResources$\"+mm,f_=\"__reactMarker$\"+mm,oce=new Set,iy={},aL={},alt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},slt=RegExp(\"^[:A-Z_a-z\\\\\\\\u00C0-\\\\\\\\u00D6\\\\\\\\u00D8-\\\\\\\\u00F6\\\\\\\\u00F8-\\\\\\\\u02FF\\\\\\\\u0370-\\\\\\\\u037D\\\\\\\\u037F-\\\\\\\\u1FFF\\\\\\\\u200C-\\\\\\\\u200D\\\\\\\\u2070-\\\\\\\\u218F\\\\\\\\u2C00-\\\\\\\\u2FEF\\\\\\\\u3001-\\\\\\\\uD7FF\\\\\\\\uF900-\\\\\\\\uFDCF\\\\\\\\uFDF0-\\\\\\\\uFFFD][:A-Z_a-z\\\\\\\\u00C0-\\\\\\\\u00D6\\\\\\\\u00D8-\\\\\\\\u00F6\\\\\\\\u00F8-\\\\\\\\u02FF\\\\\\\\u0370-\\\\\\\\u037D\\\\\\\\u037F-\\\\\\\\u1FFF\\\\\\\\u200C-\\\\\\\\u200D\\\\\\\\u2070-\\\\\\\\u218F\\\\\\\\u2C00-\\\\\\\\u2FEF\\\\\\\\u3001-\\\\\\\\uD7FF\\\\\\\\uF900-\\\\\\\\uFDCF\\\\\\\\uFDF0-\\\\\\\\uFFFD\\\\\\\\-.0-9\\\\\\\\u00B7\\\\\\\\u0300-\\\\\\\\u036F\\\\\\\\u203F-\\\\\\\\u2040]*$\"),ice={},ace={},clt=/[\\\\n\"\\\\\\\\]/g,sce=!1,cce=!1,uce=!1,lce=!1,dce=!1,fce=!1,pce=[\"value\",\"defaultValue\"],mce=!1,hce=/[\"\\'&<>\\\\n\\\\t]|^\\\\s|\\\\s$/,ult=\"address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp\".split(\" \"),yce=\"applet caption html table td th marquee object template foreignObject desc title\".split(\" \"),llt=yce.concat([\"button\"]),dlt=\"dd dt li option optgroup p rp rt\".split(\" \"),bce={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},k8={},sL={animation:\"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction\".split(\" \"),background:\"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize\".split(\" \"),backgroundPosition:[\"backgroundPositionX\",\"backgroundPositionY\"],border:\"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth\".split(\" \"),borderBlockEnd:[\"borderBlockEndColor\",\"borderBlockEndStyle\",\"borderBlockEndWidth\"],borderBlockStart:[\"borderBlockStartColor\",\"borderBlockStartStyle\",\"borderBlockStartWidth\"],borderBottom:[\"borderBottomColor\",\"borderBottomStyle\",\"borderBottomWidth\"],borderColor:[\"borderBottomColor\",\"borderLeftColor\",\"borderRightColor\",\"borderTopColor\"],borderImage:[\"borderImageOutset\",\"borderImageRepeat\",\"borderImageSlice\",\"borderImageSource\",\"borderImageWidth\"],borderInlineEnd:[\"borderInlineEndColor\",\"borderInlineEndStyle\",\"borderInlineEndWidth\"],borderInlineStart:[\"borderInlineStartColor\",\"borderInlineStartStyle\",\"borderInlineStartWidth\"],borderLeft:[\"borderLeftColor\",\"borderLeftStyle\",\"borderLeftWidth\"],borderRadius:[\"borderBottomLeftRadius\",\"borderBottomRightRadius\",\"borderTopLeftRadius\",\"borderTopRightRadius\"],borderRight:[\"borderRightColor\",\"borderRightStyle\",\"borderRightWidth\"],borderStyle:[\"borderBottomStyle\",\"borderLeftStyle\",\"borderRightStyle\",\"borderTopStyle\"],borderTop:[\"borderTopColor\",\"borderTopStyle\",\"borderTopWidth\"],borderWidth:[\"borderBottomWidth\",\"borderLeftWidth\",\"borderRightWidth\",\"borderTopWidth\"],columnRule:[\"columnRuleColor\",\"columnRuleStyle\",\"columnRuleWidth\"],columns:[\"columnCount\",\"columnWidth\"],flex:[\"flexBasis\",\"flexGrow\",\"flexShrink\"],flexFlow:[\"flexDirection\",\"flexWrap\"],font:\"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight\".split(\" \"),fontVariant:\"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition\".split(\" \"),gap:[\"columnGap\",\"rowGap\"],grid:\"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows\".split(\" \"),gridArea:[\"gridColumnEnd\",\"gridColumnStart\",\"gridRowEnd\",\"gridRowStart\"],gridColumn:[\"gridColumnEnd\",\"gridColumnStart\"],gridColumnGap:[\"columnGap\"],gridGap:[\"columnGap\",\"rowGap\"],gridRow:[\"gridRowEnd\",\"gridRowStart\"],gridRowGap:[\"rowGap\"],gridTemplate:[\"gridTemplateAreas\",\"gridTemplateColumns\",\"gridTemplateRows\"],listStyle:[\"listStyleImage\",\"listStylePosition\",\"listStyleType\"],margin:[\"marginBottom\",\"marginLeft\",\"marginRight\",\"marginTop\"],marker:[\"markerEnd\",\"markerMid\",\"markerStart\"],mask:\"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize\".split(\" \"),maskPosition:[\"maskPositionX\",\"maskPositionY\"],outline:[\"outlineColor\",\"outlineStyle\",\"outlineWidth\"],overflow:[\"overflowX\",\"overflowY\"],padding:[\"paddingBottom\",\"paddingLeft\",\"paddingRight\",\"paddingTop\"],placeContent:[\"alignContent\",\"justifyContent\"],placeItems:[\"alignItems\",\"justifyItems\"],placeSelf:[\"alignSelf\",\"justifySelf\"],textDecoration:[\"textDecorationColor\",\"textDecorationLine\",\"textDecorationStyle\"],textEmphasis:[\"textEmphasisColor\",\"textEmphasisStyle\"],transition:[\"transitionDelay\",\"transitionDuration\",\"transitionProperty\",\"transitionTimingFunction\"],wordWrap:[\"overflowWrap\"]},gce=/([A-Z])/g,xce=/^ms-/,flt=/^(?:webkit|moz|o)[A-Z]/,plt=/^-ms-/,mlt=/-(.)/g,vce=/;\\\\s*$/,T1={},cL={},wce=!1,Ece=!1,_ce=new Set(\"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp\".split(\" \")),C8=\"http://www.w3.org/1998/Math/MathML\",I1=\"http://www.w3.org/2000/svg\",hlt=new Map([[\"acceptCharset\",\"accept-charset\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"],[\"crossOrigin\",\"crossorigin\"],[\"accentHeight\",\"accent-height\"],[\"alignmentBaseline\",\"alignment-baseline\"],[\"arabicForm\",\"arabic-form\"],[\"baselineShift\",\"baseline-shift\"],[\"capHeight\",\"cap-height\"],[\"clipPath\",\"clip-path\"],[\"clipRule\",\"clip-rule\"],[\"colorInterpolation\",\"color-interpolation\"],[\"colorInterpolationFilters\",\"color-interpolation-filters\"],[\"colorProfile\",\"color-profile\"],[\"colorRendering\",\"color-rendering\"],[\"dominantBaseline\",\"dominant-baseline\"],[\"enableBackground\",\"enable-background\"],[\"fillOpacity\",\"fill-opacity\"],[\"fillRule\",\"fill-rule\"],[\"floodColor\",\"flood-color\"],[\"floodOpacity\",\"flood-opacity\"],[\"fontFamily\",\"font-family\"],[\"fontSize\",\"font-size\"],[\"fontSizeAdjust\",\"font-size-adjust\"],[\"fontStretch\",\"font-stretch\"],[\"fontStyle\",\"font-style\"],[\"fontVariant\",\"font-variant\"],[\"fontWeight\",\"font-weight\"],[\"glyphName\",\"glyph-name\"],[\"glyphOrientationHorizontal\",\"glyph-orientation-horizontal\"],[\"glyphOrientationVertical\",\"glyph-orientation-vertical\"],[\"horizAdvX\",\"horiz-adv-x\"],[\"horizOriginX\",\"horiz-origin-x\"],[\"imageRendering\",\"image-rendering\"],[\"letterSpacing\",\"letter-spacing\"],[\"lightingColor\",\"lighting-color\"],[\"markerEnd\",\"marker-end\"],[\"markerMid\",\"marker-mid\"],[\"markerStart\",\"marker-start\"],[\"overlinePosition\",\"overline-position\"],[\"overlineThickness\",\"overline-thickness\"],[\"paintOrder\",\"paint-order\"],[\"panose-1\",\"panose-1\"],[\"pointerEvents\",\"pointer-events\"],[\"renderingIntent\",\"rendering-intent\"],[\"shapeRendering\",\"shape-rendering\"],[\"stopColor\",\"stop-color\"],[\"stopOpacity\",\"stop-opacity\"],[\"strikethroughPosition\",\"strikethrough-position\"],[\"strikethroughThickness\",\"strikethrough-thickness\"],[\"strokeDasharray\",\"stroke-dasharray\"],[\"strokeDashoffset\",\"stroke-dashoffset\"],[\"strokeLinecap\",\"stroke-linecap\"],[\"strokeLinejoin\",\"stroke-linejoin\"],[\"strokeMiterlimit\",\"stroke-miterlimit\"],[\"strokeOpacity\",\"stroke-opacity\"],[\"strokeWidth\",\"stroke-width\"],[\"textAnchor\",\"text-anchor\"],[\"textDecoration\",\"text-decoration\"],[\"textRendering\",\"text-rendering\"],[\"transformOrigin\",\"transform-origin\"],[\"underlinePosition\",\"underline-position\"],[\"underlineThickness\",\"underline-thickness\"],[\"unicodeBidi\",\"unicode-bidi\"],[\"unicodeRange\",\"unicode-range\"],[\"unitsPerEm\",\"units-per-em\"],[\"vAlphabetic\",\"v-alphabetic\"],[\"vHanging\",\"v-hanging\"],[\"vIdeographic\",\"v-ideographic\"],[\"vMathematical\",\"v-mathematical\"],[\"vectorEffect\",\"vector-effect\"],[\"vertAdvY\",\"vert-adv-y\"],[\"vertOriginX\",\"vert-origin-x\"],[\"vertOriginY\",\"vert-origin-y\"],[\"wordSpacing\",\"word-spacing\"],[\"writingMode\",\"writing-mode\"],[\"xmlnsXlink\",\"xmlns:xlink\"],[\"xHeight\",\"x-height\"]]),T8={accept:\"accept\",acceptcharset:\"acceptCharset\",\"accept-charset\":\"acceptCharset\",accesskey:\"accessKey\",action:\"action\",allowfullscreen:\"allowFullScreen\",alt:\"alt\",as:\"as\",async:\"async\",autocapitalize:\"autoCapitalize\",autocomplete:\"autoComplete\",autocorrect:\"autoCorrect\",autofocus:\"autoFocus\",autoplay:\"autoPlay\",autosave:\"autoSave\",capture:\"capture\",cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",challenge:\"challenge\",charset:\"charSet\",checked:\"checked\",children:\"children\",cite:\"cite\",class:\"className\",classid:\"classID\",classname:\"className\",cols:\"cols\",colspan:\"colSpan\",content:\"content\",contenteditable:\"contentEditable\",contextmenu:\"contextMenu\",controls:\"controls\",controlslist:\"controlsList\",coords:\"coords\",crossorigin:\"crossOrigin\",dangerouslysetinnerhtml:\"dangerouslySetInnerHTML\",data:\"data\",datetime:\"dateTime\",default:\"default\",defaultchecked:\"defaultChecked\",defaultvalue:\"defaultValue\",defer:\"defer\",dir:\"dir\",disabled:\"disabled\",disablepictureinpicture:\"disablePictureInPicture\",disableremoteplayback:\"disableRemotePlayback\",download:\"download\",draggable:\"draggable\",enctype:\"encType\",enterkeyhint:\"enterKeyHint\",fetchpriority:\"fetchPriority\",for:\"htmlFor\",form:\"form\",formmethod:\"formMethod\",formaction:\"formAction\",formenctype:\"formEncType\",formnovalidate:\"formNoValidate\",formtarget:\"formTarget\",frameborder:\"frameBorder\",headers:\"headers\",height:\"height\",hidden:\"hidden\",high:\"high\",href:\"href\",hreflang:\"hrefLang\",htmlfor:\"htmlFor\",httpequiv:\"httpEquiv\",\"http-equiv\":\"httpEquiv\",icon:\"icon\",id:\"id\",imagesizes:\"imageSizes\",imagesrcset:\"imageSrcSet\",inert:\"inert\",innerhtml:\"innerHTML\",inputmode:\"inputMode\",integrity:\"integrity\",is:\"is\",itemid:\"itemID\",itemprop:\"itemProp\",itemref:\"itemRef\",itemscope:\"itemScope\",itemtype:\"itemType\",keyparams:\"keyParams\",keytype:\"keyType\",kind:\"kind\",label:\"label\",lang:\"lang\",list:\"list\",loop:\"loop\",low:\"low\",manifest:\"manifest\",marginwidth:\"marginWidth\",marginheight:\"marginHeight\",max:\"max\",maxlength:\"maxLength\",media:\"media\",mediagroup:\"mediaGroup\",method:\"method\",min:\"min\",minlength:\"minLength\",multiple:\"multiple\",muted:\"muted\",name:\"name\",nomodule:\"noModule\",nonce:\"nonce\",novalidate:\"noValidate\",open:\"open\",optimum:\"optimum\",pattern:\"pattern\",placeholder:\"placeholder\",playsinline:\"playsInline\",poster:\"poster\",preload:\"preload\",profile:\"profile\",radiogroup:\"radioGroup\",readonly:\"readOnly\",referrerpolicy:\"referrerPolicy\",rel:\"rel\",required:\"required\",reversed:\"reversed\",role:\"role\",rows:\"rows\",rowspan:\"rowSpan\",sandbox:\"sandbox\",scope:\"scope\",scoped:\"scoped\",scrolling:\"scrolling\",seamless:\"seamless\",selected:\"selected\",shape:\"shape\",size:\"size\",sizes:\"sizes\",span:\"span\",spellcheck:\"spellCheck\",src:\"src\",srcdoc:\"srcDoc\",srclang:\"srcLang\",srcset:\"srcSet\",start:\"start\",step:\"step\",style:\"style\",summary:\"summary\",tabindex:\"tabIndex\",target:\"target\",title:\"title\",type:\"type\",usemap:\"useMap\",value:\"value\",width:\"width\",wmode:\"wmode\",wrap:\"wrap\",about:\"about\",accentheight:\"accentHeight\",\"accent-height\":\"accentHeight\",accumulate:\"accumulate\",additive:\"additive\",alignmentbaseline:\"alignmentBaseline\",\"alignment-baseline\":\"alignmentBaseline\",allowreorder:\"allowReorder\",alphabetic:\"alphabetic\",amplitude:\"amplitude\",arabicform:\"arabicForm\",\"arabic-form\":\"arabicForm\",ascent:\"ascent\",attributename:\"attributeName\",attributetype:\"attributeType\",autoreverse:\"autoReverse\",azimuth:\"azimuth\",basefrequency:\"baseFrequency\",baselineshift:\"baselineShift\",\"baseline-shift\":\"baselineShift\",baseprofile:\"baseProfile\",bbox:\"bbox\",begin:\"begin\",bias:\"bias\",by:\"by\",calcmode:\"calcMode\",capheight:\"capHeight\",\"cap-height\":\"capHeight\",clip:\"clip\",clippath:\"clipPath\",\"clip-path\":\"clipPath\",clippathunits:\"clipPathUnits\",cliprule:\"clipRule\",\"clip-rule\":\"clipRule\",color:\"color\",colorinterpolation:\"colorInterpolation\",\"color-interpolation\":\"colorInterpolation\",colorinterpolationfilters:\"colorInterpolationFilters\",\"color-interpolation-filters\":\"colorInterpolationFilters\",colorprofile:\"colorProfile\",\"color-profile\":\"colorProfile\",colorrendering:\"colorRendering\",\"color-rendering\":\"colorRendering\",contentscripttype:\"contentScriptType\",contentstyletype:\"contentStyleType\",cursor:\"cursor\",cx:\"cx\",cy:\"cy\",d:\"d\",datatype:\"datatype\",decelerate:\"decelerate\",descent:\"descent\",diffuseconstant:\"diffuseConstant\",direction:\"direction\",display:\"display\",divisor:\"divisor\",dominantbaseline:\"dominantBaseline\",\"dominant-baseline\":\"dominantBaseline\",dur:\"dur\",dx:\"dx\",dy:\"dy\",edgemode:\"edgeMode\",elevation:\"elevation\",enablebackground:\"enableBackground\",\"enable-background\":\"enableBackground\",end:\"end\",exponent:\"exponent\",externalresourcesrequired:\"externalResourcesRequired\",fill:\"fill\",fillopacity:\"fillOpacity\",\"fill-opacity\":\"fillOpacity\",fillrule:\"fillRule\",\"fill-rule\":\"fillRule\",filter:\"filter\",filterres:\"filterRes\",filterunits:\"filterUnits\",floodopacity:\"floodOpacity\",\"flood-opacity\":\"floodOpacity\",floodcolor:\"floodColor\",\"flood-color\":\"floodColor\",focusable:\"focusable\",fontfamily:\"fontFamily\",\"font-family\":\"fontFamily\",fontsize:\"fontSize\",\"font-size\":\"fontSize\",fontsizeadjust:\"fontSizeAdjust\",\"font-size-adjust\":\"fontSizeAdjust\",fontstretch:\"fontStretch\",\"font-stretch\":\"fontStretch\",fontstyle:\"fontStyle\",\"font-style\":\"fontStyle\",fontvariant:\"fontVariant\",\"font-variant\":\"fontVariant\",fontweight:\"fontWeight\",\"font-weight\":\"fontWeight\",format:\"format\",from:\"from\",fx:\"fx\",fy:\"fy\",g1:\"g1\",g2:\"g2\",glyphname:\"glyphName\",\"glyph-name\":\"glyphName\",glyphorientationhorizontal:\"glyphOrientationHorizontal\",\"glyph-orientation-horizontal\":\"glyphOrientationHorizontal\",glyphorientationvertical:\"glyphOrientationVertical\",\"glyph-orientation-vertical\":\"glyphOrientationVertical\",glyphref:\"glyphRef\",gradienttransform:\"gradientTransform\",gradientunits:\"gradientUnits\",hanging:\"hanging\",horizadvx:\"horizAdvX\",\"horiz-adv-x\":\"horizAdvX\",horizoriginx:\"horizOriginX\",\"horiz-origin-x\":\"horizOriginX\",ideographic:\"ideographic\",imagerendering:\"imageRendering\",\"image-rendering\":\"imageRendering\",in2:\"in2\",in:\"in\",inlist:\"inlist\",intercept:\"intercept\",k1:\"k1\",k2:\"k2\",k3:\"k3\",k4:\"k4\",k:\"k\",kernelmatrix:\"kernelMatrix\",kernelunitlength:\"kernelUnitLength\",kerning:\"kerning\",keypoints:\"keyPoints\",keysplines:\"keySplines\",keytimes:\"keyTimes\",lengthadjust:\"lengthAdjust\",letterspacing:\"letterSpacing\",\"letter-spacing\":\"letterSpacing\",lightingcolor:\"lightingColor\",\"lighting-color\":\"lightingColor\",limitingconeangle:\"limitingConeAngle\",local:\"local\",markerend:\"markerEnd\",\"marker-end\":\"markerEnd\",markerheight:\"markerHeight\",markermid:\"markerMid\",\"marker-mid\":\"markerMid\",markerstart:\"markerStart\",\"marker-start\":\"markerStart\",markerunits:\"markerUnits\",markerwidth:\"markerWidth\",mask:\"mask\",maskcontentunits:\"maskContentUnits\",maskunits:\"maskUnits\",mathematical:\"mathematical\",mode:\"mode\",numoctaves:\"numOctaves\",offset:\"offset\",opacity:\"opacity\",operator:\"operator\",order:\"order\",orient:\"orient\",orientation:\"orientation\",origin:\"origin\",overflow:\"overflow\",overlineposition:\"overlinePosition\",\"overline-position\":\"overlinePosition\",overlinethickness:\"overlineThickness\",\"overline-thickness\":\"overlineThickness\",paintorder:\"paintOrder\",\"paint-order\":\"paintOrder\",panose1:\"panose1\",\"panose-1\":\"panose1\",pathlength:\"pathLength\",patterncontentunits:\"patternContentUnits\",patterntransform:\"patternTransform\",patternunits:\"patternUnits\",pointerevents:\"pointerEvents\",\"pointer-events\":\"pointerEvents\",points:\"points\",pointsatx:\"pointsAtX\",pointsaty:\"pointsAtY\",pointsatz:\"pointsAtZ\",popover:\"popover\",popovertarget:\"popoverTarget\",popovertargetaction:\"popoverTargetAction\",prefix:\"prefix\",preservealpha:\"preserveAlpha\",preserveaspectratio:\"preserveAspectRatio\",primitiveunits:\"primitiveUnits\",property:\"property\",r:\"r\",radius:\"radius\",refx:\"refX\",refy:\"refY\",renderingintent:\"renderingIntent\",\"rendering-intent\":\"renderingIntent\",repeatcount:\"repeatCount\",repeatdur:\"repeatDur\",requiredextensions:\"requiredExtensions\",requiredfeatures:\"requiredFeatures\",resource:\"resource\",restart:\"restart\",result:\"result\",results:\"results\",rotate:\"rotate\",rx:\"rx\",ry:\"ry\",scale:\"scale\",security:\"security\",seed:\"seed\",shaperendering:\"shapeRendering\",\"shape-rendering\":\"shapeRendering\",slope:\"slope\",spacing:\"spacing\",specularconstant:\"specularConstant\",specularexponent:\"specularExponent\",speed:\"speed\",spreadmethod:\"spreadMethod\",startoffset:\"startOffset\",stddeviation:\"stdDeviation\",stemh:\"stemh\",stemv:\"stemv\",stitchtiles:\"stitchTiles\",stopcolor:\"stopColor\",\"stop-color\":\"stopColor\",stopopacity:\"stopOpacity\",\"stop-opacity\":\"stopOpacity\",strikethroughposition:\"strikethroughPosition\",\"strikethrough-position\":\"strikethroughPosition\",strikethroughthickness:\"strikethroughThickness\",\"strikethrough-thickness\":\"strikethroughThickness\",string:\"string\",stroke:\"stroke\",strokedasharray:\"strokeDasharray\",\"stroke-dasharray\":\"strokeDasharray\",strokedashoffset:\"strokeDashoffset\",\"stroke-dashoffset\":\"strokeDashoffset\",strokelinecap:\"strokeLinecap\",\"stroke-linecap\":\"strokeLinecap\",strokelinejoin:\"strokeLinejoin\",\"stroke-linejoin\":\"strokeLinejoin\",strokemiterlimit:\"strokeMiterlimit\",\"stroke-miterlimit\":\"strokeMiterlimit\",strokewidth:\"strokeWidth\",\"stroke-width\":\"strokeWidth\",strokeopacity:\"strokeOpacity\",\"stroke-opacity\":\"strokeOpacity\",suppresscontenteditablewarning:\"suppressContentEditableWarning\",suppresshydrationwarning:\"suppressHydrationWarning\",surfacescale:\"surfaceScale\",systemlanguage:\"systemLanguage\",tablevalues:\"tableValues\",targetx:\"targetX\",targety:\"targetY\",textanchor:\"textAnchor\",\"text-anchor\":\"textAnchor\",textdecoration:\"textDecoration\",\"text-decoration\":\"textDecoration\",textlength:\"textLength\",textrendering:\"textRendering\",\"text-rendering\":\"textRendering\",to:\"to\",transform:\"transform\",transformorigin:\"transformOrigin\",\"transform-origin\":\"transformOrigin\",typeof:\"typeof\",u1:\"u1\",u2:\"u2\",underlineposition:\"underlinePosition\",\"underline-position\":\"underlinePosition\",underlinethickness:\"underlineThickness\",\"underline-thickness\":\"underlineThickness\",unicode:\"unicode\",unicodebidi:\"unicodeBidi\",\"unicode-bidi\":\"unicodeBidi\",unicoderange:\"unicodeRange\",\"unicode-range\":\"unicodeRange\",unitsperem:\"unitsPerEm\",\"units-per-em\":\"unitsPerEm\",unselectable:\"unselectable\",valphabetic:\"vAlphabetic\",\"v-alphabetic\":\"vAlphabetic\",values:\"values\",vectoreffect:\"vectorEffect\",\"vector-effect\":\"vectorEffect\",version:\"version\",vertadvy:\"vertAdvY\",\"vert-adv-y\":\"vertAdvY\",vertoriginx:\"vertOriginX\",\"vert-origin-x\":\"vertOriginX\",vertoriginy:\"vertOriginY\",\"vert-origin-y\":\"vertOriginY\",vhanging:\"vHanging\",\"v-hanging\":\"vHanging\",videographic:\"vIdeographic\",\"v-ideographic\":\"vIdeographic\",viewbox:\"viewBox\",viewtarget:\"viewTarget\",visibility:\"visibility\",vmathematical:\"vMathematical\",\"v-mathematical\":\"vMathematical\",vocab:\"vocab\",widths:\"widths\",wordspacing:\"wordSpacing\",\"word-spacing\":\"wordSpacing\",writingmode:\"writingMode\",\"writing-mode\":\"writingMode\",x1:\"x1\",x2:\"x2\",x:\"x\",xchannelselector:\"xChannelSelector\",xheight:\"xHeight\",\"x-height\":\"xHeight\",xlinkactuate:\"xlinkActuate\",\"xlink:actuate\":\"xlinkActuate\",xlinkarcrole:\"xlinkArcrole\",\"xlink:arcrole\":\"xlinkArcrole\",xlinkhref:\"xlinkHref\",\"xlink:href\":\"xlinkHref\",xlinkrole:\"xlinkRole\",\"xlink:role\":\"xlinkRole\",xlinkshow:\"xlinkShow\",\"xlink:show\":\"xlinkShow\",xlinktitle:\"xlinkTitle\",\"xlink:title\":\"xlinkTitle\",xlinktype:\"xlinkType\",\"xlink:type\":\"xlinkType\",xmlbase:\"xmlBase\",\"xml:base\":\"xmlBase\",xmllang:\"xmlLang\",\"xml:lang\":\"xmlLang\",xmlns:\"xmlns\",\"xml:space\":\"xmlSpace\",xmlnsxlink:\"xmlnsXlink\",\"xmlns:xlink\":\"xmlnsXlink\",xmlspace:\"xmlSpace\",y1:\"y1\",y2:\"y2\",y:\"y\",ychannelselector:\"yChannelSelector\",z:\"z\",zoomandpan:\"zoomAndPan\"},Sce={\"aria-current\":0,\"aria-description\":0,\"aria-details\":0,\"aria-disabled\":0,\"aria-hidden\":0,\"aria-invalid\":0,\"aria-keyshortcuts\":0,\"aria-label\":0,\"aria-roledescription\":0,\"aria-autocomplete\":0,\"aria-checked\":0,\"aria-expanded\":0,\"aria-haspopup\":0,\"aria-level\":0,\"aria-modal\":0,\"aria-multiline\":0,\"aria-multiselectable\":0,\"aria-orientation\":0,\"aria-placeholder\":0,\"aria-pressed\":0,\"aria-readonly\":0,\"aria-required\":0,\"aria-selected\":0,\"aria-sort\":0,\"aria-valuemax\":0,\"aria-valuemin\":0,\"aria-valuenow\":0,\"aria-valuetext\":0,\"aria-atomic\":0,\"aria-busy\":0,\"aria-live\":0,\"aria-relevant\":0,\"aria-dropeffect\":0,\"aria-grabbed\":0,\"aria-activedescendant\":0,\"aria-colcount\":0,\"aria-colindex\":0,\"aria-colspan\":0,\"aria-controls\":0,\"aria-describedby\":0,\"aria-errormessage\":0,\"aria-flowto\":0,\"aria-labelledby\":0,\"aria-owns\":0,\"aria-posinset\":0,\"aria-rowcount\":0,\"aria-rowindex\":0,\"aria-rowspan\":0,\"aria-setsize\":0,\"aria-braillelabel\":0,\"aria-brailleroledescription\":0,\"aria-colindextext\":0,\"aria-rowindextext\":0},P1={},ylt=RegExp(\"^(aria)-[:A-Z_a-z\\\\\\\\u00C0-\\\\\\\\u00D6\\\\\\\\u00D8-\\\\\\\\u00F6\\\\\\\\u00F8-\\\\\\\\u02FF\\\\\\\\u0370-\\\\\\\\u037D\\\\\\\\u037F-\\\\\\\\u1FFF\\\\\\\\u200C-\\\\\\\\u200D\\\\\\\\u2070-\\\\\\\\u218F\\\\\\\\u2C00-\\\\\\\\u2FEF\\\\\\\\u3001-\\\\\\\\uD7FF\\\\\\\\uF900-\\\\\\\\uFDCF\\\\\\\\uFDF0-\\\\\\\\uFFFD\\\\\\\\-.0-9\\\\\\\\u00B7\\\\\\\\u0300-\\\\\\\\u036F\\\\\\\\u203F-\\\\\\\\u2040]*$\"),blt=RegExp(\"^(aria)[A-Z][:A-Z_a-z\\\\\\\\u00C0-\\\\\\\\u00D6\\\\\\\\u00D8-\\\\\\\\u00F6\\\\\\\\u00F8-\\\\\\\\u02FF\\\\\\\\u0370-\\\\\\\\u037D\\\\\\\\u037F-\\\\\\\\u1FFF\\\\\\\\u200C-\\\\\\\\u200D\\\\\\\\u2070-\\\\\\\\u218F\\\\\\\\u2C00-\\\\\\\\u2FEF\\\\\\\\u3001-\\\\\\\\uD7FF\\\\\\\\uF900-\\\\\\\\uFDCF\\\\\\\\uFDF0-\\\\\\\\uFFFD\\\\\\\\-.0-9\\\\\\\\u00B7\\\\\\\\u0300-\\\\\\\\u036F\\\\\\\\u203F-\\\\\\\\u2040]*$\"),Ace=!1,fa={},kce=/^on./,glt=/^on[^A-Z]/,xlt=RegExp(\"^(aria)-[:A-Z_a-z\\\\\\\\u00C0-\\\\\\\\u00D6\\\\\\\\u00D8-\\\\\\\\u00F6\\\\\\\\u00F8-\\\\\\\\u02FF\\\\\\\\u0370-\\\\\\\\u037D\\\\\\\\u037F-\\\\\\\\u1FFF\\\\\\\\u200C-\\\\\\\\u200D\\\\\\\\u2070-\\\\\\\\u218F\\\\\\\\u2C00-\\\\\\\\u2FEF\\\\\\\\u3001-\\\\\\\\uD7FF\\\\\\\\uF900-\\\\\\\\uFDCF\\\\\\\\uFDF0-\\\\\\\\uFFFD\\\\\\\\-.0-9\\\\\\\\u00B7\\\\\\\\u0300-\\\\\\\\u036F\\\\\\\\u203F-\\\\\\\\u2040]*$\"),vlt=RegExp(\"^(aria)[A-Z][:A-Z_a-z\\\\\\\\u00C0-\\\\\\\\u00D6\\\\\\\\u00D8-\\\\\\\\u00F6\\\\\\\\u00F8-\\\\\\\\u02FF\\\\\\\\u0370-\\\\\\\\u037D\\\\\\\\u037F-\\\\\\\\u1FFF\\\\\\\\u200C-\\\\\\\\u200D\\\\\\\\u2070-\\\\\\\\u218F\\\\\\\\u2C00-\\\\\\\\u2FEF\\\\\\\\u3001-\\\\\\\\uD7FF\\\\\\\\uF900-\\\\\\\\uFDCF\\\\\\\\uFDF0-\\\\\\\\uFFFD\\\\\\\\-.0-9\\\\\\\\u00B7\\\\\\\\u0300-\\\\\\\\u036F\\\\\\\\u203F-\\\\\\\\u2040]*$\"),wlt=/^[\\\\u0000-\\\\u001F ]*j[\\\\r\\\\n\\\\t]*a[\\\\r\\\\n\\\\t]*v[\\\\r\\\\n\\\\t]*a[\\\\r\\\\n\\\\t]*s[\\\\r\\\\n\\\\t]*c[\\\\r\\\\n\\\\t]*r[\\\\r\\\\n\\\\t]*i[\\\\r\\\\n\\\\t]*p[\\\\r\\\\n\\\\t]*t[\\\\r\\\\n\\\\t]*:/i,p_=null,R1=null,O1=null,uL=!1,Jl=!(typeof window>\"u\"||typeof window.document>\"u\"||typeof window.document.createElement>\"u\"),lL=!1;if(Jl)try{var m_={};Object.defineProperty(m_,\"passive\",{get:function(){lL=!0}}),window.addEventListener(\"test\",m_,m_),window.removeEventListener(\"test\",m_,m_)}catch{lL=!1}var ym=null,dL=null,I8=null,ay={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},P8=Ya(ay),h_=Jt({},ay,{view:0,detail:0}),Elt=Ya(h_),fL,pL,y_,R8=Jt({},h_,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ZU,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return\"movementX\"in a?a.movementX:(a!==y_&&(y_&&a.type===\"mousemove\"?(fL=a.screenX-y_.screenX,pL=a.screenY-y_.screenY):pL=fL=0,y_=a),fL)},movementY:function(a){return\"movementY\"in a?a.movementY:pL}}),Cce=Ya(R8),_lt=Jt({},R8,{dataTransfer:0}),Slt=Ya(_lt),Alt=Jt({},h_,{relatedTarget:0}),mL=Ya(Alt),klt=Jt({},ay,{animationName:0,elapsedTime:0,pseudoElement:0}),Clt=Ya(klt),Tlt=Jt({},ay,{clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),Ilt=Ya(Tlt),Plt=Jt({},ay,{data:0}),Tce=Ya(Plt),Rlt=Tce,Olt={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},Blt={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},Mlt={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"},Dlt=Jt({},h_,{key:function(a){if(a.key){var s=Olt[a.key]||a.key;if(s!==\"Unidentified\")return s}return a.type===\"keypress\"?(a=yC(a),a===13?\"Enter\":String.fromCharCode(a)):a.type===\"keydown\"||a.type===\"keyup\"?Blt[a.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ZU,charCode:function(a){return a.type===\"keypress\"?yC(a):0},keyCode:function(a){return a.type===\"keydown\"||a.type===\"keyup\"?a.keyCode:0},which:function(a){return a.type===\"keypress\"?yC(a):a.type===\"keydown\"||a.type===\"keyup\"?a.keyCode:0}}),Nlt=Ya(Dlt),Ult=Jt({},R8,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ice=Ya(Ult),$lt=Jt({},h_,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ZU}),zlt=Ya($lt),Llt=Jt({},ay,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hlt=Ya(Llt),jlt=Jt({},R8,{deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in a?-a.wheelDeltaX:0},deltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Flt=Ya(jlt),Vlt=Jt({},ay,{newState:0,oldState:0}),qlt=Ya(Vlt),Glt=[9,13,27,32],Pce=229,hL=Jl&&\"CompositionEvent\"in window,b_=null;Jl&&\"documentMode\"in document&&(b_=document.documentMode);var Klt=Jl&&\"TextEvent\"in window&&!b_,Rce=Jl&&(!hL||b_&&8<b_&&11>=b_),Oce=32,Bce=String.fromCharCode(Oce),Mce=!1,B1=!1,Zlt={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},g_=null,x_=null,Dce=!1;Jl&&(Dce=mct(\"input\")&&(!document.documentMode||9<document.documentMode));var pa=typeof Object.is==\"function\"?Object.is:vct,Wlt=Jl&&\"documentMode\"in document&&11>=document.documentMode,M1=null,yL=null,v_=null,bL=!1,D1={animationend:q0(\"Animation\",\"AnimationEnd\"),animationiteration:q0(\"Animation\",\"AnimationIteration\"),animationstart:q0(\"Animation\",\"AnimationStart\"),transitionrun:q0(\"Transition\",\"TransitionRun\"),transitionstart:q0(\"Transition\",\"TransitionStart\"),transitioncancel:q0(\"Transition\",\"TransitionCancel\"),transitionend:q0(\"Transition\",\"TransitionEnd\")},gL={},Nce={};Jl&&(Nce=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete D1.animationend.animation,delete D1.animationiteration.animation,delete D1.animationstart.animation),\"TransitionEvent\"in window||delete D1.transitionend.transition);var Uce=G0(\"animationend\"),$ce=G0(\"animationiteration\"),zce=G0(\"animationstart\"),Jlt=G0(\"transitionrun\"),Qlt=G0(\"transitionstart\"),Ylt=G0(\"transitioncancel\"),Lce=G0(\"transitionend\"),Hce=new Map,xL=\"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\" \");xL.push(\"scrollEnd\");var jce=0;if(typeof performance==\"object\"&&typeof performance.now==\"function\")var Xlt=performance,Fce=function(){return Xlt.now()};else{var edt=Date;Fce=function(){return edt.now()}}var vL=typeof reportError==\"function\"?reportError:function(a){if(typeof window==\"object\"&&typeof window.ErrorEvent==\"function\"){var s=new window.ErrorEvent(\"error\",{bubbles:!0,cancelable:!0,message:typeof a==\"object\"&&a!==null&&typeof a.message==\"string\"?String(a.message):String(a),error:a});if(!window.dispatchEvent(s))return}else if(typeof process==\"object\"&&typeof process.emit==\"function\"){process.emit(\"uncaughtException\",a);return}console.error(a)},tdt=\"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.\",O8=0,wL=1,EL=2,_L=3,B8=\"\\\\u2013\\\\xA0\",M8=\"+\\\\xA0\",Vce=\"\\\\u2007\\\\xA0\",Pn=typeof console<\"u\"&&typeof console.timeStamp==\"function\"&&typeof performance<\"u\"&&typeof performance.measure==\"function\",Ec=\"Components \\\\u269B\",Qt=\"Scheduler \\\\u269B\",tr=\"Blocking\",bm=!1,_f={color:\"primary\",properties:null,tooltipText:\"\",track:Ec},gm={start:-0,end:-0,detail:{devtools:_f}},rdt=[\"Changed Props\",\"\"],qce=\"This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.\",ndt=[\"Changed Props\",qce],w_=1,Sf=2,_c=[],N1=0,SL=0,xm={};Object.freeze(xm);var Sc=null,U1=null,mt=0,odt=1,Ut=2,qi=8,Iu=16,idt=32,Gce=!1;try{var Kce=Object.preventExtensions({})}catch{Gce=!0}var AL=new WeakMap,$1=[],z1=0,D8=null,E_=0,Ac=[],kc=0,sy=null,Af=1,kf=\"\",_i=null,Rn=null,or=!1,Ql=!1,Ks=null,vm=null,Cc=!1,kL=Error(\"Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you\\'re seeing this, it\\'s likely a bug in React.\"),CL=fe(null),TL=fe(null),Zce={},N8=null,L1=null,H1=!1,adt=typeof AbortController<\"u\"?AbortController:function(){var a=[],s=this.signal={aborted:!1,addEventListener:function(d,m){a.push(m)}};this.abort=function(){s.aborted=!0,a.forEach(function(d){return d()})}},sdt=To.unstable_scheduleCallback,cdt=To.unstable_NormalPriority,Io={$$typeof:ql,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Po=To.unstable_now,U8=console.createTask?console.createTask:function(){return null},__=1,$8=2,oi=-0,wm=-0,Cf=-0,Tf=null,ma=-1.1,cy=-0,Vn=-0,ct=-1.1,dt=-1.1,$n=null,Xn=!1,Em=-0,Yl=-1.1,S_=null,_m=0,IL=null,PL=null,uy=-1.1,A_=null,j1=-1.1,z8=-1.1,Xl=-0,If=-1.1,Tc=-1.1,RL=0,k_=null,Wce=null,Jce=null,Sm=-1.1,ly=null,Am=-1.1,L8=-1.1,Qce=-0,Yce=-0,H8=0,Pf=null,Xce=0,C_=-1.1,j8=!1,F8=!1,T_=null,OL=0,dy=0,F1=null,eue=ge.S;ge.S=function(a,s){if(Wue=ni(),typeof s==\"object\"&&s!==null&&typeof s.then==\"function\"){if(0>If&&0>Tc){If=Po();var d=o_(),m=n_();(d!==Am||m!==ly)&&(Am=-1.1),Sm=d,ly=m}Cct(a,s)}eue!==null&&eue(a,s)};var fy=fe(null),Pu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},I_=[],P_=[],R_=[],O_=[],B_=[],M_=[],py=new Set;Pu.recordUnsafeLifecycleWarnings=function(a,s){py.has(a.type)||(typeof s.componentWillMount==\"function\"&&s.componentWillMount.__suppressDeprecationWarning!==!0&&I_.push(a),a.mode&qi&&typeof s.UNSAFE_componentWillMount==\"function\"&&P_.push(a),typeof s.componentWillReceiveProps==\"function\"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&R_.push(a),a.mode&qi&&typeof s.UNSAFE_componentWillReceiveProps==\"function\"&&O_.push(a),typeof s.componentWillUpdate==\"function\"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0&&B_.push(a),a.mode&qi&&typeof s.UNSAFE_componentWillUpdate==\"function\"&&M_.push(a))},Pu.flushPendingUnsafeLifecycleWarnings=function(){var a=new Set;0<I_.length&&(I_.forEach(function(I){a.add(Y(I)||\"Component\"),py.add(I.type)}),I_=[]);var s=new Set;0<P_.length&&(P_.forEach(function(I){s.add(Y(I)||\"Component\"),py.add(I.type)}),P_=[]);var d=new Set;0<R_.length&&(R_.forEach(function(I){d.add(Y(I)||\"Component\"),py.add(I.type)}),R_=[]);var m=new Set;0<O_.length&&(O_.forEach(function(I){m.add(Y(I)||\"Component\"),py.add(I.type)}),O_=[]);var b=new Set;0<B_.length&&(B_.forEach(function(I){b.add(Y(I)||\"Component\"),py.add(I.type)}),B_=[]);var v=new Set;if(0<M_.length&&(M_.forEach(function(I){v.add(Y(I)||\"Component\"),py.add(I.type)}),M_=[]),0<s.size){var S=y(s);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\\n\\nPlease update the following components: %s`,S)}0<m.size&&(S=y(m),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* If you\\'re updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\\n\\nPlease update the following components: %s`,S)),0<v.size&&(S=y(v),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n\\nPlease update the following components: %s`,S)),0<a.size&&(S=y(a),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \\\\`npx react-codemod rename-unsafe-lifecycles\\\\` in your project source folder.\\n\\nPlease update the following components: %s`,S)),0<d.size&&(S=y(d),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* If you\\'re updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \\\\`npx react-codemod rename-unsafe-lifecycles\\\\` in your project source folder.\\n\\nPlease update the following components: %s`,S)),0<b.size&&(S=y(b),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\\n\\n* Move data fetching code or side effects to componentDidUpdate.\\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \\\\`npx react-codemod rename-unsafe-lifecycles\\\\` in your project source folder.\\n\\nPlease update the following components: %s`,S))};var V8=new Map,tue=new Set;Pu.recordLegacyContextWarning=function(a,s){for(var d=null,m=a;m!==null;)m.mode&qi&&(d=m),m=m.return;d===null?console.error(\"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.\"):!tue.has(a.type)&&(m=V8.get(d),a.type.contextTypes!=null||a.type.childContextTypes!=null||s!==null&&typeof s.getChildContext==\"function\")&&(m===void 0&&(m=[],V8.set(d,m)),m.push(a))},Pu.flushLegacyContextWarning=function(){V8.forEach(function(a){if(a.length!==0){var s=a[0],d=new Set;a.forEach(function(b){d.add(Y(b)||\"Component\"),tue.add(b.type)});var m=y(d);Pe(s,function(){console.error(`Legacy context API has been detected within a strict-mode tree.\\n\\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\\n\\nPlease update the following components: %s\\n\\nLearn more about this warning here: https://react.dev/link/legacy-context`,m)})}})},Pu.discardPendingWarnings=function(){I_=[],P_=[],R_=[],O_=[],B_=[],M_=[],V8=new Map};var rue={react_stack_bottom_frame:function(a,s,d){var m=Gl;Gl=!0;try{return a(s,d)}finally{Gl=m}}},BL=rue.react_stack_bottom_frame.bind(rue),nue={react_stack_bottom_frame:function(a){var s=Gl;Gl=!0;try{return a.render()}finally{Gl=s}}},oue=nue.react_stack_bottom_frame.bind(nue),iue={react_stack_bottom_frame:function(a,s){try{s.componentDidMount()}catch(d){Nr(a,a.return,d)}}},ML=iue.react_stack_bottom_frame.bind(iue),aue={react_stack_bottom_frame:function(a,s,d,m,b){try{s.componentDidUpdate(d,m,b)}catch(v){Nr(a,a.return,v)}}},sue=aue.react_stack_bottom_frame.bind(aue),cue={react_stack_bottom_frame:function(a,s){var d=s.stack;a.componentDidCatch(s.value,{componentStack:d!==null?d:\"\"})}},udt=cue.react_stack_bottom_frame.bind(cue),uue={react_stack_bottom_frame:function(a,s,d){try{d.componentWillUnmount()}catch(m){Nr(a,s,m)}}},lue=uue.react_stack_bottom_frame.bind(uue),due={react_stack_bottom_frame:function(a){var s=a.create;return a=a.inst,s=s(),a.destroy=s}},ldt=due.react_stack_bottom_frame.bind(due),fue={react_stack_bottom_frame:function(a,s,d){try{d()}catch(m){Nr(a,s,m)}}},ddt=fue.react_stack_bottom_frame.bind(fue),pue={react_stack_bottom_frame:function(a){var s=a._init;return s(a._payload)}},fdt=pue.react_stack_bottom_frame.bind(pue),V1=Error(\"Suspense Exception: This is not a real error! It\\'s an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\\\\n\\\\nTo handle async errors, wrap your component in an error boundary, or call the promise\\'s `.catch` method and pass the result to `use`.\"),DL=Error(\"Suspense Exception: This is not a real error, and should not leak into userspace. If you\\'re seeing this, it\\'s likely a bug in React.\"),q8=Error(\"Suspense Exception: This is not a real error! It\\'s an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\\\\n\\\\nTo handle async errors, wrap your component in an error boundary.\"),G8={then:function(){console.error(\\'Internal React error: A listener was unexpectedly attached to a \"noop\" thenable. This is a bug in React. Please file an issue.\\')}},my=null,D_=!1,q1=null,N_=0,$t=null,NL,mue=NL=!1,hue={},yue={},bue={};h=function(a,s,d){if(d!==null&&typeof d==\"object\"&&d._store&&(!d._store.validated&&d.key==null||d._store.validated===2)){if(typeof d._store!=\"object\")throw Error(\"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.\");d._store.validated=1;var m=Y(a),b=m||\"null\";if(!hue[b]){hue[b]=!0,d=d._owner,a=a._debugOwner;var v=\"\";a&&typeof a.tag==\"number\"&&(b=Y(a))&&(v=`\\n\\nCheck the render method of \\\\``+b+\"`.\"),v||m&&(v=`\\n\\nCheck the top-level render call using <`+m+\">.\");var S=\"\";d!=null&&a!==d&&(m=null,typeof d.tag==\"number\"?m=Y(d):typeof d.name==\"string\"&&(m=d.name),m&&(S=\" It was passed a child from \"+m+\".\")),Pe(s,function(){console.error(\\'Each child in a list should have a unique \"key\" prop.%s%s See https://react.dev/link/warning-keys for more information.\\',v,S)})}}};var hy=uie(!0),gue=uie(!1),xue=0,vue=1,wue=2,UL=3,km=!1,Eue=!1,$L=null,zL=!1,G1=fe(null),K8=fe(0),Zs=fe(null),Ic=null,K1=1,U_=2,vo=fe(0),Z8=0,Pc=1,ha=2,Ws=4,ya=8,Z1,_ue=new Set,Sue=new Set,LL=new Set,Aue=new Set,Rf=0,gt=null,mn=null,Ro=null,W8=!1,W1=!1,yy=!1,J8=0,$_=0,Of=null,pdt=0,mdt=25,be=null,Rc=null,Bf=-1,z_=!1,L_={readContext:Un,use:cm,useCallback:co,useContext:co,useEffect:co,useImperativeHandle:co,useLayoutEffect:co,useInsertionEffect:co,useMemo:co,useReducer:co,useRef:co,useState:co,useDebugValue:co,useDeferredValue:co,useTransition:co,useSyncExternalStore:co,useId:co,useHostTransitionStatus:co,useFormState:co,useActionState:co,useOptimistic:co,useMemoCache:co,useCacheRefresh:co};L_.useEffectEvent=co;var HL=null,kue=null,jL=null,Cue=null,ed=null,Ru=null,Q8=null;HL={readContext:function(a){return Un(a)},use:cm,useCallback:function(a,s){return be=\"useCallback\",Wt(),d1(s),$$(a,s)},useContext:function(a){return be=\"useContext\",Wt(),Un(a)},useEffect:function(a,s){return be=\"useEffect\",Wt(),d1(s),VC(a,s)},useImperativeHandle:function(a,s,d){return be=\"useImperativeHandle\",Wt(),d1(d),U$(a,s,d)},useInsertionEffect:function(a,s){be=\"useInsertionEffect\",Wt(),d1(s),ey(4,ha,a,s)},useLayoutEffect:function(a,s){return be=\"useLayoutEffect\",Wt(),d1(s),N$(a,s)},useMemo:function(a,s){be=\"useMemo\",Wt(),d1(s);var d=ge.H;ge.H=ed;try{return z$(a,s)}finally{ge.H=d}},useReducer:function(a,s,d){be=\"useReducer\",Wt();var m=ge.H;ge.H=ed;try{return C$(a,s,d)}finally{ge.H=m}},useRef:function(a){return be=\"useRef\",Wt(),M$(a)},useState:function(a){be=\"useState\",Wt();var s=ge.H;ge.H=ed;try{return R$(a)}finally{ge.H=s}},useDebugValue:function(){be=\"useDebugValue\",Wt()},useDeferredValue:function(a,s){return be=\"useDeferredValue\",Wt(),L$(a,s)},useTransition:function(){return be=\"useTransition\",Wt(),F$()},useSyncExternalStore:function(a,s,d){return be=\"useSyncExternalStore\",Wt(),I$(a,s,d)},useId:function(){return be=\"useId\",Wt(),V$()},useFormState:function(a,s){return be=\"useFormState\",Wt(),zC(),p1(a,s)},useActionState:function(a,s){return be=\"useActionState\",Wt(),p1(a,s)},useOptimistic:function(a){return be=\"useOptimistic\",Wt(),O$(a)},useHostTransitionStatus:ty,useMemoCache:X0,useCacheRefresh:function(){return be=\"useCacheRefresh\",Wt(),q$()},useEffectEvent:function(a){return be=\"useEffectEvent\",Wt(),D$(a)}},kue={readContext:function(a){return Un(a)},use:cm,useCallback:function(a,s){return be=\"useCallback\",Me(),$$(a,s)},useContext:function(a){return be=\"useContext\",Me(),Un(a)},useEffect:function(a,s){return be=\"useEffect\",Me(),VC(a,s)},useImperativeHandle:function(a,s,d){return be=\"useImperativeHandle\",Me(),U$(a,s,d)},useInsertionEffect:function(a,s){be=\"useInsertionEffect\",Me(),ey(4,ha,a,s)},useLayoutEffect:function(a,s){return be=\"useLayoutEffect\",Me(),N$(a,s)},useMemo:function(a,s){be=\"useMemo\",Me();var d=ge.H;ge.H=ed;try{return z$(a,s)}finally{ge.H=d}},useReducer:function(a,s,d){be=\"useReducer\",Me();var m=ge.H;ge.H=ed;try{return C$(a,s,d)}finally{ge.H=m}},useRef:function(a){return be=\"useRef\",Me(),M$(a)},useState:function(a){be=\"useState\",Me();var s=ge.H;ge.H=ed;try{return R$(a)}finally{ge.H=s}},useDebugValue:function(){be=\"useDebugValue\",Me()},useDeferredValue:function(a,s){return be=\"useDeferredValue\",Me(),L$(a,s)},useTransition:function(){return be=\"useTransition\",Me(),F$()},useSyncExternalStore:function(a,s,d){return be=\"useSyncExternalStore\",Me(),I$(a,s,d)},useId:function(){return be=\"useId\",Me(),V$()},useActionState:function(a,s){return be=\"useActionState\",Me(),p1(a,s)},useFormState:function(a,s){return be=\"useFormState\",Me(),zC(),p1(a,s)},useOptimistic:function(a){return be=\"useOptimistic\",Me(),O$(a)},useHostTransitionStatus:ty,useMemoCache:X0,useCacheRefresh:function(){return be=\"useCacheRefresh\",Me(),q$()},useEffectEvent:function(a){return be=\"useEffectEvent\",Me(),D$(a)}},jL={readContext:function(a){return Un(a)},use:cm,useCallback:function(a,s){return be=\"useCallback\",Me(),KC(a,s)},useContext:function(a){return be=\"useContext\",Me(),Un(a)},useEffect:function(a,s){be=\"useEffect\",Me(),Xa(2048,ya,a,s)},useImperativeHandle:function(a,s,d){return be=\"useImperativeHandle\",Me(),GC(a,s,d)},useInsertionEffect:function(a,s){return be=\"useInsertionEffect\",Me(),Xa(4,ha,a,s)},useLayoutEffect:function(a,s){return be=\"useLayoutEffect\",Me(),Xa(4,Ws,a,s)},useMemo:function(a,s){be=\"useMemo\",Me();var d=ge.H;ge.H=Ru;try{return ZC(a,s)}finally{ge.H=d}},useReducer:function(a,s,d){be=\"useReducer\",Me();var m=ge.H;ge.H=Ru;try{return f1(a,s,d)}finally{ge.H=m}},useRef:function(){return be=\"useRef\",Me(),Hr().memoizedState},useState:function(){be=\"useState\",Me();var a=ge.H;ge.H=Ru;try{return f1(Au)}finally{ge.H=a}},useDebugValue:function(){be=\"useDebugValue\",Me()},useDeferredValue:function(a,s){return be=\"useDeferredValue\",Me(),Rie(a,s)},useTransition:function(){return be=\"useTransition\",Me(),Uie()},useSyncExternalStore:function(a,s,d){return be=\"useSyncExternalStore\",Me(),HC(a,s,d)},useId:function(){return be=\"useId\",Me(),Hr().memoizedState},useFormState:function(a){return be=\"useFormState\",Me(),zC(),jC(a)},useActionState:function(a){return be=\"useActionState\",Me(),jC(a)},useOptimistic:function(a,s){return be=\"useOptimistic\",Me(),wie(a,s)},useHostTransitionStatus:ty,useMemoCache:X0,useCacheRefresh:function(){return be=\"useCacheRefresh\",Me(),Hr().memoizedState},useEffectEvent:function(a){return be=\"useEffectEvent\",Me(),qC(a)}},Cue={readContext:function(a){return Un(a)},use:cm,useCallback:function(a,s){return be=\"useCallback\",Me(),KC(a,s)},useContext:function(a){return be=\"useContext\",Me(),Un(a)},useEffect:function(a,s){be=\"useEffect\",Me(),Xa(2048,ya,a,s)},useImperativeHandle:function(a,s,d){return be=\"useImperativeHandle\",Me(),GC(a,s,d)},useInsertionEffect:function(a,s){return be=\"useInsertionEffect\",Me(),Xa(4,ha,a,s)},useLayoutEffect:function(a,s){return be=\"useLayoutEffect\",Me(),Xa(4,Ws,a,s)},useMemo:function(a,s){be=\"useMemo\",Me();var d=ge.H;ge.H=Q8;try{return ZC(a,s)}finally{ge.H=d}},useReducer:function(a,s,d){be=\"useReducer\",Me();var m=ge.H;ge.H=Q8;try{return qE(a,s,d)}finally{ge.H=m}},useRef:function(){return be=\"useRef\",Me(),Hr().memoizedState},useState:function(){be=\"useState\",Me();var a=ge.H;ge.H=Q8;try{return qE(Au)}finally{ge.H=a}},useDebugValue:function(){be=\"useDebugValue\",Me()},useDeferredValue:function(a,s){return be=\"useDeferredValue\",Me(),Oie(a,s)},useTransition:function(){return be=\"useTransition\",Me(),$ie()},useSyncExternalStore:function(a,s,d){return be=\"useSyncExternalStore\",Me(),HC(a,s,d)},useId:function(){return be=\"useId\",Me(),Hr().memoizedState},useFormState:function(a){return be=\"useFormState\",Me(),zC(),FC(a)},useActionState:function(a){return be=\"useActionState\",Me(),FC(a)},useOptimistic:function(a,s){return be=\"useOptimistic\",Me(),_ie(a,s)},useHostTransitionStatus:ty,useMemoCache:X0,useCacheRefresh:function(){return be=\"useCacheRefresh\",Me(),Hr().memoizedState},useEffectEvent:function(a){return be=\"useEffectEvent\",Me(),qC(a)}},ed={readContext:function(a){return f(),Un(a)},use:function(a){return l(),cm(a)},useCallback:function(a,s){return be=\"useCallback\",l(),Wt(),$$(a,s)},useContext:function(a){return be=\"useContext\",l(),Wt(),Un(a)},useEffect:function(a,s){return be=\"useEffect\",l(),Wt(),VC(a,s)},useImperativeHandle:function(a,s,d){return be=\"useImperativeHandle\",l(),Wt(),U$(a,s,d)},useInsertionEffect:function(a,s){be=\"useInsertionEffect\",l(),Wt(),ey(4,ha,a,s)},useLayoutEffect:function(a,s){return be=\"useLayoutEffect\",l(),Wt(),N$(a,s)},useMemo:function(a,s){be=\"useMemo\",l(),Wt();var d=ge.H;ge.H=ed;try{return z$(a,s)}finally{ge.H=d}},useReducer:function(a,s,d){be=\"useReducer\",l(),Wt();var m=ge.H;ge.H=ed;try{return C$(a,s,d)}finally{ge.H=m}},useRef:function(a){return be=\"useRef\",l(),Wt(),M$(a)},useState:function(a){be=\"useState\",l(),Wt();var s=ge.H;ge.H=ed;try{return R$(a)}finally{ge.H=s}},useDebugValue:function(){be=\"useDebugValue\",l(),Wt()},useDeferredValue:function(a,s){return be=\"useDeferredValue\",l(),Wt(),L$(a,s)},useTransition:function(){return be=\"useTransition\",l(),Wt(),F$()},useSyncExternalStore:function(a,s,d){return be=\"useSyncExternalStore\",l(),Wt(),I$(a,s,d)},useId:function(){return be=\"useId\",l(),Wt(),V$()},useFormState:function(a,s){return be=\"useFormState\",l(),Wt(),p1(a,s)},useActionState:function(a,s){return be=\"useActionState\",l(),Wt(),p1(a,s)},useOptimistic:function(a){return be=\"useOptimistic\",l(),Wt(),O$(a)},useMemoCache:function(a){return l(),X0(a)},useHostTransitionStatus:ty,useCacheRefresh:function(){return be=\"useCacheRefresh\",Wt(),q$()},useEffectEvent:function(a){return be=\"useEffectEvent\",l(),Wt(),D$(a)}},Ru={readContext:function(a){return f(),Un(a)},use:function(a){return l(),cm(a)},useCallback:function(a,s){return be=\"useCallback\",l(),Me(),KC(a,s)},useContext:function(a){return be=\"useContext\",l(),Me(),Un(a)},useEffect:function(a,s){be=\"useEffect\",l(),Me(),Xa(2048,ya,a,s)},useImperativeHandle:function(a,s,d){return be=\"useImperativeHandle\",l(),Me(),GC(a,s,d)},useInsertionEffect:function(a,s){return be=\"useInsertionEffect\",l(),Me(),Xa(4,ha,a,s)},useLayoutEffect:function(a,s){return be=\"useLayoutEffect\",l(),Me(),Xa(4,Ws,a,s)},useMemo:function(a,s){be=\"useMemo\",l(),Me();var d=ge.H;ge.H=Ru;try{return ZC(a,s)}finally{ge.H=d}},useReducer:function(a,s,d){be=\"useReducer\",l(),Me();var m=ge.H;ge.H=Ru;try{return f1(a,s,d)}finally{ge.H=m}},useRef:function(){return be=\"useRef\",l(),Me(),Hr().memoizedState},useState:function(){be=\"useState\",l(),Me();var a=ge.H;ge.H=Ru;try{return f1(Au)}finally{ge.H=a}},useDebugValue:function(){be=\"useDebugValue\",l(),Me()},useDeferredValue:function(a,s){return be=\"useDeferredValue\",l(),Me(),Rie(a,s)},useTransition:function(){return be=\"useTransition\",l(),Me(),Uie()},useSyncExternalStore:function(a,s,d){return be=\"useSyncExternalStore\",l(),Me(),HC(a,s,d)},useId:function(){return be=\"useId\",l(),Me(),Hr().memoizedState},useFormState:function(a){return be=\"useFormState\",l(),Me(),jC(a)},useActionState:function(a){return be=\"useActionState\",l(),Me(),jC(a)},useOptimistic:function(a,s){return be=\"useOptimistic\",l(),Me(),wie(a,s)},useMemoCache:function(a){return l(),X0(a)},useHostTransitionStatus:ty,useCacheRefresh:function(){return be=\"useCacheRefresh\",Me(),Hr().memoizedState},useEffectEvent:function(a){return be=\"useEffectEvent\",l(),Me(),qC(a)}},Q8={readContext:function(a){return f(),Un(a)},use:function(a){return l(),cm(a)},useCallback:function(a,s){return be=\"useCallback\",l(),Me(),KC(a,s)},useContext:function(a){return be=\"useContext\",l(),Me(),Un(a)},useEffect:function(a,s){be=\"useEffect\",l(),Me(),Xa(2048,ya,a,s)},useImperativeHandle:function(a,s,d){return be=\"useImperativeHandle\",l(),Me(),GC(a,s,d)},useInsertionEffect:function(a,s){return be=\"useInsertionEffect\",l(),Me(),Xa(4,ha,a,s)},useLayoutEffect:function(a,s){return be=\"useLayoutEffect\",l(),Me(),Xa(4,Ws,a,s)},useMemo:function(a,s){be=\"useMemo\",l(),Me();var d=ge.H;ge.H=Ru;try{return ZC(a,s)}finally{ge.H=d}},useReducer:function(a,s,d){be=\"useReducer\",l(),Me();var m=ge.H;ge.H=Ru;try{return qE(a,s,d)}finally{ge.H=m}},useRef:function(){return be=\"useRef\",l(),Me(),Hr().memoizedState},useState:function(){be=\"useState\",l(),Me();var a=ge.H;ge.H=Ru;try{return qE(Au)}finally{ge.H=a}},useDebugValue:function(){be=\"useDebugValue\",l(),Me()},useDeferredValue:function(a,s){return be=\"useDeferredValue\",l(),Me(),Oie(a,s)},useTransition:function(){return be=\"useTransition\",l(),Me(),$ie()},useSyncExternalStore:function(a,s,d){return be=\"useSyncExternalStore\",l(),Me(),HC(a,s,d)},useId:function(){return be=\"useId\",l(),Me(),Hr().memoizedState},useFormState:function(a){return be=\"useFormState\",l(),Me(),FC(a)},useActionState:function(a){return be=\"useActionState\",l(),Me(),FC(a)},useOptimistic:function(a,s){return be=\"useOptimistic\",l(),Me(),_ie(a,s)},useMemoCache:function(a){return l(),X0(a)},useHostTransitionStatus:ty,useCacheRefresh:function(){return be=\"useCacheRefresh\",Me(),Hr().memoizedState},useEffectEvent:function(a){return be=\"useEffectEvent\",l(),Me(),qC(a)}};var Tue={},Iue=new Set,Pue=new Set,Rue=new Set,Oue=new Set,Bue=new Set,Mue=new Set,Due=new Set,Nue=new Set,Uue=new Set,$ue=new Set;Object.freeze(Tue);var FL={enqueueSetState:function(a,s,d){a=a._reactInternals;var m=js(a),b=om(m);b.payload=s,d!=null&&(K$(d),b.callback=d),s=im(a,b,m),s!==null&&(Rl(m,\"this.setState()\",a),Yn(s,a,m),HE(s,a,m))},enqueueReplaceState:function(a,s,d){a=a._reactInternals;var m=js(a),b=om(m);b.tag=vue,b.payload=s,d!=null&&(K$(d),b.callback=d),s=im(a,b,m),s!==null&&(Rl(m,\"this.replaceState()\",a),Yn(s,a,m),HE(s,a,m))},enqueueForceUpdate:function(a,s){a=a._reactInternals;var d=js(a),m=om(d);m.tag=wue,s!=null&&(K$(s),m.callback=s),s=im(a,m,d),s!==null&&(Rl(d,\"this.forceUpdate()\",a),Yn(s,a,d),HE(s,a,d))}},J1=null,VL=null,qL=Error(\"This is not a real error. It\\'s an implementation detail of React\\'s selective hydration feature. If this leaks into userspace, it\\'s a bug in React. Please file an issue.\"),Oo=!1,zue={},Lue={},Hue={},jue={},Q1=!1,Fue={},Y8={},GL={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},Vue=!1,que=null;que=new Set;var Mf=!1,Bo=!1,KL=!1,Gue=typeof WeakSet==\"function\"?WeakSet:Set,ii=null,Y1=null,X1=null,Mo=null,rs=!1,Ou=null,Ko=!1,H_=8192,hdt={getCacheForType:function(a){var s=Un(Io),d=s.data.get(a);return d===void 0&&(d=a(),s.data.set(a,d)),d},cacheSignal:function(){return Un(Io).controller.signal},getOwner:function(){return qs}};if(typeof Symbol==\"function\"&&Symbol.for){var j_=Symbol.for;j_(\"selector.component\"),j_(\"selector.has_pseudo_class\"),j_(\"selector.role\"),j_(\"selector.test_id\"),j_(\"selector.text\")}var ydt=[],bdt=typeof WeakMap==\"function\"?WeakMap:Map,ai=0,Zo=2,Js=4,Df=0,F_=1,by=2,X8=3,Cm=4,eT=6,Kue=5,yr=ai,hn=null,Vt=null,zt=0,ns=0,tT=1,gy=2,V_=3,Zue=4,ZL=5,q_=6,rT=7,WL=8,xy=9,jr=ns,Qs=null,Tm=!1,ex=!1,JL=!1,td=0,qn=Df,Im=0,Pm=0,QL=0,os=0,vy=0,G_=null,ba=null,nT=!1,oT=0,Wue=0,Jue=300,iT=1/0,Que=500,K_=null,uo=null,Rm=null,aT=0,YL=1,XL=2,Yue=3,Om=0,Xue=1,ele=2,tle=3,rle=4,sT=5,Do=0,Bm=null,tx=null,Bu=0,eH=0,tH=-0,rH=null,nle=null,ole=null,Mu=aT,ile=null,gdt=50,Z_=0,nH=null,oH=!1,cT=!1,xdt=50,wy=0,W_=null,rx=!1,uT=null,ale=!1,sle=new Set,vdt={},lT=null,nx=null,iH=!1,aH=!1,dT=!1,sH=!1,Mm=0,cH={};(function(){for(var a=0;a<xL.length;a++){var s=xL[a],d=s.toLowerCase();s=s[0].toUpperCase()+s.slice(1),Su(d,\"on\"+s)}Su(Uce,\"onAnimationEnd\"),Su($ce,\"onAnimationIteration\"),Su(zce,\"onAnimationStart\"),Su(\"dblclick\",\"onDoubleClick\"),Su(\"focusin\",\"onFocus\"),Su(\"focusout\",\"onBlur\"),Su(Jlt,\"onTransitionRun\"),Su(Qlt,\"onTransitionStart\"),Su(Ylt,\"onTransitionCancel\"),Su(Lce,\"onTransitionEnd\")})(),Co(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]),Co(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]),Co(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]),Co(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]),Ft(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \")),Ft(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \")),Ft(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]),Ft(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \")),Ft(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")),Ft(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var J_=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),uH=new Set(\"beforetoggle cancel close invalid load scroll scrollend toggle\".split(\" \").concat(J_)),fT=\"_reactListening\"+Math.random().toString(36).slice(2),cle=!1,ule=!1,pT=!1,lle=!1,mT=!1,hT=!1,dle=!1,yT={},wdt=/\\\\r\\\\n?/g,Edt=/\\\\u0000|\\\\uFFFD/g,Ey=\"http://www.w3.org/1999/xlink\",lH=\"http://www.w3.org/XML/1998/namespace\",_dt=\"javascript:throw new Error(\\'React form unexpectedly submitted.\\')\",Sdt=\"suppressHydrationWarning\",_y=\"&\",bT=\"/&\",Q_=\"$\",Y_=\"/$\",Dm=\"$?\",Sy=\"$~\",ox=\"$!\",Adt=\"html\",kdt=\"body\",Cdt=\"head\",dH=\"F!\",fle=\"F\",ple=\"loading\",Tdt=\"style\",Nf=0,ix=1,gT=2,fH=null,pH=null,mle={dialog:!0,webview:!0},mH=null,X_=void 0,hle=typeof setTimeout==\"function\"?setTimeout:void 0,Idt=typeof clearTimeout==\"function\"?clearTimeout:void 0,Ay=-1,yle=typeof Promise==\"function\"?Promise:void 0,Pdt=typeof queueMicrotask==\"function\"?queueMicrotask:typeof yle<\"u\"?function(a){return yle.resolve(null).then(a).catch(put)}:hle,hH=null,ky=0,eS=1,ble=2,gle=3,Oc=4,Bc=new Map,xle=new Set,Uf=Ur.d;Ur.d={f:function(){var a=Uf.f(),s=g1();return a||s},r:function(a){var s=Ze(a);s!==null&&s.tag===5&&s.type===\"form\"?Nie(s):Uf.r(a)},D:function(a){Uf.D(a),Ise(\"dns-prefetch\",a,null)},C:function(a,s){Uf.C(a,s),Ise(\"preconnect\",a,s)},L:function(a,s,d){Uf.L(a,s,d);var m=ax;if(m&&a&&s){var b=\\'link[rel=\"preload\"][as=\"\\'+dr(s)+\\'\"]\\';s===\"image\"&&d&&d.imageSrcSet?(b+=\\'[imagesrcset=\"\\'+dr(d.imageSrcSet)+\\'\"]\\',typeof d.imageSizes==\"string\"&&(b+=\\'[imagesizes=\"\\'+dr(d.imageSizes)+\\'\"]\\')):b+=\\'[href=\"\\'+dr(a)+\\'\"]\\';var v=b;switch(s){case\"style\":v=w1(a);break;case\"script\":v=E1(a)}Bc.has(v)||(a=Jt({rel:\"preload\",href:s===\"image\"&&d&&d.imageSrcSet?void 0:a,as:s},d),Bc.set(v,a),m.querySelector(b)!==null||s===\"style\"&&m.querySelector(a_(v))||s===\"script\"&&m.querySelector(s_(v))||(s=m.createElement(\"link\"),wi(s,\"link\",a),Le(s),m.head.appendChild(s)))}},m:function(a,s){Uf.m(a,s);var d=ax;if(d&&a){var m=s&&typeof s.as==\"string\"?s.as:\"script\",b=\\'link[rel=\"modulepreload\"][as=\"\\'+dr(m)+\\'\"][href=\"\\'+dr(a)+\\'\"]\\',v=b;switch(m){case\"audioworklet\":case\"paintworklet\":case\"serviceworker\":case\"sharedworker\":case\"worker\":case\"script\":v=E1(a)}if(!Bc.has(v)&&(a=Jt({rel:\"modulepreload\",href:a},s),Bc.set(v,a),d.querySelector(b)===null)){switch(m){case\"audioworklet\":case\"paintworklet\":case\"serviceworker\":case\"sharedworker\":case\"worker\":case\"script\":if(d.querySelector(s_(v)))return}m=d.createElement(\"link\"),wi(m,\"link\",a),Le(m),d.head.appendChild(m)}}},X:function(a,s){Uf.X(a,s);var d=ax;if(d&&a){var m=jt(d).hoistableScripts,b=E1(a),v=m.get(b);v||(v=d.querySelector(s_(b)),v||(a=Jt({src:a,async:!0},s),(s=Bc.get(b))&&Uz(a,s),v=d.createElement(\"script\"),Le(v),wi(v,\"link\",a),d.head.appendChild(v)),v={type:\"script\",instance:v,count:1,state:null},m.set(b,v))}},S:function(a,s,d){Uf.S(a,s,d);var m=ax;if(m&&a){var b=jt(m).hoistableStyles,v=w1(a);s=s||\"default\";var S=b.get(v);if(!S){var I={loading:ky,preload:null};if(S=m.querySelector(a_(v)))I.loading=eS|Oc;else{a=Jt({rel:\"stylesheet\",href:a,\"data-precedence\":s},d),(d=Bc.get(v))&&Nz(a,d);var z=S=m.createElement(\"link\");Le(z),wi(z,\"link\",a),z._p=new Promise(function(F,ae){z.onload=F,z.onerror=ae}),z.addEventListener(\"load\",function(){I.loading|=eS}),z.addEventListener(\"error\",function(){I.loading|=ble}),I.loading|=Oc,p8(S,s,m)}S={type:\"stylesheet\",instance:S,count:1,state:I},b.set(v,S)}}},M:function(a,s){Uf.M(a,s);var d=ax;if(d&&a){var m=jt(d).hoistableScripts,b=E1(a),v=m.get(b);v||(v=d.querySelector(s_(b)),v||(a=Jt({src:a,async:!0,type:\"module\"},s),(s=Bc.get(b))&&Uz(a,s),v=d.createElement(\"script\"),Le(v),wi(v,\"link\",a),d.head.appendChild(v)),v={type:\"script\",instance:v,count:1,state:null},m.set(b,v))}}};var ax=typeof document>\"u\"?null:document,xT=null,Rdt=6e4,Odt=800,Bdt=500,yH=0,bH=null,vT=null,Cy=Zut,tS={$$typeof:ql,Provider:null,Consumer:null,_currentValue:Cy,_currentValue2:Cy,_threadCount:0},vle=\"%c%s%c\",wle=\"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px\",Ele=\"\",wT=\" \",Mdt=Function.prototype.bind,_le=!1,Sle=null,Ale=null,kle=null,Cle=null,Tle=null,Ile=null,Ple=null,Rle=null,Ole=null,Ble=null;Sle=function(a,s,d,m){s=e(a,s),s!==null&&(d=t(s.memoizedState,d,0,m),s.memoizedState=d,s.baseState=d,a.memoizedProps=Jt({},a.memoizedProps),d=Fi(a,2),d!==null&&Yn(d,a,2))},Ale=function(a,s,d){s=e(a,s),s!==null&&(d=o(s.memoizedState,d,0),s.memoizedState=d,s.baseState=d,a.memoizedProps=Jt({},a.memoizedProps),d=Fi(a,2),d!==null&&Yn(d,a,2))},kle=function(a,s,d,m){s=e(a,s),s!==null&&(d=r(s.memoizedState,d,m),s.memoizedState=d,s.baseState=d,a.memoizedProps=Jt({},a.memoizedProps),d=Fi(a,2),d!==null&&Yn(d,a,2))},Cle=function(a,s,d){a.pendingProps=t(a.memoizedProps,s,0,d),a.alternate&&(a.alternate.pendingProps=a.pendingProps),s=Fi(a,2),s!==null&&Yn(s,a,2)},Tle=function(a,s){a.pendingProps=o(a.memoizedProps,s,0),a.alternate&&(a.alternate.pendingProps=a.pendingProps),s=Fi(a,2),s!==null&&Yn(s,a,2)},Ile=function(a,s,d){a.pendingProps=r(a.memoizedProps,s,d),a.alternate&&(a.alternate.pendingProps=a.pendingProps),s=Fi(a,2),s!==null&&Yn(s,a,2)},Ple=function(a){var s=Fi(a,2);s!==null&&Yn(s,a,2)},Rle=function(a){var s=$r(),d=Fi(a,s);d!==null&&Yn(d,a,s)},Ole=function(a){c=a},Ble=function(a){i=a};var ET=!0,_T=null,gH=!1,Nm=null,Um=null,$m=null,rS=new Map,nS=new Map,zm=[],Ddt=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset\".split(\" \"),ST=null;if(g8.prototype.render=Fz.prototype.render=function(a){var s=this._internalRoot;if(s===null)throw Error(\"Cannot update an unmounted root.\");var d=arguments;typeof d[1]==\"function\"?console.error(\"does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().\"):R(d[1])?console.error(\"You passed a container to the second argument of root.render(...). You don\\'t need to pass it again since you already passed it to create the root.\"):typeof d[1]<\"u\"&&console.error(\"You passed a second argument to root.render(...) but it only accepts one argument.\"),d=a;var m=s.current,b=js(m);$z(m,b,d,s,null,null)},g8.prototype.unmount=Fz.prototype.unmount=function(){var a=arguments;if(typeof a[0]==\"function\"&&console.error(\"does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().\"),a=this._internalRoot,a!==null){this._internalRoot=null;var s=a.containerInfo;(yr&(Zo|Js))!==ai&&console.error(\"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.\"),$z(a.current,2,null,a,null,null),g1(),s[hm]=null}},g8.prototype.unstable_scheduleHydration=function(a){if(a){var s=de();a={blockedOn:null,target:a,priority:s};for(var d=0;d<zm.length&&s!==0&&s<zm[d].priority;d++);zm.splice(d,0,a),d===0&&Fse(a)}},(function(){var a=Vz.version;if(a!==\"19.2.1\")throw Error(`Incompatible React versions: The \"react\" and \"react-dom\" packages must have the exact same version. Instead got:\\n  - react:      `+(a+`\\n  - react-dom:  19.2.1\\nLearn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map==\"function\"&&Map.prototype!=null&&typeof Map.prototype.forEach==\"function\"&&typeof Set==\"function\"&&Set.prototype!=null&&typeof Set.prototype.clear==\"function\"&&typeof Set.prototype.forEach==\"function\"||console.error(\"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills\"),Ur.findDOMNode=function(a){var s=a._reactInternals;if(s===void 0)throw typeof a.render==\"function\"?Error(\"Unable to find node on an unmounted component.\"):(a=Object.keys(a).join(\",\"),Error(\"Argument appears to not be a ReactComponent. Keys: \"+a));return a=V(s),a=a!==null?G(a):null,a=a===null?null:a.stateNode,a},!(function(){var a={bundleType:1,version:\"19.2.1\",rendererPackageName:\"react-dom\",currentDispatcherRef:ge,reconcilerVersion:\"19.2.1\"};return a.overrideHookState=Sle,a.overrideHookStateDeletePath=Ale,a.overrideHookStateRenamePath=kle,a.overrideProps=Cle,a.overridePropsDeletePath=Tle,a.overridePropsRenamePath=Ile,a.scheduleUpdate=Ple,a.scheduleRetry=Rle,a.setErrorHandler=Ole,a.setSuspenseHandler=Ble,a.scheduleRefresh=A,a.scheduleRoot=E,a.setRefreshHandler=C,a.getCurrentFiber=zut,gc(a)})()&&Jl&&window.top===window.self&&(-1<navigator.userAgent.indexOf(\"Chrome\")&&navigator.userAgent.indexOf(\"Edge\")===-1||-1<navigator.userAgent.indexOf(\"Firefox\"))){var Mle=window.location.protocol;/^(https?|file):$/.test(Mle)&&console.info(\"%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools\"+(Mle===\"file:\"?`\\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:\"\"),\"font-weight:bold\")}PT.createRoot=function(a,s){if(!R(a))throw Error(\"Target container is not a DOM element.\");Kse(a);var d=!1,m=\"\",b=Vie,v=qie,S=Gie;return s!=null&&(s.hydrate?console.warn(\"hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.\"):typeof s==\"object\"&&s!==null&&s.$$typeof===Vl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\\n\\n  let root = createRoot(domContainer);\\n  root.render(<App />);`),s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(m=s.identifierPrefix),s.onUncaughtError!==void 0&&(b=s.onUncaughtError),s.onCaughtError!==void 0&&(v=s.onCaughtError),s.onRecoverableError!==void 0&&(S=s.onRecoverableError)),s=Nse(a,1,!1,null,null,d,m,null,b,v,S,Gse),a[hm]=s.current,Sz(a),new Fz(s)},PT.hydrateRoot=function(a,s,d){if(!R(a))throw Error(\"Target container is not a DOM element.\");Kse(a),s===void 0&&console.error(\"Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)\");var m=!1,b=\"\",v=Vie,S=qie,I=Gie,z=null;return d!=null&&(d.unstable_strictMode===!0&&(m=!0),d.identifierPrefix!==void 0&&(b=d.identifierPrefix),d.onUncaughtError!==void 0&&(v=d.onUncaughtError),d.onCaughtError!==void 0&&(S=d.onCaughtError),d.onRecoverableError!==void 0&&(I=d.onRecoverableError),d.formState!==void 0&&(z=d.formState)),s=Nse(a,1,!0,s,d??null,m,b,z,v,S,I,Gse),s.context=Use(null),d=s.current,m=js(d),m=Rr(m),b=om(m),b.callback=null,im(d,b,m),Rl(m,\"hydrateRoot()\",null),d=m,s.current.lanes=d,sa(s,d),jl(s),a[hm]=s.current,Sz(a),new g8(s)},PT.version=\"19.2.1\",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var mde=J(($Mt,pde)=>{\"use strict\";u();pde.exports=fde()});var hde,yde=x(()=>{u();hde=\"1.2.3\"});var Eo,fx=x(()=>{u();yde();Eo=class e extends Error{constructor(t,r={}){let n=r.cause instanceof e?r.cause.details:r.cause?.message?r.cause.message:r.details,o=r.cause instanceof e&&r.cause.docsPath||r.docsPath,i=[t||\"An error occurred.\",\"\",...r.metaMessages?[...r.metaMessages,\"\"]:[],...o?[`Docs: https://abitype.dev${o}`]:[],...n?[`Details: ${n}`]:[],`Version: abitype@${hde}`].join(`\\n`);super(i),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\"}),r.cause&&(this.cause=r.cause),this.details=n,this.docsPath=o,this.metaMessages=r.metaMessages,this.shortMessage=t}}});function Ys(e,t){return e.exec(t)?.groups}var PH,RH,RT,aS=x(()=>{u();PH=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,RH=/^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)?$/,RT=/^\\\\(.+?\\\\).*?$/});function OT(e){let t=e.type;if(bde.test(e.type)&&\"components\"in e){t=\"(\";let r=e.components.length;for(let o=0;o<r;o++){let i=e.components[o];t+=OT(i),o<r-1&&(t+=\", \")}let n=Ys(bde,e.type);return t+=`)${n?.array||\"\"}`,OT({...e,type:t})}return\"indexed\"in e&&e.indexed&&(t=`${t} indexed`),e.name?`${t} ${e.name}`:t}var bde,gde=x(()=>{u();aS();bde=/^tuple(?<array>(\\\\[(\\\\d*)\\\\])*)$/});function Lf(e){let t=\"\",r=e.length;for(let n=0;n<r;n++){let o=e[n];t+=OT(o),n!==r-1&&(t+=\", \")}return t}var OH=x(()=>{u();gde()});function Py(e){return e.type===\"function\"?`function ${e.name}(${Lf(e.inputs)})${e.stateMutability&&e.stateMutability!==\"nonpayable\"?` ${e.stateMutability}`:\"\"}${e.outputs?.length?` returns (${Lf(e.outputs)})`:\"\"}`:e.type===\"event\"?`event ${e.name}(${Lf(e.inputs)})`:e.type===\"error\"?`error ${e.name}(${Lf(e.inputs)})`:e.type===\"constructor\"?`constructor(${Lf(e.inputs)})${e.stateMutability===\"payable\"?\" payable\":\"\"}`:e.type===\"fallback\"?`fallback() external${e.stateMutability===\"payable\"?\" payable\":\"\"}`:\"receive() external payable\"}var xde=x(()=>{u();OH()});function wde(e){return vde.test(e)}function Ede(e){return Ys(vde,e)}function Sde(e){return _de.test(e)}function Ade(e){return Ys(_de,e)}function Cde(e){return kde.test(e)}function Tde(e){return Ys(kde,e)}function Hm(e){return Ide.test(e)}function Pde(e){return Ys(Ide,e)}function Ode(e){return Rde.test(e)}function Bde(e){return Ys(Rde,e)}function Dde(e){return Mde.test(e)}function Nde(e){return Ys(Mde,e)}function Ude(e){return vft.test(e)}var vde,_de,kde,Ide,Rde,Mde,vft,BH,$de,BT,px=x(()=>{u();aS();vde=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\\\((?<parameters>.*?)\\\\)$/;_de=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\\\((?<parameters>.*?)\\\\)$/;kde=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\\\\((?<parameters>.*?)\\\\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\\\\s?\\\\((?<returns>.*?)\\\\))?$/;Ide=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \\\\{(?<properties>.*?)\\\\}$/;Rde=/^constructor\\\\((?<parameters>.*?)\\\\)(?:\\\\s(?<stateMutability>payable{1}))?$/;Mde=/^fallback\\\\(\\\\) external(?:\\\\s(?<stateMutability>payable{1}))?$/;vft=/^receive\\\\(\\\\) external payable$/;BH=new Set([\"memory\",\"indexed\",\"storage\",\"calldata\"]),$de=new Set([\"indexed\"]),BT=new Set([\"calldata\",\"memory\",\"storage\"])});var MT,DT,NT,UT=x(()=>{u();fx();MT=class extends Eo{constructor({signature:t}){super(\"Failed to parse ABI item.\",{details:`parseAbiItem(${JSON.stringify(t,null,2)})`,docsPath:\"/api/human#parseabiitem-1\"}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidAbiItemError\"})}},DT=class extends Eo{constructor({type:t}){super(\"Unknown type.\",{metaMessages:[`Type \"${t}\" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"UnknownTypeError\"})}},NT=class extends Eo{constructor({type:t}){super(\"Unknown type.\",{metaMessages:[`Type \"${t}\" is not a valid ABI type.`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"UnknownSolidityTypeError\"})}}});var $T,zT,LT,HT,jT,FT,VT=x(()=>{u();fx();$T=class extends Eo{constructor({params:t}){super(\"Failed to parse ABI parameters.\",{details:`parseAbiParameters(${JSON.stringify(t,null,2)})`,docsPath:\"/api/human#parseabiparameters-1\"}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidAbiParametersError\"})}},zT=class extends Eo{constructor({param:t}){super(\"Invalid ABI parameter.\",{details:t}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidParameterError\"})}},LT=class extends Eo{constructor({param:t,name:r}){super(\"Invalid ABI parameter.\",{details:t,metaMessages:[`\"${r}\" 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\"})}},HT=class extends Eo{constructor({param:t,type:r,modifier:n}){super(\"Invalid ABI parameter.\",{details:t,metaMessages:[`Modifier \"${n}\" not allowed${r?` in \"${r}\" type`:\"\"}.`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidModifierError\"})}},jT=class extends Eo{constructor({param:t,type:r,modifier:n}){super(\"Invalid ABI parameter.\",{details:t,metaMessages:[`Modifier \"${n}\" not allowed${r?` in \"${r}\" 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\"})}},FT=class extends Eo{constructor({abiParameter:t}){super(\"Invalid ABI parameter.\",{details:JSON.stringify(t,null,2),metaMessages:[\"ABI parameter type is invalid.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidAbiTypeParameterError\"})}}});var od,qT,GT,MH=x(()=>{u();fx();od=class extends Eo{constructor({signature:t,type:r}){super(`Invalid ${r} signature.`,{details:t}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidSignatureError\"})}},qT=class extends Eo{constructor({signature:t}){super(\"Unknown signature.\",{details:t}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"UnknownSignatureError\"})}},GT=class extends Eo{constructor({signature:t}){super(\"Invalid struct signature.\",{details:t,metaMessages:[\"No properties exist.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidStructSignatureError\"})}}});var KT,zde=x(()=>{u();fx();KT=class extends Eo{constructor({type:t}){super(\"Circular reference detected.\",{metaMessages:[`Struct \"${t}\" is a circular reference.`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"CircularReferenceError\"})}}});var ZT,Lde=x(()=>{u();fx();ZT=class extends Eo{constructor({current:t,depth:r}){super(\"Unbalanced parentheses.\",{metaMessages:[`\"${t.trim()}\" has too many ${r>0?\"opening\":\"closing\"} parentheses.`],details:`Depth \"${r}\"`}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"InvalidParenthesisError\"})}}});function Hde(e,t,r){let n=\"\";if(r)for(let o of Object.entries(r)){if(!o)continue;let i=\"\";for(let c of o[1])i+=`[${c.type}${c.name?`:${c.name}`:\"\"}]`;n+=`(${o[0]}{${i}})`}return t?`${t}:${e}${n}`:`${e}${n}`}var WT,jde=x(()=>{u();WT=new Map([[\"address\",{type:\"address\"}],[\"bool\",{type:\"bool\"}],[\"bytes\",{type:\"bytes\"}],[\"bytes32\",{type:\"bytes32\"}],[\"int\",{type:\"int256\"}],[\"int256\",{type:\"int256\"}],[\"string\",{type:\"string\"}],[\"uint\",{type:\"uint256\"}],[\"uint8\",{type:\"uint8\"}],[\"uint16\",{type:\"uint16\"}],[\"uint24\",{type:\"uint24\"}],[\"uint32\",{type:\"uint32\"}],[\"uint64\",{type:\"uint64\"}],[\"uint96\",{type:\"uint96\"}],[\"uint112\",{type:\"uint112\"}],[\"uint160\",{type:\"uint160\"}],[\"uint192\",{type:\"uint192\"}],[\"uint256\",{type:\"uint256\"}],[\"address owner\",{type:\"address\",name:\"owner\"}],[\"address to\",{type:\"address\",name:\"to\"}],[\"bool approved\",{type:\"bool\",name:\"approved\"}],[\"bytes _data\",{type:\"bytes\",name:\"_data\"}],[\"bytes data\",{type:\"bytes\",name:\"data\"}],[\"bytes signature\",{type:\"bytes\",name:\"signature\"}],[\"bytes32 hash\",{type:\"bytes32\",name:\"hash\"}],[\"bytes32 r\",{type:\"bytes32\",name:\"r\"}],[\"bytes32 root\",{type:\"bytes32\",name:\"root\"}],[\"bytes32 s\",{type:\"bytes32\",name:\"s\"}],[\"string name\",{type:\"string\",name:\"name\"}],[\"string symbol\",{type:\"string\",name:\"symbol\"}],[\"string tokenURI\",{type:\"string\",name:\"tokenURI\"}],[\"uint tokenId\",{type:\"uint256\",name:\"tokenId\"}],[\"uint8 v\",{type:\"uint8\",name:\"v\"}],[\"uint256 balance\",{type:\"uint256\",name:\"balance\"}],[\"uint256 tokenId\",{type:\"uint256\",name:\"tokenId\"}],[\"uint256 value\",{type:\"uint256\",name:\"value\"}],[\"event:address indexed from\",{type:\"address\",name:\"from\",indexed:!0}],[\"event:address indexed to\",{type:\"address\",name:\"to\",indexed:!0}],[\"event:uint indexed tokenId\",{type:\"uint256\",name:\"tokenId\",indexed:!0}],[\"event:uint256 indexed tokenId\",{type:\"uint256\",name:\"tokenId\",indexed:!0}]])});function sS(e,t={}){if(Cde(e))return wft(e,t);if(Sde(e))return Eft(e,t);if(wde(e))return _ft(e,t);if(Ode(e))return Sft(e,t);if(Dde(e))return Aft(e);if(Ude(e))return{type:\"receive\",stateMutability:\"payable\"};throw new qT({signature:e})}function wft(e,t={}){let r=Tde(e);if(!r)throw new od({signature:e,type:\"function\"});let n=as(r.parameters),o=[],i=n.length;for(let l=0;l<i;l++)o.push(Du(n[l],{modifiers:BT,structs:t,type:\"function\"}));let c=[];if(r.returns){let l=as(r.returns),f=l.length;for(let p=0;p<f;p++)c.push(Du(l[p],{modifiers:BT,structs:t,type:\"function\"}))}return{name:r.name,type:\"function\",stateMutability:r.stateMutability??\"nonpayable\",inputs:o,outputs:c}}function Eft(e,t={}){let r=Ade(e);if(!r)throw new od({signature:e,type:\"event\"});let n=as(r.parameters),o=[],i=n.length;for(let c=0;c<i;c++)o.push(Du(n[c],{modifiers:$de,structs:t,type:\"event\"}));return{name:r.name,type:\"event\",inputs:o}}function _ft(e,t={}){let r=Ede(e);if(!r)throw new od({signature:e,type:\"error\"});let n=as(r.parameters),o=[],i=n.length;for(let c=0;c<i;c++)o.push(Du(n[c],{structs:t,type:\"error\"}));return{name:r.name,type:\"error\",inputs:o}}function Sft(e,t={}){let r=Bde(e);if(!r)throw new od({signature:e,type:\"constructor\"});let n=as(r.parameters),o=[],i=n.length;for(let c=0;c<i;c++)o.push(Du(n[c],{structs:t,type:\"constructor\"}));return{type:\"constructor\",stateMutability:r.stateMutability??\"nonpayable\",inputs:o}}function Aft(e){let t=Nde(e);if(!t)throw new od({signature:e,type:\"fallback\"});return{type:\"fallback\",stateMutability:t.stateMutability??\"nonpayable\"}}function Du(e,t){let r=Hde(e,t?.type,t?.structs);if(WT.has(r))return WT.get(r);let n=RT.test(e),o=Ys(n?Cft:kft,e);if(!o)throw new zT({param:e});if(o.name&&Pft(o.name))throw new LT({param:e,name:o.name});let i=o.name?{name:o.name}:{},c=o.modifier===\"indexed\"?{indexed:!0}:{},l=t?.structs??{},f,p={};if(n){f=\"tuple\";let y=as(o.type),w=[],E=y.length;for(let A=0;A<E;A++)w.push(Du(y[A],{structs:l}));p={components:w}}else if(o.type in l)f=\"tuple\",p={components:l[o.type]};else if(Tft.test(o.type))f=`${o.type}256`;else if(o.type===\"address payable\")f=\"address\";else if(f=o.type,t?.type!==\"struct\"&&!DH(f))throw new NT({type:f});if(o.modifier){if(!t?.modifiers?.has?.(o.modifier))throw new HT({param:e,type:t?.type,modifier:o.modifier});if(BT.has(o.modifier)&&!Rft(f,!!o.array))throw new jT({param:e,type:t?.type,modifier:o.modifier})}let h={type:`${f}${o.array??\"\"}`,...i,...c,...p};return WT.set(r,h),h}function as(e,t=[],r=\"\",n=0){let o=e.trim().length;for(let i=0;i<o;i++){let c=e[i],l=e.slice(i+1);switch(c){case\",\":return n===0?as(l,[...t,r.trim()]):as(l,t,`${r}${c}`,n);case\"(\":return as(l,t,`${r}${c}`,n+1);case\")\":return as(l,t,`${r}${c}`,n-1);default:return as(l,t,`${r}${c}`,n)}}if(r===\"\")return t;if(n!==0)throw new ZT({current:r,depth:n});return t.push(r.trim()),t}function DH(e){return e===\"address\"||e===\"bool\"||e===\"function\"||e===\"string\"||PH.test(e)||RH.test(e)}function Pft(e){return e===\"address\"||e===\"bool\"||e===\"function\"||e===\"string\"||e===\"tuple\"||PH.test(e)||RH.test(e)||Ift.test(e)}function Rft(e,t){return t||e===\"bytes\"||e===\"string\"||e===\"tuple\"}var kft,Cft,Tft,Ift,mx=x(()=>{u();aS();UT();VT();MH();Lde();jde();px();kft=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*(?:\\\\spayable)?)(?<array>(?:\\\\[\\\\d*?\\\\])+?)?(?:\\\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,Cft=/^\\\\((?<type>.+?)\\\\)(?<array>(?:\\\\[\\\\d*?\\\\])+?)?(?:\\\\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\\\\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,Tft=/^u?int$/;Ift=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/});function hx(e){let t={},r=e.length;for(let c=0;c<r;c++){let l=e[c];if(!Hm(l))continue;let f=Pde(l);if(!f)throw new od({signature:l,type:\"struct\"});let p=f.properties.split(\";\"),h=[],y=p.length;for(let w=0;w<y;w++){let A=p[w].trim();if(!A)continue;let C=Du(A,{type:\"struct\"});h.push(C)}if(!h.length)throw new GT({signature:l});t[f.name]=h}let n={},o=Object.entries(t),i=o.length;for(let c=0;c<i;c++){let[l,f]=o[c];n[l]=Fde(f,t)}return n}function Fde(e=[],t={},r=new Set){let n=[],o=e.length;for(let i=0;i<o;i++){let c=e[i];if(RT.test(c.type))n.push(c);else{let f=Ys(Oft,c.type);if(!f?.type)throw new FT({abiParameter:c});let{array:p,type:h}=f;if(h in t){if(r.has(h))throw new KT({type:h});n.push({...c,type:`tuple${p??\"\"}`,components:Fde(t[h],t,new Set([...r,h]))})}else if(DH(h))n.push(c);else throw new DT({type:h})}}return n}var Oft,JT=x(()=>{u();aS();UT();VT();MH();zde();px();mx();Oft=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\\\\[\\\\d*?\\\\])+?)?$/});function yx(e){let t=hx(e),r=[],n=e.length;for(let o=0;o<n;o++){let i=e[o];Hm(i)||r.push(sS(i,t))}return r}var Vde=x(()=>{u();px();JT();mx()});function QT(e){let t;if(typeof e==\"string\")t=sS(e);else{let r=hx(e),n=e.length;for(let o=0;o<n;o++){let i=e[o];if(!Hm(i)){t=sS(i,r);break}}}if(!t)throw new MT({signature:e});return t}var qde=x(()=>{u();UT();px();JT();mx()});function YT(e){let t=[];if(typeof e==\"string\"){let r=as(e),n=r.length;for(let o=0;o<n;o++)t.push(Du(r[o],{modifiers:BH}))}else{let r=hx(e),n=e.length;for(let o=0;o<n;o++){let i=e[o];if(Hm(i))continue;let c=as(i),l=c.length;for(let f=0;f<l;f++)t.push(Du(c[f],{modifiers:BH,structs:r}))}}if(t.length===0)throw new $T({params:e});return t}var Gde=x(()=>{u();VT();px();JT();mx();mx()});var bx=x(()=>{u();xde();OH();Vde();qde();Gde()});function Ce(e,t,r){let n=e[t.name];if(typeof n==\"function\")return n;let o=e[r];return typeof o==\"function\"?o:i=>t(e,i)}var Yt=x(()=>{u()});function Wo(e,{includeName:t=!1}={}){if(e.type!==\"function\"&&e.type!==\"event\"&&e.type!==\"error\")throw new XT(e.type);return`${e.name}(${cS(e.inputs,{includeName:t})})`}function cS(e,{includeName:t=!1}={}){return e?e.map(r=>Bft(r,{includeName:t})).join(t?\", \":\",\"):\"\"}function Bft(e,{includeName:t}){return e.type.startsWith(\"tuple\")?`(${cS(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:\"\")}var Hf=x(()=>{u();lo()});function Vr(e,{strict:t=!0}={}){return!e||typeof e!=\"string\"?!1:t?/^0x[0-9a-fA-F]*$/.test(e):e.startsWith(\"0x\")}var Dc=x(()=>{u()});function qt(e){return Vr(e,{strict:!1})?Math.ceil((e.length-2)/2):e.length}var xa=x(()=>{u();Dc()});var NH,Zde=x(()=>{u();NH=\"2.48.11\"});function Wde(e,t){return t?.(e)?e:e&&typeof e==\"object\"&&\"cause\"in e&&e.cause!==void 0?Wde(e.cause,t):t?null:e}var UH,oe,ht=x(()=>{u();Zde();UH={getDocsUrl:({docsBaseUrl:e,docsPath:t=\"\",docsSlug:r})=>t?`${e??\"https://viem.sh\"}${t}${r?`#${r}`:\"\"}`:void 0,version:`viem@${NH}`},oe=class e extends Error{constructor(t,r={}){let n=r.cause instanceof e?r.cause.details:r.cause?.message?r.cause.message:r.details,o=r.cause instanceof e&&r.cause.docsPath||r.docsPath,i=UH.getDocsUrl?.({...r,docsPath:o}),c=[t||\"An error occurred.\",\"\",...r.metaMessages?[...r.metaMessages,\"\"]:[],...i?[`Docs: ${i}`]:[],...n?[`Details: ${n}`]:[],...UH.version?[`Version: ${UH.version}`]:[]].join(`\\n`);super(c,r.cause?{cause:r.cause}:void 0),Object.defineProperty(this,\"details\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"docsPath\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"metaMessages\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"shortMessage\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"version\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"BaseError\"}),this.details=n,this.docsPath=o,this.metaMessages=r.metaMessages,this.name=r.name??this.name,this.shortMessage=t,this.version=NH}walk(t){return Wde(this,t)}}});var e4,uS,gx,Nc,t4,r4,xx,n4,lS,vx,o4,i4,dS,Nu,wx,a4,s4,Ex,jf,jm,c4,u4,_x,XT,l4,lo=x(()=>{u();Hf();xa();ht();e4=class extends oe{constructor({docsPath:t}){super([\"A constructor was not found on the ABI.\",\"Make sure you are using the correct ABI and that the constructor exists on it.\"].join(`\\n`),{docsPath:t,name:\"AbiConstructorNotFoundError\"})}},uS=class extends oe{constructor({docsPath:t}){super([\"Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.\",\"Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.\"].join(`\\n`),{docsPath:t,name:\"AbiConstructorParamsNotFoundError\"})}},gx=class extends oe{constructor({data:t,params:r,size:n}){super([`Data size of ${n} bytes is too small for given parameters.`].join(`\\n`),{metaMessages:[`Params: (${cS(r,{includeName:!0})})`,`Data:   ${t} (${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=t,this.params=r,this.size=n}},Nc=class extends oe{constructor({cause:t}={}){super(\\'Cannot decode zero data (\"0x\") with ABI parameters.\\',{name:\"AbiDecodingZeroDataError\",cause:t})}},t4=class extends oe{constructor({expectedLength:t,givenLength:r,type:n}){super([`ABI encoding array length mismatch for type ${n}.`,`Expected length: ${t}`,`Given length: ${r}`].join(`\\n`),{name:\"AbiEncodingArrayLengthMismatchError\"})}},r4=class extends oe{constructor({expectedSize:t,value:r}){super(`Size of bytes \"${r}\" (bytes${qt(r)}) does not match expected size (bytes${t}).`,{name:\"AbiEncodingBytesSizeMismatchError\"})}},xx=class extends oe{constructor({expectedLength:t,givenLength:r}){super([\"ABI encoding params/values length mismatch.\",`Expected length (params): ${t}`,`Given length (values): ${r}`].join(`\\n`),{name:\"AbiEncodingLengthMismatchError\"})}},n4=class extends oe{constructor(t,{docsPath:r}){super([`Arguments (\\\\`args\\\\`) were provided to \"${t}\", but \"${t}\" on the ABI does not contain any parameters (\\\\`inputs\\\\`).`,\"Cannot encode error result without knowing what the parameter types are.\",\"Make sure you are using the correct ABI and that the inputs exist on it.\"].join(`\\n`),{docsPath:r,name:\"AbiErrorInputsNotFoundError\"})}},lS=class extends oe{constructor(t,{docsPath:r}={}){super([`Error ${t?`\"${t}\" `:\"\"}not found on ABI.`,\"Make sure you are using the correct ABI and that the error exists on it.\"].join(`\\n`),{docsPath:r,name:\"AbiErrorNotFoundError\"})}},vx=class extends oe{constructor(t,{docsPath:r,cause:n}){super([`Encoded error signature \"${t}\" not found on ABI.`,\"Make sure you are using the correct ABI and that the error exists on it.\",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\\n`),{docsPath:r,name:\"AbiErrorSignatureNotFoundError\",cause:n}),Object.defineProperty(this,\"signature\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=t}},o4=class extends oe{constructor({docsPath:t}){super(\"Cannot extract event signature from empty topics.\",{docsPath:t,name:\"AbiEventSignatureEmptyTopicsError\"})}},i4=class extends oe{constructor(t,{docsPath:r}){super([`Encoded event signature \"${t}\" not found on ABI.`,\"Make sure you are using the correct ABI and that the event exists on it.\",`You can look up the signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\\n`),{docsPath:r,name:\"AbiEventSignatureNotFoundError\"})}},dS=class extends oe{constructor(t,{docsPath:r}={}){super([`Event ${t?`\"${t}\" `:\"\"}not found on ABI.`,\"Make sure you are using the correct ABI and that the event exists on it.\"].join(`\\n`),{docsPath:r,name:\"AbiEventNotFoundError\"})}},Nu=class extends oe{constructor(t,{docsPath:r}={}){super([`Function ${t?`\"${t}\" `:\"\"}not found on ABI.`,\"Make sure you are using the correct ABI and that the function exists on it.\"].join(`\\n`),{docsPath:r,name:\"AbiFunctionNotFoundError\"})}},wx=class extends oe{constructor(t,{docsPath:r}){super([`Function \"${t}\" does not contain any \\\\`outputs\\\\` on ABI.`,\"Cannot decode function result without knowing what the parameter types are.\",\"Make sure you are using the correct ABI and that the function exists on it.\"].join(`\\n`),{docsPath:r,name:\"AbiFunctionOutputsNotFoundError\"})}},a4=class extends oe{constructor(t,{docsPath:r}){super([`Encoded function signature \"${t}\" not found on ABI.`,\"Make sure you are using the correct ABI and that the function exists on it.\",`You can look up the signature here: https://4byte.sourcify.dev/?q=${t}.`].join(`\\n`),{docsPath:r,name:\"AbiFunctionSignatureNotFoundError\"})}},s4=class extends oe{constructor(t,r){super(\"Found ambiguous types in overloaded ABI items.\",{metaMessages:[`\\\\`${t.type}\\\\` in \\\\`${Wo(t.abiItem)}\\\\`, and`,`\\\\`${r.type}\\\\` in \\\\`${Wo(r.abiItem)}\\\\``,\"\",\"These types encode differently and cannot be distinguished at runtime.\",\"Remove one of the ambiguous items in the ABI.\"],name:\"AbiItemAmbiguityError\"})}},Ex=class extends oe{constructor({expectedSize:t,givenSize:r}){super(`Expected bytes${t}, got bytes${r}.`,{name:\"BytesSizeMismatchError\"})}},jf=class extends oe{constructor({abiItem:t,data:r,params:n,size:o}){super([`Data size of ${o} bytes is too small for non-indexed event parameters.`].join(`\\n`),{metaMessages:[`Params: (${cS(n,{includeName:!0})})`,`Data:   ${r} (${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=t,this.data=r,this.params=n,this.size=o}},jm=class extends oe{constructor({abiItem:t,param:r}){super([`Expected a topic for indexed event parameter${r.name?` \"${r.name}\"`:\"\"} on event \"${Wo(t,{includeName:!0})}\".`].join(`\\n`),{name:\"DecodeLogTopicsMismatch\"}),Object.defineProperty(this,\"abiItem\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=t}},c4=class extends oe{constructor(t,{docsPath:r}){super([`Type \"${t}\" is not a valid encoding type.`,\"Please provide a valid ABI type.\"].join(`\\n`),{docsPath:r,name:\"InvalidAbiEncodingType\"})}},u4=class extends oe{constructor(t,{docsPath:r}){super([`Type \"${t}\" is not a valid decoding type.`,\"Please provide a valid ABI type.\"].join(`\\n`),{docsPath:r,name:\"InvalidAbiDecodingType\"})}},_x=class extends oe{constructor(t){super([`Value \"${t}\" is not a valid array.`].join(`\\n`),{name:\"InvalidArrayError\"})}},XT=class extends oe{constructor(t){super([`\"${t}\" is not a valid definition type.`,\\'Valid types: \"function\", \"event\", \"error\"\\'].join(`\\n`),{name:\"InvalidDefinitionTypeError\"})}},l4=class extends oe{constructor(t){super(`Type \"${t}\" is not supported for packed encoding.`,{name:\"UnsupportedPackedAbiType\"})}}});var d4,Jde=x(()=>{u();ht();d4=class extends oe{constructor(t){super(`Filter type \"${t}\" is not supported.`,{name:\"FilterTypeNotSupportedError\"})}}});var fS,pS,mS,f4=x(()=>{u();ht();fS=class extends oe{constructor({offset:t,position:r,size:n}){super(`Slice ${r===\"start\"?\"starting\":\"ending\"} at offset \"${t}\" is out-of-bounds (size: ${n}).`,{name:\"SliceOffsetOutOfBoundsError\"})}},pS=class extends oe{constructor({size:t,targetSize:r,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (${t}) exceeds padding size (${r}).`,{name:\"SizeExceedsPaddingSizeError\"})}},mS=class extends oe{constructor({size:t,targetSize:r,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} is expected to be ${r} ${n} long, but is ${t} ${n} long.`,{name:\"InvalidBytesLengthError\"})}}});function qr(e,{dir:t,size:r=32}={}){return typeof e==\"string\"?Uu(e,{dir:t,size:r}):$H(e,{dir:t,size:r})}function Uu(e,{dir:t,size:r=32}={}){if(r===null)return e;let n=e.replace(\"0x\",\"\");if(n.length>r*2)throw new pS({size:Math.ceil(n.length/2),targetSize:r,type:\"hex\"});return`0x${n[t===\"right\"?\"padEnd\":\"padStart\"](r*2,\"0\")}`}function $H(e,{dir:t,size:r=32}={}){if(r===null)return e;if(e.length>r)throw new pS({size:e.length,targetSize:r,type:\"bytes\"});let n=new Uint8Array(r);for(let o=0;o<r;o++){let i=t===\"right\";n[i?o:r-o-1]=e[i?o:e.length-o-1]}return n}var Ff=x(()=>{u();f4()});var Fm,p4,m4,h4,hS=x(()=>{u();ht();Fm=class extends oe{constructor({max:t,min:r,signed:n,size:o,value:i}){super(`Number \"${i}\" is not in safe ${o?`${o*8}-bit ${n?\"signed\":\"unsigned\"} `:\"\"}integer range ${t?`(${r} to ${t})`:`(above ${r})`}`,{name:\"IntegerOutOfRangeError\"})}},p4=class extends oe{constructor(t){super(`Bytes value \"${t}\" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`,{name:\"InvalidBytesBooleanError\"})}},m4=class extends oe{constructor(t){super(`Hex value \"${t}\" is not a valid boolean. The hex value must be \"0x0\" (false) or \"0x1\" (true).`,{name:\"InvalidHexBooleanError\"})}},h4=class extends oe{constructor({givenSize:t,maxSize:r}){super(`Size cannot exceed ${r} bytes. Given size: ${t} bytes.`,{name:\"SizeOverflowError\"})}}});function Bn(e,{dir:t=\"left\"}={}){let r=typeof e==\"string\"?e.replace(\"0x\",\"\"):e,n=0;for(let o=0;o<r.length-1&&r[t===\"left\"?o:r.length-o-1].toString()===\"0\";o++)n++;return r=t===\"left\"?r.slice(n):r.slice(0,r.length-n),typeof e==\"string\"?(r.length===1&&t===\"right\"&&(r=`${r}0`),`0x${r.length%2===1?`0${r}`:r}`):r}var Vf=x(()=>{u()});function va(e,{size:t}){if(qt(e)>t)throw new h4({givenSize:qt(e),maxSize:t})}function it(e,t={}){let{signed:r}=t;t.size&&va(e,{size:t.size});let n=BigInt(e);if(!r)return n;let o=(e.length-2)/2,i=(1n<<BigInt(o)*8n-1n)-1n;return n<=i?n:n-BigInt(`0x${\"f\".padStart(o*2,\"f\")}`)-1n}function y4(e,t={}){let r=e;if(t.size&&(va(r,{size:t.size}),r=Bn(r)),Bn(r)===\"0x00\")return!1;if(Bn(r)===\"0x01\")return!0;throw new m4(r)}function Gr(e,t={}){let r=it(e,t),n=Number(r);if(!Number.isSafeInteger(n))throw new Fm({max:`${Number.MAX_SAFE_INTEGER}`,min:`${Number.MIN_SAFE_INTEGER}`,signed:t.signed,size:t.size,value:`${r}n`});return n}function yS(e,t={}){let r=Kr(e);return t.size&&(va(r,{size:t.size}),r=Bn(r,{dir:\"right\"})),new TextDecoder().decode(r)}var Kn=x(()=>{u();hS();xa();Vf();fo()});function rt(e,t={}){return typeof e==\"number\"||typeof e==\"bigint\"?le(e,t):typeof e==\"string\"?ss(e,t):typeof e==\"boolean\"?Ry(e,t):br(e,t)}function Ry(e,t={}){let r=`0x${Number(e)}`;return typeof t.size==\"number\"?(va(r,{size:t.size}),qr(r,{size:t.size})):r}function br(e,t={}){let r=\"\";for(let o=0;o<e.length;o++)r+=Mft[e[o]];let n=`0x${r}`;return typeof t.size==\"number\"?(va(n,{size:t.size}),qr(n,{dir:\"right\",size:t.size})):n}function le(e,t={}){let{signed:r,size:n}=t,o=BigInt(e),i;n?r?i=(1n<<BigInt(n)*8n-1n)-1n:i=2n**(BigInt(n)*8n)-1n:typeof e==\"number\"&&(i=BigInt(Number.MAX_SAFE_INTEGER));let c=typeof i==\"bigint\"&&r?-i-1n:0;if(i&&o>i||o<c){let f=typeof e==\"bigint\"?\"n\":\"\";throw new Fm({max:i?`${i}${f}`:void 0,min:`${c}${f}`,signed:r,size:n,value:`${e}${f}`})}let l=`0x${(r&&o<0?(1n<<BigInt(n*8))+BigInt(o):o).toString(16)}`;return n?qr(l,{size:n}):l}function ss(e,t={}){let r=Dft.encode(e);return br(r,t)}var Mft,Dft,ot=x(()=>{u();hS();Ff();Kn();Mft=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\"));Dft=new TextEncoder});function Si(e,t={}){return typeof e==\"number\"||typeof e==\"bigint\"?Xde(e,t):typeof e==\"boolean\"?Yde(e,t):Vr(e)?Kr(e,t):wa(e,t)}function Yde(e,t={}){let r=new Uint8Array(1);return r[0]=Number(e),typeof t.size==\"number\"?(va(r,{size:t.size}),qr(r,{size:t.size})):r}function Qde(e){if(e>=qf.zero&&e<=qf.nine)return e-qf.zero;if(e>=qf.A&&e<=qf.F)return e-(qf.A-10);if(e>=qf.a&&e<=qf.f)return e-(qf.a-10)}function Kr(e,t={}){let r=e;t.size&&(va(r,{size:t.size}),r=qr(r,{dir:\"right\",size:t.size}));let n=r.slice(2);n.length%2&&(n=`0${n}`);let o=n.length/2,i=new Uint8Array(o);for(let c=0,l=0;c<o;c++){let f=Qde(n.charCodeAt(l++)),p=Qde(n.charCodeAt(l++));if(f===void 0||p===void 0)throw new oe(`Invalid byte sequence (\"${n[l-2]}${n[l-1]}\" in \"${n}\").`);i[c]=f*16+p}return i}function Xde(e,t){let r=le(e,t);return Kr(r)}function wa(e,t={}){let r=Nft.encode(e);return typeof t.size==\"number\"?(va(r,{size:t.size}),qr(r,{dir:\"right\",size:t.size})):r}var Nft,qf,fo=x(()=>{u();ht();Dc();Ff();Kn();ot();Nft=new TextEncoder;qf={zero:48,nine:57,A:65,F:70,a:97,f:102}});function Uft(e,t=!1){return t?{h:Number(e&b4),l:Number(e>>efe&b4)}:{h:Number(e>>efe&b4)|0,l:Number(e&b4)|0}}function g4(e,t=!1){let r=e.length,n=new Uint32Array(r),o=new Uint32Array(r);for(let i=0;i<r;i++){let{h:c,l}=Uft(e[i],t);[n[i],o[i]]=[c,l]}return[n,o]}function id(e,t,r,n){let o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:o|0}}var b4,efe,zH,LH,Oy,By,bS,gS,tfe,rfe,nfe,ofe,ife,afe,sfe,cfe,ufe,lfe,HH=x(()=>{u();b4=BigInt(4294967295),efe=BigInt(32);zH=(e,t,r)=>e>>>r,LH=(e,t,r)=>e<<32-r|t>>>r,Oy=(e,t,r)=>e>>>r|t<<32-r,By=(e,t,r)=>e<<32-r|t>>>r,bS=(e,t,r)=>e<<64-r|t>>>r-32,gS=(e,t,r)=>e>>>r-32|t<<64-r,tfe=(e,t,r)=>e<<r|t>>>32-r,rfe=(e,t,r)=>t<<r|e>>>32-r,nfe=(e,t,r)=>t<<r-32|e>>>64-r,ofe=(e,t,r)=>e<<r-32|t>>>64-r;ife=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),afe=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,sfe=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),cfe=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0,ufe=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0),lfe=(e,t,r,n,o,i)=>t+r+n+o+i+(e/2**32|0)|0});var My,dfe=x(()=>{u();My=typeof globalThis==\"object\"&&\"crypto\"in globalThis?globalThis.crypto:void 0});function qm(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===\"Uint8Array\"}function $u(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(\"positive integer expected, got \"+e)}function Ea(e,...t){if(!qm(e))throw new Error(\"Uint8Array expected\");if(t.length>0&&!t.includes(e.length))throw new Error(\"Uint8Array expected of length \"+t+\", got length=\"+e.length)}function x4(e){if(typeof e!=\"function\"||typeof e.create!=\"function\")throw new Error(\"Hash should be wrapped by utils.createHasher\");$u(e.outputLen),$u(e.blockLen)}function Kf(e,t=!0){if(e.destroyed)throw new Error(\"Hash instance has been destroyed\");if(t&&e.finished)throw new Error(\"Hash#digest() has already been called\")}function v4(e,t){Ea(e);let r=t.outputLen;if(e.length<r)throw new Error(\"digestInto() expects output buffer of length at least \"+r)}function pfe(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function Uc(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function w4(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function zu(e,t){return e<<32-t|e>>>t}function Lft(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function Hft(e){for(let t=0;t<e.length;t++)e[t]=Lft(e[t]);return e}function ad(e){if(Ea(e),mfe)return e.toHex();let t=\"\";for(let r=0;r<e.length;r++)t+=jft[e[r]];return t}function ffe(e){if(e>=Gf._0&&e<=Gf._9)return e-Gf._0;if(e>=Gf.A&&e<=Gf.F)return e-(Gf.A-10);if(e>=Gf.a&&e<=Gf.f)return e-(Gf.a-10)}function Gm(e){if(typeof e!=\"string\")throw new Error(\"hex string expected, got \"+typeof e);if(mfe)return Uint8Array.fromHex(e);let t=e.length,r=t/2;if(t%2)throw new Error(\"hex string expected, got unpadded hex of length \"+t);let n=new Uint8Array(r);for(let o=0,i=0;o<r;o++,i+=2){let c=ffe(e.charCodeAt(i)),l=ffe(e.charCodeAt(i+1));if(c===void 0||l===void 0){let f=e[i]+e[i+1];throw new Error(\\'hex string expected, got non-hex character \"\\'+f+\\'\" at index \\'+i)}n[o]=c*16+l}return n}function FH(e){if(typeof e!=\"string\")throw new Error(\"string expected\");return new Uint8Array(new TextEncoder().encode(e))}function Dy(e){return typeof e==\"string\"&&(e=FH(e)),Ea(e),e}function cs(...e){let t=0;for(let n=0;n<e.length;n++){let o=e[n];Ea(o),t+=o.length}let r=new Uint8Array(t);for(let n=0,o=0;n<e.length;n++){let i=e[n];r.set(i,o),o+=i.length}return r}function Sx(e){let t=n=>e().update(Dy(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function Zf(e=32){if(My&&typeof My.getRandomValues==\"function\")return My.getRandomValues(new Uint8Array(e));if(My&&typeof My.randomBytes==\"function\")return Uint8Array.from(My.randomBytes(e));throw new Error(\"crypto.getRandomValues must be defined\")}var zft,jH,mfe,jft,Gf,Vm,Lu=x(()=>{u();dfe();zft=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;jH=zft?e=>e:Hft,mfe=typeof Uint8Array.from([]).toHex==\"function\"&&typeof Uint8Array.fromHex==\"function\",jft=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\"));Gf={_0:48,_9:57,A:65,F:70,a:97,f:102};Vm=class{}});function Jft(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let c=0;c<10;c++)r[c]=e[c]^e[c+10]^e[c+20]^e[c+30]^e[c+40];for(let c=0;c<10;c+=2){let l=(c+8)%10,f=(c+2)%10,p=r[f],h=r[f+1],y=hfe(p,h,1)^r[l],w=yfe(p,h,1)^r[l+1];for(let E=0;E<50;E+=10)e[c+E]^=y,e[c+E+1]^=w}let o=e[2],i=e[3];for(let c=0;c<24;c++){let l=gfe[c],f=hfe(o,i,l),p=yfe(o,i,l),h=bfe[c];o=e[h],i=e[h+1],e[h]=f,e[h+1]=p}for(let c=0;c<50;c+=10){for(let l=0;l<10;l++)r[l]=e[c+l];for(let l=0;l<10;l++)e[c+l]^=~r[(l+2)%10]&r[(l+4)%10]}e[0]^=Zft[n],e[1]^=Wft[n]}Uc(r)}var Fft,xS,Vft,qft,Gft,Kft,bfe,gfe,xfe,vfe,Zft,Wft,hfe,yfe,VH,Qft,Ax,E4=x(()=>{u();HH();Lu();Fft=BigInt(0),xS=BigInt(1),Vft=BigInt(2),qft=BigInt(7),Gft=BigInt(256),Kft=BigInt(113),bfe=[],gfe=[],xfe=[];for(let e=0,t=xS,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],bfe.push(2*(5*n+r)),gfe.push((e+1)*(e+2)/2%64);let o=Fft;for(let i=0;i<7;i++)t=(t<<xS^(t>>qft)*Kft)%Gft,t&Vft&&(o^=xS<<(xS<<BigInt(i))-xS);xfe.push(o)}vfe=g4(xfe,!0),Zft=vfe[0],Wft=vfe[1],hfe=(e,t,r)=>r>32?nfe(e,t,r):tfe(e,t,r),yfe=(e,t,r)=>r>32?ofe(e,t,r):rfe(e,t,r);VH=class e extends Vm{constructor(t,r,n,o=!1,i=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=o,this.rounds=i,$u(n),!(0<t&&t<200))throw new Error(\"only keccak-f1600 function is supported\");this.state=new Uint8Array(200),this.state32=pfe(this.state)}clone(){return this._cloneInto()}keccak(){jH(this.state32),Jft(this.state32,this.rounds),jH(this.state32),this.posOut=0,this.pos=0}update(t){Kf(this),t=Dy(t),Ea(t);let{blockLen:r,state:n}=this,o=t.length;for(let i=0;i<o;){let c=Math.min(r-this.pos,o-i);for(let l=0;l<c;l++)n[this.pos++]^=t[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:r,pos:n,blockLen:o}=this;t[n]^=r,(r&128)!==0&&n===o-1&&this.keccak(),t[o-1]^=128,this.keccak()}writeInto(t){Kf(this,!1),Ea(t),this.finish();let r=this.state,{blockLen:n}=this;for(let o=0,i=t.length;o<i;){this.posOut>=n&&this.keccak();let c=Math.min(n-this.posOut,i-o);t.set(r.subarray(this.posOut,this.posOut+c),o),this.posOut+=c,o+=c}return t}xofInto(t){if(!this.enableXOF)throw new Error(\"XOF is not possible for this instance\");return this.writeInto(t)}xof(t){return $u(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(v4(t,this),this.finished)throw new Error(\"digest() was already called\");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,Uc(this.state)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:o,rounds:i,enableXOF:c}=this;return t||(t=new e(r,n,o,c,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=n,t.outputLen=o,t.enableXOF=c,t.destroyed=this.destroyed,t}},Qft=(e,t,r)=>Sx(()=>new VH(t,e,r)),Ax=Qft(1,136,256/8)});function Gt(e,t){let r=t||\"hex\",n=Ax(Vr(e,{strict:!1})?Si(e):e);return r===\"bytes\"?n:rt(n)}var us=x(()=>{u();E4();Dc();fo();ot()});function wfe(e){return Yft(e)}var Yft,Efe=x(()=>{u();fo();us();Yft=e=>Gt(Si(e))});function _fe(e){let t=!0,r=\"\",n=0,o=\"\",i=!1;for(let c=0;c<e.length;c++){let l=e[c];if([\"(\",\")\",\",\"].includes(l)&&(t=!0),l===\"(\"&&n++,l===\")\"&&n--,!!t){if(n===0){if(l===\" \"&&[\"event\",\"function\",\"\"].includes(o))o=\"\";else if(o+=l,l===\")\"){i=!0;break}continue}if(l===\" \"){e[c-1]!==\",\"&&r!==\",\"&&r!==\",(\"&&(r=\"\",t=!1);continue}o+=l,r+=l}}if(!i)throw new oe(\"Unable to normalize signature.\");return o}var Sfe=x(()=>{u();ht()});var Afe,kfe=x(()=>{u();bx();Sfe();Afe=e=>{let t=typeof e==\"string\"?e:Py(e);return _fe(t)}});function _4(e){return wfe(Afe(e))}var qH=x(()=>{u();Efe();kfe()});var Km,vS=x(()=>{u();qH();Km=_4});var vr,Xs=x(()=>{u();ht();vr=class extends oe{constructor({address:t}){super(`Address \"${t}\" is invalid.`,{metaMessages:[\"- Address must be a hex value of 20 bytes (40 hex characters).\",\"- Address must match its checksum counterpart.\"],name:\"InvalidAddressError\"})}}});var Gi,Zm=x(()=>{u();Gi=class extends Map{constructor(t){super(),Object.defineProperty(this,\"maxSize\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){let r=super.get(t);return super.has(t)&&(super.delete(t),super.set(t,r)),r}set(t,r){if(super.has(t)&&super.delete(t),super.set(t,r),this.maxSize&&this.size>this.maxSize){let n=super.keys().next().value;n!==void 0&&super.delete(n)}return this}}});function sd(e,t){if(GH.has(`${e}.${t}`))return GH.get(`${e}.${t}`);let r=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),n=Gt(wa(r),\"bytes\"),o=(t?r.substring(`${t}0x`.length):r).split(\"\");for(let c=0;c<40;c+=2)n[c>>1]>>4>=8&&o[c]&&(o[c]=o[c].toUpperCase()),(n[c>>1]&15)>=8&&o[c+1]&&(o[c+1]=o[c+1].toUpperCase());let i=`0x${o.join(\"\")}`;return GH.set(`${e}.${t}`,i),i}function At(e,t){if(!Et(e,{strict:!1}))throw new vr({address:e});return sd(e,t)}var GH,Hu=x(()=>{u();Xs();fo();us();Zm();Ki();GH=new Gi(8192)});function Et(e,t){let{strict:r=!0}=t??{},n=`${e}.${r}`;if(KH.has(n))return KH.get(n);let o=Xft.test(e)?e.toLowerCase()===e?!0:r?sd(e)===e:!0:!1;return KH.set(n,o),o}var Xft,KH,Ki=x(()=>{u();Zm();Hu();Xft=/^0x[a-fA-F0-9]{40}$/,KH=new Gi(8192)});function hr(e){return typeof e[0]==\"string\"?Cn(e):ept(e)}function ept(e){let t=0;for(let o of e)t+=o.length;let r=new Uint8Array(t),n=0;for(let o of e)r.set(o,n),n+=o.length;return r}function Cn(e){return`0x${e.reduce((t,r)=>t+r.replace(\"0x\",\"\"),\"\")}`}var Zn=x(()=>{u()});function Ai(e,t,r,{strict:n}={}){return Vr(e,{strict:!1})?wS(e,t,r,{strict:n}):S4(e,t,r,{strict:n})}function Cfe(e,t){if(typeof t==\"number\"&&t>0&&t>qt(e)-1)throw new fS({offset:t,position:\"start\",size:qt(e)})}function Tfe(e,t,r){if(typeof t==\"number\"&&typeof r==\"number\"&&qt(e)!==r-t)throw new fS({offset:r,position:\"end\",size:qt(e)})}function S4(e,t,r,{strict:n}={}){Cfe(e,t);let o=e.slice(t,r);return n&&Tfe(o,t,r),o}function wS(e,t,r,{strict:n}={}){Cfe(e,t);let o=`0x${e.replace(\"0x\",\"\").slice((t??0)*2,(r??e.length)*2)}`;return n&&Tfe(o,t,r),o}var cd=x(()=>{u();f4();Dc();xa()});var Ife,A4,kx,k4=x(()=>{u();Ife=/^(.*)\\\\[([0-9]*)\\\\]$/,A4=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,kx=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/});function zn(e,t){if(e.length!==t.length)throw new xx({expectedLength:e.length,givenLength:t.length});let r=tpt({params:e,values:t}),n=WH(r);return n.length===0?\"0x\":n}function tpt({params:e,values:t}){let r=[];for(let n=0;n<e.length;n++)r.push(ZH({param:e[n],value:t[n]}));return r}function ZH({param:e,value:t}){let r=C4(e.type);if(r){let[n,o]=r;return npt(t,{length:n,param:{...e,type:o}})}if(e.type===\"tuple\")return cpt(t,{param:e});if(e.type===\"address\")return rpt(t);if(e.type===\"bool\")return ipt(t);if(e.type.startsWith(\"uint\")||e.type.startsWith(\"int\")){let n=e.type.startsWith(\"int\"),[,,o=\"256\"]=kx.exec(e.type)??[];return apt(t,{signed:n,size:Number(o)})}if(e.type.startsWith(\"bytes\"))return opt(t,{param:e});if(e.type===\"string\")return spt(t);throw new c4(e.type,{docsPath:\"/docs/contract/encodeAbiParameters\"})}function WH(e){let t=0;for(let i=0;i<e.length;i++){let{dynamic:c,encoded:l}=e[i];c?t+=32:t+=qt(l)}let r=[],n=[],o=0;for(let i=0;i<e.length;i++){let{dynamic:c,encoded:l}=e[i];c?(r.push(le(t+o,{size:32})),n.push(l),o+=qt(l)):r.push(l)}return hr([...r,...n])}function rpt(e){if(!Et(e))throw new vr({address:e});return{dynamic:!1,encoded:Uu(e.toLowerCase())}}function npt(e,{length:t,param:r}){let n=t===null;if(!Array.isArray(e))throw new _x(e);if(!n&&e.length!==t)throw new t4({expectedLength:t,givenLength:e.length,type:`${r.type}[${t}]`});let o=!1,i=[];for(let c=0;c<e.length;c++){let l=ZH({param:r,value:e[c]});l.dynamic&&(o=!0),i.push(l)}if(n||o){let c=WH(i);if(n){let l=le(i.length,{size:32});return{dynamic:!0,encoded:i.length>0?hr([l,c]):l}}if(o)return{dynamic:!0,encoded:c}}return{dynamic:!1,encoded:hr(i.map(({encoded:c})=>c))}}function opt(e,{param:t}){let[,r]=t.type.split(\"bytes\"),n=qt(e);if(!r){let o=e;return n%32!==0&&(o=Uu(o,{dir:\"right\",size:Math.ceil((e.length-2)/2/32)*32})),{dynamic:!0,encoded:hr([Uu(le(n,{size:32})),o])}}if(n!==Number.parseInt(r,10))throw new r4({expectedSize:Number.parseInt(r,10),value:e});return{dynamic:!1,encoded:Uu(e,{dir:\"right\"})}}function ipt(e){if(typeof e!=\"boolean\")throw new oe(`Invalid boolean value: \"${e}\" (type: ${typeof e}). Expected: \\\\`true\\\\` or \\\\`false\\\\`.`);return{dynamic:!1,encoded:Uu(Ry(e))}}function apt(e,{signed:t,size:r=256}){if(typeof r==\"number\"){let n=2n**(BigInt(r)-(t?1n:0n))-1n,o=t?-n-1n:0n;if(e>n||e<o)throw new Fm({max:n.toString(),min:o.toString(),signed:t,size:r/8,value:e.toString()})}return{dynamic:!1,encoded:le(e,{size:32,signed:t})}}function spt(e){let t=ss(e),r=Math.ceil(qt(t)/32),n=[];for(let o=0;o<r;o++)n.push(Uu(Ai(t,o*32,(o+1)*32),{dir:\"right\"}));return{dynamic:!0,encoded:hr([Uu(le(qt(t),{size:32})),...n])}}function cpt(e,{param:t}){let r=!1,n=[];for(let o=0;o<t.components.length;o++){let i=t.components[o],c=Array.isArray(e)?o:i.name,l=ZH({param:i,value:e[c]});n.push(l),l.dynamic&&(r=!0)}return{dynamic:r,encoded:r?WH(n):hr(n.map(({encoded:o})=>o))}}function C4(e){let t=e.match(/^(.*)\\\\[(\\\\d+)?\\\\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}var $c=x(()=>{u();lo();Xs();ht();hS();Ki();Zn();Ff();xa();cd();ot();k4()});var ud,Cx=x(()=>{u();cd();qH();ud=e=>Ai(_4(e),0,4)});function ls(e){let{abi:t,args:r=[],name:n}=e,o=Vr(n,{strict:!1}),i=t.filter(l=>o?l.type===\"function\"?ud(l)===n:l.type===\"event\"?Km(l)===n:!1:\"name\"in l&&l.name===n);if(i.length===0)return;if(i.length===1)return i[0];let c;for(let l of i){if(!(\"inputs\"in l))continue;if(!r||r.length===0){if(!l.inputs||l.inputs.length===0)return l;continue}if(!l.inputs||l.inputs.length===0||l.inputs.length!==r.length)continue;if(r.every((p,h)=>{let y=\"inputs\"in l&&l.inputs[h];return y?JH(p,y):!1})){if(c&&\"inputs\"in c&&c.inputs){let p=Pfe(l.inputs,c.inputs,r);if(p)throw new s4({abiItem:l,type:p[0]},{abiItem:c,type:p[1]})}c=l}}return c||i[0]}function JH(e,t){let r=typeof e,n=t.type;switch(n){case\"address\":return Et(e,{strict:!1});case\"bool\":return r===\"boolean\";case\"function\":return r===\"string\";case\"string\":return r===\"string\";default:return n===\"tuple\"&&\"components\"in t?Object.values(t.components).every((o,i)=>r===\"object\"&&JH(Object.values(e)[i],o)):/^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(n)?r===\"number\"||r===\"bigint\":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(n)?r===\"string\"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\\\\[[0-9]{0,}\\\\])+$/.test(n)?Array.isArray(e)&&e.every(o=>JH(o,{...t,type:n.replace(/(\\\\[[0-9]{0,}\\\\])$/,\"\")})):!1}}function Pfe(e,t,r){for(let n in e){let o=e[n],i=t[n];if(o.type===\"tuple\"&&i.type===\"tuple\"&&\"components\"in o&&\"components\"in i)return Pfe(o.components,i.components,r[n]);let c=[o.type,i.type];if(c.includes(\"address\")&&c.includes(\"bytes20\")?!0:c.includes(\"address\")&&c.includes(\"string\")?Et(r[n],{strict:!1}):c.includes(\"address\")&&c.includes(\"bytes\")?Et(r[n],{strict:!1}):!1)return c}}var Wm=x(()=>{u();lo();Dc();Ki();vS();Cx()});function ld(e){let{abi:t,eventName:r,args:n}=e,o=t[0];if(r){let f=ls({abi:t,name:r});if(!f)throw new dS(r,{docsPath:Rfe});o=f}if(o.type!==\"event\")throw new dS(void 0,{docsPath:Rfe});let i=Wo(o),c=Km(i),l=[];if(n&&\"inputs\"in o){let f=o.inputs?.filter(h=>\"indexed\"in h&&h.indexed),p=Array.isArray(n)?n:Object.values(n).length>0?f?.map(h=>n[h.name])??[]:[];p.length>0&&(l=f?.map((h,y)=>Array.isArray(p[y])?p[y].map((w,E)=>Ofe({param:h,value:p[y][E]})):typeof p[y]<\"u\"&&p[y]!==null?Ofe({param:h,value:p[y]}):null)??[])}return[c,...l]}function Ofe({param:e,value:t}){if(e.type===\"string\"||e.type===\"bytes\")return Gt(Si(t));if(e.type===\"tuple\"||e.type.match(/^(.*)\\\\[(\\\\d+)?\\\\]$/))throw new d4(e.type);return zn([e],[t])}var Rfe,Tx=x(()=>{u();lo();Jde();fo();us();vS();$c();Hf();Wm();Rfe=\"/docs/contract/encodeEventTopics\"});function Jm(e,{method:t}){let r={};return e.transport.type===\"fallback\"&&e.transport.onResponse?.(({method:n,response:o,status:i,transport:c})=>{i===\"success\"&&t===n&&(r[o]=c.request)}),(n=>r[n]||e.request)}var ES=x(()=>{u()});async function T4(e,t){let{address:r,abi:n,args:o,eventName:i,fromBlock:c,strict:l,toBlock:f}=t,p=Jm(e,{method:\"eth_newFilter\"}),h=i?ld({abi:n,args:o,eventName:i}):void 0,y=await e.request({method:\"eth_newFilter\",params:[{address:r,fromBlock:typeof c==\"bigint\"?le(c):c,toBlock:typeof f==\"bigint\"?le(f):f,topics:h}]});return{abi:n,args:o,eventName:i,id:y,request:p(y),strict:!!l,type:\"event\"}}var QH=x(()=>{u();Tx();ot();ES()});function tt(e){return typeof e==\"string\"?{address:e,type:\"json-rpc\"}:e}var Zr=x(()=>{u()});function Mfe(e){let{abi:t,args:r,functionName:n}=e,o=t[0];if(n){let i=ls({abi:t,args:r,name:n});if(!i)throw new Nu(n,{docsPath:Bfe});o=i}if(o.type!==\"function\")throw new Nu(void 0,{docsPath:Bfe});return{abi:[o],functionName:ud(Wo(o))}}var Bfe,Dfe=x(()=>{u();lo();Cx();Hf();Wm();Bfe=\"/docs/contract/encodeFunctionData\"});function vt(e){let{args:t}=e,{abi:r,functionName:n}=e.abi.length===1&&e.functionName?.startsWith(\"0x\")?e:Mfe(e),o=r[0],i=n,c=\"inputs\"in o&&o.inputs?zn(o.inputs,t??[]):void 0;return Cn([i,c??\"0x\"])}var ki=x(()=>{u();Zn();$c();Dfe()});var Nfe,I4,Ufe,P4=x(()=>{u();Nfe={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.\"},I4={inputs:[{name:\"message\",type:\"string\"}],name:\"Error\",type:\"error\"},Ufe={inputs:[{name:\"reason\",type:\"uint256\"}],name:\"Panic\",type:\"error\"}});var _S,Ix,R4,YH=x(()=>{u();ht();_S=class extends oe{constructor({offset:t}){super(`Offset \\\\`${t}\\\\` cannot be negative.`,{name:\"NegativeOffsetError\"})}},Ix=class extends oe{constructor({length:t,position:r}){super(`Position \\\\`${r}\\\\` is out of bounds (\\\\`0 < position < ${t}\\\\`).`,{name:\"PositionOutOfBoundsError\"})}},R4=class extends oe{constructor({count:t,limit:r}){super(`Recursive read limit of \\\\`${r}\\\\` exceeded (recursive read count: \\\\`${t}\\\\`).`,{name:\"RecursiveReadLimitExceededError\"})}}});function Px(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(upt);return r.bytes=e,r.dataView=new DataView(e.buffer??e,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}var upt,O4=x(()=>{u();YH();upt={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new R4({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new Ix({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new _S({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new _S({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}}});function $fe(e,t={}){typeof t.size<\"u\"&&va(e,{size:t.size});let r=br(e,t);return it(r,t)}function zfe(e,t={}){let r=e;if(typeof t.size<\"u\"&&(va(r,{size:t.size}),r=Bn(r)),r.length>1||r[0]>1)throw new p4(r);return!!r[0]}function dd(e,t={}){typeof t.size<\"u\"&&va(e,{size:t.size});let r=br(e,t);return Gr(r,t)}function Lfe(e,t={}){let r=e;return typeof t.size<\"u\"&&(va(r,{size:t.size}),r=Bn(r,{dir:\"right\"})),new TextDecoder().decode(r)}var Hfe=x(()=>{u();hS();Vf();Kn();ot()});function ds(e,t){let r=typeof t==\"string\"?Kr(t):t,n=Px(r);if(qt(r)===0&&e.length>0)throw new Nc;if(qt(t)&&qt(t)<32)throw new gx({data:typeof t==\"string\"?t:br(t),params:e,size:qt(t)});let o=0,i=[];for(let c=0;c<e.length;++c){let l=e[c];n.setPosition(o);let[f,p]=Rx(n,l,{staticPosition:0});o+=p,i.push(f)}return i}function Rx(e,t,{staticPosition:r}){let n=C4(t.type);if(n){let[o,i]=n;return dpt(e,{...t,type:i},{length:o,staticPosition:r})}if(t.type===\"tuple\")return hpt(e,t,{staticPosition:r});if(t.type===\"address\")return lpt(e);if(t.type===\"bool\")return fpt(e);if(t.type.startsWith(\"bytes\"))return ppt(e,t,{staticPosition:r});if(t.type.startsWith(\"uint\")||t.type.startsWith(\"int\"))return mpt(e,t);if(t.type===\"string\")return ypt(e,{staticPosition:r});throw new u4(t.type,{docsPath:\"/docs/contract/decodeAbiParameters\"})}function lpt(e){let t=e.readBytes(32);return[sd(br(S4(t,-20))),32]}function dpt(e,t,{length:r,staticPosition:n}){if(!r){let c=dd(e.readBytes(XH)),l=n+c,f=l+jfe;e.setPosition(l);let p=dd(e.readBytes(jfe)),h=SS(t),y=0,w=[];for(let E=0;E<p;++E){e.setPosition(f+(h?E*32:y));let[A,C]=Rx(e,t,{staticPosition:f});y+=C,w.push(A)}return e.setPosition(n+32),[w,32]}if(SS(t)){let c=dd(e.readBytes(XH)),l=n+c,f=[];for(let p=0;p<r;++p){e.setPosition(l+p*32);let[h]=Rx(e,t,{staticPosition:l});f.push(h)}return e.setPosition(n+32),[f,32]}let o=0,i=[];for(let c=0;c<r;++c){let[l,f]=Rx(e,t,{staticPosition:n+o});o+=f,i.push(l)}return[i,o]}function fpt(e){return[zfe(e.readBytes(32),{size:32}),32]}function ppt(e,t,{staticPosition:r}){let[n,o]=t.type.split(\"bytes\");if(!o){let c=dd(e.readBytes(32));e.setPosition(r+c);let l=dd(e.readBytes(32));if(l===0)return e.setPosition(r+32),[\"0x\",32];let f=e.readBytes(l);return e.setPosition(r+32),[br(f),32]}return[br(e.readBytes(Number.parseInt(o,10),32)),32]}function mpt(e,t){let r=t.type.startsWith(\"int\"),n=Number.parseInt(t.type.split(\"int\")[1]||\"256\",10),o=e.readBytes(32);return[n>48?$fe(o,{signed:r}):dd(o,{signed:r}),32]}function hpt(e,t,{staticPosition:r}){let n=t.components.length===0||t.components.some(({name:c})=>!c),o=n?[]:{},i=0;if(SS(t)){let c=dd(e.readBytes(XH)),l=r+c;for(let f=0;f<t.components.length;++f){let p=t.components[f];e.setPosition(l+i);let[h,y]=Rx(e,p,{staticPosition:l});i+=y,o[n?f:p?.name]=h}return e.setPosition(r+32),[o,32]}for(let c=0;c<t.components.length;++c){let l=t.components[c],[f,p]=Rx(e,l,{staticPosition:r});o[n?c:l?.name]=f,i+=p}return[o,i]}function ypt(e,{staticPosition:t}){let r=dd(e.readBytes(32)),n=t+r;e.setPosition(n);let o=dd(e.readBytes(32));if(o===0)return e.setPosition(t+32),[\"\",32];let i=e.readBytes(o,32),c=Lfe(Bn(i));return e.setPosition(t+32),[c,32]}function SS(e){let{type:t}=e;if(t===\"string\"||t===\"bytes\"||t.endsWith(\"[]\"))return!0;if(t===\"tuple\")return e.components?.some(SS);let r=C4(e.type);return!!(r&&SS({...e,type:r[1]}))}var jfe,XH,Ox=x(()=>{u();lo();Hu();O4();xa();cd();Vf();Hfe();fo();ot();$c();jfe=32,XH=32});function Bx(e){let{abi:t,data:r,cause:n}=e,o=Ai(r,0,4);if(o===\"0x\")throw new Nc({cause:n});let c=[...t||[],I4,Ufe].find(l=>l.type===\"error\"&&o===ud(Wo(l)));if(!c)throw new vx(o,{docsPath:\"/docs/contract/decodeErrorResult\",cause:n});return{abiItem:c,args:\"inputs\"in c&&c.inputs&&c.inputs.length>0?ds(c.inputs,Ai(r,4)):void 0,errorName:c.name}}var B4=x(()=>{u();P4();lo();cd();Cx();Ox();Hf()});var ir,Ci=x(()=>{u();ir=(e,t,r)=>JSON.stringify(e,(n,o)=>{let i=typeof o==\"bigint\"?o.toString():o;return typeof t==\"function\"?t(n,i):i},r)});function ej({abiItem:e,args:t,includeFunctionName:r=!0,includeName:n=!1}){if(\"name\"in e&&\"inputs\"in e&&e.inputs)return`${r?e.name:\"\"}(${e.inputs.map((o,i)=>`${n&&o.name?`${o.name}: `:\"\"}${typeof t[i]==\"object\"?ir(t[i]):t[i]}`).join(\", \")})`}var Ffe=x(()=>{u();Ci()});var Vfe,qfe,tj=x(()=>{u();Vfe={gwei:9,wei:18},qfe={ether:-9,wei:9}});function Ny(e,t){let r=e.toString(),n=r.startsWith(\"-\");n&&(r=r.slice(1)),r=r.padStart(t,\"0\");let[o,i]=[r.slice(0,r.length-t),r.slice(r.length-t)];return i=i.replace(/(0+)$/,\"\"),`${n?\"-\":\"\"}${o||\"0\"}${i?`.${i}`:\"\"}`}var M4=x(()=>{u()});function Mx(e,t=\"wei\"){return Ny(e,Vfe[t])}var D4=x(()=>{u();tj();M4()});function to(e,t=\"wei\"){return Ny(e,qfe[t])}var Uy=x(()=>{u();tj();M4()});function Gfe(e){return e.reduce((t,{slot:r,value:n})=>`${t}        ${r}: ${n}\\n`,\"\")}function Kfe(e){return e.reduce((t,{address:r,...n})=>{let o=`${t}    ${r}:\\n`;return n.nonce&&(o+=`      nonce: ${n.nonce}\\n`),n.balance&&(o+=`      balance: ${n.balance}\\n`),n.code&&(o+=`      code: ${n.code}\\n`),n.state&&(o+=`      state:\\n`,o+=Gfe(n.state)),n.stateDiff&&(o+=`      stateDiff:\\n`,o+=Gfe(n.stateDiff)),o},`  State Override:\\n`).slice(0,-1)}var N4,U4,rj=x(()=>{u();ht();N4=class extends oe{constructor({address:t}){super(`State for account \"${t}\" is set multiple times.`,{name:\"AccountStateConflictError\"})}},U4=class extends oe{constructor(){super(\"state and stateDiff are set on the same account.\",{name:\"StateAssignmentConflictError\"})}}});function Wf(e){let t=Object.entries(e).map(([n,o])=>o===void 0||o===!1?null:[n,o]).filter(Boolean),r=t.reduce((n,[o])=>Math.max(n,o.length),0);return t.map(([n,o])=>`  ${`${n}:`.padEnd(r+1)}  ${o}`).join(`\\n`)}var $4,z4,L4,H4,Dx,Nx,Ux,j4,ec=x(()=>{u();D4();Uy();ht();$4=class extends oe{constructor({v:t}){super(`Invalid \\\\`v\\\\` value \"${t}\". Expected 27 or 28.`,{name:\"InvalidLegacyVError\"})}},z4=class extends oe{constructor({transaction:t}){super(\"Cannot infer a transaction type from provided transaction.\",{metaMessages:[\"Provided Transaction:\",\"{\",Wf(t),\"}\",\"\",\"To infer the type, either provide:\",\"- a `type` to the Transaction, or\",\"- an EIP-1559 Transaction with `maxFeePerGas`, or\",\"- an EIP-2930 Transaction with `gasPrice` & `accessList`, or\",\"- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or\",\"- an EIP-7702 Transaction with `authorizationList`, or\",\"- a Legacy Transaction with `gasPrice`\"],name:\"InvalidSerializableTransactionError\"})}},L4=class extends oe{constructor({storageKey:t}){super(`Size for storage key \"${t}\" is invalid. Expected 32 bytes. Got ${Math.floor((t.length-2)/2)} bytes.`,{name:\"InvalidStorageKeySizeError\"})}},H4=class extends oe{constructor(t,{account:r,docsPath:n,chain:o,data:i,gas:c,gasPrice:l,maxFeePerGas:f,maxPriorityFeePerGas:p,nonce:h,to:y,value:w}){let E=Wf({chain:o&&`${o?.name} (id: ${o?.id})`,from:r?.address,to:y,value:typeof w<\"u\"&&`${Mx(w)} ${o?.nativeCurrency?.symbol||\"ETH\"}`,data:i,gas:c,gasPrice:typeof l<\"u\"&&`${to(l)} gwei`,maxFeePerGas:typeof f<\"u\"&&`${to(f)} gwei`,maxPriorityFeePerGas:typeof p<\"u\"&&`${to(p)} gwei`,nonce:h});super(t.shortMessage,{cause:t,docsPath:n,metaMessages:[...t.metaMessages?[...t.metaMessages,\" \"]:[],\"Request Arguments:\",E].filter(Boolean),name:\"TransactionExecutionError\"}),Object.defineProperty(this,\"cause\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}},Dx=class extends oe{constructor({blockHash:t,blockNumber:r,blockTag:n,hash:o,index:i}){let c=\"Transaction\";n&&i!==void 0&&(c=`Transaction at block time \"${n}\" at index \"${i}\"`),t&&i!==void 0&&(c=`Transaction at block hash \"${t}\" at index \"${i}\"`),r&&i!==void 0&&(c=`Transaction at block number \"${r}\" at index \"${i}\"`),o&&(c=`Transaction with hash \"${o}\"`),super(`${c} could not be found.`,{name:\"TransactionNotFoundError\"})}},Nx=class extends oe{constructor({hash:t}){super(`Transaction receipt with hash \"${t}\" could not be found. The Transaction may not be processed on a block yet.`,{name:\"TransactionReceiptNotFoundError\"})}},Ux=class extends oe{constructor({receipt:t}){super(`Transaction with hash \"${t.transactionHash}\" reverted.`,{metaMessages:[\\'The receipt marked the transaction as \"reverted\". This could mean that the function on the contract you are trying to call threw an error.\\',\" \",\"You can attempt to extract the revert reason by:\",\"- calling the `simulateContract` or `simulateCalls` Action with the `abi` and `functionName` of the contract\",\"- using the `call` Action with raw `data`\"],name:\"TransactionReceiptRevertedError\"}),Object.defineProperty(this,\"receipt\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.receipt=t}},j4=class extends oe{constructor({hash:t}){super(`Timed out while waiting for transaction with hash \"${t}\" to be confirmed.`,{name:\"WaitForTransactionReceiptTimeoutError\"})}}});var Zfe,$y,F4=x(()=>{u();Zfe=e=>e,$y=e=>{try{let t=new URL(e);return!t.username&&!t.password?e:(t.username=\"\",t.password=\"\",t.toString())}catch{return e}}});var $x,Qm,Jf,zx,V4,fd,Qf=x(()=>{u();Zr();P4();B4();Hf();Ffe();Wm();D4();Uy();lo();ht();rj();ec();F4();$x=class extends oe{constructor(t,{account:r,docsPath:n,chain:o,data:i,gas:c,gasPrice:l,maxFeePerGas:f,maxPriorityFeePerGas:p,nonce:h,to:y,value:w,stateOverride:E}){let A=r?tt(r):void 0,C=Wf({from:A?.address,to:y,value:typeof w<\"u\"&&`${Mx(w)} ${o?.nativeCurrency?.symbol||\"ETH\"}`,data:i,gas:c,gasPrice:typeof l<\"u\"&&`${to(l)} gwei`,maxFeePerGas:typeof f<\"u\"&&`${to(f)} gwei`,maxPriorityFeePerGas:typeof p<\"u\"&&`${to(p)} gwei`,nonce:h});E&&(C+=`\\n${Kfe(E)}`),super(t.shortMessage,{cause:t,docsPath:n,metaMessages:[...t.metaMessages?[...t.metaMessages,\" \"]:[],\"Raw Call Arguments:\",C].filter(Boolean),name:\"CallExecutionError\"}),Object.defineProperty(this,\"cause\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}},Qm=class extends oe{constructor(t,{abi:r,args:n,contractAddress:o,docsPath:i,functionName:c,sender:l}){let f=ls({abi:r,args:n,name:c}),p=f?ej({abiItem:f,args:n,includeFunctionName:!1,includeName:!1}):void 0,h=f?Wo(f,{includeName:!0}):void 0,y=Wf({address:o&&Zfe(o),function:h,args:p&&p!==\"()\"&&`${[...Array(c?.length??0).keys()].map(()=>\" \").join(\"\")}${p}`,sender:l});super(t.shortMessage||`An unknown error occurred while executing the contract function \"${c}\".`,{cause:t,docsPath:i,metaMessages:[...t.metaMessages?[...t.metaMessages,\" \"]:[],y&&\"Contract Call:\",y].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=r,this.args=n,this.cause=t,this.contractAddress=o,this.functionName=c,this.sender=l}},Jf=class extends oe{constructor({abi:t,data:r,functionName:n,message:o,cause:i}){let c,l,f,p;if(r&&r!==\"0x\")try{l=Bx({abi:t,data:r,cause:i});let{abiItem:y,errorName:w,args:E}=l;if(w===\"Error\")p=E[0];else if(w===\"Panic\"){let[A]=E;p=Nfe[A]}else{let A=y?Wo(y,{includeName:!0}):void 0,C=y&&E?ej({abiItem:y,args:E,includeFunctionName:!1,includeName:!1}):void 0;f=[A?`Error: ${A}`:\"\",C&&C!==\"()\"?`       ${[...Array(w?.length??0).keys()].map(()=>\" \").join(\"\")}${C}`:\"\"]}}catch(y){c=y}else o&&(p=o);let h;c instanceof vx&&(h=c.signature,f=[`Unable to decode signature \"${h}\" as it was not found on the provided ABI.`,\"Make sure you are using the correct ABI and that the error exists on it.\",`You can look up the decoded signature here: https://4byte.sourcify.dev/?q=${h}.`]),super(p&&p!==\"execution reverted\"||h?[`The contract function \"${n}\" reverted with the following ${h?\"signature\":\"reason\"}:`,p||h].join(`\\n`):`The contract function \"${n}\" reverted.`,{cause:c??i,metaMessages:f,name:\"ContractFunctionRevertedError\"}),Object.defineProperty(this,\"data\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"raw\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"reason\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"signature\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=l,this.raw=r,this.reason=p,this.signature=h}},zx=class extends oe{constructor({functionName:t,cause:r}){super(`The contract function \"${t}\" returned no data (\"0x\").`,{metaMessages:[\"This could be due to any of the following:\",`  - The contract does not have the function \"${t}\",`,\"  - The parameters passed to the contract function may be invalid, or\",\"  - The address is not a contract.\"],name:\"ContractFunctionZeroDataError\",cause:r})}},V4=class extends oe{constructor({factory:t}){super(`Deployment for counterfactual contract call failed${t?` for factory \"${t}\".`:\"\"}`,{metaMessages:[\"Please ensure:\",\"- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).\",\"- The `factoryData` is a valid encoded function call for contract deployment function on the factory.\"],name:\"CounterfactualDeploymentFailedError\"})}},fd=class extends oe{constructor({data:t,message:r}){super(r||\"\",{name:\"RawContractError\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,\"data\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}});var zc,Ym,AS,zy=x(()=>{u();Ci();ht();F4();zc=class extends oe{constructor({body:t,cause:r,details:n,headers:o,status:i,url:c}){super(\"HTTP request failed.\",{cause:r,details:n,metaMessages:[i&&`Status: ${i}`,`URL: ${$y(c)}`,t&&`Request body: ${ir(t)}`].filter(Boolean),name:\"HttpRequestError\"}),Object.defineProperty(this,\"body\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"headers\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"status\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"url\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=t,this.headers=o,this.status=i,this.url=c}},Ym=class extends oe{constructor({body:t,error:r,url:n}){super(\"RPC Request failed.\",{cause:r,details:r.message,metaMessages:[`URL: ${$y(n)}`,`Request body: ${ir(t)}`],name:\"RpcRequestError\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"data\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"url\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=r.code,this.data=r.data,this.url=n}},AS=class extends oe{constructor({body:t,url:r}){super(\"The request took too long to respond.\",{details:\"The request timed out.\",metaMessages:[`URL: ${$y(r)}`,`Request body: ${ir(t)}`],name:\"TimeoutError\"}),Object.defineProperty(this,\"url\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=r}}});var bpt,Ti,Ii,Ly,Hy,jy,Fy,pd,tc,Vy,ju,qy,Yf,Xm,Gy,Ln,Ky,Zy,Wy,Jy,_a,Xf,Qy,Yy,Xy,eb,tb,ep,Lx,kS,rb=x(()=>{u();ht();zy();bpt=-1,Ti=class extends oe{constructor(t,{code:r,docsPath:n,metaMessages:o,name:i,shortMessage:c}){super(c,{cause:t,docsPath:n,metaMessages:o||t?.metaMessages,name:i||\"RpcError\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=i||t.name,this.code=t instanceof Ym?t.code:r??bpt}},Ii=class extends Ti{constructor(t,r){super(t,r),Object.defineProperty(this,\"data\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=r.data}},Ly=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"ParseRpcError\",shortMessage:\"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.\"})}};Object.defineProperty(Ly,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32700});Hy=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"InvalidRequestRpcError\",shortMessage:\"JSON is not a valid request object.\"})}};Object.defineProperty(Hy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32600});jy=class e extends Ti{constructor(t,{method:r}={}){super(t,{code:e.code,name:\"MethodNotFoundRpcError\",shortMessage:`The method${r?` \"${r}\"`:\"\"} does not exist / is not available.`})}};Object.defineProperty(jy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32601});Fy=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"InvalidParamsRpcError\",shortMessage:[\"Invalid parameters were provided to the RPC method.\",\"Double check you have provided the correct parameters.\"].join(`\\n`)})}};Object.defineProperty(Fy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32602});pd=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"InternalRpcError\",shortMessage:\"An internal error was received.\"})}};Object.defineProperty(pd,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32603});tc=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"InvalidInputRpcError\",shortMessage:[\"Missing or invalid parameters.\",\"Double check you have provided the correct parameters.\"].join(`\\n`)})}};Object.defineProperty(tc,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});Vy=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"ResourceNotFoundRpcError\",shortMessage:\"Requested resource not found.\"}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ResourceNotFoundRpcError\"})}};Object.defineProperty(Vy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32001});ju=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"ResourceUnavailableRpcError\",shortMessage:\"Requested resource not available.\"})}};Object.defineProperty(ju,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32002});qy=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"TransactionRejectedRpcError\",shortMessage:\"Transaction creation failed.\"})}};Object.defineProperty(qy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32003});Yf=class e extends Ti{constructor(t,{method:r}={}){super(t,{code:e.code,name:\"MethodNotSupportedRpcError\",shortMessage:`Method${r?` \"${r}\"`:\"\"} is not supported.`})}};Object.defineProperty(Yf,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32004});Xm=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"LimitExceededRpcError\",shortMessage:\"Request exceeds defined limit.\"})}};Object.defineProperty(Xm,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32005});Gy=class e extends Ti{constructor(t){super(t,{code:e.code,name:\"JsonRpcVersionUnsupportedError\",shortMessage:\"Version of JSON-RPC protocol is not supported.\"})}};Object.defineProperty(Gy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32006});Ln=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"UserRejectedRequestError\",shortMessage:\"User rejected the request.\"})}};Object.defineProperty(Ln,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4001});Ky=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"UnauthorizedProviderError\",shortMessage:\"The requested method and/or account has not been authorized by the user.\"})}};Object.defineProperty(Ky,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4100});Zy=class e extends Ii{constructor(t,{method:r}={}){super(t,{code:e.code,name:\"UnsupportedProviderMethodError\",shortMessage:`The Provider does not support the requested method${r?` \" ${r}\"`:\"\"}.`})}};Object.defineProperty(Zy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4200});Wy=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"ProviderDisconnectedError\",shortMessage:\"The Provider is disconnected from all chains.\"})}};Object.defineProperty(Wy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4900});Jy=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"ChainDisconnectedError\",shortMessage:\"The Provider is not connected to the requested chain.\"})}};Object.defineProperty(Jy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4901});_a=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"SwitchChainError\",shortMessage:\"An error occurred when attempting to switch chain.\"})}};Object.defineProperty(_a,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4902});Xf=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"UnsupportedNonOptionalCapabilityError\",shortMessage:\"This Wallet does not support a capability that was not marked as optional.\"})}};Object.defineProperty(Xf,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:5700});Qy=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"UnsupportedChainIdError\",shortMessage:\"This Wallet does not support the requested chain ID.\"})}};Object.defineProperty(Qy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:5710});Yy=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"DuplicateIdError\",shortMessage:\"There is already a bundle submitted with this ID.\"})}};Object.defineProperty(Yy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:5720});Xy=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"UnknownBundleIdError\",shortMessage:\"This bundle id is unknown / has not been submitted\"})}};Object.defineProperty(Xy,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:5730});eb=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"BundleTooLargeError\",shortMessage:\"The call bundle is too large for the Wallet to process.\"})}};Object.defineProperty(eb,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:5740});tb=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"AtomicReadyWalletRejectedUpgradeError\",shortMessage:\"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade.\"})}};Object.defineProperty(tb,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:5750});ep=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"AtomicityNotSupportedError\",shortMessage:\"The wallet does not support atomic execution but the request requires it.\"})}};Object.defineProperty(ep,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:5760});Lx=class e extends Ii{constructor(t){super(t,{code:e.code,name:\"WalletConnectSessionSettlementError\",shortMessage:\"WalletConnect session settlement failed.\"})}};Object.defineProperty(Lx,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:7e3});kS=class extends Ti{constructor(t){super(t,{name:\"UnknownRpcError\",shortMessage:\"An unknown RPC error occurred.\"})}}});function rc(e,{abi:t,address:r,args:n,docsPath:o,functionName:i,sender:c}){let l=e instanceof fd?e:e instanceof oe?e.walk(A=>\"data\"in A)||e.walk():{},{code:f,data:p,details:h,message:y,shortMessage:w}=l,E=e instanceof Nc?new zx({functionName:i,cause:e}):[gpt,pd.code].includes(f)&&(p||h||y||w)||f===tc.code&&h===\"execution reverted\"&&p?new Jf({abi:t,data:typeof p==\"object\"?p.data:p,functionName:i,message:l instanceof Ym?h:w??y,cause:e}):e;return new Qm(E,{abi:t,args:n,contractAddress:r,docsPath:o,functionName:i,sender:c})}var gpt,nb=x(()=>{u();lo();ht();Qf();zy();rb();gpt=3});function Wfe(e){let t=Gt(`0x${e.substring(4)}`).substring(26);return sd(`0x${t}`)}var Jfe=x(()=>{u();Hu();us()});function xpt(e,t,r,n){if(typeof e.setBigUint64==\"function\")return e.setBigUint64(t,r,n);let o=BigInt(32),i=BigInt(4294967295),c=Number(r>>o&i),l=Number(r&i),f=n?4:0,p=n?0:4;e.setUint32(t+f,c,n),e.setUint32(t+p,l,n)}function Qfe(e,t,r){return e&t^~e&r}function Yfe(e,t,r){return e&t^e&r^t&r}var CS,tp,Pi,Ri,Xfe=x(()=>{u();Lu();CS=class extends Vm{constructor(t,r,n,o){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=o,this.buffer=new Uint8Array(t),this.view=w4(this.buffer)}update(t){Kf(this),t=Dy(t),Ea(t);let{view:r,buffer:n,blockLen:o}=this,i=t.length;for(let c=0;c<i;){let l=Math.min(o-this.pos,i-c);if(l===o){let f=w4(t);for(;o<=i-c;c+=o)this.process(f,c);continue}n.set(t.subarray(c,c+l),this.pos),this.pos+=l,c+=l,this.pos===o&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Kf(this),v4(t,this),this.finished=!0;let{buffer:r,view:n,blockLen:o,isLE:i}=this,{pos:c}=this;r[c++]=128,Uc(this.buffer.subarray(c)),this.padOffset>o-c&&(this.process(n,0),c=0);for(let y=c;y<o;y++)r[y]=0;xpt(n,o-8,BigInt(this.length*8),i),this.process(n,0);let l=w4(t),f=this.outputLen;if(f%4)throw new Error(\"_sha2: outputLen should be aligned to 32bit\");let p=f/4,h=this.get();if(p>h.length)throw new Error(\"_sha2: outputLen bigger than state\");for(let y=0;y<p;y++)l.setUint32(4*y,h[y],i)}digest(){let{buffer:t,outputLen:r}=this;this.digestInto(t);let n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());let{blockLen:r,buffer:n,length:o,finished:i,destroyed:c,pos:l}=this;return t.destroyed=c,t.finished=i,t.length=o,t.pos=l,o%r&&t.buffer.set(n),t}clone(){return this._cloneInto()}},tp=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Pi=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),Ri=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209])});var vpt,eh,q4,epe,wpt,Ept,th,rh,G4,nj,nc,K4,Z4,Hx=x(()=>{u();Xfe();HH();Lu();vpt=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),eh=new Uint32Array(64),q4=class extends CS{constructor(t=32){super(64,t,8,!1),this.A=tp[0]|0,this.B=tp[1]|0,this.C=tp[2]|0,this.D=tp[3]|0,this.E=tp[4]|0,this.F=tp[5]|0,this.G=tp[6]|0,this.H=tp[7]|0}get(){let{A:t,B:r,C:n,D:o,E:i,F:c,G:l,H:f}=this;return[t,r,n,o,i,c,l,f]}set(t,r,n,o,i,c,l,f){this.A=t|0,this.B=r|0,this.C=n|0,this.D=o|0,this.E=i|0,this.F=c|0,this.G=l|0,this.H=f|0}process(t,r){for(let y=0;y<16;y++,r+=4)eh[y]=t.getUint32(r,!1);for(let y=16;y<64;y++){let w=eh[y-15],E=eh[y-2],A=zu(w,7)^zu(w,18)^w>>>3,C=zu(E,17)^zu(E,19)^E>>>10;eh[y]=C+eh[y-7]+A+eh[y-16]|0}let{A:n,B:o,C:i,D:c,E:l,F:f,G:p,H:h}=this;for(let y=0;y<64;y++){let w=zu(l,6)^zu(l,11)^zu(l,25),E=h+w+Qfe(l,f,p)+vpt[y]+eh[y]|0,C=(zu(n,2)^zu(n,13)^zu(n,22))+Yfe(n,o,i)|0;h=p,p=f,f=l,l=c+E|0,c=i,i=o,o=n,n=E+C|0}n=n+this.A|0,o=o+this.B|0,i=i+this.C|0,c=c+this.D|0,l=l+this.E|0,f=f+this.F|0,p=p+this.G|0,h=h+this.H|0,this.set(n,o,i,c,l,f,p,h)}roundClean(){Uc(eh)}destroy(){this.set(0,0,0,0,0,0,0,0),Uc(this.buffer)}},epe=g4([\"0x428a2f98d728ae22\",\"0x7137449123ef65cd\",\"0xb5c0fbcfec4d3b2f\",\"0xe9b5dba58189dbbc\",\"0x3956c25bf348b538\",\"0x59f111f1b605d019\",\"0x923f82a4af194f9b\",\"0xab1c5ed5da6d8118\",\"0xd807aa98a3030242\",\"0x12835b0145706fbe\",\"0x243185be4ee4b28c\",\"0x550c7dc3d5ffb4e2\",\"0x72be5d74f27b896f\",\"0x80deb1fe3b1696b1\",\"0x9bdc06a725c71235\",\"0xc19bf174cf692694\",\"0xe49b69c19ef14ad2\",\"0xefbe4786384f25e3\",\"0x0fc19dc68b8cd5b5\",\"0x240ca1cc77ac9c65\",\"0x2de92c6f592b0275\",\"0x4a7484aa6ea6e483\",\"0x5cb0a9dcbd41fbd4\",\"0x76f988da831153b5\",\"0x983e5152ee66dfab\",\"0xa831c66d2db43210\",\"0xb00327c898fb213f\",\"0xbf597fc7beef0ee4\",\"0xc6e00bf33da88fc2\",\"0xd5a79147930aa725\",\"0x06ca6351e003826f\",\"0x142929670a0e6e70\",\"0x27b70a8546d22ffc\",\"0x2e1b21385c26c926\",\"0x4d2c6dfc5ac42aed\",\"0x53380d139d95b3df\",\"0x650a73548baf63de\",\"0x766a0abb3c77b2a8\",\"0x81c2c92e47edaee6\",\"0x92722c851482353b\",\"0xa2bfe8a14cf10364\",\"0xa81a664bbc423001\",\"0xc24b8b70d0f89791\",\"0xc76c51a30654be30\",\"0xd192e819d6ef5218\",\"0xd69906245565a910\",\"0xf40e35855771202a\",\"0x106aa07032bbd1b8\",\"0x19a4c116b8d2d0c8\",\"0x1e376c085141ab53\",\"0x2748774cdf8eeb99\",\"0x34b0bcb5e19b48a8\",\"0x391c0cb3c5c95a63\",\"0x4ed8aa4ae3418acb\",\"0x5b9cca4f7763e373\",\"0x682e6ff3d6b2b8a3\",\"0x748f82ee5defb2fc\",\"0x78a5636f43172f60\",\"0x84c87814a1f0ab72\",\"0x8cc702081a6439ec\",\"0x90befffa23631e28\",\"0xa4506cebde82bde9\",\"0xbef9a3f7b2c67915\",\"0xc67178f2e372532b\",\"0xca273eceea26619c\",\"0xd186b8c721c0c207\",\"0xeada7dd6cde0eb1e\",\"0xf57d4f7fee6ed178\",\"0x06f067aa72176fba\",\"0x0a637dc5a2c898a6\",\"0x113f9804bef90dae\",\"0x1b710b35131c471b\",\"0x28db77f523047d84\",\"0x32caab7b40c72493\",\"0x3c9ebe0a15c9bebc\",\"0x431d67c49c100d4c\",\"0x4cc5d4becb3e42b6\",\"0x597f299cfc657e2a\",\"0x5fcb6fab3ad6faec\",\"0x6c44198c4a475817\"].map(e=>BigInt(e))),wpt=epe[0],Ept=epe[1],th=new Uint32Array(80),rh=new Uint32Array(80),G4=class extends CS{constructor(t=64){super(128,t,16,!1),this.Ah=Ri[0]|0,this.Al=Ri[1]|0,this.Bh=Ri[2]|0,this.Bl=Ri[3]|0,this.Ch=Ri[4]|0,this.Cl=Ri[5]|0,this.Dh=Ri[6]|0,this.Dl=Ri[7]|0,this.Eh=Ri[8]|0,this.El=Ri[9]|0,this.Fh=Ri[10]|0,this.Fl=Ri[11]|0,this.Gh=Ri[12]|0,this.Gl=Ri[13]|0,this.Hh=Ri[14]|0,this.Hl=Ri[15]|0}get(){let{Ah:t,Al:r,Bh:n,Bl:o,Ch:i,Cl:c,Dh:l,Dl:f,Eh:p,El:h,Fh:y,Fl:w,Gh:E,Gl:A,Hh:C,Hl:R}=this;return[t,r,n,o,i,c,l,f,p,h,y,w,E,A,C,R]}set(t,r,n,o,i,c,l,f,p,h,y,w,E,A,C,R){this.Ah=t|0,this.Al=r|0,this.Bh=n|0,this.Bl=o|0,this.Ch=i|0,this.Cl=c|0,this.Dh=l|0,this.Dl=f|0,this.Eh=p|0,this.El=h|0,this.Fh=y|0,this.Fl=w|0,this.Gh=E|0,this.Gl=A|0,this.Hh=C|0,this.Hl=R|0}process(t,r){for(let $=0;$<16;$++,r+=4)th[$]=t.getUint32(r),rh[$]=t.getUint32(r+=4);for(let $=16;$<80;$++){let H=th[$-15]|0,V=rh[$-15]|0,G=Oy(H,V,1)^Oy(H,V,8)^zH(H,V,7),K=By(H,V,1)^By(H,V,8)^LH(H,V,7),Q=th[$-2]|0,X=rh[$-2]|0,Y=Oy(Q,X,19)^bS(Q,X,61)^zH(Q,X,6),fe=By(Q,X,19)^gS(Q,X,61)^LH(Q,X,6),ce=sfe(K,fe,rh[$-7],rh[$-16]),N=cfe(ce,G,Y,th[$-7],th[$-16]);th[$]=N|0,rh[$]=ce|0}let{Ah:n,Al:o,Bh:i,Bl:c,Ch:l,Cl:f,Dh:p,Dl:h,Eh:y,El:w,Fh:E,Fl:A,Gh:C,Gl:R,Hh:M,Hl:D}=this;for(let $=0;$<80;$++){let H=Oy(y,w,14)^Oy(y,w,18)^bS(y,w,41),V=By(y,w,14)^By(y,w,18)^gS(y,w,41),G=y&E^~y&C,K=w&A^~w&R,Q=ufe(D,V,K,Ept[$],rh[$]),X=lfe(Q,M,H,G,wpt[$],th[$]),Y=Q|0,fe=Oy(n,o,28)^bS(n,o,34)^bS(n,o,39),ce=By(n,o,28)^gS(n,o,34)^gS(n,o,39),N=n&i^n&l^i&l,_=o&c^o&f^c&f;M=C|0,D=R|0,C=E|0,R=A|0,E=y|0,A=w|0,{h:y,l:w}=id(p|0,h|0,X|0,Y|0),p=l|0,h=f|0,l=i|0,f=c|0,i=n|0,c=o|0;let k=ife(Y,ce,_);n=afe(k,X,fe,N),o=k|0}({h:n,l:o}=id(this.Ah|0,this.Al|0,n|0,o|0)),{h:i,l:c}=id(this.Bh|0,this.Bl|0,i|0,c|0),{h:l,l:f}=id(this.Ch|0,this.Cl|0,l|0,f|0),{h:p,l:h}=id(this.Dh|0,this.Dl|0,p|0,h|0),{h:y,l:w}=id(this.Eh|0,this.El|0,y|0,w|0),{h:E,l:A}=id(this.Fh|0,this.Fl|0,E|0,A|0),{h:C,l:R}=id(this.Gh|0,this.Gl|0,C|0,R|0),{h:M,l:D}=id(this.Hh|0,this.Hl|0,M|0,D|0),this.set(n,o,i,c,l,f,p,h,y,w,E,A,C,R,M,D)}roundClean(){Uc(th,rh)}destroy(){Uc(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}},nj=class extends G4{constructor(){super(48),this.Ah=Pi[0]|0,this.Al=Pi[1]|0,this.Bh=Pi[2]|0,this.Bl=Pi[3]|0,this.Ch=Pi[4]|0,this.Cl=Pi[5]|0,this.Dh=Pi[6]|0,this.Dl=Pi[7]|0,this.Eh=Pi[8]|0,this.El=Pi[9]|0,this.Fh=Pi[10]|0,this.Fl=Pi[11]|0,this.Gh=Pi[12]|0,this.Gl=Pi[13]|0,this.Hh=Pi[14]|0,this.Hl=Pi[15]|0}},nc=Sx(()=>new q4),K4=Sx(()=>new G4),Z4=Sx(()=>new nj)});var W4,TS,oj=x(()=>{u();Lu();W4=class extends Vm{constructor(t,r){super(),this.finished=!1,this.destroyed=!1,x4(t);let n=Dy(r);if(this.iHash=t.create(),typeof this.iHash.update!=\"function\")throw new Error(\"Expected instance of class which extends utils.Hash\");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,i=new Uint8Array(o);i.set(n.length>o?t.create().update(n).digest():n);for(let c=0;c<i.length;c++)i[c]^=54;this.iHash.update(i),this.oHash=t.create();for(let c=0;c<i.length;c++)i[c]^=106;this.oHash.update(i),Uc(i)}update(t){return Kf(this),this.iHash.update(t),this}digestInto(t){Kf(this),Ea(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){let t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));let{oHash:r,iHash:n,finished:o,destroyed:i,blockLen:c,outputLen:l}=this;return t=t,t.finished=o,t.destroyed=i,t.blockLen=c,t.outputLen=l,t.oHash=r._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}},TS=(e,t,r)=>new W4(e,t).update(r).digest();TS.create=(e,t)=>new W4(e,t)});function jx(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===\"Uint8Array\"}function np(e){if(!jx(e))throw new Error(\"Uint8Array expected\")}function Fx(e,t){if(typeof t!=\"boolean\")throw new Error(e+\" boolean expected, got \"+t)}function IS(e){let t=e.toString(16);return t.length&1?\"0\"+t:t}function npe(e){if(typeof e!=\"string\")throw new Error(\"hex string expected, got \"+typeof e);return e===\"\"?cj:BigInt(\"0x\"+e)}function Vx(e){if(np(e),ope)return e.toHex();let t=\"\";for(let r=0;r<e.length;r++)t+=_pt[e[r]];return t}function tpe(e){if(e>=rp._0&&e<=rp._9)return e-rp._0;if(e>=rp.A&&e<=rp.F)return e-(rp.A-10);if(e>=rp.a&&e<=rp.f)return e-(rp.a-10)}function PS(e){if(typeof e!=\"string\")throw new Error(\"hex string expected, got \"+typeof e);if(ope)return Uint8Array.fromHex(e);let t=e.length,r=t/2;if(t%2)throw new Error(\"hex string expected, got unpadded hex of length \"+t);let n=new Uint8Array(r);for(let o=0,i=0;o<r;o++,i+=2){let c=tpe(e.charCodeAt(i)),l=tpe(e.charCodeAt(i+1));if(c===void 0||l===void 0){let f=e[i]+e[i+1];throw new Error(\\'hex string expected, got non-hex character \"\\'+f+\\'\" at index \\'+i)}n[o]=c*16+l}return n}function fs(e){return npe(Vx(e))}function uj(e){return np(e),npe(Vx(Uint8Array.from(e).reverse()))}function md(e,t){return PS(e.toString(16).padStart(t*2,\"0\"))}function lj(e,t){return md(e,t).reverse()}function No(e,t,r){let n;if(typeof t==\"string\")try{n=PS(t)}catch(i){throw new Error(e+\" must be hex string or Uint8Array, cause: \"+i)}else if(jx(t))n=Uint8Array.from(t);else throw new Error(e+\" must be hex string or Uint8Array\");let o=n.length;if(typeof r==\"number\"&&o!==r)throw new Error(e+\" of length \"+r+\" expected, got \"+o);return n}function Sa(...e){let t=0;for(let n=0;n<e.length;n++){let o=e[n];np(o),t+=o.length}let r=new Uint8Array(t);for(let n=0,o=0;n<e.length;n++){let i=e[n];r.set(i,o),o+=i.length}return r}function ipe(e,t){if(e.length!==t.length)return!1;let r=0;for(let n=0;n<e.length;n++)r|=e[n]^t[n];return r===0}function J4(e){if(typeof e!=\"string\")throw new Error(\"string expected\");return new Uint8Array(new TextEncoder().encode(e))}function ob(e,t,r){return ij(e)&&ij(t)&&ij(r)&&t<=e&&e<r}function op(e,t,r,n){if(!ob(t,r,n))throw new Error(\"expected valid \"+e+\": \"+r+\" <= n < \"+n+\", got \"+t)}function ape(e){let t;for(t=0;e>cj;e>>=sj,t+=1);return t}function spe(e,t,r){if(typeof e!=\"number\"||e<2)throw new Error(\"hashLen must be a number\");if(typeof t!=\"number\"||t<2)throw new Error(\"qByteLen must be a number\");if(typeof r!=\"function\")throw new Error(\"hmacFn must be a function\");let n=aj(e),o=aj(e),i=0,c=()=>{n.fill(1),o.fill(0),i=0},l=(...y)=>r(o,n,...y),f=(y=aj(0))=>{o=l(rpe([0]),y),n=l(),y.length!==0&&(o=l(rpe([1]),y),n=l())},p=()=>{if(i++>=1e3)throw new Error(\"drbg: tried 1000 values\");let y=0,w=[];for(;y<t;){n=l();let E=n.slice();w.push(E),y+=n.length}return Sa(...w)};return(y,w)=>{c(),f(y);let E;for(;!(E=w(p()));)f();return c(),E}}function ip(e,t,r={}){let n=(o,i,c)=>{let l=Spt[i];if(typeof l!=\"function\")throw new Error(\"invalid validator function\");let f=e[o];if(!(c&&f===void 0)&&!l(f,e))throw new Error(\"param \"+String(o)+\" is invalid. Expected \"+i+\", got \"+f)};for(let[o,i]of Object.entries(t))n(o,i,!1);for(let[o,i]of Object.entries(r))n(o,i,!0);return e}function dj(e){let t=new WeakMap;return(r,...n)=>{let o=t.get(r);if(o!==void 0)return o;let i=e(r,...n);return t.set(r,i),i}}var cj,sj,ope,_pt,rp,ij,ib,aj,rpe,Spt,ab=x(()=>{u();cj=BigInt(0),sj=BigInt(1);ope=typeof Uint8Array.from([]).toHex==\"function\"&&typeof Uint8Array.fromHex==\"function\",_pt=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\"));rp={_0:48,_9:57,A:65,F:70,a:97,f:102};ij=e=>typeof e==\"bigint\"&&cj<=e;ib=e=>(sj<<BigInt(e))-sj,aj=e=>new Uint8Array(e),rpe=e=>Uint8Array.from(e);Spt={bigint:e=>typeof e==\"bigint\",function:e=>typeof e==\"function\",boolean:e=>typeof e==\"boolean\",string:e=>typeof e==\"string\",stringOrUint8Array:e=>typeof e==\"string\"||jx(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e==\"function\"&&Number.isSafeInteger(e.outputLen)}});function _o(e,t){let r=e%t;return r>=Aa?r:t+r}function oc(e,t,r){let n=e;for(;t-- >Aa;)n*=n,n%=r;return n}function Q4(e,t){if(e===Aa)throw new Error(\"invert: expected non-zero number\");if(t<=Aa)throw new Error(\"invert: expected positive modulus, got \"+t);let r=_o(e,t),n=t,o=Aa,i=Zi,c=Zi,l=Aa;for(;r!==Aa;){let p=n/r,h=n%r,y=o-c*p,w=i-l*p;n=r,r=h,o=c,i=l,c=y,l=w}if(n!==Zi)throw new Error(\"invert: does not exist\");return _o(o,t)}function fpe(e,t){let r=(e.ORDER+Zi)/upe,n=e.pow(t,r);if(!e.eql(e.sqr(n),t))throw new Error(\"Cannot find square root\");return n}function kpt(e,t){let r=(e.ORDER-lpe)/dpe,n=e.mul(t,sb),o=e.pow(n,r),i=e.mul(t,o),c=e.mul(e.mul(i,sb),o),l=e.mul(i,e.sub(c,e.ONE));if(!e.eql(e.sqr(l),t))throw new Error(\"Cannot find square root\");return l}function Cpt(e){if(e<BigInt(3))throw new Error(\"sqrt is not defined for small field\");let t=e-Zi,r=0;for(;t%sb===Aa;)t/=sb,r++;let n=sb,o=ap(e);for(;cpe(o,n)===1;)if(n++>1e3)throw new Error(\"Cannot find square root: probably non-prime P\");if(r===1)return fpe;let i=o.pow(n,t),c=(t+Zi)/sb;return function(f,p){if(f.is0(p))return p;if(cpe(f,p)!==1)throw new Error(\"Cannot find square root\");let h=r,y=f.mul(f.ONE,i),w=f.pow(p,t),E=f.pow(p,c);for(;!f.eql(w,f.ONE);){if(f.is0(w))return f.ZERO;let A=1,C=f.sqr(w);for(;!f.eql(C,f.ONE);)if(A++,C=f.sqr(C),A===h)throw new Error(\"Cannot find square root\");let R=Zi<<BigInt(h-A-1),M=f.pow(y,R);h=A,y=f.sqr(M),w=f.mul(w,y),E=f.mul(E,M)}return E}}function Tpt(e){return e%upe===Apt?fpe:e%dpe===lpe?kpt:Cpt(e)}function Y4(e){let t={ORDER:\"bigint\",MASK:\"bigint\",BYTES:\"isSafeInteger\",BITS:\"isSafeInteger\"},r=Ipt.reduce((n,o)=>(n[o]=\"function\",n),t);return ip(e,r)}function Ppt(e,t,r){if(r<Aa)throw new Error(\"invalid exponent, negatives unsupported\");if(r===Aa)return e.ONE;if(r===Zi)return t;let n=e.ONE,o=t;for(;r>Aa;)r&Zi&&(n=e.mul(n,o)),o=e.sqr(o),r>>=Zi;return n}function qx(e,t,r=!1){let n=new Array(t.length).fill(r?e.ZERO:void 0),o=t.reduce((c,l,f)=>e.is0(l)?c:(n[f]=c,e.mul(c,l)),e.ONE),i=e.inv(o);return t.reduceRight((c,l,f)=>e.is0(l)?c:(n[f]=e.mul(c,n[f]),e.mul(c,l)),i),n}function cpe(e,t){let r=(e.ORDER-Zi)/sb,n=e.pow(t,r),o=e.eql(n,e.ONE),i=e.eql(n,e.ZERO),c=e.eql(n,e.neg(e.ONE));if(!o&&!i&&!c)throw new Error(\"invalid Legendre symbol result\");return o?1:i?0:-1}function fj(e,t){t!==void 0&&$u(t);let r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function ap(e,t,r=!1,n={}){if(e<=Aa)throw new Error(\"invalid field: expected ORDER > 0, got \"+e);let{nBitLength:o,nByteLength:i}=fj(e,t);if(i>2048)throw new Error(\"invalid field: expected ORDER of <= 2048 bytes\");let c,l=Object.freeze({ORDER:e,isLE:r,BITS:o,BYTES:i,MASK:ib(o),ZERO:Aa,ONE:Zi,create:f=>_o(f,e),isValid:f=>{if(typeof f!=\"bigint\")throw new Error(\"invalid field element: expected bigint, got \"+typeof f);return Aa<=f&&f<e},is0:f=>f===Aa,isOdd:f=>(f&Zi)===Zi,neg:f=>_o(-f,e),eql:(f,p)=>f===p,sqr:f=>_o(f*f,e),add:(f,p)=>_o(f+p,e),sub:(f,p)=>_o(f-p,e),mul:(f,p)=>_o(f*p,e),pow:(f,p)=>Ppt(l,f,p),div:(f,p)=>_o(f*Q4(p,e),e),sqrN:f=>f*f,addN:(f,p)=>f+p,subN:(f,p)=>f-p,mulN:(f,p)=>f*p,inv:f=>Q4(f,e),sqrt:n.sqrt||(f=>(c||(c=Tpt(e)),c(l,f))),toBytes:f=>r?lj(f,i):md(f,i),fromBytes:f=>{if(f.length!==i)throw new Error(\"Field.fromBytes: expected \"+i+\" bytes, got \"+f.length);return r?uj(f):fs(f)},invertBatch:f=>qx(l,f),cmov:(f,p,h)=>h?p:f});return Object.freeze(l)}function ppe(e){if(typeof e!=\"bigint\")throw new Error(\"field order must be bigint\");let t=e.toString(2).length;return Math.ceil(t/8)}function pj(e){let t=ppe(e);return t+Math.ceil(t/2)}function mpe(e,t,r=!1){let n=e.length,o=ppe(t),i=pj(t);if(n<16||n<i||n>1024)throw new Error(\"expected \"+i+\"-1024 bytes of input, got \"+n);let c=r?uj(e):fs(e),l=_o(c,t-Zi)+Zi;return r?lj(l,o):md(l,o)}var Aa,Zi,sb,Apt,upe,lpe,dpe,Ipt,Gx=x(()=>{u();Lu();ab();Aa=BigInt(0),Zi=BigInt(1),sb=BigInt(2),Apt=BigInt(3),upe=BigInt(4),lpe=BigInt(5),dpe=BigInt(8);Ipt=[\"create\",\"isValid\",\"is0\",\"neg\",\"inv\",\"sqrt\",\"sqr\",\"eql\",\"add\",\"sub\",\"mul\",\"pow\",\"div\",\"addN\",\"subN\",\"mulN\",\"sqrN\"]});function mj(e,t){let r=t.negate();return e?r:t}function bpe(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error(\"invalid window size, expected [1..\"+t+\"], got W=\"+e)}function hj(e,t){bpe(e,t);let r=Math.ceil(t/e)+1,n=2**(e-1),o=2**e,i=ib(e),c=BigInt(e);return{windows:r,windowSize:n,mask:i,maxNumber:o,shiftBy:c}}function ype(e,t,r){let{windowSize:n,mask:o,maxNumber:i,shiftBy:c}=r,l=Number(e&o),f=e>>c;l>n&&(l-=i,f+=gj);let p=t*n,h=p+Math.abs(l)-1,y=l===0,w=l<0,E=t%2!==0;return{nextN:f,offset:h,isZero:y,isNeg:w,isNegF:E,offsetF:p}}function Rpt(e,t){if(!Array.isArray(e))throw new Error(\"array expected\");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error(\"invalid point at index \"+n)})}function Opt(e,t){if(!Array.isArray(e))throw new Error(\"array of scalars expected\");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error(\"invalid scalar at index \"+n)})}function bj(e){return gpe.get(e)||1}function xpe(e,t){return{constTimeNegate:mj,hasPrecomputes(r){return bj(r)!==1},unsafeLadder(r,n,o=e.ZERO){let i=r;for(;n>hpe;)n&gj&&(o=o.add(i)),i=i.double(),n>>=gj;return o},precomputeWindow(r,n){let{windows:o,windowSize:i}=hj(n,t),c=[],l=r,f=l;for(let p=0;p<o;p++){f=l,c.push(f);for(let h=1;h<i;h++)f=f.add(l),c.push(f);l=f.double()}return c},wNAF(r,n,o){let i=e.ZERO,c=e.BASE,l=hj(r,t);for(let f=0;f<l.windows;f++){let{nextN:p,offset:h,isZero:y,isNeg:w,isNegF:E,offsetF:A}=ype(o,f,l);o=p,y?c=c.add(mj(E,n[A])):i=i.add(mj(w,n[h]))}return{p:i,f:c}},wNAFUnsafe(r,n,o,i=e.ZERO){let c=hj(r,t);for(let l=0;l<c.windows&&o!==hpe;l++){let{nextN:f,offset:p,isZero:h,isNeg:y}=ype(o,l,c);if(o=f,!h){let w=n[p];i=i.add(y?w.negate():w)}}return i},getPrecomputes(r,n,o){let i=yj.get(n);return i||(i=this.precomputeWindow(n,r),r!==1&&yj.set(n,o(i))),i},wNAFCached(r,n,o){let i=bj(r);return this.wNAF(i,this.getPrecomputes(i,r,o),n)},wNAFCachedUnsafe(r,n,o,i){let c=bj(r);return c===1?this.unsafeLadder(r,n,i):this.wNAFUnsafe(c,this.getPrecomputes(c,r,o),n,i)},setWindowSize(r,n){bpe(n,t),gpe.set(r,n),yj.delete(r)}}}function vpe(e,t,r,n){Rpt(r,e),Opt(n,t);let o=r.length,i=n.length;if(o!==i)throw new Error(\"arrays of points and scalars must have equal length\");let c=e.ZERO,l=ape(BigInt(o)),f=1;l>12?f=l-3:l>4?f=l-2:l>0&&(f=2);let p=ib(f),h=new Array(Number(p)+1).fill(c),y=Math.floor((t.BITS-1)/f)*f,w=c;for(let E=y;E>=0;E-=f){h.fill(c);for(let C=0;C<i;C++){let R=n[C],M=Number(R>>BigInt(E)&p);h[M]=h[M].add(r[C])}let A=c;for(let C=h.length-1,R=c;C>0;C--)R=R.add(h[C]),A=A.add(R);if(w=w.add(A),E!==0)for(let C=0;C<f;C++)w=w.double()}return w}function xj(e){return Y4(e.Fp),ip(e,{n:\"bigint\",h:\"bigint\",Gx:\"field\",Gy:\"field\"},{nBitLength:\"isSafeInteger\",nByteLength:\"isSafeInteger\"}),Object.freeze({...fj(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}var hpe,gj,yj,gpe,wpe=x(()=>{u();Gx();ab();hpe=BigInt(0),gj=BigInt(1);yj=new WeakMap,gpe=new WeakMap});function Epe(e){e.lowS!==void 0&&Fx(\"lowS\",e.lowS),e.prehash!==void 0&&Fx(\"prehash\",e.prehash)}function Bpt(e){let t=xj(e);ip(t,{a:\"field\",b:\"field\"},{allowInfinityPoint:\"boolean\",allowedPrivateKeyLengths:\"array\",clearCofactor:\"function\",fromBytes:\"function\",isTorsionFree:\"function\",toBytes:\"function\",wrapPrivateKey:\"boolean\"});let{endo:r,Fp:n,a:o}=t;if(r){if(!n.eql(o,n.ZERO))throw new Error(\"invalid endo: CURVE.a must be 0\");if(typeof r!=\"object\"||typeof r.beta!=\"bigint\"||typeof r.splitScalar!=\"function\")throw new Error(\\'invalid endo: expected \"beta\": bigint and \"splitScalar\": function\\')}return Object.freeze({...t})}function vj(e,t){return Vx(md(e,t))}function Mpt(e){let t=Bpt(e),{Fp:r}=t,n=ap(t.n,t.nBitLength),o=t.toBytes||(($,H,V)=>{let G=H.toAffine();return Sa(Uint8Array.from([4]),r.toBytes(G.x),r.toBytes(G.y))}),i=t.fromBytes||($=>{let H=$.subarray(1),V=r.fromBytes(H.subarray(0,r.BYTES)),G=r.fromBytes(H.subarray(r.BYTES,2*r.BYTES));return{x:V,y:G}});function c($){let{a:H,b:V}=t,G=r.sqr($),K=r.mul(G,$);return r.add(r.add(K,r.mul($,H)),V)}function l($,H){let V=r.sqr(H),G=c($);return r.eql(V,G)}if(!l(t.Gx,t.Gy))throw new Error(\"bad curve params: generator point\");let f=r.mul(r.pow(t.a,RS),Ej),p=r.mul(r.sqr(t.b),BigInt(27));if(r.is0(r.add(f,p)))throw new Error(\"bad curve params: a or b\");function h($){return ob($,yn,t.n)}function y($){let{allowedPrivateKeyLengths:H,nByteLength:V,wrapPrivateKey:G,n:K}=t;if(H&&typeof $!=\"bigint\"){if(jx($)&&($=Vx($)),typeof $!=\"string\"||!H.includes($.length))throw new Error(\"invalid private key\");$=$.padStart(V*2,\"0\")}let Q;try{Q=typeof $==\"bigint\"?$:fs(No(\"private key\",$,V))}catch{throw new Error(\"invalid private key, expected hex or \"+V+\" bytes, got \"+typeof $)}return G&&(Q=_o(Q,K)),op(\"private key\",Q,yn,K),Q}function w($){if(!($ instanceof C))throw new Error(\"ProjectivePoint expected\")}let E=dj(($,H)=>{let{px:V,py:G,pz:K}=$;if(r.eql(K,r.ONE))return{x:V,y:G};let Q=$.is0();H==null&&(H=Q?r.ONE:r.inv(K));let X=r.mul(V,H),Y=r.mul(G,H),fe=r.mul(K,H);if(Q)return{x:r.ZERO,y:r.ZERO};if(!r.eql(fe,r.ONE))throw new Error(\"invZ was invalid\");return{x:X,y:Y}}),A=dj($=>{if($.is0()){if(t.allowInfinityPoint&&!r.is0($.py))return;throw new Error(\"bad point: ZERO\")}let{x:H,y:V}=$.toAffine();if(!r.isValid(H)||!r.isValid(V))throw new Error(\"bad point: x or y not FE\");if(!l(H,V))throw new Error(\"bad point: equation left != right\");if(!$.isTorsionFree())throw new Error(\"bad point: not in prime-order subgroup\");return!0});class C{constructor(H,V,G){if(H==null||!r.isValid(H))throw new Error(\"x required\");if(V==null||!r.isValid(V)||r.is0(V))throw new Error(\"y required\");if(G==null||!r.isValid(G))throw new Error(\"z required\");this.px=H,this.py=V,this.pz=G,Object.freeze(this)}static fromAffine(H){let{x:V,y:G}=H||{};if(!H||!r.isValid(V)||!r.isValid(G))throw new Error(\"invalid affine point\");if(H instanceof C)throw new Error(\"projective point not allowed\");let K=Q=>r.eql(Q,r.ZERO);return K(V)&&K(G)?C.ZERO:new C(V,G,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(H){let V=qx(r,H.map(G=>G.pz));return H.map((G,K)=>G.toAffine(V[K])).map(C.fromAffine)}static fromHex(H){let V=C.fromAffine(i(No(\"pointHex\",H)));return V.assertValidity(),V}static fromPrivateKey(H){return C.BASE.multiply(y(H))}static msm(H,V){return vpe(C,n,H,V)}_setWindowSize(H){D.setWindowSize(this,H)}assertValidity(){A(this)}hasEvenY(){let{y:H}=this.toAffine();if(r.isOdd)return!r.isOdd(H);throw new Error(\"Field doesn\\'t support isOdd\")}equals(H){w(H);let{px:V,py:G,pz:K}=this,{px:Q,py:X,pz:Y}=H,fe=r.eql(r.mul(V,Y),r.mul(Q,K)),ce=r.eql(r.mul(G,Y),r.mul(X,K));return fe&&ce}negate(){return new C(this.px,r.neg(this.py),this.pz)}double(){let{a:H,b:V}=t,G=r.mul(V,RS),{px:K,py:Q,pz:X}=this,Y=r.ZERO,fe=r.ZERO,ce=r.ZERO,N=r.mul(K,K),_=r.mul(Q,Q),k=r.mul(X,X),O=r.mul(K,Q);return O=r.add(O,O),ce=r.mul(K,X),ce=r.add(ce,ce),Y=r.mul(H,ce),fe=r.mul(G,k),fe=r.add(Y,fe),Y=r.sub(_,fe),fe=r.add(_,fe),fe=r.mul(Y,fe),Y=r.mul(O,Y),ce=r.mul(G,ce),k=r.mul(H,k),O=r.sub(N,k),O=r.mul(H,O),O=r.add(O,ce),ce=r.add(N,N),N=r.add(ce,N),N=r.add(N,k),N=r.mul(N,O),fe=r.add(fe,N),k=r.mul(Q,X),k=r.add(k,k),N=r.mul(k,O),Y=r.sub(Y,N),ce=r.mul(k,_),ce=r.add(ce,ce),ce=r.add(ce,ce),new C(Y,fe,ce)}add(H){w(H);let{px:V,py:G,pz:K}=this,{px:Q,py:X,pz:Y}=H,fe=r.ZERO,ce=r.ZERO,N=r.ZERO,_=t.a,k=r.mul(t.b,RS),O=r.mul(V,Q),B=r.mul(G,X),L=r.mul(K,Y),q=r.add(V,G),W=r.add(Q,X);q=r.mul(q,W),W=r.add(O,B),q=r.sub(q,W),W=r.add(V,K);let U=r.add(Q,Y);return W=r.mul(W,U),U=r.add(O,L),W=r.sub(W,U),U=r.add(G,K),fe=r.add(X,Y),U=r.mul(U,fe),fe=r.add(B,L),U=r.sub(U,fe),N=r.mul(_,W),fe=r.mul(k,L),N=r.add(fe,N),fe=r.sub(B,N),N=r.add(B,N),ce=r.mul(fe,N),B=r.add(O,O),B=r.add(B,O),L=r.mul(_,L),W=r.mul(k,W),B=r.add(B,L),L=r.sub(O,L),L=r.mul(_,L),W=r.add(W,L),O=r.mul(B,W),ce=r.add(ce,O),O=r.mul(U,W),fe=r.mul(q,fe),fe=r.sub(fe,O),O=r.mul(q,B),N=r.mul(U,N),N=r.add(N,O),new C(fe,ce,N)}subtract(H){return this.add(H.negate())}is0(){return this.equals(C.ZERO)}wNAF(H){return D.wNAFCached(this,H,C.normalizeZ)}multiplyUnsafe(H){let{endo:V,n:G}=t;op(\"scalar\",H,Fu,G);let K=C.ZERO;if(H===Fu)return K;if(this.is0()||H===yn)return this;if(!V||D.hasPrecomputes(this))return D.wNAFCachedUnsafe(this,H,C.normalizeZ);let{k1neg:Q,k1:X,k2neg:Y,k2:fe}=V.splitScalar(H),ce=K,N=K,_=this;for(;X>Fu||fe>Fu;)X&yn&&(ce=ce.add(_)),fe&yn&&(N=N.add(_)),_=_.double(),X>>=yn,fe>>=yn;return Q&&(ce=ce.negate()),Y&&(N=N.negate()),N=new C(r.mul(N.px,V.beta),N.py,N.pz),ce.add(N)}multiply(H){let{endo:V,n:G}=t;op(\"scalar\",H,yn,G);let K,Q;if(V){let{k1neg:X,k1:Y,k2neg:fe,k2:ce}=V.splitScalar(H),{p:N,f:_}=this.wNAF(Y),{p:k,f:O}=this.wNAF(ce);N=D.constTimeNegate(X,N),k=D.constTimeNegate(fe,k),k=new C(r.mul(k.px,V.beta),k.py,k.pz),K=N.add(k),Q=_.add(O)}else{let{p:X,f:Y}=this.wNAF(H);K=X,Q=Y}return C.normalizeZ([K,Q])[0]}multiplyAndAddUnsafe(H,V,G){let K=C.BASE,Q=(Y,fe)=>fe===Fu||fe===yn||!Y.equals(K)?Y.multiplyUnsafe(fe):Y.multiply(fe),X=Q(this,V).add(Q(H,G));return X.is0()?void 0:X}toAffine(H){return E(this,H)}isTorsionFree(){let{h:H,isTorsionFree:V}=t;if(H===yn)return!0;if(V)return V(C,this);throw new Error(\"isTorsionFree() has not been declared for the elliptic curve\")}clearCofactor(){let{h:H,clearCofactor:V}=t;return H===yn?this:V?V(C,this):this.multiplyUnsafe(t.h)}toRawBytes(H=!0){return Fx(\"isCompressed\",H),this.assertValidity(),o(C,this,H)}toHex(H=!0){return Fx(\"isCompressed\",H),Vx(this.toRawBytes(H))}}C.BASE=new C(t.Gx,t.Gy,r.ONE),C.ZERO=new C(r.ZERO,r.ONE,r.ZERO);let{endo:R,nBitLength:M}=t,D=xpe(C,R?Math.ceil(M/2):M);return{CURVE:t,ProjectivePoint:C,normPrivateKeyToScalar:y,weierstrassEquation:c,isWithinCurveOrder:h}}function Dpt(e){let t=xj(e);return ip(t,{hash:\"hash\",hmac:\"function\",randomBytes:\"function\"},{bits2int:\"function\",bits2int_modN:\"function\",lowS:\"boolean\"}),Object.freeze({lowS:!0,...t})}function _pe(e){let t=Dpt(e),{Fp:r,n,nByteLength:o,nBitLength:i}=t,c=r.BYTES+1,l=2*r.BYTES+1;function f(k){return _o(k,n)}function p(k){return Q4(k,n)}let{ProjectivePoint:h,normPrivateKeyToScalar:y,weierstrassEquation:w,isWithinCurveOrder:E}=Mpt({...t,toBytes(k,O,B){let L=O.toAffine(),q=r.toBytes(L.x),W=Sa;return Fx(\"isCompressed\",B),B?W(Uint8Array.from([O.hasEvenY()?2:3]),q):W(Uint8Array.from([4]),q,r.toBytes(L.y))},fromBytes(k){let O=k.length,B=k[0],L=k.subarray(1);if(O===c&&(B===2||B===3)){let q=fs(L);if(!ob(q,yn,r.ORDER))throw new Error(\"Point is not on curve\");let W=w(q),U;try{U=r.sqrt(W)}catch(ye){let xe=ye instanceof Error?\": \"+ye.message:\"\";throw new Error(\"Point is not on curve\"+xe)}let P=(U&yn)===yn;return(B&1)===1!==P&&(U=r.neg(U)),{x:q,y:U}}else if(O===l&&B===4){let q=r.fromBytes(L.subarray(0,r.BYTES)),W=r.fromBytes(L.subarray(r.BYTES,2*r.BYTES));return{x:q,y:W}}else{let q=c,W=l;throw new Error(\"invalid Point, expected length of \"+q+\", or uncompressed \"+W+\", got \"+O)}}});function A(k){let O=n>>yn;return k>O}function C(k){return A(k)?f(-k):k}let R=(k,O,B)=>fs(k.slice(O,B));class M{constructor(O,B,L){op(\"r\",O,yn,n),op(\"s\",B,yn,n),this.r=O,this.s=B,L!=null&&(this.recovery=L),Object.freeze(this)}static fromCompact(O){let B=o;return O=No(\"compactSignature\",O,B*2),new M(R(O,0,B),R(O,B,2*B))}static fromDER(O){let{r:B,s:L}=sp.toSig(No(\"DER\",O));return new M(B,L)}assertValidity(){}addRecoveryBit(O){return new M(this.r,this.s,O)}recoverPublicKey(O){let{r:B,s:L,recovery:q}=this,W=K(No(\"msgHash\",O));if(q==null||![0,1,2,3].includes(q))throw new Error(\"recovery id invalid\");let U=q===2||q===3?B+t.n:B;if(U>=r.ORDER)throw new Error(\"recovery id 2 or 3 invalid\");let P=(q&1)===0?\"02\":\"03\",Z=h.fromHex(P+vj(U,r.BYTES)),ye=p(U),xe=f(-W*ye),Te=f(L*ye),Ie=h.BASE.multiplyAndAddUnsafe(Z,xe,Te);if(!Ie)throw new Error(\"point at infinify\");return Ie.assertValidity(),Ie}hasHighS(){return A(this.s)}normalizeS(){return this.hasHighS()?new M(this.r,f(-this.s),this.recovery):this}toDERRawBytes(){return PS(this.toDERHex())}toDERHex(){return sp.hexFromSig(this)}toCompactRawBytes(){return PS(this.toCompactHex())}toCompactHex(){let O=o;return vj(this.r,O)+vj(this.s,O)}}let D={isValidPrivateKey(k){try{return y(k),!0}catch{return!1}},normPrivateKeyToScalar:y,randomPrivateKey:()=>{let k=pj(t.n);return mpe(t.randomBytes(k),t.n)},precompute(k=8,O=h.BASE){return O._setWindowSize(k),O.multiply(BigInt(3)),O}};function $(k,O=!0){return h.fromPrivateKey(k).toRawBytes(O)}function H(k){if(typeof k==\"bigint\")return!1;if(k instanceof h)return!0;let B=No(\"key\",k).length,L=r.BYTES,q=L+1,W=2*L+1;if(!(t.allowedPrivateKeyLengths||o===q))return B===q||B===W}function V(k,O,B=!0){if(H(k)===!0)throw new Error(\"first arg must be private key\");if(H(O)===!1)throw new Error(\"second arg must be public key\");return h.fromHex(O).multiply(y(k)).toRawBytes(B)}let G=t.bits2int||function(k){if(k.length>8192)throw new Error(\"input is too large\");let O=fs(k),B=k.length*8-i;return B>0?O>>BigInt(B):O},K=t.bits2int_modN||function(k){return f(G(k))},Q=ib(i);function X(k){return op(\"num < 2^\"+i,k,Fu,Q),md(k,o)}function Y(k,O,B=fe){if([\"recovered\",\"canonical\"].some(Ve=>Ve in B))throw new Error(\"sign() legacy options not supported\");let{hash:L,randomBytes:q}=t,{lowS:W,prehash:U,extraEntropy:P}=B;W==null&&(W=!0),k=No(\"msgHash\",k),Epe(B),U&&(k=No(\"prehashed msgHash\",L(k)));let Z=K(k),ye=y(O),xe=[X(ye),X(Z)];if(P!=null&&P!==!1){let Ve=P===!0?q(r.BYTES):P;xe.push(No(\"extraEntropy\",Ve))}let Te=Sa(...xe),Ie=Z;function Ke(Ve){let Nt=G(Ve);if(!E(Nt))return;let Pe=p(Nt),Ot=h.BASE.multiply(Nt).toAffine(),Fn=f(Ot.x);if(Fn===Fu)return;let rr=f(Pe*f(Ie+Fn*ye));if(rr===Fu)return;let yt=(Ot.x===Fn?0:2)|Number(Ot.y&yn),nr=rr;return W&&A(rr)&&(nr=C(rr),yt^=1),new M(Fn,nr,yt)}return{seed:Te,k2sig:Ke}}let fe={lowS:t.lowS,prehash:!1},ce={lowS:t.lowS,prehash:!1};function N(k,O,B=fe){let{seed:L,k2sig:q}=Y(k,O,B),W=t;return spe(W.hash.outputLen,W.nByteLength,W.hmac)(L,q)}h.BASE._setWindowSize(8);function _(k,O,B,L=ce){let q=k;O=No(\"msgHash\",O),B=No(\"publicKey\",B);let{lowS:W,prehash:U,format:P}=L;if(Epe(L),\"strict\"in L)throw new Error(\"options.strict was renamed to lowS\");if(P!==void 0&&P!==\"compact\"&&P!==\"der\")throw new Error(\"format must be compact or der\");let Z=typeof q==\"string\"||jx(q),ye=!Z&&!P&&typeof q==\"object\"&&q!==null&&typeof q.r==\"bigint\"&&typeof q.s==\"bigint\";if(!Z&&!ye)throw new Error(\"invalid signature, expected Uint8Array, hex string or Signature instance\");let xe,Te;try{if(ye&&(xe=new M(q.r,q.s)),Z){try{P!==\"compact\"&&(xe=M.fromDER(q))}catch(yt){if(!(yt instanceof sp.Err))throw yt}!xe&&P!==\"der\"&&(xe=M.fromCompact(q))}Te=h.fromHex(B)}catch{return!1}if(!xe||W&&xe.hasHighS())return!1;U&&(O=t.hash(O));let{r:Ie,s:Ke}=xe,Ve=K(O),Nt=p(Ke),Pe=f(Ve*Nt),Ot=f(Ie*Nt),Fn=h.BASE.multiplyAndAddUnsafe(Te,Pe,Ot)?.toAffine();return Fn?f(Fn.x)===Ie:!1}return{CURVE:t,getPublicKey:$,getSharedSecret:V,sign:N,verify:_,ProjectivePoint:h,Signature:M,utils:D}}function Npt(e,t){let r=e.ORDER,n=Fu;for(let A=r-yn;A%nh===Fu;A/=nh)n+=yn;let o=n,i=nh<<o-yn-yn,c=i*nh,l=(r-yn)/c,f=(l-yn)/nh,p=c-yn,h=i,y=e.pow(t,l),w=e.pow(t,(l+yn)/nh),E=(A,C)=>{let R=y,M=e.pow(C,p),D=e.sqr(M);D=e.mul(D,C);let $=e.mul(A,D);$=e.pow($,f),$=e.mul($,M),M=e.mul($,C),D=e.mul($,A);let H=e.mul(D,M);$=e.pow(H,h);let V=e.eql($,e.ONE);M=e.mul(D,w),$=e.mul(H,R),D=e.cmov(M,D,V),H=e.cmov($,H,V);for(let G=o;G>yn;G--){let K=G-nh;K=nh<<K-yn;let Q=e.pow(H,K),X=e.eql(Q,e.ONE);M=e.mul(D,R),R=e.mul(R,R),Q=e.mul(H,R),D=e.cmov(M,D,X),H=e.cmov(Q,H,X)}return{isValid:V,value:D}};if(e.ORDER%Ej===RS){let A=(e.ORDER-RS)/Ej,C=e.sqrt(e.neg(t));E=(R,M)=>{let D=e.sqr(M),$=e.mul(R,M);D=e.mul(D,$);let H=e.pow(D,A);H=e.mul(H,$);let V=e.mul(H,C),G=e.mul(e.sqr(H),M),K=e.eql(G,R),Q=e.cmov(V,H,K);return{isValid:K,value:Q}}}return E}function Spe(e,t){if(Y4(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw new Error(\"mapToCurveSimpleSWU: invalid opts\");let r=Npt(e,t.Z);if(!e.isOdd)throw new Error(\"Fp.isOdd is not implemented!\");return n=>{let o,i,c,l,f,p,h,y;o=e.sqr(n),o=e.mul(o,t.Z),i=e.sqr(o),i=e.add(i,o),c=e.add(i,e.ONE),c=e.mul(c,t.B),l=e.cmov(t.Z,e.neg(i),!e.eql(i,e.ZERO)),l=e.mul(l,t.A),i=e.sqr(c),p=e.sqr(l),f=e.mul(p,t.A),i=e.add(i,f),i=e.mul(i,c),p=e.mul(p,l),f=e.mul(p,t.B),i=e.add(i,f),h=e.mul(o,c);let{isValid:w,value:E}=r(i,p);y=e.mul(o,n),y=e.mul(y,E),h=e.cmov(h,c,w),y=e.cmov(y,E,w);let A=e.isOdd(n)===e.isOdd(y);y=e.cmov(e.neg(y),y,A);let C=qx(e,[l],!0)[0];return h=e.mul(h,C),{x:h,y}}}var wj,sp,Fu,yn,nh,RS,Ej,_j=x(()=>{u();wpe();Gx();ab();wj=class extends Error{constructor(t=\"\"){super(t)}},sp={Err:wj,_tlv:{encode:(e,t)=>{let{Err:r}=sp;if(e<0||e>256)throw new r(\"tlv.encode: wrong tag\");if(t.length&1)throw new r(\"tlv.encode: unpadded data\");let n=t.length/2,o=IS(n);if(o.length/2&128)throw new r(\"tlv.encode: long form length too big\");let i=n>127?IS(o.length/2|128):\"\";return IS(e)+i+o+t},decode(e,t){let{Err:r}=sp,n=0;if(e<0||e>256)throw new r(\"tlv.encode: wrong tag\");if(t.length<2||t[n++]!==e)throw new r(\"tlv.decode: wrong tlv\");let o=t[n++],i=!!(o&128),c=0;if(!i)c=o;else{let f=o&127;if(!f)throw new r(\"tlv.decode(long): indefinite length not supported\");if(f>4)throw new r(\"tlv.decode(long): byte length is too big\");let p=t.subarray(n,n+f);if(p.length!==f)throw new r(\"tlv.decode: length bytes not complete\");if(p[0]===0)throw new r(\"tlv.decode(long): zero leftmost byte\");for(let h of p)c=c<<8|h;if(n+=f,c<128)throw new r(\"tlv.decode(long): not minimal encoding\")}let l=t.subarray(n,n+c);if(l.length!==c)throw new r(\"tlv.decode: wrong value length\");return{v:l,l:t.subarray(n+c)}}},_int:{encode(e){let{Err:t}=sp;if(e<Fu)throw new t(\"integer: negative integers are not allowed\");let r=IS(e);if(Number.parseInt(r[0],16)&8&&(r=\"00\"+r),r.length&1)throw new t(\"unexpected DER parsing assertion: unpadded hex\");return r},decode(e){let{Err:t}=sp;if(e[0]&128)throw new t(\"invalid signature integer: negative\");if(e[0]===0&&!(e[1]&128))throw new t(\"invalid signature integer: unnecessary leading zero\");return fs(e)}},toSig(e){let{Err:t,_int:r,_tlv:n}=sp,o=No(\"signature\",e),{v:i,l:c}=n.decode(48,o);if(c.length)throw new t(\"invalid signature: left bytes after parsing\");let{v:l,l:f}=n.decode(2,i),{v:p,l:h}=n.decode(2,f);if(h.length)throw new t(\"invalid signature: left bytes after parsing\");return{r:r.decode(l),s:r.decode(p)}},hexFromSig(e){let{_tlv:t,_int:r}=sp,n=t.encode(2,r.encode(e.r)),o=t.encode(2,r.encode(e.s)),i=n+o;return t.encode(48,i)}};Fu=BigInt(0),yn=BigInt(1),nh=BigInt(2),RS=BigInt(3),Ej=BigInt(4)});function Upt(e){return{hash:e,hmac:(t,...r)=>TS(e,t,cs(...r)),randomBytes:Zf}}function Kx(e,t){let r=n=>_pe({...e,...Upt(n)});return{...r(t),create:r}}var Sj=x(()=>{u();oj();Lu();_j();});function oh(e,t){if(OS(e),OS(t),e<0||e>=1<<8*t)throw new Error(\"invalid I2OSP input: \"+e);let r=Array.from({length:t}).fill(0);for(let n=t-1;n>=0;n--)r[n]=e&255,e>>>=8;return new Uint8Array(r)}function zpt(e,t){let r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e[n]^t[n];return r}function OS(e){if(!Number.isSafeInteger(e))throw new Error(\"number expected\")}function Lpt(e,t,r,n){np(e),np(t),OS(r),t.length>255&&(t=n(Sa(J4(\"H2C-OVERSIZE-DST-\"),t)));let{outputLen:o,blockLen:i}=n,c=Math.ceil(r/o);if(r>65535||c>255)throw new Error(\"expand_message_xmd: invalid lenInBytes\");let l=Sa(t,oh(t.length,1)),f=oh(0,i),p=oh(r,2),h=new Array(c),y=n(Sa(f,e,p,oh(0,1),l));h[0]=n(Sa(y,oh(1,1),l));for(let E=1;E<=c;E++){let A=[zpt(y,h[E-1]),oh(E+1,1),l];h[E]=n(Sa(...A))}return Sa(...h).slice(0,r)}function Hpt(e,t,r,n,o){if(np(e),np(t),OS(r),t.length>255){let i=Math.ceil(2*n/8);t=o.create({dkLen:i}).update(J4(\"H2C-OVERSIZE-DST-\")).update(t).digest()}if(r>65535||t.length>255)throw new Error(\"expand_message_xof: invalid lenInBytes\");return o.create({dkLen:r}).update(e).update(oh(r,2)).update(t).update(oh(t.length,1)).digest()}function Ape(e,t,r){ip(r,{DST:\"stringOrUint8Array\",p:\"bigint\",m:\"isSafeInteger\",k:\"isSafeInteger\",hash:\"hash\"});let{p:n,k:o,m:i,hash:c,expand:l,DST:f}=r;np(e),OS(t);let p=typeof f==\"string\"?J4(f):f,h=n.toString(2).length,y=Math.ceil((h+o)/8),w=t*i*y,E;if(l===\"xmd\")E=Lpt(e,p,w,c);else if(l===\"xof\")E=Hpt(e,p,w,o,c);else if(l===\"_internal_pass\")E=e;else throw new Error(\\'expand must be \"xmd\" or \"xof\"\\');let A=new Array(t);for(let C=0;C<t;C++){let R=new Array(i);for(let M=0;M<i;M++){let D=y*(M+C*i),$=E.subarray(D,D+y);R[M]=_o($pt($),n)}A[C]=R}return A}function kpe(e,t){let r=t.map(n=>Array.from(n).reverse());return(n,o)=>{let[i,c,l,f]=r.map(y=>y.reduce((w,E)=>e.add(e.mul(w,n),E))),[p,h]=qx(e,[c,f],!0);return n=e.mul(i,p),o=e.mul(o,e.mul(l,h)),{x:n,y:o}}}function Cpe(e,t,r){if(typeof t!=\"function\")throw new Error(\"mapToCurve() must be defined\");function n(i){return e.fromAffine(t(i))}function o(i){let c=i.clearCofactor();return c.equals(e.ZERO)?e.ZERO:(c.assertValidity(),c)}return{defaults:r,hashToCurve(i,c){let l=Ape(i,2,{...r,DST:r.DST,...c}),f=n(l[0]),p=n(l[1]);return o(f.add(p))},encodeToCurve(i,c){let l=Ape(i,1,{...r,DST:r.encodeDST,...c});return o(n(l[0]))},mapToCurve(i){if(!Array.isArray(i))throw new Error(\"expected array of bigints\");for(let c of i)if(typeof c!=\"bigint\")throw new Error(\"expected array of bigints\");return o(n(i))}}}var $pt,Tpe=x(()=>{u();Gx();ab();$pt=fs});var Dpe={};an(Dpe,{encodeToCurve:()=>Wpt,hashToCurve:()=>Zpt,schnorr:()=>qpt,secp256k1:()=>Lc,secp256k1_hasher:()=>Rj});function Rpe(e){let t=DS,r=BigInt(3),n=BigInt(6),o=BigInt(11),i=BigInt(22),c=BigInt(23),l=BigInt(44),f=BigInt(88),p=e*e*e%t,h=p*p*e%t,y=oc(h,r,t)*h%t,w=oc(y,r,t)*h%t,E=oc(w,eI,t)*p%t,A=oc(E,o,t)*E%t,C=oc(A,i,t)*A%t,R=oc(C,l,t)*C%t,M=oc(R,f,t)*R%t,D=oc(M,l,t)*C%t,$=oc(D,r,t)*h%t,H=oc($,c,t)*A%t,V=oc(H,n,t)*p%t,G=oc(V,eI,t);if(!ih.eql(ih.sqr(G),e))throw new Error(\"Cannot find square root\");return G}function tI(e,...t){let r=Ppe[e];if(r===void 0){let n=nc(Uint8Array.from(e,o=>o.charCodeAt(0)));r=Sa(n,n),Ppe[e]=r}return nc(Sa(r,...t))}function Cj(e){let t=Lc.utils.normPrivateKeyToScalar(e),r=Pj.fromPrivateKey(t);return{scalar:r.hasEvenY()?t:MS(-t),bytes:Ij(r)}}function Ope(e){op(\"x\",e,BS,DS);let t=Aj(e*e),r=Aj(t*e+BigInt(7)),n=Rpe(r);n%eI!==Tj&&(n=Aj(-n));let o=new Pj(e,n,BS);return o.assertValidity(),o}function Bpe(...e){return MS(Zx(tI(\"BIP0340/challenge\",...e)))}function Fpt(e){return Cj(e).bytes}function Vpt(e,t,r=Zf(32)){let n=No(\"message\",e),{bytes:o,scalar:i}=Cj(t),c=No(\"auxRand\",r,32),l=kj(i^Zx(tI(\"BIP0340/aux\",c))),f=tI(\"BIP0340/nonce\",l,o,n),p=MS(Zx(f));if(p===Tj)throw new Error(\"sign failed: k is zero\");let{bytes:h,scalar:y}=Cj(p),w=Bpe(h,o,n),E=new Uint8Array(64);if(E.set(h,0),E.set(kj(MS(y+w*i)),32),!Mpe(E,n,o))throw new Error(\"sign: Invalid signature produced\");return E}function Mpe(e,t,r){let n=No(\"signature\",e,64),o=No(\"message\",t),i=No(\"publicKey\",r,32);try{let c=Ope(Zx(i)),l=Zx(n.subarray(0,32));if(!ob(l,BS,DS))return!1;let f=Zx(n.subarray(32,64));if(!ob(f,BS,X4))return!1;let p=Bpe(kj(l),Ij(c),o),h=jpt(c,f,MS(-p));return!(!h||!h.hasEvenY()||h.toAffine().x!==l)}catch{return!1}}var DS,X4,Tj,BS,eI,Ipe,ih,Lc,Ppe,Ij,kj,Aj,MS,Pj,jpt,Zx,qpt,Gpt,Kpt,Rj,Zpt,Wpt,NS=x(()=>{u();Hx();Lu();Sj();Tpe();Gx();ab();_j();DS=BigInt(\"0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f\"),X4=BigInt(\"0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141\"),Tj=BigInt(0),BS=BigInt(1),eI=BigInt(2),Ipe=(e,t)=>(e+t/eI)/t;ih=ap(DS,void 0,void 0,{sqrt:Rpe}),Lc=Kx({a:Tj,b:BigInt(7),Fp:ih,n:X4,Gx:BigInt(\"55066263022277343669578718895168534326250603453777594175500187360389116729240\"),Gy:BigInt(\"32670510020758816978083085130507043184471273380659243275938904335757337482424\"),h:BigInt(1),lowS:!0,endo:{beta:BigInt(\"0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee\"),splitScalar:e=>{let t=X4,r=BigInt(\"0x3086d221a7d46bcde86c90e49284eb15\"),n=-BS*BigInt(\"0xe4437ed6010e88286f547fa90abfe4c3\"),o=BigInt(\"0x114ca50f7a8e2f3f657c1108d9d44cfd8\"),i=r,c=BigInt(\"0x100000000000000000000000000000000\"),l=Ipe(i*e,t),f=Ipe(-n*e,t),p=_o(e-l*r-f*o,t),h=_o(-l*n-f*i,t),y=p>c,w=h>c;if(y&&(p=t-p),w&&(h=t-h),p>c||h>c)throw new Error(\"splitScalar: Endomorphism failed, k=\"+e);return{k1neg:y,k1:p,k2neg:w,k2:h}}}},nc),Ppe={};Ij=e=>e.toRawBytes(!0).slice(1),kj=e=>md(e,32),Aj=e=>_o(e,DS),MS=e=>_o(e,X4),Pj=Lc.ProjectivePoint,jpt=(e,t,r)=>Pj.BASE.multiplyAndAddUnsafe(e,t,r);Zx=fs;qpt={getPublicKey:Fpt,sign:Vpt,verify:Mpe,utils:{randomPrivateKey:Lc.utils.randomPrivateKey,lift_x:Ope,pointToBytes:Ij,numberToBytesBE:md,bytesToNumberBE:fs,taggedHash:tI,mod:_o}},Gpt=kpe(ih,[[\"0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7\",\"0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581\",\"0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262\",\"0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c\"],[\"0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b\",\"0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14\",\"0x0000000000000000000000000000000000000000000000000000000000000001\"],[\"0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c\",\"0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3\",\"0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931\",\"0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84\"],[\"0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b\",\"0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573\",\"0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f\",\"0x0000000000000000000000000000000000000000000000000000000000000001\"]].map(e=>e.map(t=>BigInt(t)))),Kpt=Spe(ih,{A:BigInt(\"0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533\"),B:BigInt(\"1771\"),Z:ih.create(BigInt(\"-11\"))}),Rj=Cpe(Lc.ProjectivePoint,e=>{let{x:t,y:r}=Kpt(ih.create(e[0]));return Gpt(t,r)},{DST:\"secp256k1_XMD:SHA-256_SSWU_RO_\",encodeDST:\"secp256k1_XMD:SHA-256_SSWU_NU_\",p:ih.ORDER,m:1,k:128,expand:\"xmd\",hash:nc}),Zpt=Rj.hashToCurve,Wpt=Rj.encodeToCurve});async function Upe({hash:e,signature:t}){let r=Vr(e)?e:rt(e),{secp256k1:n}=await Promise.resolve().then(()=>(NS(),Dpe));return`0x${(()=>{if(typeof t==\"object\"&&\"r\"in t&&\"s\"in t){let{r:p,s:h,v:y,yParity:w}=t,E=Number(w??y),A=Npe(E);return new n.Signature(it(p),it(h)).addRecoveryBit(A)}let c=Vr(t)?t:rt(t);if(qt(c)!==65)throw new Error(\"invalid signature length\");let l=Gr(`0x${c.slice(130)}`),f=Npe(l);return n.Signature.fromCompact(c.substring(2,130)).addRecoveryBit(f)})().recoverPublicKey(r.substring(2)).toHex(!1)}`}function Npe(e){if(e===0||e===1)return e;if(e===27)return 0;if(e===28)return 1;throw new Error(\"Invalid yParityOrV value\")}var $pe=x(()=>{u();Dc();xa();Kn();ot()});async function US({hash:e,signature:t}){return Wfe(await Upe({hash:e,signature:t}))}var Oj=x(()=>{u();Jfe();$pe()});function ka(e,t=\"hex\"){let r=zpe(e),n=Px(new Uint8Array(r.length));return r.encode(n),t===\"hex\"?br(n.bytes):n.bytes}function zpe(e){return Array.isArray(e)?Jpt(e.map(t=>zpe(t))):Qpt(e)}function Jpt(e){let t=e.reduce((o,i)=>o+i.length,0),r=Lpe(t);return{length:t<=55?1+t:1+r+t,encode(o){t<=55?o.pushByte(192+t):(o.pushByte(247+r),r===1?o.pushUint8(t):r===2?o.pushUint16(t):r===3?o.pushUint24(t):o.pushUint32(t));for(let{encode:i}of e)i(o)}}}function Qpt(e){let t=typeof e==\"string\"?Kr(e):e,r=Lpe(t.length);return{length:t.length===1&&t[0]<128?1:t.length<=55?1+t.length:1+r+t.length,encode(o){t.length===1&&t[0]<128?o.pushBytes(t):t.length<=55?(o.pushByte(128+t.length),o.pushBytes(t)):(o.pushByte(183+r),r===1?o.pushUint8(t.length):r===2?o.pushUint16(t.length):r===3?o.pushUint24(t.length):o.pushUint32(t.length),o.pushBytes(t))}}}function Lpe(e){if(e<2**8)return 1;if(e<2**16)return 2;if(e<2**24)return 3;if(e<2**32)return 4;throw new oe(\"Length is too large.\")}var Wx=x(()=>{u();ht();O4();fo();ot()});function Hpe(e){let{chainId:t,nonce:r,to:n}=e,o=e.contractAddress??e.address,i=Gt(Cn([\"0x05\",ka([t?le(t):\"0x\",o,r?le(r):\"0x\"])]));return n===\"bytes\"?Kr(i):i}var jpe=x(()=>{u();Zn();fo();ot();Wx();us()});async function ah(e){let{authorization:t,signature:r}=e;return US({hash:Hpe(t),signature:r??t})}var $S=x(()=>{u();Oj();jpe()});var rI,Fpe=x(()=>{u();D4();Uy();ht();ec();rI=class extends oe{constructor(t,{account:r,docsPath:n,chain:o,data:i,gas:c,gasPrice:l,maxFeePerGas:f,maxPriorityFeePerGas:p,nonce:h,to:y,value:w}){let E=Wf({from:r?.address,to:y,value:typeof w<\"u\"&&`${Mx(w)} ${o?.nativeCurrency?.symbol||\"ETH\"}`,data:i,gas:c,gasPrice:typeof l<\"u\"&&`${to(l)} gwei`,maxFeePerGas:typeof f<\"u\"&&`${to(f)} gwei`,maxPriorityFeePerGas:typeof p<\"u\"&&`${to(p)} gwei`,nonce:h});super(t.shortMessage,{cause:t,docsPath:n,metaMessages:[...t.metaMessages?[...t.metaMessages,\" \"]:[],\"Estimate Gas Arguments:\",E].filter(Boolean),name:\"EstimateGasExecutionError\"}),Object.defineProperty(this,\"cause\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}});var cp,ps,Jx,Qx,Yx,Xx,ev,tv,rv,nv,Hc,jc,up=x(()=>{u();Uy();ht();cp=class extends oe{constructor({cause:t,message:r}={}){let n=r?.replace(\"execution reverted: \",\"\")?.replace(\"execution reverted\",\"\");super(`Execution reverted ${n?`with reason: ${n}`:\"for an unknown reason\"}.`,{cause:t,name:\"ExecutionRevertedError\"})}};Object.defineProperty(cp,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:3});Object.defineProperty(cp,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted|gas required exceeds allowance/});ps=class extends oe{constructor({cause:t,maxFeePerGas:r}={}){super(`The fee cap (\\\\`maxFeePerGas\\\\`${r?` = ${to(r)} gwei`:\"\"}) cannot be higher than the maximum allowed value (2^256-1).`,{cause:t,name:\"FeeCapTooHighError\"})}};Object.defineProperty(ps,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas higher than 2\\\\^256-1|fee cap higher than 2\\\\^256-1/});Jx=class extends oe{constructor({cause:t,maxFeePerGas:r}={}){super(`The fee cap (\\\\`maxFeePerGas\\\\`${r?` = ${to(r)}`:\"\"} gwei) cannot be lower than the block base fee.`,{cause:t,name:\"FeeCapTooLowError\"})}};Object.defineProperty(Jx,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/});Qx=class extends oe{constructor({cause:t,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:\"\"}is higher than the next one expected.`,{cause:t,name:\"NonceTooHighError\"})}};Object.defineProperty(Qx,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too high/});Yx=class extends oe{constructor({cause:t,nonce:r}={}){super([`Nonce provided for the transaction ${r?`(${r}) `:\"\"}is lower than the current nonce of the account.`,\"Try increasing the nonce or find the latest nonce with `getTransactionCount`.\"].join(`\\n`),{cause:t,name:\"NonceTooLowError\"})}};Object.defineProperty(Yx,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/nonce too low|transaction already imported|already known/});Xx=class extends oe{constructor({cause:t,nonce:r}={}){super(`Nonce provided for the transaction ${r?`(${r}) `:\"\"}exceeds the maximum allowed nonce.`,{cause:t,name:\"NonceMaxValueError\"})}};Object.defineProperty(Xx,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/nonce has max value/});ev=class extends oe{constructor({cause:t}={}){super([\"The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.\"].join(`\\n`),{cause:t,metaMessages:[\"This error could arise when the account does not have enough funds to:\",\" - pay for the total gas fee,\",\" - pay for the value to send.\",\" \",\"The cost of the transaction is calculated as `gas * gas fee + value`, where:\",\" - `gas` is the amount of gas needed for transaction to execute,\",\" - `gas fee` is the gas fee,\",\" - `value` is the amount of ether to send to the recipient.\"],name:\"InsufficientFundsError\"})}};Object.defineProperty(ev,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/insufficient funds|exceeds transaction sender account balance/});tv=class extends oe{constructor({cause:t,gas:r}={}){super(`The amount of gas ${r?`(${r}) `:\"\"}provided for the transaction exceeds the limit allowed for the block.`,{cause:t,name:\"IntrinsicGasTooHighError\"})}};Object.defineProperty(tv,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too high|gas limit reached/});rv=class extends oe{constructor({cause:t,gas:r}={}){super(`The amount of gas ${r?`(${r}) `:\"\"}provided for the transaction is too low.`,{cause:t,name:\"IntrinsicGasTooLowError\"})}};Object.defineProperty(rv,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/intrinsic gas too low/});nv=class extends oe{constructor({cause:t}){super(\"The transaction type is not supported for this chain.\",{cause:t,name:\"TransactionTypeNotSupportedError\"})}};Object.defineProperty(nv,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/transaction type not valid/});Hc=class extends oe{constructor({cause:t,maxPriorityFeePerGas:r,maxFeePerGas:n}={}){super([`The provided tip (\\\\`maxPriorityFeePerGas\\\\`${r?` = ${to(r)} gwei`:\"\"}) cannot be higher than the fee cap (\\\\`maxFeePerGas\\\\`${n?` = ${to(n)} gwei`:\"\"}).`].join(`\\n`),{cause:t,name:\"TipAboveFeeCapError\"})}};Object.defineProperty(Hc,\"nodeMessage\",{enumerable:!0,configurable:!0,writable:!0,value:/max priority fee per gas higher than max fee per gas|tip higher than fee cap/});jc=class extends oe{constructor({cause:t}){super(`An error occurred while executing: ${t?.shortMessage}`,{cause:t,name:\"UnknownNodeError\"})}}});function sh(e,t){let r=(e.details||\"\").toLowerCase(),n=e instanceof oe?e.walk(o=>o?.code===cp.code):e;return n instanceof oe?new cp({cause:e,message:n.details}):cp.nodeMessage.test(r)?new cp({cause:e,message:e.details}):ps.nodeMessage.test(r)?new ps({cause:e,maxFeePerGas:t?.maxFeePerGas}):Jx.nodeMessage.test(r)?new Jx({cause:e,maxFeePerGas:t?.maxFeePerGas}):Qx.nodeMessage.test(r)?new Qx({cause:e,nonce:t?.nonce}):Yx.nodeMessage.test(r)?new Yx({cause:e,nonce:t?.nonce}):Xx.nodeMessage.test(r)?new Xx({cause:e,nonce:t?.nonce}):ev.nodeMessage.test(r)?new ev({cause:e}):tv.nodeMessage.test(r)?new tv({cause:e,gas:t?.gas}):rv.nodeMessage.test(r)?new rv({cause:e,gas:t?.gas}):nv.nodeMessage.test(r)?new nv({cause:e}):Hc.nodeMessage.test(r)?new Hc({cause:e,maxFeePerGas:t?.maxFeePerGas,maxPriorityFeePerGas:t?.maxPriorityFeePerGas}):new jc({cause:e})}var zS=x(()=>{u();ht();up()});function Vpe(e,{docsPath:t,...r}){let n=(()=>{let o=sh(e,r);return o instanceof jc?e:o})();return new rI(n,{docsPath:t,...r})}var qpe=x(()=>{u();Fpe();up();zS()});function ms(e,{format:t}){if(!t)return{};let r={};function n(i){let c=Object.keys(i);for(let l of c)l in e&&(r[l]=e[l]),i[l]&&typeof i[l]==\"object\"&&!Array.isArray(i[l])&&n(i[l])}let o=t(e||{});return n(o),r}var ch=x(()=>{u()});function uh(e,t){return({exclude:r,format:n})=>({exclude:r,format:(o,i)=>{let c=t(o,i);if(r)for(let l of r)delete c[l];return{...c,...n(o,i)}},type:e})}var LS=x(()=>{u()});function So(e,t){let r={};return typeof e.authorizationList<\"u\"&&(r.authorizationList=Xpt(e.authorizationList)),typeof e.accessList<\"u\"&&(r.accessList=e.accessList),typeof e.blobVersionedHashes<\"u\"&&(r.blobVersionedHashes=e.blobVersionedHashes),typeof e.blobs<\"u\"&&(typeof e.blobs[0]!=\"string\"?r.blobs=e.blobs.map(n=>br(n)):r.blobs=e.blobs),typeof e.data<\"u\"&&(r.data=e.data),e.account&&(r.from=e.account.address),typeof e.from<\"u\"&&(r.from=e.from),typeof e.gas<\"u\"&&(r.gas=le(e.gas)),typeof e.gasPrice<\"u\"&&(r.gasPrice=le(e.gasPrice)),typeof e.maxFeePerBlobGas<\"u\"&&(r.maxFeePerBlobGas=le(e.maxFeePerBlobGas)),typeof e.maxFeePerGas<\"u\"&&(r.maxFeePerGas=le(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<\"u\"&&(r.maxPriorityFeePerGas=le(e.maxPriorityFeePerGas)),typeof e.nonce<\"u\"&&(r.nonce=le(e.nonce)),typeof e.to<\"u\"&&(r.to=e.to),typeof e.type<\"u\"&&(r.type=Ypt[e.type]),typeof e.value<\"u\"&&(r.value=le(e.value)),r}function Xpt(e){return e.map(t=>({address:t.address,r:t.r?le(BigInt(t.r)):t.r,s:t.s?le(BigInt(t.s)):t.s,chainId:le(t.chainId),nonce:le(t.nonce),...typeof t.yParity<\"u\"?{yParity:le(t.yParity)}:{},...typeof t.v<\"u\"&&typeof t.yParity>\"u\"?{v:le(t.v)}:{}}))}var Ypt,ov,hs=x(()=>{u();ot();LS();Ypt={legacy:\"0x0\",eip2930:\"0x1\",eip1559:\"0x2\",eip4844:\"0x3\",eip7702:\"0x4\"};ov=uh(\"transactionRequest\",So)});function Gpe(e){if(!(!e||e.length===0))return e.reduce((t,{slot:r,value:n})=>{if(r.length!==66)throw new mS({size:r.length,targetSize:66,type:\"hex\"});if(n.length!==66)throw new mS({size:n.length,targetSize:66,type:\"hex\"});return t[r]=n,t},{})}function emt(e){let{balance:t,nonce:r,state:n,stateDiff:o,code:i}=e,c={};if(i!==void 0&&(c.code=i),t!==void 0&&(c.balance=le(t)),r!==void 0&&(c.nonce=le(r)),n!==void 0&&(c.state=Gpe(n)),o!==void 0){if(c.state)throw new U4;c.stateDiff=Gpe(o)}return c}function lh(e){if(!e)return;let t={};for(let{address:r,...n}of e){if(!Et(r,{strict:!1}))throw new vr({address:r});if(t[r])throw new N4({address:r});t[r]=emt(n)}return t}var HS=x(()=>{u();Xs();f4();rj();Ki();ot()});var tmt,rmt,nmt,omt,imt,amt,smt,cmt,umt,lmt,dmt,fmt,pmt,mmt,hmt,ymt,bmt,gmt,xmt,vmt,wmt,Emt,_mt,Smt,Amt,kmt,Cmt,Tmt,Imt,Pmt,Rmt,Omt,Bmt,Mmt,Dmt,Nmt,Umt,$mt,zmt,Lmt,Hmt,jmt,Fmt,Vmt,qmt,Gmt,Kmt,Zmt,Wmt,Jmt,Qmt,Ymt,Xmt,eht,tht,rht,nht,oht,iht,aht,sht,cht,uht,lht,dht,Bj,fht,pht,mht,hht,yht,bht,ght,xht,vht,wht,Eht,_ht,Sht,Aht,kht,Cht,Tht,Iht,Pht,Rht,Oht,Bht,Mht,Dht,Nht,Uht,$ht,zht,Lht,ys,cb=x(()=>{u();tmt=2n**(8n-1n)-1n,rmt=2n**(16n-1n)-1n,nmt=2n**(24n-1n)-1n,omt=2n**(32n-1n)-1n,imt=2n**(40n-1n)-1n,amt=2n**(48n-1n)-1n,smt=2n**(56n-1n)-1n,cmt=2n**(64n-1n)-1n,umt=2n**(72n-1n)-1n,lmt=2n**(80n-1n)-1n,dmt=2n**(88n-1n)-1n,fmt=2n**(96n-1n)-1n,pmt=2n**(104n-1n)-1n,mmt=2n**(112n-1n)-1n,hmt=2n**(120n-1n)-1n,ymt=2n**(128n-1n)-1n,bmt=2n**(136n-1n)-1n,gmt=2n**(144n-1n)-1n,xmt=2n**(152n-1n)-1n,vmt=2n**(160n-1n)-1n,wmt=2n**(168n-1n)-1n,Emt=2n**(176n-1n)-1n,_mt=2n**(184n-1n)-1n,Smt=2n**(192n-1n)-1n,Amt=2n**(200n-1n)-1n,kmt=2n**(208n-1n)-1n,Cmt=2n**(216n-1n)-1n,Tmt=2n**(224n-1n)-1n,Imt=2n**(232n-1n)-1n,Pmt=2n**(240n-1n)-1n,Rmt=2n**(248n-1n)-1n,Omt=2n**(256n-1n)-1n,Bmt=-(2n**(8n-1n)),Mmt=-(2n**(16n-1n)),Dmt=-(2n**(24n-1n)),Nmt=-(2n**(32n-1n)),Umt=-(2n**(40n-1n)),$mt=-(2n**(48n-1n)),zmt=-(2n**(56n-1n)),Lmt=-(2n**(64n-1n)),Hmt=-(2n**(72n-1n)),jmt=-(2n**(80n-1n)),Fmt=-(2n**(88n-1n)),Vmt=-(2n**(96n-1n)),qmt=-(2n**(104n-1n)),Gmt=-(2n**(112n-1n)),Kmt=-(2n**(120n-1n)),Zmt=-(2n**(128n-1n)),Wmt=-(2n**(136n-1n)),Jmt=-(2n**(144n-1n)),Qmt=-(2n**(152n-1n)),Ymt=-(2n**(160n-1n)),Xmt=-(2n**(168n-1n)),eht=-(2n**(176n-1n)),tht=-(2n**(184n-1n)),rht=-(2n**(192n-1n)),nht=-(2n**(200n-1n)),oht=-(2n**(208n-1n)),iht=-(2n**(216n-1n)),aht=-(2n**(224n-1n)),sht=-(2n**(232n-1n)),cht=-(2n**(240n-1n)),uht=-(2n**(248n-1n)),lht=-(2n**(256n-1n)),dht=2n**8n-1n,Bj=2n**16n-1n,fht=2n**24n-1n,pht=2n**32n-1n,mht=2n**40n-1n,hht=2n**48n-1n,yht=2n**56n-1n,bht=2n**64n-1n,ght=2n**72n-1n,xht=2n**80n-1n,vht=2n**88n-1n,wht=2n**96n-1n,Eht=2n**104n-1n,_ht=2n**112n-1n,Sht=2n**120n-1n,Aht=2n**128n-1n,kht=2n**136n-1n,Cht=2n**144n-1n,Tht=2n**152n-1n,Iht=2n**160n-1n,Pht=2n**168n-1n,Rht=2n**176n-1n,Oht=2n**184n-1n,Bht=2n**192n-1n,Mht=2n**200n-1n,Dht=2n**208n-1n,Nht=2n**216n-1n,Uht=2n**224n-1n,$ht=2n**232n-1n,zht=2n**240n-1n,Lht=2n**248n-1n,ys=2n**256n-1n});function Uo(e){let{account:t,maxFeePerGas:r,maxPriorityFeePerGas:n,to:o}=e,i=t?tt(t):void 0;if(i&&!Et(i.address))throw new vr({address:i.address});if(o&&!Et(o))throw new vr({address:o});if(r&&r>ys)throw new ps({maxFeePerGas:r});if(n&&r&&n>r)throw new Hc({maxFeePerGas:r,maxPriorityFeePerGas:n})}var Vu=x(()=>{u();Zr();cb();Xs();up();Ki()});var iv,dh,nI,jS=x(()=>{u();Uy();ht();iv=class extends oe{constructor(){super(\"`baseFeeMultiplier` must be greater than 1.\",{name:\"BaseFeeScalarError\"})}},dh=class extends oe{constructor(){super(\"Chain does not support EIP-1559 fees.\",{name:\"Eip1559FeesNotSupportedError\"})}},nI=class extends oe{constructor({maxPriorityFeePerGas:t}){super(`\\\\`maxFeePerGas\\\\` cannot be less than the \\\\`maxPriorityFeePerGas\\\\` (${to(t)} gwei).`,{name:\"MaxFeePerGasTooLowError\"})}}});var av,Mj=x(()=>{u();ht();av=class extends oe{constructor({blockHash:t,blockNumber:r}){let n=\"Block\";t&&(n=`Block at hash \"${t}\"`),r&&(n=`Block at number \"${r}\"`),super(`${n} could not be found.`,{name:\"BlockNotFoundError\"})}}});function ic(e,t){let r={...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,...e.blockTimestamp!=null&&{blockTimestamp:BigInt(e.blockTimestamp)},chainId:e.chainId?Gr(e.chainId):void 0,gas:e.gas?BigInt(e.gas):void 0,gasPrice:e.gasPrice?BigInt(e.gasPrice):void 0,maxFeePerBlobGas:e.maxFeePerBlobGas?BigInt(e.maxFeePerBlobGas):void 0,maxFeePerGas:e.maxFeePerGas?BigInt(e.maxFeePerGas):void 0,maxPriorityFeePerGas:e.maxPriorityFeePerGas?BigInt(e.maxPriorityFeePerGas):void 0,nonce:e.nonce?Gr(e.nonce):void 0,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,type:e.type?Dj[e.type]:void 0,typeHex:e.type?e.type:void 0,value:e.value?BigInt(e.value):void 0,v:e.v?BigInt(e.v):void 0};return e.authorizationList&&(r.authorizationList=Hht(e.authorizationList)),r.yParity=(()=>{if(e.yParity)return Number(e.yParity);if(typeof r.v==\"bigint\"){if(r.v===0n||r.v===27n)return 0;if(r.v===1n||r.v===28n)return 1;if(r.v>=35n)return r.v%2n===0n?1:0}})(),r.type===\"legacy\"&&(delete r.accessList,delete r.maxFeePerBlobGas,delete r.maxFeePerGas,delete r.maxPriorityFeePerGas,delete r.yParity),r.type===\"eip2930\"&&(delete r.maxFeePerBlobGas,delete r.maxFeePerGas,delete r.maxPriorityFeePerGas),r.type===\"eip1559\"&&delete r.maxFeePerBlobGas,r}function Hht(e){return e.map(t=>({address:t.address,chainId:Number(t.chainId),nonce:Number(t.nonce),r:t.r,s:t.s,yParity:Number(t.yParity)}))}var Dj,fh,hd=x(()=>{u();Kn();LS();Dj={\"0x0\":\"legacy\",\"0x1\":\"eip2930\",\"0x2\":\"eip1559\",\"0x3\":\"eip4844\",\"0x4\":\"eip7702\"};fh=uh(\"transaction\",ic)});function FS(e,t){let r=(e.transactions??[]).map(n=>typeof n==\"string\"?n:ic(n));return{...e,baseFeePerGas:e.baseFeePerGas?BigInt(e.baseFeePerGas):null,blobGasUsed:e.blobGasUsed?BigInt(e.blobGasUsed):void 0,difficulty:e.difficulty?BigInt(e.difficulty):void 0,excessBlobGas:e.excessBlobGas?BigInt(e.excessBlobGas):void 0,gasLimit:e.gasLimit?BigInt(e.gasLimit):void 0,gasUsed:e.gasUsed?BigInt(e.gasUsed):void 0,hash:e.hash?e.hash:null,logsBloom:e.logsBloom?e.logsBloom:null,nonce:e.nonce?e.nonce:null,number:e.number?BigInt(e.number):null,size:e.size?BigInt(e.size):void 0,timestamp:e.timestamp?BigInt(e.timestamp):void 0,transactions:r,totalDifficulty:e.totalDifficulty?BigInt(e.totalDifficulty):null}}var sv,cv=x(()=>{u();LS();hd();sv=uh(\"block\",FS)});async function ci(e,{blockHash:t,blockNumber:r,blockTag:n=e.experimental_blockTag??\"latest\",includeTransactions:o}={}){let i=o??!1,c=r!==void 0?le(r):void 0,l=null;if(t?l=await e.request({method:\"eth_getBlockByHash\",params:[t,i]},{dedupe:!0}):l=await e.request({method:\"eth_getBlockByNumber\",params:[c||n,i]},{dedupe:!!c}),!l)throw new av({blockHash:t,blockNumber:r});return(e.chain?.formatters?.block?.format||FS)(l,\"getBlock\")}var ph=x(()=>{u();Mj();ot();cv()});async function uv(e){let t=await e.request({method:\"eth_gasPrice\"});return BigInt(t)}var oI=x(()=>{u()});async function Kpe(e,t){return Nj(e,t)}async function Nj(e,t){let{block:r,chain:n=e.chain,request:o}=t||{};try{let i=n?.fees?.maxPriorityFeePerGas??n?.fees?.defaultPriorityFee;if(typeof i==\"function\"){let l=r||await Ce(e,ci,\"getBlock\")({}),f=await i({block:l,client:e,request:o});if(f===null)throw new Error;return f}if(typeof i<\"u\")return i;let c=await e.request({method:\"eth_maxPriorityFeePerGas\"});return it(c)}catch{let[i,c]=await Promise.all([r?Promise.resolve(r):Ce(e,ci,\"getBlock\")({}),Ce(e,uv,\"getGasPrice\")({})]);if(typeof i.baseFeePerGas!=\"bigint\")throw new dh;let l=c-i.baseFeePerGas;return l<0n?0n:l}}var Uj=x(()=>{u();jS();Kn();Yt();ph();oI()});async function iI(e,t){return aI(e,t)}async function aI(e,t){let{block:r,chain:n=e.chain,request:o,type:i=\"eip1559\"}=t||{},c=await(async()=>typeof n?.fees?.baseFeeMultiplier==\"function\"?n.fees.baseFeeMultiplier({block:r,client:e,request:o}):n?.fees?.baseFeeMultiplier??1.2)();if(c<1)throw new iv;let f=10**(c.toString().split(\".\")[1]?.length??0),p=w=>w*BigInt(Math.ceil(c*f))/BigInt(f),h=r||await Ce(e,ci,\"getBlock\")({});if(typeof n?.fees?.estimateFeesPerGas==\"function\"){let w=await n.fees.estimateFeesPerGas({block:r,client:e,multiply:p,request:o,type:i});if(w!==null)return w}if(i===\"eip1559\"){if(typeof h.baseFeePerGas!=\"bigint\")throw new dh;let w=typeof o?.maxPriorityFeePerGas==\"bigint\"?o.maxPriorityFeePerGas:await Nj(e,{block:h,chain:n,request:o}),E=p(h.baseFeePerGas);return{maxFeePerGas:o?.maxFeePerGas??E+w,maxPriorityFeePerGas:w}}return{gasPrice:o?.gasPrice??p(await Ce(e,uv,\"getGasPrice\")({}))}}var sI=x(()=>{u();jS();Yt();Uj();ph();oI()});async function mh(e,{address:t,blockTag:r=\"latest\",blockNumber:n}){let o=await e.request({method:\"eth_getTransactionCount\",params:[t,typeof n==\"bigint\"?le(n):r]},{dedupe:!!n});return Gr(o)}var VS=x(()=>{u();Kn();ot()});function lv(e){let{kzg:t}=e,r=e.to??(typeof e.blobs[0]==\"string\"?\"hex\":\"bytes\"),n=typeof e.blobs[0]==\"string\"?e.blobs.map(i=>Kr(i)):e.blobs,o=[];for(let i of n)o.push(Uint8Array.from(t.blobToKzgCommitment(i)));return r===\"bytes\"?o:o.map(i=>br(i))}var cI=x(()=>{u();fo();ot()});function dv(e){let{kzg:t}=e,r=e.to??(typeof e.blobs[0]==\"string\"?\"hex\":\"bytes\"),n=typeof e.blobs[0]==\"string\"?e.blobs.map(c=>Kr(c)):e.blobs,o=typeof e.commitments[0]==\"string\"?e.commitments.map(c=>Kr(c)):e.commitments,i=[];for(let c=0;c<n.length;c++){let l=n[c],f=o[c];i.push(Uint8Array.from(t.computeBlobKzgProof(l,f)))}return r===\"bytes\"?i:i.map(c=>br(c))}var uI=x(()=>{u();fo();ot()});var fv,lI=x(()=>{u();Hx();fv=nc});function dI(e,t){let r=t||\"hex\",n=fv(Vr(e,{strict:!1})?Si(e):e);return r===\"bytes\"?n:rt(n)}var $j=x(()=>{u();lI();Dc();fo();ot()});function Zpe(e){let{commitment:t,version:r=1}=e,n=e.to??(typeof t==\"string\"?\"hex\":\"bytes\"),o=dI(t,\"bytes\");return o.set([r],0),n===\"bytes\"?o:br(o)}var Wpe=x(()=>{u();ot();$j()});function fI(e){let{commitments:t,version:r}=e,n=e.to??(typeof t[0]==\"string\"?\"hex\":\"bytes\"),o=[];for(let i of t)o.push(Zpe({commitment:i,to:n,version:r}));return o}var zj=x(()=>{u();Wpe()});var pI,pv,mI,hI,Lj=x(()=>{u();ht();pI=class extends oe{constructor({maxSize:t,size:r}){super(\"Blob size is too large.\",{metaMessages:[`Max: ${t} bytes`,`Given: ${r} bytes`],name:\"BlobSizeTooLargeError\"})}},pv=class extends oe{constructor(){super(\"Blob data must not be empty.\",{name:\"EmptyBlobError\"})}},mI=class extends oe{constructor({hash:t,size:r}){super(`Versioned hash \"${t}\" size is invalid.`,{metaMessages:[\"Expected: 32\",`Received: ${r}`],name:\"InvalidVersionedHashSizeError\"})}},hI=class extends oe{constructor({hash:t,version:r}){super(`Versioned hash \"${t}\" version is invalid.`,{metaMessages:[`Expected: ${1}`,`Received: ${r}`],name:\"InvalidVersionedHashVersionError\"})}}});function Jpe(e){let t=e.to??(typeof e.data==\"string\"?\"hex\":\"bytes\"),r=typeof e.data==\"string\"?Kr(e.data):e.data,n=qt(r);if(!n)throw new pv;if(n>761855)throw new pI({maxSize:761855,size:n});let o=[],i=!0,c=0;for(;i;){let l=Px(new Uint8Array(131072)),f=0;for(;f<4096;){let p=r.slice(c,c+31);if(l.pushByte(0),l.pushBytes(p),p.length<31){l.pushByte(128),i=!1;break}f++,c+=31}o.push(l)}return t===\"bytes\"?o.map(l=>l.bytes):o.map(l=>br(l.bytes))}var Qpe=x(()=>{u();Lj();O4();xa();fo();ot()});function yI(e){let{data:t,kzg:r,to:n}=e,o=e.blobs??Jpe({data:t,to:n}),i=e.commitments??lv({blobs:o,kzg:r,to:n}),c=e.proofs??dv({blobs:o,commitments:i,kzg:r,to:n}),l=[];for(let f=0;f<o.length;f++)l.push({blob:o[f],commitment:i[f],proof:c[f]});return l}var Hj=x(()=>{u();cI();uI();Qpe()});function mv(e){if(e.type)return e.type;if(typeof e.authorizationList<\"u\")return\"eip7702\";if(typeof e.blobs<\"u\"||typeof e.blobVersionedHashes<\"u\"||typeof e.maxFeePerBlobGas<\"u\"||typeof e.sidecars<\"u\")return\"eip4844\";if(typeof e.maxFeePerGas<\"u\"||typeof e.maxPriorityFeePerGas<\"u\")return\"eip1559\";if(typeof e.gasPrice<\"u\")return typeof e.accessList<\"u\"?\"eip2930\":\"legacy\";throw new z4({transaction:e})}var bI=x(()=>{u();ec()});function hh(e,{docsPath:t,...r}){let n=(()=>{let o=sh(e,r);return o instanceof jc?e:o})();return new H4(n,{docsPath:t,...r})}var qS=x(()=>{u();up();ec();zS()});async function $o(e){let t=await e.request({method:\"eth_chainId\"},{dedupe:!0});return Gr(t)}var qu=x(()=>{u();Kn()});async function hv(e,t){let{account:r=e.account,accessList:n,authorizationList:o,chain:i=e.chain,blobVersionedHashes:c,blobs:l,data:f,gas:p,gasPrice:h,maxFeePerBlobGas:y,maxFeePerGas:w,maxPriorityFeePerGas:E,nonce:A,nonceManager:C,to:R,type:M,value:D,...$}=t,H=await(async()=>{if(!r||!C||typeof A<\"u\")return A;let Q=tt(r),X=i?i.id:await Ce(e,$o,\"getChainId\")({});return await C.consume({address:Q.address,chainId:X,client:e})})();Uo(t);let V=i?.formatters?.transactionRequest?.format,K=(V||So)({...ms($,{format:V}),account:r?tt(r):void 0,accessList:n,authorizationList:o,blobs:l,blobVersionedHashes:c,data:f,gas:p,gasPrice:h,maxFeePerBlobGas:y,maxFeePerGas:w,maxPriorityFeePerGas:E,nonce:H,to:R,type:M,value:D},\"fillTransaction\");try{let Q=await e.request({method:\"eth_fillTransaction\",params:[K]}),Y=(i?.formatters?.transaction?.format||ic)(Q.tx);delete Y.blockHash,delete Y.blockNumber,delete Y.r,delete Y.s,delete Y.transactionIndex,delete Y.v,delete Y.yParity,Y.data=Y.input,Y.gas&&(Y.gas=t.gas??Y.gas),Y.gasPrice&&(Y.gasPrice=t.gasPrice??Y.gasPrice),Y.maxFeePerBlobGas&&(Y.maxFeePerBlobGas=t.maxFeePerBlobGas??Y.maxFeePerBlobGas),Y.maxFeePerGas&&(Y.maxFeePerGas=t.maxFeePerGas??Y.maxFeePerGas),Y.maxPriorityFeePerGas&&(Y.maxPriorityFeePerGas=t.maxPriorityFeePerGas??Y.maxPriorityFeePerGas),typeof Y.nonce<\"u\"&&(Y.nonce=t.nonce??Y.nonce);let fe=await(async()=>{if(typeof i?.fees?.baseFeeMultiplier==\"function\"){let k=await Ce(e,ci,\"getBlock\")({});return i.fees.baseFeeMultiplier({block:k,client:e,request:t})}return i?.fees?.baseFeeMultiplier??1.2})();if(fe<1)throw new iv;let N=10**(fe.toString().split(\".\")[1]?.length??0),_=k=>k*BigInt(Math.ceil(fe*N))/BigInt(N);return Y.feePayerSignature||(Y.maxFeePerGas&&!t.maxFeePerGas&&(Y.maxFeePerGas=_(Y.maxFeePerGas)),Y.gasPrice&&!t.gasPrice&&(Y.gasPrice=_(Y.gasPrice))),{raw:Q.raw,transaction:{from:K.from,...Y},...Q.capabilities?{capabilities:Q.capabilities}:{}}}catch(Q){throw hh(Q,{...t,chain:e.chain})}}var gI=x(()=>{u();Zr();jS();qS();ch();hd();hs();Yt();Vu();ph();qu()});async function yd(e,t){let r=t;r.account??(r.account=e.account),r.parameters??(r.parameters=GS);let{account:n,chain:o=e.chain,nonceManager:i,parameters:c}=r,l=(()=>{if(typeof o?.prepareTransactionRequest==\"function\")return{fn:o.prepareTransactionRequest,runAt:[\"beforeFillTransaction\"]};if(Array.isArray(o?.prepareTransactionRequest))return{fn:o.prepareTransactionRequest[0],runAt:o.prepareTransactionRequest[1].runAt}})(),f;async function p(){return f||(typeof r.chainId<\"u\"?r.chainId:o?o.id:(f=await Ce(e,$o,\"getChainId\")({}),f))}let h=n&&tt(n),y=r.nonce;if(c.includes(\"nonce\")&&typeof y>\"u\"&&h&&i){let H=await p();y=await i.consume({address:h.address,chainId:H,client:e})}l?.fn&&l.runAt?.includes(\"beforeFillTransaction\")&&(r=await l.fn({...r,chain:o},{phase:\"beforeFillTransaction\"}),y??(y=r.nonce));let E=((c.includes(\"blobVersionedHashes\")||c.includes(\"sidecars\"))&&r.kzg&&r.blobs||jj.get(e.uid)===!1||![\"fees\",\"gas\"].some(V=>c.includes(V))?!1:!!(c.includes(\"chainId\")&&typeof r.chainId!=\"number\"||c.includes(\"nonce\")&&typeof y!=\"number\"||c.includes(\"fees\")&&typeof r.gasPrice!=\"bigint\"&&(typeof r.maxFeePerGas!=\"bigint\"||typeof r.maxPriorityFeePerGas!=\"bigint\")||c.includes(\"gas\")&&typeof r.gas!=\"bigint\"))?await Ce(e,hv,\"fillTransaction\")({...r,nonce:y}).then(H=>{let{chainId:V,from:G,gas:K,gasPrice:Q,nonce:X,maxFeePerBlobGas:Y,maxFeePerGas:fe,maxPriorityFeePerGas:ce,type:N,..._}=H.transaction;return jj.set(e.uid,!0),{...r,...G?{from:G}:{},...N&&!r.type?{type:N}:{},...typeof V<\"u\"?{chainId:V}:{},...typeof K<\"u\"?{gas:K}:{},...typeof Q<\"u\"?{gasPrice:Q}:{},...typeof X<\"u\"?{nonce:X}:{},...typeof Y<\"u\"&&r.type!==\"legacy\"&&r.type!==\"eip2930\"?{maxFeePerBlobGas:Y}:{},...typeof fe<\"u\"&&r.type!==\"legacy\"&&r.type!==\"eip2930\"?{maxFeePerGas:fe}:{},...typeof ce<\"u\"&&r.type!==\"legacy\"&&r.type!==\"eip2930\"?{maxPriorityFeePerGas:ce}:{},...\"nonceKey\"in _&&typeof _.nonceKey<\"u\"?{nonceKey:_.nonceKey}:{},...\"keyAuthorization\"in _&&typeof _.keyAuthorization<\"u\"&&_.keyAuthorization!==null&&!(\"keyAuthorization\"in r)?{keyAuthorization:_.keyAuthorization}:{},...\"feePayerSignature\"in _&&typeof _.feePayerSignature<\"u\"&&_.feePayerSignature!==null?{feePayerSignature:_.feePayerSignature}:{},...\"feeToken\"in _&&typeof _.feeToken<\"u\"&&_.feeToken!==null&&!(\"feeToken\"in r)?{feeToken:_.feeToken}:{},...H.capabilities?{_capabilities:H.capabilities}:{}}}).catch(H=>{let V=H;if(V.name!==\"TransactionExecutionError\")return r;if(V.walk?.(Q=>Q.name===\"ExecutionRevertedError\"))throw H;return V.walk?.(Q=>{let X=Q;return X.name===\"MethodNotFoundRpcError\"||X.name===\"MethodNotSupportedRpcError\"||X.message?.includes(\"eth_fillTransaction is not available\")})&&jj.set(e.uid,!1),r}):r;y??(y=E.nonce),r={...E,...h?{from:h?.address}:{},...typeof y<\"u\"?{nonce:y}:{}};let{blobs:A,gas:C,kzg:R,type:M}=r;l?.fn&&l.runAt?.includes(\"beforeFillParameters\")&&(r=await l.fn({...r,chain:o},{phase:\"beforeFillParameters\"}));let D;async function $(){return D||(D=await Ce(e,ci,\"getBlock\")({blockTag:\"latest\"}),D)}if(c.includes(\"nonce\")&&typeof y>\"u\"&&h&&!i&&(r.nonce=await Ce(e,mh,\"getTransactionCount\")({address:h.address,blockTag:\"pending\"})),(c.includes(\"blobVersionedHashes\")||c.includes(\"sidecars\"))&&A&&R){let H=lv({blobs:A,kzg:R});if(c.includes(\"blobVersionedHashes\")){let V=fI({commitments:H,to:\"hex\"});r.blobVersionedHashes=V}if(c.includes(\"sidecars\")){let V=dv({blobs:A,commitments:H,kzg:R}),G=yI({blobs:A,commitments:H,proofs:V,to:\"hex\"});r.sidecars=G}}if(c.includes(\"chainId\")&&(r.chainId=await p()),(c.includes(\"fees\")||c.includes(\"type\"))&&typeof M>\"u\")try{r.type=mv(r)}catch{let H=Ype.get(e.uid);typeof H>\"u\"&&(H=typeof(await $())?.baseFeePerGas==\"bigint\",Ype.set(e.uid,H)),r.type=H?\"eip1559\":\"legacy\"}if(c.includes(\"fees\"))if(r.type!==\"legacy\"&&r.type!==\"eip2930\"){if(typeof r.maxFeePerGas>\"u\"||typeof r.maxPriorityFeePerGas>\"u\"){let H=await $(),{maxFeePerGas:V,maxPriorityFeePerGas:G}=await aI(e,{block:H,chain:o,request:r});if(typeof r.maxPriorityFeePerGas>\"u\"&&r.maxFeePerGas&&r.maxFeePerGas<G)throw new nI({maxPriorityFeePerGas:G});r.maxPriorityFeePerGas=G,r.maxFeePerGas=V}}else{if(typeof r.maxFeePerGas<\"u\"||typeof r.maxPriorityFeePerGas<\"u\")throw new dh;if(typeof r.gasPrice>\"u\"){let H=await $(),{gasPrice:V}=await aI(e,{block:H,chain:o,request:r,type:\"legacy\"});r.gasPrice=V}}return c.includes(\"gas\")&&typeof C>\"u\"&&(r.gas=await Ce(e,bv,\"estimateGas\")({...r,account:h,prepare:h?.type===\"local\"?[]:[\"blobVersionedHashes\"]})),l?.fn&&l.runAt?.includes(\"afterFillParameters\")&&(r=await l.fn({...r,chain:o},{phase:\"afterFillParameters\"})),Uo(r),delete r.parameters,r}var GS,Ype,jj,yv=x(()=>{u();Zr();sI();xI();ph();VS();jS();cI();uI();zj();Hj();Yt();Zm();Vu();bI();gI();qu();GS=[\"blobVersionedHashes\",\"chainId\",\"fees\",\"gas\",\"nonce\",\"type\"],Ype=new Map,jj=new Gi(128)});async function bv(e,t){let{account:r=e.account,prepare:n=!0}=t,o=r?tt(r):void 0,i=(()=>{if(Array.isArray(n))return n;if(o?.type!==\"local\")return[\"blobVersionedHashes\"]})();try{let c=await(async()=>{if(t.to)return t.to;if(t.authorizationList&&t.authorizationList.length>0)return await ah({authorization:t.authorizationList[0]}).catch(()=>{throw new oe(\"`to` is required. Could not infer from `authorizationList`\")})})(),{accessList:l,authorizationList:f,blobs:p,blobVersionedHashes:h,blockNumber:y,blockTag:w,data:E,gas:A,gasPrice:C,maxFeePerBlobGas:R,maxFeePerGas:M,maxPriorityFeePerGas:D,nonce:$,value:H,stateOverride:V,...G}=n?await yd(e,{...t,parameters:i,to:c}):t;if(A&&t.gas!==A)return A;let Q=(typeof y==\"bigint\"?le(y):void 0)||w,X=lh(V);Uo(t);let Y=e.chain?.formatters?.transactionRequest?.format,ce=(Y||So)({...ms(G,{format:Y}),account:o,accessList:l,authorizationList:f,blobs:p,blobVersionedHashes:h,data:E,gasPrice:C,maxFeePerBlobGas:R,maxFeePerGas:M,maxPriorityFeePerGas:D,nonce:$,to:c,value:H},\"estimateGas\");return BigInt(await e.request({method:\"eth_estimateGas\",params:X?[ce,Q??e.experimental_blockTag??\"latest\",X]:Q?[ce,Q]:[ce]}))}catch(c){throw Vpe(c,{...t,account:o,chain:e.chain})}}var xI=x(()=>{u();Zr();ht();$S();ot();qpe();ch();hs();HS();Vu();yv()});async function Xpe(e,t){let{abi:r,address:n,args:o,functionName:i,dataSuffix:c=typeof e.dataSuffix==\"string\"?e.dataSuffix:e.dataSuffix?.value,...l}=t,f=vt({abi:r,args:o,functionName:i});try{return await Ce(e,bv,\"estimateGas\")({data:`${f}${c?c.replace(\"0x\",\"\"):\"\"}`,to:n,...l})}catch(p){let h=l.account?tt(l.account):void 0;throw rc(p,{abi:r,address:n,args:o,docsPath:\"/docs/contract/estimateContractGas\",functionName:i,sender:h?.address})}}var eme=x(()=>{u();Zr();ki();nb();Yt();xI()});function Wi(e,t){if(!Et(e,{strict:!1}))throw new vr({address:e});if(!Et(t,{strict:!1}))throw new vr({address:t});return e.toLowerCase()===t.toLowerCase()}var yh=x(()=>{u();Xs();Ki()});function po(e,{args:t,eventName:r}={}){return{...e,blockHash:e.blockHash?e.blockHash:null,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,blockTimestamp:e.blockTimestamp?BigInt(e.blockTimestamp):e.blockTimestamp===null?null:void 0,logIndex:e.logIndex?Number(e.logIndex):null,transactionHash:e.transactionHash?e.transactionHash:null,transactionIndex:e.transactionIndex?Number(e.transactionIndex):null,...r?{args:t,eventName:r}:{}}}var Gu=x(()=>{u()});function ub(e){let{abi:t,data:r,strict:n,topics:o}=e,i=n??!0,[c,...l]=o;if(!c)throw new o4({docsPath:tme});let f=t.find(M=>M.type===\"event\"&&c===Km(Wo(M)));if(!(f&&\"name\"in f)||f.type!==\"event\")throw new i4(c,{docsPath:tme});let{name:p,inputs:h}=f,y=h?.some(M=>!(\"name\"in M&&M.name)),w=y?[]:{},E=h.map((M,D)=>[M,D]).filter(([M])=>\"indexed\"in M&&M.indexed),A=[];for(let M=0;M<E.length;M++){let[D,$]=E[M],H=l[M];if(!H){if(i)throw new jm({abiItem:f,param:D});A.push([D,$]);continue}w[y?$:D.name||$]=Vht({param:D,value:H})}let C=h.filter(M=>!(\"indexed\"in M&&M.indexed)),R=i?C:[...A.map(([M])=>M),...C];if(R.length>0){if(r&&r!==\"0x\")try{let M=ds(R,r);if(M){let D=0;if(!i)for(let[$,H]of A)w[y?H:$.name||H]=M[D++];if(y)for(let $=0;$<h.length;$++)w[$]===void 0&&D<M.length&&(w[$]=M[D++]);else for(let $=0;$<C.length;$++)w[C[$].name]=M[D++]}}catch(M){if(i)throw M instanceof gx||M instanceof Ix?new jf({abiItem:f,data:r,params:R,size:qt(r)}):M}else if(i)throw new jf({abiItem:f,data:\"0x\",params:R,size:0})}return{eventName:p,args:Object.values(w).length>0?w:void 0}}function Vht({param:e,value:t}){return e.type===\"string\"||e.type===\"bytes\"||e.type===\"tuple\"||e.type.match(/^(.*)\\\\[(\\\\d+)?\\\\]$/)?t:(ds([e],t)||[])[0]}var tme,vI=x(()=>{u();lo();YH();xa();vS();Ox();Hf();tme=\"/docs/contract/decodeEventLog\"});function bd(e){let{abi:t,args:r,logs:n,strict:o=!0}=e,i=(()=>{if(e.eventName)return Array.isArray(e.eventName)?e.eventName:[e.eventName]})(),c=t.filter(l=>l.type===\"event\").map(l=>({abi:l,selector:Km(l)}));return n.map(l=>{let f=typeof l.blockNumber==\"string\"?po(l):l,p=c.filter(w=>f.topics[0]===w.selector);if(p.length===0)return null;let h,y;for(let w of p)try{h=ub({...f,abi:[w.abi],strict:!0}),y=w;break}catch{}if(!h&&!o){y=p[0];try{h=ub({data:f.data,topics:f.topics,abi:[y.abi],strict:!1})}catch{let w=y.abi.inputs?.some(E=>!(\"name\"in E&&E.name));return{...f,args:w?[]:{},eventName:y.abi.name}}}return!h||!y||i&&!i.includes(h.eventName)||!qht({args:h.args,inputs:y.abi.inputs,matchArgs:r})?null:{...h,...f}}).filter(Boolean)}function qht(e){let{args:t,inputs:r,matchArgs:n}=e;if(!n)return!0;if(!t)return!1;function o(i,c,l){try{return i.type===\"address\"?Wi(c,l):i.type===\"string\"||i.type===\"bytes\"?Gt(Si(c))===l:c===l}catch{return!1}}return Array.isArray(t)&&Array.isArray(n)?n.every((i,c)=>{if(i==null)return!0;let l=r[c];return l?(Array.isArray(i)?i:[i]).some(p=>o(l,p,t[c])):!1}):typeof t==\"object\"&&!Array.isArray(t)&&typeof n==\"object\"&&!Array.isArray(n)?Object.entries(n).every(([i,c])=>{if(c==null)return!0;let l=r.find(p=>p.name===i);return l?(Array.isArray(c)?c:[c]).some(p=>o(l,p,t[i])):!1}):!1}var KS=x(()=>{u();yh();fo();Gu();us();vS();vI()});async function gv(e,{address:t,blockHash:r,fromBlock:n,toBlock:o,event:i,events:c,args:l,strict:f}={}){let p=f??!1,h=c??(i?[i]:void 0),y=[];h&&(y=[h.flatMap(C=>ld({abi:[C],eventName:C.name,args:c?void 0:l}))],i&&(y=y[0]));let w;r?w=await e.request({method:\"eth_getLogs\",params:[{address:t,topics:y,blockHash:r}]}):w=await e.request({method:\"eth_getLogs\",params:[{address:t,topics:y,fromBlock:typeof n==\"bigint\"?le(n):n,toBlock:typeof o==\"bigint\"?le(o):o}]});let E=w.map(A=>po(A));return h?bd({abi:h,args:l,logs:E,strict:p}):E}var wI=x(()=>{u();Tx();KS();ot();Gu()});async function EI(e,t){let{abi:r,address:n,args:o,blockHash:i,eventName:c,fromBlock:l,toBlock:f,strict:p}=t,h=c?ls({abi:r,name:c}):void 0,y=h?void 0:r.filter(w=>w.type===\"event\");return Ce(e,gv,\"getLogs\")({address:n,args:o,blockHash:i,event:h,events:y,fromBlock:l,toBlock:f,strict:p})}var Fj=x(()=>{u();Wm();Yt();wI()});function Ji(e){let{abi:t,args:r,functionName:n,data:o}=e,i=t[0];if(n){let l=ls({abi:t,args:r,name:n});if(!l)throw new Nu(n,{docsPath:Vj});i=l}if(i.type!==\"function\")throw new Nu(void 0,{docsPath:Vj});if(!i.outputs)throw new wx(i.name,{docsPath:Vj});let c=ds(i.outputs,o);if(c&&c.length>1)return c;if(c&&c.length===1)return c[0]}var Vj,lp=x(()=>{u();lo();Ox();Wm();Vj=\"/docs/contract/decodeFunctionResult\"});var rme,nme=x(()=>{u();rme=\"0.1.1\"});function ome(){return rme}var ime=x(()=>{u();nme()});function ame(e,t){return t?.(e)?e:e&&typeof e==\"object\"&&\"cause\"in e&&e.cause?ame(e.cause,t):t?null:e}var He,Jo=x(()=>{u();ime();He=class e extends Error{static setStaticOptions(t){e.prototype.docsOrigin=t.docsOrigin,e.prototype.showVersion=t.showVersion,e.prototype.version=t.version}constructor(t,r={}){let n=(()=>{if(r.cause instanceof e){if(r.cause.details)return r.cause.details;if(r.cause.shortMessage)return r.cause.shortMessage}return r.cause&&\"details\"in r.cause&&typeof r.cause.details==\"string\"?r.cause.details:r.cause?.message?r.cause.message:r.details})(),o=r.cause instanceof e&&r.cause.docsPath||r.docsPath,i=r.docsOrigin??e.prototype.docsOrigin,c=`${i}${o??\"\"}`,l=!!(r.version??e.prototype.showVersion),f=r.version??e.prototype.version,p=[t||\"An error occurred.\",...r.metaMessages?[\"\",...r.metaMessages]:[],...n||o||l?[\"\",n?`Details: ${n}`:void 0,o?`See: ${c}`:void 0,l?`Version: ${f}`:void 0]:[]].filter(h=>typeof h==\"string\").join(`\\n`);super(p,r.cause?{cause:r.cause}:void 0),Object.defineProperty(this,\"details\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"docs\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"docsOrigin\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"docsPath\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"shortMessage\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"showVersion\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"version\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"cause\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"BaseError\"}),this.cause=r.cause,this.details=n,this.docs=c,this.docsOrigin=i,this.docsPath=o,this.shortMessage=t,this.showVersion=l,this.version=f}walk(t){return ame(this,t)}};Object.defineProperty(He,\"defaultStaticOptions\",{enumerable:!0,configurable:!0,writable:!0,value:{docsOrigin:\"https://oxlib.sh\",showVersion:!1,version:`ox@${ome()}`}});He.setStaticOptions(He.defaultStaticOptions)});function bh(e,t){if(Fc(e)>t)throw new _I({givenSize:Fc(e),maxSize:t})}function sme(e,t){if(typeof t==\"number\"&&t>0&&t>Fc(e)-1)throw new ZS({offset:t,position:\"start\",size:Fc(e)})}function cme(e,t,r){if(typeof t==\"number\"&&typeof r==\"number\"&&Fc(e)!==r-t)throw new ZS({offset:r,position:\"end\",size:Fc(e)})}function qj(e){if(e>=dp.zero&&e<=dp.nine)return e-dp.zero;if(e>=dp.A&&e<=dp.F)return e-(dp.A-10);if(e>=dp.a&&e<=dp.f)return e-(dp.a-10)}function ume(e,t={}){let{dir:r,size:n=32}=t;if(n===0)return e;if(e.length>n)throw new SI({size:e.length,targetSize:n,type:\"Bytes\"});let o=new Uint8Array(n);for(let i=0;i<n;i++){let c=r===\"right\";o[c?i:n-i-1]=e[c?i:e.length-i-1]}return o}function Gj(e,t={}){let{dir:r=\"left\"}=t,n=e,o=0;for(let i=0;i<n.length-1&&n[r===\"left\"?i:n.length-i-1].toString()===\"0\";i++)o++;return n=r===\"left\"?n.slice(o):n.slice(0,n.length-o),n}var dp,Kj=x(()=>{u();Vc();dp={zero:48,nine:57,A:65,F:70,a:97,f:102}});function xv(e,t){if(Sr(e)>t)throw new AI({givenSize:Sr(e),maxSize:t})}function dme(e,t){if(typeof t==\"number\"&&t>0&&t>Sr(e)-1)throw new WS({offset:t,position:\"start\",size:Sr(e)})}function fme(e,t,r){if(typeof t==\"number\"&&typeof r==\"number\"&&Sr(e)!==r-t)throw new WS({offset:r,position:\"end\",size:Sr(e)})}function Zj(e,t={}){let{dir:r,size:n=32}=t;if(n===0)return e;let o=e.replace(\"0x\",\"\");if(o.length>n*2)throw new kI({size:Math.ceil(o.length/2),targetSize:n,type:\"Hex\"});return`0x${o[r===\"right\"?\"padEnd\":\"padStart\"](n*2,\"0\")}`}function pme(e,t={}){let{dir:r=\"left\"}=t,n=e.replace(\"0x\",\"\"),o=0;for(let i=0;i<n.length-1&&n[r===\"left\"?i:n.length-i-1].toString()===\"0\";i++)o++;return n=r===\"left\"?n.slice(o):n.slice(0,n.length-o),n===\"0\"?\"0x\":r===\"right\"&&n.length%2===1?`0x${n}0`:`0x${n}`}var Wj=x(()=>{u();Ar()});function Zu(e,t,r){return JSON.stringify(e,(n,o)=>typeof t==\"function\"?t(n,o):typeof o==\"bigint\"?o.toString()+Ght:o,r)}var Ght,vv=x(()=>{u();Ght=\"#__bigint\"});function Wht(e){if(!(e instanceof Uint8Array)){if(!e)throw new wv(e);if(typeof e!=\"object\")throw new wv(e);if(!(\"BYTES_PER_ELEMENT\"in e))throw new wv(e);if(e.BYTES_PER_ELEMENT!==1||e.constructor.name!==\"Uint8Array\")throw new wv(e)}}function hme(...e){let t=0;for(let n of e)t+=n.length;let r=new Uint8Array(t);for(let n=0,o=0;n<e.length;n++){let i=e[n];r.set(i,o),o+=i.length}return r}function QS(e){return e instanceof Uint8Array?e:typeof e==\"string\"?bs(e):Jht(e)}function Jht(e){return e instanceof Uint8Array?e:new Uint8Array(e)}function bs(e,t={}){let{size:r}=t,n=e;r&&(xv(e,r),n=xd(e,r));let o=n.slice(2);o.length%2&&(o=`0${o}`);let i=o.length/2,c=new Uint8Array(i);for(let l=0,f=0;l<i;l++){let p=qj(o.charCodeAt(f++)),h=qj(o.charCodeAt(f++));if(p===void 0||h===void 0)throw new He(`Invalid byte sequence (\"${o[f-2]}${o[f-1]}\" in \"${o}\").`);c[l]=p<<4|h}return c}function CI(e,t={}){let{size:r}=t,n=Zht.encode(e);return typeof r==\"number\"?(bh(n,r),Qht(n,r)):n}function yme(e,t){return ipe(e,t)}function Qht(e,t){return ume(e,{dir:\"right\",size:t})}function bme(e){return crypto.getRandomValues(new Uint8Array(e))}function Fc(e){return e.length}function gme(e,t,r,n={}){let{strict:o}=n;sme(e,t);let i=e.slice(t,r);return o&&cme(i,t,r),i}function xme(e,t={}){let{size:r}=t;typeof r<\"u\"&&bh(e,r);let n=sn(e,t);return gr(n,t)}function vme(e,t={}){let{size:r}=t,n=e;if(typeof r<\"u\"&&(bh(n,r),n=Qj(n)),n.length>1||n[0]>1)throw new Jj(n);return!!n[0]}function gd(e,t={}){let{size:r}=t;typeof r<\"u\"&&bh(e,r);let n=sn(e,t);return ac(n,t)}function wme(e,t={}){let{size:r}=t,n=e;return typeof r<\"u\"&&(bh(n,r),n=Yj(n)),Kht.decode(n)}function Qj(e){return Gj(e,{dir:\"left\"})}function Yj(e){return Gj(e,{dir:\"right\"})}function Eme(e){try{return Wht(e),!0}catch{return!1}}var Kht,Zht,Jj,wv,_I,ZS,SI,Vc=x(()=>{u();ab();Jo();Ar();Kj();Wj();vv();Kht=new TextDecoder,Zht=new TextEncoder;Jj=class extends He{constructor(t){super(`Bytes value \\\\`${t}\\\\` is not a valid boolean.`,{metaMessages:[\"The bytes array must contain a single byte of either a `0` or `1` value.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.InvalidBytesBooleanError\"})}},wv=class extends He{constructor(t){super(`Value \\\\`${typeof t==\"object\"?Zu(t):t}\\\\` of type \\\\`${typeof t}\\\\` is an invalid Bytes value.`,{metaMessages:[\"Bytes values must be of type `Bytes`.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.InvalidBytesTypeError\"})}},_I=class extends He{constructor({givenSize:t,maxSize:r}){super(`Size cannot exceed \\\\`${r}\\\\` bytes. Given size: \\\\`${t}\\\\` bytes.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.SizeOverflowError\"})}},ZS=class extends He{constructor({offset:t,position:r,size:n}){super(`Slice ${r===\"start\"?\"starting\":\"ending\"} at offset \\\\`${t}\\\\` is out-of-bounds (size: \\\\`${n}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.SliceOffsetOutOfBoundsError\"})}},SI=class extends He{constructor({size:t,targetSize:r,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\\\\`${t}\\\\`) exceeds padding size (\\\\`${r}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.SizeExceedsPaddingSizeError\"})}}});function Xj(e,t={}){let{strict:r=!1}=t;if(!e)throw new TI(e);if(typeof e!=\"string\")throw new TI(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e))throw new II(e);if(!e.startsWith(\"0x\"))throw new II(e)}function Xt(...e){return`0x${e.reduce((t,r)=>t+r.replace(\"0x\",\"\"),\"\")}`}function gh(e){return e instanceof Uint8Array?sn(e):Array.isArray(e)?sn(new Uint8Array(e)):e}function RI(e,t={}){let r=`0x${Number(e)}`;return typeof t.size==\"number\"?(xv(r,t.size),fp(r,t.size)):r}function sn(e,t={}){let r=\"\";for(let o=0;o<e.length;o++)r+=Xht[e[o]];let n=`0x${r}`;return typeof t.size==\"number\"?(xv(n,t.size),xd(n,t.size)):n}function Ae(e,t={}){let{signed:r,size:n}=t,o=BigInt(e),i;n?r?i=(1n<<BigInt(n)*8n-1n)-1n:i=2n**(BigInt(n)*8n)-1n:typeof e==\"number\"&&(i=BigInt(Number.MAX_SAFE_INTEGER));let c=typeof i==\"bigint\"&&r?-i-1n:0;if(i&&o>i||o<c){let p=typeof e==\"bigint\"?\"n\":\"\";throw new YS({max:i?`${i}${p}`:void 0,min:`${c}${p}`,signed:r,size:n,value:`${e}${p}`})}let f=`0x${(r&&o<0?BigInt.asUintN(n*8,BigInt(o)):o).toString(16)}`;return n?fp(f,n):f}function Wu(e,t={}){return sn(Yht.encode(e),t)}function fp(e,t){return Zj(e,{dir:\"left\",size:t})}function xd(e,t){return Zj(e,{dir:\"right\",size:t})}function _me(e){return sn(bme(e))}function wt(e,t,r,n={}){let{strict:o}=n;dme(e,t);let i=`0x${e.replace(\"0x\",\"\").slice((t??0)*2,(r??e.length)*2)}`;return o&&fme(i,t,r),i}function Sr(e){return Math.ceil((e.length-2)/2)}function XS(e){return pme(e,{dir:\"left\"})}function gr(e,t={}){let{signed:r}=t;t.size&&xv(e,t.size);let n=BigInt(e);if(!r)return n;let o=(e.length-2)/2,i=(1n<<BigInt(o)*8n)-1n,c=i>>1n;return n<=c?n:n-i-1n}function ac(e,t={}){let{signed:r,size:n}=t;return Number(!r&&!n?e:gr(e,t))}function eF(e,t={}){let{size:r}=t,n=bs(e);return r&&(bh(n,r),n=Yj(n)),new TextDecoder().decode(n)}function Ca(e,t={}){let{strict:r=!1}=t;try{return Xj(e,{strict:r}),!0}catch{return!1}}var Yht,Xht,YS,TI,II,PI,AI,WS,kI,Ar=x(()=>{u();Vc();Jo();Kj();Wj();vv();Yht=new TextEncoder,Xht=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\"));YS=class extends He{constructor({max:t,min:r,signed:n,size:o,value:i}){super(`Number \\\\`${i}\\\\` is not in safe${o?` ${o*8}-bit`:\"\"}${n?\" signed\":\" unsigned\"} integer range ${t?`(\\\\`${r}\\\\` to \\\\`${t}\\\\`)`:`(above \\\\`${r}\\\\`)`}`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.IntegerOutOfRangeError\"})}},TI=class extends He{constructor(t){super(`Value \\\\`${typeof t==\"object\"?Zu(t):t}\\\\` of type \\\\`${typeof t}\\\\` is an invalid hex type.`,{metaMessages:[\\'Hex types must be represented as `\"0x${string}\"`.\\']}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.InvalidHexTypeError\"})}},II=class extends He{constructor(t){super(`Value \\\\`${t}\\\\` is an invalid hex value.`,{metaMessages:[\\'Hex values must start with `\"0x\"` and contain only hexadecimal characters (0-9, a-f, A-F).\\']}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.InvalidHexValueError\"})}},PI=class extends He{constructor(t){super(`Hex value \\\\`\"${t}\"\\\\` is an odd length (${t.length-2} nibbles).`,{metaMessages:[\"It must be an even length.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.InvalidLengthError\"})}},AI=class extends He{constructor({givenSize:t,maxSize:r}){super(`Size cannot exceed \\\\`${r}\\\\` bytes. Given size: \\\\`${t}\\\\` bytes.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.SizeOverflowError\"})}},WS=class extends He{constructor({offset:t,position:r,size:n}){super(`Slice ${r===\"start\"?\"starting\":\"ending\"} at offset \\\\`${t}\\\\` is out-of-bounds (size: \\\\`${n}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.SliceOffsetOutOfBoundsError\"})}},kI=class extends He{constructor({size:t,targetSize:r,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\\\\`${t}\\\\`) exceeds padding size (\\\\`${r}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.SizeExceedsPaddingSizeError\"})}}});function Sme(e){return{address:e.address,amount:Ae(e.amount),index:Ae(e.index),validatorIndex:Ae(e.validatorIndex)}}var Ame=x(()=>{u();Ar()});function OI(e){return{...typeof e.baseFeePerGas==\"bigint\"&&{baseFeePerGas:Ae(e.baseFeePerGas)},...typeof e.blobBaseFee==\"bigint\"&&{blobBaseFee:Ae(e.blobBaseFee)},...typeof e.feeRecipient==\"string\"&&{feeRecipient:e.feeRecipient},...typeof e.gasLimit==\"bigint\"&&{gasLimit:Ae(e.gasLimit)},...typeof e.number==\"bigint\"&&{number:Ae(e.number)},...typeof e.prevRandao==\"bigint\"&&{prevRandao:Ae(e.prevRandao)},...typeof e.time==\"bigint\"&&{time:Ae(e.time)},...e.withdrawals&&{withdrawals:e.withdrawals.map(Sme)}}}var tF=x(()=>{u();Ar();Ame()});var Ju,BI,Cme,MI,Tme,rF,nF,oF,e5,iF,vd=x(()=>{u();Ju=[{inputs:[{components:[{name:\"target\",type:\"address\"},{name:\"allowFailure\",type:\"bool\"},{name:\"callData\",type:\"bytes\"}],name:\"calls\",type:\"tuple[]\"}],name:\"aggregate3\",outputs:[{components:[{name:\"success\",type:\"bool\"},{name:\"returnData\",type:\"bytes\"}],name:\"returnData\",type:\"tuple[]\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"addr\",type:\"address\"}],name:\"getEthBalance\",outputs:[{name:\"balance\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[],name:\"getCurrentBlockTimestamp\",outputs:[{internalType:\"uint256\",name:\"timestamp\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"}],BI=[{name:\"query\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"tuple[]\",name:\"queries\",components:[{type:\"address\",name:\"sender\"},{type:\"string[]\",name:\"urls\"},{type:\"bytes\",name:\"data\"}]}],outputs:[{type:\"bool[]\",name:\"failures\"},{type:\"bytes[]\",name:\"responses\"}]},{name:\"HttpError\",type:\"error\",inputs:[{type:\"uint16\",name:\"status\"},{type:\"string\",name:\"message\"}]}],Cme=[{inputs:[{name:\"dns\",type:\"bytes\"}],name:\"DNSDecodingFailed\",type:\"error\"},{inputs:[{name:\"ens\",type:\"string\"}],name:\"DNSEncodingFailed\",type:\"error\"},{inputs:[],name:\"EmptyAddress\",type:\"error\"},{inputs:[{name:\"status\",type:\"uint16\"},{name:\"message\",type:\"string\"}],name:\"HttpError\",type:\"error\"},{inputs:[],name:\"InvalidBatchGatewayResponse\",type:\"error\"},{inputs:[{name:\"errorData\",type:\"bytes\"}],name:\"ResolverError\",type:\"error\"},{inputs:[{name:\"name\",type:\"bytes\"},{name:\"resolver\",type:\"address\"}],name:\"ResolverNotContract\",type:\"error\"},{inputs:[{name:\"name\",type:\"bytes\"}],name:\"ResolverNotFound\",type:\"error\"},{inputs:[{name:\"primary\",type:\"string\"},{name:\"primaryAddress\",type:\"bytes\"}],name:\"ReverseAddressMismatch\",type:\"error\"},{inputs:[{internalType:\"bytes4\",name:\"selector\",type:\"bytes4\"}],name:\"UnsupportedResolverProfile\",type:\"error\"}],MI=[...Cme,{name:\"resolveWithGateways\",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\"}]}],Tme=[...Cme,{name:\"reverseWithGateways\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes\",name:\"reverseName\"},{type:\"uint256\",name:\"coinType\"},{type:\"string[]\",name:\"gateways\"}],outputs:[{type:\"string\",name:\"resolvedName\"},{type:\"address\",name:\"resolver\"},{type:\"address\",name:\"reverseResolver\"}]}],rF=[{name:\"text\",type:\"function\",stateMutability:\"view\",inputs:[{name:\"name\",type:\"bytes32\"},{name:\"key\",type:\"string\"}],outputs:[{name:\"\",type:\"string\"}]}],nF=[{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\"}]}],oF=[{name:\"isValidSignature\",type:\"function\",stateMutability:\"view\",inputs:[{name:\"hash\",type:\"bytes32\"},{name:\"signature\",type:\"bytes\"}],outputs:[{name:\"\",type:\"bytes4\"}]}],e5=[{inputs:[{name:\"_signer\",type:\"address\"},{name:\"_hash\",type:\"bytes32\"},{name:\"_signature\",type:\"bytes\"}],stateMutability:\"nonpayable\",type:\"constructor\"},{inputs:[{name:\"_signer\",type:\"address\"},{name:\"_hash\",type:\"bytes32\"},{name:\"_signature\",type:\"bytes\"}],outputs:[{type:\"bool\"}],stateMutability:\"nonpayable\",type:\"function\",name:\"isValidSig\"}],iF=[{type:\"event\",name:\"Approval\",inputs:[{indexed:!0,name:\"owner\",type:\"address\"},{indexed:!0,name:\"spender\",type:\"address\"},{indexed:!1,name:\"value\",type:\"uint256\"}]},{type:\"event\",name:\"Transfer\",inputs:[{indexed:!0,name:\"from\",type:\"address\"},{indexed:!0,name:\"to\",type:\"address\"},{indexed:!1,name:\"value\",type:\"uint256\"}]},{type:\"function\",name:\"allowance\",stateMutability:\"view\",inputs:[{name:\"owner\",type:\"address\"},{name:\"spender\",type:\"address\"}],outputs:[{type:\"uint256\"}]},{type:\"function\",name:\"approve\",stateMutability:\"nonpayable\",inputs:[{name:\"spender\",type:\"address\"},{name:\"amount\",type:\"uint256\"}],outputs:[{type:\"bool\"}]},{type:\"function\",name:\"balanceOf\",stateMutability:\"view\",inputs:[{name:\"account\",type:\"address\"}],outputs:[{type:\"uint256\"}]},{type:\"function\",name:\"decimals\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint8\"}]},{type:\"function\",name:\"name\",stateMutability:\"view\",inputs:[],outputs:[{type:\"string\"}]},{type:\"function\",name:\"symbol\",stateMutability:\"view\",inputs:[],outputs:[{type:\"string\"}]},{type:\"function\",name:\"totalSupply\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{type:\"function\",name:\"transfer\",stateMutability:\"nonpayable\",inputs:[{name:\"recipient\",type:\"address\"},{name:\"amount\",type:\"uint256\"}],outputs:[{type:\"bool\"}]},{type:\"function\",name:\"transferFrom\",stateMutability:\"nonpayable\",inputs:[{name:\"sender\",type:\"address\"},{name:\"recipient\",type:\"address\"},{name:\"amount\",type:\"uint256\"}],outputs:[{type:\"bool\"}]}]});var Ime,Pme=x(()=>{u();Ime=\"0x82ad56cb\"});var DI,Rme,Ome,Ev,t5=x(()=>{u();DI=\"0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe\",Rme=\"0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe\",Ome=\"0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572\",Ev=\"0x608060405234801561001057600080fd5b506115b9806100206000396000f3fe6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e14610325578063bce38bd714610350578063c3077fa914610380578063ee82ac5e146103b2576100f3565b80634d2301cc1461026257806372425d9d1461029f57806382ad56cb146102ca57806386d516e8146102fa576100f3565b80633408e470116100c65780633408e470146101af578063399542e9146101da5780633e64a6961461020c57806342cbb15c14610237576100f3565b80630f28c97d146100f8578063174dea7114610123578063252dba421461015357806327e86d6e14610184575b600080fd5b34801561010457600080fd5b5061010d6103ef565b60405161011a9190610c0a565b60405180910390f35b61013d60048036038101906101389190610c94565b6103f7565b60405161014a9190610e94565b60405180910390f35b61016d60048036038101906101689190610f0c565b610615565b60405161017b92919061101b565b60405180910390f35b34801561019057600080fd5b506101996107ab565b6040516101a69190611064565b60405180910390f35b3480156101bb57600080fd5b506101c46107b7565b6040516101d19190610c0a565b60405180910390f35b6101f460048036038101906101ef91906110ab565b6107bf565b6040516102039392919061110b565b60405180910390f35b34801561021857600080fd5b506102216107e1565b60405161022e9190610c0a565b60405180910390f35b34801561024357600080fd5b5061024c6107e9565b6040516102599190610c0a565b60405180910390f35b34801561026e57600080fd5b50610289600480360381019061028491906111a7565b6107f1565b6040516102969190610c0a565b60405180910390f35b3480156102ab57600080fd5b506102b4610812565b6040516102c19190610c0a565b60405180910390f35b6102e460048036038101906102df919061122a565b61081a565b6040516102f19190610e94565b60405180910390f35b34801561030657600080fd5b5061030f6109e4565b60405161031c9190610c0a565b60405180910390f35b34801561033157600080fd5b5061033a6109ec565b6040516103479190611286565b60405180910390f35b61036a600480360381019061036591906110ab565b6109f4565b6040516103779190610e94565b60405180910390f35b61039a60048036038101906103959190610f0c565b610ba6565b6040516103a99392919061110b565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906112cd565b610bca565b6040516103e69190611064565b60405180910390f35b600042905090565b60606000808484905090508067ffffffffffffffff81111561041c5761041b6112fa565b5b60405190808252806020026020018201604052801561045557816020015b610442610bd5565b81526020019060019003908161043a5790505b5092503660005b828110156105c957600085828151811061047957610478611329565b5b6020026020010151905087878381811061049657610495611329565b5b90506020028101906104a89190611367565b925060008360400135905080860195508360000160208101906104cb91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16818580606001906104f2919061138f565b604051610500929190611431565b60006040518083038185875af1925050503d806000811461053d576040519150601f19603f3d011682016040523d82523d6000602084013e610542565b606091505b5083600001846020018290528215151515815250505081516020850135176105bc577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b826001019250505061045c565b5082341461060c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610603906114a7565b60405180910390fd5b50505092915050565b6000606043915060008484905090508067ffffffffffffffff81111561063e5761063d6112fa565b5b60405190808252806020026020018201604052801561067157816020015b606081526020019060019003908161065c5790505b5091503660005b828110156107a157600087878381811061069557610694611329565b5b90506020028101906106a791906114c7565b92508260000160208101906106bc91906111a7565b73ffffffffffffffffffffffffffffffffffffffff168380602001906106e2919061138f565b6040516106f0929190611431565b6000604051808303816000865af19150503d806000811461072d576040519150601f19603f3d011682016040523d82523d6000602084013e610732565b606091505b5086848151811061074657610745611329565b5b60200260200101819052819250505080610795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078c9061153b565b60405180910390fd5b81600101915050610678565b5050509250929050565b60006001430340905090565b600046905090565b6000806060439250434091506107d68686866109f4565b905093509350939050565b600048905090565b600043905090565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b600044905090565b606060008383905090508067ffffffffffffffff81111561083e5761083d6112fa565b5b60405190808252806020026020018201604052801561087757816020015b610864610bd5565b81526020019060019003908161085c5790505b5091503660005b828110156109db57600084828151811061089b5761089a611329565b5b602002602001015190508686838181106108b8576108b7611329565b5b90506020028101906108ca919061155b565b92508260000160208101906108df91906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060400190610905919061138f565b604051610913929190611431565b6000604051808303816000865af19150503d8060008114610950576040519150601f19603f3d011682016040523d82523d6000602084013e610955565b606091505b5082600001836020018290528215151515815250505080516020840135176109cf577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b8160010191505061087e565b50505092915050565b600045905090565b600041905090565b606060008383905090508067ffffffffffffffff811115610a1857610a176112fa565b5b604051908082528060200260200182016040528015610a5157816020015b610a3e610bd5565b815260200190600190039081610a365790505b5091503660005b82811015610b9c576000848281518110610a7557610a74611329565b5b60200260200101519050868683818110610a9257610a91611329565b5b9050602002810190610aa491906114c7565b9250826000016020810190610ab991906111a7565b73ffffffffffffffffffffffffffffffffffffffff16838060200190610adf919061138f565b604051610aed929190611431565b6000604051808303816000865af19150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b508260000183602001829052821515151581525050508715610b90578060000151610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b869061153b565b60405180910390fd5b5b81600101915050610a58565b5050509392505050565b6000806060610bb7600186866107bf565b8093508194508295505050509250925092565b600081409050919050565b6040518060400160405280600015158152602001606081525090565b6000819050919050565b610c0481610bf1565b82525050565b6000602082019050610c1f6000830184610bfb565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c5457610c53610c2f565b5b8235905067ffffffffffffffff811115610c7157610c70610c34565b5b602083019150836020820283011115610c8d57610c8c610c39565b5b9250929050565b60008060208385031215610cab57610caa610c25565b5b600083013567ffffffffffffffff811115610cc957610cc8610c2a565b5b610cd585828601610c3e565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60008115159050919050565b610d2281610d0d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610d62578082015181840152602081019050610d47565b83811115610d71576000848401525b50505050565b6000601f19601f8301169050919050565b6000610d9382610d28565b610d9d8185610d33565b9350610dad818560208601610d44565b610db681610d77565b840191505092915050565b6000604083016000830151610dd96000860182610d19565b5060208301518482036020860152610df18282610d88565b9150508091505092915050565b6000610e0a8383610dc1565b905092915050565b6000602082019050919050565b6000610e2a82610ce1565b610e348185610cec565b935083602082028501610e4685610cfd565b8060005b85811015610e825784840389528151610e638582610dfe565b9450610e6e83610e12565b925060208a01995050600181019050610e4a565b50829750879550505050505092915050565b60006020820190508181036000830152610eae8184610e1f565b905092915050565b60008083601f840112610ecc57610ecb610c2f565b5b8235905067ffffffffffffffff811115610ee957610ee8610c34565b5b602083019150836020820283011115610f0557610f04610c39565b5b9250929050565b60008060208385031215610f2357610f22610c25565b5b600083013567ffffffffffffffff811115610f4157610f40610c2a565b5b610f4d85828601610eb6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000610f918383610d88565b905092915050565b6000602082019050919050565b6000610fb182610f59565b610fbb8185610f64565b935083602082028501610fcd85610f75565b8060005b858110156110095784840389528151610fea8582610f85565b9450610ff583610f99565b925060208a01995050600181019050610fd1565b50829750879550505050505092915050565b60006040820190506110306000830185610bfb565b81810360208301526110428184610fa6565b90509392505050565b6000819050919050565b61105e8161104b565b82525050565b60006020820190506110796000830184611055565b92915050565b61108881610d0d565b811461109357600080fd5b50565b6000813590506110a58161107f565b92915050565b6000806000604084860312156110c4576110c3610c25565b5b60006110d286828701611096565b935050602084013567ffffffffffffffff8111156110f3576110f2610c2a565b5b6110ff86828701610eb6565b92509250509250925092565b60006060820190506111206000830186610bfb565b61112d6020830185611055565b818103604083015261113f8184610e1f565b9050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061117482611149565b9050919050565b61118481611169565b811461118f57600080fd5b50565b6000813590506111a18161117b565b92915050565b6000602082840312156111bd576111bc610c25565b5b60006111cb84828501611192565b91505092915050565b60008083601f8401126111ea576111e9610c2f565b5b8235905067ffffffffffffffff81111561120757611206610c34565b5b60208301915083602082028301111561122357611222610c39565b5b9250929050565b6000806020838503121561124157611240610c25565b5b600083013567ffffffffffffffff81111561125f5761125e610c2a565b5b61126b858286016111d4565b92509250509250929050565b61128081611169565b82525050565b600060208201905061129b6000830184611277565b92915050565b6112aa81610bf1565b81146112b557600080fd5b50565b6000813590506112c7816112a1565b92915050565b6000602082840312156112e3576112e2610c25565b5b60006112f1848285016112b8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b60008235600160800383360303811261138357611382611358565b5b80830191505092915050565b600080833560016020038436030381126113ac576113ab611358565b5b80840192508235915067ffffffffffffffff8211156113ce576113cd61135d565b5b6020830192506001820236038313156113ea576113e9611362565b5b509250929050565b600081905092915050565b82818337600083830152505050565b600061141883856113f2565b93506114258385846113fd565b82840190509392505050565b600061143e82848661140c565b91508190509392505050565b600082825260208201905092915050565b7f4d756c746963616c6c333a2076616c7565206d69736d61746368000000000000600082015250565b6000611491601a8361144a565b915061149c8261145b565b602082019050919050565b600060208201905081810360008301526114c081611484565b9050919050565b6000823560016040038336030381126114e3576114e2611358565b5b80830191505092915050565b7f4d756c746963616c6c333a2063616c6c206661696c6564000000000000000000600082015250565b600061152560178361144a565b9150611530826114ef565b602082019050919050565b6000602082019050818103600083015261155481611518565b9050919050565b60008235600160600383360303811261157757611576611358565b5b8083019150509291505056fea264697066735822122020c1bc9aacf8e4a6507193432a895a8e77094f45a1395583f07b24e860ef06cd64736f6c634300080c0033\"});var lb,NI,UI,r5,Qu,db=x(()=>{u();ht();lb=class extends oe{constructor({blockNumber:t,chain:r,contract:n}){super(`Chain \"${r.name}\" does not support contract \"${n.name}\".`,{metaMessages:[\"This could be due to any of the following:\",...t&&n.blockCreated&&n.blockCreated>t?[`- The contract \"${n.name}\" was not deployed until block ${n.blockCreated} (current block ${t}).`]:[`- The chain does not have the contract \"${n.name}\" configured.`]],name:\"ChainDoesNotSupportContract\"})}},NI=class extends oe{constructor({chain:t,currentChainId:r}){super(`The current chain of the wallet (id: ${r}) does not match the target chain for the transaction (id: ${t.id} \\\\u2013 ${t.name}).`,{metaMessages:[`Current Chain ID:  ${r}`,`Expected Chain ID: ${t.id} \\\\u2013 ${t.name}`],name:\"ChainMismatchError\"})}},UI=class extends oe{constructor(){super([\"No chain was provided to the request.\",\"Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient.\"].join(`\\n`),{name:\"ChainNotFoundError\"})}},r5=class extends oe{constructor(){super(\"No chain was provided to the Client.\",{name:\"ClientChainNotConfiguredError\"})}},Qu=class extends oe{constructor({chainId:t}){super(typeof t==\"number\"?`Chain ID \"${t}\" is invalid.`:\"Chain ID is invalid.\",{name:\"InvalidChainIdError\"})}}});function fb(e){let{abi:t,args:r,bytecode:n}=e;if(!r||r.length===0)return n;let o=t.find(c=>\"type\"in c&&c.type===\"constructor\");if(!o)throw new e4({docsPath:aF});if(!(\"inputs\"in o))throw new uS({docsPath:aF});if(!o.inputs||o.inputs.length===0)throw new uS({docsPath:aF});let i=zn(o.inputs,r);return Cn([n,i])}var aF,$I=x(()=>{u();lo();Zn();$c();aF=\"/docs/contract/encodeDeployData\"});function qc({blockNumber:e,chain:t,contract:r}){let n=t?.contracts?.[r];if(!n)throw new lb({chain:t,contract:{name:r}});if(e&&n.blockCreated&&n.blockCreated>e)throw new lb({blockNumber:e,chain:t,contract:{name:r,blockCreated:n.blockCreated}});return n.address}var pb=x(()=>{u();db()});function _v(e,{docsPath:t,...r}){let n=(()=>{let o=sh(e,r);return o instanceof jc?e:o})();return new $x(n,{docsPath:t,...r})}var zI=x(()=>{u();Qf();up();zS()});function Sv(){let e=()=>{},t=()=>{};return{promise:new Promise((n,o)=>{e=n,t=o}),resolve:e,reject:t}}var LI=x(()=>{u()});function HI({fn:e,id:t,shouldSplitBatch:r,wait:n=0,sort:o}){let i=async()=>{let h=f();c();let y=h.map(({args:w})=>w);y.length!==0&&e(y).then(w=>{o&&Array.isArray(w)&&w.sort(o);for(let E=0;E<h.length;E++){let{resolve:A}=h[E];A?.([w[E],w])}}).catch(w=>{for(let E=0;E<h.length;E++){let{reject:A}=h[E];A?.(w)}})},c=()=>sF.delete(t),l=()=>f().map(({args:h})=>h),f=()=>sF.get(t)||[],p=h=>sF.set(t,[...f(),h]);return{flush:c,async schedule(h){let{promise:y,resolve:w,reject:E}=Sv();return r?.([...l(),h])&&i(),f().length>0?(p({args:h,resolve:w,reject:E}),y):(p({args:h,resolve:w,reject:E}),setTimeout(i,n),y)}}}var sF,cF=x(()=>{u();LI();sF=new Map});var jI,FI,VI,Bme=x(()=>{u();Ci();ht();F4();jI=class extends oe{constructor({callbackSelector:t,cause:r,data:n,extraData:o,sender:i,urls:c}){super(r.shortMessage||\"An error occurred while fetching for an offchain result.\",{cause:r,metaMessages:[...r.metaMessages||[],r.metaMessages?.length?\"\":[],\"Offchain Gateway Call:\",c&&[\"  Gateway URL(s):\",...c.map(l=>`    ${$y(l)}`)],`  Sender: ${i}`,`  Data: ${n}`,`  Callback selector: ${t}`,`  Extra data: ${o}`].flat(),name:\"OffchainLookupError\"})}},FI=class extends oe{constructor({result:t,url:r}){super(\"Offchain gateway response is malformed. Response data must be a hex value.\",{metaMessages:[`Gateway URL: ${$y(r)}`,`Response: ${ir(t)}`],name:\"OffchainLookupResponseMalformedError\"})}},VI=class extends oe{constructor({sender:t,to:r}){super(\"Reverted sender address does not match target contract address (`to`).\",{metaMessages:[`Contract address: ${r}`,`OffchainLookup sender address: ${t}`],name:\"OffchainLookupSenderMismatchError\"})}}});function mb(e){let{abi:t,data:r}=e,n=Ai(r,0,4),o=t.find(i=>i.type===\"function\"&&n===ud(Wo(i)));if(!o)throw new a4(n,{docsPath:\"/docs/contract/decodeFunctionData\"});return{functionName:o.name,args:\"inputs\"in o&&o.inputs&&o.inputs.length>0?ds(o.inputs,Ai(r,4)):void 0}}var uF=x(()=>{u();lo();cd();Cx();Ox();Hf()});function dF(e){let{abi:t,errorName:r,args:n}=e,o=t[0];if(r){let f=ls({abi:t,args:n,name:r});if(!f)throw new lS(r,{docsPath:lF});o=f}if(o.type!==\"error\")throw new lS(void 0,{docsPath:lF});let i=Wo(o),c=ud(i),l=\"0x\";if(n&&n.length>0){if(!o.inputs)throw new n4(o.name,{docsPath:lF});l=zn(o.inputs,n)}return Cn([c,l])}var lF,Mme=x(()=>{u();lo();Zn();Cx();$c();Hf();Wm();lF=\"/docs/contract/encodeErrorResult\"});function Dme(e){let{abi:t,functionName:r,result:n}=e,o=t[0];if(r){let c=ls({abi:t,name:r});if(!c)throw new Nu(r,{docsPath:fF});o=c}if(o.type!==\"function\")throw new Nu(void 0,{docsPath:fF});if(!o.outputs)throw new wx(o.name,{docsPath:fF});let i=(()=>{if(o.outputs.length===0)return[];if(o.outputs.length===1)return[n];if(Array.isArray(n))return n;throw new _x(n)})();return zn(o.outputs,i)}var fF,Nme=x(()=>{u();lo();$c();Wm();fF=\"/docs/contract/encodeFunctionResult\"});async function pF(e){let{data:t,ccipRequest:r}=e,{args:[n]}=mb({abi:BI,data:t}),o=[],i=[];return await Promise.all(n.map(async(c,l)=>{try{i[l]=c.urls.includes(pp)?await pF({data:c.data,ccipRequest:r}):await r(c),o[l]=!1}catch(f){o[l]=!0,i[l]=t0t(f)}})),Dme({abi:BI,functionName:\"query\",result:[o,i]})}function t0t(e){return e.name===\"HttpRequestError\"&&e.status?dF({abi:BI,errorName:\"HttpError\",args:[e.status,e.shortMessage]}):dF({abi:[I4],errorName:\"Error\",args:[\"shortMessage\"in e?e.shortMessage:e.message]})}var pp,n5=x(()=>{u();vd();P4();uF();Mme();Nme();pp=\"x-batch-gateway:true\"});var zme={};an(zme,{ccipRequest:()=>$me,offchainLookup:()=>n0t,offchainLookupAbiItem:()=>Ume,offchainLookupSignature:()=>r0t});async function n0t(e,{blockNumber:t,blockTag:r,data:n,to:o}){let{args:i}=Bx({data:n,abi:[Ume]}),[c,l,f,p,h]=i,{ccipRead:y}=e,w=y&&typeof y?.request==\"function\"?y.request:$me;try{if(!Wi(o,c))throw new VI({sender:c,to:o});let E=l.includes(pp)?await pF({data:f,ccipRequest:w}):await w({data:f,sender:c,urls:l}),{data:A}=await Gc(e,{blockNumber:t,blockTag:r,data:hr([p,zn([{type:\"bytes\"},{type:\"bytes\"}],[E,h])]),to:o});return A}catch(E){throw new jI({callbackSelector:p,cause:E,data:n,extraData:h,sender:c,urls:l})}}async function $me({data:e,sender:t,urls:r}){let n=new Error(\"An unknown error occurred.\");for(let o=0;o<r.length;o++){let i=r[o],c=i.includes(\"{data}\")?\"GET\":\"POST\",l=c===\"POST\"?{data:e,sender:t}:void 0,f=c===\"POST\"?{\"Content-Type\":\"application/json\"}:{};try{let p=await fetch(i.replace(\"{sender}\",t.toLowerCase()).replace(\"{data}\",e),{body:JSON.stringify(l),headers:f,method:c}),h;if(p.headers.get(\"Content-Type\")?.startsWith(\"application/json\")?h=(await p.json()).data:h=await p.text(),!p.ok){n=new zc({body:l,details:h?.error?ir(h.error):p.statusText,headers:p.headers,status:p.status,url:i});continue}if(!Vr(h)){n=new FI({result:h,url:i});continue}return h}catch(p){n=new zc({body:l,details:p.message,url:i})}}throw n}var r0t,Ume,Lme=x(()=>{u();hb();Bme();zy();B4();$c();yh();Zn();Dc();n5();Ci();r0t=\"0x556f1830\",Ume={name:\"OffchainLookup\",type:\"error\",inputs:[{name:\"sender\",type:\"address\"},{name:\"urls\",type:\"string[]\"},{name:\"callData\",type:\"bytes\"},{name:\"callbackFunction\",type:\"bytes4\"},{name:\"extraData\",type:\"bytes\"}]}});async function Gc(e,t){let{account:r=e.account,authorizationList:n,batch:o=!!e.batch?.multicall,blockNumber:i,blockTag:c=e.experimental_blockTag??\"latest\",accessList:l,blobs:f,blockOverrides:p,code:h,data:y,factory:w,factoryData:E,gas:A,gasPrice:C,maxFeePerBlobGas:R,maxFeePerGas:M,maxPriorityFeePerGas:D,nonce:$,to:H,value:V,stateOverride:G,...K}=t,Q=r?tt(r):void 0;if(h&&(w||E))throw new oe(\"Cannot provide both `code` & `factory`/`factoryData` as parameters.\");if(h&&H)throw new oe(\"Cannot provide both `code` & `to` as parameters.\");let X=h&&y,Y=w&&E&&H&&y,fe=X||Y,ce=X?Hme({code:h,data:y}):Y?a0t({data:y,factory:w,factoryData:E,to:H}):y;try{Uo(t);let _=(typeof i==\"bigint\"?le(i):void 0)||c,k=p?OI(p):void 0,O=lh(G),B=e.chain?.formatters?.transactionRequest?.format,q=(B||So)({...ms(K,{format:B}),accessList:l,account:Q,authorizationList:n,blobs:f,data:ce,gas:A,gasPrice:C,maxFeePerBlobGas:R,maxFeePerGas:M,maxPriorityFeePerGas:D,nonce:$,to:fe?void 0:H,value:V},\"call\");if(o&&o0t({request:q})&&!O&&!k)try{return await i0t(e,{...q,blockNumber:i,blockTag:c})}catch(P){if(!(P instanceof r5)&&!(P instanceof lb))throw P}let W=(()=>{let P=[q,_];return O&&k?[...P,O,k]:O?[...P,O]:k?[...P,{},k]:P})(),U=await e.request({method:\"eth_call\",params:W});return U===\"0x\"?{data:void 0}:{data:U}}catch(N){let _=s0t(N),{offchainLookup:k,offchainLookupSignature:O}=await Promise.resolve().then(()=>(Lme(),zme));if(e.ccipRead!==!1&&_?.slice(0,10)===O&&H)return{data:await k(e,{data:_,to:H})};throw fe&&_?.slice(0,10)===\"0x101bb98d\"?new V4({factory:w}):_v(N,{...t,account:Q,chain:e.chain})}}function o0t({request:e}){let{data:t,to:r,...n}=e;return!(!t||t.startsWith(Ime)||!r||Object.values(n).filter(o=>typeof o<\"u\").length>0)}async function i0t(e,t){let{batchSize:r=1024,deployless:n=!1,wait:o=0}=typeof e.batch?.multicall==\"object\"?e.batch.multicall:{},{blockNumber:i,blockTag:c=e.experimental_blockTag??\"latest\",data:l,to:f}=t,p=(()=>{if(n)return null;if(t.multicallAddress)return t.multicallAddress;if(e.chain)return qc({blockNumber:i,chain:e.chain,contract:\"multicall3\"});throw new r5})(),y=(typeof i==\"bigint\"?le(i):void 0)||c,{schedule:w}=HI({id:`${e.uid}.${y}`,wait:o,shouldSplitBatch(C){return C.reduce((M,{data:D})=>M+(D.length-2),0)>r*2},fn:async C=>{let R=C.map($=>({allowFailure:!0,callData:$.data,target:$.to})),M=vt({abi:Ju,args:[R],functionName:\"aggregate3\"}),D=await e.request({method:\"eth_call\",params:[{...p===null?{data:Hme({code:Ev,data:M})}:{to:p,data:M}},y]});return Ji({abi:Ju,args:[R],functionName:\"aggregate3\",data:D||\"0x\"})}}),[{returnData:E,success:A}]=await w({data:l,to:f});if(!A)throw new fd({data:E});return E===\"0x\"?{data:void 0}:{data:E}}function Hme(e){let{code:t,data:r}=e;return fb({abi:yx([\"constructor(bytes, bytes)\"]),bytecode:DI,args:[t,r]})}function a0t(e){let{data:t,factory:r,factoryData:n,to:o}=e;return fb({abi:yx([\"constructor(address, bytes, address, bytes)\"]),bytecode:Rme,args:[o,t,r,n]})}function s0t(e){if(!(e instanceof oe))return;let t=e.walk();return typeof t?.data==\"object\"?t.data?.data:t.data}var hb=x(()=>{u();bx();tF();Zr();vd();Pme();t5();ht();db();Qf();lp();$I();ki();pb();ot();zI();ch();hs();cF();HS();Vu()});async function Wr(e,t){let{abi:r,address:n,args:o,functionName:i,...c}=t,l=vt({abi:r,args:o,functionName:i});try{let{data:f}=await Ce(e,Gc,\"call\")({...c,data:l,to:n});return Ji({abi:r,args:o,functionName:i,data:f||\"0x\"})}catch(f){throw rc(f,{abi:r,address:n,args:o,docsPath:\"/docs/contract/readContract\",functionName:i})}}var sc=x(()=>{u();lp();ki();nb();Yt();hb()});async function jme(e,t){let{abi:r,address:n,args:o,functionName:i,dataSuffix:c=typeof e.dataSuffix==\"string\"?e.dataSuffix:e.dataSuffix?.value,...l}=t,f=l.account?tt(l.account):e.account,p=vt({abi:r,args:o,functionName:i});try{let{data:h}=await Ce(e,Gc,\"call\")({batch:!1,data:`${p}${c?c.replace(\"0x\",\"\"):\"\"}`,to:n,...l,account:f}),y=Ji({abi:r,args:o,functionName:i,data:h||\"0x\"}),w=r.filter(E=>\"name\"in E&&E.name===t.functionName);return{result:y,request:{abi:w,address:n,args:o,dataSuffix:c,functionName:i,...l,account:f}}}catch(h){throw rc(h,{abi:r,address:n,args:o,docsPath:\"/docs/contract/simulateContract\",functionName:i,sender:f?.address})}}var Fme=x(()=>{u();Zr();lp();ki();nb();Yt();hb()});function li(e,t,r){let n=++c0t,o=()=>mF.get(e)||[],i=()=>{let h=o();mF.set(e,h.filter(y=>y.id!==n))},c=()=>{let h=o();if(!h.some(w=>w.id===n))return;let y=Vme.get(e);if(h.length===1&&y){let w=y();w instanceof Promise&&w.catch(()=>{})}i()},l=o();if(mF.set(e,[...l,{id:n,fns:t}]),l&&l.length>0)return c;let f={};for(let h in t)f[h]=((...y)=>{let w=o();if(w.length!==0)for(let E of w)E.fns[h]?.(...y)});let p=r(f);return typeof p==\"function\"&&Vme.set(e,p),c}var mF,Vme,c0t,mp=x(()=>{u();mF=new Map,Vme=new Map,c0t=0});async function o5(e){return new Promise(t=>setTimeout(t,e))}var hF=x(()=>{u()});function gs(e,{emitOnBegin:t,initialWaitTime:r,interval:n}){let o=!0,i=()=>o=!1;return(async()=>{let l;t&&(l=await e({unpoll:i}));let f=await r?.(l)??n;await o5(f);let p=async()=>{o&&(await e({unpoll:i}),await o5(n),p())};p()})(),i}var xh=x(()=>{u();hF()});function qme(e){let t=(o,i)=>({clear:()=>i.delete(o),get:()=>i.get(o),set:c=>i.set(o,c)}),r=t(e,u0t),n=t(e,l0t);return{clear:()=>{r.clear(),n.clear()},promise:r,response:n}}async function Gme(e,{cacheKey:t,cacheTime:r=Number.POSITIVE_INFINITY}){let n=qme(t),o=n.response.get();if(o&&r>0&&Date.now()-o.created.getTime()<r)return o.data;let i=n.promise.get();i||(i=e(),n.promise.set(i));try{let c=await i;return n.response.set({created:new Date,data:c}),c}finally{n.promise.clear()}}var u0t,l0t,Kme=x(()=>{u();u0t=new Map,l0t=new Map});async function wd(e,{cacheTime:t=e.cacheTime}={}){let r=await Gme(()=>e.request({method:\"eth_blockNumber\"}),{cacheKey:d0t(e.uid),cacheTime:t});return BigInt(r)}var d0t,Av=x(()=>{u();Kme();d0t=e=>`blockNumber.${e}`});async function vh(e,{filter:t}){let r=\"strict\"in t&&t.strict,n=await t.request({method:\"eth_getFilterChanges\",params:[t.id]});if(typeof n[0]==\"string\")return n;let o=n.map(i=>po(i));return!(\"abi\"in t)||!t.abi?o:bd({abi:t.abi,logs:o,strict:r})}var i5=x(()=>{u();KS();Gu()});async function wh(e,{filter:t}){return t.request({method:\"eth_uninstallFilter\",params:[t.id]})}var a5=x(()=>{u()});function Zme(e,t){let{abi:r,address:n,args:o,batch:i=!0,eventName:c,fromBlock:l,onError:f,onLogs:p,poll:h,pollingInterval:y=e.pollingInterval,strict:w}=t;return(typeof h<\"u\"?h:typeof l==\"bigint\"?!0:!(e.transport.type===\"webSocket\"||e.transport.type===\"ipc\"||e.transport.type===\"fallback\"&&(e.transport.transports[0].config.type===\"webSocket\"||e.transport.transports[0].config.type===\"ipc\")))?(()=>{let R=w??!1,M=ir([\"watchContractEvent\",n,o,i,e.uid,c,y,R,l]);return li(M,{onLogs:p,onError:f},D=>{let $;l!==void 0&&($=l-1n);let H,V=!1,G=gs(async()=>{if(!V){try{H=await Ce(e,T4,\"createContractEventFilter\")({abi:r,address:n,args:o,eventName:c,strict:R,fromBlock:l})}catch{}V=!0;return}try{let K;if(H)K=await Ce(e,vh,\"getFilterChanges\")({filter:H});else{let Q=await Ce(e,wd,\"getBlockNumber\")({});$&&$<Q?K=await Ce(e,EI,\"getContractEvents\")({abi:r,address:n,args:o,eventName:c,fromBlock:$+1n,toBlock:Q,strict:R}):K=[],$=Q}if(K.length===0)return;if(i)D.onLogs(K);else for(let Q of K)D.onLogs([Q])}catch(K){H&&K instanceof tc&&(V=!1),D.onError?.(K)}},{emitOnBegin:!0,interval:y});return async()=>{H&&await Ce(e,wh,\"uninstallFilter\")({filter:H}),G()}})})():(()=>{let R=w??!1,M=ir([\"watchContractEvent\",n,o,i,e.uid,c,y,R]),D=!0,$=()=>D=!1;return li(M,{onLogs:p,onError:f},H=>((async()=>{try{let V=(()=>{if(e.transport.type===\"fallback\"){let Q=e.transport.transports.find(X=>X.config.type===\"webSocket\"||X.config.type===\"ipc\");return Q?Q.value:e.transport}return e.transport})(),G=c?ld({abi:r,eventName:c,args:o}):[],{unsubscribe:K}=await V.subscribe({params:[\"logs\",{address:n,topics:G}],onData(Q){if(!D)return;let X=Q.result;try{let{eventName:Y,args:fe}=ub({abi:r,data:X.data,topics:X.topics,strict:w}),ce=po(X,{args:fe,eventName:Y});H.onLogs([ce])}catch(Y){let fe,ce;if(Y instanceof jf||Y instanceof jm){if(w)return;fe=Y.abiItem.name,ce=Y.abiItem.inputs?.some(_=>!(\"name\"in _&&_.name))}let N=po(X,{args:ce?[]:{},eventName:fe});H.onLogs([N])}},onError(Q){H.onError?.(Q)}});$=K,D||$()}catch(V){f?.(V)}})(),()=>$()))})()}var Wme=x(()=>{u();lo();rb();vI();Tx();Gu();Yt();mp();xh();Ci();QH();Av();Fj();i5();a5()});var Mn,Kc,cc=x(()=>{u();ht();Mn=class extends oe{constructor({docsPath:t}={}){super([\"Could not find an Account to execute with this Action.\",\"Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.\"].join(`\\n`),{docsPath:t,docsSlug:\"account\",name:\"AccountNotFoundError\"})}},Kc=class extends oe{constructor({docsPath:t,metaMessages:r,type:n}){super(`Account type \"${n}\" is not supported.`,{docsPath:t,metaMessages:r,name:\"AccountTypeNotSupportedError\"})}}});function kv({chain:e,currentChainId:t}){if(!e)throw new UI;if(t!==e.id)throw new NI({chain:e,currentChainId:t})}var qI=x(()=>{u();db()});async function Cv(e,{serializedTransaction:t}){return e.request({method:\"eth_sendRawTransaction\",params:[t]},{retryCount:0})}var GI=x(()=>{u()});async function Ed(e,t){let{account:r=e.account,assertChainId:n=!0,chain:o=e.chain,accessList:i,authorizationList:c,blobs:l,data:f,dataSuffix:p=typeof e.dataSuffix==\"string\"?e.dataSuffix:e.dataSuffix?.value,gas:h,gasPrice:y,maxFeePerBlobGas:w,maxFeePerGas:E,maxPriorityFeePerGas:A,nonce:C,type:R,value:M,...D}=t;if(typeof r>\"u\")throw new Mn({docsPath:\"/docs/actions/wallet/sendTransaction\"});let $=r?tt(r):null;try{Uo(t);let H=await(async()=>{if(t.to)return t.to;if(t.to!==null&&c&&c.length>0)return await ah({authorization:c[0]}).catch(()=>{throw new oe(\"`to` is required. Could not infer from `authorizationList`.\")})})();if($?.type===\"json-rpc\"||$===null){let V;o!==null&&(V=await Ce(e,$o,\"getChainId\")({}),n&&kv({currentChainId:V,chain:o}));let G=e.chain?.formatters?.transactionRequest?.format,Q=(G||So)({...ms(D,{format:G}),accessList:i,account:$,authorizationList:c,blobs:l,chainId:V,data:p?hr([f??\"0x\",p]):f,gas:h,gasPrice:y,maxFeePerBlobGas:w,maxFeePerGas:E,maxPriorityFeePerGas:A,nonce:C,to:H,type:R,value:M},\"sendTransaction\"),X=yF.get(e.uid),Y=X?\"wallet_sendTransaction\":\"eth_sendTransaction\";try{return await e.request({method:Y,params:[Q]},{retryCount:0})}catch(fe){if(X===!1)throw fe;let ce=fe;if(ce.name===\"InvalidInputRpcError\"||ce.name===\"InvalidParamsRpcError\"||ce.name===\"MethodNotFoundRpcError\"||ce.name===\"MethodNotSupportedRpcError\")return await e.request({method:\"wallet_sendTransaction\",params:[Q]},{retryCount:0}).then(N=>(yF.set(e.uid,!0),N)).catch(N=>{let _=N;throw _.name===\"MethodNotFoundRpcError\"||_.name===\"MethodNotSupportedRpcError\"?(yF.set(e.uid,!1),ce):_});throw ce}}if($?.type===\"local\"){let V=await Ce(e,yd,\"prepareTransactionRequest\")({account:$,accessList:i,authorizationList:c,blobs:l,chain:o,data:p?hr([f??\"0x\",p]):f,gas:h,gasPrice:y,maxFeePerBlobGas:w,maxFeePerGas:E,maxPriorityFeePerGas:A,nonce:C,nonceManager:$.nonceManager,parameters:[...GS,\"sidecars\"],type:R,value:M,...D,to:H}),G=o?.serializers?.transaction,K=await $.signTransaction(V,{serializer:G});return await Ce(e,Cv,\"sendRawTransaction\")({serializedTransaction:K})}throw $?.type===\"smart\"?new Kc({metaMessages:[\"Consider using the `sendUserOperation` Action instead.\"],docsPath:\"/docs/actions/bundler/sendUserOperation\",type:\"smart\"}):new Kc({docsPath:\"/docs/actions/wallet/sendTransaction\",type:$?.type})}catch(H){throw H instanceof Kc?H:hh(H,{...t,account:$,chain:t.chain||void 0})}}var yF,Tv=x(()=>{u();Zr();cc();ht();$S();qI();Zn();qS();ch();hs();Yt();Zm();Vu();qu();yv();GI();yF=new Gi(128)});async function _d(e,t){return _d.internal(e,Ed,\"sendTransaction\",t)}var KI=x(()=>{u();Zr();cc();ki();nb();Yt();Tv();(function(e){async function t(r,n,o,i){let{abi:c,account:l=r.account,address:f,args:p,functionName:h,...y}=i;if(typeof l>\"u\")throw new Mn({docsPath:\"/docs/contract/writeContract\"});let w=l?tt(l):null,E=vt({abi:c,args:p,functionName:h});try{return await Ce(r,n,o)({data:E,to:f,account:w,...y})}catch(A){throw rc(A,{abi:c,address:f,args:p,docsPath:\"/docs/contract/writeContract\",functionName:h,sender:w?.address})}}e.internal=t})(_d||(_d={}))});var ZI,Jme=x(()=>{u();ht();ZI=class extends oe{constructor(t){super(`Call bundle failed with status: ${t.statusCode}`,{name:\"BundleFailedError\"}),Object.defineProperty(this,\"result\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.result=t}}});function Sd(e,{delay:t=100,retryCount:r=2,shouldRetry:n=()=>!0}={}){return new Promise((o,i)=>{let c=async({count:l=0}={})=>{let f=async({error:p})=>{let h=typeof t==\"function\"?t({count:l,error:p}):t;h&&await o5(h),c({count:l+1})};try{let p=await e();o(p)}catch(p){if(l<r&&await n({count:l,error:p}))return f({error:p});i(p)}};c()})}var s5=x(()=>{u();hF()});function hp(e,t){let r={...e,blockNumber:e.blockNumber?BigInt(e.blockNumber):null,contractAddress:e.contractAddress?e.contractAddress:null,cumulativeGasUsed:e.cumulativeGasUsed?BigInt(e.cumulativeGasUsed):null,effectiveGasPrice:e.effectiveGasPrice?BigInt(e.effectiveGasPrice):null,gasUsed:e.gasUsed?BigInt(e.gasUsed):null,logs:e.logs?e.logs.map(n=>po(n)):null,to:e.to?e.to:null,transactionIndex:e.transactionIndex?Gr(e.transactionIndex):null,status:e.status?bF[e.status]:null,type:e.type?Dj[e.type]||e.type:null};return e.blobGasPrice&&(r.blobGasPrice=BigInt(e.blobGasPrice)),e.blobGasUsed&&(r.blobGasUsed=BigInt(e.blobGasUsed)),r}var bF,Iv,yp=x(()=>{u();Kn();LS();Gu();hd();bF={\"0x0\":\"reverted\",\"0x1\":\"success\"};Iv=uh(\"transactionReceipt\",hp)});async function WI(e,t){let{account:r=e.account,chain:n=e.chain,experimental_fallback:o,experimental_fallbackDelay:i=32,forceAtomic:c=!1,id:l,version:f=\"2.0.0\"}=t,p=r?tt(r):null,h=t.capabilities;e.dataSuffix&&!t.capabilities?.dataSuffix&&(typeof e.dataSuffix==\"string\"?h={...t.capabilities,dataSuffix:{value:e.dataSuffix,optional:!0}}:h={...t.capabilities,dataSuffix:{value:e.dataSuffix.value,...e.dataSuffix.required?{}:{optional:!0}}});let y=t.calls.map(w=>{let E=w,A=E.abi?vt({abi:E.abi,functionName:E.functionName,args:E.args}):E.data;return{data:E.dataSuffix&&A?hr([A,E.dataSuffix]):A,to:E.to,value:E.value?le(E.value):void 0}});try{let w=await e.request({method:\"wallet_sendCalls\",params:[{atomicRequired:c,calls:y,capabilities:h,chainId:le(n.id),from:p?.address,id:l,version:f}]},{retryCount:0});return typeof w==\"string\"?{id:w}:w}catch(w){let E=w;if(o&&(E.name===\"MethodNotFoundRpcError\"||E.name===\"MethodNotSupportedRpcError\"||E.name===\"UnknownRpcError\"||E.details.toLowerCase().includes(\"does not exist / is not available\")||E.details.toLowerCase().includes(\"missing or invalid. request()\")||E.details.toLowerCase().includes(\"did not match any variant of untagged enum\")||E.details.toLowerCase().includes(\"account upgraded to unsupported contract\")||E.details.toLowerCase().includes(\"eip-7702 not supported\")||E.details.toLowerCase().includes(\"unsupported wc_ method\")||E.details.toLowerCase().includes(\"feature toggled misconfigured\")||E.details.toLowerCase().includes(\"jsonrpcengine: response has no error or result for request\"))){if(h&&Object.values(h).some(D=>!D.optional)){let D=\"non-optional `capabilities` are not supported on fallback to `eth_sendTransaction`.\";throw new Xf(new oe(D,{details:D}))}if(c&&y.length>1){let M=\"`forceAtomic` is not supported on fallback to `eth_sendTransaction`.\";throw new ep(new oe(M,{details:M}))}let A=[];for(let M of y){let D=Ed(e,{account:p,chain:n,data:M.data,to:M.to,value:M.value?it(M.value):void 0});A.push(D),i>0&&await new Promise($=>setTimeout($,i))}let C=await Promise.allSettled(A);if(C.every(M=>M.status===\"rejected\"))throw C[0].reason;let R=C.map(M=>M.status===\"fulfilled\"?M.value:xF);return{id:hr([...R,le(n.id,{size:32}),gF])}}throw hh(w,{...t,account:p,chain:t.chain})}}var gF,xF,JI=x(()=>{u();Zr();ht();rb();ki();Zn();Kn();ot();qS();Tv();gF=\"0x5792579257925792579257925792579257925792579257925792579257925792\",xF=le(0,{size:32})});async function QI(e,t){async function r(h){if(h.endsWith(gF.slice(2))){let w=Bn(wS(h,-64,-32)),E=wS(h,0,-64).slice(2).match(/.{1,64}/g),A=await Promise.all(E.map(R=>xF.slice(2)!==R?e.request({method:\"eth_getTransactionReceipt\",params:[`0x${R}`]},{dedupe:!0}):void 0)),C=A.some(R=>R===null)?100:A.every(R=>R?.status===\"0x1\")?200:A.every(R=>R?.status===\"0x0\")?500:600;return{atomic:!1,chainId:Gr(w),receipts:A.filter(Boolean),status:C,version:\"2.0.0\"}}return e.request({method:\"wallet_getCallsStatus\",params:[h]})}let{atomic:n=!1,chainId:o,receipts:i,version:c=\"2.0.0\",...l}=await r(t.id),[f,p]=(()=>{let h=l.status;return h>=100&&h<200?[\"pending\",h]:h>=200&&h<300?[\"success\",h]:h>=300&&h<700?[\"failure\",h]:h===\"CONFIRMED\"?[\"success\",200]:h===\"PENDING\"?[\"pending\",100]:[void 0,h]})();return{...l,atomic:n,chainId:o?Gr(o):void 0,receipts:i?.map(h=>({...h,blockNumber:it(h.blockNumber),gasUsed:it(h.gasUsed),status:bF[h.status]}))??[],statusCode:p,status:f,version:c}}var vF=x(()=>{u();cd();Vf();Kn();yp();JI()});async function bp(e,t){let{id:r,pollingInterval:n=e.pollingInterval,status:o=({statusCode:C})=>C===200||C>=300,retryCount:i=4,retryDelay:c=({count:C})=>~~(1<<C)*200,timeout:l=6e4,throwOnFailure:f=!1}=t,p=ir([\"waitForCallsStatus\",e.uid,r]),{promise:h,resolve:y,reject:w}=Sv(),E,A=li(p,{resolve:y,reject:w},C=>{let R=gs(async()=>{let M=D=>{clearTimeout(E),R(),D(),A()};try{let D=await Sd(async()=>{let $=await Ce(e,QI,\"getCallsStatus\")({id:r});if(f&&$.status===\"failure\")throw new ZI($);return $},{retryCount:i,delay:c});if(!o(D))return;M(()=>C.resolve(D))}catch(D){M(()=>C.reject(D))}},{interval:n,emitOnBegin:!0});return R});return E=l?setTimeout(()=>{A(),clearTimeout(E),w(new wF({id:r}))},l):void 0,await h}var wF,YI=x(()=>{u();ht();Jme();Yt();mp();xh();LI();s5();Ci();vF();wF=class extends oe{constructor({id:t}){super(`Timed out while waiting for call bundle with id \"${t}\" to be confirmed.`,{name:\"WaitForCallsStatusTimeoutError\"})}}});function t7(e=11){if(!e7||XI+e>256*2){e7=\"\",XI=0;for(let t=0;t<256;t++)e7+=(256+Math.random()*256|0).toString(16).substring(1)}return e7.substring(XI,XI+++e)}var XI,e7,EF=x(()=>{u();XI=256});function gp(e){let{batch:t,chain:r,ccipRead:n,dataSuffix:o,key:i=\"base\",name:c=\"Base Client\",type:l=\"base\"}=e,f=e.experimental_blockTag??(typeof r?.experimental_preconfirmationTime==\"number\"?\"pending\":void 0),p=r?.blockTime??12e3,h=Math.min(Math.max(Math.floor(p/2),500),4e3),y=e.pollingInterval??h,w=e.cacheTime??y,E=e.account?tt(e.account):void 0,{config:A,request:C,value:R}=e.transport({account:E,chain:r,pollingInterval:y}),M={...A,...R},D={account:E,batch:t,cacheTime:w,ccipRead:n,chain:r,dataSuffix:o,key:i,name:c,pollingInterval:y,request:C,transport:M,type:l,uid:t7(),...f?{experimental_blockTag:f}:{}};function $(H){return V=>{let G=V(H);for(let Q in D)delete G[Q];let K={...H,...G};return Object.assign(K,{extend:$(K)})}}return Object.assign(D,{extend:$(D)})}var r7=x(()=>{u();Zr();EF()});function Pv(e){if(!(e instanceof oe))return!1;let t=e.walk(r=>r instanceof Jf);return t instanceof Jf?t.data?.errorName===\"HttpError\"||t.data?.errorName===\"ResolverError\"||t.data?.errorName===\"ResolverNotContract\"||t.data?.errorName===\"ResolverNotFound\"||t.data?.errorName===\"ReverseAddressMismatch\"||t.data?.errorName===\"UnsupportedResolverProfile\":!1}var n7=x(()=>{u();ht();Qf()});function o7(e){if(e.length!==66||e.indexOf(\"[\")!==0||e.indexOf(\"]\")!==65)return null;let t=`0x${e.slice(1,65)}`;return Vr(t)?t:null}var _F=x(()=>{u();Dc()});function c5(e){let t=new Uint8Array(32).fill(0);if(!e)return br(t);let r=e.split(\".\");for(let n=r.length-1;n>=0;n-=1){let o=o7(r[n]),i=o?Si(o):Gt(wa(r[n]),\"bytes\");t=Gt(hr([t,i]),\"bytes\")}return br(t)}var SF=x(()=>{u();Zn();fo();ot();us();_F()});function Qme(e){return`[${e.slice(2)}]`}var Yme=x(()=>{u()});function Xme(e){let t=new Uint8Array(32).fill(0);return e?o7(e)||Gt(wa(e)):br(t)}var ehe=x(()=>{u();fo();ot();us();_F()});function Rv(e){let t=e.replace(/^\\\\.|\\\\.$/gm,\"\");if(t.length===0)return new Uint8Array(1);let r=new Uint8Array(wa(t).byteLength+2),n=0,o=t.split(\".\");for(let i=0;i<o.length;i++){let c=wa(o[i]);c.byteLength>255&&(c=wa(Qme(Xme(o[i])))),r[n]=c.length,r.set(c,n+1),n+=c.length+1}return r.byteLength!==n+1?r.slice(0,n+1):r}var i7=x(()=>{u();fo();Yme();ehe()});async function the(e,t){let{blockNumber:r,blockTag:n,coinType:o,name:i,gatewayUrls:c,strict:l}=t,{chain:f}=e,p=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!f)throw new Error(\"client chain not configured. universalResolverAddress is required.\");return qc({blockNumber:r,chain:f,contract:\"ensUniversalResolver\"})})(),h=f?.ensTlds;if(h&&!h.some(w=>i.endsWith(w)))return null;let y=o!=null?[c5(i),BigInt(o)]:[c5(i)];try{let w=vt({abi:nF,functionName:\"addr\",args:y}),E={address:p,abi:MI,functionName:\"resolveWithGateways\",args:[rt(Rv(i)),w,c??[pp]],blockNumber:r,blockTag:n},C=await Ce(e,Wr,\"readContract\")(E);if(C[0]===\"0x\")return null;let R=Ji({abi:nF,args:y,functionName:\"addr\",data:C[0]});return R===\"0x\"||Bn(R)===\"0x00\"?null:R}catch(w){if(l)throw w;if(Pv(w))return null;throw w}}var rhe=x(()=>{u();vd();lp();ki();pb();Vf();ot();n7();n5();SF();i7();Yt();sc()});var a7,Eh,Ov,s7,nhe=x(()=>{u();ht();a7=class extends oe{constructor({data:t}){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(t)}`],name:\"EnsAvatarInvalidMetadataError\"})}},Eh=class extends oe{constructor({reason:t}){super(`ENS NFT avatar URI is invalid. ${t}`,{name:\"EnsAvatarInvalidNftUriError\"})}},Ov=class extends oe{constructor({uri:t}){super(`Unable to resolve ENS avatar URI \"${t}\". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:\"EnsAvatarUriResolutionError\"})}},s7=class extends oe{constructor({namespace:t}){super(`ENS NFT avatar namespace \"${t}\" is not supported. Must be \"erc721\" or \"erc1155\".`,{name:\"EnsAvatarUnsupportedNamespaceError\"})}}});async function y0t(e){try{let t=await fetch(e,{method:\"HEAD\"});return t.status===200?t.headers.get(\"content-type\")?.startsWith(\"image/\"):!1}catch(t){return typeof t==\"object\"&&typeof t.response<\"u\"||!Object.hasOwn(globalThis,\"Image\")?!1:new Promise(r=>{let n=new Image;n.onload=()=>{r(!0)},n.onerror=()=>{r(!1)},n.src=e})}}function ohe(e,t){return e?e.endsWith(\"/\")?e.slice(0,-1):e:t}function AF({uri:e,gatewayUrls:t}){let r=m0t.test(e);if(r)return{uri:e,isOnChain:!0,isEncoded:r};let n=ohe(t?.ipfs,\"https://ipfs.io\"),o=ohe(t?.arweave,\"https://arweave.net\"),i=e.match(f0t),{protocol:c,subpath:l,target:f,subtarget:p=\"\"}=i?.groups||{},h=c===\"ipns:/\"||l===\"ipns/\",y=c===\"ipfs:/\"||l===\"ipfs/\"||p0t.test(e);if(e.startsWith(\"http\")&&!h&&!y){let E=e;return t?.arweave&&(E=e.replace(/https:\\\\/\\\\/arweave.net/g,t?.arweave)),{uri:E,isOnChain:!1,isEncoded:!1}}if((h||y)&&f)return{uri:`${n}/${h?\"ipns\":\"ipfs\"}/${f}${p}`,isOnChain:!1,isEncoded:!1};if(c===\"ar:/\"&&f)return{uri:`${o}/${f}${p||\"\"}`,isOnChain:!1,isEncoded:!1};let w=e.replace(h0t,\"\");if(w.startsWith(\"<svg\")&&(w=`data:image/svg+xml;base64,${btoa(w)}`),w.startsWith(\"data:\")||w.startsWith(\"{\"))return{uri:w,isOnChain:!0,isEncoded:!1};throw new Ov({uri:e})}function kF(e){if(typeof e!=\"object\"||!(\"image\"in e)&&!(\"image_url\"in e)&&!(\"image_data\"in e))throw new a7({data:e});return e.image||e.image_url||e.image_data}async function ihe({gatewayUrls:e,uri:t}){try{let r=await fetch(t).then(o=>o.json());return await c7({gatewayUrls:e,uri:kF(r)})}catch{throw new Ov({uri:t})}}async function c7({gatewayUrls:e,uri:t}){let{uri:r,isOnChain:n}=AF({uri:t,gatewayUrls:e});if(n||await y0t(r))return r;throw new Ov({uri:t})}function ahe(e){let t=e;t.startsWith(\"did:nft:\")&&(t=t.replace(\"did:nft:\",\"\").replace(/_/g,\"/\"));let[r,n,o]=t.split(\"/\"),[i,c]=r.split(\":\"),[l,f]=n.split(\":\");if(!i||i.toLowerCase()!==\"eip155\")throw new Eh({reason:\"Only EIP-155 supported\"});if(!c)throw new Eh({reason:\"Chain ID not found\"});if(!f)throw new Eh({reason:\"Contract address not found\"});if(!o)throw new Eh({reason:\"Token ID not found\"});if(!l)throw new Eh({reason:\"ERC namespace not found\"});return{chainID:Number.parseInt(c,10),namespace:l.toLowerCase(),contractAddress:f,tokenID:o}}async function she(e,{nft:t}){if(t.namespace===\"erc721\")return Wr(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(t.namespace===\"erc1155\")return Wr(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 s7({namespace:t.namespace})}var f0t,p0t,m0t,h0t,che=x(()=>{u();sc();nhe();f0t=/(?<protocol>https?:\\\\/\\\\/[^/]*|ipfs:\\\\/|ipns:\\\\/|ar:\\\\/)?(?<root>\\\\/)?(?<subpath>ipfs\\\\/|ipns\\\\/)?(?<target>[\\\\w\\\\-.]+)(?<subtarget>\\\\/.*)?/,p0t=/^(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>\\\\/.*)?$/,m0t=/^data:([a-zA-Z\\\\-/+]*);base64,([^\"].*)/,h0t=/^data:([a-zA-Z\\\\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/});async function uhe(e,{gatewayUrls:t,record:r}){return/eip155:/i.test(r)?b0t(e,{gatewayUrls:t,record:r}):c7({uri:r,gatewayUrls:t})}async function b0t(e,{gatewayUrls:t,record:r}){let n=ahe(r),o=await she(e,{nft:n}),{uri:i,isOnChain:c,isEncoded:l}=AF({uri:o,gatewayUrls:t});if(c&&(i.includes(\"data:application/json;base64,\")||i.startsWith(\"{\"))){let p=l?atob(i.replace(\"data:application/json;base64,\",\"\")):i,h=JSON.parse(p);return c7({uri:kF(h),gatewayUrls:t})}let f=n.tokenID;return n.namespace===\"erc1155\"&&(f=f.replace(\"0x\",\"\").padStart(64,\"0\")),ihe({gatewayUrls:t,uri:i.replace(/(?:0x)?{id}/,f)})}var lhe=x(()=>{u();che()});async function u7(e,t){let{blockNumber:r,blockTag:n,key:o,name:i,gatewayUrls:c,strict:l}=t,{chain:f}=e,p=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!f)throw new Error(\"client chain not configured. universalResolverAddress is required.\");return qc({blockNumber:r,chain:f,contract:\"ensUniversalResolver\"})})(),h=f?.ensTlds;if(h&&!h.some(y=>i.endsWith(y)))return null;try{let y={address:p,abi:MI,args:[rt(Rv(i)),vt({abi:rF,functionName:\"text\",args:[c5(i),o]}),c??[pp]],functionName:\"resolveWithGateways\",blockNumber:r,blockTag:n},E=await Ce(e,Wr,\"readContract\")(y);if(E[0]===\"0x\")return null;let A=Ji({abi:rF,functionName:\"text\",data:E[0]});return A===\"\"?null:A}catch(y){if(l)throw y;if(Pv(y))return null;throw y}}var CF=x(()=>{u();vd();lp();ki();pb();ot();n7();n5();SF();i7();Yt();sc()});async function dhe(e,{blockNumber:t,blockTag:r,assetGatewayUrls:n,name:o,gatewayUrls:i,strict:c,universalResolverAddress:l}){let f=await Ce(e,u7,\"getEnsText\")({blockNumber:t,blockTag:r,key:\"avatar\",name:o,universalResolverAddress:l,gatewayUrls:i,strict:c});if(!f)return null;try{return await uhe(e,{record:f,gatewayUrls:n})}catch{return null}}var fhe=x(()=>{u();lhe();Yt();CF()});async function phe(e,t){let{address:r,blockNumber:n,blockTag:o,coinType:i=60n,gatewayUrls:c,strict:l}=t,{chain:f}=e,p=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!f)throw new Error(\"client chain not configured. universalResolverAddress is required.\");return qc({blockNumber:n,chain:f,contract:\"ensUniversalResolver\"})})();try{let h={address:p,abi:Tme,args:[r,i,c??[pp]],functionName:\"reverseWithGateways\",blockNumber:n,blockTag:o},y=Ce(e,Wr,\"readContract\"),[w]=await y(h);return w||null}catch(h){if(l)throw h;if(Pv(h))return null;throw h}}var mhe=x(()=>{u();vd();pb();n7();n5();Yt();sc()});async function hhe(e,t){let{blockNumber:r,blockTag:n,name:o}=t,{chain:i}=e,c=(()=>{if(t.universalResolverAddress)return t.universalResolverAddress;if(!i)throw new Error(\"client chain not configured. universalResolverAddress is required.\");return qc({blockNumber:r,chain:i,contract:\"ensUniversalResolver\"})})(),l=i?.ensTlds;if(l&&!l.some(p=>o.endsWith(p)))throw new Error(`${o} is not a valid ENS TLD (${l?.join(\", \")}) for chain \"${i.name}\" (id: ${i.id}).`);let[f]=await Ce(e,Wr,\"readContract\")({address:c,abi:[{inputs:[{type:\"bytes\"}],name:\"findResolver\",outputs:[{type:\"address\"},{type:\"bytes32\"},{type:\"uint256\"}],stateMutability:\"view\",type:\"function\"}],functionName:\"findResolver\",args:[rt(Rv(o))],blockNumber:r,blockTag:n});return f}var yhe=x(()=>{u();pb();ot();i7();Yt();sc()});async function l7(e,t){let{account:r=e.account,blockNumber:n,blockTag:o=\"latest\",blobs:i,data:c,gas:l,gasPrice:f,maxFeePerBlobGas:p,maxFeePerGas:h,maxPriorityFeePerGas:y,to:w,value:E,...A}=t,C=r?tt(r):void 0;try{Uo(t);let M=(typeof n==\"bigint\"?le(n):void 0)||o,D=e.chain?.formatters?.transactionRequest?.format,H=(D||So)({...ms(A,{format:D}),account:C,blobs:i,data:c,gas:l,gasPrice:f,maxFeePerBlobGas:p,maxFeePerGas:h,maxPriorityFeePerGas:y,to:w,value:E},\"createAccessList\"),V=await e.request({method:\"eth_createAccessList\",params:[H,M]});return{accessList:V.accessList,gasUsed:BigInt(V.gasUsed)}}catch(R){throw _v(R,{...t,account:C,chain:e.chain})}}var TF=x(()=>{u();Zr();ot();zI();ch();hs();Vu()});async function bhe(e){let t=Jm(e,{method:\"eth_newBlockFilter\"}),r=await e.request({method:\"eth_newBlockFilter\"});return{id:r,request:t(r),type:\"block\"}}var ghe=x(()=>{u();ES()});async function d7(e,{address:t,args:r,event:n,events:o,fromBlock:i,strict:c,toBlock:l}={}){let f=o??(n?[n]:void 0),p=Jm(e,{method:\"eth_newFilter\"}),h=[];f&&(h=[f.flatMap(E=>ld({abi:[E],eventName:E.name,args:r}))],n&&(h=h[0]));let y=await e.request({method:\"eth_newFilter\",params:[{address:t,fromBlock:typeof i==\"bigint\"?le(i):i,toBlock:typeof l==\"bigint\"?le(l):l,...h.length?{topics:h}:{}}]});return{abi:f,args:r,eventName:n?n.name:void 0,fromBlock:i,id:y,request:p(y),strict:!!c,toBlock:l,type:\"event\"}}var IF=x(()=>{u();Tx();ot();ES()});async function f7(e){let t=Jm(e,{method:\"eth_newPendingTransactionFilter\"}),r=await e.request({method:\"eth_newPendingTransactionFilter\"});return{id:r,request:t(r),type:\"transaction\"}}var PF=x(()=>{u();ES()});async function xhe(e,{address:t,blockNumber:r,blockTag:n=e.experimental_blockTag??\"latest\"}){if(e.batch?.multicall&&e.chain?.contracts?.multicall3){let c=e.chain.contracts.multicall3.address,l=vt({abi:Ju,functionName:\"getEthBalance\",args:[t]}),{data:f}=await Ce(e,Gc,\"call\")({to:c,data:l,blockNumber:r,blockTag:n});return Ji({abi:Ju,functionName:\"getEthBalance\",args:[t],data:f||\"0x\"})}let o=typeof r==\"bigint\"?le(r):void 0,i=await e.request({method:\"eth_getBalance\",params:[t,o||n]});return BigInt(i)}var vhe=x(()=>{u();vd();lp();ki();ot();Yt();hb()});async function whe(e){let t=await e.request({method:\"eth_blobBaseFee\"});return BigInt(t)}var Ehe=x(()=>{u()});async function _he(e,{blockHash:t,blockNumber:r,blockTag:n=\"latest\"}={}){let o=r!==void 0?le(r):void 0,i;return t?i=await e.request({method:\"eth_getBlockTransactionCountByHash\",params:[t]},{dedupe:!0}):i=await e.request({method:\"eth_getBlockTransactionCountByNumber\",params:[o||n]},{dedupe:!!o}),Gr(i)}var She=x(()=>{u();Kn();ot()});async function Ta(e,{address:t,blockNumber:r,blockTag:n=\"latest\"}){let o=r!==void 0?le(r):void 0,i=await e.request({method:\"eth_getCode\",params:[t,o||n]},{dedupe:!!o});if(i!==\"0x\")return i}var yb=x(()=>{u();ot()});async function Ahe(e,{address:t,blockNumber:r,blockTag:n=\"latest\"}){let o=await Ta(e,{address:t,...r!==void 0?{blockNumber:r}:{blockTag:n}});if(o&&qt(o)===23&&o.startsWith(\"0xef0100\"))return At(Ai(o,3,23))}var khe=x(()=>{u();Hu();xa();cd();yb()});var p7,Che=x(()=>{u();ht();p7=class extends oe{constructor({address:t}){super(`No EIP-712 domain found on contract \"${t}\".`,{metaMessages:[\"Ensure that:\",`- The contract is deployed at the address \"${t}\".`,\"- `eip712Domain()` function exists on the contract.\",\"- `eip712Domain()` function matches signature to ERC-5267 specification.\"],name:\"Eip712DomainNotFoundError\"})}}});async function The(e,t){let{address:r,factory:n,factoryData:o}=t;try{let[i,c,l,f,p,h,y]=await Ce(e,Wr,\"readContract\")({abi:g0t,address:r,functionName:\"eip712Domain\",factory:n,factoryData:o});return{domain:{name:c,version:l,chainId:Number(f),verifyingContract:p,salt:h},extensions:y,fields:i}}catch(i){let c=i;throw c.name===\"ContractFunctionExecutionError\"&&c.cause.name===\"ContractFunctionZeroDataError\"?new p7({address:r}):c}}var g0t,Ihe=x(()=>{u();Che();Yt();sc();g0t=[{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\"}]});function Phe(e){return{baseFeePerGas:e.baseFeePerGas.map(t=>BigInt(t)),gasUsedRatio:e.gasUsedRatio,oldestBlock:BigInt(e.oldestBlock),reward:e.reward?.map(t=>t.map(r=>BigInt(r)))}}var Rhe=x(()=>{u()});async function Ohe(e,{blockCount:t,blockNumber:r,blockTag:n=\"latest\",rewardPercentiles:o}){let i=typeof r==\"bigint\"?le(r):void 0,c=await e.request({method:\"eth_feeHistory\",params:[le(t),i||n,o]},{dedupe:!!i});return Phe(c)}var Bhe=x(()=>{u();ot();Rhe()});async function Mhe(e,{filter:t}){let r=t.strict??!1,o=(await t.request({method:\"eth_getFilterLogs\",params:[t.id]})).map(i=>po(i));return t.abi?bd({abi:t.abi,logs:o,strict:r}):o}var Dhe=x(()=>{u();KS();Gu()});function RF(e,t){if(e.length!==t.length)throw new xx({expectedLength:e.length,givenLength:t.length});let r=[];for(let n=0;n<e.length;n++){let o=e[n],i=t[n];r.push(Nhe(o,i))}return Cn(r)}function Nhe(e,t,r=!1){if(e===\"address\"){let c=t;if(!Et(c))throw new vr({address:c});return qr(c.toLowerCase(),{size:r?32:null})}if(e===\"string\")return ss(t);if(e===\"bytes\")return t;if(e===\"bool\")return qr(Ry(t),{size:r?32:1});let n=e.match(kx);if(n){let[c,l,f=\"256\"]=n,p=Number.parseInt(f,10)/8;return le(t,{size:r?32:p,signed:l===\"int\"})}let o=e.match(A4);if(o){let[c,l]=o;if(Number.parseInt(l,10)!==(t.length-2)/2)throw new Ex({expectedSize:Number.parseInt(l,10),givenSize:(t.length-2)/2});return qr(t,{dir:\"right\",size:r?32:null})}let i=e.match(Ife);if(i&&Array.isArray(t)){let[c,l]=i,f=[];for(let p=0;p<t.length;p++)f.push(Nhe(l,t[p],!0));return f.length===0?\"0x\":Cn(f)}throw new l4(e)}var Uhe=x(()=>{u();lo();Xs();Ki();Zn();Ff();ot();k4()});function $he(e){let{authorizationList:t}=e;if(t)for(let r of t){let{chainId:n}=r,o=r.address;if(!Et(o))throw new vr({address:o});if(n<0)throw new Qu({chainId:n})}m7(e)}function zhe(e){let{blobVersionedHashes:t}=e;if(t){if(t.length===0)throw new pv;for(let r of t){let n=qt(r),o=Gr(Ai(r,0,1));if(n!==32)throw new mI({hash:r,size:n});if(o!==1)throw new hI({hash:r,version:o})}}m7(e)}function m7(e){let{chainId:t,maxPriorityFeePerGas:r,maxFeePerGas:n,to:o}=e;if(t<=0)throw new Qu({chainId:t});if(o&&!Et(o))throw new vr({address:o});if(n&&n>ys)throw new ps({maxFeePerGas:n});if(r&&n&&r>n)throw new Hc({maxFeePerGas:n,maxPriorityFeePerGas:r})}function Lhe(e){let{chainId:t,maxPriorityFeePerGas:r,gasPrice:n,maxFeePerGas:o,to:i}=e;if(t<=0)throw new Qu({chainId:t});if(i&&!Et(i))throw new vr({address:i});if(r||o)throw new oe(\"`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.\");if(n&&n>ys)throw new ps({maxFeePerGas:n})}function Hhe(e){let{chainId:t,maxPriorityFeePerGas:r,gasPrice:n,maxFeePerGas:o,to:i}=e;if(i&&!Et(i))throw new vr({address:i});if(typeof t<\"u\"&&t<=0)throw new Qu({chainId:t});if(r||o)throw new oe(\"`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.\");if(n&&n>ys)throw new ps({maxFeePerGas:n})}var jhe=x(()=>{u();cb();Xs();ht();Lj();db();up();Ki();xa();cd();Kn()});function bb(e){if(!e||e.length===0)return[];let t=[];for(let r=0;r<e.length;r++){let{address:n,storageKeys:o}=e[r];for(let i=0;i<o.length;i++)if(o[i].length-2!==64)throw new L4({storageKey:o[i]});if(!Et(n,{strict:!1}))throw new vr({address:n});t.push([n,o])}return t}var OF=x(()=>{u();Xs();ec();Ki()});function gb(e,t){let r=mv(e);return r===\"eip1559\"?w0t(e,t):r===\"eip2930\"?E0t(e,t):r===\"eip4844\"?v0t(e,t):r===\"eip7702\"?x0t(e,t):_0t(e,t)}function x0t(e,t){let{authorizationList:r,chainId:n,gas:o,nonce:i,to:c,value:l,maxFeePerGas:f,maxPriorityFeePerGas:p,accessList:h,data:y}=e;$he(e);let w=bb(h),E=Fhe(r);return Cn([\"0x04\",ka([le(n),i?le(i):\"0x\",p?le(p):\"0x\",f?le(f):\"0x\",o?le(o):\"0x\",c??\"0x\",l?le(l):\"0x\",y??\"0x\",w,E,..._h(e,t)])])}function v0t(e,t){let{chainId:r,gas:n,nonce:o,to:i,value:c,maxFeePerBlobGas:l,maxFeePerGas:f,maxPriorityFeePerGas:p,accessList:h,data:y}=e;zhe(e);let w=e.blobVersionedHashes,E=e.sidecars;if(e.blobs&&(typeof w>\"u\"||typeof E>\"u\")){let $=typeof e.blobs[0]==\"string\"?e.blobs:e.blobs.map(G=>br(G)),H=e.kzg,V=lv({blobs:$,kzg:H});if(typeof w>\"u\"&&(w=fI({commitments:V})),typeof E>\"u\"){let G=dv({blobs:$,commitments:V,kzg:H});E=yI({blobs:$,commitments:V,proofs:G})}}let A=bb(h),C=[le(r),o?le(o):\"0x\",p?le(p):\"0x\",f?le(f):\"0x\",n?le(n):\"0x\",i??\"0x\",c?le(c):\"0x\",y??\"0x\",A,l?le(l):\"0x\",w??[],..._h(e,t)],R=[],M=[],D=[];if(E)for(let $=0;$<E.length;$++){let{blob:H,commitment:V,proof:G}=E[$];R.push(H),M.push(V),D.push(G)}return Cn([\"0x03\",E?ka([C,R,M,D]):ka(C)])}function w0t(e,t){let{chainId:r,gas:n,nonce:o,to:i,value:c,maxFeePerGas:l,maxPriorityFeePerGas:f,accessList:p,data:h}=e;m7(e);let y=bb(p),w=[le(r),o?le(o):\"0x\",f?le(f):\"0x\",l?le(l):\"0x\",n?le(n):\"0x\",i??\"0x\",c?le(c):\"0x\",h??\"0x\",y,..._h(e,t)];return Cn([\"0x02\",ka(w)])}function E0t(e,t){let{chainId:r,gas:n,data:o,nonce:i,to:c,value:l,accessList:f,gasPrice:p}=e;Lhe(e);let h=bb(f),y=[le(r),i?le(i):\"0x\",p?le(p):\"0x\",n?le(n):\"0x\",c??\"0x\",l?le(l):\"0x\",o??\"0x\",h,..._h(e,t)];return Cn([\"0x01\",ka(y)])}function _0t(e,t){let{chainId:r=0,gas:n,data:o,nonce:i,to:c,value:l,gasPrice:f}=e;Hhe(e);let p=[i?le(i):\"0x\",f?le(f):\"0x\",n?le(n):\"0x\",c??\"0x\",l?le(l):\"0x\",o??\"0x\"];if(t){let h=(()=>{if(t.v>=35n)return(t.v-35n)/2n>0?t.v:27n+(t.v===35n?0n:1n);if(r>0)return BigInt(r*2)+BigInt(35n+t.v-27n);let E=27n+(t.v===27n?0n:1n);if(t.v!==E)throw new $4({v:t.v});return E})(),y=Bn(t.r),w=Bn(t.s);p=[...p,le(h),y===\"0x00\"?\"0x\":y,w===\"0x00\"?\"0x\":w]}else r>0&&(p=[...p,le(r),\"0x\",\"0x\"]);return ka(p)}function _h(e,t){let r=t??e,{v:n,yParity:o}=r;if(typeof r.r>\"u\")return[];if(typeof r.s>\"u\")return[];if(typeof n>\"u\"&&typeof o>\"u\")return[];let i=Bn(r.r),c=Bn(r.s);return[typeof o==\"number\"?o?le(1):\"0x\":n===0n?\"0x\":n===1n?le(1):n===27n?\"0x\":le(1),i===\"0x00\"?\"0x\":i,c===\"0x00\"?\"0x\":c]}var Bv=x(()=>{u();ec();Vhe();cI();uI();zj();Hj();Zn();Vf();ot();Wx();jhe();bI();OF()});function Fhe(e){if(!e||e.length===0)return[];let t=[];for(let r of e){let{chainId:n,nonce:o,...i}=r,c=r.address;t.push([n?rt(n):\"0x\",c,o?rt(o):\"0x\",..._h({},i)])}return t}var Vhe=x(()=>{u();ot();Bv()});async function qhe({address:e,authorization:t,signature:r}){return Wi(At(e),await ah({authorization:t,signature:r}))}var Ghe=x(()=>{u();Hu();yh();$S()});function Khe(e,{enabled:t=!0,id:r}){if(!t||!r)return e();if(h7.get(r))return h7.get(r);let n=e().finally(()=>h7.delete(r));return h7.set(r,n),n}var h7,Zhe=x(()=>{u();Zm();h7=new Gi(8192)});function Whe(e,t={}){return async(r,n={})=>{let{dedupe:o=!1,methods:i,retryDelay:c=150,retryCount:l=3,uid:f}={...t,...n},{method:p}=r;if(i?.exclude?.includes(p))throw new Yf(new Error(\"method not supported\"),{method:p});if(i?.include&&!i.include.includes(p))throw new Yf(new Error(\"method not supported\"),{method:p});let h=o?A0t(`${f}.${ir(r)}`):void 0;return Khe(()=>Sd(async()=>{try{return await e(r)}catch(y){let w=y;switch(w.code){case Ly.code:throw new Ly(w);case Hy.code:throw new Hy(w);case jy.code:throw new jy(w,{method:r.method});case Fy.code:throw new Fy(w);case pd.code:throw new pd(w);case tc.code:throw new tc(w);case Vy.code:throw new Vy(w);case ju.code:throw new ju(w);case qy.code:throw new qy(w);case Yf.code:throw new Yf(w,{method:r.method});case Xm.code:throw new Xm(w);case Gy.code:throw new Gy(w);case Ln.code:throw new Ln(w);case Ky.code:throw new Ky(w);case Zy.code:throw new Zy(w);case Wy.code:throw new Wy(w);case Jy.code:throw new Jy(w);case _a.code:throw new _a(w);case Xf.code:throw new Xf(w);case Qy.code:throw new Qy(w);case Yy.code:throw new Yy(w);case Xy.code:throw new Xy(w);case eb.code:throw new eb(w);case tb.code:throw new tb(w);case ep.code:throw new ep(w);case 5e3:throw new Ln(w);case Lx.code:throw new Lx(w);default:throw y instanceof oe?y:new kS(w)}}},{delay:({count:y,error:w})=>{if(w&&w instanceof zc){let E=w?.headers?.get(\"Retry-After\");if(E?.match(/\\\\d/))return Number.parseInt(E,10)*1e3}return~~(1<<y)*c},retryCount:l,shouldRetry:({error:y})=>S0t(y)}),{enabled:o,id:h})}}function S0t(e){return\"code\"in e&&typeof e.code==\"number\"?e.code===-1||e.code===Xm.code||e.code===pd.code||e.code===429:e instanceof zc&&e.status?e.status===403||e.status===408||e.status===413||e.status===429||e.status===500||e.status===502||e.status===503||e.status===504:!0}function A0t(e,t=0){let r=3735928559^t,n=1103547991^t;for(let o=0;o<e.length;o++){let i=e.charCodeAt(o);r=Math.imul(r^i,2654435761),n=Math.imul(n^i,1597334677)}return r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>16,3266489909),n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(r^r>>>16,3266489909),(4294967296*(2097151&n)+(r>>>0)).toString(36)}var Jhe=x(()=>{u();ht();zy();rb();Zhe();s5();Ci()});function g(e){let t={formatters:void 0,fees:void 0,serializers:void 0,...e};function r(n){return o=>{let i=typeof o==\"function\"?o(n):o,c={...n,...i};return Object.assign(c,{extend:r(c)})}}return Object.assign(t,{extend:r(t)})}function BF(){return{}}var T=x(()=>{u()});function MF(e){let{source:t}=e,r=new Map,n=new Gi(8192),o=new Map,i=({address:c,chainId:l})=>`${c}.${l}`;return{async consume({address:c,chainId:l,client:f}){let p=i({address:c,chainId:l}),h=this.get({address:c,chainId:l,client:f});this.increment({address:c,chainId:l});let y=await h;return await t.set({address:c,chainId:l},y),n.set(p,y),y},async increment({address:c,chainId:l}){let f=i({address:c,chainId:l}),p=r.get(f)??0;r.set(f,p+1)},async get({address:c,chainId:l,client:f}){let p=i({address:c,chainId:l}),h=o.get(p);return h||(h=(async()=>{try{let w=await t.get({address:c,chainId:l,client:f}),E=n.get(p)??0;return E>0&&w<=E?E+1:(n.delete(p),w)}finally{this.reset({address:c,chainId:l})}})(),o.set(p,h)),(r.get(p)??0)+await h},reset({address:c,chainId:l}){let f=i({address:c,chainId:l});r.delete(f),o.delete(f)}}}function k0t(){return{async get(e){let{address:t,client:r}=e;return mh(r,{address:t,blockTag:\"pending\"})},set(){}}}var Ler,Qhe=x(()=>{u();VS();Zm();Ler=MF({source:k0t()})});function u5(e,{errorInstance:t=new Error(\"timed out\"),timeout:r,signal:n}){return new Promise((o,i)=>{(async()=>{let c;try{let l=new AbortController;r>0&&(c=setTimeout(()=>{n?l.abort():i(t)},r)),o(await e({signal:l?.signal||null}))}catch(l){l?.name===\"AbortError\"&&i(t),i(l)}finally{clearTimeout(c)}})()})}var DF=x(()=>{u()});function C0t(){return{current:0,take(){return this.current++},reset(){this.current=0}}}var NF,Yhe=x(()=>{u();NF=C0t()});function Xhe(e,t={}){let{url:r,headers:n}=T0t(e);return{async request(o){let{body:i,fetchFn:c=t.fetchFn??fetch,onRequest:l=t.onRequest,onResponse:f=t.onResponse,timeout:p=t.timeout??1e4}=o,h={...t.fetchOptions??{},...o.fetchOptions??{}},{headers:y,method:w,signal:E}=h;try{let A=await u5(async({signal:R})=>{let M={...h,body:Array.isArray(i)?ir(i.map(V=>({jsonrpc:\"2.0\",id:V.id??NF.take(),...V}))):ir({jsonrpc:\"2.0\",id:i.id??NF.take(),...i}),headers:{...n,\"Content-Type\":\"application/json\",...y},method:w||\"POST\",signal:E||(p>0?R:null)},D=new Request(r,M),$=await l?.(D,M)??{...M,url:r};return await c($.url??r,$)},{errorInstance:new AS({body:i,url:r}),timeout:p,signal:!0});f&&await f(A);let C;if(A.headers.get(\"Content-Type\")?.startsWith(\"application/json\"))C=await A.json();else{C=await A.text();try{C=JSON.parse(C||\"{}\")}catch(R){if(A.ok)throw R;C={error:C}}}if(!A.ok){if(typeof C.error?.code==\"number\"&&typeof C.error?.message==\"string\")return C;throw new zc({body:i,details:ir(C.error)||A.statusText,headers:A.headers,status:A.status,url:r})}return C}catch(A){throw A instanceof zc||A instanceof AS?A:new zc({body:i,cause:A,url:r})}}}}function T0t(e){try{let t=new URL(e),r=(()=>{if(t.username){let n=`${decodeURIComponent(t.username)}:${decodeURIComponent(t.password)}`;return t.username=\"\",t.password=\"\",{url:t.toString(),headers:{Authorization:`Basic ${btoa(n)}`}}}})();return{url:t.toString(),...r}}catch{return{url:e}}}var e0e=x(()=>{u();zy();DF();Ci();Yhe()});var t0e,r0e=x(()=>{u();t0e=`\\u0019Ethereum Signed Message:\\n`});function n0e(e){let t=typeof e==\"string\"?ss(e):typeof e.raw==\"string\"?e.raw:br(e.raw),r=ss(`${t0e}${qt(t)}`);return hr([r,t])}var o0e=x(()=>{u();r0e();Zn();xa();ot()});function xp(e,t){return Gt(n0e(e),t)}var y7=x(()=>{u();us();o0e()});var b7,g7,x7,i0e=x(()=>{u();Ci();ht();b7=class extends oe{constructor({domain:t}){super(`Invalid domain \"${ir(t)}\".`,{metaMessages:[\"Must be a valid EIP-712 domain.\"]})}},g7=class extends oe{constructor({primaryType:t,types:r}){super(`Invalid primary type \\\\`${t}\\\\` must be one of \\\\`${JSON.stringify(Object.keys(r))}\\\\`.`,{docsPath:\"/api/glossary/Errors#typeddatainvalidprimarytypeerror\",metaMessages:[\"Check that the primary type is a key in `types`.\"]})}},x7=class extends oe{constructor({type:t}){super(`Struct type \"${t}\" is invalid.`,{metaMessages:[\"Struct type must not be a Solidity type.\"],name:\"InvalidStructTypeError\"})}}});function a0e(e){let{domain:t,message:r,primaryType:n,types:o}=e,i=(f,p)=>{let h={...p};for(let y of f){let{name:w,type:E}=y;E===\"address\"&&(h[w]=h[w].toLowerCase())}return h},c=o.EIP712Domain?t?i(o.EIP712Domain,t):{}:{},l=(()=>{if(n!==\"EIP712Domain\")return i(o[n],r)})();return ir({domain:c,message:l,primaryType:n,types:o})}function v7(e){let{domain:t,message:r,primaryType:n,types:o}=e,i=(c,l)=>{for(let f of c){let{name:p,type:h}=f,y=l[p],w=h.match(kx);if(w&&(typeof y==\"number\"||typeof y==\"bigint\")){let[C,R,M]=w;le(y,{signed:R===\"int\",size:Number.parseInt(M,10)/8})}if(h===\"address\"&&typeof y==\"string\"&&!Et(y))throw new vr({address:y});let E=h.match(A4);if(E){let[C,R]=E;if(R&&qt(y)!==Number.parseInt(R,10))throw new Ex({expectedSize:Number.parseInt(R,10),givenSize:qt(y)})}let A=o[h];A&&(I0t(h),i(A,y))}};if(o.EIP712Domain&&t){if(typeof t!=\"object\")throw new b7({domain:t});i(o.EIP712Domain,t)}if(n!==\"EIP712Domain\")if(o[n])i(o[n],r);else throw new g7({primaryType:n,types:o})}function w7({domain:e}){return[typeof e?.name==\"string\"&&{name:\"name\",type:\"string\"},e?.version&&{name:\"version\",type:\"string\"},(typeof e?.chainId==\"number\"||typeof e?.chainId==\"bigint\")&&{name:\"chainId\",type:\"uint256\"},e?.verifyingContract&&{name:\"verifyingContract\",type:\"address\"},e?.salt&&{name:\"salt\",type:\"bytes32\"}].filter(Boolean)}function I0t(e){if(e===\"address\"||e===\"bool\"||e===\"string\"||e.startsWith(\"bytes\")||e.startsWith(\"uint\")||e.startsWith(\"int\"))throw new x7({type:e})}var UF=x(()=>{u();lo();Xs();i0e();Ki();xa();ot();k4();Ci()});function Ad(e){let{domain:t={},message:r,primaryType:n}=e,o={EIP712Domain:w7({domain:t}),...e.types};v7({domain:t,message:r,primaryType:n,types:o});let i=[\"0x1901\"];return t&&i.push(s0e({domain:t,types:o})),n!==\"EIP712Domain\"&&i.push($F({data:r,primaryType:n,types:o})),Gt(hr(i))}function s0e({domain:e,types:t}){return $F({data:e,primaryType:\"EIP712Domain\",types:t})}function $F({data:e,primaryType:t,types:r}){let n=c0e({data:e,primaryType:t,types:r});return Gt(n)}function c0e({data:e,primaryType:t,types:r}){let n=[{type:\"bytes32\"}],o=[P0t({primaryType:t,types:r})];for(let i of r[t]){let[c,l]=l0e({types:r,name:i.name,type:i.type,value:e[i.name]});n.push(c),o.push(l)}return zn(n,o)}function P0t({primaryType:e,types:t}){let r=rt(R0t({primaryType:e,types:t}));return Gt(r)}function R0t({primaryType:e,types:t}){let r=\"\",n=u0e({primaryType:e,types:t});n.delete(e);let o=[e,...Array.from(n).sort()];for(let i of o)r+=`${i}(${t[i].map(({name:c,type:l})=>`${l} ${c}`).join(\",\")})`;return r}function u0e({primaryType:e,types:t},r=new Set){let o=e.match(/^\\\\w*/u)?.[0];if(r.has(o)||t[o]===void 0)return r;r.add(o);for(let i of t[o])u0e({primaryType:i.type,types:t},r);return r}function l0e({types:e,name:t,type:r,value:n}){if(e[r]!==void 0)return[{type:\"bytes32\"},Gt(c0e({data:n,primaryType:r,types:e}))];if(r===\"bytes\")return[{type:\"bytes32\"},Gt(n)];if(r===\"string\")return[{type:\"bytes32\"},Gt(rt(n))];if(r.lastIndexOf(\"]\")===r.length-1){let o=r.slice(0,r.lastIndexOf(\"[\")),i=n.map(c=>l0e({name:t,type:o,types:e,value:c}));return[{type:\"bytes32\"},Gt(zn(i.map(([c])=>c),i.map(([,c])=>c)))]}return[{type:r},n]}var E7=x(()=>{u();$c();Zn();ot();us();UF()});var d0e,f0e=x(()=>{u();d0e=\"0x6492649264926492649264926492649264926492649264926492649264926492\"});var _7,p0e=x(()=>{u();_7=class extends Map{constructor(t){super(),Object.defineProperty(this,\"maxSize\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){let r=super.get(t);return super.has(t)&&r!==void 0&&(this.delete(t),super.set(t,r)),r}set(t,r){if(super.set(t,r),this.maxSize&&this.size>this.maxSize){let n=this.keys().next().value;n&&this.delete(n)}return this}}});var O0t,S7,m0e=x(()=>{u();p0e();O0t={checksum:new _7(8192)},S7=O0t.checksum});function uc(e,t={}){let{as:r=typeof e==\"string\"?\"Hex\":\"Bytes\"}=t,n=Ax(QS(e));return r===\"Bytes\"?n:sn(n)}function zF(e,t={}){let{as:r=typeof e==\"string\"?\"Hex\":\"Bytes\"}=t,n=fv(QS(e));return r===\"Bytes\"?n:sn(n)}function h0e(e){return Ca(e)&&Sr(e)===32}var Sh=x(()=>{u();E4();lI();Vc();Ar()});function y0e(e,t={}){let{compressed:r}=t,{prefix:n,x:o,y:i}=e;if(r===!1||typeof o==\"bigint\"&&typeof i==\"bigint\"){if(n!==4)throw new A7({prefix:n,cause:new jF});return}if(r===!0||typeof o==\"bigint\"&&typeof i>\"u\"){if(n!==3&&n!==2)throw new A7({prefix:n,cause:new HF});return}throw new LF({publicKey:e})}function l5(e){let t=(()=>{if(Ca(e))return k7(e);if(Eme(e))return M0t(e);let{prefix:r,x:n,y:o}=e;return typeof n==\"bigint\"&&typeof o==\"bigint\"?{prefix:r??4,x:n,y:o}:{prefix:r,x:n}})();return y0e(t),t}function M0t(e){return k7(sn(e))}function k7(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new FF({publicKey:e});if(e.length===130){let n=BigInt(wt(e,0,32)),o=BigInt(wt(e,32,64));return{prefix:4,x:n,y:o}}if(e.length===132){let n=Number(wt(e,0,1)),o=BigInt(wt(e,1,33)),i=BigInt(wt(e,33,65));return{prefix:n,x:o,y:i}}let t=Number(wt(e,0,1)),r=BigInt(wt(e,1,33));return{prefix:t,x:r}}function b0e(e,t={}){return bs(vb(e,t))}function vb(e,t={}){y0e(e);let{prefix:r,x:n,y:o}=e,{includePrefix:i=!0}=t;return Xt(i?Ae(r,{size:1}):\"0x\",Ae(n,{size:32}),typeof o==\"bigint\"?Ae(o,{size:32}):\"0x\")}var LF,A7,HF,jF,FF,Mv=x(()=>{u();Vc();Jo();Ar();vv();LF=class extends He{constructor({publicKey:t}){super(`Value \\\\`${Zu(t)}\\\\` is not a valid public key.`,{metaMessages:[\"Public key must contain:\",\"- an `x` and `prefix` value (compressed)\",\"- an `x`, `y`, and `prefix` value (uncompressed)\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidError\"})}},A7=class extends He{constructor({prefix:t,cause:r}){super(`Prefix \"${t}\" is invalid.`,{cause:r}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidPrefixError\"})}},HF=class extends He{constructor(){super(\"Prefix must be 2 or 3 for compressed public keys.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidCompressedPrefixError\"})}},jF=class extends He{constructor(){super(\"Prefix must be 4 for uncompressed public keys.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidUncompressedPrefixError\"})}},FF=class extends He{constructor({publicKey:t}){super(`Value \\\\`${t}\\\\` is an invalid public key size.`,{metaMessages:[\"Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).\",`Received ${Sr(gh(t))} bytes.`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidSerializedSizeError\"})}}});function Qi(e,t={}){let{strict:r=!0}=t;if(!D0t.test(e))throw new C7({address:e,cause:new VF});if(r){if(e.toLowerCase()===e)return;if(wb(e)!==e)throw new C7({address:e,cause:new qF})}}function wb(e){if(S7.has(e))return S7.get(e);Qi(e,{strict:!1});let t=e.substring(2).toLowerCase(),r=uc(CI(t),{as:\"Bytes\"}),n=t.split(\"\");for(let i=0;i<40;i+=2)r[i>>1]>>4>=8&&n[i]&&(n[i]=n[i].toUpperCase()),(r[i>>1]&15)>=8&&n[i+1]&&(n[i+1]=n[i+1].toUpperCase());let o=`0x${n.join(\"\")}`;return S7.set(e,o),o}function N0t(e,t={}){let{checksum:r=!1}=t;return Qi(e),r?wb(e):e}function Ia(e,t={}){let r=uc(`0x${vb(e).slice(4)}`).substring(26);return N0t(`0x${r}`,t)}function f5(e,t){return Qi(e,{strict:!1}),Qi(t,{strict:!1}),e.toLowerCase()===t.toLowerCase()}function Eb(e,t={}){let{strict:r=!0}=t??{};try{return Qi(e,{strict:r}),!0}catch{return!1}}var D0t,C7,VF,qF,Zc=x(()=>{u();Vc();m0e();Jo();Sh();Mv();D0t=/^0x[a-fA-F0-9]{40}$/;C7=class extends He{constructor({address:t,cause:r}){super(`Address \"${t}\" is invalid.`,{cause:r}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Address.InvalidAddressError\"})}},VF=class extends He{constructor(){super(\"Address is not a 20 byte (40 hexadecimal character) value.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Address.InvalidInputError\"})}},qF=class extends He{constructor(){super(\"Address does not match its checksum counterpart.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Address.InvalidChecksumError\"})}}});var g0e,x0e,T7,Ftr,Vtr,qtr,Gtr,Ktr,Ztr,Wtr,Jtr,Qtr,Ytr,Xtr,err,trr,rrr,nrr,orr,irr,arr,srr,crr,urr,lrr,drr,frr,prr,mrr,hrr,yrr,brr,grr,xrr,vrr,wrr,Err,_rr,Srr,Arr,krr,Crr,Trr,Irr,Prr,Rrr,Orr,Brr,Mrr,Drr,Nrr,Urr,$rr,zrr,Lrr,Hrr,jrr,Frr,Vrr,qrr,Grr,Krr,Zrr,Wrr,Jrr,Qrr,Yrr,Xrr,enr,tnr,rnr,nnr,onr,inr,anr,snr,cnr,unr,lnr,dnr,fnr,pnr,mnr,hnr,ynr,bnr,gnr,xnr,vnr,wnr,Enr,_nr,Snr,Anr,knr,Cnr,Tnr,Inr,GF,I7=x(()=>{u();g0e=/^(.*)\\\\[([0-9]*)\\\\]$/,x0e=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,T7=/^(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)?$/,Ftr=2n**(8n-1n)-1n,Vtr=2n**(16n-1n)-1n,qtr=2n**(24n-1n)-1n,Gtr=2n**(32n-1n)-1n,Ktr=2n**(40n-1n)-1n,Ztr=2n**(48n-1n)-1n,Wtr=2n**(56n-1n)-1n,Jtr=2n**(64n-1n)-1n,Qtr=2n**(72n-1n)-1n,Ytr=2n**(80n-1n)-1n,Xtr=2n**(88n-1n)-1n,err=2n**(96n-1n)-1n,trr=2n**(104n-1n)-1n,rrr=2n**(112n-1n)-1n,nrr=2n**(120n-1n)-1n,orr=2n**(128n-1n)-1n,irr=2n**(136n-1n)-1n,arr=2n**(144n-1n)-1n,srr=2n**(152n-1n)-1n,crr=2n**(160n-1n)-1n,urr=2n**(168n-1n)-1n,lrr=2n**(176n-1n)-1n,drr=2n**(184n-1n)-1n,frr=2n**(192n-1n)-1n,prr=2n**(200n-1n)-1n,mrr=2n**(208n-1n)-1n,hrr=2n**(216n-1n)-1n,yrr=2n**(224n-1n)-1n,brr=2n**(232n-1n)-1n,grr=2n**(240n-1n)-1n,xrr=2n**(248n-1n)-1n,vrr=2n**(256n-1n)-1n,wrr=-(2n**(8n-1n)),Err=-(2n**(16n-1n)),_rr=-(2n**(24n-1n)),Srr=-(2n**(32n-1n)),Arr=-(2n**(40n-1n)),krr=-(2n**(48n-1n)),Crr=-(2n**(56n-1n)),Trr=-(2n**(64n-1n)),Irr=-(2n**(72n-1n)),Prr=-(2n**(80n-1n)),Rrr=-(2n**(88n-1n)),Orr=-(2n**(96n-1n)),Brr=-(2n**(104n-1n)),Mrr=-(2n**(112n-1n)),Drr=-(2n**(120n-1n)),Nrr=-(2n**(128n-1n)),Urr=-(2n**(136n-1n)),$rr=-(2n**(144n-1n)),zrr=-(2n**(152n-1n)),Lrr=-(2n**(160n-1n)),Hrr=-(2n**(168n-1n)),jrr=-(2n**(176n-1n)),Frr=-(2n**(184n-1n)),Vrr=-(2n**(192n-1n)),qrr=-(2n**(200n-1n)),Grr=-(2n**(208n-1n)),Krr=-(2n**(216n-1n)),Zrr=-(2n**(224n-1n)),Wrr=-(2n**(232n-1n)),Jrr=-(2n**(240n-1n)),Qrr=-(2n**(248n-1n)),Yrr=-(2n**(256n-1n)),Xrr=2n**8n-1n,enr=2n**16n-1n,tnr=2n**24n-1n,rnr=2n**32n-1n,nnr=2n**40n-1n,onr=2n**48n-1n,inr=2n**56n-1n,anr=2n**64n-1n,snr=2n**72n-1n,cnr=2n**80n-1n,unr=2n**88n-1n,lnr=2n**96n-1n,dnr=2n**104n-1n,fnr=2n**112n-1n,pnr=2n**120n-1n,mnr=2n**128n-1n,hnr=2n**136n-1n,ynr=2n**144n-1n,bnr=2n**152n-1n,gnr=2n**160n-1n,xnr=2n**168n-1n,vnr=2n**176n-1n,wnr=2n**184n-1n,Enr=2n**192n-1n,_nr=2n**200n-1n,Snr=2n**208n-1n,Anr=2n**216n-1n,knr=2n**224n-1n,Cnr=2n**232n-1n,Tnr=2n**240n-1n,Inr=2n**248n-1n,GF=2n**256n-1n});function _b(e,t,r){let{checksumAddress:n,staticPosition:o}=r,i=WF(t.type);if(i){let[c,l]=i;return $0t(e,{...t,type:l},{checksumAddress:n,length:c,staticPosition:o})}if(t.type===\"tuple\")return j0t(e,t,{checksumAddress:n,staticPosition:o});if(t.type===\"address\")return U0t(e,{checksum:n});if(t.type===\"bool\")return z0t(e);if(t.type.startsWith(\"bytes\"))return L0t(e,t,{staticPosition:o});if(t.type.startsWith(\"uint\")||t.type.startsWith(\"int\"))return H0t(e,t);if(t.type===\"string\")return F0t(e,{staticPosition:o});throw new Dv(t.type)}function U0t(e,t={}){let{checksum:r=!1}=t,n=e.readBytes(32);return[(i=>r?wb(i):i)(sn(gme(n,-20))),32]}function $0t(e,t,r){let{checksumAddress:n,length:o,staticPosition:i}=r;if(!o){let f=gd(e.readBytes(KF)),p=i+f,h=p+w0e;e.setPosition(p);let y=gd(e.readBytes(w0e)),w=p5(t),E=0,A=[];for(let C=0;C<y;++C){e.setPosition(h+(w?C*32:E));let[R,M]=_b(e,t,{checksumAddress:n,staticPosition:h});E+=M,A.push(R)}return e.setPosition(i+32),[A,32]}if(p5(t)){let f=gd(e.readBytes(KF)),p=i+f,h=[];for(let y=0;y<o;++y){e.setPosition(p+y*32);let[w]=_b(e,t,{checksumAddress:n,staticPosition:p});h.push(w)}return e.setPosition(i+32),[h,32]}let c=0,l=[];for(let f=0;f<o;++f){let[p,h]=_b(e,t,{checksumAddress:n,staticPosition:i+c});c+=h,l.push(p)}return[l,c]}function z0t(e){return[vme(e.readBytes(32),{size:32}),32]}function L0t(e,t,{staticPosition:r}){let[n,o]=t.type.split(\"bytes\");if(!o){let c=gd(e.readBytes(32));e.setPosition(r+c);let l=gd(e.readBytes(32));if(l===0)return e.setPosition(r+32),[\"0x\",32];let f=e.readBytes(l);return e.setPosition(r+32),[sn(f),32]}return[sn(e.readBytes(Number.parseInt(o,10),32)),32]}function H0t(e,t){let r=t.type.startsWith(\"int\"),n=Number.parseInt(t.type.split(\"int\")[1]||\"256\",10),o=e.readBytes(32);return[n>48?xme(o,{signed:r}):gd(o,{signed:r}),32]}function j0t(e,t,r){let{checksumAddress:n,staticPosition:o}=r,i=t.components.length===0||t.components.some(({name:f})=>!f),c=i?[]:{},l=0;if(p5(t)){let f=gd(e.readBytes(KF)),p=o+f;for(let h=0;h<t.components.length;++h){let y=t.components[h];e.setPosition(p+l);let[w,E]=_b(e,y,{checksumAddress:n,staticPosition:p});l+=E,c[i?h:y?.name]=w}return e.setPosition(o+32),[c,32]}for(let f=0;f<t.components.length;++f){let p=t.components[f],[h,y]=_b(e,p,{checksumAddress:n,staticPosition:o});c[i?f:p?.name]=h,l+=y}return[c,l]}function F0t(e,{staticPosition:t}){let r=gd(e.readBytes(32)),n=t+r;e.setPosition(n);let o=gd(e.readBytes(32));if(o===0)return e.setPosition(t+32),[\"\",32];let i=e.readBytes(o,32),c=wme(Qj(i));return e.setPosition(t+32),[c,32]}function E0e({checksumAddress:e,parameters:t,values:r}){let n=[];for(let o=0;o<t.length;o++)n.push(ZF({checksumAddress:e,parameter:t[o],value:r[o]}));return n}function ZF({checksumAddress:e=!1,parameter:t,value:r}){let n=t,o=WF(n.type);if(o){let[i,c]=o;return q0t(r,{checksumAddress:e,length:i,parameter:{...n,type:c}})}if(n.type===\"tuple\")return J0t(r,{checksumAddress:e,parameter:n});if(n.type===\"address\")return V0t(r,{checksum:e});if(n.type===\"bool\")return K0t(r);if(n.type.startsWith(\"uint\")||n.type.startsWith(\"int\")){let i=n.type.startsWith(\"int\"),[,,c=\"256\"]=T7.exec(n.type)??[];return Z0t(r,{signed:i,size:Number(c)})}if(n.type.startsWith(\"bytes\"))return G0t(r,{type:n.type});if(n.type===\"string\")return W0t(r);throw new Dv(n.type)}function P7(e){let t=0;for(let i=0;i<e.length;i++){let{dynamic:c,encoded:l}=e[i];c?t+=32:t+=Sr(l)}let r=[],n=[],o=0;for(let i=0;i<e.length;i++){let{dynamic:c,encoded:l}=e[i];c?(r.push(Ae(t+o,{size:32})),n.push(l),o+=Sr(l)):r.push(l)}return Xt(...r,...n)}function V0t(e,t){let{checksum:r=!1}=t;return Qi(e,{strict:r}),{dynamic:!1,encoded:fp(e.toLowerCase())}}function q0t(e,t){let{checksumAddress:r,length:n,parameter:o}=t,i=n===null;if(!Array.isArray(e))throw new O7(e);if(!i&&e.length!==n)throw new R7({expectedLength:n,givenLength:e.length,type:`${o.type}[${n}]`});let c=!1,l=[];for(let f=0;f<e.length;f++){let p=ZF({checksumAddress:r,parameter:o,value:e[f]});p.dynamic&&(c=!0),l.push(p)}if(i||c){let f=P7(l);if(i){let p=Ae(l.length,{size:32});return{dynamic:!0,encoded:l.length>0?Xt(p,f):p}}if(c)return{dynamic:!0,encoded:f}}return{dynamic:!1,encoded:Xt(...l.map(({encoded:f})=>f))}}function G0t(e,{type:t}){let[,r]=t.split(\"bytes\"),n=Sr(e);if(!r){let o=e;return n%32!==0&&(o=xd(o,Math.ceil((e.length-2)/2/32)*32)),{dynamic:!0,encoded:Xt(fp(Ae(n,{size:32})),o)}}if(n!==Number.parseInt(r,10))throw new m5({expectedSize:Number.parseInt(r,10),value:e});return{dynamic:!1,encoded:xd(e)}}function K0t(e){if(typeof e!=\"boolean\")throw new He(`Invalid boolean value: \"${e}\" (type: ${typeof e}). Expected: \\\\`true\\\\` or \\\\`false\\\\`.`);return{dynamic:!1,encoded:fp(RI(e))}}function Z0t(e,{signed:t,size:r}){if(typeof r==\"number\"){let n=2n**(BigInt(r)-(t?1n:0n))-1n,o=t?-n-1n:0n;if(e>n||e<o)throw new YS({max:n.toString(),min:o.toString(),signed:t,size:r/8,value:e.toString()})}return{dynamic:!1,encoded:Ae(e,{size:32,signed:t})}}function W0t(e){let t=Wu(e),r=Math.ceil(Sr(t)/32),n=[];for(let o=0;o<r;o++)n.push(xd(wt(t,o*32,(o+1)*32)));return{dynamic:!0,encoded:Xt(xd(Ae(Sr(t),{size:32})),...n)}}function J0t(e,t){let{checksumAddress:r,parameter:n}=t,o=!1,i=[];for(let c=0;c<n.components.length;c++){let l=n.components[c],f=Array.isArray(e)?c:l.name,p=ZF({checksumAddress:r,parameter:l,value:e[f]});i.push(p),p.dynamic&&(o=!0)}return{dynamic:o,encoded:o?P7(i):Xt(...i.map(({encoded:c})=>c))}}function WF(e){let t=e.match(/^(.*)\\\\[(\\\\d+)?\\\\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}function p5(e){let{type:t}=e;if(t===\"string\"||t===\"bytes\"||t.endsWith(\"[]\"))return!0;if(t===\"tuple\")return e.components?.some(p5);let r=WF(e.type);return!!(r&&p5({...e,type:r[1]}))}var w0e,KF,_0e=x(()=>{u();Nv();Zc();Vc();Jo();Ar();I7();w0e=32,KF=32});function y5(e,{recursiveReadLimit:t=8192}={}){let r=Object.create(Y0t);return r.bytes=e,r.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),r.positionReadCount=new Map,r.recursiveReadLimit=t,r}var Y0t,B7,JF,QF,YF=x(()=>{u();Jo();Y0t={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new QF({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new JF({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new B7({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new B7({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let r=t??this.position;return this.assertPosition(r+e-1),this.bytes.subarray(r,r+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,e&255),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let r=this.inspectBytes(e);return this.position+=t??e,r},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};B7=class extends He{constructor({offset:t}){super(`Offset \\\\`${t}\\\\` cannot be negative.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Cursor.NegativeOffsetError\"})}},JF=class extends He{constructor({length:t,position:r}){super(`Position \\\\`${r}\\\\` is out of bounds (\\\\`0 < position < ${t}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Cursor.PositionOutOfBoundsError\"})}},QF=class extends He{constructor({count:t,limit:r}){super(`Recursive read limit of \\\\`${r}\\\\` exceeded (recursive read count: \\\\`${t}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Cursor.RecursiveReadLimitExceededError\"})}}});function Uv(e,t,r={}){let{as:n=\"Array\",checksumAddress:o=!1}=r,i=typeof t==\"string\"?bs(t):t,c=y5(i);if(Fc(i)===0&&e.length>0)throw new tV;if(Fc(i)&&Fc(i)<32)throw new eV({data:typeof t==\"string\"?t:sn(t),parameters:e,size:Fc(i)});let l=0,f=n===\"Array\"?[]:{};for(let p=0;p<e.length;++p){let h=e[p];c.setPosition(l);let[y,w]=_b(c,h,{checksumAddress:o,staticPosition:0});l+=w,n===\"Array\"?f.push(y):f[h.name??p]=y}return f}function Ah(e,t,r){let{checksumAddress:n=!1}=r??{};if(e.length!==t.length)throw new M7({expectedLength:e.length,givenLength:t.length});let o=E0e({checksumAddress:n,parameters:e,values:t}),i=P7(o);return i.length===0?\"0x\":i}function XF(e,t){if(e.length!==t.length)throw new M7({expectedLength:e.length,givenLength:t.length});let r=[];for(let n=0;n<e.length;n++){let o=e[n],i=t[n];r.push(XF.encode(o,i))}return Xt(...r)}function b5(e){return Array.isArray(e)&&typeof e[0]==\"string\"?YT(e):typeof e==\"string\"?YT(e):e}var eV,tV,R7,m5,M7,O7,Dv,Nv=x(()=>{u();bx();Zc();Vc();Jo();Ar();_0e();YF();I7();(function(e){function t(r,n,o=!1){if(r===\"address\"){let f=n;return Qi(f),fp(f.toLowerCase(),o?32:0)}if(r===\"string\")return Wu(n);if(r===\"bytes\")return n;if(r===\"bool\")return fp(RI(n),o?32:1);let i=r.match(T7);if(i){let[f,p,h=\"256\"]=i,y=Number.parseInt(h,10)/8;return Ae(n,{size:o?32:y,signed:p===\"int\"})}let c=r.match(x0e);if(c){let[f,p]=c;if(Number.parseInt(p,10)!==(n.length-2)/2)throw new m5({expectedSize:Number.parseInt(p,10),value:n});return xd(n,o?32:0)}let l=r.match(g0e);if(l&&Array.isArray(n)){let[f,p]=l,h=[];for(let y=0;y<n.length;y++)h.push(t(p,n[y],!0));return h.length===0?\"0x\":Xt(...h)}throw new Dv(r)}e.encode=t})(XF||(XF={}));eV=class extends He{constructor({data:t,parameters:r,size:n}){super(`Data size of ${n} bytes is too small for given parameters.`,{metaMessages:[`Params: (${Lf(r)})`,`Data:   ${t} (${n} bytes)`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.DataSizeTooSmallError\"})}},tV=class extends He{constructor(){super(\\'Cannot decode zero data (\"0x\") with ABI parameters.\\'),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.ZeroDataError\"})}},R7=class extends He{constructor({expectedLength:t,givenLength:r,type:n}){super(`Array length mismatch for type \\\\`${n}\\\\`. Expected: \\\\`${t}\\\\`. Given: \\\\`${r}\\\\`.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.ArrayLengthMismatchError\"})}},m5=class extends He{constructor({expectedSize:t,value:r}){super(`Size of bytes \"${r}\" (bytes${Sr(r)}) does not match expected size (bytes${t}).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.BytesSizeMismatchError\"})}},M7=class extends He{constructor({expectedLength:t,givenLength:r}){super([\"ABI encoding parameters/values length mismatch.\",`Expected length (parameters): ${t}`,`Given length (values): ${r}`].join(`\\n`)),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.LengthMismatchError\"})}},O7=class extends He{constructor(t){super(`Value \\\\`${t}\\\\` is not a valid array.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.InvalidArrayError\"})}},Dv=class extends He{constructor(t){super(`Type \\\\`${t}\\\\` is not a valid ABI Type.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.InvalidTypeError\"})}}});function D7(e){return X0t(e,\"Hex\")}function X0t(e,t){let r=t??(typeof e==\"string\"?\"Hex\":\"Bytes\"),n=(()=>{if(typeof e==\"string\"){if(e.length>3&&e.length%2!==0)throw new PI(e);return bs(e)}return e})(),o=y5(n,{recursiveReadLimit:Number.POSITIVE_INFINITY});return k0e(o,r)}function k0e(e,t=\"Hex\"){if(e.bytes.length===0)return t===\"Hex\"?sn(e.bytes):e.bytes;let r=e.readByte();if(r<128&&e.decrementPosition(1),r<192){let o=A0e(e,r,128),i=e.readBytes(o);return t===\"Hex\"?sn(i):i}let n=A0e(e,r,192);return eyt(e,n,t)}function A0e(e,t,r){if(r===128&&t<128)return 1;if(t<=r+55)return t-r;if(t===r+55+1)return e.readUint8();if(t===r+55+2)return e.readUint16();if(t===r+55+3)return e.readUint24();if(t===r+55+4)return e.readUint32();throw new He(\"Invalid RLP prefix\")}function eyt(e,t,r){let n=e.position,o=[];for(;e.position-n<t;)o.push(k0e(e,r));return o}function tyt(e,t){let{as:r}=t,n=C0e(e),o=y5(new Uint8Array(n.length));return n.encode(o),r===\"Hex\"?sn(o.bytes):o.bytes}function Sb(e,t={}){let{as:r=\"Hex\"}=t;return tyt(e,{as:r})}function C0e(e){return Array.isArray(e)?ryt(e.map(t=>C0e(t))):nyt(e)}function ryt(e){let t=e.reduce((o,i)=>o+i.length,0),r=T0e(t);return{length:t<=55?1+t:1+r+t,encode(o){t<=55?o.pushByte(192+t):(o.pushByte(247+r),r===1?o.pushUint8(t):r===2?o.pushUint16(t):r===3?o.pushUint24(t):o.pushUint32(t));for(let{encode:i}of e)i(o)}}}function nyt(e){let t=typeof e==\"string\"?bs(e):e,r=T0e(t.length);return{length:t.length===1&&t[0]<128?1:t.length<=55?1+t.length:1+r+t.length,encode(o){t.length===1&&t[0]<128?o.pushBytes(t):t.length<=55?(o.pushByte(128+t.length),o.pushBytes(t)):(o.pushByte(183+r),r===1?o.pushUint8(t.length):r===2?o.pushUint16(t.length):r===3?o.pushUint24(t.length):o.pushUint32(t.length),o.pushBytes(t))}}}function T0e(e){if(e<=255)return 1;if(e<=65535)return 2;if(e<=16777215)return 3;if(e<=4294967295)return 4;throw new He(\"Length is too large.\")}var N7=x(()=>{u();Vc();Jo();Ar();YF()});function Ab(e,t={}){let{recovered:r}=t;if(typeof e.r>\"u\")throw new g5({signature:e});if(typeof e.s>\"u\")throw new g5({signature:e});if(r&&typeof e.yParity>\"u\")throw new g5({signature:e});if(e.r<0n||e.r>GF)throw new oV({value:e.r});if(e.s<0n||e.s>GF)throw new iV({value:e.s});if(typeof e.yParity==\"number\"&&e.yParity!==0&&e.yParity!==1)throw new $v({value:e.yParity})}function oyt(e){return U7(sn(e))}function U7(e){if(e.length!==130&&e.length!==132)throw new nV({signature:e});let t=BigInt(wt(e,0,32)),r=BigInt(wt(e,32,64)),n=(()=>{let o=+`0x${e.slice(130)}`;if(!Number.isNaN(o))try{return cV(o)}catch{throw new $v({value:o})}})();return typeof n>\"u\"?{r:t,s:r}:{r:t,s:r,yParity:n}}function x5(e){if(!(typeof e.r>\"u\")&&!(typeof e.s>\"u\"))return kh(e)}function kh(e){let t=typeof e==\"string\"?U7(e):e instanceof Uint8Array?oyt(e):typeof e.r==\"string\"?v5(e):e.v?iyt(e):{r:e.r,s:e.s,...typeof e.yParity<\"u\"?{yParity:e.yParity}:{}};return Ab(t),t}function iyt(e){return{r:e.r,s:e.s,yParity:cV(e.v)}}function v5(e){let t=(()=>{let r=e.v?Number(e.v):void 0,n=e.yParity?Number(e.yParity):void 0;if(typeof r==\"number\"&&typeof n!=\"number\"&&(n=cV(r)),typeof n!=\"number\")throw new $v({value:e.yParity});return n})();return{r:BigInt(e.r),s:BigInt(e.s),yParity:t}}function sV(e){let[t,r,n]=e;return kh({r:r===\"0x\"?0n:BigInt(r),s:n===\"0x\"?0n:BigInt(n),yParity:t===\"0x\"?0:Number(t)})}function I0e(e){Ab(e);let t=e.r,r=e.s;return Xt(Ae(t,{size:32}),Ae(r,{size:32}),typeof e.yParity==\"number\"?Ae(Lv(e.yParity),{size:1}):\"0x\")}function zv(e){let{r:t,s:r,yParity:n}=e;return{r:Ae(t,{size:32}),s:Ae(r,{size:32}),yParity:n===0?\"0x0\":\"0x1\"}}function $7(e){let{r:t,s:r,yParity:n}=e;return[n?\"0x01\":\"0x\",t===0n?\"0x\":XS(Ae(t)),r===0n?\"0x\":XS(Ae(r))]}function cV(e){if(e===0||e===27)return 0;if(e===1||e===28)return 1;if(e>=35)return e%2===0?1:0;throw new aV({value:e})}function Lv(e){if(e===0)return 27;if(e===1)return 28;throw new $v({value:e})}var nV,g5,oV,iV,$v,aV,Ch=x(()=>{u();Jo();Ar();vv();I7();nV=class extends He{constructor({signature:t}){super(`Value \\\\`${t}\\\\` is an invalid signature size.`,{metaMessages:[\"Expected: 64 bytes or 65 bytes.\",`Received ${Sr(gh(t))} bytes.`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidSerializedSizeError\"})}},g5=class extends He{constructor({signature:t}){super(`Signature \\\\`${Zu(t)}\\\\` is missing either an \\\\`r\\\\`, \\\\`s\\\\`, or \\\\`yParity\\\\` property.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.MissingPropertiesError\"})}},oV=class extends He{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidRError\"})}},iV=class extends He{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidSError\"})}},$v=class extends He{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidYParityError\"})}},aV=class extends He{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidVError\"})}}});function P0e(e,t={}){return typeof e.chainId==\"string\"?R0e(e):{...e,...t.signature}}function R0e(e){let{address:t,chainId:r,nonce:n}=e,o=x5(e);return{address:t,chainId:Number(r),nonce:BigInt(n),...o}}function z7(e){return e.map(R0e)}function O0e(e){return ayt(e,{presign:!0})}function ayt(e,t={}){let{presign:r}=t;return uc(Xt(\"0x05\",Sb(cyt(r?{address:e.address,chainId:e.chainId,nonce:e.nonce}:e))))}function syt(e){let{address:t,chainId:r,nonce:n,...o}=e;return{address:t,chainId:Ae(r),nonce:Ae(n),...zv(o)}}function L7(e){return e.map(syt)}function cyt(e){let{address:t,chainId:r,nonce:n}=e,o=x5(e);return[r?Ae(r):\"0x\",t,n?Ae(n):\"0x\",...o?$7(o):[]]}var H7=x(()=>{u();Sh();Ar();N7();Ch()});function Cb(e){return Ia(j7(e))}function j7(e){let{payload:t,signature:r}=e,{r:n,s:o,yParity:i}=r,l=new Lc.Signature(BigInt(n),BigInt(o)).addRecoveryBit(i).recoverPublicKey(gh(t).substring(2));return l5(l)}function B0e(e){let{address:t,hash:r,payload:n,publicKey:o,signature:i}=e;return t?f5(t,Cb({payload:n,signature:i})):Lc.verify(i,QS(n),b0e(o),...r?[{prehash:!0,lowS:!0}]:[])}var w5=x(()=>{u();NS();Zc();Vc();Ar();Mv()});var E5={};an(E5,{InvalidWrappedSignatureError:()=>V7,assert:()=>q7,from:()=>uyt,magicBytes:()=>lV,suffixParameters:()=>dV,unwrap:()=>M0e,validate:()=>dyt,wrap:()=>lyt});function q7(e){if(typeof e==\"string\"){if(wt(e,-32)!==lV)throw new V7(e)}else Ab(e.authorization)}function uyt(e){return typeof e==\"string\"?M0e(e):e}function M0e(e){q7(e);let t=ac(wt(e,-64,-32)),r=wt(e,-t-64,-64),n=wt(e,0,-t-64),[o,i,c]=Uv(dV,r);return{authorization:P0e({address:o.delegation,chainId:Number(o.chainId),nonce:o.nonce,yParity:o.yParity,r:o.r,s:o.s}),signature:n,...c&&c!==\"0x\"?{data:c,to:i}:{}}}function lyt(e){let{data:t,signature:r}=e;q7(e);let n=Cb({payload:O0e(e.authorization),signature:kh(e.authorization)}),o=Ah(dV,[{...e.authorization,delegation:e.authorization.address,chainId:BigInt(e.authorization.chainId)},e.to??n,t??\"0x\"]),i=Ae(Sr(o),{size:32});return Xt(r,o,i,lV)}function dyt(e){try{return q7(e),!0}catch{return!1}}var lV,dV,V7,D0e=x(()=>{u();Nv();H7();Jo();Ar();w5();Ch();lV=\"0x8010801080108010801080108010801080108010801080108010801080108010\",dV=b5(\"(uint256 chainId, address delegation, uint256 nonce, uint8 yParity, uint256 r, uint256 s), address to, bytes data\");V7=class extends He{constructor(t){super(`Value \\\\`${t}\\\\` is an invalid ERC-8010 wrapped signature.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"SignatureErc8010.InvalidWrappedSignatureError\"})}}});var N0e=x(()=>{u();D0e()});function G7(e){let{address:t,data:r,signature:n,to:o=\"hex\"}=e,i=Cn([zn([{type:\"address\"},{type:\"bytes\"},{type:\"bytes\"}],[t,r,n]),d0e]);return o===\"hex\"?i:Kr(i)}var U0e=x(()=>{u();f0e();$c();Zn();fo()});var Th=x(()=>{u();Zr();ki();Hu();Ff();Kn();ot();Uy()});function pyt(e){return e.map(t=>({...t,value:BigInt(t.value)}))}function $0e(e){return{...e,balance:e.balance?BigInt(e.balance):void 0,nonce:e.nonce?Gr(e.nonce):void 0,storageProof:e.storageProof?pyt(e.storageProof):void 0}}var z0e=x(()=>{u();Th()});async function L0e(e,{address:t,blockNumber:r,blockTag:n,storageKeys:o}){let i=n??\"latest\",c=r!==void 0?le(r):void 0,l=await e.request({method:\"eth_getProof\",params:[t,o,c||i]});return $0e(l)}var H0e=x(()=>{u();ot();z0e()});async function j0e(e,{address:t,blockNumber:r,blockTag:n=\"latest\",slot:o}){let i=r!==void 0?le(r):void 0;return await e.request({method:\"eth_getStorageAt\",params:[t,o,i||n]})}var F0e=x(()=>{u();ot()});async function Hv(e,{blockHash:t,blockNumber:r,blockTag:n,hash:o,index:i,sender:c,nonce:l}){let f=n||\"latest\",p=r!==void 0?le(r):void 0,h=null;if(o?h=await e.request({method:\"eth_getTransactionByHash\",params:[o]},{dedupe:!0}):t?h=await e.request({method:\"eth_getTransactionByBlockHashAndIndex\",params:[t,le(i)]},{dedupe:!0}):(p||f)&&typeof i==\"number\"?h=await e.request({method:\"eth_getTransactionByBlockNumberAndIndex\",params:[p||f,le(i)]},{dedupe:!!p}):c&&typeof l==\"number\"&&(h=await e.request({method:\"eth_getTransactionBySenderAndNonce\",params:[c,le(l)]},{dedupe:!0})),!h)throw new Dx({blockHash:t,blockNumber:r,blockTag:f,hash:o,index:i});return(e.chain?.formatters?.transaction?.format||ic)(h,\"getTransaction\")}var K7=x(()=>{u();ec();ot();hd()});async function V0e(e,{hash:t,transactionReceipt:r}){let[n,o]=await Promise.all([Ce(e,wd,\"getBlockNumber\")({}),t?Ce(e,Hv,\"getTransaction\")({hash:t}):void 0]),i=r?.blockNumber||o?.blockNumber;return i?n-i+1n:0n}var q0e=x(()=>{u();Yt();Av();K7()});async function jv(e,{hash:t}){let r=await e.request({method:\"eth_getTransactionReceipt\",params:[t]},{dedupe:!0});if(!r)throw new Nx({hash:t});return(e.chain?.formatters?.transactionReceipt?.format||hp)(r,\"getTransactionReceipt\")}var fV=x(()=>{u();ec();yp()});async function G0e(e,t){let{account:r,authorizationList:n,allowFailure:o=!0,blockNumber:i,blockOverrides:c,blockTag:l,stateOverride:f}=t,p=t.contracts,{batchSize:h=t.batchSize??1024,deployless:y=t.deployless??!1}=typeof e.batch?.multicall==\"object\"?e.batch.multicall:{},w=(()=>{if(t.multicallAddress)return t.multicallAddress;if(y)return null;if(e.chain)return qc({blockNumber:i,chain:e.chain,contract:\"multicall3\"});throw new Error(\"client chain not configured. multicallAddress is required.\")})(),E=[[]],A=0,C=0;for(let D=0;D<p.length;D++){let{abi:$,address:H,args:V,functionName:G}=p[D];try{let K=vt({abi:$,args:V,functionName:G});C+=(K.length-2)/2,h>0&&C>h&&E[A].length>0&&(A++,C=(K.length-2)/2,E[A]=[]),E[A]=[...E[A],{allowFailure:!0,callData:K,target:H}]}catch(K){let Q=rc(K,{abi:$,address:H,args:V,docsPath:\"/docs/contract/multicall\",functionName:G,sender:r});if(!o)throw Q;E[A]=[...E[A],{allowFailure:!0,callData:\"0x\",target:H}]}}let R=await Promise.allSettled(E.map(D=>Ce(e,Wr,\"readContract\")({...w===null?{code:Ev}:{address:w},abi:Ju,account:r,args:[D],authorizationList:n,blockNumber:i,blockOverrides:c,blockTag:l,functionName:\"aggregate3\",stateOverride:f}))),M=[];for(let D=0;D<R.length;D++){let $=R[D];if($.status===\"rejected\"){if(!o)throw $.reason;for(let V=0;V<E[D].length;V++)M.push({status:\"failure\",error:$.reason,result:void 0});continue}let H=$.value;for(let V=0;V<H.length;V++){let{returnData:G,success:K}=H[V],{callData:Q}=E[D][V],{abi:X,address:Y,functionName:fe,args:ce}=p[M.length];try{if(Q===\"0x\")throw new Nc;if(!K)throw new fd({data:G});let N=Ji({abi:X,args:ce,data:G,functionName:fe});M.push(o?{result:N,status:\"success\"}:N)}catch(N){let _=rc(N,{abi:X,address:Y,args:ce,docsPath:\"/docs/contract/multicall\",functionName:fe});if(!o)throw _;M.push({error:_,result:void 0,status:\"failure\"})}}}if(M.length!==p.length)throw new oe(\"multicall results mismatch\");return M}var K0e=x(()=>{u();vd();t5();lo();ht();Qf();lp();ki();pb();nb();Yt();sc()});async function _5(e,t){let{blockNumber:r,blockTag:n=e.experimental_blockTag??\"latest\",blocks:o,returnFullTransactions:i,traceTransfers:c,validation:l}=t;try{let f=[];for(let w of o){let E=w.blockOverrides?OI(w.blockOverrides):void 0,A=w.calls.map(R=>{let M=R,D=M.account?tt(M.account):void 0,$=M.abi?vt(M):M.data,H={...M,account:D,data:M.dataSuffix?hr([$||\"0x\",M.dataSuffix]):$,from:M.from??D?.address};return Uo(H),So(H)}),C=w.stateOverrides?lh(w.stateOverrides):void 0;f.push({blockOverrides:E,calls:A,stateOverrides:C})}let h=(typeof r==\"bigint\"?le(r):void 0)||n;return(await e.request({method:\"eth_simulateV1\",params:[{blockStateCalls:f,returnFullTransactions:i,traceTransfers:c,validation:l},h]})).map((w,E)=>({...FS(w),calls:w.calls.map((A,C)=>{let{abi:R,args:M,functionName:D,to:$}=o[E].calls[C],H=A.error?.data??A.returnData,V=BigInt(A.gasUsed),G=A.logs?.map(Y=>po(Y)),K=A.status===\"0x1\"?\"success\":\"failure\",Q=R&&K===\"success\"&&H!==\"0x\"?Ji({abi:R,data:H,functionName:D}):null,X=(()=>{if(K===\"success\")return;let Y;if(H===\"0x\"?Y=new Nc:H&&(Y=new fd({data:H})),!!Y)return rc(Y,{abi:R??[],address:$??\"0x\",args:M,functionName:D??\"<unknown>\"})})();return{data:H,gasUsed:V,logs:G,status:K,...K===\"success\"?{result:Q}:{error:X}}})}))}catch(f){let p=f,h=sh(p,{});throw h instanceof jc?p:h}}var pV=x(()=>{u();tF();Zr();lo();Qf();up();lp();ki();Zn();ot();nb();zS();cv();Gu();hs();HS();Vu()});function W7(e){let t=!0,r=\"\",n=0,o=\"\",i=!1;for(let c=0;c<e.length;c++){let l=e[c];if([\"(\",\")\",\",\"].includes(l)&&(t=!0),l===\"(\"&&n++,l===\")\"&&n--,!!t){if(n===0){if(l===\" \"&&[\"event\",\"function\",\"error\",\"\"].includes(o))o=\"\";else if(o+=l,l===\")\"){i=!0;break}continue}if(l===\" \"){e[c-1]!==\",\"&&r!==\",\"&&r!==\",(\"&&(r=\"\",t=!1);continue}o+=l,r+=l}}if(!i)throw new He(\"Unable to normalize signature.\");return o}function Z7(e,t){let r=typeof e,n=t.type;switch(n){case\"address\":return Eb(e,{strict:!1});case\"bool\":return r===\"boolean\";case\"function\":return r===\"string\";case\"string\":return r===\"string\";default:return n===\"tuple\"&&\"components\"in t?Object.values(t.components).every((o,i)=>Z7(Object.values(e)[i],o)):/^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(n)?r===\"number\"||r===\"bigint\":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(n)?r===\"string\"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\\\\[[0-9]{0,}\\\\])+$/.test(n)?Array.isArray(e)&&e.every(o=>Z7(o,{...t,type:n.replace(/(\\\\[[0-9]{0,}\\\\])$/,\"\")})):!1}}function mV(e,t,r){for(let n in e){let o=e[n],i=t[n];if(o.type===\"tuple\"&&i.type===\"tuple\"&&\"components\"in o&&\"components\"in i)return mV(o.components,i.components,r[n]);let c=[o.type,i.type];if(c.includes(\"address\")&&c.includes(\"bytes20\")?!0:c.includes(\"address\")&&c.includes(\"string\")?Eb(r[n],{strict:!1}):c.includes(\"address\")&&c.includes(\"bytes\")?Eb(r[n],{strict:!1}):!1)return c}}var Z0e=x(()=>{u();Zc();Jo()});function J7(e,t={}){let{prepare:r=!0}=t,n=Array.isArray(e)?QT(e):typeof e==\"string\"?QT(e):e;return{...n,...r?{hash:Fv(n)}:{}}}function S5(e,t,r){let{args:n=[],prepare:o=!0}=r??{},i=Ca(t,{strict:!1}),c=e.filter(p=>i?p.type===\"function\"||p.type===\"error\"?A5(p)===wt(t,0,4):p.type===\"event\"?Fv(p)===t:!1:\"name\"in p&&p.name===t);if(c.length===0)throw new Ih({name:t});if(c.length===1)return{...c[0],...o?{hash:Fv(c[0])}:{}};let l;for(let p of c){if(!(\"inputs\"in p))continue;if(!n||n.length===0){if(!p.inputs||p.inputs.length===0)return{...p,...o?{hash:Fv(p)}:{}};continue}if(!p.inputs||p.inputs.length===0||p.inputs.length!==n.length)continue;if(n.every((y,w)=>{let E=\"inputs\"in p&&p.inputs[w];return E?Z7(y,E):!1})){if(l&&\"inputs\"in l&&l.inputs){let y=mV(p.inputs,l.inputs,n);if(y)throw new hV({abiItem:p,type:y[0]},{abiItem:l,type:y[1]})}l=p}}let f=(()=>{if(l)return l;let[p,...h]=c;return{...p,overloads:h}})();if(!f)throw new Ih({name:t});return{...f,...o?{hash:Fv(f)}:{}}}function A5(...e){let t=(()=>{if(Array.isArray(e[0])){let[r,n]=e;return S5(r,n)}return e[0]})();return wt(Fv(t),0,4)}function hyt(...e){let t=(()=>{if(Array.isArray(e[0])){let[n,o]=e;return S5(n,o)}return e[0]})(),r=typeof t==\"string\"?t:Py(t);return W7(r)}function Fv(...e){let t=(()=>{if(Array.isArray(e[0])){let[r,n]=e;return S5(r,n)}return e[0]})();return typeof t!=\"string\"&&\"hash\"in t&&t.hash?t.hash:uc(Wu(hyt(t)))}var hV,Ih,Q7=x(()=>{u();bx();Jo();Sh();Ar();Z0e();hV=class extends He{constructor(t,r){super(\"Found ambiguous types in overloaded ABI Items.\",{metaMessages:[`\\\\`${t.type}\\\\` in \\\\`${W7(Py(t.abiItem))}\\\\`, and`,`\\\\`${r.type}\\\\` in \\\\`${W7(Py(r.abiItem))}\\\\``,\"\",\"These types encode differently and cannot be distinguished at runtime.\",\"Remove one of the ambiguous items in the ABI.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiItem.AmbiguityError\"})}},Ih=class extends He{constructor({name:t,data:r,type:n=\"item\"}){let o=t?` with name \"${t}\"`:r?` with data \"${r}\"`:\"\";super(`ABI ${n}${o} not found.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiItem.NotFoundError\"})}}});function W0e(...e){let[t,r]=(()=>{if(Array.isArray(e[0])){let[i,c]=e;return[yyt(i),c]}return e})(),{bytecode:n,args:o}=r;return Xt(n,t.inputs?.length&&o?.length?Ah(t.inputs,o):\"0x\")}function J0e(e){return J7(e)}function yyt(e){let t=e.find(r=>r.type===\"constructor\");if(!t)throw new Ih({name:\"constructor\"});return t}var Q0e=x(()=>{u();Q7();Nv();Ar()});function X0e(...e){let[t,r=[]]=(()=>{if(Array.isArray(e[0])){let[p,h,y]=e;return[Y0e(p,h,{args:y}),y]}let[l,f]=e;return[l,f]})(),{overloads:n}=t,o=n?Y0e([t,...n],t.name,{args:r}):t,i=gyt(o),c=r.length>0?Ah(o.inputs,r):void 0;return c?Xt(i,c):i}function Tb(e,t={}){return J7(e,t)}function Y0e(e,t,r){let n=S5(e,t,r);if(n.type!==\"function\")throw new Ih({name:t,type:\"function\"});return n}function gyt(e){return A5(e)}var eye=x(()=>{u();Q7();Nv();Ar()});var tye,Wc,rye=x(()=>{u();tye=\"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee\",Wc=\"0x0000000000000000000000000000000000000000\"});async function nye(e,t){let{blockNumber:r,blockTag:n,calls:o,stateOverrides:i,traceAssetChanges:c,traceTransfers:l,validation:f}=t,p=t.account?tt(t.account):void 0;if(c&&!p)throw new oe(\"`account` is required when `traceAssetChanges` is true\");let h=p?W0e(J0e(\"constructor(bytes, bytes)\"),{bytecode:DI,args:[vyt,X0e(Tb(\"function getBalance(address)\"),[p.address])]}):void 0,y=c?await Promise.all(t.calls.map(async L=>{if(!L.data&&!L.abi)return;let{accessList:q}=await l7(e,{account:p.address,...L,data:L.abi?vt(L):L.data});return q.map(({address:W,storageKeys:U})=>U.length>0?W:null)})).then(L=>L.flat().filter(Boolean)):[],w=await _5(e,{blockNumber:r,blockTag:n,blocks:[...c?[{calls:[{data:h}],stateOverrides:i},{calls:y.map((L,q)=>({abi:[Tb(\"function balanceOf(address) returns (uint256)\")],functionName:\"balanceOf\",args:[p.address],to:L,from:Wc,nonce:q})),stateOverrides:[{address:Wc,nonce:0}]}]:[],{calls:[...o,{to:Wc}].map(L=>({...L,from:p?.address})),stateOverrides:i},...c?[{calls:[{data:h}]},{calls:y.map((L,q)=>({abi:[Tb(\"function balanceOf(address) returns (uint256)\")],functionName:\"balanceOf\",args:[p.address],to:L,from:Wc,nonce:q})),stateOverrides:[{address:Wc,nonce:0}]},{calls:y.map((L,q)=>({to:L,abi:[Tb(\"function decimals() returns (uint256)\")],functionName:\"decimals\",from:Wc,nonce:q})),stateOverrides:[{address:Wc,nonce:0}]},{calls:y.map((L,q)=>({to:L,abi:[Tb(\"function tokenURI(uint256) returns (string)\")],functionName:\"tokenURI\",args:[0n],from:Wc,nonce:q})),stateOverrides:[{address:Wc,nonce:0}]},{calls:y.map((L,q)=>({to:L,abi:[Tb(\"function symbol() returns (string)\")],functionName:\"symbol\",from:Wc,nonce:q})),stateOverrides:[{address:Wc,nonce:0}]}]:[]],traceTransfers:l,validation:f}),E=c?w[2]:w[0],[A,C,,R,M,D,$,H]=c?w:[],{calls:V,...G}=E,K=V.slice(0,-1)??[],Q=A?.calls??[],X=C?.calls??[],Y=[...Q,...X].map(L=>L.status===\"success\"?it(L.data):null),fe=R?.calls??[],ce=M?.calls??[],N=[...fe,...ce].map(L=>L.status===\"success\"?it(L.data):null),_=(D?.calls??[]).map(L=>L.status===\"success\"?L.result:null),k=(H?.calls??[]).map(L=>L.status===\"success\"?L.result:null),O=($?.calls??[]).map(L=>L.status===\"success\"?L.result:null),B=[];for(let[L,q]of N.entries()){let W=Y[L];if(typeof q!=\"bigint\"||typeof W!=\"bigint\")continue;let U=_[L-1],P=k[L-1],Z=O[L-1],ye=L===0?{address:tye,decimals:18,symbol:\"ETH\"}:{address:y[L-1],decimals:Z||U?Number(U??1):void 0,symbol:P??void 0};B.some(xe=>xe.token.address===ye.address)||B.push({token:ye,value:{pre:W,post:q,diff:q-W}})}return{assetChanges:B,block:G,results:K}}var vyt,oye=x(()=>{u();Q0e();eye();Zr();rye();t5();ht();ki();Th();TF();pV();vyt=\"0x6080604052348015600e575f80fd5b5061016d8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c8063f8b2cb4f1461002d575b5f80fd5b610047600480360381019061004291906100db565b61005d565b604051610054919061011e565b60405180910390f35b5f8173ffffffffffffffffffffffffffffffffffffffff16319050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100aa82610081565b9050919050565b6100ba816100a0565b81146100c4575f80fd5b50565b5f813590506100d5816100b1565b92915050565b5f602082840312156100f0576100ef61007d565b5b5f6100fd848285016100c7565b91505092915050565b5f819050919050565b61011881610106565b82525050565b5f6020820190506101315f83018461010f565b9291505056fea26469706673582212203b9fe929fe995c7cf9887f0bdba8a36dd78e8b73f149b17d2d9ad7cd09d2dc6264736f6c634300081a0033\"});var k5={};an(k5,{InvalidWrappedSignatureError:()=>Y7,assert:()=>gV,from:()=>_yt,magicBytes:()=>bV,universalSignatureValidatorAbi:()=>Eyt,universalSignatureValidatorBytecode:()=>wyt,unwrap:()=>iye,validate:()=>Ayt,wrap:()=>Syt});function gV(e){if(wt(e,-32)!==bV)throw new Y7(e)}function _yt(e){return typeof e==\"string\"?iye(e):e}function iye(e){gV(e);let[t,r,n]=Uv(b5(\"address, bytes, bytes\"),e);return{data:r,signature:n,to:t}}function Syt(e){let{data:t,signature:r,to:n}=e;return Xt(Ah(b5(\"address, bytes, bytes\"),[n,t,r]),bV)}function Ayt(e){try{return gV(e),!0}catch{return!1}}var bV,wyt,Eyt,Y7,aye=x(()=>{u();Nv();Jo();Ar();bV=\"0x6492649264926492649264926492649264926492649264926492649264926492\",wyt=\"0x608060405234801561001057600080fd5b5060405161069438038061069483398101604081905261002f9161051e565b600061003c848484610048565b9050806000526001601ff35b60007f64926492649264926492649264926492649264926492649264926492649264926100748361040c565b036101e7576000606080848060200190518101906100929190610577565b60405192955090935091506000906001600160a01b038516906100b69085906105dd565b6000604051808303816000865af19150503d80600081146100f3576040519150601f19603f3d011682016040523d82523d6000602084013e6100f8565b606091505b50509050876001600160a01b03163b60000361016057806101605760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90610190908b9087906004016105f9565b602060405180830381865afa1580156101ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d19190610633565b6001600160e01b03191614945050505050610405565b6001600160a01b0384163b1561027a57604051630b135d3f60e11b808252906001600160a01b03861690631626ba7e9061022790879087906004016105f9565b602060405180830381865afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610633565b6001600160e01b031916149050610405565b81516041146102df5760405162461bcd60e51b815260206004820152603a602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e6774680000000000006064820152608401610157565b6102e7610425565b5060208201516040808401518451859392600091859190811061030c5761030c61065d565b016020015160f81c9050601b811480159061032b57508060ff16601c14155b1561038c5760405162461bcd60e51b815260206004820152603b602482015260008051602061067483398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c756500000000006064820152608401610157565b60408051600081526020810180835289905260ff83169181019190915260608101849052608081018390526001600160a01b0389169060019060a0016020604051602081039080840390855afa1580156103ea573d6000803e3d6000fd5b505050602060405103516001600160a01b0316149450505050505b9392505050565b600060208251101561041d57600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b038116811461045857600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561048c578181015183820152602001610474565b50506000910152565b600082601f8301126104a657600080fd5b81516001600160401b038111156104bf576104bf61045b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104ed576104ed61045b565b60405281815283820160200185101561050557600080fd5b610516826020830160208701610471565b949350505050565b60008060006060848603121561053357600080fd5b835161053e81610443565b6020850151604086015191945092506001600160401b0381111561056157600080fd5b61056d86828701610495565b9150509250925092565b60008060006060848603121561058c57600080fd5b835161059781610443565b60208501519093506001600160401b038111156105b357600080fd5b6105bf86828701610495565b604086015190935090506001600160401b0381111561056157600080fd5b600082516105ef818460208701610471565b9190910192915050565b828152604060208201526000825180604084015261061e816060850160208701610471565b601f01601f1916919091016060019392505050565b60006020828403121561064557600080fd5b81516001600160e01b03198116811461040557600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572\",Eyt=[{inputs:[{name:\"_signer\",type:\"address\"},{name:\"_hash\",type:\"bytes32\"},{name:\"_signature\",type:\"bytes\"}],stateMutability:\"nonpayable\",type:\"constructor\"},{inputs:[{name:\"_signer\",type:\"address\"},{name:\"_hash\",type:\"bytes32\"},{name:\"_signature\",type:\"bytes\"}],outputs:[{type:\"bool\"}],stateMutability:\"nonpayable\",type:\"function\",name:\"isValidSig\"}];Y7=class extends He{constructor(t){super(`Value \\\\`${t}\\\\` is an invalid ERC-6492 wrapped signature.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"SignatureErc6492.InvalidWrappedSignatureError\"})}}});var sye=x(()=>{u();aye()});function cye({r:e,s:t,to:r=\"hex\",v:n,yParity:o}){let i=(()=>{if(o===0||o===1)return o;if(n&&(n===27n||n===28n||n>=35n))return n%2n===0n?1:0;throw new Error(\"Invalid `v` or `yParity` value\")})(),c=`0x${new Lc.Signature(it(e),it(t)).toCompactHex()}${i===0?\"1b\":\"1c\"}`;return r===\"hex\"?c:Kr(c)}var uye=x(()=>{u();NS();Kn();fo()});async function kd(e,t){let{address:r,chain:n=e.chain,hash:o,erc6492VerifierAddress:i=t.universalSignatureVerifierAddress??n?.contracts?.erc6492Verifier?.address,multicallAddress:c=t.multicallAddress??n?.contracts?.multicall3?.address,mode:l=\"auto\"}=t;if(n?.verifyHash)return await n.verifyHash(e,t);let f=(()=>{let p=t.signature;return Vr(p)?p:typeof p==\"object\"&&\"r\"in p&&\"s\"in p?cye(p):br(p)})();try{if(l===\"eoa\")try{if(Wi(At(r),await US({hash:o,signature:f})))return!0}catch{}return E5.validate(f)?await kyt(e,{...t,multicallAddress:c,signature:f}):await Cyt(e,{...t,verifierAddress:i,signature:f})}catch(p){if(l!==\"eoa\")try{if(Wi(At(r),await US({hash:o,signature:f})))return!0}catch{}if(p instanceof vp)return!1;throw p}}async function kyt(e,t){let{address:r,blockNumber:n,blockTag:o,hash:i,multicallAddress:c}=t,{authorization:l,data:f,signature:p,to:h}=E5.unwrap(t.signature);if(await Ta(e,{address:r,blockNumber:n,blockTag:o})===Cn([\"0xef0100\",l.address]))return await Tyt(e,{address:r,blockNumber:n,blockTag:o,hash:i,signature:p});let w={address:l.address,chainId:Number(l.chainId),nonce:Number(l.nonce),r:le(l.r,{size:32}),s:le(l.s,{size:32}),yParity:l.yParity};if(!await qhe({address:r,authorization:w}))throw new vp;let A=await Ce(e,Wr,\"readContract\")({...c?{address:c}:{code:Ev},authorizationList:[w],abi:Ju,blockNumber:n,blockTag:\"pending\",functionName:\"aggregate3\",args:[[...f?[{allowFailure:!0,target:h??r,callData:f}]:[],{allowFailure:!0,target:r,callData:vt({abi:oF,functionName:\"isValidSignature\",args:[i,p]})}]]});if(A[A.length-1]?.returnData?.startsWith(\"0x1626ba7e\"))return!0;throw new vp}async function Cyt(e,t){let{address:r,factory:n,factoryData:o,hash:i,signature:c,verifierAddress:l,...f}=t,p=await(async()=>!n&&!o||k5.validate(c)?c:k5.wrap({data:o,signature:c,to:n}))(),h=l?{to:l,data:vt({abi:e5,functionName:\"isValidSig\",args:[r,i,p]}),...f}:{data:fb({abi:e5,args:[r,i,p],bytecode:Ome}),...f},{data:y}=await Ce(e,Gc,\"call\")(h).catch(w=>{throw w instanceof $x?new vp:w});if(y4(y??\"0x0\"))return!0;throw new vp}async function Tyt(e,t){let{address:r,blockNumber:n,blockTag:o,hash:i,signature:c}=t;if((await Ce(e,Wr,\"readContract\")({address:r,abi:oF,args:[i,c],blockNumber:n,blockTag:o,functionName:\"isValidSignature\"}).catch(f=>{throw f instanceof Qm?new vp:f})).startsWith(\"0x1626ba7e\"))return!0;throw new vp}var vp,Vv=x(()=>{u();sye();N0e();vd();t5();Qf();$I();ki();Hu();yh();Ghe();Zn();Dc();Kn();ot();Yt();Oj();uye();hb();yb();sc();vp=class extends Error{}});async function lye(e,{address:t,message:r,factory:n,factoryData:o,signature:i,...c}){let l=xp(r);return Ce(e,kd,\"verifyHash\")({address:t,factory:n,factoryData:o,hash:l,signature:i,...c})}var dye=x(()=>{u();Yt();y7();Vv()});async function fye(e,t){let{address:r,factory:n,factoryData:o,signature:i,message:c,primaryType:l,types:f,domain:p,...h}=t,y=Ad({message:c,primaryType:l,types:f,domain:p});return Ce(e,kd,\"verifyHash\")({address:r,factory:n,factoryData:o,hash:y,signature:i,...h})}var pye=x(()=>{u();Yt();E7();Vv()});function X7(e,{emitOnBegin:t=!1,emitMissed:r=!1,onBlockNumber:n,onError:o,poll:i,pollingInterval:c=e.pollingInterval}){let l=typeof i<\"u\"?i:!(e.transport.type===\"webSocket\"||e.transport.type===\"ipc\"||e.transport.type===\"fallback\"&&(e.transport.transports[0].config.type===\"webSocket\"||e.transport.transports[0].config.type===\"ipc\")),f;return l?(()=>{let y=ir([\"watchBlockNumber\",e.uid,t,r,c]);return li(y,{onBlockNumber:n,onError:o},w=>gs(async()=>{try{let E=await Ce(e,wd,\"getBlockNumber\")({cacheTime:0});if(f!==void 0){if(E===f)return;if(E-f>1&&r)for(let A=f+1n;A<E;A++)w.onBlockNumber(A,f),f=A}(f===void 0||E>f)&&(w.onBlockNumber(E,f),f=E)}catch(E){w.onError?.(E)}},{emitOnBegin:t,interval:c}))})():(()=>{let y=ir([\"watchBlockNumber\",e.uid,t,r]);return li(y,{onBlockNumber:n,onError:o},w=>{let E=!0,A=()=>E=!1;return(async()=>{try{let C=(()=>{if(e.transport.type===\"fallback\"){let M=e.transport.transports.find(D=>D.config.type===\"webSocket\"||D.config.type===\"ipc\");return M?M.value:e.transport}return e.transport})(),{unsubscribe:R}=await C.subscribe({params:[\"newHeads\"],onData(M){if(!E)return;let D=it(M.result?.number);w.onBlockNumber(D,f),f=D},onError(M){w.onError?.(M)}});A=R,E||A()}catch(C){o?.(C)}})(),()=>A()})})()}var xV=x(()=>{u();Kn();Yt();mp();xh();Ci();Av()});async function eP(e,t){let{checkReplacement:r=!0,confirmations:n=1,hash:o,onReplaced:i,retryCount:c=6,retryDelay:l=({count:V})=>~~(1<<V)*200,timeout:f=18e4}=t,p=ir([\"waitForTransactionReceipt\",e.uid,o]),h=t.pollingInterval?t.pollingInterval:e.chain?.experimental_preconfirmationTime?e.chain.experimental_preconfirmationTime:e.pollingInterval,y,w,E,A=!1,C,R,{promise:M,resolve:D,reject:$}=Sv(),H=f?setTimeout(()=>{R?.(),C?.(),$(new j4({hash:o}))},f):void 0;return C=li(p,{onReplaced:i,resolve:D,reject:$},async V=>{if(E=await Ce(e,jv,\"getTransactionReceipt\")({hash:o}).catch(()=>{}),E&&n<=1){clearTimeout(H),V.resolve(E),C?.();return}R=Ce(e,X7,\"watchBlockNumber\")({emitMissed:!0,emitOnBegin:!0,poll:!0,pollingInterval:h,async onBlockNumber(G){let K=X=>{clearTimeout(H),R?.(),X(),C?.()},Q=G;if(!A)try{if(E){if(n>1&&(!E.blockNumber||Q-E.blockNumber+1n<n))return;K(()=>V.resolve(E));return}if(r&&!y&&(A=!0,await Sd(async()=>{y=await Ce(e,Hv,\"getTransaction\")({hash:o}),y.blockNumber&&(Q=y.blockNumber)},{delay:l,retryCount:c}),A=!1),E=await Ce(e,jv,\"getTransactionReceipt\")({hash:o}),n>1&&(!E.blockNumber||Q-E.blockNumber+1n<n))return;K(()=>V.resolve(E))}catch(X){if(X instanceof Dx||X instanceof Nx){if(!y){A=!1;return}try{w=y,A=!0;let Y=await Sd(()=>Ce(e,ci,\"getBlock\")({blockNumber:Q,includeTransactions:!0}),{delay:l,retryCount:c,shouldRetry:({error:N})=>N instanceof av});A=!1;let fe=Y.transactions.find(({from:N,nonce:_})=>N===w.from&&_===w.nonce);if(!fe||(E=await Ce(e,jv,\"getTransactionReceipt\")({hash:fe.hash}),n>1&&(!E.blockNumber||Q-E.blockNumber+1n<n)))return;let ce=\"replaced\";fe.to===w.to&&fe.value===w.value&&fe.input===w.input?ce=\"repriced\":fe.from===fe.to&&fe.value===0n&&(ce=\"cancelled\"),K(()=>{V.onReplaced?.({reason:ce,replacedTransaction:w,transaction:fe,transactionReceipt:E}),V.resolve(E)})}catch(Y){K(()=>V.reject(Y))}}else K(()=>V.reject(X))}}})}),M}var vV=x(()=>{u();Mj();ec();Yt();mp();LI();s5();Ci();ph();K7();fV();xV()});function mye(e,{blockTag:t=e.experimental_blockTag??\"latest\",emitMissed:r=!1,emitOnBegin:n=!1,onBlock:o,onError:i,includeTransactions:c,poll:l,pollingInterval:f=e.pollingInterval}){let p=typeof l<\"u\"?l:!(e.transport.type===\"webSocket\"||e.transport.type===\"ipc\"||e.transport.type===\"fallback\"&&(e.transport.transports[0].config.type===\"webSocket\"||e.transport.transports[0].config.type===\"ipc\")),h=c??!1,y;return p?(()=>{let A=ir([\"watchBlocks\",e.uid,t,r,n,h,f]);return li(A,{onBlock:o,onError:i},C=>gs(async()=>{try{let R=await Ce(e,ci,\"getBlock\")({blockTag:t,includeTransactions:h});if(R.number!==null&&y?.number!=null){if(R.number===y.number)return;if(R.number-y.number>1&&r)for(let M=y?.number+1n;M<R.number;M++){let D=await Ce(e,ci,\"getBlock\")({blockNumber:M,includeTransactions:h});C.onBlock(D,y),y=D}}(y?.number==null||t===\"pending\"&&R?.number==null||R.number!==null&&R.number>y.number)&&(C.onBlock(R,y),y=R)}catch(R){C.onError?.(R)}},{emitOnBegin:n,interval:f}))})():(()=>{let A=!0,C=!0,R=()=>A=!1;return(async()=>{try{n&&Ce(e,ci,\"getBlock\")({blockTag:t,includeTransactions:h}).then($=>{A&&C&&(o($,void 0),C=!1)}).catch(i);let M=(()=>{if(e.transport.type===\"fallback\"){let $=e.transport.transports.find(H=>H.config.type===\"webSocket\"||H.config.type===\"ipc\");return $?$.value:e.transport}return e.transport})(),{unsubscribe:D}=await M.subscribe({params:[\"newHeads\"],async onData($){if(!A)return;let H=await Ce(e,ci,\"getBlock\")({blockNumber:$.result?.number,includeTransactions:h}).catch(()=>{});A&&(o(H,y),C=!1,y=H)},onError($){i?.($)}});R=D,A||R()}catch(M){i?.(M)}})(),()=>R()})()}var hye=x(()=>{u();Yt();mp();xh();Ci();ph()});function yye(e,{address:t,args:r,batch:n=!0,event:o,events:i,fromBlock:c,onError:l,onLogs:f,poll:p,pollingInterval:h=e.pollingInterval,strict:y}){let w=typeof p<\"u\"?p:typeof c==\"bigint\"?!0:!(e.transport.type===\"webSocket\"||e.transport.type===\"ipc\"||e.transport.type===\"fallback\"&&(e.transport.transports[0].config.type===\"webSocket\"||e.transport.transports[0].config.type===\"ipc\")),E=y??!1;return w?(()=>{let R=ir([\"watchEvent\",t,r,n,e.uid,o,h,c]);return li(R,{onLogs:f,onError:l},M=>{let D;c!==void 0&&(D=c-1n);let $,H=!1,V=gs(async()=>{if(!H){try{$=await Ce(e,d7,\"createEventFilter\")({address:t,args:r,event:o,events:i,strict:E,fromBlock:c})}catch{}H=!0;return}try{let G;if($)G=await Ce(e,vh,\"getFilterChanges\")({filter:$});else{let K=await Ce(e,wd,\"getBlockNumber\")({});D&&D!==K?G=await Ce(e,gv,\"getLogs\")({address:t,args:r,event:o,events:i,fromBlock:D+1n,toBlock:K}):G=[],D=K}if(G.length===0)return;if(n)M.onLogs(G);else for(let K of G)M.onLogs([K])}catch(G){$&&G instanceof tc&&(H=!1),M.onError?.(G)}},{emitOnBegin:!0,interval:h});return async()=>{$&&await Ce(e,wh,\"uninstallFilter\")({filter:$}),V()}})})():(()=>{let R=!0,M=()=>R=!1;return(async()=>{try{let D=(()=>{if(e.transport.type===\"fallback\"){let G=e.transport.transports.find(K=>K.config.type===\"webSocket\"||K.config.type===\"ipc\");return G?G.value:e.transport}return e.transport})(),$=i??(o?[o]:void 0),H=[];$&&(H=[$.flatMap(K=>ld({abi:[K],eventName:K.name,args:r}))],o&&(H=H[0]));let{unsubscribe:V}=await D.subscribe({params:[\"logs\",{address:t,topics:H}],onData(G){if(!R)return;let K=G.result;try{let{eventName:Q,args:X}=ub({abi:$??[],data:K.data,topics:K.topics,strict:E}),Y=po(K,{args:X,eventName:Q});f([Y])}catch(Q){let X,Y;if(Q instanceof jf||Q instanceof jm){if(y)return;X=Q.abiItem.name,Y=Q.abiItem.inputs?.some(ce=>!(\"name\"in ce&&ce.name))}let fe=po(K,{args:Y?[]:{},eventName:X});f([fe])}},onError(G){l?.(G)}});M=V,R||M()}catch(D){l?.(D)}})(),()=>M()})()}var bye=x(()=>{u();lo();rb();vI();Tx();Gu();Yt();mp();xh();Ci();IF();Av();i5();wI();a5()});function gye(e,{batch:t=!0,onError:r,onTransactions:n,poll:o,pollingInterval:i=e.pollingInterval}){return(typeof o<\"u\"?o:e.transport.type!==\"webSocket\"&&e.transport.type!==\"ipc\")?(()=>{let p=ir([\"watchPendingTransactions\",e.uid,t,i]);return li(p,{onTransactions:n,onError:r},h=>{let y,w=gs(async()=>{try{if(!y)try{y=await Ce(e,f7,\"createPendingTransactionFilter\")({});return}catch(A){throw w(),A}let E=await Ce(e,vh,\"getFilterChanges\")({filter:y});if(E.length===0)return;if(t)h.onTransactions(E);else for(let A of E)h.onTransactions([A])}catch(E){h.onError?.(E)}},{emitOnBegin:!0,interval:i});return async()=>{y&&await Ce(e,wh,\"uninstallFilter\")({filter:y}),w()}})})():(()=>{let p=!0,h=()=>p=!1;return(async()=>{try{let{unsubscribe:y}=await e.transport.subscribe({params:[\"newPendingTransactions\"],onData(w){if(!p)return;let E=w.result;n([E])},onError(w){r?.(w)}});h=y,p||h()}catch(y){r?.(y)}})(),()=>h()})()}var xye=x(()=>{u();Yt();mp();xh();Ci();PF();i5();a5()});function vye(e){let{scheme:t,statement:r,...n}=e.match(Iyt)?.groups??{},{chainId:o,expirationTime:i,issuedAt:c,notBefore:l,requestId:f,...p}=e.match(Pyt)?.groups??{},h=e.split(\"Resources:\")[1]?.split(`\\n- `).slice(1);return{...n,...p,...o?{chainId:Number(o)}:{},...i?{expirationTime:new Date(i)}:{},...c?{issuedAt:new Date(c)}:{},...l?{notBefore:new Date(l)}:{},...f?{requestId:f}:{},...h?{resources:h}:{},...t?{scheme:t}:{},...r?{statement:r}:{}}}var Iyt,Pyt,wye=x(()=>{u();Iyt=/^(?:(?<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)?/,Pyt=/(?: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>.+))?/});function Eye(e){let{address:t,domain:r,message:n,nonce:o,scheme:i,time:c=new Date}=e;if(r&&n.domain!==r||o&&n.nonce!==o||i&&n.scheme!==i||n.expirationTime&&c>=n.expirationTime||n.notBefore&&c<n.notBefore)return!1;try{if(!n.address||!Et(n.address,{strict:!1})||t&&!Wi(n.address,t))return!1}catch{return!1}return!0}var _ye=x(()=>{u();Ki();yh()});async function Sye(e,t){let{address:r,domain:n,message:o,nonce:i,scheme:c,signature:l,time:f=new Date,...p}=t,h=vye(o);if(!h.address||!Eye({address:r,domain:n,message:h,nonce:i,scheme:c,time:f}))return!1;let w=xp(o);return kd(e,{address:h.address,hash:w,signature:l,...p})}var Aye=x(()=>{u();y7();wye();_ye();Vv()});async function qv(e,{serializedTransaction:t,throwOnReceiptRevert:r,timeout:n}){let o=await e.request({method:\"eth_sendRawTransactionSync\",params:n?[t,n]:[t]},{retryCount:0}),c=(e.chain?.formatters?.transactionReceipt?.format||hp)(o);if(c.status===\"reverted\"&&r)throw new Ux({receipt:c});return c}var tP=x(()=>{u();ec();yp()});function Gv(e){return{call:t=>Gc(e,t),createAccessList:t=>l7(e,t),createBlockFilter:()=>bhe(e),createContractEventFilter:t=>T4(e,t),createEventFilter:t=>d7(e,t),createPendingTransactionFilter:()=>f7(e),estimateContractGas:t=>Xpe(e,t),estimateGas:t=>bv(e,t),getBalance:t=>xhe(e,t),getBlobBaseFee:()=>whe(e),getBlock:t=>ci(e,t),getBlockNumber:t=>wd(e,t),getBlockTransactionCount:t=>_he(e,t),getBytecode:t=>Ta(e,t),getChainId:()=>$o(e),getCode:t=>Ta(e,t),getContractEvents:t=>EI(e,t),getDelegation:t=>Ahe(e,t),getEip712Domain:t=>The(e,t),getEnsAddress:t=>the(e,t),getEnsAvatar:t=>dhe(e,t),getEnsName:t=>phe(e,t),getEnsResolver:t=>hhe(e,t),getEnsText:t=>u7(e,t),getFeeHistory:t=>Ohe(e,t),estimateFeesPerGas:t=>iI(e,t),getFilterChanges:t=>vh(e,t),getFilterLogs:t=>Mhe(e,t),getGasPrice:()=>uv(e),getLogs:t=>gv(e,t),getProof:t=>L0e(e,t),estimateMaxPriorityFeePerGas:t=>Kpe(e,t),fillTransaction:t=>hv(e,t),getStorageAt:t=>j0e(e,t),getTransaction:t=>Hv(e,t),getTransactionConfirmations:t=>V0e(e,t),getTransactionCount:t=>mh(e,t),getTransactionReceipt:t=>jv(e,t),multicall:t=>G0e(e,t),prepareTransactionRequest:t=>yd(e,t),readContract:t=>Wr(e,t),sendRawTransaction:t=>Cv(e,t),sendRawTransactionSync:t=>qv(e,t),simulate:t=>_5(e,t),simulateBlocks:t=>_5(e,t),simulateCalls:t=>nye(e,t),simulateContract:t=>jme(e,t),verifyHash:t=>kd(e,t),verifyMessage:t=>lye(e,t),verifySiweMessage:t=>Sye(e,t),verifyTypedData:t=>fye(e,t),uninstallFilter:t=>wh(e,t),waitForTransactionReceipt:t=>eP(e,t),watchBlocks:t=>mye(e,t),watchBlockNumber:t=>X7(e,t),watchContractEvent:t=>Zme(e,t),watchEvent:t=>yye(e,t),watchPendingTransactions:t=>gye(e,t)}}var wV=x(()=>{u();rhe();fhe();mhe();yhe();CF();hb();TF();ghe();QH();IF();PF();eme();sI();xI();Uj();gI();vhe();Ehe();ph();Av();She();qu();yb();Fj();khe();Ihe();Bhe();i5();Dhe();oI();wI();H0e();F0e();K7();q0e();VS();fV();K0e();sc();pV();oye();Fme();a5();Vv();dye();pye();vV();xV();hye();Wme();bye();xye();Aye();yv();GI();tP()});function Ib(e){let{key:t=\"public\",name:r=\"Public Client\"}=e;return gp({...e,key:t,name:r,type:\"publicClient\"}).extend(Gv)}var kye=x(()=>{u();r7();wV()});async function Cye(e,{chain:t}){let{id:r,name:n,nativeCurrency:o,rpcUrls:i,blockExplorers:c}=t;await e.request({method:\"wallet_addEthereumChain\",params:[{chainId:le(r),chainName:n,nativeCurrency:o,rpcUrls:i.default.http,blockExplorerUrls:c?Object.values(c).map(({url:l})=>l):void 0}]},{dedupe:!0,retryCount:0})}var Tye=x(()=>{u();ot()});function Iye(e,t){let{abi:r,args:n,bytecode:o,...i}=t,c=fb({abi:r,args:n,bytecode:o});return Ed(e,{...i,...i.authorizationList?{to:null}:{},data:c})}var Pye=x(()=>{u();$I();Tv()});async function Rye(e){return e.account?.type===\"local\"?[e.account.address]:(await e.request({method:\"eth_accounts\"},{dedupe:!0})).map(r=>sd(r))}var Oye=x(()=>{u();Hu()});async function Bye(e,t={}){let{account:r=e.account,chainId:n}=t,o=r?tt(r):void 0,i=n?[o?.address,[le(n)]]:[o?.address],c=await e.request({method:\"wallet_getCapabilities\",params:i}),l={};for(let[f,p]of Object.entries(c)){l[Number(f)]={};for(let[h,y]of Object.entries(p))h===\"addSubAccount\"&&(h=\"unstable_addSubAccount\"),l[Number(f)][h]=y}return typeof n==\"number\"?l[n]:l}var Mye=x(()=>{u();Zr();ot()});async function Dye(e){return await e.request({method:\"wallet_getPermissions\"},{dedupe:!0})}var Nye=x(()=>{u()});async function Pb(e,t){let{account:r=e.account,chainId:n,nonce:o}=t;if(!r)throw new Mn({docsPath:\"/docs/eip7702/prepareAuthorization\"});let i=tt(r),c=(()=>{if(t.executor)return t.executor===\"self\"?t.executor:tt(t.executor)})(),l={address:t.contractAddress??t.address,chainId:n,nonce:o};return typeof l.chainId>\"u\"&&(l.chainId=e.chain?.id??await Ce(e,$o,\"getChainId\")({})),typeof l.nonce>\"u\"&&(l.nonce=await Ce(e,mh,\"getTransactionCount\")({address:i.address,blockTag:\"pending\"}),(c===\"self\"||c?.address&&Wi(c.address,i.address))&&(l.nonce+=1)),l}var rP=x(()=>{u();Zr();cc();yh();Yt();qu();VS()});async function Uye(e){return(await e.request({method:\"eth_requestAccounts\"},{dedupe:!0,retryCount:0})).map(r=>At(r))}var $ye=x(()=>{u();Hu()});async function zye(e,t){return e.request({method:\"wallet_requestPermissions\",params:[t]},{retryCount:0})}var Lye=x(()=>{u()});async function Hye(e,t){let{chain:r=e.chain}=t,n=t.timeout??Math.max((r?.blockTime??0)*3,5e3),o=await Ce(e,WI,\"sendCalls\")(t);return await Ce(e,bp,\"waitForCallsStatus\")({...t,id:o.id,timeout:n})}var jye=x(()=>{u();Yt();JI();YI()});async function nP(e,t){let{account:r=e.account,assertChainId:n=!0,chain:o=e.chain,accessList:i,authorizationList:c,blobs:l,data:f,dataSuffix:p=typeof e.dataSuffix==\"string\"?e.dataSuffix:e.dataSuffix?.value,gas:h,gasPrice:y,maxFeePerBlobGas:w,maxFeePerGas:E,maxPriorityFeePerGas:A,nonce:C,pollingInterval:R,throwOnReceiptRevert:M,type:D,value:$,...H}=t,V=t.timeout??Math.max((o?.blockTime??0)*3,5e3);if(typeof r>\"u\")throw new Mn({docsPath:\"/docs/actions/wallet/sendTransactionSync\"});let G=r?tt(r):null;try{Uo(t);let K=await(async()=>{if(t.to)return t.to;if(t.to!==null&&c&&c.length>0)return await ah({authorization:c[0]}).catch(()=>{throw new oe(\"`to` is required. Could not infer from `authorizationList`.\")})})();if(G?.type===\"json-rpc\"||G===null){let Q;o!==null&&(Q=await Ce(e,$o,\"getChainId\")({}),n&&kv({currentChainId:Q,chain:o}));let X=e.chain?.formatters?.transactionRequest?.format,fe=(X||So)({...ms(H,{format:X}),accessList:i,account:G,authorizationList:c,blobs:l,chainId:Q,data:p?hr([f??\"0x\",p]):f,gas:h,gasPrice:y,maxFeePerBlobGas:w,maxFeePerGas:E,maxPriorityFeePerGas:A,nonce:C,to:K,type:D,value:$},\"sendTransaction\"),ce=EV.get(e.uid),N=ce?\"wallet_sendTransaction\":\"eth_sendTransaction\",_=await(async()=>{try{return await e.request({method:N,params:[fe]},{retryCount:0})}catch(O){if(ce===!1)throw O;let B=O;if(B.name===\"InvalidInputRpcError\"||B.name===\"InvalidParamsRpcError\"||B.name===\"MethodNotFoundRpcError\"||B.name===\"MethodNotSupportedRpcError\")return await e.request({method:\"wallet_sendTransaction\",params:[fe]},{retryCount:0}).then(L=>(EV.set(e.uid,!0),L)).catch(L=>{let q=L;throw q.name===\"MethodNotFoundRpcError\"||q.name===\"MethodNotSupportedRpcError\"?(EV.set(e.uid,!1),B):q});throw B}})(),k=await Ce(e,eP,\"waitForTransactionReceipt\")({checkReplacement:!1,hash:_,pollingInterval:R,timeout:V});if(M&&k.status===\"reverted\")throw new Ux({receipt:k});return k}if(G?.type===\"local\"){let Q=await Ce(e,yd,\"prepareTransactionRequest\")({account:G,accessList:i,authorizationList:c,blobs:l,chain:o,data:p?hr([f??\"0x\",p]):f,gas:h,gasPrice:y,maxFeePerBlobGas:w,maxFeePerGas:E,maxPriorityFeePerGas:A,nonce:C,nonceManager:G.nonceManager,parameters:[...GS,\"sidecars\"],type:D,value:$,...H,to:K}),X=o?.serializers?.transaction,Y=await G.signTransaction(Q,{serializer:X});return await Ce(e,qv,\"sendRawTransactionSync\")({serializedTransaction:Y,throwOnReceiptRevert:M,timeout:t.timeout})}throw G?.type===\"smart\"?new Kc({metaMessages:[\"Consider using the `sendUserOperation` Action instead.\"],docsPath:\"/docs/actions/bundler/sendUserOperation\",type:\"smart\"}):new Kc({docsPath:\"/docs/actions/wallet/sendTransactionSync\",type:G?.type})}catch(K){throw K instanceof Kc?K:hh(K,{...t,account:G,chain:t.chain||void 0})}}var EV,_V=x(()=>{u();Zr();cc();ht();ec();$S();qI();Zn();qS();ch();hs();Yt();Zm();Vu();qu();vV();yv();tP();EV=new Gi(128)});async function Fye(e,t){let{id:r}=t;await e.request({method:\"wallet_showCallsStatus\",params:[r]})}var Vye=x(()=>{u()});async function qye(e,t){let{account:r=e.account}=t;if(!r)throw new Mn({docsPath:\"/docs/eip7702/signAuthorization\"});let n=tt(r);if(!n.signAuthorization)throw new Kc({docsPath:\"/docs/eip7702/signAuthorization\",metaMessages:[\"The `signAuthorization` Action does not support JSON-RPC Accounts.\"],type:n.type});let o=await Pb(e,t);return n.signAuthorization(o)}var Gye=x(()=>{u();Zr();cc();rP()});async function Kye(e,{account:t=e.account,message:r}){if(!t)throw new Mn({docsPath:\"/docs/actions/wallet/signMessage\"});let n=tt(t);if(n.signMessage)return n.signMessage({message:r});let o=typeof r==\"string\"?ss(r):r.raw instanceof Uint8Array?rt(r.raw):r.raw;return e.request({method:\"personal_sign\",params:[o,n.address]},{retryCount:0})}var Zye=x(()=>{u();Zr();cc();ot()});async function Wye(e,t){let{account:r=e.account,chain:n=e.chain,...o}=t;if(!r)throw new Mn({docsPath:\"/docs/actions/wallet/signTransaction\"});let i=tt(r);Uo({account:i,...t});let c=await Ce(e,$o,\"getChainId\")({});n!==null&&kv({currentChainId:c,chain:n});let f=(n?.formatters||e.chain?.formatters)?.transactionRequest?.format||So;return i.signTransaction?i.signTransaction({...o,account:i,chainId:c},{serializer:e.chain?.serializers?.transaction}):await e.request({method:\"eth_signTransaction\",params:[{...f({...o,account:i},\"signTransaction\"),chainId:le(c),from:i.address}]},{retryCount:0})}var Jye=x(()=>{u();Zr();cc();qI();ot();hs();Yt();Vu();qu()});async function Qye(e,t){let{account:r=e.account,domain:n,message:o,primaryType:i}=t;if(!r)throw new Mn({docsPath:\"/docs/actions/wallet/signTypedData\"});let c=tt(r),l={EIP712Domain:w7({domain:n}),...t.types};if(v7({domain:n,message:o,primaryType:i,types:l}),c.signTypedData)return c.signTypedData({domain:n,message:o,primaryType:i,types:l});let f=a0e({domain:n,message:o,primaryType:i,types:l});return e.request({method:\"eth_signTypedData_v4\",params:[c.address,f]},{retryCount:0})}var Yye=x(()=>{u();Zr();cc();UF()});async function Xye(e,{id:t}){await e.request({method:\"wallet_switchEthereumChain\",params:[{chainId:le(t)}]},{retryCount:0})}var ebe=x(()=>{u();ot()});async function tbe(e,t){return await e.request({method:\"wallet_watchAsset\",params:t},{retryCount:0})}var rbe=x(()=>{u()});async function nbe(e,t){return _d.internal(e,nP,\"sendTransactionSync\",t)}var obe=x(()=>{u();_V();KI()});function SV(e){return{addChain:t=>Cye(e,t),deployContract:t=>Iye(e,t),fillTransaction:t=>hv(e,t),getAddresses:()=>Rye(e),getCallsStatus:t=>QI(e,t),getCapabilities:t=>Bye(e,t),getChainId:()=>$o(e),getPermissions:()=>Dye(e),prepareAuthorization:t=>Pb(e,t),prepareTransactionRequest:t=>yd(e,t),requestAddresses:()=>Uye(e),requestPermissions:t=>zye(e,t),sendCalls:t=>WI(e,t),sendCallsSync:t=>Hye(e,t),sendRawTransaction:t=>Cv(e,t),sendRawTransactionSync:t=>qv(e,t),sendTransaction:t=>Ed(e,t),sendTransactionSync:t=>nP(e,t),showCallsStatus:t=>Fye(e,t),signAuthorization:t=>qye(e,t),signMessage:t=>Kye(e,t),signTransaction:t=>Wye(e,t),signTypedData:t=>Qye(e,t),switchChain:t=>Xye(e,t),waitForCallsStatus:t=>bp(e,t),watchAsset:t=>tbe(e,t),writeContract:t=>_d(e,t),writeContractSync:t=>nbe(e,t)}}var ibe=x(()=>{u();gI();qu();Tye();Pye();Oye();vF();Mye();Nye();rP();yv();$ye();Lye();JI();jye();GI();tP();Tv();_V();Vye();Gye();Zye();Jye();Yye();ebe();YI();rbe();KI();obe()});function oP({key:e,methods:t,name:r,request:n,retryCount:o=3,retryDelay:i=150,timeout:c,type:l},f){let p=t7();return{config:{key:e,methods:t,name:r,request:n,retryCount:o,retryDelay:i,timeout:c,type:l},request:Whe(n,{methods:t,retryCount:o,retryDelay:i,uid:p}),value:f}}var AV=x(()=>{u();Jhe();EF()});function C5(e,t={}){let{key:r=\"custom\",methods:n,name:o=\"Custom Provider\",retryDelay:i}=t;return({retryCount:c})=>oP({key:r,methods:n,name:o,request:e.request.bind(e),retryCount:t.retryCount??c,retryDelay:i,type:\"custom\"})}var abe=x(()=>{u();AV()});var iP,sbe=x(()=>{u();ht();iP=class extends oe{constructor(){super(\"No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.\",{docsPath:\"/docs/clients/intro\",name:\"UrlRequiredError\"})}}});function Jc(e,t={}){let{batch:r,fetchFn:n,fetchOptions:o,key:i=\"http\",methods:c,name:l=\"HTTP JSON-RPC\",onFetchRequest:f,onFetchResponse:p,retryDelay:h,raw:y}=t;return({chain:w,retryCount:E,timeout:A})=>{let{batchSize:C=1e3,wait:R=0}=typeof r==\"object\"?r:{},M=t.retryCount??E,D=A??t.timeout??1e4,$=e||w?.rpcUrls.default.http[0];if(!$)throw new iP;let H=Xhe($,{fetchFn:n,fetchOptions:o,onRequest:f,onResponse:p,timeout:D});return oP({key:i,methods:c,name:l,async request({method:V,params:G}){let K={method:V,params:G},{schedule:Q}=HI({id:$,wait:R,shouldSplitBatch(ce){return ce.length>C},fn:ce=>H.request({body:ce}),sort:(ce,N)=>ce.id-N.id}),X=async ce=>r?Q(ce):[await H.request({body:ce})],[{error:Y,result:fe}]=await X(K);if(y)return{error:Y,result:fe};if(Y)throw new Ym({body:K,error:Y,url:$});return fe},retryCount:M,retryDelay:h,timeout:D,type:\"http\"},{fetchOptions:o,url:$})}}var cbe=x(()=>{u();zy();sbe();cF();e0e();AV()});function aP(e){let{r:t,s:r}=Lc.Signature.fromCompact(e.slice(2,130)),n=+`0x${e.slice(130)}`,[o,i]=(()=>{if(n===0||n===1)return[void 0,n];if(n===27)return[BigInt(n),0];if(n===28)return[BigInt(n),1];throw new Error(\"Invalid yParityOrV value\")})();return typeof o<\"u\"?{r:le(t,{size:32}),s:le(r,{size:32}),v:o,yParity:i}:{r:le(t,{size:32}),s:le(r,{size:32}),yParity:i}}var ube=x(()=>{u();NS();ot()});var bn=x(()=>{u();r7();kye();wV();ibe();abe();cbe();vd();cb();ht();rb();Ox();uF();$c();ki();Uhe();Hu();Ki();yh();T();Dc();Ff();xa();cd();Vf();Kn();fo();ot();us();s5();DF();y7();E7();ube();M4()});var lbe,dbe=x(()=>{u();T();lbe=g({id:16600,name:\"0G Newton Testnet\",nativeCurrency:{name:\"A0GI\",symbol:\"A0GI\",decimals:18},rpcUrls:{default:{http:[\"https://evmrpc-testnet.0g.ai\"]}},blockExplorers:{default:{name:\"0G BlockChain Explorer\",url:\"https://chainscan-newton.0g.ai\"}},testnet:!0})});var fbe,pbe=x(()=>{u();T();fbe=g({id:16601,name:\"0G Galileo Testnet\",nativeCurrency:{name:\"A0GI\",symbol:\"A0GI\",decimals:18},rpcUrls:{default:{http:[\"https://evmrpc-testnet.0g.ai\"]}},blockExplorers:{default:{name:\"0G BlockChain Explorer\",url:\"https://chainscan-galileo.0g.ai\"}},testnet:!0})});var mbe,hbe=x(()=>{u();T();mbe=g({id:16661,name:\"0G Mainnet\",nativeCurrency:{name:\"0G\",symbol:\"0G\",decimals:18},rpcUrls:{default:{http:[\"https://evmrpc.0g.ai\"]}},blockExplorers:{default:{name:\"0G BlockChain Explorer\",url:\"https://chainscan.0g.ai\"}},testnet:!1})});var ybe,bbe=x(()=>{u();T();ybe=g({id:16602,name:\"0G Galileo Testnet\",nativeCurrency:{name:\"A0GI\",symbol:\"A0GI\",decimals:18},rpcUrls:{default:{http:[\"https://evmrpc-testnet.0g.ai\"]}},blockExplorers:{default:{name:\"0G BlockChain Explorer\",url:\"https://chainscan-galileo.0g.ai\"}},testnet:!0})});var gbe,xbe=x(()=>{u();T();gbe=g({id:995,name:\"5ireChain\",nativeCurrency:{name:\"5ire Token\",symbol:\"5IRE\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.5ire.network\"]}},blockExplorers:{default:{name:\"5ireChain Mainnet Explorer\",url:\"https://5irescan.io/\"}},testnet:!1})});var vbe,wbe=x(()=>{u();T();vbe=g({id:179,name:\"ABEY Mainnet\",nativeCurrency:{name:\"ABEY\",symbol:\"ABEY\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.abeychain.com\"]}},blockExplorers:{default:{name:\"Abey Scan\",url:\"https://abeyscan.com\"}},testnet:!1})});var Kv,kV,T5=x(()=>{u();cb();Kv=50000n,kV=Bj*32n});var CV,Ebe=x(()=>{u();Kn();fo();ot();cv();Gu();hd();yp();hs();T5();CV={block:sv({format(e){let t=e.transactions?.map(r=>{if(typeof r==\"string\")return r;let n=CV.transaction?.format(r);return n.typeHex===\"0x71\"?n.type=\"eip712\":n.typeHex===\"0xff\"&&(n.type=\"priority\"),n});return{l1BatchNumber:e.l1BatchNumber?it(e.l1BatchNumber):null,l1BatchTimestamp:e.l1BatchTimestamp?it(e.l1BatchTimestamp):null,transactions:t}}}),transaction:fh({format(e){let t={};return e.type===\"0x71\"?t.type=\"eip712\":e.type===\"0xff\"&&(t.type=\"priority\"),{...t,l1BatchNumber:e.l1BatchNumber?it(e.l1BatchNumber):null,l1BatchTxIndex:e.l1BatchTxIndex?it(e.l1BatchTxIndex):null}}}),transactionReceipt:Iv({format(e){return{l1BatchNumber:e.l1BatchNumber?it(e.l1BatchNumber):null,l1BatchTxIndex:e.l1BatchTxIndex?it(e.l1BatchTxIndex):null,logs:e.logs.map(t=>({...po(t),l1BatchNumber:t.l1BatchNumber?it(t.l1BatchNumber):null,transactionLogIndex:Gr(t.transactionLogIndex),logType:t.logType})),l2ToL1Logs:e.l2ToL1Logs.map(t=>({blockNumber:it(t.blockHash),blockHash:t.blockHash,l1BatchNumber:t.l1BatchNumber?it(t.l1BatchNumber):null,transactionIndex:it(t.transactionIndex),shardId:it(t.shardId),isService:t.isService,sender:t.sender,key:t.key,value:t.value,transactionHash:t.transactionHash,logIndex:it(t.logIndex)}))}}}),transactionRequest:ov({exclude:[\"customSignature\",\"factoryDeps\",\"gasPerPubdata\",\"paymaster\",\"paymasterInput\"],format(e){return e.gasPerPubdata||e.paymaster&&e.paymasterInput||e.factoryDeps||e.customSignature?{eip712Meta:{...e.gasPerPubdata?{gasPerPubdata:rt(e.gasPerPubdata)}:{gasPerPubdata:rt(Kv)},...e.paymaster&&e.paymasterInput?{paymasterParams:{paymaster:e.paymaster,paymasterInput:Array.from(Kr(e.paymasterInput))}}:{},...e.factoryDeps?{factoryDeps:e.factoryDeps.map(t=>Array.from(Kr(t)))}:{},...e.customSignature?{customSignature:Array.from(Kr(e.customSignature))}:{}},type:\"0x71\"}:{}}})}});var sP,_be=x(()=>{u();ht();sP=class extends oe{constructor(){super([\"Transaction is not an EIP712 transaction.\",\"\",\"Transaction must:\",\\'  - include `type: \"eip712\"`\\',\"  - include one of the following: `customSignature`, `paymaster`, `paymasterInput`, `gasPerPubdata`, `factoryDeps`\"].join(`\\n`),{name:\"InvalidEip712TransactionError\"})}}});function cP(e){return!!(e.type===\"eip712\"||\"customSignature\"in e&&e.customSignature||\"paymaster\"in e&&e.paymaster||\"paymasterInput\"in e&&e.paymasterInput||\"gasPerPubdata\"in e&&typeof e.gasPerPubdata==\"bigint\"||\"factoryDeps\"in e&&e.factoryDeps)}var TV=x(()=>{u()});function uP(e){let{chainId:t,to:r,from:n,paymaster:o,paymasterInput:i}=e;if(!cP(e))throw new sP;if(!t||t<=0)throw new Qu({chainId:t});if(r&&!Et(r))throw new vr({address:r});if(n&&!Et(n))throw new vr({address:n});if(o&&!Et(o))throw new vr({address:o});if(o&&!i)throw new oe(\"`paymasterInput` must be provided when `paymaster` is defined\");if(!o&&i)throw new oe(\"`paymaster` must be provided when `paymasterInput` is defined\")}var IV=x(()=>{u();Xs();ht();db();Ki();_be();TV()});function Ryt(e,t){return cP(e)?Oyt(e):gb(e,t)}function Oyt(e){let{chainId:t,gas:r,nonce:n,to:o,from:i,value:c,maxFeePerGas:l,maxPriorityFeePerGas:f,customSignature:p,factoryDeps:h,paymaster:y,paymasterInput:w,gasPerPubdata:E,data:A}=e;uP(e);let C=[n?rt(n):\"0x\",f?rt(f):\"0x\",l?rt(l):\"0x\",r?rt(r):\"0x\",o??\"0x\",c?rt(c):\"0x\",A??\"0x\",rt(t),rt(\"\"),rt(\"\"),rt(t),i??\"0x\",E?rt(E):rt(Kv),h??[],p??\"0x\",y&&w?[y,w]:[]];return Cn([\"0x71\",ka(C)])}var Sbe,Abe=x(()=>{u();Zn();ot();Wx();Bv();T5();IV();TV();Sbe={transaction:Ryt}});var lP,dP,fP,kbe=x(()=>{u();ht();lP=class extends oe{constructor({givenLength:t,maxBytecodeSize:r}){super(`Bytecode cannot be longer than ${r} bytes. Given length: ${t}`,{name:\"BytecodeLengthExceedsMaxSizeError\"})}},dP=class extends oe{constructor({givenLengthInWords:t}){super(`Bytecode length in 32-byte words must be odd. Given length in words: ${t}`,{name:\"BytecodeLengthInWordsMustBeOddError\"})}},fP=class extends oe{constructor({givenLength:t}){super(`The bytecode length in bytes must be divisible by 32. Given length: ${t}`,{name:\"BytecodeLengthMustBeDivisibleBy32Error\"})}}});function Cbe(e){let t=Si(e);if(t.length%32!==0)throw new fP({givenLength:t.length});if(t.length>kV)throw new lP({givenLength:t.length,maxBytecodeSize:kV});let r=dI(t),n=Si(r),o=t.length/32;if(o%2===0)throw new dP({givenLengthInWords:o});let i=Si(o),c=qr(i,{size:2}),l=new Uint8Array([1,0]);return n.set(l,0),n.set(c,2),n}var Tbe=x(()=>{u();Ff();fo();$j();T5();kbe()});function Byt(e){let{gas:t,nonce:r,to:n,from:o,value:i,maxFeePerGas:c,maxPriorityFeePerGas:l,factoryDeps:f,paymaster:p,paymasterInput:h,gasPerPubdata:y,data:w}=e;return{txType:113n,from:BigInt(o),to:n?BigInt(n):0n,gasLimit:t??0n,gasPerPubdataByteLimit:y??Kv,maxFeePerGas:c??0n,maxPriorityFeePerGas:l??0n,paymaster:p?BigInt(p):0n,nonce:r?BigInt(r):0n,value:i??0n,data:w??\"0x\",factoryDeps:f?.map(E=>rt(Cbe(E)))??[],paymasterInput:h||\"0x\"}}var Ibe,Pbe=x(()=>{u();ot();T5();IV();Tbe();Ibe=e=>{uP(e);let t=Byt(e);return{domain:{name:\"zkSync\",version:\"2\",chainId:e.chainId},types:{Transaction:[{name:\"txType\",type:\"uint256\"},{name:\"from\",type:\"uint256\"},{name:\"to\",type:\"uint256\"},{name:\"gasLimit\",type:\"uint256\"},{name:\"gasPerPubdataByteLimit\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymaster\",type:\"uint256\"},{name:\"nonce\",type:\"uint256\"},{name:\"value\",type:\"uint256\"},{name:\"data\",type:\"bytes\"},{name:\"factoryDeps\",type:\"bytes32[]\"},{name:\"paymasterInput\",type:\"bytes\"}]},primaryType:\"Transaction\",message:t}}});var gn,Pa=x(()=>{u();Ebe();Abe();Pbe();gn={blockTime:1e3,formatters:CV,serializers:Sbe,custom:{getEip712Domain:Ibe}}});var Rbe,Obe=x(()=>{u();T();Pa();Rbe=g({...gn,blockTime:200,id:2741,name:\"Abstract\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://api.mainnet.abs.xyz\"],webSocket:[\"wss://api.mainnet.abs.xyz/ws\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://abscan.org\"},native:{name:\"Abstract Explorer\",url:\"https://explorer.mainnet.abs.xyz\"}},contracts:{multicall3:{address:\"0xAa4De41dba0Ca5dCBb288b7cC6b708F3aaC759E7\",blockCreated:5288},erc6492Verifier:{address:\"0xfB688330379976DA81eB64Fe4BF50d7401763B9C\",blockCreated:5263}}})});var Bbe,Mbe=x(()=>{u();T();Pa();Bbe=g({...gn,blockTime:200,id:11124,name:\"Abstract Testnet\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://api.testnet.abs.xyz\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://sepolia.abscan.org\"},native:{name:\"Abstract Explorer\",url:\"https://explorer.testnet.abs.xyz\"}},testnet:!0,contracts:{multicall3:{address:\"0xF9cda624FBC7e059355ce98a31693d299FACd963\",blockCreated:358349},erc6492Verifier:{address:\"0xfB688330379976DA81eB64Fe4BF50d7401763B9C\",blockCreated:431682}}})});var Dbe,Nbe=x(()=>{u();T();Dbe=g({id:787,name:\"Acala\",network:\"acala\",nativeCurrency:{name:\"Acala\",symbol:\"ACA\",decimals:18},rpcUrls:{default:{http:[\"https://eth-rpc-acala.aca-api.network\"],webSocket:[\"wss://eth-rpc-acala.aca-api.network\"]}},blockExplorers:{default:{name:\"Acala Blockscout\",url:\"https://blockscout.acala.network\",apiUrl:\"https://blockscout.acala.network/api\"}},testnet:!1})});var Ube,$be=x(()=>{u();T();Ube=g({id:47,name:\"Acria IntelliChain\",nativeCurrency:{decimals:18,name:\"ACRIA\",symbol:\"ACRIA\"},rpcUrls:{default:{http:[\"https://aic.acria.ai\"]}},blockExplorers:{default:{name:\"Acria Explorer\",url:\"https://explorer.acria.ai\"}},testnet:!1})});var zbe,Lbe=x(()=>{u();T();zbe=g({id:1215,name:\"ADF Chain\",nativeCurrency:{name:\"ADDFILL\",symbol:\"ADF\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.adftechnology.com\"]}},blockExplorers:{default:{name:\"ADF Mainnet Explorer\",url:\"https://explorer.adftechnology.com\"}},testnet:!1})});var Hbe,jbe=x(()=>{u();T();Hbe=g({id:36900,name:\"ADI_Chain\",nativeCurrency:{decimals:18,name:\"ADI\",symbol:\"ADI\"},rpcUrls:{default:{http:[\"https://rpc.adifoundation.ai\"]}},blockExplorers:{default:{name:\"ADI Explorer\",url:\"https://explorer.adifoundation.ai\"}},testnet:!1})});var Fbe,Vbe=x(()=>{u();T();Fbe=g({id:9990,name:\"Agung Network\",nativeCurrency:{decimals:18,name:\"Agung\",symbol:\"AGNG\"},rpcUrls:{default:{http:[\"https://wss-async.agung.peaq.network\"],webSocket:[\"wss://wss-async.agung.peaq.network\"]}},blockExplorers:{default:{name:\"Subscan\",url:\"https://agung-testnet.subscan.io\"}},testnet:!0})});var qbe,Gbe=x(()=>{u();T();qbe=g({id:168,name:\"AIOZ Network\",nativeCurrency:{decimals:18,name:\"AIOZ\",symbol:\"AIOZ\"},rpcUrls:{default:{http:[\"https://eth-dataseed.aioz.network\"]}},blockExplorers:{default:{name:\"AIOZ Explorer\",url:\"https://explorer.aioz.network\"}},testnet:!1})});var Kbe,Zbe=x(()=>{u();T();Kbe=g({id:41455,name:\"Aleph Zero\",nativeCurrency:{name:\"Aleph Zero\",symbol:\"AZERO\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.alephzero.raas.gelato.cloud\"]}},blockExplorers:{default:{name:\"Aleph Zero EVM Explorer\",url:\"https://evm-explorer.alephzero.org\",apiUrl:\"https://evm-explorer.alephzero.org/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:4603377}}})});var Wbe,Jbe=x(()=>{u();T();Wbe=g({id:2039,name:\"Aleph Zero Testnet\",nativeCurrency:{name:\"TZERO\",symbol:\"TZERO\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.alephzero-testnet.gelato.digital\"],webSocket:[\"wss://ws.alephzero-testnet.gelato.digital\"]}},blockExplorers:{default:{name:\"Aleph Zero EVM Testnet explorer\",url:\"https://evm-explorer-testnet.alephzero.org\",apiUrl:\"https://evm-explorer-testnet.alephzero.org/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:2861745}},testnet:!0})});var Qbe,Ybe=x(()=>{u();T();Qbe=g({id:10241024,name:\"AlienX Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.alienxchain.io/http\"]}},blockExplorers:{default:{name:\"AlienX Explorer\",url:\"https://explorer.alienxchain.io\"}},testnet:!1})});var Xbe,ege=x(()=>{u();T();Xbe=g({id:10241025,name:\"ALIENX Hal Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://hal-rpc.alienxchain.io/http\"]}},blockExplorers:{default:{name:\"AlienX Explorer\",url:\"https://hal-explorer.alienxchain.io\"}},testnet:!0})});var tge,rge=x(()=>{u();T();tge=g({id:8150,name:\"Alpen Testnet\",nativeCurrency:{name:\"Signet BTC\",symbol:\"sBTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.alpenlabs.io\"]}},blockExplorers:{default:{name:\"Alpen Explorer\",url:\"https://explorer.testnet.alpenlabs.io\",apiUrl:\"https://explorer.testnet.alpenlabs.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:290408}},testnet:!0})});var pP,PV=x(()=>{u();pP={gasPriceOracle:{address:\"0x420000000000000000000000000000000000000F\"},l1Block:{address:\"0x4200000000000000000000000000000000000015\"},l2CrossDomainMessenger:{address:\"0x4200000000000000000000000000000000000007\"},l2Erc721Bridge:{address:\"0x4200000000000000000000000000000000000014\"},l2StandardBridge:{address:\"0x4200000000000000000000000000000000000010\"},l2ToL1MessagePasser:{address:\"0x4200000000000000000000000000000000000016\"}}});var Zv,mP=x(()=>{u();Kn();cv();hd();yp();Zv={block:sv({format(e){return{transactions:e.transactions?.map(r=>{if(typeof r==\"string\")return r;let n=ic(r);return n.typeHex===\"0x7e\"&&(n.isSystemTx=r.isSystemTx,n.mint=r.mint?it(r.mint):void 0,n.sourceHash=r.sourceHash,n.type=\"deposit\"),n}),stateRoot:e.stateRoot}}}),transaction:fh({format(e){let t={};return e.type===\"0x7e\"&&(t.isSystemTx=e.isSystemTx,t.mint=e.mint?it(e.mint):void 0,t.sourceHash=e.sourceHash,t.type=\"deposit\"),t}}),transactionReceipt:Iv({format(e){return{l1GasPrice:e.l1GasPrice?it(e.l1GasPrice):null,l1GasUsed:e.l1GasUsed?it(e.l1GasUsed):null,l1Fee:e.l1Fee?it(e.l1Fee):null,l1FeeScalar:e.l1FeeScalar?Number(e.l1FeeScalar):null}}})}});function RV(e,t){return Dyt(e)?Myt(e):gb(e,t)}function Myt(e){Nyt(e);let{sourceHash:t,data:r,from:n,gas:o,isSystemTx:i,mint:c,to:l,value:f}=e,p=[t,n,l??\"0x\",c?rt(c):\"0x\",f?rt(f):\"0x\",o?rt(o):\"0x\",i?\"0x1\":\"0x\",r??\"0x\"];return Cn([\"0x7e\",ka(p)])}function Dyt(e){return e.type===\"deposit\"||typeof e.sourceHash<\"u\"}function Nyt(e){let{from:t,to:r}=e;if(t&&!Et(t))throw new vr({address:t});if(r&&!Et(r))throw new vr({address:r})}var nge,OV=x(()=>{u();Xs();Ki();Zn();ot();Wx();Bv();nge={transaction:RV}});var me,at=x(()=>{u();PV();mP();OV();me={blockTime:2e3,contracts:pP,formatters:Zv,serializers:nge}});var hP,oge,ige=x(()=>{u();at();T();hP=1,oge=g({...me,id:888888888,name:\"Ancient8\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.ancient8.gg\"]}},blockExplorers:{default:{name:\"Ancient8 explorer\",url:\"https://scan.ancient8.gg\",apiUrl:\"https://scan.ancient8.gg/api\"}},contracts:{...me.contracts,l2OutputOracle:{[hP]:{address:\"0xB09DC08428C8b4EFB4ff9C0827386CDF34277996\"}},portal:{[hP]:{address:\"0x639F2AECE398Aa76b07e59eF6abe2cFe32bacb68\",blockCreated:19070571}},l1StandardBridge:{[hP]:{address:\"0xd5e3eDf5b68135D559D572E26bF863FBC1950033\",blockCreated:19070571}}},sourceId:hP})});var yP,age,sge=x(()=>{u();at();T();yP=11155111,age=g({...me,id:28122024,name:\"Ancient8 Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpcv2-testnet.ancient8.gg\"]}},blockExplorers:{default:{name:\"Ancient8 Celestia Testnet explorer\",url:\"https://scanv2-testnet.ancient8.gg\",apiUrl:\"https://scanv2-testnet.ancient8.gg/api\"}},contracts:{...me.contracts,l2OutputOracle:{[yP]:{address:\"0x942fD5017c0F60575930D8574Eaca13BEcD6e1bB\"}},portal:{[yP]:{address:\"0xfa1d9E26A6aCD7b22115D27572c1221B9803c960\",blockCreated:4972908}},l1StandardBridge:{[yP]:{address:\"0xF6Bc0146d3c74D48306e79Ae134A260E418C9335\",blockCreated:4972908}}},sourceId:yP,testnet:!0})});var cge,uge=x(()=>{u();T();cge=g({id:31337,name:\"Anvil\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"http://127.0.0.1:8545\"],webSocket:[\"ws://127.0.0.1:8545\"]}}})});var Uyt,lge,dge=x(()=>{u();T();Uyt=42161,lge=g({id:33139,name:\"ApeChain\",nativeCurrency:{name:\"ApeCoin\",symbol:\"APE\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.apechain.com/http\"],webSocket:[\"wss://rpc.apechain.com/ws\"]}},blockExplorers:{default:{name:\"Apescan\",url:\"https://apescan.io\",apiUrl:\"https://api.apescan.io/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:20889}},sourceId:Uyt})});var fge,pge=x(()=>{u();T();fge=g({id:3993,name:\"APEX Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-testnet.apexlayer.xyz\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://exp-testnet.apexlayer.xyz\",apiUrl:\"https://exp-testnet.apexlayer.xyz/api\"}},contracts:{multicall3:{address:\"0xf7642be33a6b18D16a995657adb5a68CD0438aE2\",blockCreated:283775}},testnet:!0})});var mge,hge=x(()=>{u();T();mge=g({id:62606,name:\"Apollo\",nativeCurrency:{decimals:18,name:\"Apollo\",symbol:\"APOLLO\"},rpcUrls:{default:{http:[\"https://mainnet-rpc.apolloscan.io\"]}},blockExplorers:{default:{name:\"Apollo Explorer\",url:\"https://apolloscan.io\"}}})});var yge,bge=x(()=>{u();T();yge=g({id:42161,name:\"Arbitrum One\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},blockTime:250,rpcUrls:{default:{http:[\"https://arb1.arbitrum.io/rpc\"]}},blockExplorers:{default:{name:\"Arbiscan\",url:\"https://arbiscan.io\",apiUrl:\"https://api.arbiscan.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:7654707}}})});var gge,xge=x(()=>{u();T();gge=g({id:421613,name:\"Arbitrum Goerli\",nativeCurrency:{name:\"Arbitrum Goerli Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://goerli-rollup.arbitrum.io/rpc\"]}},blockExplorers:{default:{name:\"Arbiscan\",url:\"https://goerli.arbiscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:88114}},testnet:!0})});var vge,wge=x(()=>{u();T();vge=g({id:42170,name:\"Arbitrum Nova\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://nova.arbitrum.io/rpc\"]}},blockExplorers:{default:{name:\"Arbiscan\",url:\"https://nova.arbiscan.io\",apiUrl:\"https://api-nova.arbiscan.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1746963}}})});var Ege,_ge=x(()=>{u();T();Ege=g({id:421614,name:\"Arbitrum Sepolia\",blockTime:250,nativeCurrency:{name:\"Arbitrum Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia-rollup.arbitrum.io/rpc\"]}},blockExplorers:{default:{name:\"Arbiscan\",url:\"https://sepolia.arbiscan.io\",apiUrl:\"https://api-sepolia.arbiscan.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:81930}},testnet:!0})});var Sge,Age=x(()=>{u();T();Sge=g({id:5042002,name:\"Arc Testnet\",nativeCurrency:{name:\"USDC\",symbol:\"USDC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.arc.network\",\"https://rpc.quicknode.testnet.arc.network\",\"https://rpc.blockdaemon.testnet.arc.network\"],webSocket:[\"wss://rpc.testnet.arc.network\",\"wss://rpc.quicknode.testnet.arc.network\"]}},blockExplorers:{default:{name:\"ArcScan\",url:\"https://testnet.arcscan.app\",apiUrl:\"https://testnet.arcscan.app/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}},testnet:!0})});var kge,Cge=x(()=>{u();T();kge=g({id:7897,name:\"Arena-Z\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.arena-z.gg\"]}},blockExplorers:{default:{name:\"Arena-Z Explorer\",url:\"https://explorer.arena-z.gg\",apiUrl:\"https://explorer.arena-z.gg\"}}})});var Tge,Ige=x(()=>{u();T();Tge=g({id:463,name:\"Areon Network\",nativeCurrency:{decimals:18,name:\"AREA\",symbol:\"AREA\"},rpcUrls:{default:{http:[\"https://mainnet-rpc.areon.network\"],webSocket:[\"wss://mainnet-ws.areon.network\"]}},blockExplorers:{default:{name:\"Areonscan\",url:\"https://areonscan.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:353286}},testnet:!1})});var Pge,Rge=x(()=>{u();T();Pge=g({id:462,name:\"Areon Network Testnet\",nativeCurrency:{decimals:18,name:\"TAREA\",symbol:\"TAREA\"},rpcUrls:{default:{http:[\"https://testnet-rpc.areon.network\"],webSocket:[\"wss://testnet-ws.areon.network\"]}},blockExplorers:{default:{name:\"Areonscan\",url:\"https://areonscan.com\"}},testnet:!0})});var Oge,Bge=x(()=>{u();T();Oge=g({id:463,name:\"Areum\",nativeCurrency:{decimals:18,name:\"AREA\",symbol:\"AREA\"},rpcUrls:{default:{http:[\"https://mainnet-rpc.areum.network\"],webSocket:[\"wss://mainnet-ws.areum.network\"]}},blockExplorers:{default:{name:\"Areum Explorer\",url:\"https://explorer.areum.network\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:353286}},testnet:!1})});var Mge,Dge=x(()=>{u();T();Mge=g({id:11822,name:\"Artela Testnet\",nativeCurrency:{name:\"ART\",symbol:\"ART\",decimals:18},rpcUrls:{default:{http:[\"https://betanet-rpc1.artela.network\"]}},blockExplorers:{default:{name:\"Artela\",url:\"https://betanet-scan.artela.network\",apiUrl:\"https://betanet-scan.artela.network/api\"}},contracts:{multicall3:{address:\"0xd07c8635f76e8745Ee7092fbb6e8fbc5FeF09DD7\",blockCreated:7001871}},testnet:!0})});var Nge,Uge=x(()=>{u();T();Nge=g({id:10242,name:\"Arthera\",nativeCurrency:{name:\"Arthera\",symbol:\"AA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.arthera.net\"]}},blockExplorers:{default:{name:\"Arthera EVM Explorer\",url:\"https://explorer.arthera.net\",apiUrl:\"https://explorer.arthera.net/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:4502791}}})});var $ge,zge=x(()=>{u();T();$ge=g({id:10243,name:\"Arthera Testnet\",nativeCurrency:{name:\"Arthera\",symbol:\"AA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-test.arthera.net\"]}},blockExplorers:{default:{name:\"Arthera EVM Explorer\",url:\"https://explorer-test.arthera.net\",apiUrl:\"https://explorer-test.arthera.net/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:22051}},testnet:!0})});var Lge,Hge=x(()=>{u();T();Lge=g({id:42420,name:\"AssetChain Mainnet\",nativeCurrency:{decimals:18,name:\"Real World Asset\",symbol:\"RWA\"},rpcUrls:{default:{http:[\"https://mainnet-rpc.assetchain.org\"]}},blockExplorers:{default:{name:\"Asset Chain Explorer\",url:\"https://scan.assetchain.org\",apiUrl:\"https://scan.assetchain.org/api\"}},testnet:!1,contracts:{}})});var jge,Fge=x(()=>{u();T();jge=g({id:42421,name:\"AssetChain Testnet\",nativeCurrency:{decimals:18,name:\"Real World Asset\",symbol:\"RWA\"},rpcUrls:{default:{http:[\"https://enugu-rpc.assetchain.org\"]}},blockExplorers:{default:{name:\"Asset Chain Testnet Explorer\",url:\"https://scan-testnet.assetchain.org\",apiUrl:\"https://scan-testnet.assetchain.org/api\"}},testnet:!0,contracts:{multicall3:{address:\"0x989F832D35988cb5e3eB001Fa2Fe789469EC31Ea\",blockCreated:17177}}})});var Vge,qge=x(()=>{u();T();Vge=g({id:592,name:\"Astar\",network:\"astar-mainnet\",nativeCurrency:{name:\"Astar\",symbol:\"ASTR\",decimals:18},rpcUrls:{default:{http:[\"https://astar.api.onfinality.io/public\"]}},blockExplorers:{default:{name:\"Astar Subscan\",url:\"https://astar.subscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:761794}},testnet:!1})});var Gge,Kge=x(()=>{u();T();Gge=g({id:3776,name:\"Astar zkEVM\",network:\"AstarZkEVM\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-zkevm.astar.network\"]}},blockExplorers:{default:{name:\"Astar zkEVM Explorer\",url:\"https://astar-zkevm.explorer.startale.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:93528}},testnet:!1})});var Zge,Wge=x(()=>{u();T();Zge=g({id:6038361,name:\"Astar zkEVM Testnet zKyoto\",network:\"zKyoto\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.startale.com/zkyoto\"]}},blockExplorers:{default:{name:\"zKyoto Explorer\",url:\"https://zkyoto.explorer.startale.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:196153}},testnet:!0})});var Jge,Qge=x(()=>{u();T();Jge=g({id:2340,name:\"Atleta Olympia\",nativeCurrency:{decimals:18,name:\"Atla\",symbol:\"ATLA\"},rpcUrls:{default:{http:[\"https://testnet-rpc.atleta.network:9944\",\"https://testnet-rpc.atleta.network\"],ws:[\"wss://testnet-rpc.atleta.network:9944\"]}},blockExplorers:{default:{name:\"Atleta Olympia Explorer\",url:\"https://blockscout.atleta.network\",apiUrl:\"https://blockscout.atleta.network/api\"}},contracts:{multicall3:{address:\"0x1472ec6392180fb84F345d2455bCC75B26577115\",blockCreated:1076473}},testnet:!0})});var Yge,Xge=x(()=>{u();T();Yge=g({id:1313161554,name:\"Aurora\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://mainnet.aurora.dev\"]}},blockExplorers:{default:{name:\"Aurorascan\",url:\"https://aurorascan.dev\",apiUrl:\"https://aurorascan.dev/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:62907816}}})});var e1e,t1e=x(()=>{u();T();e1e=g({id:1313161555,name:\"Aurora Testnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://testnet.aurora.dev\"]}},blockExplorers:{default:{name:\"Aurorascan\",url:\"https://testnet.aurorascan.dev\",apiUrl:\"https://testnet.aurorascan.dev/api\"}},testnet:!0})});var r1e,n1e=x(()=>{u();T();r1e=g({id:205205,name:\"Auroria Testnet\",network:\"auroria\",nativeCurrency:{name:\"Auroria Stratis\",symbol:\"tSTRAX\",decimals:18},rpcUrls:{default:{http:[\"https://auroria.rpc.stratisevm.com\"]}},blockExplorers:{default:{name:\"Auroria Testnet Explorer\",url:\"https://auroria.explorer.stratisevm.com\"}},testnet:!0})});var o1e,i1e=x(()=>{u();T();o1e=g({id:785,name:\"Autheo Testnet\",nativeCurrency:{decimals:18,name:\"Autheo\",symbol:\"THEO\"},rpcUrls:{default:{http:[\"https://testnet-rpc1.autheo.com\",\"https://testnet-rpc2.autheo.com\"]}},blockExplorers:{default:{name:\"Autheo Testnet Block Explorer\",url:\"https://testnet-explorer.autheo.com/\"}},testnet:!0})});var a1e,s1e=x(()=>{u();T();a1e=g({id:43114,name:\"Avalanche\",blockTime:1700,nativeCurrency:{decimals:18,name:\"Avalanche\",symbol:\"AVAX\"},rpcUrls:{default:{http:[\"https://api.avax.network/ext/bc/C/rpc\"]}},blockExplorers:{default:{name:\"SnowTrace\",url:\"https://snowtrace.io\",apiUrl:\"https://api.snowtrace.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:11907934}}})});var c1e,u1e=x(()=>{u();T();c1e=g({id:43113,name:\"Avalanche Fuji\",nativeCurrency:{decimals:18,name:\"Avalanche Fuji\",symbol:\"AVAX\"},rpcUrls:{default:{http:[\"https://api.avax-test.network/ext/bc/C/rpc\"]}},blockExplorers:{default:{name:\"SnowTrace\",url:\"https://testnet.snowtrace.io\",apiUrl:\"https://api-testnet.snowtrace.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:7096959}},testnet:!0})});var $yt,l1e,d1e=x(()=>{u();T();$yt=8453,l1e=g({id:8333,name:\"B3\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet-rpc.b3.fun/http\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.b3.fun\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0}},sourceId:$yt})});var zyt,f1e,p1e=x(()=>{u();T();zyt=168587773,f1e=g({id:1993,name:\"B3 Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.b3.fun/http\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://sepolia.explorer.b3.fun\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0}},testnet:!0,sourceId:zyt})});var m1e,h1e=x(()=>{u();T();m1e=g({id:5165,network:\"bahamut\",name:\"Bahamut\",nativeCurrency:{name:\"Fasttoken\",symbol:\"FTN\",decimals:18},rpcUrls:{default:{http:[\"https://rpc1.bahamut.io\",\"https://bahamut-rpc.publicnode.com\",\"https://rpc2.bahamut.io\"],webSocket:[\"wss://ws1.sahara.bahamutchain.com\",\"wss://bahamut-rpc.publicnode.com\",\"wss://ws2.sahara.bahamutchain.com\"]}},blockExplorers:{default:{name:\"Ftnscan\",url:\"https://www.ftnscan.com\",apiUrl:\"https://www.ftnscan.com/api\"}}})});var I5,P5,y1e,b1e=x(()=>{u();at();T();I5=1,P5=g({...me,id:8453,name:\"Base\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.base.org\"]}},blockExplorers:{default:{name:\"Basescan\",url:\"https://basescan.org\",apiUrl:\"https://api.basescan.org/api\"}},contracts:{...me.contracts,disputeGameFactory:{[I5]:{address:\"0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e\"}},l2OutputOracle:{[I5]:{address:\"0x56315b90c40730925ec5485cf004d835058518A0\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:5022},portal:{[I5]:{address:\"0x49048044D57e1C92A77f79988d21Fa8fAF74E97e\",blockCreated:17482143}},l1StandardBridge:{[I5]:{address:\"0x3154Cf16ccdb4C6d922629664174b904d80F2C35\",blockCreated:17482143}}},sourceId:I5}),y1e=g({...P5,experimental_preconfirmationTime:200,rpcUrls:{default:{http:[\"https://mainnet-preconf.base.org\"]}}})});var g1e,x1e=x(()=>{u();T();g1e=g({id:123420001114,name:\"Basecamp Testnet\",nativeCurrency:{decimals:18,name:\"Camp\",symbol:\"CAMP\"},rpcUrls:{default:{http:[\"https://rpc.basecamp.t.raas.gelato.cloud\"]}},blockExplorers:{default:{name:\"basecamp\",url:\"https://basecamp.cloud.blockscout.com\"}},testnet:!0})});var bP,v1e,w1e=x(()=>{u();at();T();bP=5,v1e=g({...me,id:84531,name:\"Base Goerli\",nativeCurrency:{name:\"Goerli Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://goerli.base.org\"]}},blockExplorers:{default:{name:\"Basescan\",url:\"https://goerli.basescan.org\",apiUrl:\"https://goerli.basescan.org/api\"}},contracts:{...me.contracts,l2OutputOracle:{[bP]:{address:\"0x2A35891ff30313CcFa6CE88dcf3858bb075A2298\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1376988},portal:{[bP]:{address:\"0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA\"}},l1StandardBridge:{[bP]:{address:\"0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a\"}}},testnet:!0,sourceId:bP})});var R5,BV,E1e,_1e=x(()=>{u();at();T();R5=11155111,BV=g({...me,id:84532,network:\"base-sepolia\",name:\"Base Sepolia\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.base.org\"]}},blockExplorers:{default:{name:\"Basescan\",url:\"https://sepolia.basescan.org\",apiUrl:\"https://api-sepolia.basescan.org/api\"}},contracts:{...me.contracts,disputeGameFactory:{[R5]:{address:\"0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1\"}},l2OutputOracle:{[R5]:{address:\"0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254\"}},portal:{[R5]:{address:\"0x49f53e41452c74589e85ca1677426ba426459e85\",blockCreated:4446677}},l1StandardBridge:{[R5]:{address:\"0xfd0Bf71F60660E2f608ed56e1659C450eB113120\",blockCreated:4446677}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1059647}},testnet:!0,sourceId:R5}),E1e=g({...BV,experimental_preconfirmationTime:200,rpcUrls:{default:{http:[\"https://sepolia-preconf.base.org\"]}}})});var S1e,A1e=x(()=>{u();T();Pa();S1e=g({...gn,id:627,name:\"BattleChain Testnet\",network:\"battlechain-testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.battlechain.com\"]}},blockExplorers:{default:{name:\"BattleChain Explorer\",url:\"https://explorer.testnet.battlechain.com\",blockExplorerApi:\"https://block-explorer-api.testnet.battlechain.com/api\"}},testnet:!0})});var k1e,C1e=x(()=>{u();T();k1e=g({id:4337,name:\"Beam\",network:\"beam\",nativeCurrency:{decimals:18,name:\"Beam\",symbol:\"BEAM\"},rpcUrls:{default:{http:[\"https://build.onbeam.com/rpc\"],webSocket:[\"wss://build.onbeam.com/ws\"]}},blockExplorers:{default:{name:\"Beam Explorer\",url:\"https://subnets.avax.network/beam\"}},contracts:{multicall3:{address:\"0x4956f15efdc3dc16645e90cc356eafa65ffc65ec\",blockCreated:1}}})});var T1e,I1e=x(()=>{u();T();T1e=g({id:13337,name:\"Beam Testnet\",network:\"beam\",nativeCurrency:{decimals:18,name:\"Beam\",symbol:\"BEAM\"},rpcUrls:{default:{http:[\"https://build.onbeam.com/rpc/testnet\"],webSocket:[\"wss://build.onbeam.com/ws/testnet\"]}},blockExplorers:{default:{name:\"Beam Explorer\",url:\"https://subnets-test.avax.network/beam\"}},contracts:{multicall3:{address:\"0x9bf49b704ee2a095b95c1f2d4eb9010510c41c9e\",blockCreated:3}},testnet:!0})});var P1e,R1e=x(()=>{u();T();P1e=g({id:641230,name:\"Bear Network Chain Mainnet\",nativeCurrency:{decimals:18,name:\"BearNetworkChain\",symbol:\"BRNKC\"},rpcUrls:{default:{http:[\"https://brnkc-mainnet.bearnetwork.net\"]}},blockExplorers:{default:{name:\"BrnkScan\",url:\"https://brnkscan.bearnetwork.net\",apiUrl:\"https://brnkscan.bearnetwork.net/api\"}}})});var O1e,B1e=x(()=>{u();T();O1e=g({id:751230,name:\"Bear Network Chain Testnet\",nativeCurrency:{decimals:18,name:\"tBRNKC\",symbol:\"tBRNKC\"},rpcUrls:{default:{http:[\"https://brnkc-test.bearnetwork.net\"]}},blockExplorers:{default:{name:\"BrnkTestScan\",url:\"https://brnktest-scan.bearnetwork.net\",apiUrl:\"https://brnktest-scan.bearnetwork.net/api\"}},testnet:!0})});var M1e,D1e=x(()=>{u();T();M1e=g({id:80094,name:\"Berachain\",blockTime:2e3,nativeCurrency:{decimals:18,name:\"BERA Token\",symbol:\"BERA\"},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0},ensRegistry:{address:\"0x5b22280886a2f5e09a49bea7e320eab0e5320e28\",blockCreated:877007},ensUniversalResolver:{address:\"0x4D41762915F83c76EcaF6776d9b08076aA32b492\",blockCreated:9310021}},rpcUrls:{default:{http:[\"https://rpc.berachain.com\"]}},blockExplorers:{default:{name:\"Berascan\",url:\"https://berascan.com\"}},ensTlds:[\".bera\"],testnet:!1})});var N1e,U1e=x(()=>{u();T();N1e=g({id:80069,blockTime:2e3,name:\"Berachain Bepolia\",nativeCurrency:{decimals:18,name:\"BERA Token\",symbol:\"BERA\"},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}},rpcUrls:{default:{http:[\"https://bepolia.rpc.berachain.com\"]}},blockExplorers:{default:{name:\"Berascan\",url:\"https://bepolia.beratrail.io\"}},testnet:!0})});var $1e,z1e=x(()=>{u();T();$1e=g({id:80085,name:\"Berachain Artio\",nativeCurrency:{decimals:18,name:\"BERA Token\",symbol:\"BERA\"},rpcUrls:{default:{http:[\"https://artio.rpc.berachain.com\"]}},blockExplorers:{default:{name:\"Berachain\",url:\"https://artio.beratrail.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:866924}},testnet:!0})});var L1e,H1e=x(()=>{u();T();L1e=g({id:80084,name:\"Berachain bArtio\",nativeCurrency:{decimals:18,name:\"BERA Token\",symbol:\"BERA\"},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:109269},ensRegistry:{address:\"0xB0eef18971290b333450586D33dcA6cE122651D2\",blockCreated:7736794},ensUniversalResolver:{address:\"0x41692Ef1EA0C79E6b73077E4A67572D2BDbD7057\",blockCreated:7736795}},ensTlds:[\".bera\"],rpcUrls:{default:{http:[\"https://bartio.rpc.berachain.com\"]}},blockExplorers:{default:{name:\"Berachain bArtio Beratrail\",url:\"https://bartio.beratrail.io\"}},testnet:!0})});var j1e,F1e=x(()=>{u();T();j1e=g({id:11501,name:\"BEVM Mainnet\",nativeCurrency:{name:\"Bitcoin\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-mainnet-1.bevm.io\"]}},blockExplorers:{default:{name:\"Bevmscan\",url:\"https://scan-mainnet.bevm.io\",apiUrl:\"https://scan-mainnet-api.bevm.io/api\"}}})});var V1e,q1e=x(()=>{u();T();V1e=g({id:3068,name:\"Bifrost Mainnet\",nativeCurrency:{name:\"BFC\",symbol:\"BFC\",decimals:18},rpcUrls:{default:{http:[\"https://public-01.mainnet.bifrostnetwork.com/rpc\"]}},blockExplorers:{default:{name:\"Bifrost Blockscout\",url:\"https://explorer.mainnet.bifrostnetwork.com\"}},testnet:!1})});var G1e,K1e=x(()=>{u();T();G1e=g({id:53456,name:\"BirdLayer\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.birdlayer.xyz\",\"https://rpc1.birdlayer.xyz\"],webSocket:[\"wss://rpc.birdlayer.xyz/ws\"]}},blockExplorers:{default:{name:\"BirdLayer Explorer\",url:\"https://scan.birdlayer.xyz\"}}})});var Z1e,W1e=x(()=>{u();T();Z1e=g({id:32520,name:\"Bitgert Mainnet\",nativeCurrency:{decimals:18,name:\"Brise\",symbol:\"Brise\"},rpcUrls:{default:{http:[\"https://rpc-bitgert.icecreamswap.com\"]}},blockExplorers:{default:{name:\"Bitgert Scan\",url:\"https://brisescan.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2118034}},testnet:!1})});var J1e,Q1e=x(()=>{u();T();J1e=g({id:96,name:\"KUB Mainnet\",nativeCurrency:{name:\"KUB Coin\",symbol:\"KUB\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.bitkubchain.io\"]}},blockExplorers:{default:{name:\"KUB Chain Mainnet Explorer\",url:\"https://www.bkcscan.com\",apiUrl:\"https://www.bkcscan.com/api\"}}})});var Y1e,X1e=x(()=>{u();T();Y1e=g({id:25925,name:\"Bitkub Testnet\",network:\"Bitkub Testnet\",nativeCurrency:{name:\"Bitkub Test\",symbol:\"tKUB\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-testnet.bitkubchain.io\"]}},blockExplorers:{default:{name:\"Bitkub Chain Testnet Explorer\",url:\"https://testnet.bkcscan.com\",apiUrl:\"https://testnet.bkcscan.com/api\"}},testnet:!0})});var exe,txe=x(()=>{u();T();exe=g({id:200901,name:\"Bitlayer Mainnet\",nativeCurrency:{name:\"BTC\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.bitlayer.org\"],webSocket:[\"wss://ws.bitlayer.org\"]}},blockExplorers:{default:{name:\"bitlayer mainnet scan\",url:\"https://www.btrscan.com\"}},contracts:{multicall3:{address:\"0x5B256fE9e993902eCe49D138a5b1162cBb529474\",blockCreated:2421963}}})});var rxe,nxe=x(()=>{u();T();rxe=g({id:200810,name:\"Bitlayer Testnet\",nativeCurrency:{name:\"BTC\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.bitlayer.org\"],webSocket:[\"wss://testnet-ws.bitlayer.org\"]}},blockExplorers:{default:{name:\"bitlayer testnet scan\",url:\"https://testnet.btrscan.com\"}},contracts:{multicall3:{address:\"0x5B256fE9e993902eCe49D138a5b1162cBb529474\",blockCreated:4135671}},testnet:!0})});var oxe,ixe=x(()=>{u();T();oxe=g({id:7171,name:\"Bitrock Mainnet\",nativeCurrency:{name:\"BROCK\",symbol:\"BROCK\",decimals:18},rpcUrls:{default:{http:[\"https://brockrpc.io\"]}},blockExplorers:{default:{name:\"Bitrock Explorer\",url:\"https://explorer.bit-rock.io\"}},testnet:!1})});var axe,sxe=x(()=>{u();T();axe=g({id:199,name:\"BitTorrent\",network:\"bittorrent-chain-mainnet\",nativeCurrency:{name:\"BitTorrent\",symbol:\"BTT\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.bittorrentchain.io\"]}},blockExplorers:{default:{name:\"Bttcscan\",url:\"https://bttcscan.com\",apiUrl:\"https://api.bttcscan.com/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:31078552}}})});var cxe,uxe=x(()=>{u();T();cxe=g({id:1028,name:\"BitTorrent Chain Testnet\",network:\"bittorrent-chain-testnet\",nativeCurrency:{name:\"BitTorrent\",symbol:\"BTT\",decimals:18},rpcUrls:{default:{http:[\"https://testrpc.bittorrentchain.io\"]}},blockExplorers:{default:{name:\"Bttcscan\",url:\"https://testnet.bttcscan.com\",apiUrl:\"https://testnet.bttcscan.com/api\"}},testnet:!0})});var gP,lxe,dxe=x(()=>{u();at();T();gP=1,lxe=g({...me,id:81457,name:\"Blast\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.blast.io\"]}},blockExplorers:{default:{name:\"Blastscan\",url:\"https://blastscan.io\",apiUrl:\"https://api.blastscan.io/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:212929},l2OutputOracle:{[gP]:{address:\"0x826D1B0D4111Ad9146Eb8941D7Ca2B6a44215c76\",blockCreated:19300358}},portal:{[gP]:{address:\"0x0Ec68c5B10F21EFFb74f2A5C61DFe6b08C0Db6Cb\",blockCreated:19300357}},l1StandardBridge:{[gP]:{address:\"0x697402166Fbf2F22E970df8a6486Ef171dbfc524\",blockCreated:19300360}}},sourceId:gP})});var Lyt,fxe,pxe=x(()=>{u();T();Lyt=11155111,fxe=g({id:168587773,name:\"Blast Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.blast.io\"]}},blockExplorers:{default:{name:\"Blastscan\",url:\"https://sepolia.blastscan.io\",apiUrl:\"https://api-sepolia.blastscan.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:756690}},testnet:!0,sourceId:Lyt})});var MV,mxe,hxe=x(()=>{u();at();T();MV=1,mxe=g({...me,id:60808,name:\"BOB\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.gobob.xyz\"],webSocket:[\"wss://rpc.gobob.xyz\"]}},blockExplorers:{default:{name:\"BOB Explorer\",url:\"https://explorer.gobob.xyz\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:23131},l2OutputOracle:{[MV]:{address:\"0xdDa53E23f8a32640b04D7256e651C1db98dB11C1\",blockCreated:4462615}},portal:{[MV]:{address:\"0x8AdeE124447435fE03e3CD24dF3f4cAE32E65a3E\",blockCreated:4462615}}},sourceId:MV})});var yxe,bxe=x(()=>{u();T();yxe=g({id:288,name:\"Boba Network\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://mainnet.boba.network\"]}},blockExplorers:{default:{name:\"BOBAScan\",url:\"https://bobascan.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:446859}}})});var gxe,xxe=x(()=>{u();T();gxe=g({id:28882,name:\"Boba Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.boba.network\"]}},blockExplorers:{default:{name:\"BOBAScan\",url:\"https://testnet.bobascan.com\"}},testnet:!0})});var DV,vxe,wxe=x(()=>{u();at();T();DV=11155111,vxe=g({...me,id:808813,name:\"BOB Sepolia\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://bob-sepolia.rpc.gobob.xyz\"],webSocket:[\"wss://bob-sepolia.rpc.gobob.xyz\"]}},blockExplorers:{default:{name:\"BOB Sepolia Explorer\",url:\"https://bob-sepolia.explorer.gobob.xyz\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:35677},l2OutputOracle:{[DV]:{address:\"0x14D0069452b4AE2b250B395b8adAb771E4267d2f\",blockCreated:4462615}},portal:{[DV]:{address:\"0x867B1Aa872b9C8cB5E9F7755feDC45BB24Ad0ae4\",blockCreated:4462615}}},testnet:!0,sourceId:DV})});var Exe,_xe=x(()=>{u();T();Exe=g({id:11100,name:\"Bool Beta Mainnet\",nativeCurrency:{decimals:18,name:\"BOL\",symbol:\"BOL\"},rpcUrls:{default:{http:[\"https://beta-rpc-node-http.bool.network\"]}},blockExplorers:{default:{name:\"BoolScan\",url:\"https://beta-mainnet.boolscan.com/\"}},testnet:!1})});var Sxe,Axe=x(()=>{u();T();Sxe=g({id:3637,name:\"Botanix\",nativeCurrency:{name:\"Bitcoin\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.botanixlabs.com\"],webSocket:[\"wss://rpc.botanixlabs.com/ws\"]}},blockExplorers:{default:{name:\"Botanixscan\",url:\"https://botanixscan.io\"}}})});var kxe,Cxe=x(()=>{u();T();kxe=g({id:3636,name:\"Botanix Testnet\",nativeCurrency:{name:\"Bitcoin\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://node.botanixlabs.dev\"]}},blockExplorers:{default:{name:\"Botanix Testnet Explorer\",url:\"https://testnet.botanixscan.io\"}},testnet:!0})});var Txe,Ixe=x(()=>{u();T();Txe=g({id:6001,name:\"BounceBit Mainnet\",nativeCurrency:{name:\"BounceBit\",symbol:\"BB\",decimals:18},rpcUrls:{default:{http:[\"https://fullnode-mainnet.bouncebitapi.com\"]}},blockExplorers:{default:{name:\"BB Scan\",url:\"https://bbscan.io\"}},testnet:!1})});var Pxe,Rxe=x(()=>{u();T();Pxe=g({id:6e3,name:\"BounceBit Testnet\",nativeCurrency:{name:\"BounceBit\",symbol:\"BB\",decimals:18},rpcUrls:{default:{http:[\"https://fullnode-testnet.bouncebitapi.com\"]}},blockExplorers:{default:{name:\"BB Scan\",url:\"https://testnet.bbscan.io\"}},testnet:!0})});var Oxe,Bxe=x(()=>{u();T();Oxe=g({id:1039,name:\"Bronos\",nativeCurrency:{decimals:18,name:\"BRO\",symbol:\"BRO\"},rpcUrls:{default:{http:[\"https://evm.bronos.org\"]}},blockExplorers:{default:{name:\"BronoScan\",url:\"https://broscan.bronos.org\"}}})});var Mxe,Dxe=x(()=>{u();T();Mxe=g({id:1038,name:\"Bronos Testnet\",nativeCurrency:{decimals:18,name:\"Bronos Coin\",symbol:\"tBRO\"},rpcUrls:{default:{http:[\"https://evm-testnet.bronos.org\"]}},blockExplorers:{default:{name:\"BronoScan\",url:\"https://tbroscan.bronos.org\"}},testnet:!0})});var Nxe,Uxe=x(()=>{u();T();Nxe=g({id:56,name:\"BNB Smart Chain\",blockTime:750,nativeCurrency:{decimals:18,name:\"BNB\",symbol:\"BNB\"},rpcUrls:{default:{http:[\"https://56.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"BscScan\",url:\"https://bscscan.com\",apiUrl:\"https://api.bscscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:15921452}}})});var $xe,zxe=x(()=>{u();T();$xe=g({id:1017,name:\"BNB Greenfield Chain\",nativeCurrency:{decimals:18,name:\"BNB\",symbol:\"BNB\"},rpcUrls:{default:{http:[\"https://greenfield-chain.bnbchain.org\"]}},blockExplorers:{default:{name:\"BNB Greenfield Mainnet Scan\",url:\"https://greenfieldscan.com\"}},testnet:!1})});var Lxe,Hxe=x(()=>{u();T();Lxe=g({id:97,name:\"BNB Smart Chain Testnet\",nativeCurrency:{decimals:18,name:\"BNB\",symbol:\"tBNB\"},rpcUrls:{default:{http:[\"https://data-seed-prebsc-1-s1.bnbchain.org:8545\"]}},blockExplorers:{default:{name:\"BscScan\",url:\"https://testnet.bscscan.com\",apiUrl:\"https://api-testnet.bscscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:17422483}},testnet:!0})});var jxe,Fxe=x(()=>{u();T();jxe=g({id:223,name:\"B2\",nativeCurrency:{name:\"Bitcoin\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.bsquared.network\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer.bsquared.network\"}}})});var Vxe,qxe=x(()=>{u();T();Vxe=g({id:1123,name:\"B2 Testnet\",nativeCurrency:{name:\"Bitcoin\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.bsquared.network\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://testnet-explorer.bsquared.network\"}},testnet:!0})});var Gxe,Kxe=x(()=>{u();T();Gxe=g({id:200901,name:\"Bitlayer\",nativeCurrency:{name:\"Bitcoin\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.bitlayer.org\",\"https://rpc.bitlayer-rpc.com\"],webSocket:[\"wss://ws.bitlayer.org\",\"wss://ws.bitlayer-rpc.com\"]}},blockExplorers:{default:{name:\"Bitlayer(BTR) Scan\",url:\"https://www.btrscan.com\"}}})});var Zxe,Wxe=x(()=>{u();T();Zxe=g({id:200810,name:\"Bitlayer Testnet\",nativeCurrency:{name:\"Bitcoin\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.bitlayer.org\"],webSocket:[\"wss://testnet-ws.bitlayer.org\",\"wss://testnet-ws.bitlayer-rpc.com\"]}},blockExplorers:{default:{name:\"Bitlayer(BTR) Scan\",url:\"https://testnet.btrscan.com\"}},testnet:!0})});var Jxe,Qxe=x(()=>{u();T();Jxe=g({id:4999,name:\"BlackFort Exchange Network\",nativeCurrency:{name:\"BlackFort Token\",symbol:\"BXN\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.blackfort.network/rpc\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.blackfort.network\",apiUrl:\"https://explorer.blackfort.network/api\"}}})});var Yxe,Xxe=x(()=>{u();T();Yxe=g({id:4777,name:\"BlackFort Exchange Network Testnet\",nativeCurrency:{name:\"BlackFort Testnet Token\",symbol:\"TBXN\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.blackfort.network/rpc\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://testnet-explorer.blackfort.network\",apiUrl:\"https://testnet-explorer.blackfort.network/api\"}},testnet:!0})});var eve,tve=x(()=>{u();T();eve=g({id:13370,name:\"Cannon\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"http://127.0.0.1:8545\"]}}})});var rve,nve=x(()=>{u();T();rve=g({id:7700,name:\"Canto\",nativeCurrency:{decimals:18,name:\"Canto\",symbol:\"CANTO\"},rpcUrls:{default:{http:[\"https://canto.gravitychain.io\"]}},blockExplorers:{default:{name:\"Tuber.Build (Blockscout)\",url:\"https://tuber.build\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:2905789}}})});async function Hyt(e,t){let r=await e.request({method:\"eth_gasPrice\",params:[t]});return BigInt(r)}async function jyt(e,t){let r=await e.request({method:\"eth_maxPriorityFeePerGas\",params:[t]});return BigInt(r)}var ove,ive=x(()=>{u();ove={estimateFeesPerGas:async e=>{if(!e.request?.feeCurrency)return null;let[t,r]=await Promise.all([Hyt(e.client,e.request.feeCurrency),jyt(e.client,e.request.feeCurrency)]);return{maxFeePerGas:e.multiply(t-r)+r,maxPriorityFeePerGas:r}}}});function NV(e){return e===0||e===0n||e===void 0||e===null||e===\"0\"||e===\"\"||typeof e==\"string\"&&(Bn(e).toLowerCase()===\"0x\"||Bn(e).toLowerCase()===\"0x00\")}function Wv(e){return!NV(e)}function Fyt(e){return typeof e.maxFeePerGas<\"u\"&&typeof e.maxPriorityFeePerGas<\"u\"}function xP(e){return e.type===\"cip64\"?!0:Fyt(e)&&Wv(e.feeCurrency)}var UV=x(()=>{u();Vf()});var ave,sve=x(()=>{u();Kn();cv();hd();hs();UV();ave={block:sv({format(e){return{transactions:e.transactions?.map(r=>typeof r==\"string\"?r:{...ic(r),...r.gatewayFee?{gatewayFee:it(r.gatewayFee),gatewayFeeRecipient:r.gatewayFeeRecipient}:{},feeCurrency:r.feeCurrency})}}}),transaction:fh({format(e){if(e.type===\"0x7e\")return{isSystemTx:e.isSystemTx,mint:e.mint?it(e.mint):void 0,sourceHash:e.sourceHash,type:\"deposit\"};let t={feeCurrency:e.feeCurrency};return e.type===\"0x7b\"?t.type=\"cip64\":(e.type===\"0x7c\"&&(t.type=\"cip42\"),t.gatewayFee=e.gatewayFee?it(e.gatewayFee):null,t.gatewayFeeRecipient=e.gatewayFeeRecipient),t}}),transactionRequest:ov({format(e){let t={};return e.feeCurrency&&(t.feeCurrency=e.feeCurrency),xP(e)&&(t.type=\"0x7b\"),t}})}});function Vyt(e,t){return xP(e)?qyt(e,t):RV(e,t)}function qyt(e,t){Kyt(e);let{chainId:r,gas:n,nonce:o,to:i,value:c,maxFeePerGas:l,maxPriorityFeePerGas:f,accessList:p,feeCurrency:h,data:y}=e,w=[rt(r),o?rt(o):\"0x\",f?rt(f):\"0x\",l?rt(l):\"0x\",n?rt(n):\"0x\",i??\"0x\",c?rt(c):\"0x\",y??\"0x\",bb(p),h,..._h(e,t)];return Cn([\"0x7b\",ka(w)])}function Kyt(e){let{chainId:t,maxPriorityFeePerGas:r,gasPrice:n,maxFeePerGas:o,to:i,feeCurrency:c}=e;if(t<=0)throw new Qu({chainId:t});if(i&&!Et(i))throw new vr({address:i});if(n)throw new oe(\"`gasPrice` is not a valid CIP-64 Transaction attribute.\");if(Wv(o)&&o>Gyt)throw new ps({maxFeePerGas:o});if(Wv(r)&&Wv(o)&&r>o)throw new Hc({maxFeePerGas:o,maxPriorityFeePerGas:r});if(Wv(c)&&!Et(c))throw new oe(\"`feeCurrency` MUST be a token address for CIP-64 transactions.\");if(NV(c))throw new oe(\"`feeCurrency` must be provided for CIP-64 transactions.\")}var cve,Gyt,uve=x(()=>{u();cb();Xs();ht();db();up();OV();Ki();Zn();ot();Wx();OF();Bv();UV();cve={transaction:Vyt};Gyt=ys});var Ph,vP=x(()=>{u();PV();ive();sve();uve();Ph={blockTime:1e3,contracts:pP,formatters:ave,serializers:cve,fees:ove}});var lve,dve=x(()=>{u();vP();T();lve=g({...Ph,id:42220,name:\"Celo\",nativeCurrency:{decimals:18,name:\"CELO\",symbol:\"CELO\"},rpcUrls:{default:{http:[\"https://forno.celo.org\"]}},blockExplorers:{default:{name:\"Celo Explorer\",url:\"https://celoscan.io\",apiUrl:\"https://api.celoscan.io/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:13112599}},testnet:!1})});var wP,fve,pve=x(()=>{u();vP();T();wP=17e3,fve=g({...Ph,id:44787,name:\"Alfajores\",nativeCurrency:{decimals:18,name:\"CELO\",symbol:\"A-CELO\"},rpcUrls:{default:{http:[\"https://alfajores-forno.celo-testnet.org\"]}},blockExplorers:{default:{name:\"Celo Alfajores Explorer\",url:\"https://celo-alfajores.blockscout.com\",apiUrl:\"https://celo-alfajores.blockscout.com/api\"}},contracts:{...Ph.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:14569001},portal:{[wP]:{address:\"0x82527353927d8D069b3B452904c942dA149BA381\",blockCreated:2411324}},disputeGameFactory:{[wP]:{address:\"0xE28AAdcd9883746c0e5068F58f9ea06027b214cb\",blockCreated:2411324}},l2OutputOracle:{[wP]:{address:\"0x4a2635e9e4f6e45817b1D402ac4904c1d1752438\",blockCreated:2411324}},l1StandardBridge:{[wP]:{address:\"0xD1B0E0581973c9eB7f886967A606b9441A897037\",blockCreated:2411324}}},testnet:!0})});var $V,mve,hve=x(()=>{u();vP();T();$V=11155111,mve=g({...Ph,id:11142220,name:\"Celo Sepolia Testnet\",nativeCurrency:{decimals:18,name:\"CELO\",symbol:\"S-CELO\"},rpcUrls:{default:{http:[\"https://forno.celo-sepolia.celo-testnet.org\"]}},blockExplorers:{default:{name:\"Celo Sepolia Explorer\",url:\"https://celo-sepolia.blockscout.com/\",apiUrl:\"https://celo-sepolia.blockscout.com/api\"}},contracts:{...Ph.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1},portal:{[$V]:{address:\"0x44ae3d41a335a7d05eb533029917aad35662dcc2\",blockCreated:8825790}},disputeGameFactory:{[$V]:{address:\"0x57c45d82d1a995f1e135b8d7edc0a6bb5211cfaa\",blockCreated:8825790}},l1StandardBridge:{[$V]:{address:\"0xec18a3c30131a0db4246e785355fbc16e2eaf408\",blockCreated:8825790}}},testnet:!0})});var yve,bve=x(()=>{u();T();yve=g({id:5858,name:\"Chang Chain Foundation Mainnet\",nativeCurrency:{decimals:18,name:\"CTH\",symbol:\"CTH\"},rpcUrls:{default:{http:[\"https://rpc.cthscan.com\"]}},blockExplorers:{default:{name:\"Chang Chain explorer\",url:\"https://cthscan.com\"}}})});var gve,xve=x(()=>{u();T();gve=g({id:88888,name:\"Chiliz Chain\",network:\"chiliz-chain\",nativeCurrency:{decimals:18,name:\"CHZ\",symbol:\"CHZ\"},rpcUrls:{default:{http:[\"https://rpc.chiliz.com\"]}},blockExplorers:{default:{name:\"Chiliz Explorer\",url:\"https://scan.chiliz.com\",apiUrl:\"https://scan.chiliz.com/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:8080847}}})});var vve,wve=x(()=>{u();T();vve=g({id:2882,name:\"Chips Network\",network:\"CHIPS\",nativeCurrency:{decimals:18,name:\"IOTA\",symbol:\"IOTA\"},rpcUrls:{default:{http:[\"https://node.chips.ooo/wasp/api/v1/chains/iota1pp3d3mnap3ufmgqnjsnw344sqmf5svjh26y2khnmc89sv6788y3r207a8fn/evm\"]}}})});var Eve,_ve=x(()=>{u();T();Eve=g({id:4114,name:\"Citrea Mainnet\",nativeCurrency:{name:\"Citrea Bitcoin\",symbol:\"cBTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mainnet.citrea.xyz\"]}},blockExplorers:{default:{name:\"Citrea Explorer\",url:\"https://explorer.mainnet.citrea.xyz\",apiUrl:\"https://explorer.mainnet.citrea.xyz/api\"}},testnet:!1})});var Sve,Ave=x(()=>{u();T();Sve=g({id:5115,name:\"Citrea Testnet\",nativeCurrency:{name:\"cBTC\",symbol:\"cBTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.citrea.xyz\"]}},blockExplorers:{default:{name:\"Citrea Explorer\",url:\"https://explorer.testnet.citrea.xyz\",apiUrl:\"https://explorer.testnet.citrea.xyz/api\"}},testnet:!0})});var kve,Cve=x(()=>{u();T();kve=g({id:61,name:\"Ethereum Classic\",nativeCurrency:{decimals:18,name:\"ETC\",symbol:\"ETC\"},rpcUrls:{default:{http:[\"https://etc.rivet.link\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://blockscout.com/etc/mainnet\"}}})});var EP,Tve,Ive=x(()=>{u();at();T();EP=1,Tve=g({...me,id:81224,name:\"Codex\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.codex.xyz\"]}},blockExplorers:{default:{name:\"Codex Explorer\",url:\"https://explorer.codex.xyz\",apiUrl:\"https://explorer.codex.xyz/api\"}},contracts:{...me.contracts,disputeGameFactory:{[EP]:{address:\"0x6A3855dc26e2beA8Ac73f82Cda79f3808B6C6F6C\"}},portal:{[EP]:{address:\"0x52759C07A759c81BAab28AE1BE5A19e6450959bD\"}},l1StandardBridge:{[EP]:{address:\"0xa6b1A05a592719B0C8a70c69eac114C48410aDE4\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"}},sourceId:EP})});var _P,Pve,Rve=x(()=>{u();at();T();_P=11155111,Pve=g({...me,id:812242,name:\"Codex Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.codex-stg.xyz\"]}},blockExplorers:{default:{name:\"Codex Testnet Explorer\",url:\"https://explorer.codex-stg.xyz\",apiUrl:\"https://explorer.codex-stg.xyz/api\"}},contracts:{...me.contracts,disputeGameFactory:{[_P]:{address:\"0x390e24E8324E56f13A8d48eB938b6f9De24CD205\"}},portal:{[_P]:{address:\"0x037F161D12c829A9ca4742eEd9371830CA54fcB2\"}},l1StandardBridge:{[_P]:{address:\"0xCf4df2bDB14C8FDB25FdacCEC10Ce5C4bAEDB3De\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"}},sourceId:_P,testnet:!0})});var Ove,Bve=x(()=>{u();T();Ove=g({id:112,name:\"Coinbit Mainnet\",nativeCurrency:{name:\"GIDR\",symbol:\"GIDR\",decimals:18},rpcUrls:{default:{http:[\"https://coinbit-rpc-mainnet.chain.sbcrypto.app\"]}},blockExplorers:{default:{name:\"Coinbit Explorer\",url:\"https://coinbit-explorer.chain.sbcrypto.app\"}},testnet:!1})});var Mve,Dve=x(()=>{u();T();Mve=g({id:52,name:\"CoinEx Mainnet\",nativeCurrency:{name:\"cet\",symbol:\"cet\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.coinex.net\"]}},blockExplorers:{default:{name:\"CoinEx Explorer\",url:\"https://www.coinex.net\"}},testnet:!1})});var Nve,Uve=x(()=>{u();T();Nve=g({id:1030,name:\"Conflux eSpace\",nativeCurrency:{name:\"Conflux\",symbol:\"CFX\",decimals:18},rpcUrls:{default:{http:[\"https://evm.confluxrpc.com\"],webSocket:[\"wss://evm.confluxrpc.com/ws\"]}},blockExplorers:{default:{name:\"ConfluxScan\",url:\"https://evm.confluxscan.org\"}},contracts:{multicall3:{address:\"0xEFf0078910f638cd81996cc117bccD3eDf2B072F\",blockCreated:68602935}}})});var $ve,zve=x(()=>{u();T();$ve=g({id:71,name:\"Conflux eSpace Testnet\",network:\"cfx-espace-testnet\",testnet:!0,nativeCurrency:{name:\"Conflux\",symbol:\"CFX\",decimals:18},rpcUrls:{default:{http:[\"https://evmtestnet.confluxrpc.com\"],webSocket:[\"wss://evmtestnet.confluxrpc.com/ws\"]}},blockExplorers:{default:{name:\"ConfluxScan\",url:\"https://evmtestnet.confluxscan.org\"}},contracts:{multicall3:{address:\"0xEFf0078910f638cd81996cc117bccD3eDf2B072F\",blockCreated:117499050}}})});var Lve,Hve=x(()=>{u();T();Lve=g({id:1116,name:\"Core Dao\",nativeCurrency:{decimals:18,name:\"Core\",symbol:\"CORE\"},rpcUrls:{default:{http:[\"https://rpc.coredao.org\"]}},blockExplorers:{default:{name:\"CoreDao\",url:\"https://scan.coredao.org\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:11907934}},testnet:!1})});var jve,Fve=x(()=>{u();T();jve=g({id:1115,name:\"Core Testnet\",nativeCurrency:{decimals:18,name:\"tCore\",symbol:\"TCORE\"},rpcUrls:{default:{http:[\"https://rpc.test.btcs.network\"]}},blockExplorers:{default:{name:\"Core Testnet\",url:\"https://scan.test.btcs.network\",apiUrl:\"https://api.test.btcs.network/api\"}},contracts:{multicall3:{address:\"0xCcddF20A1932537123C2E48Bd8e00b108B8f7569\",blockCreated:29350509}},testnet:!0})});var Vve,qve=x(()=>{u();T();Vve=g({id:1114,name:\"Core Testnet2\",nativeCurrency:{decimals:18,name:\"tCore2\",symbol:\"TCORE2\"},rpcUrls:{default:{http:[\"https://rpc.test2.btcs.network\"]}},blockExplorers:{default:{name:\"Core Testnet2\",url:\"https://scan.test2.btcs.network\",apiUrl:\"https://api.test2.btcs.network/api\"}},contracts:{multicall3:{address:\"0x3CB285ff3Cd5C7C7e570b1E7DE3De17A0f985e56\",blockCreated:3838600}},testnet:!0})});var Zyt,Gve,Kve=x(()=>{u();T();Zyt=1,Gve=g({id:21e6,name:\"Corn\",nativeCurrency:{decimals:18,name:\"Bitcorn\",symbol:\"BTCN\"},rpcUrls:{default:{http:[\"https://21000000.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"Corn Explorer\",url:\"https://cornscan.io\",apiUrl:\"https://api.routescan.io/v2/network/mainnet/evm/21000000/etherscan/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3228}},sourceId:Zyt})});var Wyt,Zve,Wve=x(()=>{u();T();Wyt=11155111,Zve=g({id:21000001,name:\"Corn Testnet\",nativeCurrency:{decimals:18,name:\"Bitcorn\",symbol:\"BTCN\"},rpcUrls:{default:{http:[\"https://21000001.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"Corn Testnet Explorer\",url:\"https://testnet.cornscan.io\",apiUrl:\"https://api.routescan.io/v2/network/testnet/evm/21000001/etherscan/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:4886}},testnet:!0,sourceId:Wyt})});var Jve,Qve=x(()=>{u();T();Jve=g({id:86608,name:\"CpChain\",nativeCurrency:{decimals:18,name:\"CpChain\",symbol:\"CP\"},rpcUrls:{default:{http:[\"https://rpc.cpchain.com\"]}},blockExplorers:{default:{name:\"CpChain Explorer\",url:\"https://explorer.cpchain.com\"}},testnet:!1})});var Yve,Xve=x(()=>{u();T();Yve=g({id:44,name:\"Crab Network\",nativeCurrency:{decimals:18,name:\"Crab Network Native Token\",symbol:\"CRAB\"},rpcUrls:{default:{http:[\"https://crab-rpc.darwinia.network\"],webSocket:[\"wss://crab-rpc.darwinia.network\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://crab-scan.darwinia.network\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:3032593}}})});var ewe,twe=x(()=>{u();T();ewe=g({id:66665,name:\"Creator\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.creatorchain.io\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://explorer.creatorchain.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"}},testnet:!0})});var rwe,nwe=x(()=>{u();T();rwe=g({id:102032,name:\"Creditcoin Devnet\",nativeCurrency:{name:\"Devnet CTC\",symbol:\"devCTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.cc3-devnet.creditcoin.network\"],webSocket:[\"wss://rpc.cc3-devnet.creditcoin.network/ws\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://creditcoin-devnet.blockscout.com\",apiUrl:\"https://creditcoin3-dev.subscan.io\"}},testnet:!0})});var owe,iwe=x(()=>{u();T();owe=g({id:102030,name:\"Creditcoin\",nativeCurrency:{name:\"Creditcoin\",symbol:\"CTC\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet3.creditcoin.network\"],webSocket:[\"wss://mainnet3.creditcoin.network\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://creditcoin.blockscout.com\",apiUrl:\"https://creditcoin.blockscout.com/api\"}},testnet:!1})});var awe,swe=x(()=>{u();T();awe=g({id:102031,name:\"Creditcoin Testnet\",nativeCurrency:{name:\"Creditcoin Testnet\",symbol:\"tCTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.cc3-testnet.creditcoin.network\"],webSocket:[\"wss://rpc.cc3-testnet.creditcoin.network\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://creditcoin-testnet.blockscout.com\",apiUrl:\"https://creditcoin-testnet.blockscout.com/api\"}},testnet:!0})});var cwe,uwe=x(()=>{u();T();cwe=g({id:25,name:\"Cronos Mainnet\",nativeCurrency:{decimals:18,name:\"Cronos\",symbol:\"CRO\"},rpcUrls:{default:{http:[\"https://evm.cronos.org\"]}},blockExplorers:{default:{name:\"Cronos Explorer\",url:\"https://explorer.cronos.org\",apiUrl:\"https://explorer-api.cronos.org/mainnet/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1963112}}})});var lwe,dwe=x(()=>{u();T();lwe=g({id:338,name:\"Cronos Testnet\",nativeCurrency:{decimals:18,name:\"CRO\",symbol:\"tCRO\"},rpcUrls:{default:{http:[\"https://evm-t3.cronos.org\"]}},blockExplorers:{default:{name:\"Cronos Explorer (Testnet)\",url:\"https://explorer.cronos.org/testnet\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:10191251}},testnet:!0})});var fwe,pwe=x(()=>{u();T();fwe=g({id:388,name:\"Cronos zkEVM Mainnet\",nativeCurrency:{decimals:18,name:\"Cronos zkEVM CRO\",symbol:\"zkCRO\"},rpcUrls:{default:{http:[\"https://mainnet.zkevm.cronos.org\"]}},blockExplorers:{default:{name:\"Cronos zkEVM (Mainnet) Chain Explorer\",url:\"https://explorer.zkevm.cronos.org\"}},contracts:{multicall3:{address:\"0x06f4487d7c4a5983d2660db965cc6d2565e4cfaa\",blockCreated:72}}})});var mwe,hwe=x(()=>{u();T();mwe=g({id:282,name:\"Cronos zkEVM Testnet\",nativeCurrency:{decimals:18,name:\"Cronos zkEVM Test Coin\",symbol:\"zkTCRO\"},rpcUrls:{default:{http:[\"https://testnet.zkevm.cronos.org\"]}},blockExplorers:{default:{name:\"Cronos zkEVM Testnet Explorer\",url:\"https://explorer.zkevm.cronos.org/testnet\"}},testnet:!0})});var ywe,bwe=x(()=>{u();T();ywe=g({id:3737,name:\"Crossbell\",nativeCurrency:{decimals:18,name:\"CSB\",symbol:\"CSB\"},rpcUrls:{default:{http:[\"https://rpc.crossbell.io\"]}},blockExplorers:{default:{name:\"CrossScan\",url:\"https://scan.crossbell.io\",apiUrl:\"https://scan.crossbell.io/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:38246031}}})});var gwe,xwe=x(()=>{u();T();gwe=g({id:4158,name:\"CrossFi Mainnet\",nativeCurrency:{decimals:18,name:\"CrossFi\",symbol:\"XFI\"},rpcUrls:{default:{http:[\"https://rpc.mainnet.ms\"]}},blockExplorers:{default:{name:\"CrossFi Blockchain Explorer\",url:\"https://xfiscan.com\"}},testnet:!1})});var vwe,wwe=x(()=>{u();T();vwe=g({id:33111,name:\"Curtis\",nativeCurrency:{name:\"ApeCoin\",symbol:\"APE\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.curtis.apechain.com\"]}},blockExplorers:{default:{name:\"Curtis Explorer\",url:\"https://explorer.curtis.apechain.com\"}},testnet:!0})});var Ewe,_we=x(()=>{u();T();Ewe=g({id:7560,name:\"Cyber\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://cyber.alt.technology\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://cyberscan.co\",apiUrl:\"https://cyberscan.co/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}}})});var Swe,Awe=x(()=>{u();T();Swe=g({id:111557560,name:\"Cyber Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://cyber-testnet.alt.technology\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://testnet.cyberscan.co\",apiUrl:\"https://testnet.cyberscan.co/api\"}},contracts:{multicall3:{address:\"0xffc391F0018269d4758AEA1a144772E8FB99545E\",blockCreated:304545}},testnet:!0})});var kwe,Cwe=x(()=>{u();T();kwe=g({id:824,name:\"Daily Network Mainnet\",nativeCurrency:{decimals:18,name:\"Daily\",symbol:\"DLY\"},rpcUrls:{default:{http:[\"https://rpc.mainnet.dailycrypto.net\"]}},blockExplorers:{default:{name:\"Daily Mainnet Explorer\",url:\"https://explorer.mainnet.dailycrypto.net\"}},testnet:!1})});var Twe,Iwe=x(()=>{u();T();Twe=g({id:825,name:\"Daily Network Testnet\",nativeCurrency:{decimals:18,name:\"Daily\",symbol:\"DLY\"},rpcUrls:{default:{http:[\"https://rpc.testnet.dailycrypto.net\"]}},blockExplorers:{default:{name:\"Daily Testnet Explorer\",url:\"https://explorer.testnet.dailycrypto.net\"}},testnet:!0})});var Pwe,Rwe=x(()=>{u();T();Pwe=g({id:46,name:\"Darwinia Network\",nativeCurrency:{decimals:18,name:\"RING\",symbol:\"RING\"},rpcUrls:{default:{http:[\"https://rpc.darwinia.network\"],webSocket:[\"wss://rpc.darwinia.network\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://explorer.darwinia.network\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:69420}}})});var Owe,Bwe=x(()=>{u();T();Owe=g({id:55931,name:\"Datahaven Testnet\",nativeCurrency:{decimals:18,name:\"MOCK\",symbol:\"MOCK\"},rpcUrls:{default:{http:[\"https://services.datahaven-testnet.network/testnet\"],webSocket:[\"wss://services.datahaven-testnet.network/testnet\"]}},blockExplorers:{default:{name:\"DhScan\",url:\"https://testnet.dhscan.io/\",apiUrl:\"https://testnet.dhscan.io/api-docs\"}},contracts:{},testnet:!0})});var Mwe,Dwe=x(()=>{u();T();Mwe=g({id:20240603,name:\"DBK chain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mainnet.dbkchain.io\"]}},blockExplorers:{default:{name:\"DBK Chain Explorer\",url:\"https://scan.dbkchain.io\"}},testnet:!1})});var Nwe,Uwe=x(()=>{u();at();T();Nwe=g({...me,id:2716446429837e3,name:\"Dchain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://dchain-2716446429837000-1.jsonrpc.sagarpc.io\"]}},blockExplorers:{default:{name:\"Dchain Explorer\",url:\"https://dchain-2716446429837000-1.sagaexplorer.io\",apiUrl:\"https://api-dchain-2716446429837000-1.sagaexplorer.io/api\"}},contracts:{...me.contracts}})});var $we,zwe=x(()=>{u();at();T();$we=g({...me,id:2713017997578e3,name:\"Dchain Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io\"]}},blockExplorers:{default:{name:\"Dchain Explorer\",url:\"https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io\",apiUrl:\"https://api-dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io/api\"}},contracts:{...me.contracts},testnet:!0})});var Lwe,Hwe=x(()=>{u();T();Lwe=g({id:1130,network:\"defichain-evm\",name:\"DeFiChain EVM Mainnet\",nativeCurrency:{name:\"DeFiChain\",symbol:\"DFI\",decimals:18},rpcUrls:{default:{http:[\"https://eth.mainnet.ocean.jellyfishsdk.com\"]}},blockExplorers:{default:{name:\"DeFiScan\",url:\"https://meta.defiscan.live\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:137852}}})});var jwe,Fwe=x(()=>{u();T();jwe=g({id:1131,network:\"defichain-evm-testnet\",name:\"DeFiChain EVM Testnet\",nativeCurrency:{name:\"DeFiChain\",symbol:\"DFI\",decimals:18},rpcUrls:{default:{http:[\"https://eth.testnet.ocean.jellyfishsdk.com\"]}},blockExplorers:{default:{name:\"DeFiScan\",url:\"https://meta.defiscan.live/?network=TestNet\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:156462}},testnet:!0})});var Vwe,qwe=x(()=>{u();T();Vwe=g({id:666666666,name:\"Degen\",nativeCurrency:{decimals:18,name:\"Degen\",symbol:\"DEGEN\"},rpcUrls:{default:{http:[\"https://rpc.degen.tips\"],webSocket:[\"wss://rpc.degen.tips\"]}},blockExplorers:{default:{name:\"Degen Chain Explorer\",url:\"https://explorer.degen.tips\",apiUrl:\"https://explorer.degen.tips/api/v2\"}}})});var Gwe,Kwe=x(()=>{u();T();Gwe=g({id:53935,name:\"DFK Chain\",nativeCurrency:{decimals:18,name:\"Jewel\",symbol:\"JEWEL\"},rpcUrls:{default:{http:[\"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc\"]}},blockExplorers:{default:{name:\"DFKSubnetScan\",url:\"https://subnets.avax.network/defi-kingdoms\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:14790551}}})});var Zwe,Wwe=x(()=>{u();T();Zwe=g({id:15,name:\"Diode Prenet\",nativeCurrency:{decimals:18,name:\"DIODE\",symbol:\"DIODE\"},rpcUrls:{default:{http:[\"https://prenet.diode.io:8443\"],webSocket:[\"wss://prenet.diode.io:8443/ws\"]}},blockExplorers:{default:{name:\"Diode Explorer\",url:\"https://diode.io/prenet\"}},testnet:!1})});var Jwe,Qwe=x(()=>{u();T();Jwe=g({id:513100,name:\"DisChain\",nativeCurrency:{decimals:18,name:\"DIS\",symbol:\"DIS\"},rpcUrls:{default:{http:[\"https://rpc.dischain.xyz\"]}},blockExplorers:{default:{name:\"DisChain Explorer\",url:\"https://www.oklink.com/dis\"}}})});var Ywe,Xwe=x(()=>{u();T();Ywe=g({id:53457,name:\"DODOchain Testnet\",nativeCurrency:{decimals:18,name:\"DODO\",symbol:\"DODO\"},rpcUrls:{default:{http:[\"https://dodochain-testnet.alt.technology\"],webSocket:[\"wss://dodochain-testnet.alt.technology/ws\"]}},blockExplorers:{default:{name:\"DODOchain Testnet (Sepolia) Explorer\",url:\"https://testnet-scan.dodochain.com\"}},testnet:!0})});var e2e,t2e=x(()=>{u();T();e2e=g({id:2e3,name:\"Dogechain\",nativeCurrency:{decimals:18,name:\"Wrapped Dogecoin\",symbol:\"WDOGE\"},rpcUrls:{default:{http:[\"https://rpc.dogechain.dog\"]}},blockExplorers:{default:{name:\"DogeChainExplorer\",url:\"https://explorer.dogechain.dog\",apiUrl:\"https://explorer.dogechain.dog/api\"}},contracts:{multicall3:{address:\"0x68a8609a60a008EFA633dfdec592c03B030cC508\",blockCreated:25384031}}})});var r2e,n2e=x(()=>{u();T();r2e=g({id:97476,name:\"Doma Testnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc-testnet.doma.xyz\"]}},blockExplorers:{default:{name:\"Doma Testnet Explorer\",url:\"https://explorer-testnet.doma.xyz\"}},testnet:!0})});var o2e,i2e=x(()=>{u();T();o2e=g({id:42026,name:\"Donatuz\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.donatuz.com\"]}},blockExplorers:{default:{name:\"Donatuz Explorer\",url:\"https://explorer.donatuz.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0}}})});var a2e,s2e=x(()=>{u();T();a2e=g({id:7979,name:\"DOS Chain\",nativeCurrency:{decimals:18,name:\"DOS Chain\",symbol:\"DOS\"},rpcUrls:{default:{http:[\"https://main.doschain.com\"]}},blockExplorers:{default:{name:\"DOS Chain Explorer\",url:\"https://doscan.io\",apiUrl:\"https://api.doscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:161908}}})});var c2e,u2e=x(()=>{u();T();c2e=g({id:3939,name:\"DOS Chain Testnet\",nativeCurrency:{decimals:18,name:\"DOS Chain Testnet\",symbol:\"DOS\"},rpcUrls:{default:{http:[\"https://test.doschain.com\"]}},blockExplorers:{default:{name:\"DOS Chain Testnet Explorer\",url:\"https://test.doscan.io\",apiUrl:\"https://api-test.doscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:69623}},testnet:!0})});var l2e,d2e=x(()=>{u();T();l2e=g({id:23451,name:\"DreyerX Mainnet\",nativeCurrency:{name:\"DreyerX\",symbol:\"DRX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.dreyerx.com\"]}},blockExplorers:{default:{name:\"DreyerX Scan\",url:\"https://scan.dreyerx.com\"}}})});var zV=x(()=>{u();T()});var f2e,p2e=x(()=>{u();zV();f2e=g({id:23452,name:\"DreyerX Testnet\",nativeCurrency:{name:\"DreyerX\",symbol:\"DRX\",decimals:18},rpcUrls:{default:{http:[\"http://testnet-rpc.dreyerx.com\"]}},blockExplorers:{default:{name:\"DreyerX Testnet Scan\",url:\"https://testnet-scan.dreyerx.com\"}},testnet:!0})});var m2e,h2e=x(()=>{u();T();m2e=g({id:555888,name:\"DustBoy IoT\",nativeCurrency:{name:\"Ether\",symbol:\"DST\",decimals:18},rpcUrls:{default:{http:[\"https://dustboy-rpc.jibl2.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://dustboy.jibl2.com\",apiUrl:\"https://dustboy.jibl2.com/api\"}},contracts:{multicall3:{address:\"0xFFD34aa2C62B2D52E00A361e466C229788f4eD6a\",blockCreated:526569}},testnet:!1})});var y2e,b2e=x(()=>{u();zV();y2e=g({id:1100,name:\"Dymension\",nativeCurrency:{name:\"DYM\",symbol:\"DYM\",decimals:18},rpcUrls:{default:{http:[\"https://dymension-evm-rpc.publicnode.com\"],webSocket:[\"wss://dymension-evm-rpc.publicnode.com\"]}},blockExplorers:{default:{name:\"Dym FYI\",url:\"https://dym.fyi\"}},testnet:!1})});var g2e,x2e=x(()=>{u();T();g2e=g({id:714,name:\"Eden\",nativeCurrency:{name:\"TIA\",symbol:\"TIA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.eden.gateway.fm\"]}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://eden.blockscout.com\",apiUrl:\"https://eden.blockscout.com/api\"}}})});var v2e,w2e=x(()=>{u();T();v2e=g({id:5424,name:\"edeXa\",nativeCurrency:{name:\"edeXa\",symbol:\"EDX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.edexa.network\"]}},blockExplorers:{default:{name:\"edeXa Explorer\",url:\"https://explorer.edexa.network\",apiUrl:\"https://explorer.edexa.network/api/v2\"}}})});var E2e,_2e=x(()=>{u();T();E2e=g({id:1995,name:\"edeXa Testnet\",nativeCurrency:{name:\"edeXa\",symbol:\"tEDX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.edexa.network\"]}},blockExplorers:{default:{name:\"edeXa Testnet Explorer\",url:\"https://explorer.testnet.edexa.network\",apiUrl:\"https://explorer.testnet.edexa.network/api/v2\"}},testnet:!0})});var S2e,A2e=x(()=>{u();T();S2e=g({id:2026,name:\"Edgeless Network\",nativeCurrency:{name:\"Edgeless Wrapped ETH\",symbol:\"EwETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.edgeless.network/http\"],webSocket:[\"wss://rpc.edgeless.network/ws\"]}},blockExplorers:{default:{name:\"Edgeless Explorer\",url:\"https://explorer.edgeless.network\"}}})});var k2e,C2e=x(()=>{u();T();k2e=g({id:202,name:\"Edgeless Testnet\",nativeCurrency:{name:\"Edgeless Wrapped ETH\",symbol:\"EwETH\",decimals:18},rpcUrls:{default:{http:[\"https://edgeless-testnet.rpc.caldera.xyz/http\"],webSocket:[\"wss://edgeless-testnet.rpc.caldera.xyz/ws\"]}},blockExplorers:{default:{name:\"Edgeless Testnet Explorer\",url:\"https://testnet.explorer.edgeless.network\"}},testnet:!0})});var T2e,I2e=x(()=>{u();T();T2e=g({id:2021,name:\"Edgeware EdgeEVM Mainnet\",nativeCurrency:{decimals:18,name:\"Edgeware\",symbol:\"EDG\"},rpcUrls:{default:{http:[\"https://edgeware-evm.jelliedowl.net\"]}},blockExplorers:{default:{name:\"Edgscan by Bharathcoorg\",url:\"https://edgscan.live\",apiUrl:\"https://edgscan.live/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:18117872}}})});var P2e,R2e=x(()=>{u();T();P2e=g({id:2022,name:\"Beresheet BereEVM Testnet\",nativeCurrency:{decimals:18,name:\"Testnet EDG\",symbol:\"tEDG\"},rpcUrls:{default:{http:[\"https://beresheet-evm.jelliedowl.net\"]}},blockExplorers:{default:{name:\"Edgscan by Bharathcoorg\",url:\"https://testnet.edgscan.live\",apiUrl:\"https://testnet.edgscan.live/api\"}},testnet:!0})});var O2e,B2e=x(()=>{u();T();O2e=g({id:41923,name:\"EDU Chain\",nativeCurrency:{decimals:18,name:\"EDU\",symbol:\"EDU\"},rpcUrls:{default:{http:[\"https://rpc.edu-chain.raas.gelato.cloud\"]}},blockExplorers:{default:{name:\"EDU Chain Explorer\",url:\"https://educhain.blockscout.com/\"}},testnet:!1})});var M2e,D2e=x(()=>{u();T();M2e=g({id:656476,name:\"EDU Chain Testnet\",nativeCurrency:{decimals:18,name:\"EDU\",symbol:\"EDU\"},rpcUrls:{default:{http:[\"https://rpc.open-campus-codex.gelato.digital/\"],webSocket:[\"wss://ws.open-campus-codex.gelato.digital\"]}},blockExplorers:{default:{name:\"EDU Chain Testnet Explorer\",url:\"https://opencampus-codex.blockscout.com\",apiUrl:\"https://opencampus-codex.blockscout.com/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:15514133}},testnet:!0})});var N2e,U2e=x(()=>{u();T();N2e=g({id:20,name:\"Elastos Smart Chain\",nativeCurrency:{name:\"ELA\",symbol:\"ELA\",decimals:18},rpcUrls:{default:{http:[\"https://api2.elastos.io/eth\"]}},blockExplorers:{default:{name:\"Elastos Explorer\",url:\"https://esc.elastos.io\"}},testnet:!1})});var $2e,z2e=x(()=>{u();T();$2e=g({id:21,name:\"Elastos Smart Chain Testnet\",nativeCurrency:{name:\"tELA\",symbol:\"tELA\",decimals:18},rpcUrls:{default:{http:[\"https://api-testnet.elastos.io/eth\"]}},blockExplorers:{default:{name:\"Elastos Explorer\",url:\"https://esc-testnet.elastos.io\"}},testnet:!0})});var L2e,H2e=x(()=>{u();T();L2e=g({id:52014,name:\"Electroneum Mainnet\",nativeCurrency:{name:\"ETN\",symbol:\"ETN\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.electroneum.com\"]}},blockExplorers:{default:{name:\"Electroneum Block Explorer\",url:\"https://blockexplorer.electroneum.com\"}},testnet:!1})});var j2e,F2e=x(()=>{u();T();j2e=g({id:5201420,name:\"Electroneum Testnet\",nativeCurrency:{name:\"ETN\",symbol:\"ETN\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.electroneum.com\"]}},blockExplorers:{default:{name:\"Electroneum Block Explorer\",url:\"https://blockexplorer.thesecurityteam.rocks\"}},testnet:!0})});var V2e,q2e=x(()=>{u();at();T();V2e=g({...me,id:1338,name:\"Elysium Testnet\",nativeCurrency:{decimals:18,name:\"LAVA\",symbol:\"LAVA\"},rpcUrls:{default:{http:[\"https://elysium-test-rpc.vulcanforged.com\"]}},blockExplorers:{default:{name:\"Elysium testnet explorer\",url:\"https://elysium-explorer.vulcanforged.com\"}},testnet:!0})});var G2e,K2e=x(()=>{u();T();G2e=g({id:246,name:\"Energy Mainnet\",nativeCurrency:{name:\"EWT\",symbol:\"EWT\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.energyweb.org\"]}},blockExplorers:{default:{name:\"EnergyWeb Explorer\",url:\"https://explorer.energyweb.org\"}},testnet:!1})});var Z2e,W2e=x(()=>{u();T();Z2e=g({id:173,name:\"ENI Mainnet\",nativeCurrency:{decimals:18,name:\"ENI\",symbol:\"ENI\"},rpcUrls:{default:{http:[\"https://rpc.eniac.network\"]}},blockExplorers:{default:{name:\"ENI Explorer\",url:\"https://scan.eniac.network\"}},testnet:!1})});var J2e,Q2e=x(()=>{u();T();J2e=g({id:6912115,name:\"ENI Testnet\",nativeCurrency:{decimals:18,name:\"ENI Testnet Token\",symbol:\"ENI\"},rpcUrls:{default:{http:[\"https://rpc-testnet.eniac.network\"]}},blockExplorers:{default:{name:\"ENI Testnet Explorer\",url:\"https://scan-testnet.eniac.network\"}},testnet:!0})});var Y2e,X2e=x(()=>{u();T();Y2e=g({id:119,name:\"ENULS Mainnet\",nativeCurrency:{decimals:18,name:\"NULS\",symbol:\"NULS\"},rpcUrls:{default:{http:[\"https://evmapi2.nuls.io\"]}},blockExplorers:{default:{name:\"ENULS Explorer\",url:\"https://evmscan.nuls.io\"}},testnet:!1})});var e6e,t6e=x(()=>{u();T();e6e=g({id:7332,name:\"Horizen EON\",nativeCurrency:{decimals:18,name:\"ZEN\",symbol:\"ZEN\"},rpcUrls:{default:{http:[\"https://eon-rpc.horizenlabs.io/ethv1\"]}},blockExplorers:{default:{name:\"EON Explorer\",url:\"https://eon-explorer.horizenlabs.io\"}},contracts:{}})});var r6e,n6e=x(()=>{u();T();r6e=g({id:17777,name:\"EOS EVM\",nativeCurrency:{decimals:18,name:\"EOS\",symbol:\"EOS\"},rpcUrls:{default:{http:[\"https://api.evm.eosnetwork.com\"]}},blockExplorers:{default:{name:\"EOS EVM Explorer\",url:\"https://explorer.evm.eosnetwork.com\",apiUrl:\"https://explorer.evm.eosnetwork.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:7943933}}})});var o6e,i6e=x(()=>{u();T();o6e=g({id:15557,name:\"EOS EVM Testnet\",nativeCurrency:{decimals:18,name:\"EOS\",symbol:\"EOS\"},rpcUrls:{default:{http:[\"https://api.testnet.evm.eosnetwork.com\"]}},blockExplorers:{default:{name:\"EOS EVM Testnet Explorer\",url:\"https://explorer.testnet.evm.eosnetwork.com\",apiUrl:\"https://explorer.testnet.evm.eosnetwork.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:9067940}},testnet:!0})});var a6e,s6e=x(()=>{u();T();a6e=g({id:140,name:\"Eteria\",nativeCurrency:{name:\"Eteria\",symbol:\"ERA\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.eteria.io/v1\"]}},blockExplorers:{default:{name:\"Eteria Explorer\",url:\"https://explorer.eteria.io\",apiUrl:\"https://explorer.eteria.io/api\"}}})});var c6e,u6e=x(()=>{u();T();c6e=g({id:42793,name:\"Etherlink\",blockTime:4830,nativeCurrency:{decimals:18,name:\"Tez\",symbol:\"XTZ\"},rpcUrls:{default:{http:[\"https://node.mainnet.etherlink.com\"]}},blockExplorers:{default:{name:\"Etherlink\",url:\"https://explorer.etherlink.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:33899}}})});var l6e,d6e=x(()=>{u();T();l6e=g({id:127823,name:\"Etherlink Shadownet Testnet\",nativeCurrency:{decimals:18,name:\"tez\",symbol:\"XTZ\"},rpcUrls:{default:{http:[\"https://node.shadownet.etherlink.com\"]}},blockExplorers:{default:{name:\"Etherlink Shadownet Testnet Explorer\",url:\"https://shadownet.explorer.etherlink.com\"}},testnet:!0})});var f6e,p6e=x(()=>{u();T();f6e=g({id:128123,name:\"Etherlink Testnet\",nativeCurrency:{decimals:18,name:\"Tez\",symbol:\"XTZ\"},rpcUrls:{default:{http:[\"https://node.ghostnet.etherlink.com\"]}},blockExplorers:{default:{name:\"Etherlink Testnet\",url:\"https://testnet.explorer.etherlink.com\"}},testnet:!0})});var m6e,h6e=x(()=>{u();T();m6e=g({id:183,name:\"Ethernity\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://mainnet.ethernitychain.io\"]}},blockExplorers:{default:{name:\"Ethernity Explorer\",url:\"https://ernscan.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}},testnet:!1})});var y6e,b6e=x(()=>{u();T();y6e=g({id:20256789,name:\"ETP Mainnet\",nativeCurrency:{decimals:18,name:\"ETP Chain Native Token\",symbol:\"ETP\"},rpcUrls:{default:{http:[\"https://rpc.etpscan.xyz\"]}},blockExplorers:{default:{name:\"ETP Scan\",url:\"https://etpscan.xyz\"}}})});var g6e,x6e=x(()=>{u();T();g6e=g({id:9001,name:\"Evmos\",nativeCurrency:{decimals:18,name:\"Evmos\",symbol:\"EVMOS\"},rpcUrls:{default:{http:[\"https://eth.bd.evmos.org:8545\"]}},blockExplorers:{default:{name:\"Evmos Block Explorer\",url:\"https://escan.live\"}}})});var v6e,w6e=x(()=>{u();T();v6e=g({id:9e3,name:\"Evmos Testnet\",nativeCurrency:{decimals:18,name:\"Evmos\",symbol:\"EVMOS\"},rpcUrls:{default:{http:[\"https://eth.bd.evmos.dev:8545\"]}},blockExplorers:{default:{name:\"Evmos Testnet Block Explorer\",url:\"https://evm.evmos.dev/\"}},testnet:!0})});var E6e,_6e=x(()=>{u();T();E6e=g({id:22052002,name:\"Excelon Mainnet\",network:\"XLON\",nativeCurrency:{decimals:18,name:\"Excelon\",symbol:\"xlon\"},rpcUrls:{default:{http:[\"https://edgewallet1.xlon.org\"]}},blockExplorers:{default:{name:\"Excelon explorer\",url:\"https://explorer.excelon.io\"}}})});var S6e,A6e=x(()=>{u();T();S6e=g({id:2,name:\"Expanse Network\",nativeCurrency:{decimals:18,name:\"EXP\",symbol:\"EXP\"},rpcUrls:{default:{http:[\"https://node.expanse.tech\"]}},blockExplorers:{default:{name:\"Expanse Explorer\",url:\"https://explorer.expanse.tech\"}},testnet:!1})});var k6e,C6e=x(()=>{u();T();k6e=g({id:7200,name:\"exSat Network\",nativeCurrency:{decimals:18,name:\"BTC\",symbol:\"BTC\"},rpcUrls:{default:{http:[\"https://evm.exsat.network\"]}},blockExplorers:{default:{name:\"exSat Explorer\",url:\"https://scan.exsat.network\",apiUrl:\"https://scan.exsat.network/api\"}}})});var T6e,I6e=x(()=>{u();T();T6e=g({id:839999,name:\"exSat Testnet\",nativeCurrency:{decimals:18,name:\"BTC\",symbol:\"BTC\"},rpcUrls:{default:{http:[\"https://evm-tst3.exsat.network\"]}},blockExplorers:{default:{name:\"exSat Explorer\",url:\"https://scan-testnet.exsat.network\",apiUrl:\"https://scan-testnet.exsat.network/api\"}},testnet:!0})});var P6e,R6e=x(()=>{u();T();P6e=g({id:250,name:\"Fantom\",nativeCurrency:{decimals:18,name:\"Fantom\",symbol:\"FTM\"},rpcUrls:{default:{http:[\"https://250.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"FTMScan\",url:\"https://ftmscan.com\",apiUrl:\"https://api.ftmscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:33001987}}})});var O6e,B6e=x(()=>{u();T();O6e=g({id:64240,name:\"Fantom Sonic Open Testnet\",network:\"fantom-sonic-testnet\",nativeCurrency:{decimals:18,name:\"Fantom\",symbol:\"FTM\"},rpcUrls:{default:{http:[\"https://rpcapi.sonic.fantom.network\"]}},blockExplorers:{default:{name:\"Fantom Sonic Open Testnet Explorer\",url:\"https://public-sonic.fantom.network\"}},testnet:!0})});var M6e,D6e=x(()=>{u();T();M6e=g({id:4002,name:\"Fantom Testnet\",nativeCurrency:{decimals:18,name:\"Fantom\",symbol:\"FTM\"},rpcUrls:{default:{http:[\"https://rpc.testnet.fantom.network\"]}},blockExplorers:{default:{name:\"FTMScan\",url:\"https://testnet.ftmscan.com\",apiUrl:\"https://testnet.ftmscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:8328688}},testnet:!0})});var N6e,U6e=x(()=>{u();T();N6e=g({id:12306,name:\"Fibo Chain\",nativeCurrency:{decimals:18,name:\"fibo\",symbol:\"FIBO\"},rpcUrls:{default:{http:[\"https://network.hzroc.art\"]}},blockExplorers:{default:{name:\"FiboScan\",url:\"https://scan.fibochain.org\"}}})});var $6e,z6e=x(()=>{u();T();$6e=g({id:314,name:\"Filecoin Mainnet\",nativeCurrency:{decimals:18,name:\"filecoin\",symbol:\"FIL\"},rpcUrls:{default:{http:[\"https://api.node.glif.io/rpc/v1\"]}},blockExplorers:{default:{name:\"Filfox\",url:\"https://filfox.info/en\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3328594}}})});var L6e,H6e=x(()=>{u();T();L6e=g({id:314159,name:\"Filecoin Calibration\",nativeCurrency:{decimals:18,name:\"testnet filecoin\",symbol:\"tFIL\"},rpcUrls:{default:{http:[\"https://api.calibration.node.glif.io/rpc/v1\"]}},blockExplorers:{default:{name:\"Filscan\",url:\"https://calibration.filscan.io\"}},testnet:!0})});var j6e,F6e=x(()=>{u();T();j6e=g({id:3141,name:\"Filecoin Hyperspace\",nativeCurrency:{decimals:18,name:\"testnet filecoin\",symbol:\"tFIL\"},rpcUrls:{default:{http:[\"https://api.hyperspace.node.glif.io/rpc/v1\"]}},blockExplorers:{default:{name:\"Filfox\",url:\"https://hyperspace.filfox.info/en\"}},testnet:!0})});var V6e,q6e=x(()=>{u();T();V6e=g({id:253368190,name:\"Flame\",network:\"flame\",nativeCurrency:{symbol:\"TIA\",name:\"TIA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.flame.astria.org\"],webSocket:[\"wss://ws.flame.astria.org\"]}},blockExplorers:{default:{name:\"Flame Explorer\",url:\"https://explorer.flame.astria.org\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:6829148}}})});var G6e,K6e=x(()=>{u();T();G6e=g({id:14,name:\"Flare Mainnet\",nativeCurrency:{decimals:18,name:\"Flare\",symbol:\"FLR\"},rpcUrls:{default:{http:[\"https://flare-api.flare.network/ext/C/rpc\"]}},blockExplorers:{default:{name:\"Flare Explorer\",url:\"https://flare-explorer.flare.network\",apiUrl:\"https://flare-explorer.flare.network/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3002461}}})});var Z6e,W6e=x(()=>{u();T();Z6e=g({id:114,name:\"Flare Testnet Coston2\",nativeCurrency:{decimals:18,name:\"Coston2 Flare\",symbol:\"C2FLR\"},rpcUrls:{default:{http:[\"https://coston2-api.flare.network/ext/C/rpc\"]}},blockExplorers:{default:{name:\"Coston2 Explorer\",url:\"https://coston2-explorer.flare.network\",apiUrl:\"https://coston2-explorer.flare.network/api\"}},testnet:!0})});var J6e,Q6e=x(()=>{u();T();J6e=g({id:747,name:\"Flow EVM Mainnet\",nativeCurrency:{decimals:18,name:\"Flow\",symbol:\"FLOW\"},rpcUrls:{default:{http:[\"https://mainnet.evm.nodes.onflow.org\"]}},blockExplorers:{default:{name:\"Mainnet Explorer\",url:\"https://evm.flowscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:6205}},blockTime:800})});var Y6e,X6e=x(()=>{u();T();Y6e=g({id:646,name:\"Flow EVM Previewnet\",nativeCurrency:{decimals:18,name:\"Flow\",symbol:\"FLOW\"},rpcUrls:{default:{http:[\"https://previewnet.evm.nodes.onflow.org\"]}},blockExplorers:{default:{name:\"Previewnet Explorer\",url:\"https://previewnet.flowdiver.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:6205}},testnet:!0})});var eEe,tEe=x(()=>{u();T();eEe=g({id:545,name:\"Flow EVM Testnet\",nativeCurrency:{decimals:18,name:\"Flow\",symbol:\"FLOW\"},rpcUrls:{default:{http:[\"https://testnet.evm.nodes.onflow.org\"]}},blockExplorers:{default:{name:\"Flow Diver\",url:\"https://evm-testnet.flowscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:137518}},testnet:!0,blockTime:800})});var rEe,nEe=x(()=>{u();T();rEe=g({id:9999999,name:\"Fluence\",nativeCurrency:{name:\"FLT\",symbol:\"FLT\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mainnet.fluence.dev\"],webSocket:[\"wss://ws.mainnet.fluence.dev\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://blockscout.mainnet.fluence.dev\",apiUrl:\"https://blockscout.mainnet.fluence.dev/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:207583}}})});var oEe,iEe=x(()=>{u();T();oEe=g({id:123420000220,name:\"Fluence Stage\",nativeCurrency:{name:\"tFLT\",symbol:\"tFLT\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.stage.fluence.dev\"],webSocket:[\"wss://ws.stage.fluence.dev\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://blockscout.stage.fluence.dev\",apiUrl:\"https://blockscout.stage.fluence.dev/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:83227}},testnet:!0})});var aEe,sEe=x(()=>{u();T();aEe=g({id:52164803,name:\"Fluence Testnet\",nativeCurrency:{name:\"tFLT\",symbol:\"tFLT\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.fluence.dev\"],webSocket:[\"wss://ws.testnet.fluence.dev\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://blockscout.testnet.fluence.dev\",apiUrl:\"https://blockscout.testnet.fluence.dev/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:96424}},testnet:!0})});var cEe,uEe=x(()=>{u();T();cEe=g({id:25363,name:\"Fluent\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.fluent.xyz\"]}},blockExplorers:{default:{name:\"Fluent Explorer\",url:\"https://fluentscan.xyz\"}},testnet:!1})});var lEe,dEe=x(()=>{u();T();lEe=g({id:20993,name:\"Fluent Devnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.devnet.fluent.xyz\"]}},blockExplorers:{default:{name:\"Fluent Devnet Explorer\",url:\"https://devnet.fluentscan.xyz\"}},testnet:!0})});var fEe,pEe=x(()=>{u();T();fEe=g({id:20994,name:\"Fluent Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.fluent.xyz\"]}},blockExplorers:{default:{name:\"Fluent Testnet Explorer\",url:\"https://testnet.fluentscan.xyz\"}},testnet:!0})});var Jv,mEe,hEe=x(()=>{u();at();T();Jv=1,mEe=g({id:478,name:\"Form Network\",nativeCurrency:{decimals:18,name:\"Ethereum\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.form.network/http\"],webSocket:[\"wss://rpc.form.network/ws\"]}},blockExplorers:{default:{name:\"Form Explorer\",url:\"https://explorer.form.network\"}},contracts:{...me.contracts,addressManager:{[Jv]:{address:\"0x15c249E46A2F924C2dB3A1560CF86729bAD1f07B\"}},l1CrossDomainMessenger:{[Jv]:{address:\"0xF333158DCCad1dF6C3F0a3aEe8BC31fA94d9eD5c\"}},l2OutputOracle:{[Jv]:{address:\"0x4ccAAF69F41c5810cA875183648B577CaCf1F67E\"}},portal:{[Jv]:{address:\"0x4E259Ee5F4136408908160dD32295A5031Fa426F\"}},l1StandardBridge:{[Jv]:{address:\"0xdc20aA63D3DE59574E065957190D8f24e0F7B8Ba\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"}},sourceId:Jv})});var yEe,bEe=x(()=>{u();T();yEe=g({id:984122,name:\"Forma\",network:\"forma\",nativeCurrency:{symbol:\"TIA\",name:\"TIA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.forma.art\"],webSocket:[\"wss://ws.forma.art\"]}},blockExplorers:{default:{name:\"Forma Explorer\",url:\"https://explorer.forma.art\"}},contracts:{multicall3:{address:\"0xd53C6FFB123F7349A32980F87faeD8FfDc9ef079\",blockCreated:252705}}})});var Qv,gEe,xEe=x(()=>{u();at();T();Qv=11155111,gEe=g({id:132902,name:\"Form Testnet\",nativeCurrency:{decimals:18,name:\"Ethereum\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://sepolia-rpc.form.network/http\"],webSocket:[\"wss://sepolia-rpc.form.network/ws\"]}},blockExplorers:{default:{name:\"Form Testnet Explorer\",url:\"https://sepolia-explorer.form.network\"}},contracts:{...me.contracts,addressManager:{[Qv]:{address:\"0xd5C38fa934f7fd7477D4800F4f38a1c5BFdF1373\"}},l1CrossDomainMessenger:{[Qv]:{address:\"0x37A68565c4BE9700b3E3Ec60cC4416cAC3052FAa\"}},l2OutputOracle:{[Qv]:{address:\"0x9eA2239E65a59EC9C7F1ED4C116dD58Da71Fc1e2\"}},portal:{[Qv]:{address:\"0x60377e3cE15dF4CCA24c4beF076b60314240b032\"}},l1StandardBridge:{[Qv]:{address:\"0xD4531f633942b2725896F47cD2aFd260b44Ab1F7\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"}},testnet:!0,sourceId:Qv})});var vEe,wEe=x(()=>{u();T();vEe=g({id:80931,name:\"Forta Chain\",nativeCurrency:{symbol:\"FORT\",name:\"FORT\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-forta-chain-8gj1qndmfc.t.conduit.xyz\"]}},blockExplorers:{default:{name:\"Forta Explorer\",url:\"https://explorer.forta.org\"}}})});var EEe,_Ee=x(()=>{u();T();EEe=g({id:31337,name:\"Foundry\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"http://127.0.0.1:8545\"],webSocket:[\"ws://127.0.0.1:8545\"]}}})});var SP,SEe,AEe=x(()=>{u();at();T();SP=1,SEe=g({...me,id:252,name:\"Fraxtal\",nativeCurrency:{name:\"Frax\",symbol:\"FRAX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.frax.com\"]}},blockExplorers:{default:{name:\"fraxscan\",url:\"https://fraxscan.com\",apiUrl:\"https://api.fraxscan.com/api\"}},contracts:{...me.contracts,l2OutputOracle:{[SP]:{address:\"0x66CC916Ed5C6C2FA97014f7D1cD141528Ae171e4\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"},portal:{[SP]:{address:\"0x36cb65c1967A0Fb0EEE11569C51C2f2aA1Ca6f6D\",blockCreated:19135323}},l1StandardBridge:{[SP]:{address:\"0x34C0bD5877A5Ee7099D0f5688D65F4bB9158BDE2\",blockCreated:19135323}}},sourceId:SP})});var AP,kEe,CEe=x(()=>{u();at();T();AP=17e3,kEe=g({...me,id:2522,name:\"Fraxtal Testnet\",nativeCurrency:{name:\"Frax\",symbol:\"FRAX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.frax.com\"]}},blockExplorers:{default:{name:\"fraxscan testnet\",url:\"https://holesky.fraxscan.com\",apiUrl:\"https://api-holesky.fraxscan.com/api\"}},contracts:{...me.contracts,l2OutputOracle:{[AP]:{address:\"0x715EA64DA13F4d0831ece4Ad3E8c1aa013167F32\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"},portal:{[AP]:{address:\"0xB9c64BfA498d5b9a8398Ed6f46eb76d90dE5505d\",blockCreated:318416}},l1StandardBridge:{[AP]:{address:\"0x0BaafC217162f64930909aD9f2B27125121d6332\",blockCreated:318416}}},sourceId:AP,testnet:!0})});var Jyt,TEe,IEe=x(()=>{u();at();T();Jyt=1,TEe=g({...me,id:33979,name:\"Funki\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-mainnet.funkichain.com\"]}},blockExplorers:{default:{name:\"Funki Mainnet Explorer\",url:\"https://funkiscan.io\"}},contracts:{...me.contracts},sourceId:Jyt})});var Qyt,PEe,REe=x(()=>{u();at();T();Qyt=11155111,PEe=g({...me,id:3397901,network:\"funkiSepolia\",name:\"Funki Sepolia Sandbox\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://funki-testnet.alt.technology\"]}},blockExplorers:{default:{name:\"Funki Sepolia Sandbox Explorer\",url:\"https://sepolia-sandbox.funkichain.com/\"}},testnet:!0,contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1620204}},sourceId:Qyt})});var OEe,BEe=x(()=>{u();T();OEe=g({id:122,name:\"Fuse\",nativeCurrency:{name:\"Fuse\",symbol:\"FUSE\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.fuse.io\"]}},blockExplorers:{default:{name:\"Fuse Explorer\",url:\"https://explorer.fuse.io\",apiUrl:\"https://explorer.fuse.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:16146628}}})});var MEe,DEe=x(()=>{u();T();MEe=g({id:123,name:\"Fuse Sparknet\",nativeCurrency:{name:\"Spark\",symbol:\"SPARK\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.fusespark.io\"]}},blockExplorers:{default:{name:\"Sparkent Explorer\",url:\"https://explorer.fusespark.io\",apiUrl:\"https://explorer.fusespark.io/api\"}}})});var NEe,UEe=x(()=>{u();T();NEe=g({id:32659,name:\"Fusion Mainnet\",nativeCurrency:{name:\"Fusion\",symbol:\"FSN\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.fusionnetwork.io\"],webSocket:[\"wss://mainnet.fusionnetwork.io\"]}},blockExplorers:{default:{name:\"FSNscan\",url:\"https://fsnscan.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:10441605}},testnet:!1})});var $Ee,zEe=x(()=>{u();T();$Ee=g({id:46688,name:\"Fusion Testnet\",nativeCurrency:{name:\"Fusion\",symbol:\"FSN\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.fusionnetwork.io\"],webSocket:[\"wss://testnet.fusionnetwork.io\"]}},blockExplorers:{default:{name:\"FSNscan\",url:\"https://testnet.fsnscan.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:10428309}},testnet:!0})});var kP,LEe,HEe=x(()=>{u();at();T();kP=17e3,LEe=g({...me,name:\"Garnet Testnet\",testnet:!0,id:17069,sourceId:kP,nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.garnetchain.com\"],webSocket:[\"wss://rpc.garnetchain.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.garnetchain.com\"}},contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"},portal:{[kP]:{address:\"0x57ee40586fbE286AfC75E67cb69511A6D9aF5909\",blockCreated:1274684}},l2OutputOracle:{[kP]:{address:\"0xCb8E7AC561b8EF04F2a15865e9fbc0766FEF569B\",blockCreated:1274684}},l1StandardBridge:{[kP]:{address:\"0x09bcDd311FE398F80a78BE37E489f5D440DB95DE\",blockCreated:1274684}}}})});var jEe,FEe=x(()=>{u();T();jEe=g({id:86,name:\"GateChain Mainnet\",nativeCurrency:{name:\"GateChainToken\",symbol:\"GT\",decimals:18},rpcUrls:{default:{http:[\"https://evm.nodeinfo.cc\"],webSocket:[\"wss://evm-ws.gatenode.cc\"]}},blockExplorers:{default:{name:\"Gate Scan\",url:\"https://www.gatescan.org\",apiUrl:\"https://gatescan.org/api\"}},testnet:!1})});var VEe,qEe=x(()=>{u();T();VEe=g({id:63157,name:\"Geist Mainnet\",nativeCurrency:{decimals:18,name:\"Aavegotchi GHST Token\",symbol:\"GHST\"},rpcUrls:{default:{http:[\"https://geist-mainnet.g.alchemy.com/public\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://geist-mainnet.explorer.alchemy.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:660735}}})});var GEe,KEe=x(()=>{u();T();GEe=g({id:16507,name:\"Genesys Mainnet\",nativeCurrency:{decimals:18,name:\"GSYS\",symbol:\"GSYS\"},rpcUrls:{default:{http:[\"https://rpc.genesys.network\"]}},blockExplorers:{default:{name:\"Genesys Explorer\",url:\"https://gchainexplorer.genesys.network\"}},testnet:!1})});var ZEe,WEe=x(()=>{u();T();ZEe=g({id:685689,name:\"Gensyn Mainnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://gensyn-mainnet.g.alchemy.com/public\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://gensyn-mainnet.explorer.alchemy.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}}})});var CP,LV,JEe,QEe=x(()=>{u();at();T();CP=11155111,LV=g({...me,id:91342,network:\"giwa-sepolia\",name:\"GIWA Sepolia\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},blockTime:1e3,rpcUrls:{default:{http:[\"https://sepolia-rpc.giwa.io\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://sepolia-explorer.giwa.io\",apiUrl:\"https://sepolia-explorer.giwa.io/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0},disputeGameFactory:{[CP]:{address:\"0x37347caB2afaa49B776372279143D71ad1f354F6\"}},portal:{[CP]:{address:\"0x956962C34687A954e611A83619ABaA37Ce6bC78A\"}},l1StandardBridge:{[CP]:{address:\"0x77b2ffc0F57598cAe1DB76cb398059cF5d10A7E7\"}}},testnet:!0,sourceId:CP}),JEe=g({...LV,experimental_preconfirmationTime:200,rpcUrls:{default:{http:[\"https://sepolia-rpc-flashblocks.giwa.io\"]}}})});var YEe,XEe=x(()=>{u();T();YEe=g({id:251,name:\"Glide L1 Protocol XP\",nativeCurrency:{name:\"GLXP\",symbol:\"GLXP\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-api.glideprotocol.xyz/l1-rpc\"],webSocket:[\"wss://rpc-api.glideprotocol.xyz/l1-rpc\"]}},blockExplorers:{default:{name:\"Glide Protocol Explore\",url:\"https://blockchain-explorer.glideprotocol.xyz\"}},testnet:!1})});var e_e,t_e=x(()=>{u();T();e_e=g({id:253,name:\"Glide L2 Protocol XP\",nativeCurrency:{name:\"GLXP\",symbol:\"GLXP\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-api.glideprotocol.xyz/l2-rpc\"],webSocket:[\"wss://rpc-api.glideprotocol.xyz/l2-rpc\"]}},blockExplorers:{default:{name:\"Glide Protocol Explore\",url:\"https://blockchain-explorer.glideprotocol.xyz\"}},testnet:!1})});var r_e,n_e=x(()=>{u();T();r_e=g({id:100,name:\"Gnosis\",nativeCurrency:{decimals:18,name:\"xDAI\",symbol:\"XDAI\"},blockTime:5e3,rpcUrls:{default:{http:[\"https://rpc.gnosischain.com\"],webSocket:[\"wss://rpc.gnosischain.com/wss\"]}},blockExplorers:{default:{name:\"Gnosisscan\",url:\"https://gnosisscan.io\",apiUrl:\"https://api.gnosisscan.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:21022491}}})});var o_e,i_e=x(()=>{u();T();o_e=g({id:10200,name:\"Gnosis Chiado\",nativeCurrency:{decimals:18,name:\"Gnosis\",symbol:\"xDAI\"},blockTime:5e3,rpcUrls:{default:{http:[\"https://rpc.chiadochain.net\"],webSocket:[\"wss://rpc.chiadochain.net/wss\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://blockscout.chiadochain.net\",apiUrl:\"https://blockscout.chiadochain.net/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:4967313}},testnet:!0})});var a_e,s_e=x(()=>{u();T();a_e=g({id:2345,name:\"GOAT\",nativeCurrency:{decimals:18,name:\"Bitcoin\",symbol:\"BTC\"},rpcUrls:{default:{http:[\"https://rpc.goat.network\"]}},blockExplorers:{default:{name:\"Goat Explorer\",url:\"https://explorer.goat.network\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}}})});var c_e,u_e=x(()=>{u();T();c_e=g({id:1663,name:\"Horizen Gobi Testnet\",nativeCurrency:{decimals:18,name:\"Test ZEN\",symbol:\"tZEN\"},rpcUrls:{default:{http:[\"https://gobi-testnet.horizenlabs.io/ethv1\"]}},blockExplorers:{default:{name:\"Gobi Explorer\",url:\"https://gobi-explorer.horizen.io\"}},contracts:{},testnet:!0})});var l_e,d_e=x(()=>{u();T();l_e=g({id:60,name:\"GoChain\",nativeCurrency:{decimals:18,name:\"GO\",symbol:\"GO\"},rpcUrls:{default:{http:[\"https://rpc.gochain.io\"]}},blockExplorers:{default:{name:\"GoChain Explorer\",url:\"https://explorer.gochain.io\"}},testnet:!1})});var f_e,p_e=x(()=>{u();T();f_e=g({id:71402,name:\"Godwoken Mainnet\",nativeCurrency:{decimals:18,name:\"pCKB\",symbol:\"pCKB\"},rpcUrls:{default:{http:[\"https://v1.mainnet.godwoken.io/rpc\"]}},blockExplorers:{default:{name:\"GW Scan\",url:\"https://v1.gwscan.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:15034}},testnet:!1})});var m_e,h_e=x(()=>{u();T();m_e=g({id:5,name:\"Goerli\",nativeCurrency:{name:\"Goerli Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://5.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://goerli.etherscan.io\",apiUrl:\"https://api-goerli.etherscan.io/api\"}},contracts:{ensRegistry:{address:\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},ensUniversalResolver:{address:\"0xfc4AC75C46C914aF5892d6d3eFFcebD7917293F1\",blockCreated:10339206},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:6507670}},testnet:!0})});var y_e,b_e=x(()=>{u();T();y_e=g({id:440017,name:\"Graphite Network\",nativeCurrency:{name:\"Graphite\",symbol:\"@G\",decimals:18},rpcUrls:{default:{http:[\"https://anon-entrypoint-1.atgraphite.com\"],webSocket:[\"wss://ws-anon-entrypoint-1.atgraphite.com\"]}},blockExplorers:{default:{name:\"Graphite Spectre\",url:\"https://main.atgraphite.com\",apiUrl:\"https://api.main.atgraphite.com/api\"}},testnet:!1})});var g_e,x_e=x(()=>{u();T();g_e=g({id:54170,name:\"Graphite Network Testnet\",nativeCurrency:{name:\"Graphite\",symbol:\"@G\",decimals:18},rpcUrls:{default:{http:[\"https://anon-entrypoint-test-1.atgraphite.com\"],webSocket:[\"wss://ws-anon-entrypoint-test-1.atgraphite.com\"]}},blockExplorers:{default:{name:\"Graphite Testnet Spectre\",url:\"https://test.atgraphite.com\",apiUrl:\"https://api.test.atgraphite.com/api\"}},testnet:!0})});var v_e,w_e=x(()=>{u();T();v_e=g({id:1625,name:\"Gravity Alpha Mainnet\",nativeCurrency:{name:\"G\",symbol:\"G\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.gravity.xyz\"]}},blockExplorers:{default:{name:\"Gravity Explorer\",url:\"https://explorer.gravity.xyz\",apiUrl:\"https://explorer.gravity.xyz/api\"}},contracts:{multicall3:{address:\"0xf8ac4BEB2F75d2cFFb588c63251347fdD629B92c\",blockCreated:16851}}})});var E_e,__e=x(()=>{u();T();E_e=g({id:43419,name:\"Gunz Mainnet\",nativeCurrency:{name:\"GUN\",symbol:\"GUN\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.gunzchain.io/ext/bc/2M47TxWHGnhNtq6pM5zPXdATBtuqubxn5EPFgFmEawCQr9WFML/rpc\"]}},blockExplorers:{default:{name:\"Gunz Explorer\",url:\"https://gunzscan.io/\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:70502}}})});var S_e,A_e=x(()=>{u();T();S_e=g({id:260,name:\"Guru Network Mainnet\",nativeCurrency:{name:\"GURU Token\",symbol:\"GURU\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-main.gurunetwork.ai\",\"https://rpc.gurunetwork.ai/archive/260\"]}},blockExplorers:{default:{name:\"Guruscan\",url:\"https://scan.gurunetwork.ai\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:271691}},testnet:!1})});var k_e,C_e=x(()=>{u();T();k_e=g({id:261,name:\"Guru Network Testnet\",nativeCurrency:{name:\"tGURU Token\",symbol:\"tGURU\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-test.gurunetwork.ai\",\"https://rpc.gurunetwork.ai/archive/261\"]}},blockExplorers:{default:{name:\"Guruscan\",url:\"https://sepolia.gurunetwork.ai\"}},testnet:!0})});var T_e,I_e=x(()=>{u();T();T_e=g({id:5112,name:\"Ham\",nativeCurrency:{decimals:18,name:\"Ham\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.ham.fun\"],webSocket:[\"wss://rpc.ham.fun\"]}},blockExplorers:{default:{name:\"Ham Chain Explorer\",url:\"https://explorer.ham.fun\",apiUrl:\"https://explorer.ham.fun/api/v2\"}}})});var P_e,R_e=x(()=>{u();T();P_e=g({id:216,name:\"Happychain Testnet\",nativeCurrency:{symbol:\"HAPPY\",name:\"HAPPY\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.happy.tech/http\"],webSocket:[\"wss://rpc.testnet.happy.tech/ws\"]}},blockExplorers:{default:{name:\"Happy Chain Testnet Explorer\",url:\"https://explorer.testnet.happy.tech\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1}},testnet:!0})});var O_e,B_e=x(()=>{u();T();O_e=g({id:11235,name:\"HAQQ Mainnet\",nativeCurrency:{decimals:18,name:\"Islamic Coin\",symbol:\"ISLM\"},rpcUrls:{default:{http:[\"https://rpc.eth.haqq.network\"]}},blockExplorers:{default:{name:\"HAQQ Explorer\",url:\"https://explorer.haqq.network\",apiUrl:\"https://explorer.haqq.network/api\"}}})});var M_e,D_e=x(()=>{u();T();M_e=g({id:54211,name:\"HAQQ Testedge 2\",nativeCurrency:{decimals:18,name:\"Islamic Coin\",symbol:\"ISLMT\"},rpcUrls:{default:{http:[\"https://rpc.eth.testedge2.haqq.network\"]}},blockExplorers:{default:{name:\"HAQQ Explorer\",url:\"https://explorer.testedge2.haqq.network\",apiUrl:\"https://explorer.testedge2.haqq.network/api\"}},testnet:!0})});var N_e,U_e=x(()=>{u();T();N_e=g({id:31337,name:\"Hardhat\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"http://127.0.0.1:8545\"]}}})});var $_e,z_e=x(()=>{u();T();$_e=g({id:16666e5,name:\"Harmony One\",nativeCurrency:{name:\"Harmony\",symbol:\"ONE\",decimals:18},rpcUrls:{default:{http:[\"https://1666600000.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"Harmony Explorer\",url:\"https://explorer.harmony.one\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:24185753}}})});var L_e,H_e=x(()=>{u();T();L_e=g({id:177,name:\"HashKey Chain\",nativeCurrency:{decimals:18,name:\"HashKey EcoPoints\",symbol:\"HSK\"},rpcUrls:{default:{http:[\"https://mainnet.hsk.xyz\"]}},blockExplorers:{default:{name:\"HashKey Chain Explorer\",url:\"https://hashkey.blockscout.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0}}})});var j_e,F_e=x(()=>{u();T();j_e=g({id:133,name:\"HashKey Chain Testnet\",nativeCurrency:{decimals:18,name:\"HashKey EcoPoints\",symbol:\"HSK\"},rpcUrls:{default:{http:[\"https://testnet.hsk.xyz\"]}},blockExplorers:{default:{name:\"HashKey Chain Testnet explorer\",url:\"https://testnet-explorer.hsk.xyz\"}},testnet:!0})});var V_e,q_e=x(()=>{u();T();V_e=g({id:1523903251,name:\"Haust Network Testnet\",nativeCurrency:{decimals:18,name:\"HAUST\",symbol:\"HAUST\"},rpcUrls:{default:{http:[\"https://rpc-testnet.haust.app\"]}},blockExplorers:{default:{name:\"Haust Network Testnet Explorer\",url:\"https://explorer-testnet.haust.app\"}},testnet:!0})});var G_e,K_e=x(()=>{u();T();G_e=g({id:295,name:\"Hedera Mainnet\",network:\"hedera-mainnet\",nativeCurrency:{symbol:\"HBAR\",name:\"HBAR\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.hashio.io/api\"]}},blockExplorers:{default:{name:\"Hashscan\",url:\"https://hashscan.io/mainnet\"}},testnet:!1})});var Z_e,W_e=x(()=>{u();T();Z_e=g({id:297,name:\"Hedera Previewnet\",network:\"hedera-previewnet\",nativeCurrency:{symbol:\"HBAR\",name:\"HBAR\",decimals:18},rpcUrls:{default:{http:[\"https://previewnet.hashio.io/api\"]}},blockExplorers:{default:{name:\"Hashscan\",url:\"https://hashscan.io/previewnet\"}},testnet:!0})});var J_e,Q_e=x(()=>{u();T();J_e=g({id:296,name:\"Hedera Testnet\",network:\"hedera-testnet\",nativeCurrency:{symbol:\"HBAR\",name:\"HBAR\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.hashio.io/api\"]}},blockExplorers:{default:{name:\"Hashscan\",url:\"https://hashscan.io/testnet\"}},testnet:!0})});var Y_e,X_e=x(()=>{u();T();Y_e=g({id:8668,name:\"Hela Mainnet\",nativeCurrency:{name:\"HLUSD\",symbol:\"HLUSD\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet-rpc.helachain.com\"]}},blockExplorers:{default:{name:\"Hela explorer\",url:\"https://mainnet-blockexplorer.helachain.com\"}},testnet:!1})});var eSe,tSe=x(()=>{u();T();eSe=g({id:42e3,name:\"Helios Testnet\",network:\"helios-testnet\",nativeCurrency:{symbol:\"HLS\",name:\"Helios\",decimals:18},rpcUrls:{default:{http:[\"https://testnet1.helioschainlabs.org\"]}},blockExplorers:{default:{name:\"Helios Testnet Explorer\",url:\"https://explorer.helioschainlabs.org/\"}},testnet:!0})});var rSe,nSe=x(()=>{u();T();rSe=g({id:43111,name:\"Hemi\",network:\"Hemi\",blockTime:12e3,nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.hemi.network/rpc\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer.hemi.xyz\"}},testnet:!1})});var oSe,iSe=x(()=>{u();T();oSe=g({id:743111,name:\"Hemi Sepolia\",network:\"Hemi Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.rpc.hemi.network/rpc\"]}},blockExplorers:{default:{name:\"Hemi Sepolia explorer\",url:\"https://testnet.explorer.hemi.xyz\"}},testnet:!0})});var aSe,sSe=x(()=>{u();T();aSe=g({id:68414,name:\"Henesys\",nativeCurrency:{name:\"NEXPACE\",symbol:\"NXPC\",decimals:18},rpcUrls:{default:{http:[\"https://henesys-rpc.msu.io\"]}},blockExplorers:{default:{name:\"Avalanche Explorer\",url:\"https://subnets.avax.network/henesys\"}}})});var cSe,uSe=x(()=>{u();T();cSe=g({id:17e3,name:\"Holesky\",nativeCurrency:{name:\"Holesky Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://ethereum-holesky-rpc.publicnode.com\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://holesky.etherscan.io\",apiUrl:\"https://api-holesky.etherscan.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:77},ensUniversalResolver:{address:\"0xeeeeeeee14d718c2b47d9923deab1335e144eeee\",blockCreated:4295055}},testnet:!0})});var lSe,dSe=x(()=>{u();T();lSe=g({id:560048,name:\"Hoodi\",nativeCurrency:{name:\"Hoodi Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.hoodi.ethpandaops.io\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://hoodi.etherscan.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2589}},testnet:!0})});var fSe,pSe=x(()=>{u();T();fSe=g({id:2651420,name:\"Horizen Testnet\",network:\"horizen-testnet\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://horizen-testnet.rpc.caldera.xyz/http\"]}},blockExplorers:{default:{name:\"Horizen Testnet Caldera Explorer\",url:\"https://horizen-testnet.explorer.caldera.xyz\"}},testnet:!0})});var mSe,hSe=x(()=>{u();T();mSe=g({id:269,name:\"High Performance Blockchain\",nativeCurrency:{name:\"HPB\",symbol:\"HPB\",decimals:18},rpcUrls:{default:{http:[\"https://hpbnode.com\"]}},blockExplorers:{default:{name:\"hpbScan\",url:\"https://hscan.org\"}},testnet:!1})});var ySe,bSe=x(()=>{u();T();ySe=g({id:190415,name:\"HPP Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.hpp.io\"],webSocket:[\"wss://mainnet.hpp.io\"]}},blockExplorers:{default:{name:\"HPP Mainnet Explorer\",url:\"https://explorer.hpp.io\"}},testnet:!1})});var gSe,xSe=x(()=>{u();T();gSe=g({id:181228,name:\"HPP Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.hpp.io\"],webSocket:[\"wss://testnet.hpp.io\"]}},blockExplorers:{default:{name:\"HPP Sepolia Explorer\",url:\"https://sepolia-explorer.hpp.io\"}},testnet:!0})});var Yyt,vSe,wSe=x(()=>{u();T();Yyt=42161,vSe=g({id:12323,name:\"Huddle01 dRTC Chain\",nativeCurrency:{name:\"Ethereum\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://huddle01.calderachain.xyz/http\"],webSocket:[\"wss://huddle01.calderachain.xyz/ws\"]}},blockExplorers:{default:{name:\"Huddle01 Caldera Explorer\",url:\"https://huddle01.calderaexplorer.xyz\",apiUrl:\"https://huddle01.calderaexplorer.xyz/api\"}},sourceId:Yyt})});var Xyt,ESe,_Se=x(()=>{u();T();Xyt=421614,ESe=g({id:2524852,name:\"Huddle01 dRTC Chain Testnet\",nativeCurrency:{name:\"Ethereum\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://huddle-testnet.rpc.caldera.xyz/http\"],webSocket:[\"wss://huddle-testnet.rpc.caldera.xyz/ws\"]}},blockExplorers:{default:{name:\"Huddle01 Caldera Explorer\",url:\"https://huddle-testnet.explorer.caldera.xyz\",apiUrl:\"https://huddle-testnet.explorer.caldera.xyz/api\"}},sourceId:Xyt,testnet:!0})});var SSe,ASe=x(()=>{u();T();SSe=g({id:6985385,name:\"Humanity\",nativeCurrency:{name:\"H\",symbol:\"H\",decimals:18},rpcUrls:{default:{http:[\"https://humanity-mainnet.g.alchemy.com/public\"]}},blockExplorers:{default:{name:\"Humanity Mainnet Explorer\",url:\"https://humanity-mainnet.explorer.alchemy.com\",apiUrl:\"https://humanity-mainnet.explorer.alchemy.com/api\"}},testnet:!1})});var kSe,CSe=x(()=>{u();T();kSe=g({id:7080969,name:\"Humanity Testnet\",nativeCurrency:{name:\"tHP\",symbol:\"tHP\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.humanity.org\"]}},blockExplorers:{default:{name:\"Humanity Testnet Explorer\",url:\"https://humanity-testnet.explorer.alchemy.com\",apiUrl:\"https://humanity-testnet.explorer.alchemy.com/api\"}},testnet:!0})});var TSe,ISe=x(()=>{u();T();TSe=g({id:5234,name:\"Humanode\",nativeCurrency:{name:\"HMND\",symbol:\"HMND\",decimals:18},rpcUrls:{default:{http:[\"https://explorer-rpc-http.mainnet.stages.humanode.io\"],webSocket:[\"wss://explorer-rpc-ws.mainnet.stages.humanode.io\"]}},blockExplorers:{default:{name:\"Subscan\",url:\"https://humanode.subscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:4413097}}})});var PSe,RSe=x(()=>{u();T();PSe=g({id:14853,name:\"Humanode Testnet 5\",nativeCurrency:{name:\"HMND\",symbol:\"HMND\",decimals:18},rpcUrls:{default:{http:[\"https://explorer-rpc-http.testnet5.stages.humanode.io\"],webSocket:[\"wss://explorer-rpc-ws.testnet5.stages.humanode.io\"]}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"}},testnet:!0})});var OSe,BSe=x(()=>{u();T();OSe=g({id:2911,name:\"HYCHAIN\",nativeCurrency:{name:\"HYTOPIA\",symbol:\"TOPIA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.hychain.com/http\"]}},blockExplorers:{default:{name:\"HYCHAIN Explorer\",url:\"https://explorer.hychain.com\"}},testnet:!1})});var MSe,DSe=x(()=>{u();T();MSe=g({id:29112,name:\"HYCHAIN Testnet\",nativeCurrency:{name:\"HYTOPIA\",symbol:\"TOPIA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.hychain.com/http\"]}},blockExplorers:{default:{name:\"HYCHAIN Explorer\",url:\"https://testnet-rpc.hychain.com/http\"}},testnet:!0})});var HV,NSe=x(()=>{u();T();HV=g({id:999,name:\"HyperEVM\",nativeCurrency:{name:\"HYPE\",symbol:\"HYPE\",decimals:18},blockExplorers:{default:{name:\"HyperEVMScan\",url:\"https://hyperevmscan.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:13051}},rpcUrls:{default:{http:[\"https://rpc.hyperliquid.xyz/evm\"]}},testnet:!1})});var USe,$Se=x(()=>{u();T();USe=g({id:998,name:\"Hyperliquid EVM Testnet\",nativeCurrency:{name:\"HYPE\",symbol:\"HYPE\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.hyperliquid-testnet.xyz/evm\"]}},testnet:!0})});var zSe,LSe=x(()=>{u();T();zSe=g({id:73115,name:\"ICB Network\",nativeCurrency:{decimals:18,name:\"ICB Native Token\",symbol:\"ICBX\"},rpcUrls:{default:{http:[\"https://rpc1-mainnet.icbnetwork.info\"]}},blockExplorers:{default:{name:\"ICB Explorer\",url:\"https://icbscan.io\",apiUrl:\"https://icbscan.io/api\"}},testnet:!1})});var HSe,jSe=x(()=>{u();T();HSe=g({id:74,name:\"IDChain Mainnet\",nativeCurrency:{decimals:18,name:\"EIDI\",symbol:\"EIDI\"},rpcUrls:{default:{http:[\"https://idchain.one/rpc\"],webSocket:[\"wss://idchain.one/ws\"]}},blockExplorers:{default:{name:\"IDChain Explorer\",url:\"https://explorer.idchain.one\"}},testnet:!1})});var FSe,VSe=x(()=>{u();T();FSe=g({id:38833,name:\"Igra Network\",nativeCurrency:{decimals:18,name:\"iKAS\",symbol:\"iKAS\"},rpcUrls:{default:{http:[\"https://rpc.igralabs.com:8545\"]}},blockExplorers:{default:{name:\"Igra Explorer\",url:\"https://explorer.igralabs.com\"}},testnet:!1})});var qSe,GSe=x(()=>{u();T();qSe=g({id:13371,name:\"Immutable zkEVM\",nativeCurrency:{decimals:18,name:\"Immutable Coin\",symbol:\"IMX\"},rpcUrls:{default:{http:[\"https://rpc.immutable.com\"]}},blockExplorers:{default:{name:\"Immutable Explorer\",url:\"https://explorer.immutable.com\",apiUrl:\"https://explorer.immutable.com/api\"}},contracts:{multicall3:{address:\"0x236bdA4589e44e6850f5aC6a74BfCa398a86c6c0\",blockCreated:4335972}}})});var KSe,ZSe=x(()=>{u();T();KSe=g({id:13473,name:\"Immutable zkEVM Testnet\",nativeCurrency:{decimals:18,name:\"Immutable Coin\",symbol:\"IMX\"},rpcUrls:{default:{http:[\"https://rpc.testnet.immutable.com\"]}},blockExplorers:{default:{name:\"Immutable Testnet Explorer\",url:\"https://explorer.testnet.immutable.com/\"}},contracts:{multicall3:{address:\"0x2CC787Ed364600B0222361C4188308Fa8E68bA60\",blockCreated:5977391}},testnet:!0})});var WSe,JSe=x(()=>{u();T();WSe=g({id:2525,name:\"inEVM Mainnet\",nativeCurrency:{decimals:18,name:\"Injective\",symbol:\"INJ\"},rpcUrls:{default:{http:[\"https://mainnet.rpc.inevm.com/http\"]}},blockExplorers:{default:{name:\"inEVM Explorer\",url:\"https://inevm.calderaexplorer.xyz\",apiUrl:\"https://inevm.calderaexplorer.xyz/api/v2\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:118606}}})});var QSe,YSe=x(()=>{u();T();QSe=g({id:7233,name:\"InitVerse Mainnet\",nativeCurrency:{decimals:18,name:\"InitVerse\",symbol:\"INI\"},rpcUrls:{default:{http:[\"https://rpc-mainnet.inichain.com\"]}},blockExplorers:{default:{name:\"InitVerseScan\",url:\"https://www.iniscan.com\",apiUrl:\"https://explorer-api.inichain.com/api\"}},contracts:{multicall3:{address:\"0x83466BE48A067115FFF91f7b892Ed1726d032e47\",blockCreated:2318}}})});var XSe,e5e=x(()=>{u();T();XSe=g({id:7234,name:\"InitVerse Genesis Testnet\",nativeCurrency:{decimals:18,name:\"InitVerse\",symbol:\"INI\"},rpcUrls:{default:{http:[\"https://rpc-testnet.inichain.com\"]}},blockExplorers:{default:{name:\"InitVerseGenesisScan\",url:\"https://genesis-testnet.iniscan.com\",apiUrl:\"https://explorer-testnet-api.inichain.com/api\"}},contracts:{multicall3:{address:\"0x0cF32CBDd6c437331EA4f85ed2d881A5379B5a6F\",blockCreated:16361}},testnet:!0})});var t5e,r5e=x(()=>{u();T();t5e=g({id:1776,name:\"Injective\",nativeCurrency:{decimals:18,name:\"Injective\",symbol:\"INJ\"},rpcUrls:{default:{http:[\"https://sentry.evm-rpc.injective.network\"],webSocket:[\"wss://sentry.evm-ws.injective.network\"]}},blockExplorers:{default:{name:\"Injective Explorer\",url:\"https://blockscout.injective.network\",apiUrl:\"https://blockscout.injective.network/api\"}},testnet:!1})});var n5e,o5e=x(()=>{u();T();n5e=g({id:1439,name:\"Injective Testnet\",nativeCurrency:{decimals:18,name:\"Injective\",symbol:\"INJ\"},rpcUrls:{default:{http:[\"https://k8s.testnet.json-rpc.injective.network\"],webSocket:[\"wss://k8s.testnet.ws.injective.network\"]}},blockExplorers:{default:{name:\"Injective Explorer\",url:\"https://testnet.blockscout.injective.network\",apiUrl:\"https://testnet.blockscout.injective.network/api\"}},testnet:!0})});var TP,i5e,a5e=x(()=>{u();at();T();TP=1,i5e=g({...me,id:57073,name:\"Ink\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-gel.inkonchain.com\",\"https://rpc-qnd.inkonchain.com\"],webSocket:[\"wss://rpc-gel.inkonchain.com\",\"wss://rpc-qnd.inkonchain.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.inkonchain.com\",apiUrl:\"https://explorer.inkonchain.com/api/v2\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0},...me.contracts,disputeGameFactory:{[TP]:{address:\"0x10d7b35078d3baabb96dd45a9143b94be65b12cd\"}},portal:{[TP]:{address:\"0x5d66c1782664115999c47c9fa5cd031f495d3e4f\"}},l1StandardBridge:{[TP]:{address:\"0x88ff1e5b602916615391f55854588efcbb7663f0\"}}},testnet:!1,sourceId:TP})});var IP,s5e,c5e=x(()=>{u();at();T();IP=11155111,s5e=g({...me,id:763373,name:\"Ink Sepolia\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-gel-sepolia.inkonchain.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer-sepolia.inkonchain.com/\",apiUrl:\"https://explorer-sepolia.inkonchain.com/api/v2\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0},disputeGameFactory:{[IP]:{address:\"0x860e626c700af381133d9f4af31412a2d1db3d5d\"}},portal:{[IP]:{address:\"0x5c1d29c6c9c8b0800692acc95d700bcb4966a1d7\"}},l1StandardBridge:{[IP]:{address:\"0x33f60714bbd74d62b66d79213c348614de51901c\"}}},testnet:!0,sourceId:IP})});var u5e,l5e=x(()=>{u();T();u5e=g({id:8822,name:\"IOTA EVM\",network:\"iotaevm\",nativeCurrency:{decimals:18,name:\"IOTA\",symbol:\"IOTA\"},rpcUrls:{default:{http:[\"https://json-rpc.evm.iotaledger.net\"],webSocket:[\"wss://ws.json-rpc.evm.iotaledger.net\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://explorer.evm.iota.org\",apiUrl:\"https://explorer.evm.iota.org/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:25022}}})});var d5e,f5e=x(()=>{u();T();d5e=g({id:1075,name:\"IOTA EVM Testnet\",network:\"iotaevm-testnet\",nativeCurrency:{decimals:18,name:\"IOTA\",symbol:\"IOTA\"},rpcUrls:{default:{http:[\"https://json-rpc.evm.testnet.iotaledger.net\"],webSocket:[\"wss://ws.json-rpc.evm.testnet.iotaledger.net\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://explorer.evm.testnet.iotaledger.net\",apiUrl:\"https://explorer.evm.testnet.iotaledger.net/api\"}},testnet:!0})});var p5e,m5e=x(()=>{u();T();p5e=g({id:4689,name:\"IoTeX\",nativeCurrency:{decimals:18,name:\"IoTeX\",symbol:\"IOTX\"},rpcUrls:{default:{http:[\"https://babel-api.mainnet.iotex.io\"],webSocket:[\"wss://babel-api.mainnet.iotex.io\"]}},blockExplorers:{default:{name:\"IoTeXScan\",url:\"https://iotexscan.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:22163670}}})});var h5e,y5e=x(()=>{u();T();h5e=g({id:4690,name:\"IoTeX Testnet\",nativeCurrency:{decimals:18,name:\"IoTeX\",symbol:\"IOTX\"},rpcUrls:{default:{http:[\"https://babel-api.testnet.iotex.io\"],webSocket:[\"wss://babel-api.testnet.iotex.io\"]}},blockExplorers:{default:{name:\"IoTeXScan\",url:\"https://testnet.iotexscan.io\"}},contracts:{multicall3:{address:\"0xb5cecD6894c6f473Ec726A176f1512399A2e355d\",blockCreated:24347592}},testnet:!0})});var b5e,g5e=x(()=>{u();T();b5e=g({id:8017,name:\"iSunCoin Mainnet\",nativeCurrency:{decimals:18,name:\"ISC\",symbol:\"ISC\"},rpcUrls:{default:{http:[\"https://mainnet.isuncoin.com\"]}},blockExplorers:{default:{name:\"iSunCoin Explorer\",url:\"https://baifa.io/app/chains/8017\"}}})});var x5e,v5e=x(()=>{u();T();x5e=g({id:680,name:\"Jasmy Chain\",network:\"jasmyChain\",nativeCurrency:{name:\"JasmyCoin\",symbol:\"JASMY\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.jasmychain.io\"],webSocket:[\"wss://rpc.jasmychain.io\"]}},testnet:!1})});var w5e,E5e=x(()=>{u();T();w5e=g({id:681,name:\"Jasmy Chain Testnet\",network:\"jasmyChainTestnet\",nativeCurrency:{name:\"JasmyCoin\",symbol:\"JASMY\",decimals:18},rpcUrls:{default:{http:[\"https://rpc_testnet.jasmychain.io\"],webSocket:[\"wss://rpc_testnet.jasmychain.io\"]}},testnet:!0})});var _5e,S5e=x(()=>{u();T();_5e=g({id:8899,name:\"JB Chain\",network:\"jbc\",nativeCurrency:{name:\"JBC\",symbol:\"JBC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-l1.jibchain.net\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://exp-l1.jibchain.net\",apiUrl:\"https://exp-l1.jibchain.net/api\"}},contracts:{multicall3:{address:\"0xc0C8C486D1466C57Efe13C2bf000d4c56F47CBdC\",blockCreated:2299048}},testnet:!1})});var A5e,k5e=x(()=>{u();T();A5e=g({id:88991,name:\"Jibchain Testnet\",nativeCurrency:{name:\"tJBC\",symbol:\"tJBC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.jibchain.net\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://exp.testnet.jibchain.net\",apiUrl:\"https://exp.testnet.jibchain.net/api\"}},contracts:{multicall3:{address:\"0xa1a858ad9041B4741e620355a3F96B3c78e70ecE\",blockCreated:32848}},testnet:!0})});var C5e,T5e=x(()=>{u();T();C5e=g({id:81,name:\"Japan Open Chain Mainnet\",nativeCurrency:{decimals:18,name:\"Japan Open Chain Token\",symbol:\"JOC\"},rpcUrls:{default:{http:[\"https://rpc-1.japanopenchain.org:8545\",\"https://rpc-2.japanopenchain.org:8545\",\"https://rpc-3.japanopenchain.org\"]}},blockExplorers:{default:{name:\"Block Explorer\",url:\"https://explorer.japanopenchain.org\"}},testnet:!1})});var I5e,P5e=x(()=>{u();T();I5e=g({id:10081,name:\"Japan Open Chain Testnet\",nativeCurrency:{decimals:18,name:\"Japan Open Chain Testnet Token\",symbol:\"JOCT\"},rpcUrls:{default:{http:[\"https://rpc-1.testnet.japanopenchain.org:8545\",\"https://rpc-2.testnet.japanopenchain.org:8545\",\"https://rpc-3.testnet.japanopenchain.org\"]}},blockExplorers:{default:{name:\"Testnet Block Explorer\",url:\"https://explorer.testnet.japanopenchain.org\"}},testnet:!0})});var R5e,O5e=x(()=>{u();T();R5e=g({id:5734951,name:\"Jovay Mainnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.jovay.io\"]}},blockExplorers:{default:{name:\"Jovay Explorer\",url:\"https://explorer.jovay.io/l2\"}},testnet:!1})});var B5e,M5e=x(()=>{u();T();B5e=g({id:2019775,name:\"Jovay Sepolia Testnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://api.zan.top/public/jovay-testnet\"]}},blockExplorers:{default:{name:\"Jovay Testnet Explorer\",url:\"https://sepolia-explorer.jovay.io/l2\"}},testnet:!0})});var D5e,N5e=x(()=>{u();T();D5e=g({id:45003,name:\"Juneo JUNE-Chain\",nativeCurrency:{decimals:18,name:\"JUNE-Chain\",symbol:\"JUNE\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/JUNE/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/2\",apiUrl:\"https://juneoscan.io/chain/2/api\"}}})});var U5e,$5e=x(()=>{u();T();U5e=g({id:45013,name:\"Juneo BCH1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo BCH1-Chain\",symbol:\"BCH1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/BCH1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/12\",apiUrl:\"https://juneoscan.io/chain/12/api\"}}})});var z5e,L5e=x(()=>{u();T();z5e=g({id:45004,name:\"Juneo DAI1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo DAI1-Chain\",symbol:\"DAI1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/DAI1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/5\",apiUrl:\"https://juneoscan.io/chain/5/api\"}}})});var H5e,j5e=x(()=>{u();T();H5e=g({id:45010,name:\"Juneo DOGE1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo DOGE1-Chain\",symbol:\"DOGE1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/DOGE1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/10\",apiUrl:\"https://juneoscan.io/chain/10/api\"}}})});var F5e,V5e=x(()=>{u();T();F5e=g({id:45011,name:\"Juneo EUR1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo EUR1-Chain\",symbol:\"EUR1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/EUR1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/6\",apiUrl:\"https://juneoscan.io/chain/6/api\"}}})});var q5e,G5e=x(()=>{u();T();q5e=g({id:45008,name:\"Juneo GLD1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo GLD1-Chain\",symbol:\"GLD1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/GLD1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/8\",apiUrl:\"https://juneoscan.io/chain/8/api\"}}})});var K5e,Z5e=x(()=>{u();T();K5e=g({id:45014,name:\"Juneo LINK1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo LINK1-Chain\",symbol:\"LINK1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/LINK1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/13\",apiUrl:\"https://juneoscan.io/chain/13/api\"}}})});var W5e,J5e=x(()=>{u();T();W5e=g({id:45009,name:\"Juneo LTC1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo LTC1-Chain\",symbol:\"LTC1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/LTC1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/11\",apiUrl:\"https://juneoscan.io/chain/11/api\"}}})});var Q5e,Y5e=x(()=>{u();T();Q5e=g({id:45007,name:\"Juneo mBTC1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo mBTC1-Chain\",symbol:\"mBTC1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/mBTC1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/9\",apiUrl:\"https://juneoscan.io/chain/9/api\"}}})});var X5e,eAe=x(()=>{u();T();X5e=g({id:45012,name:\"Juneo SGD1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo SGD1-Chain\",symbol:\"SGD1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/SGD1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/7\",apiUrl:\"https://juneoscan.io/chain/7/api\"}}})});var tAe,rAe=x(()=>{u();T();tAe=g({id:101003,name:\"Socotra JUNE-Chain\",nativeCurrency:{decimals:18,name:\"Socotra JUNE-Chain\",symbol:\"JUNE\"},rpcUrls:{default:{http:[\"https://rpc.socotra-testnet.network/ext/bc/JUNE/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://socotra.juneoscan.io/chain/2\",apiUrl:\"https://socotra.juneoscan.io/chain/2/api\"}},testnet:!0})});var nAe,oAe=x(()=>{u();T();nAe=g({id:45006,name:\"Juneo USD1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo USD1-Chain\",symbol:\"USD1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/USD1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/4\",apiUrl:\"https://juneoscan.io/chain/4/api\"}}})});var iAe,aAe=x(()=>{u();T();iAe=g({id:45005,name:\"Juneo USDT1-Chain\",nativeCurrency:{decimals:18,name:\"Juneo USDT1-Chain\",symbol:\"USDT1\"},rpcUrls:{default:{http:[\"https://rpc.juneo-mainnet.network/ext/bc/USDT1/rpc\"]}},blockExplorers:{default:{name:\"Juneo Scan\",url:\"https://juneoscan.io/chain/3\",apiUrl:\"https://juneoscan.io/chain/3/api\"}}})});var sAe,cAe=x(()=>{u();T();sAe=g({id:8217,name:\"Kaia\",nativeCurrency:{decimals:18,name:\"Kaia\",symbol:\"KAIA\"},rpcUrls:{default:{http:[\"https://public-en.node.kaia.io\"]}},blockExplorers:{default:{name:\"KaiaScan\",url:\"https://kaiascan.io\",apiUrl:\"https://api-cypress.klaytnscope.com/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:96002415}}})});var uAe,lAe=x(()=>{u();T();uAe=g({id:1001,name:\"Kairos Testnet\",network:\"kairos\",nativeCurrency:{decimals:18,name:\"Kairos KAIA\",symbol:\"KAIA\"},rpcUrls:{default:{http:[\"https://public-en-kairos.node.kaia.io\"]}},blockExplorers:{default:{name:\"KaiaScan\",url:\"https://kairos.kaiascan.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:123390593}},testnet:!0})});var dAe,fAe=x(()=>{u();T();dAe=g({id:1802203764,name:\"Kakarot Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia-rpc.kakarot.org\"]}},blockExplorers:{default:{name:\"Kakarot Scan\",url:\"https://sepolia.kakarotscan.org\"}},testnet:!0})});var pAe,mAe=x(()=>{u();T();pAe=g({id:920637907288165,name:\"Kakarot Starknet Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia-rpc.kakarot.org\"]}},blockExplorers:{default:{name:\"Kakarot Scan\",url:\"https://sepolia.kakarotscan.org\"}},testnet:!0})});var hAe,yAe=x(()=>{u();T();hAe=g({id:24,name:\"KardiaChain Mainnet\",nativeCurrency:{name:\"KAI\",symbol:\"KAI\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.kardiachain.io\"]}},blockExplorers:{default:{name:\"KardiaChain Explorer\",url:\"https://explorer.kardiachain.io\"}},testnet:!1})});var bAe,gAe=x(()=>{u();T();bAe=g({id:686,name:\"Karura\",network:\"karura\",nativeCurrency:{name:\"Karura\",symbol:\"KAR\",decimals:18},rpcUrls:{default:{http:[\"https://eth-rpc-karura.aca-api.network\"],webSocket:[\"wss://eth-rpc-karura.aca-api.network\"]}},blockExplorers:{default:{name:\"Karura Blockscout\",url:\"https://blockscout.karura.network\",apiUrl:\"https://blockscout.karura.network/api\"}},testnet:!1})});var xAe,vAe=x(()=>{u();T();xAe=g({id:747474,name:\"Katana\",network:\"katana\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.katana.network\"]}},blockExplorers:{default:{name:\"katana explorer\",url:\"https://katanascan.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}},testnet:!1})});var wAe,EAe=x(()=>{u();T();wAe=g({id:2222,name:\"Kava EVM\",network:\"kava-mainnet\",nativeCurrency:{name:\"Kava\",symbol:\"KAVA\",decimals:18},rpcUrls:{default:{http:[\"https://evm.kava.io\"]}},blockExplorers:{default:{name:\"Kava EVM Explorer\",url:\"https://kavascan.com\",apiUrl:\"https://kavascan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:3661165}},testnet:!1})});var _Ae,SAe=x(()=>{u();T();_Ae=g({id:2221,name:\"Kava EVM Testnet\",network:\"kava-testnet\",nativeCurrency:{name:\"Kava\",symbol:\"KAVA\",decimals:18},rpcUrls:{default:{http:[\"https://evm.testnet.kava.io\"]}},blockExplorers:{default:{name:\"Kava EVM Testnet Explorer\",url:\"https://testnet.kavascan.com/\",apiUrl:\"https://testnet.kavascan.com/api\"}},contracts:{multicall3:{address:\"0xDf1D724A7166261eEB015418fe8c7679BBEa7fd6\",blockCreated:7242179}},testnet:!0})});var AAe,kAe=x(()=>{u();T();AAe=g({id:321,name:\"KCC Mainnet\",network:\"KCC Mainnet\",nativeCurrency:{decimals:18,name:\"KCS\",symbol:\"KCS\"},rpcUrls:{default:{http:[\"https://kcc-rpc.com\"]}},blockExplorers:{default:{name:\"KCC Explorer\",url:\"https://explorer.kcc.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:11760430}},testnet:!1})});var CAe,TAe=x(()=>{u();T();CAe=g({id:1783,name:\"KiiChain\",network:\"kii-chain\",nativeCurrency:{name:\"Kii\",symbol:\"KII\",decimals:18},rpcUrls:{default:{http:[\"https://json-rpc.kiivalidator.com\"]}},blockExplorers:{default:{name:\"KiiExplorer\",url:\"https://explorer.kiichain.io\"}}})});var IAe,PAe=x(()=>{u();T();IAe=g({id:1336,name:\"Kii Testnet Oro\",network:\"kii-testnet-oro\",nativeCurrency:{name:\"Kii\",symbol:\"KII\",decimals:18},rpcUrls:{default:{http:[\"https://json-rpc.uno.sentry.testnet.v3.kiivalidator.com\"]}},blockExplorers:{default:{name:\"KiiExplorer\",url:\"https://testnet.explorer.kiichain.io\"}},testnet:!0})});var RAe,OAe=x(()=>{u();T();RAe=g({id:7887,name:\"Kinto Mainnet\",network:\"Kinto Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.kinto.xyz/http\"]}},blockExplorers:{default:{name:\"Kinto Explorer\",url:\"https://explorer.kinto.xyz\"}},testnet:!1})});var BAe,MAe=x(()=>{u();T();BAe=g({id:8217,name:\"Klaytn\",nativeCurrency:{decimals:18,name:\"Klaytn\",symbol:\"KLAY\"},rpcUrls:{default:{http:[\"https://public-en-cypress.klaytn.net\"]}},blockExplorers:{default:{name:\"KlaytnScope\",url:\"https://scope.klaytn.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:96002415}}})});var DAe,NAe=x(()=>{u();T();DAe=g({id:1001,name:\"Klaytn Baobab Testnet\",network:\"klaytn-baobab\",nativeCurrency:{decimals:18,name:\"Baobab Klaytn\",symbol:\"KLAY\"},rpcUrls:{default:{http:[\"https://public-en-baobab.klaytn.net\"]}},blockExplorers:{default:{name:\"KlaytnScope\",url:\"https://baobab.klaytnscope.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:123390593}},testnet:!0})});var UAe,$Ae=x(()=>{u();T();UAe=g({id:701,name:\"Koi Network\",nativeCurrency:{decimals:18,name:\"Koi Network Native Token\",symbol:\"KRING\"},rpcUrls:{default:{http:[\"https://koi-rpc.darwinia.network\"],webSocket:[\"wss://koi-rpc.darwinia.network\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://koi-scan.darwinia.network\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:180001}},testnet:!0})});var zAe,LAe=x(()=>{u();T();zAe=g({id:255,name:\"Kroma\",nativeCurrency:{name:\"ETH\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://api.kroma.network\"]}},blockExplorers:{default:{name:\"Kroma Explorer\",url:\"https://blockscout.kroma.network\",apiUrl:\"https://blockscout.kroma.network/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:16054868}},testnet:!1})});var HAe,jAe=x(()=>{u();T();HAe=g({id:2358,name:\"Kroma Sepolia\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://api.sepolia.kroma.network\"]}},blockExplorers:{default:{name:\"Kroma Sepolia Explorer\",url:\"https://blockscout.sepolia.kroma.network\",apiUrl:\"https://blockscout.sepolia.kroma.network/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:8900914}},testnet:!0})});var FAe,VAe=x(()=>{u();T();FAe=g({id:1983,name:\"Krown\",nativeCurrency:{decimals:18,name:\"Krown\",symbol:\"KROWN\"},rpcUrls:{default:{http:[\"https://mainnet.krown.network\"]}},blockExplorers:{default:{name:\"Krown Explorer\",url:\"https://explorer.krown.network\"}},testnet:!1})});var qAe,GAe=x(()=>{u();T();qAe=g({id:12324,name:\"L3X Protocol\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-mainnet.l3x.com\"],webSocket:[\"wss://rpc-mainnet.l3x.com\"]}},blockExplorers:{default:{name:\"L3X Mainnet Explorer\",url:\"https://explorer.l3x.com\",apiUrl:\"https://explorer.l3x.com/api/v2\"}},testnet:!1})});var KAe,ZAe=x(()=>{u();T();KAe=g({id:12325,name:\"L3X Protocol Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-testnet.l3x.com\"],webSocket:[\"wss://rpc-testnet.l3x.com\"]}},blockExplorers:{default:{name:\"L3X Testnet Explorer\",url:\"https://explorer-testnet.l3x.com\",apiUrl:\"https://explorer-testnet.l3x.com/api/v2\"}},testnet:!0})});var WAe,JAe=x(()=>{u();T();WAe=g({id:360890,name:\"LAVITA Mainnet\",nativeCurrency:{name:\"vTFUEL\",symbol:\"vTFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://tsub360890-eth-rpc.thetatoken.org/rpc\"]}},blockExplorers:{default:{name:\"LAVITA Explorer\",url:\"https://tsub360890-explorer.thetatoken.org\"}},testnet:!1})});var QAe,YAe=x(()=>{u();T();QAe=g({id:232,name:\"Lens\",nativeCurrency:{name:\"GHO\",symbol:\"GHO\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.lens.xyz\"]}},blockExplorers:{default:{name:\"Lens Block Explorer\",url:\"https://explorer.lens.xyz\",apiUrl:\"https://explorer.lens.xyz/api\"}}})});var XAe,eke=x(()=>{u();T();XAe=g({id:37111,name:\"Lens Testnet\",nativeCurrency:{name:\"GRASS\",symbol:\"GRASS\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.lens.dev\"],webSocket:[\"wss://rpc.testnet.lens.dev/ws\"]}},blockExplorers:{default:{name:\"Lens Block Explorer\",url:\"https://block-explorer.testnet.lens.dev\",apiUrl:\"https://block-explorer-api.staging.lens.dev/api\"}},testnet:!0})});var tke,rke=x(()=>{u();T();tke=g({id:21363,name:\"Lestnet\",nativeCurrency:{name:\"Lestnet Ether\",symbol:\"LETH\",decimals:18},rpcUrls:{default:{http:[\"https://service.lestnet.org\"]}},blockExplorers:{default:{name:\"Lestnet Explorer\",url:\"https://explore.lestnet.org\"}},testnet:!0})});var nke,oke=x(()=>{u();T();nke=g({id:1891,name:\"LightLink Pegasus Testnet\",network:\"lightlink-pegasus\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://replicator.pegasus.lightlink.io/rpc/v1\"]}},blockExplorers:{default:{name:\"LightLink Pegasus Explorer\",url:\"https://pegasus.lightlink.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:127188532}},testnet:!0})});var ike,ake=x(()=>{u();T();ike=g({id:1890,name:\"LightLink Phoenix Mainnet\",network:\"lightlink-phoenix\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://replicator.phoenix.lightlink.io/rpc/v1\"]}},blockExplorers:{default:{name:\"LightLink Phoenix Explorer\",url:\"https://phoenix.lightlink.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:125499184}},testnet:!1})});async function ske(e,t){let{account:r=e.account}=t;if(!r)throw new Mn;let n=tt(r);try{let{accessList:o,blockNumber:i,blockTag:c,data:l,gas:f,gasPrice:p,maxFeePerGas:h,maxPriorityFeePerGas:y,nonce:w,to:E,value:A,...C}=t,M=(typeof i==\"bigint\"?le(i):void 0)||c;Uo(t);let D=e.chain?.formatters?.transactionRequest?.format,H=(D||So)({...ms(C,{format:D}),account:n,accessList:o,data:l,gas:f,gasPrice:p,maxFeePerGas:h,maxPriorityFeePerGas:y,nonce:w,to:E,value:A},\"estimateGas\"),{baseFeePerGas:V,gasLimit:G,priorityFeePerGas:K}=await e.request({method:\"linea_estimateGas\",params:M?[H,M]:[H]});return{baseFeePerGas:BigInt(V),gasLimit:BigInt(G),priorityFeePerGas:BigInt(K)}}catch(o){throw _v(o,{...t,account:n,chain:e.chain})}}var cke=x(()=>{u();Zr();cc();ot();zI();ch();hs();Vu()});async function uke({client:e,multiply:t,request:r,type:n}){try{let o=await ske(e,{...r,account:r?.account}),{priorityFeePerGas:i}=o,l=t(BigInt(o.baseFeePerGas))+i;return n===\"legacy\"?{gasPrice:l}:{maxFeePerGas:l,maxPriorityFeePerGas:i}}catch{return null}}var Yv,PP=x(()=>{u();cke();Yv={fees:{estimateFeesPerGas:uke,async maxPriorityFeePerGas({block:e,client:t,request:r}){let n=await uke({block:e,client:t,multiply:o=>o,request:r,type:\"eip1559\"});return n?.maxPriorityFeePerGas?n.maxPriorityFeePerGas:null}}}});var lke,dke=x(()=>{u();PP();T();lke=g({...Yv,id:59144,name:\"Linea Mainnet\",blockTime:2e3,nativeCurrency:{name:\"Linea Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.linea.build\"],webSocket:[\"wss://rpc.linea.build\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://lineascan.build\",apiUrl:\"https://api.lineascan.build/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:42},ensRegistry:{address:\"0x50130b669B28C339991d8676FA73CF122a121267\",blockCreated:6682888},ensUniversalResolver:{address:\"0x4D41762915F83c76EcaF6776d9b08076aA32b492\",blockCreated:22222151}},ensTlds:[\".linea.eth\"],testnet:!1})});var fke,pke=x(()=>{u();T();fke=g({id:59140,name:\"Linea Goerli Testnet\",nativeCurrency:{name:\"Linea Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.goerli.linea.build\"],webSocket:[\"wss://rpc.goerli.linea.build\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://goerli.lineascan.build\",apiUrl:\"https://api-goerli.lineascan.build/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:498623}},testnet:!0})});var mke,hke=x(()=>{u();PP();T();mke=g({...Yv,id:59141,name:\"Linea Sepolia Testnet\",nativeCurrency:{name:\"Linea Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.sepolia.linea.build\"],webSocket:[\"wss://rpc.sepolia.linea.build\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://sepolia.lineascan.build\",apiUrl:\"https://api-sepolia.lineascan.build/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:227427},ensRegistry:{address:\"0x5B2636F0f2137B4aE722C01dd5122D7d3e9541f7\",blockCreated:2395094},ensUniversalResolver:{address:\"0x4D41762915F83c76EcaF6776d9b08076aA32b492\",blockCreated:17168484}},ensTlds:[\".linea.eth\"],testnet:!0})});var yke,bke=x(()=>{u();T();yke=g({id:59140,name:\"Linea Goerli Testnet\",nativeCurrency:{name:\"Linea Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.goerli.linea.build\"],webSocket:[\"wss://rpc.goerli.linea.build\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://goerli.lineascan.build\",apiUrl:\"https://goerli.lineascan.build/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:498623}},testnet:!0})});var O5,gke,xke=x(()=>{u();at();T();O5=1,gke=g({...me,id:1135,name:\"Lisk\",network:\"lisk\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.api.lisk.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://blockscout.lisk.com\",apiUrl:\"https://blockscout.lisk.com/api\"}},contracts:{...me.contracts,disputeGameFactory:{[O5]:{address:\"0x0CF7D3706a27CCE2017aEB11E8a9c8b5388c282C\"}},multicall3:{address:\"0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0\"},l2OutputOracle:{[O5]:{address:\"0x113cB99283AF242Da0A0C54347667edF531Aa7d6\"}},portal:{[O5]:{address:\"0x26dB93F8b8b4f7016240af62F7730979d353f9A7\"}},l1StandardBridge:{[O5]:{address:\"0x2658723Bf70c7667De6B25F99fcce13A16D25d08\"}}},sourceId:O5})});var RP,vke,wke=x(()=>{u();at();T();RP=11155111,vke=g({...me,id:4202,network:\"lisk-sepolia\",name:\"Lisk Sepolia\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.sepolia-api.lisk.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://sepolia-blockscout.lisk.com\",apiUrl:\"https://sepolia-blockscout.lisk.com/api\"}},contracts:{...me.contracts,l2OutputOracle:{[RP]:{address:\"0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"},portal:{[RP]:{address:\"0xe3d90F21490686Ec7eF37BE788E02dfC12787264\"}},l1StandardBridge:{[RP]:{address:\"0x1Fb30e446eA791cd1f011675E5F3f5311b70faF5\"}}},testnet:!0,sourceId:RP})});var Eke,_ke=x(()=>{u();T();Eke=g({id:9496,name:\"Load Alphanet\",nativeCurrency:{name:\"Testnet LOAD\",symbol:\"tLOAD\",decimals:18},rpcUrls:{default:{http:[\"https://alphanet.load.network\"]}},blockExplorers:{default:{name:\"Load Alphanet Explorer\",url:\"https://explorer.load.network\"}},testnet:!0})});var Ske,Ake=x(()=>{u();T();Ske=g({id:1337,name:\"Localhost\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"http://127.0.0.1:8545\"]}}})});var kke,Cke=x(()=>{u();T();kke=g({id:15551,name:\"LoopNetwork Mainnet\",nativeCurrency:{name:\"LOOP\",symbol:\"LOOP\",decimals:18},rpcUrls:{default:{http:[\"https://api.mainnetloop.com\"]}},blockExplorers:{default:{name:\"LoopNetwork Blockchain Explorer\",url:\"https://explorer.mainnetloop.com/\"}},testnet:!1})});var Tke,Ike=x(()=>{u();T();Tke=g({id:42,network:\"lukso\",name:\"LUKSO\",nativeCurrency:{name:\"LUKSO\",symbol:\"LYX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mainnet.lukso.network\"],webSocket:[\"wss://ws-rpc.mainnet.lukso.network\"]}},blockExplorers:{default:{name:\"LUKSO Mainnet Explorer\",url:\"https://explorer.execution.mainnet.lukso.network\",apiUrl:\"https://api.explorer.execution.mainnet.lukso.network/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:468183}}})});var Pke,Rke=x(()=>{u();T();Pke=g({id:4201,name:\"LUKSO Testnet\",nativeCurrency:{decimals:18,name:\"LUKSO Testnet\",symbol:\"LYXt\"},rpcUrls:{default:{http:[\"https://rpc.testnet.lukso.network\"],webSocket:[\"wss://ws-rpc.testnet.lukso.network\"]}},blockExplorers:{default:{name:\"LUKSO Testnet Explorer\",url:\"https://explorer.execution.testnet.lukso.network\",apiUrl:\"https://api.explorer.execution.testnet.lukso.network/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:605348}},testnet:!0})});var Oke,Bke=x(()=>{u();T();Oke=g({id:994873017,name:\"Lumia Mainnet\",network:\"LumiaMainnet\",nativeCurrency:{name:\"Lumia\",symbol:\"LUMIA\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet-rpc.lumia.org\"]}},blockExplorers:{default:{name:\"Lumia Explorer\",url:\"https://explorer.lumia.org/\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3975939}},testnet:!1})});var Mke,Dke=x(()=>{u();T();Mke=g({id:1952959480,name:\"Lumia Testnet\",network:\"LumiaTestnet\",nativeCurrency:{name:\"Lumia\",symbol:\"LUMIA\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.lumia.org\"]}},blockExplorers:{default:{name:\"Lumia Testnet Explorer\",url:\"https://testnet-explorer.lumia.org/\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2235063}},testnet:!0})});var Nke,Uke=x(()=>{u();T();Nke=g({id:96370,name:\"Lumoz\",nativeCurrency:{decimals:18,name:\"Lumoz Token\",symbol:\"MOZ\"},rpcUrls:{default:{http:[\"https://rpc.lumoz.org\"]}},blockExplorers:{default:{name:\"Lumoz Scan\",url:\"https://scan.lumoz.info\"}},testnet:!1})});var $ke,zke=x(()=>{u();T();$ke=g({id:105363,name:\"Lumoz Testnet\",nativeCurrency:{decimals:18,name:\"Lumoz Testnet Token\",symbol:\"MOZ\"},rpcUrls:{default:{http:[\"https://testnet-rpc.lumoz.org\"]}},testnet:!0})});var Lke,Hke=x(()=>{u();T();Lke=g({id:1122,name:\"LuxePorts\",network:\"luxeports\",nativeCurrency:{name:\"LuxePorts\",symbol:\"LXP\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.luxeports.com\",\"https://erpc.luxeports.com\"],webSocket:[\"wss://rpc.luxeports.com/ws\",\"wss://erpc.luxeports.com/ws\"]}},blockExplorers:{default:{name:\"LXPScan\",url:\"https://lxpscan.com\"}},testnet:!1})});var jke,Fke=x(()=>{u();T();jke=g({id:721,name:\"Lycan\",nativeCurrency:{decimals:18,name:\"Lycan\",symbol:\"LYC\"},rpcUrls:{default:{http:[\"https://rpc.lycanchain.com\",\"https://us-east.lycanchain.com\",\"https://us-west.lycanchain.com\",\"https://eu-north.lycanchain.com\",\"https://eu-west.lycanchain.com\",\"https://asia-southeast.lycanchain.com\"],webSocket:[\"wss://rpc.lycanchain.com\",\"wss://us-east.lycanchain.com\",\"wss://us-west.lycanchain.com\",\"wss://eu-north.lycanchain.com\",\"wss://eu-west.lycanchain.com\",\"wss://asia-southeast.lycanchain.com\"]}},blockExplorers:{default:{name:\"Lycan Explorer\",url:\"https://explorer.lycanchain.com\"}}})});var Vke,qke=x(()=>{u();T();Vke=g({id:957,name:\"Lyra Chain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.lyra.finance\"]}},blockExplorers:{default:{name:\"Lyra Explorer\",url:\"https://explorer.lyra.finance\",apiUrl:\"https://explorer.lyra.finance/api/v2\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1935198}}})});var Gke,Kke=x(()=>{u();T();Gke=g({id:1,name:\"Ethereum\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},blockTime:12e3,rpcUrls:{default:{http:[\"https://eth.merkle.io\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://etherscan.io\",apiUrl:\"https://api.etherscan.io/api\"}},contracts:{ensUniversalResolver:{address:\"0xeeeeeeee14d718c2b47d9923deab1335e144eeee\",blockCreated:23085558},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:14353601}}})});var Zke,Wke=x(()=>{u();T();Zke=g({id:595,name:\"Mandala TC9\",network:\"mandala\",nativeCurrency:{name:\"Mandala\",symbol:\"mACA\",decimals:18},rpcUrls:{default:{http:[\"https://eth-rpc-tc9.aca-staging.network\"],webSocket:[\"wss://eth-rpc-tc9.aca-staging.network\"]}},blockExplorers:{default:{name:\"Mandala Blockscout\",url:\"https://blockscout.mandala.aca-staging.network\",apiUrl:\"https://blockscout.mandala.aca-staging.network/api\"}},testnet:!0})});var Jke,Qke=x(()=>{u();T();Jke=g({id:169,name:\"Manta Pacific Mainnet\",network:\"manta\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://pacific-rpc.manta.network/http\"]}},blockExplorers:{default:{name:\"Manta Explorer\",url:\"https://pacific-explorer.manta.network\",apiUrl:\"https://pacific-explorer.manta.network/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:332890}}})});var Yke,Xke=x(()=>{u();T();Yke=g({id:3441006,name:\"Manta Pacific Sepolia Testnet\",network:\"manta-sepolia\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://pacific-rpc.sepolia-testnet.manta.network/http\"]}},blockExplorers:{default:{name:\"Manta Sepolia Testnet Explorer\",url:\"https://pacific-explorer.sepolia-testnet.manta.network\",apiUrl:\"https://pacific-explorer.sepolia-testnet.manta.network/api\"}},contracts:{multicall3:{address:\"0xca54918f7B525C8df894668846506767412b53E3\",blockCreated:479584}},testnet:!0})});var e3e,t3e=x(()=>{u();T();e3e=g({id:3441005,name:\"Manta Pacific Testnet\",network:\"manta-testnet\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://manta-testnet.calderachain.xyz/http\"]}},blockExplorers:{default:{name:\"Manta Testnet Explorer\",url:\"https://pacific-explorer.testnet.manta.network\",apiUrl:\"https://pacific-explorer.testnet.manta.network/api\"}},contracts:{multicall3:{address:\"0x211B1643b95Fe76f11eD8880EE810ABD9A4cf56C\",blockCreated:419915}},testnet:!0})});var r3e,n3e=x(()=>{u();T();r3e=g({id:5e3,name:\"Mantle\",nativeCurrency:{decimals:18,name:\"MNT\",symbol:\"MNT\"},rpcUrls:{default:{http:[\"https://rpc.mantle.xyz\"]}},blockExplorers:{default:{name:\"Mantle Explorer\",url:\"https://mantlescan.xyz/\",apiUrl:\"https://api.mantlescan.xyz/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:304717}}})});var o3e,i3e=x(()=>{u();T();o3e=g({id:5003,name:\"Mantle Sepolia Testnet\",nativeCurrency:{decimals:18,name:\"MNT\",symbol:\"MNT\"},rpcUrls:{default:{http:[\"https://rpc.sepolia.mantle.xyz\"]}},blockExplorers:{default:{name:\"Mantle Testnet Explorer\",url:\"https://explorer.sepolia.mantle.xyz/\",apiUrl:\"https://explorer.sepolia.mantle.xyz/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:4584012}},testnet:!0})});var a3e,s3e=x(()=>{u();T();a3e=g({id:5001,name:\"Mantle Testnet\",nativeCurrency:{decimals:18,name:\"MNT\",symbol:\"MNT\"},rpcUrls:{default:{http:[\"https://rpc.testnet.mantle.xyz\"]}},blockExplorers:{default:{name:\"Mantle Testnet Explorer\",url:\"https://explorer.testnet.mantle.xyz\",apiUrl:\"https://explorer.testnet.mantle.xyz/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:561333}},testnet:!0})});var c3e,u3e=x(()=>{u();T();c3e=g({id:5887,name:\"MANTRA DuKong EVM Testnet\",nativeCurrency:{decimals:18,name:\"MANTRA\",symbol:\"MANTRA\"},rpcUrls:{default:{http:[\"https://evm.dukong.mantrachain.io\"]}},blockExplorers:{default:{name:\"MANTRAScan\",url:\"https://mantrascan.io/dukong\"}},testnet:!0})});var l3e,d3e=x(()=>{u();T();l3e=g({id:5888,name:\"MANTRA EVM\",nativeCurrency:{decimals:18,name:\"MANTRA\",symbol:\"MANTRA\"},rpcUrls:{default:{http:[\"https://evm.mantrachain.io\"],webSocket:[\"https://evm.mantrachain.io/ws\"]}},blockExplorers:{default:{name:\"MANTRA Blockscout Explorer\",url:\"https://blockscout.mantrascan.io\"}}})});var f3e,p3e=x(()=>{u();T();f3e=g({id:22776,name:\"MAP Protocol\",nativeCurrency:{decimals:18,name:\"MAPO\",symbol:\"MAPO\"},rpcUrls:{default:{http:[\"https://rpc.maplabs.io\"]}},blockExplorers:{default:{name:\"MAPO Scan\",url:\"https://maposcan.io\"}},testnet:!1})});var m3e,h3e=x(()=>{u();T();m3e=g({id:698,name:\"Matchain\",nativeCurrency:{name:\"BNB\",symbol:\"BNB\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.matchain.io\"]}},blockExplorers:{default:{name:\"Matchain Scan\",url:\"https://matchscan.io\"}}})});var y3e,b3e=x(()=>{u();T();y3e=g({id:699,name:\"Matchain Testnet\",nativeCurrency:{name:\"BNB\",symbol:\"BNB\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.matchain.io\"]}},blockExplorers:{default:{name:\"Matchain Scan\",url:\"https://testnet.matchscan.io\"}},testnet:!0})});var g3e,x3e=x(()=>{u();T();g3e=g({id:29548,name:\"MCH Verse\",nativeCurrency:{name:\"Oasys\",symbol:\"OAS\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.oasys.mycryptoheroes.net\"]}},blockExplorers:{default:{name:\"MCH Verse Explorer\",url:\"https://explorer.oasys.mycryptoheroes.net\",apiUrl:\"https://explorer.oasys.mycryptoheroes.net/api\"}},testnet:!1})});var OP,v3e,w3e=x(()=>{u();at();T();OP=1,v3e=g({...me,id:4326,blockTime:1e3,name:\"MegaETH\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.megaeth.com/rpc\"],webSocket:[\"wss://mainnet.megaeth.com/ws\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://mega.etherscan.io\",apiUrl:\"https://api.etherscan.io/v2/api\"},blockscout:{name:\"Blockscout\",url:\"https://megaeth.blockscout.com\",apiUrl:\"https://megaeth.blockscout.com/api\"}},contracts:{...me.contracts,disputeGameFactory:{[OP]:{address:\"0x8546840adF796875cD9AAcc5B3B048f6B2c9D563\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0},portal:{[OP]:{address:\"0x7f82f57F0Dd546519324392e408b01fcC7D709e8\",blockCreated:21644285}},l1StandardBridge:{[OP]:{address:\"0x0CA3A2FBC3D770b578223FBB6b062fa875a2eE75\",blockCreated:21644285}}},sourceId:OP})});var E3e,_3e=x(()=>{u();T();E3e=g({id:6343,blockTime:1e3,name:\"MegaETH Testnet\",nativeCurrency:{name:\"MegaETH Testnet Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://carrot.megaeth.com/rpc\"],webSocket:[\"wss://carrot.megaeth.com/ws\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://testnet-mega.etherscan.io\",apiUrl:\"https://api.etherscan.io/v2/api\"},blockscout:{name:\"Blockscout\",url:\"https://megaeth-testnet-v2.blockscout.com\",apiUrl:\"https://megaeth-testnet-v2.blockscout.com/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}},testnet:!0})});var S3e,A3e=x(()=>{u();T();S3e=g({id:7078815900,name:\"Mekong Pectra Devnet\",nativeCurrency:{name:\"eth\",symbol:\"eth\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mekong.ethpandaops.io\"]}},blockExplorers:{default:{name:\"Block Explorer\",url:\"https://explorer.mekong.ethpandaops.io\"}},testnet:!0})});var k3e,C3e=x(()=>{u();T();k3e=g({id:333000333,name:\"Meld\",nativeCurrency:{decimals:18,name:\"Meld\",symbol:\"MELD\"},rpcUrls:{default:{http:[\"https://rpc-1.meld.com\"]}},blockExplorers:{default:{name:\"MELDscan\",url:\"https://meldscan.io\"}},contracts:{multicall3:{address:\"0x769ee5a8e82c15c1b6e358f62ac8eb6e3abe8dc5\",blockCreated:360069}}})});var T3e,I3e=x(()=>{u();T();T3e=g({id:4352,name:\"MemeCore\",nativeCurrency:{decimals:18,name:\"M\",symbol:\"M\"},rpcUrls:{default:{http:[\"https://rpc.memecore.net\"],webSocket:[\"wss://ws.memecore.net\"]}},blockExplorers:{default:{name:\"MemeCore Explorer\",url:\"https://memecorescan.io\",apiUrl:\"https://api.memecorescan.io/api\"},okx:{name:\"MemeCore Explorer\",url:\"https://web3.okx.com/explorer/memecore\"},memecore:{name:\"MemeCore Explorer\",url:\"https://blockscout.memecore.com\",apiUrl:\"https://blockscout.memecore.com/api\"}}})});var P3e,R3e=x(()=>{u();T();P3e=g({id:43521,name:\"Formicarium\",nativeCurrency:{decimals:18,name:\"M\",symbol:\"M\"},rpcUrls:{default:{http:[\"https://rpc.formicarium.memecore.net\"],webSocket:[\"wss://ws.formicarium.memecore.net\"]}},blockExplorers:{default:{name:\"MemeCore Testnet Explorer\",url:\"https://formicarium.memecorescan.io\"},okx:{name:\"MemeCore Testnet Explorer\",url:\"https://web3.okx.com/explorer/formicarium-testnet\"},memecore:{name:\"MemeCore Testnet Explorer\",url:\"https://formicarium.blockscout.memecore.com\",apiUrl:\"https://formicarium.blockscout.memecore.com/api\"}},testnet:!0})});var O3e,B3e=x(()=>{u();T();O3e=g({id:4200,name:\"Merlin\",nativeCurrency:{name:\"BTC\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.merlinchain.io\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://scan.merlinchain.io\",apiUrl:\"https://scan.merlinchain.io/api\"}}})});var M3e,D3e=x(()=>{u();T();M3e=g({id:4203,name:\"Merlin Erigon Testnet\",nativeCurrency:{name:\"BTC\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-erigon-rpc.merlinchain.io\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://testnet-erigon-scan.merlinchain.io\",apiUrl:\"https://testnet-erigon-scan.merlinchain.io/api\"}},testnet:!0})});var N3e,U3e=x(()=>{u();T();N3e=g({id:571,name:\"MetaChain Mainnet\",nativeCurrency:{name:\"Metatime Coin\",symbol:\"MTC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.metatime.com\"]}},blockExplorers:{default:{name:\"MetaExplorer\",url:\"https://explorer.metatime.com\"}},contracts:{multicall3:{address:\"0x0000000000000000000000000000000000003001\",blockCreated:0}}})});var $3e,z3e=x(()=>{u();T();$3e=g({id:1453,name:\"MetaChain Istanbul\",nativeCurrency:{name:\"Metatime Coin\",symbol:\"MTC\",decimals:18},rpcUrls:{default:{http:[\"https://istanbul-rpc.metachain.dev\"]}},blockExplorers:{default:{name:\"MetaExplorer\",url:\"https://istanbul-explorer.metachain.dev\"}},contracts:{multicall3:{address:\"0x0000000000000000000000000000000000003001\",blockCreated:0}},testnet:!0})});var L3e,H3e=x(()=>{u();T();L3e=g({id:11,name:\"Metadium Network\",nativeCurrency:{decimals:18,name:\"META\",symbol:\"META\"},rpcUrls:{default:{http:[\"https://api.metadium.com/prod\"]}},blockExplorers:{default:{name:\"Metadium Explorer\",url:\"https://explorer.metadium.com\"}},testnet:!1})});var BP,j3e,F3e=x(()=>{u();at();T();BP=1,j3e=g({...me,id:1750,name:\"Metal L2\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.metall2.com\"],webSocket:[\"wss://rpc.metall2.com\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://explorer.metall2.com\",apiUrl:\"https://explorer.metall2.com/api\"}},contracts:{...me.contracts,l2OutputOracle:{[BP]:{address:\"0x3B1F7aDa0Fcc26B13515af752Dd07fB1CAc11426\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0},portal:{[BP]:{address:\"0x3F37aBdE2C6b5B2ed6F8045787Df1ED1E3753956\"}},l1StandardBridge:{[BP]:{address:\"0x6d0f65D59b55B0FEC5d2d15365154DcADC140BF3\"}}},sourceId:BP})});var V3e,q3e=x(()=>{u();T();V3e=g({id:82,name:\"Meter\",nativeCurrency:{decimals:18,name:\"MTR\",symbol:\"MTR\"},rpcUrls:{default:{http:[\"https://rpc.meter.io\"]}},blockExplorers:{default:{name:\"MeterScan\",url:\"https://scan.meter.io\"}}})});var G3e,K3e=x(()=>{u();T();G3e=g({id:83,name:\"Meter Testnet\",nativeCurrency:{decimals:18,name:\"MTR\",symbol:\"MTR\"},rpcUrls:{default:{http:[\"https://rpctest.meter.io\"]}},blockExplorers:{default:{name:\"MeterTestnetScan\",url:\"https://scan-warringstakes.meter.io\"}},testnet:!0})});var Z3e,W3e=x(()=>{u();T();Z3e=g({id:1088,name:\"Metis\",nativeCurrency:{decimals:18,name:\"Metis\",symbol:\"METIS\"},rpcUrls:{default:{http:[\"https://metis.rpc.hypersync.xyz\",\"https://metis-pokt.nodies.app\",\"https://api.blockeden.xyz/metis/67nCBdZQSH9z3YqDDjdm\",\"https://metis-andromeda.rpc.thirdweb.com\",\"https://metis-andromeda.gateway.tenderly.co\",\"https://metis.api.onfinality.io/public\",\"https://andromeda.metis.io/?owner=1088\",\"https://metis-mainnet.public.blastapi.io\"],webSocket:[\"wss://metis-rpc.publicnode.com\",\"wss://metis.drpc.org\"]}},blockExplorers:{default:{name:\"Metis Explorer\",url:\"https://explorer.metis.io\",apiUrl:\"https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:2338552}}})});var J3e,Q3e=x(()=>{u();T();J3e=g({id:599,name:\"Metis Goerli\",nativeCurrency:{decimals:18,name:\"Metis Goerli\",symbol:\"METIS\"},rpcUrls:{default:{http:[\"https://goerli.gateway.metisdevops.link\"]}},blockExplorers:{default:{name:\"Metis Goerli Explorer\",url:\"https://goerli.explorer.metisdevops.link\",apiUrl:\"https://goerli.explorer.metisdevops.link/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1006207}},testnet:!0})});var Y3e,X3e=x(()=>{u();T();Y3e=g({id:59902,name:\"Metis Sepolia\",nativeCurrency:{decimals:18,name:\"Test Metis\",symbol:\"tMETIS\"},rpcUrls:{default:{http:[\"https://sepolia.metisdevops.link\",\"https://metis-sepolia-rpc.publicnode.com\",\"https://metis-sepolia.gateway.tenderly.co\"],webSocket:[\"wss://metis-sepolia-rpc.publicnode.com\"]}},blockExplorers:{default:{name:\"Metis Sepolia Explorer\",url:\"https://sepolia-explorer.metisdevops.link\",apiUrl:\"https://sepolia-explorer.metisdevops.link/api-docs\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:224185}},testnet:!0})});var eCe,tCe=x(()=>{u();T();eCe=g({id:7518,name:\"MEVerse Chain Mainnet\",nativeCurrency:{decimals:18,name:\"MEVerse\",symbol:\"MEV\"},rpcUrls:{default:{http:[\"https://rpc.meversemainnet.io\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://www.meversescan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:86881340}}})});var rCe,nCe=x(()=>{u();T();rCe=g({id:4759,name:\"MEVerse Chain Testnet\",nativeCurrency:{decimals:18,name:\"MEVerse\",symbol:\"MEV\"},rpcUrls:{default:{http:[\"https://rpc.meversetestnet.io\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://testnet.meversescan.io/\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:64371115}},testnet:!0})});var oCe,iCe=x(()=>{u();T();oCe=g({id:31612,name:\"Mezo\",nativeCurrency:{decimals:18,name:\"Bitcoin\",symbol:\"BTC\"},rpcUrls:{default:{http:[\"https://rpc.mezo.org\"]}},blockExplorers:{default:{name:\"Mezo Explorer\",url:\"https://explorer.mezo.org\"}}})});var aCe,sCe=x(()=>{u();T();aCe=g({id:31611,name:\"Mezo Testnet\",nativeCurrency:{decimals:18,name:\"Bitcoin\",symbol:\"BTC\"},rpcUrls:{default:{http:[\"https://rpc.test.mezo.org\"]}},blockExplorers:{default:{name:\"Mezo Testnet Explorer\",url:\"https://explorer.test.mezo.org\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3328573}},testnet:!0})});var cCe,uCe=x(()=>{u();T();cCe=g({id:185,name:\"Mint Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mintchain.io\"]}},blockExplorers:{default:{name:\"Mintchain explorer\",url:\"https://explorer.mintchain.io\"}},testnet:!1})});var lCe,dCe=x(()=>{u();T();lCe=g({id:1686,name:\"Mint Sepolia Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.mintchain.io\"]}},blockExplorers:{default:{name:\"Mintchain Testnet explorer\",url:\"https://testnet-explorer.mintchain.io\"}},testnet:!0})});var fCe,pCe=x(()=>{u();T();fCe=g({id:124832,name:\"Mitosis Testnet\",nativeCurrency:{name:\"MITO\",symbol:\"MITO\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.mitosis.org\"]}},blockExplorers:{default:{name:\"Mitosis testnet explorer\",url:\"https://testnet.mitosiscan.xyz\"}},testnet:!0})});var B5,mCe,hCe=x(()=>{u();at();T();B5=1,mCe=g({...me,id:34443,name:\"Mode Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.mode.network\"]}},blockExplorers:{default:{name:\"Modescan\",url:\"https://modescan.io\"}},contracts:{...me.contracts,disputeGameFactory:{[B5]:{address:\"0x6f13EFadABD9269D6cEAd22b448d434A1f1B433E\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:2465882},l2OutputOracle:{[B5]:{address:\"0x4317ba146D4933D889518a3e5E11Fe7a53199b04\"}},portal:{[B5]:{address:\"0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07\"}},l1StandardBridge:{[B5]:{address:\"0x735aDBbE72226BD52e818E7181953f42E3b0FF21\"}}},sourceId:B5})});var MP,yCe,bCe=x(()=>{u();at();T();MP=11155111,yCe=g({...me,id:919,name:\"Mode Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.mode.network\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://sepolia.explorer.mode.network\",apiUrl:\"https://sepolia.explorer.mode.network/api\"}},contracts:{...me.contracts,l2OutputOracle:{[MP]:{address:\"0x2634BD65ba27AB63811c74A63118ACb312701Bfa\",blockCreated:3778393}},portal:{[MP]:{address:\"0x320e1580effF37E008F1C92700d1eBa47c1B23fD\",blockCreated:3778395}},l1StandardBridge:{[MP]:{address:\"0xbC5C679879B2965296756CD959C3C739769995E2\",blockCreated:3778392}},multicall3:{address:\"0xBAba8373113Fb7a68f195deF18732e01aF8eDfCF\",blockCreated:3019007}},testnet:!0,sourceId:MP})});var gCe,xCe=x(()=>{u();T();gCe=g({id:143,name:\"Monad\",blockTime:400,nativeCurrency:{name:\"Monad\",symbol:\"MON\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.monad.xyz\",\"https://rpc1.monad.xyz\"],webSocket:[\"wss://rpc.monad.xyz\",\"wss://rpc1.monad.xyz\"]}},blockExplorers:{default:{name:\"MonadVision\",url:\"https://monadvision.com\"},monadscan:{name:\"Monadscan\",url:\"https://monadscan.com\",apiUrl:\"https://api.monadscan.com/api\"}},testnet:!1,contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:9248132}}})});var vCe,wCe=x(()=>{u();T();vCe=g({id:10143,name:\"Monad Testnet\",blockTime:400,nativeCurrency:{name:\"Testnet MON Token\",symbol:\"MON\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.monad.xyz\"]}},blockExplorers:{default:{name:\"Monad Testnet explorer\",url:\"https://testnet.monadexplorer.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:251449}},testnet:!0})});var ECe,_Ce=x(()=>{u();T();ECe=g({id:1287,name:\"Moonbase Alpha\",nativeCurrency:{decimals:18,name:\"DEV\",symbol:\"DEV\"},rpcUrls:{default:{http:[\"https://rpc.api.moonbase.moonbeam.network\"],webSocket:[\"wss://wss.api.moonbase.moonbeam.network\"]}},blockExplorers:{default:{name:\"Moonscan\",url:\"https://moonbase.moonscan.io\",apiUrl:\"https://moonbase.moonscan.io/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1850686}},testnet:!0})});var SCe,ACe=x(()=>{u();T();SCe=g({id:1284,name:\"Moonbeam\",nativeCurrency:{decimals:18,name:\"Moonbeam\",symbol:\"GLMR\"},rpcUrls:{default:{http:[\"https://rpc.api.moonbeam.network\"],webSocket:[\"wss://wss.api.moonbeam.network\"]}},blockExplorers:{default:{name:\"Moonscan\",url:\"https://moonscan.io\",apiUrl:\"https://api-moonbeam.moonscan.io/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:609002}},testnet:!1})});var kCe,CCe=x(()=>{u();T();kCe=g({id:1281,name:\"Moonbeam Development Node\",nativeCurrency:{decimals:18,name:\"DEV\",symbol:\"DEV\"},rpcUrls:{default:{http:[\"http://127.0.0.1:9944\"],webSocket:[\"wss://127.0.0.1:9944\"]}}})});var TCe,ICe=x(()=>{u();T();TCe=g({id:1285,name:\"Moonriver\",nativeCurrency:{decimals:18,name:\"Moonriver\",symbol:\"MOVR\"},rpcUrls:{default:{http:[\"https://rpc.api.moonriver.moonbeam.network\"],webSocket:[\"wss://wss.api.moonriver.moonbeam.network\"]}},blockExplorers:{default:{name:\"Moonscan\",url:\"https://moonriver.moonscan.io\",apiUrl:\"https://api-moonriver.moonscan.io/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1597904}},testnet:!1})});var PCe,RCe=x(()=>{u();T();PCe=g({id:2818,name:\"Morph\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.morphl2.io\"],webSocket:[\"wss://rpc.morphl2.io:8443\"]}},blockExplorers:{default:{name:\"Morph Explorer\",url:\"https://explorer.morphl2.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3654913}},testnet:!1})});var OCe,BCe=x(()=>{u();T();OCe=g({id:2810,name:\"Morph Holesky\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-quicknode-holesky.morphl2.io\"],webSocket:[\"wss://rpc-quicknode-holesky.morphl2.io\"]}},blockExplorers:{default:{name:\"Morph Holesky Explorer\",url:\"https://explorer-holesky.morphl2.io\",apiUrl:\"https://explorer-api-holesky.morphl2.io/api?\"}},testnet:!0})});var MCe,DCe=x(()=>{u();T();MCe=g({id:2710,name:\"Morph Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-testnet.morphl2.io\"]}},blockExplorers:{default:{name:\"Morph Testnet Explorer\",url:\"https://explorer-testnet.morphl2.io\",apiUrl:\"https://explorer-api-testnet.morphl2.io/api\"}},testnet:!0})});var NCe,UCe=x(()=>{u();T();NCe=g({id:5551,name:\"Nahmii 2 Mainnet\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://l2.nahmii.io\"]}},blockExplorers:{default:{name:\"Nahmii 2 Explorer\",url:\"https://explorer.n2.nahmii.io\"}},testnet:!1})});var $Ce,zCe=x(()=>{u();T();$Ce=g({id:22222,name:\"Nautilus Mainnet\",nativeCurrency:{name:\"ZBC\",symbol:\"ZBC\",decimals:9},rpcUrls:{default:{http:[\"https://api.nautilus.nautchain.xyz\"]}},blockExplorers:{default:{name:\"NautScan\",url:\"https://nautscan.com\"}}})});var LCe,HCe=x(()=>{u();T();LCe=g({id:397,name:\"NEAR Protocol\",nativeCurrency:{decimals:18,name:\"NEAR\",symbol:\"NEAR\"},rpcUrls:{default:{http:[\"https://eth-rpc.mainnet.near.org\"]}},blockExplorers:{default:{name:\"NEAR Explorer\",url:\"https://eth-explorer.near.org\"}},testnet:!1})});var jCe,FCe=x(()=>{u();T();jCe=g({id:398,name:\"NEAR Protocol Testnet\",nativeCurrency:{decimals:18,name:\"NEAR\",symbol:\"NEAR\"},rpcUrls:{default:{http:[\"https://eth-rpc.testnet.near.org\"]}},blockExplorers:{default:{name:\"NEAR Explorer\",url:\"https://eth-explorer-testnet.near.org\"}},testnet:!0})});var VCe,qCe=x(()=>{u();T();VCe=g({id:245022926,name:\"Neon EVM DevNet\",nativeCurrency:{name:\"NEON\",symbol:\"NEON\",decimals:18},rpcUrls:{default:{http:[\"https://devnet.neonevm.org\"]}},blockExplorers:{default:{name:\"Neonscan\",url:\"https://devnet.neonscan.org\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:205206112}},testnet:!0})});var GCe,KCe=x(()=>{u();T();GCe=g({id:245022934,network:\"neonMainnet\",name:\"Neon EVM MainNet\",nativeCurrency:{name:\"NEON\",symbol:\"NEON\",decimals:18},rpcUrls:{default:{http:[\"https://neon-proxy-mainnet.solana.p2p.org\"]}},blockExplorers:{default:{name:\"Neonscan\",url:\"https://neonscan.org\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:206545524}},testnet:!1})});var ZCe,WCe=x(()=>{u();T();ZCe=g({id:47763,name:\"Neo X Mainnet\",nativeCurrency:{name:\"Gas\",symbol:\"GAS\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet-1.rpc.banelabs.org\",\"https://mainnet-2.rpc.banelabs.org\"]}},blockExplorers:{default:{name:\"Neo X - Explorer\",url:\"https://xexplorer.neo.org\"}},testnet:!1})});var JCe,QCe=x(()=>{u();T();JCe=g({id:12227332,name:\"Neo X Testnet T4\",nativeCurrency:{name:\"Gas\",symbol:\"GAS\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.rpc.banelabs.org/\"]}},blockExplorers:{default:{name:\"neox-scan\",url:\"https://xt4scan.ngd.network\"}},testnet:!0})});var YCe,XCe=x(()=>{u();T();YCe=g({id:1012,name:\"Newton\",nativeCurrency:{name:\"Newton\",symbol:\"NEW\",decimals:18},rpcUrls:{default:{http:[\"https://global.rpc.mainnet.newtonproject.org\"]}},blockExplorers:{default:{name:\"NewFi explorer\",url:\"https://explorer.newtonproject.org/\"}},testnet:!1})});var e8e,t8e=x(()=>{u();T();e8e=g({id:4242,name:\"Nexi\",nativeCurrency:{name:\"Nexi\",symbol:\"NEXI\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.chain.nexi.technology\"]}},blockExplorers:{default:{name:\"NexiScan\",url:\"https://www.nexiscan.com\",apiUrl:\"https://www.nexiscan.com/api\"}},contracts:{multicall3:{address:\"0x0277A46Cc69A57eE3A6C8c158bA874832F718B8E\",blockCreated:25770160}}})});var r8e,n8e=x(()=>{u();T();r8e=g({id:240,name:\"Nexilix Smart Chain\",nativeCurrency:{decimals:18,name:\"Nexilix\",symbol:\"NEXILIX\"},rpcUrls:{default:{http:[\"https://rpcurl.pos.nexilix.com\"]}},blockExplorers:{default:{name:\"NexilixScan\",url:\"https://scan.nexilix.com\"}},contracts:{multicall3:{address:\"0x58381c8e2BF9d0C2C4259cA14BdA9Afe02831244\",blockCreated:74448}}})});var o8e,i8e=x(()=>{u();T();o8e=g({id:6900,name:\"Nibiru\",nativeCurrency:{decimals:18,name:\"NIBI\",symbol:\"NIBI\"},rpcUrls:{default:{http:[\"https://evm-rpc.nibiru.fi\"]}},blockExplorers:{default:{name:\"NibiScan\",url:\"https://nibiscan.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:19587573}}})});var a8e,s8e=x(()=>{u();T();a8e=g({id:200024,name:\"Nitrograph Testnet\",testnet:!0,rpcUrls:{default:{http:[\"https://rpc-testnet.nitrograph.foundation\"]}},nativeCurrency:{name:\"Nitro\",symbol:\"NOS\",decimals:18},blockExplorers:{default:{url:\"https://explorer-testnet.nitrograph.foundation\",name:\"Nitrograph Explorer\"}}})});var c8e,u8e=x(()=>{u();T();c8e=g({id:166,name:\"Nomina\",nativeCurrency:{name:\"Nomina\",symbol:\"NOM\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.nomina.io\"],webSocket:[\"wss://mainnet.nomina.io\"]}},blockExplorers:{default:{name:\"Nomina Explorer\",url:\"https://nomscan.io\"}},testnet:!1})});var l8e,d8e=x(()=>{u();T();l8e=g({id:4090,network:\"oasis-testnet\",name:\"Oasis Testnet\",nativeCurrency:{name:\"Fasttoken\",symbol:\"FTN\",decimals:18},rpcUrls:{default:{http:[\"https://rpc1.oasis.bahamutchain.com\"]}},blockExplorers:{default:{name:\"Ftnscan\",url:\"https://oasis.ftnscan.com\",apiUrl:\"https://oasis.ftnscan.com/api\"}},testnet:!0})});var f8e,p8e=x(()=>{u();T();f8e=g({id:248,name:\"Oasys\",nativeCurrency:{name:\"Oasys\",symbol:\"OAS\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mainnet.oasys.games\"]}},blockExplorers:{default:{name:\"OasysScan\",url:\"https://scan.oasys.games\",apiUrl:\"https://scan.oasys.games/api\"}}})});var m8e,h8e=x(()=>{u();T();m8e=g({id:911867,name:\"Odyssey Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://odyssey.ithaca.xyz\"]}},blockExplorers:{default:{name:\"Odyssey Explorer\",url:\"https://odyssey-explorer.ithaca.xyz\",apiUrl:\"https://odyssey-explorer.ithaca.xyz/api\"}},testnet:!0})});var y8e,b8e=x(()=>{u();T();y8e=g({id:66,name:\"OKC\",nativeCurrency:{decimals:18,name:\"OKT\",symbol:\"OKT\"},rpcUrls:{default:{http:[\"https://exchainrpc.okex.org\"]}},blockExplorers:{default:{name:\"oklink\",url:\"https://www.oklink.com/okc\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:10364792}}})});var g8e,x8e=x(()=>{u();T();g8e=g({id:311,name:\"Omax Mainnet\",nativeCurrency:{decimals:18,name:\"OMAX\",symbol:\"OMAX\"},rpcUrls:{default:{http:[\"https://mainapi.omaxray.com\"]}},blockExplorers:{default:{name:\"Omax Explorer\",url:\"https://omaxscan.com\"}},testnet:!1})});var v8e,w8e=x(()=>{u();T();v8e=g({id:166,name:\"Omni\",nativeCurrency:{name:\"Omni\",symbol:\"OMNI\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.omni.network\"],webSocket:[\"wss://mainnet.omni.network\"]}},blockExplorers:{default:{name:\"OmniScan\",url:\"https://omniscan.network\"}},testnet:!1})});var E8e,_8e=x(()=>{u();T();E8e=g({id:164,name:\"Omni Omega\",nativeCurrency:{name:\"Omni\",symbol:\"OMNI\",decimals:18},rpcUrls:{default:{http:[\"https://omega.omni.network\"],webSocket:[\"wss://omega.omni.network\"]}},blockExplorers:{default:{name:\"Omega OmniScan\",url:\"https://omega.omniscan.network/\"}},testnet:!0})});var S8e,A8e=x(()=>{u();T();S8e=g({id:309075,name:\"One World Chain Mainnet\",nativeCurrency:{decimals:18,name:\"OWCT\",symbol:\"OWCT\"},rpcUrls:{default:{http:[\"https://mainnet-rpc.oneworldchain.org\"]}},blockExplorers:{default:{name:\"One World Explorer\",url:\"https://mainnet.oneworldchain.org\"}},testnet:!1})});var k8e,C8e=x(()=>{u();T();k8e=g({id:9700,name:\"OORT MainnetDev\",nativeCurrency:{decimals:18,name:\"OORT\",symbol:\"OORT\"},rpcUrls:{default:{http:[\"https://dev-rpc.oortech.com\"]}},blockExplorers:{default:{name:\"OORT MainnetDev Explorer\",url:\"https://dev-scan.oortech.com\"}}})});var DP,T8e,I8e=x(()=>{u();at();T();DP=56,T8e=g({id:204,name:\"opBNB\",nativeCurrency:{name:\"BNB\",symbol:\"BNB\",decimals:18},rpcUrls:{default:{http:[\"https://opbnb-mainnet-rpc.bnbchain.org\"]}},blockExplorers:{default:{name:\"opBNB (BSCScan)\",url:\"https://opbnb.bscscan.com\",apiUrl:\"https://api-opbnb.bscscan.com/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:512881},l2OutputOracle:{[DP]:{address:\"0x153CAB79f4767E2ff862C94aa49573294B13D169\"}},portal:{[DP]:{address:\"0x1876EA7702C0ad0C6A2ae6036DE7733edfBca519\"}},l1StandardBridge:{[DP]:{address:\"0xF05F0e4362859c3331Cb9395CBC201E3Fa6757Ea\"}}},sourceId:DP})});var NP,P8e,R8e=x(()=>{u();at();T();NP=97,P8e=g({id:5611,name:\"opBNB Testnet\",nativeCurrency:{decimals:18,name:\"tBNB\",symbol:\"tBNB\"},rpcUrls:{default:{http:[\"https://opbnb-testnet-rpc.bnbchain.org\"]}},blockExplorers:{default:{name:\"opbnbscan\",url:\"https://testnet.opbnbscan.com\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3705108},l2OutputOracle:{[NP]:{address:\"0xFf2394Bb843012562f4349C6632a0EcB92fC8810\"}},portal:{[NP]:{address:\"0x4386C8ABf2009aC0c263462Da568DD9d46e52a31\"}},l1StandardBridge:{[NP]:{address:\"0x677311Fd2cCc511Bbc0f581E8d9a07B033D5E840\"}}},testnet:!0,sourceId:NP})});var O8e,B8e=x(()=>{u();T();O8e=g({id:1612,name:\"OpenLedger\",nativeCurrency:{name:\"Open\",symbol:\"OPEN\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.openledger.xyz\"]}},blockExplorers:{default:{name:\"OpenLedger Explorer\",url:\"https://scan.openledger.xyz\"}},testnet:!1})});var M5,M8e,D8e=x(()=>{u();at();T();M5=1,M8e=g({...me,id:10,name:\"OP Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.optimism.io\"]}},blockExplorers:{default:{name:\"Optimism Explorer\",url:\"https://optimistic.etherscan.io\",apiUrl:\"https://api-optimistic.etherscan.io/api\"}},contracts:{...me.contracts,disputeGameFactory:{[M5]:{address:\"0xe5965Ab5962eDc7477C8520243A95517CD252fA9\"}},l2OutputOracle:{[M5]:{address:\"0xdfe97868233d1aa22e815a266982f2cf17685a27\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:4286263},portal:{[M5]:{address:\"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed\"}},l1StandardBridge:{[M5]:{address:\"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1\"}}},sourceId:M5})});var UP,N8e,U8e=x(()=>{u();at();T();UP=5,N8e=g({...me,id:420,name:\"Optimism Goerli\",nativeCurrency:{name:\"Goerli Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://goerli.optimism.io\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://goerli-optimism.etherscan.io\",apiUrl:\"https://goerli-optimism.etherscan.io/api\"}},contracts:{...me.contracts,l2OutputOracle:{[UP]:{address:\"0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:49461},portal:{[UP]:{address:\"0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383\"}},l1StandardBridge:{[UP]:{address:\"0x636Af16bf2f682dD3109e60102b8E1A089FedAa8\"}}},testnet:!0,sourceId:UP})});var D5,$8e,z8e=x(()=>{u();at();T();D5=11155111,$8e=g({...me,id:11155420,name:\"OP Sepolia\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.optimism.io\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://optimism-sepolia.blockscout.com\",apiUrl:\"https://optimism-sepolia.blockscout.com/api\"}},contracts:{...me.contracts,disputeGameFactory:{[D5]:{address:\"0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1\"}},l2OutputOracle:{[D5]:{address:\"0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1620204},portal:{[D5]:{address:\"0x16Fc5058F25648194471939df75CF27A2fdC48BC\"}},l1StandardBridge:{[D5]:{address:\"0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1\"}}},testnet:!0,sourceId:D5})});var L8e,H8e=x(()=>{u();T();L8e=g({id:62050,name:\"Optopia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-mainnet.optopia.ai\"]}},blockExplorers:{default:{name:\"Optopia Explorer\",url:\"https://scan.optopia.ai\"}},testnet:!1})});var j8e,F8e=x(()=>{u();T();j8e=g({id:62049,name:\"Optopia Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-testnet.optopia.ai\"]}},blockExplorers:{default:{name:\"Optopia Explorer\",url:\"https://scan-testnet.optopia.ai\"}},testnet:!0})});var V8e,q8e=x(()=>{u();T();V8e=g({id:291,name:\"Orderly\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.orderly.network\"]}},blockExplorers:{default:{name:\"Orderly Explorer\",url:\"https://explorer.orderly.network\"}},testnet:!1})});var G8e,K8e=x(()=>{u();T();G8e=g({id:4460,name:\"Orderly Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://l2-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz\"]}},blockExplorers:{default:{name:\"Orderly Explorer\",url:\"https://explorerl2new-orderly-l2-4460-sepolia-8tc3sd7dvy.t.conduit.xyz\"}},testnet:!0})});var Z8e,W8e=x(()=>{u();T();Z8e=g({id:41144114,name:\"Otim Devnet\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"http://devnet.otim.xyz\"]}},contracts:{batchInvoker:{address:\"0x5FbDB2315678afecb367f032d93F642f64180aa3\"}},testnet:!0})});var J8e,Q8e=x(()=>{u();T();J8e=g({id:11297108109,name:\"Palm\",nativeCurrency:{decimals:18,name:\"PALM\",symbol:\"PALM\"},rpcUrls:{default:{http:[\"https://palm-mainnet.public.blastapi.io\"],webSocket:[\"wss://palm-mainnet.public.blastapi.io\"]}},blockExplorers:{default:{name:\"Chainlens\",url:\"https://palm.chainlens.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:15429248}}})});var Y8e,X8e=x(()=>{u();T();Y8e=g({id:11297108099,name:\"Palm Testnet\",nativeCurrency:{decimals:18,name:\"PALM\",symbol:\"PALM\"},rpcUrls:{default:{http:[\"https://palm-mainnet.public.blastapi.io\"],webSocket:[\"wss://palm-mainnet.public.blastapi.io\"]}},blockExplorers:{default:{name:\"Chainlens\",url:\"https://palm.chainlens.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:15429248}},testnet:!0})});var eTe,tTe=x(()=>{u();T();eTe=g({id:420420422,name:\"Paseo PassetHub\",nativeCurrency:{name:\"PAS\",symbol:\"PAS\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-passet-hub-eth-rpc.polkadot.io\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://blockscout-passet-hub.parity-testnet.parity.io\"}},testnet:!0})});var rTe,nTe=x(()=>{u();T();rTe=g({id:3338,name:\"Peaq\",nativeCurrency:{decimals:18,name:\"peaq\",symbol:\"PEAQ\"},rpcUrls:{default:{http:[\"https://quicknode1.peaq.xyz\",\"https://quicknode2.peaq.xyz\",\"https://quicknode3.peaq.xyz\"],webSocket:[\"wss://quicknode1.peaq.xyz\",\"wss://quicknode2.peaq.xyz\",\"wss://quicknode3.peaq.xyz\"]}},blockExplorers:{default:{name:\"Subscan\",url:\"https://peaq.subscan.io\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:3566354}}})});var $P,oTe,iTe=x(()=>{u();mP();T();$P=1,oTe=g({id:424,network:\"pgn\",name:\"PGN\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.publicgoods.network\"]}},blockExplorers:{default:{name:\"PGN Explorer\",url:\"https://explorer.publicgoods.network\",apiUrl:\"https://explorer.publicgoods.network/api\"}},contracts:{l2OutputOracle:{[$P]:{address:\"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3380209},portal:{[$P]:{address:\"0xb26Fd985c5959bBB382BAFdD0b879E149e48116c\"}},l1StandardBridge:{[$P]:{address:\"0xD0204B9527C1bA7bD765Fa5CCD9355d38338272b\"}}},formatters:Zv,sourceId:$P})});var zP,aTe,sTe=x(()=>{u();mP();T();zP=11155111,aTe=g({id:58008,network:\"pgn-testnet\",name:\"PGN\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.publicgoods.network\"]}},blockExplorers:{default:{name:\"PGN Testnet Explorer\",url:\"https://explorer.sepolia.publicgoods.network\",apiUrl:\"https://explorer.sepolia.publicgoods.network/api\"}},contracts:{l2OutputOracle:{[zP]:{address:\"0xD5bAc3152ffC25318F848B3DD5dA6C85171BaEEe\"}},portal:{[zP]:{address:\"0xF04BdD5353Bb0EFF6CA60CfcC78594278eBfE179\"}},l1StandardBridge:{[zP]:{address:\"0xFaE6abCAF30D23e233AC7faF747F2fC3a5a6Bfa3\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3754925}},formatters:Zv,sourceId:zP,testnet:!0})});var cTe,uTe=x(()=>{u();T();cTe=g({id:13381,name:\"Phoenix Blockchain\",nativeCurrency:{name:\"Phoenix\",symbol:\"PHX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.phoenixplorer.com\"]}},blockExplorers:{default:{name:\"Phoenixplorer\",url:\"https://phoenixplorer.com\",apiUrl:\"https://phoenixplorer.com/api\"}},contracts:{multicall3:{address:\"0x498cF757a575cFF2c2Ed9f532f56Efa797f86442\",blockCreated:5620192}}})});var lTe,dTe=x(()=>{u();T();lTe=g({id:7070,name:\"Planq Mainnet\",nativeCurrency:{decimals:18,name:\"PLQ\",symbol:\"PLQ\"},rpcUrls:{default:{http:[\"https://planq-rpc.nodies.app\",\"https://evm-rpc.planq.network\",\"https://jsonrpc.planq.nodestake.top\"]}},blockExplorers:{default:{name:\"Planq Explorer\",url:\"https://evm.planq.network\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:8470015}},testnet:!1})});var fTe,pTe=x(()=>{u();T();fTe=g({id:9745,name:\"Plasma\",blockTime:1e3,nativeCurrency:{name:\"Plasma\",symbol:\"XPL\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.plasma.to\"]}},blockExplorers:{default:{name:\"PlasmaScan\",url:\"https://plasmascan.to\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}}})});var mTe,hTe=x(()=>{u();T();mTe=g({id:9747,name:\"Plasma Devnet\",nativeCurrency:{name:\"Devnet Plasma\",symbol:\"XPL\",decimals:18},rpcUrls:{default:{http:[\"https://devnet-rpc.plasma.to\"]}},testnet:!0,contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}}})});var yTe,bTe=x(()=>{u();T();yTe=g({id:9746,name:\"Plasma Testnet\",nativeCurrency:{name:\"Testnet Plasma\",symbol:\"XPL\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.plasma.to\"]}},blockExplorers:{default:{name:\"RouteScan\",url:\"https://testnet.plasmascan.to\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}},testnet:!0})});var gTe,xTe=x(()=>{u();T();Pa();gTe=g({...gn,id:1612127,name:\"PlayFi Albireo Testnet\",network:\"albireo\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://albireo-rpc.playfi.ai\"],webSocket:[\"wss://albireo-rpc-ws.playfi.ai/ws\"]}},blockExplorers:{default:{name:\"PlayFi Albireo Explorer\",url:\"https://albireo-explorer.playfi.ai\"}},contracts:{multicall3:{address:\"0xF9cda624FBC7e059355ce98a31693d299FACd963\"}},testnet:!0})});var vTe,wTe=x(()=>{u();T();vTe=g({id:242,name:\"Plinga\",nativeCurrency:{name:\"Plinga\",symbol:\"PLINGA\",decimals:18},rpcUrls:{default:{http:[\"https://rpcurl.mainnet.plgchain.com\"]}},blockExplorers:{default:{name:\"Plgscan\",url:\"https://www.plgscan.com\"}},contracts:{multicall3:{address:\"0x0989576160f2e7092908BB9479631b901060b6e4\",blockCreated:204489}}})});var ebt,ETe,_Te=x(()=>{u();T();ebt=1,ETe=g({id:98865,name:\"Plume (Legacy)\",nativeCurrency:{name:\"Plume Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.plumenetwork.xyz\"],webSocket:[\"wss://rpc.plumenetwork.xyz\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.plumenetwork.xyz\",apiUrl:\"https://explorer.plumenetwork.xyz/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:48577}},sourceId:ebt})});var tbt,STe,ATe=x(()=>{u();T();tbt=11155111,STe=g({id:98864,name:\"Plume Devnet (Legacy)\",nativeCurrency:{name:\"Plume Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://test-rpc.plumenetwork.xyz\"],webSocket:[\"wss://test-rpc.plumenetwork.xyz\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://test-explorer.plumenetwork.xyz\",apiUrl:\"https://test-explorer.plumenetwork.xyz/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:481948}},testnet:!0,sourceId:tbt})});var rbt,kTe,CTe=x(()=>{u();T();rbt=1,kTe=g({id:98866,name:\"Plume\",nativeCurrency:{name:\"Plume\",symbol:\"PLUME\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.plume.org\"],webSocket:[\"wss://rpc.plume.org\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.plume.org\",apiUrl:\"https://explorer.plume.org/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:39679}},sourceId:rbt})});var nbt,TTe,ITe=x(()=>{u();T();nbt=11155111,TTe=g({id:98867,name:\"Plume Testnet\",nativeCurrency:{name:\"Plume\",symbol:\"PLUME\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.plume.org\"],webSocket:[\"wss://testnet-rpc.plume.org\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://testnet-explorer.plume.org\",apiUrl:\"https://testnet-explorer.plume.org/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:199712}},testnet:!0,sourceId:nbt})});var obt,PTe,RTe=x(()=>{u();T();obt=11155111,PTe=g({id:161221135,name:\"Plume Testnet (Legacy)\",nativeCurrency:{name:\"Plume Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.plumenetwork.xyz/http\"],webSocket:[\"wss://testnet-rpc.plumenetwork.xyz/ws\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://testnet-explorer.plumenetwork.xyz\",apiUrl:\"https://testnet-explorer.plumenetwork.xyz/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:6022332}},testnet:!0,sourceId:obt})});var OTe,BTe=x(()=>{u();T();OTe=g({id:631571,name:\"Polter Testnet\",nativeCurrency:{decimals:18,name:\"Polter GHST\",symbol:\"GHST\"},rpcUrls:{default:{http:[\"https://geist-polter.g.alchemy.com/public\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://polter-testnet.explorer.alchemy.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:11245}},testnet:!0})});var MTe,DTe=x(()=>{u();T();MTe=g({id:137,name:\"Polygon\",blockTime:2e3,nativeCurrency:{name:\"POL\",symbol:\"POL\",decimals:18},rpcUrls:{default:{http:[\"https://polygon.drpc.org\"]}},blockExplorers:{default:{name:\"PolygonScan\",url:\"https://polygonscan.com\",apiUrl:\"https://api.etherscan.io/v2/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:25770160}}})});var NTe,UTe=x(()=>{u();T();NTe=g({id:80002,name:\"Polygon Amoy\",nativeCurrency:{name:\"POL\",symbol:\"POL\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-amoy.polygon.technology\"]}},blockExplorers:{default:{name:\"PolygonScan\",url:\"https://amoy.polygonscan.com\",apiUrl:\"https://api.etherscan.io/v2/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:3127388}},testnet:!0})});var $Te,zTe=x(()=>{u();T();$Te=g({id:80001,name:\"Polygon Mumbai\",nativeCurrency:{name:\"MATIC\",symbol:\"MATIC\",decimals:18},rpcUrls:{default:{http:[\"https://80001.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"PolygonScan\",url:\"https://mumbai.polygonscan.com\",apiUrl:\"https://api-testnet.polygonscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:25770160}},testnet:!0})});var LTe,HTe=x(()=>{u();T();LTe=g({id:1101,name:\"Polygon zkEVM\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://zkevm-rpc.com\"]}},blockExplorers:{default:{name:\"PolygonScan\",url:\"https://zkevm.polygonscan.com\",apiUrl:\"https://api-zkevm.polygonscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:57746}}})});var jTe,FTe=x(()=>{u();T();jTe=g({id:2442,name:\"Polygon zkEVM Cardona\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.cardona.zkevm-rpc.com\"]}},blockExplorers:{default:{name:\"PolygonScan\",url:\"https://cardona-zkevm.polygonscan.com\",apiUrl:\"https://cardona-zkevm.polygonscan.com/api\"}},testnet:!0,contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:114091}}})});var VTe,qTe=x(()=>{u();T();VTe=g({id:1442,name:\"Polygon zkEVM Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.public.zkevm-test.net\"]}},blockExplorers:{default:{name:\"PolygonScan\",url:\"https://testnet-zkevm.polygonscan.com\",apiUrl:\"https://testnet-zkevm.polygonscan.com/api\"}},testnet:!0,contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:525686}}})});var GTe,KTe=x(()=>{u();T();GTe=g({id:8008,name:\"Polynomial\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.polynomial.fi\"]}},blockExplorers:{default:{name:\"Polynomial Scan\",url:\"https://polynomialscan.io\"}},testnet:!1,contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"}}})});var ZTe,WTe=x(()=>{u();T();ZTe=g({id:80008,name:\"Polynomia Sepolia\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.sepolia.polynomial.fi\"]}},blockExplorers:{default:{name:\"Polynomial Scan\",url:\"https://sepolia.polynomialscan.io\"}},testnet:!0,contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"}}})});var JTe,QTe=x(()=>{u();T();JTe=g({id:60603,name:\"POTOS Mainnet\",nativeCurrency:{decimals:18,name:\"POTOS Token\",symbol:\"POT\"},rpcUrls:{default:{http:[\"https://rpc.potos.hk\"]}},blockExplorers:{default:{name:\"POTOS Mainnet explorer\",url:\"https://scan.potos.hk\"}},testnet:!1})});var YTe,XTe=x(()=>{u();T();YTe=g({id:60600,name:\"POTOS Testnet\",nativeCurrency:{decimals:18,name:\"POTOS Token\",symbol:\"POT\"},rpcUrls:{default:{http:[\"https://rpc-testnet.potos.hk\"]}},blockExplorers:{default:{name:\"POTOS Testnet explorer\",url:\"https://scan-testnet.potos.hk\"}},testnet:!0})});var e4e,t4e=x(()=>{u();T();e4e=g({id:23023,name:\"PremiumBlock Testnet\",nativeCurrency:{name:\"Premium Block\",symbol:\"PBLK\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.premiumblock.org\"]}},blockExplorers:{default:{name:\"PremiumBlocks Explorer\",url:\"https://scan.premiumblock.org\"}},testnet:!0})});var r4e,n4e=x(()=>{u();T();r4e=g({id:369,name:\"PulseChain\",nativeCurrency:{name:\"Pulse\",symbol:\"PLS\",decimals:18},testnet:!1,blockTime:1e4,rpcUrls:{default:{http:[\"https://rpc.pulsechain.com\"],webSocket:[\"wss://ws.pulsechain.com\"]}},blockExplorers:{default:{name:\"PulseScan\",url:\"https://ipfs.scan.pulsechain.com\",apiUrl:\"https://api.scan.pulsechain.com/api\"}},contracts:{ensRegistry:{address:\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:14353601}}})});var o4e,i4e=x(()=>{u();T();o4e=g({id:943,name:\"PulseChain V4\",testnet:!0,nativeCurrency:{name:\"V4 Pulse\",symbol:\"v4PLS\",decimals:18},blockTime:1e4,rpcUrls:{default:{http:[\"https://rpc.v4.testnet.pulsechain.com\"],webSocket:[\"wss://ws.v4.testnet.pulsechain.com\"]}},blockExplorers:{default:{name:\"PulseScan\",url:\"https://scan.v4.testnet.pulsechain.com\",apiUrl:\"https://scan.v4.testnet.pulsechain.com/api\"}},contracts:{ensRegistry:{address:\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:14353601}}})});var a4e,s4e=x(()=>{u();T();a4e=g({id:490092,name:\"Pumpfi Testnet\",nativeCurrency:{decimals:18,name:\"PMPT\",symbol:\"PMPT\"},rpcUrls:{default:{http:[\"https://rpc1testnet.pumpfi.me\"]}},blockExplorers:{default:{name:\"Pumpfi Testnet Scan\",url:\"https://testnetscan.pumpfi.me\"}},testnet:!0})});var c4e,u4e,l4e=x(()=>{u();at();T();c4e=11155111,u4e=g({...me,name:\"Pyrope Testnet\",testnet:!0,id:695569,sourceId:c4e,nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.pyropechain.com\"],webSocket:[\"wss://rpc.pyropechain.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://pyrope.blockscout.com\"}},contracts:{...me.contracts,l1StandardBridge:{[c4e]:{address:\"0xC24932c31D9621aE9e792576152B7ef010cFC2F8\"}}}})});var d4e,f4e=x(()=>{u();T();d4e=g({id:766,name:\"QL1\",nativeCurrency:{decimals:18,name:\"QOM\",symbol:\"QOM\"},rpcUrls:{default:{http:[\"https://rpc.qom.one\"]}},blockExplorers:{default:{name:\"Ql1 Explorer\",url:\"https://scan.qom.one\"}},contracts:{multicall3:{address:\"0x7A52370716ea730585884F5BDB0f6E60C39b8C64\"}},testnet:!1})});var p4e,m4e=x(()=>{u();T();p4e=g({id:35441,name:\"Q Mainnet\",nativeCurrency:{decimals:18,name:\"Q\",symbol:\"Q\"},rpcUrls:{default:{http:[\"https://rpc.q.org\"]}},blockExplorers:{default:{name:\"Q Mainnet Explorer\",url:\"https://explorer.q.org\",apiUrl:\"https://explorer.q.org/api\"}}})});var h4e,y4e=x(()=>{u();T();h4e=g({id:35443,name:\"Q Testnet\",nativeCurrency:{decimals:18,name:\"Q\",symbol:\"Q\"},rpcUrls:{default:{http:[\"https://rpc.qtestnet.org\"]}},blockExplorers:{default:{name:\"Q Testnet Explorer\",url:\"https://explorer.qtestnet.org\",apiUrl:\"https://explorer.qtestnet.org/api\"}},testnet:!0})});var b4e,g4e=x(()=>{u();T();b4e=g({id:9,name:\"Quai Network Mainnet\",nativeCurrency:{decimals:18,name:\"Quai\",symbol:\"QUAI\"},rpcUrls:{default:{http:[\"https://rpc.quai.network/cyprus1\"]}},blockExplorers:{default:{name:\"Quaiscan\",url:\"https://quaiscan.io\",apiUrl:\"https://quaiscan.io/api\"}},testnet:!1})});var x4e,v4e=x(()=>{u();T();x4e=g({id:15e3,name:\"Quai Network Testnet\",nativeCurrency:{decimals:18,name:\"Quai\",symbol:\"QUAI\"},rpcUrls:{default:{http:[\"https://orchard.rpc.quai.network/cyprus1\"]}},blockExplorers:{default:{name:\"Orchard Quaiscan\",url:\"https://orchard.quaiscan.io\",apiUrl:\"https://orchard.quaiscan.io/api\"}},testnet:!0})});var w4e,E4e=x(()=>{u();T();w4e=g({id:723487,name:\"Radius Network\",nativeCurrency:{name:\"Radius USD\",symbol:\"RUSD\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.radiustech.xyz\"]}},blockExplorers:{default:{name:\"Radius Network Explorer\",url:\"https://network.radiustech.xyz\"}},testnet:!1})});var _4e,S4e=x(()=>{u();T();_4e=g({id:72344,name:\"Radius Test Network\",nativeCurrency:{name:\"Radius USD\",symbol:\"RUSD\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.radiustech.xyz\"]}},blockExplorers:{default:{name:\"Radius Test Network Explorer\",url:\"https://testnet.radiustech.xyz\"}},testnet:!0})});var A4e,k4e=x(()=>{u();T();A4e=g({id:5318007,name:\"Reactive Lasna Testnet\",nativeCurrency:{decimals:18,name:\"Lasna React\",symbol:\"lREACT\"},rpcUrls:{default:{http:[\"https://lasna-rpc.rnk.dev\"]}},blockExplorers:{default:{name:\"Reactscan\",url:\"https://lasna.reactscan.net\"}},testnet:!0})});var C4e,T4e=x(()=>{u();T();C4e=g({id:111188,name:\"re.al\",nativeCurrency:{name:\"reETH\",decimals:18,symbol:\"reETH\"},rpcUrls:{default:{http:[\"https://rpc.realforreal.gelato.digital\"]}},blockExplorers:{default:{name:\"re.al Explorer\",url:\"https://explorer.re.al\",apiUrl:\"https://explorer.re.al/api/v2\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:695}}})});var I4e,P4e=x(()=>{u();T();I4e=g({id:151,name:\"Redbelly Network Mainnet\",nativeCurrency:{name:\"Redbelly Native Coin\",symbol:\"RBNT\",decimals:18},rpcUrls:{default:{http:[\"https://governors.mainnet.redbelly.network\"]}},blockExplorers:{default:{name:\"Routescan\",url:\"https://redbelly.routescan.io\",apiUrl:\"https://api.routescan.io/v2/network/mainnet/evm/151/etherscan/api\"}},testnet:!1})});var R4e,O4e=x(()=>{u();T();R4e=g({id:153,name:\"Redbelly Network Testnet\",nativeCurrency:{name:\"Redbelly Native Coin\",symbol:\"RBNT\",decimals:18},rpcUrls:{default:{http:[\"https://governors.testnet.redbelly.network\"]}},blockExplorers:{default:{name:\"Routescan\",url:\"https://redbelly.testnet.routescan.io\",apiUrl:\"https://api.routescan.io/v2/network/testnet/evm/153_2/etherscan/api\"}},testnet:!0})});var B4e,M4e=x(()=>{u();T();B4e=g({id:50342,name:\"Reddio\",nativeCurrency:{name:\"Reddio\",symbol:\"RED\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.reddio.com/rpc\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://reddio.cloud.blockscout.com\",apiUrl:\"https://reddio.cloud.blockscout.com/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:848849}},testnet:!1})});var D4e,N4e=x(()=>{u();T();D4e=g({id:50341,name:\"Reddio Sepolia\",nativeCurrency:{name:\"Reddio\",symbol:\"RED\",decimals:18},rpcUrls:{default:{http:[\"https://reddio-dev.reddio.com\"]}},blockExplorers:{default:{name:\"Reddioscan\",url:\"https://reddio-devnet.l2scan.co\",apiUrl:\"https://reddio-devnet.l2scan.co/api\"}},testnet:!0})});var LP,U4e,$4e=x(()=>{u();at();T();LP=1,U4e=g({...me,name:\"Redstone\",id:690,sourceId:LP,nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.redstonechain.com\"],webSocket:[\"wss://rpc.redstonechain.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.redstone.xyz\"}},contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"},portal:{[LP]:{address:\"0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae\",blockCreated:19578329}},l2OutputOracle:{[LP]:{address:\"0xa426A052f657AEEefc298b3B5c35a470e4739d69\",blockCreated:19578337}},l1StandardBridge:{[LP]:{address:\"0xc473ca7E02af24c129c2eEf51F2aDf0411c1Df69\",blockCreated:19578331}}}})});var z4e,L4e=x(()=>{u();T();z4e=g({id:47805,name:\"REI Mainnet\",nativeCurrency:{decimals:18,name:\"REI\",symbol:\"REI\"},rpcUrls:{default:{http:[\"https://rpc.rei.network\"],webSocket:[\"wss://rpc.rei.network\"]}},blockExplorers:{default:{name:\"REI Scan\",url:\"https://scan.rei.network\"}},testnet:!1})});var H4e,j4e=x(()=>{u();T();H4e=g({id:1729,name:\"Reya Network\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.reya.network\"],webSocket:[\"wss://ws.reya.network\"]}},blockExplorers:{default:{name:\"Reya Network Explorer\",url:\"https://explorer.reya.network\"}},testnet:!1})});var F4e,V4e=x(()=>{u();T();F4e=g({id:4153,name:\"RISE\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.risechain.com\"],webSocket:[\"wss://rpc.risechain.com/ws\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.risechain.com\",apiUrl:\"https://explorer.risechain.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"}}})});var q4e,G4e=x(()=>{u();T();q4e=g({id:11155931,name:\"RISE Testnet\",nativeCurrency:{name:\"RISE Testnet Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.riselabs.xyz\"],webSocket:[\"wss://testnet.riselabs.xyz/ws\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.testnet.riselabs.xyz/\",apiUrl:\"https://explorer.testnet.riselabs.xyz/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"}},testnet:!0})});var K4e,Z4e=x(()=>{u();T();K4e=g({id:753,name:\"Rivalz\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rivalz.calderachain.xyz/http\"]}},blockExplorers:{default:{name:\"Rivalz Caldera Explorer\",url:\"https://rivalz.calderaexplorer.xyz\"}},testnet:!1})});var W4e,J4e=x(()=>{u();T();W4e=g({id:570,name:\"Rollux Mainnet\",nativeCurrency:{decimals:18,name:\"Syscoin\",symbol:\"SYS\"},rpcUrls:{default:{http:[\"https://rpc.rollux.com\"],webSocket:[\"wss://rpc.rollux.com/wss\"]}},blockExplorers:{default:{name:\"RolluxExplorer\",url:\"https://explorer.rollux.com\",apiUrl:\"https://explorer.rollux.com/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:119222}}})});var Q4e,Y4e=x(()=>{u();T();Q4e=g({id:57e3,name:\"Rollux Testnet\",nativeCurrency:{decimals:18,name:\"Syscoin\",symbol:\"SYS\"},rpcUrls:{default:{http:[\"https://rpc-tanenbaum.rollux.com/\"],webSocket:[\"wss://rpc-tanenbaum.rollux.com/wss\"]}},blockExplorers:{default:{name:\"RolluxTestnetExplorer\",url:\"https://rollux.tanenbaum.io\",apiUrl:\"https://rollux.tanenbaum.io/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1813675}},testnet:!0})});var X4e,eIe=x(()=>{u();T();X4e=g({id:2020,name:\"Ronin\",nativeCurrency:{name:\"RON\",symbol:\"RON\",decimals:18},rpcUrls:{default:{http:[\"https://api.roninchain.com/rpc\"]}},blockExplorers:{default:{name:\"Ronin Explorer\",url:\"https://app.roninchain.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:26023535}}})});var tIe,rIe=x(()=>{u();T();tIe=g({id:7668,name:\"The Root Network\",nativeCurrency:{decimals:18,name:\"XRP\",symbol:\"XRP\"},rpcUrls:{default:{http:[\"https://root.rootnet.live/archive\"],webSocket:[\"wss://root.rootnet.live/archive/ws\"]}},blockExplorers:{default:{name:\"Rootscan\",url:\"https://rootscan.io\"}},contracts:{multicall3:{address:\"0xc9C2E2429AeC354916c476B30d729deDdC94988d\",blockCreated:9218338}}})});var nIe,oIe=x(()=>{u();T();nIe=g({id:7672,name:\"The Root Network - Porcini\",nativeCurrency:{decimals:18,name:\"XRP\",symbol:\"XRP\"},rpcUrls:{default:{http:[\"https://porcini.rootnet.app/archive\"],webSocket:[\"wss://porcini.rootnet.app/archive/ws\"]}},blockExplorers:{default:{name:\"Rootscan\",url:\"https://porcini.rootscan.io\"}},contracts:{multicall3:{address:\"0xc9C2E2429AeC354916c476B30d729deDdC94988d\",blockCreated:10555692}},testnet:!0})});var iIe,aIe=x(()=>{u();T();iIe=g({id:30,name:\"Rootstock Mainnet\",network:\"rootstock\",nativeCurrency:{decimals:18,name:\"Rootstock Bitcoin\",symbol:\"RBTC\"},rpcUrls:{default:{http:[\"https://public-node.rsk.co\"]}},blockExplorers:{default:{name:\"RSK Explorer\",url:\"https://explorer.rsk.co\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:4249540}}})});var sIe,cIe=x(()=>{u();T();sIe=g({id:31,name:\"Rootstock Testnet\",network:\"rootstock\",nativeCurrency:{decimals:18,name:\"Rootstock Bitcoin\",symbol:\"tRBTC\"},rpcUrls:{default:{http:[\"https://public-node.testnet.rsk.co\"]}},blockExplorers:{default:{name:\"RSK Explorer\",url:\"https://explorer.testnet.rootstock.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2771150}},testnet:!0})});var HP,uIe,lIe=x(()=>{u();at();T();HP=1,uIe=g({...me,id:12553,name:\"RSS3 VSL Mainnet\",nativeCurrency:{name:\"RSS3\",symbol:\"RSS3\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.rss3.io\"]}},blockExplorers:{default:{name:\"RSS3 VSL Mainnet Scan\",url:\"https://scan.rss3.io\",apiUrl:\"https://scan.rss3.io/api\"}},contracts:{...me.contracts,l2OutputOracle:{[HP]:{address:\"0xE6f24d2C32B3109B18ed33cF08eFb490b1e09C10\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:14193},portal:{[HP]:{address:\"0x6A12432491bbbE8d3babf75F759766774C778Db4\",blockCreated:19387057}},l1StandardBridge:{[HP]:{address:\"0x4cbab69108Aa72151EDa5A3c164eA86845f18438\"}}},sourceId:HP})});var jP,dIe,fIe=x(()=>{u();at();T();jP=11155111,dIe=g({...me,id:2331,name:\"RSS3 VSL Sepolia Testnet\",nativeCurrency:{name:\"RSS3\",symbol:\"RSS3\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.rss3.io\"]}},blockExplorers:{default:{name:\"RSS3 VSL Sepolia Testnet Scan\",url:\"https://scan.testnet.rss3.io\",apiUrl:\"https://scan.testnet.rss3.io/api\"}},contracts:{...me.contracts,l2OutputOracle:{[jP]:{address:\"0xDb5c46C3Eaa6Ed6aE8b2379785DF7dd029C0dC81\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:55697},portal:{[jP]:{address:\"0xcBD77E8E1E7F06B25baDe67142cdE82652Da7b57\",blockCreated:5345035}},l1StandardBridge:{[jP]:{address:\"0xdDD29bb63B0839FB1cE0eE439Ff027738595D07B\"}}},testnet:!0,sourceId:jP})});var pIe,mIe=x(()=>{u();T();pIe=g({id:7225878,name:\"Saakuru Mainnet\",nativeCurrency:{name:\"OAS\",symbol:\"OAS\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.saakuru.network\"]}},blockExplorers:{default:{name:\"Saakuru Explorer\",url:\"https://explorer.saakuru.network\"}},testnet:!1})});var hIe,yIe=x(()=>{u();T();hIe=g({id:5464,name:\"Saga\",network:\"saga\",nativeCurrency:{decimals:18,name:\"gas\",symbol:\"GAS\"},rpcUrls:{default:{http:[\"https://sagaevm.jsonrpc.sagarpc.io\"]}},blockExplorers:{default:{name:\"Saga Explorer\",url:\"https://sagaevm.sagaexplorer.io\"}},contracts:{multicall3:{address:\"0x864DDc9B50B9A0dF676d826c9B9EDe9F8913a160\",blockCreated:467530}}})});var bIe,gIe=x(()=>{u();T();bIe=g({id:202601,name:\"Ronin Saigon Testnet\",nativeCurrency:{name:\"RON\",symbol:\"RON\",decimals:18},rpcUrls:{default:{http:[\"https://saigon-testnet.roninchain.com/rpc\"]}},blockExplorers:{default:{name:\"Saigon Explorer\",url:\"https://saigon-explorer.roninchain.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:18736871}},testnet:!0})});var xIe,vIe=x(()=>{u();T();xIe=g({id:1996,name:\"Sanko\",nativeCurrency:{name:\"DMT\",symbol:\"DMT\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.sanko.xyz\"]}},blockExplorers:{default:{name:\"Sanko Explorer\",url:\"https://explorer.sanko.xyz\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:37}},testnet:!1})});var wIe,EIe=x(()=>{u();T();wIe=g({id:23294,name:\"Oasis Sapphire\",network:\"sapphire\",nativeCurrency:{name:\"Sapphire Rose\",symbol:\"ROSE\",decimals:18},rpcUrls:{default:{http:[\"https://sapphire.oasis.io\"],webSocket:[\"wss://sapphire.oasis.io/ws\"]}},blockExplorers:{default:{name:\"Oasis Explorer\",url:\"https://explorer.oasis.io/mainnet/sapphire\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:734531}}})});var _Ie,SIe=x(()=>{u();T();_Ie=g({id:23295,name:\"Oasis Sapphire Testnet\",network:\"sapphire-testnet\",nativeCurrency:{name:\"Sapphire Test Rose\",symbol:\"TEST\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.sapphire.oasis.dev\"],webSocket:[\"wss://testnet.sapphire.oasis.dev/ws\"]}},blockExplorers:{default:{name:\"Oasis Explorer\",url:\"https://explorer.oasis.io/testnet/sapphire\"}},testnet:!0})});var AIe,kIe=x(()=>{u();T();AIe=g({id:3109,name:\"SatoshiVM Alpha Mainnet\",nativeCurrency:{name:\"BTC\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://alpha-rpc-node-http.svmscan.io\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://svmscan.io\",apiUrl:\"https://svmscan.io/api\"}}})});var CIe,TIe=x(()=>{u();T();CIe=g({id:3110,name:\"SatoshiVM Testnet\",nativeCurrency:{name:\"BTC\",symbol:\"BTC\",decimals:18},rpcUrls:{default:{http:[\"https://test-rpc-node-http.svmscan.io\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://testnet.svmscan.io\",apiUrl:\"https://testnet.svmscan.io/api\"}},testnet:!0})});var IIe,PIe=x(()=>{u();T();IIe=g({id:534352,name:\"Scroll\",blockTime:3e3,nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.scroll.io\"],webSocket:[\"wss://wss-rpc.scroll.io/ws\"]}},blockExplorers:{default:{name:\"Scrollscan\",url:\"https://scrollscan.com\",apiUrl:\"https://api.scrollscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:14}},testnet:!1})});var RIe,OIe=x(()=>{u();T();RIe=g({id:534351,name:\"Scroll Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia-rpc.scroll.io\"]}},blockExplorers:{default:{name:\"Scrollscan\",url:\"https://sepolia.scrollscan.com\",apiUrl:\"https://api-sepolia.scrollscan.com/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:9473}},testnet:!0})});var BIe,MIe=x(()=>{u();T();BIe=g({id:1329,name:\"Sei Network\",nativeCurrency:{name:\"Sei\",symbol:\"SEI\",decimals:18},rpcUrls:{default:{http:[\"https://evm-rpc.sei-apis.com/\"],webSocket:[\"wss://evm-ws.sei-apis.com/\"]}},blockExplorers:{default:{name:\"Seiscan\",url:\"https://seiscan.io\",apiUrl:\"https://api.etherscan.io/v2/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"}}})});var DIe,NIe=x(()=>{u();T();DIe=g({id:5124,name:\"Seismic Devnet\",nativeCurrency:{name:\"Seismic Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://node-2.seismicdev.net/rpc\"]}},blockExplorers:{default:{name:\"Seismic Devnet Explorer\",url:\"https://explorer-2.seismicdev.net\"}},testnet:!0})});var UIe,$Ie=x(()=>{u();T();UIe=g({id:1328,name:\"Sei Testnet\",nativeCurrency:{name:\"Sei\",symbol:\"SEI\",decimals:18},rpcUrls:{default:{http:[\"https://evm-rpc-testnet.sei-apis.com\"],webSocket:[\"wss://evm-ws-testnet.sei-apis.com\"]}},blockExplorers:{default:{name:\"Seiscan\",url:\"https://testnet.seiscan.io\",apiUrl:\"https://api.etherscan.io/v2/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:98697651}},testnet:!0})});var zIe,LIe=x(()=>{u();T();zIe=g({id:11155111,name:\"Sepolia\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://11155111.rpc.thirdweb.com\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://sepolia.etherscan.io\",apiUrl:\"https://api-sepolia.etherscan.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:751532},ensUniversalResolver:{address:\"0xeeeeeeee14d718c2b47d9923deab1335e144eeee\",blockCreated:8928790}},testnet:!0})});var FP,HIe,jIe=x(()=>{u();at();T();FP=1,HIe=g({...me,id:360,name:\"Shape\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.shape.network\"]}},blockExplorers:{default:{name:\"shapescan\",url:\"https://shapescan.xyz\",apiUrl:\"https://shapescan.xyz/api\"}},contracts:{...me.contracts,l2OutputOracle:{[FP]:{address:\"0x6Ef8c69CfE4635d866e3E02732068022c06e724D\",blockCreated:20369940}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1},portal:{[FP]:{address:\"0xEB06fFa16011B5628BaB98E29776361c83741dd3\",blockCreated:20369933}},l1StandardBridge:{[FP]:{address:\"0x62Edd5f4930Ea92dCa3fB81689bDD9b9d076b57B\",blockCreated:20369935}}},sourceId:FP})});var ibt,FIe,VIe=x(()=>{u();at();T();ibt=11155111,FIe=g({...me,id:11011,name:\"Shape Sepolia Testnet\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.shape.network\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer-sepolia.shape.network/\",apiUrl:\"https://explorer-sepolia.shape.network/api/v2\"}},contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1}},testnet:!0,sourceId:ibt})});var qIe,GIe=x(()=>{u();T();qIe=g({id:8118,name:\"Shardeum\",nativeCurrency:{name:\"Shardeum\",symbol:\"SHM\",decimals:18},rpcUrls:{default:{http:[\"https://api.shardeum.org\"]}},blockExplorers:{default:{name:\"Shardeum Explorer\",url:\"https://explorer.shardeum.org\"}},testnet:!1})});var KIe,ZIe=x(()=>{u();T();KIe=g({id:8082,name:\"Shardeum Sphinx\",nativeCurrency:{name:\"SHARDEUM\",symbol:\"SHM\",decimals:18},rpcUrls:{default:{http:[\"https://sphinx.shardeum.org\"]}},blockExplorers:{default:{name:\"Shardeum Explorer\",url:\"https://explorer-sphinx.shardeum.org\"}},testnet:!0})});var WIe,JIe=x(()=>{u();T();WIe=g({id:109,name:\"Shibarium\",network:\"shibarium\",nativeCurrency:{name:\"Bone\",symbol:\"BONE\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.shibrpc.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://shibariumscan.io\"}},contracts:{multicall3:{address:\"0x864Bf681ADD6052395188A89101A1B37d3B4C961\",blockCreated:265900}}})});var QIe,YIe=x(()=>{u();T();QIe=g({id:157,name:\"Puppynet Shibarium\",nativeCurrency:{decimals:18,name:\"Bone\",symbol:\"BONE\"},rpcUrls:{default:{http:[\"https://puppynet.shibrpc.com\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://puppyscan.shib.io\",apiUrl:\"https://puppyscan.shib.io/api\"}},contracts:{multicall3:{address:\"0xA4029b74FBA366c926eDFA7Dd10B21C621170a4c\",blockCreated:3035769}},testnet:!0})});var XIe,e7e=x(()=>{u();T();XIe=g({id:336,name:\"Shiden\",nativeCurrency:{decimals:18,name:\"SDN\",symbol:\"SDN\"},rpcUrls:{default:{http:[\"https://shiden.public.blastapi.io\"],webSocket:[\"wss://shiden-rpc.dwellir.com\"]}},blockExplorers:{default:{name:\"Shiden Scan\",url:\"https://shiden.subscan.io\"}},testnet:!1})});var t7e,r7e=x(()=>{u();T();t7e=g({id:148,name:\"Shimmer\",network:\"shimmer\",nativeCurrency:{decimals:18,name:\"Shimmer\",symbol:\"SMR\"},rpcUrls:{default:{http:[\"https://json-rpc.evm.shimmer.network\"]}},blockExplorers:{default:{name:\"Shimmer Network Explorer\",url:\"https://explorer.evm.shimmer.network\",apiUrl:\"https://explorer.evm.shimmer.network/api\"}}})});var n7e,o7e=x(()=>{u();T();n7e=g({id:1073,name:\"Shimmer Testnet\",network:\"shimmer-testnet\",nativeCurrency:{decimals:18,name:\"Shimmer\",symbol:\"SMR\"},rpcUrls:{default:{http:[\"https://json-rpc.evm.testnet.shimmer.network\"]}},blockExplorers:{default:{name:\"Shimmer Network Explorer\",url:\"https://explorer.evm.testnet.shimmer.network\",apiUrl:\"https://explorer.evm.testnet.shimmer.network/api\"}},testnet:!0})});var i7e,a7e=x(()=>{u();T();i7e=g({id:97453,name:\"Sidra Chain\",nativeCurrency:{decimals:18,name:\"Sidra Digital Asset\",symbol:\"SDA\"},rpcUrls:{default:{http:[\"https://node.sidrachain.com\"]}},blockExplorers:{default:{name:\"Sidra Chain Explorer\",url:\"https://ledger.sidrachain.com\"}}})});var s7e,c7e=x(()=>{u();T();s7e=g({id:380929,name:\"Silent Data Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.silentdata.com\"]}},blockExplorers:{default:{name:\"Silent Data Mainnet Explorer\",url:\"https://explorer-mainnet.rollup.silentdata.com\"}},testnet:!1})});var u7e,l7e=x(()=>{u();T();u7e=g({id:2355,name:\"Silicon zkEVM\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.silicon.network\",\"https://silicon-mainnet.nodeinfra.com\"]}},blockExplorers:{default:{name:\"SiliconScope\",url:\"https://scope.silicon.network\"}}})});var d7e,f7e=x(()=>{u();T();d7e=g({id:1722641160,name:\"Silicon Sepolia zkEVM\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-sepolia.silicon.network\",\"https://silicon-testnet.nodeinfra.com\"]}},blockExplorers:{default:{name:\"SiliconSepoliaScope\",url:\"https://scope-sepolia.silicon.network\"}},testnet:!0})});var p7e,m7e=x(()=>{u();T();p7e=g({id:98,name:\"Six Protocol\",nativeCurrency:{decimals:18,name:\"SIX\",symbol:\"SIX\"},rpcUrls:{default:{http:[\"https://sixnet-rpc-evm.sixprotocol.net\"]}},blockExplorers:{default:{name:\"Six Protocol Scan\",url:\"https://sixscan.io/sixnet\"}},testnet:!1})});var h7e,y7e=x(()=>{u();T();h7e=g({id:391845894,name:\"SKALE | Block Brawlers\",nativeCurrency:{name:\"BRAWL\",symbol:\"BRAWL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/frayed-decent-antares\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/frayed-decent-antares\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://frayed-decent-antares.explorer.mainnet.skalenodes.com\"}},contracts:{}})});var b7e,g7e=x(()=>{u();T();b7e=g({id:1564830818,name:\"SKALE Calypso Hub\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/honorable-steel-rasalhague\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3107626}}})});var x7e,v7e=x(()=>{u();T();x7e=g({id:974399131,name:\"SKALE Calypso Testnet\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.skalenodes.com/v1/giant-half-dual-testnet\"],webSocket:[\"wss://testnet.skalenodes.com/v1/ws/giant-half-dual-testnet\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://giant-half-dual-testnet.explorer.testnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:103220}},testnet:!0})});var w7e,E7e=x(()=>{u();T();w7e=g({id:1026062157,name:\"SKALE | CryptoBlades\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/affectionate-immediate-pollux\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com\"}},contracts:{}})});var _7e,S7e=x(()=>{u();T();_7e=g({id:1032942172,name:\"SKALE | Crypto Colosseum\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/haunting-devoted-deneb\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/haunting-devoted-deneb\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com\"}},contracts:{}})});var A7e,k7e=x(()=>{u();T();A7e=g({id:2046399126,name:\"SKALE Europa Hub\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/elated-tan-skat\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/elated-tan-skat\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://elated-tan-skat.explorer.mainnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:3113495}}})});var C7e,T7e=x(()=>{u();T();C7e=g({id:1444673419,name:\"SKALE Europa Testnet\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.skalenodes.com/v1/juicy-low-small-testnet\"],webSocket:[\"wss://testnet.skalenodes.com/v1/ws/juicy-low-small-testnet\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://juicy-low-small-testnet.explorer.testnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:110858}},testnet:!0})});var I7e,P7e=x(()=>{u();T();I7e=g({id:2139927552,name:\"Exorde Network\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/light-vast-diphda\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/light-vast-diphda\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://light-vast-diphda.explorer.mainnet.skalenodes.com\"}},contracts:{}})});var R7e,O7e=x(()=>{u();T();R7e=g({id:1273227453,name:\"SKALE | Human Protocol\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/wan-red-ain\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/wan-red-ain\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://wan-red-ain.explorer.mainnet.skalenodes.com\"}},contracts:{}})});var B7e,M7e=x(()=>{u();T();B7e=g({id:1482601649,name:\"SKALE Nebula Hub\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/green-giddy-denebola\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/green-giddy-denebola\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://green-giddy-denebola.explorer.mainnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2372986}}})});var D7e,N7e=x(()=>{u();T();D7e=g({id:37084624,name:\"SKALE Nebula Testnet\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet\"],webSocket:[\"wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:105141}},testnet:!0})});var U7e,$7e=x(()=>{u();T();U7e=g({id:278611351,name:\"SKALE | Razor Network\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/turbulent-unique-scheat\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/turbulent-unique-scheat\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com\"}},contracts:{}})});var z7e,L7e=x(()=>{u();T();z7e=g({id:1187947933,name:\"SKALE Base\",nativeCurrency:{name:\"Credits\",symbol:\"CREDIT\",decimals:18},rpcUrls:{default:{http:[\"https://skale-base.skalenodes.com/v1/base\"],webSocket:[\"wss://skale-base.skalenodes.com/v1/ws/base\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://skale-base-explorer.skalenodes.com/\"}},testnet:!0})});var H7e,j7e=x(()=>{u();T();H7e=g({id:324705682,name:\"SKALE Base Sepolia Testnet\",nativeCurrency:{name:\"Credits\",symbol:\"CREDIT\",decimals:18},rpcUrls:{default:{http:[\"https://base-sepolia-testnet.skalenodes.com/v1/base-testnet\"],webSocket:[\"wss://base-sepolia-testnet.skalenodes.com/v1/ws/base-testnet\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://base-sepolia-testnet-explorer.skalenodes.com/\"}},testnet:!0})});var F7e,V7e=x(()=>{u();T();F7e=g({id:1350216234,name:\"SKALE Titan Hub\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.skalenodes.com/v1/parallel-stormy-spica\"],webSocket:[\"wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://parallel-stormy-spica.explorer.mainnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2076458}}})});var q7e,G7e=x(()=>{u();T();q7e=g({id:1020352220,name:\"SKALE Titan Testnet\",nativeCurrency:{name:\"sFUEL\",symbol:\"sFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.skalenodes.com/v1/aware-fake-trim-testnet\"],webSocket:[\"wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet\"]}},blockExplorers:{default:{name:\"SKALE Explorer\",url:\"https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:104072}},testnet:!0})});var K7e,Z7e=x(()=>{u();T();K7e=g({id:984123,name:\"Forma Sketchpad\",network:\"sketchpad\",nativeCurrency:{symbol:\"TIA\",name:\"TIA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.sketchpad-1.forma.art\"],webSocket:[\"wss://ws.sketchpad-1.forma.art\"]}},blockExplorers:{default:{name:\"Sketchpad Explorer\",url:\"https://explorer.sketchpad-1.forma.art\"}},testnet:!0})});var N5,W7e,J7e=x(()=>{u();at();T();N5=1,W7e=g({...me,id:2192,network:\"snaxchain-mainnet\",name:\"SnaxChain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.snaxchain.io\"]}},blockExplorers:{default:{name:\"Snax Explorer\",url:\"https://explorer.snaxchain.io\",apiUrl:\"https://explorer.snaxchain.io/api\"}},contracts:{...me.contracts,disputeGameFactory:{[N5]:{address:\"0x472562Fcf26D6b2793f8E0b0fB660ba0E5e08A46\"}},l2OutputOracle:{[N5]:{address:\"0x2172e492Fc807F5d5645D0E3543f139ECF539294\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"},portal:{[N5]:{address:\"0x79f446D024d74D0Bb6E699C131c703463c5D65E9\"}},l1StandardBridge:{[N5]:{address:\"0x6534Bdb6b5c060d3e6aa833433333135eFE8E0aA\"}}},sourceId:N5})});var U5,Q7e,Y7e=x(()=>{u();at();T();U5=11155111,Q7e=g({...me,id:13001,network:\"snaxchain-testnet\",name:\"SnaxChain Testnet\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://testnet.snaxchain.io\"]}},blockExplorers:{default:{name:\"Snax Explorer\",url:\"https://testnet-explorer.snaxchain.io\",apiUrl:\"https://testnet-explorer.snaxchain.io/api\"}},contracts:{...me.contracts,disputeGameFactory:{[U5]:{address:\"0x206a75d89d45F146C54020F132FF93bEDD09f55E\"}},l2OutputOracle:{[U5]:{address:\"0x60e3A368a4cdCEf85ffB964e372726F56A46221e\"}},multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\"},portal:{[U5]:{address:\"0xb5afdd0E8dDF081Ef90e8A3e0c7b5798e66E954E\"}},l1StandardBridge:{[U5]:{address:\"0xbd37E1a59D4C00C9A46F75018dffd84061bC5f74\"}}},testnet:!0,sourceId:U5})});var X7e,ePe=x(()=>{u();T();X7e=g({id:5031,name:\"Somnia\",nativeCurrency:{name:\"Somnia\",symbol:\"SOMI\",decimals:18},rpcUrls:{default:{http:[\"https://api.infra.mainnet.somnia.network\"]}},blockExplorers:{default:{name:\"Somnia Explorer\",url:\"https://explorer.somnia.network\",apiUrl:\"https://explorer.somnia.network/api\"}},testnet:!1})});var tPe,rPe=x(()=>{u();T();tPe=g({id:50312,name:\"Somnia Testnet\",nativeCurrency:{name:\"STT\",symbol:\"STT\",decimals:18},rpcUrls:{default:{http:[\"https://dream-rpc.somnia.network\"]}},blockExplorers:{default:{name:\"Somnia Testnet Explorer\",url:\"https://shannon-explorer.somnia.network/\",apiUrl:\"https://shannon-explorer.somnia.network/api\"}},contracts:{multicall3:{address:\"0x841b8199E6d3Db3C6f264f6C2bd8848b3cA64223\",blockCreated:71314235}},testnet:!0})});var $5,nPe,oPe=x(()=>{u();at();T();$5=1,nPe=g({...me,id:1868,name:\"Soneium Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.soneium.org\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://soneium.blockscout.com\",apiUrl:\"https://soneium.blockscout.com/api\"}},contracts:{...me.contracts,disputeGameFactory:{[$5]:{address:\"0x512a3d2c7a43bd9261d2b8e8c9c70d4bd4d503c0\"}},l2OutputOracle:{[$5]:{address:\"0x0000000000000000000000000000000000000000\"}},portal:{[$5]:{address:\"0x88e529a6ccd302c948689cd5156c83d4614fae92\",blockCreated:7061266}},l1StandardBridge:{[$5]:{address:\"0xeb9bf100225c214efc3e7c651ebbadcf85177607\",blockCreated:7061266}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1}},sourceId:$5})});var z5,iPe,aPe=x(()=>{u();at();T();z5=11155111,iPe=g({...me,id:1946,name:\"Soneium Minato Testnet\",nativeCurrency:{name:\"Sepolia Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.minato.soneium.org\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://soneium-minato.blockscout.com\",apiUrl:\"https://soneium-minato.blockscout.com/api\"}},contracts:{...me.contracts,disputeGameFactory:{[z5]:{address:\"0xB3Ad2c38E6e0640d7ce6aA952AB3A60E81bf7a01\"}},l2OutputOracle:{[z5]:{address:\"0x710e5286C746eC38beeB7538d0146f60D27be343\"}},portal:{[z5]:{address:\"0x65ea1489741A5D72fFdD8e6485B216bBdcC15Af3\",blockCreated:6466136}},l1StandardBridge:{[z5]:{address:\"0x5f5a404A5edabcDD80DB05E8e54A78c9EBF000C2\",blockCreated:6466136}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1}},testnet:!0,sourceId:z5})});var sPe,cPe=x(()=>{u();T();sPe=g({id:19,name:\"Songbird Canary-Network\",nativeCurrency:{decimals:18,name:\"Songbird\",symbol:\"SGB\"},rpcUrls:{default:{http:[\"https://songbird-api.flare.network/ext/C/rpc\"]}},blockExplorers:{default:{name:\"Songbird Explorer\",url:\"https://songbird-explorer.flare.network\",apiUrl:\"https://songbird-explorer.flare.network/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:13382504}}})});var uPe,lPe=x(()=>{u();T();uPe=g({id:16,name:\"Songbird Testnet Coston\",nativeCurrency:{decimals:18,name:\"Coston Flare\",symbol:\"CFLR\"},rpcUrls:{default:{http:[\"https://coston-api.flare.network/ext/C/rpc\"]}},blockExplorers:{default:{name:\"Coston Explorer\",url:\"https://coston-explorer.flare.network\",apiUrl:\"https://coston-explorer.flare.network/api\"}},testnet:!0})});var dPe,fPe=x(()=>{u();T();dPe=g({id:146,name:\"Sonic\",blockTime:630,nativeCurrency:{decimals:18,name:\"Sonic\",symbol:\"S\"},rpcUrls:{default:{http:[\"https://rpc.soniclabs.com\"]}},blockExplorers:{default:{name:\"Sonic Explorer\",url:\"https://sonicscan.org\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:60}},testnet:!1})});var pPe,mPe=x(()=>{u();T();pPe=g({id:57054,name:\"Sonic Blaze Testnet\",nativeCurrency:{decimals:18,name:\"Sonic\",symbol:\"S\"},rpcUrls:{default:{http:[\"https://rpc.blaze.soniclabs.com\"]}},blockExplorers:{default:{name:\"Sonic Blaze Testnet Explorer\",url:\"https://testnet.sonicscan.org\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1100}},testnet:!0})});var hPe,yPe=x(()=>{u();T();hPe=g({id:64165,name:\"Sonic Testnet\",nativeCurrency:{decimals:18,name:\"Sonic\",symbol:\"S\"},rpcUrls:{default:{http:[\"https://rpc.testnet.soniclabs.com\"]}},blockExplorers:{default:{name:\"Sonic Testnet Explorer\",url:\"https://testnet.soniclabs.com/\"}},testnet:!0})});var bPe,gPe=x(()=>{u();T();Pa();bPe=g({...gn,blockTime:200,id:50104,name:\"Sophon\",nativeCurrency:{decimals:18,name:\"Sophon\",symbol:\"SOPH\"},rpcUrls:{default:{http:[\"https://rpc.sophon.xyz\"],webSocket:[\"wss://rpc.sophon.xyz/ws\"]}},blockExplorers:{default:{name:\"Sophon Block Explorer\",url:\"https://explorer.sophon.xyz\"}},contracts:{multicall3:{address:\"0x5f4867441d2416cA88B1b3fd38f21811680CD2C8\",blockCreated:116}},testnet:!1})});var xPe,vPe=x(()=>{u();T();Pa();xPe=g({...gn,blockTime:200,id:531050104,name:\"Sophon Testnet\",nativeCurrency:{decimals:18,name:\"Sophon\",symbol:\"SOPH\"},rpcUrls:{default:{http:[\"https://rpc.testnet.sophon.xyz\"],webSocket:[\"wss://rpc.testnet.sophon.xyz/ws\"]}},blockExplorers:{default:{name:\"Sophon Block Explorer\",url:\"https://explorer.testnet.sophon.xyz\"}},contracts:{multicall3:{address:\"0x83c04d112adedA2C6D9037bb6ecb42E7f0b108Af\",blockCreated:15642}},testnet:!0})});var wPe,EPe=x(()=>{u();T();wPe=g({id:100021,name:\"Sova\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.sova.io\"]}},blockExplorers:{default:{name:\"Sova Block Explorer\",url:\"hhttps://explorer.sova.io\"}},testnet:!1})});var _Pe,SPe=x(()=>{u();T();_Pe=g({id:120893,name:\"Sova Network Sepolia\",nativeCurrency:{decimals:18,name:\"Sepolia Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.testnet.sova.io\"]}},blockExplorers:{default:{name:\"Sova Sepolia Explorer\",url:\"https://explorer.testnet.sova.io\"}},testnet:!0})});var APe,kPe=x(()=>{u();T();APe=g({id:88882,name:\"Chiliz Spicy Testnet\",network:\"chiliz-spicy-Testnet\",nativeCurrency:{decimals:18,name:\"CHZ\",symbol:\"CHZ\"},rpcUrls:{default:{http:[\"https://spicy-rpc.chiliz.com\",\"https://chiliz-spicy-rpc.publicnode.com\"],webSocket:[\"wss://spicy-rpc-ws.chiliz.com\",\"wss://chiliz-spicy-rpc.publicnode.com\"]}},blockExplorers:{default:{name:\"Chiliz Explorer\",url:\"http://spicy-explorer.chiliz.com\",apiUrl:\"http://spicy-explorer.chiliz.com/api\"}},testnet:!0})});var CPe,TPe=x(()=>{u();T();CPe=g({id:988,name:\"Stable Mainnet\",blockTime:700,nativeCurrency:{name:\"USDT0\",symbol:\"USDT0\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.stable.xyz\"],webSocket:[\"wss://rpc.stable.xyz\"]}},blockExplorers:{default:{name:\"Stablescan\",url:\"https://stablescan.xyz\",apiUrl:\"https://api.etherscan.io/v2/api?chainid=988\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2423647}},testnet:!1})});var IPe,PPe=x(()=>{u();T();IPe=g({id:2201,name:\"Stable Testnet\",blockTime:700,nativeCurrency:{name:\"USDT0\",symbol:\"USDT0\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.stable.xyz\"],webSocket:[\"wss://rpc.testnet.stable.xyz\"]}},blockExplorers:{default:{name:\"Stablescan\",url:\"https://testnet.stablescan.xyz\",apiUrl:\"https://api.etherscan.io/v2/api?chainid=2201\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:22364430}},testnet:!0})});var jV,RPe=x(()=>{u();PP();T();jV=g({...Yv,id:1660990954,name:\"Status Network Sepolia\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://public.sepolia.rpc.status.network\"],webSocket:[\"wss://public.sepolia.rpc.status.network/ws\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://sepoliascan.status.network\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1578364}},testnet:!0})});var OPe,BPe=x(()=>{u();T();OPe=g({id:1234,name:\"Step Network\",nativeCurrency:{name:\"FITFI\",symbol:\"FITFI\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.step.network\"]}},blockExplorers:{default:{name:\"Step Scan\",url:\"https://stepscan.io\"}},testnet:!1})});var MPe,DPe=x(()=>{u();T();MPe=g({id:1514,name:\"Story\",nativeCurrency:{decimals:18,name:\"IP Token\",symbol:\"IP\"},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:340998},ensRegistry:{address:\"0x5dc881dda4e4a8d312be3544ad13118d1a04cb17\",blockCreated:648924},ensUniversalResolver:{address:\"0xddfb18888a9466688235887dec2a10c4f5effee9\",blockCreated:649114}},rpcUrls:{default:{http:[\"https://mainnet.storyrpc.io\"]}},blockExplorers:{default:{name:\"Story explorer\",url:\"https://storyscan.io\",apiUrl:\"https://storyscan.io/api/v2\"}},ensTlds:[\".ip\"],testnet:!1})});var NPe,UPe=x(()=>{u();T();NPe=g({id:1315,name:\"Story Aeneid\",network:\"story-aeneid\",nativeCurrency:{decimals:18,name:\"IP\",symbol:\"IP\"},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:1792},ensRegistry:{address:\"0x5dC881dDA4e4a8d312be3544AD13118D1a04Cb17\",blockCreated:1322033},ensUniversalResolver:{address:\"0x6D3B3F99177FB2A5de7F9E928a9BD807bF7b5BAD\",blockCreated:1322097}},rpcUrls:{default:{http:[\"https://aeneid.storyrpc.io\"]}},blockExplorers:{default:{name:\"Story Aeneid Explorer\",url:\"https://aeneid.storyscan.io\",apiUrl:\"https://aeneid.storyscan.io/api/v2\"}},ensTlds:[\".ip\"],testnet:!0})});var $Pe,zPe=x(()=>{u();T();$Pe=g({id:1516,name:\"Story Odyssey\",nativeCurrency:{decimals:18,name:\"IP\",symbol:\"IP\"},rpcUrls:{default:{http:[\"https://rpc.odyssey.storyrpc.io\"]}},blockExplorers:{default:{name:\"Story Odyssey Explorer\",url:\"https://odyssey.storyscan.xyz\"}},testnet:!0})});var LPe,HPe=x(()=>{u();T();LPe=g({id:1513,name:\"Story Testnet\",nativeCurrency:{decimals:18,name:\"IP\",symbol:\"IP\"},rpcUrls:{default:{http:[\"https://testnet.storyrpc.io\"]}},blockExplorers:{default:{name:\"Story Testnet Explorer\",url:\"https://testnet.storyscan.xyz\"}},testnet:!0})});var jPe,FPe=x(()=>{u();T();jPe=g({id:105105,name:\"Stratis Mainnet\",network:\"stratis\",nativeCurrency:{name:\"Stratis\",symbol:\"STRAX\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.stratisevm.com\"]}},blockExplorers:{default:{name:\"Stratis Explorer\",url:\"https://explorer.stratisevm.com\"}}})});var VPe,qPe=x(()=>{u();T();VPe=g({id:964,name:\"Subtensor EVM\",nativeCurrency:{decimals:18,name:\"TAO\",symbol:\"TAO\"},rpcUrls:{default:{http:[\"https://lite.chain.opentensor.ai\"]}},blockExplorers:{default:{name:\"Taostats EVM Explorer\",url:\"https://evm.taostats.io\",apiUrl:\"https://evm.taostats.io/api\"}},testnet:!1})});var GPe,KPe=x(()=>{u();T();GPe=g({id:8866,name:\"SuperLumio\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.lumio.io\"]}},blockExplorers:{default:{name:\"Lumio explorer\",url:\"https://explorer.lumio.io\"}},testnet:!1})});var ZPe,WPe=x(()=>{u();T();ZPe=g({id:55244,name:\"Superposition\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.superposition.so\"]}},blockExplorers:{default:{name:\"Superposition Explorer\",url:\"https://explorer.superposition.so\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:39}},testnet:!1})});var L5,JPe,QPe=x(()=>{u();at();T();L5=1,JPe=g({...me,id:5330,name:\"Superseed\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.superseed.xyz\"]}},blockExplorers:{default:{name:\"Superseed Explorer\",url:\"https://explorer.superseed.xyz\",apiUrl:\"https://explorer.superseed.xyz/api/v2\"}},contracts:{...me.contracts,disputeGameFactory:{[L5]:{address:\"0x8b097CF1f9BbD9cbFD0DD561858a1FCbC8857Be0\",blockCreated:20737481}},l2OutputOracle:{[L5]:{address:\"0x693A0F8854F458D282DE3C5b69E8eE5EEE8aA949\",blockCreated:20737481}},portal:{[L5]:{address:\"0x2c2150aa5c75A24fB93d4fD2F2a895D618054f07\",blockCreated:20737481}},l1StandardBridge:{[L5]:{address:\"0x8b0576E39F1233679109F9b40cFcC2a7E0901Ede\",blockCreated:20737481}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"}},sourceId:L5})});var FV,YPe,XPe=x(()=>{u();at();T();FV=11155111,YPe=g({...me,id:53302,name:\"Superseed Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.superseed.xyz\"]}},blockExplorers:{default:{name:\"Superseed Sepolia Explorer\",url:\"https://sepolia-explorer.superseed.xyz\",apiUrl:\"https://sepolia-explorer.superseed.xyz/api/v2\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"},portal:{[FV]:{address:\"0x7A0db8C51432d2C3eb4e8f360a2EeB26FF2809fB\",blockCreated:5523438}},l1StandardBridge:{[FV]:{address:\"0x2B227A603fAAdB3De0ED050b63ADD232B5f2c28C\",blockCreated:5523442}}},testnet:!0,sourceId:FV})});var eRe,tRe=x(()=>{u();T();eRe=g({id:763375,name:\"Surge Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://l2-rpc.hoodi.surge.wtf\"],webSocket:[\"wss://l2-ws.hoodi.surge.wtf\"]}},blockExplorers:{default:{name:\"Surge Testnet Blockscout\",url:\"https://explorer.hoodi.surge.wtf\"}},testnet:!0})});var rRe,nRe=x(()=>{u();T();rRe=g({id:254,name:\"Swan Chain Mainnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet-rpc.swanchain.org\"]}},blockExplorers:{default:{name:\"Swan Explorer\",url:\"https://swanscan.io\"}},testnet:!1})});var oRe,iRe=x(()=>{u();T();oRe=g({id:20241133,name:\"Swan Proxima Testnet\",nativeCurrency:{name:\"Swan Ether\",symbol:\"sETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-proxima.swanchain.io\"]}},blockExplorers:{default:{name:\"Swan Explorer\",url:\"https://proxima-explorer.swanchain.io\"}},testnet:!0})});var aRe,sRe=x(()=>{u();T();aRe=g({id:2024,name:\"Swan Saturn Testnet\",nativeCurrency:{name:\"Swan Ether\",symbol:\"sETH\",decimals:18},rpcUrls:{default:{http:[\"https://saturn-rpc.swanchain.io\"]}},blockExplorers:{default:{name:\"Swan Explorer\",url:\"https://saturn-explorer.swanchain.io\"}},testnet:!0})});var cRe,uRe=x(()=>{u();at();T();cRe=g({...me,id:1923,name:\"Swellchain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://swell-mainnet.alt.technology\"]}},blockExplorers:{default:{name:\"Swell Explorer\",url:\"https://explorer.swellnetwork.io\",apiUrl:\"https://explorer.swellnetwork.io/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1}}})});var lRe,dRe=x(()=>{u();at();T();lRe=g({...me,id:1924,name:\"Swellchain Testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://swell-testnet.alt.technology\"]}},blockExplorers:{default:{name:\"Swellchain Testnet Explorer\",url:\"https://swell-testnet-explorer.alt.technology\",apiUrl:\"https://swell-testnet-explorer.alt.technology/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1}},testnet:!0})});var fRe,pRe=x(()=>{u();T();fRe=g({id:94,name:\"SwissDLT Mainnet\",nativeCurrency:{decimals:18,name:\"BCTS\",symbol:\"BCTS\"},rpcUrls:{default:{http:[\"https://rpc.swissdlt.ch\"]}},blockExplorers:{default:{name:\"SwissDLT Explorer\",url:\"https://explorer.swissdlt.ch\"}},testnet:!1})});var mRe,hRe=x(()=>{u();T();mRe=g({id:57,name:\"Syscoin Mainnet\",nativeCurrency:{decimals:18,name:\"Syscoin\",symbol:\"SYS\"},rpcUrls:{default:{http:[\"https://rpc.syscoin.org\"],webSocket:[\"wss://rpc.syscoin.org/wss\"]}},blockExplorers:{default:{name:\"SyscoinExplorer\",url:\"https://explorer.syscoin.org\",apiUrl:\"https://explorer.syscoin.org/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:287139}}})});var yRe,bRe=x(()=>{u();T();yRe=g({id:5700,name:\"Syscoin Tanenbaum Testnet\",nativeCurrency:{decimals:18,name:\"Syscoin\",symbol:\"SYS\"},rpcUrls:{default:{http:[\"https://rpc.tanenbaum.io\"],webSocket:[\"wss://rpc.tanenbaum.io/wss\"]}},blockExplorers:{default:{name:\"SyscoinTestnetExplorer\",url:\"https://tanenbaum.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:271288}},testnet:!0})});var gRe,xRe=x(()=>{u();T();gRe=g({id:239,name:\"TAC\",nativeCurrency:{name:\"TAC\",symbol:\"TAC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.ankr.com/tac\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://tac.blockscout.com\",apiUrl:\"https://tac.blockscout.com/api\"},native:{name:\"TAC Explorer\",url:\"https://explorer.tac.build\",apiUrl:\"https://explorer.tac.build/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0}}})});var vRe,wRe=x(()=>{u();T();vRe=g({id:2391,name:\"TAC SPB Testnet\",nativeCurrency:{name:\"TAC\",symbol:\"TAC\",decimals:18},rpcUrls:{default:{http:[\"https://spb.rpc.tac.build\"]}},blockExplorers:{default:{name:\"TAC\",url:\"https://spb.explorer.tac.build\",apiUrl:\"https://spb.explorer.tac.build/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:471429}},testnet:!0})});var ERe,_Re=x(()=>{u();T();ERe=g({id:167e3,name:\"Taiko Mainnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.mainnet.taiko.xyz\"],webSocket:[\"wss://ws.mainnet.taiko.xyz\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://taikoscan.io\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:11269}}})});var SRe,ARe=x(()=>{u();T();SRe=g({id:167009,name:\"Taiko Hekla L2\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.hekla.taiko.xyz\"]}},blockExplorers:{default:{name:\"Taikoscan\",url:\"https://hekla.taikoscan.network\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:59757}},testnet:!0})});var kRe,CRe=x(()=>{u();T();kRe=g({id:167013,name:\"Taiko Hoodi\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.hoodi.taiko.xyz\"],webSocket:[\"wss://ws.hoodi.taiko.xyz\"]}},blockExplorers:{default:{name:\"Etherscan\",url:\"https://hoodi.taikoscan.io/\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:581116}},testnet:!0})});var TRe,IRe=x(()=>{u();T();TRe=g({id:167007,name:\"Taiko Jolnir (Alpha-5 Testnet)\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.jolnir.taiko.xyz\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer.jolnir.taiko.xyz\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:732706}},testnet:!0})});var PRe,RRe=x(()=>{u();T();PRe=g({id:167008,name:\"Taiko Katla (Alpha-6 Testnet)\",network:\"tko-katla\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.katla.taiko.xyz\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer.katla.taiko.xyz\"}},testnet:!0})});var ORe,BRe=x(()=>{u();T();ORe=g({id:167005,name:\"Taiko (Alpha-3 Testnet)\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.test.taiko.xyz\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer.test.taiko.xyz\"}},testnet:!0})});var MRe,DRe=x(()=>{u();T();MRe=g({id:841,name:\"Taraxa Mainnet\",nativeCurrency:{name:\"Tara\",symbol:\"TARA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.mainnet.taraxa.io\"]}},blockExplorers:{default:{name:\"Taraxa Explorer\",url:\"https://explorer.mainnet.taraxa.io\"}}})});var NRe,URe=x(()=>{u();T();NRe=g({id:842,name:\"Taraxa Testnet\",nativeCurrency:{name:\"Tara\",symbol:\"TARA\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.taraxa.io\"]}},blockExplorers:{default:{name:\"Taraxa Explorer\",url:\"https://explorer.testnet.taraxa.io\"}},testnet:!0})});var $Re,zRe=x(()=>{u();T();$Re=g({id:10218,name:\"Tea Sepolia\",nativeCurrency:{name:\"Sepolia Tea\",symbol:\"TEA\",decimals:18},rpcUrls:{default:{http:[\"https://tea-sepolia.g.alchemy.com/public\"]}},blockExplorers:{default:{name:\"Tea Sepolia Explorer\",url:\"https://sepolia.tea.xyz\"}},testnet:!0})});var LRe,HRe=x(()=>{u();T();LRe=g({id:2017,name:\"Telcoin Adiri Testnet\",nativeCurrency:{name:\"Telcoin\",symbol:\"TEL\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.telcoin.network\"]}},blockExplorers:{default:{name:\"telscan\",url:\"https://telscan.io\"}},testnet:!0})});var jRe,FRe=x(()=>{u();T();jRe=g({id:40,name:\"Telos\",nativeCurrency:{decimals:18,name:\"Telos\",symbol:\"TLOS\"},rpcUrls:{default:{http:[\"https://rpc.telos.net\"]}},blockExplorers:{default:{name:\"Teloscan\",url:\"https://www.teloscan.io/\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:246530709}}})});var VRe,qRe=x(()=>{u();T();VRe=g({id:41,name:\"Telos\",nativeCurrency:{decimals:18,name:\"Telos\",symbol:\"TLOS\"},rpcUrls:{default:{http:[\"https://rpc.testnet.telos.net\"]}},blockExplorers:{default:{name:\"Teloscan (testnet)\",url:\"https://testnet.teloscan.io/\"}},testnet:!0})});var GRe,abt,sbt,KRe,ZRe,cbt,ubt,ezr,WRe,lbt,dbt,tzr,JRe=x(()=>{u();Hx();Sj();Gx();GRe=ap(BigInt(\"0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff\")),abt=GRe.create(BigInt(\"-3\")),sbt=BigInt(\"0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b\"),KRe=Kx({a:abt,b:sbt,Fp:GRe,n:BigInt(\"0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551\"),Gx:BigInt(\"0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296\"),Gy:BigInt(\"0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5\"),h:BigInt(1),lowS:!1},nc),ZRe=ap(BigInt(\"0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff\")),cbt=ZRe.create(BigInt(\"-3\")),ubt=BigInt(\"0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef\"),ezr=Kx({a:cbt,b:ubt,Fp:ZRe,n:BigInt(\"0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973\"),Gx:BigInt(\"0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7\"),Gy:BigInt(\"0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f\"),h:BigInt(1),lowS:!1},Z4),WRe=ap(BigInt(\"0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\")),lbt=WRe.create(BigInt(\"-3\")),dbt=BigInt(\"0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00\"),tzr=Kx({a:lbt,b:dbt,Fp:WRe,n:BigInt(\"0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409\"),Gx:BigInt(\"0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66\"),Gy:BigInt(\"0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650\"),h:BigInt(1),lowS:!1,allowedPrivateKeyLengths:[130,131,132]},K4)});var QRe,YRe=x(()=>{u();JRe();QRe=KRe});function VP(e){let{hash:t,payload:r,publicKey:n,signature:o}=e;return QRe.verify(o,r instanceof Uint8Array?r:bs(r),vb(n).substring(2),{lowS:!0,...t?{prehash:!0}:{}})}var VV=x(()=>{u();YRe();Vc();Mv()});function eOe(e){let t=e.replace(/=+$/,\"\"),r=t.length,n=new Uint8Array(r+3);fbt.encodeInto(t+\"===\",n);for(let i=0,c=0;i<t.length;i+=4,c+=3){let l=(qP[n[i]]<<18)+(qP[n[i+1]]<<12)+(qP[n[i+2]]<<6)+qP[n[i+3]];n[c]=l>>16,n[c+1]=l>>8&255,n[c+2]=l&255}let o=(r>>2)*3+(r%4&&r%4-1);return new Uint8Array(n.buffer,0,o)}var fbt,lzr,qP,tOe=x(()=>{u();fbt=new TextEncoder,lzr=Object.fromEntries(Array.from(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\").map((e,t)=>[t,e.charCodeAt(0)])),qP={...Object.fromEntries(Array.from(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\").map((e,t)=>[e.charCodeAt(0),t])),61:0,45:62,95:63}});function rOe(e){let{challenge:t,metadata:r,origin:n,publicKey:o,rpId:i,signature:c}=e,{authenticatorData:l,clientDataJSON:f,userVerificationRequired:p}=r,h=bs(l);if(h.length<37)return!1;if(i!==void 0){let C=h.slice(0,32),R=zF(Wu(i),{as:\"Bytes\"});if(!yme(C,R))return!1}let y=h[32];if((y&1)!==1||p&&(y&4)!==4||(y&8)!==8&&(y&16)===16)return!1;let w=JSON.parse(f);if(w.type!==\"webauthn.get\"||!w.challenge||sn(eOe(w.challenge))!==t||n!==void 0&&!(Array.isArray(n)?n:[n]).includes(w.origin))return!1;let E=zF(CI(f),{as:\"Bytes\"}),A=hme(h,E);return VP({hash:!0,payload:A,publicKey:o,signature:c})}var nOe=x(()=>{u();tOe();Vc();Sh();Ar();VV()});function oOe(e){return rOe(e)}var iOe=x(()=>{u();nOe()});var xs={};an(xs,{CoercionError:()=>Oh,InvalidSerializedError:()=>Rh,MissingPropertiesError:()=>H5,VerificationError:()=>KP,assert:()=>ZV,deserialize:()=>wp,extractAddress:()=>ZP,extractPublicKey:()=>WV,from:()=>Bh,fromRpc:()=>Mh,getType:()=>j5,magicBytes:()=>Rb,serialize:()=>Dh,toRpc:()=>Nh,types:()=>ybt,validate:()=>bbt,verify:()=>gbt});function ZV(e){let t=j5(e);if(t===\"secp256k1\"){Ab(e.signature);return}if(t===\"p256\"){let r=e,n=[];if(typeof r.signature?.r!=\"bigint\"&&n.push(\"signature.r\"),typeof r.signature?.s!=\"bigint\"&&n.push(\"signature.s\"),typeof r.prehash!=\"boolean\"&&n.push(\"prehash\"),r.publicKey?(typeof r.publicKey.x!=\"bigint\"&&n.push(\"publicKey.x\"),typeof r.publicKey.y!=\"bigint\"&&n.push(\"publicKey.y\")):n.push(\"publicKey\"),n.length>0)throw new H5({envelope:e,missing:n,type:\"p256\"});return}if(t===\"webAuthn\"){let r=e,n=[];if(typeof r.signature?.r!=\"bigint\"&&n.push(\"signature.r\"),typeof r.signature?.s!=\"bigint\"&&n.push(\"signature.s\"),r.metadata?(r.metadata.authenticatorData||n.push(\"metadata.authenticatorData\"),r.metadata.clientDataJSON||n.push(\"metadata.clientDataJSON\")):n.push(\"metadata\"),r.publicKey?(typeof r.publicKey.x!=\"bigint\"&&n.push(\"publicKey.x\"),typeof r.publicKey.y!=\"bigint\"&&n.push(\"publicKey.y\")):n.push(\"publicKey\"),n.length>0)throw new H5({envelope:e,missing:n,type:\"webAuthn\"});return}if(t===\"keychain\"){ZV(e.inner);return}}function ZP(e){let{signature:t,root:r}=e;return t.type===\"keychain\"?r?t.userAddress:ZP({...e,signature:t.inner}):Ia(WV(e))}function WV(e){let{payload:t,signature:r}=e;switch(r.type){case\"secp256k1\":return j7({payload:t,signature:r.signature});case\"p256\":case\"webAuthn\":return r.publicKey;case\"keychain\":return WV({payload:t,signature:r.inner})}}function wp(e){let t=e.endsWith(Rb.slice(2))?wt(e,0,-Sr(Rb)):e;if(Sr(t)===65){let c=U7(t);return Ab(c),{signature:c,type:\"secp256k1\"}}let n=wt(t,0,1),o=wt(t,1),i=Sr(o);if(n===qV){if(i!==129)throw new Rh({reason:`Invalid P256 signature envelope size: expected 129 bytes, got ${i} bytes`,serialized:t});return{publicKey:{prefix:4,x:gr(wt(o,64,96)),y:gr(wt(o,96,128))},prehash:ac(wt(o,128,129))!==0,signature:{r:gr(wt(o,0,32)),s:gr(wt(o,32,64))},type:\"p256\"}}if(n===GV){if(i<128)throw new Rh({reason:`Invalid WebAuthn signature envelope size: expected at least 128 bytes, got ${i} bytes`,serialized:t});let c=i-128,l=wt(o,0,c),f,p;for(let h=37;h<c;h++){let y=eF(wt(l,h));if(y.startsWith(\"{\")&&y.endsWith(\"}\"))try{JSON.parse(y),f=wt(l,0,h),p=y;break}catch{}}if(!f||!p)throw new Rh({reason:\"Unable to parse WebAuthn metadata: could not extract valid authenticatorData and clientDataJSON\",serialized:t});return{publicKey:{prefix:4,x:gr(wt(o,c+64,c+96)),y:gr(wt(o,c+96,c+128))},metadata:{authenticatorData:f,clientDataJSON:p},signature:{r:gr(wt(o,c,c+32)),s:gr(wt(o,c+32,c+64))},type:\"webAuthn\"}}if(n===KV||n===GP){let c=wt(o,0,20),l=wp(wt(o,20));return{userAddress:c,inner:l,type:\"keychain\",version:n===GP?\"v2\":\"v1\"}}throw new Rh({reason:`Unknown signature type identifier: ${n}. Expected ${qV} (P256), ${GV} (WebAuthn), ${KV} (Keychain V1), or ${GP} (Keychain V2)`,serialized:t})}function Bh(e,t){if(typeof e==\"string\")return wp(e);if(typeof e==\"object\"&&e!==null&&\"r\"in e&&\"s\"in e&&\"yParity\"in e)return{signature:e,type:\"secp256k1\"};let r=j5(e);return{...e,...r===\"p256\"?{prehash:e.prehash}:{},...r===\"keychain\"?{...typeof e==\"object\"&&e!==null&&\"version\"in e&&e.version?{}:{version:\"v2\"},...typeof e==\"object\"&&\"keyId\"in e&&e.keyId?{}:(()=>{let n=e.inner;return n.type===\"p256\"||n.type===\"webAuthn\"?{keyId:Ia(n.publicKey)}:n.type===\"secp256k1\"&&t?.payload?{keyId:Ia(j7({payload:t.payload,signature:n.signature}))}:{}})()}:{},type:r}}function Mh(e){if(e.type===\"secp256k1\")return{signature:v5(e),type:\"secp256k1\"};if(e.type===\"p256\")return{prehash:e.preHash,publicKey:{prefix:4,x:gr(e.pubKeyX),y:gr(e.pubKeyY)},signature:{r:gr(e.r),s:gr(e.s)},type:\"p256\"};if(e.type===\"webAuthn\"){let t=e.webauthnData,r=Sr(t),n,o;for(let i=37;i<r;i++){let c=eF(wt(t,i));if(c.startsWith(\"{\")&&c.endsWith(\"}\"))try{JSON.parse(c),n=wt(t,0,i),o=c;break}catch{}}if(!n||!o)throw new Rh({reason:\"Unable to parse WebAuthn metadata: could not extract valid authenticatorData and clientDataJSON\",serialized:t});return{metadata:{authenticatorData:n,clientDataJSON:o},publicKey:{prefix:4,x:gr(e.pubKeyX),y:gr(e.pubKeyY)},signature:{r:gr(e.r),s:gr(e.s)},type:\"webAuthn\"}}if(e.type===\"keychain\"||\"userAddress\"in e&&\"signature\"in e)return{type:\"keychain\",userAddress:e.userAddress,inner:Mh(e.signature),...e.keyId?{keyId:e.keyId}:{},...e.version?{version:e.version}:{}};throw new Oh({envelope:e})}function j5(e){if(typeof e!=\"object\"||e===null)throw new Oh({envelope:e});if(\"type\"in e&&e.type)return e.type;if(\"signature\"in e&&!(\"publicKey\"in e)&&typeof e.signature==\"object\"&&e.signature!==null&&\"r\"in e.signature&&\"s\"in e.signature&&\"yParity\"in e.signature||\"r\"in e&&\"s\"in e&&\"yParity\"in e)return\"secp256k1\";if(\"signature\"in e&&\"prehash\"in e&&\"publicKey\"in e&&typeof e.prehash==\"boolean\")return\"p256\";if(\"signature\"in e&&\"metadata\"in e&&\"publicKey\"in e)return\"webAuthn\";if(\"userAddress\"in e&&\"inner\"in e)return\"keychain\";throw new Oh({envelope:e})}function Dh(e,t={}){let r=j5(e);if(r===\"secp256k1\")return Xt(I0e(e.signature),t.magic?Rb:\"0x\");if(r===\"p256\"){let n=e;return Xt(qV,Ae(n.signature.r,{size:32}),Ae(n.signature.s,{size:32}),Ae(n.publicKey.x,{size:32}),Ae(n.publicKey.y,{size:32}),Ae(n.prehash?1:0,{size:1}),t.magic?Rb:\"0x\")}if(r===\"webAuthn\"){let n=e,o=Xt(n.metadata.authenticatorData,Wu(n.metadata.clientDataJSON));return Xt(GV,o,Ae(n.signature.r,{size:32}),Ae(n.signature.s,{size:32}),Ae(n.publicKey.x,{size:32}),Ae(n.publicKey.y,{size:32}),t.magic?Rb:\"0x\")}if(r===\"keychain\"){let n=e,o=n.version===\"v1\"?KV:GP;return Xt(o,n.userAddress,Dh(n.inner),t.magic?Rb:\"0x\")}throw new Oh({envelope:e})}function Nh(e){let t=j5(e);if(t===\"secp256k1\")return{...zv(e.signature),type:\"secp256k1\"};if(t===\"p256\"){let r=e;return{preHash:r.prehash,pubKeyX:Ae(r.publicKey.x,{size:32}),pubKeyY:Ae(r.publicKey.y,{size:32}),r:Ae(r.signature.r,{size:32}),s:Ae(r.signature.s,{size:32}),type:\"p256\"}}if(t===\"webAuthn\"){let r=e,n=Xt(r.metadata.authenticatorData,Wu(r.metadata.clientDataJSON));return{pubKeyX:Ae(r.publicKey.x,{size:32}),pubKeyY:Ae(r.publicKey.y,{size:32}),r:Ae(r.signature.r,{size:32}),s:Ae(r.signature.s,{size:32}),type:\"webAuthn\",webauthnData:n}}if(t===\"keychain\"){let r=e;return{type:\"keychain\",userAddress:r.userAddress,signature:Nh(r.inner),...r.keyId?{keyId:r.keyId}:{},...r.version?{version:r.version}:{}}}throw new Oh({envelope:e})}function bbt(e){try{return ZV(e),!0}catch{return!1}}function gbt(e,t){let{payload:r}=t,n=(()=>{if(t.address)return t.address;if(t.publicKey)return Ia(t.publicKey)})();if(!n)return!1;let o=Bh(e);if(o.type===\"secp256k1\")return n?B0e({address:n,payload:r,signature:o.signature}):!1;if(o.type===\"p256\"){let i=Ia(o.publicKey);return f5(i,n)?VP({hash:o.prehash,publicKey:o.publicKey,payload:r,signature:o.signature}):!1}if(o.type===\"webAuthn\"){let i=Ia(o.publicKey);return f5(i,n)?oOe({challenge:gh(r),metadata:o.metadata,publicKey:o.publicKey,signature:o.signature}):!1}throw new KP(`Unable to verify signature envelope of type \"${o.type}\".`)}var qV,GV,KV,GP,Rb,ybt,Oh,H5,Rh,KP,Xv=x(()=>{u();Zc();Jo();Ar();vv();VV();w5();Ch();iOe();qV=\"0x01\",GV=\"0x02\",KV=\"0x03\",GP=\"0x04\",Rb=\"0x7777777777777777777777777777777777777777777777777777777777777777\",ybt=[\"secp256k1\",\"p256\",\"webAuthn\"];Oh=class extends He{constructor({envelope:t}){super(`Unable to coerce value (\\\\`${Zu(t)}\\\\`) to a valid signature envelope.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"SignatureEnvelope.CoercionError\"})}},H5=class extends He{constructor({envelope:t,missing:r,type:n}){super(`Signature envelope of type \"${n}\" is missing required properties: ${r.map(o=>`\\\\`${o}\\\\``).join(\", \")}.\\n\\nProvided: ${Zu(t)}`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"SignatureEnvelope.MissingPropertiesError\"})}},Rh=class extends He{constructor({reason:t,serialized:r}){super(`Unable to deserialize signature envelope: ${t}`,{metaMessages:[`Serialized: ${r}`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"SignatureEnvelope.InvalidSerializedError\"})}},KP=class extends He{constructor(){super(...arguments),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"SignatureEnvelope.VerificationError\"})}}});function Qo(e){return e.startsWith(\"tempo\")?xbt(e).address:e}function xbt(e){if(!e.startsWith(\"tempox\"))throw new JV({address:e});let t=e.slice(6);return Xj(t,{strict:!0}),{address:wb(t)}}var JV,Ob=x(()=>{u();Zc();Jo();Ar();JV=class extends He{constructor({address:t}){super(`Tempo address \"${t}\" has an invalid prefix. Expected \"tempox\".`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"TempoAddress.InvalidPrefixError\"})}}});function vbt(e,t={}){if(typeof e.chainId==\"string\")return aOe(e);let r={...e,address:Qo(e.address)};return t.signature?{...r,signature:t.signature}:r}function aOe(e){let{address:t,chainId:r,nonce:n}=e,o=Mh(e.signature);return{address:t,chainId:Number(r),nonce:BigInt(n),signature:o}}function WP(e){return e.map(t=>aOe(t))}function wbt(e){let[t,r,n,o]=e,i={address:r,chainId:t===\"0x\"?0:Number(t),nonce:n===\"0x\"?0n:BigInt(n)};return o&&(i.signature=wp(o)),vbt(i)}function sOe(e){let t=[];for(let r of e)t.push(wbt(r));return t}function Ebt(e){let{address:t,chainId:r,nonce:n,signature:o}=e;return{address:t,chainId:Ae(r),nonce:Ae(n),signature:Nh(o)}}function JP(e){return e.map(t=>Ebt(t))}function _bt(e){let{address:t,chainId:r,nonce:n}=e,o=e.signature?Dh(e.signature):void 0;return[r?Ae(r):\"0x\",t,n?Ae(n):\"0x\",...o?[o]:[]]}function cOe(e){if(!e||e.length===0)return[];let t=[];for(let r of e)t.push(_bt(r));return t}var F5=x(()=>{u();Ar();Xv();Ob()});var Uh={};an(Uh,{deserialize:()=>Abt,from:()=>lOe,fromRpc:()=>tw,fromTuple:()=>YP,getSignPayload:()=>Sbt,hash:()=>dOe,serialize:()=>kbt,toRpc:()=>q5,toTuple:()=>G5});function lOe(e,t={}){if(\"keyId\"in e)return tw(e);let r=e,n={...r,address:Qo(r.address),...r.limits?{limits:r.limits.map(o=>({...o,token:Qo(o.token)}))}:{},...r.scopes?{scopes:r.scopes.map(o=>({...o,address:Qo(o.address),selector:YV(o.selector),...o.recipients?{recipients:o.recipients.map(i=>Qo(i))}:{}}))}:{}};return t.signature?{...n,signature:Bh(t.signature)}:n}function tw(e){let{allowedCalls:t,chainId:r,keyId:n,expiry:o,limits:i,keyType:c}=e,l=Mh(e.signature),f=t?t.flatMap(p=>!p.selectorRules||p.selectorRules.length===0?[{address:p.target}]:p.selectorRules.map(h=>({address:p.target,selector:Tbt(h.selector),...h.recipients&&h.recipients.length>0?{recipients:h.recipients}:{}}))):void 0;return{address:n,chainId:r===\"0x\"?0n:gr(r),...o!=null?{expiry:Number(o)}:{},limits:i?.map(p=>({token:p.token,limit:BigInt(p.limit),...p.period&&V5(p.period)>0?{period:V5(p.period)}:{}})),...f?{scopes:f}:{},signature:l,type:c}}function YP(e){let[t,r]=e,[n,o,i,c,l,f]=t,p=(()=>{switch(o){case\"0x\":case\"0x00\":return\"secp256k1\";case\"0x01\":return\"p256\";case\"0x02\":return\"webAuthn\";default:throw new Error(`Invalid key type: ${o}`)}})(),h={address:i,expiry:typeof c<\"u\"&&V5(c)||void 0,type:p,chainId:n===\"0x\"?0n:gr(n),...typeof c<\"u\"?{expiry:V5(c)||void 0}:{},...typeof l<\"u\"&&Array.isArray(l)&&l.length>0?{limits:l.map(y=>{let[w,E,A]=y;return{token:w,limit:Cbt(E),...typeof A<\"u\"?{period:V5(A)}:{}}})}:{},...typeof f<\"u\"&&Array.isArray(f)?{scopes:f.flatMap(y=>{let[w,E]=y;return!Array.isArray(E)||E.length===0?[{address:w}]:E.map(A=>{let[C,R]=A;return{address:w,selector:C,...Array.isArray(R)&&R.length>0?{recipients:R}:{}}})})}:{}};return r&&(h.signature=wp(r)),lOe(h)}function Sbt(e){return dOe(e)}function Abt(e){let t=D7(e);return YP(t)}function dOe(e){let[t]=G5(e),r=Sb(t);return uc(r)}function kbt(e){let t=G5(e);return Sb(t)}function q5(e){let{address:t,scopes:r,chainId:n,expiry:o,limits:i,type:c,signature:l}=e,f=(()=>{if(!r)return;let p=new Map;for(let h of r){let y=h.address;p.has(y)||p.set(y,[]),h.selector&&p.get(y).push({selector:YV(h.selector),...h.recipients&&h.recipients.length>0?{recipients:h.recipients}:{}})}return[...p.entries()].map(([h,y])=>({target:h,...y.length>0?{selectorRules:y}:{}}))})();return{chainId:n===0n?\"0x\":Ae(n),expiry:typeof o==\"number\"?Ae(o):null,keyId:Qo(t),keyType:c,limits:i?.map(({token:p,limit:h,period:y})=>({token:p,limit:Ae(h),...y?{period:QV(y)}:{}})),signature:Nh(l),...f?{allowedCalls:f}:{}}}function G5(e){let{address:t,chainId:r,scopes:n,expiry:o,limits:i}=e,c=e.signature?Dh(e.signature):void 0,l=(()=>{switch(e.type){case\"secp256k1\":return\"0x\";case\"p256\":return\"0x01\";case\"webAuthn\":return\"0x02\";default:throw new Error(`Invalid key type: ${e.type}`)}})(),f=i?.map(y=>{let w=[y.token,uOe(y.limit)];return y.period&&y.period>0&&w.push(QV(y.period)),w}),p=(()=>{if(!n)return;let y=new Map;for(let w of n){let E=w.address;y.has(E)||y.set(E,[]),w.selector&&y.get(E).push([YV(w.selector),w.recipients??[]])}return[...y.entries()].map(([w,E])=>[w,E.map(([A,C])=>[A,C])])})();return[[uOe(r),l,t,o!=null&&o!==0||f||p?QV(o??0):void 0,f||p?f??[]:void 0,p].filter(y=>typeof y<\"u\"),...c?[c]:[]]}function uOe(e){return e===0n?\"0x\":Ae(e)}function QV(e){return e===0?\"0x\":Ae(e)}function Cbt(e){return e===\"0x\"?0n:BigInt(e)}function V5(e){return e===\"0x\"?0:ac(e)}function Tbt(e){return typeof e==\"string\"?e:Array.isArray(e)?sn(new Uint8Array(e)):e}function YV(e){if(e)return e.startsWith(\"0x\")?e:A5(e)}var K5=x(()=>{u();Q7();Sh();Ar();N7();Xv();Ob()});var fOe=x(()=>{u()});function XP(e){if(typeof e==\"string\"){let r=Qo(e);return Qi(r),r}let t=Ae(e,{size:18});return Xt(Pbt,t)}var Pbt,eR=x(()=>{u();Zc();Ar();Ob();Pbt=\"0x20c0\"});var pOe=x(()=>{u()});var mOe=x(()=>{u()});var hOe=x(()=>{u()});var yOe=x(()=>{u()});function bOe(e,t={}){if(!e)return null;let r=x5(e),n={...e,...r};return n.blockNumber=e.blockNumber?BigInt(e.blockNumber):null,n.data=e.input,n.gas=BigInt(e.gas??0n),n.nonce=BigInt(e.nonce??0n),n.transactionIndex=e.transactionIndex?Number(e.transactionIndex):null,n.value=BigInt(e.value??0n),e.authorizationList&&(n.authorizationList=z7(e.authorizationList)),e.chainId&&(n.chainId=Number(e.chainId)),e.gasPrice&&(n.gasPrice=BigInt(e.gasPrice)),e.maxFeePerBlobGas&&(n.maxFeePerBlobGas=BigInt(e.maxFeePerBlobGas)),e.maxFeePerGas&&(n.maxFeePerGas=BigInt(e.maxFeePerGas)),e.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=BigInt(e.maxPriorityFeePerGas)),e.type&&(n.type=W5[e.type]??e.type),r&&(n.v=Lv(r.yParity)),n}function gOe(e,t){let r={};return r.blockHash=e.blockHash,r.blockNumber=typeof e.blockNumber==\"bigint\"?Ae(e.blockNumber):null,r.from=e.from,r.gas=Ae(e.gas??0n),r.hash=e.hash,r.input=e.input,r.nonce=Ae(e.nonce??0n),r.to=e.to,r.transactionIndex=e.transactionIndex?Ae(e.transactionIndex):null,r.type=Z5[e.type]??e.type,r.value=Ae(e.value??0n),e.accessList&&(r.accessList=e.accessList),e.authorizationList&&(r.authorizationList=L7(e.authorizationList)),e.blobVersionedHashes&&(r.blobVersionedHashes=e.blobVersionedHashes),e.chainId&&(r.chainId=Ae(e.chainId)),typeof e.gasPrice==\"bigint\"&&(r.gasPrice=Ae(e.gasPrice)),typeof e.maxFeePerBlobGas==\"bigint\"&&(r.maxFeePerBlobGas=Ae(e.maxFeePerBlobGas)),typeof e.maxFeePerGas==\"bigint\"&&(r.maxFeePerGas=Ae(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas==\"bigint\"&&(r.maxPriorityFeePerGas=Ae(e.maxPriorityFeePerGas)),typeof e.r==\"bigint\"&&(r.r=Ae(e.r,{size:32})),typeof e.s==\"bigint\"&&(r.s=Ae(e.s,{size:32})),typeof e.v==\"number\"&&(r.v=Ae(e.v,{size:1})),typeof e.yParity==\"number\"&&(r.yParity=e.yParity===0?\"0x0\":\"0x1\"),r}var Z5,W5,eq=x(()=>{u();H7();Ar();Ch();Z5={legacy:\"0x0\",eip2930:\"0x1\",eip1559:\"0x2\",eip4844:\"0x3\",eip7702:\"0x4\"},W5={\"0x0\":\"legacy\",\"0x1\":\"eip2930\",\"0x2\":\"eip1559\",\"0x3\":\"eip4844\",\"0x4\":\"eip7702\"}});var rw={};an(rw,{fromRpc:()=>Mbt,fromRpcType:()=>rR,toRpc:()=>Dbt,toRpcType:()=>tR});function Mbt(e,t={}){if(!e)return null;let r=bOe(e);return r.type=rR[e.type],e.aaAuthorizationList&&(r.authorizationList=WP(e.aaAuthorizationList),delete r.aaAuthorizationList),e.calls&&(r.calls=e.calls.map(n=>({to:n.to,value:n.value&&n.value!==\"0x\"?BigInt(n.value):void 0,data:n.input||n.data||\"0x\"}))),e.feeToken&&(r.feeToken=e.feeToken),e.nonceKey&&(r.nonceKey=BigInt(e.nonceKey)),e.signature&&(r.signature=Mh(e.signature)),e.validAfter&&(r.validAfter=Number(e.validAfter)),e.validBefore&&(r.validBefore=Number(e.validBefore)),e.keyAuthorization&&(r.keyAuthorization=tw(e.keyAuthorization)),e.feePayerSignature&&(r.feePayerSignature=v5(e.feePayerSignature),r.feePayerSignature.v=Lv(r.feePayerSignature.yParity)),r}function Dbt(e,t){let r=gOe(e);return r.type=tR[e.type],e.authorizationList&&(r.aaAuthorizationList=JP(e.authorizationList)),e.calls&&(r.calls=e.calls.map(n=>({to:n.to,value:n.value?Ae(n.value):void 0,data:n.data}))),e.feeToken&&(r.feeToken=e.feeToken),e.keyAuthorization&&(r.keyAuthorization=q5(e.keyAuthorization)),e.feePayerSignature&&(r.feePayerSignature=zv(e.feePayerSignature),r.feePayerSignature.v=Ae(Lv(e.feePayerSignature?.yParity))),e.signature&&(r.signature=Nh(e.signature)),typeof e.validAfter==\"number\"&&(r.validAfter=Ae(e.validAfter)),typeof e.validBefore==\"number\"&&(r.validBefore=Ae(e.validBefore)),r}var tR,rR,tq=x(()=>{u();Ar();Ch();eq();F5();K5();Xv();tR={...Z5,tempo:\"0x76\"},rR={...W5,\"0x76\":\"tempo\"}});var vOe,wOe,EOe=x(()=>{u();vOe={\"0x0\":\"legacy\",\"0x1\":\"eip2930\",\"0x2\":\"eip1559\",\"0x3\":\"eip4844\",\"0x4\":\"eip7702\"},wOe={legacy:\"0x0\",eip2930:\"0x1\",eip1559:\"0x2\",eip4844:\"0x3\",eip7702:\"0x4\"}});var Bzr,Mzr,_Oe=x(()=>{u();EOe();Bzr={...vOe,\"0x76\":\"tempo\"},Mzr={...wOe,tempo:\"0x76\"}});function SOe(e){let t=e;return typeof e.authorizationList<\"u\"&&(t.authorizationList=z7(e.authorizationList)),typeof e.chainId<\"u\"&&(t.chainId=ac(e.chainId)),typeof e.gas<\"u\"&&(t.gas=gr(e.gas)),typeof e.gasPrice<\"u\"&&(t.gasPrice=gr(e.gasPrice)),typeof e.maxFeePerBlobGas<\"u\"&&(t.maxFeePerBlobGas=gr(e.maxFeePerBlobGas)),typeof e.maxFeePerGas<\"u\"&&(t.maxFeePerGas=gr(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<\"u\"&&(t.maxPriorityFeePerGas=gr(e.maxPriorityFeePerGas)),typeof e.nonce<\"u\"&&(t.nonce=gr(e.nonce)),typeof e.type<\"u\"&&(t.type=W5[e.type]||e.type),typeof e.value<\"u\"&&(t.value=gr(e.value)),t}function AOe(e){let t={};return typeof e.accessList<\"u\"&&(t.accessList=e.accessList),typeof e.authorizationList<\"u\"&&(t.authorizationList=L7(e.authorizationList)),typeof e.blobVersionedHashes<\"u\"&&(t.blobVersionedHashes=e.blobVersionedHashes),typeof e.blobs<\"u\"&&(t.blobs=e.blobs),typeof e.chainId<\"u\"&&(t.chainId=Ae(e.chainId)),typeof e.data<\"u\"?(t.data=e.data,t.input=e.data):typeof e.input<\"u\"&&(t.data=e.input,t.input=e.input),typeof e.from<\"u\"&&(t.from=e.from),typeof e.gas<\"u\"&&(t.gas=Ae(e.gas)),typeof e.gasPrice<\"u\"&&(t.gasPrice=Ae(e.gasPrice)),typeof e.maxFeePerBlobGas<\"u\"&&(t.maxFeePerBlobGas=Ae(e.maxFeePerBlobGas)),typeof e.maxFeePerGas<\"u\"&&(t.maxFeePerGas=Ae(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<\"u\"&&(t.maxPriorityFeePerGas=Ae(e.maxPriorityFeePerGas)),typeof e.maxPriorityFeePerGas<\"u\"&&(t.maxPriorityFeePerGas=Ae(e.maxPriorityFeePerGas)),typeof e.nonce<\"u\"&&(t.nonce=Ae(e.nonce)),typeof e.to<\"u\"&&(t.to=e.to),typeof e.type<\"u\"&&(t.type=Z5[e.type]||e.type),typeof e.value<\"u\"&&(t.value=Ae(e.value)),t}var kOe=x(()=>{u();H7();Ar();eq()});var nR={};an(nR,{fromRpc:()=>zbt,toRpc:()=>Lbt});function zbt(e){let{authorizationList:t,...r}=e,n=SOe(r);return typeof e.type<\"u\"&&(n.type=rR[e.type]||n.type),e.authorizationList&&(n.authorizationList=WP(e.authorizationList)),e.calls&&(n.calls=e.calls.map(o=>{let i={to:o.to,data:o.data};return o.value&&o.value!==\"0x\"&&(i.value=gr(o.value)),i})),typeof e.feeToken<\"u\"&&(n.feeToken=e.feeToken),e.keyAuthorization&&(n.keyAuthorization=tw(e.keyAuthorization)),typeof e.validBefore<\"u\"&&(n.validBefore=ac(e.validBefore)),typeof e.validAfter<\"u\"&&(n.validAfter=ac(e.validAfter)),typeof e.nonceKey<\"u\"&&(n.nonceKey=gr(e.nonceKey)),n}function Lbt(e){let t=AOe({...e,authorizationList:void 0});e.authorizationList&&(t.authorizationList=JP(e.authorizationList)),e.calls?t.calls=e.calls.map(n=>({to:n.to?Qo(n.to):n.to,value:n.value?Ae(n.value):\"0x\",data:n.data??\"0x\"})):(e.to||e.data||e.value)&&(t.calls=[{to:e.to?Qo(e.to):void 0,value:e.value?Ae(e.value):\"0x\",data:e.data??\"0x\"}]),typeof e.feeToken<\"u\"&&(t.feeToken=XP(e.feeToken)),e.keyAuthorization&&(t.keyAuthorization=q5(e.keyAuthorization)),typeof e.validBefore<\"u\"&&(t.validBefore=Ae(e.validBefore)),typeof e.validAfter<\"u\"&&(t.validAfter=Ae(e.validAfter));let r=(()=>{if(e.nonceKey===\"random\")return _me(6);if(typeof e.nonceKey==\"bigint\")return Ae(e.nonceKey)})();return r&&(t.nonceKey=r),(typeof e.calls<\"u\"||typeof e.feePayer<\"u\"||typeof e.feeToken<\"u\"||typeof e.keyAuthorization<\"u\"||typeof e.nonceKey<\"u\"||typeof e.validBefore<\"u\"||typeof e.validAfter<\"u\"||e.type===\"tempo\")&&(t.type=tR.tempo,delete t.data,delete t.input,delete t.to,delete t.value),t}var COe=x(()=>{u();Ar();kOe();F5();K5();Ob();eR();tq()});function TOe(e){let t=[];for(let r=0;r<e.length;r++){let[n,o]=e[r];n&&Qi(n,{strict:!1}),t.push({address:n,storageKeys:o.map(i=>h0e(i)?i:XS(i))})}return t}function IOe(e){if(!e||e.length===0)return[];let t=[];for(let{address:r,storageKeys:n}of e){for(let o=0;o<n.length;o++)if(Sr(n[o])!==32)throw new rq({storageKey:n[o]});r&&Qi(r,{strict:!1}),t.push([r,n])}return t}var rq,POe=x(()=>{u();Zc();Jo();Sh();Ar();rq=class extends He{constructor({storageKey:t}){super(`Size for storage key \"${t}\" is invalid. Expected 32 bytes. Got ${Sr(t)} bytes.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AccessList.InvalidStorageKeySizeError\"})}}});function jbt(e,t=0){let r=e.toString(),n=r.startsWith(\"-\");n&&(r=r.slice(1)),r=r.padStart(t,\"0\");let[o,i]=[r.slice(0,r.length-t),r.slice(r.length-t)];return i=i.replace(/(0+)$/,\"\"),`${n?\"-\":\"\"}${o||\"0\"}${i?`.${i}`:\"\"}`}function oR(e,t=\"wei\"){return jbt(e,ROe.gwei-ROe[t])}var ROe,OOe=x(()=>{u();ROe={wei:0,gwei:9,szabo:12,finney:15,ether:18}});var iR,aR,sR,cR,BOe=x(()=>{u();Jo();OOe();iR=class extends He{constructor({feeCap:t}={}){super(`The fee cap (\\\\`maxFeePerGas\\\\`/\\\\`maxPriorityFeePerGas\\\\`${t?` = ${oR(t)} gwei`:\"\"}) cannot be higher than the maximum allowed value (2^256-1).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"TransactionEnvelope.FeeCapTooHighError\"})}},aR=class extends He{constructor({chainId:t}){super(typeof t<\"u\"?`Chain ID \"${t}\" is invalid.`:\"Chain ID is invalid.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"TransactionEnvelope.InvalidChainIdError\"})}},sR=class extends He{constructor({attributes:t,serialized:r,type:n}){let o=Object.entries(t).map(([i,c])=>typeof c>\"u\"?i:void 0).filter(Boolean);super(`Invalid serialized transaction of type \"${n}\" was provided.`,{metaMessages:[`Serialized Transaction: \"${r}\"`,o.length>0?`Missing Attributes: ${o.join(\", \")}`:\"\"].filter(Boolean)}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"TransactionEnvelope.InvalidSerializedError\"})}},cR=class extends He{constructor({maxPriorityFeePerGas:t,maxFeePerGas:r}={}){super([`The provided tip (\\\\`maxPriorityFeePerGas\\\\`${t?` = ${oR(t)} gwei`:\"\"}) cannot be higher than the fee cap (\\\\`maxFeePerGas\\\\`${r?` = ${oR(r)} gwei`:\"\"}).`].join(`\\n`)),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"TransactionEnvelope.TipAboveFeeCapError\"})}}});var Cd={};an(Cd,{CallsEmptyError:()=>uR,InvalidValidityWindowError:()=>lR,assert:()=>J5,deserialize:()=>NOe,feePayerMagic:()=>MOe,from:()=>oq,getFeePayerSignPayload:()=>qbt,getSignPayload:()=>aq,hash:()=>UOe,serialize:()=>iq,serializedType:()=>DOe,type:()=>nq,validate:()=>Gbt});function J5(e){let{calls:t,chainId:r,maxFeePerGas:n,maxPriorityFeePerGas:o,validBefore:i,validAfter:c}=e;if(!t||t.length===0)throw new uR;if(typeof i==\"number\"&&typeof c==\"number\"&&i<=c)throw new lR({validBefore:i,validAfter:c});if(t)for(let l of t)l.to&&Qi(l.to,{strict:!1});if(r<=0)throw new aR({chainId:r});if(n&&BigInt(n)>2n**256n-1n)throw new iR({feeCap:n});if(o&&n&&o>n)throw new cR({maxFeePerGas:n,maxPriorityFeePerGas:o})}function NOe(e){let t=D7(wt(e,1)),[r,n,o,i,c,l,f,p,h,y,w,E,A,C,R]=t,M=Array.isArray(C)?C:void 0,D=M?R:C;if(!(t.length===13||t.length===14||t.length===15))throw new sR({attributes:{authorizationList:A,chainId:r,maxPriorityFeePerGas:n,maxFeePerGas:o,gas:i,calls:c,accessList:l,keyAuthorization:M,nonceKey:f,nonce:p,validBefore:h,validAfter:y,feeToken:w,feePayerSignatureOrSender:E,...t.length>12?{signature:D}:{}},serialized:e,type:nq});let $={chainId:Number(r),type:nq};if(Ca(i)&&i!==\"0x\"&&($.gas=BigInt(i)),Ca(p)&&($.nonce=p===\"0x\"?0n:BigInt(p)),Ca(o)&&o!==\"0x\"&&($.maxFeePerGas=BigInt(o)),Ca(n)&&n!==\"0x\"&&($.maxPriorityFeePerGas=BigInt(n)),Ca(f)&&($.nonceKey=f===\"0x\"?0n:BigInt(f)),Ca(h)&&h!==\"0x\"&&($.validBefore=Number(h)),Ca(y)&&y!==\"0x\"&&($.validAfter=Number(y)),Ca(w)&&w!==\"0x\"&&($.feeToken=w),c&&c!==\"0x\"){let V=c;$.calls=V.map(G=>{let[K,Q,X]=G,Y={};return K&&K!==\"0x\"&&(Y.to=K),Q&&Q!==\"0x\"&&(Y.value=BigInt(Q)),X&&X!==\"0x\"&&(Y.data=X),Y})}l?.length!==0&&l!==\"0x\"&&($.accessList=TOe(l)),A?.length!==0&&A!==\"0x\"&&($.authorizationList=sOe(A)),E!==\"0x\"&&E!==void 0&&(E===\"0x00\"||Eb(E)?($.feePayerSignature=null,Eb(E)&&($.from=E)):$.feePayerSignature=sV(E)),M&&($.keyAuthorization=YP(M));let H=D?wp(D):void 0;if(H&&($={...$,signature:H}),!$.from&&H)try{$.from=ZP({payload:aq(oq($)),signature:H,root:!0})}catch{}return J5($),$}function oq(e,t={}){let{feePayerSignature:r,signature:n}=t,o=typeof e==\"string\"?NOe(e):e;return o.from&&(o.from=Qo(o.from)),o.calls&&(o.calls=o.calls.map(i=>({...i,...i.to?{to:Qo(i.to)}:{}}))),J5(o),{...o,...n?{signature:Bh(n)}:{},...r?{feePayerSignature:kh(r)}:{},type:\"tempo\"}}function iq(e,t={}){let{accessList:r,authorizationList:n,calls:o,chainId:i,feeToken:c,gas:l,keyAuthorization:f,nonce:p,nonceKey:h,maxFeePerGas:y,maxPriorityFeePerGas:w,validBefore:E,validAfter:A}=e;J5(e);let C=IOe(r),R=t.signature||e.signature,M=cOe(n),D=o.map(G=>[G.to?Qo(G.to):\"0x\",G.value?Ae(G.value):\"0x\",G.data??\"0x\"]),$=!1,H=(()=>{if(t.sender)return t.sender;if(t.format===\"feePayer\"&&R){let K=Bh(R);if(K.type===\"keychain\")return K.userAddress;if(K.type===\"p256\"||K.type===\"webAuthn\")return Ia(K.publicKey);if(K.type===\"secp256k1\")return Cb({payload:aq(oq(e)),signature:K.signature})}let G=typeof t.feePayerSignature<\"u\"?t.feePayerSignature:e.feePayerSignature;return G===null?($=!0,\"0x00\"):G?$7(G):\"0x\"})(),V=[Ae(i),w?Ae(w):\"0x\",y?Ae(y):\"0x\",l?Ae(l):\"0x\",D,C,h?Ae(h):\"0x\",p?Ae(p):\"0x\",typeof E==\"number\"?Ae(E):\"0x\",typeof A==\"number\"?Ae(A):\"0x\",!$&&(typeof c==\"bigint\"||typeof c==\"string\")?XP(c):\"0x\",H,M,...f?[G5(f)]:[],...R?[Dh(Bh(R))]:[]];return Xt(t.format===\"feePayer\"?MOe:DOe,Sb(V))}function aq(e,t={}){let r=UOe(e,{presign:!0});return t.from?uc(Xt(\"0x04\",r,Qo(t.from))):r}function UOe(e,t={}){let r=iq({...e,...t.presign?{signature:void 0,...e.feePayerSignature!==void 0?{feePayerSignature:null}:{}}:{}});return uc(r)}function qbt(e,t){let r=Qo(t.sender),n=iq({...e,signature:void 0},{sender:r,format:\"feePayer\"});return uc(n)}function Gbt(e){try{return J5(e),!0}catch{return!1}}var MOe,DOe,nq,uR,lR,$Oe=x(()=>{u();POe();Zc();Jo();Sh();Ar();N7();w5();Ch();BOe();F5();K5();Xv();Ob();eR();MOe=\"0x78\",DOe=\"0x76\",nq=\"tempo\";uR=class extends He{constructor(){super(\"Calls list cannot be empty.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"TxEnvelopeTempo.CallsEmptyError\"})}},lR=class extends He{constructor({validBefore:t,validAfter:r}){super(`validBefore (${t}) must be greater than validAfter (${r}).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"TxEnvelopeTempo.InvalidValidityWindowError\"})}}});var zOe=x(()=>{u()});var LOe=x(()=>{u()});var HOe=x(()=>{u()});var jOe=x(()=>{u()});var Q5=x(()=>{u();F5();K5();fOe();pOe();mOe();Xv();Ob();hOe();eR();yOe();tq();_Oe();COe();$Oe();zOe();LOe();HOe();jOe()});var Qbt,Ybt,Xbt,egt,tgt,rgt,ngt,Td,ogt,igt,agt,sgt,Wzr,FOe=x(()=>{u();Qbt=[{name:\"name\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"string\"}]},{name:\"symbol\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"string\"}]},{name:\"decimals\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint8\"}]},{name:\"totalSupply\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"quoteToken\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"address\"}]},{name:\"nextQuoteToken\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"address\"}]},{name:\"balanceOf\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"}],outputs:[{type:\"uint256\"}]},{name:\"transfer\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"to\"},{type:\"uint256\",name:\"amount\"}],outputs:[{type:\"bool\"}]},{name:\"approve\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"spender\"},{type:\"uint256\",name:\"amount\"}],outputs:[{type:\"bool\"}]},{name:\"allowance\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"owner\"},{type:\"address\",name:\"spender\"}],outputs:[{type:\"uint256\"}]},{name:\"transferFrom\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"from\"},{type:\"address\",name:\"to\"},{type:\"uint256\",name:\"amount\"}],outputs:[{type:\"bool\"}]},{name:\"mint\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"to\"},{type:\"uint256\",name:\"amount\"}],outputs:[]},{name:\"burn\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint256\",name:\"amount\"}],outputs:[]},{name:\"currency\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"string\"}]},{name:\"supplyCap\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"paused\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"bool\"}]},{name:\"transferPolicyId\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint64\"}]},{name:\"burnBlocked\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"from\"},{type:\"uint256\",name:\"amount\"}],outputs:[]},{name:\"mintWithMemo\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"to\"},{type:\"uint256\",name:\"amount\"},{type:\"bytes32\",name:\"memo\"}],outputs:[]},{name:\"burnWithMemo\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint256\",name:\"amount\"},{type:\"bytes32\",name:\"memo\"}],outputs:[]},{name:\"transferWithMemo\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"to\"},{type:\"uint256\",name:\"amount\"},{type:\"bytes32\",name:\"memo\"}],outputs:[]},{name:\"transferFromWithMemo\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"from\"},{type:\"address\",name:\"to\"},{type:\"uint256\",name:\"amount\"},{type:\"bytes32\",name:\"memo\"}],outputs:[{type:\"bool\"}]},{name:\"changeTransferPolicyId\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"newPolicyId\"}],outputs:[]},{name:\"setSupplyCap\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint256\",name:\"newSupplyCap\"}],outputs:[]},{name:\"pause\",type:\"function\",stateMutability:\"nonpayable\",inputs:[],outputs:[]},{name:\"unpause\",type:\"function\",stateMutability:\"nonpayable\",inputs:[],outputs:[]},{name:\"setNextQuoteToken\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"newQuoteToken\"}],outputs:[]},{name:\"completeQuoteTokenUpdate\",type:\"function\",stateMutability:\"nonpayable\",inputs:[],outputs:[]},{name:\"PAUSE_ROLE\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"bytes32\"}]},{name:\"UNPAUSE_ROLE\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"bytes32\"}]},{name:\"ISSUER_ROLE\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"bytes32\"}]},{name:\"BURN_BLOCKED_ROLE\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"bytes32\"}]},{name:\"permit\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"owner\"},{type:\"address\",name:\"spender\"},{type:\"uint256\",name:\"value\"},{type:\"uint256\",name:\"deadline\"},{type:\"uint8\",name:\"v\"},{type:\"bytes32\",name:\"r\"},{type:\"bytes32\",name:\"s\"}],outputs:[]},{name:\"nonces\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"owner\"}],outputs:[{type:\"uint256\"}]},{name:\"DOMAIN_SEPARATOR\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"bytes32\"}]},{name:\"distributeReward\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint256\",name:\"amount\"}],outputs:[]},{name:\"setRewardRecipient\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"recipient\"}],outputs:[]},{name:\"claimRewards\",type:\"function\",stateMutability:\"nonpayable\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"optedInSupply\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint128\"}]},{name:\"globalRewardPerToken\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"userRewardInfo\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"}],outputs:[{type:\"tuple\",components:[{type:\"address\",name:\"rewardRecipient\"},{type:\"uint256\",name:\"rewardPerToken\"},{type:\"uint256\",name:\"rewardBalance\"}]}]},{name:\"getPendingRewards\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"}],outputs:[{type:\"uint128\"}]},{name:\"Transfer\",type:\"event\",inputs:[{type:\"address\",name:\"from\",indexed:!0},{type:\"address\",name:\"to\",indexed:!0},{type:\"uint256\",name:\"amount\"}]},{name:\"Approval\",type:\"event\",inputs:[{type:\"address\",name:\"owner\",indexed:!0},{type:\"address\",name:\"spender\",indexed:!0},{type:\"uint256\",name:\"amount\"}]},{name:\"Mint\",type:\"event\",inputs:[{type:\"address\",name:\"to\",indexed:!0},{type:\"uint256\",name:\"amount\"}]},{name:\"Burn\",type:\"event\",inputs:[{type:\"address\",name:\"from\",indexed:!0},{type:\"uint256\",name:\"amount\"}]},{name:\"BurnBlocked\",type:\"event\",inputs:[{type:\"address\",name:\"from\",indexed:!0},{type:\"uint256\",name:\"amount\"}]},{name:\"TransferWithMemo\",type:\"event\",inputs:[{type:\"address\",name:\"from\",indexed:!0},{type:\"address\",name:\"to\",indexed:!0},{type:\"uint256\",name:\"amount\"},{type:\"bytes32\",name:\"memo\",indexed:!0}]},{name:\"TransferPolicyUpdate\",type:\"event\",inputs:[{type:\"address\",name:\"updater\",indexed:!0},{type:\"uint64\",name:\"newPolicyId\",indexed:!0}]},{name:\"SupplyCapUpdate\",type:\"event\",inputs:[{type:\"address\",name:\"updater\",indexed:!0},{type:\"uint256\",name:\"newSupplyCap\",indexed:!0}]},{name:\"PauseStateUpdate\",type:\"event\",inputs:[{type:\"address\",name:\"updater\",indexed:!0},{type:\"bool\",name:\"isPaused\"}]},{name:\"NextQuoteTokenSet\",type:\"event\",inputs:[{type:\"address\",name:\"updater\",indexed:!0},{type:\"address\",name:\"nextQuoteToken\",indexed:!0}]},{name:\"QuoteTokenUpdate\",type:\"event\",inputs:[{type:\"address\",name:\"updater\",indexed:!0},{type:\"address\",name:\"newQuoteToken\",indexed:!0}]},{name:\"RewardDistributed\",type:\"event\",inputs:[{type:\"address\",name:\"funder\",indexed:!0},{type:\"uint256\",name:\"amount\"}]},{name:\"RewardRecipientSet\",type:\"event\",inputs:[{type:\"address\",name:\"holder\",indexed:!0},{type:\"address\",name:\"recipient\",indexed:!0}]},{name:\"InsufficientBalance\",type:\"error\",inputs:[{type:\"uint256\",name:\"available\"},{type:\"uint256\",name:\"required\"},{type:\"address\",name:\"token\"}]},{name:\"InsufficientAllowance\",type:\"error\",inputs:[]},{name:\"SupplyCapExceeded\",type:\"error\",inputs:[]},{name:\"InvalidSupplyCap\",type:\"error\",inputs:[]},{name:\"InvalidPayload\",type:\"error\",inputs:[]},{name:\"StringTooLong\",type:\"error\",inputs:[]},{name:\"PolicyForbids\",type:\"error\",inputs:[]},{name:\"InvalidRecipient\",type:\"error\",inputs:[]},{name:\"ContractPaused\",type:\"error\",inputs:[]},{name:\"InvalidCurrency\",type:\"error\",inputs:[]},{name:\"InvalidQuoteToken\",type:\"error\",inputs:[]},{name:\"TransfersDisabled\",type:\"error\",inputs:[]},{name:\"InvalidAmount\",type:\"error\",inputs:[]},{name:\"NoOptedInSupply\",type:\"error\",inputs:[]},{name:\"Unauthorized\",type:\"error\",inputs:[]},{name:\"ProtectedAddress\",type:\"error\",inputs:[]},{name:\"InvalidToken\",type:\"error\",inputs:[]},{name:\"Uninitialized\",type:\"error\",inputs:[]},{name:\"InvalidTransferPolicyId\",type:\"error\",inputs:[]},{name:\"PermitExpired\",type:\"error\",inputs:[]},{name:\"InvalidSignature\",type:\"error\",inputs:[]},{name:\"hasRole\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"},{type:\"bytes32\",name:\"role\"}],outputs:[{type:\"bool\"}]},{name:\"getRoleAdmin\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes32\",name:\"role\"}],outputs:[{type:\"bytes32\"}]},{name:\"grantRole\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"bytes32\",name:\"role\"},{type:\"address\",name:\"account\"}],outputs:[]},{name:\"revokeRole\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"bytes32\",name:\"role\"},{type:\"address\",name:\"account\"}],outputs:[]},{name:\"renounceRole\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"bytes32\",name:\"role\"}],outputs:[]},{name:\"setRoleAdmin\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"bytes32\",name:\"role\"},{type:\"bytes32\",name:\"adminRole\"}],outputs:[]},{name:\"RoleMembershipUpdated\",type:\"event\",inputs:[{type:\"bytes32\",name:\"role\",indexed:!0},{type:\"address\",name:\"account\",indexed:!0},{type:\"address\",name:\"sender\",indexed:!0},{type:\"bool\",name:\"hasRole\"}]},{name:\"RoleAdminUpdated\",type:\"event\",inputs:[{type:\"bytes32\",name:\"role\",indexed:!0},{type:\"bytes32\",name:\"newAdminRole\",indexed:!0},{type:\"address\",name:\"sender\",indexed:!0}]},{name:\"Unauthorized\",type:\"error\",inputs:[]}],Ybt=[{name:\"getActiveValidators\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"tuple[]\",name:\"validators\",components:[{type:\"bytes32\",name:\"publicKey\"},{type:\"address\",name:\"validatorAddress\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"feeRecipient\"},{type:\"uint64\",name:\"index\"},{type:\"uint64\",name:\"addedAtHeight\"},{type:\"uint64\",name:\"deactivatedAtHeight\"}]}]},{name:\"getInitializedAtHeight\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint64\"}]},{name:\"owner\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"address\"}]},{name:\"validatorCount\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint64\"}]},{name:\"validatorByIndex\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"index\"}],outputs:[{type:\"tuple\",components:[{type:\"bytes32\",name:\"publicKey\"},{type:\"address\",name:\"validatorAddress\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"feeRecipient\"},{type:\"uint64\",name:\"index\"},{type:\"uint64\",name:\"addedAtHeight\"},{type:\"uint64\",name:\"deactivatedAtHeight\"}]}]},{name:\"validatorByAddress\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"validatorAddress\"}],outputs:[{type:\"tuple\",components:[{type:\"bytes32\",name:\"publicKey\"},{type:\"address\",name:\"validatorAddress\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"feeRecipient\"},{type:\"uint64\",name:\"index\"},{type:\"uint64\",name:\"addedAtHeight\"},{type:\"uint64\",name:\"deactivatedAtHeight\"}]}]},{name:\"validatorByPublicKey\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes32\",name:\"publicKey\"}],outputs:[{type:\"tuple\",components:[{type:\"bytes32\",name:\"publicKey\"},{type:\"address\",name:\"validatorAddress\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"feeRecipient\"},{type:\"uint64\",name:\"index\"},{type:\"uint64\",name:\"addedAtHeight\"},{type:\"uint64\",name:\"deactivatedAtHeight\"}]}]},{name:\"getNextNetworkIdentityRotationEpoch\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint64\"}]},{name:\"isInitialized\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"bool\"}]},{name:\"addValidator\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"validatorAddress\"},{type:\"bytes32\",name:\"publicKey\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"feeRecipient\"},{type:\"bytes\",name:\"signature\"}],outputs:[{type:\"uint64\",name:\"index\"}]},{name:\"deactivateValidator\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"idx\"}],outputs:[]},{name:\"rotateValidator\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"idx\"},{type:\"bytes32\",name:\"publicKey\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"bytes\",name:\"signature\"}],outputs:[]},{name:\"setFeeRecipient\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"idx\"},{type:\"address\",name:\"feeRecipient\"}],outputs:[]},{name:\"setIpAddresses\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"idx\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"}],outputs:[]},{name:\"transferValidatorOwnership\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"idx\"},{type:\"address\",name:\"newAddress\"}],outputs:[]},{name:\"transferOwnership\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"newOwner\"}],outputs:[]},{name:\"setNetworkIdentityRotationEpoch\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"epoch\"}],outputs:[]},{name:\"migrateValidator\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"idx\"}],outputs:[]},{name:\"initializeIfMigrated\",type:\"function\",stateMutability:\"nonpayable\",inputs:[],outputs:[]},{name:\"ValidatorAdded\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"address\",name:\"validatorAddress\",indexed:!0},{type:\"bytes32\",name:\"publicKey\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"feeRecipient\"}]},{name:\"ValidatorDeactivated\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"address\",name:\"validatorAddress\",indexed:!0}]},{name:\"ValidatorRotated\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"uint64\",name:\"deactivatedIndex\",indexed:!0},{type:\"address\",name:\"validatorAddress\",indexed:!0},{type:\"bytes32\",name:\"oldPublicKey\"},{type:\"bytes32\",name:\"newPublicKey\"},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"caller\"}]},{name:\"FeeRecipientUpdated\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"address\",name:\"feeRecipient\"},{type:\"address\",name:\"caller\"}]},{name:\"IpAddressesUpdated\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"string\",name:\"ingress\"},{type:\"string\",name:\"egress\"},{type:\"address\",name:\"caller\"}]},{name:\"ValidatorOwnershipTransferred\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"address\",name:\"oldAddress\",indexed:!0},{type:\"address\",name:\"newAddress\",indexed:!0},{type:\"address\",name:\"caller\"}]},{name:\"OwnershipTransferred\",type:\"event\",inputs:[{type:\"address\",name:\"oldOwner\",indexed:!0},{type:\"address\",name:\"newOwner\",indexed:!0}]},{name:\"ValidatorMigrated\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"address\",name:\"validatorAddress\",indexed:!0},{type:\"bytes32\",name:\"publicKey\"}]},{name:\"NetworkIdentityRotationEpochSet\",type:\"event\",inputs:[{type:\"uint64\",name:\"previousEpoch\",indexed:!0},{type:\"uint64\",name:\"nextEpoch\",indexed:!0}]},{name:\"Initialized\",type:\"event\",inputs:[{type:\"uint64\",name:\"height\"}]},{name:\"SkippedValidatorMigration\",type:\"event\",inputs:[{type:\"uint64\",name:\"index\",indexed:!0},{type:\"address\",name:\"validatorAddress\",indexed:!0},{type:\"bytes32\",name:\"publicKey\"}]},{name:\"AlreadyInitialized\",type:\"error\",inputs:[]},{name:\"IngressAlreadyExists\",type:\"error\",inputs:[{type:\"string\",name:\"ingress\"}]},{name:\"EmptyV1ValidatorSet\",type:\"error\",inputs:[]},{name:\"InvalidMigrationIndex\",type:\"error\",inputs:[]},{name:\"InvalidOwner\",type:\"error\",inputs:[]},{name:\"InvalidPublicKey\",type:\"error\",inputs:[]},{name:\"InvalidSignature\",type:\"error\",inputs:[]},{name:\"InvalidSignatureFormat\",type:\"error\",inputs:[]},{name:\"InvalidValidatorAddress\",type:\"error\",inputs:[]},{name:\"MigrationNotComplete\",type:\"error\",inputs:[]},{name:\"NotInitialized\",type:\"error\",inputs:[]},{name:\"NotIp\",type:\"error\",inputs:[{type:\"string\",name:\"input\"},{type:\"string\",name:\"backtrace\"}]},{name:\"NotIpPort\",type:\"error\",inputs:[{type:\"string\",name:\"input\"},{type:\"string\",name:\"backtrace\"}]},{name:\"PublicKeyAlreadyExists\",type:\"error\",inputs:[]},{name:\"Unauthorized\",type:\"error\",inputs:[]},{name:\"AddressAlreadyHasValidator\",type:\"error\",inputs:[]},{name:\"ValidatorAlreadyDeactivated\",type:\"error\",inputs:[]},{name:\"ValidatorNotFound\",type:\"error\",inputs:[]}],Xbt=[{name:\"recover\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes32\",name:\"hash\"},{type:\"bytes\",name:\"signature\"}],outputs:[{type:\"address\",name:\"signer\"}]},{name:\"verify\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"signer\"},{type:\"bytes32\",name:\"hash\"},{type:\"bytes\",name:\"signature\"}],outputs:[{type:\"bool\"}]},{name:\"InvalidFormat\",type:\"error\",inputs:[]},{name:\"InvalidSignature\",type:\"error\",inputs:[]}],egt=[{name:\"createPair\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"base\"}],outputs:[{type:\"bytes32\",name:\"key\"}]},{name:\"place\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"token\"},{type:\"uint128\",name:\"amount\"},{type:\"bool\",name:\"isBid\"},{type:\"int16\",name:\"tick\"}],outputs:[{type:\"uint128\",name:\"orderId\"}]},{name:\"placeFlip\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"token\"},{type:\"uint128\",name:\"amount\"},{type:\"bool\",name:\"isBid\"},{type:\"int16\",name:\"tick\"},{type:\"int16\",name:\"flipTick\"}],outputs:[{type:\"uint128\",name:\"orderId\"}]},{name:\"cancel\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint128\",name:\"orderId\"}],outputs:[]},{name:\"cancelStaleOrder\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint128\",name:\"orderId\"}],outputs:[]},{name:\"swapExactAmountIn\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"tokenIn\"},{type:\"address\",name:\"tokenOut\"},{type:\"uint128\",name:\"amountIn\"},{type:\"uint128\",name:\"minAmountOut\"}],outputs:[{type:\"uint128\",name:\"amountOut\"}]},{name:\"swapExactAmountOut\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"tokenIn\"},{type:\"address\",name:\"tokenOut\"},{type:\"uint128\",name:\"amountOut\"},{type:\"uint128\",name:\"maxAmountIn\"}],outputs:[{type:\"uint128\",name:\"amountIn\"}]},{name:\"quoteSwapExactAmountIn\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"tokenIn\"},{type:\"address\",name:\"tokenOut\"},{type:\"uint128\",name:\"amountIn\"}],outputs:[{type:\"uint128\",name:\"amountOut\"}]},{name:\"quoteSwapExactAmountOut\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"tokenIn\"},{type:\"address\",name:\"tokenOut\"},{type:\"uint128\",name:\"amountOut\"}],outputs:[{type:\"uint128\",name:\"amountIn\"}]},{name:\"balanceOf\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"user\"},{type:\"address\",name:\"token\"}],outputs:[{type:\"uint128\"}]},{name:\"withdraw\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"token\"},{type:\"uint128\",name:\"amount\"}],outputs:[]},{name:\"getOrder\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint128\",name:\"orderId\"}],outputs:[{type:\"tuple\",components:[{type:\"uint128\",name:\"orderId\"},{type:\"address\",name:\"maker\"},{type:\"bytes32\",name:\"bookKey\"},{type:\"bool\",name:\"isBid\"},{type:\"int16\",name:\"tick\"},{type:\"uint128\",name:\"amount\"},{type:\"uint128\",name:\"remaining\"},{type:\"uint128\",name:\"prev\"},{type:\"uint128\",name:\"next\"},{type:\"bool\",name:\"isFlip\"},{type:\"int16\",name:\"flipTick\"}]}]},{name:\"getTickLevel\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"base\"},{type:\"int16\",name:\"tick\"},{type:\"bool\",name:\"isBid\"}],outputs:[{type:\"uint128\",name:\"head\"},{type:\"uint128\",name:\"tail\"},{type:\"uint128\",name:\"totalLiquidity\"}]},{name:\"pairKey\",type:\"function\",stateMutability:\"pure\",inputs:[{type:\"address\",name:\"tokenA\"},{type:\"address\",name:\"tokenB\"}],outputs:[{type:\"bytes32\"}]},{name:\"nextOrderId\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint128\"}]},{name:\"books\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes32\",name:\"pairKey\"}],outputs:[{type:\"tuple\",components:[{type:\"address\",name:\"base\"},{type:\"address\",name:\"quote\"},{type:\"int16\",name:\"bestBidTick\"},{type:\"int16\",name:\"bestAskTick\"}]}]},{name:\"MIN_TICK\",type:\"function\",stateMutability:\"pure\",inputs:[],outputs:[{type:\"int16\"}]},{name:\"MAX_TICK\",type:\"function\",stateMutability:\"pure\",inputs:[],outputs:[{type:\"int16\"}]},{name:\"TICK_SPACING\",type:\"function\",stateMutability:\"pure\",inputs:[],outputs:[{type:\"int16\"}]},{name:\"PRICE_SCALE\",type:\"function\",stateMutability:\"pure\",inputs:[],outputs:[{type:\"uint32\"}]},{name:\"MIN_ORDER_AMOUNT\",type:\"function\",stateMutability:\"pure\",inputs:[],outputs:[{type:\"uint128\"}]},{name:\"MIN_PRICE\",type:\"function\",stateMutability:\"pure\",inputs:[],outputs:[{type:\"uint32\"}]},{name:\"MAX_PRICE\",type:\"function\",stateMutability:\"pure\",inputs:[],outputs:[{type:\"uint32\"}]},{name:\"tickToPrice\",type:\"function\",stateMutability:\"pure\",inputs:[{type:\"int16\",name:\"tick\"}],outputs:[{type:\"uint32\",name:\"price\"}]},{name:\"priceToTick\",type:\"function\",stateMutability:\"pure\",inputs:[{type:\"uint32\",name:\"price\"}],outputs:[{type:\"int16\",name:\"tick\"}]},{name:\"PairCreated\",type:\"event\",inputs:[{type:\"bytes32\",name:\"key\",indexed:!0},{type:\"address\",name:\"base\",indexed:!0},{type:\"address\",name:\"quote\",indexed:!0}]},{name:\"OrderPlaced\",type:\"event\",inputs:[{type:\"uint128\",name:\"orderId\",indexed:!0},{type:\"address\",name:\"maker\",indexed:!0},{type:\"address\",name:\"token\",indexed:!0},{type:\"uint128\",name:\"amount\"},{type:\"bool\",name:\"isBid\"},{type:\"int16\",name:\"tick\"},{type:\"bool\",name:\"isFlipOrder\"},{type:\"int16\",name:\"flipTick\"}]},{name:\"OrderFilled\",type:\"event\",inputs:[{type:\"uint128\",name:\"orderId\",indexed:!0},{type:\"address\",name:\"maker\",indexed:!0},{type:\"address\",name:\"taker\",indexed:!0},{type:\"uint128\",name:\"amountFilled\"},{type:\"bool\",name:\"partialFill\"}]},{name:\"OrderCancelled\",type:\"event\",inputs:[{type:\"uint128\",name:\"orderId\",indexed:!0}]},{name:\"Unauthorized\",type:\"error\",inputs:[]},{name:\"PairDoesNotExist\",type:\"error\",inputs:[]},{name:\"PairAlreadyExists\",type:\"error\",inputs:[]},{name:\"OrderDoesNotExist\",type:\"error\",inputs:[]},{name:\"IdenticalTokens\",type:\"error\",inputs:[]},{name:\"InvalidToken\",type:\"error\",inputs:[]},{name:\"TickOutOfBounds\",type:\"error\",inputs:[{type:\"int16\",name:\"tick\"}]},{name:\"InvalidTick\",type:\"error\",inputs:[]},{name:\"InvalidFlipTick\",type:\"error\",inputs:[]},{name:\"InsufficientBalance\",type:\"error\",inputs:[]},{name:\"InsufficientLiquidity\",type:\"error\",inputs:[]},{name:\"InsufficientOutput\",type:\"error\",inputs:[]},{name:\"MaxInputExceeded\",type:\"error\",inputs:[]},{name:\"BelowMinimumOrderSize\",type:\"error\",inputs:[{type:\"uint128\",name:\"amount\"}]},{name:\"InvalidBaseToken\",type:\"error\",inputs:[]},{name:\"OrderNotStale\",type:\"error\",inputs:[]}],tgt=[{name:\"registerVirtualMaster\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"bytes32\",name:\"salt\"}],outputs:[{type:\"bytes4\",name:\"masterId\"}]},{name:\"getMaster\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes4\",name:\"masterId\"}],outputs:[{type:\"address\"}]},{name:\"resolveRecipient\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"to\"}],outputs:[{type:\"address\",name:\"effectiveRecipient\"}]},{name:\"resolveVirtualAddress\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"virtualAddr\"}],outputs:[{type:\"address\",name:\"master\"}]},{name:\"isVirtualAddress\",type:\"function\",stateMutability:\"pure\",inputs:[{type:\"address\",name:\"addr\"}],outputs:[{type:\"bool\"}]},{name:\"decodeVirtualAddress\",type:\"function\",stateMutability:\"pure\",inputs:[{type:\"address\",name:\"addr\"}],outputs:[{type:\"bool\",name:\"isVirtual\"},{type:\"bytes4\",name:\"masterId\"},{type:\"bytes6\",name:\"userTag\"}]},{name:\"MasterRegistered\",type:\"event\",inputs:[{type:\"bytes4\",name:\"masterId\",indexed:!0},{type:\"address\",name:\"masterAddress\",indexed:!0}]},{name:\"MasterIdCollision\",type:\"error\",inputs:[{type:\"address\",name:\"master\"}]},{name:\"InvalidMasterAddress\",type:\"error\",inputs:[]},{name:\"ProofOfWorkFailed\",type:\"error\",inputs:[]},{name:\"VirtualAddressUnregistered\",type:\"error\",inputs:[]}],rgt=[{name:\"userTokens\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"user\"}],outputs:[{type:\"address\"}]},{name:\"validatorTokens\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"validator\"}],outputs:[{type:\"address\"}]},{name:\"setUserToken\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"token\"}],outputs:[]},{name:\"setValidatorToken\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"token\"}],outputs:[]},{name:\"distributeFees\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"validator\"},{type:\"address\",name:\"token\"}],outputs:[]},{name:\"collectedFees\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"validator\"},{type:\"address\",name:\"token\"}],outputs:[{type:\"uint256\"}]},{name:\"UserTokenSet\",type:\"event\",inputs:[{type:\"address\",name:\"user\",indexed:!0},{type:\"address\",name:\"token\",indexed:!0}]},{name:\"ValidatorTokenSet\",type:\"event\",inputs:[{type:\"address\",name:\"validator\",indexed:!0},{type:\"address\",name:\"token\",indexed:!0}]},{name:\"FeesDistributed\",type:\"event\",inputs:[{type:\"address\",name:\"validator\",indexed:!0},{type:\"address\",name:\"token\",indexed:!0},{type:\"uint256\",name:\"amount\"}]},{name:\"OnlyValidator\",type:\"error\",inputs:[]},{name:\"OnlySystemContract\",type:\"error\",inputs:[]},{name:\"InvalidToken\",type:\"error\",inputs:[]},{name:\"PoolDoesNotExist\",type:\"error\",inputs:[]},{name:\"InsufficientFeeTokenBalance\",type:\"error\",inputs:[]},{name:\"InternalError\",type:\"error\",inputs:[]},{name:\"CannotChangeWithinBlock\",type:\"error\",inputs:[]},{name:\"CannotChangeWithPendingFees\",type:\"error\",inputs:[]},{name:\"TokenPolicyForbids\",type:\"error\",inputs:[]}],ngt=[{name:\"M\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"N\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"SCALE\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"MIN_LIQUIDITY\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint256\"}]},{name:\"getPoolId\",type:\"function\",stateMutability:\"pure\",inputs:[{type:\"address\",name:\"userToken\"},{type:\"address\",name:\"validatorToken\"}],outputs:[{type:\"bytes32\"}]},{name:\"getPool\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"userToken\"},{type:\"address\",name:\"validatorToken\"}],outputs:[{type:\"tuple\",components:[{type:\"uint128\",name:\"reserveUserToken\"},{type:\"uint128\",name:\"reserveValidatorToken\"}]}]},{name:\"pools\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes32\",name:\"poolId\"}],outputs:[{type:\"tuple\",components:[{type:\"uint128\",name:\"reserveUserToken\"},{type:\"uint128\",name:\"reserveValidatorToken\"}]}]},{name:\"mint\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"userToken\"},{type:\"address\",name:\"validatorToken\"},{type:\"uint256\",name:\"amountValidatorToken\"},{type:\"address\",name:\"to\"}],outputs:[{type:\"uint256\",name:\"liquidity\"}]},{name:\"burn\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"userToken\"},{type:\"address\",name:\"validatorToken\"},{type:\"uint256\",name:\"liquidity\"},{type:\"address\",name:\"to\"}],outputs:[{type:\"uint256\",name:\"amountUserToken\"},{type:\"uint256\",name:\"amountValidatorToken\"}]},{name:\"totalSupply\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes32\",name:\"poolId\"}],outputs:[{type:\"uint256\"}]},{name:\"liquidityBalances\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"bytes32\",name:\"poolId\"},{type:\"address\",name:\"user\"}],outputs:[{type:\"uint256\"}]},{name:\"rebalanceSwap\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"userToken\"},{type:\"address\",name:\"validatorToken\"},{type:\"uint256\",name:\"amountOut\"},{type:\"address\",name:\"to\"}],outputs:[{type:\"uint256\",name:\"amountIn\"}]},{name:\"Mint\",type:\"event\",inputs:[{type:\"address\",name:\"sender\"},{type:\"address\",name:\"to\",indexed:!0},{type:\"address\",name:\"userToken\",indexed:!0},{type:\"address\",name:\"validatorToken\",indexed:!0},{type:\"uint256\",name:\"amountValidatorToken\"},{type:\"uint256\",name:\"liquidity\"}]},{name:\"Burn\",type:\"event\",inputs:[{type:\"address\",name:\"sender\",indexed:!0},{type:\"address\",name:\"userToken\",indexed:!0},{type:\"address\",name:\"validatorToken\",indexed:!0},{type:\"uint256\",name:\"amountUserToken\"},{type:\"uint256\",name:\"amountValidatorToken\"},{type:\"uint256\",name:\"liquidity\"},{type:\"address\",name:\"to\"}]},{name:\"RebalanceSwap\",type:\"event\",inputs:[{type:\"address\",name:\"userToken\",indexed:!0},{type:\"address\",name:\"validatorToken\",indexed:!0},{type:\"address\",name:\"swapper\",indexed:!0},{type:\"uint256\",name:\"amountIn\"},{type:\"uint256\",name:\"amountOut\"}]},{name:\"IdenticalAddresses\",type:\"error\",inputs:[]},{name:\"InvalidToken\",type:\"error\",inputs:[]},{name:\"InsufficientLiquidity\",type:\"error\",inputs:[]},{name:\"InsufficientReserves\",type:\"error\",inputs:[]},{name:\"InvalidAmount\",type:\"error\",inputs:[]},{name:\"DivisionByZero\",type:\"error\",inputs:[]},{name:\"InvalidSwapCalculation\",type:\"error\",inputs:[]}],Td=[{name:\"authorizeKey\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"keyId\"},{type:\"uint8\",name:\"signatureType\"},{type:\"uint64\",name:\"expiry\"},{type:\"bool\",name:\"enforceLimits\"},{type:\"tuple[]\",name:\"limits\",components:[{type:\"address\",name:\"token\"},{type:\"uint256\",name:\"amount\"}]}],outputs:[]},{name:\"authorizeKey\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"keyId\"},{type:\"uint8\",name:\"signatureType\"},{type:\"tuple\",name:\"config\",components:[{type:\"uint64\",name:\"expiry\"},{type:\"bool\",name:\"enforceLimits\"},{type:\"tuple[]\",name:\"limits\",components:[{type:\"address\",name:\"token\"},{type:\"uint256\",name:\"amount\"},{type:\"uint64\",name:\"period\"}]},{type:\"bool\",name:\"allowAnyCalls\"},{type:\"tuple[]\",name:\"allowedCalls\",components:[{type:\"address\",name:\"target\"},{type:\"tuple[]\",name:\"selectorRules\",components:[{type:\"bytes4\",name:\"selector\"},{type:\"address[]\",name:\"recipients\"}]}]}]}],outputs:[]},{name:\"revokeKey\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"keyId\"}],outputs:[]},{name:\"updateSpendingLimit\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"keyId\"},{type:\"address\",name:\"token\"},{type:\"uint256\",name:\"newLimit\"}],outputs:[]},{name:\"setAllowedCalls\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"keyId\"},{type:\"tuple[]\",name:\"scopes\",components:[{type:\"address\",name:\"target\"},{type:\"tuple[]\",name:\"selectorRules\",components:[{type:\"bytes4\",name:\"selector\"},{type:\"address[]\",name:\"recipients\"}]}]}],outputs:[]},{name:\"removeAllowedCalls\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"keyId\"},{type:\"address\",name:\"target\"}],outputs:[]},{name:\"getKey\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"},{type:\"address\",name:\"keyId\"}],outputs:[{type:\"tuple\",components:[{type:\"uint8\",name:\"signatureType\"},{type:\"address\",name:\"keyId\"},{type:\"uint64\",name:\"expiry\"},{type:\"bool\",name:\"enforceLimits\"},{type:\"bool\",name:\"isRevoked\"}]}]},{name:\"getRemainingLimit\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"},{type:\"address\",name:\"keyId\"},{type:\"address\",name:\"token\"}],outputs:[{type:\"uint256\",name:\"remaining\"}]},{name:\"getRemainingLimitWithPeriod\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"},{type:\"address\",name:\"keyId\"},{type:\"address\",name:\"token\"}],outputs:[{type:\"uint256\",name:\"remaining\"},{type:\"uint64\",name:\"periodEnd\"}]},{name:\"getAllowedCalls\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"},{type:\"address\",name:\"keyId\"}],outputs:[{type:\"bool\",name:\"isScoped\"},{type:\"tuple[]\",name:\"scopes\",components:[{type:\"address\",name:\"target\"},{type:\"tuple[]\",name:\"selectorRules\",components:[{type:\"bytes4\",name:\"selector\"},{type:\"address[]\",name:\"recipients\"}]}]}]},{name:\"getTransactionKey\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"address\"}]},{name:\"KeyAuthorized\",type:\"event\",inputs:[{type:\"address\",name:\"account\",indexed:!0},{type:\"address\",name:\"publicKey\",indexed:!0},{type:\"uint8\",name:\"signatureType\"},{type:\"uint64\",name:\"expiry\"}]},{name:\"KeyRevoked\",type:\"event\",inputs:[{type:\"address\",name:\"account\",indexed:!0},{type:\"address\",name:\"publicKey\",indexed:!0}]},{name:\"SpendingLimitUpdated\",type:\"event\",inputs:[{type:\"address\",name:\"account\",indexed:!0},{type:\"address\",name:\"publicKey\",indexed:!0},{type:\"address\",name:\"token\",indexed:!0},{type:\"uint256\",name:\"newLimit\"}]},{name:\"AccessKeySpend\",type:\"event\",inputs:[{type:\"address\",name:\"account\",indexed:!0},{type:\"address\",name:\"publicKey\",indexed:!0},{type:\"address\",name:\"token\",indexed:!0},{type:\"uint256\",name:\"amount\"},{type:\"uint256\",name:\"remainingLimit\"}]},{name:\"UnauthorizedCaller\",type:\"error\",inputs:[]},{name:\"KeyAlreadyExists\",type:\"error\",inputs:[]},{name:\"KeyNotFound\",type:\"error\",inputs:[]},{name:\"KeyExpired\",type:\"error\",inputs:[]},{name:\"SpendingLimitExceeded\",type:\"error\",inputs:[]},{name:\"InvalidSpendingLimit\",type:\"error\",inputs:[]},{name:\"InvalidSignatureType\",type:\"error\",inputs:[]},{name:\"ZeroPublicKey\",type:\"error\",inputs:[]},{name:\"ExpiryInPast\",type:\"error\",inputs:[]},{name:\"KeyAlreadyRevoked\",type:\"error\",inputs:[]},{name:\"SignatureTypeMismatch\",type:\"error\",inputs:[{type:\"uint8\",name:\"expected\"},{type:\"uint8\",name:\"actual\"}]},{name:\"CallNotAllowed\",type:\"error\",inputs:[]},{name:\"InvalidCallScope\",type:\"error\",inputs:[]},{name:\"LegacyAuthorizeKeySelectorChanged\",type:\"error\",inputs:[{type:\"bytes4\",name:\"newSelector\"}]}],ogt=[{name:\"getNonce\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"account\"},{type:\"uint256\",name:\"nonceKey\"}],outputs:[{type:\"uint64\",name:\"nonce\"}]},{name:\"NonceIncremented\",type:\"event\",inputs:[{type:\"address\",name:\"account\",indexed:!0},{type:\"uint256\",name:\"nonceKey\",indexed:!0},{type:\"uint64\",name:\"newNonce\"}]},{name:\"ProtocolNonceNotSupported\",type:\"error\",inputs:[]},{name:\"InvalidNonceKey\",type:\"error\",inputs:[]},{name:\"NonceOverflow\",type:\"error\",inputs:[]},{name:\"ExpiringNonceReplay\",type:\"error\",inputs:[]},{name:\"ExpiringNonceSetFull\",type:\"error\",inputs:[]},{name:\"InvalidExpiringNonceExpiry\",type:\"error\",inputs:[]}],igt=[{name:\"createToken\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"string\",name:\"name\"},{type:\"string\",name:\"symbol\"},{type:\"string\",name:\"currency\"},{type:\"address\",name:\"quoteToken\"},{type:\"address\",name:\"admin\"},{type:\"bytes32\",name:\"salt\"}],outputs:[{type:\"address\"}]},{name:\"isTIP20\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"token\"}],outputs:[{type:\"bool\"}]},{name:\"getTokenAddress\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"sender\"},{type:\"bytes32\",name:\"salt\"}],outputs:[{type:\"address\"}]},{name:\"TokenCreated\",type:\"event\",inputs:[{type:\"address\",name:\"token\",indexed:!0},{type:\"string\",name:\"name\"},{type:\"string\",name:\"symbol\"},{type:\"string\",name:\"currency\"},{type:\"address\",name:\"quoteToken\"},{type:\"address\",name:\"admin\"},{type:\"bytes32\",name:\"salt\"}]},{name:\"AddressReserved\",type:\"error\",inputs:[]},{name:\"AddressNotReserved\",type:\"error\",inputs:[]},{name:\"InvalidQuoteToken\",type:\"error\",inputs:[]},{name:\"TokenAlreadyExists\",type:\"error\",inputs:[{type:\"address\",name:\"token\"}]}],agt=[{name:\"policyIdCounter\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint64\"}]},{name:\"policyExists\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"policyId\"}],outputs:[{type:\"bool\"}]},{name:\"policyData\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"policyId\"}],outputs:[{type:\"uint8\",name:\"policyType\"},{type:\"address\",name:\"admin\"}]},{name:\"isAuthorized\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"policyId\"},{type:\"address\",name:\"user\"}],outputs:[{type:\"bool\"}]},{name:\"isAuthorizedSender\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"policyId\"},{type:\"address\",name:\"user\"}],outputs:[{type:\"bool\"}]},{name:\"isAuthorizedRecipient\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"policyId\"},{type:\"address\",name:\"user\"}],outputs:[{type:\"bool\"}]},{name:\"isAuthorizedMintRecipient\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"policyId\"},{type:\"address\",name:\"user\"}],outputs:[{type:\"bool\"}]},{name:\"compoundPolicyData\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint64\",name:\"policyId\"}],outputs:[{type:\"uint64\",name:\"senderPolicyId\"},{type:\"uint64\",name:\"recipientPolicyId\"},{type:\"uint64\",name:\"mintRecipientPolicyId\"}]},{name:\"createPolicy\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"admin\"},{type:\"uint8\",name:\"policyType\"}],outputs:[{type:\"uint64\"}]},{name:\"createPolicyWithAccounts\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"admin\"},{type:\"uint8\",name:\"policyType\"},{type:\"address[]\",name:\"accounts\"}],outputs:[{type:\"uint64\"}]},{name:\"setPolicyAdmin\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"policyId\"},{type:\"address\",name:\"admin\"}],outputs:[]},{name:\"modifyPolicyWhitelist\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"policyId\"},{type:\"address\",name:\"account\"},{type:\"bool\",name:\"allowed\"}],outputs:[]},{name:\"modifyPolicyBlacklist\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"policyId\"},{type:\"address\",name:\"account\"},{type:\"bool\",name:\"restricted\"}],outputs:[]},{name:\"createCompoundPolicy\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"senderPolicyId\"},{type:\"uint64\",name:\"recipientPolicyId\"},{type:\"uint64\",name:\"mintRecipientPolicyId\"}],outputs:[{type:\"uint64\"}]},{name:\"PolicyAdminUpdated\",type:\"event\",inputs:[{type:\"uint64\",name:\"policyId\",indexed:!0},{type:\"address\",name:\"updater\",indexed:!0},{type:\"address\",name:\"admin\",indexed:!0}]},{name:\"PolicyCreated\",type:\"event\",inputs:[{type:\"uint64\",name:\"policyId\",indexed:!0},{type:\"address\",name:\"updater\",indexed:!0},{type:\"uint8\",name:\"policyType\"}]},{name:\"WhitelistUpdated\",type:\"event\",inputs:[{type:\"uint64\",name:\"policyId\",indexed:!0},{type:\"address\",name:\"updater\",indexed:!0},{type:\"address\",name:\"account\",indexed:!0},{type:\"bool\",name:\"allowed\"}]},{name:\"BlacklistUpdated\",type:\"event\",inputs:[{type:\"uint64\",name:\"policyId\",indexed:!0},{type:\"address\",name:\"updater\",indexed:!0},{type:\"address\",name:\"account\",indexed:!0},{type:\"bool\",name:\"restricted\"}]},{name:\"CompoundPolicyCreated\",type:\"event\",inputs:[{type:\"uint64\",name:\"policyId\",indexed:!0},{type:\"address\",name:\"creator\",indexed:!0},{type:\"uint64\",name:\"senderPolicyId\"},{type:\"uint64\",name:\"recipientPolicyId\"},{type:\"uint64\",name:\"mintRecipientPolicyId\"}]},{name:\"Unauthorized\",type:\"error\",inputs:[]},{name:\"PolicyNotFound\",type:\"error\",inputs:[]},{name:\"PolicyNotSimple\",type:\"error\",inputs:[]},{name:\"InvalidPolicyType\",type:\"error\",inputs:[]},{name:\"IncompatiblePolicyType\",type:\"error\",inputs:[]},{name:\"VirtualAddressNotAllowed\",type:\"error\",inputs:[]}],sgt=[{name:\"getValidators\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"tuple[]\",name:\"validators\",components:[{type:\"bytes32\",name:\"publicKey\"},{type:\"bool\",name:\"active\"},{type:\"uint64\",name:\"index\"},{type:\"address\",name:\"validatorAddress\"},{type:\"string\",name:\"inboundAddress\"},{type:\"string\",name:\"outboundAddress\"}]}]},{name:\"addValidator\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"newValidatorAddress\"},{type:\"bytes32\",name:\"publicKey\"},{type:\"bool\",name:\"active\"},{type:\"string\",name:\"inboundAddress\"},{type:\"string\",name:\"outboundAddress\"}],outputs:[]},{name:\"updateValidator\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"newValidatorAddress\"},{type:\"bytes32\",name:\"publicKey\"},{type:\"string\",name:\"inboundAddress\"},{type:\"string\",name:\"outboundAddress\"}],outputs:[]},{name:\"changeValidatorStatus\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"validator\"},{type:\"bool\",name:\"active\"}],outputs:[]},{name:\"changeValidatorStatusByIndex\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"index\"},{type:\"bool\",name:\"active\"}],outputs:[]},{name:\"owner\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"address\"}]},{name:\"changeOwner\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"address\",name:\"newOwner\"}],outputs:[]},{name:\"getNextFullDkgCeremony\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint64\"}]},{name:\"setNextFullDkgCeremony\",type:\"function\",stateMutability:\"nonpayable\",inputs:[{type:\"uint64\",name:\"epoch\"}],outputs:[]},{name:\"validatorsArray\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"uint256\",name:\"index\"}],outputs:[{type:\"address\"}]},{name:\"validators\",type:\"function\",stateMutability:\"view\",inputs:[{type:\"address\",name:\"validator\"}],outputs:[{type:\"tuple\",components:[{type:\"bytes32\",name:\"publicKey\"},{type:\"bool\",name:\"active\"},{type:\"uint64\",name:\"index\"},{type:\"address\",name:\"validatorAddress\"},{type:\"string\",name:\"inboundAddress\"},{type:\"string\",name:\"outboundAddress\"}]}]},{name:\"validatorCount\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{type:\"uint64\"}]},{name:\"Unauthorized\",type:\"error\",inputs:[]},{name:\"ValidatorAlreadyExists\",type:\"error\",inputs:[]},{name:\"ValidatorNotFound\",type:\"error\",inputs:[]},{name:\"InvalidPublicKey\",type:\"error\",inputs:[]},{name:\"NotHostPort\",type:\"error\",inputs:[{type:\"string\",name:\"field\"},{type:\"string\",name:\"input\"},{type:\"string\",name:\"backtrace\"}]},{name:\"NotIpPort\",type:\"error\",inputs:[{type:\"string\",name:\"field\"},{type:\"string\",name:\"input\"},{type:\"string\",name:\"backtrace\"}]}],Wzr=[...Qbt,...Ybt,...Xbt,...egt,...tgt,...rgt,...ngt,...Td,...ogt,...igt,...agt,...sgt]});function VOe(e){let t=e.account;return t?.keyType&&t.keyType!==\"secp256k1\"||t?.source===\"accessKey\"||typeof e.calls<\"u\"||typeof e.feePayer<\"u\"||typeof e.feeToken<\"u\"||typeof e.keyAuthorization<\"u\"||typeof e.nonceKey<\"u\"||typeof e.signature<\"u\"||typeof e.validBefore<\"u\"||typeof e.validAfter<\"u\"?\"tempo\":e.type?e.type:mv(e)}function dR(e){try{return VOe(e)===\"tempo\"}catch{return!1}}async function qOe(e,t){if(!dR(e)){if(t&&\"type\"in t&&t.type!==\"secp256k1\")throw new Error(\"Unsupported signature type. Expected `secp256k1` but got `\"+t.type+\"`.\");if(t&&\"type\"in t){let{r:n,s:o,yParity:i}=t?.signature;return gb(e,{r:Ae(n,{size:32}),s:Ae(o,{size:32}),yParity:i})}return gb(e,t)}if(VOe(e)===\"tempo\")return ugt(e,t);throw new Error(\"Unsupported transaction type\")}async function ugt(e,t){let r=(()=>{if(e.signature)return e.signature;if(t&&\"type\"in t)return t;if(t)return xs.from({r:BigInt(t.r),s:BigInt(t.s),yParity:Number(t.yParity)})})(),{chainId:n,feePayer:o,nonce:i,...c}=e,l=(()=>{let p=e.feePayerSignature;if(p)return{r:BigInt(p.r),s:BigInt(p.s),yParity:Number(p.yParity)};if(p===null||o)return null})(),f={...c,calls:c.calls?.length?c.calls:[{to:c.to||(!c.data||c.data===\"0x\"?\"0x0000000000000000000000000000000000000000\":void 0),value:c.value,data:c.data}],chainId:Number(n),feePayerSignature:l,type:\"tempo\",...i?{nonce:BigInt(i)}:{}};if(o===!0&&delete f.feeToken,r&&typeof e.feePayer==\"object\"){let p=Cd.from(f,{signature:r}),h=(()=>{if(e.from)return e.from;if(r.type===\"secp256k1\")return Cb({payload:Cd.getSignPayload(p),signature:r.signature});throw new Error(\"Unable to extract sender from transaction or signature.\")})(),y=Cd.getFeePayerSignPayload(p,{sender:h}),w=await e.feePayer.sign({hash:y});return Cd.serialize(p,{feePayerSignature:kh(w)})}return o===!0?r?Cd.serialize(f,{format:\"feePayer\",sender:e.from,signature:r}):Cd.serialize(f,{feePayerSignature:null}):Cd.serialize({...f,...o?{feeToken:void 0}:{}},{feePayerSignature:void 0,signature:r})}var sq=x(()=>{u();Ar();w5();Ch();Q5();bI();Bv()});async function GOe(e,t){let{chainId:r,key:n,expiry:o,limits:i,scopes:c}=t,{accessKeyAddress:l,keyType:f}=dgt(n),p=await e.sign({hash:Uh.getSignPayload({address:l,chainId:r,expiry:o,limits:i,scopes:c,type:f})});return Uh.from({address:l,chainId:r,expiry:o,limits:i,scopes:c,signature:xs.from(p),type:f})}function dgt(e){return\"accessKeyAddress\"in e?{accessKeyAddress:e.accessKeyAddress,keyType:e.keyType}:\"publicKey\"in e&&e.publicKey?{accessKeyAddress:Ia(k7(e.publicKey)),keyType:e.type}:{accessKeyAddress:e.address,keyType:e.type}}var KOe=x(()=>{u();Zc();Mv();Q5()});var nw,ZOe=x(()=>{u();nw=\"0xaAAAaaAA00000000000000000000000000000000\"});function JOe(e,t){return WOe.indexOf(e)<WOe.indexOf(t)}var WOe,QOe=x(()=>{u();WOe=[\"genesis\",\"t0\",\"t1\",\"t1a\",\"t1b\",\"t1c\",\"t2\",\"t3\"]});function ow(e){return{...e,data:vt(e),to:e.address}}var YOe=x(()=>{u();Th()});async function cq(e,t){return cq.inner(Ed,e,t)}async function uq(e,t){return uq.inner(_d,e,t)}async function lq(e,t){return lq.inner(_d,e,t)}async function Y5(e,t){let{account:r=e.account,accessKey:n,...o}=t;if(!r)throw new Error(\"account is required.\");let i=tt(r),c=await Wr(e,{...o,...Y5.call({account:i.address,accessKey:n})});return{address:c.keyId,keyType:mgt[c.signatureType]??\"secp256k1\",expiry:c.expiry,spendPolicy:hgt[`${c.enforceLimits}`],isRevoked:c.isRevoked}}async function fR(e,t){let{account:r=e.account,accessKey:n,token:o,...i}=t;if(!r)throw new Error(\"account is required.\");let c=tt(r),l=e.chain?.hardfork;if(l&&JOe(l,\"t3\"))return{remaining:await Wr(e,{...i,...fR.call({account:c.address,accessKey:n,token:o})}),periodEnd:void 0};let[f,p]=await Wr(e,{...i,...fR.callWithPeriod({account:c.address,accessKey:n,token:o})});return{remaining:f,periodEnd:p}}function X5(e){return typeof e==\"string\"?e:e.accessKeyAddress}var mgt,hgt,XOe=x(()=>{u();Zr();sc();Tv();KI();KS();FOe();KOe();ZOe();QOe();YOe();mgt={0:\"secp256k1\",1:\"p256\",2:\"webAuthn\"},hgt={true:\"limited\",false:\"unlimited\"};(function(e){async function t(n,o,i){let{accessKey:c,chainId:l=o.chain?.id,expiry:f,limits:p,scopes:h,...y}=i,w=y.account??o.account;if(!w)throw new Error(\"account is required.\");if(!l)throw new Error(\"chainId is required.\");let E=tt(w),A=await GOe(E,{chainId:BigInt(l),key:c,expiry:f,limits:p,scopes:h});return await n(o,{...y,keyAuthorization:A})}e.inner=t;function r(n){let[o]=bd({abi:Td,logs:n,eventName:\"KeyAuthorized\",strict:!0});if(!o)throw new Error(\"`KeyAuthorized` event not found.\");return o}e.extractEvent=r})(cq||(cq={}));(function(e){async function t(o,i,c){let{accessKey:l,...f}=c,p=e.call({accessKey:l});return await o(i,{...f,...p})}e.inner=t;function r(o){let{accessKey:i}=o;return ow({address:nw,abi:Td,functionName:\"revokeKey\",args:[X5(i)]})}e.call=r;function n(o){let[i]=bd({abi:Td,logs:o,eventName:\"KeyRevoked\",strict:!0});if(!i)throw new Error(\"`KeyRevoked` event not found.\");return i}e.extractEvent=n})(uq||(uq={}));(function(e){async function t(o,i,c){let{accessKey:l,token:f,limit:p,...h}=c,y=e.call({accessKey:l,token:f,limit:p});return await o(i,{...h,...y})}e.inner=t;function r(o){let{accessKey:i,token:c,limit:l}=o;return ow({address:nw,abi:Td,functionName:\"updateSpendingLimit\",args:[X5(i),c,l]})}e.call=r;function n(o){let[i]=bd({abi:Td,logs:o,eventName:\"SpendingLimitUpdated\",strict:!0});if(!i)throw new Error(\"`SpendingLimitUpdated` event not found.\");return i}e.extractEvent=n})(lq||(lq={}));(function(e){function t(r){let{account:n,accessKey:o}=r;return ow({address:nw,abi:Td,functionName:\"getKey\",args:[n,X5(o)]})}e.call=t})(Y5||(Y5={}));(function(e){function t(n){let{account:o,accessKey:i,token:c}=n;return ow({address:nw,abi:Td,functionName:\"getRemainingLimit\",args:[o,X5(i),c]})}e.call=t;function r(n){let{account:o,accessKey:i,token:c}=n;return ow({address:nw,abi:Td,functionName:\"getRemainingLimitWithPeriod\",args:[o,X5(i),c]})}e.callWithPeriod=r})(fR||(fR={}))});function eBe(e){if(!dR(e))return ic(e);let t=e.blockTimestamp==null?void 0:BigInt(e.blockTimestamp),{feePayerSignature:r,gasPrice:n,nonce:o,...i}=rw.fromRpc(e);return{...i,accessList:i.accessList,...typeof t<\"u\"&&{blockTimestamp:t},feePayerSignature:r?{r:Ae(r.r,{size:32}),s:Ae(r.s,{size:32}),v:BigInt(r.v??27),yParity:r.yParity}:void 0,nonce:Number(o),typeHex:rw.toRpcType[i.type],type:i.type}}function tBe(e){return hp(e)}function rBe(e,t){let r=e,n=r.account?tt(r.account):void 0;if(!dR(r))return So(e,t);t&&(r.calls=r.calls??[{to:e.to||(!e.data||e.data===\"0x\"?\"0x0000000000000000000000000000000000000000\":void 0),value:e.value,data:e.data}]),r.feePayer===!0&&delete r.feeToken;let o=nR.toRpc({...r,type:\"tempo\"});t===\"estimateGas\"&&(o.maxFeePerGas=void 0,o.maxPriorityFeePerGas=void 0),o.to=void 0,o.data=void 0,o.value=void 0;let[i,c]=(()=>{let f=n&&\"keyType\"in n?n.keyType:n?.source;return f?f===\"webAuthn\"?[\"webAuthn\",`0x${\"ff\".repeat(1400)}`]:[\"p256\",\"secp256k1\"].includes(f)?[f,void 0]:[r.keyType,r.keyData]:[r.keyType,r.keyData]})(),l=n&&\"accessKeyAddress\"in n?n.accessKeyAddress:r.keyId;return n&&(o.from=n.address),{...o,...r.capabilities?{capabilities:r.capabilities}:{},...c?{keyData:c}:{},...l?{keyId:l}:{},...i?{keyType:i}:{},...typeof r.feePayer<\"u\"?{feePayer:typeof r.feePayer==\"object\"?tt(r.feePayer):r.feePayer}:{},...\"feePayerSignature\"in r&&r.feePayerSignature!==void 0?{feePayerSignature:r.feePayerSignature}:{}}}var nBe=x(()=>{u();Ar();Q5();Zr();hd();yp();hs();sq()});async function oBe(e){iw.set(e,(iw.get(e)??0)+1),await Promise.resolve();let t=(iw.get(e)??0)>1;return queueMicrotask(()=>{let r=iw.get(e)??0;r<=1?iw.delete(e):iw.set(e,r-1)}),t}var iw,iBe=x(()=>{u();iw=new Map});var ggt,$h,eA=x(()=>{u();Zc();Ar();Mv();Q5();yb();Vv();cb();T();hd();yp();hs();Yt();us();XOe();nBe();iBe();sq();ggt=25,$h={blockTime:1e3,extendSchema:BF(),formatters:{transaction:fh({exclude:[\"aaAuthorizationList\"],format:eBe}),transactionReceipt:Iv({format:tBe}),transactionRequest:ov({format:rBe})},prepareTransactionRequest:[async(e,{phase:t})=>{let r=e;return t===\"afterFillParameters\"?(r.feePayer&&(r.keyAuthorization?.signature.type===\"webAuthn\"?r.gas=(r.gas??0n)+20000n:r.account?.source===\"accessKey\"&&(r.gas=(r.gas??0n)+10000n)),r):(await(async()=>{if(r.nonceKey===\"expiring\"||r.feePayer&&typeof r.nonceKey>\"u\")return!0;let o=r.account?.address;return o&&typeof r.nonceKey>\"u\"?await oBe(o):!1})()?(r.nonceKey=ys,r.nonce=0,typeof r.validBefore>\"u\"&&(r.validBefore=Math.floor(Date.now()/1e3)+ggt)):typeof r.nonceKey<\"u\"&&(r.nonce=typeof r.nonce==\"number\"?r.nonce:0),!r.feeToken&&r.chain?.feeToken&&(r.feeToken=r.chain.feeToken),r)},{runAt:[\"beforeFillTransaction\",\"afterFillParameters\"]}],serializers:{transaction:((e,t)=>qOe(e,t))},async verifyHash(e,t){let{address:r,hash:n,signature:o,mode:i}=t,c=(()=>{if(typeof o==\"string\")try{return xs.deserialize(o)}catch{return}})();if(c){if(c?.type===\"keychain\"&&i===\"allowAccessKey\"){let l=Ia(l5(c.inner.publicKey)),f=await Y5(e,{account:r,accessKey:l,blockNumber:t.blockNumber,blockTag:t.blockTag});if(f.isRevoked||f.expiry<=BigInt(Math.floor(Date.now()/1e3)))return!1;let p=c.version===\"v2\"?Gt(Xt(\"0x04\",n,r)):n;return xs.verify(c.inner,{address:l,payload:p})}if(c.type===\"p256\"||c.type===\"webAuthn\"){let l=await Ta(e,{address:r,blockNumber:t.blockNumber,blockTag:t.blockTag});if(!l||l===\"0xef01007702c00000000000000000000000000000000000\")return xs.verify(c,{address:r,payload:n})}}return await Ce(e,kd,\"verifyHash\")({...t,chain:null})}}});var dq,aBe=x(()=>{u();eA();T();dq=g({...$h,id:4217,blockExplorers:{default:{name:\"Tempo Explorer\",url:\"https://explore.tempo.xyz\"}},name:\"Tempo Mainnet\",nativeCurrency:{name:\"USD\",symbol:\"USD\",decimals:6},rpcUrls:{default:{http:[\"https://rpc.tempo.xyz\"],webSocket:[\"wss://rpc.tempo.xyz\"]}}})});var sBe,cBe=x(()=>{u();eA();T();sBe=g({...$h,id:31318,name:\"Tempo Devnet\",hardfork:\"t3\",blockExplorers:{default:{name:\"Tempo Explorer\",url:\"https://explore.devnet.tempo.xyz\"}},nativeCurrency:{name:\"USD\",symbol:\"USD\",decimals:6},rpcUrls:{default:{http:[\"https://rpc.devnet.tempoxyz.dev\"],webSocket:[\"wss://rpc.devnet.tempoxyz.dev\"]}},testnet:!0})});var uBe,lBe=x(()=>{u();eA();T();uBe=g({...$h,id:1337,name:\"Tempo\",hardfork:\"t3\",nativeCurrency:{name:\"USD\",symbol:\"USD\",decimals:6},rpcUrls:{default:{http:[\"http://localhost:8545\"]}}})});var fq,dBe=x(()=>{u();eA();T();fq=g({...$h,id:42431,blockExplorers:{default:{name:\"Tempo Explorer\",url:\"https://explore.testnet.tempo.xyz\"}},name:\"Tempo Testnet (Moderato)\",nativeCurrency:{name:\"USD\",symbol:\"USD\",decimals:6},rpcUrls:{default:{http:[\"https://rpc.moderato.tempo.xyz\"],webSocket:[\"wss://rpc.moderato.tempo.xyz\"]}},testnet:!0})});var fBe,pBe=x(()=>{u();T();fBe=g({id:1559,name:\"Tenet\",network:\"tenet-mainnet\",nativeCurrency:{name:\"TENET\",symbol:\"TENET\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.tenet.org\"]}},blockExplorers:{default:{name:\"TenetScan Mainnet\",url:\"https://tenetscan.io\",apiUrl:\"https://tenetscan.io/api\"}},testnet:!1})});var mBe,hBe=x(()=>{u();T();mBe=g({id:752025,name:\"Ternoa\",nativeCurrency:{name:\"Capsule Coin\",symbol:\"CAPS\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-mainnet.zkevm.ternoa.network\"]}},blockExplorers:{default:{name:\"Ternoa Explorer\",url:\"https://explorer-mainnet.zkevm.ternoa.network\"}},testnet:!1})});var yBe,bBe=x(()=>{u();T();yBe=g({id:7,name:\"ThaiChain\",nativeCurrency:{name:\"TCH\",symbol:\"TCH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.thaichain.org\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://exp.thaichain.org\",apiUrl:\"https://exp.thaichain.org/api\"}},contracts:{multicall3:{address:\"0x0DaD6130e832c21719C5CE3bae93454E16A84826\",blockCreated:4806386}},testnet:!1})});var gBe,xBe=x(()=>{u();T();gBe=g({id:8428,name:\"THAT Mainnet\",nativeCurrency:{name:\"THAT\",symbol:\"THAT\",decimals:18},rpcUrls:{default:{http:[\"https://api.thatchain.io/mainnet\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://that.blockscout.com\"}},testnet:!1})});var vBe,wBe=x(()=>{u();T();vBe=g({id:361,name:\"Theta Mainnet\",nativeCurrency:{name:\"TFUEL\",symbol:\"TFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://eth-rpc-api.thetatoken.org/rpc\"]}},blockExplorers:{default:{name:\"Theta Explorer\",url:\"https://explorer.thetatoken.org\"}},testnet:!1})});var EBe,_Be=x(()=>{u();T();EBe=g({id:365,name:\"Theta Testnet\",nativeCurrency:{name:\"TFUEL\",symbol:\"TFUEL\",decimals:18},rpcUrls:{default:{http:[\"https://eth-rpc-api-testnet.thetatoken.org/rpc\"]}},blockExplorers:{default:{name:\"Theta Explorer\",url:\"https://testnet-explorer.thetatoken.org\"}},testnet:!0})});var SBe,ABe=x(()=>{u();T();SBe=g({id:108,name:\"ThunderCore Mainnet\",nativeCurrency:{name:\"TT\",symbol:\"TT\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet-rpc.thundercore.com\"]}},blockExplorers:{default:{name:\"ThunderCore Explorer\",url:\"https://explorer-mainnet.thundercore.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:0}},testnet:!1})});var kBe,CBe=x(()=>{u();T();kBe=g({id:997,name:\"5ireChain Thunder Testnet\",nativeCurrency:{name:\"5ire Token\",symbol:\"5IRE\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.5ire.network\"]}},blockExplorers:{default:{name:\"5ireChain Thunder Explorer\",url:\"https://testnet.5irescan.io/\"}},testnet:!0})});var TBe,IBe=x(()=>{u();T();TBe=g({id:62092,name:\"TikTrix Testnet\",nativeCurrency:{name:\"tTTX\",symbol:\"tTTX\",decimals:18},rpcUrls:{default:{http:[\"https://tiktrix-rpc.xyz\"]}},blockExplorers:{default:{name:\"TikTrix Testnet Explorer\",url:\"https://tiktrix.xyz\"}},testnet:!0})});var PBe,RBe=x(()=>{u();T();PBe=g({id:6969,name:\"Tomb Mainnet\",nativeCurrency:{name:\"TOMB\",symbol:\"TOMB\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.tombchain.com\"]}},blockExplorers:{default:{name:\"Tomb Explorer\",url:\"https://tombscout.com\"}},testnet:!1})});var OBe,BBe=x(()=>{u();T();Pa();OBe=g({...gn,id:61166,name:\"Treasure\",nativeCurrency:{decimals:18,name:\"MAGIC\",symbol:\"MAGIC\"},rpcUrls:{default:{http:[\"https://rpc.treasure.lol\"],webSocket:[\"wss://rpc.treasure.lol/ws\"]}},blockExplorers:{default:{name:\"Treasure Block Explorer\",url:\"https://treasurescan.io\"}},contracts:{multicall3:{address:\"0x2e29fe39496a56856D8698bD43e1dF4D0CE6266a\",blockCreated:101}},testnet:!1})});var MBe,DBe=x(()=>{u();T();Pa();MBe=g({...gn,id:978658,name:\"Treasure Topaz Testnet\",nativeCurrency:{decimals:18,name:\"MAGIC\",symbol:\"MAGIC\"},rpcUrls:{default:{http:[\"https://rpc.topaz.treasure.lol\"],webSocket:[\"wss://rpc.topaz.treasure.lol/ws\"]}},blockExplorers:{default:{name:\"Treasure Topaz Block Explorer\",url:\"https://topaz.treasurescan.io\"}},contracts:{multicall3:{address:\"0xF9cda624FBC7e059355ce98a31693d299FACd963\",blockCreated:108112}},testnet:!0})});var NBe,UBe=x(()=>{u();T();NBe=g({id:728126428,name:\"Tron\",nativeCurrency:{name:\"TRON\",symbol:\"TRX\",decimals:6},rpcUrls:{default:{http:[\"https://api.trongrid.io/jsonrpc\"]}},blockTime:3e3,blockExplorers:{default:{name:\"Tronscan\",url:\"https://tronscan.org\",apiUrl:\"https://apilist.tronscanapi.com/api\"}}})});var $Be,zBe=x(()=>{u();T();$Be=g({id:3448148188,name:\"Tron Nile\",nativeCurrency:{name:\"TRON\",symbol:\"TRX\",decimals:6},rpcUrls:{default:{http:[\"https://nile.trongrid.io/jsonrpc\"]}},blockExplorers:{default:{name:\"Tronscan\",url:\"https://nile.tronscan.org\"}},testnet:!0})});var LBe,HBe=x(()=>{u();T();LBe=g({id:2494104990,name:\"Tron Shasta\",nativeCurrency:{name:\"TRON\",symbol:\"TRX\",decimals:6},rpcUrls:{default:{http:[\"https://api.shasta.trongrid.io/jsonrpc\"]}},blockExplorers:{default:{name:\"Tronscan\",url:\"https://shasta.tronscan.org\"}},testnet:!0})});var jBe,FBe=x(()=>{u();T();jBe=g({id:8,name:\"Ubiq Mainnet\",nativeCurrency:{name:\"UBQ\",symbol:\"UBQ\",decimals:18},rpcUrls:{default:{http:[\"https://pyrus2.ubiqscan.io\"]}},blockExplorers:{default:{name:\"Ubiq Scan\",url:\"https://ubiqscan.io\"}},testnet:!1})});var VBe,qBe=x(()=>{u();T();VBe=g({id:19991,name:\"Ultra EVM\",nativeCurrency:{decimals:18,name:\"Ultra Token\",symbol:\"UOS\"},rpcUrls:{default:{http:[\"https://evm.ultra.eosusa.io\"]}},blockExplorers:{default:{name:\"Ultra EVM Explorer\",url:\"https://evmexplorer.ultra.io\"}}})});var GBe,KBe=x(()=>{u();T();GBe=g({id:18881,name:\"Ultra EVM Testnet\",nativeCurrency:{decimals:18,name:\"Ultra Token\",symbol:\"UOS\"},rpcUrls:{default:{http:[\"https://evm.test.ultra.eosusa.io\"]}},blockExplorers:{default:{name:\"Ultra EVM Testnet Explorer\",url:\"https://evmexplorer.testnet.ultra.io\"}},testnet:!0})});var ZBe,WBe=x(()=>{u();T();ZBe=g({id:1231,name:\"Ultron Mainnet\",nativeCurrency:{name:\"ULX\",symbol:\"ULX\",decimals:18},rpcUrls:{default:{http:[\"https://ultron-rpc.net\"]}},blockExplorers:{default:{name:\"Ultron Scan\",url:\"https://ulxscan.com\"}},testnet:!1})});var JBe,QBe=x(()=>{u();T();JBe=g({id:1230,name:\"Ultron Testnet\",nativeCurrency:{name:\"ULX\",symbol:\"ULX\",decimals:18},rpcUrls:{default:{http:[\"https://ultron-dev.io\"]}},blockExplorers:{default:{name:\"Ultron Scan\",url:\"https://explorer.ultron-dev.io\"}},testnet:!0})});var pR,YBe,XBe=x(()=>{u();at();T();pR=1,YBe=g({...me,id:130,name:\"Unichain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},blockTime:1e3,rpcUrls:{default:{http:[\"https://mainnet.unichain.org/\"]}},blockExplorers:{default:{name:\"Uniscan\",url:\"https://uniscan.xyz\",apiUrl:\"https://api.uniscan.xyz/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0},disputeGameFactory:{[pR]:{address:\"0x2F12d621a16e2d3285929C9996f478508951dFe4\"}},portal:{[pR]:{address:\"0x0bd48f6B86a26D3a217d0Fa6FfE2B491B956A7a2\"}},l1StandardBridge:{[pR]:{address:\"0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA\"}}},sourceId:pR})});var mR,e9e,t9e=x(()=>{u();at();T();mR=11155111,e9e=g({...me,id:1301,name:\"Unichain Sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},blockTime:1e3,rpcUrls:{default:{http:[\"https://sepolia.unichain.org\"]}},blockExplorers:{default:{name:\"Uniscan\",url:\"https://sepolia.uniscan.xyz\",apiUrl:\"https://api-sepolia.uniscan.xyz/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0},portal:{[mR]:{address:\"0x0d83dab629f0e0F9d36c0Cbc89B69a489f0751bD\"}},l1StandardBridge:{[mR]:{address:\"0xea58fcA6849d79EAd1f26608855c2D6407d54Ce2\"}},disputeGameFactory:{[mR]:{address:\"0xeff73e5aa3B9AEC32c659Aa3E00444d20a84394b\"}}},testnet:!0,sourceId:mR})});var r9e,n9e=x(()=>{u();T();r9e=g({id:8880,name:\"Unique Mainnet\",nativeCurrency:{decimals:18,name:\"UNQ\",symbol:\"UNQ\"},rpcUrls:{default:{http:[\"https://rpc.unique.network\"]}},blockExplorers:{default:{name:\"Unique Subscan\",url:\"https://unique.subscan.io/\"}}})});var o9e,i9e=x(()=>{u();T();o9e=g({id:8882,name:\"Opal Testnet\",nativeCurrency:{decimals:18,name:\"OPL\",symbol:\"OPL\"},rpcUrls:{default:{http:[\"https://rpc-opal.unique.network\"]}},blockExplorers:{default:{name:\"Opal Subscan\",url:\"https://opal.subscan.io/\"}},testnet:!0})});var a9e,s9e=x(()=>{u();T();a9e=g({id:8881,name:\"Quartz Mainnet\",nativeCurrency:{decimals:18,name:\"QTZ\",symbol:\"QTZ\"},rpcUrls:{default:{http:[\"https://rpc-quartz.unique.network\"]}},blockExplorers:{default:{name:\"Quartz Subscan\",url:\"https://quartz.subscan.io/\"}}})});var c9e,u9e=x(()=>{u();T();c9e=g({id:18233,name:\"Unreal\",nativeCurrency:{name:\"reETH\",decimals:18,symbol:\"reETH\"},rpcUrls:{default:{http:[\"https://rpc.unreal-orbit.gelato.digital\"]}},blockExplorers:{default:{name:\"Unreal Explorer\",url:\"https://unreal.blockscout.com\",apiUrl:\"https://unreal.blockscout.com/api/v2\"}},testnet:!0,contracts:{multicall3:{address:\"0x8b6B0e60D8CD84898Ea8b981065A12F876eA5677\",blockCreated:1745}}})});var l9e,d9e=x(()=>{u();T();l9e=g({id:1480,name:\"Vana\",blockTime:6e3,nativeCurrency:{decimals:18,name:\"Vana\",symbol:\"VANA\"},rpcUrls:{default:{http:[\"https://rpc.vana.org/\"]}},blockExplorers:{default:{name:\"Vana Block Explorer\",url:\"https://vanascan.io\",apiUrl:\"https://vanascan.io/api\"}},contracts:{multicall3:{address:\"0xD8d2dFca27E8797fd779F8547166A2d3B29d360E\",blockCreated:716763}}})});var f9e,p9e=x(()=>{u();T();f9e=g({id:14800,name:\"Vana Moksha Testnet\",blockTime:6e3,nativeCurrency:{decimals:18,name:\"Vana\",symbol:\"VANA\"},rpcUrls:{default:{http:[\"https://rpc.moksha.vana.org\"]}},blockExplorers:{default:{name:\"Vana Moksha Testnet\",url:\"https://moksha.vanascan.io\",apiUrl:\"https://moksha.vanascan.io/api\"}},contracts:{multicall3:{address:\"0xD8d2dFca27E8797fd779F8547166A2d3B29d360E\",blockCreated:732283}},testnet:!0})});var m9e,h9e=x(()=>{u();T();m9e=g({id:2040,name:\"Vanar Mainnet\",nativeCurrency:{name:\"VANRY\",symbol:\"VANRY\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.vanarchain.com\"]}},blockExplorers:{default:{name:\"Vanar Mainnet Explorer\",url:\"https://explorer.vanarchain.com/\"}},testnet:!1})});var y9e,b9e=x(()=>{u();T();y9e=g({id:100009,name:\"Vechain\",nativeCurrency:{name:\"VeChain\",symbol:\"VET\",decimals:18},rpcUrls:{default:{http:[\"https://mainnet.vechain.org\"]}},blockExplorers:{default:{name:\"Vechain Explorer\",url:\"https://explore.vechain.org\"},vechainStats:{name:\"Vechain Stats\",url:\"https://vechainstats.com\"}}})});var g9e,x9e=x(()=>{u();T();g9e=g({id:106,name:\"Velas EVM Mainnet\",nativeCurrency:{name:\"VLX\",symbol:\"VLX\",decimals:18},rpcUrls:{default:{http:[\"https://evmexplorer.velas.com/rpc\"]}},blockExplorers:{default:{name:\"Velas Explorer\",url:\"https://evmexplorer.velas.com\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:55883577}},testnet:!1})});var v9e,w9e=x(()=>{u();T();v9e=g({id:88,name:\"Viction\",nativeCurrency:{name:\"Viction\",symbol:\"VIC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.viction.xyz\"]}},blockExplorers:{default:{name:\"VIC Scan\",url:\"https://vicscan.xyz\"}},testnet:!1})});var E9e,_9e=x(()=>{u();T();E9e=g({id:89,name:\"Viction Testnet\",nativeCurrency:{name:\"Viction\",symbol:\"VIC\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-testnet.viction.xyz\"]}},blockExplorers:{default:{name:\"VIC Scan\",url:\"https://testnet.vicscan.xyz\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:12170179}},testnet:!0})});var S9e,A9e=x(()=>{u();T();S9e=g({id:888888,name:\"Vision\",nativeCurrency:{name:\"VISION\",symbol:\"VS\",decimals:18},rpcUrls:{default:{http:[\"https://infragrid.v.network/ethereum/compatible\"]}},blockExplorers:{default:{name:\"Vision Scan\",url:\"https://visionscan.org\"}},testnet:!1})});var k9e,C9e=x(()=>{u();T();k9e=g({id:666666,name:\"Vision Testnet\",nativeCurrency:{name:\"VISION\",symbol:\"VS\",decimals:18},rpcUrls:{default:{http:[\"https://vpioneer.infragrid.v.network/ethereum/compatible\"]}},blockExplorers:{default:{name:\"Vision Scan\",url:\"https://visionscan.org/?chain=vpioneer\"}},testnet:!0})});var T9e,I9e=x(()=>{u();T();T9e=g({id:888,name:\"Wanchain\",nativeCurrency:{name:\"WANCHAIN\",symbol:\"WAN\",decimals:18},rpcUrls:{default:{http:[\"https://gwan-ssl.wandevs.org:56891\",\"https://gwan2-ssl.wandevs.org\"]}},blockExplorers:{default:{name:\"WanScan\",url:\"https://wanscan.org\"}},contracts:{multicall3:{address:\"0xcDF6A1566e78EB4594c86Fe73Fcdc82429e97fbB\",blockCreated:25312390}}})});var P9e,R9e=x(()=>{u();T();P9e=g({id:999,name:\"Wanchain Testnet\",nativeCurrency:{name:\"WANCHAIN\",symbol:\"WANt\",decimals:18},rpcUrls:{default:{http:[\"https://gwan-ssl.wandevs.org:46891\"]}},blockExplorers:{default:{name:\"WanScanTest\",url:\"https://wanscan.org\"}},contracts:{multicall3:{address:\"0x11c89bF4496c39FB80535Ffb4c92715839CC5324\",blockCreated:24743448}},testnet:!0})});var O9e,B9e=x(()=>{u();T();O9e=g({id:9496,name:\"WeaveVM Alphanet\",nativeCurrency:{name:\"Testnet WeaveVM\",symbol:\"tWVM\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-rpc.wvm.dev\"]}},blockExplorers:{default:{name:\"WeaveVM Alphanet Explorer\",url:\"https://explorer.wvm.dev\"}},testnet:!0})});var M9e,D9e=x(()=>{u();T();M9e=g({id:1111,name:\"WEMIX\",network:\"wemix-mainnet\",nativeCurrency:{name:\"WEMIX\",symbol:\"WEMIX\",decimals:18},rpcUrls:{default:{http:[\"https://api.wemix.com\"]}},blockExplorers:{default:{name:\"wemixExplorer\",url:\"https://explorer.wemix.com\"}}})});var N9e,U9e=x(()=>{u();T();N9e=g({id:1112,name:\"WEMIX Testnet\",network:\"wemix-testnet\",nativeCurrency:{name:\"WEMIX\",symbol:\"tWEMIX\",decimals:18},rpcUrls:{default:{http:[\"https://api.test.wemix.com\"]}},blockExplorers:{default:{name:\"wemixExplorer\",url:\"https://testnet.wemixscan.com\",apiUrl:\"https://testnet.wemixscan.com/api\"}},testnet:!0})});var $9e,z9e=x(()=>{u();T();$9e=g({id:420420421,name:\"Westend Asset Hub\",nativeCurrency:{decimals:18,name:\"Westies\",symbol:\"WND\"},rpcUrls:{default:{http:[\"https://westend-asset-hub-eth-rpc.polkadot.io\"]}},blockExplorers:{default:{name:\"subscan\",url:\"https://westend-asset-hub-eth-explorer.parity.io\"}},testnet:!0})});var L9e,H9e=x(()=>{u();T();L9e=g({testnet:!1,name:\"Whitechain\",blockExplorers:{default:{name:\"Whitechain Explorer\",url:\"https://explorer.whitechain.io\"}},id:1875,rpcUrls:{default:{http:[\"https://rpc.whitechain.io\"]}},nativeCurrency:{decimals:18,name:\"WhiteBIT Coin\",symbol:\"WBT\"},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:25212237}}})});var j9e,F9e=x(()=>{u();T();j9e=g({testnet:!0,name:\"Whitechain Testnet\",blockExplorers:{default:{name:\"Whitechain Explorer\",url:\"https://testnet.whitechain.io\"}},id:2625,rpcUrls:{default:{http:[\"https://rpc-testnet.whitechain.io\"]}},nativeCurrency:{decimals:18,name:\"WhiteBIT Coin\",symbol:\"WBT\"}})});var V9e,q9e=x(()=>{u();T();V9e=g({id:42070,name:\"WMC Testnet\",nativeCurrency:{name:\"WMTx\",symbol:\"WMTx\",decimals:18},rpcUrls:{default:{http:[\"https://rpc-testnet-base.worldmobile.net\"]}},blockExplorers:{default:{name:\"WMC Explorer\",url:\"https://explorer2-base-testnet.worldmobile.net\"}},testnet:!0})});var tA,G9e,K9e=x(()=>{u();at();T();tA=1,G9e=g({...me,id:480,name:\"World Chain\",network:\"worldchain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://worldchain-mainnet.g.alchemy.com/public\"]}},blockExplorers:{default:{name:\"Worldscan\",url:\"https://worldscan.org\",apiUrl:\"https://api.worldscan.org/api\"},blockscout:{name:\"Blockscout\",url:\"https://worldchain-mainnet.explorer.alchemy.com\",apiUrl:\"https://worldchain-mainnet.explorer.alchemy.com/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0},disputeGameFactory:{[tA]:{address:\"0x069c4c579671f8c120b1327a73217D01Ea2EC5ea\"}},l2OutputOracle:{[tA]:{address:\"0x19A6d1E9034596196295CF148509796978343c5D\"}},portal:{[tA]:{address:\"0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C\"}},l1StandardBridge:{[tA]:{address:\"0x470458C91978D2d929704489Ad730DC3E3001113\"}}},testnet:!1,sourceId:tA})});var rA,Z9e,W9e=x(()=>{u();at();T();rA=11155111,Z9e=g({...me,id:4801,name:\"World Chain Sepolia\",network:\"worldchain-sepolia\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://worldchain-sepolia.g.alchemy.com/public\"]}},blockExplorers:{default:{name:\"Worldscan Sepolia\",url:\"https://sepolia.worldscan.org\",apiUrl:\"https://api-sepolia.worldscan.org/api\"},blockscout:{name:\"Blockscout\",url:\"https://worldchain-sepolia.explorer.alchemy.com\",apiUrl:\"https://worldchain-sepolia.explorer.alchemy.com/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:0},disputeGameFactory:{[rA]:{address:\"0x8Ec1111f67Dad6b6A93B3F42DfBC92D81c98449A\"}},l2OutputOracle:{[rA]:{address:\"0xc8886f8BAb6Eaeb215aDB5f1c686BF699248300e\"}},portal:{[rA]:{address:\"0xFf6EBa109271fe6d4237EeeD4bAb1dD9A77dD1A4\"}},l1StandardBridge:{[rA]:{address:\"0xd7DF54b3989855eb66497301a4aAEc33Dbb3F8DE\"}}},testnet:!0,sourceId:rA})});var J9e,Q9e=x(()=>{u();T();J9e=g({id:103,name:\"WorldLand Mainnet\",nativeCurrency:{decimals:18,name:\"WLC\",symbol:\"WLC\"},rpcUrls:{default:{http:[\"https://seoul.worldland.foundation\"]}},blockExplorers:{default:{name:\"WorldLand Scan\",url:\"https://scan.worldland.foundation\"}},testnet:!1})});var Y9e,X9e=x(()=>{u();T();Y9e=g({id:660279,name:\"Xai Mainnet\",nativeCurrency:{name:\"Xai\",symbol:\"XAI\",decimals:18},rpcUrls:{default:{http:[\"https://xai-chain.net/rpc\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://explorer.xai-chain.net\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:222549}},testnet:!1})});var eMe,tMe=x(()=>{u();T();eMe=g({id:37714555429,name:\"Xai Testnet\",nativeCurrency:{name:\"sXai\",symbol:\"sXAI\",decimals:18},rpcUrls:{default:{http:[\"https://testnet-v2.xai-chain.net/rpc\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://testnet-explorer-v2.xai-chain.net\"}},testnet:!0})});var rMe,nMe=x(()=>{u();T();rMe=g({id:50,name:\"XDC Network\",nativeCurrency:{decimals:18,name:\"XDC\",symbol:\"XDC\"},rpcUrls:{default:{http:[\"https://rpc.xdcrpc.com\"]}},blockExplorers:{default:{name:\"XDCScan\",url:\"https://xdcscan.com\"}},contracts:{multicall3:{address:\"0x0B1795ccA8E4eC4df02346a082df54D437F8D9aF\",blockCreated:75884020}}})});var oMe,iMe=x(()=>{u();T();oMe=g({id:51,name:\"Apothem Network\",nativeCurrency:{decimals:18,name:\"TXDC\",symbol:\"TXDC\"},rpcUrls:{default:{http:[\"https://erpc.apothem.network\"]}},blockExplorers:{default:{name:\"XDCScan\",url:\"https://testnet.xdcscan.com\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:59765389}},testnet:!0})});var aMe,sMe=x(()=>{u();T();aMe=g({id:1643,name:\"XGR Mainnet\",nativeCurrency:{name:\"XGR\",symbol:\"XGR\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.xgr.network\"]}},blockExplorers:{default:{name:\"XGR Explorer\",url:\"https://explorer.xgr.network\"}}})});var cMe,uMe=x(()=>{u();T();cMe=g({id:196,name:\"X Layer Mainnet\",nativeCurrency:{decimals:18,name:\"OKB\",symbol:\"OKB\"},rpcUrls:{default:{http:[\"https://xlayerrpc.okx.com\"]}},blockExplorers:{default:{name:\"OKLink\",url:\"https://www.oklink.com/xlayer\",apiUrl:\"https://www.oklink.com/api/v5/explorer/xlayer/api\"}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:47416}}})});var pq,lMe=x(()=>{u();T();pq=g({id:1952,name:\"X1 Testnet\",nativeCurrency:{decimals:18,name:\"OKB\",symbol:\"OKB\"},rpcUrls:{default:{http:[\"https://xlayertestrpc.okx.com\"]}},blockExplorers:{default:{name:\"OKLink\",url:\"https://www.oklink.com/xlayer-test\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:624344}},testnet:!0})});var dMe,fMe=x(()=>{u();T();dMe=g({id:3721,name:\"Xone Chain Mainnet\",nativeCurrency:{decimals:18,name:\"XOC\",symbol:\"XOC\"},rpcUrls:{default:{http:[\"https://rpc.xone.org\"]}},blockExplorers:{default:{name:\"Xone Mainnet Explorer\",url:\"https://xonescan.com\",apiUrl:\"http://api.xonescan.com/api\"}},testnet:!1})});var pMe,mMe=x(()=>{u();T();pMe=g({id:33772211,name:\"Xone Chain Testnet\",nativeCurrency:{decimals:18,name:\"XOC\",symbol:\"XOC\"},rpcUrls:{default:{http:[\"https://rpc-testnet.xone.org\",\"https://rpc-testnet.xone.plus\",\"https://rpc-testnet.knight.center\"]}},blockExplorers:{default:{name:\"Xone Testnet Explorer\",url:\"https://testnet.xonescan.com\",apiUrl:\"http://api.testnet.xonescan.com/api\"}},testnet:!0})});var hMe,yMe=x(()=>{u();T();hMe=g({id:20250217,name:\"Xphere Mainnet\",nativeCurrency:{decimals:18,name:\"XP\",symbol:\"XP\"},rpcUrls:{default:{http:[\"https://en-bkk.x-phere.com\"]}},blockExplorers:{default:{name:\"Xphere Tamsa Explorer\",url:\"https://xp.tamsa.io\"}},testnet:!1})});var bMe,gMe=x(()=>{u();T();bMe=g({id:1998991,name:\"Xphere Testnet\",nativeCurrency:{decimals:18,name:\"XPT\",symbol:\"XPT\"},rpcUrls:{default:{http:[\"http://testnet.x-phere.com\"]}},blockExplorers:{default:{name:\"Xphere Tamsa Explorer\",url:\"https://xpt.tamsa.io\"}},testnet:!0})});var xMe,vMe=x(()=>{u();T();xMe=g({id:37,name:\"CONX Chain\",nativeCurrency:{decimals:18,name:\"XPLA\",symbol:\"XPLA\"},rpcUrls:{default:{http:[\"https://dimension-evm-rpc.xpla.dev\"]}},blockExplorers:{default:{name:\"CONX Explorer\",url:\"https://explorer.conx.xyz\"}},testnet:!1})});var wMe,EMe=x(()=>{u();T();wMe=g({id:273,name:\"XR One\",nativeCurrency:{decimals:18,name:\"XR1\",symbol:\"XR1\"},rpcUrls:{default:{http:[\"https://xr1.calderachain.xyz/http\"],webSocket:[\"wss://xr1.calderachain.xyz/ws\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://xr1.calderaexplorer.xyz\"}},testnet:!1})});var _Me,SMe=x(()=>{u();T();_Me=g({id:144e4,name:\"XRPL EVM\",nativeCurrency:{name:\"XRP\",symbol:\"XRP\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.xrplevm.org\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer.xrplevm.org\",apiUrl:\"https://explorer.xrplevm.org/api/v2\"}},testnet:!1})});var AMe,kMe=x(()=>{u();T();AMe=g({id:1440002,name:\"XRPL EVM Devnet\",nativeCurrency:{name:\"XRP\",symbol:\"XRP\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.xrplevm.org/\"]},public:{http:[\"https://rpc.xrplevm.org/\"]}},blockExplorers:{default:{name:\"XRPLEVM Devnet Explorer\",url:\"https://explorer.xrplevm.org/\"}},contracts:{multicall3:{address:\"0x82Cc144D7d0AD4B1c27cb41420e82b82Ad6e9B31\",blockCreated:15237286}},testnet:!0})});var CMe,TMe=x(()=>{u();T();CMe=g({id:1449e3,name:\"XRPL EVM Testnet\",nativeCurrency:{name:\"XRP\",symbol:\"XRP\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.xrplevm.org\"]}},blockExplorers:{default:{name:\"blockscout\",url:\"https://explorer.testnet.xrplevm.org\",apiUrl:\"https://explorer.testnet.xrplevm.org/api/v2\"}},contracts:{multicall3:{address:\"0x82Cc144D7d0AD4B1c27cb41420e82b82Ad6e9B31\",blockCreated:492302}},testnet:!0})});var IMe,PMe=x(()=>{u();T();IMe=g({id:2730,name:\"XR Sepolia\",nativeCurrency:{decimals:18,name:\"tXR\",symbol:\"tXR\"},rpcUrls:{default:{http:[\"https://xr-sepolia-testnet.rpc.caldera.xyz/http\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"https://xr-sepolia-testnet.explorer.caldera.xyz\"}},testnet:!0})});var RMe,OMe=x(()=>{u();T();RMe=g({id:50005,name:\"Yooldo Verse\",nativeCurrency:{name:\"OAS\",symbol:\"OAS\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.yooldo-verse.xyz\"]}},blockExplorers:{default:{name:\"Yooldo Verse Explorer\",url:\"https://explorer.yooldo-verse.xyz\"}}})});var BMe,MMe=x(()=>{u();T();BMe=g({id:50006,name:\"Yooldo Verse Testnet\",nativeCurrency:{name:\"OAS\",symbol:\"OAS\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.testnet.yooldo-verse.xyz\"]}},blockExplorers:{default:{name:\"Yooldo Verse Testnet Explorer\",url:\"https://explorer.testnet.yooldo-verse.xyz\"}},testnet:!0})});var DMe,NMe=x(()=>{u();T();DMe=g({id:8408,name:\"ZenChain Testnet\",nativeCurrency:{decimals:18,name:\"ZTC\",symbol:\"ZTC\"},rpcUrls:{default:{http:[\"https://zenchain-testnet.api.onfinality.io/public\"],webSocket:[\"wss://zenchain-testnet.api.onfinality.io/public-ws\"]}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:230019}},blockExplorers:{default:{name:\"Zentrace\",url:\"https://zentrace.io\"}},testnet:!0})});var UMe,$Me=x(()=>{u();T();UMe=g({id:383414847825,name:\"Zeniq Mainnet\",nativeCurrency:{name:\"ZENIQ\",symbol:\"ZENIQ\",decimals:18},rpcUrls:{default:{http:[\"https://api.zeniq.network\"]}},blockExplorers:{default:{name:\"Zeniq Explorer\",url:\"https://zeniqscan.com\"}},testnet:!1})});var zMe,LMe=x(()=>{u();T();zMe=g({id:543210,name:\"Zero Network\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.zerion.io/v1/zero\"]}},blockExplorers:{default:{name:\"Zero Network Explorer\",url:\"https://explorer.zero.network\"}},testnet:!1})});var HMe,jMe=x(()=>{u();T();HMe=g({id:7e3,name:\"ZetaChain\",nativeCurrency:{decimals:18,name:\"Zeta\",symbol:\"ZETA\"},rpcUrls:{default:{http:[\"https://zetachain-evm.blockpi.network/v1/rpc/public\"]}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:1632781}},blockExplorers:{default:{name:\"ZetaScan\",url:\"https://zetascan.com\"}},testnet:!1})});var FMe,VMe=x(()=>{u();T();FMe=g({id:7001,name:\"ZetaChain Athens Testnet\",nativeCurrency:{decimals:18,name:\"Zeta\",symbol:\"aZETA\"},rpcUrls:{default:{http:[\"https://zetachain-athens-evm.blockpi.network/v1/rpc/public\"]}},contracts:{multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:2715217}},blockExplorers:{default:{name:\"ZetaScan\",url:\"https://testnet.zetascan.com\"}},testnet:!0})});var qMe,GMe=x(()=>{u();T();qMe=g({id:1337803,name:\"Zhejiang\",nativeCurrency:{name:\"Zhejiang Ether\",symbol:\"ZhejETH\",decimals:18},rpcUrls:{default:{http:[\"https://rpc.zhejiang.ethpandaops.io\"]}},blockExplorers:{default:{name:\"Beaconchain\",url:\"https://zhejiang.beaconcha.in\"}},testnet:!0})});var KMe,ZMe=x(()=>{u();T();KMe=g({id:32769,name:\"Zilliqa\",network:\"zilliqa\",nativeCurrency:{name:\"Zilliqa\",symbol:\"ZIL\",decimals:18},rpcUrls:{default:{http:[\"https://api.zilliqa.com\"]}},blockExplorers:{default:{name:\"Ethernal\",url:\"https://evmx.zilliqa.com\"}},testnet:!1})});var WMe,JMe=x(()=>{u();T();WMe=g({id:33101,name:\"Zilliqa Testnet\",network:\"zilliqa-testnet\",nativeCurrency:{name:\"Zilliqa\",symbol:\"ZIL\",decimals:18},rpcUrls:{default:{http:[\"https://dev-api.zilliqa.com\"]}},blockExplorers:{default:{name:\"Ethernal\",url:\"https://evmx.testnet.zilliqa.com\"}},testnet:!0})});var mq,QMe,YMe=x(()=>{u();at();T();mq=1,QMe=g({...me,id:48900,name:\"Zircuit Mainnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://mainnet.zircuit.com\"]}},blockExplorers:{default:{name:\"Zircuit Explorer\",url:\"https://explorer.zircuit.com\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"},l2OutputOracle:{[mq]:{address:\"0x92Ef6Af472b39F1b363da45E35530c24619245A4\"}},portal:{[mq]:{address:\"0x17bfAfA932d2e23Bd9B909Fd5B4D2e2a27043fb1\"}},l1StandardBridge:{[mq]:{address:\"0x386B76D9cA5F5Fb150B6BFB35CF5379B22B26dd8\"}}},testnet:!1})});var hq,XMe,eDe=x(()=>{u();at();T();hq=11155111,XMe=g({...me,id:48898,name:\"Zircuit Garfield Testnet\",nativeCurrency:{name:\"ETH\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://garfield-testnet.zircuit.com/\"]}},blockExplorers:{default:{name:\"Zircuit Garfield Testnet Explorer\",url:\"https://explorer.garfield-testnet.zircuit.com\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\"},l2OutputOracle:{[hq]:{address:\"0xd69D3AC5CA686cCF94b258291772bc520FEAf211\"}},portal:{[hq]:{address:\"0x4E21A71Ac3F7607Da5c06153A17B1DD20E702c21\"}},l1StandardBridge:{[hq]:{address:\"0x87a7E2bCA9E35BA49282E832a28A6023904460D8\"}}},testnet:!0})});var tDe,rDe=x(()=>{u();T();tDe=g({id:42766,name:\"ZKFair Mainnet\",network:\"zkfair-mainnet\",nativeCurrency:{decimals:18,name:\"USD Coin\",symbol:\"USDC\"},rpcUrls:{default:{http:[\"https://rpc.zkfair.io\"]}},blockExplorers:{default:{name:\"zkFair Explorer\",url:\"https://scan.zkfair.io\",apiUrl:\"https://scan.zkfair.io/api\"}},contracts:{multicall3:{address:\"0xca11bde05977b3631167028862be2a173976ca11\",blockCreated:6090959}},testnet:!1})});var nDe,oDe=x(()=>{u();T();nDe=g({id:43851,name:\"ZKFair Testnet\",network:\"zkfair-testnet\",nativeCurrency:{decimals:18,name:\"USD Coin\",symbol:\"USDC\"},rpcUrls:{default:{http:[\"https://testnet-rpc.zkfair.io\"]}},blockExplorers:{default:{name:\"zkFair Explorer\",url:\"https://testnet-scan.zkfair.io\"}},testnet:!0})});var iDe,aDe=x(()=>{u();T();iDe=g({id:810180,name:\"zkLink Nova\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.zklink.io\"]}},blockExplorers:{default:{name:\"zkLink Nova Block Explorer\",url:\"https://explorer.zklink.io\"}}})});var sDe,cDe=x(()=>{u();T();sDe=g({id:810181,name:\"zkLink Nova Sepolia Testnet\",nativeCurrency:{decimals:18,name:\"ETH\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://sepolia.rpc.zklink.io\"]}},blockExplorers:{default:{name:\"zkLink Nova Block Explorer\",url:\"https://sepolia.explorer.zklink.io\"}},testnet:!0})});var yq,uDe=x(()=>{u();T();Pa();yq=g({...gn,blockTime:200,id:324,name:\"ZKsync Era\",network:\"zksync-era\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://mainnet.era.zksync.io\"],webSocket:[\"wss://mainnet.era.zksync.io/ws\"]}},blockExplorers:{default:{name:\"ZKsync Explorer\",url:\"https://explorer.zksync.io/\",apiUrl:\"https://block-explorer-api.mainnet.zksync.io/api\"}},contracts:{multicall3:{address:\"0xF9cda624FBC7e059355ce98a31693d299FACd963\",blockCreated:3908235},erc6492Verifier:{address:\"0xfB688330379976DA81eB64Fe4BF50d7401763B9C\",blockCreated:45659388}}})});var bq,lDe=x(()=>{u();T();Pa();bq=g({...gn,id:260,name:\"ZKsync InMemory Node\",network:\"zksync-in-memory-node\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"http://localhost:8011\"]}},testnet:!0})});var dDe,fDe=x(()=>{u();T();Pa();dDe=g({...gn,id:272,name:\"ZKsync CLI Local Custom Hyperchain\",nativeCurrency:{name:\"BAT\",symbol:\"BAT\",decimals:18},rpcUrls:{default:{http:[\"http://localhost:15200\"],webSocket:[\"ws://localhost:15201\"]}},blockExplorers:{default:{name:\"ZKsync explorer\",url:\"http://localhost:15005/\",apiUrl:\"http://localhost:15005/api\"}},testnet:!0})});var pDe,mDe=x(()=>{u();T();Pa();pDe=g({...gn,id:270,name:\"ZKsync CLI Local Hyperchain\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"http://localhost:15100\"],webSocket:[\"ws://localhost:15101\"]}},blockExplorers:{default:{name:\"ZKsync explorer\",url:\"http://localhost:15005/\",apiUrl:\"http://localhost:15005/api\"}},testnet:!0})});var hDe,yDe=x(()=>{u();T();hDe=g({id:9,name:\"ZKsync CLI Local Hyperchain L1\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"http://localhost:15045\"]}},blockExplorers:{default:{name:\"Blockscout\",url:\"http://localhost:15001/\",apiUrl:\"http://localhost:15001/api/v2\"}},testnet:!0})});var gq,bDe=x(()=>{u();T();Pa();gq=g({...gn,id:270,name:\"ZKsync CLI Local Node\",network:\"zksync-cli-local-node\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"http://localhost:3050\"]}},testnet:!0})});var xq,gDe=x(()=>{u();T();Pa();xq=g({...gn,blockTime:200,id:300,name:\"ZKsync Sepolia Testnet\",network:\"zksync-sepolia-testnet\",nativeCurrency:{name:\"Ether\",symbol:\"ETH\",decimals:18},rpcUrls:{default:{http:[\"https://sepolia.era.zksync.dev\"],webSocket:[\"wss://sepolia.era.zksync.dev/ws\"]}},blockExplorers:{default:{name:\"ZKsync Explorer\",url:\"https://sepolia.explorer.zksync.io/\",blockExplorerApi:\"https://block-explorer-api.sepolia.zksync.dev/api\"}},contracts:{multicall3:{address:\"0xF9cda624FBC7e059355ce98a31693d299FACd963\"},erc6492Verifier:{address:\"0xfB688330379976DA81eB64Fe4BF50d7401763B9C\",blockCreated:3855712}},testnet:!0})});var xDe,vDe=x(()=>{u();T();xDe=g({id:375,name:\"zkXPLA Mainnet\",network:\"zkxpla\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.zkxpla.io\"]}},blockExplorers:{default:{name:\"zkXPLA Mainnet Explorer\",url:\"https://explorer.zkxpla.io\",apiUrl:\"https://explorer.zkxpla.io/api\"}},testnet:!1})});var wDe,EDe=x(()=>{u();T();wDe=g({id:475,name:\"zkXPLA Testnet\",network:\"zkxpla-testnet\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://testnet-rpc.zkxpla.io\"]}},blockExplorers:{default:{name:\"zkXPLA Testnet Explorer\",url:\"https://testnet-explorer.zkxpla.io\",apiUrl:\"https://testnet-explorer.zkxpla.io/api\"}},testnet:!0})});var nA,_De,SDe=x(()=>{u();at();T();nA=1,_De=g({...me,id:7777777,name:\"Zora\",nativeCurrency:{decimals:18,name:\"Ether\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://rpc.zora.energy\"],webSocket:[\"wss://rpc.zora.energy\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://explorer.zora.energy\",apiUrl:\"https://explorer.zora.energy/api\"}},contracts:{...me.contracts,disputeGameFactory:{[nA]:{address:\"0xB0F15106fa1e473Ddb39790f197275BC979Aa37e\"}},l2OutputOracle:{[nA]:{address:\"0x9E6204F750cD866b299594e2aC9eA824E2e5f95c\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:5882},portal:{[nA]:{address:\"0x1a0ad011913A150f69f6A19DF447A0CfD9551054\"}},l1StandardBridge:{[nA]:{address:\"0x3e2Ea9B92B7E48A52296fD261dc26fd995284631\"}}},sourceId:nA})});var hR,ADe,kDe=x(()=>{u();at();T();hR=11155111,ADe=g({...me,id:999999999,name:\"Zora Sepolia\",network:\"zora-sepolia\",nativeCurrency:{decimals:18,name:\"Zora Sepolia\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://sepolia.rpc.zora.energy\"],webSocket:[\"wss://sepolia.rpc.zora.energy\"]}},blockExplorers:{default:{name:\"Zora Sepolia Explorer\",url:\"https://sepolia.explorer.zora.energy/\",apiUrl:\"https://sepolia.explorer.zora.energy/api\"}},contracts:{...me.contracts,l2OutputOracle:{[hR]:{address:\"0x2615B481Bd3E5A1C0C7Ca3Da1bdc663E8615Ade9\"}},multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:83160},portal:{[hR]:{address:\"0xeffE2C6cA9Ab797D418f0D91eA60807713f3536f\"}},l1StandardBridge:{[hR]:{address:\"0x5376f1D543dcbB5BD416c56C189e4cB7399fCcCB\"}}},sourceId:hR,testnet:!0})});var CDe,TDe,IDe=x(()=>{u();at();T();CDe=5,TDe=g({...me,id:999,name:\"Zora Goerli Testnet\",nativeCurrency:{decimals:18,name:\"Zora Goerli\",symbol:\"ETH\"},rpcUrls:{default:{http:[\"https://testnet.rpc.zora.energy\"],webSocket:[\"wss://testnet.rpc.zora.energy\"]}},blockExplorers:{default:{name:\"Explorer\",url:\"https://testnet.explorer.zora.energy\",apiUrl:\"https://testnet.explorer.zora.energy/api\"}},contracts:{...me.contracts,multicall3:{address:\"0xcA11bde05977b3631167028862bE2a173976CA11\",blockCreated:189123},portal:{[CDe]:{address:\"0xDb9F51790365e7dc196e7D072728df39Be958ACe\"}}},sourceId:CDe,testnet:!0})});var zh={};an(zh,{abey:()=>vbe,abstract:()=>Rbe,abstractTestnet:()=>Bbe,acala:()=>Dbe,acria:()=>Ube,adf:()=>zbe,adi:()=>Hbe,agungTestnet:()=>Fbe,aioz:()=>qbe,alephZero:()=>Kbe,alephZeroTestnet:()=>Wbe,alienx:()=>Qbe,alienxHalTestnet:()=>Xbe,alpenTestnet:()=>tge,ancient8:()=>oge,ancient8Sepolia:()=>age,anvil:()=>cge,apeChain:()=>lge,apexTestnet:()=>fge,apollo:()=>mge,arbitrum:()=>yge,arbitrumGoerli:()=>gge,arbitrumNova:()=>vge,arbitrumSepolia:()=>Ege,arcTestnet:()=>Sge,arenaz:()=>kge,areonNetwork:()=>Tge,areonNetworkTestnet:()=>Pge,areum:()=>Oge,artelaTestnet:()=>Mge,arthera:()=>Nge,artheraTestnet:()=>$ge,assetChain:()=>Lge,assetChainTestnet:()=>jge,astar:()=>Vge,astarZkEVM:()=>Gge,astarZkyoto:()=>Zge,atletaOlympia:()=>Jge,aurora:()=>Yge,auroraTestnet:()=>e1e,auroria:()=>r1e,autheoTestnet:()=>o1e,avalanche:()=>a1e,avalancheFuji:()=>c1e,b3:()=>l1e,b3Sepolia:()=>f1e,bahamut:()=>m1e,base:()=>P5,baseGoerli:()=>v1e,basePreconf:()=>y1e,baseSepolia:()=>BV,baseSepoliaPreconf:()=>E1e,basecampTestnet:()=>g1e,battlechainTestnet:()=>S1e,beam:()=>k1e,beamTestnet:()=>T1e,bearNetworkChainMainnet:()=>P1e,bearNetworkChainTestnet:()=>O1e,berachain:()=>M1e,berachainBepolia:()=>N1e,berachainTestnet:()=>$1e,berachainTestnetbArtio:()=>L1e,bevmMainnet:()=>j1e,bifrost:()=>V1e,birdlayer:()=>G1e,bitTorrent:()=>axe,bitTorrentTestnet:()=>cxe,bitgert:()=>Z1e,bitkub:()=>J1e,bitkubTestnet:()=>Y1e,bitlayer:()=>exe,bitlayerTestnet:()=>rxe,bitrock:()=>oxe,blast:()=>lxe,blastSepolia:()=>fxe,bob:()=>mxe,bobSepolia:()=>vxe,boba:()=>yxe,bobaSepolia:()=>gxe,boolBetaMainnet:()=>Exe,botanix:()=>Sxe,botanixTestnet:()=>kxe,bounceBit:()=>Txe,bounceBitTestnet:()=>Pxe,bronos:()=>Oxe,bronosTestnet:()=>Mxe,bsc:()=>Nxe,bscGreenfield:()=>$xe,bscTestnet:()=>Lxe,bsquared:()=>jxe,bsquaredTestnet:()=>Vxe,btr:()=>Gxe,btrTestnet:()=>Zxe,bxn:()=>Jxe,bxnTestnet:()=>Yxe,cannon:()=>eve,canto:()=>rve,celo:()=>lve,celoAlfajores:()=>fve,celoSepolia:()=>mve,chang:()=>yve,chiliz:()=>gve,chips:()=>vve,citrea:()=>Eve,citreaTestnet:()=>Sve,classic:()=>kve,codex:()=>Tve,codexTestnet:()=>Pve,coinbit:()=>Ove,coinex:()=>Mve,confluxESpace:()=>Nve,confluxESpaceTestnet:()=>$ve,coreDao:()=>Lve,coreTestnet1:()=>jve,coreTestnet2:()=>Vve,corn:()=>Gve,cornTestnet:()=>Zve,cpchain:()=>Jve,crab:()=>Yve,creatorTestnet:()=>ewe,creditCoin3Devnet:()=>rwe,creditCoin3Mainnet:()=>owe,creditCoin3Testnet:()=>awe,cronos:()=>cwe,cronosTestnet:()=>lwe,cronoszkEVM:()=>fwe,cronoszkEVMTestnet:()=>mwe,crossbell:()=>ywe,crossfi:()=>gwe,curtis:()=>vwe,cyber:()=>Ewe,cyberTestnet:()=>Swe,dailyNetwork:()=>kwe,dailyNetworkTestnet:()=>Twe,darwinia:()=>Pwe,datahavenTestnet:()=>Owe,dbkchain:()=>Mwe,dchain:()=>Nwe,dchainTestnet:()=>$we,defichainEvm:()=>Lwe,defichainEvmTestnet:()=>jwe,degen:()=>Vwe,dfk:()=>Gwe,diode:()=>Zwe,disChain:()=>Jwe,dodochainTestnet:()=>Ywe,dogechain:()=>e2e,domaTestnet:()=>r2e,donatuz:()=>o2e,dosChain:()=>a2e,dosChainTestnet:()=>c2e,dreyerxMainnet:()=>l2e,dreyerxTestnet:()=>f2e,dustboyIoT:()=>m2e,dymension:()=>y2e,eden:()=>g2e,edexa:()=>v2e,edexaTestnet:()=>E2e,edgeless:()=>S2e,edgelessTestnet:()=>k2e,edgeware:()=>T2e,edgewareTestnet:()=>P2e,eduChain:()=>O2e,eduChainTestnet:()=>M2e,elastos:()=>N2e,elastosTestnet:()=>$2e,electroneum:()=>L2e,electroneumTestnet:()=>j2e,elysiumTestnet:()=>V2e,energy:()=>G2e,eni:()=>Z2e,eniTestnet:()=>J2e,enuls:()=>Y2e,eon:()=>e6e,eos:()=>r6e,eosTestnet:()=>o6e,eteria:()=>a6e,etherlink:()=>c6e,etherlinkShadownetTestnet:()=>l6e,etherlinkTestnet:()=>f6e,ethernity:()=>m6e,etp:()=>y6e,evmos:()=>g6e,evmosTestnet:()=>v6e,excelonMainnet:()=>E6e,expanse:()=>S6e,exsat:()=>k6e,exsatTestnet:()=>T6e,fantom:()=>P6e,fantomSonicTestnet:()=>O6e,fantomTestnet:()=>M6e,fibo:()=>N6e,filecoin:()=>$6e,filecoinCalibration:()=>L6e,filecoinHyperspace:()=>j6e,fireChain:()=>gbe,flame:()=>V6e,flare:()=>G6e,flareTestnet:()=>Z6e,flowMainnet:()=>J6e,flowPreviewnet:()=>Y6e,flowTestnet:()=>eEe,fluence:()=>rEe,fluenceStage:()=>oEe,fluenceTestnet:()=>aEe,fluent:()=>cEe,fluentDevnet:()=>lEe,fluentTestnet:()=>fEe,form:()=>mEe,formTestnet:()=>gEe,forma:()=>yEe,formicarium:()=>P3e,forta:()=>vEe,foundry:()=>EEe,fraxtal:()=>SEe,fraxtalTestnet:()=>kEe,funkiMainnet:()=>TEe,funkiSepolia:()=>PEe,fuse:()=>OEe,fuseSparknet:()=>MEe,fusion:()=>NEe,fusionTestnet:()=>$Ee,garnet:()=>LEe,gatechain:()=>jEe,geist:()=>VEe,genesys:()=>GEe,gensyn:()=>ZEe,giwaSepolia:()=>LV,giwaSepoliaPreconf:()=>JEe,glideL1Protocol:()=>YEe,glideL2Protocol:()=>e_e,gnosis:()=>r_e,gnosisChiado:()=>o_e,goChain:()=>l_e,goat:()=>a_e,gobi:()=>c_e,godwoken:()=>f_e,goerli:()=>m_e,graphite:()=>y_e,graphiteTestnet:()=>g_e,gravity:()=>v_e,gunz:()=>E_e,guruNetwork:()=>S_e,guruTestnet:()=>k_e,ham:()=>T_e,happychainTestnet:()=>P_e,haqqMainnet:()=>O_e,haqqTestedge2:()=>M_e,hardhat:()=>N_e,harmonyOne:()=>$_e,hashkey:()=>L_e,hashkeyTestnet:()=>j_e,haustTestnet:()=>V_e,hedera:()=>G_e,hederaPreviewnet:()=>Z_e,hederaTestnet:()=>J_e,hela:()=>Y_e,heliosTestnet:()=>eSe,hemi:()=>rSe,hemiSepolia:()=>oSe,henesys:()=>aSe,holesky:()=>cSe,hoodi:()=>lSe,horizenTestnet:()=>fSe,hpb:()=>mSe,hpp:()=>ySe,hppSepolia:()=>gSe,huddle01Mainnet:()=>vSe,huddle01Testnet:()=>ESe,humanity:()=>SSe,humanityTestnet:()=>kSe,humanode:()=>TSe,humanodeTestnet5:()=>PSe,hychain:()=>OSe,hychainTestnet:()=>MSe,hyperEvm:()=>HV,hyperliquid:()=>HV,hyperliquidEvmTestnet:()=>USe,iSunCoin:()=>b5e,icbNetwork:()=>zSe,idchain:()=>HSe,igra:()=>FSe,immutableZkEvm:()=>qSe,immutableZkEvmTestnet:()=>KSe,inEVM:()=>WSe,initVerse:()=>QSe,initVerseGenesis:()=>XSe,injective:()=>t5e,injectiveTestnet:()=>n5e,ink:()=>i5e,inkSepolia:()=>s5e,iota:()=>u5e,iotaTestnet:()=>d5e,iotex:()=>p5e,iotexTestnet:()=>h5e,jasmyChain:()=>x5e,jasmyChainTestnet:()=>w5e,jbc:()=>_5e,jbcTestnet:()=>A5e,jocMainnet:()=>C5e,jocTestnet:()=>I5e,jovay:()=>R5e,jovaySepolia:()=>B5e,juneo:()=>D5e,juneoBCH1Chain:()=>U5e,juneoDAI1Chain:()=>z5e,juneoDOGE1Chain:()=>H5e,juneoEUR1Chain:()=>F5e,juneoGLD1Chain:()=>q5e,juneoLINK1Chain:()=>K5e,juneoLTC1Chain:()=>W5e,juneoSGD1Chain:()=>X5e,juneoSocotraTestnet:()=>tAe,juneoUSD1Chain:()=>nAe,juneoUSDT1Chain:()=>iAe,juneomBTC1Chain:()=>Q5e,kaia:()=>sAe,kairos:()=>uAe,kakarotSepolia:()=>dAe,kakarotStarknetSepolia:()=>pAe,kardiaChain:()=>hAe,karura:()=>bAe,katana:()=>xAe,kava:()=>wAe,kavaTestnet:()=>_Ae,kcc:()=>AAe,kii:()=>CAe,kiiTestnetOro:()=>IAe,kinto:()=>RAe,klaytn:()=>BAe,klaytnBaobab:()=>DAe,koi:()=>UAe,kroma:()=>zAe,kromaSepolia:()=>HAe,krown:()=>FAe,l3x:()=>qAe,l3xTestnet:()=>KAe,lavita:()=>WAe,lens:()=>QAe,lensTestnet:()=>XAe,lestnet:()=>tke,lightlinkPegasus:()=>nke,lightlinkPhoenix:()=>ike,linea:()=>lke,lineaGoerli:()=>fke,lineaSepolia:()=>mke,lineaTestnet:()=>yke,lisk:()=>gke,liskSepolia:()=>vke,loadAlphanet:()=>Eke,localhost:()=>Ske,loop:()=>kke,lukso:()=>Tke,luksoTestnet:()=>Pke,lumiaMainnet:()=>Oke,lumiaTestnet:()=>Mke,lumoz:()=>Nke,lumozTestnet:()=>$ke,luxeports:()=>Lke,lycan:()=>jke,lyra:()=>Vke,mainnet:()=>Gke,mandala:()=>Zke,manta:()=>Jke,mantaSepoliaTestnet:()=>Yke,mantaTestnet:()=>e3e,mantle:()=>r3e,mantleSepoliaTestnet:()=>o3e,mantleTestnet:()=>a3e,mantraDuKongEVMTestnet:()=>c3e,mantraEVM:()=>l3e,mapProtocol:()=>f3e,matchain:()=>m3e,matchainTestnet:()=>y3e,mchVerse:()=>g3e,megaeth:()=>v3e,megaethTestnet:()=>E3e,mekong:()=>S3e,meld:()=>k3e,memecore:()=>T3e,merlin:()=>O3e,merlinErigonTestnet:()=>M3e,metachain:()=>N3e,metachainIstanbul:()=>$3e,metadium:()=>L3e,metalL2:()=>j3e,meter:()=>V3e,meterTestnet:()=>G3e,metis:()=>Z3e,metisGoerli:()=>J3e,metisSepolia:()=>Y3e,mev:()=>eCe,mevTestnet:()=>rCe,mezo:()=>oCe,mezoTestnet:()=>aCe,mint:()=>cCe,mintSepoliaTestnet:()=>lCe,mitosisTestnet:()=>fCe,mode:()=>mCe,modeTestnet:()=>yCe,monad:()=>gCe,monadTestnet:()=>vCe,moonbaseAlpha:()=>ECe,moonbeam:()=>SCe,moonbeamDev:()=>kCe,moonriver:()=>TCe,morph:()=>PCe,morphHolesky:()=>OCe,morphSepolia:()=>MCe,nahmii:()=>NCe,nautilus:()=>$Ce,near:()=>LCe,nearTestnet:()=>jCe,neonDevnet:()=>VCe,neonMainnet:()=>GCe,neoxMainnet:()=>ZCe,neoxT4:()=>JCe,newton:()=>YCe,nexi:()=>e8e,nexilix:()=>r8e,nibiru:()=>o8e,nitrographTestnet:()=>a8e,nomina:()=>c8e,oasisTestnet:()=>l8e,oasys:()=>f8e,odysseyTestnet:()=>m8e,okc:()=>y8e,omax:()=>g8e,omni:()=>v8e,omniOmega:()=>E8e,oneWorld:()=>S8e,oortMainnetDev:()=>k8e,opBNB:()=>T8e,opBNBTestnet:()=>P8e,openledger:()=>O8e,optimism:()=>M8e,optimismGoerli:()=>N8e,optimismSepolia:()=>$8e,optopia:()=>L8e,optopiaTestnet:()=>j8e,orderly:()=>V8e,orderlySepolia:()=>G8e,otimDevnet:()=>Z8e,palm:()=>J8e,palmTestnet:()=>Y8e,paseoPassetHub:()=>eTe,peaq:()=>rTe,pgn:()=>oTe,pgnTestnet:()=>aTe,phoenix:()=>cTe,planq:()=>lTe,plasma:()=>fTe,plasmaDevnet:()=>mTe,plasmaTestnet:()=>yTe,playfiAlbireo:()=>gTe,plinga:()=>vTe,plume:()=>ETe,plumeDevnet:()=>STe,plumeMainnet:()=>kTe,plumeSepolia:()=>TTe,plumeTestnet:()=>PTe,polterTestnet:()=>OTe,polygon:()=>MTe,polygonAmoy:()=>NTe,polygonMumbai:()=>$Te,polygonZkEvm:()=>LTe,polygonZkEvmCardona:()=>jTe,polygonZkEvmTestnet:()=>VTe,polynomial:()=>GTe,polynomialSepolia:()=>ZTe,potos:()=>JTe,potosTestnet:()=>YTe,premiumBlockTestnet:()=>e4e,pulsechain:()=>r4e,pulsechainV4:()=>o4e,pumpfiTestnet:()=>a4e,pyrope:()=>u4e,qMainnet:()=>p4e,qTestnet:()=>h4e,ql1:()=>d4e,quai:()=>b4e,quaiTestnet:()=>x4e,radius:()=>w4e,radiusTestnet:()=>_4e,reactiveTestnet:()=>A4e,real:()=>C4e,redbellyMainnet:()=>I4e,redbellyTestnet:()=>R4e,reddio:()=>B4e,reddioSepolia:()=>D4e,redstone:()=>U4e,rei:()=>z4e,reyaNetwork:()=>H4e,rise:()=>F4e,riseTestnet:()=>q4e,rivalz:()=>K4e,rollux:()=>W4e,rolluxTestnet:()=>Q4e,ronin:()=>X4e,root:()=>tIe,rootPorcini:()=>nIe,rootstock:()=>iIe,rootstockTestnet:()=>sIe,rss3:()=>uIe,rss3Sepolia:()=>dIe,saakuru:()=>pIe,saga:()=>hIe,saigon:()=>bIe,sanko:()=>xIe,sapphire:()=>wIe,sapphireTestnet:()=>_Ie,satoshiVM:()=>AIe,satoshiVMTestnet:()=>CIe,scroll:()=>IIe,scrollSepolia:()=>RIe,sei:()=>BIe,seiTestnet:()=>UIe,seismicDevnet:()=>DIe,sepolia:()=>zIe,shape:()=>HIe,shapeSepolia:()=>FIe,shardeum:()=>qIe,shardeumSphinx:()=>KIe,shibarium:()=>WIe,shibariumTestnet:()=>QIe,shiden:()=>XIe,shimmer:()=>t7e,shimmerTestnet:()=>n7e,sidraChain:()=>i7e,silentData:()=>s7e,silicon:()=>u7e,siliconSepolia:()=>d7e,sixProtocol:()=>p7e,skaleBase:()=>z7e,skaleBaseSepoliaTestnet:()=>H7e,skaleBlockBrawlers:()=>h7e,skaleCalypso:()=>b7e,skaleCalypsoTestnet:()=>x7e,skaleCryptoBlades:()=>w7e,skaleCryptoColosseum:()=>_7e,skaleEuropa:()=>A7e,skaleEuropaTestnet:()=>C7e,skaleExorde:()=>I7e,skaleHumanProtocol:()=>R7e,skaleNebula:()=>B7e,skaleNebulaTestnet:()=>D7e,skaleRazor:()=>U7e,skaleTitan:()=>F7e,skaleTitanTestnet:()=>q7e,sketchpad:()=>K7e,snax:()=>W7e,snaxTestnet:()=>Q7e,somnia:()=>X7e,somniaTestnet:()=>tPe,soneium:()=>nPe,soneiumMinato:()=>iPe,songbird:()=>sPe,songbirdTestnet:()=>uPe,sonic:()=>dPe,sonicBlazeTestnet:()=>pPe,sonicTestnet:()=>hPe,sophon:()=>bPe,sophonTestnet:()=>xPe,sova:()=>wPe,sovaSepolia:()=>_Pe,spicy:()=>APe,stable:()=>CPe,stableTestnet:()=>IPe,statusNetworkSepolia:()=>jV,statusSepolia:()=>jV,step:()=>OPe,story:()=>MPe,storyAeneid:()=>NPe,storyOdyssey:()=>$Pe,storyTestnet:()=>LPe,stratis:()=>jPe,subtensorEvm:()=>VPe,superlumio:()=>GPe,superposition:()=>ZPe,superseed:()=>JPe,superseedSepolia:()=>YPe,surgeTestnet:()=>eRe,swan:()=>rRe,swanProximaTestnet:()=>oRe,swanSaturnTestnet:()=>aRe,swellchain:()=>cRe,swellchainTestnet:()=>lRe,swissdlt:()=>fRe,syscoin:()=>mRe,syscoinTestnet:()=>yRe,tac:()=>gRe,tacSPB:()=>vRe,taiko:()=>ERe,taikoHekla:()=>SRe,taikoHoodi:()=>kRe,taikoJolnir:()=>TRe,taikoKatla:()=>PRe,taikoTestnetSepolia:()=>ORe,taraxa:()=>MRe,taraxaTestnet:()=>NRe,teaSepolia:()=>$Re,telcoinTestnet:()=>LRe,telos:()=>jRe,telosTestnet:()=>VRe,tempo:()=>dq,tempoDevnet:()=>sBe,tempoLocalnet:()=>uBe,tempoMainnet:()=>dq,tempoModerato:()=>fq,tempoTestnet:()=>fq,tenet:()=>fBe,ternoa:()=>mBe,thaiChain:()=>yBe,that:()=>gBe,theta:()=>vBe,thetaTestnet:()=>EBe,thunderCore:()=>SBe,thunderTestnet:()=>kBe,tiktrixTestnet:()=>TBe,tomb:()=>PBe,treasure:()=>OBe,treasureTopaz:()=>MBe,tron:()=>NBe,tronNile:()=>$Be,tronShasta:()=>LBe,ubiq:()=>jBe,ultra:()=>VBe,ultraTestnet:()=>GBe,ultron:()=>ZBe,ultronTestnet:()=>JBe,unichain:()=>YBe,unichainSepolia:()=>e9e,unique:()=>r9e,uniqueOpal:()=>o9e,uniqueQuartz:()=>a9e,unreal:()=>c9e,vana:()=>l9e,vanaMoksha:()=>f9e,vanar:()=>m9e,vechain:()=>y9e,velas:()=>g9e,viction:()=>v9e,victionTestnet:()=>E9e,vision:()=>S9e,visionTestnet:()=>k9e,wanchain:()=>T9e,wanchainTestnet:()=>P9e,weaveVMAlphanet:()=>O9e,wemix:()=>M9e,wemixTestnet:()=>N9e,westendAssetHub:()=>$9e,whitechain:()=>L9e,whitechainTestnet:()=>j9e,wmcTestnet:()=>V9e,worldLand:()=>J9e,worldchain:()=>G9e,worldchainSepolia:()=>Z9e,x1Testnet:()=>pq,xLayer:()=>cMe,xLayerTestnet:()=>pq,xai:()=>Y9e,xaiTestnet:()=>eMe,xdc:()=>rMe,xdcTestnet:()=>oMe,xgr:()=>aMe,xoneMainnet:()=>dMe,xoneTestnet:()=>pMe,xphereMainnet:()=>hMe,xphereTestnet:()=>bMe,xpla:()=>xMe,xrOne:()=>wMe,xrSepolia:()=>IMe,xrplevm:()=>_Me,xrplevmDevnet:()=>AMe,xrplevmTestnet:()=>CMe,yooldoVerse:()=>RMe,yooldoVerseTestnet:()=>BMe,zenchainTestnet:()=>DMe,zeniq:()=>UMe,zeroG:()=>lbe,zeroGGalileoTestnet:()=>fbe,zeroGMainnet:()=>mbe,zeroGTestnet:()=>ybe,zeroNetwork:()=>zMe,zetachain:()=>HMe,zetachainAthensTestnet:()=>FMe,zhejiang:()=>qMe,zilliqa:()=>KMe,zilliqaTestnet:()=>WMe,zircuit:()=>QMe,zircuitGarfieldTestnet:()=>XMe,zkFair:()=>tDe,zkFairTestnet:()=>nDe,zkLinkNova:()=>iDe,zkLinkNovaSepoliaTestnet:()=>sDe,zkSync:()=>yq,zkSyncInMemoryNode:()=>bq,zkSyncLocalNode:()=>gq,zkSyncSepoliaTestnet:()=>xq,zkXPLA:()=>xDe,zkXPLATestnet:()=>wDe,zksync:()=>yq,zksyncInMemoryNode:()=>bq,zksyncLocalCustomHyperchain:()=>dDe,zksyncLocalHyperchain:()=>pDe,zksyncLocalHyperchainL1:()=>hDe,zksyncLocalNode:()=>gq,zksyncSepoliaTestnet:()=>xq,zora:()=>_De,zoraSepolia:()=>ADe,zoraTestnet:()=>TDe});var yR=x(()=>{u();dbe();pbe();hbe();bbe();xbe();wbe();Obe();Mbe();Nbe();$be();Lbe();jbe();Vbe();Gbe();Zbe();Jbe();Ybe();ege();rge();ige();sge();uge();dge();pge();hge();bge();xge();wge();_ge();Age();Cge();Ige();Rge();Bge();Dge();Uge();zge();Hge();Fge();qge();Kge();Wge();Qge();Xge();t1e();n1e();i1e();s1e();u1e();d1e();p1e();h1e();b1e();x1e();w1e();_1e();A1e();C1e();I1e();R1e();B1e();D1e();U1e();z1e();H1e();F1e();q1e();K1e();W1e();Q1e();X1e();txe();nxe();ixe();sxe();uxe();dxe();pxe();hxe();bxe();xxe();wxe();_xe();Axe();Cxe();Ixe();Rxe();Bxe();Dxe();Uxe();zxe();Hxe();Fxe();qxe();Kxe();Wxe();Qxe();Xxe();tve();nve();dve();pve();hve();bve();xve();wve();_ve();Ave();Cve();Ive();Rve();Bve();Dve();Uve();zve();Hve();Fve();qve();Kve();Wve();Qve();Xve();twe();nwe();iwe();swe();uwe();dwe();pwe();hwe();bwe();xwe();wwe();_we();Awe();Cwe();Iwe();Rwe();Bwe();Dwe();Uwe();zwe();Hwe();Fwe();qwe();Kwe();Wwe();Qwe();Xwe();t2e();n2e();i2e();s2e();u2e();d2e();p2e();h2e();b2e();x2e();w2e();_2e();A2e();C2e();I2e();R2e();B2e();D2e();U2e();z2e();H2e();F2e();q2e();K2e();W2e();Q2e();X2e();t6e();n6e();i6e();s6e();u6e();d6e();p6e();h6e();b6e();x6e();w6e();_6e();A6e();C6e();I6e();R6e();B6e();D6e();U6e();z6e();H6e();F6e();q6e();K6e();W6e();Q6e();X6e();tEe();nEe();iEe();sEe();uEe();dEe();pEe();hEe();bEe();xEe();wEe();_Ee();AEe();CEe();IEe();REe();BEe();DEe();UEe();zEe();HEe();FEe();qEe();KEe();WEe();QEe();XEe();t_e();n_e();i_e();s_e();u_e();d_e();p_e();h_e();b_e();x_e();w_e();__e();A_e();C_e();I_e();R_e();B_e();D_e();U_e();z_e();H_e();F_e();q_e();K_e();W_e();Q_e();X_e();tSe();nSe();iSe();sSe();uSe();dSe();pSe();hSe();bSe();xSe();wSe();_Se();ASe();CSe();ISe();RSe();BSe();DSe();NSe();$Se();LSe();jSe();VSe();GSe();ZSe();JSe();YSe();e5e();r5e();o5e();a5e();c5e();l5e();f5e();m5e();y5e();g5e();v5e();E5e();S5e();k5e();T5e();P5e();O5e();M5e();N5e();$5e();L5e();j5e();V5e();G5e();Z5e();J5e();Y5e();eAe();rAe();oAe();aAe();cAe();lAe();fAe();mAe();yAe();gAe();vAe();EAe();SAe();kAe();TAe();PAe();OAe();MAe();NAe();$Ae();LAe();jAe();VAe();GAe();ZAe();JAe();YAe();eke();rke();oke();ake();dke();pke();hke();bke();xke();wke();_ke();Ake();Cke();Ike();Rke();Bke();Dke();Uke();zke();Hke();Fke();qke();Kke();Wke();Qke();Xke();t3e();n3e();i3e();s3e();u3e();d3e();p3e();h3e();b3e();x3e();w3e();_3e();A3e();C3e();I3e();R3e();B3e();D3e();U3e();z3e();H3e();F3e();q3e();K3e();W3e();Q3e();X3e();tCe();nCe();iCe();sCe();uCe();dCe();pCe();hCe();bCe();xCe();wCe();_Ce();ACe();CCe();ICe();RCe();BCe();DCe();UCe();zCe();HCe();FCe();qCe();KCe();WCe();QCe();XCe();t8e();n8e();i8e();s8e();u8e();d8e();p8e();h8e();b8e();x8e();w8e();_8e();A8e();C8e();I8e();R8e();B8e();D8e();U8e();z8e();H8e();F8e();q8e();K8e();W8e();Q8e();X8e();tTe();nTe();iTe();sTe();uTe();dTe();pTe();hTe();bTe();xTe();wTe();_Te();ATe();CTe();ITe();RTe();BTe();DTe();UTe();zTe();HTe();FTe();qTe();KTe();WTe();QTe();XTe();t4e();n4e();i4e();s4e();l4e();f4e();m4e();y4e();g4e();v4e();E4e();S4e();k4e();T4e();P4e();O4e();M4e();N4e();$4e();L4e();j4e();V4e();G4e();Z4e();J4e();Y4e();eIe();rIe();oIe();aIe();cIe();lIe();fIe();mIe();yIe();gIe();vIe();EIe();SIe();kIe();TIe();PIe();OIe();MIe();NIe();$Ie();LIe();jIe();VIe();GIe();ZIe();JIe();YIe();e7e();r7e();o7e();a7e();c7e();l7e();f7e();m7e();y7e();g7e();v7e();E7e();S7e();k7e();T7e();P7e();O7e();M7e();N7e();$7e();L7e();j7e();V7e();G7e();Z7e();J7e();Y7e();ePe();rPe();oPe();aPe();cPe();lPe();fPe();mPe();yPe();gPe();vPe();EPe();SPe();kPe();TPe();PPe();RPe();BPe();DPe();UPe();zPe();HPe();FPe();qPe();KPe();WPe();QPe();XPe();tRe();nRe();iRe();sRe();uRe();dRe();pRe();hRe();bRe();xRe();wRe();_Re();ARe();CRe();IRe();RRe();BRe();DRe();URe();zRe();HRe();FRe();qRe();aBe();cBe();lBe();dBe();pBe();hBe();bBe();xBe();wBe();_Be();ABe();CBe();IBe();RBe();BBe();DBe();UBe();zBe();HBe();FBe();qBe();KBe();WBe();QBe();XBe();t9e();n9e();i9e();s9e();u9e();d9e();p9e();h9e();b9e();x9e();w9e();_9e();A9e();C9e();I9e();R9e();B9e();D9e();U9e();z9e();H9e();F9e();q9e();K9e();W9e();Q9e();X9e();tMe();nMe();iMe();sMe();uMe();lMe();fMe();mMe();yMe();gMe();vMe();EMe();SMe();kMe();TMe();PMe();OMe();MMe();NMe();$Me();LMe();jMe();VMe();GMe();ZMe();JMe();YMe();eDe();rDe();oDe();aDe();cDe();uDe();lDe();fDe();mDe();yDe();bDe();gDe();vDe();EDe();SDe();kDe();IDe()});var vq=x(()=>{u();yb();sc();rP()});function zDe(e){if(typeof window>\"u\")return;let t=r=>e(r.detail);return window.addEventListener(\"eip6963:announceProvider\",t),window.dispatchEvent(new CustomEvent(\"eip6963:requestProvider\")),()=>window.removeEventListener(\"eip6963:announceProvider\",t)}var LDe=x(()=>{u()});function Cq(){let e=new Set,t=[],r=()=>zDe(o=>{t.some(({info:i})=>i.uuid===o.info.uuid)||(t=[...t,o],e.forEach(i=>i(t,{added:[o]})))}),n=r();return{_listeners(){return e},clear(){e.forEach(o=>o([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),n?.()},findProvider({rdns:o}){return t.find(i=>i.info.rdns===o)},getProviders(){return t},reset(){this.clear(),n?.(),n=r()},subscribe(o,{emitImmediately:i}={}){return e.add(o),i&&o(t,{added:t}),()=>e.delete(o)}}}var HDe=x(()=>{u();LDe()});var jDe=x(()=>{u();HDe()});var KDe=J((Jan,Iq)=>{\"use strict\";u();var _gt=Object.prototype.hasOwnProperty,Oa=\"~\";function sA(){}Object.create&&(sA.prototype=Object.create(null),new sA().__proto__||(Oa=!1));function Sgt(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function GDe(e,t,r,n,o){if(typeof r!=\"function\")throw new TypeError(\"The listener must be a function\");var i=new Sgt(r,n||e,o),c=Oa?Oa+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],i]:e._events[c].push(i):(e._events[c]=i,e._eventsCount++),e}function AR(e,t){--e._eventsCount===0?e._events=new sA:delete e._events[t]}function Yi(){this._events=new sA,this._eventsCount=0}Yi.prototype.eventNames=function(){var t=[],r,n;if(this._eventsCount===0)return t;for(n in r=this._events)_gt.call(r,n)&&t.push(Oa?n.slice(1):n);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(r)):t};Yi.prototype.listeners=function(t){var r=Oa?Oa+t:t,n=this._events[r];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,c=new Array(i);o<i;o++)c[o]=n[o].fn;return c};Yi.prototype.listenerCount=function(t){var r=Oa?Oa+t:t,n=this._events[r];return n?n.fn?1:n.length:0};Yi.prototype.emit=function(t,r,n,o,i,c){var l=Oa?Oa+t:t;if(!this._events[l])return!1;var f=this._events[l],p=arguments.length,h,y;if(f.fn){switch(f.once&&this.removeListener(t,f.fn,void 0,!0),p){case 1:return f.fn.call(f.context),!0;case 2:return f.fn.call(f.context,r),!0;case 3:return f.fn.call(f.context,r,n),!0;case 4:return f.fn.call(f.context,r,n,o),!0;case 5:return f.fn.call(f.context,r,n,o,i),!0;case 6:return f.fn.call(f.context,r,n,o,i,c),!0}for(y=1,h=new Array(p-1);y<p;y++)h[y-1]=arguments[y];f.fn.apply(f.context,h)}else{var w=f.length,E;for(y=0;y<w;y++)switch(f[y].once&&this.removeListener(t,f[y].fn,void 0,!0),p){case 1:f[y].fn.call(f[y].context);break;case 2:f[y].fn.call(f[y].context,r);break;case 3:f[y].fn.call(f[y].context,r,n);break;case 4:f[y].fn.call(f[y].context,r,n,o);break;default:if(!h)for(E=1,h=new Array(p-1);E<p;E++)h[E-1]=arguments[E];f[y].fn.apply(f[y].context,h)}}return!0};Yi.prototype.on=function(t,r,n){return GDe(this,t,r,n,!1)};Yi.prototype.once=function(t,r,n){return GDe(this,t,r,n,!0)};Yi.prototype.removeListener=function(t,r,n,o){var i=Oa?Oa+t:t;if(!this._events[i])return this;if(!r)return AR(this,i),this;var c=this._events[i];if(c.fn)c.fn===r&&(!o||c.once)&&(!n||c.context===n)&&AR(this,i);else{for(var l=0,f=[],p=c.length;l<p;l++)(c[l].fn!==r||o&&!c[l].once||n&&c[l].context!==n)&&f.push(c[l]);f.length?this._events[i]=f.length===1?f[0]:f:AR(this,i)}return this};Yi.prototype.removeAllListeners=function(t){var r;return t?(r=Oa?Oa+t:t,this._events[r]&&AR(this,r)):(this._events=new sA,this._eventsCount=0),this};Yi.prototype.off=Yi.prototype.removeListener;Yi.prototype.addListener=Yi.prototype.on;Yi.prefixed=Oa;Yi.EventEmitter=Yi;typeof Iq<\"u\"&&(Iq.exports=Yi)});var fw,kR=x(()=>{u();fw=_r(KDe(),1)});var oNe=J(nNe=>{\"use strict\";u();(function(){function e(E,A){return E===A&&(E!==0||1/E===1/A)||E!==E&&A!==A}function t(E,A){h||o.startTransition===void 0||(h=!0,console.error(\"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"));var C=A();if(!y){var R=A();i(C,R)||(console.error(\"The result of getSnapshot should be cached to avoid an infinite loop\"),y=!0)}R=c({inst:{value:C,getSnapshot:A}});var M=R[0].inst,D=R[1];return f(function(){M.value=C,M.getSnapshot=A,r(M)&&D({inst:M})},[E,C,A]),l(function(){return r(M)&&D({inst:M}),E(function(){r(M)&&D({inst:M})})},[E]),p(C),C}function r(E){var A=E.getSnapshot;E=E.value;try{var C=A();return!i(E,C)}catch{return!0}}function n(E,A){return A()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=eo(),i=typeof Object.is==\"function\"?Object.is:e,c=o.useState,l=o.useEffect,f=o.useLayoutEffect,p=o.useDebugValue,h=!1,y=!1,w=typeof window>\"u\"||typeof window.document>\"u\"||typeof window.document.createElement>\"u\"?n:t;nNe.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:w,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var aNe=J((wcn,iNe)=>{\"use strict\";u();iNe.exports=oNe()});var cNe=J(sNe=>{\"use strict\";u();(function(){function e(p,h){return p===h&&(p!==0||1/p===1/h)||p!==p&&h!==h}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=eo(),r=aNe(),n=typeof Object.is==\"function\"?Object.is:e,o=r.useSyncExternalStore,i=t.useRef,c=t.useEffect,l=t.useMemo,f=t.useDebugValue;sNe.useSyncExternalStoreWithSelector=function(p,h,y,w,E){var A=i(null);if(A.current===null){var C={hasValue:!1,value:null};A.current=C}else C=A.current;A=l(function(){function M(G){if(!D){if(D=!0,$=G,G=w(G),E!==void 0&&C.hasValue){var K=C.value;if(E(K,G))return H=K}return H=G}if(K=H,n($,G))return K;var Q=w(G);return E!==void 0&&E(K,Q)?($=G,K):($=G,H=Q)}var D=!1,$,H,V=y===void 0?null:y;return[function(){return M(h())},V===null?void 0:function(){return M(V())}]},[h,y,w,E]);var R=o(p,A[0],A[1]);return c(function(){C.hasValue=!0,C.value=R},[R]),f(R),R},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var lNe=J((Acn,uNe)=>{\"use strict\";u();uNe.exports=cNe()});var qNe=J(qR=>{\"use strict\";u();(function(){function e(U){if(U==null)return null;if(typeof U==\"function\")return U.$$typeof===fe?null:U.displayName||U.name||null;if(typeof U==\"string\")return U;switch(U){case R:return\"Fragment\";case D:return\"Profiler\";case M:return\"StrictMode\";case G:return\"Suspense\";case K:return\"SuspenseList\";case Y:return\"Activity\"}if(typeof U==\"object\")switch(typeof U.tag==\"number\"&&console.error(\"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"),U.$$typeof){case C:return\"Portal\";case H:return U.displayName||\"Context\";case $:return(U._context.displayName||\"Context\")+\".Consumer\";case V:var P=U.render;return U=U.displayName,U||(U=P.displayName||P.name||\"\",U=U!==\"\"?\"ForwardRef(\"+U+\")\":\"ForwardRef\"),U;case Q:return P=U.displayName||null,P!==null?P:e(U.type)||\"Memo\";case X:P=U._payload,U=U._init;try{return e(U(P))}catch{}}return null}function t(U){return\"\"+U}function r(U){try{t(U);var P=!1}catch{P=!0}if(P){P=console;var Z=P.error,ye=typeof Symbol==\"function\"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||\"Object\";return Z.call(P,\"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",ye),t(U)}}function n(U){if(U===R)return\"<>\";if(typeof U==\"object\"&&U!==null&&U.$$typeof===X)return\"<...>\";try{var P=e(U);return P?\"<\"+P+\">\":\"<...>\"}catch{return\"<...>\"}}function o(){var U=ce.A;return U===null?null:U.getOwner()}function i(){return Error(\"react-stack-top-frame\")}function c(U){if(N.call(U,\"key\")){var P=Object.getOwnPropertyDescriptor(U,\"key\").get;if(P&&P.isReactWarning)return!1}return U.key!==void 0}function l(U,P){function Z(){O||(O=!0,console.error(\"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",P))}Z.isReactWarning=!0,Object.defineProperty(U,\"key\",{get:Z,configurable:!0})}function f(){var U=e(this.type);return B[U]||(B[U]=!0,console.error(\"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\")),U=this.props.ref,U!==void 0?U:null}function p(U,P,Z,ye,xe,Te){var Ie=Z.ref;return U={$$typeof:A,type:U,key:P,props:Z,_owner:ye},(Ie!==void 0?Ie:null)!==null?Object.defineProperty(U,\"ref\",{enumerable:!1,get:f}):Object.defineProperty(U,\"ref\",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,\"validated\",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,\"_debugInfo\",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,\"_debugStack\",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.defineProperty(U,\"_debugTask\",{configurable:!1,enumerable:!1,writable:!0,value:Te}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function h(U,P,Z,ye,xe,Te){var Ie=P.children;if(Ie!==void 0)if(ye)if(_(Ie)){for(ye=0;ye<Ie.length;ye++)y(Ie[ye]);Object.freeze&&Object.freeze(Ie)}else console.error(\"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\");else y(Ie);if(N.call(P,\"key\")){Ie=e(U);var Ke=Object.keys(P).filter(function(Nt){return Nt!==\"key\"});ye=0<Ke.length?\"{key: someKey, \"+Ke.join(\": ..., \")+\": ...}\":\"{key: someKey}\",W[Ie+ye]||(Ke=0<Ke.length?\"{\"+Ke.join(\": ..., \")+\": ...}\":\"{}\",console.error(`A props object containing a \"key\" prop is being spread into JSX:\\n  let props = %s;\\n  <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n  let props = %s;\\n  <%s key={someKey} {...props} />`,ye,Ie,Ke,Ie),W[Ie+ye]=!0)}if(Ie=null,Z!==void 0&&(r(Z),Ie=\"\"+Z),c(P)&&(r(P.key),Ie=\"\"+P.key),\"key\"in P){Z={};for(var Ve in P)Ve!==\"key\"&&(Z[Ve]=P[Ve])}else Z=P;return Ie&&l(Z,typeof U==\"function\"?U.displayName||U.name||\"Unknown\":U),p(U,Ie,Z,o(),xe,Te)}function y(U){w(U)?U._store&&(U._store.validated=1):typeof U==\"object\"&&U!==null&&U.$$typeof===X&&(U._payload.status===\"fulfilled\"?w(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function w(U){return typeof U==\"object\"&&U!==null&&U.$$typeof===A}var E=eo(),A=Symbol.for(\"react.transitional.element\"),C=Symbol.for(\"react.portal\"),R=Symbol.for(\"react.fragment\"),M=Symbol.for(\"react.strict_mode\"),D=Symbol.for(\"react.profiler\"),$=Symbol.for(\"react.consumer\"),H=Symbol.for(\"react.context\"),V=Symbol.for(\"react.forward_ref\"),G=Symbol.for(\"react.suspense\"),K=Symbol.for(\"react.suspense_list\"),Q=Symbol.for(\"react.memo\"),X=Symbol.for(\"react.lazy\"),Y=Symbol.for(\"react.activity\"),fe=Symbol.for(\"react.client.reference\"),ce=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=Object.prototype.hasOwnProperty,_=Array.isArray,k=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(U){return U()}};var O,B={},L=E.react_stack_bottom_frame.bind(E,i)(),q=k(n(i)),W={};qR.Fragment=R,qR.jsx=function(U,P,Z){var ye=1e4>ce.recentlyCreatedOwnerStacks++;return h(U,P,Z,!1,ye?Error(\"react-stack-top-frame\"):L,ye?k(n(U)):q)},qR.jsxs=function(U,P,Z){var ye=1e4>ce.recentlyCreatedOwnerStacks++;return h(U,P,Z,!0,ye?Error(\"react-stack-top-frame\"):L,ye?k(n(U)):q)}})()});var rl=J((ddn,GNe)=>{\"use strict\";u();GNe.exports=qNe()});var Ee={};an(Ee,{BIGINT_FORMAT_RANGES:()=>PA,CONSTANT_CATCH:()=>rO,Class:()=>_G,NUMBER_FORMAT_RANGES:()=>IA,aborted:()=>Na,allowsEval:()=>kG,assert:()=>y1t,assertEqual:()=>f1t,assertIs:()=>m1t,assertNever:()=>h1t,assertNotEqual:()=>p1t,assignProp:()=>Oi,attachSchema:()=>RA,base64ToUint8Array:()=>HUe,base64urlToUint8Array:()=>D1t,cached:()=>Dw,captureStackTrace:()=>eO,cleanEnum:()=>M1t,cleanRegex:()=>Rp,clone:()=>Qr,cloneDef:()=>x1t,codePointLength:()=>Zb,constantCatch:()=>RG,createTransparentProxy:()=>A1t,defineLazy:()=>SG,defineLazyInternal:()=>Kt,derived:()=>z1t,esc:()=>Da,escapeRegex:()=>eu,explicitlyAborted:()=>IG,extend:()=>T1t,finalizeIssue:()=>Cs,floatSafeRemainder:()=>kA,getElementAtPath:()=>v1t,getEnumValues:()=>Bw,getLengthableOrigin:()=>BA,getParsedType:()=>S1t,getSizableOrigin:()=>OA,hexToUint8Array:()=>U1t,hide:()=>MA,installLazyProp:()=>F1t,isObject:()=>Kb,isPlainObject:()=>Xc,issue:()=>$w,joinValues:()=>pe,jsonStringifyReplacer:()=>Mw,members:()=>PG,merge:()=>P1t,mergeDefs:()=>nl,normalizeParams:()=>De,nullish:()=>XR,numKeys:()=>_1t,objectClone:()=>b1t,omit:()=>C1t,optionalKeys:()=>TG,own:()=>e0,parsedType:()=>Se,partial:()=>R1t,pick:()=>k1t,prefixIssues:()=>ks,primitiveTypes:()=>CG,promiseAllObject:()=>w1t,propertyKeyTypes:()=>TA,randomString:()=>E1t,rawShape:()=>Nw,required:()=>O1t,safeExtend:()=>I1t,shallowClone:()=>CA,sizeCaps:()=>Uw,slugify:()=>AG,stringifyPrimitive:()=>_e,toZod:()=>AA,uint8ArrayToBase64:()=>jUe,uint8ArrayToBase64url:()=>N1t,uint8ArrayToHex:()=>$1t,unwrapMessage:()=>Ow});function f1t(e){return e}function p1t(e){return e}function AA(){return e=>e}function m1t(e){}function h1t(e){throw new Error(\"Unexpected value in exhaustive check\")}function y1t(e){}function Bw(e){let t=Object.values(e).filter(n=>typeof n==\"number\");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function pe(e,t=\"|\"){return e.map(r=>_e(r)).join(t)}function Mw(e,t){return typeof t==\"bigint\"?t.toString():t}function Dw(e){return new EG(e)}function XR(e){return e==null}function Rp(e){let t=e.startsWith(\"^\")?1:0,r=e.endsWith(\"$\")?e.length-1:e.length;return e.slice(t,r)}function kA(e,t){let r=e/t,n=Math.round(r),o=4*Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<o?0:r-n}function SG(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==UUe)return n===void 0&&(n=UUe,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function b1t(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Oi(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Nw(e){let t=Object.getOwnPropertyDescriptor(e,\"shape\");return t?.get?t.get.raw:t?.value}function Pp(e){return Nw(e._zod.def)??e._zod.def.shape}function $Ue(e,t,r){Object.defineProperty(e,t,{get(){let n=r();return Oi(this,t,n),n},enumerable:!0,configurable:!0})}function zUe(e,t,r){t in e?Oi(e,t,r):e[t]=r}function Gb(e,t,r,n){let o=Pp(t);for(let i of r){let c=Object.getOwnPropertyDescriptor(o,i);c.enumerable&&(c.get?$Ue(e,i,()=>{let l=t._zod.def.shape[i];return n?n(l,i):l}):zUe(e,i,n?n(c.value,i):c.value))}}function g1t(e,t){for(let r of Reflect.ownKeys(t)){let n=Object.getOwnPropertyDescriptor(t,r);n.enumerable&&(n.get?$Ue(e,r,()=>t[r]):zUe(e,r,n.value))}}function nl(...e){let t={};for(let r of e){let n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function x1t(e){return nl(e._zod.def)}function v1t(e,t){return t?t.reduce((r,n)=>r?.[n],e):e}function w1t(e){let t=Object.keys(e),r=t.map(n=>e[n]);return Promise.all(r).then(n=>{let o={};for(let i=0;i<t.length;i++)o[t[i]]=n[i];return o})}function E1t(e=10){let t=\"abcdefghijklmnopqrstuvwxyz\",r=\"\";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r}function Da(e){return JSON.stringify(e)}function AG(e){return e.toLowerCase().trim().replace(/[^\\\\w\\\\s-]/g,\"\").replace(/[\\\\s_-]+/g,\"-\").replace(/^-+|-+$/g,\"\")}function Kb(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function Xc(e){if(Kb(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=\"function\")return!0;let r=t.prototype;return!(Kb(r)===!1||Object.prototype.hasOwnProperty.call(r,\"isPrototypeOf\")===!1)}function CA(e){return Xc(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function _1t(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}function eu(e){return e.replace(/[.*+?^${}()|[\\\\]\\\\\\\\]/g,\"\\\\\\\\$&\")}function Qr(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function De(e){let t=e;if(!t)return{};if(typeof t==\"string\")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error(\"Cannot specify both `message` and `error` params\");t.error=t.message}return delete t.message,typeof t.error==\"string\"?{...t,error:()=>t.error}:t}function A1t(e){let t;return new Proxy({},{get(r,n,o){return t??(t=e()),Reflect.get(t,n,o)},set(r,n,o,i){return t??(t=e()),Reflect.set(t,n,o,i)},has(r,n){return t??(t=e()),Reflect.has(t,n)},deleteProperty(r,n){return t??(t=e()),Reflect.deleteProperty(t,n)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,n){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)},defineProperty(r,n,o){return t??(t=e()),Reflect.defineProperty(t,n,o)}})}function _e(e){return typeof e==\"bigint\"?e.toString()+\"n\":typeof e==\"string\"?`\"${e}\"`:`${e}`}function TG(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===\"optional\")}function k1t(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(\".pick() cannot be used on object schemas containing refinements\");let i={};return Gb(i,e,tO(e,t)),Qr(e,nl(r,{shape:i,checks:[]}))}function tO(e,t){let r=Pp(e),n=[];for(let o of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(r,o)?.enumerable)throw new Error(`Unrecognized key: \"${String(o)}\"`);t[o]&&n.push(o)}return n}function C1t(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(\".omit() cannot be used on object schemas containing refinements\");let i=new Set(tO(e,t)),c={};return Gb(c,e,Reflect.ownKeys(Pp(e)).filter(l=>!i.has(l))),Qr(e,nl(r,{shape:c,checks:[]}))}function T1t(e,t){if(!Xc(t))throw new Error(\"Invalid input to extend: expected a plain object\");let r=e._zod.def.checks;if(r&&r.length>0){let o=Pp(e);for(let i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(o,i)!==void 0)throw new Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}return Qr(e,nl(e._zod.def,{shape:LUe(e,t)}))}function LUe(e,t){let r={};return Gb(r,e,Reflect.ownKeys(Pp(e))),g1t(r,t),r}function I1t(e,t){if(!Xc(t))throw new Error(\"Invalid input to safeExtend: expected a plain object\");return Qr(e,nl(e._zod.def,{shape:LUe(e,t)}))}function P1t(e,t){if(!t?._zod?.def)throw new Error(\"Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.\");if(e._zod.def.checks?.length)throw new Error(\".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.\");let r={};Gb(r,e,Reflect.ownKeys(Pp(e))),Gb(r,t,Reflect.ownKeys(Pp(t)));let n=nl(e._zod.def,{shape:r,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Qr(e,n)}function R1t(e,t,r,n=\"partial\"){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${n}() cannot be used on object schemas containing refinements`);let l=r?new Set(tO(t,r)):void 0,f={};return Gb(f,t,Reflect.ownKeys(Pp(t)),e&&((p,h)=>l&&!l.has(h)?p:new e({type:\"optional\",innerType:p}))),Qr(t,nl(t._zod.def,{shape:f,checks:[]}))}function O1t(e,t,r){let n=r?new Set(tO(t,r)):void 0,o={};return Gb(o,t,Reflect.ownKeys(Pp(t)),(i,c)=>n&&!n.has(c)?i:new e({type:\"nonoptional\",innerType:i})),Qr(t,nl(t._zod.def,{shape:o}))}function Na(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function IG(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function ks(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Ow(e){return typeof e==\"string\"?e:e?.message}function Uw(e){let t=[];for(let r of e??[]){let n=r._zod.def;if(!/_(length|size)$|_equals$/.test(n.check))break;let o=n.maximum??n.length??n.size;o>=0&&t.push([o,r])}return t}function RA(e,t,r){var n;for(let o=t;o<e.length;o++)(n=e[o]).schema??(n.schema=r)}function Cs(e,t,r){var n;let o=e.inst?._zod?.traits;o?.has(\"$ZodType\")&&(o.has(\"$ZodCheck\")?(n=e).schema??(n.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,c=e.message?e.message:Ow(e.inst?._zod.def?.error?.(e))??Ow(i?.(e))??Ow(t?.error?.(e))??Ow(r.customError?.(e))??Ow(r.localeError?.(e))??\"Invalid input\",l={};for(let f of Object.keys(e))f===\"inst\"||f===\"schema\"||f===\"continue\"||f===\"input\"||f===\"__proto__\"||(l[f]=e[f]);return l.path??(l.path=[]),l.message=c,t?.reportInput&&(l.input=e.input),l}function OA(e){return e instanceof Set?\"set\":e instanceof Map?\"map\":e instanceof File?\"file\":\"unknown\"}function Zb(e){let t=e.length;if(!B1t.test(e))return t;let r=t;for(let n=0;n<t-1;n++)(e.charCodeAt(n)&64512)===55296&&(e.charCodeAt(n+1)&64512)===56320&&(r--,n++);return r}function BA(e){return Array.isArray(e)?\"array\":typeof e==\"string\"?\"string\":\"unknown\"}function Se(e){let t=typeof e;switch(t){case\"number\":return Number.isNaN(e)?\"nan\":\"number\";case\"object\":{if(e===null)return\"null\";if(Array.isArray(e))return\"array\";let r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&\"constructor\"in r&&r.constructor)return r.constructor.name}}return t}function $w(...e){let[t,r,n]=e;return typeof t==\"string\"?{message:t,code:\"custom\",input:r,inst:n}:{...t}}function M1t(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function HUe(e){let t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}function jUe(e){let t=\"\";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function D1t(e){let t=e.replace(/-/g,\"+\").replace(/_/g,\"/\"),r=\"=\".repeat((4-t.length%4)%4);return HUe(t+r)}function N1t(e){return jUe(e).replace(/\\\\+/g,\"-\").replace(/\\\\//g,\"_\").replace(/=/g,\"\")}function U1t(e){let t=e.replace(/^0x/,\"\");if(t.length%2!==0)throw new Error(\"Invalid hex string length\");let r=new Uint8Array(t.length/2);for(let n=0;n<t.length;n+=2)r[n/2]=Number.parseInt(t.slice(n,n+2),16);return r}function $1t(e){return Array.from(e).map(t=>t.toString(16).padStart(2,\"0\")).join(\"\")}function PG(e,t){for(let r in t){let n=Object.getOwnPropertyDescriptor(t,r);n.get?Object.defineProperty(e,r,{...n,enumerable:!1}):L1t(e,r,n.value)}}function e0(e,t,r,n=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:n,value:r}),r}function MA(e,t,r){return e0(e,t,r,!1)}function z1t(e,t){for(let r in e){let n=e[r];Object.defineProperty(t,r,{configurable:!0,enumerable:!0,get(){return e0(this,r,n(this))},set(o){e0(this,r,o)}})}return t}function L1t(e,t,r){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?r:e0(this,t,r.bind(this))},set(n){e0(this,t,n)}})}function H1t(e,t){let r=Object.getPrototypeOf(e);return t in r?void 0:r}function Kt(e,t,r){let n=Object.getPrototypeOf(e._zod);if(t in n&&wG!==e._zod){wG=void 0;return}wG=e._zod,Object.defineProperty(n,t,{configurable:!0,get(){Object.defineProperty(this,t,j1t);let o=Xh;Xh=!1;try{let i=r(this);return Xh?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),Xh=Xh||o,i}catch(i){throw delete this[t],Xh=Xh||o,i}},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o})}})}function F1t(e,t,r,n){let o=H1t(e,t);o&&Object.defineProperty(o,t,{configurable:!0,get(){let i={configurable:!0,writable:!0,enumerable:n,value:void 0};return Object.defineProperty(this,t,i),i.value=r(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:n,value:i})}})}function RG(e){let t=()=>e;return t[rO]=!0,t}var EG,UUe,eO,kG,S1t,TA,CG,IA,PA,B1t,_G,wG,Xh,j1t,rO,je=x(()=>{u();t0();EG=class{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};UUe=Symbol(\"evaluating\");eO=\"captureStackTrace\"in Error?Error.captureStackTrace:(...e)=>{};kG=Dw(()=>{if(pi.jitless||typeof navigator<\"u\"&&navigator?.userAgent?.includes(\"Cloudflare\"))return!1;try{let e=Function;return new e(\"\"),!0}catch{return!1}});S1t=e=>{let t=typeof e;switch(t){case\"undefined\":return\"undefined\";case\"string\":return\"string\";case\"number\":return Number.isNaN(e)?\"nan\":\"number\";case\"boolean\":return\"boolean\";case\"function\":return\"function\";case\"bigint\":return\"bigint\";case\"symbol\":return\"symbol\";case\"object\":return Array.isArray(e)?\"array\":e===null?\"null\":e.then&&typeof e.then==\"function\"&&e.catch&&typeof e.catch==\"function\"?\"promise\":typeof Map<\"u\"&&e instanceof Map?\"map\":typeof Set<\"u\"&&e instanceof Set?\"set\":typeof Date<\"u\"&&e instanceof Date?\"date\":typeof File<\"u\"&&e instanceof File?\"file\":\"object\";default:throw new Error(`Unknown data type: ${t}`)}},TA=new Set([\"string\",\"number\",\"symbol\"]),CG=new Set([\"string\",\"number\",\"bigint\",\"boolean\",\"symbol\",\"undefined\"]);IA={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},PA={int64:[BigInt(\"-9223372036854775808\"),BigInt(\"9223372036854775807\")],uint64:[BigInt(0),BigInt(\"18446744073709551615\")]};B1t=/[\\\\uD800-\\\\uDBFF]/;_G=class{constructor(...t){}};Xh=!1,j1t={configurable:!0,get(){Xh=!0}};rO=\"~constantCatch\"});function V1t(e){let t=VUe;if(t){let r=t.stackTraceLimit;if(typeof r==\"number\"){try{t.stackTraceLimit=0}catch{return VUe=null,new e}try{return new e}finally{t.stackTraceLimit=r}}}return new e}function ue(e,t,r,n){let o={};function i(w){this.def=w,this.constr=y,this.traits=new Set}i.prototype=o;let c=r,l=c&&new WeakSet;function f(w,E){if(w._zod){if(w._zod.traits.has(e))return}else{OG.value=new i(E);try{Object.defineProperty(w,\"_zod\",OG)}finally{OG.value=void 0}}if(w._zod.traits.add(e),t(w,E),l){let C=Object.getPrototypeOf(w),R=w._zod.constr.prototype,M=C;for(;M&&M!==R;)M=Object.getPrototypeOf(M);let D=M??C;l.has(D)||(l.add(D),PG(D,c))}let A=y.prototype;for(let C in A)Object.prototype.hasOwnProperty.call(A,C)&&(C in w||(w[C]=A[C].bind(w)))}let p=n?.Parent??Object;class h extends p{}Object.defineProperty(h,\"name\",{value:e});function y(w){let E=n?.Parent?V1t(h):this;f(E,w);let A=E._zod.deferred;if(A){for(let R of A)R();E._zod.deferred=void 0}let C=globalThis.__zod_globalConfig?.postProcessor;return C&&C(E),E}return Object.defineProperty(y,\"init\",{value:f}),Object.defineProperty(y,Symbol.hasInstance,{value:w=>n?.Parent&&w instanceof n.Parent?!0:w?._zod?.traits?.has(e)}),Object.defineProperty(y,\"name\",{value:e}),y}function yo(e){return e&&Object.assign(pi,e),pi}var FUe,BG,OG,VUe,MG,Ts,r0,pi,t0=x(()=>{u();je();BG=Object.freeze({status:\"aborted\"}),OG={value:void 0,enumerable:!1},VUe=\"captureStackTrace\"in Error?Error:null;MG=Symbol(\"zod_brand\"),Ts=class extends Error{constructor(){super(\"Encountered Promise during synchronous parse. Use .parseAsync() instead.\")}},r0=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name=\"ZodEncodeError\"}};(FUe=globalThis).__zod_globalConfig??(FUe.__zod_globalConfig={});pi=globalThis.__zod_globalConfig});function q1t(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Mw,2)),e.message}function G1t(e){this._zod.message=e}function Z1t(e,t,r){return Object.prototype.hasOwnProperty.call(e,t)||(t===\"__proto__\"?Object.defineProperty(e,t,{value:r(),writable:!0,enumerable:!0,configurable:!0}):e[t]=r()),e[t]}function DA(e,t=r=>r.message){let r={},n=[];for(let o of e.issues)o.path.length>0?Z1t(r,o.path[0],()=>[]).push(t(o)):n.push(t(o));return{formErrors:n,fieldErrors:r}}function NA(e,t=r=>r.message){let r={_errors:[]},n=(o,i=[])=>{for(let c of o.issues)if(c.code===\"invalid_union\"&&c.errors.length)c.errors.map(l=>n({issues:l},[...i,...c.path]));else if(c.code===\"invalid_key\")n({issues:c.issues},[...i,...c.path]);else if(c.code===\"invalid_element\")n({issues:c.issues},[...i,...c.path]);else{let l=[...i,...c.path];if(l.length===0)r._errors.push(t(c));else{let f=r,p=0;for(;p<l.length;){let h=l[p],y=p===l.length-1;if(h===\"_errors\"){y&&f._errors.push(t(c)),p++;continue}Object.prototype.hasOwnProperty.call(f,h)||Object.defineProperty(f,h,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let w=f[h];y&&w._errors.push(t(c)),f=w,p++}}}};return n(e),r}function $G(e,t=r=>r.message){let r={errors:[]},n=(o,i=[])=>{var c;for(let l of o.issues)if(l.code===\"invalid_union\"&&l.errors.length)l.errors.map(f=>n({issues:f},[...i,...l.path]));else if(l.code===\"invalid_key\")n({issues:l.issues},[...i,...l.path]);else if(l.code===\"invalid_element\")n({issues:l.issues},[...i,...l.path]);else{let f=[...i,...l.path];if(f.length===0){r.errors.push(t(l));continue}let p=r,h=0;for(;h<f.length;){let y=f[h],w=h===f.length-1;typeof y==\"string\"?(p.properties??(p.properties={}),Object.prototype.hasOwnProperty.call(p.properties,y)||Object.defineProperty(p.properties,y,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),p=p.properties[y]):(p.items??(p.items=[]),(c=p.items)[y]??(c[y]={errors:[]}),p=p.items[y]),w&&p.errors.push(t(l)),h++}}};return n(e),r}function KUe(e){let t=[],r=e.map(n=>typeof n==\"object\"?n.key:n);for(let n of r)typeof n==\"number\"?t.push(`[${n}]`):typeof n==\"symbol\"?t.push(`[${JSON.stringify(String(n))}]`):/[^\\\\w$]/.test(n)?t.push(`[${JSON.stringify(n)}]`):(t.length&&t.push(\".\"),t.push(n));return t.join(\"\")}function zG(e){let t=[],r=[...e.issues].sort((n,o)=>(n.path??[]).length-(o.path??[]).length);for(let n of r)t.push(`\\\\u2716 ${n.message}`),n.path?.length&&t.push(`  \\\\u2192 at ${KUe(n.path)}`);return t.join(`\\n`)}var K1t,NG,qUe,GUe,UG,Is,LG=x(()=>{u();t0();je();K1t={get:q1t,set:G1t,enumerable:!0,configurable:!0},NG={value:void 0,enumerable:!1},qUe=new WeakSet([Object.prototype,Error.prototype]),GUe=(e,t)=>{e.name=\"$ZodError\",NG.value=t,Object.defineProperty(e,\"issues\",NG),NG.value=void 0,Object.defineProperty(e,\"message\",K1t);let r=Object.getPrototypeOf(e);qUe.has(r)||(qUe.add(r),Object.defineProperty(r,\"toString\",{configurable:!0,enumerable:!1,get(){let n=()=>this.message;return Object.defineProperty(this,\"toString\",{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,\"toString\",{value:n,configurable:!0,writable:!0})}}))},UG=ue(\"$ZodError\",GUe),Is=ue(\"$ZodError\",GUe,void 0,{Parent:Error})});function nO(e,t){return{callee:t?.callee??e,Err:t?.Err}}function ZUe(e,t,r){let n;return{success:!1,get error(){return n||(n=new e(t.map(o=>Cs(o,r,yo()))),t=void 0,r=void 0),n},set error(o){n=o,t=void 0,r=void 0}}}function ext(e,t,r){let n=r?{...r,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},o=e._zod.bag.fallbackRun,i;if(o?(n[X1t]=!0,i=o({value:t,issues:[]},n)):i=e._zod.run({value:t,issues:[]},n),i instanceof Promise)throw new Ts;return i.issues.length===0}var zw,oO,Lw,iO,Hw,J1t,jw,Q1t,Y1t,X1t,UA,$A,aO,txt,sO,rxt,cO,nxt,uO,oxt,lO,ixt,dO,axt,fO,sxt,pO,cxt,HG=x(()=>{u();t0();LG();je();zw=e=>{let t=(r,n,o,i)=>{let c=o?{...o,async:!1}:{async:!1},l=r._zod.run({value:n,issues:[]},c);if(l instanceof Promise)throw new Ts;if(l.issues.length){let f=new(i?.Err??e)(l.issues.map(p=>Cs(p,c,yo())));throw eO(f,i?.callee??t),f}return l.value};return t},oO=zw(Is),Lw=e=>{let t=async(r,n,o,i)=>{let c=o?{...o,async:!0}:{async:!0},l=r._zod.run({value:n,issues:[]},c);if(l instanceof Promise&&(l=await l),l.issues.length){let f=new(i?.Err??e)(l.issues.map(p=>Cs(p,c,yo())));throw eO(f,i?.callee??t),f}return l.value};return t},iO=Lw(Is),Hw=e=>(t,r,n)=>{let o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new Ts;return i.issues.length?ZUe(e,i.issues,o):{success:!0,data:i.value}},J1t=Hw(Is);jw=e=>async(t,r,n)=>{let o=n?{...n,async:!0}:{async:!0},i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?ZUe(e,i.issues,o):{success:!0,data:i.value}},Q1t=jw(Is),Y1t=Symbol.for(\"zod.compile.invalid\"),X1t=Symbol.for(\"zod.compile.fallback\"),UA=((e,t,r)=>{let n=e._zod.bag.validator;if(n!==void 0){if(n(t)!==Y1t)return!0;if(n.definite===!0&&r===void 0)return!1}return ext(e,t,r)});$A=async(e,t,r)=>{let n=r?{...r,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},o=e._zod.run({value:t,issues:[]},n);return o instanceof Promise&&(o=await o),o.issues.length===0},aO=e=>{let t=zw(e),r=(n,o,i,c)=>{let l=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return t(n,o,l,nO(r,c))};return r},txt=aO(Is),sO=e=>{let t=zw(e),r=(n,o,i,c)=>t(n,o,i,nO(r,c));return r},rxt=sO(Is),cO=e=>{let t=Lw(e),r=async(n,o,i,c)=>{let l=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return await t(n,o,l,nO(r,c))};return r},nxt=cO(Is),uO=e=>{let t=Lw(e),r=async(n,o,i,c)=>await t(n,o,i,nO(r,c));return r},oxt=uO(Is),lO=e=>(t,r,n)=>{let o=n?{...n,direction:\"backward\"}:{direction:\"backward\"};return Hw(e)(t,r,o)},ixt=lO(Is),dO=e=>(t,r,n)=>Hw(e)(t,r,n),axt=dO(Is),fO=e=>async(t,r,n)=>{let o=n?{...n,direction:\"backward\"}:{direction:\"backward\"};return jw(e)(t,r,o)},sxt=fO(Is),pO=e=>async(t,r,n)=>jw(e)(t,r,n),cxt=pO(Is)});var tu={};an(tu,{anyString:()=>mK,base64:()=>iK,base64url:()=>aK,bigint:()=>yK,boolean:()=>bK,browserEmail:()=>yxt,cidrv4:()=>nK,cidrv6:()=>oK,creditCard:()=>mO,cuid:()=>FG,cuid2:()=>VG,currencyCode:()=>lK,date:()=>dK,datetime:()=>pK,domain:()=>cK,duration:()=>JG,e164:()=>uK,email:()=>YG,emoji:()=>XG,extendedDuration:()=>uxt,guid:()=>QG,hex:()=>EK,hostname:()=>sK,html5Email:()=>pxt,httpProtocol:()=>zA,iban:()=>hO,idnEmail:()=>hxt,integer:()=>LA,ipv4:()=>eK,ipv6:()=>tK,ksuid:()=>KG,lowercase:()=>vK,mac:()=>rK,md5_base64:()=>vxt,md5_base64url:()=>wxt,md5_hex:()=>xxt,nanoid:()=>ZG,nanoidOfLength:()=>WG,null:()=>gK,number:()=>Op,rfc5322Email:()=>mxt,sha1_base64:()=>_xt,sha1_base64url:()=>Sxt,sha1_hex:()=>Ext,sha256_base64:()=>kxt,sha256_base64url:()=>Cxt,sha256_hex:()=>Axt,sha384_base64:()=>Ixt,sha384_base64url:()=>Pxt,sha384_hex:()=>Txt,sha512_base64:()=>Oxt,sha512_base64url:()=>Bxt,sha512_hex:()=>Rxt,string:()=>hK,time:()=>fK,ulid:()=>qG,undefined:()=>xK,unicodeEmail:()=>WUe,uppercase:()=>wK,uuid:()=>Wb,uuid4:()=>lxt,uuid6:()=>dxt,uuid7:()=>fxt,xid:()=>GG});function WG(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}function XG(){return new RegExp(bxt,\"u\")}function gxt(e){return new RegExp(`^${e}$`)}function jG(e){let t=\"(?:[01]\\\\\\\\d|2[0-3]):[0-5]\\\\\\\\d\";return typeof e.precision==\"number\"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\\\\\\\d`:`${t}:[0-5]\\\\\\\\d\\\\\\\\.\\\\\\\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\\\\\\\d(?:\\\\\\\\.\\\\\\\\d+)?`:`${t}(?::[0-5]\\\\\\\\d(?:\\\\\\\\.\\\\\\\\d+)?)?`}function fK(e){return new RegExp(`^${jG(e)}$`)}function pK(e){let t=[\"Z\"];e.offset&&t.push(\"([+-](?:[01]\\\\\\\\d|2[0-3]):[0-5]\\\\\\\\d)\");let r=`${jG({precision:e.precision,seconds:!0})}(?:${t.join(\"|\")})`,n=e.local?`${r}|${jG({precision:e.precision})}`:r;return new RegExp(`^${JUe}T(?:${n})$`)}function HA(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function jA(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var FG,VG,qG,GG,KG,ZG,JG,uxt,QG,Wb,lxt,dxt,fxt,YG,pxt,mxt,WUe,hxt,yxt,bxt,eK,tK,rK,nK,oK,iK,aK,sK,cK,zA,uK,mO,lK,hO,JUe,dK,mK,hK,yK,LA,Op,bK,gK,xK,vK,wK,EK,xxt,vxt,wxt,Ext,_xt,Sxt,Axt,kxt,Cxt,Txt,Ixt,Pxt,Rxt,Oxt,Bxt,Jb=x(()=>{u();je();FG=/^[cC][0-9a-z]{6,}$/,VG=/^[0-9a-z]+$/,qG=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,GG=/^[0-9a-vA-V]{20}$/,KG=/^[A-Za-z0-9]{27}$/,ZG=/^[a-zA-Z0-9_-]{21}$/;JG=/^P(?:(\\\\d+W)|(?!.*W)(?=\\\\d|T\\\\d)(\\\\d+Y)?(\\\\d+M)?(\\\\d+D)?(T(?=\\\\d)(\\\\d+H)?(\\\\d+M)?(\\\\d+([.,]\\\\d+)?S)?)?)$/,uxt=/^[-+]?P(?!$)(?:(?:[-+]?\\\\d+Y)|(?:[-+]?\\\\d+[.,]\\\\d+Y$))?(?:(?:[-+]?\\\\d+M)|(?:[-+]?\\\\d+[.,]\\\\d+M$))?(?:(?:[-+]?\\\\d+W)|(?:[-+]?\\\\d+[.,]\\\\d+W$))?(?:(?:[-+]?\\\\d+D)|(?:[-+]?\\\\d+[.,]\\\\d+D$))?(?:T(?=[\\\\d+-])(?:(?:[-+]?\\\\d+H)|(?:[-+]?\\\\d+[.,]\\\\d+H$))?(?:(?:[-+]?\\\\d+M)|(?:[-+]?\\\\d+[.,]\\\\d+M$))?(?:[-+]?\\\\d+(?:[.,]\\\\d+)?S)?)??$/,QG=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Wb=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,lxt=Wb(4),dxt=Wb(6),fxt=Wb(7),YG=/^(?:[A-Za-z0-9_\\'+\\\\-]+\\\\.)*[A-Za-z0-9_\\'+\\\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\\\-]*\\\\.)+[A-Za-z]{2,}$/,pxt=/^[a-zA-Z0-9.!#$%&\\'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,mxt=/^(([^<>()\\\\[\\\\]\\\\\\\\.,;:\\\\s@\"]+(\\\\.[^<>()\\\\[\\\\]\\\\\\\\.,;:\\\\s@\"]+)*)|(\".+\"))@((\\\\[[0-9]{1,3}\\\\.[0-9]{1,3}\\\\.[0-9]{1,3}\\\\.[0-9]{1,3}])|(([a-zA-Z\\\\-0-9]+\\\\.)+[a-zA-Z]{2,}))$/,WUe=/^[^\\\\s@\"]{1,64}@[^\\\\s@]{1,255}$/u,hxt=WUe,yxt=/^[a-zA-Z0-9.!#$%&\\'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,bxt=\"^(?=[\\\\\\\\s\\\\\\\\S]*[\\\\\\\\p{Extended_Pictographic}\\\\\\\\p{Regional_Indicator}\\\\\\\\u20E3])[\\\\\\\\p{Extended_Pictographic}\\\\\\\\p{Emoji_Component}]+$\";eK=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,tK=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,rK=e=>{let t=eu(e??\":\");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},nK=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\\\/([0-9]|[1-2][0-9]|3[0-2])$/,oK=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\\\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,iK=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,aK=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,sK=/^(?=.{1,253}\\\\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\\\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\\\\.?$/,cK=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\\\.)+[a-zA-Z]{2,63}$/,zA=/^https?$/,uK=/^\\\\+[1-9]\\\\d{6,14}$/,mO=/^\\\\d(?:[ -]?\\\\d){11,18}$/,lK=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,hO=/^[A-Z]{2}(?!00|01|99)\\\\d{2}[A-Z0-9]{11,30}$/,JUe=\"(?:(?:\\\\\\\\d\\\\\\\\d[2468][048]|\\\\\\\\d\\\\\\\\d[13579][26]|\\\\\\\\d\\\\\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\\\\\d|2[0-8])))\";dK=gxt(JUe);mK=/^[\\\\s\\\\S]{0,}$/,hK=e=>{let t=e?`[\\\\\\\\s\\\\\\\\S]{${e?.minimum??0},${e?.maximum??\"\"}}`:\"[\\\\\\\\s\\\\\\\\S]*\";return new RegExp(`^${t}$`)},yK=/^-?\\\\d+n?$/,LA=/^-?\\\\d+$/,Op=/^-?\\\\d+(?:\\\\.\\\\d+)?$/,bK=/^(?:true|false)$/i,gK=/^null$/i,xK=/^undefined$/i,vK=/^[^A-Z]*$/,wK=/^[^a-z]*$/,EK=/^[0-9a-fA-F]*$/;xxt=/^[0-9a-fA-F]{32}$/,vxt=HA(22,\"==\"),wxt=jA(22),Ext=/^[0-9a-fA-F]{40}$/,_xt=HA(27,\"=\"),Sxt=jA(27),Axt=/^[0-9a-fA-F]{64}$/,kxt=HA(43,\"=\"),Cxt=jA(43),Txt=/^[0-9a-fA-F]{96}$/,Ixt=HA(64,\"\"),Pxt=jA(64),Rxt=/^[0-9a-fA-F]{128}$/,Oxt=HA(86,\"==\"),Bxt=jA(86)});function bO(e,t,r){e.issues.length&&t.issues.push(...ks(r,e.issues))}var xn,_K,SK,yO,gO,xO,AK,kK,CK,TK,IK,PK,RK,OK,BK,Fw,MK,DK,NK,UK,$K,zK,LK,HK,jK,FK,vO=x(()=>{u();t0();Jb();je();xn=ue(\"$ZodCheck\",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),_K=e=>{let t=e.value;return!XR(t)&&t.size!==void 0},SK=e=>{let t=e.value;return!XR(t)&&t.length!==void 0},yO={number:\"number\",bigint:\"bigint\",object:\"date\"},gO=ue(\"$ZodCheckLessThan\",(e,t)=>{xn.init(e,t);let r=yO[typeof t.value];e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:yO[typeof n.value]??r,code:\"too_big\",maximum:typeof t.value==\"object\"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),xO=ue(\"$ZodCheckGreaterThan\",(e,t)=>{xn.init(e,t);let r=yO[typeof t.value];e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:yO[typeof n.value]??r,code:\"too_small\",minimum:typeof t.value==\"object\"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),AK=ue(\"$ZodCheckMultipleOf\",(e,t)=>{xn.init(e,t),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error(\"Cannot mix number and bigint in multiple_of check.\");(typeof r.value==\"bigint\"?t.value!==BigInt(0)&&r.value%t.value===BigInt(0):kA(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:\"not_multiple_of\",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),kK=ue(\"$ZodCheckNumberFormat\",(e,t)=>{xn.init(e,t),t.format=t.format||\"float64\";let r=t.format?.includes(\"int\"),n=r?\"int\":\"number\",[o,i]=IA[t.format];e._zod.check=c=>{let l=c.value;if(r){if(!Number.isInteger(l)){c.issues.push({expected:n,format:t.format,code:\"invalid_type\",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?c.issues.push({input:l,code:\"too_big\",maximum:Number.MAX_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:n,inclusive:!0,continue:!t.abort}):c.issues.push({input:l,code:\"too_small\",minimum:Number.MIN_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}l<o&&c.issues.push({origin:\"number\",input:l,code:\"too_small\",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),l>i&&c.issues.push({origin:\"number\",input:l,code:\"too_big\",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),CK=ue(\"$ZodCheckBigIntFormat\",(e,t)=>{xn.init(e,t);let[r,n]=PA[t.format];e._zod.check=o=>{let i=o.value;i<r&&o.issues.push({origin:\"bigint\",input:i,code:\"too_small\",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),i>n&&o.issues.push({origin:\"bigint\",input:i,code:\"too_big\",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}}),TK=ue(\"$ZodCheckMaxSize\",(e,t)=>{var r;xn.init(e,t),(r=e._zod.def).when??(r.when=_K),e._zod.check=n=>{let o=n.value;o.size<=t.maximum||n.issues.push({origin:OA(o),code:\"too_big\",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),IK=ue(\"$ZodCheckMinSize\",(e,t)=>{var r;xn.init(e,t),(r=e._zod.def).when??(r.when=_K),e._zod.check=n=>{let o=n.value;o.size>=t.minimum||n.issues.push({origin:OA(o),code:\"too_small\",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),PK=ue(\"$ZodCheckSizeEquals\",(e,t)=>{var r;xn.init(e,t),(r=e._zod.def).when??(r.when=_K),e._zod.check=n=>{let o=n.value,i=o.size;if(i===t.size)return;let c=i>t.size;n.issues.push({origin:OA(o),...c?{code:\"too_big\",maximum:t.size}:{code:\"too_small\",minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),RK=ue(\"$ZodCheckMaxLength\",(e,t)=>{var r;xn.init(e,t),(r=e._zod.def).when??(r.when=SK),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o==\"string\"&&i>t.maximum?Zb(o):i)<=t.maximum)return;let l=BA(o);n.issues.push({origin:l,code:\"too_big\",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),OK=ue(\"$ZodCheckMinLength\",(e,t)=>{var r;xn.init(e,t),(r=e._zod.def).when??(r.when=SK),e._zod.check=n=>{let o=n.value,i=o.length;if((typeof o==\"string\"&&i>=t.minimum&&i<t.minimum*2?Zb(o):i)>=t.minimum)return;let l=BA(o);n.issues.push({origin:l,code:\"too_small\",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),BK=ue(\"$ZodCheckLengthEquals\",(e,t)=>{var r;xn.init(e,t),(r=e._zod.def).when??(r.when=SK),e._zod.check=n=>{let o=n.value,i=o.length,c=typeof o==\"string\"&&i>=t.length&&i<=t.length*2?Zb(o):i;if(c===t.length)return;let l=BA(o),f=c>t.length;n.issues.push({origin:l,...f?{code:\"too_big\",maximum:t.length}:{code:\"too_small\",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Fw=ue(\"$ZodCheckStringFormat\",(e,t)=>{var r,n;xn.init(e,t),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:\"string\",code:\"invalid_format\",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),MK=ue(\"$ZodCheckRegex\",(e,t)=>{Fw.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:\"string\",code:\"invalid_format\",format:\"regex\",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),DK=ue(\"$ZodCheckLowerCase\",(e,t)=>{t.pattern??(t.pattern=vK),Fw.init(e,t)}),NK=ue(\"$ZodCheckUpperCase\",(e,t)=>{t.pattern??(t.pattern=wK),Fw.init(e,t)}),UK=ue(\"$ZodCheckIncludes\",(e,t)=>{xn.init(e,t);let r=eu(t.includes),n=new RegExp(typeof t.position==\"number\"?`^.{${t.position},}${r}`:r);t.pattern=n,e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:\"string\",code:\"invalid_format\",format:\"includes\",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),$K=ue(\"$ZodCheckStartsWith\",(e,t)=>{xn.init(e,t);let r=new RegExp(`^${eu(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:\"string\",code:\"invalid_format\",format:\"starts_with\",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),zK=ue(\"$ZodCheckEndsWith\",(e,t)=>{xn.init(e,t);let r=new RegExp(`.*${eu(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:\"string\",code:\"invalid_format\",format:\"ends_with\",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}});LK=ue(\"$ZodCheckProperty\",(e,t)=>{xn.init(e,t),e._zod.check=r=>{let n=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(o=>bO(o,r,t.property));bO(n,r,t.property)}}),HK=ue(\"$ZodCheckProperties\",(e,t)=>{xn.init(e,t),MA(e,Symbol.iterator,function*(){yield e});let r;e._zod.check=n=>{if(n.value==null){n.issues.push({expected:\"object\",code:\"invalid_type\",input:n.value,inst:e});return}r??(r=Reflect.ownKeys(t.shape).map(c=>[c,t.shape[c]]));let o=n.value,i;for(let[c,l]of r){let f=l._zod.run({value:o[c],issues:[]},{});f instanceof Promise?(i??(i=[]),i.push(f.then(p=>bO(p,n,c)))):bO(f,n,c)}if(i)return Promise.all(i).then(()=>{})}}),jK=ue(\"$ZodCheckMimeType\",(e,t)=>{xn.init(e,t);let r=new Set(t.mime);e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:\"invalid_value\",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}}),FK=ue(\"$ZodCheckOverwrite\",(e,t)=>{xn.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}})});var Qb,wO=x(()=>{u();Qb=class{constructor(t=[],r={}){this.content=[],this.indent=0,this.args=t,this.closed=r}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t==\"function\"){t(this,{execution:\"sync\"}),t(this,{execution:\"async\"});return}let n=t.split(`\\n`).filter(c=>c),o=Math.min(...n.map(c=>c.length-c.trimStart().length)),i=n.map(c=>c.slice(o)).map(c=>\" \".repeat(this.indent*2)+c);for(let c of i)this.content.push(c)}compile(){let t=Function,r=this?.content??[\"\"];return new t(...Object.keys(this.closed),`return function (${this.args.join(\", \")}) {\\n${r.join(`\\n`)}\\n};`)(...Object.values(this.closed))}}});var VK,qK=x(()=>{u();VK={major:4,minor:6,patch:7}});async function Mxt(e,t){let r={async:!0};return p$e(await e._zod.run({value:t,issues:[]},r),r)}function kO(e){return{validate:t=>{let r={async:!1};try{let n=e._zod.run({value:t,issues:[]},r);if(!(n instanceof Promise))return p$e(n,r)}catch{}return Mxt(e,t)},vendor:\"zod\",version:1}}function QK(e){try{return typeof URL<\"u\"&&typeof URL.canParse==\"function\"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function CO(e,t){return!(\"normalize\"in t)&&!(\"hostname\"in t)&&!(\"protocol\"in t)?QK(e)||FA:m$e(e,t)}function m$e(e,t){if(!t.normalize&&t.protocol?.source===zA.source&&!/^https?:\\\\/\\\\//i.test(e))return JK;try{if(typeof URL<\"u\"){let r=URL;if(typeof r.parse==\"function\")return r.parse(e)??FA}return new URL(e)}catch{return FA}}function VA(e){return e.replace(Dxt,\"\")}function TO(e,t){return t.lastIndex=0,t.test(e.hostname)}function IO(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(\":\")?e.protocol.slice(0,-1):e.protocol)}function qA(e){return Nxt.test(e)?QK(`http://[${e}]`):!1}function PO(e){let t=e.split(\"/\");if(t.length!==2)return!1;let[r,n]=t;if(!n)return!1;let o=Number(n);return`${o}`!==n||o<0||o>128?!1:qA(r)}function GA(e){if(e===\"\")return!0;if(/\\\\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}function OO(e){if(!KA.test(e))return!1;let t=e.replace(/[-_]/g,n=>n===\"-\"?\"+\":\"/\"),r=t.padEnd(Math.ceil(t.length/4)*4,\"=\");return GA(r)}function $xt(e){let t=e.length,r=1,n=0;for(;t;){let o=e.charCodeAt(--t)-48;r^=1,n+=r?[0,2,4,6,8,1,3,5,7,9][o]:o}return n%10===0}function BO(e){return mO.test(e)?$xt(e.replace(Uxt,\"\")):!1}function zxt(e){let t=0,r=e.length;for(let n=4;n<r;n++){let o=e.charCodeAt(n);t=(o>=65?t*100+(o-55):t*10+(o-48))%97}for(let n=0;n<4;n++){let o=e.charCodeAt(n);t=(o>=65?t*100+(o-55):t*10+(o-48))%97}return t===1}function MO(e){return hO.test(e)?zxt(e):!1}function DO(e,t=null){try{let r=e.split(\".\");if(r.length!==3)return!1;let[n]=r;if(!n)return!1;let o=JSON.parse(atob(n));return!(\"typ\"in o&&o?.typ!==\"JWT\"||!o.alg||t&&(!(\"alg\"in o)||o.alg!==t))}catch{return!1}}function OZ(e,t){let r=Uw(e._zod.def.checks);if(!r.length)return;let n=Math.min(...r.map(i=>i[0])),o=e._zod.parse;e._zod.parse=(i,c)=>{let l=t(i.value);if(l>n&&!c?.skipChecks&&c?.direction!==\"backward\"){for(let[f,p]of Uw(e._zod.def.checks))if(l>f&&p._zod.def.when(i)){let h=i.issues.length;return p._zod.check(i),i.issues[h].continue=!1,RA(i.issues,h,e),i}}return o(i,c)}}function YUe(e,t,r){e.issues.length&&t.issues.push(...ks(r,e.issues)),t.value[r]=e.value}function AO(e,t,r,n,o,i){let c=r in n,l=i===\"optional\";if(!(!c&&l&&o===\"optional\")){if(e.issues.length){if(o!==void 0&&l&&!c)return;t.issues.push(...ks(r,e.issues))}if(!c&&o===void 0){e.issues.length||t.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:void 0,path:[r]});return}e.value===void 0?(c||o===\"defaulted\"&&!l)&&(t.value[r]=void 0):t.value[r]=e.value}}function h$e(e){let t=Object.keys(e.shape),r=Object.getOwnPropertySymbols(e.shape),n=r.length?r:Fxt,o=n.length?[...t,...n]:t;for(let c of o)if(!e.shape?.[c]?._zod?.traits?.has(\"$ZodType\"))throw new Error(`Invalid element at key \"${String(c)}\": expected a Zod schema`);let i=TG(e.shape);return{...e,allKeys:o,symbolKeys:n,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function y$e(e,t,r,n,o,i,c){let l=[],f=o.keySet,p=o.catchall._zod,h=p.def.type,y=p.optin,w=p.optout,E=0;for(let A in t){if(c&&r.issues.length!==E){if(Na(r,E))break;E=r.issues.length}if(f.has(A))continue;if(A===\"__proto__\"){h===\"never\"&&l.push(A);continue}if(h===\"never\"){l.push(A);continue}let C=p.run({value:t[A],issues:[]},n);C instanceof Promise?e.push(C.then(R=>AO(R,r,A,t,y,w))):AO(C,r,A,t,y,w)}return l.length&&r.issues.push({code:\"unrecognized_keys\",keys:l,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>r):r}function XUe(e,t,r,n){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let o=e.filter(i=>!Na(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:\"invalid_union\",input:t.value,inst:r,errors:e.map(i=>i.issues.map(c=>Cs(c,n,yo())))}),t)}function e$e(e,t,r,n){let o=[];for(let i=0;i<e.length;i++)e[i].issues.length===0&&o.push(i);return o.length===1?(t.value=e[o[0]].value,t):(o.length===0?t.issues.push({code:\"invalid_union\",input:t.value,inst:r,errors:e.map(i=>i.issues.map(c=>Cs(c,n,yo())))}):t.issues.push({code:\"invalid_union\",input:t.value,inst:r,errors:[],inclusive:!1,matches:o}),t)}function NZ(e,t){let r=e._zod,n=r.bag.optionsMap;n||(n=g$e(r.def),r.bag.optionsMap=n);let o=n.get(t);if(o===null)throw new Error(`Ambiguous discriminator value \"${String(t)}\"`);return o}function g$e(e){let t=new Map;for(let r of e.options){let n=r._zod.propValues?.[e.discriminator];if(!n||n.size===0)throw new Error(`Invalid discriminated union option at index \"${e.options.indexOf(r)}\"`);for(let o of n)if(t.has(o)){if(o!==void 0)throw new Error(`Duplicate discriminator value \"${String(o)}\"`);t.set(o,null)}else t.set(o,r)}return t}function Vw(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Xc(e)&&Xc(t)){let r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),o={...e,...t};Object.prototype.hasOwnProperty.call(o,\"__proto__\")&&delete o.__proto__;for(let i of n){if(i===\"__proto__\")continue;let c=Vw(e[i],t[i]);if(!c.valid)return{valid:!1,mergeErrorPath:[i,...c.mergeErrorPath]};o[i]=c.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let n=0;n<e.length;n++){let o=e[n],i=t[n],c=Vw(o,i);if(!c.valid)return{valid:!1,mergeErrorPath:[n,...c.mergeErrorPath]};r.push(c.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function t$e(e,t,r){let n=new Map,o,i=new Map,c=(p,h)=>{let y;if(p.code===\"unrecognized_keys\"&&!p.path?.length)o??(o=p),y=p.keys;else if(p.code===\"invalid_key\"&&p.origin===\"record\"&&p.path?.length===1){let w=String(p.path[0]);i.has(w)||i.set(w,p),y=[w]}else return!1;for(let w of y)n.has(w)||n.set(w,{}),n.get(w)[h]=!0;return!0};for(let p of t.issues)c(p,\"l\")||e.issues.push(p);for(let p of r.issues)c(p,\"r\")||e.issues.push(p);let l=[...n].filter(([,p])=>p.l&&p.r).map(([p])=>p);if(l.length){let p=o?l.filter(h=>o.keys.includes(h)):[];p.length&&e.issues.push({...o,keys:p});for(let h of l)!p.includes(h)&&i.has(h)&&e.issues.push(i.get(h))}let f=Vw(t.value,r.value);if(!f.valid){if(Na(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(f.mergeErrorPath)}`)}return e.value=f.data,e}function r$e(e,t){for(let r=e.length-1;r>=0;r--)if(!(t===\"optin\"?e[r]._zod.optin!==void 0:e[r]._zod.optout===\"optional\"))return r+1;return 0}function n$e(e,t,r){e.issues.length&&t.issues.push(...ks(r,e.issues)),t.value[r]=e.value}function o$e(e,t,r,n,o){for(let i=0;i<r.length;i++){let c=e[i],l=i<n.length;if(!l&&i>=o&&r[i]._zod.optin===\"optional\"){t.value.length=i;break}if(c.issues.length){if(!l&&i>=o){t.value.length=i;break}t.issues.push(...ks(i,c.issues))}t.value[i]=c.value}for(let i=t.value.length-1;i>=n.length&&(r[i]._zod.optout===\"optional\"&&t.value[i]===void 0);i--)t.value.length=i;return t}function i$e(e,t,r,n,o,i,c){e.issues.length&&(TA.has(typeof n)?r.issues.push(...ks(n,e.issues)):r.issues.push({code:\"invalid_key\",origin:\"map\",input:o,inst:i,issues:e.issues.map(l=>Cs(l,c,yo()))})),t.issues.length&&(TA.has(typeof n)?r.issues.push(...ks(n,t.issues)):r.issues.push({origin:\"map\",code:\"invalid_element\",input:o,inst:i,key:n,issues:t.issues.map(l=>Cs(l,c,yo()))})),r.value.set(e.value,t.value)}function a$e(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function s$e(e,t){return e.value=t.issues.length?void 0:t.value,e}function c$e(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function u$e(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:e.value,inst:t}),e}function l$e(e,t,r,n){return t.issues.length?(e.value=r.catchValue({...t,value:e.value,error:{issues:t.issues.map(o=>Cs(o,n,yo()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}function EO(e,t,r){return e.issues.some(n=>n.code!==\"unrecognized_keys\")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}function _O(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||\"forward\")===\"forward\"){let o=t.transform(e.value,e);return o instanceof Promise?o.then(i=>SO(e,i,t.out,r)):SO(e,o,t.out,r)}else{let o=t.reverseTransform(e.value,e);return o instanceof Promise?o.then(i=>SO(e,i,t.in,r)):SO(e,o,t.in,r)}}function SO(e,t,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},n)}function d$e(e){return e.memo||(e.value=Object.freeze(e.value)),e}function Vxt(e){let t=e._zod.def,r=t.pattern,n=!!t.format?.includes(\"int\"),o,i;for(let l of t.checks??[]){let f=l._zod.def;f.pattern&&(r=f.pattern),n||(n=!!f.format?.includes(\"int\"));let p=f.minimum??f.length,h=f.maximum??f.length;p!==void 0&&(o===void 0||p>o)&&(o=p),h!==void 0&&(i===void 0||h<i)&&(i=h)}if(r)return r.source;if(o!==void 0&&i!==void 0&&o>i)return\"(?!)\";if(o!==void 0||i!==void 0)return hK({minimum:o,maximum:i}).source;let c=e._zod.pattern;return(n&&c===Op?LA:c)?.source}function GK(e){let t=e._zod.def,r=e._zod.pattern?.source,n=t.innerType??e._zod.innerType;if(n){let o=n._zod.pattern?.source,i=GK(n);return r&&o&&i&&i!==o?r.replace(Rp(o),()=>Rp(i)):r}if(t.options){let o=t.options.map(GK);if(o.every(Boolean))return`^(${o.map(i=>Rp(i)).join(\"|\")})$`}return Vxt(e)}function f$e(e,t,r,n){if(!e){let o={code:\"custom\",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push($w(o))}}var kt,p$e,Yb,Yr,KK,ZK,WK,JK,FA,Dxt,YK,XK,eZ,tZ,rZ,nZ,oZ,iZ,aZ,sZ,cZ,uZ,lZ,Nxt,dZ,fZ,pZ,mZ,RO,hZ,KA,yZ,bZ,Uxt,gZ,xZ,vZ,wZ,NO,EZ,ZA,UO,_Z,SZ,AZ,kZ,CZ,TZ,IZ,PZ,RZ,Lxt,Hxt,jxt,BZ,Fxt,b$e,MZ,WA,DZ,UZ,$Z,$O,zZ,LZ,HZ,jZ,FZ,VZ,qZ,zO,GZ,KZ,ZZ,WZ,JZ,QZ,YZ,XZ,LO,JA,eW,tW,rW,nW,oW,QA,iW,qw=x(()=>{u();vO();t0();wO();HG();Jb();je();qK();je();kt=ue(\"$ZodType\",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=VK;let n=e._zod.def.checks,o=e._zod.traits.has(\"$ZodCheck\")?[e,...n??[]]:n?.length?[...n]:[];for(let i of o)for(let c of i._zod.onattach)c(e);if(o.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(l,f,p)=>{if(l.memo)return l;let h=Na(l),y;for(let w of f){if(w._zod.def.when){if(IG(l)||!w._zod.def.when(l))continue}else if(h)continue;let E=l.issues.length,A=w._zod.check(l);if(A instanceof Promise&&p?.async===!1)throw new Ts;if(y||A instanceof Promise)y=(y??Promise.resolve()).then(async()=>{await A,l.issues.length!==E&&(RA(l.issues,E,e),h||(h=Na(l,E)))});else{if(l.issues.length===E)continue;RA(l.issues,E,e),h||(h=Na(l,E))}}return y?y.then(()=>l):l},c=(l,f,p)=>{if(Na(l))return l.aborted=!0,l;let h=i(f,o,p);if(h instanceof Promise){if(p.async===!1)throw new Ts;return h.then(y=>e._zod.parse(y,p))}return e._zod.parse(h,p)};e._zod.run=(l,f)=>{if(f.skipChecks)return e._zod.parse(l,f);if(f.direction===\"backward\"){let h=e._zod.parse({value:l.value,issues:[]},{...f,skipChecks:!0});return h instanceof Promise?h.then(y=>c(y,l,f)):c(h,l,f)}let p=e._zod.parse(l,f);if(p instanceof Promise){if(f.async===!1)throw new Ts;return p.then(h=>i(h,o,f))}return i(p,o,f)}}},{get\"~standard\"(){return MA(this,\"~standard\",kO(this))},set\"~standard\"(e){e0(this,\"~standard\",e)}}),p$e=(e,t)=>e.issues.length?{issues:e.issues.map(r=>Cs(r,t,yo()))}:{value:e.value};Yb=ue(\"$ZodString\",(e,t)=>{kt.init(e,t),e._zod.pattern=t.pattern??mK,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value==\"string\"||r.issues.push({expected:\"string\",code:\"invalid_type\",input:r.value,inst:e}),r}}),Yr=ue(\"$ZodStringFormat\",(e,t)=>{Fw.init(e,t),Yb.init(e,t)}),KK=ue(\"$ZodGUID\",(e,t)=>{t.pattern??(t.pattern=QG),Yr.init(e,t)}),ZK=ue(\"$ZodUUID\",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: \"${t.version}\"`);t.pattern??(t.pattern=Wb(n))}else t.pattern??(t.pattern=Wb());Yr.init(e,t)}),WK=ue(\"$ZodEmail\",(e,t)=>{t.pattern??(t.pattern=YG),Yr.init(e,t)}),JK=1,FA=2;Dxt=/[\\\\t\\\\n\\\\r]/g;YK=ue(\"$ZodURL\",(e,t)=>{Yr.init(e,t),e._zod.check=r=>{try{let n=r.value.trim(),o=CO(n,t);if(o===JK){r.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid URL format\",input:r.value,inst:e,continue:!t.abort});return}if(o===FA){r.issues.push({code:\"invalid_format\",format:\"url\",input:r.value,inst:e,continue:!t.abort});return}if(o===!0){r.value=VA(n);return}t.hostname&&!TO(o,t.hostname)&&r.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid hostname\",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort}),t.protocol&&!IO(o,t.protocol)&&r.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid protocol\",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort}),r.value=t.normalize?o.href:VA(n);return}catch{r.issues.push({code:\"invalid_format\",format:\"url\",input:r.value,inst:e,continue:!t.abort})}}}),XK=ue(\"$ZodEmoji\",(e,t)=>{t.pattern??(t.pattern=XG()),Yr.init(e,t)}),eZ=ue(\"$ZodNanoID\",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?ZG:WG(t.length)),Yr.init(e,t)}),tZ=ue(\"$ZodCUID\",(e,t)=>{t.pattern??(t.pattern=FG),Yr.init(e,t)}),rZ=ue(\"$ZodCUID2\",(e,t)=>{t.pattern??(t.pattern=VG),Yr.init(e,t)}),nZ=ue(\"$ZodULID\",(e,t)=>{t.pattern??(t.pattern=qG),Yr.init(e,t)}),oZ=ue(\"$ZodXID\",(e,t)=>{t.pattern??(t.pattern=GG),Yr.init(e,t)}),iZ=ue(\"$ZodKSUID\",(e,t)=>{t.pattern??(t.pattern=KG),Yr.init(e,t)}),aZ=ue(\"$ZodISODateTime\",(e,t)=>{t.pattern??(t.pattern=pK(t)),Yr.init(e,t)}),sZ=ue(\"$ZodISODate\",(e,t)=>{t.pattern??(t.pattern=dK),Yr.init(e,t)}),cZ=ue(\"$ZodISOTime\",(e,t)=>{t.pattern??(t.pattern=fK(t)),Yr.init(e,t)}),uZ=ue(\"$ZodISODuration\",(e,t)=>{t.pattern??(t.pattern=JG),Yr.init(e,t)}),lZ=ue(\"$ZodIPv4\",(e,t)=>{t.pattern??(t.pattern=eK),Yr.init(e,t)}),Nxt=/^[0-9a-fA-F:.]+$/;dZ=ue(\"$ZodIPv6\",(e,t)=>{t.pattern??(t.pattern=tK),Yr.init(e,t),e._zod.check=r=>{qA(r.value)||r.issues.push({code:\"invalid_format\",format:\"ipv6\",input:r.value,inst:e,continue:!t.abort})}}),fZ=ue(\"$ZodMAC\",(e,t)=>{t.pattern??(t.pattern=rK(t.delimiter)),Yr.init(e,t)}),pZ=ue(\"$ZodCIDRv4\",(e,t)=>{t.pattern??(t.pattern=nK),Yr.init(e,t)});mZ=ue(\"$ZodCIDRv6\",(e,t)=>{t.pattern??(t.pattern=oK),Yr.init(e,t),e._zod.check=r=>{PO(r.value)||r.issues.push({code:\"invalid_format\",format:\"cidrv6\",input:r.value,inst:e,continue:!t.abort})}});RO=/^[0-9a-zA-Z+/]*={0,2}$/,hZ=ue(\"$ZodBase64\",(e,t)=>{t.pattern??(t.pattern=RO),Yr.init(e,t),e._zod.check=r=>{GA(r.value)||r.issues.push({code:\"invalid_format\",format:\"base64\",input:r.value,inst:e,continue:!t.abort})}}),KA=/^[A-Za-z0-9_-]*$/;yZ=ue(\"$ZodBase64URL\",(e,t)=>{t.pattern??(t.pattern=KA),Yr.init(e,t),e._zod.check=r=>{OO(r.value)||r.issues.push({code:\"invalid_format\",format:\"base64url\",input:r.value,inst:e,continue:!t.abort})}}),bZ=ue(\"$ZodE164\",(e,t)=>{t.pattern??(t.pattern=uK),Yr.init(e,t)}),Uxt=/[- ]/g;gZ=ue(\"$ZodCreditCard\",(e,t)=>{t.pattern??(t.pattern=mO),Yr.init(e,t),e._zod.check=r=>{BO(r.value)||r.issues.push({code:\"invalid_format\",format:\"credit_card\",input:r.value,inst:e,continue:!t.abort})}});xZ=ue(\"$ZodIBAN\",(e,t)=>{t.pattern??(t.pattern=hO),Yr.init(e,t),e._zod.check=r=>{MO(r.value)||r.issues.push({code:\"invalid_format\",format:\"iban\",input:r.value,inst:e,continue:!t.abort})}});vZ=ue(\"$ZodJWT\",(e,t)=>{Yr.init(e,t),e._zod.check=r=>{DO(r.value,t.alg)||r.issues.push({code:\"invalid_format\",format:\"jwt\",input:r.value,inst:e,continue:!t.abort})}}),wZ=ue(\"$ZodCustomStringFormat\",(e,t)=>{Yr.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:\"invalid_format\",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),NO=ue(\"$ZodNumber\",(e,t)=>{kt.init(e,t),e._zod.pattern=Op,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let o=r.value;if(typeof o==\"number\"&&!Number.isNaN(o)&&Number.isFinite(o))return r;let i=typeof o==\"number\"?Number.isNaN(o)?\"NaN\":Number.isFinite(o)?void 0:String(o):void 0;return r.issues.push({expected:\"number\",code:\"invalid_type\",input:o,inst:e,...i?{received:i}:{}}),r}}),EZ=ue(\"$ZodNumberFormat\",(e,t)=>{kK.init(e,t),NO.init(e,t)}),ZA=ue(\"$ZodBoolean\",(e,t)=>{kt.init(e,t),e._zod.pattern=bK,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let o=r.value;return typeof o==\"boolean\"||r.issues.push({expected:\"boolean\",code:\"invalid_type\",input:o,inst:e}),r}}),UO=ue(\"$ZodBigInt\",(e,t)=>{kt.init(e,t),e._zod.pattern=yK,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value==\"bigint\"||r.issues.push({expected:\"bigint\",code:\"invalid_type\",input:r.value,inst:e}),r}}),_Z=ue(\"$ZodBigIntFormat\",(e,t)=>{CK.init(e,t),UO.init(e,t)}),SZ=ue(\"$ZodSymbol\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o==\"symbol\"||r.issues.push({expected:\"symbol\",code:\"invalid_type\",input:o,inst:e}),r}}),AZ=ue(\"$ZodUndefined\",(e,t)=>{kt.init(e,t),e._zod.pattern=xK,e._zod.values=new Set([void 0]),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>\"u\"||r.issues.push({expected:\"undefined\",code:\"invalid_type\",input:o,inst:e}),r}}),kZ=ue(\"$ZodNull\",(e,t)=>{kt.init(e,t),e._zod.pattern=gK,e._zod.values=new Set([null]),e._zod.parse=(r,n)=>{let o=r.value;return o===null||r.issues.push({expected:\"null\",code:\"invalid_type\",input:o,inst:e}),r}}),CZ=ue(\"$ZodAny\",(e,t)=>{kt.init(e,t),e._zod.parse=r=>r}),TZ=ue(\"$ZodUnknown\",(e,t)=>{kt.init(e,t),e._zod.parse=r=>r}),IZ=ue(\"$ZodNever\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:\"never\",code:\"invalid_type\",input:r.value,inst:e}),r)}),PZ=ue(\"$ZodVoid\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return typeof o>\"u\"||r.issues.push({expected:\"void\",code:\"invalid_type\",input:o,inst:e}),r}}),RZ=ue(\"$ZodDate\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let o=r.value,i=o instanceof Date;return i&&!Number.isNaN(o.getTime())||r.issues.push({expected:\"date\",code:\"invalid_type\",input:o,...i?{received:\"Invalid Date\"}:{},inst:e}),r}});Lxt=e=>Array.isArray(e)?e.length:-1,Hxt=e=>e instanceof Map?e.size:-1,jxt=e=>e instanceof Set?e.size:-1;BZ=ue(\"$ZodArray\",(e,t)=>{kt.init(e,t);let r=pi.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:\"array\",code:\"invalid_type\",input:i,inst:e}),n;n.value=r?r.alloc(e,n,Array(i.length),o):Array(i.length);let c=[],l=o?.abortEarly;for(let f=0;f<i.length;f++){let p=i[f],h=t.element._zod.run({value:p,issues:[]},o);if(h instanceof Promise)c.push(h.then(y=>YUe(y,n,f)));else if(YUe(h,n,f),l&&h.issues.length!==0&&Na(h))break}return c.length?Promise.all(c).then(()=>n):n},OZ(e,Lxt)});Fxt=[];b$e=ue(\"$ZodObject\",(e,t)=>{kt.init(e,t);let r=Object.getOwnPropertyDescriptor(t,\"shape\"),n=r?.get?r.get.raw:t.shape??{};if(n){let p=()=>{let h={...n};return Object.defineProperty(t,\"shape\",{value:h}),p.raw=h,h};p.raw=n,Object.defineProperty(t,\"shape\",{get:p})}let o=Dw(()=>h$e(t));Kt(e,\"propValues\",p=>{let h=p.def.shape,y={};for(let w in h){let E=h[w]._zod;if(E.values){Object.prototype.hasOwnProperty.call(y,w)||Oi(y,w,new Set);for(let A of E.values)y[w].add(A);E.optin!==void 0&&y[w].add(void 0)}}return y});let i=Kb,c=t.catchall,l,f=pi.memoizer;f?.attach(e),e._zod.parse=(p,h)=>{l??(l=o.value);let y=p.value;if(!i(y))return p.issues.push({expected:\"object\",code:\"invalid_type\",input:y,inst:e}),p;p.value=f?f.alloc(e,p,{},h):{};let w=[],E=l.shape,A=h?.abortEarly,C=p.issues.length;for(let R of l.allKeys){if(A&&p.issues.length!==C){if(Na(p,C))break;C=p.issues.length}if(R===\"__proto__\")continue;let M=E[R],D=M._zod.optin,$=M._zod.optout,H=M._zod.run({value:y[R],issues:[]},h);H instanceof Promise?w.push(H.then(V=>AO(V,p,R,y,D,$))):AO(H,p,R,y,D,$)}return c?y$e(w,y,p,h,o.value,e,A===!0):w.length?Promise.all(w).then(()=>p):p}}),MZ=ue(\"$ZodObjectJIT\",(e,t)=>{b$e.init(e,t);let r=e._zod.parse,n=Dw(()=>h$e(t)),o=pi.memoizer,i=E=>{let A=n.value,C=A.symbolKeys,R=new Qb([\"payload\",\"ctx\"],{shape:E,inst:e,memo:o,syms:C}),M=V=>`shape[${V}]._zod.run({ value: input[${V}], issues: [] }, ctx)`,D=(V,G)=>`\\n          let ${V}_ab = false;\\n          for (let i = 0; i < ${V}.issues.length; i++) {\\n            const iss = ${V}.issues[i];\\n            iss.path = iss.path ? [${G}, ...iss.path] : [${G}];\\n            payload.issues.push(iss);\\n            if (iss.continue !== true) ${V}_ab = true;\\n          }\\n          if (${V}_ab && ctx && ctx.abortEarly) {\\n            payload.value = newResult;\\n            return payload;\\n          }`;R.write(\"const input = payload.value;\");let $=Object.create(null),H=0;for(let V of A.allKeys)$[V]=`key_${H++}`;R.write(o?\"const newResult = memo.alloc(inst, payload, {}, ctx);\":\"const newResult = {};\");for(let V of A.allKeys){if(V===\"__proto__\")continue;let G=$[V],K=typeof V==\"symbol\"?`syms[${C.indexOf(V)}]`:Da(V),Q=`${K} in input`,X=E[V],Y=X?._zod?.optin,fe=Y!==void 0,ce=X?._zod?.optout===\"optional\";if(R.write(`const ${G} = ${M(K)};`),fe&&ce){let N=Y===\"optional\"?`${G}_present`:`${G}.value !== undefined || ${G}_present`;R.write(`\\n        const ${G}_present = ${Q};\\n        if (!${G}.issues.length || ${G}_present) {\\n          if (${G}.issues.length) {${D(G,K)}\\n          }\\n\\n          if (${N}) {\\n            newResult[${K}] = ${G}.value;\\n          }\\n        }\\n\\n      `)}else fe?(R.write(`\\n        if (${G}.issues.length) {${D(G,K)}\\n        }\\n      `),Y===\"defaulted\"?R.write(`newResult[${K}] = ${G}.value;`):R.write(`\\n        if (${G}.value !== undefined || ${Q}) {\\n          newResult[${K}] = ${G}.value;\\n        }\\n      `)):R.write(`\\n        const ${G}_present = ${Q};\\n        if (${G}.issues.length) {${D(G,K)}\\n        }\\n        if (!${G}_present && !${G}.issues.length) {\\n          payload.issues.push({\\n            code: \"invalid_type\",\\n            expected: \"nonoptional\",\\n            input: undefined,\\n            path: [${K}]\\n          });\\n          if (ctx && ctx.abortEarly) {\\n            payload.value = newResult;\\n            return payload;\\n          }\\n        }\\n\\n        if (${G}_present) {\\n          newResult[${K}] = ${G}.value;\\n        }\\n\\n      `)}return R.write(\"payload.value = newResult;\"),R.write(\"return payload;\"),R.compile()},c,l=Kb,f=!pi.jitless,h=f&&kG.value,y=t.catchall,w;e._zod.parse=(E,A)=>{w??(w=n.value);let C=E.value;return l(C)?f&&h&&A?.async===!1&&A.jitless!==!0?(c||(c=i(t.shape)),E=c(E,A),y?y$e([],C,E,A,w,e,A?.abortEarly===!0):E):r(E,A):(E.issues.push({expected:\"object\",code:\"invalid_type\",input:C,inst:e}),E)}});WA=ue(\"$ZodUnion\",(e,t)=>{kt.init(e,t),Kt(e,\"optin\",n=>n.def.options.some(o=>o._zod.optin===\"defaulted\")?\"defaulted\":n.def.options.some(o=>o._zod.optin!==void 0)?\"optional\":void 0),Kt(e,\"optout\",n=>n.def.options.some(o=>o._zod.optout===\"optional\")?\"optional\":void 0),Kt(e,\"values\",n=>{if(n.def.options.every(o=>o._zod.values))return new Set(n.def.options.flatMap(o=>Array.from(o._zod.values)))}),Kt(e,\"pattern\",n=>{if(n.def.options.every(o=>o._zod.pattern)){let o=n.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>Rp(i.source)).join(\"|\")})$`)}});let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,c=[];for(let l of t.options){let f=l._zod.run({value:n.value,issues:[]},o);if(f instanceof Promise)c.push(f),i=!0;else{if(f.issues.length===0)return f;c.push(f)}}return i?Promise.all(c).then(l=>XUe(l,n,e,o)):XUe(c,n,e,o)}});DZ=ue(\"$ZodXor\",(e,t)=>{WA.init(e,t),t.inclusive=!1;let r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(n,o)=>{if(r)return r(n,o);let i=!1,c=[];for(let l of t.options){let f=l._zod.run({value:n.value,issues:[]},o);f instanceof Promise?(c.push(f),i=!0):c.push(f)}return i?Promise.all(c).then(l=>e$e(l,n,e,o)):e$e(c,n,e,o)}});UZ=ue(\"$ZodDiscriminatedUnion\",(e,t)=>{t.inclusive=!1,WA.init(e,t);let r=e._zod.parse;Kt(e,\"propValues\",o=>{let i={},c=0;for(let l of o.def.options){let f=l._zod.propValues;if(!f||Object.keys(f).length===0)throw new Error(`Invalid discriminated union option at index \"${o.def.options.indexOf(l)}\"`);f[o.def.discriminator]?.has(void 0)&&c++;for(let[p,h]of Object.entries(f)){Object.prototype.hasOwnProperty.call(i,p)||Oi(i,p,new Set);for(let y of h)i[p].add(y)}}return!o.def.unionFallback&&c>1&&i[o.def.discriminator]?.delete(void 0),i}),t.options.forEach((o,i)=>{let c=Nw(o._zod.def);if(c&&!Object.prototype.hasOwnProperty.call(c,t.discriminator))throw new Error(`Invalid discriminated union option at index \"${i}\"`)});let n=Dw(()=>g$e(t));e._zod.parse=(o,i)=>{let c=o.value;if(!Kb(c))return o.issues.push({code:\"invalid_type\",expected:\"object\",input:c,inst:e}),o;let l=c?.[t.discriminator],f=n.value.get(l);return f&&(l!==void 0||i.direction!==\"backward\")?f._zod.run(o,i):t.unionFallback||i.direction===\"backward\"?r(o,i):(o.issues.push({code:\"invalid_union\",errors:[],note:\"No matching discriminator\",discriminator:t.discriminator,options:Array.from(n.value.keys()).filter(p=>n.value.get(p)!==null),input:c,path:[t.discriminator],inst:e}),o)}}),$Z=ue(\"$ZodIntersection\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>{let o=r.value,i=t.left._zod.run({value:o,issues:[]},n),c=t.right._zod.run({value:o,issues:[]},n);return i instanceof Promise||c instanceof Promise?Promise.all([i,c]).then(([f,p])=>t$e(r,f,p)):t$e(r,i,c)}});$O=ue(\"$ZodTuple\",(e,t)=>{kt.init(e,t);let r=t.items,n=pi.memoizer;n?.attach(e),e._zod.parse=(o,i)=>{let c=o.value;if(!Array.isArray(c))return o.issues.push({input:c,inst:e,expected:\"tuple\",code:\"invalid_type\"}),o;o.value=n?n.alloc(e,o,[],i):[];let l=[],f=r$e(r,\"optin\"),p=r$e(r,\"optout\");if(!t.rest){if(c.length<f)return o.issues.push({code:\"too_small\",minimum:f,inclusive:!0,input:c,inst:e,origin:\"array\"}),o;c.length>r.length&&o.issues.push({code:\"too_big\",maximum:r.length,inclusive:!0,input:c,inst:e,origin:\"array\"})}let h=new Array(r.length),y=t.rest?i?.abortEarly:void 0,w=!1;for(let E=0;E<r.length;E++){let A=r[E]._zod.run({value:c[E],issues:[]},i);A instanceof Promise?l.push(A.then(C=>{h[E]=C})):(h[E]=A,y&&!w&&A.issues.length&&(w=Na(A)))}if(t.rest&&!w){let E=r.length-1,A=c.slice(r.length),C=o.issues.length;for(let R of A){if(y&&o.issues.length!==C){if(Na(o,C))break;C=o.issues.length}E++;let M=t.rest._zod.run({value:R,issues:[]},i);M instanceof Promise?l.push(M.then(D=>n$e(D,o,E))):n$e(M,o,E)}}return l.length?Promise.all(l).then(()=>o$e(h,o,r,c,p)):o$e(h,o,r,c,p)}});zZ=ue(\"$ZodRecord\",(e,t)=>{kt.init(e,t);let r=pi.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!Xc(i))return n.issues.push({expected:\"record\",code:\"invalid_type\",input:i,inst:e}),n;let c=[],l=t.keyType._zod.values;if(l&&!t.partial){n.value=r?r.alloc(e,n,{},o):{};let f=new Set;for(let h of l)if(typeof h==\"string\"||typeof h==\"number\"||typeof h==\"symbol\"){if(f.add(typeof h==\"number\"?h.toString():h),h===\"__proto__\")continue;let y=t.keyType._zod.run({value:h,issues:[]},o);if(y instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(y.issues.length){n.issues.push({code:\"invalid_key\",origin:\"record\",issues:y.issues.map(A=>Cs(A,o,yo())),input:h,path:[h],inst:e});continue}let w=y.value;if(w===\"__proto__\")continue;let E=t.valueType._zod.run({value:i[h],issues:[]},o);E instanceof Promise?c.push(E.then(A=>{A.issues.length&&n.issues.push(...ks(h,A.issues)),n.value[w]=A.value})):(E.issues.length&&n.issues.push(...ks(h,E.issues)),n.value[w]=E.value)}let p;for(let h in i)if(!f.has(h))if(t.mode===\"loose\"){if(h===\"__proto__\")continue;n.value[h]=i[h]}else p=p??[],p.push(h);p&&p.length>0&&n.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:p,continue:!0})}else{n.value=r?r.alloc(e,n,{},o):{};let f;for(let p of Reflect.ownKeys(i)){if(p===\"__proto__\"||!Object.prototype.propertyIsEnumerable.call(i,p))continue;let h=t.keyType._zod.run({value:p,issues:[]},o);if(h instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(typeof p==\"string\"&&Op.test(p)&&h.issues.length){let A=t.keyType._zod.run({value:Number(p),issues:[]},o);if(A instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");A.issues.length===0&&(h=A)}if(h.issues.length){t.mode===\"loose\"?n.value[p]=i[p]:l?(f=f??[],f.push(p)):n.issues.push({code:\"invalid_key\",origin:\"record\",issues:h.issues.map(A=>Cs(A,o,yo())),input:p,path:[p],inst:e});continue}let w=h.value;if(w===\"__proto__\")continue;let E=t.valueType._zod.run({value:i[p],issues:[]},o);E instanceof Promise?c.push(E.then(A=>{A.issues.length&&n.issues.push(...ks(p,A.issues)),n.value[w]=A.value})):(E.issues.length&&n.issues.push(...ks(p,E.issues)),n.value[w]=E.value)}f&&f.length>0&&n.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:f,continue:!0})}return c.length?Promise.all(c).then(()=>n):n}}),LZ=ue(\"$ZodMap\",(e,t)=>{kt.init(e,t);let r=pi.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:\"map\",code:\"invalid_type\",input:i,inst:e}),n;let c=[];n.value=r?r.alloc(e,n,new Map,o):new Map;let l=o?.abortEarly,f=n.issues.length;for(let[p,h]of i){if(l&&n.issues.length!==f){if(Na(n,f))break;f=n.issues.length}let y=t.keyType._zod.run({value:p,issues:[]},o),w=t.valueType._zod.run({value:h,issues:[]},o);y instanceof Promise||w instanceof Promise?c.push(Promise.all([y,w]).then(([E,A])=>{i$e(E,A,n,p,i,e,o)})):i$e(y,w,n,p,i,e,o)}return c.length?Promise.all(c).then(()=>n):n},OZ(e,Hxt)});HZ=ue(\"$ZodSet\",(e,t)=>{kt.init(e,t);let r=pi.memoizer;r?.attach(e),e._zod.parse=(n,o)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:\"set\",code:\"invalid_type\"}),n;let c=[];n.value=r?r.alloc(e,n,new Set,o):new Set;let l=o?.abortEarly,f=n.issues.length;for(let p of i){if(l&&n.issues.length!==f){if(Na(n,f))break;f=n.issues.length}let h=t.valueType._zod.run({value:p,issues:[]},o);h instanceof Promise?c.push(h.then(y=>a$e(y,n))):a$e(h,n)}return c.length?Promise.all(c).then(()=>n):n},OZ(e,jxt)});jZ=ue(\"$ZodEnum\",(e,t)=>{kt.init(e,t);let r=Bw(t.entries),n=new Set(r);e._zod.values=n,Kt(e,\"pattern\",o=>{let i=Bw(o.def.entries).filter(c=>TA.has(typeof c));return new RegExp(i.length?`^(${i.map(c=>eu(c.toString())).join(\"|\")})$`:\"^[^\\\\\\\\s\\\\\\\\S]$\")}),e._zod.parse=(o,i)=>{let c=o.value;return n.has(c)||o.issues.push({code:\"invalid_value\",values:r,input:c,inst:e}),o}}),FZ=ue(\"$ZodLiteral\",(e,t)=>{kt.init(e,t);let r=new Set(t.values);e._zod.values=r,Kt(e,\"pattern\",n=>{let o=n.def.values;return new RegExp(o.length?`^(${o.map(i=>typeof i==\"string\"?eu(i):i?eu(i.toString()):String(i)).join(\"|\")})$`:\"^[^\\\\\\\\s\\\\\\\\S]$\")}),e._zod.parse=(n,o)=>{let i=n.value;return r.has(i)||n.issues.push({code:\"invalid_value\",values:t.values,input:i,inst:e}),n}}),VZ=ue(\"$ZodFile\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>{let o=r.value;return o instanceof File||r.issues.push({expected:\"file\",code:\"invalid_type\",input:o,inst:e}),r}}),qZ=ue(\"$ZodTransform\",(e,t)=>{kt.init(e,t),e._zod.optin=\"optional\",pi.memoizer?.guard(e),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")throw new r0(e.constructor.name);let o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(c=>(r.value=c,r));if(o instanceof Promise)throw new Ts;return r.value=o,r}});zO=ue(\"$ZodOptional\",(e,t)=>{kt.init(e,t),Kt(e,\"optin\",r=>r.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),e._zod.optout=\"optional\",Kt(e,\"values\",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n,void 0]):void 0}),Kt(e,\"pattern\",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Rp(n.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(r.value===void 0){if(t.innerType._zod.optin!==\"defaulted\")return r;let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>s$e(r,i)):s$e(r,o)}return t.innerType._zod.run(r,n)}}),GZ=ue(\"$ZodExactOptional\",(e,t)=>{zO.init(e,t),Kt(e,\"values\",r=>r.def.innerType._zod.values),Kt(e,\"pattern\",r=>r.def.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),KZ=ue(\"$ZodNullable\",(e,t)=>{kt.init(e,t),Kt(e,\"optin\",r=>r.def.innerType._zod.optin),Kt(e,\"optout\",r=>r.def.innerType._zod.optout),Kt(e,\"pattern\",r=>{let n=r.def.innerType._zod.pattern;return n?new RegExp(`^(${Rp(n.source)}|null)$`):void 0}),Kt(e,\"values\",r=>r.def.innerType._zod.values?new Set([...r.def.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),ZZ=ue(\"$ZodDefault\",(e,t)=>{kt.init(e,t),e._zod.optin=\"defaulted\",Kt(e,\"values\",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>c$e(i,t)):c$e(o,t)}});WZ=ue(\"$ZodPrefault\",(e,t)=>{kt.init(e,t),e._zod.optin=\"defaulted\",Kt(e,\"values\",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction===\"backward\"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),JZ=ue(\"$ZodNonOptional\",(e,t)=>{kt.init(e,t),Kt(e,\"values\",r=>{let n=r.def.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(r,n)=>{let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>u$e(i,e)):u$e(o,e)}});QZ=ue(\"$ZodSuccess\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")throw new r0(\"ZodSuccess\");let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>(r.value=i.issues.length===0,r)):(r.value=o.issues.length===0,r)}});YZ=ue(\"$ZodCatch\",(e,t)=>{kt.init(e,t),Kt(e,\"optin\",r=>r.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),Kt(e,\"optout\",r=>r.def.innerType._zod.optout),Kt(e,\"values\",r=>r.def.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run({value:r.value,issues:[]},n);return o instanceof Promise?o.then(i=>l$e(r,i,t,n)):l$e(r,o,t,n)}}),XZ=ue(\"$ZodNaN\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>((typeof r.value!=\"number\"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:\"nan\",code:\"invalid_type\"}),r)}),LO=ue(\"$ZodPipe\",(e,t)=>{kt.init(e,t),Kt(e,\"values\",r=>r.def.in._zod.values),Kt(e,\"optin\",r=>r.def.in._zod.optin),Kt(e,\"optout\",r=>r.def.out._zod.optout),Kt(e,\"propValues\",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction===\"backward\"){let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(c=>EO(c,t.in,n)):EO(i,t.in,n)}let o=t.in._zod.run(r,n);return o instanceof Promise?o.then(i=>EO(i,t.out,n)):EO(o,t.out,n)}});JA=ue(\"$ZodCodec\",(e,t)=>{kt.init(e,t),Kt(e,\"values\",r=>r.def.in._zod.values),Kt(e,\"optin\",r=>r.def.in._zod.optin),Kt(e,\"optout\",r=>r.def.out._zod.optout),Kt(e,\"propValues\",r=>r.def.in._zod.propValues),e._zod.parse=(r,n)=>{if((n.direction||\"forward\")===\"forward\"){let i=t.in._zod.run(r,n);return i instanceof Promise?i.then(c=>_O(c,t,n)):_O(i,t,n)}else{let i=t.out._zod.run(r,n);return i instanceof Promise?i.then(c=>_O(c,t,n)):_O(i,t,n)}}});eW=ue(\"$ZodPreprocess\",(e,t)=>{LO.init(e,t)}),tW=ue(\"$ZodReadonly\",(e,t)=>{kt.init(e,t),Kt(e,\"propValues\",r=>r.def.innerType._zod.propValues),Kt(e,\"values\",r=>r.def.innerType._zod.values),Kt(e,\"optin\",r=>r.def.innerType?._zod?.optin),Kt(e,\"optout\",r=>r.def.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")return t.innerType._zod.run(r,n);let o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(d$e):d$e(o)}});rW=ue(\"$ZodTemplateLiteral\",(e,t)=>{kt.init(e,t);let r=[];for(let n of t.parts)if(typeof n==\"object\"&&n!==null){let o=GK(n);if(!o)throw new Error(`Invalid template literal part, no pattern found: ${[...n._zod.traits].shift()}`);r.push(Rp(o))}else if(n===null||CG.has(typeof n))r.push(eu(`${n}`));else throw new Error(`Invalid template literal part: ${n}`);e._zod.pattern=new RegExp(`^${r.join(\"\")}$`),e._zod.parse=(n,o)=>typeof n.value!=\"string\"?(n.issues.push({input:n.value,inst:e,expected:\"string\",code:\"invalid_type\"}),n):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:\"invalid_format\",format:t.format??\"template_literal\",pattern:e._zod.pattern.source}),n)}),nW=ue(\"$ZodFunction\",(e,t)=>(kt.init(e,t),Object.defineProperty(e,\"_def\",{value:t}),e._zod.def=t,e.implement=r=>{if(typeof r!=\"function\")throw new Error(\"implement() must be called with a function\");return Object.defineProperty(function(...n){let o=e._def.input?oO(e._def.input,n):n,i=Reflect.apply(r,this,o);return e._def.output?oO(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e.implementAsync=r=>{if(typeof r!=\"function\")throw new Error(\"implementAsync() must be called with a function\");return Object.defineProperty(async function(...n){let o=e._def.input?await iO(e._def.input,n):n,i=await Reflect.apply(r,this,o);return e._def.output?await iO(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e._zod.parse=(r,n)=>typeof r.value!=\"function\"?(r.issues.push({code:\"invalid_type\",expected:\"function\",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type===\"promise\"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{let n=e.constructor;return Array.isArray(r[0])?new n({type:\"function\",input:new $O({type:\"tuple\",items:r[0],rest:r[1]}),output:e._def.output}):new n({type:\"function\",input:r[0],output:e._def.output})},e.output=r=>{let n=e.constructor;return new n({type:\"function\",input:e._def.input,output:r})},e)),oW=ue(\"$ZodPromise\",(e,t)=>{kt.init(e,t),e._zod.parse=(r,n)=>Promise.resolve(r.value).then(o=>t.innerType._zod.run({value:o,issues:[]},n))}),QA=ue(\"$ZodLazy\",(e,t)=>{kt.init(e,t),SG(e._zod,\"innerType\",()=>{let r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),Kt(e,\"pattern\",r=>r.innerType?._zod?.pattern),Kt(e,\"propValues\",r=>r.innerType?._zod?.propValues),Kt(e,\"optin\",r=>r.innerType?._zod?.optin??void 0),Kt(e,\"optout\",r=>r.innerType?._zod?.optout??void 0),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)}),iW=ue(\"$ZodCustom\",(e,t)=>{xn.init(e,t),kt.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{let n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(i=>f$e(i,r,n,e));f$e(o,r,n,e)}})});function w$e(e){return e!==null&&typeof e==\"object\"}function aW(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}function XA(e,t,r){let n=E$e.get(e);if(n!==void 0)return n?YA:Gw;if(t.has(e))return YA;t.add(e);let o=Gw,i=h=>{if(o!==YA&&h?._zod){let y=XA(h,t,r);y>o&&(o=y)}},c=(h,y)=>{let w=Gw;for(let E of Reflect.ownKeys(h)){let A=Object.getOwnPropertyDescriptor(h,E);if(y&&!A.enumerable)continue;let C=A.get?FO:A.value?._zod?XA(A.value,t,r):Gw;C>w&&(w=C)}return w},l=h=>{h>o&&(o=h)},f=e._zod.def,p=f.type;switch(p){case\"object\":{let h=Nw(f);l(h?c(h,!0):FO),i(f.catchall);break}case\"array\":i(f.element);break;case\"tuple\":for(let h of f.items)i(h);i(f.rest);break;case\"record\":case\"map\":i(f.keyType),i(f.valueType);break;case\"set\":i(f.valueType);break;case\"union\":for(let h of f.options)i(h);break;case\"intersection\":i(f.left),i(f.right);break;case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":i(f.innerType);break;case\"pipe\":i(f.in),i(f.out);break;case\"function\":i(f.input),i(f.output);break;case\"lazy\":{let h=f._cachedInner??(r?e._zod.innerType:void 0);l(h?XA(h,t,!1):FO);break}case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":break;default:for(let h in f){let y=Object.getOwnPropertyDescriptor(f,h);if(!y||y.get)continue;let w=y.value;if(!(!w||typeof w!=\"object\")){if(w._zod)i(w);else if(Array.isArray(w))for(let E of w)i(E)}}}return t.delete(e),qxt(e,o)}function qxt(e,t){return t!==FO&&E$e.set(e,t===YA),t}function qO(e){return XA(e,new Set,!0)!==Gw}function Gxt(e,t){let r=e.buckets.get(t);return r||(r=new WeakMap,e.buckets.set(t,r)),r}function ek(){return Kxt}function GO(e,t){let r=e[sW]?.backEdges;return r!==void 0&&w$e(t)&&r.has(t)}var VO,sW,v$e,E$e,Gw,FO,YA,HO,jO,Kxt,cW=x(()=>{u();je();VO=class extends Error{constructor(){super(\"Cannot parse a reference cycle that closes through a transform\"),this.name=\"ZodCyclicError\"}},sW=\"~memo\",v$e=[];E$e=new WeakMap,Gw=0,FO=1,YA=2;jO=[],Kxt={alloc(e,t,r){let n=HO;if(!n)return r;HO=void 0;let o={value:r,issues:null};return n.set(t.value,o),jO.push(o),r},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let r=e._zod.parse,n=(o,i)=>{if(i.direction!==\"backward\"&&GO(i,o.value))throw new VO;return r(o,i)};e._zod.parse=n,e._zod.run===r&&(e._zod.run=n)})},attach(e){var t;let r,n=!1,o,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let c=e._zod.parse,l=(f,p)=>{if(r===void 0){let M=XA(e,new Set,!1);if(M===Gw)return e._zod.parse=c,e._zod.run===l&&(e._zod.run=c),c(f,p);M===YA||n?r=!0:n=!0}let h=f.value;if(!w$e(h))return c(f,p);let y=p[sW];y||(y={buckets:new WeakMap,backEdges:void 0},p[sW]=y);let w;o===p?w=i:(w=Gxt(y,e),o=p,i=w);let E=w.get(h);if(E)return f.value=E.value,E.issues?E.issues.length&&f.issues.push(...aW(E.issues)):(f.memo=!0,y.backEdges??(y.backEdges=new WeakSet),y.backEdges.add(E.value)),f;HO=w;let A=jO.length,C=c(f,p);HO=void 0;let R=jO.length>A?jO.pop():void 0;return C instanceof Promise?C.then(M=>(R&&(R.issues=M.issues.length?aW(M.issues):v$e),M)):(R&&(R.issues=C.issues.length?aW(C.issues):v$e),C)};e._zod.parse=l,e._zod.run===c&&(e._zod.run=l)})}}});function _$e(){return{localeError:Zxt()}}var Zxt,S$e=x(()=>{u();je();Zxt=()=>{let e={string:{unit:\"\\\\u062D\\\\u0631\\\\u0641\",verb:\"\\\\u0623\\\\u0646 \\\\u064A\\\\u062D\\\\u0648\\\\u064A\"},file:{unit:\"\\\\u0628\\\\u0627\\\\u064A\\\\u062A\",verb:\"\\\\u0623\\\\u0646 \\\\u064A\\\\u062D\\\\u0648\\\\u064A\"},array:{unit:\"\\\\u0639\\\\u0646\\\\u0635\\\\u0631\",verb:\"\\\\u0623\\\\u0646 \\\\u064A\\\\u062D\\\\u0648\\\\u064A\"},set:{unit:\"\\\\u0639\\\\u0646\\\\u0635\\\\u0631\",verb:\"\\\\u0623\\\\u0646 \\\\u064A\\\\u062D\\\\u0648\\\\u064A\"},map:{unit:\"\\\\u0639\\\\u0646\\\\u0635\\\\u0631\",verb:\"\\\\u0623\\\\u0646 \\\\u064A\\\\u062D\\\\u0648\\\\u064A\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0645\\\\u062F\\\\u062E\\\\u0644\",email:\"\\\\u0628\\\\u0631\\\\u064A\\\\u062F \\\\u0625\\\\u0644\\\\u0643\\\\u062A\\\\u0631\\\\u0648\\\\u0646\\\\u064A\",url:\"\\\\u0631\\\\u0627\\\\u0628\\\\u0637\",emoji:\"\\\\u0625\\\\u064A\\\\u0645\\\\u0648\\\\u062C\\\\u064A\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u062A\\\\u0627\\\\u0631\\\\u064A\\\\u062E \\\\u0648\\\\u0648\\\\u0642\\\\u062A \\\\u0628\\\\u0645\\\\u0639\\\\u064A\\\\u0627\\\\u0631 ISO\",date:\"\\\\u062A\\\\u0627\\\\u0631\\\\u064A\\\\u062E \\\\u0628\\\\u0645\\\\u0639\\\\u064A\\\\u0627\\\\u0631 ISO\",time:\"\\\\u0648\\\\u0642\\\\u062A \\\\u0628\\\\u0645\\\\u0639\\\\u064A\\\\u0627\\\\u0631 ISO\",duration:\"\\\\u0645\\\\u062F\\\\u0629 \\\\u0628\\\\u0645\\\\u0639\\\\u064A\\\\u0627\\\\u0631 ISO\",ipv4:\"\\\\u0639\\\\u0646\\\\u0648\\\\u0627\\\\u0646 IPv4\",ipv6:\"\\\\u0639\\\\u0646\\\\u0648\\\\u0627\\\\u0646 IPv6\",mac:\"\\\\u0639\\\\u0646\\\\u0648\\\\u0627\\\\u0646 MAC\",cidrv4:\"\\\\u0645\\\\u062F\\\\u0649 \\\\u0639\\\\u0646\\\\u0627\\\\u0648\\\\u064A\\\\u0646 \\\\u0628\\\\u0635\\\\u064A\\\\u063A\\\\u0629 IPv4\",cidrv6:\"\\\\u0645\\\\u062F\\\\u0649 \\\\u0639\\\\u0646\\\\u0627\\\\u0648\\\\u064A\\\\u0646 \\\\u0628\\\\u0635\\\\u064A\\\\u063A\\\\u0629 IPv6\",base64:\"\\\\u0646\\\\u064E\\\\u0635 \\\\u0628\\\\u062A\\\\u0631\\\\u0645\\\\u064A\\\\u0632 base64-encoded\",base64url:\"\\\\u0646\\\\u064E\\\\u0635 \\\\u0628\\\\u062A\\\\u0631\\\\u0645\\\\u064A\\\\u0632 base64url-encoded\",json_string:\"\\\\u0646\\\\u064E\\\\u0635 \\\\u0639\\\\u0644\\\\u0649 \\\\u0647\\\\u064A\\\\u0626\\\\u0629 JSON\",e164:\"\\\\u0631\\\\u0642\\\\u0645 \\\\u0647\\\\u0627\\\\u062A\\\\u0641 \\\\u0628\\\\u0645\\\\u0639\\\\u064A\\\\u0627\\\\u0631 E.164\",credit_card:\"\\\\u0631\\\\u0642\\\\u0645 \\\\u0628\\\\u0637\\\\u0627\\\\u0642\\\\u0629 \\\\u0627\\\\u0644\\\\u0627\\\\u0626\\\\u062A\\\\u0645\\\\u0627\\\\u0646\",currency_code:\"\\\\u0631\\\\u0645\\\\u0632 \\\\u0627\\\\u0644\\\\u0639\\\\u0645\\\\u0644\\\\u0629\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0645\\\\u062F\\\\u062E\\\\u0644\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u0645\\\\u062F\\\\u062E\\\\u0644\\\\u0627\\\\u062A \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644\\\\u0629: \\\\u064A\\\\u0641\\\\u062A\\\\u0631\\\\u0636 \\\\u0625\\\\u062F\\\\u062E\\\\u0627\\\\u0644 instanceof ${o.expected}\\\\u060C \\\\u0648\\\\u0644\\\\u0643\\\\u0646 \\\\u062A\\\\u0645 \\\\u0625\\\\u062F\\\\u062E\\\\u0627\\\\u0644 ${l}`:`\\\\u0645\\\\u062F\\\\u062E\\\\u0644\\\\u0627\\\\u062A \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644\\\\u0629: \\\\u064A\\\\u0641\\\\u062A\\\\u0631\\\\u0636 \\\\u0625\\\\u062F\\\\u062E\\\\u0627\\\\u0644 ${i}\\\\u060C \\\\u0648\\\\u0644\\\\u0643\\\\u0646 \\\\u062A\\\\u0645 \\\\u0625\\\\u062F\\\\u062E\\\\u0627\\\\u0644 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0645\\\\u062F\\\\u062E\\\\u0644\\\\u0627\\\\u062A \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644\\\\u0629: \\\\u064A\\\\u0641\\\\u062A\\\\u0631\\\\u0636 \\\\u0625\\\\u062F\\\\u062E\\\\u0627\\\\u0644 ${_e(o.values[0])}`:`\\\\u0627\\\\u062E\\\\u062A\\\\u064A\\\\u0627\\\\u0631 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644: \\\\u064A\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u0627\\\\u0646\\\\u062A\\\\u0642\\\\u0627\\\\u0621 \\\\u0623\\\\u062D\\\\u062F \\\\u0647\\\\u0630\\\\u0647 \\\\u0627\\\\u0644\\\\u062E\\\\u064A\\\\u0627\\\\u0631\\\\u0627\\\\u062A: ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?` \\\\u0623\\\\u0643\\\\u0628\\\\u0631 \\\\u0645\\\\u0646 \\\\u0627\\\\u0644\\\\u0644\\\\u0627\\\\u0632\\\\u0645: \\\\u064A\\\\u0641\\\\u062A\\\\u0631\\\\u0636 \\\\u0623\\\\u0646 \\\\u062A\\\\u0643\\\\u0648\\\\u0646 ${o.origin??\"\\\\u0627\\\\u0644\\\\u0642\\\\u064A\\\\u0645\\\\u0629\"} ${i} ${o.maximum.toString()} ${c.unit??\"\\\\u0639\\\\u0646\\\\u0635\\\\u0631\"}`:`\\\\u0623\\\\u0643\\\\u0628\\\\u0631 \\\\u0645\\\\u0646 \\\\u0627\\\\u0644\\\\u0644\\\\u0627\\\\u0632\\\\u0645: \\\\u064A\\\\u0641\\\\u062A\\\\u0631\\\\u0636 \\\\u0623\\\\u0646 \\\\u062A\\\\u0643\\\\u0648\\\\u0646 ${o.origin??\"\\\\u0627\\\\u0644\\\\u0642\\\\u064A\\\\u0645\\\\u0629\"} ${i} ${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0623\\\\u0635\\\\u063A\\\\u0631 \\\\u0645\\\\u0646 \\\\u0627\\\\u0644\\\\u0644\\\\u0627\\\\u0632\\\\u0645: \\\\u064A\\\\u0641\\\\u062A\\\\u0631\\\\u0636 \\\\u0644\\\\u0640 ${o.origin} \\\\u0623\\\\u0646 \\\\u064A\\\\u0643\\\\u0648\\\\u0646 ${i} ${o.minimum.toString()} ${c.unit}`:`\\\\u0623\\\\u0635\\\\u063A\\\\u0631 \\\\u0645\\\\u0646 \\\\u0627\\\\u0644\\\\u0644\\\\u0627\\\\u0632\\\\u0645: \\\\u064A\\\\u0641\\\\u062A\\\\u0631\\\\u0636 \\\\u0644\\\\u0640 ${o.origin} \\\\u0623\\\\u0646 \\\\u064A\\\\u0643\\\\u0648\\\\u0646 ${i} ${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0646\\\\u064E\\\\u0635 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644: \\\\u064A\\\\u062C\\\\u0628 \\\\u0623\\\\u0646 \\\\u064A\\\\u0628\\\\u062F\\\\u0623 \\\\u0628\\\\u0640 \"${o.prefix}\"`:i.format===\"ends_with\"?`\\\\u0646\\\\u064E\\\\u0635 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644: \\\\u064A\\\\u062C\\\\u0628 \\\\u0623\\\\u0646 \\\\u064A\\\\u0646\\\\u062A\\\\u0647\\\\u064A \\\\u0628\\\\u0640 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u0646\\\\u064E\\\\u0635 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644: \\\\u064A\\\\u062C\\\\u0628 \\\\u0623\\\\u0646 \\\\u064A\\\\u062A\\\\u0636\\\\u0645\\\\u0651\\\\u064E\\\\u0646 \"${i.includes}\"`:i.format===\"regex\"?`\\\\u0646\\\\u064E\\\\u0635 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644: \\\\u064A\\\\u062C\\\\u0628 \\\\u0623\\\\u0646 \\\\u064A\\\\u0637\\\\u0627\\\\u0628\\\\u0642 \\\\u0627\\\\u0644\\\\u0646\\\\u0645\\\\u0637 ${i.pattern}`:`${r[i.format]??o.format} \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644`}case\"not_multiple_of\":return`\\\\u0631\\\\u0642\\\\u0645 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644: \\\\u064A\\\\u062C\\\\u0628 \\\\u0623\\\\u0646 \\\\u064A\\\\u0643\\\\u0648\\\\u0646 \\\\u0645\\\\u0646 \\\\u0645\\\\u0636\\\\u0627\\\\u0639\\\\u0641\\\\u0627\\\\u062A ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u0645\\\\u0639\\\\u0631\\\\u0641${o.keys.length>1?\"\\\\u0627\\\\u062A\":\"\"} \\\\u063A\\\\u0631\\\\u064A\\\\u0628${o.keys.length>1?\"\\\\u0629\":\"\"}: ${pe(o.keys,\"\\\\u060C \")}`;case\"invalid_key\":return`\\\\u0645\\\\u0639\\\\u0631\\\\u0641 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644 \\\\u0641\\\\u064A ${o.origin}`;case\"invalid_union\":return\"\\\\u0645\\\\u062F\\\\u062E\\\\u0644 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644\";case\"invalid_element\":return`\\\\u0645\\\\u062F\\\\u062E\\\\u0644 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644 \\\\u0641\\\\u064A ${o.origin}`;default:return\"\\\\u0645\\\\u062F\\\\u062E\\\\u0644 \\\\u063A\\\\u064A\\\\u0631 \\\\u0645\\\\u0642\\\\u0628\\\\u0648\\\\u0644\"}}}});function A$e(){return{localeError:Wxt()}}var Wxt,k$e=x(()=>{u();je();Wxt=()=>{let e={string:{unit:\"simvol\",verb:\"olmal\\\\u0131d\\\\u0131r\"},file:{unit:\"bayt\",verb:\"olmal\\\\u0131d\\\\u0131r\"},array:{unit:\"element\",verb:\"olmal\\\\u0131d\\\\u0131r\"},set:{unit:\"element\",verb:\"olmal\\\\u0131d\\\\u0131r\"},map:{unit:\"element\",verb:\"olmal\\\\u0131d\\\\u0131r\"}};function t(o){return e[o]??null}let r={regex:\"input\",email:\"email address\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datetime\",date:\"ISO date\",time:\"ISO time\",duration:\"ISO duration\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded string\",base64url:\"base64url-encoded string\",json_string:\"JSON string\",e164:\"E.164 number\",credit_card:\"kredit kart\\\\u0131 n\\\\xF6mr\\\\u0259si\",currency_code:\"valyuta kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Yanl\\\\u0131\\\\u015F d\\\\u0259y\\\\u0259r: g\\\\xF6zl\\\\u0259nil\\\\u0259n instanceof ${o.expected}, daxil olan ${l}`:`Yanl\\\\u0131\\\\u015F d\\\\u0259y\\\\u0259r: g\\\\xF6zl\\\\u0259nil\\\\u0259n ${i}, daxil olan ${l}`}case\"invalid_value\":return o.values.length===1?`Yanl\\\\u0131\\\\u015F d\\\\u0259y\\\\u0259r: g\\\\xF6zl\\\\u0259nil\\\\u0259n ${_e(o.values[0])}`:`Yanl\\\\u0131\\\\u015F se\\\\xE7im: a\\\\u015Fa\\\\u011F\\\\u0131dak\\\\u0131lardan biri olmal\\\\u0131d\\\\u0131r: ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\xC7ox b\\\\xF6y\\\\xFCk: g\\\\xF6zl\\\\u0259nil\\\\u0259n ${o.origin??\"d\\\\u0259y\\\\u0259r\"} ${i}${o.maximum.toString()} ${c.unit??\"element\"}`:`\\\\xC7ox b\\\\xF6y\\\\xFCk: g\\\\xF6zl\\\\u0259nil\\\\u0259n ${o.origin??\"d\\\\u0259y\\\\u0259r\"} ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\xC7ox ki\\\\xE7ik: g\\\\xF6zl\\\\u0259nil\\\\u0259n ${o.origin} ${i}${o.minimum.toString()} ${c.unit}`:`\\\\xC7ox ki\\\\xE7ik: g\\\\xF6zl\\\\u0259nil\\\\u0259n ${o.origin} ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Yanl\\\\u0131\\\\u015F m\\\\u0259tn: \"${i.prefix}\" il\\\\u0259 ba\\\\u015Flamal\\\\u0131d\\\\u0131r`:i.format===\"ends_with\"?`Yanl\\\\u0131\\\\u015F m\\\\u0259tn: \"${i.suffix}\" il\\\\u0259 bitm\\\\u0259lidir`:i.format===\"includes\"?`Yanl\\\\u0131\\\\u015F m\\\\u0259tn: \"${i.includes}\" daxil olmal\\\\u0131d\\\\u0131r`:i.format===\"regex\"?`Yanl\\\\u0131\\\\u015F m\\\\u0259tn: ${i.pattern} \\\\u015Fablonuna uy\\\\u011Fun olmal\\\\u0131d\\\\u0131r`:`Yanl\\\\u0131\\\\u015F ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Yanl\\\\u0131\\\\u015F \\\\u0259d\\\\u0259d: ${o.divisor} il\\\\u0259 b\\\\xF6l\\\\xFCn\\\\u0259 bil\\\\u0259n olmal\\\\u0131d\\\\u0131r`;case\"unrecognized_keys\":return`Tan\\\\u0131nmayan a\\\\xE7ar${o.keys.length>1?\"lar\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} daxilind\\\\u0259 yanl\\\\u0131\\\\u015F a\\\\xE7ar`;case\"invalid_union\":return\"Yanl\\\\u0131\\\\u015F d\\\\u0259y\\\\u0259r\";case\"invalid_element\":return`${o.origin} daxilind\\\\u0259 yanl\\\\u0131\\\\u015F d\\\\u0259y\\\\u0259r`;default:return\"Yanl\\\\u0131\\\\u015F d\\\\u0259y\\\\u0259r\"}}}});function C$e(e,t,r,n){let o=Math.abs(e),i=o%10,c=o%100;return c>=11&&c<=19?n:i===1?t:i>=2&&i<=4?r:n}function T$e(){return{localeError:Jxt()}}var Jxt,I$e=x(()=>{u();je();Jxt=()=>{let e={string:{unit:{one:\"\\\\u0441\\\\u0456\\\\u043C\\\\u0432\\\\u0430\\\\u043B\",few:\"\\\\u0441\\\\u0456\\\\u043C\\\\u0432\\\\u0430\\\\u043B\\\\u044B\",many:\"\\\\u0441\\\\u0456\\\\u043C\\\\u0432\\\\u0430\\\\u043B\\\\u0430\\\\u045E\"},verb:\"\\\\u043C\\\\u0435\\\\u0446\\\\u044C\"},array:{unit:{one:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\",few:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u044B\",many:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\\\\u045E\"},verb:\"\\\\u043C\\\\u0435\\\\u0446\\\\u044C\"},set:{unit:{one:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\",few:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u044B\",many:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\\\\u045E\"},verb:\"\\\\u043C\\\\u0435\\\\u0446\\\\u044C\"},map:{unit:{one:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\",few:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u044B\",many:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\\\\u045E\"},verb:\"\\\\u043C\\\\u0435\\\\u0446\\\\u044C\"},file:{unit:{one:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\",few:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\\\\u044B\",many:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\\\\u0430\\\\u045E\"},verb:\"\\\\u043C\\\\u0435\\\\u0446\\\\u044C\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0443\\\\u0432\\\\u043E\\\\u0434\",email:\"email \\\\u0430\\\\u0434\\\\u0440\\\\u0430\\\\u0441\",url:\"URL\",emoji:\"\\\\u044D\\\\u043C\\\\u043E\\\\u0434\\\\u0437\\\\u0456\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0434\\\\u0430\\\\u0442\\\\u0430 \\\\u0456 \\\\u0447\\\\u0430\\\\u0441\",date:\"ISO \\\\u0434\\\\u0430\\\\u0442\\\\u0430\",time:\"ISO \\\\u0447\\\\u0430\\\\u0441\",duration:\"ISO \\\\u043F\\\\u0440\\\\u0430\\\\u0446\\\\u044F\\\\u0433\\\\u043B\\\\u0430\\\\u0441\\\\u0446\\\\u044C\",ipv4:\"IPv4 \\\\u0430\\\\u0434\\\\u0440\\\\u0430\\\\u0441\",ipv6:\"IPv6 \\\\u0430\\\\u0434\\\\u0440\\\\u0430\\\\u0441\",mac:\"MAC \\\\u0430\\\\u0434\\\\u0440\\\\u0430\\\\u0441\",cidrv4:\"IPv4 \\\\u0434\\\\u044B\\\\u044F\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D\",cidrv6:\"IPv6 \\\\u0434\\\\u044B\\\\u044F\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D\",base64:\"\\\\u0440\\\\u0430\\\\u0434\\\\u043E\\\\u043A \\\\u0443 \\\\u0444\\\\u0430\\\\u0440\\\\u043C\\\\u0430\\\\u0446\\\\u0435 base64\",base64url:\"\\\\u0440\\\\u0430\\\\u0434\\\\u043E\\\\u043A \\\\u0443 \\\\u0444\\\\u0430\\\\u0440\\\\u043C\\\\u0430\\\\u0446\\\\u0435 base64url\",json_string:\"JSON \\\\u0440\\\\u0430\\\\u0434\\\\u043E\\\\u043A\",e164:\"\\\\u043D\\\\u0443\\\\u043C\\\\u0430\\\\u0440 E.164\",credit_card:\"\\\\u043D\\\\u0443\\\\u043C\\\\u0430\\\\u0440 \\\\u043A\\\\u0440\\\\u044D\\\\u0434\\\\u044B\\\\u0442\\\\u043D\\\\u0430\\\\u0439 \\\\u043A\\\\u0430\\\\u0440\\\\u0442\\\\u044B\",currency_code:\"\\\\u043A\\\\u043E\\\\u0434 \\\\u0432\\\\u0430\\\\u043B\\\\u044E\\\\u0442\\\\u044B\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0443\\\\u0432\\\\u043E\\\\u0434\"},n={nan:\"NaN\",number:\"\\\\u043B\\\\u0456\\\\u043A\",array:\"\\\\u043C\\\\u0430\\\\u0441\\\\u0456\\\\u045E\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u045E\\\\u0432\\\\u043E\\\\u0434: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u045E\\\\u0441\\\\u044F instanceof ${o.expected}, \\\\u0430\\\\u0442\\\\u0440\\\\u044B\\\\u043C\\\\u0430\\\\u043D\\\\u0430 ${l}`:`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u045E\\\\u0432\\\\u043E\\\\u0434: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u045E\\\\u0441\\\\u044F ${i}, \\\\u0430\\\\u0442\\\\u0440\\\\u044B\\\\u043C\\\\u0430\\\\u043D\\\\u0430 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u045E\\\\u0432\\\\u043E\\\\u0434: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u043B\\\\u0430\\\\u0441\\\\u044F ${_e(o.values[0])}`:`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u0432\\\\u0430\\\\u0440\\\\u044B\\\\u044F\\\\u043D\\\\u0442: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u045E\\\\u0441\\\\u044F \\\\u0430\\\\u0434\\\\u0437\\\\u0456\\\\u043D \\\\u0437 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);if(c){let l=Number(o.maximum),f=C$e(l,c.unit.one,c.unit.few,c.unit.many);return`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u0430 \\\\u0432\\\\u044F\\\\u043B\\\\u0456\\\\u043A\\\\u0456: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u043B\\\\u0430\\\\u0441\\\\u044F, \\\\u0448\\\\u0442\\\\u043E ${o.origin??\"\\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u044D\\\\u043D\\\\u043D\\\\u0435\"} \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u043D\\\\u0430 ${c.verb} ${i}${o.maximum.toString()} ${f}`}return`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u0430 \\\\u0432\\\\u044F\\\\u043B\\\\u0456\\\\u043A\\\\u0456: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u043B\\\\u0430\\\\u0441\\\\u044F, \\\\u0448\\\\u0442\\\\u043E ${o.origin??\"\\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u044D\\\\u043D\\\\u043D\\\\u0435\"} \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u043D\\\\u0430 \\\\u0431\\\\u044B\\\\u0446\\\\u044C ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);if(c){let l=Number(o.minimum),f=C$e(l,c.unit.one,c.unit.few,c.unit.many);return`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u0430 \\\\u043C\\\\u0430\\\\u043B\\\\u044B: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u043B\\\\u0430\\\\u0441\\\\u044F, \\\\u0448\\\\u0442\\\\u043E ${o.origin} \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u043D\\\\u0430 ${c.verb} ${i}${o.minimum.toString()} ${f}`}return`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u0430 \\\\u043C\\\\u0430\\\\u043B\\\\u044B: \\\\u0447\\\\u0430\\\\u043A\\\\u0430\\\\u043B\\\\u0430\\\\u0441\\\\u044F, \\\\u0448\\\\u0442\\\\u043E ${o.origin} \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u043D\\\\u0430 \\\\u0431\\\\u044B\\\\u0446\\\\u044C ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u0440\\\\u0430\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u0435\\\\u043D \\\\u043F\\\\u0430\\\\u0447\\\\u044B\\\\u043D\\\\u0430\\\\u0446\\\\u0446\\\\u0430 \\\\u0437 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u0440\\\\u0430\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u0435\\\\u043D \\\\u0437\\\\u0430\\\\u043A\\\\u0430\\\\u043D\\\\u0447\\\\u0432\\\\u0430\\\\u0446\\\\u0446\\\\u0430 \\\\u043D\\\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u0440\\\\u0430\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u0435\\\\u043D \\\\u0437\\\\u043C\\\\u044F\\\\u0448\\\\u0447\\\\u0430\\\\u0446\\\\u044C \"${i.includes}\"`:i.format===\"regex\"?`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u0440\\\\u0430\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u0435\\\\u043D \\\\u0430\\\\u0434\\\\u043F\\\\u0430\\\\u0432\\\\u044F\\\\u0434\\\\u0430\\\\u0446\\\\u044C \\\\u0448\\\\u0430\\\\u0431\\\\u043B\\\\u043E\\\\u043D\\\\u0443 ${i.pattern}`:`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u043B\\\\u0456\\\\u043A: \\\\u043F\\\\u0430\\\\u0432\\\\u0456\\\\u043D\\\\u0435\\\\u043D \\\\u0431\\\\u044B\\\\u0446\\\\u044C \\\\u043A\\\\u0440\\\\u0430\\\\u0442\\\\u043D\\\\u044B\\\\u043C ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u041D\\\\u0435\\\\u0440\\\\u0430\\\\u0441\\\\u043F\\\\u0430\\\\u0437\\\\u043D\\\\u0430\\\\u043D\\\\u044B ${o.keys.length>1?\"\\\\u043A\\\\u043B\\\\u044E\\\\u0447\\\\u044B\":\"\\\\u043A\\\\u043B\\\\u044E\\\\u0447\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u043A\\\\u043B\\\\u044E\\\\u0447 \\\\u0443 ${o.origin}`;case\"invalid_union\":return\"\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u045E\\\\u0432\\\\u043E\\\\u0434\";case\"invalid_element\":return`\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u0430\\\\u0435 \\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u044D\\\\u043D\\\\u043D\\\\u0435 \\\\u045E ${o.origin}`;default:return\"\\\\u041D\\\\u044F\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0456\\\\u043B\\\\u044C\\\\u043D\\\\u044B \\\\u045E\\\\u0432\\\\u043E\\\\u0434\"}}}});function P$e(){return{localeError:Qxt()}}var Qxt,R$e=x(()=>{u();je();Qxt=()=>{let e={string:{unit:\"\\\\u0441\\\\u0438\\\\u043C\\\\u0432\\\\u043E\\\\u043B\\\\u0430\",verb:\"\\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0434\\\\u044A\\\\u0440\\\\u0436\\\\u0430\"},file:{unit:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\\\\u0430\",verb:\"\\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0434\\\\u044A\\\\u0440\\\\u0436\\\\u0430\"},array:{unit:\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\",verb:\"\\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0434\\\\u044A\\\\u0440\\\\u0436\\\\u0430\"},set:{unit:\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\",verb:\"\\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0434\\\\u044A\\\\u0440\\\\u0436\\\\u0430\"},map:{unit:\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\",verb:\"\\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0434\\\\u044A\\\\u0440\\\\u0436\\\\u0430\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0432\\\\u0445\\\\u043E\\\\u0434\",email:\"\\\\u0438\\\\u043C\\\\u0435\\\\u0439\\\\u043B \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",url:\"URL\",emoji:\"\\\\u0435\\\\u043C\\\\u043E\\\\u0434\\\\u0436\\\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0432\\\\u0440\\\\u0435\\\\u043C\\\\u0435\",date:\"ISO \\\\u0434\\\\u0430\\\\u0442\\\\u0430\",time:\"ISO \\\\u0432\\\\u0440\\\\u0435\\\\u043C\\\\u0435\",duration:\"ISO \\\\u043F\\\\u0440\\\\u043E\\\\u0434\\\\u044A\\\\u043B\\\\u0436\\\\u0438\\\\u0442\\\\u0435\\\\u043B\\\\u043D\\\\u043E\\\\u0441\\\\u0442\",ipv4:\"IPv4 \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",ipv6:\"IPv6 \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",mac:\"MAC \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",cidrv4:\"IPv4 \\\\u0434\\\\u0438\\\\u0430\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D\",cidrv6:\"IPv6 \\\\u0434\\\\u0438\\\\u0430\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D\",base64:\"base64-\\\\u043A\\\\u043E\\\\u0434\\\\u0438\\\\u0440\\\\u0430\\\\u043D \\\\u043D\\\\u0438\\\\u0437\",base64url:\"base64url-\\\\u043A\\\\u043E\\\\u0434\\\\u0438\\\\u0440\\\\u0430\\\\u043D \\\\u043D\\\\u0438\\\\u0437\",json_string:\"JSON \\\\u043D\\\\u0438\\\\u0437\",e164:\"E.164 \\\\u043D\\\\u043E\\\\u043C\\\\u0435\\\\u0440\",credit_card:\"\\\\u043D\\\\u043E\\\\u043C\\\\u0435\\\\u0440 \\\\u043D\\\\u0430 \\\\u043A\\\\u0440\\\\u0435\\\\u0434\\\\u0438\\\\u0442\\\\u043D\\\\u0430 \\\\u043A\\\\u0430\\\\u0440\\\\u0442\\\\u0430\",currency_code:\"\\\\u043A\\\\u043E\\\\u0434 \\\\u043D\\\\u0430 \\\\u0432\\\\u0430\\\\u043B\\\\u0443\\\\u0442\\\\u0430\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0432\\\\u0445\\\\u043E\\\\u0434\"},n={nan:\"NaN\",number:\"\\\\u0447\\\\u0438\\\\u0441\\\\u043B\\\\u043E\",array:\"\\\\u043C\\\\u0430\\\\u0441\\\\u0438\\\\u0432\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u0432\\\\u0445\\\\u043E\\\\u0434: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430\\\\u043D instanceof ${o.expected}, \\\\u043F\\\\u043E\\\\u043B\\\\u0443\\\\u0447\\\\u0435\\\\u043D ${l}`:`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u0432\\\\u0445\\\\u043E\\\\u0434: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430\\\\u043D ${i}, \\\\u043F\\\\u043E\\\\u043B\\\\u0443\\\\u0447\\\\u0435\\\\u043D ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u0432\\\\u0445\\\\u043E\\\\u0434: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430\\\\u043D ${_e(o.values[0])}`:`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u0430 \\\\u043E\\\\u043F\\\\u0446\\\\u0438\\\\u044F: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430\\\\u043D\\\\u043E \\\\u0435\\\\u0434\\\\u043D\\\\u043E \\\\u043E\\\\u0442 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0422\\\\u0432\\\\u044A\\\\u0440\\\\u0434\\\\u0435 \\\\u0433\\\\u043E\\\\u043B\\\\u044F\\\\u043C\\\\u043E: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430 \\\\u0441\\\\u0435 ${o.origin??\"\\\\u0441\\\\u0442\\\\u043E\\\\u0439\\\\u043D\\\\u043E\\\\u0441\\\\u0442\"} \\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0434\\\\u044A\\\\u0440\\\\u0436\\\\u0430 ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\"}`:`\\\\u0422\\\\u0432\\\\u044A\\\\u0440\\\\u0434\\\\u0435 \\\\u0433\\\\u043E\\\\u043B\\\\u044F\\\\u043C\\\\u043E: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430 \\\\u0441\\\\u0435 ${o.origin??\"\\\\u0441\\\\u0442\\\\u043E\\\\u0439\\\\u043D\\\\u043E\\\\u0441\\\\u0442\"} \\\\u0434\\\\u0430 \\\\u0431\\\\u044A\\\\u0434\\\\u0435 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0422\\\\u0432\\\\u044A\\\\u0440\\\\u0434\\\\u0435 \\\\u043C\\\\u0430\\\\u043B\\\\u043A\\\\u043E: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430 \\\\u0441\\\\u0435 ${o.origin} \\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0434\\\\u044A\\\\u0440\\\\u0436\\\\u0430 ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u0422\\\\u0432\\\\u044A\\\\u0440\\\\u0434\\\\u0435 \\\\u043C\\\\u0430\\\\u043B\\\\u043A\\\\u043E: \\\\u043E\\\\u0447\\\\u0430\\\\u043A\\\\u0432\\\\u0430 \\\\u0441\\\\u0435 ${o.origin} \\\\u0434\\\\u0430 \\\\u0431\\\\u044A\\\\u0434\\\\u0435 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;if(i.format===\"starts_with\")return`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u043D\\\\u0438\\\\u0437: \\\\u0442\\\\u0440\\\\u044F\\\\u0431\\\\u0432\\\\u0430 \\\\u0434\\\\u0430 \\\\u0437\\\\u0430\\\\u043F\\\\u043E\\\\u0447\\\\u0432\\\\u0430 \\\\u0441 \"${i.prefix}\"`;if(i.format===\"ends_with\")return`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u043D\\\\u0438\\\\u0437: \\\\u0442\\\\u0440\\\\u044F\\\\u0431\\\\u0432\\\\u0430 \\\\u0434\\\\u0430 \\\\u0437\\\\u0430\\\\u0432\\\\u044A\\\\u0440\\\\u0448\\\\u0432\\\\u0430 \\\\u0441 \"${i.suffix}\"`;if(i.format===\"includes\")return`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u043D\\\\u0438\\\\u0437: \\\\u0442\\\\u0440\\\\u044F\\\\u0431\\\\u0432\\\\u0430 \\\\u0434\\\\u0430 \\\\u0432\\\\u043A\\\\u043B\\\\u044E\\\\u0447\\\\u0432\\\\u0430 \"${i.includes}\"`;if(i.format===\"regex\")return`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u043D\\\\u0438\\\\u0437: \\\\u0442\\\\u0440\\\\u044F\\\\u0431\\\\u0432\\\\u0430 \\\\u0434\\\\u0430 \\\\u0441\\\\u044A\\\\u0432\\\\u043F\\\\u0430\\\\u0434\\\\u0430 \\\\u0441 ${i.pattern}`;let c=\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D\";return i.format===\"emoji\"&&(c=\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u043E\"),i.format===\"datetime\"&&(c=\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u043E\"),i.format===\"date\"&&(c=\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u0430\"),i.format===\"time\"&&(c=\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u043E\"),i.format===\"duration\"&&(c=\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u0430\"),`${c} ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u043E \\\\u0447\\\\u0438\\\\u0441\\\\u043B\\\\u043E: \\\\u0442\\\\u0440\\\\u044F\\\\u0431\\\\u0432\\\\u0430 \\\\u0434\\\\u0430 \\\\u0431\\\\u044A\\\\u0434\\\\u0435 \\\\u043A\\\\u0440\\\\u0430\\\\u0442\\\\u043D\\\\u043E \\\\u043D\\\\u0430 ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u041D\\\\u0435\\\\u0440\\\\u0430\\\\u0437\\\\u043F\\\\u043E\\\\u0437\\\\u043D\\\\u0430\\\\u0442${o.keys.length>1?\"\\\\u0438\":\"\"} \\\\u043A\\\\u043B\\\\u044E\\\\u0447${o.keys.length>1?\"\\\\u043E\\\\u0432\\\\u0435\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u043A\\\\u043B\\\\u044E\\\\u0447 \\\\u0432 ${o.origin}`;case\"invalid_union\":return\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u0432\\\\u0445\\\\u043E\\\\u0434\";case\"invalid_element\":return`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u043D\\\\u0430 \\\\u0441\\\\u0442\\\\u043E\\\\u0439\\\\u043D\\\\u043E\\\\u0441\\\\u0442 \\\\u0432 ${o.origin}`;default:return\"\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0435\\\\u043D \\\\u0432\\\\u0445\\\\u043E\\\\u0434\"}}}});function O$e(){return{localeError:Yxt()}}var Yxt,B$e=x(()=>{u();je();Yxt=()=>{let e={string:{unit:\"\\\\u0985\\\\u0995\\\\u09CD\\\\u09B7\\\\u09B0\",verb:\"\\\\u09A5\\\\u09BE\\\\u0995\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7\"},file:{unit:\"\\\\u09AC\\\\u09BE\\\\u0987\\\\u099F\",verb:\"\\\\u09A5\\\\u09BE\\\\u0995\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7\"},array:{unit:\"\\\\u0986\\\\u0987\\\\u099F\\\\u09C7\\\\u09AE\",verb:\"\\\\u09A5\\\\u09BE\\\\u0995\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7\"},set:{unit:\"\\\\u0986\\\\u0987\\\\u099F\\\\u09C7\\\\u09AE\",verb:\"\\\\u09A5\\\\u09BE\\\\u0995\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7\"},map:{unit:\"\\\\u098F\\\\u09A8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\",verb:\"\\\\u09A5\\\\u09BE\\\\u0995\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0987\\\\u09A8\\\\u09AA\\\\u09C1\\\\u099F\",email:\"\\\\u0987\\\\u09AE\\\\u09C7\\\\u0987\\\\u09B2 \\\\u09A0\\\\u09BF\\\\u0995\\\\u09BE\\\\u09A8\\\\u09BE\",url:\"URL\",emoji:\"\\\\u0987\\\\u09AE\\\\u09CB\\\\u099C\\\\u09BF\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u09A4\\\\u09BE\\\\u09B0\\\\u09BF\\\\u0996 \\\\u0993 \\\\u09B8\\\\u09AE\\\\u09AF\\\\u09BC\",date:\"ISO \\\\u09A4\\\\u09BE\\\\u09B0\\\\u09BF\\\\u0996\",time:\"ISO \\\\u09B8\\\\u09AE\\\\u09AF\\\\u09BC\",duration:\"ISO \\\\u09B8\\\\u09AE\\\\u09AF\\\\u09BC\\\\u0995\\\\u09BE\\\\u09B2\",ipv4:\"IPv4 \\\\u09A0\\\\u09BF\\\\u0995\\\\u09BE\\\\u09A8\\\\u09BE\",ipv6:\"IPv6 \\\\u09A0\\\\u09BF\\\\u0995\\\\u09BE\\\\u09A8\\\\u09BE\",mac:\"MAC \\\\u09A0\\\\u09BF\\\\u0995\\\\u09BE\\\\u09A8\\\\u09BE\",cidrv4:\"IPv4 \\\\u09B0\\\\u09C7\\\\u099E\\\\u09CD\\\\u099C\",cidrv6:\"IPv6 \\\\u09B0\\\\u09C7\\\\u099E\\\\u09CD\\\\u099C\",base64:\"base64-\\\\u098F\\\\u09A8\\\\u0995\\\\u09CB\\\\u09A1\\\\u09C7\\\\u09A1 \\\\u09B8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\\\\u0982\",base64url:\"base64url-\\\\u098F\\\\u09A8\\\\u0995\\\\u09CB\\\\u09A1\\\\u09C7\\\\u09A1 \\\\u09B8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\\\\u0982\",json_string:\"JSON \\\\u09B8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\\\\u0982\",e164:\"E.164 \\\\u09A8\\\\u09AE\\\\u09CD\\\\u09AC\\\\u09B0\",credit_card:\"\\\\u0995\\\\u09CD\\\\u09B0\\\\u09C7\\\\u09A1\\\\u09BF\\\\u099F \\\\u0995\\\\u09BE\\\\u09B0\\\\u09CD\\\\u09A1 \\\\u09A8\\\\u09AE\\\\u09CD\\\\u09AC\\\\u09B0\",currency_code:\"\\\\u09AE\\\\u09C1\\\\u09A6\\\\u09CD\\\\u09B0\\\\u09BE \\\\u0995\\\\u09CB\\\\u09A1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0987\\\\u09A8\\\\u09AA\\\\u09C1\\\\u099F\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u0987\\\\u09A8\\\\u09AA\\\\u09C1\\\\u099F: \\\\u09AA\\\\u09CD\\\\u09B0\\\\u09A4\\\\u09CD\\\\u09AF\\\\u09BE\\\\u09B6\\\\u09BF\\\\u09A4 ${i}, \\\\u09AA\\\\u09CD\\\\u09B0\\\\u09BE\\\\u09AA\\\\u09CD\\\\u09A4 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u0987\\\\u09A8\\\\u09AA\\\\u09C1\\\\u099F: \\\\u09AA\\\\u09CD\\\\u09B0\\\\u09A4\\\\u09CD\\\\u09AF\\\\u09BE\\\\u09B6\\\\u09BF\\\\u09A4 ${_e(o.values[0])}`:`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u0985\\\\u09AA\\\\u09B6\\\\u09A8: ${pe(o.values,\" | \")} \\\\u098F\\\\u09B0 \\\\u09AE\\\\u09A7\\\\u09CD\\\\u09AF\\\\u09C7 \\\\u098F\\\\u0995\\\\u099F\\\\u09BF \\\\u09AA\\\\u09CD\\\\u09B0\\\\u09A4\\\\u09CD\\\\u09AF\\\\u09BE\\\\u09B6\\\\u09BF\\\\u09A4`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0985\\\\u09A8\\\\u09C7\\\\u0995 \\\\u09AC\\\\u09A1\\\\u09BC: ${o.origin??\"\\\\u09AE\\\\u09BE\\\\u09A8\"} ${i}${o.maximum.toString()} ${c.unit??\"\\\\u098F\\\\u09B2\\\\u09BF\\\\u09AE\\\\u09C7\\\\u09A8\\\\u09CD\\\\u099F\"} \\\\u09B9\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`:`\\\\u0985\\\\u09A8\\\\u09C7\\\\u0995 \\\\u09AC\\\\u09A1\\\\u09BC: ${o.origin??\"\\\\u09AE\\\\u09BE\\\\u09A8\"} ${i}${o.maximum.toString()} \\\\u09B9\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0985\\\\u09A8\\\\u09C7\\\\u0995 \\\\u099B\\\\u09CB\\\\u099F: ${o.origin} ${i}${o.minimum.toString()} ${c.unit} \\\\u09B9\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`:`\\\\u0985\\\\u09A8\\\\u09C7\\\\u0995 \\\\u099B\\\\u09CB\\\\u099F: ${o.origin} ${i}${o.minimum.toString()} \\\\u09B9\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u09B8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\\\\u0982: \"${i.prefix}\" \\\\u09A6\\\\u09BF\\\\u09AF\\\\u09BC\\\\u09C7 \\\\u09B6\\\\u09C1\\\\u09B0\\\\u09C1 \\\\u09B9\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`:i.format===\"ends_with\"?`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u09B8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\\\\u0982: \"${i.suffix}\" \\\\u09A6\\\\u09BF\\\\u09AF\\\\u09BC\\\\u09C7 \\\\u09B6\\\\u09C7\\\\u09B7 \\\\u09B9\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`:i.format===\"includes\"?`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u09B8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\\\\u0982: \"${i.includes}\" \\\\u0985\\\\u09A8\\\\u09CD\\\\u09A4\\\\u09B0\\\\u09CD\\\\u09AD\\\\u09C1\\\\u0995\\\\u09CD\\\\u09A4 \\\\u09A5\\\\u09BE\\\\u0995\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`:i.format===\"regex\"?`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u09B8\\\\u09CD\\\\u099F\\\\u09CD\\\\u09B0\\\\u09BF\\\\u0982: ${i.pattern} \\\\u09AA\\\\u09CD\\\\u09AF\\\\u09BE\\\\u099F\\\\u09BE\\\\u09B0\\\\u09CD\\\\u09A8 \\\\u09AE\\\\u09BF\\\\u09B2\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`:`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u09A8\\\\u09AE\\\\u09CD\\\\u09AC\\\\u09B0: ${o.divisor} \\\\u098F\\\\u09B0 \\\\u0997\\\\u09C1\\\\u09A3\\\\u09BF\\\\u09A4\\\\u0995 \\\\u09B9\\\\u09A4\\\\u09C7 \\\\u09B9\\\\u09AC\\\\u09C7`;case\"unrecognized_keys\":return`\\\\u0985\\\\u099A\\\\u09C7\\\\u09A8\\\\u09BE \\\\u0995\\\\u09C0${o.keys.length>1?\"\\\\u0997\\\\u09C1\\\\u09B2\\\\u09CB\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} \\\\u098F \\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u0995\\\\u09C0`;case\"invalid_union\":return o.options&&Array.isArray(o.options)&&o.options.length>0?`\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u09A1\\\\u09BF\\\\u09B8\\\\u0995\\\\u09CD\\\\u09B0\\\\u09BF\\\\u09AE\\\\u09BF\\\\u09A8\\\\u09C7\\\\u099F\\\\u09B0 \\\\u09AE\\\\u09BE\\\\u09A8\\\\u0964 \\\\u09AA\\\\u09CD\\\\u09B0\\\\u09A4\\\\u09CD\\\\u09AF\\\\u09BE\\\\u09B6\\\\u09BF\\\\u09A4 ${o.options.map(c=>`\\'${c}\\'`).join(\" | \")}`:\"\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u0987\\\\u09A8\\\\u09AA\\\\u09C1\\\\u099F\";case\"invalid_element\":return`${o.origin} \\\\u098F \\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u09AE\\\\u09BE\\\\u09A8`;default:return\"\\\\u0985\\\\u09AC\\\\u09C8\\\\u09A7 \\\\u0987\\\\u09A8\\\\u09AA\\\\u09C1\\\\u099F\"}}}});function M$e(){return{localeError:Xxt()}}var Xxt,D$e=x(()=>{u();je();Xxt=()=>{let e={string:{unit:\"car\\\\xE0cters\",verb:\"contenir\"},file:{unit:\"bytes\",verb:\"contenir\"},array:{unit:\"elements\",verb:\"contenir\"},set:{unit:\"elements\",verb:\"contenir\"},map:{unit:\"elements\",verb:\"contenir\"}};function t(o){return e[o]??null}let r={regex:\"entrada\",email:\"adre\\\\xE7a electr\\\\xF2nica\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data i hora ISO\",date:\"data ISO\",time:\"hora ISO\",duration:\"durada ISO\",ipv4:\"adre\\\\xE7a IPv4\",ipv6:\"adre\\\\xE7a IPv6\",mac:\"adre\\\\xE7a MAC\",cidrv4:\"rang IPv4\",cidrv6:\"rang IPv6\",base64:\"cadena codificada en base64\",base64url:\"cadena codificada en base64url\",json_string:\"cadena JSON\",e164:\"n\\\\xFAmero E.164\",credit_card:\"n\\\\xFAmero de targeta de cr\\\\xE8dit\",currency_code:\"codi de moneda\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entrada\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Tipus inv\\\\xE0lid: s\\'esperava instanceof ${o.expected}, s\\'ha rebut ${l}`:`Tipus inv\\\\xE0lid: s\\'esperava ${i}, s\\'ha rebut ${l}`}case\"invalid_value\":return o.values.length===1?`Valor inv\\\\xE0lid: s\\'esperava ${_e(o.values[0])}`:`Opci\\\\xF3 inv\\\\xE0lida: s\\'esperava una de ${pe(o.values,\" o \")}`;case\"too_big\":{let i=o.inclusive?\"com a m\\\\xE0xim\":\"menys de\",c=t(o.origin);return c?`Massa gran: s\\'esperava que ${o.origin??\"el valor\"} contingu\\\\xE9s ${i} ${o.maximum.toString()} ${c.unit??\"elements\"}`:`Massa gran: s\\'esperava que ${o.origin??\"el valor\"} fos ${i} ${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\"com a m\\\\xEDnim\":\"m\\\\xE9s de\",c=t(o.origin);return c?`Massa petit: s\\'esperava que ${o.origin} contingu\\\\xE9s ${i} ${o.minimum.toString()} ${c.unit}`:`Massa petit: s\\'esperava que ${o.origin} fos ${i} ${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Format inv\\\\xE0lid: ha de comen\\\\xE7ar amb \"${i.prefix}\"`:i.format===\"ends_with\"?`Format inv\\\\xE0lid: ha d\\'acabar amb \"${i.suffix}\"`:i.format===\"includes\"?`Format inv\\\\xE0lid: ha d\\'incloure \"${i.includes}\"`:i.format===\"regex\"?`Format inv\\\\xE0lid: ha de coincidir amb el patr\\\\xF3 ${i.pattern}`:`Format inv\\\\xE0lid per a ${r[i.format]??o.format}`}case\"not_multiple_of\":return`N\\\\xFAmero inv\\\\xE0lid: ha de ser m\\\\xFAltiple de ${o.divisor}`;case\"unrecognized_keys\":return`Clau${o.keys.length>1?\"s\":\"\"} no reconeguda${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Clau inv\\\\xE0lida a ${o.origin}`;case\"invalid_union\":return\"Entrada inv\\\\xE0lida\";case\"invalid_element\":return`Element inv\\\\xE0lid a ${o.origin}`;default:return\"Entrada inv\\\\xE0lida\"}}}});function N$e(){return{localeError:evt()}}var evt,U$e=x(()=>{u();je();evt=()=>{let e={string:{unit:\"\\\\u067E\\\\u06CC\\\\u062A\",verb:\"\\\\u0628\\\\u06CE\\\\u062A\"},file:{unit:\"\\\\u0628\\\\u0627\\\\u06CC\\\\u062A\",verb:\"\\\\u0628\\\\u06CE\\\\u062A\"},array:{unit:\"\\\\u062F\\\\u0627\\\\u0646\\\\u06D5\",verb:\"\\\\u0628\\\\u06CE\\\\u062A\"},set:{unit:\"\\\\u062F\\\\u0627\\\\u0646\\\\u06D5\",verb:\"\\\\u0628\\\\u06CE\\\\u062A\"},map:{unit:\"\\\\u062F\\\\u0627\\\\u0646\\\\u06D5\",verb:\"\\\\u0628\\\\u06CE\\\\u062A\"}};function t(o){return e[o]??null}let r={regex:\"regex\",email:\"\\\\u0626\\\\u06CC\\\\u0645\\\\u06D5\\\\u06CC\\\\u06B5\",url:\"\\\\u0628\\\\u06D5\\\\u0633\\\\u062A\\\\u06D5\\\\u0631 (URL)\",emoji:\"\\\\u0626\\\\u06CC\\\\u0645\\\\u06C6\\\\u062C\\\\u06CC\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u0695\\\\u06CE\\\\u06A9\\\\u06D5\\\\u0648\\\\u062A \\\\u0648 \\\\u06A9\\\\u0627\\\\u062A\",date:\"\\\\u0695\\\\u06CE\\\\u06A9\\\\u06D5\\\\u0648\\\\u062A\",time:\"\\\\u06A9\\\\u0627\\\\u062A\",duration:\"\\\\u0645\\\\u0627\\\\u0648\\\\u06D5\",ipv4:\"\\\\u0646\\\\u0627\\\\u0648\\\\u0646\\\\u06CC\\\\u0634\\\\u0627\\\\u0646\\\\u06CC IPv4\",ipv6:\"\\\\u0646\\\\u0627\\\\u0648\\\\u0646\\\\u06CC\\\\u0634\\\\u0627\\\\u0646\\\\u06CC IPv6\",mac:\"\\\\u0646\\\\u0627\\\\u0648\\\\u0646\\\\u06CC\\\\u0634\\\\u0627\\\\u0646\\\\u06CC MAC\",cidrv4:\"\\\\u0645\\\\u06D5\\\\u0648\\\\u062F\\\\u0627\\\\u06CC IPv4\",cidrv6:\"\\\\u0645\\\\u06D5\\\\u0648\\\\u062F\\\\u0627\\\\u06CC IPv6\",base64:\"\\\\u062F\\\\u06D5\\\\u0642\\\\u06CC base64\",base64url:\"\\\\u062F\\\\u06D5\\\\u0642\\\\u06CC base64url\",json_string:\"\\\\u062F\\\\u06D5\\\\u0642\\\\u06CC JSON\",e164:\"\\\\u0698\\\\u0645\\\\u0627\\\\u0631\\\\u06D5\\\\u06CC E.164\",credit_card:\"\\\\u0698\\\\u0645\\\\u0627\\\\u0631\\\\u06D5\\\\u06CC \\\\u06A9\\\\u0627\\\\u0631\\\\u062A\\\\u06CC \\\\u06A9\\\\u0631\\\\u06CE\\\\u062F\\\\u06CC\\\\u062A\",currency_code:\"\\\\u06A9\\\\u06C6\\\\u062F\\\\u06CC \\\\u062F\\\\u0631\\\\u0627\\\\u0648\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u062A\\\\u06CE\\\\u06A9\\\\u0631\\\\u062F\\\\u06D5\"},n={nan:\"NaN\",string:\"\\\\u0646\\\\u0648\\\\u0648\\\\u0633\\\\u06CC\\\\u0646\",number:\"\\\\u0698\\\\u0645\\\\u0627\\\\u0631\\\\u06D5\",boolean:\"boolean\",array:\"array\",object:\"object\",date:\"\\\\u0695\\\\u06CE\\\\u06A9\\\\u06D5\\\\u0648\\\\u062A\",integer:\"\\\\u0698\\\\u0645\\\\u0627\\\\u0631\\\\u06D5\",float:\"\\\\u0698\\\\u0645\\\\u0627\\\\u0631\\\\u06D5\",null:\"null\",undefined:\"undefined\",function:\"function\",symbol:\"symbol\",unknown:\"unknown\",promise:\"promise\",void:\"void\",never:\"never\",map:\"map\",set:\"set\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c,f=[\"\\\\u0627\",\"\\\\u0648\",\"\\\\u06C6\",\"\\\\u0648\\\\u0648\",\"\\\\u06D5\",\"\\\\u06CC\",\"\\\\u06CE\"].some(h=>l.endsWith(h))?\"\\\\u06CC\\\\u06D5\":\"\\\\u06D5\",p=/^[a-zA-Z]+$/.test(l);return c===\"null\"||c===\"undefined\"?\"\\\\u062F\\\\u0627\\\\u0648\\\\u0627\\\\u06A9\\\\u0631\\\\u0627\\\\u0648\\\\u06D5\":`\\\\u0686\\\\u0627\\\\u0648\\\\u06D5\\\\u0695\\\\u0648\\\\u0627\\\\u0646\\\\u06A9\\\\u0631\\\\u0627\\\\u0648\\\\u06D5 ${i} \\\\u0628\\\\u06CE\\\\u062A\\\\u060C \\\\u0628\\\\u06D5\\\\u06B5\\\\u0627\\\\u0645 ${l}${p?\"\":f}`}case\"invalid_value\":return o.values.length===1?`\\\\u0628\\\\u06D5\\\\u0647\\\\u0627\\\\u06A9\\\\u06D5 \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0648\\\\u0633\\\\u062A\\\\u06D5: \\\\u0686\\\\u0627\\\\u0648\\\\u06D5\\\\u0695\\\\u0648\\\\u0627\\\\u0646\\\\u06A9\\\\u0631\\\\u0627\\\\u0648\\\\u06D5 ${_e(o.values[0])} \\\\u0628\\\\u06CE\\\\u062A`:`\\\\u0647\\\\u06D5\\\\u06B5\\\\u0628\\\\u0698\\\\u0627\\\\u0631\\\\u062F\\\\u06D5\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A: \\\\u0686\\\\u0627\\\\u0648\\\\u06D5\\\\u0695\\\\u0648\\\\u0627\\\\u0646\\\\u06A9\\\\u0631\\\\u0627\\\\u0648\\\\u06D5 \\\\u06CC\\\\u06D5\\\\u06A9\\\\u06CE\\\\u06A9 \\\\u0628\\\\u06CE\\\\u062A \\\\u0644\\\\u06D5 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=t(o.origin);return i?`\\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \\\\u0628\\\\u06D5 \\\\u0644\\\\u0627\\\\u06CC\\\\u06D5\\\\u0646\\\\u06CC \\\\u0632\\\\u06C6\\\\u0631\\\\u06D5\\\\u0648\\\\u06D5 ${o.maximum.toString()} ${i.unit} ${i.verb}`:`\\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \\\\u0628\\\\u06D5 \\\\u0644\\\\u0627\\\\u06CC\\\\u06D5\\\\u0646\\\\u06CC \\\\u0632\\\\u06C6\\\\u0631\\\\u06D5\\\\u0648\\\\u06D5 ${o.maximum.toString()} \\\\u0628\\\\u06CE\\\\u062A`}case\"too_small\":{let i=t(o.origin);return i?`\\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \\\\u0628\\\\u06D5 \\\\u0644\\\\u0627\\\\u06CC\\\\u06D5\\\\u0646\\\\u06CC \\\\u06A9\\\\u06D5\\\\u0645\\\\u06D5\\\\u0648\\\\u06D5 ${o.minimum.toString()} ${i.unit} ${i.verb}`:`\\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \\\\u0628\\\\u06D5 \\\\u0644\\\\u0627\\\\u06CC\\\\u06D5\\\\u0646\\\\u06CC \\\\u06A9\\\\u06D5\\\\u0645\\\\u06D5\\\\u0648\\\\u06D5 ${o.minimum.toString()} \\\\u0628\\\\u06CE\\\\u062A`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u062F\\\\u06D5\\\\u0642\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A: \\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \\\\u062F\\\\u06D5\\\\u0633\\\\u062A\\\\u067E\\\\u06CE\\\\u0628\\\\u06A9\\\\u0627\\\\u062A \\\\u0628\\\\u06D5 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u062F\\\\u06D5\\\\u0642\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A: \\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \\\\u06A9\\\\u06C6\\\\u062A\\\\u0627\\\\u06CC\\\\u06CC\\\\u0628\\\\u06CE\\\\u062A \\\\u0628\\\\u06D5 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u062F\\\\u06D5\\\\u0642\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A: \\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \"${i.includes}\" \\\\u0644\\\\u06D5\\\\u062E\\\\u06C6\\\\u0628\\\\u06AF\\\\u0631\\\\u06CE\\\\u062A`:i.format===\"regex\"?`\\\\u062F\\\\u06D5\\\\u0642\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A: \\\\u067E\\\\u06CE\\\\u0648\\\\u06CC\\\\u0633\\\\u062A\\\\u06D5 \\\\u0644\\\\u06D5\\\\u06AF\\\\u06D5\\\\u06B5 \\\\u067E\\\\u0627\\\\u062A\\\\u06CE\\\\u0631\\\\u0646\\\\u06CC ${i.pattern} \\\\u0628\\\\u06AF\\\\u0648\\\\u0646\\\\u062C\\\\u06CE\\\\u062A`:`\\\\u0628\\\\u06D5\\\\u0647\\\\u0627\\\\u06CC ${r[i.format]??o.format} \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A\\\\u06D5`}case\"not_multiple_of\":return`\\\\u0698\\\\u0645\\\\u0627\\\\u0631\\\\u06D5\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A: \\\\u062F\\\\u06D5\\\\u0628\\\\u06CE\\\\u062A \\\\u0686\\\\u06D5\\\\u0646\\\\u062F \\\\u0647\\\\u06CE\\\\u0646\\\\u062F\\\\u06D5 \\\\u0628\\\\u06CE\\\\u062A \\\\u0628\\\\u06C6 ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u06A9\\\\u0644\\\\u06CC\\\\u0644\\\\u06CC \\\\u0646\\\\u06D5\\\\u0646\\\\u0627\\\\u0633\\\\u0631\\\\u0627\\\\u0648: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u06A9\\\\u0644\\\\u06CC\\\\u0644\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A \\\\u0644\\\\u06D5 ${o.origin}`;case\"invalid_union\":return o.options&&Array.isArray(o.options)&&o.options.length>0?`\\\\u0628\\\\u06D5\\\\u0647\\\\u0627\\\\u06CC \\\\u0646\\\\u06D5\\\\u0646\\\\u0627\\\\u0633\\\\u0631\\\\u0627\\\\u0648 \\\\u0647\\\\u06D5\\\\u06CC\\\\u06D5. \\\\u0628\\\\u06D5\\\\u0647\\\\u0627\\\\u06CC \\\\u0686\\\\u0627\\\\u0648\\\\u06D5\\\\u0695\\\\u0648\\\\u0627\\\\u0646\\\\u06A9\\\\u0631\\\\u0627\\\\u0648: ${o.options.map(c=>`\\'${c}\\'`).join(\" | \")}`:\"\\\\u06CC\\\\u06D5\\\\u06A9\\\\u06AF\\\\u0631\\\\u062A\\\\u0646\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A\";case\"invalid_element\":return`${o.origin} \\\\u0628\\\\u06D5\\\\u0647\\\\u0627\\\\u06A9\\\\u06D5 \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A\\\\u06D5`;default:return\"\\\\u062A\\\\u06CE\\\\u06A9\\\\u0631\\\\u062F\\\\u06D5\\\\u06CC \\\\u0646\\\\u0627\\\\u062F\\\\u0631\\\\u0648\\\\u0633\\\\u062A\"}}}});function $$e(){return{localeError:tvt()}}var tvt,z$e=x(()=>{u();je();tvt=()=>{let e={string:{unit:\"znak\\\\u016F\",verb:\"m\\\\xEDt\"},file:{unit:\"bajt\\\\u016F\",verb:\"m\\\\xEDt\"},array:{unit:\"prvk\\\\u016F\",verb:\"m\\\\xEDt\"},set:{unit:\"prvk\\\\u016F\",verb:\"m\\\\xEDt\"},map:{unit:\"prvk\\\\u016F\",verb:\"m\\\\xEDt\"}};function t(o){return e[o]??null}let r={regex:\"regul\\\\xE1rn\\\\xED v\\\\xFDraz\",email:\"e-mailov\\\\xE1 adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"datum a \\\\u010Das ve form\\\\xE1tu ISO\",date:\"datum ve form\\\\xE1tu ISO\",time:\"\\\\u010Das ve form\\\\xE1tu ISO\",duration:\"doba trv\\\\xE1n\\\\xED ISO\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"rozsah IPv4\",cidrv6:\"rozsah IPv6\",base64:\"\\\\u0159et\\\\u011Bzec zak\\\\xF3dovan\\\\xFD ve form\\\\xE1tu base64\",base64url:\"\\\\u0159et\\\\u011Bzec zak\\\\xF3dovan\\\\xFD ve form\\\\xE1tu base64url\",json_string:\"\\\\u0159et\\\\u011Bzec ve form\\\\xE1tu JSON\",e164:\"\\\\u010D\\\\xEDslo E.164\",credit_card:\"\\\\u010D\\\\xEDslo kreditn\\\\xED karty\",currency_code:\"k\\\\xF3d m\\\\u011Bny\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vstup\"},n={nan:\"NaN\",number:\"\\\\u010D\\\\xEDslo\",string:\"\\\\u0159et\\\\u011Bzec\",function:\"funkce\",array:\"pole\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Neplatn\\\\xFD vstup: o\\\\u010Dek\\\\xE1v\\\\xE1no instanceof ${o.expected}, obdr\\\\u017Eeno ${l}`:`Neplatn\\\\xFD vstup: o\\\\u010Dek\\\\xE1v\\\\xE1no ${i}, obdr\\\\u017Eeno ${l}`}case\"invalid_value\":return o.values.length===1?`Neplatn\\\\xFD vstup: o\\\\u010Dek\\\\xE1v\\\\xE1no ${_e(o.values[0])}`:`Neplatn\\\\xE1 mo\\\\u017Enost: o\\\\u010Dek\\\\xE1v\\\\xE1na jedna z hodnot ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Hodnota je p\\\\u0159\\\\xEDli\\\\u0161 velk\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED m\\\\xEDt ${i}${o.maximum.toString()} ${c.unit??\"prvk\\\\u016F\"}`:`Hodnota je p\\\\u0159\\\\xEDli\\\\u0161 velk\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED b\\\\xFDt ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Hodnota je p\\\\u0159\\\\xEDli\\\\u0161 mal\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED m\\\\xEDt ${i}${o.minimum.toString()} ${c.unit??\"prvk\\\\u016F\"}`:`Hodnota je p\\\\u0159\\\\xEDli\\\\u0161 mal\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED b\\\\xFDt ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Neplatn\\\\xFD \\\\u0159et\\\\u011Bzec: mus\\\\xED za\\\\u010D\\\\xEDnat na \"${i.prefix}\"`:i.format===\"ends_with\"?`Neplatn\\\\xFD \\\\u0159et\\\\u011Bzec: mus\\\\xED kon\\\\u010Dit na \"${i.suffix}\"`:i.format===\"includes\"?`Neplatn\\\\xFD \\\\u0159et\\\\u011Bzec: mus\\\\xED obsahovat \"${i.includes}\"`:i.format===\"regex\"?`Neplatn\\\\xFD \\\\u0159et\\\\u011Bzec: mus\\\\xED odpov\\\\xEDdat vzoru ${i.pattern}`:`Neplatn\\\\xFD form\\\\xE1t ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Neplatn\\\\xE9 \\\\u010D\\\\xEDslo: mus\\\\xED b\\\\xFDt n\\\\xE1sobkem ${o.divisor}`;case\"unrecognized_keys\":return`Nezn\\\\xE1m\\\\xE9 kl\\\\xED\\\\u010De: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Neplatn\\\\xFD kl\\\\xED\\\\u010D v ${o.origin}`;case\"invalid_union\":return\"Neplatn\\\\xFD vstup\";case\"invalid_element\":return`Neplatn\\\\xE1 hodnota v ${o.origin}`;default:return\"Neplatn\\\\xFD vstup\"}}}});function L$e(){return{localeError:rvt()}}var rvt,H$e=x(()=>{u();je();rvt=()=>{let e={string:{unit:\"tegn\",verb:\"havde\"},file:{unit:\"bytes\",verb:\"havde\"},array:{unit:\"elementer\",verb:\"indeholdt\"},set:{unit:\"elementer\",verb:\"indeholdt\"},map:{unit:\"elementer\",verb:\"indeholdt\"}};function t(o){return e[o]??null}let r={regex:\"input\",email:\"e-mailadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkesl\\\\xE6t\",date:\"ISO-dato\",time:\"ISO-klokkesl\\\\xE6t\",duration:\"ISO-varighed\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spektrum\",cidrv6:\"IPv6-spektrum\",base64:\"base64-kodet streng\",base64url:\"base64url-kodet streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kreditkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\",string:\"streng\",number:\"tal\",boolean:\"boolean\",array:\"liste\",object:\"objekt\",set:\"s\\\\xE6t\",file:\"fil\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Ugyldigt input: forventede instanceof ${o.expected}, fik ${l}`:`Ugyldigt input: forventede ${i}, fik ${l}`}case\"invalid_value\":return o.values.length===1?`Ugyldig v\\\\xE6rdi: forventede ${_e(o.values[0])}`:`Ugyldigt valg: forventede en af f\\\\xF8lgende ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin),l=n[o.origin]??o.origin;return c?`For stor: forventede ${l??\"value\"} ${c.verb} ${i} ${o.maximum.toString()} ${c.unit??\"elementer\"}`:`For stor: forventede ${l??\"value\"} havde ${i} ${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin),l=n[o.origin]??o.origin;return c?`For lille: forventede ${l} ${c.verb} ${i} ${o.minimum.toString()} ${c.unit}`:`For lille: forventede ${l} havde ${i} ${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Ugyldig streng: skal starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: skal ende med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: skal indeholde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: skal matche m\\\\xF8nsteret ${i.pattern}`:`Ugyldig ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Ugyldigt tal: skal v\\\\xE6re deleligt med ${o.divisor}`;case\"unrecognized_keys\":return`${o.keys.length>1?\"Ukendte n\\\\xF8gler\":\"Ukendt n\\\\xF8gle\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\\\xF8gle i ${o.origin}`;case\"invalid_union\":return\"Ugyldigt input: matcher ingen af de tilladte typer\";case\"invalid_element\":return`Ugyldig v\\\\xE6rdi i ${o.origin}`;default:return\"Ugyldigt input\"}}}});function j$e(){return{localeError:nvt()}}var nvt,F$e=x(()=>{u();je();nvt=()=>{let e={string:{unit:\"Zeichen\",verb:\"zu haben\"},file:{unit:\"Bytes\",verb:\"zu haben\"},array:{unit:\"Elemente\",verb:\"zu haben\"},set:{unit:\"Elemente\",verb:\"zu haben\"},map:{unit:\"Elemente\",verb:\"zu haben\"}};function t(o){return e[o]??null}let r={regex:\"Eingabe\",email:\"E-Mail-Adresse\",url:\"URL\",emoji:\"Emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-Datum und -Uhrzeit\",date:\"ISO-Datum\",time:\"ISO-Uhrzeit\",duration:\"ISO-Dauer\",ipv4:\"IPv4-Adresse\",ipv6:\"IPv6-Adresse\",mac:\"MAC-Adresse\",cidrv4:\"IPv4-Bereich\",cidrv6:\"IPv6-Bereich\",base64:\"Base64-codierter String\",base64url:\"Base64-URL-codierter String\",json_string:\"JSON-String\",e164:\"E.164-Nummer\",credit_card:\"Kreditkartennummer\",currency_code:\"W\\\\xE4hrungscode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"Eingabe\"},n={nan:\"NaN\",number:\"Zahl\",array:\"Array\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Ung\\\\xFCltige Eingabe: erwartet instanceof ${o.expected}, erhalten ${l}`:`Ung\\\\xFCltige Eingabe: erwartet ${i}, erhalten ${l}`}case\"invalid_value\":return o.values.length===1?`Ung\\\\xFCltige Eingabe: erwartet ${_e(o.values[0])}`:`Ung\\\\xFCltige Option: erwartet eine von ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Zu gro\\\\xDF: erwartet, dass ${o.origin??\"Wert\"} ${i}${o.maximum.toString()} ${c.unit??\"Elemente\"} hat`:`Zu gro\\\\xDF: erwartet, dass ${o.origin??\"Wert\"} ${i}${o.maximum.toString()} ist`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Zu klein: erwartet, dass ${o.origin} ${i}${o.minimum.toString()} ${c.unit} hat`:`Zu klein: erwartet, dass ${o.origin} ${i}${o.minimum.toString()} ist`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Ung\\\\xFCltiger String: muss mit \"${i.prefix}\" beginnen`:i.format===\"ends_with\"?`Ung\\\\xFCltiger String: muss mit \"${i.suffix}\" enden`:i.format===\"includes\"?`Ung\\\\xFCltiger String: muss \"${i.includes}\" enthalten`:i.format===\"regex\"?`Ung\\\\xFCltiger String: muss dem Muster ${i.pattern} entsprechen`:`Ung\\\\xFCltig: ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Ung\\\\xFCltige Zahl: muss ein Vielfaches von ${o.divisor} sein`;case\"unrecognized_keys\":return`${o.keys.length>1?\"Unbekannte Schl\\\\xFCssel\":\"Unbekannter Schl\\\\xFCssel\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Ung\\\\xFCltiger Schl\\\\xFCssel in ${o.origin}`;case\"invalid_union\":return\"Ung\\\\xFCltige Eingabe\";case\"invalid_element\":return`Ung\\\\xFCltiger Wert in ${o.origin}`;default:return\"Ung\\\\xFCltige Eingabe\"}}}});function V$e(){return{localeError:ovt()}}var ovt,q$e=x(()=>{u();je();ovt=()=>{let e={string:{unit:\"\\\\u03C7\\\\u03B1\\\\u03C1\\\\u03B1\\\\u03BA\\\\u03C4\\\\u03AE\\\\u03C1\\\\u03B5\\\\u03C2\",verb:\"\\\\u03BD\\\\u03B1 \\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9\"},file:{unit:\"bytes\",verb:\"\\\\u03BD\\\\u03B1 \\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9\"},array:{unit:\"\\\\u03C3\\\\u03C4\\\\u03BF\\\\u03B9\\\\u03C7\\\\u03B5\\\\u03AF\\\\u03B1\",verb:\"\\\\u03BD\\\\u03B1 \\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9\"},set:{unit:\"\\\\u03C3\\\\u03C4\\\\u03BF\\\\u03B9\\\\u03C7\\\\u03B5\\\\u03AF\\\\u03B1\",verb:\"\\\\u03BD\\\\u03B1 \\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9\"},map:{unit:\"\\\\u03BA\\\\u03B1\\\\u03C4\\\\u03B1\\\\u03C7\\\\u03C9\\\\u03C1\\\\u03AE\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C2\",verb:\"\\\\u03BD\\\\u03B1 \\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u03B5\\\\u03AF\\\\u03C3\\\\u03BF\\\\u03B4\\\\u03BF\\\\u03C2\",email:\"\\\\u03B4\\\\u03B9\\\\u03B5\\\\u03CD\\\\u03B8\\\\u03C5\\\\u03BD\\\\u03C3\\\\u03B7 email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u03B7\\\\u03BC\\\\u03B5\\\\u03C1\\\\u03BF\\\\u03BC\\\\u03B7\\\\u03BD\\\\u03AF\\\\u03B1 \\\\u03BA\\\\u03B1\\\\u03B9 \\\\u03CE\\\\u03C1\\\\u03B1\",date:\"ISO \\\\u03B7\\\\u03BC\\\\u03B5\\\\u03C1\\\\u03BF\\\\u03BC\\\\u03B7\\\\u03BD\\\\u03AF\\\\u03B1\",time:\"ISO \\\\u03CE\\\\u03C1\\\\u03B1\",duration:\"ISO \\\\u03B4\\\\u03B9\\\\u03AC\\\\u03C1\\\\u03BA\\\\u03B5\\\\u03B9\\\\u03B1\",ipv4:\"\\\\u03B4\\\\u03B9\\\\u03B5\\\\u03CD\\\\u03B8\\\\u03C5\\\\u03BD\\\\u03C3\\\\u03B7 IPv4\",ipv6:\"\\\\u03B4\\\\u03B9\\\\u03B5\\\\u03CD\\\\u03B8\\\\u03C5\\\\u03BD\\\\u03C3\\\\u03B7 IPv6\",mac:\"\\\\u03B4\\\\u03B9\\\\u03B5\\\\u03CD\\\\u03B8\\\\u03C5\\\\u03BD\\\\u03C3\\\\u03B7 MAC\",cidrv4:\"\\\\u03B5\\\\u03CD\\\\u03C1\\\\u03BF\\\\u03C2 IPv4\",cidrv6:\"\\\\u03B5\\\\u03CD\\\\u03C1\\\\u03BF\\\\u03C2 IPv6\",base64:\"\\\\u03C3\\\\u03C5\\\\u03BC\\\\u03B2\\\\u03BF\\\\u03BB\\\\u03BF\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C1\\\\u03AC \\\\u03BA\\\\u03C9\\\\u03B4\\\\u03B9\\\\u03BA\\\\u03BF\\\\u03C0\\\\u03BF\\\\u03B9\\\\u03B7\\\\u03BC\\\\u03AD\\\\u03BD\\\\u03B7 \\\\u03C3\\\\u03B5 base64\",base64url:\"\\\\u03C3\\\\u03C5\\\\u03BC\\\\u03B2\\\\u03BF\\\\u03BB\\\\u03BF\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C1\\\\u03AC \\\\u03BA\\\\u03C9\\\\u03B4\\\\u03B9\\\\u03BA\\\\u03BF\\\\u03C0\\\\u03BF\\\\u03B9\\\\u03B7\\\\u03BC\\\\u03AD\\\\u03BD\\\\u03B7 \\\\u03C3\\\\u03B5 base64url\",json_string:\"\\\\u03C3\\\\u03C5\\\\u03BC\\\\u03B2\\\\u03BF\\\\u03BB\\\\u03BF\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C1\\\\u03AC JSON\",e164:\"\\\\u03B1\\\\u03C1\\\\u03B9\\\\u03B8\\\\u03BC\\\\u03CC\\\\u03C2 E.164\",credit_card:\"\\\\u03B1\\\\u03C1\\\\u03B9\\\\u03B8\\\\u03BC\\\\u03CC\\\\u03C2 \\\\u03C0\\\\u03B9\\\\u03C3\\\\u03C4\\\\u03C9\\\\u03C4\\\\u03B9\\\\u03BA\\\\u03AE\\\\u03C2 \\\\u03BA\\\\u03AC\\\\u03C1\\\\u03C4\\\\u03B1\\\\u03C2\",currency_code:\"\\\\u03BA\\\\u03C9\\\\u03B4\\\\u03B9\\\\u03BA\\\\u03CC\\\\u03C2 \\\\u03BD\\\\u03BF\\\\u03BC\\\\u03AF\\\\u03C3\\\\u03BC\\\\u03B1\\\\u03C4\\\\u03BF\\\\u03C2\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u03B5\\\\u03AF\\\\u03C3\\\\u03BF\\\\u03B4\\\\u03BF\\\\u03C2\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return typeof o.expected==\"string\"&&/^[A-Z]/.test(o.expected)?`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03B5\\\\u03AF\\\\u03C3\\\\u03BF\\\\u03B4\\\\u03BF\\\\u03C2: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD instanceof ${o.expected}, \\\\u03BB\\\\u03AE\\\\u03C6\\\\u03B8\\\\u03B7\\\\u03BA\\\\u03B5 ${l}`:`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03B5\\\\u03AF\\\\u03C3\\\\u03BF\\\\u03B4\\\\u03BF\\\\u03C2: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD ${i}, \\\\u03BB\\\\u03AE\\\\u03C6\\\\u03B8\\\\u03B7\\\\u03BA\\\\u03B5 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03B5\\\\u03AF\\\\u03C3\\\\u03BF\\\\u03B4\\\\u03BF\\\\u03C2: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD ${_e(o.values[0])}`:`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03B5\\\\u03C0\\\\u03B9\\\\u03BB\\\\u03BF\\\\u03B3\\\\u03AE: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD \\\\u03AD\\\\u03BD\\\\u03B1 \\\\u03B1\\\\u03C0\\\\u03CC ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u03A0\\\\u03BF\\\\u03BB\\\\u03CD \\\\u03BC\\\\u03B5\\\\u03B3\\\\u03AC\\\\u03BB\\\\u03BF: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD ${o.origin??\"\\\\u03C4\\\\u03B9\\\\u03BC\\\\u03AE\"} \\\\u03BD\\\\u03B1 \\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9 ${i}${o.maximum.toString()} ${c.unit??\"\\\\u03C3\\\\u03C4\\\\u03BF\\\\u03B9\\\\u03C7\\\\u03B5\\\\u03AF\\\\u03B1\"}`:`\\\\u03A0\\\\u03BF\\\\u03BB\\\\u03CD \\\\u03BC\\\\u03B5\\\\u03B3\\\\u03AC\\\\u03BB\\\\u03BF: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD ${o.origin??\"\\\\u03C4\\\\u03B9\\\\u03BC\\\\u03AE\"} \\\\u03BD\\\\u03B1 \\\\u03B5\\\\u03AF\\\\u03BD\\\\u03B1\\\\u03B9 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u03A0\\\\u03BF\\\\u03BB\\\\u03CD \\\\u03BC\\\\u03B9\\\\u03BA\\\\u03C1\\\\u03CC: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD ${o.origin} \\\\u03BD\\\\u03B1 \\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9 ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u03A0\\\\u03BF\\\\u03BB\\\\u03CD \\\\u03BC\\\\u03B9\\\\u03BA\\\\u03C1\\\\u03CC: \\\\u03B1\\\\u03BD\\\\u03B1\\\\u03BC\\\\u03B5\\\\u03BD\\\\u03CC\\\\u03C4\\\\u03B1\\\\u03BD ${o.origin} \\\\u03BD\\\\u03B1 \\\\u03B5\\\\u03AF\\\\u03BD\\\\u03B1\\\\u03B9 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03C3\\\\u03C5\\\\u03BC\\\\u03B2\\\\u03BF\\\\u03BB\\\\u03BF\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C1\\\\u03AC: \\\\u03C0\\\\u03C1\\\\u03AD\\\\u03C0\\\\u03B5\\\\u03B9 \\\\u03BD\\\\u03B1 \\\\u03BE\\\\u03B5\\\\u03BA\\\\u03B9\\\\u03BD\\\\u03AC \\\\u03BC\\\\u03B5 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03C3\\\\u03C5\\\\u03BC\\\\u03B2\\\\u03BF\\\\u03BB\\\\u03BF\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C1\\\\u03AC: \\\\u03C0\\\\u03C1\\\\u03AD\\\\u03C0\\\\u03B5\\\\u03B9 \\\\u03BD\\\\u03B1 \\\\u03C4\\\\u03B5\\\\u03BB\\\\u03B5\\\\u03B9\\\\u03CE\\\\u03BD\\\\u03B5\\\\u03B9 \\\\u03BC\\\\u03B5 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03C3\\\\u03C5\\\\u03BC\\\\u03B2\\\\u03BF\\\\u03BB\\\\u03BF\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C1\\\\u03AC: \\\\u03C0\\\\u03C1\\\\u03AD\\\\u03C0\\\\u03B5\\\\u03B9 \\\\u03BD\\\\u03B1 \\\\u03C0\\\\u03B5\\\\u03C1\\\\u03B9\\\\u03AD\\\\u03C7\\\\u03B5\\\\u03B9 \"${i.includes}\"`:i.format===\"regex\"?`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03C3\\\\u03C5\\\\u03BC\\\\u03B2\\\\u03BF\\\\u03BB\\\\u03BF\\\\u03C3\\\\u03B5\\\\u03B9\\\\u03C1\\\\u03AC: \\\\u03C0\\\\u03C1\\\\u03AD\\\\u03C0\\\\u03B5\\\\u03B9 \\\\u03BD\\\\u03B1 \\\\u03C4\\\\u03B1\\\\u03B9\\\\u03C1\\\\u03B9\\\\u03AC\\\\u03B6\\\\u03B5\\\\u03B9 \\\\u03BC\\\\u03B5 \\\\u03C4\\\\u03BF \\\\u03BC\\\\u03BF\\\\u03C4\\\\u03AF\\\\u03B2\\\\u03BF ${i.pattern}`:`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03BF: ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03BF\\\\u03C2 \\\\u03B1\\\\u03C1\\\\u03B9\\\\u03B8\\\\u03BC\\\\u03CC\\\\u03C2: \\\\u03C0\\\\u03C1\\\\u03AD\\\\u03C0\\\\u03B5\\\\u03B9 \\\\u03BD\\\\u03B1 \\\\u03B5\\\\u03AF\\\\u03BD\\\\u03B1\\\\u03B9 \\\\u03C0\\\\u03BF\\\\u03BB\\\\u03BB\\\\u03B1\\\\u03C0\\\\u03BB\\\\u03AC\\\\u03C3\\\\u03B9\\\\u03BF \\\\u03C4\\\\u03BF\\\\u03C5 ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u0386\\\\u03B3\\\\u03BD\\\\u03C9\\\\u03C3\\\\u03C4${o.keys.length>1?\"\\\\u03B1\":\"\\\\u03BF\"} \\\\u03BA\\\\u03BB\\\\u03B5\\\\u03B9\\\\u03B4${o.keys.length>1?\"\\\\u03B9\\\\u03AC\":\"\\\\u03AF\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03BF \\\\u03BA\\\\u03BB\\\\u03B5\\\\u03B9\\\\u03B4\\\\u03AF \\\\u03C3\\\\u03C4\\\\u03BF ${o.origin}`;case\"invalid_union\":return\"\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03B5\\\\u03AF\\\\u03C3\\\\u03BF\\\\u03B4\\\\u03BF\\\\u03C2\";case\"invalid_element\":return`\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03C4\\\\u03B9\\\\u03BC\\\\u03AE \\\\u03C3\\\\u03C4\\\\u03BF ${o.origin}`;default:return\"\\\\u039C\\\\u03B7 \\\\u03AD\\\\u03B3\\\\u03BA\\\\u03C5\\\\u03C1\\\\u03B7 \\\\u03B5\\\\u03AF\\\\u03C3\\\\u03BF\\\\u03B4\\\\u03BF\\\\u03C2\"}}}});function KO(){return{localeError:ivt()}}var ivt,uW=x(()=>{u();je();ivt=()=>{let e={string:{unit:\"characters\",verb:\"to have\"},file:{unit:\"bytes\",verb:\"to have\"},array:{unit:\"items\",verb:\"to have\"},set:{unit:\"items\",verb:\"to have\"},map:{unit:\"entries\",verb:\"to have\"}};function t(i){return e[i]??null}let r={regex:\"input\",email:\"email address\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datetime\",date:\"ISO date\",time:\"ISO time\",duration:\"ISO duration\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded string\",base64url:\"base64url-encoded string\",json_string:\"JSON string\",e164:\"E.164 number\",currency_code:\"currency code\",credit_card:\"credit card number\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\"};function o(i,c){return i===\"number\"&&typeof c==\"number\"&&!Number.isFinite(c)?String(c):n[i]??i}return i=>{switch(i.code){case\"invalid_type\":{let c=o(i.expected),l=Se(i.input),f=o(l,i.input);return`Invalid input: expected ${c}, received ${f}`}case\"invalid_value\":return i.values.length===1?`Invalid input: expected ${_e(i.values[0])}`:`Invalid option: expected one of ${pe(i.values,\"|\")}`;case\"too_big\":{let c=i.exact?\"exactly \":i.inclusive?\"<=\":\"<\",l=t(i.origin);return l?`Too big: expected ${i.origin??\"value\"} to have ${c}${i.maximum.toString()} ${l.unit??\"elements\"}`:`Too big: expected ${i.origin??\"value\"} to be ${c}${i.maximum.toString()}`}case\"too_small\":{let c=i.exact?\"exactly \":i.inclusive?\">=\":\">\",l=t(i.origin);return l?`Too small: expected ${i.origin} to have ${c}${i.minimum.toString()} ${l.unit}`:`Too small: expected ${i.origin} to be ${c}${i.minimum.toString()}`}case\"invalid_format\":{let c=i;return c.format===\"starts_with\"?`Invalid string: must start with \"${c.prefix}\"`:c.format===\"ends_with\"?`Invalid string: must end with \"${c.suffix}\"`:c.format===\"includes\"?`Invalid string: must include \"${c.includes}\"`:c.format===\"regex\"?`Invalid string: must match pattern ${c.pattern}`:`Invalid ${r[c.format]??i.format}`}case\"not_multiple_of\":return`Invalid number: must be a multiple of ${i.divisor}`;case\"unrecognized_keys\":return`Unrecognized key${i.keys.length>1?\"s\":\"\"}: ${pe(i.keys,\", \")}`;case\"invalid_key\":return`Invalid key in ${i.origin}`;case\"invalid_union\":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(l=>`\\'${l}\\'`).join(\" | \")}`:i.inclusive===!1?\"Invalid input: more than one option matched\":\"Invalid input\";case\"invalid_element\":return`Invalid value in ${i.origin}`;default:return\"Invalid input\"}}}});function G$e(){return{localeError:avt()}}var avt,K$e=x(()=>{u();je();avt=()=>{let e={string:{unit:\"karaktrojn\",verb:\"havi\"},file:{unit:\"bajtojn\",verb:\"havi\"},array:{unit:\"elementojn\",verb:\"havi\"},set:{unit:\"elementojn\",verb:\"havi\"},map:{unit:\"elementojn\",verb:\"havi\"}};function t(o){return e[o]??null}let r={regex:\"enigo\",email:\"retadreso\",url:\"URL\",emoji:\"emo\\\\u011Dio\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-datotempo\",date:\"ISO-dato\",time:\"ISO-tempo\",duration:\"ISO-da\\\\u016Dro\",ipv4:\"IPv4-adreso\",ipv6:\"IPv6-adreso\",mac:\"MAC-adreso\",cidrv4:\"IPv4-rango\",cidrv6:\"IPv6-rango\",base64:\"64-ume kodita karaktraro\",base64url:\"URL-64-ume kodita karaktraro\",json_string:\"JSON-karaktraro\",e164:\"E.164-nombro\",credit_card:\"kreditkarta numero\",currency_code:\"valuta kodo\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"enigo\"},n={nan:\"NaN\",number:\"nombro\",array:\"tabelo\",null:\"senvalora\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Nevalida enigo: atendi\\\\u011Dis instanceof ${o.expected}, ricevi\\\\u011Dis ${l}`:`Nevalida enigo: atendi\\\\u011Dis ${i}, ricevi\\\\u011Dis ${l}`}case\"invalid_value\":return o.values.length===1?`Nevalida enigo: atendi\\\\u011Dis ${_e(o.values[0])}`:`Nevalida opcio: atendi\\\\u011Dis unu el ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Tro granda: atendi\\\\u011Dis ke ${o.origin??\"valoro\"} havu ${i}${o.maximum.toString()} ${c.unit??\"elementojn\"}`:`Tro granda: atendi\\\\u011Dis ke ${o.origin??\"valoro\"} havu ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Tro malgranda: atendi\\\\u011Dis ke ${o.origin} havu ${i}${o.minimum.toString()} ${c.unit}`:`Tro malgranda: atendi\\\\u011Dis ke ${o.origin} estu ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Nevalida karaktraro: devas komenci\\\\u011Di per \"${i.prefix}\"`:i.format===\"ends_with\"?`Nevalida karaktraro: devas fini\\\\u011Di per \"${i.suffix}\"`:i.format===\"includes\"?`Nevalida karaktraro: devas inkluzivi \"${i.includes}\"`:i.format===\"regex\"?`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`:`Nevalida ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Nevalida nombro: devas esti oblo de ${o.divisor}`;case\"unrecognized_keys\":return`Nekonata${o.keys.length>1?\"j\":\"\"} \\\\u015Dlosilo${o.keys.length>1?\"j\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Nevalida \\\\u015Dlosilo en ${o.origin}`;case\"invalid_union\":return\"Nevalida enigo\";case\"invalid_element\":return`Nevalida valoro en ${o.origin}`;default:return\"Nevalida enigo\"}}}});function Z$e(){return{localeError:svt()}}var svt,W$e=x(()=>{u();je();svt=()=>{let e={string:{unit:\"caracteres\",verb:\"tener\"},file:{unit:\"bytes\",verb:\"tener\"},array:{unit:\"elementos\",verb:\"tener\"},set:{unit:\"elementos\",verb:\"tener\"}};function t(o){return e[o]??null}let r={regex:\"entrada\",email:\"direcci\\\\xF3n de correo electr\\\\xF3nico\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"fecha y hora ISO\",date:\"fecha ISO\",time:\"hora ISO\",duration:\"duraci\\\\xF3n ISO\",ipv4:\"direcci\\\\xF3n IPv4\",ipv6:\"direcci\\\\xF3n IPv6\",mac:\"direcci\\\\xF3n MAC\",cidrv4:\"rango IPv4\",cidrv6:\"rango IPv6\",base64:\"cadena codificada en base64\",base64url:\"URL codificada en base64\",json_string:\"cadena JSON\",e164:\"n\\\\xFAmero E.164\",credit_card:\"n\\\\xFAmero de tarjeta de cr\\\\xE9dito\",currency_code:\"c\\\\xF3digo de moneda\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entrada\"},n={nan:\"NaN\",string:\"texto\",number:\"n\\\\xFAmero\",boolean:\"booleano\",array:\"arreglo\",object:\"objeto\",set:\"conjunto\",file:\"archivo\",date:\"fecha\",bigint:\"n\\\\xFAmero grande\",symbol:\"s\\\\xEDmbolo\",undefined:\"indefinido\",null:\"nulo\",function:\"funci\\\\xF3n\",map:\"mapa\",record:\"registro\",tuple:\"tupla\",enum:\"enumeraci\\\\xF3n\",union:\"uni\\\\xF3n\",literal:\"literal\",promise:\"promesa\",void:\"vac\\\\xEDo\",never:\"nunca\",unknown:\"desconocido\",any:\"cualquiera\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Entrada inv\\\\xE1lida: se esperaba instanceof ${o.expected}, recibido ${l}`:`Entrada inv\\\\xE1lida: se esperaba ${i}, recibido ${l}`}case\"invalid_value\":return o.values.length===1?`Entrada inv\\\\xE1lida: se esperaba ${_e(o.values[0])}`:`Opci\\\\xF3n inv\\\\xE1lida: se esperaba una de ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin),l=n[o.origin]??o.origin;return c?`Demasiado grande: se esperaba que ${l??\"valor\"} tuviera ${i}${o.maximum.toString()} ${c.unit??\"elementos\"}`:`Demasiado grande: se esperaba que ${l??\"valor\"} fuera ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin),l=n[o.origin]??o.origin;return c?`Demasiado peque\\\\xF1o: se esperaba que ${l} tuviera ${i}${o.minimum.toString()} ${c.unit}`:`Demasiado peque\\\\xF1o: se esperaba que ${l} fuera ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Cadena inv\\\\xE1lida: debe comenzar con \"${i.prefix}\"`:i.format===\"ends_with\"?`Cadena inv\\\\xE1lida: debe terminar en \"${i.suffix}\"`:i.format===\"includes\"?`Cadena inv\\\\xE1lida: debe incluir \"${i.includes}\"`:i.format===\"regex\"?`Cadena inv\\\\xE1lida: debe coincidir con el patr\\\\xF3n ${i.pattern}`:`Inv\\\\xE1lido ${r[i.format]??o.format}`}case\"not_multiple_of\":return`N\\\\xFAmero inv\\\\xE1lido: debe ser m\\\\xFAltiplo de ${o.divisor}`;case\"unrecognized_keys\":return`Llave${o.keys.length>1?\"s\":\"\"} desconocida${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Llave inv\\\\xE1lida en ${n[o.origin]??o.origin}`;case\"invalid_union\":return\"Entrada inv\\\\xE1lida\";case\"invalid_element\":return`Valor inv\\\\xE1lido en ${n[o.origin]??o.origin}`;default:return\"Entrada inv\\\\xE1lida\"}}}});function J$e(){return{localeError:cvt()}}var cvt,Q$e=x(()=>{u();je();cvt=()=>{let e={string:{unit:\"\\\\u06A9\\\\u0627\\\\u0631\\\\u0627\\\\u06A9\\\\u062A\\\\u0631\",verb:\"\\\\u062F\\\\u0627\\\\u0634\\\\u062A\\\\u0647 \\\\u0628\\\\u0627\\\\u0634\\\\u062F\"},file:{unit:\"\\\\u0628\\\\u0627\\\\u06CC\\\\u062A\",verb:\"\\\\u062F\\\\u0627\\\\u0634\\\\u062A\\\\u0647 \\\\u0628\\\\u0627\\\\u0634\\\\u062F\"},array:{unit:\"\\\\u0622\\\\u06CC\\\\u062A\\\\u0645\",verb:\"\\\\u062F\\\\u0627\\\\u0634\\\\u062A\\\\u0647 \\\\u0628\\\\u0627\\\\u0634\\\\u062F\"},set:{unit:\"\\\\u0622\\\\u06CC\\\\u062A\\\\u0645\",verb:\"\\\\u062F\\\\u0627\\\\u0634\\\\u062A\\\\u0647 \\\\u0628\\\\u0627\\\\u0634\\\\u062F\"},map:{unit:\"\\\\u0622\\\\u06CC\\\\u062A\\\\u0645\",verb:\"\\\\u062F\\\\u0627\\\\u0634\\\\u062A\\\\u0647 \\\\u0628\\\\u0627\\\\u0634\\\\u062F\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u06CC\",email:\"\\\\u0622\\\\u062F\\\\u0631\\\\u0633 \\\\u0627\\\\u06CC\\\\u0645\\\\u06CC\\\\u0644\",url:\"URL\",emoji:\"\\\\u0627\\\\u06CC\\\\u0645\\\\u0648\\\\u062C\\\\u06CC\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u062A\\\\u0627\\\\u0631\\\\u06CC\\\\u062E \\\\u0648 \\\\u0632\\\\u0645\\\\u0627\\\\u0646 \\\\u0627\\\\u06CC\\\\u0632\\\\u0648\",date:\"\\\\u062A\\\\u0627\\\\u0631\\\\u06CC\\\\u062E \\\\u0627\\\\u06CC\\\\u0632\\\\u0648\",time:\"\\\\u0632\\\\u0645\\\\u0627\\\\u0646 \\\\u0627\\\\u06CC\\\\u0632\\\\u0648\",duration:\"\\\\u0645\\\\u062F\\\\u062A \\\\u0632\\\\u0645\\\\u0627\\\\u0646 \\\\u0627\\\\u06CC\\\\u0632\\\\u0648\",ipv4:\"IPv4 \\\\u0622\\\\u062F\\\\u0631\\\\u0633\",ipv6:\"IPv6 \\\\u0622\\\\u062F\\\\u0631\\\\u0633\",mac:\"MAC \\\\u0622\\\\u062F\\\\u0631\\\\u0633\",cidrv4:\"IPv4 \\\\u062F\\\\u0627\\\\u0645\\\\u0646\\\\u0647\",cidrv6:\"IPv6 \\\\u062F\\\\u0627\\\\u0645\\\\u0646\\\\u0647\",base64:\"base64-encoded \\\\u0631\\\\u0634\\\\u062A\\\\u0647\",base64url:\"base64url-encoded \\\\u0631\\\\u0634\\\\u062A\\\\u0647\",json_string:\"JSON \\\\u0631\\\\u0634\\\\u062A\\\\u0647\",e164:\"E.164 \\\\u0639\\\\u062F\\\\u062F\",credit_card:\"\\\\u0634\\\\u0645\\\\u0627\\\\u0631\\\\u0647 \\\\u06A9\\\\u0627\\\\u0631\\\\u062A \\\\u0627\\\\u0639\\\\u062A\\\\u0628\\\\u0627\\\\u0631\\\\u06CC\",currency_code:\"\\\\u06A9\\\\u062F \\\\u0627\\\\u0631\\\\u0632\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u06CC\"},n={nan:\"NaN\",number:\"\\\\u0639\\\\u062F\\\\u062F\",array:\"\\\\u0622\\\\u0631\\\\u0627\\\\u06CC\\\\u0647\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u06CC \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0627\\\\u06CC\\\\u0633\\\\u062A instanceof ${o.expected} \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0648\\\\u062F\\\\u060C ${l} \\\\u062F\\\\u0631\\\\u06CC\\\\u0627\\\\u0641\\\\u062A \\\\u0634\\\\u062F`:`\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u06CC \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0627\\\\u06CC\\\\u0633\\\\u062A ${i} \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0648\\\\u062F\\\\u060C ${l} \\\\u062F\\\\u0631\\\\u06CC\\\\u0627\\\\u0641\\\\u062A \\\\u0634\\\\u062F`}case\"invalid_value\":return o.values.length===1?`\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u06CC \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0627\\\\u06CC\\\\u0633\\\\u062A ${_e(o.values[0])} \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0648\\\\u062F`:`\\\\u06AF\\\\u0632\\\\u06CC\\\\u0646\\\\u0647 \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0627\\\\u06CC\\\\u0633\\\\u062A \\\\u06CC\\\\u06A9\\\\u06CC \\\\u0627\\\\u0632 ${pe(o.values,\"|\")} \\\\u0645\\\\u06CC\\\\u200C\\\\u0628\\\\u0648\\\\u062F`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u062E\\\\u06CC\\\\u0644\\\\u06CC \\\\u0628\\\\u0632\\\\u0631\\\\u06AF: ${o.origin??\"\\\\u0645\\\\u0642\\\\u062F\\\\u0627\\\\u0631\"} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0639\\\\u0646\\\\u0635\\\\u0631\"} \\\\u0628\\\\u0627\\\\u0634\\\\u062F`:`\\\\u062E\\\\u06CC\\\\u0644\\\\u06CC \\\\u0628\\\\u0632\\\\u0631\\\\u06AF: ${o.origin??\"\\\\u0645\\\\u0642\\\\u062F\\\\u0627\\\\u0631\"} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.maximum.toString()} \\\\u0628\\\\u0627\\\\u0634\\\\u062F`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u062E\\\\u06CC\\\\u0644\\\\u06CC \\\\u06A9\\\\u0648\\\\u0686\\\\u06A9: ${o.origin} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.minimum.toString()} ${c.unit} \\\\u0628\\\\u0627\\\\u0634\\\\u062F`:`\\\\u062E\\\\u06CC\\\\u0644\\\\u06CC \\\\u06A9\\\\u0648\\\\u0686\\\\u06A9: ${o.origin} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.minimum.toString()} \\\\u0628\\\\u0627\\\\u0634\\\\u062F`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0631\\\\u0634\\\\u062A\\\\u0647 \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u0628\\\\u0627 \"${i.prefix}\" \\\\u0634\\\\u0631\\\\u0648\\\\u0639 \\\\u0634\\\\u0648\\\\u062F`:i.format===\"ends_with\"?`\\\\u0631\\\\u0634\\\\u062A\\\\u0647 \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u0628\\\\u0627 \"${i.suffix}\" \\\\u062A\\\\u0645\\\\u0627\\\\u0645 \\\\u0634\\\\u0648\\\\u062F`:i.format===\"includes\"?`\\\\u0631\\\\u0634\\\\u062A\\\\u0647 \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u0634\\\\u0627\\\\u0645\\\\u0644 \"${i.includes}\" \\\\u0628\\\\u0627\\\\u0634\\\\u062F`:i.format===\"regex\"?`\\\\u0631\\\\u0634\\\\u062A\\\\u0647 \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u0628\\\\u0627 \\\\u0627\\\\u0644\\\\u06AF\\\\u0648\\\\u06CC ${i.pattern} \\\\u0645\\\\u0637\\\\u0627\\\\u0628\\\\u0642\\\\u062A \\\\u062F\\\\u0627\\\\u0634\\\\u062A\\\\u0647 \\\\u0628\\\\u0627\\\\u0634\\\\u062F`:`${r[i.format]??o.format} \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631`}case\"not_multiple_of\":return`\\\\u0639\\\\u062F\\\\u062F \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u0645\\\\u0636\\\\u0631\\\\u0628 ${o.divisor} \\\\u0628\\\\u0627\\\\u0634\\\\u062F`;case\"unrecognized_keys\":return`\\\\u06A9\\\\u0644\\\\u06CC\\\\u062F${o.keys.length>1?\"\\\\u0647\\\\u0627\\\\u06CC\":\"\"} \\\\u0646\\\\u0627\\\\u0634\\\\u0646\\\\u0627\\\\u0633: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u06A9\\\\u0644\\\\u06CC\\\\u062F \\\\u0646\\\\u0627\\\\u0634\\\\u0646\\\\u0627\\\\u0633 \\\\u062F\\\\u0631 ${o.origin}`;case\"invalid_union\":return\"\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u06CC \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631\";case\"invalid_element\":return`\\\\u0645\\\\u0642\\\\u062F\\\\u0627\\\\u0631 \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631 \\\\u062F\\\\u0631 ${o.origin}`;default:return\"\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u06CC \\\\u0646\\\\u0627\\\\u0645\\\\u0639\\\\u062A\\\\u0628\\\\u0631\"}}}});function Y$e(){return{localeError:uvt()}}var uvt,X$e=x(()=>{u();je();uvt=()=>{let e={string:{unit:\"merkki\\\\xE4\",subject:\"merkkijonon\"},file:{unit:\"tavua\",subject:\"tiedoston\"},array:{unit:\"alkiota\",subject:\"listan\"},set:{unit:\"alkiota\",subject:\"joukon\"},map:{unit:\"alkiota\",subject:\"kuvauksen\"},number:{unit:\"\",subject:\"luvun\"},bigint:{unit:\"\",subject:\"suuren kokonaisluvun\"},int:{unit:\"\",subject:\"kokonaisluvun\"},date:{unit:\"\",subject:\"p\\\\xE4iv\\\\xE4m\\\\xE4\\\\xE4r\\\\xE4n\"}};function t(o){return e[o]??null}let r={regex:\"s\\\\xE4\\\\xE4nn\\\\xF6llinen lauseke\",email:\"s\\\\xE4hk\\\\xF6postiosoite\",url:\"URL-osoite\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-aikaleima\",date:\"ISO-p\\\\xE4iv\\\\xE4m\\\\xE4\\\\xE4r\\\\xE4\",time:\"ISO-aika\",duration:\"ISO-kesto\",ipv4:\"IPv4-osoite\",ipv6:\"IPv6-osoite\",mac:\"MAC-osoite\",cidrv4:\"IPv4-alue\",cidrv6:\"IPv6-alue\",base64:\"base64-koodattu merkkijono\",base64url:\"base64url-koodattu merkkijono\",json_string:\"JSON-merkkijono\",e164:\"E.164-luku\",credit_card:\"luottokortin numero\",currency_code:\"valuuttakoodi\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"templaattimerkkijono\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Virheellinen tyyppi: odotettiin instanceof ${o.expected}, oli ${l}`:`Virheellinen tyyppi: odotettiin ${i}, oli ${l}`}case\"invalid_value\":return o.values.length===1?`Virheellinen sy\\\\xF6te: t\\\\xE4ytyy olla ${_e(o.values[0])}`:`Virheellinen valinta: t\\\\xE4ytyy olla yksi seuraavista: ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Liian suuri: ${c.subject} t\\\\xE4ytyy olla ${i}${o.maximum.toString()} ${c.unit}`.trim():`Liian suuri: arvon t\\\\xE4ytyy olla ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Liian pieni: ${c.subject} t\\\\xE4ytyy olla ${i}${o.minimum.toString()} ${c.unit}`.trim():`Liian pieni: arvon t\\\\xE4ytyy olla ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Virheellinen sy\\\\xF6te: t\\\\xE4ytyy alkaa \"${i.prefix}\"`:i.format===\"ends_with\"?`Virheellinen sy\\\\xF6te: t\\\\xE4ytyy loppua \"${i.suffix}\"`:i.format===\"includes\"?`Virheellinen sy\\\\xF6te: t\\\\xE4ytyy sis\\\\xE4lt\\\\xE4\\\\xE4 \"${i.includes}\"`:i.format===\"regex\"?`Virheellinen sy\\\\xF6te: t\\\\xE4ytyy vastata s\\\\xE4\\\\xE4nn\\\\xF6llist\\\\xE4 lauseketta ${i.pattern}`:`Virheellinen ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Virheellinen luku: t\\\\xE4ytyy olla luvun ${o.divisor} monikerta`;case\"unrecognized_keys\":return`${o.keys.length>1?\"Tuntemattomat avaimet\":\"Tuntematon avain\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return\"Virheellinen avain tietueessa\";case\"invalid_union\":return\"Virheellinen unioni\";case\"invalid_element\":return\"Virheellinen arvo joukossa\";default:return\"Virheellinen sy\\\\xF6te\"}}}});function eze(){return{localeError:lvt()}}var lvt,tze=x(()=>{u();je();lvt=()=>{let e={string:{unit:\"caract\\\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\\\xE9l\\\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\\\xE9l\\\\xE9ments\",verb:\"avoir\"}};function t(o){return e[o]??null}let r={regex:\"expression r\\\\xE9guli\\\\xE8re\",email:\"adresse e-mail\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"date et heure ISO\",date:\"date ISO\",time:\"heure ISO\",duration:\"dur\\\\xE9e ISO\",ipv4:\"adresse IPv4\",ipv6:\"adresse IPv6\",mac:\"adresse MAC\",cidrv4:\"plage IPv4\",cidrv6:\"plage IPv6\",base64:\"cha\\\\xEEne de caract\\\\xE8res encod\\\\xE9e en base64\",base64url:\"cha\\\\xEEne de caract\\\\xE8res encod\\\\xE9e en base64url\",json_string:\"cha\\\\xEEne de caract\\\\xE8res JSON\",e164:\"num\\\\xE9ro au format E.164\",credit_card:\"num\\\\xE9ro de carte de cr\\\\xE9dit\",currency_code:\"code de devise\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entr\\\\xE9e\"},n={string:\"cha\\\\xEEne de caract\\\\xE8res\",number:\"nombre\",int:\"entier\",boolean:\"bool\\\\xE9en\",bigint:\"grand entier\",symbol:\"symbole\",undefined:\"ind\\\\xE9fini\",null:\"null\",never:\"jamais\",void:\"vide\",date:\"date\",array:\"tableau\",object:\"objet\",tuple:\"tuple\",record:\"record\",map:\"map\",set:\"ensemble\",file:\"fichier\",nonoptional:\"non optionnel\",nan:\"NaN\",function:\"fonction\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Entr\\\\xE9e invalide : instance de ${o.expected} attendu, ${l} re\\\\xE7u`:`Entr\\\\xE9e invalide : ${i} attendu, ${l} re\\\\xE7u`}case\"invalid_value\":return o.values.length===1?`Entr\\\\xE9e invalide : ${_e(o.values[0])} attendu`:`Option invalide : une valeur parmi ${pe(o.values,\"|\")} attendue`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Trop grand : ${n[o.origin]??\"valeur\"} doit ${c.verb} ${i}${o.maximum.toString()} ${c.unit??\"\\\\xE9l\\\\xE9ment(s)\"}`:`Trop grand : ${n[o.origin]??\"valeur\"} doit \\\\xEAtre ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Trop petit : ${n[o.origin]??\"valeur\"} doit ${c.verb} ${i}${o.minimum.toString()} ${c.unit}`:`Trop petit : ${n[o.origin]??\"valeur\"} doit \\\\xEAtre ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Cha\\\\xEEne de caract\\\\xE8res invalide : doit commencer par \"${i.prefix}\"`:i.format===\"ends_with\"?`Cha\\\\xEEne de caract\\\\xE8res invalide : doit se terminer par \"${i.suffix}\"`:i.format===\"includes\"?`Cha\\\\xEEne de caract\\\\xE8res invalide : doit inclure \"${i.includes}\"`:i.format===\"regex\"?`Cha\\\\xEEne de caract\\\\xE8res invalide : doit correspondre au motif ${i.pattern}`:`${r[i.format]??o.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\\\xEAtre un multiple de ${o.divisor}`;case\"unrecognized_keys\":return`Cl\\\\xE9${o.keys.length>1?\"s\":\"\"} non reconnue${o.keys.length>1?\"s\":\"\"} : ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Cl\\\\xE9 invalide dans ${o.origin}`;case\"invalid_union\":return\"Entr\\\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${o.origin}`;default:return\"Entr\\\\xE9e invalide\"}}}});function rze(){return{localeError:dvt()}}var dvt,nze=x(()=>{u();je();dvt=()=>{let e={string:{unit:\"caract\\\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\\\xE9l\\\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\\\xE9l\\\\xE9ments\",verb:\"avoir\"},map:{unit:\"\\\\xE9l\\\\xE9ments\",verb:\"avoir\"}};function t(o){return e[o]??null}let r={regex:\"entr\\\\xE9e\",email:\"adresse courriel\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"date-heure ISO\",date:\"date ISO\",time:\"heure ISO\",duration:\"dur\\\\xE9e ISO\",ipv4:\"adresse IPv4\",ipv6:\"adresse IPv6\",mac:\"adresse MAC\",cidrv4:\"plage IPv4\",cidrv6:\"plage IPv6\",base64:\"cha\\\\xEEne encod\\\\xE9e en base64\",base64url:\"cha\\\\xEEne encod\\\\xE9e en base64url\",json_string:\"cha\\\\xEEne JSON\",e164:\"num\\\\xE9ro E.164\",credit_card:\"num\\\\xE9ro de carte de cr\\\\xE9dit\",currency_code:\"code de devise\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entr\\\\xE9e\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Entr\\\\xE9e invalide : attendu instanceof ${o.expected}, re\\\\xE7u ${l}`:`Entr\\\\xE9e invalide : attendu ${i}, re\\\\xE7u ${l}`}case\"invalid_value\":return o.values.length===1?`Entr\\\\xE9e invalide : attendu ${_e(o.values[0])}`:`Option invalide : attendu l\\'une des valeurs suivantes ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"\\\\u2264\":\"<\",c=t(o.origin);return c?`Trop grand : attendu que ${o.origin??\"la valeur\"} ait ${i}${o.maximum.toString()} ${c.unit}`:`Trop grand : attendu que ${o.origin??\"la valeur\"} soit ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\"\\\\u2265\":\">\",c=t(o.origin);return c?`Trop petit : attendu que ${o.origin} ait ${i}${o.minimum.toString()} ${c.unit}`:`Trop petit : attendu que ${o.origin} soit ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Cha\\\\xEEne invalide : doit commencer par \"${i.prefix}\"`:i.format===\"ends_with\"?`Cha\\\\xEEne invalide : doit se terminer par \"${i.suffix}\"`:i.format===\"includes\"?`Cha\\\\xEEne invalide : doit inclure \"${i.includes}\"`:i.format===\"regex\"?`Cha\\\\xEEne invalide : doit correspondre au motif ${i.pattern}`:`${r[i.format]??o.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\\\xEAtre un multiple de ${o.divisor}`;case\"unrecognized_keys\":return`Cl\\\\xE9${o.keys.length>1?\"s\":\"\"} non reconnue${o.keys.length>1?\"s\":\"\"} : ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Cl\\\\xE9 invalide dans ${o.origin}`;case\"invalid_union\":return\"Entr\\\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${o.origin}`;default:return\"Entr\\\\xE9e invalide\"}}}});function oze(){return{localeError:fvt()}}var fvt,ize=x(()=>{u();je();fvt=()=>{let e={string:{unit:\"\\\\u0A85\\\\u0A95\\\\u0ACD\\\\u0AB7\\\\u0AB0\",verb:\"\\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ABE \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F\"},file:{unit:\"\\\\u0AAC\\\\u0ABE\\\\u0AAF\\\\u0A9F\",verb:\"\\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ABE \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F\"},array:{unit:\"\\\\u0A86\\\\u0A87\\\\u0A9F\\\\u0AAE\",verb:\"\\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ABE \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F\"},set:{unit:\"\\\\u0A86\\\\u0A87\\\\u0A9F\\\\u0AAE\",verb:\"\\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ABE \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F\"},map:{unit:\"\\\\u0A8F\\\\u0AA8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0AC0\",verb:\"\\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ABE \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0A87\\\\u0AA8\\\\u0AAA\\\\u0AC1\\\\u0A9F\",email:\"\\\\u0A88\\\\u0AAE\\\\u0AC7\\\\u0A87\\\\u0AB2 \\\\u0A8F\\\\u0AA1\\\\u0ACD\\\\u0AB0\\\\u0AC7\\\\u0AB8\",url:\"URL\",emoji:\"\\\\u0A87\\\\u0AAE\\\\u0ACB\\\\u0A9C\\\\u0AC0\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0AA4\\\\u0ABE\\\\u0AB0\\\\u0AC0\\\\u0A96 \\\\u0A85\\\\u0AA8\\\\u0AC7 \\\\u0AB8\\\\u0AAE\\\\u0AAF\",date:\"ISO \\\\u0AA4\\\\u0ABE\\\\u0AB0\\\\u0AC0\\\\u0A96\",time:\"ISO \\\\u0AB8\\\\u0AAE\\\\u0AAF\",duration:\"ISO \\\\u0A85\\\\u0AB5\\\\u0AA7\\\\u0ABF\",ipv4:\"IPv4 \\\\u0A8F\\\\u0AA1\\\\u0ACD\\\\u0AB0\\\\u0AC7\\\\u0AB8\",ipv6:\"IPv6 \\\\u0A8F\\\\u0AA1\\\\u0ACD\\\\u0AB0\\\\u0AC7\\\\u0AB8\",mac:\"MAC \\\\u0A8F\\\\u0AA1\\\\u0ACD\\\\u0AB0\\\\u0AC7\\\\u0AB8\",cidrv4:\"IPv4 \\\\u0AB6\\\\u0ACD\\\\u0AB0\\\\u0AC7\\\\u0AA3\\\\u0AC0\",cidrv6:\"IPv6 \\\\u0AB6\\\\u0ACD\\\\u0AB0\\\\u0AC7\\\\u0AA3\\\\u0AC0\",base64:\"base64-\\\\u0A8F\\\\u0AA8\\\\u0ACD\\\\u0A95\\\\u0ACB\\\\u0AA1\\\\u0AC7\\\\u0AA1 \\\\u0AB8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0A82\\\\u0A97\",base64url:\"base64url-\\\\u0A8F\\\\u0AA8\\\\u0ACD\\\\u0A95\\\\u0ACB\\\\u0AA1\\\\u0AC7\\\\u0AA1 \\\\u0AB8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0A82\\\\u0A97\",json_string:\"JSON \\\\u0AB8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0A82\\\\u0A97\",e164:\"E.164 \\\\u0AA8\\\\u0A82\\\\u0AAC\\\\u0AB0\",credit_card:\"\\\\u0A95\\\\u0ACD\\\\u0AB0\\\\u0AC7\\\\u0AA1\\\\u0ABF\\\\u0A9F \\\\u0A95\\\\u0ABE\\\\u0AB0\\\\u0ACD\\\\u0AA1 \\\\u0AA8\\\\u0A82\\\\u0AAC\\\\u0AB0\",currency_code:\"\\\\u0A9A\\\\u0AB2\\\\u0AA3 \\\\u0A95\\\\u0ACB\\\\u0AA1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0A87\\\\u0AA8\\\\u0AAA\\\\u0AC1\\\\u0A9F\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0A87\\\\u0AA8\\\\u0AAA\\\\u0AC1\\\\u0A9F: \\\\u0A85\\\\u0AAA\\\\u0AC7\\\\u0A95\\\\u0ACD\\\\u0AB7\\\\u0ABF\\\\u0AA4 ${i}, \\\\u0AAA\\\\u0ACD\\\\u0AB0\\\\u0ABE\\\\u0AAA\\\\u0ACD\\\\u0AA4 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0A87\\\\u0AA8\\\\u0AAA\\\\u0AC1\\\\u0A9F: \\\\u0A85\\\\u0AAA\\\\u0AC7\\\\u0A95\\\\u0ACD\\\\u0AB7\\\\u0ABF\\\\u0AA4 ${_e(o.values[0])}`:`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AB5\\\\u0ABF\\\\u0A95\\\\u0AB2\\\\u0ACD\\\\u0AAA: ${pe(o.values,\" | \")} \\\\u0AAE\\\\u0ABE\\\\u0AA7\\\\u0ACD\\\\u0AAF\\\\u0AAE\\\\u0AA5\\\\u0AC0 \\\\u0A8F\\\\u0A95 \\\\u0A85\\\\u0AAA\\\\u0AC7\\\\u0A95\\\\u0ACD\\\\u0AB7\\\\u0ABF\\\\u0AA4`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0A96\\\\u0AC2\\\\u0AAC \\\\u0AAE\\\\u0ACB\\\\u0A9F\\\\u0AC1\\\\u0A82: ${o.origin??\"\\\\u0AAE\\\\u0AC2\\\\u0AB2\\\\u0ACD\\\\u0AAF\"} ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0A8F\\\\u0AB2\\\\u0ABF\\\\u0AAE\\\\u0AC7\\\\u0AA8\\\\u0ACD\\\\u0A9F\"} \\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ABE \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`:`\\\\u0A96\\\\u0AC2\\\\u0AAC \\\\u0AAE\\\\u0ACB\\\\u0A9F\\\\u0AC1\\\\u0A82: ${o.origin??\"\\\\u0AAE\\\\u0AC2\\\\u0AB2\\\\u0ACD\\\\u0AAF\"} ${i}${o.maximum.toString()} \\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0AC1\\\\u0A82 \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0A96\\\\u0AC2\\\\u0AAC \\\\u0AA8\\\\u0ABE\\\\u0AA8\\\\u0AC1\\\\u0A82: ${o.origin} ${i}${o.minimum.toString()} ${c.unit} \\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ABE \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`:`\\\\u0A96\\\\u0AC2\\\\u0AAC \\\\u0AA8\\\\u0ABE\\\\u0AA8\\\\u0AC1\\\\u0A82: ${o.origin} ${i}${o.minimum.toString()} \\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0AC1\\\\u0A82 \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AB8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0A82\\\\u0A97: \"${i.prefix}\" \\\\u0AA5\\\\u0AC0 \\\\u0AB6\\\\u0AB0\\\\u0AC2 \\\\u0AA5\\\\u0AB5\\\\u0AC1\\\\u0A82 \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`:i.format===\"ends_with\"?`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AB8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0A82\\\\u0A97: \"${i.suffix}\" \\\\u0AAA\\\\u0AB0 \\\\u0AB8\\\\u0AAE\\\\u0ABE\\\\u0AAA\\\\u0ACD\\\\u0AA4 \\\\u0AA5\\\\u0AB5\\\\u0AC1\\\\u0A82 \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`:i.format===\"includes\"?`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AB8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0A82\\\\u0A97: \"${i.includes}\" \\\\u0AB6\\\\u0ABE\\\\u0AAE\\\\u0AC7\\\\u0AB2 \\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0AC1\\\\u0A82 \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`:i.format===\"regex\"?`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AB8\\\\u0ACD\\\\u0A9F\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0A82\\\\u0A97: \\\\u0AAA\\\\u0AC7\\\\u0A9F\\\\u0AB0\\\\u0ACD\\\\u0AA8 ${i.pattern} \\\\u0AB8\\\\u0ABE\\\\u0AA5\\\\u0AC7 \\\\u0AAE\\\\u0AC7\\\\u0AB3 \\\\u0A96\\\\u0ABE\\\\u0AB5\\\\u0AC1\\\\u0A82 \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`:`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AA8\\\\u0A82\\\\u0AAC\\\\u0AB0: ${o.divisor} \\\\u0AA8\\\\u0ACB \\\\u0A97\\\\u0AC1\\\\u0AA3\\\\u0ABE\\\\u0A82\\\\u0A95 \\\\u0AB9\\\\u0ACB\\\\u0AB5\\\\u0ACB \\\\u0A9C\\\\u0ACB\\\\u0A88\\\\u0A8F`;case\"unrecognized_keys\":return`\\\\u0A93\\\\u0AB3\\\\u0A96\\\\u0AC0 \\\\u0AB6\\\\u0A95\\\\u0ABE\\\\u0AA4\\\\u0ABE \\\\u0AA8\\\\u0AB9\\\\u0AC0\\\\u0A82 \\\\u0AA4\\\\u0AC7 \\\\u0A95\\\\u0AC0${o.keys.length>1?\"\\\\u0A93\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} \\\\u0AAE\\\\u0ABE\\\\u0A82 \\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0A95\\\\u0AC0`;case\"invalid_union\":return o.options&&Array.isArray(o.options)&&o.options.length>0?`\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AA1\\\\u0ABF\\\\u0AB8\\\\u0ACD\\\\u0A95\\\\u0ACD\\\\u0AB0\\\\u0ABF\\\\u0AAE\\\\u0ABF\\\\u0AA8\\\\u0AC7\\\\u0A9F\\\\u0AB0 \\\\u0AAE\\\\u0AC2\\\\u0AB2\\\\u0ACD\\\\u0AAF. \\\\u0A85\\\\u0AAA\\\\u0AC7\\\\u0A95\\\\u0ACD\\\\u0AB7\\\\u0ABF\\\\u0AA4 ${o.options.map(c=>`\\'${c}\\'`).join(\" | \")}`:\"\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0A87\\\\u0AA8\\\\u0AAA\\\\u0AC1\\\\u0A9F\";case\"invalid_element\":return`${o.origin} \\\\u0AAE\\\\u0ABE\\\\u0A82 \\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0AAE\\\\u0AC2\\\\u0AB2\\\\u0ACD\\\\u0AAF`;default:return\"\\\\u0A85\\\\u0AAE\\\\u0ABE\\\\u0AA8\\\\u0ACD\\\\u0AAF \\\\u0A87\\\\u0AA8\\\\u0AAA\\\\u0AC1\\\\u0A9F\"}}}});function aze(){return{localeError:pvt()}}var pvt,sze=x(()=>{u();je();pvt=()=>{let e={string:{label:\"\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA\",gender:\"f\"},number:{label:\"\\\\u05DE\\\\u05E1\\\\u05E4\\\\u05E8\",gender:\"m\"},boolean:{label:\"\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05D1\\\\u05D5\\\\u05DC\\\\u05D9\\\\u05D0\\\\u05E0\\\\u05D9\",gender:\"m\"},bigint:{label:\"BigInt\",gender:\"m\"},date:{label:\"\\\\u05EA\\\\u05D0\\\\u05E8\\\\u05D9\\\\u05DA\",gender:\"m\"},array:{label:\"\\\\u05DE\\\\u05E2\\\\u05E8\\\\u05DA\",gender:\"m\"},object:{label:\"\\\\u05D0\\\\u05D5\\\\u05D1\\\\u05D9\\\\u05D9\\\\u05E7\\\\u05D8\",gender:\"m\"},null:{label:\"\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05E8\\\\u05D9\\\\u05E7 (null)\",gender:\"m\"},undefined:{label:\"\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05DC\\\\u05D0 \\\\u05DE\\\\u05D5\\\\u05D2\\\\u05D3\\\\u05E8 (undefined)\",gender:\"m\"},symbol:{label:\"\\\\u05E1\\\\u05D9\\\\u05DE\\\\u05D1\\\\u05D5\\\\u05DC (Symbol)\",gender:\"m\"},function:{label:\"\\\\u05E4\\\\u05D5\\\\u05E0\\\\u05E7\\\\u05E6\\\\u05D9\\\\u05D4\",gender:\"f\"},map:{label:\"\\\\u05DE\\\\u05E4\\\\u05D4 (Map)\",gender:\"f\"},set:{label:\"\\\\u05E7\\\\u05D1\\\\u05D5\\\\u05E6\\\\u05D4 (Set)\",gender:\"f\"},file:{label:\"\\\\u05E7\\\\u05D5\\\\u05D1\\\\u05E5\",gender:\"m\"},promise:{label:\"Promise\",gender:\"m\"},NaN:{label:\"NaN\",gender:\"m\"},unknown:{label:\"\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05DC\\\\u05D0 \\\\u05D9\\\\u05D3\\\\u05D5\\\\u05E2\",gender:\"m\"},value:{label:\"\\\\u05E2\\\\u05E8\\\\u05DA\",gender:\"m\"}},t={string:{unit:\"\\\\u05EA\\\\u05D5\\\\u05D5\\\\u05D9\\\\u05DD\",shortLabel:\"\\\\u05E7\\\\u05E6\\\\u05E8\",longLabel:\"\\\\u05D0\\\\u05E8\\\\u05D5\\\\u05DA\"},file:{unit:\"\\\\u05D1\\\\u05D9\\\\u05D9\\\\u05D8\\\\u05D9\\\\u05DD\",shortLabel:\"\\\\u05E7\\\\u05D8\\\\u05DF\",longLabel:\"\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC\"},array:{unit:\"\\\\u05E4\\\\u05E8\\\\u05D9\\\\u05D8\\\\u05D9\\\\u05DD\",shortLabel:\"\\\\u05E7\\\\u05D8\\\\u05DF\",longLabel:\"\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC\"},set:{unit:\"\\\\u05E4\\\\u05E8\\\\u05D9\\\\u05D8\\\\u05D9\\\\u05DD\",shortLabel:\"\\\\u05E7\\\\u05D8\\\\u05DF\",longLabel:\"\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC\"},number:{unit:\"\",shortLabel:\"\\\\u05E7\\\\u05D8\\\\u05DF\",longLabel:\"\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC\"}},r=p=>p?e[p]:void 0,n=p=>{let h=r(p);return h?h.label:p??e.unknown.label},o=p=>`\\\\u05D4${n(p)}`,i=p=>(r(p)?.gender??\"m\")===\"f\"?\"\\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DB\\\\u05D4 \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA\":\"\\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DA \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA\",c=p=>p?t[p]??null:null,l={regex:{label:\"\\\\u05E7\\\\u05DC\\\\u05D8\",gender:\"m\"},email:{label:\"\\\\u05DB\\\\u05EA\\\\u05D5\\\\u05D1\\\\u05EA \\\\u05D0\\\\u05D9\\\\u05DE\\\\u05D9\\\\u05D9\\\\u05DC\",gender:\"f\"},url:{label:\"\\\\u05DB\\\\u05EA\\\\u05D5\\\\u05D1\\\\u05EA \\\\u05E8\\\\u05E9\\\\u05EA\",gender:\"f\"},emoji:{label:\"\\\\u05D0\\\\u05D9\\\\u05DE\\\\u05D5\\\\u05D2\\'\\\\u05D9\",gender:\"m\"},uuid:{label:\"UUID\",gender:\"m\"},uuidv4:{label:\"UUIDv4\",gender:\"m\"},uuidv6:{label:\"UUIDv6\",gender:\"m\"},nanoid:{label:\"nanoid\",gender:\"m\"},guid:{label:\"GUID\",gender:\"m\"},cuid:{label:\"cuid\",gender:\"m\"},cuid2:{label:\"cuid2\",gender:\"m\"},ulid:{label:\"ULID\",gender:\"m\"},xid:{label:\"XID\",gender:\"m\"},ksuid:{label:\"KSUID\",gender:\"m\"},datetime:{label:\"\\\\u05EA\\\\u05D0\\\\u05E8\\\\u05D9\\\\u05DA \\\\u05D5\\\\u05D6\\\\u05DE\\\\u05DF ISO\",gender:\"m\"},date:{label:\"\\\\u05EA\\\\u05D0\\\\u05E8\\\\u05D9\\\\u05DA ISO\",gender:\"m\"},time:{label:\"\\\\u05D6\\\\u05DE\\\\u05DF ISO\",gender:\"m\"},duration:{label:\"\\\\u05DE\\\\u05E9\\\\u05DA \\\\u05D6\\\\u05DE\\\\u05DF ISO\",gender:\"m\"},ipv4:{label:\"\\\\u05DB\\\\u05EA\\\\u05D5\\\\u05D1\\\\u05EA IPv4\",gender:\"f\"},ipv6:{label:\"\\\\u05DB\\\\u05EA\\\\u05D5\\\\u05D1\\\\u05EA IPv6\",gender:\"f\"},mac:{label:\"\\\\u05DB\\\\u05EA\\\\u05D5\\\\u05D1\\\\u05EA MAC\",gender:\"f\"},cidrv4:{label:\"\\\\u05D8\\\\u05D5\\\\u05D5\\\\u05D7 IPv4\",gender:\"m\"},cidrv6:{label:\"\\\\u05D8\\\\u05D5\\\\u05D5\\\\u05D7 IPv6\",gender:\"m\"},base64:{label:\"\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA \\\\u05D1\\\\u05D1\\\\u05E1\\\\u05D9\\\\u05E1 64\",gender:\"f\"},base64url:{label:\"\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA \\\\u05D1\\\\u05D1\\\\u05E1\\\\u05D9\\\\u05E1 64 \\\\u05DC\\\\u05DB\\\\u05EA\\\\u05D5\\\\u05D1\\\\u05D5\\\\u05EA \\\\u05E8\\\\u05E9\\\\u05EA\",gender:\"f\"},json_string:{label:\"\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA JSON\",gender:\"f\"},e164:{label:\"\\\\u05DE\\\\u05E1\\\\u05E4\\\\u05E8 E.164\",gender:\"m\"},credit_card:{label:\"\\\\u05DE\\\\u05E1\\\\u05E4\\\\u05E8 \\\\u05DB\\\\u05E8\\\\u05D8\\\\u05D9\\\\u05E1 \\\\u05D0\\\\u05E9\\\\u05E8\\\\u05D0\\\\u05D9\",gender:\"m\"},currency_code:{label:\"\\\\u05E7\\\\u05D5\\\\u05D3 \\\\u05DE\\\\u05D8\\\\u05D1\\\\u05E2\",gender:\"m\"},iban:{label:\"IBAN\",gender:\"m\"},jwt:{label:\"JWT\",gender:\"m\"},template_literal:{label:\"\\\\u05E7\\\\u05DC\\\\u05D8\",gender:\"m\"},ends_with:{label:\"\\\\u05E7\\\\u05DC\\\\u05D8\",gender:\"m\"},includes:{label:\"\\\\u05E7\\\\u05DC\\\\u05D8\",gender:\"m\"},lowercase:{label:\"\\\\u05E7\\\\u05DC\\\\u05D8\",gender:\"m\"},starts_with:{label:\"\\\\u05E7\\\\u05DC\\\\u05D8\",gender:\"m\"},uppercase:{label:\"\\\\u05E7\\\\u05DC\\\\u05D8\",gender:\"m\"}},f={nan:\"NaN\"};return p=>{switch(p.code){case\"invalid_type\":{let h=p.expected,y=f[h??\"\"]??n(h),w=Se(p.input),E=f[w]??e[w]?.label??w;return/^[A-Z]/.test(p.expected)?`\\\\u05E7\\\\u05DC\\\\u05D8 \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF: \\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DA \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA instanceof ${p.expected}, \\\\u05D4\\\\u05EA\\\\u05E7\\\\u05D1\\\\u05DC ${E}`:`\\\\u05E7\\\\u05DC\\\\u05D8 \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF: \\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DA \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA ${y}, \\\\u05D4\\\\u05EA\\\\u05E7\\\\u05D1\\\\u05DC ${E}`}case\"invalid_value\":{if(p.values.length===1)return`\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF: \\\\u05D4\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05D7\\\\u05D9\\\\u05D9\\\\u05D1 \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA ${_e(p.values[0])}`;let h=p.values.map(E=>_e(E));if(p.values.length===2)return`\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF: \\\\u05D4\\\\u05D0\\\\u05E4\\\\u05E9\\\\u05E8\\\\u05D5\\\\u05D9\\\\u05D5\\\\u05EA \\\\u05D4\\\\u05DE\\\\u05EA\\\\u05D0\\\\u05D9\\\\u05DE\\\\u05D5\\\\u05EA \\\\u05D4\\\\u05DF ${h[0]} \\\\u05D0\\\\u05D5 ${h[1]}`;let y=h[h.length-1];return`\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF: \\\\u05D4\\\\u05D0\\\\u05E4\\\\u05E9\\\\u05E8\\\\u05D5\\\\u05D9\\\\u05D5\\\\u05EA \\\\u05D4\\\\u05DE\\\\u05EA\\\\u05D0\\\\u05D9\\\\u05DE\\\\u05D5\\\\u05EA \\\\u05D4\\\\u05DF ${h.slice(0,-1).join(\", \")} \\\\u05D0\\\\u05D5 ${y}`}case\"too_big\":{let h=c(p.origin),y=o(p.origin??\"value\");if(p.origin===\"string\")return`${h?.longLabel??\"\\\\u05D0\\\\u05E8\\\\u05D5\\\\u05DA\"} \\\\u05DE\\\\u05D3\\\\u05D9: ${y} \\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DB\\\\u05D4 \\\\u05DC\\\\u05D4\\\\u05DB\\\\u05D9\\\\u05DC ${p.maximum.toString()} ${h?.unit??\"\"} ${p.inclusive?\"\\\\u05D0\\\\u05D5 \\\\u05E4\\\\u05D7\\\\u05D5\\\\u05EA\":\"\\\\u05DC\\\\u05DB\\\\u05DC \\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA\\\\u05E8\"}`.trim();if(p.origin===\"number\"){let A=p.inclusive?`\\\\u05E7\\\\u05D8\\\\u05DF \\\\u05D0\\\\u05D5 \\\\u05E9\\\\u05D5\\\\u05D5\\\\u05D4 \\\\u05DC-${p.maximum}`:`\\\\u05E7\\\\u05D8\\\\u05DF \\\\u05DE-${p.maximum}`;return`\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC \\\\u05DE\\\\u05D3\\\\u05D9: ${y} \\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DA \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA ${A}`}if(p.origin===\"array\"||p.origin===\"set\"){let A=p.origin===\"set\"?\"\\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DB\\\\u05D4\":\"\\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DA\",C=p.inclusive?`${p.maximum} ${h?.unit??\"\"} \\\\u05D0\\\\u05D5 \\\\u05E4\\\\u05D7\\\\u05D5\\\\u05EA`:`\\\\u05E4\\\\u05D7\\\\u05D5\\\\u05EA \\\\u05DE-${p.maximum} ${h?.unit??\"\"}`;return`\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC \\\\u05DE\\\\u05D3\\\\u05D9: ${y} ${A} \\\\u05DC\\\\u05D4\\\\u05DB\\\\u05D9\\\\u05DC ${C}`.trim()}let w=p.inclusive?\"<=\":\"<\",E=i(p.origin??\"value\");return h?.unit?`${h.longLabel} \\\\u05DE\\\\u05D3\\\\u05D9: ${y} ${E} ${w}${p.maximum.toString()} ${h.unit}`:`${h?.longLabel??\"\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC\"} \\\\u05DE\\\\u05D3\\\\u05D9: ${y} ${E} ${w}${p.maximum.toString()}`}case\"too_small\":{let h=c(p.origin),y=o(p.origin??\"value\");if(p.origin===\"string\")return`${h?.shortLabel??\"\\\\u05E7\\\\u05E6\\\\u05E8\"} \\\\u05DE\\\\u05D3\\\\u05D9: ${y} \\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DB\\\\u05D4 \\\\u05DC\\\\u05D4\\\\u05DB\\\\u05D9\\\\u05DC ${p.minimum.toString()} ${h?.unit??\"\"} ${p.inclusive?\"\\\\u05D0\\\\u05D5 \\\\u05D9\\\\u05D5\\\\u05EA\\\\u05E8\":\"\\\\u05DC\\\\u05E4\\\\u05D7\\\\u05D5\\\\u05EA\"}`.trim();if(p.origin===\"number\"){let A=p.inclusive?`\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC \\\\u05D0\\\\u05D5 \\\\u05E9\\\\u05D5\\\\u05D5\\\\u05D4 \\\\u05DC-${p.minimum}`:`\\\\u05D2\\\\u05D3\\\\u05D5\\\\u05DC \\\\u05DE-${p.minimum}`;return`\\\\u05E7\\\\u05D8\\\\u05DF \\\\u05DE\\\\u05D3\\\\u05D9: ${y} \\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DA \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA ${A}`}if(p.origin===\"array\"||p.origin===\"set\"){let A=p.origin===\"set\"?\"\\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DB\\\\u05D4\":\"\\\\u05E6\\\\u05E8\\\\u05D9\\\\u05DA\";if(p.minimum===1&&p.inclusive){let R=(p.origin===\"set\",\"\\\\u05DC\\\\u05E4\\\\u05D7\\\\u05D5\\\\u05EA \\\\u05E4\\\\u05E8\\\\u05D9\\\\u05D8 \\\\u05D0\\\\u05D7\\\\u05D3\");return`\\\\u05E7\\\\u05D8\\\\u05DF \\\\u05DE\\\\u05D3\\\\u05D9: ${y} ${A} \\\\u05DC\\\\u05D4\\\\u05DB\\\\u05D9\\\\u05DC ${R}`}let C=p.inclusive?`${p.minimum} ${h?.unit??\"\"} \\\\u05D0\\\\u05D5 \\\\u05D9\\\\u05D5\\\\u05EA\\\\u05E8`:`\\\\u05D9\\\\u05D5\\\\u05EA\\\\u05E8 \\\\u05DE-${p.minimum} ${h?.unit??\"\"}`;return`\\\\u05E7\\\\u05D8\\\\u05DF \\\\u05DE\\\\u05D3\\\\u05D9: ${y} ${A} \\\\u05DC\\\\u05D4\\\\u05DB\\\\u05D9\\\\u05DC ${C}`.trim()}let w=p.inclusive?\">=\":\">\",E=i(p.origin??\"value\");return h?.unit?`${h.shortLabel} \\\\u05DE\\\\u05D3\\\\u05D9: ${y} ${E} ${w}${p.minimum.toString()} ${h.unit}`:`${h?.shortLabel??\"\\\\u05E7\\\\u05D8\\\\u05DF\"} \\\\u05DE\\\\u05D3\\\\u05D9: ${y} ${E} ${w}${p.minimum.toString()}`}case\"invalid_format\":{let h=p;if(h.format===\"starts_with\")return`\\\\u05D4\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA \\\\u05D7\\\\u05D9\\\\u05D9\\\\u05D1\\\\u05EA \\\\u05DC\\\\u05D4\\\\u05EA\\\\u05D7\\\\u05D9\\\\u05DC \\\\u05D1 \"${h.prefix}\"`;if(h.format===\"ends_with\")return`\\\\u05D4\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA \\\\u05D7\\\\u05D9\\\\u05D9\\\\u05D1\\\\u05EA \\\\u05DC\\\\u05D4\\\\u05E1\\\\u05EA\\\\u05D9\\\\u05D9\\\\u05DD \\\\u05D1 \"${h.suffix}\"`;if(h.format===\"includes\")return`\\\\u05D4\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA \\\\u05D7\\\\u05D9\\\\u05D9\\\\u05D1\\\\u05EA \\\\u05DC\\\\u05DB\\\\u05DC\\\\u05D5\\\\u05DC \"${h.includes}\"`;if(h.format===\"regex\")return`\\\\u05D4\\\\u05DE\\\\u05D7\\\\u05E8\\\\u05D5\\\\u05D6\\\\u05EA \\\\u05D7\\\\u05D9\\\\u05D9\\\\u05D1\\\\u05EA \\\\u05DC\\\\u05D4\\\\u05EA\\\\u05D0\\\\u05D9\\\\u05DD \\\\u05DC\\\\u05EA\\\\u05D1\\\\u05E0\\\\u05D9\\\\u05EA ${h.pattern}`;let y=l[h.format],w=y?.label??h.format,A=(y?.gender??\"m\")===\"f\"?\"\\\\u05EA\\\\u05E7\\\\u05D9\\\\u05E0\\\\u05D4\":\"\\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF\";return`${w} \\\\u05DC\\\\u05D0 ${A}`}case\"not_multiple_of\":return`\\\\u05DE\\\\u05E1\\\\u05E4\\\\u05E8 \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF: \\\\u05D7\\\\u05D9\\\\u05D9\\\\u05D1 \\\\u05DC\\\\u05D4\\\\u05D9\\\\u05D5\\\\u05EA \\\\u05DE\\\\u05DB\\\\u05E4\\\\u05DC\\\\u05D4 \\\\u05E9\\\\u05DC ${p.divisor}`;case\"unrecognized_keys\":return`\\\\u05DE\\\\u05E4\\\\u05EA\\\\u05D7${p.keys.length>1?\"\\\\u05D5\\\\u05EA\":\"\"} \\\\u05DC\\\\u05D0 \\\\u05DE\\\\u05D6\\\\u05D5\\\\u05D4${p.keys.length>1?\"\\\\u05D9\\\\u05DD\":\"\\\\u05D4\"}: ${pe(p.keys,\", \")}`;case\"invalid_key\":return\"\\\\u05E9\\\\u05D3\\\\u05D4 \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF \\\\u05D1\\\\u05D0\\\\u05D5\\\\u05D1\\\\u05D9\\\\u05D9\\\\u05E7\\\\u05D8\";case\"invalid_union\":return\"\\\\u05E7\\\\u05DC\\\\u05D8 \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF\";case\"invalid_element\":return`\\\\u05E2\\\\u05E8\\\\u05DA \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF \\\\u05D1${o(p.origin??\"array\")}`;default:return\"\\\\u05E7\\\\u05DC\\\\u05D8 \\\\u05DC\\\\u05D0 \\\\u05EA\\\\u05E7\\\\u05D9\\\\u05DF\"}}}});function cze(){return{localeError:mvt()}}var mvt,uze=x(()=>{u();je();mvt=()=>{let e={string:{unit:\"\\\\u0905\\\\u0915\\\\u094D\\\\u0937\\\\u0930\",verb:\"\\\\u0930\\\\u0916\\\\u0928\\\\u0947 \\\\u0915\\\\u0947 \\\\u0932\\\\u093F\\\\u090F\"},file:{unit:\"\\\\u092C\\\\u093E\\\\u0907\\\\u091F\\\\u094D\\\\u0938\",verb:\"\\\\u0930\\\\u0916\\\\u0928\\\\u0947 \\\\u0915\\\\u0947 \\\\u0932\\\\u093F\\\\u090F\"},array:{unit:\"\\\\u0924\\\\u0924\\\\u094D\\\\u0935\",verb:\"\\\\u0930\\\\u0916\\\\u0928\\\\u0947 \\\\u0915\\\\u0947 \\\\u0932\\\\u093F\\\\u090F\"},set:{unit:\"\\\\u0924\\\\u0924\\\\u094D\\\\u0935\",verb:\"\\\\u0930\\\\u0916\\\\u0928\\\\u0947 \\\\u0915\\\\u0947 \\\\u0932\\\\u093F\\\\u090F\"},map:{unit:\"\\\\u092A\\\\u094D\\\\u0930\\\\u0935\\\\u093F\\\\u0937\\\\u094D\\\\u091F\\\\u093F\\\\u092F\\\\u093E\\\\u0901\",verb:\"\\\\u0930\\\\u0916\\\\u0928\\\\u0947 \\\\u0915\\\\u0947 \\\\u0932\\\\u093F\\\\u090F\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\",email:\"\\\\u0908\\\\u092E\\\\u0947\\\\u0932 \\\\u092A\\\\u0924\\\\u093E\",url:\"URL\",emoji:\"\\\\u0907\\\\u092E\\\\u094B\\\\u091C\\\\u0940\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0924\\\\u093F\\\\u0925\\\\u093F \\\\u0914\\\\u0930 \\\\u0938\\\\u092E\\\\u092F\",date:\"ISO \\\\u0924\\\\u093F\\\\u0925\\\\u093F\",time:\"ISO \\\\u0938\\\\u092E\\\\u092F\",duration:\"ISO \\\\u0905\\\\u0935\\\\u0927\\\\u093F\",ipv4:\"IPv4 \\\\u092A\\\\u0924\\\\u093E\",ipv6:\"IPv6 \\\\u092A\\\\u0924\\\\u093E\",mac:\"MAC \\\\u092A\\\\u0924\\\\u093E\",cidrv4:\"IPv4 \\\\u0936\\\\u094D\\\\u0930\\\\u0947\\\\u0923\\\\u0940\",cidrv6:\"IPv6 \\\\u0936\\\\u094D\\\\u0930\\\\u0947\\\\u0923\\\\u0940\",base64:\"Base64-\\\\u090F\\\\u0928\\\\u094D\\\\u0915\\\\u094B\\\\u0921\\\\u0947\\\\u0921 \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0902\\\\u0917\",base64url:\"Base64URL-\\\\u090F\\\\u0928\\\\u094D\\\\u0915\\\\u094B\\\\u0921\\\\u0947\\\\u0921 \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0902\\\\u0917\",json_string:\"JSON \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0902\\\\u0917\",e164:\"E.164 \\\\u0938\\\\u0902\\\\u0916\\\\u094D\\\\u092F\\\\u093E\",credit_card:\"\\\\u0915\\\\u094D\\\\u0930\\\\u0947\\\\u0921\\\\u093F\\\\u091F \\\\u0915\\\\u093E\\\\u0930\\\\u094D\\\\u0921 \\\\u0938\\\\u0902\\\\u0916\\\\u094D\\\\u092F\\\\u093E\",currency_code:\"\\\\u092E\\\\u0941\\\\u0926\\\\u094D\\\\u0930\\\\u093E \\\\u0915\\\\u094B\\\\u0921\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 ${i}, \\\\u092A\\\\u094D\\\\u0930\\\\u093E\\\\u092A\\\\u094D\\\\u0924 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 ${_e(o.values[0])}`:`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0935\\\\u093F\\\\u0915\\\\u0932\\\\u094D\\\\u092A: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 \\\\u092E\\\\u093E\\\\u0928\\\\u094B\\\\u0902 \\\\u092E\\\\u0947\\\\u0902 \\\\u0938\\\\u0947 \\\\u090F\\\\u0915 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u092C\\\\u0939\\\\u0941\\\\u0924 \\\\u092C\\\\u0921\\\\u093C\\\\u093E: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 \\\\u0925\\\\u093E \\\\u0915\\\\u093F ${o.origin??\"\\\\u092E\\\\u093E\\\\u0928\"} \\\\u092E\\\\u0947\\\\u0902 ${i}${o.maximum} ${c.unit} \\\\u0939\\\\u094B\\\\u0902`:`\\\\u092C\\\\u0939\\\\u0941\\\\u0924 \\\\u092C\\\\u0921\\\\u093C\\\\u093E: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 \\\\u0925\\\\u093E \\\\u0915\\\\u093F ${o.origin??\"\\\\u092E\\\\u093E\\\\u0928\"} ${i}${o.maximum} \\\\u0939\\\\u094B`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u092C\\\\u0939\\\\u0941\\\\u0924 \\\\u091B\\\\u094B\\\\u091F\\\\u093E: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 \\\\u0925\\\\u093E \\\\u0915\\\\u093F ${o.origin} \\\\u092E\\\\u0947\\\\u0902 ${i}${o.minimum} ${c.unit} \\\\u0939\\\\u094B\\\\u0902`:`\\\\u092C\\\\u0939\\\\u0941\\\\u0924 \\\\u091B\\\\u094B\\\\u091F\\\\u093E: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 \\\\u0925\\\\u093E \\\\u0915\\\\u093F ${o.origin} ${i}${o.minimum} \\\\u0939\\\\u094B`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0902\\\\u0917: \"${i.prefix}\" \\\\u0938\\\\u0947 \\\\u0936\\\\u0941\\\\u0930\\\\u0942 \\\\u0939\\\\u094B\\\\u0928\\\\u093E \\\\u091A\\\\u093E\\\\u0939\\\\u093F\\\\u090F`:i.format===\"ends_with\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0902\\\\u0917: \"${i.suffix}\" \\\\u092A\\\\u0930 \\\\u0938\\\\u092E\\\\u093E\\\\u092A\\\\u094D\\\\u0924 \\\\u0939\\\\u094B\\\\u0928\\\\u093E \\\\u091A\\\\u093E\\\\u0939\\\\u093F\\\\u090F`:i.format===\"includes\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0902\\\\u0917: \\\\u0907\\\\u0938\\\\u092E\\\\u0947\\\\u0902 \"${i.includes}\" \\\\u0936\\\\u093E\\\\u092E\\\\u093F\\\\u0932 \\\\u0939\\\\u094B\\\\u0928\\\\u093E \\\\u091A\\\\u093E\\\\u0939\\\\u093F\\\\u090F`:i.format===\"regex\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0902\\\\u0917: \\\\u092A\\\\u0948\\\\u091F\\\\u0930\\\\u094D\\\\u0928 ${i.pattern} \\\\u0938\\\\u0947 \\\\u092E\\\\u0947\\\\u0932 \\\\u0916\\\\u093E\\\\u0928\\\\u093E \\\\u091A\\\\u093E\\\\u0939\\\\u093F\\\\u090F`:`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u0902\\\\u0916\\\\u094D\\\\u092F\\\\u093E: \\\\u092F\\\\u0939 ${o.divisor} \\\\u0915\\\\u093E \\\\u0917\\\\u0941\\\\u0923\\\\u091C \\\\u0939\\\\u094B\\\\u0928\\\\u093E \\\\u091A\\\\u093E\\\\u0939\\\\u093F\\\\u090F`;case\"unrecognized_keys\":return`\\\\u0905\\\\u092A\\\\u0930\\\\u093F\\\\u091A\\\\u093F\\\\u0924 \\\\u0915\\\\u0941\\\\u0902\\\\u091C\\\\u0940${o.keys.length>1?\"\\\\u092F\\\\u093E\\\\u0901\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0915\\\\u0941\\\\u0902\\\\u091C\\\\u0940: ${o.origin} \\\\u092E\\\\u0947\\\\u0902`;case\"invalid_union\":return o.options&&Array.isArray(o.options)&&o.options.length>0?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0921\\\\u093F\\\\u0938\\\\u094D\\\\u0915\\\\u094D\\\\u0930\\\\u093F\\\\u092E\\\\u093F\\\\u0928\\\\u0947\\\\u091F\\\\u0930 \\\\u092E\\\\u093E\\\\u0928: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 ${o.options.map(c=>`\\'${c}\\'`).join(\" | \")}`:\"\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\";case\"invalid_element\":return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u092E\\\\u093E\\\\u0928: ${o.origin} \\\\u092E\\\\u0947\\\\u0902`;default:return\"\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\"}}}});function lze(){return{localeError:hvt()}}var hvt,dze=x(()=>{u();je();hvt=()=>{let e={string:{unit:\"znakova\",verb:\"imati\"},file:{unit:\"bajtova\",verb:\"imati\"},array:{unit:\"stavki\",verb:\"imati\"},set:{unit:\"stavki\",verb:\"imati\"}};function t(o){return e[o]??null}let r={regex:\"unos\",email:\"email adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum i vrijeme\",date:\"ISO datum\",time:\"ISO vrijeme\",duration:\"ISO trajanje\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"IPv4 raspon\",cidrv6:\"IPv6 raspon\",base64:\"base64 kodirani tekst\",base64url:\"base64url kodirani tekst\",json_string:\"JSON tekst\",e164:\"E.164 broj\",credit_card:\"broj kreditne kartice\",currency_code:\"kod valute\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"unos\"},n={nan:\"NaN\",string:\"tekst\",number:\"broj\",boolean:\"boolean\",array:\"niz\",object:\"objekt\",set:\"skup\",file:\"datoteka\",date:\"datum\",bigint:\"bigint\",symbol:\"simbol\",undefined:\"undefined\",null:\"null\",function:\"funkcija\",map:\"mapa\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Neispravan unos: o\\\\u010Dekuje se instanceof ${o.expected}, a primljeno je ${l}`:`Neispravan unos: o\\\\u010Dekuje se ${i}, a primljeno je ${l}`}case\"invalid_value\":return o.values.length===1?`Neispravna vrijednost: o\\\\u010Dekivano ${_e(o.values[0])}`:`Neispravna opcija: o\\\\u010Dekivano jedno od ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin),l=n[o.origin]??o.origin;return c?`Preveliko: o\\\\u010Dekivano da ${l??\"vrijednost\"} ima ${i}${o.maximum.toString()} ${c.unit??\"elemenata\"}`:`Preveliko: o\\\\u010Dekivano da ${l??\"vrijednost\"} bude ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin),l=n[o.origin]??o.origin;return c?`Premalo: o\\\\u010Dekivano da ${l} ima ${i}${o.minimum.toString()} ${c.unit}`:`Premalo: o\\\\u010Dekivano da ${l} bude ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Neispravan tekst: mora zapo\\\\u010Dinjati s \"${i.prefix}\"`:i.format===\"ends_with\"?`Neispravan tekst: mora zavr\\\\u0161avati s \"${i.suffix}\"`:i.format===\"includes\"?`Neispravan tekst: mora sadr\\\\u017Eavati \"${i.includes}\"`:i.format===\"regex\"?`Neispravan tekst: mora odgovarati uzorku ${i.pattern}`:`Neispravna ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Neispravan broj: mora biti vi\\\\u0161ekratnik od ${o.divisor}`;case\"unrecognized_keys\":return`Neprepoznat${o.keys.length>1?\"i klju\\\\u010Devi\":\" klju\\\\u010D\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Neispravan klju\\\\u010D u ${n[o.origin]??o.origin}`;case\"invalid_union\":return\"Neispravan unos\";case\"invalid_element\":return`Neispravna vrijednost u ${n[o.origin]??o.origin}`;default:return\"Neispravan unos\"}}}});function fze(){return{localeError:yvt()}}var yvt,pze=x(()=>{u();je();yvt=()=>{let e={string:{unit:\"karakter\",verb:\"legyen\"},file:{unit:\"byte\",verb:\"legyen\"},array:{unit:\"elem\",verb:\"legyen\"},set:{unit:\"elem\",verb:\"legyen\"},map:{unit:\"elem\",verb:\"legyen\"}};function t(o){return e[o]??null}let r={regex:\"bemenet\",email:\"email c\\\\xEDm\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO id\\\\u0151b\\\\xE9lyeg\",date:\"ISO d\\\\xE1tum\",time:\"ISO id\\\\u0151\",duration:\"ISO id\\\\u0151intervallum\",ipv4:\"IPv4 c\\\\xEDm\",ipv6:\"IPv6 c\\\\xEDm\",mac:\"MAC c\\\\xEDm\",cidrv4:\"IPv4 tartom\\\\xE1ny\",cidrv6:\"IPv6 tartom\\\\xE1ny\",base64:\"base64-k\\\\xF3dolt string\",base64url:\"base64url-k\\\\xF3dolt string\",json_string:\"JSON string\",e164:\"E.164 sz\\\\xE1m\",credit_card:\"hitelk\\\\xE1rtyasz\\\\xE1m\",currency_code:\"p\\\\xE9nznemk\\\\xF3d\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"bemenet\"},n={nan:\"NaN\",number:\"sz\\\\xE1m\",array:\"t\\\\xF6mb\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\xC9rv\\\\xE9nytelen bemenet: a v\\\\xE1rt \\\\xE9rt\\\\xE9k instanceof ${o.expected}, a kapott \\\\xE9rt\\\\xE9k ${l}`:`\\\\xC9rv\\\\xE9nytelen bemenet: a v\\\\xE1rt \\\\xE9rt\\\\xE9k ${i}, a kapott \\\\xE9rt\\\\xE9k ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\xC9rv\\\\xE9nytelen bemenet: a v\\\\xE1rt \\\\xE9rt\\\\xE9k ${_e(o.values[0])}`:`\\\\xC9rv\\\\xE9nytelen opci\\\\xF3: valamelyik \\\\xE9rt\\\\xE9k v\\\\xE1rt ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`T\\\\xFAl nagy: ${o.origin??\"\\\\xE9rt\\\\xE9k\"} m\\\\xE9rete t\\\\xFAl nagy ${i}${o.maximum.toString()} ${c.unit??\"elem\"}`:`T\\\\xFAl nagy: a bemeneti \\\\xE9rt\\\\xE9k ${o.origin??\"\\\\xE9rt\\\\xE9k\"} t\\\\xFAl nagy: ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`T\\\\xFAl kicsi: a bemeneti \\\\xE9rt\\\\xE9k ${o.origin} m\\\\xE9rete t\\\\xFAl kicsi ${i}${o.minimum.toString()} ${c.unit}`:`T\\\\xFAl kicsi: a bemeneti \\\\xE9rt\\\\xE9k ${o.origin} t\\\\xFAl kicsi ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\xC9rv\\\\xE9nytelen string: \"${i.prefix}\" \\\\xE9rt\\\\xE9kkel kell kezd\\\\u0151dnie`:i.format===\"ends_with\"?`\\\\xC9rv\\\\xE9nytelen string: \"${i.suffix}\" \\\\xE9rt\\\\xE9kkel kell v\\\\xE9gz\\\\u0151dnie`:i.format===\"includes\"?`\\\\xC9rv\\\\xE9nytelen string: \"${i.includes}\" \\\\xE9rt\\\\xE9ket kell tartalmaznia`:i.format===\"regex\"?`\\\\xC9rv\\\\xE9nytelen string: ${i.pattern} mint\\\\xE1nak kell megfelelnie`:`\\\\xC9rv\\\\xE9nytelen ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\xC9rv\\\\xE9nytelen sz\\\\xE1m: ${o.divisor} t\\\\xF6bbsz\\\\xF6r\\\\xF6s\\\\xE9nek kell lennie`;case\"unrecognized_keys\":return`Ismeretlen kulcs${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\xC9rv\\\\xE9nytelen kulcs ${o.origin}`;case\"invalid_union\":return\"\\\\xC9rv\\\\xE9nytelen bemenet\";case\"invalid_element\":return`\\\\xC9rv\\\\xE9nytelen \\\\xE9rt\\\\xE9k: ${o.origin}`;default:return\"\\\\xC9rv\\\\xE9nytelen bemenet\"}}}});function mze(e,t,r){return Math.abs(e)===1?t:r}function Kw(e){if(!e)return\"\";let t=[\"\\\\u0561\",\"\\\\u0565\",\"\\\\u0568\",\"\\\\u056B\",\"\\\\u0578\",\"\\\\u0578\\\\u0582\",\"\\\\u0585\"],r=e[e.length-1];return e+(t.includes(r)?\"\\\\u0576\":\"\\\\u0568\")}function hze(){return{localeError:bvt()}}var bvt,yze=x(()=>{u();je();bvt=()=>{let e={string:{unit:{one:\"\\\\u0576\\\\u0577\\\\u0561\\\\u0576\",many:\"\\\\u0576\\\\u0577\\\\u0561\\\\u0576\\\\u0576\\\\u0565\\\\u0580\"},verb:\"\\\\u0578\\\\u0582\\\\u0576\\\\u0565\\\\u0576\\\\u0561\\\\u056C\"},file:{unit:{one:\"\\\\u0562\\\\u0561\\\\u0575\\\\u0569\",many:\"\\\\u0562\\\\u0561\\\\u0575\\\\u0569\\\\u0565\\\\u0580\"},verb:\"\\\\u0578\\\\u0582\\\\u0576\\\\u0565\\\\u0576\\\\u0561\\\\u056C\"},array:{unit:{one:\"\\\\u057F\\\\u0561\\\\u0580\\\\u0580\",many:\"\\\\u057F\\\\u0561\\\\u0580\\\\u0580\\\\u0565\\\\u0580\"},verb:\"\\\\u0578\\\\u0582\\\\u0576\\\\u0565\\\\u0576\\\\u0561\\\\u056C\"},set:{unit:{one:\"\\\\u057F\\\\u0561\\\\u0580\\\\u0580\",many:\"\\\\u057F\\\\u0561\\\\u0580\\\\u0580\\\\u0565\\\\u0580\"},verb:\"\\\\u0578\\\\u0582\\\\u0576\\\\u0565\\\\u0576\\\\u0561\\\\u056C\"},map:{unit:{one:\"\\\\u057F\\\\u0561\\\\u0580\\\\u0580\",many:\"\\\\u057F\\\\u0561\\\\u0580\\\\u0580\\\\u0565\\\\u0580\"},verb:\"\\\\u0578\\\\u0582\\\\u0576\\\\u0565\\\\u0576\\\\u0561\\\\u056C\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0574\\\\u0578\\\\u0582\\\\u057F\\\\u0584\",email:\"\\\\u0567\\\\u056C. \\\\u0570\\\\u0561\\\\u057D\\\\u0581\\\\u0565\",url:\"URL\",emoji:\"\\\\u0567\\\\u0574\\\\u0578\\\\u057B\\\\u056B\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0561\\\\u0574\\\\u057D\\\\u0561\\\\u0569\\\\u056B\\\\u057E \\\\u0587 \\\\u056A\\\\u0561\\\\u0574\",date:\"ISO \\\\u0561\\\\u0574\\\\u057D\\\\u0561\\\\u0569\\\\u056B\\\\u057E\",time:\"ISO \\\\u056A\\\\u0561\\\\u0574\",duration:\"ISO \\\\u057F\\\\u0587\\\\u0578\\\\u0572\\\\u0578\\\\u0582\\\\u0569\\\\u0575\\\\u0578\\\\u0582\\\\u0576\",ipv4:\"IPv4 \\\\u0570\\\\u0561\\\\u057D\\\\u0581\\\\u0565\",ipv6:\"IPv6 \\\\u0570\\\\u0561\\\\u057D\\\\u0581\\\\u0565\",mac:\"MAC \\\\u0570\\\\u0561\\\\u057D\\\\u0581\\\\u0565\",cidrv4:\"IPv4 \\\\u0574\\\\u056B\\\\u057B\\\\u0561\\\\u056F\\\\u0561\\\\u0575\\\\u0584\",cidrv6:\"IPv6 \\\\u0574\\\\u056B\\\\u057B\\\\u0561\\\\u056F\\\\u0561\\\\u0575\\\\u0584\",base64:\"base64 \\\\u0571\\\\u0587\\\\u0561\\\\u0579\\\\u0561\\\\u0583\\\\u0578\\\\u057E \\\\u057F\\\\u0578\\\\u0572\",base64url:\"base64url \\\\u0571\\\\u0587\\\\u0561\\\\u0579\\\\u0561\\\\u0583\\\\u0578\\\\u057E \\\\u057F\\\\u0578\\\\u0572\",json_string:\"JSON \\\\u057F\\\\u0578\\\\u0572\",e164:\"E.164 \\\\u0570\\\\u0561\\\\u0574\\\\u0561\\\\u0580\",credit_card:\"\\\\u056F\\\\u0580\\\\u0565\\\\u0564\\\\u056B\\\\u057F \\\\u0584\\\\u0561\\\\u0580\\\\u057F\\\\u056B \\\\u0570\\\\u0561\\\\u0574\\\\u0561\\\\u0580\",currency_code:\"\\\\u0561\\\\u0580\\\\u056A\\\\u0578\\\\u0582\\\\u0575\\\\u0569\\\\u056B \\\\u056F\\\\u0578\\\\u0564\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0574\\\\u0578\\\\u0582\\\\u057F\\\\u0584\"},n={nan:\"NaN\",number:\"\\\\u0569\\\\u056B\\\\u057E\",array:\"\\\\u0566\\\\u0561\\\\u0576\\\\u0563\\\\u057E\\\\u0561\\\\u056E\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0574\\\\u0578\\\\u0582\\\\u057F\\\\u0584\\\\u0561\\\\u0563\\\\u0580\\\\u0578\\\\u0582\\\\u0574\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567\\\\u0580 instanceof ${o.expected}, \\\\u057D\\\\u057F\\\\u0561\\\\u0581\\\\u057E\\\\u0565\\\\u056C \\\\u0567 ${l}`:`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0574\\\\u0578\\\\u0582\\\\u057F\\\\u0584\\\\u0561\\\\u0563\\\\u0580\\\\u0578\\\\u0582\\\\u0574\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567\\\\u0580 ${i}, \\\\u057D\\\\u057F\\\\u0561\\\\u0581\\\\u057E\\\\u0565\\\\u056C \\\\u0567 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0574\\\\u0578\\\\u0582\\\\u057F\\\\u0584\\\\u0561\\\\u0563\\\\u0580\\\\u0578\\\\u0582\\\\u0574\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567\\\\u0580 ${_e(o.values[1])}`:`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u057F\\\\u0561\\\\u0580\\\\u0562\\\\u0565\\\\u0580\\\\u0561\\\\u056F\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567\\\\u0580 \\\\u0570\\\\u0565\\\\u057F\\\\u0587\\\\u0575\\\\u0561\\\\u056C\\\\u0576\\\\u0565\\\\u0580\\\\u056B\\\\u0581 \\\\u0574\\\\u0565\\\\u056F\\\\u0568\\\\u055D ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);if(c){let l=Number(o.maximum),f=mze(l,c.unit.one,c.unit.many);return`\\\\u0549\\\\u0561\\\\u0583\\\\u0561\\\\u0566\\\\u0561\\\\u0576\\\\u0581 \\\\u0574\\\\u0565\\\\u056E \\\\u0561\\\\u0580\\\\u056A\\\\u0565\\\\u0584\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567, \\\\u0578\\\\u0580 ${Kw(o.origin??\"\\\\u0561\\\\u0580\\\\u056A\\\\u0565\\\\u0584\")} \\\\u056F\\\\u0578\\\\u0582\\\\u0576\\\\u0565\\\\u0576\\\\u0561 ${i}${o.maximum.toString()} ${f}`}return`\\\\u0549\\\\u0561\\\\u0583\\\\u0561\\\\u0566\\\\u0561\\\\u0576\\\\u0581 \\\\u0574\\\\u0565\\\\u056E \\\\u0561\\\\u0580\\\\u056A\\\\u0565\\\\u0584\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567, \\\\u0578\\\\u0580 ${Kw(o.origin??\"\\\\u0561\\\\u0580\\\\u056A\\\\u0565\\\\u0584\")} \\\\u056C\\\\u056B\\\\u0576\\\\u056B ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);if(c){let l=Number(o.minimum),f=mze(l,c.unit.one,c.unit.many);return`\\\\u0549\\\\u0561\\\\u0583\\\\u0561\\\\u0566\\\\u0561\\\\u0576\\\\u0581 \\\\u0583\\\\u0578\\\\u0584\\\\u0580 \\\\u0561\\\\u0580\\\\u056A\\\\u0565\\\\u0584\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567, \\\\u0578\\\\u0580 ${Kw(o.origin)} \\\\u056F\\\\u0578\\\\u0582\\\\u0576\\\\u0565\\\\u0576\\\\u0561 ${i}${o.minimum.toString()} ${f}`}return`\\\\u0549\\\\u0561\\\\u0583\\\\u0561\\\\u0566\\\\u0561\\\\u0576\\\\u0581 \\\\u0583\\\\u0578\\\\u0584\\\\u0580 \\\\u0561\\\\u0580\\\\u056A\\\\u0565\\\\u0584\\\\u2024 \\\\u057D\\\\u057A\\\\u0561\\\\u057D\\\\u057E\\\\u0578\\\\u0582\\\\u0574 \\\\u0567, \\\\u0578\\\\u0580 ${Kw(o.origin)} \\\\u056C\\\\u056B\\\\u0576\\\\u056B ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u057F\\\\u0578\\\\u0572\\\\u2024 \\\\u057A\\\\u0565\\\\u057F\\\\u0584 \\\\u0567 \\\\u057D\\\\u056F\\\\u057D\\\\u057E\\\\u056B \"${i.prefix}\"-\\\\u0578\\\\u057E`:i.format===\"ends_with\"?`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u057F\\\\u0578\\\\u0572\\\\u2024 \\\\u057A\\\\u0565\\\\u057F\\\\u0584 \\\\u0567 \\\\u0561\\\\u057E\\\\u0561\\\\u0580\\\\u057F\\\\u057E\\\\u056B \"${i.suffix}\"-\\\\u0578\\\\u057E`:i.format===\"includes\"?`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u057F\\\\u0578\\\\u0572\\\\u2024 \\\\u057A\\\\u0565\\\\u057F\\\\u0584 \\\\u0567 \\\\u057A\\\\u0561\\\\u0580\\\\u0578\\\\u0582\\\\u0576\\\\u0561\\\\u056F\\\\u056B \"${i.includes}\"`:i.format===\"regex\"?`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u057F\\\\u0578\\\\u0572\\\\u2024 \\\\u057A\\\\u0565\\\\u057F\\\\u0584 \\\\u0567 \\\\u0570\\\\u0561\\\\u0574\\\\u0561\\\\u057A\\\\u0561\\\\u057F\\\\u0561\\\\u057D\\\\u056D\\\\u0561\\\\u0576\\\\u056B ${i.pattern} \\\\u0571\\\\u0587\\\\u0561\\\\u0579\\\\u0561\\\\u0583\\\\u056B\\\\u0576`:`\\\\u054D\\\\u056D\\\\u0561\\\\u056C ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0569\\\\u056B\\\\u057E\\\\u2024 \\\\u057A\\\\u0565\\\\u057F\\\\u0584 \\\\u0567 \\\\u0562\\\\u0561\\\\u0566\\\\u0574\\\\u0561\\\\u057A\\\\u0561\\\\u057F\\\\u056B\\\\u056F \\\\u056C\\\\u056B\\\\u0576\\\\u056B ${o.divisor}-\\\\u056B`;case\"unrecognized_keys\":return`\\\\u0549\\\\u0573\\\\u0561\\\\u0576\\\\u0561\\\\u0579\\\\u057E\\\\u0561\\\\u056E \\\\u0562\\\\u0561\\\\u0576\\\\u0561\\\\u056C\\\\u056B${o.keys.length>1?\"\\\\u0576\\\\u0565\\\\u0580\":\"\"}. ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0562\\\\u0561\\\\u0576\\\\u0561\\\\u056C\\\\u056B ${Kw(o.origin)}-\\\\u0578\\\\u0582\\\\u0574`;case\"invalid_union\":return\"\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0574\\\\u0578\\\\u0582\\\\u057F\\\\u0584\\\\u0561\\\\u0563\\\\u0580\\\\u0578\\\\u0582\\\\u0574\";case\"invalid_element\":return`\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0561\\\\u0580\\\\u056A\\\\u0565\\\\u0584 ${Kw(o.origin)}-\\\\u0578\\\\u0582\\\\u0574`;default:return\"\\\\u054D\\\\u056D\\\\u0561\\\\u056C \\\\u0574\\\\u0578\\\\u0582\\\\u057F\\\\u0584\\\\u0561\\\\u0563\\\\u0580\\\\u0578\\\\u0582\\\\u0574\"}}}});function bze(){return{localeError:gvt()}}var gvt,gze=x(()=>{u();je();gvt=()=>{let e={string:{unit:\"karakter\",verb:\"memiliki\"},file:{unit:\"byte\",verb:\"memiliki\"},array:{unit:\"item\",verb:\"memiliki\"},set:{unit:\"item\",verb:\"memiliki\"},map:{unit:\"item\",verb:\"memiliki\"}};function t(o){return e[o]??null}let r={regex:\"input\",email:\"alamat email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"tanggal dan waktu format ISO\",date:\"tanggal format ISO\",time:\"jam format ISO\",duration:\"durasi format ISO\",ipv4:\"alamat IPv4\",ipv6:\"alamat IPv6\",mac:\"alamat MAC\",cidrv4:\"rentang alamat IPv4\",cidrv6:\"rentang alamat IPv6\",base64:\"string dengan enkode base64\",base64url:\"string dengan enkode base64url\",json_string:\"string JSON\",e164:\"angka E.164\",credit_card:\"nomor kartu kredit\",currency_code:\"kode mata uang\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Input tidak valid: diharapkan instanceof ${o.expected}, diterima ${l}`:`Input tidak valid: diharapkan ${i}, diterima ${l}`}case\"invalid_value\":return o.values.length===1?`Input tidak valid: diharapkan ${_e(o.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Terlalu besar: diharapkan ${o.origin??\"value\"} memiliki ${i}${o.maximum.toString()} ${c.unit??\"elemen\"}`:`Terlalu besar: diharapkan ${o.origin??\"value\"} menjadi ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Terlalu kecil: diharapkan ${o.origin} memiliki ${i}${o.minimum.toString()} ${c.unit}`:`Terlalu kecil: diharapkan ${o.origin} menjadi ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`String tidak valid: harus dimulai dengan \"${i.prefix}\"`:i.format===\"ends_with\"?`String tidak valid: harus berakhir dengan \"${i.suffix}\"`:i.format===\"includes\"?`String tidak valid: harus menyertakan \"${i.includes}\"`:i.format===\"regex\"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${r[i.format]??o.format} tidak valid`}case\"not_multiple_of\":return`Angka tidak valid: harus kelipatan dari ${o.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali ${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak valid di ${o.origin}`;case\"invalid_union\":return\"Input tidak valid\";case\"invalid_element\":return`Nilai tidak valid di ${o.origin}`;default:return\"Input tidak valid\"}}}});function xze(){return{localeError:xvt()}}var xvt,vze=x(()=>{u();je();xvt=()=>{let e={string:{unit:\"stafi\",verb:\"a\\\\xF0 hafa\"},file:{unit:\"b\\\\xE6ti\",verb:\"a\\\\xF0 hafa\"},array:{unit:\"hluti\",verb:\"a\\\\xF0 hafa\"},set:{unit:\"hluti\",verb:\"a\\\\xF0 hafa\"},map:{unit:\"hluti\",verb:\"a\\\\xF0 hafa\"}};function t(o){return e[o]??null}let r={regex:\"gildi\",email:\"netfang\",url:\"vefsl\\\\xF3\\\\xF0\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dagsetning og t\\\\xEDmi\",date:\"ISO dagsetning\",time:\"ISO t\\\\xEDmi\",duration:\"ISO t\\\\xEDmalengd\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded strengur\",base64url:\"base64url-encoded strengur\",json_string:\"JSON strengur\",e164:\"E.164 t\\\\xF6lugildi\",credit_card:\"kreditkortan\\\\xFAmer\",currency_code:\"gjaldmi\\\\xF0ilsk\\\\xF3\\\\xF0i\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"gildi\"},n={nan:\"NaN\",number:\"n\\\\xFAmer\",array:\"fylki\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Rangt gildi: \\\\xDE\\\\xFA sl\\\\xF3st inn ${l} \\\\xFEar sem \\\\xE1 a\\\\xF0 vera instanceof ${o.expected}`:`Rangt gildi: \\\\xDE\\\\xFA sl\\\\xF3st inn ${l} \\\\xFEar sem \\\\xE1 a\\\\xF0 vera ${i}`}case\"invalid_value\":return o.values.length===1?`Rangt gildi: gert r\\\\xE1\\\\xF0 fyrir ${_e(o.values[0])}`:`\\\\xD3gilt val: m\\\\xE1 vera eitt af eftirfarandi ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Of st\\\\xF3rt: gert er r\\\\xE1\\\\xF0 fyrir a\\\\xF0 ${o.origin??\"gildi\"} hafi ${i}${o.maximum.toString()} ${c.unit??\"hluti\"}`:`Of st\\\\xF3rt: gert er r\\\\xE1\\\\xF0 fyrir a\\\\xF0 ${o.origin??\"gildi\"} s\\\\xE9 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Of l\\\\xEDti\\\\xF0: gert er r\\\\xE1\\\\xF0 fyrir a\\\\xF0 ${o.origin} hafi ${i}${o.minimum.toString()} ${c.unit}`:`Of l\\\\xEDti\\\\xF0: gert er r\\\\xE1\\\\xF0 fyrir a\\\\xF0 ${o.origin} s\\\\xE9 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\xD3gildur strengur: ver\\\\xF0ur a\\\\xF0 byrja \\\\xE1 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\xD3gildur strengur: ver\\\\xF0ur a\\\\xF0 enda \\\\xE1 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\xD3gildur strengur: ver\\\\xF0ur a\\\\xF0 innihalda \"${i.includes}\"`:i.format===\"regex\"?`\\\\xD3gildur strengur: ver\\\\xF0ur a\\\\xF0 fylgja mynstri ${i.pattern}`:`Rangt ${r[i.format]??o.format}`}case\"not_multiple_of\":return`R\\\\xF6ng tala: ver\\\\xF0ur a\\\\xF0 vera margfeldi af ${o.divisor}`;case\"unrecognized_keys\":return`\\\\xD3\\\\xFEekkt ${o.keys.length>1?\"ir lyklar\":\"ur lykill\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Rangur lykill \\\\xED ${o.origin}`;case\"invalid_union\":return\"Rangt gildi\";case\"invalid_element\":return`Rangt gildi \\\\xED ${o.origin}`;default:return\"Rangt gildi\"}}}});function wze(){return{localeError:vvt()}}var vvt,Eze=x(()=>{u();je();vvt=()=>{let e={string:{unit:\"caratteri\",verb:\"avere\"},file:{unit:\"byte\",verb:\"avere\"},array:{unit:\"elementi\",verb:\"avere\"},set:{unit:\"elementi\",verb:\"avere\"},map:{unit:\"elementi\",verb:\"avere\"}};function t(o){return e[o]??null}let r={regex:\"input\",email:\"indirizzo email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data e ora ISO\",date:\"data ISO\",time:\"ora ISO\",duration:\"durata ISO\",ipv4:\"indirizzo IPv4\",ipv6:\"indirizzo IPv6\",mac:\"indirizzo MAC\",cidrv4:\"intervallo IPv4\",cidrv6:\"intervallo IPv6\",base64:\"stringa codificata in base64\",base64url:\"URL codificata in base64\",json_string:\"stringa JSON\",e164:\"numero E.164\",credit_card:\"numero di carta di credito\",currency_code:\"codice valuta\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\",number:\"numero\",array:\"vettore\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Input non valido: atteso instanceof ${o.expected}, ricevuto ${l}`:`Input non valido: atteso ${i}, ricevuto ${l}`}case\"invalid_value\":return o.values.length===1?`Input non valido: atteso ${_e(o.values[0])}`:`Opzione non valida: atteso uno tra ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Troppo grande: ${o.origin??\"valore\"} deve avere ${i}${o.maximum.toString()} ${c.unit??\"elementi\"}`:`Troppo grande: ${o.origin??\"valore\"} deve essere ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Troppo piccolo: ${o.origin} deve avere ${i}${o.minimum.toString()} ${c.unit}`:`Troppo piccolo: ${o.origin} deve essere ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Stringa non valida: deve iniziare con \"${i.prefix}\"`:i.format===\"ends_with\"?`Stringa non valida: deve terminare con \"${i.suffix}\"`:i.format===\"includes\"?`Stringa non valida: deve includere \"${i.includes}\"`:i.format===\"regex\"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Input non valido: ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Numero non valido: deve essere un multiplo di ${o.divisor}`;case\"unrecognized_keys\":return`Chiav${o.keys.length>1?\"i\":\"e\"} non riconosciut${o.keys.length>1?\"e\":\"a\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Chiave non valida in ${o.origin}`;case\"invalid_union\":return\"Input non valido\";case\"invalid_element\":return`Valore non valido in ${o.origin}`;default:return\"Input non valido\"}}}});function _ze(){return{localeError:wvt()}}var wvt,Sze=x(()=>{u();je();wvt=()=>{let e={string:{unit:\"\\\\u6587\\\\u5B57\",verb:\"\\\\u3067\\\\u3042\\\\u308B\"},file:{unit:\"\\\\u30D0\\\\u30A4\\\\u30C8\",verb:\"\\\\u3067\\\\u3042\\\\u308B\"},array:{unit:\"\\\\u8981\\\\u7D20\",verb:\"\\\\u3067\\\\u3042\\\\u308B\"},set:{unit:\"\\\\u8981\\\\u7D20\",verb:\"\\\\u3067\\\\u3042\\\\u308B\"},map:{unit:\"\\\\u8981\\\\u7D20\",verb:\"\\\\u3067\\\\u3042\\\\u308B\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u5165\\\\u529B\\\\u5024\",email:\"\\\\u30E1\\\\u30FC\\\\u30EB\\\\u30A2\\\\u30C9\\\\u30EC\\\\u30B9\",url:\"URL\",emoji:\"\\\\u7D75\\\\u6587\\\\u5B57\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO\\\\u65E5\\\\u6642\",date:\"ISO\\\\u65E5\\\\u4ED8\",time:\"ISO\\\\u6642\\\\u523B\",duration:\"ISO\\\\u671F\\\\u9593\",ipv4:\"IPv4\\\\u30A2\\\\u30C9\\\\u30EC\\\\u30B9\",ipv6:\"IPv6\\\\u30A2\\\\u30C9\\\\u30EC\\\\u30B9\",mac:\"MAC\\\\u30A2\\\\u30C9\\\\u30EC\\\\u30B9\",cidrv4:\"IPv4\\\\u7BC4\\\\u56F2\",cidrv6:\"IPv6\\\\u7BC4\\\\u56F2\",base64:\"base64\\\\u30A8\\\\u30F3\\\\u30B3\\\\u30FC\\\\u30C9\\\\u6587\\\\u5B57\\\\u5217\",base64url:\"base64url\\\\u30A8\\\\u30F3\\\\u30B3\\\\u30FC\\\\u30C9\\\\u6587\\\\u5B57\\\\u5217\",json_string:\"JSON\\\\u6587\\\\u5B57\\\\u5217\",e164:\"E.164\\\\u756A\\\\u53F7\",credit_card:\"\\\\u30AF\\\\u30EC\\\\u30B8\\\\u30C3\\\\u30C8\\\\u30AB\\\\u30FC\\\\u30C9\\\\u756A\\\\u53F7\",currency_code:\"\\\\u901A\\\\u8CA8\\\\u30B3\\\\u30FC\\\\u30C9\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u5165\\\\u529B\\\\u5024\"},n={nan:\"NaN\",number:\"\\\\u6570\\\\u5024\",array:\"\\\\u914D\\\\u5217\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u7121\\\\u52B9\\\\u306A\\\\u5165\\\\u529B: instanceof ${o.expected}\\\\u304C\\\\u671F\\\\u5F85\\\\u3055\\\\u308C\\\\u307E\\\\u3057\\\\u305F\\\\u304C\\\\u3001${l}\\\\u304C\\\\u5165\\\\u529B\\\\u3055\\\\u308C\\\\u307E\\\\u3057\\\\u305F`:`\\\\u7121\\\\u52B9\\\\u306A\\\\u5165\\\\u529B: ${i}\\\\u304C\\\\u671F\\\\u5F85\\\\u3055\\\\u308C\\\\u307E\\\\u3057\\\\u305F\\\\u304C\\\\u3001${l}\\\\u304C\\\\u5165\\\\u529B\\\\u3055\\\\u308C\\\\u307E\\\\u3057\\\\u305F`}case\"invalid_value\":return o.values.length===1?`\\\\u7121\\\\u52B9\\\\u306A\\\\u5165\\\\u529B: ${_e(o.values[0])}\\\\u304C\\\\u671F\\\\u5F85\\\\u3055\\\\u308C\\\\u307E\\\\u3057\\\\u305F`:`\\\\u7121\\\\u52B9\\\\u306A\\\\u9078\\\\u629E: ${pe(o.values,\"\\\\u3001\")}\\\\u306E\\\\u3044\\\\u305A\\\\u308C\\\\u304B\\\\u3067\\\\u3042\\\\u308B\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`;case\"too_big\":{let i=o.inclusive?\"\\\\u4EE5\\\\u4E0B\\\\u3067\\\\u3042\\\\u308B\":\"\\\\u3088\\\\u308A\\\\u5C0F\\\\u3055\\\\u3044\",c=t(o.origin);return c?`\\\\u5927\\\\u304D\\\\u3059\\\\u304E\\\\u308B\\\\u5024: ${o.origin??\"\\\\u5024\"}\\\\u306F${o.maximum.toString()}${c.unit??\"\\\\u8981\\\\u7D20\"}${i}\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`:`\\\\u5927\\\\u304D\\\\u3059\\\\u304E\\\\u308B\\\\u5024: ${o.origin??\"\\\\u5024\"}\\\\u306F${o.maximum.toString()}${i}\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`}case\"too_small\":{let i=o.inclusive?\"\\\\u4EE5\\\\u4E0A\\\\u3067\\\\u3042\\\\u308B\":\"\\\\u3088\\\\u308A\\\\u5927\\\\u304D\\\\u3044\",c=t(o.origin);return c?`\\\\u5C0F\\\\u3055\\\\u3059\\\\u304E\\\\u308B\\\\u5024: ${o.origin}\\\\u306F${o.minimum.toString()}${c.unit}${i}\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`:`\\\\u5C0F\\\\u3055\\\\u3059\\\\u304E\\\\u308B\\\\u5024: ${o.origin}\\\\u306F${o.minimum.toString()}${i}\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u7121\\\\u52B9\\\\u306A\\\\u6587\\\\u5B57\\\\u5217: \"${i.prefix}\"\\\\u3067\\\\u59CB\\\\u307E\\\\u308B\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`:i.format===\"ends_with\"?`\\\\u7121\\\\u52B9\\\\u306A\\\\u6587\\\\u5B57\\\\u5217: \"${i.suffix}\"\\\\u3067\\\\u7D42\\\\u308F\\\\u308B\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`:i.format===\"includes\"?`\\\\u7121\\\\u52B9\\\\u306A\\\\u6587\\\\u5B57\\\\u5217: \"${i.includes}\"\\\\u3092\\\\u542B\\\\u3080\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`:i.format===\"regex\"?`\\\\u7121\\\\u52B9\\\\u306A\\\\u6587\\\\u5B57\\\\u5217: \\\\u30D1\\\\u30BF\\\\u30FC\\\\u30F3${i.pattern}\\\\u306B\\\\u4E00\\\\u81F4\\\\u3059\\\\u308B\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`:`\\\\u7121\\\\u52B9\\\\u306A${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u7121\\\\u52B9\\\\u306A\\\\u6570\\\\u5024: ${o.divisor}\\\\u306E\\\\u500D\\\\u6570\\\\u3067\\\\u3042\\\\u308B\\\\u5FC5\\\\u8981\\\\u304C\\\\u3042\\\\u308A\\\\u307E\\\\u3059`;case\"unrecognized_keys\":return`\\\\u8A8D\\\\u8B58\\\\u3055\\\\u308C\\\\u3066\\\\u3044\\\\u306A\\\\u3044\\\\u30AD\\\\u30FC${o.keys.length>1?\"\\\\u7FA4\":\"\"}: ${pe(o.keys,\"\\\\u3001\")}`;case\"invalid_key\":return`${o.origin}\\\\u5185\\\\u306E\\\\u7121\\\\u52B9\\\\u306A\\\\u30AD\\\\u30FC`;case\"invalid_union\":return\"\\\\u7121\\\\u52B9\\\\u306A\\\\u5165\\\\u529B\";case\"invalid_element\":return`${o.origin}\\\\u5185\\\\u306E\\\\u7121\\\\u52B9\\\\u306A\\\\u5024`;default:return\"\\\\u7121\\\\u52B9\\\\u306A\\\\u5165\\\\u529B\"}}}});function Aze(){return{localeError:Evt()}}var Evt,kze=x(()=>{u();je();Evt=()=>{let e={string:{unit:\"\\\\u10E1\\\\u10D8\\\\u10DB\\\\u10D1\\\\u10DD\\\\u10DA\\\\u10DD\",verb:\"\\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10E8\\\\u10D4\\\\u10D8\\\\u10EA\\\\u10D0\\\\u10D5\\\\u10D3\\\\u10D4\\\\u10E1\"},file:{unit:\"\\\\u10D1\\\\u10D0\\\\u10D8\\\\u10E2\\\\u10D8\",verb:\"\\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10E8\\\\u10D4\\\\u10D8\\\\u10EA\\\\u10D0\\\\u10D5\\\\u10D3\\\\u10D4\\\\u10E1\"},array:{unit:\"\\\\u10D4\\\\u10DA\\\\u10D4\\\\u10DB\\\\u10D4\\\\u10DC\\\\u10E2\\\\u10D8\",verb:\"\\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10E8\\\\u10D4\\\\u10D8\\\\u10EA\\\\u10D0\\\\u10D5\\\\u10D3\\\\u10D4\\\\u10E1\"},set:{unit:\"\\\\u10D4\\\\u10DA\\\\u10D4\\\\u10DB\\\\u10D4\\\\u10DC\\\\u10E2\\\\u10D8\",verb:\"\\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10E8\\\\u10D4\\\\u10D8\\\\u10EA\\\\u10D0\\\\u10D5\\\\u10D3\\\\u10D4\\\\u10E1\"},map:{unit:\"\\\\u10D4\\\\u10DA\\\\u10D4\\\\u10DB\\\\u10D4\\\\u10DC\\\\u10E2\\\\u10D8\",verb:\"\\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10E8\\\\u10D4\\\\u10D8\\\\u10EA\\\\u10D0\\\\u10D5\\\\u10D3\\\\u10D4\\\\u10E1\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u10E8\\\\u10D4\\\\u10E7\\\\u10D5\\\\u10D0\\\\u10DC\\\\u10D0\",email:\"\\\\u10D4\\\\u10DA-\\\\u10E4\\\\u10DD\\\\u10E1\\\\u10E2\\\\u10D8\\\\u10E1 \\\\u10DB\\\\u10D8\\\\u10E1\\\\u10D0\\\\u10DB\\\\u10D0\\\\u10E0\\\\u10D7\\\\u10D8\",url:\"URL\",emoji:\"\\\\u10D4\\\\u10DB\\\\u10DD\\\\u10EF\\\\u10D8\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u10D7\\\\u10D0\\\\u10E0\\\\u10D8\\\\u10E6\\\\u10D8-\\\\u10D3\\\\u10E0\\\\u10DD\",date:\"\\\\u10D7\\\\u10D0\\\\u10E0\\\\u10D8\\\\u10E6\\\\u10D8\",time:\"\\\\u10D3\\\\u10E0\\\\u10DD\",duration:\"\\\\u10EE\\\\u10D0\\\\u10DC\\\\u10D2\\\\u10E0\\\\u10EB\\\\u10DA\\\\u10D8\\\\u10D5\\\\u10DD\\\\u10D1\\\\u10D0\",ipv4:\"IPv4 \\\\u10DB\\\\u10D8\\\\u10E1\\\\u10D0\\\\u10DB\\\\u10D0\\\\u10E0\\\\u10D7\\\\u10D8\",ipv6:\"IPv6 \\\\u10DB\\\\u10D8\\\\u10E1\\\\u10D0\\\\u10DB\\\\u10D0\\\\u10E0\\\\u10D7\\\\u10D8\",mac:\"MAC \\\\u10DB\\\\u10D8\\\\u10E1\\\\u10D0\\\\u10DB\\\\u10D0\\\\u10E0\\\\u10D7\\\\u10D8\",cidrv4:\"IPv4 \\\\u10D3\\\\u10D8\\\\u10D0\\\\u10DE\\\\u10D0\\\\u10D6\\\\u10DD\\\\u10DC\\\\u10D8\",cidrv6:\"IPv6 \\\\u10D3\\\\u10D8\\\\u10D0\\\\u10DE\\\\u10D0\\\\u10D6\\\\u10DD\\\\u10DC\\\\u10D8\",base64:\"base64-\\\\u10D9\\\\u10DD\\\\u10D3\\\\u10D8\\\\u10E0\\\\u10D4\\\\u10D1\\\\u10E3\\\\u10DA\\\\u10D8 \\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8\",base64url:\"base64url-\\\\u10D9\\\\u10DD\\\\u10D3\\\\u10D8\\\\u10E0\\\\u10D4\\\\u10D1\\\\u10E3\\\\u10DA\\\\u10D8 \\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8\",json_string:\"JSON \\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8\",e164:\"E.164 \\\\u10DC\\\\u10DD\\\\u10DB\\\\u10D4\\\\u10E0\\\\u10D8\",credit_card:\"\\\\u10E1\\\\u10D0\\\\u10D9\\\\u10E0\\\\u10D4\\\\u10D3\\\\u10D8\\\\u10E2\\\\u10DD \\\\u10D1\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10D7\\\\u10D8\\\\u10E1 \\\\u10DC\\\\u10DD\\\\u10DB\\\\u10D4\\\\u10E0\\\\u10D8\",currency_code:\"\\\\u10D5\\\\u10D0\\\\u10DA\\\\u10E3\\\\u10E2\\\\u10D8\\\\u10E1 \\\\u10D9\\\\u10DD\\\\u10D3\\\\u10D8\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u10E8\\\\u10D4\\\\u10E7\\\\u10D5\\\\u10D0\\\\u10DC\\\\u10D0\"},n={nan:\"NaN\",number:\"\\\\u10E0\\\\u10D8\\\\u10EA\\\\u10EE\\\\u10D5\\\\u10D8\",string:\"\\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8\",boolean:\"\\\\u10D1\\\\u10E3\\\\u10DA\\\\u10D4\\\\u10D0\\\\u10DC\\\\u10D8\",function:\"\\\\u10E4\\\\u10E3\\\\u10DC\\\\u10E5\\\\u10EA\\\\u10D8\\\\u10D0\",array:\"\\\\u10DB\\\\u10D0\\\\u10E1\\\\u10D8\\\\u10D5\\\\u10D8\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10E8\\\\u10D4\\\\u10E7\\\\u10D5\\\\u10D0\\\\u10DC\\\\u10D0: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8 instanceof ${o.expected}, \\\\u10DB\\\\u10D8\\\\u10E6\\\\u10D4\\\\u10D1\\\\u10E3\\\\u10DA\\\\u10D8 ${l}`:`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10E8\\\\u10D4\\\\u10E7\\\\u10D5\\\\u10D0\\\\u10DC\\\\u10D0: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8 ${i}, \\\\u10DB\\\\u10D8\\\\u10E6\\\\u10D4\\\\u10D1\\\\u10E3\\\\u10DA\\\\u10D8 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10E8\\\\u10D4\\\\u10E7\\\\u10D5\\\\u10D0\\\\u10DC\\\\u10D0: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8 ${_e(o.values[0])}`:`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10D5\\\\u10D0\\\\u10E0\\\\u10D8\\\\u10D0\\\\u10DC\\\\u10E2\\\\u10D8: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8\\\\u10D0 \\\\u10D4\\\\u10E0\\\\u10D7-\\\\u10D4\\\\u10E0\\\\u10D7\\\\u10D8 ${pe(o.values,\"|\")}-\\\\u10D3\\\\u10D0\\\\u10DC`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u10D6\\\\u10D4\\\\u10D3\\\\u10DB\\\\u10D4\\\\u10E2\\\\u10D0\\\\u10D3 \\\\u10D3\\\\u10D8\\\\u10D3\\\\u10D8: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8 ${o.origin??\"\\\\u10DB\\\\u10DC\\\\u10D8\\\\u10E8\\\\u10D5\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10DD\\\\u10D1\\\\u10D0\"} ${c.verb} ${i}${o.maximum.toString()} ${c.unit}`:`\\\\u10D6\\\\u10D4\\\\u10D3\\\\u10DB\\\\u10D4\\\\u10E2\\\\u10D0\\\\u10D3 \\\\u10D3\\\\u10D8\\\\u10D3\\\\u10D8: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8 ${o.origin??\"\\\\u10DB\\\\u10DC\\\\u10D8\\\\u10E8\\\\u10D5\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10DD\\\\u10D1\\\\u10D0\"} \\\\u10D8\\\\u10E7\\\\u10DD\\\\u10E1 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u10D6\\\\u10D4\\\\u10D3\\\\u10DB\\\\u10D4\\\\u10E2\\\\u10D0\\\\u10D3 \\\\u10DE\\\\u10D0\\\\u10E2\\\\u10D0\\\\u10E0\\\\u10D0: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8 ${o.origin} ${c.verb} ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u10D6\\\\u10D4\\\\u10D3\\\\u10DB\\\\u10D4\\\\u10E2\\\\u10D0\\\\u10D3 \\\\u10DE\\\\u10D0\\\\u10E2\\\\u10D0\\\\u10E0\\\\u10D0: \\\\u10DB\\\\u10DD\\\\u10E1\\\\u10D0\\\\u10DA\\\\u10DD\\\\u10D3\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10D8 ${o.origin} \\\\u10D8\\\\u10E7\\\\u10DD\\\\u10E1 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8: \\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10D8\\\\u10EC\\\\u10E7\\\\u10D4\\\\u10D1\\\\u10DD\\\\u10D3\\\\u10D4\\\\u10E1 \"${i.prefix}\"-\\\\u10D8\\\\u10D7`:i.format===\"ends_with\"?`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8: \\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10DB\\\\u10D7\\\\u10D0\\\\u10D5\\\\u10E0\\\\u10D3\\\\u10D4\\\\u10D1\\\\u10DD\\\\u10D3\\\\u10D4\\\\u10E1 \"${i.suffix}\"-\\\\u10D8\\\\u10D7`:i.format===\"includes\"?`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8: \\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10E8\\\\u10D4\\\\u10D8\\\\u10EA\\\\u10D0\\\\u10D5\\\\u10D3\\\\u10D4\\\\u10E1 \"${i.includes}\"-\\\\u10E1`:i.format===\"regex\"?`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10D5\\\\u10D4\\\\u10DA\\\\u10D8: \\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10E8\\\\u10D4\\\\u10D4\\\\u10E1\\\\u10D0\\\\u10D1\\\\u10D0\\\\u10DB\\\\u10D4\\\\u10D1\\\\u10DD\\\\u10D3\\\\u10D4\\\\u10E1 \\\\u10E8\\\\u10D0\\\\u10D1\\\\u10DA\\\\u10DD\\\\u10DC\\\\u10E1 ${i.pattern}`:`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10E0\\\\u10D8\\\\u10EA\\\\u10EE\\\\u10D5\\\\u10D8: \\\\u10E3\\\\u10DC\\\\u10D3\\\\u10D0 \\\\u10D8\\\\u10E7\\\\u10DD\\\\u10E1 ${o.divisor}-\\\\u10D8\\\\u10E1 \\\\u10EF\\\\u10D4\\\\u10E0\\\\u10D0\\\\u10D3\\\\u10D8`;case\"unrecognized_keys\":return`\\\\u10E3\\\\u10EA\\\\u10DC\\\\u10DD\\\\u10D1\\\\u10D8 \\\\u10D2\\\\u10D0\\\\u10E1\\\\u10D0\\\\u10E6\\\\u10D4\\\\u10D1${o.keys.length>1?\"\\\\u10D4\\\\u10D1\\\\u10D8\":\"\\\\u10D8\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10D2\\\\u10D0\\\\u10E1\\\\u10D0\\\\u10E6\\\\u10D4\\\\u10D1\\\\u10D8 ${o.origin}-\\\\u10E8\\\\u10D8`;case\"invalid_union\":return\"\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10E8\\\\u10D4\\\\u10E7\\\\u10D5\\\\u10D0\\\\u10DC\\\\u10D0\";case\"invalid_element\":return`\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10DB\\\\u10DC\\\\u10D8\\\\u10E8\\\\u10D5\\\\u10DC\\\\u10D4\\\\u10DA\\\\u10DD\\\\u10D1\\\\u10D0 ${o.origin}-\\\\u10E8\\\\u10D8`;default:return\"\\\\u10D0\\\\u10E0\\\\u10D0\\\\u10E1\\\\u10EC\\\\u10DD\\\\u10E0\\\\u10D8 \\\\u10E8\\\\u10D4\\\\u10E7\\\\u10D5\\\\u10D0\\\\u10DC\\\\u10D0\"}}}});function ZO(){return{localeError:_vt()}}var _vt,lW=x(()=>{u();je();_vt=()=>{let e={string:{unit:\"\\\\u178F\\\\u17BD\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A\",verb:\"\\\\u1782\\\\u17BD\\\\u179A\\\\u1798\\\\u17B6\\\\u1793\"},file:{unit:\"\\\\u1794\\\\u17C3\",verb:\"\\\\u1782\\\\u17BD\\\\u179A\\\\u1798\\\\u17B6\\\\u1793\"},array:{unit:\"\\\\u1792\\\\u17B6\\\\u178F\\\\u17BB\",verb:\"\\\\u1782\\\\u17BD\\\\u179A\\\\u1798\\\\u17B6\\\\u1793\"},set:{unit:\"\\\\u1792\\\\u17B6\\\\u178F\\\\u17BB\",verb:\"\\\\u1782\\\\u17BD\\\\u179A\\\\u1798\\\\u17B6\\\\u1793\"},map:{unit:\"\\\\u1792\\\\u17B6\\\\u178F\\\\u17BB\",verb:\"\\\\u1782\\\\u17BD\\\\u179A\\\\u1798\\\\u17B6\\\\u1793\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1794\\\\u1789\\\\u17D2\\\\u1785\\\\u17BC\\\\u179B\",email:\"\\\\u17A2\\\\u17B6\\\\u179F\\\\u1799\\\\u178A\\\\u17D2\\\\u178B\\\\u17B6\\\\u1793\\\\u17A2\\\\u17CA\\\\u17B8\\\\u1798\\\\u17C2\\\\u179B\",url:\"URL\",emoji:\"\\\\u179F\\\\u1789\\\\u17D2\\\\u1789\\\\u17B6\\\\u17A2\\\\u17B6\\\\u179A\\\\u1798\\\\u17D2\\\\u1798\\\\u178E\\\\u17CD\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u1780\\\\u17B6\\\\u179B\\\\u1794\\\\u179A\\\\u17B7\\\\u1785\\\\u17D2\\\\u1786\\\\u17C1\\\\u1791 \\\\u1793\\\\u17B7\\\\u1784\\\\u1798\\\\u17C9\\\\u17C4\\\\u1784 ISO\",date:\"\\\\u1780\\\\u17B6\\\\u179B\\\\u1794\\\\u179A\\\\u17B7\\\\u1785\\\\u17D2\\\\u1786\\\\u17C1\\\\u1791 ISO\",time:\"\\\\u1798\\\\u17C9\\\\u17C4\\\\u1784 ISO\",duration:\"\\\\u179A\\\\u1799\\\\u17C8\\\\u1796\\\\u17C1\\\\u179B ISO\",ipv4:\"\\\\u17A2\\\\u17B6\\\\u179F\\\\u1799\\\\u178A\\\\u17D2\\\\u178B\\\\u17B6\\\\u1793 IPv4\",ipv6:\"\\\\u17A2\\\\u17B6\\\\u179F\\\\u1799\\\\u178A\\\\u17D2\\\\u178B\\\\u17B6\\\\u1793 IPv6\",mac:\"\\\\u17A2\\\\u17B6\\\\u179F\\\\u1799\\\\u178A\\\\u17D2\\\\u178B\\\\u17B6\\\\u1793 MAC\",cidrv4:\"\\\\u178A\\\\u17C2\\\\u1793\\\\u17A2\\\\u17B6\\\\u179F\\\\u1799\\\\u178A\\\\u17D2\\\\u178B\\\\u17B6\\\\u1793 IPv4\",cidrv6:\"\\\\u178A\\\\u17C2\\\\u1793\\\\u17A2\\\\u17B6\\\\u179F\\\\u1799\\\\u178A\\\\u17D2\\\\u178B\\\\u17B6\\\\u1793 IPv6\",base64:\"\\\\u1781\\\\u17D2\\\\u179F\\\\u17C2\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A\\\\u17A2\\\\u17CA\\\\u17B7\\\\u1780\\\\u17BC\\\\u178A base64\",base64url:\"\\\\u1781\\\\u17D2\\\\u179F\\\\u17C2\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A\\\\u17A2\\\\u17CA\\\\u17B7\\\\u1780\\\\u17BC\\\\u178A base64url\",json_string:\"\\\\u1781\\\\u17D2\\\\u179F\\\\u17C2\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A JSON\",e164:\"\\\\u179B\\\\u17C1\\\\u1781 E.164\",credit_card:\"\\\\u179B\\\\u17C1\\\\u1781\\\\u1794\\\\u17D0\\\\u178E\\\\u17D2\\\\u178E\\\\u17A5\\\\u178E\\\\u1791\\\\u17B6\\\\u1793\",currency_code:\"\\\\u1780\\\\u17BC\\\\u178A\\\\u179A\\\\u17BC\\\\u1794\\\\u17B7\\\\u1799\\\\u1794\\\\u17D0\\\\u178E\\\\u17D2\\\\u178E\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1794\\\\u1789\\\\u17D2\\\\u1785\\\\u17BC\\\\u179B\"},n={nan:\"NaN\",number:\"\\\\u179B\\\\u17C1\\\\u1781\",array:\"\\\\u17A2\\\\u17B6\\\\u179A\\\\u17C1 (Array)\",null:\"\\\\u1782\\\\u17D2\\\\u1798\\\\u17B6\\\\u1793\\\\u178F\\\\u1798\\\\u17D2\\\\u179B\\\\u17C3 (null)\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1794\\\\u1789\\\\u17D2\\\\u1785\\\\u17BC\\\\u179B\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1780\\\\u17B6\\\\u179A instanceof ${o.expected} \\\\u1794\\\\u17C9\\\\u17BB\\\\u1793\\\\u17D2\\\\u178F\\\\u17C2\\\\u1791\\\\u1791\\\\u17BD\\\\u179B\\\\u1794\\\\u17B6\\\\u1793 ${l}`:`\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1794\\\\u1789\\\\u17D2\\\\u1785\\\\u17BC\\\\u179B\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1780\\\\u17B6\\\\u179A ${i} \\\\u1794\\\\u17C9\\\\u17BB\\\\u1793\\\\u17D2\\\\u178F\\\\u17C2\\\\u1791\\\\u1791\\\\u17BD\\\\u179B\\\\u1794\\\\u17B6\\\\u1793 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1794\\\\u1789\\\\u17D2\\\\u1785\\\\u17BC\\\\u179B\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1780\\\\u17B6\\\\u179A ${_e(o.values[0])}`:`\\\\u1787\\\\u1798\\\\u17D2\\\\u179A\\\\u17BE\\\\u179F\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1787\\\\u17B6\\\\u1798\\\\u17BD\\\\u1799\\\\u1780\\\\u17D2\\\\u1793\\\\u17BB\\\\u1784\\\\u1785\\\\u17C6\\\\u178E\\\\u17C4\\\\u1798 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u1792\\\\u17C6\\\\u1796\\\\u17C1\\\\u1780\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1780\\\\u17B6\\\\u179A ${o.origin??\"\\\\u178F\\\\u1798\\\\u17D2\\\\u179B\\\\u17C3\"} ${i} ${o.maximum.toString()} ${c.unit??\"\\\\u1792\\\\u17B6\\\\u178F\\\\u17BB\"}`:`\\\\u1792\\\\u17C6\\\\u1796\\\\u17C1\\\\u1780\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1780\\\\u17B6\\\\u179A ${o.origin??\"\\\\u178F\\\\u1798\\\\u17D2\\\\u179B\\\\u17C3\"} ${i} ${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u178F\\\\u17BC\\\\u1785\\\\u1796\\\\u17C1\\\\u1780\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1780\\\\u17B6\\\\u179A ${o.origin} ${i} ${o.minimum.toString()} ${c.unit}`:`\\\\u178F\\\\u17BC\\\\u1785\\\\u1796\\\\u17C1\\\\u1780\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1780\\\\u17B6\\\\u179A ${o.origin} ${i} ${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u1781\\\\u17D2\\\\u179F\\\\u17C2\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1785\\\\u17B6\\\\u1794\\\\u17CB\\\\u1795\\\\u17D2\\\\u178F\\\\u17BE\\\\u1798\\\\u178A\\\\u17C4\\\\u1799 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u1781\\\\u17D2\\\\u179F\\\\u17C2\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1794\\\\u1789\\\\u17D2\\\\u1785\\\\u1794\\\\u17CB\\\\u178A\\\\u17C4\\\\u1799 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u1781\\\\u17D2\\\\u179F\\\\u17C2\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1798\\\\u17B6\\\\u1793 \"${i.includes}\"`:i.format===\"regex\"?`\\\\u1781\\\\u17D2\\\\u179F\\\\u17C2\\\\u17A2\\\\u1780\\\\u17D2\\\\u179F\\\\u179A\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u178F\\\\u17C2\\\\u1795\\\\u17D2\\\\u1782\\\\u17BC\\\\u1795\\\\u17D2\\\\u1782\\\\u1784\\\\u1793\\\\u17B9\\\\u1784\\\\u1791\\\\u1798\\\\u17D2\\\\u179A\\\\u1784\\\\u17CB\\\\u178A\\\\u17C2\\\\u179B\\\\u1794\\\\u17B6\\\\u1793\\\\u1780\\\\u17C6\\\\u178E\\\\u178F\\\\u17CB ${i.pattern}`:`\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u179B\\\\u17C1\\\\u1781\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u17D6 \\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u178F\\\\u17C2\\\\u1787\\\\u17B6\\\\u1796\\\\u17A0\\\\u17BB\\\\u1782\\\\u17BB\\\\u178E\\\\u1793\\\\u17C3 ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u179A\\\\u1780\\\\u1783\\\\u17BE\\\\u1789\\\\u179F\\\\u17C4\\\\u1798\\\\u17B7\\\\u1793\\\\u179F\\\\u17D2\\\\u1782\\\\u17B6\\\\u179B\\\\u17CB\\\\u17D6 ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u179F\\\\u17C4\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1793\\\\u17C5\\\\u1780\\\\u17D2\\\\u1793\\\\u17BB\\\\u1784 ${o.origin}`;case\"invalid_union\":return\"\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\";case\"invalid_element\":return`\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\\\\u1793\\\\u17C5\\\\u1780\\\\u17D2\\\\u1793\\\\u17BB\\\\u1784 ${o.origin}`;default:return\"\\\\u1791\\\\u17B7\\\\u1793\\\\u17D2\\\\u1793\\\\u1793\\\\u17D0\\\\u1799\\\\u1798\\\\u17B7\\\\u1793\\\\u178F\\\\u17D2\\\\u179A\\\\u17B9\\\\u1798\\\\u178F\\\\u17D2\\\\u179A\\\\u17BC\\\\u179C\"}}}});function Cze(){return ZO()}var Tze=x(()=>{u();lW()});function Ize(){return{localeError:Svt()}}var Svt,Pze=x(()=>{u();je();Svt=()=>{let e={string:{unit:\"\\\\u0C85\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CB0\\\\u0C97\\\\u0CB3\\\\u0CC1\",verb:\"\\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CB2\\\\u0CC1\"},file:{unit:\"\\\\u0CAC\\\\u0CC8\\\\u0C9F\\\\u0CCD\\\\u200C\\\\u0C97\\\\u0CB3\\\\u0CC1\",verb:\"\\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CB2\\\\u0CC1\"},array:{unit:\"\\\\u0CB5\\\\u0CB8\\\\u0CCD\\\\u0CA4\\\\u0CC1\\\\u0C97\\\\u0CB3\\\\u0CC1\",verb:\"\\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CB2\\\\u0CC1\"},set:{unit:\"\\\\u0CB5\\\\u0CB8\\\\u0CCD\\\\u0CA4\\\\u0CC1\\\\u0C97\\\\u0CB3\\\\u0CC1\",verb:\"\\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CB2\\\\u0CC1\"},map:{unit:\"entries\",verb:\"\\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CB2\\\\u0CC1\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0C87\\\\u0CA8\\\\u0CCD\\\\u0CAA\\\\u0CC1\\\\u0C9F\\\\u0CCD\",email:\"email \\\\u0CB5\\\\u0CBF\\\\u0CB3\\\\u0CBE\\\\u0CB8\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0CA6\\\\u0CBF\\\\u0CA8\\\\u0CBE\\\\u0C82\\\\u0C95\\\\u0CA6 \\\\u0CB8\\\\u0CAE\\\\u0CAF\",date:\"ISO \\\\u0CA6\\\\u0CBF\\\\u0CA8\\\\u0CBE\\\\u0C82\\\\u0C95\",time:\"ISO \\\\u0CB8\\\\u0CAE\\\\u0CAF\",duration:\"ISO \\\\u0C85\\\\u0CB5\\\\u0CA7\\\\u0CBF\",ipv4:\"IPv4 \\\\u0CB5\\\\u0CBF\\\\u0CB3\\\\u0CBE\\\\u0CB8\",ipv6:\"IPv6 \\\\u0CB5\\\\u0CBF\\\\u0CB3\\\\u0CBE\\\\u0CB8\",mac:\"MAC \\\\u0CB5\\\\u0CBF\\\\u0CB3\\\\u0CBE\\\\u0CB8\",cidrv4:\"IPv4 \\\\u0CB5\\\\u0CCD\\\\u0CAF\\\\u0CBE\\\\u0CAA\\\\u0CCD\\\\u0CA4\\\\u0CBF\\\\u0CAF\",cidrv6:\"IPv6 \\\\u0CB5\\\\u0CCD\\\\u0CAF\\\\u0CBE\\\\u0CAA\\\\u0CCD\\\\u0CA4\\\\u0CBF\\\\u0CAF\",base64:\"base64-encoded\\\\u0CB8\\\\u0CCD\\\\u0C9F\\\\u0CCD\\\\u0CB0\\\\u0CBF\\\\u0C82\\\\u0C97\\\\u0CCD\",base64url:\"base64url-encoded\\\\u0CB8\\\\u0CCD\\\\u0C9F\\\\u0CCD\\\\u0CB0\\\\u0CBF\\\\u0C82\\\\u0C97\\\\u0CCD\",json_string:\"JSON\\\\u0CB8\\\\u0CCD\\\\u0C9F\\\\u0CCD\\\\u0CB0\\\\u0CBF\\\\u0C82\\\\u0C97\\\\u0CCD\",e164:\"E.164 \\\\u0CB8\\\\u0C82\\\\u0C96\\\\u0CCD\\\\u0CAF\\\\u0CC6\",credit_card:\"\\\\u0C95\\\\u0CCD\\\\u0CB0\\\\u0CC6\\\\u0CA1\\\\u0CBF\\\\u0C9F\\\\u0CCD \\\\u0C95\\\\u0CBE\\\\u0CB0\\\\u0CCD\\\\u0CA1\\\\u0CCD \\\\u0CB8\\\\u0C82\\\\u0C96\\\\u0CCD\\\\u0CAF\\\\u0CC6\",currency_code:\"\\\\u0C95\\\\u0CB0\\\\u0CC6\\\\u0CA8\\\\u0CCD\\\\u0CB8\\\\u0CBF \\\\u0C95\\\\u0CCB\\\\u0CA1\\\\u0CCD\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0C87\\\\u0CA8\\\\u0CCD\\\\u0CAA\\\\u0CC1\\\\u0C9F\\\\u0CCD\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0C87\\\\u0CA8\\\\u0CCD\\\\u200C\\\\u0CAA\\\\u0CC1\\\\u0C9F\\\\u0CCD: \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${i}, \\\\u0CB8\\\\u0CCD\\\\u0CB5\\\\u0CC0\\\\u0C95\\\\u0CB0\\\\u0CBF\\\\u0CB8\\\\u0CBF\\\\u0CA6\\\\u0CA8\\\\u0CC1 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0C87\\\\u0CA8\\\\u0CCD\\\\u200C\\\\u0CAA\\\\u0CC1\\\\u0C9F\\\\u0CCD: \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${_e(o.values[0])}`:`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0C86\\\\u0CAF\\\\u0CCD\\\\u0C95\\\\u0CC6: \\\\u0C87\\\\u0CB5\\\\u0CC1\\\\u0C97\\\\u0CB3\\\\u0CB2\\\\u0CCD\\\\u0CB2\\\\u0CBF \\\\u0C92\\\\u0C82\\\\u0CA6\\\\u0CA8\\\\u0CCD\\\\u0CA8\\\\u0CC1 \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0CA4\\\\u0CC1\\\\u0C82\\\\u0CAC\\\\u0CBE \\\\u0CA6\\\\u0CCA\\\\u0CA1\\\\u0CCD\\\\u0CA1\\\\u0CA6\\\\u0CC1: \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${o.origin??\"value\"} \\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CB2\\\\u0CC1 ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0C85\\\\u0C82\\\\u0CB6\\\\u0C97\\\\u0CB3\\\\u0CC1\"}`:`\\\\u0CA4\\\\u0CC1\\\\u0C82\\\\u0CAC\\\\u0CBE \\\\u0CA6\\\\u0CCA\\\\u0CA1\\\\u0CCD\\\\u0CA1\\\\u0CA6\\\\u0CC1: \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${o.origin??\"value\"} \\\\u0C8E\\\\u0C82\\\\u0CA6\\\\u0CC1 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0CA4\\\\u0CC1\\\\u0C82\\\\u0CAC\\\\u0CBE \\\\u0C9A\\\\u0CBF\\\\u0C95\\\\u0CCD\\\\u0C95\\\\u0CA6\\\\u0CC1: \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${o.origin} \\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CB2\\\\u0CC1 ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u0CA4\\\\u0CC1\\\\u0C82\\\\u0CAC\\\\u0CBE \\\\u0C9A\\\\u0CBF\\\\u0C95\\\\u0CCD\\\\u0C95\\\\u0CA6\\\\u0CC1: \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${o.origin} \\\\u0C8E\\\\u0C82\\\\u0CA6\\\\u0CC1 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF\\\\u0CB5\\\\u0CBE\\\\u0CA6 \\\\u0CB8\\\\u0CCD\\\\u0C9F\\\\u0CCD\\\\u0CB0\\\\u0CBF\\\\u0C82\\\\u0C97\\\\u0CCD: \\\\u0C87\\\\u0CA6\\\\u0CB0\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CBF\\\\u0C97\\\\u0CC6 \\\\u0CAA\\\\u0CCD\\\\u0CB0\\\\u0CBE\\\\u0CB0\\\\u0C82\\\\u0CAD\\\\u0CBF\\\\u0CB8\\\\u0CAC\\\\u0CC7\\\\u0C95\\\\u0CC1 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF\\\\u0CB5\\\\u0CBE\\\\u0CA6 \\\\u0CB8\\\\u0CCD\\\\u0C9F\\\\u0CCD\\\\u0CB0\\\\u0CBF\\\\u0C82\\\\u0C97\\\\u0CCD: \\\\u0C87\\\\u0CA6\\\\u0CB0\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CBF\\\\u0C97\\\\u0CC6 \\\\u0C95\\\\u0CCA\\\\u0CA8\\\\u0CC6\\\\u0C97\\\\u0CCA\\\\u0CB3\\\\u0CCD\\\\u0CB3\\\\u0CAC\\\\u0CC7\\\\u0C95\\\\u0CC1 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0CB8\\\\u0CCD\\\\u0C9F\\\\u0CCD\\\\u0CB0\\\\u0CBF\\\\u0C82\\\\u0C97\\\\u0CCD: \\\\u0C92\\\\u0CB3\\\\u0C97\\\\u0CCA\\\\u0C82\\\\u0CA1\\\\u0CBF\\\\u0CB0\\\\u0CAC\\\\u0CC7\\\\u0C95\\\\u0CC1 \"${i.includes}\"`:i.format===\"regex\"?`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF\\\\u0CB5\\\\u0CBE\\\\u0CA6 \\\\u0CB8\\\\u0CCD\\\\u0C9F\\\\u0CCD\\\\u0CB0\\\\u0CBF\\\\u0C82\\\\u0C97\\\\u0CCD: \\\\u0CAE\\\\u0CBE\\\\u0CA6\\\\u0CB0\\\\u0CBF\\\\u0C97\\\\u0CC6 \\\\u0CB9\\\\u0CCA\\\\u0C82\\\\u0CA6\\\\u0CBF\\\\u0C95\\\\u0CC6\\\\u0CAF\\\\u0CBE\\\\u0C97\\\\u0CAC\\\\u0CC7\\\\u0C95\\\\u0CC1 ${i.pattern}`:`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0CB8\\\\u0C82\\\\u0C96\\\\u0CCD\\\\u0CAF\\\\u0CC6: \\\\u0CAC\\\\u0CB9\\\\u0CC1\\\\u0CB8\\\\u0C82\\\\u0C96\\\\u0CCD\\\\u0CAF\\\\u0CC6\\\\u0CAF\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CB0\\\\u0CAC\\\\u0CC7\\\\u0C95\\\\u0CC1 ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u0C97\\\\u0CC1\\\\u0CB0\\\\u0CC1\\\\u0CA4\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CA6 \\\\u0C95\\\\u0CC0 ${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF\\\\u0CB5\\\\u0CBE\\\\u0CA6 \\\\u0C95\\\\u0CC0 \\\\u0C87\\\\u0CA8\\\\u0CCD ${o.origin}`;case\"invalid_union\":return o.options&&Array.isArray(o.options)&&o.options.length>0?`\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0CA4\\\\u0CBE\\\\u0CB0\\\\u0CA4\\\\u0CAE\\\\u0CCD\\\\u0CAF \\\\u0CAE\\\\u0CCC\\\\u0CB2\\\\u0CCD\\\\u0CAF. \\\\u0CA8\\\\u0CBF\\\\u0CB0\\\\u0CC0\\\\u0C95\\\\u0CCD\\\\u0CB7\\\\u0CBF\\\\u0CB8\\\\u0CB2\\\\u0CBE\\\\u0C97\\\\u0CBF\\\\u0CA6\\\\u0CC6 ${o.options.map(c=>`\\'${c}\\'`).join(\" | \")}`:\"\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0C87\\\\u0CA8\\\\u0CCD\\\\u200C\\\\u0CAA\\\\u0CC1\\\\u0C9F\\\\u0CCD\";case\"invalid_element\":return`\\\\u0CB0\\\\u0CB2\\\\u0CCD\\\\u0CB2\\\\u0CBF \\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0CAE\\\\u0CCC\\\\u0CB2\\\\u0CCD\\\\u0CAF ${o.origin}`;default:return\"\\\\u0C85\\\\u0CAE\\\\u0CBE\\\\u0CA8\\\\u0CCD\\\\u0CAF \\\\u0C87\\\\u0CA8\\\\u0CCD\\\\u200C\\\\u0CAA\\\\u0CC1\\\\u0C9F\\\\u0CCD\"}}}});function Rze(){return{localeError:Avt()}}var Avt,Oze=x(()=>{u();je();Avt=()=>{let e={string:{unit:\"\\\\uBB38\\\\uC790\",verb:\"to have\"},file:{unit:\"\\\\uBC14\\\\uC774\\\\uD2B8\",verb:\"to have\"},array:{unit:\"\\\\uAC1C\",verb:\"to have\"},set:{unit:\"\\\\uAC1C\",verb:\"to have\"},map:{unit:\"\\\\uAC1C\",verb:\"to have\"}};function t(o){return e[o]??null}let r={regex:\"\\\\uC785\\\\uB825\",email:\"\\\\uC774\\\\uBA54\\\\uC77C \\\\uC8FC\\\\uC18C\",url:\"URL\",emoji:\"\\\\uC774\\\\uBAA8\\\\uC9C0\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\uB0A0\\\\uC9DC\\\\uC2DC\\\\uAC04\",date:\"ISO \\\\uB0A0\\\\uC9DC\",time:\"ISO \\\\uC2DC\\\\uAC04\",duration:\"ISO \\\\uAE30\\\\uAC04\",ipv4:\"IPv4 \\\\uC8FC\\\\uC18C\",ipv6:\"IPv6 \\\\uC8FC\\\\uC18C\",mac:\"MAC \\\\uC8FC\\\\uC18C\",cidrv4:\"IPv4 \\\\uBC94\\\\uC704\",cidrv6:\"IPv6 \\\\uBC94\\\\uC704\",base64:\"base64 \\\\uC778\\\\uCF54\\\\uB529 \\\\uBB38\\\\uC790\\\\uC5F4\",base64url:\"base64url \\\\uC778\\\\uCF54\\\\uB529 \\\\uBB38\\\\uC790\\\\uC5F4\",json_string:\"JSON \\\\uBB38\\\\uC790\\\\uC5F4\",e164:\"E.164 \\\\uBC88\\\\uD638\",credit_card:\"\\\\uC2E0\\\\uC6A9\\\\uCE74\\\\uB4DC \\\\uBC88\\\\uD638\",currency_code:\"\\\\uD1B5\\\\uD654 \\\\uCF54\\\\uB4DC\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\uC785\\\\uB825\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\uC798\\\\uBABB\\\\uB41C \\\\uC785\\\\uB825: \\\\uC608\\\\uC0C1 \\\\uD0C0\\\\uC785\\\\uC740 instanceof ${o.expected}, \\\\uBC1B\\\\uC740 \\\\uD0C0\\\\uC785\\\\uC740 ${l}\\\\uC785\\\\uB2C8\\\\uB2E4`:`\\\\uC798\\\\uBABB\\\\uB41C \\\\uC785\\\\uB825: \\\\uC608\\\\uC0C1 \\\\uD0C0\\\\uC785\\\\uC740 ${i}, \\\\uBC1B\\\\uC740 \\\\uD0C0\\\\uC785\\\\uC740 ${l}\\\\uC785\\\\uB2C8\\\\uB2E4`}case\"invalid_value\":return o.values.length===1?`\\\\uC798\\\\uBABB\\\\uB41C \\\\uC785\\\\uB825: \\\\uAC12\\\\uC740 ${_e(o.values[0])} \\\\uC774\\\\uC5B4\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4`:`\\\\uC798\\\\uBABB\\\\uB41C \\\\uC635\\\\uC158: ${pe(o.values,\"\\\\uB610\\\\uB294 \")} \\\\uC911 \\\\uD558\\\\uB098\\\\uC5EC\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4`;case\"too_big\":{let i=o.inclusive?\"\\\\uC774\\\\uD558\":\"\\\\uBBF8\\\\uB9CC\",c=i===\"\\\\uBBF8\\\\uB9CC\"?\"\\\\uC774\\\\uC5B4\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4\":\"\\\\uC5EC\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4\",l=t(o.origin),f=l?.unit??\"\\\\uC694\\\\uC18C\";return l?`${o.origin??\"\\\\uAC12\"}\\\\uC774 \\\\uB108\\\\uBB34 \\\\uD07D\\\\uB2C8\\\\uB2E4: ${o.maximum.toString()}${f} ${i}${c}`:`${o.origin??\"\\\\uAC12\"}\\\\uC774 \\\\uB108\\\\uBB34 \\\\uD07D\\\\uB2C8\\\\uB2E4: ${o.maximum.toString()} ${i}${c}`}case\"too_small\":{let i=o.inclusive?\"\\\\uC774\\\\uC0C1\":\"\\\\uCD08\\\\uACFC\",c=i===\"\\\\uC774\\\\uC0C1\"?\"\\\\uC774\\\\uC5B4\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4\":\"\\\\uC5EC\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4\",l=t(o.origin),f=l?.unit??\"\\\\uC694\\\\uC18C\";return l?`${o.origin??\"\\\\uAC12\"}\\\\uC774 \\\\uB108\\\\uBB34 \\\\uC791\\\\uC2B5\\\\uB2C8\\\\uB2E4: ${o.minimum.toString()}${f} ${i}${c}`:`${o.origin??\"\\\\uAC12\"}\\\\uC774 \\\\uB108\\\\uBB34 \\\\uC791\\\\uC2B5\\\\uB2C8\\\\uB2E4: ${o.minimum.toString()} ${i}${c}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\uC798\\\\uBABB\\\\uB41C \\\\uBB38\\\\uC790\\\\uC5F4: \"${i.prefix}\"(\\\\uC73C)\\\\uB85C \\\\uC2DC\\\\uC791\\\\uD574\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4`:i.format===\"ends_with\"?`\\\\uC798\\\\uBABB\\\\uB41C \\\\uBB38\\\\uC790\\\\uC5F4: \"${i.suffix}\"(\\\\uC73C)\\\\uB85C \\\\uB05D\\\\uB098\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4`:i.format===\"includes\"?`\\\\uC798\\\\uBABB\\\\uB41C \\\\uBB38\\\\uC790\\\\uC5F4: \"${i.includes}\"\\\\uC744(\\\\uB97C) \\\\uD3EC\\\\uD568\\\\uD574\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4`:i.format===\"regex\"?`\\\\uC798\\\\uBABB\\\\uB41C \\\\uBB38\\\\uC790\\\\uC5F4: \\\\uC815\\\\uADDC\\\\uC2DD ${i.pattern} \\\\uD328\\\\uD134\\\\uACFC \\\\uC77C\\\\uCE58\\\\uD574\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4`:`\\\\uC798\\\\uBABB\\\\uB41C ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\uC798\\\\uBABB\\\\uB41C \\\\uC22B\\\\uC790: ${o.divisor}\\\\uC758 \\\\uBC30\\\\uC218\\\\uC5EC\\\\uC57C \\\\uD569\\\\uB2C8\\\\uB2E4`;case\"unrecognized_keys\":return`\\\\uC778\\\\uC2DD\\\\uD560 \\\\uC218 \\\\uC5C6\\\\uB294 \\\\uD0A4: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\uC798\\\\uBABB\\\\uB41C \\\\uD0A4: ${o.origin}`;case\"invalid_union\":return\"\\\\uC798\\\\uBABB\\\\uB41C \\\\uC785\\\\uB825\";case\"invalid_element\":return`\\\\uC798\\\\uBABB\\\\uB41C \\\\uAC12: ${o.origin}`;default:return\"\\\\uC798\\\\uBABB\\\\uB41C \\\\uC785\\\\uB825\"}}}});function Bze(e){let t=Math.abs(e),r=t%10,n=t%100;return n>=11&&n<=19||r===0?\"many\":r===1?\"one\":\"few\"}function Mze(){return{localeError:kvt()}}var tk,kvt,Dze=x(()=>{u();je();tk=e=>e.charAt(0).toUpperCase()+e.slice(1);kvt=()=>{let e={string:{unit:{one:\"simbolis\",few:\"simboliai\",many:\"simboli\\\\u0173\"},verb:{smaller:{inclusive:\"turi b\\\\u016Bti ne ilgesn\\\\u0117 kaip\",notInclusive:\"turi b\\\\u016Bti trumpesn\\\\u0117 kaip\"},bigger:{inclusive:\"turi b\\\\u016Bti ne trumpesn\\\\u0117 kaip\",notInclusive:\"turi b\\\\u016Bti ilgesn\\\\u0117 kaip\"}}},file:{unit:{one:\"baitas\",few:\"baitai\",many:\"bait\\\\u0173\"},verb:{smaller:{inclusive:\"turi b\\\\u016Bti ne didesnis kaip\",notInclusive:\"turi b\\\\u016Bti ma\\\\u017Eesnis kaip\"},bigger:{inclusive:\"turi b\\\\u016Bti ne ma\\\\u017Eesnis kaip\",notInclusive:\"turi b\\\\u016Bti didesnis kaip\"}}},array:{unit:{one:\"element\\\\u0105\",few:\"elementus\",many:\"element\\\\u0173\"},verb:{smaller:{inclusive:\"turi tur\\\\u0117ti ne daugiau kaip\",notInclusive:\"turi tur\\\\u0117ti ma\\\\u017Eiau kaip\"},bigger:{inclusive:\"turi tur\\\\u0117ti ne ma\\\\u017Eiau kaip\",notInclusive:\"turi tur\\\\u0117ti daugiau kaip\"}}},set:{unit:{one:\"element\\\\u0105\",few:\"elementus\",many:\"element\\\\u0173\"},verb:{smaller:{inclusive:\"turi tur\\\\u0117ti ne daugiau kaip\",notInclusive:\"turi tur\\\\u0117ti ma\\\\u017Eiau kaip\"},bigger:{inclusive:\"turi tur\\\\u0117ti ne ma\\\\u017Eiau kaip\",notInclusive:\"turi tur\\\\u0117ti daugiau kaip\"}}}};function t(o,i,c,l){let f=e[o]??null;return f===null?f:{unit:f.unit[i],verb:f.verb[l][c?\"inclusive\":\"notInclusive\"]}}let r={regex:\"\\\\u012Fvestis\",email:\"el. pa\\\\u0161to adresas\",url:\"URL\",emoji:\"jaustukas\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO data ir laikas\",date:\"ISO data\",time:\"ISO laikas\",duration:\"ISO trukm\\\\u0117\",ipv4:\"IPv4 adresas\",ipv6:\"IPv6 adresas\",mac:\"MAC adresas\",cidrv4:\"IPv4 tinklo prefiksas (CIDR)\",cidrv6:\"IPv6 tinklo prefiksas (CIDR)\",base64:\"base64 u\\\\u017Ekoduota eilut\\\\u0117\",base64url:\"base64url u\\\\u017Ekoduota eilut\\\\u0117\",json_string:\"JSON eilut\\\\u0117\",e164:\"E.164 numeris\",credit_card:\"kredito kortel\\\\u0117s numeris\",currency_code:\"valiutos kodas\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u012Fvestis\"},n={nan:\"NaN\",number:\"skai\\\\u010Dius\",bigint:\"sveikasis skai\\\\u010Dius\",string:\"eilut\\\\u0117\",boolean:\"login\\\\u0117 reik\\\\u0161m\\\\u0117\",undefined:\"neapibr\\\\u0117\\\\u017Eta reik\\\\u0161m\\\\u0117\",function:\"funkcija\",symbol:\"simbolis\",array:\"masyvas\",object:\"objektas\",null:\"nulin\\\\u0117 reik\\\\u0161m\\\\u0117\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Gautas tipas ${l}, o tik\\\\u0117tasi - instanceof ${o.expected}`:`Gautas tipas ${l}, o tik\\\\u0117tasi - ${i}`}case\"invalid_value\":return o.values.length===1?`Privalo b\\\\u016Bti ${_e(o.values[0])}`:`Privalo b\\\\u016Bti vienas i\\\\u0161 ${pe(o.values,\"|\")} pasirinkim\\\\u0173`;case\"too_big\":{let i=n[o.origin]??o.origin,c=t(o.origin,Bze(Number(o.maximum)),o.inclusive??!1,\"smaller\");if(c?.verb)return`${tk(i??o.origin??\"reik\\\\u0161m\\\\u0117\")} ${c.verb} ${o.maximum.toString()} ${c.unit??\"element\\\\u0173\"}`;let l=o.inclusive?\"ne didesnis kaip\":\"ma\\\\u017Eesnis kaip\";return`${tk(i??o.origin??\"reik\\\\u0161m\\\\u0117\")} turi b\\\\u016Bti ${l} ${o.maximum.toString()} ${c?.unit}`}case\"too_small\":{let i=n[o.origin]??o.origin,c=t(o.origin,Bze(Number(o.minimum)),o.inclusive??!1,\"bigger\");if(c?.verb)return`${tk(i??o.origin??\"reik\\\\u0161m\\\\u0117\")} ${c.verb} ${o.minimum.toString()} ${c.unit??\"element\\\\u0173\"}`;let l=o.inclusive?\"ne ma\\\\u017Eesnis kaip\":\"didesnis kaip\";return`${tk(i??o.origin??\"reik\\\\u0161m\\\\u0117\")} turi b\\\\u016Bti ${l} ${o.minimum.toString()} ${c?.unit}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Eilut\\\\u0117 privalo prasid\\\\u0117ti \"${i.prefix}\"`:i.format===\"ends_with\"?`Eilut\\\\u0117 privalo pasibaigti \"${i.suffix}\"`:i.format===\"includes\"?`Eilut\\\\u0117 privalo \\\\u012Ftraukti \"${i.includes}\"`:i.format===\"regex\"?`Eilut\\\\u0117 privalo atitikti ${i.pattern}`:`Neteisingas ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Skai\\\\u010Dius privalo b\\\\u016Bti ${o.divisor} kartotinis.`;case\"unrecognized_keys\":return`Neatpa\\\\u017Eint${o.keys.length>1?\"i\":\"as\"} rakt${o.keys.length>1?\"ai\":\"as\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return\"Rastas klaidingas raktas\";case\"invalid_union\":return\"Klaidinga \\\\u012Fvestis\";case\"invalid_element\":{let i=n[o.origin]??o.origin;return`${tk(i??o.origin??\"reik\\\\u0161m\\\\u0117\")} turi klaiding\\\\u0105 \\\\u012Fvest\\\\u012F`}default:return\"Klaidinga \\\\u012Fvestis\"}}}});function Nze(){return{localeError:Cvt()}}var Cvt,Uze=x(()=>{u();je();Cvt=()=>{let e={string:{unit:\"\\\\u0437\\\\u043D\\\\u0430\\\\u0446\\\\u0438\",verb:\"\\\\u0434\\\\u0430 \\\\u0438\\\\u043C\\\\u0430\\\\u0430\\\\u0442\"},file:{unit:\"\\\\u0431\\\\u0430\\\\u0458\\\\u0442\\\\u0438\",verb:\"\\\\u0434\\\\u0430 \\\\u0438\\\\u043C\\\\u0430\\\\u0430\\\\u0442\"},array:{unit:\"\\\\u0441\\\\u0442\\\\u0430\\\\u0432\\\\u043A\\\\u0438\",verb:\"\\\\u0434\\\\u0430 \\\\u0438\\\\u043C\\\\u0430\\\\u0430\\\\u0442\"},set:{unit:\"\\\\u0441\\\\u0442\\\\u0430\\\\u0432\\\\u043A\\\\u0438\",verb:\"\\\\u0434\\\\u0430 \\\\u0438\\\\u043C\\\\u0430\\\\u0430\\\\u0442\"},map:{unit:\"\\\\u0441\\\\u0442\\\\u0430\\\\u0432\\\\u043A\\\\u0438\",verb:\"\\\\u0434\\\\u0430 \\\\u0438\\\\u043C\\\\u0430\\\\u0430\\\\u0442\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0432\\\\u043D\\\\u0435\\\\u0441\",email:\"\\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430 \\\\u043D\\\\u0430 \\\\u0435-\\\\u043F\\\\u043E\\\\u0448\\\\u0442\\\\u0430\",url:\"URL\",emoji:\"\\\\u0435\\\\u043C\\\\u043E\\\\u045F\\\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0434\\\\u0430\\\\u0442\\\\u0443\\\\u043C \\\\u0438 \\\\u0432\\\\u0440\\\\u0435\\\\u043C\\\\u0435\",date:\"ISO \\\\u0434\\\\u0430\\\\u0442\\\\u0443\\\\u043C\",time:\"ISO \\\\u0432\\\\u0440\\\\u0435\\\\u043C\\\\u0435\",duration:\"ISO \\\\u0432\\\\u0440\\\\u0435\\\\u043C\\\\u0435\\\\u0442\\\\u0440\\\\u0430\\\\u0435\\\\u045A\\\\u0435\",ipv4:\"IPv4 \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430\",ipv6:\"IPv6 \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430\",mac:\"MAC \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430\",cidrv4:\"IPv4 \\\\u043E\\\\u043F\\\\u0441\\\\u0435\\\\u0433\",cidrv6:\"IPv6 \\\\u043E\\\\u043F\\\\u0441\\\\u0435\\\\u0433\",base64:\"base64-\\\\u0435\\\\u043D\\\\u043A\\\\u043E\\\\u0434\\\\u0438\\\\u0440\\\\u0430\\\\u043D\\\\u0430 \\\\u043D\\\\u0438\\\\u0437\\\\u0430\",base64url:\"base64url-\\\\u0435\\\\u043D\\\\u043A\\\\u043E\\\\u0434\\\\u0438\\\\u0440\\\\u0430\\\\u043D\\\\u0430 \\\\u043D\\\\u0438\\\\u0437\\\\u0430\",json_string:\"JSON \\\\u043D\\\\u0438\\\\u0437\\\\u0430\",e164:\"E.164 \\\\u0431\\\\u0440\\\\u043E\\\\u0458\",credit_card:\"\\\\u0431\\\\u0440\\\\u043E\\\\u0458 \\\\u043D\\\\u0430 \\\\u043A\\\\u0440\\\\u0435\\\\u0434\\\\u0438\\\\u0442\\\\u043D\\\\u0430 \\\\u043A\\\\u0430\\\\u0440\\\\u0442\\\\u0438\\\\u0447\\\\u043A\\\\u0430\",currency_code:\"\\\\u043A\\\\u043E\\\\u0434 \\\\u043D\\\\u0430 \\\\u0432\\\\u0430\\\\u043B\\\\u0443\\\\u0442\\\\u0430\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0432\\\\u043D\\\\u0435\\\\u0441\"},n={nan:\"NaN\",number:\"\\\\u0431\\\\u0440\\\\u043E\\\\u0458\",array:\"\\\\u043D\\\\u0438\\\\u0437\\\\u0430\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u0435\\\\u043D \\\\u0432\\\\u043D\\\\u0435\\\\u0441: \\\\u0441\\\\u0435 \\\\u043E\\\\u0447\\\\u0435\\\\u043A\\\\u0443\\\\u0432\\\\u0430 instanceof ${o.expected}, \\\\u043F\\\\u0440\\\\u0438\\\\u043C\\\\u0435\\\\u043D\\\\u043E ${l}`:`\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u0435\\\\u043D \\\\u0432\\\\u043D\\\\u0435\\\\u0441: \\\\u0441\\\\u0435 \\\\u043E\\\\u0447\\\\u0435\\\\u043A\\\\u0443\\\\u0432\\\\u0430 ${i}, \\\\u043F\\\\u0440\\\\u0438\\\\u043C\\\\u0435\\\\u043D\\\\u043E ${l}`}case\"invalid_value\":return o.values.length===1?`Invalid input: expected ${_e(o.values[0])}`:`\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u0430\\\\u043D\\\\u0430 \\\\u043E\\\\u043F\\\\u0446\\\\u0438\\\\u0458\\\\u0430: \\\\u0441\\\\u0435 \\\\u043E\\\\u0447\\\\u0435\\\\u043A\\\\u0443\\\\u0432\\\\u0430 \\\\u0435\\\\u0434\\\\u043D\\\\u0430 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u041F\\\\u0440\\\\u0435\\\\u043C\\\\u043D\\\\u043E\\\\u0433\\\\u0443 \\\\u0433\\\\u043E\\\\u043B\\\\u0435\\\\u043C: \\\\u0441\\\\u0435 \\\\u043E\\\\u0447\\\\u0435\\\\u043A\\\\u0443\\\\u0432\\\\u0430 ${o.origin??\"\\\\u0432\\\\u0440\\\\u0435\\\\u0434\\\\u043D\\\\u043E\\\\u0441\\\\u0442\\\\u0430\"} \\\\u0434\\\\u0430 \\\\u0438\\\\u043C\\\\u0430 ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0438\"}`:`\\\\u041F\\\\u0440\\\\u0435\\\\u043C\\\\u043D\\\\u043E\\\\u0433\\\\u0443 \\\\u0433\\\\u043E\\\\u043B\\\\u0435\\\\u043C: \\\\u0441\\\\u0435 \\\\u043E\\\\u0447\\\\u0435\\\\u043A\\\\u0443\\\\u0432\\\\u0430 ${o.origin??\"\\\\u0432\\\\u0440\\\\u0435\\\\u0434\\\\u043D\\\\u043E\\\\u0441\\\\u0442\\\\u0430\"} \\\\u0434\\\\u0430 \\\\u0431\\\\u0438\\\\u0434\\\\u0435 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u041F\\\\u0440\\\\u0435\\\\u043C\\\\u043D\\\\u043E\\\\u0433\\\\u0443 \\\\u043C\\\\u0430\\\\u043B: \\\\u0441\\\\u0435 \\\\u043E\\\\u0447\\\\u0435\\\\u043A\\\\u0443\\\\u0432\\\\u0430 ${o.origin} \\\\u0434\\\\u0430 \\\\u0438\\\\u043C\\\\u0430 ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u041F\\\\u0440\\\\u0435\\\\u043C\\\\u043D\\\\u043E\\\\u0433\\\\u0443 \\\\u043C\\\\u0430\\\\u043B: \\\\u0441\\\\u0435 \\\\u043E\\\\u0447\\\\u0435\\\\u043A\\\\u0443\\\\u0432\\\\u0430 ${o.origin} \\\\u0434\\\\u0430 \\\\u0431\\\\u0438\\\\u0434\\\\u0435 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u0436\\\\u0435\\\\u0447\\\\u043A\\\\u0430 \\\\u043D\\\\u0438\\\\u0437\\\\u0430: \\\\u043C\\\\u043E\\\\u0440\\\\u0430 \\\\u0434\\\\u0430 \\\\u0437\\\\u0430\\\\u043F\\\\u043E\\\\u0447\\\\u043D\\\\u0443\\\\u0432\\\\u0430 \\\\u0441\\\\u043E \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u0436\\\\u0435\\\\u0447\\\\u043A\\\\u0430 \\\\u043D\\\\u0438\\\\u0437\\\\u0430: \\\\u043C\\\\u043E\\\\u0440\\\\u0430 \\\\u0434\\\\u0430 \\\\u0437\\\\u0430\\\\u0432\\\\u0440\\\\u0448\\\\u0443\\\\u0432\\\\u0430 \\\\u0441\\\\u043E \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u0436\\\\u0435\\\\u0447\\\\u043A\\\\u0430 \\\\u043D\\\\u0438\\\\u0437\\\\u0430: \\\\u043C\\\\u043E\\\\u0440\\\\u0430 \\\\u0434\\\\u0430 \\\\u0432\\\\u043A\\\\u043B\\\\u0443\\\\u0447\\\\u0443\\\\u0432\\\\u0430 \"${i.includes}\"`:i.format===\"regex\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0430\\\\u0436\\\\u0435\\\\u0447\\\\u043A\\\\u0430 \\\\u043D\\\\u0438\\\\u0437\\\\u0430: \\\\u043C\\\\u043E\\\\u0440\\\\u0430 \\\\u0434\\\\u0430 \\\\u043E\\\\u0434\\\\u0433\\\\u043E\\\\u0430\\\\u0440\\\\u0430 \\\\u043D\\\\u0430 \\\\u043F\\\\u0430\\\\u0442\\\\u0435\\\\u0440\\\\u043D\\\\u043E\\\\u0442 ${i.pattern}`:`Invalid ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u0435\\\\u043D \\\\u0431\\\\u0440\\\\u043E\\\\u0458: \\\\u043C\\\\u043E\\\\u0440\\\\u0430 \\\\u0434\\\\u0430 \\\\u0431\\\\u0438\\\\u0434\\\\u0435 \\\\u0434\\\\u0435\\\\u043B\\\\u0438\\\\u0432 \\\\u0441\\\\u043E ${o.divisor}`;case\"unrecognized_keys\":return`${o.keys.length>1?\"\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0435\\\\u043F\\\\u043E\\\\u0437\\\\u043D\\\\u0430\\\\u0435\\\\u043D\\\\u0438 \\\\u043A\\\\u043B\\\\u0443\\\\u0447\\\\u0435\\\\u0432\\\\u0438\":\"\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0435\\\\u043F\\\\u043E\\\\u0437\\\\u043D\\\\u0430\\\\u0435\\\\u043D \\\\u043A\\\\u043B\\\\u0443\\\\u0447\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u0435\\\\u043D \\\\u043A\\\\u043B\\\\u0443\\\\u0447 \\\\u0432\\\\u043E ${o.origin}`;case\"invalid_union\":return\"\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u0435\\\\u043D \\\\u0432\\\\u043D\\\\u0435\\\\u0441\";case\"invalid_element\":return`\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u043D\\\\u0430 \\\\u0432\\\\u0440\\\\u0435\\\\u0434\\\\u043D\\\\u043E\\\\u0441\\\\u0442 \\\\u0432\\\\u043E ${o.origin}`;default:return\"\\\\u0413\\\\u0440\\\\u0435\\\\u0448\\\\u0435\\\\u043D \\\\u0432\\\\u043D\\\\u0435\\\\u0441\"}}}});function $ze(){return{localeError:Tvt()}}var Tvt,zze=x(()=>{u();je();Tvt=()=>{let e={string:{unit:\"aksara\",verb:\"mempunyai\"},file:{unit:\"bait\",verb:\"mempunyai\"},array:{unit:\"elemen\",verb:\"mempunyai\"},set:{unit:\"elemen\",verb:\"mempunyai\"},map:{unit:\"elemen\",verb:\"mempunyai\"}};function t(o){return e[o]??null}let r={regex:\"input\",email:\"alamat e-mel\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"tarikh masa ISO\",date:\"tarikh ISO\",time:\"masa ISO\",duration:\"tempoh ISO\",ipv4:\"alamat IPv4\",ipv6:\"alamat IPv6\",mac:\"alamat MAC\",cidrv4:\"julat IPv4\",cidrv6:\"julat IPv6\",base64:\"string dikodkan base64\",base64url:\"string dikodkan base64url\",json_string:\"string JSON\",e164:\"nombor E.164\",credit_card:\"nombor kad kredit\",currency_code:\"kod mata wang\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\",number:\"nombor\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Input tidak sah: dijangka instanceof ${o.expected}, diterima ${l}`:`Input tidak sah: dijangka ${i}, diterima ${l}`}case\"invalid_value\":return o.values.length===1?`Input tidak sah: dijangka ${_e(o.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Terlalu besar: dijangka ${o.origin??\"nilai\"} ${c.verb} ${i}${o.maximum.toString()} ${c.unit??\"elemen\"}`:`Terlalu besar: dijangka ${o.origin??\"nilai\"} adalah ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Terlalu kecil: dijangka ${o.origin} ${c.verb} ${i}${o.minimum.toString()} ${c.unit}`:`Terlalu kecil: dijangka ${o.origin} adalah ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`String tidak sah: mesti bermula dengan \"${i.prefix}\"`:i.format===\"ends_with\"?`String tidak sah: mesti berakhir dengan \"${i.suffix}\"`:i.format===\"includes\"?`String tidak sah: mesti mengandungi \"${i.includes}\"`:i.format===\"regex\"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${r[i.format]??o.format} tidak sah`}case\"not_multiple_of\":return`Nombor tidak sah: perlu gandaan ${o.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak sah dalam ${o.origin}`;case\"invalid_union\":return\"Input tidak sah\";case\"invalid_element\":return`Nilai tidak sah dalam ${o.origin}`;default:return\"Input tidak sah\"}}}});function Lze(){return{localeError:Ivt()}}var Ivt,Hze=x(()=>{u();je();Ivt=()=>{let e={string:{unit:\"\\\\u0905\\\\u0915\\\\u094D\\\\u0937\\\\u0930\",verb:\"\\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B\"},file:{unit:\"\\\\u092C\\\\u093E\\\\u0907\\\\u091F\",verb:\"\\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B\"},array:{unit:\"\\\\u0924\\\\u0924\\\\u094D\\\\u0935\",verb:\"\\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B\"},set:{unit:\"\\\\u0924\\\\u0924\\\\u094D\\\\u0935\",verb:\"\\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B\"},map:{unit:\"\\\\u092A\\\\u094D\\\\u0930\\\\u0935\\\\u093F\\\\u0937\\\\u094D\\\\u091F\\\\u093F\",verb:\"\\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\",email:\"\\\\u0907\\\\u092E\\\\u0947\\\\u0932 \\\\u0920\\\\u0947\\\\u0917\\\\u093E\\\\u0928\\\\u093E\",url:\"URL\",emoji:\"\\\\u0907\\\\u092E\\\\u094B\\\\u091C\\\\u0940\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u092E\\\\u093F\\\\u0924\\\\u093F \\\\u0930 \\\\u0938\\\\u092E\\\\u092F\",date:\"ISO \\\\u092E\\\\u093F\\\\u0924\\\\u093F\",time:\"ISO \\\\u0938\\\\u092E\\\\u092F\",duration:\"ISO \\\\u0905\\\\u0935\\\\u0927\\\\u093F\",ipv4:\"IPv4 \\\\u0920\\\\u0947\\\\u0917\\\\u093E\\\\u0928\\\\u093E\",ipv6:\"IPv6 \\\\u0920\\\\u0947\\\\u0917\\\\u093E\\\\u0928\\\\u093E\",mac:\"MAC \\\\u0920\\\\u0947\\\\u0917\\\\u093E\\\\u0928\\\\u093E\",cidrv4:\"IPv4 \\\\u0926\\\\u093E\\\\u092F\\\\u0930\\\\u093E\",cidrv6:\"IPv6 \\\\u0926\\\\u093E\\\\u092F\\\\u0930\\\\u093E\",base64:\"base64-\\\\u0907\\\\u0928\\\\u094D\\\\u0915\\\\u094B\\\\u0921 \\\\u0917\\\\u0930\\\\u093F\\\\u090F\\\\u0915\\\\u094B \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0919\",base64url:\"base64url-\\\\u0907\\\\u0928\\\\u094D\\\\u0915\\\\u094B\\\\u0921 \\\\u0917\\\\u0930\\\\u093F\\\\u090F\\\\u0915\\\\u094B \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0919\",json_string:\"JSON \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0919\",e164:\"E.164 \\\\u0928\\\\u092E\\\\u094D\\\\u092C\\\\u0930\",credit_card:\"\\\\u0915\\\\u094D\\\\u0930\\\\u0947\\\\u0921\\\\u093F\\\\u091F \\\\u0915\\\\u093E\\\\u0930\\\\u094D\\\\u0921 \\\\u0928\\\\u092E\\\\u094D\\\\u092C\\\\u0930\",currency_code:\"\\\\u092E\\\\u0941\\\\u0926\\\\u094D\\\\u0930\\\\u093E \\\\u0915\\\\u094B\\\\u0921\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 ${i}, \\\\u092A\\\\u094D\\\\u0930\\\\u093E\\\\u092A\\\\u094D\\\\u0924 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 ${_e(o.values[0])}`:`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0935\\\\u093F\\\\u0915\\\\u0932\\\\u094D\\\\u092A: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 \\\\u092E\\\\u093E\\\\u0928\\\\u0939\\\\u0930\\\\u0942 \\\\u092E\\\\u0927\\\\u094D\\\\u092F\\\\u0947 \\\\u090F\\\\u0915 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0927\\\\u0947\\\\u0930\\\\u0948 \\\\u0920\\\\u0942\\\\u0932\\\\u094B: ${o.origin??\"\\\\u092E\\\\u093E\\\\u0928\"} \\\\u092E\\\\u093E ${i}${o.maximum.toString()} ${c.unit} ${c.verb}`:`\\\\u0927\\\\u0947\\\\u0930\\\\u0948 \\\\u0920\\\\u0942\\\\u0932\\\\u094B: ${o.origin??\"\\\\u092E\\\\u093E\\\\u0928\"} ${i}${o.maximum.toString()} \\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0927\\\\u0947\\\\u0930\\\\u0948 \\\\u0938\\\\u093E\\\\u0928\\\\u094B: ${o.origin} \\\\u092E\\\\u093E ${i}${o.minimum.toString()} ${c.unit} ${c.verb}`:`\\\\u0927\\\\u0947\\\\u0930\\\\u0948 \\\\u0938\\\\u093E\\\\u0928\\\\u094B: ${o.origin} ${i}${o.minimum.toString()} \\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0919: \"${i.prefix}\" \\\\u092C\\\\u093E\\\\u091F \\\\u0938\\\\u0941\\\\u0930\\\\u0941 \\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B`:i.format===\"ends_with\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0919: \"${i.suffix}\" \\\\u092E\\\\u093E \\\\u0938\\\\u092E\\\\u093E\\\\u092A\\\\u094D\\\\u0924 \\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B`:i.format===\"includes\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0919: \"${i.includes}\" \\\\u0938\\\\u092E\\\\u093E\\\\u0935\\\\u0947\\\\u0936 \\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B`:i.format===\"regex\"?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u094D\\\\u091F\\\\u094D\\\\u0930\\\\u093F\\\\u0919: \\\\u0922\\\\u093E\\\\u0901\\\\u091A\\\\u093E ${i.pattern} \\\\u0938\\\\u0901\\\\u0917 \\\\u092E\\\\u0947\\\\u0932 \\\\u0916\\\\u093E\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B`:`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0938\\\\u0902\\\\u0916\\\\u094D\\\\u092F\\\\u093E: ${o.divisor} \\\\u0915\\\\u094B \\\\u0917\\\\u0941\\\\u0923\\\\u091C \\\\u0939\\\\u0941\\\\u0928\\\\u0941\\\\u092A\\\\u0930\\\\u094D\\\\u091B`;case\"unrecognized_keys\":return`\\\\u0905\\\\u092A\\\\u0930\\\\u093F\\\\u091A\\\\u093F\\\\u0924 \\\\u0915\\\\u0941\\\\u091E\\\\u094D\\\\u091C\\\\u0940${o.keys.length>1?\"\\\\u0939\\\\u0930\\\\u0942\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0915\\\\u0941\\\\u091E\\\\u094D\\\\u091C\\\\u0940: ${o.origin} \\\\u092E\\\\u093E`;case\"invalid_union\":return o.options&&Array.isArray(o.options)&&o.options.length>0?`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0921\\\\u093F\\\\u0938\\\\u094D\\\\u0915\\\\u094D\\\\u0930\\\\u093F\\\\u092E\\\\u093F\\\\u0928\\\\u0947\\\\u091F\\\\u0930 \\\\u092E\\\\u093E\\\\u0928: \\\\u0905\\\\u092A\\\\u0947\\\\u0915\\\\u094D\\\\u0937\\\\u093F\\\\u0924 ${o.options.map(c=>`\\'${c}\\'`).join(\" | \")}`:\"\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\";case\"invalid_element\":return`\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u092E\\\\u093E\\\\u0928: ${o.origin} \\\\u092E\\\\u093E`;default:return\"\\\\u0905\\\\u092E\\\\u093E\\\\u0928\\\\u094D\\\\u092F \\\\u0907\\\\u0928\\\\u092A\\\\u0941\\\\u091F\"}}}});function jze(){return{localeError:Pvt()}}var Pvt,Fze=x(()=>{u();je();Pvt=()=>{let e={string:{unit:\"tekens\",verb:\"heeft\"},file:{unit:\"bytes\",verb:\"heeft\"},array:{unit:\"elementen\",verb:\"heeft\"},set:{unit:\"elementen\",verb:\"heeft\"},map:{unit:\"elementen\",verb:\"heeft\"}};function t(o){return e[o]??null}let r={regex:\"invoer\",email:\"emailadres\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum en tijd\",date:\"ISO datum\",time:\"ISO tijd\",duration:\"ISO duur\",ipv4:\"IPv4-adres\",ipv6:\"IPv6-adres\",mac:\"MAC-adres\",cidrv4:\"IPv4-bereik\",cidrv6:\"IPv6-bereik\",base64:\"base64-gecodeerde tekst\",base64url:\"base64 URL-gecodeerde tekst\",json_string:\"JSON string\",e164:\"E.164-nummer\",credit_card:\"creditcardnummer\",currency_code:\"valutacode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"invoer\"},n={nan:\"NaN\",number:\"getal\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Ongeldige invoer: verwacht instanceof ${o.expected}, ontving ${l}`:`Ongeldige invoer: verwacht ${i}, ontving ${l}`}case\"invalid_value\":return o.values.length===1?`Ongeldige invoer: verwacht ${_e(o.values[0])}`:`Ongeldige optie: verwacht \\\\xE9\\\\xE9n van ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin),l=o.origin===\"date\"?\"laat\":o.origin===\"string\"?\"lang\":\"groot\";return c?`Te ${l}: verwacht dat ${o.origin??\"waarde\"} ${i}${o.maximum.toString()} ${c.unit??\"elementen\"} ${c.verb}`:`Te ${l}: verwacht dat ${o.origin??\"waarde\"} ${i}${o.maximum.toString()} is`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin),l=o.origin===\"date\"?\"vroeg\":o.origin===\"string\"?\"kort\":\"klein\";return c?`Te ${l}: verwacht dat ${o.origin} ${i}${o.minimum.toString()} ${c.unit} ${c.verb}`:`Te ${l}: verwacht dat ${o.origin} ${i}${o.minimum.toString()} is`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Ongeldige tekst: moet met \"${i.prefix}\" beginnen`:i.format===\"ends_with\"?`Ongeldige tekst: moet op \"${i.suffix}\" eindigen`:i.format===\"includes\"?`Ongeldige tekst: moet \"${i.includes}\" bevatten`:i.format===\"regex\"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Ongeldig getal: moet een veelvoud van ${o.divisor} zijn`;case\"unrecognized_keys\":return`Onbekende key${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Ongeldige key in ${o.origin}`;case\"invalid_union\":return\"Ongeldige invoer\";case\"invalid_element\":return`Ongeldige waarde in ${o.origin}`;default:return\"Ongeldige invoer\"}}}});function Vze(){return{localeError:Rvt()}}var Rvt,qze=x(()=>{u();je();Rvt=()=>{let e={string:{unit:\"teikn\",verb:\"\\\\xE5 ha\"},file:{unit:\"bytes\",verb:\"\\\\xE5 ha\"},array:{unit:\"element\",verb:\"\\\\xE5 innehalde\"},set:{unit:\"element\",verb:\"\\\\xE5 innehalde\"},map:{unit:\"element\",verb:\"\\\\xE5 innehalde\"}};function t(o){return e[o]??null}let r={regex:\"input\",email:\"e-postadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkeslett\",date:\"ISO-dato\",time:\"ISO-klokkeslett\",duration:\"ISO-varigheit\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spekter\",cidrv6:\"IPv6-spekter\",base64:\"base64-enkoda streng\",base64url:\"base64url-enkoda streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kredittkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\",number:\"tal\",array:\"liste\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Ugyldig input: forventa instanceof ${o.expected}, fekk ${l}`:`Ugyldig input: forventa ${i}, fekk ${l}`}case\"invalid_value\":return o.values.length===1?`Ugyldig verdi: forventa ${_e(o.values[0])}`:`Ugyldig val: forventa eitt av ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`For stor(t): forventa ${o.origin??\"value\"} til \\\\xE5 ha ${i}${o.maximum.toString()} ${c.unit??\"element\"}`:`For stor(t): forventa ${o.origin??\"value\"} til \\\\xE5 ha ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`For lite(n): forventa ${o.origin} til \\\\xE5 ha ${i}${o.minimum.toString()} ${c.unit}`:`For lite(n): forventa ${o.origin} til \\\\xE5 ha ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Ugyldig streng: m\\\\xE5 starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: m\\\\xE5 slutte med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: m\\\\xE5 innehalde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: m\\\\xE5 matche m\\\\xF8nsteret ${i.pattern}`:`Ugyldig ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Ugyldig tal: m\\\\xE5 vere eit multiplum av ${o.divisor}`;case\"unrecognized_keys\":return`${o.keys.length>1?\"Ukjende n\\\\xF8klar\":\"Ukjend n\\\\xF8kkel\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\\\xF8kkel i ${o.origin}`;case\"invalid_union\":return\"Ugyldig input\";case\"invalid_element\":return`Ugyldig verdi i ${o.origin}`;default:return\"Ugyldig input\"}}}});function Gze(){return{localeError:Ovt()}}var Ovt,Kze=x(()=>{u();je();Ovt=()=>{let e={string:{unit:\"tegn\",verb:\"\\\\xE5 ha\"},file:{unit:\"bytes\",verb:\"\\\\xE5 ha\"},array:{unit:\"elementer\",verb:\"\\\\xE5 inneholde\"},set:{unit:\"elementer\",verb:\"\\\\xE5 inneholde\"},map:{unit:\"elementer\",verb:\"\\\\xE5 inneholde\"}};function t(o){return e[o]??null}let r={regex:\"input\",email:\"e-postadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkeslett\",date:\"ISO-dato\",time:\"ISO-klokkeslett\",duration:\"ISO-varighet\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spekter\",cidrv6:\"IPv6-spekter\",base64:\"base64-enkodet streng\",base64url:\"base64url-enkodet streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kredittkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\",number:\"tall\",array:\"liste\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Ugyldig input: forventet instanceof ${o.expected}, fikk ${l}`:`Ugyldig input: forventet ${i}, fikk ${l}`}case\"invalid_value\":return o.values.length===1?`Ugyldig verdi: forventet ${_e(o.values[0])}`:`Ugyldig valg: forventet en av ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`For stor(t): forventet ${o.origin??\"value\"} til \\\\xE5 ha ${i}${o.maximum.toString()} ${c.unit??\"elementer\"}`:`For stor(t): forventet ${o.origin??\"value\"} til \\\\xE5 ha ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`For lite(n): forventet ${o.origin} til \\\\xE5 ha ${i}${o.minimum.toString()} ${c.unit}`:`For lite(n): forventet ${o.origin} til \\\\xE5 ha ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Ugyldig streng: m\\\\xE5 starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: m\\\\xE5 ende med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: m\\\\xE5 inneholde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: m\\\\xE5 matche m\\\\xF8nsteret ${i.pattern}`:`Ugyldig ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Ugyldig tall: m\\\\xE5 v\\\\xE6re et multiplum av ${o.divisor}`;case\"unrecognized_keys\":return`${o.keys.length>1?\"Ukjente n\\\\xF8kler\":\"Ukjent n\\\\xF8kkel\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\\\xF8kkel i ${o.origin}`;case\"invalid_union\":return\"Ugyldig input\";case\"invalid_element\":return`Ugyldig verdi i ${o.origin}`;default:return\"Ugyldig input\"}}}});function Zze(){return{localeError:Bvt()}}var Bvt,Wze=x(()=>{u();je();Bvt=()=>{let e={string:{unit:\"harf\",verb:\"olmal\\\\u0131d\\\\u0131r\"},file:{unit:\"bayt\",verb:\"olmal\\\\u0131d\\\\u0131r\"},array:{unit:\"unsur\",verb:\"olmal\\\\u0131d\\\\u0131r\"},set:{unit:\"unsur\",verb:\"olmal\\\\u0131d\\\\u0131r\"},map:{unit:\"unsur\",verb:\"olmal\\\\u0131d\\\\u0131r\"}};function t(o){return e[o]??null}let r={regex:\"giren\",email:\"epostag\\\\xE2h\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO heng\\\\xE2m\\\\u0131\",date:\"ISO tarihi\",time:\"ISO zaman\\\\u0131\",duration:\"ISO m\\\\xFCddeti\",ipv4:\"IPv4 ni\\\\u015F\\\\xE2n\\\\u0131\",ipv6:\"IPv6 ni\\\\u015F\\\\xE2n\\\\u0131\",mac:\"MAC ni\\\\u015F\\\\xE2n\\\\u0131\",cidrv4:\"IPv4 menzili\",cidrv6:\"IPv6 menzili\",base64:\"base64-\\\\u015Fifreli metin\",base64url:\"base64url-\\\\u015Fifreli metin\",json_string:\"JSON metin\",e164:\"E.164 say\\\\u0131s\\\\u0131\",credit_card:\"i\\'tib\\\\xE2r kart\\\\u0131 numaras\\\\u0131\",currency_code:\"para birimi kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"giren\"},n={nan:\"NaN\",number:\"numara\",array:\"saf\",null:\"gayb\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`F\\\\xE2sit giren: umulan instanceof ${o.expected}, al\\\\u0131nan ${l}`:`F\\\\xE2sit giren: umulan ${i}, al\\\\u0131nan ${l}`}case\"invalid_value\":return o.values.length===1?`F\\\\xE2sit giren: umulan ${_e(o.values[0])}`:`F\\\\xE2sit tercih: m\\\\xFBteberler ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Fazla b\\\\xFCy\\\\xFCk: ${o.origin??\"value\"}, ${i}${o.maximum.toString()} ${c.unit??\"elements\"} sahip olmal\\\\u0131yd\\\\u0131.`:`Fazla b\\\\xFCy\\\\xFCk: ${o.origin??\"value\"}, ${i}${o.maximum.toString()} olmal\\\\u0131yd\\\\u0131.`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Fazla k\\\\xFC\\\\xE7\\\\xFCk: ${o.origin}, ${i}${o.minimum.toString()} ${c.unit} sahip olmal\\\\u0131yd\\\\u0131.`:`Fazla k\\\\xFC\\\\xE7\\\\xFCk: ${o.origin}, ${i}${o.minimum.toString()} olmal\\\\u0131yd\\\\u0131.`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`F\\\\xE2sit metin: \"${i.prefix}\" ile ba\\\\u015Flamal\\\\u0131.`:i.format===\"ends_with\"?`F\\\\xE2sit metin: \"${i.suffix}\" ile bitmeli.`:i.format===\"includes\"?`F\\\\xE2sit metin: \"${i.includes}\" ihtiv\\\\xE2 etmeli.`:i.format===\"regex\"?`F\\\\xE2sit metin: ${i.pattern} nak\\\\u015F\\\\u0131na uymal\\\\u0131.`:`F\\\\xE2sit ${r[i.format]??o.format}`}case\"not_multiple_of\":return`F\\\\xE2sit say\\\\u0131: ${o.divisor} kat\\\\u0131 olmal\\\\u0131yd\\\\u0131.`;case\"unrecognized_keys\":return`Tan\\\\u0131nmayan anahtar ${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} i\\\\xE7in tan\\\\u0131nmayan anahtar var.`;case\"invalid_union\":return\"Giren tan\\\\u0131namad\\\\u0131.\";case\"invalid_element\":return`${o.origin} i\\\\xE7in tan\\\\u0131nmayan k\\\\u0131ymet var.`;default:return\"K\\\\u0131ymet tan\\\\u0131namad\\\\u0131.\"}}}});function Jze(){return{localeError:Mvt()}}var Mvt,Qze=x(()=>{u();je();Mvt=()=>{let e={string:{unit:\"\\\\u062A\\\\u0648\\\\u06A9\\\\u064A\",verb:\"\\\\u0648\\\\u0644\\\\u0631\\\\u064A\"},file:{unit:\"\\\\u0628\\\\u0627\\\\u06CC\\\\u067C\\\\u0633\",verb:\"\\\\u0648\\\\u0644\\\\u0631\\\\u064A\"},array:{unit:\"\\\\u062A\\\\u0648\\\\u06A9\\\\u064A\",verb:\"\\\\u0648\\\\u0644\\\\u0631\\\\u064A\"},set:{unit:\"\\\\u062A\\\\u0648\\\\u06A9\\\\u064A\",verb:\"\\\\u0648\\\\u0644\\\\u0631\\\\u064A\"},map:{unit:\"\\\\u062A\\\\u0648\\\\u06A9\\\\u064A\",verb:\"\\\\u0648\\\\u0644\\\\u0631\\\\u064A\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u064A\",email:\"\\\\u0628\\\\u0631\\\\u06CC\\\\u069A\\\\u0646\\\\u0627\\\\u0644\\\\u06CC\\\\u06A9\",url:\"\\\\u06CC\\\\u0648 \\\\u0622\\\\u0631 \\\\u0627\\\\u0644\",emoji:\"\\\\u0627\\\\u06CC\\\\u0645\\\\u0648\\\\u062C\\\\u064A\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u0646\\\\u06CC\\\\u067C\\\\u0647 \\\\u0627\\\\u0648 \\\\u0648\\\\u062E\\\\u062A\",date:\"\\\\u0646\\\\u06D0\\\\u067C\\\\u0647\",time:\"\\\\u0648\\\\u062E\\\\u062A\",duration:\"\\\\u0645\\\\u0648\\\\u062F\\\\u0647\",ipv4:\"\\\\u062F IPv4 \\\\u067E\\\\u062A\\\\u0647\",ipv6:\"\\\\u062F IPv6 \\\\u067E\\\\u062A\\\\u0647\",mac:\"\\\\u062F MAC \\\\u067E\\\\u062A\\\\u0647\",cidrv4:\"\\\\u062F IPv4 \\\\u0633\\\\u0627\\\\u062D\\\\u0647\",cidrv6:\"\\\\u062F IPv6 \\\\u0633\\\\u0627\\\\u062D\\\\u0647\",base64:\"base64-encoded \\\\u0645\\\\u062A\\\\u0646\",base64url:\"base64url-encoded \\\\u0645\\\\u062A\\\\u0646\",json_string:\"JSON \\\\u0645\\\\u062A\\\\u0646\",e164:\"\\\\u062F E.164 \\\\u0634\\\\u0645\\\\u06D0\\\\u0631\\\\u0647\",credit_card:\"\\\\u062F \\\\u06A9\\\\u0631\\\\u06CC\\\\u0689\\\\u06CC\\\\u067C \\\\u06A9\\\\u0627\\\\u0631\\\\u062A \\\\u0634\\\\u0645\\\\u06CC\\\\u0631\\\\u0647\",currency_code:\"\\\\u062F \\\\u0627\\\\u0633\\\\u0639\\\\u0627\\\\u0631\\\\u0648 \\\\u06A9\\\\u0648\\\\u0689\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u064A\"},n={nan:\"NaN\",number:\"\\\\u0639\\\\u062F\\\\u062F\",array:\"\\\\u0627\\\\u0631\\\\u06D0\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u064A: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F instanceof ${o.expected} \\\\u0648\\\\u0627\\\\u06CC, \\\\u0645\\\\u06AB\\\\u0631 ${l} \\\\u062A\\\\u0631\\\\u0644\\\\u0627\\\\u0633\\\\u0647 \\\\u0634\\\\u0648`:`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u064A: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i} \\\\u0648\\\\u0627\\\\u06CC, \\\\u0645\\\\u06AB\\\\u0631 ${l} \\\\u062A\\\\u0631\\\\u0644\\\\u0627\\\\u0633\\\\u0647 \\\\u0634\\\\u0648`}case\"invalid_value\":return o.values.length===1?`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u064A: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${_e(o.values[0])} \\\\u0648\\\\u0627\\\\u06CC`:`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0627\\\\u0646\\\\u062A\\\\u062E\\\\u0627\\\\u0628: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u06CC\\\\u0648 \\\\u0644\\\\u0647 ${pe(o.values,\"|\")} \\\\u0685\\\\u062E\\\\u0647 \\\\u0648\\\\u0627\\\\u06CC`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0689\\\\u06CC\\\\u0631 \\\\u0644\\\\u0648\\\\u06CC: ${o.origin??\"\\\\u0627\\\\u0631\\\\u0632\\\\u069A\\\\u062A\"} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0639\\\\u0646\\\\u0635\\\\u0631\\\\u0648\\\\u0646\\\\u0647\"} \\\\u0648\\\\u0644\\\\u0631\\\\u064A`:`\\\\u0689\\\\u06CC\\\\u0631 \\\\u0644\\\\u0648\\\\u06CC: ${o.origin??\"\\\\u0627\\\\u0631\\\\u0632\\\\u069A\\\\u062A\"} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.maximum.toString()} \\\\u0648\\\\u064A`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0689\\\\u06CC\\\\u0631 \\\\u06A9\\\\u0648\\\\u0686\\\\u0646\\\\u06CC: ${o.origin} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.minimum.toString()} ${c.unit} \\\\u0648\\\\u0644\\\\u0631\\\\u064A`:`\\\\u0689\\\\u06CC\\\\u0631 \\\\u06A9\\\\u0648\\\\u0686\\\\u0646\\\\u06CC: ${o.origin} \\\\u0628\\\\u0627\\\\u06CC\\\\u062F ${i}${o.minimum.toString()} \\\\u0648\\\\u064A`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0645\\\\u062A\\\\u0646: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u062F \"${i.prefix}\" \\\\u0633\\\\u0631\\\\u0647 \\\\u067E\\\\u06CC\\\\u0644 \\\\u0634\\\\u064A`:i.format===\"ends_with\"?`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0645\\\\u062A\\\\u0646: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u062F \"${i.suffix}\" \\\\u0633\\\\u0631\\\\u0647 \\\\u067E\\\\u0627\\\\u06CC \\\\u062A\\\\u0647 \\\\u0648\\\\u0631\\\\u0633\\\\u064A\\\\u0696\\\\u064A`:i.format===\"includes\"?`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0645\\\\u062A\\\\u0646: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \"${i.includes}\" \\\\u0648\\\\u0644\\\\u0631\\\\u064A`:i.format===\"regex\"?`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0645\\\\u062A\\\\u0646: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u062F ${i.pattern} \\\\u0633\\\\u0631\\\\u0647 \\\\u0645\\\\u0637\\\\u0627\\\\u0628\\\\u0642\\\\u062A \\\\u0648\\\\u0644\\\\u0631\\\\u064A`:`${r[i.format]??o.format} \\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u062F\\\\u06CC`}case\"not_multiple_of\":return`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0639\\\\u062F\\\\u062F: \\\\u0628\\\\u0627\\\\u06CC\\\\u062F \\\\u062F ${o.divisor} \\\\u0645\\\\u0636\\\\u0631\\\\u0628 \\\\u0648\\\\u064A`;case\"unrecognized_keys\":return`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 ${o.keys.length>1?\"\\\\u06A9\\\\u0644\\\\u06CC\\\\u0689\\\\u0648\\\\u0646\\\\u0647\":\"\\\\u06A9\\\\u0644\\\\u06CC\\\\u0689\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u06A9\\\\u0644\\\\u06CC\\\\u0689 \\\\u067E\\\\u0647 ${o.origin} \\\\u06A9\\\\u06D0`;case\"invalid_union\":return\"\\\\u0646\\\\u0627\\\\u0633\\\\u0645\\\\u0647 \\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u064A\";case\"invalid_element\":return`\\\\u0646\\\\u0627\\\\u0633\\\\u0645 \\\\u0639\\\\u0646\\\\u0635\\\\u0631 \\\\u067E\\\\u0647 ${o.origin} \\\\u06A9\\\\u06D0`;default:return\"\\\\u0646\\\\u0627\\\\u0633\\\\u0645\\\\u0647 \\\\u0648\\\\u0631\\\\u0648\\\\u062F\\\\u064A\"}}}});function Yze(){return{localeError:Dvt()}}var Dvt,Xze=x(()=>{u();je();Dvt=()=>{let e={string:{unit:\"znak\\\\xF3w\",verb:\"mie\\\\u0107\"},file:{unit:\"bajt\\\\xF3w\",verb:\"mie\\\\u0107\"},array:{unit:\"element\\\\xF3w\",verb:\"mie\\\\u0107\"},set:{unit:\"element\\\\xF3w\",verb:\"mie\\\\u0107\"},map:{unit:\"element\\\\xF3w\",verb:\"mie\\\\u0107\"}};function t(o){return e[o]??null}let r={regex:\"wyra\\\\u017Cenie\",email:\"adres email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data i godzina w formacie ISO\",date:\"data w formacie ISO\",time:\"godzina w formacie ISO\",duration:\"czas trwania ISO\",ipv4:\"adres IPv4\",ipv6:\"adres IPv6\",mac:\"adres MAC\",cidrv4:\"zakres IPv4\",cidrv6:\"zakres IPv6\",base64:\"ci\\\\u0105g znak\\\\xF3w zakodowany w formacie base64\",base64url:\"ci\\\\u0105g znak\\\\xF3w zakodowany w formacie base64url\",json_string:\"ci\\\\u0105g znak\\\\xF3w w formacie JSON\",e164:\"liczba E.164\",credit_card:\"numer karty kredytowej\",currency_code:\"kod waluty\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"wej\\\\u015Bcie\"},n={nan:\"NaN\",number:\"liczba\",array:\"tablica\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Nieprawid\\\\u0142owe dane wej\\\\u015Bciowe: oczekiwano instanceof ${o.expected}, otrzymano ${l}`:`Nieprawid\\\\u0142owe dane wej\\\\u015Bciowe: oczekiwano ${i}, otrzymano ${l}`}case\"invalid_value\":return o.values.length===1?`Nieprawid\\\\u0142owe dane wej\\\\u015Bciowe: oczekiwano ${_e(o.values[0])}`:`Nieprawid\\\\u0142owa opcja: oczekiwano jednej z warto\\\\u015Bci ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Za du\\\\u017Ca warto\\\\u015B\\\\u0107: oczekiwano, \\\\u017Ce ${o.origin??\"warto\\\\u015B\\\\u0107\"} b\\\\u0119dzie mie\\\\u0107 ${i}${o.maximum.toString()} ${c.unit??\"element\\\\xF3w\"}`:`Zbyt du\\\\u017C(y/a/e): oczekiwano, \\\\u017Ce ${o.origin??\"warto\\\\u015B\\\\u0107\"} b\\\\u0119dzie wynosi\\\\u0107 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Za ma\\\\u0142a warto\\\\u015B\\\\u0107: oczekiwano, \\\\u017Ce ${o.origin??\"warto\\\\u015B\\\\u0107\"} b\\\\u0119dzie mie\\\\u0107 ${i}${o.minimum.toString()} ${c.unit??\"element\\\\xF3w\"}`:`Zbyt ma\\\\u0142(y/a/e): oczekiwano, \\\\u017Ce ${o.origin??\"warto\\\\u015B\\\\u0107\"} b\\\\u0119dzie wynosi\\\\u0107 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Nieprawid\\\\u0142owy ci\\\\u0105g znak\\\\xF3w: musi zaczyna\\\\u0107 si\\\\u0119 od \"${i.prefix}\"`:i.format===\"ends_with\"?`Nieprawid\\\\u0142owy ci\\\\u0105g znak\\\\xF3w: musi ko\\\\u0144czy\\\\u0107 si\\\\u0119 na \"${i.suffix}\"`:i.format===\"includes\"?`Nieprawid\\\\u0142owy ci\\\\u0105g znak\\\\xF3w: musi zawiera\\\\u0107 \"${i.includes}\"`:i.format===\"regex\"?`Nieprawid\\\\u0142owy ci\\\\u0105g znak\\\\xF3w: musi odpowiada\\\\u0107 wzorcowi ${i.pattern}`:`Nieprawid\\\\u0142ow(y/a/e) ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Nieprawid\\\\u0142owa liczba: musi by\\\\u0107 wielokrotno\\\\u015Bci\\\\u0105 ${o.divisor}`;case\"unrecognized_keys\":return`Nierozpoznane klucze${o.keys.length>1?\"s\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Nieprawid\\\\u0142owy klucz w ${o.origin}`;case\"invalid_union\":return\"Nieprawid\\\\u0142owe dane wej\\\\u015Bciowe\";case\"invalid_element\":return`Nieprawid\\\\u0142owa warto\\\\u015B\\\\u0107 w ${o.origin}`;default:return\"Nieprawid\\\\u0142owe dane wej\\\\u015Bciowe\"}}}});function eLe(){return{localeError:Nvt()}}var Nvt,tLe=x(()=>{u();je();Nvt=()=>{let e={string:{unit:\"caracteres\"},file:{unit:\"bytes\"},array:{unit:\"elementos\"},set:{unit:\"elementos\"},map:{unit:\"entradas\"}};function t(c){return e[c]??null}let r={regex:\"a entrada\",email:\"o endere\\\\xE7o de e-mail\",url:\"o URL\",emoji:\"o emoji\",uuid:\"o UUID\",uuidv4:\"o UUIDv4\",uuidv6:\"o UUIDv6\",nanoid:\"o nanoid\",guid:\"o GUID\",cuid:\"o cuid\",cuid2:\"o cuid2\",ulid:\"o ULID\",xid:\"o XID\",ksuid:\"o KSUID\",datetime:\"a data e hora ISO\",date:\"a data ISO\",time:\"a hora ISO\",duration:\"a dura\\\\xE7\\\\xE3o ISO\",ipv4:\"o endere\\\\xE7o IPv4\",ipv6:\"o endere\\\\xE7o IPv6\",mac:\"o endere\\\\xE7o MAC\",cidrv4:\"o intervalo de endere\\\\xE7os IPv4\",cidrv6:\"o intervalo de endere\\\\xE7os IPv6\",base64:\"o texto codificado em base64\",base64url:\"o texto codificado em base64url\",json_string:\"o texto JSON\",e164:\"o n\\\\xFAmero E.164\",credit_card:\"o n\\\\xFAmero de cart\\\\xE3o de cr\\\\xE9dito\",currency_code:\"o c\\\\xF3digo de moeda\",iban:\"o IBAN\",jwt:\"o JWT\",template_literal:\"a entrada\"},n={masculine:{definite:\"o\",indefinite:\"um\"},feminine:{definite:\"a\",indefinite:\"uma\"}},o={string:{name:\"texto\",articles:n.masculine},number:{name:\"n\\\\xFAmero\",articles:n.masculine},int:{name:\"n\\\\xFAmero inteiro\",articles:n.masculine},boolean:{name:\"valor booleano\",articles:n.masculine},bigint:{name:\"n\\\\xFAmero bigint\",articles:n.masculine},symbol:{name:\"s\\\\xEDmbolo\",articles:n.masculine},undefined:{name:\\'valor \"undefined\"\\',articles:n.masculine},null:{name:\\'valor \"nulo\"\\',articles:n.masculine},never:{name:\\'valor \"never\"\\',articles:n.masculine},void:{name:\\'valor \"void\"\\',articles:n.masculine},date:{name:\"data\",articles:n.feminine},array:{name:\"vetor\",articles:n.masculine},object:{name:\"objeto\",articles:n.masculine},tuple:{name:\"tuplo\",articles:n.masculine},record:{name:\"registo\",articles:n.masculine},map:{name:\"mapa\",articles:n.masculine},set:{name:\"conjunto\",articles:n.masculine},file:{name:\"ficheiro\",articles:n.masculine},nonoptional:{name:\"valor n\\\\xE3o opcional\",articles:n.masculine},nan:{name:\\'valor \"NaN\"\\',articles:n.masculine},function:{name:\"fun\\\\xE7\\\\xE3o\",articles:n.feminine}};function i(c,l){let f=o[c]??{name:`valor \"${c}\"`,articles:n.masculine};return`${f.articles[l]} ${f.name}`}return c=>{switch(c.code){case\"invalid_type\":{let l=i(c.expected,\"indefinite\"),f=Se(c.input),p=i(f,\"indefinite\");return`Entrada inv\\\\xE1lida: esperava ${l}, recebeu ${p}`}case\"invalid_value\":return c.values.length===1?`Entrada inv\\\\xE1lida: esperava ${_e(c.values[0])}`:`Op\\\\xE7\\\\xE3o inv\\\\xE1lida: esperava uma das seguintes op\\\\xE7\\\\xF5es: ${pe(c.values,\"|\")}`;case\"too_big\":{let l=c.inclusive?\"<=\":\"<\",f=t(c.origin);return f?`Demasiado grande: esperava que ${i(c.origin,\"definite\")} tivesse ${l} ${c.maximum.toString()} ${f.unit??\"elementos\"}`:`Demasiado grande: esperava que ${i(c.origin,\"definite\")} fosse ${l} ${c.maximum.toString()}`}case\"too_small\":{let l=c.inclusive?\">=\":\">\",f=t(c.origin);return f?`Demasiado pequeno: esperava que ${i(c.origin,\"definite\")} tivesse ${l} ${c.minimum.toString()} ${f.unit??\"elementos\"}`:`Demasiado pequeno: esperava que ${i(c.origin,\"definite\")} fosse ${l} ${c.minimum.toString()}`}case\"invalid_format\":{let l=c;return l.format===\"starts_with\"?`Texto inv\\\\xE1lido: deve come\\\\xE7ar por \"${l.prefix}\"`:l.format===\"ends_with\"?`Texto inv\\\\xE1lido: deve terminar em \"${l.suffix}\"`:l.format===\"includes\"?`Texto inv\\\\xE1lido: deve incluir \"${l.includes}\"`:l.format===\"regex\"?`Texto inv\\\\xE1lido: deve corresponder ao padr\\\\xE3o ${l.pattern}`:`Formato d${r[l.format]??c.format} inv\\\\xE1lido`}case\"not_multiple_of\":return`N\\\\xFAmero inv\\\\xE1lido: deve ser m\\\\xFAltiplo de ${c.divisor}`;case\"unrecognized_keys\":{let l=c.keys.length>1?\"s\":\"\";return`Chave${l} inv\\\\xE1lida${l}: ${pe(c.keys,\", \")}`}case\"invalid_key\":return`Entrada inv\\\\xE1lida n${i(c.origin,\"definite\")}`;case\"invalid_union\":return c.options&&Array.isArray(c.options)&&c.options.length>0?`Valor de discrimina\\\\xE7\\\\xE3o inv\\\\xE1lido. Esperava ${c.options.map(f=>`\\'${f}\\'`).join(\" | \")}`:\"Entrada inv\\\\xE1lida\";case\"invalid_element\":return`Entrada inv\\\\xE1lida n${i(c.origin,\"definite\")}`;default:return\"Entrada inv\\\\xE1lida\"}}}});function rLe(){return{localeError:Uvt()}}var Uvt,nLe=x(()=>{u();je();Uvt=()=>{let e={string:{unit:\"caracteres\"},file:{unit:\"bytes\"},array:{unit:\"elementos\"},set:{unit:\"elementos\"},map:{unit:\"entradas\"}};function t(c){return e[c]??null}let r={regex:\"a entrada\",email:\"o endere\\\\xE7o de e-mail\",url:\"o URL\",emoji:\"o emoji\",uuid:\"o UUID\",uuidv4:\"o UUIDv4\",uuidv6:\"o UUIDv6\",nanoid:\"o nanoid\",guid:\"o GUID\",cuid:\"o cuid\",cuid2:\"o cuid2\",ulid:\"o ULID\",xid:\"o XID\",ksuid:\"o KSUID\",datetime:\"a data e hora ISO\",date:\"a data ISO\",time:\"a hora ISO\",duration:\"a dura\\\\xE7\\\\xE3o ISO\",ipv4:\"o endere\\\\xE7o IPv4\",ipv6:\"o endere\\\\xE7o IPv6\",mac:\"o endere\\\\xE7o MAC\",cidrv4:\"a faixa de endere\\\\xE7os IPv4\",cidrv6:\"a faixa de endere\\\\xE7os IPv6\",base64:\"o texto codificado em base64\",base64url:\"o texto codificado em base64url\",json_string:\"o texto JSON\",e164:\"o n\\\\xFAmero E.164\",credit_card:\"o n\\\\xFAmero de cart\\\\xE3o de cr\\\\xE9dito\",currency_code:\"o c\\\\xF3digo de moeda\",iban:\"o IBAN\",jwt:\"o JWT\",template_literal:\"a entrada\"},n={masculine:{definite:\"o\",indefinite:\"um\"},feminine:{definite:\"a\",indefinite:\"uma\"}},o={string:{name:\"texto\",articles:n.masculine},number:{name:\"n\\\\xFAmero\",articles:n.masculine},int:{name:\"n\\\\xFAmero inteiro\",articles:n.masculine},boolean:{name:\"valor booleano\",articles:n.masculine},bigint:{name:\"n\\\\xFAmero bigint\",articles:n.masculine},symbol:{name:\"s\\\\xEDmbolo\",articles:n.masculine},undefined:{name:\\'valor \"undefined\"\\',articles:n.masculine},null:{name:\\'valor \"nulo\"\\',articles:n.masculine},never:{name:\\'valor \"never\"\\',articles:n.masculine},void:{name:\\'valor \"void\"\\',articles:n.masculine},date:{name:\"data\",articles:n.feminine},array:{name:\"vetor\",articles:n.masculine},object:{name:\"objeto\",articles:n.masculine},tuple:{name:\"tupla\",articles:n.feminine},record:{name:\"registro\",articles:n.masculine},map:{name:\"mapa\",articles:n.masculine},set:{name:\"conjunto\",articles:n.masculine},file:{name:\"arquivo\",articles:n.masculine},nonoptional:{name:\"valor n\\\\xE3o opcional\",articles:n.masculine},nan:{name:\\'valor \"NaN\"\\',articles:n.masculine},function:{name:\"fun\\\\xE7\\\\xE3o\",articles:n.feminine}};function i(c,l){let f=o[c]??{name:`valor \"${c}\"`,articles:n.masculine};return`${f.articles[l]} ${f.name}`}return c=>{switch(c.code){case\"invalid_type\":{let l=i(c.expected,\"indefinite\"),f=Se(c.input),p=i(f,\"indefinite\");return`Entrada inv\\\\xE1lida: esperava ${l}, recebeu ${p}`}case\"invalid_value\":return c.values.length===1?`Entrada inv\\\\xE1lida: esperava ${_e(c.values[0])}`:`Op\\\\xE7\\\\xE3o inv\\\\xE1lida: esperava uma das seguintes op\\\\xE7\\\\xF5es: ${pe(c.values,\"|\")}`;case\"too_big\":{let l=c.inclusive?\"<=\":\"<\",f=t(c.origin);return f?`Grande demais: esperava que ${i(c.origin,\"definite\")} tivesse ${l} ${c.maximum.toString()} ${f.unit??\"elementos\"}`:`Grande demais: esperava que ${i(c.origin,\"definite\")} fosse ${l} ${c.maximum.toString()}`}case\"too_small\":{let l=c.inclusive?\">=\":\">\",f=t(c.origin);return f?`Pequeno demais: esperava que ${i(c.origin,\"definite\")} tivesse ${l} ${c.minimum.toString()} ${f.unit??\"elementos\"}`:`Pequeno demais: esperava que ${i(c.origin,\"definite\")} fosse ${l} ${c.minimum.toString()}`}case\"invalid_format\":{let l=c;return l.format===\"starts_with\"?`Texto inv\\\\xE1lido: deve come\\\\xE7ar com \"${l.prefix}\"`:l.format===\"ends_with\"?`Texto inv\\\\xE1lido: deve terminar com \"${l.suffix}\"`:l.format===\"includes\"?`Texto inv\\\\xE1lido: deve incluir \"${l.includes}\"`:l.format===\"regex\"?`Texto inv\\\\xE1lido: deve corresponder ao padr\\\\xE3o ${l.pattern}`:`Formato d${r[l.format]??c.format} inv\\\\xE1lido`}case\"not_multiple_of\":return`N\\\\xFAmero inv\\\\xE1lido: deve ser m\\\\xFAltiplo de ${c.divisor}`;case\"unrecognized_keys\":{let l=c.keys.length>1?\"s\":\"\";return`Chave${l} inv\\\\xE1lida${l}: ${pe(c.keys,\", \")}`}case\"invalid_key\":return`Entrada inv\\\\xE1lida n${i(c.origin,\"definite\")}`;case\"invalid_union\":return c.options&&Array.isArray(c.options)&&c.options.length>0?`Valor de discrimina\\\\xE7\\\\xE3o inv\\\\xE1lido. Esperava ${c.options.map(f=>`\\'${f}\\'`).join(\" | \")}`:\"Entrada inv\\\\xE1lida\";case\"invalid_element\":return`Entrada inv\\\\xE1lida n${i(c.origin,\"definite\")}`;default:return\"Entrada inv\\\\xE1lida\"}}}});function oLe(){return{localeError:$vt()}}var $vt,iLe=x(()=>{u();je();$vt=()=>{let e={string:{unit:\"caractere\",verb:\"s\\\\u0103 aib\\\\u0103\"},file:{unit:\"octe\\\\u021Bi\",verb:\"s\\\\u0103 aib\\\\u0103\"},array:{unit:\"elemente\",verb:\"s\\\\u0103 aib\\\\u0103\"},set:{unit:\"elemente\",verb:\"s\\\\u0103 aib\\\\u0103\"},map:{unit:\"intr\\\\u0103ri\",verb:\"s\\\\u0103 aib\\\\u0103\"}};function t(o){return e[o]??null}let r={regex:\"intrare\",email:\"adres\\\\u0103 de email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"dat\\\\u0103 \\\\u0219i or\\\\u0103 ISO\",date:\"dat\\\\u0103 ISO\",time:\"or\\\\u0103 ISO\",duration:\"durat\\\\u0103 ISO\",ipv4:\"adres\\\\u0103 IPv4\",ipv6:\"adres\\\\u0103 IPv6\",mac:\"adres\\\\u0103 MAC\",cidrv4:\"interval IPv4\",cidrv6:\"interval IPv6\",base64:\"\\\\u0219ir codat base64\",base64url:\"\\\\u0219ir codat base64url\",json_string:\"\\\\u0219ir JSON\",e164:\"num\\\\u0103r E.164\",credit_card:\"num\\\\u0103r de card de credit\",currency_code:\"cod valutar\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"intrare\"},n={nan:\"NaN\",string:\"\\\\u0219ir\",number:\"num\\\\u0103r\",boolean:\"boolean\",function:\"func\\\\u021Bie\",array:\"matrice\",object:\"obiect\",undefined:\"nedefinit\",symbol:\"simbol\",bigint:\"num\\\\u0103r mare\",void:\"void\",never:\"never\",map:\"hart\\\\u0103\",set:\"set\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`Intrare invalid\\\\u0103: a\\\\u0219teptat ${i}, primit ${l}`}case\"invalid_value\":return o.values.length===1?`Intrare invalid\\\\u0103: a\\\\u0219teptat ${_e(o.values[0])}`:`Op\\\\u021Biune invalid\\\\u0103: a\\\\u0219teptat una dintre ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Prea mare: a\\\\u0219teptat ca ${o.origin??\"valoarea\"} ${c.verb} ${i}${o.maximum.toString()} ${c.unit??\"elemente\"}`:`Prea mare: a\\\\u0219teptat ca ${o.origin??\"valoarea\"} s\\\\u0103 fie ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Prea mic: a\\\\u0219teptat ca ${o.origin} ${c.verb} ${i}${o.minimum.toString()} ${c.unit}`:`Prea mic: a\\\\u0219teptat ca ${o.origin} s\\\\u0103 fie ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0218ir invalid: trebuie s\\\\u0103 \\\\xEEnceap\\\\u0103 cu \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u0218ir invalid: trebuie s\\\\u0103 se termine cu \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u0218ir invalid: trebuie s\\\\u0103 includ\\\\u0103 \"${i.includes}\"`:i.format===\"regex\"?`\\\\u0218ir invalid: trebuie s\\\\u0103 se potriveasc\\\\u0103 cu modelul ${i.pattern}`:`Format invalid: ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Num\\\\u0103r invalid: trebuie s\\\\u0103 fie multiplu de ${o.divisor}`;case\"unrecognized_keys\":return`Chei nerecunoscute: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Cheie invalid\\\\u0103 \\\\xEEn ${o.origin}`;case\"invalid_union\":return\"Intrare invalid\\\\u0103\";case\"invalid_element\":return`Valoare invalid\\\\u0103 \\\\xEEn ${o.origin}`;default:return\"Intrare invalid\\\\u0103\"}}}});function aLe(e,t,r,n){let o=Math.abs(e),i=o%10,c=o%100;return c>=11&&c<=19?n:i===1?t:i>=2&&i<=4?r:n}function sLe(){return{localeError:zvt()}}var zvt,cLe=x(()=>{u();je();zvt=()=>{let e={string:{unit:{one:\"\\\\u0441\\\\u0438\\\\u043C\\\\u0432\\\\u043E\\\\u043B\",few:\"\\\\u0441\\\\u0438\\\\u043C\\\\u0432\\\\u043E\\\\u043B\\\\u0430\",many:\"\\\\u0441\\\\u0438\\\\u043C\\\\u0432\\\\u043E\\\\u043B\\\\u043E\\\\u0432\"},verb:\"\\\\u0438\\\\u043C\\\\u0435\\\\u0442\\\\u044C\"},file:{unit:{one:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\",few:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\\\\u0430\",many:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\"},verb:\"\\\\u0438\\\\u043C\\\\u0435\\\\u0442\\\\u044C\"},array:{unit:{one:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\",few:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\",many:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u043E\\\\u0432\"},verb:\"\\\\u0438\\\\u043C\\\\u0435\\\\u0442\\\\u044C\"},set:{unit:{one:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\",few:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\",many:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u043E\\\\u0432\"},verb:\"\\\\u0438\\\\u043C\\\\u0435\\\\u0442\\\\u044C\"},map:{unit:{one:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\",few:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0430\",many:\"\\\\u044D\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u043E\\\\u0432\"},verb:\"\\\\u0438\\\\u043C\\\\u0435\\\\u0442\\\\u044C\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0432\\\\u0432\\\\u043E\\\\u0434\",email:\"email \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",url:\"URL\",emoji:\"\\\\u044D\\\\u043C\\\\u043E\\\\u0434\\\\u0437\\\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0434\\\\u0430\\\\u0442\\\\u0430 \\\\u0438 \\\\u0432\\\\u0440\\\\u0435\\\\u043C\\\\u044F\",date:\"ISO \\\\u0434\\\\u0430\\\\u0442\\\\u0430\",time:\"ISO \\\\u0432\\\\u0440\\\\u0435\\\\u043C\\\\u044F\",duration:\"ISO \\\\u0434\\\\u043B\\\\u0438\\\\u0442\\\\u0435\\\\u043B\\\\u044C\\\\u043D\\\\u043E\\\\u0441\\\\u0442\\\\u044C\",ipv4:\"IPv4 \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",ipv6:\"IPv6 \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",mac:\"MAC \\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\",cidrv4:\"IPv4 \\\\u0434\\\\u0438\\\\u0430\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D\",cidrv6:\"IPv6 \\\\u0434\\\\u0438\\\\u0430\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D\",base64:\"\\\\u0441\\\\u0442\\\\u0440\\\\u043E\\\\u043A\\\\u0430 \\\\u0432 \\\\u0444\\\\u043E\\\\u0440\\\\u043C\\\\u0430\\\\u0442\\\\u0435 base64\",base64url:\"\\\\u0441\\\\u0442\\\\u0440\\\\u043E\\\\u043A\\\\u0430 \\\\u0432 \\\\u0444\\\\u043E\\\\u0440\\\\u043C\\\\u0430\\\\u0442\\\\u0435 base64url\",json_string:\"JSON \\\\u0441\\\\u0442\\\\u0440\\\\u043E\\\\u043A\\\\u0430\",e164:\"\\\\u043D\\\\u043E\\\\u043C\\\\u0435\\\\u0440 E.164\",credit_card:\"\\\\u043D\\\\u043E\\\\u043C\\\\u0435\\\\u0440 \\\\u043A\\\\u0440\\\\u0435\\\\u0434\\\\u0438\\\\u0442\\\\u043D\\\\u043E\\\\u0439 \\\\u043A\\\\u0430\\\\u0440\\\\u0442\\\\u044B\",currency_code:\"\\\\u043A\\\\u043E\\\\u0434 \\\\u0432\\\\u0430\\\\u043B\\\\u044E\\\\u0442\\\\u044B\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0432\\\\u0432\\\\u043E\\\\u0434\"},n={nan:\"NaN\",number:\"\\\\u0447\\\\u0438\\\\u0441\\\\u043B\\\\u043E\",array:\"\\\\u043C\\\\u0430\\\\u0441\\\\u0441\\\\u0438\\\\u0432\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0439 \\\\u0432\\\\u0432\\\\u043E\\\\u0434: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C instanceof ${o.expected}, \\\\u043F\\\\u043E\\\\u043B\\\\u0443\\\\u0447\\\\u0435\\\\u043D\\\\u043E ${l}`:`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0439 \\\\u0432\\\\u0432\\\\u043E\\\\u0434: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C ${i}, \\\\u043F\\\\u043E\\\\u043B\\\\u0443\\\\u0447\\\\u0435\\\\u043D\\\\u043E ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0439 \\\\u0432\\\\u0432\\\\u043E\\\\u0434: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C ${_e(o.values[0])}`:`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0439 \\\\u0432\\\\u0430\\\\u0440\\\\u0438\\\\u0430\\\\u043D\\\\u0442: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C \\\\u043E\\\\u0434\\\\u043D\\\\u043E \\\\u0438\\\\u0437 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);if(c){let l=Number(o.maximum),f=aLe(l,c.unit.one,c.unit.few,c.unit.many);return`\\\\u0421\\\\u043B\\\\u0438\\\\u0448\\\\u043A\\\\u043E\\\\u043C \\\\u0431\\\\u043E\\\\u043B\\\\u044C\\\\u0448\\\\u043E\\\\u0435 \\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u0438\\\\u0435: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C, \\\\u0447\\\\u0442\\\\u043E ${o.origin??\"\\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u0438\\\\u0435\"} \\\\u0431\\\\u0443\\\\u0434\\\\u0435\\\\u0442 \\\\u0438\\\\u043C\\\\u0435\\\\u0442\\\\u044C ${i}${o.maximum.toString()} ${f}`}return`\\\\u0421\\\\u043B\\\\u0438\\\\u0448\\\\u043A\\\\u043E\\\\u043C \\\\u0431\\\\u043E\\\\u043B\\\\u044C\\\\u0448\\\\u043E\\\\u0435 \\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u0438\\\\u0435: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C, \\\\u0447\\\\u0442\\\\u043E ${o.origin??\"\\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u0438\\\\u0435\"} \\\\u0431\\\\u0443\\\\u0434\\\\u0435\\\\u0442 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);if(c){let l=Number(o.minimum),f=aLe(l,c.unit.one,c.unit.few,c.unit.many);return`\\\\u0421\\\\u043B\\\\u0438\\\\u0448\\\\u043A\\\\u043E\\\\u043C \\\\u043C\\\\u0430\\\\u043B\\\\u0435\\\\u043D\\\\u044C\\\\u043A\\\\u043E\\\\u0435 \\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u0438\\\\u0435: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C, \\\\u0447\\\\u0442\\\\u043E ${o.origin} \\\\u0431\\\\u0443\\\\u0434\\\\u0435\\\\u0442 \\\\u0438\\\\u043C\\\\u0435\\\\u0442\\\\u044C ${i}${o.minimum.toString()} ${f}`}return`\\\\u0421\\\\u043B\\\\u0438\\\\u0448\\\\u043A\\\\u043E\\\\u043C \\\\u043C\\\\u0430\\\\u043B\\\\u0435\\\\u043D\\\\u044C\\\\u043A\\\\u043E\\\\u0435 \\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u0438\\\\u0435: \\\\u043E\\\\u0436\\\\u0438\\\\u0434\\\\u0430\\\\u043B\\\\u043E\\\\u0441\\\\u044C, \\\\u0447\\\\u0442\\\\u043E ${o.origin} \\\\u0431\\\\u0443\\\\u0434\\\\u0435\\\\u0442 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u0430\\\\u044F \\\\u0441\\\\u0442\\\\u0440\\\\u043E\\\\u043A\\\\u0430: \\\\u0434\\\\u043E\\\\u043B\\\\u0436\\\\u043D\\\\u0430 \\\\u043D\\\\u0430\\\\u0447\\\\u0438\\\\u043D\\\\u0430\\\\u0442\\\\u044C\\\\u0441\\\\u044F \\\\u0441 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u0430\\\\u044F \\\\u0441\\\\u0442\\\\u0440\\\\u043E\\\\u043A\\\\u0430: \\\\u0434\\\\u043E\\\\u043B\\\\u0436\\\\u043D\\\\u0430 \\\\u0437\\\\u0430\\\\u043A\\\\u0430\\\\u043D\\\\u0447\\\\u0438\\\\u0432\\\\u0430\\\\u0442\\\\u044C\\\\u0441\\\\u044F \\\\u043D\\\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u0430\\\\u044F \\\\u0441\\\\u0442\\\\u0440\\\\u043E\\\\u043A\\\\u0430: \\\\u0434\\\\u043E\\\\u043B\\\\u0436\\\\u043D\\\\u0430 \\\\u0441\\\\u043E\\\\u0434\\\\u0435\\\\u0440\\\\u0436\\\\u0430\\\\u0442\\\\u044C \"${i.includes}\"`:i.format===\"regex\"?`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u0430\\\\u044F \\\\u0441\\\\u0442\\\\u0440\\\\u043E\\\\u043A\\\\u0430: \\\\u0434\\\\u043E\\\\u043B\\\\u0436\\\\u043D\\\\u0430 \\\\u0441\\\\u043E\\\\u043E\\\\u0442\\\\u0432\\\\u0435\\\\u0442\\\\u0441\\\\u0442\\\\u0432\\\\u043E\\\\u0432\\\\u0430\\\\u0442\\\\u044C \\\\u0448\\\\u0430\\\\u0431\\\\u043B\\\\u043E\\\\u043D\\\\u0443 ${i.pattern}`:`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0439 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u043E\\\\u0435 \\\\u0447\\\\u0438\\\\u0441\\\\u043B\\\\u043E: \\\\u0434\\\\u043E\\\\u043B\\\\u0436\\\\u043D\\\\u043E \\\\u0431\\\\u044B\\\\u0442\\\\u044C \\\\u043A\\\\u0440\\\\u0430\\\\u0442\\\\u043D\\\\u044B\\\\u043C ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u041D\\\\u0435\\\\u0440\\\\u0430\\\\u0441\\\\u043F\\\\u043E\\\\u0437\\\\u043D\\\\u0430\\\\u043D\\\\u043D${o.keys.length>1?\"\\\\u044B\\\\u0435\":\"\\\\u044B\\\\u0439\"} \\\\u043A\\\\u043B\\\\u044E\\\\u0447${o.keys.length>1?\"\\\\u0438\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0439 \\\\u043A\\\\u043B\\\\u044E\\\\u0447 \\\\u0432 ${o.origin}`;case\"invalid_union\":return\"\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0435 \\\\u0432\\\\u0445\\\\u043E\\\\u0434\\\\u043D\\\\u044B\\\\u0435 \\\\u0434\\\\u0430\\\\u043D\\\\u043D\\\\u044B\\\\u0435\";case\"invalid_element\":return`\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u043E\\\\u0435 \\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u0438\\\\u0435 \\\\u0432 ${o.origin}`;default:return\"\\\\u041D\\\\u0435\\\\u0432\\\\u0435\\\\u0440\\\\u043D\\\\u044B\\\\u0435 \\\\u0432\\\\u0445\\\\u043E\\\\u0434\\\\u043D\\\\u044B\\\\u0435 \\\\u0434\\\\u0430\\\\u043D\\\\u043D\\\\u044B\\\\u0435\"}}}});function uLe(){return{localeError:Lvt()}}var Lvt,lLe=x(()=>{u();je();Lvt=()=>{let e={string:{unit:\"znakov\",verb:\"ma\\\\u0165\"},file:{unit:\"bajtov\",verb:\"ma\\\\u0165\"},array:{unit:\"prvkov\",verb:\"ma\\\\u0165\"},set:{unit:\"prvkov\",verb:\"ma\\\\u0165\"},map:{unit:\"polo\\\\u017Eiek\",verb:\"ma\\\\u0165\"}};function t(o){return e[o]??null}let r={regex:\"regul\\\\xE1rny v\\\\xFDraz\",email:\"e-mailov\\\\xE1 adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"d\\\\xE1tum a \\\\u010Das vo form\\\\xE1te ISO\",date:\"d\\\\xE1tum vo form\\\\xE1te ISO\",time:\"\\\\u010Das vo form\\\\xE1te ISO\",duration:\"doba trvania ISO\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"rozsah IPv4\",cidrv6:\"rozsah IPv6\",base64:\"re\\\\u0165azec zak\\\\xF3dovan\\\\xFD vo form\\\\xE1te base64\",base64url:\"re\\\\u0165azec zak\\\\xF3dovan\\\\xFD vo form\\\\xE1te base64url\",json_string:\"re\\\\u0165azec vo form\\\\xE1te JSON\",e164:\"\\\\u010D\\\\xEDslo E.164\",credit_card:\"\\\\u010D\\\\xEDslo kreditnej karty\",currency_code:\"k\\\\xF3d meny\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vstup\"},n={nan:\"NaN\",number:\"\\\\u010D\\\\xEDslo\",string:\"re\\\\u0165azec\",function:\"funkcia\",array:\"pole\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Neplatn\\\\xFD vstup: o\\\\u010Dak\\\\xE1van\\\\xE9 instanceof ${o.expected}, obdr\\\\u017Ean\\\\xE9 ${l}`:`Neplatn\\\\xFD vstup: o\\\\u010Dak\\\\xE1van\\\\xE9 ${i}, obdr\\\\u017Ean\\\\xE9 ${l}`}case\"invalid_value\":return o.values.length===1?`Neplatn\\\\xFD vstup: o\\\\u010Dak\\\\xE1van\\\\xE9 ${_e(o.values[0])}`:`Neplatn\\\\xFD vstup: o\\\\u010Dak\\\\xE1van\\\\xE1 jedna z hodn\\\\xF4t ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Hodnota je pr\\\\xEDli\\\\u0161 ve\\\\u013Ek\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED ma\\\\u0165 ${i}${o.maximum.toString()} ${c.unit??\"prvkov\"}`:`Hodnota je pr\\\\xEDli\\\\u0161 ve\\\\u013Ek\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED by\\\\u0165 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Hodnota je pr\\\\xEDli\\\\u0161 mal\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED ma\\\\u0165 ${i}${o.minimum.toString()} ${c.unit??\"prvkov\"}`:`Hodnota je pr\\\\xEDli\\\\u0161 mal\\\\xE1: ${o.origin??\"hodnota\"} mus\\\\xED by\\\\u0165 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Neplatn\\\\xFD re\\\\u0165azec: mus\\\\xED za\\\\u010D\\\\xEDna\\\\u0165 na \"${i.prefix}\"`:i.format===\"ends_with\"?`Neplatn\\\\xFD re\\\\u0165azec: mus\\\\xED kon\\\\u010Di\\\\u0165 na \"${i.suffix}\"`:i.format===\"includes\"?`Neplatn\\\\xFD re\\\\u0165azec: mus\\\\xED obsahova\\\\u0165 \"${i.includes}\"`:i.format===\"regex\"?`Neplatn\\\\xFD re\\\\u0165azec: mus\\\\xED zodpoveda\\\\u0165 vzoru ${i.pattern}`:`Neplatn\\\\xFD form\\\\xE1t ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Neplatn\\\\xE9 \\\\u010D\\\\xEDslo: mus\\\\xED by\\\\u0165 n\\\\xE1sobkom ${o.divisor}`;case\"unrecognized_keys\":return`Nezn\\\\xE1me kl\\\\xFA\\\\u010De: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Neplatn\\\\xFD kl\\\\xFA\\\\u010D v ${o.origin}`;case\"invalid_union\":return\"Neplatn\\\\xFD vstup\";case\"invalid_element\":return`Neplatn\\\\xE1 hodnota v ${o.origin}`;default:return\"Neplatn\\\\xFD vstup\"}}}});function dLe(){return{localeError:Hvt()}}var Hvt,fLe=x(()=>{u();je();Hvt=()=>{let e={string:{unit:\"znakov\",verb:\"imeti\"},file:{unit:\"bajtov\",verb:\"imeti\"},array:{unit:\"elementov\",verb:\"imeti\"},set:{unit:\"elementov\",verb:\"imeti\"},map:{unit:\"elementov\",verb:\"imeti\"}};function t(o){return e[o]??null}let r={regex:\"vnos\",email:\"e-po\\\\u0161tni naslov\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum in \\\\u010Das\",date:\"ISO datum\",time:\"ISO \\\\u010Das\",duration:\"ISO trajanje\",ipv4:\"IPv4 naslov\",ipv6:\"IPv6 naslov\",mac:\"MAC naslov\",cidrv4:\"obseg IPv4\",cidrv6:\"obseg IPv6\",base64:\"base64 kodiran niz\",base64url:\"base64url kodiran niz\",json_string:\"JSON niz\",e164:\"E.164 \\\\u0161tevilka\",credit_card:\"\\\\u0161tevilka kreditne kartice\",currency_code:\"koda valute\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vnos\"},n={nan:\"NaN\",number:\"\\\\u0161tevilo\",array:\"tabela\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Neveljaven vnos: pri\\\\u010Dakovano instanceof ${o.expected}, prejeto ${l}`:`Neveljaven vnos: pri\\\\u010Dakovano ${i}, prejeto ${l}`}case\"invalid_value\":return o.values.length===1?`Neveljaven vnos: pri\\\\u010Dakovano ${_e(o.values[0])}`:`Neveljavna mo\\\\u017Enost: pri\\\\u010Dakovano eno izmed ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Preveliko: pri\\\\u010Dakovano, da bo ${o.origin??\"vrednost\"} imelo ${i}${o.maximum.toString()} ${c.unit??\"elementov\"}`:`Preveliko: pri\\\\u010Dakovano, da bo ${o.origin??\"vrednost\"} ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Premajhno: pri\\\\u010Dakovano, da bo ${o.origin} imelo ${i}${o.minimum.toString()} ${c.unit}`:`Premajhno: pri\\\\u010Dakovano, da bo ${o.origin} ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Neveljaven niz: mora se za\\\\u010Deti z \"${i.prefix}\"`:i.format===\"ends_with\"?`Neveljaven niz: mora se kon\\\\u010Dati z \"${i.suffix}\"`:i.format===\"includes\"?`Neveljaven niz: mora vsebovati \"${i.includes}\"`:i.format===\"regex\"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Neveljavno \\\\u0161tevilo: mora biti ve\\\\u010Dkratnik ${o.divisor}`;case\"unrecognized_keys\":return`Neprepoznan${o.keys.length>1?\"i klju\\\\u010Di\":\" klju\\\\u010D\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Neveljaven klju\\\\u010D v ${o.origin}`;case\"invalid_union\":return\"Neveljaven vnos\";case\"invalid_element\":return`Neveljavna vrednost v ${o.origin}`;default:return\"Neveljaven vnos\"}}}});function pLe(){return{localeError:jvt()}}var jvt,mLe=x(()=>{u();je();jvt=()=>{let e={string:{unit:\"tecken\",verb:\"att ha\"},file:{unit:\"bytes\",verb:\"att ha\"},array:{unit:\"objekt\",verb:\"att inneh\\\\xE5lla\"},set:{unit:\"objekt\",verb:\"att inneh\\\\xE5lla\"},map:{unit:\"objekt\",verb:\"att inneh\\\\xE5lla\"}};function t(o){return e[o]??null}let r={regex:\"regulj\\\\xE4rt uttryck\",email:\"e-postadress\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-datum och tid\",date:\"ISO-datum\",time:\"ISO-tid\",duration:\"ISO-varaktighet\",ipv4:\"IPv4-adress\",ipv6:\"IPv6-adress\",mac:\"MAC-adress\",cidrv4:\"IPv4-spektrum\",cidrv6:\"IPv6-spektrum\",base64:\"base64-kodad str\\\\xE4ng\",base64url:\"base64url-kodad str\\\\xE4ng\",json_string:\"JSON-str\\\\xE4ng\",e164:\"E.164-nummer\",credit_card:\"kreditkortsnummer\",currency_code:\"valutakod\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"mall-literal\"},n={nan:\"NaN\",number:\"antal\",array:\"lista\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Ogiltig inmatning: f\\\\xF6rv\\\\xE4ntat instanceof ${o.expected}, fick ${l}`:`Ogiltig inmatning: f\\\\xF6rv\\\\xE4ntat ${i}, fick ${l}`}case\"invalid_value\":return o.values.length===1?`Ogiltig inmatning: f\\\\xF6rv\\\\xE4ntat ${_e(o.values[0])}`:`Ogiltigt val: f\\\\xF6rv\\\\xE4ntade en av ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`F\\\\xF6r stor(t): f\\\\xF6rv\\\\xE4ntade ${o.origin??\"v\\\\xE4rdet\"} att ha ${i}${o.maximum.toString()} ${c.unit??\"element\"}`:`F\\\\xF6r stor(t): f\\\\xF6rv\\\\xE4ntat ${o.origin??\"v\\\\xE4rdet\"} att ha ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`F\\\\xF6r lite(t): f\\\\xF6rv\\\\xE4ntade ${o.origin??\"v\\\\xE4rdet\"} att ha ${i}${o.minimum.toString()} ${c.unit}`:`F\\\\xF6r lite(t): f\\\\xF6rv\\\\xE4ntade ${o.origin??\"v\\\\xE4rdet\"} att ha ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Ogiltig str\\\\xE4ng: m\\\\xE5ste b\\\\xF6rja med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ogiltig str\\\\xE4ng: m\\\\xE5ste sluta med \"${i.suffix}\"`:i.format===\"includes\"?`Ogiltig str\\\\xE4ng: m\\\\xE5ste inneh\\\\xE5lla \"${i.includes}\"`:i.format===\"regex\"?`Ogiltig str\\\\xE4ng: m\\\\xE5ste matcha m\\\\xF6nstret \"${i.pattern}\"`:`Ogiltig(t) ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Ogiltigt tal: m\\\\xE5ste vara en multipel av ${o.divisor}`;case\"unrecognized_keys\":return`${o.keys.length>1?\"Ok\\\\xE4nda nycklar\":\"Ok\\\\xE4nd nyckel\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Ogiltig nyckel i ${o.origin??\"v\\\\xE4rdet\"}`;case\"invalid_union\":return\"Ogiltig input\";case\"invalid_element\":return`Ogiltigt v\\\\xE4rde i ${o.origin??\"v\\\\xE4rdet\"}`;default:return\"Ogiltig input\"}}}});function hLe(){return{localeError:Fvt()}}var Fvt,yLe=x(()=>{u();je();Fvt=()=>{let e={string:{unit:\"\\\\u0B8E\\\\u0BB4\\\\u0BC1\\\\u0BA4\\\\u0BCD\\\\u0BA4\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BB3\\\\u0BCD\",verb:\"\\\\u0B95\\\\u0BCA\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BBF\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD\"},file:{unit:\"\\\\u0BAA\\\\u0BC8\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0B95\\\\u0BB3\\\\u0BCD\",verb:\"\\\\u0B95\\\\u0BCA\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BBF\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD\"},array:{unit:\"\\\\u0B89\\\\u0BB1\\\\u0BC1\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BC1\\\\u0B95\\\\u0BB3\\\\u0BCD\",verb:\"\\\\u0B95\\\\u0BCA\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BBF\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD\"},set:{unit:\"\\\\u0B89\\\\u0BB1\\\\u0BC1\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BC1\\\\u0B95\\\\u0BB3\\\\u0BCD\",verb:\"\\\\u0B95\\\\u0BCA\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BBF\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD\"},map:{unit:\"\\\\u0B89\\\\u0BB1\\\\u0BC1\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BC1\\\\u0B95\\\\u0BB3\\\\u0BCD\",verb:\"\\\\u0B95\\\\u0BCA\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BBF\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0B89\\\\u0BB3\\\\u0BCD\\\\u0BB3\\\\u0BC0\\\\u0B9F\\\\u0BC1\",email:\"\\\\u0BAE\\\\u0BBF\\\\u0BA9\\\\u0BCD\\\\u0BA9\\\\u0B9E\\\\u0BCD\\\\u0B9A\\\\u0BB2\\\\u0BCD \\\\u0BAE\\\\u0BC1\\\\u0B95\\\\u0BB5\\\\u0BB0\\\\u0BBF\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u0BA4\\\\u0BC7\\\\u0BA4\\\\u0BBF \\\\u0BA8\\\\u0BC7\\\\u0BB0\\\\u0BAE\\\\u0BCD\",date:\"ISO \\\\u0BA4\\\\u0BC7\\\\u0BA4\\\\u0BBF\",time:\"ISO \\\\u0BA8\\\\u0BC7\\\\u0BB0\\\\u0BAE\\\\u0BCD\",duration:\"ISO \\\\u0B95\\\\u0BBE\\\\u0BB2 \\\\u0B85\\\\u0BB3\\\\u0BB5\\\\u0BC1\",ipv4:\"IPv4 \\\\u0BAE\\\\u0BC1\\\\u0B95\\\\u0BB5\\\\u0BB0\\\\u0BBF\",ipv6:\"IPv6 \\\\u0BAE\\\\u0BC1\\\\u0B95\\\\u0BB5\\\\u0BB0\\\\u0BBF\",mac:\"MAC \\\\u0BAE\\\\u0BC1\\\\u0B95\\\\u0BB5\\\\u0BB0\\\\u0BBF\",cidrv4:\"IPv4 \\\\u0BB5\\\\u0BB0\\\\u0BAE\\\\u0BCD\\\\u0BAA\\\\u0BC1\",cidrv6:\"IPv6 \\\\u0BB5\\\\u0BB0\\\\u0BAE\\\\u0BCD\\\\u0BAA\\\\u0BC1\",base64:\"base64-encoded \\\\u0B9A\\\\u0BB0\\\\u0BAE\\\\u0BCD\",base64url:\"base64url-encoded \\\\u0B9A\\\\u0BB0\\\\u0BAE\\\\u0BCD\",json_string:\"JSON \\\\u0B9A\\\\u0BB0\\\\u0BAE\\\\u0BCD\",e164:\"E.164 \\\\u0B8E\\\\u0BA3\\\\u0BCD\",credit_card:\"\\\\u0B95\\\\u0B9F\\\\u0BA9\\\\u0BCD \\\\u0B85\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BC8 \\\\u0B8E\\\\u0BA3\\\\u0BCD\",currency_code:\"\\\\u0BA8\\\\u0BBE\\\\u0BA3\\\\u0BAF\\\\u0B95\\\\u0BCD \\\\u0B95\\\\u0BC1\\\\u0BB1\\\\u0BBF\\\\u0BAF\\\\u0BC0\\\\u0B9F\\\\u0BC1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},n={nan:\"NaN\",number:\"\\\\u0B8E\\\\u0BA3\\\\u0BCD\",array:\"\\\\u0B85\\\\u0BA3\\\\u0BBF\",null:\"\\\\u0BB5\\\\u0BC6\\\\u0BB1\\\\u0BC1\\\\u0BAE\\\\u0BC8\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B89\\\\u0BB3\\\\u0BCD\\\\u0BB3\\\\u0BC0\\\\u0B9F\\\\u0BC1: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 instanceof ${o.expected}, \\\\u0BAA\\\\u0BC6\\\\u0BB1\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${l}`:`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B89\\\\u0BB3\\\\u0BCD\\\\u0BB3\\\\u0BC0\\\\u0B9F\\\\u0BC1: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${i}, \\\\u0BAA\\\\u0BC6\\\\u0BB1\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B89\\\\u0BB3\\\\u0BCD\\\\u0BB3\\\\u0BC0\\\\u0B9F\\\\u0BC1: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${_e(o.values[0])}`:`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0BB5\\\\u0BBF\\\\u0BB0\\\\u0BC1\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BAE\\\\u0BCD: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${pe(o.values,\"|\")} \\\\u0B87\\\\u0BB2\\\\u0BCD \\\\u0B92\\\\u0BA9\\\\u0BCD\\\\u0BB1\\\\u0BC1`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0BAE\\\\u0BBF\\\\u0B95 \\\\u0BAA\\\\u0BC6\\\\u0BB0\\\\u0BBF\\\\u0BAF\\\\u0BA4\\\\u0BC1: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${o.origin??\"\\\\u0BAE\\\\u0BA4\\\\u0BBF\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BC1\"} ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0B89\\\\u0BB1\\\\u0BC1\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BC1\\\\u0B95\\\\u0BB3\\\\u0BCD\"} \\\\u0B86\\\\u0B95 \\\\u0B87\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`:`\\\\u0BAE\\\\u0BBF\\\\u0B95 \\\\u0BAA\\\\u0BC6\\\\u0BB0\\\\u0BBF\\\\u0BAF\\\\u0BA4\\\\u0BC1: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${o.origin??\"\\\\u0BAE\\\\u0BA4\\\\u0BBF\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BC1\"} ${i}${o.maximum.toString()} \\\\u0B86\\\\u0B95 \\\\u0B87\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0BAE\\\\u0BBF\\\\u0B95\\\\u0B9A\\\\u0BCD \\\\u0B9A\\\\u0BBF\\\\u0BB1\\\\u0BBF\\\\u0BAF\\\\u0BA4\\\\u0BC1: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${o.origin} ${i}${o.minimum.toString()} ${c.unit} \\\\u0B86\\\\u0B95 \\\\u0B87\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`:`\\\\u0BAE\\\\u0BBF\\\\u0B95\\\\u0B9A\\\\u0BCD \\\\u0B9A\\\\u0BBF\\\\u0BB1\\\\u0BBF\\\\u0BAF\\\\u0BA4\\\\u0BC1: \\\\u0B8E\\\\u0BA4\\\\u0BBF\\\\u0BB0\\\\u0BCD\\\\u0BAA\\\\u0BBE\\\\u0BB0\\\\u0BCD\\\\u0B95\\\\u0BCD\\\\u0B95\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BA4\\\\u0BC1 ${o.origin} ${i}${o.minimum.toString()} \\\\u0B86\\\\u0B95 \\\\u0B87\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B9A\\\\u0BB0\\\\u0BAE\\\\u0BCD: \"${i.prefix}\" \\\\u0B87\\\\u0BB2\\\\u0BCD \\\\u0BA4\\\\u0BCA\\\\u0B9F\\\\u0B99\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`:i.format===\"ends_with\"?`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B9A\\\\u0BB0\\\\u0BAE\\\\u0BCD: \"${i.suffix}\" \\\\u0B87\\\\u0BB2\\\\u0BCD \\\\u0BAE\\\\u0BC1\\\\u0B9F\\\\u0BBF\\\\u0BB5\\\\u0B9F\\\\u0BC8\\\\u0BAF \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`:i.format===\"includes\"?`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B9A\\\\u0BB0\\\\u0BAE\\\\u0BCD: \"${i.includes}\" \\\\u0B90 \\\\u0B89\\\\u0BB3\\\\u0BCD\\\\u0BB3\\\\u0B9F\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`:i.format===\"regex\"?`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B9A\\\\u0BB0\\\\u0BAE\\\\u0BCD: ${i.pattern} \\\\u0BAE\\\\u0BC1\\\\u0BB1\\\\u0BC8\\\\u0BAA\\\\u0BBE\\\\u0B9F\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0B9F\\\\u0BA9\\\\u0BCD \\\\u0BAA\\\\u0BCA\\\\u0BB0\\\\u0BC1\\\\u0BA8\\\\u0BCD\\\\u0BA4 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`:`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B8E\\\\u0BA3\\\\u0BCD: ${o.divisor} \\\\u0B87\\\\u0BA9\\\\u0BCD \\\\u0BAA\\\\u0BB2\\\\u0BAE\\\\u0BBE\\\\u0B95 \\\\u0B87\\\\u0BB0\\\\u0BC1\\\\u0B95\\\\u0BCD\\\\u0B95 \\\\u0BB5\\\\u0BC7\\\\u0BA3\\\\u0BCD\\\\u0B9F\\\\u0BC1\\\\u0BAE\\\\u0BCD`;case\"unrecognized_keys\":return`\\\\u0B85\\\\u0B9F\\\\u0BC8\\\\u0BAF\\\\u0BBE\\\\u0BB3\\\\u0BAE\\\\u0BCD \\\\u0BA4\\\\u0BC6\\\\u0BB0\\\\u0BBF\\\\u0BAF\\\\u0BBE\\\\u0BA4 \\\\u0BB5\\\\u0BBF\\\\u0B9A\\\\u0BC8${o.keys.length>1?\"\\\\u0B95\\\\u0BB3\\\\u0BCD\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} \\\\u0B87\\\\u0BB2\\\\u0BCD \\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0BB5\\\\u0BBF\\\\u0B9A\\\\u0BC8`;case\"invalid_union\":return\"\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B89\\\\u0BB3\\\\u0BCD\\\\u0BB3\\\\u0BC0\\\\u0B9F\\\\u0BC1\";case\"invalid_element\":return`${o.origin} \\\\u0B87\\\\u0BB2\\\\u0BCD \\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0BAE\\\\u0BA4\\\\u0BBF\\\\u0BAA\\\\u0BCD\\\\u0BAA\\\\u0BC1`;default:return\"\\\\u0BA4\\\\u0BB5\\\\u0BB1\\\\u0BBE\\\\u0BA9 \\\\u0B89\\\\u0BB3\\\\u0BCD\\\\u0BB3\\\\u0BC0\\\\u0B9F\\\\u0BC1\"}}}});function bLe(){return{localeError:Vvt()}}var Vvt,gLe=x(()=>{u();je();Vvt=()=>{let e={string:{unit:\"\\\\u0430\\\\u043B\\\\u043E\\\\u043C\\\\u0430\\\\u0442\",verb:\"\\\\u0434\\\\u043E\\\\u0448\\\\u0442\\\\u0430 \\\\u0431\\\\u043E\\\\u0448\\\\u0430\\\\u0434\"},file:{unit:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\",verb:\"\\\\u0434\\\\u043E\\\\u0448\\\\u0442\\\\u0430 \\\\u0431\\\\u043E\\\\u0448\\\\u0430\\\\u0434\"},array:{unit:\"\\\\u0443\\\\u043D\\\\u0441\\\\u0443\\\\u0440\",verb:\"\\\\u0434\\\\u043E\\\\u0448\\\\u0442\\\\u0430 \\\\u0431\\\\u043E\\\\u0448\\\\u0430\\\\u0434\"},set:{unit:\"\\\\u0443\\\\u043D\\\\u0441\\\\u0443\\\\u0440\",verb:\"\\\\u0434\\\\u043E\\\\u0448\\\\u0442\\\\u0430 \\\\u0431\\\\u043E\\\\u0448\\\\u0430\\\\u0434\"},map:{unit:\"\\\\u0441\\\\u0430\\\\u0431\\\\u0442\",verb:\"\\\\u0434\\\\u043E\\\\u0448\\\\u0442\\\\u0430 \\\\u0431\\\\u043E\\\\u0448\\\\u0430\\\\u0434\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0432\\\\u0443\\\\u0440\\\\u0443\\\\u0434\",email:\"\\\\u0441\\\\u0443\\\\u0440\\\\u043E\\\\u0493\\\\u0430\\\\u0438 email\",url:\"URL\",emoji:\"\\\\u044D\\\\u043C\\\\u043E\\\\u04B7\\\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u0441\\\\u0430\\\\u043D\\\\u0430\\\\u0432\\\\u0443 \\\\u0432\\\\u0430\\\\u049B\\\\u0442\\\\u0438 ISO\",date:\"\\\\u0441\\\\u0430\\\\u043D\\\\u0430\\\\u0438 ISO\",time:\"\\\\u0432\\\\u0430\\\\u049B\\\\u0442\\\\u0438 ISO\",duration:\"\\\\u0434\\\\u0430\\\\u0432\\\\u043E\\\\u043C\\\\u043D\\\\u043E\\\\u043A\\\\u0438\\\\u0438 ISO\",ipv4:\"\\\\u0441\\\\u0443\\\\u0440\\\\u043E\\\\u0493\\\\u0430\\\\u0438 IPv4\",ipv6:\"\\\\u0441\\\\u0443\\\\u0440\\\\u043E\\\\u0493\\\\u0430\\\\u0438 IPv6\",mac:\"\\\\u0441\\\\u0443\\\\u0440\\\\u043E\\\\u0493\\\\u0430\\\\u0438 MAC\",cidrv4:\"\\\\u043C\\\\u0430\\\\u04B3\\\\u0434\\\\u0443\\\\u0434\\\\u0430\\\\u0438 IPv4\",cidrv6:\"\\\\u043C\\\\u0430\\\\u04B3\\\\u0434\\\\u0443\\\\u0434\\\\u0430\\\\u0438 IPv6\",base64:\"\\\\u0441\\\\u0430\\\\u0442\\\\u0440\\\\u0438 \\\\u0434\\\\u0430\\\\u0440 \\\\u0444\\\\u043E\\\\u0440\\\\u043C\\\\u0430\\\\u0442\\\\u0438 base64\",base64url:\"\\\\u0441\\\\u0430\\\\u0442\\\\u0440\\\\u0438 \\\\u0434\\\\u0430\\\\u0440 \\\\u0444\\\\u043E\\\\u0440\\\\u043C\\\\u0430\\\\u0442\\\\u0438 base64url\",json_string:\"\\\\u0441\\\\u0430\\\\u0442\\\\u0440\\\\u0438 JSON\",e164:\"\\\\u0440\\\\u0430\\\\u049B\\\\u0430\\\\u043C\\\\u0438 E.164\",credit_card:\"\\\\u0440\\\\u0430\\\\u049B\\\\u0430\\\\u043C\\\\u0438 \\\\u043A\\\\u043E\\\\u0440\\\\u0442\\\\u0438 \\\\u043A\\\\u0440\\\\u0435\\\\u0434\\\\u0438\\\\u0442\\\\u04E3\",currency_code:\"\\\\u0440\\\\u0430\\\\u043C\\\\u0437\\\\u0438 \\\\u0430\\\\u0441\\\\u044A\\\\u043E\\\\u0440\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0432\\\\u0443\\\\u0440\\\\u0443\\\\u0434\"},n={nan:\"NaN\",number:\"\\\\u0440\\\\u0430\\\\u049B\\\\u0430\\\\u043C\",string:\"\\\\u0441\\\\u0430\\\\u0442\\\\u0440\",array:\"\\\\u043C\\\\u0430\\\\u0441\\\\u0441\\\\u0438\\\\u0432\",object:\"\\\\u043E\\\\u0431\\\\u044A\\\\u0435\\\\u043A\\\\u0442\",date:\"\\\\u0441\\\\u0430\\\\u043D\\\\u0430\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`\\\\u0412\\\\u0443\\\\u0440\\\\u0443\\\\u0434\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: ${i} \\\\u0438\\\\u043D\\\\u0442\\\\u0438\\\\u0437\\\\u043E\\\\u0440 \\\\u043C\\\\u0435\\\\u0440\\\\u0430\\\\u0444\\\\u0442, ${l} \\\\u0433\\\\u0438\\\\u0440\\\\u0438\\\\u0444\\\\u0442\\\\u0430 \\\\u0448\\\\u0443\\\\u0434`}case\"invalid_value\":return o.values.length===1?`\\\\u0412\\\\u0443\\\\u0440\\\\u0443\\\\u0434\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: ${_e(o.values[0])} \\\\u0438\\\\u043D\\\\u0442\\\\u0438\\\\u0437\\\\u043E\\\\u0440 \\\\u043C\\\\u0435\\\\u0440\\\\u0430\\\\u0444\\\\u0442`:`\\\\u0418\\\\u043D\\\\u0442\\\\u0438\\\\u0445\\\\u043E\\\\u0431\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: \\\\u044F\\\\u043A\\\\u0435 \\\\u0430\\\\u0437 ${pe(o.values,\"|\")} \\\\u0438\\\\u043D\\\\u0442\\\\u0438\\\\u0437\\\\u043E\\\\u0440 \\\\u043C\\\\u0435\\\\u0440\\\\u0430\\\\u0444\\\\u0442`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0425\\\\u0435\\\\u043B\\\\u0435 \\\\u043A\\\\u0430\\\\u043B\\\\u043E\\\\u043D: ${o.origin??\"\\\\u049B\\\\u0438\\\\u043C\\\\u0430\\\\u0442\"} \\\\u0431\\\\u043E\\\\u044F\\\\u0434 ${i}${o.maximum.toString()} ${c.unit} ${c.verb}`:`\\\\u0425\\\\u0435\\\\u043B\\\\u0435 \\\\u043A\\\\u0430\\\\u043B\\\\u043E\\\\u043D: ${o.origin??\"\\\\u049B\\\\u0438\\\\u043C\\\\u0430\\\\u0442\"} \\\\u0431\\\\u043E\\\\u044F\\\\u0434 ${i}${o.maximum.toString()} \\\\u0431\\\\u043E\\\\u0448\\\\u0430\\\\u0434`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0425\\\\u0435\\\\u043B\\\\u0435 \\\\u0445\\\\u0443\\\\u0440\\\\u0434: ${o.origin} \\\\u0431\\\\u043E\\\\u044F\\\\u0434 ${i}${o.minimum.toString()} ${c.unit} ${c.verb}`:`\\\\u0425\\\\u0435\\\\u043B\\\\u0435 \\\\u0445\\\\u0443\\\\u0440\\\\u0434: ${o.origin} \\\\u0431\\\\u043E\\\\u044F\\\\u0434 ${i}${o.minimum.toString()} \\\\u0431\\\\u043E\\\\u0448\\\\u0430\\\\u0434`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0421\\\\u0430\\\\u0442\\\\u0440\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: \\\\u0431\\\\u043E\\\\u044F\\\\u0434 \\\\u0431\\\\u043E \"${i.prefix}\" \\\\u043E\\\\u0493\\\\u043E\\\\u0437 \\\\u0448\\\\u0430\\\\u0432\\\\u0430\\\\u0434`:i.format===\"ends_with\"?`\\\\u0421\\\\u0430\\\\u0442\\\\u0440\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: \\\\u0431\\\\u043E\\\\u044F\\\\u0434 \\\\u0431\\\\u043E \"${i.suffix}\" \\\\u0430\\\\u043D\\\\u04B7\\\\u043E\\\\u043C \\\\u0451\\\\u0431\\\\u0430\\\\u0434`:i.format===\"includes\"?`\\\\u0421\\\\u0430\\\\u0442\\\\u0440\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: \\\\u0431\\\\u043E\\\\u044F\\\\u0434 \"${i.includes}\"-\\\\u0440\\\\u043E \\\\u0434\\\\u0430\\\\u0440 \\\\u0431\\\\u0430\\\\u0440 \\\\u0433\\\\u0438\\\\u0440\\\\u0430\\\\u0434`:i.format===\"regex\"?`\\\\u0421\\\\u0430\\\\u0442\\\\u0440\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: \\\\u0431\\\\u043E\\\\u044F\\\\u0434 \\\\u0431\\\\u0430 \\\\u043D\\\\u0430\\\\u043C\\\\u0443\\\\u043D\\\\u0430\\\\u0438 ${i.pattern} \\\\u043C\\\\u0443\\\\u0432\\\\u043E\\\\u0444\\\\u0438\\\\u049B\\\\u0430\\\\u0442 \\\\u043A\\\\u0443\\\\u043D\\\\u0430\\\\u0434`:`${r[i.format]??o.format}-\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442`}case\"not_multiple_of\":return`\\\\u0420\\\\u0430\\\\u049B\\\\u0430\\\\u043C\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442: \\\\u0431\\\\u043E\\\\u044F\\\\u0434 \\\\u0431\\\\u0430 ${o.divisor} \\\\u0431\\\\u0435 \\\\u0431\\\\u0430\\\\u049B\\\\u0438\\\\u044F \\\\u0442\\\\u0430\\\\u049B\\\\u0441\\\\u0438\\\\u043C \\\\u0448\\\\u0430\\\\u0432\\\\u0430\\\\u0434`;case\"unrecognized_keys\":return`\\\\u041A\\\\u0430\\\\u043B\\\\u0438\\\\u0434${o.keys.length>1?\"\\\\u04B3\\\\u043E\\\\u0438\":\"\\\\u0438\"} \\\\u043D\\\\u043E\\\\u043C\\\\u0430\\\\u044A\\\\u043B\\\\u0443\\\\u043C: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u041A\\\\u0430\\\\u043B\\\\u0438\\\\u0434\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442 \\\\u0434\\\\u0430\\\\u0440 ${o.origin}`;case\"invalid_union\":return o.options&&Array.isArray(o.options)&&o.options.length>0?`\\\\u049A\\\\u0438\\\\u043C\\\\u0430\\\\u0442\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442\\\\u0438 \\\\u0434\\\\u0438\\\\u0441\\\\u043A\\\\u0440\\\\u0438\\\\u043C\\\\u0438\\\\u043D\\\\u0430\\\\u0442\\\\u043E\\\\u0440: ${o.options.map(c=>`\\'${c}\\'`).join(\" | \")} \\\\u0438\\\\u043D\\\\u0442\\\\u0438\\\\u0437\\\\u043E\\\\u0440 \\\\u043C\\\\u0435\\\\u0440\\\\u0430\\\\u0444\\\\u0442`:\"\\\\u0412\\\\u0443\\\\u0440\\\\u0443\\\\u0434\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442\";case\"invalid_element\":return`\\\\u049A\\\\u0438\\\\u043C\\\\u0430\\\\u0442\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442 \\\\u0434\\\\u0430\\\\u0440 ${o.origin}`;default:return\"\\\\u0412\\\\u0443\\\\u0440\\\\u0443\\\\u0434\\\\u0438 \\\\u043D\\\\u043E\\\\u0434\\\\u0443\\\\u0440\\\\u0443\\\\u0441\\\\u0442\"}}}});function xLe(){return{localeError:qvt()}}var qvt,vLe=x(()=>{u();je();qvt=()=>{let e={string:{unit:\"\\\\u0E15\\\\u0E31\\\\u0E27\\\\u0E2D\\\\u0E31\\\\u0E01\\\\u0E29\\\\u0E23\",verb:\"\\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35\"},file:{unit:\"\\\\u0E44\\\\u0E1A\\\\u0E15\\\\u0E4C\",verb:\"\\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35\"},array:{unit:\"\\\\u0E23\\\\u0E32\\\\u0E22\\\\u0E01\\\\u0E32\\\\u0E23\",verb:\"\\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35\"},set:{unit:\"\\\\u0E23\\\\u0E32\\\\u0E22\\\\u0E01\\\\u0E32\\\\u0E23\",verb:\"\\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35\"},map:{unit:\"\\\\u0E23\\\\u0E32\\\\u0E22\\\\u0E01\\\\u0E32\\\\u0E23\",verb:\"\\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E21\\\\u0E39\\\\u0E25\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E1B\\\\u0E49\\\\u0E2D\\\\u0E19\",email:\"\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E2D\\\\u0E22\\\\u0E39\\\\u0E48\\\\u0E2D\\\\u0E35\\\\u0E40\\\\u0E21\\\\u0E25\",url:\"URL\",emoji:\"\\\\u0E2D\\\\u0E34\\\\u0E42\\\\u0E21\\\\u0E08\\\\u0E34\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u0E27\\\\u0E31\\\\u0E19\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E40\\\\u0E27\\\\u0E25\\\\u0E32\\\\u0E41\\\\u0E1A\\\\u0E1A ISO\",date:\"\\\\u0E27\\\\u0E31\\\\u0E19\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E41\\\\u0E1A\\\\u0E1A ISO\",time:\"\\\\u0E40\\\\u0E27\\\\u0E25\\\\u0E32\\\\u0E41\\\\u0E1A\\\\u0E1A ISO\",duration:\"\\\\u0E0A\\\\u0E48\\\\u0E27\\\\u0E07\\\\u0E40\\\\u0E27\\\\u0E25\\\\u0E32\\\\u0E41\\\\u0E1A\\\\u0E1A ISO\",ipv4:\"\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E2D\\\\u0E22\\\\u0E39\\\\u0E48 IPv4\",ipv6:\"\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E2D\\\\u0E22\\\\u0E39\\\\u0E48 IPv6\",mac:\"\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E2D\\\\u0E22\\\\u0E39\\\\u0E48 MAC\",cidrv4:\"\\\\u0E0A\\\\u0E48\\\\u0E27\\\\u0E07 IP \\\\u0E41\\\\u0E1A\\\\u0E1A IPv4\",cidrv6:\"\\\\u0E0A\\\\u0E48\\\\u0E27\\\\u0E07 IP \\\\u0E41\\\\u0E1A\\\\u0E1A IPv6\",base64:\"\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E04\\\\u0E27\\\\u0E32\\\\u0E21\\\\u0E41\\\\u0E1A\\\\u0E1A Base64\",base64url:\"\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E04\\\\u0E27\\\\u0E32\\\\u0E21\\\\u0E41\\\\u0E1A\\\\u0E1A Base64 \\\\u0E2A\\\\u0E33\\\\u0E2B\\\\u0E23\\\\u0E31\\\\u0E1A URL\",json_string:\"\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E04\\\\u0E27\\\\u0E32\\\\u0E21\\\\u0E41\\\\u0E1A\\\\u0E1A JSON\",e164:\"\\\\u0E40\\\\u0E1A\\\\u0E2D\\\\u0E23\\\\u0E4C\\\\u0E42\\\\u0E17\\\\u0E23\\\\u0E28\\\\u0E31\\\\u0E1E\\\\u0E17\\\\u0E4C\\\\u0E23\\\\u0E30\\\\u0E2B\\\\u0E27\\\\u0E48\\\\u0E32\\\\u0E07\\\\u0E1B\\\\u0E23\\\\u0E30\\\\u0E40\\\\u0E17\\\\u0E28 (E.164)\",credit_card:\"\\\\u0E2B\\\\u0E21\\\\u0E32\\\\u0E22\\\\u0E40\\\\u0E25\\\\u0E02\\\\u0E1A\\\\u0E31\\\\u0E15\\\\u0E23\\\\u0E40\\\\u0E04\\\\u0E23\\\\u0E14\\\\u0E34\\\\u0E15\",currency_code:\"\\\\u0E23\\\\u0E2B\\\\u0E31\\\\u0E2A\\\\u0E2A\\\\u0E01\\\\u0E38\\\\u0E25\\\\u0E40\\\\u0E07\\\\u0E34\\\\u0E19\",iban:\"IBAN\",jwt:\"\\\\u0E42\\\\u0E17\\\\u0E40\\\\u0E04\\\\u0E19 JWT\",template_literal:\"\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E21\\\\u0E39\\\\u0E25\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E1B\\\\u0E49\\\\u0E2D\\\\u0E19\"},n={nan:\"NaN\",number:\"\\\\u0E15\\\\u0E31\\\\u0E27\\\\u0E40\\\\u0E25\\\\u0E02\",array:\"\\\\u0E2D\\\\u0E32\\\\u0E23\\\\u0E4C\\\\u0E40\\\\u0E23\\\\u0E22\\\\u0E4C (Array)\",null:\"\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E21\\\\u0E35\\\\u0E04\\\\u0E48\\\\u0E32 (null)\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u0E1B\\\\u0E23\\\\u0E30\\\\u0E40\\\\u0E20\\\\u0E17\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E21\\\\u0E39\\\\u0E25\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E40\\\\u0E1B\\\\u0E47\\\\u0E19 instanceof ${o.expected} \\\\u0E41\\\\u0E15\\\\u0E48\\\\u0E44\\\\u0E14\\\\u0E49\\\\u0E23\\\\u0E31\\\\u0E1A ${l}`:`\\\\u0E1B\\\\u0E23\\\\u0E30\\\\u0E40\\\\u0E20\\\\u0E17\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E21\\\\u0E39\\\\u0E25\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E40\\\\u0E1B\\\\u0E47\\\\u0E19 ${i} \\\\u0E41\\\\u0E15\\\\u0E48\\\\u0E44\\\\u0E14\\\\u0E49\\\\u0E23\\\\u0E31\\\\u0E1A ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0E04\\\\u0E48\\\\u0E32\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E40\\\\u0E1B\\\\u0E47\\\\u0E19 ${_e(o.values[0])}`:`\\\\u0E15\\\\u0E31\\\\u0E27\\\\u0E40\\\\u0E25\\\\u0E37\\\\u0E2D\\\\u0E01\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E40\\\\u0E1B\\\\u0E47\\\\u0E19\\\\u0E2B\\\\u0E19\\\\u0E36\\\\u0E48\\\\u0E07\\\\u0E43\\\\u0E19 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E40\\\\u0E01\\\\u0E34\\\\u0E19\":\"\\\\u0E19\\\\u0E49\\\\u0E2D\\\\u0E22\\\\u0E01\\\\u0E27\\\\u0E48\\\\u0E32\",c=t(o.origin);return c?`\\\\u0E40\\\\u0E01\\\\u0E34\\\\u0E19\\\\u0E01\\\\u0E33\\\\u0E2B\\\\u0E19\\\\u0E14: ${o.origin??\"\\\\u0E04\\\\u0E48\\\\u0E32\"} \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35${i} ${o.maximum.toString()} ${c.unit??\"\\\\u0E23\\\\u0E32\\\\u0E22\\\\u0E01\\\\u0E32\\\\u0E23\"}`:`\\\\u0E40\\\\u0E01\\\\u0E34\\\\u0E19\\\\u0E01\\\\u0E33\\\\u0E2B\\\\u0E19\\\\u0E14: ${o.origin??\"\\\\u0E04\\\\u0E48\\\\u0E32\"} \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35${i} ${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\"\\\\u0E2D\\\\u0E22\\\\u0E48\\\\u0E32\\\\u0E07\\\\u0E19\\\\u0E49\\\\u0E2D\\\\u0E22\":\"\\\\u0E21\\\\u0E32\\\\u0E01\\\\u0E01\\\\u0E27\\\\u0E48\\\\u0E32\",c=t(o.origin);return c?`\\\\u0E19\\\\u0E49\\\\u0E2D\\\\u0E22\\\\u0E01\\\\u0E27\\\\u0E48\\\\u0E32\\\\u0E01\\\\u0E33\\\\u0E2B\\\\u0E19\\\\u0E14: ${o.origin} \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35${i} ${o.minimum.toString()} ${c.unit}`:`\\\\u0E19\\\\u0E49\\\\u0E2D\\\\u0E22\\\\u0E01\\\\u0E27\\\\u0E48\\\\u0E32\\\\u0E01\\\\u0E33\\\\u0E2B\\\\u0E19\\\\u0E14: ${o.origin} \\\\u0E04\\\\u0E27\\\\u0E23\\\\u0E21\\\\u0E35${i} ${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u0E23\\\\u0E39\\\\u0E1B\\\\u0E41\\\\u0E1A\\\\u0E1A\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E04\\\\u0E27\\\\u0E32\\\\u0E21\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\\\\u0E02\\\\u0E36\\\\u0E49\\\\u0E19\\\\u0E15\\\\u0E49\\\\u0E19\\\\u0E14\\\\u0E49\\\\u0E27\\\\u0E22 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u0E23\\\\u0E39\\\\u0E1B\\\\u0E41\\\\u0E1A\\\\u0E1A\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E04\\\\u0E27\\\\u0E32\\\\u0E21\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\\\\u0E25\\\\u0E07\\\\u0E17\\\\u0E49\\\\u0E32\\\\u0E22\\\\u0E14\\\\u0E49\\\\u0E27\\\\u0E22 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u0E23\\\\u0E39\\\\u0E1B\\\\u0E41\\\\u0E1A\\\\u0E1A\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E04\\\\u0E27\\\\u0E32\\\\u0E21\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\\\\u0E21\\\\u0E35 \"${i.includes}\" \\\\u0E2D\\\\u0E22\\\\u0E39\\\\u0E48\\\\u0E43\\\\u0E19\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E04\\\\u0E27\\\\u0E32\\\\u0E21`:i.format===\"regex\"?`\\\\u0E23\\\\u0E39\\\\u0E1B\\\\u0E41\\\\u0E1A\\\\u0E1A\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\\\\u0E15\\\\u0E23\\\\u0E07\\\\u0E01\\\\u0E31\\\\u0E1A\\\\u0E23\\\\u0E39\\\\u0E1B\\\\u0E41\\\\u0E1A\\\\u0E1A\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E01\\\\u0E33\\\\u0E2B\\\\u0E19\\\\u0E14 ${i.pattern}`:`\\\\u0E23\\\\u0E39\\\\u0E1B\\\\u0E41\\\\u0E1A\\\\u0E1A\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u0E15\\\\u0E31\\\\u0E27\\\\u0E40\\\\u0E25\\\\u0E02\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\\\\u0E40\\\\u0E1B\\\\u0E47\\\\u0E19\\\\u0E08\\\\u0E33\\\\u0E19\\\\u0E27\\\\u0E19\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E2B\\\\u0E32\\\\u0E23\\\\u0E14\\\\u0E49\\\\u0E27\\\\u0E22 ${o.divisor} \\\\u0E44\\\\u0E14\\\\u0E49\\\\u0E25\\\\u0E07\\\\u0E15\\\\u0E31\\\\u0E27`;case\"unrecognized_keys\":return`\\\\u0E1E\\\\u0E1A\\\\u0E04\\\\u0E35\\\\u0E22\\\\u0E4C\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E23\\\\u0E39\\\\u0E49\\\\u0E08\\\\u0E31\\\\u0E01: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u0E04\\\\u0E35\\\\u0E22\\\\u0E4C\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\\\\u0E43\\\\u0E19 ${o.origin}`;case\"invalid_union\":return\"\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E21\\\\u0E39\\\\u0E25\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07: \\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E15\\\\u0E23\\\\u0E07\\\\u0E01\\\\u0E31\\\\u0E1A\\\\u0E23\\\\u0E39\\\\u0E1B\\\\u0E41\\\\u0E1A\\\\u0E1A\\\\u0E22\\\\u0E39\\\\u0E40\\\\u0E19\\\\u0E35\\\\u0E22\\\\u0E19\\\\u0E17\\\\u0E35\\\\u0E48\\\\u0E01\\\\u0E33\\\\u0E2B\\\\u0E19\\\\u0E14\\\\u0E44\\\\u0E27\\\\u0E49\";case\"invalid_element\":return`\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E21\\\\u0E39\\\\u0E25\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\\\\u0E43\\\\u0E19 ${o.origin}`;default:return\"\\\\u0E02\\\\u0E49\\\\u0E2D\\\\u0E21\\\\u0E39\\\\u0E25\\\\u0E44\\\\u0E21\\\\u0E48\\\\u0E16\\\\u0E39\\\\u0E01\\\\u0E15\\\\u0E49\\\\u0E2D\\\\u0E07\"}}}});function wLe(){return{localeError:Gvt()}}var Gvt,ELe=x(()=>{u();je();Gvt=()=>{let e={string:{unit:\"simwol\",verb:\"bolmaly\"},file:{unit:\"ba\\\\xFDt\",verb:\"bolmaly\"},array:{unit:\"elementler\",verb:\"bolmaly\"},set:{unit:\"elementler\",verb:\"bolmaly\"},map:{unit:\"elementler\",verb:\"bolmaly\"}};function t(o){return e[o]??null}let r={regex:\"giri\\\\u015F\",email:\"e-po\\\\xE7ta salgysy\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO sene we wagt\",date:\"ISO sene\",time:\"ISO wagt\",duration:\"ISO wagt aralygy\",ipv4:\"IPv4 salgysy\",ipv6:\"IPv6 salgysy\",mac:\"MAC salgysy\",cidrv4:\"IPv4 aralygy\",cidrv6:\"IPv6 aralygy\",base64:\"base64 bilen \\\\u015Fifrlenen setir\",base64url:\"base64url bilen \\\\u015Fifrlenen setir\",json_string:\"JSON setiri\",e164:\"E.164 nomeri\",credit_card:\"kredit kartyny\\\\u0148 nomeri\",currency_code:\"wal\\\\xFDuta kody\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u015Fablon\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return`N\\\\xE4dogry baha: gara\\\\u015Fylan ${i} \\\\xFDerine ${l} alyndy`}case\"invalid_value\":return o.values.length===1?`N\\\\xE4dogry baha: ${_e(o.values[0])} bolmaly`:`N\\\\xE4dogry sa\\\\xFDlaw: a\\\\u015Fakdakylardan biri bolmaly: ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Has uly: gara\\\\u015Fyl\\\\xFDan ${o.origin??\"baha\"} ${i} ${o.maximum.toString()} ${c.unit??\"element\"}`:`Has uly: gara\\\\u015Fyl\\\\xFDan ${o.origin??\"baha\"} ${i} ${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Has ki\\\\xE7i: gara\\\\u015Fyl\\\\xFDan ${o.origin} ${i} ${o.minimum.toString()} ${c.unit}`:`Has ki\\\\xE7i: gara\\\\u015Fyl\\\\xFDan ${o.origin} ${i} ${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`N\\\\xE4dogry setir: \"${i.prefix}\" bilen ba\\\\u015Flamaly`:i.format===\"ends_with\"?`N\\\\xE4dogry setir: \"${i.suffix}\" bilen gutarmaly`:i.format===\"includes\"?`N\\\\xE4dogry setir: \"${i.includes}\" saklamaly`:i.format===\"regex\"?`N\\\\xE4dogry setir: ${i.pattern} nusga la\\\\xFDyk bolmaly`:`N\\\\xE4dogry ${r[i.format]??o.format}`}case\"not_multiple_of\":return`N\\\\xE4dogry san: ${o.divisor} bilen galyndysyz b\\\\xF6l\\\\xFCnmeli`;case\"unrecognized_keys\":return`Tanalma\\\\xFDan a\\\\xE7ar${o.keys.length>1?\"lar\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} i\\\\xE7inde n\\\\xE4dogry a\\\\xE7ar`;case\"invalid_union\":return\"N\\\\xE4dogry baha\";case\"invalid_element\":return`${o.origin} i\\\\xE7inde n\\\\xE4dogry baha`;default:return\"N\\\\xE4dogry baha\"}}}});function _Le(){return{localeError:Kvt()}}var Kvt,SLe=x(()=>{u();je();Kvt=()=>{let e={string:{unit:\"karakter\",verb:\"olmal\\\\u0131\"},file:{unit:\"bayt\",verb:\"olmal\\\\u0131\"},array:{unit:\"\\\\xF6\\\\u011Fe\",verb:\"olmal\\\\u0131\"},set:{unit:\"\\\\xF6\\\\u011Fe\",verb:\"olmal\\\\u0131\"},map:{unit:\"\\\\xF6\\\\u011Fe\",verb:\"olmal\\\\u0131\"}};function t(o){return e[o]??null}let r={regex:\"girdi\",email:\"e-posta adresi\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO tarih ve saat\",date:\"ISO tarih\",time:\"ISO saat\",duration:\"ISO s\\\\xFCre\",ipv4:\"IPv4 adresi\",ipv6:\"IPv6 adresi\",mac:\"MAC adresi\",cidrv4:\"IPv4 aral\\\\u0131\\\\u011F\\\\u0131\",cidrv6:\"IPv6 aral\\\\u0131\\\\u011F\\\\u0131\",base64:\"base64 ile \\\\u015Fifrelenmi\\\\u015F metin\",base64url:\"base64url ile \\\\u015Fifrelenmi\\\\u015F metin\",json_string:\"JSON dizesi\",e164:\"E.164 say\\\\u0131s\\\\u0131\",credit_card:\"kredi kart\\\\u0131 numaras\\\\u0131\",currency_code:\"para birimi kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u015Eablon dizesi\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Ge\\\\xE7ersiz de\\\\u011Fer: beklenen instanceof ${o.expected}, al\\\\u0131nan ${l}`:`Ge\\\\xE7ersiz de\\\\u011Fer: beklenen ${i}, al\\\\u0131nan ${l}`}case\"invalid_value\":return o.values.length===1?`Ge\\\\xE7ersiz de\\\\u011Fer: beklenen ${_e(o.values[0])}`:`Ge\\\\xE7ersiz se\\\\xE7enek: a\\\\u015Fa\\\\u011F\\\\u0131dakilerden biri olmal\\\\u0131: ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\xC7ok b\\\\xFCy\\\\xFCk: beklenen ${o.origin??\"de\\\\u011Fer\"} ${i}${o.maximum.toString()} ${c.unit??\"\\\\xF6\\\\u011Fe\"}`:`\\\\xC7ok b\\\\xFCy\\\\xFCk: beklenen ${o.origin??\"de\\\\u011Fer\"} ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\xC7ok k\\\\xFC\\\\xE7\\\\xFCk: beklenen ${o.origin} ${i}${o.minimum.toString()} ${c.unit}`:`\\\\xC7ok k\\\\xFC\\\\xE7\\\\xFCk: beklenen ${o.origin} ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Ge\\\\xE7ersiz metin: \"${i.prefix}\" ile ba\\\\u015Flamal\\\\u0131`:i.format===\"ends_with\"?`Ge\\\\xE7ersiz metin: \"${i.suffix}\" ile bitmeli`:i.format===\"includes\"?`Ge\\\\xE7ersiz metin: \"${i.includes}\" i\\\\xE7ermeli`:i.format===\"regex\"?`Ge\\\\xE7ersiz metin: ${i.pattern} desenine uymal\\\\u0131`:`Ge\\\\xE7ersiz ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Ge\\\\xE7ersiz say\\\\u0131: ${o.divisor} ile tam b\\\\xF6l\\\\xFCnebilmeli`;case\"unrecognized_keys\":return`Tan\\\\u0131nmayan anahtar${o.keys.length>1?\"lar\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} i\\\\xE7inde ge\\\\xE7ersiz anahtar`;case\"invalid_union\":return\"Ge\\\\xE7ersiz de\\\\u011Fer\";case\"invalid_element\":return`${o.origin} i\\\\xE7inde ge\\\\xE7ersiz de\\\\u011Fer`;default:return\"Ge\\\\xE7ersiz de\\\\u011Fer\"}}}});function WO(){return{localeError:Zvt()}}var Zvt,dW=x(()=>{u();je();Zvt=()=>{let e={string:{unit:\"\\\\u0441\\\\u0438\\\\u043C\\\\u0432\\\\u043E\\\\u043B\\\\u0456\\\\u0432\",verb:\"\\\\u043C\\\\u0430\\\\u0442\\\\u0438\\\\u043C\\\\u0435\"},file:{unit:\"\\\\u0431\\\\u0430\\\\u0439\\\\u0442\\\\u0456\\\\u0432\",verb:\"\\\\u043C\\\\u0430\\\\u0442\\\\u0438\\\\u043C\\\\u0435\"},array:{unit:\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0456\\\\u0432\",verb:\"\\\\u043C\\\\u0430\\\\u0442\\\\u0438\\\\u043C\\\\u0435\"},set:{unit:\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0456\\\\u0432\",verb:\"\\\\u043C\\\\u0430\\\\u0442\\\\u0438\\\\u043C\\\\u0435\"},map:{unit:\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0456\\\\u0432\",verb:\"\\\\u043C\\\\u0430\\\\u0442\\\\u0438\\\\u043C\\\\u0435\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0432\\\\u0445\\\\u0456\\\\u0434\\\\u043D\\\\u0456 \\\\u0434\\\\u0430\\\\u043D\\\\u0456\",email:\"\\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430 \\\\u0435\\\\u043B\\\\u0435\\\\u043A\\\\u0442\\\\u0440\\\\u043E\\\\u043D\\\\u043D\\\\u043E\\\\u0457 \\\\u043F\\\\u043E\\\\u0448\\\\u0442\\\\u0438\",url:\"URL\",emoji:\"\\\\u0435\\\\u043C\\\\u043E\\\\u0434\\\\u0437\\\\u0456\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\u0434\\\\u0430\\\\u0442\\\\u0430 \\\\u0442\\\\u0430 \\\\u0447\\\\u0430\\\\u0441 ISO\",date:\"\\\\u0434\\\\u0430\\\\u0442\\\\u0430 ISO\",time:\"\\\\u0447\\\\u0430\\\\u0441 ISO\",duration:\"\\\\u0442\\\\u0440\\\\u0438\\\\u0432\\\\u0430\\\\u043B\\\\u0456\\\\u0441\\\\u0442\\\\u044C ISO\",ipv4:\"\\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430 IPv4\",ipv6:\"\\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430 IPv6\",mac:\"\\\\u0430\\\\u0434\\\\u0440\\\\u0435\\\\u0441\\\\u0430 MAC\",cidrv4:\"\\\\u0434\\\\u0456\\\\u0430\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D IPv4\",cidrv6:\"\\\\u0434\\\\u0456\\\\u0430\\\\u043F\\\\u0430\\\\u0437\\\\u043E\\\\u043D IPv6\",base64:\"\\\\u0440\\\\u044F\\\\u0434\\\\u043E\\\\u043A \\\\u0443 \\\\u043A\\\\u043E\\\\u0434\\\\u0443\\\\u0432\\\\u0430\\\\u043D\\\\u043D\\\\u0456 base64\",base64url:\"\\\\u0440\\\\u044F\\\\u0434\\\\u043E\\\\u043A \\\\u0443 \\\\u043A\\\\u043E\\\\u0434\\\\u0443\\\\u0432\\\\u0430\\\\u043D\\\\u043D\\\\u0456 base64url\",json_string:\"\\\\u0440\\\\u044F\\\\u0434\\\\u043E\\\\u043A JSON\",e164:\"\\\\u043D\\\\u043E\\\\u043C\\\\u0435\\\\u0440 E.164\",credit_card:\"\\\\u043D\\\\u043E\\\\u043C\\\\u0435\\\\u0440 \\\\u043A\\\\u0440\\\\u0435\\\\u0434\\\\u0438\\\\u0442\\\\u043D\\\\u043E\\\\u0457 \\\\u043A\\\\u0430\\\\u0440\\\\u0442\\\\u043A\\\\u0438\",currency_code:\"\\\\u043A\\\\u043E\\\\u0434 \\\\u0432\\\\u0430\\\\u043B\\\\u044E\\\\u0442\\\\u0438\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0432\\\\u0445\\\\u0456\\\\u0434\\\\u043D\\\\u0456 \\\\u0434\\\\u0430\\\\u043D\\\\u0456\"},n={nan:\"NaN\",number:\"\\\\u0447\\\\u0438\\\\u0441\\\\u043B\\\\u043E\",array:\"\\\\u043C\\\\u0430\\\\u0441\\\\u0438\\\\u0432\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0456 \\\\u0432\\\\u0445\\\\u0456\\\\u0434\\\\u043D\\\\u0456 \\\\u0434\\\\u0430\\\\u043D\\\\u0456: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F instanceof ${o.expected}, \\\\u043E\\\\u0442\\\\u0440\\\\u0438\\\\u043C\\\\u0430\\\\u043D\\\\u043E ${l}`:`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0456 \\\\u0432\\\\u0445\\\\u0456\\\\u0434\\\\u043D\\\\u0456 \\\\u0434\\\\u0430\\\\u043D\\\\u0456: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F ${i}, \\\\u043E\\\\u0442\\\\u0440\\\\u0438\\\\u043C\\\\u0430\\\\u043D\\\\u043E ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0456 \\\\u0432\\\\u0445\\\\u0456\\\\u0434\\\\u043D\\\\u0456 \\\\u0434\\\\u0430\\\\u043D\\\\u0456: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F ${_e(o.values[0])}`:`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0430 \\\\u043E\\\\u043F\\\\u0446\\\\u0456\\\\u044F: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F \\\\u043E\\\\u0434\\\\u043D\\\\u0435 \\\\u0437 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u043E \\\\u0432\\\\u0435\\\\u043B\\\\u0438\\\\u043A\\\\u0435: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F, \\\\u0449\\\\u043E ${o.origin??\"\\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u043D\\\\u044F\"} ${c.verb} ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0435\\\\u043B\\\\u0435\\\\u043C\\\\u0435\\\\u043D\\\\u0442\\\\u0456\\\\u0432\"}`:`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u043E \\\\u0432\\\\u0435\\\\u043B\\\\u0438\\\\u043A\\\\u0435: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F, \\\\u0449\\\\u043E ${o.origin??\"\\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u043D\\\\u044F\"} \\\\u0431\\\\u0443\\\\u0434\\\\u0435 ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u043E \\\\u043C\\\\u0430\\\\u043B\\\\u0435: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F, \\\\u0449\\\\u043E ${o.origin} ${c.verb} ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u0417\\\\u0430\\\\u043D\\\\u0430\\\\u0434\\\\u0442\\\\u043E \\\\u043C\\\\u0430\\\\u043B\\\\u0435: \\\\u043E\\\\u0447\\\\u0456\\\\u043A\\\\u0443\\\\u0454\\\\u0442\\\\u044C\\\\u0441\\\\u044F, \\\\u0449\\\\u043E ${o.origin} \\\\u0431\\\\u0443\\\\u0434\\\\u0435 ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0438\\\\u0439 \\\\u0440\\\\u044F\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u043E\\\\u0432\\\\u0438\\\\u043D\\\\u0435\\\\u043D \\\\u043F\\\\u043E\\\\u0447\\\\u0438\\\\u043D\\\\u0430\\\\u0442\\\\u0438\\\\u0441\\\\u044F \\\\u0437 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0438\\\\u0439 \\\\u0440\\\\u044F\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u043E\\\\u0432\\\\u0438\\\\u043D\\\\u0435\\\\u043D \\\\u0437\\\\u0430\\\\u043A\\\\u0456\\\\u043D\\\\u0447\\\\u0443\\\\u0432\\\\u0430\\\\u0442\\\\u0438\\\\u0441\\\\u044F \\\\u043D\\\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0438\\\\u0439 \\\\u0440\\\\u044F\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u043E\\\\u0432\\\\u0438\\\\u043D\\\\u0435\\\\u043D \\\\u043C\\\\u0456\\\\u0441\\\\u0442\\\\u0438\\\\u0442\\\\u0438 \"${i.includes}\"`:i.format===\"regex\"?`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0438\\\\u0439 \\\\u0440\\\\u044F\\\\u0434\\\\u043E\\\\u043A: \\\\u043F\\\\u043E\\\\u0432\\\\u0438\\\\u043D\\\\u0435\\\\u043D \\\\u0432\\\\u0456\\\\u0434\\\\u043F\\\\u043E\\\\u0432\\\\u0456\\\\u0434\\\\u0430\\\\u0442\\\\u0438 \\\\u0448\\\\u0430\\\\u0431\\\\u043B\\\\u043E\\\\u043D\\\\u0443 ${i.pattern}`:`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0438\\\\u0439 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0435 \\\\u0447\\\\u0438\\\\u0441\\\\u043B\\\\u043E: \\\\u043F\\\\u043E\\\\u0432\\\\u0438\\\\u043D\\\\u043D\\\\u043E \\\\u0431\\\\u0443\\\\u0442\\\\u0438 \\\\u043A\\\\u0440\\\\u0430\\\\u0442\\\\u043D\\\\u0438\\\\u043C ${o.divisor}`;case\"unrecognized_keys\":return`\\\\u041D\\\\u0435\\\\u0440\\\\u043E\\\\u0437\\\\u043F\\\\u0456\\\\u0437\\\\u043D\\\\u0430\\\\u043D\\\\u0438\\\\u0439 \\\\u043A\\\\u043B\\\\u044E\\\\u0447${o.keys.length>1?\"\\\\u0456\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0438\\\\u0439 \\\\u043A\\\\u043B\\\\u044E\\\\u0447 \\\\u0443 ${o.origin}`;case\"invalid_union\":return\"\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0456 \\\\u0432\\\\u0445\\\\u0456\\\\u0434\\\\u043D\\\\u0456 \\\\u0434\\\\u0430\\\\u043D\\\\u0456\";case\"invalid_element\":return`\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0435 \\\\u0437\\\\u043D\\\\u0430\\\\u0447\\\\u0435\\\\u043D\\\\u043D\\\\u044F \\\\u0443 ${o.origin}`;default:return\"\\\\u041D\\\\u0435\\\\u043F\\\\u0440\\\\u0430\\\\u0432\\\\u0438\\\\u043B\\\\u044C\\\\u043D\\\\u0456 \\\\u0432\\\\u0445\\\\u0456\\\\u0434\\\\u043D\\\\u0456 \\\\u0434\\\\u0430\\\\u043D\\\\u0456\"}}}});function ALe(){return WO()}var kLe=x(()=>{u();dW()});function CLe(){return{localeError:Wvt()}}var Wvt,TLe=x(()=>{u();je();Wvt=()=>{let e={string:{unit:\"\\\\u062D\\\\u0631\\\\u0648\\\\u0641\",verb:\"\\\\u06C1\\\\u0648\\\\u0646\\\\u0627\"},file:{unit:\"\\\\u0628\\\\u0627\\\\u0626\\\\u0679\\\\u0633\",verb:\"\\\\u06C1\\\\u0648\\\\u0646\\\\u0627\"},array:{unit:\"\\\\u0622\\\\u0626\\\\u0679\\\\u0645\\\\u0632\",verb:\"\\\\u06C1\\\\u0648\\\\u0646\\\\u0627\"},set:{unit:\"\\\\u0622\\\\u0626\\\\u0679\\\\u0645\\\\u0632\",verb:\"\\\\u06C1\\\\u0648\\\\u0646\\\\u0627\"},map:{unit:\"\\\\u0622\\\\u0626\\\\u0679\\\\u0645\\\\u0632\",verb:\"\\\\u06C1\\\\u0648\\\\u0646\\\\u0627\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0627\\\\u0646 \\\\u067E\\\\u0679\",email:\"\\\\u0627\\\\u06CC \\\\u0645\\\\u06CC\\\\u0644 \\\\u0627\\\\u06CC\\\\u0688\\\\u0631\\\\u06CC\\\\u0633\",url:\"\\\\u06CC\\\\u0648 \\\\u0622\\\\u0631 \\\\u0627\\\\u06CC\\\\u0644\",emoji:\"\\\\u0627\\\\u06CC\\\\u0645\\\\u0648\\\\u062C\\\\u06CC\",uuid:\"\\\\u06CC\\\\u0648 \\\\u06CC\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC\",uuidv4:\"\\\\u06CC\\\\u0648 \\\\u06CC\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC \\\\u0648\\\\u06CC 4\",uuidv6:\"\\\\u06CC\\\\u0648 \\\\u06CC\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC \\\\u0648\\\\u06CC 6\",nanoid:\"\\\\u0646\\\\u06CC\\\\u0646\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC\",guid:\"\\\\u062C\\\\u06CC \\\\u06CC\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC\",cuid:\"\\\\u0633\\\\u06CC \\\\u06CC\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC\",cuid2:\"\\\\u0633\\\\u06CC \\\\u06CC\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC 2\",ulid:\"\\\\u06CC\\\\u0648 \\\\u0627\\\\u06CC\\\\u0644 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC\",xid:\"\\\\u0627\\\\u06CC\\\\u06A9\\\\u0633 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC\",ksuid:\"\\\\u06A9\\\\u06D2 \\\\u0627\\\\u06CC\\\\u0633 \\\\u06CC\\\\u0648 \\\\u0622\\\\u0626\\\\u06CC \\\\u0688\\\\u06CC\",datetime:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u0627\\\\u06CC\\\\u0633 \\\\u0627\\\\u0648 \\\\u0688\\\\u06CC\\\\u0679 \\\\u0679\\\\u0627\\\\u0626\\\\u0645\",date:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u0627\\\\u06CC\\\\u0633 \\\\u0627\\\\u0648 \\\\u062A\\\\u0627\\\\u0631\\\\u06CC\\\\u062E\",time:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u0627\\\\u06CC\\\\u0633 \\\\u0627\\\\u0648 \\\\u0648\\\\u0642\\\\u062A\",duration:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u0627\\\\u06CC\\\\u0633 \\\\u0627\\\\u0648 \\\\u0645\\\\u062F\\\\u062A\",ipv4:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u067E\\\\u06CC \\\\u0648\\\\u06CC 4 \\\\u0627\\\\u06CC\\\\u0688\\\\u0631\\\\u06CC\\\\u0633\",ipv6:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u067E\\\\u06CC \\\\u0648\\\\u06CC 6 \\\\u0627\\\\u06CC\\\\u0688\\\\u0631\\\\u06CC\\\\u0633\",mac:\"\\\\u0627\\\\u06CC\\\\u0645 \\\\u0627\\\\u06D2 \\\\u0633\\\\u06CC \\\\u0627\\\\u06CC\\\\u0688\\\\u0631\\\\u06CC\\\\u0633\",cidrv4:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u067E\\\\u06CC \\\\u0648\\\\u06CC 4 \\\\u0631\\\\u06CC\\\\u0646\\\\u062C\",cidrv6:\"\\\\u0622\\\\u0626\\\\u06CC \\\\u067E\\\\u06CC \\\\u0648\\\\u06CC 6 \\\\u0631\\\\u06CC\\\\u0646\\\\u062C\",base64:\"\\\\u0628\\\\u06CC\\\\u0633 64 \\\\u0627\\\\u0646 \\\\u06A9\\\\u0648\\\\u0688\\\\u0688 \\\\u0633\\\\u0679\\\\u0631\\\\u0646\\\\u06AF\",base64url:\"\\\\u0628\\\\u06CC\\\\u0633 64 \\\\u06CC\\\\u0648 \\\\u0622\\\\u0631 \\\\u0627\\\\u06CC\\\\u0644 \\\\u0627\\\\u0646 \\\\u06A9\\\\u0648\\\\u0688\\\\u0688 \\\\u0633\\\\u0679\\\\u0631\\\\u0646\\\\u06AF\",json_string:\"\\\\u062C\\\\u06D2 \\\\u0627\\\\u06CC\\\\u0633 \\\\u0627\\\\u0648 \\\\u0627\\\\u06CC\\\\u0646 \\\\u0633\\\\u0679\\\\u0631\\\\u0646\\\\u06AF\",e164:\"\\\\u0627\\\\u06CC 164 \\\\u0646\\\\u0645\\\\u0628\\\\u0631\",credit_card:\"\\\\u06A9\\\\u0631\\\\u06CC\\\\u0688\\\\u0679 \\\\u06A9\\\\u0627\\\\u0631\\\\u0688 \\\\u0646\\\\u0645\\\\u0628\\\\u0631\",currency_code:\"\\\\u06A9\\\\u0631\\\\u0646\\\\u0633\\\\u06CC \\\\u06A9\\\\u0648\\\\u0688\",iban:\"IBAN\",jwt:\"\\\\u062C\\\\u06D2 \\\\u0688\\\\u0628\\\\u0644\\\\u06CC\\\\u0648 \\\\u0679\\\\u06CC\",template_literal:\"\\\\u0627\\\\u0646 \\\\u067E\\\\u0679\"},n={nan:\"NaN\",number:\"\\\\u0646\\\\u0645\\\\u0628\\\\u0631\",array:\"\\\\u0622\\\\u0631\\\\u06D2\",null:\"\\\\u0646\\\\u0644\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u063A\\\\u0644\\\\u0637 \\\\u0627\\\\u0646 \\\\u067E\\\\u0679: instanceof ${o.expected} \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u0627\\\\u060C ${l} \\\\u0645\\\\u0648\\\\u0635\\\\u0648\\\\u0644 \\\\u06C1\\\\u0648\\\\u0627`:`\\\\u063A\\\\u0644\\\\u0637 \\\\u0627\\\\u0646 \\\\u067E\\\\u0679: ${i} \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u0627\\\\u060C ${l} \\\\u0645\\\\u0648\\\\u0635\\\\u0648\\\\u0644 \\\\u06C1\\\\u0648\\\\u0627`}case\"invalid_value\":return o.values.length===1?`\\\\u063A\\\\u0644\\\\u0637 \\\\u0627\\\\u0646 \\\\u067E\\\\u0679: ${_e(o.values[0])} \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u0627`:`\\\\u063A\\\\u0644\\\\u0637 \\\\u0622\\\\u067E\\\\u0634\\\\u0646: ${pe(o.values,\"|\")} \\\\u0645\\\\u06CC\\\\u06BA \\\\u0633\\\\u06D2 \\\\u0627\\\\u06CC\\\\u06A9 \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u0627`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u0628\\\\u06C1\\\\u062A \\\\u0628\\\\u0691\\\\u0627: ${o.origin??\"\\\\u0648\\\\u06CC\\\\u0644\\\\u06CC\\\\u0648\"} \\\\u06A9\\\\u06D2 ${i}${o.maximum.toString()} ${c.unit??\"\\\\u0639\\\\u0646\\\\u0627\\\\u0635\\\\u0631\"} \\\\u06C1\\\\u0648\\\\u0646\\\\u06D2 \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u06D2`:`\\\\u0628\\\\u06C1\\\\u062A \\\\u0628\\\\u0691\\\\u0627: ${o.origin??\"\\\\u0648\\\\u06CC\\\\u0644\\\\u06CC\\\\u0648\"} \\\\u06A9\\\\u0627 ${i}${o.maximum.toString()} \\\\u06C1\\\\u0648\\\\u0646\\\\u0627 \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u0627`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u0628\\\\u06C1\\\\u062A \\\\u0686\\\\u06BE\\\\u0648\\\\u0679\\\\u0627: ${o.origin} \\\\u06A9\\\\u06D2 ${i}${o.minimum.toString()} ${c.unit} \\\\u06C1\\\\u0648\\\\u0646\\\\u06D2 \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u06D2`:`\\\\u0628\\\\u06C1\\\\u062A \\\\u0686\\\\u06BE\\\\u0648\\\\u0679\\\\u0627: ${o.origin} \\\\u06A9\\\\u0627 ${i}${o.minimum.toString()} \\\\u06C1\\\\u0648\\\\u0646\\\\u0627 \\\\u0645\\\\u062A\\\\u0648\\\\u0642\\\\u0639 \\\\u062A\\\\u06BE\\\\u0627`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u063A\\\\u0644\\\\u0637 \\\\u0633\\\\u0679\\\\u0631\\\\u0646\\\\u06AF: \"${i.prefix}\" \\\\u0633\\\\u06D2 \\\\u0634\\\\u0631\\\\u0648\\\\u0639 \\\\u06C1\\\\u0648\\\\u0646\\\\u0627 \\\\u0686\\\\u0627\\\\u06C1\\\\u06CC\\\\u06D2`:i.format===\"ends_with\"?`\\\\u063A\\\\u0644\\\\u0637 \\\\u0633\\\\u0679\\\\u0631\\\\u0646\\\\u06AF: \"${i.suffix}\" \\\\u067E\\\\u0631 \\\\u062E\\\\u062A\\\\u0645 \\\\u06C1\\\\u0648\\\\u0646\\\\u0627 \\\\u0686\\\\u0627\\\\u06C1\\\\u06CC\\\\u06D2`:i.format===\"includes\"?`\\\\u063A\\\\u0644\\\\u0637 \\\\u0633\\\\u0679\\\\u0631\\\\u0646\\\\u06AF: \"${i.includes}\" \\\\u0634\\\\u0627\\\\u0645\\\\u0644 \\\\u06C1\\\\u0648\\\\u0646\\\\u0627 \\\\u0686\\\\u0627\\\\u06C1\\\\u06CC\\\\u06D2`:i.format===\"regex\"?`\\\\u063A\\\\u0644\\\\u0637 \\\\u0633\\\\u0679\\\\u0631\\\\u0646\\\\u06AF: \\\\u067E\\\\u06CC\\\\u0679\\\\u0631\\\\u0646 ${i.pattern} \\\\u0633\\\\u06D2 \\\\u0645\\\\u06CC\\\\u0686 \\\\u06C1\\\\u0648\\\\u0646\\\\u0627 \\\\u0686\\\\u0627\\\\u06C1\\\\u06CC\\\\u06D2`:`\\\\u063A\\\\u0644\\\\u0637 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u063A\\\\u0644\\\\u0637 \\\\u0646\\\\u0645\\\\u0628\\\\u0631: ${o.divisor} \\\\u06A9\\\\u0627 \\\\u0645\\\\u0636\\\\u0627\\\\u0639\\\\u0641 \\\\u06C1\\\\u0648\\\\u0646\\\\u0627 \\\\u0686\\\\u0627\\\\u06C1\\\\u06CC\\\\u06D2`;case\"unrecognized_keys\":return`\\\\u063A\\\\u06CC\\\\u0631 \\\\u062A\\\\u0633\\\\u0644\\\\u06CC\\\\u0645 \\\\u0634\\\\u062F\\\\u06C1 \\\\u06A9\\\\u06CC${o.keys.length>1?\"\\\\u0632\":\"\"}: ${pe(o.keys,\"\\\\u060C \")}`;case\"invalid_key\":return`${o.origin} \\\\u0645\\\\u06CC\\\\u06BA \\\\u063A\\\\u0644\\\\u0637 \\\\u06A9\\\\u06CC`;case\"invalid_union\":return\"\\\\u063A\\\\u0644\\\\u0637 \\\\u0627\\\\u0646 \\\\u067E\\\\u0679\";case\"invalid_element\":return`${o.origin} \\\\u0645\\\\u06CC\\\\u06BA \\\\u063A\\\\u0644\\\\u0637 \\\\u0648\\\\u06CC\\\\u0644\\\\u06CC\\\\u0648`;default:return\"\\\\u063A\\\\u0644\\\\u0637 \\\\u0627\\\\u0646 \\\\u067E\\\\u0679\"}}}});function ILe(){return{localeError:Jvt()}}var Jvt,PLe=x(()=>{u();je();Jvt=()=>{let e={string:{unit:\"belgi\",verb:\"bo\\\\u2018lishi kerak\"},file:{unit:\"bayt\",verb:\"bo\\\\u2018lishi kerak\"},array:{unit:\"element\",verb:\"bo\\\\u2018lishi kerak\"},set:{unit:\"element\",verb:\"bo\\\\u2018lishi kerak\"},map:{unit:\"yozuv\",verb:\"bo\\\\u2018lishi kerak\"}};function t(o){return e[o]??null}let r={regex:\"kirish\",email:\"elektron pochta manzili\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO sana va vaqti\",date:\"ISO sana\",time:\"ISO vaqt\",duration:\"ISO davomiylik\",ipv4:\"IPv4 manzil\",ipv6:\"IPv6 manzil\",mac:\"MAC manzil\",cidrv4:\"IPv4 diapazon\",cidrv6:\"IPv6 diapazon\",base64:\"base64 kodlangan satr\",base64url:\"base64url kodlangan satr\",json_string:\"JSON satr\",e164:\"E.164 raqam\",credit_card:\"kredit karta raqami\",currency_code:\"valyuta kodi\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"kirish\"},n={nan:\"NaN\",number:\"raqam\",array:\"massiv\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`Noto\\\\u2018g\\\\u2018ri kirish: kutilgan instanceof ${o.expected}, qabul qilingan ${l}`:`Noto\\\\u2018g\\\\u2018ri kirish: kutilgan ${i}, qabul qilingan ${l}`}case\"invalid_value\":return o.values.length===1?`Noto\\\\u2018g\\\\u2018ri kirish: kutilgan ${_e(o.values[0])}`:`Noto\\\\u2018g\\\\u2018ri variant: quyidagilardan biri kutilgan ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Juda katta: kutilgan ${o.origin??\"qiymat\"} ${i}${o.maximum.toString()} ${c.unit} ${c.verb}`:`Juda katta: kutilgan ${o.origin??\"qiymat\"} ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Juda kichik: kutilgan ${o.origin} ${i}${o.minimum.toString()} ${c.unit} ${c.verb}`:`Juda kichik: kutilgan ${o.origin} ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Noto\\\\u2018g\\\\u2018ri satr: \"${i.prefix}\" bilan boshlanishi kerak`:i.format===\"ends_with\"?`Noto\\\\u2018g\\\\u2018ri satr: \"${i.suffix}\" bilan tugashi kerak`:i.format===\"includes\"?`Noto\\\\u2018g\\\\u2018ri satr: \"${i.includes}\" ni o\\\\u2018z ichiga olishi kerak`:i.format===\"regex\"?`Noto\\\\u2018g\\\\u2018ri satr: ${i.pattern} shabloniga mos kelishi kerak`:`Noto\\\\u2018g\\\\u2018ri ${r[i.format]??o.format}`}case\"not_multiple_of\":return`Noto\\\\u2018g\\\\u2018ri raqam: ${o.divisor} ning karralisi bo\\\\u2018lishi kerak`;case\"unrecognized_keys\":return`Noma\\\\u2019lum kalit${o.keys.length>1?\"lar\":\"\"}: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} dagi kalit noto\\\\u2018g\\\\u2018ri`;case\"invalid_union\":return\"Noto\\\\u2018g\\\\u2018ri kirish\";case\"invalid_element\":return`${o.origin} da noto\\\\u2018g\\\\u2018ri qiymat`;default:return\"Noto\\\\u2018g\\\\u2018ri kirish\"}}}});function RLe(){return{localeError:Qvt()}}var Qvt,OLe=x(()=>{u();je();Qvt=()=>{let e={string:{unit:\"k\\\\xFD t\\\\u1EF1\",verb:\"c\\\\xF3\"},file:{unit:\"byte\",verb:\"c\\\\xF3\"},array:{unit:\"ph\\\\u1EA7n t\\\\u1EED\",verb:\"c\\\\xF3\"},set:{unit:\"ph\\\\u1EA7n t\\\\u1EED\",verb:\"c\\\\xF3\"},map:{unit:\"ph\\\\u1EA7n t\\\\u1EED\",verb:\"c\\\\xF3\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u0111\\\\u1EA7u v\\\\xE0o\",email:\"\\\\u0111\\\\u1ECBa ch\\\\u1EC9 email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ng\\\\xE0y gi\\\\u1EDD ISO\",date:\"ng\\\\xE0y ISO\",time:\"gi\\\\u1EDD ISO\",duration:\"kho\\\\u1EA3ng th\\\\u1EDDi gian ISO\",ipv4:\"\\\\u0111\\\\u1ECBa ch\\\\u1EC9 IPv4\",ipv6:\"\\\\u0111\\\\u1ECBa ch\\\\u1EC9 IPv6\",mac:\"\\\\u0111\\\\u1ECBa ch\\\\u1EC9 MAC\",cidrv4:\"d\\\\u1EA3i IPv4\",cidrv6:\"d\\\\u1EA3i IPv6\",base64:\"chu\\\\u1ED7i m\\\\xE3 h\\\\xF3a base64\",base64url:\"chu\\\\u1ED7i m\\\\xE3 h\\\\xF3a base64url\",json_string:\"chu\\\\u1ED7i JSON\",e164:\"s\\\\u1ED1 E.164\",credit_card:\"s\\\\u1ED1 th\\\\u1EBB t\\\\xEDn d\\\\u1EE5ng\",currency_code:\"m\\\\xE3 ti\\\\u1EC1n t\\\\u1EC7\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u0111\\\\u1EA7u v\\\\xE0o\"},n={nan:\"NaN\",number:\"s\\\\u1ED1\",array:\"m\\\\u1EA3ng\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u0110\\\\u1EA7u v\\\\xE0o kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: mong \\\\u0111\\\\u1EE3i instanceof ${o.expected}, nh\\\\u1EADn \\\\u0111\\\\u01B0\\\\u1EE3c ${l}`:`\\\\u0110\\\\u1EA7u v\\\\xE0o kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: mong \\\\u0111\\\\u1EE3i ${i}, nh\\\\u1EADn \\\\u0111\\\\u01B0\\\\u1EE3c ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u0110\\\\u1EA7u v\\\\xE0o kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: mong \\\\u0111\\\\u1EE3i ${_e(o.values[0])}`:`T\\\\xF9y ch\\\\u1ECDn kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: mong \\\\u0111\\\\u1EE3i m\\\\u1ED9t trong c\\\\xE1c gi\\\\xE1 tr\\\\u1ECB ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`Qu\\\\xE1 l\\\\u1EDBn: mong \\\\u0111\\\\u1EE3i ${o.origin??\"gi\\\\xE1 tr\\\\u1ECB\"} ${c.verb} ${i}${o.maximum.toString()} ${c.unit??\"ph\\\\u1EA7n t\\\\u1EED\"}`:`Qu\\\\xE1 l\\\\u1EDBn: mong \\\\u0111\\\\u1EE3i ${o.origin??\"gi\\\\xE1 tr\\\\u1ECB\"} ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`Qu\\\\xE1 nh\\\\u1ECF: mong \\\\u0111\\\\u1EE3i ${o.origin} ${c.verb} ${i}${o.minimum.toString()} ${c.unit}`:`Qu\\\\xE1 nh\\\\u1ECF: mong \\\\u0111\\\\u1EE3i ${o.origin} ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`Chu\\\\u1ED7i kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: ph\\\\u1EA3i b\\\\u1EAFt \\\\u0111\\\\u1EA7u b\\\\u1EB1ng \"${i.prefix}\"`:i.format===\"ends_with\"?`Chu\\\\u1ED7i kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: ph\\\\u1EA3i k\\\\u1EBFt th\\\\xFAc b\\\\u1EB1ng \"${i.suffix}\"`:i.format===\"includes\"?`Chu\\\\u1ED7i kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: ph\\\\u1EA3i bao g\\\\u1ED3m \"${i.includes}\"`:i.format===\"regex\"?`Chu\\\\u1ED7i kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: ph\\\\u1EA3i kh\\\\u1EDBp v\\\\u1EDBi m\\\\u1EABu ${i.pattern}`:`${r[i.format]??o.format} kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7`}case\"not_multiple_of\":return`S\\\\u1ED1 kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7: ph\\\\u1EA3i l\\\\xE0 b\\\\u1ED9i s\\\\u1ED1 c\\\\u1EE7a ${o.divisor}`;case\"unrecognized_keys\":return`Kh\\\\xF3a kh\\\\xF4ng \\\\u0111\\\\u01B0\\\\u1EE3c nh\\\\u1EADn d\\\\u1EA1ng: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`Kh\\\\xF3a kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7 trong ${o.origin}`;case\"invalid_union\":return\"\\\\u0110\\\\u1EA7u v\\\\xE0o kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7\";case\"invalid_element\":return`Gi\\\\xE1 tr\\\\u1ECB kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7 trong ${o.origin}`;default:return\"\\\\u0110\\\\u1EA7u v\\\\xE0o kh\\\\xF4ng h\\\\u1EE3p l\\\\u1EC7\"}}}});function BLe(){return{localeError:Yvt()}}var Yvt,MLe=x(()=>{u();je();Yvt=()=>{let e={string:{unit:\"\\\\u5B57\\\\u7B26\",verb:\"\\\\u5305\\\\u542B\"},file:{unit:\"\\\\u5B57\\\\u8282\",verb:\"\\\\u5305\\\\u542B\"},array:{unit:\"\\\\u9879\",verb:\"\\\\u5305\\\\u542B\"},set:{unit:\"\\\\u9879\",verb:\"\\\\u5305\\\\u542B\"},map:{unit:\"\\\\u9879\",verb:\"\\\\u5305\\\\u542B\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u8F93\\\\u5165\",email:\"\\\\u7535\\\\u5B50\\\\u90AE\\\\u4EF6\",url:\"URL\",emoji:\"\\\\u8868\\\\u60C5\\\\u7B26\\\\u53F7\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO\\\\u65E5\\\\u671F\\\\u65F6\\\\u95F4\",date:\"ISO\\\\u65E5\\\\u671F\",time:\"ISO\\\\u65F6\\\\u95F4\",duration:\"ISO\\\\u65F6\\\\u957F\",ipv4:\"IPv4\\\\u5730\\\\u5740\",ipv6:\"IPv6\\\\u5730\\\\u5740\",mac:\"MAC\\\\u5730\\\\u5740\",cidrv4:\"IPv4\\\\u7F51\\\\u6BB5\",cidrv6:\"IPv6\\\\u7F51\\\\u6BB5\",base64:\"base64\\\\u7F16\\\\u7801\\\\u5B57\\\\u7B26\\\\u4E32\",base64url:\"base64url\\\\u7F16\\\\u7801\\\\u5B57\\\\u7B26\\\\u4E32\",json_string:\"JSON\\\\u5B57\\\\u7B26\\\\u4E32\",e164:\"E.164\\\\u53F7\\\\u7801\",credit_card:\"\\\\u4FE1\\\\u7528\\\\u5361\\\\u53F7\",currency_code:\"\\\\u8D27\\\\u5E01\\\\u4EE3\\\\u7801\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u8F93\\\\u5165\"},n={nan:\"NaN\",number:\"\\\\u6570\\\\u5B57\",array:\"\\\\u6570\\\\u7EC4\",null:\"\\\\u7A7A\\\\u503C(null)\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u65E0\\\\u6548\\\\u8F93\\\\u5165\\\\uFF1A\\\\u671F\\\\u671B instanceof ${o.expected}\\\\uFF0C\\\\u5B9E\\\\u9645\\\\u63A5\\\\u6536 ${l}`:`\\\\u65E0\\\\u6548\\\\u8F93\\\\u5165\\\\uFF1A\\\\u671F\\\\u671B ${i}\\\\uFF0C\\\\u5B9E\\\\u9645\\\\u63A5\\\\u6536 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u65E0\\\\u6548\\\\u8F93\\\\u5165\\\\uFF1A\\\\u671F\\\\u671B ${_e(o.values[0])}`:`\\\\u65E0\\\\u6548\\\\u9009\\\\u9879\\\\uFF1A\\\\u671F\\\\u671B\\\\u4EE5\\\\u4E0B\\\\u4E4B\\\\u4E00 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u6570\\\\u503C\\\\u8FC7\\\\u5927\\\\uFF1A\\\\u671F\\\\u671B ${o.origin??\"\\\\u503C\"} ${i}${o.maximum.toString()} ${c.unit??\"\\\\u4E2A\\\\u5143\\\\u7D20\"}`:`\\\\u6570\\\\u503C\\\\u8FC7\\\\u5927\\\\uFF1A\\\\u671F\\\\u671B ${o.origin??\"\\\\u503C\"} ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u6570\\\\u503C\\\\u8FC7\\\\u5C0F\\\\uFF1A\\\\u671F\\\\u671B ${o.origin} ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u6570\\\\u503C\\\\u8FC7\\\\u5C0F\\\\uFF1A\\\\u671F\\\\u671B ${o.origin} ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u65E0\\\\u6548\\\\u5B57\\\\u7B26\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u987B\\\\u4EE5 \"${i.prefix}\" \\\\u5F00\\\\u5934`:i.format===\"ends_with\"?`\\\\u65E0\\\\u6548\\\\u5B57\\\\u7B26\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u987B\\\\u4EE5 \"${i.suffix}\" \\\\u7ED3\\\\u5C3E`:i.format===\"includes\"?`\\\\u65E0\\\\u6548\\\\u5B57\\\\u7B26\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u987B\\\\u5305\\\\u542B \"${i.includes}\"`:i.format===\"regex\"?`\\\\u65E0\\\\u6548\\\\u5B57\\\\u7B26\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u987B\\\\u6EE1\\\\u8DB3\\\\u6B63\\\\u5219\\\\u8868\\\\u8FBE\\\\u5F0F ${i.pattern}`:`\\\\u65E0\\\\u6548${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u65E0\\\\u6548\\\\u6570\\\\u5B57\\\\uFF1A\\\\u5FC5\\\\u987B\\\\u662F ${o.divisor} \\\\u7684\\\\u500D\\\\u6570`;case\"unrecognized_keys\":return`\\\\u51FA\\\\u73B0\\\\u672A\\\\u77E5\\\\u7684\\\\u952E(key): ${pe(o.keys,\", \")}`;case\"invalid_key\":return`${o.origin} \\\\u4E2D\\\\u7684\\\\u952E(key)\\\\u65E0\\\\u6548`;case\"invalid_union\":return\"\\\\u65E0\\\\u6548\\\\u8F93\\\\u5165\";case\"invalid_element\":return`${o.origin} \\\\u4E2D\\\\u5305\\\\u542B\\\\u65E0\\\\u6548\\\\u503C(value)`;default:return\"\\\\u65E0\\\\u6548\\\\u8F93\\\\u5165\"}}}});function DLe(){return{localeError:Xvt()}}var Xvt,NLe=x(()=>{u();je();Xvt=()=>{let e={string:{unit:\"\\\\u5B57\\\\u5143\",verb:\"\\\\u64C1\\\\u6709\"},file:{unit:\"\\\\u4F4D\\\\u5143\\\\u7D44\",verb:\"\\\\u64C1\\\\u6709\"},array:{unit:\"\\\\u9805\\\\u76EE\",verb:\"\\\\u64C1\\\\u6709\"},set:{unit:\"\\\\u9805\\\\u76EE\",verb:\"\\\\u64C1\\\\u6709\"},map:{unit:\"\\\\u9805\\\\u76EE\",verb:\"\\\\u64C1\\\\u6709\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u8F38\\\\u5165\",email:\"\\\\u90F5\\\\u4EF6\\\\u5730\\\\u5740\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\\\u65E5\\\\u671F\\\\u6642\\\\u9593\",date:\"ISO \\\\u65E5\\\\u671F\",time:\"ISO \\\\u6642\\\\u9593\",duration:\"ISO \\\\u671F\\\\u9593\",ipv4:\"IPv4 \\\\u4F4D\\\\u5740\",ipv6:\"IPv6 \\\\u4F4D\\\\u5740\",mac:\"MAC \\\\u4F4D\\\\u5740\",cidrv4:\"IPv4 \\\\u7BC4\\\\u570D\",cidrv6:\"IPv6 \\\\u7BC4\\\\u570D\",base64:\"base64 \\\\u7DE8\\\\u78BC\\\\u5B57\\\\u4E32\",base64url:\"base64url \\\\u7DE8\\\\u78BC\\\\u5B57\\\\u4E32\",json_string:\"JSON \\\\u5B57\\\\u4E32\",e164:\"E.164 \\\\u6578\\\\u503C\",credit_card:\"\\\\u4FE1\\\\u7528\\\\u5361\\\\u865F\",currency_code:\"\\\\u8CA8\\\\u5E63\\\\u4EE3\\\\u78BC\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u8F38\\\\u5165\"},n={nan:\"NaN\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\u7121\\\\u6548\\\\u7684\\\\u8F38\\\\u5165\\\\u503C\\\\uFF1A\\\\u9810\\\\u671F\\\\u70BA instanceof ${o.expected}\\\\uFF0C\\\\u4F46\\\\u6536\\\\u5230 ${l}`:`\\\\u7121\\\\u6548\\\\u7684\\\\u8F38\\\\u5165\\\\u503C\\\\uFF1A\\\\u9810\\\\u671F\\\\u70BA ${i}\\\\uFF0C\\\\u4F46\\\\u6536\\\\u5230 ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\u7121\\\\u6548\\\\u7684\\\\u8F38\\\\u5165\\\\u503C\\\\uFF1A\\\\u9810\\\\u671F\\\\u70BA ${_e(o.values[0])}`:`\\\\u7121\\\\u6548\\\\u7684\\\\u9078\\\\u9805\\\\uFF1A\\\\u9810\\\\u671F\\\\u70BA\\\\u4EE5\\\\u4E0B\\\\u5176\\\\u4E2D\\\\u4E4B\\\\u4E00 ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`\\\\u6578\\\\u503C\\\\u904E\\\\u5927\\\\uFF1A\\\\u9810\\\\u671F ${o.origin??\"\\\\u503C\"} \\\\u61C9\\\\u70BA ${i}${o.maximum.toString()} ${c.unit??\"\\\\u500B\\\\u5143\\\\u7D20\"}`:`\\\\u6578\\\\u503C\\\\u904E\\\\u5927\\\\uFF1A\\\\u9810\\\\u671F ${o.origin??\"\\\\u503C\"} \\\\u61C9\\\\u70BA ${i}${o.maximum.toString()}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`\\\\u6578\\\\u503C\\\\u904E\\\\u5C0F\\\\uFF1A\\\\u9810\\\\u671F ${o.origin} \\\\u61C9\\\\u70BA ${i}${o.minimum.toString()} ${c.unit}`:`\\\\u6578\\\\u503C\\\\u904E\\\\u5C0F\\\\uFF1A\\\\u9810\\\\u671F ${o.origin} \\\\u61C9\\\\u70BA ${i}${o.minimum.toString()}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u7121\\\\u6548\\\\u7684\\\\u5B57\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u9808\\\\u4EE5 \"${i.prefix}\" \\\\u958B\\\\u982D`:i.format===\"ends_with\"?`\\\\u7121\\\\u6548\\\\u7684\\\\u5B57\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u9808\\\\u4EE5 \"${i.suffix}\" \\\\u7D50\\\\u5C3E`:i.format===\"includes\"?`\\\\u7121\\\\u6548\\\\u7684\\\\u5B57\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u9808\\\\u5305\\\\u542B \"${i.includes}\"`:i.format===\"regex\"?`\\\\u7121\\\\u6548\\\\u7684\\\\u5B57\\\\u4E32\\\\uFF1A\\\\u5FC5\\\\u9808\\\\u7B26\\\\u5408\\\\u683C\\\\u5F0F ${i.pattern}`:`\\\\u7121\\\\u6548\\\\u7684 ${r[i.format]??o.format}`}case\"not_multiple_of\":return`\\\\u7121\\\\u6548\\\\u7684\\\\u6578\\\\u5B57\\\\uFF1A\\\\u5FC5\\\\u9808\\\\u70BA ${o.divisor} \\\\u7684\\\\u500D\\\\u6578`;case\"unrecognized_keys\":return`\\\\u7121\\\\u6CD5\\\\u8B58\\\\u5225\\\\u7684\\\\u9375\\\\u503C${o.keys.length>1?\"\\\\u5011\":\"\"}\\\\uFF1A${pe(o.keys,\"\\\\u3001\")}`;case\"invalid_key\":return`${o.origin} \\\\u4E2D\\\\u6709\\\\u7121\\\\u6548\\\\u7684\\\\u9375\\\\u503C`;case\"invalid_union\":return\"\\\\u7121\\\\u6548\\\\u7684\\\\u8F38\\\\u5165\\\\u503C\";case\"invalid_element\":return`${o.origin} \\\\u4E2D\\\\u6709\\\\u7121\\\\u6548\\\\u7684\\\\u503C`;default:return\"\\\\u7121\\\\u6548\\\\u7684\\\\u8F38\\\\u5165\\\\u503C\"}}}});function ULe(){return{localeError:ewt()}}var ewt,$Le=x(()=>{u();je();ewt=()=>{let e={string:{unit:\"\\\\xE0mi\",verb:\"n\\\\xED\"},file:{unit:\"bytes\",verb:\"n\\\\xED\"},array:{unit:\"nkan\",verb:\"n\\\\xED\"},set:{unit:\"nkan\",verb:\"n\\\\xED\"},map:{unit:\"nkan\",verb:\"n\\\\xED\"}};function t(o){return e[o]??null}let r={regex:\"\\\\u1EB9\\\\u0300r\\\\u1ECD \\\\xECb\\\\xE1w\\\\u1ECDl\\\\xE9\",email:\"\\\\xE0d\\\\xEDr\\\\u1EB9\\\\u0301s\\\\xEC \\\\xECm\\\\u1EB9\\\\u0301l\\\\xEC\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\\\xE0k\\\\xF3k\\\\xF2 ISO\",date:\"\\\\u1ECDj\\\\u1ECD\\\\u0301 ISO\",time:\"\\\\xE0k\\\\xF3k\\\\xF2 ISO\",duration:\"\\\\xE0k\\\\xF3k\\\\xF2 t\\\\xF3 p\\\\xE9 ISO\",ipv4:\"\\\\xE0d\\\\xEDr\\\\u1EB9\\\\u0301s\\\\xEC IPv4\",ipv6:\"\\\\xE0d\\\\xEDr\\\\u1EB9\\\\u0301s\\\\xEC IPv6\",mac:\"\\\\xE0d\\\\xEDr\\\\u1EB9\\\\u0301s\\\\xEC MAC\",cidrv4:\"\\\\xE0gb\\\\xE8gb\\\\xE8 IPv4\",cidrv6:\"\\\\xE0gb\\\\xE8gb\\\\xE8 IPv6\",base64:\"\\\\u1ECD\\\\u0300r\\\\u1ECD\\\\u0300 t\\\\xED a k\\\\u1ECD\\\\u0301 n\\\\xED base64\",base64url:\"\\\\u1ECD\\\\u0300r\\\\u1ECD\\\\u0300 base64url\",json_string:\"\\\\u1ECD\\\\u0300r\\\\u1ECD\\\\u0300 JSON\",e164:\"n\\\\u1ECD\\\\u0301mb\\\\xE0 E.164\",credit_card:\"n\\\\u1ECDmba kaadi gbese\",currency_code:\"koodu ow\\\\xF3\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\\\u1EB9\\\\u0300r\\\\u1ECD \\\\xECb\\\\xE1w\\\\u1ECDl\\\\xE9\"},n={nan:\"NaN\",number:\"n\\\\u1ECD\\\\u0301mb\\\\xE0\",array:\"akop\\\\u1ECD\"};return o=>{switch(o.code){case\"invalid_type\":{let i=n[o.expected]??o.expected,c=Se(o.input),l=n[c]??c;return/^[A-Z]/.test(o.expected)?`\\\\xCCb\\\\xE1w\\\\u1ECDl\\\\xE9 a\\\\u1E63\\\\xEC\\\\u1E63e: a n\\\\xED l\\\\xE1ti fi instanceof ${o.expected}, \\\\xE0m\\\\u1ECD\\\\u0300 a r\\\\xED ${l}`:`\\\\xCCb\\\\xE1w\\\\u1ECDl\\\\xE9 a\\\\u1E63\\\\xEC\\\\u1E63e: a n\\\\xED l\\\\xE1ti fi ${i}, \\\\xE0m\\\\u1ECD\\\\u0300 a r\\\\xED ${l}`}case\"invalid_value\":return o.values.length===1?`\\\\xCCb\\\\xE1w\\\\u1ECDl\\\\xE9 a\\\\u1E63\\\\xEC\\\\u1E63e: a n\\\\xED l\\\\xE1ti fi ${_e(o.values[0])}`:`\\\\xC0\\\\u1E63\\\\xE0y\\\\xE0n a\\\\u1E63\\\\xEC\\\\u1E63e: yan \\\\u1ECD\\\\u0300kan l\\\\xE1ra ${pe(o.values,\"|\")}`;case\"too_big\":{let i=o.inclusive?\"<=\":\"<\",c=t(o.origin);return c?`T\\\\xF3 p\\\\u1ECD\\\\u0300 j\\\\xF9: a n\\\\xED l\\\\xE1ti j\\\\u1EB9\\\\u0301 p\\\\xE9 ${o.origin??\"iye\"} ${c.verb} ${i}${o.maximum} ${c.unit}`:`T\\\\xF3 p\\\\u1ECD\\\\u0300 j\\\\xF9: a n\\\\xED l\\\\xE1ti j\\\\u1EB9\\\\u0301 ${i}${o.maximum}`}case\"too_small\":{let i=o.inclusive?\">=\":\">\",c=t(o.origin);return c?`K\\\\xE9r\\\\xE9 ju: a n\\\\xED l\\\\xE1ti j\\\\u1EB9\\\\u0301 p\\\\xE9 ${o.origin} ${c.verb} ${i}${o.minimum} ${c.unit}`:`K\\\\xE9r\\\\xE9 ju: a n\\\\xED l\\\\xE1ti j\\\\u1EB9\\\\u0301 ${i}${o.minimum}`}case\"invalid_format\":{let i=o;return i.format===\"starts_with\"?`\\\\u1ECC\\\\u0300r\\\\u1ECD\\\\u0300 a\\\\u1E63\\\\xEC\\\\u1E63e: gb\\\\u1ECD\\\\u0301d\\\\u1ECD\\\\u0300 b\\\\u1EB9\\\\u0300r\\\\u1EB9\\\\u0300 p\\\\u1EB9\\\\u0300l\\\\xFA \"${i.prefix}\"`:i.format===\"ends_with\"?`\\\\u1ECC\\\\u0300r\\\\u1ECD\\\\u0300 a\\\\u1E63\\\\xEC\\\\u1E63e: gb\\\\u1ECD\\\\u0301d\\\\u1ECD\\\\u0300 par\\\\xED p\\\\u1EB9\\\\u0300l\\\\xFA \"${i.suffix}\"`:i.format===\"includes\"?`\\\\u1ECC\\\\u0300r\\\\u1ECD\\\\u0300 a\\\\u1E63\\\\xEC\\\\u1E63e: gb\\\\u1ECD\\\\u0301d\\\\u1ECD\\\\u0300 n\\\\xED \"${i.includes}\"`:i.format===\"regex\"?`\\\\u1ECC\\\\u0300r\\\\u1ECD\\\\u0300 a\\\\u1E63\\\\xEC\\\\u1E63e: gb\\\\u1ECD\\\\u0301d\\\\u1ECD\\\\u0300 b\\\\xE1 \\\\xE0p\\\\u1EB9\\\\u1EB9r\\\\u1EB9 mu ${i.pattern}`:`A\\\\u1E63\\\\xEC\\\\u1E63e: ${r[i.format]??o.format}`}case\"not_multiple_of\":return`N\\\\u1ECD\\\\u0301mb\\\\xE0 a\\\\u1E63\\\\xEC\\\\u1E63e: gb\\\\u1ECD\\\\u0301d\\\\u1ECD\\\\u0300 j\\\\u1EB9\\\\u0301 \\\\xE8y\\\\xE0 p\\\\xEDp\\\\xEDn ti ${o.divisor}`;case\"unrecognized_keys\":return`B\\\\u1ECDt\\\\xECn\\\\xEC \\\\xE0\\\\xECm\\\\u1ECD\\\\u0300: ${pe(o.keys,\", \")}`;case\"invalid_key\":return`B\\\\u1ECDt\\\\xECn\\\\xEC a\\\\u1E63\\\\xEC\\\\u1E63e n\\\\xEDn\\\\xFA ${o.origin}`;case\"invalid_union\":return\"\\\\xCCb\\\\xE1w\\\\u1ECDl\\\\xE9 a\\\\u1E63\\\\xEC\\\\u1E63e\";case\"invalid_element\":return`Iye a\\\\u1E63\\\\xEC\\\\u1E63e n\\\\xEDn\\\\xFA ${o.origin}`;default:return\"\\\\xCCb\\\\xE1w\\\\u1ECDl\\\\xE9 a\\\\u1E63\\\\xEC\\\\u1E63e\"}}}});var rk={};an(rk,{ar:()=>_$e,az:()=>A$e,be:()=>T$e,bg:()=>P$e,bn:()=>O$e,ca:()=>M$e,ckb:()=>N$e,cs:()=>$$e,da:()=>L$e,de:()=>j$e,el:()=>V$e,en:()=>KO,eo:()=>G$e,es:()=>Z$e,fa:()=>J$e,fi:()=>Y$e,fr:()=>eze,frCA:()=>rze,gu:()=>oze,he:()=>aze,hi:()=>cze,hr:()=>lze,hu:()=>fze,hy:()=>hze,id:()=>bze,is:()=>xze,it:()=>wze,ja:()=>_ze,ka:()=>Aze,kh:()=>Cze,km:()=>ZO,kn:()=>Ize,ko:()=>Rze,lt:()=>Mze,mk:()=>Nze,ms:()=>$ze,ne:()=>Lze,nl:()=>jze,nn:()=>Vze,no:()=>Gze,ota:()=>Zze,pl:()=>Yze,ps:()=>Jze,pt:()=>eLe,ptBR:()=>rLe,ro:()=>oLe,ru:()=>sLe,sk:()=>uLe,sl:()=>dLe,sv:()=>pLe,ta:()=>hLe,tg:()=>bLe,th:()=>xLe,tk:()=>wLe,tr:()=>_Le,ua:()=>ALe,uk:()=>WO,ur:()=>CLe,uz:()=>ILe,vi:()=>RLe,yo:()=>ULe,zhCN:()=>BLe,zhTW:()=>DLe});var fW=x(()=>{u();S$e();k$e();I$e();R$e();B$e();D$e();U$e();z$e();H$e();F$e();q$e();uW();K$e();W$e();Q$e();X$e();tze();nze();ize();sze();uze();dze();pze();yze();gze();vze();Eze();Sze();kze();Tze();lW();Pze();Oze();Dze();Uze();zze();Hze();Fze();qze();Kze();Wze();Qze();Xze();tLe();nLe();iLe();cLe();lLe();fLe();mLe();yLe();gLe();vLe();ELe();SLe();kLe();dW();TLe();PLe();OLe();MLe();NLe();$Le()});function QO(){return new JO}var zLe,pW,mW,JO,Bi,nk=x(()=>{u();pW=Symbol(\"ZodOutput\"),mW=Symbol(\"ZodInput\"),JO=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&typeof n==\"object\"&&\"id\"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r==\"object\"&&\"id\"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};(zLe=globalThis).__zod_globalRegistry??(zLe.__zod_globalRegistry=QO());Bi=globalThis.__zod_globalRegistry});function rwt(e,t){try{return XO(e,{assertOnly:!0})}catch{return t}}function gW(e,t){try{let r=XO(e),n=YO(e,r);return n._zod.bag.validator=rwt(e,r),n}catch(r){if(t?.strict)throw r;return e}}function YO(e,t){if(qO(e))throw new ar(\"a schema whose subtree contains a reference cycle\");let r=Qr(e),n=e._zod.run,o=n.__originalRun??n,i=(c,l)=>{if(l?.async||l?.direction===\"backward\"||l?.skipChecks||l?.[LLe]||l&&GO(l,c.value))return o(c,l);let f=t(c.value);return f!==Ua?(c.value=f,c):(l&&(l[LLe]=!0),o(c,l))};return i.__originalRun=o,r._zod.bag.fallbackRun=o,r._zod.bag.validator=t,r._zod.run=i,n.__originalRun||nwt(r,e,t),r}function nwt(e,t,r){let n=e,o=t;if(typeof o.safeParse==\"function\"){let i=o.safeParse;n.safeParse=(c,l)=>{let f=r(c);return f!==Ua?{success:!0,data:f}:i(c,l)}}if(typeof o.parse==\"function\"){let i=o.parse;n.parse=(c,l)=>{let f=r(c);return f!==Ua?f:i(c,l)}}}function XO(e,t){let r=!0;try{r=qO(e)}catch{}if(r)throw new ar(\"a schema whose subtree contains a reference cycle\");let n={constants:new Map,constantCounter:0,varCounter:0,definite:!0},o=new Qb([\"input\"]),i=Wn(o,n,e,\"input\",!t?.assertOnly);o.write(i===null?\"return true;\":`return ${i};`);let c=[\"INVALID\",...n.constants.keys()],l=[Ua,...n.constants.values()],f=o.content.join(`\\n`),p=t?.debug?c.length>0?`// Constants: ${c.join(\", \")}\\n${f}`:f:\"\",h=Function,y=`return (input) => {\\n${f}\\n}`,w;try{w=new h(...c,y)(...l)}catch(E){throw new ar(`this schema (generated code failed to evaluate: ${E.message})`)}return t?.debug&&(w.code=p),w.definite=n.definite,w}function bt(e,t){for(let[n,o]of e.constants)if(o===t)return n;let r=`c${e.constantCounter++}`;return e.constants.set(r,t),r}function eg(e,t){return e.definite=!1,bt(e,t)}function lt(e){return`v${e.varCounter++}`}function owt(e,t){let r=e._zod.run({value:t,issues:[]},{});if(r&&typeof r.then==\"function\")return Ua;let n=r;return n.issues.length===0?n.value:Ua}function Xi(e,t,r,n,o=!0){let i=e.content.length,c=t.constants.size,l=t.constantCounter,f=t.varCounter;try{return Wn(e,t,r,n,o)}catch(p){if(!(p instanceof ar)||!p.islandable)throw p;if(e.content.length=i,t.constants.size>c){let h=Array.from(t.constants.keys()).slice(c);for(let y of h)t.constants.delete(y)}return t.constantCounter=l,t.varCounter=f,iwt(e,t,r,n)}}function iwt(e,t,r,n){t.definite=!1;let o=bt(t,r),i=bt(t,owt),c=lt(t);return e.write(`const ${c} = ${i}(${o}, ${n});`),e.write(`if (${c} === INVALID) return INVALID;`),c}function swt(e,t,r,n){let o=r._zod.def.checks;if(!o||o.length===0)return n;let i=n;for(let c of o){let l=c._zod.def;if(l.when&&!awt.has(l.check))throw new ar(\\'check with a custom \"when\" condition\\');switch(l.check){case\"greater_than\":cwt(e,t,l,i);break;case\"less_than\":uwt(e,t,l,i);break;case\"multiple_of\":lwt(e,t,l,i);break;case\"number_format\":GLe(e,l,i);break;case\"min_length\":{let f=n0(l.minimum,\"min_length\"),p=hW(e,t,i,`${i}.length >= ${f} && ${i}.length < ${l.minimum*2}`);e.write(`if (${p} < ${f}) return INVALID;`);break}case\"max_length\":{let f=n0(l.maximum,\"max_length\"),p=hW(e,t,i,`${i}.length > ${f}`);e.write(`if (${p} > ${f}) return INVALID;`);break}case\"length_equals\":{let f=n0(l.length,\"length_equals\"),p=hW(e,t,i,`${i}.length >= ${f} && ${i}.length <= ${l.length*2}`);e.write(`if (${p} !== ${f}) return INVALID;`);break}case\"min_size\":e.write(`if (${i}.size < ${n0(l.minimum,\"min_size\")}) return INVALID;`);break;case\"max_size\":e.write(`if (${i}.size > ${n0(l.maximum,\"max_size\")}) return INVALID;`);break;case\"size_equals\":e.write(`if (${i}.size !== ${n0(l.size,\"size_equals\")}) return INVALID;`);break;case\"string_format\":i=KLe(e,t,l,i);break;case\"custom\":i=ywt(e,t,c,i);break;case\"bigint_format\":dwt(e,l,i);break;case\"mime_type\":fwt(e,t,l,i);break;case\"property\":mwt(e,t,l,i);break;case\"properties\":pwt(e,t,l,i);break;case\"overwrite\":{let f=lt(t);hwt(e,t,c,i,f),i=f;break}default:throw new ar(`check type ${l.check}`)}}return i}function hW(e,t,r,n){let o=bt(t,Zb),i=lt(t);return e.write(`const ${i} = typeof ${r} === \"string\" && ${n} ? ${o}(${r}) : ${r}.length;`),i}function n0(e,t){if(typeof e!=\"number\"||!Number.isFinite(e))throw new ar(`${t} bound of type ${typeof e}`);return`${e}`}function qLe(e,t){if(typeof t==\"bigint\")return`${t}n`;if(typeof t==\"number\"){if(Number.isNaN(t))throw new ar(\"comparison check with NaN bound\");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new ar(\"comparison check with Invalid Date bound\");return bt(e,t)}throw new ar(`comparison check bound of type ${typeof t}`)}function cwt(e,t,r,n){let o=r.inclusive?\"<\":\"<=\";e.write(`if (${n} ${o} ${qLe(t,r.value)}) return INVALID;`)}function uwt(e,t,r,n){let o=r.inclusive?\">\":\">=\";e.write(`if (${n} ${o} ${qLe(t,r.value)}) return INVALID;`)}function lwt(e,t,r,n){if(typeof r.value==\"bigint\"){if(r.value===BigInt(0))throw new ar(\"multiple_of check with a zero divisor\");e.write(`if (${n} % ${r.value}n !== 0n) return INVALID;`)}else{let o=bt(t,kA);e.write(`if (${o}(${n}, ${n0(r.value,\"multiple_of\")}) !== 0) return INVALID;`)}}function GLe(e,t,r){let n=t.format;switch(n){case\"safeint\":e.write(`if (!Number.isSafeInteger(${r})) return INVALID;`);break;case\"int32\":e.write(`if (!Number.isInteger(${r}) || ${r} < -2147483648 || ${r} > 2147483647) return INVALID;`);break;case\"uint32\":e.write(`if (!Number.isInteger(${r}) || ${r} < 0 || ${r} > 4294967295) return INVALID;`);break;case\"float32\":e.write(`if (!Number.isFinite(${r}) || ${r} < -3.4028234663852886e38 || ${r} > 3.4028234663852886e38) return INVALID;`);break;case\"float64\":e.write(`if (!Number.isFinite(${r})) return INVALID;`);break;default:throw new ar(`number format ${n}`)}}function dwt(e,t,r){let n=t.format;if(n)switch(n){case\"int64\":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break;default:throw new ar(`bigint format ${n}`)}}function fwt(e,t,r,n){let o=r.mime;if(o&&o.length>0){let i=bt(t,new Set(o));e.write(`if (!${i}.has(${n}.type)) return INVALID;`)}}function pwt(e,t,r,n){if(r.when)throw new ar(\\'check with a custom \"when\" condition\\');e.write(`if (${n} == null) return INVALID;`);let o=r.shape;for(let i of Reflect.ownKeys(o)){let c=typeof i==\"symbol\"?bt(t,i):Da(i),l=lt(t);e.write(`const ${l} = ${n}[${c}];`),Xi(e,t,o[i],l,!1)}}function mwt(e,t,r,n){let o=`${n}[${JSON.stringify(r.property)}]`;Wn(e,t,r.schema,o)}function hwt(e,t,r,n,o){let i=r._zod.def.tx;if(!i)throw new ar(\"overwrite check without a transform function\");if(tg(i))throw new ol(\"z.compile: async overwrite transforms are not supported\");let c=bt(t,i);e.write(`const ${o} = ${c}(${n});`)}function yW(){throw new Ts}function xW(e){this.issues.push(e)}function ywt(e,t,r,n){let o=r._zod.def;if(o.fn){if(tg(o.fn))throw new ol(\"z.compile: async .refine() predicates are not supported\");let i=eg(t,o.fn),c=bt(t,yW),l=lt(t);return e.write(`const ${l} = ${i}(${n});`),e.write(`if (${l} instanceof Promise) ${c}();`),e.write(`if (!${l}) return INVALID;`),n}if(r._zod.check){if(tg(r._zod.check))throw new ol(\"z.compile: async .superRefine() / check functions are not supported\");let i=r._zod.check,l=eg(t,p=>{let h={value:p,issues:[],addIssue:xW};return i(h)instanceof Promise&&yW(),h.issues.length===0?h.value:Ua}),f=lt(t);return e.write(`const ${f} = ${l}(${n});`),e.write(`if (${f} === INVALID) return INVALID;`),f}throw new ar(\"custom check without a predicate or check function\")}function KLe(e,t,r,n,o=!0){let i=r.format;if(i===\"base64\"){let p=bt(t,GA);return e.write(`if (!${p}(${n})) return INVALID;`),n}if(i===\"base64url\"){let p=bt(t,OO);return e.write(`if (!${p}(${n})) return INVALID;`),n}if(i===\"jwt\"){let p=bt(t,DO),h=bt(t,r.alg??null);return e.write(`if (!${p}(${n}, ${h})) return INVALID;`),n}if(i===\"ipv6\"){let p=bt(t,qA);return e.write(`if (!${p}(${n})) return INVALID;`),n}if(i===\"cidrv6\"){let p=bt(t,PO);return e.write(`if (!${p}(${n})) return INVALID;`),n}if(i===\"credit_card\"){let p=bt(t,BO);return e.write(`if (!${p}(${n})) return INVALID;`),n}if(i===\"iban\"){let p=bt(t,MO);return e.write(`if (!${p}(${n})) return INVALID;`),n}let c=r;if(i===\"url\"||i===\"httpurl\"||c.normalize||c.hostname!==void 0||c.protocol!==void 0){let p=bt(t,CO),h=bt(t,r),y=lt(t),w=lt(t);if(e.write(`const ${y} = ${n}.trim();`),e.write(`const ${w} = ${p}(${y}, ${h});`),e.write(`if (typeof ${w} === \"number\") return INVALID;`),c.hostname!==void 0){let C=bt(t,TO);e.write(`if (!${C}(${w}, ${h}.hostname)) return INVALID;`)}if(c.protocol!==void 0){let C=bt(t,IO);e.write(`if (!${C}(${w}, ${h}.protocol)) return INVALID;`)}if(!o)return null;let E=lt(t),A=c.normalize?`${w}.href`:`${bt(t,VA)}(${y})`;return e.write(`const ${E} = ${A};`),E}let l=r.fn;if(l){if(tg(l))throw new ar(`async string format ${i}`);let p=bt(t,l);return e.write(`if (!${p}(${n})) return INVALID;`),n}if(bwt.has(i)&&r.pattern){let p=bt(t,r.pattern);return e.write(`${p}.lastIndex = 0;`),e.write(`if (!${p}.test(${n})) return INVALID;`),n}let f=r.format;switch(f){case\"regex\":throw new ar(\"regex format without a pattern\");case\"lowercase\":e.write(`if (${n} !== ${n}.toLowerCase()) return INVALID;`);break;case\"uppercase\":e.write(`if (${n} !== ${n}.toUpperCase()) return INVALID;`);break;case\"includes\":e.write(`if (!${n}.includes(${Da(r.includes)})) return INVALID;`);break;case\"starts_with\":{let p=r.prefix;e.write(`if (${n}.slice(0, ${p.length}) !== ${Da(p)}) return INVALID;`);break}case\"ends_with\":{let p=r.suffix;e.write(`if (${n}.slice(-${p.length}) !== ${Da(p)}) return INVALID;`);break}default:throw new ar(`string format ${f}`)}return n}function Wn(e,t,r,n,o=!0){let i=r._zod.def,c=i.type;if(i.coerce)throw new ar(`coercion (z.coerce.${c}())`);let l=o||!!i.checks?.length,f;switch(c){case\"string\":f=gwt(e,t,r,n,l);break;case\"number\":f=xwt(e,r,n);break;case\"boolean\":f=vwt(e,n);break;case\"bigint\":f=wwt(e,r,n);break;case\"symbol\":f=Ewt(e,n);break;case\"undefined\":f=_wt(e,n);break;case\"null\":f=Swt(e,n);break;case\"any\":case\"unknown\":f=n;break;case\"never\":e.write(\"return INVALID;\"),f=n;break;case\"void\":f=Awt(e,n);break;case\"nan\":f=kwt(e,n);break;case\"date\":f=Cwt(e,n);break;case\"object\":f=Twt(e,t,r,n,l);break;case\"optional\":f=Iwt(e,t,r,n,l);break;case\"nullable\":f=Owt(e,t,r,n,l);break;case\"array\":f=Bwt(e,t,r,n,l);break;case\"literal\":f=Mwt(e,t,r,n);break;case\"enum\":f=Dwt(e,t,r,n);break;case\"readonly\":{let p=jLe(e,t,r,n),h=lt(t);e.write(`const ${h} = Object.freeze(${p});`),f=h;break}case\"success\":jLe(e,t,r,n),f=\"true\";break;case\"default\":case\"prefault\":f=Nwt(e,t,r,n);break;case\"nonoptional\":f=Uwt(e,t,r,n);break;case\"tuple\":f=$wt(e,t,r,n);break;case\"union\":f=zwt(e,t,r,n);break;case\"intersection\":f=jwt(e,t,r,n);break;case\"record\":f=Fwt(e,t,r,n);break;case\"map\":f=qwt(e,t,r,n);break;case\"set\":f=Gwt(e,t,r,n);break;case\"file\":f=Kwt(e,n);break;case\"template_literal\":f=Zwt(e,t,r,n);break;case\"lazy\":f=Wwt(e,t,r,n);break;case\"pipe\":f=Jwt(e,t,r,n);break;case\"custom\":f=Qwt(e,t,r,n);break;case\"transform\":f=e2t(e,t,r,n);break;case\"catch\":f=Xwt(e,t,r,n);break;default:throw new ar(`schema type ${c}`)}return f===null?null:swt(e,t,r,f)}function gwt(e,t,r,n,o=!0){e.write(`if (typeof ${n} !== \"string\") return INVALID;`);let i=r._zod.def;return i.format===void 0?n:KLe(e,t,i,n,o)}function xwt(e,t,r){e.write(`if (typeof ${r} !== \"number\" || !Number.isFinite(${r})) return INVALID;`);let n=t._zod.def;return n.check===\"number_format\"&&n.format&&GLe(e,{format:n.format},r),r}function vwt(e,t){return e.write(`if (typeof ${t} !== \"boolean\") return INVALID;`),t}function wwt(e,t,r){e.write(`if (typeof ${r} !== \"bigint\") return INVALID;`);let n=t._zod.def;if(n.format)switch(n.format){case\"int64\":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break}return r}function Ewt(e,t){return e.write(`if (typeof ${t} !== \"symbol\") return INVALID;`),t}function _wt(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Swt(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function Awt(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function kwt(e,t){return e.write(`if (typeof ${t} !== \"number\" || !Number.isNaN(${t})) return INVALID;`),t}function Cwt(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function Twt(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (typeof ${n} !== \"object\" || ${n} === null || Array.isArray(${n})) return INVALID;`);let c=i.shape,l=Object.keys(c),f=Object.getOwnPropertySymbols(c),p=f.length?[...l,...f]:l,h=D=>typeof D==\"symbol\"?bt(t,D):Da(D),y=D=>typeof D==\"symbol\"?`[${h(D)}]`:Da(D),w=c;if(l.includes(\"__proto__\"))throw new ar(\\'object shape key \"__proto__\"\\');let E=new Map;for(let D of p){let $=w[D],H=h(D),V=lt(t);if(e.write(`const ${V} = ${n}[${H}];`),$._zod.optin!==void 0){let G=lt(t);e.write(`let ${G} = (() => {`),e.indented(K=>{let Q=Xi(K,t,$,V);K.write(`return ${Q};`)}),e.write(\"})();\"),$._zod.optout===\"optional\"?(e.write(`if (${G} === INVALID) {`),e.indented(K=>{K.write(`if (${H} in ${n}) return INVALID;`),K.write(`${G} = undefined;`)}),e.write(\"}\")):e.write(`if (${G} === INVALID) return INVALID;`),E.set(D,G)}else{Rwt($)&&e.write(`if (!(${H} in ${n})) return INVALID;`);let G=Xi(e,t,$,V,o);G!==null&&E.set(D,G)}}let A=i.catchall,C=\"none\";if(A){let D=A._zod.def.type;if(D===\"never\"){let $=l.map(H=>`k !== ${Da(H)}`).join(\" && \")||\"true\";e.write(`for (const k in ${n}) {`),e.indented(H=>{H.write(`if (${$}) return INVALID;`)}),e.write(\"}\")}else(D===\"unknown\"||D===\"any\")&&!A._zod.def.checks?.length?C=\"passthrough\":C=\"schema\"}let R=lt(t),M=p.some(D=>HLe(w[D])||bW(w[D]));if(!o){if(C===\"schema\"){let D=l.length>0?bt(t,new Set(l)):null;e.write(`for (const k in ${n}) {`),e.indented($=>{$.write(\\'if (k === \"__proto__\") continue;\\'),D&&$.write(`if (${D}.has(k)) continue;`);let H=lt(t);$.write(`const ${H} = ${n}[k];`),Xi($,t,A,H,!1)}),e.write(\"}\")}return null}if(M){e.write(`const ${R} = {};`);for(let D of p){let $=h(D),H=E.get(D);bW(w[D])?e.write(`if (${$} in ${n}) ${R}[${$}] = ${H};`):HLe(w[D])?e.write(`if (${H} !== undefined || ${$} in ${n}) ${R}[${$}] = ${H};`):e.write(`${R}[${$}] = ${H};`)}}else{let D=p.map($=>`${y($)}: ${E.get($)}`).join(\", \");e.write(`const ${R} = { ${D} };`)}if(C!==\"none\"){let D=l.length>0?bt(t,new Set(l)):null;e.write(`for (const k in ${n}) {`),e.indented($=>{if($.write(\\'if (k === \"__proto__\") continue;\\'),D&&$.write(`if (${D}.has(k)) continue;`),C===\"passthrough\")$.write(`${R}[k] = ${n}[k];`);else{let H=lt(t);$.write(`const ${H} = ${n}[k];`);let V=Xi($,t,A,H);$.write(`${R}[k] = ${V};`)}}),e.write(\"}\")}return R}function Iwt(e,t,r,n,o=!0){let i=r._zod.def;if(Pwt(r))return Wn(e,t,i.innerType,n,o);if(i.innerType._zod.optin===\"defaulted\"){let l=lt(t),f=lt(t);return e.write(`let ${l};`),e.write(`if (${n} === undefined) {`),e.indented(p=>{p.write(`const ${f} = (() => {`),p.indented(h=>{let y=Wn(h,t,i.innerType,n);h.write(`return ${y};`)}),p.write(\"})();\"),p.write(`if (${f} !== INVALID) ${l} = ${f};`)}),e.write(\"} else {\"),e.indented(p=>{let h=Wn(p,t,i.innerType,n);p.write(`${l} = ${h};`)}),e.write(\"}\"),l}let c=o?lt(t):null;return c&&e.write(`let ${c};`),e.write(`if (${n} !== undefined) {`),e.indented(l=>{let f=Wn(l,t,i.innerType,n,o);c&&f!==null&&l.write(`${c} = ${f};`)}),e.write(\"}\"),c}function Pwt(e){return e._zod.traits?.has(\"$ZodExactOptional\")===!0}function Rwt(e){return e._zod.optin===void 0&&Xb(e)}function Xb(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case\"any\":case\"unknown\":case\"undefined\":case\"void\":case\"default\":case\"prefault\":case\"transform\":case\"custom\":case\"lazy\":return!0;case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"never\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":return!1;case\"nonoptional\":return t.innerType?Xb(t.innerType):!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":case\"nullable\":case\"readonly\":case\"success\":return t.innerType?Xb(t.innerType):!0;case\"catch\":return!0;case\"union\":return t.options?t.options.some(Xb):!0;case\"intersection\":return!t.left||!t.right?!0:Xb(t.left)&&Xb(t.right);case\"pipe\":return t.in?Xb(t.in):!0;default:return!0}}function bW(e){return e._zod.optin===\"optional\"&&e._zod.optout===\"optional\"}function HLe(e){return(e._zod.optin!==\"defaulted\"||e._zod.optout===\"optional\")&&Zw(e)}function Zw(e){let t=e._zod.def;switch(t.type){case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":case\"never\":case\"success\":return!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":return!0;case\"nullable\":case\"readonly\":case\"nonoptional\":return t.innerType?Zw(t.innerType):!0;case\"union\":return t.options?t.options.some(Zw):!0;case\"intersection\":return!t.left||!t.right||Zw(t.left)||Zw(t.right);case\"pipe\":return t.out?Zw(t.out):!0;default:return!0}}function Owt(e,t,r,n,o=!0){let i=r._zod.def,c=o?lt(t):null;return c&&e.write(`let ${c} = null;`),e.write(`if (${n} !== null) {`),e.indented(l=>{let f=Wn(l,t,i.innerType,n,o);c&&f!==null&&l.write(`${c} = ${f};`)}),e.write(\"}\"),c}function vW(e,t,r){for(let[n,o]of Uw(t._zod.def.checks))e.write(`if (${r} > ${n0(n,o._zod.def.check)}) return INVALID;`)}function Bwt(e,t,r,n,o=!0){let i=r._zod.def;e.write(`if (!Array.isArray(${n})) return INVALID;`),vW(e,r,`${n}.length`);let c=o?lt(t):null,l=lt(t),f=lt(t);return c&&e.write(`const ${c} = new Array(${n}.length);`),e.write(`for (let ${l} = 0; ${l} < ${n}.length; ${l}++) {`),e.indented(p=>{p.write(`const ${f} = ${n}[${l}];`);let h=Xi(p,t,i.element,f,o);c&&h!==null&&p.write(`${c}[${l}] = ${h};`)}),e.write(\"}\"),c}function Mwt(e,t,r,n){let i=r._zod.def.values;if(i.length!==1){let l=bt(t,new Set(i));return e.write(`if (!${l}.has(${n})) return INVALID;`),n}let c=i[0];if(typeof c==\"number\"&&Number.isNaN(c)){let l=bt(t,new Set(i));return e.write(`if (!${l}.has(${n})) return INVALID;`),n}if(typeof c==\"string\")e.write(`if (${n} !== ${Da(c)}) return INVALID;`);else if(typeof c==\"number\"||typeof c==\"boolean\")e.write(`if (${n} !== ${c}) return INVALID;`);else if(c===null)e.write(`if (${n} !== null) return INVALID;`);else if(c===void 0)e.write(`if (${n} !== undefined) return INVALID;`);else if(typeof c==\"bigint\")e.write(`if (${n} !== ${c}n) return INVALID;`);else throw new ar(`literal type ${typeof c}`);return n}function Dwt(e,t,r,n){let o=r._zod.values;if(!o)throw new ar(\"enum schema without enumerated values\");let i=bt(t,o);return e.write(`if (!${i}.has(${n})) return INVALID;`),n}function jLe(e,t,r,n){let o=r._zod.def;return Wn(e,t,o.innerType,n)}function Nwt(e,t,r,n){let o=r._zod.def,c=Object.getOwnPropertyDescriptor(r._zod.def,\"defaultValue\")?()=>r._zod.def.defaultValue:void 0;if(r._zod.def.type===\"prefault\"){if(!c)return Wn(e,t,o.innerType,n);let f=bt(t,c),p=lt(t);return e.write(`let ${p} = ${n};`),e.write(`if (${n} === undefined) ${p} = ${f}();`),Wn(e,t,o.innerType,p)}let l=lt(t);if(c){let f=bt(t,c),p=bt(t,CA);e.write(`let ${l};`),e.write(`if (${n} === undefined) {`),e.indented(h=>{h.write(`${l} = ${p}(${f}());`)}),e.write(\"} else {\"),e.indented(h=>{let y=Wn(h,t,o.innerType,n);h.write(`${l} = ${y} === undefined ? ${p}(${f}()) : ${y};`)}),e.write(\"}\")}else e.write(`let ${l};`),e.write(`if (${n} !== undefined) {`),e.indented(f=>{let p=Wn(f,t,o.innerType,n);f.write(`${l} = ${p};`)}),e.write(\"}\");return l}function Uwt(e,t,r,n){let o=r._zod.def,i=Wn(e,t,o.innerType,n),c=lt(t);return e.write(`const ${c} = ${i};`),e.write(`if (${c} === undefined) return INVALID;`),c}function $wt(e,t,r,n){let o=r._zod.def,i=o.items,c=o.rest;e.write(`if (!Array.isArray(${n})) return INVALID;`);let l=FLe(i,\"optin\"),f=FLe(i,\"optout\");c?e.write(`if (${n}.length < ${l}) return INVALID;`):e.write(`if (${n}.length < ${l} || ${n}.length > ${i.length}) return INVALID;`);let p=lt(t);e.write(`const ${p} = [];`);for(let h=0;h<i.length;h++){let y=i[h];if(h>=f)e.write(`if (${p}.length === ${h}) {`),e.indented(w=>{w.write(`if (${h} < ${n}.length) {`),w.indented(E=>{let A=lt(t);E.write(`const ${A} = ${n}[${h}];`);let C=Xi(E,t,y,A);E.write(`${p}[${h}] = ${C};`)}),w.write(\"} else {\"),w.indented(E=>{if(bW(y)){E.write(`${p}.length = ${h};`);return}let A=lt(t),C=lt(t);E.write(`const ${A} = undefined;`),E.write(`const ${C} = (() => {`),E.indented(R=>{let M=Xi(R,t,y,A);R.write(`return ${M};`)}),E.write(\"})();\"),E.write(`if (${C} === INVALID || ${C} === undefined) ${p}.length = ${h};`),E.write(`else ${p}[${h}] = ${C};`)}),w.write(\"}\")}),e.write(\"}\");else{let w=lt(t);e.write(`const ${w} = ${n}[${h}];`);let E=Xi(e,t,y,w);e.write(`${p}[${h}] = ${E};`)}}if(c){let h=lt(t),y=lt(t);e.write(`for (let ${h} = ${i.length}; ${h} < ${n}.length; ${h}++) {`),e.indented(w=>{w.write(`const ${y} = ${n}[${h}];`);let E=Xi(w,t,c,y);w.write(`${p}[${h}] = ${E};`)}),e.write(\"}\")}return p}function FLe(e,t){for(let r=e.length-1;r>=0;r--)if(!(t===\"optin\"?e[r]._zod.optin!==void 0:e[r]._zod.optout===\"optional\"))return r+1;return 0}function zwt(e,t,r,n){let o=r._zod.def,i=o.options;if(o.discriminator)return Lwt(e,t,o,n);if(o.inclusive===!1)throw new ar(\"exclusive unions (z.xor)\");if(i.length===0)return e.write(\"return INVALID;\"),n;if(i.length===1)return Wn(e,t,i[0],n);if(i.every(f=>f._zod.def.type===\"literal\"&&!f._zod.def.checks?.length)){let f=new Set(i.flatMap(h=>h._zod.def.values)),p=bt(t,f);return e.write(`if (!${p}.has(${n})) return INVALID;`),n}let l=lt(t);e.write(`let ${l};`);for(let f=0;f<i.length;f++){let p=i[f];f===0?e.write(`${l} = (() => {`):e.write(`if (${l} === INVALID) ${l} = (() => {`),e.indented(h=>{let y=Wn(h,t,p,n);h.write(`return ${y};`)}),e.write(\"})();\")}return e.write(`if (${l} === INVALID) return INVALID;`),l}function Lwt(e,t,r,n){if(r.unionFallback)throw new ar(\"discriminated union with unionFallback\");if(r.options.length===0)return e.write(\"return INVALID;\"),n;let o=lt(t),i=lt(t);e.write(`const ${o} = ${n}?.[${Da(r.discriminator)}];`),e.write(`let ${i};`);let c=!0,l=new Set;for(let f of r.options){let p=f._zod.propValues?.[r.discriminator];if(!p||p.size===0)throw new ar(\"discriminated union option without static discriminator values\");for(let w of p){if(l.has(w))throw new ar(`duplicate discriminator value ${String(w)}`);l.add(w)}let h=Array.from(p,w=>Hwt(t,o,w)),y=c?\"if\":\"else if\";e.write(`${y} (${h.join(\" || \")}) {`),e.indented(w=>{let E=Wn(w,t,f,n);w.write(`${i} = ${E};`)}),e.write(\"}\"),c=!1}return e.write(\"else { return INVALID; }\"),i}function Hwt(e,t,r){if(typeof r==\"string\")return`${t} === ${Da(r)}`;if(typeof r==\"number\")return Number.isNaN(r)?`Number.isNaN(${t})`:`${t} === ${r}`;if(typeof r==\"boolean\")return`${t} === ${r}`;if(r===null)return`${t} === null`;if(r===void 0)return`${t} === undefined`;if(typeof r==\"bigint\")return`${t} === ${r}n`;if(typeof r==\"symbol\"){let n=bt(e,r);return`${t} === ${n}`}throw new ar(`literal discriminator value ${String(r)}`)}function jwt(e,t,r,n){let o=r._zod.def;t.definite=!1;let i=Xi(e,t,o.left,n),c=Xi(e,t,o.right,n),l=bt(t,Vw),f=lt(t);return e.write(`const ${f} = ${l}(${i}, ${c});`),e.write(`if (!${f}.valid) return INVALID;`),`${f}.data`}function Fwt(e,t,r,n){let o=r._zod.def,i=bt(t,Xc);e.write(`if (!${i}(${n})) return INVALID;`);let c=lt(t),l=lt(t),f=lt(t);e.write(`const ${c} = {};`);let p=o,h=p.partial?void 0:o.keyType._zod.values;if(h){let E=[];for(let C of h){if(!(typeof C==\"string\"||typeof C==\"number\"||typeof C==\"symbol\"))throw new ar(`record key value ${String(C)}`);let R=typeof C==\"number\"?C.toString():C;if(R===\"__proto__\")throw new ar(\\'record key \"__proto__\"\\');E.push(R);let M=bt(t,C),D=Wn(e,t,o.keyType,M),$=lt(t);e.write(`const ${$} = ${n}[${Vwt(t,R)}];`);let H=Xi(e,t,o.valueType,$);e.write(`${c}[${D}] = ${H};`)}let A=bt(t,new Set(E));return e.write(`for (const ${l} in ${n}) {`),e.indented(C=>{C.write(`if (${A}.has(${l})) continue;`),p.mode===\"loose\"?C.write(`if (${l} !== \"__proto__\") ${c}[${l}] = ${n}[${l}];`):C.write(\"return INVALID;\")}),e.write(\"}\"),c}let y=o.keyType._zod.def;if(!(y.type===\"string\"&&y.format===void 0&&!y.coerce&&(y.checks?.length??0)===0)){let E=o.mode===\"loose\",A=XO(o.keyType);A.definite===!1&&(t.definite=!1);let C=bt(t,A),R=bt(t,Op),M=lt(t);return VLe(e,t,n,l,D=>{D.write(`let ${M} = ${C}(${l});`),D.write(`if (${M} === INVALID && typeof ${l} === \"string\" && ${R}.test(${l})) ${M} = ${C}(Number(${l}));`),E?D.write(`if (${M} === INVALID) { ${c}[${l}] = ${n}[${l}]; continue; }`):D.write(`if (${M} === INVALID) return INVALID;`),D.write(`if (${M} === \"__proto__\") continue;`);let $=lt(t);D.write(`const ${$} = ${n}[${l}];`);let H=Xi(D,t,o.valueType,$);D.write(`${c}[${M}] = ${H};`)}),c}return VLe(e,t,n,l,E=>{E.write(`const ${f} = ${n}[${l}];`);let A=Xi(E,t,o.valueType,f);E.write(`${c}[${l}] = ${A};`)},\"return INVALID;\"),c}function VLe(e,t,r,n,o,i){let c=bt(t,Object.prototype.propertyIsEnumerable),l=lt(t),f=lt(t),p=lt(t);e.write(`const ${l} = Object.getOwnPropertySymbols(${r});`),e.write(`const ${f} = Object.getOwnPropertyNames(${r});`),e.write(`for (let ${p} = 0; ${p} < ${f}.length; ${p}++) {`),e.indented(h=>{h.write(`const ${n} = ${f}[${p}];`),h.write(`if (${n} === \"__proto__\" || !${c}.call(${r}, ${n})) continue;`),o(h)}),e.write(\"}\"),e.write(`for (let ${p} = 0; ${p} < ${l}.length; ${p}++) {`),e.indented(h=>{h.write(`const ${n} = ${l}[${p}];`),h.write(`if (!${c}.call(${r}, ${n})) continue;`),i?h.write(i):o(h)}),e.write(\"}\")}function Vwt(e,t){return typeof t==\"string\"?Da(t):bt(e,t)}function qwt(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Map)) return INVALID;`),vW(e,r,`${n}.size`);let i=lt(t),c=lt(t),l=lt(t);return e.write(`const ${i} = new Map();`),e.write(`for (const [${c}, ${l}] of ${n}) {`),e.indented(f=>{let p=Wn(f,t,o.keyType,c),h=Wn(f,t,o.valueType,l);f.write(`${i}.set(${p}, ${h});`)}),e.write(\"}\"),i}function Gwt(e,t,r,n){let o=r._zod.def;e.write(`if (!(${n} instanceof Set)) return INVALID;`),vW(e,r,`${n}.size`);let i=lt(t),c=lt(t);return e.write(`const ${i} = new Set();`),e.write(`for (const ${c} of ${n}) {`),e.indented(l=>{let f=Wn(l,t,o.valueType,c);l.write(`${i}.add(${f});`)}),e.write(\"}\"),i}function Kwt(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function Zwt(e,t,r,n){e.write(`if (typeof ${n} !== \"string\") return INVALID;`);let o=r._zod.pattern;if(o){let i=bt(t,o);e.write(`${i}.lastIndex = 0;`),e.write(`if (!${i}.test(${n})) return INVALID;`)}return n}function Wwt(e,t,r,n){let o=r._zod.def,i=eg(t,o.getter),c=bt(t,{parser:null});e.write(`if (!${c}.parser) {`),e.indented(f=>{f.write(`const inner = ${i}();`),f.write(`${c}.parser = function(input) {`),f.indented(p=>{p.write(\"const result = inner._zod.run({ value: input, issues: [] }, {});\"),p.write(\"return result.issues.length === 0 ? result.value : INVALID;\")}),f.write(\"};\")}),e.write(\"}\");let l=lt(t);return e.write(`const ${l} = ${c}.parser(${n});`),e.write(`if (${l} === INVALID) return INVALID;`),l}function Jwt(e,t,r,n){let o=r._zod.def,i=Wn(e,t,o.in,n);if(o.transform){if(tg(o.transform))throw new ol(\"z.compile: async transforms in pipes are not supported\");let c=o.transform,f=eg(t,h=>{let y={value:h,issues:[],addIssue:xW},w=c(h,y);return w instanceof Promise?Ua:y.issues.length===0?w:Ua}),p=lt(t);return e.write(`const ${p} = ${f}(${i});`),e.write(`if (${p} === INVALID) return INVALID;`),Wn(e,t,o.out,p)}else return Wn(e,t,o.out,i)}function tg(e){return typeof e==\"function\"&&(e.constructor.name===\"AsyncFunction\"||e[Symbol.toStringTag]===\"AsyncFunction\")}function Qwt(e,t,r,n){let o=r._zod.def;if(o.fn){if(tg(o.fn))throw new ol(\"z.compile: async custom predicates are not supported\");let i=eg(t,o.fn),c=bt(t,yW),l=lt(t);e.write(`const ${l} = ${i}(${n});`),e.write(`if (${l} instanceof Promise) ${c}();`),e.write(`if (!${l}) return INVALID;`)}else throw new ar(\"custom schema without a predicate function\");return n}function Ywt(e,t,r){let n=e._zod.run({value:r,issues:[]},{});if(n&&typeof n.then==\"function\")return Ua;let o=n;return o.issues.length===0?o.value:t()}function Xwt(e,t,r,n){let o=r._zod.def;if(!o.catchValue[rO])throw new ar(\"catch with a callback (only a constant catch value compiles)\",!1);let i=lt(t);e.write(`let ${i} = (() => {`),e.indented(p=>{let h=Xi(p,t,o.innerType,n);p.write(`return ${h};`)}),e.write(\"})();\");let c=bt(t,o.innerType),l=eg(t,o.catchValue),f=bt(t,Ywt);return e.write(`if (${i} === INVALID) {`),e.indented(p=>{p.write(`${i} = ${f}(${c}, ${l}, ${n});`),p.write(`if (${i} === INVALID) return INVALID;`)}),e.write(\"}\"),i}function e2t(e,t,r,n){let o=r._zod.def;if(o.transform){if(tg(o.transform))throw new ol(\"z.compile: async transforms are not supported\");let i=o.transform,l=eg(t,p=>{let h={value:p,issues:[],addIssue:xW},y=i(p,h);return y instanceof Promise?Ua:h.issues.length===0?y:Ua}),f=lt(t);return e.write(`const ${f} = ${l}(${n});`),e.write(`if (${f} === INVALID) return INVALID;`),f}return n}var Ua,LLe,ol,ar,awt,bwt,ZLe=x(()=>{u();t0();wO();cW();Jb();qw();je();Ua=Symbol.for(\"zod.compile.invalid\"),LLe=Symbol.for(\"zod.compile.fallback\"),ol=class extends Error{constructor(t=\"z.compile does not support async refinements, transforms, or checks\"){super(t),this.name=\"ZodCompileAsyncError\"}},ar=class extends Error{constructor(t,r=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name=\"ZodCompileUnsupportedError\",this.islandable=r}};awt=new Set([\"max_size\",\"min_size\",\"size_equals\",\"max_length\",\"min_length\",\"length_equals\"]);bwt=new Set([\"cidrv4\",\"cuid\",\"cuid2\",\"date\",\"datetime\",\"duration\",\"e164\",\"email\",\"emoji\",\"ends_with\",\"guid\",\"includes\",\"ipv4\",\"ksuid\",\"lowercase\",\"mac\",\"nanoid\",\"regex\",\"starts_with\",\"time\",\"ulid\",\"uppercase\",\"uuid\",\"xid\"])});function eB(e){return e.checks&&(e.checks=[...e.checks]),e}function wW(e,t){return new e(eB({type:\"string\",...De(t)}))}function EW(e,t){return new e(eB({type:\"string\",coerce:!0,...De(t)}))}function tB(e,t){return new e({type:\"string\",format:\"email\",check:\"string_format\",abort:!1,...De(t)})}function rB(e,t){return new e({type:\"string\",format:\"guid\",check:\"string_format\",abort:!1,...De(t)})}function nB(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,...De(t)})}function oB(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v4\",...De(t)})}function iB(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v6\",...De(t)})}function aB(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v7\",...De(t)})}function ok(e,t){return new e({type:\"string\",format:\"url\",check:\"string_format\",abort:!1,...De(t)})}function sB(e,t){return new e({type:\"string\",format:\"emoji\",check:\"string_format\",abort:!1,...De(t)})}function cB(e,t){return new e({type:\"string\",format:\"nanoid\",check:\"string_format\",abort:!1,...De(t)})}function uB(e,t){return new e({type:\"string\",format:\"cuid\",check:\"string_format\",abort:!1,...De(t)})}function lB(e,t){return new e({type:\"string\",format:\"cuid2\",check:\"string_format\",abort:!1,...De(t)})}function dB(e,t){return new e({type:\"string\",format:\"ulid\",check:\"string_format\",abort:!1,...De(t)})}function fB(e,t){return new e({type:\"string\",format:\"xid\",check:\"string_format\",abort:!1,...De(t)})}function pB(e,t){return new e({type:\"string\",format:\"ksuid\",check:\"string_format\",abort:!1,...De(t)})}function mB(e,t){return new e({type:\"string\",format:\"ipv4\",check:\"string_format\",abort:!1,...De(t)})}function hB(e,t){return new e({type:\"string\",format:\"ipv6\",check:\"string_format\",abort:!1,...De(t)})}function _W(e,t){return new e({type:\"string\",format:\"mac\",check:\"string_format\",abort:!1,...De(t)})}function yB(e,t){return new e({type:\"string\",format:\"cidrv4\",check:\"string_format\",abort:!1,...De(t)})}function bB(e,t){return new e({type:\"string\",format:\"cidrv6\",check:\"string_format\",abort:!1,...De(t)})}function gB(e,t){return new e({type:\"string\",format:\"base64\",check:\"string_format\",abort:!1,...De(t)})}function xB(e,t){return new e({type:\"string\",format:\"base64url\",check:\"string_format\",abort:!1,...De(t)})}function vB(e,t){return new e({type:\"string\",format:\"e164\",check:\"string_format\",abort:!1,...De(t)})}function SW(e,t){return new e({type:\"string\",format:\"credit_card\",check:\"string_format\",abort:!1,...De(t)})}function AW(e,t){return new e({type:\"string\",format:\"iban\",check:\"string_format\",abort:!1,...De(t)})}function wB(e,t){return new e({type:\"string\",format:\"jwt\",check:\"string_format\",abort:!1,...De(t)})}function ik(e,t){return new e({type:\"string\",format:\"datetime\",check:\"string_format\",offset:!1,local:!1,precision:null,...De(t)})}function ak(e,t){return new e({type:\"string\",format:\"date\",check:\"string_format\",...De(t)})}function sk(e,t){return new e({type:\"string\",format:\"time\",check:\"string_format\",precision:null,...De(t)})}function ck(e,t){return new e({type:\"string\",format:\"duration\",check:\"string_format\",...De(t)})}function CW(e,t){return new e(eB({type:\"number\",checks:[],...De(t)}))}function TW(e,t){return new e(eB({type:\"number\",coerce:!0,checks:[],...De(t)}))}function IW(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"safeint\",...De(t)})}function PW(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float32\",...De(t)})}function RW(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float64\",...De(t)})}function OW(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"int32\",...De(t)})}function BW(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"uint32\",...De(t)})}function MW(e,t){return new e({type:\"boolean\",...De(t)})}function DW(e,t){return new e({type:\"boolean\",coerce:!0,...De(t)})}function NW(e,t){return new e({type:\"bigint\",...De(t)})}function UW(e,t){return new e({type:\"bigint\",coerce:!0,...De(t)})}function $W(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"int64\",...De(t)})}function zW(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"uint64\",...De(t)})}function LW(e,t){return new e({type:\"symbol\",...De(t)})}function HW(e,t){return new e({type:\"undefined\",...De(t)})}function jW(e,t){return new e({type:\"null\",...De(t)})}function FW(e){return new e({type:\"any\"})}function VW(e){return new e({type:\"unknown\"})}function qW(e,t){return new e({type:\"never\",...De(t)})}function GW(e,t){return new e({type:\"void\",...De(t)})}function KW(e,t){return new e({type:\"date\",...De(t)})}function ZW(e,t){return new e({type:\"date\",coerce:!0,...De(t)})}function WW(e,t){return new e({type:\"nan\",...De(t)})}function Nd(e,t){return new gO({check:\"less_than\",...De(t),value:e,inclusive:!1})}function lc(e,t){return new gO({check:\"less_than\",...De(t),value:e,inclusive:!0})}function Ud(e,t){return new xO({check:\"greater_than\",...De(t),value:e,inclusive:!1})}function dc(e,t){return new xO({check:\"greater_than\",...De(t),value:e,inclusive:!0})}function EB(e){return Ud(0,e)}function _B(e){return Nd(0,e)}function SB(e){return lc(0,e)}function AB(e){return dc(0,e)}function o0(e,t){return new AK({check:\"multiple_of\",...De(t),value:e})}function i0(e,t){return new TK({check:\"max_size\",...De(t),maximum:e})}function $d(e,t){return new IK({check:\"min_size\",...De(t),minimum:e})}function rg(e,t){return new PK({check:\"size_equals\",...De(t),size:e})}function ng(e,t){return new RK({check:\"max_length\",...De(t),maximum:e})}function Bp(e,t){return new OK({check:\"min_length\",...De(t),minimum:e})}function og(e,t){return new BK({check:\"length_equals\",...De(t),length:e})}function Ww(e,t){return new MK({check:\"string_format\",format:\"regex\",...De(t),pattern:e})}function Jw(e){return new DK({check:\"string_format\",format:\"lowercase\",...De(e)})}function Qw(e){return new NK({check:\"string_format\",format:\"uppercase\",...De(e)})}function Yw(e,t){return new UK({check:\"string_format\",format:\"includes\",...De(t),includes:e})}function Xw(e,t){return new $K({check:\"string_format\",format:\"starts_with\",...De(t),prefix:e})}function e2(e,t){return new zK({check:\"string_format\",format:\"ends_with\",...De(t),suffix:e})}function kB(e,t,r){return new LK({check:\"property\",property:e,schema:t,...De(r)})}function t2(e,t){return new HK({check:\"properties\",shape:e,...De(t)})}function r2(e,t){return new jK({check:\"mime_type\",mime:e,...De(t)})}function il(e){return new FK({check:\"overwrite\",tx:e})}function n2(e){return il(t=>t.normalize(e))}function o2(){return il(e=>e.trim())}function i2(){return il(e=>e.toLowerCase())}function a2(){return il(e=>e.toUpperCase())}function s2(){return il(e=>AG(e))}function JW(e,t,r){return new e({type:\"array\",element:t,...De(r)})}function t2t(e,t,r){return new e({type:\"union\",options:t,...De(r)})}function r2t(e,t,r){return new e({type:\"union\",options:t,inclusive:!1,...De(r)})}function n2t(e,t,r,n){return new e({type:\"union\",options:r,discriminator:t,...De(n)})}function o2t(e,t,r){return new e({type:\"intersection\",left:t,right:r})}function i2t(e,t,r,n){let o=r instanceof kt,i=o?n:r,c=o?r:null;return new e({type:\"tuple\",items:t,rest:c,...De(i)})}function a2t(e,t,r,n){return new e({type:\"record\",keyType:t,valueType:r,...De(n)})}function s2t(e,t,r,n){return new e({type:\"map\",keyType:t,valueType:r,...De(n)})}function c2t(e,t,r){return new e({type:\"set\",valueType:t,...De(r)})}function u2t(e,t,r){let n=Array.isArray(t)?Object.fromEntries(t.map(o=>[o,o])):t;return new e({type:\"enum\",entries:n,...De(r)})}function l2t(e,t,r){return new e({type:\"enum\",entries:t,...De(r)})}function d2t(e,t,r){return new e({type:\"literal\",values:Array.isArray(t)?t:[t],...De(r)})}function QW(e,t){return new e({type:\"file\",...De(t)})}function f2t(e,t){return new e({type:\"transform\",transform:t})}function p2t(e,t){return new e({type:\"optional\",innerType:t})}function m2t(e,t){return new e({type:\"nullable\",innerType:t})}function h2t(e,t,r){return new e({type:\"default\",innerType:t,get defaultValue(){return typeof r==\"function\"?r():CA(r)}})}function y2t(e,t,r){return new e({type:\"nonoptional\",innerType:t,...De(r)})}function b2t(e,t){return new e({type:\"success\",innerType:t})}function g2t(e,t,r){return new e({type:\"catch\",innerType:t,catchValue:typeof r==\"function\"?r:RG(r)})}function x2t(e,t,r){return new e({type:\"pipe\",in:t,out:r})}function v2t(e,t){return new e({type:\"readonly\",innerType:t})}function w2t(e,t,r){return new e({type:\"template_literal\",parts:t,...De(r)})}function E2t(e,t){return new e({type:\"lazy\",getter:t})}function _2t(e,t){return new e({type:\"promise\",innerType:t})}function YW(e,t,r){let n=De(r);return n.abort??(n.abort=!0),new e({type:\"custom\",check:\"custom\",fn:t,...n})}function XW(e,t,r){return new e({type:\"custom\",check:\"custom\",fn:t,...De(r)})}function eJ(e,t){let r=WLe(n=>(n.addIssue=o=>{if(typeof o==\"string\")n.issues.push($w(o,n.value,r._zod.def));else{let i=o;i.fatal&&(i.continue=!1),i.code??(i.code=\"custom\"),\"input\"in i||(i.input=n.value),i.inst??(i.inst=r),i.continue??(i.continue=!r._zod.def.abort),n.issues.push($w(i))}},e(n.value,n)),t);return r}function WLe(e,t){let r=new xn({check:\"custom\",...De(t)});return r._zod.check=e,r}function tJ(e){let t=new xn({check:\"describe\"});return t._zod.onattach=[r=>{let n=Bi.get(r)??{};Bi.add(r,{...n,description:e})}],t._zod.check=()=>{},t}function rJ(e){let t=new xn({check:\"meta\"});return t._zod.onattach=[r=>{let n=Bi.get(r)??{};Bi.add(r,{...n,...e})}],t._zod.check=()=>{},t}function nJ(e,t){let r=De(t),n=r.truthy??[\"true\",\"1\",\"yes\",\"on\",\"y\",\"enabled\"],o=r.falsy??[\"false\",\"0\",\"no\",\"off\",\"n\",\"disabled\"];r.case!==\"sensitive\"&&(n=n.map(E=>typeof E==\"string\"?E.toLowerCase():E),o=o.map(E=>typeof E==\"string\"?E.toLowerCase():E));let i=new Set(n),c=new Set(o),l=e.Codec??JA,f=e.Boolean??ZA,p=e.String??Yb,h=new p({type:\"string\",error:r.error}),y=new f({type:\"boolean\",error:r.error}),w=new l({type:\"pipe\",in:h,out:y,transform:((E,A)=>{let C=E;return r.case!==\"sensitive\"&&(C=C.toLowerCase()),i.has(C)?!0:c.has(C)?!1:(A.issues.push({code:\"invalid_value\",expected:\"stringbool\",values:[...i,...c],input:A.value,inst:w,continue:!1}),{})}),reverseTransform:((E,A)=>E===!0?n[0]||\"true\":o[0]||\"false\"),error:r.error});return w._zod.bag.truthy=n,w._zod.bag.falsy=o,w._zod.bag.case=r.case??\"insensitive\",w}function ig(e,t,r,n={}){let o=De(n),i={check:\"string_format\",type:\"string\",format:t,fn:typeof r==\"function\"?r:l=>r.test(l),...o};return r instanceof RegExp&&(i.pattern=r),new e(i)}var kW,JLe=x(()=>{u();vO();nk();qw();je();kW={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function uk(e,...t){for(let r of t)for(let n of Reflect.ownKeys(r))Object.prototype.propertyIsEnumerable.call(r,n)&&Oi(e,n,r[n]);return e}function a0(e){let t=e?.target??\"draft-2020-12\";return t===\"draft-4\"&&(t=\"draft-04\"),t===\"draft-7\"&&(t=\"draft-07\"),{processors:e.processors??{},metadataRegistry:e?.metadata??Bi,target:t,unrepresentable:e?.unrepresentable??\"throw\",override:e?.override??(()=>{}),io:e?.io??\"output\",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??\"ref\",reused:e?.reused??\"inline\",intersections:[],deferred:[],external:e?.external??void 0}}function Yo(e,t,r,n,o){let i=typeof t.unrepresentable==\"function\"?t.unrepresentable({zodSchema:e,path:n.path,message:o}):t.unrepresentable;if(i===\"any\")return!1;if(i===void 0||i===\"throw\")throw new Error(o);return Object.assign(r,i),!0}function Xr(e,t,r={path:[],schemaPath:[]}){var n;let o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;let c={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,c),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let l=e._zod.toJSONSchema?.();if(l)c.schema=l;else{let h={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,c.schema,h);else{let w=c.schema,E=t.processors[o.type];if(!E)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);E(e,t,w,h)}let y=e._zod.parent;y&&(c.ref||(c.ref=y),Xr(y,t,h),t.seen.get(y).isParent=!0)}let f=t.metadataRegistry.get(e);return f&&uk(c.schema,f),t.io===\"input\"&&$a(e)&&(delete c.schema.examples,delete c.schema.default),t.io===\"input\"&&\"_prefault\"in c.schema&&((n=c.schema).default??(n.default=c.schema._prefault)),delete c.schema._prefault,t.seen.get(e).schema}function QLe(e){return e.replace(/~/g,\"~0\").replace(/\\\\//g,\"~1\")}function s0(e,t){let r=e.seen.get(t);if(!r)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let n=new Map;for(let c of e.seen.entries()){let l=e.metadataRegistry.get(c[0])?.id;if(l){let f=n.get(l);if(f&&f!==c[0])throw new Error(`Duplicate schema id \"${l}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(l,c[0])}}let o=c=>{let l=e.target===\"draft-2020-12\"?\"$defs\":\"definitions\";if(e.external){let y=e.external.registry.get(c[0])?.id,w=e.external.uri??(A=>A);if(y)return{ref:w(y)};let E=c[1].defId??c[1].schema.id??`schema${e.counter++}`;return c[1].defId=E,{defId:E,ref:`${w(\"__shared\")}#/${l}/${QLe(E)}`}}let f=\"#\",p=`${f}/${l}/`;if(c[1]===r&&!c[1].schema.id)return{ref:f};let h=c[1].schema.id??`__schema${e.counter++}`;return{defId:h,ref:p+QLe(h)}},i=c=>{if(c[1].schema.$ref)return;let l=c[1],{ref:f,defId:p}=o(c);l.def={...l.schema},p&&(l.defId=p);let h=l.schema;for(let y in h)delete h[y];h.$ref=f};if(e.cycles===\"throw\")for(let c of e.seen.entries()){let l=c[1];if(l.cycle)throw new Error(`Cycle detected: #/${l.cycle?.join(\"/\")}/<root>\\n\\nSet the \\\\`cycles\\\\` parameter to \\\\`\"ref\"\\\\` to resolve cyclical schemas with defs.`)}for(let c of e.seen.entries()){let l=c[1];if(t===c[0]){i(c);continue}if(e.external){let p=e.external.registry.get(c[0])?.id;if(t!==c[0]&&p){i(c);continue}}if(e.metadataRegistry.get(c[0])?.id){i(c);continue}if(l.cycle){i(c);continue}l.count>1&&e.reused===\"ref\"&&i(c)}e.external&&(e.sharedDefsExtractedFor=e.external)}function eHe(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let r=[];for(let n of t){if(!n||typeof n!=\"object\")return;eHe(n);let o=Object.keys(n);if(o.length!==1||o[0]!==\"type\")return;let i=n.type;for(let c of Array.isArray(i)?i:[i]){if(typeof c!=\"string\")return;r.includes(c)||r.push(c)}}delete e.anyOf,e.type=r.length===1?r[0]:r}function XLe(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=\"object\"||t===null?null:Object.keys(t).length?t:null}function oJ(e){let t=[];for(let i of e){if(typeof i!=\"object\"||i.type!==\"object\")return null;for(let c in i)if(!tHe.has(c))return null;t.push(i)}let r={},n=new Set;for(let i of t){for(let c in i.properties){if(Object.prototype.hasOwnProperty.call(r,c))continue;let l=[];for(let p of t){let h=p.properties?.[c]??XLe(p);h!=null&&(l.some(y=>JSON.stringify(y)===JSON.stringify(h))||l.push(h))}let f=l.length===1?l[0]:oJ(l)??{allOf:l};Oi(r,c,f)}for(let c of i.required??[])n.add(c)}let o={type:\"object\",properties:r};if(n.size&&(o.required=[...n]),t.every(i=>i.additionalProperties===!1))o.additionalProperties=!1;else{let i=[];for(let c of t){let l=XLe(c);l&&!i.some(f=>JSON.stringify(f)===JSON.stringify(l))&&i.push(l)}i.length===1?o.additionalProperties=i[0]:i.length>1&&(o.additionalProperties={allOf:i})}return o}function S2t(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let o of tHe)if(o in e)return;let r=t.filter(o=>YLe.some(i=>Array.isArray(o[i]))),n=null;if(!r.length)n=oJ(t);else{let o=r[0],i=YLe.find(f=>Array.isArray(o[f]));if(Object.keys(o).length!==1)return;let c=t.filter(f=>f!==o),l=o[i].map(f=>oJ([...c,f]));if(l.some(f=>!f))return;n={[i]:l}}n&&(delete e.allOf,uk(e,n))}function c0(e,t){let r=e.seen.get(t);if(!r)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");let n=l=>{let f=e.seen.get(l);if(f.ref===null)return;let p=f.def??f.schema,h={...p},y=f.ref;if(f.ref=null,y){n(y);let E=e.seen.get(y),A=E.schema;if(A.$ref&&(e.target===\"draft-07\"||e.target===\"draft-04\"||e.target===\"openapi-3.0\")?(p.allOf=p.allOf??[],p.allOf.push(A)):uk(p,A),uk(p,h),l._zod.parent===y)for(let R in p)R===\"$ref\"||R===\"allOf\"||R in h||delete p[R];if(A.$ref&&E.def)for(let R in p)R===\"$ref\"||R===\"allOf\"||R in E.def&&JSON.stringify(p[R])===JSON.stringify(E.def[R])&&delete p[R]}let w=l._zod.parent;if(w&&w!==y){n(w);let E=e.seen.get(w);if(E?.schema.$ref&&(p.$ref=E.schema.$ref,E.def))for(let A in p)A===\"$ref\"||A===\"allOf\"||A in E.def&&JSON.stringify(p[A])===JSON.stringify(E.def[A])&&delete p[A]}e.override({zodSchema:l,jsonSchema:p,path:f.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let l of[...e.seen.entries()].reverse())n(l[0]);if(e.target!==\"openapi-3.0\")for(let l of e.seen.entries())eHe(l[1].def??l[1].schema);for(let l of e.deferred)l();if(e.intersections.length){let l=new Map;for(let f of e.seen.values())for(let p of[f.schema,f.def]){let h=p?.allOf;if(!Array.isArray(h))continue;let y=l.get(h);y?y.push(p):l.set(h,[p])}for(let f of e.intersections)for(let p of l.get(f)??[])S2t(p)}}let o={};if(e.target===\"draft-2020-12\"?o.$schema=\"https://json-schema.org/draft/2020-12/schema\":e.target===\"draft-07\"?o.$schema=\"http://json-schema.org/draft-07/schema#\":e.target===\"draft-04\"?o.$schema=\"http://json-schema.org/draft-04/schema#\":e.target,e.external?.uri){let l=e.external.registry.get(t)?.id;if(!l)throw new Error(\"Schema is missing an `id` property\");o.$id=e.external.uri(l)}uk(o,r.defId?r.schema:r.def??r.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&o.id===i&&delete o.id;let c=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let l of e.seen.entries()){let f=l[1];f.def&&f.defId&&(f.def.id===f.defId&&delete f.def.id,Oi(c,f.defId,f.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(c).length>0&&(e.target===\"draft-2020-12\"?o.$defs=c:o.definitions=c);try{let l=JSON.parse(JSON.stringify(o));return Object.defineProperty(l,\"~standard\",{value:{...t[\"~standard\"],jsonSchema:{input:c2(t,\"input\",e.processors),output:c2(t,\"output\",e.processors)}},enumerable:!1,writable:!1}),l}catch{throw new Error(\"Error converting schema to JSON.\")}}function $a(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;if(n.type===\"transform\")return!0;if(n.type===\"array\")return $a(n.element,r);if(n.type===\"set\")return $a(n.valueType,r);if(n.type===\"lazy\")return $a(n.getter(),r);if(n.type===\"promise\"||n.type===\"optional\"||n.type===\"nonoptional\"||n.type===\"nullable\"||n.type===\"readonly\"||n.type===\"default\"||n.type===\"prefault\"||n.type===\"catch\")return $a(n.innerType,r);if(n.type===\"intersection\")return $a(n.left,r)||$a(n.right,r);if(n.type===\"record\"||n.type===\"map\")return $a(n.keyType,r)||$a(n.valueType,r);if(n.type===\"pipe\")return e._zod.traits.has(\"$ZodCodec\")?!0:$a(n.in,r)||$a(n.out,r);if(n.type===\"object\"){for(let o in n.shape)if($a(n.shape[o],r))return!0;return!1}if(n.type===\"union\"){for(let o of n.options)if($a(o,r))return!0;return!1}if(n.type===\"tuple\"){for(let o of n.items)if($a(o,r))return!0;return!!(n.rest&&$a(n.rest,r))}return!1}var tHe,YLe,iJ,c2,lk=x(()=>{u();nk();je();tHe=new Set([\"type\",\"properties\",\"required\",\"additionalProperties\"]),YLe=[\"oneOf\",\"anyOf\"];iJ=(e,t={})=>r=>{let n=a0({...r,processors:t});return Xr(e,n),s0(n,e),c0(n,e)},c2=(e,t,r={})=>n=>{let{libraryOptions:o,target:i}=n??{},c=a0({...o??{},target:i,io:t,processors:r});return Xr(e,c),s0(c,e),c0(c,e)}});function Xo(e){let t={},r=e._zod.def,n=e._zod.traits.has(\"$ZodCheck\")?[e,...r.checks??[]]:r.checks??[];for(let i of n)A2t[i._zod.def.check]?.(t,i._zod.def);let o=e._zod.bag;o.minimum!==void 0&&u2(t,\"minimum\",o.minimum),o.exclusiveMinimum!==void 0&&u2(t,\"exclusiveMinimum\",o.exclusiveMinimum),o.maximum!==void 0&&l2(t,\"maximum\",o.maximum),o.exclusiveMaximum!==void 0&&l2(t,\"exclusiveMaximum\",o.exclusiveMaximum),o.multipleOf!==void 0&&aHe(t,o.multipleOf),o.format!==void 0&&(t.format??(t.format=o.format),o.format.includes(\"int\")&&(t.isInt=!0)),o.mime&&cHe(t,o.mime);for(let i of o.patterns??[])sHe(t,i);return t}function dk(e){let t=e._zod.def;return t.type===\"pipe\"&&t.in._zod.traits.has(\"$ZodTransform\")?dk(t.out):t.type===\"catch\"?dk(t.innerType):e._zod.optin}function aJ(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);let A=e.get(t)?.def;if(!A)return t;let C=aJ(e,A,r);return C===A?t:C}for(let A of[\"anyOf\",\"oneOf\"]){let C=t[A];if(!Array.isArray(C))continue;let R=C.map(M=>aJ(e,M,r));R.some((M,D)=>M!==C[D])&&(t={...t,[A]:R})}let n=Array.isArray(t.type)?t.type:[t.type],o=!n.includes(\"string\")&&n.some(A=>A===\"number\"||A===\"integer\"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!o&&!i?.some(A=>typeof A==\"number\"))return t;let{minimum:c,maximum:l,exclusiveMinimum:f,exclusiveMaximum:p,multipleOf:h,format:y,id:w,...E}=t;return E.enum?E.enum=E.enum.map(A=>typeof A==\"number\"?String(A):A):typeof E.const==\"number\"&&(E.const=String(E.const)),o&&(E.type=\"string\",i||(E.pattern=(n.includes(\"number\")?Op:LA).source)),E}function T2t(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let r=new Map;for(let n of sJ.get(e)??[]){let o=e.seen.get(n),i=(o?.def??o?.schema)?.propertyNames;if(!i||i===!0||r.has(i))continue;let c=aJ(t,i,new Set);c!==i&&r.set(i,c)}if(r.size)for(let n of e.seen.values())for(let o of[n.schema,n.def]){let i=o&&r.get(o.propertyNames);i&&(o.propertyNames=i)}}function dHe(e,t,r,n,o){let i=!1,c=JSON.stringify(e,(l,f)=>typeof f!=\"bigint\"?f:(i=!0,null));return i?(Yo(t,r,n,o,\"BigInt defaults cannot be represented in JSON Schema\"),$J):JSON.parse(c)}function PB(e,t){if(\"_idmap\"in e){let n=e,o=a0({...t,processors:CB}),i={};for(let f of n._idmap.entries()){let[p,h]=f;Xr(h,o)}let c={},l={registry:n,uri:t?.uri,defs:i};o.external=l;for(let f of n._idmap.entries()){let[p,h]=f;s0(o,h),Oi(c,p,c0(o,h))}if(Object.keys(i).length>0){let f=o.target===\"draft-2020-12\"?\"$defs\":\"definitions\";c.__shared={[f]:i}}return{schemas:c}}let r=a0({...t,processors:CB});return Xr(e,r),s0(r,e),c0(r,e)}var u2,l2,rHe,aHe,sHe,cHe,uHe,nHe,oHe,iHe,A2t,k2t,C2t,lHe,cJ,uJ,lJ,dJ,fJ,pJ,mJ,hJ,yJ,bJ,gJ,xJ,vJ,wJ,EJ,_J,SJ,AJ,kJ,CJ,TJ,IJ,PJ,RJ,OJ,TB,BJ,MJ,sJ,DJ,NJ,UJ,$J,zJ,LJ,HJ,jJ,FJ,VJ,IB,qJ,CB,fk=x(()=>{u();Jb();qw();lk();je();u2=(e,t,r)=>{(e[t]===void 0||r>e[t])&&(e[t]=r)},l2=(e,t,r)=>{(e[t]===void 0||r<e[t])&&(e[t]=r)},rHe=(e,t)=>{u2(e,\"minimum\",t),l2(e,\"maximum\",t)},aHe=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},sHe=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},cHe=(e,t)=>{e.mime=e.mime?e.mime.filter(r=>t.includes(r)):[...t]},uHe=(e,t)=>{e.format=t,t.includes(\"int\")&&(e.isInt=!0)},nHe=(e,t)=>u2(e,\"minimum\",t.minimum),oHe=(e,t)=>l2(e,\"maximum\",t.maximum),iHe=e=>(t,r)=>{uHe(t,r.format);let[n,o]=e[r.format];u2(t,\"minimum\",n),l2(t,\"maximum\",o)},A2t={greater_than:(e,t)=>u2(e,t.inclusive?\"minimum\":\"exclusiveMinimum\",t.value),less_than:(e,t)=>l2(e,t.inclusive?\"maximum\":\"exclusiveMaximum\",t.value),multiple_of:(e,t)=>aHe(e,t.value),number_format:iHe(IA),bigint_format:iHe(PA),min_length:nHe,max_length:oHe,length_equals:(e,t)=>rHe(e,t.length),min_size:nHe,max_size:oHe,size_equals:(e,t)=>rHe(e,t.size),string_format:(e,t)=>{uHe(e,t.format),t.pattern&&sHe(e,t.pattern),(t.format===\"base64\"||t.format===\"base64url\")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>cHe(e,t.mime)};k2t={guid:\"uuid\",url:\"uri\",datetime:\"date-time\",json_string:\"json-string\",regex:\"\"},C2t=new Map([[RO,iK],[KA,aK]]),lHe=e=>C2t.get(e)??e,cJ=(e,t,r,n)=>{let o=r;o.type=\"string\";let{minimum:i,maximum:c,format:l,patterns:f,contentEncoding:p,laxFormat:h}=Xo(e);if(typeof i==\"number\"&&(o.minLength=i),typeof c==\"number\"&&(o.maxLength=c),l&&(o.format=k2t[l]??l,o.format===\"\"&&delete o.format,(l===\"time\"||h)&&delete o.format),p&&(o.contentEncoding=p),f&&f.size>0){let y=[...f].map(lHe);y.length===1?o.pattern=y[0].source:y.length>1&&(o.allOf=[...y.map(w=>({...t.target===\"draft-07\"||t.target===\"draft-04\"||t.target===\"openapi-3.0\"?{type:\"string\"}:{},pattern:w.source}))])}},uJ=(e,t,r,n)=>{let o=r,{minimum:i,maximum:c,multipleOf:l,exclusiveMaximum:f,exclusiveMinimum:p,isInt:h}=Xo(e);o.type=h?\"integer\":\"number\";let y=typeof p==\"number\"&&p>=(i??Number.NEGATIVE_INFINITY),w=typeof f==\"number\"&&f<=(c??Number.POSITIVE_INFINITY),E=t.target===\"draft-04\"||t.target===\"openapi-3.0\";if(y?E?(o.minimum=p,o.exclusiveMinimum=!0):o.exclusiveMinimum=p:typeof i==\"number\"&&(o.minimum=i),w?E?(o.maximum=f,o.exclusiveMaximum=!0):o.exclusiveMaximum=f:typeof c==\"number\"&&(o.maximum=c),l){let A=new Set;for(let M of l)Number.isFinite(M)&&M!==0?A.add(Math.abs(M)):Yo(e,t,o,n,`A multipleOf divisor of ${M} cannot be represented in JSON Schema`);let[C,...R]=A;C!==void 0&&(o.multipleOf=C),R.length&&(o.allOf=[...o.allOf??[],...R.map(M=>({multipleOf:M}))])}},lJ=(e,t,r,n)=>{r.type=\"boolean\"},dJ=(e,t,r,n)=>{Yo(e,t,r,n,\"BigInt cannot be represented in JSON Schema\")},fJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Symbols cannot be represented in JSON Schema\")},pJ=(e,t,r,n)=>{t.target===\"openapi-3.0\"?(r.type=\"string\",r.nullable=!0,r.enum=[null]):r.type=\"null\"},mJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Undefined cannot be represented in JSON Schema\")},hJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Void cannot be represented in JSON Schema\")},yJ=(e,t,r,n)=>{r.not={}},bJ=(e,t,r,n)=>{},gJ=(e,t,r,n)=>{},xJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Date cannot be represented in JSON Schema\")},vJ=(e,t,r,n)=>{let o=e._zod.def,i=Bw(o.entries);if(i.length===0){r.not={};return}i.every(c=>typeof c==\"number\")&&(r.type=\"number\"),i.every(c=>typeof c==\"string\")&&(r.type=\"string\"),r.enum=i},wJ=(e,t,r,n)=>{let o=e._zod.def;if(o.values.length===0){r.not={};return}let i=[];for(let c of o.values)if(c===void 0){if(Yo(e,t,r,n,\"Literal `undefined` cannot be represented in JSON Schema\"))return}else if(typeof c==\"bigint\"){if(Yo(e,t,r,n,\"BigInt literals cannot be represented in JSON Schema\"))return;i.push(Number(c))}else i.push(c);if(i.length!==0)if(i.length===1){let c=i[0];r.type=c===null?\"null\":typeof c,t.target===\"draft-04\"||t.target===\"openapi-3.0\"?r.enum=[c]:r.const=c}else i.every(c=>typeof c==\"number\")&&(r.type=\"number\"),i.every(c=>typeof c==\"string\")&&(r.type=\"string\"),i.every(c=>typeof c==\"boolean\")&&(r.type=\"boolean\"),i.every(c=>c===null)&&(r.type=\"null\"),r.enum=i},EJ=(e,t,r,n)=>{Yo(e,t,r,n,\"NaN cannot be represented in JSON Schema\")},_J=(e,t,r,n)=>{let o=r,i=e._zod.pattern;if(!i)throw new Error(\"Pattern not found in template literal\");o.type=\"string\",o.pattern=i.source},SJ=(e,t,r,n)=>{let o=r;o.type=\"string\",o.format=\"binary\",o.contentEncoding=\"binary\";let{minimum:i,maximum:c,mime:l}=Xo(e);i!==void 0&&(o.minLength=i),c!==void 0&&(o.maxLength=c),l&&(l.length===0?o.not={}:l.length===1?o.contentMediaType=l[0]:o.anyOf=l.map(f=>({contentMediaType:f})))},AJ=(e,t,r,n)=>{r.type=\"boolean\"},kJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Custom types cannot be represented in JSON Schema\")},CJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Function types cannot be represented in JSON Schema\")},TJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Transforms cannot be represented in JSON Schema\")},IJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Map cannot be represented in JSON Schema\")},PJ=(e,t,r,n)=>{Yo(e,t,r,n,\"Set cannot be represented in JSON Schema\")},RJ=(e,t,r,n)=>{let o=r,i=e._zod.def,{minimum:c,maximum:l}=Xo(e);typeof c==\"number\"&&(o.minItems=c),typeof l==\"number\"&&(o.maxItems=l),o.type=\"array\",o.items=Xr(i.element,t,{...n,path:[...n.path,\"items\"]})};OJ=(e,t,r,n)=>{let o=r,i=e._zod.def,c=i.shape;if(Object.getOwnPropertySymbols(c).length&&Yo(e,t,o,n,\"Symbol keys cannot be represented in JSON Schema\"))return;o.type=\"object\",o.properties={};for(let p in c)Oi(o.properties,p,Xr(c[p],t,{...n,path:[...n.path,\"properties\",p]}));let f=[];for(let p of Object.keys(c)){let h=i.shape[p];(t.io===\"input\"?dk(h)===void 0:h._zod.optout===void 0)&&f.push(p)}f.length>0&&(o.required=f),i.catchall?._zod.def.type===\"never\"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=Xr(i.catchall,t,{...n,path:[...n.path,\"additionalProperties\"]})):t.io===\"output\"&&(o.additionalProperties=!1)},TB=(e,t,r,n)=>{let o=e._zod.def,i=o.inclusive===!1,c=o.options.map((l,f)=>Xr(l,t,{...n,path:[...n.path,i?\"oneOf\":\"anyOf\",f]}));i?r.oneOf=c:r.anyOf=c},BJ=(e,t,r,n)=>{let o=e._zod.def,i=Xr(o.left,t,{...n,path:[...n.path,\"allOf\",0]}),c=Xr(o.right,t,{...n,path:[...n.path,\"allOf\",1]}),l=p=>\"allOf\"in p&&Object.keys(p).length===1,f=[...l(i)?i.allOf:[i],...l(c)?c.allOf:[c]];r.allOf=f,t.intersections.push(f)},MJ=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type=\"array\";let c=t.target===\"draft-2020-12\"?\"prefixItems\":\"items\",l=t.target===\"draft-2020-12\"||t.target===\"openapi-3.0\"?\"items\":\"additionalItems\",f=i.items.map((C,R)=>Xr(C,t,{...n,path:[...n.path,c,R]})),p=i.rest?Xr(i.rest,t,{...n,path:[...n.path,l,...t.target===\"openapi-3.0\"?[i.items.length]:[]]}):null,h=i.items.length;for(;h>0;){let C=i.items[h-1];if(!(t.io===\"input\"?dk(C)!==void 0:C._zod.optout===\"optional\"))break;h--}let y=i.items.length,w=!i.rest;t.target===\"draft-2020-12\"?(o.prefixItems=f,w?o.items=!1:p&&(o.items=p),h>0&&(o.minItems=h),w&&(o.maxItems=y)):t.target===\"openapi-3.0\"?(o.items={anyOf:f},p&&o.items.anyOf.push(p),h>0&&(o.minItems=h),w&&(o.maxItems=y)):(o.items=f,w?o.additionalItems=!1:p&&(o.additionalItems=p),h>0&&(o.minItems=h),w&&(o.maxItems=y));let{minimum:E,maximum:A}=Xo(e);typeof E==\"number\"&&(o.minItems=E),typeof A==\"number\"&&(o.maxItems=A)};sJ=new WeakMap;DJ=(e,t,r,n)=>{let o=r,i=e._zod.def;o.type=\"object\";let c=i.keyType,l=Xo(c).patterns;if(i.mode===\"loose\"&&l&&l.size>0){let h=Xr(i.valueType,t,{...n,path:[...n.path,\"patternProperties\",\"*\"]});o.patternProperties={};for(let y of l)Oi(o.patternProperties,lHe(y).source,h)}else{if(t.target===\"draft-07\"||t.target===\"draft-2020-12\"){o.propertyNames=Xr(i.keyType,t,{...n,path:[...n.path,\"propertyNames\"]});let h=sJ.get(t);h||(h=[],sJ.set(t,h),t.deferred.push(()=>T2t(t))),h.push(e)}o.additionalProperties=Xr(i.valueType,t,{...n,path:[...n.path,\"additionalProperties\"]})}let f=c._zod.values,p=t.io===\"input\"&&dk(i.valueType)!==void 0;if(f&&!i.partial&&!p){let h=[...f].filter(y=>typeof y==\"string\"||typeof y==\"number\");h.length>0&&(o.required=h.map(String))}},NJ=(e,t,r,n)=>{let o=e._zod.def,i=Xr(o.innerType,t,n),c=t.seen.get(e);t.target===\"openapi-3.0\"?(c.ref=o.innerType,r.nullable=!0):r.anyOf=[i,{type:\"null\"}]},UJ=(e,t,r,n)=>{let o=e._zod.def;Xr(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},$J=Symbol();zJ=(e,t,r,n)=>{let o=e._zod.def;Xr(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let c=dHe(o.defaultValue,e,t,r,n);c!==$J&&(r.default=c)},LJ=(e,t,r,n)=>{let o=e._zod.def;Xr(o.innerType,t,n);let i=t.seen.get(e);if(i.ref=o.innerType,t.io!==\"input\")return;let c=dHe(o.defaultValue,e,t,r,n);c!==$J&&(r._prefault=c)},HJ=(e,t,r,n)=>{let o=e._zod.def;Xr(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType;let c;try{c=o.catchValue(void 0)}catch{Yo(e,t,r,n,\"Dynamic catch values are not supported in JSON Schema\");return}r.default=c},jJ=(e,t,r,n)=>{let o=e._zod.def,i=o.in._zod.traits.has(\"$ZodTransform\"),c=t.io===\"input\"?i?o.out:o.in:o.out;Xr(c,t,n);let l=t.seen.get(e);l.ref=c},FJ=(e,t,r,n)=>{let o=e._zod.def;Xr(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType,r.readOnly=!0},VJ=(e,t,r,n)=>{let o=e._zod.def;Xr(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},IB=(e,t,r,n)=>{let o=e._zod.def;Xr(o.innerType,t,n);let i=t.seen.get(e);i.ref=o.innerType},qJ=(e,t,r,n)=>{let o=e._zod.innerType;Xr(o,t,n);let i=t.seen.get(e);i.ref=o},CB={string:cJ,number:uJ,boolean:lJ,bigint:dJ,symbol:fJ,null:pJ,undefined:mJ,void:hJ,never:yJ,any:bJ,unknown:gJ,date:xJ,enum:vJ,literal:wJ,nan:EJ,template_literal:_J,file:SJ,success:AJ,custom:kJ,function:CJ,transform:TJ,map:IJ,set:PJ,array:RJ,object:OJ,union:TB,intersection:BJ,tuple:MJ,record:DJ,nullable:NJ,nonoptional:UJ,default:zJ,prefault:LJ,catch:HJ,pipe:jJ,readonly:FJ,promise:VJ,optional:IB,lazy:qJ}});var RB,fHe=x(()=>{u();fk();lk();RB=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??\"draft-2020-12\";r===\"draft-4\"&&(r=\"draft-04\"),r===\"draft-7\"&&(r=\"draft-07\"),this.ctx=a0({processors:CB,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return Xr(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,s0(this.ctx,t);let n=c0(this.ctx,t),{\"~standard\":o,...i}=n;return i}}});var pHe={};var mHe=x(()=>{u()});var Mp={};an(Mp,{$ZodAny:()=>CZ,$ZodArray:()=>BZ,$ZodAsyncError:()=>Ts,$ZodBase64:()=>hZ,$ZodBase64URL:()=>yZ,$ZodBigInt:()=>UO,$ZodBigIntFormat:()=>_Z,$ZodBoolean:()=>ZA,$ZodCIDRv4:()=>pZ,$ZodCIDRv6:()=>mZ,$ZodCUID:()=>tZ,$ZodCUID2:()=>rZ,$ZodCatch:()=>YZ,$ZodCheck:()=>xn,$ZodCheckBigIntFormat:()=>CK,$ZodCheckEndsWith:()=>zK,$ZodCheckGreaterThan:()=>xO,$ZodCheckIncludes:()=>UK,$ZodCheckLengthEquals:()=>BK,$ZodCheckLessThan:()=>gO,$ZodCheckLowerCase:()=>DK,$ZodCheckMaxLength:()=>RK,$ZodCheckMaxSize:()=>TK,$ZodCheckMimeType:()=>jK,$ZodCheckMinLength:()=>OK,$ZodCheckMinSize:()=>IK,$ZodCheckMultipleOf:()=>AK,$ZodCheckNumberFormat:()=>kK,$ZodCheckOverwrite:()=>FK,$ZodCheckProperties:()=>HK,$ZodCheckProperty:()=>LK,$ZodCheckRegex:()=>MK,$ZodCheckSizeEquals:()=>PK,$ZodCheckStartsWith:()=>$K,$ZodCheckStringFormat:()=>Fw,$ZodCheckUpperCase:()=>NK,$ZodCodec:()=>JA,$ZodCreditCard:()=>gZ,$ZodCustom:()=>iW,$ZodCustomStringFormat:()=>wZ,$ZodCyclicError:()=>VO,$ZodDate:()=>RZ,$ZodDefault:()=>ZZ,$ZodDiscriminatedUnion:()=>UZ,$ZodE164:()=>bZ,$ZodEmail:()=>WK,$ZodEmoji:()=>XK,$ZodEncodeError:()=>r0,$ZodEnum:()=>jZ,$ZodError:()=>UG,$ZodExactOptional:()=>GZ,$ZodFile:()=>VZ,$ZodFunction:()=>nW,$ZodGUID:()=>KK,$ZodIBAN:()=>xZ,$ZodIPv4:()=>lZ,$ZodIPv6:()=>dZ,$ZodISODate:()=>sZ,$ZodISODateTime:()=>aZ,$ZodISODuration:()=>uZ,$ZodISOTime:()=>cZ,$ZodIntersection:()=>$Z,$ZodJWT:()=>vZ,$ZodKSUID:()=>iZ,$ZodLazy:()=>QA,$ZodLiteral:()=>FZ,$ZodMAC:()=>fZ,$ZodMap:()=>LZ,$ZodNaN:()=>XZ,$ZodNanoID:()=>eZ,$ZodNever:()=>IZ,$ZodNonOptional:()=>JZ,$ZodNull:()=>kZ,$ZodNullable:()=>KZ,$ZodNumber:()=>NO,$ZodNumberFormat:()=>EZ,$ZodObject:()=>b$e,$ZodObjectJIT:()=>MZ,$ZodOptional:()=>zO,$ZodPipe:()=>LO,$ZodPrefault:()=>WZ,$ZodPreprocess:()=>eW,$ZodPromise:()=>oW,$ZodReadonly:()=>tW,$ZodRealError:()=>Is,$ZodRecord:()=>zZ,$ZodRegistry:()=>JO,$ZodSet:()=>HZ,$ZodString:()=>Yb,$ZodStringFormat:()=>Yr,$ZodSuccess:()=>QZ,$ZodSymbol:()=>SZ,$ZodTemplateLiteral:()=>rW,$ZodTransform:()=>qZ,$ZodTuple:()=>$O,$ZodType:()=>kt,$ZodULID:()=>nZ,$ZodURL:()=>YK,$ZodUUID:()=>ZK,$ZodUndefined:()=>AZ,$ZodUnion:()=>WA,$ZodUnknown:()=>TZ,$ZodVoid:()=>PZ,$ZodXID:()=>oZ,$ZodXor:()=>DZ,$brand:()=>MG,$constructor:()=>ue,$input:()=>mW,$output:()=>pW,Doc:()=>Qb,INVALID:()=>Ua,JSONSchema:()=>pHe,JSONSchemaGenerator:()=>RB,NEVER:()=>BG,TimePrecision:()=>kW,URL_BAD_FORMAT:()=>JK,URL_UNPARSEABLE:()=>FA,ZodCompileAsyncError:()=>ol,ZodCompileUnsupportedError:()=>ar,_any:()=>FW,_array:()=>JW,_base64:()=>gB,_base64url:()=>xB,_bigint:()=>NW,_boolean:()=>MW,_catch:()=>g2t,_check:()=>WLe,_cidrv4:()=>yB,_cidrv6:()=>bB,_coercedBigint:()=>UW,_coercedBoolean:()=>DW,_coercedDate:()=>ZW,_coercedNumber:()=>TW,_coercedString:()=>EW,_creditCard:()=>SW,_cuid:()=>uB,_cuid2:()=>lB,_custom:()=>YW,_date:()=>KW,_decode:()=>sO,_decodeAsync:()=>uO,_default:()=>h2t,_discriminatedUnion:()=>n2t,_e164:()=>vB,_email:()=>tB,_emoji:()=>sB,_encode:()=>aO,_encodeAsync:()=>cO,_endsWith:()=>e2,_enum:()=>u2t,_file:()=>QW,_float32:()=>PW,_float64:()=>RW,_gt:()=>Ud,_gte:()=>dc,_guid:()=>rB,_iban:()=>AW,_includes:()=>Yw,_int:()=>IW,_int32:()=>OW,_int64:()=>$W,_intersection:()=>o2t,_ipv4:()=>mB,_ipv6:()=>hB,_isoDate:()=>ak,_isoDateTime:()=>ik,_isoDuration:()=>ck,_isoTime:()=>sk,_jwt:()=>wB,_ksuid:()=>pB,_lazy:()=>E2t,_length:()=>og,_literal:()=>d2t,_lowercase:()=>Jw,_lt:()=>Nd,_lte:()=>lc,_mac:()=>_W,_map:()=>s2t,_max:()=>lc,_maxLength:()=>ng,_maxSize:()=>i0,_mime:()=>r2,_min:()=>dc,_minLength:()=>Bp,_minSize:()=>$d,_multipleOf:()=>o0,_nan:()=>WW,_nanoid:()=>cB,_nativeEnum:()=>l2t,_negative:()=>_B,_never:()=>qW,_nonnegative:()=>AB,_nonoptional:()=>y2t,_nonpositive:()=>SB,_normalize:()=>n2,_null:()=>jW,_nullable:()=>m2t,_number:()=>CW,_optional:()=>p2t,_overwrite:()=>il,_parse:()=>zw,_parseAsync:()=>Lw,_pipe:()=>x2t,_positive:()=>EB,_promise:()=>_2t,_properties:()=>t2,_property:()=>kB,_readonly:()=>v2t,_record:()=>a2t,_refine:()=>XW,_regex:()=>Ww,_safeDecode:()=>dO,_safeDecodeAsync:()=>pO,_safeEncode:()=>lO,_safeEncodeAsync:()=>fO,_safeParse:()=>Hw,_safeParseAsync:()=>jw,_set:()=>c2t,_size:()=>rg,_slugify:()=>s2,_startsWith:()=>Xw,_string:()=>wW,_stringFormat:()=>ig,_stringbool:()=>nJ,_success:()=>b2t,_superRefine:()=>eJ,_symbol:()=>LW,_templateLiteral:()=>w2t,_toLowerCase:()=>i2,_toUpperCase:()=>a2,_transform:()=>f2t,_trim:()=>o2,_tuple:()=>i2t,_uint32:()=>BW,_uint64:()=>zW,_ulid:()=>dB,_undefined:()=>HW,_union:()=>t2t,_unknown:()=>VW,_uppercase:()=>Qw,_url:()=>ok,_uuid:()=>nB,_uuidv4:()=>oB,_uuidv6:()=>iB,_uuidv7:()=>aB,_void:()=>GW,_xid:()=>fB,_xor:()=>r2t,base64Charset:()=>RO,base64urlCharset:()=>KA,canParseURL:()=>QK,clone:()=>Qr,compile:()=>gW,compileFn:()=>XO,config:()=>yo,createStandardJSONSchemaMethod:()=>c2,createToJSONSchemaMethod:()=>iJ,decode:()=>rxt,decodeAsync:()=>oxt,describe:()=>tJ,encode:()=>txt,encodeAsync:()=>nxt,extractDefs:()=>s0,finalize:()=>c0,flattenError:()=>DA,formatError:()=>NA,getDiscriminatedOption:()=>NZ,globalConfig:()=>pi,globalRegistry:()=>Bi,handleUnrepresentable:()=>Yo,initializeContext:()=>a0,isBackEdge:()=>GO,isRecursiveSchema:()=>qO,isValidBase64:()=>GA,isValidBase64URL:()=>OO,isValidCIDRv6:()=>PO,isValidCreditCard:()=>BO,isValidIBAN:()=>MO,isValidIPv6:()=>qA,isValidJWT:()=>DO,locales:()=>rk,memoizer:()=>ek,mergeValues:()=>Vw,meta:()=>rJ,parse:()=>oO,parseAsync:()=>iO,parseURLObject:()=>m$e,prettifyError:()=>zG,process:()=>Xr,processSchema:()=>Xr,regexes:()=>tu,registry:()=>QO,safeDecode:()=>axt,safeDecodeAsync:()=>cxt,safeEncode:()=>ixt,safeEncodeAsync:()=>sxt,safeParse:()=>J1t,safeParseAsync:()=>Q1t,standardProps:()=>kO,stripTabAndNewline:()=>VA,toDotPath:()=>KUe,toJSONSchema:()=>PB,toZod:()=>AA,treeifyError:()=>$G,urlHostnameOk:()=>TO,urlProtocolOk:()=>IO,util:()=>Ee,validate:()=>UA,validateAsync:()=>$A,validateURL:()=>CO,version:()=>VK,withParser:()=>YO});var fc=x(()=>{u();t0();HG();LG();qw();cW();vO();qK();je();je();Jb();fW();nk();wO();ZLe();JLe();lk();fk();fHe();mHe()});function kk(e,t){let r=typeof t==\"function\"?t:(c,l)=>{let f=t[c._zod.def.type];return f?f(c,l):c},n=new Map;function o(c){let l=n.get(c);if(l===Lje)return new QA({type:\"lazy\",getter:()=>n.get(c)});if(l!==void 0)return l;n.set(c,Lje);let f=i(c),p=r(f,f!==c);return n.set(c,p),p}function i(c){let l=c._zod.def,f=l.type;switch(f){case\"object\":{let p=l.shape,h=Object.keys(p),y=!1,w={};for(let A of h){let C=o(p[A]);C!==p[A]&&(y=!0),w[A]=C}let E=l.catchall;return l.catchall&&(E=o(l.catchall),E!==l.catchall&&(y=!0)),y?Qr(c,{...l,shape:w,catchall:E}):c}case\"array\":{let p=o(l.element);return p===l.element?c:Qr(c,{...l,element:p})}case\"tuple\":{let p=l.items,h=!1,y=[];for(let E of p){let A=o(E);A!==E&&(h=!0),y.push(A)}let w=l.rest;return l.rest&&(w=o(l.rest),w!==l.rest&&(h=!0)),h?Qr(c,{...l,items:y,rest:w}):c}case\"record\":case\"map\":{let p=o(l.keyType),h=o(l.valueType);return p===l.keyType&&h===l.valueType?c:Qr(c,{...l,keyType:p,valueType:h})}case\"set\":{let p=o(l.valueType);return p===l.valueType?c:Qr(c,{...l,valueType:p})}case\"union\":{let p=l.options,h=!1,y=[];for(let w of p){let E=o(w);E!==w&&(h=!0),y.push(E)}return h?Qr(c,{...l,options:y}):c}case\"intersection\":{let p=o(l.left),h=o(l.right);return p===l.left&&h===l.right?c:Qr(c,{...l,left:p,right:h})}case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":{let p=o(l.innerType);return p===l.innerType?c:Qr(c,{...l,innerType:p})}case\"pipe\":{let p=o(l.in),h=o(l.out);return p===l.in&&h===l.out?c:Qr(c,{...l,in:p,out:h})}case\"function\":{let p=o(l.input),h=o(l.output);return p===l.input&&h===l.output?c:Qr(c,{...l,input:p,output:h})}case\"lazy\":{let p=l.getter,{_cachedInner:h,...y}=l;return Qr(c,{...y,getter:()=>o(p())})}case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":return c;default:return c}}return o(e)}var Lje,eY=x(()=>{u();qw();je();Lje=Symbol(\"z.visit/resolving\")});function dY(e,t){let r;try{r=e()}catch{return}return{getItem:o=>{var i;let c=f=>f===null?null:JSON.parse(f,t?.reviver),l=(i=r.getItem(o))!=null?i:null;return l instanceof Promise?l.then(c):c(l)},setItem:(o,i)=>r.setItem(o,JSON.stringify(i,t?.replacer)),removeItem:o=>r.removeItem(o)}}var lY,m6t,pFe,mFe=x(()=>{u();lY=e=>t=>{try{let r=e(t);return r instanceof Promise?r:{then(n){return lY(n)(r)},catch(n){return this}}}catch(r){return{then(n){return this},catch(n){return lY(n)(r)}}}},m6t=(e,t)=>(r,n,o)=>{let i={storage:dY(()=>localStorage),partialize:C=>C,version:0,merge:(C,R)=>({...R,...C}),...t},c=!1,l=new Set,f=new Set,p=i.storage;if(!p)return e((...C)=>{console.warn(`[zustand persist middleware] Unable to update item \\'${i.name}\\', the given storage is currently unavailable.`),r(...C)},n,o);let h=()=>{let C=i.partialize({...n()});return p.setItem(i.name,{state:C,version:i.version})},y=o.setState;o.setState=(C,R)=>{y(C,R),h()};let w=e((...C)=>{r(...C),h()},n,o);o.getInitialState=()=>w;let E,A=()=>{var C,R;if(!p)return;c=!1,l.forEach(D=>{var $;return D(($=n())!=null?$:w)});let M=((R=i.onRehydrateStorage)==null?void 0:R.call(i,(C=n())!=null?C:w))||void 0;return lY(p.getItem.bind(p))(i.name).then(D=>{if(D)if(typeof D.version==\"number\"&&D.version!==i.version){if(i.migrate){let $=i.migrate(D.state,D.version);return $ instanceof Promise?$.then(H=>[!0,H]):[!0,$]}console.error(\"State loaded from storage couldn\\'t be migrated since no migrate function was provided\")}else return[!1,D.state];return[!1,void 0]}).then(D=>{var $;let[H,V]=D;if(E=i.merge(V,($=n())!=null?$:w),r(E,!0),H)return h()}).then(()=>{M?.(E,void 0),E=n(),c=!0,f.forEach(D=>D(E))}).catch(D=>{M?.(void 0,D)})};return o.persist={setOptions:C=>{i={...i,...C},C.storage&&(p=C.storage)},clearStorage:()=>{p?.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>A(),hasHydrated:()=>c,onHydrate:C=>(l.add(C),()=>{l.delete(C)}),onFinishHydration:C=>(f.add(C),()=>{f.delete(C)})},i.skipHydration||A(),E||w},pFe=m6t});var hFe,x2,u9=x(()=>{u();hFe=e=>{let t,r=new Set,n=(p,h)=>{let y=typeof p==\"function\"?p(t):p;if(!Object.is(y,t)){let w=t;t=h??(typeof y!=\"object\"||y===null)?y:Object.assign({},t,y),r.forEach(E=>E(t,w))}},o=()=>t,l={setState:n,getState:o,getInitialState:()=>f,subscribe:p=>(r.add(p),()=>r.delete(p))},f=t=e(n,o,l);return l},x2=e=>e?hFe(e):hFe});var nu,l9,dg=x(()=>{u();nu=\"4.3.6\",l9=\"@coinbase/wallet-sdk\"});var h6t,y6t,b6t,g6t,x6t,v6t,w6t,Ao,E6t,_6t,S6t,A6t,k6t,C6t,fY,T6t,Ne,ou=x(()=>{u();mFe();u9();dg();h6t=()=>({chains:[]}),y6t=()=>({keys:{}}),b6t=()=>({account:{}}),g6t=()=>({subAccount:void 0}),x6t=()=>({subAccountConfig:{}}),v6t=()=>({spendPermissions:[]}),w6t=()=>({config:{version:nu}}),Ao=x2(pFe((...e)=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h6t(...e)),y6t(...e)),b6t(...e)),g6t(...e)),v6t(...e)),w6t(...e)),x6t(...e)),{name:\"cbwsdk.store\",storage:dY(()=>localStorage),partialize:e=>({chains:e.chains,keys:e.keys,account:e.account,subAccount:e.subAccount,spendPermissions:e.spendPermissions,config:e.config})})),E6t={get:()=>Ao.getState().subAccountConfig,set:e=>{Ao.setState(t=>({subAccountConfig:Object.assign(Object.assign({},t.subAccountConfig),e)}))},clear:()=>{Ao.setState({subAccountConfig:{}})}},_6t={get:()=>Ao.getState().subAccount,set:e=>{Ao.setState(t=>({subAccount:t.subAccount?Object.assign(Object.assign({},t.subAccount),e):Object.assign({address:e.address},e)}))},clear:()=>{Ao.setState({subAccount:void 0})}},S6t={get:()=>Ao.getState().spendPermissions,set:e=>{Ao.setState({spendPermissions:e})},clear:()=>{Ao.setState({spendPermissions:[]})}},A6t={get:()=>Ao.getState().account,set:e=>{Ao.setState(t=>({account:Object.assign(Object.assign({},t.account),e)}))},clear:()=>{Ao.setState({account:{}})}},k6t={get:()=>Ao.getState().chains,set:e=>{Ao.setState({chains:e})},clear:()=>{Ao.setState({chains:[]})}},C6t={get:e=>Ao.getState().keys[e],set:(e,t)=>{Ao.setState(r=>({keys:Object.assign(Object.assign({},r.keys),{[e]:t})}))},clear:()=>{Ao.setState({keys:{}})}},fY={get:()=>Ao.getState().config,set:e=>{Ao.setState(t=>({config:Object.assign(Object.assign({},t.config),e)}))}},T6t={subAccounts:_6t,subAccountsConfig:E6t,spendPermissions:S6t,account:A6t,chains:k6t,keys:C6t,config:fY},Ne=Object.assign(Object.assign({},Ao),T6t)});var yFe,bFe=x(()=>{u();yFe=\\'!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.ClientAnalytics=t():e.ClientAnalytics=t()}(this,(function(){return(()=>{var e={792:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join(\"\")}}};e.exports=t},562:e=>{var t,n;t=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join(\"\")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?n.push(t.charAt(i>>>6*(3-a)&63)):n.push(\"=\");return n.join(\"\")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\\\\\\\\/]/gi,\"\");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}},e.exports=n},335:e=>{function t(e){return!!e.constructor&&\"function\"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return\"function\"==typeof e.readFloatLE&&\"function\"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},762:(e,t,n)=>{var r,i,a,o,s;r=n(562),i=n(792).utf8,a=n(335),o=n(792).bin,(s=function(e,t){e.constructor==String?e=t&&\"binary\"===t.encoding?o.stringToBytes(e):i.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),c=8*e.length,u=1732584193,l=-271733879,d=-1732584194,p=271733878,m=0;m<n.length;m++)n[m]=16711935&(n[m]<<8|n[m]>>>24)|4278255360&(n[m]<<24|n[m]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var f=s._ff,v=s._gg,g=s._hh,b=s._ii;for(m=0;m<n.length;m+=16){var h=u,w=l,y=d,T=p;u=f(u,l,d,p,n[m+0],7,-680876936),p=f(p,u,l,d,n[m+1],12,-389564586),d=f(d,p,u,l,n[m+2],17,606105819),l=f(l,d,p,u,n[m+3],22,-1044525330),u=f(u,l,d,p,n[m+4],7,-176418897),p=f(p,u,l,d,n[m+5],12,1200080426),d=f(d,p,u,l,n[m+6],17,-1473231341),l=f(l,d,p,u,n[m+7],22,-45705983),u=f(u,l,d,p,n[m+8],7,1770035416),p=f(p,u,l,d,n[m+9],12,-1958414417),d=f(d,p,u,l,n[m+10],17,-42063),l=f(l,d,p,u,n[m+11],22,-1990404162),u=f(u,l,d,p,n[m+12],7,1804603682),p=f(p,u,l,d,n[m+13],12,-40341101),d=f(d,p,u,l,n[m+14],17,-1502002290),u=v(u,l=f(l,d,p,u,n[m+15],22,1236535329),d,p,n[m+1],5,-165796510),p=v(p,u,l,d,n[m+6],9,-1069501632),d=v(d,p,u,l,n[m+11],14,643717713),l=v(l,d,p,u,n[m+0],20,-373897302),u=v(u,l,d,p,n[m+5],5,-701558691),p=v(p,u,l,d,n[m+10],9,38016083),d=v(d,p,u,l,n[m+15],14,-660478335),l=v(l,d,p,u,n[m+4],20,-405537848),u=v(u,l,d,p,n[m+9],5,568446438),p=v(p,u,l,d,n[m+14],9,-1019803690),d=v(d,p,u,l,n[m+3],14,-187363961),l=v(l,d,p,u,n[m+8],20,1163531501),u=v(u,l,d,p,n[m+13],5,-1444681467),p=v(p,u,l,d,n[m+2],9,-51403784),d=v(d,p,u,l,n[m+7],14,1735328473),u=g(u,l=v(l,d,p,u,n[m+12],20,-1926607734),d,p,n[m+5],4,-378558),p=g(p,u,l,d,n[m+8],11,-2022574463),d=g(d,p,u,l,n[m+11],16,1839030562),l=g(l,d,p,u,n[m+14],23,-35309556),u=g(u,l,d,p,n[m+1],4,-1530992060),p=g(p,u,l,d,n[m+4],11,1272893353),d=g(d,p,u,l,n[m+7],16,-155497632),l=g(l,d,p,u,n[m+10],23,-1094730640),u=g(u,l,d,p,n[m+13],4,681279174),p=g(p,u,l,d,n[m+0],11,-358537222),d=g(d,p,u,l,n[m+3],16,-722521979),l=g(l,d,p,u,n[m+6],23,76029189),u=g(u,l,d,p,n[m+9],4,-640364487),p=g(p,u,l,d,n[m+12],11,-421815835),d=g(d,p,u,l,n[m+15],16,530742520),u=b(u,l=g(l,d,p,u,n[m+2],23,-995338651),d,p,n[m+0],6,-198630844),p=b(p,u,l,d,n[m+7],10,1126891415),d=b(d,p,u,l,n[m+14],15,-1416354905),l=b(l,d,p,u,n[m+5],21,-57434055),u=b(u,l,d,p,n[m+12],6,1700485571),p=b(p,u,l,d,n[m+3],10,-1894986606),d=b(d,p,u,l,n[m+10],15,-1051523),l=b(l,d,p,u,n[m+1],21,-2054922799),u=b(u,l,d,p,n[m+8],6,1873313359),p=b(p,u,l,d,n[m+15],10,-30611744),d=b(d,p,u,l,n[m+6],15,-1560198380),l=b(l,d,p,u,n[m+13],21,1309151649),u=b(u,l,d,p,n[m+4],6,-145523070),p=b(p,u,l,d,n[m+11],10,-1120210379),d=b(d,p,u,l,n[m+2],15,718787259),l=b(l,d,p,u,n[m+9],21,-343485551),u=u+h>>>0,l=l+w>>>0,d=d+y>>>0,p=p+T>>>0}return r.endian([u,l,d,p])})._ff=function(e,t,n,r,i,a,o){var s=e+(t&n|~t&r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,n,r,i,a,o){var s=e+(t&r|n&~r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,n,r,i,a,o){var s=e+(t^n^r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,n,r,i,a,o){var s=e+(n^(t|~r))+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error(\"Illegal argument \"+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):r.bytesToHex(n)}},2:(e,t,n)=>{\"use strict\";n.r(t),n.d(t,{Perfume:()=>ze,incrementUjNavigation:()=>Le,markStep:()=>Re,markStepOnce:()=>qe});var r,i,a={isResourceTiming:!1,isElementTiming:!1,maxTime:3e4,reportOptions:{},enableNavigationTracking:!0},o=window,s=o.console,c=o.navigator,u=o.performance,l=function(){return c.deviceMemory},d=function(){return c.hardwareConcurrency},p=\"mark.\",m=function(){return u&&!!u.getEntriesByType&&!!u.now&&!!u.mark},f=\"4g\",v=!1,g={},b={value:0},h={value:{beacon:0,css:0,fetch:0,img:0,other:0,script:0,total:0,xmlhttprequest:0}},w={value:0},y={value:0},T={},k={isHidden:!1,didChange:!1},_=function(){k.isHidden=!1,document.hidden&&(k.isHidden=document.hidden,k.didChange=!0)},S=function(e,t){try{var n=new PerformanceObserver((function(e){t(e.getEntries())}));return n.observe({type:e,buffered:!0}),n}catch(e){s.warn(\"Perfume.js:\",e)}return null},E=function(){return!!(d()&&d()<=4)||!!(l()&&l()<=4)},x=function(e,t){switch(e){case\"slow-2g\":case\"2g\":case\"3g\":return!0;default:return E()||t}},O=function(e){return parseFloat(e.toFixed(4))},j=function(e){return\"number\"!=typeof e?null:O(e/Math.pow(1024,2))},N=function(e,t,n,r,i){var s,u=function(){a.analyticsTracker&&(k.isHidden&&![\"CLS\",\"INP\"].includes(e)||a.analyticsTracker({attribution:r,metricName:e,data:t,navigatorInformation:c?{deviceMemory:l()||0,hardwareConcurrency:d()||0,serviceWorkerStatus:\"serviceWorker\"in c?c.serviceWorker.controller?\"controlled\":\"supported\":\"unsupported\",isLowEndDevice:E(),isLowEndExperience:x(f,v)}:{},rating:n,navigationType:i}))};[\"CLS\",\"INP\"].includes(e)?u():(s=u,\"requestIdleCallback\"in o?o.requestIdleCallback(s,{timeout:3e3}):s())},I=function(e){e.forEach((function(e){if(!(\"self\"!==e.name||e.startTime<b.value)){var t=e.duration-50;t>0&&(w.value+=t,y.value+=t)}}))};!function(e){e.instant=\"instant\",e.quick=\"quick\",e.moderate=\"moderate\",e.slow=\"slow\",e.unavoidable=\"unavoidable\"}(r||(r={}));var P,M,B,C,D,A=((i={})[r.instant]={vitalsThresholds:[100,200],maxOutlierThreshold:1e4},i[r.quick]={vitalsThresholds:[200,500],maxOutlierThreshold:1e4},i[r.moderate]={vitalsThresholds:[500,1e3],maxOutlierThreshold:1e4},i[r.slow]={vitalsThresholds:[1e3,2e3],maxOutlierThreshold:1e4},i[r.unavoidable]={vitalsThresholds:[2e3,5e3],maxOutlierThreshold:2e4},i),L={RT:[100,200],TBT:[200,600],NTBT:[200,600]},U=function(e,t){return L[e]?t<=L[e][0]?\"good\":t<=L[e][1]?\"needsImprovement\":\"poor\":null},R=function(e,t,n){Object.keys(t).forEach((function(e){\"number\"==typeof t[e]&&(t[e]=O(t[e]))})),N(e,t,null,n||{})},q=function(e){var t=e.attribution,n=e.name,r=e.rating,i=e.value,o=e.navigationType;\"FCP\"===n&&(b.value=i),[\"FCP\",\"LCP\"].includes(n)&&!T[0]&&(T[0]=S(\"longtask\",I)),\"FID\"===n&&setTimeout((function(){k.didChange||(q({attribution:t,name:\"TBT\",rating:U(\"TBT\",w.value),value:w.value,navigationType:o}),R(\"dataConsumption\",h.value))}),1e4);var s=O(i);s<=a.maxTime&&s>=0&&N(n,s,r,t,o)},F=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType(\"navigation\")[0]},z=function(e){if(\"loading\"===document.readyState)return\"loading\";var t=F();if(t){if(e<t.domInteractive)return\"loading\";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return\"dom-interactive\";if(0===t.domComplete||e<t.domComplete)return\"dom-content-loaded\"}return\"complete\"},K=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,\"\")},$=function(e,t){var n=\"\";try{for(;e&&9!==e.nodeType;){var r=e,i=r.id?\"#\"+r.id:K(r)+(r.className&&r.className.length?\".\"+r.className.replace(/\\\\\\\\s+/g,\".\"):\"\");if(n.length+i.length>(t||100)-1)return n||i;if(n=n?i+\">\"+n:i,r.id)break;e=r.parentNode}}catch(e){}return n},Q=-1,W=function(){return Q},H=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&(Q=t.timeStamp,e(t))}),!0)},V=function(){var e=F();return e&&e.activationStart||0},J=function(e,t){var n=F(),r=\"navigate\";return W()>=0?r=\"back-forward-cache\":n&&(r=document.prerendering||V()>0?\"prerender\":document.wasDiscarded?\"restore\":n.type.replace(/_/g,\"-\")),{name:e,value:void 0===t?-1:t,rating:\"good\",delta:0,entries:[],id:\"v3-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},X=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},G=function(e,t){var n=function n(r){\"pagehide\"!==r.type&&\"hidden\"!==document.visibilityState||(e(r),t&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},Z=function(e,t,n,r){var i,a;return function(o){t.value>=0&&(o||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=function(e,t){return e>t[1]?\"poor\":e>t[0]?\"needs-improvement\":\"good\"}(t.value,n),e(t))}},Y=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},ee=function(e){document.prerendering?addEventListener(\"prerenderingchange\",(function(){return e()}),!0):e()},te=-1,ne=function(){return\"hidden\"!==document.visibilityState||document.prerendering?1/0:0},re=function(e){\"hidden\"===document.visibilityState&&te>-1&&(te=\"visibilitychange\"===e.type?e.timeStamp:0,ae())},ie=function(){addEventListener(\"visibilitychange\",re,!0),addEventListener(\"prerenderingchange\",re,!0)},ae=function(){removeEventListener(\"visibilitychange\",re,!0),removeEventListener(\"prerenderingchange\",re,!0)},oe=function(){return te<0&&(te=ne(),ie(),H((function(){setTimeout((function(){te=ne(),ie()}),0)}))),{get firstHiddenTime(){return te}}},se=function(e,t){t=t||{},ee((function(){var n,r=[1800,3e3],i=oe(),a=J(\"FCP\"),o=X(\"paint\",(function(e){e.forEach((function(e){\"first-contentful-paint\"===e.name&&(o.disconnect(),e.startTime<i.firstHiddenTime&&(a.value=Math.max(e.startTime-V(),0),a.entries.push(e),n(!0)))}))}));o&&(n=Z(e,a,r,t.reportAllChanges),H((function(i){a=J(\"FCP\"),n=Z(e,a,r,t.reportAllChanges),Y((function(){a.value=performance.now()-i.timeStamp,n(!0)}))})))}))},ce={passive:!0,capture:!0},ue=new Date,le=function(e,t){P||(P=t,M=e,B=new Date,me(removeEventListener),de())},de=function(){if(M>=0&&M<B-ue){var e={entryType:\"first-input\",name:P.type,target:P.target,cancelable:P.cancelable,startTime:P.timeStamp,processingStart:P.timeStamp+M};C.forEach((function(t){t(e)})),C=[]}},pe=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){le(e,t),i()},r=function(){i()},i=function(){removeEventListener(\"pointerup\",n,ce),removeEventListener(\"pointercancel\",r,ce)};addEventListener(\"pointerup\",n,ce),addEventListener(\"pointercancel\",r,ce)}(t,e):le(t,e)}},me=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,pe,ce)}))},fe=0,ve=1/0,ge=0,be=function(e){e.forEach((function(e){e.interactionId&&(ve=Math.min(ve,e.interactionId),ge=Math.max(ge,e.interactionId),fe=ge?(ge-ve)/7+1:0)}))},he=function(){return D?fe:performance.interactionCount||0},we=0,ye=function(){return he()-we},Te=[],ke={},_e=function(e){var t=Te[Te.length-1],n=ke[e.interactionId];if(n||Te.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};ke[r.id]=r,Te.push(r)}Te.sort((function(e,t){return t.latency-e.latency})),Te.splice(10).forEach((function(e){delete ke[e.id]}))}},Se={},Ee=function e(t){document.prerendering?ee((function(){return e(t)})):\"complete\"!==document.readyState?addEventListener(\"load\",(function(){return e(t)}),!0):setTimeout(t,0)},xe=function(e,t){t=t||{};var n=[800,1800],r=J(\"TTFB\"),i=Z(e,r,n,t.reportAllChanges);Ee((function(){var a=F();if(a){var o=a.responseStart;if(o<=0||o>performance.now())return;r.value=Math.max(o-V(),0),r.entries=[a],i(!0),H((function(){r=J(\"TTFB\",0),(i=Z(e,r,n,t.reportAllChanges))(!0)}))}}))},Oe=function(e){e.forEach((function(e){e.identifier&&q({attribution:{identifier:e.identifier},name:\"ET\",rating:null,value:e.startTime})}))},je=function(e){e.forEach((function(e){if(a.isResourceTiming&&R(\"resourceTiming\",e),e.decodedBodySize&&e.initiatorType){var t=e.decodedBodySize/1e3;h.value[e.initiatorType]+=t,h.value.total+=t}}))},Ne=function(){!function(e,t){xe((function(e){!function(e){if(e.entries.length){var t=e.entries[0],n=t.activationStart||0,r=Math.max(t.domainLookupStart-n,0),i=Math.max(t.connectStart-n,0),a=Math.max(t.requestStart-n,0);e.attribution={waitingTime:r,dnsTime:i-r,connectionTime:a-i,requestTime:e.value-a,navigationEntry:t}}else e.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}}(e),function(e){e.value>0&&q(e)}(e)}),t)}(0,a.reportOptions.ttfb),function(e,t){!function(e,t){t=t||{},ee((function(){var e,n=[.1,.25],r=J(\"CLS\"),i=-1,a=0,o=[],s=function(e){i>-1&&function(e){!function(e){if(e.entries.length){var t=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(t&&t.sources&&t.sources.length){var n=(r=t.sources).find((function(e){return e.node&&1===e.node.nodeType}))||r[0];if(n)return void(e.attribution={largestShiftTarget:$(n.node),largestShiftTime:t.startTime,largestShiftValue:t.value,largestShiftSource:n,largestShiftEntry:t,loadState:z(t.startTime)})}}var r;e.attribution={}}(e),function(e){q(e)}(e)}(e)},c=function(t){t.forEach((function(t){if(!t.hadRecentInput){var n=o[0],i=o[o.length-1];a&&t.startTime-i.startTime<1e3&&t.startTime-n.startTime<5e3?(a+=t.value,o.push(t)):(a=t.value,o=[t]),a>r.value&&(r.value=a,r.entries=o,e())}}))},u=X(\"layout-shift\",c);u&&(e=Z(s,r,n,t.reportAllChanges),se((function(t){i=t.value,r.value<0&&(r.value=0,e())})),G((function(){c(u.takeRecords()),e(!0)})),H((function(){a=0,i=-1,r=J(\"CLS\",0),e=Z(s,r,n,t.reportAllChanges),Y((function(){return e()}))})))}))}(0,t)}(0,a.reportOptions.cls),function(e,t){se((function(e){!function(e){if(e.entries.length){var t=F(),n=e.entries[e.entries.length-1];if(t){var r=t.activationStart||0,i=Math.max(0,t.responseStart-r);return void(e.attribution={timeToFirstByte:i,firstByteToFCP:e.value-i,loadState:z(e.entries[0].startTime),navigationEntry:t,fcpEntry:n})}}e.attribution={timeToFirstByte:0,firstByteToFCP:e.value,loadState:z(W())}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.fcp),function(e,t){!function(e,t){t=t||{},ee((function(){var n,r=[100,300],i=oe(),a=J(\"FID\"),o=function(e){e.startTime<i.firstHiddenTime&&(a.value=e.processingStart-e.startTime,a.entries.push(e),n(!0))},s=function(e){e.forEach(o)},c=X(\"first-input\",s);n=Z(e,a,r,t.reportAllChanges),c&&G((function(){s(c.takeRecords()),c.disconnect()}),!0),c&&H((function(){var i;a=J(\"FID\"),n=Z(e,a,r,t.reportAllChanges),C=[],M=-1,P=null,me(addEventListener),i=o,C.push(i),de()}))}))}((function(e){!function(e){var t=e.entries[0];e.attribution={eventTarget:$(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:z(t.startTime)}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.fid),function(e,t){!function(e,t){t=t||{},ee((function(){var n,r=[2500,4e3],i=oe(),a=J(\"LCP\"),o=function(e){var t=e[e.length-1];if(t){var r=Math.max(t.startTime-V(),0);r<i.firstHiddenTime&&(a.value=r,a.entries=[t],n())}},s=X(\"largest-contentful-paint\",o);if(s){n=Z(e,a,r,t.reportAllChanges);var c=function(){Se[a.id]||(o(s.takeRecords()),s.disconnect(),Se[a.id]=!0,n(!0))};[\"keydown\",\"click\"].forEach((function(e){addEventListener(e,c,{once:!0,capture:!0})})),G(c,!0),H((function(i){a=J(\"LCP\"),n=Z(e,a,r,t.reportAllChanges),Y((function(){a.value=performance.now()-i.timeStamp,Se[a.id]=!0,n(!0)}))}))}}))}((function(e){!function(e){if(e.entries.length){var t=F();if(t){var n=t.activationStart||0,r=e.entries[e.entries.length-1],i=r.url&&performance.getEntriesByType(\"resource\").filter((function(e){return e.name===r.url}))[0],a=Math.max(0,t.responseStart-n),o=Math.max(a,i?(i.requestStart||i.startTime)-n:0),s=Math.max(o,i?i.responseEnd-n:0),c=Math.max(s,r?r.startTime-n:0),u={element:$(r.element),timeToFirstByte:a,resourceLoadDelay:o-a,resourceLoadTime:s-o,elementRenderDelay:c-s,navigationEntry:t,lcpEntry:r};return r.url&&(u.url=r.url),i&&(u.lcpResourceEntry=i),void(e.attribution=u)}}e.attribution={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadTime:0,elementRenderDelay:e.value}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.lcp),function(e,t){!function(e,t){t=t||{},ee((function(){var n=[200,500];\"interactionCount\"in performance||D||(D=X(\"event\",be,{type:\"event\",buffered:!0,durationThreshold:0}));var r,i=J(\"INP\"),a=function(e){e.forEach((function(e){e.interactionId&&_e(e),\"first-input\"===e.entryType&&!Te.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&_e(e)}));var t,n=(t=Math.min(Te.length-1,Math.floor(ye()/50)),Te[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,r())},o=X(\"event\",a,{durationThreshold:t.durationThreshold||40});r=Z(e,i,n,t.reportAllChanges),o&&(o.observe({type:\"first-input\",buffered:!0}),G((function(){a(o.takeRecords()),i.value<0&&ye()>0&&(i.value=0,i.entries=[]),r(!0)})),H((function(){Te=[],we=he(),i=J(\"INP\"),r=Z(e,i,n,t.reportAllChanges)})))}))}((function(t){!function(e){if(e.entries.length){var t=e.entries.sort((function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)}))[0];e.attribution={eventTarget:$(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:z(t.startTime)}}else e.attribution={}}(t),e(t)}),t)}((function(e){return q(e)}),a.reportOptions.inp),a.isResourceTiming&&S(\"resource\",je),a.isElementTiming&&S(\"element\",Oe)},Ie=function(e){var t=\"usageDetails\"in e?e.usageDetails:{};R(\"storageEstimate\",{quota:j(e.quota),usage:j(e.usage),caches:j(t.caches),indexedDB:j(t.indexedDB),serviceWorker:j(t.serviceWorkerRegistrations)})},Pe={finalMarkToStepsMap:{},startMarkToStepsMap:{},active:{},navigationSteps:{}},Me=function(e){delete Pe.active[e]},Be=function(){return Pe.navigationSteps},Ce=function(e){var t;return null!==(t=Be()[e])&&void 0!==t?t:{}},De=function(e,t,n){var r=\"step.\"+e,i=u.getEntriesByName(p+t).length>0;if(u.getEntriesByName(p+n).length>0&&a.steps){var o=A[a.steps[e].threshold],s=o.maxOutlierThreshold,c=o.vitalsThresholds;if(i){var l=u.measure(r,p+t,p+n),d=l.duration;if(d<=s){var m=function(e,t){return e<=t[0]?\"good\":e<=t[1]?\"needsImprovement\":\"poor\"}(d,c);d>=0&&(N(\"userJourneyStep\",d,m,{stepName:e},void 0),u.measure(\"step.\".concat(e,\"_vitals_\").concat(m),{start:l.startTime+l.duration,end:l.startTime+l.duration,detail:{type:\"stepVital\",duration:d}}))}}}},Ae=function(){var e=Be(),t=Pe.startMarkToStepsMap,n=Object.keys(e).length;if(0===n)return{};var r={},i=n-1,a=Ce(i);if(Object.keys(a).forEach((function(e){var n,i=null!==(n=t[e])&&void 0!==n?n:[];Object.keys(i).forEach((function(e){r[e]=!0}))})),n>1){var o=Ce(i-1);Object.keys(o).forEach((function(e){var n,i=null!==(n=t[e])&&void 0!==n?n:[];Object.keys(i).forEach((function(e){r[e]=!0}))}))}return r},Le=function(){var e,t=Object.keys(Pe.navigationSteps).length;Pe.navigationSteps[t]={};var n=Ae();null===(e=a.onMarkStep)||void 0===e||e.call(a,\"\",Object.keys(n))},Ue=function(e){var t,n,r,i,o,s,c;if(Pe.finalMarkToStepsMap[e]){!function(e){var t=Pe.navigationSteps,n=Pe.finalMarkToStepsMap,r=Object.keys(t).length;if(0!==r){var i=r-1,a=Ce(i);if(a&&n[e]){var o=n[e];o&&Object.keys(o).forEach((function(e){if(a[e]){var n=Ce(i)||{};n[e]=!1,t[i]=n}if(r>1){var o=i-1,s=Ce(o);s[e]&&(s[e]=!1,t[o]=s)}}))}}}(e);var u=Pe.finalMarkToStepsMap[e];Object.keys(u).forEach((function(t){var n=u[t];n.forEach(Me),Promise.all(n.map((function(n){return function(e,t,n,r){return new(n||(n=Promise))((function(e,t){function i(e){try{o(r.next(e))}catch(e){t(e)}}function a(e){try{o(r.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(i,a)}o((r=r.apply(undefined,[])).next())}))}(0,0,void 0,(function(){return function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},\"function\"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError(\"Generator is already executing.\");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,(function(r){switch(r.label){case 0:return[4,De(n,t,e)];case 1:return r.sent(),[2]}}))}))}))).catch((function(){}))}))}else r=e,i=Pe.navigationSteps,o=Object.keys(i).length,(c=Ce(s=(o>0?o:1)-1)||[])[r]=!0,i[s]=c,function(e){var t,n=null!==(t=Pe.startMarkToStepsMap[e])&&void 0!==t?t:[];Object.keys(n).forEach((function(e){Pe.active[e]||(Pe.active[e]=!0)}))}(e);if(a.enableNavigationTracking){var l=Ae();null===(t=a.onMarkStep)||void 0===t||t.call(a,e,Object.keys(l))}else null===(n=a.onMarkStep)||void 0===n||n.call(a,e,Object.keys(Pe.active))},Re=function(e){u.mark(p+e),Ue(e)},qe=function(e){0===u.getEntriesByName(p+e).length&&(u.mark(p+e),Ue(e))},Fe=0,ze=function(){function e(e){if(void 0===e&&(e={}),this.v=\"9.0.0-rc.3\",a.analyticsTracker=e.analyticsTracker,a.isResourceTiming=!!e.resourceTiming,a.isElementTiming=!!e.elementTiming,a.maxTime=e.maxMeasureTime||a.maxTime,a.reportOptions=e.reportOptions||a.reportOptions,a.steps=e.steps,a.onMarkStep=e.onMarkStep,a.enableNavigationTracking=e.enableNavigationTracking,m()){\"PerformanceObserver\"in o&&Ne(),void 0!==document.hidden&&document.addEventListener(\"visibilitychange\",_);var t=function(){if(!m())return{};var e=u.getEntriesByType(\"navigation\")[0];if(!e)return{};var t=e.responseStart,n=e.responseEnd;return{fetchTime:n-e.fetchStart,workerTime:e.workerStart>0?n-e.workerStart:0,totalTime:n-e.requestStart,downloadTime:n-t,timeToFirstByte:t-e.requestStart,headerSize:e.transferSize-e.encodedBodySize||0,dnsLookupTime:e.domainLookupEnd-e.domainLookupStart,redirectTime:e.redirectEnd-e.redirectStart}}();R(\"navigationTiming\",t),t.redirectTime&&q({attribution:{},name:\"RT\",rating:U(\"RT\",t.redirectTime),value:t.redirectTime}),R(\"networkInformation\",function(){if(\"connection\"in c){var e=c.connection;return\"object\"!=typeof e?{}:(f=e.effectiveType,v=!!e.saveData,{downlink:e.downlink,effectiveType:e.effectiveType,rtt:e.rtt,saveData:!!e.saveData})}return{}}()),c&&c.storage&&\"function\"==typeof c.storage.estimate&&c.storage.estimate().then(Ie),a.steps&&a.steps&&(Pe.startMarkToStepsMap={},Pe.finalMarkToStepsMap={},Pe.active={},Pe.navigationSteps={},Object.entries(a.steps).forEach((function(e){var t,n,r=e[0],i=e[1].marks,a=i[0],o=i[1],s=null!==(n=Pe.startMarkToStepsMap[a])&&void 0!==n?n:{};if(s[r]=!0,Pe.startMarkToStepsMap[a]=s,Pe.finalMarkToStepsMap[o]){var c=Pe.finalMarkToStepsMap[o][a]||[];c.push(r),Pe.finalMarkToStepsMap[o][a]=c}else Pe.finalMarkToStepsMap[o]=((t={})[a]=[r],t)})))}}return e.prototype.start=function(e){m()&&!g[e]&&(g[e]=!0,u.mark(\"mark_\".concat(e,\"_start\")))},e.prototype.end=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!0),m()&&g[e]){u.mark(\"mark_\".concat(e,\"_end\")),delete g[e];var r=function(e){u.measure(e,\"mark_\".concat(e,\"_start\"),\"mark_\".concat(e,\"_end\"));var t=u.getEntriesByName(e).pop();return t&&\"measure\"===t.entryType?t.duration:-1}(e);n&&R(e,O(r),t)}},e.prototype.endPaint=function(e,t){var n=this;setTimeout((function(){n.end(e,t)}))},e.prototype.clear=function(e){delete g[e],u.clearMarks&&(u.clearMarks(\"mark_\".concat(e,\"_start\")),u.clearMarks(\"mark_\".concat(e,\"_end\")))},e.prototype.markNTBT=function(){var e=this;this.start(\"ntbt\"),y.value=0,clearTimeout(Fe),Fe=setTimeout((function(){e.end(\"ntbt\",{},!1),q({attribution:{},name:\"NTBT\",rating:U(\"NTBT\",y.value),value:y.value}),y.value=0}),2e3)},e}()},426:(e,t)=>{\"use strict\";Symbol.for(\"react.element\"),Symbol.for(\"react.portal\"),Symbol.for(\"react.fragment\"),Symbol.for(\"react.strict_mode\"),Symbol.for(\"react.profiler\"),Symbol.for(\"react.provider\"),Symbol.for(\"react.context\"),Symbol.for(\"react.forward_ref\"),Symbol.for(\"react.suspense\"),Symbol.for(\"react.memo\"),Symbol.for(\"react.lazy\"),Symbol.iterator;var n={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},r=Object.assign,i={};function a(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||n}function o(){}function s(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||n}a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if(\"object\"!=typeof e&&\"function\"!=typeof e&&null!=e)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,e,t,\"setState\")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")},o.prototype=a.prototype;var c=s.prototype=new o;c.constructor=s,r(c,a.prototype),c.isPureReactComponent=!0;Array.isArray,Object.prototype.hasOwnProperty;var u={current:null};t.useCallback=function(e,t){return u.current.useCallback(e,t)},t.useEffect=function(e,t){return u.current.useEffect(e,t)},t.useRef=function(e){return u.current.useRef(e)}},784:(e,t,n)=>{\"use strict\";e.exports=n(426)},353:function(e,t,n){var r;!function(i,a){\"use strict\";var o=\"function\",s=\"undefined\",c=\"object\",u=\"string\",l=\"major\",d=\"model\",p=\"name\",m=\"type\",f=\"vendor\",v=\"version\",g=\"architecture\",b=\"console\",h=\"mobile\",w=\"tablet\",y=\"smarttv\",T=\"wearable\",k=\"embedded\",_=\"Amazon\",S=\"Apple\",E=\"ASUS\",x=\"BlackBerry\",O=\"Browser\",j=\"Chrome\",N=\"Firefox\",I=\"Google\",P=\"Huawei\",M=\"LG\",B=\"Microsoft\",C=\"Motorola\",D=\"Opera\",A=\"Samsung\",L=\"Sharp\",U=\"Sony\",R=\"Xiaomi\",q=\"Zebra\",F=\"Facebook\",z=\"Chromium OS\",K=\"Mac OS\",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},Q=function(e,t){return typeof e===u&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===u)return e=e.replace(/^\\\\\\\\s\\\\\\\\s*/,\"\"),typeof t===s?e:e.substring(0,350)},V=function(e,t){for(var n,r,i,s,u,l,d=0;d<t.length&&!u;){var p=t[d],m=t[d+1];for(n=r=0;n<p.length&&!u&&p[n];)if(u=p[n++].exec(e))for(i=0;i<m.length;i++)l=u[++r],typeof(s=m[i])===c&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):a:this[s[0]]=l?s[1].call(this,l,s[2]):a:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):a):this[s]=l||a;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(Q(t[n][r],e))return\"?\"===n?a:n}else if(Q(t[n],e))return\"?\"===n?a:n;return e},X={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\"},G={browser:[[/\\\\\\\\b(?:crmo|crios)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"Chrome\"]],[/edg(?:e|ios|a)?\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"Edge\"]],[/(opera mini)\\\\\\\\/([-\\\\\\\\w\\\\\\\\.]+)/i,/(opera [mobiletab]{3,6})\\\\\\\\b.+version\\\\\\\\/([-\\\\\\\\w\\\\\\\\.]+)/i,/(opera)(?:.+version\\\\\\\\/|[\\\\\\\\/ ]+)([\\\\\\\\w\\\\\\\\.]+)/i],[p,v],[/opios[\\\\\\\\/ ]+([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,D+\" Mini\"]],[/\\\\\\\\bopr\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,D]],[/(kindle)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]*)/i,/(ba?idubrowser)[\\\\\\\\/ ]?([\\\\\\\\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],[p,v],[/(?:\\\\\\\\buc? ?browser|(?:juc.+)ucweb)[\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"UC\"+O]],[/microm.+\\\\\\\\bqbcore\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i,/\\\\\\\\bqbcore\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+).+microm/i],[v,[p,\"WeChat(Win) Desktop\"]],[/micromessenger\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"WeChat\"]],[/konqueror\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"Konqueror\"]],[/trident.+rv[: ]([\\\\\\\\w\\\\\\\\.]{1,9})\\\\\\\\b.+like gecko/i],[v,[p,\"IE\"]],[/ya(?:search)?browser\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"Yandex\"]],[/(avast|avg)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[[p,/(.+)/,\"$1 Secure \"+O],v],[/\\\\\\\\bfocus\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,N+\" Focus\"]],[/\\\\\\\\bopt\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,D+\" Touch\"]],[/coc_coc\\\\\\\\w+\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"Coc Coc\"]],[/dolfin\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"Dolphin\"]],[/coast\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,D+\" Coast\"]],[/miuibrowser\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"MIUI \"+O]],[/fxios\\\\\\\\/([-\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,N]],[/\\\\\\\\bqihu|(qi?ho?o?|360)browser/i],[[p,\"360 \"+O]],[/(oculus|samsung|sailfish|huawei)browser\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[[p,/(.+)/,\"$1 \"+O],v],[/(comodo_dragon)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[[p,/_/g,\" \"],v],[/(electron)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\\\\\\\/(20\\\\\\\\d\\\\\\\\d\\\\\\\\.[-\\\\\\\\w\\\\\\\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]+)/i],[p,v],[/(metasr)[\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]+)/i,/(lbbrowser)/i,/\\\\\\\\[(linkedin)app\\\\\\\\]/i],[p],[/((?:fban\\\\\\\\/fbios|fb_iab\\\\\\\\/fb4a)(?!.+fbav)|;fbav\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+);)/i],[[p,F],v],[/(kakao(?:talk|story))[\\\\\\\\/ ]([\\\\\\\\w\\\\\\\\.]+)/i,/(naver)\\\\\\\\(.*?(\\\\\\\\d+\\\\\\\\.[\\\\\\\\w\\\\\\\\.]+).*\\\\\\\\)/i,/safari (line)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i,/\\\\\\\\b(line)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)\\\\\\\\/iab/i,/(chromium|instagram)[\\\\\\\\/ ]([-\\\\\\\\w\\\\\\\\.]+)/i],[p,v],[/\\\\\\\\bgsa\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+) .*safari\\\\\\\\//i],[v,[p,\"GSA\"]],[/musical_ly(?:.+app_?version\\\\\\\\/|_)([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"TikTok\"]],[/headlesschrome(?:\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)| )/i],[v,[p,j+\" Headless\"]],[/ wv\\\\\\\\).+(chrome)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[[p,j+\" WebView\"],v],[/droid.+ version\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)\\\\\\\\b.+(?:mobile safari|safari)/i],[v,[p,\"Android \"+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\\\\\\\/v?([\\\\\\\\w\\\\\\\\.]+)/i],[p,v],[/version\\\\\\\\/([\\\\\\\\w\\\\\\\\.\\\\\\\\,]+) .*mobile\\\\\\\\/\\\\\\\\w+ (safari)/i],[v,[p,\"Mobile Safari\"]],[/version\\\\\\\\/([\\\\\\\\w(\\\\\\\\.|\\\\\\\\,)]+) .*(mobile ?safari|safari)/i],[v,p],[/webkit.+?(mobile ?safari|safari)(\\\\\\\\/[\\\\\\\\w\\\\\\\\.]+)/i],[p,[v,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],[p,v],[/(navigator|netscape\\\\\\\\d?)\\\\\\\\/([-\\\\\\\\w\\\\\\\\.]+)/i],[[p,\"Netscape\"],v],[/mobile vr; rv:([\\\\\\\\w\\\\\\\\.]+)\\\\\\\\).+firefox/i],[v,[p,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],[p,v],[/(cobalt)\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[p,[v,/master.|lts./,\"\"]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\\\\\\\)]/i],[[g,\"amd64\"]],[/(ia32(?=;))/i],[[g,W]],[/((?:i[346]|x)86)[;\\\\\\\\)]/i],[[g,\"ia32\"]],[/\\\\\\\\b(aarch64|arm(v?8e?l?|_?64))\\\\\\\\b/i],[[g,\"arm64\"]],[/\\\\\\\\b(arm(?:v[67])?ht?n?[fl]p?)\\\\\\\\b/i],[[g,\"armhf\"]],[/windows (ce|mobile); ppc;/i],[[g,\"arm\"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\\\\\\\))/i],[[g,/ower/,\"\",W]],[/(sun4\\\\\\\\w)[;\\\\\\\\)]/i],[[g,\"sparc\"]],[/((?:avr32|ia64(?=;))|68k(?=\\\\\\\\))|\\\\\\\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\\\\\\\b|pa-risc)/i],[[g,W]]],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,[f,A],[m,w]],[/\\\\\\\\b((?:s[cgp]h|gt|sm)-\\\\\\\\w+|sc[g-]?[\\\\\\\\d]+a?|galaxy nexus)/i,/samsung[- ]([-\\\\\\\\w]+)/i,/sec-(sgh\\\\\\\\w+)/i],[d,[f,A],[m,h]],[/(?:\\\\\\\\/|\\\\\\\\()(ip(?:hone|od)[\\\\\\\\w, ]*)(?:\\\\\\\\/|;)/i],[d,[f,S],[m,h]],[/\\\\\\\\((ipad);[-\\\\\\\\w\\\\\\\\),; ]+apple/i,/applecoremedia\\\\\\\\/[\\\\\\\\w\\\\\\\\.]+ \\\\\\\\((ipad)/i,/\\\\\\\\b(ipad)\\\\\\\\d\\\\\\\\d?,\\\\\\\\d\\\\\\\\d?[;\\\\\\\\]].+ios/i],[d,[f,S],[m,w]],[/(macintosh);/i],[d,[f,S]],[/\\\\\\\\b(sh-?[altvz]?\\\\\\\\d\\\\\\\\d[a-ekm]?)/i],[d,[f,L],[m,h]],[/\\\\\\\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\\\\\\\d{2})\\\\\\\\b(?!.+d\\\\\\\\/s)/i],[d,[f,P],[m,w]],[/(?:huawei|honor)([-\\\\\\\\w ]+)[;\\\\\\\\)]/i,/\\\\\\\\b(nexus 6p|\\\\\\\\w{2,4}e?-[atu]?[ln][\\\\\\\\dx][012359c][adn]?)\\\\\\\\b(?!.+d\\\\\\\\/s)/i],[d,[f,P],[m,h]],[/\\\\\\\\b(poco[\\\\\\\\w ]+)(?: bui|\\\\\\\\))/i,/\\\\\\\\b; (\\\\\\\\w+) build\\\\\\\\/hm\\\\\\\\1/i,/\\\\\\\\b(hm[-_ ]?note?[_ ]?(?:\\\\\\\\d\\\\\\\\w)?) bui/i,/\\\\\\\\b(redmi[\\\\\\\\-_ ]?(?:note|k)?[\\\\\\\\w_ ]+)(?: bui|\\\\\\\\))/i,/\\\\\\\\b(mi[-_ ]?(?:a\\\\\\\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\\\\\\\d?\\\\\\\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\\\\\\\))/i],[[d,/_/g,\" \"],[f,R],[m,h]],[/\\\\\\\\b(mi[-_ ]?(?:pad)(?:[\\\\\\\\w_ ]+))(?: bui|\\\\\\\\))/i],[[d,/_/g,\" \"],[f,R],[m,w]],[/; (\\\\\\\\w+) bui.+ oppo/i,/\\\\\\\\b(cph[12]\\\\\\\\d{3}|p(?:af|c[al]|d\\\\\\\\w|e[ar])[mt]\\\\\\\\d0|x9007|a101op)\\\\\\\\b/i],[d,[f,\"OPPO\"],[m,h]],[/vivo (\\\\\\\\w+)(?: bui|\\\\\\\\))/i,/\\\\\\\\b(v[12]\\\\\\\\d{3}\\\\\\\\w?[at])(?: bui|;)/i],[d,[f,\"Vivo\"],[m,h]],[/\\\\\\\\b(rmx[12]\\\\\\\\d{3})(?: bui|;|\\\\\\\\))/i],[d,[f,\"Realme\"],[m,h]],[/\\\\\\\\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,[f,C],[m,h]],[/\\\\\\\\b(mz60\\\\\\\\d|xoom[2 ]{0,2}) build\\\\\\\\//i],[d,[f,C],[m,w]],[/((?=lg)?[vl]k\\\\\\\\-?\\\\\\\\d{3}) bui| 3\\\\\\\\.[-\\\\\\\\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,M],[m,w]],[/(lm(?:-?f100[nv]?|-[\\\\\\\\w\\\\\\\\.]+)(?= bui|\\\\\\\\))|nexus [45])/i,/\\\\\\\\blg[-e;\\\\\\\\/ ]+((?!browser|netcast|android tv)\\\\\\\\w+)/i,/\\\\\\\\blg-?([\\\\\\\\d\\\\\\\\w]+) bui/i],[d,[f,M],[m,h]],[/(ideatab[-\\\\\\\\w ]+)/i,/lenovo ?(s[56]000[-\\\\\\\\w]+|tab(?:[\\\\\\\\w ]+)|yt[-\\\\\\\\d\\\\\\\\w]{6}|tb[-\\\\\\\\d\\\\\\\\w]{6})/i],[d,[f,\"Lenovo\"],[m,w]],[/(?:maemo|nokia).*(n900|lumia \\\\\\\\d+)/i,/nokia[-_ ]?([-\\\\\\\\w\\\\\\\\.]*)/i],[[d,/_/g,\" \"],[f,\"Nokia\"],[m,h]],[/(pixel c)\\\\\\\\b/i],[d,[f,I],[m,w]],[/droid.+; (pixel[\\\\\\\\daxl ]{0,6})(?: bui|\\\\\\\\))/i],[d,[f,I],[m,h]],[/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,[f,U],[m,h]],[/sony tablet [ps]/i,/\\\\\\\\b(?:sony)?sgp\\\\\\\\w+(?: bui|\\\\\\\\))/i],[[d,\"Xperia Tablet\"],[f,U],[m,w]],[/ (kb2005|in20[12]5|be20[12][59])\\\\\\\\b/i,/(?:one)?(?:plus)? (a\\\\\\\\d0\\\\\\\\d\\\\\\\\d)(?: b|\\\\\\\\))/i],[d,[f,\"OnePlus\"],[m,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\\\\\\\\))/i,/(kf[a-z]+)( bui|\\\\\\\\)).+silk\\\\\\\\//i],[d,[f,_],[m,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\\\\\\\)).+silk\\\\\\\\//i],[[d,/(.+)/g,\"Fire Phone $1\"],[f,_],[m,h]],[/(playbook);[-\\\\\\\\w\\\\\\\\),; ]+(rim)/i],[d,f,[m,w]],[/\\\\\\\\b((?:bb[a-f]|st[hv])100-\\\\\\\\d)/i,/\\\\\\\\(bb10; (\\\\\\\\w+)/i],[d,[f,x],[m,h]],[/(?:\\\\\\\\b|asus_)(transfo[prime ]{4,10} \\\\\\\\w+|eeepc|slider \\\\\\\\w+|nexus 7|padfone|p00[cj])/i],[d,[f,E],[m,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \\\\\\\\d\\\\\\\\w?)\\\\\\\\b/i],[d,[f,E],[m,h]],[/(nexus 9)/i],[d,[f,\"HTC\"],[m,w]],[/(htc)[-;_ ]{1,2}([\\\\\\\\w ]+(?=\\\\\\\\)| bui)|\\\\\\\\w+)/i,/(zte)[- ]([\\\\\\\\w ]+?)(?: bui|\\\\\\\\/|\\\\\\\\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\\\\\\\.))|sony(?!-bra))[-_ ]?([-\\\\\\\\w]*)/i],[f,[d,/_/g,\" \"],[m,h]],[/droid.+; ([ab][1-7]-?[0178a]\\\\\\\\d\\\\\\\\d?)/i],[d,[f,\"Acer\"],[m,w]],[/droid.+; (m[1-5] note) bui/i,/\\\\\\\\bmz-([-\\\\\\\\w]{2,})/i],[d,[f,\"Meizu\"],[m,h]],[/(blackberry|benq|palm(?=\\\\\\\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\\\\\\\w]*)/i,/(hp) ([\\\\\\\\w ]+\\\\\\\\w)/i,/(asus)-?(\\\\\\\\w+)/i,/(microsoft); (lumia[\\\\\\\\w ]+)/i,/(lenovo)[-_ ]?([-\\\\\\\\w]+)/i,/(jolla)/i,/(oppo) ?([\\\\\\\\w ]+) bui/i],[f,d,[m,h]],[/(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],[f,d,[m,w]],[/(surface duo)/i],[d,[f,B],[m,w]],[/droid [\\\\\\\\d\\\\\\\\.]+; (fp\\\\\\\\du?)(?: b|\\\\\\\\))/i],[d,[f,\"Fairphone\"],[m,h]],[/(u304aa)/i],[d,[f,\"AT&T\"],[m,h]],[/\\\\\\\\bsie-(\\\\\\\\w*)/i],[d,[f,\"Siemens\"],[m,h]],[/\\\\\\\\b(rct\\\\\\\\w+) b/i],[d,[f,\"RCA\"],[m,w]],[/\\\\\\\\b(venue[\\\\\\\\d ]{2,7}) b/i],[d,[f,\"Dell\"],[m,w]],[/\\\\\\\\b(q(?:mv|ta)\\\\\\\\w+) b/i],[d,[f,\"Verizon\"],[m,w]],[/\\\\\\\\b(?:barnes[& ]+noble |bn[rt])([\\\\\\\\w\\\\\\\\+ ]*) b/i],[d,[f,\"Barnes & Noble\"],[m,w]],[/\\\\\\\\b(tm\\\\\\\\d{3}\\\\\\\\w+) b/i],[d,[f,\"NuVision\"],[m,w]],[/\\\\\\\\b(k88) b/i],[d,[f,\"ZTE\"],[m,w]],[/\\\\\\\\b(nx\\\\\\\\d{3}j) b/i],[d,[f,\"ZTE\"],[m,h]],[/\\\\\\\\b(gen\\\\\\\\d{3}) b.+49h/i],[d,[f,\"Swiss\"],[m,h]],[/\\\\\\\\b(zur\\\\\\\\d{3}) b/i],[d,[f,\"Swiss\"],[m,w]],[/\\\\\\\\b((zeki)?tb.*\\\\\\\\b) b/i],[d,[f,\"Zeki\"],[m,w]],[/\\\\\\\\b([yr]\\\\\\\\d{2}) b/i,/\\\\\\\\b(dragon[- ]+touch |dt)(\\\\\\\\w{5}) b/i],[[f,\"Dragon Touch\"],d,[m,w]],[/\\\\\\\\b(ns-?\\\\\\\\w{0,9}) b/i],[d,[f,\"Insignia\"],[m,w]],[/\\\\\\\\b((nxa|next)-?\\\\\\\\w{0,9}) b/i],[d,[f,\"NextBook\"],[m,w]],[/\\\\\\\\b(xtreme\\\\\\\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,\"Voice\"],d,[m,h]],[/\\\\\\\\b(lvtel\\\\\\\\-)?(v1[12]) b/i],[[f,\"LvTel\"],d,[m,h]],[/\\\\\\\\b(ph-1) /i],[d,[f,\"Essential\"],[m,h]],[/\\\\\\\\b(v(100md|700na|7011|917g).*\\\\\\\\b) b/i],[d,[f,\"Envizen\"],[m,w]],[/\\\\\\\\b(trio[-\\\\\\\\w\\\\\\\\. ]+) b/i],[d,[f,\"MachSpeed\"],[m,w]],[/\\\\\\\\btu_(1491) b/i],[d,[f,\"Rotor\"],[m,w]],[/(shield[\\\\\\\\w ]+) b/i],[d,[f,\"Nvidia\"],[m,w]],[/(sprint) (\\\\\\\\w+)/i],[f,d,[m,h]],[/(kin\\\\\\\\.[onetw]{3})/i],[[d,/\\\\\\\\./g,\" \"],[f,B],[m,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\\\\\\\)/i],[d,[f,q],[m,w]],[/droid.+; (ec30|ps20|tc[2-8]\\\\\\\\d[kx])\\\\\\\\)/i],[d,[f,q],[m,h]],[/smart-tv.+(samsung)/i],[f,[m,y]],[/hbbtv.+maple;(\\\\\\\\d+)/i],[[d,/^/,\"SmartTV\"],[f,A],[m,y]],[/(nux; netcast.+smarttv|lg (netcast\\\\\\\\.tv-201\\\\\\\\d|android tv))/i],[[f,M],[m,y]],[/(apple) ?tv/i],[f,[d,S+\" TV\"],[m,y]],[/crkey/i],[[d,j+\"cast\"],[f,I],[m,y]],[/droid.+aft(\\\\\\\\w)( bui|\\\\\\\\))/i],[d,[f,_],[m,y]],[/\\\\\\\\(dtv[\\\\\\\\);].+(aquos)/i,/(aquos-tv[\\\\\\\\w ]+)\\\\\\\\)/i],[d,[f,L],[m,y]],[/(bravia[\\\\\\\\w ]+)( bui|\\\\\\\\))/i],[d,[f,U],[m,y]],[/(mitv-\\\\\\\\w{5}) bui/i],[d,[f,R],[m,y]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[m,y]],[/\\\\\\\\b(roku)[\\\\\\\\dx]*[\\\\\\\\)\\\\\\\\/]((?:dvp-)?[\\\\\\\\d\\\\\\\\.]*)/i,/hbbtv\\\\\\\\/\\\\\\\\d+\\\\\\\\.\\\\\\\\d+\\\\\\\\.\\\\\\\\d+ +\\\\\\\\([\\\\\\\\w\\\\\\\\+ ]*; *([\\\\\\\\w\\\\\\\\d][^;]*);([^;]*)/i],[[f,H],[d,H],[m,y]],[/\\\\\\\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\\\\\\\b/i],[[m,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[m,b]],[/droid.+; (shield) bui/i],[d,[f,\"Nvidia\"],[m,b]],[/(playstation [345portablevi]+)/i],[d,[f,U],[m,b]],[/\\\\\\\\b(xbox(?: one)?(?!; xbox))[\\\\\\\\); ]/i],[d,[f,B],[m,b]],[/((pebble))app/i],[f,d,[m,T]],[/(watch)(?: ?os[,\\\\\\\\/]|\\\\\\\\d,\\\\\\\\d\\\\\\\\/)[\\\\\\\\d\\\\\\\\.]+/i],[d,[f,S],[m,T]],[/droid.+; (glass) \\\\\\\\d/i],[d,[f,I],[m,T]],[/droid.+; (wt63?0{2,3})\\\\\\\\)/i],[d,[f,q],[m,T]],[/(quest( 2| pro)?)/i],[d,[f,F],[m,T]],[/(tesla)(?: qtcarbrowser|\\\\\\\\/[-\\\\\\\\w\\\\\\\\.]+)/i],[f,[m,k]],[/(aeobc)\\\\\\\\b/i],[d,[f,_],[m,k]],[/droid .+?; ([^;]+?)(?: bui|\\\\\\\\) applew).+? mobile safari/i],[d,[m,h]],[/droid .+?; ([^;]+?)(?: bui|\\\\\\\\) applew).+?(?! mobile) safari/i],[d,[m,w]],[/\\\\\\\\b((tablet|tab)[;\\\\\\\\/]|focus\\\\\\\\/\\\\\\\\d(?!.+mobile))/i],[[m,w]],[/(phone|mobile(?:[;\\\\\\\\/]| [ \\\\\\\\w\\\\\\\\/\\\\\\\\.]*safari)|pda(?=.+windows ce))/i],[[m,h]],[/(android[-\\\\\\\\w\\\\\\\\. ]{0,9});.+buil/i],[d,[f,\"Generic\"]]],engine:[[/windows.+ edge\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"EdgeHTML\"]],[/webkit\\\\\\\\/537\\\\\\\\.36.+chrome\\\\\\\\/(?!27)([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"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],[p,v],[/rv\\\\\\\\:([\\\\\\\\w\\\\\\\\.]{1,9})\\\\\\\\b.+(gecko)/i],[v,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,v],[/(windows) nt 6\\\\\\\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\\\\\\\/ ]?([\\\\\\\\d\\\\\\\\.\\\\\\\\w ]*)/i,/(windows)[\\\\\\\\/ ]?([ntce\\\\\\\\d\\\\\\\\. ]+\\\\\\\\w)(?!.+xbox)/i],[p,[v,J,X]],[/(win(?=3|9|n)|win 9x )([nt\\\\\\\\d\\\\\\\\.]+)/i],[[p,\"Windows\"],[v,J,X]],[/ip[honead]{2,4}\\\\\\\\b(?:.*os ([\\\\\\\\w]+) like mac|; opera)/i,/ios;fbsv\\\\\\\\/([\\\\\\\\d\\\\\\\\.]+)/i,/cfnetwork\\\\\\\\/.+darwin/i],[[v,/_/g,\".\"],[p,\"iOS\"]],[/(mac os x) ?([\\\\\\\\w\\\\\\\\. ]*)/i,/(macintosh|mac_powerpc\\\\\\\\b)(?!.+haiku)/i],[[p,K],[v,/_/g,\".\"]],[/droid ([\\\\\\\\w\\\\\\\\.]+)\\\\\\\\b.+(android[- ]x86|harmonyos)/i],[v,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]*)/i,/(blackberry)\\\\\\\\w*\\\\\\\\/([\\\\\\\\w\\\\\\\\.]*)/i,/(tizen|kaios)[\\\\\\\\/ ]([\\\\\\\\w\\\\\\\\.]+)/i,/\\\\\\\\((series40);/i],[p,v],[/\\\\\\\\(bb(10);/i],[v,[p,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]*)/i],[v,[p,\"Symbian\"]],[/mozilla\\\\\\\\/[\\\\\\\\d\\\\\\\\.]+ \\\\\\\\((?:mobile|tablet|tv|mobile; [\\\\\\\\w ]+); rv:.+ gecko\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,N+\" OS\"]],[/web0s;.+rt(tv)/i,/\\\\\\\\b(?:hp)?wos(?:browser)?\\\\\\\\/([\\\\\\\\w\\\\\\\\.]+)/i],[v,[p,\"webOS\"]],[/watch(?: ?os[,\\\\\\\\/]|\\\\\\\\d,\\\\\\\\d\\\\\\\\/)([\\\\\\\\d\\\\\\\\.]+)/i],[v,[p,\"watchOS\"]],[/crkey\\\\\\\\/([\\\\\\\\d\\\\\\\\.]+)/i],[v,[p,j+\"cast\"]],[/(cros) [\\\\\\\\w]+(?:\\\\\\\\)| ([\\\\\\\\w\\\\\\\\.]+)\\\\\\\\b)/i],[[p,z],v],[/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],[p,v],[/(sunos) ?([\\\\\\\\w\\\\\\\\.\\\\\\\\d]*)/i],[[p,\"Solaris\"],v],[/((?:open)?solaris)[-\\\\\\\\/ ]?([\\\\\\\\w\\\\\\\\.]*)/i,/(aix) ((\\\\\\\\d)(?=\\\\\\\\.|\\\\\\\\)| )[\\\\\\\\w\\\\\\\\.])*/i,/\\\\\\\\b(beos|os\\\\\\\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\\\\\\\\w\\\\\\\\.]*)/i],[p,v]]},Z=function(e,t){if(typeof e===c&&(t=e,e=a),!(this instanceof Z))return new Z(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:a,r=e||(n&&n.userAgent?n.userAgent:\"\"),b=n&&n.userAgentData?n.userAgentData:a,y=t?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}(G,t):G,T=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=a,t[v]=a,V.call(t,r,y.browser),t[l]=typeof(e=t[v])===u?e.replace(/[^\\\\\\\\d\\\\\\\\.]/g,\"\").split(\".\")[0]:a,T&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[p]=\"Brave\"),t},this.getCPU=function(){var e={};return e[g]=a,V.call(e,r,y.cpu),e},this.getDevice=function(){var e={};return e[f]=a,e[d]=a,e[m]=a,V.call(e,r,y.device),T&&!e[m]&&b&&b.mobile&&(e[m]=h),T&&\"Macintosh\"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]=\"iPad\",e[m]=w),e},this.getEngine=function(){var e={};return e[p]=a,e[v]=a,V.call(e,r,y.engine),e},this.getOS=function(){var e={};return e[p]=a,e[v]=a,V.call(e,r,y.os),T&&!e[p]&&b&&\"Unknown\"!=b.platform&&(e[p]=b.platform.replace(/chrome os/i,z).replace(/macos/i,K)),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>350?H(e,350):e,this},this.setUA(r),this};Z.VERSION=\"1.0.35\",Z.BROWSER=$([p,v,l]),Z.CPU=$([g]),Z.DEVICE=$([d,f,m,b,h,y,w,T,k]),Z.ENGINE=Z.OS=$([p,v]),typeof t!==s?(e.exports&&(t=e.exports=Z),t.UAParser=Z):n.amdO?(r=function(){return Z}.call(t,n,t,e))===a||(e.exports=r):typeof i!==s&&(i.UAParser=Z);var Y=typeof i!==s&&(i.jQuery||i.Zepto);if(Y&&!Y.ua){var ee=new Z;Y.ua=ee.getResult(),Y.ua.get=function(){return ee.getUA()},Y.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Y.ua[n]=t[n]}}}(\"object\"==typeof window?window:this)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})};var r={};return(()=>{\"use strict\";n.r(r),n.d(r,{ActionType:()=>f,AmplitudePlatformName:()=>g,AnalyticsEventImportance:()=>l,AnalyticsQueries:()=>e,AuthStatus:()=>b,ComponentType:()=>m,IThresholdTier:()=>Jt,MetricType:()=>d,PlatformName:()=>v,SessionActions:()=>h,SessionAutomatedEvents:()=>w,SessionRank:()=>y,SubjectType:()=>p,UserTypeCommerce:()=>c,UserTypeInsto:()=>i,UserTypeRetail:()=>t,UserTypeRetailBusinessBanking:()=>s,UserTypeRetailEmployeeInternal:()=>a,UserTypeRetailEmployeePersonal:()=>o,UserTypeWallet:()=>u,automatedEvents:()=>xn,automatedMappingConfig:()=>In,clearMarkEntry:()=>Vn,clearPerformanceMarkEntries:()=>Xn,config:()=>A,createEventConfig:()=>On,createNewSpan:()=>Ln,createNewTrace:()=>Un,device:()=>W,endPerfMark:()=>Jn,exposeExperiment:()=>wn,flushQueue:()=>or,generateUUID:()=>V,getAnalyticsHeaders:()=>sr,getReferrerData:()=>le,getTracingHeaders:()=>An,getTracingId:()=>Dn,getUrlHostname:()=>pe,getUrlParams:()=>me,getUrlPathname:()=>fe,getUserContext:()=>ar,identify:()=>Tn,identifyFlow:()=>xe,identity:()=>H,identityFlow:()=>Se,incrementUjNavigation:()=>an,init:()=>yn,initNextJsTrackPageview:()=>_n,initTrackPageview:()=>kn,isEventKeyFormatValid:()=>we,isSessionEnded:()=>pt,location:()=>re,logEvent:()=>$t,logMetric:()=>Ht,logPageView:()=>on,logTrace:()=>Rn,markNTBT:()=>tn,markStep:()=>nn,markStepOnce:()=>rn,onVisibilityChange:()=>ln,optIn:()=>En,optOut:()=>Sn,perfMark:()=>Wn,persistentData:()=>oe,postMessage:()=>K,recordSessionDuration:()=>pn,removeFromIdentifyFlow:()=>Ee,savePersistentData:()=>st,sendScheduledEvents:()=>Bt,setBreadcrumbs:()=>ie,setConfig:()=>U,setLocation:()=>ae,setPagePath:()=>ve,setPageview:()=>Kt,setPersistentData:()=>se,setSessionStart:()=>dt,setTime:()=>Ue,startPerfMark:()=>Hn,timeStone:()=>Le,useEventLogger:()=>Yn,useLogEventOnMount:()=>tr,usePerformanceMarks:()=>rr});let e=function(e){return e.fbclid=\"fbclid\",e.gclid=\"gclid\",e.msclkid=\"msclkid\",e.ptclid=\"ptclid\",e.ttclid=\"ttclid\",e.utm_source=\"utm_source\",e.utm_medium=\"utm_medium\",e.utm_campaign=\"utm_campaign\",e.utm_term=\"utm_term\",e.utm_content=\"utm_content\",e}({});const t=0,i=1,a=2,o=3,s=4,c=5,u=6;let l=function(e){return e.low=\"low\",e.high=\"high\",e}({}),d=function(e){return e.count=\"count\",e.rate=\"rate\",e.gauge=\"gauge\",e.distribution=\"distribution\",e.histogram=\"histogram\",e}({}),p=function(e){return e.commerce_merchant=\"commerce_merchant\",e.device=\"device\",e.edp_fingerprint_id=\"edp_fingerprint_id\",e.nft_user=\"nft_user\",e.user=\"user\",e.wallet_user=\"wallet_user\",e.uuid=\"user_uuid\",e}({}),m=function(e){return e.unknown=\"unknown\",e.banner=\"banner\",e.button=\"button\",e.card=\"card\",e.chart=\"chart\",e.content_script=\"content_script\",e.dropdown=\"dropdown\",e.link=\"link\",e.page=\"page\",e.modal=\"modal\",e.table=\"table\",e.search_bar=\"search_bar\",e.service_worker=\"service_worker\",e.text=\"text\",e.text_input=\"text_input\",e.tray=\"tray\",e.checkbox=\"checkbox\",e.icon=\"icon\",e}({}),f=function(e){return e.unknown=\"unknown\",e.blur=\"blur\",e.click=\"click\",e.change=\"change\",e.dismiss=\"dismiss\",e.focus=\"focus\",e.hover=\"hover\",e.select=\"select\",e.measurement=\"measurement\",e.move=\"move\",e.process=\"process\",e.render=\"render\",e.scroll=\"scroll\",e.view=\"view\",e.search=\"search\",e.keyPress=\"keyPress\",e}({}),v=function(e){return e.unknown=\"unknown\",e.web=\"web\",e.android=\"android\",e.ios=\"ios\",e.mobile_web=\"mobile_web\",e.tablet_web=\"tablet_web\",e.server=\"server\",e.windows=\"windows\",e.macos=\"macos\",e.extension=\"extension\",e}({}),g=function(e){return e.web=\"Web\",e.ios=\"iOS\",e.android=\"Android\",e}({}),b=function(e){return e[e.notLoggedIn=0]=\"notLoggedIn\",e[e.loggedIn=1]=\"loggedIn\",e}({}),h=function(e){return e.ac=\"ac\",e.af=\"af\",e.ah=\"ah\",e.al=\"al\",e.am=\"am\",e.ar=\"ar\",e.as=\"as\",e}({}),w=function(e){return e.pv=\"pv\",e}({}),y=function(e){return e.xs=\"xs\",e.s=\"s\",e.m=\"m\",e.l=\"l\",e.xl=\"xl\",e.xxl=\"xxl\",e}({});const T=\"https://analytics-service-dev.cbhq.net\",k=3e5,_=5e3,S=\"analytics-db\",E=\"experiment-exposure-db\",x=\"Analytics SDK:\",O=Object.values(e),j=\"pageview\",N=\"session_duration\",I={navigationTiming:{eventName:\"perf_navigation_timing\"},redirectTime:{eventName:\"perf_redirect_time\"},RT:{eventName:\"perf_redirect_time\"},TTFB:{eventName:\"perf_time_to_first_byte\"},networkInformation:{eventName:\"perf_network_information\"},storageEstimate:{eventName:\"perf_storage_estimate\"},FCP:{eventName:\"perf_first_contentful_paint\"},FID:{eventName:\"perf_first_input_delay\"},LCP:{eventName:\"perf_largest_contentful_paint\"},CLS:{eventName:\"perf_cumulative_layout_shift\"},TBT:{eventName:\"perf_total_blocking_time\"},NTBT:{eventName:\"perf_navigation_total_blocking_time\"},INP:{eventName:\"perf_interact_to_next_paint\"},ET:{eventName:\"perf_element_timing\"},userJourneyStep:{eventName:\"perf_user_journey_step\"}},P=\"1\",M=\"web\";function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}const C=/^(https?:\\\\\\\\/\\\\\\\\/)/;function D(e){return{eventsEndpoint:e+\"/amp\",metricsEndPoint:e+\"/metrics\",exposureEndpoint:e+\"/track-exposures\",tracesEndpoint:e+\"/traces\"}}const A=B({authCookie:\"logged_in\",amplitudeApiKey:\"\",batchEventsPeriod:_,batchEventsThreshold:30,batchMetricsPeriod:_,batchMetricsThreshold:30,batchTracesPeriod:_,batchTracesThreshold:30,headers:{},interactionManager:null,isAlwaysAuthed:!1,isProd:!1,isInternalApplication:!1,onError:(e,t)=>{console.error(x,e,t)},platform:v.unknown,projectName:\"\",ricTimeoutScheduleEvent:1e3,ricTimeoutSetDevice:500,showDebugLogging:!1,trackUserId:!1,version:null,apiEndpoint:T},D(T),{steps:{}}),L=[].reduce(((e,t)=>n=>e(t(n))),(e=>{if(!e.isProd)return e.isInternalApplication?(e.apiEndpoint=\"https://analytics-service-internal-dev.cbhq.net\",B({},e,D(e.apiEndpoint))):e;const t=(e=>e.apiEndpoint?C.test(e.apiEndpoint)?e.apiEndpoint:`https://${e.apiEndpoint}`:e.isInternalApplication?\"https://analytics-service-internal.cbhq.net\":\"https://as.coinbase.com\")(e);return B({},e,{apiEndpoint:t},D(t))})),U=e=>{const{batchEventsThreshold:t,batchMetricsThreshold:n,batchTracesThreshold:r}=e,i=[t,n,r];for(const e of i)if((e||0)>30){console.warn(\"You are setting the threshhold for the batch limit to be greater than 30. This may cause request overload.\");break}Object.assign(A,L(e))},R=[v.web,v.mobile_web,v.tablet_web];function q(){return\"android\"===A.platform}function F(){return\"ios\"===A.platform}function z(){return R.includes(A.platform)}function K(e){if(z()&&navigator&&\"serviceWorker\"in navigator&&navigator.serviceWorker.controller)try{navigator.serviceWorker.controller.postMessage(e)}catch(e){e instanceof Error&&A.onError(e)}}var $=n(353),Q=n.n($);const W={amplitudeOSName:null,amplitudeOSVersion:null,amplitudeDeviceModel:null,amplitudePlatform:null,browserName:null,browserMajor:null,osName:null,userAgent:null,width:null,height:null},H={countryCode:null,deviceId:null,device_os:null,isOptOut:!1,languageCode:null,locale:null,jwt:null,session_lcc_id:null,userAgent:null,userId:null},V=e=>e?(e^16*Math.random()>>e/4).toString(16):\"10000000-1000-4000-8000-100000000000\".replace(/[018]/g,V),J=()=>A.isAlwaysAuthed||!!H.userId,X=()=>{const e={};return H.countryCode&&(e.country_code=H.countryCode),e},G=()=>{const{platform:e}=A;if(e===v.web)switch(!0){case window.matchMedia(\"(max-width: 560px)\").matches:return v.mobile_web;case window.matchMedia(\"(max-width: 1024px, min-width: 561px)\").matches:return v.tablet_web}return e},Z=()=>{var e,t,n,r,i;z()?(\"requestIdleCallback\"in window?window.requestIdleCallback(ne,{timeout:A.ricTimeoutSetDevice}):ne(),W.amplitudePlatform=g.web,W.userAgent=(null==(e=window)||null==(e=e.navigator)?void 0:e.userAgent)||null,ee({height:null!=(t=null==(n=window)?void 0:n.innerHeight)?t:null,width:null!=(r=null==(i=window)?void 0:i.innerWidth)?r:null})):F()?(W.amplitudePlatform=g.ios,W.userAgent=H.userAgent,W.userAgent&&ne()):q()&&(W.userAgent=H.userAgent,W.amplitudePlatform=g.android,W.userAgent&&ne())},Y=e=>{Object.assign(H,e),z()&&K({identity:{isAuthed:!!H.userId,locale:H.locale||null}})},ee=e=>{W.height=e.height,W.width=e.width},te=()=>{U({platform:G()}),z()&&K({config:{platform:A.platform}})},ne=()=>{var e;performance.mark&&performance.mark(\"ua_parser_start\");const t=new(Q())(null!=(e=W.userAgent)?e:\"\").getResult();W.browserName=t.browser.name||null,W.browserMajor=t.browser.major||null,W.osName=t.os.name||null,W.amplitudeOSName=W.browserName,W.amplitudeOSVersion=W.browserMajor,W.amplitudeDeviceModel=W.osName,K({device:{browserName:W.browserName,osName:W.osName}}),performance.mark&&(performance.mark(\"ua_parser_end\"),performance.measure(\"ua_parser\",\"ua_parser_start\",\"ua_parser_end\"))},re={breadcrumbs:[],initialUAAData:{},pageKey:\"\",pageKeyRegex:{},pagePath:\"\",prevPageKey:\"\",prevPagePath:\"\"};function ie(e){Object.assign(re,{breadcrumbs:e})}function ae(e){Object.assign(re,e)}const oe={eventId:0,sequenceNumber:0,sessionId:0,lastEventTime:0,sessionStart:0,sessionUUID:null,userId:null,ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0};function se(e){Object.assign(oe,e)}function ce(){var e,t;return null!=(e=null==(t=document)?void 0:t.referrer)?e:\"\"}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}const le=()=>{const e=ce();if(!e)return{};const t=new URL(e);return t.hostname===pe()?{}:{referrer:e,referring_domain:t.hostname}},de=()=>{const e=new URLSearchParams(me()),t={};return O.forEach((n=>{e.has(n)&&(t[n]=(e.get(n)||\"\").toLowerCase())})),t},pe=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.hostname)||\"\"},me=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.search)||\"\"},fe=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.pathname)||\"\"},ve=()=>{const e=A.overrideWindowLocation?re.pagePath:fe()+me();e&&e!==re.pagePath&&(e!==re.pagePath&&ge(),re.pagePath=e,re.pageKeyRegex&&Object.keys(re.pageKeyRegex).some((e=>{if(re.pageKeyRegex[e].test(re.pagePath))return re.pageKey=e,!0})))},ge=()=>{if(z()){const e=ce();if(!re.prevPagePath&&e){const t=new URL(e);if(t.hostname===pe())return void(re.prevPagePath=t.pathname)}}re.prevPagePath=re.pagePath,re.prevPageKey=re.pageKey},be=e=>{z()&&Object.assign(e,z()?(Object.keys(re.initialUAAData).length>0||(new URLSearchParams(me()),re.initialUAAData=ue({},(()=>{const e={};return O.forEach((t=>{oe[t]&&(e[t]=oe[t])})),e})(),de(),le())),re.initialUAAData):re.initialUAAData)},he=/^[a-zd]+(_[a-zd]+)*$/;function we(e){return he.test(e)}function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ye.apply(this,arguments)}const Te=[\"action\",\"component_type\",\"component_name\",\"context\",\"logging_id\"],ke=[\"num_non_hardware_accounts\",\"ujs\"],_e=\"ujs_\",Se={};function Ee(e){e.forEach((e=>{ke.includes(e)&&delete Se[e]}))}function xe(e){var t;const n=Object.entries(e).reduce(((e,t)=>{const[n,r]=t;return!Te.includes(n)&&ke.includes(n)?we(n)?ye({},e,{[n]:r}):(A.onError(new Error(\"IdentityFlow property names must have snake case format\"),{[n]:r}),e):e}),{});null!=(t=n.ujs)&&t.length&&(n.ujs=n.ujs.map((e=>`${_e}${e}`))),Object.assign(Se,n)}function Oe(){return A.platform!==v.unknown||(A.onError(new Error(\"SDK platform not initialized\")),!1)}const je={eventsQueue:[],eventsScheduled:!1,metricsQueue:[],metricsScheduled:!1,tracesQueue:[],tracesScheduled:!1};function Ne(e){Object.assign(je,e)}const Ie={ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0,sqs:0},Pe={ac:20,af:5,ah:1,al:1,am:0,ar:10,as:20},Me={pv:25},Be={xs:0,s:1,m:1,l:2,xl:2,xxl:2},Ce=e=>e<15?y.xs:e<60?y.s:e<240?y.m:e<960?y.l:e<3840?y.xl:y.xxl,De=e=>{Object.assign(Ie,e)};function Ae(){return(new Date).getTime()}const Le={timeStart:Ae(),timeOnPagePath:0,timeOnPageKey:0,prevTimeOnPagePath:0,prevTimeOnPageKey:0,sessionDuration:0,sessionEnd:0,sessionStart:0,prevSessionDuration:0};function Ue(e){Object.assign(Le,e)}const Re=(e,t)=>t.some((t=>e instanceof t));let qe,Fe;const ze=new WeakMap,Ke=new WeakMap,$e=new WeakMap,Qe=new WeakMap,We=new WeakMap;let He={get(e,t,n){if(e instanceof IDBTransaction){if(\"done\"===t)return Ke.get(e);if(\"objectStoreNames\"===t)return e.objectStoreNames||$e.get(e);if(\"store\"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Je(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&(\"done\"===t||\"store\"===t)||t in e};function Ve(e){return\"function\"==typeof e?(t=e)!==IDBDatabase.prototype.transaction||\"objectStoreNames\"in IDBTransaction.prototype?(Fe||(Fe=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(Xe(this),e),Je(ze.get(this))}:function(...e){return Je(t.apply(Xe(this),e))}:function(e,...n){const r=t.call(Xe(this),e,...n);return $e.set(r,e.sort?e.sort():[e]),Je(r)}:(e instanceof IDBTransaction&&function(e){if(Ke.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener(\"complete\",i),e.removeEventListener(\"error\",a),e.removeEventListener(\"abort\",a)},i=()=>{t(),r()},a=()=>{n(e.error||new DOMException(\"AbortError\",\"AbortError\")),r()};e.addEventListener(\"complete\",i),e.addEventListener(\"error\",a),e.addEventListener(\"abort\",a)}));Ke.set(e,t)}(e),Re(e,qe||(qe=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,He):e);var t}function Je(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener(\"success\",i),e.removeEventListener(\"error\",a)},i=()=>{t(Je(e.result)),r()},a=()=>{n(e.error),r()};e.addEventListener(\"success\",i),e.addEventListener(\"error\",a)}));return t.then((t=>{t instanceof IDBCursor&&ze.set(t,e)})).catch((()=>{})),We.set(t,e),t}(e);if(Qe.has(e))return Qe.get(e);const t=Ve(e);return t!==e&&(Qe.set(e,t),We.set(t,e)),t}const Xe=e=>We.get(e),Ge=[\"get\",\"getKey\",\"getAll\",\"getAllKeys\",\"count\"],Ze=[\"put\",\"add\",\"delete\",\"clear\"],Ye=new Map;function et(e,t){if(!(e instanceof IDBDatabase)||t in e||\"string\"!=typeof t)return;if(Ye.get(t))return Ye.get(t);const n=t.replace(/FromIndex$/,\"\"),r=t!==n,i=Ze.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!Ge.includes(n))return;const a=async function(e,...t){const a=this.transaction(e,i?\"readwrite\":\"readonly\");let o=a.store;return r&&(o=o.index(t.shift())),(await Promise.all([o[n](...t),i&&a.done]))[0]};return Ye.set(t,a),a}var tt;tt=He,He={...tt,get:(e,t,n)=>et(e,t)||tt.get(e,t,n),has:(e,t)=>!!et(e,t)||tt.has(e,t)};const nt={isReady:!1,idbKeyval:null};function rt(e){Object.assign(nt,e)}const it={},at=async e=>{if(!nt.idbKeyval)return Promise.resolve(null);try{return await nt.idbKeyval.get(e)}catch(e){return A.onError(new Error(\"IndexedDB:Get:InternalError\")),Promise.resolve(null)}},ot=async(e,t)=>{if(nt.idbKeyval)try{await nt.idbKeyval.set(e,t)}catch(e){A.onError(new Error(\"IndexedDB:Set:InternalError\"))}},st=()=>{\"server\"!==A.platform&&(se({sessionStart:Le.sessionStart,ac:Ie.ac,af:Ie.af,ah:Ie.ah,al:Ie.al,am:Ie.am,ar:Ie.ar,as:Ie.as,pv:Ie.pv}),H.userId&&se({userId:H.userId}),ot(S,oe))},ct=\"rgb(5,177,105)\",ut=e=>{const{metricName:t,data:n}=e,r=e.importance||l.low;if(!A.showDebugLogging||!console)return;const i=`%c ${x}`,a=`color:${ct};font-size:11px;`,o=`Importance: ${r}`;console.group(i,a,t,o),n.forEach((e=>{e.event_type?console.log(e.event_type,e):console.log(e)})),console.groupEnd()},lt=e=>{const{metricName:t,data:n}=e,r=e.importance||l.low;if(!A.showDebugLogging||!console)return;const i=`color:${ct};font-size:11px;`,a=`%c ${x}`,o=`Importance: ${r}`;console.log(a,i,t,n,o)},dt=()=>{const e=Ae();oe.sessionId&&oe.lastEventTime&&oe.sessionUUID&&!pt(e)||(oe.sessionId=e,oe.sessionUUID=V(),Ue({sessionStart:e}),lt({metricName:\"Started new session:\",data:{persistentData:oe,timeStone:Le}})),oe.lastEventTime=e},pt=e=>e-oe.lastEventTime>18e5;function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(this,arguments)}const ft=e=>{var t;(e=>{switch(e.action){case f.click:Ie.ac+=1;break;case f.focus:Ie.af+=1;break;case f.hover:Ie.ah+=1;break;case f.move:Ie.am+=1;break;case f.scroll:Ie.al+=1;break;case f.search:Ie.ar+=1;break;case f.select:Ie.as+=1}})(t=e),t.event_type!==j?t.event_type===N&&((e=>{if(!e.session_rank)return;const t=e.session_rank;Object.values(h).forEach((e=>{Ie.sqs+=Ie[e]*Pe[e]})),Object.values(w).forEach((e=>{Ie.sqs+=Ie[e]*Me[e]})),Ie.sqs*=Be[t]})(t),Object.assign(t,Ie),De({ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0,sqs:0})):Ie.pv+=1;const n=e.event_type;delete e.event_type;const r=e.deviceId?e.deviceId:null,i=e.timestamp;return delete e.timestamp,se({eventId:oe.eventId+1}),se({sequenceNumber:oe.sequenceNumber+1}),dt(),st(),{device_id:H.deviceId||r||null,user_id:H.userId,timestamp:i,event_id:oe.eventId,session_id:oe.sessionId||-1,event_type:n,version_name:A.version||null,platform:W.amplitudePlatform,os_name:W.amplitudeOSName,os_version:W.amplitudeOSVersion,device_model:W.amplitudeDeviceModel,language:H.languageCode,event_properties:mt({},e,{session_uuid:oe.sessionUUID,height:W.height,width:W.width}),user_properties:X(),uuid:V(),library:{name:\"@cbhq/client-analytics\",version:\"10.6.0\"},sequence_number:oe.sequenceNumber,user_agent:W.userAgent||H.userAgent}},vt=e=>e.map((e=>ft(e)));function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(this,arguments)}const bt=e=>e.map((e=>(e=>{const t=e.tags||{},n=gt({authed:J()?\"true\":\"false\",platform:A.platform},t,{project_name:A.projectName,version_name:A.version||null});return{metric_name:e.metricName,page_path:e.pagePath||null,value:e.value,tags:n,type:e.metricType}})(e))),ht=e=>0!==je.metricsQueue.length&&(je.metricsQueue.length>=A.batchMetricsThreshold||(je.metricsScheduled||(je.metricsScheduled=!0,setTimeout((()=>{je.metricsScheduled=!1,e(bt(je.metricsQueue)),je.metricsQueue=[]}),A.batchMetricsPeriod)),!1)),wt=e=>0!==je.tracesQueue.length&&(je.tracesQueue.length>=A.batchTracesThreshold||(je.tracesScheduled||(je.tracesScheduled=!0,setTimeout((()=>{je.tracesScheduled=!1,e(je.tracesQueue),je.tracesQueue=[]}),A.batchTracesPeriod)),!1)),yt=e=>{var t;z()&&null!=(t=window)&&t.requestIdleCallback?window.requestIdleCallback(e,{timeout:A.ricTimeoutScheduleEvent}):(q()||F())&&A.interactionManager?A.interactionManager.runAfterInteractions(e):e()};function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tt.apply(this,arguments)}const kt=\"application/x-www-form-urlencoded; charset=UTF-8\",_t=e=>{const{data:t,importance:n,isJSON:r,onError:i,url:a}=e,o=r?\"application/json\":kt,s=n||l.low,c=r?JSON.stringify(t):new URLSearchParams(t).toString();function u(){const e=new XMLHttpRequest;e.open(\"POST\",a,!0),Object.keys(A.headers||{}).forEach((t=>{e.setRequestHeader(t,A.headers[t])})),e.setRequestHeader(\"Content-Type\",kt),H.jwt&&e.setRequestHeader(\"authorization\",`Bearer ${H.jwt}`),e.send(c)}if(!z()||r||!(\"sendBeacon\"in navigator)||s!==l.low||A.headers&&0!==Object.keys(A.headers).length)if(z()&&!r)u();else{const e=Tt({},A.headers,{\"Content-Type\":o});H.jwt&&(e.Authorization=`Bearer ${H.jwt}`),fetch(a,{method:\"POST\",mode:\"no-cors\",headers:e,body:c}).catch((e=>{i(e,{context:\"AnalyticsSDKApiError\"})}))}else{const e=new Blob([c],{type:kt});try{navigator.sendBeacon.bind(navigator)(a,e)||u()}catch(e){console.error(e),u()}}};var St=n(762),Et=n.n(St);const xt=(e,t,n)=>{const r=e||\"\";return Et()(\"2\"+r+t+n)};function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(this,arguments)}class jt extends Error{constructor(e){super(e),this.name=\"CircularJsonReference\",this.message=e,\"function\"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}}class Nt extends jt{constructor(...e){super(...e),this.name=\"DomReferenceInAnalyticsEvent\"}}function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},It.apply(this,arguments)}const Pt=(e,t=l.low)=>{var n;e&&je.eventsQueue.push(e),nt.isReady&&(!A.trackUserId||H.userId?(t===l.high||(n=Mt,0!==je.eventsQueue.length&&(je.eventsQueue.length>=A.batchEventsThreshold||(je.eventsScheduled||(je.eventsScheduled=!0,setTimeout((()=>{je.eventsScheduled=!1,n(vt(je.eventsQueue)),je.eventsQueue=[]}),A.batchEventsPeriod)),0))))&&Bt():je.eventsQueue.length>10&&(A.trackUserId=!1,A.onError(new Error(\"userId not set in Logged-in\"))))},Mt=(e,t=l.low)=>{if(H.isOptOut||0===e.length)return;let n;try{n=JSON.stringify(e)}catch(t){const r=e.map((e=>e.event_type)).join(\", \"),[i,a]=(e=>{try{const n=[];for(const r of e){const e=Ot({},r);r.event_properties&&(e.event_properties=Ot({},e.event_properties,{currentTarget:null,target:null,relatedTarget:null,_dispatchInstances:null,_targetInst:null,view:(t=r.event_properties.view,[\"string\",\"number\",\"boolean\"].includes(typeof t)?r.event_properties.view:null)})),n.push(e)}return[!0,JSON.stringify(n)]}catch(e){return[!1,\"\"]}var t})(e);if(!i)return void A.onError(new jt(t instanceof Error?t.message:\"unknown\"),{listEventType:r});n=a,A.onError(new Nt(\"Found DOM element reference\"),{listEventType:r,stringifiedEventData:n})}const r=Ae().toString(),i=It({},{e:n,v:\"2\",upload_time:r},{client:A.amplitudeApiKey,checksum:xt(A.amplitudeApiKey,n,r)});_t({url:A.eventsEndpoint,data:i,importance:t,onError:A.onError}),ut({metricName:\"Batch Events\",data:e,importance:t})},Bt=()=>{Mt(vt(je.eventsQueue)),Ne({eventsQueue:[]})};function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(this,arguments)}const Dt=Object.values(f),At=Object.values(m),Lt=e=>Dt.includes(e)?e:f.unknown,Ut=e=>At.includes(e)?e:m.unknown,Rt=(e,t,n)=>{const r={auth:J()?b.loggedIn:b.notLoggedIn,action:Lt(e),component_type:Ut(t),logging_id:n,platform:A.platform,project_name:A.projectName};return\"number\"==typeof H.userTypeEnum&&(r.user_type_enum=H.userTypeEnum),r},qt=e=>{const t=Ae();if(!e)return A.onError(new Error(\"missing logData\")),Ct({},Rt(f.unknown,m.unknown),{locale:H.locale,session_lcc_id:H.session_lcc_id,timestamp:t,time_start:Le.timeStart});const n=Ct({},e,Rt(e.action,e.componentType,e.loggingId),{locale:H.locale,session_lcc_id:H.session_lcc_id,timestamp:t,time_start:Le.timeStart});return delete n.componentType,delete n.loggingId,n},Ft={blacklistRegex:[],isEnabled:!1};function zt(){return{page_key:re.pageKey,page_path:re.pagePath,prev_page_key:re.prevPageKey,prev_page_path:re.prevPagePath}}function Kt(e){Object.assign(Ft,e)}function $t(e,t,n=l.low){if(H.isOptOut)return;if(!Oe())return;const r=qt(t);!function(e){Ft.isEnabled&&(ve(),Object.assign(e,zt()))}(r),be(r),function(e){Object.keys(Se).length>0&&Object.assign(e,Se)}(r),r.has_double_fired=!1,r.event_type=e,n===l.high?Pt(r,n):yt((()=>{Pt(r)}))}function Qt(e,t=!1){t?_t({url:A.metricsEndPoint,data:{metrics:e},isJSON:!0,onError:A.onError}):yt((()=>{_t({url:A.metricsEndPoint,data:{metrics:e},isJSON:!0,onError:A.onError})})),ut({metricName:\"Batch Metrics\",data:e})}function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt.apply(this,arguments)}function Ht(e){if(!Oe())return;v.server!==A.platform&&!e.pagePath&&re.pagePath&&(e.pagePath=re.pagePath);const t=Object.keys(Se).length?Wt({},e.tags,Se):e.tags;t&&Object.assign(e,{tags:t}),je.metricsQueue.push(e),ht(Qt)&&(Qt(bt(je.metricsQueue)),je.metricsQueue=[])}function Vt(){return Vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vt.apply(this,arguments)}let Jt=function(e){return e.instant=\"instant\",e.quick=\"quick\",e.moderate=\"moderate\",e.slow=\"slow\",e.unavoidable=\"unavoidable\",e}({});function Xt(e){return e.toLowerCase()}let Gt={};const Zt=(e,t)=>{null!=A&&A.onMarkStep&&A.onMarkStep(e,t),xe({ujs:t})};let Yt;const en={Perfume:()=>{},markStep:e=>{},markStepOnce:e=>{},incrementUjNavigation:()=>{}},tn=()=>{z()&&Yt&&Yt.markNTBT&&Yt.markNTBT()},nn=e=>{z()&&Yt&&en.markStep&&en.markStep(e)},rn=e=>{z()&&Yt&&en.markStepOnce&&en.markStepOnce(e)},an=()=>{z()&&Yt&&en.incrementUjNavigation&&en.incrementUjNavigation()};function on(e={callMarkNTBT:!0}){\"unknown\"!==A.platform&&(Ft.blacklistRegex.some((e=>e.test(fe())))||($t(j,{action:f.render,componentType:m.page}),e.callMarkNTBT&&tn()))}let sn=!1,cn=!1;const un=e=>{sn=!e.persisted},ln=(e,t=\"hidden\",n=!1)=>{cn||(addEventListener(\"pagehide\",un),addEventListener(\"beforeunload\",(()=>{})),cn=!0),addEventListener(\"visibilitychange\",(({timeStamp:n})=>{document.visibilityState===t&&e({timeStamp:n,isUnloading:sn})}),{capture:!0,once:n})},dn=36e3;function pn(){const e=pt(Ae());if(e&&(O.forEach((e=>{oe[e]&&delete oe[e]})),st()),!oe.lastEventTime||!Le.sessionStart||!e)return;const t=Math.round((oe.lastEventTime-Le.sessionStart)/1e3);if(t<1||t>dn)return;const n=Ce(t);$t(N,{action:f.measurement,componentType:m.page,session_duration:t,session_end:oe.lastEventTime,session_start:Le.sessionStart,session_rank:n})}function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mn.apply(this,arguments)}const fn=[],vn=[],gn=()=>{const e=fn.shift();e&&e()},bn=()=>{const e=vn.shift();e&&e()};let hn={};function wn(e){const t=function(e){return{test_name:e.testName,group_name:e.group,subject_id:e.subjectId,exposed_at:Ae(),subject_type:e.subjectType,platform:A.platform}}(e);hn[e.testName]=hn[e.testName]||0,hn[e.testName]+k>Ae()?lt({metricName:`Event: exposeExperiment ${e.testName} not sent`,data:t}):(hn[e.testName]=Ae(),ot(E,hn),lt({metricName:`Event: exposeExperiment ${e.testName} sent`,data:t}),_t({url:A.exposureEndpoint,data:[t],onError:(t,n)=>{hn[e.testName]=0,ot(E,hn),A.onError(t,n)},isJSON:!0,importance:l.high}))}const yn=e=>{var t,r,i;U(e),z()&&(H.languageCode=(null==(t=navigator)?void 0:t.languages[0])||(null==(r=navigator)?void 0:r.language)||\"\"),te(),(()=>{var e;if(z()&&null!=(e=window)&&e.indexedDB){const e=function(e,t,{blocked:n,upgrade:r,blocking:i,terminated:a}={}){const o=indexedDB.open(e,t),s=Je(o);return r&&o.addEventListener(\"upgradeneeded\",(e=>{r(Je(o.result),e.oldVersion,e.newVersion,Je(o.transaction),e)})),n&&o.addEventListener(\"blocked\",(e=>n(e.oldVersion,e.newVersion,e))),s.then((e=>{a&&e.addEventListener(\"close\",(()=>a())),i&&e.addEventListener(\"versionchange\",(e=>i(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),s}(\"keyval-store\",1,{upgrade(e){e.createObjectStore(\"keyval\")}});rt({idbKeyval:{get:async t=>(await e).get(\"keyval\",t),set:async(t,n)=>(await e).put(\"keyval\",n,t),delete:async t=>(await e).delete(\"keyval\",t),keys:async()=>(await e).getAllKeys(\"keyval\")}})}else rt({idbKeyval:{get:async e=>new Promise((t=>{t(it[e])})),set:async(e,t)=>new Promise((n=>{it[e]=t,n(e)})),delete:async e=>new Promise((()=>{delete it[e]})),keys:async()=>new Promise((e=>{e(Object.keys(it))}))}})})(),lt({metricName:\"Initialized Analytics:\",data:{deviceId:H.deviceId}}),fn.push((()=>{Pt()})),(async()=>{const e=await at(S);rt({isReady:!0}),gn(),e&&(bn(),se({eventId:e.eventId||oe.eventId,sequenceNumber:e.sequenceNumber||oe.sequenceNumber,sessionId:e.sessionId||oe.sessionId,lastEventTime:e.lastEventTime||oe.lastEventTime,sessionUUID:e.sessionUUID||oe.sessionUUID}),function(e){se(mn({},function(e){const t={};return O.forEach((n=>{e[n]&&(t[n]=e[n])})),t}(e),de()))}(e),Ue({sessionStart:e.sessionStart||oe.sessionStart}),De({ac:e.ac||Ie.ac,af:e.af||Ie.af,ah:e.ah||Ie.ah,al:e.al||Ie.al,am:e.am||Ie.am,ar:e.ar||Ie.ar,as:e.as||Ie.as,pv:e.pv||Ie.pv}),A.trackUserId&&Y({userId:e.userId||H.userId}),pn(),lt({metricName:\"Initialized Analytics IndexedDB:\",data:e}))})(),async function(){at(E).then((e=>{hn=null!=e?e:{}})).catch((e=>{e instanceof Error&&A.onError(e)}))}(),Z(),z()&&(ln((()=>{se({lastEventTime:Ae()}),st(),Bt()}),\"hidden\"),ln((()=>{pn()}),\"visible\")),z()&&(i=()=>{var e,t,n,r;te(),ee({width:null!=(e=null==(t=window)?void 0:t.innerWidth)?e:null,height:null!=(n=null==(r=window)?void 0:r.innerHeight)?n:null})},addEventListener(\"resize\",(()=>{requestAnimationFrame((()=>{i()}))}))),(()=>{if(z())try{const e=n(2);en.markStep=e.markStep,en.markStepOnce=e.markStepOnce,en.incrementUjNavigation=e.incrementUjNavigation,Yt=new e.Perfume({analyticsTracker:e=>{const{data:t,attribution:n,metricName:r,navigatorInformation:i,rating:a}=e,o=I[r],s=(null==n?void 0:n.category)||null;if(!o&&!s)return;const c=(null==i?void 0:i.deviceMemory)||0,u=(null==i?void 0:i.hardwareConcurrency)||0,l=(null==i?void 0:i.isLowEndDevice)||!1,p=(null==i?void 0:i.isLowEndExperience)||!1,v=(null==i?void 0:i.serviceWorkerStatus)||\"unsupported\",g=Vt({deviceMemory:c,hardwareConcurrency:u,isLowEndDevice:l,isLowEndExperience:p,serviceWorkerStatus:v},Gt),b={is_low_end_device:l,is_low_end_experience:p,page_key:re.pageKey||\"\",save_data:t.saveData||!1,service_worker:v,is_perf_metric:!0};if(\"navigationTiming\"===r)t&&\"number\"==typeof t.redirectTime&&Ht({metricName:I.redirectTime.eventName,metricType:d.histogram,tags:b,value:t.redirectTime||0});else if(\"TTFB\"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,vitalsScore:a||null},g)),Ht({metricName:I.TTFB.eventName,metricType:d.histogram,tags:Vt({},b),value:t}),a&&Ht({metricName:`perf_web_vitals_ttfb_${a}`,metricType:d.count,tags:b,value:1});else if(\"networkInformation\"===r)null!=t&&t.effectiveType&&(Gt=t,$t(o.eventName,{action:f.measurement,componentType:m.page,networkInformationDownlink:t.downlink,networkInformationEffectiveType:t.effectiveType,networkInformationRtt:t.rtt,networkInformationSaveData:t.saveData,navigatorDeviceMemory:c,navigatorHardwareConcurrency:u}));else if(\"storageEstimate\"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page},t,g)),Ht({metricName:\"perf_storage_estimate_caches\",metricType:d.histogram,tags:b,value:t.caches}),Ht({metricName:\"perf_storage_estimate_indexed_db\",metricType:d.histogram,tags:b,value:t.indexedDB});else if(\"CLS\"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page,score:100*t||null,vitalsScore:a||null},g)),a&&Ht({metricName:`perf_web_vitals_cls_${a}`,metricType:d.count,tags:b,value:1});else if(\"FID\"===r){const e=(null==n?void 0:n.performanceEntry)||null,r=parseInt((null==e?void 0:e.processingStart)||\"\");$t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,processingStart:null!=e&&e.processingStart?r:null,startTime:null!=e&&e.startTime?parseInt(e.startTime):null,vitalsScore:a||null},g)),a&&Ht({metricName:`perf_web_vitals_fidVitals_${a}`,metricType:d.count,tags:b,value:1})}else\"userJourneyStep\"===r?($t(\"perf_user_journey_step\",Vt({action:f.measurement,componentType:m.page,duration:t||null,rating:null!=a?a:null,step_name:(null==n?void 0:n.stepName)||\"\"},g)),Ht({metricName:`user_journey_step.${A.projectName}.${A.platform}.${(null==n?void 0:n.stepName)||\"\"}_vitals_${a}`,metricType:d.count,tags:b,value:1}),Ht({metricName:`user_journey_step.${A.projectName}.${A.platform}.${(null==n?void 0:n.stepName)||\"\"}`,metricType:d.distribution,tags:b,value:t||null})):I[r]&&t&&($t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,vitalsScore:a||null},g)),a&&(Ht({metricName:`perf_web_vitals_${Xt(r)}_${a}`,metricType:d.count,tags:b,value:1}),\"LCP\"===r&&Ht({metricName:`perf_web_vitals_${Xt(r)}`,metricType:d.distribution,tags:b,value:t})))},maxMeasureTime:3e4,steps:A.steps,onMarkStep:Zt})}catch(e){e instanceof Error&&A.onError(e)}})()},Tn=e=>{Y(e),e.userAgent&&Z(),lt({metricName:\"Identify:\",data:{countryCode:H.countryCode,deviceId:H.deviceId,userId:H.userId}})},kn=({blacklistRegex:e,pageKeyRegex:t,browserHistory:n})=>{Kt({blacklistRegex:e||[],isEnabled:!0}),ae({pageKeyRegex:t}),on({callMarkNTBT:!1}),n.listen((()=>{on()}))},_n=({blacklistRegex:e,pageKeyRegex:t,nextJsRouter:n})=>{Kt({blacklistRegex:e||[],isEnabled:!0}),ae({pageKeyRegex:t}),on({callMarkNTBT:!1}),n.events.on(\"routeChangeComplete\",(()=>{on()}))},Sn=()=>{Y({isOptOut:!0}),ot(S,{})},En=()=>{Y({isOptOut:!1})},xn={Button:{label:\"cb_button\",uuid:\"e921a074-40e6-4371-8700-134d5cd633e6\",componentType:m.button}};function On(e,t,n){return{componentName:e,actions:t,data:n}}function jn(){return jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jn.apply(this,arguments)}function Nn(e,t,n){const{componentName:r,data:i}=n;$t(e.label,jn({componentType:e.componentType,action:t,loggingId:e.uuid,component_name:r},i))}const In={actionMapping:{onPress:f.click,onHover:f.hover},handlers:{Button:{[f.click]:e=>Nn(xn.Button,f.click,e),[f.hover]:e=>Nn(xn.Button,f.hover,e)}}};function Pn(e,t=!1){t?_t({url:A.tracesEndpoint,data:{traces:e},isJSON:!0,onError:A.onError}):yt((()=>{_t({url:A.tracesEndpoint,data:{traces:e},isJSON:!0,onError:A.onError})})),ut({metricName:\"Batch Traces\",data:e})}function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mn.apply(this,arguments)}const Bn=1e6;function Cn(e){return e*Bn}function Dn(e=function(){var e;return null==(e=window)?void 0:e.crypto}()){const t=new Uint32Array(2);return null==e||e.getRandomValues(t),((BigInt(t[0])<<BigInt(32))+BigInt(t[1])).toString()}function An(e,t){return{\"x-datadog-origin\":\"rum\",\"x-datadog-parent-id\":t,\"x-datadog-sampling-priority\":\"1\",\"x-datadog-trace-id\":e}}function Ln(e){var t;const{name:n,traceId:r,spanId:i,start:a,duration:o,resource:s,meta:c}=e;return{duration:o?Cn(o):0,name:n,resource:s,service:A.projectName,span_id:null!=i?i:Dn(),start:a?Cn(a):0,trace_id:null!=r?r:Dn(),parent_id:P,type:M,meta:Mn({platform:A.platform},re.pageKey?{page_key:re.pageKey}:{},null!=(t=Se.ujs)&&t.length?{last_ujs:Se.ujs[Se.ujs.length-1]}:{},null!=c?c:{})}}function Un(e){return[Ln(e)]}function Rn(e,t){Oe()&&function(e){return e.length>0}(e)&&(t&&function(e,t){e.forEach((e=>function(e,t){const n=Mn({},e.meta,t.meta),r={start:t.start?Cn(t.start):e.start,duration:t.duration?Cn(t.duration):e.duration};Object.assign(e,t,Mn({meta:n},r))}(e,t)))}(e,t),je.tracesQueue.push(e),wt(Pn)&&(Pn(je.tracesQueue),je.tracesQueue=[]))}function qn(e){var t=function(e,t){if(\"object\"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,\"string\");if(\"object\"!=typeof r)return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return String(e)}(e);return\"symbol\"==typeof t?t:String(t)}function Fn(){return Fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fn.apply(this,arguments)}function zn(){return void 0!==typeof window&&\"performance\"in window&&\"mark\"in performance&&\"getEntriesByName\"in performance}function Kn(e,t){return`perf_${e}${null!=t&&t.label?`_${t.label}`:\"\"}`}function $n(e,t,n){return`${Kn(e,n)}__${t}`}let Qn={};function Wn(e,t,n){if(!zn())return;const r=$n(e,t,n);if(performance.mark(r),\"end\"===t){const t=Kn(e,n);!function(e,t,n){try{performance.measure(e,t,n)}catch(e){A.onError(e)}}(t,$n(e,\"start\",n),r);const i=performance.getEntriesByName(t).pop();i&&Ht(Fn({metricName:e,metricType:d.distribution,value:i.duration},null!=n&&n.tags?{tags:n.tags}:{}))}}function Hn(e,t){if(!zn())return;const n=$n(e,\"start\",t);Qn[n]||(Wn(e,\"start\",t),Qn[n]=!0)}function Vn(e,t){const n=$n(e,\"start\",t),r=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(Qn,[n].map(qn));Qn=r}function Jn(e,t){if(!zn())return;const n=$n(e,\"start\",t);Qn[n]&&(Wn(e,\"end\",t),Vn(e,t))}function Xn(){zn()&&(performance.clearMarks(),Qn={})}var Gn=n(784);function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zn.apply(this,arguments)}function Yn(e,t,n=l.low){const r=(0,Gn.useRef)(t);return(0,Gn.useEffect)((()=>{r.current=t}),[t]),(0,Gn.useCallback)((t=>{$t(e,Zn({},r.current,t),n)}),[e,n])}function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},er.apply(this,arguments)}function tr(e,t,n=l.low){(0,Gn.useEffect)((()=>{const r=er({},t,{action:f.render});$t(e,r,n)}),[])}function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nr.apply(this,arguments)}const rr=function(e,t){return{markStartPerf:(0,Gn.useCallback)((()=>Hn(e,t)),[e,t]),markEndPerf:(0,Gn.useCallback)((n=>Jn(e,nr({},t,n))),[e,t])}};function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ir.apply(this,arguments)}function ar(){return Object.entries(ir({},Se,zt(),{sessionUUID:oe.sessionUUID,userId:oe.userId})).reduce(((e,t)=>{return null!=(n=t[1])&&\"\"!==n?ir({},e,{[t[0]]:t[1]}):e;var n}),{})}async function or(){return new Promise((e=>{Mt(vt(je.eventsQueue)),Qt(bt(je.metricsQueue),!0),Pn(je.tracesQueue,!0),Ne({eventsQueue:[],metricsQueue:[],tracesQueue:[]}),e()}))}function sr(){return{\"X-CB-Device-ID\":H.deviceId||\"unknown\",\"X-CB-Is-Logged-In\":H.userId?\"true\":\"false\",\"X-CB-Pagekey\":re.pageKey||\"unknown\",\"X-CB-UJS\":(e=Se.ujs,void 0===e||0===e.length?\"\":e.join(\",\")),\"X-CB-Platform\":A.platform||\"unknown\",\"X-CB-Project-Name\":A.projectName||\"unknown\",\"X-CB-Session-UUID\":oe.sessionUUID||\"unknown\",\"X-CB-Version-Name\":A.version?String(A.version):\"unknown\"};var e}})(),r})()}));\\'});var d9,I6t,pY=x(()=>{u();ou();bFe();d9=()=>new Promise((e,t)=>{if(window.ClientAnalytics)return e();try{let r=document.createElement(\"script\");r.textContent=yFe,r.type=\"text/javascript\",document.head.appendChild(r),I6t(),document.head.removeChild(r),e()}catch{console.error(\"Failed to execute inlined telemetry script\"),t()}}),I6t=()=>{var e,t,r;if(typeof window<\"u\"){let n=(r=(e=Ne.config.get().deviceId)!==null&&e!==void 0?e:(t=window.crypto)===null||t===void 0?void 0:t.randomUUID())!==null&&r!==void 0?r:\"\";if(window.ClientAnalytics){let{init:o,identify:i,PlatformName:c}=window.ClientAnalytics;o({isProd:!0,amplitudeApiKey:\"c66737ad47ec354ced777935b0af822e\",platform:c.web,projectName:\"base_account_sdk\",showDebugLogging:!1,version:\"1.0.0\",apiEndpoint:\"https://cca-lite.coinbase.com\"}),i({deviceId:n}),Ne.config.set({deviceId:n})}}}});var Hn,f9,Ck=x(()=>{u();Hn={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}},f9={\"-32700\":{standard:\"JSON RPC 2.0\",message:\"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.\"},\"-32600\":{standard:\"JSON RPC 2.0\",message:\"The JSON sent is not a valid Request object.\"},\"-32601\":{standard:\"JSON RPC 2.0\",message:\"The method does not exist / is not available.\"},\"-32602\":{standard:\"JSON RPC 2.0\",message:\"Invalid method parameter(s).\"},\"-32603\":{standard:\"JSON RPC 2.0\",message:\"Internal JSON-RPC error.\"},\"-32000\":{standard:\"EIP-1474\",message:\"Invalid input.\"},\"-32001\":{standard:\"EIP-1474\",message:\"Resource not found.\"},\"-32002\":{standard:\"EIP-1474\",message:\"Resource unavailable.\"},\"-32003\":{standard:\"EIP-1474\",message:\"Transaction rejected.\"},\"-32004\":{standard:\"EIP-1474\",message:\"Method not supported.\"},\"-32005\":{standard:\"EIP-1474\",message:\"Request limit exceeded.\"},4001:{standard:\"EIP-1193\",message:\"User rejected the request.\"},4100:{standard:\"EIP-1193\",message:\"The requested account and/or method has not been authorized by the user.\"},4200:{standard:\"EIP-1193\",message:\"The requested method is not supported by this Ethereum provider.\"},4900:{standard:\"EIP-1193\",message:\"The provider is disconnected from all chains.\"},4901:{standard:\"EIP-1193\",message:\"The provider is disconnected from the specified chain.\"},4902:{standard:\"EIP-3085\",message:\"Unrecognized chain ID.\"}}});function p9(e,t=vFe){if(e&&Number.isInteger(e)){let r=e.toString();if(mY(f9,r))return f9[r].message;if(EFe(e))return P6t}return t}function R6t(e){if(!Number.isInteger(e))return!1;let t=e.toString();return!!(f9[t]||EFe(e))}function wFe(e,{shouldIncludeStack:t=!1}={}){let r={};if(e&&typeof e==\"object\"&&!Array.isArray(e)&&mY(e,\"code\")&&R6t(e.code)){let n=e;r.code=n.code,n.message&&typeof n.message==\"string\"?(r.message=n.message,mY(n,\"data\")&&(r.data=n.data)):(r.message=p9(r.code),r.data={originalError:gFe(e)})}else r.code=Hn.rpc.internal,r.message=xFe(e,\"message\")?e.message:vFe,r.data={originalError:gFe(e)};return t&&(r.stack=xFe(e,\"stack\")?e.stack:void 0),r}function EFe(e){return e>=-32099&&e<=-32e3}function gFe(e){return e&&typeof e==\"object\"&&!Array.isArray(e)?Object.assign({},e):e}function mY(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function xFe(e,t){return typeof e==\"object\"&&e!==null&&t in e&&typeof e[t]==\"string\"}var vFe,P6t,hY=x(()=>{u();Ck();vFe=\"Unspecified error message.\",P6t=\"Unspecified server error.\"});function iu(e,t){let[r,n]=_Fe(t);return new Tk(e,r||p9(e),n)}function v2(e,t){let[r,n]=_Fe(t);return new m9(e,r||p9(e),n)}function _Fe(e){if(e){if(typeof e==\"string\")return[e];if(typeof e==\"object\"&&!Array.isArray(e)){let{message:t,data:r}=e;if(t&&typeof t!=\"string\")throw new Error(\"Must specify string message.\");return[t||void 0,r]}}return[]}function O6t(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}function yY(e){return typeof e==\"object\"&&e!==null&&\"code\"in e&&\"data\"in e&&e.code===-32090&&typeof e.data==\"object\"&&e.data!==null&&\"type\"in e.data&&e.data.type===\"INSUFFICIENT_FUNDS\"}function h9(e){return typeof e==\"object\"&&e!==null&&\"details\"in e}function SFe(e){try{let t=JSON.parse(e.details);return new Tk(t.code,t.message,t.data)}catch{return null}}var Oe,Tk,m9,ea=x(()=>{u();Ck();hY();Oe={rpc:{parse:e=>iu(Hn.rpc.parse,e),invalidRequest:e=>iu(Hn.rpc.invalidRequest,e),invalidParams:e=>iu(Hn.rpc.invalidParams,e),methodNotFound:e=>iu(Hn.rpc.methodNotFound,e),internal:e=>iu(Hn.rpc.internal,e),server:e=>{if(!e||typeof e!=\"object\"||Array.isArray(e))throw new Error(\"Ethereum RPC Server errors must provide single object argument.\");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error(\\'\"code\" must be an integer such that: -32099 <= code <= -32005\\');return iu(t,e)},invalidInput:e=>iu(Hn.rpc.invalidInput,e),resourceNotFound:e=>iu(Hn.rpc.resourceNotFound,e),resourceUnavailable:e=>iu(Hn.rpc.resourceUnavailable,e),transactionRejected:e=>iu(Hn.rpc.transactionRejected,e),methodNotSupported:e=>iu(Hn.rpc.methodNotSupported,e),limitExceeded:e=>iu(Hn.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>v2(Hn.provider.userRejectedRequest,e),unauthorized:e=>v2(Hn.provider.unauthorized,e),unsupportedMethod:e=>v2(Hn.provider.unsupportedMethod,e),disconnected:e=>v2(Hn.provider.disconnected,e),chainDisconnected:e=>v2(Hn.provider.chainDisconnected,e),unsupportedChain:e=>v2(Hn.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!=\"object\"||Array.isArray(e))throw new Error(\"Ethereum Provider custom errors must provide single object argument.\");let{code:t,message:r,data:n}=e;if(!r||typeof r!=\"string\")throw new Error(\\'\"message\" must be a nonempty string\\');return new m9(t,r,n)}}};Tk=class extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw new Error(\\'\"code\" must be an integer.\\');if(!r||typeof r!=\"string\")throw new Error(\\'\"message\" must be a nonempty string.\\');super(r),this.code=t,n!==void 0&&(this.data=n)}},m9=class extends Tk{constructor(t,r,n){if(!O6t(t))throw new Error(\\'\"code\" must be an integer such that: 1000 <= code <= 4999\\');super(t,r,n)}}});function bY(){return e=>e}function al(e){return Math.floor(e)}var w2,AFe,B6t,gY=x(()=>{u();w2=bY(),AFe=bY();B6t=bY()});function Dp(e){return Ik(crypto.getRandomValues(new Uint8Array(e)))}function Ik(e){return[...e].map(t=>t.toString(16).padStart(2,\"0\")).join(\"\")}function E2(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>Number.parseInt(t,16)))}function fg(e,t=!1){let r=e.toString(\"hex\");return w2(t?`0x${r}`:r)}function y9(e){return fg(x9(e),!0)}function sl(e){return AFe(e.toString(10))}function Np(e){return w2(`0x${BigInt(e).toString(16)}`)}function TFe(e){return e.startsWith(\"0x\")||e.startsWith(\"0X\")}function xY(e){return TFe(e)?e.slice(2):e}function vY(e){return TFe(e)?`0x${e.slice(2)}`:`0x${e}`}function b9(e){if(typeof e!=\"string\")return!1;let t=xY(e).toLowerCase();return CFe.test(t)}function g9(e,t=!1){if(typeof e==\"string\"){let r=xY(e).toLowerCase();if(CFe.test(r))return w2(t?`0x${r}`:r)}throw Oe.rpc.invalidParams(`\"${String(e)}\" is not a hexadecimal string`)}function wY(e,t=!1){let r=g9(e,!1);return r.length%2===1&&(r=w2(`0${r}`)),t?w2(`0x${r}`):r}function Up(e){if(typeof e==\"string\"){let t=xY(e).toLowerCase();if(b9(t)&&t.length===40)return vY(t)}throw Oe.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}function x9(e){if(globalThis.Buffer.isBuffer(e))return e;if(typeof e==\"string\"){if(b9(e)){let t=wY(e,!1);return globalThis.Buffer.from(t,\"hex\")}return globalThis.Buffer.from(e,\"utf8\")}throw Oe.rpc.invalidParams(`Not binary data: ${String(e)}`)}function pg(e){if(typeof e==\"number\"&&Number.isInteger(e))return al(e);if(typeof e==\"string\"){if(kFe.test(e))return al(Number(e));if(b9(e))return al(Number(BigInt(wY(e,!0))))}throw Oe.rpc.invalidParams(`Not an integer: ${String(e)}`)}function _2(e){if(e!==null&&(typeof e==\"bigint\"||M6t(e)))return BigInt(e.toString(10));if(typeof e==\"number\")return BigInt(pg(e));if(typeof e==\"string\"){if(kFe.test(e))return BigInt(e);if(b9(e))return BigInt(wY(e,!0))}throw Oe.rpc.invalidParams(`Not an integer: ${String(e)}`)}function IFe(e){if(typeof e==\"string\")return JSON.parse(e);if(typeof e==\"object\")return e;throw Oe.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}function M6t(e){if(e==null||typeof e.constructor!=\"function\")return!1;let{constructor:t}=e;return typeof t.config==\"function\"&&typeof t.EUCLID==\"number\"}function PFe(){let e=document.querySelector(\\'link[sizes=\"192x192\"]\\')||document.querySelector(\\'link[sizes=\"180x180\"]\\')||document.querySelector(\\'link[rel=\"icon\"]\\')||document.querySelector(\\'link[rel=\"shortcut icon\"]\\'),{protocol:t,host:r}=document.location,n=e?e.getAttribute(\"href\"):null;return!n||n.startsWith(\"javascript:\")||n.startsWith(\"vbscript:\")?`${t}//${r}/favicon.ico`:n.startsWith(\"http://\")||n.startsWith(\"https://\")||n.startsWith(\"data:\")?n:n.startsWith(\"//\")?t+n:`${t}//${r}${n}`}var kFe,CFe,cl=x(()=>{u();ea();gY();kFe=/^[0-9]*$/,CFe=/^[a-f0-9]*$/});var D6t,N6t,v9,RFe,w9=x(()=>{u();D6t=`Coinbase Wallet SDK requires the Cross-Origin-Opener-Policy header to not be set to \\'same-origin\\'. This is to ensure that the SDK can communicate with the Coinbase Smart Wallet app.\\n\\nPlease see https://www.smartwallet.dev/guides/tips/popup-tips#cross-origin-opener-policy for more information.`,N6t=()=>{let e;return{getCrossOriginOpenerPolicy:()=>e===void 0?\"undefined\":e,checkCrossOriginOpenerPolicy:async()=>{if(typeof window>\"u\"){e=\"non-browser-env\";return}try{let t=`${window.location.origin}${window.location.pathname}`,r=await fetch(t,{method:\"HEAD\"});if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);let n=r.headers.get(\"Cross-Origin-Opener-Policy\");e=n??\"null\",e===\"same-origin\"&&console.error(D6t)}catch(t){console.error(\"Error checking Cross-Origin-Opener-Policy:\",t.message),e=\"error\"}}}},{checkCrossOriginOpenerPolicy:v9,getCrossOriginOpenerPolicy:RFe}=N6t()});async function p0(e,t){let r=Object.assign(Object.assign({},e),{jsonrpc:\"2.0\",id:crypto.randomUUID()}),n=await window.fetch(t,{method:\"POST\",body:JSON.stringify(r),mode:\"cors\",headers:{\"Content-Type\":\"application/json\",\"X-Cbw-Sdk-Version\":nu,\"X-Cbw-Sdk-Platform\":l9}}),{result:o,error:i}=await n.json();if(i)throw i;return o}function U6t(){return globalThis.coinbaseWalletExtension}function $6t(){var e,t;try{let r=globalThis;return(e=r.ethereum)!==null&&e!==void 0?e:(t=r.top)===null||t===void 0?void 0:t.ethereum}catch{return}}function E9({metadata:e,preference:t}){var r,n;let{appName:o,appLogoUrl:i,appChainIds:c}=e;if(t.options!==\"smartWalletOnly\"){let f=U6t();if(f)return(r=f.setAppInfo)===null||r===void 0||r.call(f,o,i,c,t),f}let l=$6t();if(l?.isCoinbaseBrowser)return(n=l.setAppInfo)===null||n===void 0||n.call(l,o,i,c,t),l}function OFe(e){if(!e||typeof e!=\"object\"||Array.isArray(e))throw Oe.rpc.invalidParams({message:\"Expected a single, non-array, object argument.\",data:e});let{method:t,params:r}=e;if(typeof t!=\"string\"||t.length===0)throw Oe.rpc.invalidParams({message:\"\\'args.method\\' must be a non-empty string.\",data:e});if(r!==void 0&&!Array.isArray(r)&&(typeof r!=\"object\"||r===null))throw Oe.rpc.invalidParams({message:\"\\'args.params\\' must be an object or array if provided.\",data:e});switch(t){case\"eth_sign\":case\"eth_signTypedData_v2\":case\"eth_subscribe\":case\"eth_unsubscribe\":throw Oe.provider.unsupportedMethod()}}var S2=x(()=>{u();dg();ea()});function _9(e){if(e){if(![\"all\",\"smartWalletOnly\",\"eoaOnly\"].includes(e.options))throw new Error(`Invalid options: ${e.options}`);if(e.attribution&&e.attribution.auto!==void 0&&e.attribution.dataSuffix!==void 0)throw new Error(\"Attribution cannot contain both auto and dataSuffix properties\");if(e.telemetry&&typeof e.telemetry!=\"boolean\")throw new Error(\"Telemetry must be a boolean\")}}function EY(e){if(typeof e!=\"function\")throw new Error(\"toAccount is not a function\")}var _Y=x(()=>{u()});var BFe,S9,SY,MFe,A2=x(()=>{u();BFe=\"https://keys.coinbase.com/connect\",S9=\"https://rpc.wallet.coinbase.com\",SY=\"https://www.walletlink.org\",MFe=\"https://go.cb-w.com/walletlink\"});function Ht(e,t,r){var n,o,i,c;window.ClientAnalytics&&((n=window.ClientAnalytics)===null||n===void 0||n.logEvent(e,Object.assign(Object.assign({},t),{sdkVersion:nu,appName:(i=(o=Ne.config.get().metadata)===null||o===void 0?void 0:o.appName)!==null&&i!==void 0?i:\"\",appOrigin:window.location.origin,appPreferredSigner:(c=Ne.config.get().preference)===null||c===void 0?void 0:c.options}),r))}var It,Pt,Rt,m0=x(()=>{u();ou();dg();(function(e){e.unknown=\"unknown\",e.banner=\"banner\",e.button=\"button\",e.card=\"card\",e.chart=\"chart\",e.content_script=\"content_script\",e.dropdown=\"dropdown\",e.link=\"link\",e.page=\"page\",e.modal=\"modal\",e.table=\"table\",e.search_bar=\"search_bar\",e.service_worker=\"service_worker\",e.text=\"text\",e.text_input=\"text_input\",e.tray=\"tray\",e.checkbox=\"checkbox\",e.icon=\"icon\"})(It||(It={}));(function(e){e.unknown=\"unknown\",e.blur=\"blur\",e.click=\"click\",e.change=\"change\",e.dismiss=\"dismiss\",e.focus=\"focus\",e.hover=\"hover\",e.select=\"select\",e.measurement=\"measurement\",e.move=\"move\",e.process=\"process\",e.render=\"render\",e.scroll=\"scroll\",e.view=\"view\",e.search=\"search\",e.keyPress=\"keyPress\",e.error=\"error\"})(Pt||(Pt={}));(function(e){e.low=\"low\",e.high=\"high\"})(Rt||(Rt={}))});var DFe,NFe,UFe,$Fe=x(()=>{u();m0();DFe=()=>{Ht(\"communicator.popup_setup.started\",{action:Pt.unknown,componentType:It.unknown},Rt.high)},NFe=()=>{Ht(\"communicator.popup_setup.completed\",{action:Pt.unknown,componentType:It.unknown},Rt.high)},UFe=()=>{Ht(\"communicator.popup_unload.received\",{action:Pt.unknown,componentType:It.unknown},Rt.high)}});var k2,$p,A9=x(()=>{u();m0();k2=({snackbarContext:e})=>{Ht(`snackbar.${e}.shown`,{action:Pt.render,componentType:It.modal,snackbarContext:e},Rt.high)},$p=({snackbarContext:e,snackbarAction:t})=>{Ht(`snackbar.${e}.action_clicked`,{action:Pt.click,componentType:It.button,snackbarContext:e,snackbarAction:t},Rt.high)}});var zFe,LFe=x(()=>{u();zFe=\\'@namespace svg \"http://www.w3.org/2000/svg\";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Helvetica Neue\",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:\"\\\\\\\\201C\" \"\\\\\\\\201D\" \"\\\\\\\\2018\" \"\\\\\\\\2019\";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Helvetica Neue\",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}\\'});function k9(){let e=document.createElement(\"style\");e.type=\"text/css\",e.appendChild(document.createTextNode(zFe)),document.documentElement.appendChild(e)}var AY=x(()=>{u();LFe()});var C2={};an(C2,{clsx:()=>zp,default:()=>z6t});function HFe(e){var t,r,n=\"\";if(typeof e==\"string\"||typeof e==\"number\")n+=e;else if(typeof e==\"object\")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=HFe(e[t]))&&(n&&(n+=\" \"),n+=r);else for(t in e)e[t]&&(n&&(n+=\" \"),n+=t);return n}function zp(){for(var e,t,r=0,n=\"\";r<arguments.length;)(e=arguments[r++])&&(t=HFe(e))&&(n&&(n+=\" \"),n+=t);return n}var z6t,h0=x(()=>{u();z6t=zp});function y0(e,t){for(var r in t)e[r]=t[r];return e}function WFe(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function en(e,t,r){var n,o,i,c={};for(i in t)i==\"key\"?n=t[i]:i==\"ref\"?o=t[i]:c[i]=t[i];if(arguments.length>2&&(c.children=arguments.length>3?R9.call(arguments,2):r),typeof e==\"function\"&&e.defaultProps!=null)for(i in e.defaultProps)c[i]===void 0&&(c[i]=e.defaultProps[i]);return T9(e,c,n,o,null)}function T9(e,t,r,n,o){var i={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++GFe,__i:-1,__u:0};return o==null&&Dn.vnode!=null&&Dn.vnode(i),i}function O9(e){return e.children}function I9(e,t){this.props=e,this.context=t}function T2(e,t){if(t==null)return e.__?T2(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type==\"function\"?T2(e):null}function JFe(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return JFe(e)}}function FFe(e){(!e.__d&&(e.__d=!0)&&mg.push(e)&&!P9.__r++||jFe!==Dn.debounceRendering)&&((jFe=Dn.debounceRendering)||KFe)(P9)}function P9(){var e,t,r,n,o,i,c,l;for(mg.sort(kY);e=mg.shift();)e.__d&&(t=mg.length,n=void 0,i=(o=(r=e).__v).__e,c=[],l=[],r.__P&&((n=y0({},o)).__v=o.__v+1,Dn.vnode&&Dn.vnode(n),RY(r.__P,n,o,r.__n,r.__P.namespaceURI,32&o.__u?[i]:null,c,i??T2(o),!!(32&o.__u),l),n.__v=o.__v,n.__.__k[n.__i]=n,XFe(c,n,l),n.__e!=i&&JFe(n)),mg.length>t&&mg.sort(kY));P9.__r=0}function QFe(e,t,r,n,o,i,c,l,f,p,h){var y,w,E,A,C,R=n&&n.__k||ZFe,M=t.length;for(r.__d=f,F6t(r,t,R),f=r.__d,y=0;y<M;y++)(E=r.__k[y])!=null&&(w=E.__i===-1?Pk:R[E.__i]||Pk,E.__i=y,RY(e,E,w,o,i,c,l,f,p,h),A=E.__e,E.ref&&w.ref!=E.ref&&(w.ref&&OY(w.ref,null,E),h.push(E.ref,E.__c||A,E)),C==null&&A!=null&&(C=A),65536&E.__u||w.__k===E.__k?f=YFe(E,f,e):typeof E.type==\"function\"&&E.__d!==void 0?f=E.__d:A&&(f=A.nextSibling),E.__d=void 0,E.__u&=-196609);r.__d=f,r.__e=C}function F6t(e,t,r){var n,o,i,c,l,f=t.length,p=r.length,h=p,y=0;for(e.__k=[],n=0;n<f;n++)(o=t[n])!=null&&typeof o!=\"boolean\"&&typeof o!=\"function\"?(c=n+y,(o=e.__k[n]=typeof o==\"string\"||typeof o==\"number\"||typeof o==\"bigint\"||o.constructor==String?T9(null,o,null,null,null):PY(o)?T9(O9,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?T9(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,(l=o.__i=V6t(o,r,c,h))!==-1&&(h--,(i=r[l])&&(i.__u|=131072)),i==null||i.__v===null?(l==-1&&y--,typeof o.type!=\"function\"&&(o.__u|=65536)):l!==c&&(l==c-1?y--:l==c+1?y++:(l>c?y--:y++,o.__u|=65536))):o=e.__k[n]=null;if(h)for(n=0;n<p;n++)(i=r[n])!=null&&(131072&i.__u)==0&&(i.__e==e.__d&&(e.__d=T2(i)),eVe(i,i))}function YFe(e,t,r){var n,o;if(typeof e.type==\"function\"){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,t=YFe(n[o],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=T2(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function V6t(e,t,r,n){var o=e.key,i=e.type,c=r-1,l=r+1,f=t[r];if(f===null||f&&o==f.key&&i===f.type&&(131072&f.__u)==0)return r;if(n>(f!=null&&(131072&f.__u)==0?1:0))for(;c>=0||l<t.length;){if(c>=0){if((f=t[c])&&(131072&f.__u)==0&&o==f.key&&i===f.type)return c;c--}if(l<t.length){if((f=t[l])&&(131072&f.__u)==0&&o==f.key&&i===f.type)return l;l++}}return-1}function VFe(e,t,r){t[0]===\"-\"?e.setProperty(t,r??\"\"):e[t]=r==null?\"\":typeof r!=\"number\"||j6t.test(t)?r:r+\"px\"}function C9(e,t,r,n,o){var i;e:if(t===\"style\")if(typeof r==\"string\")e.style.cssText=r;else{if(typeof n==\"string\"&&(e.style.cssText=n=\"\"),n)for(t in n)r&&t in r||VFe(e.style,t,\"\");if(r)for(t in r)n&&r[t]===n[t]||VFe(e.style,t,r[t])}else if(t[0]===\"o\"&&t[1]===\"n\")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,\"$1\")),t=t.toLowerCase()in e||t===\"onFocusOut\"||t===\"onFocusIn\"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n?r.u=n.u:(r.u=IY,e.addEventListener(t,i?TY:CY,i)):e.removeEventListener(t,i?TY:CY,i);else{if(o==\"http://www.w3.org/2000/svg\")t=t.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(t!=\"width\"&&t!=\"height\"&&t!=\"href\"&&t!=\"list\"&&t!=\"form\"&&t!=\"tabIndex\"&&t!=\"download\"&&t!=\"rowSpan\"&&t!=\"colSpan\"&&t!=\"role\"&&t!=\"popover\"&&t in e)try{e[t]=r??\"\";break e}catch{}typeof r==\"function\"||(r==null||r===!1&&t[4]!==\"-\"?e.removeAttribute(t):e.setAttribute(t,t==\"popover\"&&r==1?\"\":r))}}function qFe(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=IY++;else if(t.t<r.u)return;return r(Dn.event?Dn.event(t):t)}}}function RY(e,t,r,n,o,i,c,l,f,p){var h,y,w,E,A,C,R,M,D,$,H,V,G,K,Q,X,Y=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(f=!!(32&r.__u),i=[l=t.__e=r.__e]),(h=Dn.__b)&&h(t);e:if(typeof Y==\"function\")try{if(M=t.props,D=\"prototype\"in Y&&Y.prototype.render,$=(h=Y.contextType)&&n[h.__c],H=h?$?$.props.value:h.__:n,r.__c?R=(y=t.__c=r.__c).__=y.__E:(D?t.__c=y=new Y(M,H):(t.__c=y=new I9(M,H),y.constructor=Y,y.render=G6t),$&&$.sub(y),y.props=M,y.state||(y.state={}),y.context=H,y.__n=n,w=y.__d=!0,y.__h=[],y._sb=[]),D&&y.__s==null&&(y.__s=y.state),D&&Y.getDerivedStateFromProps!=null&&(y.__s==y.state&&(y.__s=y0({},y.__s)),y0(y.__s,Y.getDerivedStateFromProps(M,y.__s))),E=y.props,A=y.state,y.__v=t,w)D&&Y.getDerivedStateFromProps==null&&y.componentWillMount!=null&&y.componentWillMount(),D&&y.componentDidMount!=null&&y.__h.push(y.componentDidMount);else{if(D&&Y.getDerivedStateFromProps==null&&M!==E&&y.componentWillReceiveProps!=null&&y.componentWillReceiveProps(M,H),!y.__e&&(y.shouldComponentUpdate!=null&&y.shouldComponentUpdate(M,y.__s,H)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(y.props=M,y.state=y.__s,y.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(fe){fe&&(fe.__=t)}),V=0;V<y._sb.length;V++)y.__h.push(y._sb[V]);y._sb=[],y.__h.length&&c.push(y);break e}y.componentWillUpdate!=null&&y.componentWillUpdate(M,y.__s,H),D&&y.componentDidUpdate!=null&&y.__h.push(function(){y.componentDidUpdate(E,A,C)})}if(y.context=H,y.props=M,y.__P=e,y.__e=!1,G=Dn.__r,K=0,D){for(y.state=y.__s,y.__d=!1,G&&G(t),h=y.render(y.props,y.state,y.context),Q=0;Q<y._sb.length;Q++)y.__h.push(y._sb[Q]);y._sb=[]}else do y.__d=!1,G&&G(t),h=y.render(y.props,y.state,y.context),y.state=y.__s;while(y.__d&&++K<25);y.state=y.__s,y.getChildContext!=null&&(n=y0(y0({},n),y.getChildContext())),D&&!w&&y.getSnapshotBeforeUpdate!=null&&(C=y.getSnapshotBeforeUpdate(E,A)),QFe(e,PY(X=h!=null&&h.type===O9&&h.key==null?h.props.children:h)?X:[X],t,r,n,o,i,c,l,f,p),y.base=t.__e,t.__u&=-161,y.__h.length&&c.push(y),R&&(y.__E=y.__=null)}catch(fe){if(t.__v=null,f||i!=null){for(t.__u|=f?160:32;l&&l.nodeType===8&&l.nextSibling;)l=l.nextSibling;i[i.indexOf(l)]=null,t.__e=l}else t.__e=r.__e,t.__k=r.__k;Dn.__e(fe,t,r)}else i==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=q6t(r.__e,t,r,n,o,i,c,f,p);(h=Dn.diffed)&&h(t)}function XFe(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)OY(r[n],r[++n],r[++n]);Dn.__c&&Dn.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){Dn.__e(i,o.__v)}})}function q6t(e,t,r,n,o,i,c,l,f){var p,h,y,w,E,A,C,R=r.props,M=t.props,D=t.type;if(D===\"svg\"?o=\"http://www.w3.org/2000/svg\":D===\"math\"?o=\"http://www.w3.org/1998/Math/MathML\":o||(o=\"http://www.w3.org/1999/xhtml\"),i!=null){for(p=0;p<i.length;p++)if((E=i[p])&&\"setAttribute\"in E==!!D&&(D?E.localName===D:E.nodeType===3)){e=E,i[p]=null;break}}if(e==null){if(D===null)return document.createTextNode(M);e=document.createElementNS(o,D,M.is&&M),l&&(Dn.__m&&Dn.__m(t,i),l=!1),i=null}if(D===null)R===M||l&&e.data===M||(e.data=M);else{if(i=i&&R9.call(e.childNodes),R=r.props||Pk,!l&&i!=null)for(R={},p=0;p<e.attributes.length;p++)R[(E=e.attributes[p]).name]=E.value;for(p in R)if(E=R[p],p!=\"children\"){if(p==\"dangerouslySetInnerHTML\")y=E;else if(!(p in M)){if(p==\"value\"&&\"defaultValue\"in M||p==\"checked\"&&\"defaultChecked\"in M)continue;C9(e,p,null,E,o)}}for(p in M)E=M[p],p==\"children\"?w=E:p==\"dangerouslySetInnerHTML\"?h=E:p==\"value\"?A=E:p==\"checked\"?C=E:l&&typeof E!=\"function\"||R[p]===E||C9(e,p,E,R[p],o);if(h)l||y&&(h.__html===y.__html||h.__html===e.innerHTML)||(e.innerHTML=h.__html),t.__k=[];else if(y&&(e.innerHTML=\"\"),QFe(e,PY(w)?w:[w],t,r,n,D===\"foreignObject\"?\"http://www.w3.org/1999/xhtml\":o,i,c,i?i[0]:r.__k&&T2(r,0),l,f),i!=null)for(p=i.length;p--;)WFe(i[p]);l||(p=\"value\",D===\"progress\"&&A==null?e.removeAttribute(\"value\"):A!==void 0&&(A!==e[p]||D===\"progress\"&&!A||D===\"option\"&&A!==R[p])&&C9(e,p,A,R[p],o),p=\"checked\",C!==void 0&&C!==e[p]&&C9(e,p,C,R[p],o))}return e}function OY(e,t,r){try{if(typeof e==\"function\"){var n=typeof e.__u==\"function\";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(o){Dn.__e(o,r)}}function eVe(e,t,r){var n,o;if(Dn.unmount&&Dn.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||OY(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){Dn.__e(i,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&eVe(n[o],t,r||typeof e.type!=\"function\");r||WFe(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function G6t(e,t,r){return this.constructor(e,r)}function Rk(e,t,r){var n,o,i,c;Dn.__&&Dn.__(e,t),o=(n=typeof r==\"function\")?null:r&&r.__k||t.__k,i=[],c=[],RY(t,e=(!n&&r||t).__k=en(O9,null,[e]),o||Pk,Pk,t.namespaceURI,!n&&r?[r]:o?null:t.firstChild?R9.call(t.childNodes):null,i,!n&&r?r:o?o.__e:t.firstChild,n,c),XFe(i,e,c)}var R9,Dn,GFe,L6t,mg,jFe,KFe,kY,IY,CY,TY,H6t,Pk,ZFe,j6t,PY,I2=x(()=>{u();Pk={},ZFe=[],j6t=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,PY=Array.isArray;R9=ZFe.slice,Dn={__e:function(e,t,r,n){for(var o,i,c;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),c=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),c=o.__d),c)return o.__E=o}catch(l){e=l}throw e}},GFe=0,L6t=function(e){return e!=null&&e.constructor==null},I9.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=y0({},this.state),typeof e==\"function\"&&(e=e(y0({},r),this.props)),e&&y0(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),FFe(this))},I9.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),FFe(this))},I9.prototype.render=O9,mg=[],KFe=typeof Promise==\"function\"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,kY=function(e,t){return e.__v.__b-t.__v.__b},P9.__r=0,IY=0,CY=qFe(!1),TY=qFe(!0),H6t=0});function lVe(e,t){zo.__h&&zo.__h(ko,e,MY||t),MY=0;var r=ko.__H||(ko.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function NY(e){return MY=1,K6t(fVe,e)}function K6t(e,t,r){var n=lVe(M9++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):fVe(void 0,t),function(l){var f=n.__N?n.__N[0]:n.__[0],p=n.t(f,l);f!==p&&(n.__N=[p,n.__[1]],n.__c.setState({}))}],n.__c=ko,!ko.u)){var o=function(l,f,p){if(!n.__c.__H)return!0;var h=n.__c.__H.__.filter(function(w){return!!w.__c});if(h.every(function(w){return!w.__N}))return!i||i.call(this,l,f,p);var y=!1;return h.forEach(function(w){if(w.__N){var E=w.__[0];w.__=w.__N,w.__N=void 0,E!==w.__[0]&&(y=!0)}}),!(!y&&n.__c.props===l)&&(!i||i.call(this,l,f,p))};ko.u=!0;var i=ko.shouldComponentUpdate,c=ko.componentWillUpdate;ko.componentWillUpdate=function(l,f,p){if(this.__e){var h=i;i=void 0,o(l,f,p),i=h}c&&c.call(this,l,f,p)},ko.shouldComponentUpdate=o}return n.__N||n.__}function dVe(e,t){var r=lVe(M9++,3);!zo.__s&&J6t(r.__H,t)&&(r.__=e,r.i=t,ko.__H.__h.push(r))}function Z6t(){for(var e;e=uVe.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(B9),e.__H.__h.forEach(DY),e.__H.__h=[]}catch(t){e.__H.__h=[],zo.__e(t,e.__v)}}function W6t(e){var t,r=function(){clearTimeout(n),cVe&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);cVe&&(t=requestAnimationFrame(r))}function B9(e){var t=ko,r=e.__c;typeof r==\"function\"&&(e.__c=void 0,r()),ko=t}function DY(e){var t=ko;e.__c=e.__(),ko=t}function J6t(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function fVe(e,t){return typeof t==\"function\"?t(e):t}var M9,ko,BY,tVe,MY,uVe,zo,rVe,nVe,oVe,iVe,aVe,sVe,cVe,pVe=x(()=>{u();I2();MY=0,uVe=[],zo=Dn,rVe=zo.__b,nVe=zo.__r,oVe=zo.diffed,iVe=zo.__c,aVe=zo.unmount,sVe=zo.__;zo.__b=function(e){ko=null,rVe&&rVe(e)},zo.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),sVe&&sVe(e,t)},zo.__r=function(e){nVe&&nVe(e),M9=0;var t=(ko=e.__c).__H;t&&(BY===ko?(t.__h=[],ko.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(B9),t.__h.forEach(DY),t.__h=[],M9=0)),BY=ko},zo.diffed=function(e){oVe&&oVe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(uVe.push(t)!==1&&tVe===zo.requestAnimationFrame||((tVe=zo.requestAnimationFrame)||W6t)(Z6t)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),BY=ko=null},zo.__c=function(e,t){t.some(function(r){try{r.__h.forEach(B9),r.__h=r.__h.filter(function(n){return!n.__||DY(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],zo.__e(n,r.__v)}}),iVe&&iVe(e,t)},zo.unmount=function(e){aVe&&aVe(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{B9(n)}catch(o){t=o}}),r.__H=void 0,t&&zo.__e(t,r.__v))};cVe=typeof requestAnimationFrame==\"function\"});function Q6t(){try{return window.frameElement!==null}catch{return!1}}function mVe(){try{return Q6t()&&window.top?window.top.location:window.location}catch{return window.location}}function hVe(){var e;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((e=window?.navigator)===null||e===void 0?void 0:e.userAgent)}function D9(){var e,t;return(t=(e=window?.matchMedia)===null||e===void 0?void 0:e.call(window,\"(prefers-color-scheme: dark)\").matches)!==null&&t!==void 0?t:!1}var Ok=x(()=>{u()});var yVe,bVe=x(()=>{u();yVe=\".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}\"});var Y6t,X6t,P2,UY,eEt,N9=x(()=>{u();h0();I2();I2();pVe();Ok();bVe();Y6t=\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+\",X6t=\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=\",P2=class{constructor(){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=D9()}attach(t){this.root=document.createElement(\"div\"),this.root.className=\"-cbwsdk-snackbar-root\",t.appendChild(this.root),this.render()}presentItem(t){let r=this.nextItemKey++;return this.items.set(r,t),this.render(),()=>{this.items.delete(r),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&Rk(en(\"div\",null,en(UY,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([t,r])=>en(eEt,Object.assign({},r,{key:t}))))),this.root)}},UY=e=>en(\"div\",{class:zp(\"-cbwsdk-snackbar-container\")},en(\"style\",null,yVe),en(\"div\",{class:\"-cbwsdk-snackbar\"},e.children)),eEt=({autoExpand:e,message:t,menuItems:r})=>{let[n,o]=NY(!0),[i,c]=NY(e??!1);dVe(()=>{let f=[window.setTimeout(()=>{o(!1)},1),window.setTimeout(()=>{c(!0)},1e4)];return()=>{f.forEach(window.clearTimeout)}});let l=()=>{c(!i)};return en(\"div\",{class:zp(\"-cbwsdk-snackbar-instance\",n&&\"-cbwsdk-snackbar-instance-hidden\",i&&\"-cbwsdk-snackbar-instance-expanded\")},en(\"div\",{class:\"-cbwsdk-snackbar-instance-header\",onClick:l},en(\"img\",{src:Y6t,class:\"-cbwsdk-snackbar-instance-header-cblogo\"}),\" \",en(\"div\",{class:\"-cbwsdk-snackbar-instance-header-message\"},t),en(\"div\",{class:\"-gear-container\"},!i&&en(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},en(\"circle\",{cx:\"12\",cy:\"12\",r:\"12\",fill:\"#F5F7F8\"})),en(\"img\",{src:X6t,class:\"-gear-icon\",title:\"Expand\"}))),r&&r.length>0&&en(\"div\",{class:\"-cbwsdk-snackbar-instance-menu\"},r.map((f,p)=>en(\"div\",{class:zp(\"-cbwsdk-snackbar-instance-menu-item\",f.isRed&&\"-cbwsdk-snackbar-instance-menu-item-is-red\"),onClick:f.onClick,key:p},en(\"svg\",{width:f.svgWidth,height:f.svgHeight,viewBox:\"0 0 10 11\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},en(\"path\",{\"fill-rule\":f.defaultFillRule,\"clip-rule\":f.defaultClipRule,d:f.path,fill:\"#AAAAAA\"})),en(\"span\",{class:zp(\"-cbwsdk-snackbar-instance-menu-item-info\",f.isRed&&\"-cbwsdk-snackbar-instance-menu-item-info-is-red\")},f.info)))))}});var $Y,U9,zY=x(()=>{u();AY();N9();$Y=\"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z\",U9=class{constructor(){this.attached=!1,this.snackbar=new P2}attach(){if(this.attached)throw new Error(\"Coinbase Wallet SDK UI is already attached\");let t=document.documentElement,r=document.createElement(\"div\");r.className=\"-cbwsdk-css-reset\",t.appendChild(r),this.snackbar.attach(r),this.attached=!0,k9()}showConnecting(t){let r;return t.isUnlinkedErrorState?r={autoExpand:!0,message:\"Connection lost\",menuItems:[{isRed:!1,info:\"Reset connection\",svgWidth:\"10\",svgHeight:\"11\",path:\"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:t.onResetConnection}]}:r={message:\"Confirm on phone\",menuItems:[{isRed:!0,info:\"Cancel transaction\",svgWidth:\"11\",svgHeight:\"11\",path:\"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z\",defaultFillRule:\"inherit\",defaultClipRule:\"inherit\",onClick:t.onCancel},{isRed:!1,info:\"Reset connection\",svgWidth:\"10\",svgHeight:\"11\",path:$Y,defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:t.onResetConnection}]},this.snackbar.presentItem(r)}}});function vVe(e){let t=(window.innerWidth-gVe)/2+window.screenX,r=(window.innerHeight-xVe)/2+window.screenY;nEt(e);function n(){let i=`wallet_${crypto.randomUUID()}`,c=window.open(e,i,`width=${gVe}, height=${xVe}, left=${t}, top=${r}`);return c?.focus(),c||null}let o=n();if(!o){let i=Bk();return new Promise((c,l)=>{k2({snackbarContext:\"popup_blocked\"}),i.presentItem({autoExpand:!0,message:rEt,menuItems:[Object.assign(Object.assign({},tEt),{onClick:()=>{$p({snackbarContext:\"popup_blocked\",snackbarAction:\"confirm\"}),o=n(),o?c(o):l(Oe.rpc.internal(\"Popup window was blocked\")),i.clear()}})]})})}return Promise.resolve(o)}function wVe(e){e&&!e.closed&&e.close()}function nEt(e){let t={sdkName:l9,sdkVersion:nu,origin:window.location.origin,coop:RFe()};for(let[r,n]of Object.entries(t))e.searchParams.has(r)||e.searchParams.append(r,n.toString())}function Bk(){if(!$9){let e=document.createElement(\"div\");e.className=\"-cbwsdk-css-reset\",document.body.appendChild(e),$9=new P2,$9.attach(e)}return $9}var gVe,xVe,tEt,rEt,$9,z9=x(()=>{u();ea();A9();zY();N9();dg();w9();gVe=420,xVe=700,tEt={isRed:!1,info:\"Retry\",svgWidth:\"10\",svgHeight:\"11\",path:$Y,defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\"},rEt=\"Popup was blocked. Try again.\",$9=null});var L9,EVe=x(()=>{u();A2();ea();$Fe();z9();dg();L9=class{constructor({url:t=BFe,metadata:r,preference:n}){this.popup=null,this.listeners=new Map,this.postMessage=async o=>{(await this.waitForPopupLoaded()).postMessage(o,this.url.origin)},this.postRequestAndWaitForResponse=async o=>{let i=this.onMessage(({requestId:c})=>c===o.id);return this.postMessage(o),await i},this.onMessage=async o=>new Promise((i,c)=>{let l=f=>{if(f.origin!==this.url.origin)return;let p=f.data;o(p)&&(i(p),window.removeEventListener(\"message\",l),this.listeners.delete(l))};window.addEventListener(\"message\",l),this.listeners.set(l,{reject:c})}),this.disconnect=()=>{wVe(this.popup),this.popup=null,this.listeners.forEach(({reject:o},i)=>{o(Oe.provider.userRejectedRequest(\"Request rejected\")),window.removeEventListener(\"message\",i)}),this.listeners.clear()},this.waitForPopupLoaded=async()=>this.popup&&!this.popup.closed?(this.popup.focus(),this.popup):(DFe(),this.popup=await vVe(this.url),this.onMessage(({event:o})=>o===\"PopupUnload\").then(()=>{this.disconnect(),UFe()}).catch(()=>{}),this.onMessage(({event:o})=>o===\"PopupLoaded\").then(o=>{this.postMessage({requestId:o.id,data:{version:nu,metadata:this.metadata,preference:this.preference,location:window.location.toString()}})}).then(()=>{if(!this.popup)throw Oe.rpc.internal();return NFe(),this.popup})),this.url=new URL(t),this.metadata=r,this.preference=n}}});function Lo(e){return e.errorMessage!==void 0}var H9=x(()=>{u()});function _Ve(e){let t=wFe(oEt(e),{shouldIncludeStack:!0}),r=new URL(\"https://docs.cloud.coinbase.com/wallet-sdk/docs/errors\");return r.searchParams.set(\"version\",nu),r.searchParams.set(\"code\",t.code.toString()),r.searchParams.set(\"message\",t.message),Object.assign(Object.assign({},t),{docUrl:r.href})}function oEt(e){var t;if(typeof e==\"string\")return{message:e,code:Hn.rpc.internal};if(Lo(e)){let r=e.errorMessage,n=(t=e.errorCode)!==null&&t!==void 0?t:r.match(/(denied|rejected)/i)?Hn.provider.userRejectedRequest:void 0;return Object.assign(Object.assign({},e),{message:r,code:n,data:{method:e.method}})}return e}var SVe=x(()=>{u();dg();H9();Ck();hY()});var j9,AVe=x(()=>{u();kR();j9=class extends fw.default{}});var Ld,Mk=x(()=>{u();Ld=class e{constructor(t,r){this.scope=t,this.module=r}storeObject(t,r){this.setItem(t,JSON.stringify(r))}loadObject(t){let r=this.getItem(t);return r?JSON.parse(r):void 0}setItem(t,r){localStorage.setItem(this.scopedKey(t),r)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){let t=this.scopedKey(\"\"),r=[];for(let n=0;n<localStorage.length;n++){let o=localStorage.key(n);typeof o==\"string\"&&o.startsWith(t)&&r.push(o)}r.forEach(n=>localStorage.removeItem(n))}scopedKey(t){return`-${this.scope}${this.module?`:${this.module}`:\"\"}:${t}`}static clearAll(){new e(\"CBWSDK\").clear(),new e(\"walletlink\").clear()}}});var kVe,CVe,TVe,IVe,PVe,RVe=x(()=>{u();m0();kVe=({signerType:e})=>{Ht(\"provider.signer.loaded_from_storage\",{action:Pt.measurement,componentType:It.unknown,signerType:e},Rt.low)},CVe=({method:e,correlationId:t})=>{Ht(\"provider.request.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t},Rt.high)},TVe=({method:e,correlationId:t,signerType:r,errorMessage:n})=>{Ht(\"provider.request.error\",{action:Pt.error,componentType:It.unknown,method:e,signerType:r,correlationId:t,errorMessage:n},Rt.high)},IVe=({method:e,signerType:t,correlationId:r})=>{Ht(\"provider.request.responded\",{action:Pt.unknown,componentType:It.unknown,method:e,signerType:t,correlationId:r},Rt.high)},PVe=()=>{Ht(\"provider.enable_function.called\",{action:Pt.measurement,componentType:It.unknown},Rt.high)}});var OVe,BVe,MVe=x(()=>{u();m0();OVe=()=>{Ht(\"signer.selection.requested\",{action:Pt.unknown,componentType:It.unknown},Rt.high)},BVe=e=>{Ht(\"signer.selection.responded\",{action:Pt.unknown,componentType:It.unknown,signerType:e},Rt.high)}});var F9,Rs,V9=x(()=>{u();u9();F9=x2(()=>({correlationIds:new Map})),Rs={get:e=>F9.getState().correlationIds.get(e),set:(e,t)=>{F9.setState(r=>{let n=new Map(r.correlationIds);return n.set(e,t),{correlationIds:n}})},delete:e=>{F9.setState(t=>{let r=new Map(t.correlationIds);return r.delete(e),{correlationIds:r}})},clear:()=>{F9.setState({correlationIds:new Map})}}});var DVe,NVe,UVe,$Ve,zVe,LVe,HVe=x(()=>{u();ou();m0();DVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_signer.handshake.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},NVe=({method:e,correlationId:t,errorMessage:r})=>{var n;Ht(\"scw_signer.handshake.error\",{action:Pt.error,componentType:It.unknown,method:e,correlationId:t,errorMessage:r,enableAutoSubAccounts:(n=Ne.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},Rt.high)},UVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_signer.handshake.completed\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},$Ve=({method:e,correlationId:t})=>{var r;Ht(\"scw_signer.request.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},zVe=({method:e,correlationId:t,errorMessage:r})=>{var n;Ht(\"scw_signer.request.error\",{action:Pt.error,componentType:It.unknown,method:e,correlationId:t,errorMessage:r,enableAutoSubAccounts:(n=Ne.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},Rt.high)},LVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_signer.request.completed\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)}});var jVe,FVe,VVe,qVe,GVe,KVe,ZVe,WVe,JVe,QVe=x(()=>{u();ou();m0();jVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_sub_account.request.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},FVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_sub_account.request.completed\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},VVe=({method:e,correlationId:t,errorMessage:r})=>{var n;Ht(\"scw_sub_account.request.error\",{action:Pt.error,componentType:It.unknown,method:e,correlationId:t,errorMessage:r,enableAutoSubAccounts:(n=Ne.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},Rt.high)},qVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_sub_account.add_owner.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},GVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_sub_account.add_owner.completed\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},KVe=({method:e,correlationId:t,errorMessage:r})=>{var n;Ht(\"scw_sub_account.add_owner.error\",{action:Pt.error,componentType:It.unknown,method:e,correlationId:t,errorMessage:r,enableAutoSubAccounts:(n=Ne.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},Rt.high)},ZVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_sub_account.insufficient_balance.error_handling.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},WVe=({method:e,correlationId:t})=>{var r;Ht(\"scw_sub_account.insufficient_balance.error_handling.completed\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t,enableAutoSubAccounts:(r=Ne.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},Rt.high)},JVe=({method:e,correlationId:t,errorMessage:r})=>{var n;Ht(\"scw_sub_account.insufficient_balance.error_handling.error\",{action:Pt.error,componentType:It.unknown,method:e,correlationId:t,errorMessage:r,enableAutoSubAccounts:(n=Ne.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},Rt.high)}});var Lp,LY=x(()=>{u();Lp=e=>\"message\"in e&&typeof e.message==\"string\"?e.message:\"\"});var HY,YVe=x(()=>{u();HY=[{inputs:[{name:\"preOpGas\",type:\"uint256\"},{name:\"paid\",type:\"uint256\"},{name:\"validAfter\",type:\"uint48\"},{name:\"validUntil\",type:\"uint48\"},{name:\"targetSuccess\",type:\"bool\"},{name:\"targetResult\",type:\"bytes\"}],name:\"ExecutionResult\",type:\"error\"},{inputs:[{name:\"opIndex\",type:\"uint256\"},{name:\"reason\",type:\"string\"}],name:\"FailedOp\",type:\"error\"},{inputs:[{name:\"sender\",type:\"address\"}],name:\"SenderAddressResult\",type:\"error\"},{inputs:[{name:\"aggregator\",type:\"address\"}],name:\"SignatureValidationFailed\",type:\"error\"},{inputs:[{components:[{name:\"preOpGas\",type:\"uint256\"},{name:\"prefund\",type:\"uint256\"},{name:\"sigFailed\",type:\"bool\"},{name:\"validAfter\",type:\"uint48\"},{name:\"validUntil\",type:\"uint48\"},{name:\"paymasterContext\",type:\"bytes\"}],name:\"returnInfo\",type:\"tuple\"},{components:[{name:\"stake\",type:\"uint256\"},{name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"senderInfo\",type:\"tuple\"},{components:[{name:\"stake\",type:\"uint256\"},{name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"factoryInfo\",type:\"tuple\"},{components:[{name:\"stake\",type:\"uint256\"},{name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"paymasterInfo\",type:\"tuple\"}],name:\"ValidationResult\",type:\"error\"},{inputs:[{components:[{name:\"preOpGas\",type:\"uint256\"},{name:\"prefund\",type:\"uint256\"},{name:\"sigFailed\",type:\"bool\"},{name:\"validAfter\",type:\"uint48\"},{name:\"validUntil\",type:\"uint48\"},{name:\"paymasterContext\",type:\"bytes\"}],name:\"returnInfo\",type:\"tuple\"},{components:[{name:\"stake\",type:\"uint256\"},{name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"senderInfo\",type:\"tuple\"},{components:[{name:\"stake\",type:\"uint256\"},{name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"factoryInfo\",type:\"tuple\"},{components:[{name:\"stake\",type:\"uint256\"},{name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"paymasterInfo\",type:\"tuple\"},{components:[{name:\"aggregator\",type:\"address\"},{components:[{name:\"stake\",type:\"uint256\"},{name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"stakeInfo\",type:\"tuple\"}],name:\"aggregatorInfo\",type:\"tuple\"}],name:\"ValidationResultWithAggregation\",type:\"error\"},{anonymous:!1,inputs:[{indexed:!0,name:\"userOpHash\",type:\"bytes32\"},{indexed:!0,name:\"sender\",type:\"address\"},{indexed:!1,name:\"factory\",type:\"address\"},{indexed:!1,name:\"paymaster\",type:\"address\"}],name:\"AccountDeployed\",type:\"event\"},{anonymous:!1,inputs:[],name:\"BeforeExecution\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"account\",type:\"address\"},{indexed:!1,name:\"totalDeposit\",type:\"uint256\"}],name:\"Deposited\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"aggregator\",type:\"address\"}],name:\"SignatureAggregatorChanged\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"account\",type:\"address\"},{indexed:!1,name:\"totalStaked\",type:\"uint256\"},{indexed:!1,name:\"unstakeDelaySec\",type:\"uint256\"}],name:\"StakeLocked\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"account\",type:\"address\"},{indexed:!1,name:\"withdrawTime\",type:\"uint256\"}],name:\"StakeUnlocked\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"account\",type:\"address\"},{indexed:!1,name:\"withdrawAddress\",type:\"address\"},{indexed:!1,name:\"amount\",type:\"uint256\"}],name:\"StakeWithdrawn\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"userOpHash\",type:\"bytes32\"},{indexed:!0,name:\"sender\",type:\"address\"},{indexed:!0,name:\"paymaster\",type:\"address\"},{indexed:!1,name:\"nonce\",type:\"uint256\"},{indexed:!1,name:\"success\",type:\"bool\"},{indexed:!1,name:\"actualGasCost\",type:\"uint256\"},{indexed:!1,name:\"actualGasUsed\",type:\"uint256\"}],name:\"UserOperationEvent\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"userOpHash\",type:\"bytes32\"},{indexed:!0,name:\"sender\",type:\"address\"},{indexed:!1,name:\"nonce\",type:\"uint256\"},{indexed:!1,name:\"revertReason\",type:\"bytes\"}],name:\"UserOperationRevertReason\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"account\",type:\"address\"},{indexed:!1,name:\"withdrawAddress\",type:\"address\"},{indexed:!1,name:\"amount\",type:\"uint256\"}],name:\"Withdrawn\",type:\"event\"},{inputs:[],name:\"SIG_VALIDATION_FAILED\",outputs:[{name:\"\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"initCode\",type:\"bytes\"},{name:\"sender\",type:\"address\"},{name:\"paymasterAndData\",type:\"bytes\"}],name:\"_validateSenderAndPaymaster\",outputs:[],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"unstakeDelaySec\",type:\"uint32\"}],name:\"addStake\",outputs:[],stateMutability:\"payable\",type:\"function\"},{inputs:[{name:\"account\",type:\"address\"}],name:\"balanceOf\",outputs:[{name:\"\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"account\",type:\"address\"}],name:\"depositTo\",outputs:[],stateMutability:\"payable\",type:\"function\"},{inputs:[{name:\"\",type:\"address\"}],name:\"deposits\",outputs:[{name:\"deposit\",type:\"uint112\"},{name:\"staked\",type:\"bool\"},{name:\"stake\",type:\"uint112\"},{name:\"unstakeDelaySec\",type:\"uint32\"},{name:\"withdrawTime\",type:\"uint48\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"account\",type:\"address\"}],name:\"getDepositInfo\",outputs:[{components:[{name:\"deposit\",type:\"uint112\"},{name:\"staked\",type:\"bool\"},{name:\"stake\",type:\"uint112\"},{name:\"unstakeDelaySec\",type:\"uint32\"},{name:\"withdrawTime\",type:\"uint48\"}],name:\"info\",type:\"tuple\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"sender\",type:\"address\"},{name:\"key\",type:\"uint192\"}],name:\"getNonce\",outputs:[{name:\"nonce\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"initCode\",type:\"bytes\"}],name:\"getSenderAddress\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"initCode\",type:\"bytes\"},{name:\"callData\",type:\"bytes\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymasterAndData\",type:\"bytes\"},{name:\"signature\",type:\"bytes\"}],name:\"userOp\",type:\"tuple\"}],name:\"getUserOpHash\",outputs:[{name:\"\",type:\"bytes32\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{components:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"initCode\",type:\"bytes\"},{name:\"callData\",type:\"bytes\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymasterAndData\",type:\"bytes\"},{name:\"signature\",type:\"bytes\"}],name:\"userOps\",type:\"tuple[]\"},{name:\"aggregator\",type:\"address\"},{name:\"signature\",type:\"bytes\"}],name:\"opsPerAggregator\",type:\"tuple[]\"},{name:\"beneficiary\",type:\"address\"}],name:\"handleAggregatedOps\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"initCode\",type:\"bytes\"},{name:\"callData\",type:\"bytes\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymasterAndData\",type:\"bytes\"},{name:\"signature\",type:\"bytes\"}],name:\"ops\",type:\"tuple[]\"},{name:\"beneficiary\",type:\"address\"}],name:\"handleOps\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"key\",type:\"uint192\"}],name:\"incrementNonce\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"callData\",type:\"bytes\"},{components:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"paymaster\",type:\"address\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"}],name:\"mUserOp\",type:\"tuple\"},{name:\"userOpHash\",type:\"bytes32\"},{name:\"prefund\",type:\"uint256\"},{name:\"contextOffset\",type:\"uint256\"},{name:\"preOpGas\",type:\"uint256\"}],name:\"opInfo\",type:\"tuple\"},{name:\"context\",type:\"bytes\"}],name:\"innerHandleOp\",outputs:[{name:\"actualGasCost\",type:\"uint256\"}],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"\",type:\"address\"},{name:\"\",type:\"uint192\"}],name:\"nonceSequenceNumber\",outputs:[{name:\"\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"initCode\",type:\"bytes\"},{name:\"callData\",type:\"bytes\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymasterAndData\",type:\"bytes\"},{name:\"signature\",type:\"bytes\"}],name:\"op\",type:\"tuple\"},{name:\"target\",type:\"address\"},{name:\"targetCallData\",type:\"bytes\"}],name:\"simulateHandleOp\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"initCode\",type:\"bytes\"},{name:\"callData\",type:\"bytes\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymasterAndData\",type:\"bytes\"},{name:\"signature\",type:\"bytes\"}],name:\"userOp\",type:\"tuple\"}],name:\"simulateValidation\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[],name:\"unlockStake\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"withdrawAddress\",type:\"address\"}],name:\"withdrawStake\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"withdrawAddress\",type:\"address\"},{name:\"withdrawAmount\",type:\"uint256\"}],name:\"withdrawTo\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{stateMutability:\"payable\",type:\"receive\"}]});var jY,XVe=x(()=>{u();jY=\"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789\"});function q9(e,t={}){let{forHash:r}=t,{authorization:n,factory:o,factoryData:i}=e;return r&&(o===\"0x7702\"||o===\"0x7702000000000000000000000000000000000000\")?n?hr([n.address,i??\"0x\"]):\"0x7702000000000000000000000000000000000000\":o?hr([o,i??\"0x\"]):\"0x\"}var FY=x(()=>{u();Zn()});function G9(e,t={}){let{callGasLimit:r,callData:n,maxPriorityFeePerGas:o,maxFeePerGas:i,paymaster:c,paymasterData:l,paymasterPostOpGasLimit:f,paymasterSignature:p,paymasterVerificationGasLimit:h,sender:y,signature:w=\"0x\",verificationGasLimit:E}=e,A=hr([qr(le(E||0n),{size:16}),qr(le(r||0n),{size:16})]),C=q9(e,t),R=hr([qr(le(o||0n),{size:16}),qr(le(i||0n),{size:16})]),M=e.nonce??0n,D=c?hr([c,qr(le(h||0n),{size:16}),qr(le(f||0n),{size:16}),l||\"0x\",...p?t.forHash?[eqe]:[p,qr(le(qt(p)),{size:2}),eqe]:[]]):\"0x\",$=e.preVerificationGas??0n;return{accountGasLimits:A,callData:n,initCode:C,gasFees:R,nonce:M,paymasterAndData:D,preVerificationGas:$,sender:y,signature:w}}var eqe,VY=x(()=>{u();Zn();Ff();xa();Th();FY();eqe=\"0x22e325a297439656\"});function tqe(e){let{chainId:t,entryPointAddress:r,userOperation:n}=e,o=G9(n,{forHash:!0});return{types:iEt,primaryType:\"PackedUserOperation\",domain:{name:\"ERC4337\",version:\"1\",chainId:t,verifyingContract:r},message:o}}var iEt,rqe=x(()=>{u();VY();iEt={PackedUserOperation:[{type:\"address\",name:\"sender\"},{type:\"uint256\",name:\"nonce\"},{type:\"bytes\",name:\"initCode\"},{type:\"bytes\",name:\"callData\"},{type:\"bytes32\",name:\"accountGasLimits\"},{type:\"uint256\",name:\"preVerificationGas\"},{type:\"bytes32\",name:\"gasFees\"},{type:\"bytes\",name:\"paymasterAndData\"}]}});function qY(e){let{chainId:t,entryPointAddress:r,entryPointVersion:n}=e,o=e.userOperation,{authorization:i,callData:c=\"0x\",callGasLimit:l,maxFeePerGas:f,maxPriorityFeePerGas:p,nonce:h,paymasterAndData:y=\"0x\",preVerificationGas:w,sender:E,verificationGasLimit:A}=o;if(n===\"0.8\"||n===\"0.9\")return Ad(tqe({chainId:t,entryPointAddress:r,userOperation:o}));let C=(()=>{if(n===\"0.6\"){let R=o.initCode?.slice(0,42),M=o.initCode?.slice(42),D=q9({authorization:i,factory:R,factoryData:M},{forHash:!0});return zn([{type:\"address\"},{type:\"uint256\"},{type:\"bytes32\"},{type:\"bytes32\"},{type:\"uint256\"},{type:\"uint256\"},{type:\"uint256\"},{type:\"uint256\"},{type:\"uint256\"},{type:\"bytes32\"}],[E,h,Gt(D),Gt(c),l,A,w,f,p,Gt(y)])}if(n===\"0.7\"){let R=G9(o,{forHash:!0});return zn([{type:\"address\"},{type:\"uint256\"},{type:\"bytes32\"},{type:\"bytes32\"},{type:\"bytes32\"},{type:\"uint256\"},{type:\"bytes32\"},{type:\"bytes32\"}],[R.sender,R.nonce,Gt(R.initCode),Gt(R.callData),R.accountGasLimits,R.preVerificationGas,R.gasFees,Gt(R.paymasterAndData)])}throw new Error(`entryPointVersion \"${n}\" not supported.`)})();return Gt(zn([{type:\"bytes32\"},{type:\"address\"},{type:\"uint256\"}],[Gt(C),r,BigInt(t)]))}var nqe=x(()=>{u();$c();us();E7();FY();rqe();VY()});async function GY(e){let{extend:t,nonceKeyManager:r=MF({source:{get(){return Date.now()},set(){}}}),...n}=e,o=!1,i=await e.getAddress();return{...t,...n,address:i,async getFactoryArgs(){return\"isDeployed\"in this&&await this.isDeployed()?{factory:void 0,factoryData:void 0}:e.getFactoryArgs()},async getNonce(c){let l=c?.key??BigInt(await r.consume({address:i,chainId:e.client.chain.id,client:e.client}));return e.getNonce?await e.getNonce({...c,key:l}):await Wr(e.client,{abi:yx([\"function getNonce(address, uint192) pure returns (uint256)\"]),address:e.entryPoint.address,functionName:\"getNonce\",args:[i,l]})},async isDeployed(){return o?!0:(o=!!await Ce(e.client,Ta,\"getCode\")({address:i}),o)},...e.sign?{async sign(c){let[{factory:l,factoryData:f},p]=await Promise.all([this.getFactoryArgs(),e.sign(c)]);return l&&f?G7({address:l,data:f,signature:p}):p}}:{},async signMessage(c){let[{factory:l,factoryData:f},p]=await Promise.all([this.getFactoryArgs(),e.signMessage(c)]);return l&&f&&l!==\"0x7702\"?G7({address:l,data:f,signature:p}):p},async signTypedData(c){let[{factory:l,factoryData:f},p]=await Promise.all([this.getFactoryArgs(),e.signTypedData(c)]);return l&&f&&l!==\"0x7702\"?G7({address:l,data:f,signature:p}):p},type:\"smart\"}}var oqe=x(()=>{u();bx();yb();sc();Yt();Qhe();U0e()});function Dk(e,t=\"\"){if(typeof e!=\"boolean\"){let r=t&&`\"${t}\"`;throw new Error(r+\"expected boolean, got type=\"+typeof e)}return e}function b0(e,t,r=\"\"){let n=qm(e),o=e?.length,i=t!==void 0;if(!n||i&&o!==t){let c=r&&`\"${r}\" `,l=i?` of length ${t}`:\"\",f=n?`length=${o}`:`type=${typeof e}`;throw new Error(c+\"expected Uint8Array\"+l+\", got \"+f)}return e}function R2(e){let t=e.toString(16);return t.length&1?\"0\"+t:t}function JY(e){if(typeof e!=\"string\")throw new Error(\"hex string expected, got \"+typeof e);return e===\"\"?WY:BigInt(\"0x\"+e)}function hg(e){return JY(ad(e))}function K9(e){return Ea(e),JY(ad(Uint8Array.from(e).reverse()))}function Nk(e,t){return Gm(e.toString(16).padStart(t*2,\"0\"))}function Z9(e,t){return Nk(e,t).reverse()}function Di(e,t,r){let n;if(typeof t==\"string\")try{n=Gm(t)}catch(i){throw new Error(e+\" must be hex string or Uint8Array, cause: \"+i)}else if(qm(t))n=Uint8Array.from(t);else throw new Error(e+\" must be hex string or Uint8Array\");let o=n.length;if(typeof r==\"number\"&&o!==r)throw new Error(e+\" of length \"+r+\" expected, got \"+o);return n}function iqe(e,t){if(e.length!==t.length)return!1;let r=0;for(let n=0;n<e.length;n++)r|=e[n]^t[n];return r===0}function QY(e,t,r){return KY(e)&&KY(t)&&KY(r)&&t<=e&&e<r}function YY(e,t,r,n){if(!QY(t,r,n))throw new Error(\"expected valid \"+e+\": \"+r+\" <= n < \"+n+\", got \"+t)}function Uk(e){let t;for(t=0;e>WY;e>>=ZY,t+=1);return t}function XY(e,t,r){if(typeof e!=\"number\"||e<2)throw new Error(\"hashLen must be a number\");if(typeof t!=\"number\"||t<2)throw new Error(\"qByteLen must be a number\");if(typeof r!=\"function\")throw new Error(\"hmacFn must be a function\");let n=E=>new Uint8Array(E),o=E=>Uint8Array.of(E),i=n(e),c=n(e),l=0,f=()=>{i.fill(1),c.fill(0),l=0},p=(...E)=>r(c,i,...E),h=(E=n(0))=>{c=p(o(0),E),i=p(),E.length!==0&&(c=p(o(1),E),i=p())},y=()=>{if(l++>=1e3)throw new Error(\"drbg: tried 1000 values\");let E=0,A=[];for(;E<t;){i=p();let C=i.slice();A.push(C),E+=i.length}return cs(...A)};return(E,A)=>{f(),h(E);let C;for(;!(C=A(y()));)h();return f(),C}}function $k(e,t,r={}){if(!e||typeof e!=\"object\")throw new Error(\"expected valid options object\");function n(o,i,c){let l=e[o];if(c&&l===void 0)return;let f=typeof l;if(f!==i||l===null)throw new Error(`param \"${o}\" is invalid: expected ${i}, got ${f}`)}Object.entries(t).forEach(([o,i])=>n(o,i,!1)),Object.entries(r).forEach(([o,i])=>n(o,i,!0))}function W9(e){let t=new WeakMap;return(r,...n)=>{let o=t.get(r);if(o!==void 0)return o;let i=e(r,...n);return t.set(r,i),i}}var WY,ZY,KY,Hp,zk=x(()=>{u();Lu();Lu();WY=BigInt(0),ZY=BigInt(1);KY=e=>typeof e==\"bigint\"&&WY<=e;Hp=e=>(ZY<<BigInt(e))-ZY});function au(e,t){let r=e%t;return r>=La?r:t+r}function pc(e,t,r){let n=e;for(;t-- >La;)n*=n,n%=r;return n}function aqe(e,t){if(e===La)throw new Error(\"invert: expected non-zero number\");if(t<=La)throw new Error(\"invert: expected positive modulus, got \"+t);let r=au(e,t),n=t,o=La,i=ta,c=ta,l=La;for(;r!==La;){let p=n/r,h=n%r,y=o-c*p,w=i-l*p;n=r,r=h,o=c,i=l,c=y,l=w}if(n!==ta)throw new Error(\"invert: does not exist\");return au(o,t)}function eX(e,t,r){if(!e.eql(e.sqr(t),r))throw new Error(\"Cannot find square root\")}function pqe(e,t){let r=(e.ORDER+ta)/uqe,n=e.pow(t,r);return eX(e,n,t),n}function lEt(e,t){let r=(e.ORDER-lqe)/dqe,n=e.mul(t,yg),o=e.pow(n,r),i=e.mul(t,o),c=e.mul(e.mul(i,yg),o),l=e.mul(i,e.sub(c,e.ONE));return eX(e,l,t),l}function dEt(e){let t=su(e),r=mqe(e),n=r(t,t.neg(t.ONE)),o=r(t,n),i=r(t,t.neg(n)),c=(e+cEt)/fqe;return(l,f)=>{let p=l.pow(f,c),h=l.mul(p,n),y=l.mul(p,o),w=l.mul(p,i),E=l.eql(l.sqr(h),f),A=l.eql(l.sqr(y),f);p=l.cmov(p,h,E),h=l.cmov(w,y,A);let C=l.eql(l.sqr(h),f),R=l.cmov(p,h,C);return eX(l,R,f),R}}function mqe(e){if(e<cqe)throw new Error(\"sqrt is not defined for small field\");let t=e-ta,r=0;for(;t%yg===La;)t/=yg,r++;let n=yg,o=su(e);for(;sqe(o,n)===1;)if(n++>1e3)throw new Error(\"Cannot find square root: probably non-prime P\");if(r===1)return pqe;let i=o.pow(n,t),c=(t+ta)/yg;return function(f,p){if(f.is0(p))return p;if(sqe(f,p)!==1)throw new Error(\"Cannot find square root\");let h=r,y=f.mul(f.ONE,i),w=f.pow(p,t),E=f.pow(p,c);for(;!f.eql(w,f.ONE);){if(f.is0(w))return f.ZERO;let A=1,C=f.sqr(w);for(;!f.eql(C,f.ONE);)if(A++,C=f.sqr(C),A===h)throw new Error(\"Cannot find square root\");let R=ta<<BigInt(h-A-1),M=f.pow(y,R);h=A,y=f.sqr(M),w=f.mul(w,y),E=f.mul(E,M)}return E}}function fEt(e){return e%uqe===cqe?pqe:e%dqe===lqe?lEt:e%fqe===uEt?dEt(e):mqe(e)}function tX(e){let t={ORDER:\"bigint\",MASK:\"bigint\",BYTES:\"number\",BITS:\"number\"},r=pEt.reduce((n,o)=>(n[o]=\"function\",n),t);return $k(e,r),e}function mEt(e,t,r){if(r<La)throw new Error(\"invalid exponent, negatives unsupported\");if(r===La)return e.ONE;if(r===ta)return t;let n=e.ONE,o=t;for(;r>La;)r&ta&&(n=e.mul(n,o)),o=e.sqr(o),r>>=ta;return n}function J9(e,t,r=!1){let n=new Array(t.length).fill(r?e.ZERO:void 0),o=t.reduce((c,l,f)=>e.is0(l)?c:(n[f]=c,e.mul(c,l)),e.ONE),i=e.inv(o);return t.reduceRight((c,l,f)=>e.is0(l)?c:(n[f]=e.mul(c,n[f]),e.mul(c,l)),i),n}function sqe(e,t){let r=(e.ORDER-ta)/yg,n=e.pow(t,r),o=e.eql(n,e.ONE),i=e.eql(n,e.ZERO),c=e.eql(n,e.neg(e.ONE));if(!o&&!i&&!c)throw new Error(\"invalid Legendre symbol result\");return o?1:i?0:-1}function Q9(e,t){t!==void 0&&$u(t);let r=t!==void 0?t:e.toString(2).length,n=Math.ceil(r/8);return{nBitLength:r,nByteLength:n}}function su(e,t,r=!1,n={}){if(e<=La)throw new Error(\"invalid field: expected ORDER > 0, got \"+e);let o,i,c=!1,l;if(typeof t==\"object\"&&t!=null){if(n.sqrt||r)throw new Error(\"cannot specify opts in two arguments\");let w=t;w.BITS&&(o=w.BITS),w.sqrt&&(i=w.sqrt),typeof w.isLE==\"boolean\"&&(r=w.isLE),typeof w.modFromBytes==\"boolean\"&&(c=w.modFromBytes),l=w.allowedLengths}else typeof t==\"number\"&&(o=t),n.sqrt&&(i=n.sqrt);let{nBitLength:f,nByteLength:p}=Q9(e,o);if(p>2048)throw new Error(\"invalid field: expected ORDER of <= 2048 bytes\");let h,y=Object.freeze({ORDER:e,isLE:r,BITS:f,BYTES:p,MASK:Hp(f),ZERO:La,ONE:ta,allowedLengths:l,create:w=>au(w,e),isValid:w=>{if(typeof w!=\"bigint\")throw new Error(\"invalid field element: expected bigint, got \"+typeof w);return La<=w&&w<e},is0:w=>w===La,isValidNot0:w=>!y.is0(w)&&y.isValid(w),isOdd:w=>(w&ta)===ta,neg:w=>au(-w,e),eql:(w,E)=>w===E,sqr:w=>au(w*w,e),add:(w,E)=>au(w+E,e),sub:(w,E)=>au(w-E,e),mul:(w,E)=>au(w*E,e),pow:(w,E)=>mEt(y,w,E),div:(w,E)=>au(w*aqe(E,e),e),sqrN:w=>w*w,addN:(w,E)=>w+E,subN:(w,E)=>w-E,mulN:(w,E)=>w*E,inv:w=>aqe(w,e),sqrt:i||(w=>(h||(h=fEt(e)),h(y,w))),toBytes:w=>r?Z9(w,p):Nk(w,p),fromBytes:(w,E=!0)=>{if(l){if(!l.includes(w.length)||w.length>p)throw new Error(\"Field.fromBytes: expected \"+l+\" bytes, got \"+w.length);let C=new Uint8Array(p);C.set(w,r?0:C.length-w.length),w=C}if(w.length!==p)throw new Error(\"Field.fromBytes: expected \"+p+\" bytes, got \"+w.length);let A=r?K9(w):hg(w);if(c&&(A=au(A,e)),!E&&!y.isValid(A))throw new Error(\"invalid field element: outside of range 0..ORDER\");return A},invertBatch:w=>J9(y,w),cmov:(w,E,A)=>A?E:w});return Object.freeze(y)}function hqe(e){if(typeof e!=\"bigint\")throw new Error(\"field order must be bigint\");let t=e.toString(2).length;return Math.ceil(t/8)}function rX(e){let t=hqe(e);return t+Math.ceil(t/2)}function nX(e,t,r=!1){let n=e.length,o=hqe(t),i=rX(t);if(n<16||n<i||n>1024)throw new Error(\"expected \"+i+\"-1024 bytes of input, got \"+n);let c=r?K9(e):hg(e),l=au(c,t-ta)+ta;return r?Z9(l,o):Nk(l,o)}var La,ta,yg,cqe,uqe,lqe,cEt,dqe,uEt,fqe,pEt,Lk=x(()=>{u();zk();La=BigInt(0),ta=BigInt(1),yg=BigInt(2),cqe=BigInt(3),uqe=BigInt(4),lqe=BigInt(5),cEt=BigInt(7),dqe=BigInt(8),uEt=BigInt(9),fqe=BigInt(16);pEt=[\"create\",\"isValid\",\"is0\",\"neg\",\"inv\",\"sqrt\",\"sqr\",\"eql\",\"add\",\"sub\",\"mul\",\"pow\",\"div\",\"addN\",\"subN\",\"mulN\",\"sqrN\"]});function Hk(e,t){let r=t.negate();return e?r:t}function X9(e,t){let r=J9(e.Fp,t.map(n=>n.Z));return t.map((n,o)=>e.fromAffine(n.toAffine(r[o])))}function xqe(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error(\"invalid window size, expected [1..\"+t+\"], got W=\"+e)}function oX(e,t){xqe(e,t);let r=Math.ceil(t/e)+1,n=2**(e-1),o=2**e,i=Hp(e),c=BigInt(e);return{windows:r,windowSize:n,mask:i,maxNumber:o,shiftBy:c}}function yqe(e,t,r){let{windowSize:n,mask:o,maxNumber:i,shiftBy:c}=r,l=Number(e&o),f=e>>c;l>n&&(l-=i,f+=bg);let p=t*n,h=p+Math.abs(l)-1,y=l===0,w=l<0,E=t%2!==0;return{nextN:f,offset:h,isZero:y,isNeg:w,isNegF:E,offsetF:p}}function yEt(e,t){if(!Array.isArray(e))throw new Error(\"array expected\");e.forEach((r,n)=>{if(!(r instanceof t))throw new Error(\"invalid point at index \"+n)})}function bEt(e,t){if(!Array.isArray(e))throw new Error(\"array of scalars expected\");e.forEach((r,n)=>{if(!t.isValid(r))throw new Error(\"invalid scalar at index \"+n)})}function aX(e){return vqe.get(e)||1}function bqe(e){if(e!==O2)throw new Error(\"invalid wNAF\")}function wqe(e,t,r,n){let o=t,i=e.ZERO,c=e.ZERO;for(;r>O2||n>O2;)r&bg&&(i=i.add(o)),n&bg&&(c=c.add(o)),o=o.double(),r>>=bg,n>>=bg;return{p1:i,p2:c}}function Eqe(e,t,r,n){yEt(r,e),bEt(n,t);let o=r.length,i=n.length;if(o!==i)throw new Error(\"arrays of points and scalars must have equal length\");let c=e.ZERO,l=Uk(BigInt(o)),f=1;l>12?f=l-3:l>4?f=l-2:l>0&&(f=2);let p=Hp(f),h=new Array(Number(p)+1).fill(c),y=Math.floor((t.BITS-1)/f)*f,w=c;for(let E=y;E>=0;E-=f){h.fill(c);for(let C=0;C<i;C++){let R=n[C],M=Number(R>>BigInt(E)&p);h[M]=h[M].add(r[C])}let A=c;for(let C=h.length-1,R=c;C>0;C--)R=R.add(h[C]),A=A.add(R);if(w=w.add(A),E!==0)for(let C=0;C<f;C++)w=w.double()}return w}function gqe(e,t,r){if(t){if(t.ORDER!==e)throw new Error(\"Field.ORDER must match order: Fp == p, Fn == n\");return tX(t),t}else return su(e,{isLE:r})}function _qe(e,t,r={},n){if(n===void 0&&(n=e===\"edwards\"),!t||typeof t!=\"object\")throw new Error(`expected valid ${e} CURVE object`);for(let f of[\"p\",\"n\",\"h\"]){let p=t[f];if(!(typeof p==\"bigint\"&&p>O2))throw new Error(`CURVE.${f} must be positive bigint`)}let o=gqe(t.p,r.Fp,n),i=gqe(t.n,r.Fn,n),l=[\"Gx\",\"Gy\",\"a\",e===\"weierstrass\"?\"b\":\"d\"];for(let f of l)if(!o.isValid(t[f]))throw new Error(`CURVE.${f} must be valid field element of CURVE.Fp`);return t=Object.freeze(Object.assign({},t)),{CURVE:t,Fp:o,Fn:i}}var O2,bg,iX,vqe,Y9,Sqe=x(()=>{u();zk();Lk();O2=BigInt(0),bg=BigInt(1);iX=new WeakMap,vqe=new WeakMap;Y9=class{constructor(t,r){this.BASE=t.BASE,this.ZERO=t.ZERO,this.Fn=t.Fn,this.bits=r}_unsafeLadder(t,r,n=this.ZERO){let o=t;for(;r>O2;)r&bg&&(n=n.add(o)),o=o.double(),r>>=bg;return n}precomputeWindow(t,r){let{windows:n,windowSize:o}=oX(r,this.bits),i=[],c=t,l=c;for(let f=0;f<n;f++){l=c,i.push(l);for(let p=1;p<o;p++)l=l.add(c),i.push(l);c=l.double()}return i}wNAF(t,r,n){if(!this.Fn.isValid(n))throw new Error(\"invalid scalar\");let o=this.ZERO,i=this.BASE,c=oX(t,this.bits);for(let l=0;l<c.windows;l++){let{nextN:f,offset:p,isZero:h,isNeg:y,isNegF:w,offsetF:E}=yqe(n,l,c);n=f,h?i=i.add(Hk(w,r[E])):o=o.add(Hk(y,r[p]))}return bqe(n),{p:o,f:i}}wNAFUnsafe(t,r,n,o=this.ZERO){let i=oX(t,this.bits);for(let c=0;c<i.windows&&n!==O2;c++){let{nextN:l,offset:f,isZero:p,isNeg:h}=yqe(n,c,i);if(n=l,!p){let y=r[f];o=o.add(h?y.negate():y)}}return bqe(n),o}getPrecomputes(t,r,n){let o=iX.get(r);return o||(o=this.precomputeWindow(r,t),t!==1&&(typeof n==\"function\"&&(o=n(o)),iX.set(r,o))),o}cached(t,r,n){let o=aX(t);return this.wNAF(o,this.getPrecomputes(o,t,n),r)}unsafe(t,r,n,o){let i=aX(t);return i===1?this._unsafeLadder(t,r,o):this.wNAFUnsafe(i,this.getPrecomputes(i,t,n),r,o)}createCache(t,r){xqe(r,this.bits),vqe.set(t,r),iX.delete(t)}hasCache(t){return aX(t)!==1}}});function gEt(e,t,r){let[[n,o],[i,c]]=t,l=Aqe(c*e,r),f=Aqe(-o*e,r),p=e-l*n-f*i,h=-l*o-f*c,y=p<Fp,w=h<Fp;y&&(p=-p),w&&(h=-h);let E=Hp(Math.ceil(Uk(r)/2))+M2;if(p<Fp||p>=E||h<Fp||h>=E)throw new Error(\"splitScalar (endomorphism): failed, k=\"+e);return{k1neg:y,k1:p,k2neg:w,k2:h}}function cX(e){if(![\"compact\",\"recovered\",\"der\"].includes(e))throw new Error(\\'Signature format must be \"compact\", \"recovered\", or \"der\"\\');return e}function sX(e,t){let r={};for(let n of Object.keys(t))r[n]=e[n]===void 0?t[n]:e[n];return Dk(r.lowS,\"lowS\"),Dk(r.prehash,\"prehash\"),r.format!==void 0&&cX(r.format),r}function B2(e,t){let{BYTES:r}=e,n;if(typeof t==\"bigint\")n=t;else{let o=Di(\"private key\",t);try{n=e.fromBytes(o)}catch{throw new Error(`invalid private key: expected ui8a of size ${r}, got ${typeof t}`)}}if(!e.isValidNot0(n))throw new Error(\"invalid private key: out of range [1..N-1]\");return n}function vEt(e,t={}){let r=_qe(\"weierstrass\",e,t),{Fp:n,Fn:o}=r,i=r.CURVE,{h:c,n:l}=i;$k(t,{},{allowInfinityPoint:\"boolean\",clearCofactor:\"function\",isTorsionFree:\"function\",fromBytes:\"function\",toBytes:\"function\",endo:\"object\",wrapPrivateKey:\"boolean\"});let{endo:f}=t;if(f&&(!n.is0(i.a)||typeof f.beta!=\"bigint\"||!Array.isArray(f.basises)))throw new Error(\\'invalid endo: expected \"beta\": bigint and \"basises\": array\\');let p=Tqe(n,o);function h(){if(!n.isOdd)throw new Error(\"compression is not supported: Field does not have .isOdd()\")}function y(ce,N,_){let{x:k,y:O}=N.toAffine(),B=n.toBytes(k);if(Dk(_,\"isCompressed\"),_){h();let L=!n.isOdd(O);return cs(Cqe(L),B)}else return cs(Uint8Array.of(4),B,n.toBytes(O))}function w(ce){b0(ce,void 0,\"Point\");let{publicKey:N,publicKeyUncompressed:_}=p,k=ce.length,O=ce[0],B=ce.subarray(1);if(k===N&&(O===2||O===3)){let L=n.fromBytes(B);if(!n.isValid(L))throw new Error(\"bad point: is not on curve, wrong x\");let q=C(L),W;try{W=n.sqrt(q)}catch(Z){let ye=Z instanceof Error?\": \"+Z.message:\"\";throw new Error(\"bad point: is not on curve, sqrt error\"+ye)}h();let U=n.isOdd(W);return(O&1)===1!==U&&(W=n.neg(W)),{x:L,y:W}}else if(k===_&&O===4){let L=n.BYTES,q=n.fromBytes(B.subarray(0,L)),W=n.fromBytes(B.subarray(L,L*2));if(!R(q,W))throw new Error(\"bad point: is not on curve\");return{x:q,y:W}}else throw new Error(`bad point: got length ${k}, expected compressed=${N} or uncompressed=${_}`)}let E=t.toBytes||y,A=t.fromBytes||w;function C(ce){let N=n.sqr(ce),_=n.mul(N,ce);return n.add(n.add(_,n.mul(ce,i.a)),i.b)}function R(ce,N){let _=n.sqr(N),k=C(ce);return n.eql(_,k)}if(!R(i.Gx,i.Gy))throw new Error(\"bad curve params: generator point\");let M=n.mul(n.pow(i.a,eM),xEt),D=n.mul(n.sqr(i.b),BigInt(27));if(n.is0(n.add(M,D)))throw new Error(\"bad curve params: a or b\");function $(ce,N,_=!1){if(!n.isValid(N)||_&&n.is0(N))throw new Error(`bad point coordinate ${ce}`);return N}function H(ce){if(!(ce instanceof X))throw new Error(\"ProjectivePoint expected\")}function V(ce){if(!f||!f.basises)throw new Error(\"no endo\");return gEt(ce,f.basises,o.ORDER)}let G=W9((ce,N)=>{let{X:_,Y:k,Z:O}=ce;if(n.eql(O,n.ONE))return{x:_,y:k};let B=ce.is0();N==null&&(N=B?n.ONE:n.inv(O));let L=n.mul(_,N),q=n.mul(k,N),W=n.mul(O,N);if(B)return{x:n.ZERO,y:n.ZERO};if(!n.eql(W,n.ONE))throw new Error(\"invZ was invalid\");return{x:L,y:q}}),K=W9(ce=>{if(ce.is0()){if(t.allowInfinityPoint&&!n.is0(ce.Y))return;throw new Error(\"bad point: ZERO\")}let{x:N,y:_}=ce.toAffine();if(!n.isValid(N)||!n.isValid(_))throw new Error(\"bad point: x or y not field elements\");if(!R(N,_))throw new Error(\"bad point: equation left != right\");if(!ce.isTorsionFree())throw new Error(\"bad point: not in prime-order subgroup\");return!0});function Q(ce,N,_,k,O){return _=new X(n.mul(_.X,ce),_.Y,_.Z),N=Hk(k,N),_=Hk(O,_),N.add(_)}class X{constructor(N,_,k){this.X=$(\"x\",N),this.Y=$(\"y\",_,!0),this.Z=$(\"z\",k),Object.freeze(this)}static CURVE(){return i}static fromAffine(N){let{x:_,y:k}=N||{};if(!N||!n.isValid(_)||!n.isValid(k))throw new Error(\"invalid affine point\");if(N instanceof X)throw new Error(\"projective point not allowed\");return n.is0(_)&&n.is0(k)?X.ZERO:new X(_,k,n.ONE)}static fromBytes(N){let _=X.fromAffine(A(b0(N,void 0,\"point\")));return _.assertValidity(),_}static fromHex(N){return X.fromBytes(Di(\"pointHex\",N))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(N=8,_=!0){return fe.createCache(this,N),_||this.multiply(eM),this}assertValidity(){K(this)}hasEvenY(){let{y:N}=this.toAffine();if(!n.isOdd)throw new Error(\"Field doesn\\'t support isOdd\");return!n.isOdd(N)}equals(N){H(N);let{X:_,Y:k,Z:O}=this,{X:B,Y:L,Z:q}=N,W=n.eql(n.mul(_,q),n.mul(B,O)),U=n.eql(n.mul(k,q),n.mul(L,O));return W&&U}negate(){return new X(this.X,n.neg(this.Y),this.Z)}double(){let{a:N,b:_}=i,k=n.mul(_,eM),{X:O,Y:B,Z:L}=this,q=n.ZERO,W=n.ZERO,U=n.ZERO,P=n.mul(O,O),Z=n.mul(B,B),ye=n.mul(L,L),xe=n.mul(O,B);return xe=n.add(xe,xe),U=n.mul(O,L),U=n.add(U,U),q=n.mul(N,U),W=n.mul(k,ye),W=n.add(q,W),q=n.sub(Z,W),W=n.add(Z,W),W=n.mul(q,W),q=n.mul(xe,q),U=n.mul(k,U),ye=n.mul(N,ye),xe=n.sub(P,ye),xe=n.mul(N,xe),xe=n.add(xe,U),U=n.add(P,P),P=n.add(U,P),P=n.add(P,ye),P=n.mul(P,xe),W=n.add(W,P),ye=n.mul(B,L),ye=n.add(ye,ye),P=n.mul(ye,xe),q=n.sub(q,P),U=n.mul(ye,Z),U=n.add(U,U),U=n.add(U,U),new X(q,W,U)}add(N){H(N);let{X:_,Y:k,Z:O}=this,{X:B,Y:L,Z:q}=N,W=n.ZERO,U=n.ZERO,P=n.ZERO,Z=i.a,ye=n.mul(i.b,eM),xe=n.mul(_,B),Te=n.mul(k,L),Ie=n.mul(O,q),Ke=n.add(_,k),Ve=n.add(B,L);Ke=n.mul(Ke,Ve),Ve=n.add(xe,Te),Ke=n.sub(Ke,Ve),Ve=n.add(_,O);let Nt=n.add(B,q);return Ve=n.mul(Ve,Nt),Nt=n.add(xe,Ie),Ve=n.sub(Ve,Nt),Nt=n.add(k,O),W=n.add(L,q),Nt=n.mul(Nt,W),W=n.add(Te,Ie),Nt=n.sub(Nt,W),P=n.mul(Z,Ve),W=n.mul(ye,Ie),P=n.add(W,P),W=n.sub(Te,P),P=n.add(Te,P),U=n.mul(W,P),Te=n.add(xe,xe),Te=n.add(Te,xe),Ie=n.mul(Z,Ie),Ve=n.mul(ye,Ve),Te=n.add(Te,Ie),Ie=n.sub(xe,Ie),Ie=n.mul(Z,Ie),Ve=n.add(Ve,Ie),xe=n.mul(Te,Ve),U=n.add(U,xe),xe=n.mul(Nt,Ve),W=n.mul(Ke,W),W=n.sub(W,xe),xe=n.mul(Ke,Te),P=n.mul(Nt,P),P=n.add(P,xe),new X(W,U,P)}subtract(N){return this.add(N.negate())}is0(){return this.equals(X.ZERO)}multiply(N){let{endo:_}=t;if(!o.isValidNot0(N))throw new Error(\"invalid scalar: out of range\");let k,O,B=L=>fe.cached(this,L,q=>X9(X,q));if(_){let{k1neg:L,k1:q,k2neg:W,k2:U}=V(N),{p:P,f:Z}=B(q),{p:ye,f:xe}=B(U);O=Z.add(xe),k=Q(_.beta,P,ye,L,W)}else{let{p:L,f:q}=B(N);k=L,O=q}return X9(X,[k,O])[0]}multiplyUnsafe(N){let{endo:_}=t,k=this;if(!o.isValid(N))throw new Error(\"invalid scalar: out of range\");if(N===Fp||k.is0())return X.ZERO;if(N===M2)return k;if(fe.hasCache(this))return this.multiply(N);if(_){let{k1neg:O,k1:B,k2neg:L,k2:q}=V(N),{p1:W,p2:U}=wqe(X,k,B,q);return Q(_.beta,W,U,O,L)}else return fe.unsafe(k,N)}multiplyAndAddUnsafe(N,_,k){let O=this.multiplyUnsafe(_).add(N.multiplyUnsafe(k));return O.is0()?void 0:O}toAffine(N){return G(this,N)}isTorsionFree(){let{isTorsionFree:N}=t;return c===M2?!0:N?N(X,this):fe.unsafe(this,l).is0()}clearCofactor(){let{clearCofactor:N}=t;return c===M2?this:N?N(X,this):this.multiplyUnsafe(c)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}toBytes(N=!0){return Dk(N,\"isCompressed\"),this.assertValidity(),E(X,this,N)}toHex(N=!0){return ad(this.toBytes(N))}toString(){return`<Point ${this.is0()?\"ZERO\":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(N=!0){return this.toBytes(N)}_setWindowSize(N){this.precompute(N)}static normalizeZ(N){return X9(X,N)}static msm(N,_){return Eqe(X,o,N,_)}static fromPrivateKey(N){return X.BASE.multiply(B2(o,N))}}X.BASE=new X(i.Gx,i.Gy,n.ONE),X.ZERO=new X(n.ZERO,n.ONE,n.ZERO),X.Fp=n,X.Fn=o;let Y=o.BITS,fe=new Y9(X,t.endo?Math.ceil(Y/2):Y);return X.BASE.precompute(8),X}function Cqe(e){return Uint8Array.of(e?2:3)}function Tqe(e,t){return{secretKey:t.BYTES,publicKey:1+e.BYTES,publicKeyUncompressed:1+2*e.BYTES,publicKeyHasPrefix:!0,signature:2*t.BYTES}}function wEt(e,t={}){let{Fn:r}=e,n=t.randomBytes||Zf,o=Object.assign(Tqe(e.Fp,r),{seed:rX(r.ORDER)});function i(E){try{return!!B2(r,E)}catch{return!1}}function c(E,A){let{publicKey:C,publicKeyUncompressed:R}=o;try{let M=E.length;return A===!0&&M!==C||A===!1&&M!==R?!1:!!e.fromBytes(E)}catch{return!1}}function l(E=n(o.seed)){return nX(b0(E,o.seed,\"seed\"),r.ORDER)}function f(E,A=!0){return e.BASE.multiply(B2(r,E)).toBytes(A)}function p(E){let A=l(E);return{secretKey:A,publicKey:f(A)}}function h(E){if(typeof E==\"bigint\")return!1;if(E instanceof e)return!0;let{secretKey:A,publicKey:C,publicKeyUncompressed:R}=o;if(r.allowedLengths||A===C)return;let M=Di(\"key\",E).length;return M===C||M===R}function y(E,A,C=!0){if(h(E)===!0)throw new Error(\"first arg must be private key\");if(h(A)===!1)throw new Error(\"second arg must be public key\");let R=B2(r,E);return e.fromHex(A).multiply(R).toBytes(C)}return Object.freeze({getPublicKey:f,getSharedSecret:y,keygen:p,Point:e,utils:{isValidSecretKey:i,isValidPublicKey:c,randomSecretKey:l,isValidPrivateKey:i,randomPrivateKey:l,normPrivateKeyToScalar:E=>B2(r,E),precompute(E=8,A=e.BASE){return A.precompute(E,!1)}},lengths:o})}function EEt(e,t,r={}){x4(t),$k(r,{},{hmac:\"function\",lowS:\"boolean\",randomBytes:\"function\",bits2int:\"function\",bits2int_modN:\"function\"});let n=r.randomBytes||Zf,o=r.hmac||((_,...k)=>TS(t,_,cs(...k))),{Fp:i,Fn:c}=e,{ORDER:l,BITS:f}=c,{keygen:p,getPublicKey:h,getSharedSecret:y,utils:w,lengths:E}=wEt(e,r),A={prehash:!1,lowS:typeof r.lowS==\"boolean\"?r.lowS:!1,format:void 0,extraEntropy:!1},C=\"compact\";function R(_){let k=l>>M2;return _>k}function M(_,k){if(!c.isValidNot0(k))throw new Error(`invalid signature ${_}: out of range 1..Point.Fn.ORDER`);return k}function D(_,k){cX(k);let O=E.signature,B=k===\"compact\"?O:k===\"recovered\"?O+1:void 0;return b0(_,B,`${k} signature`)}class ${constructor(k,O,B){this.r=M(\"r\",k),this.s=M(\"s\",O),B!=null&&(this.recovery=B),Object.freeze(this)}static fromBytes(k,O=C){D(k,O);let B;if(O===\"der\"){let{r:U,s:P}=jp.toSig(b0(k));return new $(U,P)}O===\"recovered\"&&(B=k[0],O=\"compact\",k=k.subarray(1));let L=c.BYTES,q=k.subarray(0,L),W=k.subarray(L,L*2);return new $(c.fromBytes(q),c.fromBytes(W),B)}static fromHex(k,O){return this.fromBytes(Gm(k),O)}addRecoveryBit(k){return new $(this.r,this.s,k)}recoverPublicKey(k){let O=i.ORDER,{r:B,s:L,recovery:q}=this;if(q==null||![0,1,2,3].includes(q))throw new Error(\"recovery id invalid\");if(l*kqe<O&&q>1)throw new Error(\"recovery id is ambiguous for h>1 curve\");let U=q===2||q===3?B+l:B;if(!i.isValid(U))throw new Error(\"recovery id 2 or 3 invalid\");let P=i.toBytes(U),Z=e.fromBytes(cs(Cqe((q&1)===0),P)),ye=c.inv(U),xe=V(Di(\"msgHash\",k)),Te=c.create(-xe*ye),Ie=c.create(L*ye),Ke=e.BASE.multiplyUnsafe(Te).add(Z.multiplyUnsafe(Ie));if(Ke.is0())throw new Error(\"point at infinify\");return Ke.assertValidity(),Ke}hasHighS(){return R(this.s)}toBytes(k=C){if(cX(k),k===\"der\")return Gm(jp.hexFromSig(this));let O=c.toBytes(this.r),B=c.toBytes(this.s);if(k===\"recovered\"){if(this.recovery==null)throw new Error(\"recovery bit must be present\");return cs(Uint8Array.of(this.recovery),O,B)}return cs(O,B)}toHex(k){return ad(this.toBytes(k))}assertValidity(){}static fromCompact(k){return $.fromBytes(Di(\"sig\",k),\"compact\")}static fromDER(k){return $.fromBytes(Di(\"sig\",k),\"der\")}normalizeS(){return this.hasHighS()?new $(this.r,c.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes(\"der\")}toDERHex(){return ad(this.toBytes(\"der\"))}toCompactRawBytes(){return this.toBytes(\"compact\")}toCompactHex(){return ad(this.toBytes(\"compact\"))}}let H=r.bits2int||function(k){if(k.length>8192)throw new Error(\"input is too large\");let O=hg(k),B=k.length*8-f;return B>0?O>>BigInt(B):O},V=r.bits2int_modN||function(k){return c.create(H(k))},G=Hp(f);function K(_){return YY(\"num < 2^\"+f,_,Fp,G),c.toBytes(_)}function Q(_,k){return b0(_,void 0,\"message\"),k?b0(t(_),void 0,\"prehashed message\"):_}function X(_,k,O){if([\"recovered\",\"canonical\"].some(Te=>Te in O))throw new Error(\"sign() legacy options not supported\");let{lowS:B,prehash:L,extraEntropy:q}=sX(O,A);_=Q(_,L);let W=V(_),U=B2(c,k),P=[K(U),K(W)];if(q!=null&&q!==!1){let Te=q===!0?n(E.secretKey):q;P.push(Di(\"extraEntropy\",Te))}let Z=cs(...P),ye=W;function xe(Te){let Ie=H(Te);if(!c.isValidNot0(Ie))return;let Ke=c.inv(Ie),Ve=e.BASE.multiply(Ie).toAffine(),Nt=c.create(Ve.x);if(Nt===Fp)return;let Pe=c.create(Ke*c.create(ye+Nt*U));if(Pe===Fp)return;let Ot=(Ve.x===Nt?0:2)|Number(Ve.y&M2),Fn=Pe;return B&&R(Pe)&&(Fn=c.neg(Pe),Ot^=1),new $(Nt,Fn,Ot)}return{seed:Z,k2sig:xe}}function Y(_,k,O={}){_=Di(\"message\",_);let{seed:B,k2sig:L}=X(_,k,O);return XY(t.outputLen,c.BYTES,o)(B,L)}function fe(_){let k,O=typeof _==\"string\"||qm(_),B=!O&&_!==null&&typeof _==\"object\"&&typeof _.r==\"bigint\"&&typeof _.s==\"bigint\";if(!O&&!B)throw new Error(\"invalid signature, expected Uint8Array, hex string or Signature instance\");if(B)k=new $(_.r,_.s);else if(O){try{k=$.fromBytes(Di(\"sig\",_),\"der\")}catch(L){if(!(L instanceof jp.Err))throw L}if(!k)try{k=$.fromBytes(Di(\"sig\",_),\"compact\")}catch{return!1}}return k||!1}function ce(_,k,O,B={}){let{lowS:L,prehash:q,format:W}=sX(B,A);if(O=Di(\"publicKey\",O),k=Q(Di(\"message\",k),q),\"strict\"in B)throw new Error(\"options.strict was renamed to lowS\");let U=W===void 0?fe(_):$.fromBytes(Di(\"sig\",_),W);if(U===!1)return!1;try{let P=e.fromBytes(O);if(L&&U.hasHighS())return!1;let{r:Z,s:ye}=U,xe=V(k),Te=c.inv(ye),Ie=c.create(xe*Te),Ke=c.create(Z*Te),Ve=e.BASE.multiplyUnsafe(Ie).add(P.multiplyUnsafe(Ke));return Ve.is0()?!1:c.create(Ve.x)===Z}catch{return!1}}function N(_,k,O={}){let{prehash:B}=sX(O,A);return k=Q(k,B),$.fromBytes(_,\"recovered\").recoverPublicKey(k).toBytes()}return Object.freeze({keygen:p,getPublicKey:h,getSharedSecret:y,utils:w,lengths:E,Point:e,sign:Y,verify:ce,recoverPublicKey:N,Signature:$,hash:t})}function _Et(e){let t={a:e.a,b:e.b,p:e.Fp.ORDER,n:e.n,h:e.h,Gx:e.Gx,Gy:e.Gy},r=e.Fp,n=e.allowedPrivateKeyLengths?Array.from(new Set(e.allowedPrivateKeyLengths.map(c=>Math.ceil(c/2)))):void 0,o=su(t.n,{BITS:e.nBitLength,allowedLengths:n,modFromBytes:e.wrapPrivateKey}),i={Fp:r,Fn:o,allowInfinityPoint:e.allowInfinityPoint,endo:e.endo,isTorsionFree:e.isTorsionFree,clearCofactor:e.clearCofactor,fromBytes:e.fromBytes,toBytes:e.toBytes};return{CURVE:t,curveOpts:i}}function SEt(e){let{CURVE:t,curveOpts:r}=_Et(e),n={hmac:e.hmac,randomBytes:e.randomBytes,lowS:e.lowS,bits2int:e.bits2int,bits2int_modN:e.bits2int_modN};return{CURVE:t,curveOpts:r,hash:e.hash,ecdsaOpts:n}}function AEt(e,t){let r=t.Point;return Object.assign({},t,{ProjectivePoint:r,CURVE:Object.assign({},e,Q9(r.Fn.ORDER,r.Fn.BITS))})}function Iqe(e){let{CURVE:t,curveOpts:r,hash:n,ecdsaOpts:o}=SEt(e),i=vEt(t,r),c=EEt(i,n,o);return AEt(e,c)}var Aqe,uX,jp,Fp,M2,kqe,eM,xEt,Pqe=x(()=>{u();oj();Lu();zk();Sqe();Lk();Aqe=(e,t)=>(e+(e>=0?t:-t)/kqe)/t;uX=class extends Error{constructor(t=\"\"){super(t)}},jp={Err:uX,_tlv:{encode:(e,t)=>{let{Err:r}=jp;if(e<0||e>256)throw new r(\"tlv.encode: wrong tag\");if(t.length&1)throw new r(\"tlv.encode: unpadded data\");let n=t.length/2,o=R2(n);if(o.length/2&128)throw new r(\"tlv.encode: long form length too big\");let i=n>127?R2(o.length/2|128):\"\";return R2(e)+i+o+t},decode(e,t){let{Err:r}=jp,n=0;if(e<0||e>256)throw new r(\"tlv.encode: wrong tag\");if(t.length<2||t[n++]!==e)throw new r(\"tlv.decode: wrong tlv\");let o=t[n++],i=!!(o&128),c=0;if(!i)c=o;else{let f=o&127;if(!f)throw new r(\"tlv.decode(long): indefinite length not supported\");if(f>4)throw new r(\"tlv.decode(long): byte length is too big\");let p=t.subarray(n,n+f);if(p.length!==f)throw new r(\"tlv.decode: length bytes not complete\");if(p[0]===0)throw new r(\"tlv.decode(long): zero leftmost byte\");for(let h of p)c=c<<8|h;if(n+=f,c<128)throw new r(\"tlv.decode(long): not minimal encoding\")}let l=t.subarray(n,n+c);if(l.length!==c)throw new r(\"tlv.decode: wrong value length\");return{v:l,l:t.subarray(n+c)}}},_int:{encode(e){let{Err:t}=jp;if(e<Fp)throw new t(\"integer: negative integers are not allowed\");let r=R2(e);if(Number.parseInt(r[0],16)&8&&(r=\"00\"+r),r.length&1)throw new t(\"unexpected DER parsing assertion: unpadded hex\");return r},decode(e){let{Err:t}=jp;if(e[0]&128)throw new t(\"invalid signature integer: negative\");if(e[0]===0&&!(e[1]&128))throw new t(\"invalid signature integer: unnecessary leading zero\");return hg(e)}},toSig(e){let{Err:t,_int:r,_tlv:n}=jp,o=Di(\"signature\",e),{v:i,l:c}=n.decode(48,o);if(c.length)throw new t(\"invalid signature: left bytes after parsing\");let{v:l,l:f}=n.decode(2,i),{v:p,l:h}=n.decode(2,f);if(h.length)throw new t(\"invalid signature: left bytes after parsing\");return{r:r.decode(l),s:r.decode(p)}},hexFromSig(e){let{_tlv:t,_int:r}=jp,n=t.encode(2,r.encode(e.r)),o=t.encode(2,r.encode(e.s)),i=n+o;return t.encode(48,i)}},Fp=BigInt(0),M2=BigInt(1),kqe=BigInt(2),eM=BigInt(3),xEt=BigInt(4)});function D2(e,t){let r=n=>Iqe({...e,hash:n});return{...r(t),create:r}}var lX=x(()=>{u();Pqe();});function CEt(e){let t=fX.p,r=BigInt(3),n=BigInt(6),o=BigInt(11),i=BigInt(22),c=BigInt(23),l=BigInt(44),f=BigInt(88),p=e*e*e%t,h=p*p*e%t,y=pc(h,r,t)*h%t,w=pc(y,r,t)*h%t,E=pc(w,Rqe,t)*p%t,A=pc(E,o,t)*E%t,C=pc(A,i,t)*A%t,R=pc(C,l,t)*C%t,M=pc(R,f,t)*R%t,D=pc(M,l,t)*C%t,$=pc(D,r,t)*h%t,H=pc($,c,t)*A%t,V=pc(H,n,t)*p%t,G=pc(V,Rqe,t);if(!dX.eql(dX.sqr(G),e))throw new Error(\"Cannot find square root\");return G}var fX,kEt,Rqe,dX,tM,Oqe=x(()=>{u();Hx();lX();Lk();fX={p:BigInt(\"0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f\"),n:BigInt(\"0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141\"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt(\"0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\"),Gy:BigInt(\"0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8\")},kEt={beta:BigInt(\"0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee\"),basises:[[BigInt(\"0x3086d221a7d46bcde86c90e49284eb15\"),-BigInt(\"0xe4437ed6010e88286f547fa90abfe4c3\")],[BigInt(\"0x114ca50f7a8e2f3f657c1108d9d44cfd8\"),BigInt(\"0x3086d221a7d46bcde86c90e49284eb15\")]]},Rqe=BigInt(2);dX=su(fX.p,{sqrt:CEt}),tM=D2({...fX,Fp:dX,lowS:!0,endo:kEt},nc)});var Bqe=x(()=>{u();});var N2,Hd,U2,$2,z2,L2,H2,j2,F2,V2,q2,G2,K2,gg,Z2,jd,W2,J2,xg,vg,Q2,Y2,wg,X2,Eg,e6,t6,r6,n6,_g,Sg,Ag,kg,rM,o6,i6,pX=x(()=>{u();ht();N2=class extends oe{constructor({cause:t}){super(\"Smart Account is not deployed.\",{cause:t,metaMessages:[\"This could arise when:\",\"- No `factory`/`factoryData` or `initCode` properties are provided for Smart Account deployment.\",\"- An incorrect `sender` address is provided.\"],name:\"AccountNotDeployedError\"})}};Object.defineProperty(N2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa20/});Hd=class extends oe{constructor({cause:t,data:r,message:n}={}){let o=n?.replace(\"execution reverted: \",\"\")?.replace(\"execution reverted\",\"\");super(`Execution reverted ${o?`with reason: ${o}`:\"for an unknown reason\"}.`,{cause:t,name:\"ExecutionRevertedError\"}),Object.defineProperty(this,\"data\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=r}};Object.defineProperty(Hd,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32521});Object.defineProperty(Hd,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});U2=class extends oe{constructor({cause:t}){super(\"Failed to send funds to beneficiary.\",{cause:t,name:\"FailedToSendToBeneficiaryError\"})}};Object.defineProperty(U2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa91/});$2=class extends oe{constructor({cause:t}){super(\"Gas value overflowed.\",{cause:t,metaMessages:[\"This could arise when:\",\"- one of the gas values exceeded 2**120 (uint120)\"].filter(Boolean),name:\"GasValuesOverflowError\"})}};Object.defineProperty($2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa94/});z2=class extends oe{constructor({cause:t}){super(\"The `handleOps` function was called by the Bundler with a gas limit too low.\",{cause:t,name:\"HandleOpsOutOfGasError\"})}};Object.defineProperty(z2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa95/});L2=class extends oe{constructor({cause:t,factory:r,factoryData:n,initCode:o}){super(\"Failed to simulate deployment for Smart Account.\",{cause:t,metaMessages:[\"This could arise when:\",\"- Invalid `factory`/`factoryData` or `initCode` properties are present\",\"- Smart Account deployment execution ran out of gas (low `verificationGasLimit` value)\",`- Smart Account deployment execution reverted with an error\\n`,r&&`factory: ${r}`,n&&`factoryData: ${n}`,o&&`initCode: ${o}`].filter(Boolean),name:\"InitCodeFailedError\"})}};Object.defineProperty(L2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa13/});H2=class extends oe{constructor({cause:t,factory:r,factoryData:n,initCode:o}){super(\"Smart Account initialization implementation did not create an account.\",{cause:t,metaMessages:[\"This could arise when:\",\"- `factory`/`factoryData` or `initCode` properties are invalid\",`- Smart Account initialization implementation is incorrect\\n`,r&&`factory: ${r}`,n&&`factoryData: ${n}`,o&&`initCode: ${o}`].filter(Boolean),name:\"InitCodeMustCreateSenderError\"})}};Object.defineProperty(H2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa15/});j2=class extends oe{constructor({cause:t,factory:r,factoryData:n,initCode:o,sender:i}){super(\"Smart Account initialization implementation does not return the expected sender.\",{cause:t,metaMessages:[\"This could arise when:\",`Smart Account initialization implementation does not return a sender address\\n`,r&&`factory: ${r}`,n&&`factoryData: ${n}`,o&&`initCode: ${o}`,i&&`sender: ${i}`].filter(Boolean),name:\"InitCodeMustReturnSenderError\"})}};Object.defineProperty(j2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa14/});F2=class extends oe{constructor({cause:t}){super(\"Smart Account does not have sufficient funds to execute the User Operation.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the Smart Account does not have sufficient funds to cover the required prefund, or\",\"- a Paymaster was not provided\"].filter(Boolean),name:\"InsufficientPrefundError\"})}};Object.defineProperty(F2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa21/});V2=class extends oe{constructor({cause:t}){super(\"Bundler attempted to call an invalid function on the EntryPoint.\",{cause:t,name:\"InternalCallOnlyError\"})}};Object.defineProperty(V2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa92/});q2=class extends oe{constructor({cause:t}){super(\"Bundler used an invalid aggregator for handling aggregated User Operations.\",{cause:t,name:\"InvalidAggregatorError\"})}};Object.defineProperty(q2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa96/});G2=class extends oe{constructor({cause:t,nonce:r}){super(\"Invalid Smart Account nonce used for User Operation.\",{cause:t,metaMessages:[r&&`nonce: ${r}`].filter(Boolean),name:\"InvalidAccountNonceError\"})}};Object.defineProperty(G2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa25/});K2=class extends oe{constructor({cause:t}){super(\"Bundler has not set a beneficiary address.\",{cause:t,name:\"InvalidBeneficiaryError\"})}};Object.defineProperty(K2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa90/});gg=class extends oe{constructor({cause:t}){super(\"Invalid fields set on User Operation.\",{cause:t,name:\"InvalidFieldsError\"})}};Object.defineProperty(gg,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32602});Z2=class extends oe{constructor({cause:t,paymasterAndData:r}){super(\"Paymaster properties provided are invalid.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the `paymasterAndData` property is of an incorrect length\\\\n\",r&&`paymasterAndData: ${r}`].filter(Boolean),name:\"InvalidPaymasterAndDataError\"})}};Object.defineProperty(Z2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa93/});jd=class extends oe{constructor({cause:t}){super(\"Paymaster deposit for the User Operation is too low.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the Paymaster has deposited less than the expected amount via the `deposit` function\"].filter(Boolean),name:\"PaymasterDepositTooLowError\"})}};Object.defineProperty(jd,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32508});Object.defineProperty(jd,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa31/});W2=class extends oe{constructor({cause:t}){super(\"The `validatePaymasterUserOp` function on the Paymaster reverted.\",{cause:t,name:\"PaymasterFunctionRevertedError\"})}};Object.defineProperty(W2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa33/});J2=class extends oe{constructor({cause:t}){super(\"The Paymaster contract has not been deployed.\",{cause:t,name:\"PaymasterNotDeployedError\"})}};Object.defineProperty(J2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa30/});xg=class extends oe{constructor({cause:t}){super(\"UserOperation rejected because paymaster (or signature aggregator) is throttled/banned.\",{cause:t,name:\"PaymasterRateLimitError\"})}};Object.defineProperty(xg,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32504});vg=class extends oe{constructor({cause:t}){super(\"UserOperation rejected because paymaster (or signature aggregator) stake or unstake-delay is too low.\",{cause:t,name:\"PaymasterStakeTooLowError\"})}};Object.defineProperty(vg,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32505});Q2=class extends oe{constructor({cause:t}){super(\"Paymaster `postOp` function reverted.\",{cause:t,name:\"PaymasterPostOpFunctionRevertedError\"})}};Object.defineProperty(Q2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa50/});Y2=class extends oe{constructor({cause:t,factory:r,factoryData:n,initCode:o}){super(\"Smart Account has already been deployed.\",{cause:t,metaMessages:[\"Remove the following properties and try again:\",r&&\"`factory`\",n&&\"`factoryData`\",o&&\"`initCode`\"].filter(Boolean),name:\"SenderAlreadyConstructedError\"})}};Object.defineProperty(Y2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa10/});wg=class extends oe{constructor({cause:t}){super(\"UserOperation rejected because account signature check failed (or paymaster signature, if the paymaster uses its data as signature).\",{cause:t,name:\"SignatureCheckFailedError\"})}};Object.defineProperty(wg,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32507});X2=class extends oe{constructor({cause:t}){super(\"The `validateUserOp` function on the Smart Account reverted.\",{cause:t,name:\"SmartAccountFunctionRevertedError\"})}};Object.defineProperty(X2,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa23/});Eg=class extends oe{constructor({cause:t}){super(\"UserOperation rejected because account specified unsupported signature aggregator.\",{cause:t,name:\"UnsupportedSignatureAggregatorError\"})}};Object.defineProperty(Eg,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32506});e6=class extends oe{constructor({cause:t}){super(\"User Operation expired.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the `validAfter` or `validUntil` values returned from `validateUserOp` on the Smart Account are not satisfied\"].filter(Boolean),name:\"UserOperationExpiredError\"})}};Object.defineProperty(e6,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa22/});t6=class extends oe{constructor({cause:t}){super(\"Paymaster for User Operation expired.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the `validAfter` or `validUntil` values returned from `validatePaymasterUserOp` on the Paymaster are not satisfied\"].filter(Boolean),name:\"UserOperationPaymasterExpiredError\"})}};Object.defineProperty(t6,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa32/});r6=class extends oe{constructor({cause:t}){super(\"Signature provided for the User Operation is invalid.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Smart Account\"].filter(Boolean),name:\"UserOperationSignatureError\"})}};Object.defineProperty(r6,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa24/});n6=class extends oe{constructor({cause:t}){super(\"Signature provided for the User Operation is invalid.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Paymaster\"].filter(Boolean),name:\"UserOperationPaymasterSignatureError\"})}};Object.defineProperty(n6,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa34/});_g=class extends oe{constructor({cause:t}){super(\"User Operation rejected by EntryPoint\\'s `simulateValidation` during account creation or validation.\",{cause:t,name:\"UserOperationRejectedByEntryPointError\"})}};Object.defineProperty(_g,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32500});Sg=class extends oe{constructor({cause:t}){super(\"User Operation rejected by Paymaster\\'s `validatePaymasterUserOp`.\",{cause:t,name:\"UserOperationRejectedByPaymasterError\"})}};Object.defineProperty(Sg,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32501});Ag=class extends oe{constructor({cause:t}){super(\"User Operation rejected with op code validation error.\",{cause:t,name:\"UserOperationRejectedByOpCodeError\"})}};Object.defineProperty(Ag,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32502});kg=class extends oe{constructor({cause:t}){super(\"UserOperation out of time-range: either wallet or paymaster returned a time-range, and it is already expired (or will expire soon).\",{cause:t,name:\"UserOperationOutOfTimeRangeError\"})}};Object.defineProperty(kg,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32503});rM=class extends oe{constructor({cause:t}){super(`An error occurred while executing user operation: ${t?.shortMessage}`,{cause:t,name:\"UnknownBundlerError\"})}},o6=class extends oe{constructor({cause:t}){super(\"User Operation verification gas limit exceeded.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the gas used for verification exceeded the `verificationGasLimit`\"].filter(Boolean),name:\"VerificationGasLimitExceededError\"})}};Object.defineProperty(o6,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa40/});i6=class extends oe{constructor({cause:t}){super(\"User Operation verification gas limit is too low.\",{cause:t,metaMessages:[\"This could arise when:\",\"- the `verificationGasLimit` is too low to verify the User Operation\"].filter(Boolean),name:\"VerificationGasLimitTooLowError\"})}};Object.defineProperty(i6,\"message\",{enumerable:!0,configurable:!0,writable:!0,value:/aa41/})});var nM,oM,iM,jk,Fk=x(()=>{u();ht();ec();Th();nM=class extends oe{constructor(t,{callData:r,callGasLimit:n,docsPath:o,factory:i,factoryData:c,initCode:l,maxFeePerGas:f,maxPriorityFeePerGas:p,nonce:h,paymaster:y,paymasterAndData:w,paymasterData:E,paymasterPostOpGasLimit:A,paymasterVerificationGasLimit:C,preVerificationGas:R,sender:M,signature:D,verificationGasLimit:$}){let H=Wf({callData:r,callGasLimit:n,factory:i,factoryData:c,initCode:l,maxFeePerGas:typeof f<\"u\"&&`${to(f)} gwei`,maxPriorityFeePerGas:typeof p<\"u\"&&`${to(p)} gwei`,nonce:h,paymaster:y,paymasterAndData:w,paymasterData:E,paymasterPostOpGasLimit:A,paymasterVerificationGasLimit:C,preVerificationGas:R,sender:M,signature:D,verificationGasLimit:$});super(t.shortMessage,{cause:t,docsPath:o,metaMessages:[...t.metaMessages?[...t.metaMessages,\" \"]:[],\"Request Arguments:\",H].filter(Boolean),name:\"UserOperationExecutionError\"}),Object.defineProperty(this,\"cause\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}},oM=class extends oe{constructor({hash:t}){super(`User Operation receipt with hash \"${t}\" could not be found. The User Operation may not have been processed yet.`,{name:\"UserOperationReceiptNotFoundError\"})}},iM=class extends oe{constructor({hash:t}){super(`User Operation with hash \"${t}\" could not be found.`,{name:\"UserOperationNotFoundError\"})}},jk=class extends oe{constructor({hash:t}){super(`Timed out while waiting for User Operation with hash \"${t}\" to be confirmed.`,{name:\"WaitForUserOperationReceiptTimeoutError\"})}}});function Mqe(e,t){let r=(e.details||\"\").toLowerCase();if(N2.message.test(r))return new N2({cause:e});if(U2.message.test(r))return new U2({cause:e});if($2.message.test(r))return new $2({cause:e});if(z2.message.test(r))return new z2({cause:e});if(L2.message.test(r))return new L2({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(H2.message.test(r))return new H2({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(j2.message.test(r))return new j2({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode,sender:t.sender});if(F2.message.test(r))return new F2({cause:e});if(V2.message.test(r))return new V2({cause:e});if(G2.message.test(r))return new G2({cause:e,nonce:t.nonce});if(q2.message.test(r))return new q2({cause:e});if(K2.message.test(r))return new K2({cause:e});if(Z2.message.test(r))return new Z2({cause:e});if(jd.message.test(r))return new jd({cause:e});if(W2.message.test(r))return new W2({cause:e});if(J2.message.test(r))return new J2({cause:e});if(Q2.message.test(r))return new Q2({cause:e});if(X2.message.test(r))return new X2({cause:e});if(Y2.message.test(r))return new Y2({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(e6.message.test(r))return new e6({cause:e});if(t6.message.test(r))return new t6({cause:e});if(n6.message.test(r))return new n6({cause:e});if(r6.message.test(r))return new r6({cause:e});if(o6.message.test(r))return new o6({cause:e});if(i6.message.test(r))return new i6({cause:e});let n=e.walk(o=>TEt.some(i=>i.code===o.code));if(n){if(n.code===Hd.code)return new Hd({cause:e,data:n.data,message:n.details});if(n.code===gg.code)return new gg({cause:e});if(n.code===jd.code)return new jd({cause:e});if(n.code===xg.code)return new xg({cause:e});if(n.code===vg.code)return new vg({cause:e});if(n.code===wg.code)return new wg({cause:e});if(n.code===Eg.code)return new Eg({cause:e});if(n.code===kg.code)return new kg({cause:e});if(n.code===_g.code)return new _g({cause:e});if(n.code===Sg.code)return new Sg({cause:e});if(n.code===Ag.code)return new Ag({cause:e})}return new rM({cause:e})}var TEt,Dqe=x(()=>{u();pX();TEt=[Hd,gg,jd,xg,vg,wg,Eg,kg,_g,Sg,Ag]});function aM(e,{calls:t,docsPath:r,...n}){let o=(()=>{let i=Mqe(e,n);if(t&&i instanceof Hd){let c=IEt(i),l=t?.filter(f=>f.abi);if(c&&l.length>0)return PEt({calls:l,revertData:c})}return i})();return new nM(o,{docsPath:r,...n})}function IEt(e){let t;return e.walk(r=>{let n=r;if(typeof n.data==\"string\"||typeof n.data?.revertData==\"string\"||!(n instanceof oe)&&typeof n.message==\"string\"){let o=(n.data?.revertData||n.data||n.message).match?.(/(0x[A-Za-z0-9]*)/);if(o)return t=o[1],!0}return!1}),t}function PEt(e){let{calls:t,revertData:r}=e,{abi:n,functionName:o,args:i,to:c}=(()=>{let f=t?.filter(h=>!!h.abi);if(f.length===1)return f[0];let p=f.filter(h=>{try{return!!Bx({abi:h.abi,data:r})}catch{return!1}});return p.length===1?p[0]:{abi:[],functionName:f.reduce((h,y)=>`${h?`${h} | `:\"\"}${y.functionName}`,\"\"),args:void 0,to:void 0}})(),l=r===\"0x\"?new zx({functionName:o}):new Jf({abi:n,data:r,functionName:o});return new Qm(l,{abi:n,args:i,contractAddress:c,functionName:o})}var mX=x(()=>{u();ht();Qf();B4();pX();Fk();Dqe()});function Nqe(e){let t={};return e.callGasLimit&&(t.callGasLimit=BigInt(e.callGasLimit)),e.preVerificationGas&&(t.preVerificationGas=BigInt(e.preVerificationGas)),e.verificationGasLimit&&(t.verificationGasLimit=BigInt(e.verificationGasLimit)),e.paymasterPostOpGasLimit&&(t.paymasterPostOpGasLimit=BigInt(e.paymasterPostOpGasLimit)),e.paymasterVerificationGasLimit&&(t.paymasterVerificationGasLimit=BigInt(e.paymasterVerificationGasLimit)),t}var Uqe=x(()=>{u()});function g0(e){let t={};return typeof e.callData<\"u\"&&(t.callData=e.callData),typeof e.callGasLimit<\"u\"&&(t.callGasLimit=le(e.callGasLimit)),typeof e.factory<\"u\"&&(t.factory=e.factory),typeof e.factoryData<\"u\"&&(t.factoryData=e.factoryData),typeof e.initCode<\"u\"&&(t.initCode=e.initCode),typeof e.maxFeePerGas<\"u\"&&(t.maxFeePerGas=le(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<\"u\"&&(t.maxPriorityFeePerGas=le(e.maxPriorityFeePerGas)),typeof e.nonce<\"u\"&&(t.nonce=le(e.nonce)),typeof e.paymaster<\"u\"&&(t.paymaster=e.paymaster),typeof e.paymasterAndData<\"u\"&&(t.paymasterAndData=e.paymasterAndData||\"0x\"),typeof e.paymasterData<\"u\"&&(t.paymasterData=e.paymasterData),typeof e.paymasterPostOpGasLimit<\"u\"&&(t.paymasterPostOpGasLimit=le(e.paymasterPostOpGasLimit)),typeof e.paymasterSignature<\"u\"&&(t.paymasterSignature=e.paymasterSignature),typeof e.paymasterVerificationGasLimit<\"u\"&&(t.paymasterVerificationGasLimit=le(e.paymasterVerificationGasLimit)),typeof e.preVerificationGas<\"u\"&&(t.preVerificationGas=le(e.preVerificationGas)),typeof e.sender<\"u\"&&(t.sender=e.sender),typeof e.signature<\"u\"&&(t.signature=e.signature),typeof e.verificationGasLimit<\"u\"&&(t.verificationGasLimit=le(e.verificationGasLimit)),typeof e.authorization<\"u\"&&(t.eip7702Auth=REt(e.authorization)),t}function REt(e){return{address:e.address,chainId:le(e.chainId),nonce:le(e.nonce),r:e.r?le(BigInt(e.r),{size:32}):qr(\"0x\",{size:32}),s:e.s?le(BigInt(e.s),{size:32}):qr(\"0x\",{size:32}),yParity:e.yParity?le(e.yParity,{size:1}):qr(\"0x\",{size:32})}}var Vk=x(()=>{u();ot();Th()});async function $qe(e,t){let{chainId:r,entryPointAddress:n,context:o,...i}=t,c=g0(i),{paymasterPostOpGasLimit:l,paymasterVerificationGasLimit:f,...p}=await e.request({method:\"pm_getPaymasterData\",params:[{...c,callGasLimit:c.callGasLimit??\"0x0\",verificationGasLimit:c.verificationGasLimit??\"0x0\",preVerificationGas:c.preVerificationGas??\"0x0\"},n,le(r),o]});return{...p,...l&&{paymasterPostOpGasLimit:it(l)},...f&&{paymasterVerificationGasLimit:it(f)}}}var zqe=x(()=>{u();Kn();ot();Vk()});async function Lqe(e,t){let{chainId:r,entryPointAddress:n,context:o,...i}=t,c=g0(i),{paymasterPostOpGasLimit:l,paymasterVerificationGasLimit:f,...p}=await e.request({method:\"pm_getPaymasterStubData\",params:[{...c,callGasLimit:c.callGasLimit??\"0x0\",verificationGasLimit:c.verificationGasLimit??\"0x0\",preVerificationGas:c.preVerificationGas??\"0x0\"},n,le(r),o]});return{...p,...l&&{paymasterPostOpGasLimit:it(l)},...f&&{paymasterVerificationGasLimit:it(f)}}}var Hqe=x(()=>{u();Kn();ot();Vk()});async function a6(e,t){let r=t,{account:n=e.account,dataSuffix:o=typeof e.dataSuffix==\"string\"?e.dataSuffix:e.dataSuffix?.value,parameters:i=OEt,stateOverride:c}=r;if(!n)throw new Mn;let l=tt(n),f=e,p=r.paymaster??f?.paymaster,h=typeof p==\"string\"?p:void 0,{getPaymasterStubData:y,getPaymasterData:w}=(()=>{if(p===!0)return{getPaymasterStubData:K=>Ce(f,Lqe,\"getPaymasterStubData\")(K),getPaymasterData:K=>Ce(f,$qe,\"getPaymasterData\")(K)};if(typeof p==\"object\"){let{getPaymasterStubData:K,getPaymasterData:Q}=p;return{getPaymasterStubData:Q&&K?K:Q,getPaymasterData:Q&&K?Q:void 0}}return{getPaymasterStubData:void 0,getPaymasterData:void 0}})(),E=r.paymasterContext?r.paymasterContext:f?.paymasterContext,A={...r,paymaster:h,sender:l.address},[C,R,M,D,$]=await Promise.all([(async()=>r.calls?l.encodeCalls(r.calls.map(K=>{let Q=K;return Q.abi?{data:vt(Q),to:Q.to,value:Q.value}:Q})):r.callData)(),(async()=>{if(!i.includes(\"factory\"))return;if(r.initCode)return{initCode:r.initCode};if(r.factory&&r.factoryData)return{factory:r.factory,factoryData:r.factoryData};let{factory:K,factoryData:Q}=await l.getFactoryArgs();return l.entryPoint.version===\"0.6\"?{initCode:K&&Q?hr([K,Q]):void 0}:{factory:K,factoryData:Q}})(),(async()=>{if(i.includes(\"fees\")){if(typeof r.maxFeePerGas==\"bigint\"&&typeof r.maxPriorityFeePerGas==\"bigint\")return A;if(f?.userOperation?.estimateFeesPerGas){let K=await f.userOperation.estimateFeesPerGas({account:l,bundlerClient:f,userOperation:A});return{...A,...K}}try{let K=f.client??e,Q=await Ce(K,iI,\"estimateFeesPerGas\")({chain:K.chain,type:\"eip1559\"});return{maxFeePerGas:typeof r.maxFeePerGas==\"bigint\"?r.maxFeePerGas:BigInt(2n*Q.maxFeePerGas),maxPriorityFeePerGas:typeof r.maxPriorityFeePerGas==\"bigint\"?r.maxPriorityFeePerGas:BigInt(2n*Q.maxPriorityFeePerGas)}}catch{return}}})(),(async()=>{if(i.includes(\"nonce\"))return typeof r.nonce==\"bigint\"?r.nonce:l.getNonce()})(),(async()=>{if(i.includes(\"authorization\")){if(typeof r.authorization==\"object\")return r.authorization;if(l.authorization&&!await l.isDeployed())return{...await Pb(l.client,l.authorization),r:\"0xfffffffffffffffffffffffffffffff000000000000000000000000000000000\",s:\"0x7aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",yParity:1}}})()]);typeof C<\"u\"&&(A.callData=o?hr([C,o]):C),typeof R<\"u\"&&(A={...A,...R}),typeof M<\"u\"&&(A={...A,...M}),typeof D<\"u\"&&(A.nonce=D),typeof $<\"u\"&&(A.authorization=$),i.includes(\"signature\")&&(typeof r.signature<\"u\"?A.signature=r.signature:A.signature=await l.getStubSignature(A)),l.entryPoint.version===\"0.6\"&&!A.initCode&&(A.initCode=\"0x\");let H;async function V(){return H||(e.chain?e.chain.id:(H=await Ce(e,$o,\"getChainId\")({}),H))}let G=!1;if(i.includes(\"paymaster\")&&y&&!h&&!r.paymasterAndData){let{isFinal:K=!1,sponsor:Q,...X}=await y({chainId:await V(),entryPointAddress:l.entryPoint.address,context:E,...A});G=K,A={...A,...X}}if(l.entryPoint.version===\"0.6\"&&!A.paymasterAndData&&(A.paymasterAndData=\"0x\"),i.includes(\"gas\")){if(l.userOperation?.estimateGas){let K=await l.userOperation.estimateGas(A);A={...A,...K}}if(typeof A.callGasLimit>\"u\"||typeof A.preVerificationGas>\"u\"||typeof A.verificationGasLimit>\"u\"||A.paymaster&&typeof A.paymasterPostOpGasLimit>\"u\"||A.paymaster&&typeof A.paymasterVerificationGasLimit>\"u\"){let K=await Ce(f,cM,\"estimateUserOperationGas\")({account:l,callGasLimit:0n,preVerificationGas:0n,verificationGasLimit:0n,stateOverride:c,...A.paymaster?{paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n}:{},...A});A={...A,callGasLimit:A.callGasLimit??K.callGasLimit,preVerificationGas:A.preVerificationGas??K.preVerificationGas,verificationGasLimit:A.verificationGasLimit??K.verificationGasLimit,paymasterPostOpGasLimit:A.paymasterPostOpGasLimit??K.paymasterPostOpGasLimit,paymasterVerificationGasLimit:A.paymasterVerificationGasLimit??K.paymasterVerificationGasLimit}}}if(i.includes(\"paymaster\")&&w&&!h&&!r.paymasterAndData&&!G){let K=await w({chainId:await V(),entryPointAddress:l.entryPoint.address,context:E,...A});A={...A,...K}}return delete A.calls,delete A.parameters,delete A.paymasterContext,typeof A.paymaster!=\"string\"&&delete A.paymaster,A}var OEt,sM=x(()=>{u();Zr();vq();sI();qu();cc();ki();Zn();Yt();zqe();Hqe();hX();OEt=[\"factory\",\"fees\",\"gas\",\"paymaster\",\"nonce\",\"signature\",\"authorization\"]});async function cM(e,t){let{account:r=e.account,entryPointAddress:n,stateOverride:o}=t;if(!r&&!t.sender)throw new Mn;let i=r?tt(r):void 0,c=lh(o),l=i?await Ce(e,a6,\"prepareUserOperation\")({...t,parameters:[\"authorization\",\"factory\",\"nonce\",\"paymaster\",\"signature\"]}):t;try{let f=[g0(l),n??i?.entryPoint?.address],p=await e.request({method:\"eth_estimateUserOperationGas\",params:c?[...f,c]:[...f]});return Nqe(p)}catch(f){let p=t.calls;throw aM(f,{...l,...p?{calls:p}:{}})}}var hX=x(()=>{u();Zr();cc();Yt();HS();mX();Uqe();Vk();sM()});function jqe(e){return e.request({method:\"eth_supportedEntryPoints\"})}var Fqe=x(()=>{u()});function Vqe(e){let t={...e};return e.callGasLimit&&(t.callGasLimit=BigInt(e.callGasLimit)),e.maxFeePerGas&&(t.maxFeePerGas=BigInt(e.maxFeePerGas)),e.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=BigInt(e.maxPriorityFeePerGas)),e.nonce&&(t.nonce=BigInt(e.nonce)),e.paymasterPostOpGasLimit&&(t.paymasterPostOpGasLimit=BigInt(e.paymasterPostOpGasLimit)),e.paymasterVerificationGasLimit&&(t.paymasterVerificationGasLimit=BigInt(e.paymasterVerificationGasLimit)),e.preVerificationGas&&(t.preVerificationGas=BigInt(e.preVerificationGas)),e.verificationGasLimit&&(t.verificationGasLimit=BigInt(e.verificationGasLimit)),t}var qqe=x(()=>{u()});async function Gqe(e,{hash:t}){let r=await e.request({method:\"eth_getUserOperationByHash\",params:[t]},{dedupe:!0});if(!r)throw new iM({hash:t});let{blockHash:n,blockNumber:o,entryPoint:i,transactionHash:c,userOperation:l}=r;return{blockHash:n,blockNumber:BigInt(o),entryPoint:i,transactionHash:c,userOperation:Vqe(l)}}var Kqe=x(()=>{u();Fk();qqe()});function Zqe(e){let t={...e};return e.actualGasCost&&(t.actualGasCost=BigInt(e.actualGasCost)),e.actualGasUsed&&(t.actualGasUsed=BigInt(e.actualGasUsed)),e.logs&&(t.logs=e.logs.map(r=>po(r))),e.receipt&&(t.receipt=hp(t.receipt)),t}var Wqe=x(()=>{u();Gu();yp()});async function uM(e,{hash:t}){let r=await e.request({method:\"eth_getUserOperationReceipt\",params:[t]},{dedupe:!0});if(!r)throw new oM({hash:t});return Zqe(r)}var yX=x(()=>{u();Fk();Wqe()});async function Jqe(e,t){let{account:r=e.account,entryPointAddress:n}=t;if(!r&&!t.sender)throw new Mn;let o=r?tt(r):void 0,i=o?await Ce(e,a6,\"prepareUserOperation\")(t):t,c=t.signature||await o?.signUserOperation?.(i),l=g0({...i,signature:c});try{return await e.request({method:\"eth_sendUserOperation\",params:[l,n??o?.entryPoint?.address]},{retryCount:0})}catch(f){let p=t.calls;throw aM(f,{...i,...p?{calls:p}:{},signature:c})}}var Qqe=x(()=>{u();Zr();cc();Yt();mX();Vk();sM()});function Yqe(e,t){let{hash:r,pollingInterval:n=e.pollingInterval,retryCount:o,timeout:i=12e4}=t,c=0,l=ir([\"waitForUserOperationReceipt\",e.uid,r]);return new Promise((f,p)=>{let h=li(l,{resolve:f,reject:p},y=>{let w=C=>{A(),C(),h()},E=i?setTimeout(()=>w(()=>y.reject(new jk({hash:r}))),i):void 0,A=gs(async()=>{o&&c>=o&&(clearTimeout(E),w(()=>y.reject(new jk({hash:r}))));try{let C=await Ce(e,uM,\"getUserOperationReceipt\")({hash:r});clearTimeout(E),w(()=>y.resolve(C))}catch(C){let R=C;R.name!==\"UserOperationReceiptNotFoundError\"&&(clearTimeout(E),w(()=>y.reject(R)))}c++},{emitOnBegin:!0,interval:n});return A})})}var Xqe=x(()=>{u();Yt();mp();xh();Ci();Fk();yX()});function eGe(e){return{estimateUserOperationGas:t=>cM(e,t),getChainId:()=>$o(e),getSupportedEntryPoints:()=>jqe(e),getUserOperation:t=>Gqe(e,t),getUserOperationReceipt:t=>uM(e,t),prepareUserOperation:t=>a6(e,t),sendUserOperation:t=>Jqe(e,t),waitForUserOperationReceipt:t=>Yqe(e,t)}}var tGe=x(()=>{u();qu();hX();Fqe();Kqe();yX();sM();Qqe();Xqe()});function bX(e){let{client:t,dataSuffix:r,key:n=\"bundler\",name:o=\"Bundler Client\",paymaster:i,paymasterContext:c,transport:l,userOperation:f}=e;return Object.assign(gp({...e,chain:e.chain??t?.chain,key:n,name:o,transport:l,type:\"bundlerClient\"}),{client:t,dataSuffix:r??t?.dataSuffix,paymaster:i,paymasterContext:c,userOperation:f}).extend(eGe)}var rGe=x(()=>{u();r7();tGe()});var gX=x(()=>{u();oqe();rGe();YVe();XVe();nqe()});var xX,nGe=x(()=>{u();u9();xX=x2(()=>({}))});function vX(e){e.forEach(t=>{var r,n,o,i,c,l,f,p;if(!t.rpcUrl)return;let h=g({id:t.id,rpcUrls:{default:{http:[t.rpcUrl]}},name:(n=(r=t.nativeCurrency)===null||r===void 0?void 0:r.name)!==null&&n!==void 0?n:\"\",nativeCurrency:{name:(i=(o=t.nativeCurrency)===null||o===void 0?void 0:o.name)!==null&&i!==void 0?i:\"\",symbol:(l=(c=t.nativeCurrency)===null||c===void 0?void 0:c.symbol)!==null&&l!==void 0?l:\"\",decimals:(p=(f=t.nativeCurrency)===null||f===void 0?void 0:f.decimal)!==null&&p!==void 0?p:18}}),y=Ib({chain:h,transport:Jc(t.rpcUrl)}),w=bX({client:y,transport:Jc(t.rpcUrl)});xX.setState({[t.id]:{client:y,bundlerClient:w}})})}function lM(e){var t;return(t=xX.getState()[e])===null||t===void 0?void 0:t.client}var wX=x(()=>{u();bn();gX();nGe()});function mi(e,t,r){if(e==null)throw t??Oe.rpc.invalidParams({message:r??\"value must be present\",data:e})}function Fd(e,t){if(!Array.isArray(e))throw Oe.rpc.invalidParams({message:t??\"value must be an array\",data:e})}var s6=x(()=>{u();ea()});function qk(e){if(typeof e!=\"object\"||e===null)throw Oe.rpc.internal(\"sub account info is not an object\");if(!(\"address\"in e))throw Oe.rpc.internal(\"sub account is invalid\");if(\"address\"in e&&typeof e.address==\"string\"&&!Et(e.address))throw Oe.rpc.internal(\"sub account address is invalid\");if(\"factory\"in e&&typeof e.factory==\"string\"&&!Et(e.factory))throw Oe.rpc.internal(\"sub account factory address is invalid\");if(\"factoryData\"in e&&typeof e.factoryData==\"string\"&&!Vr(e.factoryData))throw Oe.rpc.internal(\"sub account factory data is invalid\")}var oGe=x(()=>{u();bn();ea()});async function iGe(){return crypto.subtle.generateKey({name:\"ECDH\",namedCurve:\"P-256\"},!0,[\"deriveKey\"])}async function aGe(e,t){return crypto.subtle.deriveKey({name:\"ECDH\",public:t},e,{name:\"AES-GCM\",length:256},!1,[\"encrypt\",\"decrypt\"])}async function BEt(e,t){let r=crypto.getRandomValues(new Uint8Array(12)),n=await crypto.subtle.encrypt({name:\"AES-GCM\",iv:r},e,new TextEncoder().encode(t));return{iv:r,cipherText:n}}async function MEt(e,{iv:t,cipherText:r}){let n=await crypto.subtle.decrypt({name:\"AES-GCM\",iv:t},e,r);return new TextDecoder().decode(n)}function sGe(e){switch(e){case\"public\":return\"spki\";case\"private\":return\"pkcs8\"}}async function dM(e,t){let r=sGe(e),n=await crypto.subtle.exportKey(r,t);return Ik(new Uint8Array(n))}async function fM(e,t){let r=sGe(e),n=E2(t).buffer;return await crypto.subtle.importKey(r,new Uint8Array(n),{name:\"ECDH\",namedCurve:\"P-256\"},!0,e===\"private\"?[\"deriveKey\"]:[])}async function cGe(e,t){let r=JSON.stringify(e,(n,o)=>{if(!(o instanceof Error))return o;let i=o;return Object.assign(Object.assign({},i.code?{code:i.code}:{}),{message:i.message})});return BEt(t,r)}async function uGe(e,t){return JSON.parse(await MEt(t,e))}var EX=x(()=>{u();cl()});var lGe=x(()=>{u()});var dGe,fGe=x(()=>{u();dGe=\"0.1.1\"});function pGe(){return dGe}var mGe=x(()=>{u();fGe()});function hGe(e,t){return t?.(e)?e:e&&typeof e==\"object\"&&\"cause\"in e&&e.cause?hGe(e.cause,t):t?null:e}var Zt,Vp=x(()=>{u();mGe();Zt=class e extends Error{constructor(t,r={}){let n=(()=>{if(r.cause instanceof e){if(r.cause.details)return r.cause.details;if(r.cause.shortMessage)return r.cause.shortMessage}return r.cause?.message?r.cause.message:r.details})(),o=r.cause instanceof e&&r.cause.docsPath||r.docsPath,c=`https://oxlib.sh${o??\"\"}`,l=[t||\"An error occurred.\",...r.metaMessages?[\"\",...r.metaMessages]:[],...n||o?[\"\",n?`Details: ${n}`:void 0,o?`See: ${c}`:void 0]:[]].filter(f=>typeof f==\"string\").join(`\\n`);super(l,r.cause?{cause:r.cause}:void 0),Object.defineProperty(this,\"details\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"docs\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"docsPath\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"shortMessage\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"cause\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"BaseError\"}),Object.defineProperty(this,\"version\",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${pGe()}`}),this.cause=r.cause,this.details=n,this.docs=c,this.docsPath=o,this.shortMessage=t}walk(t){return hGe(this,t)}}});var yGe,bGe=x(()=>{u();zk();yGe=iqe});function v0(e,t,r){return JSON.stringify(e,(n,o)=>typeof t==\"function\"?t(n,o):typeof o==\"bigint\"?o.toString()+NEt:o,r)}var NEt,c6=x(()=>{u();NEt=\"#__bigint\"});function Kk(e,t){if(Cg(e)>t)throw new pM({givenSize:Cg(e),maxSize:t})}function gGe(e,t){if(typeof t==\"number\"&&t>0&&t>Cg(e)-1)throw new Zk({offset:t,position:\"start\",size:Cg(e)})}function xGe(e,t,r){if(typeof t==\"number\"&&typeof r==\"number\"&&Cg(e)!==r-t)throw new Zk({offset:r,position:\"end\",size:Cg(e)})}function _X(e){if(e>=qp.zero&&e<=qp.nine)return e-qp.zero;if(e>=qp.A&&e<=qp.F)return e-(qp.A-10);if(e>=qp.a&&e<=qp.f)return e-(qp.a-10)}function vGe(e,t={}){let{dir:r,size:n=32}=t;if(n===0)return e;if(e.length>n)throw new mM({size:e.length,targetSize:n,type:\"Bytes\"});let o=new Uint8Array(n);for(let i=0;i<n;i++){let c=r===\"right\";o[c?i:n-i-1]=e[c?i:e.length-i-1]}return o}function wGe(e,t={}){let{dir:r=\"left\"}=t,n=e,o=0;for(let i=0;i<n.length-1&&n[r===\"left\"?i:n.length-i-1].toString()===\"0\";i++)o++;return n=r===\"left\"?n.slice(o):n.slice(0,n.length-o),n}var qp,SX=x(()=>{u();cu();qp={zero:48,nine:57,A:65,F:70,a:97,f:102}});function Tg(e,t){if(Ha(e)>t)throw new Wk({givenSize:Ha(e),maxSize:t})}function _Ge(e,t){if(typeof t==\"number\"&&t>0&&t>Ha(e)-1)throw new u6({offset:t,position:\"start\",size:Ha(e)})}function SGe(e,t,r){if(typeof t==\"number\"&&typeof r==\"number\"&&Ha(e)!==r-t)throw new u6({offset:r,position:\"end\",size:Ha(e)})}function AX(e,t={}){let{dir:r,size:n=32}=t;if(n===0)return e;let o=e.replace(\"0x\",\"\");if(o.length>n*2)throw new Jk({size:Math.ceil(o.length/2),targetSize:n,type:\"Hex\"});return`0x${o[r===\"right\"?\"padEnd\":\"padStart\"](n*2,\"0\")}`}function kX(e,t={}){let{dir:r=\"left\"}=t,n=e.replace(\"0x\",\"\"),o=0;for(let i=0;i<n.length-1&&n[r===\"left\"?i:n.length-i-1].toString()===\"0\";i++)o++;return n=r===\"left\"?n.slice(o):n.slice(0,n.length-o),n===\"0\"?\"0x\":r===\"right\"&&n.length%2===1?`0x${n}0`:`0x${n}`}var CX=x(()=>{u();Vd()});var ja={};an(ja,{IntegerOutOfRangeError:()=>hM,InvalidHexBooleanError:()=>yM,InvalidHexTypeError:()=>Qk,InvalidHexValueError:()=>Yk,InvalidLengthError:()=>TX,SizeExceedsPaddingSizeError:()=>Jk,SizeOverflowError:()=>Wk,SliceOffsetOutOfBoundsError:()=>u6,assert:()=>kGe,concat:()=>ll,from:()=>l6,fromBoolean:()=>IX,fromBytes:()=>bo,fromNumber:()=>Ho,fromString:()=>d6,isEqual:()=>zEt,padLeft:()=>f6,padRight:()=>p6,random:()=>LEt,size:()=>Ha,slice:()=>uu,toBigInt:()=>bM,toBoolean:()=>jEt,toBytes:()=>FEt,toNumber:()=>CGe,toString:()=>VEt,trimLeft:()=>Xk,trimRight:()=>HEt,validate:()=>gM});function kGe(e,t={}){let{strict:r=!1}=t;if(!e)throw new Qk(e);if(typeof e!=\"string\")throw new Qk(e);if(r&&!/^0x[0-9a-fA-F]*$/.test(e))throw new Yk(e);if(!e.startsWith(\"0x\"))throw new Yk(e)}function ll(...e){return`0x${e.reduce((t,r)=>t+r.replace(\"0x\",\"\"),\"\")}`}function l6(e){return e instanceof Uint8Array?bo(e):Array.isArray(e)?bo(new Uint8Array(e)):e}function IX(e,t={}){let r=`0x${Number(e)}`;return typeof t.size==\"number\"?(Tg(r,t.size),f6(r,t.size)):r}function bo(e,t={}){let r=\"\";for(let o=0;o<e.length;o++)r+=$Et[e[o]];let n=`0x${r}`;return typeof t.size==\"number\"?(Tg(n,t.size),p6(n,t.size)):n}function Ho(e,t={}){let{signed:r,size:n}=t,o=BigInt(e),i;n?r?i=(1n<<BigInt(n)*8n-1n)-1n:i=2n**(BigInt(n)*8n)-1n:typeof e==\"number\"&&(i=BigInt(Number.MAX_SAFE_INTEGER));let c=typeof i==\"bigint\"&&r?-i-1n:0;if(i&&o>i||o<c){let p=typeof e==\"bigint\"?\"n\":\"\";throw new hM({max:i?`${i}${p}`:void 0,min:`${c}${p}`,signed:r,size:n,value:`${e}${p}`})}let f=`0x${(r&&o<0?(1n<<BigInt(n*8))+BigInt(o):o).toString(16)}`;return n?f6(f,n):f}function d6(e,t={}){return bo(UEt.encode(e),t)}function zEt(e,t){return yGe(hi(e),hi(t))}function f6(e,t){return AX(e,{dir:\"left\",size:t})}function p6(e,t){return AX(e,{dir:\"right\",size:t})}function LEt(e){return bo(TGe(e))}function uu(e,t,r,n={}){let{strict:o}=n;_Ge(e,t);let i=`0x${e.replace(\"0x\",\"\").slice((t??0)*2,(r??e.length)*2)}`;return o&&SGe(i,t,r),i}function Ha(e){return Math.ceil((e.length-2)/2)}function Xk(e){return kX(e,{dir:\"left\"})}function HEt(e){return kX(e,{dir:\"right\"})}function bM(e,t={}){let{signed:r}=t;t.size&&Tg(e,t.size);let n=BigInt(e);if(!r)return n;let o=(e.length-2)/2,i=(1n<<BigInt(o)*8n)-1n,c=i>>1n;return n<=c?n:n-i-1n}function jEt(e,t={}){t.size&&Tg(e,t.size);let r=Xk(e);if(r===\"0x\")return!1;if(r===\"0x1\")return!0;throw new yM(e)}function FEt(e,t={}){return hi(e,t)}function CGe(e,t={}){let{signed:r,size:n}=t;return Number(!r&&!n?e:bM(e,t))}function VEt(e,t={}){let{size:r}=t,n=hi(e);return r&&(Kk(n,r),n=IGe(n)),new TextDecoder().decode(n)}function gM(e,t={}){let{strict:r=!1}=t;try{return kGe(e,{strict:r}),!0}catch{return!1}}var UEt,$Et,hM,yM,Qk,Yk,TX,Wk,u6,Jk,Vd=x(()=>{u();bGe();cu();Vp();c6();SX();CX();UEt=new TextEncoder,$Et=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\"));hM=class extends Zt{constructor({max:t,min:r,signed:n,size:o,value:i}){super(`Number \\\\`${i}\\\\` is not in safe${o?` ${o*8}-bit`:\"\"}${n?\" signed\":\" unsigned\"} integer range ${t?`(\\\\`${r}\\\\` to \\\\`${t}\\\\`)`:`(above \\\\`${r}\\\\`)`}`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.IntegerOutOfRangeError\"})}},yM=class extends Zt{constructor(t){super(`Hex value \\\\`\"${t}\"\\\\` is not a valid boolean.`,{metaMessages:[\\'The hex value must be `\"0x0\"` (false) or `\"0x1\"` (true).\\']}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.InvalidHexBooleanError\"})}},Qk=class extends Zt{constructor(t){super(`Value \\\\`${typeof t==\"object\"?v0(t):t}\\\\` of type \\\\`${typeof t}\\\\` is an invalid hex type.`,{metaMessages:[\\'Hex types must be represented as `\"0x${string}\"`.\\']}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.InvalidHexTypeError\"})}},Yk=class extends Zt{constructor(t){super(`Value \\\\`${t}\\\\` is an invalid hex value.`,{metaMessages:[\\'Hex values must start with `\"0x\"` and contain only hexadecimal characters (0-9, a-f, A-F).\\']}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.InvalidHexValueError\"})}},TX=class extends Zt{constructor(t){super(`Hex value \\\\`\"${t}\"\\\\` is an odd length (${t.length-2} nibbles).`,{metaMessages:[\"It must be an even length.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.InvalidLengthError\"})}},Wk=class extends Zt{constructor({givenSize:t,maxSize:r}){super(`Size cannot exceed \\\\`${r}\\\\` bytes. Given size: \\\\`${t}\\\\` bytes.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.SizeOverflowError\"})}},u6=class extends Zt{constructor({offset:t,position:r,size:n}){super(`Slice ${r===\"start\"?\"starting\":\"ending\"} at offset \\\\`${t}\\\\` is out-of-bounds (size: \\\\`${n}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.SliceOffsetOutOfBoundsError\"})}},Jk=class extends Zt{constructor({size:t,targetSize:r,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\\\\`${t}\\\\`) exceeds padding size (\\\\`${r}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Hex.SizeExceedsPaddingSizeError\"})}}});function GEt(e){if(!(e instanceof Uint8Array)){if(!e)throw new m6(e);if(typeof e!=\"object\")throw new m6(e);if(!(\"BYTES_PER_ELEMENT\"in e))throw new m6(e);if(e.BYTES_PER_ELEMENT!==1||e.constructor.name!==\"Uint8Array\")throw new m6(e)}}function xM(...e){let t=0;for(let n of e)t+=n.length;let r=new Uint8Array(t);for(let n=0,o=0;n<e.length;n++){let i=e[n];r.set(i,o),o+=i.length}return r}function h6(e){return e instanceof Uint8Array?e:typeof e==\"string\"?hi(e):PX(e)}function PX(e){return e instanceof Uint8Array?e:new Uint8Array(e)}function hi(e,t={}){let{size:r}=t,n=e;r&&(Tg(e,r),n=p6(e,r));let o=n.slice(2);o.length%2&&(o=`0${o}`);let i=o.length/2,c=new Uint8Array(i);for(let l=0,f=0;l<i;l++){let p=_X(o.charCodeAt(f++)),h=_X(o.charCodeAt(f++));if(p===void 0||h===void 0)throw new Zt(`Invalid byte sequence (\"${o[f-2]}${o[f-1]}\" in \"${o}\").`);c[l]=p*16+h}return c}function RX(e,t){let r=Ho(e,t);return hi(r)}function y6(e,t={}){let{size:r}=t,n=qEt.encode(e);return typeof r==\"number\"?(Kk(n,r),KEt(n,r)):n}function KEt(e,t){return vGe(e,{dir:\"right\",size:t})}function TGe(e){return crypto.getRandomValues(new Uint8Array(e))}function Cg(e){return e.length}function OX(e,t,r,n={}){let{strict:o}=n;gGe(e,t);let i=e.slice(t,r);return o&&xGe(i,t,r),i}function BX(e,t={}){let{size:r}=t;typeof r<\"u\"&&Kk(e,r);let n=bo(e,t);return bM(n,t)}function IGe(e){return wGe(e,{dir:\"right\"})}function PGe(e){try{return GEt(e),!0}catch{return!1}}var qEt,m6,pM,Zk,mM,cu=x(()=>{u();Vp();Vd();c6();SX();CX();qEt=new TextEncoder;m6=class extends Zt{constructor(t){super(`Value \\\\`${typeof t==\"object\"?v0(t):t}\\\\` of type \\\\`${typeof t}\\\\` is an invalid Bytes value.`,{metaMessages:[\"Bytes values must be of type `Bytes`.\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.InvalidBytesTypeError\"})}},pM=class extends Zt{constructor({givenSize:t,maxSize:r}){super(`Size cannot exceed \\\\`${r}\\\\` bytes. Given size: \\\\`${t}\\\\` bytes.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.SizeOverflowError\"})}},Zk=class extends Zt{constructor({offset:t,position:r,size:n}){super(`Slice ${r===\"start\"?\"starting\":\"ending\"} at offset \\\\`${t}\\\\` is out-of-bounds (size: \\\\`${n}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.SliceOffsetOutOfBoundsError\"})}},mM=class extends Zt{constructor({size:t,targetSize:r,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\\\\`${t}\\\\`) exceeds padding size (\\\\`${r}\\\\`).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Bytes.SizeExceedsPaddingSizeError\"})}}});function vM(e,t={}){let{as:r=typeof e==\"string\"?\"Hex\":\"Bytes\"}=t,n=Ax(h6(e));return r===\"Bytes\"?n:bo(n)}function wM(e,t={}){let{as:r=typeof e==\"string\"?\"Hex\":\"Bytes\"}=t,n=fv(h6(e));return r===\"Bytes\"?n:bo(n)}var EM=x(()=>{u();E4();lI();cu();Vd()});var _M,RGe=x(()=>{u();_M=class extends Map{constructor(t){super(),Object.defineProperty(this,\"maxSize\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=t}get(t){let r=super.get(t);return super.has(t)&&r!==void 0&&(this.delete(t),super.set(t,r)),r}set(t,r){if(super.set(t,r),this.maxSize&&this.size>this.maxSize){let n=this.keys().next().value;n&&this.delete(n)}return this}}});var ZEt,SM,DX=x(()=>{u();RGe();ZEt={checksum:new _M(8192)},SM=ZEt.checksum});var qd={};an(qd,{InvalidCompressedPrefixError:()=>kM,InvalidError:()=>AM,InvalidPrefixError:()=>e3,InvalidSerializedSizeError:()=>TM,InvalidUncompressedPrefixError:()=>CM,assert:()=>IM,compress:()=>WEt,from:()=>Ig,fromBytes:()=>BGe,fromHex:()=>NX,toBytes:()=>UX,toHex:()=>PM,validate:()=>JEt});function IM(e,t={}){let{compressed:r}=t,{prefix:n,x:o,y:i}=e;if(r===!1||typeof o==\"bigint\"&&typeof i==\"bigint\"){if(n!==4)throw new e3({prefix:n,cause:new CM});return}if(r===!0||typeof o==\"bigint\"&&typeof i>\"u\"){if(n!==3&&n!==2)throw new e3({prefix:n,cause:new kM});return}throw new AM({publicKey:e})}function WEt(e){let{x:t,y:r}=e;return{prefix:r%2n===0n?2:3,x:t}}function Ig(e){let t=(()=>{if(gM(e))return NX(e);if(PGe(e))return BGe(e);let{prefix:r,x:n,y:o}=e;return typeof n==\"bigint\"&&typeof o==\"bigint\"?{prefix:r??4,x:n,y:o}:{prefix:r,x:n}})();return IM(t),t}function BGe(e){return NX(bo(e))}function NX(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new TM({publicKey:e});if(e.length===130){let n=BigInt(uu(e,0,32)),o=BigInt(uu(e,32,64));return{prefix:4,x:n,y:o}}if(e.length===132){let n=Number(uu(e,0,1)),o=BigInt(uu(e,1,33)),i=BigInt(uu(e,33,65));return{prefix:n,x:o,y:i}}let t=Number(uu(e,0,1)),r=BigInt(uu(e,1,33));return{prefix:t,x:r}}function UX(e,t={}){return hi(PM(e,t))}function PM(e,t={}){IM(e);let{prefix:r,x:n,y:o}=e,{includePrefix:i=!0}=t;return ll(i?Ho(r,{size:1}):\"0x\",Ho(n,{size:32}),typeof o==\"bigint\"?Ho(o,{size:32}):\"0x\")}function JEt(e,t={}){try{return IM(e,t),!0}catch{return!1}}var AM,e3,kM,CM,TM,t3=x(()=>{u();cu();Vp();Vd();c6();AM=class extends Zt{constructor({publicKey:t}){super(`Value \\\\`${v0(t)}\\\\` is not a valid public key.`,{metaMessages:[\"Public key must contain:\",\"- an `x` and `prefix` value (compressed)\",\"- an `x`, `y`, and `prefix` value (uncompressed)\"]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidError\"})}},e3=class extends Zt{constructor({prefix:t,cause:r}){super(`Prefix \"${t}\" is invalid.`,{cause:r}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidPrefixError\"})}},kM=class extends Zt{constructor(){super(\"Prefix must be 2 or 3 for compressed public keys.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidCompressedPrefixError\"})}},CM=class extends Zt{constructor(){super(\"Prefix must be 4 for uncompressed public keys.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidUncompressedPrefixError\"})}},TM=class extends Zt{constructor({publicKey:t}){super(`Value \\\\`${t}\\\\` is an invalid public key size.`,{metaMessages:[\"Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).\",`Received ${Ha(l6(t))} bytes.`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"PublicKey.InvalidSerializedSizeError\"})}}});function LX(e,t={}){let{strict:r=!0}=t;if(!QEt.test(e))throw new RM({address:e,cause:new $X});if(r){if(e.toLowerCase()===e)return;if(YEt(e)!==e)throw new RM({address:e,cause:new zX})}}function YEt(e){if(SM.has(e))return SM.get(e);LX(e,{strict:!1});let t=e.substring(2).toLowerCase(),r=vM(y6(t),{as:\"Bytes\"}),n=t.split(\"\");for(let i=0;i<40;i+=2)r[i>>1]>>4>=8&&n[i]&&(n[i]=n[i].toUpperCase()),(r[i>>1]&15)>=8&&n[i+1]&&(n[i+1]=n[i+1].toUpperCase());let o=`0x${n.join(\"\")}`;return SM.set(e,o),o}var QEt,RM,$X,zX,HX=x(()=>{u();cu();DX();Vp();EM();QEt=/^0x[a-fA-F0-9]{40}$/;RM=class extends Zt{constructor({address:t,cause:r}){super(`Address \"${t}\" is invalid.`,{cause:r}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Address.InvalidAddressError\"})}},$X=class extends Zt{constructor(){super(\"Address is not a 20 byte (40 hexadecimal character) value.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Address.InvalidInputError\"})}},zX=class extends Zt{constructor(){super(\"Address does not match its checksum counterpart.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Address.InvalidChecksumError\"})}}});var DGe=x(()=>{u()});var NGe,UGe,$Ge,n5n,o5n,i5n,a5n,s5n,c5n,u5n,l5n,d5n,f5n,p5n,m5n,h5n,y5n,b5n,g5n,x5n,v5n,w5n,E5n,_5n,S5n,A5n,k5n,C5n,T5n,I5n,P5n,R5n,O5n,B5n,M5n,D5n,N5n,U5n,$5n,z5n,L5n,H5n,j5n,F5n,V5n,q5n,G5n,K5n,Z5n,W5n,J5n,Q5n,Y5n,X5n,eAn,tAn,rAn,nAn,oAn,iAn,aAn,sAn,cAn,uAn,lAn,dAn,fAn,pAn,mAn,hAn,yAn,bAn,gAn,xAn,vAn,wAn,EAn,_An,SAn,AAn,kAn,CAn,TAn,IAn,PAn,RAn,OAn,BAn,MAn,DAn,NAn,UAn,$An,zAn,LAn,HAn,jAn,FAn,jX,OM=x(()=>{u();NGe=/^(.*)\\\\[([0-9]*)\\\\]$/,UGe=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,$Ge=/^(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)?$/,n5n=2n**(8n-1n)-1n,o5n=2n**(16n-1n)-1n,i5n=2n**(24n-1n)-1n,a5n=2n**(32n-1n)-1n,s5n=2n**(40n-1n)-1n,c5n=2n**(48n-1n)-1n,u5n=2n**(56n-1n)-1n,l5n=2n**(64n-1n)-1n,d5n=2n**(72n-1n)-1n,f5n=2n**(80n-1n)-1n,p5n=2n**(88n-1n)-1n,m5n=2n**(96n-1n)-1n,h5n=2n**(104n-1n)-1n,y5n=2n**(112n-1n)-1n,b5n=2n**(120n-1n)-1n,g5n=2n**(128n-1n)-1n,x5n=2n**(136n-1n)-1n,v5n=2n**(144n-1n)-1n,w5n=2n**(152n-1n)-1n,E5n=2n**(160n-1n)-1n,_5n=2n**(168n-1n)-1n,S5n=2n**(176n-1n)-1n,A5n=2n**(184n-1n)-1n,k5n=2n**(192n-1n)-1n,C5n=2n**(200n-1n)-1n,T5n=2n**(208n-1n)-1n,I5n=2n**(216n-1n)-1n,P5n=2n**(224n-1n)-1n,R5n=2n**(232n-1n)-1n,O5n=2n**(240n-1n)-1n,B5n=2n**(248n-1n)-1n,M5n=2n**(256n-1n)-1n,D5n=-(2n**(8n-1n)),N5n=-(2n**(16n-1n)),U5n=-(2n**(24n-1n)),$5n=-(2n**(32n-1n)),z5n=-(2n**(40n-1n)),L5n=-(2n**(48n-1n)),H5n=-(2n**(56n-1n)),j5n=-(2n**(64n-1n)),F5n=-(2n**(72n-1n)),V5n=-(2n**(80n-1n)),q5n=-(2n**(88n-1n)),G5n=-(2n**(96n-1n)),K5n=-(2n**(104n-1n)),Z5n=-(2n**(112n-1n)),W5n=-(2n**(120n-1n)),J5n=-(2n**(128n-1n)),Q5n=-(2n**(136n-1n)),Y5n=-(2n**(144n-1n)),X5n=-(2n**(152n-1n)),eAn=-(2n**(160n-1n)),tAn=-(2n**(168n-1n)),rAn=-(2n**(176n-1n)),nAn=-(2n**(184n-1n)),oAn=-(2n**(192n-1n)),iAn=-(2n**(200n-1n)),aAn=-(2n**(208n-1n)),sAn=-(2n**(216n-1n)),cAn=-(2n**(224n-1n)),uAn=-(2n**(232n-1n)),lAn=-(2n**(240n-1n)),dAn=-(2n**(248n-1n)),fAn=-(2n**(256n-1n)),pAn=2n**8n-1n,mAn=2n**16n-1n,hAn=2n**24n-1n,yAn=2n**32n-1n,bAn=2n**40n-1n,gAn=2n**48n-1n,xAn=2n**56n-1n,vAn=2n**64n-1n,wAn=2n**72n-1n,EAn=2n**80n-1n,_An=2n**88n-1n,SAn=2n**96n-1n,AAn=2n**104n-1n,kAn=2n**112n-1n,CAn=2n**120n-1n,TAn=2n**128n-1n,IAn=2n**136n-1n,PAn=2n**144n-1n,RAn=2n**152n-1n,OAn=2n**160n-1n,BAn=2n**168n-1n,MAn=2n**176n-1n,DAn=2n**184n-1n,NAn=2n**192n-1n,UAn=2n**200n-1n,$An=2n**208n-1n,zAn=2n**216n-1n,LAn=2n**224n-1n,HAn=2n**232n-1n,jAn=2n**240n-1n,FAn=2n**248n-1n,jX=2n**256n-1n});function VX(e,t){if(e.length!==t.length)throw new GX({expectedLength:e.length,givenLength:t.length});let r=[];for(let n=0;n<e.length;n++){let o=e[n],i=t[n];r.push(VX.encode(o,i))}return ll(...r)}var qX,GX,KX,zGe=x(()=>{u();HX();Vp();Vd();OM();(function(e){function t(r,n,o=!1){if(r===\"address\"){let f=n;return LX(f),f6(f.toLowerCase(),o?32:0)}if(r===\"string\")return d6(n);if(r===\"bytes\")return n;if(r===\"bool\")return f6(IX(n),o?32:1);let i=r.match($Ge);if(i){let[f,p,h=\"256\"]=i,y=Number.parseInt(h)/8;return Ho(n,{size:o?32:y,signed:p===\"int\"})}let c=r.match(UGe);if(c){let[f,p]=c;if(Number.parseInt(p)!==(n.length-2)/2)throw new qX({expectedSize:Number.parseInt(p),value:n});return p6(n,o?32:0)}let l=r.match(NGe);if(l&&Array.isArray(n)){let[f,p]=l,h=[];for(let y=0;y<n.length;y++)h.push(t(p,n[y],!0));return h.length===0?\"0x\":ll(...h)}throw new KX(r)}e.encode=t})(VX||(VX={}));qX=class extends Zt{constructor({expectedSize:t,value:r}){super(`Size of bytes \"${r}\" (bytes${Ha(r)}) does not match expected size (bytes${t}).`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.BytesSizeMismatchError\"})}},GX=class extends Zt{constructor({expectedLength:t,givenLength:r}){super([\"ABI encoding parameters/values length mismatch.\",`Expected length (parameters): ${t}`,`Given length (values): ${r}`].join(`\\n`)),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.LengthMismatchError\"})}},KX=class extends Zt{constructor(t){super(`Type \\\\`${t}\\\\` is not a valid ABI Type.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"AbiParameters.InvalidTypeError\"})}}});var LGe=x(()=>{u()});var HGe=x(()=>{u()});var jGe=x(()=>{u()});var FGe=x(()=>{u()});var VGe=x(()=>{u()});var qGe=x(()=>{u()});var GGe=x(()=>{u()});var KGe=x(()=>{u()});var Rg={};an(Rg,{InvalidRError:()=>MM,InvalidSError:()=>DM,InvalidSerializedSizeError:()=>BM,InvalidVError:()=>NM,InvalidYParityError:()=>Pg,MissingPropertiesError:()=>b6,assert:()=>UM,extract:()=>c_t,from:()=>ZX,fromBytes:()=>ZGe,fromDerBytes:()=>u_t,fromDerHex:()=>WGe,fromHex:()=>r3,fromLegacy:()=>JGe,fromRpc:()=>QGe,fromTuple:()=>l_t,toBytes:()=>d_t,toDerBytes:()=>f_t,toDerHex:()=>p_t,toHex:()=>YGe,toLegacy:()=>m_t,toRpc:()=>h_t,toTuple:()=>y_t,vToYParity:()=>$M,validate:()=>b_t,yParityToV:()=>WX});function UM(e,t={}){let{recovered:r}=t;if(typeof e.r>\"u\")throw new b6({signature:e});if(typeof e.s>\"u\")throw new b6({signature:e});if(r&&typeof e.yParity>\"u\")throw new b6({signature:e});if(e.r<0n||e.r>jX)throw new MM({value:e.r});if(e.s<0n||e.s>jX)throw new DM({value:e.s});if(typeof e.yParity==\"number\"&&e.yParity!==0&&e.yParity!==1)throw new Pg({value:e.yParity})}function ZGe(e){return r3(bo(e))}function r3(e){if(e.length!==130&&e.length!==132)throw new BM({signature:e});let t=BigInt(uu(e,0,32)),r=BigInt(uu(e,32,64)),n=(()=>{let o=+`0x${e.slice(130)}`;if(!Number.isNaN(o))try{return $M(o)}catch{throw new Pg({value:o})}})();return typeof n>\"u\"?{r:t,s:r}:{r:t,s:r,yParity:n}}function c_t(e){if(!(typeof e.r>\"u\")&&!(typeof e.s>\"u\"))return ZX(e)}function ZX(e){let t=typeof e==\"string\"?r3(e):e instanceof Uint8Array?ZGe(e):typeof e.r==\"string\"?QGe(e):e.v?JGe(e):{r:e.r,s:e.s,...typeof e.yParity<\"u\"?{yParity:e.yParity}:{}};return UM(t),t}function u_t(e){return WGe(bo(e))}function WGe(e){let{r:t,s:r}=tM.Signature.fromDER(l6(e).slice(2));return{r:t,s:r}}function JGe(e){return{r:e.r,s:e.s,yParity:$M(e.v)}}function QGe(e){let t=(()=>{let r=e.v?Number(e.v):void 0,n=e.yParity?Number(e.yParity):void 0;if(typeof r==\"number\"&&typeof n!=\"number\"&&(n=$M(r)),typeof n!=\"number\")throw new Pg({value:e.yParity});return n})();return{r:BigInt(e.r),s:BigInt(e.s),yParity:t}}function l_t(e){let[t,r,n]=e;return ZX({r:r===\"0x\"?0n:BigInt(r),s:n===\"0x\"?0n:BigInt(n),yParity:t===\"0x\"?0:Number(t)})}function d_t(e){return hi(YGe(e))}function YGe(e){UM(e);let t=e.r,r=e.s;return ll(Ho(t,{size:32}),Ho(r,{size:32}),typeof e.yParity==\"number\"?Ho(WX(e.yParity),{size:1}):\"0x\")}function f_t(e){return new tM.Signature(e.r,e.s).toDERRawBytes()}function p_t(e){return`0x${new tM.Signature(e.r,e.s).toDERHex()}`}function m_t(e){return{r:e.r,s:e.s,v:WX(e.yParity)}}function h_t(e){let{r:t,s:r,yParity:n}=e;return{r:Ho(t,{size:32}),s:Ho(r,{size:32}),yParity:n===0?\"0x0\":\"0x1\"}}function y_t(e){let{r:t,s:r,yParity:n}=e;return[n?\"0x01\":\"0x\",t===0n?\"0x\":Xk(Ho(t)),r===0n?\"0x\":Xk(Ho(r))]}function b_t(e,t={}){try{return UM(e,t),!0}catch{return!1}}function $M(e){if(e===0||e===27)return 0;if(e===1||e===28)return 1;if(e>=35)return e%2===0?1:0;throw new NM({value:e})}function WX(e){if(e===0)return 27;if(e===1)return 28;throw new Pg({value:e})}var BM,b6,MM,DM,Pg,NM,JX=x(()=>{u();Oqe();cu();Vp();Vd();c6();OM();BM=class extends Zt{constructor({signature:t}){super(`Value \\\\`${t}\\\\` is an invalid signature size.`,{metaMessages:[\"Expected: 64 bytes or 65 bytes.\",`Received ${Ha(l6(t))} bytes.`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidSerializedSizeError\"})}},b6=class extends Zt{constructor({signature:t}){super(`Signature \\\\`${v0(t)}\\\\` is missing either an \\\\`r\\\\`, \\\\`s\\\\`, or \\\\`yParity\\\\` property.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.MissingPropertiesError\"})}},MM=class extends Zt{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidRError\"})}},DM=class extends Zt{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidSError\"})}},Pg=class extends Zt{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidYParityError\"})}},NM=class extends Zt{constructor({value:t}){super(`Value \\\\`${t}\\\\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Signature.InvalidVError\"})}}});var XGe=x(()=>{u()});var eKe=x(()=>{u()});function E_t(e,t={}){let{pad:r=!0,url:n=!1}=t,o=new Uint8Array(Math.ceil(e.length/3)*4);for(let f=0,p=0;p<e.length;f+=4,p+=3){let h=(e[p]<<16)+(e[p+1]<<8)+(e[p+2]|0);o[f]=zM[h>>18],o[f+1]=zM[h>>12&63],o[f+2]=zM[h>>6&63],o[f+3]=zM[h&63]}let i=e.length%3,c=Math.floor(e.length/3)*4+(i&&i+1),l=w_t.decode(new Uint8Array(o.buffer,0,c));return r&&i===1&&(l+=\"==\"),r&&i===2&&(l+=\"=\"),n&&(l=l.replaceAll(\"+\",\"-\").replaceAll(\"/\",\"_\")),l}function tKe(e,t={}){return E_t(hi(e),t)}function HM(e){let t=e.replace(/=+$/,\"\"),r=t.length,n=new Uint8Array(r+3);v_t.encodeInto(t+\"===\",n);for(let i=0,c=0;i<t.length;i+=4,c+=3){let l=(LM[n[i]]<<18)+(LM[n[i+1]]<<12)+(LM[n[i+2]]<<6)+LM[n[i+3]];n[c]=l>>16,n[c+1]=l>>8&255,n[c+2]=l&255}let o=(r>>2)*3+(r%4&&r%4-1);return new Uint8Array(n.buffer,0,o)}var v_t,w_t,zM,LM,QX=x(()=>{u();cu();v_t=new TextEncoder,w_t=new TextDecoder,zM=Object.fromEntries(Array.from(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\").map((e,t)=>[t,e.charCodeAt(0)])),LM={...Object.fromEntries(Array.from(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\").map((e,t)=>[e.charCodeAt(0),t])),61:0,45:62,95:63}});var nKe=x(()=>{u()});var oKe=x(()=>{u()});var iKe,A_t,aKe,k_t,ckn,sKe=x(()=>{u();iKe=6,A_t=32,aKe=4096,k_t=A_t*aKe,ckn=k_t*iKe-1-1*aKe*iKe});var cKe=x(()=>{u()});var uKe=x(()=>{u()});var lKe=x(()=>{u()});var dKe=x(()=>{u()});var fKe=x(()=>{u()});var pKe=x(()=>{u()});var mKe=x(()=>{u()});var hKe=x(()=>{u()});var N_t,U_t,$_t,z_t,yKe,bKe,gKe,L_t,H_t,gkn,xkn,vkn,wkn,xKe=x(()=>{u();N_t=44032,U_t=4352,$_t=4449,z_t=4519,yKe=19,bKe=21,gKe=28,L_t=bKe*gKe,H_t=yKe*L_t,gkn=N_t+H_t,xkn=U_t+yKe,vkn=$_t+bKe,wkn=z_t+gKe});var vKe=x(()=>{u();xKe()});var wKe=x(()=>{u()});var EKe=x(()=>{u()});var _Ke=x(()=>{u()});var SKe=x(()=>{u()});var AKe=x(()=>{u()});var kKe=x(()=>{u();Bqe()});var CKe=x(()=>{u()});var Os,YX,XX,eee,tee,ree,nee,oee,iee,aee,see,cee,uee,TKe=x(()=>{u();Os=class extends Error{constructor(t){let{code:r,message:n,data:o}=t;super(n),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.BaseError\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"data\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=r,this.data=o}},YX=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Missing or invalid parameters.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32e3}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.InvalidInputError\"})}};Object.defineProperty(YX,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});XX=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Requested resource not found.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32001}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.ResourceNotFoundError\"})}};Object.defineProperty(XX,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32001});eee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Requested resource not available.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32002}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.ResourceUnavailableError\"})}};Object.defineProperty(eee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32002});tee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Transaction creation failed.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32003}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.TransactionRejectedError\"})}};Object.defineProperty(tee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32003});ree=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Method is not implemented.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32004}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.MethodNotSupportedError\"})}};Object.defineProperty(ree,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32004});nee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Rate limit exceeded.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32005}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.LimitExceededError\"})}};Object.defineProperty(nee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32005});oee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"JSON-RPC version not supported.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32006}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.VersionNotSupportedError\"})}};Object.defineProperty(oee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32006});iee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Input is not a valid JSON-RPC request.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32600}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.InvalidRequestError\"})}};Object.defineProperty(iee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32600});aee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Method does not exist.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32601}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.MethodNotFoundError\"})}};Object.defineProperty(aee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32601});see=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Invalid method parameters.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32602}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.InvalidParamsError\"})}};Object.defineProperty(see,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32602});cee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Internal JSON-RPC error.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32603}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.InternalError\"})}};Object.defineProperty(cee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32603});uee=class e extends Os{constructor(t={}){super({code:e.code,data:t.data,message:t.message??\"Failed to parse JSON-RPC response.\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32700}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"RpcResponse.ParseError\"})}};Object.defineProperty(uee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:-32700})});var Og,lee,dee,fee,pee,mee,IKe=x(()=>{u();kR();Og=class extends Error{constructor(t,r){super(r),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ProviderRpcError\"}),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"details\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=t,this.details=r}},lee=class extends Og{constructor({message:t=\"The user rejected the request.\"}={}){super(4001,t),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4001}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Provider.UserRejectedRequestError\"})}};Object.defineProperty(lee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4001});dee=class extends Og{constructor({message:t=\"The requested method and/or account has not been authorized by the user.\"}={}){super(4100,t),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4100}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Provider.UnauthorizedError\"})}};Object.defineProperty(dee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4100});fee=class extends Og{constructor({message:t=\"The provider does not support the requested method.\"}={}){super(4200,t),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4200}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Provider.UnsupportedMethodError\"})}};Object.defineProperty(fee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4200});pee=class extends Og{constructor({message:t=\"The provider is disconnected from all chains.\"}={}){super(4900,t),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4900}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Provider.DisconnectedError\"})}};Object.defineProperty(pee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4900});mee=class extends Og{constructor({message:t=\"The provider is not connected to the requested chain.\"}={}){super(4901,t),Object.defineProperty(this,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4901}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"Provider.ChainDisconnectedError\"})}};Object.defineProperty(mee,\"code\",{enumerable:!0,configurable:!0,writable:!0,value:4901})});var PKe=x(()=>{u()});var RKe=x(()=>{u()});var OKe=x(()=>{u()});var BKe,MKe,DKe,eSt,tSt,rSt,hee,Kkn,Zkn,NKe=x(()=>{u();Hx();lX();Lk();BKe={p:BigInt(\"0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff\"),n:BigInt(\"0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551\"),h:BigInt(1),a:BigInt(\"0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc\"),b:BigInt(\"0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b\"),Gx:BigInt(\"0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296\"),Gy:BigInt(\"0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5\")},MKe={p:BigInt(\"0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff\"),n:BigInt(\"0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973\"),h:BigInt(1),a:BigInt(\"0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc\"),b:BigInt(\"0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef\"),Gx:BigInt(\"0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7\"),Gy:BigInt(\"0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f\")},DKe={p:BigInt(\"0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\"),n:BigInt(\"0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409\"),h:BigInt(1),a:BigInt(\"0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc\"),b:BigInt(\"0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00\"),Gx:BigInt(\"0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66\"),Gy:BigInt(\"0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650\")},eSt=su(BKe.p),tSt=su(MKe.p),rSt=su(DKe.p),hee=D2({...BKe,Fp:eSt,lowS:!1},nc),Kkn=D2({...MKe,Fp:tSt,lowS:!1},Z4),Zkn=D2({...DKe,Fp:rSt,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},K4)});var g6,UKe,jM=x(()=>{u();NKe();g6=hee,UKe=hee});function $Ke(e){let{hash:t,payload:r,publicKey:n,signature:o}=e;return UKe.verify(o,r instanceof Uint8Array?r:hi(r),PM(n).substring(2),...t?[{prehash:!0,lowS:!0}]:[])}var yee=x(()=>{u();jM();cu();t3()});var LKe=x(()=>{u()});var HKe=x(()=>{u()});var jKe=x(()=>{u()});var FKe=x(()=>{u()});var VKe=x(()=>{u()});var qKe=x(()=>{u()});var GKe=x(()=>{u()});var KKe=x(()=>{u()});var ZKe=x(()=>{u()});var WKe=x(()=>{u()});var JKe=x(()=>{u()});var QKe=x(()=>{u()});var YKe=x(()=>{u()});function XKe(e){let t=e[4]===0?5:4,r=t+32,n=e[r+2]===0?r+3:r+2,o=BigInt(bo(e.slice(t,r))),i=BigInt(bo(e.slice(n)));return{r:o,s:i>g6.CURVE.n/2n?g6.CURVE.n-i:i}}async function eZe(e){try{let t=e.getPublicKey();if(!t)throw new w0;let r=new Uint8Array(t),n=await crypto.subtle.importKey(\"spki\",new Uint8Array(r),{name:\"ECDSA\",namedCurve:\"P-256\",hash:\"SHA-256\"},!0,[\"verify\"]),o=new Uint8Array(await crypto.subtle.exportKey(\"raw\",n));return Ig(o)}catch(t){if(t.message!==\"Permission denied to access object\")throw t;let r=new Uint8Array(e.attestationObject),n=32,o=88,i=f=>{let p=new Uint8Array([f,o,n]);for(let h=0;h<r.length-p.length;h++)if(p.every((y,w)=>r[h+w]===y))return h+p.length;throw new w0},c=i(33),l=i(34);return Ig(new Uint8Array([4,...r.slice(c,c+n),...r.slice(l,l+n)]))}}var tZe=x(()=>{u();jM();Vd();t3();bee()});var FM={};an(FM,{CredentialCreationFailedError:()=>w0,CredentialRequestFailedError:()=>n3,createChallenge:()=>rZe,createCredential:()=>bSt,getAuthenticatorData:()=>nZe,getClientDataJSON:()=>oZe,getCredentialCreationOptions:()=>iZe,getCredentialRequestOptions:()=>aZe,getSignPayload:()=>gSt,sign:()=>xSt,verify:()=>vSt});async function bSt(e){let{createFn:t=window.navigator.credentials.create.bind(window.navigator.credentials),...r}=e,n=iZe(r);try{let o=await t(n);if(!o)throw new w0;let i=o.response,c=await eZe(i);return{id:o.id,publicKey:c,raw:o}}catch(o){throw new w0({cause:o})}}function nZe(e={}){let{flag:t=5,rpId:r=window.location.hostname,signCount:n=0}=e,o=wM(d6(r)),i=Ho(t,{size:1}),c=Ho(n,{size:4});return ll(o,i,c)}function oZe(e){let{challenge:t,crossOrigin:r=!1,extraClientData:n,origin:o=window.location.origin}=e;return JSON.stringify({type:\"webauthn.get\",challenge:tKe(t,{url:!0,pad:!1}),origin:o,crossOrigin:r,...n})}function iZe(e){let{attestation:t=\"none\",authenticatorSelection:r={residentKey:\"preferred\",requireResidentKey:!1,userVerification:\"required\"},challenge:n=rZe,excludeCredentialIds:o,name:i,rp:c={id:window.location.hostname,name:window.document.title},user:l,extensions:f}=e,p=l?.name??i;return{publicKey:{attestation:t,authenticatorSelection:r,challenge:n,...o?{excludeCredentials:o?.map(h=>({id:HM(h),type:\"public-key\"}))}:{},pubKeyCredParams:[{type:\"public-key\",alg:-7}],rp:c,user:{id:l?.id??vM(y6(p),{as:\"Bytes\"}),name:p,displayName:l?.displayName??p},extensions:f}}}function aZe(e){let{credentialId:t,challenge:r,rpId:n=window.location.hostname,userVerification:o=\"required\"}=e;return{publicKey:{...t?{allowCredentials:[{id:HM(t),type:\"public-key\"}]}:{},challenge:hi(r),rpId:n,userVerification:o}}}function gSt(e){let{challenge:t,crossOrigin:r,extraClientData:n,flag:o,origin:i,rpId:c,signCount:l,userVerification:f=\"required\"}=e,p=nZe({flag:o,rpId:c,signCount:l}),h=oZe({challenge:t,crossOrigin:r,extraClientData:n,origin:i}),y=wM(d6(h)),w=h.indexOf(\\'\"challenge\"\\'),E=h.indexOf(\\'\"type\"\\'),A={authenticatorData:p,clientDataJSON:h,challengeIndex:w,typeIndex:E,userVerificationRequired:f===\"required\"},C=ll(p,y);return{metadata:A,payload:C}}async function xSt(e){let{getFn:t=window.navigator.credentials.get.bind(window.navigator.credentials),...r}=e,n=aZe(r);try{let o=await t(n);if(!o)throw new n3;let i=o.response,c=String.fromCharCode(...new Uint8Array(i.clientDataJSON)),l=c.indexOf(\\'\"challenge\"\\'),f=c.indexOf(\\'\"type\"\\'),p=XKe(new Uint8Array(i.signature));return{metadata:{authenticatorData:bo(new Uint8Array(i.authenticatorData)),clientDataJSON:c,challengeIndex:l,typeIndex:f,userVerificationRequired:n.publicKey.userVerification===\"required\"},signature:p,raw:o}}catch(o){throw new n3({cause:o})}}function vSt(e){let{challenge:t,hash:r=!0,metadata:n,publicKey:o,signature:i}=e,{authenticatorData:c,challengeIndex:l,clientDataJSON:f,typeIndex:p,userVerificationRequired:h}=n,y=hi(c);if(y.length<37)return!1;let w=y[32];if((w&1)!==1||h&&(w&4)!==4||(w&8)!==8&&(w&16)===16)return!1;let E=\\'\"type\":\"webauthn.get\"\\';if(E!==f.slice(Number(p),E.length+1))return!1;let A=f.slice(Number(l)).match(/^\"challenge\":\"(.*?)\"/);if(!A)return!1;let[C,R]=A;if(bo(HM(R))!==t)return!1;let M=wM(y6(f),{as:\"Bytes\"}),D=xM(y,M);return $Ke({hash:r,payload:D,publicKey:o,signature:i})}var rZe,w0,n3,bee=x(()=>{u();QX();cu();Vp();EM();Vd();yee();tZe();rZe=Uint8Array.from([105,171,180,181,160,222,75,198,42,42,32,31,141,37,186,233]);w0=class extends Zt{constructor({cause:t}={}){super(\"Failed to create credential.\",{cause:t}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"WebAuthnP256.CredentialCreationFailedError\"})}},n3=class extends Zt{constructor({cause:t}={}){super(\"Failed to request credential.\",{cause:t}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"WebAuthnP256.CredentialRequestFailedError\"})}}});var o3={};an(o3,{createKeyPair:()=>wSt,sign:()=>ESt,verify:()=>_St});async function wSt(e={}){let{extractable:t=!1}=e,r=await globalThis.crypto.subtle.generateKey({name:\"ECDSA\",namedCurve:\"P-256\"},t,[\"sign\",\"verify\"]),n=await globalThis.crypto.subtle.exportKey(\"raw\",r.publicKey),o=Ig(new Uint8Array(n));return{privateKey:r.privateKey,publicKey:o}}async function ESt(e){let{payload:t,privateKey:r}=e,n=await globalThis.crypto.subtle.sign({name:\"ECDSA\",hash:\"SHA-256\"},r,h6(t)),o=PX(new Uint8Array(n)),i=BX(OX(o,0,32)),c=BX(OX(o,32,64));return c>g6.CURVE.n/2n&&(c=g6.CURVE.n-c),{r:i,s:c}}async function _St(e){let{payload:t,signature:r}=e,n=await globalThis.crypto.subtle.importKey(\"raw\",UX(e.publicKey),{name:\"ECDSA\",namedCurve:\"P-256\"},!0,[\"verify\"]);return await globalThis.crypto.subtle.verify({name:\"ECDSA\",hash:\"SHA-256\"},n,xM(RX(r.r),RX(r.s)),h6(t))}var sZe=x(()=>{u();jM();cu();t3()});var gee=x(()=>{u();lGe();LGe();HGe();jGe();FGe();DGe();zGe();VGe();qGe();HX();GGe();XGe();eKe();QX();nKe();sKe();lKe();dKe();fKe();pKe();mKe();cu();DX();hKe();vKe();Vp();wKe();EM();_Ke();Vd();SKe();c6();oKe();AKe();kKe();CKe();IKe();t3();KGe();PKe();RKe();TKe();OKe();EKe();yee();JX();LKe();OM();HKe();cKe();FKe();VKe();qKe();GKe();KKe();ZKe();WKe();JKe();QKe();YKe();jKe();bee();sZe();uKe()});function VM(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function vee(e,t){let r=indexedDB.open(e);r.onupgradeneeded=()=>r.result.createObjectStore(t);let n=VM(r);return(o,i)=>n.then(c=>i(c.transaction(t,o).objectStore(t)))}function wee(){return xee||(xee=vee(\"keyval-store\",\"keyval\")),xee}function cZe(e,t=wee()){return t(\"readonly\",r=>VM(r.get(e)))}function uZe(e,t,r=wee()){return r(\"readwrite\",n=>(n.put(t,e),VM(n.transaction)))}function lZe(e,t=wee()){return t(\"readwrite\",r=>(r.delete(e),VM(r.transaction)))}var xee,dZe=x(()=>{u()});function fZe(e,t){let r=typeof indexedDB<\"u\"?vee(e,t):void 0;return{getItem:async n=>{let o=await cZe(n,r);return o||null},removeItem:async n=>lZe(n,r),setItem:async(n,o)=>uZe(n,o,r)}}var pZe=x(()=>{u();dZe()});async function kSt(){let e=await o3.createKeyPair({extractable:!1}),t=ja.slice(qd.toHex(e.publicKey),1);return await E0.setItem(t,e),await E0.setItem(qM,t),e}async function mZe(){let e=await E0.getItem(qM);if(!e)return null;let t=await E0.getItem(e);return t||null}async function CSt(){let e=await mZe();if(!e){let t=await kSt(),r=ja.slice(qd.toHex(t.publicKey),1);return await E0.setItem(r,t),await E0.setItem(qM,r),t}return e}async function TSt(){let e=await CSt(),t=ja.slice(qd.toHex(e.publicKey),1),r=async n=>{let{payload:o,metadata:i}=FM.getSignPayload({challenge:n,origin:\"https://keys.coinbase.com\",userVerification:\"preferred\"}),c=await o3.sign({payload:o,privateKey:e.privateKey});return{signature:Rg.toHex(c),raw:{},webauthn:i}};return{id:t,publicKey:t,async sign({hash:n}){return r(n)},async signMessage({message:n}){return r(xp(n))},async signTypedData(n){return r(Ad(n))},type:\"webAuthn\"}}async function Bg(){return{account:await TSt()}}async function hZe(){let e=await mZe();e&&(await E0.removeItem(ja.slice(qd.toHex(e.publicKey),1)),await E0.removeItem(qM))}var SSt,ASt,qM,E0,GM=x(()=>{u();gee();bn();pZe();SSt=\"cbwsdk\",ASt=\"keys\",qM=\"activeId\",E0=fZe(SSt,ASt)});var yZe,bZe,gZe,KM,xZe=x(()=>{u();ou();EX();yZe={storageKey:\"ownPrivateKey\",keyType:\"private\"},bZe={storageKey:\"ownPublicKey\",keyType:\"public\"},gZe={storageKey:\"peerPublicKey\",keyType:\"public\"},KM=class{constructor(){this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null}async getOwnPublicKey(){return await this.loadKeysIfNeeded(),this.ownPublicKey}async getSharedSecret(){return await this.loadKeysIfNeeded(),this.sharedSecret}async setPeerPublicKey(t){this.sharedSecret=null,this.peerPublicKey=t,await this.storeKey(gZe,t),await this.loadKeysIfNeeded()}async clear(){this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null,Ne.keys.clear()}async generateKeyPair(){let t=await iGe();this.ownPrivateKey=t.privateKey,this.ownPublicKey=t.publicKey,await this.storeKey(yZe,t.privateKey),await this.storeKey(bZe,t.publicKey)}async loadKeysIfNeeded(){if(this.ownPrivateKey===null&&(this.ownPrivateKey=await this.loadKey(yZe)),this.ownPublicKey===null&&(this.ownPublicKey=await this.loadKey(bZe)),(this.ownPrivateKey===null||this.ownPublicKey===null)&&await this.generateKeyPair(),this.peerPublicKey===null&&(this.peerPublicKey=await this.loadKey(gZe)),this.sharedSecret===null){if(this.ownPrivateKey===null||this.peerPublicKey===null)return;this.sharedSecret=await aGe(this.ownPrivateKey,this.peerPublicKey)}}async loadKey(t){let r=Ne.keys.get(t.storageKey);return r?fM(t.keyType,r):null}async storeKey(t,r){let n=await dM(t.keyType,r);Ne.keys.set(t.storageKey,n)}}});function Mg(e,t){if(!(typeof e!=\"object\"||e===null))return t.split(/[.[\\\\]]+/).filter(Boolean).reduce((r,n)=>{if(typeof r==\"object\"&&r!==null)return r[n]},e)}var Eee=x(()=>{u()});var _ee=x(()=>{u();YI()});var ZM,See,ra,WM,Dg=x(()=>{u();ZM=\"0x0ba5ed0c6aa8c49038f819e587e2633c4a9f428a\",See=\"0xf85210B21cC50302F477BA56686d2019dC9b67Ad\",ra=[{inputs:[],stateMutability:\"nonpayable\",type:\"constructor\"},{inputs:[{name:\"owner\",type:\"bytes\"}],name:\"AlreadyOwner\",type:\"error\"},{inputs:[],name:\"Initialized\",type:\"error\"},{inputs:[{name:\"owner\",type:\"bytes\"}],name:\"InvalidEthereumAddressOwner\",type:\"error\"},{inputs:[{name:\"key\",type:\"uint256\"}],name:\"InvalidNonceKey\",type:\"error\"},{inputs:[{name:\"owner\",type:\"bytes\"}],name:\"InvalidOwnerBytesLength\",type:\"error\"},{inputs:[],name:\"LastOwner\",type:\"error\"},{inputs:[{name:\"index\",type:\"uint256\"}],name:\"NoOwnerAtIndex\",type:\"error\"},{inputs:[{name:\"ownersRemaining\",type:\"uint256\"}],name:\"NotLastOwner\",type:\"error\"},{inputs:[{name:\"selector\",type:\"bytes4\"}],name:\"SelectorNotAllowed\",type:\"error\"},{inputs:[],name:\"Unauthorized\",type:\"error\"},{inputs:[],name:\"UnauthorizedCallContext\",type:\"error\"},{inputs:[],name:\"UpgradeFailed\",type:\"error\"},{inputs:[{name:\"index\",type:\"uint256\"},{name:\"expectedOwner\",type:\"bytes\"},{name:\"actualOwner\",type:\"bytes\"}],name:\"WrongOwnerAtIndex\",type:\"error\"},{anonymous:!1,inputs:[{indexed:!0,name:\"index\",type:\"uint256\"},{indexed:!1,name:\"owner\",type:\"bytes\"}],name:\"AddOwner\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"index\",type:\"uint256\"},{indexed:!1,name:\"owner\",type:\"bytes\"}],name:\"RemoveOwner\",type:\"event\"},{anonymous:!1,inputs:[{indexed:!0,name:\"implementation\",type:\"address\"}],name:\"Upgraded\",type:\"event\"},{stateMutability:\"payable\",type:\"fallback\"},{inputs:[],name:\"REPLAYABLE_NONCE_KEY\",outputs:[{name:\"\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"owner\",type:\"address\"}],name:\"addOwnerAddress\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"x\",type:\"bytes32\"},{name:\"y\",type:\"bytes32\"}],name:\"addOwnerPublicKey\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"functionSelector\",type:\"bytes4\"}],name:\"canSkipChainIdValidation\",outputs:[{name:\"\",type:\"bool\"}],stateMutability:\"pure\",type:\"function\"},{inputs:[],name:\"domainSeparator\",outputs:[{name:\"\",type:\"bytes32\"}],stateMutability:\"view\",type:\"function\"},{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\"},{inputs:[],name:\"entryPoint\",outputs:[{name:\"\",type:\"address\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"target\",type:\"address\"},{name:\"value\",type:\"uint256\"},{name:\"data\",type:\"bytes\"}],name:\"execute\",outputs:[],stateMutability:\"payable\",type:\"function\"},{inputs:[{components:[{name:\"target\",type:\"address\"},{name:\"value\",type:\"uint256\"},{name:\"data\",type:\"bytes\"}],name:\"calls\",type:\"tuple[]\"}],name:\"executeBatch\",outputs:[],stateMutability:\"payable\",type:\"function\"},{inputs:[{name:\"calls\",type:\"bytes[]\"}],name:\"executeWithoutChainIdValidation\",outputs:[],stateMutability:\"payable\",type:\"function\"},{inputs:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"initCode\",type:\"bytes\"},{name:\"callData\",type:\"bytes\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymasterAndData\",type:\"bytes\"},{name:\"signature\",type:\"bytes\"}],name:\"userOp\",type:\"tuple\"}],name:\"getUserOpHashWithoutChainId\",outputs:[{name:\"\",type:\"bytes32\"}],stateMutability:\"view\",type:\"function\"},{inputs:[],name:\"implementation\",outputs:[{name:\"$\",type:\"address\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"owners\",type:\"bytes[]\"}],name:\"initialize\",outputs:[],stateMutability:\"payable\",type:\"function\"},{inputs:[{name:\"account\",type:\"address\"}],name:\"isOwnerAddress\",outputs:[{name:\"\",type:\"bool\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"account\",type:\"bytes\"}],name:\"isOwnerBytes\",outputs:[{name:\"\",type:\"bool\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"x\",type:\"bytes32\"},{name:\"y\",type:\"bytes32\"}],name:\"isOwnerPublicKey\",outputs:[{name:\"\",type:\"bool\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"hash\",type:\"bytes32\"},{name:\"signature\",type:\"bytes\"}],name:\"isValidSignature\",outputs:[{name:\"result\",type:\"bytes4\"}],stateMutability:\"view\",type:\"function\"},{inputs:[],name:\"nextOwnerIndex\",outputs:[{name:\"\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"index\",type:\"uint256\"}],name:\"ownerAtIndex\",outputs:[{name:\"\",type:\"bytes\"}],stateMutability:\"view\",type:\"function\"},{inputs:[],name:\"ownerCount\",outputs:[{name:\"\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[],name:\"proxiableUUID\",outputs:[{name:\"\",type:\"bytes32\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"index\",type:\"uint256\"},{name:\"owner\",type:\"bytes\"}],name:\"removeLastOwner\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[{name:\"index\",type:\"uint256\"},{name:\"owner\",type:\"bytes\"}],name:\"removeOwnerAtIndex\",outputs:[],stateMutability:\"nonpayable\",type:\"function\"},{inputs:[],name:\"removedOwnersCount\",outputs:[{name:\"\",type:\"uint256\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"hash\",type:\"bytes32\"}],name:\"replaySafeHash\",outputs:[{name:\"\",type:\"bytes32\"}],stateMutability:\"view\",type:\"function\"},{inputs:[{name:\"newImplementation\",type:\"address\"},{name:\"data\",type:\"bytes\"}],name:\"upgradeToAndCall\",outputs:[],stateMutability:\"payable\",type:\"function\"},{inputs:[{components:[{name:\"sender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"initCode\",type:\"bytes\"},{name:\"callData\",type:\"bytes\"},{name:\"callGasLimit\",type:\"uint256\"},{name:\"verificationGasLimit\",type:\"uint256\"},{name:\"preVerificationGas\",type:\"uint256\"},{name:\"maxFeePerGas\",type:\"uint256\"},{name:\"maxPriorityFeePerGas\",type:\"uint256\"},{name:\"paymasterAndData\",type:\"bytes\"},{name:\"signature\",type:\"bytes\"}],name:\"userOp\",type:\"tuple\"},{name:\"userOpHash\",type:\"bytes32\"},{name:\"missingAccountFunds\",type:\"uint256\"}],name:\"validateUserOp\",outputs:[{name:\"validationData\",type:\"uint256\"}],stateMutability:\"nonpayable\",type:\"function\"},{stateMutability:\"payable\",type:\"receive\"}],WM=[{inputs:[{name:\"implementation_\",type:\"address\"}],stateMutability:\"payable\",type:\"constructor\"},{inputs:[],name:\"OwnerRequired\",type:\"error\"},{inputs:[{name:\"owners\",type:\"bytes[]\"},{name:\"nonce\",type:\"uint256\"}],name:\"createAccount\",outputs:[{name:\"account\",type:\"address\"}],stateMutability:\"payable\",type:\"function\"},{inputs:[{name:\"owners\",type:\"bytes[]\"},{name:\"nonce\",type:\"uint256\"}],name:\"getAddress\",outputs:[{name:\"\",type:\"address\"}],stateMutability:\"view\",type:\"function\"},{inputs:[],name:\"implementation\",outputs:[{name:\"\",type:\"address\"}],stateMutability:\"view\",type:\"function\"},{inputs:[],name:\"initCodeHash\",outputs:[{name:\"\",type:\"bytes32\"}],stateMutability:\"view\",type:\"function\"}]});function Aee(e){var t;if(!Array.isArray(e.params))return null;switch(e.method){case\"personal_sign\":return e.params[1];case\"eth_signTypedData_v4\":return e.params[0];case\"eth_signTransaction\":case\"eth_sendTransaction\":case\"wallet_sendCalls\":return(t=e.params[0])===null||t===void 0?void 0:t.from;default:return null}}function vZe(e,t){if(!Array.isArray(e.params))throw Oe.rpc.invalidParams();let r=[...e.params];switch(e.method){case\"eth_signTransaction\":case\"eth_sendTransaction\":case\"wallet_sendCalls\":r[0].from=t;break;case\"eth_signTypedData_v4\":r[0]=t;break;case\"personal_sign\":r[1]=t;break;default:break}return Object.assign(Object.assign({},e),{params:r})}function kee(e){var t;if(!e||!Array.isArray(e)||!(!((t=e[0])===null||t===void 0)&&t.chainId))throw Oe.rpc.invalidParams();if(typeof e[0].chainId!=\"string\"&&typeof e[0].chainId!=\"number\")throw Oe.rpc.invalidParams()}function wZe(e){if(!e||!Array.isArray(e)||e.length!==1&&e.length!==2)throw Oe.rpc.invalidParams();if(typeof e[0]!=\"string\"||!Et(e[0]))throw Oe.rpc.invalidParams();if(e.length===2){if(!Array.isArray(e[1]))throw Oe.rpc.invalidParams();for(let t of e[1])if(typeof t!=\"string\"||!t.startsWith(\"0x\"))throw Oe.rpc.invalidParams()}}function x6(e,t){let r=Object.assign({},e);if(t&&e.method.startsWith(\"wallet_\")){let n=Mg(r,\"params.0.capabilities\");if(typeof n>\"u\"&&(n={}),typeof n!=\"object\")throw Oe.rpc.invalidParams();n=Object.assign(Object.assign({},t),n),r.params&&Array.isArray(r.params)&&(r.params[0]=Object.assign(Object.assign({},r.params[0]),{capabilities:n}))}return r}async function JM(){var e;let t=(e=Ne.subAccountsConfig.get())!==null&&e!==void 0?e:{},r={};if(t.enableAutoSubAccounts){let{account:n}=t.toOwnerAccount?await t.toOwnerAccount():await Bg();if(!n)throw Oe.provider.unauthorized(\"No owner account found\");r.addSubAccount={account:{type:\"create\",keys:[{type:n.address?\"address\":\"webauthn-p256\",publicKey:n.address||n.publicKey}]}}}Ne.subAccountsConfig.set({capabilities:r})}function EZe(e){if(!(e.method===\"coinbase_fetchPermissions\"&&e.params===void 0)){if(e.method===\"coinbase_fetchPermissions\"&&Array.isArray(e.params)&&e.params.length===1&&typeof e.params[0]==\"object\"){if(typeof e.params[0].account!=\"string\"||!e.params[0].chainId.startsWith(\"0x\"))throw Oe.rpc.invalidParams(\"FetchPermissions - Invalid params: params[0].account must be a hex string\");if(typeof e.params[0].chainId!=\"string\"||!e.params[0].chainId.startsWith(\"0x\"))throw Oe.rpc.invalidParams(\"FetchPermissions - Invalid params: params[0].chainId must be a hex string\");if(typeof e.params[0].spender!=\"string\"||!e.params[0].spender.startsWith(\"0x\"))throw Oe.rpc.invalidParams(\"FetchPermissions - Invalid params: params[0].spender must be a hex string\");return}throw Oe.rpc.invalidParams()}}function _Ze(e){var t,r,n;if(e.params!==void 0)return e;let o=(t=Ne.getState().account.accounts)===null||t===void 0?void 0:t[0],i=(r=Ne.getState().account.chain)===null||r===void 0?void 0:r.id,c=(n=Ne.getState().subAccount)===null||n===void 0?void 0:n.address;if(!o||!c||!i)throw Oe.rpc.invalidParams(\"FetchPermissions - one or more of account, sub account, or chain id is missing, connect to sub account via wallet_connect first\");return{method:\"coinbase_fetchPermissions\",params:[{account:o,chainId:le(i),spender:c}]}}function SZe({spendPermission:e,chainId:t}){return{domain:{name:\"Spend Permission Manager\",version:\"1\",chainId:t,verifyingContract:See},types:{SpendPermission:[{name:\"account\",type:\"address\"},{name:\"spender\",type:\"address\"},{name:\"token\",type:\"address\"},{name:\"allowance\",type:\"uint160\"},{name:\"period\",type:\"uint48\"},{name:\"start\",type:\"uint48\"},{name:\"end\",type:\"uint48\"},{name:\"salt\",type:\"uint256\"},{name:\"extraData\",type:\"bytes\"}]},primaryType:\"SpendPermission\",message:{account:e.account,spender:e.spender,token:e.token,allowance:e.allowance,period:e.period,start:e.start,end:e.end,salt:e.salt,extraData:e.extraData}}}function AZe({spendPermissionBatch:e,chainId:t}){return{domain:{name:\"Spend Permission Manager\",version:\"1\",chainId:t,verifyingContract:See},types:{SpendPermissionBatch:[{name:\"account\",type:\"address\"},{name:\"period\",type:\"uint48\"},{name:\"start\",type:\"uint48\"},{name:\"end\",type:\"uint48\"},{name:\"permissions\",type:\"PermissionDetails[]\"}],PermissionDetails:[{name:\"spender\",type:\"address\"},{name:\"token\",type:\"address\"},{name:\"allowance\",type:\"uint160\"},{name:\"salt\",type:\"uint256\"},{name:\"extraData\",type:\"bytes\"}]},primaryType:\"SpendPermissionBatch\",message:{account:e.account,period:e.period,start:e.start,end:e.end,permissions:e.permissions.map(r=>({spender:r.spender,token:r.token,allowance:r.allowance,salt:r.salt,extraData:r.extraData}))}}}async function QM({client:e,id:t}){var r;let n=await bp(e,{id:t});if(n.status===\"success\")return(r=n.receipts)===null||r===void 0?void 0:r[0].transactionHash;throw Oe.rpc.internal(\"failed to send transaction\")}function YM({calls:e,from:t,chainId:r,capabilities:n}){let o=fY.get().paymasterUrls,i={method:\"wallet_sendCalls\",params:[{version:\"1.0\",calls:e,chainId:le(r),from:t,atomicRequired:!0,capabilities:n}]};return o?.[r]&&(i=x6(i,{paymasterService:{url:o?.[r]}})),i}async function kZe(){let e=Bk();return await new Promise(r=>{k2({snackbarContext:\"sub_account_insufficient_balance\"}),e.presentItem({autoExpand:!0,message:\"Insufficient spend permission. Choose how to proceed:\",menuItems:[{isRed:!1,info:\"Create new Spend Permission\",svgWidth:\"10\",svgHeight:\"11\",path:\"\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:()=>{$p({snackbarContext:\"sub_account_insufficient_balance\",snackbarAction:\"create_permission\"}),e.clear(),r(\"update_permission\")}},{isRed:!1,info:\"Continue in Popup\",svgWidth:\"10\",svgHeight:\"11\",path:\"\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:()=>{$p({snackbarContext:\"sub_account_insufficient_balance\",snackbarAction:\"continue_in_popup\"}),e.clear(),r(\"continue_popup\")}},{isRed:!0,info:\"Cancel\",svgWidth:\"10\",svgHeight:\"11\",path:\"\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:()=>{$p({snackbarContext:\"sub_account_insufficient_balance\",snackbarAction:\"cancel\"}),e.clear(),r(\"cancel\")}}]})})}function CZe({errorData:e,sourceAddress:t}){var r;let n=[];for(let[o,{amount:i,sources:c}]of Object.entries((r=e?.required)!==null&&r!==void 0?r:{})){if(c.filter(f=>it(f.balance)>=it(i)&&f.address.toLowerCase()===t?.toLowerCase()).length===0)throw new Error(\"Source address has insufficient balance for a token\");n.push({token:o,requiredAmount:it(i)})}return n}function TZe(e){return typeof e==\"object\"&&e!==null&&\"calls\"in e}function IZe(e){return Array.isArray(e)&&e.length===1&&typeof e[0]==\"object\"&&e[0]!==null&&\"to\"in e[0]}function ISt(e){return Ai(Gt(rt(e)),0,16)}function PZe({attribution:e,dappOrigin:t}){if(e){if(\"auto\"in e&&e.auto&&t)return ISt(t);if(\"dataSuffix\"in e)return e.dataSuffix}}function RZe(e,t){var r;if(!Array.isArray(e?.params))return!1;let n=(r=e.params[0])===null||r===void 0?void 0:r.capabilities;return!n||typeof n!=\"object\"?!1:t in n}function i3(e,t){let r=e.filter(n=>n!==t);return[t,...r]}function a3(e,t){return[...e.filter(n=>n!==t),t]}async function OZe(){let e=Ne.spendPermissions.get(),t=Ne.subAccounts.get(),r=Ne.account.get().accounts;return r?{accounts:r?.map(o=>({address:o,capabilities:{subAccounts:t?[t]:void 0,spendPermissions:e.length>0?{permissions:e}:void 0}}))}:null}var XM=x(()=>{u();bn();bn();ea();A9();ou();Eee();z9();_ee();GM();Dg()});function PSt(e){return e.replaceAll(\"+\",\"-\").replaceAll(\"/\",\"_\").replace(/=+$/,\"\")}function eD(e){let t=btoa(String.fromCharCode(...new Uint8Array(e)));return PSt(t)}function BZe({webauthn:e,signature:t,id:r}){let n=Rg.fromHex(t);return{id:r,rawId:eD(wa(r)),response:{authenticatorData:eD(Kr(e.authenticatorData)),clientDataJSON:eD(wa(e.clientDataJSON)),signature:eD(RSt(n.r,n.s))},type:JSON.parse(e.clientDataJSON).type}}function RSt(e,t){let r=Kr(Bn(le(e))),n=Kr(Bn(le(t))),o=r.length,i=n.length,c=o+i+4,l=new Uint8Array(c+2);return l[0]=48,l[1]=c,l[2]=2,l[3]=o,l.set(r,4),l[o+4]=2,l[o+5]=i,l.set(n,o+6),l}var MZe=x(()=>{u();gee();bn()});async function DZe(e){let{owner:t,ownerIndex:r,address:n,client:o,factoryData:i}=e,c={abi:HY,address:jY,version:\"0.6\"},l={abi:WM,address:ZM};return GY({client:o,entryPoint:c,extend:{abi:ra,factory:l},async decodeCalls(f){let p=mb({abi:ra,data:f});if(p.functionName===\"execute\")return[{to:p.args[0],value:p.args[1],data:p.args[2]}];if(p.functionName===\"executeBatch\")return p.args[0].map(h=>({to:h.target,value:h.value,data:h.data}));throw new oe(`unable to decode calls for \"${p.functionName}\"`)},async encodeCalls(f){var p,h;return f.length===1?vt({abi:ra,functionName:\"execute\",args:[f[0].to,(p=f[0].value)!==null&&p!==void 0?p:BigInt(0),(h=f[0].data)!==null&&h!==void 0?h:\"0x\"]}):vt({abi:ra,functionName:\"executeBatch\",args:[f.map(y=>{var w,E;return{data:(w=y.data)!==null&&w!==void 0?w:\"0x\",target:y.to,value:(E=y.value)!==null&&E!==void 0?E:BigInt(0)}})]})},async getAddress(){return n},async getFactoryArgs(){return i?{factory:l.address,factoryData:i}:{factory:l.address,factoryData:i}},async getStubSignature(){return t.type===\"webAuthn\"?\"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000170000000000000000000000000000000000000000000000000000000000000001949fc7c88032b9fcb5f6efc7a7b8c63668eae9871b765e23123bb473ff57aa831a7c0d9276168ebcc29f2875a0239cffdf2a9cd1c2007c5c77c071db9264df1d000000000000000000000000000000000000000000000000000000000000002549960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d97630500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a7b2274797065223a22776562617574686e2e676574222c226368616c6c656e6765223a2273496a396e6164474850596759334b7156384f7a4a666c726275504b474f716d59576f4d57516869467773222c226f726967696e223a2268747470733a2f2f7369676e2e636f696e626173652e636f6d222c2263726f73734f726967696e223a66616c73657d00000000000000000000000000000000000000000000\":s3({ownerIndex:r,signature:\"0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c\"})},async sign(f){let p=await this.getAddress(),h=Cee({address:p,chainId:o.chain.id,hash:f.hash}),y=await tD({hash:h,owner:t});return s3({ownerIndex:r,signature:y})},async signMessage(f){let{message:p}=f,h=await this.getAddress(),y=Cee({address:h,chainId:o.chain.id,hash:xp(p)}),w=await tD({hash:y,owner:t});return s3({ownerIndex:r,signature:w})},async signTypedData(f){let{domain:p,types:h,primaryType:y,message:w}=f,E=await this.getAddress(),A=Cee({address:E,chainId:o.chain.id,hash:Ad({domain:p,message:w,primaryType:y,types:h})}),C=await tD({hash:A,owner:t});return s3({ownerIndex:r,signature:C})},async signUserOperation(f){let{chainId:p=o.chain.id}=f,h=OSt(f,[\"chainId\"]),y=await this.getAddress(),w=qY({chainId:p,entryPointAddress:c.address,entryPointVersion:c.version,userOperation:Object.assign(Object.assign({},h),{sender:y})}),E=await tD({hash:w,owner:t});return s3({ownerIndex:r,signature:E})},userOperation:{async estimateGas(f){var p;if(t.type===\"webAuthn\")return{verificationGasLimit:BigInt(Math.max(Number((p=f.verificationGasLimit)!==null&&p!==void 0?p:BigInt(0)),8e5))}}}})}async function tD({hash:e,owner:t}){if(t.type===\"webAuthn\"){let{signature:r,webauthn:n}=await t.sign({hash:e});return BSt({signature:r,webauthn:n})}if(t.sign)return t.sign({hash:e});throw new oe(\"`owner` does not support raw sign.\")}function Cee({address:e,chainId:t,hash:r}){return Ad({domain:{chainId:t,name:\"Coinbase Smart Wallet\",verifyingContract:e,version:\"1\"},types:{CoinbaseSmartWalletMessage:[{name:\"hash\",type:\"bytes32\"}]},primaryType:\"CoinbaseSmartWalletMessage\",message:{hash:r}})}function BSt({webauthn:e,signature:t}){let{r,s:n}=r3(t);return zn([{components:[{name:\"authenticatorData\",type:\"bytes\"},{name:\"clientDataJSON\",type:\"bytes\"},{name:\"challengeIndex\",type:\"uint256\"},{name:\"typeIndex\",type:\"uint256\"},{name:\"r\",type:\"uint256\"},{name:\"s\",type:\"uint256\"}],type:\"tuple\"}],[{authenticatorData:e.authenticatorData,clientDataJSON:ss(e.clientDataJSON),challengeIndex:BigInt(e.challengeIndex),typeIndex:BigInt(e.typeIndex),r,s:n}])}function s3(e){let{ownerIndex:t=0}=e,r=(()=>{if(qt(e.signature)!==65)return e.signature;let n=aP(e.signature);return RF([\"bytes32\",\"bytes32\",\"uint8\"],[n.r,n.s,n.yParity===0?27:28])})();return zn([{components:[{name:\"ownerIndex\",type:\"uint8\"},{name:\"signatureData\",type:\"bytes\"}],type:\"tuple\"}],[{ownerIndex:t,signatureData:r}])}var OSt,NZe=x(()=>{u();JX();bn();gX();Dg();OSt=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}});async function UZe({address:e,client:t,factory:r,factoryData:n,owner:o,ownerIndex:i,parentAddress:c,attribution:l}){var f;let p={address:e,factory:r,factoryData:n},h=(f=t.chain)===null||f===void 0?void 0:f.id;if(!h)throw Oe.rpc.internal(\"chainId not found\");let y=await DZe({owner:o,ownerIndex:i??1,address:e,client:t,factoryData:n}),w=async E=>{var A,C,R,M,D,$;try{switch(E.method){case\"wallet_addSubAccount\":return p;case\"eth_accounts\":return[p.address];case\"eth_coinbase\":return p.address;case\"net_version\":return h.toString();case\"eth_chainId\":return le(h);case\"eth_sendTransaction\":{Fd(E.params);let H=E.params[0];mi(H.to,Oe.rpc.invalidParams(\"to is required\"));let V={to:H.to,data:g9((A=H.data)!==null&&A!==void 0?A:\"0x\",!0),value:g9((C=H.value)!==null&&C!==void 0?C:\"0x\",!0),from:(R=H.from)!==null&&R!==void 0?R:p.address},G=YM({calls:[V],chainId:h,from:V.from}),K=await w(G);return QM({client:t,id:K})}case\"wallet_sendCalls\":{Fd(E.params);let H=Mg(E.params[0],\"chainId\");if(!H)throw Oe.rpc.invalidParams(\"chainId is required\");if(!Vr(H))throw Oe.rpc.invalidParams(\"chainId must be a hex encoded integer\");if(!E.params[0])throw Oe.rpc.invalidParams(\"params are required\");if(!(\"calls\"in E.params[0]))throw Oe.rpc.invalidParams(\"calls are required\");let V={method:\"wallet_prepareCalls\",params:[{version:\"1.0\",calls:E.params[0].calls,chainId:H,from:p.address,capabilities:\"capabilities\"in E.params[0]?E.params[0].capabilities:{}}]};c&&(V=x6(V,{funding:[{type:\"spendPermission\",data:{autoApply:!0,sources:[c],preference:\"PREFER_DIRECT_BALANCE\"}}]}));let G=await w(V),K=await((D=(M=o).sign)===null||D===void 0?void 0:D.call(M,{hash:yS(G.signatureRequest.hash)})),Q;if(!K)throw Oe.rpc.internal(\"signature not found\");return Vr(K)?Q={type:\"secp256k1\",data:{address:o.address,signature:K}}:Q={type:\"webauthn\",data:{signature:JSON.stringify(BZe(Object.assign({id:($=o.id)!==null&&$!==void 0?$:\"1\"},K))),publicKey:o.publicKey}},(await w({method:\"wallet_sendPreparedCalls\",params:[{version:\"1.0\",type:G.type,data:G.userOp,chainId:G.chainId,signature:Q}]}))[0]}case\"wallet_sendPreparedCalls\":{Fd(E.params);let H=Mg(E.params[0],\"chainId\");if(!H)throw Oe.rpc.invalidParams(\"chainId is required\");if(!Vr(H))throw Oe.rpc.invalidParams(\"chainId must be a hex encoded integer\");return await t.request({method:\"wallet_sendPreparedCalls\",params:E.params})}case\"wallet_prepareCalls\":{Fd(E.params);let H=Mg(E.params[0],\"chainId\");if(!H)throw Oe.rpc.invalidParams(\"chainId is required\");if(!Vr(H))throw Oe.rpc.invalidParams(\"chainId must be a hex encoded integer\");if(!E.params[0])throw Oe.rpc.invalidParams(\"params are required\");if(!Mg(E.params[0],\"calls\"))throw Oe.rpc.invalidParams(\"calls are required\");let V=E.params[0];return l&&V.capabilities&&!(\"attribution\"in V.capabilities)&&(V.capabilities.attribution=l),await t.request({method:\"wallet_prepareCalls\",params:[Object.assign(Object.assign({},E.params[0]),{chainId:H})]})}case\"personal_sign\":{if(Fd(E.params),!Vr(E.params[0]))throw Oe.rpc.invalidParams(\"message must be a hex encoded string\");let H=yS(E.params[0]);return y.signMessage({message:H})}case\"eth_signTypedData_v4\":{Fd(E.params);let H=typeof E.params[1]==\"string\"?JSON.parse(E.params[1]):E.params[1];return y.signTypedData(H)}default:throw Oe.rpc.methodNotSupported()}}catch(H){if(h9(H)){let V=SFe(H);if(V)throw V}throw H}};return{request:w}}var $Ze=x(()=>{u();ea();cl();s6();MZe();Eee();bn();XM();NZe()});async function rD({address:e,client:t,publicKey:r,factory:n,factoryData:o}){if(!await Ta(t,{address:e})&&n&&o){if(At(n)!==At(ZM))throw Oe.rpc.internal(\"unknown factory address\");let l=mb({abi:WM,data:o});if(l.functionName!==\"createAccount\")throw Oe.rpc.internal(\"unknown factory function\");let[f]=l.args;return f.findIndex(p=>p.toLowerCase()===zZe(r).toLowerCase())}let c=await Wr(t,{address:e,abi:ra,functionName:\"ownerCount\"});for(let l=Number(c)-1;l>=0;l--){let f=await Wr(t,{address:e,abi:ra,functionName:\"ownerAtIndex\",args:[BigInt(l)]}),p=zZe(r);if(f.toLowerCase()===p.toLowerCase())return l}return-1}function zZe(e){return Et(e)?qr(e):e}var Tee=x(()=>{u();ea();bn();vq();Dg()});async function LZe(){let e=Bk();return new Promise(t=>{k2({snackbarContext:\"sub_account_add_owner\"}),e.presentItem({autoExpand:!0,message:\"App requires a signer update\",menuItems:[{isRed:!1,info:\"Confirm\",svgWidth:\"10\",svgHeight:\"11\",path:\"\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:()=>{$p({snackbarContext:\"sub_account_add_owner\",snackbarAction:\"confirm\"}),e.clear(),t(\"authenticate\")}},{isRed:!0,info:\"Cancel\",svgWidth:\"10\",svgHeight:\"11\",path:\"\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:()=>{$p({snackbarContext:\"sub_account_add_owner\",snackbarAction:\"cancel\"}),e.clear(),t(\"cancel\")}}]})})}var HZe=x(()=>{u();A9();z9()});async function jZe({ownerAccount:e,globalAccountRequest:t}){var r,n;let o=Ne.account.get(),i=Ne.subAccounts.get(),c=(r=o.accounts)===null||r===void 0?void 0:r.find(A=>A.toLowerCase()!==i?.address.toLowerCase());mi(c,Oe.provider.unauthorized(\"no global account\")),mi((n=o.chain)===null||n===void 0?void 0:n.id,Oe.provider.unauthorized(\"no chain id\")),mi(i?.address,Oe.provider.unauthorized(\"no sub account\"));let l=[];if(e.type===\"local\"&&e.address&&l.push({to:i.address,data:vt({abi:ra,functionName:\"addOwnerAddress\",args:[e.address]}),value:rt(0)}),e.publicKey){let[A,C]=ds([{type:\"bytes32\"},{type:\"bytes32\"}],e.publicKey);l.push({to:i.address,data:vt({abi:ra,functionName:\"addOwnerPublicKey\",args:[A,C]}),value:rt(0)})}let f={method:\"wallet_sendCalls\",params:[{version:\"1\",calls:l,chainId:le(84532),from:c}]};if(await LZe()===\"cancel\")throw Oe.provider.unauthorized(\"user cancelled\");let h=await t(f),y=lM(o.chain.id);if(mi(y,Oe.rpc.internal(`client not found for chainId ${o.chain.id}`)),(await bp(y,{id:h})).status!==\"success\")throw Oe.rpc.internal(\"add owner call failed\");let E=await rD({address:i.address,publicKey:e.type===\"local\"&&e.address?e.address:e.publicKey,client:y});if(E===-1)throw Oe.rpc.internal(\"failed to find owner index\");return E}var FZe=x(()=>{u();ea();wX();ou();s6();bn();_ee();Dg();Tee();HZe()});async function VZe({errorData:e,globalAccountAddress:t,subAccountAddress:r,client:n,request:o,subAccountRequest:i,globalAccountRequest:c}){var l;let f=(l=n.chain)===null||l===void 0?void 0:l.id;mi(f,Oe.rpc.internal(\"invalid chainId\"));let p=CZe({errorData:e,sourceAddress:t}),h=await kZe();if(h===\"cancel\")throw new Error(\"User cancelled funding\");let y,w=3600*24,E=3;if(h===\"update_permission\"){if(p.length===1){let $=p[0],H=SZe({spendPermission:{token:$.token,allowance:le($.requiredAmount*BigInt(E)),period:w,account:t,spender:r,start:0,end:0xffffffffffff,salt:le(BigInt(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),extraData:\"0x\"},chainId:f});y={method:\"eth_signTypedData_v4\",params:[t,H]}}else{let $=AZe({spendPermissionBatch:{account:t,period:w,start:0,end:0xffffffffffff,permissions:p.map(H=>({token:H.token,allowance:le(H.requiredAmount*BigInt(E)),period:w,account:t,spender:r,salt:\"0x0\",extraData:\"0x\"}))},chainId:f});y={method:\"eth_signTypedData_v4\",params:[t,$]}}try{await c(y)}catch($){throw console.error($),new Error(\"User denied spend permission request\")}return i(o)}let A=p.map($=>$.token.toLowerCase()===\"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE\".toLowerCase()?{to:r,value:le($.requiredAmount),data:\"0x\"}:{to:$.token,value:\"0x0\",data:vt({abi:iF,functionName:\"transfer\",args:[r,$.requiredAmount]})}),C;if(o.method===\"wallet_sendCalls\"&&TZe(o.params))C=o.params[0];else if(o.method===\"eth_sendTransaction\"&&IZe(o.params))C=YM({calls:[o.params[0]],chainId:f,from:o.params[0].from}).params[0];else throw new Error(\"Could not get original call\");let R=vt({abi:ra,functionName:\"executeBatch\",args:[C.calls.map($=>{var H,V;return{target:$.to,value:it((H=$.value)!==null&&H!==void 0?H:\"0x0\"),data:(V=$.data)!==null&&V!==void 0?V:\"0x\"}})]}),M=[...A,{data:R,to:r,value:\"0x0\"}],D=await c({method:\"wallet_sendCalls\",params:[Object.assign(Object.assign({},C),{calls:M,from:t})]});return o.method===\"eth_sendTransaction\"?QM({client:n,id:D}):D}var qZe=x(()=>{u();ea();s6();bn();XM();Dg()});var c3,GZe=x(()=>{u();A2();bn();ea();HVe();QVe();LY();cl();wX();V9();ou();s6();oGe();EX();S2();GM();xZe();XM();$Ze();Tee();FZe();qZe();c3=class{constructor(t){var r,n,o,i;this.communicator=t.communicator,this.callback=t.callback,this.keyManager=new KM;let{account:c,chains:l}=Ne.getState();this.accounts=(r=c.accounts)!==null&&r!==void 0?r:[],this.chain=(n=c.chain)!==null&&n!==void 0?n:{id:(i=(o=t.metadata.appChainIds)===null||o===void 0?void 0:o[0])!==null&&i!==void 0?i:1},l&&vX(l)}async handshake(t){var r,n,o;let i=Rs.get(t);DVe({method:t.method,correlationId:i});try{await((n=(r=this.communicator).waitForPopupLoaded)===null||n===void 0?void 0:n.call(r));let c=await this.createRequestMessage({handshake:{method:t.method,params:(o=t.params)!==null&&o!==void 0?o:[]}},i),l=await this.communicator.postRequestAndWaitForResponse(c);if(\"failure\"in l.content)throw l.content.failure;let f=await fM(\"public\",l.sender);await this.keyManager.setPeerPublicKey(f);let p=await this.decryptResponseMessage(l);this.handleResponse(t,p),UVe({method:t.method,correlationId:i})}catch(c){throw NVe({method:t.method,correlationId:i,errorMessage:Lp(c)}),c}}async request(t){let r=Rs.get(t);$Ve({method:t.method,correlationId:r});try{let n=await this._request(t);return LVe({method:t.method,correlationId:r}),n}catch(n){throw zVe({method:t.method,correlationId:r,errorMessage:Lp(n)}),n}}async _request(t){var r,n,o,i,c,l,f,p,h,y,w,E,A,C;if(this.accounts.length===0)switch(t.method){case\"eth_requestAccounts\":return await((n=(r=this.communicator).waitForPopupLoaded)===null||n===void 0?void 0:n.call(r)),await JM(),await this.request({method:\"wallet_connect\",params:[{version:\"1\",capabilities:Object.assign({},(i=(o=Ne.subAccountsConfig.get())===null||o===void 0?void 0:o.capabilities)!==null&&i!==void 0?i:{})}]}),this.accounts;case\"wallet_switchEthereumChain\":{kee(t.params),this.chain.id=Number(t.params[0].chainId);return}case\"wallet_connect\":{await((l=(c=this.communicator).waitForPopupLoaded)===null||l===void 0?void 0:l.call(c)),await JM();let R={};RZe(t,\"addSubAccount\")&&(R=(p=(f=Ne.subAccountsConfig.get())===null||f===void 0?void 0:f.capabilities)!==null&&p!==void 0?p:{});let M=x6(t,R);return this.sendRequestToPopup(M)}case\"wallet_sendCalls\":case\"wallet_sign\":return this.sendRequestToPopup(t);default:throw Oe.provider.unauthorized()}if(this.shouldRequestUseSubAccountSigner(t)){let R=Rs.get(t);jVe({method:t.method,correlationId:R});try{let M=await this.sendRequestToSubAccountSigner(t);return FVe({method:t.method,correlationId:R}),M}catch(M){throw VVe({method:t.method,correlationId:R,errorMessage:Lp(M)}),M}}switch(t.method){case\"eth_requestAccounts\":case\"eth_accounts\":{let R=Ne.subAccounts.get(),M=Ne.subAccountsConfig.get();return R?.address&&(this.accounts=M?.enableAutoSubAccounts?i3(this.accounts,R.address):a3(this.accounts,R.address)),(h=this.callback)===null||h===void 0||h.call(this,\"connect\",{chainId:le(this.chain.id)}),this.accounts}case\"eth_coinbase\":return this.accounts[0];case\"net_version\":return this.chain.id;case\"eth_chainId\":return le(this.chain.id);case\"wallet_getCapabilities\":return this.handleGetCapabilitiesRequest(t);case\"wallet_switchEthereumChain\":return this.handleSwitchChainRequest(t);case\"eth_ecRecover\":case\"personal_sign\":case\"wallet_sign\":case\"personal_ecRecover\":case\"eth_signTransaction\":case\"eth_sendTransaction\":case\"eth_signTypedData_v1\":case\"eth_signTypedData_v3\":case\"eth_signTypedData_v4\":case\"eth_signTypedData\":case\"wallet_addEthereumChain\":case\"wallet_watchAsset\":case\"wallet_sendCalls\":case\"wallet_showCallsStatus\":case\"wallet_grantPermissions\":return this.sendRequestToPopup(t);case\"wallet_connect\":{let R=await OZe();if(R)return R;await((w=(y=this.communicator).waitForPopupLoaded)===null||w===void 0?void 0:w.call(y)),await JM();let M=Ne.subAccountsConfig.get(),D=x6(t,(E=M?.capabilities)!==null&&E!==void 0?E:{});return(A=this.callback)===null||A===void 0||A.call(this,\"connect\",{chainId:le(this.chain.id)}),this.sendRequestToPopup(D)}case\"wallet_getSubAccounts\":{let R=Ne.subAccounts.get();if(R?.address)return{subAccounts:[R]};if(!this.chain.rpcUrl)throw Oe.rpc.internal(\"No RPC URL set for chain\");let M=await p0(t,this.chain.rpcUrl);if(Fd(M.subAccounts,\"subAccounts\"),M.subAccounts.length>0){qk(M.subAccounts[0]);let D=M.subAccounts[0];Ne.subAccounts.set({address:D.address,factory:D.factory,factoryData:D.factoryData})}return M}case\"wallet_addSubAccount\":return this.addSubAccount(t);case\"coinbase_fetchPermissions\":{EZe(t);let R=_Ze(t),M=await p0(R,S9),D=Gr((C=R.params)===null||C===void 0?void 0:C[0].chainId);return Ne.spendPermissions.set(M.permissions.map($=>Object.assign(Object.assign({},$),{chainId:D}))),M}default:if(!this.chain.rpcUrl)throw Oe.rpc.internal(\"No RPC URL set for chain\");return p0(t,this.chain.rpcUrl)}}async sendRequestToPopup(t){var r,n;await((n=(r=this.communicator).waitForPopupLoaded)===null||n===void 0?void 0:n.call(r));let o=await this.sendEncryptedRequest(t),i=await this.decryptResponseMessage(o);return this.handleResponse(t,i)}async handleResponse(t,r){var n,o,i,c,l;let f=r.result;if(\"error\"in f)throw f.error;switch(t.method){case\"eth_requestAccounts\":{let p=f.value;this.accounts=p,Ne.account.set({accounts:p,chain:this.chain}),(n=this.callback)===null||n===void 0||n.call(this,\"accountsChanged\",p);break}case\"wallet_connect\":{let p=f.value,h=p.accounts.map(M=>M.address);this.accounts=h,Ne.account.set({accounts:h});let y=p.accounts.at(0),w=y?.capabilities;if(w?.subAccounts){let M=w?.subAccounts;Fd(M,\"subAccounts\"),qk(M[0]),Ne.subAccounts.set({address:M[0].address,factory:M[0].factory,factoryData:M[0].factoryData})}let E=[this.accounts[0]],A=Ne.subAccounts.get(),C=Ne.subAccountsConfig.get();A?.address&&(this.accounts=C?.enableAutoSubAccounts?i3(this.accounts,A.address):a3(this.accounts,A.address));let R=(i=(o=p?.accounts)===null||o===void 0?void 0:o[0].capabilities)===null||i===void 0?void 0:i.spendPermissions;R&&\"permissions\"in R&&Ne.spendPermissions.set(R?.permissions),(c=this.callback)===null||c===void 0||c.call(this,\"accountsChanged\",E);break}case\"wallet_addSubAccount\":{qk(f.value);let p=f.value;Ne.subAccounts.set(p);let h=Ne.subAccountsConfig.get();this.accounts=h?.enableAutoSubAccounts?i3(this.accounts,p.address):a3(this.accounts,p.address),(l=this.callback)===null||l===void 0||l.call(this,\"accountsChanged\",this.accounts);break}default:break}return f.value}async cleanup(){var t,r;let n=Ne.config.get().metadata;await this.keyManager.clear(),Ne.account.clear(),Ne.subAccounts.clear(),Ne.spendPermissions.clear(),Ne.chains.clear(),this.accounts=[],this.chain={id:(r=(t=n?.appChainIds)===null||t===void 0?void 0:t[0])!==null&&r!==void 0?r:1}}async handleSwitchChainRequest(t){kee(t.params);let r=pg(t.params[0].chainId);if(this.updateChain(r))return null;let o=await this.sendRequestToPopup(t);return o===null&&this.updateChain(r),o}async handleGetCapabilitiesRequest(t){wZe(t.params);let r=t.params[0],n=t.params[1];if(!this.accounts.some(l=>Wi(l,r)))throw Oe.provider.unauthorized(\"no active account found when getting capabilities\");let o=Ne.getState().account.capabilities;if(!o)return{};if(!n||n.length===0)return o;let i=new Set(n.map(l=>Gr(l)));return Object.fromEntries(Object.entries(o).filter(([l])=>{try{let f=Gr(l);return i.has(f)}catch{return!1}}))}async sendEncryptedRequest(t){let r=await this.keyManager.getSharedSecret();if(!r)throw Oe.provider.unauthorized(\"No shared secret found when encrypting request\");let n=await cGe({action:t,chainId:this.chain.id},r),o=Rs.get(t),i=await this.createRequestMessage({encrypted:n},o);return this.communicator.postRequestAndWaitForResponse(i)}async createRequestMessage(t,r){let n=await dM(\"public\",await this.keyManager.getOwnPublicKey());return{id:crypto.randomUUID(),correlationId:r,sender:n,content:t,timestamp:new Date}}async decryptResponseMessage(t){var r,n,o;let i=t.content;if(\"failure\"in i)throw i.failure;let c=await this.keyManager.getSharedSecret();if(!c)throw Oe.provider.unauthorized(\"Invalid session: no shared secret found when decrypting response\");let l=await uGe(i.encrypted,c),f=(r=l.data)===null||r===void 0?void 0:r.chains;if(f){let h=(n=l.data)===null||n===void 0?void 0:n.nativeCurrencies,y=Object.entries(f).map(([w,E])=>{let A=h?.[Number(w)];return Object.assign({id:Number(w),rpcUrl:E},A?{nativeCurrency:A}:{})});Ne.chains.set(y),this.updateChain(this.chain.id,y),vX(y)}let p=(o=l.data)===null||o===void 0?void 0:o.capabilities;return p&&Ne.account.set({capabilities:p}),l}updateChain(t,r){var n;let o=Ne.getState(),i=r??o.chains,c=i?.find(l=>l.id===t);return c?(c!==this.chain&&(this.chain=c,Ne.account.set({chain:c}),(n=this.callback)===null||n===void 0||n.call(this,\"chainChanged\",Np(c.id))),!0):!1}async addSubAccount(t){var r,n,o,i;let l=Ne.getState().subAccount,f=Ne.subAccountsConfig.get();if(l?.address)return this.accounts=f?.enableAutoSubAccounts?i3(this.accounts,l.address):a3(this.accounts,l.address),(r=this.callback)===null||r===void 0||r.call(this,\"accountsChanged\",this.accounts),l;if(await((o=(n=this.communicator).waitForPopupLoaded)===null||o===void 0?void 0:o.call(n)),Array.isArray(t.params)&&t.params.length>0&&t.params[0].account&&t.params[0].account.type===\"create\"){let h;if(t.params[0].account.keys&&t.params[0].account.keys.length>0)h=t.params[0].account.keys;else{let y=(i=Ne.subAccountsConfig.get())!==null&&i!==void 0?i:{},{account:w}=y.toOwnerAccount?await y.toOwnerAccount():await Bg();if(!w)throw Oe.provider.unauthorized(\"could not get subaccount owner account when adding sub account\");h=[{type:w.address?\"address\":\"webauthn-p256\",publicKey:w.address||w.publicKey}]}t.params[0].account.keys=h}let p=await this.sendRequestToPopup(t);return qk(p),p}shouldRequestUseSubAccountSigner(t){let r=Aee(t),n=Ne.subAccounts.get();return r?r.toLowerCase()===n?.address.toLowerCase():!1}async sendRequestToSubAccountSigner(t){var r;let n=Ne.subAccounts.get(),o=Ne.subAccountsConfig.get(),i=Ne.config.get();mi(n?.address,Oe.provider.unauthorized(\"no active sub account when sending request to sub account signer\"));let c=o?.toOwnerAccount?await o.toOwnerAccount():await Bg();mi(c?.account,Oe.provider.unauthorized(\"no active sub account owner when sending request to sub account signer\")),Aee(t)===void 0&&(t=vZe(t,n.address));let f=lM(this.chain.id);mi(f,Oe.rpc.internal(`client not found for chainId ${this.chain.id} when sending request to sub account signer`));let p=this.accounts.find(A=>A.toLowerCase()!==n.address.toLowerCase());mi(p,Oe.provider.unauthorized(\"no global account found when sending request to sub account signer\"));let h=PZe({attribution:(r=i.preference)===null||r===void 0?void 0:r.attribution,dappOrigin:window.location.origin}),y=c.account.type===\"local\"?c.account.address:c.account.publicKey,w=await rD({address:n.address,factory:n.factory,factoryData:n.factoryData,publicKey:y,client:f});if(w===-1){let A=Rs.get(t);qVe({method:t.method,correlationId:A});try{w=await jZe({ownerAccount:c.account,globalAccountRequest:this.sendRequestToPopup.bind(this)}),GVe({method:t.method,correlationId:A})}catch(C){return KVe({method:t.method,correlationId:A,errorMessage:Lp(C)}),Oe.provider.unauthorized(\"failed to add sub account owner when sending request to sub account signer\")}}let{request:E}=await UZe({address:n.address,owner:c.account,client:f,factory:n.factory,factoryData:n.factoryData,parentAddress:p,attribution:h?{suffix:h}:void 0,ownerIndex:w});try{return await E(t)}catch(A){let C;if(h9(A))C=JSON.parse(A.details);else if(yY(A))C=A;else throw A;if(!(yY(C)&&C.data)||!C.data)throw A;let R=Rs.get(t);ZVe({method:t.method,correlationId:R});try{let M=await VZe({errorData:C.data,globalAccountAddress:p,subAccountAddress:n.address,client:f,request:t,subAccountRequest:E,globalAccountRequest:this.request.bind(this)});return WVe({method:t.method,correlationId:R}),M}catch(M){throw console.error(M),JVe({method:t.method,correlationId:R,errorMessage:Lp(M)}),A}}}}});var KZe,ZZe,WZe,JZe,QZe,YZe,Iee,XZe,Pee=x(()=>{u();m0();KZe=({method:e,correlationId:t})=>{Ht(\"walletlink_signer.handshake.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t},Rt.high)},ZZe=({method:e,correlationId:t,errorMessage:r})=>{Ht(\"walletlink_signer.handshake.error\",{action:Pt.error,componentType:It.unknown,method:e,correlationId:t,errorMessage:r},Rt.high)},WZe=({method:e,correlationId:t})=>{Ht(\"walletlink_signer.handshake.completed\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t},Rt.high)},JZe=({method:e,correlationId:t})=>{Ht(\"walletlink_signer.request.started\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t},Rt.high)},QZe=({method:e,correlationId:t,errorMessage:r})=>{Ht(\"walletlink_signer.request.error\",{action:Pt.error,componentType:It.unknown,method:e,correlationId:t,errorMessage:r},Rt.high)},YZe=({method:e,correlationId:t})=>{Ht(\"walletlink_signer.request.completed\",{action:Pt.unknown,componentType:It.unknown,method:e,correlationId:t},Rt.high)},Iee=()=>{Ht(\"walletlink_signer.walletlink_connection.connection_failed\",{action:Pt.measurement,componentType:It.unknown},Rt.high)},XZe=()=>{Ht(\"walletlink_signer.walletlink_connection.fetch_unseen_events_failed\",{action:Pt.measurement,componentType:It.unknown},Rt.high)}});var Oee=J(Ni=>{\"use strict\";u();Object.defineProperty(Ni,\"__esModule\",{value:!0});Ni.output=Ni.exists=Ni.hash=Ni.bytes=Ni.bool=Ni.number=Ni.isBytes=void 0;function nD(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}Ni.number=nD;function eWe(e){if(typeof e!=\"boolean\")throw new Error(`boolean expected, not ${e}`)}Ni.bool=eWe;function tWe(e){return e instanceof Uint8Array||e!=null&&typeof e==\"object\"&&e.constructor.name===\"Uint8Array\"}Ni.isBytes=tWe;function Ree(e,...t){if(!tWe(e))throw new Error(\"Uint8Array expected\");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}Ni.bytes=Ree;function rWe(e){if(typeof e!=\"function\"||typeof e.create!=\"function\")throw new Error(\"Hash should be wrapped by utils.wrapConstructor\");nD(e.outputLen),nD(e.blockLen)}Ni.hash=rWe;function nWe(e,t=!0){if(e.destroyed)throw new Error(\"Hash instance has been destroyed\");if(t&&e.finished)throw new Error(\"Hash#digest() has already been called\")}Ni.exists=nWe;function oWe(e,t){Ree(e);let r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}Ni.output=oWe;var MSt={number:nD,bool:eWe,bytes:Ree,hash:rWe,exists:nWe,output:oWe};Ni.default=MSt});var kWe=J(_t=>{\"use strict\";u();Object.defineProperty(_t,\"__esModule\",{value:!0});_t.add5L=_t.add5H=_t.add4H=_t.add4L=_t.add3H=_t.add3L=_t.add=_t.rotlBL=_t.rotlBH=_t.rotlSL=_t.rotlSH=_t.rotr32L=_t.rotr32H=_t.rotrBL=_t.rotrBH=_t.rotrSL=_t.rotrSH=_t.shrSL=_t.shrSH=_t.toBig=_t.split=_t.fromBig=void 0;var oD=BigInt(2**32-1),Bee=BigInt(32);function Mee(e,t=!1){return t?{h:Number(e&oD),l:Number(e>>Bee&oD)}:{h:Number(e>>Bee&oD)|0,l:Number(e&oD)|0}}_t.fromBig=Mee;function iWe(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;o<e.length;o++){let{h:i,l:c}=Mee(e[o],t);[r[o],n[o]]=[i,c]}return[r,n]}_t.split=iWe;var aWe=(e,t)=>BigInt(e>>>0)<<Bee|BigInt(t>>>0);_t.toBig=aWe;var sWe=(e,t,r)=>e>>>r;_t.shrSH=sWe;var cWe=(e,t,r)=>e<<32-r|t>>>r;_t.shrSL=cWe;var uWe=(e,t,r)=>e>>>r|t<<32-r;_t.rotrSH=uWe;var lWe=(e,t,r)=>e<<32-r|t>>>r;_t.rotrSL=lWe;var dWe=(e,t,r)=>e<<64-r|t>>>r-32;_t.rotrBH=dWe;var fWe=(e,t,r)=>e>>>r-32|t<<64-r;_t.rotrBL=fWe;var pWe=(e,t)=>t;_t.rotr32H=pWe;var mWe=(e,t)=>e;_t.rotr32L=mWe;var hWe=(e,t,r)=>e<<r|t>>>32-r;_t.rotlSH=hWe;var yWe=(e,t,r)=>t<<r|e>>>32-r;_t.rotlSL=yWe;var bWe=(e,t,r)=>t<<r-32|e>>>64-r;_t.rotlBH=bWe;var gWe=(e,t,r)=>e<<r-32|t>>>64-r;_t.rotlBL=gWe;function xWe(e,t,r,n){let o=(t>>>0)+(n>>>0);return{h:e+r+(o/2**32|0)|0,l:o|0}}_t.add=xWe;var vWe=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);_t.add3L=vWe;var wWe=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;_t.add3H=wWe;var EWe=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);_t.add4L=EWe;var _We=(e,t,r,n,o)=>t+r+n+o+(e/2**32|0)|0;_t.add4H=_We;var SWe=(e,t,r,n,o)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(o>>>0);_t.add5L=SWe;var AWe=(e,t,r,n,o,i)=>t+r+n+o+i+(e/2**32|0)|0;_t.add5H=AWe;var DSt={fromBig:Mee,split:iWe,toBig:aWe,shrSH:sWe,shrSL:cWe,rotrSH:uWe,rotrSL:lWe,rotrBH:dWe,rotrBL:fWe,rotr32H:pWe,rotr32L:mWe,rotlSH:hWe,rotlSL:yWe,rotlBH:bWe,rotlBL:gWe,add:xWe,add3L:vWe,add3H:wWe,add4L:EWe,add4H:_We,add5H:AWe,add5L:SWe};_t.default=DSt});var CWe=J(iD=>{\"use strict\";u();Object.defineProperty(iD,\"__esModule\",{value:!0});iD.crypto=void 0;iD.crypto=typeof globalThis==\"object\"&&\"crypto\"in globalThis?globalThis.crypto:void 0});var PWe=J(ft=>{\"use strict\";u();Object.defineProperty(ft,\"__esModule\",{value:!0});ft.randomBytes=ft.wrapXOFConstructorWithOpts=ft.wrapConstructorWithOpts=ft.wrapConstructor=ft.checkOpts=ft.Hash=ft.concatBytes=ft.toBytes=ft.utf8ToBytes=ft.asyncLoop=ft.nextTick=ft.hexToBytes=ft.bytesToHex=ft.byteSwap32=ft.byteSwapIfBE=ft.byteSwap=ft.isLE=ft.rotl=ft.rotr=ft.createView=ft.u32=ft.u8=ft.isBytes=void 0;var Dee=CWe(),Uee=Oee();function NSt(e){return e instanceof Uint8Array||e!=null&&typeof e==\"object\"&&e.constructor.name===\"Uint8Array\"}ft.isBytes=NSt;var USt=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);ft.u8=USt;var $St=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));ft.u32=$St;var zSt=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);ft.createView=zSt;var LSt=(e,t)=>e<<32-t|e>>>t;ft.rotr=LSt;var HSt=(e,t)=>e<<t|e>>>32-t>>>0;ft.rotl=HSt;ft.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;var jSt=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;ft.byteSwap=jSt;ft.byteSwapIfBE=ft.isLE?e=>e:e=>(0,ft.byteSwap)(e);function FSt(e){for(let t=0;t<e.length;t++)e[t]=(0,ft.byteSwap)(e[t])}ft.byteSwap32=FSt;var VSt=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\"));function qSt(e){(0,Uee.bytes)(e);let t=\"\";for(let r=0;r<e.length;r++)t+=VSt[e[r]];return t}ft.bytesToHex=qSt;var Gp={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function TWe(e){if(e>=Gp._0&&e<=Gp._9)return e-Gp._0;if(e>=Gp._A&&e<=Gp._F)return e-(Gp._A-10);if(e>=Gp._a&&e<=Gp._f)return e-(Gp._a-10)}function GSt(e){if(typeof e!=\"string\")throw new Error(\"hex string expected, got \"+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error(\"padded hex string expected, got unpadded hex of length \"+t);let n=new Uint8Array(r);for(let o=0,i=0;o<r;o++,i+=2){let c=TWe(e.charCodeAt(i)),l=TWe(e.charCodeAt(i+1));if(c===void 0||l===void 0){let f=e[i]+e[i+1];throw new Error(\\'hex string expected, got non-hex character \"\\'+f+\\'\" at index \\'+i)}n[o]=c*16+l}return n}ft.hexToBytes=GSt;var KSt=async()=>{};ft.nextTick=KSt;async function ZSt(e,t,r){let n=Date.now();for(let o=0;o<e;o++){r(o);let i=Date.now()-n;i>=0&&i<t||(await(0,ft.nextTick)(),n+=i)}}ft.asyncLoop=ZSt;function IWe(e){if(typeof e!=\"string\")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}ft.utf8ToBytes=IWe;function aD(e){return typeof e==\"string\"&&(e=IWe(e)),(0,Uee.bytes)(e),e}ft.toBytes=aD;function WSt(...e){let t=0;for(let n=0;n<e.length;n++){let o=e[n];(0,Uee.bytes)(o),t+=o.length}let r=new Uint8Array(t);for(let n=0,o=0;n<e.length;n++){let i=e[n];r.set(i,o),o+=i.length}return r}ft.concatBytes=WSt;var Nee=class{clone(){return this._cloneInto()}};ft.Hash=Nee;var JSt={}.toString;function QSt(e,t){if(t!==void 0&&JSt.call(t)!==\"[object Object]\")throw new Error(\"Options should be object or undefined\");return Object.assign(e,t)}ft.checkOpts=QSt;function YSt(e){let t=n=>e().update(aD(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}ft.wrapConstructor=YSt;function XSt(e){let t=(n,o)=>e(o).update(aD(n)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=n=>e(n),t}ft.wrapConstructorWithOpts=XSt;function e5t(e){let t=(n,o)=>e(o).update(aD(n)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=n=>e(n),t}ft.wrapXOFConstructorWithOpts=e5t;function t5t(e=32){if(Dee.crypto&&typeof Dee.crypto.getRandomValues==\"function\")return Dee.crypto.getRandomValues(new Uint8Array(e));throw new Error(\"crypto.getRandomValues must be defined\")}ft.randomBytes=t5t});var $We=J(Nn=>{\"use strict\";u();Object.defineProperty(Nn,\"__esModule\",{value:!0});Nn.shake256=Nn.shake128=Nn.keccak_512=Nn.keccak_384=Nn.keccak_256=Nn.keccak_224=Nn.sha3_512=Nn.sha3_384=Nn.sha3_256=Nn.sha3_224=Nn.Keccak=Nn.keccakP=void 0;var v6=Oee(),l3=kWe(),Kp=PWe(),BWe=[],MWe=[],DWe=[],r5t=BigInt(0),u3=BigInt(1),n5t=BigInt(2),o5t=BigInt(7),i5t=BigInt(256),a5t=BigInt(113);for(let e=0,t=u3,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],BWe.push(2*(5*n+r)),MWe.push((e+1)*(e+2)/2%64);let o=r5t;for(let i=0;i<7;i++)t=(t<<u3^(t>>o5t)*a5t)%i5t,t&n5t&&(o^=u3<<(u3<<BigInt(i))-u3);DWe.push(o)}var[s5t,c5t]=(0,l3.split)(DWe,!0),RWe=(e,t,r)=>r>32?(0,l3.rotlBH)(e,t,r):(0,l3.rotlSH)(e,t,r),OWe=(e,t,r)=>r>32?(0,l3.rotlBL)(e,t,r):(0,l3.rotlSL)(e,t,r);function NWe(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let c=0;c<10;c++)r[c]=e[c]^e[c+10]^e[c+20]^e[c+30]^e[c+40];for(let c=0;c<10;c+=2){let l=(c+8)%10,f=(c+2)%10,p=r[f],h=r[f+1],y=RWe(p,h,1)^r[l],w=OWe(p,h,1)^r[l+1];for(let E=0;E<50;E+=10)e[c+E]^=y,e[c+E+1]^=w}let o=e[2],i=e[3];for(let c=0;c<24;c++){let l=MWe[c],f=RWe(o,i,l),p=OWe(o,i,l),h=BWe[c];o=e[h],i=e[h+1],e[h]=f,e[h+1]=p}for(let c=0;c<50;c+=10){for(let l=0;l<10;l++)r[l]=e[c+l];for(let l=0;l<10;l++)e[c+l]^=~r[(l+2)%10]&r[(l+4)%10]}e[0]^=s5t[n],e[1]^=c5t[n]}r.fill(0)}Nn.keccakP=NWe;var d3=class e extends Kp.Hash{constructor(t,r,n,o=!1,i=24){if(super(),this.blockLen=t,this.suffix=r,this.outputLen=n,this.enableXOF=o,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,v6.number)(n),0>=this.blockLen||this.blockLen>=200)throw new Error(\"Sha3 supports only keccak-f1600 function\");this.state=new Uint8Array(200),this.state32=(0,Kp.u32)(this.state)}keccak(){Kp.isLE||(0,Kp.byteSwap32)(this.state32),NWe(this.state32,this.rounds),Kp.isLE||(0,Kp.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(t){(0,v6.exists)(this);let{blockLen:r,state:n}=this;t=(0,Kp.toBytes)(t);let o=t.length;for(let i=0;i<o;){let c=Math.min(r-this.pos,o-i);for(let l=0;l<c;l++)n[this.pos++]^=t[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:r,pos:n,blockLen:o}=this;t[n]^=r,(r&128)!==0&&n===o-1&&this.keccak(),t[o-1]^=128,this.keccak()}writeInto(t){(0,v6.exists)(this,!1),(0,v6.bytes)(t),this.finish();let r=this.state,{blockLen:n}=this;for(let o=0,i=t.length;o<i;){this.posOut>=n&&this.keccak();let c=Math.min(n-this.posOut,i-o);t.set(r.subarray(this.posOut,this.posOut+c),o),this.posOut+=c,o+=c}return t}xofInto(t){if(!this.enableXOF)throw new Error(\"XOF is not possible for this instance\");return this.writeInto(t)}xof(t){return(0,v6.number)(t),this.xofInto(new Uint8Array(t))}digestInto(t){if((0,v6.output)(t,this),this.finished)throw new Error(\"digest() was already called\");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:o,rounds:i,enableXOF:c}=this;return t||(t=new e(r,n,o,c,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=n,t.outputLen=o,t.enableXOF=c,t.destroyed=this.destroyed,t}};Nn.Keccak=d3;var _0=(e,t,r)=>(0,Kp.wrapConstructor)(()=>new d3(t,e,r));Nn.sha3_224=_0(6,144,224/8);Nn.sha3_256=_0(6,136,256/8);Nn.sha3_384=_0(6,104,384/8);Nn.sha3_512=_0(6,72,512/8);Nn.keccak_224=_0(1,144,224/8);Nn.keccak_256=_0(1,136,256/8);Nn.keccak_384=_0(1,104,384/8);Nn.keccak_512=_0(1,72,512/8);var UWe=(e,t,r)=>(0,Kp.wrapXOFConstructorWithOpts)((n={})=>new d3(t,e,n.dkLen===void 0?r:n.dkLen,!0));Nn.shake128=UWe(31,168,128/8);Nn.shake256=UWe(31,136,256/8)});var $ee=J((M8n,qWe)=>{u();var{keccak_256:u5t}=$We();function zWe(e){return globalThis.Buffer.allocUnsafe(e).fill(0)}function l5t(e){return`0x${e.toString(16)}`}function d5t(e){let t=l5t(e);return new globalThis.Buffer(jWe(t.slice(2)),\"hex\")}function f5t(e){return e.toString(2).length}function LWe(e,t){let r=e.toString(16);r.length%2!==0&&(r=\"0\"+r);let n=r.match(/.{1,2}/g).map(o=>parseInt(o,16));for(;n.length<t;)n.unshift(0);return globalThis.Buffer.from(n)}function p5t(e,t){let r=e<0n,n;if(r){let o=(1n<<BigInt(t))-1n;n=(~e&o)+1n}else n=e;return n&=(1n<<BigInt(t))-1n,n}function HWe(e,t,r){let n=zWe(t);return e=sD(e),r?e.length<t?(e.copy(n),n):e.slice(0,t):e.length<t?(e.copy(n,t-e.length),n):e.slice(-t)}function m5t(e,t){return HWe(e,t,!0)}function sD(e){if(!globalThis.Buffer.isBuffer(e))if(Array.isArray(e))e=globalThis.Buffer.from(e);else if(typeof e==\"string\")FWe(e)?e=globalThis.Buffer.from(jWe(VWe(e)),\"hex\"):e=globalThis.Buffer.from(e);else if(typeof e==\"number\")e=d5t(e);else if(e==null)e=globalThis.Buffer.allocUnsafe(0);else if(typeof e==\"bigint\")e=LWe(e);else if(e.toArray)e=globalThis.Buffer.from(e.toArray());else throw new Error(\"invalid type\");return e}function h5t(e){return e=sD(e),\"0x\"+e.toString(\"hex\")}function y5t(e,t){if(e=sD(e),t||(t=256),t!==256)throw new Error(\"unsupported\");return globalThis.Buffer.from(u5t(new Uint8Array(e)))}function jWe(e){return e.length%2?\"0\"+e:e}function FWe(e){return typeof e==\"string\"&&e.match(/^0x[0-9A-Fa-f]*$/)}function VWe(e){return typeof e==\"string\"&&e.startsWith(\"0x\")?e.slice(2):e}qWe.exports={zeros:zWe,setLength:HWe,setLengthRight:m5t,isHexString:FWe,stripHexPrefix:VWe,toBuffer:sD,bufferToHex:h5t,keccak:y5t,bitLengthFromBigInt:f5t,bufferBEFromBigInt:LWe,twosFromBigInt:p5t}});var QWe=J((N8n,JWe)=>{u();var Fa=$ee();function KWe(e){return e.startsWith(\"int[\")?\"int256\"+e.slice(3):e===\"int\"?\"int256\":e.startsWith(\"uint[\")?\"uint256\"+e.slice(4):e===\"uint\"?\"uint256\":e.startsWith(\"fixed[\")?\"fixed128x128\"+e.slice(5):e===\"fixed\"?\"fixed128x128\":e.startsWith(\"ufixed[\")?\"ufixed128x128\"+e.slice(6):e===\"ufixed\"?\"ufixed128x128\":e}function w6(e){return Number.parseInt(/^\\\\D+(\\\\d+)$/.exec(e)[1],10)}function GWe(e){var t=/^\\\\D+(\\\\d+)x(\\\\d+)$/.exec(e);return[Number.parseInt(t[1],10),Number.parseInt(t[2],10)]}function ZWe(e){var t=e.match(/(.*)\\\\[(.*?)\\\\]$/);return t?t[2]===\"\"?\"dynamic\":Number.parseInt(t[2],10):null}function Ng(e){var t=typeof e;if(t===\"string\"||t===\"number\")return BigInt(e);if(t===\"bigint\")return e;throw new Error(\"Argument is not a number\")}function Gd(e,t){var r,n,o,i;if(e===\"address\")return Gd(\"uint160\",Ng(t));if(e===\"bool\")return Gd(\"uint8\",t?1:0);if(e===\"string\")return Gd(\"bytes\",new globalThis.Buffer(t,\"utf8\"));if(g5t(e)){if(typeof t.length>\"u\")throw new Error(\"Not an array?\");if(r=ZWe(e),r!==\"dynamic\"&&r!==0&&t.length>r)throw new Error(\"Elements exceed array size: \"+r);o=[],e=e.slice(0,e.lastIndexOf(\"[\")),typeof t==\"string\"&&(t=JSON.parse(t));for(i in t)o.push(Gd(e,t[i]));if(r===\"dynamic\"){var c=Gd(\"uint256\",t.length);o.unshift(c)}return globalThis.Buffer.concat(o)}else{if(e===\"bytes\")return t=new globalThis.Buffer(t),o=globalThis.Buffer.concat([Gd(\"uint256\",t.length),t]),t.length%32!==0&&(o=globalThis.Buffer.concat([o,Fa.zeros(32-t.length%32)])),o;if(e.startsWith(\"bytes\")){if(r=w6(e),r<1||r>32)throw new Error(\"Invalid bytes<N> width: \"+r);return Fa.setLengthRight(t,32)}else if(e.startsWith(\"uint\")){if(r=w6(e),r%8||r<8||r>256)throw new Error(\"Invalid uint<N> width: \"+r);n=Ng(t);let l=Fa.bitLengthFromBigInt(n);if(l>r)throw new Error(\"Supplied uint exceeds width: \"+r+\" vs \"+l);if(n<0)throw new Error(\"Supplied uint is negative\");return Fa.bufferBEFromBigInt(n,32)}else if(e.startsWith(\"int\")){if(r=w6(e),r%8||r<8||r>256)throw new Error(\"Invalid int<N> width: \"+r);n=Ng(t);let l=Fa.bitLengthFromBigInt(n);if(l>r)throw new Error(\"Supplied int exceeds width: \"+r+\" vs \"+l);let f=Fa.twosFromBigInt(n,256);return Fa.bufferBEFromBigInt(f,32)}else if(e.startsWith(\"ufixed\")){if(r=GWe(e),n=Ng(t),n<0)throw new Error(\"Supplied ufixed is negative\");return Gd(\"uint256\",n*BigInt(2)**BigInt(r[1]))}else if(e.startsWith(\"fixed\"))return r=GWe(e),Gd(\"int256\",Ng(t)*BigInt(2)**BigInt(r[1]))}throw new Error(\"Unsupported or invalid type: \"+e)}function b5t(e){return e===\"string\"||e===\"bytes\"||ZWe(e)===\"dynamic\"}function g5t(e){return e.lastIndexOf(\"]\")===e.length-1}function x5t(e,t){var r=[],n=[],o=32*e.length;for(var i in e){var c=KWe(e[i]),l=t[i],f=Gd(c,l);b5t(c)?(r.push(Gd(\"uint256\",o)),n.push(f),o+=f.length):r.push(f)}return globalThis.Buffer.concat(r.concat(n))}function WWe(e,t){if(e.length!==t.length)throw new Error(\"Number of types are not matching the values\");for(var r,n,o=[],i=0;i<e.length;i++){var c=KWe(e[i]),l=t[i];if(c===\"bytes\")o.push(l);else if(c===\"string\")o.push(new globalThis.Buffer(l,\"utf8\"));else if(c===\"bool\")o.push(new globalThis.Buffer(l?\"01\":\"00\",\"hex\"));else if(c===\"address\")o.push(Fa.setLength(l,20));else if(c.startsWith(\"bytes\")){if(r=w6(c),r<1||r>32)throw new Error(\"Invalid bytes<N> width: \"+r);o.push(Fa.setLengthRight(l,r))}else if(c.startsWith(\"uint\")){if(r=w6(c),r%8||r<8||r>256)throw new Error(\"Invalid uint<N> width: \"+r);n=Ng(l);let f=Fa.bitLengthFromBigInt(n);if(f>r)throw new Error(\"Supplied uint exceeds width: \"+r+\" vs \"+f);o.push(Fa.bufferBEFromBigInt(n,r/8))}else if(c.startsWith(\"int\")){if(r=w6(c),r%8||r<8||r>256)throw new Error(\"Invalid int<N> width: \"+r);n=Ng(l);let f=Fa.bitLengthFromBigInt(n);if(f>r)throw new Error(\"Supplied int exceeds width: \"+r+\" vs \"+f);let p=Fa.twosFromBigInt(n,r);o.push(Fa.bufferBEFromBigInt(p,r/8))}else throw new Error(\"Unsupported or invalid type: \"+c)}return globalThis.Buffer.concat(o)}function v5t(e,t){return Fa.keccak(WWe(e,t))}JWe.exports={rawEncode:x5t,solidityPack:WWe,soliditySHA3:v5t}});var eJe=J(($8n,XWe)=>{u();var dl=$ee(),f3=QWe(),YWe={type:\"object\",properties:{types:{type:\"object\",additionalProperties:{type:\"array\",items:{type:\"object\",properties:{name:{type:\"string\"},type:{type:\"string\"}},required:[\"name\",\"type\"]}}},primaryType:{type:\"string\"},domain:{type:\"object\"},message:{type:\"object\"}},required:[\"types\",\"primaryType\",\"domain\",\"message\"]},zee={encodeData(e,t,r,n=!0){let o=[\"bytes32\"],i=[this.hashType(e,r)];if(n){let c=(l,f,p)=>{if(r[f]!==void 0)return[\"bytes32\",p==null?\"0x0000000000000000000000000000000000000000000000000000000000000000\":dl.keccak(this.encodeData(f,p,r,n))];if(p===void 0)throw new Error(`missing value for field ${l} of type ${f}`);if(f===\"bytes\")return[\"bytes32\",dl.keccak(p)];if(f===\"string\")return typeof p==\"string\"&&(p=globalThis.Buffer.from(p,\"utf8\")),[\"bytes32\",dl.keccak(p)];if(f.lastIndexOf(\"]\")===f.length-1){let h=f.slice(0,f.lastIndexOf(\"[\")),y=p.map(w=>c(l,h,w));return[\"bytes32\",dl.keccak(f3.rawEncode(y.map(([w])=>w),y.map(([,w])=>w)))]}return[f,p]};for(let l of r[e]){let[f,p]=c(l.name,l.type,t[l.name]);o.push(f),i.push(p)}}else for(let c of r[e]){let l=t[c.name];if(l!==void 0)if(c.type===\"bytes\")o.push(\"bytes32\"),l=dl.keccak(l),i.push(l);else if(c.type===\"string\")o.push(\"bytes32\"),typeof l==\"string\"&&(l=globalThis.Buffer.from(l,\"utf8\")),l=dl.keccak(l),i.push(l);else if(r[c.type]!==void 0)o.push(\"bytes32\"),l=dl.keccak(this.encodeData(c.type,l,r,n)),i.push(l);else{if(c.type.lastIndexOf(\"]\")===c.type.length-1)throw new Error(\"Arrays currently unimplemented in encodeData\");o.push(c.type),i.push(l)}}return f3.rawEncode(o,i)},encodeType(e,t){let r=\"\",n=this.findTypeDependencies(e,t).filter(o=>o!==e);n=[e].concat(n.sort());for(let o of n){if(!t[o])throw new Error(\"No type definition specified: \"+o);r+=o+\"(\"+t[o].map(({name:c,type:l})=>l+\" \"+c).join(\",\")+\")\"}return r},findTypeDependencies(e,t,r=[]){if(e=e.match(/^\\\\w*/)[0],r.includes(e)||t[e]===void 0)return r;r.push(e);for(let n of t[e])for(let o of this.findTypeDependencies(n.type,t,r))!r.includes(o)&&r.push(o);return r},hashStruct(e,t,r,n=!0){return dl.keccak(this.encodeData(e,t,r,n))},hashType(e,t){return dl.keccak(this.encodeType(e,t))},sanitizeData(e){let t={};for(let r in YWe.properties)e[r]&&(t[r]=e[r]);return t.types&&(t.types=Object.assign({EIP712Domain:[]},t.types)),t},hash(e,t=!0){let r=this.sanitizeData(e),n=[globalThis.Buffer.from(\"1901\",\"hex\")];return n.push(this.hashStruct(\"EIP712Domain\",r.domain,r.types,t)),r.primaryType!==\"EIP712Domain\"&&n.push(this.hashStruct(r.primaryType,r.message,r.types,t)),dl.keccak(globalThis.Buffer.concat(n))}};XWe.exports={TYPED_MESSAGE_SCHEMA:YWe,TypedDataUtils:zee,hashForSignTypedDataLegacy:function(e){return w5t(e.data)},hashForSignTypedData_v3:function(e){return zee.hash(e.data,!1)},hashForSignTypedData_v4:function(e){return zee.hash(e.data)}};function w5t(e){let t=new Error(\"Expect argument to be non-empty array\");if(typeof e!=\"object\"||!e.length)throw t;let r=e.map(function(i){return i.type===\"bytes\"?dl.toBuffer(i.value):i.value}),n=e.map(function(i){return i.type}),o=e.map(function(i){if(!i.name)throw t;return i.type+\" \"+i.name});return f3.soliditySHA3([\"bytes32\",\"bytes32\"],[f3.soliditySHA3(new Array(e.length).fill(\"string\"),o),f3.soliditySHA3(n,r)])}});var tJe,p3,rJe,cD=x(()=>{u();tJe=\"walletUsername\",p3=\"Addresses\",rJe=\"AppVersion\"});var uD,nJe=x(()=>{u();cl();uD=class{constructor(t){this.secret=t}async encrypt(t){let r=this.secret;if(r.length!==64)throw new Error(\"secret must be 256 bits\");let n=crypto.getRandomValues(new Uint8Array(12)),o=await crypto.subtle.importKey(\"raw\",E2(r),{name:\"aes-gcm\"},!1,[\"encrypt\",\"decrypt\"]),i=new TextEncoder,c=await window.crypto.subtle.encrypt({name:\"AES-GCM\",iv:n},o,i.encode(t)),l=16,f=c.slice(c.byteLength-l),p=c.slice(0,c.byteLength-l),h=new Uint8Array(f),y=new Uint8Array(p),w=new Uint8Array([...n,...h,...y]);return Ik(w)}async decrypt(t){let r=this.secret;if(r.length!==64)throw new Error(\"secret must be 256 bits\");return new Promise((n,o)=>{(async()=>{let i=await crypto.subtle.importKey(\"raw\",E2(r),{name:\"aes-gcm\"},!1,[\"encrypt\",\"decrypt\"]),c=E2(t),l=c.slice(0,12),f=c.slice(12,28),p=c.slice(28),h=new Uint8Array([...p,...f]),y={name:\"AES-GCM\",iv:new Uint8Array(l)};try{let w=await window.crypto.subtle.decrypt(y,i,h),E=new TextDecoder;n(E.decode(w))}catch(w){o(w)}})()})}}});var lD,oJe=x(()=>{u();lD=class{constructor(t,r,n){this.linkAPIUrl=t,this.sessionId=r;let o=`${r}:${n}`;this.auth=`Basic ${btoa(o)}`}async markUnseenEventsAsSeen(t){return Promise.all(t.map(r=>fetch(`${this.linkAPIUrl}/events/${r.eventId}/seen`,{method:\"POST\",headers:{Authorization:this.auth}}))).catch(r=>console.error(\"Unable to mark events as seen:\",r))}async fetchUnseenEvents(){var t;let r=await fetch(`${this.linkAPIUrl}/events?unseen=true`,{headers:{Authorization:this.auth}});if(r.ok){let{events:n,error:o}=await r.json();if(o)throw new Error(`Check unseen events failed: ${o}`);let i=(t=n?.filter(c=>c.event===\"Web3Response\").map(c=>({type:\"Event\",sessionId:this.sessionId,eventId:c.id,event:c.event,data:c.data})))!==null&&t!==void 0?t:[];return this.markUnseenEventsAsSeen(i),i}throw new Error(`Check unseen events failed: ${r.status}`)}}});var fl,Ug,iJe=x(()=>{u();(function(e){e[e.DISCONNECTED=0]=\"DISCONNECTED\",e[e.CONNECTING=1]=\"CONNECTING\",e[e.CONNECTED=2]=\"CONNECTED\"})(fl||(fl={}));Ug=class e{setConnectionStateListener(t){this.connectionStateListener=t}setIncomingDataListener(t){this.incomingDataListener=t}constructor(t,r=WebSocket){this.WebSocketClass=r,this.webSocket=null,this.isDisconnecting=!1,this.url=t.replace(/^http/,\"ws\"),this.instanceId=e.instanceCounter++,e.activeInstances.add(this.instanceId)}async connect(){if(this.webSocket)throw new Error(\"webSocket object is not null\");if(this.isDisconnecting)throw new Error(\"WebSocket is disconnecting, cannot reconnect on same instance\");return new Promise((t,r)=>{var n;let o;try{this.webSocket=o=new this.WebSocketClass(this.url)}catch(i){r(i);return}(n=this.connectionStateListener)===null||n===void 0||n.call(this,fl.CONNECTING),o.onclose=i=>{var c;this.clearWebSocket(),o.readyState!==WebSocket.OPEN&&r(new Error(`websocket error ${i.code}: ${i.reason}`)),(c=this.connectionStateListener)===null||c===void 0||c.call(this,fl.DISCONNECTED)},o.onopen=i=>{var c;t(),(c=this.connectionStateListener)===null||c===void 0||c.call(this,fl.CONNECTED),e.pendingData.length>0&&([...e.pendingData].forEach(f=>this.sendData(f)),e.pendingData=[])},o.onmessage=i=>{var c,l;if(i.data===\"h\")(c=this.incomingDataListener)===null||c===void 0||c.call(this,{type:\"Heartbeat\"});else try{let f=JSON.parse(i.data);(l=this.incomingDataListener)===null||l===void 0||l.call(this,f)}catch{}}})}disconnect(){var t;let{webSocket:r}=this;if(r){this.isDisconnecting=!0,this.clearWebSocket(),(t=this.connectionStateListener)===null||t===void 0||t.call(this,fl.DISCONNECTED),this.connectionStateListener=void 0,this.incomingDataListener=void 0;try{r.close()}catch{}}}sendData(t){let{webSocket:r}=this;if(!r){e.pendingData.push(t),this.isDisconnecting||this.connect();return}if(r.readyState!==WebSocket.OPEN){e.pendingData.push(t);return}r.send(t)}clearWebSocket(){let{webSocket:t}=this;t&&(this.webSocket=null,t.onclose=null,t.onerror=null,t.onmessage=null,t.onopen=null)}cleanup(){e.activeInstances.delete(this.instanceId)}};Ug.instanceCounter=0;Ug.activeInstances=new Set;Ug.pendingData=[]});var aJe,E5t,dD,sJe=x(()=>{u();Pee();gY();cD();nJe();oJe();iJe();aJe=1e4,E5t=6e4,dD=class{constructor({session:t,linkAPIUrl:r,listener:n}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=al(1),this.reconnectAttempts=0,this.isReconnecting=!1,this._connected=!1,this._linked=!1,this.requestResolutions=new Map,this.handleSessionMetadataUpdated=i=>{if(!i)return;new Map([[\"__destroyed\",this.handleDestroyed],[\"EthereumAddress\",this.handleAccountUpdated],[\"WalletUsername\",this.handleWalletUsernameUpdated],[\"AppVersion\",this.handleAppVersionUpdated],[\"ChainId\",l=>i.JsonRpcUrl&&this.handleChainUpdated(l,i.JsonRpcUrl)]]).forEach((l,f)=>{let p=i[f];p!==void 0&&l(p)})},this.handleDestroyed=i=>{var c;i===\"1\"&&((c=this.listener)===null||c===void 0||c.resetAndReload())},this.handleAccountUpdated=async i=>{var c;try{let l=await this.cipher.decrypt(i);(c=this.listener)===null||c===void 0||c.accountUpdated(l)}catch{}},this.handleMetadataUpdated=async(i,c)=>{var l;try{let f=await this.cipher.decrypt(c);(l=this.listener)===null||l===void 0||l.metadataUpdated(i,f)}catch{}},this.handleWalletUsernameUpdated=async i=>{this.handleMetadataUpdated(tJe,i)},this.handleAppVersionUpdated=async i=>{this.handleMetadataUpdated(rJe,i)},this.handleChainUpdated=async(i,c)=>{var l;try{let f=await this.cipher.decrypt(i),p=await this.cipher.decrypt(c);(l=this.listener)===null||l===void 0||l.chainUpdated(f,p)}catch{}},this.session=t,this.cipher=new uD(t.secret),this.listener=n,this.linkAPIUrl=r,this.WebSocketClass=WebSocket;let o=this.createWebSocket();this.ws=o,this.http=new lD(r,t.id,t.key),this.setupVisibilityChangeHandler()}createWebSocket(){let t=new Ug(`${this.linkAPIUrl}/rpc`,this.WebSocketClass);return this.activeWsInstance=t,t.setConnectionStateListener(async r=>{if(t!==this.activeWsInstance)return;let n=!1;switch(r){case fl.DISCONNECTED:this.heartbeatIntervalId&&(clearInterval(this.heartbeatIntervalId),this.heartbeatIntervalId=void 0),this.lastHeartbeatResponse=0,n=!1,this.destroyed||(async()=>{if(this.isReconnecting)return;this.isReconnecting=!0;let i=this.reconnectAttempts===0?0:3e3;await new Promise(c=>setTimeout(c,i)),!this.destroyed&&t===this.activeWsInstance?(this.reconnectAttempts++,\"cleanup\"in this.ws&&typeof this.ws.cleanup==\"function\"&&this.ws.cleanup(),this.ws=this.createWebSocket(),this.ws.connect().catch(()=>{Iee()}).finally(()=>{this.isReconnecting=!1})):this.isReconnecting=!1})();break;case fl.CONNECTED:this.reconnectAttempts=0;try{n=await this.handleConnected(),this.fetchUnseenEventsAPI().catch(()=>{})}catch{break}this.connected=n,this.updateLastHeartbeat(),this.heartbeatIntervalId&&clearInterval(this.heartbeatIntervalId),this.heartbeatIntervalId=window.setInterval(()=>{this.heartbeat()},aJe),setTimeout(()=>{this.heartbeat()},100);break;case fl.CONNECTING:break}r!==fl.CONNECTED&&(this.connected=n)}),t.setIncomingDataListener(r=>{var n;switch(r.type){case\"Heartbeat\":this.updateLastHeartbeat();return;case\"IsLinkedOK\":case\"Linked\":{let o=r.type===\"IsLinkedOK\"?r.linked:void 0;this.linked=o||r.onlineGuests>0;break}case\"GetSessionConfigOK\":case\"SessionConfigUpdated\":{this.handleSessionMetadataUpdated(r.metadata);break}case\"Event\":{this.handleIncomingEvent(r);break}}r.id!==void 0&&((n=this.requestResolutions.get(r.id))===null||n===void 0||n(r))}),t}setupVisibilityChangeHandler(){this.visibilityChangeHandler=()=>{!document.hidden&&!this.destroyed&&(this.connected?this.heartbeat():this.reconnectWithFreshWebSocket())},this.focusHandler=()=>{!this.destroyed&&!this.connected&&this.reconnectWithFreshWebSocket()},document.addEventListener(\"visibilitychange\",this.visibilityChangeHandler),window.addEventListener(\"focus\",this.focusHandler),window.addEventListener(\"pageshow\",t=>{t.persisted&&this.focusHandler&&this.focusHandler()})}reconnectWithFreshWebSocket(){if(this.destroyed)return;let t=this.ws;this.activeWsInstance=void 0,t.disconnect(),\"cleanup\"in t&&typeof t.cleanup==\"function\"&&t.cleanup(),this.ws=this.createWebSocket(),this.ws.connect().catch(()=>{Iee()})}connect(){if(this.destroyed)throw new Error(\"instance is destroyed\");this.ws.connect()}async destroy(){this.destroyed||(await this.makeRequest({type:\"SetSessionConfig\",id:al(this.nextReqId++),sessionId:this.session.id,metadata:{__destroyed:\"1\"}},{timeout:1e3}),this.destroyed=!0,this.activeWsInstance=void 0,this.heartbeatIntervalId&&(clearInterval(this.heartbeatIntervalId),this.heartbeatIntervalId=void 0),this.visibilityChangeHandler&&document.removeEventListener(\"visibilitychange\",this.visibilityChangeHandler),this.focusHandler&&window.removeEventListener(\"focus\",this.focusHandler),this.ws.disconnect(),\"cleanup\"in this.ws&&typeof this.ws.cleanup==\"function\"&&this.ws.cleanup(),this.listener=void 0)}get connected(){return this._connected}set connected(t){this._connected=t}get linked(){return this._linked}set linked(t){var r,n;this._linked=t,t&&((r=this.onceLinked)===null||r===void 0||r.call(this)),(n=this.listener)===null||n===void 0||n.linkedUpdated(t)}setOnceLinked(t){return new Promise(r=>{this.linked?t().then(r):this.onceLinked=()=>{t().then(r),this.onceLinked=void 0}})}async handleIncomingEvent(t){var r;if(!(t.type!==\"Event\"||t.event!==\"Web3Response\"))try{let n=await this.cipher.decrypt(t.data),o=JSON.parse(n);if(o.type!==\"WEB3_RESPONSE\")return;(r=this.listener)===null||r===void 0||r.handleWeb3ResponseMessage(o.id,o.response)}catch{}}async checkUnseenEvents(){await new Promise(t=>setTimeout(t,250));try{await this.fetchUnseenEventsAPI()}catch(t){console.error(\"Unable to check for unseen events\",t)}}async fetchUnseenEventsAPI(){try{(await this.http.fetchUnseenEvents()).forEach(r=>{this.handleIncomingEvent(r)})}catch{XZe()}}async publishEvent(t,r,n=!1){let o=await this.cipher.encrypt(JSON.stringify(Object.assign(Object.assign({},r),{origin:location.origin,location:location.href,relaySource:\"coinbaseWalletExtension\"in window&&window.coinbaseWalletExtension?\"injected_sdk\":\"sdk\"}))),i={type:\"PublishEvent\",id:al(this.nextReqId++),sessionId:this.session.id,event:t,data:o,callWebhook:n};return this.setOnceLinked(async()=>{let c=await this.makeRequest(i);if(c.type===\"Fail\")throw new Error(c.error||\"failed to publish event\");return c.eventId})}sendData(t){this.ws.sendData(JSON.stringify(t))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>aJe*2){this.ws.disconnect();return}if(this.connected)try{this.ws.sendData(\"h\")}catch{}}async makeRequest(t,r={timeout:E5t}){let n=t.id;this.sendData(t);let o;return Promise.race([new Promise((i,c)=>{o=window.setTimeout(()=>{c(new Error(`request ${n} timed out`))},r.timeout)}),new Promise(i=>{this.requestResolutions.set(n,c=>{clearTimeout(o),i(c),this.requestResolutions.delete(n)})})])}async handleConnected(){return(await this.makeRequest({type:\"HostSession\",id:al(this.nextReqId++),sessionId:this.session.id,sessionKey:this.session.key})).type===\"Fail\"?!1:(this.sendData({type:\"IsLinked\",id:al(this.nextReqId++),sessionId:this.session.id}),this.sendData({type:\"GetSessionConfig\",id:al(this.nextReqId++),sessionId:this.session.id}),!0)}}});var fD,cJe=x(()=>{u();cl();fD=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let t=this._nextRequestId,r=vY(t.toString(16));return this.callbacks.get(r)&&this.callbacks.delete(r),t}}});function _5t(e){return e instanceof Uint8Array||e!=null&&typeof e==\"object\"&&e.constructor.name===\"Uint8Array\"}function pD(e,...t){if(!_5t(e))throw new Error(\"Uint8Array expected\");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function Lee(e,t=!0){if(e.destroyed)throw new Error(\"Hash instance has been destroyed\");if(t&&e.finished)throw new Error(\"Hash#digest() has already been called\")}function uJe(e,t){pD(e);let r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}var Hee=x(()=>{u()});function lJe(e){pD(e);let t=\"\";for(let r=0;r<e.length;r++)t+=S5t[e[r]];return t}function A5t(e){if(typeof e!=\"string\")throw new Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}function jee(e){return typeof e==\"string\"&&(e=A5t(e)),pD(e),e}function dJe(e){let t=n=>e().update(jee(n)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}var hD,pl,uTn,S5t,mD,lTn,yD=x(()=>{u();Hee();hD=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),pl=(e,t)=>e<<32-t|e>>>t,uTn=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,S5t=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,\"0\"));mD=class{clone(){return this._cloneInto()}},lTn={}.toString});function k5t(e,t,r,n){if(typeof e.setBigUint64==\"function\")return e.setBigUint64(t,r,n);let o=BigInt(32),i=BigInt(4294967295),c=Number(r>>o&i),l=Number(r&i),f=n?4:0,p=n?0:4;e.setUint32(t+f,c,n),e.setUint32(t+p,l,n)}var fJe,pJe,bD,mJe=x(()=>{u();Hee();yD();fJe=(e,t,r)=>e&t^~e&r,pJe=(e,t,r)=>e&t^e&r^t&r,bD=class extends mD{constructor(t,r,n,o){super(),this.blockLen=t,this.outputLen=r,this.padOffset=n,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=hD(this.buffer)}update(t){Lee(this);let{view:r,buffer:n,blockLen:o}=this;t=jee(t);let i=t.length;for(let c=0;c<i;){let l=Math.min(o-this.pos,i-c);if(l===o){let f=hD(t);for(;o<=i-c;c+=o)this.process(f,c);continue}n.set(t.subarray(c,c+l),this.pos),this.pos+=l,c+=l,this.pos===o&&(this.process(r,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Lee(this),uJe(t,this),this.finished=!0;let{buffer:r,view:n,blockLen:o,isLE:i}=this,{pos:c}=this;r[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(n,0),c=0);for(let y=c;y<o;y++)r[y]=0;k5t(n,o-8,BigInt(this.length*8),i),this.process(n,0);let l=hD(t),f=this.outputLen;if(f%4)throw new Error(\"_sha2: outputLen should be aligned to 32bit\");let p=f/4,h=this.get();if(p>h.length)throw new Error(\"_sha2: outputLen bigger than state\");for(let y=0;y<p;y++)l.setUint32(4*y,h[y],i)}digest(){let{buffer:t,outputLen:r}=this;this.digestInto(t);let n=t.slice(0,r);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());let{blockLen:r,buffer:n,length:o,finished:i,destroyed:c,pos:l}=this;return t.length=o,t.pos=l,t.finished=i,t.destroyed=c,o%r&&t.buffer.set(n),t}}});var C5t,S0,A0,Fee,hJe,yJe=x(()=>{u();mJe();yD();C5t=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),S0=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),A0=new Uint32Array(64),Fee=class extends bD{constructor(){super(64,32,8,!1),this.A=S0[0]|0,this.B=S0[1]|0,this.C=S0[2]|0,this.D=S0[3]|0,this.E=S0[4]|0,this.F=S0[5]|0,this.G=S0[6]|0,this.H=S0[7]|0}get(){let{A:t,B:r,C:n,D:o,E:i,F:c,G:l,H:f}=this;return[t,r,n,o,i,c,l,f]}set(t,r,n,o,i,c,l,f){this.A=t|0,this.B=r|0,this.C=n|0,this.D=o|0,this.E=i|0,this.F=c|0,this.G=l|0,this.H=f|0}process(t,r){for(let y=0;y<16;y++,r+=4)A0[y]=t.getUint32(r,!1);for(let y=16;y<64;y++){let w=A0[y-15],E=A0[y-2],A=pl(w,7)^pl(w,18)^w>>>3,C=pl(E,17)^pl(E,19)^E>>>10;A0[y]=C+A0[y-7]+A+A0[y-16]|0}let{A:n,B:o,C:i,D:c,E:l,F:f,G:p,H:h}=this;for(let y=0;y<64;y++){let w=pl(l,6)^pl(l,11)^pl(l,25),E=h+w+fJe(l,f,p)+C5t[y]+A0[y]|0,C=(pl(n,2)^pl(n,13)^pl(n,22))+pJe(n,o,i)|0;h=p,p=f,f=l,l=c+E|0,c=i,i=o,o=n,n=E+C|0}n=n+this.A|0,o=o+this.B|0,i=i+this.C|0,c=c+this.D|0,l=l+this.E|0,f=f+this.F|0,p=p+this.G|0,h=h+this.H|0,this.set(n,o,i,c,l,f,p,h)}roundClean(){A0.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},hJe=dJe(()=>new Fee)});var bJe,gJe,xJe,E6,vJe=x(()=>{u();yJe();yD();cl();bJe=\"session:id\",gJe=\"session:secret\",xJe=\"session:linked\",E6=class e{constructor(t,r,n,o=!1){this.storage=t,this.id=r,this.secret=n,this.key=lJe(hJe(`${r}, ${n} WalletLink`)),this._linked=!!o}static create(t){let r=Dp(16),n=Dp(32);return new e(t,r,n).save()}static load(t){let r=t.getItem(bJe),n=t.getItem(xJe),o=t.getItem(gJe);return r&&o?new e(t,r,o,n===\"1\"):null}get linked(){return this._linked}set linked(t){this._linked=t,this.persistLinked()}save(){return this.storage.setItem(bJe,this.id),this.storage.setItem(gJe,this.secret),this.persistLinked(),this}persistLinked(){this.storage.setItem(xJe,this._linked?\"1\":\"0\")}}});var wJe,EJe=x(()=>{u();wJe=\".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}\"});var gD,T5t,_Je=x(()=>{u();h0();I2();I2();AY();N9();Ok();EJe();gD=class{constructor(){this.root=null,this.darkMode=D9()}attach(){let t=document.documentElement;this.root=document.createElement(\"div\"),this.root.className=\"-cbwsdk-css-reset\",t.appendChild(this.root),k9()}present(t){this.render(t)}clear(){this.render(null)}render(t){this.root&&(Rk(null,this.root),t&&Rk(en(T5t,Object.assign({},t,{onDismiss:()=>{this.clear()},darkMode:this.darkMode})),this.root))}},T5t=({title:e,buttonText:t,darkMode:r,onButtonClick:n,onDismiss:o})=>{let i=r?\"dark\":\"light\";return en(UY,{darkMode:r},en(\"div\",{class:\"-cbwsdk-redirect-dialog\"},en(\"style\",null,wJe),en(\"div\",{class:\"-cbwsdk-redirect-dialog-backdrop\",onClick:o}),en(\"div\",{class:zp(\"-cbwsdk-redirect-dialog-box\",i)},en(\"p\",null,e),en(\"button\",{onClick:n},t))))}});var m3,SJe=x(()=>{u();A2();_Je();Ok();m3=class{constructor(){this.attached=!1,this.redirectDialog=new gD}attach(){if(this.attached)throw new Error(\"Coinbase Wallet SDK UI is already attached\");this.redirectDialog.attach(),this.attached=!0}redirectToCoinbaseWallet(t){let r=new URL(MFe);r.searchParams.append(\"redirect_url\",mVe().href),t&&r.searchParams.append(\"wl_url\",t);let n=document.createElement(\"a\");n.target=\"cbw-opener\",n.href=r.href,n.rel=\"noreferrer noopener\",n.click()}openCoinbaseWalletDeeplink(t){this.redirectToCoinbaseWallet(t),setTimeout(()=>{this.redirectDialog.present({title:\"Redirecting to Coinbase Wallet...\",buttonText:\"Open\",onButtonClick:()=>{this.redirectToCoinbaseWallet(t)}})},99)}showConnecting(t){return()=>{this.redirectDialog.clear()}}}});var h3,AJe=x(()=>{u();ea();Mk();cl();sJe();cD();cJe();vJe();H9();Ok();zY();SJe();h3=class e{constructor(t){this.chainCallbackParams={chainId:\"\",jsonRpcUrl:\"\"},this.isMobileWeb=hVe(),this.linkedUpdated=i=>{this.isLinked=i;let c=this.storage.getItem(p3);if(i&&(this._session.linked=i),this.isUnlinkedErrorState=!1,c){let l=c.split(\" \"),f=this.storage.getItem(\"IsStandaloneSigning\")===\"true\";l[0]!==\"\"&&!i&&this._session.linked&&!f&&(this.isUnlinkedErrorState=!0)}},this.metadataUpdated=(i,c)=>{this.storage.setItem(i,c)},this.chainUpdated=(i,c)=>{this.chainCallbackParams.chainId===i&&this.chainCallbackParams.jsonRpcUrl===c||(this.chainCallbackParams={chainId:i,jsonRpcUrl:c},this.chainCallback&&this.chainCallback(c,Number.parseInt(i,10)))},this.accountUpdated=i=>{this.accountsCallback&&this.accountsCallback([i]),e.accountRequestCallbackIds.size>0&&(Array.from(e.accountRequestCallbackIds.values()).forEach(c=>{this.invokeCallback(c,{method:\"requestEthereumAccounts\",result:[i]})}),e.accountRequestCallbackIds.clear())},this.resetAndReload=this.resetAndReload.bind(this),this.linkAPIUrl=t.linkAPIUrl,this.storage=t.storage,this.metadata=t.metadata,this.accountsCallback=t.accountsCallback,this.chainCallback=t.chainCallback;let{session:r,ui:n,connection:o}=this.subscribe();this._session=r,this.connection=o,this.relayEventManager=new fD,this.ui=n,this.ui.attach()}subscribe(){let t=E6.load(this.storage)||E6.create(this.storage),{linkAPIUrl:r}=this,n=new dD({session:t,linkAPIUrl:r,listener:this}),o=this.isMobileWeb?new m3:new U9;return n.connect(),{session:t,ui:o,connection:n}}resetAndReload(){this.connection.destroy().then(()=>{let t=E6.load(this.storage);t?.id===this._session.id&&Ld.clearAll(),document.location.reload()}).catch(t=>{})}signEthereumTransaction(t){return this.sendRequest({method:\"signEthereumTransaction\",params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:sl(t.weiValue),data:fg(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?sl(t.gasPriceInWei):null,maxFeePerGas:t.gasPriceInWei?sl(t.gasPriceInWei):null,maxPriorityFeePerGas:t.gasPriceInWei?sl(t.gasPriceInWei):null,gasLimit:t.gasLimit?sl(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(t){return this.sendRequest({method:\"signEthereumTransaction\",params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:sl(t.weiValue),data:fg(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?sl(t.gasPriceInWei):null,maxFeePerGas:t.maxFeePerGas?sl(t.maxFeePerGas):null,maxPriorityFeePerGas:t.maxPriorityFeePerGas?sl(t.maxPriorityFeePerGas):null,gasLimit:t.gasLimit?sl(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!0}})}submitEthereumTransaction(t,r){return this.sendRequest({method:\"submitEthereumTransaction\",params:{signedTransaction:fg(t,!0),chainId:r}})}getWalletLinkSession(){return this._session}sendRequest(t){let r=null,n=Dp(8),o=i=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,t.method,i),r?.()};return new Promise((i,c)=>{r=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:o,onResetConnection:this.resetAndReload}),this.relayEventManager.callbacks.set(n,l=>{if(r?.(),Lo(l))return c(new Error(l.errorMessage));i(l)}),this.publishWeb3RequestEvent(n,t)})}publishWeb3RequestEvent(t,r){let n={type:\"WEB3_REQUEST\",id:t,request:r};this.publishEvent(\"Web3Request\",n,!0).then(o=>{}).catch(o=>{this.handleWeb3ResponseMessage(n.id,{method:r.method,errorMessage:o.message})}),this.isMobileWeb&&this.openCoinbaseWalletDeeplink(r.method)}openCoinbaseWalletDeeplink(t){if(this.ui instanceof m3)switch(t){case\"requestEthereumAccounts\":case\"switchEthereumChain\":return;default:window.addEventListener(\"blur\",()=>{window.addEventListener(\"focus\",()=>{this.connection.checkUnseenEvents()},{once:!0})},{once:!0}),this.ui.openCoinbaseWalletDeeplink();break}}publishWeb3RequestCanceledEvent(t){let r={type:\"WEB3_REQUEST_CANCELED\",id:t};this.publishEvent(\"Web3RequestCanceled\",r,!1).then()}publishEvent(t,r,n){return this.connection.publishEvent(t,r,n)}handleWeb3ResponseMessage(t,r){if(r.method===\"requestEthereumAccounts\"){e.accountRequestCallbackIds.forEach(n=>this.invokeCallback(n,r)),e.accountRequestCallbackIds.clear();return}this.invokeCallback(t,r)}handleErrorResponse(t,r,n){var o;let i=(o=n?.message)!==null&&o!==void 0?o:\"Unspecified error message.\";this.handleWeb3ResponseMessage(t,{method:r,errorMessage:i})}invokeCallback(t,r){let n=this.relayEventManager.callbacks.get(t);n&&(n(r),this.relayEventManager.callbacks.delete(t))}requestEthereumAccounts(){let{appName:t,appLogoUrl:r}=this.metadata,n={method:\"requestEthereumAccounts\",params:{appName:t,appLogoUrl:r}},o=null,i=Dp(8);return new Promise((c,l)=>{this.relayEventManager.callbacks.set(i,f=>{if(o?.(),Lo(f))return l(new Error(f.errorMessage));c(f)}),e.accountRequestCallbackIds.add(i),this.publishWeb3RequestEvent(i,n)})}watchAsset(t,r,n,o,i,c){let l={method:\"watchAsset\",params:{type:t,options:{address:r,symbol:n,decimals:o,image:i},chainId:c}},f=null,p=Dp(8),h=y=>{this.publishWeb3RequestCanceledEvent(p),this.handleErrorResponse(p,l.method,y),f?.()};return f=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:h,onResetConnection:this.resetAndReload}),new Promise((y,w)=>{this.relayEventManager.callbacks.set(p,E=>{if(f?.(),Lo(E))return w(new Error(E.errorMessage));y(E)}),this.publishWeb3RequestEvent(p,l)})}addEthereumChain(t,r,n,o,i,c){let l={method:\"addEthereumChain\",params:{chainId:t,rpcUrls:r,blockExplorerUrls:o,chainName:i,iconUrls:n,nativeCurrency:c}},f=null,p=Dp(8),h=y=>{this.publishWeb3RequestCanceledEvent(p),this.handleErrorResponse(p,l.method,y),f?.()};return f=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:h,onResetConnection:this.resetAndReload}),new Promise((y,w)=>{this.relayEventManager.callbacks.set(p,E=>{if(f?.(),Lo(E))return w(new Error(E.errorMessage));y(E)}),this.publishWeb3RequestEvent(p,l)})}switchEthereumChain(t,r){let n={method:\"switchEthereumChain\",params:Object.assign({chainId:t},{address:r})},o=null,i=Dp(8),c=l=>{this.publishWeb3RequestCanceledEvent(i),this.handleErrorResponse(i,n.method,l),o?.()};return o=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:c,onResetConnection:this.resetAndReload}),new Promise((l,f)=>{this.relayEventManager.callbacks.set(i,p=>{if(o?.(),Lo(p)&&p.errorCode)return f(Oe.provider.custom({code:p.errorCode,message:\"Unrecognized chain ID. Try adding the chain using addEthereumChain first.\"}));if(Lo(p))return f(new Error(p.errorMessage));l(p)}),this.publishWeb3RequestEvent(i,n)})}};h3.accountRequestCallbackIds=new Set});var y3,kJe,CJe,b3,TJe=x(()=>{u();A2();ea();Mk();Pee();LY();cl();V9();S2();y3=_r(eJe(),1);AJe();cD();H9();kJe=\"DefaultChainId\",CJe=\"DefaultJsonRpcUrl\",b3=class{constructor(t){this._relay=null,this._addresses=[],this.metadata=t.metadata,this._storage=new Ld(\"walletlink\",SY),this.callback=t.callback||null;let r=this._storage.getItem(p3);if(r){let n=r.split(\" \");n[0]!==\"\"&&(this._addresses=n.map(o=>Up(o)))}this.initializeRelay()}getSession(){let t=this.initializeRelay(),{id:r,secret:n}=t.getWalletLinkSession();return{id:r,secret:n}}async handshake(t){let r=\"eth_requestAccounts\",n=Rs.get(t);KZe({method:r,correlationId:n});try{await this._eth_requestAccounts(),WZe({method:r,correlationId:n})}catch(o){throw ZZe({method:r,correlationId:n,errorMessage:Lp(o)}),o}}get selectedAddress(){return this._addresses[0]||void 0}get jsonRpcUrl(){var t;return(t=this._storage.getItem(CJe))!==null&&t!==void 0?t:void 0}set jsonRpcUrl(t){this._storage.setItem(CJe,t)}updateProviderInfo(t,r){var n;this.jsonRpcUrl=t;let o=this.getChainId();this._storage.setItem(kJe,r.toString(10)),pg(r)!==o&&((n=this.callback)===null||n===void 0||n.call(this,\"chainChanged\",Np(r)))}async watchAsset(t){let r=Array.isArray(t)?t[0]:t;if(!r.type)throw Oe.rpc.invalidParams(\"Type is required\");if(r?.type!==\"ERC20\")throw Oe.rpc.invalidParams(`Asset of type \\'${r.type}\\' is not supported`);if(!r?.options)throw Oe.rpc.invalidParams(\"Options are required\");if(!r?.options.address)throw Oe.rpc.invalidParams(\"Address is required\");let n=this.getChainId(),{address:o,symbol:i,image:c,decimals:l}=r.options,p=await this.initializeRelay().watchAsset(r.type,o,i,l,c,n?.toString());return Lo(p)?!1:!!p.result}async addEthereumChain(t){var r,n;let o=t[0];if(((r=o.rpcUrls)===null||r===void 0?void 0:r.length)===0)throw Oe.rpc.invalidParams(\"please pass in at least 1 rpcUrl\");if(!o.chainName||o.chainName.trim()===\"\")throw Oe.rpc.invalidParams(\"chainName is a required field\");if(!o.nativeCurrency)throw Oe.rpc.invalidParams(\"nativeCurrency is a required field\");let i=Number.parseInt(o.chainId,16);if(i===this.getChainId())return!1;let c=this.initializeRelay(),{rpcUrls:l=[],blockExplorerUrls:f=[],chainName:p,iconUrls:h=[],nativeCurrency:y}=o,w=await c.addEthereumChain(i.toString(),l,h,f,p,y);if(Lo(w))return!1;if(((n=w.result)===null||n===void 0?void 0:n.isApproved)===!0)return this.updateProviderInfo(l[0],i),null;throw Oe.rpc.internal(\"unable to add ethereum chain\")}async switchEthereumChain(t){let r=t[0],n=Number.parseInt(r.chainId,16),i=await this.initializeRelay().switchEthereumChain(n.toString(10),this.selectedAddress||void 0);if(Lo(i))throw i;let c=i.result;return c.isApproved&&c.rpcUrl.length>0&&this.updateProviderInfo(c.rpcUrl,n),null}async cleanup(){this.callback=null,this._relay&&this._relay.resetAndReload(),this._storage.clear()}_setAddresses(t,r){var n;if(!Array.isArray(t))throw new Error(\"addresses is not an array\");let o=t.map(i=>Up(i));JSON.stringify(o)!==JSON.stringify(this._addresses)&&(this._addresses=o,(n=this.callback)===null||n===void 0||n.call(this,\"accountsChanged\",o),this._storage.setItem(p3,o.join(\" \")))}async request(t){let r=Rs.get(t);JZe({method:t.method,correlationId:r});try{let n=await this._request(t);return YZe({method:t.method,correlationId:r}),n}catch(n){throw QZe({method:t.method,correlationId:r,errorMessage:Lp(n)}),n}}async _request(t){let r=t.params||[];switch(t.method){case\"eth_accounts\":return[...this._addresses];case\"eth_coinbase\":return this.selectedAddress||null;case\"net_version\":return this.getChainId().toString(10);case\"eth_chainId\":return Np(this.getChainId());case\"eth_requestAccounts\":return this._eth_requestAccounts();case\"eth_ecRecover\":case\"personal_ecRecover\":return this.ecRecover(t);case\"personal_sign\":return this.personalSign(t);case\"eth_signTransaction\":return this._eth_signTransaction(r);case\"eth_sendRawTransaction\":return this._eth_sendRawTransaction(r);case\"eth_sendTransaction\":return this._eth_sendTransaction(r);case\"eth_signTypedData_v1\":case\"eth_signTypedData_v3\":case\"eth_signTypedData_v4\":case\"eth_signTypedData\":return this.signTypedData(t);case\"wallet_addEthereumChain\":return this.addEthereumChain(r);case\"wallet_switchEthereumChain\":return this.switchEthereumChain(r);case\"wallet_watchAsset\":return this.watchAsset(r);default:if(!this.jsonRpcUrl)throw Oe.rpc.internal(\"No RPC URL set for chain\");return p0(t,this.jsonRpcUrl)}}_ensureKnownAddress(t){let r=Up(t);if(!this._addresses.map(o=>Up(o)).includes(r))throw new Error(\"Unknown Ethereum address\")}_prepareTransactionParams(t){let r=t.from?Up(t.from):this.selectedAddress;if(!r)throw new Error(\"Ethereum address is unavailable\");this._ensureKnownAddress(r);let n=t.to?Up(t.to):null,o=t.value!=null?_2(t.value):BigInt(0),i=t.data?x9(t.data):globalThis.Buffer.alloc(0),c=t.nonce!=null?pg(t.nonce):null,l=t.gasPrice!=null?_2(t.gasPrice):null,f=t.maxFeePerGas!=null?_2(t.maxFeePerGas):null,p=t.maxPriorityFeePerGas!=null?_2(t.maxPriorityFeePerGas):null,h=t.gas!=null?_2(t.gas):null,y=t.chainId?pg(t.chainId):this.getChainId();return{fromAddress:r,toAddress:n,weiValue:o,data:i,nonce:c,gasPriceInWei:l,maxFeePerGas:f,maxPriorityFeePerGas:p,gasLimit:h,chainId:y}}async ecRecover(t){let{method:r,params:n}=t;if(!Array.isArray(n))throw Oe.rpc.invalidParams();let i=await this.initializeRelay().sendRequest({method:\"ethereumAddressFromSignedMessage\",params:{message:y9(n[0]),signature:y9(n[1]),addPrefix:r===\"personal_ecRecover\"}});if(Lo(i))throw i;return i.result}getChainId(){var t;return Number.parseInt((t=this._storage.getItem(kJe))!==null&&t!==void 0?t:\"1\",10)}async _eth_requestAccounts(){var t,r;if(this._addresses.length>0)return(t=this.callback)===null||t===void 0||t.call(this,\"connect\",{chainId:Np(this.getChainId())}),this._addresses;let o=await this.initializeRelay().requestEthereumAccounts();if(Lo(o))throw o;if(!o.result)throw new Error(\"accounts received is empty\");return this._setAddresses(o.result),(r=this.callback)===null||r===void 0||r.call(this,\"connect\",{chainId:Np(this.getChainId())}),this._addresses}async personalSign({params:t}){if(!Array.isArray(t))throw Oe.rpc.invalidParams();let r=t[1],n=t[0];this._ensureKnownAddress(r);let i=await this.initializeRelay().sendRequest({method:\"signEthereumMessage\",params:{address:Up(r),message:y9(n),addPrefix:!0,typedDataJson:null}});if(Lo(i))throw i;return i.result}async _eth_signTransaction(t){let r=this._prepareTransactionParams(t[0]||{}),o=await this.initializeRelay().signEthereumTransaction(r);if(Lo(o))throw o;return o.result}async _eth_sendRawTransaction(t){let r=x9(t[0]),o=await this.initializeRelay().submitEthereumTransaction(r,this.getChainId());if(Lo(o))throw o;return o.result}async _eth_sendTransaction(t){let r=this._prepareTransactionParams(t[0]||{}),o=await this.initializeRelay().signAndSubmitEthereumTransaction(r);if(Lo(o))throw o;return o.result}async signTypedData(t){let{method:r,params:n}=t;if(!Array.isArray(n))throw Oe.rpc.invalidParams();let o=p=>{let h={eth_signTypedData_v1:y3.default.hashForSignTypedDataLegacy,eth_signTypedData_v3:y3.default.hashForSignTypedData_v3,eth_signTypedData_v4:y3.default.hashForSignTypedData_v4,eth_signTypedData:y3.default.hashForSignTypedData_v4};return fg(h[r]({data:IFe(p)}),!0)},i=n[r===\"eth_signTypedData_v1\"?1:0],c=n[r===\"eth_signTypedData_v1\"?0:1];this._ensureKnownAddress(i);let f=await this.initializeRelay().sendRequest({method:\"signEthereumMessage\",params:{address:Up(i),message:o(c),typedDataJson:JSON.stringify(c,null,2),addPrefix:!1}});if(Lo(f))throw f;return f.result}initializeRelay(){return this._relay||(this._relay=new h3({linkAPIUrl:SY,storage:this._storage,metadata:this.metadata,accountsCallback:this._setAddresses.bind(this),chainCallback:this.updateProviderInfo.bind(this)})),this._relay}}});function RJe(){return PJe.getItem(IJe)}function OJe(e){PJe.setItem(IJe,e)}function Vee(e){if(e)return e instanceof c3?\"scw\":\"walletlink\"}async function BJe(e){let{communicator:t,metadata:r,handshakeRequest:n,callback:o}=e;I5t(t,r,o,n).catch(()=>{});let i={id:crypto.randomUUID(),event:\"selectSignerType\",data:Object.assign(Object.assign({},e.preference),{handshakeRequest:n})},{data:c}=await t.postRequestAndWaitForResponse(i);return c}function MJe(e){let{signerType:t,metadata:r,communicator:n,callback:o}=e;switch(t){case\"scw\":return new c3({metadata:r,callback:o,communicator:n});case\"walletlink\":return new b3({metadata:r,callback:o})}}async function I5t(e,t,r,n){await e.onMessage(({event:i})=>i===\"WalletLinkSessionRequest\");let o=new b3({metadata:t,callback:r});e.postMessage({event:\"WalletLinkUpdate\",data:{session:o.getSession()}}),await o.handshake(n),e.postMessage({event:\"WalletLinkUpdate\",data:{connected:!0}})}var IJe,PJe,DJe=x(()=>{u();Mk();GZe();TJe();IJe=\"SignerType\",PJe=new Ld(\"CBWSDK\",\"SignerConfigurator\")});var P5t,_6,qee=x(()=>{u();EVe();A2();Ck();ea();SVe();AVe();Mk();RVe();MVe();cl();V9();ou();S2();DJe();P5t=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r},_6=class extends j9{constructor(t){var{metadata:r}=t,n=t.preference,{keysUrl:o}=n,i=P5t(n,[\"keysUrl\"]);super(),this.signer=null,this.isCoinbaseWallet=!0,this.metadata=r,this.preference=i,this.communicator=new L9({url:o,metadata:r,preference:i});let c=RJe();c&&(this.signer=this.initSigner(c),kVe({signerType:c}))}async request(t){let r=crypto.randomUUID();Rs.set(t,r),CVe({method:t.method,correlationId:r});try{let n=await this._request(t);return IVe({method:t.method,signerType:Vee(this.signer),correlationId:r}),n}catch(n){throw TVe({method:t.method,correlationId:r,signerType:Vee(this.signer),errorMessage:n instanceof Error?n.message:\"\"}),n}finally{Rs.delete(t)}}async _request(t){try{if(OFe(t),!this.signer)switch(t.method){case\"eth_requestAccounts\":{let n,o=Ne.subAccountsConfig.get();o?.enableAutoSubAccounts?n=\"scw\":n=await this.requestSignerSelection(t);let i=this.initSigner(n);n===\"scw\"&&o?.enableAutoSubAccounts?(await i.handshake({method:\"handshake\"}),await i.request(t)):await i.handshake(t),this.signer=i,OJe(n);break}case\"wallet_connect\":{let n=this.initSigner(\"scw\");await n.handshake({method:\"handshake\"});let o=await n.request(t);return this.signer=n,o}case\"wallet_sendCalls\":case\"wallet_sign\":{let n=this.initSigner(\"scw\");await n.handshake({method:\"handshake\"});let o=await n.request(t);return await n.cleanup(),o}case\"wallet_getCallsStatus\":return await p0(t,S9);case\"net_version\":return 1;case\"eth_chainId\":return Np(1);default:throw Oe.provider.unauthorized(\"Must call \\'eth_requestAccounts\\' before other methods\")}return await this.signer.request(t)}catch(r){let{code:n}=r;return n===Hn.provider.unauthorized&&this.disconnect(),Promise.reject(_Ve(r))}}async enable(){return console.warn(\\'.enable() has been deprecated. Please use .request({ method: \"eth_requestAccounts\" }) instead.\\'),PVe(),await this.request({method:\"eth_requestAccounts\"})}async disconnect(){var t;await((t=this.signer)===null||t===void 0?void 0:t.cleanup()),this.signer=null,Ld.clearAll(),Rs.clear(),this.emit(\"disconnect\",Oe.provider.disconnected(\"User initiated disconnection\"))}async requestSignerSelection(t){OVe();let r=await BJe({communicator:this.communicator,preference:this.preference,metadata:this.metadata,handshakeRequest:t,callback:this.emit.bind(this)});return BVe(r),r}initSigner(t){return MJe({signerType:t,metadata:this.metadata,communicator:this.communicator,callback:this.emit.bind(this)})}}});var NJe,UJe=x(()=>{u();NJe=(e,t)=>{let r;switch(e){case\"standard\":return r=t,`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' viewBox=\\'0 0 1024 1024\\' fill=\\'none\\' xmlns=\\'http://www.w3.org/2000/svg\\'%3E %3Crect width=\\'1024\\' height=\\'1024\\' fill=\\'%230052FF\\'/%3E %3Cpath fill-rule=\\'evenodd\\' clip-rule=\\'evenodd\\' d=\\'M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z\\' fill=\\'white\\'/%3E %3C/svg%3E `;case\"circle\":return r=t,`data:image/svg+xml,%3Csvg xmlns=\\'http://www.w3.org/2000/svg\\' width=\\'${t}\\' height=\\'${r}\\' viewBox=\\'0 0 999.81 999.81\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class=\\'cls-1\\' d=\\'M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z\\' transform=\\'translate(-183.1 115.9)\\'/%3E%3Cpath class=\\'cls-2\\' d=\\'M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z\\' transform=\\'translate(-183.1 115.9)\\'/%3E%3Cpath class=\\'cls-3\\' d=\\'M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z\\' transform=\\'translate(-183.1 115.9)\\'/%3E%3C/svg%3E`;case\"text\":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 528.15 53.64\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class=\\'cls-1\\' d=\\'M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z\\'/%3E%3C/svg%3E`;case\"textWithLogo\":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 308.44 77.61\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class=\\'cls-1\\' d=\\'M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z\\'/%3E%3C/svg%3E`;case\"textLight\":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 528.15 53.64\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class=\\'cls-1\\' d=\\'M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z\\'/%3E%3C/svg%3E`;case\"textWithLogoLight\":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 308.44 77.61\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class=\\'cls-1\\' d=\\'M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z\\'/%3E%3C/svg%3E`;default:return r=t,`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' viewBox=\\'0 0 1024 1024\\' fill=\\'none\\' xmlns=\\'http://www.w3.org/2000/svg\\'%3E %3Crect width=\\'1024\\' height=\\'1024\\' fill=\\'%230052FF\\'/%3E %3Cpath fill-rule=\\'evenodd\\' clip-rule=\\'evenodd\\' d=\\'M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z\\' fill=\\'white\\'/%3E %3C/svg%3E `}}});var S6,Gee=x(()=>{u();pY();cl();ou();w9();S2();_Y();qee();UJe();S6=class{constructor(t){Ne.persist.rehydrate(),this.metadata={appName:t.appName||\"Dapp\",appLogoUrl:t.appLogoUrl||PFe(),appChainIds:t.appChainIds||[]},Ne.config.set({metadata:this.metadata}),v9()}makeWeb3Provider(t={options:\"all\"}){var r;_9(t),t.telemetry!==!1&&d9(),Ne.config.set({preference:t});let n={metadata:this.metadata,preference:t};return(r=E9(n))!==null&&r!==void 0?r:new _6(n)}getCoinbaseWalletLogo(t,r=240){return NJe(t,r)}}});function $Je(e){var t;let r={metadata:e.metadata,preference:e.preference};return(t=E9(r))!==null&&t!==void 0?t:new _6(r)}var zJe=x(()=>{u();S2();qee()});function LJe(e){var t,r,n,o;let i={metadata:{appName:e.appName||\"Dapp\",appLogoUrl:e.appLogoUrl||\"\",appChainIds:e.appChainIds||[]},preference:Object.assign(R5t,(t=e.preference)!==null&&t!==void 0?t:{}),paymasterUrls:e.paymasterUrls};!((r=e.subAccounts)===null||r===void 0)&&r.toOwnerAccount&&EY(e.subAccounts.toOwnerAccount),Ne.subAccountsConfig.set({toOwnerAccount:(n=e.subAccounts)===null||n===void 0?void 0:n.toOwnerAccount,enableAutoSubAccounts:(o=e.subAccounts)===null||o===void 0?void 0:o.enableAutoSubAccounts}),Ne.config.set(i),Ne.persist.rehydrate(),v9(),i.preference.telemetry!==!1&&d9(),_9(i.preference);let c=null,l={getProvider(){return c||(c=$Je(i)),c.sdk=l,c},subAccount:{async create(f){var p,h;let y=Ne.getState();return mi((p=y.subAccount)===null||p===void 0?void 0:p.address,new Error(\"subaccount already exists\")),await((h=l.getProvider())===null||h===void 0?void 0:h.request({method:\"wallet_addSubAccount\",params:[{version:\"1\",account:f}]}))},async get(){var f,p;let h=Ne.subAccounts.get();if(h?.address)return h;let w=(p=(await((f=l.getProvider())===null||f===void 0?void 0:f.request({method:\"wallet_connect\",params:[{version:\"1\",capabilities:{}}]}))).accounts[0].capabilities)===null||p===void 0?void 0:p.subAccounts;return Array.isArray(w)?w[0]:null},async addOwner({address:f,publicKey:p,chainId:h}){var y,w;let E=Ne.subAccounts.get(),A=Ne.account.get();mi(A,new Error(\"account does not exist\")),mi(E?.address,new Error(\"subaccount does not exist\"));let C=[];if(p){let[R,M]=ds([{type:\"bytes32\"},{type:\"bytes32\"}],p);C.push({to:E.address,data:vt({abi:ra,functionName:\"addOwnerPublicKey\",args:[R,M]}),value:rt(0)})}return f&&C.push({to:E.address,data:vt({abi:ra,functionName:\"addOwnerAddress\",args:[f]}),value:rt(0)}),await((y=l.getProvider())===null||y===void 0?void 0:y.request({method:\"wallet_sendCalls\",params:[{calls:C,chainId:rt(h),from:(w=A.accounts)===null||w===void 0?void 0:w[0],version:\"1\"}]}))},setToOwnerAccount(f){EY(f),Ne.subAccountsConfig.set({toOwnerAccount:f})}}};return l}var R5t,HJe=x(()=>{u();bn();pY();Dg();s6();w9();_Y();zJe();ou();R5t={options:\"all\"}});var jJe={};an(jJe,{CoinbaseWalletSDK:()=>S6,createCoinbaseWalletSDK:()=>LJe,default:()=>O5t,getCryptoKeyAccount:()=>Bg,removeCryptoKey:()=>hZe});var O5t,FJe=x(()=>{u();Gee();Gee();HJe();GM();O5t=S6});var VJe=J(xD=>{\"use strict\";u();Object.defineProperty(xD,\"__esModule\",{value:!0});xD.walletLogo=void 0;var B5t=(e,t)=>{let r;switch(e){case\"standard\":return r=t,`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' viewBox=\\'0 0 1024 1024\\' fill=\\'none\\' xmlns=\\'http://www.w3.org/2000/svg\\'%3E %3Crect width=\\'1024\\' height=\\'1024\\' fill=\\'%230052FF\\'/%3E %3Cpath fill-rule=\\'evenodd\\' clip-rule=\\'evenodd\\' d=\\'M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z\\' fill=\\'white\\'/%3E %3C/svg%3E `;case\"circle\":return r=t,`data:image/svg+xml,%3Csvg xmlns=\\'http://www.w3.org/2000/svg\\' width=\\'${t}\\' height=\\'${r}\\' viewBox=\\'0 0 999.81 999.81\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class=\\'cls-1\\' d=\\'M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z\\' transform=\\'translate(-183.1 115.9)\\'/%3E%3Cpath class=\\'cls-2\\' d=\\'M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z\\' transform=\\'translate(-183.1 115.9)\\'/%3E%3Cpath class=\\'cls-3\\' d=\\'M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z\\' transform=\\'translate(-183.1 115.9)\\'/%3E%3C/svg%3E`;case\"text\":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 528.15 53.64\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class=\\'cls-1\\' d=\\'M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z\\'/%3E%3C/svg%3E`;case\"textWithLogo\":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 308.44 77.61\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class=\\'cls-1\\' d=\\'M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z\\'/%3E%3C/svg%3E`;case\"textLight\":return r=(.1*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 528.15 53.64\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class=\\'cls-1\\' d=\\'M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z\\'/%3E%3C/svg%3E`;case\"textWithLogoLight\":return r=(.25*t).toFixed(2),`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' xmlns=\\'http://www.w3.org/2000/svg\\' viewBox=\\'0 0 308.44 77.61\\'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class=\\'cls-1\\' d=\\'M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z\\'/%3E%3C/svg%3E`;default:return r=t,`data:image/svg+xml,%3Csvg width=\\'${t}\\' height=\\'${r}\\' viewBox=\\'0 0 1024 1024\\' fill=\\'none\\' xmlns=\\'http://www.w3.org/2000/svg\\'%3E %3Crect width=\\'1024\\' height=\\'1024\\' fill=\\'%230052FF\\'/%3E %3Cpath fill-rule=\\'evenodd\\' clip-rule=\\'evenodd\\' d=\\'M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z\\' fill=\\'white\\'/%3E %3C/svg%3E `}};xD.walletLogo=B5t});var qJe=J(vD=>{\"use strict\";u();Object.defineProperty(vD,\"__esModule\",{value:!0});vD.LINK_API_URL=void 0;vD.LINK_API_URL=\"https://www.walletlink.org\"});var GJe=J(()=>{u()});var g3=J((KJe,Kee)=>{u();(function(e,t){\"use strict\";function r(N,_){if(!N)throw new Error(_||\"Assertion failed\")}function n(N,_){N.super_=_;var k=function(){};k.prototype=_.prototype,N.prototype=new k,N.prototype.constructor=N}function o(N,_,k){if(o.isBN(N))return N;this.negative=0,this.words=null,this.length=0,this.red=null,N!==null&&((_===\"le\"||_===\"be\")&&(k=_,_=10),this._init(N||0,_||10,k||\"be\"))}typeof e==\"object\"?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;var i;try{typeof window<\"u\"&&typeof window.Buffer<\"u\"?i=window.Buffer:i=GJe().Buffer}catch{}o.isBN=function(_){return _ instanceof o?!0:_!==null&&typeof _==\"object\"&&_.constructor.wordSize===o.wordSize&&Array.isArray(_.words)},o.max=function(_,k){return _.cmp(k)>0?_:k},o.min=function(_,k){return _.cmp(k)<0?_:k},o.prototype._init=function(_,k,O){if(typeof _==\"number\")return this._initNumber(_,k,O);if(typeof _==\"object\")return this._initArray(_,k,O);k===\"hex\"&&(k=16),r(k===(k|0)&&k>=2&&k<=36),_=_.toString().replace(/\\\\s+/g,\"\");var B=0;_[0]===\"-\"&&(B++,this.negative=1),B<_.length&&(k===16?this._parseHex(_,B,O):(this._parseBase(_,k,B),O===\"le\"&&this._initArray(this.toArray(),k,O)))},o.prototype._initNumber=function(_,k,O){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[_&67108863],this.length=1):_<4503599627370496?(this.words=[_&67108863,_/67108864&67108863],this.length=2):(r(_<9007199254740992),this.words=[_&67108863,_/67108864&67108863,1],this.length=3),O===\"le\"&&this._initArray(this.toArray(),k,O)},o.prototype._initArray=function(_,k,O){if(r(typeof _.length==\"number\"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var L,q,W=0;if(O===\"be\")for(B=_.length-1,L=0;B>=0;B-=3)q=_[B]|_[B-1]<<8|_[B-2]<<16,this.words[L]|=q<<W&67108863,this.words[L+1]=q>>>26-W&67108863,W+=24,W>=26&&(W-=26,L++);else if(O===\"le\")for(B=0,L=0;B<_.length;B+=3)q=_[B]|_[B+1]<<8|_[B+2]<<16,this.words[L]|=q<<W&67108863,this.words[L+1]=q>>>26-W&67108863,W+=24,W>=26&&(W-=26,L++);return this._strip()};function c(N,_){var k=N.charCodeAt(_);if(k>=48&&k<=57)return k-48;if(k>=65&&k<=70)return k-55;if(k>=97&&k<=102)return k-87;r(!1,\"Invalid character in \"+N)}function l(N,_,k){var O=c(N,k);return k-1>=_&&(O|=c(N,k-1)<<4),O}o.prototype._parseHex=function(_,k,O){this.length=Math.ceil((_.length-k)/6),this.words=new Array(this.length);for(var B=0;B<this.length;B++)this.words[B]=0;var L=0,q=0,W;if(O===\"be\")for(B=_.length-1;B>=k;B-=2)W=l(_,k,B)<<L,this.words[q]|=W&67108863,L>=18?(L-=18,q+=1,this.words[q]|=W>>>26):L+=8;else{var U=_.length-k;for(B=U%2===0?k+1:k;B<_.length;B+=2)W=l(_,k,B)<<L,this.words[q]|=W&67108863,L>=18?(L-=18,q+=1,this.words[q]|=W>>>26):L+=8}this._strip()};function f(N,_,k,O){for(var B=0,L=0,q=Math.min(N.length,k),W=_;W<q;W++){var U=N.charCodeAt(W)-48;B*=O,U>=49?L=U-49+10:U>=17?L=U-17+10:L=U,r(U>=0&&L<O,\"Invalid character\"),B+=L}return B}o.prototype._parseBase=function(_,k,O){this.words=[0],this.length=1;for(var B=0,L=1;L<=67108863;L*=k)B++;B--,L=L/k|0;for(var q=_.length-O,W=q%B,U=Math.min(q,q-W)+O,P=0,Z=O;Z<U;Z+=B)P=f(_,Z,Z+B,k),this.imuln(L),this.words[0]+P<67108864?this.words[0]+=P:this._iaddn(P);if(W!==0){var ye=1;for(P=f(_,Z,_.length,k),Z=0;Z<W;Z++)ye*=k;this.imuln(ye),this.words[0]+P<67108864?this.words[0]+=P:this._iaddn(P)}this._strip()},o.prototype.copy=function(_){_.words=new Array(this.length);for(var k=0;k<this.length;k++)_.words[k]=this.words[k];_.length=this.length,_.negative=this.negative,_.red=this.red};function p(N,_){N.words=_.words,N.length=_.length,N.negative=_.negative,N.red=_.red}if(o.prototype._move=function(_){p(_,this)},o.prototype.clone=function(){var _=new o(null);return this.copy(_),_},o.prototype._expand=function(_){for(;this.length<_;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<\"u\"&&typeof Symbol.for==\"function\")try{o.prototype[Symbol.for(\"nodejs.util.inspect.custom\")]=h}catch{o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?\"<BN-R: \":\"<BN: \")+this.toString(16)+\">\"}var y=[\"\",\"0\",\"00\",\"000\",\"0000\",\"00000\",\"000000\",\"0000000\",\"00000000\",\"000000000\",\"0000000000\",\"00000000000\",\"000000000000\",\"0000000000000\",\"00000000000000\",\"000000000000000\",\"0000000000000000\",\"00000000000000000\",\"000000000000000000\",\"0000000000000000000\",\"00000000000000000000\",\"000000000000000000000\",\"0000000000000000000000\",\"00000000000000000000000\",\"000000000000000000000000\",\"0000000000000000000000000\"],w=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],E=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(_,k){_=_||10,k=k|0||1;var O;if(_===16||_===\"hex\"){O=\"\";for(var B=0,L=0,q=0;q<this.length;q++){var W=this.words[q],U=((W<<B|L)&16777215).toString(16);L=W>>>24-B&16777215,B+=2,B>=26&&(B-=26,q--),L!==0||q!==this.length-1?O=y[6-U.length]+U+O:O=U+O}for(L!==0&&(O=L.toString(16)+O);O.length%k!==0;)O=\"0\"+O;return this.negative!==0&&(O=\"-\"+O),O}if(_===(_|0)&&_>=2&&_<=36){var P=w[_],Z=E[_];O=\"\";var ye=this.clone();for(ye.negative=0;!ye.isZero();){var xe=ye.modrn(Z).toString(_);ye=ye.idivn(Z),ye.isZero()?O=xe+O:O=y[P-xe.length]+xe+O}for(this.isZero()&&(O=\"0\"+O);O.length%k!==0;)O=\"0\"+O;return this.negative!==0&&(O=\"-\"+O),O}r(!1,\"Base should be between 2 and 36\")},o.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=this.words[1]*67108864:this.length===3&&this.words[2]===1?_+=4503599627370496+this.words[1]*67108864:this.length>2&&r(!1,\"Number can only safely store up to 53 bits\"),this.negative!==0?-_:_},o.prototype.toJSON=function(){return this.toString(16,2)},i&&(o.prototype.toBuffer=function(_,k){return this.toArrayLike(i,_,k)}),o.prototype.toArray=function(_,k){return this.toArrayLike(Array,_,k)};var A=function(_,k){return _.allocUnsafe?_.allocUnsafe(k):new _(k)};o.prototype.toArrayLike=function(_,k,O){this._strip();var B=this.byteLength(),L=O||Math.max(1,B);r(B<=L,\"byte array longer than desired length\"),r(L>0,\"Requested array length <= 0\");var q=A(_,L),W=k===\"le\"?\"LE\":\"BE\";return this[\"_toArrayLike\"+W](q,B),q},o.prototype._toArrayLikeLE=function(_,k){for(var O=0,B=0,L=0,q=0;L<this.length;L++){var W=this.words[L]<<q|B;_[O++]=W&255,O<_.length&&(_[O++]=W>>8&255),O<_.length&&(_[O++]=W>>16&255),q===6?(O<_.length&&(_[O++]=W>>24&255),B=0,q=0):(B=W>>>24,q+=2)}if(O<_.length)for(_[O++]=B;O<_.length;)_[O++]=0},o.prototype._toArrayLikeBE=function(_,k){for(var O=_.length-1,B=0,L=0,q=0;L<this.length;L++){var W=this.words[L]<<q|B;_[O--]=W&255,O>=0&&(_[O--]=W>>8&255),O>=0&&(_[O--]=W>>16&255),q===6?(O>=0&&(_[O--]=W>>24&255),B=0,q=0):(B=W>>>24,q+=2)}if(O>=0)for(_[O--]=B;O>=0;)_[O--]=0},Math.clz32?o.prototype._countBits=function(_){return 32-Math.clz32(_)}:o.prototype._countBits=function(_){var k=_,O=0;return k>=4096&&(O+=13,k>>>=13),k>=64&&(O+=7,k>>>=7),k>=8&&(O+=4,k>>>=4),k>=2&&(O+=2,k>>>=2),O+k},o.prototype._zeroBits=function(_){if(_===0)return 26;var k=_,O=0;return(k&8191)===0&&(O+=13,k>>>=13),(k&127)===0&&(O+=7,k>>>=7),(k&15)===0&&(O+=4,k>>>=4),(k&3)===0&&(O+=2,k>>>=2),(k&1)===0&&O++,O},o.prototype.bitLength=function(){var _=this.words[this.length-1],k=this._countBits(_);return(this.length-1)*26+k};function C(N){for(var _=new Array(N.bitLength()),k=0;k<_.length;k++){var O=k/26|0,B=k%26;_[k]=N.words[O]>>>B&1}return _}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,k=0;k<this.length;k++){var O=this._zeroBits(this.words[k]);if(_+=O,O!==26)break}return _},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(_){return this.negative!==0?this.abs().inotn(_).iaddn(1):this.clone()},o.prototype.fromTwos=function(_){return this.testn(_-1)?this.notn(_).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(_){for(;this.length<_.length;)this.words[this.length++]=0;for(var k=0;k<_.length;k++)this.words[k]=this.words[k]|_.words[k];return this._strip()},o.prototype.ior=function(_){return r((this.negative|_.negative)===0),this.iuor(_)},o.prototype.or=function(_){return this.length>_.length?this.clone().ior(_):_.clone().ior(this)},o.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},o.prototype.iuand=function(_){var k;this.length>_.length?k=_:k=this;for(var O=0;O<k.length;O++)this.words[O]=this.words[O]&_.words[O];return this.length=k.length,this._strip()},o.prototype.iand=function(_){return r((this.negative|_.negative)===0),this.iuand(_)},o.prototype.and=function(_){return this.length>_.length?this.clone().iand(_):_.clone().iand(this)},o.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},o.prototype.iuxor=function(_){var k,O;this.length>_.length?(k=this,O=_):(k=_,O=this);for(var B=0;B<O.length;B++)this.words[B]=k.words[B]^O.words[B];if(this!==k)for(;B<k.length;B++)this.words[B]=k.words[B];return this.length=k.length,this._strip()},o.prototype.ixor=function(_){return r((this.negative|_.negative)===0),this.iuxor(_)},o.prototype.xor=function(_){return this.length>_.length?this.clone().ixor(_):_.clone().ixor(this)},o.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},o.prototype.inotn=function(_){r(typeof _==\"number\"&&_>=0);var k=Math.ceil(_/26)|0,O=_%26;this._expand(k),O>0&&k--;for(var B=0;B<k;B++)this.words[B]=~this.words[B]&67108863;for(O>0&&(this.words[B]=~this.words[B]&67108863>>26-O,B++);B<this.length;B++)this.words[B]=0;return this._strip()},o.prototype.notn=function(_){return this.clone().inotn(_)},o.prototype.setn=function(_,k){r(typeof _==\"number\"&&_>=0);var O=_/26|0,B=_%26;return this._expand(O+1),k?this.words[O]=this.words[O]|1<<B:this.words[O]=this.words[O]&~(1<<B),this._strip()},o.prototype.iadd=function(_){var k;if(this.negative!==0&&_.negative===0)return this.negative=0,k=this.isub(_),this.negative^=1,this._normSign();if(this.negative===0&&_.negative!==0)return _.negative=0,k=this.isub(_),_.negative=1,k._normSign();var O,B;this.length>_.length?(O=this,B=_):(O=_,B=this);for(var L=0,q=0;q<B.length;q++)k=(O.words[q]|0)+(B.words[q]|0)+L,this.words[q]=k&67108863,L=k>>>26;for(;L!==0&&q<O.length;q++)k=(O.words[q]|0)+L,this.words[q]=k&67108863,L=k>>>26;if(this.length=O.length,L!==0)this.words[this.length]=L,this.length++;else if(O!==this)for(;q<O.length;q++)this.words[q]=O.words[q];return this},o.prototype.add=function(_){var k;return _.negative!==0&&this.negative===0?(_.negative=0,k=this.sub(_),_.negative^=1,k):_.negative===0&&this.negative!==0?(this.negative=0,k=_.sub(this),this.negative=1,k):this.length>_.length?this.clone().iadd(_):_.clone().iadd(this)},o.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var k=this.iadd(_);return _.negative=1,k._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var O=this.cmp(_);if(O===0)return this.negative=0,this.length=1,this.words[0]=0,this;var B,L;O>0?(B=this,L=_):(B=_,L=this);for(var q=0,W=0;W<L.length;W++)k=(B.words[W]|0)-(L.words[W]|0)+q,q=k>>26,this.words[W]=k&67108863;for(;q!==0&&W<B.length;W++)k=(B.words[W]|0)+q,q=k>>26,this.words[W]=k&67108863;if(q===0&&W<B.length&&B!==this)for(;W<B.length;W++)this.words[W]=B.words[W];return this.length=Math.max(this.length,W),B!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(_){return this.clone().isub(_)};function R(N,_,k){k.negative=_.negative^N.negative;var O=N.length+_.length|0;k.length=O,O=O-1|0;var B=N.words[0]|0,L=_.words[0]|0,q=B*L,W=q&67108863,U=q/67108864|0;k.words[0]=W;for(var P=1;P<O;P++){for(var Z=U>>>26,ye=U&67108863,xe=Math.min(P,_.length-1),Te=Math.max(0,P-N.length+1);Te<=xe;Te++){var Ie=P-Te|0;B=N.words[Ie]|0,L=_.words[Te]|0,q=B*L+ye,Z+=q/67108864|0,ye=q&67108863}k.words[P]=ye|0,U=Z|0}return U!==0?k.words[P]=U|0:k.length--,k._strip()}var M=function(_,k,O){var B=_.words,L=k.words,q=O.words,W=0,U,P,Z,ye=B[0]|0,xe=ye&8191,Te=ye>>>13,Ie=B[1]|0,Ke=Ie&8191,Ve=Ie>>>13,Nt=B[2]|0,Pe=Nt&8191,Ot=Nt>>>13,Fn=B[3]|0,rr=Fn&8191,yt=Fn>>>13,nr=B[4]|0,tn=nr&8191,Xe=nr>>>13,gc=B[5]|0,pt=gc&8191,ln=gc>>>13,Hi=B[6]|0,Mr=Hi&8191,Dr=Hi>>>13,df=B[7]|0,$r=df&8191,zr=df>>>13,sa=B[8]|0,rn=sa&8191,Ir=sa>>>13,Wa=B[9]|0,Pr=Wa&8191,Rr=Wa>>>13,xc=L[0]|0,wr=xc&8191,j=xc>>>13,de=L[1]|0,ke=de&8191,Re=de>>>13,Je=L[2]|0,Ze=Je&8191,We=Je>>>13,jt=L[3]|0,Le=jt&8191,Ft=jt>>>13,Co=L[4]|0,Er=Co&8191,Lr=Co>>>13,ff=L[5]|0,nn=ff&8191,on=ff>>>13,ji=L[6]|0,lr=ji&8191,wn=ji>>>13,Xp=L[7]|0,dn=Xp&8191,En=Xp>>>13,_u=L[8]|0,dr=_u&8191,_n=_u>>>13,gl=L[9]|0,Sn=gl&8191,fn=gl>>>13;O.negative=_.negative^k.negative,O.length=19,U=Math.imul(xe,wr),P=Math.imul(xe,j),P=P+Math.imul(Te,wr)|0,Z=Math.imul(Te,j);var xl=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(xl>>>26)|0,xl&=67108863,U=Math.imul(Ke,wr),P=Math.imul(Ke,j),P=P+Math.imul(Ve,wr)|0,Z=Math.imul(Ve,j),U=U+Math.imul(xe,ke)|0,P=P+Math.imul(xe,Re)|0,P=P+Math.imul(Te,ke)|0,Z=Z+Math.imul(Te,Re)|0;var vl=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(vl>>>26)|0,vl&=67108863,U=Math.imul(Pe,wr),P=Math.imul(Pe,j),P=P+Math.imul(Ot,wr)|0,Z=Math.imul(Ot,j),U=U+Math.imul(Ke,ke)|0,P=P+Math.imul(Ke,Re)|0,P=P+Math.imul(Ve,ke)|0,Z=Z+Math.imul(Ve,Re)|0,U=U+Math.imul(xe,Ze)|0,P=P+Math.imul(xe,We)|0,P=P+Math.imul(Te,Ze)|0,Z=Z+Math.imul(Te,We)|0;var Ja=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(Ja>>>26)|0,Ja&=67108863,U=Math.imul(rr,wr),P=Math.imul(rr,j),P=P+Math.imul(yt,wr)|0,Z=Math.imul(yt,j),U=U+Math.imul(Pe,ke)|0,P=P+Math.imul(Pe,Re)|0,P=P+Math.imul(Ot,ke)|0,Z=Z+Math.imul(Ot,Re)|0,U=U+Math.imul(Ke,Ze)|0,P=P+Math.imul(Ke,We)|0,P=P+Math.imul(Ve,Ze)|0,Z=Z+Math.imul(Ve,We)|0,U=U+Math.imul(xe,Le)|0,P=P+Math.imul(xe,Ft)|0,P=P+Math.imul(Te,Le)|0,Z=Z+Math.imul(Te,Ft)|0;var wl=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(wl>>>26)|0,wl&=67108863,U=Math.imul(tn,wr),P=Math.imul(tn,j),P=P+Math.imul(Xe,wr)|0,Z=Math.imul(Xe,j),U=U+Math.imul(rr,ke)|0,P=P+Math.imul(rr,Re)|0,P=P+Math.imul(yt,ke)|0,Z=Z+Math.imul(yt,Re)|0,U=U+Math.imul(Pe,Ze)|0,P=P+Math.imul(Pe,We)|0,P=P+Math.imul(Ot,Ze)|0,Z=Z+Math.imul(Ot,We)|0,U=U+Math.imul(Ke,Le)|0,P=P+Math.imul(Ke,Ft)|0,P=P+Math.imul(Ve,Le)|0,Z=Z+Math.imul(Ve,Ft)|0,U=U+Math.imul(xe,Er)|0,P=P+Math.imul(xe,Lr)|0,P=P+Math.imul(Te,Er)|0,Z=Z+Math.imul(Te,Lr)|0;var El=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(El>>>26)|0,El&=67108863,U=Math.imul(pt,wr),P=Math.imul(pt,j),P=P+Math.imul(ln,wr)|0,Z=Math.imul(ln,j),U=U+Math.imul(tn,ke)|0,P=P+Math.imul(tn,Re)|0,P=P+Math.imul(Xe,ke)|0,Z=Z+Math.imul(Xe,Re)|0,U=U+Math.imul(rr,Ze)|0,P=P+Math.imul(rr,We)|0,P=P+Math.imul(yt,Ze)|0,Z=Z+Math.imul(yt,We)|0,U=U+Math.imul(Pe,Le)|0,P=P+Math.imul(Pe,Ft)|0,P=P+Math.imul(Ot,Le)|0,Z=Z+Math.imul(Ot,Ft)|0,U=U+Math.imul(Ke,Er)|0,P=P+Math.imul(Ke,Lr)|0,P=P+Math.imul(Ve,Er)|0,Z=Z+Math.imul(Ve,Lr)|0,U=U+Math.imul(xe,nn)|0,P=P+Math.imul(xe,on)|0,P=P+Math.imul(Te,nn)|0,Z=Z+Math.imul(Te,on)|0;var _l=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(_l>>>26)|0,_l&=67108863,U=Math.imul(Mr,wr),P=Math.imul(Mr,j),P=P+Math.imul(Dr,wr)|0,Z=Math.imul(Dr,j),U=U+Math.imul(pt,ke)|0,P=P+Math.imul(pt,Re)|0,P=P+Math.imul(ln,ke)|0,Z=Z+Math.imul(ln,Re)|0,U=U+Math.imul(tn,Ze)|0,P=P+Math.imul(tn,We)|0,P=P+Math.imul(Xe,Ze)|0,Z=Z+Math.imul(Xe,We)|0,U=U+Math.imul(rr,Le)|0,P=P+Math.imul(rr,Ft)|0,P=P+Math.imul(yt,Le)|0,Z=Z+Math.imul(yt,Ft)|0,U=U+Math.imul(Pe,Er)|0,P=P+Math.imul(Pe,Lr)|0,P=P+Math.imul(Ot,Er)|0,Z=Z+Math.imul(Ot,Lr)|0,U=U+Math.imul(Ke,nn)|0,P=P+Math.imul(Ke,on)|0,P=P+Math.imul(Ve,nn)|0,Z=Z+Math.imul(Ve,on)|0,U=U+Math.imul(xe,lr)|0,P=P+Math.imul(xe,wn)|0,P=P+Math.imul(Te,lr)|0,Z=Z+Math.imul(Te,wn)|0;var Sl=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(Sl>>>26)|0,Sl&=67108863,U=Math.imul($r,wr),P=Math.imul($r,j),P=P+Math.imul(zr,wr)|0,Z=Math.imul(zr,j),U=U+Math.imul(Mr,ke)|0,P=P+Math.imul(Mr,Re)|0,P=P+Math.imul(Dr,ke)|0,Z=Z+Math.imul(Dr,Re)|0,U=U+Math.imul(pt,Ze)|0,P=P+Math.imul(pt,We)|0,P=P+Math.imul(ln,Ze)|0,Z=Z+Math.imul(ln,We)|0,U=U+Math.imul(tn,Le)|0,P=P+Math.imul(tn,Ft)|0,P=P+Math.imul(Xe,Le)|0,Z=Z+Math.imul(Xe,Ft)|0,U=U+Math.imul(rr,Er)|0,P=P+Math.imul(rr,Lr)|0,P=P+Math.imul(yt,Er)|0,Z=Z+Math.imul(yt,Lr)|0,U=U+Math.imul(Pe,nn)|0,P=P+Math.imul(Pe,on)|0,P=P+Math.imul(Ot,nn)|0,Z=Z+Math.imul(Ot,on)|0,U=U+Math.imul(Ke,lr)|0,P=P+Math.imul(Ke,wn)|0,P=P+Math.imul(Ve,lr)|0,Z=Z+Math.imul(Ve,wn)|0,U=U+Math.imul(xe,dn)|0,P=P+Math.imul(xe,En)|0,P=P+Math.imul(Te,dn)|0,Z=Z+Math.imul(Te,En)|0;var Al=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(Al>>>26)|0,Al&=67108863,U=Math.imul(rn,wr),P=Math.imul(rn,j),P=P+Math.imul(Ir,wr)|0,Z=Math.imul(Ir,j),U=U+Math.imul($r,ke)|0,P=P+Math.imul($r,Re)|0,P=P+Math.imul(zr,ke)|0,Z=Z+Math.imul(zr,Re)|0,U=U+Math.imul(Mr,Ze)|0,P=P+Math.imul(Mr,We)|0,P=P+Math.imul(Dr,Ze)|0,Z=Z+Math.imul(Dr,We)|0,U=U+Math.imul(pt,Le)|0,P=P+Math.imul(pt,Ft)|0,P=P+Math.imul(ln,Le)|0,Z=Z+Math.imul(ln,Ft)|0,U=U+Math.imul(tn,Er)|0,P=P+Math.imul(tn,Lr)|0,P=P+Math.imul(Xe,Er)|0,Z=Z+Math.imul(Xe,Lr)|0,U=U+Math.imul(rr,nn)|0,P=P+Math.imul(rr,on)|0,P=P+Math.imul(yt,nn)|0,Z=Z+Math.imul(yt,on)|0,U=U+Math.imul(Pe,lr)|0,P=P+Math.imul(Pe,wn)|0,P=P+Math.imul(Ot,lr)|0,Z=Z+Math.imul(Ot,wn)|0,U=U+Math.imul(Ke,dn)|0,P=P+Math.imul(Ke,En)|0,P=P+Math.imul(Ve,dn)|0,Z=Z+Math.imul(Ve,En)|0,U=U+Math.imul(xe,dr)|0,P=P+Math.imul(xe,_n)|0,P=P+Math.imul(Te,dr)|0,Z=Z+Math.imul(Te,_n)|0;var xo=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(xo>>>26)|0,xo&=67108863,U=Math.imul(Pr,wr),P=Math.imul(Pr,j),P=P+Math.imul(Rr,wr)|0,Z=Math.imul(Rr,j),U=U+Math.imul(rn,ke)|0,P=P+Math.imul(rn,Re)|0,P=P+Math.imul(Ir,ke)|0,Z=Z+Math.imul(Ir,Re)|0,U=U+Math.imul($r,Ze)|0,P=P+Math.imul($r,We)|0,P=P+Math.imul(zr,Ze)|0,Z=Z+Math.imul(zr,We)|0,U=U+Math.imul(Mr,Le)|0,P=P+Math.imul(Mr,Ft)|0,P=P+Math.imul(Dr,Le)|0,Z=Z+Math.imul(Dr,Ft)|0,U=U+Math.imul(pt,Er)|0,P=P+Math.imul(pt,Lr)|0,P=P+Math.imul(ln,Er)|0,Z=Z+Math.imul(ln,Lr)|0,U=U+Math.imul(tn,nn)|0,P=P+Math.imul(tn,on)|0,P=P+Math.imul(Xe,nn)|0,Z=Z+Math.imul(Xe,on)|0,U=U+Math.imul(rr,lr)|0,P=P+Math.imul(rr,wn)|0,P=P+Math.imul(yt,lr)|0,Z=Z+Math.imul(yt,wn)|0,U=U+Math.imul(Pe,dn)|0,P=P+Math.imul(Pe,En)|0,P=P+Math.imul(Ot,dn)|0,Z=Z+Math.imul(Ot,En)|0,U=U+Math.imul(Ke,dr)|0,P=P+Math.imul(Ke,_n)|0,P=P+Math.imul(Ve,dr)|0,Z=Z+Math.imul(Ve,_n)|0,U=U+Math.imul(xe,Sn)|0,P=P+Math.imul(xe,fn)|0,P=P+Math.imul(Te,Sn)|0,Z=Z+Math.imul(Te,fn)|0;var Qa=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(Qa>>>26)|0,Qa&=67108863,U=Math.imul(Pr,ke),P=Math.imul(Pr,Re),P=P+Math.imul(Rr,ke)|0,Z=Math.imul(Rr,Re),U=U+Math.imul(rn,Ze)|0,P=P+Math.imul(rn,We)|0,P=P+Math.imul(Ir,Ze)|0,Z=Z+Math.imul(Ir,We)|0,U=U+Math.imul($r,Le)|0,P=P+Math.imul($r,Ft)|0,P=P+Math.imul(zr,Le)|0,Z=Z+Math.imul(zr,Ft)|0,U=U+Math.imul(Mr,Er)|0,P=P+Math.imul(Mr,Lr)|0,P=P+Math.imul(Dr,Er)|0,Z=Z+Math.imul(Dr,Lr)|0,U=U+Math.imul(pt,nn)|0,P=P+Math.imul(pt,on)|0,P=P+Math.imul(ln,nn)|0,Z=Z+Math.imul(ln,on)|0,U=U+Math.imul(tn,lr)|0,P=P+Math.imul(tn,wn)|0,P=P+Math.imul(Xe,lr)|0,Z=Z+Math.imul(Xe,wn)|0,U=U+Math.imul(rr,dn)|0,P=P+Math.imul(rr,En)|0,P=P+Math.imul(yt,dn)|0,Z=Z+Math.imul(yt,En)|0,U=U+Math.imul(Pe,dr)|0,P=P+Math.imul(Pe,_n)|0,P=P+Math.imul(Ot,dr)|0,Z=Z+Math.imul(Ot,_n)|0,U=U+Math.imul(Ke,Sn)|0,P=P+Math.imul(Ke,fn)|0,P=P+Math.imul(Ve,Sn)|0,Z=Z+Math.imul(Ve,fn)|0;var ca=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(ca>>>26)|0,ca&=67108863,U=Math.imul(Pr,Ze),P=Math.imul(Pr,We),P=P+Math.imul(Rr,Ze)|0,Z=Math.imul(Rr,We),U=U+Math.imul(rn,Le)|0,P=P+Math.imul(rn,Ft)|0,P=P+Math.imul(Ir,Le)|0,Z=Z+Math.imul(Ir,Ft)|0,U=U+Math.imul($r,Er)|0,P=P+Math.imul($r,Lr)|0,P=P+Math.imul(zr,Er)|0,Z=Z+Math.imul(zr,Lr)|0,U=U+Math.imul(Mr,nn)|0,P=P+Math.imul(Mr,on)|0,P=P+Math.imul(Dr,nn)|0,Z=Z+Math.imul(Dr,on)|0,U=U+Math.imul(pt,lr)|0,P=P+Math.imul(pt,wn)|0,P=P+Math.imul(ln,lr)|0,Z=Z+Math.imul(ln,wn)|0,U=U+Math.imul(tn,dn)|0,P=P+Math.imul(tn,En)|0,P=P+Math.imul(Xe,dn)|0,Z=Z+Math.imul(Xe,En)|0,U=U+Math.imul(rr,dr)|0,P=P+Math.imul(rr,_n)|0,P=P+Math.imul(yt,dr)|0,Z=Z+Math.imul(yt,_n)|0,U=U+Math.imul(Pe,Sn)|0,P=P+Math.imul(Pe,fn)|0,P=P+Math.imul(Ot,Sn)|0,Z=Z+Math.imul(Ot,fn)|0;var kl=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(kl>>>26)|0,kl&=67108863,U=Math.imul(Pr,Le),P=Math.imul(Pr,Ft),P=P+Math.imul(Rr,Le)|0,Z=Math.imul(Rr,Ft),U=U+Math.imul(rn,Er)|0,P=P+Math.imul(rn,Lr)|0,P=P+Math.imul(Ir,Er)|0,Z=Z+Math.imul(Ir,Lr)|0,U=U+Math.imul($r,nn)|0,P=P+Math.imul($r,on)|0,P=P+Math.imul(zr,nn)|0,Z=Z+Math.imul(zr,on)|0,U=U+Math.imul(Mr,lr)|0,P=P+Math.imul(Mr,wn)|0,P=P+Math.imul(Dr,lr)|0,Z=Z+Math.imul(Dr,wn)|0,U=U+Math.imul(pt,dn)|0,P=P+Math.imul(pt,En)|0,P=P+Math.imul(ln,dn)|0,Z=Z+Math.imul(ln,En)|0,U=U+Math.imul(tn,dr)|0,P=P+Math.imul(tn,_n)|0,P=P+Math.imul(Xe,dr)|0,Z=Z+Math.imul(Xe,_n)|0,U=U+Math.imul(rr,Sn)|0,P=P+Math.imul(rr,fn)|0,P=P+Math.imul(yt,Sn)|0,Z=Z+Math.imul(yt,fn)|0;var Ns=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(Ns>>>26)|0,Ns&=67108863,U=Math.imul(Pr,Er),P=Math.imul(Pr,Lr),P=P+Math.imul(Rr,Er)|0,Z=Math.imul(Rr,Lr),U=U+Math.imul(rn,nn)|0,P=P+Math.imul(rn,on)|0,P=P+Math.imul(Ir,nn)|0,Z=Z+Math.imul(Ir,on)|0,U=U+Math.imul($r,lr)|0,P=P+Math.imul($r,wn)|0,P=P+Math.imul(zr,lr)|0,Z=Z+Math.imul(zr,wn)|0,U=U+Math.imul(Mr,dn)|0,P=P+Math.imul(Mr,En)|0,P=P+Math.imul(Dr,dn)|0,Z=Z+Math.imul(Dr,En)|0,U=U+Math.imul(pt,dr)|0,P=P+Math.imul(pt,_n)|0,P=P+Math.imul(ln,dr)|0,Z=Z+Math.imul(ln,_n)|0,U=U+Math.imul(tn,Sn)|0,P=P+Math.imul(tn,fn)|0,P=P+Math.imul(Xe,Sn)|0,Z=Z+Math.imul(Xe,fn)|0;var vc=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(vc>>>26)|0,vc&=67108863,U=Math.imul(Pr,nn),P=Math.imul(Pr,on),P=P+Math.imul(Rr,nn)|0,Z=Math.imul(Rr,on),U=U+Math.imul(rn,lr)|0,P=P+Math.imul(rn,wn)|0,P=P+Math.imul(Ir,lr)|0,Z=Z+Math.imul(Ir,wn)|0,U=U+Math.imul($r,dn)|0,P=P+Math.imul($r,En)|0,P=P+Math.imul(zr,dn)|0,Z=Z+Math.imul(zr,En)|0,U=U+Math.imul(Mr,dr)|0,P=P+Math.imul(Mr,_n)|0,P=P+Math.imul(Dr,dr)|0,Z=Z+Math.imul(Dr,_n)|0,U=U+Math.imul(pt,Sn)|0,P=P+Math.imul(pt,fn)|0,P=P+Math.imul(ln,Sn)|0,Z=Z+Math.imul(ln,fn)|0;var F0=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(F0>>>26)|0,F0&=67108863,U=Math.imul(Pr,lr),P=Math.imul(Pr,wn),P=P+Math.imul(Rr,lr)|0,Z=Math.imul(Rr,wn),U=U+Math.imul(rn,dn)|0,P=P+Math.imul(rn,En)|0,P=P+Math.imul(Ir,dn)|0,Z=Z+Math.imul(Ir,En)|0,U=U+Math.imul($r,dr)|0,P=P+Math.imul($r,_n)|0,P=P+Math.imul(zr,dr)|0,Z=Z+Math.imul(zr,_n)|0,U=U+Math.imul(Mr,Sn)|0,P=P+Math.imul(Mr,fn)|0,P=P+Math.imul(Dr,Sn)|0,Z=Z+Math.imul(Dr,fn)|0;var pf=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(pf>>>26)|0,pf&=67108863,U=Math.imul(Pr,dn),P=Math.imul(Pr,En),P=P+Math.imul(Rr,dn)|0,Z=Math.imul(Rr,En),U=U+Math.imul(rn,dr)|0,P=P+Math.imul(rn,_n)|0,P=P+Math.imul(Ir,dr)|0,Z=Z+Math.imul(Ir,_n)|0,U=U+Math.imul($r,Sn)|0,P=P+Math.imul($r,fn)|0,P=P+Math.imul(zr,Sn)|0,Z=Z+Math.imul(zr,fn)|0;var Cl=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(Cl>>>26)|0,Cl&=67108863,U=Math.imul(Pr,dr),P=Math.imul(Pr,_n),P=P+Math.imul(Rr,dr)|0,Z=Math.imul(Rr,_n),U=U+Math.imul(rn,Sn)|0,P=P+Math.imul(rn,fn)|0,P=P+Math.imul(Ir,Sn)|0,Z=Z+Math.imul(Ir,fn)|0;var V0=(W+U|0)+((P&8191)<<13)|0;W=(Z+(P>>>13)|0)+(V0>>>26)|0,V0&=67108863,U=Math.imul(Pr,Sn),P=Math.imul(Pr,fn),P=P+Math.imul(Rr,Sn)|0,Z=Math.imul(Rr,fn);var IE=(W+U|0)+((P&8191)<<13)|0;return W=(Z+(P>>>13)|0)+(IE>>>26)|0,IE&=67108863,q[0]=xl,q[1]=vl,q[2]=Ja,q[3]=wl,q[4]=El,q[5]=_l,q[6]=Sl,q[7]=Al,q[8]=xo,q[9]=Qa,q[10]=ca,q[11]=kl,q[12]=Ns,q[13]=vc,q[14]=F0,q[15]=pf,q[16]=Cl,q[17]=V0,q[18]=IE,W!==0&&(q[19]=W,O.length++),O};Math.imul||(M=R);function D(N,_,k){k.negative=_.negative^N.negative,k.length=N.length+_.length;for(var O=0,B=0,L=0;L<k.length-1;L++){var q=B;B=0;for(var W=O&67108863,U=Math.min(L,_.length-1),P=Math.max(0,L-N.length+1);P<=U;P++){var Z=L-P,ye=N.words[Z]|0,xe=_.words[P]|0,Te=ye*xe,Ie=Te&67108863;q=q+(Te/67108864|0)|0,Ie=Ie+W|0,W=Ie&67108863,q=q+(Ie>>>26)|0,B+=q>>>26,q&=67108863}k.words[L]=W,O=q,q=B}return O!==0?k.words[L]=O:k.length--,k._strip()}function $(N,_,k){return D(N,_,k)}o.prototype.mulTo=function(_,k){var O,B=this.length+_.length;return this.length===10&&_.length===10?O=M(this,_,k):B<63?O=R(this,_,k):B<1024?O=D(this,_,k):O=$(this,_,k),O};function H(N,_){this.x=N,this.y=_}H.prototype.makeRBT=function(_){for(var k=new Array(_),O=o.prototype._countBits(_)-1,B=0;B<_;B++)k[B]=this.revBin(B,O,_);return k},H.prototype.revBin=function(_,k,O){if(_===0||_===O-1)return _;for(var B=0,L=0;L<k;L++)B|=(_&1)<<k-L-1,_>>=1;return B},H.prototype.permute=function(_,k,O,B,L,q){for(var W=0;W<q;W++)B[W]=k[_[W]],L[W]=O[_[W]]},H.prototype.transform=function(_,k,O,B,L,q){this.permute(q,_,k,O,B,L);for(var W=1;W<L;W<<=1)for(var U=W<<1,P=Math.cos(2*Math.PI/U),Z=Math.sin(2*Math.PI/U),ye=0;ye<L;ye+=U)for(var xe=P,Te=Z,Ie=0;Ie<W;Ie++){var Ke=O[ye+Ie],Ve=B[ye+Ie],Nt=O[ye+Ie+W],Pe=B[ye+Ie+W],Ot=xe*Nt-Te*Pe;Pe=xe*Pe+Te*Nt,Nt=Ot,O[ye+Ie]=Ke+Nt,B[ye+Ie]=Ve+Pe,O[ye+Ie+W]=Ke-Nt,B[ye+Ie+W]=Ve-Pe,Ie!==U&&(Ot=P*xe-Z*Te,Te=P*Te+Z*xe,xe=Ot)}},H.prototype.guessLen13b=function(_,k){var O=Math.max(k,_)|1,B=O&1,L=0;for(O=O/2|0;O;O=O>>>1)L++;return 1<<L+1+B},H.prototype.conjugate=function(_,k,O){if(!(O<=1))for(var B=0;B<O/2;B++){var L=_[B];_[B]=_[O-B-1],_[O-B-1]=L,L=k[B],k[B]=-k[O-B-1],k[O-B-1]=-L}},H.prototype.normalize13b=function(_,k){for(var O=0,B=0;B<k/2;B++){var L=Math.round(_[2*B+1]/k)*8192+Math.round(_[2*B]/k)+O;_[B]=L&67108863,L<67108864?O=0:O=L/67108864|0}return _},H.prototype.convert13b=function(_,k,O,B){for(var L=0,q=0;q<k;q++)L=L+(_[q]|0),O[2*q]=L&8191,L=L>>>13,O[2*q+1]=L&8191,L=L>>>13;for(q=2*k;q<B;++q)O[q]=0;r(L===0),r((L&-8192)===0)},H.prototype.stub=function(_){for(var k=new Array(_),O=0;O<_;O++)k[O]=0;return k},H.prototype.mulp=function(_,k,O){var B=2*this.guessLen13b(_.length,k.length),L=this.makeRBT(B),q=this.stub(B),W=new Array(B),U=new Array(B),P=new Array(B),Z=new Array(B),ye=new Array(B),xe=new Array(B),Te=O.words;Te.length=B,this.convert13b(_.words,_.length,W,B),this.convert13b(k.words,k.length,Z,B),this.transform(W,q,U,P,B,L),this.transform(Z,q,ye,xe,B,L);for(var Ie=0;Ie<B;Ie++){var Ke=U[Ie]*ye[Ie]-P[Ie]*xe[Ie];P[Ie]=U[Ie]*xe[Ie]+P[Ie]*ye[Ie],U[Ie]=Ke}return this.conjugate(U,P,B),this.transform(U,P,Te,q,B,L),this.conjugate(Te,q,B),this.normalize13b(Te,B),O.negative=_.negative^k.negative,O.length=_.length+k.length,O._strip()},o.prototype.mul=function(_){var k=new o(null);return k.words=new Array(this.length+_.length),this.mulTo(_,k)},o.prototype.mulf=function(_){var k=new o(null);return k.words=new Array(this.length+_.length),$(this,_,k)},o.prototype.imul=function(_){return this.clone().mulTo(_,this)},o.prototype.imuln=function(_){var k=_<0;k&&(_=-_),r(typeof _==\"number\"),r(_<67108864);for(var O=0,B=0;B<this.length;B++){var L=(this.words[B]|0)*_,q=(L&67108863)+(O&67108863);O>>=26,O+=L/67108864|0,O+=q>>>26,this.words[B]=q&67108863}return O!==0&&(this.words[B]=O,this.length++),_===0&&(this.length=1,this._normSign()),k?this.ineg():this},o.prototype.muln=function(_){return this.clone().imuln(_)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(_){var k=C(_);if(k.length===0)return new o(1);for(var O=this,B=0;B<k.length&&k[B]===0;B++,O=O.sqr());if(++B<k.length)for(var L=O.sqr();B<k.length;B++,L=L.sqr())k[B]!==0&&(O=O.mul(L));return O},o.prototype.iushln=function(_){r(typeof _==\"number\"&&_>=0);var k=_%26,O=(_-k)/26,B=67108863>>>26-k<<26-k,L;if(k!==0){var q=0;for(L=0;L<this.length;L++){var W=this.words[L]&B,U=(this.words[L]|0)-W<<k;this.words[L]=U|q,q=W>>>26-k}q&&(this.words[L]=q,this.length++)}if(O!==0){for(L=this.length-1;L>=0;L--)this.words[L+O]=this.words[L];for(L=0;L<O;L++)this.words[L]=0;this.length+=O}return this._strip()},o.prototype.ishln=function(_){return r(this.negative===0),this.iushln(_)},o.prototype.iushrn=function(_,k,O){r(typeof _==\"number\"&&_>=0);var B;k?B=(k-k%26)/26:B=0;var L=_%26,q=Math.min((_-L)/26,this.length),W=67108863^67108863>>>L<<L,U=O;if(B-=q,B=Math.max(0,B),U){for(var P=0;P<q;P++)U.words[P]=this.words[P];U.length=q}if(q!==0)if(this.length>q)for(this.length-=q,P=0;P<this.length;P++)this.words[P]=this.words[P+q];else this.words[0]=0,this.length=1;var Z=0;for(P=this.length-1;P>=0&&(Z!==0||P>=B);P--){var ye=this.words[P]|0;this.words[P]=Z<<26-L|ye>>>L,Z=ye&W}return U&&Z!==0&&(U.words[U.length++]=Z),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(_,k,O){return r(this.negative===0),this.iushrn(_,k,O)},o.prototype.shln=function(_){return this.clone().ishln(_)},o.prototype.ushln=function(_){return this.clone().iushln(_)},o.prototype.shrn=function(_){return this.clone().ishrn(_)},o.prototype.ushrn=function(_){return this.clone().iushrn(_)},o.prototype.testn=function(_){r(typeof _==\"number\"&&_>=0);var k=_%26,O=(_-k)/26,B=1<<k;if(this.length<=O)return!1;var L=this.words[O];return!!(L&B)},o.prototype.imaskn=function(_){r(typeof _==\"number\"&&_>=0);var k=_%26,O=(_-k)/26;if(r(this.negative===0,\"imaskn works only with positive numbers\"),this.length<=O)return this;if(k!==0&&O++,this.length=Math.min(O,this.length),k!==0){var B=67108863^67108863>>>k<<k;this.words[this.length-1]&=B}return this.length===0&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.maskn=function(_){return this.clone().imaskn(_)},o.prototype.iaddn=function(_){return r(typeof _==\"number\"),r(_<67108864),_<0?this.isubn(-_):this.negative!==0?this.length===1&&(this.words[0]|0)<=_?(this.words[0]=_-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(_),this.negative=1,this):this._iaddn(_)},o.prototype._iaddn=function(_){this.words[0]+=_;for(var k=0;k<this.length&&this.words[k]>=67108864;k++)this.words[k]-=67108864,k===this.length-1?this.words[k+1]=1:this.words[k+1]++;return this.length=Math.max(this.length,k+1),this},o.prototype.isubn=function(_){if(r(typeof _==\"number\"),r(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var k=0;k<this.length&&this.words[k]<0;k++)this.words[k]+=67108864,this.words[k+1]-=1;return this._strip()},o.prototype.addn=function(_){return this.clone().iaddn(_)},o.prototype.subn=function(_){return this.clone().isubn(_)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(_,k,O){var B=_.length+O,L;this._expand(B);var q,W=0;for(L=0;L<_.length;L++){q=(this.words[L+O]|0)+W;var U=(_.words[L]|0)*k;q-=U&67108863,W=(q>>26)-(U/67108864|0),this.words[L+O]=q&67108863}for(;L<this.length-O;L++)q=(this.words[L+O]|0)+W,W=q>>26,this.words[L+O]=q&67108863;if(W===0)return this._strip();for(r(W===-1),W=0,L=0;L<this.length;L++)q=-(this.words[L]|0)+W,W=q>>26,this.words[L]=q&67108863;return this.negative=1,this._strip()},o.prototype._wordDiv=function(_,k){var O=this.length-_.length,B=this.clone(),L=_,q=L.words[L.length-1]|0,W=this._countBits(q);O=26-W,O!==0&&(L=L.ushln(O),B.iushln(O),q=L.words[L.length-1]|0);var U=B.length-L.length,P;if(k!==\"mod\"){P=new o(null),P.length=U+1,P.words=new Array(P.length);for(var Z=0;Z<P.length;Z++)P.words[Z]=0}var ye=B.clone()._ishlnsubmul(L,1,U);ye.negative===0&&(B=ye,P&&(P.words[U]=1));for(var xe=U-1;xe>=0;xe--){var Te=(B.words[L.length+xe]|0)*67108864+(B.words[L.length+xe-1]|0);for(Te=Math.min(Te/q|0,67108863),B._ishlnsubmul(L,Te,xe);B.negative!==0;)Te--,B.negative=0,B._ishlnsubmul(L,1,xe),B.isZero()||(B.negative^=1);P&&(P.words[xe]=Te)}return P&&P._strip(),B._strip(),k!==\"div\"&&O!==0&&B.iushrn(O),{div:P||null,mod:B}},o.prototype.divmod=function(_,k,O){if(r(!_.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var B,L,q;return this.negative!==0&&_.negative===0?(q=this.neg().divmod(_,k),k!==\"mod\"&&(B=q.div.neg()),k!==\"div\"&&(L=q.mod.neg(),O&&L.negative!==0&&L.iadd(_)),{div:B,mod:L}):this.negative===0&&_.negative!==0?(q=this.divmod(_.neg(),k),k!==\"mod\"&&(B=q.div.neg()),{div:B,mod:q.mod}):(this.negative&_.negative)!==0?(q=this.neg().divmod(_.neg(),k),k!==\"div\"&&(L=q.mod.neg(),O&&L.negative!==0&&L.isub(_)),{div:q.div,mod:L}):_.length>this.length||this.cmp(_)<0?{div:new o(0),mod:this}:_.length===1?k===\"div\"?{div:this.divn(_.words[0]),mod:null}:k===\"mod\"?{div:null,mod:new o(this.modrn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new o(this.modrn(_.words[0]))}:this._wordDiv(_,k)},o.prototype.div=function(_){return this.divmod(_,\"div\",!1).div},o.prototype.mod=function(_){return this.divmod(_,\"mod\",!1).mod},o.prototype.umod=function(_){return this.divmod(_,\"mod\",!0).mod},o.prototype.divRound=function(_){var k=this.divmod(_);if(k.mod.isZero())return k.div;var O=k.mod.abs(),B=_.abs().iushrn(1),L=_.words[0]&1,q=O.cmp(B);if(q<0||L===1&&q===0)return k.div;var W=new o(1);return W.negative=this.negative^_.negative,k.div.iadd(W)},o.prototype.modrn=function(_){var k=_<0;k&&(_=-_),r(_<=67108863);for(var O=(1<<26)%_,B=0,L=this.length-1;L>=0;L--)B=(O*B+(this.words[L]|0))%_;return k?-B:B},o.prototype.modn=function(_){return this.modrn(_)},o.prototype.idivn=function(_){var k=_<0;k&&(_=-_),r(_<=67108863);for(var O=0,B=this.length-1;B>=0;B--){var L=(this.words[B]|0)+O*67108864;this.words[B]=L/_|0,O=L%_}return this._strip(),k?this.ineg():this},o.prototype.divn=function(_){return this.clone().idivn(_)},o.prototype.egcd=function(_){r(_.negative===0),r(!_.isZero());var k=this,O=_.clone();k.negative!==0?k=k.umod(_):k=k.clone();for(var B=new o(1),L=new o(0),q=new o(0),W=new o(1),U=0;k.isEven()&&O.isEven();)k.iushrn(1),O.iushrn(1),++U;for(var P=O.clone(),Z=k.clone();!k.isZero();){for(var ye=0,xe=1;(k.words[0]&xe)===0&&ye<26;++ye,xe<<=1);if(ye>0)for(k.iushrn(ye);ye-- >0;)(B.isOdd()||L.isOdd())&&(B.iadd(P),L.isub(Z)),B.iushrn(1),L.iushrn(1);for(var Te=0,Ie=1;(O.words[0]&Ie)===0&&Te<26;++Te,Ie<<=1);if(Te>0)for(O.iushrn(Te);Te-- >0;)(q.isOdd()||W.isOdd())&&(q.iadd(P),W.isub(Z)),q.iushrn(1),W.iushrn(1);k.cmp(O)>=0?(k.isub(O),B.isub(q),L.isub(W)):(O.isub(k),q.isub(B),W.isub(L))}return{a:q,b:W,gcd:O.iushln(U)}},o.prototype._invmp=function(_){r(_.negative===0),r(!_.isZero());var k=this,O=_.clone();k.negative!==0?k=k.umod(_):k=k.clone();for(var B=new o(1),L=new o(0),q=O.clone();k.cmpn(1)>0&&O.cmpn(1)>0;){for(var W=0,U=1;(k.words[0]&U)===0&&W<26;++W,U<<=1);if(W>0)for(k.iushrn(W);W-- >0;)B.isOdd()&&B.iadd(q),B.iushrn(1);for(var P=0,Z=1;(O.words[0]&Z)===0&&P<26;++P,Z<<=1);if(P>0)for(O.iushrn(P);P-- >0;)L.isOdd()&&L.iadd(q),L.iushrn(1);k.cmp(O)>=0?(k.isub(O),B.isub(L)):(O.isub(k),L.isub(B))}var ye;return k.cmpn(1)===0?ye=B:ye=L,ye.cmpn(0)<0&&ye.iadd(_),ye},o.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var k=this.clone(),O=_.clone();k.negative=0,O.negative=0;for(var B=0;k.isEven()&&O.isEven();B++)k.iushrn(1),O.iushrn(1);do{for(;k.isEven();)k.iushrn(1);for(;O.isEven();)O.iushrn(1);var L=k.cmp(O);if(L<0){var q=k;k=O,O=q}else if(L===0||O.cmpn(1)===0)break;k.isub(O)}while(!0);return O.iushln(B)},o.prototype.invm=function(_){return this.egcd(_).a.umod(_)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(_){return this.words[0]&_},o.prototype.bincn=function(_){r(typeof _==\"number\");var k=_%26,O=(_-k)/26,B=1<<k;if(this.length<=O)return this._expand(O+1),this.words[O]|=B,this;for(var L=B,q=O;L!==0&&q<this.length;q++){var W=this.words[q]|0;W+=L,L=W>>>26,W&=67108863,this.words[q]=W}return L!==0&&(this.words[q]=L,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(_){var k=_<0;if(this.negative!==0&&!k)return-1;if(this.negative===0&&k)return 1;this._strip();var O;if(this.length>1)O=1;else{k&&(_=-_),r(_<=67108863,\"Number is too big\");var B=this.words[0]|0;O=B===_?0:B<_?-1:1}return this.negative!==0?-O|0:O},o.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var k=this.ucmp(_);return this.negative!==0?-k|0:k},o.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var k=0,O=this.length-1;O>=0;O--){var B=this.words[O]|0,L=_.words[O]|0;if(B!==L){B<L?k=-1:B>L&&(k=1);break}}return k},o.prototype.gtn=function(_){return this.cmpn(_)===1},o.prototype.gt=function(_){return this.cmp(_)===1},o.prototype.gten=function(_){return this.cmpn(_)>=0},o.prototype.gte=function(_){return this.cmp(_)>=0},o.prototype.ltn=function(_){return this.cmpn(_)===-1},o.prototype.lt=function(_){return this.cmp(_)===-1},o.prototype.lten=function(_){return this.cmpn(_)<=0},o.prototype.lte=function(_){return this.cmp(_)<=0},o.prototype.eqn=function(_){return this.cmpn(_)===0},o.prototype.eq=function(_){return this.cmp(_)===0},o.red=function(_){return new fe(_)},o.prototype.toRed=function(_){return r(!this.red,\"Already a number in reduction context\"),r(this.negative===0,\"red works only with positives\"),_.convertTo(this)._forceRed(_)},o.prototype.fromRed=function(){return r(this.red,\"fromRed works only with numbers in reduction context\"),this.red.convertFrom(this)},o.prototype._forceRed=function(_){return this.red=_,this},o.prototype.forceRed=function(_){return r(!this.red,\"Already a number in reduction context\"),this._forceRed(_)},o.prototype.redAdd=function(_){return r(this.red,\"redAdd works only with red numbers\"),this.red.add(this,_)},o.prototype.redIAdd=function(_){return r(this.red,\"redIAdd works only with red numbers\"),this.red.iadd(this,_)},o.prototype.redSub=function(_){return r(this.red,\"redSub works only with red numbers\"),this.red.sub(this,_)},o.prototype.redISub=function(_){return r(this.red,\"redISub works only with red numbers\"),this.red.isub(this,_)},o.prototype.redShl=function(_){return r(this.red,\"redShl works only with red numbers\"),this.red.shl(this,_)},o.prototype.redMul=function(_){return r(this.red,\"redMul works only with red numbers\"),this.red._verify2(this,_),this.red.mul(this,_)},o.prototype.redIMul=function(_){return r(this.red,\"redMul works only with red numbers\"),this.red._verify2(this,_),this.red.imul(this,_)},o.prototype.redSqr=function(){return r(this.red,\"redSqr works only with red numbers\"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,\"redISqr works only with red numbers\"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,\"redSqrt works only with red numbers\"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,\"redInvm works only with red numbers\"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,\"redNeg works only with red numbers\"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(_){return r(this.red&&!_.red,\"redPow(normalNum)\"),this.red._verify1(this),this.red.pow(this,_)};var V={k256:null,p224:null,p192:null,p25519:null};function G(N,_){this.name=N,this.p=new o(_,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}G.prototype._tmp=function(){var _=new o(null);return _.words=new Array(Math.ceil(this.n/13)),_},G.prototype.ireduce=function(_){var k=_,O;do this.split(k,this.tmp),k=this.imulK(k),k=k.iadd(this.tmp),O=k.bitLength();while(O>this.n);var B=O<this.n?-1:k.ucmp(this.p);return B===0?(k.words[0]=0,k.length=1):B>0?k.isub(this.p):k.strip!==void 0?k.strip():k._strip(),k},G.prototype.split=function(_,k){_.iushrn(this.n,0,k)},G.prototype.imulK=function(_){return _.imul(this.k)};function K(){G.call(this,\"k256\",\"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f\")}n(K,G),K.prototype.split=function(_,k){for(var O=4194303,B=Math.min(_.length,9),L=0;L<B;L++)k.words[L]=_.words[L];if(k.length=B,_.length<=9){_.words[0]=0,_.length=1;return}var q=_.words[9];for(k.words[k.length++]=q&O,L=10;L<_.length;L++){var W=_.words[L]|0;_.words[L-10]=(W&O)<<4|q>>>22,q=W}q>>>=22,_.words[L-10]=q,q===0&&_.length>10?_.length-=10:_.length-=9},K.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var k=0,O=0;O<_.length;O++){var B=_.words[O]|0;k+=B*977,_.words[O]=k&67108863,k=B*64+(k/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_};function Q(){G.call(this,\"p224\",\"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001\")}n(Q,G);function X(){G.call(this,\"p192\",\"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff\")}n(X,G);function Y(){G.call(this,\"25519\",\"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed\")}n(Y,G),Y.prototype.imulK=function(_){for(var k=0,O=0;O<_.length;O++){var B=(_.words[O]|0)*19+k,L=B&67108863;B>>>=26,_.words[O]=L,k=B}return k!==0&&(_.words[_.length++]=k),_},o._prime=function(_){if(V[_])return V[_];var k;if(_===\"k256\")k=new K;else if(_===\"p224\")k=new Q;else if(_===\"p192\")k=new X;else if(_===\"p25519\")k=new Y;else throw new Error(\"Unknown prime \"+_);return V[_]=k,k};function fe(N){if(typeof N==\"string\"){var _=o._prime(N);this.m=_.p,this.prime=_}else r(N.gtn(1),\"modulus must be greater than 1\"),this.m=N,this.prime=null}fe.prototype._verify1=function(_){r(_.negative===0,\"red works only with positives\"),r(_.red,\"red works only with red numbers\")},fe.prototype._verify2=function(_,k){r((_.negative|k.negative)===0,\"red works only with positives\"),r(_.red&&_.red===k.red,\"red works only with red numbers\")},fe.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):(p(_,_.umod(this.m)._forceRed(this)),_)},fe.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},fe.prototype.add=function(_,k){this._verify2(_,k);var O=_.add(k);return O.cmp(this.m)>=0&&O.isub(this.m),O._forceRed(this)},fe.prototype.iadd=function(_,k){this._verify2(_,k);var O=_.iadd(k);return O.cmp(this.m)>=0&&O.isub(this.m),O},fe.prototype.sub=function(_,k){this._verify2(_,k);var O=_.sub(k);return O.cmpn(0)<0&&O.iadd(this.m),O._forceRed(this)},fe.prototype.isub=function(_,k){this._verify2(_,k);var O=_.isub(k);return O.cmpn(0)<0&&O.iadd(this.m),O},fe.prototype.shl=function(_,k){return this._verify1(_),this.imod(_.ushln(k))},fe.prototype.imul=function(_,k){return this._verify2(_,k),this.imod(_.imul(k))},fe.prototype.mul=function(_,k){return this._verify2(_,k),this.imod(_.mul(k))},fe.prototype.isqr=function(_){return this.imul(_,_.clone())},fe.prototype.sqr=function(_){return this.mul(_,_)},fe.prototype.sqrt=function(_){if(_.isZero())return _.clone();var k=this.m.andln(3);if(r(k%2===1),k===3){var O=this.m.add(new o(1)).iushrn(2);return this.pow(_,O)}for(var B=this.m.subn(1),L=0;!B.isZero()&&B.andln(1)===0;)L++,B.iushrn(1);r(!B.isZero());var q=new o(1).toRed(this),W=q.redNeg(),U=this.m.subn(1).iushrn(1),P=this.m.bitLength();for(P=new o(2*P*P).toRed(this);this.pow(P,U).cmp(W)!==0;)P.redIAdd(W);for(var Z=this.pow(P,B),ye=this.pow(_,B.addn(1).iushrn(1)),xe=this.pow(_,B),Te=L;xe.cmp(q)!==0;){for(var Ie=xe,Ke=0;Ie.cmp(q)!==0;Ke++)Ie=Ie.redSqr();r(Ke<Te);var Ve=this.pow(Z,new o(1).iushln(Te-Ke-1));ye=ye.redMul(Ve),Z=Ve.redSqr(),xe=xe.redMul(Z),Te=Ke}return ye},fe.prototype.invm=function(_){var k=_._invmp(this.m);return k.negative!==0?(k.negative=0,this.imod(k).redNeg()):this.imod(k)},fe.prototype.pow=function(_,k){if(k.isZero())return new o(1).toRed(this);if(k.cmpn(1)===0)return _.clone();var O=4,B=new Array(1<<O);B[0]=new o(1).toRed(this),B[1]=_;for(var L=2;L<B.length;L++)B[L]=this.mul(B[L-1],_);var q=B[0],W=0,U=0,P=k.bitLength()%26;for(P===0&&(P=26),L=k.length-1;L>=0;L--){for(var Z=k.words[L],ye=P-1;ye>=0;ye--){var xe=Z>>ye&1;if(q!==B[0]&&(q=this.sqr(q)),xe===0&&W===0){U=0;continue}W<<=1,W|=xe,U++,!(U!==O&&(L!==0||ye!==0))&&(q=this.mul(q,B[W]),U=0,W=0)}P=26}return q},fe.prototype.convertTo=function(_){var k=_.umod(this.m);return k===_?k.clone():k},fe.prototype.convertFrom=function(_){var k=_.clone();return k.red=null,k},o.mont=function(_){return new ce(_)};function ce(N){fe.call(this,N),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}n(ce,fe),ce.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},ce.prototype.convertFrom=function(_){var k=this.imod(_.mul(this.rinv));return k.red=null,k},ce.prototype.imul=function(_,k){if(_.isZero()||k.isZero())return _.words[0]=0,_.length=1,_;var O=_.imul(k),B=O.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=O.isub(B).iushrn(this.shift),q=L;return L.cmp(this.m)>=0?q=L.isub(this.m):L.cmpn(0)<0&&(q=L.iadd(this.m)),q._forceRed(this)},ce.prototype.mul=function(_,k){if(_.isZero()||k.isZero())return new o(0)._forceRed(this);var O=_.mul(k),B=O.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L=O.isub(B).iushrn(this.shift),q=L;return L.cmp(this.m)>=0?q=L.isub(this.m):L.cmpn(0)<0&&(q=L.iadd(this.m)),q._forceRed(this)},ce.prototype.invm=function(_){var k=this.imod(_._invmp(this.m).mul(this.r2));return k._forceRed(this)}})(typeof Kee>\"u\"||Kee,KJe)});var x3=J(A6=>{\"use strict\";u();Object.defineProperty(A6,\"__esModule\",{value:!0});A6.errorValues=A6.standardErrorCodes=void 0;A6.standardErrorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}};A6.errorValues={\"-32700\":{standard:\"JSON RPC 2.0\",message:\"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.\"},\"-32600\":{standard:\"JSON RPC 2.0\",message:\"The JSON sent is not a valid Request object.\"},\"-32601\":{standard:\"JSON RPC 2.0\",message:\"The method does not exist / is not available.\"},\"-32602\":{standard:\"JSON RPC 2.0\",message:\"Invalid method parameter(s).\"},\"-32603\":{standard:\"JSON RPC 2.0\",message:\"Internal JSON-RPC error.\"},\"-32000\":{standard:\"EIP-1474\",message:\"Invalid input.\"},\"-32001\":{standard:\"EIP-1474\",message:\"Resource not found.\"},\"-32002\":{standard:\"EIP-1474\",message:\"Resource unavailable.\"},\"-32003\":{standard:\"EIP-1474\",message:\"Transaction rejected.\"},\"-32004\":{standard:\"EIP-1474\",message:\"Method not supported.\"},\"-32005\":{standard:\"EIP-1474\",message:\"Request limit exceeded.\"},4001:{standard:\"EIP-1193\",message:\"User rejected the request.\"},4100:{standard:\"EIP-1193\",message:\"The requested account and/or method has not been authorized by the user.\"},4200:{standard:\"EIP-1193\",message:\"The requested method is not supported by this Ethereum provider.\"},4900:{standard:\"EIP-1193\",message:\"The provider is disconnected from all chains.\"},4901:{standard:\"EIP-1193\",message:\"The provider is disconnected from the specified chain.\"},4902:{standard:\"EIP-3085\",message:\"Unrecognized chain ID.\"}}});var ED=J(mc=>{\"use strict\";u();Object.defineProperty(mc,\"__esModule\",{value:!0});mc.serialize=mc.getErrorCode=mc.isValidCode=mc.getMessageFromCode=mc.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var wD=x3(),JJe=\"Unspecified error message.\";mc.JSON_RPC_SERVER_ERROR_MESSAGE=\"Unspecified server error.\";function QJe(e,t=JJe){if(e&&Number.isInteger(e)){let r=e.toString();if(Zee(wD.errorValues,r))return wD.errorValues[r].message;if(XJe(e))return mc.JSON_RPC_SERVER_ERROR_MESSAGE}return t}mc.getMessageFromCode=QJe;function YJe(e){if(!Number.isInteger(e))return!1;let t=e.toString();return!!(wD.errorValues[t]||XJe(e))}mc.isValidCode=YJe;function M5t(e){var t;if(typeof e==\"number\")return e;if(D5t(e))return(t=e.code)!==null&&t!==void 0?t:e.errorCode}mc.getErrorCode=M5t;function D5t(e){return typeof e==\"object\"&&e!==null&&(typeof e.code==\"number\"||typeof e.errorCode==\"number\")}function N5t(e,{shouldIncludeStack:t=!1}={}){let r={};if(e&&typeof e==\"object\"&&!Array.isArray(e)&&Zee(e,\"code\")&&YJe(e.code)){let n=e;r.code=n.code,n.message&&typeof n.message==\"string\"?(r.message=n.message,Zee(n,\"data\")&&(r.data=n.data)):(r.message=QJe(r.code),r.data={originalError:ZJe(e)})}else r.code=wD.standardErrorCodes.rpc.internal,r.message=WJe(e,\"message\")?e.message:JJe,r.data={originalError:ZJe(e)};return t&&(r.stack=WJe(e,\"stack\")?e.stack:void 0),r}mc.serialize=N5t;function XJe(e){return e>=-32099&&e<=-32e3}function ZJe(e){return e&&typeof e==\"object\"&&!Array.isArray(e)?Object.assign({},e):e}function Zee(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function WJe(e,t){return typeof e==\"object\"&&e!==null&&t in e&&typeof e[t]==\"string\"}});var rQe=J(AD=>{\"use strict\";u();Object.defineProperty(AD,\"__esModule\",{value:!0});AD.standardErrors=void 0;var Ui=x3(),eQe=ED();AD.standardErrors={rpc:{parse:e=>lu(Ui.standardErrorCodes.rpc.parse,e),invalidRequest:e=>lu(Ui.standardErrorCodes.rpc.invalidRequest,e),invalidParams:e=>lu(Ui.standardErrorCodes.rpc.invalidParams,e),methodNotFound:e=>lu(Ui.standardErrorCodes.rpc.methodNotFound,e),internal:e=>lu(Ui.standardErrorCodes.rpc.internal,e),server:e=>{if(!e||typeof e!=\"object\"||Array.isArray(e))throw new Error(\"Ethereum RPC Server errors must provide single object argument.\");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error(\\'\"code\" must be an integer such that: -32099 <= code <= -32005\\');return lu(t,e)},invalidInput:e=>lu(Ui.standardErrorCodes.rpc.invalidInput,e),resourceNotFound:e=>lu(Ui.standardErrorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>lu(Ui.standardErrorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>lu(Ui.standardErrorCodes.rpc.transactionRejected,e),methodNotSupported:e=>lu(Ui.standardErrorCodes.rpc.methodNotSupported,e),limitExceeded:e=>lu(Ui.standardErrorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>k6(Ui.standardErrorCodes.provider.userRejectedRequest,e),unauthorized:e=>k6(Ui.standardErrorCodes.provider.unauthorized,e),unsupportedMethod:e=>k6(Ui.standardErrorCodes.provider.unsupportedMethod,e),disconnected:e=>k6(Ui.standardErrorCodes.provider.disconnected,e),chainDisconnected:e=>k6(Ui.standardErrorCodes.provider.chainDisconnected,e),unsupportedChain:e=>k6(Ui.standardErrorCodes.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!=\"object\"||Array.isArray(e))throw new Error(\"Ethereum Provider custom errors must provide single object argument.\");let{code:t,message:r,data:n}=e;if(!r||typeof r!=\"string\")throw new Error(\\'\"message\" must be a nonempty string\\');return new SD(t,r,n)}}};function lu(e,t){let[r,n]=tQe(t);return new _D(e,r||(0,eQe.getMessageFromCode)(e),n)}function k6(e,t){let[r,n]=tQe(t);return new SD(e,r||(0,eQe.getMessageFromCode)(e),n)}function tQe(e){if(e){if(typeof e==\"string\")return[e];if(typeof e==\"object\"&&!Array.isArray(e)){let{message:t,data:r}=e;if(t&&typeof t!=\"string\")throw new Error(\"Must specify string message.\");return[t||void 0,r]}}return[]}var _D=class extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw new Error(\\'\"code\" must be an integer.\\');if(!r||typeof r!=\"string\")throw new Error(\\'\"message\" must be a nonempty string.\\');super(r),this.code=t,n!==void 0&&(this.data=n)}},SD=class extends _D{constructor(t,r,n){if(!U5t(t))throw new Error(\\'\"code\" must be an integer such that: 1000 <= code <= 4999\\');super(t,r,n)}};function U5t(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}});var CD=J(kD=>{\"use strict\";u();Object.defineProperty(kD,\"__esModule\",{value:!0});kD.isErrorResponse=void 0;function $5t(e){return e.errorMessage!==void 0}kD.isErrorResponse=$5t});var ID=J(TD=>{\"use strict\";u();Object.defineProperty(TD,\"__esModule\",{value:!0});TD.LIB_VERSION=void 0;TD.LIB_VERSION=\"3.9.3\"});var nQe=J(PD=>{\"use strict\";u();Object.defineProperty(PD,\"__esModule\",{value:!0});PD.serializeError=void 0;var z5t=CD(),L5t=ID(),H5t=x3(),j5t=ED();function F5t(e,t){let r=(0,j5t.serialize)(V5t(e),{shouldIncludeStack:!0}),n=new URL(\"https://docs.cloud.coinbase.com/wallet-sdk/docs/errors\");n.searchParams.set(\"version\",L5t.LIB_VERSION),n.searchParams.set(\"code\",r.code.toString());let o=q5t(r.data,t);return o&&n.searchParams.set(\"method\",o),n.searchParams.set(\"message\",r.message),Object.assign(Object.assign({},r),{docUrl:n.href})}PD.serializeError=F5t;function V5t(e){return typeof e==\"string\"?{message:e,code:H5t.standardErrorCodes.rpc.internal}:(0,z5t.isErrorResponse)(e)?Object.assign(Object.assign({},e),{message:e.errorMessage,code:e.errorCode,data:{method:e.method}}):e}function q5t(e,t){let r=e?.method;if(r)return r;if(t!==void 0){if(typeof t==\"string\")return t;if(Array.isArray(t)){if(t.length>0)return t[0].method}else return t.method}}});var v3=J(du=>{\"use strict\";u();Object.defineProperty(du,\"__esModule\",{value:!0});du.standardErrors=du.standardErrorCodes=du.serializeError=du.getMessageFromCode=du.getErrorCode=void 0;var G5t=x3();Object.defineProperty(du,\"standardErrorCodes\",{enumerable:!0,get:function(){return G5t.standardErrorCodes}});var K5t=rQe();Object.defineProperty(du,\"standardErrors\",{enumerable:!0,get:function(){return K5t.standardErrors}});var Z5t=nQe();Object.defineProperty(du,\"serializeError\",{enumerable:!0,get:function(){return Z5t.serializeError}});var oQe=ED();Object.defineProperty(du,\"getErrorCode\",{enumerable:!0,get:function(){return oQe.getErrorCode}});Object.defineProperty(du,\"getMessageFromCode\",{enumerable:!0,get:function(){return oQe.getMessageFromCode}})});var E3=J(na=>{\"use strict\";u();Object.defineProperty(na,\"__esModule\",{value:!0});na.ProviderType=na.RegExpString=na.IntNumber=na.BigIntString=na.AddressString=na.HexString=na.OpaqueType=void 0;function w3(){return e=>e}na.OpaqueType=w3;na.HexString=w3();na.AddressString=w3();na.BigIntString=w3();function W5t(e){return Math.floor(e)}na.IntNumber=W5t;na.RegExpString=w3();var iQe;(function(e){e.CoinbaseWallet=\"CoinbaseWallet\",e.MetaMask=\"MetaMask\",e.Unselected=\"\"})(iQe||(na.ProviderType=iQe={}))});var Kd=J(ut=>{\"use strict\";u();var J5t=ut&&ut.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ut,\"__esModule\",{value:!0});ut.isMobileWeb=ut.getLocation=ut.isInIFrame=ut.createQrUrl=ut.getFavicon=ut.range=ut.isBigNumber=ut.ensureParsedJSONObject=ut.ensureBN=ut.ensureRegExpString=ut.ensureIntNumber=ut.ensureBuffer=ut.ensureAddressString=ut.ensureEvenLengthHexString=ut.ensureHexString=ut.isHexString=ut.prepend0x=ut.strip0x=ut.has0xPrefix=ut.hexStringFromIntNumber=ut.intNumberFromHexString=ut.bigIntStringFromBN=ut.hexStringFromBuffer=ut.hexStringToUint8Array=ut.uint8ArrayToHex=ut.randomBytesHex=void 0;var k0=J5t(g3()),$g=v3(),fu=E3(),aQe=/^[0-9]*$/,sQe=/^[a-f0-9]*$/;function Q5t(e){return cQe(crypto.getRandomValues(new Uint8Array(e)))}ut.randomBytesHex=Q5t;function cQe(e){return[...e].map(t=>t.toString(16).padStart(2,\"0\")).join(\"\")}ut.uint8ArrayToHex=cQe;function Y5t(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>parseInt(t,16)))}ut.hexStringToUint8Array=Y5t;function X5t(e,t=!1){let r=e.toString(\"hex\");return(0,fu.HexString)(t?`0x${r}`:r)}ut.hexStringFromBuffer=X5t;function eAt(e){return(0,fu.BigIntString)(e.toString(10))}ut.bigIntStringFromBN=eAt;function tAt(e){return(0,fu.IntNumber)(new k0.default(S3(e,!1),16).toNumber())}ut.intNumberFromHexString=tAt;function rAt(e){return(0,fu.HexString)(`0x${new k0.default(e).toString(16)}`)}ut.hexStringFromIntNumber=rAt;function Wee(e){return e.startsWith(\"0x\")||e.startsWith(\"0X\")}ut.has0xPrefix=Wee;function RD(e){return Wee(e)?e.slice(2):e}ut.strip0x=RD;function uQe(e){return Wee(e)?`0x${e.slice(2)}`:`0x${e}`}ut.prepend0x=uQe;function _3(e){if(typeof e!=\"string\")return!1;let t=RD(e).toLowerCase();return sQe.test(t)}ut.isHexString=_3;function lQe(e,t=!1){if(typeof e==\"string\"){let r=RD(e).toLowerCase();if(sQe.test(r))return(0,fu.HexString)(t?`0x${r}`:r)}throw $g.standardErrors.rpc.invalidParams(`\"${String(e)}\" is not a hexadecimal string`)}ut.ensureHexString=lQe;function S3(e,t=!1){let r=lQe(e,!1);return r.length%2===1&&(r=(0,fu.HexString)(`0${r}`)),t?(0,fu.HexString)(`0x${r}`):r}ut.ensureEvenLengthHexString=S3;function nAt(e){if(typeof e==\"string\"){let t=RD(e).toLowerCase();if(_3(t)&&t.length===40)return(0,fu.AddressString)(uQe(t))}throw $g.standardErrors.rpc.invalidParams(`Invalid Ethereum address: ${String(e)}`)}ut.ensureAddressString=nAt;function oAt(e){if(globalThis.Buffer.isBuffer(e))return e;if(typeof e==\"string\"){if(_3(e)){let t=S3(e,!1);return globalThis.Buffer.from(t,\"hex\")}return globalThis.Buffer.from(e,\"utf8\")}throw $g.standardErrors.rpc.invalidParams(`Not binary data: ${String(e)}`)}ut.ensureBuffer=oAt;function dQe(e){if(typeof e==\"number\"&&Number.isInteger(e))return(0,fu.IntNumber)(e);if(typeof e==\"string\"){if(aQe.test(e))return(0,fu.IntNumber)(Number(e));if(_3(e))return(0,fu.IntNumber)(new k0.default(S3(e,!1),16).toNumber())}throw $g.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}ut.ensureIntNumber=dQe;function iAt(e){if(e instanceof RegExp)return(0,fu.RegExpString)(e.toString());throw $g.standardErrors.rpc.invalidParams(`Not a RegExp: ${String(e)}`)}ut.ensureRegExpString=iAt;function aAt(e){if(e!==null&&(k0.default.isBN(e)||fQe(e)))return new k0.default(e.toString(10),10);if(typeof e==\"number\")return new k0.default(dQe(e));if(typeof e==\"string\"){if(aQe.test(e))return new k0.default(e,10);if(_3(e))return new k0.default(S3(e,!1),16)}throw $g.standardErrors.rpc.invalidParams(`Not an integer: ${String(e)}`)}ut.ensureBN=aAt;function sAt(e){if(typeof e==\"string\")return JSON.parse(e);if(typeof e==\"object\")return e;throw $g.standardErrors.rpc.invalidParams(`Not a JSON string or an object: ${String(e)}`)}ut.ensureParsedJSONObject=sAt;function fQe(e){if(e==null||typeof e.constructor!=\"function\")return!1;let{constructor:t}=e;return typeof t.config==\"function\"&&typeof t.EUCLID==\"number\"}ut.isBigNumber=fQe;function cAt(e,t){return Array.from({length:t-e},(r,n)=>e+n)}ut.range=cAt;function uAt(){let e=document.querySelector(\\'link[sizes=\"192x192\"]\\')||document.querySelector(\\'link[sizes=\"180x180\"]\\')||document.querySelector(\\'link[rel=\"icon\"]\\')||document.querySelector(\\'link[rel=\"shortcut icon\"]\\'),{protocol:t,host:r}=document.location,n=e?e.getAttribute(\"href\"):null;return!n||n.startsWith(\"javascript:\")||n.startsWith(\"vbscript:\")?null:n.startsWith(\"http://\")||n.startsWith(\"https://\")||n.startsWith(\"data:\")?n:n.startsWith(\"//\")?t+n:`${t}//${r}${n}`}ut.getFavicon=uAt;function lAt(e,t,r,n,o,i){let c=n?\"parent-id\":\"id\",l=new URLSearchParams({[c]:e,secret:t,server:r,v:o,chainId:i.toString()}).toString();return`${r}/#/link?${l}`}ut.createQrUrl=lAt;function pQe(){try{return window.frameElement!==null}catch{return!1}}ut.isInIFrame=pQe;function dAt(){try{return pQe()&&window.top?window.top.location:window.location}catch{return window.location}}ut.getLocation=dAt;function fAt(){var e;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test((e=window?.navigator)===null||e===void 0?void 0:e.userAgent)}ut.isMobileWeb=fAt});var mQe=J(OD=>{\"use strict\";u();Object.defineProperty(OD,\"__esModule\",{value:!0});OD.ScopedLocalStorage=void 0;var Jee=class{constructor(t){this.scope=t}setItem(t,r){localStorage.setItem(this.scopedKey(t),r)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){let t=this.scopedKey(\"\"),r=[];for(let n=0;n<localStorage.length;n++){let o=localStorage.key(n);typeof o==\"string\"&&o.startsWith(t)&&r.push(o)}r.forEach(n=>localStorage.removeItem(n))}scopedKey(t){return`${this.scope}:${t}`}};OD.ScopedLocalStorage=Jee});var yQe=J((LIn,Qee)=>{\"use strict\";u();var pAt=Object.prototype.hasOwnProperty,Va=\"~\";function A3(){}Object.create&&(A3.prototype=Object.create(null),new A3().__proto__||(Va=!1));function mAt(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function hQe(e,t,r,n,o){if(typeof r!=\"function\")throw new TypeError(\"The listener must be a function\");var i=new mAt(r,n||e,o),c=Va?Va+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],i]:e._events[c].push(i):(e._events[c]=i,e._eventsCount++),e}function BD(e,t){--e._eventsCount===0?e._events=new A3:delete e._events[t]}function oa(){this._events=new A3,this._eventsCount=0}oa.prototype.eventNames=function(){var t=[],r,n;if(this._eventsCount===0)return t;for(n in r=this._events)pAt.call(r,n)&&t.push(Va?n.slice(1):n);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(r)):t};oa.prototype.listeners=function(t){var r=Va?Va+t:t,n=this._events[r];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,c=new Array(i);o<i;o++)c[o]=n[o].fn;return c};oa.prototype.listenerCount=function(t){var r=Va?Va+t:t,n=this._events[r];return n?n.fn?1:n.length:0};oa.prototype.emit=function(t,r,n,o,i,c){var l=Va?Va+t:t;if(!this._events[l])return!1;var f=this._events[l],p=arguments.length,h,y;if(f.fn){switch(f.once&&this.removeListener(t,f.fn,void 0,!0),p){case 1:return f.fn.call(f.context),!0;case 2:return f.fn.call(f.context,r),!0;case 3:return f.fn.call(f.context,r,n),!0;case 4:return f.fn.call(f.context,r,n,o),!0;case 5:return f.fn.call(f.context,r,n,o,i),!0;case 6:return f.fn.call(f.context,r,n,o,i,c),!0}for(y=1,h=new Array(p-1);y<p;y++)h[y-1]=arguments[y];f.fn.apply(f.context,h)}else{var w=f.length,E;for(y=0;y<w;y++)switch(f[y].once&&this.removeListener(t,f[y].fn,void 0,!0),p){case 1:f[y].fn.call(f[y].context);break;case 2:f[y].fn.call(f[y].context,r);break;case 3:f[y].fn.call(f[y].context,r,n);break;case 4:f[y].fn.call(f[y].context,r,n,o);break;default:if(!h)for(E=1,h=new Array(p-1);E<p;E++)h[E-1]=arguments[E];f[y].fn.apply(f[y].context,h)}}return!0};oa.prototype.on=function(t,r,n){return hQe(this,t,r,n,!1)};oa.prototype.once=function(t,r,n){return hQe(this,t,r,n,!0)};oa.prototype.removeListener=function(t,r,n,o){var i=Va?Va+t:t;if(!this._events[i])return this;if(!r)return BD(this,i),this;var c=this._events[i];if(c.fn)c.fn===r&&(!o||c.once)&&(!n||c.context===n)&&BD(this,i);else{for(var l=0,f=[],p=c.length;l<p;l++)(c[l].fn!==r||o&&!c[l].once||n&&c[l].context!==n)&&f.push(c[l]);f.length?this._events[i]=f.length===1?f[0]:f:BD(this,i)}return this};oa.prototype.removeAllListeners=function(t){var r;return t?(r=Va?Va+t:t,this._events[r]&&BD(this,r)):(this._events=new A3,this._eventsCount=0),this};oa.prototype.off=oa.prototype.removeListener;oa.prototype.addListener=oa.prototype.on;oa.prefixed=Va;oa.EventEmitter=oa;typeof Qee<\"u\"&&(Qee.exports=oa)});var DD=J(MD=>{\"use strict\";u();Object.defineProperty(MD,\"__esModule\",{value:!0});MD.EVENTS=void 0;MD.EVENTS={STARTED_CONNECTING:\"walletlink_sdk.started.connecting\",CONNECTED_STATE_CHANGE:\"walletlink_sdk.connected\",DISCONNECTED:\"walletlink_sdk.disconnected\",METADATA_DESTROYED:\"walletlink_sdk_metadata_destroyed\",LINKED:\"walletlink_sdk.linked\",FAILURE:\"walletlink_sdk.generic_failure\",SESSION_CONFIG_RECEIVED:\"walletlink_sdk.session_config_event_received\",ETH_ACCOUNTS_STATE:\"walletlink_sdk.eth_accounts_state\",SESSION_STATE_CHANGE:\"walletlink_sdk.session_state_change\",UNLINKED_ERROR_STATE:\"walletlink_sdk.unlinked_error_state\",SKIPPED_CLEARING_SESSION:\"walletlink_sdk.skipped_clearing_session\",GENERAL_ERROR:\"walletlink_sdk.general_error\",WEB3_REQUEST:\"walletlink_sdk.web3.request\",WEB3_REQUEST_PUBLISHED:\"walletlink_sdk.web3.request_published\",WEB3_RESPONSE:\"walletlink_sdk.web3.response\",METHOD_NOT_IMPLEMENTED:\"walletlink_sdk.method_not_implemented\",UNKNOWN_ADDRESS_ENCOUNTERED:\"walletlink_sdk.unknown_address_encountered\"}});var ND=J(Zd=>{\"use strict\";u();Object.defineProperty(Zd,\"__esModule\",{value:!0});Zd.RelayAbstract=Zd.APP_VERSION_KEY=Zd.LOCAL_STORAGE_ADDRESSES_KEY=Zd.WALLET_USER_NAME_KEY=void 0;var bQe=v3();Zd.WALLET_USER_NAME_KEY=\"walletUsername\";Zd.LOCAL_STORAGE_ADDRESSES_KEY=\"Addresses\";Zd.APP_VERSION_KEY=\"AppVersion\";var Yee=class{async makeEthereumJSONRPCRequest(t,r){if(!r)throw new Error(\"Error: No jsonRpcUrl provided\");return window.fetch(r,{method:\"POST\",body:JSON.stringify(t),mode:\"cors\",headers:{\"Content-Type\":\"application/json\"}}).then(n=>n.json()).then(n=>{if(!n)throw bQe.standardErrors.rpc.parse({});let o=n,{error:i}=o;if(i)throw(0,bQe.serializeError)(i,t.method);return o})}};Zd.RelayAbstract=Yee});var pu=J((GIn,Xee)=>{u();typeof Object.create==\"function\"?Xee.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Xee.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Jd=J((ete,xQe)=>{u();var UD=dx(),Wd=UD.Buffer;function gQe(e,t){for(var r in e)t[r]=e[r]}Wd.from&&Wd.alloc&&Wd.allocUnsafe&&Wd.allocUnsafeSlow?xQe.exports=UD:(gQe(UD,ete),ete.Buffer=zg);function zg(e,t,r){return Wd(e,t,r)}zg.prototype=Object.create(Wd.prototype);gQe(Wd,zg);zg.from=function(e,t,r){if(typeof e==\"number\")throw new TypeError(\"Argument must not be a number\");return Wd(e,t,r)};zg.alloc=function(e,t,r){if(typeof e!=\"number\")throw new TypeError(\"Argument must be a number\");var n=Wd(e);return t!==void 0?typeof r==\"string\"?n.fill(t,r):n.fill(t):n.fill(0),n};zg.allocUnsafe=function(e){if(typeof e!=\"number\")throw new TypeError(\"Argument must be a number\");return Wd(e)};zg.allocUnsafeSlow=function(e){if(typeof e!=\"number\")throw new TypeError(\"Argument must be a number\");return UD.SlowBuffer(e)}});var wQe=J((WIn,vQe)=>{u();var hAt={}.toString;vQe.exports=Array.isArray||function(e){return hAt.call(e)==\"[object Array]\"}});var C6=J((QIn,EQe)=>{\"use strict\";u();EQe.exports=TypeError});var tte=J((XIn,_Qe)=>{\"use strict\";u();_Qe.exports=Object});var AQe=J((t7n,SQe)=>{\"use strict\";u();SQe.exports=Error});var CQe=J((n7n,kQe)=>{\"use strict\";u();kQe.exports=EvalError});var IQe=J((i7n,TQe)=>{\"use strict\";u();TQe.exports=RangeError});var RQe=J((s7n,PQe)=>{\"use strict\";u();PQe.exports=ReferenceError});var rte=J((u7n,OQe)=>{\"use strict\";u();OQe.exports=SyntaxError});var MQe=J((d7n,BQe)=>{\"use strict\";u();BQe.exports=URIError});var NQe=J((p7n,DQe)=>{\"use strict\";u();DQe.exports=Math.abs});var $Qe=J((h7n,UQe)=>{\"use strict\";u();UQe.exports=Math.floor});var LQe=J((b7n,zQe)=>{\"use strict\";u();zQe.exports=Math.max});var jQe=J((x7n,HQe)=>{\"use strict\";u();HQe.exports=Math.min});var VQe=J((w7n,FQe)=>{\"use strict\";u();FQe.exports=Math.pow});var GQe=J((_7n,qQe)=>{\"use strict\";u();qQe.exports=Math.round});var ZQe=J((A7n,KQe)=>{\"use strict\";u();KQe.exports=Number.isNaN||function(t){return t!==t}});var JQe=J((C7n,WQe)=>{\"use strict\";u();var yAt=ZQe();WQe.exports=function(t){return yAt(t)||t===0?t:t<0?-1:1}});var YQe=J((I7n,QQe)=>{\"use strict\";u();QQe.exports=Object.getOwnPropertyDescriptor});var T6=J((R7n,XQe)=>{\"use strict\";u();var $D=YQe();if($D)try{$D([],\"length\")}catch{$D=null}XQe.exports=$D});var k3=J((B7n,eYe)=>{\"use strict\";u();var zD=Object.defineProperty||!1;if(zD)try{zD({},\"a\",{value:1})}catch{zD=!1}eYe.exports=zD});var nte=J((D7n,tYe)=>{\"use strict\";u();tYe.exports=function(){if(typeof Symbol!=\"function\"||typeof Object.getOwnPropertySymbols!=\"function\")return!1;if(typeof Symbol.iterator==\"symbol\")return!0;var t={},r=Symbol(\"test\"),n=Object(r);if(typeof r==\"string\"||Object.prototype.toString.call(r)!==\"[object Symbol]\"||Object.prototype.toString.call(n)!==\"[object Symbol]\")return!1;var o=42;t[r]=o;for(var i in t)return!1;if(typeof Object.keys==\"function\"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames==\"function\"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor==\"function\"){var l=Object.getOwnPropertyDescriptor(t,r);if(l.value!==o||l.enumerable!==!0)return!1}return!0}});var oYe=J((U7n,nYe)=>{\"use strict\";u();var rYe=typeof Symbol<\"u\"&&Symbol,bAt=nte();nYe.exports=function(){return typeof rYe!=\"function\"||typeof Symbol!=\"function\"||typeof rYe(\"foo\")!=\"symbol\"||typeof Symbol(\"bar\")!=\"symbol\"?!1:bAt()}});var ote=J((z7n,iYe)=>{\"use strict\";u();iYe.exports=typeof Reflect<\"u\"&&Reflect.getPrototypeOf||null});var ite=J((H7n,aYe)=>{\"use strict\";u();var gAt=tte();aYe.exports=gAt.getPrototypeOf||null});var uYe=J((F7n,cYe)=>{\"use strict\";u();var xAt=\"Function.prototype.bind called on incompatible \",vAt=Object.prototype.toString,wAt=Math.max,EAt=\"[object Function]\",sYe=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var i=0;i<r.length;i+=1)n[i+t.length]=r[i];return n},_At=function(t,r){for(var n=[],o=r||0,i=0;o<t.length;o+=1,i+=1)n[i]=t[o];return n},SAt=function(e,t){for(var r=\"\",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};cYe.exports=function(t){var r=this;if(typeof r!=\"function\"||vAt.apply(r)!==EAt)throw new TypeError(xAt+r);for(var n=_At(arguments,1),o,i=function(){if(this instanceof o){var h=r.apply(this,sYe(n,arguments));return Object(h)===h?h:this}return r.apply(t,sYe(n,arguments))},c=wAt(0,r.length-n.length),l=[],f=0;f<c;f++)l[f]=\"$\"+f;if(o=Function(\"binder\",\"return function (\"+SAt(l,\",\")+\"){ return binder.apply(this,arguments); }\")(i),r.prototype){var p=function(){};p.prototype=r.prototype,o.prototype=new p,p.prototype=null}return o}});var I6=J((q7n,lYe)=>{\"use strict\";u();var AAt=uYe();lYe.exports=Function.prototype.bind||AAt});var LD=J((K7n,dYe)=>{\"use strict\";u();dYe.exports=Function.prototype.call});var HD=J((W7n,fYe)=>{\"use strict\";u();fYe.exports=Function.prototype.apply});var mYe=J((Q7n,pYe)=>{\"use strict\";u();pYe.exports=typeof Reflect<\"u\"&&Reflect&&Reflect.apply});var ate=J((X7n,hYe)=>{\"use strict\";u();var kAt=I6(),CAt=HD(),TAt=LD(),IAt=mYe();hYe.exports=IAt||kAt.call(TAt,CAt)});var jD=J((tPn,yYe)=>{\"use strict\";u();var PAt=I6(),RAt=C6(),OAt=LD(),BAt=ate();yYe.exports=function(t){if(t.length<1||typeof t[0]!=\"function\")throw new RAt(\"a function is required\");return BAt(PAt,OAt,t)}});var EYe=J((nPn,wYe)=>{\"use strict\";u();var MAt=jD(),bYe=T6(),xYe;try{xYe=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=\"object\"||!(\"code\"in e)||e.code!==\"ERR_PROTO_ACCESS\")throw e}var ste=!!xYe&&bYe&&bYe(Object.prototype,\"__proto__\"),vYe=Object,gYe=vYe.getPrototypeOf;wYe.exports=ste&&typeof ste.get==\"function\"?MAt([ste.get]):typeof gYe==\"function\"?function(t){return gYe(t==null?t:vYe(t))}:!1});var cte=J((iPn,kYe)=>{\"use strict\";u();var _Ye=ote(),SYe=ite(),AYe=EYe();kYe.exports=_Ye?function(t){return _Ye(t)}:SYe?function(t){if(!t||typeof t!=\"object\"&&typeof t!=\"function\")throw new TypeError(\"getProto: not an object\");return SYe(t)}:AYe?function(t){return AYe(t)}:null});var TYe=J((sPn,CYe)=>{\"use strict\";u();var DAt=Function.prototype.call,NAt=Object.prototype.hasOwnProperty,UAt=I6();CYe.exports=UAt.call(DAt,NAt)});var dte=J((uPn,MYe)=>{\"use strict\";u();var mr,$At=tte(),zAt=AQe(),LAt=CQe(),HAt=IQe(),jAt=RQe(),B6=rte(),O6=C6(),FAt=MQe(),VAt=NQe(),qAt=$Qe(),GAt=LQe(),KAt=jQe(),ZAt=VQe(),WAt=GQe(),JAt=JQe(),OYe=Function,ute=function(e){try{return OYe(\\'\"use strict\"; return (\\'+e+\").constructor;\")()}catch{}},C3=T6(),QAt=k3(),lte=function(){throw new O6},YAt=C3?(function(){try{return arguments.callee,lte}catch{try{return C3(arguments,\"callee\").get}catch{return lte}}})():lte,P6=oYe()(),yi=cte(),XAt=ite(),ekt=ote(),BYe=HD(),T3=LD(),R6={},tkt=typeof Uint8Array>\"u\"||!yi?mr:yi(Uint8Array),Lg={__proto__:null,\"%AggregateError%\":typeof AggregateError>\"u\"?mr:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":typeof ArrayBuffer>\"u\"?mr:ArrayBuffer,\"%ArrayIteratorPrototype%\":P6&&yi?yi([][Symbol.iterator]()):mr,\"%AsyncFromSyncIteratorPrototype%\":mr,\"%AsyncFunction%\":R6,\"%AsyncGenerator%\":R6,\"%AsyncGeneratorFunction%\":R6,\"%AsyncIteratorPrototype%\":R6,\"%Atomics%\":typeof Atomics>\"u\"?mr:Atomics,\"%BigInt%\":typeof BigInt>\"u\"?mr:BigInt,\"%BigInt64Array%\":typeof BigInt64Array>\"u\"?mr:BigInt64Array,\"%BigUint64Array%\":typeof BigUint64Array>\"u\"?mr:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":typeof DataView>\"u\"?mr:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":zAt,\"%eval%\":eval,\"%EvalError%\":LAt,\"%Float16Array%\":typeof Float16Array>\"u\"?mr:Float16Array,\"%Float32Array%\":typeof Float32Array>\"u\"?mr:Float32Array,\"%Float64Array%\":typeof Float64Array>\"u\"?mr:Float64Array,\"%FinalizationRegistry%\":typeof FinalizationRegistry>\"u\"?mr:FinalizationRegistry,\"%Function%\":OYe,\"%GeneratorFunction%\":R6,\"%Int8Array%\":typeof Int8Array>\"u\"?mr:Int8Array,\"%Int16Array%\":typeof Int16Array>\"u\"?mr:Int16Array,\"%Int32Array%\":typeof Int32Array>\"u\"?mr:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":P6&&yi?yi(yi([][Symbol.iterator]())):mr,\"%JSON%\":typeof JSON==\"object\"?JSON:mr,\"%Map%\":typeof Map>\"u\"?mr:Map,\"%MapIteratorPrototype%\":typeof Map>\"u\"||!P6||!yi?mr:yi(new Map()[Symbol.iterator]()),\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":$At,\"%Object.getOwnPropertyDescriptor%\":C3,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":typeof Promise>\"u\"?mr:Promise,\"%Proxy%\":typeof Proxy>\"u\"?mr:Proxy,\"%RangeError%\":HAt,\"%ReferenceError%\":jAt,\"%Reflect%\":typeof Reflect>\"u\"?mr:Reflect,\"%RegExp%\":RegExp,\"%Set%\":typeof Set>\"u\"?mr:Set,\"%SetIteratorPrototype%\":typeof Set>\"u\"||!P6||!yi?mr:yi(new Set()[Symbol.iterator]()),\"%SharedArrayBuffer%\":typeof SharedArrayBuffer>\"u\"?mr:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":P6&&yi?yi(\"\"[Symbol.iterator]()):mr,\"%Symbol%\":P6?Symbol:mr,\"%SyntaxError%\":B6,\"%ThrowTypeError%\":YAt,\"%TypedArray%\":tkt,\"%TypeError%\":O6,\"%Uint8Array%\":typeof Uint8Array>\"u\"?mr:Uint8Array,\"%Uint8ClampedArray%\":typeof Uint8ClampedArray>\"u\"?mr:Uint8ClampedArray,\"%Uint16Array%\":typeof Uint16Array>\"u\"?mr:Uint16Array,\"%Uint32Array%\":typeof Uint32Array>\"u\"?mr:Uint32Array,\"%URIError%\":FAt,\"%WeakMap%\":typeof WeakMap>\"u\"?mr:WeakMap,\"%WeakRef%\":typeof WeakRef>\"u\"?mr:WeakRef,\"%WeakSet%\":typeof WeakSet>\"u\"?mr:WeakSet,\"%Function.prototype.call%\":T3,\"%Function.prototype.apply%\":BYe,\"%Object.defineProperty%\":QAt,\"%Object.getPrototypeOf%\":XAt,\"%Math.abs%\":VAt,\"%Math.floor%\":qAt,\"%Math.max%\":GAt,\"%Math.min%\":KAt,\"%Math.pow%\":ZAt,\"%Math.round%\":WAt,\"%Math.sign%\":JAt,\"%Reflect.getPrototypeOf%\":ekt};if(yi)try{null.error}catch(e){IYe=yi(yi(e)),Lg[\"%Error.prototype%\"]=IYe}var IYe,rkt=function e(t){var r;if(t===\"%AsyncFunction%\")r=ute(\"async function () {}\");else if(t===\"%GeneratorFunction%\")r=ute(\"function* () {}\");else if(t===\"%AsyncGeneratorFunction%\")r=ute(\"async function* () {}\");else if(t===\"%AsyncGenerator%\"){var n=e(\"%AsyncGeneratorFunction%\");n&&(r=n.prototype)}else if(t===\"%AsyncIteratorPrototype%\"){var o=e(\"%AsyncGenerator%\");o&&yi&&(r=yi(o.prototype))}return Lg[t]=r,r},PYe={__proto__:null,\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},I3=I6(),FD=TYe(),nkt=I3.call(T3,Array.prototype.concat),okt=I3.call(BYe,Array.prototype.splice),RYe=I3.call(T3,String.prototype.replace),VD=I3.call(T3,String.prototype.slice),ikt=I3.call(T3,RegExp.prototype.exec),akt=/[^%.[\\\\]]+|\\\\[(?:(-?\\\\d+(?:\\\\.\\\\d+)?)|([\"\\'])((?:(?!\\\\2)[^\\\\\\\\]|\\\\\\\\.)*?)\\\\2)\\\\]|(?=(?:\\\\.|\\\\[\\\\])(?:\\\\.|\\\\[\\\\]|%$))/g,skt=/\\\\\\\\(\\\\\\\\)?/g,ckt=function(t){var r=VD(t,0,1),n=VD(t,-1);if(r===\"%\"&&n!==\"%\")throw new B6(\"invalid intrinsic syntax, expected closing `%`\");if(n===\"%\"&&r!==\"%\")throw new B6(\"invalid intrinsic syntax, expected opening `%`\");var o=[];return RYe(t,akt,function(i,c,l,f){o[o.length]=l?RYe(f,skt,\"$1\"):c||i}),o},ukt=function(t,r){var n=t,o;if(FD(PYe,n)&&(o=PYe[n],n=\"%\"+o[0]+\"%\"),FD(Lg,n)){var i=Lg[n];if(i===R6&&(i=rkt(n)),typeof i>\"u\"&&!r)throw new O6(\"intrinsic \"+t+\" exists, but is not available. Please file an issue!\");return{alias:o,name:n,value:i}}throw new B6(\"intrinsic \"+t+\" does not exist!\")};MYe.exports=function(t,r){if(typeof t!=\"string\"||t.length===0)throw new O6(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&typeof r!=\"boolean\")throw new O6(\\'\"allowMissing\" argument must be a boolean\\');if(ikt(/^%?[^%]*%?$/,t)===null)throw new B6(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var n=ckt(t),o=n.length>0?n[0]:\"\",i=ukt(\"%\"+o+\"%\",r),c=i.name,l=i.value,f=!1,p=i.alias;p&&(o=p[0],okt(n,nkt([0,1],p)));for(var h=1,y=!0;h<n.length;h+=1){var w=n[h],E=VD(w,0,1),A=VD(w,-1);if((E===\\'\"\\'||E===\"\\'\"||E===\"`\"||A===\\'\"\\'||A===\"\\'\"||A===\"`\")&&E!==A)throw new B6(\"property names with quotes must have matching quotes\");if((w===\"constructor\"||!y)&&(f=!0),o+=\".\"+w,c=\"%\"+o+\"%\",FD(Lg,c))l=Lg[c];else if(l!=null){if(!(w in l)){if(!r)throw new O6(\"base intrinsic for \"+t+\" exists, but the property is not available.\");return}if(C3&&h+1>=n.length){var C=C3(l,w);y=!!C,y&&\"get\"in C&&!(\"originalValue\"in C.get)?l=C.get:l=l[w]}else y=FD(l,w),l=l[w];y&&!f&&(Lg[c]=l)}}return l}});var fte=J((dPn,UYe)=>{\"use strict\";u();var DYe=dte(),NYe=jD(),lkt=NYe([DYe(\"%String.prototype.indexOf%\")]);UYe.exports=function(t,r){var n=DYe(t,!!r);return typeof n==\"function\"&&lkt(t,\".prototype.\")>-1?NYe([n]):n}});var HYe=J((pPn,LYe)=>{\"use strict\";u();var zYe=Function.prototype.toString,M6=typeof Reflect==\"object\"&&Reflect!==null&&Reflect.apply,mte,qD;if(typeof M6==\"function\"&&typeof Object.defineProperty==\"function\")try{mte=Object.defineProperty({},\"length\",{get:function(){throw qD}}),qD={},M6(function(){throw 42},null,mte)}catch(e){e!==qD&&(M6=null)}else M6=null;var dkt=/^\\\\s*class\\\\b/,hte=function(t){try{var r=zYe.call(t);return dkt.test(r)}catch{return!1}},pte=function(t){try{return hte(t)?!1:(zYe.call(t),!0)}catch{return!1}},GD=Object.prototype.toString,fkt=\"[object Object]\",pkt=\"[object Function]\",mkt=\"[object GeneratorFunction]\",hkt=\"[object HTMLAllCollection]\",ykt=\"[object HTML document.all class]\",bkt=\"[object HTMLCollection]\",gkt=typeof Symbol==\"function\"&&!!Symbol.toStringTag,xkt=!(0 in[,]),yte=function(){return!1};typeof document==\"object\"&&($Ye=document.all,GD.call($Ye)===GD.call(document.all)&&(yte=function(t){if((xkt||!t)&&(typeof t>\"u\"||typeof t==\"object\"))try{var r=GD.call(t);return(r===hkt||r===ykt||r===bkt||r===fkt)&&t(\"\")==null}catch{}return!1}));var $Ye;LYe.exports=M6?function(t){if(yte(t))return!0;if(!t||typeof t!=\"function\"&&typeof t!=\"object\")return!1;try{M6(t,null,mte)}catch(r){if(r!==qD)return!1}return!hte(t)&&pte(t)}:function(t){if(yte(t))return!0;if(!t||typeof t!=\"function\"&&typeof t!=\"object\")return!1;if(gkt)return pte(t);if(hte(t))return!1;var r=GD.call(t);return r!==pkt&&r!==mkt&&!/^\\\\[object HTML/.test(r)?!1:pte(t)}});var VYe=J((hPn,FYe)=>{\"use strict\";u();var vkt=HYe(),wkt=Object.prototype.toString,jYe=Object.prototype.hasOwnProperty,Ekt=function(t,r,n){for(var o=0,i=t.length;o<i;o++)jYe.call(t,o)&&(n==null?r(t[o],o,t):r.call(n,t[o],o,t))},_kt=function(t,r,n){for(var o=0,i=t.length;o<i;o++)n==null?r(t.charAt(o),o,t):r.call(n,t.charAt(o),o,t)},Skt=function(t,r,n){for(var o in t)jYe.call(t,o)&&(n==null?r(t[o],o,t):r.call(n,t[o],o,t))};function Akt(e){return wkt.call(e)===\"[object Array]\"}FYe.exports=function(t,r,n){if(!vkt(r))throw new TypeError(\"iterator must be a function\");var o;arguments.length>=3&&(o=n),Akt(t)?Ekt(t,r,o):typeof t==\"string\"?_kt(t,r,o):Skt(t,r,o)}});var GYe=J((bPn,qYe)=>{\"use strict\";u();qYe.exports=[\"Float16Array\",\"Float32Array\",\"Float64Array\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"BigInt64Array\",\"BigUint64Array\"]});var ZYe=J((xPn,KYe)=>{\"use strict\";u();var bte=GYe(),kkt=globalThis;KYe.exports=function(){for(var t=[],r=0;r<bte.length;r++)typeof kkt[bte[r]]==\"function\"&&(t[t.length]=bte[r]);return t}});var YYe=J((wPn,QYe)=>{\"use strict\";u();var WYe=k3(),Ckt=rte(),D6=C6(),JYe=T6();QYe.exports=function(t,r,n){if(!t||typeof t!=\"object\"&&typeof t!=\"function\")throw new D6(\"`obj` must be an object or a function`\");if(typeof r!=\"string\"&&typeof r!=\"symbol\")throw new D6(\"`property` must be a string or a symbol`\");if(arguments.length>3&&typeof arguments[3]!=\"boolean\"&&arguments[3]!==null)throw new D6(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&typeof arguments[4]!=\"boolean\"&&arguments[4]!==null)throw new D6(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&typeof arguments[5]!=\"boolean\"&&arguments[5]!==null)throw new D6(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&typeof arguments[6]!=\"boolean\")throw new D6(\"`loose`, if provided, must be a boolean\");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,f=!!JYe&&JYe(t,r);if(WYe)WYe(t,r,{configurable:c===null&&f?f.configurable:!c,enumerable:o===null&&f?f.enumerable:!o,value:n,writable:i===null&&f?f.writable:!i});else if(l||!o&&!i&&!c)t[r]=n;else throw new Ckt(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\")}});var tXe=J((_Pn,eXe)=>{\"use strict\";u();var gte=k3(),XYe=function(){return!!gte};XYe.hasArrayLengthDefineBug=function(){if(!gte)return null;try{return gte([],\"length\",{value:1}).length!==1}catch{return!0}};eXe.exports=XYe});var aXe=J((APn,iXe)=>{\"use strict\";u();var Tkt=dte(),rXe=YYe(),Ikt=tXe()(),nXe=T6(),oXe=C6(),Pkt=Tkt(\"%Math.floor%\");iXe.exports=function(t,r){if(typeof t!=\"function\")throw new oXe(\"`fn` is not a function\");if(typeof r!=\"number\"||r<0||r>4294967295||Pkt(r)!==r)throw new oXe(\"`length` must be a positive 32-bit integer\");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if(\"length\"in t&&nXe){var c=nXe(t,\"length\");c&&!c.configurable&&(o=!1),c&&!c.writable&&(i=!1)}return(o||i||!n)&&(Ikt?rXe(t,\"length\",r,!0,!0):rXe(t,\"length\",r)),t}});var cXe=J((CPn,sXe)=>{\"use strict\";u();var Rkt=I6(),Okt=HD(),Bkt=ate();sXe.exports=function(){return Bkt(Rkt,Okt,arguments)}});var dXe=J((IPn,KD)=>{\"use strict\";u();var Mkt=aXe(),uXe=k3(),Dkt=jD(),lXe=cXe();KD.exports=function(t){var r=Dkt(arguments),n=t.length-(arguments.length-1);return Mkt(r,1+(n>0?n:0),!0)};uXe?uXe(KD.exports,\"apply\",{value:lXe}):KD.exports.apply=lXe});var pXe=J((RPn,fXe)=>{\"use strict\";u();var Nkt=nte();fXe.exports=function(){return Nkt()&&!!Symbol.toStringTag}});var gXe=J((BPn,bXe)=>{\"use strict\";u();var JD=VYe(),Ukt=ZYe(),mXe=dXe(),vte=fte(),WD=T6(),ZD=cte(),$kt=vte(\"Object.prototype.toString\"),yXe=pXe()(),hXe=globalThis,xte=Ukt(),wte=vte(\"String.prototype.slice\"),zkt=vte(\"Array.prototype.indexOf\",!0)||function(t,r){for(var n=0;n<t.length;n+=1)if(t[n]===r)return n;return-1},QD={__proto__:null};yXe&&WD&&ZD?JD(xte,function(e){var t=new hXe[e];if(Symbol.toStringTag in t&&ZD){var r=ZD(t),n=WD(r,Symbol.toStringTag);if(!n&&r){var o=ZD(r);n=WD(o,Symbol.toStringTag)}QD[\"$\"+e]=mXe(n.get)}}):JD(xte,function(e){var t=new hXe[e],r=t.slice||t.set;r&&(QD[\"$\"+e]=mXe(r))});var Lkt=function(t){var r=!1;return JD(QD,function(n,o){if(!r)try{\"$\"+n(t)===o&&(r=wte(o,1))}catch{}}),r},Hkt=function(t){var r=!1;return JD(QD,function(n,o){if(!r)try{n(t),r=wte(o,1)}catch{}}),r};bXe.exports=function(t){if(!t||typeof t!=\"object\")return!1;if(!yXe){var r=wte($kt(t),8,-1);return zkt(xte,r)>-1?r:r!==\"Object\"?!1:Hkt(t)}return WD?Lkt(t):null}});var vXe=J((DPn,xXe)=>{\"use strict\";u();var jkt=gXe();xXe.exports=function(t){return!!jkt(t)}});var EXe=J((UPn,wXe)=>{\"use strict\";u();var Fkt=C6(),Vkt=fte(),qkt=Vkt(\"TypedArray.prototype.buffer\",!0),Gkt=vXe();wXe.exports=qkt||function(t){if(!Gkt(t))throw new Fkt(\"Not a Typed Array\");return t.buffer}});var AXe=J((zPn,SXe)=>{\"use strict\";u();var ml=Jd().Buffer,Kkt=wQe(),Zkt=EXe(),Wkt=ArrayBuffer.isView||function(t){try{return Zkt(t),!0}catch{return!1}},Jkt=typeof Uint8Array<\"u\",_Xe=typeof ArrayBuffer<\"u\"&&typeof Uint8Array<\"u\",Qkt=_Xe&&(ml.prototype instanceof Uint8Array||ml.TYPED_ARRAY_SUPPORT);SXe.exports=function(t,r){if(ml.isBuffer(t))return t.constructor&&!(\"isBuffer\"in t)?ml.from(t):t;if(typeof t==\"string\")return ml.from(t,r);if(_Xe&&Wkt(t)){if(t.byteLength===0)return ml.alloc(0);if(Qkt){var n=ml.from(t.buffer,t.byteOffset,t.byteLength);if(n.byteLength===t.byteLength)return n}var o=t instanceof Uint8Array?t:new Uint8Array(t.buffer,t.byteOffset,t.byteLength),i=ml.from(o);if(i.length===t.byteLength)return i}if(Jkt&&t instanceof Uint8Array)return ml.from(t);var c=Kkt(t);if(c)for(var l=0;l<t.length;l+=1){var f=t[l];if(typeof f!=\"number\"||f<0||f>255||~~f!==f)throw new RangeError(\"Array items must be numbers in the range 0-255.\")}if(c||ml.isBuffer(t)&&t.constructor&&typeof t.constructor.isBuffer==\"function\"&&t.constructor.isBuffer(t))return ml.from(t);throw new TypeError(\\'The \"data\" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.\\')}});var Hg=J((HPn,kXe)=>{\"use strict\";u();var Ykt=Jd().Buffer,Xkt=AXe();function YD(e,t){this._block=Ykt.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}YD.prototype.update=function(e,t){e=Xkt(e,t||\"utf8\");for(var r=this._block,n=this._blockSize,o=e.length,i=this._len,c=0;c<o;){for(var l=i%n,f=Math.min(o-c,n-l),p=0;p<f;p++)r[l+p]=e[c+p];i+=f,c+=f,i%n===0&&this._update(r)}return this._len+=o,this};YD.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=this._len*8;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(r&4294967295)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i};YD.prototype._update=function(){throw new Error(\"_update must be implemented by subclass\")};kXe.exports=YD});var IXe=J((FPn,TXe)=>{\"use strict\";u();var e3t=pu(),CXe=Hg(),t3t=Jd().Buffer,r3t=[1518500249,1859775393,-1894007588,-899497514],n3t=new Array(80);function P3(){this.init(),this._w=n3t,CXe.call(this,64,56)}e3t(P3,CXe);P3.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function o3t(e){return e<<5|e>>>27}function i3t(e){return e<<30|e>>>2}function a3t(e,t,r,n){return e===0?t&r|~t&n:e===2?t&r|t&n|r&n:t^r^n}P3.prototype._update=function(e){for(var t=this._w,r=this._a|0,n=this._b|0,o=this._c|0,i=this._d|0,c=this._e|0,l=0;l<16;++l)t[l]=e.readInt32BE(l*4);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var f=0;f<80;++f){var p=~~(f/20),h=o3t(r)+a3t(p,n,o,i)+c+t[f]+r3t[p]|0;c=i,i=o,o=i3t(n),n=r,r=h}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=c+this._e|0};P3.prototype._hash=function(){var e=t3t.allocUnsafe(20);return e.writeInt32BE(this._a|0,0),e.writeInt32BE(this._b|0,4),e.writeInt32BE(this._c|0,8),e.writeInt32BE(this._d|0,12),e.writeInt32BE(this._e|0,16),e};TXe.exports=P3});var OXe=J((qPn,RXe)=>{\"use strict\";u();var s3t=pu(),PXe=Hg(),c3t=Jd().Buffer,u3t=[1518500249,1859775393,-1894007588,-899497514],l3t=new Array(80);function R3(){this.init(),this._w=l3t,PXe.call(this,64,56)}s3t(R3,PXe);R3.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function d3t(e){return e<<1|e>>>31}function f3t(e){return e<<5|e>>>27}function p3t(e){return e<<30|e>>>2}function m3t(e,t,r,n){return e===0?t&r|~t&n:e===2?t&r|t&n|r&n:t^r^n}R3.prototype._update=function(e){for(var t=this._w,r=this._a|0,n=this._b|0,o=this._c|0,i=this._d|0,c=this._e|0,l=0;l<16;++l)t[l]=e.readInt32BE(l*4);for(;l<80;++l)t[l]=d3t(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var f=0;f<80;++f){var p=~~(f/20),h=f3t(r)+m3t(p,n,o,i)+c+t[f]+u3t[p]|0;c=i,i=o,o=p3t(n),n=r,r=h}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=c+this._e|0};R3.prototype._hash=function(){var e=c3t.allocUnsafe(20);return e.writeInt32BE(this._a|0,0),e.writeInt32BE(this._b|0,4),e.writeInt32BE(this._c|0,8),e.writeInt32BE(this._d|0,12),e.writeInt32BE(this._e|0,16),e};RXe.exports=R3});var Ete=J((KPn,MXe)=>{\"use strict\";u();var h3t=pu(),BXe=Hg(),y3t=Jd().Buffer,b3t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],g3t=new Array(64);function O3(){this.init(),this._w=g3t,BXe.call(this,64,56)}h3t(O3,BXe);O3.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function x3t(e,t,r){return r^e&(t^r)}function v3t(e,t,r){return e&t|r&(e|t)}function w3t(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function E3t(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function _3t(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function S3t(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}O3.prototype._update=function(e){for(var t=this._w,r=this._a|0,n=this._b|0,o=this._c|0,i=this._d|0,c=this._e|0,l=this._f|0,f=this._g|0,p=this._h|0,h=0;h<16;++h)t[h]=e.readInt32BE(h*4);for(;h<64;++h)t[h]=S3t(t[h-2])+t[h-7]+_3t(t[h-15])+t[h-16]|0;for(var y=0;y<64;++y){var w=p+E3t(c)+x3t(c,l,f)+b3t[y]+t[y]|0,E=w3t(r)+v3t(r,n,o)|0;p=f,f=l,l=c,c=i+w|0,i=o,o=n,n=r,r=w+E|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=i+this._d|0,this._e=c+this._e|0,this._f=l+this._f|0,this._g=f+this._g|0,this._h=p+this._h|0};O3.prototype._hash=function(){var e=y3t.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e};MXe.exports=O3});var NXe=J((WPn,DXe)=>{\"use strict\";u();var A3t=pu(),k3t=Ete(),C3t=Hg(),T3t=Jd().Buffer,I3t=new Array(64);function XD(){this.init(),this._w=I3t,C3t.call(this,64,56)}A3t(XD,k3t);XD.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this};XD.prototype._hash=function(){var e=T3t.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e};DXe.exports=XD});var _te=J((QPn,FXe)=>{\"use strict\";u();var P3t=pu(),jXe=Hg(),R3t=Jd().Buffer,UXe=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],O3t=new Array(160);function B3(){this.init(),this._w=O3t,jXe.call(this,128,112)}P3t(B3,jXe);B3.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function $Xe(e,t,r){return r^e&(t^r)}function zXe(e,t,r){return e&t|r&(e|t)}function LXe(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function HXe(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function B3t(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function M3t(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function D3t(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function N3t(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function bi(e,t){return e>>>0<t>>>0?1:0}B3.prototype._update=function(e){for(var t=this._w,r=this._ah|0,n=this._bh|0,o=this._ch|0,i=this._dh|0,c=this._eh|0,l=this._fh|0,f=this._gh|0,p=this._hh|0,h=this._al|0,y=this._bl|0,w=this._cl|0,E=this._dl|0,A=this._el|0,C=this._fl|0,R=this._gl|0,M=this._hl|0,D=0;D<32;D+=2)t[D]=e.readInt32BE(D*4),t[D+1]=e.readInt32BE(D*4+4);for(;D<160;D+=2){var $=t[D-30],H=t[D-30+1],V=B3t($,H),G=M3t(H,$);$=t[D-4],H=t[D-4+1];var K=D3t($,H),Q=N3t(H,$),X=t[D-14],Y=t[D-14+1],fe=t[D-32],ce=t[D-32+1],N=G+Y|0,_=V+X+bi(N,G)|0;N=N+Q|0,_=_+K+bi(N,Q)|0,N=N+ce|0,_=_+fe+bi(N,ce)|0,t[D]=_,t[D+1]=N}for(var k=0;k<160;k+=2){_=t[k],N=t[k+1];var O=zXe(r,n,o),B=zXe(h,y,w),L=LXe(r,h),q=LXe(h,r),W=HXe(c,A),U=HXe(A,c),P=UXe[k],Z=UXe[k+1],ye=$Xe(c,l,f),xe=$Xe(A,C,R),Te=M+U|0,Ie=p+W+bi(Te,M)|0;Te=Te+xe|0,Ie=Ie+ye+bi(Te,xe)|0,Te=Te+Z|0,Ie=Ie+P+bi(Te,Z)|0,Te=Te+N|0,Ie=Ie+_+bi(Te,N)|0;var Ke=q+B|0,Ve=L+O+bi(Ke,q)|0;p=f,M=R,f=l,R=C,l=c,C=A,A=E+Te|0,c=i+Ie+bi(A,E)|0,i=o,E=w,o=n,w=y,n=r,y=h,h=Te+Ke|0,r=Ie+Ve+bi(h,Te)|0}this._al=this._al+h|0,this._bl=this._bl+y|0,this._cl=this._cl+w|0,this._dl=this._dl+E|0,this._el=this._el+A|0,this._fl=this._fl+C|0,this._gl=this._gl+R|0,this._hl=this._hl+M|0,this._ah=this._ah+r+bi(this._al,h)|0,this._bh=this._bh+n+bi(this._bl,y)|0,this._ch=this._ch+o+bi(this._cl,w)|0,this._dh=this._dh+i+bi(this._dl,E)|0,this._eh=this._eh+c+bi(this._el,A)|0,this._fh=this._fh+l+bi(this._fl,C)|0,this._gh=this._gh+f+bi(this._gl,R)|0,this._hh=this._hh+p+bi(this._hl,M)|0};B3.prototype._hash=function(){var e=R3t.allocUnsafe(64);function t(r,n,o){e.writeInt32BE(r,o),e.writeInt32BE(n,o+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e};FXe.exports=B3});var qXe=J((XPn,VXe)=>{\"use strict\";u();var U3t=pu(),$3t=_te(),z3t=Hg(),L3t=Jd().Buffer,H3t=new Array(160);function eN(){this.init(),this._w=H3t,z3t.call(this,128,112)}U3t(eN,$3t);eN.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this};eN.prototype._hash=function(){var e=L3t.allocUnsafe(48);function t(r,n,o){e.writeInt32BE(r,o),e.writeInt32BE(n,o+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e};VXe.exports=eN});var GXe=J((tRn,Zp)=>{\"use strict\";u();Zp.exports=function(t){var r=t.toLowerCase(),n=Zp.exports[r];if(!n)throw new Error(r+\" is not supported (we accept pull requests)\");return new n};Zp.exports.sha=IXe();Zp.exports.sha1=OXe();Zp.exports.sha224=NXe();Zp.exports.sha256=Ete();Zp.exports.sha384=qXe();Zp.exports.sha512=_te()});var rN=J(tN=>{\"use strict\";u();Object.defineProperty(tN,\"__esModule\",{value:!0});tN.Session=void 0;var KXe=GXe(),ZXe=Kd(),WXe=\"session:id\",JXe=\"session:secret\",QXe=\"session:linked\",Ste=class e{constructor(t,r,n,o){this._storage=t,this._id=r||(0,ZXe.randomBytesHex)(16),this._secret=n||(0,ZXe.randomBytesHex)(32),this._key=new KXe.sha256().update(`${this._id}, ${this._secret} WalletLink`).digest(\"hex\"),this._linked=!!o}static load(t){let r=t.getItem(WXe),n=t.getItem(QXe),o=t.getItem(JXe);return r&&o?new e(t,r,o,n===\"1\"):null}static hash(t){return new KXe.sha256().update(t).digest(\"hex\")}get id(){return this._id}get secret(){return this._secret}get key(){return this._key}get linked(){return this._linked}set linked(t){this._linked=t,this.persistLinked()}save(){return this._storage.setItem(WXe,this._id),this._storage.setItem(JXe,this._secret),this.persistLinked(),this}persistLinked(){this._storage.setItem(QXe,this._linked?\"1\":\"0\")}};tN.Session=Ste});var YXe=J(oN=>{\"use strict\";u();Object.defineProperty(oN,\"__esModule\",{value:!0});oN.Cipher=void 0;var nN=Kd(),Ate=class{constructor(t){this.secret=t}async encrypt(t){let r=this.secret;if(r.length!==64)throw Error(\"secret must be 256 bits\");let n=crypto.getRandomValues(new Uint8Array(12)),o=await crypto.subtle.importKey(\"raw\",(0,nN.hexStringToUint8Array)(r),{name:\"aes-gcm\"},!1,[\"encrypt\",\"decrypt\"]),i=new TextEncoder,c=await window.crypto.subtle.encrypt({name:\"AES-GCM\",iv:n},o,i.encode(t)),l=16,f=c.slice(c.byteLength-l),p=c.slice(0,c.byteLength-l),h=new Uint8Array(f),y=new Uint8Array(p),w=new Uint8Array([...n,...h,...y]);return(0,nN.uint8ArrayToHex)(w)}async decrypt(t){let r=this.secret;if(r.length!==64)throw Error(\"secret must be 256 bits\");return new Promise((n,o)=>{(async function(){let i=await crypto.subtle.importKey(\"raw\",(0,nN.hexStringToUint8Array)(r),{name:\"aes-gcm\"},!1,[\"encrypt\",\"decrypt\"]),c=(0,nN.hexStringToUint8Array)(t),l=c.slice(0,12),f=c.slice(12,28),p=c.slice(28),h=new Uint8Array([...p,...f]),y={name:\"AES-GCM\",iv:new Uint8Array(l)};try{let w=await window.crypto.subtle.decrypt(y,i,h),E=new TextDecoder;n(E.decode(w))}catch(w){o(w)}})()})}};oN.Cipher=Ate});var XXe=J(iN=>{\"use strict\";u();Object.defineProperty(iN,\"__esModule\",{value:!0});iN.WalletLinkHTTP=void 0;var kte=class{constructor(t,r,n){this.linkAPIUrl=t,this.sessionId=r;let o=`${r}:${n}`;this.auth=`Basic ${btoa(o)}`}async markUnseenEventsAsSeen(t){return Promise.all(t.map(r=>fetch(`${this.linkAPIUrl}/events/${r.eventId}/seen`,{method:\"POST\",headers:{Authorization:this.auth}}))).catch(r=>console.error(\"Unabled to mark event as failed:\",r))}async fetchUnseenEvents(){var t;let r=await fetch(`${this.linkAPIUrl}/events?unseen=true`,{headers:{Authorization:this.auth}});if(r.ok){let{events:n,error:o}=await r.json();if(o)throw new Error(`Check unseen events failed: ${o}`);let i=(t=n?.filter(c=>c.event===\"Web3Response\").map(c=>({type:\"Event\",sessionId:this.sessionId,eventId:c.id,event:c.event,data:c.data})))!==null&&t!==void 0?t:[];return this.markUnseenEventsAsSeen(i),i}throw new Error(`Check unseen events failed: ${r.status}`)}};iN.WalletLinkHTTP=kte});var eet=J(U6=>{\"use strict\";u();Object.defineProperty(U6,\"__esModule\",{value:!0});U6.WalletLinkWebSocket=U6.ConnectionState=void 0;var N6;(function(e){e[e.DISCONNECTED=0]=\"DISCONNECTED\",e[e.CONNECTING=1]=\"CONNECTING\",e[e.CONNECTED=2]=\"CONNECTED\"})(N6||(U6.ConnectionState=N6={}));var Cte=class{setConnectionStateListener(t){this.connectionStateListener=t}setIncomingDataListener(t){this.incomingDataListener=t}constructor(t,r=WebSocket){this.WebSocketClass=r,this.webSocket=null,this.pendingData=[],this.url=t.replace(/^http/,\"ws\")}async connect(){if(this.webSocket)throw new Error(\"webSocket object is not null\");return new Promise((t,r)=>{var n;let o;try{this.webSocket=o=new this.WebSocketClass(this.url)}catch(i){r(i);return}(n=this.connectionStateListener)===null||n===void 0||n.call(this,N6.CONNECTING),o.onclose=i=>{var c;this.clearWebSocket(),r(new Error(`websocket error ${i.code}: ${i.reason}`)),(c=this.connectionStateListener)===null||c===void 0||c.call(this,N6.DISCONNECTED)},o.onopen=i=>{var c;t(),(c=this.connectionStateListener)===null||c===void 0||c.call(this,N6.CONNECTED),this.pendingData.length>0&&([...this.pendingData].forEach(f=>this.sendData(f)),this.pendingData=[])},o.onmessage=i=>{var c,l;if(i.data===\"h\")(c=this.incomingDataListener)===null||c===void 0||c.call(this,{type:\"Heartbeat\"});else try{let f=JSON.parse(i.data);(l=this.incomingDataListener)===null||l===void 0||l.call(this,f)}catch{}}})}disconnect(){var t;let{webSocket:r}=this;if(r){this.clearWebSocket(),(t=this.connectionStateListener)===null||t===void 0||t.call(this,N6.DISCONNECTED),this.connectionStateListener=void 0,this.incomingDataListener=void 0;try{r.close()}catch{}}}sendData(t){let{webSocket:r}=this;if(!r){this.pendingData.push(t),this.connect();return}r.send(t)}clearWebSocket(){let{webSocket:t}=this;t&&(this.webSocket=null,t.onclose=null,t.onerror=null,t.onmessage=null,t.onopen=null)}};U6.WalletLinkWebSocket=Cte});var net=J(sN=>{\"use strict\";u();Object.defineProperty(sN,\"__esModule\",{value:!0});sN.WalletLinkConnection=void 0;var $6=E3(),j3t=YXe(),Qd=DD(),tet=ND(),z6=rN(),F3t=XXe(),aN=eet(),ret=1e4,V3t=6e4,Tte=class{constructor({session:t,linkAPIUrl:r,listener:n,diagnostic:o,WebSocketClass:i=WebSocket}){this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,$6.IntNumber)(1),this._connected=!1,this._linked=!1,this.shouldFetchUnseenEventsOnConnect=!1,this.requestResolutions=new Map,this.handleSessionMetadataUpdated=l=>{if(!l)return;new Map([[\"__destroyed\",this.handleDestroyed],[\"EthereumAddress\",this.handleAccountUpdated],[\"WalletUsername\",this.handleWalletUsernameUpdated],[\"AppVersion\",this.handleAppVersionUpdated],[\"ChainId\",p=>l.JsonRpcUrl&&this.handleChainUpdated(p,l.JsonRpcUrl)]]).forEach((p,h)=>{let y=l[h];y!==void 0&&p(y)})},this.handleDestroyed=l=>{var f,p;l===\"1\"&&((f=this.listener)===null||f===void 0||f.resetAndReload(),(p=this.diagnostic)===null||p===void 0||p.log(Qd.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:this.isDestroyed,sessionIdHash:z6.Session.hash(this.session.id)}))},this.handleAccountUpdated=async l=>{var f,p;try{let h=await this.cipher.decrypt(l);(f=this.listener)===null||f===void 0||f.accountUpdated(h)}catch{(p=this.diagnostic)===null||p===void 0||p.log(Qd.EVENTS.GENERAL_ERROR,{message:\"Had error decrypting\",value:\"selectedAddress\"})}},this.handleMetadataUpdated=async(l,f)=>{var p,h;try{let y=await this.cipher.decrypt(f);(p=this.listener)===null||p===void 0||p.metadataUpdated(l,y)}catch{(h=this.diagnostic)===null||h===void 0||h.log(Qd.EVENTS.GENERAL_ERROR,{message:\"Had error decrypting\",value:l})}},this.handleWalletUsernameUpdated=async l=>{this.handleMetadataUpdated(tet.WALLET_USER_NAME_KEY,l)},this.handleAppVersionUpdated=async l=>{this.handleMetadataUpdated(tet.APP_VERSION_KEY,l)},this.handleChainUpdated=async(l,f)=>{var p,h;try{let y=await this.cipher.decrypt(l),w=await this.cipher.decrypt(f);(p=this.listener)===null||p===void 0||p.chainUpdated(y,w)}catch{(h=this.diagnostic)===null||h===void 0||h.log(Qd.EVENTS.GENERAL_ERROR,{message:\"Had error decrypting\",value:\"chainId|jsonRpcUrl\"})}},this.session=t,this.cipher=new j3t.Cipher(t.secret),this.diagnostic=o,this.listener=n;let c=new aN.WalletLinkWebSocket(`${r}/rpc`,i);c.setConnectionStateListener(async l=>{var f;(f=this.diagnostic)===null||f===void 0||f.log(Qd.EVENTS.CONNECTED_STATE_CHANGE,{state:l,sessionIdHash:z6.Session.hash(t.id)});let p=!1;switch(l){case aN.ConnectionState.DISCONNECTED:if(!this.destroyed){let h=async()=>{await new Promise(y=>setTimeout(y,5e3)),this.destroyed||c.connect().catch(()=>{h()})};h()}break;case aN.ConnectionState.CONNECTED:try{await this.authenticate(),this.sendIsLinked(),this.sendGetSessionConfig(),p=!0}catch{}this.updateLastHeartbeat(),setInterval(()=>{this.heartbeat()},ret),this.shouldFetchUnseenEventsOnConnect&&this.fetchUnseenEventsAPI();break;case aN.ConnectionState.CONNECTING:break}this.connected!==p&&(this.connected=p)}),c.setIncomingDataListener(l=>{var f,p,h;switch(l.type){case\"Heartbeat\":this.updateLastHeartbeat();return;case\"IsLinkedOK\":case\"Linked\":{let y=l.type===\"IsLinkedOK\"?l.linked:void 0;(f=this.diagnostic)===null||f===void 0||f.log(Qd.EVENTS.LINKED,{sessionIdHash:z6.Session.hash(t.id),linked:y,type:l.type,onlineGuests:l.onlineGuests}),this.linked=y||l.onlineGuests>0;break}case\"GetSessionConfigOK\":case\"SessionConfigUpdated\":{(p=this.diagnostic)===null||p===void 0||p.log(Qd.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:z6.Session.hash(t.id),metadata_keys:l&&l.metadata?Object.keys(l.metadata):void 0}),this.handleSessionMetadataUpdated(l.metadata);break}case\"Event\":{this.handleIncomingEvent(l);break}}l.id!==void 0&&((h=this.requestResolutions.get(l.id))===null||h===void 0||h(l))}),this.ws=c,this.http=new F3t.WalletLinkHTTP(r,t.id,t.key)}connect(){var t;if(this.destroyed)throw new Error(\"instance is destroyed\");(t=this.diagnostic)===null||t===void 0||t.log(Qd.EVENTS.STARTED_CONNECTING,{sessionIdHash:z6.Session.hash(this.session.id)}),this.ws.connect()}destroy(){var t;this.destroyed=!0,this.ws.disconnect(),(t=this.diagnostic)===null||t===void 0||t.log(Qd.EVENTS.DISCONNECTED,{sessionIdHash:z6.Session.hash(this.session.id)}),this.listener=void 0}get isDestroyed(){return this.destroyed}get connected(){return this._connected}set connected(t){var r,n;this._connected=t,t&&((r=this.onceConnected)===null||r===void 0||r.call(this)),(n=this.listener)===null||n===void 0||n.connectedUpdated(t)}setOnceConnected(t){return new Promise(r=>{this.connected?t().then(r):this.onceConnected=()=>{t().then(r),this.onceConnected=void 0}})}get linked(){return this._linked}set linked(t){var r,n;this._linked=t,t&&((r=this.onceLinked)===null||r===void 0||r.call(this)),(n=this.listener)===null||n===void 0||n.linkedUpdated(t)}setOnceLinked(t){return new Promise(r=>{this.linked?t().then(r):this.onceLinked=()=>{t().then(r),this.onceLinked=void 0}})}async handleIncomingEvent(t){var r,n;if(!(t.type!==\"Event\"||t.event!==\"Web3Response\"))try{let o=await this.cipher.decrypt(t.data),i=JSON.parse(o);if(i.type!==\"WEB3_RESPONSE\")return;(r=this.listener)===null||r===void 0||r.handleWeb3ResponseMessage(i)}catch{(n=this.diagnostic)===null||n===void 0||n.log(Qd.EVENTS.GENERAL_ERROR,{message:\"Had error decrypting\",value:\"incomingEvent\"})}}async checkUnseenEvents(){if(!this.connected){this.shouldFetchUnseenEventsOnConnect=!0;return}await new Promise(t=>setTimeout(t,250));try{await this.fetchUnseenEventsAPI()}catch(t){console.error(\"Unable to check for unseen events\",t)}}async fetchUnseenEventsAPI(){this.shouldFetchUnseenEventsOnConnect=!1,(await this.http.fetchUnseenEvents()).forEach(r=>this.handleIncomingEvent(r))}async setSessionMetadata(t,r){let n={type:\"SetSessionConfig\",id:(0,$6.IntNumber)(this.nextReqId++),sessionId:this.session.id,metadata:{[t]:r}};return this.setOnceConnected(async()=>{let o=await this.makeRequest(n);if(o.type===\"Fail\")throw new Error(o.error||\"failed to set session metadata\")})}async publishEvent(t,r,n=!1){let o=await this.cipher.encrypt(JSON.stringify(Object.assign(Object.assign({},r),{origin:location.origin,relaySource:window.coinbaseWalletExtension?\"injected_sdk\":\"sdk\"}))),i={type:\"PublishEvent\",id:(0,$6.IntNumber)(this.nextReqId++),sessionId:this.session.id,event:t,data:o,callWebhook:n};return this.setOnceLinked(async()=>{let c=await this.makeRequest(i);if(c.type===\"Fail\")throw new Error(c.error||\"failed to publish event\");return c.eventId})}sendData(t){this.ws.sendData(JSON.stringify(t))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>ret*2){this.ws.disconnect();return}try{this.ws.sendData(\"h\")}catch{}}async makeRequest(t,r=V3t){let n=t.id;this.sendData(t);let o;return Promise.race([new Promise((i,c)=>{o=window.setTimeout(()=>{c(new Error(`request ${n} timed out`))},r)}),new Promise(i=>{this.requestResolutions.set(n,c=>{clearTimeout(o),i(c),this.requestResolutions.delete(n)})})])}async authenticate(){let t={type:\"HostSession\",id:(0,$6.IntNumber)(this.nextReqId++),sessionId:this.session.id,sessionKey:this.session.key},r=await this.makeRequest(t);if(r.type===\"Fail\")throw new Error(r.error||\"failed to authentcate\")}sendIsLinked(){let t={type:\"IsLinked\",id:(0,$6.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(t)}sendGetSessionConfig(){let t={type:\"GetSessionConfig\",id:(0,$6.IntNumber)(this.nextReqId++),sessionId:this.session.id};this.sendData(t)}};sN.WalletLinkConnection=Tte});var oet=J(Ite=>{\"use strict\";u();Object.defineProperty(Ite,\"__esModule\",{value:!0});Ite.default=\\'@namespace svg \"http://www.w3.org/2000/svg\";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;counter-increment:none;counter-reset:none;direction:ltr;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Helvetica Neue\",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:\"\\\\\\\\201C\" \"\\\\\\\\201D\" \"\\\\\\\\2018\" \"\\\\\\\\2019\";tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset strong{font-weight:bold}.-cbwsdk-css-reset *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Helvetica Neue\",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}\\'});var Pte=J(L6=>{\"use strict\";u();var q3t=L6&&L6.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(L6,\"__esModule\",{value:!0});L6.injectCssReset=void 0;var G3t=q3t(oet());function K3t(){let e=document.createElement(\"style\");e.type=\"text/css\",e.appendChild(document.createTextNode(G3t.default)),document.documentElement.appendChild(e)}L6.injectCssReset=K3t});var qa={};an(qa,{Component:()=>N3,Fragment:()=>z3,cloneElement:()=>tCt,createContext:()=>rCt,createElement:()=>het,createRef:()=>W3t,h:()=>het,hydrate:()=>Aet,isValidElement:()=>uet,options:()=>Tn,render:()=>_et,toChildArray:()=>xet});function Yd(e,t){for(var r in t)e[r]=t[r];return e}function Ute(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function het(e,t,r){var n,o,i,c={};for(i in t)i==\"key\"?n=t[i]:i==\"ref\"?o=t[i]:c[i]=t[i];if(arguments.length>2&&(c.children=arguments.length>3?U3.call(arguments,2):r),typeof e==\"function\"&&e.defaultProps!=null)for(i in e.defaultProps)c[i]===void 0&&(c[i]=e.defaultProps[i]);return D3(e,c,n,o,null)}function D3(e,t,r,n,o){var i={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++cet,__i:-1,__u:0};return o==null&&Tn.vnode!=null&&Tn.vnode(i),i}function W3t(){return{current:null}}function z3(e){return e.children}function N3(e,t){this.props=e,this.context=t}function H6(e,t){if(t==null)return e.__?H6(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type==\"function\"?H6(e):null}function J3t(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,n=[],o=[],i=Yd({},t);i.__v=t.__v+1,Tn.vnode&&Tn.vnode(i),$te(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,n,r??H6(t),!!(32&t.__u),o),i.__v=t.__v,i.__.__k[i.__i]=i,vet(n,i,o),t.__e=t.__=null,i.__e!=r&&yet(i)}}function yet(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),yet(e)}function Mte(e){(!e.__d&&(e.__d=!0)&&C0.push(e)&&!fN.__r++||iet!=Tn.debounceRendering)&&((iet=Tn.debounceRendering)||det)(fN)}function fN(){try{for(var e,t=1;C0.length;)C0.length>t&&C0.sort(fet),e=C0.shift(),t=C0.length,J3t(e)}finally{C0.length=fN.__r=0}}function bet(e,t,r,n,o,i,c,l,f,p,h){var y,w,E,A,C,R,M,D=n&&n.__k||dN,$=t.length;for(f=Q3t(r,t,D,f,$),y=0;y<$;y++)(E=r.__k[y])!=null&&(w=E.__i!=-1&&D[E.__i]||lN,E.__i=y,R=$te(e,E,w,o,i,c,l,f,p,h),A=E.__e,E.ref&&w.ref!=E.ref&&(w.ref&&zte(w.ref,null,E),h.push(E.ref,E.__c||A,E)),C==null&&A!=null&&(C=A),(M=!!(4&E.__u))||w.__k===E.__k?(f=get(E,f,e,M),M&&w.__e&&(w.__e=null)):typeof E.type==\"function\"&&R!==void 0?f=R:A&&(f=A.nextSibling),E.__u&=-7);return r.__e=C,f}function Q3t(e,t,r,n,o){var i,c,l,f,p,h=r.length,y=h,w=0;for(e.__k=new Array(o),i=0;i<o;i++)(c=t[i])!=null&&typeof c!=\"boolean\"&&typeof c!=\"function\"?(typeof c==\"string\"||typeof c==\"number\"||typeof c==\"bigint\"||c.constructor==String?c=e.__k[i]=D3(null,c,null,null,null):$3(c)?c=e.__k[i]=D3(z3,{children:c},null,null,null):c.constructor===void 0&&c.__b>0?c=e.__k[i]=D3(c.type,c.props,c.key,c.ref?c.ref:null,c.__v):e.__k[i]=c,f=i+w,c.__=e,c.__b=e.__b+1,l=null,(p=c.__i=Y3t(c,r,f,y))!=-1&&(y--,(l=r[p])&&(l.__u|=2)),l==null||l.__v==null?(p==-1&&(o>h?w--:o<h&&w++),typeof c.type!=\"function\"&&(c.__u|=4)):p!=f&&(p==f-1?w--:p==f+1?w++:(p>f?w--:w++,c.__u|=4))):e.__k[i]=null;if(y)for(i=0;i<h;i++)(l=r[i])!=null&&(2&l.__u)==0&&(l.__e==n&&(n=H6(l)),Eet(l,l));return n}function get(e,t,r,n){var o,i;if(typeof e.type==\"function\"){for(o=e.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=e,t=get(o[i],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=H6(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function xet(e,t){return t=t||[],e==null||typeof e==\"boolean\"||($3(e)?e.some(function(r){xet(r,t)}):t.push(e)),t}function Y3t(e,t,r,n){var o,i,c,l=e.key,f=e.type,p=t[r],h=p!=null&&(2&p.__u)==0;if(p===null&&l==null||h&&l==p.key&&f==p.type)return r;if(n>(h?1:0)){for(o=r-1,i=r+1;o>=0||i<t.length;)if((p=t[c=o>=0?o--:i++])!=null&&(2&p.__u)==0&&l==p.key&&f==p.type)return c}return-1}function aet(e,t,r){t[0]==\"-\"?e.setProperty(t,r??\"\"):e[t]=r==null?\"\":typeof r!=\"number\"||Z3t.test(t)?r:r+\"px\"}function cN(e,t,r,n,o){var i,c;e:if(t==\"style\")if(typeof r==\"string\")e.style.cssText=r;else{if(typeof n==\"string\"&&(e.style.cssText=n=\"\"),n)for(t in n)r&&t in r||aet(e.style,t,\"\");if(r)for(t in r)n&&r[t]==n[t]||aet(e.style,t,r[t])}else if(t[0]==\"o\"&&t[1]==\"n\")i=t!=(t=t.replace(pet,\"$1\")),c=t.toLowerCase(),t=c in e||t==\"onFocusOut\"||t==\"onFocusIn\"?c.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n?r[M3]=n[M3]:(r[M3]=Nte,e.addEventListener(t,i?Bte:Ote,i)):e.removeEventListener(t,i?Bte:Ote,i);else{if(o==\"http://www.w3.org/2000/svg\")t=t.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(t!=\"width\"&&t!=\"height\"&&t!=\"href\"&&t!=\"list\"&&t!=\"form\"&&t!=\"tabIndex\"&&t!=\"download\"&&t!=\"rowSpan\"&&t!=\"colSpan\"&&t!=\"role\"&&t!=\"popover\"&&t in e)try{e[t]=r??\"\";break e}catch{}typeof r==\"function\"||(r==null||r===!1&&t[4]!=\"-\"?e.removeAttribute(t):e.setAttribute(t,t==\"popover\"&&r==1?\"\":r))}}function set(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t[uN]==null)t[uN]=Nte++;else if(t[uN]<r[M3])return;return r(Tn.event?Tn.event(t):t)}}}function $te(e,t,r,n,o,i,c,l,f,p){var h,y,w,E,A,C,R,M,D,$,H,V,G,K,Q,X=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(f=!!(32&r.__u),i=[l=t.__e=r.__e]),(h=Tn.__b)&&h(t);e:if(typeof X==\"function\")try{if(M=t.props,D=X.prototype&&X.prototype.render,$=(h=X.contextType)&&n[h.__c],H=h?$?$.props.value:h.__:n,r.__c?R=(y=t.__c=r.__c).__=y.__E:(D?t.__c=y=new X(M,H):(t.__c=y=new N3(M,H),y.constructor=X,y.render=eCt),$&&$.sub(y),y.state||(y.state={}),y.__n=n,w=y.__d=!0,y.__h=[],y._sb=[]),D&&y.__s==null&&(y.__s=y.state),D&&X.getDerivedStateFromProps!=null&&(y.__s==y.state&&(y.__s=Yd({},y.__s)),Yd(y.__s,X.getDerivedStateFromProps(M,y.__s))),E=y.props,A=y.state,y.__v=t,w)D&&X.getDerivedStateFromProps==null&&y.componentWillMount!=null&&y.componentWillMount(),D&&y.componentDidMount!=null&&y.__h.push(y.componentDidMount);else{if(D&&X.getDerivedStateFromProps==null&&M!==E&&y.componentWillReceiveProps!=null&&y.componentWillReceiveProps(M,H),t.__v==r.__v||!y.__e&&y.shouldComponentUpdate!=null&&y.shouldComponentUpdate(M,y.__s,H)===!1){t.__v!=r.__v&&(y.props=M,y.state=y.__s,y.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(Y){Y&&(Y.__=t)}),dN.push.apply(y.__h,y._sb),y._sb=[],y.__h.length&&c.push(y);break e}y.componentWillUpdate!=null&&y.componentWillUpdate(M,y.__s,H),D&&y.componentDidUpdate!=null&&y.__h.push(function(){y.componentDidUpdate(E,A,C)})}if(y.context=H,y.props=M,y.__P=e,y.__e=!1,V=Tn.__r,G=0,D)y.state=y.__s,y.__d=!1,V&&V(t),h=y.render(y.props,y.state,y.context),dN.push.apply(y.__h,y._sb),y._sb=[];else do y.__d=!1,V&&V(t),h=y.render(y.props,y.state,y.context),y.state=y.__s;while(y.__d&&++G<25);y.state=y.__s,y.getChildContext!=null&&(n=Yd(Yd({},n),y.getChildContext())),D&&!w&&y.getSnapshotBeforeUpdate!=null&&(C=y.getSnapshotBeforeUpdate(E,A)),K=h!=null&&h.type===z3&&h.key==null?wet(h.props.children):h,l=bet(e,$3(K)?K:[K],t,r,n,o,i,c,l,f,p),y.base=t.__e,t.__u&=-161,y.__h.length&&c.push(y),R&&(y.__E=y.__=null)}catch(Y){if(t.__v=null,f||i!=null)if(Y.then){for(t.__u|=f?160:128;l&&l.nodeType==8&&l.nextSibling;)l=l.nextSibling;i[i.indexOf(l)]=null,t.__e=l}else{for(Q=i.length;Q--;)Ute(i[Q]);Dte(t)}else t.__e=r.__e,t.__k=r.__k,Y.then||Dte(t);Tn.__e(Y,t,r)}else i==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):l=t.__e=X3t(r.__e,t,r,n,o,i,c,f,p);return(h=Tn.diffed)&&h(t),128&t.__u?void 0:l}function Dte(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(Dte))}function vet(e,t,r){for(var n=0;n<r.length;n++)zte(r[n],r[++n],r[++n]);Tn.__c&&Tn.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){Tn.__e(i,o.__v)}})}function wet(e){return typeof e!=\"object\"||e==null||e.__b>0?e:$3(e)?e.map(wet):Yd({},e)}function X3t(e,t,r,n,o,i,c,l,f){var p,h,y,w,E,A,C,R=r.props||lN,M=t.props,D=t.type;if(D==\"svg\"?o=\"http://www.w3.org/2000/svg\":D==\"math\"?o=\"http://www.w3.org/1998/Math/MathML\":o||(o=\"http://www.w3.org/1999/xhtml\"),i!=null){for(p=0;p<i.length;p++)if((E=i[p])&&\"setAttribute\"in E==!!D&&(D?E.localName==D:E.nodeType==3)){e=E,i[p]=null;break}}if(e==null){if(D==null)return document.createTextNode(M);e=document.createElementNS(o,D,M.is&&M),l&&(Tn.__m&&Tn.__m(t,i),l=!1),i=null}if(D==null)R===M||l&&e.data==M||(e.data=M);else{if(i=i&&U3.call(e.childNodes),!l&&i!=null)for(R={},p=0;p<e.attributes.length;p++)R[(E=e.attributes[p]).name]=E.value;for(p in R)E=R[p],p==\"dangerouslySetInnerHTML\"?y=E:p==\"children\"||p in M||p==\"value\"&&\"defaultValue\"in M||p==\"checked\"&&\"defaultChecked\"in M||cN(e,p,null,E,o);for(p in M)E=M[p],p==\"children\"?w=E:p==\"dangerouslySetInnerHTML\"?h=E:p==\"value\"?A=E:p==\"checked\"?C=E:l&&typeof E!=\"function\"||R[p]===E||cN(e,p,E,R[p],o);if(h)l||y&&(h.__html==y.__html||h.__html==e.innerHTML)||(e.innerHTML=h.__html),t.__k=[];else if(y&&(e.innerHTML=\"\"),bet(t.type==\"template\"?e.content:e,$3(w)?w:[w],t,r,n,D==\"foreignObject\"?\"http://www.w3.org/1999/xhtml\":o,i,c,i?i[0]:r.__k&&H6(r,0),l,f),i!=null)for(p=i.length;p--;)Ute(i[p]);l||(p=\"value\",D==\"progress\"&&A==null?e.removeAttribute(\"value\"):A!=null&&(A!==e[p]||D==\"progress\"&&!A||D==\"option\"&&A!=R[p])&&cN(e,p,A,R[p],o),p=\"checked\",C!=null&&C!=e[p]&&cN(e,p,C,R[p],o))}return e}function zte(e,t,r){try{if(typeof e==\"function\"){var n=typeof e.__u==\"function\";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(o){Tn.__e(o,r)}}function Eet(e,t,r){var n,o;if(Tn.unmount&&Tn.unmount(e),(n=e.ref)&&(n.current&&n.current!=e.__e||zte(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){Tn.__e(i,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&Eet(n[o],t,r||typeof e.type!=\"function\");r||Ute(e.__e),e.__c=e.__=e.__e=void 0}function eCt(e,t,r){return this.constructor(e,r)}function _et(e,t,r){var n,o,i,c;t==document&&(t=document.documentElement),Tn.__&&Tn.__(e,t),o=(n=typeof r==\"function\")?null:r&&r.__k||t.__k,i=[],c=[],$te(t,e=(!n&&r||t).__k=het(z3,null,[e]),o||lN,lN,t.namespaceURI,!n&&r?[r]:o?null:t.firstChild?U3.call(t.childNodes):null,i,!n&&r?r:o?o.__e:t.firstChild,n,c),vet(i,e,c)}function Aet(e,t){_et(e,t,Aet)}function tCt(e,t,r){var n,o,i,c,l=Yd({},e.props);for(i in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),t)i==\"key\"?n=t[i]:i==\"ref\"?o=t[i]:l[i]=t[i]===void 0&&c!=null?c[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?U3.call(arguments,2):r),D3(e.type,l,n||e.key,o||e.ref,null)}function rCt(e){function t(r){var n,o;return this.getChildContext||(n=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&n.forEach(function(c){c.__e=!0,Mte(c)})},this.sub=function(i){n.add(i);var c=i.componentWillUnmount;i.componentWillUnmount=function(){n&&n.delete(i),c&&c.call(i)}}),r.children}return t.__c=\"__cC\"+met++,t.__=e,t.Provider=t.__l=(t.Consumer=function(r,n){return r.children(n)}).contextType=t,t}var U3,Tn,cet,uet,C0,iet,det,fet,Rte,uN,M3,pet,Nte,Ote,Bte,met,lN,dN,Z3t,$3,ia=x(()=>{u();lN={},dN=[],Z3t=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$3=Array.isArray;U3=dN.slice,Tn={__e:function(e,t,r,n){for(var o,i,c;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),c=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),c=o.__d),c)return o.__E=o}catch(l){e=l}throw e}},cet=0,uet=function(e){return e!=null&&e.constructor===void 0},N3.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Yd({},this.state),typeof e==\"function\"&&(e=e(Yd({},r),this.props)),e&&Yd(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Mte(this))},N3.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Mte(this))},N3.prototype.render=z3,C0=[],det=typeof Promise==\"function\"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fet=function(e,t){return e.__v.__b-t.__v.__b},fN.__r=0,Rte=Math.random().toString(8),uN=\"__d\"+Rte,M3=\"__a\"+Rte,pet=/(PointerCapture)$|Capture$/i,Nte=0,Ote=set(!1),Bte=set(!0),met=0});var L3={};an(L3,{useCallback:()=>aCt,useContext:()=>sCt,useDebugValue:()=>cCt,useEffect:()=>nCt,useErrorBoundary:()=>uCt,useId:()=>lCt,useImperativeHandle:()=>iCt,useLayoutEffect:()=>Uet,useMemo:()=>jte,useReducer:()=>Net,useRef:()=>oCt,useState:()=>Det});function jg(e,t){ro.__h&&ro.__h(In,e,j6||t),j6=0;var r=In.__H||(In.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Det(e){return j6=1,Net($et,e)}function Net(e,t,r){var n=jg(Wp++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):$et(void 0,t),function(l){var f=n.__N?n.__N[0]:n.__[0],p=n.t(f,l);f!==p&&(n.__N=[p,n.__[1]],n.__c.setState({}))}],n.__c=In,!In.__f)){var o=function(l,f,p){if(!n.__c.__H)return!0;var h=n.__c.__H.__.filter(function(w){return w.__c});if(h.every(function(w){return!w.__N}))return!i||i.call(this,l,f,p);var y=n.__c.props!==l;return h.some(function(w){if(w.__N){var E=w.__[0];w.__=w.__N,w.__N=void 0,E!==w.__[0]&&(y=!0)}}),i&&i.call(this,l,f,p)||y};In.__f=!0;var i=In.shouldComponentUpdate,c=In.componentWillUpdate;In.componentWillUpdate=function(l,f,p){if(this.__e){var h=i;i=void 0,o(l,f,p),i=h}c&&c.call(this,l,f,p)},In.shouldComponentUpdate=o}return n.__N||n.__}function nCt(e,t){var r=jg(Wp++,3);!ro.__s&&Fte(r.__H,t)&&(r.__=e,r.u=t,In.__H.__h.push(r))}function Uet(e,t){var r=jg(Wp++,4);!ro.__s&&Fte(r.__H,t)&&(r.__=e,r.u=t,In.__h.push(r))}function oCt(e){return j6=5,jte(function(){return{current:e}},[])}function iCt(e,t,r){j6=6,Uet(function(){if(typeof e==\"function\"){var n=e(t());return function(){e(null),n&&typeof n==\"function\"&&n()}}if(e)return e.current=t(),function(){return e.current=null}},r==null?r:r.concat(e))}function jte(e,t){var r=jg(Wp++,7);return Fte(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function aCt(e,t){return j6=8,jte(function(){return e},t)}function sCt(e){var t=In.context[e.__c],r=jg(Wp++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(In)),t.props.value):e.__}function cCt(e,t){ro.useDebugValue&&ro.useDebugValue(t?t(e):e)}function uCt(e){var t=jg(Wp++,10),r=Det();return t.__=e,In.componentDidCatch||(In.componentDidCatch=function(n,o){t.__&&t.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function lCt(){var e=jg(Wp++,11);if(!e.__){for(var t=In.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__=\"P\"+r[0]+\"-\"+r[1]++}return e.__}function dCt(){for(var e;e=Met.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(pN),t.__h.some(Hte),t.__h=[]}catch(r){t.__h=[],ro.__e(r,e.__v)}}}function fCt(e){var t,r=function(){clearTimeout(n),Bet&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);Bet&&(t=requestAnimationFrame(r))}function pN(e){var t=In,r=e.__c;typeof r==\"function\"&&(e.__c=void 0,r()),In=t}function Hte(e){var t=In;e.__c=e.__(),In=t}function Fte(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function $et(e,t){return typeof t==\"function\"?t(e):t}var Wp,In,Lte,ket,j6,Met,ro,Cet,Tet,Iet,Pet,Ret,Oet,Bet,H3=x(()=>{u();ia();j6=0,Met=[],ro=Tn,Cet=ro.__b,Tet=ro.__r,Iet=ro.diffed,Pet=ro.__c,Ret=ro.unmount,Oet=ro.__;ro.__b=function(e){In=null,Cet&&Cet(e)},ro.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Oet&&Oet(e,t)},ro.__r=function(e){Tet&&Tet(e),Wp=0;var t=(In=e.__c).__H;t&&(Lte===In?(t.__h=[],In.__h=[],t.__.some(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.some(pN),t.__h.some(Hte),t.__h=[],Wp=0)),Lte=In},ro.diffed=function(e){Iet&&Iet(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Met.push(t)!==1&&ket===ro.requestAnimationFrame||((ket=ro.requestAnimationFrame)||fCt)(dCt)),t.__H.__.some(function(r){r.u&&(r.__H=r.u),r.u=void 0})),Lte=In=null},ro.__c=function(e,t){t.some(function(r){try{r.__h.some(pN),r.__h=r.__h.filter(function(n){return!n.__||Hte(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ro.__e(n,r.__v)}}),Pet&&Pet(e,t)},ro.unmount=function(e){Ret&&Ret(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(n){try{pN(n)}catch(o){t=o}}),r.__H=void 0,t&&ro.__e(t,r.__v))};Bet=typeof requestAnimationFrame==\"function\"});var Let=J(mN=>{\"use strict\";u();Object.defineProperty(mN,\"__esModule\",{value:!0});mN.CloseIcon=void 0;var zet=(ia(),Fr(qa));function pCt(e){return(0,zet.h)(\"svg\",Object.assign({width:\"40\",height:\"40\",viewBox:\"0 0 40 40\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},e),(0,zet.h)(\"path\",{d:\"M13.7677 13L12.3535 14.4142L18.3535 20.4142L12.3535 26.4142L13.7677 27.8284L19.7677 21.8284L25.7677 27.8284L27.1819 26.4142L21.1819 20.4142L27.1819 14.4142L25.7677 13L19.7677 19L13.7677 13Z\"}))}mN.CloseIcon=pCt});var Het=J(yN=>{\"use strict\";u();Object.defineProperty(yN,\"__esModule\",{value:!0});yN.CoinbaseWalletRound=void 0;var hN=(ia(),Fr(qa));function mCt(e){return(0,hN.h)(\"svg\",Object.assign({width:\"28\",height:\"28\",viewBox:\"0 0 28 28\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},e),(0,hN.h)(\"circle\",{cx:\"14\",cy:\"14\",r:\"14\",fill:\"#0052FF\"}),(0,hN.h)(\"path\",{d:\"M23.8521 14.0003C23.8521 19.455 19.455 23.8521 14.0003 23.8521C8.54559 23.8521 4.14844 19.455 4.14844 14.0003C4.14844 8.54559 8.54559 4.14844 14.0003 4.14844C19.455 4.14844 23.8521 8.54559 23.8521 14.0003Z\",fill:\"white\"}),(0,hN.h)(\"path\",{d:\"M11.1855 12.5042C11.1855 12.0477 11.1855 11.7942 11.2835 11.642C11.3814 11.4899 11.4793 11.3377 11.6261 11.287C11.8219 11.1855 12.0178 11.1855 12.5073 11.1855H15.4934C15.983 11.1855 16.1788 11.1855 16.3746 11.287C16.5215 11.3884 16.6683 11.4899 16.7173 11.642C16.8152 11.8449 16.8152 12.0477 16.8152 12.5042V15.4965C16.8152 15.953 16.8152 16.2066 16.7173 16.3587C16.6194 16.5109 16.5215 16.663 16.3746 16.7137C16.1788 16.8152 15.983 16.8152 15.4934 16.8152H12.5073C12.0178 16.8152 11.8219 16.8152 11.6261 16.7137C11.4793 16.6123 11.3324 16.5109 11.2835 16.3587C11.1855 16.1558 11.1855 15.953 11.1855 15.4965V12.5042Z\",fill:\"#0052FF\"}))}yN.CoinbaseWalletRound=mCt});var jet=J(bN=>{\"use strict\";u();Object.defineProperty(bN,\"__esModule\",{value:!0});bN.QRCodeIcon=void 0;var j3=(ia(),Fr(qa));function hCt(e){return(0,j3.h)(\"svg\",Object.assign({width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",xmlns:\"http://www.w3.org/2000/svg\"},e),(0,j3.h)(\"path\",{d:\"M3 3V8.99939L5 8.99996V5H9V3H3Z\"}),(0,j3.h)(\"path\",{d:\"M15 21L21 21V15.0006L19 15V19L15 19V21Z\"}),(0,j3.h)(\"path\",{d:\"M21 9H19V5H15.0006L15 3H21V9Z\"}),(0,j3.h)(\"path\",{d:\"M3 15V21H8.99939L8.99996 19H5L5 15H3Z\"}))}bN.QRCodeIcon=hCt});var Ket=J((kRn,Get)=>{u();function Fet(e){this.mode=hc.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,r=this.data.length;t<r;t++){var n=[],o=this.data.charCodeAt(t);o>65536?(n[0]=240|(o&1835008)>>>18,n[1]=128|(o&258048)>>>12,n[2]=128|(o&4032)>>>6,n[3]=128|o&63):o>2048?(n[0]=224|(o&61440)>>>12,n[1]=128|(o&4032)>>>6,n[2]=128|o&63):o>128?(n[0]=192|(o&1984)>>>6,n[1]=128|o&63):n[0]=o,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}Fet.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,r=this.parsedData.length;t<r;t++)e.put(this.parsedData[t],8)}};function ef(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}ef.prototype={addData:function(e){var t=new Fet(e);this.dataList.push(t),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+\",\"+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=this.typeNumber*4+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),this.dataCache==null&&(this.dataCache=ef.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1||this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(0<=r&&r<=6&&(n==0||n==6)||0<=n&&n<=6&&(r==0||r==6)||2<=r&&r<=4&&2<=n&&n<=4?this.modules[e+r][t+n]=!0:this.modules[e+r][t+n]=!1)},getBestMaskPattern:function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=no.getLostPoint(this);(r==0||e>n)&&(e=n,t=r)}return t},createMovieClip:function(e,t,r){var n=e.createEmptyMovieClip(t,r),o=1;this.make();for(var i=0;i<this.modules.length;i++)for(var c=i*o,l=0;l<this.modules[i].length;l++){var f=l*o,p=this.modules[i][l];p&&(n.beginFill(0,100),n.moveTo(f,c),n.lineTo(f+o,c),n.lineTo(f+o,c+o),n.lineTo(f,c+o),n.endFill())}return n},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)this.modules[e][6]==null&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)this.modules[6][t]==null&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=no.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],o=e[r];if(this.modules[n][o]==null)for(var i=-2;i<=2;i++)for(var c=-2;c<=2;c++)i==-2||i==2||c==-2||c==2||i==0&&c==0?this.modules[n+i][o+c]=!0:this.modules[n+i][o+c]=!1}},setupTypeNumber:function(e){for(var t=no.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&(t>>r&1)==1;this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(var r=0;r<18;r++){var n=!e&&(t>>r&1)==1;this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},setupTypeInfo:function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=no.getBCHTypeInfo(r),o=0;o<15;o++){var i=!e&&(n>>o&1)==1;o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(var o=0;o<15;o++){var i=!e&&(n>>o&1)==1;o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var r=-1,n=this.moduleCount-1,o=7,i=0,c=this.moduleCount-1;c>0;c-=2)for(c==6&&c--;;){for(var l=0;l<2;l++)if(this.modules[n][c-l]==null){var f=!1;i<e.length&&(f=(e[i]>>>o&1)==1);var p=no.getMask(t,n,c-l);p&&(f=!f),this.modules[n][c-l]=f,o--,o==-1&&(i++,o=7)}if(n+=r,n<0||this.moduleCount<=n){n-=r,r=-r;break}}}};ef.PAD0=236;ef.PAD1=17;ef.createData=function(e,t,r){for(var n=Xd.getRSBlocks(e,t),o=new Vet,i=0;i<r.length;i++){var c=r[i];o.put(c.mode,4),o.put(c.getLength(),no.getLengthInBits(c.mode,e)),c.write(o)}for(var l=0,i=0;i<n.length;i++)l+=n[i].dataCount;if(o.getLengthInBits()>l*8)throw new Error(\"code length overflow. (\"+o.getLengthInBits()+\">\"+l*8+\")\");for(o.getLengthInBits()+4<=l*8&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=l*8||(o.put(ef.PAD0,8),o.getLengthInBits()>=l*8));)o.put(ef.PAD1,8);return ef.createBytes(o,n)};ef.createBytes=function(e,t){for(var r=0,n=0,o=0,i=new Array(t.length),c=new Array(t.length),l=0;l<t.length;l++){var f=t[l].dataCount,p=t[l].totalCount-f;n=Math.max(n,f),o=Math.max(o,p),i[l]=new Array(f);for(var h=0;h<i[l].length;h++)i[l][h]=255&e.buffer[h+r];r+=f;var y=no.getErrorCorrectPolynomial(p),w=new F6(i[l],y.getLength()-1),E=w.mod(y);c[l]=new Array(y.getLength()-1);for(var h=0;h<c[l].length;h++){var A=h+E.getLength()-c[l].length;c[l][h]=A>=0?E.get(A):0}}for(var C=0,h=0;h<t.length;h++)C+=t[h].totalCount;for(var R=new Array(C),M=0,h=0;h<n;h++)for(var l=0;l<t.length;l++)h<i[l].length&&(R[M++]=i[l][h]);for(var h=0;h<o;h++)for(var l=0;l<t.length;l++)h<c[l].length&&(R[M++]=c[l][h]);return R};var hc={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},I0={L:1,M:0,Q:3,H:2},T0={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},no={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;no.getBCHDigit(t)-no.getBCHDigit(no.G15)>=0;)t^=no.G15<<no.getBCHDigit(t)-no.getBCHDigit(no.G15);return(e<<10|t)^no.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;no.getBCHDigit(t)-no.getBCHDigit(no.G18)>=0;)t^=no.G18<<no.getBCHDigit(t)-no.getBCHDigit(no.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;e!=0;)t++,e>>>=1;return t},getPatternPosition:function(e){return no.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case T0.PATTERN000:return(t+r)%2==0;case T0.PATTERN001:return t%2==0;case T0.PATTERN010:return r%3==0;case T0.PATTERN011:return(t+r)%3==0;case T0.PATTERN100:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case T0.PATTERN101:return t*r%2+t*r%3==0;case T0.PATTERN110:return(t*r%2+t*r%3)%2==0;case T0.PATTERN111:return(t*r%3+(t+r)%2)%2==0;default:throw new Error(\"bad maskPattern:\"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new F6([1],0),r=0;r<e;r++)t=t.multiply(new F6([1,gi.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case hc.MODE_NUMBER:return 10;case hc.MODE_ALPHA_NUM:return 9;case hc.MODE_8BIT_BYTE:return 8;case hc.MODE_KANJI:return 8;default:throw new Error(\"mode:\"+e)}else if(t<27)switch(e){case hc.MODE_NUMBER:return 12;case hc.MODE_ALPHA_NUM:return 11;case hc.MODE_8BIT_BYTE:return 16;case hc.MODE_KANJI:return 10;default:throw new Error(\"mode:\"+e)}else if(t<41)switch(e){case hc.MODE_NUMBER:return 14;case hc.MODE_ALPHA_NUM:return 13;case hc.MODE_8BIT_BYTE:return 16;case hc.MODE_KANJI:return 12;default:throw new Error(\"mode:\"+e)}else throw new Error(\"type:\"+t)},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var o=0;o<t;o++){for(var i=0,c=e.isDark(n,o),l=-1;l<=1;l++)if(!(n+l<0||t<=n+l))for(var f=-1;f<=1;f++)o+f<0||t<=o+f||l==0&&f==0||c==e.isDark(n+l,o+f)&&i++;i>5&&(r+=3+i-5)}for(var n=0;n<t-1;n++)for(var o=0;o<t-1;o++){var p=0;e.isDark(n,o)&&p++,e.isDark(n+1,o)&&p++,e.isDark(n,o+1)&&p++,e.isDark(n+1,o+1)&&p++,(p==0||p==4)&&(r+=3)}for(var n=0;n<t;n++)for(var o=0;o<t-6;o++)e.isDark(n,o)&&!e.isDark(n,o+1)&&e.isDark(n,o+2)&&e.isDark(n,o+3)&&e.isDark(n,o+4)&&!e.isDark(n,o+5)&&e.isDark(n,o+6)&&(r+=40);for(var o=0;o<t;o++)for(var n=0;n<t-6;n++)e.isDark(n,o)&&!e.isDark(n+1,o)&&e.isDark(n+2,o)&&e.isDark(n+3,o)&&e.isDark(n+4,o)&&!e.isDark(n+5,o)&&e.isDark(n+6,o)&&(r+=40);for(var h=0,o=0;o<t;o++)for(var n=0;n<t;n++)e.isDark(n,o)&&h++;var y=Math.abs(100*h/t/t-50)/5;return r+=y*10,r}},gi={glog:function(e){if(e<1)throw new Error(\"glog(\"+e+\")\");return gi.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return gi.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(jo=0;jo<8;jo++)gi.EXP_TABLE[jo]=1<<jo;var jo;for(jo=8;jo<256;jo++)gi.EXP_TABLE[jo]=gi.EXP_TABLE[jo-4]^gi.EXP_TABLE[jo-5]^gi.EXP_TABLE[jo-6]^gi.EXP_TABLE[jo-8];var jo;for(jo=0;jo<255;jo++)gi.LOG_TABLE[gi.EXP_TABLE[jo]]=jo;var jo;function F6(e,t){if(e.length==null)throw new Error(e.length+\"/\"+t);for(var r=0;r<e.length&&e[r]==0;)r++;this.num=new Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}F6.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var n=0;n<e.getLength();n++)t[r+n]^=gi.gexp(gi.glog(this.get(r))+gi.glog(e.get(n)));return new F6(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=gi.glog(this.get(0))-gi.glog(e.get(0)),r=new Array(this.getLength()),n=0;n<this.getLength();n++)r[n]=this.get(n);for(var n=0;n<e.getLength();n++)r[n]^=gi.gexp(gi.glog(e.get(n))+t);return new F6(r,0).mod(e)}};function Xd(e,t){this.totalCount=e,this.dataCount=t}Xd.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];Xd.getRSBlocks=function(e,t){var r=Xd.getRsBlockTable(e,t);if(r==null)throw new Error(\"bad rs block @ typeNumber:\"+e+\"/errorCorrectLevel:\"+t);for(var n=r.length/3,o=[],i=0;i<n;i++)for(var c=r[i*3+0],l=r[i*3+1],f=r[i*3+2],p=0;p<c;p++)o.push(new Xd(l,f));return o};Xd.getRsBlockTable=function(e,t){switch(t){case I0.L:return Xd.RS_BLOCK_TABLE[(e-1)*4+0];case I0.M:return Xd.RS_BLOCK_TABLE[(e-1)*4+1];case I0.Q:return Xd.RS_BLOCK_TABLE[(e-1)*4+2];case I0.H:return Xd.RS_BLOCK_TABLE[(e-1)*4+3];default:return}};function Vet(){this.buffer=[],this.length=0}Vet.prototype={get:function(e){var t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)==1},put:function(e,t){for(var r=0;r<t;r++)this.putBit((e>>>t-r-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Vte=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function qet(e){var t=this;if(this.options={padding:4,width:256,height:256,typeNumber:4,color:\"#000000\",background:\"#ffffff\",ecl:\"M\",image:{svg:\"\",width:0,height:0}},typeof e==\"string\"&&(e={content:e}),e)for(var r in e)this.options[r]=e[r];if(typeof this.options.content!=\"string\")throw new Error(\"Expected \\'content\\' as string!\");if(this.options.content.length===0)throw new Error(\"Expected \\'content\\' to be non-empty!\");if(!(this.options.padding>=0))throw new Error(\"Expected \\'padding\\' value to be non-negative!\");if(!(this.options.width>0)||!(this.options.height>0))throw new Error(\"Expected \\'width\\' or \\'height\\' value to be higher than zero!\");function n(p){switch(p){case\"L\":return I0.L;case\"M\":return I0.M;case\"Q\":return I0.Q;case\"H\":return I0.H;default:throw new Error(\"Unknwon error correction level: \"+p)}}function o(p,h){for(var y=i(p),w=1,E=0,A=0,C=Vte.length;A<=C;A++){var R=Vte[A];if(!R)throw new Error(\"Content too long: expected \"+E+\" but got \"+y);switch(h){case\"L\":E=R[0];break;case\"M\":E=R[1];break;case\"Q\":E=R[2];break;case\"H\":E=R[3];break;default:throw new Error(\"Unknwon error correction level: \"+h)}if(y<=E)break;w++}if(w>Vte.length)throw new Error(\"Content too long\");return w}function i(p){var h=encodeURI(p).toString().replace(/\\\\%[0-9a-fA-F]{2}/g,\"a\");return h.length+(h.length!=p?3:0)}var c=this.options.content,l=o(c,this.options.ecl),f=n(this.options.ecl);this.qrcode=new ef(l,f),this.qrcode.addData(c),this.qrcode.make()}qet.prototype.svg=function(e){var t=this.options||{},r=this.qrcode.modules;typeof e>\"u\"&&(e={container:t.container||\"svg\"});for(var n=typeof t.pretty<\"u\"?!!t.pretty:!0,o=n?\"  \":\"\",i=n?`\\\\r\\n`:\"\",c=t.width,l=t.height,f=r.length,p=c/(f+2*t.padding),h=l/(f+2*t.padding),y=typeof t.join<\"u\"?!!t.join:!1,w=typeof t.swap<\"u\"?!!t.swap:!1,E=typeof t.xmlDeclaration<\"u\"?!!t.xmlDeclaration:!0,A=typeof t.predefined<\"u\"?!!t.predefined:!1,C=A?o+\\'<defs><path id=\"qrmodule\" d=\"M0 0 h\\'+h+\" v\"+p+\\' H0 z\" style=\"fill:\\'+t.color+\\';shape-rendering:crispEdges;\" /></defs>\\'+i:\"\",R=o+\\'<rect x=\"0\" y=\"0\" width=\"\\'+c+\\'\" height=\"\\'+l+\\'\" style=\"fill:\\'+t.background+\\';shape-rendering:crispEdges;\"/>\\'+i,M=\"\",D=\"\",$=0;$<f;$++)for(var H=0;H<f;H++){var V=r[H][$];if(V){var G=H*p+t.padding*p,K=$*h+t.padding*h;if(w){var Q=G;G=K,K=Q}if(y){var X=p+G,Y=h+K;G=Number.isInteger(G)?Number(G):G.toFixed(2),K=Number.isInteger(K)?Number(K):K.toFixed(2),X=Number.isInteger(X)?Number(X):X.toFixed(2),Y=Number.isInteger(Y)?Number(Y):Y.toFixed(2),D+=\"M\"+G+\",\"+K+\" V\"+Y+\" H\"+X+\" V\"+K+\" H\"+G+\" Z \"}else A?M+=o+\\'<use x=\"\\'+G.toString()+\\'\" y=\"\\'+K.toString()+\\'\" href=\"#qrmodule\" />\\'+i:M+=o+\\'<rect x=\"\\'+G.toString()+\\'\" y=\"\\'+K.toString()+\\'\" width=\"\\'+p+\\'\" height=\"\\'+h+\\'\" style=\"fill:\\'+t.color+\\';shape-rendering:crispEdges;\"/>\\'+i}}y&&(M=o+\\'<path x=\"0\" y=\"0\" style=\"fill:\\'+t.color+\\';shape-rendering:crispEdges;\" d=\"\\'+D+\\'\" />\\');let fe=\"\";if(this.options.image!==void 0&&this.options.image.svg){let N=c*this.options.image.width/100,_=l*this.options.image.height/100,k=c/2-N/2,O=l/2-_/2;fe+=`<svg x=\"${k}\" y=\"${O}\" width=\"${N}\" height=\"${_}\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"xMinYMin meet\">`,fe+=this.options.image.svg+i,fe+=\"</svg>\"}var ce=\"\";switch(e.container){case\"svg\":E&&(ce+=\\'<?xml version=\"1.0\" standalone=\"yes\"?>\\'+i),ce+=\\'<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"\\'+c+\\'\" height=\"\\'+l+\\'\">\\'+i,ce+=C+R+M,ce+=fe,ce+=\"</svg>\";break;case\"svg-viewbox\":E&&(ce+=\\'<?xml version=\"1.0\" standalone=\"yes\"?>\\'+i),ce+=\\'<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 \\'+c+\" \"+l+\\'\">\\'+i,ce+=C+R+M,ce+=fe,ce+=\"</svg>\";break;case\"g\":ce+=\\'<g width=\"\\'+c+\\'\" height=\"\\'+l+\\'\">\\'+i,ce+=C+R+M,ce+=fe,ce+=\"</g>\";break;default:ce+=(C+R+M+fe).replace(/^\\\\s+/,\"\");break}return ce};Get.exports=qet});var Wet=J(V6=>{\"use strict\";u();var yCt=V6&&V6.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(V6,\"__esModule\",{value:!0});V6.QRCode=void 0;var bCt=(ia(),Fr(qa)),Zet=(H3(),Fr(L3)),gCt=yCt(Ket()),xCt=e=>{let[t,r]=(0,Zet.useState)(\"\");return(0,Zet.useEffect)(()=>{var n,o;let i=new gCt.default({content:e.content,background:e.bgColor||\"#ffffff\",color:e.fgColor||\"#000000\",container:\"svg\",ecl:\"M\",width:(n=e.width)!==null&&n!==void 0?n:256,height:(o=e.height)!==null&&o!==void 0?o:256,padding:0,image:e.image}),c=globalThis.Buffer.from(i.svg(),\"utf8\").toString(\"base64\");r(`data:image/svg+xml;base64,${c}`)},[e.bgColor,e.content,e.fgColor,e.height,e.image,e.width]),t?(0,bCt.h)(\"img\",{src:t,alt:\"QR Code\"}):null};V6.QRCode=xCt});var Jet=J(qte=>{\"use strict\";u();Object.defineProperty(qte,\"__esModule\",{value:!0});qte.default=\".-cbwsdk-css-reset .-cbwsdk-spinner{display:inline-block}.-cbwsdk-css-reset .-cbwsdk-spinner svg{display:inline-block;animation:2s linear infinite -cbwsdk-spinner-svg}.-cbwsdk-css-reset .-cbwsdk-spinner svg circle{animation:1.9s ease-in-out infinite both -cbwsdk-spinner-circle;display:block;fill:rgba(0,0,0,0);stroke-dasharray:283;stroke-dashoffset:280;stroke-linecap:round;stroke-width:10px;transform-origin:50% 50%}@keyframes -cbwsdk-spinner-svg{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}@keyframes -cbwsdk-spinner-circle{0%,25%{stroke-dashoffset:280;transform:rotate(0)}50%,75%{stroke-dashoffset:75;transform:rotate(45deg)}100%{stroke-dashoffset:280;transform:rotate(360deg)}}\"});var Qet=J(q6=>{\"use strict\";u();var vCt=q6&&q6.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(q6,\"__esModule\",{value:!0});q6.Spinner=void 0;var gN=(ia(),Fr(qa)),wCt=vCt(Jet()),ECt=e=>{var t;let r=(t=e.size)!==null&&t!==void 0?t:64,n=e.color||\"#000\";return(0,gN.h)(\"div\",{class:\"-cbwsdk-spinner\"},(0,gN.h)(\"style\",null,wCt.default),(0,gN.h)(\"svg\",{viewBox:\"0 0 100 100\",xmlns:\"http://www.w3.org/2000/svg\",style:{width:r,height:r}},(0,gN.h)(\"circle\",{style:{cx:50,cy:50,r:45,stroke:n}})))};q6.Spinner=ECt});var Yet=J(Gte=>{\"use strict\";u();Object.defineProperty(Gte,\"__esModule\",{value:!0});Gte.default=\".-cbwsdk-css-reset .-cbwsdk-connect-content{height:430px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-connect-content.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading{font-style:normal;font-weight:500;font-size:28px;line-height:36px;margin:0}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-layout{display:flex;flex-direction:row}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-left{margin-right:30px;display:flex;flex-direction:column;justify-content:space-between}.-cbwsdk-css-reset .-cbwsdk-connect-content-column-right{flex:25%;margin-right:34px}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-wrapper{width:220px;height:220px;border-radius:12px;display:flex;justify-content:center;align-items:center;background:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light{background-color:rgba(255,255,255,.95)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.light>p{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark{background-color:rgba(10,11,13,.9)}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting.dark>p{color:#fff}.-cbwsdk-css-reset .-cbwsdk-connect-content-qr-connecting>p{font-size:12px;font-weight:bold;margin-top:16px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app{border-radius:8px;font-size:14px;line-height:20px;padding:12px;width:339px}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.light{background:#eef0f3;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-connect-content-update-app.dark{background:#1e2025;color:#8a919e}.-cbwsdk-css-reset .-cbwsdk-cancel-button{-webkit-appearance:none;border:none;background:none;cursor:pointer;padding:0;margin:0}.-cbwsdk-css-reset .-cbwsdk-cancel-button-x{position:relative;display:block;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-wallet-steps{padding:0 0 0 16px;margin:0;width:100%;list-style:decimal}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item{list-style-type:decimal;display:list-item;font-style:normal;font-weight:400;font-size:16px;line-height:24px;margin-top:20px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-item-wrapper{display:flex;align-items:center}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-pad-left{margin-left:6px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon{display:flex;border-radius:50%;height:24px;width:24px}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.light{background:#0052ff}.-cbwsdk-css-reset .-cbwsdk-wallet-steps-icon.dark{background:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item{align-items:center;display:flex;flex-direction:row;padding:16px 24px;gap:12px;cursor:pointer;border-radius:100px;font-weight:600}.-cbwsdk-css-reset .-cbwsdk-connect-item.light{background:#f5f8ff;color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-connect-item.dark{background:#001033;color:#588af5}.-cbwsdk-css-reset .-cbwsdk-connect-item-copy-wrapper{margin:0 4px 0 8px}.-cbwsdk-css-reset .-cbwsdk-connect-item-title{margin:0 0 0;font-size:16px;line-height:24px;font-weight:500}.-cbwsdk-css-reset .-cbwsdk-connect-item-description{font-weight:400;font-size:14px;line-height:20px;margin:0}\"});var ttt=J(P0=>{\"use strict\";u();var Xet=P0&&P0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(P0,\"__esModule\",{value:!0});P0.CoinbaseWalletSteps=P0.ConnectContent=void 0;var Fg=Xet((h0(),Fr(C2))),kr=(ia(),Fr(qa)),_Ct=Kd(),SCt=ID(),ACt=Let(),kCt=Het(),CCt=jet(),TCt=Wet(),ICt=Qet(),PCt=Xet(Yet()),Kte={title:\"Coinbase Wallet app\",description:\"Connect with your self-custody wallet\",steps:ett},RCt=e=>e===\"light\"?\"#FFFFFF\":\"#0A0B0D\";function OCt(e){let{theme:t}=e,r=(0,_Ct.createQrUrl)(e.sessionId,e.sessionSecret,e.linkAPIUrl,e.isParentConnection,e.version,e.chainId),n=Kte.steps;return(0,kr.h)(\"div\",{\"data-testid\":\"connect-content\",className:(0,Fg.default)(\"-cbwsdk-connect-content\",t)},(0,kr.h)(\"style\",null,PCt.default),(0,kr.h)(\"div\",{className:\"-cbwsdk-connect-content-header\"},(0,kr.h)(\"h2\",{className:(0,Fg.default)(\"-cbwsdk-connect-content-heading\",t)},\"Scan to connect with our mobile app\"),e.onCancel&&(0,kr.h)(\"button\",{type:\"button\",className:\"-cbwsdk-cancel-button\",onClick:e.onCancel},(0,kr.h)(ACt.CloseIcon,{fill:t===\"light\"?\"#0A0B0D\":\"#FFFFFF\"}))),(0,kr.h)(\"div\",{className:\"-cbwsdk-connect-content-layout\"},(0,kr.h)(\"div\",{className:\"-cbwsdk-connect-content-column-left\"},(0,kr.h)(BCt,{title:Kte.title,description:Kte.description,theme:t})),(0,kr.h)(\"div\",{className:\"-cbwsdk-connect-content-column-right\"},(0,kr.h)(\"div\",{className:\"-cbwsdk-connect-content-qr-wrapper\"},(0,kr.h)(TCt.QRCode,{content:r,width:200,height:200,fgColor:\"#000\",bgColor:\"transparent\"}),(0,kr.h)(\"input\",{type:\"hidden\",name:\"cbw-cbwsdk-version\",value:SCt.LIB_VERSION}),(0,kr.h)(\"input\",{type:\"hidden\",value:r})),(0,kr.h)(n,{theme:t}),!e.isConnected&&(0,kr.h)(\"div\",{\"data-testid\":\"connecting-spinner\",className:(0,Fg.default)(\"-cbwsdk-connect-content-qr-connecting\",t)},(0,kr.h)(ICt.Spinner,{size:36,color:t===\"dark\"?\"#FFF\":\"#000\"}),(0,kr.h)(\"p\",null,\"Connecting...\")))))}P0.ConnectContent=OCt;function BCt({title:e,description:t,theme:r}){return(0,kr.h)(\"div\",{className:(0,Fg.default)(\"-cbwsdk-connect-item\",r)},(0,kr.h)(\"div\",null,(0,kr.h)(kCt.CoinbaseWalletRound,null)),(0,kr.h)(\"div\",{className:\"-cbwsdk-connect-item-copy-wrapper\"},(0,kr.h)(\"h3\",{className:\"-cbwsdk-connect-item-title\"},e),(0,kr.h)(\"p\",{className:\"-cbwsdk-connect-item-description\"},t)))}function ett({theme:e}){return(0,kr.h)(\"ol\",{className:\"-cbwsdk-wallet-steps\"},(0,kr.h)(\"li\",{className:(0,Fg.default)(\"-cbwsdk-wallet-steps-item\",e)},(0,kr.h)(\"div\",{className:\"-cbwsdk-wallet-steps-item-wrapper\"},\"Open Coinbase Wallet app\")),(0,kr.h)(\"li\",{className:(0,Fg.default)(\"-cbwsdk-wallet-steps-item\",e)},(0,kr.h)(\"div\",{className:\"-cbwsdk-wallet-steps-item-wrapper\"},(0,kr.h)(\"span\",null,\"Tap \",(0,kr.h)(\"strong\",null,\"Scan\"),\" \"),(0,kr.h)(\"span\",{className:(0,Fg.default)(\"-cbwsdk-wallet-steps-pad-left\",\"-cbwsdk-wallet-steps-icon\",e)},(0,kr.h)(CCt.QRCodeIcon,{fill:RCt(e)})))))}P0.CoinbaseWalletSteps=ett});var ntt=J(xN=>{\"use strict\";u();Object.defineProperty(xN,\"__esModule\",{value:!0});xN.ArrowLeftIcon=void 0;var rtt=(ia(),Fr(qa));function MCt(e){return(0,rtt.h)(\"svg\",Object.assign({width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",xmlns:\"http://www.w3.org/2000/svg\"},e),(0,rtt.h)(\"path\",{d:\"M8.60675 0.155884L7.37816 1.28209L12.7723 7.16662H0V8.83328H12.6548L6.82149 14.6666L8 15.8451L15.8201 8.02501L8.60675 0.155884Z\"}))}xN.ArrowLeftIcon=MCt});var ott=J(vN=>{\"use strict\";u();Object.defineProperty(vN,\"__esModule\",{value:!0});vN.LaptopIcon=void 0;var Zte=(ia(),Fr(qa));function DCt(e){return(0,Zte.h)(\"svg\",Object.assign({width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",xmlns:\"http://www.w3.org/2000/svg\"},e),(0,Zte.h)(\"path\",{d:\"M1.8001 2.2002H12.2001V9.40019H1.8001V2.2002ZM3.4001 3.8002V7.80019H10.6001V3.8002H3.4001Z\"}),(0,Zte.h)(\"path\",{d:\"M13.4001 10.2002H0.600098C0.600098 11.0838 1.31644 11.8002 2.2001 11.8002H11.8001C12.6838 11.8002 13.4001 11.0838 13.4001 10.2002Z\"}))}vN.LaptopIcon=DCt});var att=J(wN=>{\"use strict\";u();Object.defineProperty(wN,\"__esModule\",{value:!0});wN.SafeIcon=void 0;var itt=(ia(),Fr(qa));function NCt(e){return(0,itt.h)(\"svg\",Object.assign({width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",xmlns:\"http://www.w3.org/2000/svg\"},e),(0,itt.h)(\"path\",{\"fill-rule\":\"evenodd\",\"clip-rule\":\"evenodd\",d:\"M0.600098 0.600098V11.8001H13.4001V0.600098H0.600098ZM7.0001 9.2001C5.3441 9.2001 4.0001 7.8561 4.0001 6.2001C4.0001 4.5441 5.3441 3.2001 7.0001 3.2001C8.6561 3.2001 10.0001 4.5441 10.0001 6.2001C10.0001 7.8561 8.6561 9.2001 7.0001 9.2001ZM0.600098 12.6001H3.8001V13.4001H0.600098V12.6001ZM10.2001 12.6001H13.4001V13.4001H10.2001V12.6001ZM8.8001 6.2001C8.8001 7.19421 7.99421 8.0001 7.0001 8.0001C6.00598 8.0001 5.2001 7.19421 5.2001 6.2001C5.2001 5.20598 6.00598 4.4001 7.0001 4.4001C7.99421 4.4001 8.8001 5.20598 8.8001 6.2001Z\"}))}wN.SafeIcon=NCt});var stt=J(Wte=>{\"use strict\";u();Object.defineProperty(Wte,\"__esModule\",{value:!0});Wte.default=\".-cbwsdk-css-reset .-cbwsdk-try-extension{display:flex;margin-top:12px;height:202px;width:700px;border-radius:12px;padding:30px}.-cbwsdk-css-reset .-cbwsdk-try-extension.light{background:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension.dark{background:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-column-half{flex:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading{font-style:normal;font-weight:500;font-size:25px;line-height:32px;margin:0;max-width:204px}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.light{color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-try-extension-heading.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta{appearance:none;border:none;background:none;color:#0052ff;cursor:pointer;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.light{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta.dark{color:#588af5}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-wrapper{display:flex;align-items:center;margin-top:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-cta-icon{display:block;margin-left:4px;height:14px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list{display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:0;list-style:none;height:100%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item{display:flex;align-items:center;flex-flow:nowrap;margin-top:24px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item:first-of-type{margin-top:0}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon-wrapper{display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon{display:flex;height:32px;width:32px;border-radius:50%}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon svg{margin:auto;display:block}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.light{background:#eef0f3}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-icon.dark{background:#1e2025}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy{display:block;font-weight:400;font-size:14px;line-height:20px;padding-left:12px}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.light{color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-try-extension-list-item-copy.dark{color:#8a919e}\"});var utt=J(G6=>{\"use strict\";u();var ctt=G6&&G6.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(G6,\"__esModule\",{value:!0});G6.TryExtensionContent=void 0;var Vg=ctt((h0(),Fr(C2))),Fo=(ia(),Fr(qa)),Jte=(H3(),Fr(L3)),UCt=ntt(),$Ct=ott(),zCt=att(),LCt=ctt(stt());function HCt({theme:e}){let[t,r]=(0,Jte.useState)(!1),n=(0,Jte.useCallback)(()=>{window.open(\"https://api.wallet.coinbase.com/rpc/v2/desktop/chrome\",\"_blank\")},[]),o=(0,Jte.useCallback)(()=>{t?window.location.reload():(n(),r(!0))},[n,t]);return(0,Fo.h)(\"div\",{class:(0,Vg.default)(\"-cbwsdk-try-extension\",e)},(0,Fo.h)(\"style\",null,LCt.default),(0,Fo.h)(\"div\",{class:\"-cbwsdk-try-extension-column-half\"},(0,Fo.h)(\"h3\",{class:(0,Vg.default)(\"-cbwsdk-try-extension-heading\",e)},\"Or try the Coinbase Wallet browser extension\"),(0,Fo.h)(\"div\",{class:\"-cbwsdk-try-extension-cta-wrapper\"},(0,Fo.h)(\"button\",{class:(0,Vg.default)(\"-cbwsdk-try-extension-cta\",e),onClick:o},t?\"Refresh\":\"Install\"),(0,Fo.h)(\"div\",null,!t&&(0,Fo.h)(UCt.ArrowLeftIcon,{class:\"-cbwsdk-try-extension-cta-icon\",fill:e===\"light\"?\"#0052FF\":\"#588AF5\"})))),(0,Fo.h)(\"div\",{class:\"-cbwsdk-try-extension-column-half\"},(0,Fo.h)(\"ul\",{class:\"-cbwsdk-try-extension-list\"},(0,Fo.h)(\"li\",{class:\"-cbwsdk-try-extension-list-item\"},(0,Fo.h)(\"div\",{class:\"-cbwsdk-try-extension-list-item-icon-wrapper\"},(0,Fo.h)(\"span\",{class:(0,Vg.default)(\"-cbwsdk-try-extension-list-item-icon\",e)},(0,Fo.h)($Ct.LaptopIcon,{fill:e===\"light\"?\"#0A0B0D\":\"#FFFFFF\"}))),(0,Fo.h)(\"div\",{class:(0,Vg.default)(\"-cbwsdk-try-extension-list-item-copy\",e)},\"Connect with dapps with just one click on your desktop browser\")),(0,Fo.h)(\"li\",{class:\"-cbwsdk-try-extension-list-item\"},(0,Fo.h)(\"div\",{class:\"-cbwsdk-try-extension-list-item-icon-wrapper\"},(0,Fo.h)(\"span\",{class:(0,Vg.default)(\"-cbwsdk-try-extension-list-item-icon\",e)},(0,Fo.h)(zCt.SafeIcon,{fill:e===\"light\"?\"#0A0B0D\":\"#FFFFFF\"}))),(0,Fo.h)(\"div\",{class:(0,Vg.default)(\"-cbwsdk-try-extension-list-item-copy\",e)},\"Add an additional layer of security by using a supported Ledger hardware wallet\")))))}G6.TryExtensionContent=HCt});var ltt=J(Qte=>{\"use strict\";u();Object.defineProperty(Qte,\"__esModule\",{value:!0});Qte.default=\".-cbwsdk-css-reset .-cbwsdk-connect-dialog{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.light{background-color:rgba(0,0,0,.5)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop.dark{background-color:rgba(50,53,61,.4)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box{display:flex;position:relative;flex-direction:column;transform:scale(1);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-box-hidden{opacity:0;transform:scale(0.85)}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container{display:block}.-cbwsdk-css-reset .-cbwsdk-connect-dialog-container-hidden{display:none}\"});var ftt=J(K6=>{\"use strict\";u();var dtt=K6&&K6.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(K6,\"__esModule\",{value:!0});K6.ConnectDialog=void 0;var Yte=dtt((h0(),Fr(C2))),qg=(ia(),Fr(qa)),Xte=(H3(),Fr(L3)),jCt=ttt(),FCt=utt(),VCt=dtt(ltt()),qCt=e=>{let{isOpen:t,darkMode:r}=e,[n,o]=(0,Xte.useState)(!t),[i,c]=(0,Xte.useState)(!t);(0,Xte.useEffect)(()=>{let f=[window.setTimeout(()=>{c(!t)},10)];return t?o(!1):f.push(window.setTimeout(()=>{o(!0)},360)),()=>{f.forEach(window.clearTimeout)}},[t]);let l=r?\"dark\":\"light\";return(0,qg.h)(\"div\",{class:(0,Yte.default)(\"-cbwsdk-connect-dialog-container\",n&&\"-cbwsdk-connect-dialog-container-hidden\")},(0,qg.h)(\"style\",null,VCt.default),(0,qg.h)(\"div\",{class:(0,Yte.default)(\"-cbwsdk-connect-dialog-backdrop\",l,i&&\"-cbwsdk-connect-dialog-backdrop-hidden\")}),(0,qg.h)(\"div\",{class:\"-cbwsdk-connect-dialog\"},(0,qg.h)(\"div\",{class:(0,Yte.default)(\"-cbwsdk-connect-dialog-box\",i&&\"-cbwsdk-connect-dialog-box-hidden\")},e.connectDisabled?null:(0,qg.h)(jCt.ConnectContent,{theme:l,version:e.version,sessionId:e.sessionId,sessionSecret:e.sessionSecret,linkAPIUrl:e.linkAPIUrl,isConnected:e.isConnected,isParentConnection:e.isParentConnection,chainId:e.chainId,onCancel:e.onCancel}),(0,qg.h)(FCt.TryExtensionContent,{theme:l}))))};K6.ConnectDialog=qCt});var ptt=J(EN=>{\"use strict\";u();Object.defineProperty(EN,\"__esModule\",{value:!0});EN.LinkFlow=void 0;var ere=(ia(),Fr(qa)),GCt=ftt(),tre=class{constructor(t){this.connected=!1,this.chainId=1,this.isOpen=!1,this.onCancel=null,this.root=null,this.connectDisabled=!1,this.darkMode=t.darkMode,this.version=t.version,this.sessionId=t.sessionId,this.sessionSecret=t.sessionSecret,this.linkAPIUrl=t.linkAPIUrl,this.isParentConnection=t.isParentConnection}attach(t){this.root=document.createElement(\"div\"),this.root.className=\"-cbwsdk-link-flow-root\",t.appendChild(this.root),this.render()}setConnected(t){this.connected!==t&&(this.connected=t,this.render())}setChainId(t){this.chainId!==t&&(this.chainId=t,this.render())}detach(){var t;this.root&&((0,ere.render)(null,this.root),(t=this.root.parentElement)===null||t===void 0||t.removeChild(this.root))}setConnectDisabled(t){this.connectDisabled=t}open(t){this.isOpen=!0,this.onCancel=t.onCancel,this.render()}close(){this.isOpen=!1,this.onCancel=null,this.render()}render(){this.root&&(0,ere.render)((0,ere.h)(GCt.ConnectDialog,{darkMode:this.darkMode,version:this.version,sessionId:this.sessionId,sessionSecret:this.sessionSecret,linkAPIUrl:this.linkAPIUrl,isOpen:this.isOpen,isConnected:this.connected,isParentConnection:this.isParentConnection,chainId:this.chainId,onCancel:this.onCancel,connectDisabled:this.connectDisabled}),this.root)}};EN.LinkFlow=tre});var mtt=J(rre=>{\"use strict\";u();Object.defineProperty(rre,\"__esModule\",{value:!0});rre.default=\".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}\"});var ire=J(mu=>{\"use strict\";u();var htt=mu&&mu.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mu,\"__esModule\",{value:!0});mu.SnackbarInstance=mu.SnackbarContainer=mu.Snackbar=void 0;var _N=htt((h0(),Fr(C2))),Vo=(ia(),Fr(qa)),nre=(H3(),Fr(L3)),KCt=htt(mtt()),ZCt=\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+\",WCt=\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=\",ore=class{constructor(t){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=t.darkMode}attach(t){this.root=document.createElement(\"div\"),this.root.className=\"-cbwsdk-snackbar-root\",t.appendChild(this.root),this.render()}presentItem(t){let r=this.nextItemKey++;return this.items.set(r,t),this.render(),()=>{this.items.delete(r),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&(0,Vo.render)((0,Vo.h)(\"div\",null,(0,Vo.h)(mu.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map(([t,r])=>(0,Vo.h)(mu.SnackbarInstance,Object.assign({},r,{key:t}))))),this.root)}};mu.Snackbar=ore;var JCt=e=>(0,Vo.h)(\"div\",{class:(0,_N.default)(\"-cbwsdk-snackbar-container\")},(0,Vo.h)(\"style\",null,KCt.default),(0,Vo.h)(\"div\",{class:\"-cbwsdk-snackbar\"},e.children));mu.SnackbarContainer=JCt;var QCt=({autoExpand:e,message:t,menuItems:r})=>{let[n,o]=(0,nre.useState)(!0),[i,c]=(0,nre.useState)(e??!1);(0,nre.useEffect)(()=>{let f=[window.setTimeout(()=>{o(!1)},1),window.setTimeout(()=>{c(!0)},1e4)];return()=>{f.forEach(window.clearTimeout)}});let l=()=>{c(!i)};return(0,Vo.h)(\"div\",{class:(0,_N.default)(\"-cbwsdk-snackbar-instance\",n&&\"-cbwsdk-snackbar-instance-hidden\",i&&\"-cbwsdk-snackbar-instance-expanded\")},(0,Vo.h)(\"div\",{class:\"-cbwsdk-snackbar-instance-header\",onClick:l},(0,Vo.h)(\"img\",{src:ZCt,class:\"-cbwsdk-snackbar-instance-header-cblogo\"}),\" \",(0,Vo.h)(\"div\",{class:\"-cbwsdk-snackbar-instance-header-message\"},t),(0,Vo.h)(\"div\",{class:\"-gear-container\"},!i&&(0,Vo.h)(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},(0,Vo.h)(\"circle\",{cx:\"12\",cy:\"12\",r:\"12\",fill:\"#F5F7F8\"})),(0,Vo.h)(\"img\",{src:WCt,class:\"-gear-icon\",title:\"Expand\"}))),r&&r.length>0&&(0,Vo.h)(\"div\",{class:\"-cbwsdk-snackbar-instance-menu\"},r.map((f,p)=>(0,Vo.h)(\"div\",{class:(0,_N.default)(\"-cbwsdk-snackbar-instance-menu-item\",f.isRed&&\"-cbwsdk-snackbar-instance-menu-item-is-red\"),onClick:f.onClick,key:p},(0,Vo.h)(\"svg\",{width:f.svgWidth,height:f.svgHeight,viewBox:\"0 0 10 11\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},(0,Vo.h)(\"path\",{\"fill-rule\":f.defaultFillRule,\"clip-rule\":f.defaultClipRule,d:f.path,fill:\"#AAAAAA\"})),(0,Vo.h)(\"span\",{class:(0,_N.default)(\"-cbwsdk-snackbar-instance-menu-item-info\",f.isRed&&\"-cbwsdk-snackbar-instance-menu-item-info-is-red\")},f.info)))))};mu.SnackbarInstance=QCt});var sre=J(SN=>{\"use strict\";u();Object.defineProperty(SN,\"__esModule\",{value:!0});SN.WalletLinkRelayUI=void 0;var YCt=Pte(),XCt=ptt(),e8t=ire(),are=class{constructor(t){this.standalone=null,this.attached=!1,this.snackbar=new e8t.Snackbar({darkMode:t.darkMode}),this.linkFlow=new XCt.LinkFlow({darkMode:t.darkMode,version:t.version,sessionId:t.session.id,sessionSecret:t.session.secret,linkAPIUrl:t.linkAPIUrl,isParentConnection:!1})}attach(){if(this.attached)throw new Error(\"Coinbase Wallet SDK UI is already attached\");let t=document.documentElement,r=document.createElement(\"div\");r.className=\"-cbwsdk-css-reset\",t.appendChild(r),this.linkFlow.attach(r),this.snackbar.attach(r),this.attached=!0,(0,YCt.injectCssReset)()}setConnected(t){this.linkFlow.setConnected(t)}setChainId(t){this.linkFlow.setChainId(t)}setConnectDisabled(t){this.linkFlow.setConnectDisabled(t)}addEthereumChain(){}watchAsset(){}switchEthereumChain(){}requestEthereumAccounts(t){this.linkFlow.open({onCancel:t.onCancel})}hideRequestEthereumAccounts(){this.linkFlow.close()}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}showConnecting(t){let r;return t.isUnlinkedErrorState?r={autoExpand:!0,message:\"Connection lost\",menuItems:[{isRed:!1,info:\"Reset connection\",svgWidth:\"10\",svgHeight:\"11\",path:\"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:t.onResetConnection}]}:r={message:\"Confirm on phone\",menuItems:[{isRed:!0,info:\"Cancel transaction\",svgWidth:\"11\",svgHeight:\"11\",path:\"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z\",defaultFillRule:\"inherit\",defaultClipRule:\"inherit\",onClick:t.onCancel},{isRed:!1,info:\"Reset connection\",svgWidth:\"10\",svgHeight:\"11\",path:\"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z\",defaultFillRule:\"evenodd\",defaultClipRule:\"evenodd\",onClick:t.onResetConnection}]},this.snackbar.presentItem(r)}reloadUI(){document.location.reload()}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}setStandalone(t){this.standalone=t}isStandalone(){var t;return(t=this.standalone)!==null&&t!==void 0?t:!1}};SN.WalletLinkRelayUI=are});var cre=J(kN=>{\"use strict\";u();Object.defineProperty(kN,\"__esModule\",{value:!0});kN.WalletLinkRelay=void 0;var Z6=v3(),t8t=E3(),oo=Kd(),Gg=DD(),ytt=ND(),R0=rN(),r8t=net(),Kg=CD(),n8t=sre(),AN=class e extends ytt.RelayAbstract{constructor(t){var r;super(),this.accountsCallback=null,this.chainCallbackParams={chainId:\"\",jsonRpcUrl:\"\"},this.chainCallback=null,this.dappDefaultChain=1,this.appName=\"\",this.appLogoUrl=null,this.linkedUpdated=c=>{var l;this.isLinked=c;let f=this.storage.getItem(ytt.LOCAL_STORAGE_ADDRESSES_KEY);if(c&&(this.session.linked=c),this.isUnlinkedErrorState=!1,f){let p=f.split(\" \"),h=this.storage.getItem(\"IsStandaloneSigning\")===\"true\";if(p[0]!==\"\"&&!c&&this.session.linked&&!h){this.isUnlinkedErrorState=!0;let y=this.getSessionIdHash();(l=this.diagnostic)===null||l===void 0||l.log(Gg.EVENTS.UNLINKED_ERROR_STATE,{sessionIdHash:y})}}},this.metadataUpdated=(c,l)=>{this.storage.setItem(c,l)},this.chainUpdated=(c,l)=>{this.chainCallbackParams.chainId===c&&this.chainCallbackParams.jsonRpcUrl===l||(this.chainCallbackParams={chainId:c,jsonRpcUrl:l},this.chainCallback&&this.chainCallback(c,l))},this.accountUpdated=c=>{this.accountsCallback&&this.accountsCallback([c]),e.accountRequestCallbackIds.size>0&&(Array.from(e.accountRequestCallbackIds.values()).forEach(l=>{let f={type:\"WEB3_RESPONSE\",id:l,response:{method:\"requestEthereumAccounts\",result:[c]}};this.invokeCallback(Object.assign(Object.assign({},f),{id:l}))}),e.accountRequestCallbackIds.clear())},this.connectedUpdated=c=>{this.ui.setConnected(c)},this.resetAndReload=this.resetAndReload.bind(this),this.linkAPIUrl=t.linkAPIUrl,this.storage=t.storage,this.options=t;let{session:n,ui:o,connection:i}=this.subscribe();this._session=n,this.connection=i,this.relayEventManager=t.relayEventManager,this.diagnostic=t.diagnosticLogger,this._reloadOnDisconnect=(r=t.reloadOnDisconnect)!==null&&r!==void 0?r:!0,this.ui=o}subscribe(){let t=R0.Session.load(this.storage)||new R0.Session(this.storage).save(),{linkAPIUrl:r,diagnostic:n}=this,o=new r8t.WalletLinkConnection({session:t,linkAPIUrl:r,diagnostic:n,listener:this}),{version:i,darkMode:c}=this.options,l=this.options.uiConstructor({linkAPIUrl:r,version:i,darkMode:c,session:t});return o.connect(),{session:t,ui:l,connection:o}}attachUI(){this.ui.attach()}resetAndReload(){Promise.race([this.connection.setSessionMetadata(\"__destroyed\",\"1\"),new Promise(t=>setTimeout(()=>t(null),1e3))]).then(()=>{var t,r;let n=this.ui.isStandalone();(t=this.diagnostic)===null||t===void 0||t.log(Gg.EVENTS.SESSION_STATE_CHANGE,{method:\"relay::resetAndReload\",sessionMetadataChange:\"__destroyed, 1\",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();let o=R0.Session.load(this.storage);if(o?.id===this._session.id?this.storage.clear():o&&((r=this.diagnostic)===null||r===void 0||r.log(Gg.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:R0.Session.hash(o.id)})),this._reloadOnDisconnect){this.ui.reloadUI();return}this.accountsCallback&&this.accountsCallback([],!0);let{session:i,ui:c,connection:l}=this.subscribe();this._session=i,this.connection=l,this.ui=c,n&&this.ui.setStandalone&&this.ui.setStandalone(!0),this.options.headlessMode||this.attachUI()}).catch(t=>{var r;(r=this.diagnostic)===null||r===void 0||r.log(Gg.EVENTS.FAILURE,{method:\"relay::resetAndReload\",message:`failed to reset and reload with ${t}`,sessionIdHash:this.getSessionIdHash()})})}setAppInfo(t,r){this.appName=t,this.appLogoUrl=r}getStorageItem(t){return this.storage.getItem(t)}get session(){return this._session}setStorageItem(t,r){this.storage.setItem(t,r)}signEthereumMessage(t,r,n,o){return this.sendRequest({method:\"signEthereumMessage\",params:{message:(0,oo.hexStringFromBuffer)(t,!0),address:r,addPrefix:n,typedDataJson:o||null}})}ethereumAddressFromSignedMessage(t,r,n){return this.sendRequest({method:\"ethereumAddressFromSignedMessage\",params:{message:(0,oo.hexStringFromBuffer)(t,!0),signature:(0,oo.hexStringFromBuffer)(r,!0),addPrefix:n}})}signEthereumTransaction(t){return this.sendRequest({method:\"signEthereumTransaction\",params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:(0,oo.bigIntStringFromBN)(t.weiValue),data:(0,oo.hexStringFromBuffer)(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?(0,oo.bigIntStringFromBN)(t.gasPriceInWei):null,maxFeePerGas:t.gasPriceInWei?(0,oo.bigIntStringFromBN)(t.gasPriceInWei):null,maxPriorityFeePerGas:t.gasPriceInWei?(0,oo.bigIntStringFromBN)(t.gasPriceInWei):null,gasLimit:t.gasLimit?(0,oo.bigIntStringFromBN)(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(t){return this.sendRequest({method:\"signEthereumTransaction\",params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:(0,oo.bigIntStringFromBN)(t.weiValue),data:(0,oo.hexStringFromBuffer)(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?(0,oo.bigIntStringFromBN)(t.gasPriceInWei):null,maxFeePerGas:t.maxFeePerGas?(0,oo.bigIntStringFromBN)(t.maxFeePerGas):null,maxPriorityFeePerGas:t.maxPriorityFeePerGas?(0,oo.bigIntStringFromBN)(t.maxPriorityFeePerGas):null,gasLimit:t.gasLimit?(0,oo.bigIntStringFromBN)(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!0}})}submitEthereumTransaction(t,r){return this.sendRequest({method:\"submitEthereumTransaction\",params:{signedTransaction:(0,oo.hexStringFromBuffer)(t,!0),chainId:r}})}scanQRCode(t){return this.sendRequest({method:\"scanQRCode\",params:{regExp:t}})}getQRCodeUrl(){return(0,oo.createQrUrl)(this._session.id,this._session.secret,this.linkAPIUrl,!1,this.options.version,this.dappDefaultChain)}genericRequest(t,r){return this.sendRequest({method:\"generic\",params:{action:r,data:t}})}sendGenericMessage(t){return this.sendRequest(t)}sendRequest(t){let r=null,n=(0,oo.randomBytesHex)(8),o=c=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,t.method,c),r?.()};return{promise:new Promise((c,l)=>{this.ui.isStandalone()||(r=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:o,onResetConnection:this.resetAndReload})),this.relayEventManager.callbacks.set(n,f=>{if(r?.(),(0,Kg.isErrorResponse)(f))return l(new Error(f.errorMessage));c(f)}),this.ui.isStandalone()?this.sendRequestStandalone(n,t):this.publishWeb3RequestEvent(n,t)}),cancel:o}}setConnectDisabled(t){this.ui.setConnectDisabled(t)}setAccountsCallback(t){this.accountsCallback=t}setChainCallback(t){this.chainCallback=t}setDappDefaultChainCallback(t){this.dappDefaultChain=t,this.ui instanceof n8t.WalletLinkRelayUI&&this.ui.setChainId(t)}publishWeb3RequestEvent(t,r){var n;let o={type:\"WEB3_REQUEST\",id:t,request:r},i=R0.Session.load(this.storage);(n=this.diagnostic)===null||n===void 0||n.log(Gg.EVENTS.WEB3_REQUEST,{eventId:o.id,method:`relay::${r.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:i?R0.Session.hash(i.id):\"\",isSessionMismatched:(i?.id!==this._session.id).toString()}),this.publishEvent(\"Web3Request\",o,!0).then(c=>{var l;(l=this.diagnostic)===null||l===void 0||l.log(Gg.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:o.id,method:`relay::${r.method}`,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:i?R0.Session.hash(i.id):\"\",isSessionMismatched:(i?.id!==this._session.id).toString()})}).catch(c=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:o.id,response:{method:r.method,errorMessage:c.message}})})}publishWeb3RequestCanceledEvent(t){let r={type:\"WEB3_REQUEST_CANCELED\",id:t};this.publishEvent(\"Web3RequestCanceled\",r,!1).then()}publishEvent(t,r,n){return this.connection.publishEvent(t,r,n)}handleWeb3ResponseMessage(t){var r;let{response:n}=t;if((r=this.diagnostic)===null||r===void 0||r.log(Gg.EVENTS.WEB3_RESPONSE,{eventId:t.id,method:`relay::${n.method}`,sessionIdHash:this.getSessionIdHash()}),n.method===\"requestEthereumAccounts\"){e.accountRequestCallbackIds.forEach(o=>this.invokeCallback(Object.assign(Object.assign({},t),{id:o}))),e.accountRequestCallbackIds.clear();return}this.invokeCallback(t)}handleErrorResponse(t,r,n,o){var i;let c=(i=n?.message)!==null&&i!==void 0?i:(0,Z6.getMessageFromCode)(o);this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:t,response:{method:r,errorMessage:c,errorCode:o}})}invokeCallback(t){let r=this.relayEventManager.callbacks.get(t.id);r&&(r(t.response),this.relayEventManager.callbacks.delete(t.id))}requestEthereumAccounts(){let t={method:\"requestEthereumAccounts\",params:{appName:this.appName,appLogoUrl:this.appLogoUrl||null}},r=null,n=(0,oo.randomBytesHex)(8),o=c=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,t.method,c),r?.()};return{promise:new Promise((c,l)=>{if(this.relayEventManager.callbacks.set(n,f=>{if(this.ui.hideRequestEthereumAccounts(),r?.(),(0,Kg.isErrorResponse)(f))return l(new Error(f.errorMessage));c(f)}),this.ui.inlineAccountsResponse()){let f=p=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:n,response:{method:\"requestEthereumAccounts\",result:p}})};this.ui.requestEthereumAccounts({onCancel:o,onAccounts:f})}else{let f=Z6.standardErrors.provider.userRejectedRequest(\"User denied account authorization\");this.ui.requestEthereumAccounts({onCancel:()=>o(f)})}e.accountRequestCallbackIds.add(n),!this.ui.inlineAccountsResponse()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(n,t)}),cancel:o}}selectProvider(t){let r={method:\"selectProvider\",params:{providerOptions:t}},n=(0,oo.randomBytesHex)(8),o=c=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,r.method,c)},i=new Promise((c,l)=>{this.relayEventManager.callbacks.set(n,h=>{if((0,Kg.isErrorResponse)(h))return l(new Error(h.errorMessage));c(h)});let f=h=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:n,response:{method:\"selectProvider\",result:t8t.ProviderType.Unselected}})},p=h=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:n,response:{method:\"selectProvider\",result:h}})};this.ui.selectProvider&&this.ui.selectProvider({onApprove:p,onCancel:f,providerOptions:t})});return{cancel:o,promise:i}}watchAsset(t,r,n,o,i,c){let l={method:\"watchAsset\",params:{type:t,options:{address:r,symbol:n,decimals:o,image:i},chainId:c}},f=null,p=(0,oo.randomBytesHex)(8),h=w=>{this.publishWeb3RequestCanceledEvent(p),this.handleErrorResponse(p,l.method,w),f?.()};this.ui.inlineWatchAsset()||(f=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:h,onResetConnection:this.resetAndReload}));let y=new Promise((w,E)=>{this.relayEventManager.callbacks.set(p,R=>{if(f?.(),(0,Kg.isErrorResponse)(R))return E(new Error(R.errorMessage));w(R)});let A=R=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:p,response:{method:\"watchAsset\",result:!1}})},C=()=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:p,response:{method:\"watchAsset\",result:!0}})};this.ui.inlineWatchAsset()&&this.ui.watchAsset({onApprove:C,onCancel:A,type:t,address:r,symbol:n,decimals:o,image:i,chainId:c}),!this.ui.inlineWatchAsset()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(p,l)});return{cancel:h,promise:y}}addEthereumChain(t,r,n,o,i,c){let l={method:\"addEthereumChain\",params:{chainId:t,rpcUrls:r,blockExplorerUrls:o,chainName:i,iconUrls:n,nativeCurrency:c}},f=null,p=(0,oo.randomBytesHex)(8),h=w=>{this.publishWeb3RequestCanceledEvent(p),this.handleErrorResponse(p,l.method,w),f?.()};return this.ui.inlineAddEthereumChain(t)||(f=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:h,onResetConnection:this.resetAndReload})),{promise:new Promise((w,E)=>{this.relayEventManager.callbacks.set(p,R=>{if(f?.(),(0,Kg.isErrorResponse)(R))return E(new Error(R.errorMessage));w(R)});let A=R=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:p,response:{method:\"addEthereumChain\",result:{isApproved:!1,rpcUrl:\"\"}}})},C=R=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:p,response:{method:\"addEthereumChain\",result:{isApproved:!0,rpcUrl:R}}})};this.ui.inlineAddEthereumChain(t)&&this.ui.addEthereumChain({onCancel:A,onApprove:C,chainId:l.params.chainId,rpcUrls:l.params.rpcUrls,blockExplorerUrls:l.params.blockExplorerUrls,chainName:l.params.chainName,iconUrls:l.params.iconUrls,nativeCurrency:l.params.nativeCurrency}),!this.ui.inlineAddEthereumChain(t)&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(p,l)}),cancel:h}}switchEthereumChain(t,r){let n={method:\"switchEthereumChain\",params:Object.assign({chainId:t},{address:r})},o=(0,oo.randomBytesHex)(8),i=l=>{this.publishWeb3RequestCanceledEvent(o),this.handleErrorResponse(o,n.method,l)};return{promise:new Promise((l,f)=>{this.relayEventManager.callbacks.set(o,y=>{if((0,Kg.isErrorResponse)(y)&&y.errorCode)return f(Z6.standardErrors.provider.custom({code:y.errorCode,message:\"Unrecognized chain ID. Try adding the chain using addEthereumChain first.\"}));if((0,Kg.isErrorResponse)(y))return f(new Error(y.errorMessage));l(y)});let p=y=>{var w;if(y){let E=(w=(0,Z6.getErrorCode)(y))!==null&&w!==void 0?w:Z6.standardErrorCodes.provider.unsupportedChain;this.handleErrorResponse(o,\"switchEthereumChain\",y instanceof Error?y:Z6.standardErrors.provider.unsupportedChain(t),E)}else this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:o,response:{method:\"switchEthereumChain\",result:{isApproved:!1,rpcUrl:\"\"}}})},h=y=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:o,response:{method:\"switchEthereumChain\",result:{isApproved:!0,rpcUrl:y}}})};this.ui.switchEthereumChain({onCancel:p,onApprove:h,chainId:n.params.chainId,address:n.params.address}),!this.ui.inlineSwitchEthereumChain()&&!this.ui.isStandalone()&&this.publishWeb3RequestEvent(o,n)}),cancel:i}}inlineAddEthereumChain(t){return this.ui.inlineAddEthereumChain(t)}getSessionIdHash(){return R0.Session.hash(this._session.id)}sendRequestStandalone(t,r){let n=i=>{this.handleErrorResponse(t,r.method,i)},o=i=>{this.handleWeb3ResponseMessage({type:\"WEB3_RESPONSE\",id:t,response:i})};switch(r.method){case\"signEthereumMessage\":this.ui.signEthereumMessage({request:r,onSuccess:o,onCancel:n});break;case\"signEthereumTransaction\":this.ui.signEthereumTransaction({request:r,onSuccess:o,onCancel:n});break;case\"submitEthereumTransaction\":this.ui.submitEthereumTransaction({request:r,onSuccess:o,onCancel:n});break;case\"ethereumAddressFromSignedMessage\":this.ui.ethereumAddressFromSignedMessage({request:r,onSuccess:o});break;default:n();break}}};kN.WalletLinkRelay=AN;AN.accountRequestCallbackIds=new Set});var btt=J(Zg=>{\"use strict\";u();var o8t=Zg&&Zg.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||(\"get\"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),i8t=Zg&&Zg.__exportStar||function(e,t){for(var r in e)r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r)&&o8t(t,e,r)};Object.defineProperty(Zg,\"__esModule\",{value:!0});i8t(ire(),Zg)});var gtt=J(ure=>{\"use strict\";u();Object.defineProperty(ure,\"__esModule\",{value:!0});ure.default=\".-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s;background-color:rgba(10,11,13,.5)}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);padding:20px;border-radius:8px;background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box p{display:block;font-weight:400;font-size:14px;line-height:20px;padding-bottom:12px;color:#5b636e}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box button{appearance:none;border:none;background:none;color:#0052ff;padding:0;text-decoration:none;display:block;font-weight:600;font-size:16px;line-height:24px}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark{background-color:#0a0b0d;color:#fff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.dark button{color:#0052ff}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light{background-color:#fff;color:#0a0b0d}.-cbwsdk-css-reset .-cbwsdk-redirect-dialog-box.light button{color:#0052ff}\"});var vtt=J(W6=>{\"use strict\";u();var xtt=W6&&W6.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(W6,\"__esModule\",{value:!0});W6.RedirectDialog=void 0;var a8t=xtt((h0(),Fr(C2))),tf=(ia(),Fr(qa)),s8t=Pte(),c8t=btt(),u8t=xtt(gtt()),lre=class{constructor(){this.root=null}attach(){let t=document.documentElement;this.root=document.createElement(\"div\"),this.root.className=\"-cbwsdk-css-reset\",t.appendChild(this.root),(0,s8t.injectCssReset)()}present(t){this.render(t)}clear(){this.render(null)}render(t){this.root&&((0,tf.render)(null,this.root),t&&(0,tf.render)((0,tf.h)(l8t,Object.assign({},t,{onDismiss:()=>{this.clear()}})),this.root))}};W6.RedirectDialog=lre;var l8t=({title:e,buttonText:t,darkMode:r,onButtonClick:n,onDismiss:o})=>{let i=r?\"dark\":\"light\";return(0,tf.h)(c8t.SnackbarContainer,{darkMode:r},(0,tf.h)(\"div\",{class:\"-cbwsdk-redirect-dialog\"},(0,tf.h)(\"style\",null,u8t.default),(0,tf.h)(\"div\",{class:\"-cbwsdk-redirect-dialog-backdrop\",onClick:o}),(0,tf.h)(\"div\",{class:(0,a8t.default)(\"-cbwsdk-redirect-dialog-box\",i)},(0,tf.h)(\"p\",null,e),(0,tf.h)(\"button\",{onClick:n},t))))}});var fre=J(CN=>{\"use strict\";u();Object.defineProperty(CN,\"__esModule\",{value:!0});CN.MobileRelayUI=void 0;var d8t=vtt(),dre=class{constructor(t){this.attached=!1,this.darkMode=!1,this.redirectDialog=new d8t.RedirectDialog,this.darkMode=t.darkMode}attach(){if(this.attached)throw new Error(\"Coinbase Wallet SDK UI is already attached\");this.redirectDialog.attach(),this.attached=!0}setConnected(t){}redirectToCoinbaseWallet(t){let r=new URL(\"https://go.cb-w.com/walletlink\");r.searchParams.append(\"redirect_url\",window.location.href),t&&r.searchParams.append(\"wl_url\",t);let n=document.createElement(\"a\");n.target=\"cbw-opener\",n.href=r.href,n.rel=\"noreferrer noopener\",n.click()}openCoinbaseWalletDeeplink(t){this.redirectDialog.present({title:\"Redirecting to Coinbase Wallet...\",buttonText:\"Open\",darkMode:this.darkMode,onButtonClick:()=>{this.redirectToCoinbaseWallet(t)}}),setTimeout(()=>{this.redirectToCoinbaseWallet(t)},99)}showConnecting(t){return()=>{this.redirectDialog.clear()}}hideRequestEthereumAccounts(){this.redirectDialog.clear()}requestEthereumAccounts(){}addEthereumChain(){}watchAsset(){}selectProvider(){}switchEthereumChain(){}signEthereumMessage(){}signEthereumTransaction(){}submitEthereumTransaction(){}ethereumAddressFromSignedMessage(){}reloadUI(){}setStandalone(){}setConnectDisabled(){}inlineAccountsResponse(){return!1}inlineAddEthereumChain(){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}isStandalone(){return!1}};CN.MobileRelayUI=dre});var mre=J(TN=>{\"use strict\";u();Object.defineProperty(TN,\"__esModule\",{value:!0});TN.MobileRelay=void 0;var f8t=Kd(),p8t=cre(),m8t=fre(),pre=class extends p8t.WalletLinkRelay{constructor(t){var r;super(t),this._enableMobileWalletLink=(r=t.enableMobileWalletLink)!==null&&r!==void 0?r:!1}requestEthereumAccounts(){return this._enableMobileWalletLink?super.requestEthereumAccounts():{promise:new Promise(()=>{let t=(0,f8t.getLocation)();t.href=`https://go.cb-w.com/dapp?cb_url=${encodeURIComponent(t.href)}`}),cancel:()=>{}}}publishWeb3RequestEvent(t,r){if(super.publishWeb3RequestEvent(t,r),!(this._enableMobileWalletLink&&this.ui instanceof m8t.MobileRelayUI))return;let n=!1;switch(r.method){case\"requestEthereumAccounts\":case\"connectAndSignIn\":n=!0,this.ui.openCoinbaseWalletDeeplink(this.getQRCodeUrl());break;case\"switchEthereumChain\":return;default:n=!0,this.ui.openCoinbaseWalletDeeplink();break}n&&window.addEventListener(\"blur\",()=>{window.addEventListener(\"focus\",()=>{this.connection.checkUnseenEvents()},{once:!0})},{once:!0})}handleWeb3ResponseMessage(t){super.handleWeb3ResponseMessage(t)}connectAndSignIn(t){if(!this._enableMobileWalletLink)throw new Error(\"connectAndSignIn is supported only when enableMobileWalletLink is on\");return this.sendRequest({method:\"connectAndSignIn\",params:{appName:this.appName,appLogoUrl:this.appLogoUrl,domain:window.location.hostname,aud:window.location.href,version:\"1\",type:\"eip4361\",nonce:t.nonce,iat:new Date().toISOString(),chainId:`eip155:${this.dappDefaultChain}`,statement:t.statement,resources:t.resources}})}};TN.MobileRelay=pre});var F3=J((gOn,hre)=>{\"use strict\";u();var J6=typeof Reflect==\"object\"?Reflect:null,wtt=J6&&typeof J6.apply==\"function\"?J6.apply:function(t,r,n){return Function.prototype.apply.call(t,r,n)},IN;J6&&typeof J6.ownKeys==\"function\"?IN=J6.ownKeys:Object.getOwnPropertySymbols?IN=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:IN=function(t){return Object.getOwnPropertyNames(t)};function h8t(e){console&&console.warn&&console.warn(e)}var _tt=Number.isNaN||function(t){return t!==t};function vn(){vn.init.call(this)}hre.exports=vn;hre.exports.once=x8t;vn.EventEmitter=vn;vn.prototype._events=void 0;vn.prototype._eventsCount=0;vn.prototype._maxListeners=void 0;var Ett=10;function PN(e){if(typeof e!=\"function\")throw new TypeError(\\'The \"listener\" argument must be of type Function. Received type \\'+typeof e)}Object.defineProperty(vn,\"defaultMaxListeners\",{enumerable:!0,get:function(){return Ett},set:function(e){if(typeof e!=\"number\"||e<0||_tt(e))throw new RangeError(\\'The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received \\'+e+\".\");Ett=e}});vn.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};vn.prototype.setMaxListeners=function(t){if(typeof t!=\"number\"||t<0||_tt(t))throw new RangeError(\\'The value of \"n\" is out of range. It must be a non-negative number. Received \\'+t+\".\");return this._maxListeners=t,this};function Stt(e){return e._maxListeners===void 0?vn.defaultMaxListeners:e._maxListeners}vn.prototype.getMaxListeners=function(){return Stt(this)};vn.prototype.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);var o=t===\"error\",i=this._events;if(i!==void 0)o=o&&i.error===void 0;else if(!o)return!1;if(o){var c;if(r.length>0&&(c=r[0]),c instanceof Error)throw c;var l=new Error(\"Unhandled error.\"+(c?\" (\"+c.message+\")\":\"\"));throw l.context=c,l}var f=i[t];if(f===void 0)return!1;if(typeof f==\"function\")wtt(f,this,r);else for(var p=f.length,h=Itt(f,p),n=0;n<p;++n)wtt(h[n],this,r);return!0};function Att(e,t,r,n){var o,i,c;if(PN(r),i=e._events,i===void 0?(i=e._events=Object.create(null),e._eventsCount=0):(i.newListener!==void 0&&(e.emit(\"newListener\",t,r.listener?r.listener:r),i=e._events),c=i[t]),c===void 0)c=i[t]=r,++e._eventsCount;else if(typeof c==\"function\"?c=i[t]=n?[r,c]:[c,r]:n?c.unshift(r):c.push(r),o=Stt(e),o>0&&c.length>o&&!c.warned){c.warned=!0;var l=new Error(\"Possible EventEmitter memory leak detected. \"+c.length+\" \"+String(t)+\" listeners added. Use emitter.setMaxListeners() to increase limit\");l.name=\"MaxListenersExceededWarning\",l.emitter=e,l.type=t,l.count=c.length,h8t(l)}return e}vn.prototype.addListener=function(t,r){return Att(this,t,r,!1)};vn.prototype.on=vn.prototype.addListener;vn.prototype.prependListener=function(t,r){return Att(this,t,r,!0)};function y8t(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function ktt(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=y8t.bind(n);return o.listener=r,n.wrapFn=o,o}vn.prototype.once=function(t,r){return PN(r),this.on(t,ktt(this,t,r)),this};vn.prototype.prependOnceListener=function(t,r){return PN(r),this.prependListener(t,ktt(this,t,r)),this};vn.prototype.removeListener=function(t,r){var n,o,i,c,l;if(PN(r),o=this._events,o===void 0)return this;if(n=o[t],n===void 0)return this;if(n===r||n.listener===r)--this._eventsCount===0?this._events=Object.create(null):(delete o[t],o.removeListener&&this.emit(\"removeListener\",t,n.listener||r));else if(typeof n!=\"function\"){for(i=-1,c=n.length-1;c>=0;c--)if(n[c]===r||n[c].listener===r){l=n[c].listener,i=c;break}if(i<0)return this;i===0?n.shift():b8t(n,i),n.length===1&&(o[t]=n[0]),o.removeListener!==void 0&&this.emit(\"removeListener\",t,l||r)}return this};vn.prototype.off=vn.prototype.removeListener;vn.prototype.removeAllListeners=function(t){var r,n,o;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[t]),this;if(arguments.length===0){var i=Object.keys(n),c;for(o=0;o<i.length;++o)c=i[o],c!==\"removeListener\"&&this.removeAllListeners(c);return this.removeAllListeners(\"removeListener\"),this._events=Object.create(null),this._eventsCount=0,this}if(r=n[t],typeof r==\"function\")this.removeListener(t,r);else if(r!==void 0)for(o=r.length-1;o>=0;o--)this.removeListener(t,r[o]);return this};function Ctt(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o==\"function\"?r?[o.listener||o]:[o]:r?g8t(o):Itt(o,o.length)}vn.prototype.listeners=function(t){return Ctt(this,t,!0)};vn.prototype.rawListeners=function(t){return Ctt(this,t,!1)};vn.listenerCount=function(e,t){return typeof e.listenerCount==\"function\"?e.listenerCount(t):Ttt.call(e,t)};vn.prototype.listenerCount=Ttt;function Ttt(e){var t=this._events;if(t!==void 0){var r=t[e];if(typeof r==\"function\")return 1;if(r!==void 0)return r.length}return 0}vn.prototype.eventNames=function(){return this._eventsCount>0?IN(this._events):[]};function Itt(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function b8t(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function g8t(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}function x8t(e,t){return new Promise(function(r,n){function o(c){e.removeListener(t,i),n(c)}function i(){typeof e.removeListener==\"function\"&&e.removeListener(\"error\",o),r([].slice.call(arguments))}Ptt(e,t,i,{once:!0}),t!==\"error\"&&v8t(e,o,{once:!0})})}function v8t(e,t,r){typeof e.on==\"function\"&&Ptt(e,\"error\",t,r)}function Ptt(e,t,r,n){if(typeof e.on==\"function\")n.once?e.once(t,r):e.on(t,r);else if(typeof e.addEventListener==\"function\")e.addEventListener(t,function o(i){n.once&&e.removeEventListener(t,o),r(i)});else throw new TypeError(\\'The \"emitter\" argument must be of type EventEmitter. Received type \\'+typeof e)}});var yre=J((vOn,Rtt)=>{u();Rtt.exports=F3().EventEmitter});var bre=J(()=>{u()});var Utt=J((AOn,Ntt)=>{\"use strict\";u();function Ott(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Btt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ott(Object(r),!0).forEach(function(n){w8t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ott(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function w8t(e,t,r){return t=Dtt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E8t(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function Mtt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(e,Dtt(n.key),n)}}function _8t(e,t,r){return t&&Mtt(e.prototype,t),r&&Mtt(e,r),Object.defineProperty(e,\"prototype\",{writable:!1}),e}function Dtt(e){var t=S8t(e,\"string\");return typeof t==\"symbol\"?t:String(t)}function S8t(e,t){if(typeof e!=\"object\"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||\"default\");if(typeof n!=\"object\")return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}var A8t=dx(),RN=A8t.Buffer,k8t=bre(),gre=k8t.inspect,C8t=gre&&gre.custom||\"inspect\";function T8t(e,t,r){RN.prototype.copy.call(e,t,r)}Ntt.exports=(function(){function e(){E8t(this,e),this.head=null,this.tail=null,this.length=0}return _8t(e,[{key:\"push\",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:\"unshift\",value:function(r){var n={data:r,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}},{key:\"shift\",value:function(){if(this.length!==0){var r=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:\"clear\",value:function(){this.head=this.tail=null,this.length=0}},{key:\"join\",value:function(r){if(this.length===0)return\"\";for(var n=this.head,o=\"\"+n.data;n=n.next;)o+=r+n.data;return o}},{key:\"concat\",value:function(r){if(this.length===0)return RN.alloc(0);for(var n=RN.allocUnsafe(r>>>0),o=this.head,i=0;o;)T8t(o.data,n,i),i+=o.data.length,o=o.next;return n}},{key:\"consume\",value:function(r,n){var o;return r<this.head.data.length?(o=this.head.data.slice(0,r),this.head.data=this.head.data.slice(r)):r===this.head.data.length?o=this.shift():o=n?this._getString(r):this._getBuffer(r),o}},{key:\"first\",value:function(){return this.head.data}},{key:\"_getString\",value:function(r){var n=this.head,o=1,i=n.data;for(r-=i.length;n=n.next;){var c=n.data,l=r>c.length?c.length:r;if(l===c.length?i+=c:i+=c.slice(0,r),r-=l,r===0){l===c.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=c.slice(l));break}++o}return this.length-=o,i}},{key:\"_getBuffer\",value:function(r){var n=RN.allocUnsafe(r),o=this.head,i=1;for(o.data.copy(n),r-=o.data.length;o=o.next;){var c=o.data,l=r>c.length?c.length:r;if(c.copy(n,n.length-r,0,l),r-=l,r===0){l===c.length?(++i,o.next?this.head=o.next:this.head=this.tail=null):(this.head=o,o.data=c.slice(l));break}++i}return this.length-=i,n}},{key:C8t,value:function(r,n){return gre(this,Btt(Btt({},n),{},{depth:0,customInspect:!1}))}}]),e})()});var vre=J((COn,ztt)=>{\"use strict\";u();function I8t(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return n||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(xre,this,e)):process.nextTick(xre,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(i){!t&&i?r._writableState?r._writableState.errorEmitted?process.nextTick(ON,r):(r._writableState.errorEmitted=!0,process.nextTick($tt,r,i)):process.nextTick($tt,r,i):t?(process.nextTick(ON,r),t(i)):process.nextTick(ON,r)}),this)}function $tt(e,t){xre(e,t),ON(e)}function ON(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit(\"close\")}function P8t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function xre(e,t){e.emit(\"error\",t)}function R8t(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit(\"error\",t)}ztt.exports={destroy:I8t,undestroy:P8t,errorOrDestroy:R8t}});var Wg=J((IOn,jtt)=>{\"use strict\";u();function O8t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Htt={};function hu(e,t,r){r||(r=Error);function n(i,c,l){return typeof t==\"string\"?t:t(i,c,l)}var o=(function(i){O8t(c,i);function c(l,f,p){return i.call(this,n(l,f,p))||this}return c})(r);o.prototype.name=r.name,o.prototype.code=e,Htt[e]=o}function Ltt(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(n){return String(n)}),r>2?\"one of \".concat(t,\" \").concat(e.slice(0,r-1).join(\", \"),\", or \")+e[r-1]:r===2?\"one of \".concat(t,\" \").concat(e[0],\" or \").concat(e[1]):\"of \".concat(t,\" \").concat(e[0])}else return\"of \".concat(t,\" \").concat(String(e))}function B8t(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function M8t(e,t,r){return(r===void 0||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function D8t(e,t,r){return typeof r!=\"number\"&&(r=0),r+t.length>e.length?!1:e.indexOf(t,r)!==-1}hu(\"ERR_INVALID_OPT_VALUE\",function(e,t){return\\'The value \"\\'+t+\\'\" is invalid for option \"\\'+e+\\'\"\\'},TypeError);hu(\"ERR_INVALID_ARG_TYPE\",function(e,t,r){var n;typeof t==\"string\"&&B8t(t,\"not \")?(n=\"must not be\",t=t.replace(/^not /,\"\")):n=\"must be\";var o;if(M8t(e,\" argument\"))o=\"The \".concat(e,\" \").concat(n,\" \").concat(Ltt(t,\"type\"));else{var i=D8t(e,\".\")?\"property\":\"argument\";o=\\'The \"\\'.concat(e,\\'\" \\').concat(i,\" \").concat(n,\" \").concat(Ltt(t,\"type\"))}return o+=\". Received type \".concat(typeof r),o},TypeError);hu(\"ERR_STREAM_PUSH_AFTER_EOF\",\"stream.push() after EOF\");hu(\"ERR_METHOD_NOT_IMPLEMENTED\",function(e){return\"The \"+e+\" method is not implemented\"});hu(\"ERR_STREAM_PREMATURE_CLOSE\",\"Premature close\");hu(\"ERR_STREAM_DESTROYED\",function(e){return\"Cannot call \"+e+\" after a stream was destroyed\"});hu(\"ERR_MULTIPLE_CALLBACK\",\"Callback called multiple times\");hu(\"ERR_STREAM_CANNOT_PIPE\",\"Cannot pipe, not readable\");hu(\"ERR_STREAM_WRITE_AFTER_END\",\"write after end\");hu(\"ERR_STREAM_NULL_VALUES\",\"May not write null values to stream\",TypeError);hu(\"ERR_UNKNOWN_ENCODING\",function(e){return\"Unknown encoding: \"+e},TypeError);hu(\"ERR_STREAM_UNSHIFT_AFTER_END_EVENT\",\"stream.unshift() after end event\");jtt.exports.codes=Htt});var wre=J((ROn,Ftt)=>{\"use strict\";u();var N8t=Wg().codes.ERR_INVALID_OPT_VALUE;function U8t(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function $8t(e,t,r,n){var o=U8t(t,n,r);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var i=n?r:\"highWaterMark\";throw new N8t(i,o)}return Math.floor(o)}return e.objectMode?16:16*1024}Ftt.exports={getHighWaterMark:$8t}});var qtt=J((BOn,Vtt)=>{u();Vtt.exports=z8t;function z8t(e,t){if(Ere(\"noDeprecation\"))return e;var r=!1;function n(){if(!r){if(Ere(\"throwDeprecation\"))throw new Error(t);Ere(\"traceDeprecation\")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function Ere(e){try{if(!globalThis.localStorage)return!1}catch{return!1}var t=globalThis.localStorage[e];return t==null?!1:String(t).toLowerCase()===\"true\"}});var Are=J((DOn,Qtt)=>{\"use strict\";u();Qtt.exports=go;function Ktt(e){var t=this;this.next=null,this.entry=null,this.finish=function(){fTt(t,e)}}var Q6;go.WritableState=q3;var L8t={deprecate:qtt()},Ztt=yre(),MN=dx().Buffer,H8t=(typeof globalThis<\"u\"?globalThis:typeof window<\"u\"?window:typeof self<\"u\"?self:{}).Uint8Array||function(){};function j8t(e){return MN.from(e)}function F8t(e){return MN.isBuffer(e)||e instanceof H8t}var Sre=vre(),V8t=wre(),q8t=V8t.getHighWaterMark,O0=Wg().codes,G8t=O0.ERR_INVALID_ARG_TYPE,K8t=O0.ERR_METHOD_NOT_IMPLEMENTED,Z8t=O0.ERR_MULTIPLE_CALLBACK,W8t=O0.ERR_STREAM_CANNOT_PIPE,J8t=O0.ERR_STREAM_DESTROYED,Q8t=O0.ERR_STREAM_NULL_VALUES,Y8t=O0.ERR_STREAM_WRITE_AFTER_END,X8t=O0.ERR_UNKNOWN_ENCODING,Y6=Sre.errorOrDestroy;pu()(go,Ztt);function eTt(){}function q3(e,t,r){Q6=Q6||Jg(),e=e||{},typeof r!=\"boolean\"&&(r=t instanceof Q6),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=q8t(this,e,\"writableHighWaterMark\",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=e.decodeStrings===!1;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(o){sTt(t,o)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Ktt(this)}q3.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};(function(){try{Object.defineProperty(q3.prototype,\"buffer\",{get:L8t.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\",\"DEP0003\")})}catch{}})();var BN;typeof Symbol==\"function\"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==\"function\"?(BN=Function.prototype[Symbol.hasInstance],Object.defineProperty(go,Symbol.hasInstance,{value:function(t){return BN.call(this,t)?!0:this!==go?!1:t&&t._writableState instanceof q3}})):BN=function(t){return t instanceof this};function go(e){Q6=Q6||Jg();var t=this instanceof Q6;if(!t&&!BN.call(go,this))return new go(e);this._writableState=new q3(e,this,t),this.writable=!0,e&&(typeof e.write==\"function\"&&(this._write=e.write),typeof e.writev==\"function\"&&(this._writev=e.writev),typeof e.destroy==\"function\"&&(this._destroy=e.destroy),typeof e.final==\"function\"&&(this._final=e.final)),Ztt.call(this)}go.prototype.pipe=function(){Y6(this,new W8t)};function tTt(e,t){var r=new Y8t;Y6(e,r),process.nextTick(t,r)}function rTt(e,t,r,n){var o;return r===null?o=new Q8t:typeof r!=\"string\"&&!t.objectMode&&(o=new G8t(\"chunk\",[\"string\",\"Buffer\"],r)),o?(Y6(e,o),process.nextTick(n,o),!1):!0}go.prototype.write=function(e,t,r){var n=this._writableState,o=!1,i=!n.objectMode&&F8t(e);return i&&!MN.isBuffer(e)&&(e=j8t(e)),typeof t==\"function\"&&(r=t,t=null),i?t=\"buffer\":t||(t=n.defaultEncoding),typeof r!=\"function\"&&(r=eTt),n.ending?tTt(this,r):(i||rTt(this,n,e,r))&&(n.pendingcb++,o=oTt(this,n,i,e,t,r)),o};go.prototype.cork=function(){this._writableState.corked++};go.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&Wtt(this,e))};go.prototype.setDefaultEncoding=function(t){if(typeof t==\"string\"&&(t=t.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((t+\"\").toLowerCase())>-1))throw new X8t(t);return this._writableState.defaultEncoding=t,this};Object.defineProperty(go.prototype,\"writableBuffer\",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function nTt(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&typeof t==\"string\"&&(t=MN.from(t,r)),t}Object.defineProperty(go.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function oTt(e,t,r,n,o,i){if(!r){var c=nTt(t,n,o);n!==c&&(r=!0,o=\"buffer\",n=c)}var l=t.objectMode?1:n.length;t.length+=l;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var p=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:i,next:null},p?p.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else _re(e,t,!1,l,n,o,i);return f}function _re(e,t,r,n,o,i,c){t.writelen=n,t.writecb=c,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new J8t(\"write\")):r?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function iTt(e,t,r,n,o){--t.pendingcb,r?(process.nextTick(o,n),process.nextTick(V3,e,t),e._writableState.errorEmitted=!0,Y6(e,n)):(o(n),e._writableState.errorEmitted=!0,Y6(e,n),V3(e,t))}function aTt(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function sTt(e,t){var r=e._writableState,n=r.sync,o=r.writecb;if(typeof o!=\"function\")throw new Z8t;if(aTt(r),t)iTt(e,r,n,t,o);else{var i=Jtt(r)||e.destroyed;!i&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&Wtt(e,r),n?process.nextTick(Gtt,e,r,i,o):Gtt(e,r,i,o)}}function Gtt(e,t,r,n){r||cTt(e,t),t.pendingcb--,n(),V3(e,t)}function cTt(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function Wtt(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var c=0,l=!0;r;)o[c]=r,r.isBuf||(l=!1),r=r.next,c+=1;o.allBuffers=l,_re(e,t,!0,t.length,o,\"\",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new Ktt(t),t.bufferedRequestCount=0}else{for(;r;){var f=r.chunk,p=r.encoding,h=r.callback,y=t.objectMode?1:f.length;if(_re(e,t,!1,y,f,p,h),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}go.prototype._write=function(e,t,r){r(new K8t(\"_write()\"))};go.prototype._writev=null;go.prototype.end=function(e,t,r){var n=this._writableState;return typeof e==\"function\"?(r=e,e=null,t=null):typeof t==\"function\"&&(r=t,t=null),e!=null&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||dTt(this,n,r),this};Object.defineProperty(go.prototype,\"writableLength\",{enumerable:!1,get:function(){return this._writableState.length}});function Jtt(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function uTt(e,t){e._final(function(r){t.pendingcb--,r&&Y6(e,r),t.prefinished=!0,e.emit(\"prefinish\"),V3(e,t)})}function lTt(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final==\"function\"&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,process.nextTick(uTt,e,t)):(t.prefinished=!0,e.emit(\"prefinish\")))}function V3(e,t){var r=Jtt(t);if(r&&(lTt(e,t),t.pendingcb===0&&(t.finished=!0,e.emit(\"finish\"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}function dTt(e,t,r){t.ending=!0,V3(e,t),r&&(t.finished?process.nextTick(r):e.once(\"finish\",r)),t.ended=!0,e.writable=!1}function fTt(e,t,r){var n=e.entry;for(e.entry=null;n;){var o=n.callback;t.pendingcb--,o(r),n=n.next}t.corkedRequestsFree.next=e}Object.defineProperty(go.prototype,\"destroyed\",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}});go.prototype.destroy=Sre.destroy;go.prototype._undestroy=Sre.undestroy;go.prototype._destroy=function(e,t){t(e)}});var Jg=J((UOn,Xtt)=>{\"use strict\";u();var pTt=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};Xtt.exports=rf;var Ytt=Tre(),Cre=Are();pu()(rf,Ytt);for(kre=pTt(Cre.prototype),DN=0;DN<kre.length;DN++)NN=kre[DN],rf.prototype[NN]||(rf.prototype[NN]=Cre.prototype[NN]);var kre,NN,DN;function rf(e){if(!(this instanceof rf))return new rf(e);Ytt.call(this,e),Cre.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once(\"end\",mTt)))}Object.defineProperty(rf.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(rf.prototype,\"writableBuffer\",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(rf.prototype,\"writableLength\",{enumerable:!1,get:function(){return this._writableState.length}});function mTt(){this._writableState.ended||process.nextTick(hTt,this)}function hTt(e){e.end()}Object.defineProperty(rf.prototype,\"destroyed\",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(t){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=t,this._writableState.destroyed=t)}})});var Rre=J(trt=>{\"use strict\";u();var Pre=Jd().Buffer,ert=Pre.isEncoding||function(e){switch(e=\"\"+e,e&&e.toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":case\"raw\":return!0;default:return!1}};function yTt(e){if(!e)return\"utf8\";for(var t;;)switch(e){case\"utf8\":case\"utf-8\":return\"utf8\";case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return\"utf16le\";case\"latin1\":case\"binary\":return\"latin1\";case\"base64\":case\"ascii\":case\"hex\":return e;default:if(t)return;e=(\"\"+e).toLowerCase(),t=!0}}function bTt(e){var t=yTt(e);if(typeof t!=\"string\"&&(Pre.isEncoding===ert||!ert(e)))throw new Error(\"Unknown encoding: \"+e);return t||e}trt.StringDecoder=G3;function G3(e){this.encoding=bTt(e);var t;switch(this.encoding){case\"utf16le\":this.text=_Tt,this.end=STt,t=4;break;case\"utf8\":this.fillLast=vTt,t=4;break;case\"base64\":this.text=ATt,this.end=kTt,t=3;break;default:this.write=CTt,this.end=TTt;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Pre.allocUnsafe(t)}G3.prototype.write=function(e){if(e.length===0)return\"\";var t,r;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return\"\";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||\"\"};G3.prototype.end=ETt;G3.prototype.text=wTt;G3.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function Ire(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function gTt(e,t,r){var n=t.length-1;if(n<r)return 0;var o=Ire(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r||o===-2?0:(o=Ire(t[n]),o>=0?(o>0&&(e.lastNeed=o-2),o):--n<r||o===-2?0:(o=Ire(t[n]),o>=0?(o>0&&(o===2?o=0:e.lastNeed=o-3),o):0))}function xTt(e,t,r){if((t[0]&192)!==128)return e.lastNeed=0,\"\\\\uFFFD\";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,\"\\\\uFFFD\";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,\"\\\\uFFFD\"}}function vTt(e){var t=this.lastTotal-this.lastNeed,r=xTt(this,e,t);if(r!==void 0)return r;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function wTt(e,t){var r=gTt(this,e,t);if(!this.lastNeed)return e.toString(\"utf8\",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString(\"utf8\",t,n)}function ETt(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+\"\\\\uFFFD\":t}function _Tt(e,t){if((e.length-t)%2===0){var r=e.toString(\"utf16le\",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(\"utf16le\",t,e.length-1)}function STt(e){var t=e&&e.length?this.write(e):\"\";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(\"utf16le\",0,r)}return t}function ATt(e,t){var r=(e.length-t)%3;return r===0?e.toString(\"base64\",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(\"base64\",t,e.length-r))}function kTt(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+this.lastChar.toString(\"base64\",0,3-this.lastNeed):t}function CTt(e){return e.toString(this.encoding)}function TTt(e){return e&&e.length?this.write(e):\"\"}});var UN=J((HOn,ort)=>{\"use strict\";u();var rrt=Wg().codes.ERR_STREAM_PREMATURE_CLOSE;function ITt(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.apply(this,n)}}}function PTt(){}function RTt(e){return e.setHeader&&typeof e.abort==\"function\"}function nrt(e,t,r){if(typeof t==\"function\")return nrt(e,null,t);t||(t={}),r=ITt(r||PTt);var n=t.readable||t.readable!==!1&&e.readable,o=t.writable||t.writable!==!1&&e.writable,i=function(){e.writable||l()},c=e._writableState&&e._writableState.finished,l=function(){o=!1,c=!0,n||r.call(e)},f=e._readableState&&e._readableState.endEmitted,p=function(){n=!1,f=!0,o||r.call(e)},h=function(A){r.call(e,A)},y=function(){var A;if(n&&!f)return(!e._readableState||!e._readableState.ended)&&(A=new rrt),r.call(e,A);if(o&&!c)return(!e._writableState||!e._writableState.ended)&&(A=new rrt),r.call(e,A)},w=function(){e.req.on(\"finish\",l)};return RTt(e)?(e.on(\"complete\",l),e.on(\"abort\",y),e.req?w():e.on(\"request\",w)):o&&!e._writableState&&(e.on(\"end\",i),e.on(\"close\",i)),e.on(\"end\",p),e.on(\"finish\",l),t.error!==!1&&e.on(\"error\",h),e.on(\"close\",y),function(){e.removeListener(\"complete\",l),e.removeListener(\"abort\",y),e.removeListener(\"request\",w),e.req&&e.req.removeListener(\"finish\",l),e.removeListener(\"end\",i),e.removeListener(\"close\",i),e.removeListener(\"finish\",l),e.removeListener(\"end\",p),e.removeListener(\"error\",h),e.removeListener(\"close\",y)}}ort.exports=nrt});var art=J((FOn,irt)=>{\"use strict\";u();var $N;function B0(e,t,r){return t=OTt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OTt(e){var t=BTt(e,\"string\");return typeof t==\"symbol\"?t:String(t)}function BTt(e,t){if(typeof e!=\"object\"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||\"default\");if(typeof n!=\"object\")return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}var MTt=UN(),M0=Symbol(\"lastResolve\"),Qg=Symbol(\"lastReject\"),K3=Symbol(\"error\"),zN=Symbol(\"ended\"),Yg=Symbol(\"lastPromise\"),Ore=Symbol(\"handlePromise\"),Xg=Symbol(\"stream\");function D0(e,t){return{value:e,done:t}}function DTt(e){var t=e[M0];if(t!==null){var r=e[Xg].read();r!==null&&(e[Yg]=null,e[M0]=null,e[Qg]=null,t(D0(r,!1)))}}function NTt(e){process.nextTick(DTt,e)}function UTt(e,t){return function(r,n){e.then(function(){if(t[zN]){r(D0(void 0,!0));return}t[Ore](r,n)},n)}}var $Tt=Object.getPrototypeOf(function(){}),zTt=Object.setPrototypeOf(($N={get stream(){return this[Xg]},next:function(){var t=this,r=this[K3];if(r!==null)return Promise.reject(r);if(this[zN])return Promise.resolve(D0(void 0,!0));if(this[Xg].destroyed)return new Promise(function(c,l){process.nextTick(function(){t[K3]?l(t[K3]):c(D0(void 0,!0))})});var n=this[Yg],o;if(n)o=new Promise(UTt(n,this));else{var i=this[Xg].read();if(i!==null)return Promise.resolve(D0(i,!1));o=new Promise(this[Ore])}return this[Yg]=o,o}},B0($N,Symbol.asyncIterator,function(){return this}),B0($N,\"return\",function(){var t=this;return new Promise(function(r,n){t[Xg].destroy(null,function(o){if(o){n(o);return}r(D0(void 0,!0))})})}),$N),$Tt),LTt=function(t){var r,n=Object.create(zTt,(r={},B0(r,Xg,{value:t,writable:!0}),B0(r,M0,{value:null,writable:!0}),B0(r,Qg,{value:null,writable:!0}),B0(r,K3,{value:null,writable:!0}),B0(r,zN,{value:t._readableState.endEmitted,writable:!0}),B0(r,Ore,{value:function(i,c){var l=n[Xg].read();l?(n[Yg]=null,n[M0]=null,n[Qg]=null,i(D0(l,!1))):(n[M0]=i,n[Qg]=c)},writable:!0}),r));return n[Yg]=null,MTt(t,function(o){if(o&&o.code!==\"ERR_STREAM_PREMATURE_CLOSE\"){var i=n[Qg];i!==null&&(n[Yg]=null,n[M0]=null,n[Qg]=null,i(o)),n[K3]=o;return}var c=n[M0];c!==null&&(n[Yg]=null,n[M0]=null,n[Qg]=null,c(D0(void 0,!0))),n[zN]=!0}),t.on(\"readable\",NTt.bind(null,n)),n};irt.exports=LTt});var crt=J((qOn,srt)=>{u();srt.exports=function(){throw new Error(\"Readable.from is not available in the browser\")}});var Tre=J((ZOn,grt)=>{\"use strict\";u();grt.exports=Cr;var X6;Cr.ReadableState=frt;var KOn=F3().EventEmitter,drt=function(t,r){return t.listeners(r).length},W3=yre(),LN=dx().Buffer,HTt=(typeof globalThis<\"u\"?globalThis:typeof window<\"u\"?window:typeof self<\"u\"?self:{}).Uint8Array||function(){};function jTt(e){return LN.from(e)}function FTt(e){return LN.isBuffer(e)||e instanceof HTt}var Bre=bre(),cr;Bre&&Bre.debuglog?cr=Bre.debuglog(\"stream\"):cr=function(){};var VTt=Utt(),Lre=vre(),qTt=wre(),GTt=qTt.getHighWaterMark,HN=Wg().codes,KTt=HN.ERR_INVALID_ARG_TYPE,ZTt=HN.ERR_STREAM_PUSH_AFTER_EOF,WTt=HN.ERR_METHOD_NOT_IMPLEMENTED,JTt=HN.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,eE,Mre,Dre;pu()(Cr,W3);var Z3=Lre.errorOrDestroy,Nre=[\"error\",\"close\",\"destroy\",\"pause\",\"resume\"];function QTt(e,t,r){if(typeof e.prependListener==\"function\")return e.prependListener(t,r);!e._events||!e._events[t]?e.on(t,r):Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]}function frt(e,t,r){X6=X6||Jg(),e=e||{},typeof r!=\"boolean\"&&(r=t instanceof X6),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=GTt(this,e,\"readableHighWaterMark\",r),this.buffer=new VTt,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(eE||(eE=Rre().StringDecoder),this.decoder=new eE(e.encoding),this.encoding=e.encoding)}function Cr(e){if(X6=X6||Jg(),!(this instanceof Cr))return new Cr(e);var t=this instanceof X6;this._readableState=new frt(e,this,t),this.readable=!0,e&&(typeof e.read==\"function\"&&(this._read=e.read),typeof e.destroy==\"function\"&&(this._destroy=e.destroy)),W3.call(this)}Object.defineProperty(Cr.prototype,\"destroyed\",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}});Cr.prototype.destroy=Lre.destroy;Cr.prototype._undestroy=Lre.undestroy;Cr.prototype._destroy=function(e,t){t(e)};Cr.prototype.push=function(e,t){var r=this._readableState,n;return r.objectMode?n=!0:typeof e==\"string\"&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=LN.from(e,t),t=\"\"),n=!0),prt(this,e,t,!1,n)};Cr.prototype.unshift=function(e){return prt(this,e,null,!0,!1)};function prt(e,t,r,n,o){cr(\"readableAddChunk\",t);var i=e._readableState;if(t===null)i.reading=!1,e4t(e,i);else{var c;if(o||(c=YTt(i,t)),c)Z3(e,c);else if(i.objectMode||t&&t.length>0)if(typeof t!=\"string\"&&!i.objectMode&&Object.getPrototypeOf(t)!==LN.prototype&&(t=jTt(t)),n)i.endEmitted?Z3(e,new JTt):Ure(e,i,t,!0);else if(i.ended)Z3(e,new ZTt);else{if(i.destroyed)return!1;i.reading=!1,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||t.length!==0?Ure(e,i,t,!1):zre(e,i)):Ure(e,i,t,!1)}else n||(i.reading=!1,zre(e,i))}return!i.ended&&(i.length<i.highWaterMark||i.length===0)}function Ure(e,t,r,n){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit(\"data\",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&jN(e)),zre(e,t)}function YTt(e,t){var r;return!FTt(t)&&typeof t!=\"string\"&&t!==void 0&&!e.objectMode&&(r=new KTt(\"chunk\",[\"string\",\"Buffer\",\"Uint8Array\"],t)),r}Cr.prototype.isPaused=function(){return this._readableState.flowing===!1};Cr.prototype.setEncoding=function(e){eE||(eE=Rre().StringDecoder);var t=new eE(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n=\"\";r!==null;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),n!==\"\"&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var urt=1073741824;function XTt(e){return e>=urt?e=urt:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function lrt(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=XTt(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}Cr.prototype.read=function(e){cr(\"read\",e),e=parseInt(e,10);var t=this._readableState,r=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended))return cr(\"read: emitReadable\",t.length,t.ended),t.length===0&&t.ended?$re(this):jN(this),null;if(e=lrt(e,t),e===0&&t.ended)return t.length===0&&$re(this),null;var n=t.needReadable;cr(\"need readable\",n),(t.length===0||t.length-e<t.highWaterMark)&&(n=!0,cr(\"length less than watermark\",n)),t.ended||t.reading?(n=!1,cr(\"reading or ended\",n)):n&&(cr(\"do read\"),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=lrt(r,t)));var o;return e>0?o=yrt(e,t):o=null,o===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&$re(this)),o!==null&&this.emit(\"data\",o),o};function e4t(e,t){if(cr(\"onEofChunk\"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?jN(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,mrt(e)))}}function jN(e){var t=e._readableState;cr(\"emitReadable\",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(cr(\"emitReadable\",t.flowing),t.emittedReadable=!0,process.nextTick(mrt,e))}function mrt(e){var t=e._readableState;cr(\"emitReadable_\",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit(\"readable\"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Hre(e)}function zre(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(t4t,e,t))}function t4t(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var r=t.length;if(cr(\"maybeReadMore read 0\"),e.read(0),r===t.length)break}t.readingMore=!1}Cr.prototype._read=function(e){Z3(this,new WTt(\"_read()\"))};Cr.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1,cr(\"pipe count=%d opts=%j\",n.pipesCount,t);var o=(!t||t.end!==!1)&&e!==process.stdout&&e!==process.stderr,i=o?l:C;n.endEmitted?process.nextTick(i):r.once(\"end\",i),e.on(\"unpipe\",c);function c(R,M){cr(\"onunpipe\"),R===r&&M&&M.hasUnpiped===!1&&(M.hasUnpiped=!0,h())}function l(){cr(\"onend\"),e.end()}var f=r4t(r);e.on(\"drain\",f);var p=!1;function h(){cr(\"cleanup\"),e.removeListener(\"close\",E),e.removeListener(\"finish\",A),e.removeListener(\"drain\",f),e.removeListener(\"error\",w),e.removeListener(\"unpipe\",c),r.removeListener(\"end\",l),r.removeListener(\"end\",C),r.removeListener(\"data\",y),p=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&f()}r.on(\"data\",y);function y(R){cr(\"ondata\");var M=e.write(R);cr(\"dest.write\",M),M===!1&&((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&brt(n.pipes,e)!==-1)&&!p&&(cr(\"false write response, pause\",n.awaitDrain),n.awaitDrain++),r.pause())}function w(R){cr(\"onerror\",R),C(),e.removeListener(\"error\",w),drt(e,\"error\")===0&&Z3(e,R)}QTt(e,\"error\",w);function E(){e.removeListener(\"finish\",A),C()}e.once(\"close\",E);function A(){cr(\"onfinish\"),e.removeListener(\"close\",E),C()}e.once(\"finish\",A);function C(){cr(\"unpipe\"),r.unpipe(e)}return e.emit(\"pipe\",r),n.flowing||(cr(\"pipe resume\"),r.resume()),e};function r4t(e){return function(){var r=e._readableState;cr(\"pipeOnDrain\",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,r.awaitDrain===0&&drt(e,\"data\")&&(r.flowing=!0,Hre(e))}}Cr.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this,r),this);if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)n[i].emit(\"unpipe\",this,{hasUnpiped:!1});return this}var c=brt(t.pipes,e);return c===-1?this:(t.pipes.splice(c,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this,r),this)};Cr.prototype.on=function(e,t){var r=W3.prototype.on.call(this,e,t),n=this._readableState;return e===\"data\"?(n.readableListening=this.listenerCount(\"readable\")>0,n.flowing!==!1&&this.resume()):e===\"readable\"&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,cr(\"on readable\",n.length,n.reading),n.length?jN(this):n.reading||process.nextTick(n4t,this)),r};Cr.prototype.addListener=Cr.prototype.on;Cr.prototype.removeListener=function(e,t){var r=W3.prototype.removeListener.call(this,e,t);return e===\"readable\"&&process.nextTick(hrt,this),r};Cr.prototype.removeAllListeners=function(e){var t=W3.prototype.removeAllListeners.apply(this,arguments);return(e===\"readable\"||e===void 0)&&process.nextTick(hrt,this),t};function hrt(e){var t=e._readableState;t.readableListening=e.listenerCount(\"readable\")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount(\"data\")>0&&e.resume()}function n4t(e){cr(\"readable nexttick read 0\"),e.read(0)}Cr.prototype.resume=function(){var e=this._readableState;return e.flowing||(cr(\"resume\"),e.flowing=!e.readableListening,o4t(this,e)),e.paused=!1,this};function o4t(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(i4t,e,t))}function i4t(e,t){cr(\"resume\",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit(\"resume\"),Hre(e),t.flowing&&!t.reading&&e.read(0)}Cr.prototype.pause=function(){return cr(\"call pause flowing=%j\",this._readableState.flowing),this._readableState.flowing!==!1&&(cr(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this._readableState.paused=!0,this};function Hre(e){var t=e._readableState;for(cr(\"flow\",t.flowing);t.flowing&&e.read()!==null;);}Cr.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;e.on(\"end\",function(){if(cr(\"wrapped end\"),r.decoder&&!r.ended){var c=r.decoder.end();c&&c.length&&t.push(c)}t.push(null)}),e.on(\"data\",function(c){if(cr(\"wrapped data\"),r.decoder&&(c=r.decoder.write(c)),!(r.objectMode&&c==null)&&!(!r.objectMode&&(!c||!c.length))){var l=t.push(c);l||(n=!0,e.pause())}});for(var o in e)this[o]===void 0&&typeof e[o]==\"function\"&&(this[o]=(function(l){return function(){return e[l].apply(e,arguments)}})(o));for(var i=0;i<Nre.length;i++)e.on(Nre[i],this.emit.bind(this,Nre[i]));return this._read=function(c){cr(\"wrapped _read\",c),n&&(n=!1,e.resume())},this};typeof Symbol==\"function\"&&(Cr.prototype[Symbol.asyncIterator]=function(){return Mre===void 0&&(Mre=art()),Mre(this)});Object.defineProperty(Cr.prototype,\"readableHighWaterMark\",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(Cr.prototype,\"readableBuffer\",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(Cr.prototype,\"readableFlowing\",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}});Cr._fromList=yrt;Object.defineProperty(Cr.prototype,\"readableLength\",{enumerable:!1,get:function(){return this._readableState.length}});function yrt(e,t){if(t.length===0)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(t.decoder?r=t.buffer.join(\"\"):t.buffer.length===1?r=t.buffer.first():r=t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function $re(e){var t=e._readableState;cr(\"endReadable\",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(a4t,t,e))}function a4t(e,t){if(cr(\"endReadableNT\",e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}typeof Symbol==\"function\"&&(Cr.from=function(e,t){return Dre===void 0&&(Dre=crt()),Dre(Cr,e,t)});function brt(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}});var jre=J((JOn,vrt)=>{\"use strict\";u();vrt.exports=Jp;var FN=Wg().codes,s4t=FN.ERR_METHOD_NOT_IMPLEMENTED,c4t=FN.ERR_MULTIPLE_CALLBACK,u4t=FN.ERR_TRANSFORM_ALREADY_TRANSFORMING,l4t=FN.ERR_TRANSFORM_WITH_LENGTH_0,VN=Jg();pu()(Jp,VN);function d4t(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(n===null)return this.emit(\"error\",new c4t);r.writechunk=null,r.writecb=null,t!=null&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function Jp(e){if(!(this instanceof Jp))return new Jp(e);VN.call(this,e),this._transformState={afterTransform:d4t.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform==\"function\"&&(this._transform=e.transform),typeof e.flush==\"function\"&&(this._flush=e.flush)),this.on(\"prefinish\",f4t)}function f4t(){var e=this;typeof this._flush==\"function\"&&!this._readableState.destroyed?this._flush(function(t,r){xrt(e,t,r)}):xrt(this,null,null)}Jp.prototype.push=function(e,t){return this._transformState.needTransform=!1,VN.prototype.push.call(this,e,t)};Jp.prototype._transform=function(e,t,r){r(new s4t(\"_transform()\"))};Jp.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}};Jp.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0};Jp.prototype._destroy=function(e,t){VN.prototype._destroy.call(this,e,function(r){t(r)})};function xrt(e,t,r){if(t)return e.emit(\"error\",t);if(r!=null&&e.push(r),e._writableState.length)throw new l4t;if(e._transformState.transforming)throw new u4t;return e.push(null)}});var _rt=J((YOn,Ert)=>{\"use strict\";u();Ert.exports=J3;var wrt=jre();pu()(J3,wrt);function J3(e){if(!(this instanceof J3))return new J3(e);wrt.call(this,e)}J3.prototype._transform=function(e,t,r){r(null,e)}});var Trt=J((eBn,Crt)=>{\"use strict\";u();var Fre;function p4t(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var krt=Wg().codes,m4t=krt.ERR_MISSING_ARGS,h4t=krt.ERR_STREAM_DESTROYED;function Srt(e){if(e)throw e}function y4t(e){return e.setHeader&&typeof e.abort==\"function\"}function b4t(e,t,r,n){n=p4t(n);var o=!1;e.on(\"close\",function(){o=!0}),Fre===void 0&&(Fre=UN()),Fre(e,{readable:t,writable:r},function(c){if(c)return n(c);o=!0,n()});var i=!1;return function(c){if(!o&&!i){if(i=!0,y4t(e))return e.abort();if(typeof e.destroy==\"function\")return e.destroy();n(c||new h4t(\"pipe\"))}}}function Art(e){e()}function g4t(e,t){return e.pipe(t)}function x4t(e){return!e.length||typeof e[e.length-1]!=\"function\"?Srt:e.pop()}function v4t(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=x4t(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new m4t(\"streams\");var o,i=t.map(function(c,l){var f=l<t.length-1,p=l>0;return b4t(c,f,p,function(h){o||(o=h),h&&i.forEach(Art),!f&&(i.forEach(Art),n(o))})});return t.reduce(g4t)}Crt.exports=v4t});var Vre=J((yu,Irt)=>{u();yu=Irt.exports=Tre();yu.Stream=yu;yu.Readable=yu;yu.Writable=Are();yu.Duplex=Jg();yu.Transform=jre();yu.PassThrough=_rt();yu.finished=UN();yu.pipeline=Trt()});var Ort=J((nBn,Rrt)=>{u();var{Transform:w4t}=Vre();Rrt.exports=e=>class Prt extends w4t{constructor(r,n,o,i,c){super(c),this._rate=r,this._capacity=n,this._delimitedSuffix=o,this._hashBitLength=i,this._options=c,this._state=new e,this._state.initialize(r,n),this._finalized=!1}_transform(r,n,o){let i=null;try{this.update(r,n)}catch(c){i=c}o(i)}_flush(r){let n=null;try{this.push(this.digest())}catch(o){n=o}r(n)}update(r,n){if(!globalThis.Buffer.isBuffer(r)&&typeof r!=\"string\")throw new TypeError(\"Data must be a string or a buffer\");if(this._finalized)throw new Error(\"Digest already called\");return globalThis.Buffer.isBuffer(r)||(r=globalThis.Buffer.from(r,n)),this._state.absorb(r),this}digest(r){if(this._finalized)throw new Error(\"Digest already called\");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let n=this._state.squeeze(this._hashBitLength/8);return r!==void 0&&(n=n.toString(r)),this._resetState(),n}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let r=new Prt(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(r._state),r._finalized=this._finalized,r}}});var Drt=J((iBn,Mrt)=>{u();var{Transform:E4t}=Vre();Mrt.exports=e=>class Brt extends E4t{constructor(r,n,o,i){super(i),this._rate=r,this._capacity=n,this._delimitedSuffix=o,this._options=i,this._state=new e,this._state.initialize(r,n),this._finalized=!1}_transform(r,n,o){let i=null;try{this.update(r,n)}catch(c){i=c}o(i)}_flush(){}_read(r){this.push(this.squeeze(r))}update(r,n){if(!globalThis.Buffer.isBuffer(r)&&typeof r!=\"string\")throw new TypeError(\"Data must be a string or a buffer\");if(this._finalized)throw new Error(\"Squeeze already called\");return globalThis.Buffer.isBuffer(r)||(r=globalThis.Buffer.from(r,n)),this._state.absorb(r),this}squeeze(r,n){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let o=this._state.squeeze(r);return n!==void 0&&(o=o.toString(n)),o}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){let r=new Brt(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(r._state),r._finalized=this._finalized,r}}});var Urt=J((sBn,Nrt)=>{u();var _4t=Ort(),S4t=Drt();Nrt.exports=function(e){let t=_4t(e),r=S4t(e);return function(n,o){switch(typeof n==\"string\"?n.toLowerCase():n){case\"keccak224\":return new t(1152,448,null,224,o);case\"keccak256\":return new t(1088,512,null,256,o);case\"keccak384\":return new t(832,768,null,384,o);case\"keccak512\":return new t(576,1024,null,512,o);case\"sha3-224\":return new t(1152,448,6,224,o);case\"sha3-256\":return new t(1088,512,6,256,o);case\"sha3-384\":return new t(832,768,6,384,o);case\"sha3-512\":return new t(576,1024,6,512,o);case\"shake128\":return new r(1344,256,31,o);case\"shake256\":return new r(1088,512,31,o);default:throw new Error(\"Invald algorithm: \"+n)}}}});var Lrt=J(zrt=>{u();var $rt=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];zrt.p1600=function(e){for(let t=0;t<24;++t){let r=e[0]^e[10]^e[20]^e[30]^e[40],n=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],i=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],f=e[6]^e[16]^e[26]^e[36]^e[46],p=e[7]^e[17]^e[27]^e[37]^e[47],h=e[8]^e[18]^e[28]^e[38]^e[48],y=e[9]^e[19]^e[29]^e[39]^e[49],w=h^(o<<1|i>>>31),E=y^(i<<1|o>>>31),A=e[0]^w,C=e[1]^E,R=e[10]^w,M=e[11]^E,D=e[20]^w,$=e[21]^E,H=e[30]^w,V=e[31]^E,G=e[40]^w,K=e[41]^E;w=r^(c<<1|l>>>31),E=n^(l<<1|c>>>31);let Q=e[2]^w,X=e[3]^E,Y=e[12]^w,fe=e[13]^E,ce=e[22]^w,N=e[23]^E,_=e[32]^w,k=e[33]^E,O=e[42]^w,B=e[43]^E;w=o^(f<<1|p>>>31),E=i^(p<<1|f>>>31);let L=e[4]^w,q=e[5]^E,W=e[14]^w,U=e[15]^E,P=e[24]^w,Z=e[25]^E,ye=e[34]^w,xe=e[35]^E,Te=e[44]^w,Ie=e[45]^E;w=c^(h<<1|y>>>31),E=l^(y<<1|h>>>31);let Ke=e[6]^w,Ve=e[7]^E,Nt=e[16]^w,Pe=e[17]^E,Ot=e[26]^w,Fn=e[27]^E,rr=e[36]^w,yt=e[37]^E,nr=e[46]^w,tn=e[47]^E;w=f^(r<<1|n>>>31),E=p^(n<<1|r>>>31);let Xe=e[8]^w,gc=e[9]^E,pt=e[18]^w,ln=e[19]^E,Hi=e[28]^w,Mr=e[29]^E,Dr=e[38]^w,df=e[39]^E,$r=e[48]^w,zr=e[49]^E,sa=A,rn=C,Ir=M<<4|R>>>28,Wa=R<<4|M>>>28,Pr=D<<3|$>>>29,Rr=$<<3|D>>>29,xc=V<<9|H>>>23,wr=H<<9|V>>>23,j=G<<18|K>>>14,de=K<<18|G>>>14,ke=Q<<1|X>>>31,Re=X<<1|Q>>>31,Je=fe<<12|Y>>>20,Ze=Y<<12|fe>>>20,We=ce<<10|N>>>22,jt=N<<10|ce>>>22,Le=k<<13|_>>>19,Ft=_<<13|k>>>19,Co=O<<2|B>>>30,Er=B<<2|O>>>30,Lr=q<<30|L>>>2,ff=L<<30|q>>>2,nn=W<<6|U>>>26,on=U<<6|W>>>26,ji=Z<<11|P>>>21,lr=P<<11|Z>>>21,wn=ye<<15|xe>>>17,Xp=xe<<15|ye>>>17,dn=Ie<<29|Te>>>3,En=Te<<29|Ie>>>3,_u=Ke<<28|Ve>>>4,dr=Ve<<28|Ke>>>4,_n=Pe<<23|Nt>>>9,gl=Nt<<23|Pe>>>9,Sn=Ot<<25|Fn>>>7,fn=Fn<<25|Ot>>>7,xl=rr<<21|yt>>>11,vl=yt<<21|rr>>>11,Ja=tn<<24|nr>>>8,wl=nr<<24|tn>>>8,El=Xe<<27|gc>>>5,_l=gc<<27|Xe>>>5,Sl=pt<<20|ln>>>12,Al=ln<<20|pt>>>12,xo=Mr<<7|Hi>>>25,Qa=Hi<<7|Mr>>>25,ca=Dr<<8|df>>>24,kl=df<<8|Dr>>>24,Ns=$r<<14|zr>>>18,vc=zr<<14|$r>>>18;e[0]=sa^~Je&ji,e[1]=rn^~Ze&lr,e[10]=_u^~Sl&Pr,e[11]=dr^~Al&Rr,e[20]=ke^~nn&Sn,e[21]=Re^~on&fn,e[30]=El^~Ir&We,e[31]=_l^~Wa&jt,e[40]=Lr^~_n&xo,e[41]=ff^~gl&Qa,e[2]=Je^~ji&xl,e[3]=Ze^~lr&vl,e[12]=Sl^~Pr&Le,e[13]=Al^~Rr&Ft,e[22]=nn^~Sn&ca,e[23]=on^~fn&kl,e[32]=Ir^~We&wn,e[33]=Wa^~jt&Xp,e[42]=_n^~xo&xc,e[43]=gl^~Qa&wr,e[4]=ji^~xl&Ns,e[5]=lr^~vl&vc,e[14]=Pr^~Le&dn,e[15]=Rr^~Ft&En,e[24]=Sn^~ca&j,e[25]=fn^~kl&de,e[34]=We^~wn&Ja,e[35]=jt^~Xp&wl,e[44]=xo^~xc&Co,e[45]=Qa^~wr&Er,e[6]=xl^~Ns&sa,e[7]=vl^~vc&rn,e[16]=Le^~dn&_u,e[17]=Ft^~En&dr,e[26]=ca^~j&ke,e[27]=kl^~de&Re,e[36]=wn^~Ja&El,e[37]=Xp^~wl&_l,e[46]=xc^~Co&Lr,e[47]=wr^~Er&ff,e[8]=Ns^~sa&Je,e[9]=vc^~rn&Ze,e[18]=dn^~_u&Sl,e[19]=En^~dr&Al,e[28]=j^~ke&nn,e[29]=de^~Re&on,e[38]=Ja^~El&Ir,e[39]=wl^~_l&Wa,e[48]=Co^~Lr&_n,e[49]=Er^~ff&gl,e[0]^=$rt[t*2],e[1]^=$rt[t*2+1]}}});var jrt=J((dBn,Hrt)=>{u();var qN=Lrt();function tE(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}tE.prototype.initialize=function(e,t){for(let r=0;r<50;++r)this.state[r]=0;this.blockSize=e/8,this.count=0,this.squeezing=!1};tE.prototype.absorb=function(e){for(let t=0;t<e.length;++t)this.state[~~(this.count/4)]^=e[t]<<8*(this.count%4),this.count+=1,this.count===this.blockSize&&(qN.p1600(this.state),this.count=0)};tE.prototype.absorbLastFewBits=function(e){this.state[~~(this.count/4)]^=e<<8*(this.count%4),(e&128)!==0&&this.count===this.blockSize-1&&qN.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<8*((this.blockSize-1)%4),qN.p1600(this.state),this.count=0,this.squeezing=!0};tE.prototype.squeeze=function(e){this.squeezing||this.absorbLastFewBits(1);let t=globalThis.Buffer.alloc(e);for(let r=0;r<e;++r)t[r]=this.state[~~(this.count/4)]>>>8*(this.count%4)&255,this.count+=1,this.count===this.blockSize&&(qN.p1600(this.state),this.count=0);return t};tE.prototype.copy=function(e){for(let t=0;t<50;++t)e.state[t]=this.state[t];e.blockSize=this.blockSize,e.count=this.count,e.squeezing=this.squeezing};Hrt.exports=tE});var Vrt=J((pBn,Frt)=>{u();Frt.exports=Urt()(jrt())});var qre=J((hBn,Wrt)=>{u();var A4t=Vrt(),k4t=g3();function qrt(e){return globalThis.Buffer.allocUnsafe(e).fill(0)}function Grt(e,t,r){let n=qrt(t);return e=GN(e),r?e.length<t?(e.copy(n),n):e.slice(0,t):e.length<t?(e.copy(n,t-e.length),n):e.slice(-t)}function C4t(e,t){return Grt(e,t,!0)}function GN(e){if(!globalThis.Buffer.isBuffer(e))if(Array.isArray(e))e=globalThis.Buffer.from(e);else if(typeof e==\"string\")Krt(e)?e=globalThis.Buffer.from(P4t(Zrt(e)),\"hex\"):e=globalThis.Buffer.from(e);else if(typeof e==\"number\")e=intToBuffer(e);else if(e==null)e=globalThis.Buffer.allocUnsafe(0);else if(k4t.isBN(e))e=e.toArrayLike(globalThis.Buffer);else if(e.toArray)e=globalThis.Buffer.from(e.toArray());else throw new Error(\"invalid type\");return e}function T4t(e){return e=GN(e),\"0x\"+e.toString(\"hex\")}function I4t(e,t){return e=GN(e),t||(t=256),A4t(\"keccak\"+t).update(e).digest()}function P4t(e){return e.length%2?\"0\"+e:e}function Krt(e){return typeof e==\"string\"&&e.match(/^0x[0-9A-Fa-f]*$/)}function Zrt(e){return typeof e==\"string\"&&e.startsWith(\"0x\")?e.slice(2):e}Wrt.exports={zeros:qrt,setLength:Grt,setLengthRight:C4t,isHexString:Krt,stripHexPrefix:Zrt,toBuffer:GN,bufferToHex:T4t,keccak:I4t}});var tnt=J((bBn,ent)=>{u();var r1=qre(),t1=g3();function Qrt(e){return e.startsWith(\"int[\")?\"int256\"+e.slice(3):e===\"int\"?\"int256\":e.startsWith(\"uint[\")?\"uint256\"+e.slice(4):e===\"uint\"?\"uint256\":e.startsWith(\"fixed[\")?\"fixed128x128\"+e.slice(5):e===\"fixed\"?\"fixed128x128\":e.startsWith(\"ufixed[\")?\"ufixed128x128\"+e.slice(6):e===\"ufixed\"?\"ufixed128x128\":e}function rE(e){return parseInt(/^\\\\D+(\\\\d+)$/.exec(e)[1],10)}function Jrt(e){var t=/^\\\\D+(\\\\d+)x(\\\\d+)$/.exec(e);return[parseInt(t[1],10),parseInt(t[2],10)]}function Yrt(e){var t=e.match(/(.*)\\\\[(.*?)\\\\]$/);return t?t[2]===\"\"?\"dynamic\":parseInt(t[2],10):null}function e1(e){var t=typeof e;if(t===\"string\")return r1.isHexString(e)?new t1(r1.stripHexPrefix(e),16):new t1(e,10);if(t===\"number\")return new t1(e);if(e.toArray)return e;throw new Error(\"Argument is not a number\")}function nf(e,t){var r,n,o,i;if(e===\"address\")return nf(\"uint160\",e1(t));if(e===\"bool\")return nf(\"uint8\",t?1:0);if(e===\"string\")return nf(\"bytes\",new globalThis.Buffer(t,\"utf8\"));if(O4t(e)){if(typeof t.length>\"u\")throw new Error(\"Not an array?\");if(r=Yrt(e),r!==\"dynamic\"&&r!==0&&t.length>r)throw new Error(\"Elements exceed array size: \"+r);o=[],e=e.slice(0,e.lastIndexOf(\"[\")),typeof t==\"string\"&&(t=JSON.parse(t));for(i in t)o.push(nf(e,t[i]));if(r===\"dynamic\"){var c=nf(\"uint256\",t.length);o.unshift(c)}return globalThis.Buffer.concat(o)}else{if(e===\"bytes\")return t=new globalThis.Buffer(t),o=globalThis.Buffer.concat([nf(\"uint256\",t.length),t]),t.length%32!==0&&(o=globalThis.Buffer.concat([o,r1.zeros(32-t.length%32)])),o;if(e.startsWith(\"bytes\")){if(r=rE(e),r<1||r>32)throw new Error(\"Invalid bytes<N> width: \"+r);return r1.setLengthRight(t,32)}else if(e.startsWith(\"uint\")){if(r=rE(e),r%8||r<8||r>256)throw new Error(\"Invalid uint<N> width: \"+r);if(n=e1(t),n.bitLength()>r)throw new Error(\"Supplied uint exceeds width: \"+r+\" vs \"+n.bitLength());if(n<0)throw new Error(\"Supplied uint is negative\");return n.toArrayLike(globalThis.Buffer,\"be\",32)}else if(e.startsWith(\"int\")){if(r=rE(e),r%8||r<8||r>256)throw new Error(\"Invalid int<N> width: \"+r);if(n=e1(t),n.bitLength()>r)throw new Error(\"Supplied int exceeds width: \"+r+\" vs \"+n.bitLength());return n.toTwos(256).toArrayLike(globalThis.Buffer,\"be\",32)}else if(e.startsWith(\"ufixed\")){if(r=Jrt(e),n=e1(t),n<0)throw new Error(\"Supplied ufixed is negative\");return nf(\"uint256\",n.mul(new t1(2).pow(new t1(r[1]))))}else if(e.startsWith(\"fixed\"))return r=Jrt(e),nf(\"int256\",e1(t).mul(new t1(2).pow(new t1(r[1]))))}throw new Error(\"Unsupported or invalid type: \"+e)}function R4t(e){return e===\"string\"||e===\"bytes\"||Yrt(e)===\"dynamic\"}function O4t(e){return e.lastIndexOf(\"]\")===e.length-1}function B4t(e,t){var r=[],n=[],o=32*e.length;for(var i in e){var c=Qrt(e[i]),l=t[i],f=nf(c,l);R4t(c)?(r.push(nf(\"uint256\",o)),n.push(f),o+=f.length):r.push(f)}return globalThis.Buffer.concat(r.concat(n))}function Xrt(e,t){if(e.length!==t.length)throw new Error(\"Number of types are not matching the values\");for(var r,n,o=[],i=0;i<e.length;i++){var c=Qrt(e[i]),l=t[i];if(c===\"bytes\")o.push(l);else if(c===\"string\")o.push(new globalThis.Buffer(l,\"utf8\"));else if(c===\"bool\")o.push(new globalThis.Buffer(l?\"01\":\"00\",\"hex\"));else if(c===\"address\")o.push(r1.setLength(l,20));else if(c.startsWith(\"bytes\")){if(r=rE(c),r<1||r>32)throw new Error(\"Invalid bytes<N> width: \"+r);o.push(r1.setLengthRight(l,r))}else if(c.startsWith(\"uint\")){if(r=rE(c),r%8||r<8||r>256)throw new Error(\"Invalid uint<N> width: \"+r);if(n=e1(l),n.bitLength()>r)throw new Error(\"Supplied uint exceeds width: \"+r+\" vs \"+n.bitLength());o.push(n.toArrayLike(globalThis.Buffer,\"be\",r/8))}else if(c.startsWith(\"int\")){if(r=rE(c),r%8||r<8||r>256)throw new Error(\"Invalid int<N> width: \"+r);if(n=e1(l),n.bitLength()>r)throw new Error(\"Supplied int exceeds width: \"+r+\" vs \"+n.bitLength());o.push(n.toTwos(r).toArrayLike(globalThis.Buffer,\"be\",r/8))}else throw new Error(\"Unsupported or invalid type: \"+c)}return globalThis.Buffer.concat(o)}function M4t(e,t){return r1.keccak(Xrt(e,t))}ent.exports={rawEncode:B4t,solidityPack:Xrt,soliditySHA3:M4t}});var ont=J((xBn,nnt)=>{u();var hl=qre(),Q3=tnt(),rnt={type:\"object\",properties:{types:{type:\"object\",additionalProperties:{type:\"array\",items:{type:\"object\",properties:{name:{type:\"string\"},type:{type:\"string\"}},required:[\"name\",\"type\"]}}},primaryType:{type:\"string\"},domain:{type:\"object\"},message:{type:\"object\"}},required:[\"types\",\"primaryType\",\"domain\",\"message\"]},Gre={encodeData(e,t,r,n=!0){let o=[\"bytes32\"],i=[this.hashType(e,r)];if(n){let c=(l,f,p)=>{if(r[f]!==void 0)return[\"bytes32\",p==null?\"0x0000000000000000000000000000000000000000000000000000000000000000\":hl.keccak(this.encodeData(f,p,r,n))];if(p===void 0)throw new Error(`missing value for field ${l} of type ${f}`);if(f===\"bytes\")return[\"bytes32\",hl.keccak(p)];if(f===\"string\")return typeof p==\"string\"&&(p=globalThis.Buffer.from(p,\"utf8\")),[\"bytes32\",hl.keccak(p)];if(f.lastIndexOf(\"]\")===f.length-1){let h=f.slice(0,f.lastIndexOf(\"[\")),y=p.map(w=>c(l,h,w));return[\"bytes32\",hl.keccak(Q3.rawEncode(y.map(([w])=>w),y.map(([,w])=>w)))]}return[f,p]};for(let l of r[e]){let[f,p]=c(l.name,l.type,t[l.name]);o.push(f),i.push(p)}}else for(let c of r[e]){let l=t[c.name];if(l!==void 0)if(c.type===\"bytes\")o.push(\"bytes32\"),l=hl.keccak(l),i.push(l);else if(c.type===\"string\")o.push(\"bytes32\"),typeof l==\"string\"&&(l=globalThis.Buffer.from(l,\"utf8\")),l=hl.keccak(l),i.push(l);else if(r[c.type]!==void 0)o.push(\"bytes32\"),l=hl.keccak(this.encodeData(c.type,l,r,n)),i.push(l);else{if(c.type.lastIndexOf(\"]\")===c.type.length-1)throw new Error(\"Arrays currently unimplemented in encodeData\");o.push(c.type),i.push(l)}}return Q3.rawEncode(o,i)},encodeType(e,t){let r=\"\",n=this.findTypeDependencies(e,t).filter(o=>o!==e);n=[e].concat(n.sort());for(let o of n){if(!t[o])throw new Error(\"No type definition specified: \"+o);r+=o+\"(\"+t[o].map(({name:c,type:l})=>l+\" \"+c).join(\",\")+\")\"}return r},findTypeDependencies(e,t,r=[]){if(e=e.match(/^\\\\w*/)[0],r.includes(e)||t[e]===void 0)return r;r.push(e);for(let n of t[e])for(let o of this.findTypeDependencies(n.type,t,r))!r.includes(o)&&r.push(o);return r},hashStruct(e,t,r,n=!0){return hl.keccak(this.encodeData(e,t,r,n))},hashType(e,t){return hl.keccak(this.encodeType(e,t))},sanitizeData(e){let t={};for(let r in rnt.properties)e[r]&&(t[r]=e[r]);return t.types&&(t.types=Object.assign({EIP712Domain:[]},t.types)),t},hash(e,t=!0){let r=this.sanitizeData(e),n=[globalThis.Buffer.from(\"1901\",\"hex\")];return n.push(this.hashStruct(\"EIP712Domain\",r.domain,r.types,t)),r.primaryType!==\"EIP712Domain\"&&n.push(this.hashStruct(r.primaryType,r.message,r.types,t)),hl.keccak(globalThis.Buffer.concat(n))}};nnt.exports={TYPED_MESSAGE_SCHEMA:rnt,TypedDataUtils:Gre,hashForSignTypedDataLegacy:function(e){return D4t(e.data)},hashForSignTypedData_v3:function(e){return Gre.hash(e.data,!1)},hashForSignTypedData_v4:function(e){return Gre.hash(e.data)}};function D4t(e){let t=new Error(\"Expect argument to be non-empty array\");if(typeof e!=\"object\"||!e.length)throw t;let r=e.map(function(i){return i.type===\"bytes\"?hl.toBuffer(i.value):i.value}),n=e.map(function(i){return i.type}),o=e.map(function(i){if(!i.name)throw t;return i.type+\" \"+i.name});return Q3.soliditySHA3([\"bytes32\",\"bytes32\"],[Q3.soliditySHA3(new Array(e.length).fill(\"string\"),o),Q3.soliditySHA3(n,r)])}});var unt=J(oE=>{\"use strict\";u();Object.defineProperty(oE,\"__esModule\",{value:!0});oE.filterFromParam=oE.FilterPolyfill=void 0;var nE=E3(),Ga=Kd(),N4t=300*1e3,n1={jsonrpc:\"2.0\",id:0},Kre=class{constructor(t){this.logFilters=new Map,this.blockFilters=new Set,this.pendingTransactionFilters=new Set,this.cursors=new Map,this.timeouts=new Map,this.nextFilterId=(0,nE.IntNumber)(1),this.REQUEST_THROTTLE_INTERVAL=1e3,this.lastFetchTimestamp=new Date(0),this.resolvers=[],this.provider=t}async newFilter(t){let r=cnt(t),n=this.makeFilterId(),o=await this.setInitialCursorPosition(n,r.fromBlock);return console.info(`Installing new log filter(${n}):`,r,\"initial cursor position:\",o),this.logFilters.set(n,r),this.setFilterTimeout(n),(0,Ga.hexStringFromIntNumber)(n)}async newBlockFilter(){let t=this.makeFilterId(),r=await this.setInitialCursorPosition(t,\"latest\");return console.info(`Installing new block filter (${t}) with initial cursor position:`,r),this.blockFilters.add(t),this.setFilterTimeout(t),(0,Ga.hexStringFromIntNumber)(t)}async newPendingTransactionFilter(){let t=this.makeFilterId(),r=await this.setInitialCursorPosition(t,\"latest\");return console.info(`Installing new block filter (${t}) with initial cursor position:`,r),this.pendingTransactionFilters.add(t),this.setFilterTimeout(t),(0,Ga.hexStringFromIntNumber)(t)}uninstallFilter(t){let r=(0,Ga.intNumberFromHexString)(t);return console.info(`Uninstalling filter (${r})`),this.deleteFilter(r),!0}getFilterChanges(t){let r=(0,Ga.intNumberFromHexString)(t);return this.timeouts.has(r)&&this.setFilterTimeout(r),this.logFilters.has(r)?this.getLogFilterChanges(r):this.blockFilters.has(r)?this.getBlockFilterChanges(r):this.pendingTransactionFilters.has(r)?this.getPendingTransactionFilterChanges(r):Promise.resolve(KN())}async getFilterLogs(t){let r=(0,Ga.intNumberFromHexString)(t),n=this.logFilters.get(r);return n?this.sendAsyncPromise(Object.assign(Object.assign({},n1),{method:\"eth_getLogs\",params:[int(n)]})):KN()}makeFilterId(){return(0,nE.IntNumber)(++this.nextFilterId)}sendAsyncPromise(t){return new Promise((r,n)=>{this.provider.sendAsync(t,(o,i)=>{if(o)return n(o);if(Array.isArray(i)||i==null)return n(new Error(`unexpected response received: ${JSON.stringify(i)}`));r(i)})})}deleteFilter(t){console.info(`Deleting filter (${t})`),this.logFilters.delete(t),this.blockFilters.delete(t),this.pendingTransactionFilters.delete(t),this.cursors.delete(t),this.timeouts.delete(t)}async getLogFilterChanges(t){let r=this.logFilters.get(t),n=this.cursors.get(t);if(!n||!r)return KN();let o=await this.getCurrentBlockHeight(),i=r.toBlock===\"latest\"?o:r.toBlock;if(n>o||n>Number(r.toBlock))return ZN();console.info(`Fetching logs from ${n} to ${i} for filter ${t}`);let c=await this.sendAsyncPromise(Object.assign(Object.assign({},n1),{method:\"eth_getLogs\",params:[int(Object.assign(Object.assign({},r),{fromBlock:n,toBlock:i}))]}));if(Array.isArray(c.result)){let l=c.result.map(p=>(0,Ga.intNumberFromHexString)(p.blockNumber||\"0x0\")),f=Math.max(...l);if(f&&f>n){let p=(0,nE.IntNumber)(f+1);console.info(`Moving cursor position for filter (${t}) from ${n} to ${p}`),this.cursors.set(t,p)}}return c}async getBlockFilterChanges(t){let r=this.cursors.get(t);if(!r)return KN();let n=await this.getCurrentBlockHeight();if(r>n)return ZN();console.info(`Fetching blocks from ${r} to ${n} for filter (${t})`);let o=(await Promise.all((0,Ga.range)(r,n+1).map(c=>this.getBlockHashByNumber((0,nE.IntNumber)(c))))).filter(c=>!!c),i=(0,nE.IntNumber)(r+o.length);return console.info(`Moving cursor position for filter (${t}) from ${r} to ${i}`),this.cursors.set(t,i),Object.assign(Object.assign({},n1),{result:o})}async getPendingTransactionFilterChanges(t){return Promise.resolve(ZN())}async setInitialCursorPosition(t,r){let n=await this.getCurrentBlockHeight(),o=typeof r==\"number\"&&r>n?r:n;return this.cursors.set(t,o),o}setFilterTimeout(t){let r=this.timeouts.get(t);r&&window.clearTimeout(r);let n=window.setTimeout(()=>{console.info(`Filter (${t}) timed out`),this.deleteFilter(t)},N4t);this.timeouts.set(t,n)}async getCurrentBlockHeight(){let t=new Date;if(t.getTime()-this.lastFetchTimestamp.getTime()>this.REQUEST_THROTTLE_INTERVAL){this.lastFetchTimestamp=t;let r=await this._getCurrentBlockHeight();this.currentBlockHeight=r,this.resolvers.forEach(n=>n(r)),this.resolvers=[]}return this.currentBlockHeight?this.currentBlockHeight:new Promise(r=>this.resolvers.push(r))}async _getCurrentBlockHeight(){let{result:t}=await this.sendAsyncPromise(Object.assign(Object.assign({},n1),{method:\"eth_blockNumber\",params:[]}));return(0,Ga.intNumberFromHexString)((0,Ga.ensureHexString)(t))}async getBlockHashByNumber(t){let r=await this.sendAsyncPromise(Object.assign(Object.assign({},n1),{method:\"eth_getBlockByNumber\",params:[(0,Ga.hexStringFromIntNumber)(t),!1]}));return r.result&&typeof r.result.hash==\"string\"?(0,Ga.ensureHexString)(r.result.hash):null}};oE.FilterPolyfill=Kre;function cnt(e){return{fromBlock:ant(e.fromBlock),toBlock:ant(e.toBlock),addresses:e.address===void 0?null:Array.isArray(e.address)?e.address:[e.address],topics:e.topics||[]}}oE.filterFromParam=cnt;function int(e){let t={fromBlock:snt(e.fromBlock),toBlock:snt(e.toBlock),topics:e.topics};return e.addresses!==null&&(t.address=e.addresses),t}function ant(e){if(e===void 0||e===\"latest\"||e===\"pending\")return\"latest\";if(e===\"earliest\")return(0,nE.IntNumber)(0);if((0,Ga.isHexString)(e))return(0,Ga.intNumberFromHexString)(e);throw new Error(`Invalid block option: ${String(e)}`)}function snt(e){return e===\"latest\"?e:(0,Ga.hexStringFromIntNumber)(e)}function KN(){return Object.assign(Object.assign({},n1),{error:{code:-32e3,message:\"filter not found\"}})}function ZN(){return Object.assign(Object.assign({},n1),{result:[]})}});var WN=J((_Bn,lnt)=>{u();lnt.exports=U4t;function U4t(e){e=e||{};var t=e.max||Number.MAX_SAFE_INTEGER,r=typeof e.start<\"u\"?e.start:Math.floor(Math.random()*t);return function(){return r=r%t,r++}}});var pnt=J((ABn,fnt)=>{\"use strict\";u();var dnt=(e,t)=>function(){let r=t.promiseModule,n=new Array(arguments.length);for(let o=0;o<arguments.length;o++)n[o]=arguments[o];return new r((o,i)=>{t.errorFirst?n.push(function(c,l){if(t.multiArgs){let f=new Array(arguments.length-1);for(let p=1;p<arguments.length;p++)f[p-1]=arguments[p];c?(f.unshift(c),i(f)):o(f)}else c?i(c):o(l)}):n.push(function(c){if(t.multiArgs){let l=new Array(arguments.length-1);for(let f=0;f<arguments.length;f++)l[f]=arguments[f];o(l)}else o(c)}),e.apply(this,n)})};fnt.exports=(e,t)=>{t=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},t);let r=o=>{let i=c=>typeof c==\"string\"?o===c:c.test(o);return t.include?t.include.some(i):!t.exclude.some(i)},n;typeof e==\"function\"?n=function(){return t.excludeMain?e.apply(this,arguments):dnt(e,t).apply(this,arguments)}:n=Object.create(Object.getPrototypeOf(e));for(let o in e){let i=e[o];n[o]=typeof i==\"function\"&&r(o)?dnt(i,t):i}return n}});var JN=J(Wre=>{\"use strict\";u();Object.defineProperty(Wre,\"__esModule\",{value:!0});var $4t=F3();function mnt(e,t,r){try{Reflect.apply(e,t,r)}catch(n){setTimeout(()=>{throw n})}}function z4t(e){let t=e.length,r=new Array(t);for(let n=0;n<t;n+=1)r[n]=e[n];return r}var Zre=class extends $4t.EventEmitter{emit(t,...r){let n=t===\"error\",o=this._events;if(o!==void 0)n=n&&o.error===void 0;else if(!n)return!1;if(n){let c;if(r.length>0&&([c]=r),c instanceof Error)throw c;let l=new Error(`Unhandled error.${c?` (${c.message})`:\"\"}`);throw l.context=c,l}let i=o[t];if(i===void 0)return!1;if(typeof i==\"function\")mnt(i,this,r);else{let c=i.length,l=z4t(i);for(let f=0;f<c;f+=1)mnt(l[f],this,r)}return!0}};Wre.default=Zre});var Qre=J(iE=>{\"use strict\";u();var L4t=iE&&iE.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(iE,\"__esModule\",{value:!0});iE.BaseBlockTracker=void 0;var H4t=L4t(JN()),j4t=1e3,F4t=(e,t)=>e+t,hnt=[\"sync\",\"latest\"],Jre=class extends H4t.default{constructor(t){super(),this._blockResetDuration=t.blockResetDuration||20*j4t,this._usePastBlocks=t.usePastBlocks||!1,this._currentBlock=null,this._isRunning=!1,this._onNewListener=this._onNewListener.bind(this),this._onRemoveListener=this._onRemoveListener.bind(this),this._resetCurrentBlock=this._resetCurrentBlock.bind(this),this._setupInternalEvents()}async destroy(){this._cancelBlockResetTimeout(),await this._maybeEnd(),super.removeAllListeners()}isRunning(){return this._isRunning}getCurrentBlock(){return this._currentBlock}async getLatestBlock(){return this._currentBlock?this._currentBlock:await new Promise(r=>this.once(\"latest\",r))}removeAllListeners(t){return t?super.removeAllListeners(t):super.removeAllListeners(),this._setupInternalEvents(),this._onRemoveListener(),this}_setupInternalEvents(){this.removeListener(\"newListener\",this._onNewListener),this.removeListener(\"removeListener\",this._onRemoveListener),this.on(\"newListener\",this._onNewListener),this.on(\"removeListener\",this._onRemoveListener)}_onNewListener(t){hnt.includes(t)&&this._maybeStart()}_onRemoveListener(){this._getBlockTrackerEventCount()>0||this._maybeEnd()}async _maybeStart(){this._isRunning||(this._isRunning=!0,this._cancelBlockResetTimeout(),await this._start(),this.emit(\"_started\"))}async _maybeEnd(){this._isRunning&&(this._isRunning=!1,this._setupBlockResetTimeout(),await this._end(),this.emit(\"_ended\"))}_getBlockTrackerEventCount(){return hnt.map(t=>this.listenerCount(t)).reduce(F4t)}_shouldUseNewBlock(t){let r=this._currentBlock;if(!r)return!0;let n=ynt(t),o=ynt(r);return this._usePastBlocks&&n<o||n>o}_newPotentialLatest(t){this._shouldUseNewBlock(t)&&this._setCurrentBlock(t)}_setCurrentBlock(t){let r=this._currentBlock;this._currentBlock=t,this.emit(\"latest\",t),this.emit(\"sync\",{oldBlock:r,newBlock:t})}_setupBlockResetTimeout(){this._cancelBlockResetTimeout(),this._blockResetTimeout=setTimeout(this._resetCurrentBlock,this._blockResetDuration),this._blockResetTimeout.unref&&this._blockResetTimeout.unref()}_cancelBlockResetTimeout(){this._blockResetTimeout&&clearTimeout(this._blockResetTimeout)}_resetCurrentBlock(){this._currentBlock=null}};iE.BaseBlockTracker=Jre;function ynt(e){return Number.parseInt(e,16)}});var N0={};an(N0,{Struct:()=>io,StructError:()=>QN,any:()=>tIt,array:()=>rIt,assert:()=>gnt,assign:()=>K4t,bigint:()=>nIt,boolean:()=>oIt,coerce:()=>rne,create:()=>xnt,date:()=>iIt,defaulted:()=>vIt,define:()=>Bs,deprecated:()=>Z4t,dynamic:()=>W4t,empty:()=>EIt,enums:()=>aIt,func:()=>sIt,instance:()=>cIt,integer:()=>uIt,intersection:()=>lIt,is:()=>ene,lazy:()=>J4t,literal:()=>dIt,map:()=>fIt,mask:()=>vnt,max:()=>_It,min:()=>SIt,never:()=>tne,nonempty:()=>AIt,nullable:()=>pIt,number:()=>mIt,object:()=>Y3,omit:()=>Q4t,optional:()=>wnt,partial:()=>Y4t,pattern:()=>kIt,pick:()=>X4t,record:()=>hIt,refine:()=>o1,regexp:()=>yIt,set:()=>bIt,size:()=>CIt,string:()=>Ent,struct:()=>eIt,trimmed:()=>wIt,tuple:()=>gIt,type:()=>X3,union:()=>xIt,unknown:()=>_nt,validate:()=>aE});function V4t(e){return bu(e)&&typeof e[Symbol.iterator]==\"function\"}function bu(e){return typeof e==\"object\"&&e!=null}function bnt(e){if(Object.prototype.toString.call(e)!==\"[object Object]\")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function ei(e){return typeof e==\"symbol\"?e.toString():typeof e==\"string\"?JSON.stringify(e):`${e}`}function q4t(e){let{done:t,value:r}=e.next();return t?void 0:r}function G4t(e,t,r,n){if(e===!0)return;e===!1?e={}:typeof e==\"string\"&&(e={message:e});let{path:o,branch:i}=t,{type:c}=r,{refinement:l,message:f=`Expected a value of type \\\\`${c}\\\\`${l?` with refinement \\\\`${l}\\\\``:\"\"}, but received: \\\\`${ei(n)}\\\\``}=e;return{value:n,type:c,refinement:l,key:o[o.length-1],path:o,branch:i,...e,message:f}}function*Yre(e,t,r,n){V4t(e)||(e=[e]);for(let o of e){let i=G4t(o,t,r,n);i&&(yield i)}}function*Xre(e,t,r={}){let{path:n=[],branch:o=[e],coerce:i=!1,mask:c=!1}=r,l={path:n,branch:o};if(i&&(e=t.coercer(e,l),c&&t.type!==\"type\"&&bu(t.schema)&&bu(e)&&!Array.isArray(e)))for(let p in e)t.schema[p]===void 0&&delete e[p];let f=\"valid\";for(let p of t.validator(e,l))p.explanation=r.message,f=\"not_valid\",yield[p,void 0];for(let[p,h,y]of t.entries(e,l)){let w=Xre(h,y,{path:p===void 0?n:[...n,p],branch:p===void 0?o:[...o,h],coerce:i,mask:c,message:r.message});for(let E of w)E[0]?(f=E[0].refinement!=null?\"not_refined\":\"not_valid\",yield[E[0],void 0]):i&&(h=E[1],p===void 0?e=h:e instanceof Map?e.set(p,h):e instanceof Set?e.add(h):bu(e)&&(h!==void 0||p in e)&&(e[p]=h))}if(f!==\"not_valid\")for(let p of t.refiner(e,l))p.explanation=r.message,f=\"not_refined\",yield[p,void 0];f===\"valid\"&&(yield[void 0,e])}function gnt(e,t,r){let n=aE(e,t,{message:r});if(n[0])throw n[0]}function xnt(e,t,r){let n=aE(e,t,{coerce:!0,message:r});if(n[0])throw n[0];return n[1]}function vnt(e,t,r){let n=aE(e,t,{coerce:!0,mask:!0,message:r});if(n[0])throw n[0];return n[1]}function ene(e,t){return!aE(e,t)[0]}function aE(e,t,r={}){let n=Xre(e,t,r),o=q4t(n);return o[0]?[new QN(o[0],function*(){for(let c of n)c[0]&&(yield c[0])}),void 0]:[void 0,o[1]]}function K4t(...e){let t=e[0].type===\"type\",r=e.map(o=>o.schema),n=Object.assign({},...r);return t?X3(n):Y3(n)}function Bs(e,t){return new io({type:e,schema:null,validator:t})}function Z4t(e,t){return new io({...e,refiner:(r,n)=>r===void 0||e.refiner(r,n),validator(r,n){return r===void 0?!0:(t(r,n),e.validator(r,n))}})}function W4t(e){return new io({type:\"dynamic\",schema:null,*entries(t,r){yield*e(t,r).entries(t,r)},validator(t,r){return e(t,r).validator(t,r)},coercer(t,r){return e(t,r).coercer(t,r)},refiner(t,r){return e(t,r).refiner(t,r)}})}function J4t(e){let t;return new io({type:\"lazy\",schema:null,*entries(r,n){t??(t=e()),yield*t.entries(r,n)},validator(r,n){return t??(t=e()),t.validator(r,n)},coercer(r,n){return t??(t=e()),t.coercer(r,n)},refiner(r,n){return t??(t=e()),t.refiner(r,n)}})}function Q4t(e,t){let{schema:r}=e,n={...r};for(let o of t)delete n[o];return e.type===\"type\"?X3(n):Y3(n)}function Y4t(e){let t=e instanceof io,r=t?{...e.schema}:{...e};for(let n in r)r[n]=wnt(r[n]);return t&&e.type===\"type\"?X3(r):Y3(r)}function X4t(e,t){let{schema:r}=e,n={};for(let o of t)n[o]=r[o];return e.type===\"type\"?X3(n):Y3(n)}function eIt(e,t){return console.warn(\"superstruct@0.11 - The `struct` helper has been renamed to `define`.\"),Bs(e,t)}function tIt(){return Bs(\"any\",()=>!0)}function rIt(e){return new io({type:\"array\",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[r,n]of t.entries())yield[r,n,e]},coercer(t){return Array.isArray(t)?t.slice():t},validator(t){return Array.isArray(t)||`Expected an array value, but received: ${ei(t)}`}})}function nIt(){return Bs(\"bigint\",e=>typeof e==\"bigint\")}function oIt(){return Bs(\"boolean\",e=>typeof e==\"boolean\")}function iIt(){return Bs(\"date\",e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \\\\`Date\\\\` object, but received: ${ei(e)}`)}function aIt(e){let t={},r=e.map(n=>ei(n)).join();for(let n of e)t[n]=n;return new io({type:\"enums\",schema:t,validator(n){return e.includes(n)||`Expected one of \\\\`${r}\\\\`, but received: ${ei(n)}`}})}function sIt(){return Bs(\"func\",e=>typeof e==\"function\"||`Expected a function, but received: ${ei(e)}`)}function cIt(e){return Bs(\"instance\",t=>t instanceof e||`Expected a \\\\`${e.name}\\\\` instance, but received: ${ei(t)}`)}function uIt(){return Bs(\"integer\",e=>typeof e==\"number\"&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${ei(e)}`)}function lIt(e){return new io({type:\"intersection\",schema:null,*entries(t,r){for(let n of e)yield*n.entries(t,r)},*validator(t,r){for(let n of e)yield*n.validator(t,r)},*refiner(t,r){for(let n of e)yield*n.refiner(t,r)}})}function dIt(e){let t=ei(e),r=typeof e;return new io({type:\"literal\",schema:r===\"string\"||r===\"number\"||r===\"boolean\"?e:null,validator(n){return n===e||`Expected the literal \\\\`${t}\\\\`, but received: ${ei(n)}`}})}function fIt(e,t){return new io({type:\"map\",schema:null,*entries(r){if(e&&t&&r instanceof Map)for(let[n,o]of r.entries())yield[n,n,e],yield[n,o,t]},coercer(r){return r instanceof Map?new Map(r):r},validator(r){return r instanceof Map||`Expected a \\\\`Map\\\\` object, but received: ${ei(r)}`}})}function tne(){return Bs(\"never\",()=>!1)}function pIt(e){return new io({...e,validator:(t,r)=>t===null||e.validator(t,r),refiner:(t,r)=>t===null||e.refiner(t,r)})}function mIt(){return Bs(\"number\",e=>typeof e==\"number\"&&!isNaN(e)||`Expected a number, but received: ${ei(e)}`)}function Y3(e){let t=e?Object.keys(e):[],r=tne();return new io({type:\"object\",schema:e||null,*entries(n){if(e&&bu(n)){let o=new Set(Object.keys(n));for(let i of t)o.delete(i),yield[i,n[i],e[i]];for(let i of o)yield[i,n[i],r]}},validator(n){return bu(n)||`Expected an object, but received: ${ei(n)}`},coercer(n){return bu(n)?{...n}:n}})}function wnt(e){return new io({...e,validator:(t,r)=>t===void 0||e.validator(t,r),refiner:(t,r)=>t===void 0||e.refiner(t,r)})}function hIt(e,t){return new io({type:\"record\",schema:null,*entries(r){if(bu(r))for(let n in r){let o=r[n];yield[n,n,e],yield[n,o,t]}},validator(r){return bu(r)||`Expected an object, but received: ${ei(r)}`}})}function yIt(){return Bs(\"regexp\",e=>e instanceof RegExp)}function bIt(e){return new io({type:\"set\",schema:null,*entries(t){if(e&&t instanceof Set)for(let r of t)yield[r,r,e]},coercer(t){return t instanceof Set?new Set(t):t},validator(t){return t instanceof Set||`Expected a \\\\`Set\\\\` object, but received: ${ei(t)}`}})}function Ent(){return Bs(\"string\",e=>typeof e==\"string\"||`Expected a string, but received: ${ei(e)}`)}function gIt(e){let t=tne();return new io({type:\"tuple\",schema:null,*entries(r){if(Array.isArray(r)){let n=Math.max(e.length,r.length);for(let o=0;o<n;o++)yield[o,r[o],e[o]||t]}},validator(r){return Array.isArray(r)||`Expected an array, but received: ${ei(r)}`}})}function X3(e){let t=Object.keys(e);return new io({type:\"type\",schema:e,*entries(r){if(bu(r))for(let n of t)yield[n,r[n],e[n]]},validator(r){return bu(r)||`Expected an object, but received: ${ei(r)}`},coercer(r){return bu(r)?{...r}:r}})}function xIt(e){let t=e.map(r=>r.type).join(\" | \");return new io({type:\"union\",schema:null,coercer(r){for(let n of e){let[o,i]=n.validate(r,{coerce:!0});if(!o)return i}return r},validator(r,n){let o=[];for(let i of e){let[...c]=Xre(r,i,n),[l]=c;if(l[0])for(let[f]of c)f&&o.push(f);else return[]}return[`Expected the value to satisfy a union of \\\\`${t}\\\\`, but received: ${ei(r)}`,...o]}})}function _nt(){return Bs(\"unknown\",()=>!0)}function rne(e,t,r){return new io({...e,coercer:(n,o)=>ene(n,t)?e.coercer(r(n,o),o):e.coercer(n,o)})}function vIt(e,t,r={}){return rne(e,_nt(),n=>{let o=typeof t==\"function\"?t():t;if(n===void 0)return o;if(!r.strict&&bnt(n)&&bnt(o)){let i={...n},c=!1;for(let l in o)i[l]===void 0&&(i[l]=o[l],c=!0);if(c)return i}return n})}function wIt(e){return rne(e,Ent(),t=>t.trim())}function EIt(e){return o1(e,\"empty\",t=>{let r=Snt(t);return r===0||`Expected an empty ${e.type} but received one with a size of \\\\`${r}\\\\``})}function Snt(e){return e instanceof Map||e instanceof Set?e.size:e.length}function _It(e,t,r={}){let{exclusive:n}=r;return o1(e,\"max\",o=>n?o<t:o<=t||`Expected a ${e.type} less than ${n?\"\":\"or equal to \"}${t} but received \\\\`${o}\\\\``)}function SIt(e,t,r={}){let{exclusive:n}=r;return o1(e,\"min\",o=>n?o>t:o>=t||`Expected a ${e.type} greater than ${n?\"\":\"or equal to \"}${t} but received \\\\`${o}\\\\``)}function AIt(e){return o1(e,\"nonempty\",t=>Snt(t)>0||`Expected a nonempty ${e.type} but received an empty one`)}function kIt(e,t){return o1(e,\"pattern\",r=>t.test(r)||`Expected a ${e.type} matching \\\\`/${t.source}/\\\\` but received \"${r}\"`)}function CIt(e,t,r=t){let n=`Expected a ${e.type}`,o=t===r?`of \\\\`${t}\\\\``:`between \\\\`${t}\\\\` and \\\\`${r}\\\\``;return o1(e,\"size\",i=>{if(typeof i==\"number\"||i instanceof Date)return t<=i&&i<=r||`${n} ${o} but received \\\\`${i}\\\\``;if(i instanceof Map||i instanceof Set){let{size:c}=i;return t<=c&&c<=r||`${n} with a size ${o} but received one with a size of \\\\`${c}\\\\``}else{let{length:c}=i;return t<=c&&c<=r||`${n} with a length ${o} but received one with a length of \\\\`${c}\\\\``}})}function o1(e,t,r){return new io({...e,*refiner(n,o){yield*e.refiner(n,o);let i=r(n,o),c=Yre(i,o,e,n);for(let l of c)yield{...l,refinement:t}}})}var QN,io,U0=x(()=>{u();QN=class extends TypeError{constructor(t,r){let n,{message:o,explanation:i,...c}=t,{path:l}=t,f=l.length===0?o:`At path: ${l.join(\".\")} -- ${o}`;super(i??f),i!=null&&(this.cause=f),Object.assign(this,c),this.name=this.constructor.name,this.failures=()=>n??(n=[t,...r()])}};io=class{constructor(t){let{type:r,schema:n,validator:o,refiner:i,coercer:c=f=>f,entries:l=function*(){}}=t;this.type=r,this.schema=n,this.entries=l,this.coercer=c,o?this.validator=(f,p)=>{let h=o(f,p);return Yre(h,p,this,f)}:this.validator=()=>[],i?this.refiner=(f,p)=>{let h=i(f,p);return Yre(h,p,this,f)}:this.refiner=()=>[]}assert(t,r){return gnt(t,this,r)}create(t,r){return xnt(t,this,r)}is(t){return ene(t,this)}mask(t,r){return vnt(t,this,r)}validate(t,r={}){return aE(t,this,r)}}});var Qp=J(of=>{\"use strict\";u();Object.defineProperty(of,\"__esModule\",{value:!0});of.assertExhaustive=of.assertStruct=of.assert=of.AssertionError=void 0;var TIt=(U0(),Fr(N0));function IIt(e){return typeof e==\"object\"&&e!==null&&\"message\"in e}function PIt(e){var t,r;return typeof((r=(t=e?.prototype)===null||t===void 0?void 0:t.constructor)===null||r===void 0?void 0:r.name)==\"string\"}function RIt(e){let t=IIt(e)?e.message:String(e);return t.endsWith(\".\")?t.slice(0,-1):t}function Ant(e,t){return PIt(e)?new e({message:t}):e({message:t})}var eC=class extends Error{constructor(t){super(t.message),this.code=\"ERR_ASSERTION\"}};of.AssertionError=eC;function OIt(e,t=\"Assertion failed.\",r=eC){if(!e)throw t instanceof Error?t:Ant(r,t)}of.assert=OIt;function BIt(e,t,r=\"Assertion failed\",n=eC){try{(0,TIt.assert)(e,t)}catch(o){throw Ant(n,`${r}: ${RIt(o)}.`)}}of.assertStruct=BIt;function MIt(e){throw new Error(\"Invalid branch reached. Should be detected during compilation.\")}of.assertExhaustive=MIt});var nne=J(YN=>{\"use strict\";u();Object.defineProperty(YN,\"__esModule\",{value:!0});YN.base64=void 0;var DIt=(U0(),Fr(N0)),NIt=Qp(),UIt=(e,t={})=>{var r,n;let o=(r=t.paddingRequired)!==null&&r!==void 0?r:!1,i=(n=t.characterSet)!==null&&n!==void 0?n:\"base64\",c;i===\"base64\"?c=String.raw`[A-Za-z0-9+\\\\/]`:((0,NIt.assert)(i===\"base64url\"),c=String.raw`[-_A-Za-z0-9]`);let l;return o?l=new RegExp(`^(?:${c}{4})*(?:${c}{3}=|${c}{2}==)?$`,\"u\"):l=new RegExp(`^(?:${c}{4})*(?:${c}{2,3}|${c}{3}=|${c}{2}==)?$`,\"u\"),(0,DIt.pattern)(e,l)};YN.base64=UIt});var tC=J(qo=>{\"use strict\";u();Object.defineProperty(qo,\"__esModule\",{value:!0});qo.remove0x=qo.add0x=qo.assertIsStrictHexString=qo.assertIsHexString=qo.isStrictHexString=qo.isHexString=qo.StrictHexStruct=qo.HexStruct=void 0;var sE=(U0(),Fr(N0)),knt=Qp();qo.HexStruct=(0,sE.pattern)((0,sE.string)(),/^(?:0x)?[0-9a-f]+$/iu);qo.StrictHexStruct=(0,sE.pattern)((0,sE.string)(),/^0x[0-9a-f]+$/iu);function Cnt(e){return(0,sE.is)(e,qo.HexStruct)}qo.isHexString=Cnt;function Tnt(e){return(0,sE.is)(e,qo.StrictHexStruct)}qo.isStrictHexString=Tnt;function $It(e){(0,knt.assert)(Cnt(e),\"Value must be a hexadecimal string.\")}qo.assertIsHexString=$It;function zIt(e){(0,knt.assert)(Tnt(e),\\'Value must be a hexadecimal string, starting with \"0x\".\\')}qo.assertIsStrictHexString=zIt;function LIt(e){return e.startsWith(\"0x\")?e:e.startsWith(\"0X\")?`0x${e.substring(2)}`:`0x${e}`}qo.add0x=LIt;function HIt(e){return e.startsWith(\"0x\")||e.startsWith(\"0X\")?e.substring(2):e}qo.remove0x=HIt});var ane=J(Br=>{\"use strict\";u();Object.defineProperty(Br,\"__esModule\",{value:!0});Br.createDataView=Br.concatBytes=Br.valueToBytes=Br.stringToBytes=Br.numberToBytes=Br.signedBigIntToBytes=Br.bigIntToBytes=Br.hexToBytes=Br.bytesToString=Br.bytesToNumber=Br.bytesToSignedBigInt=Br.bytesToBigInt=Br.bytesToHex=Br.assertIsBytes=Br.isBytes=void 0;var yc=Qp(),one=tC(),Int=48,Pnt=58,Rnt=87;function jIt(){let e=[];return()=>{if(e.length===0)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,\"0\"));return e}}var FIt=jIt();function ine(e){return e instanceof Uint8Array}Br.isBytes=ine;function cE(e){(0,yc.assert)(ine(e),\"Value must be a Uint8Array.\")}Br.assertIsBytes=cE;function Ont(e){if(cE(e),e.length===0)return\"0x\";let t=FIt(),r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=t[e[n]];return(0,one.add0x)(r.join(\"\"))}Br.bytesToHex=Ont;function Bnt(e){cE(e);let t=Ont(e);return BigInt(t)}Br.bytesToBigInt=Bnt;function VIt(e){cE(e);let t=BigInt(0);for(let r of e)t=(t<<BigInt(8))+BigInt(r);return BigInt.asIntN(e.length*8,t)}Br.bytesToSignedBigInt=VIt;function qIt(e){cE(e);let t=Bnt(e);return(0,yc.assert)(t<=BigInt(Number.MAX_SAFE_INTEGER),\"Number is not a safe integer. Use `bytesToBigInt` instead.\"),Number(t)}Br.bytesToNumber=qIt;function GIt(e){return cE(e),new TextDecoder().decode(e)}Br.bytesToString=GIt;function XN(e){var t;if(((t=e?.toLowerCase)===null||t===void 0?void 0:t.call(e))===\"0x\")return new Uint8Array;(0,one.assertIsHexString)(e);let r=(0,one.remove0x)(e).toLowerCase(),n=r.length%2===0?r:`0${r}`,o=new Uint8Array(n.length/2);for(let i=0;i<o.length;i++){let c=n.charCodeAt(i*2),l=n.charCodeAt(i*2+1),f=c-(c<Pnt?Int:Rnt),p=l-(l<Pnt?Int:Rnt);o[i]=f*16+p}return o}Br.hexToBytes=XN;function Mnt(e){(0,yc.assert)(typeof e==\"bigint\",\"Value must be a bigint.\"),(0,yc.assert)(e>=BigInt(0),\"Value must be a non-negative bigint.\");let t=e.toString(16);return XN(t)}Br.bigIntToBytes=Mnt;function KIt(e,t){(0,yc.assert)(t>0);let r=e>>BigInt(31);return!((~e&r)+(e&~r)>>BigInt(t*8+-1))}function ZIt(e,t){(0,yc.assert)(typeof e==\"bigint\",\"Value must be a bigint.\"),(0,yc.assert)(typeof t==\"number\",\"Byte length must be a number.\"),(0,yc.assert)(t>0,\"Byte length must be greater than 0.\"),(0,yc.assert)(KIt(e,t),\"Byte length is too small to represent the given value.\");let r=e,n=new Uint8Array(t);for(let o=0;o<n.length;o++)n[o]=Number(BigInt.asUintN(8,r)),r>>=BigInt(8);return n.reverse()}Br.signedBigIntToBytes=ZIt;function Dnt(e){(0,yc.assert)(typeof e==\"number\",\"Value must be a number.\"),(0,yc.assert)(e>=0,\"Value must be a non-negative number.\"),(0,yc.assert)(Number.isSafeInteger(e),\"Value is not a safe integer. Use `bigIntToBytes` instead.\");let t=e.toString(16);return XN(t)}Br.numberToBytes=Dnt;function Nnt(e){return(0,yc.assert)(typeof e==\"string\",\"Value must be a string.\"),new TextEncoder().encode(e)}Br.stringToBytes=Nnt;function Unt(e){if(typeof e==\"bigint\")return Mnt(e);if(typeof e==\"number\")return Dnt(e);if(typeof e==\"string\")return e.startsWith(\"0x\")?XN(e):Nnt(e);if(ine(e))return e;throw new TypeError(`Unsupported value type: \"${typeof e}\".`)}Br.valueToBytes=Unt;function WIt(e){let t=new Array(e.length),r=0;for(let o=0;o<e.length;o++){let i=Unt(e[o]);t[o]=i,r+=i.length}let n=new Uint8Array(r);for(let o=0,i=0;o<t.length;o++)n.set(t[o],i),i+=t[o].length;return n}Br.concatBytes=WIt;function JIt(e){if(typeof globalThis.Buffer<\"u\"&&e instanceof globalThis.Buffer){let t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return new DataView(t)}return new DataView(e.buffer,e.byteOffset,e.byteLength)}Br.createDataView=JIt});var znt=J(eU=>{\"use strict\";u();Object.defineProperty(eU,\"__esModule\",{value:!0});eU.ChecksumStruct=void 0;var $nt=(U0(),Fr(N0)),QIt=nne();eU.ChecksumStruct=(0,$nt.size)((0,QIt.base64)((0,$nt.string)(),{paddingRequired:!0}),44,44)});var jnt=J(af=>{\"use strict\";u();Object.defineProperty(af,\"__esModule\",{value:!0});af.createHex=af.createBytes=af.createBigInt=af.createNumber=void 0;var ao=(U0(),Fr(N0)),YIt=Qp(),Lnt=ane(),tU=tC(),Hnt=(0,ao.union)([(0,ao.number)(),(0,ao.bigint)(),(0,ao.string)(),tU.StrictHexStruct]),XIt=(0,ao.coerce)((0,ao.number)(),Hnt,Number),e7t=(0,ao.coerce)((0,ao.bigint)(),Hnt,BigInt),jBn=(0,ao.union)([tU.StrictHexStruct,(0,ao.instance)(Uint8Array)]),t7t=(0,ao.coerce)((0,ao.instance)(Uint8Array),(0,ao.union)([tU.StrictHexStruct]),Lnt.hexToBytes),r7t=(0,ao.coerce)(tU.StrictHexStruct,(0,ao.instance)(Uint8Array),Lnt.bytesToHex);function n7t(e){try{let t=(0,ao.create)(e,XIt);return(0,YIt.assert)(Number.isFinite(t),`Expected a number-like value, got \"${e}\".`),t}catch(t){throw t instanceof ao.StructError?new Error(`Expected a number-like value, got \"${e}\".`):t}}af.createNumber=n7t;function o7t(e){try{return(0,ao.create)(e,e7t)}catch(t){throw t instanceof ao.StructError?new Error(`Expected a number-like value, got \"${String(t.value)}\".`):t}}af.createBigInt=o7t;function i7t(e){if(typeof e==\"string\"&&e.toLowerCase()===\"0x\")return new Uint8Array;try{return(0,ao.create)(e,t7t)}catch(t){throw t instanceof ao.StructError?new Error(`Expected a bytes-like value, got \"${String(t.value)}\".`):t}}af.createBytes=i7t;function a7t(e){if(e instanceof Uint8Array&&e.length===0||typeof e==\"string\"&&e.toLowerCase()===\"0x\")return\"0x\";try{return(0,ao.create)(e,r7t)}catch(t){throw t instanceof ao.StructError?new Error(`Expected a bytes-like value, got \"${String(t.value)}\".`):t}}af.createHex=a7t});var Vnt=J(cf=>{\"use strict\";u();var Fnt=cf&&cf.__classPrivateFieldSet||function(e,t,r,n,o){if(n===\"m\")throw new TypeError(\"Private method is not writable\");if(n===\"a\"&&!o)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof t==\"function\"?e!==t||!o:!t.has(e))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return n===\"a\"?o.call(e,r):o?o.value=r:t.set(e,r),r},Ka=cf&&cf.__classPrivateFieldGet||function(e,t,r,n){if(r===\"a\"&&!n)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return r===\"m\"?n:r===\"a\"?n.call(e):n?n.value:t.get(e)},yl,sf;Object.defineProperty(cf,\"__esModule\",{value:!0});cf.FrozenSet=cf.FrozenMap=void 0;var rC=class{constructor(t){yl.set(this,void 0),Fnt(this,yl,new Map(t),\"f\"),Object.freeze(this)}get size(){return Ka(this,yl,\"f\").size}[(yl=new WeakMap,Symbol.iterator)](){return Ka(this,yl,\"f\")[Symbol.iterator]()}entries(){return Ka(this,yl,\"f\").entries()}forEach(t,r){return Ka(this,yl,\"f\").forEach((n,o,i)=>t.call(r,n,o,this))}get(t){return Ka(this,yl,\"f\").get(t)}has(t){return Ka(this,yl,\"f\").has(t)}keys(){return Ka(this,yl,\"f\").keys()}values(){return Ka(this,yl,\"f\").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([t,r])=>`${String(t)} => ${String(r)}`).join(\", \")} `:\"\"}}`}};cf.FrozenMap=rC;var nC=class{constructor(t){sf.set(this,void 0),Fnt(this,sf,new Set(t),\"f\"),Object.freeze(this)}get size(){return Ka(this,sf,\"f\").size}[(sf=new WeakMap,Symbol.iterator)](){return Ka(this,sf,\"f\")[Symbol.iterator]()}entries(){return Ka(this,sf,\"f\").entries()}forEach(t,r){return Ka(this,sf,\"f\").forEach((n,o,i)=>t.call(r,n,o,this))}has(t){return Ka(this,sf,\"f\").has(t)}keys(){return Ka(this,sf,\"f\").keys()}values(){return Ka(this,sf,\"f\").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(t=>String(t)).join(\", \")} `:\"\"}}`}};cf.FrozenSet=nC;Object.freeze(rC);Object.freeze(rC.prototype);Object.freeze(nC);Object.freeze(nC.prototype)});var Gnt=J(qnt=>{\"use strict\";u();Object.defineProperty(qnt,\"__esModule\",{value:!0})});var Knt=J(Be=>{\"use strict\";u();Object.defineProperty(Be,\"__esModule\",{value:!0});Be.getJsonRpcIdValidator=Be.assertIsJsonRpcError=Be.isJsonRpcError=Be.assertIsJsonRpcFailure=Be.isJsonRpcFailure=Be.assertIsJsonRpcSuccess=Be.isJsonRpcSuccess=Be.assertIsJsonRpcResponse=Be.isJsonRpcResponse=Be.assertIsPendingJsonRpcResponse=Be.isPendingJsonRpcResponse=Be.JsonRpcResponseStruct=Be.JsonRpcFailureStruct=Be.JsonRpcSuccessStruct=Be.PendingJsonRpcResponseStruct=Be.assertIsJsonRpcRequest=Be.isJsonRpcRequest=Be.assertIsJsonRpcNotification=Be.isJsonRpcNotification=Be.JsonRpcNotificationStruct=Be.JsonRpcRequestStruct=Be.JsonRpcParamsStruct=Be.JsonRpcErrorStruct=Be.JsonRpcIdStruct=Be.JsonRpcVersionStruct=Be.jsonrpc2=Be.getJsonSize=Be.isValidJson=Be.JsonStruct=Be.UnsafeJsonStruct=void 0;var St=(U0(),Fr(N0)),$0=Qp(),s7t=()=>(0,St.define)(\"finite number\",e=>(0,St.is)(e,(0,St.number)())&&Number.isFinite(e));Be.UnsafeJsonStruct=(0,St.union)([(0,St.literal)(null),(0,St.boolean)(),s7t(),(0,St.string)(),(0,St.array)((0,St.lazy)(()=>Be.UnsafeJsonStruct)),(0,St.record)((0,St.string)(),(0,St.lazy)(()=>Be.UnsafeJsonStruct))]);Be.JsonStruct=(0,St.define)(\"Json\",(e,t)=>{function r(n,o){let c=[...o.validator(n,t)];return c.length>0?c:!0}try{let n=r(e,Be.UnsafeJsonStruct);return n!==!0?n:r(JSON.parse(JSON.stringify(e)),Be.UnsafeJsonStruct)}catch(n){return n instanceof RangeError?\"Circular reference detected\":!1}});function c7t(e){return(0,St.is)(e,Be.JsonStruct)}Be.isValidJson=c7t;function u7t(e){(0,$0.assertStruct)(e,Be.JsonStruct,\"Invalid JSON value\");let t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength}Be.getJsonSize=u7t;Be.jsonrpc2=\"2.0\";Be.JsonRpcVersionStruct=(0,St.literal)(Be.jsonrpc2);Be.JsonRpcIdStruct=(0,St.nullable)((0,St.union)([(0,St.number)(),(0,St.string)()]));Be.JsonRpcErrorStruct=(0,St.object)({code:(0,St.integer)(),message:(0,St.string)(),data:(0,St.optional)(Be.JsonStruct),stack:(0,St.optional)((0,St.string)())});Be.JsonRpcParamsStruct=(0,St.optional)((0,St.union)([(0,St.record)((0,St.string)(),Be.JsonStruct),(0,St.array)(Be.JsonStruct)]));Be.JsonRpcRequestStruct=(0,St.object)({id:Be.JsonRpcIdStruct,jsonrpc:Be.JsonRpcVersionStruct,method:(0,St.string)(),params:Be.JsonRpcParamsStruct});Be.JsonRpcNotificationStruct=(0,St.omit)(Be.JsonRpcRequestStruct,[\"id\"]);function l7t(e){return(0,St.is)(e,Be.JsonRpcNotificationStruct)}Be.isJsonRpcNotification=l7t;function d7t(e,t){(0,$0.assertStruct)(e,Be.JsonRpcNotificationStruct,\"Invalid JSON-RPC notification\",t)}Be.assertIsJsonRpcNotification=d7t;function f7t(e){return(0,St.is)(e,Be.JsonRpcRequestStruct)}Be.isJsonRpcRequest=f7t;function p7t(e,t){(0,$0.assertStruct)(e,Be.JsonRpcRequestStruct,\"Invalid JSON-RPC request\",t)}Be.assertIsJsonRpcRequest=p7t;Be.PendingJsonRpcResponseStruct=(0,St.object)({id:Be.JsonRpcIdStruct,jsonrpc:Be.JsonRpcVersionStruct,result:(0,St.optional)((0,St.unknown)()),error:(0,St.optional)(Be.JsonRpcErrorStruct)});Be.JsonRpcSuccessStruct=(0,St.object)({id:Be.JsonRpcIdStruct,jsonrpc:Be.JsonRpcVersionStruct,result:Be.JsonStruct});Be.JsonRpcFailureStruct=(0,St.object)({id:Be.JsonRpcIdStruct,jsonrpc:Be.JsonRpcVersionStruct,error:Be.JsonRpcErrorStruct});Be.JsonRpcResponseStruct=(0,St.union)([Be.JsonRpcSuccessStruct,Be.JsonRpcFailureStruct]);function m7t(e){return(0,St.is)(e,Be.PendingJsonRpcResponseStruct)}Be.isPendingJsonRpcResponse=m7t;function h7t(e,t){(0,$0.assertStruct)(e,Be.PendingJsonRpcResponseStruct,\"Invalid pending JSON-RPC response\",t)}Be.assertIsPendingJsonRpcResponse=h7t;function y7t(e){return(0,St.is)(e,Be.JsonRpcResponseStruct)}Be.isJsonRpcResponse=y7t;function b7t(e,t){(0,$0.assertStruct)(e,Be.JsonRpcResponseStruct,\"Invalid JSON-RPC response\",t)}Be.assertIsJsonRpcResponse=b7t;function g7t(e){return(0,St.is)(e,Be.JsonRpcSuccessStruct)}Be.isJsonRpcSuccess=g7t;function x7t(e,t){(0,$0.assertStruct)(e,Be.JsonRpcSuccessStruct,\"Invalid JSON-RPC success response\",t)}Be.assertIsJsonRpcSuccess=x7t;function v7t(e){return(0,St.is)(e,Be.JsonRpcFailureStruct)}Be.isJsonRpcFailure=v7t;function w7t(e,t){(0,$0.assertStruct)(e,Be.JsonRpcFailureStruct,\"Invalid JSON-RPC failure response\",t)}Be.assertIsJsonRpcFailure=w7t;function E7t(e){return(0,St.is)(e,Be.JsonRpcErrorStruct)}Be.isJsonRpcError=E7t;function _7t(e,t){(0,$0.assertStruct)(e,Be.JsonRpcErrorStruct,\"Invalid JSON-RPC error\",t)}Be.assertIsJsonRpcError=_7t;function S7t(e){let{permitEmptyString:t,permitFractions:r,permitNull:n}=Object.assign({permitEmptyString:!0,permitFractions:!1,permitNull:!0},e);return i=>!!(typeof i==\"number\"&&(r||Number.isInteger(i))||typeof i==\"string\"&&(t||i.length>0)||n&&i===null)}Be.getJsonRpcIdValidator=S7t});var Wnt=J(Znt=>{\"use strict\";u();Object.defineProperty(Znt,\"__esModule\",{value:!0})});var Qnt=J((XBn,Jnt)=>{u();var uE=1e3,lE=uE*60,dE=lE*60,i1=dE*24,A7t=i1*7,k7t=i1*365.25;Jnt.exports=function(e,t){t=t||{};var r=typeof e;if(r===\"string\"&&e.length>0)return C7t(e);if(r===\"number\"&&isFinite(e))return t.long?I7t(e):T7t(e);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(e))};function C7t(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\\\\d+)?\\\\.?\\\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||\"ms\").toLowerCase();switch(n){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return r*k7t;case\"weeks\":case\"week\":case\"w\":return r*A7t;case\"days\":case\"day\":case\"d\":return r*i1;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return r*dE;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return r*lE;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return r*uE;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return r;default:return}}}}function T7t(e){var t=Math.abs(e);return t>=i1?Math.round(e/i1)+\"d\":t>=dE?Math.round(e/dE)+\"h\":t>=lE?Math.round(e/lE)+\"m\":t>=uE?Math.round(e/uE)+\"s\":e+\"ms\"}function I7t(e){var t=Math.abs(e);return t>=i1?rU(e,t,i1,\"day\"):t>=dE?rU(e,t,dE,\"hour\"):t>=lE?rU(e,t,lE,\"minute\"):t>=uE?rU(e,t,uE,\"second\"):e+\" ms\"}function rU(e,t,r,n){var o=t>=r*1.5;return Math.round(e/r)+\" \"+n+(o?\"s\":\"\")}});var Xnt=J((t9n,Ynt)=>{u();function P7t(e){r.debug=r,r.default=r,r.coerce=f,r.disable=c,r.enable=o,r.enabled=l,r.humanize=Qnt(),r.destroy=p,Object.keys(e).forEach(h=>{r[h]=e[h]}),r.names=[],r.skips=[],r.formatters={};function t(h){let y=0;for(let w=0;w<h.length;w++)y=(y<<5)-y+h.charCodeAt(w),y|=0;return r.colors[Math.abs(y)%r.colors.length]}r.selectColor=t;function r(h){let y,w=null,E,A;function C(...R){if(!C.enabled)return;let M=C,D=Number(new Date),$=D-(y||D);M.diff=$,M.prev=y,M.curr=D,y=D,R[0]=r.coerce(R[0]),typeof R[0]!=\"string\"&&R.unshift(\"%O\");let H=0;R[0]=R[0].replace(/%([a-zA-Z%])/g,(G,K)=>{if(G===\"%%\")return\"%\";H++;let Q=r.formatters[K];if(typeof Q==\"function\"){let X=R[H];G=Q.call(M,X),R.splice(H,1),H--}return G}),r.formatArgs.call(M,R),(M.log||r.log).apply(M,R)}return C.namespace=h,C.useColors=r.useColors(),C.color=r.selectColor(h),C.extend=n,C.destroy=r.destroy,Object.defineProperty(C,\"enabled\",{enumerable:!0,configurable:!1,get:()=>w!==null?w:(E!==r.namespaces&&(E=r.namespaces,A=r.enabled(h)),A),set:R=>{w=R}}),typeof r.init==\"function\"&&r.init(C),C}function n(h,y){let w=r(this.namespace+(typeof y>\"u\"?\":\":y)+h);return w.log=this.log,w}function o(h){r.save(h),r.namespaces=h,r.names=[],r.skips=[];let y=(typeof h==\"string\"?h:\"\").trim().replace(/\\\\s+/g,\",\").split(\",\").filter(Boolean);for(let w of y)w[0]===\"-\"?r.skips.push(w.slice(1)):r.names.push(w)}function i(h,y){let w=0,E=0,A=-1,C=0;for(;w<h.length;)if(E<y.length&&(y[E]===h[w]||y[E]===\"*\"))y[E]===\"*\"?(A=E,C=w,E++):(w++,E++);else if(A!==-1)E=A+1,C++,w=C;else return!1;for(;E<y.length&&y[E]===\"*\";)E++;return E===y.length}function c(){let h=[...r.names,...r.skips.map(y=>\"-\"+y)].join(\",\");return r.enable(\"\"),h}function l(h){for(let y of r.skips)if(i(h,y))return!1;for(let y of r.names)if(i(h,y))return!0;return!1}function f(h){return h instanceof Error?h.stack||h.message:h}function p(){console.warn(\"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.\")}return r.enable(r.load()),r}Ynt.exports=P7t});var eot=J((Ms,nU)=>{u();Ms.formatArgs=O7t;Ms.save=B7t;Ms.load=M7t;Ms.useColors=R7t;Ms.storage=D7t();Ms.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn(\"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.\"))}})();Ms.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"];function R7t(){if(typeof window<\"u\"&&window.process&&(window.process.type===\"renderer\"||window.process.__nwjs))return!0;if(typeof navigator<\"u\"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\\\\/(\\\\d+)/))return!1;let e;return typeof document<\"u\"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<\"u\"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<\"u\"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\\\\/(\\\\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<\"u\"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\\\/(\\\\d+)/)}function O7t(e){if(e[0]=(this.useColors?\"%c\":\"\")+this.namespace+(this.useColors?\" %c\":\" \")+e[0]+(this.useColors?\"%c \":\" \")+\"+\"+nU.exports.humanize(this.diff),!this.useColors)return;let t=\"color: \"+this.color;e.splice(1,0,t,\"color: inherit\");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!==\"%%\"&&(r++,o===\"%c\"&&(n=r))}),e.splice(n,0,t)}Ms.log=console.debug||console.log||(()=>{});function B7t(e){try{e?Ms.storage.setItem(\"debug\",e):Ms.storage.removeItem(\"debug\")}catch{}}function M7t(){let e;try{e=Ms.storage.getItem(\"debug\")||Ms.storage.getItem(\"DEBUG\")}catch{}return!e&&typeof process<\"u\"&&\"env\"in process&&(e=process.env.DEBUG),e}function D7t(){try{return localStorage}catch{}}nU.exports=Xnt()(Ms);var{formatters:N7t}=nU.exports;N7t.j=function(e){try{return JSON.stringify(e)}catch(t){return\"[UnexpectedJSONParseError]: \"+t.message}}});var tot=J(z0=>{\"use strict\";u();var U7t=z0&&z0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(z0,\"__esModule\",{value:!0});z0.createModuleLogger=z0.createProjectLogger=void 0;var $7t=U7t(eot()),z7t=(0,$7t.default)(\"metamask\");function L7t(e){return z7t.extend(e)}z0.createProjectLogger=L7t;function H7t(e,t){return e.extend(t)}z0.createModuleLogger=H7t});var not=J(Jn=>{\"use strict\";u();Object.defineProperty(Jn,\"__esModule\",{value:!0});Jn.calculateNumberSize=Jn.calculateStringSize=Jn.isASCII=Jn.isPlainObject=Jn.ESCAPE_CHARACTERS_REGEXP=Jn.JsonSize=Jn.hasProperty=Jn.isObject=Jn.isNullOrUndefined=Jn.isNonEmptyArray=void 0;function j7t(e){return Array.isArray(e)&&e.length>0}Jn.isNonEmptyArray=j7t;function F7t(e){return e==null}Jn.isNullOrUndefined=F7t;function V7t(e){return!!e&&typeof e==\"object\"&&!Array.isArray(e)}Jn.isObject=V7t;var q7t=(e,t)=>Object.hasOwnProperty.call(e,t);Jn.hasProperty=q7t;var G7t;(function(e){e[e.Null=4]=\"Null\",e[e.Comma=1]=\"Comma\",e[e.Wrapper=1]=\"Wrapper\",e[e.True=4]=\"True\",e[e.False=5]=\"False\",e[e.Quote=1]=\"Quote\",e[e.Colon=1]=\"Colon\",e[e.Date=24]=\"Date\"})(G7t=Jn.JsonSize||(Jn.JsonSize={}));Jn.ESCAPE_CHARACTERS_REGEXP=/\"|\\\\\\\\|\\\\n|\\\\r|\\\\t/gu;function K7t(e){if(typeof e!=\"object\"||e===null)return!1;try{let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch{return!1}}Jn.isPlainObject=K7t;function rot(e){return e.charCodeAt(0)<=127}Jn.isASCII=rot;function Z7t(e){var t;return e.split(\"\").reduce((n,o)=>rot(o)?n+1:n+2,0)+((t=e.match(Jn.ESCAPE_CHARACTERS_REGEXP))!==null&&t!==void 0?t:[]).length}Jn.calculateStringSize=Z7t;function W7t(e){return e.toString().length}Jn.calculateNumberSize=W7t});var oot=J(uf=>{\"use strict\";u();Object.defineProperty(uf,\"__esModule\",{value:!0});uf.hexToBigInt=uf.hexToNumber=uf.bigIntToHex=uf.numberToHex=void 0;var fE=Qp(),oC=tC(),J7t=e=>((0,fE.assert)(typeof e==\"number\",\"Value must be a number.\"),(0,fE.assert)(e>=0,\"Value must be a non-negative number.\"),(0,fE.assert)(Number.isSafeInteger(e),\"Value is not a safe integer. Use `bigIntToHex` instead.\"),(0,oC.add0x)(e.toString(16)));uf.numberToHex=J7t;var Q7t=e=>((0,fE.assert)(typeof e==\"bigint\",\"Value must be a bigint.\"),(0,fE.assert)(e>=0,\"Value must be a non-negative bigint.\"),(0,oC.add0x)(e.toString(16)));uf.bigIntToHex=Q7t;var Y7t=e=>{(0,oC.assertIsHexString)(e);let t=parseInt(e,16);return(0,fE.assert)(Number.isSafeInteger(t),\"Value is not a safe integer. Use `hexToBigInt` instead.\"),t};uf.hexToNumber=Y7t;var X7t=e=>((0,oC.assertIsHexString)(e),BigInt((0,oC.add0x)(e)));uf.hexToBigInt=X7t});var aot=J(iot=>{\"use strict\";u();Object.defineProperty(iot,\"__esModule\",{value:!0})});var cot=J(Yp=>{\"use strict\";u();Object.defineProperty(Yp,\"__esModule\",{value:!0});Yp.timeSince=Yp.inMilliseconds=Yp.Duration=void 0;var ePt;(function(e){e[e.Millisecond=1]=\"Millisecond\",e[e.Second=1e3]=\"Second\",e[e.Minute=6e4]=\"Minute\",e[e.Hour=36e5]=\"Hour\",e[e.Day=864e5]=\"Day\",e[e.Week=6048e5]=\"Week\",e[e.Year=31536e6]=\"Year\"})(ePt=Yp.Duration||(Yp.Duration={}));var tPt=e=>Number.isInteger(e)&&e>=0,sot=(e,t)=>{if(!tPt(e))throw new Error(`\"${t}\" must be a non-negative integer. Received: \"${e}\".`)};function rPt(e,t){return sot(e,\"count\"),e*t}Yp.inMilliseconds=rPt;function nPt(e){return sot(e,\"timestamp\"),Date.now()-e}Yp.timeSince=nPt});var lot=J(uot=>{\"use strict\";u();Object.defineProperty(uot,\"__esModule\",{value:!0})});var pE=J((y9n,dot)=>{\"use strict\";u();var oPt=\"2.0.0\",iPt=Number.MAX_SAFE_INTEGER||9007199254740991,aPt=16,sPt=250,cPt=[\"major\",\"premajor\",\"minor\",\"preminor\",\"patch\",\"prepatch\",\"prerelease\"];dot.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:aPt,MAX_SAFE_BUILD_LENGTH:sPt,MAX_SAFE_INTEGER:iPt,RELEASE_TYPES:cPt,SEMVER_SPEC_VERSION:oPt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var iC=J((g9n,fot)=>{\"use strict\";u();var uPt=typeof process==\"object\"&&process.env&&process.env.NODE_DEBUG&&/\\\\bsemver\\\\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error(\"SEMVER\",...e):()=>{};fot.exports=uPt});var mE=J((lf,pot)=>{\"use strict\";u();var{MAX_SAFE_COMPONENT_LENGTH:sne,MAX_SAFE_BUILD_LENGTH:lPt,MAX_LENGTH:dPt}=pE(),fPt=iC();lf=pot.exports={};var pPt=lf.re=[],mPt=lf.safeRe=[],Qe=lf.src=[],hPt=lf.safeSrc=[],Ye=lf.t={},yPt=0,cne=\"[a-zA-Z0-9-]\",bPt=[[\"\\\\\\\\s\",1],[\"\\\\\\\\d\",dPt],[cne,lPt]],gPt=e=>{for(let[t,r]of bPt)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},Dt=(e,t,r)=>{let n=gPt(t),o=yPt++;fPt(e,o,t),Ye[e]=o,Qe[o]=t,hPt[o]=n,pPt[o]=new RegExp(t,r?\"g\":void 0),mPt[o]=new RegExp(n,r?\"g\":void 0)};Dt(\"NUMERICIDENTIFIER\",\"0|[1-9]\\\\\\\\d*\");Dt(\"NUMERICIDENTIFIERLOOSE\",\"\\\\\\\\d+\");Dt(\"NONNUMERICIDENTIFIER\",`\\\\\\\\d*[a-zA-Z-]${cne}*`);Dt(\"MAINVERSION\",`(${Qe[Ye.NUMERICIDENTIFIER]})\\\\\\\\.(${Qe[Ye.NUMERICIDENTIFIER]})\\\\\\\\.(${Qe[Ye.NUMERICIDENTIFIER]})`);Dt(\"MAINVERSIONLOOSE\",`(${Qe[Ye.NUMERICIDENTIFIERLOOSE]})\\\\\\\\.(${Qe[Ye.NUMERICIDENTIFIERLOOSE]})\\\\\\\\.(${Qe[Ye.NUMERICIDENTIFIERLOOSE]})`);Dt(\"PRERELEASEIDENTIFIER\",`(?:${Qe[Ye.NONNUMERICIDENTIFIER]}|${Qe[Ye.NUMERICIDENTIFIER]})`);Dt(\"PRERELEASEIDENTIFIERLOOSE\",`(?:${Qe[Ye.NONNUMERICIDENTIFIER]}|${Qe[Ye.NUMERICIDENTIFIERLOOSE]})`);Dt(\"PRERELEASE\",`(?:-(${Qe[Ye.PRERELEASEIDENTIFIER]}(?:\\\\\\\\.${Qe[Ye.PRERELEASEIDENTIFIER]})*))`);Dt(\"PRERELEASELOOSE\",`(?:-?(${Qe[Ye.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\\\\\.${Qe[Ye.PRERELEASEIDENTIFIERLOOSE]})*))`);Dt(\"BUILDIDENTIFIER\",`${cne}+`);Dt(\"BUILD\",`(?:\\\\\\\\+(${Qe[Ye.BUILDIDENTIFIER]}(?:\\\\\\\\.${Qe[Ye.BUILDIDENTIFIER]})*))`);Dt(\"FULLPLAIN\",`v?${Qe[Ye.MAINVERSION]}${Qe[Ye.PRERELEASE]}?${Qe[Ye.BUILD]}?`);Dt(\"FULL\",`^${Qe[Ye.FULLPLAIN]}$`);Dt(\"LOOSEPLAIN\",`[v=\\\\\\\\s]*${Qe[Ye.MAINVERSIONLOOSE]}${Qe[Ye.PRERELEASELOOSE]}?${Qe[Ye.BUILD]}?`);Dt(\"LOOSE\",`^${Qe[Ye.LOOSEPLAIN]}$`);Dt(\"GTLT\",\"((?:<|>)?=?)\");Dt(\"XRANGEIDENTIFIERLOOSE\",`${Qe[Ye.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\\\\\*`);Dt(\"XRANGEIDENTIFIER\",`${Qe[Ye.NUMERICIDENTIFIER]}|x|X|\\\\\\\\*`);Dt(\"XRANGEPLAIN\",`[v=\\\\\\\\s]*(${Qe[Ye.XRANGEIDENTIFIER]})(?:\\\\\\\\.(${Qe[Ye.XRANGEIDENTIFIER]})(?:\\\\\\\\.(${Qe[Ye.XRANGEIDENTIFIER]})(?:${Qe[Ye.PRERELEASE]})?${Qe[Ye.BUILD]}?)?)?`);Dt(\"XRANGEPLAINLOOSE\",`[v=\\\\\\\\s]*(${Qe[Ye.XRANGEIDENTIFIERLOOSE]})(?:\\\\\\\\.(${Qe[Ye.XRANGEIDENTIFIERLOOSE]})(?:\\\\\\\\.(${Qe[Ye.XRANGEIDENTIFIERLOOSE]})(?:${Qe[Ye.PRERELEASELOOSE]})?${Qe[Ye.BUILD]}?)?)?`);Dt(\"XRANGE\",`^${Qe[Ye.GTLT]}\\\\\\\\s*${Qe[Ye.XRANGEPLAIN]}$`);Dt(\"XRANGELOOSE\",`^${Qe[Ye.GTLT]}\\\\\\\\s*${Qe[Ye.XRANGEPLAINLOOSE]}$`);Dt(\"COERCEPLAIN\",`(^|[^\\\\\\\\d])(\\\\\\\\d{1,${sne}})(?:\\\\\\\\.(\\\\\\\\d{1,${sne}}))?(?:\\\\\\\\.(\\\\\\\\d{1,${sne}}))?`);Dt(\"COERCE\",`${Qe[Ye.COERCEPLAIN]}(?:$|[^\\\\\\\\d])`);Dt(\"COERCEFULL\",Qe[Ye.COERCEPLAIN]+`(?:${Qe[Ye.PRERELEASE]})?(?:${Qe[Ye.BUILD]})?(?:$|[^\\\\\\\\d])`);Dt(\"COERCERTL\",Qe[Ye.COERCE],!0);Dt(\"COERCERTLFULL\",Qe[Ye.COERCEFULL],!0);Dt(\"LONETILDE\",\"(?:~>?)\");Dt(\"TILDETRIM\",`(\\\\\\\\s*)${Qe[Ye.LONETILDE]}\\\\\\\\s+`,!0);lf.tildeTrimReplace=\"$1~\";Dt(\"TILDE\",`^${Qe[Ye.LONETILDE]}${Qe[Ye.XRANGEPLAIN]}$`);Dt(\"TILDELOOSE\",`^${Qe[Ye.LONETILDE]}${Qe[Ye.XRANGEPLAINLOOSE]}$`);Dt(\"LONECARET\",\"(?:\\\\\\\\^)\");Dt(\"CARETTRIM\",`(\\\\\\\\s*)${Qe[Ye.LONECARET]}\\\\\\\\s+`,!0);lf.caretTrimReplace=\"$1^\";Dt(\"CARET\",`^${Qe[Ye.LONECARET]}${Qe[Ye.XRANGEPLAIN]}$`);Dt(\"CARETLOOSE\",`^${Qe[Ye.LONECARET]}${Qe[Ye.XRANGEPLAINLOOSE]}$`);Dt(\"COMPARATORLOOSE\",`^${Qe[Ye.GTLT]}\\\\\\\\s*(${Qe[Ye.LOOSEPLAIN]})$|^$`);Dt(\"COMPARATOR\",`^${Qe[Ye.GTLT]}\\\\\\\\s*(${Qe[Ye.FULLPLAIN]})$|^$`);Dt(\"COMPARATORTRIM\",`(\\\\\\\\s*)${Qe[Ye.GTLT]}\\\\\\\\s*(${Qe[Ye.LOOSEPLAIN]}|${Qe[Ye.XRANGEPLAIN]})`,!0);lf.comparatorTrimReplace=\"$1$2$3\";Dt(\"HYPHENRANGE\",`^\\\\\\\\s*(${Qe[Ye.XRANGEPLAIN]})\\\\\\\\s+-\\\\\\\\s+(${Qe[Ye.XRANGEPLAIN]})\\\\\\\\s*$`);Dt(\"HYPHENRANGELOOSE\",`^\\\\\\\\s*(${Qe[Ye.XRANGEPLAINLOOSE]})\\\\\\\\s+-\\\\\\\\s+(${Qe[Ye.XRANGEPLAINLOOSE]})\\\\\\\\s*$`);Dt(\"STAR\",\"(<|>)?=?\\\\\\\\s*\\\\\\\\*\");Dt(\"GTE0\",\"^\\\\\\\\s*>=\\\\\\\\s*0\\\\\\\\.0\\\\\\\\.0\\\\\\\\s*$\");Dt(\"GTE0PRE\",\"^\\\\\\\\s*>=\\\\\\\\s*0\\\\\\\\.0\\\\\\\\.0-0\\\\\\\\s*$\")});var oU=J((w9n,mot)=>{\"use strict\";u();var xPt=Object.freeze({loose:!0}),vPt=Object.freeze({}),wPt=e=>e?typeof e!=\"object\"?xPt:e:vPt;mot.exports=wPt});var une=J((_9n,bot)=>{\"use strict\";u();var hot=/^[0-9]+$/,yot=(e,t)=>{if(typeof e==\"number\"&&typeof t==\"number\")return e===t?0:e<t?-1:1;let r=hot.test(e),n=hot.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},EPt=(e,t)=>yot(t,e);bot.exports={compareIdentifiers:yot,rcompareIdentifiers:EPt}});var $i=J((A9n,xot)=>{\"use strict\";u();var iU=iC(),{MAX_LENGTH:got,MAX_SAFE_INTEGER:aU}=pE(),{safeRe:sU,t:cU}=mE(),_Pt=oU(),{compareIdentifiers:lne}=une(),SPt=(e,t)=>{let r=t.split(\".\");if(r.length>e.length)return!1;for(let n=0;n<r.length;n++)if(lne(e[n],r[n])!==0)return!1;return!0},dne=class e{constructor(t,r){if(r=_Pt(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!=\"string\")throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof t}\".`);if(t.length>got)throw new TypeError(`version is longer than ${got} characters`);iU(\"SemVer\",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?sU[cU.LOOSE]:sU[cU.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>aU||this.major<0)throw new TypeError(\"Invalid major version\");if(this.minor>aU||this.minor<0)throw new TypeError(\"Invalid minor version\");if(this.patch>aU||this.patch<0)throw new TypeError(\"Invalid patch version\");n[4]?this.prerelease=n[4].split(\".\").map(o=>{if(/^[0-9]+$/.test(o)){let i=+o;if(i>=0&&i<aU)return i}return o}):this.prerelease=[],this.build=n[5]?n[5].split(\".\"):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(\".\")}`),this.version}toString(){return this.version}compare(t){if(iU(\"SemVer.compare\",this.version,this.options,t),!(t instanceof e)){if(typeof t==\"string\"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:this.patch>t.patch?1:0}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],o=t.prerelease[r];if(iU(\"prerelease compare\",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return lne(n,o)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],o=t.build[r];if(iU(\"build compare\",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return lne(n,o)}while(++r)}inc(t,r,n){if(t.startsWith(\"pre\")){if(!r&&n===!1)throw new Error(\"invalid increment argument: identifier is empty\");if(r){let o=`-${r}`.match(this.options.loose?sU[cU.PRERELEASELOOSE]:sU[cU.PRERELEASE]);if(!o||o[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(t){case\"premajor\":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(\"pre\",r,n);break;case\"preminor\":this.prerelease.length=0,this.patch=0,this.minor++,this.inc(\"pre\",r,n);break;case\"prepatch\":this.prerelease.length=0,this.inc(\"patch\",r,n),this.inc(\"pre\",r,n);break;case\"prerelease\":this.prerelease.length===0&&this.inc(\"patch\",r,n),this.inc(\"pre\",r,n);break;case\"release\":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case\"major\":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case\"minor\":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case\"patch\":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case\"pre\":{let o=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[o];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]==\"number\"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(\".\")&&n===!1)throw new Error(\"invalid increment argument: identifier already exists\");this.prerelease.push(o)}}if(r){let i=[r,o];if(n===!1&&(i=[r]),SPt(this.prerelease,r)){let c=this.prerelease[r.split(\".\").length];isNaN(c)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(\".\")}`),this}};xot.exports=dne});var L0=J((C9n,wot)=>{\"use strict\";u();var vot=$i(),APt=(e,t,r=!1)=>{if(e instanceof vot)return e;try{return new vot(e,t)}catch(n){if(!r)return null;throw n}};wot.exports=APt});var _ot=J((I9n,Eot)=>{\"use strict\";u();var kPt=L0(),CPt=(e,t)=>{let r=kPt(e,t);return r?r.version:null};Eot.exports=CPt});var Aot=J((R9n,Sot)=>{\"use strict\";u();var TPt=L0(),IPt=(e,t)=>{let r=TPt(e.trim().replace(/^[=v]+/,\"\"),t);return r?r.version:null};Sot.exports=IPt});var Tot=J((B9n,Cot)=>{\"use strict\";u();var kot=$i(),PPt=(e,t,r,n,o)=>{typeof r==\"string\"&&(o=n,n=r,r=void 0);try{return new kot(e instanceof kot?e.version:e,r).inc(t,n,o).version}catch{return null}};Cot.exports=PPt});var Rot=J((D9n,Pot)=>{\"use strict\";u();var Iot=L0(),RPt=(e,t)=>{let r=Iot(e,null,!0),n=Iot(t,null,!0),o=r.compare(n);if(o===0)return null;let i=o>0,c=i?r:n,l=i?n:r,f=!!c.prerelease.length;if(!!l.prerelease.length&&!f){if(!l.patch&&!l.minor)return\"major\";if(l.compareMain(c)===0)return l.minor&&!l.patch?\"minor\":\"patch\"}let h=f?\"pre\":\"\";return r.major!==n.major?h+\"major\":r.minor!==n.minor?h+\"minor\":r.patch!==n.patch?h+\"patch\":\"prerelease\"};Pot.exports=RPt});var Bot=J((U9n,Oot)=>{\"use strict\";u();var OPt=$i(),BPt=(e,t)=>new OPt(e,t).major;Oot.exports=BPt});var Dot=J((z9n,Mot)=>{\"use strict\";u();var MPt=$i(),DPt=(e,t)=>new MPt(e,t).minor;Mot.exports=DPt});var Uot=J((H9n,Not)=>{\"use strict\";u();var NPt=$i(),UPt=(e,t)=>new NPt(e,t).patch;Not.exports=UPt});var zot=J((F9n,$ot)=>{\"use strict\";u();var $Pt=L0(),zPt=(e,t)=>{let r=$Pt(e,t);return r&&r.prerelease.length?r.prerelease:null};$ot.exports=zPt});var gu=J((q9n,Hot)=>{\"use strict\";u();var Lot=$i(),LPt=(e,t,r)=>new Lot(e,r).compare(new Lot(t,r));Hot.exports=LPt});var Fot=J((K9n,jot)=>{\"use strict\";u();var HPt=gu(),jPt=(e,t,r)=>HPt(t,e,r);jot.exports=jPt});var qot=J((W9n,Vot)=>{\"use strict\";u();var FPt=gu(),VPt=(e,t)=>FPt(e,t,!0);Vot.exports=VPt});var uU=J((Q9n,Kot)=>{\"use strict\";u();var Got=$i(),qPt=(e,t,r)=>{let n=new Got(e,r),o=new Got(t,r);return n.compare(o)||n.compareBuild(o)};Kot.exports=qPt});var Wot=J((X9n,Zot)=>{\"use strict\";u();var GPt=uU(),KPt=(e,t)=>e.sort((r,n)=>GPt(r,n,t));Zot.exports=KPt});var Qot=J((tMn,Jot)=>{\"use strict\";u();var ZPt=uU(),WPt=(e,t)=>e.sort((r,n)=>ZPt(n,r,t));Jot.exports=WPt});var aC=J((nMn,Yot)=>{\"use strict\";u();var JPt=gu(),QPt=(e,t,r)=>JPt(e,t,r)>0;Yot.exports=QPt});var lU=J((iMn,Xot)=>{\"use strict\";u();var YPt=gu(),XPt=(e,t,r)=>YPt(e,t,r)<0;Xot.exports=XPt});var fne=J((sMn,eit)=>{\"use strict\";u();var eRt=gu(),tRt=(e,t,r)=>eRt(e,t,r)===0;eit.exports=tRt});var pne=J((uMn,tit)=>{\"use strict\";u();var rRt=gu(),nRt=(e,t,r)=>rRt(e,t,r)!==0;tit.exports=nRt});var dU=J((dMn,rit)=>{\"use strict\";u();var oRt=gu(),iRt=(e,t,r)=>oRt(e,t,r)>=0;rit.exports=iRt});var fU=J((pMn,nit)=>{\"use strict\";u();var aRt=gu(),sRt=(e,t,r)=>aRt(e,t,r)<=0;nit.exports=sRt});var mne=J((hMn,oit)=>{\"use strict\";u();var cRt=fne(),uRt=pne(),lRt=aC(),dRt=dU(),fRt=lU(),pRt=fU(),mRt=(e,t,r,n)=>{switch(t){case\"===\":return typeof e==\"object\"&&(e=e.version),typeof r==\"object\"&&(r=r.version),e===r;case\"!==\":return typeof e==\"object\"&&(e=e.version),typeof r==\"object\"&&(r=r.version),e!==r;case\"\":case\"=\":case\"==\":return cRt(e,r,n);case\"!=\":return uRt(e,r,n);case\">\":return lRt(e,r,n);case\">=\":return dRt(e,r,n);case\"<\":return fRt(e,r,n);case\"<=\":return pRt(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};oit.exports=mRt});var ait=J((bMn,iit)=>{\"use strict\";u();var hRt=$i(),yRt=L0(),{safeRe:pU,t:mU}=mE(),bRt=(e,t)=>{if(e instanceof hRt)return e;if(typeof e==\"number\"&&(e=String(e)),typeof e!=\"string\")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?pU[mU.COERCEFULL]:pU[mU.COERCE]);else{let f=t.includePrerelease?pU[mU.COERCERTLFULL]:pU[mU.COERCERTL],p;for(;(p=f.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||p.index+p[0].length!==r.index+r[0].length)&&(r=p),f.lastIndex=p.index+p[1].length+p[2].length;f.lastIndex=-1}if(r===null)return null;let n=r[2],o=r[3]||\"0\",i=r[4]||\"0\",c=t.includePrerelease&&r[5]?`-${r[5]}`:\"\",l=t.includePrerelease&&r[6]?`+${r[6]}`:\"\";return yRt(`${n}.${o}.${i}${c}${l}`,t)};iit.exports=bRt});var cit=J((xMn,sit)=>{\"use strict\";u();var gRt=L0(),xRt=pE(),vRt=$i(),wRt=(e,t,r)=>{if(!xRt.RELEASE_TYPES.includes(t))return null;let n=ERt(e,r);return n&&_Rt(n,t)},ERt=(e,t)=>{let r=e instanceof vRt?e.version:e;return gRt(r,t)},_Rt=(e,t)=>{if(SRt(t))return e.version;switch(e.prerelease=[],t){case\"major\":e.minor=0,e.patch=0;break;case\"minor\":e.patch=0;break}return e.format()},SRt=e=>e.startsWith(\"pre\");sit.exports=wRt});var lit=J((wMn,uit)=>{\"use strict\";u();var hne=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let o=this.map.keys().next().value;this.delete(o)}this.map.set(t,r)}return this}};uit.exports=hne});var xu=J((_Mn,mit)=>{\"use strict\";u();var ARt=/\\\\s+/g,yne=class e{constructor(t,r){if(r=CRt(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof bne)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(ARt,\" \"),this.set=this.raw.split(\"||\").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(o=>!fit(o[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&NRt(o[0])){this.set=[o];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=\"\";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+=\"||\");let r=this.set[t];for(let n=0;n<r.length;n++)n>0&&(this.formatted+=\" \"),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){t=t.replace(DRt,\"\");let n=((this.options.includePrerelease&&BRt)|(this.options.loose&&MRt))+\":\"+t,o=dit.get(n);if(o)return o;let i=this.options.loose,c=i?Za[zi.HYPHENRANGELOOSE]:Za[zi.HYPHENRANGE];t=t.replace(c,KRt(this.options.includePrerelease)),jn(\"hyphen replace\",t),t=t.replace(Za[zi.COMPARATORTRIM],PRt),jn(\"comparator trim\",t),t=t.replace(Za[zi.TILDETRIM],RRt),jn(\"tilde trim\",t),t=t.replace(Za[zi.CARETTRIM],ORt),jn(\"caret trim\",t);let l=t.split(\" \").map(y=>URt(y,this.options)).join(\" \").split(/\\\\s+/).map(y=>GRt(y,this.options));i&&(l=l.filter(y=>(jn(\"loose invalid filter\",y,this.options),!!y.match(Za[zi.COMPARATORLOOSE])))),jn(\"range list\",l);let f=new Map,p=l.map(y=>new bne(y,this.options));for(let y of p){if(fit(y))return[y];f.set(y.value,y)}f.size>1&&f.has(\"\")&&f.delete(\"\");let h=[...f.values()];return dit.set(n,h),h}intersects(t,r){if(!(t instanceof e))throw new TypeError(\"a Range is required\");return this.set.some(n=>pit(n,r)&&t.set.some(o=>pit(o,r)&&n.every(i=>o.every(c=>i.intersects(c,r)))))}test(t){if(!t)return!1;if(typeof t==\"string\")try{t=new TRt(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(ZRt(this.set[r],t,this.options))return!0;return!1}};mit.exports=yne;var kRt=lit(),dit=new kRt,CRt=oU(),bne=sC(),jn=iC(),TRt=$i(),{safeRe:Za,src:IRt,t:zi,comparatorTrimReplace:PRt,tildeTrimReplace:RRt,caretTrimReplace:ORt}=mE(),{FLAG_INCLUDE_PRERELEASE:BRt,FLAG_LOOSE:MRt}=pE(),DRt=new RegExp(IRt[zi.BUILD],\"g\"),fit=e=>e.value===\"<0.0.0-0\",NRt=e=>e.value===\"\",pit=(e,t)=>{let r=!0,n=e.slice(),o=n.pop();for(;r&&n.length;)r=n.every(i=>o.intersects(i,t)),o=n.pop();return r},URt=(e,t)=>(e=e.replace(Za[zi.BUILD],\"\"),jn(\"comp\",e,t),e=HRt(e,t),jn(\"caret\",e),e=zRt(e,t),jn(\"tildes\",e),e=FRt(e,t),jn(\"xrange\",e),e=qRt(e,t),jn(\"stars\",e),e),ti=e=>!e||e.toLowerCase()===\"x\"||e===\"*\",$Rt=(e,t,r)=>ti(e)&&!ti(t)||ti(t)&&r&&!ti(r),zRt=(e,t)=>e.trim().split(/\\\\s+/).map(r=>LRt(r,t)).join(\" \"),LRt=(e,t)=>{let r=t.loose?Za[zi.TILDELOOSE]:Za[zi.TILDE],n=t.includePrerelease?\"-0\":\"\";return e.replace(r,(o,i,c,l,f)=>{jn(\"tilde\",e,o,i,c,l,f);let p;return ti(i)?p=\"\":ti(c)?p=`>=${i}.0.0${n} <${+i+1}.0.0-0`:ti(l)?p=`>=${i}.${c}.0${n} <${i}.${+c+1}.0-0`:f?(jn(\"replaceTilde pr\",f),p=`>=${i}.${c}.${l}-${f} <${i}.${+c+1}.0-0`):p=`>=${i}.${c}.${l} <${i}.${+c+1}.0-0`,jn(\"tilde return\",p),p})},HRt=(e,t)=>e.trim().split(/\\\\s+/).map(r=>jRt(r,t)).join(\" \"),jRt=(e,t)=>{jn(\"caret\",e,t);let r=t.loose?Za[zi.CARETLOOSE]:Za[zi.CARET],n=t.includePrerelease?\"-0\":\"\";return e.replace(r,(o,i,c,l,f)=>{jn(\"caret\",e,o,i,c,l,f);let p;return ti(i)?p=\"\":ti(c)?p=`>=${i}.0.0${n} <${+i+1}.0.0-0`:ti(l)?i===\"0\"?p=`>=${i}.${c}.0${n} <${i}.${+c+1}.0-0`:p=`>=${i}.${c}.0${n} <${+i+1}.0.0-0`:f?(jn(\"replaceCaret pr\",f),i===\"0\"?c===\"0\"?p=`>=${i}.${c}.${l}-${f} <${i}.${c}.${+l+1}-0`:p=`>=${i}.${c}.${l}-${f} <${i}.${+c+1}.0-0`:p=`>=${i}.${c}.${l}-${f} <${+i+1}.0.0-0`):(jn(\"no pr\"),i===\"0\"?c===\"0\"?p=`>=${i}.${c}.${l} <${i}.${c}.${+l+1}-0`:p=`>=${i}.${c}.${l} <${i}.${+c+1}.0-0`:p=`>=${i}.${c}.${l} <${+i+1}.0.0-0`),jn(\"caret return\",p),p})},FRt=(e,t)=>(jn(\"replaceXRanges\",e,t),e.split(/\\\\s+/).map(r=>VRt(r,t)).join(\" \")),VRt=(e,t)=>{e=e.trim();let r=t.loose?Za[zi.XRANGELOOSE]:Za[zi.XRANGE];return e.replace(r,(n,o,i,c,l,f)=>{if(jn(\"xRange\",e,n,o,i,c,l,f),$Rt(i,c,l))return e;let p=ti(i),h=p||ti(c),y=h||ti(l),w=y;return o===\"=\"&&w&&(o=\"\"),f=t.includePrerelease?\"-0\":\"\",p?o===\">\"||o===\"<\"?n=\"<0.0.0-0\":n=\"*\":o&&w?(h&&(c=0),l=0,o===\">\"?(o=\">=\",h?(i=+i+1,c=0,l=0):(c=+c+1,l=0)):o===\"<=\"&&(o=\"<\",h?i=+i+1:c=+c+1),o===\"<\"&&(f=\"-0\"),n=`${o+i}.${c}.${l}${f}`):h?n=`>=${i}.0.0${f} <${+i+1}.0.0-0`:y&&(n=`>=${i}.${c}.0${f} <${i}.${+c+1}.0-0`),jn(\"xRange return\",n),n})},qRt=(e,t)=>(jn(\"replaceStars\",e,t),e.trim().replace(Za[zi.STAR],\"\")),GRt=(e,t)=>(jn(\"replaceGTE0\",e,t),e.trim().replace(Za[t.includePrerelease?zi.GTE0PRE:zi.GTE0],\"\")),KRt=e=>(t,r,n,o,i,c,l,f,p,h,y,w)=>(ti(n)?r=\"\":ti(o)?r=`>=${n}.0.0${e?\"-0\":\"\"}`:ti(i)?r=`>=${n}.${o}.0${e?\"-0\":\"\"}`:c?r=`>=${r}`:r=`>=${r}${e?\"-0\":\"\"}`,ti(p)?f=\"\":ti(h)?f=`<${+p+1}.0.0-0`:ti(y)?f=`<${p}.${+h+1}.0-0`:w?f=`<=${p}.${h}.${y}-${w}`:e?f=`<${p}.${h}.${+y+1}-0`:f=`<=${f}`,`${r} ${f}`.trim()),ZRt=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++)if(jn(e[n].semver),e[n].semver!==bne.ANY&&e[n].semver.prerelease.length>0){let o=e[n].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var sC=J((AMn,vit)=>{\"use strict\";u();var cC=Symbol(\"SemVer ANY\"),vne=class e{static get ANY(){return cC}constructor(t,r){if(r=hit(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\\\\s+/).join(\" \"),xne(\"comparator\",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===cC?this.value=\"\":this.value=this.operator+this.semver.version,xne(\"comp\",this)}parse(t){let r=this.options.loose?yit[bit.COMPARATORLOOSE]:yit[bit.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:\"\",this.operator===\"=\"&&(this.operator=\"\"),n[2]?this.semver=new git(n[2],this.options.loose):this.semver=cC}toString(){return this.value}test(t){if(xne(\"Comparator.test\",t,this.options.loose),this.semver===cC||t===cC)return!0;if(typeof t==\"string\")try{t=new git(t,this.options)}catch{return!1}return gne(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError(\"a Comparator is required\");return this.operator===\"\"?this.value===\"\"?!0:new xit(t.value,r).test(this.value):t.operator===\"\"?t.value===\"\"?!0:new xit(this.value,r).test(t.semver):(r=hit(r),r.includePrerelease&&(this.value===\"<0.0.0-0\"||t.value===\"<0.0.0-0\")||!r.includePrerelease&&(this.value.startsWith(\"<0.0.0\")||t.value.startsWith(\"<0.0.0\"))?!1:!!(this.operator.startsWith(\">\")&&t.operator.startsWith(\">\")||this.operator.startsWith(\"<\")&&t.operator.startsWith(\"<\")||this.semver.version===t.semver.version&&this.operator.includes(\"=\")&&t.operator.includes(\"=\")||gne(this.semver,\"<\",t.semver,r)&&this.operator.startsWith(\">\")&&t.operator.startsWith(\"<\")||gne(this.semver,\">\",t.semver,r)&&this.operator.startsWith(\"<\")&&t.operator.startsWith(\">\")))}};vit.exports=vne;var hit=oU(),{safeRe:yit,t:bit}=mE(),gne=mne(),xne=iC(),git=$i(),xit=xu()});var uC=J((CMn,wit)=>{\"use strict\";u();var WRt=xu(),JRt=(e,t,r)=>{try{t=new WRt(t,r)}catch{return!1}return t.test(e)};wit.exports=JRt});var _it=J((IMn,Eit)=>{\"use strict\";u();var QRt=xu(),YRt=(e,t)=>new QRt(e,t).set.map(r=>r.map(n=>n.value).join(\" \").trim().split(\" \"));Eit.exports=YRt});var Ait=J((RMn,Sit)=>{\"use strict\";u();var XRt=$i(),eOt=xu(),tOt=(e,t,r)=>{let n=null,o=null,i=null;try{i=new eOt(t,r)}catch{return null}return e.forEach(c=>{i.test(c)&&(!n||o.compare(c)===-1)&&(n=c,o=new XRt(n,r))}),n};Sit.exports=tOt});var Cit=J((BMn,kit)=>{\"use strict\";u();var rOt=$i(),nOt=xu(),oOt=(e,t,r)=>{let n=null,o=null,i=null;try{i=new nOt(t,r)}catch{return null}return e.forEach(c=>{i.test(c)&&(!n||o.compare(c)===1)&&(n=c,o=new rOt(n,r))}),n};kit.exports=oOt});var Pit=J((DMn,Iit)=>{\"use strict\";u();var wne=$i(),iOt=xu(),Tit=aC(),aOt=(e,t)=>{e=new iOt(e,t);let r=new wne(\"0.0.0\");if(e.test(r)||(r=new wne(\"0.0.0-0\"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){let o=e.set[n],i=null;o.forEach(c=>{let l=new wne(c.semver.version);switch(c.operator){case\">\":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case\"\":case\">=\":(!i||Tit(l,i))&&(i=l);break;case\"<\":case\"<=\":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),i&&(!r||Tit(r,i))&&(r=i)}return r&&e.test(r)?r:null};Iit.exports=aOt});var Oit=J((UMn,Rit)=>{\"use strict\";u();var sOt=xu(),cOt=(e,t)=>{try{return new sOt(e,t).range||\"*\"}catch{return null}};Rit.exports=cOt});var hU=J((zMn,Nit)=>{\"use strict\";u();var uOt=$i(),Dit=sC(),{ANY:lOt}=Dit,dOt=xu(),fOt=uC(),Bit=aC(),Mit=lU(),pOt=fU(),mOt=dU(),hOt=(e,t,r,n)=>{e=new uOt(e,n),t=new dOt(t,n);let o,i,c,l,f;switch(r){case\">\":o=Bit,i=pOt,c=Mit,l=\">\",f=\">=\";break;case\"<\":o=Mit,i=mOt,c=Bit,l=\"<\",f=\"<=\";break;default:throw new TypeError(\\'Must provide a hilo val of \"<\" or \">\"\\')}if(fOt(e,t,n))return!1;for(let p=0;p<t.set.length;++p){let h=t.set[p],y=null,w=null;if(h.forEach(E=>{E.semver===lOt&&(E=new Dit(\">=0.0.0\")),y=y||E,w=w||E,o(E.semver,y.semver,n)?y=E:c(E.semver,w.semver,n)&&(w=E)}),y.operator===l||y.operator===f||(!w.operator||w.operator===l)&&i(e,w.semver))return!1;if(w.operator===f&&c(e,w.semver))return!1}return!0};Nit.exports=hOt});var $it=J((HMn,Uit)=>{\"use strict\";u();var yOt=hU(),bOt=(e,t,r)=>yOt(e,t,\">\",r);Uit.exports=bOt});var Lit=J((FMn,zit)=>{\"use strict\";u();var gOt=hU(),xOt=(e,t,r)=>gOt(e,t,\"<\",r);zit.exports=xOt});var Fit=J((qMn,jit)=>{\"use strict\";u();var Hit=xu(),vOt=(e,t,r)=>(e=new Hit(e,r),t=new Hit(t,r),e.intersects(t,r));jit.exports=vOt});var qit=J((KMn,Vit)=>{\"use strict\";u();var wOt=uC(),EOt=gu();Vit.exports=(e,t,r)=>{let n=[],o=null,i=null,c=e.sort((h,y)=>EOt(h,y,r));for(let h of c)wOt(h,t,r)?(i=h,o||(o=h)):(i&&n.push([o,i]),i=null,o=null);o&&n.push([o,null]);let l=[];for(let[h,y]of n)h===y?l.push(h):!y&&h===c[0]?l.push(\"*\"):y?h===c[0]?l.push(`<=${y}`):l.push(`${h} - ${y}`):l.push(`>=${h}`);let f=l.join(\" || \"),p=typeof t.raw==\"string\"?t.raw:String(t);return f.length<p.length?f:t}});var Qit=J((WMn,Jit)=>{\"use strict\";u();var Git=xu(),Sne=sC(),{ANY:Ene}=Sne,_ne=uC(),Ane=gu(),_Ot=(e,t,r={})=>{if(e===t)return!0;e=new Git(e,r),t=new Git(t,r);let n=!1;e:for(let o of e.set){for(let i of t.set){let c=AOt(o,i,r);if(n=n||c!==null,c)continue e}if(n)return!1}return!0},SOt=[new Sne(\">=0.0.0-0\")],Kit=[new Sne(\">=0.0.0\")],AOt=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Ene){if(t.length===1&&t[0].semver===Ene)return!0;r.includePrerelease?e=SOt:e=Kit}if(t.length===1&&t[0].semver===Ene){if(r.includePrerelease)return!0;t=Kit}let n=new Set,o,i;for(let E of e)E.operator===\">\"||E.operator===\">=\"?o=Zit(o,E,r):E.operator===\"<\"||E.operator===\"<=\"?i=Wit(i,E,r):n.add(E.semver);if(n.size>1)return null;let c;if(o&&i){if(c=Ane(o.semver,i.semver,r),c>0)return null;if(c===0&&(o.operator!==\">=\"||i.operator!==\"<=\"))return null}for(let E of n){if(o&&!_ne(E,String(o),r)||i&&!_ne(E,String(i),r))return null;for(let A of t)if(!_ne(E,String(A),r))return!1;return!0}let l,f,p,h,y=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,w=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1;y&&y.prerelease.length===1&&i.operator===\"<\"&&y.prerelease[0]===0&&(y=!1);for(let E of t){if(h=h||E.operator===\">\"||E.operator===\">=\",p=p||E.operator===\"<\"||E.operator===\"<=\",o){if(w&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===w.major&&E.semver.minor===w.minor&&E.semver.patch===w.patch&&(w=!1),E.operator===\">\"||E.operator===\">=\"){if(l=Zit(o,E,r),l===E&&l!==o)return!1}else if(o.operator===\">=\"&&!E.test(o.semver))return!1}if(i){if(y&&E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===y.major&&E.semver.minor===y.minor&&E.semver.patch===y.patch&&(y=!1),E.operator===\"<\"||E.operator===\"<=\"){if(f=Wit(i,E,r),f===E&&f!==i)return!1}else if(i.operator===\"<=\"&&!E.test(i.semver))return!1}if(!E.operator&&(i||o)&&c!==0)return!1}return!(o&&p&&!i&&c!==0||i&&h&&!o&&c!==0||w||y)},Zit=(e,t,r)=>{if(!e)return t;let n=Ane(e.semver,t.semver,r);return n>0?e:n<0||t.operator===\">\"&&e.operator===\">=\"?t:e},Wit=(e,t,r)=>{if(!e)return t;let n=Ane(e.semver,t.semver,r);return n<0?e:n>0||t.operator===\"<\"&&e.operator===\"<=\"?t:e};Jit.exports=_Ot});var tat=J((QMn,eat)=>{\"use strict\";u();var kne=mE(),Yit=pE(),kOt=$i(),Xit=une(),COt=L0(),TOt=_ot(),IOt=Aot(),POt=Tot(),ROt=Rot(),OOt=Bot(),BOt=Dot(),MOt=Uot(),DOt=zot(),NOt=gu(),UOt=Fot(),$Ot=qot(),zOt=uU(),LOt=Wot(),HOt=Qot(),jOt=aC(),FOt=lU(),VOt=fne(),qOt=pne(),GOt=dU(),KOt=fU(),ZOt=mne(),WOt=ait(),JOt=cit(),QOt=sC(),YOt=xu(),XOt=uC(),eBt=_it(),tBt=Ait(),rBt=Cit(),nBt=Pit(),oBt=Oit(),iBt=hU(),aBt=$it(),sBt=Lit(),cBt=Fit(),uBt=qit(),lBt=Qit();eat.exports={parse:COt,valid:TOt,clean:IOt,inc:POt,diff:ROt,major:OOt,minor:BOt,patch:MOt,prerelease:DOt,compare:NOt,rcompare:UOt,compareLoose:$Ot,compareBuild:zOt,sort:LOt,rsort:HOt,gt:jOt,lt:FOt,eq:VOt,neq:qOt,gte:GOt,lte:KOt,cmp:ZOt,coerce:WOt,truncate:JOt,Comparator:QOt,Range:YOt,satisfies:XOt,toComparators:eBt,maxSatisfying:tBt,minSatisfying:rBt,minVersion:nBt,validRange:oBt,outside:iBt,gtr:aBt,ltr:sBt,intersects:cBt,simplifyRange:uBt,subset:lBt,SemVer:kOt,re:kne.re,src:kne.src,tokens:kne.t,SEMVER_SPEC_VERSION:Yit.SEMVER_SPEC_VERSION,RELEASE_TYPES:Yit.RELEASE_TYPES,compareIdentifiers:Xit.compareIdentifiers,rcompareIdentifiers:Xit.rcompareIdentifiers}});var nat=J(Qn=>{\"use strict\";u();Object.defineProperty(Qn,\"__esModule\",{value:!0});Qn.satisfiesVersionRange=Qn.gtRange=Qn.gtVersion=Qn.assertIsSemVerRange=Qn.assertIsSemVerVersion=Qn.isValidSemVerRange=Qn.isValidSemVerVersion=Qn.VersionRangeStruct=Qn.VersionStruct=void 0;var lC=tat(),hE=(U0(),Fr(N0)),rat=Qp();Qn.VersionStruct=(0,hE.refine)((0,hE.string)(),\"Version\",e=>(0,lC.valid)(e)===null?`Expected SemVer version, got \"${e}\"`:!0);Qn.VersionRangeStruct=(0,hE.refine)((0,hE.string)(),\"Version range\",e=>(0,lC.validRange)(e)===null?`Expected SemVer range, got \"${e}\"`:!0);function dBt(e){return(0,hE.is)(e,Qn.VersionStruct)}Qn.isValidSemVerVersion=dBt;function fBt(e){return(0,hE.is)(e,Qn.VersionRangeStruct)}Qn.isValidSemVerRange=fBt;function pBt(e){(0,rat.assertStruct)(e,Qn.VersionStruct)}Qn.assertIsSemVerVersion=pBt;function mBt(e){(0,rat.assertStruct)(e,Qn.VersionRangeStruct)}Qn.assertIsSemVerRange=mBt;function hBt(e,t){return(0,lC.gt)(e,t)}Qn.gtVersion=hBt;function yBt(e,t){return(0,lC.gtr)(e,t)}Qn.gtRange=yBt;function bBt(e,t){return(0,lC.satisfies)(e,t,{includePrerelease:!0})}Qn.satisfiesVersionRange=bBt});var oat=J(so=>{\"use strict\";u();var gBt=so&&so.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||(\"get\"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Li=so&&so.__exportStar||function(e,t){for(var r in e)r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r)&&gBt(t,e,r)};Object.defineProperty(so,\"__esModule\",{value:!0});Li(Qp(),so);Li(nne(),so);Li(ane(),so);Li(znt(),so);Li(jnt(),so);Li(Vnt(),so);Li(Gnt(),so);Li(tC(),so);Li(Knt(),so);Li(Wnt(),so);Li(tot(),so);Li(not(),so);Li(oot(),so);Li(aot(),so);Li(cot(),so);Li(lot(),so);Li(nat(),so)});var aat=J(yE=>{\"use strict\";u();Object.defineProperty(yE,\"__esModule\",{value:!0});yE.createModuleLogger=yE.projectLogger=void 0;var iat=oat();Object.defineProperty(yE,\"createModuleLogger\",{enumerable:!0,get:function(){return iat.createModuleLogger}});yE.projectLogger=(0,iat.createProjectLogger)(\"eth-block-tracker\")});var dat=J(bE=>{\"use strict\";u();var lat=bE&&bE.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bE,\"__esModule\",{value:!0});bE.PollingBlockTracker=void 0;var xBt=lat(WN()),vBt=lat(pnt()),wBt=Qre(),sat=aat(),cat=(0,sat.createModuleLogger)(sat.projectLogger,\"polling-block-tracker\"),EBt=(0,xBt.default)(),_Bt=1e3,Cne=class extends wBt.BaseBlockTracker{constructor(t={}){var r;if(!t.provider)throw new Error(\"PollingBlockTracker - no provider specified.\");super(Object.assign(Object.assign({},t),{blockResetDuration:(r=t.blockResetDuration)!==null&&r!==void 0?r:t.pollingInterval})),this._provider=t.provider,this._pollingInterval=t.pollingInterval||20*_Bt,this._retryTimeout=t.retryTimeout||this._pollingInterval/10,this._keepEventLoopActive=t.keepEventLoopActive===void 0?!0:t.keepEventLoopActive,this._setSkipCacheFlag=t.setSkipCacheFlag||!1}async checkForLatestBlock(){return await this._updateLatestBlock(),await this.getLatestBlock()}async _start(){this._synchronize()}async _end(){}async _synchronize(){for(var t;this._isRunning;)try{await this._updateLatestBlock();let r=uat(this._pollingInterval,!this._keepEventLoopActive);this.emit(\"_waitingForNextIteration\"),await r}catch(r){let n=new Error(`PollingBlockTracker - encountered an error while attempting to update latest block:\\n${(t=r.stack)!==null&&t!==void 0?t:r}`);try{this.emit(\"error\",n)}catch{console.error(n)}let o=uat(this._retryTimeout,!this._keepEventLoopActive);this.emit(\"_waitingForNextIteration\"),await o}}async _updateLatestBlock(){let t=await this._fetchLatestBlock();this._newPotentialLatest(t)}async _fetchLatestBlock(){let t={jsonrpc:\"2.0\",id:EBt(),method:\"eth_blockNumber\",params:[]};this._setSkipCacheFlag&&(t.skipCache=!0),cat(\"Making request\",t);let r=await(0,vBt.default)(n=>this._provider.sendAsync(t,n))();if(cat(\"Got response\",r),r.error)throw new Error(`PollingBlockTracker - encountered error fetching block:\\n${r.error.message}`);return r.result}};bE.PollingBlockTracker=Cne;function uat(e,t){return new Promise(r=>{let n=setTimeout(r,e);n.unref&&t&&n.unref()})}});var fat=J(gE=>{\"use strict\";u();var SBt=gE&&gE.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(gE,\"__esModule\",{value:!0});gE.SubscribeBlockTracker=void 0;var ABt=SBt(WN()),kBt=Qre(),CBt=(0,ABt.default)(),Tne=class extends kBt.BaseBlockTracker{constructor(t={}){if(!t.provider)throw new Error(\"SubscribeBlockTracker - no provider specified.\");super(t),this._provider=t.provider,this._subscriptionId=null}async checkForLatestBlock(){return await this.getLatestBlock()}async _start(){if(this._subscriptionId===void 0||this._subscriptionId===null)try{let t=await this._call(\"eth_blockNumber\");this._subscriptionId=await this._call(\"eth_subscribe\",\"newHeads\"),this._provider.on(\"data\",this._handleSubData.bind(this)),this._newPotentialLatest(t)}catch(t){this.emit(\"error\",t)}}async _end(){if(this._subscriptionId!==null&&this._subscriptionId!==void 0)try{await this._call(\"eth_unsubscribe\",this._subscriptionId),this._subscriptionId=null}catch(t){this.emit(\"error\",t)}}_call(t,...r){return new Promise((n,o)=>{this._provider.sendAsync({id:CBt(),method:t,params:r,jsonrpc:\"2.0\"},(i,c)=>{i?o(i):n(c.result)})})}_handleSubData(t,r){var n;r.method===\"eth_subscription\"&&((n=r.params)===null||n===void 0?void 0:n.subscription)===this._subscriptionId&&this._newPotentialLatest(r.params.result.number)}};gE.SubscribeBlockTracker=Tne});var mat=J(H0=>{\"use strict\";u();var TBt=H0&&H0.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),pat=H0&&H0.__exportStar||function(e,t){for(var r in e)r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r)&&TBt(t,e,r)};Object.defineProperty(H0,\"__esModule\",{value:!0});pat(dat(),H0);pat(fat(),H0)});var Pne=J(yU=>{\"use strict\";u();Object.defineProperty(yU,\"__esModule\",{value:!0});yU.getUniqueId=void 0;var hat=4294967295,Ine=Math.floor(Math.random()*hat);function IBt(){return Ine=(Ine+1)%hat,Ine}yU.getUniqueId=IBt});var yat=J(bU=>{\"use strict\";u();Object.defineProperty(bU,\"__esModule\",{value:!0});bU.createIdRemapMiddleware=void 0;var PBt=Pne();function RBt(){return(e,t,r,n)=>{let o=e.id,i=PBt.getUniqueId();e.id=i,t.id=i,r(c=>{e.id=o,t.id=o,c()})}}bU.createIdRemapMiddleware=RBt});var bat=J(gU=>{\"use strict\";u();Object.defineProperty(gU,\"__esModule\",{value:!0});gU.createAsyncMiddleware=void 0;function OBt(e){return async(t,r,n,o)=>{let i,c=new Promise(h=>{i=h}),l=null,f=!1,p=async()=>{f=!0,n(h=>{l=h,i()}),await c};try{await e(t,r,p),f?(await c,l(null)):o(null)}catch(h){l?l(h):o(h)}}}gU.createAsyncMiddleware=OBt});var gat=J(xU=>{\"use strict\";u();Object.defineProperty(xU,\"__esModule\",{value:!0});xU.createScaffoldMiddleware=void 0;function BBt(e){return(t,r,n,o)=>{let i=e[t.method];return i===void 0?n():typeof i==\"function\"?i(t,r,n,o):(r.result=i,o())}}xU.createScaffoldMiddleware=BBt});var vat=J(One=>{\"use strict\";u();Object.defineProperty(One,\"__esModule\",{value:!0});var MBt=F3();function xat(e,t,r){try{Reflect.apply(e,t,r)}catch(n){setTimeout(()=>{throw n})}}function DBt(e){let t=e.length,r=new Array(t);for(let n=0;n<t;n+=1)r[n]=e[n];return r}var Rne=class extends MBt.EventEmitter{emit(t,...r){let n=t===\"error\",o=this._events;if(o!==void 0)n=n&&o.error===void 0;else if(!n)return!1;if(n){let c;if(r.length>0&&([c]=r),c instanceof Error)throw c;let l=new Error(`Unhandled error.${c?` (${c.message})`:\"\"}`);throw l.context=c,l}let i=o[t];if(i===void 0)return!1;if(typeof i==\"function\")xat(i,this,r);else{let c=i.length,l=DBt(i);for(let f=0;f<c;f+=1)xat(l[f],this,r)}return!0}};One.default=Rne});var kat=J((wDn,Aat)=>{u();Aat.exports=dC;dC.default=dC;dC.stable=_at;dC.stableStringify=_at;var vU=\"[...]\",wat=\"[Circular]\",s1=[],a1=[];function Eat(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function dC(e,t,r,n){typeof n>\"u\"&&(n=Eat()),Bne(e,\"\",0,[],void 0,0,n);var o;try{a1.length===0?o=JSON.stringify(e,t,r):o=JSON.stringify(e,Sat(t),r)}catch{return JSON.stringify(\"[unable to serialize, circular reference is too complex to analyze]\")}finally{for(;s1.length!==0;){var i=s1.pop();i.length===4?Object.defineProperty(i[0],i[1],i[3]):i[0][i[1]]=i[2]}}return o}function xE(e,t,r,n){var o=Object.getOwnPropertyDescriptor(n,r);o.get!==void 0?o.configurable?(Object.defineProperty(n,r,{value:e}),s1.push([n,r,t,o])):a1.push([t,r,e]):(n[r]=e,s1.push([n,r,t]))}function Bne(e,t,r,n,o,i,c){i+=1;var l;if(typeof e==\"object\"&&e!==null){for(l=0;l<n.length;l++)if(n[l]===e){xE(wat,e,t,o);return}if(typeof c.depthLimit<\"u\"&&i>c.depthLimit){xE(vU,e,t,o);return}if(typeof c.edgesLimit<\"u\"&&r+1>c.edgesLimit){xE(vU,e,t,o);return}if(n.push(e),Array.isArray(e))for(l=0;l<e.length;l++)Bne(e[l],l,l,n,e,i,c);else{var f=Object.keys(e);for(l=0;l<f.length;l++){var p=f[l];Bne(e[p],p,l,n,e,i,c)}}n.pop()}}function NBt(e,t){return e<t?-1:e>t?1:0}function _at(e,t,r,n){typeof n>\"u\"&&(n=Eat());var o=Mne(e,\"\",0,[],void 0,0,n)||e,i;try{a1.length===0?i=JSON.stringify(o,t,r):i=JSON.stringify(o,Sat(t),r)}catch{return JSON.stringify(\"[unable to serialize, circular reference is too complex to analyze]\")}finally{for(;s1.length!==0;){var c=s1.pop();c.length===4?Object.defineProperty(c[0],c[1],c[3]):c[0][c[1]]=c[2]}}return i}function Mne(e,t,r,n,o,i,c){i+=1;var l;if(typeof e==\"object\"&&e!==null){for(l=0;l<n.length;l++)if(n[l]===e){xE(wat,e,t,o);return}try{if(typeof e.toJSON==\"function\")return}catch{return}if(typeof c.depthLimit<\"u\"&&i>c.depthLimit){xE(vU,e,t,o);return}if(typeof c.edgesLimit<\"u\"&&r+1>c.edgesLimit){xE(vU,e,t,o);return}if(n.push(e),Array.isArray(e))for(l=0;l<e.length;l++)Mne(e[l],l,l,n,e,i,c);else{var f={},p=Object.keys(e).sort(NBt);for(l=0;l<p.length;l++){var h=p[l];Mne(e[h],h,l,n,e,i,c),f[h]=e[h]}if(typeof o<\"u\")s1.push([o,t,e]),o[t]=f;else return f}n.pop()}}function Sat(e){return e=typeof e<\"u\"?e:function(t,r){return r},function(t,r){if(a1.length>0)for(var n=0;n<a1.length;n++){var o=a1[n];if(o[1]===t&&o[0]===r){r=o[2],a1.splice(n,1);break}}return e.call(this,t,r)}}});var EU=J(vE=>{\"use strict\";u();Object.defineProperty(vE,\"__esModule\",{value:!0});vE.EthereumProviderError=vE.EthereumRpcError=void 0;var UBt=kat(),wU=class extends Error{constructor(t,r,n){if(!Number.isInteger(t))throw new Error(\\'\"code\" must be an integer.\\');if(!r||typeof r!=\"string\")throw new Error(\\'\"message\" must be a nonempty string.\\');super(r),this.code=t,n!==void 0&&(this.data=n)}serialize(){let t={code:this.code,message:this.message};return this.data!==void 0&&(t.data=this.data),this.stack&&(t.stack=this.stack),t}toString(){return UBt.default(this.serialize(),zBt,2)}};vE.EthereumRpcError=wU;var Dne=class extends wU{constructor(t,r,n){if(!$Bt(t))throw new Error(\\'\"code\" must be an integer such that: 1000 <= code <= 4999\\');super(t,r,n)}};vE.EthereumProviderError=Dne;function $Bt(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}function zBt(e,t){if(t!==\"[Circular]\")return t}});var _U=J(wE=>{\"use strict\";u();Object.defineProperty(wE,\"__esModule\",{value:!0});wE.errorValues=wE.errorCodes=void 0;wE.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}};wE.errorValues={\"-32700\":{standard:\"JSON RPC 2.0\",message:\"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.\"},\"-32600\":{standard:\"JSON RPC 2.0\",message:\"The JSON sent is not a valid Request object.\"},\"-32601\":{standard:\"JSON RPC 2.0\",message:\"The method does not exist / is not available.\"},\"-32602\":{standard:\"JSON RPC 2.0\",message:\"Invalid method parameter(s).\"},\"-32603\":{standard:\"JSON RPC 2.0\",message:\"Internal JSON-RPC error.\"},\"-32000\":{standard:\"EIP-1474\",message:\"Invalid input.\"},\"-32001\":{standard:\"EIP-1474\",message:\"Resource not found.\"},\"-32002\":{standard:\"EIP-1474\",message:\"Resource unavailable.\"},\"-32003\":{standard:\"EIP-1474\",message:\"Transaction rejected.\"},\"-32004\":{standard:\"EIP-1474\",message:\"Method not supported.\"},\"-32005\":{standard:\"EIP-1474\",message:\"Request limit exceeded.\"},4001:{standard:\"EIP-1193\",message:\"User rejected the request.\"},4100:{standard:\"EIP-1193\",message:\"The requested account and/or method has not been authorized by the user.\"},4200:{standard:\"EIP-1193\",message:\"The requested method is not supported by this Ethereum provider.\"},4900:{standard:\"EIP-1193\",message:\"The provider is disconnected from all chains.\"},4901:{standard:\"EIP-1193\",message:\"The provider is disconnected from the specified chain.\"}}});var $ne=J(bl=>{\"use strict\";u();Object.defineProperty(bl,\"__esModule\",{value:!0});bl.serializeError=bl.isValidCode=bl.getMessageFromCode=bl.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;var SU=_U(),LBt=EU(),Cat=SU.errorCodes.rpc.internal,HBt=\"Unspecified error message. This is a bug, please report it.\",jBt={code:Cat,message:Une(Cat)};bl.JSON_RPC_SERVER_ERROR_MESSAGE=\"Unspecified server error.\";function Une(e,t=HBt){if(Number.isInteger(e)){let r=e.toString();if(Nne(SU.errorValues,r))return SU.errorValues[r].message;if(Pat(e))return bl.JSON_RPC_SERVER_ERROR_MESSAGE}return t}bl.getMessageFromCode=Une;function Iat(e){if(!Number.isInteger(e))return!1;let t=e.toString();return!!(SU.errorValues[t]||Pat(e))}bl.isValidCode=Iat;function FBt(e,{fallbackError:t=jBt,shouldIncludeStack:r=!1}={}){var n,o;if(!t||!Number.isInteger(t.code)||typeof t.message!=\"string\")throw new Error(\"Must provide fallback error with integer number code and string message.\");if(e instanceof LBt.EthereumRpcError)return e.serialize();let i={};if(e&&typeof e==\"object\"&&!Array.isArray(e)&&Nne(e,\"code\")&&Iat(e.code)){let l=e;i.code=l.code,l.message&&typeof l.message==\"string\"?(i.message=l.message,Nne(l,\"data\")&&(i.data=l.data)):(i.message=Une(i.code),i.data={originalError:Tat(e)})}else{i.code=t.code;let l=(n=e)===null||n===void 0?void 0:n.message;i.message=l&&typeof l==\"string\"?l:t.message,i.data={originalError:Tat(e)}}let c=(o=e)===null||o===void 0?void 0:o.stack;return r&&e&&c&&typeof c==\"string\"&&(i.stack=c),i}bl.serializeError=FBt;function Pat(e){return e>=-32099&&e<=-32e3}function Tat(e){return e&&typeof e==\"object\"&&!Array.isArray(e)?Object.assign({},e):e}function Nne(e,t){return Object.prototype.hasOwnProperty.call(e,t)}});var Bat=J(AU=>{\"use strict\";u();Object.defineProperty(AU,\"__esModule\",{value:!0});AU.ethErrors=void 0;var zne=EU(),Rat=$ne(),aa=_U();AU.ethErrors={rpc:{parse:e=>vu(aa.errorCodes.rpc.parse,e),invalidRequest:e=>vu(aa.errorCodes.rpc.invalidRequest,e),invalidParams:e=>vu(aa.errorCodes.rpc.invalidParams,e),methodNotFound:e=>vu(aa.errorCodes.rpc.methodNotFound,e),internal:e=>vu(aa.errorCodes.rpc.internal,e),server:e=>{if(!e||typeof e!=\"object\"||Array.isArray(e))throw new Error(\"Ethereum RPC Server errors must provide single object argument.\");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error(\\'\"code\" must be an integer such that: -32099 <= code <= -32005\\');return vu(t,e)},invalidInput:e=>vu(aa.errorCodes.rpc.invalidInput,e),resourceNotFound:e=>vu(aa.errorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>vu(aa.errorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>vu(aa.errorCodes.rpc.transactionRejected,e),methodNotSupported:e=>vu(aa.errorCodes.rpc.methodNotSupported,e),limitExceeded:e=>vu(aa.errorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>fC(aa.errorCodes.provider.userRejectedRequest,e),unauthorized:e=>fC(aa.errorCodes.provider.unauthorized,e),unsupportedMethod:e=>fC(aa.errorCodes.provider.unsupportedMethod,e),disconnected:e=>fC(aa.errorCodes.provider.disconnected,e),chainDisconnected:e=>fC(aa.errorCodes.provider.chainDisconnected,e),custom:e=>{if(!e||typeof e!=\"object\"||Array.isArray(e))throw new Error(\"Ethereum Provider custom errors must provide single object argument.\");let{code:t,message:r,data:n}=e;if(!r||typeof r!=\"string\")throw new Error(\\'\"message\" must be a nonempty string\\');return new zne.EthereumProviderError(t,r,n)}}};function vu(e,t){let[r,n]=Oat(t);return new zne.EthereumRpcError(e,r||Rat.getMessageFromCode(e),n)}function fC(e,t){let[r,n]=Oat(t);return new zne.EthereumProviderError(e,r||Rat.getMessageFromCode(e),n)}function Oat(e){if(e){if(typeof e==\"string\")return[e];if(typeof e==\"object\"&&!Array.isArray(e)){let{message:t,data:r}=e;if(t&&typeof t!=\"string\")throw new Error(\"Must specify string message.\");return[t||void 0,r]}}return[]}});var Nat=J(Ds=>{\"use strict\";u();Object.defineProperty(Ds,\"__esModule\",{value:!0});Ds.getMessageFromCode=Ds.serializeError=Ds.EthereumProviderError=Ds.EthereumRpcError=Ds.ethErrors=Ds.errorCodes=void 0;var Mat=EU();Object.defineProperty(Ds,\"EthereumRpcError\",{enumerable:!0,get:function(){return Mat.EthereumRpcError}});Object.defineProperty(Ds,\"EthereumProviderError\",{enumerable:!0,get:function(){return Mat.EthereumProviderError}});var Dat=$ne();Object.defineProperty(Ds,\"serializeError\",{enumerable:!0,get:function(){return Dat.serializeError}});Object.defineProperty(Ds,\"getMessageFromCode\",{enumerable:!0,get:function(){return Dat.getMessageFromCode}});var VBt=Bat();Object.defineProperty(Ds,\"ethErrors\",{enumerable:!0,get:function(){return VBt.ethErrors}});var qBt=_U();Object.defineProperty(Ds,\"errorCodes\",{enumerable:!0,get:function(){return qBt.errorCodes}})});var jne=J(EE=>{\"use strict\";u();var GBt=EE&&EE.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(EE,\"__esModule\",{value:!0});EE.JsonRpcEngine=void 0;var KBt=GBt(vat()),wu=Nat(),Hne=class e extends KBt.default{constructor(){super(),this._middleware=[]}push(t){this._middleware.push(t)}handle(t,r){if(r&&typeof r!=\"function\")throw new Error(\\'\"callback\" must be a function if provided.\\');return Array.isArray(t)?r?this._handleBatch(t,r):this._handleBatch(t):r?this._handle(t,r):this._promiseHandle(t)}asMiddleware(){return async(t,r,n,o)=>{try{let[i,c,l]=await e._runAllMiddleware(t,r,this._middleware);return c?(await e._runReturnHandlers(l),o(i)):n(async f=>{try{await e._runReturnHandlers(l)}catch(p){return f(p)}return f()})}catch(i){return o(i)}}}async _handleBatch(t,r){try{let n=await Promise.all(t.map(this._promiseHandle.bind(this)));return r?r(null,n):n}catch(n){if(r)return r(n);throw n}}_promiseHandle(t){return new Promise(r=>{this._handle(t,(n,o)=>{r(o)})})}async _handle(t,r){if(!t||Array.isArray(t)||typeof t!=\"object\"){let c=new wu.EthereumRpcError(wu.errorCodes.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof t}`,{request:t});return r(c,{id:void 0,jsonrpc:\"2.0\",error:c})}if(typeof t.method!=\"string\"){let c=new wu.EthereumRpcError(wu.errorCodes.rpc.invalidRequest,`Must specify a string method. Received: ${typeof t.method}`,{request:t});return r(c,{id:t.id,jsonrpc:\"2.0\",error:c})}let n=Object.assign({},t),o={id:n.id,jsonrpc:n.jsonrpc},i=null;try{await this._processRequest(n,o)}catch(c){i=c}return i&&(delete o.result,o.error||(o.error=wu.serializeError(i))),r(i,o)}async _processRequest(t,r){let[n,o,i]=await e._runAllMiddleware(t,r,this._middleware);if(e._checkForCompletion(t,r,o),await e._runReturnHandlers(i),n)throw n}static async _runAllMiddleware(t,r,n){let o=[],i=null,c=!1;for(let l of n)if([i,c]=await e._runMiddleware(t,r,l,o),c)break;return[i,c,o.reverse()]}static _runMiddleware(t,r,n,o){return new Promise(i=>{let c=f=>{let p=f||r.error;p&&(r.error=wu.serializeError(p)),i([p,!0])},l=f=>{r.error?c(r.error):(f&&(typeof f!=\"function\"&&c(new wu.EthereumRpcError(wu.errorCodes.rpc.internal,`JsonRpcEngine: \"next\" return handlers must be functions. Received \"${typeof f}\" for request:\\n${Lne(t)}`,{request:t})),o.push(f)),i([null,!1]))};try{n(t,r,l,c)}catch(f){c(f)}})}static async _runReturnHandlers(t){for(let r of t)await new Promise((n,o)=>{r(i=>i?o(i):n())})}static _checkForCompletion(t,r,n){if(!(\"result\"in r)&&!(\"error\"in r))throw new wu.EthereumRpcError(wu.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request:\\n${Lne(t)}`,{request:t});if(!n)throw new wu.EthereumRpcError(wu.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request:\\n${Lne(t)}`,{request:t})}};EE.JsonRpcEngine=Hne;function Lne(e){return JSON.stringify(e,null,2)}});var Uat=J(kU=>{\"use strict\";u();Object.defineProperty(kU,\"__esModule\",{value:!0});kU.mergeMiddleware=void 0;var ZBt=jne();function WBt(e){let t=new ZBt.JsonRpcEngine;return e.forEach(r=>t.push(r)),t.asMiddleware()}kU.mergeMiddleware=WBt});var Fne=J(Eu=>{\"use strict\";u();var JBt=Eu&&Eu.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),_E=Eu&&Eu.__exportStar||function(e,t){for(var r in e)r!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,r)&&JBt(t,e,r)};Object.defineProperty(Eu,\"__esModule\",{value:!0});_E(yat(),Eu);_E(bat(),Eu);_E(gat(),Eu);_E(Pne(),Eu);_E(jne(),Eu);_E(Uat(),Eu)});var PU=J((zDn,IU)=>{u();var $at,zat,Lat,Hat,jat,Fat,Vat,qat,Gat,Kat,Zat,Wat,Jat,CU,Vne,Qat,Yat,Xat,SE,est,tst,rst,nst,ost,ist,ast,sst,cst,TU,ust,lst,dst;(function(e){var t=typeof globalThis==\"object\"?globalThis:typeof self==\"object\"?self:typeof this==\"object\"?this:{};typeof define==\"function\"&&define.amd?define(\"tslib\",[\"exports\"],function(n){e(r(t,r(n)))}):typeof IU==\"object\"&&typeof IU.exports==\"object\"?e(r(t,r(IU.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create==\"function\"?Object.defineProperty(n,\"__esModule\",{value:!0}):n.__esModule=!0),function(i,c){return n[i]=o?o(i,c):c}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(i[l]=c[l])};$at=function(i,c){if(typeof c!=\"function\"&&c!==null)throw new TypeError(\"Class extends value \"+String(c)+\" is not a constructor or null\");t(i,c);function l(){this.constructor=i}i.prototype=c===null?Object.create(c):(l.prototype=c.prototype,new l)},zat=Object.assign||function(i){for(var c,l=1,f=arguments.length;l<f;l++){c=arguments[l];for(var p in c)Object.prototype.hasOwnProperty.call(c,p)&&(i[p]=c[p])}return i},Lat=function(i,c){var l={};for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var p=0,f=Object.getOwnPropertySymbols(i);p<f.length;p++)c.indexOf(f[p])<0&&Object.prototype.propertyIsEnumerable.call(i,f[p])&&(l[f[p]]=i[f[p]]);return l},Hat=function(i,c,l,f){var p=arguments.length,h=p<3?c:f===null?f=Object.getOwnPropertyDescriptor(c,l):f,y;if(typeof Reflect==\"object\"&&typeof Reflect.decorate==\"function\")h=Reflect.decorate(i,c,l,f);else for(var w=i.length-1;w>=0;w--)(y=i[w])&&(h=(p<3?y(h):p>3?y(c,l,h):y(c,l))||h);return p>3&&h&&Object.defineProperty(c,l,h),h},jat=function(i,c){return function(l,f){c(l,f,i)}},Fat=function(i,c,l,f,p,h){function y(G){if(G!==void 0&&typeof G!=\"function\")throw new TypeError(\"Function expected\");return G}for(var w=f.kind,E=w===\"getter\"?\"get\":w===\"setter\"?\"set\":\"value\",A=!c&&i?f.static?i:i.prototype:null,C=c||(A?Object.getOwnPropertyDescriptor(A,f.name):{}),R,M=!1,D=l.length-1;D>=0;D--){var $={};for(var H in f)$[H]=H===\"access\"?{}:f[H];for(var H in f.access)$.access[H]=f.access[H];$.addInitializer=function(G){if(M)throw new TypeError(\"Cannot add initializers after decoration has completed\");h.push(y(G||null))};var V=(0,l[D])(w===\"accessor\"?{get:C.get,set:C.set}:C[E],$);if(w===\"accessor\"){if(V===void 0)continue;if(V===null||typeof V!=\"object\")throw new TypeError(\"Object expected\");(R=y(V.get))&&(C.get=R),(R=y(V.set))&&(C.set=R),(R=y(V.init))&&p.unshift(R)}else(R=y(V))&&(w===\"field\"?p.unshift(R):C[E]=R)}A&&Object.defineProperty(A,f.name,C),M=!0},Vat=function(i,c,l){for(var f=arguments.length>2,p=0;p<c.length;p++)l=f?c[p].call(i,l):c[p].call(i);return f?l:void 0},qat=function(i){return typeof i==\"symbol\"?i:\"\".concat(i)},Gat=function(i,c,l){return typeof c==\"symbol\"&&(c=c.description?\"[\".concat(c.description,\"]\"):\"\"),Object.defineProperty(i,\"name\",{configurable:!0,value:l?\"\".concat(l,\" \",c):c})},Kat=function(i,c){if(typeof Reflect==\"object\"&&typeof Reflect.metadata==\"function\")return Reflect.metadata(i,c)},Zat=function(i,c,l,f){function p(h){return h instanceof l?h:new l(function(y){y(h)})}return new(l||(l=Promise))(function(h,y){function w(C){try{A(f.next(C))}catch(R){y(R)}}function E(C){try{A(f.throw(C))}catch(R){y(R)}}function A(C){C.done?h(C.value):p(C.value).then(w,E)}A((f=f.apply(i,c||[])).next())})},Wat=function(i,c){var l={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},f,p,h,y=Object.create((typeof Iterator==\"function\"?Iterator:Object).prototype);return y.next=w(0),y.throw=w(1),y.return=w(2),typeof Symbol==\"function\"&&(y[Symbol.iterator]=function(){return this}),y;function w(A){return function(C){return E([A,C])}}function E(A){if(f)throw new TypeError(\"Generator is already executing.\");for(;y&&(y=0,A[0]&&(l=0)),l;)try{if(f=1,p&&(h=A[0]&2?p.return:A[0]?p.throw||((h=p.return)&&h.call(p),0):p.next)&&!(h=h.call(p,A[1])).done)return h;switch(p=0,h&&(A=[A[0]&2,h.value]),A[0]){case 0:case 1:h=A;break;case 4:return l.label++,{value:A[1],done:!1};case 5:l.label++,p=A[1],A=[0];continue;case 7:A=l.ops.pop(),l.trys.pop();continue;default:if(h=l.trys,!(h=h.length>0&&h[h.length-1])&&(A[0]===6||A[0]===2)){l=0;continue}if(A[0]===3&&(!h||A[1]>h[0]&&A[1]<h[3])){l.label=A[1];break}if(A[0]===6&&l.label<h[1]){l.label=h[1],h=A;break}if(h&&l.label<h[2]){l.label=h[2],l.ops.push(A);break}h[2]&&l.ops.pop(),l.trys.pop();continue}A=c.call(i,l)}catch(C){A=[6,C],p=0}finally{f=h=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}},Jat=function(i,c){for(var l in i)l!==\"default\"&&!Object.prototype.hasOwnProperty.call(c,l)&&TU(c,i,l)},TU=Object.create?(function(i,c,l,f){f===void 0&&(f=l);var p=Object.getOwnPropertyDescriptor(c,l);(!p||(\"get\"in p?!c.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return c[l]}}),Object.defineProperty(i,f,p)}):(function(i,c,l,f){f===void 0&&(f=l),i[f]=c[l]}),CU=function(i){var c=typeof Symbol==\"function\"&&Symbol.iterator,l=c&&i[c],f=0;if(l)return l.call(i);if(i&&typeof i.length==\"number\")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(c?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")},Vne=function(i,c){var l=typeof Symbol==\"function\"&&i[Symbol.iterator];if(!l)return i;var f=l.call(i),p,h=[],y;try{for(;(c===void 0||c-- >0)&&!(p=f.next()).done;)h.push(p.value)}catch(w){y={error:w}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(y)throw y.error}}return h},Qat=function(){for(var i=[],c=0;c<arguments.length;c++)i=i.concat(Vne(arguments[c]));return i},Yat=function(){for(var i=0,c=0,l=arguments.length;c<l;c++)i+=arguments[c].length;for(var f=Array(i),p=0,c=0;c<l;c++)for(var h=arguments[c],y=0,w=h.length;y<w;y++,p++)f[p]=h[y];return f},Xat=function(i,c,l){if(l||arguments.length===2)for(var f=0,p=c.length,h;f<p;f++)(h||!(f in c))&&(h||(h=Array.prototype.slice.call(c,0,f)),h[f]=c[f]);return i.concat(h||Array.prototype.slice.call(c))},SE=function(i){return this instanceof SE?(this.v=i,this):new SE(i)},est=function(i,c,l){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var f=l.apply(i,c||[]),p,h=[];return p=Object.create((typeof AsyncIterator==\"function\"?AsyncIterator:Object).prototype),w(\"next\"),w(\"throw\"),w(\"return\",y),p[Symbol.asyncIterator]=function(){return this},p;function y(D){return function($){return Promise.resolve($).then(D,R)}}function w(D,$){f[D]&&(p[D]=function(H){return new Promise(function(V,G){h.push([D,H,V,G])>1||E(D,H)})},$&&(p[D]=$(p[D])))}function E(D,$){try{A(f[D]($))}catch(H){M(h[0][3],H)}}function A(D){D.value instanceof SE?Promise.resolve(D.value.v).then(C,R):M(h[0][2],D)}function C(D){E(\"next\",D)}function R(D){E(\"throw\",D)}function M(D,$){D($),h.shift(),h.length&&E(h[0][0],h[0][1])}},tst=function(i){var c,l;return c={},f(\"next\"),f(\"throw\",function(p){throw p}),f(\"return\"),c[Symbol.iterator]=function(){return this},c;function f(p,h){c[p]=i[p]?function(y){return(l=!l)?{value:SE(i[p](y)),done:!1}:h?h(y):y}:h}},rst=function(i){if(!Symbol.asyncIterator)throw new TypeError(\"Symbol.asyncIterator is not defined.\");var c=i[Symbol.asyncIterator],l;return c?c.call(i):(i=typeof CU==\"function\"?CU(i):i[Symbol.iterator](),l={},f(\"next\"),f(\"throw\"),f(\"return\"),l[Symbol.asyncIterator]=function(){return this},l);function f(h){l[h]=i[h]&&function(y){return new Promise(function(w,E){y=i[h](y),p(w,E,y.done,y.value)})}}function p(h,y,w,E){Promise.resolve(E).then(function(A){h({value:A,done:w})},y)}},nst=function(i,c){return Object.defineProperty?Object.defineProperty(i,\"raw\",{value:c}):i.raw=c,i};var r=Object.create?(function(i,c){Object.defineProperty(i,\"default\",{enumerable:!0,value:c})}):function(i,c){i.default=c},n=function(i){return n=Object.getOwnPropertyNames||function(c){var l=[];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(l[l.length]=f);return l},n(i)};ost=function(i){if(i&&i.__esModule)return i;var c={};if(i!=null)for(var l=n(i),f=0;f<l.length;f++)l[f]!==\"default\"&&TU(c,i,l[f]);return r(c,i),c},ist=function(i){return i&&i.__esModule?i:{default:i}},ast=function(i,c,l,f){if(l===\"a\"&&!f)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof c==\"function\"?i!==c||!f:!c.has(i))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return l===\"m\"?f:l===\"a\"?f.call(i):f?f.value:c.get(i)},sst=function(i,c,l,f,p){if(f===\"m\")throw new TypeError(\"Private method is not writable\");if(f===\"a\"&&!p)throw new TypeError(\"Private accessor was defined without a setter\");if(typeof c==\"function\"?i!==c||!p:!c.has(i))throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");return f===\"a\"?p.call(i,l):p?p.value=l:c.set(i,l),l},cst=function(i,c){if(c===null||typeof c!=\"object\"&&typeof c!=\"function\")throw new TypeError(\"Cannot use \\'in\\' operator on non-object\");return typeof i==\"function\"?c===i:i.has(c)},ust=function(i,c,l){if(c!=null){if(typeof c!=\"object\"&&typeof c!=\"function\")throw new TypeError(\"Object expected.\");var f,p;if(l){if(!Symbol.asyncDispose)throw new TypeError(\"Symbol.asyncDispose is not defined.\");f=c[Symbol.asyncDispose]}if(f===void 0){if(!Symbol.dispose)throw new TypeError(\"Symbol.dispose is not defined.\");f=c[Symbol.dispose],l&&(p=f)}if(typeof f!=\"function\")throw new TypeError(\"Object not disposable.\");p&&(f=function(){try{p.call(this)}catch(h){return Promise.reject(h)}}),i.stack.push({value:c,dispose:f,async:l})}else l&&i.stack.push({async:!0});return c};var o=typeof SuppressedError==\"function\"?SuppressedError:function(i,c,l){var f=new Error(l);return f.name=\"SuppressedError\",f.error=i,f.suppressed=c,f};lst=function(i){function c(h){i.error=i.hasError?new o(h,i.error,\"An error was suppressed during disposal.\"):h,i.hasError=!0}var l,f=0;function p(){for(;l=i.stack.pop();)try{if(!l.async&&f===1)return f=0,i.stack.push(l),Promise.resolve().then(p);if(l.dispose){var h=l.dispose.call(l.value);if(l.async)return f|=2,Promise.resolve(h).then(p,function(y){return c(y),p()})}else f|=1}catch(y){c(y)}if(f===1)return i.hasError?Promise.reject(i.error):Promise.resolve();if(i.hasError)throw i.error}return p()},dst=function(i,c){return typeof i==\"string\"&&/^\\\\.\\\\.?\\\\//.test(i)?i.replace(/\\\\.(tsx)$|((?:\\\\.d)?)((?:\\\\.[^./]+?)?)\\\\.([cm]?)ts$/i,function(l,f,p,h,y){return f?c?\".jsx\":\".js\":p&&(!h||!y)?l:p+h+\".\"+y.toLowerCase()+\"js\"}):i},e(\"__extends\",$at),e(\"__assign\",zat),e(\"__rest\",Lat),e(\"__decorate\",Hat),e(\"__param\",jat),e(\"__esDecorate\",Fat),e(\"__runInitializers\",Vat),e(\"__propKey\",qat),e(\"__setFunctionName\",Gat),e(\"__metadata\",Kat),e(\"__awaiter\",Zat),e(\"__generator\",Wat),e(\"__exportStar\",Jat),e(\"__createBinding\",TU),e(\"__values\",CU),e(\"__read\",Vne),e(\"__spread\",Qat),e(\"__spreadArrays\",Yat),e(\"__spreadArray\",Xat),e(\"__await\",SE),e(\"__asyncGenerator\",est),e(\"__asyncDelegator\",tst),e(\"__asyncValues\",rst),e(\"__makeTemplateObject\",nst),e(\"__importStar\",ost),e(\"__importDefault\",ist),e(\"__classPrivateFieldGet\",ast),e(\"__classPrivateFieldSet\",sst),e(\"__classPrivateFieldIn\",cst),e(\"__addDisposableResource\",ust),e(\"__disposeResources\",lst),e(\"__rewriteRelativeImportExtension\",dst)})});var Gne=J(qne=>{\"use strict\";u();Object.defineProperty(qne,\"__esModule\",{value:!0});var fst=PU(),QBt=(function(){function e(t){if(this._maxConcurrency=t,this._queue=[],t<=0)throw new Error(\"semaphore must be initialized to a positive value\");this._value=t}return e.prototype.acquire=function(){var t=this,r=this.isLocked(),n=new Promise(function(o){return t._queue.push(o)});return r||this._dispatch(),n},e.prototype.runExclusive=function(t){return fst.__awaiter(this,void 0,void 0,function(){var r,n,o;return fst.__generator(this,function(i){switch(i.label){case 0:return[4,this.acquire()];case 1:r=i.sent(),n=r[0],o=r[1],i.label=2;case 2:return i.trys.push([2,,4,5]),[4,t(n)];case 3:return[2,i.sent()];case 4:return o(),[7];case 5:return[2]}})})},e.prototype.isLocked=function(){return this._value<=0},e.prototype.release=function(){if(this._maxConcurrency>1)throw new Error(\"this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead\");if(this._currentReleaser){var t=this._currentReleaser;this._currentReleaser=void 0,t()}},e.prototype._dispatch=function(){var t=this,r=this._queue.shift();if(r){var n=!1;this._currentReleaser=function(){n||(n=!0,t._value++,t._dispatch())},r([this._value--,this._currentReleaser])}},e})();qne.default=QBt});var mst=J(Kne=>{\"use strict\";u();Object.defineProperty(Kne,\"__esModule\",{value:!0});var pst=PU(),YBt=Gne(),XBt=(function(){function e(){this._semaphore=new YBt.default(1)}return e.prototype.acquire=function(){return pst.__awaiter(this,void 0,void 0,function(){var t,r;return pst.__generator(this,function(n){switch(n.label){case 0:return[4,this._semaphore.acquire()];case 1:return t=n.sent(),r=t[1],[2,r]}})})},e.prototype.runExclusive=function(t){return this._semaphore.runExclusive(function(){return t()})},e.prototype.isLocked=function(){return this._semaphore.isLocked()},e.prototype.release=function(){this._semaphore.release()},e})();Kne.default=XBt});var hst=J(OU=>{\"use strict\";u();Object.defineProperty(OU,\"__esModule\",{value:!0});OU.withTimeout=void 0;var RU=PU();function e9t(e,t,r){var n=this;return r===void 0&&(r=new Error(\"timeout\")),{acquire:function(){return new Promise(function(o,i){return RU.__awaiter(n,void 0,void 0,function(){var c,l,f;return RU.__generator(this,function(p){switch(p.label){case 0:return c=!1,setTimeout(function(){c=!0,i(r)},t),[4,e.acquire()];case 1:return l=p.sent(),c?(f=Array.isArray(l)?l[1]:l,f()):o(l),[2]}})})})},runExclusive:function(o){return RU.__awaiter(this,void 0,void 0,function(){var i,c;return RU.__generator(this,function(l){switch(l.label){case 0:i=function(){},l.label=1;case 1:return l.trys.push([1,,7,8]),[4,this.acquire()];case 2:return c=l.sent(),Array.isArray(c)?(i=c[1],[4,o(c[0])]):[3,4];case 3:return[2,l.sent()];case 4:return i=c,[4,o()];case 5:return[2,l.sent()];case 6:return[3,8];case 7:return i(),[7];case 8:return[2]}})})},release:function(){e.release()},isLocked:function(){return e.isLocked()}}}OU.withTimeout=e9t});var yst=J(j0=>{\"use strict\";u();Object.defineProperty(j0,\"__esModule\",{value:!0});j0.withTimeout=j0.Semaphore=j0.Mutex=void 0;var t9t=mst();Object.defineProperty(j0,\"Mutex\",{enumerable:!0,get:function(){return t9t.default}});var r9t=Gne();Object.defineProperty(j0,\"Semaphore\",{enumerable:!0,get:function(){return r9t.default}});var n9t=hst();Object.defineProperty(j0,\"withTimeout\",{enumerable:!0,get:function(){return n9t.withTimeout}})});var gst=J((WDn,bst)=>{u();bst.exports=i9t;var o9t=Object.prototype.hasOwnProperty;function i9t(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var n in r)o9t.call(r,n)&&(e[n]=r[n])}return e}});var vst=J((QDn,xst)=>{u();var a9t=gst(),s9t=WN()();xst.exports=Tt;function Tt(e){let t=this;t.currentProvider=e}Tt.prototype.getBalance=pC(2,\"eth_getBalance\");Tt.prototype.getCode=pC(2,\"eth_getCode\");Tt.prototype.getTransactionCount=pC(2,\"eth_getTransactionCount\");Tt.prototype.getStorageAt=pC(3,\"eth_getStorageAt\");Tt.prototype.call=pC(2,\"eth_call\");Tt.prototype.protocolVersion=ur(\"eth_protocolVersion\");Tt.prototype.syncing=ur(\"eth_syncing\");Tt.prototype.coinbase=ur(\"eth_coinbase\");Tt.prototype.mining=ur(\"eth_mining\");Tt.prototype.hashrate=ur(\"eth_hashrate\");Tt.prototype.gasPrice=ur(\"eth_gasPrice\");Tt.prototype.accounts=ur(\"eth_accounts\");Tt.prototype.blockNumber=ur(\"eth_blockNumber\");Tt.prototype.getBlockTransactionCountByHash=ur(\"eth_getBlockTransactionCountByHash\");Tt.prototype.getBlockTransactionCountByNumber=ur(\"eth_getBlockTransactionCountByNumber\");Tt.prototype.getUncleCountByBlockHash=ur(\"eth_getUncleCountByBlockHash\");Tt.prototype.getUncleCountByBlockNumber=ur(\"eth_getUncleCountByBlockNumber\");Tt.prototype.sign=ur(\"eth_sign\");Tt.prototype.sendTransaction=ur(\"eth_sendTransaction\");Tt.prototype.sendRawTransaction=ur(\"eth_sendRawTransaction\");Tt.prototype.estimateGas=ur(\"eth_estimateGas\");Tt.prototype.getBlockByHash=ur(\"eth_getBlockByHash\");Tt.prototype.getBlockByNumber=ur(\"eth_getBlockByNumber\");Tt.prototype.getTransactionByHash=ur(\"eth_getTransactionByHash\");Tt.prototype.getTransactionByBlockHashAndIndex=ur(\"eth_getTransactionByBlockHashAndIndex\");Tt.prototype.getTransactionByBlockNumberAndIndex=ur(\"eth_getTransactionByBlockNumberAndIndex\");Tt.prototype.getTransactionReceipt=ur(\"eth_getTransactionReceipt\");Tt.prototype.getUncleByBlockHashAndIndex=ur(\"eth_getUncleByBlockHashAndIndex\");Tt.prototype.getUncleByBlockNumberAndIndex=ur(\"eth_getUncleByBlockNumberAndIndex\");Tt.prototype.getCompilers=ur(\"eth_getCompilers\");Tt.prototype.compileLLL=ur(\"eth_compileLLL\");Tt.prototype.compileSolidity=ur(\"eth_compileSolidity\");Tt.prototype.compileSerpent=ur(\"eth_compileSerpent\");Tt.prototype.newFilter=ur(\"eth_newFilter\");Tt.prototype.newBlockFilter=ur(\"eth_newBlockFilter\");Tt.prototype.newPendingTransactionFilter=ur(\"eth_newPendingTransactionFilter\");Tt.prototype.uninstallFilter=ur(\"eth_uninstallFilter\");Tt.prototype.getFilterChanges=ur(\"eth_getFilterChanges\");Tt.prototype.getFilterLogs=ur(\"eth_getFilterLogs\");Tt.prototype.getLogs=ur(\"eth_getLogs\");Tt.prototype.getWork=ur(\"eth_getWork\");Tt.prototype.submitWork=ur(\"eth_submitWork\");Tt.prototype.submitHashrate=ur(\"eth_submitHashrate\");Tt.prototype.sendAsync=function(e,t){this.currentProvider.sendAsync(c9t(e),function(n,o){if(!n&&o.error&&(n=new Error(\"EthQuery - RPC Error - \"+o.error.message)),n)return t(n);t(null,o.result)})};function ur(e){return function(){let t=this;var r=[].slice.call(arguments),n=r.pop();t.sendAsync({method:e,params:r},n)}}function pC(e,t){return function(){let r=this;var n=[].slice.call(arguments),o=n.pop();n.length<e&&n.push(\"latest\"),r.sendAsync({method:t,params:n},o)}}function c9t(e){return a9t({id:s9t(),jsonrpc:\"2.0\",params:[]},e)}});var Sst=J((XDn,_st)=>{\"use strict\";u();var wst=(e,t,r,n)=>function(...o){let i=t.promiseModule;return new i((c,l)=>{t.multiArgs?o.push((...p)=>{t.errorFirst?p[0]?l(p):(p.shift(),c(p)):c(p)}):t.errorFirst?o.push((p,h)=>{p?l(p):c(h)}):o.push(c),Reflect.apply(e,this===r?n:this,o)})},Est=new WeakMap;_st.exports=(e,t)=>{t={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...t};let r=typeof e;if(!(e!==null&&(r===\"object\"||r===\"function\")))throw new TypeError(`Expected \\\\`input\\\\` to be a \\\\`Function\\\\` or \\\\`Object\\\\`, got \\\\`${e===null?\"null\":r}\\\\``);let n=(c,l)=>{let f=Est.get(c);if(f||(f={},Est.set(c,f)),l in f)return f[l];let p=A=>typeof A==\"string\"||typeof l==\"symbol\"?l===A:A.test(l),h=Reflect.getOwnPropertyDescriptor(c,l),y=h===void 0||h.writable||h.configurable,E=(t.include?t.include.some(p):!t.exclude.some(p))&&y;return f[l]=E,E},o=new WeakMap,i=new Proxy(e,{apply(c,l,f){let p=o.get(c);if(p)return Reflect.apply(p,l,f);let h=t.excludeMain?c:wst(c,t,i,c);return o.set(c,h),Reflect.apply(h,l,f)},get(c,l){let f=c[l];if(!n(c,l)||f===Function.prototype[l])return f;let p=o.get(f);if(p)return p;if(typeof f==\"function\"){let h=wst(f,t,i,c);return o.set(f,h),h}return f}});return i}});var BU=J((tNn,Ast)=>{u();var u9t=JN().default,Zne=class extends u9t{constructor(){super(),this.updates=[]}async initialize(){}async update(){throw new Error(\"BaseFilter - no update method specified\")}addResults(t){this.updates=this.updates.concat(t),t.forEach(r=>this.emit(\"update\",r))}addInitialResults(t){}getChangesAndClear(){let t=this.updates;return this.updates=[],t}};Ast.exports=Zne});var Cst=J((nNn,kst)=>{u();var l9t=BU(),Wne=class extends l9t{constructor(){super(),this.allResults=[]}async update(){throw new Error(\"BaseFilterWithHistory - no update method specified\")}addResults(t){this.allResults=this.allResults.concat(t),super.addResults(t)}addInitialResults(t){this.allResults=this.allResults.concat(t),super.addInitialResults(t)}getAllResults(){return this.allResults}};kst.exports=Wne});var AE=J((iNn,Pst)=>{u();Pst.exports={minBlockRef:d9t,maxBlockRef:f9t,sortBlockRefs:Jne,bnToHex:p9t,blockRefIsNumber:m9t,hexToInt:MU,incrementHexInt:h9t,intToHex:Ist,unsafeRandomBytes:y9t};function d9t(...e){return Jne(e)[0]}function f9t(...e){let t=Jne(e);return t[t.length-1]}function Jne(e){return e.sort((t,r)=>t===\"latest\"||r===\"earliest\"?1:r===\"latest\"||t===\"earliest\"?-1:MU(t)-MU(r))}function p9t(e){return\"0x\"+e.toString(16)}function m9t(e){return e&&![\"earliest\",\"latest\",\"pending\"].includes(e)}function MU(e){return e==null?e:Number.parseInt(e,16)}function h9t(e){if(e==null)return e;let t=MU(e);return Ist(t+1)}function Ist(e){if(e==null)return e;let t=e.toString(16);return t.length%2&&(t=\"0\"+t),\"0x\"+t}function y9t(e){let t=\"0x\";for(let r=0;r<e;r++)t+=Tst(),t+=Tst();return t}function Tst(){return Math.floor(Math.random()*16).toString(16)}});var Ost=J((cNn,Rst)=>{u();var b9t=vst(),g9t=Sst(),x9t=Cst(),{bnToHex:sNn,hexToInt:DU,incrementHexInt:v9t,minBlockRef:w9t,blockRefIsNumber:E9t}=AE(),Qne=class extends x9t{constructor({provider:t,params:r}){super(),this.type=\"log\",this.ethQuery=new b9t(t),this.params=Object.assign({fromBlock:\"latest\",toBlock:\"latest\",address:void 0,topics:[]},r),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map(n=>n.toLowerCase()))}async initialize({currentBlock:t}){let r=this.params.fromBlock;[\"latest\",\"pending\"].includes(r)&&(r=t),r===\"earliest\"&&(r=\"0x0\"),this.params.fromBlock=r;let n=w9t(this.params.toBlock,t),o=Object.assign({},this.params,{toBlock:n}),i=await this._fetchLogs(o);this.addInitialResults(i)}async update({oldBlock:t,newBlock:r}){let n=r,o;t?o=v9t(t):o=r;let i=Object.assign({},this.params,{fromBlock:o,toBlock:n}),l=(await this._fetchLogs(i)).filter(f=>this.matchLog(f));this.addResults(l)}async _fetchLogs(t){return await g9t(n=>this.ethQuery.getLogs(t,n))()}matchLog(t){if(DU(this.params.fromBlock)>=DU(t.blockNumber)||E9t(this.params.toBlock)&&DU(this.params.toBlock)<=DU(t.blockNumber))return!1;let r=t.address&&t.address.toLowerCase();return this.params.address&&r&&!this.params.address.includes(r)?!1:this.params.topics.every((o,i)=>{let c=t.topics[i];if(!c)return!1;c=c.toLowerCase();let l=Array.isArray(o)?o:[o];return l.includes(null)?!0:(l=l.map(h=>h.toLowerCase()),l.includes(c))})}};Rst.exports=Qne});var NU=J((lNn,Mst)=>{u();Mst.exports=_9t;async function _9t({provider:e,fromBlock:t,toBlock:r}){t||(t=r);let n=Bst(t),i=Bst(r)-n+1,c=Array(i).fill().map((f,p)=>n+p).map(S9t),l=await Promise.all(c.map(f=>k9t(e,\"eth_getBlockByNumber\",[f,!1])));return l=l.filter(f=>f!==null),l}function Bst(e){return e==null?e:Number.parseInt(e,16)}function S9t(e){return e==null?e:\"0x\"+e.toString(16)}function A9t(e,t){return new Promise((r,n)=>{e.sendAsync(t,(o,i)=>{o?n(o):i.error?n(i.error):i.result?r(i.result):n(new Error(\"Result was empty\"))})})}async function k9t(e,t,r){for(let n=0;n<3;n++)try{return await A9t(e,{id:1,jsonrpc:\"2.0\",method:t,params:r})}catch(o){console.error(`provider.sendAsync failed: ${o.stack||o.message||o}`)}return null}});var Nst=J((fNn,Dst)=>{u();var C9t=BU(),T9t=NU(),{incrementHexInt:I9t}=AE(),Yne=class extends C9t{constructor({provider:t,params:r}){super(),this.type=\"block\",this.provider=t}async update({oldBlock:t,newBlock:r}){let n=r,o=I9t(t),c=(await T9t({provider:this.provider,fromBlock:o,toBlock:n})).map(l=>l.hash);this.addResults(c)}};Dst.exports=Yne});var $st=J((mNn,Ust)=>{u();var P9t=BU(),R9t=NU(),{incrementHexInt:O9t}=AE(),Xne=class extends P9t{constructor({provider:t}){super(),this.type=\"tx\",this.provider=t}async update({oldBlock:t}){let r=t,n=O9t(t),o=await R9t({provider:this.provider,fromBlock:n,toBlock:r}),i=[];for(let c of o)i.push(...c.transactions);this.addResults(i)}};Ust.exports=Xne});var Hst=J((yNn,Lst)=>{u();var B9t=yst().Mutex,{createAsyncMiddleware:M9t,createScaffoldMiddleware:D9t}=Fne(),N9t=Ost(),U9t=Nst(),$9t=$st(),{intToHex:zst,hexToInt:eoe}=AE();Lst.exports=z9t;function z9t({blockTracker:e,provider:t}){let r=0,n={},o=new B9t,i=L9t({mutex:o}),c=D9t({eth_newFilter:i(toe(f)),eth_newBlockFilter:i(toe(p)),eth_newPendingTransactionFilter:i(toe(h)),eth_uninstallFilter:i(UU(E)),eth_getFilterChanges:i(UU(y)),eth_getFilterLogs:i(UU(w))}),l=async({oldBlock:D,newBlock:$})=>{if(n.length===0)return;let H=await o.acquire();try{await Promise.all(kE(n).map(async V=>{try{await V.update({oldBlock:D,newBlock:$})}catch(G){console.error(G)}}))}catch(V){console.error(V)}H()};return c.newLogFilter=f,c.newBlockFilter=p,c.newPendingTransactionFilter=h,c.uninstallFilter=E,c.getFilterChanges=y,c.getFilterLogs=w,c.destroy=()=>{R()},c;async function f(D){let $=new N9t({provider:t,params:D}),H=await A($);return $}async function p(){let D=new U9t({provider:t}),$=await A(D);return D}async function h(){let D=new $9t({provider:t}),$=await A(D);return D}async function y(D){let $=eoe(D),H=n[$];if(!H)throw new Error(`No filter for index \"${$}\"`);return H.getChangesAndClear()}async function w(D){let $=eoe(D),H=n[$];if(!H)throw new Error(`No filter for index \"${$}\"`);let V=[];return H.type===\"log\"&&(V=H.getAllResults()),V}async function E(D){let $=eoe(D),V=!!n[$];return V&&await C($),V}async function A(D){let $=kE(n).length,H=await e.getLatestBlock();await D.initialize({currentBlock:H}),r++,n[r]=D,D.id=r,D.idHex=zst(r);let V=kE(n).length;return M({prevFilterCount:$,newFilterCount:V}),r}async function C(D){let $=kE(n).length;delete n[D];let H=kE(n).length;M({prevFilterCount:$,newFilterCount:H})}async function R(){let D=kE(n).length;n={},M({prevFilterCount:D,newFilterCount:0})}function M({prevFilterCount:D,newFilterCount:$}){if(D===0&&$>0){e.on(\"sync\",l);return}if(D>0&&$===0){e.removeListener(\"sync\",l);return}}}function toe(e){return UU(async(...t)=>{let r=await e(...t);return zst(r.id)})}function UU(e){return M9t(async(t,r)=>{let n=await e.apply(null,t.params);r.result=n})}function L9t({mutex:e}){return t=>async(r,n,o,i)=>{(await e.acquire())(),t(r,n,o,i)}}function kE(e,t){let r=[];for(let n in e)r.push(e[n]);return r}});var Vst=J((gNn,Fst)=>{u();var H9t=JN().default,{createAsyncMiddleware:jst,createScaffoldMiddleware:j9t}=Fne(),F9t=Hst(),{unsafeRandomBytes:V9t,incrementHexInt:q9t}=AE(),G9t=NU();Fst.exports=K9t;function K9t({blockTracker:e,provider:t}){let r={},n=F9t({blockTracker:e,provider:t}),o=!1,i=new H9t,c=j9t({eth_subscribe:jst(l),eth_unsubscribe:jst(f)});return c.destroy=h,{events:i,middleware:c};async function l(y,w){if(o)throw new Error(\"SubscriptionManager - attempting to use after destroying\");let E=y.params[0],A=V9t(16),C;switch(E){case\"newHeads\":C=R({subId:A});break;case\"logs\":let D=y.params[1],$=await n.newLogFilter(D);C=M({subId:A,filter:$});break;default:throw new Error(`SubscriptionManager - unsupported subscription type \"${E}\"`)}r[A]=C,w.result=A;return;function R({subId:D}){let $={type:E,destroy:async()=>{e.removeListener(\"sync\",$.update)},update:async({oldBlock:H,newBlock:V})=>{let G=V,K=q9t(H);(await G9t({provider:t,fromBlock:K,toBlock:G})).map(Z9t).filter(Y=>Y!==null).forEach(Y=>{p(D,Y)})}};return e.on(\"sync\",$.update),$}function M({subId:D,filter:$}){return $.on(\"update\",V=>p(D,V)),{type:E,destroy:async()=>await n.uninstallFilter($.idHex)}}}async function f(y,w){if(o)throw new Error(\"SubscriptionManager - attempting to use after destroying\");let E=y.params[0],A=r[E];if(!A){w.result=!1;return}delete r[E],await A.destroy(),w.result=!0}function p(y,w){i.emit(\"notification\",{jsonrpc:\"2.0\",method:\"eth_subscription\",params:{subscription:y,result:w}})}function h(){i.removeAllListeners();for(let y in r)r[y].destroy(),delete r[y];o=!0}}function Z9t(e){return e==null?null:{hash:e.hash,parentHash:e.parentHash,sha3Uncles:e.sha3Uncles,miner:e.miner,stateRoot:e.stateRoot,transactionsRoot:e.transactionsRoot,receiptsRoot:e.receiptsRoot,logsBloom:e.logsBloom,difficulty:e.difficulty,number:e.number,gasLimit:e.gasLimit,gasUsed:e.gasUsed,nonce:e.nonce,mixHash:e.mixHash,timestamp:e.timestamp,extraData:e.extraData}}});var Gst=J($U=>{\"use strict\";u();Object.defineProperty($U,\"__esModule\",{value:!0});$U.SubscriptionManager=void 0;var W9t=mat(),J9t=Vst(),qst=()=>{},roe=class{constructor(t){let r=new W9t.PollingBlockTracker({provider:t,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:n,middleware:o}=J9t({blockTracker:r,provider:t});this.events=n,this.subscriptionMiddleware=o}async handleRequest(t){let r={};return await this.subscriptionMiddleware(t,r,qst,qst),r}destroy(){this.subscriptionMiddleware.destroy()}};$U.SubscriptionManager=roe});var LU=J(CE=>{\"use strict\";u();var Jst=CE&&CE.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(CE,\"__esModule\",{value:!0});CE.CoinbaseWalletProvider=void 0;var Q9t=Jst(g3()),Y9t=yQe(),Tr=v3(),er=Kd(),X9t=mre(),Kst=ND(),zU=rN(),bc=CD(),noe=Jst(ont()),mC=DD(),eMt=unt(),tMt=Gst(),Zst=\"DefaultChainId\",Wst=\"DefaultJsonRpcUrl\",ooe=class extends Y9t.EventEmitter{constructor(t){var r,n;super(),this._filterPolyfill=new eMt.FilterPolyfill(this),this._subscriptionManager=new tMt.SubscriptionManager(this),this._relay=null,this._addresses=[],this.hasMadeFirstChainChangedEmission=!1,this.setProviderInfo=this.setProviderInfo.bind(this),this.updateProviderInfo=this.updateProviderInfo.bind(this),this.getChainId=this.getChainId.bind(this),this.setAppInfo=this.setAppInfo.bind(this),this.enable=this.enable.bind(this),this.close=this.close.bind(this),this.send=this.send.bind(this),this.sendAsync=this.sendAsync.bind(this),this.request=this.request.bind(this),this._setAddresses=this._setAddresses.bind(this),this.scanQRCode=this.scanQRCode.bind(this),this.genericRequest=this.genericRequest.bind(this),this._chainIdFromOpts=t.chainId,this._jsonRpcUrlFromOpts=t.jsonRpcUrl,this._overrideIsMetaMask=t.overrideIsMetaMask,this._relayProvider=t.relayProvider,this._storage=t.storage,this._relayEventManager=t.relayEventManager,this.diagnostic=t.diagnosticLogger,this.reloadOnDisconnect=!0,this.isCoinbaseWallet=(r=t.overrideIsCoinbaseWallet)!==null&&r!==void 0?r:!0,this.isCoinbaseBrowser=(n=t.overrideIsCoinbaseBrowser)!==null&&n!==void 0?n:!1,this.qrUrl=t.qrUrl;let o=this.getChainId(),i=(0,er.prepend0x)(o.toString(16));this.emit(\"connect\",{chainIdStr:i});let c=this._storage.getItem(Kst.LOCAL_STORAGE_ADDRESSES_KEY);if(c){let l=c.split(\" \");l[0]!==\"\"&&(this._addresses=l.map(f=>(0,er.ensureAddressString)(f)),this.emit(\"accountsChanged\",l))}this._subscriptionManager.events.on(\"notification\",l=>{this.emit(\"message\",{type:l.method,data:l.params})}),this._isAuthorized()&&this.initializeRelay(),window.addEventListener(\"message\",l=>{var f;if(!(l.origin!==location.origin||l.source!==window)&&l.data.type===\"walletLinkMessage\"&&l.data.data.action===\"dappChainSwitched\"){let p=l.data.data.chainId,h=(f=l.data.data.jsonRpcUrl)!==null&&f!==void 0?f:this.jsonRpcUrl;this.updateProviderInfo(h,Number(p))}})}get selectedAddress(){return this._addresses[0]||void 0}get networkVersion(){return this.getChainId().toString(10)}get chainId(){return(0,er.prepend0x)(this.getChainId().toString(16))}get isWalletLink(){return!0}get isMetaMask(){return this._overrideIsMetaMask}get host(){return this.jsonRpcUrl}get connected(){return!0}isConnected(){return!0}get jsonRpcUrl(){var t;return(t=this._storage.getItem(Wst))!==null&&t!==void 0?t:this._jsonRpcUrlFromOpts}set jsonRpcUrl(t){this._storage.setItem(Wst,t)}disableReloadOnDisconnect(){this.reloadOnDisconnect=!1}setProviderInfo(t,r){this.isCoinbaseBrowser||(this._chainIdFromOpts=r,this._jsonRpcUrlFromOpts=t),this.updateProviderInfo(this.jsonRpcUrl,this.getChainId())}updateProviderInfo(t,r){this.jsonRpcUrl=t;let n=this.getChainId();this._storage.setItem(Zst,r.toString(10)),((0,er.ensureIntNumber)(r)!==n||!this.hasMadeFirstChainChangedEmission)&&(this.emit(\"chainChanged\",this.getChainId()),this.hasMadeFirstChainChangedEmission=!0)}async watchAsset(t,r,n,o,i,c){let f=await(await this.initializeRelay()).watchAsset(t,r,n,o,i,c?.toString()).promise;return(0,bc.isErrorResponse)(f)?!1:!!f.result}async addEthereumChain(t,r,n,o,i,c){var l,f;if((0,er.ensureIntNumber)(t)===this.getChainId())return!1;let p=await this.initializeRelay(),h=p.inlineAddEthereumChain(t.toString());!this._isAuthorized()&&!h&&await p.requestEthereumAccounts().promise;let y=await p.addEthereumChain(t.toString(),r,i,n,o,c).promise;return(0,bc.isErrorResponse)(y)?!1:(((l=y.result)===null||l===void 0?void 0:l.isApproved)===!0&&this.updateProviderInfo(r[0],t),((f=y.result)===null||f===void 0?void 0:f.isApproved)===!0)}async switchEthereumChain(t){let n=await(await this.initializeRelay()).switchEthereumChain(t.toString(10),this.selectedAddress||void 0).promise;if((0,bc.isErrorResponse)(n)){if(!n.errorCode)return;throw n.errorCode===Tr.standardErrorCodes.provider.unsupportedChain?Tr.standardErrors.provider.unsupportedChain():Tr.standardErrors.provider.custom({message:n.errorMessage,code:n.errorCode})}let o=n.result;o.isApproved&&o.rpcUrl.length>0&&this.updateProviderInfo(o.rpcUrl,t)}setAppInfo(t,r){this.initializeRelay().then(n=>n.setAppInfo(t,r))}async enable(){var t;return(t=this.diagnostic)===null||t===void 0||t.log(mC.EVENTS.ETH_ACCOUNTS_STATE,{method:\"provider::enable\",addresses_length:this._addresses.length,sessionIdHash:this._relay?zU.Session.hash(this._relay.session.id):void 0}),this._isAuthorized()?[...this._addresses]:await this.send(\"eth_requestAccounts\")}async close(){(await this.initializeRelay()).resetAndReload()}send(t,r){try{let n=this._send(t,r);if(n instanceof Promise)return n.catch(o=>{throw(0,Tr.serializeError)(o,t)})}catch(n){throw(0,Tr.serializeError)(n,t)}}_send(t,r){if(typeof t==\"string\"){let o=t,i=Array.isArray(r)?r:r!==void 0?[r]:[],c={jsonrpc:\"2.0\",id:0,method:o,params:i};return this._sendRequestAsync(c).then(l=>l.result)}if(typeof r==\"function\"){let o=t,i=r;return this._sendAsync(o,i)}if(Array.isArray(t))return t.map(i=>this._sendRequest(i));let n=t;return this._sendRequest(n)}async sendAsync(t,r){try{return this._sendAsync(t,r).catch(n=>{throw(0,Tr.serializeError)(n,t)})}catch(n){return Promise.reject((0,Tr.serializeError)(n,t))}}async _sendAsync(t,r){if(typeof r!=\"function\")throw new Error(\"callback is required\");if(Array.isArray(t)){let o=r;this._sendMultipleRequestsAsync(t).then(i=>o(null,i)).catch(i=>o(i,null));return}let n=r;return this._sendRequestAsync(t).then(o=>n(null,o)).catch(o=>n(o,null))}async request(t){try{return this._request(t).catch(r=>{throw(0,Tr.serializeError)(r,t.method)})}catch(r){return Promise.reject((0,Tr.serializeError)(r,t.method))}}async _request(t){if(!t||typeof t!=\"object\"||Array.isArray(t))throw Tr.standardErrors.rpc.invalidRequest({message:\"Expected a single, non-array, object argument.\",data:t});let{method:r,params:n}=t;if(typeof r!=\"string\"||r.length===0)throw Tr.standardErrors.rpc.invalidRequest({message:\"\\'args.method\\' must be a non-empty string.\",data:t});if(n!==void 0&&!Array.isArray(n)&&(typeof n!=\"object\"||n===null))throw Tr.standardErrors.rpc.invalidRequest({message:\"\\'args.params\\' must be an object or array if provided.\",data:t});let o=n===void 0?[]:n,i=this._relayEventManager.makeRequestId();return(await this._sendRequestAsync({method:r,params:o,jsonrpc:\"2.0\",id:i})).result}async scanQRCode(t){let n=await(await this.initializeRelay()).scanQRCode((0,er.ensureRegExpString)(t)).promise;if((0,bc.isErrorResponse)(n))throw(0,Tr.serializeError)(n.errorMessage,\"scanQRCode\");if(typeof n.result!=\"string\")throw(0,Tr.serializeError)(\"result was not a string\",\"scanQRCode\");return n.result}async genericRequest(t,r){let o=await(await this.initializeRelay()).genericRequest(t,r).promise;if((0,bc.isErrorResponse)(o))throw(0,Tr.serializeError)(o.errorMessage,\"generic\");if(typeof o.result!=\"string\")throw(0,Tr.serializeError)(\"result was not a string\",\"generic\");return o.result}async connectAndSignIn(t){var r;(r=this.diagnostic)===null||r===void 0||r.log(mC.EVENTS.ETH_ACCOUNTS_STATE,{method:\"provider::connectAndSignIn\",sessionIdHash:this._relay?zU.Session.hash(this._relay.session.id):void 0});let n;try{let i=await this.initializeRelay();if(!(i instanceof X9t.MobileRelay))throw new Error(\"connectAndSignIn is only supported on mobile\");if(n=await i.connectAndSignIn(t).promise,(0,bc.isErrorResponse)(n))throw new Error(n.errorMessage)}catch(i){throw typeof i.message==\"string\"&&i.message.match(/(denied|rejected)/i)?Tr.standardErrors.provider.userRejectedRequest(\"User denied account authorization\"):i}if(!n.result)throw new Error(\"accounts received is empty\");let{accounts:o}=n.result;return this._setAddresses(o),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),n.result}async selectProvider(t){let n=await(await this.initializeRelay()).selectProvider(t).promise;if((0,bc.isErrorResponse)(n))throw(0,Tr.serializeError)(n.errorMessage,\"selectProvider\");if(typeof n.result!=\"string\")throw(0,Tr.serializeError)(\"result was not a string\",\"selectProvider\");return n.result}supportsSubscriptions(){return!1}subscribe(){throw new Error(\"Subscriptions are not supported\")}unsubscribe(){throw new Error(\"Subscriptions are not supported\")}disconnect(){return!0}_sendRequest(t){let r={jsonrpc:\"2.0\",id:t.id},{method:n}=t;if(r.result=this._handleSynchronousMethods(t),r.result===void 0)throw new Error(`Coinbase Wallet does not support calling ${n} synchronously without a callback. Please provide a callback parameter to call ${n} asynchronously.`);return r}_setAddresses(t,r){if(!Array.isArray(t))throw new Error(\"addresses is not an array\");let n=t.map(o=>(0,er.ensureAddressString)(o));JSON.stringify(n)!==JSON.stringify(this._addresses)&&(this._addresses=n,this.emit(\"accountsChanged\",this._addresses),this._storage.setItem(Kst.LOCAL_STORAGE_ADDRESSES_KEY,n.join(\" \")))}_sendRequestAsync(t){return new Promise((r,n)=>{try{let o=this._handleSynchronousMethods(t);if(o!==void 0)return r({jsonrpc:\"2.0\",id:t.id,result:o});let i=this._handleAsynchronousFilterMethods(t);if(i!==void 0){i.then(l=>r(Object.assign(Object.assign({},l),{id:t.id}))).catch(l=>n(l));return}let c=this._handleSubscriptionMethods(t);if(c!==void 0){c.then(l=>r({jsonrpc:\"2.0\",id:t.id,result:l.result})).catch(l=>n(l));return}}catch(o){return n(o)}this._handleAsynchronousMethods(t).then(o=>o&&r(Object.assign(Object.assign({},o),{id:t.id}))).catch(o=>n(o))})}_sendMultipleRequestsAsync(t){return Promise.all(t.map(r=>this._sendRequestAsync(r)))}_handleSynchronousMethods(t){let{method:r}=t,n=t.params||[];switch(r){case\"eth_accounts\":return this._eth_accounts();case\"eth_coinbase\":return this._eth_coinbase();case\"eth_uninstallFilter\":return this._eth_uninstallFilter(n);case\"net_version\":return this._net_version();case\"eth_chainId\":return this._eth_chainId();default:return}}async _handleAsynchronousMethods(t){let{method:r}=t,n=t.params||[];switch(r){case\"eth_requestAccounts\":return this._eth_requestAccounts();case\"eth_sign\":return this._eth_sign(n);case\"eth_ecRecover\":return this._eth_ecRecover(n);case\"personal_sign\":return this._personal_sign(n);case\"personal_ecRecover\":return this._personal_ecRecover(n);case\"eth_signTransaction\":return this._eth_signTransaction(n);case\"eth_sendRawTransaction\":return this._eth_sendRawTransaction(n);case\"eth_sendTransaction\":return this._eth_sendTransaction(n);case\"eth_signTypedData_v1\":return this._eth_signTypedData_v1(n);case\"eth_signTypedData_v2\":return this._throwUnsupportedMethodError();case\"eth_signTypedData_v3\":return this._eth_signTypedData_v3(n);case\"eth_signTypedData_v4\":case\"eth_signTypedData\":return this._eth_signTypedData_v4(n);case\"cbWallet_arbitrary\":return this._cbwallet_arbitrary(n);case\"wallet_addEthereumChain\":return this._wallet_addEthereumChain(n);case\"wallet_switchEthereumChain\":return this._wallet_switchEthereumChain(n);case\"wallet_watchAsset\":return this._wallet_watchAsset(n)}return(await this.initializeRelay()).makeEthereumJSONRPCRequest(t,this.jsonRpcUrl).catch(i=>{var c;throw(i.code===Tr.standardErrorCodes.rpc.methodNotFound||i.code===Tr.standardErrorCodes.rpc.methodNotSupported)&&((c=this.diagnostic)===null||c===void 0||c.log(mC.EVENTS.METHOD_NOT_IMPLEMENTED,{method:t.method,sessionIdHash:this._relay?zU.Session.hash(this._relay.session.id):void 0})),i})}_handleAsynchronousFilterMethods(t){let{method:r}=t,n=t.params||[];switch(r){case\"eth_newFilter\":return this._eth_newFilter(n);case\"eth_newBlockFilter\":return this._eth_newBlockFilter();case\"eth_newPendingTransactionFilter\":return this._eth_newPendingTransactionFilter();case\"eth_getFilterChanges\":return this._eth_getFilterChanges(n);case\"eth_getFilterLogs\":return this._eth_getFilterLogs(n)}}_handleSubscriptionMethods(t){switch(t.method){case\"eth_subscribe\":case\"eth_unsubscribe\":return this._subscriptionManager.handleRequest(t)}}_isKnownAddress(t){try{let r=(0,er.ensureAddressString)(t);return this._addresses.map(o=>(0,er.ensureAddressString)(o)).includes(r)}catch{}return!1}_ensureKnownAddress(t){var r;if(!this._isKnownAddress(t))throw(r=this.diagnostic)===null||r===void 0||r.log(mC.EVENTS.UNKNOWN_ADDRESS_ENCOUNTERED),new Error(\"Unknown Ethereum address\")}_prepareTransactionParams(t){let r=t.from?(0,er.ensureAddressString)(t.from):this.selectedAddress;if(!r)throw new Error(\"Ethereum address is unavailable\");this._ensureKnownAddress(r);let n=t.to?(0,er.ensureAddressString)(t.to):null,o=t.value!=null?(0,er.ensureBN)(t.value):new Q9t.default(0),i=t.data?(0,er.ensureBuffer)(t.data):globalThis.Buffer.alloc(0),c=t.nonce!=null?(0,er.ensureIntNumber)(t.nonce):null,l=t.gasPrice!=null?(0,er.ensureBN)(t.gasPrice):null,f=t.maxFeePerGas!=null?(0,er.ensureBN)(t.maxFeePerGas):null,p=t.maxPriorityFeePerGas!=null?(0,er.ensureBN)(t.maxPriorityFeePerGas):null,h=t.gas!=null?(0,er.ensureBN)(t.gas):null,y=t.chainId?(0,er.ensureIntNumber)(t.chainId):this.getChainId();return{fromAddress:r,toAddress:n,weiValue:o,data:i,nonce:c,gasPriceInWei:l,maxFeePerGas:f,maxPriorityFeePerGas:p,gasLimit:h,chainId:y}}_isAuthorized(){return this._addresses.length>0}_requireAuthorization(){if(!this._isAuthorized())throw Tr.standardErrors.provider.unauthorized({})}_throwUnsupportedMethodError(){throw Tr.standardErrors.provider.unsupportedMethod({})}async _signEthereumMessage(t,r,n,o){this._ensureKnownAddress(r);try{let c=await(await this.initializeRelay()).signEthereumMessage(t,r,n,o).promise;if((0,bc.isErrorResponse)(c))throw new Error(c.errorMessage);return{jsonrpc:\"2.0\",id:0,result:c.result}}catch(i){throw typeof i.message==\"string\"&&i.message.match(/(denied|rejected)/i)?Tr.standardErrors.provider.userRejectedRequest(\"User denied message signature\"):i}}async _ethereumAddressFromSignedMessage(t,r,n){let i=await(await this.initializeRelay()).ethereumAddressFromSignedMessage(t,r,n).promise;if((0,bc.isErrorResponse)(i))throw new Error(i.errorMessage);return{jsonrpc:\"2.0\",id:0,result:i.result}}_eth_accounts(){return[...this._addresses]}_eth_coinbase(){return this.selectedAddress||null}_net_version(){return this.getChainId().toString(10)}_eth_chainId(){return(0,er.hexStringFromIntNumber)(this.getChainId())}getChainId(){let t=this._storage.getItem(Zst);if(!t)return(0,er.ensureIntNumber)(this._chainIdFromOpts);let r=parseInt(t,10);return(0,er.ensureIntNumber)(r)}async _eth_requestAccounts(){var t;if((t=this.diagnostic)===null||t===void 0||t.log(mC.EVENTS.ETH_ACCOUNTS_STATE,{method:\"provider::_eth_requestAccounts\",addresses_length:this._addresses.length,sessionIdHash:this._relay?zU.Session.hash(this._relay.session.id):void 0}),this._isAuthorized())return Promise.resolve({jsonrpc:\"2.0\",id:0,result:this._addresses});let r;try{if(r=await(await this.initializeRelay()).requestEthereumAccounts().promise,(0,bc.isErrorResponse)(r))throw new Error(r.errorMessage)}catch(n){throw typeof n.message==\"string\"&&n.message.match(/(denied|rejected)/i)?Tr.standardErrors.provider.userRejectedRequest(\"User denied account authorization\"):n}if(!r.result)throw new Error(\"accounts received is empty\");return this._setAddresses(r.result),this.isCoinbaseBrowser||await this.switchEthereumChain(this.getChainId()),{jsonrpc:\"2.0\",id:0,result:this._addresses}}_eth_sign(t){this._requireAuthorization();let r=(0,er.ensureAddressString)(t[0]),n=(0,er.ensureBuffer)(t[1]);return this._signEthereumMessage(n,r,!1)}_eth_ecRecover(t){let r=(0,er.ensureBuffer)(t[0]),n=(0,er.ensureBuffer)(t[1]);return this._ethereumAddressFromSignedMessage(r,n,!1)}_personal_sign(t){this._requireAuthorization();let r=(0,er.ensureBuffer)(t[0]),n=(0,er.ensureAddressString)(t[1]);return this._signEthereumMessage(r,n,!0)}_personal_ecRecover(t){let r=(0,er.ensureBuffer)(t[0]),n=(0,er.ensureBuffer)(t[1]);return this._ethereumAddressFromSignedMessage(r,n,!0)}async _eth_signTransaction(t){this._requireAuthorization();let r=this._prepareTransactionParams(t[0]||{});try{let o=await(await this.initializeRelay()).signEthereumTransaction(r).promise;if((0,bc.isErrorResponse)(o))throw new Error(o.errorMessage);return{jsonrpc:\"2.0\",id:0,result:o.result}}catch(n){throw typeof n.message==\"string\"&&n.message.match(/(denied|rejected)/i)?Tr.standardErrors.provider.userRejectedRequest(\"User denied transaction signature\"):n}}async _eth_sendRawTransaction(t){let r=(0,er.ensureBuffer)(t[0]),o=await(await this.initializeRelay()).submitEthereumTransaction(r,this.getChainId()).promise;if((0,bc.isErrorResponse)(o))throw new Error(o.errorMessage);return{jsonrpc:\"2.0\",id:0,result:o.result}}async _eth_sendTransaction(t){this._requireAuthorization();let r=this._prepareTransactionParams(t[0]||{});try{let o=await(await this.initializeRelay()).signAndSubmitEthereumTransaction(r).promise;if((0,bc.isErrorResponse)(o))throw new Error(o.errorMessage);return{jsonrpc:\"2.0\",id:0,result:o.result}}catch(n){throw typeof n.message==\"string\"&&n.message.match(/(denied|rejected)/i)?Tr.standardErrors.provider.userRejectedRequest(\"User denied transaction signature\"):n}}async _eth_signTypedData_v1(t){this._requireAuthorization();let r=(0,er.ensureParsedJSONObject)(t[0]),n=(0,er.ensureAddressString)(t[1]);this._ensureKnownAddress(n);let o=noe.default.hashForSignTypedDataLegacy({data:r}),i=JSON.stringify(r,null,2);return this._signEthereumMessage(o,n,!1,i)}async _eth_signTypedData_v3(t){this._requireAuthorization();let r=(0,er.ensureAddressString)(t[0]),n=(0,er.ensureParsedJSONObject)(t[1]);this._ensureKnownAddress(r);let o=noe.default.hashForSignTypedData_v3({data:n}),i=JSON.stringify(n,null,2);return this._signEthereumMessage(o,r,!1,i)}async _eth_signTypedData_v4(t){this._requireAuthorization();let r=(0,er.ensureAddressString)(t[0]),n=(0,er.ensureParsedJSONObject)(t[1]);this._ensureKnownAddress(r);let o=noe.default.hashForSignTypedData_v4({data:n}),i=JSON.stringify(n,null,2);return this._signEthereumMessage(o,r,!1,i)}async _cbwallet_arbitrary(t){let r=t[0],n=t[1];if(typeof n!=\"string\")throw new Error(\"parameter must be a string\");if(typeof r!=\"object\"||r===null)throw new Error(\"parameter must be an object\");return{jsonrpc:\"2.0\",id:0,result:await this.genericRequest(r,n)}}async _wallet_addEthereumChain(t){var r,n,o,i;let c=t[0];if(((r=c.rpcUrls)===null||r===void 0?void 0:r.length)===0)return{jsonrpc:\"2.0\",id:0,error:{code:2,message:\"please pass in at least 1 rpcUrl\"}};if(!c.chainName||c.chainName.trim()===\"\")throw Tr.standardErrors.rpc.invalidParams(\"chainName is a required field\");if(!c.nativeCurrency)throw Tr.standardErrors.rpc.invalidParams(\"nativeCurrency is a required field\");let l=parseInt(c.chainId,16);return await this.addEthereumChain(l,(n=c.rpcUrls)!==null&&n!==void 0?n:[],(o=c.blockExplorerUrls)!==null&&o!==void 0?o:[],c.chainName,(i=c.iconUrls)!==null&&i!==void 0?i:[],c.nativeCurrency)?{jsonrpc:\"2.0\",id:0,result:null}:{jsonrpc:\"2.0\",id:0,error:{code:2,message:\"unable to add ethereum chain\"}}}async _wallet_switchEthereumChain(t){let r=t[0];return await this.switchEthereumChain(parseInt(r.chainId,16)),{jsonrpc:\"2.0\",id:0,result:null}}async _wallet_watchAsset(t){let r=Array.isArray(t)?t[0]:t;if(!r.type)throw Tr.standardErrors.rpc.invalidParams(\"Type is required\");if(r?.type!==\"ERC20\")throw Tr.standardErrors.rpc.invalidParams(`Asset of type \\'${r.type}\\' is not supported`);if(!r?.options)throw Tr.standardErrors.rpc.invalidParams(\"Options are required\");if(!r?.options.address)throw Tr.standardErrors.rpc.invalidParams(\"Address is required\");let n=this.getChainId(),{address:o,symbol:i,image:c,decimals:l}=r.options;return{jsonrpc:\"2.0\",id:0,result:await this.watchAsset(r.type,o,i,l,c,n)}}_eth_uninstallFilter(t){let r=(0,er.ensureHexString)(t[0]);return this._filterPolyfill.uninstallFilter(r)}async _eth_newFilter(t){let r=t[0];return{jsonrpc:\"2.0\",id:0,result:await this._filterPolyfill.newFilter(r)}}async _eth_newBlockFilter(){return{jsonrpc:\"2.0\",id:0,result:await this._filterPolyfill.newBlockFilter()}}async _eth_newPendingTransactionFilter(){return{jsonrpc:\"2.0\",id:0,result:await this._filterPolyfill.newPendingTransactionFilter()}}_eth_getFilterChanges(t){let r=(0,er.ensureHexString)(t[0]);return this._filterPolyfill.getFilterChanges(r)}_eth_getFilterLogs(t){let r=(0,er.ensureHexString)(t[0]);return this._filterPolyfill.getFilterLogs(r)}initializeRelay(){return this._relay?Promise.resolve(this._relay):this._relayProvider().then(t=>(t.setAccountsCallback((r,n)=>this._setAddresses(r,n)),t.setChainCallback((r,n)=>{this.updateProviderInfo(n,parseInt(r,10))}),t.setDappDefaultChainCallback(this._chainIdFromOpts),this._relay=t,t))}};CE.CoinbaseWalletProvider=ooe});var Qst=J(HU=>{\"use strict\";u();Object.defineProperty(HU,\"__esModule\",{value:!0});HU.RelayEventManager=void 0;var rMt=Kd(),ioe=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;let t=this._nextRequestId,r=(0,rMt.prepend0x)(t.toString(16));return this.callbacks.get(r)&&this.callbacks.delete(r),t}};HU.RelayEventManager=ioe});var aoe=J(FU=>{\"use strict\";u();Object.defineProperty(FU,\"__esModule\",{value:!0});FU.CoinbaseWalletSDK=void 0;var nMt=VJe(),oMt=qJe(),Yst=Kd(),iMt=mQe(),aMt=LU(),sMt=mre(),cMt=fre(),uMt=Qst(),lMt=sre(),dMt=cre(),Xst=ID(),jU=class e{constructor(t){var r,n,o;this._appName=\"\",this._appLogoUrl=null,this._relay=null,this._relayEventManager=null;let i=t.linkAPIUrl||oMt.LINK_API_URL;typeof t.overrideIsMetaMask>\"u\"?this._overrideIsMetaMask=!1:this._overrideIsMetaMask=t.overrideIsMetaMask,this._overrideIsCoinbaseWallet=(r=t.overrideIsCoinbaseWallet)!==null&&r!==void 0?r:!0,this._overrideIsCoinbaseBrowser=(n=t.overrideIsCoinbaseBrowser)!==null&&n!==void 0?n:!1,this._diagnosticLogger=t.diagnosticLogger,this._reloadOnDisconnect=(o=t.reloadOnDisconnect)!==null&&o!==void 0?o:!0;let c=new URL(i),l=`${c.protocol}//${c.host}`;if(this._storage=new iMt.ScopedLocalStorage(`-walletlink:${l}`),this._storage.setItem(\"version\",e.VERSION),this.walletExtension||this.coinbaseBrowser)return;this._relayEventManager=new uMt.RelayEventManager;let f=(0,Yst.isMobileWeb)(),p=t.uiConstructor||(y=>f?new cMt.MobileRelayUI(y):new lMt.WalletLinkRelayUI(y)),h={linkAPIUrl:i,version:Xst.LIB_VERSION,darkMode:!!t.darkMode,headlessMode:!!t.headlessMode,uiConstructor:p,storage:this._storage,relayEventManager:this._relayEventManager,diagnosticLogger:this._diagnosticLogger,reloadOnDisconnect:this._reloadOnDisconnect,enableMobileWalletLink:t.enableMobileWalletLink};this._relay=f?new sMt.MobileRelay(h):new dMt.WalletLinkRelay(h),this.setAppInfo(t.appName,t.appLogoUrl),!t.headlessMode&&this._relay.attachUI()}makeWeb3Provider(t=\"\",r=1){let n=this.walletExtension;if(n)return this.isCipherProvider(n)||n.setProviderInfo(t,r),this._reloadOnDisconnect===!1&&typeof n.disableReloadOnDisconnect==\"function\"&&n.disableReloadOnDisconnect(),n;let o=this.coinbaseBrowser;if(o)return o;let i=this._relay;if(!i||!this._relayEventManager||!this._storage)throw new Error(\"Relay not initialized, should never happen\");return t||i.setConnectDisabled(!0),new aMt.CoinbaseWalletProvider({relayProvider:()=>Promise.resolve(i),relayEventManager:this._relayEventManager,storage:this._storage,jsonRpcUrl:t,chainId:r,qrUrl:this.getQrUrl(),diagnosticLogger:this._diagnosticLogger,overrideIsMetaMask:this._overrideIsMetaMask,overrideIsCoinbaseWallet:this._overrideIsCoinbaseWallet,overrideIsCoinbaseBrowser:this._overrideIsCoinbaseBrowser})}setAppInfo(t,r){var n;this._appName=t||\"DApp\",this._appLogoUrl=r||(0,Yst.getFavicon)();let o=this.walletExtension;o?this.isCipherProvider(o)||o.setAppInfo(this._appName,this._appLogoUrl):(n=this._relay)===null||n===void 0||n.setAppInfo(this._appName,this._appLogoUrl)}disconnect(){var t;let r=this===null||this===void 0?void 0:this.walletExtension;r?r.close():(t=this._relay)===null||t===void 0||t.resetAndReload()}getQrUrl(){var t,r;return(r=(t=this._relay)===null||t===void 0?void 0:t.getQRCodeUrl())!==null&&r!==void 0?r:null}getCoinbaseWalletLogo(t,r=240){return(0,nMt.walletLogo)(t,r)}get walletExtension(){var t;return(t=window.coinbaseWalletExtension)!==null&&t!==void 0?t:window.walletLinkExtension}get coinbaseBrowser(){var t,r;try{let n=(t=window.ethereum)!==null&&t!==void 0?t:(r=window.top)===null||r===void 0?void 0:r.ethereum;return n&&\"isCoinbaseBrowser\"in n&&n.isCoinbaseBrowser?n:void 0}catch{return}}isCipherProvider(t){return typeof t.isCipher==\"boolean\"&&t.isCipher}};FU.CoinbaseWalletSDK=jU;jU.VERSION=Xst.LIB_VERSION});var tct=J(c1=>{\"use strict\";u();Object.defineProperty(c1,\"__esModule\",{value:!0});c1.CoinbaseWalletProvider=c1.CoinbaseWalletSDK=void 0;var soe=aoe(),ect=LU(),fMt=aoe();Object.defineProperty(c1,\"CoinbaseWalletSDK\",{enumerable:!0,get:function(){return fMt.CoinbaseWalletSDK}});var pMt=LU();Object.defineProperty(c1,\"CoinbaseWalletProvider\",{enumerable:!0,get:function(){return pMt.CoinbaseWalletProvider}});c1.default=soe.CoinbaseWalletSDK;typeof window<\"u\"&&(window.CoinbaseWalletSDK=soe.CoinbaseWalletSDK,window.CoinbaseWalletProvider=ect.CoinbaseWalletProvider,window.WalletLink=soe.CoinbaseWalletSDK,window.WalletLinkProvider=ect.CoinbaseWalletProvider)});u();var nct=_r(mde(),1);u();var Mi=_r(eo(),1);bn();yR();u();u();var cA=_r(eo(),1);u();u();u();u();u();u();u();var aw=\"2.22.1\";var PDe=()=>`@wagmi/core@${aw}`;var RDe=function(e,t,r,n){if(r===\"a\"&&!n)throw new TypeError(\"Private accessor was defined without a getter\");if(typeof t==\"function\"?e!==t||!n:!t.has(e))throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");return r===\"m\"?n:r===\"a\"?n.call(e):n?n.value:t.get(e)},bR,ODe,Ra=class e extends Error{get docsBaseUrl(){return\"https://wagmi.sh/core\"}get version(){return PDe()}constructor(t,r={}){super(),bR.add(this),Object.defineProperty(this,\"details\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"docsPath\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"metaMessages\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"shortMessage\",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"WagmiCoreError\"});let n=r.cause instanceof e?r.cause.details:r.cause?.message?r.cause.message:r.details,o=r.cause instanceof e&&r.cause.docsPath||r.docsPath;this.message=[t||\"An error occurred.\",\"\",...r.metaMessages?[...r.metaMessages,\"\"]:[],...o?[`Docs: ${this.docsBaseUrl}${o}.html${r.docsSlug?`#${r.docsSlug}`:\"\"}`]:[],...n?[`Details: ${n}`]:[],`Version: ${this.version}`].join(`\\n`),r.cause&&(this.cause=r.cause),this.details=n,this.docsPath=o,this.metaMessages=r.metaMessages,this.shortMessage=t}walk(t){return RDe(this,bR,\"m\",ODe).call(this,this,t)}};bR=new WeakSet,ODe=function e(t,r){return r?.(t)?t:t.cause?RDe(this,bR,\"m\",e).call(this,t.cause,r):t};var vs=class extends Ra{constructor(){super(\"Chain not configured.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ChainNotConfiguredError\"})}},sw=class extends Ra{constructor(){super(\"Connector already connected.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ConnectorAlreadyConnectedError\"})}},oA=class extends Ra{constructor(){super(\"Connector not connected.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ConnectorNotConnectedError\"})}};var cw=class extends Ra{constructor({address:t,connector:r}){super(`Account \"${t}\" not found for connector \"${r.name}\".`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ConnectorAccountNotFoundError\"})}},uw=class extends Ra{constructor({connectionChainId:t,connectorChainId:r}){super(`The current chain of the connector (id: ${r}) does not match the connection\\'s chain (id: ${t}).`,{metaMessages:[`Current Chain ID:  ${r}`,`Expected Chain ID: ${t}`]}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ConnectorChainMismatchError\"})}},lw=class extends Ra{constructor({connector:t}){super(`Connector \"${t.name}\" unavailable while reconnecting.`,{details:[\"During the reconnection step, the only connector methods guaranteed to be available are: `id`, `name`, `type`, `uid`.\",\"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.\"].join(\" \")}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ConnectorUnavailableReconnectingError\"})}};async function BDe(e,t){let r;if(typeof t.connector==\"function\"?r=e._internal.connectors.setup(t.connector):r=t.connector,r.uid===e.state.current)throw new sw;try{e.setState(c=>({...c,status:\"connecting\"})),r.emitter.emit(\"message\",{type:\"connecting\"});let{connector:n,...o}=t,i=await r.connect(o);return r.emitter.off(\"connect\",e._internal.events.connect),r.emitter.on(\"change\",e._internal.events.change),r.emitter.on(\"disconnect\",e._internal.events.disconnect),await e.storage?.setItem(\"recentConnectorId\",r.id),e.setState(c=>({...c,connections:new Map(c.connections).set(r.uid,{accounts:o.withCapabilities?i.accounts.map(l=>typeof l==\"object\"?l.address:l):i.accounts,chainId:i.chainId,connector:r}),current:r.uid,status:\"connected\"})),{accounts:o.withCapabilities?i.accounts.map(c=>typeof c==\"object\"?c:{address:c,capabilities:{}}):i.accounts,chainId:i.chainId}}catch(n){throw e.setState(o=>({...o,status:o.current?\"connected\":\"disconnected\"})),n}}u();bn();Th();async function MDe(e,t={}){let{assertChainId:r=!0}=t,n;if(t.connector){let{connector:h}=t;if(e.state.status===\"reconnecting\"&&!h.getAccounts&&!h.getChainId)throw new lw({connector:h});let[y,w]=await Promise.all([h.getAccounts().catch(E=>{if(t.account===null)return[];throw E}),h.getChainId()]);n={accounts:y,chainId:w,connector:h}}else n=e.state.connections.get(e.state.current);if(!n)throw new oA;let o=t.chainId??n.chainId,i=await n.connector.getChainId();if(r&&i!==o)throw new uw({connectionChainId:o,connectorChainId:i});let c=n.connector;if(c.getClient)return c.getClient({chainId:o});let l=tt(t.account??n.accounts[0]);if(l&&(l.address=At(l.address)),t.account&&!n.accounts.some(h=>h.toLowerCase()===l.address.toLowerCase()))throw new cw({address:l.address,connector:c});let f=e.chains.find(h=>h.id===o),p=await n.connector.getProvider({chainId:o});return gp({account:l,chain:f,name:\"Connector Client\",transport:h=>C5(p)({...h,retryCount:0})})}u();async function DDe(e,t={}){let r;if(t.connector)r=t.connector;else{let{connections:o,current:i}=e.state;r=o.get(i)?.connector}let n=e.state.connections;r&&(await r.disconnect(),r.emitter.off(\"change\",e._internal.events.change),r.emitter.off(\"disconnect\",e._internal.events.disconnect),r.emitter.on(\"connect\",e._internal.events.connect),n.delete(r.uid)),e.setState(o=>{if(n.size===0)return{...o,connections:new Map,current:null,status:\"disconnected\"};let i=n.values().next().value;return{...o,connections:new Map(n),current:i.connector.uid}});{let o=e.state.current;if(!o)return;let i=e.state.connections.get(o)?.connector;if(!i)return;await e.storage?.setItem(\"recentConnectorId\",i.id)}}u();function iA(e){let t=e.state.current,r=e.state.connections.get(t),n=r?.accounts,o=n?.[0],i=e.chains.find(l=>l.id===r?.chainId),c=e.state.status;switch(c){case\"connected\":return{address:o,addresses:n,chain:i,chainId:r?.chainId,connector:r?.connector,isConnected:!0,isConnecting:!1,isDisconnected:!1,isReconnecting:!1,status:c};case\"reconnecting\":return{address:o,addresses:n,chain:i,chainId:r?.chainId,connector:r?.connector,isConnected:!!o,isConnecting:!1,isDisconnected:!1,isReconnecting:!0,status:c};case\"connecting\":return{address:o,addresses:n,chain:i,chainId:r?.chainId,connector:r?.connector,isConnected:!1,isConnecting:!0,isDisconnected:!1,isReconnecting:!1,status:c};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:c}}}u();function gR(e){return e.state.chainId}u();u();function ws(e,t){if(e===t)return!0;if(e&&t&&typeof e==\"object\"&&typeof t==\"object\"){if(e.constructor!==t.constructor)return!1;let r,n;if(Array.isArray(e)&&Array.isArray(t)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!ws(e[n],t[n]))return!1;return!0}if(typeof e.valueOf==\"function\"&&e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(typeof e.toString==\"function\"&&e.toString!==Object.prototype.toString)return e.toString()===t.toString();let o=Object.keys(e);if(r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.hasOwn(t,o[n]))return!1;for(n=r;n--!==0;){let i=o[n];if(i&&!ws(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}var wq=[];function xR(e){let t=e.chains;return ws(wq,t)?wq:(wq=t,t)}u();var vR=[];function dw(e){let t=[...e.state.connections.values()];return e.state.status===\"reconnecting\"||ws(vR,t)?vR:(vR=t,t)}u();var wR=[];function ER(e){let t=e.connectors;return wR.length===t.length&&wR.every((r,n)=>r===t[n])?wR:(wR=t,t)}u();bn();async function NDe(e,t={}){return(await MDe(e,t)).extend(SV)}u();var Eq=!1;async function UDe(e,t={}){if(Eq)return[];Eq=!0,e.setState(p=>({...p,status:p.current?\"reconnecting\":\"connecting\"}));let r=[];if(t.connectors?.length)for(let p of t.connectors){let h;typeof p==\"function\"?h=e._internal.connectors.setup(p):h=p,r.push(h)}else r.push(...e.connectors);let n;try{n=await e.storage?.getItem(\"recentConnectorId\")}catch{}let o={};for(let[,p]of e.state.connections)o[p.connector.id]=1;n&&(o[n]=0);let i=Object.keys(o).length>0?[...r].sort((p,h)=>(o[p.id]??10)-(o[h.id]??10)):r,c=!1,l=[],f=[];for(let p of i){let h=await p.getProvider().catch(()=>{});if(!h||f.some(E=>E===h)||!await p.isAuthorized())continue;let w=await p.connect({isReconnecting:!0}).catch(()=>null);w&&(p.emitter.off(\"connect\",e._internal.events.connect),p.emitter.on(\"change\",e._internal.events.change),p.emitter.on(\"disconnect\",e._internal.events.disconnect),e.setState(E=>{let A=new Map(c?E.connections:new Map).set(p.uid,{accounts:w.accounts,chainId:w.chainId,connector:p});return{...E,current:c?E.current:p.uid,connections:A}}),l.push({accounts:w.accounts,chainId:w.chainId,connector:p}),f.push(h),c=!0)}return(e.state.status===\"reconnecting\"||e.state.status===\"connecting\")&&(c?e.setState(p=>({...p,status:\"connected\"})):e.setState(p=>({...p,connections:new Map,current:null,status:\"disconnected\"}))),Eq=!1,l}u();u();var Id=class extends Ra{constructor(){super(\"Provider not found.\"),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"ProviderNotFoundError\"})}},aA=class extends Ra{constructor({connector:t}){super(`\"${t.name}\" does not support programmatic chain switching.`),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"SwitchChainNotSupportedError\"})}};async function $De(e,t){let{addEthereumChainParameter:r,chainId:n}=t,o=e.state.connections.get(t.connector?.uid??e.state.current);if(o){let c=o.connector;if(!c.switchChain)throw new aA({connector:c});return await c.switchChain({addEthereumChainParameter:r,chainId:n})}let i=e.chains.find(c=>c.id===n);if(!i)throw new vs;return e.setState(c=>({...c,chainId:n})),i}u();function _q(e,t){let{onChange:r}=t;return e.subscribe(()=>iA(e),r,{equalityFn(n,o){let{connector:i,...c}=n,{connector:l,...f}=o;return ws(c,f)&&i?.id===l?.id&&i?.uid===l?.uid}})}u();function Sq(e,t){let{onChange:r}=t;return e.subscribe(n=>n.chainId,r)}u();function Aq(e,t){let{onChange:r}=t;return e.subscribe(()=>dw(e),r,{equalityFn:ws})}u();function kq(e,t){let{onChange:r}=t;return e._internal.connectors.subscribe((n,o)=>{r(Object.values(n),o)})}u();bn();Ep.type=\"injected\";function Ep(e={}){let{shimDisconnect:t=!0,unstable_shimAsyncInject:r}=e;function n(){let f=e.target;if(typeof f==\"function\"){let p=f();if(p)return p}return typeof f==\"object\"?f:typeof f==\"string\"?{...xgt[f]??{id:f,name:`${f[0].toUpperCase()}${f.slice(1)}`,provider:`is${f[0].toUpperCase()}${f.slice(1)}`}}:{id:\"injected\",name:\"Injected\",provider(p){return p?.ethereum}}}let o,i,c,l;return f=>({get icon(){return n().icon},get id(){return n().id},get name(){return n().name},get supportsSimulation(){return!0},type:Ep.type,async setup(){let p=await this.getProvider();p?.on&&e.target&&(c||(c=this.onConnect.bind(this),p.on(\"connect\",c)),o||(o=this.onAccountsChanged.bind(this),p.on(\"accountsChanged\",o)))},async connect({chainId:p,isReconnecting:h,withCapabilities:y}={}){let w=await this.getProvider();if(!w)throw new Id;let E=[];if(h)E=await this.getAccounts().catch(()=>[]);else if(t)try{E=(await w.request({method:\"wallet_requestPermissions\",params:[{eth_accounts:{}}]}))[0]?.caveats?.[0]?.value?.map(C=>At(C)),E.length>0&&(E=await this.getAccounts())}catch(A){let C=A;if(C.code===Ln.code)throw new Ln(C);if(C.code===ju.code)throw C}try{!E?.length&&!h&&(E=(await w.request({method:\"eth_requestAccounts\"})).map(R=>At(R))),c&&(w.removeListener(\"connect\",c),c=void 0),o||(o=this.onAccountsChanged.bind(this),w.on(\"accountsChanged\",o)),i||(i=this.onChainChanged.bind(this),w.on(\"chainChanged\",i)),l||(l=this.onDisconnect.bind(this),w.on(\"disconnect\",l));let A=await this.getChainId();return p&&A!==p&&(A=(await this.switchChain({chainId:p}).catch(R=>{if(R.code===Ln.code)throw R;return{id:A}}))?.id??A),t&&await f.storage?.removeItem(`${this.id}.disconnected`),e.target||await f.storage?.setItem(\"injected.connected\",!0),{accounts:y?E.map(C=>({address:C,capabilities:{}})):E,chainId:A}}catch(A){let C=A;throw C.code===Ln.code?new Ln(C):C.code===ju.code?new ju(C):C}},async disconnect(){let p=await this.getProvider();if(!p)throw new Id;i&&(p.removeListener(\"chainChanged\",i),i=void 0),l&&(p.removeListener(\"disconnect\",l),l=void 0),c||(c=this.onConnect.bind(this),p.on(\"connect\",c));try{await u5(()=>p.request({method:\"wallet_revokePermissions\",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}t&&await f.storage?.setItem(`${this.id}.disconnected`,!0),e.target||await f.storage?.removeItem(\"injected.connected\")},async getAccounts(){let p=await this.getProvider();if(!p)throw new Id;return(await p.request({method:\"eth_accounts\"})).map(y=>At(y))},async getChainId(){let p=await this.getProvider();if(!p)throw new Id;let h=await p.request({method:\"eth_chainId\"});return Number(h)},async getProvider(){if(typeof window>\"u\")return;let p,h=n();return typeof h.provider==\"function\"?p=h.provider(window):typeof h.provider==\"string\"?p=_R(window,h.provider):p=h.provider,p&&!p.removeListener&&(\"off\"in p&&typeof p.off==\"function\"?p.removeListener=p.off:p.removeListener=()=>{}),p},async isAuthorized(){try{if(t&&await f.storage?.getItem(`${this.id}.disconnected`)||!e.target&&!await f.storage?.getItem(\"injected.connected\"))return!1;if(!await this.getProvider()){if(r!==void 0&&r!==!1){let w=async()=>(typeof window<\"u\"&&window.removeEventListener(\"ethereum#initialized\",w),!!await this.getProvider()),E=typeof r==\"number\"?r:1e3;if(await Promise.race([...typeof window<\"u\"?[new Promise(C=>window.addEventListener(\"ethereum#initialized\",()=>C(w()),{once:!0}))]:[],new Promise(C=>setTimeout(()=>C(w()),E))]))return!0}throw new Id}return!!(await Sd(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:p,chainId:h}){let y=await this.getProvider();if(!y)throw new Id;let w=f.chains.find(A=>A.id===h);if(!w)throw new _a(new vs);let E=new Promise(A=>{let C=(R=>{\"chainId\"in R&&R.chainId===h&&(f.emitter.off(\"change\",C),A())});f.emitter.on(\"change\",C)});try{return await Promise.all([y.request({method:\"wallet_switchEthereumChain\",params:[{chainId:le(h)}]}).then(async()=>{await this.getChainId()===h&&f.emitter.emit(\"change\",{chainId:h})}),E]),w}catch(A){let C=A;if(C.code===4902||C?.data?.originalError?.code===4902)try{let{default:R,...M}=w.blockExplorers??{},D;p?.blockExplorerUrls?D=p.blockExplorerUrls:R&&(D=[R.url,...Object.values(M).map(V=>V.url)]);let $;p?.rpcUrls?.length?$=p.rpcUrls:$=[w.rpcUrls.default?.http[0]??\"\"];let H={blockExplorerUrls:D,chainId:le(h),chainName:p?.chainName??w.name,iconUrls:p?.iconUrls,nativeCurrency:p?.nativeCurrency??w.nativeCurrency,rpcUrls:$};return await Promise.all([y.request({method:\"wallet_addEthereumChain\",params:[H]}).then(async()=>{if(await this.getChainId()===h)f.emitter.emit(\"change\",{chainId:h});else throw new Ln(new Error(\"User rejected switch after adding network.\"))}),E]),w}catch(R){throw new Ln(R)}throw C.code===Ln.code?new Ln(C):new _a(C)}},async onAccountsChanged(p){if(p.length===0)this.onDisconnect();else if(f.emitter.listenerCount(\"connect\")){let h=(await this.getChainId()).toString();this.onConnect({chainId:h}),t&&await f.storage?.removeItem(`${this.id}.disconnected`)}else f.emitter.emit(\"change\",{accounts:p.map(h=>At(h))})},onChainChanged(p){let h=Number(p);f.emitter.emit(\"change\",{chainId:h})},async onConnect(p){let h=await this.getAccounts();if(h.length===0)return;let y=Number(p.chainId);f.emitter.emit(\"connect\",{accounts:h,chainId:y});let w=await this.getProvider();w&&(c&&(w.removeListener(\"connect\",c),c=void 0),o||(o=this.onAccountsChanged.bind(this),w.on(\"accountsChanged\",o)),i||(i=this.onChainChanged.bind(this),w.on(\"chainChanged\",i)),l||(l=this.onDisconnect.bind(this),w.on(\"disconnect\",l)))},async onDisconnect(p){let h=await this.getProvider();p&&p.code===1013&&h&&(await this.getAccounts()).length||(f.emitter.emit(\"disconnect\"),h&&(i&&(h.removeListener(\"chainChanged\",i),i=void 0),l&&(h.removeListener(\"disconnect\",l),l=void 0),c||(c=this.onConnect.bind(this),h.on(\"connect\",c))))}})}var xgt={coinbaseWallet:{id:\"coinbaseWallet\",name:\"Coinbase Wallet\",provider(e){return e?.coinbaseWalletExtension?e.coinbaseWalletExtension:_R(e,\"isCoinbaseWallet\")}},metaMask:{id:\"metaMask\",name:\"MetaMask\",provider(e){return _R(e,t=>{if(!t.isMetaMask||t.isBraveWallet&&!t._events&&!t._state)return!1;let r=[\"isApexWallet\",\"isAvalanche\",\"isBitKeep\",\"isBlockWallet\",\"isKuCoinWallet\",\"isMathWallet\",\"isOkxWallet\",\"isOKExWallet\",\"isOneInchIOSWallet\",\"isOneInchAndroidWallet\",\"isOpera\",\"isPhantom\",\"isPortal\",\"isRabby\",\"isTokenPocket\",\"isTokenary\",\"isUniswapWallet\",\"isZerion\"];for(let n of r)if(t[n])return!1;return!0})}},phantom:{id:\"phantom\",name:\"Phantom\",provider(e){return e?.phantom?.ethereum?e.phantom?.ethereum:_R(e,\"isPhantom\")}}};function _R(e,t){function r(o){return typeof t==\"function\"?t(o):typeof t==\"string\"?o[t]:!0}let n=e.ethereum;if(n?.providers)return n.providers.find(o=>r(o));if(n&&r(n))return n}u();jDe();bn();u();var vgt=e=>(t,r,n)=>{let o=n.subscribe;return n.subscribe=(c,l,f)=>{let p=c;if(l){let h=f?.equalityFn||Object.is,y=c(n.getState());p=w=>{let E=c(w);if(!h(y,E)){let A=y;l(y=E,A)}},f?.fireImmediately&&l(y,y)}return o(p)},e(t,r,n)},FDe=vgt;function wgt(e,t){let r;try{r=e()}catch{return}return{getItem:o=>{var i;let c=f=>f===null?null:JSON.parse(f,t?.reviver),l=(i=r.getItem(o))!=null?i:null;return l instanceof Promise?l.then(c):c(l)},setItem:(o,i)=>r.setItem(o,JSON.stringify(i,t?.replacer)),removeItem:o=>r.removeItem(o)}}var Tq=e=>t=>{try{let r=e(t);return r instanceof Promise?r:{then(n){return Tq(n)(r)},catch(n){return this}}}catch(r){return{then(n){return this},catch(n){return Tq(n)(r)}}}},Egt=(e,t)=>(r,n,o)=>{let i={storage:wgt(()=>localStorage),partialize:C=>C,version:0,merge:(C,R)=>({...R,...C}),...t},c=!1,l=new Set,f=new Set,p=i.storage;if(!p)return e((...C)=>{console.warn(`[zustand persist middleware] Unable to update item \\'${i.name}\\', the given storage is currently unavailable.`),r(...C)},n,o);let h=()=>{let C=i.partialize({...n()});return p.setItem(i.name,{state:C,version:i.version})},y=o.setState;o.setState=(C,R)=>{y(C,R),h()};let w=e((...C)=>{r(...C),h()},n,o);o.getInitialState=()=>w;let E,A=()=>{var C,R;if(!p)return;c=!1,l.forEach(D=>{var $;return D(($=n())!=null?$:w)});let M=((R=i.onRehydrateStorage)==null?void 0:R.call(i,(C=n())!=null?C:w))||void 0;return Tq(p.getItem.bind(p))(i.name).then(D=>{if(D)if(typeof D.version==\"number\"&&D.version!==i.version){if(i.migrate)return[!0,i.migrate(D.state,D.version)];console.error(\"State loaded from storage couldn\\'t be migrated since no migrate function was provided\")}else return[!1,D.state];return[!1,void 0]}).then(D=>{var $;let[H,V]=D;if(E=i.merge(V,($=n())!=null?$:w),r(E,!0),H)return h()}).then(()=>{M?.(E,void 0),E=n(),c=!0,f.forEach(D=>D(E))}).catch(D=>{M?.(void 0,D)})};return o.persist={setOptions:C=>{i={...i,...C},C.storage&&(p=C.storage)},clearStorage:()=>{p?.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>A(),hasHydrated:()=>c,onHydrate:C=>(l.add(C),()=>{l.delete(C)}),onFinishHydration:C=>(f.add(C),()=>{f.delete(C)})},i.skipHydration||A(),E||w},VDe=Egt;u();var qDe=e=>{let t,r=new Set,n=(p,h)=>{let y=typeof p==\"function\"?p(t):p;if(!Object.is(y,t)){let w=t;t=h??(typeof y!=\"object\"||y===null)?y:Object.assign({},t,y),r.forEach(E=>E(t,w))}},o=()=>t,l={setState:n,getState:o,getInitialState:()=>f,subscribe:p=>(r.add(p),()=>r.delete(p))},f=t=e(n,o,l);return l},SR=e=>e?qDe(e):qDe;u();kR();var Pq=class{constructor(t){Object.defineProperty(this,\"uid\",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,\"_emitter\",{enumerable:!0,configurable:!0,writable:!0,value:new fw.default})}on(t,r){this._emitter.on(t,r)}once(t,r){this._emitter.once(t,r)}off(t,r){this._emitter.off(t,r)}emit(t,...r){let n=r[0];this._emitter.emit(t,{uid:this.uid,...n})}listenerCount(t){return this._emitter.listenerCount(t)}};function ZDe(e){return new Pq(e)}u();u();function Rq(e,t){return JSON.parse(e,(r,n)=>{let o=n;return o?.__type===\"bigint\"&&(o=BigInt(o.value)),o?.__type===\"Map\"&&(o=new Map(o.value)),t?.(r,o)??o})}u();function WDe(e,t){return e.slice(0,t).join(\".\")||\".\"}function JDe(e,t){let{length:r}=e;for(let n=0;n<r;++n)if(e[n]===t)return n+1;return 0}function Agt(e,t){let r=typeof e==\"function\",n=typeof t==\"function\",o=[],i=[];return function(l,f){if(typeof f==\"object\")if(o.length){let p=JDe(o,this);p===0?o[o.length]=this:(o.splice(p),i.splice(p)),i[i.length]=l;let h=JDe(o,f);if(h!==0)return n?t.call(this,l,f,WDe(i,h)):`[ref=${WDe(i,h)}]`}else o[0]=f,i[0]=l;return r?e.call(this,l,f):f}}function Oq(e,t,r,n){return JSON.stringify(e,Agt((o,i)=>{let c=i;return typeof c==\"bigint\"&&(c={__type:\"bigint\",value:i.toString()}),c instanceof Map&&(c={__type:\"Map\",value:Array.from(i.entries())}),t?.(o,c)??c},n),r??void 0)}function Bq(e){let{deserialize:t=Rq,key:r=\"wagmi\",serialize:n=Oq,storage:o=Mq}=e;function i(c){return c instanceof Promise?c.then(l=>l).catch(()=>null):c}return{...o,key:r,async getItem(c,l){let f=o.getItem(`${r}.${c}`),p=await i(f);return p?t(p)??null:l??null},async setItem(c,l){let f=`${r}.${c}`;l===null?await i(o.removeItem(f)):await i(o.setItem(f,n(l)))},async removeItem(c){await i(o.removeItem(`${r}.${c}`))}}}var Mq={getItem:()=>null,setItem:()=>{},removeItem:()=>{}};function QDe(){let e=typeof window<\"u\"&&window.localStorage?window.localStorage:Mq;return{getItem(t){return e.getItem(t)},removeItem(t){e.removeItem(t)},setItem(t,r){try{e.setItem(t,r)}catch{}}}}u();var CR=256,TR;function YDe(e=11){if(!TR||CR+e>256*2){TR=\"\",CR=0;for(let t=0;t<256;t++)TR+=(256+Math.random()*256|0).toString(16).substring(1)}return TR.substring(CR,CR+++e)}function IR(e){let{multiInjectedProviderDiscovery:t=!0,storage:r=Bq({storage:QDe()}),syncConnectedChain:n=!0,ssr:o=!1,...i}=e,c=typeof window<\"u\"&&t?Cq():void 0,l=SR(()=>i.chains),f=SR(()=>{let V=[],G=new Set;for(let K of i.connectors??[]){let Q=p(K);if(V.push(Q),!o&&Q.rdns){let X=typeof Q.rdns==\"string\"?[Q.rdns]:Q.rdns;for(let Y of X)G.add(Y)}}if(!o&&c){let K=c.getProviders();for(let Q of K)G.has(Q.info.rdns)||V.push(p(h(Q)))}return V});function p(V){let G=ZDe(YDe()),K={...V({emitter:G,chains:l.getState(),storage:r,transports:i.transports}),emitter:G,uid:G.uid};return G.on(\"connect\",$),K.setup?.(),K}function h(V){let{info:G}=V,K=V.provider;return Ep({target:{...G,id:G.rdns,provider:K}})}let y=new Map;function w(V={}){let G=V.chainId??R.getState().chainId,K=l.getState().find(X=>X.id===G);if(V.chainId&&!K)throw new vs;{let X=y.get(R.getState().chainId);if(X&&!K)return X;if(!K)throw new vs}{let X=y.get(G);if(X)return X}let Q;if(i.client)Q=i.client({chain:K});else{let X=K.id,Y=l.getState().map(N=>N.id),fe={},ce=Object.entries(i);for(let[N,_]of ce)if(!(N===\"chains\"||N===\"client\"||N===\"connectors\"||N===\"transports\"))if(typeof _==\"object\")if(X in _)fe[N]=_[X];else{if(Y.some(O=>O in _))continue;fe[N]=_}else fe[N]=_;Q=gp({...fe,chain:K,batch:fe.batch??{multicall:!0},transport:N=>i.transports[X]({...N,connectors:f})})}return y.set(G,Q),Q}function E(){return{chainId:l.getState()[0].id,connections:new Map,current:null,status:\"disconnected\"}}let A,C=\"0.0.0-canary-\";aw.startsWith(C)?A=Number.parseInt(aw.replace(C,\"\"),10):A=Number.parseInt(aw.split(\".\")[0]??\"0\",10);let R=SR(FDe(r?VDe(E,{migrate(V,G){if(G===A)return V;let K=E(),Q=M(V,K.chainId);return{...K,chainId:Q}},name:\"store\",partialize(V){return{connections:{__type:\"Map\",value:Array.from(V.connections.entries()).map(([G,K])=>{let{id:Q,name:X,type:Y,uid:fe}=K.connector;return[G,{...K,connector:{id:Q,name:X,type:Y,uid:fe}}]})},chainId:V.chainId,current:V.current}},merge(V,G){typeof V==\"object\"&&V&&\"status\"in V&&delete V.status;let K=M(V,G.chainId);return{...G,...V,chainId:K}},skipHydration:o,storage:r,version:A}):E));R.setState(E());function M(V,G){return V&&typeof V==\"object\"&&\"chainId\"in V&&typeof V.chainId==\"number\"&&l.getState().some(K=>K.id===V.chainId)?V.chainId:G}n&&R.subscribe(({connections:V,current:G})=>G?V.get(G)?.chainId:void 0,V=>{if(l.getState().some(K=>K.id===V))return R.setState(K=>({...K,chainId:V??K.chainId}))}),c?.subscribe(V=>{let G=new Set,K=new Set;for(let X of f.getState())if(G.add(X.id),X.rdns){let Y=typeof X.rdns==\"string\"?[X.rdns]:X.rdns;for(let fe of Y)K.add(fe)}let Q=[];for(let X of V){if(K.has(X.info.rdns))continue;let Y=p(h(X));G.has(Y.id)||Q.push(Y)}r&&!R.persist.hasHydrated()||f.setState(X=>[...X,...Q],!0)});function D(V){R.setState(G=>{let K=G.connections.get(V.uid);return K?{...G,connections:new Map(G.connections).set(V.uid,{accounts:V.accounts??K.accounts,chainId:V.chainId??K.chainId,connector:K.connector})}:G})}function $(V){R.getState().status===\"connecting\"||R.getState().status===\"reconnecting\"||R.setState(G=>{let K=f.getState().find(Q=>Q.uid===V.uid);return K?(K.emitter.listenerCount(\"connect\")&&K.emitter.off(\"connect\",D),K.emitter.listenerCount(\"change\")||K.emitter.on(\"change\",D),K.emitter.listenerCount(\"disconnect\")||K.emitter.on(\"disconnect\",H),{...G,connections:new Map(G.connections).set(V.uid,{accounts:V.accounts,chainId:V.chainId,connector:K}),current:V.uid,status:\"connected\"}):G})}function H(V){R.setState(G=>{let K=G.connections.get(V.uid);if(K){let X=K.connector;X.emitter.listenerCount(\"change\")&&K.connector.emitter.off(\"change\",D),X.emitter.listenerCount(\"disconnect\")&&K.connector.emitter.off(\"disconnect\",H),X.emitter.listenerCount(\"connect\")||K.connector.emitter.on(\"connect\",$)}if(G.connections.delete(V.uid),G.connections.size===0)return{...G,connections:new Map,current:null,status:\"disconnected\"};let Q=G.connections.values().next().value;return{...G,connections:new Map(G.connections),current:Q.connector.uid}})}return{get chains(){return l.getState()},get connectors(){return f.getState()},storage:r,getClient:w,get state(){return R.getState()},setState(V){let G;typeof V==\"function\"?G=V(R.getState()):G=V;let K=E();typeof G!=\"object\"&&(G=K),Object.keys(K).some(X=>!(X in G))&&(G=K),R.setState(G,!0)},subscribe(V,G,K){return R.subscribe(V,G,K?{...K,fireImmediately:K.emitImmediately}:void 0)},_internal:{mipd:c,async revalidate(){let V=R.getState(),G=V.connections,K=V.current;for(let[,Q]of G){let X=Q.connector;X.isAuthorized&&await X.isAuthorized()||(G.delete(X.uid),K===X.uid&&(K=null))}R.setState(Q=>({...Q,connections:G,current:K}))},store:R,ssr:!!o,syncConnectedChain:n,transports:i.transports,chains:{setState(V){let G=typeof V==\"function\"?V(l.getState()):V;if(G.length!==0)return l.setState(G,!0)},subscribe(V){return l.subscribe(V)}},connectors:{providerDetailToConnector:h,setup:p,setState(V){return f.setState(typeof V==\"function\"?V(f.getState()):V,!0)},subscribe(V){return f.subscribe(V)}},events:{change:D,connect:$,disconnect:H}}}}u();function Dq(e,t){let{initialState:r,reconnectOnMount:n}=t;return r&&!e._internal.store.persist.hasHydrated()&&e.setState({...r,chainId:e.chains.some(o=>o.id===r.chainId)?r.chainId:e.chains[0].id,connections:n?r.connections:new Map,status:n?\"reconnecting\":\"disconnected\"}),{async onMount(){e._internal.ssr&&(await e._internal.store.persist.rehydrate(),e._internal.mipd&&e._internal.connectors.setState(o=>{let i=new Set;for(let f of o??[])if(f.rdns){let p=Array.isArray(f.rdns)?f.rdns:[f.rdns];for(let h of p)i.add(h)}let c=[],l=e._internal.mipd?.getProviders()??[];for(let f of l){if(i.has(f.info.rdns))continue;let p=e._internal.connectors.providerDetailToConnector(f),h=e._internal.connectors.setup(p);c.push(h)}return[...o,...c]})),n?UDe(e):e.storage&&e.setState(o=>({...o,connections:new Map}))}}}bn();var PR=_r(eo(),1);function XDe(e){let{children:t,config:r,initialState:n,reconnectOnMount:o=!0}=e,{onMount:i}=Dq(r,{initialState:n,reconnectOnMount:o});r._internal.ssr||i();let c=(0,PR.useRef)(!0);return(0,PR.useEffect)(()=>{if(c.current&&r._internal.ssr)return i(),()=>{c.current=!1}},[]),t}var uA=(0,cA.createContext)(void 0);function RR(e){let{children:t,config:r}=e,n={value:r};return(0,cA.createElement)(XDe,e,(0,cA.createElement)(uA.Provider,n,t))}u();u();u();var eNe=\"2.19.5\";var tNe=()=>`wagmi@${eNe}`;var OR=class extends Ra{constructor(){super(...arguments),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"WagmiError\"})}get docsBaseUrl(){return\"https://wagmi.sh/react\"}get version(){return tNe()}};u();var BR=class extends OR{constructor(){super(\"`useConfig` must be used within `WagmiProvider`.\",{docsPath:\"/api/WagmiProvider\"}),Object.defineProperty(this,\"name\",{enumerable:!0,configurable:!0,writable:!0,value:\"WagmiProviderNotFoundError\"})}};u();u();var rNe=_r(eo(),1);function di(e={}){let t=e.config??(0,rNe.useContext)(uA);if(!t)throw new BR;return t}u();u();u();function Nq(e,t){let{onChange:r}=t;return e._internal.chains.subscribe((n,o)=>{r(n,o)})}var MR=_r(eo(),1),dNe=_r(lNe(),1),Uq=e=>typeof e==\"object\"&&!Array.isArray(e);function fNe(e,t,r=t,n=ws){let o=(0,MR.useRef)([]),i=(0,dNe.useSyncExternalStoreWithSelector)(e,t,r,c=>c,(c,l)=>{if(Uq(c)&&Uq(l)&&o.current.length){for(let f of o.current)if(!n(c[f],l[f]))return!1;return!0}return n(c,l)});return(0,MR.useMemo)(()=>{if(Uq(i)){let c={...i},l={};for(let[f,p]of Object.entries(c))l={...l,[f]:{configurable:!1,enumerable:!0,get:()=>(o.current.includes(f)||o.current.push(f),p)}};return Object.defineProperties(c,l),c}return i},[i])}function lA(e={}){let t=di(e);return fNe(r=>_q(t,{onChange:r}),()=>iA(t))}u();u();u();u();u();var Qc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};u();u();var Tgt={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Pd,Bb,pNe,Igt=(pNe=class{constructor(){et(this,Pd,Tgt);et(this,Bb,!1)}setTimeoutProvider(e){re(this,Bb)&&e!==re(this,Pd)&&console.error(\"[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.\",{previous:re(this,Pd),provider:e}),Ue(this,Pd,e),Ue(this,Bb,!1)}setTimeout(e,t){return Ue(this,Bb,!0),re(this,Pd).setTimeout(e,t)}clearTimeout(e){re(this,Pd).clearTimeout(e)}setInterval(e,t){return Ue(this,Bb,!0),re(this,Pd).setInterval(e,t)}clearInterval(e){re(this,Pd).clearInterval(e)}},Pd=new WeakMap,Bb=new WeakMap,pNe),Rd=new Igt;function mNe(e){setTimeout(e,0)}var Es=typeof window>\"u\"||\"Deno\"in globalThis;function mo(){}function bNe(e,t){return typeof e==\"function\"?e(t):e}function dA(e){return typeof e==\"number\"&&e>=0&&e!==1/0}function NR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Xu(e,t){return typeof e==\"function\"?e(t):e}function _s(e,t){return typeof e==\"function\"?e(t):e}function UR(e,t){let{type:r=\"all\",exact:n,fetchStatus:o,predicate:i,queryKey:c,stale:l}=e;if(c){if(n){if(t.queryHash!==fA(c,t.options))return!1}else if(!Db(t.queryKey,c))return!1}if(r!==\"all\"){let f=t.isActive();if(r===\"active\"&&!f||r===\"inactive\"&&f)return!1}return!(typeof l==\"boolean\"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function $R(e,t){let{exact:r,status:n,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(Od(t.options.mutationKey)!==Od(i))return!1}else if(!Db(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||o&&!o(t))}function fA(e,t){return(t?.queryKeyHashFn||Od)(e)}function Od(e){return JSON.stringify(e,(t,r)=>$q(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function Db(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e==\"object\"&&typeof t==\"object\"?Object.keys(t).every(r=>Db(e[r],t[r])):!1}var Pgt=Object.prototype.hasOwnProperty;function DR(e,t){if(e===t)return e;let r=hNe(e)&&hNe(t);if(!r&&!($q(e)&&$q(t)))return t;let o=(r?e:Object.keys(e)).length,i=r?t:Object.keys(t),c=i.length,l=r?new Array(c):{},f=0;for(let p=0;p<c;p++){let h=r?p:i[p],y=e[h],w=t[h];if(y===w){l[h]=y,(r?p<o:Pgt.call(e,h))&&f++;continue}if(y===null||w===null||typeof y!=\"object\"||typeof w!=\"object\"){l[h]=w;continue}let E=DR(y,w);l[h]=E,E===y&&f++}return o===c&&f===o?e:l}function pw(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function hNe(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $q(e){if(!yNe(e))return!1;let t=e.constructor;if(t===void 0)return!0;let r=t.prototype;return!(!yNe(r)||!r.hasOwnProperty(\"isPrototypeOf\")||Object.getPrototypeOf(e)!==Object.prototype)}function yNe(e){return Object.prototype.toString.call(e)===\"[object Object]\"}function gNe(e){return new Promise(t=>{Rd.setTimeout(t,e)})}function pA(e,t,r){if(typeof r.structuralSharing==\"function\")return r.structuralSharing(e,t);if(r.structuralSharing!==!1){try{return DR(e,t)}catch(n){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${n}`),n}return DR(e,t)}return t}function xNe(e,t,r=0){let n=[...e,t];return r&&n.length>r?n.slice(1):n}function vNe(e,t,r=0){let n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var Mb=Symbol();function zR(e,t){return e.queryFn===Mb&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: \\'${e.queryHash}\\'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Mb?()=>Promise.reject(new Error(`Missing queryFn: \\'${e.queryHash}\\'`)):e.queryFn}function mA(e,t){return typeof e==\"function\"?e(...t):!!e}var Nb,Lh,mw,wNe,Rgt=(wNe=class extends Qc{constructor(){super();et(this,Nb);et(this,Lh);et(this,mw);Ue(this,mw,t=>{if(!Es&&window.addEventListener){let r=()=>t();return window.addEventListener(\"visibilitychange\",r,!1),()=>{window.removeEventListener(\"visibilitychange\",r)}}})}onSubscribe(){re(this,Lh)||this.setEventListener(re(this,mw))}onUnsubscribe(){var t;this.hasListeners()||((t=re(this,Lh))==null||t.call(this),Ue(this,Lh,void 0))}setEventListener(t){var r;Ue(this,mw,t),(r=re(this,Lh))==null||r.call(this),Ue(this,Lh,t(n=>{typeof n==\"boolean\"?this.setFocused(n):this.onFocus()}))}setFocused(t){re(this,Nb)!==t&&(Ue(this,Nb,t),this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return typeof re(this,Nb)==\"boolean\"?re(this,Nb):globalThis.document?.visibilityState!==\"hidden\"}},Nb=new WeakMap,Lh=new WeakMap,mw=new WeakMap,wNe),hw=new Rgt;u();function hA(){let e,t,r=new Promise((o,i)=>{e=o,t=i});r.status=\"pending\",r.catch(()=>{});function n(o){Object.assign(r,o),delete r.resolve,delete r.reject}return r.resolve=o=>{n({status:\"fulfilled\",value:o}),e(o)},r.reject=o=>{n({status:\"rejected\",reason:o}),t(o)},r}u();u();var ENe=mNe;function Ogt(){let e=[],t=0,r=l=>{l()},n=l=>{l()},o=ENe,i=l=>{t?e.push(l):o(()=>{r(l)})},c=()=>{let l=e;e=[],l.length&&o(()=>{n(()=>{l.forEach(f=>{r(f)})})})};return{batch:l=>{let f;t++;try{f=l()}finally{t--,t||c()}return f},batchCalls:l=>(...f)=>{i(()=>{l(...f)})},schedule:i,setNotifyFunction:l=>{r=l},setBatchNotifyFunction:l=>{n=l},setScheduler:l=>{o=l}}}var cn=Ogt();u();u();u();var yw,Hh,bw,_Ne,Bgt=(_Ne=class extends Qc{constructor(){super();et(this,yw,!0);et(this,Hh);et(this,bw);Ue(this,bw,t=>{if(!Es&&window.addEventListener){let r=()=>t(!0),n=()=>t(!1);return window.addEventListener(\"online\",r,!1),window.addEventListener(\"offline\",n,!1),()=>{window.removeEventListener(\"online\",r),window.removeEventListener(\"offline\",n)}}})}onSubscribe(){re(this,Hh)||this.setEventListener(re(this,bw))}onUnsubscribe(){var t;this.hasListeners()||((t=re(this,Hh))==null||t.call(this),Ue(this,Hh,void 0))}setEventListener(t){var r;Ue(this,bw,t),(r=re(this,Hh))==null||r.call(this),Ue(this,Hh,t(this.setOnline.bind(this)))}setOnline(t){re(this,yw)!==t&&(Ue(this,yw,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return re(this,yw)}},yw=new WeakMap,Hh=new WeakMap,bw=new WeakMap,_Ne),gw=new Bgt;function Mgt(e){return Math.min(1e3*2**e,3e4)}function zq(e){return(e??\"online\")===\"online\"?gw.isOnline():!0}var LR=class extends Error{constructor(e){super(\"CancelledError\"),this.revert=e?.revert,this.silent=e?.silent}};function HR(e){let t=!1,r=0,n,o=hA(),i=()=>o.status!==\"pending\",c=C=>{if(!i()){let R=new LR(C);w(R),e.onCancel?.(R)}},l=()=>{t=!0},f=()=>{t=!1},p=()=>hw.isFocused()&&(e.networkMode===\"always\"||gw.isOnline())&&e.canRun(),h=()=>zq(e.networkMode)&&e.canRun(),y=C=>{i()||(n?.(),o.resolve(C))},w=C=>{i()||(n?.(),o.reject(C))},E=()=>new Promise(C=>{n=R=>{(i()||p())&&C(R)},e.onPause?.()}).then(()=>{n=void 0,i()||e.onContinue?.()}),A=()=>{if(i())return;let C,R=r===0?e.initialPromise:void 0;try{C=R??e.fn()}catch(M){C=Promise.reject(M)}Promise.resolve(C).then(y).catch(M=>{if(i())return;let D=e.retry??(Es?0:3),$=e.retryDelay??Mgt,H=typeof $==\"function\"?$(r,M):$,V=D===!0||typeof D==\"number\"&&r<D||typeof D==\"function\"&&D(r,M);if(t||!V){w(M);return}r++,e.onFail?.(r,M),gNe(H).then(()=>p()?void 0:E()).then(()=>{t?w(M):A()})})};return{promise:o,status:()=>o.status,cancel:c,continue:()=>(n?.(),o),cancelRetry:l,continueRetry:f,canStart:h,start:()=>(h()?A():E().then(A),o)}}u();var Ub,SNe,jR=(SNe=class{constructor(){et(this,Ub)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),dA(this.gcTime)&&Ue(this,Ub,Rd.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Es?1/0:300*1e3))}clearGcTimeout(){re(this,Ub)&&(Rd.clearTimeout(re(this,Ub)),Ue(this,Ub,void 0))}},Ub=new WeakMap,SNe);var $b,xw,Yc,zb,fi,yA,Lb,el,_p,CNe,TNe=(CNe=class extends jR{constructor(t){super();et(this,el);et(this,$b);et(this,xw);et(this,Yc);et(this,zb);et(this,fi);et(this,yA);et(this,Lb);Ue(this,Lb,!1),Ue(this,yA,t.defaultOptions),this.setOptions(t.options),this.observers=[],Ue(this,zb,t.client),Ue(this,Yc,re(this,zb).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Ue(this,$b,kNe(this.options)),this.state=t.state??re(this,$b),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return re(this,fi)?.promise}setOptions(t){if(this.options={...re(this,yA),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let r=kNe(this.options);r.data!==void 0&&(this.setState(ANe(r.data,r.dataUpdatedAt)),Ue(this,$b,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===\"idle\"&&re(this,Yc).remove(this)}setData(t,r){let n=pA(this.state.data,t,this.options);return Mt(this,el,_p).call(this,{data:n,type:\"success\",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),n}setState(t,r){Mt(this,el,_p).call(this,{type:\"setState\",state:t,setStateOptions:r})}cancel(t){let r=re(this,fi)?.promise;return re(this,fi)?.cancel(t),r?r.then(mo).catch(mo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(re(this,$b))}isActive(){return this.observers.some(t=>_s(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Mb||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Xu(t.options.staleTime,this)===\"static\"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t===\"static\"?!1:this.state.isInvalidated?!0:!NR(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),re(this,fi)?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),re(this,fi)?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),re(this,Yc).notify({type:\"observerAdded\",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(re(this,fi)&&(re(this,Lb)?re(this,fi).cancel({revert:!0}):re(this,fi).cancelRetry()),this.scheduleGc()),re(this,Yc).notify({type:\"observerRemoved\",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Mt(this,el,_p).call(this,{type:\"invalidate\"})}async fetch(t,r){if(this.state.fetchStatus!==\"idle\"&&re(this,fi)?.status()!==\"rejected\"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(re(this,fi))return re(this,fi).continueRetry(),re(this,fi).promise}if(t&&this.setOptions(t),!this.options.queryFn){let f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}Array.isArray(this.options.queryKey)||console.error(\"As of v4, queryKey needs to be an Array. If you are using a string like \\'repoData\\', please change it to an Array, e.g. [\\'repoData\\']\");let n=new AbortController,o=f=>{Object.defineProperty(f,\"signal\",{enumerable:!0,get:()=>(Ue(this,Lb,!0),n.signal)})},i=()=>{let f=zR(this.options,r),h=(()=>{let y={client:re(this,zb),queryKey:this.queryKey,meta:this.meta};return o(y),y})();return Ue(this,Lb,!1),this.options.persister?this.options.persister(f,h,this):f(h)},l=(()=>{let f={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:re(this,zb),state:this.state,fetchFn:i};return o(f),f})();this.options.behavior?.onFetch(l,this),Ue(this,xw,this.state),(this.state.fetchStatus===\"idle\"||this.state.fetchMeta!==l.fetchOptions?.meta)&&Mt(this,el,_p).call(this,{type:\"fetch\",meta:l.fetchOptions?.meta}),Ue(this,fi,HR({initialPromise:r?.initialPromise,fn:l.fetchFn,onCancel:f=>{f instanceof LR&&f.revert&&this.setState({...re(this,xw),fetchStatus:\"idle\"}),n.abort()},onFail:(f,p)=>{Mt(this,el,_p).call(this,{type:\"failed\",failureCount:f,error:p})},onPause:()=>{Mt(this,el,_p).call(this,{type:\"pause\"})},onContinue:()=>{Mt(this,el,_p).call(this,{type:\"continue\"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}));try{let f=await re(this,fi).start();if(f===void 0)throw console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),new Error(`${this.queryHash} data is undefined`);return this.setData(f),re(this,Yc).config.onSuccess?.(f,this),re(this,Yc).config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof LR){if(f.silent)return re(this,fi).promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw Mt(this,el,_p).call(this,{type:\"error\",error:f}),re(this,Yc).config.onError?.(f,this),re(this,Yc).config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}},$b=new WeakMap,xw=new WeakMap,Yc=new WeakMap,zb=new WeakMap,fi=new WeakMap,yA=new WeakMap,Lb=new WeakMap,el=new WeakSet,_p=function(t){let r=n=>{switch(t.type){case\"failed\":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case\"pause\":return{...n,fetchStatus:\"paused\"};case\"continue\":return{...n,fetchStatus:\"fetching\"};case\"fetch\":return{...n,...Lq(n.data,this.options),fetchMeta:t.meta??null};case\"success\":let o={...n,...ANe(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:\"idle\",fetchFailureCount:0,fetchFailureReason:null}};return Ue(this,xw,t.manual?o:void 0),o;case\"error\":let i=t.error;return{...n,error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:\"idle\",status:\"error\"};case\"invalidate\":return{...n,isInvalidated:!0};case\"setState\":return{...n,...t.state}}};this.state=r(this.state),cn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),re(this,Yc).notify({query:this,type:\"updated\",action:t})})},CNe);function Lq(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:zq(t.networkMode)?\"fetching\":\"paused\",...e===void 0&&{error:null,status:\"pending\"}}}function ANe(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:\"success\"}}function kNe(e){let t=typeof e.initialData==\"function\"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt==\"function\"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?\"success\":\"pending\",fetchStatus:\"idle\"}}var Ss,xr,gA,Ba,Hb,vw,Sp,jh,xA,ww,Ew,jb,Fb,Fh,_w,Jr,bA,Hq,jq,Fq,Vq,qq,Gq,Kq,ONe,RNe,Wq=(RNe=class extends Qc{constructor(t,r){super();et(this,Jr);et(this,Ss);et(this,xr);et(this,gA);et(this,Ba);et(this,Hb);et(this,vw);et(this,Sp);et(this,jh);et(this,xA);et(this,ww);et(this,Ew);et(this,jb);et(this,Fb);et(this,Fh);et(this,_w,new Set);this.options=r,Ue(this,Ss,t),Ue(this,jh,null),Ue(this,Sp,hA()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(re(this,xr).addObserver(this),INe(re(this,xr),this.options)?Mt(this,Jr,bA).call(this):this.updateResult(),Mt(this,Jr,Vq).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Zq(re(this,xr),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Zq(re(this,xr),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Mt(this,Jr,qq).call(this),Mt(this,Jr,Gq).call(this),re(this,xr).removeObserver(this)}setOptions(t){let r=this.options,n=re(this,xr);if(this.options=re(this,Ss).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!=\"boolean\"&&typeof this.options.enabled!=\"function\"&&typeof _s(this.options.enabled,re(this,xr))!=\"boolean\")throw new Error(\"Expected enabled to be a boolean or a callback that returns a boolean\");Mt(this,Jr,Kq).call(this),re(this,xr).setOptions(this.options),r._defaulted&&!pw(this.options,r)&&re(this,Ss).getQueryCache().notify({type:\"observerOptionsUpdated\",query:re(this,xr),observer:this});let o=this.hasListeners();o&&PNe(re(this,xr),n,this.options,r)&&Mt(this,Jr,bA).call(this),this.updateResult(),o&&(re(this,xr)!==n||_s(this.options.enabled,re(this,xr))!==_s(r.enabled,re(this,xr))||Xu(this.options.staleTime,re(this,xr))!==Xu(r.staleTime,re(this,xr)))&&Mt(this,Jr,Hq).call(this);let i=Mt(this,Jr,jq).call(this);o&&(re(this,xr)!==n||_s(this.options.enabled,re(this,xr))!==_s(r.enabled,re(this,xr))||i!==re(this,Fh))&&Mt(this,Jr,Fq).call(this,i)}getOptimisticResult(t){let r=re(this,Ss).getQueryCache().build(re(this,Ss),t),n=this.createResult(r,t);return Ngt(this,n)&&(Ue(this,Ba,n),Ue(this,vw,this.options),Ue(this,Hb,re(this,xr).state)),n}getCurrentResult(){return re(this,Ba)}trackResult(t,r){return new Proxy(t,{get:(n,o)=>(this.trackProp(o),r?.(o),o===\"promise\"&&(this.trackProp(\"data\"),!this.options.experimental_prefetchInRender&&re(this,Sp).status===\"pending\"&&re(this,Sp).reject(new Error(\"experimental_prefetchInRender feature flag is not enabled\"))),Reflect.get(n,o))})}trackProp(t){re(this,_w).add(t)}getCurrentQuery(){return re(this,xr)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let r=re(this,Ss).defaultQueryOptions(t),n=re(this,Ss).getQueryCache().build(re(this,Ss),r);return n.fetch().then(()=>this.createResult(n,r))}fetch(t){return Mt(this,Jr,bA).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),re(this,Ba)))}createResult(t,r){let n=re(this,xr),o=this.options,i=re(this,Ba),c=re(this,Hb),l=re(this,vw),p=t!==n?t.state:re(this,gA),{state:h}=t,y={...h},w=!1,E;if(r._optimisticResults){let X=this.hasListeners(),Y=!X&&INe(t,r),fe=X&&PNe(t,n,r,o);(Y||fe)&&(y={...y,...Lq(h.data,t.options)}),r._optimisticResults===\"isRestoring\"&&(y.fetchStatus=\"idle\")}let{error:A,errorUpdatedAt:C,status:R}=y;E=y.data;let M=!1;if(r.placeholderData!==void 0&&E===void 0&&R===\"pending\"){let X;i?.isPlaceholderData&&r.placeholderData===l?.placeholderData?(X=i.data,M=!0):X=typeof r.placeholderData==\"function\"?r.placeholderData(re(this,Ew)?.state.data,re(this,Ew)):r.placeholderData,X!==void 0&&(R=\"success\",E=pA(i?.data,X,r),w=!0)}if(r.select&&E!==void 0&&!M)if(i&&E===c?.data&&r.select===re(this,xA))E=re(this,ww);else try{Ue(this,xA,r.select),E=r.select(E),E=pA(i?.data,E,r),Ue(this,ww,E),Ue(this,jh,null)}catch(X){Ue(this,jh,X)}re(this,jh)&&(A=re(this,jh),E=re(this,ww),C=Date.now(),R=\"error\");let D=y.fetchStatus===\"fetching\",$=R===\"pending\",H=R===\"error\",V=$&&D,G=E!==void 0,Q={status:R,fetchStatus:y.fetchStatus,isPending:$,isSuccess:R===\"success\",isError:H,isInitialLoading:V,isLoading:V,data:E,dataUpdatedAt:y.dataUpdatedAt,error:A,errorUpdatedAt:C,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>p.dataUpdateCount||y.errorUpdateCount>p.errorUpdateCount,isFetching:D,isRefetching:D&&!$,isLoadingError:H&&!G,isPaused:y.fetchStatus===\"paused\",isPlaceholderData:w,isRefetchError:H&&G,isStale:Jq(t,r),refetch:this.refetch,promise:re(this,Sp),isEnabled:_s(r.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){let X=ce=>{Q.status===\"error\"?ce.reject(Q.error):Q.data!==void 0&&ce.resolve(Q.data)},Y=()=>{let ce=Ue(this,Sp,Q.promise=hA());X(ce)},fe=re(this,Sp);switch(fe.status){case\"pending\":t.queryHash===n.queryHash&&X(fe);break;case\"fulfilled\":(Q.status===\"error\"||Q.data!==fe.value)&&Y();break;case\"rejected\":(Q.status!==\"error\"||Q.error!==fe.reason)&&Y();break}}return Q}updateResult(){let t=re(this,Ba),r=this.createResult(re(this,xr),this.options);if(Ue(this,Hb,re(this,xr).state),Ue(this,vw,this.options),re(this,Hb).data!==void 0&&Ue(this,Ew,re(this,xr)),pw(r,t))return;Ue(this,Ba,r);let n=()=>{if(!t)return!0;let{notifyOnChangeProps:o}=this.options,i=typeof o==\"function\"?o():o;if(i===\"all\"||!i&&!re(this,_w).size)return!0;let c=new Set(i??re(this,_w));return this.options.throwOnError&&c.add(\"error\"),Object.keys(re(this,Ba)).some(l=>{let f=l;return re(this,Ba)[f]!==t[f]&&c.has(f)})};Mt(this,Jr,ONe).call(this,{listeners:n()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Mt(this,Jr,Vq).call(this)}},Ss=new WeakMap,xr=new WeakMap,gA=new WeakMap,Ba=new WeakMap,Hb=new WeakMap,vw=new WeakMap,Sp=new WeakMap,jh=new WeakMap,xA=new WeakMap,ww=new WeakMap,Ew=new WeakMap,jb=new WeakMap,Fb=new WeakMap,Fh=new WeakMap,_w=new WeakMap,Jr=new WeakSet,bA=function(t){Mt(this,Jr,Kq).call(this);let r=re(this,xr).fetch(this.options,t);return t?.throwOnError||(r=r.catch(mo)),r},Hq=function(){Mt(this,Jr,qq).call(this);let t=Xu(this.options.staleTime,re(this,xr));if(Es||re(this,Ba).isStale||!dA(t))return;let n=NR(re(this,Ba).dataUpdatedAt,t)+1;Ue(this,jb,Rd.setTimeout(()=>{re(this,Ba).isStale||this.updateResult()},n))},jq=function(){return(typeof this.options.refetchInterval==\"function\"?this.options.refetchInterval(re(this,xr)):this.options.refetchInterval)??!1},Fq=function(t){Mt(this,Jr,Gq).call(this),Ue(this,Fh,t),!(Es||_s(this.options.enabled,re(this,xr))===!1||!dA(re(this,Fh))||re(this,Fh)===0)&&Ue(this,Fb,Rd.setInterval(()=>{(this.options.refetchIntervalInBackground||hw.isFocused())&&Mt(this,Jr,bA).call(this)},re(this,Fh)))},Vq=function(){Mt(this,Jr,Hq).call(this),Mt(this,Jr,Fq).call(this,Mt(this,Jr,jq).call(this))},qq=function(){re(this,jb)&&(Rd.clearTimeout(re(this,jb)),Ue(this,jb,void 0))},Gq=function(){re(this,Fb)&&(Rd.clearInterval(re(this,Fb)),Ue(this,Fb,void 0))},Kq=function(){let t=re(this,Ss).getQueryCache().build(re(this,Ss),this.options);if(t===re(this,xr))return;let r=re(this,xr);Ue(this,xr,t),Ue(this,gA,t.state),this.hasListeners()&&(r?.removeObserver(this),t.addObserver(this))},ONe=function(t){cn.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(re(this,Ba))}),re(this,Ss).getQueryCache().notify({query:re(this,xr),type:\"observerResultsUpdated\"})})},RNe);function Dgt(e,t){return _s(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===\"error\"&&t.retryOnMount===!1)}function INe(e,t){return Dgt(e,t)||e.state.data!==void 0&&Zq(e,t,t.refetchOnMount)}function Zq(e,t,r){if(_s(t.enabled,e)!==!1&&Xu(t.staleTime,e)!==\"static\"){let n=typeof r==\"function\"?r(e):r;return n===\"always\"||n!==!1&&Jq(e,t)}return!1}function PNe(e,t,r,n){return(e!==t||_s(n.enabled,e)===!1)&&(!r.suspense||e.state.status!==\"error\")&&Jq(e,r)}function Jq(e,t){return _s(t.enabled,e)!==!1&&e.isStaleByTime(Xu(t.staleTime,e))}function Ngt(e,t){return!pw(e.getCurrentResult(),t)}u();function Qq(e){return{onFetch:(t,r)=>{let n=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],c=t.state.data?.pageParams||[],l={pages:[],pageParams:[]},f=0,p=async()=>{let h=!1,y=A=>{Object.defineProperty(A,\"signal\",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener(\"abort\",()=>{h=!0}),t.signal)})},w=zR(t.options,t.fetchOptions),E=async(A,C,R)=>{if(h)return Promise.reject();if(C==null&&A.pages.length)return Promise.resolve(A);let D=(()=>{let G={client:t.client,queryKey:t.queryKey,pageParam:C,direction:R?\"backward\":\"forward\",meta:t.options.meta};return y(G),G})(),$=await w(D),{maxPages:H}=t.options,V=R?vNe:xNe;return{pages:V(A.pages,$,H),pageParams:V(A.pageParams,C,H)}};if(o&&i.length){let A=o===\"backward\",C=A?Ugt:BNe,R={pages:i,pageParams:c},M=C(n,R);l=await E(R,M,A)}else{let A=e??i.length;do{let C=f===0?c[0]??n.initialPageParam:BNe(n,l);if(f>0&&C==null)break;l=await E(l,C),f++}while(f<A)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=p}}}function BNe(e,{pages:t,pageParams:r}){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function Ugt(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}u();u();var vA,Bd,Ma,Vb,Md,Vh,MNe,DNe=(MNe=class extends jR{constructor(t){super();et(this,Md);et(this,vA);et(this,Bd);et(this,Ma);et(this,Vb);Ue(this,vA,t.client),this.mutationId=t.mutationId,Ue(this,Ma,t.mutationCache),Ue(this,Bd,[]),this.state=t.state||Yq(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){re(this,Bd).includes(t)||(re(this,Bd).push(t),this.clearGcTimeout(),re(this,Ma).notify({type:\"observerAdded\",mutation:this,observer:t}))}removeObserver(t){Ue(this,Bd,re(this,Bd).filter(r=>r!==t)),this.scheduleGc(),re(this,Ma).notify({type:\"observerRemoved\",mutation:this,observer:t})}optionalRemove(){re(this,Bd).length||(this.state.status===\"pending\"?this.scheduleGc():re(this,Ma).remove(this))}continue(){return re(this,Vb)?.continue()??this.execute(this.state.variables)}async execute(t){let r=()=>{Mt(this,Md,Vh).call(this,{type:\"continue\"})},n={client:re(this,vA),meta:this.options.meta,mutationKey:this.options.mutationKey};Ue(this,Vb,HR({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(new Error(\"No mutationFn found\")),onFail:(c,l)=>{Mt(this,Md,Vh).call(this,{type:\"failed\",failureCount:c,error:l})},onPause:()=>{Mt(this,Md,Vh).call(this,{type:\"pause\"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>re(this,Ma).canRun(this)}));let o=this.state.status===\"pending\",i=!re(this,Vb).canStart();try{if(o)r();else{Mt(this,Md,Vh).call(this,{type:\"pending\",variables:t,isPaused:i}),await re(this,Ma).config.onMutate?.(t,this,n);let l=await this.options.onMutate?.(t,n);l!==this.state.context&&Mt(this,Md,Vh).call(this,{type:\"pending\",context:l,variables:t,isPaused:i})}let c=await re(this,Vb).start();return await re(this,Ma).config.onSuccess?.(c,t,this.state.context,this,n),await this.options.onSuccess?.(c,t,this.state.context,n),await re(this,Ma).config.onSettled?.(c,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(c,null,t,this.state.context,n),Mt(this,Md,Vh).call(this,{type:\"success\",data:c}),c}catch(c){try{throw await re(this,Ma).config.onError?.(c,t,this.state.context,this,n),await this.options.onError?.(c,t,this.state.context,n),await re(this,Ma).config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,c,t,this.state.context,n),c}finally{Mt(this,Md,Vh).call(this,{type:\"error\",error:c})}}finally{re(this,Ma).runNext(this)}}},vA=new WeakMap,Bd=new WeakMap,Ma=new WeakMap,Vb=new WeakMap,Md=new WeakSet,Vh=function(t){let r=n=>{switch(t.type){case\"failed\":return{...n,failureCount:t.failureCount,failureReason:t.error};case\"pause\":return{...n,isPaused:!0};case\"continue\":return{...n,isPaused:!1};case\"pending\":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:\"pending\",variables:t.variables,submittedAt:Date.now()};case\"success\":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:\"success\",isPaused:!1};case\"error\":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:\"error\"}}};this.state=r(this.state),cn.batch(()=>{re(this,Bd).forEach(n=>{n.onMutationUpdate(t)}),re(this,Ma).notify({mutation:this,type:\"updated\",action:t})})},MNe);function Yq(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:\"idle\",variables:void 0,submittedAt:0}}var Ap,tl,wA,NNe,UNe=(NNe=class extends Qc{constructor(t={}){super();et(this,Ap);et(this,tl);et(this,wA);this.config=t,Ue(this,Ap,new Set),Ue(this,tl,new Map),Ue(this,wA,0)}build(t,r,n){let o=new DNe({client:t,mutationCache:this,mutationId:++oS(this,wA)._,options:t.defaultMutationOptions(r),state:n});return this.add(o),o}add(t){re(this,Ap).add(t);let r=FR(t);if(typeof r==\"string\"){let n=re(this,tl).get(r);n?n.push(t):re(this,tl).set(r,[t])}this.notify({type:\"added\",mutation:t})}remove(t){if(re(this,Ap).delete(t)){let r=FR(t);if(typeof r==\"string\"){let n=re(this,tl).get(r);if(n)if(n.length>1){let o=n.indexOf(t);o!==-1&&n.splice(o,1)}else n[0]===t&&re(this,tl).delete(r)}}this.notify({type:\"removed\",mutation:t})}canRun(t){let r=FR(t);if(typeof r==\"string\"){let o=re(this,tl).get(r)?.find(i=>i.state.status===\"pending\");return!o||o===t}else return!0}runNext(t){let r=FR(t);return typeof r==\"string\"?re(this,tl).get(r)?.find(o=>o!==t&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){cn.batch(()=>{re(this,Ap).forEach(t=>{this.notify({type:\"removed\",mutation:t})}),re(this,Ap).clear(),re(this,tl).clear()})}getAll(){return Array.from(re(this,Ap))}find(t){let r={exact:!0,...t};return this.getAll().find(n=>$R(r,n))}findAll(t={}){return this.getAll().filter(r=>$R(t,r))}notify(t){cn.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){let t=this.getAll().filter(r=>r.state.isPaused);return cn.batch(()=>Promise.all(t.map(r=>r.continue().catch(mo))))}},Ap=new WeakMap,tl=new WeakMap,wA=new WeakMap,NNe);function FR(e){return e.options.scope?.id}u();var kp,qh,As,Cp,Tp,VR,Xq,$Ne,eG=($Ne=class extends Qc{constructor(t,r){super();et(this,Tp);et(this,kp);et(this,qh);et(this,As);et(this,Cp);Ue(this,kp,t),this.setOptions(r),this.bindMethods(),Mt(this,Tp,VR).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let r=this.options;this.options=re(this,kp).defaultMutationOptions(t),pw(this.options,r)||re(this,kp).getMutationCache().notify({type:\"observerOptionsUpdated\",mutation:re(this,As),observer:this}),r?.mutationKey&&this.options.mutationKey&&Od(r.mutationKey)!==Od(this.options.mutationKey)?this.reset():re(this,As)?.state.status===\"pending\"&&re(this,As).setOptions(this.options)}onUnsubscribe(){this.hasListeners()||re(this,As)?.removeObserver(this)}onMutationUpdate(t){Mt(this,Tp,VR).call(this),Mt(this,Tp,Xq).call(this,t)}getCurrentResult(){return re(this,qh)}reset(){re(this,As)?.removeObserver(this),Ue(this,As,void 0),Mt(this,Tp,VR).call(this),Mt(this,Tp,Xq).call(this)}mutate(t,r){return Ue(this,Cp,r),re(this,As)?.removeObserver(this),Ue(this,As,re(this,kp).getMutationCache().build(re(this,kp),this.options)),re(this,As).addObserver(this),re(this,As).execute(t)}},kp=new WeakMap,qh=new WeakMap,As=new WeakMap,Cp=new WeakMap,Tp=new WeakSet,VR=function(){let t=re(this,As)?.state??Yq();Ue(this,qh,{...t,isPending:t.status===\"pending\",isSuccess:t.status===\"success\",isError:t.status===\"error\",isIdle:t.status===\"idle\",mutate:this.mutate,reset:this.reset})},Xq=function(t){cn.batch(()=>{if(re(this,Cp)&&this.hasListeners()){let r=re(this,qh).variables,n=re(this,qh).context,o={client:re(this,kp),meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type===\"success\"?(re(this,Cp).onSuccess?.(t.data,r,n,o),re(this,Cp).onSettled?.(t.data,null,r,n,o)):t?.type===\"error\"&&(re(this,Cp).onError?.(t.error,r,n,o),re(this,Cp).onSettled?.(void 0,t.error,r,n,o))}this.listeners.forEach(r=>{r(re(this,qh))})})},$Ne);u();var Dd,zNe,LNe=(zNe=class extends Qc{constructor(t={}){super();et(this,Dd);this.config=t,Ue(this,Dd,new Map)}build(t,r,n){let o=r.queryKey,i=r.queryHash??fA(o,r),c=this.get(i);return c||(c=new TNe({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(o)}),this.add(c)),c}add(t){re(this,Dd).has(t.queryHash)||(re(this,Dd).set(t.queryHash,t),this.notify({type:\"added\",query:t}))}remove(t){let r=re(this,Dd).get(t.queryHash);r&&(t.destroy(),r===t&&re(this,Dd).delete(t.queryHash),this.notify({type:\"removed\",query:t}))}clear(){cn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return re(this,Dd).get(t)}getAll(){return[...re(this,Dd).values()]}find(t){let r={exact:!0,...t};return this.getAll().find(n=>UR(r,n))}findAll(t={}){let r=this.getAll();return Object.keys(t).length>0?r.filter(n=>UR(t,n)):r}notify(t){cn.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){cn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){cn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Dd=new WeakMap,zNe);u();var ho,Gh,Kh,Sw,Aw,Zh,kw,Cw,HNe,tG=(HNe=class{constructor(e={}){et(this,ho);et(this,Gh);et(this,Kh);et(this,Sw);et(this,Aw);et(this,Zh);et(this,kw);et(this,Cw);Ue(this,ho,e.queryCache||new LNe),Ue(this,Gh,e.mutationCache||new UNe),Ue(this,Kh,e.defaultOptions||{}),Ue(this,Sw,new Map),Ue(this,Aw,new Map),Ue(this,Zh,0)}mount(){oS(this,Zh)._++,re(this,Zh)===1&&(Ue(this,kw,hw.subscribe(async e=>{e&&(await this.resumePausedMutations(),re(this,ho).onFocus())})),Ue(this,Cw,gw.subscribe(async e=>{e&&(await this.resumePausedMutations(),re(this,ho).onOnline())})))}unmount(){var e,t;oS(this,Zh)._--,re(this,Zh)===0&&((e=re(this,kw))==null||e.call(this),Ue(this,kw,void 0),(t=re(this,Cw))==null||t.call(this),Ue(this,Cw,void 0))}isFetching(e){return re(this,ho).findAll({...e,fetchStatus:\"fetching\"}).length}isMutating(e){return re(this,Gh).findAll({...e,status:\"pending\"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return re(this,ho).get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=re(this,ho).build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Xu(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return re(this,ho).findAll(e).map(({queryKey:t,state:r})=>{let n=r.data;return[t,n]})}setQueryData(e,t,r){let n=this.defaultQueryOptions({queryKey:e}),i=re(this,ho).get(n.queryHash)?.state.data,c=bNe(t,i);if(c!==void 0)return re(this,ho).build(this,n).setData(c,{...r,manual:!0})}setQueriesData(e,t,r){return cn.batch(()=>re(this,ho).findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return re(this,ho).get(t.queryHash)?.state}removeQueries(e){let t=re(this,ho);cn.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){let r=re(this,ho);return cn.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:\"active\",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t},n=cn.batch(()=>re(this,ho).findAll(e).map(o=>o.cancel(r)));return Promise.all(n).then(mo).catch(mo)}invalidateQueries(e,t={}){return cn.batch(()=>(re(this,ho).findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType===\"none\"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??\"active\"},t)))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0},n=cn.batch(()=>re(this,ho).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,r);return r.throwOnError||(i=i.catch(mo)),o.state.fetchStatus===\"paused\"?Promise.resolve():i}));return Promise.all(n).then(mo)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let r=re(this,ho).build(this,t);return r.isStaleByTime(Xu(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(mo).catch(mo)}fetchInfiniteQuery(e){return e.behavior=Qq(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(mo).catch(mo)}ensureInfiniteQueryData(e){return e.behavior=Qq(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return gw.isOnline()?re(this,Gh).resumePausedMutations():Promise.resolve()}getQueryCache(){return re(this,ho)}getMutationCache(){return re(this,Gh)}getDefaultOptions(){return re(this,Kh)}setDefaultOptions(e){Ue(this,Kh,e)}setQueryDefaults(e,t){re(this,Sw).set(Od(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...re(this,Sw).values()],r={};return t.forEach(n=>{Db(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){re(this,Aw).set(Od(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...re(this,Aw).values()],r={};return t.forEach(n=>{Db(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...re(this,Kh).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=fA(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==\"always\"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=\"offlineFirst\"),t.queryFn===Mb&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...re(this,Kh).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){re(this,ho).clear(),re(this,Gh).clear()}},ho=new WeakMap,Gh=new WeakMap,Kh=new WeakMap,Sw=new WeakMap,Aw=new WeakMap,Zh=new WeakMap,kw=new WeakMap,Cw=new WeakMap,HNe);function rG(e){return JSON.stringify(e,(t,r)=>$gt(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):typeof r==\"bigint\"?r.toString():r)}function $gt(e){if(!jNe(e))return!1;let t=e.constructor;if(typeof t>\"u\")return!0;let r=t.prototype;return!(!jNe(r)||!r.hasOwnProperty(\"isPrototypeOf\"))}function jNe(e){return Object.prototype.toString.call(e)===\"[object Object]\"}function FNe(e){let{_defaulted:t,behavior:r,gcTime:n,initialData:o,initialDataUpdatedAt:i,maxPages:c,meta:l,networkMode:f,queryFn:p,queryHash:h,queryKey:y,queryKeyHashFn:w,retry:E,retryDelay:A,structuralSharing:C,getPreviousPageParam:R,getNextPageParam:M,initialPageParam:D,_optimisticResults:$,enabled:H,notifyOnChangeProps:V,placeholderData:G,refetchInterval:K,refetchIntervalInBackground:Q,refetchOnMount:X,refetchOnReconnect:Y,refetchOnWindowFocus:fe,retryOnMount:ce,select:N,staleTime:_,suspense:k,throwOnError:O,config:B,connector:L,query:q,...W}=e;return W}u();function nG(e){return{mutationFn(t){return BDe(e,t)},mutationKey:[\"connect\"]}}u();function oG(e){return{mutationFn(t){return DDe(e,t)},mutationKey:[\"disconnect\"]}}u();function iG(e,t={}){return{gcTime:0,async queryFn({queryKey:r}){let{connector:n}=t,{connectorUid:o,scopeKey:i,...c}=r[1];return NDe(e,{...c,connector:n})},queryKey:VNe(t)}}function VNe(e={}){let{connector:t,...r}=e;return[\"walletClient\",{...FNe(r),connectorUid:t?.uid}]}u();function aG(e){return{mutationFn(t){return $De(e,t)},mutationKey:[\"switchChain\"]}}u();u();u();var Tw=_r(eo(),1),KNe=_r(rl(),1),sG=Tw.createContext(void 0),qb=e=>{let t=Tw.useContext(sG);if(e)return e;if(!t)throw new Error(\"No QueryClient set, use QueryClientProvider to set one\");return t},cG=({client:e,children:t})=>(Tw.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,KNe.jsx)(sG.Provider,{value:e,children:t}));u();var GR=_r(eo(),1),ZNe=GR.createContext(!1),WNe=()=>GR.useContext(ZNe),hdn=ZNe.Provider;u();var EA=_r(eo(),1),zgt=_r(rl(),1);function Lgt(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Hgt=EA.createContext(Lgt()),JNe=()=>EA.useContext(Hgt);u();var QNe=_r(eo(),1);var YNe=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},XNe=e=>{QNe.useEffect(()=>{e.clearReset()},[e])},eUe=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(o&&e.data===void 0||mA(r,[e.error,n]));u();var tUe=e=>{if(e.suspense){let r=o=>o===\"static\"?o:Math.max(o??1e3,1e3),n=e.staleTime;e.staleTime=typeof n==\"function\"?(...o)=>r(n(...o)):r(n),typeof e.gcTime==\"number\"&&(e.gcTime=Math.max(e.gcTime,1e3))}},rUe=(e,t)=>e.isLoading&&e.isFetching&&!t,nUe=(e,t)=>e?.suspense&&t.isPending,uG=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});u();u();var Wh=_r(eo(),1);function oUe(e,t,r){if(typeof e!=\"object\"||Array.isArray(e))throw new Error(\\'Bad argument type. Starting with v5, only the \"Object\" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object\\');let n=WNe(),o=JNe(),i=qb(r),c=i.defaultQueryOptions(e);i.getDefaultOptions().queries?._experimental_beforeQuery?.(c),c.queryFn||console.error(`[${c.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`),c._optimisticResults=n?\"isRestoring\":\"optimistic\",tUe(c),YNe(c,o),XNe(o);let l=!i.getQueryCache().get(c.queryHash),[f]=Wh.useState(()=>new t(i,c)),p=f.getOptimisticResult(c),h=!n&&e.subscribed!==!1;if(Wh.useSyncExternalStore(Wh.useCallback(y=>{let w=h?f.subscribe(cn.batchCalls(y)):mo;return f.updateResult(),w},[f,h]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),Wh.useEffect(()=>{f.setOptions(c)},[c,f]),nUe(c,p))throw uG(c,f,o);if(eUe({result:p,errorResetBoundary:o,throwOnError:c.throwOnError,query:i.getQueryCache().get(c.queryHash),suspense:c.suspense}))throw p.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(c,p),c.experimental_prefetchInRender&&!Es&&rUe(p,n)&&(l?uG(c,f,o):i.getQueryCache().get(c.queryHash)?.promise)?.catch(mo).finally(()=>{f.updateResult()}),c.notifyOnChangeProps?p:f.trackResult(p)}function lG(e,t){return oUe(e,Wq,t)}u();var Ip=_r(eo(),1);function Jh(e,t){let r=qb(t),[n]=Ip.useState(()=>new eG(r,e));Ip.useEffect(()=>{n.setOptions(e)},[n,e]);let o=Ip.useSyncExternalStore(Ip.useCallback(c=>n.subscribe(cn.batchCalls(c)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),i=Ip.useCallback((c,l)=>{n.mutate(c,l).catch(mo)},[n]);if(o.error&&mA(n.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:i,mutateAsync:o.mutate}}function iUe(e){let t=lG({...e,queryKeyHashFn:rG});return t.queryKey=e.queryKey,t}u();var aUe=_r(eo(),1);function sUe(e={}){let t=di(e);return(0,aUe.useSyncExternalStore)(r=>Sq(t,{onChange:r}),()=>gR(t),()=>gR(t))}u();var cUe=_r(eo(),1);function uUe(e={}){let t=di(e);return(0,cUe.useSyncExternalStore)(r=>Nq(t,{onChange:r}),()=>xR(t),()=>xR(t))}u();var fUe=_r(eo(),1);u();var lUe=_r(eo(),1);function dUe(e={}){let t=di(e);return(0,lUe.useSyncExternalStore)(r=>kq(t,{onChange:r}),()=>ER(t),()=>ER(t))}function dG(e={}){let{mutation:t}=e,r=di(e),n=nG(r),{mutate:o,mutateAsync:i,...c}=Jh({...t,...n});return(0,fUe.useEffect)(()=>r.subscribe(({status:l})=>l,(l,f)=>{f===\"connected\"&&l===\"disconnected\"&&c.reset()}),[r,c.reset]),{...c,connect:o,connectAsync:i,connectors:dUe({config:r})}}u();var pUe=_r(eo(),1);function mUe(e={}){let t=di(e);return(0,pUe.useSyncExternalStore)(r=>Aq(t,{onChange:r}),()=>dw(t),()=>dw(t))}u();function fG(e={}){let{mutation:t}=e,r=di(e),n=oG(r),{mutate:o,mutateAsync:i,...c}=Jh({...t,...n});return{...c,connectors:mUe({config:r}).map(l=>l.connector),disconnect:o,disconnectAsync:i}}u();function pG(e={}){let{mutation:t}=e,r=di(e),n=aG(r),{mutate:o,mutateAsync:i,...c}=Jh({...t,...n});return{...c,chains:uUe({config:r}),switchChain:o,switchChainAsync:i}}u();var KR=_r(eo(),1);function mG(e={}){let{query:t={},...r}=e,n=di(r),o=qb(),{address:i,connector:c,status:l}=lA({config:n}),f=sUe({config:n}),p=e.connector??c,{queryKey:h,...y}=iG(n,{...e,chainId:e.chainId??f,connector:e.connector??c}),w=!!((l===\"connected\"||l===\"reconnecting\"&&p?.getProvider)&&(t.enabled??!0)),E=(0,KR.useRef)(i);return(0,KR.useEffect)(()=>{let A=E.current;!i&&A?(o.removeQueries({queryKey:h}),E.current=void 0):i!==A&&(o.invalidateQueries({queryKey:h}),E.current=i)},[i,o]),iUe({...t,...y,queryKey:h,enabled:w,staleTime:Number.POSITIVE_INFINITY})}u();u();u();u();u();u();u();bn();var Vgt=/^eip155:(\\\\d+)$/;function Qh(e){if(!e.startsWith(\"eip155:\"))throw new Error(`Unsupported network format: ${e} (expected eip155:CHAIN_ID)`);let t=Vgt.exec(e);if(!t)throw new Error(`Invalid CAIP-2 chain ID: ${e}`);let r=Number(t[1]);if(!Number.isSafeInteger(r))throw new Error(`Invalid CAIP-2 chain ID: ${e}`);return r}function hUe(){let e=globalThis.crypto;if(!e)throw new Error(\"Crypto API not available\");return e}function hG(){return rt(hUe().getRandomValues(new Uint8Array(32)))}function yUe(){let e=hUe().getRandomValues(new Uint8Array(32));return BigInt(rt(e)).toString()}u();var yG={ethereum:1,sepolia:11155111,abstract:2741,\"abstract-testnet\":11124,\"base-sepolia\":84532,base:8453,\"avalanche-fuji\":43113,avalanche:43114,iotex:4689,sei:1329,\"sei-testnet\":1328,polygon:137,\"polygon-amoy\":80002,peaq:3338,story:1514,educhain:41923,\"skale-base-sepolia\":324705682,megaeth:4326,monad:143,\"monad-testnet\":10143,stable:988,\"stable-testnet\":2201,celo:42220,flare:14},qgt=Object.keys(yG);var bG={TransferWithAuthorization:[{name:\"from\",type:\"address\"},{name:\"to\",type:\"address\"},{name:\"value\",type:\"uint256\"},{name:\"validAfter\",type:\"uint256\"},{name:\"validBefore\",type:\"uint256\"},{name:\"nonce\",type:\"bytes32\"}]},bUe={PermitWitnessTransferFrom:[{name:\"permitted\",type:\"TokenPermissions\"},{name:\"spender\",type:\"address\"},{name:\"nonce\",type:\"uint256\"},{name:\"deadline\",type:\"uint256\"},{name:\"witness\",type:\"Witness\"}],TokenPermissions:[{name:\"token\",type:\"address\"},{name:\"amount\",type:\"uint256\"}],Witness:[{name:\"to\",type:\"address\"},{name:\"validAfter\",type:\"uint256\"}]};var gUe={Permit:[{name:\"owner\",type:\"address\"},{name:\"spender\",type:\"address\"},{name:\"value\",type:\"uint256\"},{name:\"nonce\",type:\"uint256\"},{name:\"deadline\",type:\"uint256\"}]},xUe=[{type:\"function\",name:\"nonces\",inputs:[{name:\"owner\",type:\"address\"}],outputs:[{type:\"uint256\"}],stateMutability:\"view\"}],ZR=[{type:\"function\",name:\"approve\",inputs:[{name:\"spender\",type:\"address\"},{name:\"amount\",type:\"uint256\"}],outputs:[{type:\"bool\"}],stateMutability:\"nonpayable\"}],Iw=[{type:\"function\",name:\"allowance\",inputs:[{name:\"owner\",type:\"address\"},{name:\"spender\",type:\"address\"}],outputs:[{type:\"uint256\"}],stateMutability:\"view\"}],vUe=70000n,wUe=1000000000n,EUe=100000000n,Yh=\"0x000000000022D473030F116dDEE9F6B43aC78BA3\",_Ue=\"0x402085c248EeA27D92E8b30b2C58ed07f9E20001\";bn();bn();bn();bn();var SUe=\"eip2612GasSponsoring\",AUe=\"erc20ApprovalGasSponsoring\",Ggt=\"1\";async function Kgt(e,t,r,n,o,i,c){let l=e.address,f=At(Yh),p=await e.readContract({address:t,abi:xUe,functionName:\"nonces\",args:[l]}),h={name:r,version:n,chainId:o,verifyingContract:t},y=BigInt(c),w={owner:l,spender:f,value:y,nonce:p,deadline:BigInt(i)},E=await e.signTypedData({domain:h,types:gUe,primaryType:\"Permit\",message:w});return{from:l,asset:t,spender:f,amount:y.toString(),nonce:p.toString(),deadline:i,signature:E,version:\"1\"}}async function Zgt(e,t,r){let n=e.address,o=At(Yh),i=vt({abi:ZR,functionName:\"approve\",args:[o,ys]}),c=await e.getTransactionCount({address:n}),l,f;try{let h=await e.estimateFeesPerGas?.();if(!h)throw new Error(\"no fee estimates available\");l=h.maxFeePerGas,f=h.maxPriorityFeePerGas}catch{l=wUe,f=EUe}let p=await e.signTransaction({to:t,data:i,nonce:c,gas:vUe,maxFeePerGas:l,maxPriorityFeePerGas:f,chainId:r});return{from:n,asset:t,spender:o,amount:ys.toString(),signedTransaction:p,version:Ggt}}var kUe=new Map;function Wgt(e){let t=Object.keys(e);return t.length>0&&t.every(r=>/^\\\\d+$/.test(r))}function Jgt(e){let t=kUe.get(e);if(t)return t;let r=Ib({transport:Jc(e)});return kUe.set(e,r),r}function Qgt(e,t){if(t){if(Wgt(t)){let r=Qh(e);return t[r]?.rpcUrl}return t.rpcUrl}}function TUe(e,t,r){let n={signTransaction:t.signTransaction,readContract:t.readContract,getTransactionCount:t.getTransactionCount,estimateFeesPerGas:t.estimateFeesPerGas};if(!(!n.readContract||!n.getTransactionCount||!n.estimateFeesPerGas))return n;let i=Qgt(e,r);if(!i)return n;let c=Jgt(i);return n.readContract||(n.readContract=l=>c.readContract(l)),n.getTransactionCount||(n.getTransactionCount=async l=>c.getTransactionCount({address:l.address})),n.estimateFeesPerGas||(n.estimateFeesPerGas=async()=>c.estimateFeesPerGas()),n}var CUe=new Set;function IUe(e){CUe.has(e)||(CUe.add(e),console.warn(`[x402] gas sponsoring is advertised for ${e} but the client cannot read the chain, so the sponsored permit/approval will not be signed and a fresh wallet will get 412 permit2_allowance_required. Pass { rpcUrl } to ExactEvmScheme, or use a signer with readContract (e.g. toClientEvmSigner(account, publicClient)).`))}async function PUe(e,t,r,n,o,i){if(!o?.extensions?.[SUe])return;let c=TUe(r.network,e,t);if(!c.readContract){IUe(r.network);return}let l=r.extra?.name,f=r.extra?.version;if(!l||!f)return;let p=Qh(r.network),h=At(r.asset),y=i??r.amount;try{if(await c.readContract({address:h,abi:Iw,functionName:\"allowance\",args:[e.address,Yh]})>=BigInt(y))return}catch{}let E=n.payload?.permit2Authorization?.deadline??Math.floor(Date.now()/1e3+r.maxTimeoutSeconds).toString(),A=await Kgt({address:e.address,signTypedData:C=>e.signTypedData(C),readContract:c.readContract},h,l,f,p,E,y);return{[SUe]:{info:A}}}async function RUe(e,t,r,n,o){if(!n?.extensions?.[AUe])return;let i=TUe(r.network,e,t);if(!i.readContract){IUe(r.network);return}if(!i.signTransaction||!i.getTransactionCount)return;let c=Qh(r.network),l=At(r.asset),f=o??r.amount;try{if(await i.readContract({address:l,abi:Iw,functionName:\"allowance\",args:[e.address,Yh]})>=BigInt(f))return}catch{}let p=await Zgt({address:e.address,signTransaction:i.signTransaction,getTransactionCount:i.getTransactionCount,estimateFeesPerGas:i.estimateFeesPerGas},l,c);return{[AUe]:{info:p}}}u();u();var OUe={\"eip155:8453\":[{asset:\"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",name:\"USD Coin\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:84532\":[{asset:\"0x036CbD53842c5426634e7929541eC2318f3dCF7e\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:1\":[{asset:\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",name:\"USD Coin\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:43114\":[{asset:\"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E\",name:\"USD Coin\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:4326\":[{asset:\"0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7\",name:\"MegaUSD\",version:\"1\",decimals:18,symbol:\"MegaUSD\",assetTransferMethod:\"permit2\",supportsEip2612:!0}],\"eip155:143\":[{asset:\"0x754704Bc059F8C67012fEd69BC8A327a5aafb603\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:10143\":[{asset:\"0x534b2f3A21130d7a60830c2Df862319e593943A3\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:988\":[{asset:\"0x779Ded0c9e1022225f8E0630b35a9b54bE713736\",name:\"USDT0\",version:\"1\",decimals:6,symbol:\"USDT0\"}],\"eip155:2201\":[{asset:\"0x78Cf24370174180738C5B8E352B6D14c83a6c9A9\",name:\"USDT0\",version:\"1\",decimals:6,symbol:\"USDT0\"}],\"eip155:137\":[{asset:\"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359\",name:\"USD Coin\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:42161\":[{asset:\"0xaf88d065e77c8cC2239327C5EDb3A432268e5831\",name:\"USD Coin\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:421614\":[{asset:\"0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d\",name:\"USD Coin\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:31612\":[{asset:\"0xdD468A1DDc392dcdbEf6db6e34E89AA338F9F186\",name:\"Mezo USD\",version:\"1\",decimals:18,symbol:\"mUSD\",assetTransferMethod:\"permit2\",supportsEip2612:!0}],\"eip155:31611\":[{asset:\"0x118917a40FAF1CD7a13dB0Ef56C86De7973Ac503\",name:\"Mezo USD\",version:\"1\",decimals:18,symbol:\"mUSD\",assetTransferMethod:\"permit2\",supportsEip2612:!0}],\"eip155:723487\":[{asset:\"0x33ad9e4BD16B69B5BFdED37D8B5D9fF9aba014Fb\",name:\"Stable Coin\",version:\"1\",decimals:6,symbol:\"SBC\",assetTransferMethod:\"permit2\",supportsEip2612:!0}],\"eip155:72344\":[{asset:\"0x33ad9e4BD16B69B5BFdED37D8B5D9fF9aba014Fb\",name:\"Stable Coin\",version:\"1\",decimals:6,symbol:\"SBC\",assetTransferMethod:\"permit2\",supportsEip2612:!0}],\"eip155:36900\":[{asset:\"0x9cb8142aEBBcdc60AF7c97Af897A67A8f3CA71C2\",name:\"USDC.e\",version:\"2\",decimals:6,symbol:\"USDC.e\"}],\"eip155:190415\":[{asset:\"0x401eCb1D350407f13ba348573E5630B83638E30D\",name:\"Bridged USDC\",version:\"2\",decimals:6,symbol:\"USDC.e\"}],\"eip155:181228\":[{asset:\"0x401eCb1D350407f13ba348573E5630B83638E30D\",name:\"Bridged USDC\",version:\"2\",decimals:6,symbol:\"USDC.e\"}],\"eip155:50\":[{asset:\"0xfA2958CB79b0491CC627c1557F441eF849Ca8eb1\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:51\":[{asset:\"0xb5AB69F7bBada22B28e79C8FFAECe55eF1c771D4\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:38833\":[{asset:\"0xA5b8BF902b2844dA17d4506cc827F7F1681735E7\",name:\"USDC\",version:\"1\",decimals:6,symbol:\"USDC\",assetTransferMethod:\"permit2\"}],\"eip155:14\":[{asset:\"0xe7cd86e13AC4309349F30B3435a9d337750fC82D\",name:\"USD\\\\u20AE0\",version:\"1\",decimals:6,symbol:\"USDT0\"}],\"eip155:42220\":[{asset:\"0xcebA9300f2b948710d2653dD7B07f33A8B32118C\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"},{asset:\"0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e\",name:\"Tether USD\",version:\"1\",decimals:6,symbol:\"USDT\"},{asset:\"0xD2ab3C9A02DBBAB236BfEC45D1d755DF4267F771\",name:\"Tether America USD\",version:\"1\",decimals:6,symbol:\"USAT\"}],\"eip155:11142220\":[{asset:\"0x01C5C0122039549AD1493B8220cABEdD739BC44E\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:1329\":[{asset:\"0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:1328\":[{asset:\"0x4fCF1784B31630811181f670Aea7A7bEF803eaED\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:5042\":[{asset:\"0x3600000000000000000000000000000000000000\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}],\"eip155:5042002\":[{asset:\"0x3600000000000000000000000000000000000000\",name:\"USDC\",version:\"2\",decimals:6,symbol:\"USDC\"}]};function Ygt(e){if(e in OUe)return e;let t=yG[e];return t!==void 0?`eip155:${t}`:e}var gG=(e,t)=>{let r=Ygt(t),n=OUe[r];if(!n)return;let o=e.toLowerCase();return n.find(i=>i.asset.toLowerCase()===o)};u();u();bn();async function BUe(e,t,r,n){let o=Math.floor(Date.now()/1e3),i=yUe(),c=\"0\",l=(o+n.maxTimeoutSeconds).toString(),f={from:t.address,permitted:{token:At(n.asset),amount:n.amount},spender:e,nonce:i,deadline:l,witness:{to:At(n.payTo),validAfter:c}},p=await n1t(t,f,n);return{x402Version:r,payload:{signature:p,permit2Authorization:f}}}async function n1t(e,t,r){let n=Qh(r.network);return await e.signTypedData({domain:{name:\"Permit2\",chainId:n,verifyingContract:Yh},types:bUe,primaryType:\"PermitWitnessTransferFrom\",message:{permitted:{token:At(t.permitted.token),amount:BigInt(t.permitted.amount)},spender:At(t.spender),nonce:BigInt(t.nonce),deadline:BigInt(t.deadline),witness:{to:At(t.witness.to),validAfter:BigInt(t.witness.validAfter)}}})}var Zmn=BigInt(\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\");async function MUe(e,t,r){return BUe(_Ue,e,t,r)}bn();u();u();function DUe(e){let t=e.toString();if(!/[eE]/.test(t))return t;let[r,n]=t.split(/[eE]/),o=parseInt(n,10),i=r.startsWith(\"-\"),c=i?r.slice(1):r,[l,f=\"\"]=c.split(\".\"),p=l+f,h=l.length+o,y;return h<=0?y=\"0.\"+\"0\".repeat(-h)+p:h>=p.length?y=p+\"0\".repeat(h-p.length):y=p.slice(0,h)+\".\"+p.slice(h),(i?\"-\":\"\")+y}function NUe(e){let t=e.replace(/^\\\\$/,\"\").trim();if(!/^\\\\d+(?:\\\\.\\\\d+)?$/.test(t)||/[eE]/.test(t))throw new Error(`Invalid money format: ${e}`);return t}function WR(e){if(typeof e==\"number\"){if(!Number.isFinite(e)||e<0)throw new Error(`Invalid money format: ${e}`);return{amount:DUe(e)}}let r=e.trim().match(/^\\\\$?\\\\s*(-?\\\\d+(?:\\\\.\\\\d+)?)(?:\\\\s+([A-Za-z][A-Za-z0-9.]*))?$/);if(!r)throw new Error(`Invalid money format: ${e}`);let n=NUe(r[1]),o=r[2];return!o||o.toUpperCase()===\"USD\"?{amount:n}:{amount:n,symbol:o.toUpperCase()}}function Pw(e,t){if(/[eE]/.test(e))throw new Error(`Invalid amount: ${e} \\\\u2014 use decimal notation, not scientific notation`);if(!/^-?\\\\d+\\\\.?\\\\d*$/.test(e))throw new Error(`Invalid amount: ${e}`);let[r,n=\"\"]=e.split(\".\"),o=n.padEnd(t,\"0\").slice(0,t);return(r+o).replace(/^0+/,\"\")||\"0\"}var o1t=e=>e.replace(/[.*+?^${}()|[\\\\]\\\\\\\\]/g,\"\\\\\\\\$&\"),i1t=e=>{let t=o1t(e).replace(/\\\\\\\\\\\\*/g,\".*\");return new RegExp(`^${t}$`)},_A=(e,t)=>i1t(e).test(t),JR=(e,t)=>{let r=e.get(t);if(!r){for(let[n,o]of e.entries())if(_A(n,t)){r=o;break}}return r},Rw=(e,t,r)=>JR(e,r)?.get(t);function xG(e){if(typeof globalThis<\"u\"&&typeof globalThis.btoa==\"function\"){let t=new TextEncoder().encode(e),r=Array.from(t,n=>String.fromCharCode(n)).join(\"\");return globalThis.btoa(r)}return globalThis.Buffer.from(e,\"utf8\").toString(\"base64\")}function QR(e,t){let r=n=>{if(n==null||typeof n!=\"object\")return JSON.stringify(n);if(Array.isArray(n))return JSON.stringify(n.map(i=>typeof i==\"object\"&&i!==null?JSON.parse(r(i)):i));let o={};return Object.keys(n).sort().forEach(i=>{let c=n[i];o[i]=typeof c==\"object\"&&c!==null?JSON.parse(r(c)):c}),JSON.stringify(o)};try{return r(e)===r(t)}catch{return JSON.stringify(e)===JSON.stringify(t)}}function SA(e){if(Array.isArray(e))return e;if(!(e==null||typeof e==\"object\"))return[e]}var YR={\"builder-code\":new Set([\"s\"])};async function l1t(e,t,r){let n=hG(),o=Math.floor(Date.now()/1e3),i={from:e.address,to:At(r.payTo),value:r.amount,validAfter:\"0\",validBefore:(o+r.maxTimeoutSeconds).toString(),nonce:n},c=await d1t(e,i,r);return{x402Version:t,payload:{authorization:i,signature:c}}}async function d1t(e,t,r){let n=Qh(r.network);if(!r.extra?.name||!r.extra?.version)throw new Error(`EIP-712 domain parameters (name, version) are required in payment requirements for asset ${r.asset}`);let{name:o,version:i}=r.extra,c={name:o,version:i,chainId:n,verifyingContract:At(r.asset)},l={from:At(t.from),to:At(t.to),value:BigInt(t.value),validAfter:BigInt(t.validAfter),validBefore:BigInt(t.validBefore),nonce:t.nonce};return await e.signTypedData({domain:c,types:bG,primaryType:\"TransferWithAuthorization\",message:l})}var vG=class{constructor(e,t){this.signer=e,this.options=t,this.scheme=\"exact\",this.findDefaultAsset=gG}async createPaymentPayload(e,t,r){if((t.extra?.assetTransferMethod??\"eip3009\")===\"permit2\"){let o=await MUe(this.signer,e,t),i=await PUe(this.signer,this.options,t,o,r);if(i)return{...o,extensions:i};let c=await RUe(this.signer,this.options,t,r);return c?{...o,extensions:c}:o}return l1t(this.signer,e,t)}};u();u();u();u();var ze={};an(ze,{$brand:()=>MG,$input:()=>mW,$output:()=>pW,INVALID:()=>Ua,NEVER:()=>BG,TimePrecision:()=>kW,ZodAny:()=>pQ,ZodArray:()=>bQ,ZodBase64:()=>JB,ZodBase64URL:()=>QB,ZodBigInt:()=>y2,ZodBigIntFormat:()=>e9,ZodBoolean:()=>h2,ZodCIDRv4:()=>ZB,ZodCIDRv6:()=>WB,ZodCUID:()=>HB,ZodCUID2:()=>jB,ZodCatch:()=>$Q,ZodCodec:()=>Ek,ZodCompileAsyncError:()=>ol,ZodCompileUnsupportedError:()=>ar,ZodCreditCard:()=>iQ,ZodCustom:()=>_k,ZodCustomStringFormat:()=>ug,ZodDate:()=>yk,ZodDefault:()=>OQ,ZodDiscriminatedUnion:()=>xQ,ZodE164:()=>YB,ZodEmail:()=>UB,ZodEmoji:()=>zB,ZodEnum:()=>f2,ZodError:()=>P2t,ZodExactOptional:()=>o9,ZodFile:()=>TQ,ZodFirstPartyTypeKind:()=>YQ,ZodFunction:()=>ZQ,ZodGUID:()=>$B,ZodIBAN:()=>aQ,ZodIPv4:()=>GB,ZodIPv6:()=>KB,ZodISODate:()=>l0,ZodISODateTime:()=>u0,ZodISODuration:()=>f0,ZodISOTime:()=>d0,ZodInstanceOf:()=>QQ,ZodIntersection:()=>vQ,ZodIssueCode:()=>B2t,ZodJWT:()=>XB,ZodKSUID:()=>qB,ZodLazy:()=>qQ,ZodLiteral:()=>CQ,ZodMAC:()=>oQ,ZodMap:()=>AQ,ZodNaN:()=>LQ,ZodNanoID:()=>LB,ZodNever:()=>hQ,ZodNonOptional:()=>i9,ZodNull:()=>dQ,ZodNullable:()=>RQ,ZodNumber:()=>m2,ZodNumberFormat:()=>lg,ZodObject:()=>gk,ZodOptional:()=>vk,ZodPipe:()=>wk,ZodPrefault:()=>MQ,ZodPreprocess:()=>HQ,ZodPromise:()=>KQ,ZodReadonly:()=>jQ,ZodRealError:()=>Ps,ZodRecord:()=>d2,ZodSet:()=>kQ,ZodString:()=>p2,ZodStringFormat:()=>un,ZodSuccess:()=>UQ,ZodSymbol:()=>uQ,ZodTemplateLiteral:()=>VQ,ZodTransform:()=>IQ,ZodTuple:()=>EQ,ZodType:()=>Lt,ZodULID:()=>FB,ZodURL:()=>hk,ZodUUID:()=>zd,ZodUndefined:()=>lQ,ZodUnion:()=>xk,ZodUnknown:()=>mQ,ZodVoid:()=>yQ,ZodXID:()=>VB,ZodXor:()=>gQ,_ZodString:()=>NB,_default:()=>BQ,_function:()=>kje,any:()=>nje,array:()=>bk,base64:()=>UHe,base64url:()=>$He,bigint:()=>YHe,boolean:()=>cQ,catch:()=>zQ,check:()=>Cje,cidrv4:()=>DHe,cidrv6:()=>NHe,clone:()=>Qr,codec:()=>Eje,coerce:()=>tY,compile:()=>gW,config:()=>yo,core:()=>Mp,creditCard:()=>LHe,cuid:()=>CHe,cuid2:()=>THe,currencyCode:()=>GHe,custom:()=>Tje,date:()=>ije,decode:()=>QJ,decodeAsync:()=>XJ,deepPartial:()=>Hje,describe:()=>Ije,discriminatedUnion:()=>dje,e164:()=>zHe,email:()=>bHe,emoji:()=>AHe,encode:()=>JJ,encodeAsync:()=>YJ,endsWith:()=>e2,enum:()=>r9,exactOptional:()=>PQ,file:()=>gje,flattenError:()=>DA,float32:()=>ZHe,float64:()=>WHe,formatError:()=>NA,fromJSONSchema:()=>zje,function:()=>kje,getDiscriminatedOption:()=>NZ,getErrorMap:()=>D2t,globalRegistry:()=>Bi,gt:()=>Ud,gte:()=>dc,guid:()=>gHe,hash:()=>KHe,hex:()=>qHe,hostname:()=>VHe,httpUrl:()=>SHe,iban:()=>HHe,includes:()=>Yw,input:()=>Fje,instanceof:()=>Rje,int:()=>MB,int32:()=>JHe,int64:()=>XHe,intersection:()=>wQ,invertCodec:()=>_je,ipv4:()=>OHe,ipv6:()=>MHe,iso:()=>Sk,json:()=>Bje,jwt:()=>jHe,keyof:()=>aje,ksuid:()=>RHe,lazy:()=>GQ,length:()=>og,literal:()=>bje,locales:()=>rk,looseObject:()=>uje,looseRecord:()=>pje,lowercase:()=>Jw,lt:()=>Nd,lte:()=>lc,mac:()=>BHe,map:()=>mje,maxLength:()=>ng,maxSize:()=>i0,memoizer:()=>ek,meta:()=>Pje,mime:()=>r2,minLength:()=>Bp,minSize:()=>$d,multipleOf:()=>o0,nan:()=>wje,nanoid:()=>kHe,nativeEnum:()=>yje,negative:()=>_B,never:()=>t9,nonnegative:()=>AB,nonoptional:()=>NQ,nonpositive:()=>SB,normalize:()=>n2,null:()=>fQ,nullable:()=>mk,nullish:()=>xje,number:()=>sQ,object:()=>sje,optional:()=>sg,output:()=>Vje,overwrite:()=>il,parse:()=>GJ,parseAsync:()=>KJ,partialRecord:()=>fje,pipe:()=>DB,positive:()=>EB,prefault:()=>DQ,preprocess:()=>Mje,prettifyError:()=>zG,promise:()=>Aje,properties:()=>t2,property:()=>kB,readonly:()=>FQ,record:()=>SQ,refine:()=>WQ,regex:()=>Ww,regexes:()=>tu,registry:()=>QO,safeDecode:()=>tQ,safeDecodeAsync:()=>nQ,safeEncode:()=>eQ,safeEncodeAsync:()=>rQ,safeParse:()=>ZJ,safeParseAsync:()=>WJ,set:()=>hje,setErrorMap:()=>M2t,size:()=>rg,slugify:()=>s2,startsWith:()=>Xw,strictObject:()=>cje,string:()=>pk,stringFormat:()=>FHe,stringbool:()=>Oje,success:()=>vje,superRefine:()=>JQ,symbol:()=>tje,templateLiteral:()=>Sje,toJSONSchema:()=>PB,toLowerCase:()=>i2,toUpperCase:()=>a2,toZod:()=>AA,transform:()=>n9,treeifyError:()=>$G,trim:()=>o2,tuple:()=>_Q,uint32:()=>QHe,uint64:()=>eje,ulid:()=>IHe,undefined:()=>rje,union:()=>b2,unknown:()=>ag,uppercase:()=>Qw,url:()=>_He,util:()=>Ee,uuid:()=>xHe,uuidv4:()=>vHe,uuidv6:()=>wHe,uuidv7:()=>EHe,validate:()=>UA,validateAsync:()=>$A,void:()=>oje,withParser:()=>YO,xid:()=>PHe,xor:()=>lje});u();fc();var g2={};an(g2,{ZodAny:()=>pQ,ZodArray:()=>bQ,ZodBase64:()=>JB,ZodBase64URL:()=>QB,ZodBigInt:()=>y2,ZodBigIntFormat:()=>e9,ZodBoolean:()=>h2,ZodCIDRv4:()=>ZB,ZodCIDRv6:()=>WB,ZodCUID:()=>HB,ZodCUID2:()=>jB,ZodCatch:()=>$Q,ZodCodec:()=>Ek,ZodCreditCard:()=>iQ,ZodCustom:()=>_k,ZodCustomStringFormat:()=>ug,ZodDate:()=>yk,ZodDefault:()=>OQ,ZodDiscriminatedUnion:()=>xQ,ZodE164:()=>YB,ZodEmail:()=>UB,ZodEmoji:()=>zB,ZodEnum:()=>f2,ZodExactOptional:()=>o9,ZodFile:()=>TQ,ZodFunction:()=>ZQ,ZodGUID:()=>$B,ZodIBAN:()=>aQ,ZodIPv4:()=>GB,ZodIPv6:()=>KB,ZodISODate:()=>l0,ZodISODateTime:()=>u0,ZodISODuration:()=>f0,ZodISOTime:()=>d0,ZodInstanceOf:()=>QQ,ZodIntersection:()=>vQ,ZodJWT:()=>XB,ZodKSUID:()=>qB,ZodLazy:()=>qQ,ZodLiteral:()=>CQ,ZodMAC:()=>oQ,ZodMap:()=>AQ,ZodNaN:()=>LQ,ZodNanoID:()=>LB,ZodNever:()=>hQ,ZodNonOptional:()=>i9,ZodNull:()=>dQ,ZodNullable:()=>RQ,ZodNumber:()=>m2,ZodNumberFormat:()=>lg,ZodObject:()=>gk,ZodOptional:()=>vk,ZodPipe:()=>wk,ZodPrefault:()=>MQ,ZodPreprocess:()=>HQ,ZodPromise:()=>KQ,ZodReadonly:()=>jQ,ZodRecord:()=>d2,ZodSet:()=>kQ,ZodString:()=>p2,ZodStringFormat:()=>un,ZodSuccess:()=>UQ,ZodSymbol:()=>uQ,ZodTemplateLiteral:()=>VQ,ZodTransform:()=>IQ,ZodTuple:()=>EQ,ZodType:()=>Lt,ZodULID:()=>FB,ZodURL:()=>hk,ZodUUID:()=>zd,ZodUndefined:()=>lQ,ZodUnion:()=>xk,ZodUnknown:()=>mQ,ZodVoid:()=>yQ,ZodXID:()=>VB,ZodXor:()=>gQ,_ZodString:()=>NB,_default:()=>BQ,_function:()=>kje,any:()=>nje,array:()=>bk,base64:()=>UHe,base64url:()=>$He,bigint:()=>YHe,boolean:()=>cQ,catch:()=>zQ,check:()=>Cje,cidrv4:()=>DHe,cidrv6:()=>NHe,codec:()=>Eje,creditCard:()=>LHe,cuid:()=>CHe,cuid2:()=>THe,currencyCode:()=>GHe,custom:()=>Tje,date:()=>ije,describe:()=>Ije,discriminatedUnion:()=>dje,e164:()=>zHe,email:()=>bHe,emoji:()=>AHe,enum:()=>r9,exactOptional:()=>PQ,file:()=>gje,float32:()=>ZHe,float64:()=>WHe,function:()=>kje,guid:()=>gHe,hash:()=>KHe,hex:()=>qHe,hostname:()=>VHe,httpUrl:()=>SHe,iban:()=>HHe,instanceof:()=>Rje,int:()=>MB,int32:()=>JHe,int64:()=>XHe,intersection:()=>wQ,invertCodec:()=>_je,ipv4:()=>OHe,ipv6:()=>MHe,json:()=>Bje,jwt:()=>jHe,keyof:()=>aje,ksuid:()=>RHe,lazy:()=>GQ,literal:()=>bje,looseObject:()=>uje,looseRecord:()=>pje,mac:()=>BHe,map:()=>mje,meta:()=>Pje,nan:()=>wje,nanoid:()=>kHe,nativeEnum:()=>yje,never:()=>t9,nonoptional:()=>NQ,null:()=>fQ,nullable:()=>mk,nullish:()=>xje,number:()=>sQ,object:()=>sje,optional:()=>sg,partialRecord:()=>fje,pipe:()=>DB,prefault:()=>DQ,preprocess:()=>Mje,promise:()=>Aje,readonly:()=>FQ,record:()=>SQ,refine:()=>WQ,set:()=>hje,strictObject:()=>cje,string:()=>pk,stringFormat:()=>FHe,stringbool:()=>Oje,success:()=>vje,superRefine:()=>JQ,symbol:()=>tje,templateLiteral:()=>Sje,transform:()=>n9,tuple:()=>_Q,uint32:()=>QHe,uint64:()=>eje,ulid:()=>IHe,undefined:()=>rje,union:()=>b2,unknown:()=>ag,url:()=>_He,uuid:()=>xHe,uuidv4:()=>vHe,uuidv6:()=>wHe,uuidv7:()=>EHe,void:()=>oje,xid:()=>PHe,xor:()=>lje});u();fc();fc();fk();Jb();lk();uW();var OB={};an(OB,{endsWith:()=>e2,gt:()=>Ud,gte:()=>dc,includes:()=>Yw,length:()=>og,lowercase:()=>Jw,lt:()=>Nd,lte:()=>lc,maxLength:()=>ng,maxSize:()=>i0,mime:()=>r2,minLength:()=>Bp,minSize:()=>$d,multipleOf:()=>o0,negative:()=>_B,nonnegative:()=>AB,nonpositive:()=>SB,normalize:()=>n2,overwrite:()=>il,positive:()=>EB,properties:()=>t2,property:()=>kB,regex:()=>Ww,size:()=>rg,slugify:()=>s2,startsWith:()=>Xw,toLowerCase:()=>i2,toUpperCase:()=>a2,trim:()=>o2,uppercase:()=>Qw});u();fc();u();fc();u();fc();fc();je();var hHe=new WeakSet([Object.prototype,Error.prototype]);function BB(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let n=r(this);return Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),n},set(n){Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0})}})}var yHe=(e,t)=>{UG.init(e,t),e.name=\"ZodError\";let r=Object.getPrototypeOf(e);hHe.has(r)||(hHe.add(r),BB(r,\"format\",n=>o=>NA(n,o)),BB(r,\"flatten\",n=>o=>DA(n,o)),BB(r,\"addIssue\",n=>o=>{n.issues.push(o),n.message=JSON.stringify(n.issues,Mw,2)}),BB(r,\"addIssues\",n=>o=>{n.issues.push(...o),n.message=JSON.stringify(n.issues,Mw,2)}),Object.defineProperty(r,\"isEmpty\",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},P2t=ue(\"ZodError\",yHe),Ps=ue(\"ZodError\",yHe,void 0,{Parent:Error});fc();var GJ=zw(Ps),KJ=Lw(Ps),ZJ=Hw(Ps),WJ=jw(Ps),JJ=aO(Ps),QJ=sO(Ps),YJ=cO(Ps),XJ=uO(Ps),eQ=lO(Ps),tQ=dO(Ps),rQ=fO(Ps),nQ=pO(Ps);function O2t(){pi.localeError||yo(KO())}function cg(){pi.memoizer||yo({memoizer:ek()})}var Lt=ue(\"ZodType\",(e,t)=>(O2t(),kt.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(Ee.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r==\"function\"?{_zod:{check:r,def:{check:\"custom\"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Qr(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(WQ(e,t))},superRefine(e,t){return this.check(JQ(e,t))},overwrite(e){return this.check(il(e))},optional(){return sg(this)},exactOptional(){return PQ(this)},nullable(){return mk(this)},nullish(){return sg(mk(this))},nonoptional(e){return NQ(this,e)},array(){return bk(this)},or(e){return b2([this,e])},and(e){return wQ(this,e)},transform(e){return DB(this,n9(e))},default(e){return BQ(this,e)},prefault(e){return DQ(this,e)},catch(e){return zQ(this,e)},pipe(e){return DB(this,e)},readonly(){return FQ(this)},describe(e){let t=this.clone();return Bi.add(t,{description:e}),t},meta(...e){if(e.length===0)return Bi.get(this);let t=this.clone();return Bi.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get\"~standard\"(){return Ee.hide(this,\"~standard\",{...kO(this),jsonSchema:{input:c2(this,\"input\"),output:c2(this,\"output\")}})},set\"~standard\"(e){Ee.own(this,\"~standard\",e)},parse:function e(t,r){return GJ(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await KJ(this,t,r,{callee:e})},safeParse(e,t){return ZJ(this,e,t)},async safeParseAsync(e,t){return WJ(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){Ee.own(this,\"spa\",e)},validate(e,t){return UA(this,e,t)},validateAsync(e,t){return $A(this,e,t)},encode:function e(t,r){return JJ(this,t,r,{callee:e})},decode:function e(t,r){return QJ(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await YJ(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await XJ(this,t,r,{callee:e})},safeEncode(e,t){return eQ(this,e,t)},safeDecode(e,t){return tQ(this,e,t)},async safeEncodeAsync(e,t){return rQ(this,e,t)},async safeDecodeAsync(e,t){return nQ(this,e,t)},toJSONSchema(e){return iJ(this,{})(e)},get description(){return Bi.get(this)?.description},get _def(){return this._zod.def}}),NB=ue(\"_ZodString\",(e,t)=>{Yb.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>cJ(e,r,n,o)},Ee.derived({format:e=>Xo(e).format??null,minLength:e=>Xo(e).minimum??null,maxLength:e=>Xo(e).maximum??null},{regex(...e){return this.check(Ww(...e))},includes(...e){return this.check(Yw(...e))},startsWith(...e){return this.check(Xw(...e))},endsWith(...e){return this.check(e2(...e))},min(...e){return this.check(Bp(...e))},max(...e){return this.check(ng(...e))},length(...e){return this.check(og(...e))},nonempty(...e){return this.check(Bp(1,...e))},lowercase(e){return this.check(Jw(e))},uppercase(e){return this.check(Qw(e))},trim(){return this.check(o2())},normalize(...e){return this.check(n2(...e))},toLowerCase(){return this.check(i2())},toUpperCase(){return this.check(a2())},slugify(){return this.check(s2())}})),p2=ue(\"ZodString\",(e,t)=>{Yb.init(e,t),NB.init(e,t)},{email(e){return this.check(tB(UB,e))},url(e){return this.check(ok(hk,e))},jwt(e){return this.check(wB(XB,e))},emoji(e){return this.check(sB(zB,e))},guid(e){return this.check(rB($B,e))},uuid(e){return this.check(nB(zd,e))},uuidv4(e){return this.check(oB(zd,e))},uuidv6(e){return this.check(iB(zd,e))},uuidv7(e){return this.check(aB(zd,e))},nanoid(e){return this.check(cB(LB,e))},cuid(e){return this.check(uB(HB,e))},cuid2(e){return this.check(lB(jB,e))},ulid(e){return this.check(dB(FB,e))},base64(e){return this.check(gB(JB,e))},base64url(e){return this.check(xB(QB,e))},xid(e){return this.check(fB(VB,e))},ksuid(e){return this.check(pB(qB,e))},ipv4(e){return this.check(mB(GB,e))},ipv6(e){return this.check(hB(KB,e))},cidrv4(e){return this.check(yB(ZB,e))},cidrv6(e){return this.check(bB(WB,e))},e164(e){return this.check(vB(YB,e))},datetime(e){return this.check(ik(u0,e))},date(e){return this.check(ak(l0,e))},time(e){return this.check(sk(d0,e))},duration(e){return this.check(ck(f0,e))}});function pk(e){return wW(p2,e)}var un=ue(\"ZodStringFormat\",(e,t)=>{Yr.init(e,t),NB.init(e,t)}),u0=ue(\"ZodISODateTime\",(e,t)=>{aZ.init(e,t),un.init(e,t)}),l0=ue(\"ZodISODate\",(e,t)=>{sZ.init(e,t),un.init(e,t)}),d0=ue(\"ZodISOTime\",(e,t)=>{cZ.init(e,t),un.init(e,t)}),f0=ue(\"ZodISODuration\",(e,t)=>{uZ.init(e,t),un.init(e,t)}),UB=ue(\"ZodEmail\",(e,t)=>{WK.init(e,t),un.init(e,t)});function bHe(e){return tB(UB,e)}var $B=ue(\"ZodGUID\",(e,t)=>{KK.init(e,t),un.init(e,t)});function gHe(e){return rB($B,e)}var zd=ue(\"ZodUUID\",(e,t)=>{ZK.init(e,t),un.init(e,t)});function xHe(e){return nB(zd,e)}function vHe(e){return oB(zd,e)}function wHe(e){return iB(zd,e)}function EHe(e){return aB(zd,e)}var hk=ue(\"ZodURL\",(e,t)=>{YK.init(e,t),un.init(e,t)});function _He(e){return ok(hk,e)}function SHe(e){return ok(hk,{protocol:zA,hostname:cK,...Ee.normalizeParams(e)})}var zB=ue(\"ZodEmoji\",(e,t)=>{XK.init(e,t),un.init(e,t)});function AHe(e){return sB(zB,e)}var LB=ue(\"ZodNanoID\",(e,t)=>{eZ.init(e,t),un.init(e,t)});function kHe(e){return cB(LB,e)}var HB=ue(\"ZodCUID\",(e,t)=>{tZ.init(e,t),un.init(e,t)});function CHe(e){return uB(HB,e)}var jB=ue(\"ZodCUID2\",(e,t)=>{rZ.init(e,t),un.init(e,t)});function THe(e){return lB(jB,e)}var FB=ue(\"ZodULID\",(e,t)=>{nZ.init(e,t),un.init(e,t)});function IHe(e){return dB(FB,e)}var VB=ue(\"ZodXID\",(e,t)=>{oZ.init(e,t),un.init(e,t)});function PHe(e){return fB(VB,e)}var qB=ue(\"ZodKSUID\",(e,t)=>{iZ.init(e,t),un.init(e,t)});function RHe(e){return pB(qB,e)}var GB=ue(\"ZodIPv4\",(e,t)=>{lZ.init(e,t),un.init(e,t)});function OHe(e){return mB(GB,e)}var oQ=ue(\"ZodMAC\",(e,t)=>{fZ.init(e,t),un.init(e,t)});function BHe(e){return _W(oQ,e)}var KB=ue(\"ZodIPv6\",(e,t)=>{dZ.init(e,t),un.init(e,t)});function MHe(e){return hB(KB,e)}var ZB=ue(\"ZodCIDRv4\",(e,t)=>{pZ.init(e,t),un.init(e,t)});function DHe(e){return yB(ZB,e)}var WB=ue(\"ZodCIDRv6\",(e,t)=>{mZ.init(e,t),un.init(e,t)});function NHe(e){return bB(WB,e)}var JB=ue(\"ZodBase64\",(e,t)=>{hZ.init(e,t),un.init(e,t)});function UHe(e){return gB(JB,e)}var QB=ue(\"ZodBase64URL\",(e,t)=>{yZ.init(e,t),un.init(e,t)});function $He(e){return xB(QB,e)}var YB=ue(\"ZodE164\",(e,t)=>{bZ.init(e,t),un.init(e,t)});function zHe(e){return vB(YB,e)}var iQ=ue(\"ZodCreditCard\",(e,t)=>{gZ.init(e,t),un.init(e,t)});function LHe(e){return SW(iQ,e)}var aQ=ue(\"ZodIBAN\",(e,t)=>{xZ.init(e,t),un.init(e,t)});function HHe(e){return AW(aQ,e)}var XB=ue(\"ZodJWT\",(e,t)=>{vZ.init(e,t),un.init(e,t)});function jHe(e){return wB(XB,e)}var ug=ue(\"ZodCustomStringFormat\",(e,t)=>{wZ.init(e,t),un.init(e,t)});function FHe(e,t,r={}){return ig(ug,e,t,r)}function VHe(e){return ig(ug,\"hostname\",sK,e)}function qHe(e){return ig(ug,\"hex\",EK,e)}function GHe(e){return ig(ug,\"currency_code\",lK,e)}function KHe(e,t){let r=t?.enc??\"hex\",n=`${e}_${r}`,o=tu[n];if(!o)throw new Error(`Unrecognized hash format: ${n}`);return ig(ug,n,o,t)}var m2=ue(\"ZodNumber\",(e,t)=>{NO.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>uJ(e,r,n,o),e.isFinite=!0},Ee.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:r}=Xo(e);return Math.max(t??Number.NEGATIVE_INFINITY,r??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:r}=Xo(e);return Math.min(t??Number.POSITIVE_INFINITY,r??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:r}=Xo(e);return!!t||!!r?.some(Number.isSafeInteger)},format:e=>Xo(e).format??null},{gt(e,t){return this.check(Ud(e,t))},gte(e,t){return this.check(dc(e,t))},min(e,t){return this.check(dc(e,t))},lt(e,t){return this.check(Nd(e,t))},lte(e,t){return this.check(lc(e,t))},max(e,t){return this.check(lc(e,t))},int(e){return this.check(MB(e))},safe(e){return this.check(MB(e))},positive(e){return this.check(Ud(0,e))},nonnegative(e){return this.check(dc(0,e))},negative(e){return this.check(Nd(0,e))},nonpositive(e){return this.check(lc(0,e))},multipleOf(e,t){return this.check(o0(e,t))},step(e,t){return this.check(o0(e,t))},finite(){return this}}));function sQ(e){return CW(m2,e)}var lg=ue(\"ZodNumberFormat\",(e,t)=>{EZ.init(e,t),m2.init(e,t)});function MB(e){return IW(lg,e)}function ZHe(e){return PW(lg,e)}function WHe(e){return RW(lg,e)}function JHe(e){return OW(lg,e)}function QHe(e){return BW(lg,e)}var h2=ue(\"ZodBoolean\",(e,t)=>{ZA.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>lJ(e,r,n,o)});function cQ(e){return MW(h2,e)}var y2=ue(\"ZodBigInt\",(e,t)=>{UO.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>dJ(e,r,n,o)},Ee.derived({minValue:e=>Xo(e).minimum??null,maxValue:e=>Xo(e).maximum??null,format:e=>Xo(e).format??null},{gte(e,t){return this.check(dc(e,t))},min(e,t){return this.check(dc(e,t))},gt(e,t){return this.check(Ud(e,t))},lt(e,t){return this.check(Nd(e,t))},lte(e,t){return this.check(lc(e,t))},max(e,t){return this.check(lc(e,t))},positive(e){return this.check(Ud(BigInt(0),e))},negative(e){return this.check(Nd(BigInt(0),e))},nonpositive(e){return this.check(lc(BigInt(0),e))},nonnegative(e){return this.check(dc(BigInt(0),e))},multipleOf(e,t){return this.check(o0(e,t))}}));function YHe(e){return NW(y2,e)}var e9=ue(\"ZodBigIntFormat\",(e,t)=>{_Z.init(e,t),y2.init(e,t)});function XHe(e){return $W(e9,e)}function eje(e){return zW(e9,e)}var uQ=ue(\"ZodSymbol\",(e,t)=>{SZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>fJ(e,r,n,o)});function tje(e){return LW(uQ,e)}var lQ=ue(\"ZodUndefined\",(e,t)=>{AZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>mJ(e,r,n,o)});function rje(e){return HW(lQ,e)}var dQ=ue(\"ZodNull\",(e,t)=>{kZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>pJ(e,r,n,o)});function fQ(e){return jW(dQ,e)}var pQ=ue(\"ZodAny\",(e,t)=>{CZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>bJ(e,r,n,o)});function nje(){return FW(pQ)}var mQ=ue(\"ZodUnknown\",(e,t)=>{TZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>gJ(e,r,n,o)});function ag(){return VW(mQ)}var hQ=ue(\"ZodNever\",(e,t)=>{IZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>yJ(e,r,n,o)});function t9(e){return qW(hQ,e)}var yQ=ue(\"ZodVoid\",(e,t)=>{PZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>hJ(e,r,n,o)});function oje(e){return GW(yQ,e)}var yk=ue(\"ZodDate\",(e,t)=>{RZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>xJ(e,r,n,o),e.min=(r,n)=>e.check(dc(r,n)),e.max=(r,n)=>e.check(lc(r,n))},Ee.derived({minDate:e=>{let{minimum:t}=Xo(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=Xo(e);return t?new Date(t):null}},{}));function ije(e){return KW(yk,e)}var bQ=ue(\"ZodArray\",(e,t)=>{cg(),BZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>RJ(e,r,n,o),e.element=t.element},{min(e,t){return this.check(Bp(e,t))},nonempty(e){return this.check(Bp(1,e))},max(e,t){return this.check(ng(e,t))},length(e,t){return this.check(og(e,t))},unwrap(){return this.element}});function bk(e,t){return JW(bQ,e,t)}function aje(e){let t=e._zod.def.shape;return r9(Object.keys(t))}var gk=ue(\"ZodObject\",(e,t)=>{cg(),MZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>OJ(e,r,n,o),Ee.installLazyProp(e,\"shape\",r=>r._zod.def.shape,!1)},{keyof(){return r9(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(Ee.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(Ee.mergeDefs(this._zod.def,{catchall:ag()}))},loose(){return this.clone(Ee.mergeDefs(this._zod.def,{catchall:ag()}))},strict(){return this.clone(Ee.mergeDefs(this._zod.def,{catchall:t9()}))},strip(){return this.clone(Ee.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return Ee.extend(this,e)},safeExtend(e){return Ee.safeExtend(this,e)},merge(e){return Ee.merge(this,e)},pick(e){return Ee.pick(this,e)},omit(e){return Ee.omit(this,e)},partial(...e){return Ee.partial(vk,this,e[0])},exactPartial(...e){return Ee.partial(o9,this,e[0],\"exactPartial\")},required(...e){return Ee.required(i9,this,e[0])}});function sje(e,t){let r={type:\"object\",shape:e??{},...Ee.normalizeParams(t)};return new gk(r)}function cje(e,t){return new gk({type:\"object\",shape:e,catchall:t9(),...Ee.normalizeParams(t)})}function uje(e,t){return new gk({type:\"object\",shape:e,catchall:ag(),...Ee.normalizeParams(t)})}var xk=ue(\"ZodUnion\",(e,t)=>{WA.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>TB(e,r,n,o),e.options=t.options});function b2(e,t){return new xk({type:\"union\",options:e,...Ee.normalizeParams(t)})}var gQ=ue(\"ZodXor\",(e,t)=>{xk.init(e,t),DZ.init(e,t),e._zod.processJSONSchema=(r,n,o)=>TB(e,r,n,o),e.options=t.options});function lje(e,t){return new gQ({type:\"union\",options:e,inclusive:!1,...Ee.normalizeParams(t)})}var xQ=ue(\"ZodDiscriminatedUnion\",(e,t)=>{xk.init(e,t),UZ.init(e,t)});function dje(e,t,r){return new xQ({type:\"union\",options:t,discriminator:e,...Ee.normalizeParams(r)})}var vQ=ue(\"ZodIntersection\",(e,t)=>{$Z.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>BJ(e,r,n,o)});function wQ(e,t){return new vQ({type:\"intersection\",left:e,right:t})}var EQ=ue(\"ZodTuple\",(e,t)=>{cg(),$O.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>MJ(e,r,n,o)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(\".partial() cannot be used on tuple schemas containing refinements\");return this.clone({...e,items:e.items.map(t=>new vk({type:\"optional\",innerType:t}))})}});function _Q(e,t,r){let n=t instanceof kt,o=n?r:t,i=n?t:null;return new EQ({type:\"tuple\",items:e,rest:i,...Ee.normalizeParams(o)})}var d2=ue(\"ZodRecord\",(e,t)=>{cg(),zZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>DJ(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});function SQ(e,t,r){return!t||!t._zod?new d2({type:\"record\",keyType:pk(),valueType:e,...Ee.normalizeParams(t)}):new d2({type:\"record\",keyType:e,valueType:t,...Ee.normalizeParams(r)})}function fje(e,t,r){return new d2({type:\"record\",keyType:e,valueType:t,...Ee.normalizeParams(r),partial:!0})}function pje(e,t,r){return new d2({type:\"record\",keyType:e,valueType:t,mode:\"loose\",...Ee.normalizeParams(r)})}var AQ=ue(\"ZodMap\",(e,t)=>{cg(),LZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>IJ(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check($d(...r)),e.nonempty=r=>e.check($d(1,r)),e.max=(...r)=>e.check(i0(...r)),e.size=(...r)=>e.check(rg(...r))});function mje(e,t,r){return new AQ({type:\"map\",keyType:e,valueType:t,...Ee.normalizeParams(r)})}var kQ=ue(\"ZodSet\",(e,t)=>{cg(),HZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>PJ(e,r,n,o),e.min=(...r)=>e.check($d(...r)),e.nonempty=r=>e.check($d(1,r)),e.max=(...r)=>e.check(i0(...r)),e.size=(...r)=>e.check(rg(...r))});function hje(e,t){return new kQ({type:\"set\",valueType:e,...Ee.normalizeParams(t)})}var f2=ue(\"ZodEnum\",(e,t)=>{jZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(n,o,i)=>vJ(e,n,o,i),e.enum=t.entries,e.options=[...e._zod.values];let r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{let i={};for(let c of n)if(r.has(c))i[c]=t.entries[c];else throw new Error(`Key ${c} not found in enum`);return new f2({...t,checks:[],...Ee.normalizeParams(o),entries:i})},e.exclude=(n,o)=>{let i={...t.entries};for(let c of n)if(r.has(c))delete i[c];else throw new Error(`Key ${c} not found in enum`);return new f2({...t,checks:[],...Ee.normalizeParams(o),entries:i})}});function r9(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new f2({type:\"enum\",entries:r,...Ee.normalizeParams(t)})}function yje(e,t){return new f2({type:\"enum\",entries:e,...Ee.normalizeParams(t)})}var CQ=ue(\"ZodLiteral\",(e,t)=>{FZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>wJ(e,r,n,o),e.values=new Set(t.values),Object.defineProperty(e,\"value\",{get(){if(t.values.length>1)throw new Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");return t.values[0]}})});function bje(e,t){return new CQ({type:\"literal\",values:Array.isArray(e)?e:[e],...Ee.normalizeParams(t)})}var TQ=ue(\"ZodFile\",(e,t)=>{VZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>SJ(e,r,n,o),e.min=(r,n)=>e.check($d(r,n)),e.max=(r,n)=>e.check(i0(r,n)),e.mime=(r,n)=>e.check(r2(Array.isArray(r)?r:[r],n))});function gje(e){return QW(TQ,e)}var IQ=ue(\"ZodTransform\",(e,t)=>{cg(),qZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>TJ(e,r,n,o),e._zod.parse=(r,n)=>{if(n.direction===\"backward\")throw new r0(e.constructor.name);r.addIssue=i=>{if(typeof i==\"string\")r.issues.push(Ee.issue(i,r.value,t));else{let c=i;c.fatal&&(c.continue=!1),c.code??(c.code=\"custom\"),\"input\"in c||(c.input=r.value),c.inst??(c.inst=e),r.issues.push(Ee.issue(c))}};let o=t.transform(r.value,r);return o instanceof Promise?o.then(i=>(r.value=i,r)):(r.value=o,r)}});function n9(e){return new IQ({type:\"transform\",transform:e})}var vk=ue(\"ZodOptional\",(e,t)=>{zO.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>IB(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function sg(e){return new vk({type:\"optional\",innerType:e})}var o9=ue(\"ZodExactOptional\",(e,t)=>{GZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>IB(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function PQ(e){return new o9({type:\"optional\",innerType:e})}var RQ=ue(\"ZodNullable\",(e,t)=>{KZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>NJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function mk(e){return new RQ({type:\"nullable\",innerType:e})}function xje(e){return sg(mk(e))}var OQ=ue(\"ZodDefault\",(e,t)=>{ZZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>zJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function BQ(e,t){return new OQ({type:\"default\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():Ee.shallowClone(t)}})}var MQ=ue(\"ZodPrefault\",(e,t)=>{WZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>LJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function DQ(e,t){return new MQ({type:\"prefault\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():Ee.shallowClone(t)}})}var i9=ue(\"ZodNonOptional\",(e,t)=>{JZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>UJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function NQ(e,t){return new i9({type:\"nonoptional\",innerType:e,...Ee.normalizeParams(t)})}var UQ=ue(\"ZodSuccess\",(e,t)=>{QZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>AJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function vje(e){return new UQ({type:\"success\",innerType:e})}var $Q=ue(\"ZodCatch\",(e,t)=>{YZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>HJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function zQ(e,t){return new $Q({type:\"catch\",innerType:e,catchValue:typeof t==\"function\"?t:Ee.constantCatch(t)})}var LQ=ue(\"ZodNaN\",(e,t)=>{XZ.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>EJ(e,r,n,o)});function wje(e){return WW(LQ,e)}var wk=ue(\"ZodPipe\",(e,t)=>{LO.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>jJ(e,r,n,o),e.in=t.in,e.out=t.out});function DB(e,t){return new wk({type:\"pipe\",in:e,out:t})}var Ek=ue(\"ZodCodec\",(e,t)=>{wk.init(e,t),JA.init(e,t)});function Eje(e,t,r){return new Ek({type:\"pipe\",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function _je(e){let t=e._zod.def;return new Ek({type:\"pipe\",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var HQ=ue(\"ZodPreprocess\",(e,t)=>{wk.init(e,t),eW.init(e,t)}),jQ=ue(\"ZodReadonly\",(e,t)=>{tW.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>FJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function FQ(e){return new jQ({type:\"readonly\",innerType:e})}var VQ=ue(\"ZodTemplateLiteral\",(e,t)=>{rW.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>_J(e,r,n,o)});function Sje(e,t){return new VQ({type:\"template_literal\",parts:e,...Ee.normalizeParams(t)})}var qQ=ue(\"ZodLazy\",(e,t)=>{QA.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>qJ(e,r,n,o),e.unwrap=()=>e._zod.def.getter()});function GQ(e){return new qQ({type:\"lazy\",getter:e})}var KQ=ue(\"ZodPromise\",(e,t)=>{oW.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>VJ(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function Aje(e){return new KQ({type:\"promise\",innerType:e})}var ZQ=ue(\"ZodFunction\",(e,t)=>{nW.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>CJ(e,r,n,o)});function kje(e){return new ZQ({type:\"function\",input:Array.isArray(e?.input)?_Q(e?.input):e?.input??bk(ag()),output:e?.output??ag()})}var _k=ue(\"ZodCustom\",(e,t)=>{iW.init(e,t),Lt.init(e,t),e._zod.processJSONSchema=(r,n,o)=>kJ(e,r,n,o)});function Cje(e){let t=new xn({check:\"custom\"});return t._zod.check=e,t}function Tje(e,t){return YW(_k,e??(()=>!0),t)}function WQ(e,t={}){return XW(_k,e,t)}function JQ(e,t){return eJ(e,t)}var Ije=tJ,Pje=rJ,QQ=ue(\"ZodInstanceOf\",(e,t)=>{_k.init(e,t)},{properties(e,t){return this.check(t2(e,t))}});function Rje(e,t={}){let r=new QQ({type:\"custom\",check:\"custom\",fn:n=>n instanceof e,abort:!0,...Ee.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=n=>{n.value instanceof e||n.issues.push({code:\"invalid_type\",expected:e.name,input:n.value,inst:r,path:[...r._zod.def.path??[]]})},r}var Oje=(...e)=>nJ({Codec:Ek,Boolean:h2,String:p2},...e);function Bje(e){let t=GQ(()=>b2([pk(e),sQ(),cQ(),fQ(),bk(t),SQ(pk(),t)]));return t}function Mje(e,t){return new HQ({type:\"pipe\",in:n9(e),out:t})}u();fc();var B2t={invalid_type:\"invalid_type\",too_big:\"too_big\",too_small:\"too_small\",invalid_format:\"invalid_format\",not_multiple_of:\"not_multiple_of\",unrecognized_keys:\"unrecognized_keys\",invalid_union:\"invalid_union\",invalid_key:\"invalid_key\",invalid_element:\"invalid_element\",invalid_value:\"invalid_value\",custom:\"custom\"};function M2t(e){yo({customError:e})}function D2t(){return yo().customError}var YQ;YQ||(YQ={});fc();fk();u();nk();je();var Sk={};an(Sk,{ZodISODate:()=>l0,ZodISODateTime:()=>u0,ZodISODuration:()=>f0,ZodISOTime:()=>d0,date:()=>U2t,datetime:()=>N2t,duration:()=>z2t,time:()=>$2t});u();fc();function N2t(e){return ik(u0,e)}function U2t(e){return ak(l0,e)}function $2t(e){return sk(d0,e)}function z2t(e){return ck(f0,e)}var Ge={...g2,...OB,iso:Sk},L2t=new Set([\"$schema\",\"$ref\",\"$defs\",\"definitions\",\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\",\"type\",\"enum\",\"const\",\"anyOf\",\"oneOf\",\"allOf\",\"not\",\"properties\",\"required\",\"additionalProperties\",\"patternProperties\",\"propertyNames\",\"minProperties\",\"maxProperties\",\"items\",\"prefixItems\",\"additionalItems\",\"minItems\",\"maxItems\",\"uniqueItems\",\"contains\",\"minContains\",\"maxContains\",\"minLength\",\"maxLength\",\"pattern\",\"format\",\"minimum\",\"maximum\",\"exclusiveMinimum\",\"exclusiveMaximum\",\"multipleOf\",\"description\",\"default\",\"contentEncoding\",\"contentMediaType\",\"contentSchema\",\"unevaluatedItems\",\"unevaluatedProperties\",\"if\",\"then\",\"else\",\"dependentSchemas\",\"dependentRequired\",\"nullable\",\"readOnly\"]);function H2t(e,t){let r=e.$schema;return r===\"https://json-schema.org/draft/2020-12/schema\"?\"draft-2020-12\":r===\"http://json-schema.org/draft-07/schema#\"?\"draft-7\":r===\"http://json-schema.org/draft-04/schema#\"?\"draft-4\":t??\"draft-2020-12\"}function Dje(e,t){return e.map((r,n)=>n<t?r:r.optional())}function j2t(e){return e.replace(/~1/g,\"/\").replace(/~0/g,\"~\")}function F2t(e,t){if(!e.startsWith(\"#\"))throw new Error(\"External $ref is not supported, only local refs (#/...) are allowed\");let r=e.slice(1).split(\"/\").filter(Boolean);if(r.length===0)return t.rootSchema;let n=t.version===\"draft-2020-12\"?\"$defs\":\"definitions\";if(r[0]===n){let o=r[1]===void 0?void 0:j2t(r[1]);if(!o||!t.defs[o])throw new Error(`Reference not found: ${e}`);return t.defs[o]}throw new Error(`Reference not found: ${e}`)}function V2t(e,t){return Ge.transform(n=>n).check(n=>{let o=n.value;if(typeof o!=\"object\"||o===null||Array.isArray(o))return;let i=Object.getOwnPropertyNames(o);if(t.minProperties!==void 0&&i.length<t.minProperties&&n.issues.push({origin:\"object\",code:\"too_small\",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:o,inst:e,continue:!0}),t.maxProperties!==void 0&&i.length>t.maxProperties&&n.issues.push({origin:\"object\",code:\"too_big\",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:o,inst:e,continue:!0}),t.keySchema)for(let c of i){let l=t.keySchema.safeParse(c);l.success||n.issues.push({code:\"invalid_key\",origin:\"record\",issues:l.error.issues,input:c,path:[c],continue:!0})}}).pipe(e)}function XQ(e,t){if(e===null)return\"z\";let r=typeof e;if(r!==\"object\"){if(r===\"number\"&&Number.isNaN(e))return null;let n=String(e);return`${r[0]}${n.length}:${n}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let i=[];for(let c of e){let l=XQ(c,t);if(l===null)return null;i.push(l)}return`a${i.length}:[${i.join(\",\")}]`}let n=Object.keys(e).sort(),o=[];for(let i of n){let c=XQ(e[i],t);if(c===null)return null;o.push(`${i.length}:${i}=${c}`)}return`o${o.length}:{${o.join(\",\")}}`}finally{t.delete(e)}}var q2t=new Set([\"items\",\"prefixItems\",\"additionalItems\",\"additionalProperties\",\"contains\",\"propertyNames\",\"not\",\"if\",\"then\",\"else\",\"allOf\",\"anyOf\",\"oneOf\",\"unevaluatedItems\",\"unevaluatedProperties\",\"contentSchema\"]),G2t=new Set([\"properties\",\"patternProperties\",\"dependentSchemas\",\"dependencies\",\"$defs\",\"definitions\"]);function Ak(e){return typeof e!=\"object\"||e===null?!1:Array.isArray(e)?e.some(Ak):typeof e.$ref==\"string\"?!0:Object.entries(e).some(([t,r])=>q2t.has(t)?Ak(r):!G2t.has(t)||typeof r!=\"object\"||r===null?!1:Object.values(r).some(Ak))}function Nje(e){return e===1?\"element\":\"elements\"}function K2t(e,t){return Ge.transform(n=>n).check(n=>{let o=n.value;if(Array.isArray(o)){if(t.uniqueItems===!0){let i=new Map;for(let c=0;c<o.length;c++){let l=XQ(o[c],new Set);if(l===null)continue;let f=i.get(l);if(f===void 0){i.set(l,c);continue}n.issues.push({code:\"custom\",message:`Array items must be unique: element at index ${c} duplicates the one at index ${f}`,input:o,path:[c],continue:!0})}}if(t.containsSchema){let i=t.minContains??1,c=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,l=0;for(let f of o)if(t.containsSchema.safeParse(f).success&&++l>=c)break;l<i&&n.issues.push({code:\"custom\",message:`Array must contain at least ${i} matching ${Nje(i)}; found ${l}`,input:o,continue:!0}),t.maxContains!==void 0&&l>t.maxContains&&n.issues.push({code:\"custom\",message:`Array must contain at most ${t.maxContains} matching ${Nje(t.maxContains)}`,input:o,continue:!0})}}}).pipe(e)}function Uje(e,t){if(e!==!1)return e===void 0||e===!0?Ge.any():za(e,t)}var Z2t=/^(?:[01]\\\\d|2[0-3]):[0-5]\\\\d:[0-5]\\\\d(?:\\\\.\\\\d+)?(?:Z|[+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)$/;function $je(e,t){if(e.not!==void 0){if(typeof e.not==\"object\"&&Object.keys(e.not).length===0)return Ge.never();throw new Error(\"not is not supported in Zod (except { not: {} } for never)\")}if(e.unevaluatedItems!==void 0)throw new Error(\"unevaluatedItems is not supported\");if(e.unevaluatedProperties!==void 0)throw new Error(\"unevaluatedProperties is not supported\");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error(\"Conditional schemas (if/then/else) are not supported\");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error(\"dependentSchemas and dependentRequired are not supported\");if(e.$ref){let o=e.$ref;if(t.refs.has(o))return t.refs.get(o);if(t.processing.has(o))return Ge.lazy(()=>{if(!t.refs.has(o))throw new Error(`Circular reference not resolved: ${o}`);return t.refs.get(o)});t.processing.add(o);let i=F2t(o,t),c=za(i,t);return t.refs.set(o,c),t.processing.delete(o),c}if(e.enum!==void 0){let o=e.enum;if(t.version===\"openapi-3.0\"&&e.nullable===!0&&o.length===1&&o[0]===null)return Ge.null();if(o.length===0)return Ge.never();if(o.length===1)return Ge.literal(o[0]);if(o.every(c=>typeof c==\"string\"))return Ge.enum(o);let i=o.map(c=>Ge.literal(c));return i.length<2?i[0]:Ge.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return Ge.literal(e.const);let r=e.type;if(Array.isArray(r)){let o=r.map(i=>{let c={...e,type:i};return $je(c,t)});return o.length===0?Ge.never():o.length===1?o[0]:Ge.union(o)}if(!r)return Ge.any();let n;switch(r){case\"string\":{let o=Ge.string();if(e.format){let i=e.format;i===\"email\"?o=o.check(Ge.email()):i===\"uri\"||i===\"uri-reference\"?o=o.check(Ge.url()):i===\"uuid\"||i===\"guid\"?o=o.check(Ge.uuid()):i===\"date-time\"?o=o.check(Ge.iso.datetime({offset:!0})):i===\"date\"?o=o.check(Ge.iso.date()):i===\"time\"?o=o.check(Ge.regex(Z2t)):i===\"duration\"?o=o.check(Ge.iso.duration()):i===\"hostname\"?o=o.check(Ge.hostname()):i===\"ipv4\"?o=o.check(Ge.ipv4()):i===\"ipv6\"?o=o.check(Ge.ipv6()):i===\"mac\"?o=o.check(Ge.mac()):i===\"cidr\"?o=o.check(Ge.cidrv4()):i===\"cidr-v6\"?o=o.check(Ge.cidrv6()):i===\"base64\"?o=o.check(Ge.base64()):i===\"base64url\"?o=o.check(Ge.base64url()):i===\"e164\"?o=o.check(Ge.e164()):i===\"credit_card\"?o=o.check(Ge.creditCard()):i===\"iban\"?o=o.check(Ge.iban()):i===\"jwt\"?o=o.check(Ge.jwt()):i===\"emoji\"?o=o.check(Ge.emoji()):i===\"nanoid\"?o=o.check(Ge.nanoid()):i===\"cuid\"?o=o.check(Ge.cuid()):i===\"cuid2\"?o=o.check(Ge.cuid2()):i===\"ulid\"?o=o.check(Ge.ulid()):i===\"xid\"?o=o.check(Ge.xid()):i===\"ksuid\"&&(o=o.check(Ge.ksuid()))}typeof e.minLength==\"number\"&&(o=o.min(e.minLength)),typeof e.maxLength==\"number\"&&(o=o.max(e.maxLength)),e.pattern&&(o=o.regex(new RegExp(e.pattern))),n=o;break}case\"number\":case\"integer\":{let o=r===\"integer\"?Ge.number().int():Ge.number();typeof e.minimum==\"number\"&&e.exclusiveMinimum!==!0&&(o=o.min(e.minimum)),typeof e.maximum==\"number\"&&e.exclusiveMaximum!==!0&&(o=o.max(e.maximum)),typeof e.exclusiveMinimum==\"number\"?o=o.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==\"number\"&&(o=o.gt(e.minimum)),typeof e.exclusiveMaximum==\"number\"?o=o.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==\"number\"&&(o=o.lt(e.maximum)),typeof e.multipleOf==\"number\"&&(o=o.multipleOf(e.multipleOf)),n=o;break}case\"boolean\":{n=Ge.boolean();break}case\"null\":{n=Ge.null();break}case\"object\":{let o={},i=e.properties||{},c=new Set(e.required||[]),l=typeof e.additionalProperties==\"object\"?za(e.additionalProperties,t):void 0;for(let[y,w]of Object.entries(i)){let E=za(w,t);Oi(o,y,c.has(y)?E:E.optional())}if(e.patternProperties){let y=e.patternProperties,w=Object.keys(y),E=[];for(let C of w){let R=za(y[C],t),M=Ge.string().regex(new RegExp(C));E.push(Ge.looseRecord(M,R))}let A=[];if(Object.keys(o).length>0&&A.push(Ge.object(o).passthrough()),A.push(...E),A.length===0)n=Ge.object({}).passthrough();else if(A.length===1)n=A[0];else{let C=Ge.intersection(A[0],A[1]);for(let R=2;R<A.length;R++)C=Ge.intersection(C,A[R]);n=C}if(e.additionalProperties===!1){let C=Object.keys(o),R=w.map(D=>new RegExp(D)),M=n;n=n.check(D=>{if(!Xc(D.value))return;let $=[];for(let H of Object.keys(D.value))C.includes(H)||R.some(V=>V.test(H))||$.push(H);$.length&&D.issues.push({code:\"unrecognized_keys\",keys:$,input:D.value,inst:M})})}}else{let y=Ge.object(o);e.additionalProperties===!1?n=y.strict():l?n=y.catchall(l):n=y.passthrough()}let f=e.propertyNames!==void 0&&e.propertyNames!==!0,p=typeof e.minProperties==\"number\"?e.minProperties:void 0,h=typeof e.maxProperties==\"number\"?e.maxProperties:void 0;if(f||p!==void 0||h!==void 0){let y;if(f){let w=typeof e.propertyNames==\"object\"&&e.propertyNames.type===void 0?{type:\"string\",...e.propertyNames}:e.propertyNames;y=za(w,t)}n=V2t(n,{keySchema:y,minProperties:p,maxProperties:h})}break}case\"array\":{let o=e.prefixItems,i=e.items;if(o&&Array.isArray(o)){let c=typeof e.minItems==\"number\"?e.minItems:0,l=o.map(y=>za(y,t)),f=Dje(l,c),p=Array.isArray(i)?void 0:Uje(i,t),h=Ge.tuple(f);n=p?h.rest(p):h,typeof e.minItems==\"number\"&&(n=n.check(Ge.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(n=n.check(Ge.maxLength(e.maxItems)))}else if(Array.isArray(i)){let c=typeof e.minItems==\"number\"?e.minItems:0,l=i.map(y=>za(y,t)),f=Dje(l,c),p=Uje(e.additionalItems,t),h=Ge.tuple(f);n=p?h.rest(p):h,typeof e.minItems==\"number\"&&(n=n.check(Ge.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(n=n.check(Ge.maxLength(e.maxItems)))}else if(i!==void 0){let c=za(i,t),l=Ge.array(c);typeof e.minItems==\"number\"&&(l=l.min(e.minItems)),typeof e.maxItems==\"number\"&&(l=l.max(e.maxItems)),n=l}else n=Ge.array(Ge.any());(e.uniqueItems===!0||e.contains!==void 0)&&(n=K2t(n,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?za(e.contains,t):void 0,minContains:typeof e.minContains==\"number\"?e.minContains:void 0,maxContains:typeof e.maxContains==\"number\"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${r}`)}return n}function za(e,t){if(typeof e==\"boolean\")return e?Ge.any():Ge.never();let r=$je(e,t),n=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let l=e.anyOf.map(p=>za(p,t)),f=Ge.union(l);r=n?Ge.intersection(r,f):f}if(e.oneOf&&Array.isArray(e.oneOf)){let l=e.oneOf.map(p=>za(p,t)),f=Ge.xor(l);r=n?Ge.intersection(r,f):f}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=n?r:Ge.any();else{let l=n?r:za(e.allOf[0],t),f=n?0:1;for(let p=f;p<e.allOf.length;p++)l=Ge.intersection(l,za(e.allOf[p],t));r=l}e.nullable===!0&&t.version===\"openapi-3.0\"&&(r=Ge.nullable(r)),e.readOnly===!0&&(r=Ge.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let o={},i=[\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\"];for(let l of i)l in e&&(o[l]=e[l]);let c=[\"contentEncoding\",\"contentMediaType\",\"contentSchema\"];for(let l of c)l in e&&(o[l]=e[l]);if(e.type===\"object\"&&e.$ref===void 0){e.propertyNames!==void 0&&!Ak(e.propertyNames)&&(o.propertyNames=e.propertyNames);for(let l of[\"minProperties\",\"maxProperties\"])e[l]!==void 0&&(o[l]=e[l])}if(e.type===\"array\"&&e.$ref===void 0){e.contains!==void 0&&!Ak(e.contains)&&(o.contains=e.contains);for(let l of[\"uniqueItems\",\"minContains\",\"maxContains\"])e[l]!==void 0&&(o[l]=e[l])}for(let l of Object.keys(e))L2t.has(l)||Oi(o,l,e[l]);return Object.keys(o).length>0&&t.registry.add(r,o),e.description&&(r=r.describe(e.description)),r}function zje(e,t){if(typeof e==\"boolean\")return e?Ge.any():Ge.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error(\"fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas\")}let n=H2t(r,t?.defaultTarget),o=r.$defs||r.definitions||{},i={version:n,defs:o,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??Bi};return za(r,i)}u();eY();function Hje(e){return kk(e,{object:t=>t.partial(),union:t=>{let r=t._zod.def;return r.discriminator===void 0?t:b2(r.options)}})}u();je();eY();function W2t(e,t){if(!t?.length)return e;let r=e._zod.def;return Qr(e,nl(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function jje(e){return W2t(e.out,e.checks)}function J2t(e){return e.in._zod.traits.has(\"$ZodTransform\")?jje(e):e.in}function Fje(e){return kk(e,{pipe:t=>J2t(t._zod.def),default:(t,r)=>r?sg(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function Vje(e){return kk(e,{pipe:t=>jje(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}fW();var tY={};an(tY,{bigint:()=>e6t,boolean:()=>X2t,date:()=>t6t,number:()=>Y2t,string:()=>Q2t});u();fc();function Q2t(e){return EW(p2,e)}function Y2t(e){return TW(m2,e)}function X2t(e){return DW(h2,e)}function e6t(e){return UW(y2,e)}function t6t(e){return ZW(yk,e)}var ru=ze.string().min(1),rY=ze.record(ze.string(),ze.unknown()),a9=ze.record(ze.string(),ze.unknown()).optional().nullable(),nY=ru,Gje=ze.string().regex(/^[-a-z0-9]{3,8}:[-_a-zA-Z0-9]{1,32}$/,{message:\"Network must be in CAIP-2 format (e.g., \\'eip155:84532\\')\"}),sxn=ze.union([nY,Gje]),qje=/^[\\\\x20-\\\\x7e]+$/,Kje=ze.object({url:ru,description:ze.string().nullish().transform(e=>e??void 0),mimeType:ze.string().nullish().transform(e=>e??void 0),serviceName:ze.string().min(1).max(32).regex(qje).nullish().transform(e=>e??void 0),tags:ze.array(ze.string().min(1).max(32).regex(qje)).max(5).nullish().transform(e=>e??void 0),iconUrl:ze.string().max(2048).nullish().transform(e=>e??void 0)}),Zje=ze.object({scheme:ru,network:nY,maxAmountRequired:ru,resource:ru,description:ze.string(),mimeType:ze.string().optional(),outputSchema:rY.optional().nullable(),payTo:ru,maxTimeoutSeconds:ze.number().positive(),asset:ru,extra:a9}),Wje=1024,r6t=ze.object({x402Version:ze.literal(1),error:ze.string().optional(),accepts:ze.array(Zje).min(1).max(Wje)}),n6t=ze.object({x402Version:ze.literal(1),scheme:ru,network:nY,payload:rY}),oY=ze.object({scheme:ru,network:Gje,amount:ru,asset:ru,payTo:ru,maxTimeoutSeconds:ze.number().positive(),extra:a9}),o6t=ze.object({x402Version:ze.literal(2),error:ze.string().nullish().transform(e=>e??void 0),resource:Kje,accepts:ze.array(oY).min(1).max(Wje),extensions:a9}),i6t=ze.object({x402Version:ze.literal(2),resource:Kje.nullish().transform(e=>e??void 0),accepted:oY,payload:rY,extensions:a9}),cxn=ze.union([Zje,oY]),uxn=ze.discriminatedUnion(\"x402Version\",[r6t,o6t]),lxn=ze.discriminatedUnion(\"x402Version\",[n6t,i6t]);u();var iY=2;u();var u6t=1<<20;var _xn=ze.object({isValid:ze.boolean(),invalidReason:ze.string().nullish().transform(e=>e??void 0),invalidMessage:ze.string().nullish().transform(e=>e??void 0),payer:ze.string().nullish().transform(e=>e??void 0),extensions:ze.record(ze.string(),ze.unknown()).nullish().transform(e=>e??void 0),extra:ze.record(ze.string(),ze.unknown()).nullish().transform(e=>e??void 0)}),Sxn=ze.object({success:ze.boolean(),errorReason:ze.string().nullish().transform(e=>e??void 0),errorMessage:ze.string().nullish().transform(e=>e??void 0),payer:ze.string().nullish().transform(e=>e??void 0),transaction:ze.string(),network:ze.custom(e=>typeof e==\"string\"),amount:ze.string().nullish().transform(e=>e??void 0),extensions:ze.record(ze.string(),ze.unknown()).nullish().transform(e=>e??void 0),extra:ze.record(ze.string(),ze.unknown()).nullish().transform(e=>e??void 0)}),l6t=ze.object({x402Version:ze.number(),scheme:ze.string(),network:ze.custom(e=>typeof e==\"string\"),extra:ze.record(ze.string(),ze.unknown()).nullish().transform(e=>e??void 0)}),Axn=ze.object({kinds:ze.array(l6t),extensions:ze.array(ze.string()).default([]),signers:ze.record(ze.string(),ze.array(ze.string())).default({})});function aY(e){return xG(JSON.stringify(e))}var Qje=\"$1\";function Yje(e){return/^\\\\d+$/.test(e)}function sY(e,t,r){if(e.allowedAssets!==!0)return e.allowedAssets?.find(n=>_A(n.network,t.network)?n.asset.toLowerCase()===t.asset.toLowerCase()?!0:r!=null&&r.symbol.toLowerCase()===n.asset.toLowerCase():!1)}function Jje(e,t,r){if(e===!1)return;let n=sY(e,t,r);if(n?.maxAmountPerPayment!=null){if(!Yje(n.maxAmountPerPayment))throw new Error(`spendControls.allowedAssets[].maxAmountPerPayment must be an integer atomic amount, not a dollar value; got ${JSON.stringify(n.maxAmountPerPayment)}`);return n.maxAmountPerPayment}if(!r||e.maxAmountPerPayment===!1)return;let o=e.maxAmountPerPayment??Qje;return Pw(WR(o).amount,r.decimals)}var Xje=class eFe{constructor(t){this.registeredClientSchemes=new Map,this.schemeClientHookAdapters=new Map,this.policies=[],this.registeredExtensions=new Map,this.spendControls={},this.beforePaymentCreationHooks=[],this.afterPaymentCreationHooks=[],this.onPaymentCreationFailureHooks=[],this.paymentResponseHooks=[],this.paymentRequirementsSelector=t||((r,n)=>n[0])}static fromConfig(t){let r=new eFe(t.paymentRequirementsSelector);return t.schemes.forEach(n=>{n.x402Version===1?r.registerV1(n.network,n.client):r.register(n.network,n.client)}),t.policies?.forEach(n=>{r.registerPolicy(n)}),t.spendControls!==void 0&&r.setSpendControls(t.spendControls),r}register(t,r){return this._registerScheme(iY,t,r)}registerV1(t,r){return this._registerScheme(1,t,r)}registerPolicy(t){return this.policies.push(t),this}setSpendControls(t){return this.spendControls=t,this}registerExtension(t){return this.registeredExtensions.set(t.key,t),this}getExtensions(){return Array.from(this.registeredExtensions.values())}onBeforePaymentCreation(t){return this.beforePaymentCreationHooks.push(t),this}onAfterPaymentCreation(t){return this.afterPaymentCreationHooks.push(t),this}onPaymentCreationFailure(t){return this.onPaymentCreationFailureHooks.push(t),this}onPaymentResponse(t){return this.paymentResponseHooks.push(t),this}async handlePaymentResponse(t){for(let r of this.getLabeledHooks(\"onPaymentResponse\",t.paymentPayload.x402Version,t.requirements,t.paymentRequired?.extensions??t.paymentPayload.extensions)){let n=await r(t);if(n&&\"recovered\"in n&&n.recovered)return{recovered:!0}}}async createPaymentPayload(t){let r=this.registeredClientSchemes.get(t.x402Version);if(!r)throw new Error(`No client registered for x402 version: ${t.x402Version}`);let n=this.selectPaymentRequirements(t.x402Version,t.accepts),o={paymentRequired:t,selectedRequirements:n};for(let i of this.getLabeledHooks(\"beforePaymentCreation\",t.x402Version,n,t.extensions)){let c=await i(o);if(c&&\"abort\"in c&&c.abort)throw new Error(`Payment creation aborted: ${c.reason}`)}try{let i=Rw(r,n.scheme,n.network);if(!i)throw new Error(`No client registered for scheme: ${n.scheme} and network: ${n.network}`);let c=await i.createPaymentPayload(t.x402Version,n,{extensions:t.extensions,maxAmountPerPayment:Jje(this.spendControls,n,i.findDefaultAsset?.(n.asset,n.network))}),l;if(c.x402Version==1)l=c;else{let p=this.mergeExtensions(t.extensions,c.extensions);l={x402Version:c.x402Version,payload:c.payload,extensions:p,resource:t.resource,accepted:n}}l=await this.enrichPaymentPayloadWithExtensions(l,t);let f={...o,paymentPayload:l};for(let p of this.getLabeledHooks(\"afterPaymentCreation\",t.x402Version,n,t.extensions))await p(f);return l}catch(i){let c={...o,error:i};for(let l of this.getLabeledHooks(\"onPaymentCreationFailure\",t.x402Version,n,t.extensions)){let f=await l(c);if(f&&\"recovered\"in f&&f.recovered)return f.payload}throw i}}mergeExtensions(t,r){if(!r)return t;if(!t)return r;let n={...t};for(let[o,i]of Object.entries(r)){let c=n[o];if(c===null||typeof c!=\"object\"||Array.isArray(c)||i===null||typeof i!=\"object\"||Array.isArray(i)){n[o]=i;continue}let l=c,f=i,p=YR[o],h={...l},y=[{target:h,source:f}];for(let w of y)for(let[E,A]of Object.entries(w.source)){let C=w.target[E];if(C!==null&&typeof C==\"object\"&&!Array.isArray(C)&&A!==null&&typeof A==\"object\"&&!Array.isArray(A)){let R={...C};w.target[E]=R,y.push({target:R,source:A});continue}if(p?.has(E)&&(Array.isArray(C)||Array.isArray(A))){let R=SA(C),M=SA(A);if(R&&M){w.target[E]=f6t(M,R);continue}}Object.prototype.hasOwnProperty.call(w.target,E)||(w.target[E]=A)}n[o]=h}return n}async enrichPaymentPayloadWithExtensions(t,r){if(this.registeredExtensions.size===0)return t;let n=t;for(let[,o]of this.registeredExtensions)o.enrichPaymentPayload&&(n=await o.enrichPaymentPayload(n,r));return{...n,extensions:this.mergeExtensions(r.extensions,n.extensions)}}selectPaymentRequirements(t,r){let n=this.registeredClientSchemes.get(t);if(!n)throw new Error(`No client registered for x402 version: ${t}`);let o=r.filter(f=>{let p=JR(n,f.network);return p?p.has(f.scheme):!1});if(o.length===0)throw new Error(`No network/scheme registered for x402 version: ${t} which comply with the payment requirements. ${JSON.stringify({x402Version:t,paymentRequirements:r,x402Versions:Array.from(this.registeredClientSchemes.keys()),networks:Array.from(n.keys()),schemes:Array.from(n.values()).map(f=>Array.from(f.keys())).flat()})}`);let i=o.filter(f=>{let p=f.extra?.paymentFlow;return p==null||p===\"authorization\"||p===\"upfront\"||p===\"escrow\"});if(i.length===0)throw new Error(`No payment requirements with a recognized paymentFlow for x402 version: ${t}`);let c=this.applySpendControls(t,i,n);for(let f of this.policies)if(c=f(t,c),c.length===0)throw new Error(`All payment requirements were filtered out by policies for x402 version: ${t}`);let l=c.filter(f=>f.extra?.paymentFlow==null||f.extra?.paymentFlow===\"authorization\");return l.length>0&&(c=l),this.paymentRequirementsSelector(t,c)}applySpendControls(t,r,n){let o=this.spendControls;if(o===!1)return r;let i=C=>t===1?C.maxAmountRequired:C.amount,c=C=>Rw(n,C.scheme,C.network),l=C=>c(C)?.findDefaultAsset?.(C.asset,C.network),f=C=>sY(o,C,l(C)),h=o.allowedAssets===!0?r:r.filter(C=>l(C)!=null?!0:f(C)!=null);if(h.length===0)throw new Error(\"All payment requirements were rejected by spendControls: only default assets or entries in spendControls.allowedAssets are allowed. Add an allowedAssets entry for non-default tokens, set allowedAssets: true, or set spendControls: false.\");let y=o.maxAmountPerPayment===!1?!1:o.maxAmountPerPayment??Qje,w=h,E=!1,A;if(h=h.filter(C=>{let R=l(C),M=sY(o,C,R),D=Jje(o,C,R);if(D===void 0)return!0;let $=i(C);if(!Yje($)){if(M?.maxAmountPerPayment!=null)return E=!0,!1;if(y===!1)return!0;let V=BigInt(Pw($,18)),G=BigInt(Pw(WR(y).amount,18)),K=V<=G;return K||(A=R?.symbol),K}let H=BigInt($)<=BigInt(D);return H||(M?.maxAmountPerPayment!=null?E=!0:A=R?.symbol),H}),h.length===0)throw E&&w.every(C=>f(C)?.maxAmountPerPayment!=null)?new Error(\"All payment requirements were rejected by spendControls.allowedAssets maxAmountPerPayment. Raise the per-asset cap, or omit maxAmountPerPayment to allow uncapped (default assets then fall back to the top-level USD cap).\"):new Error(`All payment requirements were rejected by spendControls.maxAmountPerPayment (${String(y)}${A?`, including ${A}`:\"\"}). Raise maxAmountPerPayment, set it to false to disable, set allowedAssets[].maxAmountPerPayment for a per-asset atomic cap, or set spendControls: false to disable all spend controls.`);return h}_registerScheme(t,r,n){this.registeredClientSchemes.has(t)||this.registeredClientSchemes.set(t,new Map);let o=this.registeredClientSchemes.get(t);o.has(r)||o.set(r,new Map),o.get(r).set(n.scheme,n),this.schemeClientHookAdapters.has(t)||this.schemeClientHookAdapters.set(t,new Map);let c=this.schemeClientHookAdapters.get(t);c.has(r)||c.set(r,new Map);let l=c.get(r),f=n.schemeHooks;if(!f)return l.delete(n.scheme),this;let p={};return f.onBeforePaymentCreation&&(p.beforePaymentCreation=f.onBeforePaymentCreation),f.onAfterPaymentCreation&&(p.afterPaymentCreation=f.onAfterPaymentCreation),f.onPaymentCreationFailure&&(p.onPaymentCreationFailure=f.onPaymentCreationFailure),f.onPaymentResponse&&(p.onPaymentResponse=f.onPaymentResponse),Object.keys(p).length>0?l.set(n.scheme,p):l.delete(n.scheme),this}getLabeledHooks(t,r,n,o){let i;switch(t){case\"beforePaymentCreation\":i=this.beforePaymentCreationHooks;break;case\"afterPaymentCreation\":i=this.afterPaymentCreationHooks;break;case\"onPaymentCreationFailure\":i=this.onPaymentCreationFailureHooks;break;case\"onPaymentResponse\":i=this.paymentResponseHooks;break}let c=[...i],l=this.schemeClientHookAdapters.get(r),p=(l?Rw(l,n.scheme,n.network):void 0)?.[t];if(p!==void 0&&c.push(p),!o)return c;let h=this.getClientExtensionHookKey(t);for(let[y,w]of this.registeredExtensions){if(!(y in o))continue;let E=w.hooks?.[h];E&&c.push((async A=>E(o[y],A)))}return c}getClientExtensionHookKey(t){switch(t){case\"beforePaymentCreation\":return\"onBeforePaymentCreation\";case\"afterPaymentCreation\":return\"onAfterPaymentCreation\";case\"onPaymentCreationFailure\":return\"onPaymentCreationFailure\";case\"onPaymentResponse\":return\"onPaymentResponse\"}}};function f6t(e,t){let r=[];for(let n of[...e,...t])r.some(o=>QR(o,n))||r.push(n);return r}u();u();var tFe=[{name:\"balanceOf\",type:\"function\",stateMutability:\"view\",inputs:[{name:\"account\",type:\"address\"}],outputs:[{name:\"balance\",type:\"uint256\"}]},{name:\"decimals\",type:\"function\",stateMutability:\"view\",inputs:[],outputs:[{name:\"decimals\",type:\"uint8\"}]}];async function cY(e,t,r){try{return await e.readContract({address:r,abi:tFe,functionName:\"balanceOf\",args:[t]})}catch(n){return console.error(\"Failed to fetch token balance:\",n),0n}}async function rFe(e,t){try{let r=await e.readContract({address:t,abi:tFe,functionName:\"decimals\"});return Number(r)}catch(r){return console.error(\"Failed to fetch token decimals:\",r),6}}u();var uY=_r(rl(),1);function nFe({className:e=\"\"}){return(0,uY.jsx)(\"div\",{className:`spinner ${e}`,children:(0,uY.jsx)(\"div\",{})})}u();yR();var oFe={MAINNET:\"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\",DEVNET:\"EtWTRABZaYq6iMfeYKouRu166VU2xqa1\"},s9={MAINNET:\"wGHE2Pwdvd7S12BL5FaOP20EGYesN73k\",TESTNET:\"SGO1GKSzyE7IEPItTxCByw9x8FmnrCDe\"},c9={MAINNET:\"wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=\",TESTNET:\"SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=\"};function iFe(e){if(e===`algorand:${s9.MAINNET}`)return c9.MAINNET;if(e===`algorand:${s9.TESTNET}`)return c9.TESTNET;throw new Error(`Unsupported Algorand network: ${e}`)}function aFe(e){return e.startsWith(\"eip155:\")}function sFe(e){return e===`algorand:${s9.MAINNET}`||e===`algorand:${s9.TESTNET}`}function cFe(e){if(e.startsWith(\"eip155:\")){let t=parseInt(e.split(\":\")[1]),r=Object.values(zh).find(n=>n.id===t);return r?r.name:`Chain ${t}`}return e.startsWith(\"solana:\")?e.split(\":\")[1]===oFe.DEVNET?\"Solana Devnet\":\"Solana Mainnet\":sFe(e)?iFe(e)===c9.TESTNET?\"Algorand Testnet\":\"Algorand Mainnet\":e}function uFe(e){if(e.startsWith(\"eip155:\")){let t=parseInt(e.split(\":\")[1]);return Object.values(zh).find(n=>n.id===t)?.testnet??!1}return e.startsWith(\"solana:\")?e.split(\":\")[1]===oFe.DEVNET:sFe(e)?iFe(e)===c9.TESTNET:!1}u();var p6t={\"eip155:84532\":\"https://faucet.circle.com/\",\"eip155:421614\":\"https://faucet.circle.com/\",\"eip155:31611\":\"https://faucet.test.mezo.org/\",\"eip155:2201\":\"https://faucet.stable.xyz/faucet\",\"eip155:72344\":\"https://testnet.radiustech.xyz/wallet\",\"eip155:11142220\":\"https://faucet.circle.com/\",\"eip155:1328\":\"https://faucet.circle.com/\",\"eip155:10143\":\"https://faucet.circle.com/\",\"eip155:5042002\":\"https://faucet.circle.com/\",\"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\":\"https://faucet.circle.com/\",\"algorand:SGO1GKSzyE7IEPItTxCByw9x8FmnrCDe\":\"https://dispenser.testnet.aws.algodev.network/\"};function lFe(e,t){return t.faucetUrls?.[e]??p6t[e]}u();function dFe(e){if(!e.account)throw new Error(\"Wallet client must have an account\");return{address:e.account.address,signTypedData:async t=>await e.signTypedData({account:e.account,domain:t.domain,types:t.types,primaryType:t.primaryType,message:t.message})}}var sr=_r(rl(),1);function fFe({paymentRequired:e,onSuccessfulResponse:t}){let{address:r,isConnected:n,chainId:o}=lA(),{switchChainAsync:i}=pG(),{data:c}=mG(),{connectors:l,connect:f}=dG(),{disconnect:p}=fG(),[h,y]=(0,Mi.useState)(\"\"),[w,E]=(0,Mi.useState)(null),[A,C]=(0,Mi.useState)(!1),[R,M]=(0,Mi.useState)(\"\"),[D,$]=(0,Mi.useState)(!0),[H,V]=(0,Mi.useState)(\"\"),G=window.x402,K=G.amount,Q=e.accepts[0];if(!Q)throw new Error(\"No payment requirements in paymentRequired.accepts\");let X=Q.network,Y=Q.extra?.name||\"Token\",fe=Q.asset,ce=cFe(X),N=uFe(X),_=parseInt(X.split(\":\")[1]),k=Object.values(zh).find(W=>W.id===_);if(!k)throw new Error(`Unsupported chain ID: ${_}`);let O=(0,Mi.useMemo)(()=>Ib({chain:k,transport:Jc()}).extend(Gv),[k]),B=(0,Mi.useCallback)(async()=>{if(!r)return;let[W,U]=await Promise.all([cY(O,r,fe),rFe(O,fe)]);M(Ny(W,U))},[r,O,fe]),L=(0,Mi.useCallback)(async()=>{if(!w)try{y(\"\"),await i({chainId:_}),await new Promise(W=>setTimeout(W,100))}catch(W){y(W instanceof Error?W.message:\"Failed to switch network\")}},[i,_,w]);(0,Mi.useEffect)(()=>{r&&(L(),B())},[r,L,B]),(0,Mi.useEffect)(()=>{n&&_===o?(E(!0),y(\"\")):n&&_!==o?(E(!1),y(`On the wrong network. Please switch to ${ce}.`)):(E(null),y(\"\"))},[_,o,n,ce]),(0,Mi.useEffect)(()=>{!H&&l.length===1&&V(l[0].id)},[l,H]);let q=(0,Mi.useCallback)(async()=>{if(!r||!G)return;if(await L(),!c){y(\"Wallet client not available. Please reconnect your wallet.\");return}let W=c.extend(Gv);C(!0);try{if(y(\"Checking balance...\"),await cY(O,r,fe)===0n)throw new Error(`Insufficient balance. Make sure you have ${Y} on ${ce}`);y(\"Creating payment signature...\");let P=dFe(W),Z=new Xje;Z.setSpendControls(!1),Z.register(\"eip155:*\",new vG(P));let ye=await Z.createPaymentPayload(e),xe=aY(ye);y(\"Requesting content with payment...\");let Te=await fetch(G.currentUrl,{headers:{\"PAYMENT-SIGNATURE\":xe,\"Access-Control-Expose-Headers\":\"PAYMENT-RESPONSE\"}});if(Te.ok)await t(Te);else throw new Error(`Request failed: ${Te.status} ${Te.statusText}`)}catch(U){y(U instanceof Error?U.message:\"Payment failed\")}finally{C(!1)}},[r,G,e,L,c,O,ce,t]);return G?(0,sr.jsxs)(\"div\",{className:\"container gap-8\",children:[(0,sr.jsxs)(\"div\",{className:\"header\",children:[(0,sr.jsx)(\"h1\",{className:\"title\",children:\"Payment Required\"}),(0,sr.jsxs)(\"p\",{children:[e.resource?.description&&`${e.resource.description}.`,\" To access this content, please pay $\",K,\" \",Y,\".\"]}),N&&(()=>{let W=lFe(X,G);return(0,sr.jsxs)(\"p\",{className:\"instructions\",children:[\"Need \",Y,\" on \",ce,\"?\",\" \",W?(0,sr.jsxs)(\"a\",{href:W,target:\"_blank\",rel:\"noopener noreferrer\",children:[\"Request some \",(0,sr.jsx)(\"u\",{children:\"here\"}),\".\"]}):(0,sr.jsx)(\"span\",{children:\"No faucet configured.\"})]})})()]}),(0,sr.jsxs)(\"div\",{className:\"content w-full\",children:[n?(0,sr.jsx)(\"div\",{className:\"cta-container\",children:(0,sr.jsx)(\"button\",{className:\"button button-secondary\",onClick:()=>p(),children:\"Disconnect\"})}):(0,sr.jsxs)(\"div\",{className:\"cta-container\",children:[(0,sr.jsxs)(\"select\",{className:\"input\",value:H,onChange:W=>V(W.target.value),children:[(0,sr.jsx)(\"option\",{value:\"\",disabled:!0,children:\"Select a wallet\"}),l.map(W=>(0,sr.jsx)(\"option\",{value:W.id,children:W.name},W.id))]}),(0,sr.jsx)(\"button\",{className:\"button button-primary\",onClick:()=>{let W=l.find(U=>U.id===H);W&&f({connector:W})},disabled:!H,children:\"Connect wallet\"})]}),n&&(0,sr.jsxs)(\"div\",{id:\"payment-section\",children:[(0,sr.jsxs)(\"div\",{className:\"payment-details\",children:[(0,sr.jsxs)(\"div\",{className:\"payment-row\",children:[(0,sr.jsx)(\"span\",{className:\"payment-label\",children:\"Wallet:\"}),(0,sr.jsx)(\"span\",{className:\"payment-value\",children:r?`${r.slice(0,6)}...${r.slice(-4)}`:\"Loading...\"})]}),(0,sr.jsxs)(\"div\",{className:\"payment-row\",children:[(0,sr.jsx)(\"span\",{className:\"payment-label\",children:\"Available balance:\"}),(0,sr.jsx)(\"span\",{className:\"payment-value\",children:(0,sr.jsx)(\"button\",{className:\"balance-button\",onClick:()=>$(W=>!W),children:R&&!D?`$${R} ${Y}`:`\\\\u2022\\\\u2022\\\\u2022\\\\u2022\\\\u2022 ${Y}`})})]}),(0,sr.jsxs)(\"div\",{className:\"payment-row\",children:[(0,sr.jsx)(\"span\",{className:\"payment-label\",children:\"Amount:\"}),(0,sr.jsxs)(\"span\",{className:\"payment-value\",children:[\"$\",K,\" \",Y]})]}),(0,sr.jsxs)(\"div\",{className:\"payment-row\",children:[(0,sr.jsx)(\"span\",{className:\"payment-label\",children:\"Network:\"}),(0,sr.jsx)(\"span\",{className:\"payment-value\",children:ce})]})]}),(0,sr.jsx)(\"div\",{className:\"cta-container\",children:w?(0,sr.jsx)(\"button\",{className:\"button button-primary\",onClick:q,disabled:A,children:A?(0,sr.jsx)(nFe,{}):\"Pay now\"}):(0,sr.jsxs)(\"button\",{className:\"button button-primary w-full\",onClick:L,children:[\"Switch to \",ce]})})]}),h&&(0,sr.jsx)(\"div\",{className:\"status\",children:h})]})]}):null}u();u();u();bn();TE.type=\"coinbaseWallet\";function TE(e={}){return e.version===\"3\"||e.headlessMode?hMt(e):mMt(e)}function mMt(e){let t,r,n,o;return i=>({id:\"coinbaseWalletSDK\",name:\"Coinbase Wallet\",rdns:\"com.coinbase.wallet\",type:TE.type,async connect({chainId:c,withCapabilities:l,...f}={}){try{let p=await this.getProvider(),h=(await p.request({method:\"eth_requestAccounts\",params:\"instantOnboarding\"in f&&f.instantOnboarding?[{onboarding:\"instant\"}]:[]})).map(w=>At(w));r||(r=this.onAccountsChanged.bind(this),p.on(\"accountsChanged\",r)),n||(n=this.onChainChanged.bind(this),p.on(\"chainChanged\",n)),o||(o=this.onDisconnect.bind(this),p.on(\"disconnect\",o));let y=await this.getChainId();return c&&y!==c&&(y=(await this.switchChain({chainId:c}).catch(E=>{if(E.code===Ln.code)throw E;return{id:y}}))?.id??y),{accounts:l?h.map(w=>({address:w,capabilities:{}})):h,chainId:y}}catch(p){throw/(user closed modal|accounts received is empty|user denied account|request rejected)/i.test(p.message)?new Ln(p):p}},async disconnect(){let c=await this.getProvider();r&&(c.removeListener(\"accountsChanged\",r),r=void 0),n&&(c.removeListener(\"chainChanged\",n),n=void 0),o&&(c.removeListener(\"disconnect\",o),o=void 0),c.disconnect(),c.close?.()},async getAccounts(){return(await(await this.getProvider()).request({method:\"eth_accounts\"})).map(l=>At(l))},async getChainId(){let l=await(await this.getProvider()).request({method:\"eth_chainId\"});return Number(l)},async getProvider(){if(!t){let c=typeof e.preference==\"string\"?{options:e.preference}:{...e.preference,options:e.preference?.options??\"all\"},{createCoinbaseWalletSDK:l}=await Promise.resolve().then(()=>(FJe(),jJe));t=l({...e,appChainIds:i.chains.map(p=>p.id),preference:c}).getProvider()}return t},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:c,chainId:l}){let f=i.chains.find(h=>h.id===l);if(!f)throw new _a(new vs);let p=await this.getProvider();try{return await p.request({method:\"wallet_switchEthereumChain\",params:[{chainId:le(f.id)}]}),f}catch(h){if(h.code===4902)try{let y;c?.blockExplorerUrls?y=c.blockExplorerUrls:y=f.blockExplorers?.default.url?[f.blockExplorers?.default.url]:[];let w;c?.rpcUrls?.length?w=c.rpcUrls:w=[f.rpcUrls.default?.http[0]??\"\"];let E={blockExplorerUrls:y,chainId:le(l),chainName:c?.chainName??f.name,iconUrls:c?.iconUrls,nativeCurrency:c?.nativeCurrency??f.nativeCurrency,rpcUrls:w};return await p.request({method:\"wallet_addEthereumChain\",params:[E]}),f}catch(y){throw new Ln(y)}throw new _a(h)}},onAccountsChanged(c){c.length===0?this.onDisconnect():i.emitter.emit(\"change\",{accounts:c.map(l=>At(l))})},onChainChanged(c){let l=Number(c);i.emitter.emit(\"change\",{chainId:l})},async onDisconnect(c){i.emitter.emit(\"disconnect\");let l=await this.getProvider();r&&(l.removeListener(\"accountsChanged\",r),r=void 0),n&&(l.removeListener(\"chainChanged\",n),n=void 0),o&&(l.removeListener(\"disconnect\",o),o=void 0)}})}function hMt(e){let r,n,o,i,c;return l=>({id:\"coinbaseWalletSDK\",name:\"Coinbase Wallet\",rdns:\"com.coinbase.wallet\",type:TE.type,async connect({chainId:f,withCapabilities:p}={}){try{let h=await this.getProvider(),y=(await h.request({method:\"eth_requestAccounts\"})).map(E=>At(E));o||(o=this.onAccountsChanged.bind(this),h.on(\"accountsChanged\",o)),i||(i=this.onChainChanged.bind(this),h.on(\"chainChanged\",i)),c||(c=this.onDisconnect.bind(this),h.on(\"disconnect\",c));let w=await this.getChainId();return f&&w!==f&&(w=(await this.switchChain({chainId:f}).catch(A=>{if(A.code===Ln.code)throw A;return{id:w}}))?.id??w),{accounts:p?y.map(E=>({address:E,capabilities:{}})):y,chainId:w}}catch(h){throw/(user closed modal|accounts received is empty|user denied account)/i.test(h.message)?new Ln(h):h}},async disconnect(){let f=await this.getProvider();o&&(f.removeListener(\"accountsChanged\",o),o=void 0),i&&(f.removeListener(\"chainChanged\",i),i=void 0),c&&(f.removeListener(\"disconnect\",c),c=void 0),f.disconnect(),f.close()},async getAccounts(){return(await(await this.getProvider()).request({method:\"eth_accounts\"})).map(p=>At(p))},async getChainId(){let p=await(await this.getProvider()).request({method:\"eth_chainId\"});return Number(p)},async getProvider(){if(!n){let f=await(async()=>{let{default:E}=await Promise.resolve().then(()=>_r(tct(),1));return typeof E!=\"function\"&&typeof E.default==\"function\"?E.default:E})();r=new f({...e,reloadOnDisconnect:!1});let p=r.walletExtension?.getChainId(),h=l.chains.find(E=>e.chainId?E.id===e.chainId:E.id===p)||l.chains[0],y=e.chainId||h?.id,w=e.jsonRpcUrl||h?.rpcUrls.default.http[0];n=r.makeWeb3Provider(w,y)}return n},async isAuthorized(){try{return!!(await this.getAccounts()).length}catch{return!1}},async switchChain({addEthereumChainParameter:f,chainId:p}){let h=l.chains.find(w=>w.id===p);if(!h)throw new _a(new vs);let y=await this.getProvider();try{return await y.request({method:\"wallet_switchEthereumChain\",params:[{chainId:le(h.id)}]}),h}catch(w){if(w.code===4902)try{let E;f?.blockExplorerUrls?E=f.blockExplorerUrls:E=h.blockExplorers?.default.url?[h.blockExplorers?.default.url]:[];let A;f?.rpcUrls?.length?A=f.rpcUrls:A=[h.rpcUrls.default?.http[0]??\"\"];let C={blockExplorerUrls:E,chainId:le(p),chainName:f?.chainName??h.name,iconUrls:f?.iconUrls,nativeCurrency:f?.nativeCurrency??h.nativeCurrency,rpcUrls:A};return await y.request({method:\"wallet_addEthereumChain\",params:[C]}),h}catch(E){throw new Ln(E)}throw new _a(w)}},onAccountsChanged(f){f.length===0?this.onDisconnect():l.emitter.emit(\"change\",{accounts:f.map(p=>At(p))})},onChainChanged(f){let p=Number(f);l.emitter.emit(\"change\",{chainId:p})},async onDisconnect(f){l.emitter.emit(\"disconnect\");let p=await this.getProvider();o&&(p.removeListener(\"accountsChanged\",o),o=void 0),i&&(p.removeListener(\"chainChanged\",i),i=void 0),c&&(p.removeListener(\"disconnect\",c),c=void 0)}})}yR();var coe=_r(rl(),1),yMt=new tG;function rct({children:e}){let{paymentRequired:t}=window.x402,r=P5;if(t?.accepts?.[0]){let i=t.accepts[0].network;if(aFe(i)){let c=parseInt(i.split(\":\")[1]),l=Object.values(zh).find(f=>f.id===c);l&&(r=l)}}let n=IR({chains:[r],connectors:[Ep(),TE({appName:window.x402.appName||\"x402 Paywall\"})],transports:{[r.id]:Jc()}});return(0,coe.jsx)(RR,{config:n,children:(0,coe.jsx)(cG,{client:yMt,children:e})})}var uoe=_r(rl(),1);window.addEventListener(\"load\",()=>{let e=document.getElementById(\"root\");if(!e){console.error(\"Root element not found\");return}let r=window.x402.paymentRequired;if(!r?.accepts?.[0]){console.error(\"No payment requirements found\");return}(0,nct.createRoot)(e).render((0,uoe.jsx)(rct,{children:(0,uoe.jsx)(fFe,{paymentRequired:r,onSuccessfulResponse:async o=>{let i=o.headers.get(\"content-type\");if(i&&i.includes(\"text/html\"))document.documentElement.innerHTML=await o.text();else{let c=await o.blob(),l=window.URL.createObjectURL(c);window.location.href=l}}})}))});})();\\n/*! Bundled license information:\\n\\nieee754/index.js:\\n  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)\\n\\nbuffer/index.js:\\n  (*!\\n   * The buffer module from node.js, for the browser.\\n   *\\n   * @author   Feross Aboukhadijeh <https://feross.org>\\n   * @license  MIT\\n   *)\\n\\nscheduler/cjs/scheduler.development.js:\\n  (**\\n   * @license React\\n   * scheduler.development.js\\n   *\\n   * Copyright (c) Meta Platforms, Inc. and affiliates.\\n   *\\n   * This source code is licensed under the MIT license found in the\\n   * LICENSE file in the root directory of this source tree.\\n   *)\\n\\nreact/cjs/react.development.js:\\n  (**\\n   * @license React\\n   * react.development.js\\n   *\\n   * Copyright (c) Meta Platforms, Inc. and affiliates.\\n   *\\n   * This source code is licensed under the MIT license found in the\\n   * LICENSE file in the root directory of this source tree.\\n   *)\\n\\nreact-dom/cjs/react-dom.development.js:\\n  (**\\n   * @license React\\n   * react-dom.development.js\\n   *\\n   * Copyright (c) Meta Platforms, Inc. and affiliates.\\n   *\\n   * This source code is licensed under the MIT license found in the\\n   * LICENSE file in the root directory of this source tree.\\n   *)\\n\\nreact-dom/cjs/react-dom-client.development.js:\\n  (**\\n   * @license React\\n   * react-dom-client.development.js\\n   *\\n   * Copyright (c) Meta Platforms, Inc. and affiliates.\\n   *\\n   * This source code is licensed under the MIT license found in the\\n   * LICENSE file in the root directory of this source tree.\\n   *)\\n\\n@noble/hashes/esm/utils.js:\\n@noble/hashes/utils.js:\\n@noble/hashes/esm/utils.js:\\n  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)\\n\\n@noble/curves/esm/abstract/utils.js:\\n@noble/curves/esm/abstract/modular.js:\\n@noble/curves/esm/abstract/curve.js:\\n@noble/curves/esm/abstract/weierstrass.js:\\n@noble/curves/esm/_shortw_utils.js:\\n@noble/curves/esm/secp256k1.js:\\n@noble/curves/esm/nist.js:\\n@noble/curves/esm/p256.js:\\n@noble/curves/esm/utils.js:\\n@noble/curves/esm/abstract/modular.js:\\n@noble/curves/esm/abstract/curve.js:\\n@noble/curves/esm/abstract/weierstrass.js:\\n@noble/curves/esm/_shortw_utils.js:\\n@noble/curves/esm/secp256k1.js:\\n@noble/curves/esm/nist.js:\\n@noble/curves/esm/p256.js:\\n  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)\\n\\nuse-sync-external-store/cjs/use-sync-external-store-shim.development.js:\\n  (**\\n   * @license React\\n   * use-sync-external-store-shim.development.js\\n   *\\n   * Copyright (c) Meta Platforms, Inc. and affiliates.\\n   *\\n   * This source code is licensed under the MIT license found in the\\n   * LICENSE file in the root directory of this source tree.\\n   *)\\n\\nuse-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js:\\n  (**\\n   * @license React\\n   * use-sync-external-store-shim/with-selector.development.js\\n   *\\n   * Copyright (c) Meta Platforms, Inc. and affiliates.\\n   *\\n   * This source code is licensed under the MIT license found in the\\n   * LICENSE file in the root directory of this source tree.\\n   *)\\n\\nreact/cjs/react-jsx-runtime.development.js:\\n  (**\\n   * @license React\\n   * react-jsx-runtime.development.js\\n   *\\n   * Copyright (c) Meta Platforms, Inc. and affiliates.\\n   *\\n   * This source code is licensed under the MIT license found in the\\n   * LICENSE file in the root directory of this source tree.\\n   *)\\n\\n@scure/bip39/esm/index.js:\\n  (*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)\\n\\nsafe-buffer/index.js:\\n  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)\\n*/\\n</script></body></html>';\n","/**\n * Serializes a value as JSON for an inline <script>. JSON.stringify leaves \"<\"\n * as is, so a string containing \"</script>\" would close the element; inside a\n * JS string \"<\" is the same character.\n *\n * @param value - Value to serialize\n * @returns JSON with every \"<\" escaped\n */\nexport function toScriptJson(value: unknown): string {\n  return JSON.stringify(value).replace(/</g, \"\\\\u003c\");\n}\n","let cachedTemplate: string | null = null;\n\nexport function getEvmTemplate(): string | null {\n  if (cachedTemplate !== null) {\n    return cachedTemplate;\n  }\n\n  try {\n    // eslint-disable-next-line @typescript-eslint/no-require-imports\n    const template = require(\"./gen/template\");\n    cachedTemplate = template.EVM_PAYWALL_TEMPLATE;\n    return cachedTemplate;\n  } catch {\n    return null;\n  }\n}\n","import type { PaymentRequired } from \"../types\";\nimport { toScriptJson } from \"../scriptJson\";\nimport { getEvmTemplate } from \"./template-loader\";\n\n/**\n * Gets the EVM chain config\n *\n * @returns The EVM chain config\n */\nfunction getChainConfig() {\n  return {\n    base: {\n      usdcAddress: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\",\n      usdcName: \"USDC\",\n    },\n    \"base-sepolia\": {\n      usdcAddress: \"0x036CbD53842c5426634e7929541eC2318f3dCF7e\",\n      usdcName: \"USDC\",\n    },\n  };\n}\n\ninterface EvmPaywallOptions {\n  amount: number;\n  paymentRequired: PaymentRequired;\n  currentUrl: string;\n  testnet: boolean;\n  appName?: string;\n  appLogo?: string;\n  faucetUrls?: Record<string, string>;\n}\n\n/**\n * Generates EVM-specific paywall HTML\n *\n * @param options - The options for generating the paywall\n * @param options.amount - The amount to be paid in USD\n * @param options.paymentRequired - The payment required response with accepts array\n * @param options.currentUrl - The URL of the content being accessed\n * @param options.testnet - Whether to use testnet or mainnet\n * @param options.appName - The name of the application to display in the wallet connection modal\n * @param options.appLogo - The logo of the application to display in the wallet connection modal\n * @param options.faucetUrls - Per-chain (CAIP-2 keyed) override for the testnet faucet link\n * @returns HTML string for the paywall page\n */\nexport function getEvmPaywallHtml(options: EvmPaywallOptions): string {\n  const EVM_PAYWALL_TEMPLATE = getEvmTemplate();\n\n  if (!EVM_PAYWALL_TEMPLATE) {\n    return `<!DOCTYPE html><html><body><h1>EVM Paywall (run pnpm build:paywall to generate full template)</h1></body></html>`;\n  }\n\n  const { amount, testnet, paymentRequired, currentUrl, appName, appLogo, faucetUrls } = options;\n\n  const logOnTestnet = testnet\n    ? \"console.log('EVM Payment required initialized:', window.x402);\"\n    : \"\";\n\n  const config = getChainConfig();\n\n  const configScript = `\n  <script>\n    window.x402 = {\n      amount: ${amount},\n      paymentRequired: ${toScriptJson(paymentRequired)},\n      testnet: ${testnet},\n      currentUrl: ${toScriptJson(currentUrl)},\n      config: {\n        chainConfig: ${JSON.stringify(config)},\n      },\n      appName: ${toScriptJson(appName || \"\")},\n      appLogo: ${toScriptJson(appLogo || \"\")},\n      faucetUrls: ${faucetUrls ? toScriptJson(faucetUrls) : \"undefined\"},\n    };\n    ${logOnTestnet}\n  </script>`;\n\n  return EVM_PAYWALL_TEMPLATE.replace(\"</head>\", () => `${configScript}\\n</head>`);\n}\n","// THIS FILE IS AUTO-GENERATED - DO NOT EDIT\n// Source: @x402/evm DEFAULT_ASSETS (decimals !== 6 only).\n// Regenerate via: pnpm --filter @x402/paywall run build:paywall\n\n/**\n * Per-network default token decimals that differ from the paywall fallback (6),\n * keyed by CAIP-2 network identifier. Chains whose default stablecoin uses 6\n * decimals are omitted; `getDefaultTokenDecimals` treats a missing key as 6.\n * Emitted at build time so the paywall's runtime module graph does not depend on `@x402/evm`.\n */\nexport const NETWORK_DECIMALS: Record<string, number> = {\n  \"eip155:31611\": 18,\n  \"eip155:31612\": 18,\n  \"eip155:4326\": 18,\n};\n","import { formatUnits } from \"viem\";\nimport type {\n  PaywallNetworkHandler,\n  PaymentRequirements,\n  PaymentRequired,\n  PaywallConfig,\n} from \"../types\";\nimport { getEvmPaywallHtml } from \"./paywall\";\nimport { NETWORK_DECIMALS } from \"./gen/decimals\";\n\n/**\n * Resolves the token decimals for a payment requirement by looking up the\n * network in the build-time-generated `NETWORK_DECIMALS` map. That map lists\n * only networks whose default stablecoin decimals differ from 6; it is derived\n * from `@x402/evm`'s `DEFAULT_ASSETS` (the same source the scheme\n * `getAssetDecimals` methods read from) and is regenerated via\n * `pnpm --filter @x402/paywall run build:paywall`. Falls back to 6 (USDC\n * default) when the network is omitted from the map or unknown.\n *\n * @param requirement - The payment requirement\n * @returns The number of decimals for the payment token\n */\nexport function getDefaultTokenDecimals(requirement: PaymentRequirements): number {\n  return NETWORK_DECIMALS[requirement.network] ?? 6;\n}\n\n/**\n * EVM paywall handler that supports EVM-based networks (CAIP-2 format only)\n */\nexport const evmPaywall: PaywallNetworkHandler = {\n  /**\n   * Check if this handler supports the given payment requirement\n   *\n   * @param requirement - Payment requirement to check\n   * @returns True if this handler can process this requirement\n   */\n  supports(requirement: PaymentRequirements): boolean {\n    return requirement.network.startsWith(\"eip155:\");\n  },\n\n  /**\n   * Generate EVM-specific paywall HTML\n   *\n   * @param requirement - The selected payment requirement\n   * @param paymentRequired - Full payment required response\n   * @param config - Paywall configuration\n   * @returns HTML string for the paywall page\n   */\n  generateHtml(\n    requirement: PaymentRequirements,\n    paymentRequired: PaymentRequired,\n    config: PaywallConfig,\n  ): string {\n    const decimals = getDefaultTokenDecimals(requirement);\n    const atomic = requirement.amount ?? requirement.maxAmountRequired;\n    // BigInt + formatUnits preserves precision through the conversion;\n    // parseFloat collapses sub-cent digits on real 18-decimal amounts.\n    const amount = atomic ? Number(formatUnits(BigInt(atomic), decimals)) : 0;\n\n    return getEvmPaywallHtml({\n      amount,\n      paymentRequired,\n      currentUrl: paymentRequired.resource?.url || config.currentUrl || \"\",\n      testnet: config.testnet ?? true,\n      appName: config.appName,\n      appLogo: config.appLogo,\n      faucetUrls: config.faucetUrls,\n    });\n  },\n};\n"]}