@cowprotocol/widget-lib 0.13.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,91 +1 @@
1
- "use strict";var M6=Object.defineProperty;var F6=(t,e,r)=>e in t?M6(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var ga=(t,e,r)=>(F6(t,typeof e!="symbol"?e+"":e,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class L6{constructor(){ga(this,"subscriptions",{})}on(e){const{event:r,handler:a}=e;this.subscriptions[r]||(this.subscriptions[r]=[]),this.subscriptions[r].push(a)}off(e){const{event:r,handler:a}=e;this.subscriptions[r]&&(this.subscriptions[r]=this.subscriptions[r].filter(n=>n!==a))}emit(e,r){this.subscriptions[e]&&this.subscriptions[e].forEach(a=>a(r))}}const C2="cowSwapWidget";function t1(t,e,r){const n={key:C2,method:e,...typeof r=="object"?r:{}};t.postMessage(n,"*")}function yn(t,e,r){const a=n=>{!U6(n.data)||n.data.key!==C2||n.data.method!==e||r(n.data)};return t.addEventListener("message",a),a}function U6(t){return typeof t=="object"&&t!==null&&"key"in t&&"method"in t&&typeof t.key=="string"&&typeof t.method=="string"}function D2(t,e,r){t.removeEventListener("message",r)}function R2(t,e){t.removeEventListener("message",e)}var ye=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ot(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function a(){return this instanceof a?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(a){var n=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(r,a,n.get?n:{enumerable:!0,get:function(){return t[a]}})}),r}var Ao={};(function(){(function(t){(function(e){var r={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function a(k){return k&&DataView.prototype.isPrototypeOf(k)}if(r.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(k){return k&&n.indexOf(Object.prototype.toString.call(k))>-1};function o(k){if(typeof k!="string"&&(k=String(k)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(k))throw new TypeError("Invalid character in header field name");return k.toLowerCase()}function s(k){return typeof k!="string"&&(k=String(k)),k}function p(k){var R={next:function(){var V=k.shift();return{done:V===void 0,value:V}}};return r.iterable&&(R[Symbol.iterator]=function(){return R}),R}function l(k){this.map={},k instanceof l?k.forEach(function(R,V){this.append(V,R)},this):Array.isArray(k)?k.forEach(function(R){this.append(R[0],R[1])},this):k&&Object.getOwnPropertyNames(k).forEach(function(R){this.append(R,k[R])},this)}l.prototype.append=function(k,R){k=o(k),R=s(R);var V=this.map[k];this.map[k]=V?V+", "+R:R},l.prototype.delete=function(k){delete this.map[o(k)]},l.prototype.get=function(k){return k=o(k),this.has(k)?this.map[k]:null},l.prototype.has=function(k){return this.map.hasOwnProperty(o(k))},l.prototype.set=function(k,R){this.map[o(k)]=s(R)},l.prototype.forEach=function(k,R){for(var V in this.map)this.map.hasOwnProperty(V)&&k.call(R,this.map[V],V,this)},l.prototype.keys=function(){var k=[];return this.forEach(function(R,V){k.push(V)}),p(k)},l.prototype.values=function(){var k=[];return this.forEach(function(R){k.push(R)}),p(k)},l.prototype.entries=function(){var k=[];return this.forEach(function(R,V){k.push([V,R])}),p(k)},r.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);function u(k){if(k.bodyUsed)return Promise.reject(new TypeError("Already read"));k.bodyUsed=!0}function v(k){return new Promise(function(R,V){k.onload=function(){R(k.result)},k.onerror=function(){V(k.error)}})}function x(k){var R=new FileReader,V=v(R);return R.readAsArrayBuffer(k),V}function A(k){var R=new FileReader,V=v(R);return R.readAsText(k),V}function N(k){for(var R=new Uint8Array(k),V=new Array(R.length),X=0;X<R.length;X++)V[X]=String.fromCharCode(R[X]);return V.join("")}function O(k){if(k.slice)return k.slice(0);var R=new Uint8Array(k.byteLength);return R.set(new Uint8Array(k)),R.buffer}function S(){return this.bodyUsed=!1,this._initBody=function(k){this._bodyInit=k,k?typeof k=="string"?this._bodyText=k:r.blob&&Blob.prototype.isPrototypeOf(k)?this._bodyBlob=k:r.formData&&FormData.prototype.isPrototypeOf(k)?this._bodyFormData=k:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(k)?this._bodyText=k.toString():r.arrayBuffer&&r.blob&&a(k)?(this._bodyArrayBuffer=O(k.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(k)||i(k))?this._bodyArrayBuffer=O(k):this._bodyText=k=Object.prototype.toString.call(k):this._bodyText="",this.headers.get("content-type")||(typeof k=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(k)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var k=u(this);if(k)return k;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?u(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(x)}),this.text=function(){var k=u(this);if(k)return k;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function $(k){var R=k.toUpperCase();return I.indexOf(R)>-1?R:k}function H(k,R){R=R||{};var V=R.body;if(k instanceof H){if(k.bodyUsed)throw new TypeError("Already read");this.url=k.url,this.credentials=k.credentials,R.headers||(this.headers=new l(k.headers)),this.method=k.method,this.mode=k.mode,this.signal=k.signal,!V&&k._bodyInit!=null&&(V=k._bodyInit,k.bodyUsed=!0)}else this.url=String(k);if(this.credentials=R.credentials||this.credentials||"same-origin",(R.headers||!this.headers)&&(this.headers=new l(R.headers)),this.method=$(R.method||this.method||"GET"),this.mode=R.mode||this.mode||null,this.signal=R.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&V)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(V)}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})};function U(k){var R=new FormData;return k.trim().split("&").forEach(function(V){if(V){var X=V.split("="),w=X.shift().replace(/\+/g," "),d=X.join("=").replace(/\+/g," ");R.append(decodeURIComponent(w),decodeURIComponent(d))}}),R}function B(k){var R=new l,V=k.replace(/\r?\n[\t ]+/g," ");return V.split(/\r?\n/).forEach(function(X){var w=X.split(":"),d=w.shift().trim();if(d){var h=w.join(":").trim();R.append(d,h)}}),R}S.call(H.prototype);function j(k,R){R||(R={}),this.type="default",this.status=R.status===void 0?200:R.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in R?R.statusText:"OK",this.headers=new l(R.headers),this.url=R.url||"",this._initBody(k)}S.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},j.error=function(){var k=new j(null,{status:0,statusText:""});return k.type="error",k};var Q=[301,302,303,307,308];j.redirect=function(k,R){if(Q.indexOf(R)===-1)throw new RangeError("Invalid status code");return new j(null,{status:R,headers:{location:k}})},e.DOMException=t.DOMException;try{new e.DOMException}catch{e.DOMException=function(R,V){this.message=R,this.name=V;var X=Error(R);this.stack=X.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function J(k,R){return new Promise(function(V,X){var w=new H(k,R);if(w.signal&&w.signal.aborted)return X(new e.DOMException("Aborted","AbortError"));var d=new XMLHttpRequest;function h(){d.abort()}d.onload=function(){var y={status:d.status,statusText:d.statusText,headers:B(d.getAllResponseHeaders()||"")};y.url="responseURL"in d?d.responseURL:y.headers.get("X-Request-URL");var T="response"in d?d.response:d.responseText;V(new j(T,y))},d.onerror=function(){X(new TypeError("Network request failed"))},d.ontimeout=function(){X(new TypeError("Network request failed"))},d.onabort=function(){X(new e.DOMException("Aborted","AbortError"))},d.open(w.method,w.url,!0),w.credentials==="include"?d.withCredentials=!0:w.credentials==="omit"&&(d.withCredentials=!1),"responseType"in d&&r.blob&&(d.responseType="blob"),w.headers.forEach(function(y,T){d.setRequestHeader(T,y)}),w.signal&&(w.signal.addEventListener("abort",h),d.onreadystatechange=function(){d.readyState===4&&w.signal.removeEventListener("abort",h)}),d.send(typeof w._bodyInit>"u"?null:w._bodyInit)})}return J.polyfill=!0,t.fetch||(t.fetch=J,t.Headers=l,t.Request=H,t.Response=j),e.Headers=l,e.Request=H,e.Response=j,e.fetch=J,Object.defineProperty(e,"__esModule",{value:!0}),e})({})})(typeof self<"u"?self:ye)})();var B2={},G0={},w1={},gn={};const V6=typeof globalThis<"u"?globalThis:global,j6=V6.performance,q6=Object.freeze(Object.defineProperty({__proto__:null,performance:j6},Symbol.toStringTag,{value:"Module"})),$6=ot(q6);Object.defineProperty(gn,"__esModule",{value:!0});gn.wait=gn.getMilliseconds=void 0;const G6=$6;function H6(t){const e=G6.performance.now()*.001;let r=Math.floor(e),a=Math.floor(e%1*1e9);return[r,a]}function z6(){const[t,e]=H6();return t*1e3+Math.floor(e/1e6)}gn.getMilliseconds=z6;function W6(t){return new Promise(e=>setTimeout(e,t))}gn.wait=W6;Object.defineProperty(w1,"__esModule",{value:!0});w1.TokenBucket=void 0;const Eo=gn;class K6{constructor({bucketSize:e,tokensPerInterval:r,interval:a,parentBucket:n}){if(this.bucketSize=e,this.tokensPerInterval=r,typeof a=="string")switch(a){case"sec":case"second":this.interval=1e3;break;case"min":case"minute":this.interval=1e3*60;break;case"hr":case"hour":this.interval=1e3*60*60;break;case"day":this.interval=1e3*60*60*24;break;default:throw new Error("Invalid interval "+a)}else this.interval=a;this.parentBucket=n,this.content=0,this.lastDrip=Eo.getMilliseconds()}async removeTokens(e){if(this.bucketSize===0)return Number.POSITIVE_INFINITY;if(e>this.bucketSize)throw new Error(`Requested tokens ${e} exceeds bucket size ${this.bucketSize}`);this.drip();const r=async()=>{const a=Math.ceil((e-this.content)*(this.interval/this.tokensPerInterval));return await Eo.wait(a),this.removeTokens(e)};if(e>this.content)return r();if(this.parentBucket!=null){const a=await this.parentBucket.removeTokens(e);return e>this.content?r():(this.content-=e,Math.min(a,this.content))}else return this.content-=e,this.content}tryRemoveTokens(e){return this.bucketSize?e>this.bucketSize||(this.drip(),e>this.content)||this.parentBucket&&!this.parentBucket.tryRemoveTokens(e)?!1:(this.content-=e,!0):!0}drip(){if(this.tokensPerInterval===0){const i=this.content;return this.content=this.bucketSize,this.content>i}const e=Eo.getMilliseconds(),r=Math.max(e-this.lastDrip,0);this.lastDrip=e;const a=r*(this.tokensPerInterval/this.interval),n=this.content;return this.content=Math.min(this.content+a,this.bucketSize),Math.floor(this.content)>Math.floor(n)}}w1.TokenBucket=K6;Object.defineProperty(G0,"__esModule",{value:!0});G0.RateLimiter=void 0;const J6=w1,L1=gn;class Q6{constructor({tokensPerInterval:e,interval:r,fireImmediately:a}){this.tokenBucket=new J6.TokenBucket({bucketSize:e,tokensPerInterval:e,interval:r}),this.tokenBucket.content=e,this.curIntervalStart=L1.getMilliseconds(),this.tokensThisInterval=0,this.fireImmediately=a??!1}async removeTokens(e){if(e>this.tokenBucket.bucketSize)throw new Error(`Requested tokens ${e} exceeds maximum tokens per interval ${this.tokenBucket.bucketSize}`);const r=L1.getMilliseconds();if((r<this.curIntervalStart||r-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=r,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval){if(this.fireImmediately)return-1;{const n=Math.ceil(this.curIntervalStart+this.tokenBucket.interval-r);await L1.wait(n);const i=await this.tokenBucket.removeTokens(e);return this.tokensThisInterval+=e,i}}const a=await this.tokenBucket.removeTokens(e);return this.tokensThisInterval+=e,a}tryRemoveTokens(e){if(e>this.tokenBucket.bucketSize)return!1;const r=L1.getMilliseconds();if((r<this.curIntervalStart||r-this.curIntervalStart>=this.tokenBucket.interval)&&(this.curIntervalStart=r,this.tokensThisInterval=0),e>this.tokenBucket.tokensPerInterval-this.tokensThisInterval)return!1;const a=this.tokenBucket.tryRemoveTokens(e);return a&&(this.tokensThisInterval+=e),a}getTokensRemaining(){return this.tokenBucket.drip(),this.tokenBucket.content}}G0.RateLimiter=Q6;(function(t){var e=ye&&ye.__createBinding||(Object.create?function(a,n,i,o){o===void 0&&(o=i),Object.defineProperty(a,o,{enumerable:!0,get:function(){return n[i]}})}:function(a,n,i,o){o===void 0&&(o=i),a[o]=n[i]}),r=ye&&ye.__exportStar||function(a,n){for(var i in a)i!=="default"&&!Object.prototype.hasOwnProperty.call(n,i)&&e(n,a,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(G0,t),r(w1,t)})(B2);var Js={},Qs={},m0=ye&&ye.__assign||function(){return m0=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++){e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},m0.apply(this,arguments)};Object.defineProperty(Qs,"__esModule",{value:!0});var Y6={delayFirstAttempt:!1,jitter:"none",maxDelay:1/0,numOfAttempts:10,retry:function(){return!0},startingDelay:100,timeMultiple:2};function X6(t){var e=m0(m0({},Y6),t);return e.numOfAttempts<1&&(e.numOfAttempts=1),e}Qs.getSanitizedOptions=X6;var Ys={},Xs={},H0={},Zs={},ed={};Object.defineProperty(ed,"__esModule",{value:!0});function Z6(t){var e=Math.random()*t;return Math.round(e)}ed.fullJitter=Z6;var td={};Object.defineProperty(td,"__esModule",{value:!0});function e4(t){return t}td.noJitter=e4;Object.defineProperty(Zs,"__esModule",{value:!0});var t4=ed,r4=td;function a4(t){switch(t.jitter){case"full":return t4.fullJitter;case"none":default:return r4.noJitter}}Zs.JitterFactory=a4;Object.defineProperty(H0,"__esModule",{value:!0});var n4=Zs,i4=function(){function t(e){this.options=e,this.attempt=0}return t.prototype.apply=function(){var e=this;return new Promise(function(r){return setTimeout(r,e.jitteredDelay)})},t.prototype.setAttemptNumber=function(e){this.attempt=e},Object.defineProperty(t.prototype,"jitteredDelay",{get:function(){var e=n4.JitterFactory(this.options);return e(this.delay)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"delay",{get:function(){var e=this.options.startingDelay,r=this.options.timeMultiple,a=this.numOfDelayedAttempts,n=e*Math.pow(r,a);return Math.min(n,this.options.maxDelay)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numOfDelayedAttempts",{get:function(){return this.attempt},enumerable:!0,configurable:!0}),t}();H0.Delay=i4;var o4=ye&&ye.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var i in n)n.hasOwnProperty(i)&&(a[i]=n[i])},t(e,r)};return function(e,r){t(e,r);function a(){this.constructor=e}e.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}(),s4=ye&&ye.__awaiter||function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})},d4=ye&&ye.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(l){return function(u){return p([l,u])}}function p(l){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,n=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(u){l=[6,u],n=0}finally{a=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Xs,"__esModule",{value:!0});var p4=H0,l4=function(t){o4(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.apply=function(){return s4(this,void 0,void 0,function(){return d4(this,function(r){return[2,this.isFirstAttempt?!0:t.prototype.apply.call(this)]})})},Object.defineProperty(e.prototype,"isFirstAttempt",{get:function(){return this.attempt===0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numOfDelayedAttempts",{get:function(){return this.attempt-1},enumerable:!0,configurable:!0}),e}(p4.Delay);Xs.SkipFirstDelay=l4;var rd={},c4=ye&&ye.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var i in n)n.hasOwnProperty(i)&&(a[i]=n[i])},t(e,r)};return function(e,r){t(e,r);function a(){this.constructor=e}e.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}();Object.defineProperty(rd,"__esModule",{value:!0});var u4=H0,f4=function(t){c4(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(u4.Delay);rd.AlwaysDelay=f4;Object.defineProperty(Ys,"__esModule",{value:!0});var h4=Xs,m4=rd;function v4(t,e){var r=b4(t);return r.setAttemptNumber(e),r}Ys.DelayFactory=v4;function b4(t){return t.delayFirstAttempt?new m4.AlwaysDelay(t):new h4.SkipFirstDelay(t)}var cs=ye&&ye.__awaiter||function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})},us=ye&&ye.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(l){return function(u){return p([l,u])}}function p(l){if(a)throw new TypeError("Generator is already executing.");for(;r;)try{if(a=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,n=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(u){l=[6,u],n=0}finally{a=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Js,"__esModule",{value:!0});var y4=Qs,g4=Ys;function x4(t,e){return e===void 0&&(e={}),cs(this,void 0,void 0,function(){var r,a;return us(this,function(n){switch(n.label){case 0:return r=y4.getSanitizedOptions(e),a=new w4(t,r),[4,a.execute()];case 1:return[2,n.sent()]}})})}Js.backOff=x4;var w4=function(){function t(e,r){this.request=e,this.options=r,this.attemptNumber=0}return t.prototype.execute=function(){return cs(this,void 0,void 0,function(){var e,r;return us(this,function(a){switch(a.label){case 0:if(this.attemptLimitReached)return[3,7];a.label=1;case 1:return a.trys.push([1,4,,6]),[4,this.applyDelay()];case 2:return a.sent(),[4,this.request()];case 3:return[2,a.sent()];case 4:return e=a.sent(),this.attemptNumber++,[4,this.options.retry(e,this.attemptNumber)];case 5:if(r=a.sent(),!r||this.attemptLimitReached)throw e;return[3,6];case 6:return[3,0];case 7:throw new Error("Something went wrong.")}})})},Object.defineProperty(t.prototype,"attemptLimitReached",{get:function(){return this.attemptNumber>=this.options.numOfAttempts},enumerable:!0,configurable:!0}),t.prototype.applyDelay=function(){return cs(this,void 0,void 0,function(){var e;return us(this,function(r){switch(r.label){case 0:return e=g4.DelayFactory(this.options,this.attemptNumber),[4,e.apply()];case 1:return r.sent(),[2]}})})},t}(),_o={},fs={exports:{}};(function(t,e){var r=typeof self<"u"?self:ye,a=function(){function i(){this.fetch=!1,this.DOMException=r.DOMException}return i.prototype=r,new i}();(function(i){(function(o){var s={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function p(d){return d&&DataView.prototype.isPrototypeOf(d)}if(s.arrayBuffer)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(d){return d&&l.indexOf(Object.prototype.toString.call(d))>-1};function v(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(d))throw new TypeError("Invalid character in header field name");return d.toLowerCase()}function x(d){return typeof d!="string"&&(d=String(d)),d}function A(d){var h={next:function(){var y=d.shift();return{done:y===void 0,value:y}}};return s.iterable&&(h[Symbol.iterator]=function(){return h}),h}function N(d){this.map={},d instanceof N?d.forEach(function(h,y){this.append(y,h)},this):Array.isArray(d)?d.forEach(function(h){this.append(h[0],h[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(h){this.append(h,d[h])},this)}N.prototype.append=function(d,h){d=v(d),h=x(h);var y=this.map[d];this.map[d]=y?y+", "+h:h},N.prototype.delete=function(d){delete this.map[v(d)]},N.prototype.get=function(d){return d=v(d),this.has(d)?this.map[d]:null},N.prototype.has=function(d){return this.map.hasOwnProperty(v(d))},N.prototype.set=function(d,h){this.map[v(d)]=x(h)},N.prototype.forEach=function(d,h){for(var y in this.map)this.map.hasOwnProperty(y)&&d.call(h,this.map[y],y,this)},N.prototype.keys=function(){var d=[];return this.forEach(function(h,y){d.push(y)}),A(d)},N.prototype.values=function(){var d=[];return this.forEach(function(h){d.push(h)}),A(d)},N.prototype.entries=function(){var d=[];return this.forEach(function(h,y){d.push([y,h])}),A(d)},s.iterable&&(N.prototype[Symbol.iterator]=N.prototype.entries);function O(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function S(d){return new Promise(function(h,y){d.onload=function(){h(d.result)},d.onerror=function(){y(d.error)}})}function I(d){var h=new FileReader,y=S(h);return h.readAsArrayBuffer(d),y}function $(d){var h=new FileReader,y=S(h);return h.readAsText(d),y}function H(d){for(var h=new Uint8Array(d),y=new Array(h.length),T=0;T<h.length;T++)y[T]=String.fromCharCode(h[T]);return y.join("")}function U(d){if(d.slice)return d.slice(0);var h=new Uint8Array(d.byteLength);return h.set(new Uint8Array(d)),h.buffer}function B(){return this.bodyUsed=!1,this._initBody=function(d){this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:s.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:s.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:s.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():s.arrayBuffer&&s.blob&&p(d)?(this._bodyArrayBuffer=U(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||u(d))?this._bodyArrayBuffer=U(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):s.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s.blob&&(this.blob=function(){var d=O(this);if(d)return d;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?O(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(I)}),this.text=function(){var d=O(this);if(d)return d;if(this._bodyBlob)return $(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(H(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s.formData&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}var j=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Q(d){var h=d.toUpperCase();return j.indexOf(h)>-1?h:d}function J(d,h){h=h||{};var y=h.body;if(d instanceof J){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,h.headers||(this.headers=new N(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!y&&d._bodyInit!=null&&(y=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=h.credentials||this.credentials||"same-origin",(h.headers||!this.headers)&&(this.headers=new N(h.headers)),this.method=Q(h.method||this.method||"GET"),this.mode=h.mode||this.mode||null,this.signal=h.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&y)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(y)}J.prototype.clone=function(){return new J(this,{body:this._bodyInit})};function k(d){var h=new FormData;return d.trim().split("&").forEach(function(y){if(y){var T=y.split("="),g=T.shift().replace(/\+/g," "),_=T.join("=").replace(/\+/g," ");h.append(decodeURIComponent(g),decodeURIComponent(_))}}),h}function R(d){var h=new N,y=d.replace(/\r?\n[\t ]+/g," ");return y.split(/\r?\n/).forEach(function(T){var g=T.split(":"),_=g.shift().trim();if(_){var E=g.join(":").trim();h.append(_,E)}}),h}B.call(J.prototype);function V(d,h){h||(h={}),this.type="default",this.status=h.status===void 0?200:h.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in h?h.statusText:"OK",this.headers=new N(h.headers),this.url=h.url||"",this._initBody(d)}B.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new N(this.headers),url:this.url})},V.error=function(){var d=new V(null,{status:0,statusText:""});return d.type="error",d};var X=[301,302,303,307,308];V.redirect=function(d,h){if(X.indexOf(h)===-1)throw new RangeError("Invalid status code");return new V(null,{status:h,headers:{location:d}})},o.DOMException=i.DOMException;try{new o.DOMException}catch{o.DOMException=function(h,y){this.message=h,this.name=y;var T=Error(h);this.stack=T.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function w(d,h){return new Promise(function(y,T){var g=new J(d,h);if(g.signal&&g.signal.aborted)return T(new o.DOMException("Aborted","AbortError"));var _=new XMLHttpRequest;function E(){_.abort()}_.onload=function(){var m={status:_.status,statusText:_.statusText,headers:R(_.getAllResponseHeaders()||"")};m.url="responseURL"in _?_.responseURL:m.headers.get("X-Request-URL");var c="response"in _?_.response:_.responseText;y(new V(c,m))},_.onerror=function(){T(new TypeError("Network request failed"))},_.ontimeout=function(){T(new TypeError("Network request failed"))},_.onabort=function(){T(new o.DOMException("Aborted","AbortError"))},_.open(g.method,g.url,!0),g.credentials==="include"?_.withCredentials=!0:g.credentials==="omit"&&(_.withCredentials=!1),"responseType"in _&&s.blob&&(_.responseType="blob"),g.headers.forEach(function(m,c){_.setRequestHeader(c,m)}),g.signal&&(g.signal.addEventListener("abort",E),_.onreadystatechange=function(){_.readyState===4&&g.signal.removeEventListener("abort",E)}),_.send(typeof g._bodyInit>"u"?null:g._bodyInit)})}return w.polyfill=!0,i.fetch||(i.fetch=w,i.Headers=N,i.Request=J,i.Response=V),o.Headers=N,o.Request=J,o.Response=V,o.fetch=w,Object.defineProperty(o,"__esModule",{value:!0}),o})({})})(a),a.fetch.ponyfill=!0,delete a.fetch.polyfill;var n=a;e=n.fetch,e.default=n.fetch,e.fetch=n.fetch,e.Headers=n.Headers,e.Request=n.Request,e.Response=n.Response,t.exports=e})(fs,fs.exports);var A4=fs.exports;function E4(t){return typeof t=="object"&&t!==null}function _4(t,e){if(!!!t)throw new Error("Unexpected invariant triggered.")}const S4=/\r\n|[\n\r]/g;function hs(t,e){let r=0,a=1;for(const n of t.body.matchAll(S4)){if(typeof n.index=="number"||_4(!1),n.index>=e)break;r=n.index+n[0].length,a+=1}return{line:a,column:e+1-r}}function T4(t){return M2(t.source,hs(t.source,t.start))}function M2(t,e){const r=t.locationOffset.column-1,a="".padStart(r)+t.body,n=e.line-1,i=t.locationOffset.line-1,o=e.line+i,s=e.line===1?r:0,p=e.column+s,l=`${t.name}:${o}:${p}
2
- `,u=a.split(/\r\n|[\n\r]/g),v=u[n];if(v.length>120){const x=Math.floor(p/80),A=p%80,N=[];for(let O=0;O<v.length;O+=80)N.push(v.slice(O,O+80));return l+Op([[`${o} |`,N[0]],...N.slice(1,x+1).map(O=>["|",O]),["|","^".padStart(A)],["|",N[x+1]]])}return l+Op([[`${o-1} |`,u[n-1]],[`${o} |`,v],["|","^".padStart(p)],[`${o+1} |`,u[n+1]]])}function Op(t){const e=t.filter(([a,n])=>n!==void 0),r=Math.max(...e.map(([a])=>a.length));return e.map(([a,n])=>a.padStart(r)+(n?" "+n:"")).join(`
3
- `)}function N4(t){const e=t[0];return e==null||"kind"in e||"length"in e?{nodes:e,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:e}class ad extends Error{constructor(e,...r){var a,n,i;const{nodes:o,source:s,positions:p,path:l,originalError:u,extensions:v}=N4(r);super(e),this.name="GraphQLError",this.path=l??void 0,this.originalError=u??void 0,this.nodes=Ip(Array.isArray(o)?o:o?[o]:void 0);const x=Ip((a=this.nodes)===null||a===void 0?void 0:a.map(N=>N.loc).filter(N=>N!=null));this.source=s??(x==null||(n=x[0])===null||n===void 0?void 0:n.source),this.positions=p??(x==null?void 0:x.map(N=>N.start)),this.locations=p&&s?p.map(N=>hs(s,N)):x==null?void 0:x.map(N=>hs(N.source,N.start));const A=E4(u==null?void 0:u.extensions)?u==null?void 0:u.extensions:void 0;this.extensions=(i=v??A)!==null&&i!==void 0?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),u!=null&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ad):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const r of this.nodes)r.loc&&(e+=`
4
-
5
- `+T4(r.loc));else if(this.source&&this.locations)for(const r of this.locations)e+=`
6
-
7
- `+M2(this.source,r);return e}toJSON(){const e={message:this.message};return this.locations!=null&&(e.locations=this.locations),this.path!=null&&(e.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function Ip(t){return t===void 0||t.length===0?void 0:t}function Mt(t,e,r){return new ad(`Syntax Error: ${r}`,{source:t,positions:[e]})}class P4{constructor(e,r,a){this.start=e.start,this.end=r.end,this.startToken=e,this.endToken=r,this.source=a}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class F2{constructor(e,r,a,n,i,o){this.kind=e,this.start=r,this.end=a,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const L2={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},O4=new Set(Object.keys(L2));function kp(t){const e=t==null?void 0:t.kind;return typeof e=="string"&&O4.has(e)}var Kn;(function(t){t.QUERY="query",t.MUTATION="mutation",t.SUBSCRIPTION="subscription"})(Kn||(Kn={}));var ms;(function(t){t.QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(ms||(ms={}));var xe;(function(t){t.NAME="Name",t.DOCUMENT="Document",t.OPERATION_DEFINITION="OperationDefinition",t.VARIABLE_DEFINITION="VariableDefinition",t.SELECTION_SET="SelectionSet",t.FIELD="Field",t.ARGUMENT="Argument",t.FRAGMENT_SPREAD="FragmentSpread",t.INLINE_FRAGMENT="InlineFragment",t.FRAGMENT_DEFINITION="FragmentDefinition",t.VARIABLE="Variable",t.INT="IntValue",t.FLOAT="FloatValue",t.STRING="StringValue",t.BOOLEAN="BooleanValue",t.NULL="NullValue",t.ENUM="EnumValue",t.LIST="ListValue",t.OBJECT="ObjectValue",t.OBJECT_FIELD="ObjectField",t.DIRECTIVE="Directive",t.NAMED_TYPE="NamedType",t.LIST_TYPE="ListType",t.NON_NULL_TYPE="NonNullType",t.SCHEMA_DEFINITION="SchemaDefinition",t.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",t.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",t.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",t.FIELD_DEFINITION="FieldDefinition",t.INPUT_VALUE_DEFINITION="InputValueDefinition",t.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",t.UNION_TYPE_DEFINITION="UnionTypeDefinition",t.ENUM_TYPE_DEFINITION="EnumTypeDefinition",t.ENUM_VALUE_DEFINITION="EnumValueDefinition",t.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",t.DIRECTIVE_DEFINITION="DirectiveDefinition",t.SCHEMA_EXTENSION="SchemaExtension",t.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",t.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",t.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",t.UNION_TYPE_EXTENSION="UnionTypeExtension",t.ENUM_TYPE_EXTENSION="EnumTypeExtension",t.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(xe||(xe={}));function vs(t){return t===9||t===32}function r1(t){return t>=48&&t<=57}function U2(t){return t>=97&&t<=122||t>=65&&t<=90}function V2(t){return U2(t)||t===95}function I4(t){return U2(t)||r1(t)||t===95}function k4(t){var e;let r=Number.MAX_SAFE_INTEGER,a=null,n=-1;for(let o=0;o<t.length;++o){var i;const s=t[o],p=C4(s);p!==s.length&&(a=(i=a)!==null&&i!==void 0?i:o,n=o,o!==0&&p<r&&(r=p))}return t.map((o,s)=>s===0?o:o.slice(r)).slice((e=a)!==null&&e!==void 0?e:0,n+1)}function C4(t){let e=0;for(;e<t.length&&vs(t.charCodeAt(e));)++e;return e}function D4(t,e){const r=t.replace(/"""/g,'\\"""'),a=r.split(/\r\n|[\n\r]/g),n=a.length===1,i=a.length>1&&a.slice(1).every(A=>A.length===0||vs(A.charCodeAt(0))),o=r.endsWith('\\"""'),s=t.endsWith('"')&&!o,p=t.endsWith("\\"),l=s||p,u=!n||t.length>70||l||i||o;let v="";const x=n&&vs(t.charCodeAt(0));return(u&&!x||i)&&(v+=`
8
- `),v+=r,(u||l)&&(v+=`
9
- `),'"""'+v+'"""'}var re;(function(t){t.SOF="<SOF>",t.EOF="<EOF>",t.BANG="!",t.DOLLAR="$",t.AMP="&",t.PAREN_L="(",t.PAREN_R=")",t.SPREAD="...",t.COLON=":",t.EQUALS="=",t.AT="@",t.BRACKET_L="[",t.BRACKET_R="]",t.BRACE_L="{",t.PIPE="|",t.BRACE_R="}",t.NAME="Name",t.INT="Int",t.FLOAT="Float",t.STRING="String",t.BLOCK_STRING="BlockString",t.COMMENT="Comment"})(re||(re={}));class R4{constructor(e){const r=new F2(re.SOF,0,0,0,0);this.source=e,this.lastToken=r,this.token=r,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==re.EOF)do if(e.next)e=e.next;else{const r=M4(this,e.end);e.next=r,r.prev=e,e=r}while(e.kind===re.COMMENT);return e}}function B4(t){return t===re.BANG||t===re.DOLLAR||t===re.AMP||t===re.PAREN_L||t===re.PAREN_R||t===re.SPREAD||t===re.COLON||t===re.EQUALS||t===re.AT||t===re.BRACKET_L||t===re.BRACKET_R||t===re.BRACE_L||t===re.PIPE||t===re.BRACE_R}function yi(t){return t>=0&&t<=55295||t>=57344&&t<=1114111}function z0(t,e){return j2(t.charCodeAt(e))&&q2(t.charCodeAt(e+1))}function j2(t){return t>=55296&&t<=56319}function q2(t){return t>=56320&&t<=57343}function xn(t,e){const r=t.source.body.codePointAt(e);if(r===void 0)return re.EOF;if(r>=32&&r<=126){const a=String.fromCodePoint(r);return a==='"'?`'"'`:`"${a}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function It(t,e,r,a,n){const i=t.line,o=1+r-t.lineStart;return new F2(e,r,a,i,o,n)}function M4(t,e){const r=t.source.body,a=r.length;let n=e;for(;n<a;){const i=r.charCodeAt(n);switch(i){case 65279:case 9:case 32:case 44:++n;continue;case 10:++n,++t.line,t.lineStart=n;continue;case 13:r.charCodeAt(n+1)===10?n+=2:++n,++t.line,t.lineStart=n;continue;case 35:return F4(t,n);case 33:return It(t,re.BANG,n,n+1);case 36:return It(t,re.DOLLAR,n,n+1);case 38:return It(t,re.AMP,n,n+1);case 40:return It(t,re.PAREN_L,n,n+1);case 41:return It(t,re.PAREN_R,n,n+1);case 46:if(r.charCodeAt(n+1)===46&&r.charCodeAt(n+2)===46)return It(t,re.SPREAD,n,n+3);break;case 58:return It(t,re.COLON,n,n+1);case 61:return It(t,re.EQUALS,n,n+1);case 64:return It(t,re.AT,n,n+1);case 91:return It(t,re.BRACKET_L,n,n+1);case 93:return It(t,re.BRACKET_R,n,n+1);case 123:return It(t,re.BRACE_L,n,n+1);case 124:return It(t,re.PIPE,n,n+1);case 125:return It(t,re.BRACE_R,n,n+1);case 34:return r.charCodeAt(n+1)===34&&r.charCodeAt(n+2)===34?$4(t,n):U4(t,n)}if(r1(i)||i===45)return L4(t,n,i);if(V2(i))return G4(t,n);throw Mt(t.source,n,i===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:yi(i)||z0(r,n)?`Unexpected character: ${xn(t,n)}.`:`Invalid character: ${xn(t,n)}.`)}return It(t,re.EOF,a,a)}function F4(t,e){const r=t.source.body,a=r.length;let n=e+1;for(;n<a;){const i=r.charCodeAt(n);if(i===10||i===13)break;if(yi(i))++n;else if(z0(r,n))n+=2;else break}return It(t,re.COMMENT,e,n,r.slice(e+1,n))}function L4(t,e,r){const a=t.source.body;let n=e,i=r,o=!1;if(i===45&&(i=a.charCodeAt(++n)),i===48){if(i=a.charCodeAt(++n),r1(i))throw Mt(t.source,n,`Invalid number, unexpected digit after 0: ${xn(t,n)}.`)}else n=So(t,n,i),i=a.charCodeAt(n);if(i===46&&(o=!0,i=a.charCodeAt(++n),n=So(t,n,i),i=a.charCodeAt(n)),(i===69||i===101)&&(o=!0,i=a.charCodeAt(++n),(i===43||i===45)&&(i=a.charCodeAt(++n)),n=So(t,n,i),i=a.charCodeAt(n)),i===46||V2(i))throw Mt(t.source,n,`Invalid number, expected digit but got: ${xn(t,n)}.`);return It(t,o?re.FLOAT:re.INT,e,n,a.slice(e,n))}function So(t,e,r){if(!r1(r))throw Mt(t.source,e,`Invalid number, expected digit but got: ${xn(t,e)}.`);const a=t.source.body;let n=e+1;for(;r1(a.charCodeAt(n));)++n;return n}function U4(t,e){const r=t.source.body,a=r.length;let n=e+1,i=n,o="";for(;n<a;){const s=r.charCodeAt(n);if(s===34)return o+=r.slice(i,n),It(t,re.STRING,e,n+1,o);if(s===92){o+=r.slice(i,n);const p=r.charCodeAt(n+1)===117?r.charCodeAt(n+2)===123?V4(t,n):j4(t,n):q4(t,n);o+=p.value,n+=p.size,i=n;continue}if(s===10||s===13)break;if(yi(s))++n;else if(z0(r,n))n+=2;else throw Mt(t.source,n,`Invalid character within String: ${xn(t,n)}.`)}throw Mt(t.source,n,"Unterminated string.")}function V4(t,e){const r=t.source.body;let a=0,n=3;for(;n<12;){const i=r.charCodeAt(e+n++);if(i===125){if(n<5||!yi(a))break;return{value:String.fromCodePoint(a),size:n}}if(a=a<<4|Vi(i),a<0)break}throw Mt(t.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+n)}".`)}function j4(t,e){const r=t.source.body,a=Cp(r,e+2);if(yi(a))return{value:String.fromCodePoint(a),size:6};if(j2(a)&&r.charCodeAt(e+6)===92&&r.charCodeAt(e+7)===117){const n=Cp(r,e+8);if(q2(n))return{value:String.fromCodePoint(a,n),size:12}}throw Mt(t.source,e,`Invalid Unicode escape sequence: "${r.slice(e,e+6)}".`)}function Cp(t,e){return Vi(t.charCodeAt(e))<<12|Vi(t.charCodeAt(e+1))<<8|Vi(t.charCodeAt(e+2))<<4|Vi(t.charCodeAt(e+3))}function Vi(t){return t>=48&&t<=57?t-48:t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:-1}function q4(t,e){const r=t.source.body;switch(r.charCodeAt(e+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
10
- `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw Mt(t.source,e,`Invalid character escape sequence: "${r.slice(e,e+2)}".`)}function $4(t,e){const r=t.source.body,a=r.length;let n=t.lineStart,i=e+3,o=i,s="";const p=[];for(;i<a;){const l=r.charCodeAt(i);if(l===34&&r.charCodeAt(i+1)===34&&r.charCodeAt(i+2)===34){s+=r.slice(o,i),p.push(s);const u=It(t,re.BLOCK_STRING,e,i+3,k4(p).join(`
11
- `));return t.line+=p.length-1,t.lineStart=n,u}if(l===92&&r.charCodeAt(i+1)===34&&r.charCodeAt(i+2)===34&&r.charCodeAt(i+3)===34){s+=r.slice(o,i),o=i+1,i+=4;continue}if(l===10||l===13){s+=r.slice(o,i),p.push(s),l===13&&r.charCodeAt(i+1)===10?i+=2:++i,s="",o=i,n=i;continue}if(yi(l))++i;else if(z0(r,i))i+=2;else throw Mt(t.source,i,`Invalid character within String: ${xn(t,i)}.`)}throw Mt(t.source,i,"Unterminated string.")}function G4(t,e){const r=t.source.body,a=r.length;let n=e+1;for(;n<a;){const i=r.charCodeAt(n);if(I4(i))++n;else break}return It(t,re.NAME,e,n,r.slice(e,n))}function r0(t,e){if(!!!t)throw new Error(e)}const H4=10,$2=2;function nd(t){return W0(t,[])}function W0(t,e){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return z4(t,e);default:return String(t)}}function z4(t,e){if(t===null)return"null";if(e.includes(t))return"[Circular]";const r=[...e,t];if(W4(t)){const a=t.toJSON();if(a!==t)return typeof a=="string"?a:W0(a,r)}else if(Array.isArray(t))return J4(t,r);return K4(t,r)}function W4(t){return typeof t.toJSON=="function"}function K4(t,e){const r=Object.entries(t);return r.length===0?"{}":e.length>$2?"["+Q4(t)+"]":"{ "+r.map(([n,i])=>n+": "+W0(i,e)).join(", ")+" }"}function J4(t,e){if(t.length===0)return"[]";if(e.length>$2)return"[Array]";const r=Math.min(H4,t.length),a=t.length-r,n=[];for(let i=0;i<r;++i)n.push(W0(t[i],e));return a===1?n.push("... 1 more item"):a>1&&n.push(`... ${a} more items`),"["+n.join(", ")+"]"}function Q4(t){const e=Object.prototype.toString.call(t).replace(/^\[object /,"").replace(/]$/,"");if(e==="Object"&&typeof t.constructor=="function"){const r=t.constructor.name;if(typeof r=="string"&&r!=="")return r}return e}const Y4=globalThis.process&&globalThis.process.env.NODE_ENV==="production"?function(e,r){return e instanceof r}:function(e,r){if(e instanceof r)return!0;if(typeof e=="object"&&e!==null){var a;const n=r.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(a=e.constructor)===null||a===void 0?void 0:a.name;if(n===i){const o=nd(e);throw new Error(`Cannot use ${n} "${o}" from another module or realm.
12
-
13
- Ensure that there is only one instance of "graphql" in the node_modules
14
- directory. If different versions of "graphql" are the dependencies of other
15
- relied on modules, use "resolutions" to ensure only one version is installed.
16
-
17
- https://yarnpkg.com/en/docs/selective-version-resolutions
18
-
19
- Duplicate "graphql" modules cannot be used at the same time since different
20
- versions may have different capabilities and behavior. The data from one
21
- version used in the function from another could produce confusing and
22
- spurious results.`)}}return!1};class G2{constructor(e,r="GraphQL request",a={line:1,column:1}){typeof e=="string"||r0(!1,`Body must be a string. Received: ${nd(e)}.`),this.body=e,this.name=r,this.locationOffset=a,this.locationOffset.line>0||r0(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||r0(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function X4(t){return Y4(t,G2)}function Z4(t,e){return new A1(t,e).parseDocument()}function e3(t,e){const r=new A1(t,e);r.expectToken(re.SOF);const a=r.parseValueLiteral(!1);return r.expectToken(re.EOF),a}function t3(t,e){const r=new A1(t,e);r.expectToken(re.SOF);const a=r.parseConstValueLiteral();return r.expectToken(re.EOF),a}function r3(t,e){const r=new A1(t,e);r.expectToken(re.SOF);const a=r.parseTypeReference();return r.expectToken(re.EOF),a}class A1{constructor(e,r={}){const a=X4(e)?e:new G2(e);this._lexer=new R4(a),this._options=r,this._tokenCounter=0}parseName(){const e=this.expectToken(re.NAME);return this.node(e,{kind:xe.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:xe.DOCUMENT,definitions:this.many(re.SOF,this.parseDefinition,re.EOF)})}parseDefinition(){if(this.peek(re.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),r=e?this._lexer.lookahead():this._lexer.token;if(r.kind===re.NAME){switch(r.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw Mt(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(r.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(r)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(re.BRACE_L))return this.node(e,{kind:xe.OPERATION_DEFINITION,operation:Kn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const r=this.parseOperationType();let a;return this.peek(re.NAME)&&(a=this.parseName()),this.node(e,{kind:xe.OPERATION_DEFINITION,operation:r,name:a,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(re.NAME);switch(e.value){case"query":return Kn.QUERY;case"mutation":return Kn.MUTATION;case"subscription":return Kn.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(re.PAREN_L,this.parseVariableDefinition,re.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:xe.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(re.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(re.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(re.DOLLAR),this.node(e,{kind:xe.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:xe.SELECTION_SET,selections:this.many(re.BRACE_L,this.parseSelection,re.BRACE_R)})}parseSelection(){return this.peek(re.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,r=this.parseName();let a,n;return this.expectOptionalToken(re.COLON)?(a=r,n=this.parseName()):n=r,this.node(e,{kind:xe.FIELD,alias:a,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(re.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const r=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(re.PAREN_L,r,re.PAREN_R)}parseArgument(e=!1){const r=this._lexer.token,a=this.parseName();return this.expectToken(re.COLON),this.node(r,{kind:xe.ARGUMENT,name:a,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(re.SPREAD);const r=this.expectOptionalKeyword("on");return!r&&this.peek(re.NAME)?this.node(e,{kind:xe.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:xe.INLINE_FRAGMENT,typeCondition:r?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(e,{kind:xe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:xe.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(e){const r=this._lexer.token;switch(r.kind){case re.BRACKET_L:return this.parseList(e);case re.BRACE_L:return this.parseObject(e);case re.INT:return this.advanceLexer(),this.node(r,{kind:xe.INT,value:r.value});case re.FLOAT:return this.advanceLexer(),this.node(r,{kind:xe.FLOAT,value:r.value});case re.STRING:case re.BLOCK_STRING:return this.parseStringLiteral();case re.NAME:switch(this.advanceLexer(),r.value){case"true":return this.node(r,{kind:xe.BOOLEAN,value:!0});case"false":return this.node(r,{kind:xe.BOOLEAN,value:!1});case"null":return this.node(r,{kind:xe.NULL});default:return this.node(r,{kind:xe.ENUM,value:r.value})}case re.DOLLAR:if(e)if(this.expectToken(re.DOLLAR),this._lexer.token.kind===re.NAME){const a=this._lexer.token.value;throw Mt(this._lexer.source,r.start,`Unexpected variable "$${a}" in constant value.`)}else throw this.unexpected(r);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:xe.STRING,value:e.value,block:e.kind===re.BLOCK_STRING})}parseList(e){const r=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:xe.LIST,values:this.any(re.BRACKET_L,r,re.BRACKET_R)})}parseObject(e){const r=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:xe.OBJECT,fields:this.any(re.BRACE_L,r,re.BRACE_R)})}parseObjectField(e){const r=this._lexer.token,a=this.parseName();return this.expectToken(re.COLON),this.node(r,{kind:xe.OBJECT_FIELD,name:a,value:this.parseValueLiteral(e)})}parseDirectives(e){const r=[];for(;this.peek(re.AT);)r.push(this.parseDirective(e));return r}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const r=this._lexer.token;return this.expectToken(re.AT),this.node(r,{kind:xe.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let r;if(this.expectOptionalToken(re.BRACKET_L)){const a=this.parseTypeReference();this.expectToken(re.BRACKET_R),r=this.node(e,{kind:xe.LIST_TYPE,type:a})}else r=this.parseNamedType();return this.expectOptionalToken(re.BANG)?this.node(e,{kind:xe.NON_NULL_TYPE,type:r}):r}parseNamedType(){return this.node(this._lexer.token,{kind:xe.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(re.STRING)||this.peek(re.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("schema");const a=this.parseConstDirectives(),n=this.many(re.BRACE_L,this.parseOperationTypeDefinition,re.BRACE_R);return this.node(e,{kind:xe.SCHEMA_DEFINITION,description:r,directives:a,operationTypes:n})}parseOperationTypeDefinition(){const e=this._lexer.token,r=this.parseOperationType();this.expectToken(re.COLON);const a=this.parseNamedType();return this.node(e,{kind:xe.OPERATION_TYPE_DEFINITION,operation:r,type:a})}parseScalarTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("scalar");const a=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:xe.SCALAR_TYPE_DEFINITION,description:r,name:a,directives:n})}parseObjectTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("type");const a=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:xe.OBJECT_TYPE_DEFINITION,description:r,name:a,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(re.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(re.BRACE_L,this.parseFieldDefinition,re.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,r=this.parseDescription(),a=this.parseName(),n=this.parseArgumentDefs();this.expectToken(re.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:xe.FIELD_DEFINITION,description:r,name:a,arguments:n,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(re.PAREN_L,this.parseInputValueDef,re.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,r=this.parseDescription(),a=this.parseName();this.expectToken(re.COLON);const n=this.parseTypeReference();let i;this.expectOptionalToken(re.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:xe.INPUT_VALUE_DEFINITION,description:r,name:a,type:n,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("interface");const a=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:xe.INTERFACE_TYPE_DEFINITION,description:r,name:a,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("union");const a=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:xe.UNION_TYPE_DEFINITION,description:r,name:a,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(re.EQUALS)?this.delimitedMany(re.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("enum");const a=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:xe.ENUM_TYPE_DEFINITION,description:r,name:a,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(re.BRACE_L,this.parseEnumValueDefinition,re.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,r=this.parseDescription(),a=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:xe.ENUM_VALUE_DEFINITION,description:r,name:a,directives:n})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw Mt(this._lexer.source,this._lexer.token.start,`${U1(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("input");const a=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:xe.INPUT_OBJECT_TYPE_DEFINITION,description:r,name:a,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(re.BRACE_L,this.parseInputValueDef,re.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===re.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const r=this.parseConstDirectives(),a=this.optionalMany(re.BRACE_L,this.parseOperationTypeDefinition,re.BRACE_R);if(r.length===0&&a.length===0)throw this.unexpected();return this.node(e,{kind:xe.SCHEMA_EXTENSION,directives:r,operationTypes:a})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const r=this.parseName(),a=this.parseConstDirectives();if(a.length===0)throw this.unexpected();return this.node(e,{kind:xe.SCALAR_TYPE_EXTENSION,name:r,directives:a})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const r=this.parseName(),a=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(a.length===0&&n.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:xe.OBJECT_TYPE_EXTENSION,name:r,interfaces:a,directives:n,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const r=this.parseName(),a=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(a.length===0&&n.length===0&&i.length===0)throw this.unexpected();return this.node(e,{kind:xe.INTERFACE_TYPE_EXTENSION,name:r,interfaces:a,directives:n,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const r=this.parseName(),a=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(a.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:xe.UNION_TYPE_EXTENSION,name:r,directives:a,types:n})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const r=this.parseName(),a=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(a.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:xe.ENUM_TYPE_EXTENSION,name:r,directives:a,values:n})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const r=this.parseName(),a=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(a.length===0&&n.length===0)throw this.unexpected();return this.node(e,{kind:xe.INPUT_OBJECT_TYPE_EXTENSION,name:r,directives:a,fields:n})}parseDirectiveDefinition(){const e=this._lexer.token,r=this.parseDescription();this.expectKeyword("directive"),this.expectToken(re.AT);const a=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:xe.DIRECTIVE_DEFINITION,description:r,name:a,arguments:n,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(re.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,r=this.parseName();if(Object.prototype.hasOwnProperty.call(ms,r.value))return r;throw this.unexpected(e)}node(e,r){return this._options.noLocation!==!0&&(r.loc=new P4(e,this._lexer.lastToken,this._lexer.source)),r}peek(e){return this._lexer.token.kind===e}expectToken(e){const r=this._lexer.token;if(r.kind===e)return this.advanceLexer(),r;throw Mt(this._lexer.source,r.start,`Expected ${H2(e)}, found ${U1(r)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e?(this.advanceLexer(),!0):!1}expectKeyword(e){const r=this._lexer.token;if(r.kind===re.NAME&&r.value===e)this.advanceLexer();else throw Mt(this._lexer.source,r.start,`Expected "${e}", found ${U1(r)}.`)}expectOptionalKeyword(e){const r=this._lexer.token;return r.kind===re.NAME&&r.value===e?(this.advanceLexer(),!0):!1}unexpected(e){const r=e??this._lexer.token;return Mt(this._lexer.source,r.start,`Unexpected ${U1(r)}.`)}any(e,r,a){this.expectToken(e);const n=[];for(;!this.expectOptionalToken(a);)n.push(r.call(this));return n}optionalMany(e,r,a){if(this.expectOptionalToken(e)){const n=[];do n.push(r.call(this));while(!this.expectOptionalToken(a));return n}return[]}many(e,r,a){this.expectToken(e);const n=[];do n.push(r.call(this));while(!this.expectOptionalToken(a));return n}delimitedMany(e,r){this.expectOptionalToken(e);const a=[];do a.push(r.call(this));while(this.expectOptionalToken(e));return a}advanceLexer(){const{maxTokens:e}=this._options,r=this._lexer.advance();if(e!==void 0&&r.kind!==re.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw Mt(this._lexer.source,r.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function U1(t){const e=t.value;return H2(t.kind)+(e!=null?` "${e}"`:"")}function H2(t){return B4(t)?`"${t}"`:t}const a3=Object.freeze(Object.defineProperty({__proto__:null,Parser:A1,parse:Z4,parseConstValue:t3,parseType:r3,parseValue:e3},Symbol.toStringTag,{value:"Module"})),n3=ot(a3);function i3(t){return`"${t.replace(o3,s3)}"`}const o3=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function s3(t){return d3[t.charCodeAt(0)]}const d3=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],p3=Object.freeze({});function l3(t,e,r=L2){const a=new Map;for(const I of Object.values(xe))a.set(I,c3(e,I));let n,i=Array.isArray(t),o=[t],s=-1,p=[],l=t,u,v;const x=[],A=[];do{s++;const I=s===o.length,$=I&&p.length!==0;if(I){if(u=A.length===0?void 0:x[x.length-1],l=v,v=A.pop(),$)if(i){l=l.slice();let U=0;for(const[B,j]of p){const Q=B-U;j===null?(l.splice(Q,1),U++):l[Q]=j}}else{l=Object.defineProperties({},Object.getOwnPropertyDescriptors(l));for(const[U,B]of p)l[U]=B}s=n.index,o=n.keys,p=n.edits,i=n.inArray,n=n.prev}else if(v){if(u=i?s:o[s],l=v[u],l==null)continue;x.push(u)}let H;if(!Array.isArray(l)){var N,O;kp(l)||r0(!1,`Invalid AST Node: ${nd(l)}.`);const U=I?(N=a.get(l.kind))===null||N===void 0?void 0:N.leave:(O=a.get(l.kind))===null||O===void 0?void 0:O.enter;if(H=U==null?void 0:U.call(e,l,u,v,x,A),H===p3)break;if(H===!1){if(!I){x.pop();continue}}else if(H!==void 0&&(p.push([u,H]),!I))if(kp(H))l=H;else{x.pop();continue}}if(H===void 0&&$&&p.push([u,l]),I)x.pop();else{var S;n={inArray:i,index:s,keys:o,edits:p,prev:n},i=Array.isArray(l),o=i?l:(S=r[l.kind])!==null&&S!==void 0?S:[],s=-1,p=[],v&&A.push(v),v=l}}while(n!==void 0);return p.length!==0?p[p.length-1][1]:t}function c3(t,e){const r=t[e];return typeof r=="object"?r:typeof r=="function"?{enter:r,leave:void 0}:{enter:t.enter,leave:t.leave}}function u3(t){return l3(t,h3)}const f3=80,h3={Name:{leave:t=>t.value},Variable:{leave:t=>"$"+t.name},Document:{leave:t=>ve(t.definitions,`
23
-
24
- `)},OperationDefinition:{leave(t){const e=Oe("(",ve(t.variableDefinitions,", "),")"),r=ve([t.operation,ve([t.name,e]),ve(t.directives," ")]," ");return(r==="query"?"":r+" ")+t.selectionSet}},VariableDefinition:{leave:({variable:t,type:e,defaultValue:r,directives:a})=>t+": "+e+Oe(" = ",r)+Oe(" ",ve(a," "))},SelectionSet:{leave:({selections:t})=>Cr(t)},Field:{leave({alias:t,name:e,arguments:r,directives:a,selectionSet:n}){const i=Oe("",t,": ")+e;let o=i+Oe("(",ve(r,", "),")");return o.length>f3&&(o=i+Oe(`(
25
- `,a0(ve(r,`
26
- `)),`
27
- )`)),ve([o,ve(a," "),n]," ")}},Argument:{leave:({name:t,value:e})=>t+": "+e},FragmentSpread:{leave:({name:t,directives:e})=>"..."+t+Oe(" ",ve(e," "))},InlineFragment:{leave:({typeCondition:t,directives:e,selectionSet:r})=>ve(["...",Oe("on ",t),ve(e," "),r]," ")},FragmentDefinition:{leave:({name:t,typeCondition:e,variableDefinitions:r,directives:a,selectionSet:n})=>`fragment ${t}${Oe("(",ve(r,", "),")")} on ${e} ${Oe("",ve(a," ")," ")}`+n},IntValue:{leave:({value:t})=>t},FloatValue:{leave:({value:t})=>t},StringValue:{leave:({value:t,block:e})=>e?D4(t):i3(t)},BooleanValue:{leave:({value:t})=>t?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:t})=>t},ListValue:{leave:({values:t})=>"["+ve(t,", ")+"]"},ObjectValue:{leave:({fields:t})=>"{"+ve(t,", ")+"}"},ObjectField:{leave:({name:t,value:e})=>t+": "+e},Directive:{leave:({name:t,arguments:e})=>"@"+t+Oe("(",ve(e,", "),")")},NamedType:{leave:({name:t})=>t},ListType:{leave:({type:t})=>"["+t+"]"},NonNullType:{leave:({type:t})=>t+"!"},SchemaDefinition:{leave:({description:t,directives:e,operationTypes:r})=>Oe("",t,`
28
- `)+ve(["schema",ve(e," "),Cr(r)]," ")},OperationTypeDefinition:{leave:({operation:t,type:e})=>t+": "+e},ScalarTypeDefinition:{leave:({description:t,name:e,directives:r})=>Oe("",t,`
29
- `)+ve(["scalar",e,ve(r," ")]," ")},ObjectTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:a,fields:n})=>Oe("",t,`
30
- `)+ve(["type",e,Oe("implements ",ve(r," & ")),ve(a," "),Cr(n)]," ")},FieldDefinition:{leave:({description:t,name:e,arguments:r,type:a,directives:n})=>Oe("",t,`
31
- `)+e+(Dp(r)?Oe(`(
32
- `,a0(ve(r,`
33
- `)),`
34
- )`):Oe("(",ve(r,", "),")"))+": "+a+Oe(" ",ve(n," "))},InputValueDefinition:{leave:({description:t,name:e,type:r,defaultValue:a,directives:n})=>Oe("",t,`
35
- `)+ve([e+": "+r,Oe("= ",a),ve(n," ")]," ")},InterfaceTypeDefinition:{leave:({description:t,name:e,interfaces:r,directives:a,fields:n})=>Oe("",t,`
36
- `)+ve(["interface",e,Oe("implements ",ve(r," & ")),ve(a," "),Cr(n)]," ")},UnionTypeDefinition:{leave:({description:t,name:e,directives:r,types:a})=>Oe("",t,`
37
- `)+ve(["union",e,ve(r," "),Oe("= ",ve(a," | "))]," ")},EnumTypeDefinition:{leave:({description:t,name:e,directives:r,values:a})=>Oe("",t,`
38
- `)+ve(["enum",e,ve(r," "),Cr(a)]," ")},EnumValueDefinition:{leave:({description:t,name:e,directives:r})=>Oe("",t,`
39
- `)+ve([e,ve(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:t,name:e,directives:r,fields:a})=>Oe("",t,`
40
- `)+ve(["input",e,ve(r," "),Cr(a)]," ")},DirectiveDefinition:{leave:({description:t,name:e,arguments:r,repeatable:a,locations:n})=>Oe("",t,`
41
- `)+"directive @"+e+(Dp(r)?Oe(`(
42
- `,a0(ve(r,`
43
- `)),`
44
- )`):Oe("(",ve(r,", "),")"))+(a?" repeatable":"")+" on "+ve(n," | ")},SchemaExtension:{leave:({directives:t,operationTypes:e})=>ve(["extend schema",ve(t," "),Cr(e)]," ")},ScalarTypeExtension:{leave:({name:t,directives:e})=>ve(["extend scalar",t,ve(e," ")]," ")},ObjectTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:a})=>ve(["extend type",t,Oe("implements ",ve(e," & ")),ve(r," "),Cr(a)]," ")},InterfaceTypeExtension:{leave:({name:t,interfaces:e,directives:r,fields:a})=>ve(["extend interface",t,Oe("implements ",ve(e," & ")),ve(r," "),Cr(a)]," ")},UnionTypeExtension:{leave:({name:t,directives:e,types:r})=>ve(["extend union",t,ve(e," "),Oe("= ",ve(r," | "))]," ")},EnumTypeExtension:{leave:({name:t,directives:e,values:r})=>ve(["extend enum",t,ve(e," "),Cr(r)]," ")},InputObjectTypeExtension:{leave:({name:t,directives:e,fields:r})=>ve(["extend input",t,ve(e," "),Cr(r)]," ")}};function ve(t,e=""){var r;return(r=t==null?void 0:t.filter(a=>a).join(e))!==null&&r!==void 0?r:""}function Cr(t){return Oe(`{
45
- `,a0(ve(t,`
46
- `)),`
47
- }`)}function Oe(t,e,r=""){return e!=null&&e!==""?t+e+r:""}function a0(t){return Oe(" ",t.replace(/\n/g,`
48
- `))}function Dp(t){var e;return(e=t==null?void 0:t.some(r=>r.includes(`
49
- `)))!==null&&e!==void 0?e:!1}const m3=Object.freeze(Object.defineProperty({__proto__:null,print:u3},Symbol.toStringTag,{value:"Module"})),v3=ot(m3);var id={},K0={},z2=function(e){var r=e.uri,a=e.name,n=e.type;this.uri=r,this.name=a,this.type=n},b3=z2,W2=function(e){return typeof File<"u"&&e instanceof File||typeof Blob<"u"&&e instanceof Blob||e instanceof b3},y3=W2,g3=function t(e,r,a){r===void 0&&(r=""),a===void 0&&(a=y3);var n,i=new Map;function o(u,v){var x=i.get(v);x?x.push.apply(x,u):i.set(v,u)}if(a(e))n=null,o([r],e);else{var s=r?r+".":"";if(typeof FileList<"u"&&e instanceof FileList)n=Array.prototype.map.call(e,function(u,v){return o([""+s+v],u),null});else if(Array.isArray(e))n=e.map(function(u,v){var x=t(u,""+s+v,a);return x.files.forEach(o),x.clone});else if(e&&e.constructor===Object){n={};for(var p in e){var l=t(e[p],""+s+p,a);l.files.forEach(o),n[p]=l.clone}}else n=e}return{clone:n,files:i}};K0.ReactNativeFile=z2;K0.extractFiles=g3;K0.isExtractableFile=W2;var x3=typeof self=="object"?self.FormData:window.FormData,E1={};Object.defineProperty(E1,"__esModule",{value:!0});E1.defaultJsonSerializer=void 0;E1.defaultJsonSerializer={parse:JSON.parse,stringify:JSON.stringify};var w3=ye&&ye.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(id,"__esModule",{value:!0});var K2=K0,A3=w3(x3),E3=E1,_3=function(t){return K2.isExtractableFile(t)||t!==null&&typeof t=="object"&&typeof t.pipe=="function"};function S3(t,e,r,a){a===void 0&&(a=E3.defaultJsonSerializer);var n=K2.extractFiles({query:t,variables:e,operationName:r},"",_3),i=n.clone,o=n.files;if(o.size===0){if(!Array.isArray(t))return a.stringify(i);if(typeof e<"u"&&!Array.isArray(e))throw new Error("Cannot create request body with given variable type, array expected");var s=t.reduce(function(x,A,N){return x.push({query:A,variables:e?e[N]:void 0}),x},[]);return a.stringify(s)}var p=typeof FormData>"u"?A3.default:FormData,l=new p;l.append("operations",a.stringify(i));var u={},v=0;return o.forEach(function(x){u[++v]=x}),l.append("map",a.stringify(u)),v=0,o.forEach(function(x,A){l.append(""+ ++v,A)}),l}id.default=S3;var dr={};Object.defineProperty(dr,"__esModule",{value:!0});dr.parseBatchRequestsExtendedArgs=dr.parseRawRequestExtendedArgs=dr.parseRequestExtendedArgs=dr.parseBatchRequestArgs=dr.parseRawRequestArgs=dr.parseRequestArgs=void 0;function T3(t,e,r){return t.document?t:{document:t,variables:e,requestHeaders:r,signal:void 0}}dr.parseRequestArgs=T3;function N3(t,e,r){return t.query?t:{query:t,variables:e,requestHeaders:r,signal:void 0}}dr.parseRawRequestArgs=N3;function P3(t,e){return t.documents?t:{documents:t,requestHeaders:e,signal:void 0}}dr.parseBatchRequestArgs=P3;function O3(t,e,r,a){return t.document?t:{url:t,document:e,variables:r,requestHeaders:a,signal:void 0}}dr.parseRequestExtendedArgs=O3;function I3(t,e,r,a){return t.query?t:{url:t,query:e,variables:r,requestHeaders:a,signal:void 0}}dr.parseRawRequestExtendedArgs=I3;function k3(t,e,r){return t.documents?t:{url:t,documents:e,requestHeaders:r,signal:void 0}}dr.parseBatchRequestsExtendedArgs=k3;var _1={},C3=ye&&ye.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(a[i]=n[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function a(){this.constructor=e}e.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}();Object.defineProperty(_1,"__esModule",{value:!0});_1.ClientError=void 0;var D3=function(t){C3(e,t);function e(r,a){var n=this,i=e.extractMessage(r)+": "+JSON.stringify({response:r,request:a});return n=t.call(this,i)||this,Object.setPrototypeOf(n,e.prototype),n.response=r,n.request=a,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,e),n}return e.extractMessage=function(r){try{return r.errors[0].message}catch{return"GraphQL Error (Code: "+r.status+")"}},e}(Error);_1.ClientError=D3;var Oi={},Rp;function R3(){if(Rp)return Oi;Rp=1;var t=ye&&ye.__assign||function(){return t=Object.assign||function(B){for(var j,Q=1,J=arguments.length;Q<J;Q++){j=arguments[Q];for(var k in j)Object.prototype.hasOwnProperty.call(j,k)&&(B[k]=j[k])}return B},t.apply(this,arguments)},e=ye&&ye.__awaiter||function(B,j,Q,J){function k(R){return R instanceof Q?R:new Q(function(V){V(R)})}return new(Q||(Q=Promise))(function(R,V){function X(h){try{d(J.next(h))}catch(y){V(y)}}function w(h){try{d(J.throw(h))}catch(y){V(y)}}function d(h){h.done?R(h.value):k(h.value).then(X,w)}d((J=J.apply(B,j||[])).next())})},r=ye&&ye.__generator||function(B,j){var Q={label:0,sent:function(){if(R[0]&1)throw R[1];return R[1]},trys:[],ops:[]},J,k,R,V;return V={next:X(0),throw:X(1),return:X(2)},typeof Symbol=="function"&&(V[Symbol.iterator]=function(){return this}),V;function X(d){return function(h){return w([d,h])}}function w(d){if(J)throw new TypeError("Generator is already executing.");for(;Q;)try{if(J=1,k&&(R=d[0]&2?k.return:d[0]?k.throw||((R=k.return)&&R.call(k),0):k.next)&&!(R=R.call(k,d[1])).done)return R;switch(k=0,R&&(d=[d[0]&2,R.value]),d[0]){case 0:case 1:R=d;break;case 4:return Q.label++,{value:d[1],done:!1};case 5:Q.label++,k=d[1],d=[0];continue;case 7:d=Q.ops.pop(),Q.trys.pop();continue;default:if(R=Q.trys,!(R=R.length>0&&R[R.length-1])&&(d[0]===6||d[0]===2)){Q=0;continue}if(d[0]===3&&(!R||d[1]>R[0]&&d[1]<R[3])){Q.label=d[1];break}if(d[0]===6&&Q.label<R[1]){Q.label=R[1],R=d;break}if(R&&Q.label<R[2]){Q.label=R[2],Q.ops.push(d);break}R[2]&&Q.ops.pop(),Q.trys.pop();continue}d=j.call(B,Q)}catch(h){d=[6,h],k=0}finally{J=R=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}};Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.GraphQLWebSocketClient=void 0;var a=_1,n=od(),i="connection_init",o="connection_ack",s="ping",p="pong",l="subscribe",u="next",v="error",x="complete",A=function(){function B(j,Q,J){this._type=j,this._payload=Q,this._id=J}return Object.defineProperty(B.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"payload",{get:function(){return this._payload},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"text",{get:function(){var j={type:this.type};return this.id!=null&&this.id!=null&&(j.id=this.id),this.payload!=null&&this.payload!=null&&(j.payload=this.payload),JSON.stringify(j)},enumerable:!1,configurable:!0}),B.parse=function(j,Q){var J=JSON.parse(j),k=J.type,R=J.payload,V=J.id;return new B(k,Q(R),V)},B}(),N=function(){function B(j,Q){var J=this,k=Q.onInit,R=Q.onAcknowledged,V=Q.onPing,X=Q.onPong;this.socketState={acknowledged:!1,lastRequestId:0,subscriptions:{}},this.socket=j,j.onopen=function(w){return e(J,void 0,void 0,function(){var d,h,y,T;return r(this,function(g){switch(g.label){case 0:return this.socketState.acknowledged=!1,this.socketState.subscriptions={},h=(d=j).send,y=S,k?[4,k()]:[3,2];case 1:return T=g.sent(),[3,3];case 2:T=null,g.label=3;case 3:return h.apply(d,[y.apply(void 0,[T]).text]),[2]}})})},j.onclose=function(w){J.socketState.acknowledged=!1,J.socketState.subscriptions={}},j.onerror=function(w){console.error(w)},j.onmessage=function(w){try{var d=O(w.data);switch(d.type){case o:{J.socketState.acknowledged?console.warn("Duplicate CONNECTION_ACK message ignored"):(J.socketState.acknowledged=!0,R&&R(d.payload));return}case s:{V?V(d.payload).then(function(_){return j.send($(_).text)}):j.send($(null).text);return}case p:{X&&X(d.payload);return}}if(!J.socketState.acknowledged||d.id===void 0||d.id===null||!J.socketState.subscriptions[d.id])return;var h=J.socketState.subscriptions[d.id],y=h.query,T=h.variables,g=h.subscriber;switch(d.type){case u:{!d.payload.errors&&d.payload.data&&g.next&&g.next(d.payload.data),d.payload.errors&&g.error&&g.error(new a.ClientError(t(t({},d.payload),{status:200}),{query:y,variables:T}));return}case v:{g.error&&g.error(new a.ClientError({errors:d.payload,status:200},{query:y,variables:T}));return}case x:{g.complete&&g.complete(),delete J.socketState.subscriptions[d.id];return}}}catch(_){console.error(_),j.close(1006)}j.close(4400,"Unknown graphql-ws message.")}}return B.prototype.makeSubscribe=function(j,Q,J,k){var R=this,V=(this.socketState.lastRequestId++).toString();return this.socketState.subscriptions[V]={query:j,variables:J,subscriber:k},this.socket.send(H(V,{query:j,operationName:Q,variables:J}).text),function(){R.socket.send(U(V).text),delete R.socketState.subscriptions[V]}},B.prototype.rawRequest=function(j,Q){var J=this;return new Promise(function(k,R){var V;J.rawSubscribe(j,{next:function(X,w){return V={data:X,extensions:w}},error:R,complete:function(){return k(V)}},Q)})},B.prototype.request=function(j,Q){var J=this;return new Promise(function(k,R){var V;J.subscribe(j,{next:function(X){return V=X},error:R,complete:function(){return k(V)}},Q)})},B.prototype.subscribe=function(j,Q,J){var k=n.resolveRequestDocument(j),R=k.query,V=k.operationName;return this.makeSubscribe(R,V,J,Q)},B.prototype.rawSubscribe=function(j,Q,J){return this.makeSubscribe(j,void 0,J,Q)},B.prototype.ping=function(j){this.socket.send(I(j).text)},B.prototype.close=function(){this.socket.close(1e3)},B.PROTOCOL="graphql-transport-ws",B}();Oi.GraphQLWebSocketClient=N;function O(B,j){j===void 0&&(j=function(J){return J});var Q=A.parse(B,j);return Q}function S(B){return new A(i,B)}function I(B){return new A(s,B,void 0)}function $(B){return new A(p,B,void 0)}function H(B,j){return new A(l,j,B)}function U(B){return new A(x,void 0,B)}return Oi}var Bp;function od(){return Bp||(Bp=1,function(t){var e=ye&&ye.__assign||function(){return e=Object.assign||function(g){for(var _,E=1,m=arguments.length;E<m;E++){_=arguments[E];for(var c in _)Object.prototype.hasOwnProperty.call(_,c)&&(g[c]=_[c])}return g},e.apply(this,arguments)},r=ye&&ye.__createBinding||(Object.create?function(g,_,E,m){m===void 0&&(m=E),Object.defineProperty(g,m,{enumerable:!0,get:function(){return _[E]}})}:function(g,_,E,m){m===void 0&&(m=E),g[m]=_[E]}),a=ye&&ye.__setModuleDefault||(Object.create?function(g,_){Object.defineProperty(g,"default",{enumerable:!0,value:_})}:function(g,_){g.default=_}),n=ye&&ye.__importStar||function(g){if(g&&g.__esModule)return g;var _={};if(g!=null)for(var E in g)E!=="default"&&Object.prototype.hasOwnProperty.call(g,E)&&r(_,g,E);return a(_,g),_},i=ye&&ye.__awaiter||function(g,_,E,m){function c(b){return b instanceof E?b:new E(function(F){F(b)})}return new(E||(E=Promise))(function(b,F){function f(W){try{q(m.next(W))}catch(K){F(K)}}function M(W){try{q(m.throw(W))}catch(K){F(K)}}function q(W){W.done?b(W.value):c(W.value).then(f,M)}q((m=m.apply(g,_||[])).next())})},o=ye&&ye.__generator||function(g,_){var E={label:0,sent:function(){if(b[0]&1)throw b[1];return b[1]},trys:[],ops:[]},m,c,b,F;return F={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(F[Symbol.iterator]=function(){return this}),F;function f(q){return function(W){return M([q,W])}}function M(q){if(m)throw new TypeError("Generator is already executing.");for(;E;)try{if(m=1,c&&(b=q[0]&2?c.return:q[0]?c.throw||((b=c.return)&&b.call(c),0):c.next)&&!(b=b.call(c,q[1])).done)return b;switch(c=0,b&&(q=[q[0]&2,b.value]),q[0]){case 0:case 1:b=q;break;case 4:return E.label++,{value:q[1],done:!1};case 5:E.label++,c=q[1],q=[0];continue;case 7:q=E.ops.pop(),E.trys.pop();continue;default:if(b=E.trys,!(b=b.length>0&&b[b.length-1])&&(q[0]===6||q[0]===2)){E=0;continue}if(q[0]===3&&(!b||q[1]>b[0]&&q[1]<b[3])){E.label=q[1];break}if(q[0]===6&&E.label<b[1]){E.label=b[1],b=q;break}if(b&&E.label<b[2]){E.label=b[2],E.ops.push(q);break}b[2]&&E.ops.pop(),E.trys.pop();continue}q=_.call(g,E)}catch(W){q=[6,W],c=0}finally{m=b=0}if(q[0]&5)throw q[1];return{value:q[0]?q[1]:void 0,done:!0}}},s=ye&&ye.__rest||function(g,_){var E={};for(var m in g)Object.prototype.hasOwnProperty.call(g,m)&&_.indexOf(m)<0&&(E[m]=g[m]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,m=Object.getOwnPropertySymbols(g);c<m.length;c++)_.indexOf(m[c])<0&&Object.prototype.propertyIsEnumerable.call(g,m[c])&&(E[m[c]]=g[m[c]]);return E},p=ye&&ye.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=t.gql=t.resolveRequestDocument=t.batchRequests=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var l=n(A4),u=l,v=n3,x=v3,A=p(id),N=E1,O=dr,S=_1;Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return S.ClientError}});var I=function(g){var _={};return g&&(typeof Headers<"u"&&g instanceof Headers||g instanceof u.Headers?_=y(g):Array.isArray(g)?g.forEach(function(E){var m=E[0],c=E[1];_[m]=c}):_=g),_},$=function(g){return g.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},H=function(g){var _=g.query,E=g.variables,m=g.operationName,c=g.jsonSerializer;if(!Array.isArray(_)){var b=["query="+encodeURIComponent($(_))];return E&&b.push("variables="+encodeURIComponent(c.stringify(E))),m&&b.push("operationName="+encodeURIComponent(m)),b.join("&")}if(typeof E<"u"&&!Array.isArray(E))throw new Error("Cannot create query with given variable type, array expected");var F=_.reduce(function(f,M,q){return f.push({query:$(M),variables:E?c.stringify(E[q]):void 0}),f},[]);return"query="+encodeURIComponent(c.stringify(F))},U=function(g){var _=g.url,E=g.query,m=g.variables,c=g.operationName,b=g.headers,F=g.fetch,f=g.fetchOptions;return i(void 0,void 0,void 0,function(){var M;return o(this,function(q){switch(q.label){case 0:return M=A.default(E,m,c,f.jsonSerializer),[4,F(_,e({method:"POST",headers:e(e({},typeof M=="string"?{"Content-Type":"application/json"}:{}),b),body:M},f))];case 1:return[2,q.sent()]}})})},B=function(g){var _=g.url,E=g.query,m=g.variables,c=g.operationName,b=g.headers,F=g.fetch,f=g.fetchOptions;return i(void 0,void 0,void 0,function(){var M;return o(this,function(q){switch(q.label){case 0:return M=H({query:E,variables:m,operationName:c,jsonSerializer:f.jsonSerializer}),[4,F(_+"?"+M,e({method:"GET",headers:b},f))];case 1:return[2,q.sent()]}})})},j=function(){function g(_,E){this.url=_,this.options=E||{}}return g.prototype.rawRequest=function(_,E,m){return i(this,void 0,void 0,function(){var c,b,F,f,M,q,W,K,de,te;return o(this,function(oe){return c=O.parseRawRequestArgs(_,E,m),b=this.options,F=b.headers,f=b.fetch,M=f===void 0?l.default:f,q=b.method,W=q===void 0?"POST":q,K=s(b,["headers","fetch","method"]),de=this.url,c.signal!==void 0&&(K.signal=c.signal),te=w(c.query).operationName,[2,Q({url:de,query:c.query,variables:c.variables,headers:e(e({},I(d(F))),I(c.requestHeaders)),operationName:te,fetch:M,method:W,fetchOptions:K})]})})},g.prototype.request=function(_,E,m){return i(this,void 0,void 0,function(){var c,b,F,f,M,q,W,K,de,te,oe,C,P;return o(this,function(Y){switch(Y.label){case 0:return c=O.parseRequestArgs(_,E,m),b=this.options,F=b.headers,f=b.fetch,M=f===void 0?l.default:f,q=b.method,W=q===void 0?"POST":q,K=s(b,["headers","fetch","method"]),de=this.url,c.signal!==void 0&&(K.signal=c.signal),te=w(c.document),oe=te.query,C=te.operationName,[4,Q({url:de,query:oe,variables:c.variables,headers:e(e({},I(d(F))),I(c.requestHeaders)),operationName:C,fetch:M,method:W,fetchOptions:K})];case 1:return P=Y.sent().data,[2,P]}})})},g.prototype.batchRequests=function(_,E){return i(this,void 0,void 0,function(){var m,c,b,F,f,M,q,W,K,de,te,oe;return o(this,function(C){switch(C.label){case 0:return m=O.parseBatchRequestArgs(_,E),c=this.options,b=c.headers,F=c.fetch,f=F===void 0?l.default:F,M=c.method,q=M===void 0?"POST":M,W=s(c,["headers","fetch","method"]),K=this.url,m.signal!==void 0&&(W.signal=m.signal),de=m.documents.map(function(P){var Y=P.document;return w(Y).query}),te=m.documents.map(function(P){var Y=P.variables;return Y}),[4,Q({url:K,query:de,variables:te,headers:e(e({},I(d(b))),I(m.requestHeaders)),operationName:void 0,fetch:f,method:q,fetchOptions:W})];case 1:return oe=C.sent().data,[2,oe]}})})},g.prototype.setHeaders=function(_){return this.options.headers=_,this},g.prototype.setHeader=function(_,E){var m,c=this.options.headers;return c?c[_]=E:this.options.headers=(m={},m[_]=E,m),this},g.prototype.setEndpoint=function(_){return this.url=_,this},g}();t.GraphQLClient=j;function Q(g){var _=g.url,E=g.query,m=g.variables,c=g.headers,b=g.operationName,F=g.fetch,f=g.method,M=f===void 0?"POST":f,q=g.fetchOptions;return i(this,void 0,void 0,function(){var W,K,de,te,oe,C,P,Y,ie,ce,ue;return o(this,function(Ce){switch(Ce.label){case 0:return W=M.toUpperCase()==="POST"?U:B,K=Array.isArray(E),[4,W({url:_,query:E,variables:m,operationName:b,headers:c,fetch:F,fetchOptions:q})];case 1:return de=Ce.sent(),[4,V(de,q.jsonSerializer)];case 2:if(te=Ce.sent(),oe=K&&Array.isArray(te)?!te.some(function(ge){var Ee=ge.data;return!Ee}):!!te.data,C=!te.errors||q.errorPolicy==="all"||q.errorPolicy==="ignore",de.ok&&C&&oe)return P=de.headers,Y=de.status,te.errors,ie=s(te,["errors"]),ce=q.errorPolicy==="ignore"?ie:te,[2,e(e({},K?{data:ce}:ce),{headers:P,status:Y})];throw ue=typeof te=="string"?{error:te}:te,new S.ClientError(e(e({},ue),{status:de.status,headers:de.headers}),{query:E,variables:m})}})})}function J(g,_,E,m){return i(this,void 0,void 0,function(){var c,b;return o(this,function(F){return c=O.parseRawRequestExtendedArgs(g,_,E,m),b=new j(c.url),[2,b.rawRequest(e({},c))]})})}t.rawRequest=J;function k(g,_,E,m){return i(this,void 0,void 0,function(){var c,b;return o(this,function(F){return c=O.parseRequestExtendedArgs(g,_,E,m),b=new j(c.url),[2,b.request(e({},c))]})})}t.request=k;function R(g,_,E){return i(this,void 0,void 0,function(){var m,c;return o(this,function(b){return m=O.parseBatchRequestsExtendedArgs(g,_,E),c=new j(m.url),[2,c.batchRequests(e({},m))]})})}t.batchRequests=R,t.default=k;function V(g,_){return _===void 0&&(_=N.defaultJsonSerializer),i(this,void 0,void 0,function(){var E,m,c;return o(this,function(b){switch(b.label){case 0:return g.headers.forEach(function(F,f){f.toLowerCase()==="content-type"&&(E=F)}),E&&E.toLowerCase().startsWith("application/json")?(c=(m=_).parse,[4,g.text()]):[3,2];case 1:return[2,c.apply(m,[b.sent()])];case 2:return[2,g.text()]}})})}function X(g){var _,E=void 0,m=g.definitions.filter(function(c){return c.kind==="OperationDefinition"});return m.length===1&&(E=(_=m[0].name)===null||_===void 0?void 0:_.value),E}function w(g){if(typeof g=="string"){var _=void 0;try{var E=v.parse(g);_=X(E)}catch{}return{query:g,operationName:_}}var m=X(g);return{query:x.print(g),operationName:m}}t.resolveRequestDocument=w;function d(g){return typeof g=="function"?g():g}function h(g){for(var _=[],E=1;E<arguments.length;E++)_[E-1]=arguments[E];return g.reduce(function(m,c,b){return""+m+c+(b in _?_[b]:"")},"")}t.gql=h;function y(g){var _={};return g.forEach(function(E,m){_[m]=E}),_}var T=R3();Object.defineProperty(t,"GraphQLWebSocketClient",{enumerable:!0,get:function(){return T.GraphQLWebSocketClient}})}(_o)),_o}var sd={exports:{}};const _t={},B3=Object.freeze(Object.defineProperty({__proto__:null,default:_t},Symbol.toStringTag,{value:"Module"})),J2=ot(B3);sd.exports;(function(t){(function(e,r){function a(w,d){if(!w)throw new Error(d||"Assertion failed")}function n(w,d){w.super_=d;var h=function(){};h.prototype=d.prototype,w.prototype=new h,w.prototype.constructor=w}function i(w,d,h){if(i.isBN(w))return w;this.negative=0,this.words=null,this.length=0,this.red=null,w!==null&&((d==="le"||d==="be")&&(h=d,d=10),this._init(w||0,d||10,h||"be"))}typeof e=="object"?e.exports=i:r.BN=i,i.BN=i,i.wordSize=26;var o;try{typeof window<"u"&&typeof window.Buffer<"u"?o=window.Buffer:o=J2.Buffer}catch{}i.isBN=function(d){return d instanceof i?!0:d!==null&&typeof d=="object"&&d.constructor.wordSize===i.wordSize&&Array.isArray(d.words)},i.max=function(d,h){return d.cmp(h)>0?d:h},i.min=function(d,h){return d.cmp(h)<0?d:h},i.prototype._init=function(d,h,y){if(typeof d=="number")return this._initNumber(d,h,y);if(typeof d=="object")return this._initArray(d,h,y);h==="hex"&&(h=16),a(h===(h|0)&&h>=2&&h<=36),d=d.toString().replace(/\s+/g,"");var T=0;d[0]==="-"&&(T++,this.negative=1),T<d.length&&(h===16?this._parseHex(d,T,y):(this._parseBase(d,h,T),y==="le"&&this._initArray(this.toArray(),h,y)))},i.prototype._initNumber=function(d,h,y){d<0&&(this.negative=1,d=-d),d<67108864?(this.words=[d&67108863],this.length=1):d<4503599627370496?(this.words=[d&67108863,d/67108864&67108863],this.length=2):(a(d<9007199254740992),this.words=[d&67108863,d/67108864&67108863,1],this.length=3),y==="le"&&this._initArray(this.toArray(),h,y)},i.prototype._initArray=function(d,h,y){if(a(typeof d.length=="number"),d.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(d.length/3),this.words=new Array(this.length);for(var T=0;T<this.length;T++)this.words[T]=0;var g,_,E=0;if(y==="be")for(T=d.length-1,g=0;T>=0;T-=3)_=d[T]|d[T-1]<<8|d[T-2]<<16,this.words[g]|=_<<E&67108863,this.words[g+1]=_>>>26-E&67108863,E+=24,E>=26&&(E-=26,g++);else if(y==="le")for(T=0,g=0;T<d.length;T+=3)_=d[T]|d[T+1]<<8|d[T+2]<<16,this.words[g]|=_<<E&67108863,this.words[g+1]=_>>>26-E&67108863,E+=24,E>=26&&(E-=26,g++);return this._strip()};function s(w,d){var h=w.charCodeAt(d);if(h>=48&&h<=57)return h-48;if(h>=65&&h<=70)return h-55;if(h>=97&&h<=102)return h-87;a(!1,"Invalid character in "+w)}function p(w,d,h){var y=s(w,h);return h-1>=d&&(y|=s(w,h-1)<<4),y}i.prototype._parseHex=function(d,h,y){this.length=Math.ceil((d.length-h)/6),this.words=new Array(this.length);for(var T=0;T<this.length;T++)this.words[T]=0;var g=0,_=0,E;if(y==="be")for(T=d.length-1;T>=h;T-=2)E=p(d,h,T)<<g,this.words[_]|=E&67108863,g>=18?(g-=18,_+=1,this.words[_]|=E>>>26):g+=8;else{var m=d.length-h;for(T=m%2===0?h+1:h;T<d.length;T+=2)E=p(d,h,T)<<g,this.words[_]|=E&67108863,g>=18?(g-=18,_+=1,this.words[_]|=E>>>26):g+=8}this._strip()};function l(w,d,h,y){for(var T=0,g=0,_=Math.min(w.length,h),E=d;E<_;E++){var m=w.charCodeAt(E)-48;T*=y,m>=49?g=m-49+10:m>=17?g=m-17+10:g=m,a(m>=0&&g<y,"Invalid character"),T+=g}return T}i.prototype._parseBase=function(d,h,y){this.words=[0],this.length=1;for(var T=0,g=1;g<=67108863;g*=h)T++;T--,g=g/h|0;for(var _=d.length-y,E=_%T,m=Math.min(_,_-E)+y,c=0,b=y;b<m;b+=T)c=l(d,b,b+T,h),this.imuln(g),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(E!==0){var F=1;for(c=l(d,b,d.length,h),b=0;b<E;b++)F*=h;this.imuln(F),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},i.prototype.copy=function(d){d.words=new Array(this.length);for(var h=0;h<this.length;h++)d.words[h]=this.words[h];d.length=this.length,d.negative=this.negative,d.red=this.red};function u(w,d){w.words=d.words,w.length=d.length,w.negative=d.negative,w.red=d.red}if(i.prototype._move=function(d){u(d,this)},i.prototype.clone=function(){var d=new i(null);return this.copy(d),d},i.prototype._expand=function(d){for(;this.length<d;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},i.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=v}catch{i.prototype.inspect=v}else i.prototype.inspect=v;function v(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var x=["","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"],A=[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],N=[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];i.prototype.toString=function(d,h){d=d||10,h=h|0||1;var y;if(d===16||d==="hex"){y="";for(var T=0,g=0,_=0;_<this.length;_++){var E=this.words[_],m=((E<<T|g)&16777215).toString(16);g=E>>>24-T&16777215,T+=2,T>=26&&(T-=26,_--),g!==0||_!==this.length-1?y=x[6-m.length]+m+y:y=m+y}for(g!==0&&(y=g.toString(16)+y);y.length%h!==0;)y="0"+y;return this.negative!==0&&(y="-"+y),y}if(d===(d|0)&&d>=2&&d<=36){var c=A[d],b=N[d];y="";var F=this.clone();for(F.negative=0;!F.isZero();){var f=F.modrn(b).toString(d);F=F.idivn(b),F.isZero()?y=f+y:y=x[c-f.length]+f+y}for(this.isZero()&&(y="0"+y);y.length%h!==0;)y="0"+y;return this.negative!==0&&(y="-"+y),y}a(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var d=this.words[0];return this.length===2?d+=this.words[1]*67108864:this.length===3&&this.words[2]===1?d+=4503599627370496+this.words[1]*67108864:this.length>2&&a(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-d:d},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(d,h){return this.toArrayLike(o,d,h)}),i.prototype.toArray=function(d,h){return this.toArrayLike(Array,d,h)};var O=function(d,h){return d.allocUnsafe?d.allocUnsafe(h):new d(h)};i.prototype.toArrayLike=function(d,h,y){this._strip();var T=this.byteLength(),g=y||Math.max(1,T);a(T<=g,"byte array longer than desired length"),a(g>0,"Requested array length <= 0");var _=O(d,g),E=h==="le"?"LE":"BE";return this["_toArrayLike"+E](_,T),_},i.prototype._toArrayLikeLE=function(d,h){for(var y=0,T=0,g=0,_=0;g<this.length;g++){var E=this.words[g]<<_|T;d[y++]=E&255,y<d.length&&(d[y++]=E>>8&255),y<d.length&&(d[y++]=E>>16&255),_===6?(y<d.length&&(d[y++]=E>>24&255),T=0,_=0):(T=E>>>24,_+=2)}if(y<d.length)for(d[y++]=T;y<d.length;)d[y++]=0},i.prototype._toArrayLikeBE=function(d,h){for(var y=d.length-1,T=0,g=0,_=0;g<this.length;g++){var E=this.words[g]<<_|T;d[y--]=E&255,y>=0&&(d[y--]=E>>8&255),y>=0&&(d[y--]=E>>16&255),_===6?(y>=0&&(d[y--]=E>>24&255),T=0,_=0):(T=E>>>24,_+=2)}if(y>=0)for(d[y--]=T;y>=0;)d[y--]=0},Math.clz32?i.prototype._countBits=function(d){return 32-Math.clz32(d)}:i.prototype._countBits=function(d){var h=d,y=0;return h>=4096&&(y+=13,h>>>=13),h>=64&&(y+=7,h>>>=7),h>=8&&(y+=4,h>>>=4),h>=2&&(y+=2,h>>>=2),y+h},i.prototype._zeroBits=function(d){if(d===0)return 26;var h=d,y=0;return h&8191||(y+=13,h>>>=13),h&127||(y+=7,h>>>=7),h&15||(y+=4,h>>>=4),h&3||(y+=2,h>>>=2),h&1||y++,y},i.prototype.bitLength=function(){var d=this.words[this.length-1],h=this._countBits(d);return(this.length-1)*26+h};function S(w){for(var d=new Array(w.bitLength()),h=0;h<d.length;h++){var y=h/26|0,T=h%26;d[h]=w.words[y]>>>T&1}return d}i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var d=0,h=0;h<this.length;h++){var y=this._zeroBits(this.words[h]);if(d+=y,y!==26)break}return d},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(d){return this.negative!==0?this.abs().inotn(d).iaddn(1):this.clone()},i.prototype.fromTwos=function(d){return this.testn(d-1)?this.notn(d).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return this.negative!==0},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(d){for(;this.length<d.length;)this.words[this.length++]=0;for(var h=0;h<d.length;h++)this.words[h]=this.words[h]|d.words[h];return this._strip()},i.prototype.ior=function(d){return a((this.negative|d.negative)===0),this.iuor(d)},i.prototype.or=function(d){return this.length>d.length?this.clone().ior(d):d.clone().ior(this)},i.prototype.uor=function(d){return this.length>d.length?this.clone().iuor(d):d.clone().iuor(this)},i.prototype.iuand=function(d){var h;this.length>d.length?h=d:h=this;for(var y=0;y<h.length;y++)this.words[y]=this.words[y]&d.words[y];return this.length=h.length,this._strip()},i.prototype.iand=function(d){return a((this.negative|d.negative)===0),this.iuand(d)},i.prototype.and=function(d){return this.length>d.length?this.clone().iand(d):d.clone().iand(this)},i.prototype.uand=function(d){return this.length>d.length?this.clone().iuand(d):d.clone().iuand(this)},i.prototype.iuxor=function(d){var h,y;this.length>d.length?(h=this,y=d):(h=d,y=this);for(var T=0;T<y.length;T++)this.words[T]=h.words[T]^y.words[T];if(this!==h)for(;T<h.length;T++)this.words[T]=h.words[T];return this.length=h.length,this._strip()},i.prototype.ixor=function(d){return a((this.negative|d.negative)===0),this.iuxor(d)},i.prototype.xor=function(d){return this.length>d.length?this.clone().ixor(d):d.clone().ixor(this)},i.prototype.uxor=function(d){return this.length>d.length?this.clone().iuxor(d):d.clone().iuxor(this)},i.prototype.inotn=function(d){a(typeof d=="number"&&d>=0);var h=Math.ceil(d/26)|0,y=d%26;this._expand(h),y>0&&h--;for(var T=0;T<h;T++)this.words[T]=~this.words[T]&67108863;return y>0&&(this.words[T]=~this.words[T]&67108863>>26-y),this._strip()},i.prototype.notn=function(d){return this.clone().inotn(d)},i.prototype.setn=function(d,h){a(typeof d=="number"&&d>=0);var y=d/26|0,T=d%26;return this._expand(y+1),h?this.words[y]=this.words[y]|1<<T:this.words[y]=this.words[y]&~(1<<T),this._strip()},i.prototype.iadd=function(d){var h;if(this.negative!==0&&d.negative===0)return this.negative=0,h=this.isub(d),this.negative^=1,this._normSign();if(this.negative===0&&d.negative!==0)return d.negative=0,h=this.isub(d),d.negative=1,h._normSign();var y,T;this.length>d.length?(y=this,T=d):(y=d,T=this);for(var g=0,_=0;_<T.length;_++)h=(y.words[_]|0)+(T.words[_]|0)+g,this.words[_]=h&67108863,g=h>>>26;for(;g!==0&&_<y.length;_++)h=(y.words[_]|0)+g,this.words[_]=h&67108863,g=h>>>26;if(this.length=y.length,g!==0)this.words[this.length]=g,this.length++;else if(y!==this)for(;_<y.length;_++)this.words[_]=y.words[_];return this},i.prototype.add=function(d){var h;return d.negative!==0&&this.negative===0?(d.negative=0,h=this.sub(d),d.negative^=1,h):d.negative===0&&this.negative!==0?(this.negative=0,h=d.sub(this),this.negative=1,h):this.length>d.length?this.clone().iadd(d):d.clone().iadd(this)},i.prototype.isub=function(d){if(d.negative!==0){d.negative=0;var h=this.iadd(d);return d.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(d),this.negative=1,this._normSign();var y=this.cmp(d);if(y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var T,g;y>0?(T=this,g=d):(T=d,g=this);for(var _=0,E=0;E<g.length;E++)h=(T.words[E]|0)-(g.words[E]|0)+_,_=h>>26,this.words[E]=h&67108863;for(;_!==0&&E<T.length;E++)h=(T.words[E]|0)+_,_=h>>26,this.words[E]=h&67108863;if(_===0&&E<T.length&&T!==this)for(;E<T.length;E++)this.words[E]=T.words[E];return this.length=Math.max(this.length,E),T!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(d){return this.clone().isub(d)};function I(w,d,h){h.negative=d.negative^w.negative;var y=w.length+d.length|0;h.length=y,y=y-1|0;var T=w.words[0]|0,g=d.words[0]|0,_=T*g,E=_&67108863,m=_/67108864|0;h.words[0]=E;for(var c=1;c<y;c++){for(var b=m>>>26,F=m&67108863,f=Math.min(c,d.length-1),M=Math.max(0,c-w.length+1);M<=f;M++){var q=c-M|0;T=w.words[q]|0,g=d.words[M]|0,_=T*g+F,b+=_/67108864|0,F=_&67108863}h.words[c]=F|0,m=b|0}return m!==0?h.words[c]=m|0:h.length--,h._strip()}var $=function(d,h,y){var T=d.words,g=h.words,_=y.words,E=0,m,c,b,F=T[0]|0,f=F&8191,M=F>>>13,q=T[1]|0,W=q&8191,K=q>>>13,de=T[2]|0,te=de&8191,oe=de>>>13,C=T[3]|0,P=C&8191,Y=C>>>13,ie=T[4]|0,ce=ie&8191,ue=ie>>>13,Ce=T[5]|0,ge=Ce&8191,Ee=Ce>>>13,rr=T[6]|0,$e=rr&8191,Ge=rr>>>13,Sr=T[7]|0,He=Sr&8191,st=Sr>>>13,ma=T[8]|0,dt=ma&8191,pt=ma>>>13,va=T[9]|0,ze=va&8191,Ve=va>>>13,zr=g[0]|0,Ye=zr&8191,Le=zr>>>13,Wr=g[1]|0,lt=Wr&8191,Xe=Wr>>>13,Tr=g[2]|0,We=Tr&8191,Ze=Tr>>>13,mr=g[3]|0,et=mr&8191,ct=mr>>>13,ba=g[4]|0,De=ba&8191,Me=ba>>>13,Kr=g[5]|0,je=Kr&8191,tt=Kr>>>13,Nr=g[6]|0,rt=Nr&8191,at=Nr>>>13,Pr=g[7]|0,Ke=Pr&8191,Ue=Pr>>>13,Jr=g[8]|0,Je=Jr&8191,ut=Jr>>>13,z=g[9]|0,D=z&8191,G=z>>>13;y.negative=d.negative^h.negative,y.length=19,m=Math.imul(f,Ye),c=Math.imul(f,Le),c=c+Math.imul(M,Ye)|0,b=Math.imul(M,Le);var ee=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(ee>>>26)|0,ee&=67108863,m=Math.imul(W,Ye),c=Math.imul(W,Le),c=c+Math.imul(K,Ye)|0,b=Math.imul(K,Le),m=m+Math.imul(f,lt)|0,c=c+Math.imul(f,Xe)|0,c=c+Math.imul(M,lt)|0,b=b+Math.imul(M,Xe)|0;var ae=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(ae>>>26)|0,ae&=67108863,m=Math.imul(te,Ye),c=Math.imul(te,Le),c=c+Math.imul(oe,Ye)|0,b=Math.imul(oe,Le),m=m+Math.imul(W,lt)|0,c=c+Math.imul(W,Xe)|0,c=c+Math.imul(K,lt)|0,b=b+Math.imul(K,Xe)|0,m=m+Math.imul(f,We)|0,c=c+Math.imul(f,Ze)|0,c=c+Math.imul(M,We)|0,b=b+Math.imul(M,Ze)|0;var fe=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(fe>>>26)|0,fe&=67108863,m=Math.imul(P,Ye),c=Math.imul(P,Le),c=c+Math.imul(Y,Ye)|0,b=Math.imul(Y,Le),m=m+Math.imul(te,lt)|0,c=c+Math.imul(te,Xe)|0,c=c+Math.imul(oe,lt)|0,b=b+Math.imul(oe,Xe)|0,m=m+Math.imul(W,We)|0,c=c+Math.imul(W,Ze)|0,c=c+Math.imul(K,We)|0,b=b+Math.imul(K,Ze)|0,m=m+Math.imul(f,et)|0,c=c+Math.imul(f,ct)|0,c=c+Math.imul(M,et)|0,b=b+Math.imul(M,ct)|0;var le=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(le>>>26)|0,le&=67108863,m=Math.imul(ce,Ye),c=Math.imul(ce,Le),c=c+Math.imul(ue,Ye)|0,b=Math.imul(ue,Le),m=m+Math.imul(P,lt)|0,c=c+Math.imul(P,Xe)|0,c=c+Math.imul(Y,lt)|0,b=b+Math.imul(Y,Xe)|0,m=m+Math.imul(te,We)|0,c=c+Math.imul(te,Ze)|0,c=c+Math.imul(oe,We)|0,b=b+Math.imul(oe,Ze)|0,m=m+Math.imul(W,et)|0,c=c+Math.imul(W,ct)|0,c=c+Math.imul(K,et)|0,b=b+Math.imul(K,ct)|0,m=m+Math.imul(f,De)|0,c=c+Math.imul(f,Me)|0,c=c+Math.imul(M,De)|0,b=b+Math.imul(M,Me)|0;var me=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(me>>>26)|0,me&=67108863,m=Math.imul(ge,Ye),c=Math.imul(ge,Le),c=c+Math.imul(Ee,Ye)|0,b=Math.imul(Ee,Le),m=m+Math.imul(ce,lt)|0,c=c+Math.imul(ce,Xe)|0,c=c+Math.imul(ue,lt)|0,b=b+Math.imul(ue,Xe)|0,m=m+Math.imul(P,We)|0,c=c+Math.imul(P,Ze)|0,c=c+Math.imul(Y,We)|0,b=b+Math.imul(Y,Ze)|0,m=m+Math.imul(te,et)|0,c=c+Math.imul(te,ct)|0,c=c+Math.imul(oe,et)|0,b=b+Math.imul(oe,ct)|0,m=m+Math.imul(W,De)|0,c=c+Math.imul(W,Me)|0,c=c+Math.imul(K,De)|0,b=b+Math.imul(K,Me)|0,m=m+Math.imul(f,je)|0,c=c+Math.imul(f,tt)|0,c=c+Math.imul(M,je)|0,b=b+Math.imul(M,tt)|0;var be=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(be>>>26)|0,be&=67108863,m=Math.imul($e,Ye),c=Math.imul($e,Le),c=c+Math.imul(Ge,Ye)|0,b=Math.imul(Ge,Le),m=m+Math.imul(ge,lt)|0,c=c+Math.imul(ge,Xe)|0,c=c+Math.imul(Ee,lt)|0,b=b+Math.imul(Ee,Xe)|0,m=m+Math.imul(ce,We)|0,c=c+Math.imul(ce,Ze)|0,c=c+Math.imul(ue,We)|0,b=b+Math.imul(ue,Ze)|0,m=m+Math.imul(P,et)|0,c=c+Math.imul(P,ct)|0,c=c+Math.imul(Y,et)|0,b=b+Math.imul(Y,ct)|0,m=m+Math.imul(te,De)|0,c=c+Math.imul(te,Me)|0,c=c+Math.imul(oe,De)|0,b=b+Math.imul(oe,Me)|0,m=m+Math.imul(W,je)|0,c=c+Math.imul(W,tt)|0,c=c+Math.imul(K,je)|0,b=b+Math.imul(K,tt)|0,m=m+Math.imul(f,rt)|0,c=c+Math.imul(f,at)|0,c=c+Math.imul(M,rt)|0,b=b+Math.imul(M,at)|0;var we=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(we>>>26)|0,we&=67108863,m=Math.imul(He,Ye),c=Math.imul(He,Le),c=c+Math.imul(st,Ye)|0,b=Math.imul(st,Le),m=m+Math.imul($e,lt)|0,c=c+Math.imul($e,Xe)|0,c=c+Math.imul(Ge,lt)|0,b=b+Math.imul(Ge,Xe)|0,m=m+Math.imul(ge,We)|0,c=c+Math.imul(ge,Ze)|0,c=c+Math.imul(Ee,We)|0,b=b+Math.imul(Ee,Ze)|0,m=m+Math.imul(ce,et)|0,c=c+Math.imul(ce,ct)|0,c=c+Math.imul(ue,et)|0,b=b+Math.imul(ue,ct)|0,m=m+Math.imul(P,De)|0,c=c+Math.imul(P,Me)|0,c=c+Math.imul(Y,De)|0,b=b+Math.imul(Y,Me)|0,m=m+Math.imul(te,je)|0,c=c+Math.imul(te,tt)|0,c=c+Math.imul(oe,je)|0,b=b+Math.imul(oe,tt)|0,m=m+Math.imul(W,rt)|0,c=c+Math.imul(W,at)|0,c=c+Math.imul(K,rt)|0,b=b+Math.imul(K,at)|0,m=m+Math.imul(f,Ke)|0,c=c+Math.imul(f,Ue)|0,c=c+Math.imul(M,Ke)|0,b=b+Math.imul(M,Ue)|0;var Ae=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,m=Math.imul(dt,Ye),c=Math.imul(dt,Le),c=c+Math.imul(pt,Ye)|0,b=Math.imul(pt,Le),m=m+Math.imul(He,lt)|0,c=c+Math.imul(He,Xe)|0,c=c+Math.imul(st,lt)|0,b=b+Math.imul(st,Xe)|0,m=m+Math.imul($e,We)|0,c=c+Math.imul($e,Ze)|0,c=c+Math.imul(Ge,We)|0,b=b+Math.imul(Ge,Ze)|0,m=m+Math.imul(ge,et)|0,c=c+Math.imul(ge,ct)|0,c=c+Math.imul(Ee,et)|0,b=b+Math.imul(Ee,ct)|0,m=m+Math.imul(ce,De)|0,c=c+Math.imul(ce,Me)|0,c=c+Math.imul(ue,De)|0,b=b+Math.imul(ue,Me)|0,m=m+Math.imul(P,je)|0,c=c+Math.imul(P,tt)|0,c=c+Math.imul(Y,je)|0,b=b+Math.imul(Y,tt)|0,m=m+Math.imul(te,rt)|0,c=c+Math.imul(te,at)|0,c=c+Math.imul(oe,rt)|0,b=b+Math.imul(oe,at)|0,m=m+Math.imul(W,Ke)|0,c=c+Math.imul(W,Ue)|0,c=c+Math.imul(K,Ke)|0,b=b+Math.imul(K,Ue)|0,m=m+Math.imul(f,Je)|0,c=c+Math.imul(f,ut)|0,c=c+Math.imul(M,Je)|0,b=b+Math.imul(M,ut)|0;var ht=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(ht>>>26)|0,ht&=67108863,m=Math.imul(ze,Ye),c=Math.imul(ze,Le),c=c+Math.imul(Ve,Ye)|0,b=Math.imul(Ve,Le),m=m+Math.imul(dt,lt)|0,c=c+Math.imul(dt,Xe)|0,c=c+Math.imul(pt,lt)|0,b=b+Math.imul(pt,Xe)|0,m=m+Math.imul(He,We)|0,c=c+Math.imul(He,Ze)|0,c=c+Math.imul(st,We)|0,b=b+Math.imul(st,Ze)|0,m=m+Math.imul($e,et)|0,c=c+Math.imul($e,ct)|0,c=c+Math.imul(Ge,et)|0,b=b+Math.imul(Ge,ct)|0,m=m+Math.imul(ge,De)|0,c=c+Math.imul(ge,Me)|0,c=c+Math.imul(Ee,De)|0,b=b+Math.imul(Ee,Me)|0,m=m+Math.imul(ce,je)|0,c=c+Math.imul(ce,tt)|0,c=c+Math.imul(ue,je)|0,b=b+Math.imul(ue,tt)|0,m=m+Math.imul(P,rt)|0,c=c+Math.imul(P,at)|0,c=c+Math.imul(Y,rt)|0,b=b+Math.imul(Y,at)|0,m=m+Math.imul(te,Ke)|0,c=c+Math.imul(te,Ue)|0,c=c+Math.imul(oe,Ke)|0,b=b+Math.imul(oe,Ue)|0,m=m+Math.imul(W,Je)|0,c=c+Math.imul(W,ut)|0,c=c+Math.imul(K,Je)|0,b=b+Math.imul(K,ut)|0,m=m+Math.imul(f,D)|0,c=c+Math.imul(f,G)|0,c=c+Math.imul(M,D)|0,b=b+Math.imul(M,G)|0;var wt=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(wt>>>26)|0,wt&=67108863,m=Math.imul(ze,lt),c=Math.imul(ze,Xe),c=c+Math.imul(Ve,lt)|0,b=Math.imul(Ve,Xe),m=m+Math.imul(dt,We)|0,c=c+Math.imul(dt,Ze)|0,c=c+Math.imul(pt,We)|0,b=b+Math.imul(pt,Ze)|0,m=m+Math.imul(He,et)|0,c=c+Math.imul(He,ct)|0,c=c+Math.imul(st,et)|0,b=b+Math.imul(st,ct)|0,m=m+Math.imul($e,De)|0,c=c+Math.imul($e,Me)|0,c=c+Math.imul(Ge,De)|0,b=b+Math.imul(Ge,Me)|0,m=m+Math.imul(ge,je)|0,c=c+Math.imul(ge,tt)|0,c=c+Math.imul(Ee,je)|0,b=b+Math.imul(Ee,tt)|0,m=m+Math.imul(ce,rt)|0,c=c+Math.imul(ce,at)|0,c=c+Math.imul(ue,rt)|0,b=b+Math.imul(ue,at)|0,m=m+Math.imul(P,Ke)|0,c=c+Math.imul(P,Ue)|0,c=c+Math.imul(Y,Ke)|0,b=b+Math.imul(Y,Ue)|0,m=m+Math.imul(te,Je)|0,c=c+Math.imul(te,ut)|0,c=c+Math.imul(oe,Je)|0,b=b+Math.imul(oe,ut)|0,m=m+Math.imul(W,D)|0,c=c+Math.imul(W,G)|0,c=c+Math.imul(K,D)|0,b=b+Math.imul(K,G)|0;var ar=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(ar>>>26)|0,ar&=67108863,m=Math.imul(ze,We),c=Math.imul(ze,Ze),c=c+Math.imul(Ve,We)|0,b=Math.imul(Ve,Ze),m=m+Math.imul(dt,et)|0,c=c+Math.imul(dt,ct)|0,c=c+Math.imul(pt,et)|0,b=b+Math.imul(pt,ct)|0,m=m+Math.imul(He,De)|0,c=c+Math.imul(He,Me)|0,c=c+Math.imul(st,De)|0,b=b+Math.imul(st,Me)|0,m=m+Math.imul($e,je)|0,c=c+Math.imul($e,tt)|0,c=c+Math.imul(Ge,je)|0,b=b+Math.imul(Ge,tt)|0,m=m+Math.imul(ge,rt)|0,c=c+Math.imul(ge,at)|0,c=c+Math.imul(Ee,rt)|0,b=b+Math.imul(Ee,at)|0,m=m+Math.imul(ce,Ke)|0,c=c+Math.imul(ce,Ue)|0,c=c+Math.imul(ue,Ke)|0,b=b+Math.imul(ue,Ue)|0,m=m+Math.imul(P,Je)|0,c=c+Math.imul(P,ut)|0,c=c+Math.imul(Y,Je)|0,b=b+Math.imul(Y,ut)|0,m=m+Math.imul(te,D)|0,c=c+Math.imul(te,G)|0,c=c+Math.imul(oe,D)|0,b=b+Math.imul(oe,G)|0;var Or=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(Or>>>26)|0,Or&=67108863,m=Math.imul(ze,et),c=Math.imul(ze,ct),c=c+Math.imul(Ve,et)|0,b=Math.imul(Ve,ct),m=m+Math.imul(dt,De)|0,c=c+Math.imul(dt,Me)|0,c=c+Math.imul(pt,De)|0,b=b+Math.imul(pt,Me)|0,m=m+Math.imul(He,je)|0,c=c+Math.imul(He,tt)|0,c=c+Math.imul(st,je)|0,b=b+Math.imul(st,tt)|0,m=m+Math.imul($e,rt)|0,c=c+Math.imul($e,at)|0,c=c+Math.imul(Ge,rt)|0,b=b+Math.imul(Ge,at)|0,m=m+Math.imul(ge,Ke)|0,c=c+Math.imul(ge,Ue)|0,c=c+Math.imul(Ee,Ke)|0,b=b+Math.imul(Ee,Ue)|0,m=m+Math.imul(ce,Je)|0,c=c+Math.imul(ce,ut)|0,c=c+Math.imul(ue,Je)|0,b=b+Math.imul(ue,ut)|0,m=m+Math.imul(P,D)|0,c=c+Math.imul(P,G)|0,c=c+Math.imul(Y,D)|0,b=b+Math.imul(Y,G)|0;var lr=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(lr>>>26)|0,lr&=67108863,m=Math.imul(ze,De),c=Math.imul(ze,Me),c=c+Math.imul(Ve,De)|0,b=Math.imul(Ve,Me),m=m+Math.imul(dt,je)|0,c=c+Math.imul(dt,tt)|0,c=c+Math.imul(pt,je)|0,b=b+Math.imul(pt,tt)|0,m=m+Math.imul(He,rt)|0,c=c+Math.imul(He,at)|0,c=c+Math.imul(st,rt)|0,b=b+Math.imul(st,at)|0,m=m+Math.imul($e,Ke)|0,c=c+Math.imul($e,Ue)|0,c=c+Math.imul(Ge,Ke)|0,b=b+Math.imul(Ge,Ue)|0,m=m+Math.imul(ge,Je)|0,c=c+Math.imul(ge,ut)|0,c=c+Math.imul(Ee,Je)|0,b=b+Math.imul(Ee,ut)|0,m=m+Math.imul(ce,D)|0,c=c+Math.imul(ce,G)|0,c=c+Math.imul(ue,D)|0,b=b+Math.imul(ue,G)|0;var Ir=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(Ir>>>26)|0,Ir&=67108863,m=Math.imul(ze,je),c=Math.imul(ze,tt),c=c+Math.imul(Ve,je)|0,b=Math.imul(Ve,tt),m=m+Math.imul(dt,rt)|0,c=c+Math.imul(dt,at)|0,c=c+Math.imul(pt,rt)|0,b=b+Math.imul(pt,at)|0,m=m+Math.imul(He,Ke)|0,c=c+Math.imul(He,Ue)|0,c=c+Math.imul(st,Ke)|0,b=b+Math.imul(st,Ue)|0,m=m+Math.imul($e,Je)|0,c=c+Math.imul($e,ut)|0,c=c+Math.imul(Ge,Je)|0,b=b+Math.imul(Ge,ut)|0,m=m+Math.imul(ge,D)|0,c=c+Math.imul(ge,G)|0,c=c+Math.imul(Ee,D)|0,b=b+Math.imul(Ee,G)|0;var ya=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(ya>>>26)|0,ya&=67108863,m=Math.imul(ze,rt),c=Math.imul(ze,at),c=c+Math.imul(Ve,rt)|0,b=Math.imul(Ve,at),m=m+Math.imul(dt,Ke)|0,c=c+Math.imul(dt,Ue)|0,c=c+Math.imul(pt,Ke)|0,b=b+Math.imul(pt,Ue)|0,m=m+Math.imul(He,Je)|0,c=c+Math.imul(He,ut)|0,c=c+Math.imul(st,Je)|0,b=b+Math.imul(st,ut)|0,m=m+Math.imul($e,D)|0,c=c+Math.imul($e,G)|0,c=c+Math.imul(Ge,D)|0,b=b+Math.imul(Ge,G)|0;var kr=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(kr>>>26)|0,kr&=67108863,m=Math.imul(ze,Ke),c=Math.imul(ze,Ue),c=c+Math.imul(Ve,Ke)|0,b=Math.imul(Ve,Ue),m=m+Math.imul(dt,Je)|0,c=c+Math.imul(dt,ut)|0,c=c+Math.imul(pt,Je)|0,b=b+Math.imul(pt,ut)|0,m=m+Math.imul(He,D)|0,c=c+Math.imul(He,G)|0,c=c+Math.imul(st,D)|0,b=b+Math.imul(st,G)|0;var Qr=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,m=Math.imul(ze,Je),c=Math.imul(ze,ut),c=c+Math.imul(Ve,Je)|0,b=Math.imul(Ve,ut),m=m+Math.imul(dt,D)|0,c=c+Math.imul(dt,G)|0,c=c+Math.imul(pt,D)|0,b=b+Math.imul(pt,G)|0;var Yr=(E+m|0)+((c&8191)<<13)|0;E=(b+(c>>>13)|0)+(Yr>>>26)|0,Yr&=67108863,m=Math.imul(ze,D),c=Math.imul(ze,G),c=c+Math.imul(Ve,D)|0,b=Math.imul(Ve,G);var Ga=(E+m|0)+((c&8191)<<13)|0;return E=(b+(c>>>13)|0)+(Ga>>>26)|0,Ga&=67108863,_[0]=ee,_[1]=ae,_[2]=fe,_[3]=le,_[4]=me,_[5]=be,_[6]=we,_[7]=Ae,_[8]=ht,_[9]=wt,_[10]=ar,_[11]=Or,_[12]=lr,_[13]=Ir,_[14]=ya,_[15]=kr,_[16]=Qr,_[17]=Yr,_[18]=Ga,E!==0&&(_[19]=E,y.length++),y};Math.imul||($=I);function H(w,d,h){h.negative=d.negative^w.negative,h.length=w.length+d.length;for(var y=0,T=0,g=0;g<h.length-1;g++){var _=T;T=0;for(var E=y&67108863,m=Math.min(g,d.length-1),c=Math.max(0,g-w.length+1);c<=m;c++){var b=g-c,F=w.words[b]|0,f=d.words[c]|0,M=F*f,q=M&67108863;_=_+(M/67108864|0)|0,q=q+E|0,E=q&67108863,_=_+(q>>>26)|0,T+=_>>>26,_&=67108863}h.words[g]=E,y=_,_=T}return y!==0?h.words[g]=y:h.length--,h._strip()}function U(w,d,h){return H(w,d,h)}i.prototype.mulTo=function(d,h){var y,T=this.length+d.length;return this.length===10&&d.length===10?y=$(this,d,h):T<63?y=I(this,d,h):T<1024?y=H(this,d,h):y=U(this,d,h),y},i.prototype.mul=function(d){var h=new i(null);return h.words=new Array(this.length+d.length),this.mulTo(d,h)},i.prototype.mulf=function(d){var h=new i(null);return h.words=new Array(this.length+d.length),U(this,d,h)},i.prototype.imul=function(d){return this.clone().mulTo(d,this)},i.prototype.imuln=function(d){var h=d<0;h&&(d=-d),a(typeof d=="number"),a(d<67108864);for(var y=0,T=0;T<this.length;T++){var g=(this.words[T]|0)*d,_=(g&67108863)+(y&67108863);y>>=26,y+=g/67108864|0,y+=_>>>26,this.words[T]=_&67108863}return y!==0&&(this.words[T]=y,this.length++),h?this.ineg():this},i.prototype.muln=function(d){return this.clone().imuln(d)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(d){var h=S(d);if(h.length===0)return new i(1);for(var y=this,T=0;T<h.length&&h[T]===0;T++,y=y.sqr());if(++T<h.length)for(var g=y.sqr();T<h.length;T++,g=g.sqr())h[T]!==0&&(y=y.mul(g));return y},i.prototype.iushln=function(d){a(typeof d=="number"&&d>=0);var h=d%26,y=(d-h)/26,T=67108863>>>26-h<<26-h,g;if(h!==0){var _=0;for(g=0;g<this.length;g++){var E=this.words[g]&T,m=(this.words[g]|0)-E<<h;this.words[g]=m|_,_=E>>>26-h}_&&(this.words[g]=_,this.length++)}if(y!==0){for(g=this.length-1;g>=0;g--)this.words[g+y]=this.words[g];for(g=0;g<y;g++)this.words[g]=0;this.length+=y}return this._strip()},i.prototype.ishln=function(d){return a(this.negative===0),this.iushln(d)},i.prototype.iushrn=function(d,h,y){a(typeof d=="number"&&d>=0);var T;h?T=(h-h%26)/26:T=0;var g=d%26,_=Math.min((d-g)/26,this.length),E=67108863^67108863>>>g<<g,m=y;if(T-=_,T=Math.max(0,T),m){for(var c=0;c<_;c++)m.words[c]=this.words[c];m.length=_}if(_!==0)if(this.length>_)for(this.length-=_,c=0;c<this.length;c++)this.words[c]=this.words[c+_];else this.words[0]=0,this.length=1;var b=0;for(c=this.length-1;c>=0&&(b!==0||c>=T);c--){var F=this.words[c]|0;this.words[c]=b<<26-g|F>>>g,b=F&E}return m&&b!==0&&(m.words[m.length++]=b),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(d,h,y){return a(this.negative===0),this.iushrn(d,h,y)},i.prototype.shln=function(d){return this.clone().ishln(d)},i.prototype.ushln=function(d){return this.clone().iushln(d)},i.prototype.shrn=function(d){return this.clone().ishrn(d)},i.prototype.ushrn=function(d){return this.clone().iushrn(d)},i.prototype.testn=function(d){a(typeof d=="number"&&d>=0);var h=d%26,y=(d-h)/26,T=1<<h;if(this.length<=y)return!1;var g=this.words[y];return!!(g&T)},i.prototype.imaskn=function(d){a(typeof d=="number"&&d>=0);var h=d%26,y=(d-h)/26;if(a(this.negative===0,"imaskn works only with positive numbers"),this.length<=y)return this;if(h!==0&&y++,this.length=Math.min(y,this.length),h!==0){var T=67108863^67108863>>>h<<h;this.words[this.length-1]&=T}return this._strip()},i.prototype.maskn=function(d){return this.clone().imaskn(d)},i.prototype.iaddn=function(d){return a(typeof d=="number"),a(d<67108864),d<0?this.isubn(-d):this.negative!==0?this.length===1&&(this.words[0]|0)<=d?(this.words[0]=d-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(d),this.negative=1,this):this._iaddn(d)},i.prototype._iaddn=function(d){this.words[0]+=d;for(var h=0;h<this.length&&this.words[h]>=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},i.prototype.isubn=function(d){if(a(typeof d=="number"),a(d<67108864),d<0)return this.iaddn(-d);if(this.negative!==0)return this.negative=0,this.iaddn(d),this.negative=1,this;if(this.words[0]-=d,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h<this.length&&this.words[h]<0;h++)this.words[h]+=67108864,this.words[h+1]-=1;return this._strip()},i.prototype.addn=function(d){return this.clone().iaddn(d)},i.prototype.subn=function(d){return this.clone().isubn(d)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(d,h,y){var T=d.length+y,g;this._expand(T);var _,E=0;for(g=0;g<d.length;g++){_=(this.words[g+y]|0)+E;var m=(d.words[g]|0)*h;_-=m&67108863,E=(_>>26)-(m/67108864|0),this.words[g+y]=_&67108863}for(;g<this.length-y;g++)_=(this.words[g+y]|0)+E,E=_>>26,this.words[g+y]=_&67108863;if(E===0)return this._strip();for(a(E===-1),E=0,g=0;g<this.length;g++)_=-(this.words[g]|0)+E,E=_>>26,this.words[g]=_&67108863;return this.negative=1,this._strip()},i.prototype._wordDiv=function(d,h){var y=this.length-d.length,T=this.clone(),g=d,_=g.words[g.length-1]|0,E=this._countBits(_);y=26-E,y!==0&&(g=g.ushln(y),T.iushln(y),_=g.words[g.length-1]|0);var m=T.length-g.length,c;if(h!=="mod"){c=new i(null),c.length=m+1,c.words=new Array(c.length);for(var b=0;b<c.length;b++)c.words[b]=0}var F=T.clone()._ishlnsubmul(g,1,m);F.negative===0&&(T=F,c&&(c.words[m]=1));for(var f=m-1;f>=0;f--){var M=(T.words[g.length+f]|0)*67108864+(T.words[g.length+f-1]|0);for(M=Math.min(M/_|0,67108863),T._ishlnsubmul(g,M,f);T.negative!==0;)M--,T.negative=0,T._ishlnsubmul(g,1,f),T.isZero()||(T.negative^=1);c&&(c.words[f]=M)}return c&&c._strip(),T._strip(),h!=="div"&&y!==0&&T.iushrn(y),{div:c||null,mod:T}},i.prototype.divmod=function(d,h,y){if(a(!d.isZero()),this.isZero())return{div:new i(0),mod:new i(0)};var T,g,_;return this.negative!==0&&d.negative===0?(_=this.neg().divmod(d,h),h!=="mod"&&(T=_.div.neg()),h!=="div"&&(g=_.mod.neg(),y&&g.negative!==0&&g.iadd(d)),{div:T,mod:g}):this.negative===0&&d.negative!==0?(_=this.divmod(d.neg(),h),h!=="mod"&&(T=_.div.neg()),{div:T,mod:_.mod}):this.negative&d.negative?(_=this.neg().divmod(d.neg(),h),h!=="div"&&(g=_.mod.neg(),y&&g.negative!==0&&g.isub(d)),{div:_.div,mod:g}):d.length>this.length||this.cmp(d)<0?{div:new i(0),mod:this}:d.length===1?h==="div"?{div:this.divn(d.words[0]),mod:null}:h==="mod"?{div:null,mod:new i(this.modrn(d.words[0]))}:{div:this.divn(d.words[0]),mod:new i(this.modrn(d.words[0]))}:this._wordDiv(d,h)},i.prototype.div=function(d){return this.divmod(d,"div",!1).div},i.prototype.mod=function(d){return this.divmod(d,"mod",!1).mod},i.prototype.umod=function(d){return this.divmod(d,"mod",!0).mod},i.prototype.divRound=function(d){var h=this.divmod(d);if(h.mod.isZero())return h.div;var y=h.div.negative!==0?h.mod.isub(d):h.mod,T=d.ushrn(1),g=d.andln(1),_=y.cmp(T);return _<0||g===1&&_===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},i.prototype.modrn=function(d){var h=d<0;h&&(d=-d),a(d<=67108863);for(var y=(1<<26)%d,T=0,g=this.length-1;g>=0;g--)T=(y*T+(this.words[g]|0))%d;return h?-T:T},i.prototype.modn=function(d){return this.modrn(d)},i.prototype.idivn=function(d){var h=d<0;h&&(d=-d),a(d<=67108863);for(var y=0,T=this.length-1;T>=0;T--){var g=(this.words[T]|0)+y*67108864;this.words[T]=g/d|0,y=g%d}return this._strip(),h?this.ineg():this},i.prototype.divn=function(d){return this.clone().idivn(d)},i.prototype.egcd=function(d){a(d.negative===0),a(!d.isZero());var h=this,y=d.clone();h.negative!==0?h=h.umod(d):h=h.clone();for(var T=new i(1),g=new i(0),_=new i(0),E=new i(1),m=0;h.isEven()&&y.isEven();)h.iushrn(1),y.iushrn(1),++m;for(var c=y.clone(),b=h.clone();!h.isZero();){for(var F=0,f=1;!(h.words[0]&f)&&F<26;++F,f<<=1);if(F>0)for(h.iushrn(F);F-- >0;)(T.isOdd()||g.isOdd())&&(T.iadd(c),g.isub(b)),T.iushrn(1),g.iushrn(1);for(var M=0,q=1;!(y.words[0]&q)&&M<26;++M,q<<=1);if(M>0)for(y.iushrn(M);M-- >0;)(_.isOdd()||E.isOdd())&&(_.iadd(c),E.isub(b)),_.iushrn(1),E.iushrn(1);h.cmp(y)>=0?(h.isub(y),T.isub(_),g.isub(E)):(y.isub(h),_.isub(T),E.isub(g))}return{a:_,b:E,gcd:y.iushln(m)}},i.prototype._invmp=function(d){a(d.negative===0),a(!d.isZero());var h=this,y=d.clone();h.negative!==0?h=h.umod(d):h=h.clone();for(var T=new i(1),g=new i(0),_=y.clone();h.cmpn(1)>0&&y.cmpn(1)>0;){for(var E=0,m=1;!(h.words[0]&m)&&E<26;++E,m<<=1);if(E>0)for(h.iushrn(E);E-- >0;)T.isOdd()&&T.iadd(_),T.iushrn(1);for(var c=0,b=1;!(y.words[0]&b)&&c<26;++c,b<<=1);if(c>0)for(y.iushrn(c);c-- >0;)g.isOdd()&&g.iadd(_),g.iushrn(1);h.cmp(y)>=0?(h.isub(y),T.isub(g)):(y.isub(h),g.isub(T))}var F;return h.cmpn(1)===0?F=T:F=g,F.cmpn(0)<0&&F.iadd(d),F},i.prototype.gcd=function(d){if(this.isZero())return d.abs();if(d.isZero())return this.abs();var h=this.clone(),y=d.clone();h.negative=0,y.negative=0;for(var T=0;h.isEven()&&y.isEven();T++)h.iushrn(1),y.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;y.isEven();)y.iushrn(1);var g=h.cmp(y);if(g<0){var _=h;h=y,y=_}else if(g===0||y.cmpn(1)===0)break;h.isub(y)}while(!0);return y.iushln(T)},i.prototype.invm=function(d){return this.egcd(d).a.umod(d)},i.prototype.isEven=function(){return(this.words[0]&1)===0},i.prototype.isOdd=function(){return(this.words[0]&1)===1},i.prototype.andln=function(d){return this.words[0]&d},i.prototype.bincn=function(d){a(typeof d=="number");var h=d%26,y=(d-h)/26,T=1<<h;if(this.length<=y)return this._expand(y+1),this.words[y]|=T,this;for(var g=T,_=y;g!==0&&_<this.length;_++){var E=this.words[_]|0;E+=g,g=E>>>26,E&=67108863,this.words[_]=E}return g!==0&&(this.words[_]=g,this.length++),this},i.prototype.isZero=function(){return this.length===1&&this.words[0]===0},i.prototype.cmpn=function(d){var h=d<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this._strip();var y;if(this.length>1)y=1;else{h&&(d=-d),a(d<=67108863,"Number is too big");var T=this.words[0]|0;y=T===d?0:T<d?-1:1}return this.negative!==0?-y|0:y},i.prototype.cmp=function(d){if(this.negative!==0&&d.negative===0)return-1;if(this.negative===0&&d.negative!==0)return 1;var h=this.ucmp(d);return this.negative!==0?-h|0:h},i.prototype.ucmp=function(d){if(this.length>d.length)return 1;if(this.length<d.length)return-1;for(var h=0,y=this.length-1;y>=0;y--){var T=this.words[y]|0,g=d.words[y]|0;if(T!==g){T<g?h=-1:T>g&&(h=1);break}}return h},i.prototype.gtn=function(d){return this.cmpn(d)===1},i.prototype.gt=function(d){return this.cmp(d)===1},i.prototype.gten=function(d){return this.cmpn(d)>=0},i.prototype.gte=function(d){return this.cmp(d)>=0},i.prototype.ltn=function(d){return this.cmpn(d)===-1},i.prototype.lt=function(d){return this.cmp(d)===-1},i.prototype.lten=function(d){return this.cmpn(d)<=0},i.prototype.lte=function(d){return this.cmp(d)<=0},i.prototype.eqn=function(d){return this.cmpn(d)===0},i.prototype.eq=function(d){return this.cmp(d)===0},i.red=function(d){return new V(d)},i.prototype.toRed=function(d){return a(!this.red,"Already a number in reduction context"),a(this.negative===0,"red works only with positives"),d.convertTo(this)._forceRed(d)},i.prototype.fromRed=function(){return a(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(d){return this.red=d,this},i.prototype.forceRed=function(d){return a(!this.red,"Already a number in reduction context"),this._forceRed(d)},i.prototype.redAdd=function(d){return a(this.red,"redAdd works only with red numbers"),this.red.add(this,d)},i.prototype.redIAdd=function(d){return a(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,d)},i.prototype.redSub=function(d){return a(this.red,"redSub works only with red numbers"),this.red.sub(this,d)},i.prototype.redISub=function(d){return a(this.red,"redISub works only with red numbers"),this.red.isub(this,d)},i.prototype.redShl=function(d){return a(this.red,"redShl works only with red numbers"),this.red.shl(this,d)},i.prototype.redMul=function(d){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.mul(this,d)},i.prototype.redIMul=function(d){return a(this.red,"redMul works only with red numbers"),this.red._verify2(this,d),this.red.imul(this,d)},i.prototype.redSqr=function(){return a(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return a(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return a(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return a(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return a(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(d){return a(this.red&&!d.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,d)};var B={k256:null,p224:null,p192:null,p25519:null};function j(w,d){this.name=w,this.p=new i(d,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}j.prototype._tmp=function(){var d=new i(null);return d.words=new Array(Math.ceil(this.n/13)),d},j.prototype.ireduce=function(d){var h=d,y;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),y=h.bitLength();while(y>this.n);var T=y<this.n?-1:h.ucmp(this.p);return T===0?(h.words[0]=0,h.length=1):T>0?h.isub(this.p):h.strip!==void 0?h.strip():h._strip(),h},j.prototype.split=function(d,h){d.iushrn(this.n,0,h)},j.prototype.imulK=function(d){return d.imul(this.k)};function Q(){j.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}n(Q,j),Q.prototype.split=function(d,h){for(var y=4194303,T=Math.min(d.length,9),g=0;g<T;g++)h.words[g]=d.words[g];if(h.length=T,d.length<=9){d.words[0]=0,d.length=1;return}var _=d.words[9];for(h.words[h.length++]=_&y,g=10;g<d.length;g++){var E=d.words[g]|0;d.words[g-10]=(E&y)<<4|_>>>22,_=E}_>>>=22,d.words[g-10]=_,_===0&&d.length>10?d.length-=10:d.length-=9},Q.prototype.imulK=function(d){d.words[d.length]=0,d.words[d.length+1]=0,d.length+=2;for(var h=0,y=0;y<d.length;y++){var T=d.words[y]|0;h+=T*977,d.words[y]=h&67108863,h=T*64+(h/67108864|0)}return d.words[d.length-1]===0&&(d.length--,d.words[d.length-1]===0&&d.length--),d};function J(){j.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}n(J,j);function k(){j.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}n(k,j);function R(){j.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}n(R,j),R.prototype.imulK=function(d){for(var h=0,y=0;y<d.length;y++){var T=(d.words[y]|0)*19+h,g=T&67108863;T>>>=26,d.words[y]=g,h=T}return h!==0&&(d.words[d.length++]=h),d},i._prime=function(d){if(B[d])return B[d];var h;if(d==="k256")h=new Q;else if(d==="p224")h=new J;else if(d==="p192")h=new k;else if(d==="p25519")h=new R;else throw new Error("Unknown prime "+d);return B[d]=h,h};function V(w){if(typeof w=="string"){var d=i._prime(w);this.m=d.p,this.prime=d}else a(w.gtn(1),"modulus must be greater than 1"),this.m=w,this.prime=null}V.prototype._verify1=function(d){a(d.negative===0,"red works only with positives"),a(d.red,"red works only with red numbers")},V.prototype._verify2=function(d,h){a((d.negative|h.negative)===0,"red works only with positives"),a(d.red&&d.red===h.red,"red works only with red numbers")},V.prototype.imod=function(d){return this.prime?this.prime.ireduce(d)._forceRed(this):(u(d,d.umod(this.m)._forceRed(this)),d)},V.prototype.neg=function(d){return d.isZero()?d.clone():this.m.sub(d)._forceRed(this)},V.prototype.add=function(d,h){this._verify2(d,h);var y=d.add(h);return y.cmp(this.m)>=0&&y.isub(this.m),y._forceRed(this)},V.prototype.iadd=function(d,h){this._verify2(d,h);var y=d.iadd(h);return y.cmp(this.m)>=0&&y.isub(this.m),y},V.prototype.sub=function(d,h){this._verify2(d,h);var y=d.sub(h);return y.cmpn(0)<0&&y.iadd(this.m),y._forceRed(this)},V.prototype.isub=function(d,h){this._verify2(d,h);var y=d.isub(h);return y.cmpn(0)<0&&y.iadd(this.m),y},V.prototype.shl=function(d,h){return this._verify1(d),this.imod(d.ushln(h))},V.prototype.imul=function(d,h){return this._verify2(d,h),this.imod(d.imul(h))},V.prototype.mul=function(d,h){return this._verify2(d,h),this.imod(d.mul(h))},V.prototype.isqr=function(d){return this.imul(d,d.clone())},V.prototype.sqr=function(d){return this.mul(d,d)},V.prototype.sqrt=function(d){if(d.isZero())return d.clone();var h=this.m.andln(3);if(a(h%2===1),h===3){var y=this.m.add(new i(1)).iushrn(2);return this.pow(d,y)}for(var T=this.m.subn(1),g=0;!T.isZero()&&T.andln(1)===0;)g++,T.iushrn(1);a(!T.isZero());var _=new i(1).toRed(this),E=_.redNeg(),m=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new i(2*c*c).toRed(this);this.pow(c,m).cmp(E)!==0;)c.redIAdd(E);for(var b=this.pow(c,T),F=this.pow(d,T.addn(1).iushrn(1)),f=this.pow(d,T),M=g;f.cmp(_)!==0;){for(var q=f,W=0;q.cmp(_)!==0;W++)q=q.redSqr();a(W<M);var K=this.pow(b,new i(1).iushln(M-W-1));F=F.redMul(K),b=K.redSqr(),f=f.redMul(b),M=W}return F},V.prototype.invm=function(d){var h=d._invmp(this.m);return h.negative!==0?(h.negative=0,this.imod(h).redNeg()):this.imod(h)},V.prototype.pow=function(d,h){if(h.isZero())return new i(1).toRed(this);if(h.cmpn(1)===0)return d.clone();var y=4,T=new Array(1<<y);T[0]=new i(1).toRed(this),T[1]=d;for(var g=2;g<T.length;g++)T[g]=this.mul(T[g-1],d);var _=T[0],E=0,m=0,c=h.bitLength()%26;for(c===0&&(c=26),g=h.length-1;g>=0;g--){for(var b=h.words[g],F=c-1;F>=0;F--){var f=b>>F&1;if(_!==T[0]&&(_=this.sqr(_)),f===0&&E===0){m=0;continue}E<<=1,E|=f,m++,!(m!==y&&(g!==0||F!==0))&&(_=this.mul(_,T[E]),m=0,E=0)}c=26}return _},V.prototype.convertTo=function(d){var h=d.umod(this.m);return h===d?h.clone():h},V.prototype.convertFrom=function(d){var h=d.clone();return h.red=null,h},i.mont=function(d){return new X(d)};function X(w){V.call(this,w),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(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(X,V),X.prototype.convertTo=function(d){return this.imod(d.ushln(this.shift))},X.prototype.convertFrom=function(d){var h=this.imod(d.mul(this.rinv));return h.red=null,h},X.prototype.imul=function(d,h){if(d.isZero()||h.isZero())return d.words[0]=0,d.length=1,d;var y=d.imul(h),T=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=y.isub(T).iushrn(this.shift),_=g;return g.cmp(this.m)>=0?_=g.isub(this.m):g.cmpn(0)<0&&(_=g.iadd(this.m)),_._forceRed(this)},X.prototype.mul=function(d,h){if(d.isZero()||h.isZero())return new i(0)._forceRed(this);var y=d.mul(h),T=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),g=y.isub(T).iushrn(this.shift),_=g;return g.cmp(this.m)>=0?_=g.isub(this.m):g.cmpn(0)<0&&(_=g.iadd(this.m)),_._forceRed(this)},X.prototype.invm=function(d){var h=this.imod(d._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(t,ye)})(sd);var M3=sd.exports;const Te=bi(M3),F3="logger/5.7.0";let Mp=!1,Fp=!1;const n0={debug:1,default:2,info:2,warning:3,error:4,off:5};let Lp=n0.default,To=null;function L3(){try{const t=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{t.push(e)}}),t.length)throw new Error("missing "+t.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(t){return t.message}return null}const Up=L3();var v0;(function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"})(v0||(v0={}));var ir;(function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"})(ir||(ir={}));const Vp="0123456789abcdef";class L{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,r){const a=e.toLowerCase();n0[a]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(Lp>n0[a])&&console.log.apply(console,r)}debug(...e){this._log(L.levels.DEBUG,e)}info(...e){this._log(L.levels.INFO,e)}warn(...e){this._log(L.levels.WARNING,e)}makeError(e,r,a){if(Fp)return this.makeError("censored error",r,{});r||(r=L.errors.UNKNOWN_ERROR),a||(a={});const n=[];Object.keys(a).forEach(p=>{const l=a[p];try{if(l instanceof Uint8Array){let u="";for(let v=0;v<l.length;v++)u+=Vp[l[v]>>4],u+=Vp[l[v]&15];n.push(p+"=Uint8Array(0x"+u+")")}else n.push(p+"="+JSON.stringify(l))}catch{n.push(p+"="+JSON.stringify(a[p].toString()))}}),n.push(`code=${r}`),n.push(`version=${this.version}`);const i=e;let o="";switch(r){case ir.NUMERIC_FAULT:{o="NUMERIC_FAULT";const p=e;switch(p){case"overflow":case"underflow":case"division-by-zero":o+="-"+p;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result";break}break}case ir.CALL_EXCEPTION:case ir.INSUFFICIENT_FUNDS:case ir.MISSING_NEW:case ir.NONCE_EXPIRED:case ir.REPLACEMENT_UNDERPRICED:case ir.TRANSACTION_REPLACED:case ir.UNPREDICTABLE_GAS_LIMIT:o=r;break}o&&(e+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),n.length&&(e+=" ("+n.join(", ")+")");const s=new Error(e);return s.reason=i,s.code=r,Object.keys(a).forEach(function(p){s[p]=a[p]}),s}throwError(e,r,a){throw this.makeError(e,r,a)}throwArgumentError(e,r,a){return this.throwError(e,L.errors.INVALID_ARGUMENT,{argument:r,value:a})}assert(e,r,a,n){e||this.throwError(r,a,n)}assertArgument(e,r,a,n){e||this.throwArgumentError(r,a,n)}checkNormalize(e){Up&&this.throwError("platform missing String.prototype.normalize",L.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:Up})}checkSafeUint53(e,r){typeof e=="number"&&(r==null&&(r="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(r,L.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(r,L.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,r,a){a?a=": "+a:a="",e<r&&this.throwError("missing argument"+a,L.errors.MISSING_ARGUMENT,{count:e,expectedCount:r}),e>r&&this.throwError("too many arguments"+a,L.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:r})}checkNew(e,r){(e===Object||e==null)&&this.throwError("missing new",L.errors.MISSING_NEW,{name:r.name})}checkAbstract(e,r){e===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",L.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||e==null)&&this.throwError("missing new",L.errors.MISSING_NEW,{name:r.name})}static globalLogger(){return To||(To=new L(F3)),To}static setCensorship(e,r){if(!e&&r&&this.globalLogger().throwError("cannot permanently disable censorship",L.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),Mp){if(!e)return;this.globalLogger().throwError("error censorship permanent",L.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}Fp=!!e,Mp=!!r}static setLogLevel(e){const r=n0[e.toLowerCase()];if(r==null){L.globalLogger().warn("invalid log level - "+e);return}Lp=r}static from(e){return new L(e)}}L.errors=ir;L.levels=v0;const U3=Object.freeze(Object.defineProperty({__proto__:null,get ErrorCode(){return ir},get LogLevel(){return v0},Logger:L},Symbol.toStringTag,{value:"Module"})),V3="bytes/5.7.0",Et=new L(V3);function Q2(t){return!!t.toHexString}function Yn(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return Yn(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function gi(t){return Se(t)&&!(t.length%2)||Ba(t)}function jp(t){return typeof t=="number"&&t==t&&t%1===0}function Ba(t){if(t==null)return!1;if(t.constructor===Uint8Array)return!0;if(typeof t=="string"||!jp(t.length)||t.length<0)return!1;for(let e=0;e<t.length;e++){const r=t[e];if(!jp(r)||r<0||r>=256)return!1}return!0}function se(t,e){if(e||(e={}),typeof t=="number"){Et.checkSafeUint53(t,"invalid arrayify value");const r=[];for(;t;)r.unshift(t&255),t=parseInt(String(t/256));return r.length===0&&r.push(0),Yn(new Uint8Array(r))}if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),Q2(t)&&(t=t.toHexString()),Se(t)){let r=t.substring(2);r.length%2&&(e.hexPad==="left"?r="0"+r:e.hexPad==="right"?r+="0":Et.throwArgumentError("hex data is odd-length","value",t));const a=[];for(let n=0;n<r.length;n+=2)a.push(parseInt(r.substring(n,n+2),16));return Yn(new Uint8Array(a))}return Ba(t)?Yn(new Uint8Array(t)):Et.throwArgumentError("invalid arrayify value","value",t)}function it(t){const e=t.map(n=>se(n)),r=e.reduce((n,i)=>n+i.length,0),a=new Uint8Array(r);return e.reduce((n,i)=>(a.set(i,n),n+i.length),0),Yn(a)}function jr(t){let e=se(t);if(e.length===0)return e;let r=0;for(;r<e.length&&e[r]===0;)r++;return r&&(e=e.slice(r)),e}function Xn(t,e){t=se(t),t.length>e&&Et.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(e);return r.set(t,e-t.length),Yn(r)}function Se(t,e){return!(typeof t!="string"||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}const No="0123456789abcdef";function pe(t,e){if(e||(e={}),typeof t=="number"){Et.checkSafeUint53(t,"invalid hexlify value");let r="";for(;t;)r=No[t&15]+r,t=Math.floor(t/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if(typeof t=="bigint")return t=t.toString(16),t.length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),Q2(t))return t.toHexString();if(Se(t))return t.length%2&&(e.hexPad==="left"?t="0x0"+t.substring(2):e.hexPad==="right"?t+="0":Et.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(Ba(t)){let r="0x";for(let a=0;a<t.length;a++){let n=t[a];r+=No[(n&240)>>4]+No[n&15]}return r}return Et.throwArgumentError("invalid hexlify value","value",t)}function qr(t){if(typeof t!="string")t=pe(t);else if(!Se(t)||t.length%2)return null;return(t.length-2)/2}function xt(t,e,r){return typeof t!="string"?t=pe(t):(!Se(t)||t.length%2)&&Et.throwArgumentError("invalid hexData","value",t),e=2+2*e,r!=null?"0x"+t.substring(e,2+2*r):"0x"+t.substring(e)}function Vt(t){let e="0x";return t.forEach(r=>{e+=pe(r).substring(2)}),e}function xi(t){const e=dd(pe(t,{hexPad:"left"}));return e==="0x"?"0x0":e}function dd(t){typeof t!="string"&&(t=pe(t)),Se(t)||Et.throwArgumentError("invalid hex string","value",t),t=t.substring(2);let e=0;for(;e<t.length&&t[e]==="0";)e++;return"0x"+t.substring(e)}function Qe(t,e){for(typeof t!="string"?t=pe(t):Se(t)||Et.throwArgumentError("invalid hex string","value",t),t.length>2*e+2&&Et.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function Ma(t){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(gi(t)){let r=se(t);r.length===64?(e.v=27+(r[32]>>7),r[32]&=127,e.r=pe(r.slice(0,32)),e.s=pe(r.slice(32,64))):r.length===65?(e.r=pe(r.slice(0,32)),e.s=pe(r.slice(32,64)),e.v=r[64]):Et.throwArgumentError("invalid signature string","signature",t),e.v<27&&(e.v===0||e.v===1?e.v+=27:Et.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(r[32]|=128),e._vs=pe(r.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,e._vs!=null){const n=Xn(se(e._vs),32);e._vs=pe(n);const i=n[0]>=128?1:0;e.recoveryParam==null?e.recoveryParam=i:e.recoveryParam!==i&&Et.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),n[0]&=127;const o=pe(n);e.s==null?e.s=o:e.s!==o&&Et.throwArgumentError("signature v mismatch _vs","signature",t)}if(e.recoveryParam==null)e.v==null?Et.throwArgumentError("signature missing v and recoveryParam","signature",t):e.v===0||e.v===1?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(e.v==null)e.v=27+e.recoveryParam;else{const n=e.v===0||e.v===1?e.v:1-e.v%2;e.recoveryParam!==n&&Et.throwArgumentError("signature recoveryParam mismatch v","signature",t)}e.r==null||!Se(e.r)?Et.throwArgumentError("signature missing or invalid r","signature",t):e.r=Qe(e.r,32),e.s==null||!Se(e.s)?Et.throwArgumentError("signature missing or invalid s","signature",t):e.s=Qe(e.s,32);const r=se(e.s);r[0]>=128&&Et.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(r[0]|=128);const a=pe(r);e._vs&&(Se(e._vs)||Et.throwArgumentError("signature invalid _vs","signature",t),e._vs=Qe(e._vs,32)),e._vs==null?e._vs=a:e._vs!==a&&Et.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function oi(t){return t=Ma(t),pe(it([t.r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}const j3=Object.freeze(Object.defineProperty({__proto__:null,arrayify:se,concat:it,hexConcat:Vt,hexDataLength:qr,hexDataSlice:xt,hexStripZeros:dd,hexValue:xi,hexZeroPad:Qe,hexlify:pe,isBytes:Ba,isBytesLike:gi,isHexString:Se,joinSignature:oi,splitSignature:Ma,stripZeros:jr,zeroPad:Xn},Symbol.toStringTag,{value:"Module"})),Y2="bignumber/5.7.0";var a1=Te.BN;const Aa=new L(Y2),Po={},qp=9007199254740991;function q3(t){return t!=null&&(ne.isBigNumber(t)||typeof t=="number"&&t%1===0||typeof t=="string"&&!!t.match(/^-?[0-9]+$/)||Se(t)||typeof t=="bigint"||Ba(t))}let $p=!1;class ne{constructor(e,r){e!==Po&&Aa.throwError("cannot call constructor directly; use BigNumber.from",L.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return nr(Pe(this).fromTwos(e))}toTwos(e){return nr(Pe(this).toTwos(e))}abs(){return this._hex[0]==="-"?ne.from(this._hex.substring(1)):this}add(e){return nr(Pe(this).add(Pe(e)))}sub(e){return nr(Pe(this).sub(Pe(e)))}div(e){return ne.from(e).isZero()&&vr("division-by-zero","div"),nr(Pe(this).div(Pe(e)))}mul(e){return nr(Pe(this).mul(Pe(e)))}mod(e){const r=Pe(e);return r.isNeg()&&vr("division-by-zero","mod"),nr(Pe(this).umod(r))}pow(e){const r=Pe(e);return r.isNeg()&&vr("negative-power","pow"),nr(Pe(this).pow(r))}and(e){const r=Pe(e);return(this.isNegative()||r.isNeg())&&vr("unbound-bitwise-result","and"),nr(Pe(this).and(r))}or(e){const r=Pe(e);return(this.isNegative()||r.isNeg())&&vr("unbound-bitwise-result","or"),nr(Pe(this).or(r))}xor(e){const r=Pe(e);return(this.isNegative()||r.isNeg())&&vr("unbound-bitwise-result","xor"),nr(Pe(this).xor(r))}mask(e){return(this.isNegative()||e<0)&&vr("negative-width","mask"),nr(Pe(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&vr("negative-width","shl"),nr(Pe(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&vr("negative-width","shr"),nr(Pe(this).shrn(e))}eq(e){return Pe(this).eq(Pe(e))}lt(e){return Pe(this).lt(Pe(e))}lte(e){return Pe(this).lte(Pe(e))}gt(e){return Pe(this).gt(Pe(e))}gte(e){return Pe(this).gte(Pe(e))}isNegative(){return this._hex[0]==="-"}isZero(){return Pe(this).isZero()}toNumber(){try{return Pe(this).toNumber()}catch{vr("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return Aa.throwError("this platform does not support BigInt",L.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?$p||($p=!0,Aa.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?Aa.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",L.errors.UNEXPECTED_ARGUMENT,{}):Aa.throwError("BigNumber.toString does not accept parameters",L.errors.UNEXPECTED_ARGUMENT,{})),Pe(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof ne)return e;if(typeof e=="string")return e.match(/^-?0x[0-9a-f]+$/i)?new ne(Po,n1(e)):e.match(/^-?[0-9]+$/)?new ne(Po,n1(new a1(e))):Aa.throwArgumentError("invalid BigNumber string","value",e);if(typeof e=="number")return e%1&&vr("underflow","BigNumber.from",e),(e>=qp||e<=-qp)&&vr("overflow","BigNumber.from",e),ne.from(String(e));const r=e;if(typeof r=="bigint")return ne.from(r.toString());if(Ba(r))return ne.from(pe(r));if(r)if(r.toHexString){const a=r.toHexString();if(typeof a=="string")return ne.from(a)}else{let a=r._hex;if(a==null&&r.type==="BigNumber"&&(a=r.hex),typeof a=="string"&&(Se(a)||a[0]==="-"&&Se(a.substring(1))))return ne.from(a)}return Aa.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}}function n1(t){if(typeof t!="string")return n1(t.toString(16));if(t[0]==="-")return t=t.substring(1),t[0]==="-"&&Aa.throwArgumentError("invalid hex","value",t),t=n1(t),t==="0x00"?t:"-"+t;if(t.substring(0,2)!=="0x"&&(t="0x"+t),t==="0x")return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&t.substring(0,4)==="0x00";)t="0x"+t.substring(4);return t}function nr(t){return ne.from(n1(t))}function Pe(t){const e=ne.from(t).toHexString();return e[0]==="-"?new a1("-"+e.substring(3),16):new a1(e.substring(2),16)}function vr(t,e,r){const a={fault:t,operation:e};return r!=null&&(a.value=r),Aa.throwError(t,L.errors.NUMERIC_FAULT,a)}function $3(t){return new a1(t,36).toString(16)}function G3(t){return new a1(t,16).toString(36)}const er=new L(Y2),Hi={},X2=ne.from(0),Z2=ne.from(-1);function ec(t,e,r,a){const n={fault:e,operation:r};return a!==void 0&&(n.value=a),er.throwError(t,L.errors.NUMERIC_FAULT,n)}let zi="0";for(;zi.length<256;)zi+=zi;function pd(t){if(typeof t!="number")try{t=ne.from(t).toNumber()}catch{}return typeof t=="number"&&t>=0&&t<=256&&!(t%1)?"1"+zi.substring(0,t):er.throwArgumentError("invalid decimal size","decimals",t)}function i0(t,e){e==null&&(e=0);const r=pd(e);t=ne.from(t);const a=t.lt(X2);a&&(t=t.mul(Z2));let n=t.mod(r).toString();for(;n.length<r.length-1;)n="0"+n;n=n.match(/^([0-9]*[1-9]|0)(0*)/)[1];const i=t.div(r).toString();return r.length===1?t=i:t=i+"."+n,a&&(t="-"+t),t}function Zr(t,e){e==null&&(e=0);const r=pd(e);(typeof t!="string"||!t.match(/^-?[0-9.]+$/))&&er.throwArgumentError("invalid decimal value","value",t);const a=t.substring(0,1)==="-";a&&(t=t.substring(1)),t==="."&&er.throwArgumentError("missing value","value",t);const n=t.split(".");n.length>2&&er.throwArgumentError("too many decimal points","value",t);let i=n[0],o=n[1];for(i||(i="0"),o||(o="0");o[o.length-1]==="0";)o=o.substring(0,o.length-1);for(o.length>r.length-1&&ec("fractional component exceeds decimals","underflow","parseFixed"),o===""&&(o="0");o.length<r.length-1;)o+="0";const s=ne.from(i),p=ne.from(o);let l=s.mul(r).add(p);return a&&(l=l.mul(Z2)),l}class Zn{constructor(e,r,a,n){e!==Hi&&er.throwError("cannot use FixedFormat constructor; use FixedFormat.from",L.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=r,this.width=a,this.decimals=n,this.name=(r?"":"u")+"fixed"+String(a)+"x"+String(n),this._multiplier=pd(n),Object.freeze(this)}static from(e){if(e instanceof Zn)return e;typeof e=="number"&&(e=`fixed128x${e}`);let r=!0,a=128,n=18;if(typeof e=="string"){if(e!=="fixed")if(e==="ufixed")r=!1;else{const i=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);i||er.throwArgumentError("invalid fixed format","format",e),r=i[1]!=="u",a=parseInt(i[2]),n=parseInt(i[3])}}else if(e){const i=(o,s,p)=>e[o]==null?p:(typeof e[o]!==s&&er.throwArgumentError("invalid fixed format ("+o+" not "+s+")","format."+o,e[o]),e[o]);r=i("signed","boolean",r),a=i("width","number",a),n=i("decimals","number",n)}return a%8&&er.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",a),n>80&&er.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new Zn(Hi,r,a,n)}}class Dt{constructor(e,r,a,n){e!==Hi&&er.throwError("cannot use FixedNumber constructor; use FixedNumber.from",L.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=r,this._value=a,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&er.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);const r=Zr(this._value,this.format.decimals),a=Zr(e._value,e.format.decimals);return Dt.fromValue(r.add(a),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);const r=Zr(this._value,this.format.decimals),a=Zr(e._value,e.format.decimals);return Dt.fromValue(r.sub(a),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);const r=Zr(this._value,this.format.decimals),a=Zr(e._value,e.format.decimals);return Dt.fromValue(r.mul(a).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);const r=Zr(this._value,this.format.decimals),a=Zr(e._value,e.format.decimals);return Dt.fromValue(r.mul(this.format._multiplier).div(a),this.format.decimals,this.format)}floor(){const e=this.toString().split(".");e.length===1&&e.push("0");let r=Dt.from(e[0],this.format);const a=!e[1].match(/^(0*)$/);return this.isNegative()&&a&&(r=r.subUnsafe(Gp.toFormat(r.format))),r}ceiling(){const e=this.toString().split(".");e.length===1&&e.push("0");let r=Dt.from(e[0],this.format);const a=!e[1].match(/^(0*)$/);return!this.isNegative()&&a&&(r=r.addUnsafe(Gp.toFormat(r.format))),r}round(e){e==null&&(e=0);const r=this.toString().split(".");if(r.length===1&&r.push("0"),(e<0||e>80||e%1)&&er.throwArgumentError("invalid decimal count","decimals",e),r[1].length<=e)return this;const a=Dt.from("1"+zi.substring(0,e),this.format),n=H3.toFormat(this.format);return this.mulUnsafe(a).addUnsafe(n).floor().divUnsafe(a)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(e){if(e==null)return this._hex;e%8&&er.throwArgumentError("invalid byte width","width",e);const r=ne.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return Qe(r,e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return Dt.fromString(this._value,e)}static fromValue(e,r,a){return a==null&&r!=null&&!q3(r)&&(a=r,r=null),r==null&&(r=0),a==null&&(a="fixed"),Dt.fromString(i0(e,r),Zn.from(a))}static fromString(e,r){r==null&&(r="fixed");const a=Zn.from(r),n=Zr(e,a.decimals);!a.signed&&n.lt(X2)&&ec("unsigned value cannot be negative","overflow","value",e);let i=null;a.signed?i=n.toTwos(a.width).toHexString():(i=n.toHexString(),i=Qe(i,a.width/8));const o=i0(n,a.decimals);return new Dt(Hi,i,o,a)}static fromBytes(e,r){r==null&&(r="fixed");const a=Zn.from(r);if(se(e).length>a.width/8)throw new Error("overflow");let n=ne.from(e);a.signed&&(n=n.fromTwos(a.width));const i=n.toTwos((a.signed?0:1)+a.width).toHexString(),o=i0(n,a.decimals);return new Dt(Hi,i,o,a)}static from(e,r){if(typeof e=="string")return Dt.fromString(e,r);if(Ba(e))return Dt.fromBytes(e,r);try{return Dt.fromValue(e,0,r)}catch(a){if(a.code!==L.errors.INVALID_ARGUMENT)throw a}return er.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}}const Gp=Dt.from(1),H3=Dt.from("0.5"),z3="properties/5.7.0";var W3=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const b0=new L(z3);function Z(t,e,r){Object.defineProperty(t,e,{enumerable:!0,value:r,writable:!1})}function Lt(t,e){for(let r=0;r<32;r++){if(t[e])return t[e];if(!t.prototype||typeof t.prototype!="object")break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function yt(t){return W3(this,void 0,void 0,function*(){const e=Object.keys(t).map(a=>{const n=t[a];return Promise.resolve(n).then(i=>({key:a,value:i}))});return(yield Promise.all(e)).reduce((a,n)=>(a[n.key]=n.value,a),{})})}function J0(t,e){(!t||typeof t!="object")&&b0.throwArgumentError("invalid object","object",t),Object.keys(t).forEach(r=>{e[r]||b0.throwArgumentError("invalid object key - "+r,"transaction:"+r,t)})}function ft(t){const e={};for(const r in t)e[r]=t[r];return e}const K3={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function tc(t){if(t==null||K3[typeof t])return!0;if(Array.isArray(t)||typeof t=="object"){if(!Object.isFrozen(t))return!1;const e=Object.keys(t);for(let r=0;r<e.length;r++){let a=null;try{a=t[e[r]]}catch{continue}if(!tc(a))return!1}return!0}return b0.throwArgumentError(`Cannot deepCopy ${typeof t}`,"object",t)}function J3(t){if(tc(t))return t;if(Array.isArray(t))return Object.freeze(t.map(e=>Jt(e)));if(typeof t=="object"){const e={};for(const r in t){const a=t[r];a!==void 0&&Z(e,r,Jt(a))}return e}return b0.throwArgumentError(`Cannot deepCopy ${typeof t}`,"object",t)}function Jt(t){return J3(t)}class on{constructor(e){for(const r in e)this[r]=Jt(e[r])}}const Q3=Object.freeze(Object.defineProperty({__proto__:null,Description:on,checkProperties:J0,deepCopy:Jt,defineReadOnly:Z,getStatic:Lt,resolveProperties:yt,shallowCopy:ft},Symbol.toStringTag,{value:"Module"})),S1="abi/5.7.0",Re=new L(S1),wn={};let Hp={calldata:!0,memory:!0,storage:!0},Y3={calldata:!0,memory:!0};function V1(t,e){if(t==="bytes"||t==="string"){if(Hp[e])return!0}else if(t==="address"){if(e==="payable")return!0}else if((t.indexOf("[")>=0||t==="tuple")&&Y3[e])return!0;return(Hp[e]||e==="payable")&&Re.throwArgumentError("invalid modifier","name",e),!1}function X3(t,e){let r=t;function a(s){Re.throwArgumentError(`unexpected character at position ${s}`,"param",t)}t=t.replace(/\s/g," ");function n(s){let p={type:"",name:"",parent:s,state:{allowType:!0}};return e&&(p.indexed=!1),p}let i={type:"",name:"",state:{allowType:!0}},o=i;for(let s=0;s<t.length;s++){let p=t[s];switch(p){case"(":o.state.allowType&&o.type===""?o.type="tuple":o.state.allowParams||a(s),o.state.allowType=!1,o.type=$n(o.type),o.components=[n(o)],o=o.components[0];break;case")":delete o.state,o.name==="indexed"&&(e||a(s),o.indexed=!0,o.name=""),V1(o.type,o.name)&&(o.name=""),o.type=$n(o.type);let l=o;o=o.parent,o||a(s),delete l.parent,o.state.allowParams=!1,o.state.allowName=!0,o.state.allowArray=!0;break;case",":delete o.state,o.name==="indexed"&&(e||a(s),o.indexed=!0,o.name=""),V1(o.type,o.name)&&(o.name=""),o.type=$n(o.type);let u=n(o.parent);o.parent.components.push(u),delete o.parent,o=u;break;case" ":o.state.allowType&&o.type!==""&&(o.type=$n(o.type),delete o.state.allowType,o.state.allowName=!0,o.state.allowParams=!0),o.state.allowName&&o.name!==""&&(o.name==="indexed"?(e||a(s),o.indexed&&a(s),o.indexed=!0,o.name=""):V1(o.type,o.name)?o.name="":o.state.allowName=!1);break;case"[":o.state.allowArray||a(s),o.type+=p,o.state.allowArray=!1,o.state.allowName=!1,o.state.readArray=!0;break;case"]":o.state.readArray||a(s),o.type+=p,o.state.readArray=!1,o.state.allowArray=!0,o.state.allowName=!0;break;default:o.state.allowType?(o.type+=p,o.state.allowParams=!0,o.state.allowArray=!0):o.state.allowName?(o.name+=p,delete o.state.allowArray):o.state.readArray?o.type+=p:a(s)}}return o.parent&&Re.throwArgumentError("unexpected eof","param",t),delete i.state,o.name==="indexed"?(e||a(r.length-7),o.indexed&&a(r.length-7),o.indexed=!0,o.name=""):V1(o.type,o.name)&&(o.name=""),i.type=$n(i.type),i}function o0(t,e){for(let r in e)Z(t,r,e[r])}const Fe=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),Z3=new RegExp(/^(.*)\[([0-9]*)\]$/);class Ct{constructor(e,r){e!==wn&&Re.throwError("use fromString",L.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),o0(this,r);let a=this.type.match(Z3);a?o0(this,{arrayLength:parseInt(a[2]||"-1"),arrayChildren:Ct.fromObject({type:a[1],components:this.components}),baseType:"array"}):o0(this,{arrayLength:null,arrayChildren:null,baseType:this.components!=null?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(e){if(e||(e=Fe.sighash),Fe[e]||Re.throwArgumentError("invalid format type","format",e),e===Fe.json){let a={type:this.baseType==="tuple"?"tuple":this.type,name:this.name||void 0};return typeof this.indexed=="boolean"&&(a.indexed=this.indexed),this.components&&(a.components=this.components.map(n=>JSON.parse(n.format(e)))),JSON.stringify(a)}let r="";return this.baseType==="array"?(r+=this.arrayChildren.format(e),r+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):this.baseType==="tuple"?(e!==Fe.sighash&&(r+=this.type),r+="("+this.components.map(a=>a.format(e)).join(e===Fe.full?", ":",")+")"):r+=this.type,e!==Fe.sighash&&(this.indexed===!0&&(r+=" indexed"),e===Fe.full&&this.name&&(r+=" "+this.name)),r}static from(e,r){return typeof e=="string"?Ct.fromString(e,r):Ct.fromObject(e)}static fromObject(e){return Ct.isParamType(e)?e:new Ct(wn,{name:e.name||null,type:$n(e.type),indexed:e.indexed==null?null:!!e.indexed,components:e.components?e.components.map(Ct.fromObject):null})}static fromString(e,r){function a(n){return Ct.fromObject({name:n.name,type:n.type,indexed:n.indexed,components:n.components})}return a(X3(e,!!r))}static isParamType(e){return!!(e!=null&&e._isParamType)}}function i1(t,e){return th(t).map(r=>Ct.fromString(r,e))}class Lr{constructor(e,r){e!==wn&&Re.throwError("use a static from method",L.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),o0(this,r),this._isFragment=!0,Object.freeze(this)}static from(e){return Lr.isFragment(e)?e:typeof e=="string"?Lr.fromString(e):Lr.fromObject(e)}static fromObject(e){if(Lr.isFragment(e))return e;switch(e.type){case"function":return gr.fromObject(e);case"event":return Fr.fromObject(e);case"constructor":return yr.fromObject(e);case"error":return aa.fromObject(e);case"fallback":case"receive":return null}return Re.throwArgumentError("invalid fragment object","value",e)}static fromString(e){return e=e.replace(/\s/g," "),e=e.replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," "),e=e.trim(),e.split(" ")[0]==="event"?Fr.fromString(e.substring(5).trim()):e.split(" ")[0]==="function"?gr.fromString(e.substring(8).trim()):e.split("(")[0].trim()==="constructor"?yr.fromString(e.trim()):e.split(" ")[0]==="error"?aa.fromString(e.substring(5).trim()):Re.throwArgumentError("unsupported fragment","value",e)}static isFragment(e){return!!(e&&e._isFragment)}}class Fr extends Lr{format(e){if(e||(e=Fe.sighash),Fe[e]||Re.throwArgumentError("invalid format type","format",e),e===Fe.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map(a=>JSON.parse(a.format(e)))});let r="";return e!==Fe.sighash&&(r+="event "),r+=this.name+"("+this.inputs.map(a=>a.format(e)).join(e===Fe.full?", ":",")+") ",e!==Fe.sighash&&this.anonymous&&(r+="anonymous "),r.trim()}static from(e){return typeof e=="string"?Fr.fromString(e):Fr.fromObject(e)}static fromObject(e){if(Fr.isEventFragment(e))return e;e.type!=="event"&&Re.throwArgumentError("invalid event object","value",e);const r={name:o1(e.name),anonymous:e.anonymous,inputs:e.inputs?e.inputs.map(Ct.fromObject):[],type:"event"};return new Fr(wn,r)}static fromString(e){let r=e.match(s1);r||Re.throwArgumentError("invalid event string","value",e);let a=!1;return r[3].split(" ").forEach(n=>{switch(n.trim()){case"anonymous":a=!0;break;case"":break;default:Re.warn("unknown modifier: "+n)}}),Fr.fromObject({name:r[1].trim(),anonymous:a,inputs:i1(r[2],!0),type:"event"})}static isEventFragment(e){return e&&e._isFragment&&e.type==="event"}}function rc(t,e){e.gas=null;let r=t.split("@");return r.length!==1?(r.length>2&&Re.throwArgumentError("invalid human-readable ABI signature","value",t),r[1].match(/^[0-9]+$/)||Re.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=ne.from(r[1]),r[0]):t}function ac(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach(r=>{switch(r.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+r)}})}function nc(t){let e={constant:!1,payable:!0,stateMutability:"payable"};return t.stateMutability!=null?(e.stateMutability=t.stateMutability,e.constant=e.stateMutability==="view"||e.stateMutability==="pure",t.constant!=null&&!!t.constant!==e.constant&&Re.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable=e.stateMutability==="payable",t.payable!=null&&!!t.payable!==e.payable&&Re.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):t.payable!=null?(e.payable=!!t.payable,t.constant==null&&!e.payable&&t.type!=="constructor"&&Re.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&Re.throwArgumentError("cannot have constant payable function","value",t)):t.constant!=null?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):t.type!=="constructor"&&Re.throwArgumentError("unable to determine stateMutability","value",t),e}class yr extends Lr{format(e){if(e||(e=Fe.sighash),Fe[e]||Re.throwArgumentError("invalid format type","format",e),e===Fe.json)return JSON.stringify({type:"constructor",stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(a=>JSON.parse(a.format(e)))});e===Fe.sighash&&Re.throwError("cannot format a constructor for sighash",L.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let r="constructor("+this.inputs.map(a=>a.format(e)).join(e===Fe.full?", ":",")+") ";return this.stateMutability&&this.stateMutability!=="nonpayable"&&(r+=this.stateMutability+" "),r.trim()}static from(e){return typeof e=="string"?yr.fromString(e):yr.fromObject(e)}static fromObject(e){if(yr.isConstructorFragment(e))return e;e.type!=="constructor"&&Re.throwArgumentError("invalid constructor object","value",e);let r=nc(e);r.constant&&Re.throwArgumentError("constructor cannot be constant","value",e);const a={name:null,type:e.type,inputs:e.inputs?e.inputs.map(Ct.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?ne.from(e.gas):null};return new yr(wn,a)}static fromString(e){let r={type:"constructor"};e=rc(e,r);let a=e.match(s1);return(!a||a[1].trim()!=="constructor")&&Re.throwArgumentError("invalid constructor string","value",e),r.inputs=i1(a[2].trim(),!1),ac(a[3].trim(),r),yr.fromObject(r)}static isConstructorFragment(e){return e&&e._isFragment&&e.type==="constructor"}}class gr extends yr{format(e){if(e||(e=Fe.sighash),Fe[e]||Re.throwArgumentError("invalid format type","format",e),e===Fe.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:this.stateMutability!=="nonpayable"?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(a=>JSON.parse(a.format(e))),outputs:this.outputs.map(a=>JSON.parse(a.format(e)))});let r="";return e!==Fe.sighash&&(r+="function "),r+=this.name+"("+this.inputs.map(a=>a.format(e)).join(e===Fe.full?", ":",")+") ",e!==Fe.sighash&&(this.stateMutability?this.stateMutability!=="nonpayable"&&(r+=this.stateMutability+" "):this.constant&&(r+="view "),this.outputs&&this.outputs.length&&(r+="returns ("+this.outputs.map(a=>a.format(e)).join(", ")+") "),this.gas!=null&&(r+="@"+this.gas.toString()+" ")),r.trim()}static from(e){return typeof e=="string"?gr.fromString(e):gr.fromObject(e)}static fromObject(e){if(gr.isFunctionFragment(e))return e;e.type!=="function"&&Re.throwArgumentError("invalid function object","value",e);let r=nc(e);const a={type:e.type,name:o1(e.name),constant:r.constant,inputs:e.inputs?e.inputs.map(Ct.fromObject):[],outputs:e.outputs?e.outputs.map(Ct.fromObject):[],payable:r.payable,stateMutability:r.stateMutability,gas:e.gas?ne.from(e.gas):null};return new gr(wn,a)}static fromString(e){let r={type:"function"};e=rc(e,r);let a=e.split(" returns ");a.length>2&&Re.throwArgumentError("invalid function string","value",e);let n=a[0].match(s1);if(n||Re.throwArgumentError("invalid function signature","value",e),r.name=n[1].trim(),r.name&&o1(r.name),r.inputs=i1(n[2],!1),ac(n[3].trim(),r),a.length>1){let i=a[1].match(s1);(i[1].trim()!=""||i[3].trim()!="")&&Re.throwArgumentError("unexpected tokens","value",e),r.outputs=i1(i[2],!1)}else r.outputs=[];return gr.fromObject(r)}static isFunctionFragment(e){return e&&e._isFragment&&e.type==="function"}}function zp(t){const e=t.format();return(e==="Error(string)"||e==="Panic(uint256)")&&Re.throwArgumentError(`cannot specify user defined ${e} error`,"fragment",t),t}class aa extends Lr{format(e){if(e||(e=Fe.sighash),Fe[e]||Re.throwArgumentError("invalid format type","format",e),e===Fe.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map(a=>JSON.parse(a.format(e)))});let r="";return e!==Fe.sighash&&(r+="error "),r+=this.name+"("+this.inputs.map(a=>a.format(e)).join(e===Fe.full?", ":",")+") ",r.trim()}static from(e){return typeof e=="string"?aa.fromString(e):aa.fromObject(e)}static fromObject(e){if(aa.isErrorFragment(e))return e;e.type!=="error"&&Re.throwArgumentError("invalid error object","value",e);const r={type:e.type,name:o1(e.name),inputs:e.inputs?e.inputs.map(Ct.fromObject):[]};return zp(new aa(wn,r))}static fromString(e){let r={type:"error"},a=e.match(s1);return a||Re.throwArgumentError("invalid error signature","value",e),r.name=a[1].trim(),r.name&&o1(r.name),r.inputs=i1(a[2],!1),zp(aa.fromObject(r))}static isErrorFragment(e){return e&&e._isFragment&&e.type==="error"}}function $n(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}const eh=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function o1(t){return(!t||!t.match(eh))&&Re.throwArgumentError(`invalid identifier "${t}"`,"value",t),t}const s1=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");function th(t){t=t.trim();let e=[],r="",a=0;for(let n=0;n<t.length;n++){let i=t[n];i===","&&a===0?(e.push(r),r=""):(r+=i,i==="("?a++:i===")"&&(a--,a===-1&&Re.throwArgumentError("unbalanced parenthesis","value",t)))}return r&&e.push(r),e}const ld=new L(S1);function cd(t){const e=[],r=function(a,n){if(Array.isArray(n))for(let i in n){const o=a.slice();o.push(i);try{r(o,n[i])}catch(s){e.push({path:o,error:s})}}};return r([],t),e}class Fa{constructor(e,r,a,n){this.name=e,this.type=r,this.localName=a,this.dynamic=n}_throwError(e,r){ld.throwArgumentError(e,this.localName,r)}}class bs{constructor(e){Z(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}get data(){return Vt(this._data)}get length(){return this._dataLength}_writeData(e){return this._data.push(e),this._dataLength+=e.length,e.length}appendWriter(e){return this._writeData(it(e._data))}writeBytes(e){let r=se(e);const a=r.length%this.wordSize;return a&&(r=it([r,this._padding.slice(a)])),this._writeData(r)}_getValue(e){let r=se(ne.from(e));return r.length>this.wordSize&&ld.throwError("value out-of-bounds",L.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:r.length}),r.length%this.wordSize&&(r=it([this._padding.slice(r.length%this.wordSize),r])),r}writeValue(e){return this._writeData(this._getValue(e))}writeUpdatableValue(){const e=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,r=>{this._data[e]=this._getValue(r)}}}class y0{constructor(e,r,a,n){Z(this,"_data",se(e)),Z(this,"wordSize",r||32),Z(this,"_coerceFunc",a),Z(this,"allowLoose",n),this._offset=0}get data(){return pe(this._data)}get consumed(){return this._offset}static coerce(e,r){let a=e.match("^u?int([0-9]+)$");return a&&parseInt(a[1])<=48&&(r=r.toNumber()),r}coerce(e,r){return this._coerceFunc?this._coerceFunc(e,r):y0.coerce(e,r)}_peekBytes(e,r,a){let n=Math.ceil(r/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&a&&this._offset+r<=this._data.length?n=r:ld.throwError("data out-of-bounds",L.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)}subReader(e){return new y0(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(e,r){let a=this._peekBytes(0,e,!!r);return this._offset+=a.length,a.slice(0,e)}readValue(){return ne.from(this.readBytes(this.wordSize))}}var ic={exports:{}};/**
50
- * [js-sha3]{@link https://github.com/emn178/js-sha3}
51
- *
52
- * @version 0.8.0
53
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
54
- * @copyright Chen, Yi-Cyuan 2015-2018
55
- * @license MIT
56
- */(function(t){(function(){var e="input is invalid type",r="finalize already called",a=typeof window=="object",n=a?window:{};n.JS_SHA3_NO_WINDOW&&(a=!1);var i=!a&&typeof self=="object",o=!n.JS_SHA3_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;o?n=ye:i&&(n=self);var s=!n.JS_SHA3_NO_COMMON_JS&&!0&&t.exports,p=!n.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",l="0123456789abcdef".split(""),u=[31,7936,2031616,520093696],v=[4,1024,262144,67108864],x=[1,256,65536,16777216],A=[6,1536,393216,100663296],N=[0,8,16,24],O=[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],S=[224,256,384,512],I=[128,256],$=["hex","buffer","arrayBuffer","array","digest"],H={128:168,256:136};(n.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(f){return Object.prototype.toString.call(f)==="[object Array]"}),p&&(n.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(f){return typeof f=="object"&&f.buffer&&f.buffer.constructor===ArrayBuffer});for(var U=function(f,M,q){return function(W){return new c(f,M,f).update(W)[q]()}},B=function(f,M,q){return function(W,K){return new c(f,M,K).update(W)[q]()}},j=function(f,M,q){return function(W,K,de,te){return d["cshake"+f].update(W,K,de,te)[q]()}},Q=function(f,M,q){return function(W,K,de,te){return d["kmac"+f].update(W,K,de,te)[q]()}},J=function(f,M,q,W){for(var K=0;K<$.length;++K){var de=$[K];f[de]=M(q,W,de)}return f},k=function(f,M){var q=U(f,M,"hex");return q.create=function(){return new c(f,M,f)},q.update=function(W){return q.create().update(W)},J(q,U,f,M)},R=function(f,M){var q=B(f,M,"hex");return q.create=function(W){return new c(f,M,W)},q.update=function(W,K){return q.create(K).update(W)},J(q,B,f,M)},V=function(f,M){var q=H[f],W=j(f,M,"hex");return W.create=function(K,de,te){return!de&&!te?d["shake"+f].create(K):new c(f,M,K).bytepad([de,te],q)},W.update=function(K,de,te,oe){return W.create(de,te,oe).update(K)},J(W,j,f,M)},X=function(f,M){var q=H[f],W=Q(f,M,"hex");return W.create=function(K,de,te){return new b(f,M,de).bytepad(["KMAC",te],q).bytepad([K],q)},W.update=function(K,de,te,oe){return W.create(K,te,oe).update(de)},J(W,Q,f,M)},w=[{name:"keccak",padding:x,bits:S,createMethod:k},{name:"sha3",padding:A,bits:S,createMethod:k},{name:"shake",padding:u,bits:I,createMethod:R},{name:"cshake",padding:v,bits:I,createMethod:V},{name:"kmac",padding:v,bits:I,createMethod:X}],d={},h=[],y=0;y<w.length;++y)for(var T=w[y],g=T.bits,_=0;_<g.length;++_){var E=T.name+"_"+g[_];if(h.push(E),d[E]=T.createMethod(g[_],T.padding),T.name!=="sha3"){var m=T.name+g[_];h.push(m),d[m]=d[E]}}function c(f,M,q){this.blocks=[],this.s=[],this.padding=M,this.outputBits=q,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(f<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=q>>5,this.extraBytes=(q&31)>>3;for(var W=0;W<50;++W)this.s[W]=0}c.prototype.update=function(f){if(this.finalized)throw new Error(r);var M,q=typeof f;if(q!=="string"){if(q==="object"){if(f===null)throw new Error(e);if(p&&f.constructor===ArrayBuffer)f=new Uint8Array(f);else if(!Array.isArray(f)&&(!p||!ArrayBuffer.isView(f)))throw new Error(e)}else throw new Error(e);M=!0}for(var W=this.blocks,K=this.byteCount,de=f.length,te=this.blockCount,oe=0,C=this.s,P,Y;oe<de;){if(this.reset)for(this.reset=!1,W[0]=this.block,P=1;P<te+1;++P)W[P]=0;if(M)for(P=this.start;oe<de&&P<K;++oe)W[P>>2]|=f[oe]<<N[P++&3];else for(P=this.start;oe<de&&P<K;++oe)Y=f.charCodeAt(oe),Y<128?W[P>>2]|=Y<<N[P++&3]:Y<2048?(W[P>>2]|=(192|Y>>6)<<N[P++&3],W[P>>2]|=(128|Y&63)<<N[P++&3]):Y<55296||Y>=57344?(W[P>>2]|=(224|Y>>12)<<N[P++&3],W[P>>2]|=(128|Y>>6&63)<<N[P++&3],W[P>>2]|=(128|Y&63)<<N[P++&3]):(Y=65536+((Y&1023)<<10|f.charCodeAt(++oe)&1023),W[P>>2]|=(240|Y>>18)<<N[P++&3],W[P>>2]|=(128|Y>>12&63)<<N[P++&3],W[P>>2]|=(128|Y>>6&63)<<N[P++&3],W[P>>2]|=(128|Y&63)<<N[P++&3]);if(this.lastByteIndex=P,P>=K){for(this.start=P-K,this.block=W[te],P=0;P<te;++P)C[P]^=W[P];F(C),this.reset=!0}else this.start=P}return this},c.prototype.encode=function(f,M){var q=f&255,W=1,K=[q];for(f=f>>8,q=f&255;q>0;)K.unshift(q),f=f>>8,q=f&255,++W;return M?K.push(W):K.unshift(W),this.update(K),K.length},c.prototype.encodeString=function(f){var M,q=typeof f;if(q!=="string"){if(q==="object"){if(f===null)throw new Error(e);if(p&&f.constructor===ArrayBuffer)f=new Uint8Array(f);else if(!Array.isArray(f)&&(!p||!ArrayBuffer.isView(f)))throw new Error(e)}else throw new Error(e);M=!0}var W=0,K=f.length;if(M)W=K;else for(var de=0;de<f.length;++de){var te=f.charCodeAt(de);te<128?W+=1:te<2048?W+=2:te<55296||te>=57344?W+=3:(te=65536+((te&1023)<<10|f.charCodeAt(++de)&1023),W+=4)}return W+=this.encode(W*8),this.update(f),W},c.prototype.bytepad=function(f,M){for(var q=this.encode(M),W=0;W<f.length;++W)q+=this.encodeString(f[W]);var K=M-q%M,de=[];return de.length=K,this.update(de),this},c.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var f=this.blocks,M=this.lastByteIndex,q=this.blockCount,W=this.s;if(f[M>>2]|=this.padding[M&3],this.lastByteIndex===this.byteCount)for(f[0]=f[q],M=1;M<q+1;++M)f[M]=0;for(f[q-1]|=2147483648,M=0;M<q;++M)W[M]^=f[M];F(W)}},c.prototype.toString=c.prototype.hex=function(){this.finalize();for(var f=this.blockCount,M=this.s,q=this.outputBlocks,W=this.extraBytes,K=0,de=0,te="",oe;de<q;){for(K=0;K<f&&de<q;++K,++de)oe=M[K],te+=l[oe>>4&15]+l[oe&15]+l[oe>>12&15]+l[oe>>8&15]+l[oe>>20&15]+l[oe>>16&15]+l[oe>>28&15]+l[oe>>24&15];de%f===0&&(F(M),K=0)}return W&&(oe=M[K],te+=l[oe>>4&15]+l[oe&15],W>1&&(te+=l[oe>>12&15]+l[oe>>8&15]),W>2&&(te+=l[oe>>20&15]+l[oe>>16&15])),te},c.prototype.arrayBuffer=function(){this.finalize();var f=this.blockCount,M=this.s,q=this.outputBlocks,W=this.extraBytes,K=0,de=0,te=this.outputBits>>3,oe;W?oe=new ArrayBuffer(q+1<<2):oe=new ArrayBuffer(te);for(var C=new Uint32Array(oe);de<q;){for(K=0;K<f&&de<q;++K,++de)C[de]=M[K];de%f===0&&F(M)}return W&&(C[K]=M[K],oe=oe.slice(0,te)),oe},c.prototype.buffer=c.prototype.arrayBuffer,c.prototype.digest=c.prototype.array=function(){this.finalize();for(var f=this.blockCount,M=this.s,q=this.outputBlocks,W=this.extraBytes,K=0,de=0,te=[],oe,C;de<q;){for(K=0;K<f&&de<q;++K,++de)oe=de<<2,C=M[K],te[oe]=C&255,te[oe+1]=C>>8&255,te[oe+2]=C>>16&255,te[oe+3]=C>>24&255;de%f===0&&F(M)}return W&&(oe=de<<2,C=M[K],te[oe]=C&255,W>1&&(te[oe+1]=C>>8&255),W>2&&(te[oe+2]=C>>16&255)),te};function b(f,M,q){c.call(this,f,M,q)}b.prototype=new c,b.prototype.finalize=function(){return this.encode(this.outputBits,!0),c.prototype.finalize.call(this)};var F=function(f){var M,q,W,K,de,te,oe,C,P,Y,ie,ce,ue,Ce,ge,Ee,rr,$e,Ge,Sr,He,st,ma,dt,pt,va,ze,Ve,zr,Ye,Le,Wr,lt,Xe,Tr,We,Ze,mr,et,ct,ba,De,Me,Kr,je,tt,Nr,rt,at,Pr,Ke,Ue,Jr,Je,ut,z,D,G,ee,ae,fe,le,me;for(W=0;W<48;W+=2)K=f[0]^f[10]^f[20]^f[30]^f[40],de=f[1]^f[11]^f[21]^f[31]^f[41],te=f[2]^f[12]^f[22]^f[32]^f[42],oe=f[3]^f[13]^f[23]^f[33]^f[43],C=f[4]^f[14]^f[24]^f[34]^f[44],P=f[5]^f[15]^f[25]^f[35]^f[45],Y=f[6]^f[16]^f[26]^f[36]^f[46],ie=f[7]^f[17]^f[27]^f[37]^f[47],ce=f[8]^f[18]^f[28]^f[38]^f[48],ue=f[9]^f[19]^f[29]^f[39]^f[49],M=ce^(te<<1|oe>>>31),q=ue^(oe<<1|te>>>31),f[0]^=M,f[1]^=q,f[10]^=M,f[11]^=q,f[20]^=M,f[21]^=q,f[30]^=M,f[31]^=q,f[40]^=M,f[41]^=q,M=K^(C<<1|P>>>31),q=de^(P<<1|C>>>31),f[2]^=M,f[3]^=q,f[12]^=M,f[13]^=q,f[22]^=M,f[23]^=q,f[32]^=M,f[33]^=q,f[42]^=M,f[43]^=q,M=te^(Y<<1|ie>>>31),q=oe^(ie<<1|Y>>>31),f[4]^=M,f[5]^=q,f[14]^=M,f[15]^=q,f[24]^=M,f[25]^=q,f[34]^=M,f[35]^=q,f[44]^=M,f[45]^=q,M=C^(ce<<1|ue>>>31),q=P^(ue<<1|ce>>>31),f[6]^=M,f[7]^=q,f[16]^=M,f[17]^=q,f[26]^=M,f[27]^=q,f[36]^=M,f[37]^=q,f[46]^=M,f[47]^=q,M=Y^(K<<1|de>>>31),q=ie^(de<<1|K>>>31),f[8]^=M,f[9]^=q,f[18]^=M,f[19]^=q,f[28]^=M,f[29]^=q,f[38]^=M,f[39]^=q,f[48]^=M,f[49]^=q,Ce=f[0],ge=f[1],tt=f[11]<<4|f[10]>>>28,Nr=f[10]<<4|f[11]>>>28,Ve=f[20]<<3|f[21]>>>29,zr=f[21]<<3|f[20]>>>29,ae=f[31]<<9|f[30]>>>23,fe=f[30]<<9|f[31]>>>23,De=f[40]<<18|f[41]>>>14,Me=f[41]<<18|f[40]>>>14,Xe=f[2]<<1|f[3]>>>31,Tr=f[3]<<1|f[2]>>>31,Ee=f[13]<<12|f[12]>>>20,rr=f[12]<<12|f[13]>>>20,rt=f[22]<<10|f[23]>>>22,at=f[23]<<10|f[22]>>>22,Ye=f[33]<<13|f[32]>>>19,Le=f[32]<<13|f[33]>>>19,le=f[42]<<2|f[43]>>>30,me=f[43]<<2|f[42]>>>30,Je=f[5]<<30|f[4]>>>2,ut=f[4]<<30|f[5]>>>2,We=f[14]<<6|f[15]>>>26,Ze=f[15]<<6|f[14]>>>26,$e=f[25]<<11|f[24]>>>21,Ge=f[24]<<11|f[25]>>>21,Pr=f[34]<<15|f[35]>>>17,Ke=f[35]<<15|f[34]>>>17,Wr=f[45]<<29|f[44]>>>3,lt=f[44]<<29|f[45]>>>3,dt=f[6]<<28|f[7]>>>4,pt=f[7]<<28|f[6]>>>4,z=f[17]<<23|f[16]>>>9,D=f[16]<<23|f[17]>>>9,mr=f[26]<<25|f[27]>>>7,et=f[27]<<25|f[26]>>>7,Sr=f[36]<<21|f[37]>>>11,He=f[37]<<21|f[36]>>>11,Ue=f[47]<<24|f[46]>>>8,Jr=f[46]<<24|f[47]>>>8,Kr=f[8]<<27|f[9]>>>5,je=f[9]<<27|f[8]>>>5,va=f[18]<<20|f[19]>>>12,ze=f[19]<<20|f[18]>>>12,G=f[29]<<7|f[28]>>>25,ee=f[28]<<7|f[29]>>>25,ct=f[38]<<8|f[39]>>>24,ba=f[39]<<8|f[38]>>>24,st=f[48]<<14|f[49]>>>18,ma=f[49]<<14|f[48]>>>18,f[0]=Ce^~Ee&$e,f[1]=ge^~rr&Ge,f[10]=dt^~va&Ve,f[11]=pt^~ze&zr,f[20]=Xe^~We&mr,f[21]=Tr^~Ze&et,f[30]=Kr^~tt&rt,f[31]=je^~Nr&at,f[40]=Je^~z&G,f[41]=ut^~D&ee,f[2]=Ee^~$e&Sr,f[3]=rr^~Ge&He,f[12]=va^~Ve&Ye,f[13]=ze^~zr&Le,f[22]=We^~mr&ct,f[23]=Ze^~et&ba,f[32]=tt^~rt&Pr,f[33]=Nr^~at&Ke,f[42]=z^~G&ae,f[43]=D^~ee&fe,f[4]=$e^~Sr&st,f[5]=Ge^~He&ma,f[14]=Ve^~Ye&Wr,f[15]=zr^~Le&lt,f[24]=mr^~ct&De,f[25]=et^~ba&Me,f[34]=rt^~Pr&Ue,f[35]=at^~Ke&Jr,f[44]=G^~ae&le,f[45]=ee^~fe&me,f[6]=Sr^~st&Ce,f[7]=He^~ma&ge,f[16]=Ye^~Wr&dt,f[17]=Le^~lt&pt,f[26]=ct^~De&Xe,f[27]=ba^~Me&Tr,f[36]=Pr^~Ue&Kr,f[37]=Ke^~Jr&je,f[46]=ae^~le&Je,f[47]=fe^~me&ut,f[8]=st^~Ce&Ee,f[9]=ma^~ge&rr,f[18]=Wr^~dt&va,f[19]=lt^~pt&ze,f[28]=De^~Xe&We,f[29]=Me^~Tr&Ze,f[38]=Ue^~Kr&tt,f[39]=Jr^~je&Nr,f[48]=le^~Je&z,f[49]=me^~ut&D,f[0]^=O[W],f[1]^=O[W+1]};if(s)t.exports=d;else for(y=0;y<h.length;++y)n[h[y]]=d[h[y]]})()})(ic);var rh=ic.exports;const ah=bi(rh);function qe(t){return"0x"+ah.keccak_256(se(t))}const nh=Object.freeze(Object.defineProperty({__proto__:null,keccak256:qe},Symbol.toStringTag,{value:"Module"})),ih="rlp/5.7.0",ea=new L(ih);function Wp(t){const e=[];for(;t;)e.unshift(t&255),t>>=8;return e}function Kp(t,e,r){let a=0;for(let n=0;n<r;n++)a=a*256+t[e+n];return a}function oc(t){if(Array.isArray(t)){let a=[];if(t.forEach(function(i){a=a.concat(oc(i))}),a.length<=55)return a.unshift(192+a.length),a;const n=Wp(a.length);return n.unshift(247+n.length),n.concat(a)}gi(t)||ea.throwArgumentError("RLP object must be BytesLike","object",t);const e=Array.prototype.slice.call(se(t));if(e.length===1&&e[0]<=127)return e;if(e.length<=55)return e.unshift(128+e.length),e;const r=Wp(e.length);return r.unshift(183+r.length),r.concat(e)}function An(t){return pe(oc(t))}function Jp(t,e,r,a){const n=[];for(;r<e+1+a;){const i=sc(t,r);n.push(i.result),r+=i.consumed,r>e+1+a&&ea.throwError("child data too short",L.errors.BUFFER_OVERRUN,{})}return{consumed:1+a,result:n}}function sc(t,e){if(t.length===0&&ea.throwError("data too short",L.errors.BUFFER_OVERRUN,{}),t[e]>=248){const r=t[e]-247;e+1+r>t.length&&ea.throwError("data short segment too short",L.errors.BUFFER_OVERRUN,{});const a=Kp(t,e+1,r);return e+1+r+a>t.length&&ea.throwError("data long segment too short",L.errors.BUFFER_OVERRUN,{}),Jp(t,e,e+1+r,r+a)}else if(t[e]>=192){const r=t[e]-192;return e+1+r>t.length&&ea.throwError("data array too short",L.errors.BUFFER_OVERRUN,{}),Jp(t,e,e+1,r)}else if(t[e]>=184){const r=t[e]-183;e+1+r>t.length&&ea.throwError("data array too short",L.errors.BUFFER_OVERRUN,{});const a=Kp(t,e+1,r);e+1+r+a>t.length&&ea.throwError("data array too short",L.errors.BUFFER_OVERRUN,{});const n=pe(t.slice(e+1+r,e+1+r+a));return{consumed:1+r+a,result:n}}else if(t[e]>=128){const r=t[e]-128;e+1+r>t.length&&ea.throwError("data too short",L.errors.BUFFER_OVERRUN,{});const a=pe(t.slice(e+1,e+1+r));return{consumed:1+r,result:a}}return{consumed:1,result:pe(t[e])}}function Q0(t){const e=se(t),r=sc(e,0);return r.consumed!==e.length&&ea.throwArgumentError("invalid rlp data","data",t),r.result}const dc=Object.freeze(Object.defineProperty({__proto__:null,decode:Q0,encode:An},Symbol.toStringTag,{value:"Module"})),oh="address/5.7.0",Za=new L(oh);function Qp(t){Se(t,20)||Za.throwArgumentError("invalid address","address",t),t=t.toLowerCase();const e=t.substring(2).split(""),r=new Uint8Array(40);for(let n=0;n<40;n++)r[n]=e[n].charCodeAt(0);const a=se(qe(r));for(let n=0;n<40;n+=2)a[n>>1]>>4>=8&&(e[n]=e[n].toUpperCase()),(a[n>>1]&15)>=8&&(e[n+1]=e[n+1].toUpperCase());return"0x"+e.join("")}const sh=9007199254740991;function dh(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}const ud={};for(let t=0;t<10;t++)ud[String(t)]=String(t);for(let t=0;t<26;t++)ud[String.fromCharCode(65+t)]=String(10+t);const Yp=Math.floor(dh(sh));function pc(t){t=t.toUpperCase(),t=t.substring(4)+t.substring(0,2)+"00";let e=t.split("").map(a=>ud[a]).join("");for(;e.length>=Yp;){let a=e.substring(0,Yp);e=parseInt(a,10)%97+e.substring(a.length)}let r=String(98-parseInt(e,10)%97);for(;r.length<2;)r="0"+r;return r}function Be(t){let e=null;if(typeof t!="string"&&Za.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))t.substring(0,2)!=="0x"&&(t="0x"+t),e=Qp(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&Za.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==pc(t)&&Za.throwArgumentError("bad icap checksum","address",t),e=$3(t.substring(4));e.length<40;)e="0"+e;e=Qp("0x"+e)}else Za.throwArgumentError("invalid address","address",t);return e}function lc(t){try{return Be(t),!0}catch{}return!1}function cc(t){let e=G3(Be(t).substring(2)).toUpperCase();for(;e.length<30;)e="0"+e;return"XE"+pc("XE00"+e)+e}function T1(t){let e=null;try{e=Be(t.from)}catch{Za.throwArgumentError("missing from address","transaction",t)}const r=jr(se(ne.from(t.nonce).toHexString()));return Be(xt(qe(An([e,r])),12))}function fd(t,e,r){return qr(e)!==32&&Za.throwArgumentError("salt must be 32 bytes","salt",e),qr(r)!==32&&Za.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),Be(xt(qe(it(["0xff",Be(t),e,r])),12))}const ph=Object.freeze(Object.defineProperty({__proto__:null,getAddress:Be,getContractAddress:T1,getCreate2Address:fd,getIcapAddress:cc,isAddress:lc},Symbol.toStringTag,{value:"Module"}));class lh extends Fa{constructor(e){super("address","address",e,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(e,r){try{r=Be(r)}catch(a){this._throwError(a.message,r)}return e.writeValue(r)}decode(e){return Be(Qe(e.readValue().toHexString(),20))}}class ch extends Fa{constructor(e){super(e.name,e.type,void 0,e.dynamic),this.coder=e}defaultValue(){return this.coder.defaultValue()}encode(e,r){return this.coder.encode(e,r)}decode(e){return this.coder.decode(e)}}const Jn=new L(S1);function uc(t,e,r){let a=null;if(Array.isArray(r))a=r;else if(r&&typeof r=="object"){let p={};a=e.map(l=>{const u=l.localName;return u||Jn.throwError("cannot encode object for signature with missing names",L.errors.INVALID_ARGUMENT,{argument:"values",coder:l,value:r}),p[u]&&Jn.throwError("cannot encode object for signature with duplicate names",L.errors.INVALID_ARGUMENT,{argument:"values",coder:l,value:r}),p[u]=!0,r[u]})}else Jn.throwArgumentError("invalid tuple value","tuple",r);e.length!==a.length&&Jn.throwArgumentError("types/value length mismatch","tuple",r);let n=new bs(t.wordSize),i=new bs(t.wordSize),o=[];e.forEach((p,l)=>{let u=a[l];if(p.dynamic){let v=i.length;p.encode(i,u);let x=n.writeUpdatableValue();o.push(A=>{x(A+v)})}else p.encode(n,u)}),o.forEach(p=>{p(n.length)});let s=t.appendWriter(n);return s+=t.appendWriter(i),s}function fc(t,e){let r=[],a=t.subReader(0);e.forEach(i=>{let o=null;if(i.dynamic){let s=t.readValue(),p=a.subReader(s.toNumber());try{o=i.decode(p)}catch(l){if(l.code===L.errors.BUFFER_OVERRUN)throw l;o=l,o.baseType=i.name,o.name=i.localName,o.type=i.type}}else try{o=i.decode(t)}catch(s){if(s.code===L.errors.BUFFER_OVERRUN)throw s;o=s,o.baseType=i.name,o.name=i.localName,o.type=i.type}o!=null&&r.push(o)});const n=e.reduce((i,o)=>{const s=o.localName;return s&&(i[s]||(i[s]=0),i[s]++),i},{});e.forEach((i,o)=>{let s=i.localName;if(!s||n[s]!==1||(s==="length"&&(s="_length"),r[s]!=null))return;const p=r[o];p instanceof Error?Object.defineProperty(r,s,{enumerable:!0,get:()=>{throw p}}):r[s]=p});for(let i=0;i<r.length;i++){const o=r[i];o instanceof Error&&Object.defineProperty(r,i,{enumerable:!0,get:()=>{throw o}})}return Object.freeze(r)}class uh extends Fa{constructor(e,r,a){const n=e.type+"["+(r>=0?r:"")+"]",i=r===-1||e.dynamic;super("array",n,a,i),this.coder=e,this.length=r}defaultValue(){const e=this.coder.defaultValue(),r=[];for(let a=0;a<this.length;a++)r.push(e);return r}encode(e,r){Array.isArray(r)||this._throwError("expected array value",r);let a=this.length;a===-1&&(a=r.length,e.writeValue(r.length)),Jn.checkArgumentCount(r.length,a,"coder array"+(this.localName?" "+this.localName:""));let n=[];for(let i=0;i<r.length;i++)n.push(this.coder);return uc(e,n,r)}decode(e){let r=this.length;r===-1&&(r=e.readValue().toNumber(),r*32>e._data.length&&Jn.throwError("insufficient data length",L.errors.BUFFER_OVERRUN,{length:e._data.length,count:r}));let a=[];for(let n=0;n<r;n++)a.push(new ch(this.coder));return e.coerce(this.name,fc(e,a))}}class fh extends Fa{constructor(e){super("bool","bool",e,!1)}defaultValue(){return!1}encode(e,r){return e.writeValue(r?1:0)}decode(e){return e.coerce(this.type,!e.readValue().isZero())}}class hc extends Fa{constructor(e,r){super(e,e,r,!0)}defaultValue(){return"0x"}encode(e,r){r=se(r);let a=e.writeValue(r.length);return a+=e.writeBytes(r),a}decode(e){return e.readBytes(e.readValue().toNumber(),!0)}}class hh extends hc{constructor(e){super("bytes",e)}decode(e){return e.coerce(this.name,pe(super.decode(e)))}}class mh extends Fa{constructor(e,r){let a="bytes"+String(e);super(a,a,r,!1),this.size=e}defaultValue(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+this.size*2)}encode(e,r){let a=se(r);return a.length!==this.size&&this._throwError("incorrect data length",r),e.writeBytes(a)}decode(e){return e.coerce(this.name,pe(e.readBytes(this.size)))}}class vh extends Fa{constructor(e){super("null","",e,!1)}defaultValue(){return null}encode(e,r){return r!=null&&this._throwError("not null",r),e.writeBytes([])}decode(e){return e.readBytes(0),e.coerce(this.name,null)}}const si="0x0000000000000000000000000000000000000000",mc=ne.from(-1),hd=ne.from(0),vc=ne.from(1),bh=ne.from(2),yh=ne.from("1000000000000000000"),bc=ne.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),gh=ne.from("-0x8000000000000000000000000000000000000000000000000000000000000000"),xh=ne.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),md="0x0000000000000000000000000000000000000000000000000000000000000000",wh="Ξ",yc=Object.freeze(Object.defineProperty({__proto__:null,AddressZero:si,EtherSymbol:wh,HashZero:md,MaxInt256:xh,MaxUint256:bc,MinInt256:gh,NegativeOne:mc,One:vc,Two:bh,WeiPerEther:yh,Zero:hd},Symbol.toStringTag,{value:"Module"}));class Ah extends Fa{constructor(e,r,a){const n=(r?"int":"uint")+e*8;super(n,n,a,!1),this.size=e,this.signed=r}defaultValue(){return 0}encode(e,r){let a=ne.from(r),n=bc.mask(e.wordSize*8);if(this.signed){let i=n.mask(this.size*8-1);(a.gt(i)||a.lt(i.add(vc).mul(mc)))&&this._throwError("value out-of-bounds",r)}else(a.lt(hd)||a.gt(n.mask(this.size*8)))&&this._throwError("value out-of-bounds",r);return a=a.toTwos(this.size*8).mask(this.size*8),this.signed&&(a=a.fromTwos(this.size*8).toTwos(8*e.wordSize)),e.writeValue(a)}decode(e){let r=e.readValue().mask(this.size*8);return this.signed&&(r=r.fromTwos(this.size*8)),e.coerce(this.name,r)}}const Eh="strings/5.7.0",gc=new L(Eh);var $r;(function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"})($r||($r={}));var Zt;(function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"})(Zt||(Zt={}));function _h(t,e,r,a,n){return gc.throwArgumentError(`invalid codepoint at offset ${e}; ${t}`,"bytes",r)}function xc(t,e,r,a,n){if(t===Zt.BAD_PREFIX||t===Zt.UNEXPECTED_CONTINUE){let i=0;for(let o=e+1;o<r.length&&r[o]>>6===2;o++)i++;return i}return t===Zt.OVERRUN?r.length-e-1:0}function Sh(t,e,r,a,n){return t===Zt.OVERLONG?(a.push(n),0):(a.push(65533),xc(t,e,r))}const vd=Object.freeze({error:_h,ignore:xc,replace:Sh});function bd(t,e){e==null&&(e=vd.error),t=se(t);const r=[];let a=0;for(;a<t.length;){const n=t[a++];if(!(n>>7)){r.push(n);continue}let i=null,o=null;if((n&224)===192)i=1,o=127;else if((n&240)===224)i=2,o=2047;else if((n&248)===240)i=3,o=65535;else{(n&192)===128?a+=e(Zt.UNEXPECTED_CONTINUE,a-1,t,r):a+=e(Zt.BAD_PREFIX,a-1,t,r);continue}if(a-1+i>=t.length){a+=e(Zt.OVERRUN,a-1,t,r);continue}let s=n&(1<<8-i-1)-1;for(let p=0;p<i;p++){let l=t[a];if((l&192)!=128){a+=e(Zt.MISSING_CONTINUE,a,t,r),s=null;break}s=s<<6|l&63,a++}if(s!==null){if(s>1114111){a+=e(Zt.OUT_OF_RANGE,a-1-i,t,r,s);continue}if(s>=55296&&s<=57343){a+=e(Zt.UTF16_SURROGATE,a-1-i,t,r,s);continue}if(s<=o){a+=e(Zt.OVERLONG,a-1-i,t,r,s);continue}r.push(s)}}return r}function St(t,e=$r.current){e!=$r.current&&(gc.checkNormalize(),t=t.normalize(e));let r=[];for(let a=0;a<t.length;a++){const n=t.charCodeAt(a);if(n<128)r.push(n);else if(n<2048)r.push(n>>6|192),r.push(n&63|128);else if((n&64512)==55296){a++;const i=t.charCodeAt(a);if(a>=t.length||(i&64512)!==56320)throw new Error("invalid utf-8 string");const o=65536+((n&1023)<<10)+(i&1023);r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(o&63|128)}else r.push(n>>12|224),r.push(n>>6&63|128),r.push(n&63|128)}return se(r)}function Oo(t){const e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function wc(t,e){return'"'+bd(t,e).map(r=>{if(r<256){switch(r){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(r>=32&&r<127)return String.fromCharCode(r)}return r<=65535?Oo(r):(r-=65536,Oo((r>>10&1023)+55296)+Oo((r&1023)+56320))}).join("")+'"'}function ys(t){return t.map(e=>e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10&1023)+55296,(e&1023)+56320))).join("")}function La(t,e){return ys(bd(t,e))}function d1(t,e=$r.current){return bd(St(t,e))}function yd(t){const e=St(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return pe(it([e,md]).slice(0,32))}function Ac(t){const e=se(t);if(e.length!==32)throw new Error("invalid bytes32 - not 32 bytes long");if(e[31]!==0)throw new Error("invalid bytes32 string - no null terminator");let r=31;for(;e[r-1]===0;)r--;return La(e.slice(0,r))}function Th(t){if(t.length%4!==0)throw new Error("bad data");let e=[];for(let r=0;r<t.length;r+=4)e.push(parseInt(t.substring(r,r+4),16));return e}function gd(t,e){e||(e=function(n){return[parseInt(n,16)]});let r=0,a={};return t.split(",").forEach(n=>{let i=n.split(":");r+=parseInt(i[0],16),a[r]=e(i[1])}),a}function Ec(t){let e=0;return t.split(",").map(r=>{let a=r.split("-");a.length===1?a[1]="0":a[1]===""&&(a[1]="1");let n=e+parseInt(a[0],16);return e=parseInt(a[1],16),{l:n,h:e}})}function xd(t,e){let r=0;for(let a=0;a<e.length;a++){let n=e[a];if(r+=n.l,t>=r&&t<=r+n.h&&(t-r)%(n.d||1)===0){if(n.e&&n.e.indexOf(t-r)!==-1)continue;return n}}return null}const Nh=Ec("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),Ph="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(t=>parseInt(t,16)),Oh=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],Ih=gd("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),kh=gd("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),Ch=gd("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",Th),Dh=Ec("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function Rh(t){return t.reduce((e,r)=>(r.forEach(a=>{e.push(a)}),e),[])}function Bh(t){return!!xd(t,Nh)}function Mh(t){let e=xd(t,Oh);if(e)return[t+e.s];let r=Ih[t];if(r)return r;let a=kh[t];if(a)return[t+a[0]];let n=Ch[t];return n||null}function Fh(t){return!!xd(t,Dh)}function _c(t){if(t.match(/^[a-z0-9-]*$/i)&&t.length<=59)return t.toLowerCase();let e=d1(t);e=Rh(e.map(a=>{if(Ph.indexOf(a)>=0)return[];if(a>=65024&&a<=65039)return[];let n=Mh(a);return n||[a]})),e=d1(ys(e),$r.NFKC),e.forEach(a=>{if(Fh(a))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")}),e.forEach(a=>{if(Bh(a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")});let r=ys(e);if(r.substring(0,1)==="-"||r.substring(2,4)==="--"||r.substring(r.length-1)==="-")throw new Error("invalid hyphen");return r}const Lh=Object.freeze(Object.defineProperty({__proto__:null,get UnicodeNormalizationForm(){return $r},Utf8ErrorFuncs:vd,get Utf8ErrorReason(){return Zt},_toEscapedUtf8String:wc,formatBytes32String:yd,nameprep:_c,parseBytes32String:Ac,toUtf8Bytes:St,toUtf8CodePoints:d1,toUtf8String:La},Symbol.toStringTag,{value:"Module"}));class Uh extends hc{constructor(e){super("string",e)}defaultValue(){return""}encode(e,r){return super.encode(e,St(r))}decode(e){return La(super.decode(e))}}class j1 extends Fa{constructor(e,r){let a=!1;const n=[];e.forEach(o=>{o.dynamic&&(a=!0),n.push(o.type)});const i="tuple("+n.join(",")+")";super("tuple",i,r,a),this.coders=e}defaultValue(){const e=[];this.coders.forEach(a=>{e.push(a.defaultValue())});const r=this.coders.reduce((a,n)=>{const i=n.localName;return i&&(a[i]||(a[i]=0),a[i]++),a},{});return this.coders.forEach((a,n)=>{let i=a.localName;!i||r[i]!==1||(i==="length"&&(i="_length"),e[i]==null&&(e[i]=e[n]))}),Object.freeze(e)}encode(e,r){return uc(e,this.coders,r)}decode(e){return e.coerce(this.name,fc(e,this.coders))}}const q1=new L(S1),Vh=new RegExp(/^bytes([0-9]*)$/),jh=new RegExp(/^(u?int)([0-9]*)$/);class wd{constructor(e){Z(this,"coerceFunc",e||null)}_getCoder(e){switch(e.baseType){case"address":return new lh(e.name);case"bool":return new fh(e.name);case"string":return new Uh(e.name);case"bytes":return new hh(e.name);case"array":return new uh(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new j1((e.components||[]).map(a=>this._getCoder(a)),e.name);case"":return new vh(e.name)}let r=e.type.match(jh);if(r){let a=parseInt(r[2]||"256");return(a===0||a>256||a%8!==0)&&q1.throwArgumentError("invalid "+r[1]+" bit length","param",e),new Ah(a/8,r[1]==="int",e.name)}if(r=e.type.match(Vh),r){let a=parseInt(r[1]);return(a===0||a>32)&&q1.throwArgumentError("invalid bytes length","param",e),new mh(a,e.name)}return q1.throwArgumentError("invalid type","type",e.type)}_getWordSize(){return 32}_getReader(e,r){return new y0(e,this._getWordSize(),this.coerceFunc,r)}_getWriter(){return new bs(this._getWordSize())}getDefaultValue(e){const r=e.map(n=>this._getCoder(Ct.from(n)));return new j1(r,"_").defaultValue()}encode(e,r){e.length!==r.length&&q1.throwError("types/values length mismatch",L.errors.INVALID_ARGUMENT,{count:{types:e.length,values:r.length},value:{types:e,values:r}});const a=e.map(o=>this._getCoder(Ct.from(o))),n=new j1(a,"_"),i=this._getWriter();return n.encode(i,r),i.data}decode(e,r,a){const n=e.map(o=>this._getCoder(Ct.from(o)));return new j1(n,"_").decode(this._getReader(se(r),a))}}const wi=new wd;function tr(t){return qe(St(t))}const Sc="hash/5.7.0";function Ad(t){t=atob(t);const e=[];for(let r=0;r<t.length;r++)e.push(t.charCodeAt(r));return se(e)}function Ed(t){t=se(t);let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return btoa(e)}const Tc=Object.freeze(Object.defineProperty({__proto__:null,decode:Ad,encode:Ed},Symbol.toStringTag,{value:"Module"}));function Nc(t,e){e==null&&(e=1);const r=[],a=r.forEach,n=function(i,o){a.call(i,function(s){o>0&&Array.isArray(s)?n(s,o-1):r.push(s)})};return n(t,e),r}function qh(t){const e={};for(let r=0;r<t.length;r++){const a=t[r];e[a[0]]=a[1]}return e}function $h(t){let e=0;function r(){return t[e++]<<8|t[e++]}let a=r(),n=1,i=[0,1];for(let B=1;B<a;B++)i.push(n+=r());let o=r(),s=e;e+=o;let p=0,l=0;function u(){return p==0&&(l=l<<8|t[e++],p=8),l>>--p&1}const v=31,x=Math.pow(2,v),A=x>>>1,N=A>>1,O=x-1;let S=0;for(let B=0;B<v;B++)S=S<<1|u();let I=[],$=0,H=x;for(;;){let B=Math.floor(((S-$+1)*n-1)/H),j=0,Q=a;for(;Q-j>1;){let R=j+Q>>>1;B<i[R]?Q=R:j=R}if(j==0)break;I.push(j);let J=$+Math.floor(H*i[j]/n),k=$+Math.floor(H*i[j+1]/n)-1;for(;!((J^k)&A);)S=S<<1&O|u(),J=J<<1&O,k=k<<1&O|1;for(;J&~k&N;)S=S&A|S<<1&O>>>1|u(),J=J<<1^A,k=(k^A)<<1|A|1;$=J,H=1+k-J}let U=a-4;return I.map(B=>{switch(B-U){case 3:return U+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return U+256+(t[s++]<<8|t[s++]);case 1:return U+t[s++];default:return B-1}})}function Gh(t){let e=0;return()=>t[e++]}function Hh(t){return Gh($h(t))}function zh(t){return t&1?~t>>1:t>>1}function Wh(t,e){let r=Array(t);for(let a=0;a<t;a++)r[a]=1+e();return r}function Xp(t,e){let r=Array(t);for(let a=0,n=-1;a<t;a++)r[a]=n+=1+e();return r}function Kh(t,e){let r=Array(t);for(let a=0,n=0;a<t;a++)r[a]=n+=zh(e());return r}function g0(t,e){let r=Xp(t(),t),a=t(),n=Xp(a,t),i=Wh(a,t);for(let o=0;o<a;o++)for(let s=0;s<i[o];s++)r.push(n[o]+s);return e?r.map(o=>e[o]):r}function Jh(t){let e=[];for(;;){let r=t();if(r==0)break;e.push(Yh(r,t))}for(;;){let r=t()-1;if(r<0)break;e.push(Xh(r,t))}return qh(Nc(e))}function Qh(t){let e=[];for(;;){let r=t();if(r==0)break;e.push(r)}return e}function Pc(t,e,r){let a=Array(t).fill(void 0).map(()=>[]);for(let n=0;n<e;n++)Kh(t,r).forEach((i,o)=>a[o].push(i));return a}function Yh(t,e){let r=1+e(),a=e(),n=Qh(e),i=Pc(n.length,1+t,e);return Nc(i.map((o,s)=>{const p=o[0],l=o.slice(1);return Array(n[s]).fill(void 0).map((u,v)=>{let x=v*a;return[p+v*r,l.map(A=>A+x)]})}))}function Xh(t,e){let r=1+e();return Pc(r,1+t,e).map(n=>[n[0],n.slice(1)])}function Zh(t){let e=g0(t).sort((a,n)=>a-n);return r();function r(){let a=[];for(;;){let l=g0(t,e);if(l.length==0)break;a.push({set:new Set(l),node:r()})}a.sort((l,u)=>u.set.size-l.set.size);let n=t(),i=n%3;n=n/3|0;let o=!!(n&1);n>>=1;let s=n==1,p=n==2;return{branches:a,valid:i,fe0f:o,save:s,check:p}}}function e5(){return Hh(Ad("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))}const Y0=e5(),t5=new Set(g0(Y0)),r5=new Set(g0(Y0)),a5=Jh(Y0),n5=Zh(Y0),Zp=45,el=95;function Oc(t){return d1(t)}function i5(t){return t.filter(e=>e!=65039)}function Ic(t){for(let e of t.split(".")){let r=Oc(e);try{for(let a=r.lastIndexOf(el)-1;a>=0;a--)if(r[a]!==el)throw new Error("underscore only allowed at start");if(r.length>=4&&r.every(a=>a<128)&&r[2]===Zp&&r[3]===Zp)throw new Error("invalid label extension")}catch(a){throw new Error(`Invalid label "${e}": ${a.message}`)}}return t}function o5(t){return Ic(s5(t,i5))}function s5(t,e){let r=Oc(t).reverse(),a=[];for(;r.length;){let n=p5(r);if(n){a.push(...e(n));continue}let i=r.pop();if(t5.has(i)){a.push(i);continue}if(r5.has(i))continue;let o=a5[i];if(o){a.push(...o);continue}throw new Error(`Disallowed codepoint: 0x${i.toString(16).toUpperCase()}`)}return Ic(d5(String.fromCodePoint(...a)))}function d5(t){return t.normalize("NFC")}function p5(t,e){var r;let a=n5,n,i,o=[],s=t.length;for(;s;){let p=t[--s];if(a=(r=a.branches.find(l=>l.set.has(p)))===null||r===void 0?void 0:r.node,!a)break;if(a.save)i=p;else if(a.check&&p===i)break;o.push(p),a.fe0f&&(o.push(65039),s>0&&t[s-1]==65039&&s--),a.valid&&(n=o.slice(),a.valid==2&&n.splice(1,1),t.length=s)}return n}const l5=new L(Sc),kc=new Uint8Array(32);kc.fill(0);function tl(t){if(t.length===0)throw new Error("invalid ENS name; empty component");return t}function X0(t){const e=St(o5(t)),r=[];if(t.length===0)return r;let a=0;for(let n=0;n<e.length;n++)e[n]===46&&(r.push(tl(e.slice(a,n))),a=n+1);if(a>=e.length)throw new Error("invalid ENS name; empty component");return r.push(tl(e.slice(a))),r}function c5(t){return X0(t).map(e=>La(e)).join(".")}function Cc(t){try{return X0(t).length!==0}catch{}return!1}function ei(t){typeof t!="string"&&l5.throwArgumentError("invalid ENS name; not a string","name",t);let e=kc;const r=X0(t);for(;r.length;)e=qe(it([e,qe(r.pop())]));return pe(e)}function _d(t){return pe(it(X0(t).map(e=>{if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");const r=new Uint8Array(e.length+1);return r.set(e,1),r[0]=r.length-1,r})))+"00"}const Dc=`Ethereum Signed Message:
57
- `;function Z0(t){return typeof t=="string"&&(t=St(t)),qe(it([St(Dc),St(String(t.length)),t]))}var u5=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const bt=new L(Sc),Rc=new Uint8Array(32);Rc.fill(0);const f5=ne.from(-1),Bc=ne.from(0),Mc=ne.from(1),h5=ne.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function m5(t){const e=se(t),r=e.length%32;return r?Vt([e,Rc.slice(r)]):pe(e)}const v5=Qe(Mc.toHexString(),32),b5=Qe(Bc.toHexString(),32),rl={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},Io=["name","version","chainId","verifyingContract","salt"];function al(t){return function(e){return typeof e!="string"&&bt.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const y5={name:al("name"),version:al("version"),chainId:function(t){try{return ne.from(t).toString()}catch{}return bt.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return Be(t).toLowerCase()}catch{}return bt.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{const e=se(t);if(e.length!==32)throw new Error("bad length");return pe(e)}catch{}return bt.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function ko(t){{const e=t.match(/^(u?)int(\d*)$/);if(e){const r=e[1]==="",a=parseInt(e[2]||"256");(a%8!==0||a>256||e[2]&&e[2]!==String(a))&&bt.throwArgumentError("invalid numeric width","type",t);const n=h5.mask(r?a-1:a),i=r?n.add(Mc).mul(f5):Bc;return function(o){const s=ne.from(o);return(s.lt(i)||s.gt(n))&&bt.throwArgumentError(`value out-of-bounds for ${t}`,"value",o),Qe(s.toTwos(256).toHexString(),32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const r=parseInt(e[1]);return(r===0||r>32||e[1]!==String(r))&&bt.throwArgumentError("invalid bytes width","type",t),function(a){return se(a).length!==r&&bt.throwArgumentError(`invalid length for ${t}`,"value",a),m5(a)}}}switch(t){case"address":return function(e){return Qe(Be(e),32)};case"bool":return function(e){return e?v5:b5};case"bytes":return function(e){return qe(e)};case"string":return function(e){return tr(e)}}return null}function nl(t,e){return`${t}(${e.map(({name:r,type:a})=>a+" "+r).join(",")})`}class gt{constructor(e){Z(this,"types",Object.freeze(Jt(e))),Z(this,"_encoderCache",{}),Z(this,"_types",{});const r={},a={},n={};Object.keys(e).forEach(s=>{r[s]={},a[s]=[],n[s]={}});for(const s in e){const p={};e[s].forEach(l=>{p[l.name]&&bt.throwArgumentError(`duplicate variable name ${JSON.stringify(l.name)} in ${JSON.stringify(s)}`,"types",e),p[l.name]=!0;const u=l.type.match(/^([^\x5b]*)(\x5b|$)/)[1];u===s&&bt.throwArgumentError(`circular type reference to ${JSON.stringify(u)}`,"types",e),!ko(u)&&(a[u]||bt.throwArgumentError(`unknown type ${JSON.stringify(u)}`,"types",e),a[u].push(s),r[s][u]=!0)})}const i=Object.keys(a).filter(s=>a[s].length===0);i.length===0?bt.throwArgumentError("missing primary type","types",e):i.length>1&&bt.throwArgumentError(`ambiguous primary types or unused types: ${i.map(s=>JSON.stringify(s)).join(", ")}`,"types",e),Z(this,"primaryType",i[0]);function o(s,p){p[s]&&bt.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",e),p[s]=!0,Object.keys(r[s]).forEach(l=>{a[l]&&(o(l,p),Object.keys(p).forEach(u=>{n[u][l]=!0}))}),delete p[s]}o(this.primaryType,{});for(const s in n){const p=Object.keys(n[s]);p.sort(),this._types[s]=nl(s,e[s])+p.map(l=>nl(l,e[l])).join("")}}getEncoder(e){let r=this._encoderCache[e];return r||(r=this._encoderCache[e]=this._getEncoder(e)),r}_getEncoder(e){{const n=ko(e);if(n)return n}const r=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){const n=r[1],i=this.getEncoder(n),o=parseInt(r[3]);return s=>{o>=0&&s.length!==o&&bt.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",s);let p=s.map(i);return this._types[n]&&(p=p.map(qe)),qe(Vt(p))}}const a=this.types[e];if(a){const n=tr(this._types[e]);return i=>{const o=a.map(({name:s,type:p})=>{const l=this.getEncoder(p)(i[s]);return this._types[p]?qe(l):l});return o.unshift(n),Vt(o)}}return bt.throwArgumentError(`unknown type: ${e}`,"type",e)}encodeType(e){const r=this._types[e];return r||bt.throwArgumentError(`unknown type: ${JSON.stringify(e)}`,"name",e),r}encodeData(e,r){return this.getEncoder(e)(r)}hashStruct(e,r){return qe(this.encodeData(e,r))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,r,a){if(ko(e))return a(e,r);const n=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){const o=n[1],s=parseInt(n[3]);return s>=0&&r.length!==s&&bt.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",r),r.map(p=>this._visit(o,p,a))}const i=this.types[e];return i?i.reduce((o,{name:s,type:p})=>(o[s]=this._visit(p,r[s],a),o),{}):bt.throwArgumentError(`unknown type: ${e}`,"type",e)}visit(e,r){return this._visit(this.primaryType,e,r)}static from(e){return new gt(e)}static getPrimaryType(e){return gt.from(e).primaryType}static hashStruct(e,r,a){return gt.from(r).hashStruct(e,a)}static hashDomain(e){const r=[];for(const a in e){const n=rl[a];n||bt.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(a)}`,"domain",e),r.push({name:a,type:n})}return r.sort((a,n)=>Io.indexOf(a.name)-Io.indexOf(n.name)),gt.hashStruct("EIP712Domain",{EIP712Domain:r},e)}static encode(e,r,a){return Vt(["0x1901",gt.hashDomain(e),gt.from(r).hash(a)])}static hash(e,r,a){return qe(gt.encode(e,r,a))}static resolveNames(e,r,a,n){return u5(this,void 0,void 0,function*(){e=ft(e);const i={};e.verifyingContract&&!Se(e.verifyingContract,20)&&(i[e.verifyingContract]="0x");const o=gt.from(r);o.visit(a,(s,p)=>(s==="address"&&!Se(p,20)&&(i[p]="0x"),p));for(const s in i)i[s]=yield n(s);return e.verifyingContract&&i[e.verifyingContract]&&(e.verifyingContract=i[e.verifyingContract]),a=o.visit(a,(s,p)=>s==="address"&&i[p]?i[p]:p),{domain:e,value:a}})}static getPayload(e,r,a){gt.hashDomain(e);const n={},i=[];Io.forEach(p=>{const l=e[p];l!=null&&(n[p]=y5[p](l),i.push({name:p,type:rl[p]}))});const o=gt.from(r),s=ft(r);return s.EIP712Domain?bt.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",r):s.EIP712Domain=i,o.encode(a),{types:s,domain:n,primaryType:o.primaryType,message:o.visit(a,(p,l)=>{if(p.match(/^bytes(\d*)/))return pe(se(l));if(p.match(/^u?int/))return ne.from(l).toString();switch(p){case"address":return l.toLowerCase();case"bool":return!!l;case"string":return typeof l!="string"&&bt.throwArgumentError("invalid string","value",l),l}return bt.throwArgumentError("unsupported type","type",p)})}}}const g5=Object.freeze(Object.defineProperty({__proto__:null,_TypedDataEncoder:gt,dnsEncode:_d,ensNormalize:c5,hashMessage:Z0,id:tr,isValidName:Cc,messagePrefix:Dc,namehash:ei},Symbol.toStringTag,{value:"Module"})),vt=new L(S1);class Sd extends on{}class Td extends on{}class x5 extends on{}class p1 extends on{static isIndexed(e){return!!(e&&e._isIndexed)}}const w5={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function il(t,e){const r=new Error(`deferred error during ABI decoding triggered accessing ${t}`);return r.error=e,r}class En{constructor(e){let r=[];typeof e=="string"?r=JSON.parse(e):r=e,Z(this,"fragments",r.map(a=>Lr.from(a)).filter(a=>a!=null)),Z(this,"_abiCoder",Lt(new.target,"getAbiCoder")()),Z(this,"functions",{}),Z(this,"errors",{}),Z(this,"events",{}),Z(this,"structs",{}),this.fragments.forEach(a=>{let n=null;switch(a.type){case"constructor":if(this.deploy){vt.warn("duplicate definition - constructor");return}Z(this,"deploy",a);return;case"function":n=this.functions;break;case"event":n=this.events;break;case"error":n=this.errors;break;default:return}let i=a.format();if(n[i]){vt.warn("duplicate definition - "+i);return}n[i]=a}),this.deploy||Z(this,"deploy",yr.from({payable:!1,type:"constructor"})),Z(this,"_isInterface",!0)}format(e){e||(e=Fe.full),e===Fe.sighash&&vt.throwArgumentError("interface does not support formatting sighash","format",e);const r=this.fragments.map(a=>a.format(e));return e===Fe.json?JSON.stringify(r.map(a=>JSON.parse(a))):r}static getAbiCoder(){return wi}static getAddress(e){return Be(e)}static getSighash(e){return xt(tr(e.format()),0,4)}static getEventTopic(e){return tr(e.format())}getFunction(e){if(Se(e)){for(const a in this.functions)if(e===this.getSighash(a))return this.functions[a];vt.throwArgumentError("no matching function","sighash",e)}if(e.indexOf("(")===-1){const a=e.trim(),n=Object.keys(this.functions).filter(i=>i.split("(")[0]===a);return n.length===0?vt.throwArgumentError("no matching function","name",a):n.length>1&&vt.throwArgumentError("multiple matching functions","name",a),this.functions[n[0]]}const r=this.functions[gr.fromString(e).format()];return r||vt.throwArgumentError("no matching function","signature",e),r}getEvent(e){if(Se(e)){const a=e.toLowerCase();for(const n in this.events)if(a===this.getEventTopic(n))return this.events[n];vt.throwArgumentError("no matching event","topichash",a)}if(e.indexOf("(")===-1){const a=e.trim(),n=Object.keys(this.events).filter(i=>i.split("(")[0]===a);return n.length===0?vt.throwArgumentError("no matching event","name",a):n.length>1&&vt.throwArgumentError("multiple matching events","name",a),this.events[n[0]]}const r=this.events[Fr.fromString(e).format()];return r||vt.throwArgumentError("no matching event","signature",e),r}getError(e){if(Se(e)){const a=Lt(this.constructor,"getSighash");for(const n in this.errors){const i=this.errors[n];if(e===a(i))return this.errors[n]}vt.throwArgumentError("no matching error","sighash",e)}if(e.indexOf("(")===-1){const a=e.trim(),n=Object.keys(this.errors).filter(i=>i.split("(")[0]===a);return n.length===0?vt.throwArgumentError("no matching error","name",a):n.length>1&&vt.throwArgumentError("multiple matching errors","name",a),this.errors[n[0]]}const r=this.errors[gr.fromString(e).format()];return r||vt.throwArgumentError("no matching error","signature",e),r}getSighash(e){if(typeof e=="string")try{e=this.getFunction(e)}catch(r){try{e=this.getError(e)}catch{throw r}}return Lt(this.constructor,"getSighash")(e)}getEventTopic(e){return typeof e=="string"&&(e=this.getEvent(e)),Lt(this.constructor,"getEventTopic")(e)}_decodeParams(e,r){return this._abiCoder.decode(e,r)}_encodeParams(e,r){return this._abiCoder.encode(e,r)}encodeDeploy(e){return this._encodeParams(this.deploy.inputs,e||[])}decodeErrorResult(e,r){typeof e=="string"&&(e=this.getError(e));const a=se(r);return pe(a.slice(0,4))!==this.getSighash(e)&&vt.throwArgumentError(`data signature does not match error ${e.name}.`,"data",pe(a)),this._decodeParams(e.inputs,a.slice(4))}encodeErrorResult(e,r){return typeof e=="string"&&(e=this.getError(e)),pe(it([this.getSighash(e),this._encodeParams(e.inputs,r||[])]))}decodeFunctionData(e,r){typeof e=="string"&&(e=this.getFunction(e));const a=se(r);return pe(a.slice(0,4))!==this.getSighash(e)&&vt.throwArgumentError(`data signature does not match function ${e.name}.`,"data",pe(a)),this._decodeParams(e.inputs,a.slice(4))}encodeFunctionData(e,r){return typeof e=="string"&&(e=this.getFunction(e)),pe(it([this.getSighash(e),this._encodeParams(e.inputs,r||[])]))}decodeFunctionResult(e,r){typeof e=="string"&&(e=this.getFunction(e));let a=se(r),n=null,i="",o=null,s=null,p=null;switch(a.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,a)}catch{}break;case 4:{const l=pe(a.slice(0,4)),u=w5[l];if(u)o=this._abiCoder.decode(u.inputs,a.slice(4)),s=u.name,p=u.signature,u.reason&&(n=o[0]),s==="Error"?i=`; VM Exception while processing transaction: reverted with reason string ${JSON.stringify(o[0])}`:s==="Panic"&&(i=`; VM Exception while processing transaction: reverted with panic code ${o[0]}`);else try{const v=this.getError(l);o=this._abiCoder.decode(v.inputs,a.slice(4)),s=v.name,p=v.format()}catch{}break}}return vt.throwError("call revert exception"+i,L.errors.CALL_EXCEPTION,{method:e.format(),data:pe(r),errorArgs:o,errorName:s,errorSignature:p,reason:n})}encodeFunctionResult(e,r){return typeof e=="string"&&(e=this.getFunction(e)),pe(this._abiCoder.encode(e.outputs,r||[]))}encodeFilterTopics(e,r){typeof e=="string"&&(e=this.getEvent(e)),r.length>e.inputs.length&&vt.throwError("too many arguments for "+e.format(),L.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:r});let a=[];e.anonymous||a.push(this.getEventTopic(e));const n=(i,o)=>i.type==="string"?tr(o):i.type==="bytes"?qe(pe(o)):(i.type==="bool"&&typeof o=="boolean"&&(o=o?"0x01":"0x00"),i.type.match(/^u?int/)&&(o=ne.from(o).toHexString()),i.type==="address"&&this._abiCoder.encode(["address"],[o]),Qe(pe(o),32));for(r.forEach((i,o)=>{let s=e.inputs[o];if(!s.indexed){i!=null&&vt.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+s.name,i);return}i==null?a.push(null):s.baseType==="array"||s.baseType==="tuple"?vt.throwArgumentError("filtering with tuples or arrays not supported","contract."+s.name,i):Array.isArray(i)?a.push(i.map(p=>n(s,p))):a.push(n(s,i))});a.length&&a[a.length-1]===null;)a.pop();return a}encodeEventLog(e,r){typeof e=="string"&&(e=this.getEvent(e));const a=[],n=[],i=[];return e.anonymous||a.push(this.getEventTopic(e)),r.length!==e.inputs.length&&vt.throwArgumentError("event arguments/values mismatch","values",r),e.inputs.forEach((o,s)=>{const p=r[s];if(o.indexed)if(o.type==="string")a.push(tr(p));else if(o.type==="bytes")a.push(qe(p));else{if(o.baseType==="tuple"||o.baseType==="array")throw new Error("not implemented");a.push(this._abiCoder.encode([o.type],[p]))}else n.push(o),i.push(p)}),{data:this._abiCoder.encode(n,i),topics:a}}decodeEventLog(e,r,a){if(typeof e=="string"&&(e=this.getEvent(e)),a!=null&&!e.anonymous){let x=this.getEventTopic(e);(!Se(a[0],32)||a[0].toLowerCase()!==x)&&vt.throwError("fragment/topic mismatch",L.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:x,value:a[0]}),a=a.slice(1)}let n=[],i=[],o=[];e.inputs.forEach((x,A)=>{x.indexed?x.type==="string"||x.type==="bytes"||x.baseType==="tuple"||x.baseType==="array"?(n.push(Ct.fromObject({type:"bytes32",name:x.name})),o.push(!0)):(n.push(x),o.push(!1)):(i.push(x),o.push(!1))});let s=a!=null?this._abiCoder.decode(n,it(a)):null,p=this._abiCoder.decode(i,r,!0),l=[],u=0,v=0;e.inputs.forEach((x,A)=>{if(x.indexed)if(s==null)l[A]=new p1({_isIndexed:!0,hash:null});else if(o[A])l[A]=new p1({_isIndexed:!0,hash:s[v++]});else try{l[A]=s[v++]}catch(N){l[A]=N}else try{l[A]=p[u++]}catch(N){l[A]=N}if(x.name&&l[x.name]==null){const N=l[A];N instanceof Error?Object.defineProperty(l,x.name,{enumerable:!0,get:()=>{throw il(`property ${JSON.stringify(x.name)}`,N)}}):l[x.name]=N}});for(let x=0;x<l.length;x++){const A=l[x];A instanceof Error&&Object.defineProperty(l,x,{enumerable:!0,get:()=>{throw il(`index ${x}`,A)}})}return Object.freeze(l)}parseTransaction(e){let r=this.getFunction(e.data.substring(0,10).toLowerCase());return r?new Td({args:this._abiCoder.decode(r.inputs,"0x"+e.data.substring(10)),functionFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r),value:ne.from(e.value||"0")}):null}parseLog(e){let r=this.getEvent(e.topics[0]);return!r||r.anonymous?null:new Sd({eventFragment:r,name:r.name,signature:r.format(),topic:this.getEventTopic(r),args:this.decodeEventLog(r,e.data,e.topics)})}parseError(e){const r=pe(e);let a=this.getError(r.substring(0,10).toLowerCase());return a?new x5({args:this._abiCoder.decode(a.inputs,"0x"+r.substring(10)),errorFragment:a,name:a.name,signature:a.format(),sighash:this.getSighash(a)}):null}static isInterface(e){return!!(e&&e._isInterface)}}const A5=Object.freeze(Object.defineProperty({__proto__:null,AbiCoder:wd,ConstructorFragment:yr,ErrorFragment:aa,EventFragment:Fr,FormatTypes:Fe,Fragment:Lr,FunctionFragment:gr,Indexed:p1,Interface:En,LogDescription:Sd,ParamType:Ct,TransactionDescription:Td,checkResultErrors:cd,defaultAbiCoder:wi},Symbol.toStringTag,{value:"Module"})),E5="abstract-provider/5.7.0";var _5=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const S5=new L(E5);class T5 extends on{static isForkEvent(e){return!!(e&&e._isForkEvent)}}class Cn{constructor(){S5.checkAbstract(new.target,Cn),Z(this,"_isProvider",!0)}getFeeData(){return _5(this,void 0,void 0,function*(){const{block:e,gasPrice:r}=yield yt({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch(o=>null)});let a=null,n=null,i=null;return e&&e.baseFeePerGas&&(a=e.baseFeePerGas,i=ne.from("1500000000"),n=e.baseFeePerGas.mul(2).add(i)),{lastBaseFeePerGas:a,maxFeePerGas:n,maxPriorityFeePerGas:i,gasPrice:r}})}addListener(e,r){return this.on(e,r)}removeListener(e,r){return this.off(e,r)}static isProvider(e){return!!(e&&e._isProvider)}}const N5="abstract-signer/5.7.0";var Dr=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const br=new L(N5),P5=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],O5=[L.errors.INSUFFICIENT_FUNDS,L.errors.NONCE_EXPIRED,L.errors.REPLACEMENT_UNDERPRICED];class Ua{constructor(){br.checkAbstract(new.target,Ua),Z(this,"_isSigner",!0)}getBalance(e){return Dr(this,void 0,void 0,function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)})}getTransactionCount(e){return Dr(this,void 0,void 0,function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)})}estimateGas(e){return Dr(this,void 0,void 0,function*(){this._checkProvider("estimateGas");const r=yield yt(this.checkTransaction(e));return yield this.provider.estimateGas(r)})}call(e,r){return Dr(this,void 0,void 0,function*(){this._checkProvider("call");const a=yield yt(this.checkTransaction(e));return yield this.provider.call(a,r)})}sendTransaction(e){return Dr(this,void 0,void 0,function*(){this._checkProvider("sendTransaction");const r=yield this.populateTransaction(e),a=yield this.signTransaction(r);return yield this.provider.sendTransaction(a)})}getChainId(){return Dr(this,void 0,void 0,function*(){return this._checkProvider("getChainId"),(yield this.provider.getNetwork()).chainId})}getGasPrice(){return Dr(this,void 0,void 0,function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()})}getFeeData(){return Dr(this,void 0,void 0,function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()})}resolveName(e){return Dr(this,void 0,void 0,function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)})}checkTransaction(e){for(const a in e)P5.indexOf(a)===-1&&br.throwArgumentError("invalid transaction key: "+a,"transaction",e);const r=ft(e);return r.from==null?r.from=this.getAddress():r.from=Promise.all([Promise.resolve(r.from),this.getAddress()]).then(a=>(a[0].toLowerCase()!==a[1].toLowerCase()&&br.throwArgumentError("from address mismatch","transaction",e),a[0])),r}populateTransaction(e){return Dr(this,void 0,void 0,function*(){const r=yield yt(this.checkTransaction(e));r.to!=null&&(r.to=Promise.resolve(r.to).then(n=>Dr(this,void 0,void 0,function*(){if(n==null)return null;const i=yield this.resolveName(n);return i==null&&br.throwArgumentError("provided ENS name resolves to null","tx.to",n),i})),r.to.catch(n=>{}));const a=r.maxFeePerGas!=null||r.maxPriorityFeePerGas!=null;if(r.gasPrice!=null&&(r.type===2||a)?br.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e):(r.type===0||r.type===1)&&a&&br.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e),(r.type===2||r.type==null)&&r.maxFeePerGas!=null&&r.maxPriorityFeePerGas!=null)r.type=2;else if(r.type===0||r.type===1)r.gasPrice==null&&(r.gasPrice=this.getGasPrice());else{const n=yield this.getFeeData();if(r.type==null)if(n.maxFeePerGas!=null&&n.maxPriorityFeePerGas!=null)if(r.type=2,r.gasPrice!=null){const i=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=i,r.maxPriorityFeePerGas=i}else r.maxFeePerGas==null&&(r.maxFeePerGas=n.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=n.maxPriorityFeePerGas);else n.gasPrice!=null?(a&&br.throwError("network does not support EIP-1559",L.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),r.gasPrice==null&&(r.gasPrice=n.gasPrice),r.type=0):br.throwError("failed to get consistent fee data",L.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else r.type===2&&(r.maxFeePerGas==null&&(r.maxFeePerGas=n.maxFeePerGas),r.maxPriorityFeePerGas==null&&(r.maxPriorityFeePerGas=n.maxPriorityFeePerGas))}return r.nonce==null&&(r.nonce=this.getTransactionCount("pending")),r.gasLimit==null&&(r.gasLimit=this.estimateGas(r).catch(n=>{if(O5.indexOf(n.code)>=0)throw n;return br.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",L.errors.UNPREDICTABLE_GAS_LIMIT,{error:n,tx:r})})),r.chainId==null?r.chainId=this.getChainId():r.chainId=Promise.all([Promise.resolve(r.chainId),this.getChainId()]).then(n=>(n[1]!==0&&n[0]!==n[1]&&br.throwArgumentError("chainId address mismatch","transaction",e),n[0])),yield yt(r)})}_checkProvider(e){this.provider||br.throwError("missing provider",L.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!!(e&&e._isSigner)}}class N1 extends Ua{constructor(e,r){super(),Z(this,"address",e),Z(this,"provider",r||null)}getAddress(){return Promise.resolve(this.address)}_fail(e,r){return Promise.resolve().then(()=>{br.throwError(e,L.errors.UNSUPPORTED_OPERATION,{operation:r})})}signMessage(e){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(e){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(e,r,a){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(e){return new N1(this.address,e)}}var Fc={},ke={},P1=Lc;function Lc(t,e){if(!t)throw new Error(e||"Assertion failed")}Lc.equal=function(e,r,a){if(e!=r)throw new Error(a||"Assertion failed: "+e+" != "+r)};var gs={exports:{}};typeof Object.create=="function"?gs.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:gs.exports=function(e,r){if(r){e.super_=r;var a=function(){};a.prototype=r.prototype,e.prototype=new a,e.prototype.constructor=e}};var I5=gs.exports,k5=P1,C5=I5;ke.inherits=C5;function D5(t,e){return(t.charCodeAt(e)&64512)!==55296||e<0||e+1>=t.length?!1:(t.charCodeAt(e+1)&64512)===56320}function R5(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if(typeof t=="string")if(e){if(e==="hex")for(t=t.replace(/[^a-z0-9]+/ig,""),t.length%2!==0&&(t="0"+t),n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16))}else for(var a=0,n=0;n<t.length;n++){var i=t.charCodeAt(n);i<128?r[a++]=i:i<2048?(r[a++]=i>>6|192,r[a++]=i&63|128):D5(t,n)?(i=65536+((i&1023)<<10)+(t.charCodeAt(++n)&1023),r[a++]=i>>18|240,r[a++]=i>>12&63|128,r[a++]=i>>6&63|128,r[a++]=i&63|128):(r[a++]=i>>12|224,r[a++]=i>>6&63|128,r[a++]=i&63|128)}else for(n=0;n<t.length;n++)r[n]=t[n]|0;return r}ke.toArray=R5;function B5(t){for(var e="",r=0;r<t.length;r++)e+=Vc(t[r].toString(16));return e}ke.toHex=B5;function Uc(t){var e=t>>>24|t>>>8&65280|t<<8&16711680|(t&255)<<24;return e>>>0}ke.htonl=Uc;function M5(t,e){for(var r="",a=0;a<t.length;a++){var n=t[a];e==="little"&&(n=Uc(n)),r+=jc(n.toString(16))}return r}ke.toHex32=M5;function Vc(t){return t.length===1?"0"+t:t}ke.zero2=Vc;function jc(t){return t.length===7?"0"+t:t.length===6?"00"+t:t.length===5?"000"+t:t.length===4?"0000"+t:t.length===3?"00000"+t:t.length===2?"000000"+t:t.length===1?"0000000"+t:t}ke.zero8=jc;function F5(t,e,r,a){var n=r-e;k5(n%4===0);for(var i=new Array(n/4),o=0,s=e;o<i.length;o++,s+=4){var p;a==="big"?p=t[s]<<24|t[s+1]<<16|t[s+2]<<8|t[s+3]:p=t[s+3]<<24|t[s+2]<<16|t[s+1]<<8|t[s],i[o]=p>>>0}return i}ke.join32=F5;function L5(t,e){for(var r=new Array(t.length*4),a=0,n=0;a<t.length;a++,n+=4){var i=t[a];e==="big"?(r[n]=i>>>24,r[n+1]=i>>>16&255,r[n+2]=i>>>8&255,r[n+3]=i&255):(r[n+3]=i>>>24,r[n+2]=i>>>16&255,r[n+1]=i>>>8&255,r[n]=i&255)}return r}ke.split32=L5;function U5(t,e){return t>>>e|t<<32-e}ke.rotr32=U5;function V5(t,e){return t<<e|t>>>32-e}ke.rotl32=V5;function j5(t,e){return t+e>>>0}ke.sum32=j5;function q5(t,e,r){return t+e+r>>>0}ke.sum32_3=q5;function $5(t,e,r,a){return t+e+r+a>>>0}ke.sum32_4=$5;function G5(t,e,r,a,n){return t+e+r+a+n>>>0}ke.sum32_5=G5;function H5(t,e,r,a){var n=t[e],i=t[e+1],o=a+i>>>0,s=(o<a?1:0)+r+n;t[e]=s>>>0,t[e+1]=o}ke.sum64=H5;function z5(t,e,r,a){var n=e+a>>>0,i=(n<e?1:0)+t+r;return i>>>0}ke.sum64_hi=z5;function W5(t,e,r,a){var n=e+a;return n>>>0}ke.sum64_lo=W5;function K5(t,e,r,a,n,i,o,s){var p=0,l=e;l=l+a>>>0,p+=l<e?1:0,l=l+i>>>0,p+=l<i?1:0,l=l+s>>>0,p+=l<s?1:0;var u=t+r+n+o+p;return u>>>0}ke.sum64_4_hi=K5;function J5(t,e,r,a,n,i,o,s){var p=e+a+i+s;return p>>>0}ke.sum64_4_lo=J5;function Q5(t,e,r,a,n,i,o,s,p,l){var u=0,v=e;v=v+a>>>0,u+=v<e?1:0,v=v+i>>>0,u+=v<i?1:0,v=v+s>>>0,u+=v<s?1:0,v=v+l>>>0,u+=v<l?1:0;var x=t+r+n+o+p+u;return x>>>0}ke.sum64_5_hi=Q5;function Y5(t,e,r,a,n,i,o,s,p,l){var u=e+a+i+s+l;return u>>>0}ke.sum64_5_lo=Y5;function X5(t,e,r){var a=e<<32-r|t>>>r;return a>>>0}ke.rotr64_hi=X5;function Z5(t,e,r){var a=t<<32-r|e>>>r;return a>>>0}ke.rotr64_lo=Z5;function e8(t,e,r){return t>>>r}ke.shr64_hi=e8;function t8(t,e,r){var a=t<<32-r|e>>>r;return a>>>0}ke.shr64_lo=t8;var Ai={},ol=ke,r8=P1;function eo(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}Ai.BlockHash=eo;eo.prototype.update=function(e,r){if(e=ol.toArray(e,r),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var a=e.length%this._delta8;this.pending=e.slice(e.length-a,e.length),this.pending.length===0&&(this.pending=null),e=ol.join32(e,0,e.length-a,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this};eo.prototype.digest=function(e){return this.update(this._pad()),r8(this.pending===null),this._digest(e)};eo.prototype._pad=function(){var e=this.pendingTotal,r=this._delta8,a=r-(e+this.padLength)%r,n=new Array(a+this.padLength);n[0]=128;for(var i=1;i<a;i++)n[i]=0;if(e<<=3,this.endian==="big"){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=e&255}else for(n[i++]=e&255,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n};var Ei={},ha={},a8=ke,sa=a8.rotr32;function n8(t,e,r,a){if(t===0)return qc(e,r,a);if(t===1||t===3)return Gc(e,r,a);if(t===2)return $c(e,r,a)}ha.ft_1=n8;function qc(t,e,r){return t&e^~t&r}ha.ch32=qc;function $c(t,e,r){return t&e^t&r^e&r}ha.maj32=$c;function Gc(t,e,r){return t^e^r}ha.p32=Gc;function i8(t){return sa(t,2)^sa(t,13)^sa(t,22)}ha.s0_256=i8;function o8(t){return sa(t,6)^sa(t,11)^sa(t,25)}ha.s1_256=o8;function s8(t){return sa(t,7)^sa(t,18)^t>>>3}ha.g0_256=s8;function d8(t){return sa(t,17)^sa(t,19)^t>>>10}ha.g1_256=d8;var di=ke,p8=Ai,l8=ha,Co=di.rotl32,Ii=di.sum32,c8=di.sum32_5,u8=l8.ft_1,Hc=p8.BlockHash,f8=[1518500249,1859775393,2400959708,3395469782];function la(){if(!(this instanceof la))return new la;Hc.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}di.inherits(la,Hc);var h8=la;la.blockSize=512;la.outSize=160;la.hmacStrength=80;la.padLength=64;la.prototype._update=function(e,r){for(var a=this.W,n=0;n<16;n++)a[n]=e[r+n];for(;n<a.length;n++)a[n]=Co(a[n-3]^a[n-8]^a[n-14]^a[n-16],1);var i=this.h[0],o=this.h[1],s=this.h[2],p=this.h[3],l=this.h[4];for(n=0;n<a.length;n++){var u=~~(n/20),v=c8(Co(i,5),u8(u,o,s,p),l,a[n],f8[u]);l=p,p=s,s=Co(o,30),o=i,i=v}this.h[0]=Ii(this.h[0],i),this.h[1]=Ii(this.h[1],o),this.h[2]=Ii(this.h[2],s),this.h[3]=Ii(this.h[3],p),this.h[4]=Ii(this.h[4],l)};la.prototype._digest=function(e){return e==="hex"?di.toHex32(this.h,"big"):di.split32(this.h,"big")};var pi=ke,m8=Ai,_i=ha,v8=P1,Rr=pi.sum32,b8=pi.sum32_4,y8=pi.sum32_5,g8=_i.ch32,x8=_i.maj32,w8=_i.s0_256,A8=_i.s1_256,E8=_i.g0_256,_8=_i.g1_256,zc=m8.BlockHash,S8=[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];function ca(){if(!(this instanceof ca))return new ca;zc.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S8,this.W=new Array(64)}pi.inherits(ca,zc);var Wc=ca;ca.blockSize=512;ca.outSize=256;ca.hmacStrength=192;ca.padLength=64;ca.prototype._update=function(e,r){for(var a=this.W,n=0;n<16;n++)a[n]=e[r+n];for(;n<a.length;n++)a[n]=b8(_8(a[n-2]),a[n-7],E8(a[n-15]),a[n-16]);var i=this.h[0],o=this.h[1],s=this.h[2],p=this.h[3],l=this.h[4],u=this.h[5],v=this.h[6],x=this.h[7];for(v8(this.k.length===a.length),n=0;n<a.length;n++){var A=y8(x,A8(l),g8(l,u,v),this.k[n],a[n]),N=Rr(w8(i),x8(i,o,s));x=v,v=u,u=l,l=Rr(p,A),p=s,s=o,o=i,i=Rr(A,N)}this.h[0]=Rr(this.h[0],i),this.h[1]=Rr(this.h[1],o),this.h[2]=Rr(this.h[2],s),this.h[3]=Rr(this.h[3],p),this.h[4]=Rr(this.h[4],l),this.h[5]=Rr(this.h[5],u),this.h[6]=Rr(this.h[6],v),this.h[7]=Rr(this.h[7],x)};ca.prototype._digest=function(e){return e==="hex"?pi.toHex32(this.h,"big"):pi.split32(this.h,"big")};var xs=ke,Kc=Wc;function ka(){if(!(this instanceof ka))return new ka;Kc.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}xs.inherits(ka,Kc);var T8=ka;ka.blockSize=512;ka.outSize=224;ka.hmacStrength=192;ka.padLength=64;ka.prototype._digest=function(e){return e==="hex"?xs.toHex32(this.h.slice(0,7),"big"):xs.split32(this.h.slice(0,7),"big")};var pr=ke,N8=Ai,P8=P1,da=pr.rotr64_hi,pa=pr.rotr64_lo,Jc=pr.shr64_hi,Qc=pr.shr64_lo,Ha=pr.sum64,Do=pr.sum64_hi,Ro=pr.sum64_lo,O8=pr.sum64_4_hi,I8=pr.sum64_4_lo,k8=pr.sum64_5_hi,C8=pr.sum64_5_lo,Yc=N8.BlockHash,D8=[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];function Gr(){if(!(this instanceof Gr))return new Gr;Yc.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=D8,this.W=new Array(160)}pr.inherits(Gr,Yc);var Xc=Gr;Gr.blockSize=1024;Gr.outSize=512;Gr.hmacStrength=192;Gr.padLength=128;Gr.prototype._prepareBlock=function(e,r){for(var a=this.W,n=0;n<32;n++)a[n]=e[r+n];for(;n<a.length;n+=2){var i=G8(a[n-4],a[n-3]),o=H8(a[n-4],a[n-3]),s=a[n-14],p=a[n-13],l=q8(a[n-30],a[n-29]),u=$8(a[n-30],a[n-29]),v=a[n-32],x=a[n-31];a[n]=O8(i,o,s,p,l,u,v,x),a[n+1]=I8(i,o,s,p,l,u,v,x)}};Gr.prototype._update=function(e,r){this._prepareBlock(e,r);var a=this.W,n=this.h[0],i=this.h[1],o=this.h[2],s=this.h[3],p=this.h[4],l=this.h[5],u=this.h[6],v=this.h[7],x=this.h[8],A=this.h[9],N=this.h[10],O=this.h[11],S=this.h[12],I=this.h[13],$=this.h[14],H=this.h[15];P8(this.k.length===a.length);for(var U=0;U<a.length;U+=2){var B=$,j=H,Q=V8(x,A),J=j8(x,A),k=R8(x,A,N,O,S),R=B8(x,A,N,O,S,I),V=this.k[U],X=this.k[U+1],w=a[U],d=a[U+1],h=k8(B,j,Q,J,k,R,V,X,w,d),y=C8(B,j,Q,J,k,R,V,X,w,d);B=L8(n,i),j=U8(n,i),Q=M8(n,i,o,s,p),J=F8(n,i,o,s,p,l);var T=Do(B,j,Q,J),g=Ro(B,j,Q,J);$=S,H=I,S=N,I=O,N=x,O=A,x=Do(u,v,h,y),A=Ro(v,v,h,y),u=p,v=l,p=o,l=s,o=n,s=i,n=Do(h,y,T,g),i=Ro(h,y,T,g)}Ha(this.h,0,n,i),Ha(this.h,2,o,s),Ha(this.h,4,p,l),Ha(this.h,6,u,v),Ha(this.h,8,x,A),Ha(this.h,10,N,O),Ha(this.h,12,S,I),Ha(this.h,14,$,H)};Gr.prototype._digest=function(e){return e==="hex"?pr.toHex32(this.h,"big"):pr.split32(this.h,"big")};function R8(t,e,r,a,n){var i=t&r^~t&n;return i<0&&(i+=4294967296),i}function B8(t,e,r,a,n,i){var o=e&a^~e&i;return o<0&&(o+=4294967296),o}function M8(t,e,r,a,n){var i=t&r^t&n^r&n;return i<0&&(i+=4294967296),i}function F8(t,e,r,a,n,i){var o=e&a^e&i^a&i;return o<0&&(o+=4294967296),o}function L8(t,e){var r=da(t,e,28),a=da(e,t,2),n=da(e,t,7),i=r^a^n;return i<0&&(i+=4294967296),i}function U8(t,e){var r=pa(t,e,28),a=pa(e,t,2),n=pa(e,t,7),i=r^a^n;return i<0&&(i+=4294967296),i}function V8(t,e){var r=da(t,e,14),a=da(t,e,18),n=da(e,t,9),i=r^a^n;return i<0&&(i+=4294967296),i}function j8(t,e){var r=pa(t,e,14),a=pa(t,e,18),n=pa(e,t,9),i=r^a^n;return i<0&&(i+=4294967296),i}function q8(t,e){var r=da(t,e,1),a=da(t,e,8),n=Jc(t,e,7),i=r^a^n;return i<0&&(i+=4294967296),i}function $8(t,e){var r=pa(t,e,1),a=pa(t,e,8),n=Qc(t,e,7),i=r^a^n;return i<0&&(i+=4294967296),i}function G8(t,e){var r=da(t,e,19),a=da(e,t,29),n=Jc(t,e,6),i=r^a^n;return i<0&&(i+=4294967296),i}function H8(t,e){var r=pa(t,e,19),a=pa(e,t,29),n=Qc(t,e,6),i=r^a^n;return i<0&&(i+=4294967296),i}var ws=ke,Zc=Xc;function Ca(){if(!(this instanceof Ca))return new Ca;Zc.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}ws.inherits(Ca,Zc);var z8=Ca;Ca.blockSize=1024;Ca.outSize=384;Ca.hmacStrength=192;Ca.padLength=128;Ca.prototype._digest=function(e){return e==="hex"?ws.toHex32(this.h.slice(0,12),"big"):ws.split32(this.h.slice(0,12),"big")};Ei.sha1=h8;Ei.sha224=T8;Ei.sha256=Wc;Ei.sha384=z8;Ei.sha512=Xc;var eu={},_n=ke,W8=Ai,$1=_n.rotl32,sl=_n.sum32,ki=_n.sum32_3,dl=_n.sum32_4,tu=W8.BlockHash;function ua(){if(!(this instanceof ua))return new ua;tu.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}_n.inherits(ua,tu);eu.ripemd160=ua;ua.blockSize=512;ua.outSize=160;ua.hmacStrength=192;ua.padLength=64;ua.prototype._update=function(e,r){for(var a=this.h[0],n=this.h[1],i=this.h[2],o=this.h[3],s=this.h[4],p=a,l=n,u=i,v=o,x=s,A=0;A<80;A++){var N=sl($1(dl(a,pl(A,n,i,o),e[Q8[A]+r],K8(A)),X8[A]),s);a=s,s=o,o=$1(i,10),i=n,n=N,N=sl($1(dl(p,pl(79-A,l,u,v),e[Y8[A]+r],J8(A)),Z8[A]),x),p=x,x=v,v=$1(u,10),u=l,l=N}N=ki(this.h[1],i,v),this.h[1]=ki(this.h[2],o,x),this.h[2]=ki(this.h[3],s,p),this.h[3]=ki(this.h[4],a,l),this.h[4]=ki(this.h[0],n,u),this.h[0]=N};ua.prototype._digest=function(e){return e==="hex"?_n.toHex32(this.h,"little"):_n.split32(this.h,"little")};function pl(t,e,r,a){return t<=15?e^r^a:t<=31?e&r|~e&a:t<=47?(e|~r)^a:t<=63?e&a|r&~a:e^(r|~a)}function K8(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function J8(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}var Q8=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],Y8=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],X8=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],Z8=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],e9=ke,t9=P1;function li(t,e,r){if(!(this instanceof li))return new li(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(e9.toArray(e,r))}var r9=li;li.prototype._init=function(e){e.length>this.blockSize&&(e=new this.Hash().update(e).digest()),t9(e.length<=this.blockSize);for(var r=e.length;r<this.blockSize;r++)e.push(0);for(r=0;r<e.length;r++)e[r]^=54;for(this.inner=new this.Hash().update(e),r=0;r<e.length;r++)e[r]^=106;this.outer=new this.Hash().update(e)};li.prototype.update=function(e,r){return this.inner.update(e,r),this};li.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)};(function(t){var e=t;e.utils=ke,e.common=Ai,e.sha=Ei,e.ripemd=eu,e.hmac=r9,e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160})(Fc);const or=bi(Fc);function Si(t,e,r){return r={path:e,exports:{},require:function(a,n){return a9(a,n??r.path)}},t(r,r.exports),r.exports}function a9(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var Nd=ru;function ru(t,e){if(!t)throw new Error(e||"Assertion failed")}ru.equal=function(e,r,a){if(e!=r)throw new Error(a||"Assertion failed: "+e+" != "+r)};var Ur=Si(function(t,e){var r=e;function a(o,s){if(Array.isArray(o))return o.slice();if(!o)return[];var p=[];if(typeof o!="string"){for(var l=0;l<o.length;l++)p[l]=o[l]|0;return p}if(s==="hex"){o=o.replace(/[^a-z0-9]+/ig,""),o.length%2!==0&&(o="0"+o);for(var l=0;l<o.length;l+=2)p.push(parseInt(o[l]+o[l+1],16))}else for(var l=0;l<o.length;l++){var u=o.charCodeAt(l),v=u>>8,x=u&255;v?p.push(v,x):p.push(x)}return p}r.toArray=a;function n(o){return o.length===1?"0"+o:o}r.zero2=n;function i(o){for(var s="",p=0;p<o.length;p++)s+=n(o[p].toString(16));return s}r.toHex=i,r.encode=function(s,p){return p==="hex"?i(s):s}}),hr=Si(function(t,e){var r=e;r.assert=Nd,r.toArray=Ur.toArray,r.zero2=Ur.zero2,r.toHex=Ur.toHex,r.encode=Ur.encode;function a(p,l,u){var v=new Array(Math.max(p.bitLength(),u)+1);v.fill(0);for(var x=1<<l+1,A=p.clone(),N=0;N<v.length;N++){var O,S=A.andln(x-1);A.isOdd()?(S>(x>>1)-1?O=(x>>1)-S:O=S,A.isubn(O)):O=0,v[N]=O,A.iushrn(1)}return v}r.getNAF=a;function n(p,l){var u=[[],[]];p=p.clone(),l=l.clone();for(var v=0,x=0,A;p.cmpn(-v)>0||l.cmpn(-x)>0;){var N=p.andln(3)+v&3,O=l.andln(3)+x&3;N===3&&(N=-1),O===3&&(O=-1);var S;N&1?(A=p.andln(7)+v&7,(A===3||A===5)&&O===2?S=-N:S=N):S=0,u[0].push(S);var I;O&1?(A=l.andln(7)+x&7,(A===3||A===5)&&N===2?I=-O:I=O):I=0,u[1].push(I),2*v===S+1&&(v=1-v),2*x===I+1&&(x=1-x),p.iushrn(1),l.iushrn(1)}return u}r.getJSF=n;function i(p,l,u){var v="_"+l;p.prototype[l]=function(){return this[v]!==void 0?this[v]:this[v]=u.call(this)}}r.cachedProperty=i;function o(p){return typeof p=="string"?r.toArray(p,"hex"):p}r.parseBytes=o;function s(p){return new Te(p,"hex","le")}r.intFromLE=s}),x0=hr.getNAF,n9=hr.getJSF,w0=hr.assert;function sn(t,e){this.type=t,this.p=new Te(e.p,16),this.red=e.prime?Te.red(e.prime):Te.mont(this.p),this.zero=new Te(0).toRed(this.red),this.one=new Te(1).toRed(this.red),this.two=new Te(2).toRed(this.red),this.n=e.n&&new Te(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var Dn=sn;sn.prototype.point=function(){throw new Error("Not implemented")};sn.prototype.validate=function(){throw new Error("Not implemented")};sn.prototype._fixedNafMul=function(e,r){w0(e.precomputed);var a=e._getDoubles(),n=x0(r,1,this._bitLength),i=(1<<a.step+1)-(a.step%2===0?2:1);i/=3;var o=[],s,p;for(s=0;s<n.length;s+=a.step){p=0;for(var l=s+a.step-1;l>=s;l--)p=(p<<1)+n[l];o.push(p)}for(var u=this.jpoint(null,null,null),v=this.jpoint(null,null,null),x=i;x>0;x--){for(s=0;s<o.length;s++)p=o[s],p===x?v=v.mixedAdd(a.points[s]):p===-x&&(v=v.mixedAdd(a.points[s].neg()));u=u.add(v)}return u.toP()};sn.prototype._wnafMul=function(e,r){var a=4,n=e._getNAFPoints(a);a=n.wnd;for(var i=n.points,o=x0(r,a,this._bitLength),s=this.jpoint(null,null,null),p=o.length-1;p>=0;p--){for(var l=0;p>=0&&o[p]===0;p--)l++;if(p>=0&&l++,s=s.dblp(l),p<0)break;var u=o[p];w0(u!==0),e.type==="affine"?u>0?s=s.mixedAdd(i[u-1>>1]):s=s.mixedAdd(i[-u-1>>1].neg()):u>0?s=s.add(i[u-1>>1]):s=s.add(i[-u-1>>1].neg())}return e.type==="affine"?s.toP():s};sn.prototype._wnafMulAdd=function(e,r,a,n,i){var o=this._wnafT1,s=this._wnafT2,p=this._wnafT3,l=0,u,v,x;for(u=0;u<n;u++){x=r[u];var A=x._getNAFPoints(e);o[u]=A.wnd,s[u]=A.points}for(u=n-1;u>=1;u-=2){var N=u-1,O=u;if(o[N]!==1||o[O]!==1){p[N]=x0(a[N],o[N],this._bitLength),p[O]=x0(a[O],o[O],this._bitLength),l=Math.max(p[N].length,l),l=Math.max(p[O].length,l);continue}var S=[r[N],null,null,r[O]];r[N].y.cmp(r[O].y)===0?(S[1]=r[N].add(r[O]),S[2]=r[N].toJ().mixedAdd(r[O].neg())):r[N].y.cmp(r[O].y.redNeg())===0?(S[1]=r[N].toJ().mixedAdd(r[O]),S[2]=r[N].add(r[O].neg())):(S[1]=r[N].toJ().mixedAdd(r[O]),S[2]=r[N].toJ().mixedAdd(r[O].neg()));var I=[-3,-1,-5,-7,0,7,5,1,3],$=n9(a[N],a[O]);for(l=Math.max($[0].length,l),p[N]=new Array(l),p[O]=new Array(l),v=0;v<l;v++){var H=$[0][v]|0,U=$[1][v]|0;p[N][v]=I[(H+1)*3+(U+1)],p[O][v]=0,s[N]=S}}var B=this.jpoint(null,null,null),j=this._wnafT4;for(u=l;u>=0;u--){for(var Q=0;u>=0;){var J=!0;for(v=0;v<n;v++)j[v]=p[v][u]|0,j[v]!==0&&(J=!1);if(!J)break;Q++,u--}if(u>=0&&Q++,B=B.dblp(Q),u<0)break;for(v=0;v<n;v++){var k=j[v];k!==0&&(k>0?x=s[v][k-1>>1]:k<0&&(x=s[v][-k-1>>1].neg()),x.type==="affine"?B=B.mixedAdd(x):B=B.add(x))}}for(u=0;u<n;u++)s[u]=null;return i?B:B.toP()};function Er(t,e){this.curve=t,this.type=e,this.precomputed=null}sn.BasePoint=Er;Er.prototype.eq=function(){throw new Error("Not implemented")};Er.prototype.validate=function(){return this.curve.validate(this)};sn.prototype.decodePoint=function(e,r){e=hr.toArray(e,r);var a=this.p.byteLength();if((e[0]===4||e[0]===6||e[0]===7)&&e.length-1===2*a){e[0]===6?w0(e[e.length-1]%2===0):e[0]===7&&w0(e[e.length-1]%2===1);var n=this.point(e.slice(1,1+a),e.slice(1+a,1+2*a));return n}else if((e[0]===2||e[0]===3)&&e.length-1===a)return this.pointFromX(e.slice(1,1+a),e[0]===3);throw new Error("Unknown point format")};Er.prototype.encodeCompressed=function(e){return this.encode(e,!0)};Er.prototype._encode=function(e){var r=this.curve.p.byteLength(),a=this.getX().toArray("be",r);return e?[this.getY().isEven()?2:3].concat(a):[4].concat(a,this.getY().toArray("be",r))};Er.prototype.encode=function(e,r){return hr.encode(this._encode(r),e)};Er.prototype.precompute=function(e){if(this.precomputed)return this;var r={doubles:null,naf:null,beta:null};return r.naf=this._getNAFPoints(8),r.doubles=this._getDoubles(4,e),r.beta=this._getBeta(),this.precomputed=r,this};Er.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var r=this.precomputed.doubles;return r?r.points.length>=Math.ceil((e.bitLength()+1)/r.step):!1};Er.prototype._getDoubles=function(e,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var a=[this],n=this,i=0;i<r;i+=e){for(var o=0;o<e;o++)n=n.dbl();a.push(n)}return{step:e,points:a}};Er.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var r=[this],a=(1<<e)-1,n=a===1?null:this.dbl(),i=1;i<a;i++)r[i]=r[i-1].add(n);return{wnd:e,points:r}};Er.prototype._getBeta=function(){return null};Er.prototype.dblp=function(e){for(var r=this,a=0;a<e;a++)r=r.dbl();return r};var Pd=Si(function(t){typeof Object.create=="function"?t.exports=function(r,a){a&&(r.super_=a,r.prototype=Object.create(a.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,a){if(a){r.super_=a;var n=function(){};n.prototype=a.prototype,r.prototype=new n,r.prototype.constructor=r}}}),i9=hr.assert;function _r(t){Dn.call(this,"short",t),this.a=new Te(t.a,16).toRed(this.red),this.b=new Te(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}Pd(_r,Dn);var o9=_r;_r.prototype._getEndomorphism=function(e){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var r,a;if(e.beta)r=new Te(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);r=n[0].cmp(n[1])<0?n[0]:n[1],r=r.toRed(this.red)}if(e.lambda)a=new Te(e.lambda,16);else{var i=this._getEndoRoots(this.n);this.g.mul(i[0]).x.cmp(this.g.x.redMul(r))===0?a=i[0]:(a=i[1],i9(this.g.mul(a).x.cmp(this.g.x.redMul(r))===0))}var o;return e.basis?o=e.basis.map(function(s){return{a:new Te(s.a,16),b:new Te(s.b,16)}}):o=this._getEndoBasis(a),{beta:r,lambda:a,basis:o}}};_r.prototype._getEndoRoots=function(e){var r=e===this.p?this.red:Te.mont(e),a=new Te(2).toRed(r).redInvm(),n=a.redNeg(),i=new Te(3).toRed(r).redNeg().redSqrt().redMul(a),o=n.redAdd(i).fromRed(),s=n.redSub(i).fromRed();return[o,s]};_r.prototype._getEndoBasis=function(e){for(var r=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=e,n=this.n.clone(),i=new Te(1),o=new Te(0),s=new Te(0),p=new Te(1),l,u,v,x,A,N,O,S=0,I,$;a.cmpn(0)!==0;){var H=n.div(a);I=n.sub(H.mul(a)),$=s.sub(H.mul(i));var U=p.sub(H.mul(o));if(!v&&I.cmp(r)<0)l=O.neg(),u=i,v=I.neg(),x=$;else if(v&&++S===2)break;O=I,n=a,a=I,s=i,i=$,p=o,o=U}A=I.neg(),N=$;var B=v.sqr().add(x.sqr()),j=A.sqr().add(N.sqr());return j.cmp(B)>=0&&(A=l,N=u),v.negative&&(v=v.neg(),x=x.neg()),A.negative&&(A=A.neg(),N=N.neg()),[{a:v,b:x},{a:A,b:N}]};_r.prototype._endoSplit=function(e){var r=this.endo.basis,a=r[0],n=r[1],i=n.b.mul(e).divRound(this.n),o=a.b.neg().mul(e).divRound(this.n),s=i.mul(a.a),p=o.mul(n.a),l=i.mul(a.b),u=o.mul(n.b),v=e.sub(s).sub(p),x=l.add(u).neg();return{k1:v,k2:x}};_r.prototype.pointFromX=function(e,r){e=new Te(e,16),e.red||(e=e.toRed(this.red));var a=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=a.redSqrt();if(n.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var i=n.fromRed().isOdd();return(r&&!i||!r&&i)&&(n=n.redNeg()),this.point(e,n)};_r.prototype.validate=function(e){if(e.inf)return!0;var r=e.x,a=e.y,n=this.a.redMul(r),i=r.redSqr().redMul(r).redIAdd(n).redIAdd(this.b);return a.redSqr().redISub(i).cmpn(0)===0};_r.prototype._endoWnafMulAdd=function(e,r,a){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var s=this._endoSplit(r[o]),p=e[o],l=p._getBeta();s.k1.negative&&(s.k1.ineg(),p=p.neg(!0)),s.k2.negative&&(s.k2.ineg(),l=l.neg(!0)),n[o*2]=p,n[o*2+1]=l,i[o*2]=s.k1,i[o*2+1]=s.k2}for(var u=this._wnafMulAdd(1,n,i,o*2,a),v=0;v<o*2;v++)n[v]=null,i[v]=null;return u};function Ut(t,e,r,a){Dn.BasePoint.call(this,t,"affine"),e===null&&r===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new Te(e,16),this.y=new Te(r,16),a&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}Pd(Ut,Dn.BasePoint);_r.prototype.point=function(e,r,a){return new Ut(this,e,r,a)};_r.prototype.pointFromJSON=function(e,r){return Ut.fromJSON(this,e,r)};Ut.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var r=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var a=this.curve,n=function(i){return a.point(i.x.redMul(a.endo.beta),i.y)};e.beta=r,r.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return r}};Ut.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]};Ut.fromJSON=function(e,r,a){typeof r=="string"&&(r=JSON.parse(r));var n=e.point(r[0],r[1],a);if(!r[2])return n;function i(s){return e.point(s[0],s[1],a)}var o=r[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n};Ut.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"};Ut.prototype.isInfinity=function(){return this.inf};Ut.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var r=this.y.redSub(e.y);r.cmpn(0)!==0&&(r=r.redMul(this.x.redSub(e.x).redInvm()));var a=r.redSqr().redISub(this.x).redISub(e.x),n=r.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,n)};Ut.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var r=this.curve.a,a=this.x.redSqr(),n=e.redInvm(),i=a.redAdd(a).redIAdd(a).redIAdd(r).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)};Ut.prototype.getX=function(){return this.x.fromRed()};Ut.prototype.getY=function(){return this.y.fromRed()};Ut.prototype.mul=function(e){return e=new Te(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)};Ut.prototype.mulAdd=function(e,r,a){var n=[this,r],i=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)};Ut.prototype.jmulAdd=function(e,r,a){var n=[this,r],i=[e,a];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)};Ut.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)};Ut.prototype.neg=function(e){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var a=this.precomputed,n=function(i){return i.neg()};r.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(n)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(n)}}}return r};Ut.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e};function qt(t,e,r,a){Dn.BasePoint.call(this,t,"jacobian"),e===null&&r===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new Te(0)):(this.x=new Te(e,16),this.y=new Te(r,16),this.z=new Te(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}Pd(qt,Dn.BasePoint);_r.prototype.jpoint=function(e,r,a){return new qt(this,e,r,a)};qt.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),r=e.redSqr(),a=this.x.redMul(r),n=this.y.redMul(r).redMul(e);return this.curve.point(a,n)};qt.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};qt.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var r=e.z.redSqr(),a=this.z.redSqr(),n=this.x.redMul(r),i=e.x.redMul(a),o=this.y.redMul(r.redMul(e.z)),s=e.y.redMul(a.redMul(this.z)),p=n.redSub(i),l=o.redSub(s);if(p.cmpn(0)===0)return l.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var u=p.redSqr(),v=u.redMul(p),x=n.redMul(u),A=l.redSqr().redIAdd(v).redISub(x).redISub(x),N=l.redMul(x.redISub(A)).redISub(o.redMul(v)),O=this.z.redMul(e.z).redMul(p);return this.curve.jpoint(A,N,O)};qt.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var r=this.z.redSqr(),a=this.x,n=e.x.redMul(r),i=this.y,o=e.y.redMul(r).redMul(this.z),s=a.redSub(n),p=i.redSub(o);if(s.cmpn(0)===0)return p.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),u=l.redMul(s),v=a.redMul(l),x=p.redSqr().redIAdd(u).redISub(v).redISub(v),A=p.redMul(v.redISub(x)).redISub(i.redMul(u)),N=this.z.redMul(s);return this.curve.jpoint(x,A,N)};qt.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var r;if(this.curve.zeroA||this.curve.threeA){var a=this;for(r=0;r<e;r++)a=a.dbl();return a}var n=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,p=this.z,l=p.redSqr().redSqr(),u=s.redAdd(s);for(r=0;r<e;r++){var v=o.redSqr(),x=u.redSqr(),A=x.redSqr(),N=v.redAdd(v).redIAdd(v).redIAdd(n.redMul(l)),O=o.redMul(x),S=N.redSqr().redISub(O.redAdd(O)),I=O.redISub(S),$=N.redMul(I);$=$.redIAdd($).redISub(A);var H=u.redMul(p);r+1<e&&(l=l.redMul(A)),o=S,p=H,u=$}return this.curve.jpoint(o,u.redMul(i),p)};qt.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()};qt.prototype._zeroDbl=function(){var e,r,a;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var p=n.redAdd(n).redIAdd(n),l=p.redSqr().redISub(s).redISub(s),u=o.redIAdd(o);u=u.redIAdd(u),u=u.redIAdd(u),e=l,r=p.redMul(s.redISub(l)).redISub(u),a=this.y.redAdd(this.y)}else{var v=this.x.redSqr(),x=this.y.redSqr(),A=x.redSqr(),N=this.x.redAdd(x).redSqr().redISub(v).redISub(A);N=N.redIAdd(N);var O=v.redAdd(v).redIAdd(v),S=O.redSqr(),I=A.redIAdd(A);I=I.redIAdd(I),I=I.redIAdd(I),e=S.redISub(N).redISub(N),r=O.redMul(N.redISub(e)).redISub(I),a=this.y.redMul(this.z),a=a.redIAdd(a)}return this.curve.jpoint(e,r,a)};qt.prototype._threeDbl=function(){var e,r,a;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var p=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),l=p.redSqr().redISub(s).redISub(s);e=l;var u=o.redIAdd(o);u=u.redIAdd(u),u=u.redIAdd(u),r=p.redMul(s.redISub(l)).redISub(u),a=this.y.redAdd(this.y)}else{var v=this.z.redSqr(),x=this.y.redSqr(),A=this.x.redMul(x),N=this.x.redSub(v).redMul(this.x.redAdd(v));N=N.redAdd(N).redIAdd(N);var O=A.redIAdd(A);O=O.redIAdd(O);var S=O.redAdd(O);e=N.redSqr().redISub(S),a=this.y.redAdd(this.z).redSqr().redISub(x).redISub(v);var I=x.redSqr();I=I.redIAdd(I),I=I.redIAdd(I),I=I.redIAdd(I),r=N.redMul(O.redISub(e)).redISub(I)}return this.curve.jpoint(e,r,a)};qt.prototype._dbl=function(){var e=this.curve.a,r=this.x,a=this.y,n=this.z,i=n.redSqr().redSqr(),o=r.redSqr(),s=a.redSqr(),p=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),l=r.redAdd(r);l=l.redIAdd(l);var u=l.redMul(s),v=p.redSqr().redISub(u.redAdd(u)),x=u.redISub(v),A=s.redSqr();A=A.redIAdd(A),A=A.redIAdd(A),A=A.redIAdd(A);var N=p.redMul(x).redISub(A),O=a.redAdd(a).redMul(n);return this.curve.jpoint(v,N,O)};qt.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),r=this.y.redSqr(),a=this.z.redSqr(),n=r.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),s=this.x.redAdd(r).redSqr().redISub(e).redISub(n);s=s.redIAdd(s),s=s.redAdd(s).redIAdd(s),s=s.redISub(o);var p=s.redSqr(),l=n.redIAdd(n);l=l.redIAdd(l),l=l.redIAdd(l),l=l.redIAdd(l);var u=i.redIAdd(s).redSqr().redISub(o).redISub(p).redISub(l),v=r.redMul(u);v=v.redIAdd(v),v=v.redIAdd(v);var x=this.x.redMul(p).redISub(v);x=x.redIAdd(x),x=x.redIAdd(x);var A=this.y.redMul(u.redMul(l.redISub(u)).redISub(s.redMul(p)));A=A.redIAdd(A),A=A.redIAdd(A),A=A.redIAdd(A);var N=this.z.redAdd(s).redSqr().redISub(a).redISub(p);return this.curve.jpoint(x,A,N)};qt.prototype.mul=function(e,r){return e=new Te(e,r),this.curve._wnafMul(this,e)};qt.prototype.eq=function(e){if(e.type==="affine")return this.eq(e.toJ());if(this===e)return!0;var r=this.z.redSqr(),a=e.z.redSqr();if(this.x.redMul(a).redISub(e.x.redMul(r)).cmpn(0)!==0)return!1;var n=r.redMul(this.z),i=a.redMul(e.z);return this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)===0};qt.prototype.eqXToP=function(e){var r=this.z.redSqr(),a=e.toRed(this.curve.red).redMul(r);if(this.x.cmp(a)===0)return!0;for(var n=e.clone(),i=this.curve.redN.redMul(r);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(a.redIAdd(i),this.x.cmp(a)===0)return!0}};qt.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"};qt.prototype.isInfinity=function(){return this.z.cmpn(0)===0};var s0=Si(function(t,e){var r=e;r.base=Dn,r.short=o9,r.mont=null,r.edwards=null}),d0=Si(function(t,e){var r=e,a=hr.assert;function n(s){s.type==="short"?this.curve=new s0.short(s):s.type==="edwards"?this.curve=new s0.edwards(s):this.curve=new s0.mont(s),this.g=this.curve.g,this.n=this.curve.n,this.hash=s.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}r.PresetCurve=n;function i(s,p){Object.defineProperty(r,s,{configurable:!0,enumerable:!0,get:function(){var l=new n(p);return Object.defineProperty(r,s,{configurable:!0,enumerable:!0,value:l}),l}})}i("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:or.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),i("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:or.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),i("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:or.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),i("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:or.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),i("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:or.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),i("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:or.sha256,gRed:!1,g:["9"]}),i("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:or.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var o;try{o=null.crash()}catch{o=void 0}i("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:or.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",o]})});function an(t){if(!(this instanceof an))return new an(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=Ur.toArray(t.entropy,t.entropyEnc||"hex"),r=Ur.toArray(t.nonce,t.nonceEnc||"hex"),a=Ur.toArray(t.pers,t.persEnc||"hex");Nd(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,a)}var au=an;an.prototype._init=function(e,r,a){var n=e.concat(r).concat(a);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656};an.prototype._hmac=function(){return new or.hmac(this.hash,this.K)};an.prototype._update=function(e){var r=this._hmac().update(this.V).update([0]);e&&(r=r.update(e)),this.K=r.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())};an.prototype.reseed=function(e,r,a,n){typeof r!="string"&&(n=a,a=r,r=null),e=Ur.toArray(e,r),a=Ur.toArray(a,n),Nd(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(a||[])),this._reseed=1};an.prototype.generate=function(e,r,a,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof r!="string"&&(n=a,a=r,r=null),a&&(a=Ur.toArray(a,n||"hex"),this._update(a));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var o=i.slice(0,e);return this._update(a),this._reseed++,Ur.encode(o,r)};var As=hr.assert;function Qt(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}var Od=Qt;Qt.fromPublic=function(e,r,a){return r instanceof Qt?r:new Qt(e,{pub:r,pubEnc:a})};Qt.fromPrivate=function(e,r,a){return r instanceof Qt?r:new Qt(e,{priv:r,privEnc:a})};Qt.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}};Qt.prototype.getPublic=function(e,r){return typeof e=="string"&&(r=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r?this.pub.encode(r,e):this.pub};Qt.prototype.getPrivate=function(e){return e==="hex"?this.priv.toString(16,2):this.priv};Qt.prototype._importPrivate=function(e,r){this.priv=new Te(e,r||16),this.priv=this.priv.umod(this.ec.curve.n)};Qt.prototype._importPublic=function(e,r){if(e.x||e.y){this.ec.curve.type==="mont"?As(e.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&As(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,r)};Qt.prototype.derive=function(e){return e.validate()||As(e.validate(),"public point not validated"),e.mul(this.priv).getX()};Qt.prototype.sign=function(e,r,a){return this.ec.sign(e,this,r,a)};Qt.prototype.verify=function(e,r){return this.ec.verify(e,r,this)};Qt.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var s9=hr.assert;function to(t,e){if(t instanceof to)return t;this._importDER(t,e)||(s9(t.r&&t.s,"Signature without r or s"),this.r=new Te(t.r,16),this.s=new Te(t.s,16),t.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var ro=to;function d9(){this.place=0}function Bo(t,e){var r=t[e.place++];if(!(r&128))return r;var a=r&15;if(a===0||a>4)return!1;for(var n=0,i=0,o=e.place;i<a;i++,o++)n<<=8,n|=t[o],n>>>=0;return n<=127?!1:(e.place=o,n)}function ll(t){for(var e=0,r=t.length-1;!t[e]&&!(t[e+1]&128)&&e<r;)e++;return e===0?t:t.slice(e)}to.prototype._importDER=function(e,r){e=hr.toArray(e,r);var a=new d9;if(e[a.place++]!==48)return!1;var n=Bo(e,a);if(n===!1||n+a.place!==e.length||e[a.place++]!==2)return!1;var i=Bo(e,a);if(i===!1)return!1;var o=e.slice(a.place,i+a.place);if(a.place+=i,e[a.place++]!==2)return!1;var s=Bo(e,a);if(s===!1||e.length!==s+a.place)return!1;var p=e.slice(a.place,s+a.place);if(o[0]===0)if(o[1]&128)o=o.slice(1);else return!1;if(p[0]===0)if(p[1]&128)p=p.slice(1);else return!1;return this.r=new Te(o),this.s=new Te(p),this.recoveryParam=null,!0};function Mo(t,e){if(e<128){t.push(e);return}var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(r|128);--r;)t.push(e>>>(r<<3)&255);t.push(e)}to.prototype.toDER=function(e){var r=this.r.toArray(),a=this.s.toArray();for(r[0]&128&&(r=[0].concat(r)),a[0]&128&&(a=[0].concat(a)),r=ll(r),a=ll(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var n=[2];Mo(n,r.length),n=n.concat(r),n.push(2),Mo(n,a.length);var i=n.concat(a),o=[48];return Mo(o,i.length),o=o.concat(i),hr.encode(o,e)};var p9=function(){throw new Error("unsupported")},nu=hr.assert;function Ar(t){if(!(this instanceof Ar))return new Ar(t);typeof t=="string"&&(nu(Object.prototype.hasOwnProperty.call(d0,t),"Unknown curve "+t),t=d0[t]),t instanceof d0.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var l9=Ar;Ar.prototype.keyPair=function(e){return new Od(this,e)};Ar.prototype.keyFromPrivate=function(e,r){return Od.fromPrivate(this,e,r)};Ar.prototype.keyFromPublic=function(e,r){return Od.fromPublic(this,e,r)};Ar.prototype.genKeyPair=function(e){e||(e={});for(var r=new au({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||p9(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),a=this.n.byteLength(),n=this.n.sub(new Te(2));;){var i=new Te(r.generate(a));if(!(i.cmp(n)>0))return i.iaddn(1),this.keyFromPrivate(i)}};Ar.prototype._truncateToN=function(e,r){var a=e.byteLength()*8-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!r&&e.cmp(this.n)>=0?e.sub(this.n):e};Ar.prototype.sign=function(e,r,a,n){typeof a=="object"&&(n=a,a=null),n||(n={}),r=this.keyFromPrivate(r,a),e=this._truncateToN(new Te(e,16));for(var i=this.n.byteLength(),o=r.getPrivate().toArray("be",i),s=e.toArray("be",i),p=new au({hash:this.hash,entropy:o,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),l=this.n.sub(new Te(1)),u=0;;u++){var v=n.k?n.k(u):new Te(p.generate(this.n.byteLength()));if(v=this._truncateToN(v,!0),!(v.cmpn(1)<=0||v.cmp(l)>=0)){var x=this.g.mul(v);if(!x.isInfinity()){var A=x.getX(),N=A.umod(this.n);if(N.cmpn(0)!==0){var O=v.invm(this.n).mul(N.mul(r.getPrivate()).iadd(e));if(O=O.umod(this.n),O.cmpn(0)!==0){var S=(x.getY().isOdd()?1:0)|(A.cmp(N)!==0?2:0);return n.canonical&&O.cmp(this.nh)>0&&(O=this.n.sub(O),S^=1),new ro({r:N,s:O,recoveryParam:S})}}}}}};Ar.prototype.verify=function(e,r,a,n){e=this._truncateToN(new Te(e,16)),a=this.keyFromPublic(a,n),r=new ro(r,"hex");var i=r.r,o=r.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0||o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s=o.invm(this.n),p=s.mul(e).umod(this.n),l=s.mul(i).umod(this.n),u;return this.curve._maxwellTrick?(u=this.g.jmulAdd(p,a.getPublic(),l),u.isInfinity()?!1:u.eqXToP(i)):(u=this.g.mulAdd(p,a.getPublic(),l),u.isInfinity()?!1:u.getX().umod(this.n).cmp(i)===0)};Ar.prototype.recoverPubKey=function(t,e,r,a){nu((3&r)===r,"The recovery param is more than two bits"),e=new ro(e,a);var n=this.n,i=new Te(t),o=e.r,s=e.s,p=r&1,l=r>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");l?o=this.curve.pointFromX(o.add(this.curve.n),p):o=this.curve.pointFromX(o,p);var u=e.r.invm(n),v=n.sub(i).mul(u).umod(n),x=s.mul(u).umod(n);return this.g.mulAdd(v,o,x)};Ar.prototype.getKeyRecoveryParam=function(t,e,r,a){if(e=new ro(e,a),e.recoveryParam!==null)return e.recoveryParam;for(var n=0;n<4;n++){var i;try{i=this.recoverPubKey(t,e,n)}catch{continue}if(i.eq(r))return n}throw new Error("Unable to find valid recovery factor")};var c9=Si(function(t,e){var r=e;r.version="6.5.4",r.utils=hr,r.rand=function(){throw new Error("unsupported")},r.curve=s0,r.curves=d0,r.ec=l9,r.eddsa=null}),u9=c9.ec;const f9="signing-key/5.7.0",Es=new L(f9);let Fo=null;function ta(){return Fo||(Fo=new u9("secp256k1")),Fo}class rn{constructor(e){Z(this,"curve","secp256k1"),Z(this,"privateKey",pe(e)),qr(this.privateKey)!==32&&Es.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const r=ta().keyFromPrivate(se(this.privateKey));Z(this,"publicKey","0x"+r.getPublic(!1,"hex")),Z(this,"compressedPublicKey","0x"+r.getPublic(!0,"hex")),Z(this,"_isSigningKey",!0)}_addPoint(e){const r=ta().keyFromPublic(se(this.publicKey)),a=ta().keyFromPublic(se(e));return"0x"+r.pub.add(a.pub).encodeCompressed("hex")}signDigest(e){const r=ta().keyFromPrivate(se(this.privateKey)),a=se(e);a.length!==32&&Es.throwArgumentError("bad digest length","digest",e);const n=r.sign(a,{canonical:!0});return Ma({recoveryParam:n.recoveryParam,r:Qe("0x"+n.r.toString(16),32),s:Qe("0x"+n.s.toString(16),32)})}computeSharedSecret(e){const r=ta().keyFromPrivate(se(this.privateKey)),a=ta().keyFromPublic(se(ao(e)));return Qe("0x"+r.derive(a.getPublic()).toString(16),32)}static isSigningKey(e){return!!(e&&e._isSigningKey)}}function Id(t,e){const r=Ma(e),a={r:se(r.r),s:se(r.s)};return"0x"+ta().recoverPubKey(se(t),a,r.recoveryParam).encode("hex",!1)}function ao(t,e){const r=se(t);if(r.length===32){const a=new rn(r);return e?"0x"+ta().keyFromPrivate(r).getPublic(!0,"hex"):a.publicKey}else{if(r.length===33)return e?pe(r):"0x"+ta().keyFromPublic(r).getPublic(!1,"hex");if(r.length===65)return e?"0x"+ta().keyFromPublic(r).getPublic(!0,"hex"):pe(r)}return Es.throwArgumentError("invalid public or private key","key","[REDACTED]")}const h9=Object.freeze(Object.defineProperty({__proto__:null,SigningKey:rn,computePublicKey:ao,recoverPublicKey:Id},Symbol.toStringTag,{value:"Module"})),m9="transactions/5.7.0",Kt=new L(m9);var A0;(function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"})(A0||(A0={}));function kd(t){return t==="0x"?null:Be(t)}function Ht(t){return t==="0x"?hd:ne.from(t)}const v9=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],b9={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function Ia(t){const e=ao(t);return Be(xt(qe(xt(e,1)),12))}function Ti(t,e){return Ia(Id(se(t),e))}function ur(t,e){const r=jr(ne.from(t).toHexString());return r.length>32&&Kt.throwArgumentError("invalid length for "+e,"transaction:"+e,t),r}function Lo(t,e){return{address:Be(t),storageKeys:(e||[]).map((r,a)=>(qr(r)!==32&&Kt.throwArgumentError("invalid access list storageKey",`accessList[${t}:${a}]`,r),r.toLowerCase()))}}function Va(t){if(Array.isArray(t))return t.map((r,a)=>Array.isArray(r)?(r.length>2&&Kt.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${a}]`,r),Lo(r[0],r[1])):Lo(r.address,r.storageKeys));const e=Object.keys(t).map(r=>{const a=t[r].reduce((n,i)=>(n[i]=!0,n),{});return Lo(r,Object.keys(a).sort())});return e.sort((r,a)=>r.address.localeCompare(a.address)),e}function iu(t){return Va(t).map(e=>[e.address,e.storageKeys])}function ou(t,e){if(t.gasPrice!=null){const a=ne.from(t.gasPrice),n=ne.from(t.maxFeePerGas||0);a.eq(n)||Kt.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:a,maxFeePerGas:n})}const r=[ur(t.chainId||0,"chainId"),ur(t.nonce||0,"nonce"),ur(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),ur(t.maxFeePerGas||0,"maxFeePerGas"),ur(t.gasLimit||0,"gasLimit"),t.to!=null?Be(t.to):"0x",ur(t.value||0,"value"),t.data||"0x",iu(t.accessList||[])];if(e){const a=Ma(e);r.push(ur(a.recoveryParam,"recoveryParam")),r.push(jr(a.r)),r.push(jr(a.s))}return Vt(["0x02",An(r)])}function su(t,e){const r=[ur(t.chainId||0,"chainId"),ur(t.nonce||0,"nonce"),ur(t.gasPrice||0,"gasPrice"),ur(t.gasLimit||0,"gasLimit"),t.to!=null?Be(t.to):"0x",ur(t.value||0,"value"),t.data||"0x",iu(t.accessList||[])];if(e){const a=Ma(e);r.push(ur(a.recoveryParam,"recoveryParam")),r.push(jr(a.r)),r.push(jr(a.s))}return Vt(["0x01",An(r)])}function y9(t,e){J0(t,b9);const r=[];v9.forEach(function(o){let s=t[o.name]||[];const p={};o.numeric&&(p.hexPad="left"),s=se(pe(s,p)),o.length&&s.length!==o.length&&s.length>0&&Kt.throwArgumentError("invalid length for "+o.name,"transaction:"+o.name,s),o.maxLength&&(s=jr(s),s.length>o.maxLength&&Kt.throwArgumentError("invalid length for "+o.name,"transaction:"+o.name,s)),r.push(pe(s))});let a=0;if(t.chainId!=null?(a=t.chainId,typeof a!="number"&&Kt.throwArgumentError("invalid transaction.chainId","transaction",t)):e&&!gi(e)&&e.v>28&&(a=Math.floor((e.v-35)/2)),a!==0&&(r.push(pe(a)),r.push("0x"),r.push("0x")),!e)return An(r);const n=Ma(e);let i=27+n.recoveryParam;return a!==0?(r.pop(),r.pop(),r.pop(),i+=a*2+8,n.v>28&&n.v!==i&&Kt.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):n.v!==i&&Kt.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),r.push(pe(i)),r.push(jr(se(n.r))),r.push(jr(se(n.s))),An(r)}function E0(t,e){if(t.type==null||t.type===0)return t.accessList!=null&&Kt.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),y9(t,e);switch(t.type){case 1:return su(t,e);case 2:return ou(t,e)}return Kt.throwError(`unsupported transaction type: ${t.type}`,L.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}function du(t,e,r){try{const a=Ht(e[0]).toNumber();if(a!==0&&a!==1)throw new Error("bad recid");t.v=a}catch{Kt.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=Qe(e[1],32),t.s=Qe(e[2],32);try{const a=qe(r(t));t.from=Ti(a,{r:t.r,s:t.s,recoveryParam:t.v})}catch{}}function g9(t){const e=Q0(t.slice(1));e.length!==9&&e.length!==12&&Kt.throwArgumentError("invalid component count for transaction type: 2","payload",pe(t));const r=Ht(e[2]),a=Ht(e[3]),n={type:2,chainId:Ht(e[0]).toNumber(),nonce:Ht(e[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:a,gasPrice:null,gasLimit:Ht(e[4]),to:kd(e[5]),value:Ht(e[6]),data:e[7],accessList:Va(e[8])};return e.length===9||(n.hash=qe(t),du(n,e.slice(9),ou)),n}function x9(t){const e=Q0(t.slice(1));e.length!==8&&e.length!==11&&Kt.throwArgumentError("invalid component count for transaction type: 1","payload",pe(t));const r={type:1,chainId:Ht(e[0]).toNumber(),nonce:Ht(e[1]).toNumber(),gasPrice:Ht(e[2]),gasLimit:Ht(e[3]),to:kd(e[4]),value:Ht(e[5]),data:e[6],accessList:Va(e[7])};return e.length===8||(r.hash=qe(t),du(r,e.slice(8),su)),r}function w9(t){const e=Q0(t);e.length!==9&&e.length!==6&&Kt.throwArgumentError("invalid raw transaction","rawTransaction",t);const r={nonce:Ht(e[0]).toNumber(),gasPrice:Ht(e[1]),gasLimit:Ht(e[2]),to:kd(e[3]),value:Ht(e[4]),data:e[5],chainId:0};if(e.length===6)return r;try{r.v=ne.from(e[6]).toNumber()}catch{return r}if(r.r=Qe(e[7],32),r.s=Qe(e[8],32),ne.from(r.r).isZero()&&ne.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);let a=r.v-27;const n=e.slice(0,6);r.chainId!==0&&(n.push(pe(r.chainId)),n.push("0x"),n.push("0x"),a-=r.chainId*2+8);const i=qe(An(n));try{r.from=Ti(i,{r:pe(r.r),s:pe(r.s),recoveryParam:a})}catch{}r.hash=qe(t)}return r.type=null,r}function Cd(t){const e=se(t);if(e[0]>127)return w9(e);switch(e[0]){case 1:return x9(e);case 2:return g9(e)}return Kt.throwError(`unsupported transaction type: ${e[0]}`,L.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}const A9=Object.freeze(Object.defineProperty({__proto__:null,get TransactionTypes(){return A0},accessListify:Va,computeAddress:Ia,parse:Cd,recoverAddress:Ti,serialize:E0},Symbol.toStringTag,{value:"Module"})),E9="contracts/5.7.0";var nn=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const nt=new L(E9),_9={chainId:!0,data:!0,from:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0,customData:!0,ccipReadEnabled:!0};function _0(t,e){return nn(this,void 0,void 0,function*(){const r=yield e;typeof r!="string"&&nt.throwArgumentError("invalid address or ENS name","name",r);try{return Be(r)}catch{}t||nt.throwError("a provider or signer is needed to resolve ENS names",L.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const a=yield t.resolveName(r);return a==null&&nt.throwArgumentError("resolver or addr is not configured for ENS name","name",r),a})}function Wi(t,e,r){return nn(this,void 0,void 0,function*(){return Array.isArray(r)?yield Promise.all(r.map((a,n)=>Wi(t,Array.isArray(e)?e[n]:e[a.name],a))):r.type==="address"?yield _0(t,e):r.type==="tuple"?yield Wi(t,e,r.components):r.baseType==="array"?Array.isArray(e)?yield Promise.all(e.map(a=>Wi(t,a,r.arrayChildren))):Promise.reject(nt.makeError("invalid value for array",L.errors.INVALID_ARGUMENT,{argument:"value",value:e})):e})}function no(t,e,r){return nn(this,void 0,void 0,function*(){let a={};r.length===e.inputs.length+1&&typeof r[r.length-1]=="object"&&(a=ft(r.pop())),nt.checkArgumentCount(r.length,e.inputs.length,"passed to contract"),t.signer?a.from?a.from=yt({override:_0(t.signer,a.from),signer:t.signer.getAddress()}).then(l=>nn(this,void 0,void 0,function*(){return Be(l.signer)!==l.override&&nt.throwError("Contract with a Signer cannot override from",L.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),l.override})):a.from=t.signer.getAddress():a.from&&(a.from=_0(t.provider,a.from));const n=yield yt({args:Wi(t.signer||t.provider,r,e.inputs),address:t.resolvedAddress,overrides:yt(a)||{}}),i=t.interface.encodeFunctionData(e,n.args),o={data:i,to:n.address},s=n.overrides;if(s.nonce!=null&&(o.nonce=ne.from(s.nonce).toNumber()),s.gasLimit!=null&&(o.gasLimit=ne.from(s.gasLimit)),s.gasPrice!=null&&(o.gasPrice=ne.from(s.gasPrice)),s.maxFeePerGas!=null&&(o.maxFeePerGas=ne.from(s.maxFeePerGas)),s.maxPriorityFeePerGas!=null&&(o.maxPriorityFeePerGas=ne.from(s.maxPriorityFeePerGas)),s.from!=null&&(o.from=s.from),s.type!=null&&(o.type=s.type),s.accessList!=null&&(o.accessList=Va(s.accessList)),o.gasLimit==null&&e.gas!=null){let l=21e3;const u=se(i);for(let v=0;v<u.length;v++)l+=4,u[v]&&(l+=64);o.gasLimit=ne.from(e.gas).add(l)}if(s.value){const l=ne.from(s.value);!l.isZero()&&!e.payable&&nt.throwError("non-payable method cannot override value",L.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:a.value}),o.value=l}s.customData&&(o.customData=ft(s.customData)),s.ccipReadEnabled&&(o.ccipReadEnabled=!!s.ccipReadEnabled),delete a.nonce,delete a.gasLimit,delete a.gasPrice,delete a.from,delete a.value,delete a.type,delete a.accessList,delete a.maxFeePerGas,delete a.maxPriorityFeePerGas,delete a.customData,delete a.ccipReadEnabled;const p=Object.keys(a).filter(l=>a[l]!=null);return p.length&&nt.throwError(`cannot override ${p.map(l=>JSON.stringify(l)).join(",")}`,L.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:p}),o})}function S9(t,e){return function(...r){return no(t,e,r)}}function T9(t,e){const r=t.signer||t.provider;return function(...a){return nn(this,void 0,void 0,function*(){r||nt.throwError("estimate require a provider or signer",L.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"});const n=yield no(t,e,a);return yield r.estimateGas(n)})}}function pu(t,e){const r=e.wait.bind(e);e.wait=a=>r(a).then(n=>(n.events=n.logs.map(i=>{let o=Jt(i),s=null;try{s=t.interface.parseLog(i)}catch{}return s&&(o.args=s.args,o.decode=(p,l)=>t.interface.decodeEventLog(s.eventFragment,p,l),o.event=s.name,o.eventSignature=s.signature),o.removeListener=()=>t.provider,o.getBlock=()=>t.provider.getBlock(n.blockHash),o.getTransaction=()=>t.provider.getTransaction(n.transactionHash),o.getTransactionReceipt=()=>Promise.resolve(n),o}),n))}function lu(t,e,r){const a=t.signer||t.provider;return function(...n){return nn(this,void 0,void 0,function*(){let i;if(n.length===e.inputs.length+1&&typeof n[n.length-1]=="object"){const p=ft(n.pop());p.blockTag!=null&&(i=yield p.blockTag),delete p.blockTag,n.push(p)}t.deployTransaction!=null&&(yield t._deployed(i));const o=yield no(t,e,n),s=yield a.call(o,i);try{let p=t.interface.decodeFunctionResult(e,s);return r&&e.outputs.length===1&&(p=p[0]),p}catch(p){throw p.code===L.errors.CALL_EXCEPTION&&(p.address=t.address,p.args=n,p.transaction=o),p}})}}function N9(t,e){return function(...r){return nn(this,void 0,void 0,function*(){t.signer||nt.throwError("sending a transaction requires a signer",L.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),t.deployTransaction!=null&&(yield t._deployed());const a=yield no(t,e,r),n=yield t.signer.sendTransaction(a);return pu(t,n),n})}}function cl(t,e,r){return e.constant?lu(t,e,r):N9(t,e)}function cu(t){return t.address&&(t.topics==null||t.topics.length===0)?"*":(t.address||"*")+"@"+(t.topics?t.topics.map(e=>Array.isArray(e)?e.join("|"):e).join(":"):"")}class l1{constructor(e,r){Z(this,"tag",e),Z(this,"filter",r),this._listeners=[]}addListener(e,r){this._listeners.push({listener:e,once:r})}removeListener(e){let r=!1;this._listeners=this._listeners.filter(a=>r||a.listener!==e?!0:(r=!0,!1))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map(e=>e.listener)}listenerCount(){return this._listeners.length}run(e){const r=this.listenerCount();return this._listeners=this._listeners.filter(a=>{const n=e.slice();return setTimeout(()=>{a.listener.apply(this,n)},0),!a.once}),r}prepareEvent(e){}getEmit(e){return[e]}}class P9 extends l1{constructor(){super("error",null)}}class ul extends l1{constructor(e,r,a,n){const i={address:e};let o=r.getEventTopic(a);n?(o!==n[0]&&nt.throwArgumentError("topic mismatch","topics",n),i.topics=n.slice()):i.topics=[o],super(cu(i),i),Z(this,"address",e),Z(this,"interface",r),Z(this,"fragment",a)}prepareEvent(e){super.prepareEvent(e),e.event=this.fragment.name,e.eventSignature=this.fragment.format(),e.decode=(r,a)=>this.interface.decodeEventLog(this.fragment,r,a);try{e.args=this.interface.decodeEventLog(this.fragment,e.data,e.topics)}catch(r){e.args=null,e.decodeError=r}}getEmit(e){const r=cd(e.args);if(r.length)throw r[0].error;const a=(e.args||[]).slice();return a.push(e),a}}class fl extends l1{constructor(e,r){super("*",{address:e}),Z(this,"address",e),Z(this,"interface",r)}prepareEvent(e){super.prepareEvent(e);try{const r=this.interface.parseLog(e);e.event=r.name,e.eventSignature=r.signature,e.decode=(a,n)=>this.interface.decodeEventLog(r.eventFragment,a,n),e.args=r.args}catch{}}}class Dd{constructor(e,r,a){Z(this,"interface",Lt(new.target,"getInterface")(r)),a==null?(Z(this,"provider",null),Z(this,"signer",null)):Ua.isSigner(a)?(Z(this,"provider",a.provider||null),Z(this,"signer",a)):Cn.isProvider(a)?(Z(this,"provider",a),Z(this,"signer",null)):nt.throwArgumentError("invalid signer or provider","signerOrProvider",a),Z(this,"callStatic",{}),Z(this,"estimateGas",{}),Z(this,"functions",{}),Z(this,"populateTransaction",{}),Z(this,"filters",{});{const o={};Object.keys(this.interface.events).forEach(s=>{const p=this.interface.events[s];Z(this.filters,s,(...l)=>({address:this.address,topics:this.interface.encodeFilterTopics(p,l)})),o[p.name]||(o[p.name]=[]),o[p.name].push(s)}),Object.keys(o).forEach(s=>{const p=o[s];p.length===1?Z(this.filters,s,this.filters[p[0]]):nt.warn(`Duplicate definition of ${s} (${p.join(", ")})`)})}if(Z(this,"_runningEvents",{}),Z(this,"_wrappedEmits",{}),e==null&&nt.throwArgumentError("invalid contract address or ENS name","addressOrName",e),Z(this,"address",e),this.provider)Z(this,"resolvedAddress",_0(this.provider,e));else try{Z(this,"resolvedAddress",Promise.resolve(Be(e)))}catch{nt.throwError("provider is required to use ENS name as contract address",L.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch(o=>{});const n={},i={};Object.keys(this.interface.functions).forEach(o=>{const s=this.interface.functions[o];if(i[o]){nt.warn(`Duplicate ABI entry for ${JSON.stringify(o)}`);return}i[o]=!0;{const p=s.name;n[`%${p}`]||(n[`%${p}`]=[]),n[`%${p}`].push(o)}this[o]==null&&Z(this,o,cl(this,s,!0)),this.functions[o]==null&&Z(this.functions,o,cl(this,s,!1)),this.callStatic[o]==null&&Z(this.callStatic,o,lu(this,s,!0)),this.populateTransaction[o]==null&&Z(this.populateTransaction,o,S9(this,s)),this.estimateGas[o]==null&&Z(this.estimateGas,o,T9(this,s))}),Object.keys(n).forEach(o=>{const s=n[o];if(s.length>1)return;o=o.substring(1);const p=s[0];try{this[o]==null&&Z(this,o,this[p])}catch{}this.functions[o]==null&&Z(this.functions,o,this.functions[p]),this.callStatic[o]==null&&Z(this.callStatic,o,this.callStatic[p]),this.populateTransaction[o]==null&&Z(this.populateTransaction,o,this.populateTransaction[p]),this.estimateGas[o]==null&&Z(this.estimateGas,o,this.estimateGas[p])})}static getContractAddress(e){return T1(e)}static getInterface(e){return En.isInterface(e)?e:new En(e)}deployed(){return this._deployed()}_deployed(e){return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then(()=>this):this._deployedPromise=this.provider.getCode(this.address,e).then(r=>(r==="0x"&&nt.throwError("contract not deployed",L.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this))),this._deployedPromise}fallback(e){this.signer||nt.throwError("sending a transactions require a signer",L.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const r=ft(e||{});return["from","to"].forEach(function(a){r[a]!=null&&nt.throwError("cannot override "+a,L.errors.UNSUPPORTED_OPERATION,{operation:a})}),r.to=this.resolvedAddress,this.deployed().then(()=>this.signer.sendTransaction(r))}connect(e){typeof e=="string"&&(e=new N1(e,this.provider));const r=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&Z(r,"deployTransaction",this.deployTransaction),r}attach(e){return new this.constructor(e,this.interface,this.signer||this.provider)}static isIndexed(e){return p1.isIndexed(e)}_normalizeRunningEvent(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e}_getRunningEvent(e){if(typeof e=="string"){if(e==="error")return this._normalizeRunningEvent(new P9);if(e==="event")return this._normalizeRunningEvent(new l1("event",null));if(e==="*")return this._normalizeRunningEvent(new fl(this.address,this.interface));const r=this.interface.getEvent(e);return this._normalizeRunningEvent(new ul(this.address,this.interface,r))}if(e.topics&&e.topics.length>0){try{const a=e.topics[0];if(typeof a!="string")throw new Error("invalid topic");const n=this.interface.getEvent(a);return this._normalizeRunningEvent(new ul(this.address,this.interface,n,e.topics))}catch{}const r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new l1(cu(r),r))}return this._normalizeRunningEvent(new fl(this.address,this.interface))}_checkRunningEvents(e){if(e.listenerCount()===0){delete this._runningEvents[e.tag];const r=this._wrappedEmits[e.tag];r&&e.filter&&(this.provider.off(e.filter,r),delete this._wrappedEmits[e.tag])}}_wrapEvent(e,r,a){const n=Jt(r);return n.removeListener=()=>{a&&(e.removeListener(a),this._checkRunningEvents(e))},n.getBlock=()=>this.provider.getBlock(r.blockHash),n.getTransaction=()=>this.provider.getTransaction(r.transactionHash),n.getTransactionReceipt=()=>this.provider.getTransactionReceipt(r.transactionHash),e.prepareEvent(n),n}_addEventListener(e,r,a){if(this.provider||nt.throwError("events require a provider or a signer with a provider",L.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(r,a),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){const n=i=>{let o=this._wrapEvent(e,i,r);if(o.decodeError==null)try{const s=e.getEmit(o);this.emit(e.filter,...s)}catch(s){o.decodeError=s.error}e.filter!=null&&this.emit("event",o),o.decodeError!=null&&this.emit("error",o.decodeError,o)};this._wrappedEmits[e.tag]=n,e.filter!=null&&this.provider.on(e.filter,n)}}queryFilter(e,r,a){const n=this._getRunningEvent(e),i=ft(n.filter);return typeof r=="string"&&Se(r,32)?(a!=null&&nt.throwArgumentError("cannot specify toBlock with blockhash","toBlock",a),i.blockHash=r):(i.fromBlock=r??0,i.toBlock=a??"latest"),this.provider.getLogs(i).then(o=>o.map(s=>this._wrapEvent(n,s,null)))}on(e,r){return this._addEventListener(this._getRunningEvent(e),r,!1),this}once(e,r){return this._addEventListener(this._getRunningEvent(e),r,!0),this}emit(e,...r){if(!this.provider)return!1;const a=this._getRunningEvent(e),n=a.run(r)>0;return this._checkRunningEvents(a),n}listenerCount(e){return this.provider?e==null?Object.keys(this._runningEvents).reduce((r,a)=>r+this._runningEvents[a].listenerCount(),0):this._getRunningEvent(e).listenerCount():0}listeners(e){if(!this.provider)return[];if(e==null){const r=[];for(let a in this._runningEvents)this._runningEvents[a].listeners().forEach(n=>{r.push(n)});return r}return this._getRunningEvent(e).listeners()}removeAllListeners(e){if(!this.provider)return this;if(e==null){for(const a in this._runningEvents){const n=this._runningEvents[a];n.removeAllListeners(),this._checkRunningEvents(n)}return this}const r=this._getRunningEvent(e);return r.removeAllListeners(),this._checkRunningEvents(r),this}off(e,r){if(!this.provider)return this;const a=this._getRunningEvent(e);return a.removeListener(r),this._checkRunningEvents(a),this}removeListener(e,r){return this.off(e,r)}}class c1 extends Dd{}class uu{constructor(e,r,a){let n=null;typeof r=="string"?n=r:Ba(r)?n=pe(r):r&&typeof r.object=="string"?n=r.object:n="!",n.substring(0,2)!=="0x"&&(n="0x"+n),(!Se(n)||n.length%2)&&nt.throwArgumentError("invalid bytecode","bytecode",r),a&&!Ua.isSigner(a)&&nt.throwArgumentError("invalid signer","signer",a),Z(this,"bytecode",n),Z(this,"interface",Lt(new.target,"getInterface")(e)),Z(this,"signer",a||null)}getDeployTransaction(...e){let r={};if(e.length===this.interface.deploy.inputs.length+1&&typeof e[e.length-1]=="object"){r=ft(e.pop());for(const a in r)if(!_9[a])throw new Error("unknown transaction override "+a)}return["data","from","to"].forEach(a=>{r[a]!=null&&nt.throwError("cannot override "+a,L.errors.UNSUPPORTED_OPERATION,{operation:a})}),r.value&&!ne.from(r.value).isZero()&&!this.interface.deploy.payable&&nt.throwError("non-payable constructor cannot override value",L.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:r.value}),nt.checkArgumentCount(e.length,this.interface.deploy.inputs.length," in Contract constructor"),r.data=pe(it([this.bytecode,this.interface.encodeDeploy(e)])),r}deploy(...e){return nn(this,void 0,void 0,function*(){let r={};e.length===this.interface.deploy.inputs.length+1&&(r=e.pop()),nt.checkArgumentCount(e.length,this.interface.deploy.inputs.length," in Contract constructor");const a=yield Wi(this.signer,e,this.interface.deploy.inputs);a.push(r);const n=this.getDeployTransaction(...a),i=yield this.signer.sendTransaction(n),o=Lt(this.constructor,"getContractAddress")(i),s=Lt(this.constructor,"getContract")(o,this.interface,this.signer);return pu(s,i),Z(s,"deployTransaction",i),s})}attach(e){return this.constructor.getContract(e,this.interface,this.signer)}connect(e){return new this.constructor(this.interface,this.bytecode,e)}static fromSolidity(e,r){e==null&&nt.throwError("missing compiler output",L.errors.MISSING_ARGUMENT,{argument:"compilerOutput"}),typeof e=="string"&&(e=JSON.parse(e));const a=e.abi;let n=null;return e.bytecode?n=e.bytecode:e.evm&&e.evm.bytecode&&(n=e.evm.bytecode),new this(a,n,r)}static getInterface(e){return c1.getInterface(e)}static getContractAddress(e){return T1(e)}static getContract(e,r,a){return new c1(e,r,a)}}class Rd{constructor(e){Z(this,"alphabet",e),Z(this,"base",e.length),Z(this,"_alphabetMap",{}),Z(this,"_leader",e.charAt(0));for(let r=0;r<e.length;r++)this._alphabetMap[e.charAt(r)]=r}encode(e){let r=se(e);if(r.length===0)return"";let a=[0];for(let i=0;i<r.length;++i){let o=r[i];for(let s=0;s<a.length;++s)o+=a[s]<<8,a[s]=o%this.base,o=o/this.base|0;for(;o>0;)a.push(o%this.base),o=o/this.base|0}let n="";for(let i=0;r[i]===0&&i<r.length-1;++i)n+=this._leader;for(let i=a.length-1;i>=0;--i)n+=this.alphabet[a[i]];return n}decode(e){if(typeof e!="string")throw new TypeError("Expected String");let r=[];if(e.length===0)return new Uint8Array(r);r.push(0);for(let a=0;a<e.length;a++){let n=this._alphabetMap[e[a]];if(n===void 0)throw new Error("Non-base"+this.base+" character");let i=n;for(let o=0;o<r.length;++o)i+=r[o]*this.base,r[o]=i&255,i>>=8;for(;i>0;)r.push(i&255),i>>=8}for(let a=0;e[a]===this._leader&&a<e.length-1;++a)r.push(0);return se(new Uint8Array(r.reverse()))}}const O9=new Rd("abcdefghijklmnopqrstuvwxyz234567"),Sn=new Rd("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),I9=Object.freeze(Object.defineProperty({__proto__:null,Base32:O9,Base58:Sn,BaseX:Rd},Symbol.toStringTag,{value:"Module"}));var Tn;(function(t){t.sha256="sha256",t.sha512="sha512"})(Tn||(Tn={}));const k9="sha2/5.7.0",C9=new L(k9);function Bd(t){return"0x"+or.ripemd160().update(se(t)).digest("hex")}function fa(t){return"0x"+or.sha256().update(se(t)).digest("hex")}function fu(t){return"0x"+or.sha512().update(se(t)).digest("hex")}function ci(t,e,r){return Tn[t]||C9.throwError("unsupported algorithm "+t,L.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:t}),"0x"+or.hmac(or[t],se(e)).update(se(r)).digest("hex")}const D9=Object.freeze(Object.defineProperty({__proto__:null,get SupportedAlgorithm(){return Tn},computeHmac:ci,ripemd160:Bd,sha256:fa,sha512:fu},Symbol.toStringTag,{value:"Module"}));function Md(t,e,r,a,n){t=se(t),e=se(e);let i,o=1;const s=new Uint8Array(a),p=new Uint8Array(e.length+4);p.set(e);let l,u;for(let v=1;v<=o;v++){p[e.length]=v>>24&255,p[e.length+1]=v>>16&255,p[e.length+2]=v>>8&255,p[e.length+3]=v&255;let x=se(ci(n,t,p));i||(i=x.length,u=new Uint8Array(i),o=Math.ceil(a/i),l=a-(o-1)*i),u.set(x);for(let O=1;O<r;O++){x=se(ci(n,t,x));for(let S=0;S<i;S++)u[S]^=x[S]}const A=(v-1)*i,N=v===o?l:i;s.set(se(u).slice(0,N),A)}return pe(s)}const R9="wordlists/5.7.0",B9=new L(R9);class Rn{constructor(e){B9.checkAbstract(new.target,Rn),Z(this,"locale",e)}split(e){return e.toLowerCase().split(/ +/g)}join(e){return e.join(" ")}static check(e){const r=[];for(let a=0;a<2048;a++){const n=e.getWord(a);if(a!==e.getWordIndex(n))return"0x";r.push(n)}return tr(r.join(`
58
- `)+`
59
- `)}static register(e,r){r||(r=e.locale)}}const M9="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo";let Ki=null;function hl(t){if(Ki==null&&(Ki=M9.replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),Rn.check(t)!=="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"))throw Ki=null,new Error("BIP39 Wordlist for en (English) FAILED")}class F9 extends Rn{constructor(){super("en")}getWord(e){return hl(this),Ki[e]}getWordIndex(e){return hl(this),Ki.indexOf(e)}}const hu=new F9;Rn.register(hu);const S0={en:hu},L9="hdnode/5.7.0",u1=new L(L9),U9=ne.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),V9=St("Bitcoin seed"),Gn=2147483648;function mu(t){return(1<<t)-1<<8-t}function j9(t){return(1<<t)-1}function G1(t){return Qe(pe(t),32)}function ml(t){return Sn.encode(it([t,xt(fa(fa(t)),0,4)]))}function Fd(t){if(t==null)return S0.en;if(typeof t=="string"){const e=S0[t];return e==null&&u1.throwArgumentError("unknown locale","wordlist",t),e}return t}const Mn={},Nn="m/44'/60'/0'/0/0";class sr{constructor(e,r,a,n,i,o,s,p){if(e!==Mn)throw new Error("HDNode constructor cannot be called directly");if(r){const l=new rn(r);Z(this,"privateKey",l.privateKey),Z(this,"publicKey",l.compressedPublicKey)}else Z(this,"privateKey",null),Z(this,"publicKey",pe(a));Z(this,"parentFingerprint",n),Z(this,"fingerprint",xt(Bd(fa(this.publicKey)),0,4)),Z(this,"address",Ia(this.publicKey)),Z(this,"chainCode",i),Z(this,"index",o),Z(this,"depth",s),p==null?(Z(this,"mnemonic",null),Z(this,"path",null)):typeof p=="string"?(Z(this,"mnemonic",null),Z(this,"path",p)):(Z(this,"mnemonic",p),Z(this,"path",p.path))}get extendedKey(){if(this.depth>=256)throw new Error("Depth too large!");return ml(it([this.privateKey!=null?"0x0488ADE4":"0x0488B21E",pe(this.depth),this.parentFingerprint,Qe(pe(this.index),4),this.chainCode,this.privateKey!=null?it(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new sr(Mn,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let r=this.path;r&&(r+="/"+(e&~Gn));const a=new Uint8Array(37);if(e&Gn){if(!this.privateKey)throw new Error("cannot derive child of neutered node");a.set(se(this.privateKey),1),r&&(r+="'")}else a.set(se(this.publicKey));for(let v=24;v>=0;v-=8)a[33+(v>>3)]=e>>24-v&255;const n=se(ci(Tn.sha512,this.chainCode,a)),i=n.slice(0,32),o=n.slice(32);let s=null,p=null;this.privateKey?s=G1(ne.from(i).add(this.privateKey).mod(U9)):p=new rn(pe(i))._addPoint(this.publicKey);let l=r;const u=this.mnemonic;return u&&(l=Object.freeze({phrase:u.phrase,path:r,locale:u.locale||"en"})),new sr(Mn,s,p,this.fingerprint,G1(o),e,this.depth+1,l)}derivePath(e){const r=e.split("/");if(r.length===0||r[0]==="m"&&this.depth!==0)throw new Error("invalid path - "+e);r[0]==="m"&&r.shift();let a=this;for(let n=0;n<r.length;n++){const i=r[n];if(i.match(/^[0-9]+'$/)){const o=parseInt(i.substring(0,i.length-1));if(o>=Gn)throw new Error("invalid path index - "+i);a=a._derive(Gn+o)}else if(i.match(/^[0-9]+$/)){const o=parseInt(i);if(o>=Gn)throw new Error("invalid path index - "+i);a=a._derive(o)}else throw new Error("invalid path component - "+i)}return a}static _fromSeed(e,r){const a=se(e);if(a.length<16||a.length>64)throw new Error("invalid seed");const n=se(ci(Tn.sha512,V9,a));return new sr(Mn,G1(n.slice(0,32)),null,"0x00000000",G1(n.slice(32)),0,0,r)}static fromMnemonic(e,r,a){return a=Fd(a),e=I1(O1(e,a),a),sr._fromSeed(Ld(e,r),{phrase:e,path:"m",locale:a.locale})}static fromSeed(e){return sr._fromSeed(e,null)}static fromExtendedKey(e){const r=Sn.decode(e);(r.length!==82||ml(r.slice(0,78))!==e)&&u1.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const a=r[4],n=pe(r.slice(5,9)),i=parseInt(pe(r.slice(9,13)).substring(2),16),o=pe(r.slice(13,45)),s=r.slice(45,78);switch(pe(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new sr(Mn,null,pe(s),n,o,i,a,null);case"0x0488ade4":case"0x04358394 ":if(s[0]!==0)break;return new sr(Mn,pe(s.slice(1)),null,n,o,i,a,null)}return u1.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Ld(t,e){e||(e="");const r=St("mnemonic"+e,$r.NFKD);return Md(St(t,$r.NFKD),r,2048,64,"sha512")}function O1(t,e){e=Fd(e),u1.checkNormalize();const r=e.split(t);if(r.length%3!==0)throw new Error("invalid mnemonic");const a=se(new Uint8Array(Math.ceil(11*r.length/8)));let n=0;for(let l=0;l<r.length;l++){let u=e.getWordIndex(r[l].normalize("NFKD"));if(u===-1)throw new Error("invalid mnemonic");for(let v=0;v<11;v++)u&1<<10-v&&(a[n>>3]|=1<<7-n%8),n++}const i=32*r.length/3,o=r.length/3,s=mu(o);if((se(fa(a.slice(0,i/8)))[0]&s)!==(a[a.length-1]&s))throw new Error("invalid checksum");return pe(a.slice(0,i/8))}function I1(t,e){if(e=Fd(e),t=se(t),t.length%4!==0||t.length<16||t.length>32)throw new Error("invalid entropy");const r=[0];let a=11;for(let o=0;o<t.length;o++)a>8?(r[r.length-1]<<=8,r[r.length-1]|=t[o],a-=8):(r[r.length-1]<<=a,r[r.length-1]|=t[o]>>8-a,r.push(t[o]&j9(8-a)),a+=3);const n=t.length/4,i=se(fa(t))[0]&mu(n);return r[r.length-1]<<=n,r[r.length-1]|=i>>8-n,e.join(r.map(o=>e.getWord(o)))}function vu(t,e){try{return O1(t,e),!0}catch{}return!1}function bu(t){return(typeof t!="number"||t<0||t>=Gn||t%1)&&u1.throwArgumentError("invalid account index","index",t),`m/44'/60'/${t}'/0/0`}const q9=Object.freeze(Object.defineProperty({__proto__:null,HDNode:sr,defaultPath:Nn,entropyToMnemonic:I1,getAccountPath:bu,isValidMnemonic:vu,mnemonicToEntropy:O1,mnemonicToSeed:Ld},Symbol.toStringTag,{value:"Module"})),$9="random/5.7.0",_s=new L($9);function G9(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}const vl=G9();let p0=vl.crypto||vl.msCrypto;(!p0||!p0.getRandomValues)&&(_s.warn("WARNING: Missing strong random number source"),p0={getRandomValues:function(t){return _s.throwError("no secure random source avaialble",L.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});function hn(t){(t<=0||t>1024||t%1||t!=t)&&_s.throwArgumentError("invalid length","length",t);const e=new Uint8Array(t);return p0.getRandomValues(e),se(e)}function Ud(t){t=t.slice();for(let e=t.length-1;e>0;e--){const r=Math.floor(Math.random()*(e+1)),a=t[e];t[e]=t[r],t[r]=a}return t}const H9=Object.freeze(Object.defineProperty({__proto__:null,randomBytes:hn,shuffled:Ud},Symbol.toStringTag,{value:"Module"}));var yu={exports:{}};(function(t,e){(function(r){function a(m){return parseInt(m)===m}function n(m){if(!a(m.length))return!1;for(var c=0;c<m.length;c++)if(!a(m[c])||m[c]<0||m[c]>255)return!1;return!0}function i(m,c){if(m.buffer&&ArrayBuffer.isView(m)&&m.name==="Uint8Array")return c&&(m.slice?m=m.slice():m=Array.prototype.slice.call(m)),m;if(Array.isArray(m)){if(!n(m))throw new Error("Array contains invalid value: "+m);return new Uint8Array(m)}if(a(m.length)&&n(m))return new Uint8Array(m);throw new Error("unsupported array-like object")}function o(m){return new Uint8Array(m)}function s(m,c,b,F,f){(F!=null||f!=null)&&(m.slice?m=m.slice(F,f):m=Array.prototype.slice.call(m,F,f)),c.set(m,b)}var p=function(){function m(b){var F=[],f=0;for(b=encodeURI(b);f<b.length;){var M=b.charCodeAt(f++);M===37?(F.push(parseInt(b.substr(f,2),16)),f+=2):F.push(M)}return i(F)}function c(b){for(var F=[],f=0;f<b.length;){var M=b[f];M<128?(F.push(String.fromCharCode(M)),f++):M>191&&M<224?(F.push(String.fromCharCode((M&31)<<6|b[f+1]&63)),f+=2):(F.push(String.fromCharCode((M&15)<<12|(b[f+1]&63)<<6|b[f+2]&63)),f+=3)}return F.join("")}return{toBytes:m,fromBytes:c}}(),l=function(){function m(F){for(var f=[],M=0;M<F.length;M+=2)f.push(parseInt(F.substr(M,2),16));return f}var c="0123456789abcdef";function b(F){for(var f=[],M=0;M<F.length;M++){var q=F[M];f.push(c[(q&240)>>4]+c[q&15])}return f.join("")}return{toBytes:m,fromBytes:b}}(),u={16:10,24:12,32:14},v=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],x=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],A=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],N=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],O=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],S=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],I=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],$=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],H=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],U=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],B=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],j=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],Q=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],J=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],k=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function R(m){for(var c=[],b=0;b<m.length;b+=4)c.push(m[b]<<24|m[b+1]<<16|m[b+2]<<8|m[b+3]);return c}var V=function(m){if(!(this instanceof V))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:i(m,!0)}),this._prepare()};V.prototype._prepare=function(){var m=u[this.key.length];if(m==null)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var c=0;c<=m;c++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);for(var b=(m+1)*4,F=this.key.length/4,f=R(this.key),M,c=0;c<F;c++)M=c>>2,this._Ke[M][c%4]=f[c],this._Kd[m-M][c%4]=f[c];for(var q=0,W=F,K;W<b;){if(K=f[F-1],f[0]^=x[K>>16&255]<<24^x[K>>8&255]<<16^x[K&255]<<8^x[K>>24&255]^v[q]<<24,q+=1,F!=8)for(var c=1;c<F;c++)f[c]^=f[c-1];else{for(var c=1;c<F/2;c++)f[c]^=f[c-1];K=f[F/2-1],f[F/2]^=x[K&255]^x[K>>8&255]<<8^x[K>>16&255]<<16^x[K>>24&255]<<24;for(var c=F/2+1;c<F;c++)f[c]^=f[c-1]}for(var c=0,de,te;c<F&&W<b;)de=W>>2,te=W%4,this._Ke[de][te]=f[c],this._Kd[m-de][te]=f[c++],W++}for(var de=1;de<m;de++)for(var te=0;te<4;te++)K=this._Kd[de][te],this._Kd[de][te]=j[K>>24&255]^Q[K>>16&255]^J[K>>8&255]^k[K&255]},V.prototype.encrypt=function(m){if(m.length!=16)throw new Error("invalid plaintext size (must be 16 bytes)");for(var c=this._Ke.length-1,b=[0,0,0,0],F=R(m),f=0;f<4;f++)F[f]^=this._Ke[0][f];for(var M=1;M<c;M++){for(var f=0;f<4;f++)b[f]=N[F[f]>>24&255]^O[F[(f+1)%4]>>16&255]^S[F[(f+2)%4]>>8&255]^I[F[(f+3)%4]&255]^this._Ke[M][f];F=b.slice()}for(var q=o(16),W,f=0;f<4;f++)W=this._Ke[c][f],q[4*f]=(x[F[f]>>24&255]^W>>24)&255,q[4*f+1]=(x[F[(f+1)%4]>>16&255]^W>>16)&255,q[4*f+2]=(x[F[(f+2)%4]>>8&255]^W>>8)&255,q[4*f+3]=(x[F[(f+3)%4]&255]^W)&255;return q},V.prototype.decrypt=function(m){if(m.length!=16)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var c=this._Kd.length-1,b=[0,0,0,0],F=R(m),f=0;f<4;f++)F[f]^=this._Kd[0][f];for(var M=1;M<c;M++){for(var f=0;f<4;f++)b[f]=$[F[f]>>24&255]^H[F[(f+3)%4]>>16&255]^U[F[(f+2)%4]>>8&255]^B[F[(f+1)%4]&255]^this._Kd[M][f];F=b.slice()}for(var q=o(16),W,f=0;f<4;f++)W=this._Kd[c][f],q[4*f]=(A[F[f]>>24&255]^W>>24)&255,q[4*f+1]=(A[F[(f+3)%4]>>16&255]^W>>16)&255,q[4*f+2]=(A[F[(f+2)%4]>>8&255]^W>>8)&255,q[4*f+3]=(A[F[(f+1)%4]&255]^W)&255;return q};var X=function(m){if(!(this instanceof X))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new V(m)};X.prototype.encrypt=function(m){if(m=i(m),m.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var c=o(m.length),b=o(16),F=0;F<m.length;F+=16)s(m,b,0,F,F+16),b=this._aes.encrypt(b),s(b,c,F);return c},X.prototype.decrypt=function(m){if(m=i(m),m.length%16!==0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var c=o(m.length),b=o(16),F=0;F<m.length;F+=16)s(m,b,0,F,F+16),b=this._aes.decrypt(b),s(b,c,F);return c};var w=function(m,c){if(!(this instanceof w))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",!c)c=o(16);else if(c.length!=16)throw new Error("invalid initialation vector size (must be 16 bytes)");this._lastCipherblock=i(c,!0),this._aes=new V(m)};w.prototype.encrypt=function(m){if(m=i(m),m.length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var c=o(m.length),b=o(16),F=0;F<m.length;F+=16){s(m,b,0,F,F+16);for(var f=0;f<16;f++)b[f]^=this._lastCipherblock[f];this._lastCipherblock=this._aes.encrypt(b),s(this._lastCipherblock,c,F)}return c},w.prototype.decrypt=function(m){if(m=i(m),m.length%16!==0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var c=o(m.length),b=o(16),F=0;F<m.length;F+=16){s(m,b,0,F,F+16),b=this._aes.decrypt(b);for(var f=0;f<16;f++)c[F+f]=b[f]^this._lastCipherblock[f];s(m,this._lastCipherblock,0,F,F+16)}return c};var d=function(m,c,b){if(!(this instanceof d))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",!c)c=o(16);else if(c.length!=16)throw new Error("invalid initialation vector size (must be 16 size)");b||(b=1),this.segmentSize=b,this._shiftRegister=i(c,!0),this._aes=new V(m)};d.prototype.encrypt=function(m){if(m.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var c=i(m,!0),b,F=0;F<c.length;F+=this.segmentSize){b=this._aes.encrypt(this._shiftRegister);for(var f=0;f<this.segmentSize;f++)c[F+f]^=b[f];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(c,this._shiftRegister,16-this.segmentSize,F,F+this.segmentSize)}return c},d.prototype.decrypt=function(m){if(m.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var c=i(m,!0),b,F=0;F<c.length;F+=this.segmentSize){b=this._aes.encrypt(this._shiftRegister);for(var f=0;f<this.segmentSize;f++)c[F+f]^=b[f];s(this._shiftRegister,this._shiftRegister,0,this.segmentSize),s(m,this._shiftRegister,16-this.segmentSize,F,F+this.segmentSize)}return c};var h=function(m,c){if(!(this instanceof h))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",!c)c=o(16);else if(c.length!=16)throw new Error("invalid initialation vector size (must be 16 bytes)");this._lastPrecipher=i(c,!0),this._lastPrecipherIndex=16,this._aes=new V(m)};h.prototype.encrypt=function(m){for(var c=i(m,!0),b=0;b<c.length;b++)this._lastPrecipherIndex===16&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),c[b]^=this._lastPrecipher[this._lastPrecipherIndex++];return c},h.prototype.decrypt=h.prototype.encrypt;var y=function(m){if(!(this instanceof y))throw Error("Counter must be instanitated with `new`");m!==0&&!m&&(m=1),typeof m=="number"?(this._counter=o(16),this.setValue(m)):this.setBytes(m)};y.prototype.setValue=function(m){if(typeof m!="number"||parseInt(m)!=m)throw new Error("invalid counter value (must be an integer)");for(var c=15;c>=0;--c)this._counter[c]=m%256,m=m>>8},y.prototype.setBytes=function(m){if(m=i(m,!0),m.length!=16)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=m},y.prototype.increment=function(){for(var m=15;m>=0;m--)if(this._counter[m]===255)this._counter[m]=0;else{this._counter[m]++;break}};var T=function(m,c){if(!(this instanceof T))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",c instanceof y||(c=new y(c)),this._counter=c,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new V(m)};T.prototype.encrypt=function(m){for(var c=i(m,!0),b=0;b<c.length;b++)this._remainingCounterIndex===16&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),c[b]^=this._remainingCounter[this._remainingCounterIndex++];return c},T.prototype.decrypt=T.prototype.encrypt;function g(m){m=i(m,!0);var c=16-m.length%16,b=o(m.length+c);s(m,b);for(var F=m.length;F<b.length;F++)b[F]=c;return b}function _(m){if(m=i(m,!0),m.length<16)throw new Error("PKCS#7 invalid length");var c=m[m.length-1];if(c>16)throw new Error("PKCS#7 padding byte out of range");for(var b=m.length-c,F=0;F<c;F++)if(m[b+F]!==c)throw new Error("PKCS#7 invalid padding byte");var f=o(b);return s(m,f,0,0,b),f}var E={AES:V,Counter:y,ModeOfOperation:{ecb:X,cbc:w,cfb:d,ofb:h,ctr:T},utils:{hex:l,utf8:p},padding:{pkcs7:{pad:g,strip:_}},_arrayTest:{coerceArray:i,createArray:o,copyArray:s}};t.exports=E})()})(yu);var z9=yu.exports;const na=bi(z9),gu="json-wallets/5.7.0";function mn(t){return typeof t=="string"&&t.substring(0,2)!=="0x"&&(t="0x"+t),se(t)}function Ci(t,e){for(t=String(t);t.length<e;)t="0"+t;return t}function Vd(t){return typeof t=="string"?St(t,$r.NFKC):se(t)}function Pt(t,e){let r=t;const a=e.toLowerCase().split("/");for(let n=0;n<a.length;n++){let i=null;for(const o in r)if(o.toLowerCase()===a[n]){i=r[o];break}if(i===null)return null;r=i}return r}function W9(t){const e=se(t);e[6]=e[6]&15|64,e[8]=e[8]&63|128;const r=pe(e);return[r.substring(2,10),r.substring(10,14),r.substring(14,18),r.substring(18,22),r.substring(22,34)].join("-")}const K9=new L(gu);class J9 extends on{isCrowdsaleAccount(e){return!!(e&&e._isCrowdsaleAccount)}}function jd(t,e){const r=JSON.parse(t);e=Vd(e);const a=Be(Pt(r,"ethaddr")),n=mn(Pt(r,"encseed"));(!n||n.length%16!==0)&&K9.throwArgumentError("invalid encseed","json",t);const i=se(Md(e,e,2e3,32,"sha256")).slice(0,16),o=n.slice(0,16),s=n.slice(16),p=new na.ModeOfOperation.cbc(i,o),l=na.padding.pkcs7.strip(se(p.decrypt(s)));let u="";for(let A=0;A<l.length;A++)u+=String.fromCharCode(l[A]);const v=St(u),x=qe(v);return new J9({_isCrowdsaleAccount:!0,address:a,privateKey:x})}function io(t){let e=null;try{e=JSON.parse(t)}catch{return!1}return e.encseed&&e.ethaddr}function oo(t){let e=null;try{e=JSON.parse(t)}catch{return!1}return!(!e.version||parseInt(e.version)!==e.version||parseInt(e.version)!==3)}function xu(t){if(io(t))try{return Be(JSON.parse(t).ethaddr)}catch{return null}if(oo(t))try{return Be(JSON.parse(t).address)}catch{return null}return null}var wu={exports:{}};(function(t,e){(function(r){function n(O){const S=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]);let I=1779033703,$=3144134277,H=1013904242,U=2773480762,B=1359893119,j=2600822924,Q=528734635,J=1541459225;const k=new Uint32Array(64);function R(T){let g=0,_=T.length;for(;_>=64;){let E=I,m=$,c=H,b=U,F=B,f=j,M=Q,q=J,W,K,de,te,oe;for(K=0;K<16;K++)de=g+K*4,k[K]=(T[de]&255)<<24|(T[de+1]&255)<<16|(T[de+2]&255)<<8|T[de+3]&255;for(K=16;K<64;K++)W=k[K-2],te=(W>>>17|W<<15)^(W>>>19|W<<13)^W>>>10,W=k[K-15],oe=(W>>>7|W<<25)^(W>>>18|W<<14)^W>>>3,k[K]=(te+k[K-7]|0)+(oe+k[K-16]|0)|0;for(K=0;K<64;K++)te=(((F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7))+(F&f^~F&M)|0)+(q+(S[K]+k[K]|0)|0)|0,oe=((E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10))+(E&m^E&c^m&c)|0,q=M,M=f,f=F,F=b+te|0,b=c,c=m,m=E,E=te+oe|0;I=I+E|0,$=$+m|0,H=H+c|0,U=U+b|0,B=B+F|0,j=j+f|0,Q=Q+M|0,J=J+q|0,g+=64,_-=64}}R(O);let V,X=O.length%64,w=O.length/536870912|0,d=O.length<<3,h=X<56?56:120,y=O.slice(O.length-X,O.length);for(y.push(128),V=X+1;V<h;V++)y.push(0);return y.push(w>>>24&255),y.push(w>>>16&255),y.push(w>>>8&255),y.push(w>>>0&255),y.push(d>>>24&255),y.push(d>>>16&255),y.push(d>>>8&255),y.push(d>>>0&255),R(y),[I>>>24&255,I>>>16&255,I>>>8&255,I>>>0&255,$>>>24&255,$>>>16&255,$>>>8&255,$>>>0&255,H>>>24&255,H>>>16&255,H>>>8&255,H>>>0&255,U>>>24&255,U>>>16&255,U>>>8&255,U>>>0&255,B>>>24&255,B>>>16&255,B>>>8&255,B>>>0&255,j>>>24&255,j>>>16&255,j>>>8&255,j>>>0&255,Q>>>24&255,Q>>>16&255,Q>>>8&255,Q>>>0&255,J>>>24&255,J>>>16&255,J>>>8&255,J>>>0&255]}function i(O,S,I){O=O.length<=64?O:n(O);const $=64+S.length+4,H=new Array($),U=new Array(64);let B,j=[];for(B=0;B<64;B++)H[B]=54;for(B=0;B<O.length;B++)H[B]^=O[B];for(B=0;B<S.length;B++)H[64+B]=S[B];for(B=$-4;B<$;B++)H[B]=0;for(B=0;B<64;B++)U[B]=92;for(B=0;B<O.length;B++)U[B]^=O[B];function Q(){for(let J=$-1;J>=$-4;J--){if(H[J]++,H[J]<=255)return;H[J]=0}}for(;I>=32;)Q(),j=j.concat(n(U.concat(n(H)))),I-=32;return I>0&&(Q(),j=j.concat(n(U.concat(n(H))).slice(0,I))),j}function o(O,S,I,$,H){let U;for(u(O,(2*I-1)*16,H,0,16),U=0;U<2*I;U++)l(O,U*16,H,16),p(H,$),u(H,0,O,S+U*16,16);for(U=0;U<I;U++)u(O,S+U*2*16,O,U*16,16);for(U=0;U<I;U++)u(O,S+(U*2+1)*16,O,(U+I)*16,16)}function s(O,S){return O<<S|O>>>32-S}function p(O,S){u(O,0,S,0,16);for(let I=8;I>0;I-=2)S[4]^=s(S[0]+S[12],7),S[8]^=s(S[4]+S[0],9),S[12]^=s(S[8]+S[4],13),S[0]^=s(S[12]+S[8],18),S[9]^=s(S[5]+S[1],7),S[13]^=s(S[9]+S[5],9),S[1]^=s(S[13]+S[9],13),S[5]^=s(S[1]+S[13],18),S[14]^=s(S[10]+S[6],7),S[2]^=s(S[14]+S[10],9),S[6]^=s(S[2]+S[14],13),S[10]^=s(S[6]+S[2],18),S[3]^=s(S[15]+S[11],7),S[7]^=s(S[3]+S[15],9),S[11]^=s(S[7]+S[3],13),S[15]^=s(S[11]+S[7],18),S[1]^=s(S[0]+S[3],7),S[2]^=s(S[1]+S[0],9),S[3]^=s(S[2]+S[1],13),S[0]^=s(S[3]+S[2],18),S[6]^=s(S[5]+S[4],7),S[7]^=s(S[6]+S[5],9),S[4]^=s(S[7]+S[6],13),S[5]^=s(S[4]+S[7],18),S[11]^=s(S[10]+S[9],7),S[8]^=s(S[11]+S[10],9),S[9]^=s(S[8]+S[11],13),S[10]^=s(S[9]+S[8],18),S[12]^=s(S[15]+S[14],7),S[13]^=s(S[12]+S[15],9),S[14]^=s(S[13]+S[12],13),S[15]^=s(S[14]+S[13],18);for(let I=0;I<16;++I)O[I]+=S[I]}function l(O,S,I,$){for(let H=0;H<$;H++)I[H]^=O[S+H]}function u(O,S,I,$,H){for(;H--;)I[$++]=O[S++]}function v(O){if(!O||typeof O.length!="number")return!1;for(let S=0;S<O.length;S++){const I=O[S];if(typeof I!="number"||I%1||I<0||I>=256)return!1}return!0}function x(O,S){if(typeof O!="number"||O%1)throw new Error("invalid "+S);return O}function A(O,S,I,$,H,U,B){if(I=x(I,"N"),$=x($,"r"),H=x(H,"p"),U=x(U,"dkLen"),I===0||I&I-1)throw new Error("N must be power of 2");if(I>2147483647/128/$)throw new Error("N too large");if($>2147483647/128/H)throw new Error("r too large");if(!v(O))throw new Error("password must be an array or buffer");if(O=Array.prototype.slice.call(O),!v(S))throw new Error("salt must be an array or buffer");S=Array.prototype.slice.call(S);let j=i(O,S,H*128*$);const Q=new Uint32Array(H*32*$);for(let F=0;F<Q.length;F++){const f=F*4;Q[F]=(j[f+3]&255)<<24|(j[f+2]&255)<<16|(j[f+1]&255)<<8|(j[f+0]&255)<<0}const J=new Uint32Array(64*$),k=new Uint32Array(32*$*I),R=32*$,V=new Uint32Array(16),X=new Uint32Array(16),w=H*I*2;let d=0,h=null,y=!1,T=0,g=0,_,E;const m=B?parseInt(1e3/$):4294967295,c=typeof setImmediate<"u"?setImmediate:setTimeout,b=function(){if(y)return B(new Error("cancelled"),d/w);let F;switch(T){case 0:E=g*32*$,u(Q,E,J,0,R),T=1,_=0;case 1:F=I-_,F>m&&(F=m);for(let M=0;M<F;M++)u(J,0,k,(_+M)*R,R),o(J,R,$,V,X);if(_+=F,d+=F,B){const M=parseInt(1e3*d/w);if(M!==h){if(y=B(null,d/w),y)break;h=M}}if(_<I)break;_=0,T=2;case 2:F=I-_,F>m&&(F=m);for(let M=0;M<F;M++){const q=(2*$-1)*16,W=J[q]&I-1;l(k,W*R,J,R),o(J,R,$,V,X)}if(_+=F,d+=F,B){const M=parseInt(1e3*d/w);if(M!==h){if(y=B(null,d/w),y)break;h=M}}if(_<I)break;if(u(J,0,Q,E,R),g++,g<H){T=0;break}j=[];for(let M=0;M<Q.length;M++)j.push(Q[M]>>0&255),j.push(Q[M]>>8&255),j.push(Q[M]>>16&255),j.push(Q[M]>>24&255);const f=i(O,j,U);return B&&B(null,1,f),f}B&&c(b)};if(!B)for(;;){const F=b();if(F!=null)return F}b()}const N={scrypt:function(O,S,I,$,H,U,B){return new Promise(function(j,Q){let J=0;B&&B(0),A(O,S,I,$,H,U,function(k,R,V){if(k)Q(k);else if(V)B&&J!==1&&B(1),j(new Uint8Array(V));else if(B&&R!==J)return J=R,B(R)})})},syncScrypt:function(O,S,I,$,H,U){return new Uint8Array(A(O,S,I,$,H,U))}};t.exports=N})()})(wu);var Q9=wu.exports;const qd=bi(Q9);var Y9=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const Ss=new L(gu);function bl(t){return t!=null&&t.mnemonic&&t.mnemonic.phrase}class X9 extends on{isKeystoreAccount(e){return!!(e&&e._isKeystoreAccount)}}function Z9(t,e,r){if(Pt(t,"crypto/cipher")==="aes-128-ctr"){const n=mn(Pt(t,"crypto/cipherparams/iv")),i=new na.Counter(n),o=new na.ModeOfOperation.ctr(e,i);return se(o.decrypt(r))}return null}function Au(t,e){const r=mn(Pt(t,"crypto/ciphertext"));if(pe(qe(it([e.slice(16,32),r]))).substring(2)!==Pt(t,"crypto/mac").toLowerCase())throw new Error("invalid password");const n=Z9(t,e.slice(0,16),r);n||Ss.throwError("unsupported cipher",L.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const i=e.slice(32,64),o=Ia(n);if(t.address){let p=t.address.toLowerCase();if(p.substring(0,2)!=="0x"&&(p="0x"+p),Be(p)!==o)throw new Error("address mismatch")}const s={_isKeystoreAccount:!0,address:o,privateKey:pe(n)};if(Pt(t,"x-ethers/version")==="0.1"){const p=mn(Pt(t,"x-ethers/mnemonicCiphertext")),l=mn(Pt(t,"x-ethers/mnemonicCounter")),u=new na.Counter(l),v=new na.ModeOfOperation.ctr(i,u),x=Pt(t,"x-ethers/path")||Nn,A=Pt(t,"x-ethers/locale")||"en",N=se(v.decrypt(p));try{const O=I1(N,A),S=sr.fromMnemonic(O,null,A).derivePath(x);if(S.privateKey!=s.privateKey)throw new Error("mnemonic mismatch");s.mnemonic=S.mnemonic}catch(O){if(O.code!==L.errors.INVALID_ARGUMENT||O.argument!=="wordlist")throw O}}return new X9(s)}function Eu(t,e,r,a,n){return se(Md(t,e,r,a,n))}function em(t,e,r,a,n){return Promise.resolve(Eu(t,e,r,a,n))}function _u(t,e,r,a,n){const i=Vd(e),o=Pt(t,"crypto/kdf");if(o&&typeof o=="string"){const s=function(p,l){return Ss.throwArgumentError("invalid key-derivation function parameters",p,l)};if(o.toLowerCase()==="scrypt"){const p=mn(Pt(t,"crypto/kdfparams/salt")),l=parseInt(Pt(t,"crypto/kdfparams/n")),u=parseInt(Pt(t,"crypto/kdfparams/r")),v=parseInt(Pt(t,"crypto/kdfparams/p"));(!l||!u||!v)&&s("kdf",o),l&l-1&&s("N",l);const x=parseInt(Pt(t,"crypto/kdfparams/dklen"));return x!==32&&s("dklen",x),a(i,p,l,u,v,64,n)}else if(o.toLowerCase()==="pbkdf2"){const p=mn(Pt(t,"crypto/kdfparams/salt"));let l=null;const u=Pt(t,"crypto/kdfparams/prf");u==="hmac-sha256"?l="sha256":u==="hmac-sha512"?l="sha512":s("prf",u);const v=parseInt(Pt(t,"crypto/kdfparams/c")),x=parseInt(Pt(t,"crypto/kdfparams/dklen"));return x!==32&&s("dklen",x),r(i,p,v,x,l)}}return Ss.throwArgumentError("unsupported key-derivation function","kdf",o)}function Su(t,e){const r=JSON.parse(t),a=_u(r,e,Eu,qd.syncScrypt);return Au(r,a)}function Tu(t,e,r){return Y9(this,void 0,void 0,function*(){const a=JSON.parse(t),n=yield _u(a,e,em,qd.scrypt,r);return Au(a,n)})}function Nu(t,e,r,a){try{if(Be(t.address)!==Ia(t.privateKey))throw new Error("address/privateKey mismatch");if(bl(t)){const S=t.mnemonic;if(sr.fromMnemonic(S.phrase,null,S.locale).derivePath(S.path||Nn).privateKey!=t.privateKey)throw new Error("mnemonic mismatch")}}catch(S){return Promise.reject(S)}typeof r=="function"&&!a&&(a=r,r={}),r||(r={});const n=se(t.privateKey),i=Vd(e);let o=null,s=null,p=null;if(bl(t)){const S=t.mnemonic;o=se(O1(S.phrase,S.locale||"en")),s=S.path||Nn,p=S.locale||"en"}let l=r.client;l||(l="ethers.js");let u=null;r.salt?u=se(r.salt):u=hn(32);let v=null;if(r.iv){if(v=se(r.iv),v.length!==16)throw new Error("invalid iv")}else v=hn(16);let x=null;if(r.uuid){if(x=se(r.uuid),x.length!==16)throw new Error("invalid uuid")}else x=hn(16);let A=1<<17,N=8,O=1;return r.scrypt&&(r.scrypt.N&&(A=r.scrypt.N),r.scrypt.r&&(N=r.scrypt.r),r.scrypt.p&&(O=r.scrypt.p)),qd.scrypt(i,u,A,N,O,64,a).then(S=>{S=se(S);const I=S.slice(0,16),$=S.slice(16,32),H=S.slice(32,64),U=new na.Counter(v),B=new na.ModeOfOperation.ctr(I,U),j=se(B.encrypt(n)),Q=qe(it([$,j])),J={address:t.address.substring(2).toLowerCase(),id:W9(x),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:pe(v).substring(2)},ciphertext:pe(j).substring(2),kdf:"scrypt",kdfparams:{salt:pe(u).substring(2),n:A,dklen:32,p:O,r:N},mac:Q.substring(2)}};if(o){const k=hn(16),R=new na.Counter(k),V=new na.ModeOfOperation.ctr(H,R),X=se(V.encrypt(o)),w=new Date,d=w.getUTCFullYear()+"-"+Ci(w.getUTCMonth()+1,2)+"-"+Ci(w.getUTCDate(),2)+"T"+Ci(w.getUTCHours(),2)+"-"+Ci(w.getUTCMinutes(),2)+"-"+Ci(w.getUTCSeconds(),2)+".0Z";J["x-ethers"]={client:l,gethFilename:"UTC--"+d+"--"+J.address,mnemonicCounter:pe(k).substring(2),mnemonicCiphertext:pe(X).substring(2),path:s,locale:p,version:"0.1"}}return JSON.stringify(J)})}function Pu(t,e,r){if(io(t)){r&&r(0);const a=jd(t,e);return r&&r(1),Promise.resolve(a)}return oo(t)?Tu(t,e,r):Promise.reject(new Error("invalid JSON wallet"))}function Ou(t,e){if(io(t))return jd(t,e);if(oo(t))return Su(t,e);throw new Error("invalid JSON wallet")}const tm=Object.freeze(Object.defineProperty({__proto__:null,decryptCrowdsale:jd,decryptJsonWallet:Pu,decryptJsonWalletSync:Ou,decryptKeystore:Tu,decryptKeystoreSync:Su,encryptKeystore:Nu,getJsonWalletAddress:xu,isCrowdsaleWallet:io,isKeystoreWallet:oo},Symbol.toStringTag,{value:"Module"})),rm="wallet/5.7.0";var yl=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const Fn=new L(rm);function am(t){return t!=null&&Se(t.privateKey,32)&&t.address!=null}function nm(t){const e=t.mnemonic;return e&&e.phrase}class Na extends Ua{constructor(e,r){if(super(),am(e)){const a=new rn(e.privateKey);if(Z(this,"_signingKey",()=>a),Z(this,"address",Ia(this.publicKey)),this.address!==Be(e.address)&&Fn.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),nm(e)){const n=e.mnemonic;Z(this,"_mnemonic",()=>({phrase:n.phrase,path:n.path||Nn,locale:n.locale||"en"}));const i=this.mnemonic,o=sr.fromMnemonic(i.phrase,null,i.locale).derivePath(i.path);Ia(o.privateKey)!==this.address&&Fn.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else Z(this,"_mnemonic",()=>null)}else{if(rn.isSigningKey(e))e.curve!=="secp256k1"&&Fn.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),Z(this,"_signingKey",()=>e);else{typeof e=="string"&&e.match(/^[0-9a-f]*$/i)&&e.length===64&&(e="0x"+e);const a=new rn(e);Z(this,"_signingKey",()=>a)}Z(this,"_mnemonic",()=>null),Z(this,"address",Ia(this.publicKey))}r&&!Cn.isProvider(r)&&Fn.throwArgumentError("invalid provider","provider",r),Z(this,"provider",r||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new Na(this,e)}signTransaction(e){return yt(e).then(r=>{r.from!=null&&(Be(r.from)!==this.address&&Fn.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete r.from);const a=this._signingKey().signDigest(qe(E0(r)));return E0(r,a)})}signMessage(e){return yl(this,void 0,void 0,function*(){return oi(this._signingKey().signDigest(Z0(e)))})}_signTypedData(e,r,a){return yl(this,void 0,void 0,function*(){const n=yield gt.resolveNames(e,r,a,i=>(this.provider==null&&Fn.throwError("cannot resolve ENS names without a provider",L.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:i}),this.provider.resolveName(i)));return oi(this._signingKey().signDigest(gt.hash(n.domain,r,n.value)))})}encrypt(e,r,a){if(typeof r=="function"&&!a&&(a=r,r={}),a&&typeof a!="function")throw new Error("invalid callback");return r||(r={}),Nu(this,e,r,a)}static createRandom(e){let r=hn(16);e||(e={}),e.extraEntropy&&(r=se(xt(qe(it([r,e.extraEntropy])),0,16)));const a=I1(r,e.locale);return Na.fromMnemonic(a,e.path,e.locale)}static fromEncryptedJson(e,r,a){return Pu(e,r,a).then(n=>new Na(n))}static fromEncryptedJsonSync(e,r){return new Na(Ou(e,r))}static fromMnemonic(e,r,a){return r||(r=Nn),new Na(sr.fromMnemonic(e,null,a).derivePath(r))}}function $d(t,e){return Ti(Z0(t),e)}function Gd(t,e,r,a){return Ti(gt.hash(t,e,r),a)}const im=Object.freeze(Object.defineProperty({__proto__:null,Wallet:Na,verifyMessage:$d,verifyTypedData:Gd},Symbol.toStringTag,{value:"Module"})),om="networks/5.7.1",gl=new L(om);function sm(t){return t&&typeof t.renetwork=="function"}function _a(t){const e=function(r,a){a==null&&(a={});const n=[];if(r.InfuraProvider&&a.infura!=="-")try{n.push(new r.InfuraProvider(t,a.infura))}catch{}if(r.EtherscanProvider&&a.etherscan!=="-")try{n.push(new r.EtherscanProvider(t,a.etherscan))}catch{}if(r.AlchemyProvider&&a.alchemy!=="-")try{n.push(new r.AlchemyProvider(t,a.alchemy))}catch{}if(r.PocketProvider&&a.pocket!=="-"){const i=["goerli","ropsten","rinkeby","sepolia"];try{const o=new r.PocketProvider(t,a.pocket);o.network&&i.indexOf(o.network.name)===-1&&n.push(o)}catch{}}if(r.CloudflareProvider&&a.cloudflare!=="-")try{n.push(new r.CloudflareProvider(t))}catch{}if(r.AnkrProvider&&a.ankr!=="-")try{const i=["ropsten"],o=new r.AnkrProvider(t,a.ankr);o.network&&i.indexOf(o.network.name)===-1&&n.push(o)}catch{}if(n.length===0)return null;if(r.FallbackProvider){let i=1;return a.quorum!=null?i=a.quorum:t==="homestead"&&(i=2),new r.FallbackProvider(n,i)}return n[0]};return e.renetwork=function(r){return _a(r)},e}function T0(t,e){const r=function(a,n){return a.JsonRpcProvider?new a.JsonRpcProvider(t,e):null};return r.renetwork=function(a){return T0(t,a)},r}const xl={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:_a("homestead")},wl={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:_a("ropsten")},Al={chainId:63,name:"classicMordor",_defaultProvider:T0("https://www.ethercluster.com/mordor","classicMordor")},H1={unspecified:{chainId:0,name:"unspecified"},homestead:xl,mainnet:xl,morden:{chainId:2,name:"morden"},ropsten:wl,testnet:wl,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:_a("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:_a("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:_a("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:_a("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:T0("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:Al,classicTestnet:Al,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:T0("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:_a("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:_a("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function Hd(t){if(t==null)return null;if(typeof t=="number"){for(const a in H1){const n=H1[a];if(n.chainId===t)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:t,name:"unknown"}}if(typeof t=="string"){const a=H1[t];return a==null?null:{name:a.name,chainId:a.chainId,ensAddress:a.ensAddress,_defaultProvider:a._defaultProvider||null}}const e=H1[t.name];if(!e)return typeof t.chainId!="number"&&gl.throwArgumentError("invalid network chainId","network",t),t;t.chainId!==0&&t.chainId!==e.chainId&&gl.throwArgumentError("network chainId mismatch","network",t);let r=t._defaultProvider||null;return r==null&&e._defaultProvider&&(sm(e._defaultProvider)?r=e._defaultProvider.renetwork(t):r=e._defaultProvider),{name:t.name,chainId:e.chainId,ensAddress:t.ensAddress||e.ensAddress||null,_defaultProvider:r}}const dm="web/5.7.1";var pm=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};function lm(t,e){return pm(this,void 0,void 0,function*(){e==null&&(e={});const r={method:e.method||"GET",headers:e.headers||{},body:e.body||void 0};if(e.skipFetchSetup!==!0&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),e.fetchOptions!=null){const o=e.fetchOptions;o.mode&&(r.mode=o.mode),o.cache&&(r.cache=o.cache),o.credentials&&(r.credentials=o.credentials),o.redirect&&(r.redirect=o.redirect),o.referrer&&(r.referrer=o.referrer)}const a=yield fetch(t,r),n=yield a.arrayBuffer(),i={};return a.headers.forEach?a.headers.forEach((o,s)=>{i[s.toLowerCase()]=o}):a.headers.keys().forEach(o=>{i[o.toLowerCase()]=a.headers.get(o)}),{headers:i,statusCode:a.status,statusMessage:a.statusText,body:se(new Uint8Array(n))}})}var cm=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const Br=new L(dm);function El(t){return new Promise(e=>{setTimeout(e,t)})}function za(t,e){if(t==null)return null;if(typeof t=="string")return t;if(gi(t)){if(e&&(e.split("/")[0]==="text"||e.split(";")[0].trim()==="application/json"))try{return La(t)}catch{}return pe(t)}return t}function um(t){return St(t.replace(/%([0-9a-f][0-9a-f])/gi,(e,r)=>String.fromCharCode(parseInt(r,16))))}function zd(t,e,r){const a=typeof t=="object"&&t.throttleLimit!=null?t.throttleLimit:12;Br.assertArgument(a>0&&a%1===0,"invalid connection throttle limit","connection.throttleLimit",a);const n=typeof t=="object"?t.throttleCallback:null,i=typeof t=="object"&&typeof t.throttleSlotInterval=="number"?t.throttleSlotInterval:100;Br.assertArgument(i>0&&i%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",i);const o=typeof t=="object"?!!t.errorPassThrough:!1,s={};let p=null;const l={method:"GET"};let u=!1,v=2*60*1e3;if(typeof t=="string")p=t;else if(typeof t=="object"){if((t==null||t.url==null)&&Br.throwArgumentError("missing URL","connection.url",t),p=t.url,typeof t.timeout=="number"&&t.timeout>0&&(v=t.timeout),t.headers)for(const I in t.headers)s[I.toLowerCase()]={key:I,value:String(t.headers[I])},["if-none-match","if-modified-since"].indexOf(I.toLowerCase())>=0&&(u=!0);if(l.allowGzip=!!t.allowGzip,t.user!=null&&t.password!=null){p.substring(0,6)!=="https:"&&t.allowInsecureAuthentication!==!0&&Br.throwError("basic authentication requires a secure https url",L.errors.INVALID_ARGUMENT,{argument:"url",url:p,user:t.user,password:"[REDACTED]"});const I=t.user+":"+t.password;s.authorization={key:"Authorization",value:"Basic "+Ed(St(I))}}t.skipFetchSetup!=null&&(l.skipFetchSetup=!!t.skipFetchSetup),t.fetchOptions!=null&&(l.fetchOptions=ft(t.fetchOptions))}const x=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),A=p?p.match(x):null;if(A)try{const I={statusCode:200,statusMessage:"OK",headers:{"content-type":A[1]||"text/plain"},body:A[2]?Ad(A[3]):um(A[3])};let $=I.body;return r&&($=r(I.body,I)),Promise.resolve($)}catch(I){Br.throwError("processing response error",L.errors.SERVER_ERROR,{body:za(A[1],A[2]),error:I,requestBody:null,requestMethod:"GET",url:p})}e&&(l.method="POST",l.body=e,s["content-type"]==null&&(s["content-type"]={key:"Content-Type",value:"application/octet-stream"}),s["content-length"]==null&&(s["content-length"]={key:"Content-Length",value:String(e.length)}));const N={};Object.keys(s).forEach(I=>{const $=s[I];N[$.key]=$.value}),l.headers=N;const O=function(){let I=null;return{promise:new Promise(function(U,B){v&&(I=setTimeout(()=>{I!=null&&(I=null,B(Br.makeError("timeout",L.errors.TIMEOUT,{requestBody:za(l.body,N["content-type"]),requestMethod:l.method,timeout:v,url:p})))},v))}),cancel:function(){I!=null&&(clearTimeout(I),I=null)}}}(),S=function(){return cm(this,void 0,void 0,function*(){for(let I=0;I<a;I++){let $=null;try{if($=yield lm(p,l),I<a){if($.statusCode===301||$.statusCode===302){const U=$.headers.location||"";if(l.method==="GET"&&U.match(/^https:/)){p=$.headers.location;continue}}else if($.statusCode===429){let U=!0;if(n&&(U=yield n(I,p)),U){let B=0;const j=$.headers["retry-after"];typeof j=="string"&&j.match(/^[1-9][0-9]*$/)?B=parseInt(j)*1e3:B=i*parseInt(String(Math.random()*Math.pow(2,I))),yield El(B);continue}}}}catch(U){$=U.response,$==null&&(O.cancel(),Br.throwError("missing response",L.errors.SERVER_ERROR,{requestBody:za(l.body,N["content-type"]),requestMethod:l.method,serverError:U,url:p}))}let H=$.body;if(u&&$.statusCode===304?H=null:!o&&($.statusCode<200||$.statusCode>=300)&&(O.cancel(),Br.throwError("bad response",L.errors.SERVER_ERROR,{status:$.statusCode,headers:$.headers,body:za(H,$.headers?$.headers["content-type"]:null),requestBody:za(l.body,N["content-type"]),requestMethod:l.method,url:p})),r)try{const U=yield r(H,$);return O.cancel(),U}catch(U){if(U.throttleRetry&&I<a){let B=!0;if(n&&(B=yield n(I,p)),B){const j=i*parseInt(String(Math.random()*Math.pow(2,I)));yield El(j);continue}}O.cancel(),Br.throwError("processing response error",L.errors.SERVER_ERROR,{body:za(H,$.headers?$.headers["content-type"]:null),error:U,requestBody:za(l.body,N["content-type"]),requestMethod:l.method,url:p})}return O.cancel(),H}return Br.throwError("failed response",L.errors.SERVER_ERROR,{requestBody:za(l.body,N["content-type"]),requestMethod:l.method,url:p})})}();return Promise.race([O.promise,S])}function Bn(t,e,r){let a=(i,o)=>{let s=null;if(i!=null)try{s=JSON.parse(La(i))}catch(p){Br.throwError("invalid JSON",L.errors.SERVER_ERROR,{body:i,error:p})}return r&&(s=r(s,o)),s},n=null;if(e!=null){n=St(e);const i=typeof t=="string"?{url:t}:ft(t);i.headers?Object.keys(i.headers).filter(s=>s.toLowerCase()==="content-type").length!==0||(i.headers=ft(i.headers),i.headers["content-type"]="application/json"):i.headers={"content-type":"application/json"},t=i}return zd(t,n,a)}function en(t,e){return e||(e={}),e=ft(e),e.floor==null&&(e.floor=0),e.ceiling==null&&(e.ceiling=1e4),e.interval==null&&(e.interval=250),new Promise(function(r,a){let n=null,i=!1;const o=()=>i?!1:(i=!0,n&&clearTimeout(n),!0);e.timeout&&(n=setTimeout(()=>{o()&&a(new Error("timeout"))},e.timeout));const s=e.retryLimit;let p=0;function l(){return t().then(function(u){if(u!==void 0)o()&&r(u);else if(e.oncePoll)e.oncePoll.once("poll",l);else if(e.onceBlock)e.onceBlock.once("block",l);else if(!i){if(p++,p>s){o()&&a(new Error("retry limit reached"));return}let v=e.interval*parseInt(String(Math.random()*Math.pow(2,p)));v<e.floor&&(v=e.floor),v>e.ceiling&&(v=e.ceiling),setTimeout(l,v)}return null},function(u){o()&&a(u)})}l()})}const fm=Object.freeze(Object.defineProperty({__proto__:null,_fetchData:zd,fetchJson:Bn,poll:en},Symbol.toStringTag,{value:"Module"}));var N0="qpzry9x8gf2tvdw0s3jn54khce6mua7l",Ts={};for(var z1=0;z1<N0.length;z1++){var Uo=N0.charAt(z1);if(Ts[Uo]!==void 0)throw new TypeError(Uo+" is ambiguous");Ts[Uo]=z1}function ti(t){var e=t>>25;return(t&33554431)<<5^-(e>>0&1)&996825010^-(e>>1&1)&642813549^-(e>>2&1)&513874426^-(e>>3&1)&1027748829^-(e>>4&1)&705979059}function Iu(t){for(var e=1,r=0;r<t.length;++r){var a=t.charCodeAt(r);if(a<33||a>126)return"Invalid prefix ("+t+")";e=ti(e)^a>>5}for(e=ti(e),r=0;r<t.length;++r){var n=t.charCodeAt(r);e=ti(e)^n&31}return e}function hm(t,e,r){if(r=r||90,t.length+7+e.length>r)throw new TypeError("Exceeds length limit");t=t.toLowerCase();var a=Iu(t);if(typeof a=="string")throw new Error(a);for(var n=t+"1",i=0;i<e.length;++i){var o=e[i];if(o>>5)throw new Error("Non 5-bit word");a=ti(a)^o,n+=N0.charAt(o)}for(i=0;i<6;++i)a=ti(a);for(a^=1,i=0;i<6;++i){var s=a>>(5-i)*5&31;n+=N0.charAt(s)}return n}function ku(t,e){if(e=e||90,t.length<8)return t+" too short";if(t.length>e)return"Exceeds length limit";var r=t.toLowerCase(),a=t.toUpperCase();if(t!==r&&t!==a)return"Mixed-case string "+t;t=r;var n=t.lastIndexOf("1");if(n===-1)return"No separator character for "+t;if(n===0)return"Missing prefix for "+t;var i=t.slice(0,n),o=t.slice(n+1);if(o.length<6)return"Data too short";var s=Iu(i);if(typeof s=="string")return s;for(var p=[],l=0;l<o.length;++l){var u=o.charAt(l),v=Ts[u];if(v===void 0)return"Unknown character "+u;s=ti(s)^v,!(l+6>=o.length)&&p.push(v)}return s!==1?"Invalid checksum for "+t:{prefix:i,words:p}}function mm(){var t=ku.apply(null,arguments);if(typeof t=="object")return t}function vm(t){var e=ku.apply(null,arguments);if(typeof e=="object")return e;throw new Error(e)}function so(t,e,r,a){for(var n=0,i=0,o=(1<<r)-1,s=[],p=0;p<t.length;++p)for(n=n<<e|t[p],i+=e;i>=r;)i-=r,s.push(n>>i&o);if(a)i>0&&s.push(n<<r-i&o);else{if(i>=e)return"Excess padding";if(n<<r-i&o)return"Non-zero padding"}return s}function bm(t){var e=so(t,8,5,!0);if(Array.isArray(e))return e}function ym(t){var e=so(t,8,5,!0);if(Array.isArray(e))return e;throw new Error(e)}function gm(t){var e=so(t,5,8,!1);if(Array.isArray(e))return e}function xm(t){var e=so(t,5,8,!1);if(Array.isArray(e))return e;throw new Error(e)}var wm={decodeUnsafe:mm,decode:vm,encode:hm,toWordsUnsafe:bm,toWords:ym,fromWordsUnsafe:gm,fromWords:xm};const _l=bi(wm),Xt="providers/5.7.2",Di=new L(Xt);class he{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){const e={},r=this.address.bind(this),a=this.bigNumber.bind(this),n=this.blockTag.bind(this),i=this.data.bind(this),o=this.hash.bind(this),s=this.hex.bind(this),p=this.number.bind(this),l=this.type.bind(this),u=v=>this.data(v,!0);return e.transaction={hash:o,type:l,accessList:he.allowNull(this.accessList.bind(this),null),blockHash:he.allowNull(o,null),blockNumber:he.allowNull(p,null),transactionIndex:he.allowNull(p,null),confirmations:he.allowNull(p,null),from:r,gasPrice:he.allowNull(a),maxPriorityFeePerGas:he.allowNull(a),maxFeePerGas:he.allowNull(a),gasLimit:a,to:he.allowNull(r,null),value:a,nonce:p,data:i,r:he.allowNull(this.uint256),s:he.allowNull(this.uint256),v:he.allowNull(p),creates:he.allowNull(r,null),raw:he.allowNull(i)},e.transactionRequest={from:he.allowNull(r),nonce:he.allowNull(p),gasLimit:he.allowNull(a),gasPrice:he.allowNull(a),maxPriorityFeePerGas:he.allowNull(a),maxFeePerGas:he.allowNull(a),to:he.allowNull(r),value:he.allowNull(a),data:he.allowNull(u),type:he.allowNull(p),accessList:he.allowNull(this.accessList.bind(this),null)},e.receiptLog={transactionIndex:p,blockNumber:p,transactionHash:o,address:r,topics:he.arrayOf(o),data:i,logIndex:p,blockHash:o},e.receipt={to:he.allowNull(this.address,null),from:he.allowNull(this.address,null),contractAddress:he.allowNull(r,null),transactionIndex:p,root:he.allowNull(s),gasUsed:a,logsBloom:he.allowNull(i),blockHash:o,transactionHash:o,logs:he.arrayOf(this.receiptLog.bind(this)),blockNumber:p,confirmations:he.allowNull(p,null),cumulativeGasUsed:a,effectiveGasPrice:he.allowNull(a),status:he.allowNull(p),type:l},e.block={hash:he.allowNull(o),parentHash:o,number:p,timestamp:p,nonce:he.allowNull(s),difficulty:this.difficulty.bind(this),gasLimit:a,gasUsed:a,miner:he.allowNull(r),extraData:i,transactions:he.allowNull(he.arrayOf(o)),baseFeePerGas:he.allowNull(a)},e.blockWithTransactions=ft(e.block),e.blockWithTransactions.transactions=he.allowNull(he.arrayOf(this.transactionResponse.bind(this))),e.filter={fromBlock:he.allowNull(n,void 0),toBlock:he.allowNull(n,void 0),blockHash:he.allowNull(o,void 0),address:he.allowNull(r,void 0),topics:he.allowNull(this.topics.bind(this),void 0)},e.filterLog={blockNumber:he.allowNull(p),blockHash:he.allowNull(o),transactionIndex:p,removed:he.allowNull(this.boolean.bind(this)),address:r,data:he.allowFalsish(i,"0x"),topics:he.arrayOf(o),transactionHash:o,logIndex:p},e}accessList(e){return Va(e||[])}number(e){return e==="0x"?0:ne.from(e).toNumber()}type(e){return e==="0x"||e==null?0:ne.from(e).toNumber()}bigNumber(e){return ne.from(e)}boolean(e){if(typeof e=="boolean")return e;if(typeof e=="string"){if(e=e.toLowerCase(),e==="true")return!0;if(e==="false")return!1}throw new Error("invalid boolean - "+e)}hex(e,r){return typeof e=="string"&&(!r&&e.substring(0,2)!=="0x"&&(e="0x"+e),Se(e))?e.toLowerCase():Di.throwArgumentError("invalid hash","value",e)}data(e,r){const a=this.hex(e,r);if(a.length%2!==0)throw new Error("invalid data; odd-length - "+e);return a}address(e){return Be(e)}callAddress(e){if(!Se(e,32))return null;const r=Be(xt(e,12));return r===si?null:r}contractAddress(e){return T1(e)}blockTag(e){if(e==null)return"latest";if(e==="earliest")return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if(typeof e=="number"||Se(e))return xi(e);throw new Error("invalid blockTag")}hash(e,r){const a=this.hex(e,r);return qr(a)!==32?Di.throwArgumentError("invalid hash","value",e):a}difficulty(e){if(e==null)return null;const r=ne.from(e);try{return r.toNumber()}catch{}return null}uint256(e){if(!Se(e))throw new Error("invalid uint256");return Qe(e,32)}_block(e,r){e.author!=null&&e.miner==null&&(e.miner=e.author);const a=e._difficulty!=null?e._difficulty:e.difficulty,n=he.check(r,e);return n._difficulty=a==null?null:ne.from(a),n}block(e){return this._block(e,this.formats.block)}blockWithTransactions(e){return this._block(e,this.formats.blockWithTransactions)}transactionRequest(e){return he.check(this.formats.transactionRequest,e)}transactionResponse(e){e.gas!=null&&e.gasLimit==null&&(e.gasLimit=e.gas),e.to&&ne.from(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),e.input!=null&&e.data==null&&(e.data=e.input),e.to==null&&e.creates==null&&(e.creates=this.contractAddress(e)),(e.type===1||e.type===2)&&e.accessList==null&&(e.accessList=[]);const r=he.check(this.formats.transaction,e);if(e.chainId!=null){let a=e.chainId;Se(a)&&(a=ne.from(a).toNumber()),r.chainId=a}else{let a=e.networkId;a==null&&r.v==null&&(a=e.chainId),Se(a)&&(a=ne.from(a).toNumber()),typeof a!="number"&&r.v!=null&&(a=(r.v-35)/2,a<0&&(a=0),a=parseInt(a)),typeof a!="number"&&(a=0),r.chainId=a}return r.blockHash&&r.blockHash.replace(/0/g,"")==="x"&&(r.blockHash=null),r}transaction(e){return Cd(e)}receiptLog(e){return he.check(this.formats.receiptLog,e)}receipt(e){const r=he.check(this.formats.receipt,e);if(r.root!=null)if(r.root.length<=4){const a=ne.from(r.root).toNumber();a===0||a===1?(r.status!=null&&r.status!==a&&Di.throwArgumentError("alt-root-status/status mismatch","value",{root:r.root,status:r.status}),r.status=a,delete r.root):Di.throwArgumentError("invalid alt-root-status","value.root",r.root)}else r.root.length!==66&&Di.throwArgumentError("invalid root hash","value.root",r.root);return r.status!=null&&(r.byzantium=!0),r}topics(e){return Array.isArray(e)?e.map(r=>this.topics(r)):e!=null?this.hash(e,!0):null}filter(e){return he.check(this.formats.filter,e)}filterLog(e){return he.check(this.formats.filterLog,e)}static check(e,r){const a={};for(const n in e)try{const i=e[n](r[n]);i!==void 0&&(a[n]=i)}catch(i){throw i.checkKey=n,i.checkValue=r[n],i}return a}static allowNull(e,r){return function(a){return a==null?r:e(a)}}static allowFalsish(e,r){return function(a){return a?e(a):r}}static arrayOf(e){return function(r){if(!Array.isArray(r))throw new Error("not an array");const a=[];return r.forEach(function(n){a.push(e(n))}),a}}}function Cu(t){return t&&typeof t.isCommunityResource=="function"}function Ns(t){return Cu(t)&&t.isCommunityResource()}let Sl=!1;function k1(){Sl||(Sl=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}var _e=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const Ne=new L(Xt),Am=10;function Tl(t){return t==null?"null":(qr(t)!==32&&Ne.throwArgumentError("invalid topic","topic",t),t.toLowerCase())}function Nl(t){for(t=t.slice();t.length>0&&t[t.length-1]==null;)t.pop();return t.map(e=>{if(Array.isArray(e)){const r={};e.forEach(n=>{r[Tl(n)]=!0});const a=Object.keys(r);return a.sort(),a.join("|")}else return Tl(e)}).join("&")}function Em(t){return t===""?[]:t.split(/&/g).map(e=>{if(e==="")return[];const r=e.split("|").map(a=>a==="null"?null:a);return r.length===1?r[0]:r})}function Ln(t){if(typeof t=="string"){if(t=t.toLowerCase(),qr(t)===32)return"tx:"+t;if(t.indexOf(":")===-1)return t}else{if(Array.isArray(t))return"filter:*:"+Nl(t);if(T5.isForkEvent(t))throw Ne.warn("not implemented"),new Error("not implemented");if(t&&typeof t=="object")return"filter:"+(t.address||"*")+":"+Nl(t.topics||[])}throw new Error("invalid event - "+t)}function Ri(){return new Date().getTime()}function Pl(t){return new Promise(e=>{setTimeout(e,t)})}const _m=["block","network","pending","poll"];class Sm{constructor(e,r,a){Z(this,"tag",e),Z(this,"listener",r),Z(this,"once",a),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const e=this.tag.split(":");return e[0]!=="tx"?null:e[1]}get filter(){const e=this.tag.split(":");if(e[0]!=="filter")return null;const r=e[1],a=Em(e[2]),n={};return a.length>0&&(n.topics=a),r&&r!=="*"&&(n.address=r),n}pollable(){return this.tag.indexOf(":")>=0||_m.indexOf(this.tag)>=0}}const Tm={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function Vo(t){return Qe(ne.from(t).toHexString(),32)}function Ol(t){return Sn.encode(it([t,xt(fa(fa(t)),0,4)]))}const Du=new RegExp("^(ipfs)://(.*)$","i"),Il=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),Du,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function l0(t,e){try{return La(f1(t,e))}catch{}return null}function f1(t,e){if(t==="0x")return null;const r=ne.from(xt(t,e,e+32)).toNumber(),a=ne.from(xt(t,r,r+32)).toNumber();return xt(t,r+32,r+32+a)}function jo(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Ne.throwArgumentError("unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}function kl(t){const e=se(t);if(e.length>32)throw new Error("internal; should not happen");const r=new Uint8Array(32);return r.set(e,32-e.length),r}function Nm(t){if(t.length%32===0)return t;const e=new Uint8Array(Math.ceil(t.length/32)*32);return e.set(t),e}function Ru(t){const e=[];let r=0;for(let a=0;a<t.length;a++)e.push(null),r+=32;for(let a=0;a<t.length;a++){const n=se(t[a]);e[a]=kl(r),e.push(kl(n.length)),e.push(Nm(n)),r+=32+Math.ceil(n.length/32)*32}return Vt(e)}class Ps{constructor(e,r,a,n){Z(this,"provider",e),Z(this,"name",a),Z(this,"address",e.formatter.address(r)),Z(this,"_resolvedAddress",n)}supportsWildcard(){return this._supportsEip2544||(this._supportsEip2544=this.provider.call({to:this.address,data:"0x01ffc9a79061b92300000000000000000000000000000000000000000000000000000000"}).then(e=>ne.from(e).eq(1)).catch(e=>{if(e.code===L.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,e})),this._supportsEip2544}_fetch(e,r){return _e(this,void 0,void 0,function*(){const a={to:this.address,ccipReadEnabled:!0,data:Vt([e,ei(this.name),r||"0x"])};let n=!1;(yield this.supportsWildcard())&&(n=!0,a.data=Vt(["0x9061b923",Ru([_d(this.name),a.data])]));try{let i=yield this.provider.call(a);return se(i).length%32===4&&Ne.throwError("resolver threw error",L.errors.CALL_EXCEPTION,{transaction:a,data:i}),n&&(i=f1(i,0)),i}catch(i){if(i.code===L.errors.CALL_EXCEPTION)return null;throw i}})}_fetchBytes(e,r){return _e(this,void 0,void 0,function*(){const a=yield this._fetch(e,r);return a!=null?f1(a,0):null})}_getAddress(e,r){const a=Tm[String(e)];if(a==null&&Ne.throwError(`unsupported coin type: ${e}`,L.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${e})`}),a.ilk==="eth")return this.provider.formatter.address(r);const n=se(r);if(a.p2pkh!=null){const i=r.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(i){const o=parseInt(i[1],16);if(i[2].length===o*2&&o>=1&&o<=75)return Ol(it([[a.p2pkh],"0x"+i[2]]))}}if(a.p2sh!=null){const i=r.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(i){const o=parseInt(i[1],16);if(i[2].length===o*2&&o>=1&&o<=75)return Ol(it([[a.p2sh],"0x"+i[2]]))}}if(a.prefix!=null){const i=n[1];let o=n[0];if(o===0?i!==20&&i!==32&&(o=-1):o=-1,o>=0&&n.length===2+i&&i>=1&&i<=75){const s=_l.toWords(n.slice(2));return s.unshift(o),_l.encode(a.prefix,s)}}return null}getAddress(e){return _e(this,void 0,void 0,function*(){if(e==null&&(e=60),e===60)try{const n=yield this._fetch("0x3b3b57de");return n==="0x"||n===md?null:this.provider.formatter.callAddress(n)}catch(n){if(n.code===L.errors.CALL_EXCEPTION)return null;throw n}const r=yield this._fetchBytes("0xf1cb7e06",Vo(e));if(r==null||r==="0x")return null;const a=this._getAddress(e,r);return a==null&&Ne.throwError("invalid or unsupported coin data",L.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${e})`,coinType:e,data:r}),a})}getAvatar(){return _e(this,void 0,void 0,function*(){const e=[{type:"name",content:this.name}];try{const r=yield this.getText("avatar");if(r==null)return null;for(let a=0;a<Il.length;a++){const n=r.match(Il[a]);if(n==null)continue;const i=n[1].toLowerCase();switch(i){case"https":return e.push({type:"url",content:r}),{linkage:e,url:r};case"data":return e.push({type:"data",content:r}),{linkage:e,url:r};case"ipfs":return e.push({type:"ipfs",content:r}),{linkage:e,url:jo(r)};case"erc721":case"erc1155":{const o=i==="erc721"?"0xc87b56dd":"0x0e89341c";e.push({type:i,content:r});const s=this._resolvedAddress||(yield this.getAddress()),p=(n[2]||"").split("/");if(p.length!==2)return null;const l=yield this.provider.formatter.address(p[0]),u=Qe(ne.from(p[1]).toHexString(),32);if(i==="erc721"){const O=this.provider.formatter.callAddress(yield this.provider.call({to:l,data:Vt(["0x6352211e",u])}));if(s!==O)return null;e.push({type:"owner",content:O})}else if(i==="erc1155"){const O=ne.from(yield this.provider.call({to:l,data:Vt(["0x00fdd58e",Qe(s,32),u])}));if(O.isZero())return null;e.push({type:"balance",content:O.toString()})}const v={to:this.provider.formatter.address(p[0]),data:Vt([o,u])};let x=l0(yield this.provider.call(v),0);if(x==null)return null;e.push({type:"metadata-url-base",content:x}),i==="erc1155"&&(x=x.replace("{id}",u.substring(2)),e.push({type:"metadata-url-expanded",content:x})),x.match(/^ipfs:/i)&&(x=jo(x)),e.push({type:"metadata-url",content:x});const A=yield Bn(x);if(!A)return null;e.push({type:"metadata",content:JSON.stringify(A)});let N=A.image;if(typeof N!="string")return null;if(!N.match(/^(https:\/\/|data:)/i)){if(N.match(Du)==null)return null;e.push({type:"url-ipfs",content:N}),N=jo(N)}return e.push({type:"url",content:N}),{linkage:e,url:N}}}}}catch{}return null})}getContentHash(){return _e(this,void 0,void 0,function*(){const e=yield this._fetchBytes("0xbc1c58d1");if(e==null||e==="0x")return null;const r=e.match(/^0xe3010170(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);if(r){const o=parseInt(r[3],16);if(r[4].length===o*2)return"ipfs://"+Sn.encode("0x"+r[1])}const a=e.match(/^0xe5010172(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);if(a){const o=parseInt(a[3],16);if(a[4].length===o*2)return"ipns://"+Sn.encode("0x"+a[1])}const n=e.match(/^0xe40101fa011b20([0-9a-f]*)$/);if(n&&n[1].length===32*2)return"bzz://"+n[1];const i=e.match(/^0x90b2c605([0-9a-f]*)$/);if(i&&i[1].length===34*2){const o={"=":"","+":"-","/":"_"};return"sia://"+Ed("0x"+i[1]).replace(/[=+\/]/g,p=>o[p])}return Ne.throwError("invalid or unsupported content hash data",L.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:e})})}getText(e){return _e(this,void 0,void 0,function*(){let r=St(e);r=it([Vo(64),Vo(r.length),r]),r.length%32!==0&&(r=it([r,Qe("0x",32-e.length%32)]));const a=yield this._fetchBytes("0x59d1d43c",pe(r));return a==null||a==="0x"?null:La(a)})}}let qo=null,Pm=1;class po extends Cn{constructor(e){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),Z(this,"anyNetwork",e==="any"),this.anyNetwork&&(e=this.detectNetwork()),e instanceof Promise)this._networkPromise=e,e.catch(r=>{}),this._ready().catch(r=>{});else{const r=Lt(new.target,"getNetwork")(e);r?(Z(this,"_network",r),this.emit("network",r,null)):Ne.throwArgumentError("invalid network","network",e)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return _e(this,void 0,void 0,function*(){if(this._network==null){let e=null;if(this._networkPromise)try{e=yield this._networkPromise}catch{}e==null&&(e=yield this.detectNetwork()),e||Ne.throwError("no network detected",L.errors.UNKNOWN_ERROR,{}),this._network==null&&(this.anyNetwork?this._network=e:Z(this,"_network",e),this.emit("network",e,null))}return this._network})}get ready(){return en(()=>this._ready().then(e=>e,e=>{if(!(e.code===L.errors.NETWORK_ERROR&&e.event==="noNetwork"))throw e}))}static getFormatter(){return qo==null&&(qo=new he),qo}static getNetwork(e){return Hd(e??"homestead")}ccipReadFetch(e,r,a){return _e(this,void 0,void 0,function*(){if(this.disableCcipRead||a.length===0)return null;const n=e.to.toLowerCase(),i=r.toLowerCase(),o=[];for(let s=0;s<a.length;s++){const p=a[s],l=p.replace("{sender}",n).replace("{data}",i),u=p.indexOf("{data}")>=0?null:JSON.stringify({data:i,sender:n}),v=yield Bn({url:l,errorPassThrough:!0},u,(A,N)=>(A.status=N.statusCode,A));if(v.data)return v.data;const x=v.message||"unknown error";if(v.status>=400&&v.status<500)return Ne.throwError(`response not found during CCIP fetch: ${x}`,L.errors.SERVER_ERROR,{url:p,errorMessage:x});o.push(x)}return Ne.throwError(`error encountered during CCIP fetch: ${o.map(s=>JSON.stringify(s)).join(", ")}`,L.errors.SERVER_ERROR,{urls:a,errorMessages:o})})}_getInternalBlockNumber(e){return _e(this,void 0,void 0,function*(){if(yield this._ready(),e>0)for(;this._internalBlockNumber;){const n=this._internalBlockNumber;try{const i=yield n;if(Ri()-i.respTime<=e)return i.blockNumber;break}catch{if(this._internalBlockNumber===n)break}}const r=Ri(),a=yt({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then(n=>null,n=>n)}).then(({blockNumber:n,networkError:i})=>{if(i)throw this._internalBlockNumber===a&&(this._internalBlockNumber=null),i;const o=Ri();return n=ne.from(n).toNumber(),n<this._maxInternalBlockNumber&&(n=this._maxInternalBlockNumber),this._maxInternalBlockNumber=n,this._setFastBlockNumber(n),{blockNumber:n,reqTime:r,respTime:o}});return this._internalBlockNumber=a,a.catch(n=>{this._internalBlockNumber===a&&(this._internalBlockNumber=null)}),(yield a).blockNumber})}poll(){return _e(this,void 0,void 0,function*(){const e=Pm++,r=[];let a=null;try{a=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(n){this.emit("error",n);return}if(this._setFastBlockNumber(a),this.emit("poll",e,a),a===this._lastBlockNumber){this.emit("didPoll",e);return}if(this._emitted.block===-2&&(this._emitted.block=a-1),Math.abs(this._emitted.block-a)>1e3)Ne.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${a})`),this.emit("error",Ne.makeError("network block skew detected",L.errors.NETWORK_ERROR,{blockNumber:a,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",a);else for(let n=this._emitted.block+1;n<=a;n++)this.emit("block",n);this._emitted.block!==a&&(this._emitted.block=a,Object.keys(this._emitted).forEach(n=>{if(n==="block")return;const i=this._emitted[n];i!=="pending"&&a-i>12&&delete this._emitted[n]})),this._lastBlockNumber===-2&&(this._lastBlockNumber=a-1),this._events.forEach(n=>{switch(n.type){case"tx":{const i=n.hash;let o=this.getTransactionReceipt(i).then(s=>(!s||s.blockNumber==null||(this._emitted["t:"+i]=s.blockNumber,this.emit(i,s)),null)).catch(s=>{this.emit("error",s)});r.push(o);break}case"filter":{if(!n._inflight){n._inflight=!0,n._lastBlockNumber===-2&&(n._lastBlockNumber=a-1);const i=n.filter;i.fromBlock=n._lastBlockNumber+1,i.toBlock=a;const o=i.toBlock-this._maxFilterBlockRange;o>i.fromBlock&&(i.fromBlock=o),i.fromBlock<0&&(i.fromBlock=0);const s=this.getLogs(i).then(p=>{n._inflight=!1,p.length!==0&&p.forEach(l=>{l.blockNumber>n._lastBlockNumber&&(n._lastBlockNumber=l.blockNumber),this._emitted["b:"+l.blockHash]=l.blockNumber,this._emitted["t:"+l.transactionHash]=l.blockNumber,this.emit(i,l)})}).catch(p=>{this.emit("error",p),n._inflight=!1});r.push(s)}break}}}),this._lastBlockNumber=a,Promise.all(r).then(()=>{this.emit("didPoll",e)}).catch(n=>{this.emit("error",n)})})}resetEventsBlock(e){this._lastBlockNumber=e-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return _e(this,void 0,void 0,function*(){return Ne.throwError("provider does not support network detection",L.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})})}getNetwork(){return _e(this,void 0,void 0,function*(){const e=yield this._ready(),r=yield this.detectNetwork();if(e.chainId!==r.chainId){if(this.anyNetwork)return this._network=r,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",r,e),yield Pl(0),this._network;const a=Ne.makeError("underlying network changed",L.errors.NETWORK_ERROR,{event:"changed",network:e,detectedNetwork:r});throw this.emit("error",a),a}return e})}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then(e=>{this._setFastBlockNumber(e)},e=>{}),this._fastBlockNumber!=null?this._fastBlockNumber:-1}get polling(){return this._poller!=null}set polling(e){e&&!this._poller?(this._poller=setInterval(()=>{this.poll()},this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout(()=>{this.poll(),this._bootstrapPoll=setTimeout(()=>{this._poller||this.poll(),this._bootstrapPoll=null},this.pollingInterval)},0))):!e&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(e){if(typeof e!="number"||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval(()=>{this.poll()},this._pollingInterval))}_getFastBlockNumber(){const e=Ri();return e-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=e,this._fastBlockNumberPromise=this.getBlockNumber().then(r=>((this._fastBlockNumber==null||r>this._fastBlockNumber)&&(this._fastBlockNumber=r),this._fastBlockNumber))),this._fastBlockNumberPromise}_setFastBlockNumber(e){this._fastBlockNumber!=null&&e<this._fastBlockNumber||(this._fastQueryDate=Ri(),(this._fastBlockNumber==null||e>this._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))}waitForTransaction(e,r,a){return _e(this,void 0,void 0,function*(){return this._waitForTransaction(e,r??1,a||0,null)})}_waitForTransaction(e,r,a,n){return _e(this,void 0,void 0,function*(){const i=yield this.getTransactionReceipt(e);return(i?i.confirmations:0)>=r?i:new Promise((o,s)=>{const p=[];let l=!1;const u=function(){return l?!0:(l=!0,p.forEach(x=>{x()}),!1)},v=x=>{x.confirmations<r||u()||o(x)};if(this.on(e,v),p.push(()=>{this.removeListener(e,v)}),n){let x=n.startBlock,A=null;const N=O=>_e(this,void 0,void 0,function*(){l||(yield Pl(1e3),this.getTransactionCount(n.from).then(S=>_e(this,void 0,void 0,function*(){if(!l){if(S<=n.nonce)x=O;else{{const I=yield this.getTransaction(e);if(I&&I.blockNumber!=null)return}for(A==null&&(A=x-3,A<n.startBlock&&(A=n.startBlock));A<=O;){if(l)return;const I=yield this.getBlockWithTransactions(A);for(let $=0;$<I.transactions.length;$++){const H=I.transactions[$];if(H.hash===e)return;if(H.from===n.from&&H.nonce===n.nonce){if(l)return;const U=yield this.waitForTransaction(H.hash,r);if(u())return;let B="replaced";H.data===n.data&&H.to===n.to&&H.value.eq(n.value)?B="repriced":H.data==="0x"&&H.from===H.to&&H.value.isZero()&&(B="cancelled"),s(Ne.makeError("transaction was replaced",L.errors.TRANSACTION_REPLACED,{cancelled:B==="replaced"||B==="cancelled",reason:B,replacement:this._wrapTransaction(H),hash:e,receipt:U}));return}}A++}}l||this.once("block",N)}}),S=>{l||this.once("block",N)}))});if(l)return;this.once("block",N),p.push(()=>{this.removeListener("block",N)})}if(typeof a=="number"&&a>0){const x=setTimeout(()=>{u()||s(Ne.makeError("timeout exceeded",L.errors.TIMEOUT,{timeout:a}))},a);x.unref&&x.unref(),p.push(()=>{clearTimeout(x)})}})})}getBlockNumber(){return _e(this,void 0,void 0,function*(){return this._getInternalBlockNumber(0)})}getGasPrice(){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const e=yield this.perform("getGasPrice",{});try{return ne.from(e)}catch(r){return Ne.throwError("bad result from backend",L.errors.SERVER_ERROR,{method:"getGasPrice",result:e,error:r})}})}getBalance(e,r){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const a=yield yt({address:this._getAddress(e),blockTag:this._getBlockTag(r)}),n=yield this.perform("getBalance",a);try{return ne.from(n)}catch(i){return Ne.throwError("bad result from backend",L.errors.SERVER_ERROR,{method:"getBalance",params:a,result:n,error:i})}})}getTransactionCount(e,r){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const a=yield yt({address:this._getAddress(e),blockTag:this._getBlockTag(r)}),n=yield this.perform("getTransactionCount",a);try{return ne.from(n).toNumber()}catch(i){return Ne.throwError("bad result from backend",L.errors.SERVER_ERROR,{method:"getTransactionCount",params:a,result:n,error:i})}})}getCode(e,r){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const a=yield yt({address:this._getAddress(e),blockTag:this._getBlockTag(r)}),n=yield this.perform("getCode",a);try{return pe(n)}catch(i){return Ne.throwError("bad result from backend",L.errors.SERVER_ERROR,{method:"getCode",params:a,result:n,error:i})}})}getStorageAt(e,r,a){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const n=yield yt({address:this._getAddress(e),blockTag:this._getBlockTag(a),position:Promise.resolve(r).then(o=>xi(o))}),i=yield this.perform("getStorageAt",n);try{return pe(i)}catch(o){return Ne.throwError("bad result from backend",L.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:i,error:o})}})}_wrapTransaction(e,r,a){if(r!=null&&qr(r)!==32)throw new Error("invalid response - sendTransaction");const n=e;return r!=null&&e.hash!==r&&Ne.throwError("Transaction hash mismatch from Provider.sendTransaction.",L.errors.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:r}),n.wait=(i,o)=>_e(this,void 0,void 0,function*(){i==null&&(i=1),o==null&&(o=0);let s;i!==0&&a!=null&&(s={data:e.data,from:e.from,nonce:e.nonce,to:e.to,value:e.value,startBlock:a});const p=yield this._waitForTransaction(e.hash,i,o,s);return p==null&&i===0?null:(this._emitted["t:"+e.hash]=p.blockNumber,p.status===0&&Ne.throwError("transaction failed",L.errors.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e,receipt:p}),p)}),n}sendTransaction(e){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const r=yield Promise.resolve(e).then(i=>pe(i)),a=this.formatter.transaction(e);a.confirmations==null&&(a.confirmations=0);const n=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const i=yield this.perform("sendTransaction",{signedTransaction:r});return this._wrapTransaction(a,i,n)}catch(i){throw i.transaction=a,i.transactionHash=a.hash,i}})}_getTransactionRequest(e){return _e(this,void 0,void 0,function*(){const r=yield e,a={};return["from","to"].forEach(n=>{r[n]!=null&&(a[n]=Promise.resolve(r[n]).then(i=>i?this._getAddress(i):null))}),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach(n=>{r[n]!=null&&(a[n]=Promise.resolve(r[n]).then(i=>i?ne.from(i):null))}),["type"].forEach(n=>{r[n]!=null&&(a[n]=Promise.resolve(r[n]).then(i=>i??null))}),r.accessList&&(a.accessList=this.formatter.accessList(r.accessList)),["data"].forEach(n=>{r[n]!=null&&(a[n]=Promise.resolve(r[n]).then(i=>i?pe(i):null))}),this.formatter.transactionRequest(yield yt(a))})}_getFilter(e){return _e(this,void 0,void 0,function*(){e=yield e;const r={};return e.address!=null&&(r.address=this._getAddress(e.address)),["blockHash","topics"].forEach(a=>{e[a]!=null&&(r[a]=e[a])}),["fromBlock","toBlock"].forEach(a=>{e[a]!=null&&(r[a]=this._getBlockTag(e[a]))}),this.formatter.filter(yield yt(r))})}_call(e,r,a){return _e(this,void 0,void 0,function*(){a>=Am&&Ne.throwError("CCIP read exceeded maximum redirections",L.errors.SERVER_ERROR,{redirects:a,transaction:e});const n=e.to,i=yield this.perform("call",{transaction:e,blockTag:r});if(a>=0&&r==="latest"&&n!=null&&i.substring(0,10)==="0x556f1830"&&qr(i)%32===4)try{const o=xt(i,4),s=xt(o,0,32);ne.from(s).eq(n)||Ne.throwError("CCIP Read sender did not match",L.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i});const p=[],l=ne.from(xt(o,32,64)).toNumber(),u=ne.from(xt(o,l,l+32)).toNumber(),v=xt(o,l+32);for(let I=0;I<u;I++){const $=l0(v,I*32);$==null&&Ne.throwError("CCIP Read contained corrupt URL string",L.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i}),p.push($)}const x=f1(o,64);ne.from(xt(o,100,128)).isZero()||Ne.throwError("CCIP Read callback selector included junk",L.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i});const A=xt(o,96,100),N=f1(o,128),O=yield this.ccipReadFetch(e,x,p);O==null&&Ne.throwError("CCIP Read disabled or provided no URLs",L.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i});const S={to:n,data:Vt([A,Ru([O,N])])};return this._call(S,r,a+1)}catch(o){if(o.code===L.errors.SERVER_ERROR)throw o}try{return pe(i)}catch(o){return Ne.throwError("bad result from backend",L.errors.SERVER_ERROR,{method:"call",params:{transaction:e,blockTag:r},result:i,error:o})}})}call(e,r){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const a=yield yt({transaction:this._getTransactionRequest(e),blockTag:this._getBlockTag(r),ccipReadEnabled:Promise.resolve(e.ccipReadEnabled)});return this._call(a.transaction,a.blockTag,a.ccipReadEnabled?0:-1)})}estimateGas(e){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const r=yield yt({transaction:this._getTransactionRequest(e)}),a=yield this.perform("estimateGas",r);try{return ne.from(a)}catch(n){return Ne.throwError("bad result from backend",L.errors.SERVER_ERROR,{method:"estimateGas",params:r,result:a,error:n})}})}_getAddress(e){return _e(this,void 0,void 0,function*(){e=yield e,typeof e!="string"&&Ne.throwArgumentError("invalid address or ENS name","name",e);const r=yield this.resolveName(e);return r==null&&Ne.throwError("ENS name not configured",L.errors.UNSUPPORTED_OPERATION,{operation:`resolveName(${JSON.stringify(e)})`}),r})}_getBlock(e,r){return _e(this,void 0,void 0,function*(){yield this.getNetwork(),e=yield e;let a=-128;const n={includeTransactions:!!r};if(Se(e,32))n.blockHash=e;else try{n.blockTag=yield this._getBlockTag(e),Se(n.blockTag)&&(a=parseInt(n.blockTag.substring(2),16))}catch{Ne.throwArgumentError("invalid block hash or block tag","blockHashOrBlockTag",e)}return en(()=>_e(this,void 0,void 0,function*(){const i=yield this.perform("getBlock",n);if(i==null)return n.blockHash!=null&&this._emitted["b:"+n.blockHash]==null||n.blockTag!=null&&a>this._emitted.block?null:void 0;if(r){let o=null;for(let p=0;p<i.transactions.length;p++){const l=i.transactions[p];if(l.blockNumber==null)l.confirmations=0;else if(l.confirmations==null){o==null&&(o=yield this._getInternalBlockNumber(100+2*this.pollingInterval));let u=o-l.blockNumber+1;u<=0&&(u=1),l.confirmations=u}}const s=this.formatter.blockWithTransactions(i);return s.transactions=s.transactions.map(p=>this._wrapTransaction(p)),s}return this.formatter.block(i)}),{oncePoll:this})})}getBlock(e){return this._getBlock(e,!1)}getBlockWithTransactions(e){return this._getBlock(e,!0)}getTransaction(e){return _e(this,void 0,void 0,function*(){yield this.getNetwork(),e=yield e;const r={transactionHash:this.formatter.hash(e,!0)};return en(()=>_e(this,void 0,void 0,function*(){const a=yield this.perform("getTransaction",r);if(a==null)return this._emitted["t:"+e]==null?null:void 0;const n=this.formatter.transactionResponse(a);if(n.blockNumber==null)n.confirmations=0;else if(n.confirmations==null){let o=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;o<=0&&(o=1),n.confirmations=o}return this._wrapTransaction(n)}),{oncePoll:this})})}getTransactionReceipt(e){return _e(this,void 0,void 0,function*(){yield this.getNetwork(),e=yield e;const r={transactionHash:this.formatter.hash(e,!0)};return en(()=>_e(this,void 0,void 0,function*(){const a=yield this.perform("getTransactionReceipt",r);if(a==null)return this._emitted["t:"+e]==null?null:void 0;if(a.blockHash==null)return;const n=this.formatter.receipt(a);if(n.blockNumber==null)n.confirmations=0;else if(n.confirmations==null){let o=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;o<=0&&(o=1),n.confirmations=o}return n}),{oncePoll:this})})}getLogs(e){return _e(this,void 0,void 0,function*(){yield this.getNetwork();const r=yield yt({filter:this._getFilter(e)}),a=yield this.perform("getLogs",r);return a.forEach(n=>{n.removed==null&&(n.removed=!1)}),he.arrayOf(this.formatter.filterLog.bind(this.formatter))(a)})}getEtherPrice(){return _e(this,void 0,void 0,function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})})}_getBlockTag(e){return _e(this,void 0,void 0,function*(){if(e=yield e,typeof e=="number"&&e<0){e%1&&Ne.throwArgumentError("invalid BlockTag","blockTag",e);let r=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return r+=e,r<0&&(r=0),this.formatter.blockTag(r)}return this.formatter.blockTag(e)})}getResolver(e){return _e(this,void 0,void 0,function*(){let r=e;for(;;){if(r===""||r==="."||e!=="eth"&&r==="eth")return null;const a=yield this._getResolver(r,"getResolver");if(a!=null){const n=new Ps(this,a,e);return r!==e&&!(yield n.supportsWildcard())?null:n}r=r.split(".").slice(1).join(".")}})}_getResolver(e,r){return _e(this,void 0,void 0,function*(){r==null&&(r="ENS");const a=yield this.getNetwork();a.ensAddress||Ne.throwError("network does not support ENS",L.errors.UNSUPPORTED_OPERATION,{operation:r,network:a.name});try{const n=yield this.call({to:a.ensAddress,data:"0x0178b8bf"+ei(e).substring(2)});return this.formatter.callAddress(n)}catch{}return null})}resolveName(e){return _e(this,void 0,void 0,function*(){e=yield e;try{return Promise.resolve(this.formatter.address(e))}catch(a){if(Se(e))throw a}typeof e!="string"&&Ne.throwArgumentError("invalid ENS name","name",e);const r=yield this.getResolver(e);return r?yield r.getAddress():null})}lookupAddress(e){return _e(this,void 0,void 0,function*(){e=yield e,e=this.formatter.address(e);const r=e.substring(2).toLowerCase()+".addr.reverse",a=yield this._getResolver(r,"lookupAddress");if(a==null)return null;const n=l0(yield this.call({to:a,data:"0x691f3431"+ei(r).substring(2)}),0);return(yield this.resolveName(n))!=e?null:n})}getAvatar(e){return _e(this,void 0,void 0,function*(){let r=null;if(Se(e)){const i=this.formatter.address(e).substring(2).toLowerCase()+".addr.reverse",o=yield this._getResolver(i,"getAvatar");if(!o)return null;r=new Ps(this,o,i);try{const s=yield r.getAvatar();if(s)return s.url}catch(s){if(s.code!==L.errors.CALL_EXCEPTION)throw s}try{const s=l0(yield this.call({to:o,data:"0x691f3431"+ei(i).substring(2)}),0);r=yield this.getResolver(s)}catch(s){if(s.code!==L.errors.CALL_EXCEPTION)throw s;return null}}else if(r=yield this.getResolver(e),!r)return null;const a=yield r.getAvatar();return a==null?null:a.url})}perform(e,r){return Ne.throwError(e+" not implemented",L.errors.NOT_IMPLEMENTED,{operation:e})}_startEvent(e){this.polling=this._events.filter(r=>r.pollable()).length>0}_stopEvent(e){this.polling=this._events.filter(r=>r.pollable()).length>0}_addEventListener(e,r,a){const n=new Sm(Ln(e),r,a);return this._events.push(n),this._startEvent(n),this}on(e,r){return this._addEventListener(e,r,!1)}once(e,r){return this._addEventListener(e,r,!0)}emit(e,...r){let a=!1,n=[],i=Ln(e);return this._events=this._events.filter(o=>o.tag!==i?!0:(setTimeout(()=>{o.listener.apply(this,r)},0),a=!0,o.once?(n.push(o),!1):!0)),n.forEach(o=>{this._stopEvent(o)}),a}listenerCount(e){if(!e)return this._events.length;let r=Ln(e);return this._events.filter(a=>a.tag===r).length}listeners(e){if(e==null)return this._events.map(a=>a.listener);let r=Ln(e);return this._events.filter(a=>a.tag===r).map(a=>a.listener)}off(e,r){if(r==null)return this.removeAllListeners(e);const a=[];let n=!1,i=Ln(e);return this._events=this._events.filter(o=>o.tag!==i||o.listener!=r||n?!0:(n=!0,a.push(o),!1)),a.forEach(o=>{this._stopEvent(o)}),this}removeAllListeners(e){let r=[];if(e==null)r=this._events,this._events=[];else{const a=Ln(e);this._events=this._events.filter(n=>n.tag!==a?!0:(r.push(n),!1))}return r.forEach(a=>{this._stopEvent(a)}),this}}var Ea=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const kt=new L(Xt),Om=["call","estimateGas"];function Ji(t,e){if(t==null)return null;if(typeof t.message=="string"&&t.message.match("reverted")){const r=Se(t.data)?t.data:null;if(!e||r)return{message:t.message,data:r}}if(typeof t=="object"){for(const r in t){const a=Ji(t[r],e);if(a)return a}return null}if(typeof t=="string")try{return Ji(JSON.parse(t),e)}catch{}return null}function Bu(t,e,r){const a=r.transaction||r.signedTransaction;if(t==="call"){const i=Ji(e,!0);if(i)return i.data;kt.throwError("missing revert data in call exception; Transaction reverted without a reason string",L.errors.CALL_EXCEPTION,{data:"0x",transaction:a,error:e})}if(t==="estimateGas"){let i=Ji(e.body,!1);i==null&&(i=Ji(e,!1)),i&&kt.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",L.errors.UNPREDICTABLE_GAS_LIMIT,{reason:i.message,method:t,transaction:a,error:e})}let n=e.message;throw e.code===L.errors.SERVER_ERROR&&e.error&&typeof e.error.message=="string"?n=e.error.message:typeof e.body=="string"?n=e.body:typeof e.responseText=="string"&&(n=e.responseText),n=(n||"").toLowerCase(),n.match(/insufficient funds|base fee exceeds gas limit|InsufficientFunds/i)&&kt.throwError("insufficient funds for intrinsic transaction cost",L.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:a}),n.match(/nonce (is )?too low/i)&&kt.throwError("nonce has already been used",L.errors.NONCE_EXPIRED,{error:e,method:t,transaction:a}),n.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&kt.throwError("replacement fee too low",L.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:a}),n.match(/only replay-protected/i)&&kt.throwError("legacy pre-eip-155 transactions not supported",L.errors.UNSUPPORTED_OPERATION,{error:e,method:t,transaction:a}),Om.indexOf(t)>=0&&n.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&kt.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",L.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:a}),e}function Cl(t){return new Promise(function(e){setTimeout(e,t)})}function Im(t){if(t.error){const e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function Bi(t){return t&&t.toLowerCase()}const Os={};class Wd extends Ua{constructor(e,r,a){if(super(),e!==Os)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");Z(this,"provider",r),a==null&&(a=0),typeof a=="string"?(Z(this,"_address",this.provider.formatter.address(a)),Z(this,"_index",null)):typeof a=="number"?(Z(this,"_index",a),Z(this,"_address",null)):kt.throwArgumentError("invalid address or index","addressOrIndex",a)}connect(e){return kt.throwError("cannot alter JSON-RPC Signer connection",L.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new km(Os,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then(e=>(e.length<=this._index&&kt.throwError("unknown account #"+this._index,L.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(e[this._index])))}sendUncheckedTransaction(e){e=ft(e);const r=this.getAddress().then(a=>(a&&(a=a.toLowerCase()),a));if(e.gasLimit==null){const a=ft(e);a.from=r,e.gasLimit=this.provider.estimateGas(a)}return e.to!=null&&(e.to=Promise.resolve(e.to).then(a=>Ea(this,void 0,void 0,function*(){if(a==null)return null;const n=yield this.provider.resolveName(a);return n==null&&kt.throwArgumentError("provided ENS name resolves to null","tx.to",a),n}))),yt({tx:yt(e),sender:r}).then(({tx:a,sender:n})=>{a.from!=null?a.from.toLowerCase()!==n&&kt.throwArgumentError("from address mismatch","transaction",e):a.from=n;const i=this.provider.constructor.hexlifyTransaction(a,{from:!0});return this.provider.send("eth_sendTransaction",[i]).then(o=>o,o=>(typeof o.message=="string"&&o.message.match(/user denied/i)&&kt.throwError("user rejected transaction",L.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:a}),Bu("sendTransaction",o,i)))})}signTransaction(e){return kt.throwError("signing transactions is unsupported",L.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(e){return Ea(this,void 0,void 0,function*(){const r=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),a=yield this.sendUncheckedTransaction(e);try{return yield en(()=>Ea(this,void 0,void 0,function*(){const n=yield this.provider.getTransaction(a);if(n!==null)return this.provider._wrapTransaction(n,a,r)}),{oncePoll:this.provider})}catch(n){throw n.transactionHash=a,n}})}signMessage(e){return Ea(this,void 0,void 0,function*(){const r=typeof e=="string"?St(e):e,a=yield this.getAddress();try{return yield this.provider.send("personal_sign",[pe(r),a.toLowerCase()])}catch(n){throw typeof n.message=="string"&&n.message.match(/user denied/i)&&kt.throwError("user rejected signing",L.errors.ACTION_REJECTED,{action:"signMessage",from:a,messageData:e}),n}})}_legacySignMessage(e){return Ea(this,void 0,void 0,function*(){const r=typeof e=="string"?St(e):e,a=yield this.getAddress();try{return yield this.provider.send("eth_sign",[a.toLowerCase(),pe(r)])}catch(n){throw typeof n.message=="string"&&n.message.match(/user denied/i)&&kt.throwError("user rejected signing",L.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:a,messageData:e}),n}})}_signTypedData(e,r,a){return Ea(this,void 0,void 0,function*(){const n=yield gt.resolveNames(e,r,a,o=>this.provider.resolveName(o)),i=yield this.getAddress();try{return yield this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(gt.getPayload(n.domain,r,n.value))])}catch(o){throw typeof o.message=="string"&&o.message.match(/user denied/i)&&kt.throwError("user rejected signing",L.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:n.domain,types:r,value:n.value}}),o}})}unlock(e){return Ea(this,void 0,void 0,function*(){const r=this.provider,a=yield this.getAddress();return r.send("personal_unlockAccount",[a.toLowerCase(),e,null])})}}class km extends Wd{sendTransaction(e){return this.sendUncheckedTransaction(e).then(r=>({hash:r,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:a=>this.provider.waitForTransaction(r,a)}))}}const Cm={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class Pn extends po{constructor(e,r){let a=r;a==null&&(a=new Promise((n,i)=>{setTimeout(()=>{this.detectNetwork().then(o=>{n(o)},o=>{i(o)})},0)})),super(a),e||(e=Lt(this.constructor,"defaultUrl")()),typeof e=="string"?Z(this,"connection",Object.freeze({url:e})):Z(this,"connection",Object.freeze(ft(e))),this._nextId=42}get _cache(){return this._eventLoopCache==null&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork()),this._cache.detectNetwork}_uncachedDetectNetwork(){return Ea(this,void 0,void 0,function*(){yield Cl(0);let e=null;try{e=yield this.send("eth_chainId",[])}catch{try{e=yield this.send("net_version",[])}catch{}}if(e!=null){const r=Lt(this.constructor,"getNetwork");try{return r(ne.from(e).toNumber())}catch(a){return kt.throwError("could not detect network",L.errors.NETWORK_ERROR,{chainId:e,event:"invalidNetwork",serverError:a})}}return kt.throwError("could not detect network",L.errors.NETWORK_ERROR,{event:"noNetwork"})})}getSigner(e){return new Wd(Os,this,e)}getUncheckedSigner(e){return this.getSigner(e).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then(e=>e.map(r=>this.formatter.address(r)))}send(e,r){const a={method:e,params:r,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:Jt(a),provider:this});const n=["eth_chainId","eth_blockNumber"].indexOf(e)>=0;if(n&&this._cache[e])return this._cache[e];const i=Bn(this.connection,JSON.stringify(a),Im).then(o=>(this.emit("debug",{action:"response",request:a,response:o,provider:this}),o),o=>{throw this.emit("debug",{action:"response",error:o,request:a,provider:this}),o});return n&&(this._cache[e]=i,setTimeout(()=>{this._cache[e]=null},0)),i}prepareRequest(e,r){switch(e){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[Bi(r.address),r.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[Bi(r.address),r.blockTag]];case"getCode":return["eth_getCode",[Bi(r.address),r.blockTag]];case"getStorageAt":return["eth_getStorageAt",[Bi(r.address),Qe(r.position,32),r.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[r.signedTransaction]];case"getBlock":return r.blockTag?["eth_getBlockByNumber",[r.blockTag,!!r.includeTransactions]]:r.blockHash?["eth_getBlockByHash",[r.blockHash,!!r.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[r.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[r.transactionHash]];case"call":return["eth_call",[Lt(this.constructor,"hexlifyTransaction")(r.transaction,{from:!0}),r.blockTag]];case"estimateGas":return["eth_estimateGas",[Lt(this.constructor,"hexlifyTransaction")(r.transaction,{from:!0})]];case"getLogs":return r.filter&&r.filter.address!=null&&(r.filter.address=Bi(r.filter.address)),["eth_getLogs",[r.filter]]}return null}perform(e,r){return Ea(this,void 0,void 0,function*(){if(e==="call"||e==="estimateGas"){const n=r.transaction;if(n&&n.type!=null&&ne.from(n.type).isZero()&&n.maxFeePerGas==null&&n.maxPriorityFeePerGas==null){const i=yield this.getFeeData();i.maxFeePerGas==null&&i.maxPriorityFeePerGas==null&&(r=ft(r),r.transaction=ft(n),delete r.transaction.type)}}const a=this.prepareRequest(e,r);a==null&&kt.throwError(e+" not implemented",L.errors.NOT_IMPLEMENTED,{operation:e});try{return yield this.send(a[0],a[1])}catch(n){return Bu(e,n,r)}})}_startEvent(e){e.tag==="pending"&&this._startPending(),super._startEvent(e)}_startPending(){if(this._pendingFilter!=null)return;const e=this,r=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=r,r.then(function(a){function n(){e.send("eth_getFilterChanges",[a]).then(function(i){if(e._pendingFilter!=r)return null;let o=Promise.resolve();return i.forEach(function(s){e._emitted["t:"+s.toLowerCase()]="pending",o=o.then(function(){return e.getTransaction(s).then(function(p){return e.emit("pending",p),null})})}),o.then(function(){return Cl(1e3)})}).then(function(){if(e._pendingFilter!=r){e.send("eth_uninstallFilter",[a]);return}return setTimeout(function(){n()},0),null}).catch(i=>{})}return n(),a}).catch(a=>{})}_stopEvent(e){e.tag==="pending"&&this.listenerCount("pending")===0&&(this._pendingFilter=null),super._stopEvent(e)}static hexlifyTransaction(e,r){const a=ft(Cm);if(r)for(const i in r)r[i]&&(a[i]=!0);J0(e,a);const n={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach(function(i){if(e[i]==null)return;const o=xi(ne.from(e[i]));i==="gasLimit"&&(i="gas"),n[i]=o}),["from","to","data"].forEach(function(i){e[i]!=null&&(n[i]=pe(e[i]))}),e.accessList&&(n.accessList=Va(e.accessList)),n}}let Qi=null;try{if(Qi=WebSocket,Qi==null)throw new Error("inject please")}catch{const e=new L(Xt);Qi=function(){e.throwError("WebSockets not supported in this environment",L.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var $o=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const W1=new L(Xt);let Dm=1;class lo extends Pn{constructor(e,r){r==="any"&&W1.throwError("WebSocketProvider does not support 'any' network yet",L.errors.UNSUPPORTED_OPERATION,{operation:"network:any"}),typeof e=="string"?super(e,r):super("_websocket",r),this._pollingInterval=-1,this._wsReady=!1,typeof e=="string"?Z(this,"_websocket",new Qi(this.connection.url)):Z(this,"_websocket",e),Z(this,"_requests",{}),Z(this,"_subs",{}),Z(this,"_subIds",{}),Z(this,"_detectNetwork",super.detectNetwork()),this.websocket.onopen=()=>{this._wsReady=!0,Object.keys(this._requests).forEach(n=>{this.websocket.send(this._requests[n].payload)})},this.websocket.onmessage=n=>{const i=n.data,o=JSON.parse(i);if(o.id!=null){const s=String(o.id),p=this._requests[s];if(delete this._requests[s],o.result!==void 0)p.callback(null,o.result),this.emit("debug",{action:"response",request:JSON.parse(p.payload),response:o.result,provider:this});else{let l=null;o.error?(l=new Error(o.error.message||"unknown error"),Z(l,"code",o.error.code||null),Z(l,"response",i)):l=new Error("unknown error"),p.callback(l,void 0),this.emit("debug",{action:"response",error:l,request:JSON.parse(p.payload),provider:this})}}else if(o.method==="eth_subscription"){const s=this._subs[o.params.subscription];s&&s.processFunc(o.params.result)}else console.warn("this should not happen")};const a=setInterval(()=>{this.emit("poll")},1e3);a.unref&&a.unref()}get websocket(){return this._websocket}detectNetwork(){return this._detectNetwork}get pollingInterval(){return 0}resetEventsBlock(e){W1.throwError("cannot reset events block on WebSocketProvider",L.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})}set pollingInterval(e){W1.throwError("cannot set polling interval on WebSocketProvider",L.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})}poll(){return $o(this,void 0,void 0,function*(){return null})}set polling(e){e&&W1.throwError("cannot set polling on WebSocketProvider",L.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})}send(e,r){const a=Dm++;return new Promise((n,i)=>{function o(p,l){return p?i(p):n(l)}const s=JSON.stringify({method:e,params:r,id:a,jsonrpc:"2.0"});this.emit("debug",{action:"request",request:JSON.parse(s),provider:this}),this._requests[String(a)]={callback:o,payload:s},this._wsReady&&this.websocket.send(s)})}static defaultUrl(){return"ws://localhost:8546"}_subscribe(e,r,a){return $o(this,void 0,void 0,function*(){let n=this._subIds[e];n==null&&(n=Promise.all(r).then(o=>this.send("eth_subscribe",o)),this._subIds[e]=n);const i=yield n;this._subs[i]={tag:e,processFunc:a}})}_startEvent(e){switch(e.type){case"block":this._subscribe("block",["newHeads"],r=>{const a=ne.from(r.number).toNumber();this._emitted.block=a,this.emit("block",a)});break;case"pending":this._subscribe("pending",["newPendingTransactions"],r=>{this.emit("pending",r)});break;case"filter":this._subscribe(e.tag,["logs",this._getFilter(e.filter)],r=>{r.removed==null&&(r.removed=!1),this.emit(e.filter,this.formatter.filterLog(r))});break;case"tx":{const r=a=>{const n=a.hash;this.getTransactionReceipt(n).then(i=>{i&&this.emit(n,i)})};r(e),this._subscribe("tx",["newHeads"],a=>{this._events.filter(n=>n.type==="tx").forEach(r)});break}case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",e);break}}_stopEvent(e){let r=e.tag;if(e.type==="tx"){if(this._events.filter(n=>n.type==="tx").length)return;r="tx"}else if(this.listenerCount(e.event))return;const a=this._subIds[r];a&&(delete this._subIds[r],a.then(n=>{this._subs[n]&&(delete this._subs[n],this.send("eth_unsubscribe",[n]))}))}destroy(){return $o(this,void 0,void 0,function*(){this.websocket.readyState===Qi.CONNECTING&&(yield new Promise(e=>{this.websocket.onopen=function(){e(!0)},this.websocket.onerror=function(){e(!1)}})),this.websocket.close(1e3)})}}var Rm=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const ji=new L(Xt);class Mu extends Pn{detectNetwork(){const e=Object.create(null,{detectNetwork:{get:()=>super.detectNetwork}});return Rm(this,void 0,void 0,function*(){let r=this.network;return r==null&&(r=yield e.detectNetwork.call(this),r||ji.throwError("no network detected",L.errors.UNKNOWN_ERROR,{}),this._network==null&&(Z(this,"_network",r),this.emit("network",r,null))),r})}}class ja extends Mu{constructor(e,r){ji.checkAbstract(new.target,ja),e=Lt(new.target,"getNetwork")(e),r=Lt(new.target,"getApiKey")(r);const a=Lt(new.target,"getUrl")(e,r);super(a,e),typeof r=="string"?Z(this,"apiKey",r):r!=null&&Object.keys(r).forEach(n=>{Z(this,n,r[n])})}_startPending(){ji.warn("WARNING: API provider does not support pending filters")}isCommunityResource(){return!1}getSigner(e){return ji.throwError("API provider does not support signing",L.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})}listAccounts(){return Promise.resolve([])}static getApiKey(e){return e}static getUrl(e,r){return ji.throwError("not implemented; sub-classes must override getUrl",L.errors.NOT_IMPLEMENTED,{operation:"getUrl"})}}const Dl=new L(Xt),c0="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";class Fu extends lo{constructor(e,r){const a=new Kd(e,r),n=a.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi.");super(n,a.network),Z(this,"apiKey",a.apiKey)}isCommunityResource(){return this.apiKey===c0}}class Kd extends ja{static getWebSocketProvider(e,r){return new Fu(e,r)}static getApiKey(e){return e==null?c0:(e&&typeof e!="string"&&Dl.throwArgumentError("invalid apiKey","apiKey",e),e)}static getUrl(e,r){let a=null;switch(e.name){case"homestead":a="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":a="eth-goerli.g.alchemy.com/v2/";break;case"matic":a="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":a="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":a="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":a="arb-goerli.g.alchemy.com/v2/";break;case"optimism":a="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":a="opt-goerli.g.alchemy.com/v2/";break;default:Dl.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+a+r,throttleCallback:(n,i)=>(r===c0&&k1(),Promise.resolve(!0))}}isCommunityResource(){return this.apiKey===c0}}const Bm=new L(Xt),K1="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function Mm(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return Bm.throwArgumentError("unsupported network","name",t)}class Lu extends ja{isCommunityResource(){return this.apiKey===K1}static getApiKey(e){return e??K1}static getUrl(e,r){r==null&&(r=K1);const a={allowGzip:!0,url:"https://"+Mm(e.name)+r,throttleCallback:(n,i)=>(r.apiKey===K1&&k1(),Promise.resolve(!0))};return r.projectSecret!=null&&(a.user="",a.password=r.projectSecret),a}}var Fm=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const Rl=new L(Xt);class Uu extends ja{static getApiKey(e){return e!=null&&Rl.throwArgumentError("apiKey not supported for cloudflare","apiKey",e),null}static getUrl(e,r){let a=null;switch(e.name){case"homestead":a="https://cloudflare-eth.com/";break;default:Rl.throwArgumentError("unsupported network","network",arguments[0])}return a}perform(e,r){const a=Object.create(null,{perform:{get:()=>super.perform}});return Fm(this,void 0,void 0,function*(){return e==="getBlockNumber"?(yield a.perform.call(this,"getBlock",{blockTag:"latest"})).number:a.perform.call(this,e,r)})}}var J1=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const Ya=new L(Xt);function Bl(t){const e={};for(let r in t){if(t[r]==null)continue;let a=t[r];r==="type"&&a===0||({type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0}[r]?a=xi(pe(a)):r==="accessList"?a="["+Va(a).map(n=>`{address:"${n.address}",storageKeys:["${n.storageKeys.join('","')}"]}`).join(",")+"]":a=pe(a),e[r]=a)}return e}function Lm(t){if(t.status==0&&(t.message==="No records found"||t.message==="No transactions found"))return t.result;if(t.status!=1||typeof t.message!="string"||!t.message.match(/^OK/)){const e=new Error("invalid response");throw e.result=JSON.stringify(t),(t.result||"").toLowerCase().indexOf("rate limit")>=0&&(e.throttleRetry=!0),e}return t.result}function Ml(t){if(t&&t.status==0&&t.message=="NOTOK"&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){const e=new Error("throttled response");throw e.result=JSON.stringify(t),e.throttleRetry=!0,e}if(t.jsonrpc!="2.0"){const e=new Error("invalid response");throw e.result=JSON.stringify(t),e}if(t.error){const e=new Error(t.error.message||"unknown error");throw t.error.code&&(e.code=t.error.code),t.error.data&&(e.data=t.error.data),e}return t.result}function Fl(t){if(t==="pending")throw new Error("pending not supported");return t==="latest"?t:parseInt(t.substring(2),16)}function Go(t,e,r){if(t==="call"&&e.code===L.errors.SERVER_ERROR){const n=e.error;if(n&&(n.message.match(/reverted/i)||n.message.match(/VM execution error/i))){let i=n.data;if(i&&(i="0x"+i.replace(/^.*0x/i,"")),Se(i))return i;Ya.throwError("missing revert data in call exception",L.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}let a=e.message;throw e.code===L.errors.SERVER_ERROR&&(e.error&&typeof e.error.message=="string"?a=e.error.message:typeof e.body=="string"?a=e.body:typeof e.responseText=="string"&&(a=e.responseText)),a=(a||"").toLowerCase(),a.match(/insufficient funds/)&&Ya.throwError("insufficient funds for intrinsic transaction cost",L.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:r}),a.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&Ya.throwError("nonce has already been used",L.errors.NONCE_EXPIRED,{error:e,method:t,transaction:r}),a.match(/another transaction with same nonce/)&&Ya.throwError("replacement fee too low",L.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:r}),a.match(/execution failed due to an exception|execution reverted/)&&Ya.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",L.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:r}),e}class Vu extends po{constructor(e,r){super(e),Z(this,"baseUrl",this.getBaseUrl()),Z(this,"apiKey",r||null)}getBaseUrl(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io"}return Ya.throwArgumentError("unsupported network","network",this.network.name)}getUrl(e,r){const a=Object.keys(r).reduce((i,o)=>{const s=r[o];return s!=null&&(i+=`&${o}=${s}`),i},""),n=this.apiKey?`&apikey=${this.apiKey}`:"";return`${this.baseUrl}/api?module=${e}${a}${n}`}getPostUrl(){return`${this.baseUrl}/api`}getPostData(e,r){return r.module=e,r.apikey=this.apiKey,r}fetch(e,r,a){return J1(this,void 0,void 0,function*(){const n=a?this.getPostUrl():this.getUrl(e,r),i=a?this.getPostData(e,r):null,o=e==="proxy"?Ml:Lm;this.emit("debug",{action:"request",request:n,provider:this});const s={url:n,throttleSlotInterval:1e3,throttleCallback:(u,v)=>(this.isCommunityResource()&&k1(),Promise.resolve(!0))};let p=null;i&&(s.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},p=Object.keys(i).map(u=>`${u}=${i[u]}`).join("&"));const l=yield Bn(s,p,o||Ml);return this.emit("debug",{action:"response",request:n,response:Jt(l),provider:this}),l})}detectNetwork(){return J1(this,void 0,void 0,function*(){return this.network})}perform(e,r){const a=Object.create(null,{perform:{get:()=>super.perform}});return J1(this,void 0,void 0,function*(){switch(e){case"getBlockNumber":return this.fetch("proxy",{action:"eth_blockNumber"});case"getGasPrice":return this.fetch("proxy",{action:"eth_gasPrice"});case"getBalance":return this.fetch("account",{action:"balance",address:r.address,tag:r.blockTag});case"getTransactionCount":return this.fetch("proxy",{action:"eth_getTransactionCount",address:r.address,tag:r.blockTag});case"getCode":return this.fetch("proxy",{action:"eth_getCode",address:r.address,tag:r.blockTag});case"getStorageAt":return this.fetch("proxy",{action:"eth_getStorageAt",address:r.address,position:r.position,tag:r.blockTag});case"sendTransaction":return this.fetch("proxy",{action:"eth_sendRawTransaction",hex:r.signedTransaction},!0).catch(n=>Go("sendTransaction",n,r.signedTransaction));case"getBlock":if(r.blockTag)return this.fetch("proxy",{action:"eth_getBlockByNumber",tag:r.blockTag,boolean:r.includeTransactions?"true":"false"});throw new Error("getBlock by blockHash not implemented");case"getTransaction":return this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:r.transactionHash});case"getTransactionReceipt":return this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:r.transactionHash});case"call":{if(r.blockTag!=="latest")throw new Error("EtherscanProvider does not support blockTag for call");const n=Bl(r.transaction);n.module="proxy",n.action="eth_call";try{return yield this.fetch("proxy",n,!0)}catch(i){return Go("call",i,r.transaction)}}case"estimateGas":{const n=Bl(r.transaction);n.module="proxy",n.action="eth_estimateGas";try{return yield this.fetch("proxy",n,!0)}catch(i){return Go("estimateGas",i,r.transaction)}}case"getLogs":{const n={action:"getLogs"};if(r.filter.fromBlock&&(n.fromBlock=Fl(r.filter.fromBlock)),r.filter.toBlock&&(n.toBlock=Fl(r.filter.toBlock)),r.filter.address&&(n.address=r.filter.address),r.filter.topics&&r.filter.topics.length>0&&(r.filter.topics.length>1&&Ya.throwError("unsupported topic count",L.errors.UNSUPPORTED_OPERATION,{topics:r.filter.topics}),r.filter.topics.length===1)){const s=r.filter.topics[0];(typeof s!="string"||s.length!==66)&&Ya.throwError("unsupported topic format",L.errors.UNSUPPORTED_OPERATION,{topic0:s}),n.topic0=s}const i=yield this.fetch("logs",n);let o={};for(let s=0;s<i.length;s++){const p=i[s];if(p.blockHash==null){if(o[p.blockNumber]==null){const l=yield this.getBlock(p.blockNumber);l&&(o[p.blockNumber]=l.hash)}p.blockHash=o[p.blockNumber]}}return i}case"getEtherPrice":return this.network.name!=="homestead"?0:parseFloat((yield this.fetch("stats",{action:"ethprice"})).ethusd)}return a.perform.call(this,e,r)})}getHistory(e,r,a){return J1(this,void 0,void 0,function*(){const n={action:"txlist",address:yield this.resolveName(e),startblock:r??0,endblock:a??99999999,sort:"asc"};return(yield this.fetch("account",n)).map(o=>{["contractAddress","to"].forEach(function(p){o[p]==""&&delete o[p]}),o.creates==null&&o.contractAddress!=null&&(o.creates=o.contractAddress);const s=this.formatter.transactionResponse(o);return o.timeStamp&&(s.timestamp=parseInt(o.timeStamp)),s})})}isCommunityResource(){return this.apiKey==null}}var P0=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const un=new L(Xt);function Q1(){return new Date().getTime()}function Ll(t){let e=null;for(let r=0;r<t.length;r++){const a=t[r];if(a==null)return null;e?e.name===a.name&&e.chainId===a.chainId&&(e.ensAddress===a.ensAddress||e.ensAddress==null&&a.ensAddress==null)||un.throwArgumentError("provider mismatch","networks",t):e=a}return e}function Ul(t,e){t=t.slice().sort();const r=Math.floor(t.length/2);if(t.length%2)return t[r];const a=t[r-1],n=t[r];return e!=null&&Math.abs(a-n)>e?null:(a+n)/2}function Qn(t){if(t===null)return"null";if(typeof t=="number"||typeof t=="boolean")return JSON.stringify(t);if(typeof t=="string")return t;if(ne.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map(e=>Qn(e)));if(typeof t=="object"){const e=Object.keys(t);return e.sort(),"{"+e.map(r=>{let a=t[r];return typeof a=="function"?a="[function]":a=Qn(a),JSON.stringify(r)+":"+a}).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}let Um=1;function Vl(t){let e=null,r=null,a=new Promise(o=>{e=function(){r&&(clearTimeout(r),r=null),o()},r=setTimeout(e,t)});const n=o=>(a=a.then(o),a);function i(){return a}return{cancel:e,getPromise:i,wait:n}}const Vm=[L.errors.CALL_EXCEPTION,L.errors.INSUFFICIENT_FUNDS,L.errors.NONCE_EXPIRED,L.errors.REPLACEMENT_UNDERPRICED,L.errors.UNPREDICTABLE_GAS_LIMIT],jm=["address","args","errorArgs","errorSignature","method","transaction"];function Y1(t,e){const r={weight:t.weight};return Object.defineProperty(r,"provider",{get:()=>t.provider}),t.start&&(r.start=t.start),e&&(r.duration=e-t.start),t.done&&(t.error?r.error=t.error:r.result=t.result||null),r}function qm(t,e){return function(r){const a={};r.forEach(i=>{const o=t(i.result);a[o]||(a[o]={count:0,result:i.result}),a[o].count++});const n=Object.keys(a);for(let i=0;i<n.length;i++){const o=a[n[i]];if(o.count>=e)return o.result}}}function $m(t,e,r){let a=Qn;switch(e){case"getBlockNumber":return function(n){const i=n.map(s=>s.result);let o=Ul(n.map(s=>s.result),2);if(o!=null)return o=Math.ceil(o),i.indexOf(o+1)>=0&&o++,o>=t._highestBlockNumber&&(t._highestBlockNumber=o),t._highestBlockNumber};case"getGasPrice":return function(n){const i=n.map(o=>o.result);return i.sort(),i[Math.floor(i.length/2)]};case"getEtherPrice":return function(n){return Ul(n.map(i=>i.result))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":a=function(n){return n==null?null:(n=ft(n),n.confirmations=-1,Qn(n))};break;case"getBlock":r.includeTransactions?a=function(n){return n==null?null:(n=ft(n),n.transactions=n.transactions.map(i=>(i=ft(i),i.confirmations=-1,i)),Qn(n))}:a=function(n){return n==null?null:Qn(n)};break;default:throw new Error("unknown method: "+e)}return qm(a,t.quorum)}function Mi(t,e){return P0(this,void 0,void 0,function*(){const r=t.provider;return r.blockNumber!=null&&r.blockNumber>=e||e===-1?r:en(()=>new Promise((a,n)=>{setTimeout(function(){return r.blockNumber>=e?a(r):t.cancelled?a(null):a(void 0)},0)}),{oncePoll:r})})}function Gm(t,e,r,a){return P0(this,void 0,void 0,function*(){let n=t.provider;switch(r){case"getBlockNumber":case"getGasPrice":return n[r]();case"getEtherPrice":if(n.getEtherPrice)return n.getEtherPrice();break;case"getBalance":case"getTransactionCount":case"getCode":return a.blockTag&&Se(a.blockTag)&&(n=yield Mi(t,e)),n[r](a.address,a.blockTag||"latest");case"getStorageAt":return a.blockTag&&Se(a.blockTag)&&(n=yield Mi(t,e)),n.getStorageAt(a.address,a.position,a.blockTag||"latest");case"getBlock":return a.blockTag&&Se(a.blockTag)&&(n=yield Mi(t,e)),n[a.includeTransactions?"getBlockWithTransactions":"getBlock"](a.blockTag||a.blockHash);case"call":case"estimateGas":return a.blockTag&&Se(a.blockTag)&&(n=yield Mi(t,e)),r==="call"&&a.blockTag?n[r](a.transaction,a.blockTag):n[r](a.transaction);case"getTransaction":case"getTransactionReceipt":return n[r](a.transactionHash);case"getLogs":{let i=a.filter;return(i.fromBlock&&Se(i.fromBlock)||i.toBlock&&Se(i.toBlock))&&(n=yield Mi(t,e)),n.getLogs(i)}}return un.throwError("unknown method error",L.errors.UNKNOWN_ERROR,{method:r,params:a})})}class ju extends po{constructor(e,r){e.length===0&&un.throwArgumentError("missing providers","providers",e);const a=e.map((o,s)=>{if(Cn.isProvider(o)){const u=Ns(o)?2e3:750;return Object.freeze({provider:o,weight:1,stallTimeout:u,priority:1})}const p=ft(o);p.priority==null&&(p.priority=1),p.stallTimeout==null&&(p.stallTimeout=Ns(o)?2e3:750),p.weight==null&&(p.weight=1);const l=p.weight;return(l%1||l>512||l<1)&&un.throwArgumentError("invalid weight; must be integer in [1, 512]",`providers[${s}].weight`,l),Object.freeze(p)}),n=a.reduce((o,s)=>o+s.weight,0);r==null?r=n/2:r>n&&un.throwArgumentError("quorum will always fail; larger than total weight","quorum",r);let i=Ll(a.map(o=>o.provider.network));i==null&&(i=new Promise((o,s)=>{setTimeout(()=>{this.detectNetwork().then(o,s)},0)})),super(i),Z(this,"providerConfigs",Object.freeze(a)),Z(this,"quorum",r),this._highestBlockNumber=-1}detectNetwork(){return P0(this,void 0,void 0,function*(){const e=yield Promise.all(this.providerConfigs.map(r=>r.provider.getNetwork()));return Ll(e)})}perform(e,r){return P0(this,void 0,void 0,function*(){if(e==="sendTransaction"){const p=yield Promise.all(this.providerConfigs.map(l=>l.provider.sendTransaction(r.signedTransaction).then(u=>u.hash,u=>u)));for(let l=0;l<p.length;l++){const u=p[l];if(typeof u=="string")return u}throw p[0]}this._highestBlockNumber===-1&&e!=="getBlockNumber"&&(yield this.getBlockNumber());const a=$m(this,e,r),n=Ud(this.providerConfigs.map(ft));n.sort((p,l)=>p.priority-l.priority);const i=this._highestBlockNumber;let o=0,s=!0;for(;;){const p=Q1();let l=n.filter(A=>A.runner&&p-A.start<A.stallTimeout).reduce((A,N)=>A+N.weight,0);for(;l<this.quorum&&o<n.length;){const A=n[o++],N=Um++;A.start=Q1(),A.staller=Vl(A.stallTimeout),A.staller.wait(()=>{A.staller=null}),A.runner=Gm(A,i,e,r).then(O=>{A.done=!0,A.result=O,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:N,backend:Y1(A,Q1()),request:{method:e,params:Jt(r)},provider:this})},O=>{A.done=!0,A.error=O,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:N,backend:Y1(A,Q1()),request:{method:e,params:Jt(r)},provider:this})}),this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:N,backend:Y1(A,null),request:{method:e,params:Jt(r)},provider:this}),l+=A.weight}const u=[];n.forEach(A=>{A.done||!A.runner||(u.push(A.runner),A.staller&&u.push(A.staller.getPromise()))}),u.length&&(yield Promise.race(u));const v=n.filter(A=>A.done&&A.error==null);if(v.length>=this.quorum){const A=a(v);if(A!==void 0)return n.forEach(N=>{N.staller&&N.staller.cancel(),N.cancelled=!0}),A;s||(yield Vl(100).getPromise()),s=!1}const x=n.reduce((A,N)=>{if(!N.done||N.error==null)return A;const O=N.error.code;return Vm.indexOf(O)>=0&&(A[O]||(A[O]={error:N.error,weight:0}),A[O].weight+=N.weight),A},{});if(Object.keys(x).forEach(A=>{const N=x[A];if(N.weight<this.quorum)return;n.forEach(I=>{I.staller&&I.staller.cancel(),I.cancelled=!0});const O=N.error,S={};jm.forEach(I=>{O[I]!=null&&(S[I]=O[I])}),un.throwError(O.reason||O.message,A,S)}),n.filter(A=>!A.done).length===0)break}return n.forEach(p=>{p.staller&&p.staller.cancel(),p.cancelled=!0}),un.throwError("failed to meet quorum",L.errors.SERVER_ERROR,{method:e,params:r,results:n.map(p=>Y1(p)),provider:this})})}}const qu=null,u0=new L(Xt),qi="84842078b09946638c03157f83405213";class $u extends lo{constructor(e,r){const a=new Jd(e,r),n=a.connection;n.password&&u0.throwError("INFURA WebSocket project secrets unsupported",L.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});const i=n.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/");super(i,e),Z(this,"apiKey",a.projectId),Z(this,"projectId",a.projectId),Z(this,"projectSecret",a.projectSecret)}isCommunityResource(){return this.projectId===qi}}class Jd extends ja{static getWebSocketProvider(e,r){return new $u(e,r)}static getApiKey(e){const r={apiKey:qi,projectId:qi,projectSecret:null};return e==null||(typeof e=="string"?r.projectId=e:e.projectSecret!=null?(u0.assertArgument(typeof e.projectId=="string","projectSecret requires a projectId","projectId",e.projectId),u0.assertArgument(typeof e.projectSecret=="string","invalid projectSecret","projectSecret","[REDACTED]"),r.projectId=e.projectId,r.projectSecret=e.projectSecret):e.projectId&&(r.projectId=e.projectId),r.apiKey=r.projectId),r}static getUrl(e,r){let a=null;switch(e?e.name:"unknown"){case"homestead":a="mainnet.infura.io";break;case"goerli":a="goerli.infura.io";break;case"sepolia":a="sepolia.infura.io";break;case"matic":a="polygon-mainnet.infura.io";break;case"maticmum":a="polygon-mumbai.infura.io";break;case"optimism":a="optimism-mainnet.infura.io";break;case"optimism-goerli":a="optimism-goerli.infura.io";break;case"arbitrum":a="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":a="arbitrum-goerli.infura.io";break;default:u0.throwError("unsupported network",L.errors.INVALID_ARGUMENT,{argument:"network",value:e})}const n={allowGzip:!0,url:"https://"+a+"/v3/"+r.projectId,throttleCallback:(i,o)=>(r.projectId===qi&&k1(),Promise.resolve(!0))};return r.projectSecret!=null&&(n.user="",n.password=r.projectSecret),n}isCommunityResource(){return this.projectId===qi}}class Hm extends Pn{send(e,r){const a={method:e,params:r,id:this._nextId++,jsonrpc:"2.0"};this._pendingBatch==null&&(this._pendingBatch=[]);const n={request:a,resolve:null,reject:null},i=new Promise((o,s)=>{n.resolve=o,n.reject=s});return this._pendingBatch.push(n),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout(()=>{const o=this._pendingBatch;this._pendingBatch=null,this._pendingBatchAggregator=null;const s=o.map(p=>p.request);return this.emit("debug",{action:"requestBatch",request:Jt(s),provider:this}),Bn(this.connection,JSON.stringify(s)).then(p=>{this.emit("debug",{action:"response",request:s,response:p,provider:this}),o.forEach((l,u)=>{const v=p[u];if(v.error){const x=new Error(v.error.message);x.code=v.error.code,x.data=v.error.data,l.reject(x)}else l.resolve(v.result)})},p=>{this.emit("debug",{action:"response",error:p,request:s,provider:this}),o.forEach(l=>{l.reject(p)})})},10)),i}}const Ho=new L(Xt),zm="ETHERS_JS_SHARED";class Gu extends ja{static getApiKey(e){return e&&typeof e!="string"&&Ho.throwArgumentError("invalid apiKey","apiKey",e),e||zm}static getUrl(e,r){Ho.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");let a=null;switch(e.name){case"homestead":a="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":a="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":a="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":a="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":a="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Ho.throwArgumentError("unsupported network","network",arguments[0])}return a+"?apiKey="+r}}const jl=new L(Xt),ql="62e1ad51b37b8e00394bda3b";class Hu extends ja{static getApiKey(e){const r={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return e==null?r.applicationId=ql:typeof e=="string"?r.applicationId=e:e.applicationSecretKey!=null?(r.applicationId=e.applicationId,r.applicationSecretKey=e.applicationSecretKey):e.applicationId?r.applicationId=e.applicationId:jl.throwArgumentError("unsupported PocketProvider apiKey","apiKey",e),r}static getUrl(e,r){let a=null;switch(e?e.name:"unknown"){case"goerli":a="eth-goerli.gateway.pokt.network";break;case"homestead":a="eth-mainnet.gateway.pokt.network";break;case"kovan":a="poa-kovan.gateway.pokt.network";break;case"matic":a="poly-mainnet.gateway.pokt.network";break;case"maticmum":a="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":a="eth-rinkeby.gateway.pokt.network";break;case"ropsten":a="eth-ropsten.gateway.pokt.network";break;default:jl.throwError("unsupported network",L.errors.INVALID_ARGUMENT,{argument:"network",value:e})}const n=`https://${a}/v1/lb/${r.applicationId}`,i={headers:{},url:n};return r.applicationSecretKey!=null&&(i.user="",i.password=r.applicationSecretKey),i}isCommunityResource(){return this.applicationId===ql}}const $l=new L(Xt);let Wm=1;function Gl(t,e){const r="Web3LegacyFetcher";return function(a,n){const i={method:a,params:n,id:Wm++,jsonrpc:"2.0"};return new Promise((o,s)=>{this.emit("debug",{action:"request",fetcher:r,request:Jt(i),provider:this}),e(i,(p,l)=>{if(p)return this.emit("debug",{action:"response",fetcher:r,error:p,request:i,provider:this}),s(p);if(this.emit("debug",{action:"response",fetcher:r,request:i,response:l,provider:this}),l.error){const u=new Error(l.error.message);return u.code=l.error.code,u.data=l.error.data,s(u)}o(l.result)})})}}function Km(t){return function(e,r){r==null&&(r=[]);const a={method:e,params:r};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:Jt(a),provider:this}),t.request(a).then(n=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:a,response:n,provider:this}),n),n=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:a,error:n,provider:this}),n})}}class zu extends Pn{constructor(e,r){e==null&&$l.throwArgumentError("missing provider","provider",e);let a=null,n=null,i=null;typeof e=="function"?(a="unknown:",n=e):(a=e.host||e.path||"",!a&&e.isMetaMask&&(a="metamask"),i=e,e.request?(a===""&&(a="eip-1193:"),n=Km(e)):e.sendAsync?n=Gl(e,e.sendAsync.bind(e)):e.send?n=Gl(e,e.send.bind(e)):$l.throwArgumentError("unsupported provider","provider",e),a||(a="unknown:")),super(a,r),Z(this,"jsonRpcFetchFunc",n),Z(this,"provider",i)}send(e,r){return this.jsonRpcFetchFunc(e,r)}}const Hl=new L(Xt);function Qd(t,e){if(t==null&&(t="homestead"),typeof t=="string"){const a=t.match(/^(ws|http)s?:/i);if(a)switch(a[1].toLowerCase()){case"http":case"https":return new Pn(t);case"ws":case"wss":return new lo(t);default:Hl.throwArgumentError("unsupported URL scheme","network",t)}}const r=Hd(t);return(!r||!r._defaultProvider)&&Hl.throwError("unsupported getDefaultProvider network",L.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),r._defaultProvider({FallbackProvider:ju,AlchemyProvider:Kd,AnkrProvider:Lu,CloudflareProvider:Uu,EtherscanProvider:Vu,InfuraProvider:Jd,JsonRpcProvider:Pn,NodesmithProvider:Gu,PocketProvider:Hu,Web3Provider:zu,IpcProvider:qu},e)}const Wu=Object.freeze(Object.defineProperty({__proto__:null,AlchemyProvider:Kd,AlchemyWebSocketProvider:Fu,AnkrProvider:Lu,BaseProvider:po,CloudflareProvider:Uu,EtherscanProvider:Vu,FallbackProvider:ju,Formatter:he,InfuraProvider:Jd,InfuraWebSocketProvider:$u,IpcProvider:qu,JsonRpcBatchProvider:Hm,JsonRpcProvider:Pn,JsonRpcSigner:Wd,NodesmithProvider:Gu,PocketProvider:Hu,Provider:Cn,Resolver:Ps,StaticJsonRpcProvider:Mu,UrlJsonRpcProvider:ja,Web3Provider:zu,WebSocketProvider:lo,getDefaultProvider:Qd,getNetwork:Hd,isCommunityResourcable:Cu,isCommunityResource:Ns,showThrottleMessage:k1},Symbol.toStringTag,{value:"Module"})),Jm="solidity/5.7.0",Qm=new RegExp("^bytes([0-9]+)$"),Ym=new RegExp("^(u?int)([0-9]*)$"),Xm=new RegExp("^(.*)\\[([0-9]*)\\]$"),Zm="0000000000000000000000000000000000000000000000000000000000000000",Hn=new L(Jm);function Ku(t,e,r){switch(t){case"address":return r?Xn(e,32):se(e);case"string":return St(e);case"bytes":return se(e);case"bool":return e=e?"0x01":"0x00",r?Xn(e,32):se(e)}let a=t.match(Ym);if(a){let n=parseInt(a[2]||"256");return(a[2]&&String(n)!==a[2]||n%8!==0||n===0||n>256)&&Hn.throwArgumentError("invalid number type","type",t),r&&(n=256),e=ne.from(e).toTwos(n),Xn(e,n/8)}if(a=t.match(Qm),a){const n=parseInt(a[1]);return(String(n)!==a[1]||n===0||n>32)&&Hn.throwArgumentError("invalid bytes type","type",t),se(e).byteLength!==n&&Hn.throwArgumentError(`invalid value for ${t}`,"value",e),r?se((e+Zm).substring(0,66)):e}if(a=t.match(Xm),a&&Array.isArray(e)){const n=a[1];parseInt(a[2]||String(e.length))!=e.length&&Hn.throwArgumentError(`invalid array length for ${t}`,"value",e);const o=[];return e.forEach(function(s){o.push(Ku(n,s,!0))}),it(o)}return Hn.throwArgumentError("invalid type","type",t)}function Ni(t,e){t.length!=e.length&&Hn.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);const r=[];return t.forEach(function(a,n){r.push(Ku(a,e[n]))}),pe(it(r))}function Yd(t,e){return qe(Ni(t,e))}function Ju(t,e){return fa(Ni(t,e))}const e7=Object.freeze(Object.defineProperty({__proto__:null,keccak256:Yd,pack:Ni,sha256:Ju},Symbol.toStringTag,{value:"Module"})),t7="units/5.7.0",Qu=new L(t7),Yu=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Xu(t){const e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||t==="."||t==="-.")&&Qu.throwArgumentError("invalid value","value",t);let r=e[0],a="";for(r.substring(0,1)==="-"&&(a="-",r=r.substring(1));r.substring(0,1)==="0";)r=r.substring(1);r===""&&(r="0");let n="";for(e.length===2&&(n="."+(e[1]||"0"));n.length>2&&n[n.length-1]==="0";)n=n.substring(0,n.length-1);const i=[];for(;r.length;)if(r.length<=3){i.unshift(r);break}else{const o=r.length-3;i.unshift(r.substring(o)),r=r.substring(0,o)}return a+i.join(",")+n}function Xd(t,e){if(typeof e=="string"){const r=Yu.indexOf(e);r!==-1&&(e=3*r)}return i0(t,e??18)}function Zd(t,e){if(typeof t!="string"&&Qu.throwArgumentError("value must be a string","value",t),typeof e=="string"){const r=Yu.indexOf(e);r!==-1&&(e=3*r)}return Zr(t,e??18)}function Zu(t){return Xd(t,18)}function ef(t){return Zd(t,18)}const r7=Object.freeze(Object.defineProperty({__proto__:null,commify:Xu,formatEther:Zu,formatUnits:Xd,parseEther:ef,parseUnits:Zd},Symbol.toStringTag,{value:"Module"})),tf=Object.freeze(Object.defineProperty({__proto__:null,AbiCoder:wd,ConstructorFragment:yr,ErrorFragment:aa,EventFragment:Fr,FormatTypes:Fe,Fragment:Lr,FunctionFragment:gr,HDNode:sr,Indexed:p1,Interface:En,LogDescription:Sd,Logger:L,ParamType:Ct,RLP:dc,SigningKey:rn,get SupportedAlgorithm(){return Tn},TransactionDescription:Td,get TransactionTypes(){return A0},get UnicodeNormalizationForm(){return $r},Utf8ErrorFuncs:vd,get Utf8ErrorReason(){return Zt},_TypedDataEncoder:gt,_fetchData:zd,_toEscapedUtf8String:wc,accessListify:Va,arrayify:se,base58:Sn,base64:Tc,checkProperties:J0,checkResultErrors:cd,commify:Xu,computeAddress:Ia,computeHmac:ci,computePublicKey:ao,concat:it,deepCopy:Jt,defaultAbiCoder:wi,defaultPath:Nn,defineReadOnly:Z,dnsEncode:_d,entropyToMnemonic:I1,fetchJson:Bn,formatBytes32String:yd,formatEther:Zu,formatUnits:Xd,getAccountPath:bu,getAddress:Be,getContractAddress:T1,getCreate2Address:fd,getIcapAddress:cc,getJsonWalletAddress:xu,getStatic:Lt,hashMessage:Z0,hexConcat:Vt,hexDataLength:qr,hexDataSlice:xt,hexStripZeros:dd,hexValue:xi,hexZeroPad:Qe,hexlify:pe,id:tr,isAddress:lc,isBytes:Ba,isBytesLike:gi,isHexString:Se,isValidMnemonic:vu,isValidName:Cc,joinSignature:oi,keccak256:qe,mnemonicToEntropy:O1,mnemonicToSeed:Ld,namehash:ei,nameprep:_c,parseBytes32String:Ac,parseEther:ef,parseTransaction:Cd,parseUnits:Zd,poll:en,randomBytes:hn,recoverAddress:Ti,recoverPublicKey:Id,resolveProperties:yt,ripemd160:Bd,serializeTransaction:E0,sha256:fa,sha512:fu,shallowCopy:ft,shuffled:Ud,solidityKeccak256:Yd,solidityPack:Ni,soliditySha256:Ju,splitSignature:Ma,stripZeros:jr,toUtf8Bytes:St,toUtf8CodePoints:d1,toUtf8String:La,verifyMessage:$d,verifyTypedData:Gd,zeroPad:Xn},Symbol.toStringTag,{value:"Module"})),ep="ethers/5.7.2",rf=new L(ep),af=Object.freeze(Object.defineProperty({__proto__:null,BaseContract:Dd,BigNumber:ne,Contract:c1,ContractFactory:uu,FixedNumber:Dt,Signer:Ua,VoidSigner:N1,Wallet:Na,Wordlist:Rn,constants:yc,get errors(){return ir},getDefaultProvider:Qd,logger:rf,providers:Wu,utils:tf,version:ep,wordlists:S0},Symbol.toStringTag,{value:"Module"}));try{const t=window;t._ethers==null&&(t._ethers=af)}catch{}const a7=Object.freeze(Object.defineProperty({__proto__:null,BaseContract:Dd,BigNumber:ne,Contract:c1,ContractFactory:uu,FixedNumber:Dt,Signer:Ua,VoidSigner:N1,Wallet:Na,Wordlist:Rn,constants:yc,get errors(){return ir},ethers:af,getDefaultProvider:Qd,logger:rf,providers:Wu,utils:tf,version:ep,wordlists:S0},Symbol.toStringTag,{value:"Module"})),n7=ot(a7);var qa={},O0={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */O0.exports;(function(t,e){(function(r){var a=e&&!e.nodeType&&e,n=t&&!t.nodeType&&t,i=typeof ye=="object"&&ye;(i.global===i||i.window===i||i.self===i)&&(r=i);var o,s=2147483647,p=36,l=1,u=26,v=38,x=700,A=72,N=128,O="-",S=/^xn--/,I=/[^\x20-\x7E]/,$=/[\x2E\u3002\uFF0E\uFF61]/g,H={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},U=p-l,B=Math.floor,j=String.fromCharCode,Q;function J(E){throw new RangeError(H[E])}function k(E,m){for(var c=E.length,b=[];c--;)b[c]=m(E[c]);return b}function R(E,m){var c=E.split("@"),b="";c.length>1&&(b=c[0]+"@",E=c[1]),E=E.replace($,".");var F=E.split("."),f=k(F,m).join(".");return b+f}function V(E){for(var m=[],c=0,b=E.length,F,f;c<b;)F=E.charCodeAt(c++),F>=55296&&F<=56319&&c<b?(f=E.charCodeAt(c++),(f&64512)==56320?m.push(((F&1023)<<10)+(f&1023)+65536):(m.push(F),c--)):m.push(F);return m}function X(E){return k(E,function(m){var c="";return m>65535&&(m-=65536,c+=j(m>>>10&1023|55296),m=56320|m&1023),c+=j(m),c}).join("")}function w(E){return E-48<10?E-22:E-65<26?E-65:E-97<26?E-97:p}function d(E,m){return E+22+75*(E<26)-((m!=0)<<5)}function h(E,m,c){var b=0;for(E=c?B(E/x):E>>1,E+=B(E/m);E>U*u>>1;b+=p)E=B(E/U);return B(b+(U+1)*E/(E+v))}function y(E){var m=[],c=E.length,b,F=0,f=N,M=A,q,W,K,de,te,oe,C,P,Y;for(q=E.lastIndexOf(O),q<0&&(q=0),W=0;W<q;++W)E.charCodeAt(W)>=128&&J("not-basic"),m.push(E.charCodeAt(W));for(K=q>0?q+1:0;K<c;){for(de=F,te=1,oe=p;K>=c&&J("invalid-input"),C=w(E.charCodeAt(K++)),(C>=p||C>B((s-F)/te))&&J("overflow"),F+=C*te,P=oe<=M?l:oe>=M+u?u:oe-M,!(C<P);oe+=p)Y=p-P,te>B(s/Y)&&J("overflow"),te*=Y;b=m.length+1,M=h(F-de,b,de==0),B(F/b)>s-f&&J("overflow"),f+=B(F/b),F%=b,m.splice(F++,0,f)}return X(m)}function T(E){var m,c,b,F,f,M,q,W,K,de,te,oe=[],C,P,Y,ie;for(E=V(E),C=E.length,m=N,c=0,f=A,M=0;M<C;++M)te=E[M],te<128&&oe.push(j(te));for(b=F=oe.length,F&&oe.push(O);b<C;){for(q=s,M=0;M<C;++M)te=E[M],te>=m&&te<q&&(q=te);for(P=b+1,q-m>B((s-c)/P)&&J("overflow"),c+=(q-m)*P,m=q,M=0;M<C;++M)if(te=E[M],te<m&&++c>s&&J("overflow"),te==m){for(W=c,K=p;de=K<=f?l:K>=f+u?u:K-f,!(W<de);K+=p)ie=W-de,Y=p-de,oe.push(j(d(de+ie%Y,0))),W=B(ie/Y);oe.push(j(d(W,0))),f=h(c,P,b==F),c=0,++b}++c,++m}return oe.join("")}function g(E){return R(E,function(m){return S.test(m)?y(m.slice(4).toLowerCase()):m})}function _(E){return R(E,function(m){return I.test(m)?"xn--"+T(m):m})}if(o={version:"1.4.1",ucs2:{decode:V,encode:X},decode:y,encode:T,toASCII:_,toUnicode:g},a&&n)if(t.exports==a)n.exports=o;else for(Q in o)o.hasOwnProperty(Q)&&(a[Q]=o[Q]);else r.punycode=o})(ye)})(O0,O0.exports);var i7=O0.exports,o7=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),a=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var n=42;e[r]=n;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,r);if(o.value!==n||o.enumerable!==!0)return!1}return!0},zl=typeof Symbol<"u"&&Symbol,s7=o7,d7=function(){return typeof zl!="function"||typeof Symbol!="function"||typeof zl("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:s7()},Wl={foo:{}},p7=Object,l7=function(){return{__proto__:Wl}.foo===Wl.foo&&!({__proto__:null}instanceof p7)},c7="Function.prototype.bind called on incompatible ",zo=Array.prototype.slice,u7=Object.prototype.toString,f7="[object Function]",h7=function(e){var r=this;if(typeof r!="function"||u7.call(r)!==f7)throw new TypeError(c7+r);for(var a=zo.call(arguments,1),n,i=function(){if(this instanceof n){var u=r.apply(this,a.concat(zo.call(arguments)));return Object(u)===u?u:this}else return r.apply(e,a.concat(zo.call(arguments)))},o=Math.max(0,r.length-a.length),s=[],p=0;p<o;p++)s.push("$"+p);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var l=function(){};l.prototype=r.prototype,n.prototype=new l,l.prototype=null}return n},m7=h7,v7=Function.prototype.bind||m7,b7="Function.prototype.bind called on incompatible ",Wo=Array.prototype.slice,y7=Object.prototype.toString,g7="[object Function]",x7=function(e){var r=this;if(typeof r!="function"||y7.call(r)!==g7)throw new TypeError(b7+r);for(var a=Wo.call(arguments,1),n,i=function(){if(this instanceof n){var u=r.apply(this,a.concat(Wo.call(arguments)));return Object(u)===u?u:this}else return r.apply(e,a.concat(Wo.call(arguments)))},o=Math.max(0,r.length-a.length),s=[],p=0;p<o;p++)s.push("$"+p);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var l=function(){};l.prototype=r.prototype,n.prototype=new l,l.prototype=null}return n},w7=x7,A7=Function.prototype.bind||w7,E7=A7,_7=E7.call(Function.call,Object.prototype.hasOwnProperty),Ie,ui=SyntaxError,nf=Function,ri=TypeError,Ko=function(t){try{return nf('"use strict"; return ('+t+").constructor;")()}catch{}},vn=Object.getOwnPropertyDescriptor;if(vn)try{vn({},"")}catch{vn=null}var Jo=function(){throw new ri},S7=vn?function(){try{return arguments.callee,Jo}catch{try{return vn(arguments,"callee").get}catch{return Jo}}}():Jo,Un=d7(),T7=l7(),Bt=Object.getPrototypeOf||(T7?function(t){return t.__proto__}:null),zn={},N7=typeof Uint8Array>"u"||!Bt?Ie:Bt(Uint8Array),bn={"%AggregateError%":typeof AggregateError>"u"?Ie:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Ie:ArrayBuffer,"%ArrayIteratorPrototype%":Un&&Bt?Bt([][Symbol.iterator]()):Ie,"%AsyncFromSyncIteratorPrototype%":Ie,"%AsyncFunction%":zn,"%AsyncGenerator%":zn,"%AsyncGeneratorFunction%":zn,"%AsyncIteratorPrototype%":zn,"%Atomics%":typeof Atomics>"u"?Ie:Atomics,"%BigInt%":typeof BigInt>"u"?Ie:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Ie:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Ie:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Ie:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Ie:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Ie:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Ie:FinalizationRegistry,"%Function%":nf,"%GeneratorFunction%":zn,"%Int8Array%":typeof Int8Array>"u"?Ie:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Ie:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Ie:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Un&&Bt?Bt(Bt([][Symbol.iterator]())):Ie,"%JSON%":typeof JSON=="object"?JSON:Ie,"%Map%":typeof Map>"u"?Ie:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Un||!Bt?Ie:Bt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Ie:Promise,"%Proxy%":typeof Proxy>"u"?Ie:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Ie:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Ie:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Un||!Bt?Ie:Bt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Ie:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Un&&Bt?Bt(""[Symbol.iterator]()):Ie,"%Symbol%":Un?Symbol:Ie,"%SyntaxError%":ui,"%ThrowTypeError%":S7,"%TypedArray%":N7,"%TypeError%":ri,"%Uint8Array%":typeof Uint8Array>"u"?Ie:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Ie:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Ie:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Ie:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Ie:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Ie:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Ie:WeakSet};if(Bt)try{null.error}catch(t){var P7=Bt(Bt(t));bn["%Error.prototype%"]=P7}var O7=function t(e){var r;if(e==="%AsyncFunction%")r=Ko("async function () {}");else if(e==="%GeneratorFunction%")r=Ko("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Ko("async function* () {}");else if(e==="%AsyncGenerator%"){var a=t("%AsyncGeneratorFunction%");a&&(r=a.prototype)}else if(e==="%AsyncIteratorPrototype%"){var n=t("%AsyncGenerator%");n&&Bt&&(r=Bt(n.prototype))}return bn[e]=r,r},Kl={"%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"]},C1=v7,I0=_7,I7=C1.call(Function.call,Array.prototype.concat),k7=C1.call(Function.apply,Array.prototype.splice),Jl=C1.call(Function.call,String.prototype.replace),k0=C1.call(Function.call,String.prototype.slice),C7=C1.call(Function.call,RegExp.prototype.exec),D7=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R7=/\\(\\)?/g,B7=function(e){var r=k0(e,0,1),a=k0(e,-1);if(r==="%"&&a!=="%")throw new ui("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&r!=="%")throw new ui("invalid intrinsic syntax, expected opening `%`");var n=[];return Jl(e,D7,function(i,o,s,p){n[n.length]=s?Jl(p,R7,"$1"):o||i}),n},M7=function(e,r){var a=e,n;if(I0(Kl,a)&&(n=Kl[a],a="%"+n[0]+"%"),I0(bn,a)){var i=bn[a];if(i===zn&&(i=O7(a)),typeof i>"u"&&!r)throw new ri("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:i}}throw new ui("intrinsic "+e+" does not exist!")},tp=function(e,r){if(typeof e!="string"||e.length===0)throw new ri("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new ri('"allowMissing" argument must be a boolean');if(C7(/^%?[^%]*%?$/,e)===null)throw new ui("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=B7(e),n=a.length>0?a[0]:"",i=M7("%"+n+"%",r),o=i.name,s=i.value,p=!1,l=i.alias;l&&(n=l[0],k7(a,I7([0,1],l)));for(var u=1,v=!0;u<a.length;u+=1){var x=a[u],A=k0(x,0,1),N=k0(x,-1);if((A==='"'||A==="'"||A==="`"||N==='"'||N==="'"||N==="`")&&A!==N)throw new ui("property names with quotes must have matching quotes");if((x==="constructor"||!v)&&(p=!0),n+="."+x,o="%"+n+"%",I0(bn,o))s=bn[o];else if(s!=null){if(!(x in s)){if(!r)throw new ri("base intrinsic for "+e+" exists, but the property is not available.");return}if(vn&&u+1>=a.length){var O=vn(s,x);v=!!O,v&&"get"in O&&!("originalValue"in O.get)?s=O.get:s=s[x]}else v=I0(s,x),s=s[x];v&&!p&&(bn[o]=s)}}return s},of={exports:{}},F7="Function.prototype.bind called on incompatible ",Qo=Array.prototype.slice,L7=Object.prototype.toString,U7="[object Function]",V7=function(e){var r=this;if(typeof r!="function"||L7.call(r)!==U7)throw new TypeError(F7+r);for(var a=Qo.call(arguments,1),n,i=function(){if(this instanceof n){var u=r.apply(this,a.concat(Qo.call(arguments)));return Object(u)===u?u:this}else return r.apply(e,a.concat(Qo.call(arguments)))},o=Math.max(0,r.length-a.length),s=[],p=0;p<o;p++)s.push("$"+p);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var l=function(){};l.prototype=r.prototype,n.prototype=new l,l.prototype=null}return n},j7=V7,q7=Function.prototype.bind||j7;(function(t){var e=q7,r=tp,a=r("%Function.prototype.apply%"),n=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||e.call(n,a),o=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),p=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(v){var x=i(e,n,arguments);if(o&&s){var A=o(x,"length");A.configurable&&s(x,"length",{value:1+p(0,v.length-(arguments.length-1))})}return x};var l=function(){return i(e,a,arguments)};s?s(t.exports,"apply",{value:l}):t.exports.apply=l})(of);var $7=of.exports,sf=tp,df=$7,G7=df(sf("String.prototype.indexOf")),H7=function(e,r){var a=sf(e,!!r);return typeof a=="function"&&G7(e,".prototype.")>-1?df(a):a},rp=typeof Map=="function"&&Map.prototype,Yo=Object.getOwnPropertyDescriptor&&rp?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,C0=rp&&Yo&&typeof Yo.get=="function"?Yo.get:null,Ql=rp&&Map.prototype.forEach,ap=typeof Set=="function"&&Set.prototype,Xo=Object.getOwnPropertyDescriptor&&ap?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,D0=ap&&Xo&&typeof Xo.get=="function"?Xo.get:null,Yl=ap&&Set.prototype.forEach,z7=typeof WeakMap=="function"&&WeakMap.prototype,Yi=z7?WeakMap.prototype.has:null,W7=typeof WeakSet=="function"&&WeakSet.prototype,Xi=W7?WeakSet.prototype.has:null,K7=typeof WeakRef=="function"&&WeakRef.prototype,Xl=K7?WeakRef.prototype.deref:null,J7=Boolean.prototype.valueOf,Q7=Object.prototype.toString,Y7=Function.prototype.toString,X7=String.prototype.match,np=String.prototype.slice,tn=String.prototype.replace,Z7=String.prototype.toUpperCase,Zl=String.prototype.toLowerCase,pf=RegExp.prototype.test,e2=Array.prototype.concat,ra=Array.prototype.join,ev=Array.prototype.slice,t2=Math.floor,Is=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Zo=Object.getOwnPropertySymbols,ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fi=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Yt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fi||!0)?Symbol.toStringTag:null,lf=Object.prototype.propertyIsEnumerable,r2=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function a2(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||pf.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var a=t<0?-t2(-t):t2(t);if(a!==t){var n=String(a),i=np.call(e,n.length+1);return tn.call(n,r,"$&_")+"."+tn.call(tn.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tn.call(e,r,"$&_")}var Cs=J2,n2=Cs.custom,i2=uf(n2)?n2:null,tv=function t(e,r,a,n){var i=r||{};if(Ja(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ja(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Ja(i,"customInspect")?i.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Ja(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Ja(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return hf(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var p=String(e);return s?a2(e,p):p}if(typeof e=="bigint"){var l=String(e)+"n";return s?a2(e,l):l}var u=typeof i.depth>"u"?5:i.depth;if(typeof a>"u"&&(a=0),a>=u&&u>0&&typeof e=="object")return Ds(e)?"[Array]":"[Object]";var v=gv(i,a);if(typeof n>"u")n=[];else if(ff(n,e)>=0)return"[Circular]";function x(w,d,h){if(d&&(n=ev.call(n),n.push(d)),h){var y={depth:i.depth};return Ja(i,"quoteStyle")&&(y.quoteStyle=i.quoteStyle),t(w,y,a+1,n)}return t(w,i,a+1,n)}if(typeof e=="function"&&!o2(e)){var A=lv(e),N=X1(e,x);return"[Function"+(A?": "+A:" (anonymous)")+"]"+(N.length>0?" { "+ra.call(N,", ")+" }":"")}if(uf(e)){var O=fi?tn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ks.call(e);return typeof e=="object"&&!fi?Fi(O):O}if(vv(e)){for(var S="<"+Zl.call(String(e.nodeName)),I=e.attributes||[],$=0;$<I.length;$++)S+=" "+I[$].name+"="+cf(rv(I[$].value),"double",i);return S+=">",e.childNodes&&e.childNodes.length&&(S+="..."),S+="</"+Zl.call(String(e.nodeName))+">",S}if(Ds(e)){if(e.length===0)return"[]";var H=X1(e,x);return v&&!yv(H)?"["+Rs(H,v)+"]":"[ "+ra.call(H,", ")+" ]"}if(nv(e)){var U=X1(e,x);return!("cause"in Error.prototype)&&"cause"in e&&!lf.call(e,"cause")?"{ ["+String(e)+"] "+ra.call(e2.call("[cause]: "+x(e.cause),U),", ")+" }":U.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+ra.call(U,", ")+" }"}if(typeof e=="object"&&o){if(i2&&typeof e[i2]=="function"&&Cs)return Cs(e,{depth:u-a});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(cv(e)){var B=[];return Ql&&Ql.call(e,function(w,d){B.push(x(d,e,!0)+" => "+x(w,e))}),s2("Map",C0.call(e),B,v)}if(hv(e)){var j=[];return Yl&&Yl.call(e,function(w){j.push(x(w,e))}),s2("Set",D0.call(e),j,v)}if(uv(e))return es("WeakMap");if(mv(e))return es("WeakSet");if(fv(e))return es("WeakRef");if(ov(e))return Fi(x(Number(e)));if(dv(e))return Fi(x(Is.call(e)));if(sv(e))return Fi(J7.call(e));if(iv(e))return Fi(x(String(e)));if(!av(e)&&!o2(e)){var Q=X1(e,x),J=r2?r2(e)===Object.prototype:e instanceof Object||e.constructor===Object,k=e instanceof Object?"":"null prototype",R=!J&&Yt&&Object(e)===e&&Yt in e?np.call(dn(e),8,-1):k?"Object":"",V=J||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",X=V+(R||k?"["+ra.call(e2.call([],R||[],k||[]),": ")+"] ":"");return Q.length===0?X+"{}":v?X+"{"+Rs(Q,v)+"}":X+"{ "+ra.call(Q,", ")+" }"}return String(e)};function cf(t,e,r){var a=(r.quoteStyle||e)==="double"?'"':"'";return a+t+a}function rv(t){return tn.call(String(t),/"/g,"&quot;")}function Ds(t){return dn(t)==="[object Array]"&&(!Yt||!(typeof t=="object"&&Yt in t))}function av(t){return dn(t)==="[object Date]"&&(!Yt||!(typeof t=="object"&&Yt in t))}function o2(t){return dn(t)==="[object RegExp]"&&(!Yt||!(typeof t=="object"&&Yt in t))}function nv(t){return dn(t)==="[object Error]"&&(!Yt||!(typeof t=="object"&&Yt in t))}function iv(t){return dn(t)==="[object String]"&&(!Yt||!(typeof t=="object"&&Yt in t))}function ov(t){return dn(t)==="[object Number]"&&(!Yt||!(typeof t=="object"&&Yt in t))}function sv(t){return dn(t)==="[object Boolean]"&&(!Yt||!(typeof t=="object"&&Yt in t))}function uf(t){if(fi)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!ks)return!1;try{return ks.call(t),!0}catch{}return!1}function dv(t){if(!t||typeof t!="object"||!Is)return!1;try{return Is.call(t),!0}catch{}return!1}var pv=Object.prototype.hasOwnProperty||function(t){return t in this};function Ja(t,e){return pv.call(t,e)}function dn(t){return Q7.call(t)}function lv(t){if(t.name)return t.name;var e=X7.call(Y7.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function ff(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,a=t.length;r<a;r++)if(t[r]===e)return r;return-1}function cv(t){if(!C0||!t||typeof t!="object")return!1;try{C0.call(t);try{D0.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function uv(t){if(!Yi||!t||typeof t!="object")return!1;try{Yi.call(t,Yi);try{Xi.call(t,Xi)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function fv(t){if(!Xl||!t||typeof t!="object")return!1;try{return Xl.call(t),!0}catch{}return!1}function hv(t){if(!D0||!t||typeof t!="object")return!1;try{D0.call(t);try{C0.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function mv(t){if(!Xi||!t||typeof t!="object")return!1;try{Xi.call(t,Xi);try{Yi.call(t,Yi)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function vv(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function hf(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,a="... "+r+" more character"+(r>1?"s":"");return hf(np.call(t,0,e.maxStringLength),e)+a}var n=tn.call(tn.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,bv);return cf(n,"single",e)}function bv(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Z7.call(e.toString(16))}function Fi(t){return"Object("+t+")"}function es(t){return t+" { ? }"}function s2(t,e,r,a){var n=a?Rs(r,a):ra.call(r,", ");return t+" ("+e+") {"+n+"}"}function yv(t){for(var e=0;e<t.length;e++)if(ff(t[e],`
60
- `)>=0)return!1;return!0}function gv(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=ra.call(Array(t.indent+1)," ");else return null;return{base:r,prev:ra.call(Array(e+1),r)}}function Rs(t,e){if(t.length===0)return"";var r=`
61
- `+e.prev+e.base;return r+ra.call(t,","+r)+`
62
- `+e.prev}function X1(t,e){var r=Ds(t),a=[];if(r){a.length=t.length;for(var n=0;n<t.length;n++)a[n]=Ja(t,n)?e(t[n],t):""}var i=typeof Zo=="function"?Zo(t):[],o;if(fi){o={};for(var s=0;s<i.length;s++)o["$"+i[s]]=i[s]}for(var p in t)Ja(t,p)&&(r&&String(Number(p))===p&&p<t.length||fi&&o["$"+p]instanceof Symbol||(pf.call(/[^\w$]/,p)?a.push(e(p,t)+": "+e(t[p],t)):a.push(p+": "+e(t[p],t))));if(typeof Zo=="function")for(var l=0;l<i.length;l++)lf.call(t,i[l])&&a.push("["+e(i[l])+"]: "+e(t[i[l]],t));return a}var ip=tp,Pi=H7,xv=tv,wv=ip("%TypeError%"),Z1=ip("%WeakMap%",!0),e0=ip("%Map%",!0),Av=Pi("WeakMap.prototype.get",!0),Ev=Pi("WeakMap.prototype.set",!0),_v=Pi("WeakMap.prototype.has",!0),Sv=Pi("Map.prototype.get",!0),Tv=Pi("Map.prototype.set",!0),Nv=Pi("Map.prototype.has",!0),op=function(t,e){for(var r=t,a;(a=r.next)!==null;r=a)if(a.key===e)return r.next=a.next,a.next=t.next,t.next=a,a},Pv=function(t,e){var r=op(t,e);return r&&r.value},Ov=function(t,e,r){var a=op(t,e);a?a.value=r:t.next={key:e,next:t.next,value:r}},Iv=function(t,e){return!!op(t,e)},kv=function(){var e,r,a,n={assert:function(i){if(!n.has(i))throw new wv("Side channel does not contain "+xv(i))},get:function(i){if(Z1&&i&&(typeof i=="object"||typeof i=="function")){if(e)return Av(e,i)}else if(e0){if(r)return Sv(r,i)}else if(a)return Pv(a,i)},has:function(i){if(Z1&&i&&(typeof i=="object"||typeof i=="function")){if(e)return _v(e,i)}else if(e0){if(r)return Nv(r,i)}else if(a)return Iv(a,i);return!1},set:function(i,o){Z1&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new Z1),Ev(e,i,o)):e0?(r||(r=new e0),Tv(r,i,o)):(a||(a={key:{},next:null}),Ov(a,i,o))}};return n},Cv=String.prototype.replace,Dv=/%20/g,ts={RFC1738:"RFC1738",RFC3986:"RFC3986"},sp={default:ts.RFC3986,formatters:{RFC1738:function(t){return Cv.call(t,Dv,"+")},RFC3986:function(t){return String(t)}},RFC1738:ts.RFC1738,RFC3986:ts.RFC3986},Rv=sp,rs=Object.prototype.hasOwnProperty,fn=Array.isArray,Xr=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Bv=function(e){for(;e.length>1;){var r=e.pop(),a=r.obj[r.prop];if(fn(a)){for(var n=[],i=0;i<a.length;++i)typeof a[i]<"u"&&n.push(a[i]);r.obj[r.prop]=n}}},mf=function(e,r){for(var a=r&&r.plainObjects?Object.create(null):{},n=0;n<e.length;++n)typeof e[n]<"u"&&(a[n]=e[n]);return a},Mv=function t(e,r,a){if(!r)return e;if(typeof r!="object"){if(fn(e))e.push(r);else if(e&&typeof e=="object")(a&&(a.plainObjects||a.allowPrototypes)||!rs.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var n=e;return fn(e)&&!fn(r)&&(n=mf(e,a)),fn(e)&&fn(r)?(r.forEach(function(i,o){if(rs.call(e,o)){var s=e[o];s&&typeof s=="object"&&i&&typeof i=="object"?e[o]=t(s,i,a):e.push(i)}else e[o]=i}),e):Object.keys(r).reduce(function(i,o){var s=r[o];return rs.call(i,o)?i[o]=t(i[o],s,a):i[o]=s,i},n)},Fv=function(e,r){return Object.keys(r).reduce(function(a,n){return a[n]=r[n],a},e)},Lv=function(t,e,r){var a=t.replace(/\+/g," ");if(r==="iso-8859-1")return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch{return a}},Uv=function(e,r,a,n,i){if(e.length===0)return e;var o=e;if(typeof e=="symbol"?o=Symbol.prototype.toString.call(e):typeof e!="string"&&(o=String(e)),a==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(u){return"%26%23"+parseInt(u.slice(2),16)+"%3B"});for(var s="",p=0;p<o.length;++p){var l=o.charCodeAt(p);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===Rv.RFC1738&&(l===40||l===41)){s+=o.charAt(p);continue}if(l<128){s=s+Xr[l];continue}if(l<2048){s=s+(Xr[192|l>>6]+Xr[128|l&63]);continue}if(l<55296||l>=57344){s=s+(Xr[224|l>>12]+Xr[128|l>>6&63]+Xr[128|l&63]);continue}p+=1,l=65536+((l&1023)<<10|o.charCodeAt(p)&1023),s+=Xr[240|l>>18]+Xr[128|l>>12&63]+Xr[128|l>>6&63]+Xr[128|l&63]}return s},Vv=function(e){for(var r=[{obj:{o:e},prop:"o"}],a=[],n=0;n<r.length;++n)for(var i=r[n],o=i.obj[i.prop],s=Object.keys(o),p=0;p<s.length;++p){var l=s[p],u=o[l];typeof u=="object"&&u!==null&&a.indexOf(u)===-1&&(r.push({obj:o,prop:l}),a.push(u))}return Bv(r),e},jv=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},qv=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},$v=function(e,r){return[].concat(e,r)},Gv=function(e,r){if(fn(e)){for(var a=[],n=0;n<e.length;n+=1)a.push(r(e[n]));return a}return r(e)},vf={arrayToObject:mf,assign:Fv,combine:$v,compact:Vv,decode:Lv,encode:Uv,isBuffer:qv,isRegExp:jv,maybeMap:Gv,merge:Mv},bf=kv,f0=vf,Zi=sp,Hv=Object.prototype.hasOwnProperty,d2={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},Sa=Array.isArray,zv=Array.prototype.push,yf=function(t,e){zv.apply(t,Sa(e)?e:[e])},Wv=Date.prototype.toISOString,p2=Zi.default,$t={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:f0.encode,encodeValuesOnly:!1,format:p2,formatter:Zi.formatters[p2],indices:!1,serializeDate:function(e){return Wv.call(e)},skipNulls:!1,strictNullHandling:!1},Kv=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},as={},Jv=function t(e,r,a,n,i,o,s,p,l,u,v,x,A,N,O,S){for(var I=e,$=S,H=0,U=!1;($=$.get(as))!==void 0&&!U;){var B=$.get(e);if(H+=1,typeof B<"u"){if(B===H)throw new RangeError("Cyclic object value");U=!0}typeof $.get(as)>"u"&&(H=0)}if(typeof p=="function"?I=p(r,I):I instanceof Date?I=v(I):a==="comma"&&Sa(I)&&(I=f0.maybeMap(I,function(y){return y instanceof Date?v(y):y})),I===null){if(i)return s&&!N?s(r,$t.encoder,O,"key",x):r;I=""}if(Kv(I)||f0.isBuffer(I)){if(s){var j=N?r:s(r,$t.encoder,O,"key",x);return[A(j)+"="+A(s(I,$t.encoder,O,"value",x))]}return[A(r)+"="+A(String(I))]}var Q=[];if(typeof I>"u")return Q;var J;if(a==="comma"&&Sa(I))N&&s&&(I=f0.maybeMap(I,s)),J=[{value:I.length>0?I.join(",")||null:void 0}];else if(Sa(p))J=p;else{var k=Object.keys(I);J=l?k.sort(l):k}for(var R=n&&Sa(I)&&I.length===1?r+"[]":r,V=0;V<J.length;++V){var X=J[V],w=typeof X=="object"&&typeof X.value<"u"?X.value:I[X];if(!(o&&w===null)){var d=Sa(I)?typeof a=="function"?a(R,X):R:R+(u?"."+X:"["+X+"]");S.set(e,H);var h=bf();h.set(as,S),yf(Q,t(w,d,a,n,i,o,a==="comma"&&N&&Sa(I)?null:s,p,l,u,v,x,A,N,O,h))}}return Q},Qv=function(e){if(!e)return $t;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||$t.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=Zi.default;if(typeof e.format<"u"){if(!Hv.call(Zi.formatters,e.format))throw new TypeError("Unknown format option provided.");a=e.format}var n=Zi.formatters[a],i=$t.filter;return(typeof e.filter=="function"||Sa(e.filter))&&(i=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:$t.addQueryPrefix,allowDots:typeof e.allowDots>"u"?$t.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:$t.charsetSentinel,delimiter:typeof e.delimiter>"u"?$t.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:$t.encode,encoder:typeof e.encoder=="function"?e.encoder:$t.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:$t.encodeValuesOnly,filter:i,format:a,formatter:n,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:$t.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:$t.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:$t.strictNullHandling}},Yv=function(t,e){var r=t,a=Qv(e),n,i;typeof a.filter=="function"?(i=a.filter,r=i("",r)):Sa(a.filter)&&(i=a.filter,n=i);var o=[];if(typeof r!="object"||r===null)return"";var s;e&&e.arrayFormat in d2?s=e.arrayFormat:e&&"indices"in e?s=e.indices?"indices":"repeat":s="indices";var p=d2[s];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=p==="comma"&&e&&e.commaRoundTrip;n||(n=Object.keys(r)),a.sort&&n.sort(a.sort);for(var u=bf(),v=0;v<n.length;++v){var x=n[v];a.skipNulls&&r[x]===null||yf(o,Jv(r[x],x,p,l,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,u))}var A=o.join(a.delimiter),N=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?N+="utf8=%26%2310003%3B&":N+="utf8=%E2%9C%93&"),A.length>0?N+A:""},hi=vf,Bs=Object.prototype.hasOwnProperty,Xv=Array.isArray,Rt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:hi.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Zv=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},gf=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},eb="utf8=%26%2310003%3B",tb="utf8=%E2%9C%93",rb=function(e,r){var a={__proto__:null},n=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=r.parameterLimit===1/0?void 0:r.parameterLimit,o=n.split(r.delimiter,i),s=-1,p,l=r.charset;if(r.charsetSentinel)for(p=0;p<o.length;++p)o[p].indexOf("utf8=")===0&&(o[p]===tb?l="utf-8":o[p]===eb&&(l="iso-8859-1"),s=p,p=o.length);for(p=0;p<o.length;++p)if(p!==s){var u=o[p],v=u.indexOf("]="),x=v===-1?u.indexOf("="):v+1,A,N;x===-1?(A=r.decoder(u,Rt.decoder,l,"key"),N=r.strictNullHandling?null:""):(A=r.decoder(u.slice(0,x),Rt.decoder,l,"key"),N=hi.maybeMap(gf(u.slice(x+1),r),function(O){return r.decoder(O,Rt.decoder,l,"value")})),N&&r.interpretNumericEntities&&l==="iso-8859-1"&&(N=Zv(N)),u.indexOf("[]=")>-1&&(N=Xv(N)?[N]:N),Bs.call(a,A)?a[A]=hi.combine(a[A],N):a[A]=N}return a},ab=function(t,e,r,a){for(var n=a?e:gf(e,r),i=t.length-1;i>=0;--i){var o,s=t[i];if(s==="[]"&&r.parseArrays)o=[].concat(n);else{o=r.plainObjects?Object.create(null):{};var p=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,l=parseInt(p,10);!r.parseArrays&&p===""?o={0:n}:!isNaN(l)&&s!==p&&String(l)===p&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(o=[],o[l]=n):p!=="__proto__"&&(o[p]=n)}n=o}return n},nb=function(e,r,a,n){if(e){var i=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,p=a.depth>0&&o.exec(i),l=p?i.slice(0,p.index):i,u=[];if(l){if(!a.plainObjects&&Bs.call(Object.prototype,l)&&!a.allowPrototypes)return;u.push(l)}for(var v=0;a.depth>0&&(p=s.exec(i))!==null&&v<a.depth;){if(v+=1,!a.plainObjects&&Bs.call(Object.prototype,p[1].slice(1,-1))&&!a.allowPrototypes)return;u.push(p[1])}return p&&u.push("["+i.slice(p.index)+"]"),ab(u,r,a,n)}},ib=function(e){if(!e)return Rt;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?Rt.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?Rt.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:Rt.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:Rt.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:Rt.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Rt.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:Rt.comma,decoder:typeof e.decoder=="function"?e.decoder:Rt.decoder,delimiter:typeof e.delimiter=="string"||hi.isRegExp(e.delimiter)?e.delimiter:Rt.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:Rt.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:Rt.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:Rt.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:Rt.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Rt.strictNullHandling}},ob=function(t,e){var r=ib(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var a=typeof t=="string"?rb(t,r):t,n=r.plainObjects?Object.create(null):{},i=Object.keys(a),o=0;o<i.length;++o){var s=i[o],p=nb(s,a[s],r,typeof t=="string");n=hi.merge(n,p,r)}return r.allowSparse===!0?n:hi.compact(n)},sb=Yv,db=ob,pb=sp,lb={formats:pb,parse:db,stringify:sb},cb=i7;function wr(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ub=/^([a-z0-9.+-]+:)/i,fb=/:[0-9]*$/,hb=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,mb=["<",">",'"',"`"," ","\r",`
63
- `," "],vb=["{","}","|","\\","^","`"].concat(mb),Ms=["'"].concat(vb),l2=["%","/","?",";","#"].concat(Ms),c2=["/","?","#"],bb=255,u2=/^[+a-z0-9A-Z_-]{0,63}$/,yb=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,gb={javascript:!0,"javascript:":!0},Fs={javascript:!0,"javascript:":!0},ai={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ls=lb;function D1(t,e,r){if(t&&typeof t=="object"&&t instanceof wr)return t;var a=new wr;return a.parse(t,e,r),a}wr.prototype.parse=function(t,e,r){if(typeof t!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var a=t.indexOf("?"),n=a!==-1&&a<t.indexOf("#")?"?":"#",i=t.split(n),o=/\\/g;i[0]=i[0].replace(o,"/"),t=i.join(n);var s=t;if(s=s.trim(),!r&&t.split("#").length===1){var p=hb.exec(s);if(p)return this.path=s,this.href=s,this.pathname=p[1],p[2]?(this.search=p[2],e?this.query=Ls.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=ub.exec(s);if(l){l=l[0];var u=l.toLowerCase();this.protocol=u,s=s.substr(l.length)}if(r||l||s.match(/^\/\/[^@/]+@[^@/]+/)){var v=s.substr(0,2)==="//";v&&!(l&&Fs[l])&&(s=s.substr(2),this.slashes=!0)}if(!Fs[l]&&(v||l&&!ai[l])){for(var x=-1,A=0;A<c2.length;A++){var N=s.indexOf(c2[A]);N!==-1&&(x===-1||N<x)&&(x=N)}var O,S;x===-1?S=s.lastIndexOf("@"):S=s.lastIndexOf("@",x),S!==-1&&(O=s.slice(0,S),s=s.slice(S+1),this.auth=decodeURIComponent(O)),x=-1;for(var A=0;A<l2.length;A++){var N=s.indexOf(l2[A]);N!==-1&&(x===-1||N<x)&&(x=N)}x===-1&&(x=s.length),this.host=s.slice(0,x),s=s.slice(x),this.parseHost(),this.hostname=this.hostname||"";var I=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!I)for(var $=this.hostname.split(/\./),A=0,H=$.length;A<H;A++){var U=$[A];if(U&&!U.match(u2)){for(var B="",j=0,Q=U.length;j<Q;j++)U.charCodeAt(j)>127?B+="x":B+=U[j];if(!B.match(u2)){var J=$.slice(0,A),k=$.slice(A+1),R=U.match(yb);R&&(J.push(R[1]),k.unshift(R[2])),k.length&&(s="/"+k.join(".")+s),this.hostname=J.join(".");break}}}this.hostname.length>bb?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=cb.toASCII(this.hostname));var V=this.port?":"+this.port:"",X=this.hostname||"";this.host=X+V,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),s[0]!=="/"&&(s="/"+s))}if(!gb[u])for(var A=0,H=Ms.length;A<H;A++){var w=Ms[A];if(s.indexOf(w)!==-1){var d=encodeURIComponent(w);d===w&&(d=escape(w)),s=s.split(w).join(d)}}var h=s.indexOf("#");h!==-1&&(this.hash=s.substr(h),s=s.slice(0,h));var y=s.indexOf("?");if(y!==-1?(this.search=s.substr(y),this.query=s.substr(y+1),e&&(this.query=Ls.parse(this.query)),s=s.slice(0,y)):e&&(this.search="",this.query={}),s&&(this.pathname=s),ai[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var V=this.pathname||"",T=this.search||"";this.path=V+T}return this.href=this.format(),this};function xb(t){return typeof t=="string"&&(t=D1(t)),t instanceof wr?t.format():wr.prototype.format.call(t)}wr.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",a=this.hash||"",n=!1,i="";this.host?n=t+this.host:this.hostname&&(n=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(i=Ls.stringify(this.query));var o=this.search||i&&"?"+i||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||ai[e])&&n!==!1?(n="//"+(n||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):n||(n=""),a&&a.charAt(0)!=="#"&&(a="#"+a),o&&o.charAt(0)!=="?"&&(o="?"+o),r=r.replace(/[?#]/g,function(s){return encodeURIComponent(s)}),o=o.replace("#","%23"),e+n+r+o+a};function wb(t,e){return D1(t,!1,!0).resolve(e)}wr.prototype.resolve=function(t){return this.resolveObject(D1(t,!1,!0)).format()};function Ab(t,e){return t?D1(t,!1,!0).resolveObject(e):e}wr.prototype.resolveObject=function(t){if(typeof t=="string"){var e=new wr;e.parse(t,!1,!0),t=e}for(var r=new wr,a=Object.keys(this),n=0;n<a.length;n++){var i=a[n];r[i]=this[i]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),s=0;s<o.length;s++){var p=o[s];p!=="protocol"&&(r[p]=t[p])}return ai[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!ai[t.protocol]){for(var l=Object.keys(t),u=0;u<l.length;u++){var v=l[u];r[v]=t[v]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!Fs[t.protocol]){for(var H=(t.pathname||"").split("/");H.length&&!(t.host=H.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),H[0]!==""&&H.unshift(""),H.length<2&&H.unshift(""),r.pathname=H.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var x=r.pathname||"",A=r.search||"";r.path=x+A}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var N=r.pathname&&r.pathname.charAt(0)==="/",O=t.host||t.pathname&&t.pathname.charAt(0)==="/",S=O||N||r.host&&t.pathname,I=S,$=r.pathname&&r.pathname.split("/")||[],H=t.pathname&&t.pathname.split("/")||[],U=r.protocol&&!ai[r.protocol];if(U&&(r.hostname="",r.port=null,r.host&&($[0]===""?$[0]=r.host:$.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(H[0]===""?H[0]=t.host:H.unshift(t.host)),t.host=null),S=S&&(H[0]===""||$[0]==="")),O)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,$=H;else if(H.length)$||($=[]),$.pop(),$=$.concat(H),r.search=t.search,r.query=t.query;else if(t.search!=null){if(U){r.host=$.shift(),r.hostname=r.host;var B=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;B&&(r.auth=B.shift(),r.hostname=B.shift(),r.host=r.hostname)}return r.search=t.search,r.query=t.query,(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!$.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var j=$.slice(-1)[0],Q=(r.host||t.host||$.length>1)&&(j==="."||j==="..")||j==="",J=0,k=$.length;k>=0;k--)j=$[k],j==="."?$.splice(k,1):j===".."?($.splice(k,1),J++):J&&($.splice(k,1),J--);if(!S&&!I)for(;J--;J)$.unshift("..");S&&$[0]!==""&&(!$[0]||$[0].charAt(0)!=="/")&&$.unshift(""),Q&&$.join("/").substr(-1)!=="/"&&$.push("");var R=$[0]===""||$[0]&&$[0].charAt(0)==="/";if(U){r.hostname=R?"":$.length?$.shift():"",r.host=r.hostname;var B=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;B&&(r.auth=B.shift(),r.hostname=B.shift(),r.host=r.hostname)}return S=S||r.host&&$.length,S&&!R&&$.unshift(""),$.length>0?r.pathname=$.join("/"):(r.pathname=null,r.path=null),(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};wr.prototype.parseHost=function(){var t=this.host,e=fb.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};qa.parse=D1;qa.resolve=wb;qa.resolveObject=Ab;qa.format=xb;qa.Url=wr;var Hr={},xf={exports:{}},Tt={},Eb=Tt;function f2(t){return t<0?-1:1}function _b(t){return t%1===.5&&!(t&1)?Math.floor(t):Math.round(t)}function pn(t,e){e.unsigned||--t;const r=e.unsigned?0:-Math.pow(2,t),a=Math.pow(2,t)-1,n=e.moduloBitLength?Math.pow(2,e.moduloBitLength):Math.pow(2,t),i=e.moduloBitLength?Math.pow(2,e.moduloBitLength-1):Math.pow(2,t-1);return function(o,s){s||(s={});let p=+o;if(s.enforceRange){if(!Number.isFinite(p))throw new TypeError("Argument is not a finite number");if(p=f2(p)*Math.floor(Math.abs(p)),p<r||p>a)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&s.clamp)return p=_b(p),p<r&&(p=r),p>a&&(p=a),p;if(!Number.isFinite(p)||p===0)return 0;if(p=f2(p)*Math.floor(Math.abs(p)),p=p%n,!e.unsigned&&p>=i)return p-n;if(e.unsigned){if(p<0)p+=n;else if(p===-0)return 0}return p}}Tt.void=function(){};Tt.boolean=function(t){return!!t};Tt.byte=pn(8,{unsigned:!1});Tt.octet=pn(8,{unsigned:!0});Tt.short=pn(16,{unsigned:!1});Tt["unsigned short"]=pn(16,{unsigned:!0});Tt.long=pn(32,{unsigned:!1});Tt["unsigned long"]=pn(32,{unsigned:!0});Tt["long long"]=pn(32,{unsigned:!1,moduloBitLength:64});Tt["unsigned long long"]=pn(32,{unsigned:!0,moduloBitLength:64});Tt.double=function(t){const e=+t;if(!Number.isFinite(e))throw new TypeError("Argument is not a finite floating-point value");return e};Tt["unrestricted double"]=function(t){const e=+t;if(isNaN(e))throw new TypeError("Argument is NaN");return e};Tt.float=Tt.double;Tt["unrestricted float"]=Tt["unrestricted double"];Tt.DOMString=function(t,e){return e||(e={}),e.treatNullAsEmptyString&&t===null?"":String(t)};Tt.ByteString=function(t,e){const r=String(t);let a;for(let n=0;(a=r.codePointAt(n))!==void 0;++n)if(a>255)throw new TypeError("Argument is not a valid bytestring");return r};Tt.USVString=function(t){const e=String(t),r=e.length,a=[];for(let n=0;n<r;++n){const i=e.charCodeAt(n);if(i<55296||i>57343)a.push(String.fromCodePoint(i));else if(56320<=i&&i<=57343)a.push(String.fromCodePoint(65533));else if(n===r-1)a.push(String.fromCodePoint(65533));else{const o=e.charCodeAt(n+1);if(56320<=o&&o<=57343){const s=i&1023,p=o&1023;a.push(String.fromCodePoint(65536+1024*s+p)),++n}else a.push(String.fromCodePoint(65533))}}return a.join("")};Tt.Date=function(t,e){if(!(t instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(t))return t};Tt.RegExp=function(t,e){return t instanceof RegExp||(t=new RegExp(t)),t};var wf={exports:{}};(function(t){t.exports.mixin=function(r,a){const n=Object.getOwnPropertyNames(a);for(let i=0;i<n.length;++i)Object.defineProperty(r,n[i],Object.getOwnPropertyDescriptor(a,n[i]))},t.exports.wrapperSymbol=Symbol("wrapper"),t.exports.implSymbol=Symbol("impl"),t.exports.wrapperForImpl=function(e){return e[t.exports.wrapperSymbol]},t.exports.implForWrapper=function(e){return e[t.exports.implSymbol]}})(wf);var Sb=wf.exports,Af={},Ef={exports:{}};const ni=2147483647,ia=36,dp=1,h1=26,Tb=38,Nb=700,_f=72,Sf=128,Tf="-",Pb=/^xn--/,Ob=/[^\0-\x7F]/,Ib=/[\x2E\u3002\uFF0E\uFF61]/g,kb={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ns=ia-dp,oa=Math.floor,is=String.fromCharCode;function Qa(t){throw new RangeError(kb[t])}function Cb(t,e){const r=[];let a=t.length;for(;a--;)r[a]=e(t[a]);return r}function Nf(t,e){const r=t.split("@");let a="";r.length>1&&(a=r[0]+"@",t=r[1]),t=t.replace(Ib,".");const n=t.split("."),i=Cb(n,e).join(".");return a+i}function pp(t){const e=[];let r=0;const a=t.length;for(;r<a;){const n=t.charCodeAt(r++);if(n>=55296&&n<=56319&&r<a){const i=t.charCodeAt(r++);(i&64512)==56320?e.push(((n&1023)<<10)+(i&1023)+65536):(e.push(n),r--)}else e.push(n)}return e}const Pf=t=>String.fromCodePoint(...t),Db=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:ia},h2=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Of=function(t,e,r){let a=0;for(t=r?oa(t/Nb):t>>1,t+=oa(t/e);t>ns*h1>>1;a+=ia)t=oa(t/ns);return oa(a+(ns+1)*t/(t+Tb))},lp=function(t){const e=[],r=t.length;let a=0,n=Sf,i=_f,o=t.lastIndexOf(Tf);o<0&&(o=0);for(let s=0;s<o;++s)t.charCodeAt(s)>=128&&Qa("not-basic"),e.push(t.charCodeAt(s));for(let s=o>0?o+1:0;s<r;){const p=a;for(let u=1,v=ia;;v+=ia){s>=r&&Qa("invalid-input");const x=Db(t.charCodeAt(s++));x>=ia&&Qa("invalid-input"),x>oa((ni-a)/u)&&Qa("overflow"),a+=x*u;const A=v<=i?dp:v>=i+h1?h1:v-i;if(x<A)break;const N=ia-A;u>oa(ni/N)&&Qa("overflow"),u*=N}const l=e.length+1;i=Of(a-p,l,p==0),oa(a/l)>ni-n&&Qa("overflow"),n+=oa(a/l),a%=l,e.splice(a++,0,n)}return String.fromCodePoint(...e)},cp=function(t){const e=[];t=pp(t);const r=t.length;let a=Sf,n=0,i=_f;for(const p of t)p<128&&e.push(is(p));const o=e.length;let s=o;for(o&&e.push(Tf);s<r;){let p=ni;for(const u of t)u>=a&&u<p&&(p=u);const l=s+1;p-a>oa((ni-n)/l)&&Qa("overflow"),n+=(p-a)*l,a=p;for(const u of t)if(u<a&&++n>ni&&Qa("overflow"),u===a){let v=n;for(let x=ia;;x+=ia){const A=x<=i?dp:x>=i+h1?h1:x-i;if(v<A)break;const N=v-A,O=ia-A;e.push(is(h2(A+N%O,0))),v=oa(N/O)}e.push(is(h2(v,0))),i=Of(n,l,s===o),n=0,++s}++n,++a}return e.join("")},If=function(t){return Nf(t,function(e){return Pb.test(e)?lp(e.slice(4).toLowerCase()):e})},kf=function(t){return Nf(t,function(e){return Ob.test(e)?"xn--"+cp(e):e})},Rb={version:"2.1.0",ucs2:{decode:pp,encode:Pf},decode:lp,encode:cp,toASCII:kf,toUnicode:If},Bb=Object.freeze(Object.defineProperty({__proto__:null,decode:lp,default:Rb,encode:cp,toASCII:kf,toUnicode:If,ucs2decode:pp,ucs2encode:Pf},Symbol.toStringTag,{value:"Module"})),Cf=ot(Bb);var co={};const Mb=[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1e3,1e3],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6e3],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8e3,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8e3]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9e3],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[3e4]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13e3,13e3],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43e3,43e3],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64e3,64e3],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66e3,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[12e4,12e4],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128e3,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23e3]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149e3]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32e3]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195e3,195e3],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[4e4]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918e3,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]];var Df=Cf,m2=Mb,ii={TRANSITIONAL:0,NONTRANSITIONAL:1};function Rf(t){return t.split("\0").map(function(e){return e.normalize("NFC")}).join("\0")}function Bf(t){for(var e=0,r=m2.length-1;e<=r;){var a=Math.floor((e+r)/2),n=m2[a];if(n[0][0]<=t&&n[0][1]>=t)return n;n[0][0]>t?r=a-1:e=a+1}return null}var Fb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function Mf(t){return t.replace(Fb,"_").length}function Lb(t,e,r){for(var a=!1,n="",i=Mf(t),o=0;o<i;++o){var s=t.codePointAt(o),p=Bf(s);switch(p[1]){case"disallowed":a=!0,n+=String.fromCodePoint(s);break;case"ignored":break;case"mapped":n+=String.fromCodePoint.apply(String,p[2]);break;case"deviation":r===ii.TRANSITIONAL?n+=String.fromCodePoint.apply(String,p[2]):n+=String.fromCodePoint(s);break;case"valid":n+=String.fromCodePoint(s);break;case"disallowed_STD3_mapped":e?(a=!0,n+=String.fromCodePoint(s)):n+=String.fromCodePoint.apply(String,p[2]);break;case"disallowed_STD3_valid":e&&(a=!0),n+=String.fromCodePoint(s);break}}return{string:n,error:a}}var Ub=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function Vb(t,e){t.substr(0,4)==="xn--"&&(t=Df.toUnicode(t),ii.NONTRANSITIONAL);var r=!1;(Rf(t)!==t||t[3]==="-"&&t[4]==="-"||t[0]==="-"||t[t.length-1]==="-"||t.indexOf(".")!==-1||t.search(Ub)===0)&&(r=!0);for(var a=Mf(t),n=0;n<a;++n){var i=Bf(t.codePointAt(n));if(R0===ii.TRANSITIONAL&&i[1]!=="valid"||R0===ii.NONTRANSITIONAL&&i[1]!=="valid"&&i[1]!=="deviation"){r=!0;break}}return{label:t,error:r}}function R0(t,e,r){var a=Lb(t,e,r);a.string=Rf(a.string);for(var n=a.string.split("."),i=0;i<n.length;++i)try{var o=Vb(n[i]);n[i]=o.label,a.error=a.error||o.error}catch{a.error=!0}return{string:n.join("."),error:a.error}}co.toASCII=function(t,e,r,a){var n=R0(t,e,r),i=n.string.split(".");if(i=i.map(function(p){try{return Df.toASCII(p)}catch{return n.error=!0,p}}),a){var o=i.slice(0,i.length-1).join(".").length;(o.length>253||o.length===0)&&(n.error=!0);for(var s=0;s<i.length;++s)if(i.length>63||i.length===0){n.error=!0;break}}return n.error?null:i.join(".")};co.toUnicode=function(t,e){var r=R0(t,e,ii.NONTRANSITIONAL);return{domain:r.string,error:r.error}};co.PROCESSING_OPTIONS=ii;(function(t){const e=Cf,r=co,a={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},n=Symbol("failure");function i(C){return e.ucs2.decode(C).length}function o(C,P){const Y=C[P];return isNaN(Y)?void 0:String.fromCodePoint(Y)}function s(C){return C>=48&&C<=57}function p(C){return C>=65&&C<=90||C>=97&&C<=122}function l(C){return p(C)||s(C)}function u(C){return s(C)||C>=65&&C<=70||C>=97&&C<=102}function v(C){return C==="."||C.toLowerCase()==="%2e"}function x(C){return C=C.toLowerCase(),C===".."||C==="%2e."||C===".%2e"||C==="%2e%2e"}function A(C,P){return p(C)&&(P===58||P===124)}function N(C){return C.length===2&&p(C.codePointAt(0))&&(C[1]===":"||C[1]==="|")}function O(C){return C.length===2&&p(C.codePointAt(0))&&C[1]===":"}function S(C){return C.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function I(C){return C.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function $(C){return a[C]!==void 0}function H(C){return $(C.scheme)}function U(C){return a[C]}function B(C){let P=C.toString(16).toUpperCase();return P.length===1&&(P="0"+P),"%"+P}function j(C){const P=new Buffer(C);let Y="";for(let ie=0;ie<P.length;++ie)Y+=B(P[ie]);return Y}function Q(C){const P=new Buffer(C),Y=[];for(let ie=0;ie<P.length;++ie)P[ie]!==37?Y.push(P[ie]):P[ie]===37&&u(P[ie+1])&&u(P[ie+2])?(Y.push(parseInt(P.slice(ie+1,ie+3).toString(),16)),ie+=2):Y.push(P[ie]);return new Buffer(Y).toString()}function J(C){return C<=31||C>126}const k=new Set([32,34,35,60,62,63,96,123,125]);function R(C){return J(C)||k.has(C)}const V=new Set([47,58,59,61,64,91,92,93,94,124]);function X(C){return R(C)||V.has(C)}function w(C,P){const Y=String.fromCodePoint(C);return P(C)?j(Y):Y}function d(C){let P=10;return C.length>=2&&C.charAt(0)==="0"&&C.charAt(1).toLowerCase()==="x"?(C=C.substring(2),P=16):C.length>=2&&C.charAt(0)==="0"&&(C=C.substring(1),P=8),C===""?0:(P===10?/[^0-9]/:P===16?/[^0-9A-Fa-f]/:/[^0-7]/).test(C)?n:parseInt(C,P)}function h(C){const P=C.split(".");if(P[P.length-1]===""&&P.length>1&&P.pop(),P.length>4)return C;const Y=[];for(const ue of P){if(ue==="")return C;const Ce=d(ue);if(Ce===n)return C;Y.push(Ce)}for(let ue=0;ue<Y.length-1;++ue)if(Y[ue]>255)return n;if(Y[Y.length-1]>=Math.pow(256,5-Y.length))return n;let ie=Y.pop(),ce=0;for(const ue of Y)ie+=ue*Math.pow(256,3-ce),++ce;return ie}function y(C){let P="",Y=C;for(let ie=1;ie<=4;++ie)P=String(Y%256)+P,ie!==4&&(P="."+P),Y=Math.floor(Y/256);return P}function T(C){const P=[0,0,0,0,0,0,0,0];let Y=0,ie=null,ce=0;if(C=e.ucs2.decode(C),C[ce]===58){if(C[ce+1]!==58)return n;ce+=2,++Y,ie=Y}for(;ce<C.length;){if(Y===8)return n;if(C[ce]===58){if(ie!==null)return n;++ce,++Y,ie=Y;continue}let ue=0,Ce=0;for(;Ce<4&&u(C[ce]);)ue=ue*16+parseInt(o(C,ce),16),++ce,++Ce;if(C[ce]===46){if(Ce===0||(ce-=Ce,Y>6))return n;let ge=0;for(;C[ce]!==void 0;){let Ee=null;if(ge>0)if(C[ce]===46&&ge<4)++ce;else return n;if(!s(C[ce]))return n;for(;s(C[ce]);){const rr=parseInt(o(C,ce));if(Ee===null)Ee=rr;else{if(Ee===0)return n;Ee=Ee*10+rr}if(Ee>255)return n;++ce}P[Y]=P[Y]*256+Ee,++ge,(ge===2||ge===4)&&++Y}if(ge!==4)return n;break}else if(C[ce]===58){if(++ce,C[ce]===void 0)return n}else if(C[ce]!==void 0)return n;P[Y]=ue,++Y}if(ie!==null){let ue=Y-ie;for(Y=7;Y!==0&&ue>0;){const Ce=P[ie+ue-1];P[ie+ue-1]=P[Y],P[Y]=Ce,--Y,--ue}}else if(ie===null&&Y!==8)return n;return P}function g(C){let P="";const ie=m(C).idx;let ce=!1;for(let ue=0;ue<=7;++ue)if(!(ce&&C[ue]===0)){if(ce&&(ce=!1),ie===ue){P+=ue===0?"::":":",ce=!0;continue}P+=C[ue].toString(16),ue!==7&&(P+=":")}return P}function _(C,P){if(C[0]==="[")return C[C.length-1]!=="]"?n:T(C.substring(1,C.length-1));if(!P)return E(C);const Y=Q(C),ie=r.toASCII(Y,!1,r.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(ie===null||S(ie))return n;const ce=h(ie);return typeof ce=="number"||ce===n?ce:ie}function E(C){if(I(C))return n;let P="";const Y=e.ucs2.decode(C);for(let ie=0;ie<Y.length;++ie)P+=w(Y[ie],J);return P}function m(C){let P=null,Y=1,ie=null,ce=0;for(let ue=0;ue<C.length;++ue)C[ue]!==0?(ce>Y&&(P=ie,Y=ce),ie=null,ce=0):(ie===null&&(ie=ue),++ce);return ce>Y&&(P=ie,Y=ce),{idx:P,len:Y}}function c(C){return typeof C=="number"?y(C):C instanceof Array?"["+g(C)+"]":C}function b(C){return C.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function F(C){return C.replace(/\u0009|\u000A|\u000D/g,"")}function f(C){const P=C.path;P.length!==0&&(C.scheme==="file"&&P.length===1&&W(P[0])||P.pop())}function M(C){return C.username!==""||C.password!==""}function q(C){return C.host===null||C.host===""||C.cannotBeABaseURL||C.scheme==="file"}function W(C){return/^[A-Za-z]:$/.test(C)}function K(C,P,Y,ie,ce){if(this.pointer=0,this.input=C,this.base=P||null,this.encodingOverride=Y||"utf-8",this.stateOverride=ce,this.url=ie,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const Ce=b(this.input);Ce!==this.input&&(this.parseError=!0),this.input=Ce}const ue=F(this.input);for(ue!==this.input&&(this.parseError=!0),this.input=ue,this.state=ce||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=e.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const Ce=this.input[this.pointer],ge=isNaN(Ce)?void 0:String.fromCodePoint(Ce),Ee=this["parse "+this.state](Ce,ge);if(Ee){if(Ee===n){this.failure=!0;break}}else break}}K.prototype["parse scheme start"]=function(P,Y){if(p(P))this.buffer+=Y.toLowerCase(),this.state="scheme";else if(!this.stateOverride)this.state="no scheme",--this.pointer;else return this.parseError=!0,n;return!0},K.prototype["parse scheme"]=function(P,Y){if(l(P)||P===43||P===45||P===46)this.buffer+=Y.toLowerCase();else if(P===58){if(this.stateOverride&&(H(this.url)&&!$(this.buffer)||!H(this.url)&&$(this.buffer)||(M(this.url)||this.url.port!==null)&&this.buffer==="file"||this.url.scheme==="file"&&(this.url.host===""||this.url.host===null))||(this.url.scheme=this.buffer,this.buffer="",this.stateOverride))return!1;this.url.scheme==="file"?((this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47)&&(this.parseError=!0),this.state="file"):H(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme?this.state="special relative or authority":H(this.url)?this.state="special authority slashes":this.input[this.pointer+1]===47?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else if(!this.stateOverride)this.buffer="",this.state="no scheme",this.pointer=-1;else return this.parseError=!0,n;return!0},K.prototype["parse no scheme"]=function(P){return this.base===null||this.base.cannotBeABaseURL&&P!==35?n:(this.base.cannotBeABaseURL&&P===35?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):this.base.scheme==="file"?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},K.prototype["parse special relative or authority"]=function(P){return P===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},K.prototype["parse path or authority"]=function(P){return P===47?this.state="authority":(this.state="path",--this.pointer),!0},K.prototype["parse relative"]=function(P){return this.url.scheme=this.base.scheme,isNaN(P)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):P===47?this.state="relative slash":P===63?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):P===35?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):H(this.url)&&P===92?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},K.prototype["parse relative slash"]=function(P){return H(this.url)&&(P===47||P===92)?(P===92&&(this.parseError=!0),this.state="special authority ignore slashes"):P===47?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer),!0},K.prototype["parse special authority slashes"]=function(P){return P===47&&this.input[this.pointer+1]===47?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},K.prototype["parse special authority ignore slashes"]=function(P){return P!==47&&P!==92?(this.state="authority",--this.pointer):this.parseError=!0,!0},K.prototype["parse authority"]=function(P,Y){if(P===64){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const ie=i(this.buffer);for(let ce=0;ce<ie;++ce){const ue=this.buffer.codePointAt(ce);if(ue===58&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const Ce=w(ue,X);this.passwordTokenSeenFlag?this.url.password+=Ce:this.url.username+=Ce}this.buffer=""}else if(isNaN(P)||P===47||P===63||P===35||H(this.url)&&P===92){if(this.atFlag&&this.buffer==="")return this.parseError=!0,n;this.pointer-=i(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=Y;return!0},K.prototype["parse hostname"]=K.prototype["parse host"]=function(P,Y){if(this.stateOverride&&this.url.scheme==="file")--this.pointer,this.state="file host";else if(P===58&&!this.arrFlag){if(this.buffer==="")return this.parseError=!0,n;const ie=_(this.buffer,H(this.url));if(ie===n)return n;if(this.url.host=ie,this.buffer="",this.state="port",this.stateOverride==="hostname")return!1}else if(isNaN(P)||P===47||P===63||P===35||H(this.url)&&P===92){if(--this.pointer,H(this.url)&&this.buffer==="")return this.parseError=!0,n;if(this.stateOverride&&this.buffer===""&&(M(this.url)||this.url.port!==null))return this.parseError=!0,!1;const ie=_(this.buffer,H(this.url));if(ie===n)return n;if(this.url.host=ie,this.buffer="",this.state="path start",this.stateOverride)return!1}else P===91?this.arrFlag=!0:P===93&&(this.arrFlag=!1),this.buffer+=Y;return!0},K.prototype["parse port"]=function(P,Y){if(s(P))this.buffer+=Y;else if(isNaN(P)||P===47||P===63||P===35||H(this.url)&&P===92||this.stateOverride){if(this.buffer!==""){const ie=parseInt(this.buffer);if(ie>Math.pow(2,16)-1)return this.parseError=!0,n;this.url.port=ie===U(this.url.scheme)?null:ie,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}else return this.parseError=!0,n;return!0};const de=new Set([47,92,63,35]);K.prototype["parse file"]=function(P){return this.url.scheme="file",P===47||P===92?(P===92&&(this.parseError=!0),this.state="file slash"):this.base!==null&&this.base.scheme==="file"?isNaN(P)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):P===63?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):P===35?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1===0||!A(P,this.input[this.pointer+1])||this.input.length-this.pointer-1>=2&&!de.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),f(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},K.prototype["parse file slash"]=function(P){return P===47||P===92?(P===92&&(this.parseError=!0),this.state="file host"):(this.base!==null&&this.base.scheme==="file"&&(O(this.base.path[0])?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},K.prototype["parse file host"]=function(P,Y){if(isNaN(P)||P===47||P===92||P===63||P===35)if(--this.pointer,!this.stateOverride&&N(this.buffer))this.parseError=!0,this.state="path";else if(this.buffer===""){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let ie=_(this.buffer,H(this.url));if(ie===n)return n;if(ie==="localhost"&&(ie=""),this.url.host=ie,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=Y;return!0},K.prototype["parse path start"]=function(P){return H(this.url)?(P===92&&(this.parseError=!0),this.state="path",P!==47&&P!==92&&--this.pointer):!this.stateOverride&&P===63?(this.url.query="",this.state="query"):!this.stateOverride&&P===35?(this.url.fragment="",this.state="fragment"):P!==void 0&&(this.state="path",P!==47&&--this.pointer),!0},K.prototype["parse path"]=function(P){if(isNaN(P)||P===47||H(this.url)&&P===92||!this.stateOverride&&(P===63||P===35)){if(H(this.url)&&P===92&&(this.parseError=!0),x(this.buffer)?(f(this.url),P!==47&&!(H(this.url)&&P===92)&&this.url.path.push("")):v(this.buffer)&&P!==47&&!(H(this.url)&&P===92)?this.url.path.push(""):v(this.buffer)||(this.url.scheme==="file"&&this.url.path.length===0&&N(this.buffer)&&(this.url.host!==""&&this.url.host!==null&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)),this.buffer="",this.url.scheme==="file"&&(P===void 0||P===63||P===35))for(;this.url.path.length>1&&this.url.path[0]==="";)this.parseError=!0,this.url.path.shift();P===63&&(this.url.query="",this.state="query"),P===35&&(this.url.fragment="",this.state="fragment")}else P===37&&(!u(this.input[this.pointer+1])||!u(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=w(P,R);return!0},K.prototype["parse cannot-be-a-base-URL path"]=function(P){return P===63?(this.url.query="",this.state="query"):P===35?(this.url.fragment="",this.state="fragment"):(!isNaN(P)&&P!==37&&(this.parseError=!0),P===37&&(!u(this.input[this.pointer+1])||!u(this.input[this.pointer+2]))&&(this.parseError=!0),isNaN(P)||(this.url.path[0]=this.url.path[0]+w(P,J))),!0},K.prototype["parse query"]=function(P,Y){if(isNaN(P)||!this.stateOverride&&P===35){(!H(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss")&&(this.encodingOverride="utf-8");const ie=new Buffer(this.buffer);for(let ce=0;ce<ie.length;++ce)ie[ce]<33||ie[ce]>126||ie[ce]===34||ie[ce]===35||ie[ce]===60||ie[ce]===62?this.url.query+=B(ie[ce]):this.url.query+=String.fromCodePoint(ie[ce]);this.buffer="",P===35&&(this.url.fragment="",this.state="fragment")}else P===37&&(!u(this.input[this.pointer+1])||!u(this.input[this.pointer+2]))&&(this.parseError=!0),this.buffer+=Y;return!0},K.prototype["parse fragment"]=function(P){return isNaN(P)||(P===0?this.parseError=!0:(P===37&&(!u(this.input[this.pointer+1])||!u(this.input[this.pointer+2]))&&(this.parseError=!0),this.url.fragment+=w(P,J))),!0};function te(C,P){let Y=C.scheme+":";if(C.host!==null?(Y+="//",(C.username!==""||C.password!=="")&&(Y+=C.username,C.password!==""&&(Y+=":"+C.password),Y+="@"),Y+=c(C.host),C.port!==null&&(Y+=":"+C.port)):C.host===null&&C.scheme==="file"&&(Y+="//"),C.cannotBeABaseURL)Y+=C.path[0];else for(const ie of C.path)Y+="/"+ie;return C.query!==null&&(Y+="?"+C.query),!P&&C.fragment!==null&&(Y+="#"+C.fragment),Y}function oe(C){let P=C.scheme+"://";return P+=c(C.host),C.port!==null&&(P+=":"+C.port),P}t.exports.serializeURL=te,t.exports.serializeURLOrigin=function(C){switch(C.scheme){case"blob":try{return t.exports.serializeURLOrigin(t.exports.parseURL(C.path[0]))}catch{return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return oe({scheme:C.scheme,host:C.host,port:C.port});case"file":return"file://";default:return"null"}},t.exports.basicURLParse=function(C,P){P===void 0&&(P={});const Y=new K(C,P.baseURL,P.encodingOverride,P.url,P.stateOverride);return Y.failure?"failure":Y.url},t.exports.setTheUsername=function(C,P){C.username="";const Y=e.ucs2.decode(P);for(let ie=0;ie<Y.length;++ie)C.username+=w(Y[ie],X)},t.exports.setThePassword=function(C,P){C.password="";const Y=e.ucs2.decode(P);for(let ie=0;ie<Y.length;++ie)C.password+=w(Y[ie],X)},t.exports.serializeHost=c,t.exports.cannotHaveAUsernamePasswordPort=q,t.exports.serializeInteger=function(C){return String(C)},t.exports.parseURL=function(C,P){return P===void 0&&(P={}),t.exports.basicURLParse(C,{baseURL:P.baseURL,encodingOverride:P.encodingOverride})}})(Ef);var $a=Ef.exports;const At=$a;Af.implementation=class{constructor(e){const r=e[0],a=e[1];let n=null;if(a!==void 0&&(n=At.basicURLParse(a),n==="failure"))throw new TypeError("Invalid base URL");const i=At.basicURLParse(r,{baseURL:n});if(i==="failure")throw new TypeError("Invalid URL");this._url=i}get href(){return At.serializeURL(this._url)}set href(e){const r=At.basicURLParse(e);if(r==="failure")throw new TypeError("Invalid URL");this._url=r}get origin(){return At.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){At.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){At.cannotHaveAUsernamePasswordPort(this._url)||At.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){At.cannotHaveAUsernamePasswordPort(this._url)||At.setThePassword(this._url,e)}get host(){const e=this._url;return e.host===null?"":e.port===null?At.serializeHost(e.host):At.serializeHost(e.host)+":"+At.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||At.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return this._url.host===null?"":At.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||At.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return this._url.port===null?"":At.serializeInteger(this._url.port)}set port(e){At.cannotHaveAUsernamePasswordPort(this._url)||(e===""?this._url.port=null:At.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:this._url.path.length===0?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],At.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return this._url.query===null||this._url.query===""?"":"?"+this._url.query}set search(e){const r=this._url;if(e===""){r.query=null;return}const a=e[0]==="?"?e.substring(1):e;r.query="",At.basicURLParse(a,{url:r,stateOverride:"query"})}get hash(){return this._url.fragment===null||this._url.fragment===""?"":"#"+this._url.fragment}set hash(e){if(e===""){this._url.fragment=null;return}const r=e[0]==="#"?e.substring(1):e;this._url.fragment="",At.basicURLParse(r,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}};(function(t){const e=Eb,r=Sb,a=Af,n=r.implSymbol;function i(o){if(!this||this[n]||!(this instanceof i))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const s=[];for(let p=0;p<arguments.length&&p<2;++p)s[p]=arguments[p];s[0]=e.USVString(s[0]),s[1]!==void 0&&(s[1]=e.USVString(s[1])),t.exports.setup(this,s)}i.prototype.toJSON=function(){if(!this||!t.exports.is(this))throw new TypeError("Illegal invocation");const s=[];for(let p=0;p<arguments.length&&p<0;++p)s[p]=arguments[p];return this[n].toJSON.apply(this[n],s)},Object.defineProperty(i.prototype,"href",{get(){return this[n].href},set(o){o=e.USVString(o),this[n].href=o},enumerable:!0,configurable:!0}),i.prototype.toString=function(){if(!this||!t.exports.is(this))throw new TypeError("Illegal invocation");return this.href},Object.defineProperty(i.prototype,"origin",{get(){return this[n].origin},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"protocol",{get(){return this[n].protocol},set(o){o=e.USVString(o),this[n].protocol=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"username",{get(){return this[n].username},set(o){o=e.USVString(o),this[n].username=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"password",{get(){return this[n].password},set(o){o=e.USVString(o),this[n].password=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"host",{get(){return this[n].host},set(o){o=e.USVString(o),this[n].host=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"hostname",{get(){return this[n].hostname},set(o){o=e.USVString(o),this[n].hostname=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"port",{get(){return this[n].port},set(o){o=e.USVString(o),this[n].port=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pathname",{get(){return this[n].pathname},set(o){o=e.USVString(o),this[n].pathname=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"search",{get(){return this[n].search},set(o){o=e.USVString(o),this[n].search=o},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"hash",{get(){return this[n].hash},set(o){o=e.USVString(o),this[n].hash=o},enumerable:!0,configurable:!0}),t.exports={is(o){return!!o&&o[n]instanceof a.implementation},create(o,s){let p=Object.create(i.prototype);return this.setup(p,o,s),p},setup(o,s,p){p||(p={}),p.wrapper=o,o[n]=new a.implementation(s,p),o[n][r.wrapperSymbol]=o},interface:i,expose:{Window:{URL:i},Worker:{URL:i}}}})(xf);var jb=xf.exports;Hr.URL=jb.interface;Hr.serializeURL=$a.serializeURL;Hr.serializeURLOrigin=$a.serializeURLOrigin;Hr.basicURLParse=$a.basicURLParse;Hr.setTheUsername=$a.setTheUsername;Hr.setThePassword=$a.setThePassword;Hr.serializeHost=$a.serializeHost;Hr.serializeInteger=$a.serializeInteger;Hr.parseURL=$a.parseURL;const qb=_t.Readable,wa=Symbol("buffer"),os=Symbol("type");let up=class Us{constructor(){this[os]="";const e=arguments[0],r=arguments[1],a=[];let n=0;if(e){const o=e,s=Number(o.length);for(let p=0;p<s;p++){const l=o[p];let u;l instanceof Buffer?u=l:ArrayBuffer.isView(l)?u=Buffer.from(l.buffer,l.byteOffset,l.byteLength):l instanceof ArrayBuffer?u=Buffer.from(l):l instanceof Us?u=l[wa]:u=Buffer.from(typeof l=="string"?l:String(l)),n+=u.length,a.push(u)}}this[wa]=Buffer.concat(a);let i=r&&r.type!==void 0&&String(r.type).toLowerCase();i&&!/[^\u0020-\u007E]/.test(i)&&(this[os]=i)}get size(){return this[wa].length}get type(){return this[os]}text(){return Promise.resolve(this[wa].toString())}arrayBuffer(){const e=this[wa],r=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(r)}stream(){const e=new qb;return e._read=function(){},e.push(this[wa]),e.push(null),e}toString(){return"[object Blob]"}slice(){const e=this.size,r=arguments[0],a=arguments[1];let n,i;r===void 0?n=0:r<0?n=Math.max(e+r,0):n=Math.min(r,e),a===void 0?i=e:a<0?i=Math.max(e+a,0):i=Math.min(a,e);const o=Math.max(i-n,0),p=this[wa].slice(n,n+o),l=new Us([],{type:arguments[2]});return l[wa]=p,l}};Object.defineProperties(up.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});Object.defineProperty(up.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0});function zt(t,e,r){Error.call(this,t),this.message=t,this.type=e,r&&(this.code=this.errno=r.code),Error.captureStackTrace(this,this.constructor)}zt.prototype=Object.create(Error.prototype);zt.prototype.constructor=zt;zt.prototype.name="FetchError";let Vs;try{Vs=require("encoding").convert}catch{}const Pa=Symbol("Body internals"),v2=_t.PassThrough;function Ft(t){var e=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.size;let n=a===void 0?0:a;var i=r.timeout;let o=i===void 0?0:i;t==null?t=null:Ff(t)?t=Buffer.from(t.toString()):R1(t)||Buffer.isBuffer(t)||(Object.prototype.toString.call(t)==="[object ArrayBuffer]"?t=Buffer.from(t):ArrayBuffer.isView(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):t instanceof _t||(t=Buffer.from(String(t)))),this[Pa]={body:t,disturbed:!1,error:null},this.size=n,this.timeout=o,t instanceof _t&&t.on("error",function(s){const p=s.name==="AbortError"?s:new zt(`Invalid response body while trying to fetch ${e.url}: ${s.message}`,"system",s);e[Pa].error=p})}Ft.prototype={get body(){return this[Pa].body},get bodyUsed(){return this[Pa].disturbed},arrayBuffer(){return Vn.call(this).then(function(t){return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)})},blob(){let t=this.headers&&this.headers.get("content-type")||"";return Vn.call(this).then(function(e){return Object.assign(new up([],{type:t.toLowerCase()}),{[wa]:e})})},json(){var t=this;return Vn.call(this).then(function(e){try{return JSON.parse(e.toString())}catch(r){return Ft.Promise.reject(new zt(`invalid json response body at ${t.url} reason: ${r.message}`,"invalid-json"))}})},text(){return Vn.call(this).then(function(t){return t.toString()})},buffer(){return Vn.call(this)},textConverted(){var t=this;return Vn.call(this).then(function(e){return $b(e,t.headers)})}};Object.defineProperties(Ft.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}});Ft.mixIn=function(t){for(const e of Object.getOwnPropertyNames(Ft.prototype))if(!(e in t)){const r=Object.getOwnPropertyDescriptor(Ft.prototype,e);Object.defineProperty(t,e,r)}};function Vn(){var t=this;if(this[Pa].disturbed)return Ft.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[Pa].disturbed=!0,this[Pa].error)return Ft.Promise.reject(this[Pa].error);let e=this.body;if(e===null)return Ft.Promise.resolve(Buffer.alloc(0));if(R1(e)&&(e=e.stream()),Buffer.isBuffer(e))return Ft.Promise.resolve(e);if(!(e instanceof _t))return Ft.Promise.resolve(Buffer.alloc(0));let r=[],a=0,n=!1;return new Ft.Promise(function(i,o){let s;t.timeout&&(s=setTimeout(function(){n=!0,o(new zt(`Response timeout while trying to fetch ${t.url} (over ${t.timeout}ms)`,"body-timeout"))},t.timeout)),e.on("error",function(p){p.name==="AbortError"?(n=!0,o(p)):o(new zt(`Invalid response body while trying to fetch ${t.url}: ${p.message}`,"system",p))}),e.on("data",function(p){if(!(n||p===null)){if(t.size&&a+p.length>t.size){n=!0,o(new zt(`content size at ${t.url} over limit: ${t.size}`,"max-size"));return}a+=p.length,r.push(p)}}),e.on("end",function(){if(!n){clearTimeout(s);try{i(Buffer.concat(r,a))}catch(p){o(new zt(`Could not create Buffer from response body for ${t.url}: ${p.message}`,"system",p))}}})})}function $b(t,e){if(typeof Vs!="function")throw new Error("The package `encoding` must be installed to use the textConverted() function");const r=e.get("content-type");let a="utf-8",n,i;return r&&(n=/charset=([^;]*)/i.exec(r)),i=t.slice(0,1024).toString(),!n&&i&&(n=/<meta.+?charset=(['"])(.+?)\1/i.exec(i)),!n&&i&&(n=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(i),n||(n=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(i),n&&n.pop()),n&&(n=/charset=(.*)/i.exec(n.pop()))),!n&&i&&(n=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(i)),n&&(a=n.pop(),(a==="gb2312"||a==="gbk")&&(a="gb18030")),Vs(t,"UTF-8",a).toString()}function Ff(t){return typeof t!="object"||typeof t.append!="function"||typeof t.delete!="function"||typeof t.get!="function"||typeof t.getAll!="function"||typeof t.has!="function"||typeof t.set!="function"?!1:t.constructor.name==="URLSearchParams"||Object.prototype.toString.call(t)==="[object URLSearchParams]"||typeof t.sort=="function"}function R1(t){return typeof t=="object"&&typeof t.arrayBuffer=="function"&&typeof t.type=="string"&&typeof t.stream=="function"&&typeof t.constructor=="function"&&typeof t.constructor.name=="string"&&/^(Blob|File)$/.test(t.constructor.name)&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}function Lf(t){let e,r,a=t.body;if(t.bodyUsed)throw new Error("cannot clone body after it is used");return a instanceof _t&&typeof a.getBoundary!="function"&&(e=new v2,r=new v2,a.pipe(e),a.pipe(r),t[Pa].body=e,a=r),a}function Uf(t){return t===null?null:typeof t=="string"?"text/plain;charset=UTF-8":Ff(t)?"application/x-www-form-urlencoded;charset=UTF-8":R1(t)?t.type||null:Buffer.isBuffer(t)||Object.prototype.toString.call(t)==="[object ArrayBuffer]"||ArrayBuffer.isView(t)?null:typeof t.getBoundary=="function"?`multipart/form-data;boundary=${t.getBoundary()}`:t instanceof _t?null:"text/plain;charset=UTF-8"}function Vf(t){const e=t.body;return e===null?0:R1(e)?e.size:Buffer.isBuffer(e)?e.length:e&&typeof e.getLengthSync=="function"&&(e._lengthRetrievers&&e._lengthRetrievers.length==0||e.hasKnownLength&&e.hasKnownLength())?e.getLengthSync():null}function Gb(t,e){const r=e.body;r===null?t.end():R1(r)?r.stream().pipe(t):Buffer.isBuffer(r)?(t.write(r),t.end()):r.pipe(t)}Ft.Promise=global.Promise;const jf=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,js=/[^\t\x20-\x7e\x80-\xff]/;function Li(t){if(t=`${t}`,jf.test(t)||t==="")throw new TypeError(`${t} is not a legal HTTP header name`)}function b2(t){if(t=`${t}`,js.test(t))throw new TypeError(`${t} is not a legal HTTP header value`)}function Wn(t,e){e=e.toLowerCase();for(const r in t)if(r.toLowerCase()===e)return r}const Nt=Symbol("map");let Da=class qf{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(this[Nt]=Object.create(null),e instanceof qf){const r=e.raw(),a=Object.keys(r);for(const n of a)for(const i of r[n])this.append(n,i);return}if(e!=null)if(typeof e=="object"){const r=e[Symbol.iterator];if(r!=null){if(typeof r!="function")throw new TypeError("Header pairs must be iterable");const a=[];for(const n of e){if(typeof n!="object"||typeof n[Symbol.iterator]!="function")throw new TypeError("Each header pair must be iterable");a.push(Array.from(n))}for(const n of a){if(n.length!==2)throw new TypeError("Each header pair must be a name/value tuple");this.append(n[0],n[1])}}else for(const a of Object.keys(e)){const n=e[a];this.append(a,n)}}else throw new TypeError("Provided initializer must be an object")}get(e){e=`${e}`,Li(e);const r=Wn(this[Nt],e);return r===void 0?null:this[Nt][r].join(", ")}forEach(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,a=qs(this),n=0;for(;n<a.length;){var i=a[n];const o=i[0],s=i[1];e.call(r,s,o,this),a=qs(this),n++}}set(e,r){e=`${e}`,r=`${r}`,Li(e),b2(r);const a=Wn(this[Nt],e);this[Nt][a!==void 0?a:e]=[r]}append(e,r){e=`${e}`,r=`${r}`,Li(e),b2(r);const a=Wn(this[Nt],e);a!==void 0?this[Nt][a].push(r):this[Nt][e]=[r]}has(e){return e=`${e}`,Li(e),Wn(this[Nt],e)!==void 0}delete(e){e=`${e}`,Li(e);const r=Wn(this[Nt],e);r!==void 0&&delete this[Nt][r]}raw(){return this[Nt]}keys(){return ss(this,"key")}values(){return ss(this,"value")}[Symbol.iterator](){return ss(this,"key+value")}};Da.prototype.entries=Da.prototype[Symbol.iterator];Object.defineProperty(Da.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0});Object.defineProperties(Da.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});function qs(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key+value";return Object.keys(t[Nt]).sort().map(e==="key"?function(a){return a.toLowerCase()}:e==="value"?function(a){return t[Nt][a].join(", ")}:function(a){return[a.toLowerCase(),t[Nt][a].join(", ")]})}const $s=Symbol("internal");function ss(t,e){const r=Object.create(fp);return r[$s]={target:t,kind:e,index:0},r}const fp=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==fp)throw new TypeError("Value of `this` is not a HeadersIterator");var t=this[$s];const e=t.target,r=t.kind,a=t.index,n=qs(e,r),i=n.length;return a>=i?{value:void 0,done:!0}:(this[$s].index=a+1,{value:n[a],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(fp,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});function Hb(t){const e=Object.assign({__proto__:null},t[Nt]),r=Wn(t[Nt],"Host");return r!==void 0&&(e[r]=e[r][0]),e}function zb(t){const e=new Da;for(const r of Object.keys(t))if(!jf.test(r))if(Array.isArray(t[r]))for(const a of t[r])js.test(a)||(e[Nt][r]===void 0?e[Nt][r]=[a]:e[Nt][r].push(a));else js.test(t[r])||(e[Nt][r]=[t[r]]);return e}const Wa=Symbol("Response internals"),Wb=_t.STATUS_CODES;class Mr{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ft.call(this,e,r);const a=r.status||200,n=new Da(r.headers);if(e!=null&&!n.has("Content-Type")){const i=Uf(e);i&&n.append("Content-Type",i)}this[Wa]={url:r.url,status:a,statusText:r.statusText||Wb[a],headers:n,counter:r.counter}}get url(){return this[Wa].url||""}get status(){return this[Wa].status}get ok(){return this[Wa].status>=200&&this[Wa].status<300}get redirected(){return this[Wa].counter>0}get statusText(){return this[Wa].statusText}get headers(){return this[Wa].headers}clone(){return new Mr(Lf(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Ft.mixIn(Mr.prototype);Object.defineProperties(Mr.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}});Object.defineProperty(Mr.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const Ta=Symbol("Request internals"),Kb=qa.URL||Hr.URL,Jb=qa.parse,Qb=qa.format;function ds(t){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(t)&&(t=new Kb(t).toString()),Jb(t)}const Yb="destroy"in _t.Readable.prototype;function t0(t){return typeof t=="object"&&typeof t[Ta]=="object"}function Xb(t){const e=t&&typeof t=="object"&&Object.getPrototypeOf(t);return!!(e&&e.constructor.name==="AbortSignal")}class On{constructor(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a;t0(e)?a=ds(e.url):(e&&e.href?a=ds(e.href):a=ds(`${e}`),e={});let n=r.method||e.method||"GET";if(n=n.toUpperCase(),(r.body!=null||t0(e)&&e.body!==null)&&(n==="GET"||n==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body");let i=r.body!=null?r.body:t0(e)&&e.body!==null?Lf(e):null;Ft.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const o=new Da(r.headers||e.headers||{});if(i!=null&&!o.has("Content-Type")){const p=Uf(i);p&&o.append("Content-Type",p)}let s=t0(e)?e.signal:null;if("signal"in r&&(s=r.signal),s!=null&&!Xb(s))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[Ta]={method:n,redirect:r.redirect||e.redirect||"follow",headers:o,parsedURL:a,signal:s},this.follow=r.follow!==void 0?r.follow:e.follow!==void 0?e.follow:20,this.compress=r.compress!==void 0?r.compress:e.compress!==void 0?e.compress:!0,this.counter=r.counter||e.counter||0,this.agent=r.agent||e.agent}get method(){return this[Ta].method}get url(){return Qb(this[Ta].parsedURL)}get headers(){return this[Ta].headers}get redirect(){return this[Ta].redirect}get signal(){return this[Ta].signal}clone(){return new On(this)}}Ft.mixIn(On.prototype);Object.defineProperty(On.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0});Object.defineProperties(On.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}});function Zb(t){const e=t[Ta].parsedURL,r=new Da(t[Ta].headers);if(r.has("Accept")||r.set("Accept","*/*"),!e.protocol||!e.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(e.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(t.signal&&t.body instanceof _t.Readable&&!Yb)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let a=null;if(t.body==null&&/^(POST|PUT)$/i.test(t.method)&&(a="0"),t.body!=null){const i=Vf(t);typeof i=="number"&&(a=String(i))}a&&r.set("Content-Length",a),r.has("User-Agent")||r.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),t.compress&&!r.has("Accept-Encoding")&&r.set("Accept-Encoding","gzip,deflate");let n=t.agent;return typeof n=="function"&&(n=n(e)),!r.has("Connection")&&!n&&r.set("Connection","close"),Object.assign({},e,{method:t.method,headers:Hb(r),agent:n})}function m1(t){Error.call(this,t),this.type="aborted",this.message=t,Error.captureStackTrace(this,this.constructor)}m1.prototype=Object.create(Error.prototype);m1.prototype.constructor=m1;m1.prototype.name="AbortError";const v1=qa.URL||Hr.URL,y2=_t.PassThrough,ey=function(e,r){const a=new v1(r).hostname,n=new v1(e).hostname;return a===n||a[a.length-n.length-1]==="."&&a.endsWith(n)},ty=function(e,r){const a=new v1(r).protocol,n=new v1(e).protocol;return a===n};function Xa(t,e){if(!Xa.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return Ft.Promise=Xa.Promise,new Xa.Promise(function(r,a){const n=new On(t,e),i=Zb(n),o=(i.protocol==="https:",_t).request,s=n.signal;let p=null;const l=function(){let O=new m1("The user aborted a request.");a(O),n.body&&n.body instanceof _t.Readable&&ps(n.body,O),!(!p||!p.body)&&p.body.emit("error",O)};if(s&&s.aborted){l();return}const u=function(){l(),A()},v=o(i);let x;s&&s.addEventListener("abort",u);function A(){v.abort(),s&&s.removeEventListener("abort",u),clearTimeout(x)}n.timeout&&v.once("socket",function(N){x=setTimeout(function(){a(new zt(`network timeout at: ${n.url}`,"request-timeout")),A()},n.timeout)}),v.on("error",function(N){a(new zt(`request to ${n.url} failed, reason: ${N.message}`,"system",N)),p&&p.body&&ps(p.body,N),A()}),ry(v,function(N){s&&s.aborted||p&&p.body&&ps(p.body,N)}),parseInt(process.version.substring(1))<14&&v.on("socket",function(N){N.addListener("close",function(O){const S=N.listenerCount("data")>0;if(p&&S&&!O&&!(s&&s.aborted)){const I=new Error("Premature close");I.code="ERR_STREAM_PREMATURE_CLOSE",p.body.emit("error",I)}})}),v.on("response",function(N){clearTimeout(x);const O=zb(N.headers);if(Xa.isRedirect(N.statusCode)){const U=O.get("Location");let B=null;try{B=U===null?null:new v1(U,n.url).toString()}catch{if(n.redirect!=="manual"){a(new zt(`uri requested responds with an invalid redirect URL: ${U}`,"invalid-redirect")),A();return}}switch(n.redirect){case"error":a(new zt(`uri requested responds with a redirect, redirect mode is set to error: ${n.url}`,"no-redirect")),A();return;case"manual":if(B!==null)try{O.set("Location",B)}catch(Q){a(Q)}break;case"follow":if(B===null)break;if(n.counter>=n.follow){a(new zt(`maximum redirect reached at: ${n.url}`,"max-redirect")),A();return}const j={headers:new Da(n.headers),follow:n.follow,counter:n.counter+1,agent:n.agent,compress:n.compress,method:n.method,body:n.body,signal:n.signal,timeout:n.timeout,size:n.size};if(!ey(n.url,B)||!ty(n.url,B))for(const Q of["authorization","www-authenticate","cookie","cookie2"])j.headers.delete(Q);if(N.statusCode!==303&&n.body&&Vf(n)===null){a(new zt("Cannot follow redirect with body being a readable stream","unsupported-redirect")),A();return}(N.statusCode===303||(N.statusCode===301||N.statusCode===302)&&n.method==="POST")&&(j.method="GET",j.body=void 0,j.headers.delete("content-length")),r(Xa(new On(B,j))),A();return}}N.once("end",function(){s&&s.removeEventListener("abort",u)});let S=N.pipe(new y2);const I={url:n.url,status:N.statusCode,statusText:N.statusMessage,headers:O,size:n.size,timeout:n.timeout,counter:n.counter},$=O.get("Content-Encoding");if(!n.compress||n.method==="HEAD"||$===null||N.statusCode===204||N.statusCode===304){p=new Mr(S,I),r(p);return}const H={flush:_t.Z_SYNC_FLUSH,finishFlush:_t.Z_SYNC_FLUSH};if($=="gzip"||$=="x-gzip"){S=S.pipe(_t.createGunzip(H)),p=new Mr(S,I),r(p);return}if($=="deflate"||$=="x-deflate"){const U=N.pipe(new y2);U.once("data",function(B){(B[0]&15)===8?S=S.pipe(_t.createInflate()):S=S.pipe(_t.createInflateRaw()),p=new Mr(S,I),r(p)}),U.on("end",function(){p||(p=new Mr(S,I),r(p))});return}if($=="br"&&typeof _t.createBrotliDecompress=="function"){S=S.pipe(_t.createBrotliDecompress()),p=new Mr(S,I),r(p);return}p=new Mr(S,I),r(p)}),Gb(v,n)})}function ry(t,e){let r;t.on("socket",function(a){r=a}),t.on("response",function(a){const n=a.headers;n["transfer-encoding"]==="chunked"&&!n["content-length"]&&a.once("close",function(i){if(r&&r.listenerCount("data")>0&&!i){const s=new Error("Premature close");s.code="ERR_STREAM_PREMATURE_CLOSE",e(s)}})})}function ps(t,e){t.destroy?t.destroy(e):(t.emit("error",e),t.end())}Xa.isRedirect=function(t){return t===301||t===302||t===303||t===307||t===308};Xa.Promise=global.Promise;const ay="0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE";var xr;(function(t){t.SELL="sell",t.BUY="buy"})(xr||(xr={}));var jt;(function(t){t.ERC20="erc20",t.EXTERNAL="external",t.INTERNAL="internal"})(jt||(jt={}));const mi=[{name:"sellToken",type:"address"},{name:"buyToken",type:"address"},{name:"receiver",type:"address"},{name:"sellAmount",type:"uint256"},{name:"buyAmount",type:"uint256"},{name:"validTo",type:"uint32"},{name:"appData",type:"bytes32"},{name:"feeAmount",type:"uint256"},{name:"kind",type:"string"},{name:"partiallyFillable",type:"bool"},{name:"sellTokenBalance",type:"string"},{name:"buyTokenBalance",type:"string"}],hp=[{name:"orderUids",type:"bytes[]"}],ny=tr(`Order(${mi.map(({name:t,type:e})=>`${e} ${t}`).join(",")})`);function mp(t){return typeof t=="number"?t:~~(t.getTime()/1e3)}function $f(t){return typeof t=="number"?`0x${t.toString(16).padStart(64,"0")}`:Qe(t,32)}function vp(t){switch(t){case void 0:case jt.ERC20:case jt.EXTERNAL:return jt.ERC20;case jt.INTERNAL:return jt.INTERNAL;default:throw new Error(`invalid order balance ${t}`)}}function In(t){var e,r;if(t.receiver===si)throw new Error("receiver cannot be address(0)");return Object.assign(Object.assign({},t),{sellTokenBalance:(e=t.sellTokenBalance)!==null&&e!==void 0?e:jt.ERC20,receiver:(r=t.receiver)!==null&&r!==void 0?r:si,validTo:mp(t.validTo),appData:$f(t.appData),buyTokenBalance:vp(t.buyTokenBalance)})}function B1(t,e,r){return gt.hash(t,e,r)}function Gf(t,e){return B1(t,{Order:mi},In(e))}function iy(t,e){return Hf(t,[e])}function Hf(t,e){return B1(t,{OrderCancellations:hp},{orderUids:e})}const bp=56;function oy(t,e,r){return zf({orderDigest:Gf(t,e),owner:r,validTo:e.validTo})}function zf({orderDigest:t,owner:e,validTo:r}){return Ni(["bytes32","address","uint32"],[t,e,mp(r)])}function sy(t){const e=se(t);if(e.length!=bp)throw new Error("invalid order UID length");const r=new DataView(e.buffer);return{orderDigest:pe(e.subarray(0,32)),owner:Be(pe(e.subarray(32,52))),validTo:r.getUint32(52)}}function B0(t){return Object.assign({value:0,callData:"0x"},t)}function h0(t){return t.map(B0)}function Wf(t){return"_signTypedData"in t}function yp(t){return"send"in t}var uo=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const dy=xt(tr("isValidSignature(bytes32,bytes)"),0,4),py=tr("GPv2Signing.Scheme.PreSign");var Ot;(function(t){t[t.EIP712=0]="EIP712",t[t.ETHSIGN=1]="ETHSIGN",t[t.EIP1271=2]="EIP1271",t[t.PRESIGN=3]="PRESIGN"})(Ot||(Ot={}));function Kf(t,e,r,a,n){return uo(this,void 0,void 0,function*(){let i=null;switch(t){case Ot.EIP712:if(!Wf(e))throw new Error("signer does not support signing typed data");i=yield e._signTypedData(r,a,n);break;case Ot.ETHSIGN:i=yield e.signMessage(se(B1(r,a,n)));break;default:throw new Error("invalid signing scheme")}return oi(Ma(i))})}function gp(t,e,r,a){return uo(this,void 0,void 0,function*(){return{scheme:a,data:yield Kf(a,r,t,{Order:mi},In(e))}})}function ly(t,e,r,a){return uo(this,void 0,void 0,function*(){return Jf(t,[e],r,a)})}function Jf(t,e,r,a){return uo(this,void 0,void 0,function*(){return{scheme:a,data:yield Kf(a,r,t,{OrderCancellations:hp},{orderUids:e})}})}function Qf({verifier:t,signature:e}){return Ni(["address","bytes"],[t,e])}function Yf(t){const e=se(t);return{verifier:Be(pe(e.slice(0,20))),signature:e.slice(20)}}var cy=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})},fr;(function(t){t[t.PRE=0]="PRE",t[t.INTRA=1]="INTRA",t[t.POST=2]="POST"})(fr||(fr={}));const M0={kind:{offset:0,options:[xr.SELL,xr.BUY]},partiallyFillable:{offset:1,options:[!1,!0]},sellTokenBalance:{offset:2,options:[jt.ERC20,void 0,jt.EXTERNAL,jt.INTERNAL]},buyTokenBalance:{offset:4,options:[jt.ERC20,jt.INTERNAL]},signingScheme:{offset:5,options:[Ot.EIP712,Ot.ETHSIGN,Ot.EIP1271,Ot.PRESIGN]}};function $i(t,e){const r=M0[t].options.findIndex(a=>a===e);if(r===void 0)throw new Error(`Bad key/value pair to encode: ${t}/${e}`);return r<<M0[t].offset}function uy(t){const e=t.length;return(1<<32-Math.clz32(e-1))-1}function Gi(t,e){const{offset:r,options:a}=M0[t],n=ne.from(e).toNumber(),i=n>>r&uy(a),o=a[i];if(o===void 0||i<0)throw new Error(`Invalid input flag for ${t}: 0b${n.toString(2)}`);return o}function Xf(t){return $i("signingScheme",t)}function Zf(t){return Gi("signingScheme",t)}function e6(t){var e;return $i("kind",t.kind)|$i("partiallyFillable",t.partiallyFillable)|$i("sellTokenBalance",(e=t.sellTokenBalance)!==null&&e!==void 0?e:jt.ERC20)|$i("buyTokenBalance",vp(t.buyTokenBalance))}function xp(t){return{kind:Gi("kind",t),partiallyFillable:Gi("partiallyFillable",t),sellTokenBalance:Gi("sellTokenBalance",t),buyTokenBalance:Gi("buyTokenBalance",t)}}function t6(t){return e6(t)|Xf(t.signingScheme)}function fy(t){return Object.assign(Object.assign({},xp(t)),{signingScheme:Zf(t)})}function wp(t){switch(t.scheme){case Ot.EIP712:case Ot.ETHSIGN:return oi(t.data);case Ot.EIP1271:return Qf(t.data);case Ot.PRESIGN:return Be(t.data);default:throw new Error("unsupported signing scheme")}}function hy(t,e,r,a){switch(r){case Ot.EIP712:return Gd(t,{Order:mi},In(e),a);case Ot.ETHSIGN:return $d(se(B1(t,{Order:mi},In(e))),a);case Ot.EIP1271:return Yf(a).verifier;case Ot.PRESIGN:return Be(pe(a));default:throw new Error("unsupported signing scheme")}}function Ap(t,e,r,{executedAmount:a}){const n=Object.assign(Object.assign({},e),{signingScheme:r.scheme}),i=In(e);return{sellTokenIndex:t.index(i.sellToken),buyTokenIndex:t.index(i.buyToken),receiver:i.receiver,sellAmount:i.sellAmount,buyAmount:i.buyAmount,validTo:i.validTo,appData:i.appData,feeAmount:i.feeAmount,flags:t6(n),executedAmount:a,signature:wp(r)}}class Ep{constructor(){this._tokens=[],this._tokenMap={}}get addresses(){return this._tokens.slice()}index(e){const r=Be(e);let a=this._tokenMap[r];return a===void 0&&(a=this._tokens.length,this._tokens.push(r),this._tokenMap[r]=a),a}}class _p{constructor(e){this.domain=e,this._tokens=new Ep,this._trades=[],this._interactions={[fr.PRE]:[],[fr.INTRA]:[],[fr.POST]:[]},this._orderRefunds={filledAmounts:[],preSignatures:[]}}get tokens(){return this._tokens.addresses}get trades(){return this._trades.slice()}get interactions(){return[this._interactions[fr.PRE].slice(),this._interactions[fr.INTRA].slice(),[...this._interactions[fr.POST],...this.encodedOrderRefunds]]}get encodedOrderRefunds(){const{filledAmounts:e,preSignatures:r}=this._orderRefunds;if(e.length+r.length===0)return[];const a=this.domain.verifyingContract;if(a===void 0)throw new Error("domain missing settlement contract address");const n=new En(["function freeFilledAmountStorage(bytes[] orderUids)","function freePreSignatureStorage(bytes[] orderUids)"]),i=[];for(const[o,s]of[["freeFilledAmountStorage",e],["freePreSignatureStorage",r]].filter(([,p])=>p.length>0))i.push(B0({target:a,callData:n.encodeFunctionData(o,[s])}));return i}clearingPrices(e){return this.tokens.map(r=>{const a=e[r];if(a===void 0)throw new Error(`missing price for token ${r}`);return a})}encodeTrade(e,r,{executedAmount:a}={}){if(e.partiallyFillable&&a===void 0)throw new Error("missing executed amount for partially fillable trade");this._trades.push(Ap(this._tokens,e,r,{executedAmount:a??0}))}signEncodeTrade(e,r,a,n){return cy(this,void 0,void 0,function*(){const i=yield gp(this.domain,e,r,a);this.encodeTrade(e,i,n)})}encodeInteraction(e,r=fr.INTRA){this._interactions[r].push(B0(e))}encodeOrderRefunds(e){var r,a;if(this.domain.verifyingContract===void 0)throw new Error("domain missing settlement contract address");const n=(r=e.filledAmounts)!==null&&r!==void 0?r:[],i=(a=e.preSignatures)!==null&&a!==void 0?a:[];if(![...n,...i].every(o=>Se(o,bp)))throw new Error("one or more invalid order UIDs");this._orderRefunds.filledAmounts.push(...n),this._orderRefunds.preSignatures.push(...i)}encodedSettlement(e){return[this.tokens,this.clearingPrices(e),this.trades,this.interactions]}static encodedSetup(...e){const r=new _p({name:"unused"});for(const a of e)r.encodeInteraction(a);return r.encodedSettlement({})}}function my(t,e){const r=ne.from(t.sellTokenIndex).toNumber(),a=ne.from(t.buyTokenIndex).toNumber();if(Math.max(r,a)>=e.length)throw new Error("Invalid trade");return Object.assign({sellToken:e[r],buyToken:e[a],receiver:t.receiver,sellAmount:t.sellAmount,buyAmount:t.buyAmount,validTo:ne.from(t.validTo).toNumber(),appData:t.appData,feeAmount:t.feeAmount},xp(t.flags))}var Oa=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})},b1;(function(t){t[t.Dev=0]="Dev",t[t.Prod=1]="Prod"})(b1||(b1={}));const vy=5;function r6(t,e){switch(t){case b1.Dev:return`https://barn.api.cow.fi/${e}`;case b1.Prod:return`https://api.cow.fi/${e}`;default:throw new Error("Invalid environment")}}var F0;(function(t){t.FAST="fast",t.OPTIMAL="optimal"})(F0||(F0={}));var Gs;(function(t){t.SellAmountDoesNotCoverFee="SellAmountDoesNotCoverFee",t.NoLiquidity="NoLiquidity"})(Gs||(Gs={}));function by(t){switch(t){case xr.SELL:return"sell";case xr.BUY:return"buy";default:throw new Error(`Unsupported kind ${t}`)}}function yy(t){switch(t){case Ot.EIP712:return"eip712";case Ot.ETHSIGN:return"ethsign";case Ot.EIP1271:return"eip1271";case Ot.PRESIGN:return"presign";default:throw new Error(`Unsupported signing scheme ${t}`)}}function Sp(t,e,r){return Oa(this,void 0,void 0,function*(){const a=`${e}/api/v1/${t}`,n=yield Xa(a,r),i=yield n.text();if(!n.ok){const o=new Error(`Calling "${a} ${JSON.stringify(r)} failed with ${n.status}: ${i}`);try{o.apiError=JSON.parse(i)}catch{}throw o}return JSON.parse(i)})}function gy({sellToken:t,buyToken:e,kind:r,amount:a,baseUrl:n}){return Oa(this,void 0,void 0,function*(){const i=r==xr.SELL?{kind:xr.SELL,sellAmountAfterFee:a}:{kind:xr.BUY,buyAmountAfterFee:a},{quote:o}=yield a6({baseUrl:n},Object.assign({from:si,sellToken:t,buyToken:e,priceQuality:F0.FAST},i));if(o.buyToken.toLowerCase()!==e.toLowerCase())throw new Error(`Price returned for sell token ${t} uses an incorrect quote token (${o.buyToken.toLowerCase()} instead of ${e.toLowerCase()})`);const s=r==xr.SELL?o.buyAmount:o.sellAmount;return ne.from(s)})}function xy({order:t,signature:e,baseUrl:r,from:a}){return Oa(this,void 0,void 0,function*(){const n=In(t);return yield Sp("orders",r,{method:"post",body:JSON.stringify({sellToken:n.sellToken,buyToken:n.buyToken,sellAmount:ne.from(n.sellAmount).toString(),buyAmount:ne.from(n.buyAmount).toString(),validTo:n.validTo,appData:n.appData,feeAmount:ne.from(n.feeAmount).toString(),kind:by(t.kind),partiallyFillable:n.partiallyFillable,signature:wp(e),signingScheme:yy(e.scheme),receiver:n.receiver,from:a}),headers:{"Content-Type":"application/json"}})})}function wy({uid:t,baseUrl:e}){return Oa(this,void 0,void 0,function*(){const r=yield Sp(`orders/${t}`,e);return ne.from(r.executedSellAmount)})}function a6({baseUrl:t},e){return Oa(this,void 0,void 0,function*(){return e.sellAmountBeforeFee&&(e.sellAmountBeforeFee=e.sellAmountBeforeFee.toString()),e.sellAmountAfterFee&&(e.sellAmountAfterFee=e.sellAmountAfterFee.toString()),e.buyAmountAfterFee&&(e.buyAmountAfterFee=e.buyAmountAfterFee.toString()),Sp("quote",t,{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})})}class Ay{constructor(e,r){this.network=e;let a;typeof r=="string"?a=r:a=r6(r,e),this.baseUrl=a}apiCallParams(){return{network:this.network,baseUrl:this.baseUrl}}estimateTradeAmount(e){return Oa(this,void 0,void 0,function*(){return gy(Object.assign(Object.assign({},this.apiCallParams()),e))})}placeOrder(e){return Oa(this,void 0,void 0,function*(){return xy(Object.assign(Object.assign({},this.apiCallParams()),e))})}getExecutedSellAmount(e){return Oa(this,void 0,void 0,function*(){return wy(Object.assign(Object.assign({},this.apiCallParams()),e))})}getQuote(e){return Oa(this,void 0,void 0,function*(){return a6(this.apiCallParams(),e)})}}const n6=yd("Mattresses in Berlin!"),i6="0x4e59b44847b379578588920ca78fbf26c0b4956c",Ey={authenticator:"GPv2AllowListAuthentication",settlement:"GPv2Settlement",tradeSimulator:"GPv2TradeSimulator"};function _y({abi:t,bytecode:e},r){const a=new En(t),n=Vt([e,a.encodeDeploy(r)]);return fd(i6,n6,qe(n))}var o6=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};function s6(t){return wi.encode(["bytes32"],[ne.from(tr(t)).sub(1)])}const Sy=s6("eip1967.proxy.implementation"),Ty=s6("eip1967.proxy.admin");function Ny(t,e){return o6(this,void 0,void 0,function*(){const[r]=wi.decode(["address"],yield t.getStorageAt(e,Sy));return r})}function Py(t,e){return o6(this,void 0,void 0,function*(){const[r]=wi.decode(["address"],yield t.getStorageAt(e,Ty));return r})}const d6=["event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)","function owner() view external returns(address)","function transferOwnership(address newOwner) external","function supportsInterface(bytes4 interfaceID) external view returns (bool)"];function Oy(t){var e;return new c1(t.address,d6,(e=t.signer)!==null&&e!==void 0?e:t.provider)}var Iy=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};function Tp(t,e,r,a){return Iy(this,void 0,void 0,function*(){const n=e.interface.encodeFunctionData(r,a),i=yield t.callStatic.simulateDelegatecall(e.address,n);return e.interface.decodeFunctionResult(r,i)[0]})}class ky{constructor(e,r){this.allowList=e,this.reader=r}areSolvers(e){return Tp(this.allowList,this.reader,"areSolvers",[e])}}class Cy{constructor(e,r){this.settlement=e,this.reader=r}filledAmountsForOrders(e){return Tp(this.settlement,this.reader,"filledAmountsForOrders",[e])}}class Dy{constructor(e,r){this.settlement=e,this.simulator=r}simulateTrade(e,r){var a,n,i,o,s,p;const l=Object.assign(Object.assign({},e),{receiver:(a=e.receiver)!==null&&a!==void 0?a:si,sellTokenBalance:tr((n=e.sellTokenBalance)!==null&&n!==void 0?n:jt.ERC20),buyTokenBalance:tr((i=e.buyTokenBalance)!==null&&i!==void 0?i:jt.ERC20)}),u=[h0((o=r[fr.PRE])!==null&&o!==void 0?o:[]),h0((s=r[fr.INTRA])!==null&&s!==void 0?s:[]),h0((p=r[fr.POST])!==null&&p!==void 0?p:[])];return Tp(this.settlement,this.simulator,"simulateTrade",[l,u])}}var p6=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};class l6{constructor(e,r){this._isSigner=!0,this.signer=e;const a=r?"_"+r:"";if(this._signMethod="eth_signTypedData"+a,!e.provider)throw new Error("Signer does not have a provider set");if(!yp(e.provider))throw new Error("Provider must be of type JsonRpcProvider");this.provider=e.provider}_signTypedData(e,r,a){return p6(this,void 0,void 0,function*(){const n=yield gt.resolveNames(e,r,a,p=>this.resolveName(p)),i=gt.getPayload(n.domain,r,n.value),o=JSON.stringify(i),s=yield this.getAddress();return this.provider.send(this._signMethod,[s.toLowerCase(),o])})}getAddress(){return this.signer.getAddress()}signMessage(e){return this.signer.signMessage(e)}signTransaction(e){return this.signer.signTransaction(e)}connect(e){return this.signer.connect(e)}getBalance(e){return this.signer.getBalance(e)}getTransactionCount(e){return this.signer.getTransactionCount(e)}estimateGas(e){return this.signer.estimateGas(e)}call(e,r){return this.signer.call(e,r)}sendTransaction(e){return this.signer.sendTransaction(e)}getChainId(){return this.signer.getChainId()}getGasPrice(){return this.signer.getGasPrice()}getFeeData(){return this.signer.getFeeData()}resolveName(e){return this.signer.resolveName(e)}checkTransaction(e){return this.signer.checkTransaction(e)}populateTransaction(e){return this.signer.populateTransaction(e)}_checkProvider(e){return this.signer._checkProvider(e)}}class Ry extends l6{constructor(e){super(e,"v3")}}class By{constructor(e){if(this._isSigner=!0,this.signer=e,!e.provider)throw new Error("Signer does not have a provider set");if(!yp(e.provider))throw new Error("Provider must be of type JsonRpcProvider");this.provider=e.provider}_signTypedData(e,r,a){return p6(this,void 0,void 0,function*(){const n=yield gt.resolveNames(e,r,a,p=>this.resolveName(p)),i=gt.getPayload(n.domain,r,n.value);i.domain.chainId=parseInt(i.domain.chainId,10);const o=JSON.stringify(i),s=yield this.getAddress();return yield this.provider.send("eth_signTypedData_v4",[s.toLowerCase(),o])})}getAddress(){return this.signer.getAddress()}signMessage(e){return this.signer.signMessage(e)}signTransaction(e){return this.signer.signTransaction(e)}connect(e){return this.signer.connect(e)}getBalance(e){return this.signer.getBalance(e)}getTransactionCount(e){return this.signer.getTransactionCount(e)}estimateGas(e){return this.signer.estimateGas(e)}call(e,r){return this.signer.call(e,r)}sendTransaction(e){return this.signer.sendTransaction(e)}getChainId(){return this.signer.getChainId()}getGasPrice(){return this.signer.getGasPrice()}getFeeData(){return this.signer.getFeeData()}resolveName(e){return this.signer.resolveName(e)}checkTransaction(e){return this.signer.checkTransaction(e)}populateTransaction(e){return this.signer.populateTransaction(e)}_checkProvider(e){return this.signer._checkProvider(e)}}var My=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};function c6(t,e){return{poolId:e.poolId,assetInIndex:t.index(e.assetIn),assetOutIndex:t.index(e.assetOut),amount:e.amount,userData:e.userData||"0x"}}class L0{constructor(e){this.domain=e,this._tokens=new Ep,this._swaps=[],this._trade=void 0}get tokens(){return this._tokens.addresses}get swaps(){return this._swaps.slice()}get trade(){if(this._trade===void 0)throw new Error("trade not encoded");return this._trade}encodeSwapStep(...e){this._swaps.push(...e.map(r=>c6(this._tokens,r)))}encodeTrade(e,r,a){const{limitAmount:n}=Object.assign({limitAmount:e.kind==xr.SELL?e.buyAmount:e.sellAmount},a);this._trade=Ap(this._tokens,e,r,{executedAmount:n})}signEncodeTrade(e,r,a,n){return My(this,void 0,void 0,function*(){const i=yield gp(this.domain,e,r,a);this.encodeTrade(e,i,n)})}encodedSwap(){return[this.swaps,this.tokens,this.trade]}static encodeSwap(...e){if(e.length<5){const[r,a,n,i]=e,o=new L0({});return o.encodeSwapStep(...r),o.encodeTrade(a,n,i),o.encodedSwap()}else{const[r,a,n,i,o,s]=e,p=new L0(r);return p.encodeSwapStep(...a),p.signEncodeTrade(n,i,o,s).then(()=>p.encodedSwap())}}}var Fy=function(t,e,r,a){function n(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(u){try{l(a.next(u))}catch(v){o(v)}}function p(u){try{l(a.throw(u))}catch(v){o(v)}}function l(u){u.done?i(u.value):n(u.value).then(s,p)}l((a=a.apply(t,e||[])).next())})};const Hs=new En(["function manageUserBalance((uint8, address, uint256, address, address)[])","function batchSwap(uint8, (bytes32, uint256, uint256, uint256, bytes)[], address[], (address, bool, address, bool), int256[], uint256)"]);function Ly(t,e,r){return Fy(this,void 0,void 0,function*(){for(const a in Hs.functions)yield t.grantRole(Yd(["uint256","bytes4"],[e,Hs.getSighash(a)]),r)})}function Uy(t,e){return{name:"Gnosis Protocol",version:"v2",chainId:t,verifyingContract:e}}const Vy=Object.freeze(Object.defineProperty({__proto__:null,AllowListReader:ky,Api:Ay,BUY_ETH_ADDRESS:ay,CANCELLATIONS_TYPE_FIELDS:hp,CONTRACT_NAMES:Ey,DEPLOYER_CONTRACT:i6,EIP1271_MAGICVALUE:dy,EIP173_PROXY_ABI:d6,get Environment(){return b1},FLAG_MASKS:M0,get GetQuoteErrorType(){return Gs},IntChainIdTypedDataV4Signer:By,get InteractionStage(){return fr},LIMIT_CONCURRENT_REQUESTS:vy,ORDER_TYPE_FIELDS:mi,ORDER_TYPE_HASH:ny,ORDER_UID_LENGTH:bp,get OrderBalance(){return jt},get OrderKind(){return xr},PRE_SIGNED:py,get QuotePriceQuality(){return F0},SALT:n6,SettlementEncoder:_p,SettlementReader:Cy,get SigningScheme(){return Ot},SwapEncoder:L0,TokenRegistry:Ep,TradeSimulator:Dy,TypedDataV3Signer:Ry,TypedDataVersionedSigner:l6,VAULT_INTERFACE:Hs,apiUrl:r6,computeOrderUid:oy,decodeEip1271SignatureData:Yf,decodeOrder:my,decodeOrderFlags:xp,decodeSignatureOwner:hy,decodeSigningScheme:Zf,decodeTradeFlags:fy,deterministicDeploymentAddress:_y,domain:Uy,encodeEip1271SignatureData:Qf,encodeOrderFlags:e6,encodeSignatureData:wp,encodeSigningScheme:Xf,encodeSwapStep:c6,encodeTrade:Ap,encodeTradeFlags:t6,extractOrderUidParams:sy,grantRequiredRoles:Ly,hashOrder:Gf,hashOrderCancellation:iy,hashOrderCancellations:Hf,hashTypedData:B1,hashify:$f,implementationAddress:Ny,isJsonRpcProvider:yp,isTypedDataSigner:Wf,normalizeBuyTokenBalance:vp,normalizeInteraction:B0,normalizeInteractions:h0,normalizeOrder:In,ownerAddress:Py,packOrderUidParams:zf,proxyInterface:Oy,signOrder:gp,signOrderCancellation:ly,signOrderCancellations:Jf,timestamp:mp},Symbol.toStringTag,{value:"Module"})),zs=ot(Vy);var u6={},fo={},Vr={},mt={},Wt={};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.output=Wt.exists=Wt.hash=Wt.bytes=Wt.bool=Wt.number=void 0;function U0(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`Wrong positive integer: ${t}`)}Wt.number=U0;function f6(t){if(typeof t!="boolean")throw new Error(`Expected boolean, not ${t}`)}Wt.bool=f6;function Np(t,...e){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(e.length>0&&!e.includes(t.length))throw new TypeError(`Expected Uint8Array of length ${e}, not of length=${t.length}`)}Wt.bytes=Np;function h6(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");U0(t.outputLen),U0(t.blockLen)}Wt.hash=h6;function m6(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}Wt.exists=m6;function v6(t,e){Np(t);const r=e.outputLen;if(t.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}Wt.output=v6;const jy={number:U0,bool:f6,bytes:Np,hash:h6,exists:m6,output:v6};Wt.default=jy;var b6={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.add=t.toBig=t.split=t.fromBig=void 0;const e=BigInt(2**32-1),r=BigInt(32);function a(R,V=!1){return V?{h:Number(R&e),l:Number(R>>r&e)}:{h:Number(R>>r&e)|0,l:Number(R&e)|0}}t.fromBig=a;function n(R,V=!1){let X=new Uint32Array(R.length),w=new Uint32Array(R.length);for(let d=0;d<R.length;d++){const{h,l:y}=a(R[d],V);[X[d],w[d]]=[h,y]}return[X,w]}t.split=n;const i=(R,V)=>BigInt(R>>>0)<<r|BigInt(V>>>0);t.toBig=i;const o=(R,V,X)=>R>>>X,s=(R,V,X)=>R<<32-X|V>>>X,p=(R,V,X)=>R>>>X|V<<32-X,l=(R,V,X)=>R<<32-X|V>>>X,u=(R,V,X)=>R<<64-X|V>>>X-32,v=(R,V,X)=>R>>>X-32|V<<64-X,x=(R,V)=>V,A=(R,V)=>R,N=(R,V,X)=>R<<X|V>>>32-X,O=(R,V,X)=>V<<X|R>>>32-X,S=(R,V,X)=>V<<X-32|R>>>64-X,I=(R,V,X)=>R<<X-32|V>>>64-X;function $(R,V,X,w){const d=(V>>>0)+(w>>>0);return{h:R+X+(d/2**32|0)|0,l:d|0}}t.add=$;const H=(R,V,X)=>(R>>>0)+(V>>>0)+(X>>>0),U=(R,V,X,w)=>V+X+w+(R/2**32|0)|0,B=(R,V,X,w)=>(R>>>0)+(V>>>0)+(X>>>0)+(w>>>0),j=(R,V,X,w,d)=>V+X+w+d+(R/2**32|0)|0,Q=(R,V,X,w,d)=>(R>>>0)+(V>>>0)+(X>>>0)+(w>>>0)+(d>>>0),J=(R,V,X,w,d,h)=>V+X+w+d+h+(R/2**32|0)|0,k={fromBig:a,split:n,toBig:t.toBig,shrSH:o,shrSL:s,rotrSH:p,rotrSL:l,rotrBH:u,rotrBL:v,rotr32H:x,rotr32L:A,rotlSH:N,rotlSL:O,rotlBH:S,rotlBL:I,add:$,add3L:H,add3H:U,add4L:B,add4H:j,add5H:J,add5L:Q};t.default=k})(b6);var V0={},ho={};Object.defineProperty(ho,"__esModule",{value:!0});ho.crypto=void 0;ho.crypto={node:void 0,web:typeof self=="object"&&"crypto"in self?self.crypto:void 0};(function(t){/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.isLE=t.rotr=t.createView=t.u32=t.u8=void 0;const e=ho,r=U=>new Uint8Array(U.buffer,U.byteOffset,U.byteLength);t.u8=r;const a=U=>new Uint32Array(U.buffer,U.byteOffset,Math.floor(U.byteLength/4));t.u32=a;const n=U=>new DataView(U.buffer,U.byteOffset,U.byteLength);t.createView=n;const i=(U,B)=>U<<32-B|U>>>B;if(t.rotr=i,t.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!t.isLE)throw new Error("Non little-endian hardware is not supported");const o=Array.from({length:256},(U,B)=>B.toString(16).padStart(2,"0"));function s(U){if(!(U instanceof Uint8Array))throw new Error("Uint8Array expected");let B="";for(let j=0;j<U.length;j++)B+=o[U[j]];return B}t.bytesToHex=s;function p(U){if(typeof U!="string")throw new TypeError("hexToBytes: expected string, got "+typeof U);if(U.length%2)throw new Error("hexToBytes: received invalid unpadded hex");const B=new Uint8Array(U.length/2);for(let j=0;j<B.length;j++){const Q=j*2,J=U.slice(Q,Q+2),k=Number.parseInt(J,16);if(Number.isNaN(k)||k<0)throw new Error("Invalid byte sequence");B[j]=k}return B}t.hexToBytes=p;const l=async()=>{};t.nextTick=l;async function u(U,B,j){let Q=Date.now();for(let J=0;J<U;J++){j(J);const k=Date.now()-Q;k>=0&&k<B||(await(0,t.nextTick)(),Q+=k)}}t.asyncLoop=u;function v(U){if(typeof U!="string")throw new TypeError(`utf8ToBytes expected string, got ${typeof U}`);return new TextEncoder().encode(U)}t.utf8ToBytes=v;function x(U){if(typeof U=="string"&&(U=v(U)),!(U instanceof Uint8Array))throw new TypeError(`Expected input type is Uint8Array (got ${typeof U})`);return U}t.toBytes=x;function A(...U){if(!U.every(Q=>Q instanceof Uint8Array))throw new Error("Uint8Array list expected");if(U.length===1)return U[0];const B=U.reduce((Q,J)=>Q+J.length,0),j=new Uint8Array(B);for(let Q=0,J=0;Q<U.length;Q++){const k=U[Q];j.set(k,J),J+=k.length}return j}t.concatBytes=A;class N{clone(){return this._cloneInto()}}t.Hash=N;const O=U=>Object.prototype.toString.call(U)==="[object Object]"&&U.constructor===Object;function S(U,B){if(B!==void 0&&(typeof B!="object"||!O(B)))throw new TypeError("Options should be object or undefined");return Object.assign(U,B)}t.checkOpts=S;function I(U){const B=Q=>U().update(x(Q)).digest(),j=U();return B.outputLen=j.outputLen,B.blockLen=j.blockLen,B.create=()=>U(),B}t.wrapConstructor=I;function $(U){const B=(Q,J)=>U(J).update(x(Q)).digest(),j=U({});return B.outputLen=j.outputLen,B.blockLen=j.blockLen,B.create=Q=>U(Q),B}t.wrapConstructorWithOpts=$;function H(U=32){if(e.crypto.web)return e.crypto.web.getRandomValues(new Uint8Array(U));if(e.crypto.node)return new Uint8Array(e.crypto.node.randomBytes(U).buffer);throw new Error("The environment doesn't have randomBytes function")}t.randomBytes=H})(V0);Object.defineProperty(mt,"__esModule",{value:!0});mt.shake256=mt.shake128=mt.keccak_512=mt.keccak_384=mt.keccak_256=mt.keccak_224=mt.sha3_512=mt.sha3_384=mt.sha3_256=mt.sha3_224=mt.Keccak=mt.keccakP=void 0;const jn=Wt,y1=b6,e1=V0,[y6,g6,x6]=[[],[],[]],qy=BigInt(0),Ui=BigInt(1),$y=BigInt(2),Gy=BigInt(7),Hy=BigInt(256),zy=BigInt(113);for(let t=0,e=Ui,r=1,a=0;t<24;t++){[r,a]=[a,(2*r+3*a)%5],y6.push(2*(5*a+r)),g6.push((t+1)*(t+2)/2%64);let n=qy;for(let i=0;i<7;i++)e=(e<<Ui^(e>>Gy)*zy)%Hy,e&$y&&(n^=Ui<<(Ui<<BigInt(i))-Ui);x6.push(n)}const[Wy,Ky]=y1.default.split(x6,!0),g2=(t,e,r)=>r>32?y1.default.rotlBH(t,e,r):y1.default.rotlSH(t,e,r),x2=(t,e,r)=>r>32?y1.default.rotlBL(t,e,r):y1.default.rotlSL(t,e,r);function w6(t,e=24){const r=new Uint32Array(10);for(let a=24-e;a<24;a++){for(let o=0;o<10;o++)r[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const s=(o+8)%10,p=(o+2)%10,l=r[p],u=r[p+1],v=g2(l,u,1)^r[s],x=x2(l,u,1)^r[s+1];for(let A=0;A<50;A+=10)t[o+A]^=v,t[o+A+1]^=x}let n=t[2],i=t[3];for(let o=0;o<24;o++){const s=g6[o],p=g2(n,i,s),l=x2(n,i,s),u=y6[o];n=t[u],i=t[u+1],t[u]=p,t[u+1]=l}for(let o=0;o<50;o+=10){for(let s=0;s<10;s++)r[s]=t[o+s];for(let s=0;s<10;s++)t[o+s]^=~r[(s+2)%10]&r[(s+4)%10]}t[0]^=Wy[a],t[1]^=Ky[a]}r.fill(0)}mt.keccakP=w6;class M1 extends e1.Hash{constructor(e,r,a,n=!1,i=24){if(super(),this.blockLen=e,this.suffix=r,this.outputLen=a,this.enableXOF=n,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,jn.default.number(a),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,e1.u32)(this.state)}keccak(){w6(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){jn.default.exists(this);const{blockLen:r,state:a}=this;e=(0,e1.toBytes)(e);const n=e.length;for(let i=0;i<n;){const o=Math.min(r-this.pos,n-i);for(let s=0;s<o;s++)a[this.pos++]^=e[i++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:r,pos:a,blockLen:n}=this;e[a]^=r,r&128&&a===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){jn.default.exists(this,!1),jn.default.bytes(e),this.finish();const r=this.state,{blockLen:a}=this;for(let n=0,i=e.length;n<i;){this.posOut>=a&&this.keccak();const o=Math.min(a-this.posOut,i-n);e.set(r.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return jn.default.number(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(jn.default.output(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(e){const{blockLen:r,suffix:a,outputLen:n,rounds:i,enableXOF:o}=this;return e||(e=new M1(r,a,n,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=a,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}mt.Keccak=M1;const ln=(t,e,r)=>(0,e1.wrapConstructor)(()=>new M1(e,t,r));mt.sha3_224=ln(6,144,224/8);mt.sha3_256=ln(6,136,256/8);mt.sha3_384=ln(6,104,384/8);mt.sha3_512=ln(6,72,512/8);mt.keccak_224=ln(1,144,224/8);mt.keccak_256=ln(1,136,256/8);mt.keccak_384=ln(1,104,384/8);mt.keccak_512=ln(1,72,512/8);const A6=(t,e,r)=>(0,e1.wrapConstructorWithOpts)((a={})=>new M1(e,t,a.dkLen===void 0?r:a.dkLen,!0));mt.shake128=A6(31,168,128/8);mt.shake256=A6(31,136,256/8);function w2(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var j0={exports:{}};j0.exports;(function(t,e){var r=ye&&ye.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(e,"__esModule",{value:!0}),e.crypto=e.wrapHash=e.equalsBytes=e.hexToBytes=e.bytesToUtf8=e.utf8ToBytes=e.createView=e.concatBytes=e.toHex=e.bytesToHex=e.assertBytes=e.assertBool=void 0;const a=r(Wt),n=V0,i=a.default.bool;e.assertBool=i;const o=a.default.bytes;e.assertBytes=o;var s=V0;Object.defineProperty(e,"bytesToHex",{enumerable:!0,get:function(){return s.bytesToHex}}),Object.defineProperty(e,"toHex",{enumerable:!0,get:function(){return s.bytesToHex}}),Object.defineProperty(e,"concatBytes",{enumerable:!0,get:function(){return s.concatBytes}}),Object.defineProperty(e,"createView",{enumerable:!0,get:function(){return s.createView}}),Object.defineProperty(e,"utf8ToBytes",{enumerable:!0,get:function(){return s.utf8ToBytes}});function p(x){if(!(x instanceof Uint8Array))throw new TypeError(`bytesToUtf8 expected Uint8Array, got ${typeof x}`);return new TextDecoder().decode(x)}e.bytesToUtf8=p;function l(x){const A=x.startsWith("0x")?x.substring(2):x;return(0,n.hexToBytes)(A)}e.hexToBytes=l;function u(x,A){if(x.length!==A.length)return!1;for(let N=0;N<x.length;N++)if(x[N]!==A[N])return!1;return!0}e.equalsBytes=u;function v(x){return A=>(a.default.bytes(A),x(A))}e.wrapHash=v,e.crypto=(()=>{const x=typeof self=="object"&&"crypto"in self?self.crypto:void 0,A=typeof w2=="function"&&w2.bind(t);return{node:A&&!x?A("crypto"):void 0,web:x}})()})(j0,j0.exports);var mo=j0.exports;Object.defineProperty(Vr,"__esModule",{value:!0});Vr.keccak512=Vr.keccak384=Vr.keccak256=Vr.keccak224=void 0;const g1=mt,vo=mo;Vr.keccak224=(0,vo.wrapHash)(g1.keccak_224);Vr.keccak256=(()=>{const t=(0,vo.wrapHash)(g1.keccak_256);return t.create=g1.keccak_256.create,t})();Vr.keccak384=(0,vo.wrapHash)(g1.keccak_384);Vr.keccak512=(0,vo.wrapHash)(g1.keccak_512);const E6=ot(A5);var kn={};Object.defineProperty(kn,"__esModule",{value:!0});kn.hex=kn.compareBytes=void 0;const Jy=mo;function Qy(t,e){const r=Math.min(t.length,e.length);for(let a=0;a<r;a++)if(t[a]!==e[a])return t[a]-e[a];return t.length-e.length}kn.compareBytes=Qy;function Yy(t){return"0x"+(0,Jy.bytesToHex)(t)}kn.hex=Yy;var Gt={},F1={};Object.defineProperty(F1,"__esModule",{value:!0});F1.throwError=void 0;function Xy(t){throw new Error(t)}F1.throwError=Xy;Object.defineProperty(Gt,"__esModule",{value:!0});Gt.renderMerkleTree=Gt.isValidMerkleTree=Gt.processMultiProof=Gt.getMultiProof=Gt.processProof=Gt.getProof=Gt.makeMerkleTree=void 0;const Zy=Vr,Pp=mo,eg=kn,bo=F1,yo=(t,e)=>(0,Zy.keccak256)((0,Pp.concatBytes)(...[t,e].sort(eg.compareBytes))),go=t=>2*t+1,q0=t=>2*t+2,_6=t=>t>0?Math.floor((t-1)/2):(0,bo.throwError)("Root has no parent"),S6=t=>t>0?t-(-1)**(t%2):(0,bo.throwError)("Root has no siblings"),T6=(t,e)=>e>=0&&e<t.length,tg=(t,e)=>T6(t,go(e)),rg=(t,e)=>T6(t,e)&&!tg(t,e),N6=t=>t instanceof Uint8Array&&t.length===32,P6=(t,e)=>void(rg(t,e)||(0,bo.throwError)("Index is not a leaf")),x1=t=>void(N6(t)||(0,bo.throwError)("Merkle tree nodes must be Uint8Array of length 32"));function ag(t){if(t.forEach(x1),t.length===0)throw new Error("Expected non-zero number of leaves");const e=new Array(2*t.length-1);for(const[r,a]of t.entries())e[e.length-1-r]=a;for(let r=e.length-1-t.length;r>=0;r--)e[r]=yo(e[go(r)],e[q0(r)]);return e}Gt.makeMerkleTree=ag;function ng(t,e){P6(t,e);const r=[];for(;e>0;)r.push(t[S6(e)]),e=_6(e);return r}Gt.getProof=ng;function ig(t,e){return x1(t),e.forEach(x1),e.reduce(yo,t)}Gt.processProof=ig;function og(t,e){if(e.forEach(i=>P6(t,i)),e.sort((i,o)=>o-i),e.slice(1).some((i,o)=>i===e[o]))throw new Error("Cannot prove duplicated index");const r=e.concat(),a=[],n=[];for(;r.length>0&&r[0]>0;){const i=r.shift(),o=S6(i),s=_6(i);o===r[0]?(n.push(!0),r.shift()):(n.push(!1),a.push(t[o])),r.push(s)}return e.length===0&&a.push(t[0]),{leaves:e.map(i=>t[i]),proof:a,proofFlags:n}}Gt.getMultiProof=og;function sg(t){if(t.leaves.forEach(x1),t.proof.forEach(x1),t.proof.length<t.proofFlags.filter(a=>!a).length)throw new Error("Invalid multiproof format");if(t.leaves.length+t.proof.length!==t.proofFlags.length+1)throw new Error("Provided leaves and multiproof are not compatible");const e=t.leaves.concat(),r=t.proof.concat();for(const a of t.proofFlags){const n=e.shift(),i=a?e.shift():r.shift();if(n===void 0||i===void 0)throw new Error("Broken invariant");e.push(yo(n,i))}if(e.length+r.length!==1)throw new Error("Broken invariant");return e.pop()??r.shift()}Gt.processMultiProof=sg;function dg(t){for(const[e,r]of t.entries()){if(!N6(r))return!1;const a=go(e),n=q0(e);if(n>=t.length){if(a<t.length)return!1}else if(!(0,Pp.equalsBytes)(r,yo(t[a],t[n])))return!1}return t.length>0}Gt.isValidMerkleTree=dg;function pg(t){if(t.length===0)throw new Error("Expected non-zero number of nodes");const e=[[0,[]]],r=[];for(;e.length>0;){const[a,n]=e.pop();r.push(n.slice(0,-1).map(i=>[" ","│ "][i]).join("")+n.slice(-1).map(i=>["└─ ","├─ "][i]).join("")+a+") "+(0,Pp.bytesToHex)(t[a])),q0(a)<t.length&&(e.push([q0(a),n.concat(0)]),e.push([go(a),n.concat(1)]))}return r.join(`
64
- `)}Gt.renderMerkleTree=pg;var xo={};Object.defineProperty(xo,"__esModule",{value:!0});xo.checkBounds=void 0;function lg(t,e){if(e<0||e>=t.length)throw new Error("Index out of bounds")}xo.checkBounds=lg;Object.defineProperty(fo,"__esModule",{value:!0});fo.StandardMerkleTree=void 0;const A2=Vr,cr=mo,cg=E6,Ka=kn,xa=Gt,E2=xo,ug=F1;function cn(t,e){return(0,A2.keccak256)((0,A2.keccak256)((0,cr.hexToBytes)(cg.defaultAbiCoder.encode(e,t))))}class $0{constructor(e,r,a){this.tree=e,this.values=r,this.leafEncoding=a,this.hashLookup=Object.fromEntries(r.map(({value:n},i)=>[(0,Ka.hex)(cn(n,a)),i]))}static of(e,r){const a=e.map((o,s)=>({value:o,valueIndex:s,hash:cn(o,r)})).sort((o,s)=>(0,Ka.compareBytes)(o.hash,s.hash)),n=(0,xa.makeMerkleTree)(a.map(o=>o.hash)),i=e.map(o=>({value:o,treeIndex:0}));for(const[o,{valueIndex:s}]of a.entries())i[s].treeIndex=n.length-o-1;return new $0(n,i,r)}static load(e){if(e.format!=="standard-v1")throw new Error(`Unknown format '${e.format}'`);return new $0(e.tree.map(cr.hexToBytes),e.values,e.leafEncoding)}static verify(e,r,a,n){const i=(0,xa.processProof)(cn(a,r),n.map(cr.hexToBytes));return(0,cr.equalsBytes)(i,(0,cr.hexToBytes)(e))}static verifyMultiProof(e,r,a){const n=a.leaves.map(s=>cn(s,r)),i=a.proof.map(cr.hexToBytes),o=(0,xa.processMultiProof)({leaves:n,proof:i,proofFlags:a.proofFlags});return(0,cr.equalsBytes)(o,(0,cr.hexToBytes)(e))}dump(){return{format:"standard-v1",tree:this.tree.map(Ka.hex),values:this.values,leafEncoding:this.leafEncoding}}render(){return(0,xa.renderMerkleTree)(this.tree)}get root(){return(0,Ka.hex)(this.tree[0])}*entries(){for(const[e,{value:r}]of this.values.entries())yield[e,r]}validate(){for(let e=0;e<this.values.length;e++)this.validateValue(e);if(!(0,xa.isValidMerkleTree)(this.tree))throw new Error("Merkle tree is invalid")}leafHash(e){return(0,Ka.hex)(cn(e,this.leafEncoding))}leafLookup(e){return this.hashLookup[this.leafHash(e)]??(0,ug.throwError)("Leaf is not in tree")}getProof(e){const r=typeof e=="number"?e:this.leafLookup(e);this.validateValue(r);const{treeIndex:a}=this.values[r],n=(0,xa.getProof)(this.tree,a);if(!this._verify(this.tree[a],n))throw new Error("Unable to prove value");return n.map(Ka.hex)}getMultiProof(e){const r=e.map(i=>typeof i=="number"?i:this.leafLookup(i));for(const i of r)this.validateValue(i);const a=r.map(i=>this.values[i].treeIndex),n=(0,xa.getMultiProof)(this.tree,a);if(!this._verifyMultiProof(n))throw new Error("Unable to prove values");return{leaves:n.leaves.map(i=>this.values[this.hashLookup[(0,Ka.hex)(i)]].value),proof:n.proof.map(Ka.hex),proofFlags:n.proofFlags}}verify(e,r){return this._verify(this.getLeafHash(e),r.map(cr.hexToBytes))}_verify(e,r){const a=(0,xa.processProof)(e,r);return(0,cr.equalsBytes)(a,this.tree[0])}verifyMultiProof(e){return this._verifyMultiProof({leaves:e.leaves.map(r=>this.getLeafHash(r)),proof:e.proof.map(cr.hexToBytes),proofFlags:e.proofFlags})}_verifyMultiProof(e){const r=(0,xa.processMultiProof)(e);return(0,cr.equalsBytes)(r,this.tree[0])}validateValue(e){(0,E2.checkBounds)(this.values,e);const{value:r,treeIndex:a}=this.values[e];(0,E2.checkBounds)(this.tree,a);const n=cn(r,this.leafEncoding);if(!(0,cr.equalsBytes)(n,this.tree[a]))throw new Error("Merkle tree does not contain the expected value");return n}getLeafHash(e){return typeof e=="number"?this.validateValue(e):cn(e,this.leafEncoding)}}fo.StandardMerkleTree=$0;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.StandardMerkleTree=void 0;var e=fo;Object.defineProperty(t,"StandardMerkleTree",{enumerable:!0,get:function(){return e.StandardMerkleTree}})})(u6);var qn={},_2;function fg(){if(_2)return qn;_2=1;var t=zs,e=O6();od();const r=function(O,S,I,$="v4"){try{let U=function(k){if(H)return k;const R=Q==null?void 0:Q.data;return{signature:(R==null?void 0:R.toString())||"",signingScheme:B}},H;const B=$==="eth_sign"?e.EcdsaSigningScheme.ETHSIGN:e.EcdsaSigningScheme.EIP712;let j,Q=null;try{switch($){case"default":case"v3":j=new t.TypedDataVersionedSigner(I);break;case"int_v4":j=new t.IntChainIdTypedDataV4Signer(I);break;default:j=I}}catch(k){throw console.error("Wallet not supported:",k),new e.CowError("Wallet not supported")}const J=function(k,R){try{var V=Promise.resolve(S({...O,signer:j,signingScheme:B})).then(function(X){Q=X})}catch(X){return R(X)}return V&&V.then?V.then(void 0,R):V}(0,function(k){if((R=k).code===void 0&&R.message===void 0)throw console.error(k),k;var R;const V=[p,v].some(X=>[k.message,k.toString()].some(w=>X.test(w)));if(k.code!==s&&!V){if(x.test(k.message)){const X=r(O,S,I,"int_v4");return H=1,X}if(k.code===o){const X=r(O,S,I,"eth_sign");return H=1,X}if(l.test(k.message)){const X=r(O,S,I,"v3");return H=1,X}if(u.test(k.message)){const X=r(O,S,I,"eth_sign");return H=1,X}throw console.error(k),k}switch($){case"v4":const X=r(O,S,I,"default");return H=1,X;case"default":const w=r(O,S,I,"v3");return H=1,w;case"v3":const d=r(O,S,I,"eth_sign");return H=1,d;default:throw k}});return Promise.resolve(J&&J.then?J.then(U):U(J))}catch(H){return Promise.reject(H)}},a=function(O){try{const{chainId:S,signer:I,signingScheme:$,orderUids:H}=O,U=N(S);return Promise.resolve(t.signOrderCancellations(U,H,I,A[$]))}catch(S){return Promise.reject(S)}},n=function(O){try{const{chainId:S,signer:I,signingScheme:$,orderUid:H}=O,U=N(S);return Promise.resolve(t.signOrderCancellation(U,H,I,A[$]))}catch(S){return Promise.reject(S)}},i=function(O){try{const{chainId:S,signer:I,order:$,signingScheme:H}=O,U=N(S);return Promise.resolve(t.signOrder(U,$,I,A[H]))}catch(S){return Promise.reject(S)}},o=-32603,s=-32601,p=/Method not found/i,l=/eth_signTypedData_v4 does not exist/i,u=/eth_signTypedData_v3 does not exist/i,v=/RPC request failed/i,x=/provided chainid .* must match the active chainid/i,A={[e.EcdsaSigningScheme.EIP712]:t.SigningScheme.EIP712,[e.EcdsaSigningScheme.ETHSIGN]:t.SigningScheme.ETHSIGN};function N(O){const S=e.COW_PROTOCOL_SETTLEMENT_CONTRACT_ADDRESS[O];if(!S)throw new e.CowError("Unsupported network. Settlement contract is not deployed");return t.domain(O,S)}return qn.getDomain=N,qn.signOrder=function(O,S,I){return r({order:O,chainId:S},i,I)},qn.signOrderCancellation=function(O,S,I){return r({orderUid:O,chainId:S},n,I)},qn.signOrderCancellations=function(O,S,I){return r({orderUids:O,chainId:S},a,I)},qn}var ls={};const hg=ot(ph),mg=ot(Tc),vg=ot(I9),bg=ot(j3),yg=ot(g5),gg=ot(q9),xg=ot(tm),wg=ot(nh),Ag=ot(U3),S2=ot(D9),Eg=ot(e7),_g=ot(H9),Sg=ot(Q3),Tg=ot(dc),Ng=ot(h9),T2=ot(Lh),Pg=ot(A9),Og=ot(r7),Ig=ot(im),kg=ot(fm);var N2;function Cg(){return N2||(N2=1,function(t){var e=ye&&ye.__createBinding||(Object.create?function(V,X,w,d){d===void 0&&(d=w),Object.defineProperty(V,d,{enumerable:!0,get:function(){return X[w]}})}:function(V,X,w,d){d===void 0&&(d=w),V[d]=X[w]}),r=ye&&ye.__setModuleDefault||(Object.create?function(V,X){Object.defineProperty(V,"default",{enumerable:!0,value:X})}:function(V,X){V.default=X}),a=ye&&ye.__importStar||function(V){if(V&&V.__esModule)return V;var X={};if(V!=null)for(var w in V)w!=="default"&&Object.prototype.hasOwnProperty.call(V,w)&&e(X,V,w);return r(X,V),X};Object.defineProperty(t,"__esModule",{value:!0}),t.formatBytes32String=t.Utf8ErrorFuncs=t.toUtf8String=t.toUtf8CodePoints=t.toUtf8Bytes=t._toEscapedUtf8String=t.nameprep=t.hexDataSlice=t.hexDataLength=t.hexZeroPad=t.hexValue=t.hexStripZeros=t.hexConcat=t.isHexString=t.hexlify=t.base64=t.base58=t.TransactionDescription=t.LogDescription=t.Interface=t.SigningKey=t.HDNode=t.defaultPath=t.isBytesLike=t.isBytes=t.zeroPad=t.stripZeros=t.concat=t.arrayify=t.shallowCopy=t.resolveProperties=t.getStatic=t.defineReadOnly=t.deepCopy=t.checkProperties=t.poll=t.fetchJson=t._fetchData=t.RLP=t.Logger=t.checkResultErrors=t.FormatTypes=t.ParamType=t.FunctionFragment=t.EventFragment=t.ErrorFragment=t.ConstructorFragment=t.Fragment=t.defaultAbiCoder=t.AbiCoder=void 0,t.Indexed=t.Utf8ErrorReason=t.UnicodeNormalizationForm=t.SupportedAlgorithm=t.mnemonicToSeed=t.isValidMnemonic=t.entropyToMnemonic=t.mnemonicToEntropy=t.getAccountPath=t.verifyTypedData=t.verifyMessage=t.recoverPublicKey=t.computePublicKey=t.recoverAddress=t.computeAddress=t.getJsonWalletAddress=t.TransactionTypes=t.serializeTransaction=t.parseTransaction=t.accessListify=t.joinSignature=t.splitSignature=t.soliditySha256=t.solidityKeccak256=t.solidityPack=t.shuffled=t.randomBytes=t.sha512=t.sha256=t.ripemd160=t.keccak256=t.computeHmac=t.commify=t.parseUnits=t.formatUnits=t.parseEther=t.formatEther=t.isAddress=t.getCreate2Address=t.getContractAddress=t.getIcapAddress=t.getAddress=t._TypedDataEncoder=t.id=t.isValidName=t.namehash=t.hashMessage=t.dnsEncode=t.parseBytes32String=void 0;var n=E6;Object.defineProperty(t,"AbiCoder",{enumerable:!0,get:function(){return n.AbiCoder}}),Object.defineProperty(t,"checkResultErrors",{enumerable:!0,get:function(){return n.checkResultErrors}}),Object.defineProperty(t,"ConstructorFragment",{enumerable:!0,get:function(){return n.ConstructorFragment}}),Object.defineProperty(t,"defaultAbiCoder",{enumerable:!0,get:function(){return n.defaultAbiCoder}}),Object.defineProperty(t,"ErrorFragment",{enumerable:!0,get:function(){return n.ErrorFragment}}),Object.defineProperty(t,"EventFragment",{enumerable:!0,get:function(){return n.EventFragment}}),Object.defineProperty(t,"FormatTypes",{enumerable:!0,get:function(){return n.FormatTypes}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(t,"FunctionFragment",{enumerable:!0,get:function(){return n.FunctionFragment}}),Object.defineProperty(t,"Indexed",{enumerable:!0,get:function(){return n.Indexed}}),Object.defineProperty(t,"Interface",{enumerable:!0,get:function(){return n.Interface}}),Object.defineProperty(t,"LogDescription",{enumerable:!0,get:function(){return n.LogDescription}}),Object.defineProperty(t,"ParamType",{enumerable:!0,get:function(){return n.ParamType}}),Object.defineProperty(t,"TransactionDescription",{enumerable:!0,get:function(){return n.TransactionDescription}});var i=hg;Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return i.getAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return i.getCreate2Address}}),Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return i.getContractAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return i.getIcapAddress}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return i.isAddress}});var o=a(mg);t.base64=o;var s=vg;Object.defineProperty(t,"base58",{enumerable:!0,get:function(){return s.Base58}});var p=bg;Object.defineProperty(t,"arrayify",{enumerable:!0,get:function(){return p.arrayify}}),Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return p.concat}}),Object.defineProperty(t,"hexConcat",{enumerable:!0,get:function(){return p.hexConcat}}),Object.defineProperty(t,"hexDataSlice",{enumerable:!0,get:function(){return p.hexDataSlice}}),Object.defineProperty(t,"hexDataLength",{enumerable:!0,get:function(){return p.hexDataLength}}),Object.defineProperty(t,"hexlify",{enumerable:!0,get:function(){return p.hexlify}}),Object.defineProperty(t,"hexStripZeros",{enumerable:!0,get:function(){return p.hexStripZeros}}),Object.defineProperty(t,"hexValue",{enumerable:!0,get:function(){return p.hexValue}}),Object.defineProperty(t,"hexZeroPad",{enumerable:!0,get:function(){return p.hexZeroPad}}),Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return p.isBytes}}),Object.defineProperty(t,"isBytesLike",{enumerable:!0,get:function(){return p.isBytesLike}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return p.isHexString}}),Object.defineProperty(t,"joinSignature",{enumerable:!0,get:function(){return p.joinSignature}}),Object.defineProperty(t,"zeroPad",{enumerable:!0,get:function(){return p.zeroPad}}),Object.defineProperty(t,"splitSignature",{enumerable:!0,get:function(){return p.splitSignature}}),Object.defineProperty(t,"stripZeros",{enumerable:!0,get:function(){return p.stripZeros}});var l=yg;Object.defineProperty(t,"_TypedDataEncoder",{enumerable:!0,get:function(){return l._TypedDataEncoder}}),Object.defineProperty(t,"dnsEncode",{enumerable:!0,get:function(){return l.dnsEncode}}),Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return l.hashMessage}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return l.id}}),Object.defineProperty(t,"isValidName",{enumerable:!0,get:function(){return l.isValidName}}),Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return l.namehash}});var u=gg;Object.defineProperty(t,"defaultPath",{enumerable:!0,get:function(){return u.defaultPath}}),Object.defineProperty(t,"entropyToMnemonic",{enumerable:!0,get:function(){return u.entropyToMnemonic}}),Object.defineProperty(t,"getAccountPath",{enumerable:!0,get:function(){return u.getAccountPath}}),Object.defineProperty(t,"HDNode",{enumerable:!0,get:function(){return u.HDNode}}),Object.defineProperty(t,"isValidMnemonic",{enumerable:!0,get:function(){return u.isValidMnemonic}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return u.mnemonicToEntropy}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return u.mnemonicToSeed}});var v=xg;Object.defineProperty(t,"getJsonWalletAddress",{enumerable:!0,get:function(){return v.getJsonWalletAddress}});var x=wg;Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return x.keccak256}});var A=Ag;Object.defineProperty(t,"Logger",{enumerable:!0,get:function(){return A.Logger}});var N=S2;Object.defineProperty(t,"computeHmac",{enumerable:!0,get:function(){return N.computeHmac}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return N.ripemd160}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return N.sha256}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return N.sha512}});var O=Eg;Object.defineProperty(t,"solidityKeccak256",{enumerable:!0,get:function(){return O.keccak256}}),Object.defineProperty(t,"solidityPack",{enumerable:!0,get:function(){return O.pack}}),Object.defineProperty(t,"soliditySha256",{enumerable:!0,get:function(){return O.sha256}});var S=_g;Object.defineProperty(t,"randomBytes",{enumerable:!0,get:function(){return S.randomBytes}}),Object.defineProperty(t,"shuffled",{enumerable:!0,get:function(){return S.shuffled}});var I=Sg;Object.defineProperty(t,"checkProperties",{enumerable:!0,get:function(){return I.checkProperties}}),Object.defineProperty(t,"deepCopy",{enumerable:!0,get:function(){return I.deepCopy}}),Object.defineProperty(t,"defineReadOnly",{enumerable:!0,get:function(){return I.defineReadOnly}}),Object.defineProperty(t,"getStatic",{enumerable:!0,get:function(){return I.getStatic}}),Object.defineProperty(t,"resolveProperties",{enumerable:!0,get:function(){return I.resolveProperties}}),Object.defineProperty(t,"shallowCopy",{enumerable:!0,get:function(){return I.shallowCopy}});var $=a(Tg);t.RLP=$;var H=Ng;Object.defineProperty(t,"computePublicKey",{enumerable:!0,get:function(){return H.computePublicKey}}),Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return H.recoverPublicKey}}),Object.defineProperty(t,"SigningKey",{enumerable:!0,get:function(){return H.SigningKey}});var U=T2;Object.defineProperty(t,"formatBytes32String",{enumerable:!0,get:function(){return U.formatBytes32String}}),Object.defineProperty(t,"nameprep",{enumerable:!0,get:function(){return U.nameprep}}),Object.defineProperty(t,"parseBytes32String",{enumerable:!0,get:function(){return U.parseBytes32String}}),Object.defineProperty(t,"_toEscapedUtf8String",{enumerable:!0,get:function(){return U._toEscapedUtf8String}}),Object.defineProperty(t,"toUtf8Bytes",{enumerable:!0,get:function(){return U.toUtf8Bytes}}),Object.defineProperty(t,"toUtf8CodePoints",{enumerable:!0,get:function(){return U.toUtf8CodePoints}}),Object.defineProperty(t,"toUtf8String",{enumerable:!0,get:function(){return U.toUtf8String}}),Object.defineProperty(t,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return U.Utf8ErrorFuncs}});var B=Pg;Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return B.accessListify}}),Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return B.computeAddress}}),Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return B.parse}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return B.recoverAddress}}),Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return B.serialize}}),Object.defineProperty(t,"TransactionTypes",{enumerable:!0,get:function(){return B.TransactionTypes}});var j=Og;Object.defineProperty(t,"commify",{enumerable:!0,get:function(){return j.commify}}),Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return j.formatEther}}),Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return j.parseEther}}),Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return j.formatUnits}}),Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return j.parseUnits}});var Q=Ig;Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return Q.verifyMessage}}),Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return Q.verifyTypedData}});var J=kg;Object.defineProperty(t,"_fetchData",{enumerable:!0,get:function(){return J._fetchData}}),Object.defineProperty(t,"fetchJson",{enumerable:!0,get:function(){return J.fetchJson}}),Object.defineProperty(t,"poll",{enumerable:!0,get:function(){return J.poll}});var k=S2;Object.defineProperty(t,"SupportedAlgorithm",{enumerable:!0,get:function(){return k.SupportedAlgorithm}});var R=T2;Object.defineProperty(t,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return R.UnicodeNormalizationForm}}),Object.defineProperty(t,"Utf8ErrorReason",{enumerable:!0,get:function(){return R.Utf8ErrorReason}})}(ls)),ls}var P2;function O6(){return P2||(P2=1,function(t){var e,r=B2,a=Js,n=od(),i=n7,o=zs,s=u6;function p(z){if(z&&z.__esModule)return z;var D=Object.create(null);return z&&Object.keys(z).forEach(function(G){if(G!=="default"){var ee=Object.getOwnPropertyDescriptor(z,G);Object.defineProperty(D,G,ee.get?ee:{enumerable:!0,get:function(){return z[G]}})}}),D.default=z,D}t.SupportedChainId=void 0,(e=t.SupportedChainId||(t.SupportedChainId={}))[e.MAINNET=1]="MAINNET",e[e.GNOSIS_CHAIN=100]="GNOSIS_CHAIN",e[e.ARBITRUM_ONE=42161]="ARBITRUM_ONE",e[e.SEPOLIA=11155111]="SEPOLIA";const l=["prod","staging"],u={env:"prod",chainId:t.SupportedChainId.MAINNET};class v extends Error{constructor(D,G){super(D),this.error_code=void 0,this.error_code=G}}const x="0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",A="0x2f55e8b20D0B9FEFA187AA7d00B6Cbe563605bF5",N="0xfdaFc9d1902f4e0b84f65F49f244b32b31013b74",O=Object.values(t.SupportedChainId).filter(z=>typeof z=="number");function S(z){return O.reduce((D,G)=>({...D,[G]:typeof z=="function"?z(G):z}),{})}function I(z){return S(z)}const $=I("0x9008D19f58AAbD9eD0D60971565AA8510560ab41"),H=I("0xC92E8bdf79f0507f65a392b0ab4667716BFE0110"),U=I(A),B=I(N),j=function(z,{path:D,query:G,method:ee,body:ae},fe,le){try{const me={Accept:"application/json","Content-Type":"application/json"},be=`${z}${D}${G?"?"+G:""}`,we={method:ee,body:(()=>{if(ae)return typeof ae=="string"?ae:JSON.stringify(ae)})(),headers:me};return Promise.resolve(a.backOff(function(){try{return Promise.resolve(fe.removeTokens(1)).then(function(){return Promise.resolve(fetch(be,we)).then(function(Ae){return Promise.resolve(V(Ae)).then(function(ht){return Ae.status>=200&&Ae.status<300?ht:Promise.reject(new Q(Ae,ht))})})})}catch(Ae){return Promise.reject(Ae)}},le))}catch(me){return Promise.reject(me)}};class Q extends Error{constructor(D,G){super(typeof G=="string"?G:D.statusText),this.response=void 0,this.body=void 0,this.response=D,this.body=G}}const J=[408,425,429,500,502,503,504],k={numOfAttempts:10,maxDelay:1/0,jitter:"none",retry:z=>!(z instanceof Q)||J.includes(z.response.status)},R={tokensPerInterval:5,interval:"second"},V=function(z){try{let D;const G=function(){if(z.status!==204)return function(ee,ae){try{var fe=function(){const le=z.headers.get("Content-Type");return function(){if(le)return le.toLowerCase().startsWith("application/json")?Promise.resolve(z.json()).then(function(me){return D=1,me}):Promise.resolve(z.text()).then(function(me){return D=1,me})}()}()}catch(le){return ae(le)}return fe&&fe.then?fe.then(void 0,ae):fe}(0,function(ee){console.error(ee)})}();return Promise.resolve(G&&G.then?G.then(function(ee){return D?ee:void 0}):D?G:void 0)}catch(D){return Promise.reject(D)}};function X(z){return function(D){const{ethflowData:G}=D;if(!G)return D;const{userValidTo:ee}=G,ae=D.onchainUser||D.owner;return{...D,validTo:ee,owner:ae,sellToken:x}}(function(D){const{executedFeeAmount:G,executedSurplusFee:ee}=D,ae=BigInt(G||"0"),fe=BigInt(ee||"0"),le=String(ae+fe);return{...D,totalFee:le}}(z))}const w={[t.SupportedChainId.MAINNET]:"https://api.cow.fi/mainnet",[t.SupportedChainId.GNOSIS_CHAIN]:"https://api.cow.fi/xdai",[t.SupportedChainId.ARBITRUM_ONE]:"https://api.cow.fi/arbitrum_one",[t.SupportedChainId.SEPOLIA]:"https://api.cow.fi/sepolia"},d={[t.SupportedChainId.MAINNET]:"https://barn.api.cow.fi/mainnet",[t.SupportedChainId.GNOSIS_CHAIN]:"https://barn.api.cow.fi/xdai",[t.SupportedChainId.ARBITRUM_ONE]:"https://barn.api.cow.fi/arbitrum_one",[t.SupportedChainId.SEPOLIA]:"https://barn.api.cow.fi/sepolia"};function h(z){return Object.keys(z).reduce((D,G)=>{const ee=z[G];return ee!==void 0&&(D[G]=ee),D},{})}var y,T,g,_,E,m,c,b,F,f,M,q,W,K;t.BuyTokenDestination=void 0,(y=t.BuyTokenDestination||(t.BuyTokenDestination={})).ERC20="erc20",y.INTERNAL="internal",t.EcdsaSigningScheme=void 0,(T=t.EcdsaSigningScheme||(t.EcdsaSigningScheme={})).EIP712="eip712",T.ETHSIGN="ethsign",t.OnchainOrderData=void 0,(_=(g=t.OnchainOrderData||(t.OnchainOrderData={})).placementError||(g.placementError={})).QUOTE_NOT_FOUND="QuoteNotFound",_.VALID_TO_TOO_FAR_IN_FUTURE="ValidToTooFarInFuture",_.PRE_VALIDATION_ERROR="PreValidationError",t.OrderCancellationError=void 0,(m=(E=t.OrderCancellationError||(t.OrderCancellationError={})).errorType||(E.errorType={})).INVALID_SIGNATURE="InvalidSignature",m.WRONG_OWNER="WrongOwner",m.ORDER_NOT_FOUND="OrderNotFound",m.ALREADY_CANCELLED="AlreadyCancelled",m.ORDER_FULLY_EXECUTED="OrderFullyExecuted",m.ORDER_EXPIRED="OrderExpired",m.ON_CHAIN_ORDER="OnChainOrder",t.OrderClass=void 0,(c=t.OrderClass||(t.OrderClass={})).MARKET="market",c.LIMIT="limit",c.LIQUIDITY="liquidity",t.OrderKind=void 0,(b=t.OrderKind||(t.OrderKind={})).BUY="buy",b.SELL="sell",t.OrderPostError=void 0,function(z){z.DUPLICATED_ORDER="DuplicatedOrder",z.QUOTE_NOT_FOUND="QuoteNotFound",z.INVALID_QUOTE="InvalidQuote",z.MISSING_FROM="MissingFrom",z.WRONG_OWNER="WrongOwner",z.INVALID_EIP1271SIGNATURE="InvalidEip1271Signature",z.INSUFFICIENT_BALANCE="InsufficientBalance",z.INSUFFICIENT_ALLOWANCE="InsufficientAllowance",z.INVALID_SIGNATURE="InvalidSignature",z.SELL_AMOUNT_OVERFLOW="SellAmountOverflow",z.TRANSFER_SIMULATION_FAILED="TransferSimulationFailed",z.ZERO_AMOUNT="ZeroAmount",z.INCOMPATIBLE_SIGNING_SCHEME="IncompatibleSigningScheme",z.TOO_MANY_LIMIT_ORDERS="TooManyLimitOrders",z.TOO_MUCH_GAS="TooMuchGas",z.UNSUPPORTED_BUY_TOKEN_DESTINATION="UnsupportedBuyTokenDestination",z.UNSUPPORTED_SELL_TOKEN_SOURCE="UnsupportedSellTokenSource",z.UNSUPPORTED_ORDER_TYPE="UnsupportedOrderType",z.INSUFFICIENT_VALID_TO="InsufficientValidTo",z.EXCESSIVE_VALID_TO="ExcessiveValidTo",z.INVALID_NATIVE_SELL_TOKEN="InvalidNativeSellToken",z.SAME_BUY_AND_SELL_TOKEN="SameBuyAndSellToken",z.UNSUPPORTED_TOKEN="UnsupportedToken",z.INVALID_APP_DATA="InvalidAppData",z.APP_DATA_HASH_MISMATCH="AppDataHashMismatch",z.APPDATA_FROM_MISMATCH="AppdataFromMismatch"}((F=t.OrderPostError||(t.OrderPostError={})).errorType||(F.errorType={})),t.OrderQuoteSideKindBuy=void 0,(t.OrderQuoteSideKindBuy||(t.OrderQuoteSideKindBuy={})).BUY="buy",t.OrderQuoteSideKindSell=void 0,(t.OrderQuoteSideKindSell||(t.OrderQuoteSideKindSell={})).SELL="sell",t.OrderStatus=void 0,(f=t.OrderStatus||(t.OrderStatus={})).PRESIGNATURE_PENDING="presignaturePending",f.OPEN="open",f.FULFILLED="fulfilled",f.CANCELLED="cancelled",f.EXPIRED="expired",t.PriceEstimationError=void 0,function(z){z.UNSUPPORTED_TOKEN="UnsupportedToken",z.ZERO_AMOUNT="ZeroAmount",z.UNSUPPORTED_ORDER_TYPE="UnsupportedOrderType"}((M=t.PriceEstimationError||(t.PriceEstimationError={})).errorType||(M.errorType={})),t.PriceQuality=void 0,(q=t.PriceQuality||(t.PriceQuality={})).FAST="fast",q.OPTIMAL="optimal",q.VERIFIED="verified",t.SellTokenSource=void 0,(W=t.SellTokenSource||(t.SellTokenSource={})).ERC20="erc20",W.INTERNAL="internal",W.EXTERNAL="external",t.SigningScheme=void 0,(K=t.SigningScheme||(t.SigningScheme={})).EIP712="eip712",K.ETHSIGN="ethsign",K.PRESIGN="presign",K.EIP1271="eip1271";const de=BigInt(1e4);function te(z,D){if(typeof z=="number"){const ee=z*10**D,ae=ee.toFixed();return{big:BigInt(ae.includes("e")?ee:ae),num:z}}const G=BigInt(z);return{big:G,num:Number(G)/10**D}}const oe=n.gql`
65
- query Totals {
66
- totals {
67
- tokens
68
- orders
69
- traders
70
- settlements
71
- volumeUsd
72
- volumeEth
73
- feesUsd
74
- feesEth
75
- }
76
- }
77
- `,C=n.gql`
78
- query LastDaysVolume($days: Int!) {
79
- dailyTotals(orderBy: timestamp, orderDirection: desc, first: $days) {
80
- timestamp
81
- volumeUsd
82
- }
83
- }
84
- `,P=n.gql`
85
- query LastHoursVolume($hours: Int!) {
86
- hourlyTotals(orderBy: timestamp, orderDirection: desc, first: $hours) {
87
- timestamp
88
- volumeUsd
89
- }
90
- }
91
- `,Y="https://api.thegraph.com/subgraphs/name/cowprotocol",ie={[t.SupportedChainId.MAINNET]:Y+"/cow",[t.SupportedChainId.GNOSIS_CHAIN]:Y+"/cow-gc",[t.SupportedChainId.ARBITRUM_ONE]:null,[t.SupportedChainId.SEPOLIA]:null},ce={[t.SupportedChainId.MAINNET]:Y+"/cow-staging",[t.SupportedChainId.GNOSIS_CHAIN]:Y+"/cow-gc-staging",[t.SupportedChainId.ARBITRUM_ONE]:null,[t.SupportedChainId.SEPOLIA]:null},ue=()=>Promise.resolve().then(function(){return fg()});class Ce{static signOrder(D,G,ee){try{return Promise.resolve(ue()).then(function({signOrder:ae}){return ae(D,G,ee)})}catch(ae){return Promise.reject(ae)}}static signOrderCancellation(D,G,ee){try{return Promise.resolve(ue()).then(function({signOrderCancellation:ae}){return ae(D,G,ee)})}catch(ae){return Promise.reject(ae)}}static signOrderCancellations(D,G,ee){try{return Promise.resolve(ue()).then(function({signOrderCancellations:ae}){return ae(D,G,ee)})}catch(ae){return Promise.reject(ae)}}static getDomain(D){try{return Promise.resolve(ue()).then(function({getDomain:G}){return G(D)})}catch(G){return Promise.reject(G)}}static getDomainSeparator(D){try{return Promise.resolve(ue()).then(function({getDomain:G}){return Promise.resolve(Promise.resolve().then(function(){return p(Cg())})).then(function({_TypedDataEncoder:ee}){return ee.hashDomain(G(D))})})}catch(G){return Promise.reject(G)}}static getEIP712Types(){return{Order:[{name:"sellToken",type:"address"},{name:"buyToken",type:"address"},{name:"receiver",type:"address"},{name:"sellAmount",type:"uint256"},{name:"buyAmount",type:"uint256"},{name:"validTo",type:"uint32"},{name:"appData",type:"bytes32"},{name:"feeAmount",type:"uint256"},{name:"kind",type:"string"},{name:"partiallyFillable",type:"bool"},{name:"sellTokenBalance",type:"string"},{name:"buyTokenBalance",type:"string"}]}}}var ge,Ee;t.ProofLocation=void 0,(ge=t.ProofLocation||(t.ProofLocation={}))[ge.PRIVATE=0]="PRIVATE",ge[ge.EMITTED=1]="EMITTED",ge[ge.SWARM=2]="SWARM",ge[ge.WAKU=3]="WAKU",ge[ge.RESERVED=4]="RESERVED",ge[ge.IPFS=5]="IPFS",t.PollResultCode=void 0,(Ee=t.PollResultCode||(t.PollResultCode={})).SUCCESS="SUCCESS",Ee.UNEXPECTED_ERROR="UNEXPECTED_ERROR",Ee.TRY_NEXT_BLOCK="TRY_NEXT_BLOCK",Ee.TRY_ON_BLOCK="TRY_ON_BLOCK",Ee.TRY_AT_EPOCH="TRY_AT_EPOCH",Ee.DONT_TRY_AGAIN="DONT_TRY_AGAIN";const rr=[{inputs:[{internalType:"address",name:"_settlement",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{inputs:[],name:"InterfaceNotSupported",type:"error"},{inputs:[],name:"InvalidHandler",type:"error"},{inputs:[],name:"ProofNotAuthed",type:"error"},{inputs:[],name:"SingleOrderNotAuthed",type:"error"},{inputs:[],name:"SwapGuardRestricted",type:"error"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{components:[{internalType:"contract IConditionalOrder",name:"handler",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"bytes",name:"staticInput",type:"bytes"}],indexed:!1,internalType:"struct IConditionalOrder.ConditionalOrderParams",name:"params",type:"tuple"}],name:"ConditionalOrderCreated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"bytes32",name:"root",type:"bytes32"},{components:[{internalType:"uint256",name:"location",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],indexed:!1,internalType:"struct ComposableCoW.Proof",name:"proof",type:"tuple"}],name:"MerkleRootSet",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!1,internalType:"contract ISwapGuard",name:"swapGuard",type:"address"}],name:"SwapGuardSet",type:"event"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"bytes32",name:"",type:"bytes32"}],name:"cabinet",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"contract IConditionalOrder",name:"handler",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"bytes",name:"staticInput",type:"bytes"}],internalType:"struct IConditionalOrder.ConditionalOrderParams",name:"params",type:"tuple"},{internalType:"bool",name:"dispatch",type:"bool"}],name:"create",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{internalType:"contract IConditionalOrder",name:"handler",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"bytes",name:"staticInput",type:"bytes"}],internalType:"struct IConditionalOrder.ConditionalOrderParams",name:"params",type:"tuple"},{internalType:"contract IValueFactory",name:"factory",type:"address"},{internalType:"bytes",name:"data",type:"bytes"},{internalType:"bool",name:"dispatch",type:"bool"}],name:"createWithContext",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"domainSeparator",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{components:[{internalType:"contract IConditionalOrder",name:"handler",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"bytes",name:"staticInput",type:"bytes"}],internalType:"struct IConditionalOrder.ConditionalOrderParams",name:"params",type:"tuple"},{internalType:"bytes",name:"offchainInput",type:"bytes"},{internalType:"bytes32[]",name:"proof",type:"bytes32[]"}],name:"getTradeableOrderWithSignature",outputs:[{components:[{internalType:"contract IERC20",name:"sellToken",type:"address"},{internalType:"contract IERC20",name:"buyToken",type:"address"},{internalType:"address",name:"receiver",type:"address"},{internalType:"uint256",name:"sellAmount",type:"uint256"},{internalType:"uint256",name:"buyAmount",type:"uint256"},{internalType:"uint32",name:"validTo",type:"uint32"},{internalType:"bytes32",name:"appData",type:"bytes32"},{internalType:"uint256",name:"feeAmount",type:"uint256"},{internalType:"bytes32",name:"kind",type:"bytes32"},{internalType:"bool",name:"partiallyFillable",type:"bool"},{internalType:"bytes32",name:"sellTokenBalance",type:"bytes32"},{internalType:"bytes32",name:"buyTokenBalance",type:"bytes32"}],internalType:"struct GPv2Order.Data",name:"order",type:"tuple"},{internalType:"bytes",name:"signature",type:"bytes"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"contract IConditionalOrder",name:"handler",type:"address"},{internalType:"bytes32",name:"salt",type:"bytes32"},{internalType:"bytes",name:"staticInput",type:"bytes"}],internalType:"struct IConditionalOrder.ConditionalOrderParams",name:"params",type:"tuple"}],name:"hash",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"contract Safe",name:"safe",type:"address"},{internalType:"address",name:"sender",type:"address"},{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"bytes32",name:"_domainSeparator",type:"bytes32"},{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"bytes",name:"encodeData",type:"bytes"},{internalType:"bytes",name:"payload",type:"bytes"}],name:"isValidSafeSignature",outputs:[{internalType:"bytes4",name:"magic",type:"bytes4"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"singleOrderHash",type:"bytes32"}],name:"remove",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"roots",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"root",type:"bytes32"},{components:[{internalType:"uint256",name:"location",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct ComposableCoW.Proof",name:"proof",type:"tuple"}],name:"setRoot",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"root",type:"bytes32"},{components:[{internalType:"uint256",name:"location",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct ComposableCoW.Proof",name:"proof",type:"tuple"},{internalType:"contract IValueFactory",name:"factory",type:"address"},{internalType:"bytes",name:"data",type:"bytes"}],name:"setRootWithContext",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"contract ISwapGuard",name:"swapGuard",type:"address"}],name:"setSwapGuard",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"bytes32",name:"",type:"bytes32"}],name:"singleOrders",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"swapGuards",outputs:[{internalType:"contract ISwapGuard",name:"",type:"address"}],stateMutability:"view",type:"function"}];class $e{static createInterface(){return new i.utils.Interface(rr)}static connect(D,G){return new i.Contract(D,rr,G)}}$e.abi=rr;const Ge=[{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes32",name:"domainSeparator",type:"bytes32"},{indexed:!1,internalType:"contract ISafeSignatureVerifier",name:"verifier",type:"address"}],name:"AddedDomainVerifier",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"AddedInterface",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes4",name:"selector",type:"bytes4"},{indexed:!1,internalType:"bytes32",name:"method",type:"bytes32"}],name:"AddedSafeMethod",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes32",name:"domainSeparator",type:"bytes32"},{indexed:!1,internalType:"contract ISafeSignatureVerifier",name:"oldVerifier",type:"address"},{indexed:!1,internalType:"contract ISafeSignatureVerifier",name:"newVerifier",type:"address"}],name:"ChangedDomainVerifier",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes4",name:"selector",type:"bytes4"},{indexed:!1,internalType:"bytes32",name:"oldMethod",type:"bytes32"},{indexed:!1,internalType:"bytes32",name:"newMethod",type:"bytes32"}],name:"ChangedSafeMethod",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes32",name:"domainSeparator",type:"bytes32"}],name:"RemovedDomainVerifier",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"RemovedInterface",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"contract Safe",name:"safe",type:"address"},{indexed:!1,internalType:"bytes4",name:"selector",type:"bytes4"}],name:"RemovedSafeMethod",type:"event"},{stateMutability:"nonpayable",type:"fallback"},{inputs:[{internalType:"contract Safe",name:"",type:"address"},{internalType:"bytes32",name:"",type:"bytes32"}],name:"domainVerifiers",outputs:[{internalType:"contract ISafeSignatureVerifier",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"_hash",type:"bytes32"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"isValidSignature",outputs:[{internalType:"bytes4",name:"magic",type:"bytes4"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256[]",name:"",type:"uint256[]"},{internalType:"uint256[]",name:"",type:"uint256[]"},{internalType:"bytes",name:"",type:"bytes"}],name:"onERC1155BatchReceived",outputs:[{internalType:"bytes4",name:"",type:"bytes4"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"bytes",name:"",type:"bytes"}],name:"onERC1155Received",outputs:[{internalType:"bytes4",name:"",type:"bytes4"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"bytes",name:"",type:"bytes"}],name:"onERC721Received",outputs:[{internalType:"bytes4",name:"",type:"bytes4"}],stateMutability:"pure",type:"function"},{inputs:[{internalType:"contract Safe",name:"",type:"address"},{internalType:"bytes4",name:"",type:"bytes4"}],name:"safeInterfaces",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"contract Safe",name:"",type:"address"},{internalType:"bytes4",name:"",type:"bytes4"}],name:"safeMethods",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"domainSeparator",type:"bytes32"},{internalType:"contract ISafeSignatureVerifier",name:"newVerifier",type:"address"}],name:"setDomainVerifier",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"selector",type:"bytes4"},{internalType:"bytes32",name:"newMethod",type:"bytes32"}],name:"setSafeMethod",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"},{internalType:"bool",name:"supported",type:"bool"}],name:"setSupportedInterface",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"_interfaceId",type:"bytes4"},{internalType:"bytes32[]",name:"handlerWithSelectors",type:"bytes32[]"}],name:"setSupportedInterfaceBatch",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}];class Sr{static createInterface(){return new i.utils.Interface(Ge)}static connect(D,G){return new i.Contract(D,Ge,G)}}Sr.abi=Ge;const He=function(z){try{return Promise.resolve(z.getBlock("latest")).then(function(D){return{blockNumber:D.number,blockTimestamp:D.timestamp}})}catch(D){return Promise.reject(D)}},st=["erc20","0x5a28e9363bb942b639270062aa6bb295f434bcdfc42c97267bf003f272060dc9"],ma=["external","0xabee3b73373acd583a130924aad6dc38cfdc44ba0555ba94ce2ff63980ea0632"],dt=["internal","0x4ac99ace14ee0a5ef932dc609df0943ab7ac16b7583634612f8dc35a4289a6ce"],pt=["sell","0xf3b277728b3fee749481eb3e0b3b48980dbbab78658fc419025cb16eee346775"],va=["buy","0x6ed88e868af0a1983e3886d5f3e95a2fafbd6c3450bc229e27342283dc429ccc"],ze=["tuple(address handler, bytes32 salt, bytes staticInput)"];function Ve(z){return i.utils.defaultAbiCoder.encode(ze,[z])}function zr(z){const{handler:D,salt:G,staticInput:ee}=i.utils.defaultAbiCoder.decode(ze,z)[0];return{handler:D,salt:G,staticInput:ee}}function Ye(z,D){try{i.utils.defaultAbiCoder.encode(z,D)}catch{return!1}return!0}function Le(z){return new Date(1e3*z).toISOString()}function Wr(z){if(st.includes(z))return o.OrderBalance.ERC20;if(ma.includes(z))return o.OrderBalance.EXTERNAL;if(dt.includes(z))return o.OrderBalance.INTERNAL;throw new Error(`Unknown balance type: ${z}`)}function lt(z){if(pt.includes(z))return o.OrderKind.SELL;if(va.includes(z))return o.OrderKind.BUY;throw new Error(`Unknown kind: ${z}`)}function Xe(z){const{sellToken:D,sellAmount:G,buyToken:ee,buyAmount:ae,buyTokenBalance:fe,sellTokenBalance:le,feeAmount:me,kind:be,receiver:we,validTo:Ae,partiallyFillable:ht,appData:wt}=z;return{sellToken:D,sellAmount:G,buyToken:ee,buyAmount:ae,feeAmount:me,receiver:we,partiallyFillable:ht,appData:wt,validTo:Number(Ae),kind:lt(be.toString()),sellTokenBalance:Wr(le.toString()),buyTokenBalance:Wr(fe.toString())}}let Tr,We;function Ze(){return Tr||(Tr=$e.createInterface()),Tr}function mr(z,D){return We||(We=$e.connect(B[z],D)),We}class et{constructor(D){this.handler=void 0,this.salt=void 0,this.data=void 0,this.staticInput=void 0,this.hasOffChainInput=void 0;const{handler:G,salt:ee=i.utils.keccak256(i.utils.randomBytes(32)),data:ae,hasOffChainInput:fe=!1}=D;if(!i.ethers.utils.isAddress(G))throw new Error(`Invalid handler: ${G}`);if(!i.ethers.utils.isHexString(ee)||i.ethers.utils.hexDataLength(ee)!==32)throw new Error(`Invalid salt: ${ee}`);this.handler=G,this.salt=ee,this.data=ae,this.staticInput=this.transformDataToStruct(ae),this.hasOffChainInput=fe}get context(){}assertIsValid(){const D=this.isValid();if(!D.isValid)throw new Error(`Invalid order: ${D.reason}`)}get createCalldata(){this.assertIsValid();const D=this.context,G=Ze(),ee={handler:this.handler,salt:this.salt,staticInput:this.encodeStaticInput()};if(D){const ae=D.factoryArgs?i.utils.defaultAbiCoder.encode(D.factoryArgs.argsType,D.factoryArgs.args):"0x";return G.encodeFunctionData("createWithContext",[ee,D.address,ae,!0])}return G.encodeFunctionData("create",[ee,!0])}get removeCalldata(){return this.assertIsValid(),Ze().encodeFunctionData("remove",[this.id])}get id(){return i.utils.keccak256(this.serialize())}get ctx(){return this.isSingleOrder?this.id:i.constants.HashZero}get leaf(){return{handler:this.handler,salt:this.salt,staticInput:this.encodeStaticInput()}}static leafToId(D){return i.utils.keccak256(Ve(D))}get offChainInput(){return"0x"}encodeStaticInputHelper(D,G){return i.utils.defaultAbiCoder.encode(D,[G])}poll(D){try{const G=this,{chainId:ee,owner:ae,provider:fe,orderBookApi:le}=D,me=mr(ee,fe);return Promise.resolve(function(be,we){try{var Ae=function(){const ht=G.isValid();return ht.isValid?Promise.resolve(G.pollValidate(D)).then(function(wt){return wt||Promise.resolve(G.isAuthorized(D)).then(function(ar){return ar?Promise.resolve(me.getTradeableOrderWithSignature(ae,G.leaf,G.offChainInput,[])).then(function([Or,lr]){return Promise.resolve(function(Ir,ya,kr){try{return Promise.resolve(Promise.resolve().then(function(){return p(zs)})).then(function({computeOrderUid:Qr}){return Promise.resolve(Ce.getDomain(Ir)).then(function(Yr){return Qr(Yr,kr,ya)})})}catch(Qr){return Promise.reject(Qr)}}(ee,ae,Xe(Or))).then(function(Ir){return Promise.resolve(le.getOrder(Ir).then(()=>!0).catch(()=>!1)).then(function(ya){let kr;function Qr(Ga){return kr?Ga:{result:t.PollResultCode.SUCCESS,order:Or,signature:lr}}const Yr=function(){if(ya)return Promise.resolve(G.handlePollFailedAlreadyPresent(Ir,Or,D)).then(function(Ga){if(Ga)return kr=1,Ga;const B6={result:t.PollResultCode.TRY_NEXT_BLOCK,reason:"Order already in orderbook"};return kr=1,B6})}();return Yr&&Yr.then?Yr.then(Qr):Qr(Yr)})})}):{result:t.PollResultCode.DONT_TRY_AGAIN,reason:`NotAuthorized: Order ${G.id} is not authorized for ${ae} on chain ${ee}`}})}):{result:t.PollResultCode.DONT_TRY_AGAIN,reason:`InvalidConditionalOrder. Reason: ${ht.reason}`}}()}catch(ht){return we(ht)}return Ae&&Ae.then?Ae.then(void 0,we):Ae}(0,function(be){return{result:t.PollResultCode.UNEXPECTED_ERROR,error:be}}))}catch(G){return Promise.reject(G)}}isAuthorized(D){const{chainId:G,owner:ee,provider:ae}=D;return mr(G,ae).callStatic.singleOrders(ee,this.id)}cabinet(D){const{chainId:G,owner:ee,provider:ae}=D;return mr(G,ae).callStatic.cabinet(ee,this.ctx)}static deserializeHelper(D,G,ee,ae){try{const{handler:fe,salt:le,staticInput:me}=zr(D);if(fe!=G)throw new Error("HandlerMismatch");const[be]=i.utils.defaultAbiCoder.decode(ee,me);return ae(be,le)}catch(fe){throw fe.message==="HandlerMismatch"?fe:new Error("InvalidSerializedConditionalOrder")}}}const ct=["address","bytes32","bytes"],ba=["tuple(bytes32[] proof, tuple(address handler, bytes32 salt, bytes staticInput) params)[]"];class De{constructor(D,G,ee,ae=t.ProofLocation.PRIVATE){if(this.chain=void 0,this.location=void 0,this.orders={},this.tree=void 0,this.ctx=void 0,this.chain=D,this.location=ae,G&&Object.keys(G).length===0)throw new Error("orders must have non-zero length");if(G&&!ee||!G&&ee)throw new Error("orders cannot have undefined root");for(const fe in G)if(G.hasOwnProperty(fe)){const le=G[fe];if(!De.orderTypeRegistry.hasOwnProperty(le.orderType))throw new Error(`Unknown order type: ${le.orderType}`)}if(G&&(this.orders=G,this.getOrGenerateTree().root!==ee))throw new Error("root mismatch")}static fromJSON(D){const{chain:G,orders:ee,root:ae,location:fe}=JSON.parse(D,(me,be)=>{if(me==="orders"&&typeof be=="object"&&be!==null){const we={};for(const Ae in be)if(be.hasOwnProperty(Ae)){const{orderType:ht,...wt}=be[Ae];if(!De.orderTypeRegistry.hasOwnProperty(ht))throw new Error(`Unknown order type: ${ht}`);we[Ae]=new De.orderTypeRegistry[ht](wt)}return we}return typeof be=="object"&&be!==null&&be.hasOwnProperty("type")&&be.hasOwnProperty("hex")&&be.type==="BigNumber"?i.BigNumber.from(be):be}),le=new De(G,ee,ae);return le.location=fe,le}toJSON(){const D=this.getOrGenerateTree().root;return JSON.stringify({...this,root:D},(G,ee)=>{if(G!=="tree"){if(typeof ee=="object"&&ee!==null&&"orderType"in ee){const ae=ee;return{...ae,orderType:ae.orderType}}return ee}})}add(D){D.assertIsValid(),this.orders[D.id]=D,this.reset()}remove(D){delete this.orders[D],this.reset()}update(D,G){const ee=G(this.orders[D],this.ctx);delete this.orders[D],this.orders[ee.id]=ee,this.reset()}getById(D){return this.orders[D]}getByIndex(D){return this.orders[this.orderIds[D]]}get orderIds(){return Object.keys(this.orders)}get root(){return this.getOrGenerateTree().root}getOrGenerateTree(){return this.tree||(this.tree=s.StandardMerkleTree.of(Object.values(this.orders).map(D=>[...Object.values(D.leaf)]),ct)),this.tree}static decodeFromJSON(D){return JSON.parse(D)}prepareProofStruct(D,G,ee){try{const ae=this;D===void 0&&(D=ae.location);const fe=function(){try{switch(D){case t.ProofLocation.PRIVATE:return Promise.resolve("0x");case t.ProofLocation.EMITTED:return Promise.resolve(ae.encodeToABI(G));case t.ProofLocation.SWARM:case t.ProofLocation.WAKU:case t.ProofLocation.IPFS:if(!ee)throw new Error("Must provide an uploader function");return Promise.resolve(function(le,me){try{var be=Promise.resolve(ee(ae.encodeToJSON(G)))}catch(we){return me(we)}return be&&be.then?be.then(void 0,me):be}(0,function(le){throw new Error(`Error uploading to decentralized storage ${D}: ${le}`)}));default:throw new Error("Unsupported location")}}catch(le){return Promise.reject(le)}};return Promise.resolve(fe().then(le=>{try{return i.utils.hexlify(i.utils.arrayify(le)),ae.location=D,{location:D,data:le}}catch{throw new Error("data returned by uploader is invalid")}}).catch(le=>{throw new Error(`Error preparing proof struct: ${le}`)}))}catch(ae){return Promise.reject(ae)}}static poll(D,G,ee,ae,fe){try{let le=function(be){return Promise.resolve(me.getTradeableOrderWithSignature(D,G.params,be,G.proof))};const me=mr(ee,ae);return Promise.resolve(fe?Promise.resolve(fe(D,G.params)).then(le):le("0x"))}catch(le){return Promise.reject(le)}}dumpProofs(D){return this.encodeToJSON(D)}dumpProofsAndParams(D){return this.getProofs(D)}getProofs(D){return[...this.getOrGenerateTree().entries()].map(([G,ee])=>D&&D(ee)||D===void 0?{idx:G,value:ee}:void 0).reduce((G,ee)=>{if(ee){const ae={handler:ee.value[0],salt:ee.value[1],staticInput:ee.value[2]};G.push({proof:this.getOrGenerateTree().getProof(ee.idx),params:ae})}return G},[])}encodeToABI(D){return i.utils.defaultAbiCoder.encode(ba,[this.getProofs(D)])}encodeToJSON(D){return JSON.stringify(this.getProofs(D))}reset(){this.tree=void 0}static registerOrderType(D,G){De.orderTypeRegistry[D]=G}static resetOrderTypeRegistry(){De.orderTypeRegistry={}}}De.orderTypeRegistry={};const Me="0x6cF1e9cA41f7611dEf408122793c358a3d11E5a5",Kr="0x52eD56Da04309Aca4c3FECC595298d80C2f16BAc",je=i.BigNumber.from(2).pow(32).sub(1),tt=i.BigNumber.from(31536e3),Nr=["tuple(address sellToken, address buyToken, address receiver, uint256 partSellAmount, uint256 minPartLimit, uint256 t0, uint256 n, uint256 t, uint256 span, bytes32 appData)"];var rt,at;t.DurationType=void 0,(rt=t.DurationType||(t.DurationType={})).AUTO="AUTO",rt.LIMIT_DURATION="LIMIT_DURATION",t.StartTimeValue=void 0,(at=t.StartTimeValue||(t.StartTimeValue={})).AT_MINING_TIME="AT_MINING_TIME",at.AT_EPOCH="AT_EPOCH";const Pr={startType:t.StartTimeValue.AT_MINING_TIME},Ke={durationType:t.DurationType.AUTO};class Ue extends et{constructor(D){const{handler:G,salt:ee,data:ae,hasOffChainInput:fe}=D;if(G!==Me)throw new Error(`InvalidHandler: Expected: ${Me}, provided: ${G}`);super({handler:Me,salt:ee,data:ae,hasOffChainInput:fe}),this.isSingleOrder=!0}static fromData(D,G){return new Ue({handler:Me,data:D,salt:G})}static fromParams(D){return Ue.deserialize(Ve(D))}get context(){return this.staticInput.t0.gt(0)?super.context:{address:Kr,factoryArgs:void 0}}get orderType(){return"twap"}isValid(){const D=(()=>{const{sellToken:G,sellAmount:ee,buyToken:ae,buyAmount:fe,startTime:le=Pr,numberOfParts:me,timeBetweenParts:be,durationOfPart:we=Ke}=this.data;if(G==ae)return"InvalidSameToken";if(G==i.constants.AddressZero||ae==i.constants.AddressZero)return"InvalidToken";if(!ee.gt(i.constants.Zero))return"InvalidSellAmount";if(!fe.gt(i.constants.Zero))return"InvalidMinBuyAmount";if(le.startType===t.StartTimeValue.AT_EPOCH){const Ae=le.epoch;if(!Ae.gte(i.constants.Zero)||!Ae.lt(je))return"InvalidStartTime"}return me.gt(i.constants.One)&&me.lte(je)?be.gt(i.constants.Zero)&&be.lte(tt)?we.durationType!==t.DurationType.LIMIT_DURATION||we.duration.lte(be)?Ye(Nr,[this.staticInput])?void 0:"InvalidData":"InvalidSpan":"InvalidFrequency":"InvalidNumParts"})();return D?{isValid:!1,reason:D}:{isValid:!0}}startTimestamp(D){try{const G=this,{startTime:ee}=G.data;return(ee==null?void 0:ee.startType)===t.StartTimeValue.AT_EPOCH?Promise.resolve(ee.epoch.toNumber()):Promise.resolve(G.cabinet(D)).then(function(ae){const fe=i.utils.defaultAbiCoder.decode(["uint256"],ae)[0];if(fe.gt(je))throw new Error(`Cabinet epoch out of range: ${fe.toString()}`);const le=fe.toNumber();if(le===0)throw new Error("Cabinet is not set. Required for TWAP orders that start at mining time.");return le})}catch(G){return Promise.reject(G)}}endTimestamp(D){const{numberOfParts:G,timeBetweenParts:ee,durationOfPart:ae}=this.data;return ae&&ae.durationType===t.DurationType.LIMIT_DURATION?D+G.sub(1).mul(ee).add(ae.duration).toNumber():D+G.mul(ee).toNumber()}pollValidate(D){try{const G=this;return Promise.resolve(He(D.provider)).then(function(ee){const{blockInfo:ae=ee}=D,{blockTimestamp:fe}=ae;return function(le,me){try{var be=Promise.resolve(G.startTimestamp(D)).then(function(we){if(we>fe)return{result:t.PollResultCode.TRY_AT_EPOCH,epoch:we,reason:`TWAP hasn't started yet. Starts at ${we} (${Le(we)})`};const Ae=G.endTimestamp(we);return fe>=Ae?{result:t.PollResultCode.DONT_TRY_AGAIN,reason:`TWAP has expired. Expired at ${Ae} (${Le(Ae)})`}:void 0})}catch(we){return me(we)}return be&&be.then?be.then(void 0,me):be}(0,function(le){var me,be;return(me=le==null?void 0:le.message)!=null&&me.includes("Cabinet is not set")?{result:t.PollResultCode.DONT_TRY_AGAIN,reason:`${le==null?void 0:le.message}. User likely removed the order.`}:(be=le==null?void 0:le.message)!=null&&be.includes("Cabinet epoch out of range")?{result:t.PollResultCode.DONT_TRY_AGAIN,reason:`${le==null?void 0:le.message}`}:{result:t.PollResultCode.UNEXPECTED_ERROR,reason:`Unexpected error: ${le.message}`,error:le}})})}catch(G){return Promise.reject(G)}}handlePollFailedAlreadyPresent(D,G,ee){try{const ae=this;return Promise.resolve(He(ee.provider)).then(function(fe){const{blockInfo:le=fe}=ee,{blockTimestamp:me}=le,be=ae.data.timeBetweenParts.toNumber(),{numberOfParts:we}=ae.data;return Promise.resolve(ae.startTimestamp(ee)).then(function(Ae){if(me<Ae)return{result:t.PollResultCode.UNEXPECTED_ERROR,reason:`TWAP part hash't started. First TWAP part start at ${Ae} (${Le(Ae)})`,error:void 0};const ht=we.mul(be).add(Ae).toNumber();if(me>=ht)return{result:t.PollResultCode.UNEXPECTED_ERROR,reason:`TWAP is expired. Expired at ${ht} (${Le(ht)})`,error:void 0};const wt=Math.floor((me-Ae)/be);if(wt===we.toNumber()-1)return{result:t.PollResultCode.DONT_TRY_AGAIN,reason:`Current active TWAP part (${wt+1}/${we}) is already in the Order Book. This was the last TWAP part, no more orders need to be placed`};const ar=Ae+(wt+1)*be;return{result:t.PollResultCode.TRY_AT_EPOCH,epoch:ar,reason:`Current active TWAP part (${wt+1}/${we}) is already in the Order Book. TWAP part ${wt+2} doesn't start until ${ar} (${Le(ar)})`}})})}catch(ae){return Promise.reject(ae)}}serialize(){return Ve(this.leaf)}encodeStaticInput(){return super.encodeStaticInputHelper(Nr,this.staticInput)}static deserialize(D){return super.deserializeHelper(D,Me,Nr,(G,ee)=>new Ue({handler:Me,salt:ee,data:Je(G)}))}toString(){const{sellAmount:D,sellToken:G,buyAmount:ee,buyToken:ae,numberOfParts:fe,startTime:le=Pr,timeBetweenParts:me,durationOfPart:be=Ke,receiver:we,appData:Ae}=this.data,ht=le.startType===t.StartTimeValue.AT_MINING_TIME?"AT_MINING_TIME":le.epoch.toNumber(),wt=be.durationType===t.DurationType.AUTO?"AUTO":be.duration.toNumber(),ar={sellAmount:D.toString(),sellToken:G,buyAmount:ee.toString(),buyToken:ae,numberOfParts:fe.toString(),startTime:ht,timeBetweenParts:me.toNumber(),durationOfPart:wt,receiver:we,appData:Ae};return`${this.orderType} (${this.id}): ${JSON.stringify(ar)}`}transformDataToStruct(D){return Jr(D)}transformStructToData(D){return Je(D)}}function Jr(z){const{sellAmount:D,buyAmount:G,numberOfParts:ee,startTime:ae=Pr,timeBetweenParts:fe,durationOfPart:le=Ke,...me}=z,{partSellAmount:be,minPartLimit:we}=ee&&!ee.isZero()?{partSellAmount:D.div(ee),minPartLimit:G.div(ee)}:{partSellAmount:i.constants.Zero,minPartLimit:i.constants.Zero},Ae=le.durationType===t.DurationType.AUTO?i.constants.Zero:le.duration;return{partSellAmount:be,minPartLimit:we,t0:ae.startType===t.StartTimeValue.AT_MINING_TIME?i.constants.Zero:ae.epoch,n:ee,t:fe,span:Ae,...me}}function Je(z){const{n:D,partSellAmount:G,minPartLimit:ee,t:ae,t0:fe,span:le,...me}=z,be=le.isZero()?{durationType:t.DurationType.AUTO}:{durationType:t.DurationType.LIMIT_DURATION,duration:le},we=le.isZero()?{startType:t.StartTimeValue.AT_MINING_TIME}:{startType:t.StartTimeValue.AT_EPOCH,epoch:fe};return{sellAmount:G.mul(D),buyAmount:ee.mul(D),startTime:we,numberOfParts:D,timeBetweenParts:ae,durationOfPart:be,...me}}const ut={[Me]:z=>Ue.fromParams(z)};t.ALL_SUPPORTED_CHAIN_IDS=O,t.BUY_ETH_ADDRESS=x,t.COMPOSABLE_COW=N,t.COMPOSABLE_COW_CONTRACT_ADDRESS=B,t.CONDITIONAL_ORDER_PARAMS_ABI=ze,t.COW_PROTOCOL_SETTLEMENT_CONTRACT_ADDRESS=$,t.COW_PROTOCOL_VAULT_RELAYER_ADDRESS=H,t.CURRENT_BLOCK_TIMESTAMP_FACTORY_ADDRESS=Kr,t.ConditionalOrder=et,t.ConditionalOrderFactory=class{constructor(z){this.knownOrderTypes=void 0,this.knownOrderTypes=z}fromParams(z){const{handler:D}=z,G=this.knownOrderTypes[D];if(G)return G(z)}},t.CowError=v,t.DEFAULT_BACKOFF_OPTIONS=k,t.DEFAULT_CONDITIONAL_ORDER_REGISTRY=ut,t.DEFAULT_COW_API_CONTEXT=u,t.DEFAULT_IPFS_READ_URI="https://gnosis.mypinata.cloud/ipfs",t.DEFAULT_IPFS_WRITE_URI="https://api.pinata.cloud",t.DEFAULT_LIMITER_OPTIONS=R,t.DEFAULT_TOKEN_FORMATTER=(z,D)=>`${D}@${z}`,t.ENVS_LIST=l,t.EXTENSIBLE_FALLBACK_HANDLER=A,t.EXTENSIBLE_FALLBACK_HANDLER_CONTRACT_ADDRESS=U,t.MAX_FREQUENCY=tt,t.MAX_UINT32=je,t.Multiplexer=De,t.ORDER_BOOK_PROD_CONFIG=w,t.ORDER_BOOK_STAGING_CONFIG=d,t.OrderBookApi=class{constructor(z={}){this.context=void 0,this.rateLimiter=void 0,this.context={...u,...z},this.rateLimiter=new r.RateLimiter(z.limiterOpts||R)}getVersion(z={}){return this.fetch({path:"/api/v1/version",method:"GET"},z)}getTrades(z,D={}){if(z.owner&&z.orderUid)return Promise.reject(new v("Cannot specify both owner and orderId"));if(!z.owner&&!z.orderUid)return Promise.reject(new v("Must specify either owner or orderId"));const G=new URLSearchParams(h(z));return this.fetch({path:"/api/v1/trades",method:"GET",query:G},D)}getOrders({owner:z,offset:D=0,limit:G=1e3},ee={}){const ae=new URLSearchParams(h({offset:D.toString(),limit:G.toString()}));return this.fetch({path:`/api/v1/account/${z}/orders`,method:"GET",query:ae},ee).then(fe=>fe.map(X))}getTxOrders(z,D={}){return this.fetch({path:`/api/v1/transactions/${z}/orders`,method:"GET"},D).then(G=>G.map(X))}getOrder(z,D={}){return this.fetch({path:`/api/v1/orders/${z}`,method:"GET"},D).then(G=>X(G))}getOrderMultiEnv(z,D={}){const{env:G}=this.getContextWithOverride(D),ee=l.filter(le=>le!==G);let ae=0;const fe=le=>{const me=ee[ae];return le instanceof Q&&le.response.status===404&&me?(ae++,this.getOrder(z,{...D,env:me}).catch(fe)):Promise.reject(le)};return this.getOrder(z,{...D,env:G}).catch(fe)}getQuote(z,D={}){return this.fetch({path:"/api/v1/quote",method:"POST",body:z},D)}sendSignedOrderCancellations(z,D={}){return this.fetch({path:"/api/v1/orders",method:"DELETE",body:z},D)}sendOrder(z,D={}){return this.fetch({path:"/api/v1/orders",method:"POST",body:z},D)}getNativePrice(z,D={}){return this.fetch({path:`/api/v1/token/${z}/native_price`,method:"GET"},D)}getTotalSurplus(z,D={}){return this.fetch({path:`/api/v1/users/${z}/total_surplus`,method:"GET"},D)}getAppData(z,D={}){return this.fetch({path:`/api/v1/app_data/${z}`,method:"GET"},D)}uploadAppData(z,D,G={}){return this.fetch({path:`/api/v1/app_data/${z}`,method:"PUT",body:{fullAppData:D}},G)}getSolverCompetition(z,D={}){return this.fetch({path:`/api/v1/solver_competition${typeof z=="string"?"/by_tx_hash":""}/${z}`,method:"GET"},D)}getOrderLink(z,D){const{chainId:G,env:ee}=this.getContextWithOverride(D);return this.getApiBaseUrls(ee)[G]+`/api/v1/orders/${z}`}getContextWithOverride(z={}){return{...this.context,...z}}getApiBaseUrls(z){return this.context.baseUrls?this.context.baseUrls:z==="prod"?w:d}fetch(z,D={}){const{chainId:G,env:ee,backoffOpts:ae}=this.getContextWithOverride(D),fe=this.getApiBaseUrls(ee)[G],le=ae||k,me=D.limiterOpts?new r.RateLimiter(D.limiterOpts):this.rateLimiter;return j(fe,z,me,le)}},t.OrderBookApiError=Q,t.OrderSigningUtils=Ce,t.SUBGRAPH_PROD_CONFIG=ie,t.SUBGRAPH_STAGING_CONFIG=ce,t.SubgraphApi=class{constructor(z={}){this.API_NAME="CoW Protocol Subgraph",this.context=void 0,this.context={...u,...z}}getTotals(z={}){try{return Promise.resolve(this.runQuery(oe,void 0,z)).then(function(D){return D.totals[0]})}catch(D){return Promise.reject(D)}}getLastDaysVolume(z,D={}){try{return Promise.resolve(this.runQuery(C,{days:z},D))}catch(G){return Promise.reject(G)}}getLastHoursVolume(z,D={}){try{return Promise.resolve(this.runQuery(P,{hours:z},D))}catch(G){return Promise.reject(G)}}runQuery(z,D=void 0,G={}){try{const ee=this,{chainId:ae,env:fe}=ee.getContextWithOverride(G),le=ee.getEnvConfigs(fe)[ae];if(le===null)throw new Error("Unsupported Network. The subgraph API is not available in the Network "+ae);return Promise.resolve(function(me,be){try{var we=Promise.resolve(n.request(le,z,D))}catch(Ae){return be(Ae)}return we&&we.then?we.then(void 0,be):we}(0,function(me){throw console.error(`[subgraph:${ee.API_NAME}]`,me),new v(`Error running query: ${z}. Variables: ${JSON.stringify(D)}. API: ${le}. Inner Error: ${me}`)}))}catch(ee){return Promise.reject(ee)}}getContextWithOverride(z={}){return{...this.context,...z}}getEnvConfigs(z){return this.context.baseUrls?this.context.baseUrls:z==="prod"?ie:ce}},t.TWAP_ADDRESS=Me,t.Twap=Ue,t.createSetDomainVerifierTx=function(z,D){return Sr.createInterface().encodeFunctionData("setDomainVerifier",[z,D])},t.decodeParams=zr,t.encodeParams=Ve,t.formatEpoch=Le,t.fromStructToOrder=Xe,t.getBlockInfo=He,t.getDomainVerifier=function(z,D,G,ee){try{const ae=Sr.connect(U[G],ee);return Promise.resolve(ae.callStatic.domainVerifiers(z,D))}catch(ae){return Promise.reject(ae)}},t.getQuoteAmountsAndCosts=function(z){var D;const{orderParams:G,sellDecimals:ee,buyDecimals:ae,slippagePercentBps:fe}=z,le=(D=z.partnerFeeBps)!==null&&D!==void 0?D:0,me=G.kind===t.OrderKind.SELL,be=te(G.feeAmount,ee),we=te(G.sellAmount,ee),Ae=te(G.buyAmount,ae),ht=Ae.num/we.num,wt=te(we.big+be.big,ee),ar=te(ht*wt.num,ae),Or=le>0?(me?ar.big:we.big)*BigInt(le)/de:BigInt(0),lr=me?{sellAmount:wt.big,buyAmount:Ae.big-Or}:{sellAmount:wt.big+Or,buyAmount:Ae.big},Ir=kr=>kr*BigInt(fe)/de,ya=me?{sellAmount:lr.sellAmount,buyAmount:lr.buyAmount-Ir(lr.buyAmount)}:{sellAmount:lr.sellAmount+Ir(lr.sellAmount),buyAmount:lr.buyAmount};return{isSell:me,costs:{networkFee:{amountInSellCurrency:be.big,amountInBuyCurrency:te(ht*be.num,ae).big},partnerFee:{amount:Or,bps:le}},beforeNetworkCosts:{sellAmount:we.big,buyAmount:ar.big},afterNetworkCosts:{sellAmount:wt.big,buyAmount:Ae.big},afterPartnerFees:lr,afterSlippage:ya}},t.isComposableCow=function(z,D){return z===B[D]},t.isExtensibleFallbackHandler=function(z,D){return z===U[D]},t.isValidAbi=Ye,t.logPrefix="cow-sdk:",t.mapAddressToSupportedNetworks=I,t.mapSupportedNetworks=S,t.request=j,t.transformDataToStruct=Jr,t.transformStructToData=Je}(Ao)),Ao}var I6=O6(),Ra=(t=>(t.ACTIVATE="ACTIVATE",t.UPDATE_HEIGHT="UPDATE_HEIGHT",t.SET_FULL_HEIGHT="SET_FULL_HEIGHT",t.EMIT_COW_EVENT="EMIT_COW_EVENT",t.PROVIDER_RPC_REQUEST="PROVIDER_RPC_REQUEST",t.INTERCEPT_WINDOW_OPEN="INTERCEPT_WINDOW_OPEN",t))(Ra||{}),vi=(t=>(t.UPDATE_PARAMS="UPDATE_PARAMS",t.UPDATE_APP_DATA="UPDATE_APP_DATA",t.PROVIDER_RPC_RESPONSE="PROVIDER_RPC_RESPONSE",t.PROVIDER_ON_EVENT="PROVIDER_ON_EVENT",t))(vi||{}),wo=(t=>(t.SWAP="swap",t.LIMIT="limit",t.ADVANCED="advanced",t))(wo||{});const Dg=["primary","background","paper","text","danger","warning","alert","info","success"];class Rg{constructor(e,r=[]){ga(this,"eventEmitter",new L6);ga(this,"listeners",[]);ga(this,"widgetListener");this.contentWindow=e,this.updateListeners(r),this.widgetListener=yn(this.contentWindow,Ra.EMIT_COW_EVENT,a=>this.eventEmitter.emit(a.event,a.payload))}stopListeningIframe(){R2(this.contentWindow,this.widgetListener)}updateListeners(e){for(const r of this.listeners)this.eventEmitter.off(r);this.listeners=e||[];for(const r of this.listeners)this.eventEmitter.on(r)}}const Bg=["connect","disconnect","close","chainChanged","accountsChanged"];class Mg{constructor(e){ga(this,"ethereumProvider",null);ga(this,"requestWaitingForConnection",{});ga(this,"processRpcCallFromWindow",({rpcRequest:e})=>{if(!this.ethereumProvider){e.id&&(this.requestWaitingForConnection[e.id]=e);return}this.processRpcRequest(e)});this.iframeWidow=e}disconnect(){this.ethereumProvider=null,D2(window,Ra.PROVIDER_RPC_REQUEST,this.processRpcCallFromWindow)}onConnect(e){this.ethereumProvider?this.disconnect():yn(window,Ra.PROVIDER_RPC_REQUEST,this.processRpcCallFromWindow),this.ethereumProvider=e,this.processPendingRequests(),Bg.forEach(r=>{e.on(r,a=>this.onProviderEvent(r,a))})}processPendingRequests(){Object.keys(this.requestWaitingForConnection).forEach(e=>{this.processRpcRequest(this.requestWaitingForConnection[e])}),this.requestWaitingForConnection={}}processRpcRequest(e){const{id:r,jsonrpc:a,method:n}=e;if(!this.ethereumProvider||!r)return;(n==="enable"?this.ethereumProvider.enable():this.ethereumProvider.request({...e,id:r})).then(o=>this.forwardRpcResponseToIframe({rpcResponse:{jsonrpc:a,id:r,result:o}})).catch(o=>this.forwardRpcResponseToIframe({rpcResponse:{jsonrpc:a,id:r,error:o}}))}onProviderEvent(e,r){t1(this.iframeWidow,vi.PROVIDER_ON_EVENT,{event:e,params:r})}forwardRpcResponseToIframe(e){t1(this.iframeWidow,vi.PROVIDER_RPC_RESPONSE,e)}}class Fg{constructor(e,r){ga(this,"forwardSdkMessage");this.appWindow=e,this.iframeWidow=r,this.forwardSdkMessage=a=>{Lg(a.data)&&a.origin!==window.location.origin&&(Ug(a.data)?this.appWindow.parent.postMessage(a.data,"*"):Vg(a.data)&&this.iframeWidow.postMessage(a.data,"*"))},this.startListening()}startListening(){this.appWindow.addEventListener("message",this.forwardSdkMessage)}stopListening(){this.appWindow.removeEventListener("message",this.forwardSdkMessage)}}function Lg(t){return typeof t=="object"&&t!==null&&"id"in t&&typeof t.id=="string"}function Ug(t){return"method"in t&&typeof t.method=="string"&&"params"in t&&"env"in t&&typeof t.env=="object"&&t.env!==null&&"sdkVersion"in t.env}function Vg(t){return"success"in t&&typeof t.success=="boolean"&&"version"in t&&typeof t.version=="string"}function k6(t){return!!(t&&typeof t=="object")}const O2="_";function jg(t){const e=typeof t.baseUrl=="string"?t.baseUrl:"https://swap.cow.fi",r=C6(t);return e+"/#"+r+"?"+D6(t)}function C6(t){const{chainId:e=1,sell:r,buy:a,tradeType:n=wo.SWAP}=t,i=[(r==null?void 0:r.asset)||O2,(a==null?void 0:a.asset)||O2].map(encodeURIComponent).join("/");return`/${e}/widget/${n}/${i}`}function D6(t){const e=new URLSearchParams;return $g(qg(e,t),t)}function qg(t,e){const{sell:r,buy:a}=e;return r!=null&&r.amount&&t.append("sellAmount",r.amount),a!=null&&a.amount&&t.append("buyAmount",a.amount),t}function $g(t,e){const r=e.theme;return r?(k6(r)?(t.append("palette",encodeURIComponent(JSON.stringify(r))),t.append("theme",r.baseTheme)):(t.append("palette","null"),t.append("theme",r)),t):(t.append("palette","null"),t)}const R6="640px",Gg="450px",Hg=20;function zg(t,e){const{params:r,provider:a,listeners:n}=e;let i=a,o=r;const s=Wg(r);t.innerHTML="",t.appendChild(s);const{contentWindow:p}=s;if(!p)throw console.error("Iframe does not contain a window",s),new Error("Iframe does not contain a window!");const l=[];l.push(Kg(p,r.appCode)),l.push(...Qg(s,r.height)),l.push(Jg());const u=new Rg(window,n);let v=I2(p,null,i);s.addEventListener("load",()=>k2(p,o,i));const x=new Fg(window,p);return{updateParams:A=>{o=A,k2(p,o,i)},updateListeners:A=>u.updateListeners(A),updateProvider:A=>{i=A,v=I2(p,v,A)},destroy:()=>{v.disconnect(),u.stopListeningIframe(),l.forEach(A=>window.removeEventListener("message",A)),x.stopListening(),t.removeChild(s)}}}function I2(t,e,r){e&&e.disconnect();const a=e||new Mg(t);return r&&a.onConnect(r),a}function Wg(t){const{width:e=Gg,height:r=R6}=t,a=document.createElement("iframe");return a.src=jg(t),a.width=e,a.height=r,a.style.border="0",a}function k2(t,e,r){const a=!!r,n=C6(e),i=D6(e).toString(),{theme:o,...s}=e;t1(t,vi.UPDATE_PARAMS,{urlParams:{pathname:n,search:i},appParams:s,hasProvider:a})}function Kg(t,e){return yn(window,Ra.ACTIVATE,()=>{t1(t,vi.UPDATE_APP_DATA,{metaData:e?{appCode:e}:void 0})})}function Jg(){return yn(window,Ra.INTERCEPT_WINDOW_OPEN,({href:t,rel:e,target:r})=>{const a=t.toString();if(!a.startsWith("http")&&a.match(/^[a-zA-Z0-9]+:\/\//)){window.open(a,r,e);return}})}function Qg(t,e=R6){return[yn(window,Ra.UPDATE_HEIGHT,r=>{t.style.height=r.height?`${r.height+Hg}px`:e}),yn(window,Ra.SET_FULL_HEIGHT,({isUpToSmall:r})=>{t.style.height=r?e:`${document.body.offsetHeight}px`})]}const Yg=Object.values(wo);function Xg(t,e,r){if(Ws(t)){const a=t[r];return Ks(a)?a[e]:a}if(Ks(t)){const a=t[e];return Ws(a)?a[r]:a}return t}function Ws(t){return typeof t!="object"?!1:Object.keys(t).every(e=>Yg.includes(e))}function Ks(t){return typeof t!="object"?!1:Object.keys(t).every(e=>e in I6.SupportedChainId)}exports.SupportedChainId=I6.SupportedChainId;exports.TradeType=wo;exports.WIDGET_PALETTE_COLORS=Dg;exports.WidgetMethodsEmit=Ra;exports.WidgetMethodsListen=vi;exports.createCowSwapWidget=zg;exports.isCowSwapWidgetPalette=k6;exports.isPerNetworkConfig=Ks;exports.isPerTradeTypeConfig=Ws;exports.listenToMessageFromWindow=yn;exports.postMessageToWindow=t1;exports.resolveFlexibleConfig=Xg;exports.stopListeningToMessageFromWindow=D2;exports.stopListeningWindowListener=R2;
1
+ "use strict";var b=Object.defineProperty;var y=(e,t,n)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var r=(e,t,n)=>(y(e,typeof t!="symbol"?t+"":t,n),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class N{constructor(){r(this,"subscriptions",{})}on(t){const{event:n,handler:i}=t;return this.subscriptions[n]||(this.subscriptions[n]=[]),this.subscriptions[n].push(i),t}off(t){const{event:n,handler:i}=t;return this.subscriptions[n]&&(this.subscriptions[n]=this.subscriptions[n].filter(s=>s!==i)),t}emit(t,n){this.subscriptions[t]&&this.subscriptions[t].forEach(i=>i(n))}}const W="cowSwapWidget";function E(e,t,n){const s={key:W,method:t,...typeof n=="object"?n:{}};e.postMessage(s,"*")}function h(e,t,n){const i=s=>{!U(s.data)||s.data.key!==W||s.data.method!==t||n(s.data)};return e.addEventListener("message",i),i}function U(e){return typeof e=="object"&&e!==null&&"key"in e&&"method"in e&&typeof e.key=="string"&&typeof e.method=="string"}function I(e,t,n){e.removeEventListener("message",n)}function v(e,t){e.removeEventListener("message",t)}var a=(e=>(e.ACTIVATE="ACTIVATE",e.UPDATE_HEIGHT="UPDATE_HEIGHT",e.SET_FULL_HEIGHT="SET_FULL_HEIGHT",e.EMIT_COW_EVENT="EMIT_COW_EVENT",e.PROVIDER_RPC_REQUEST="PROVIDER_RPC_REQUEST",e.INTERCEPT_WINDOW_OPEN="INTERCEPT_WINDOW_OPEN",e))(a||{}),f=(e=>(e.UPDATE_PARAMS="UPDATE_PARAMS",e.UPDATE_APP_DATA="UPDATE_APP_DATA",e.PROVIDER_RPC_RESPONSE="PROVIDER_RPC_RESPONSE",e.PROVIDER_ON_EVENT="PROVIDER_ON_EVENT",e))(f||{}),w=(e=>(e.SWAP="swap",e.LIMIT="limit",e.ADVANCED="advanced",e))(w||{});const V=["primary","background","paper","text","danger","warning","alert","info","success"];class F{constructor(t,n=[]){r(this,"eventEmitter",new N);r(this,"listeners",[]);r(this,"widgetListener");this.contentWindow=t,this.updateListeners(n),this.widgetListener=h(this.contentWindow,a.EMIT_COW_EVENT,i=>this.eventEmitter.emit(i.event,i.payload))}stopListeningIframe(){v(this.contentWindow,this.widgetListener)}updateListeners(t){for(const n of this.listeners)this.eventEmitter.off(n);this.listeners=t||[];for(const n of this.listeners)this.eventEmitter.on(n)}}const H=["connect","disconnect","close","chainChanged","accountsChanged"];class M{constructor(t){r(this,"ethereumProvider",null);r(this,"requestWaitingForConnection",{});r(this,"processRpcCallFromWindow",({rpcRequest:t})=>{if(!this.ethereumProvider){t.id&&(this.requestWaitingForConnection[t.id]=t);return}this.processRpcRequest(t)});this.iframeWidow=t}disconnect(){this.ethereumProvider=null,I(window,a.PROVIDER_RPC_REQUEST,this.processRpcCallFromWindow)}onConnect(t){this.ethereumProvider?this.disconnect():h(window,a.PROVIDER_RPC_REQUEST,this.processRpcCallFromWindow),this.ethereumProvider=t,this.processPendingRequests(),H.forEach(n=>{t.on(n,i=>this.onProviderEvent(n,i))})}processPendingRequests(){Object.keys(this.requestWaitingForConnection).forEach(t=>{this.processRpcRequest(this.requestWaitingForConnection[t])}),this.requestWaitingForConnection={}}processRpcRequest(t){const{id:n,jsonrpc:i,method:s}=t;if(!this.ethereumProvider||!n)return;(s==="enable"?this.ethereumProvider.enable():this.ethereumProvider.request({...t,id:n})).then(c=>this.forwardRpcResponseToIframe({rpcResponse:{jsonrpc:i,id:n,result:c}})).catch(c=>this.forwardRpcResponseToIframe({rpcResponse:{jsonrpc:i,id:n,error:c}}))}onProviderEvent(t,n){E(this.iframeWidow,f.PROVIDER_ON_EVENT,{event:t,params:n})}forwardRpcResponseToIframe(t){E(this.iframeWidow,f.PROVIDER_RPC_RESPONSE,t)}}class k{constructor(t,n){r(this,"forwardSdkMessage");this.appWindow=t,this.iframeWidow=n,this.forwardSdkMessage=i=>{G(i.data)&&i.origin!==window.location.origin&&(x(i.data)?this.appWindow.parent.postMessage(i.data,"*"):Q(i.data)&&this.iframeWidow.postMessage(i.data,"*"))},this.startListening()}startListening(){this.appWindow.addEventListener("message",this.forwardSdkMessage)}stopListening(){this.appWindow.removeEventListener("message",this.forwardSdkMessage)}}function G(e){return typeof e=="object"&&e!==null&&"id"in e&&typeof e.id=="string"}function x(e){return"method"in e&&typeof e.method=="string"&&"params"in e&&"env"in e&&typeof e.env=="object"&&e.env!==null&&"sdkVersion"in e.env}function Q(e){return"success"in e&&typeof e.success=="boolean"&&"version"in e&&typeof e.version=="string"}function A(e){return!!(e&&typeof e=="object")}const R="_";function j(e){const t=typeof e.baseUrl=="string"?e.baseUrl:"https://swap.cow.fi",n=S(e);return t+"/#"+n+"?"+L(e)}function S(e){const{chainId:t=1,sell:n,buy:i,tradeType:s=w.SWAP}=e,o=[(n==null?void 0:n.asset)||R,(i==null?void 0:i.asset)||R].map(encodeURIComponent).join("/");return`/${t}/widget/${s}/${o}`}function L(e){const t=new URLSearchParams;return B($(t,e),e)}function $(e,t){const{sell:n,buy:i}=t;return n!=null&&n.amount&&e.append("sellAmount",n.amount),i!=null&&i.amount&&e.append("buyAmount",i.amount),e}function B(e,t){const n=t.theme;return n?(A(n)?(e.append("palette",encodeURIComponent(JSON.stringify(n))),e.append("theme",n.baseTheme)):(e.append("palette","null"),e.append("theme",n)),e):(e.append("palette","null"),e)}const O="640px",q="450px",K=20;function Y(e,t){const{params:n,provider:i,listeners:s}=t;let o=i,c=n;const d=z(n);e.innerHTML="",e.appendChild(d);const{contentWindow:u}=d;if(!u)throw console.error("Iframe does not contain a window",d),new Error("Iframe does not contain a window!");const l=[];l.push(J(u,n.appCode)),l.push(...Z(d,n.height)),l.push(X());const _=new F(window,s);let T=g(u,null,o);d.addEventListener("load",()=>C(u,c,o));const D=new k(window,u);return{updateParams:p=>{c=p,C(u,c,o)},updateListeners:p=>_.updateListeners(p),updateProvider:p=>{o=p,T=g(u,T,p)},destroy:()=>{T.disconnect(),_.stopListeningIframe(),l.forEach(p=>window.removeEventListener("message",p)),D.stopListening(),e.removeChild(d)}}}function g(e,t,n){t&&t.disconnect();const i=t||new M(e);return n&&i.onConnect(n),i}function z(e){const{width:t=q,height:n=O}=e,i=document.createElement("iframe");return i.src=j(e),i.width=t,i.height=n,i.style.border="0",i.allow="clipboard-read; clipboard-write",i}function C(e,t,n){const i=!!n,s=S(t),o=L(t).toString(),{theme:c,...d}=t;E(e,f.UPDATE_PARAMS,{urlParams:{pathname:s,search:o},appParams:d,hasProvider:i})}function J(e,t){return h(window,a.ACTIVATE,()=>{E(e,f.UPDATE_APP_DATA,{metaData:t?{appCode:t}:void 0})})}function X(){return h(window,a.INTERCEPT_WINDOW_OPEN,({href:e,rel:t,target:n})=>{const i=e.toString();if(!i.startsWith("http")&&i.match(/^[a-zA-Z0-9]+:\/\//)){window.open(i,n,t);return}})}function Z(e,t=O){return[h(window,a.UPDATE_HEIGHT,n=>{e.style.height=n.height?`${n.height+K}px`:t}),h(window,a.SET_FULL_HEIGHT,({isUpToSmall:n})=>{e.style.height=n?t:`${document.body.offsetHeight}px`})]}const ee=Object.values(w);function te(e,t,n){if(m(e)){const i=e[n];return P(i)?i[t]:i}if(P(e)){const i=e[t];return m(i)?i[n]:i}return e}function m(e){return typeof e!="object"?!1:Object.keys(e).every(t=>ee.includes(t))}const ne=/^\d+$/;function P(e){return typeof e!="object"?!1:Object.keys(e).every(t=>typeof t=="number"||ne.test(t))}exports.TradeType=w;exports.WIDGET_PALETTE_COLORS=V;exports.WidgetMethodsEmit=a;exports.WidgetMethodsListen=f;exports.createCowSwapWidget=Y;exports.isCowSwapWidgetPalette=A;exports.isPerNetworkConfig=P;exports.isPerTradeTypeConfig=m;exports.listenToMessageFromWindow=h;exports.postMessageToWindow=E;exports.resolveFlexibleConfig=te;exports.stopListeningToMessageFromWindow=I;exports.stopListeningWindowListener=v;