gun-eth 1.4.34 → 1.4.36
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/_polyfill-node.path-9a915936.js +2 -0
- package/dist/browser/_polyfill-node.path-9a915936.js.map +1 -0
- package/dist/browser/_polyfill-node.url-0266579c.js +3 -0
- package/dist/browser/_polyfill-node.url-0266579c.js.map +1 -0
- package/dist/browser/gun-eth.min.js +9 -9
- package/dist/browser/gun-eth.min.js.map +1 -1
- package/dist/gun-eth.cjs.js +15 -5
- package/dist/gun-eth.mjs +15 -5
- package/package.json +11 -3
@@ -1,13 +1,13 @@
|
|
1
|
-
function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function e(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})})),n}function n(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 r={exports:{}};!function(t){!function(){function e(t,r){return r?n(t):t.slice?e[s(t)]:function(n,r){t(n={exports:{}}),e[s(r)]=n.exports};function s(t){return t.split("/").slice(-1).toString().replace(".js","")}}var r=t;e((function(t){String.random=function(t,e){var n="";for(t=t||24,e=e||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";t-- >0;)n+=e.charAt(Math.floor(Math.random()*e.length));return n},String.match=function(t,e){var n,r;return"string"==typeof t&&("string"==typeof e&&(e={"=":e}),t===(n=(e=e||{})["="]||e["*"]||e[">"]||e["<"])||r===e["="]&&(n=e["*"]||e[">"],t.slice(0,(n||"").length)===n||r===e["*"]&&(r!==e[">"]&&r!==e["<"]?t>=e[">"]&&t<=e["<"]:r!==e[">"]&&t>=e[">"]||r!==e["<"]&&t<=e["<"])))},String.hash=function(t,e){if("string"==typeof t){if(e=e||0,!t.length)return e;for(var n=0,r=t.length;n<r;++n)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e}};var e,n,r,s,i,o,a=Object.prototype.hasOwnProperty;Object.plain=function(t){return!!t&&(t instanceof Object&&t.constructor===Object||"Object"===Object.prototype.toString.call(t).match(/^\[object (\w+)\]$/)[1])},Object.empty=function(t,e){for(var n in t)if(a.call(t,n)&&(!e||-1==e.indexOf(n)))return!1;return!0},Object.keys=Object.keys||function(t){var e=[];for(var n in t)a.call(t,n)&&e.push(n);return e},n=setTimeout,r=0,s=0,i=typeof setImmediate!=""+e&&setImmediate||function(t,r){return typeof MessageChannel==""+e?n:((t=new MessageChannel).port1.onmessage=function(t){""==t.data&&r()},function(e){r=e,t.port2.postMessage("")})}(),o=n.check=n.check||typeof performance!=""+e&&performance||{now:function(){return+new Date}},n.hold=n.hold||9,n.poll=n.poll||function(t){n.hold>=o.now()-r&&s++<3333?t():i((function(){r=o.now(),t()}),s=0)},function(){var t,e=setTimeout,n=e.turn=e.turn||function(t){1==r.push(t)&&s(o)},r=n.s=[],s=e.poll,i=0,o=function(){(t=r[i++])&&t(),i!=r.length&&99!=i||(r=n.s=r.slice(i),i=0),r.length&&s(o)}}(),function(){var t,e=setTimeout,n=e.turn;(e.each=e.each||function(e,r,s,i){i=i||9,function o(a,c,u){if(c=(a=(e||[]).splice(0,i)).length){for(var l=0;l<c&&t===(u=r(a[l]));l++);if(t===u)return void n(o)}s&&s(u)}()})()}()}))(e,"./shim"),e((function(t){t.exports=function t(e,n,r){if(!e)return{to:t};var s="function"==typeof n;e=(this.tag||(this.tag={}))[e]||s&&(this.tag[e]={tag:e,to:t._={next:function(t){var e;(e=this.to)&&e.next(t)}}});if(s){var i={off:t.off||(t.off=function(){if(this.next===t._.next)return!0;this===this.the.last&&(this.the.last=this.back),this.to.back=this.back,this.next=t._.next,this.back.to=this.to,this.the.last===this.the&&delete this.on.tag[this.the.tag]}),to:t._,next:n,the:e,on:this,as:r};return(i.back=e.last||e).to=i,e.last=i}return(e=e.to)&&undefined!==n&&e.next(n),e}}))(e,"./onto"),e((function(t){t.exports=function(t){return null===t||"string"==typeof t||"boolean"==typeof t||"number"==typeof t&&t!=1/0&&t!=-1/0&&t==t||!!t&&"string"==typeof t["#"]&&1===Object.keys(t).length&&t["#"]}}))(e,"./valid"),e((function(t){function n(){var t=+new Date;return a<t?(i=0,a=t+n.drift):a=t+(i+=1)/o+n.drift}e("./shim"),n.drift=0;var r,s=-1/0,i=0,o=999,a=s;n.is=function(t,e,n){var r=e&&t&&t._&&t._[">"]||n;if(r)return"number"==typeof(r=r[e])?r:s},n.ify=function(t,e,n,s,i){(t=t||{})._=t._||{},i&&(t._["#"]=i);var o=t._[">"]||(t._[">"]={});return r!==e&&"_"!==e&&("number"==typeof n&&(o[e]=n),r!==s&&(t[e]=s)),t},t.exports=n}))(e,"./state"),e((function(t){e("./shim"),t.exports=function(t){var e={s:{}},n=e.s;t=t||{max:999,age:9e3},e.check=function(t){return!!n[t]&&r(t)};var r=e.track=function(s){var i=n[s]||(n[s]={});return i.was=e.now=+new Date,e.to||(e.to=setTimeout(e.drop,t.age+9)),r.ed&&r.ed(s),i};return e.drop=function(r){e.to=null,e.now=+new Date;var s=Object.keys(n);console.STAT&&console.STAT(e.now,+new Date-e.now,"dup drop keys"),setTimeout.each(s,(function(s){var i=n[s];i&&(r||t.age)>e.now-i.was||delete n[s]}),0,99)},e}}))(e,"./dup"),e((function(t){e("./onto"),t.exports=function(t,e){if(this.on){var r=(this.opt||{}).lack||9e3;if("function"!=typeof t){if(!t)return;var s=t["#"]||t,i=(this.tag||"")[s];if(!i)return;return e&&(i=this.on(s,e),clearTimeout(i.err),i.err=setTimeout((function(){i.off()}),r)),!0}s=e&&e["#"]||n(9);if(!t)return s;var o=this.on(s,t,e);return o.err=o.err||setTimeout((function(){o.off(),o.next({err:"Error: No ACK yet.",lack:!0})}),r),s}};var n=String.random||function(){return Math.random().toString(36).slice(2)}}))(e,"./ask"),e((function(t){function n(t){return t instanceof n?(this._={$:this}).$:this instanceof n?n.create(this._={$:this,opt:t}):new n(t)}n.is=function(t){return t instanceof n||t&&t._&&t===t._.$||!1},n.version=.202,n.chain=n.prototype,n.chain.toJSON=function(){},e("./shim"),n.valid=e("./valid"),n.state=e("./state"),n.on=e("./onto"),n.dup=e("./dup"),n.ask=e("./ask"),function(){function t(r){if(r)if(r.out!==t){var s,i=this.as,c=i.at||i,u=c.$,l=c.dup,h=r.DBG;if((s=r["#"])||(s=r["#"]=a(9)),!l.check(s)){if(l.track(s),s=r._,r._="function"==typeof s?s:function(){},r.$&&r.$===(r.$._||"").$||(r.$=u),r["@"]&&!r.put&&function(t){var e,n=t["@"]||"";if(!(e=n._)){var r=(r=t.$)&&(r=r._)&&(r=r.root)&&(r=r.dup);if(!(r=r.check(n)))return;return void(t["@"]=r["#"]||t["@"])}e.acks=(e.acks||0)+1,(e.err=t.err)&&(t["@"]=e["#"],o(e));e.ok=t.ok||e.ok,e.stop||e.crack||(e.crack=e.match&&e.match.push((function(){p(e)})));p(e)}(r),!c.ask(r["@"],r)){if(h&&(h.u=+new Date),r.put)return void e(r);r.get&&n.on.get(r,u)}h&&(h.uc=+new Date),this.to.next(r),h&&(h.ua=+new Date),r.nts||r.NTS||(r.out=t,c.on("out",r),h&&(h.ue=+new Date))}}else this.to.next(r)}function e(e){if(e){var n=e._||"",i=n.root=((n.$=e.$||"")._||"").root;if(e["@"]&&n.faith&&!n.miss)return e.out=t,void i.on("out",e);n.latch=i.hatch,n.match=i.hatch=[];var a=e.put,l=n.DBG=e.DBG,h=+new Date;if(d=d||h,!a["#"]||!a["."]){l&&(l.p=h),n["#"]=e["#"],n.msg=e,n.all=0,n.stun=1;var f=Object.keys(a);console.STAT&&console.STAT(h,((l||n).pk=+new Date)-h,"put sort");var p,m,w,b,v,E,k,T=0;!function t(i){if(p!=T){if(p=T,!(w=f[T]))return console.STAT&&console.STAT(h,((l||n).pd=+new Date)-h,"put"),void o(n);(b=a[w])?(k=b._)?w!==k["#"]?E=g+y(w)+"soul not same.":(v=k[">"])||(E=g+y(w)+"no state."):E=g+y(w)+"no meta.":E=g+y(w)+"no node.",m=Object.keys(b||{})}if(E)return e.err=n.err=E,void o(n);var d,N=0;for(i=i||0;i++<9&&(d=m[N++]);)if("_"!==d){var x=b[d],S=v[d];if(s===S){E=g+y(d)+"on"+y(w)+"no state.";break}if(!u(x)){E=g+y(d)+"on"+y(w)+"bad "+typeof x+y(x);break}r(x,d,w,S,e),++A}(m=m.slice(N)).length?c(t):(++T,m=null,t(i))}()}}}function r(t,e,n,s,i){var o,a=i._||"",c=a.root,u=c.graph,h=u[n]||f,p=l(h,e,1),d=h[e],g=a.DBG;(o=console.STAT)&&(u[n]&&d||(o.has=(o.has||0)+1));var y=b();if(s>y)return setTimeout((function(){r(t,e,n,s,i)}),(o=s-y)>w?w:o),void(console.STAT&&console.STAT((g||a).Hf=+new Date,o,"future"));if(!(s<p)&&(a.faith||s!==p||!(t===d||m(t)<=m(d))||a.miss)){a.stun++;var A=i["#"]+a.all++,v={toString:function(){return A},_:a};v.toJSON=v.toString,c.dup.track(v)["#"]=i["#"],g&&(g.ph=g.ph||+new Date),c.on("put",{"#":v,"@":i["@"],put:{"#":n,".":e,":":t,">":s},ok:i.ok,_:a})}}function i(t){var e;(e=(t._||"").DBG)&&(e.pa=+new Date,e.pm=e.pm||+new Date);var n,r=this.as,s=r.graph,i=t._,a=t.put,c=a["#"],u=a["."],l=a[":"],f=a[">"];t["#"],(n=i.msg)&&(n=n.put)&&(n=n[c])&&h(n,u,f,l,c),s[c]=h(s[c],u,f,l,c),(n=(r.next||"")[c])&&n.on("in",t),o(i),this.to.next(t)}function o(e,n){var r;if(!e.stop&&(e.err||!(0<--e.stun))&&(e.stop=1,r=e.root)){var s=e.match;s.end=1,s===r.hatch&&(!(s=e.latch)||s.end?delete r.hatch:r.hatch=s),e.hatch&&e.hatch(),setTimeout.each(e.match,(function(t){t&&t()})),!(n=e.msg)||e.err||n.err||(n.out=t,e.root.on("out",n),v())}}function p(t){t&&t.root&&(t.stun||t.acks!==t.all||t.root.on("in",{"@":t["#"],err:t.err,ok:t.err?s:t.ok||{"":1}}))}n.create=function(e){e.root=e.root||e,e.graph=e.graph||{},e.on=e.on||n.on,e.ask=e.ask||n.ask,e.dup=e.dup||n.dup();var r=e.$.opt(e.opt);return e.once||(e.on("in",t,e),e.on("out",t,e),e.on("put",i,e),n.on("create",e),e.on("create",e)),e.once=1,r},n.on.put=e;var d,g="Error: Invalid graph!",y=function(t){return" '"+(""+t).slice(0,9)+"...' "},m=JSON.stringify,w=2147483647,b=n.state,A=0,v=function(){A>999&&A/-(d-(d=+new Date))>1&&(n.window&&console.log("Warning: You're syncing 1K+ records a second, faster than DOM can update - consider limiting query."),v=function(){A=0})}}(),function(){function t(t,e){var n=+new Date,r=t._||{},i=r.DBG=t.DBG,o=t["#"],c=a(9),u=Object.keys(e||"").sort(),f=((e||"")._||"")["#"];u.length;var p=t.$._.root,d=e===p.graph[f];console.STAT&&console.STAT(n,((i||r).gk=+new Date)-n,"got keys"),e&&function t(){n=+new Date;for(var r,g,y,m=0,w={};m<9&&(r=u[m++]);)h(w,r,l(e,r),e[r],f);u=u.slice(m),(g={})[f]=w,w=g,d&&((y=function(){}).ram=y.faith=!0),g=u.length,console.STAT&&console.STAT(n,-(n-(n=+new Date)),"got copied some"),i&&(i.ga=+new Date),p.on("in",{"@":o,"#":c,put:w,"%":g?c=a(9):s,$:p.$,_:y,DBG:i,FOO:1}),console.STAT&&console.STAT(n,+new Date-n,"got in"),g&&setTimeout.turn(t)}(),e||p.on("in",{"@":t["#"]})}n.on.get=function(e,n){var r=n._,i=e.get,o=i["#"],a=r.graph[o],c=i["."],u=(r.next||(r.next={}))[o],f=(e._||{}).DBG=e.DBG;if(f&&(f.g=+new Date),!a)return r.on("get",e);if(c){if(("string"!=typeof c||s===a[c])&&!((u||"").next||"")[c])return void r.on("get",e);a=h({},c,l(a,c),a[c],o)}a&&t(e,a),r.on("get",e)},n.on.get.ack=t}(),n.chain.opt=function(t){t=t||{};var e=this._,r=t.peers||t;return Object.plain(t)||(t={}),Object.plain(e.opt)||(e.opt=t),"string"==typeof r&&(r=[r]),Object.plain(e.opt.peers)||(e.opt.peers={}),r instanceof Array&&(t.peers={},r.forEach((function(n){var r={};r.id=r.url=n,t.peers[n]=e.opt.peers[n]=e.opt.peers[n]||r}))),o(t,(function t(e){var n=this[e];this&&this.hasOwnProperty(e)||"string"==typeof n||Object.empty(n)?this[e]=n:(!n||n.constructor===Object||n instanceof Array)&&o(n,t)})),e.opt.from=t,n.on("opt",e),e.opt.uuid=e.opt.uuid||function(t){return n.state().toString(36).replace(".","")+String.random(t||12)},this};var s,i,o=function(t,e){Object.keys(t).forEach(e,t)},a=String.random,c=setTimeout.turn,u=n.valid,l=n.state.is,h=n.state.ify,f={};n.log=function(){return!n.log.off&&i.log.apply(i,arguments),[].slice.call(arguments).join(" ")},n.log.once=function(t,e,r){return(r=n.log.once)[t]=r[t]||0,r[t]++||n.log(e)},"undefined"!=typeof window&&((window.GUN=window.Gun=n).window=window);try{void 0!==r&&(r.exports=n)}catch(t){}t.exports=n,(n.window||{}).console=(n.window||{}).console||{log:function(){}},(i=console).only=function(t,e){return i.only.i&&t===i.only.i&&i.only.i++&&(i.log.apply(i,arguments)||e)},n.log.once("welcome","Hello wonderful person! :) Thanks for using GUN, please ask for help on http://chat.gun.eco if anything takes you longer than 5min to figure out!")}))(e,"./root"),e((function(t){e("./root").chain.back=function(t,e){if(-1===(t=t||1)||1/0===t)return this._.root.$;if(1===t)return(this._.back||this._).$;var s=this._;if("string"==typeof t&&(t=t.split(".")),t instanceof Array){for(var i=0,o=t.length,a=s;i<o;i++)a=(a||r)[t[i]];return n!==a?e?this:a:(a=s.back)?a.$.back(t,e):void 0}if("function"==typeof t){var c;for(a={back:s};(a=a.back)&&n===(c=t(a,e)););return c}return"number"==typeof t?(s.back||s).$.back(t-1):this};var n,r={}}))(e,"./back"),e((function(t){var n=e("./root");function r(t,e){if(e=e||this.as||t.$._,(!t.$$||this===n.on)&&t.put&&!e.soul){var r=t.put||"",s=r["="]||r[":"],i=e.root,o=i.$.get(r["#"]).get(r["."])._;if("string"==typeof(s=u(s))){if(!(o.echo||(o.echo={}))[e.id]||(i.pass||"")[e.id]){if(a=i.pass){if(a[s+e.id])return;a[s+e.id]=1}(o.echo||(o.echo={}))[e.id]=e,e.has&&(e.link=s);var a,c=i.$.get(o.link=s)._;(c.echo||(c.echo={}))[o.id]=o,((a=e.ask||"")[""]||e.lex)&&c.on("out",{get:{"#":s}}),setTimeout.each(Object.keys(a),(function(t,e){t&&(e=a[t])&&e.on("out",{get:{"#":s,".":t}})}),0,99)}}else this===n.on&&((o.echo||(o.echo={}))[e.id]=e)}}function s(t,e){var n,r,i=t.put||"",a=o!==i["="]?i["="]:i[":"],c=e.root;if(o===a){if(e.soul&&o!==e.put)return;if(r=(t.$$||t.$||"")._||"",t["@"]&&(o!==r.put||o!==e.put))return;return(n=e.link||t.linked)&&delete(c.$.get(n)._.echo||"")[e.id],e.has&&(e.link=null),e.put=o,void setTimeout.each(Object.keys(e.next||""),(function(t,r){(r=e.next[t])&&(n&&delete(c.$.get(n).get(t)._.echo||"")[r.id],r.on("in",{get:t,put:o,$:r.$}))}),0,99)}e.soul||t.$$||(n=u(a),r=t.$._||"",(n!==r.link&&(!e.has||r.link)||(c.pass||"")[e.id]&&"string"!=typeof n)&&(delete(r.echo||"")[e.id],s({get:e.get,put:o,$:t.$,linked:t.linked=t.linked||r.link},e)))}function i(t,e){var r=this.as,s=r.$._;s.root;var i=r.get||"",a=(t.put||"")[i["#"]]||"";if(!t.put||"string"==typeof i["."]&&o===a[i["."]]){if(o!==s.put)return;if(!s.soul&&!s.has)return;return s.ack=(s.ack||0)+1,void s.on("in",{get:s.get,put:s.put=o,$:s.$,"@":t["@"]})}(t._||{}).miss=1,n.on.put(t)}n.chain.chain=function(t){var e,r=this,s=r._,i=new(t||r).constructor(r),o=i._;return o.root=e=s.root,o.id=++e.once,o.back=r._,o.on=n.on,o.on("in",n.on.in,o),o.on("out",n.on.out,o),i},n.on.out=function(t){var e,n,r=this.as,s=r.back,a=r.root;if(t.$||(t.$=r.$),this.to.next(t),!r.err){if(e=t.get){if(a.pass&&(a.pass[r.id]=r),r.lex&&Object.keys(r.lex).forEach((function(t){n[t]=r.lex[t]}),n=t.get=t.get||{}),e["#"]||r.soul){if(e["#"]=e["#"]||r.soul,t["#"]||(t["#"]=c(9)),s=a.$.get(e["#"])._,e=e["."]){if(l(s.put,e)&&(n=s.ask&&s.ask[e],(s.ask||(s.ask={}))[e]=s.$.get(e)._,s.on("in",{get:e,put:{"#":s.soul,".":e,":":s.put[e],">":f(a.graph[s.soul],e)}}),n))return}else{if(n=s.ask&&s.ask[""],(s.ask||(s.ask={}))[""]=s,o!==s.put&&(s.on("in",s),n))return;t.$=s.$}return a.ask(i,t),a.on("in",t)}if(e["."])return r.get?(t={get:{".":r.get},$:r.$},(s.ask||(s.ask={}))[r.get]=t.$._,s.on("out",t)):(t={get:r.lex?t.get:{},$:r.$},s.on("out",t));if((r.ask||(r.ask={}))[""]=r,r.get)return e["."]=r.get,(s.ask||(s.ask={}))[r.get]=t.$._,s.on("out",t)}return s.on("out",t)}r.on("in",{put:r.put=o,$:r.$})},n.on.in=function(t,e){var n,i=(e=e||this.as).root,c=t.$||(t.$=e.$),l=(c||"")._||a,h=t.put||"",d=h["#"],g=h["."],y=o!==h["="]?h["="]:h[":"],m=h[">"]||-1/0;if(o!==t.put&&(o===h["#"]||o===h["."]||o===h[":"]&&o===h["="]||o===h[">"]))return u(h)?void e.on("in",{$:l.back.$,put:{"#":d=l.back.soul,".":g=l.has||l.get,"=":h,">":f(l.back.put,g)},via:t}):(d=((h||"")._||"")["#"])?(c=e.root.$.get(d),setTimeout.each(Object.keys(h).sort(),(function(n){"_"!=n&&o!==(m=f(h,n))&&e.on("in",{$:c,put:{"#":d,".":n,"=":h[n],">":m},VIA:t})}))):void console.log("chain not yet supported for",h,"...",t,e);(t.seen||"")[e.id]||((t.seen||(t.seen=function(){}))[e.id]=e,e!==l&&(Object.keys(t).forEach((function(e){h[e]=t[e]}),h={}),h.get=e.get||h.get,e.soul||e.has?l.soul&&(h.$=e.$,h.$$=h.$$||l.$):h.$$$=h.$$$||e.$,t=h),s(t,e),(e.soul||t.$$)&&m>=f(i.graph[d],g)&&((h=i.$.get(d)._).put=p(h.put,g,m,y,d)),!l.soul&&m>=f(i.graph[d],g)&&(n=(i.$.get(d)._.next||"")[g])&&(n.put=y,"string"==typeof(h=u(y))&&(n.put=i.$.get(h)._.put||y)),this.to&&this.to.next(t),e.any&&setTimeout.each(Object.keys(e.any),(function(n){(n=e.any[n])&&n(t)}),0,99),e.echo&&setTimeout.each(Object.keys(e.echo),(function(n){(n=e.echo[n])&&n.on("in",t)}),0,99),((t.$$||"")._||l).soul&&(n=e.next)&&(n=n[g])&&(h={},Object.keys(t).forEach((function(e){h[e]=t[e]})),h.$=(t.$$||t.$).get(h.get=g),delete h.$$,delete h.$$$,n.on("in",h)),r(t,e))},n.on.link=r,n.on.unlink=s;var o,a={},c=String.random,u=n.valid,l=function(t,e){return t&&Object.prototype.hasOwnProperty.call(t,e)},h=n.state,f=h.is,p=h.ify}))(e,"./chain"),e((function(t){var n=e("./root");function r(t){var e=this.at||this.on;if(!t||e.soul||e.has)return this.off();if(t=(t=(t=t.$||t)._||t).id){var n;if(e.map,(n=this.seen||(this.seen={}))[t])return!0;n[t]=!0}}n.chain.get=function(t,e,a){var c,u;if("string"==typeof t){if(0==t.length)return(c=this.chain())._.err={err:n.log("0 length key!",t)},e&&e.call(c,c._.err),c;(c=((h=this._).next||i)[t])||(c=t&&function(t,e){var n=e._,r=n.next,s=e.chain(),i=s._;r||(r=n.next={});r[i.get=t]=i,e===n.root.$?i.soul=t:(n.soul||n.has)&&(i.has=t);return i}(t,this)),c=c&&c.$}else{if("function"==typeof t){if(!0===e)return function(t,e,r,i){var o,a=t._,c=0;if(o=a.soul||a.link)return e(o,i,a);if(a.jam)return a.jam.push([e,i]);a.jam=[[e,i]],t.get((function(t,e){if(!(s===t.put&&!a.root.opt.super&&(o=Object.keys(a.root.opt.peers).length)&&++c<=o)){e.rid(t);var r,i=(i=t.$)&&i._||{},u=0;for(o=a.jam,delete a.jam;r=o[u++];){var l=r[0];r=r[1],l&&l(i.link||i.soul||n.valid(t.put)||((t.put||{})._||{})["#"],r,t,e)}}}),{out:{get:{".":!0}}})}(this,t,0,a),this;var l,h=(c=this)._,f=e||{},p=h.root;f.at=h,f.ok=t;var d={};function g(t,e,r){if(!g.stun&&(!(i=p.pass)||i[l])){var i,o=t.$._,a=(t.$$||"")._,c=(a||o).put,u=!o.has&&!o.soul,y={};if((u||s===c)&&(c=s===((i=t.put)||"")["="]?s===(i||"")[":"]?i:i[":"]:i["="]),"string"==typeof(i=n.valid(c))&&(c=s===(i=p.$.get(i)._.put)?f.not?s:c:i),!f.not||s!==c){if(s===f.stun){if((i=p.stun)&&i.on&&(h.$.back((function(t){if(i.on(""+t.id,y={}),(y.run||0)<g.id)return y})),!y.run&&i.on(""+o.id,y={}),!y.run&&a&&i.on(""+a.id,y={}),g.id>y.run&&(y.stun&&!y.stun.end||(y.stun=i.on("stun"),y.stun=y.stun&&y.stun.last),y.stun&&!y.stun.end)))return void((y.stun.add||(y.stun.add={}))[l]=function(){g(t,e,1)});if(s===c&&(r=0),(i=p.hatch)&&!i.end&&s===f.hatch&&!r){if(d[o.$._.id])return;return d[o.$._.id]=1,void i.push((function(){g(t,e,1)}))}d={}}if(p.pass){if(p.pass[l+o.id])return;p.pass[l+o.id]=1}f.on?f.ok.call(o.$,c,o.get,t,e||g):f.v2020?f.ok(t,e||g):(Object.keys(t).forEach((function(e){i[e]=t[e]}),i={}),(t=i).put=c,f.ok.call(f.as,t,e||g))}}}return g.at=h,(h.any||(h.any={}))[l=String.random(7)]=g,g.off=function(){g.stun=1,h.any&&delete h.any[l]},g.rid=r,g.id=f.run||++p.once,u=p.pass,(p.pass={})[l]=1,f.out=f.out||{get:{}},h.on("out",f.out),p.pass=u,c}if("number"==typeof t)return this.get(""+t,e,a);if("string"==typeof(u=o(t)))return this.get(u,e,a);(u=this.get.next)&&(c=u(this,t))}return c?(e&&"function"==typeof e&&c.get(e,a),c):((c=this.chain())._.err={err:n.log("Invalid get request!",t)},e&&e.call(c,c._.err),c)};var s,i={},o=n.valid}))(e,"./get"),e((function(t){var n=e("./root");function r(t,e){if(e){e=(e._||"").id||e;var r,s=t.root.stun||(t.root.stun={on:n.on}),i={};t.stun||(t.stun=s.on("stun",(function(){}))),(r=s.on(""+e))&&r.the.last.next(i),i.run>=t.run||s.on(""+e,(function(e){if(t.stun.end)return this.off(),void this.to.next(e);e.run=e.run||t.run,e.stun=e.stun||t.stun}))}}function s(t){if(t.err)s.end(t.stun,t.root);else if(!t.todo.length&&!t.end&&Object.empty(t.wait)){t.end=1;var e,r=t.$.back(-1)._,i=r.root,o=r.ask((function(e){i.on("ack",e),e.err&&!e.lack&&n.log(e),++a>(t.acks||0)&&this.off(),t.ack&&t.ack(e,this)}),t.opt),a=0,c=t.stun;(e=function(){c&&(s.end(c,i),setTimeout.each(Object.keys(c=c.add||""),(function(t){(t=c[t])&&t()})))}).hatch=e,t.ack&&!t.ok&&(t.ok=t.acks||9),t.via._.on("out",{put:t.out=t.graph,ok:t.ok&&{"@":t.ok+1},opt:t.opt,"#":o,_:e})}}n.chain.put=function(t,e,o){var l=this,h=l._,f=h.root;(o=o||{}).root=h.root,o.run||(o.run=f.once),r(o,h.id),o.ack=o.ack||e,o.via=o.via||l,o.data=o.data||t,o.soul||(o.soul=h.soul||"string"==typeof e&&e);var p=o.state=o.state||n.state();return"function"==typeof t?(t((function(t){o.data=t,l.put(i,i,o)})),l):o.soul?(o.$=f.$.get(o.soul),o.todo=[{it:o.data,ref:o.$}],o.turn=o.turn||a,o.ran=o.ran||s,function t(){var e,i,a,l,h,f=o.todo,d=f.pop(),g=d.it;if(d.ref&&d.ref._.id,r(o,d.ref),(l=d.todo)&&(g=g[i=l.pop()],l.length&&f.push(d)),i&&(f.path||(f.path=[])).push(i),!(e=c(g))&&!(h=n.is(g))){if(!Object.plain(g))return void s.err(o,"Invalid data: "+function(t,e){return t&&(e=t.constructor)&&e.name||typeof t}(g)+" at "+(o.via.back((function(t){t.get&&l.push(t.get)}),l=[])||l.join("."))+"."+(f.path||[]).join("."));for(var y=o.seen||(o.seen=[]),m=y.length;m--;)if(g===(l=y[m]).it){e=g=l.link;break}}if(i&&e)d.node=u(d.node,i,p,g);else{if(!o.seen)return void s.err(o,"Data at root of graph must be a node (an object).");o.seen.push(a={it:g,link:{},todo:h?[]:Object.keys(g).sort().reverse(),path:(f.path||[]).slice(),up:d}),d.node=u(d.node,i,p,a.link),!h&&a.todo.length&&f.push(a);var w=o.seen.length;function b(t,e){var n=a.link["#"];e&&(e.off(),e.rid(t));var s=n||t.soul||(l=(t.$$||t.$)._||"").soul||l.link||((l=l.put||"")._||"")["#"]||l["#"]||((l=t.put||"")&&t.$$?l["#"]:(l["="]||l[":"]||"")["#"]);!n&&r(o,t.$),s||d.link["#"]?(s||(s=[],(t.$$||t.$).back((function(t){if(l=t.soul||t.link)return s.push(l);s.push(t.get)})),s=s.reverse().join("/")),a.link["#"]=s,!h&&(((o.graph||(o.graph={}))[s]=a.node||(a.node={_:{}}))._["#"]=s),delete o.wait[w],a.wait&&setTimeout.each(a.wait,(function(t){t&&t()})),o.ran(o)):(d.wait||(d.wait=[])).push((function(){b(t,e)}))}(o.wait||(o.wait={}))[w]="",l=(a.ref=h?g:i?d.ref.get(i):d.ref)._,(l=g&&(g._||"")["#"]||l.soul||l.link)?b({soul:l}):a.ref.get(b,{run:o.run,v2020:1,out:{get:{".":" "}}})}if(!f.length)return o.ran(o);o.turn(t)}(),l):(function(t){var e,n=t.via._;t.via=t.via.back((function(n){if(n.soul||!n.get)return n.$;e=t.data,(t.data={})[n.get]=e})),t.via&&t.via._.soul||(t.via=n.root.$.get(((t.data||"")._||"")["#"]||n.$.back("opt.uuid")()));t.via.put(t.data,t.ack,t)}(o),l)},s.end=function(t,e){t.end=o,t.the.to===t&&t===t.the.last&&delete e.stun,t.off()},s.err=function(t,e){(t.ack||o).call(t,t.out={err:t.err=n.log(e)}),t.ran(t)};var i,o=function(){},a=setTimeout.turn,c=n.valid,u=n.state.ify}))(e,"./put"),e((function(t){var n=e("./root");e("./chain"),e("./back"),e("./put"),e("./get"),t.exports=n}))(e,"./index"),e((function(t){var n,r=e("./index");r.chain.on=function(t,e,n,r){var s,i=this,o=i._;if(o.root,"string"==typeof t)return e?(s=o.on(t,e,n||o,r),n&&n.$&&(n.subs||(n.subs=[])).push(s),i):o.on(t);var a=e;return(a=!0===a?{change:!0}:a||{}).not=1,a.on=1,i.get(t,a),i},r.chain.once=function(t,e){if(e=e||{},!t)return function(t,e,n){return r.log.once("valonce","Chainable val is experimental, its behavior and API may change moving forward. Please play with it and report bugs and ideas on how to improve it."),(n=t.chain())._.nix=t.once((function(t,e){n._.on("in",this._)})),n._.lex=t._.lex,n}(this);var s=this,i=s._,o=i.root;i.put;var a,c=String.random(7);return s.get((function(s,u,l,h){var f=this,p=f._,d=p.one||(p.one={});function g(y){p.has||p.soul||(p={put:s,get:u}),n===(a=p.put)&&(a=((l.$$||"")._||"").put),"string"!=typeof r.valid(a)||(a=o.$.get(a)._.put)!==n||y?h.stun||""!==d[c]&&(d[c]="",(i.soul||i.has)&&h.off(),t.call(f,a,p.get),clearTimeout(d[c])):d[c]=setTimeout((function(){g(1)}),e.wait||99)}h.stun||""!==d[c]&&(!0!==(a=r.valid(s))?"string"!=typeof a&&(clearTimeout((i.one||"")[c]),clearTimeout(d[c]),d[c]=setTimeout(g,e.wait||99)):g())}),{on:1}),s},r.chain.off=function(){var t,e=this._,n=e.back;if(n)return e.ack=0,(t=n.next)&&t[e.get]&&delete t[e.get],(t=n.any)&&(delete n.any,n.any={}),(t=n.ask)&&delete t[e.get],(t=n.put)&&delete t[e.get],(t=e.soul)&&delete n.root.graph[t],(t=e.map)&&Object.keys(t).forEach((function(e,r){(r=t[e]).link&&n.root.$.get(r.link).off()})),(t=e.next)&&Object.keys(t).forEach((function(e,n){t[e].$.off()})),e.on("off",{}),this}}))(e,"./on"),e((function(t){var n=e("./index"),r=n.chain.get.next;function s(t){this.to.next(t);var e,r=this.as,s=t.$._,i=t.put;(s.soul||t.$$)&&((e=r.lex)&&!String.match(t.get||(i||"")["."],e["."]||e["#"]||e)||n.on.link(t,r))}n.chain.get.next=function(t,e){var n;return Object.plain(e)?(n=((n=e["#"])||"")["="]||n)?t.get(n):((n=t.chain()._).lex=e,t.on("in",(function(t){String.match(t.get||(t.put||"")["."],e["."]||e["#"]||e)&&n.on("in",t),this.to.next(t)})),n.$):(r||o)(t,e)},n.chain.map=function(t,e,r){var a,c,u=this,l=u._;return Object.plain(t)&&(a=t["."]?t:{".":t},t=i),t?(n.log.once("mapfn","Map functions are experimental, their behavior and API may change moving forward. Please play with it and report bugs and ideas on how to improve it."),c=u.chain(),u.map().on((function(e,r,s,a){var u=(t||o).call(this,e,r,s,a);if(i!==u){if(e===u)return c._.on("in",s);if(n.is(u))return c._.on("in",u._);var l={};Object.keys(s.put).forEach((function(t){l[t]=s.put[t]}),l),l["="]=u,c._.on("in",{get:r,put:l})}})),c):((c=l.each)||((l.each=c=u.chain())._.lex=a||c._.lex||l.lex,c._.nix=u.back("nix"),u.on("in",s,c._)),c)};var i,o=function(){}}))(e,"./map"),e((function(t){var n=e("./index");n.chain.set=function(t,e,r){var s,i,o=this,a=o.back(-1);return e=e||function(){},(r=r||{}).item=r.item||t,(s=((t||"")._||"")["#"])&&((t={})["#"]=s),"string"==typeof(i=n.valid(t))?o.get(s=i).put(t,e,r):n.is(t)?(o.put((function(r){t.get((function(t,s,a){if(!t)return e.call(o,{err:n.log('Only a node can be linked! Not "'+a.put+'"!')});(i={})[t]={"#":t},r(i)}),!0)})),t):(Object.plain(t)&&(t=a.get(s=o.back("opt.uuid")()).put(t)),o.get(s||a.back("opt.uuid")(7)).put(t,e,r))}}))(e,"./set"),e((function(t){e("./shim");var n,r=function(){},s=JSON.parseAsync||function(t,e,n){var r=+new Date;try{e(undefined,JSON.parse(t,n),i.sucks(+new Date-r))}catch(t){e(t)}},i=JSON.stringifyAsync||function(t,e,n,r){var s=+new Date;try{e(undefined,JSON.stringify(t,n,r),i.sucks(+new Date-s))}catch(t){e(t)}};i.sucks=function(t){t>99&&(console.log("Warning: JSON blocking CPU detected. Add `gun/lib/yson.js` to fix."),i.sucks=r)};try{t.exports=function(t){var e=function(){},r=t.opt||{};r.log=r.log||console.log,r.gap=r.gap||r.wait||0,r.max=r.max||.3*(r.memory?999*r.memory*999:3e8),r.pack=r.pack||.01*r.max*.01,r.puff=r.puff||9;var o=setTimeout.turn||setTimeout,a=t.dup,c=a.check,u=a.track,l=e.hear=function(t,n){if(t){if(r.max<=t.length)return e.say({dam:"!",err:"Message too big!"},n);e===this&&(l.d+=t.length||0,++l.c);var i,a=n.SH=+new Date,c=t[0];return"["===c?(s(t,(function(t,s){if(t||!s)return e.say({dam:"!",err:"DAM JSON parse error."},n);console.STAT&&console.STAT(+new Date,s.length,"# on hear batch");var i=r.puff;!function t(){for(var r,a=+new Date,c=0;c<i&&(r=s[c++]);)e.hear(r,n);s=s.slice(c),console.STAT&&console.STAT(a,+new Date-a,"hear loop"),h(n),s.length&&o(t,0)}()})),void(t="")):"{"===c||(t["#"]||Object.plain(t))&&(i=t)?i?l.one(i,n,a):void s(t,(function(t,r){if(t||!r)return e.say({dam:"!",err:"DAM JSON parse error."},n);l.one(r,n,a)})):void 0}};function h(t){var e=t.batch,n="string"==typeof e;if(n&&(e+="]"),t.batch=t.tail=null,e&&!(n?3>e.length:!e.length)){if(!n)try{e=1===e.length?e[0]:JSON.stringify(e)}catch(t){return r.log("DAM JSON stringify error",t)}e&&f(e,t)}}function f(t,n){try{var r=n.wire;n.say?n.say(t):r.send&&r.send(t),e.say.d+=t.length||0,++e.say.c}catch(e){(n.queue=n.queue||[]).push(t)}}return l.one=function(n,r,s){var i,o,l,h,f;if(n.DBG&&(n.DBG=f={DBG:n.DBG}),f&&(f.h=s),f&&(f.hp=+new Date),(i=n["#"])||(i=n["#"]=String.random(9)),!((l=c(i))||(o=n["##"])&&(l=n["@"]||n.get&&i)&&a.check(h=l+o))){if((n._=function(){}).via=e.leap=r,(l=n["><"])&&"string"==typeof l&&l.slice(0,99).split(",").forEach((function(t){this[t]=1}),n._.yo={}),l=n.dam)return(l=e.hear[l])&&l(n,r,t),void u(i);(l=n.ok)&&(n._.near=l["/"]),s=+new Date,f&&(f.is=s),r.SI=i,u.ed=function(t){i===t&&(u.ed=0,(t=a.s[i])&&(t.via=r,n.get&&(t.it=n)))},t.on("in",e.last=n),f&&(f.hd=+new Date),console.STAT&&console.STAT(s,+new Date-s,n.get?"msg get":n.put?"msg put":"msg"),u(i),h&&u(h),e.leap=e.last=null}},l.c=l.d=0,function(){var t,s=0;function l(t,e){var n;return e instanceof Object?(Object.keys(e).sort().forEach(p,{to:n={},on:e}),n):e}function p(t){this.to[t]=this.on[t]}e.hash=function(t,n){var r,s,a,c=+new Date;i(t.put,(function i(u,l){var h=(s||(s=a=l||"")).slice(0,32768);r=String.hash(h,r),(s=s.slice(32768))?o(i,0):(console.STAT&&console.STAT(c,+new Date-c,"say json+hash"),t._.$put=a,t["##"]=r,e.say(t,n),delete t._.$put)}),l)},e.say=function(i,c){var l;if((l=this)&&(l=l.to)&&l.next&&l.next(i),!i)return!1;var p,d,g,y=i["@"],m=i._||(i._=function(){}),w=i.DBG,b=+new Date;if(m.y=m.y||b,c||w&&(w.y=b),(p=i["#"])||(p=i["#"]=String.random(9)),!t&&u(p),(d=i["##"])||n===i.put||m.via||!y){if(!c&&y&&(c=(l=a.s[y])&&(l.via||(l=l.it)&&(l=l._)&&l.via)||(l=e.last)&&y===l["#"]&&e.leap),!c&&y){if(a.s[y])return;return console.STAT&&console.STAT(+new Date,++s,"total no peer to ack to"),!1}if(y&&!i.put&&!d&&((a.s[y]||"").it||"")["##"])return!1;if(!c&&e.way)return e.way(i);if(w&&(w.yh=+new Date),g=m.raw){if(w&&(w.yr=+new Date),!c||!c.id){if(!Object.plain(c||r.peers))return!1;b=+new Date,r.puff;var A=r.peers,v=Object.keys(c||r.peers||{});return console.STAT&&console.STAT(b,+new Date-b,"peer keys"),void function n(){var r=+new Date;t=1;var s=m.raw;m.raw=g;for(var a,l=0;l<9&&(a=(v||"")[l++]);)(a=A[a]||(c||"")[a])&&e.say(i,a);m.raw=s,t=0,v=v.slice(l),console.STAT&&console.STAT(r,+new Date-r,"say loop"),v.length&&(o(n,0),y&&u(y))}()}if(!c.wire&&e.wire&&e.wire(c),p!==c.last){if(c.last=p,c===m.via)return!1;if((l=m.yo)&&(l[c.url]||l[c.pid]||l[c.id]))return!1;if(console.STAT&&console.STAT(b,((w||m).yp=+new Date)-(m.y||b),"say prep"),!t&&y&&u(y),c.batch){if(c.tail=(l=c.tail||0)+g.length,c.tail<=r.pack)return void(c.batch+=(l?",":"")+g);h(c)}c.batch="[";var E=+new Date;setTimeout((function(){console.STAT&&console.STAT(E,+new Date-E,"0ms TO"),h(c)}),r.gap),f(g,c),console.STAT&&y===c.SI&&console.STAT(b,+new Date-c.SH,"say ack")}}else e.raw(i,c)}else e.hash(i,c)},e.say.c=e.say.d=0,e.raw=function(t,s){if(!t)return"";var o,u,l=t._||{};if(u=l.raw)return u;if("string"==typeof t)return t;var h=t["##"],f=t["@"];if(h&&f){if(!l.via&&c(f+h))return!1;if(u=(a.s[f]||"").it){if(h===u["##"])return!1;u["##"]||(u["##"]=h)}}if(!t.dam&&!t["@"]){var p=0,d=[];for(var g in u=r.peers){var y=u[g];if(d.push(y.url||y.pid||y.id),++p>6)break}p>1&&(t["><"]=d.join())}if(t.put&&(u=t.ok)&&(t.ok={"@":(u["@"]||1)-1,"/":u["/"]==t._.near?e.near:u["/"]}),o=l.$put)return u={},Object.keys(t).forEach((function(e){u[e]=t[e]})),u.put=":])([:",void i(u,(function(t,e){if(!t){var r=+new Date;u=e.indexOf('"put":":])([:"'),m(n,e=e.slice(0,u+6)+o+e.slice(u+14)),console.STAT&&console.STAT(r,+new Date-r,"say slice")}}));function m(n,r){n||(l.raw=r,e.say(t,s))}i(t,m)}}(),e.near=0,e.hi=function(n){var s;n.wire?(n.id?r.peers[n.url||n.id]=n:(s=n.id=n.id||n.url||String.random(9),e.say({dam:"?",pid:t.opt.pid},r.peers[s]=n),delete a.s[n.last]),n.met||(e.near++,n.met=+new Date,t.on("hi",n)),s=n.queue,n.queue=[],setTimeout.each(s||[],(function(t){f(t,n)}),0,9)):e.wire(n.length&&{url:n,id:n}||n)},e.bye=function(n){n.met&&--e.near,delete n.met,t.on("bye",n);var r=+new Date;r-=n.met||r,e.bye.time=((e.bye.time||r)+r)/2},e.hear["!"]=function(t,e){r.log("Error:",t.err)},e.hear["?"]=function(t,n){t.pid&&(n.pid||(n.pid=t.pid),t["@"])||(e.say({dam:"?",pid:r.pid,"@":t["#"]},n),delete a.s[n.last])},e.hear.mob=function(t,n){if(t.peers){var r=Object.keys(t.peers),s=r[Math.random()*r.length|0];s&&(e.bye(n),e.hi(s))}},t.on("create",(function(t){t.opt.pid=t.opt.pid||String.random(9),this.to.next(t),t.on("out",e.say)})),t.on("bye",(function(t,e){t=r.peers[t.id||t]||t,this.to.next(t),t.bye?t.bye():(e=t.wire)&&e.close&&e.close(),delete r.peers[t.id],t.wire=null})),t.on("bye",(function(t,n){this.to.next(t),(n=console.STAT)&&(n.peers=e.near),(n=t.url)&&setTimeout((function(){}),r.lack||9e3)})),t.on("hi",(function(n,s){if(this.to.next(n),(s=console.STAT)&&(s.peers=e.near),!r.super){var i=Object.keys(t.next||"");i.length>9999&&!console.SUBS&&console.log(console.SUBS="Warning: You have more than 10K live GETs, which might use more bandwidth than your screen can show - consider `.off()`."),setTimeout.each(i,(function(s){var i=t.next[s];r.super||(i.ask||"")[""]?e.say({get:{"#":s}},n):setTimeout.each(Object.keys(i.ask||""),(function(r){r&&e.say({"##":String.hash((t.graph[s]||"")[r]),get:{"#":s,".":r}},n)}))}))}})),e}}catch(t){}}))(e,"./mesh"),e((function(t){var n=e("./index");n.Mesh=e("./mesh"),n.on("opt",(function(t){if(this.to.next(t),!t.once){var e=t.opt;if(!1!==e.WebSocket){var r=n.window||{},s=e.WebSocket||r.WebSocket||r.webkitWebSocket||r.mozWebSocket;if(s){e.WebSocket=s;var i=e.mesh=e.mesh||n.Mesh(t);i.wire||e.wire,i.wire=e.wire=c,setTimeout((function(){!e.super&&t.on("out",{dam:"hi"})}),1);var o=1998,a=""+undefined!=typeof document&&document}}}function c(t){try{if(!t||!t.url)return r&&r(t);var n=t.url.replace(/^http/,"ws"),r=t.wire=new e.WebSocket(n);return r.onclose=function(){u(t),e.mesh.bye(t)},r.onerror=function(e){u(t)},r.onopen=function(){e.mesh.hi(t)},r.onmessage=function(n){n&&e.mesh.hear(n.data||n,t)},r}catch(n){e.mesh.bye(t)}}function u(t){clearTimeout(t.defer),e.peers[t.url]&&(a&&t.retry<=0||(t.retry=(t.retry||e.retry+1||60)-(-t.tried+(t.tried=+new Date)<4*o?1:0),t.defer=setTimeout((function e(){if(a&&a.hidden)return setTimeout(e,o);c(t)}),o)))}}))}))(e,"./websocket"),e((function(t){if("undefined"!=typeof Gun){var e;try{e=(Gun.window||function(){}).localStorage}catch(t){}e||(Gun.log("Warning: No localStorage exists to persist data to!"),e={setItem:function(t,e){this[t]=e},removeItem:function(t){delete this[t]},getItem:function(t){return this[t]}});var n=JSON.stringifyAsync||function(t,e,n,r){try{e(undefined,JSON.stringify(t,n,r))}catch(t){e(t)}};Gun.on("create",(function t(r){this.to.next(r);var s=r.opt;r.graph;var i,o,a,c,u=[];if(!1!==s.localStorage){s.prefix=s.file||"gun/";try{i=t[s.prefix]=t[s.prefix]||JSON.parse(a=e.getItem(s.prefix))||{}}catch(e){i=t[s.prefix]={}}a=(a||"").length,r.on("get",(function(t){this.to.next(t);var e,n,r,s=t.get;s&&(e=s["#"])&&((n=i[e]||undefined)&&(r=s["."])&&!Object.plain(r)&&(n=Gun.state.ify({},r,Gun.state.is(n,r),n[r],e)),Gun.on.get.ack(t,n))})),r.on("put",(function(t){this.to.next(t);var e=t.put,n=e["#"],s=e["."],h=t["#"],f=t.ok||"";i[n]=Gun.state.ify(i[n],s,e[">"],e[":"],n),c&&a>4999880?r.on("in",{"@":h,err:"localStorage max!"}):(t["@"]||t._.via&&!(Math.random()<f["@"]/f["/"])||u.push(h),o||(o=setTimeout(l,9+a/333)))}))}function l(){if(u.length||!((setTimeout.turn||"").s||"").length){var t=u;clearTimeout(o),o=!1,u=[],n(i,(function(n,o){try{!n&&e.setItem(s.prefix,o)}catch(t){n=c=t||"localStorage failure"}n&&(Gun.log(n+" Consider using GUN's IndexedDB plugin for RAD for more storage space, https://gun.eco/docs/RAD#install"),r.on("localStorage:error",{err:n,get:s.prefix,put:i})),a=o.length,setTimeout.each(t,(function(t){r.on("in",{"@":t,err:n,ok:0})}),0,99)}))}else setTimeout(l,99)}}))}}))(e,"./localStorage")}(),function(){if(""+E!=typeof Gun){var t=function(t){console.warn("Warning! Deprecated internal utility will break in next version:",t)},e=Gun;e.fn=e.fn||{is:function(e){return t("fn"),!!e&&"function"==typeof e}},e.bi=e.bi||{is:function(e){return t("bi"),e instanceof Boolean||"boolean"==typeof e}},e.num=e.num||{is:function(e){return t("num"),!r(e)&&(e-parseFloat(e)+1>=0||1/0===e||-1/0===e)}},e.text=e.text||{is:function(e){return t("text"),"string"==typeof e}},e.text.ify=e.text.ify||function(n){return t("text.ify"),e.text.is(n)?n:"undefined"!=typeof JSON?JSON.stringify(n):n&&n.toString?n.toString():n},e.text.random=e.text.random||function(e,n){t("text.random");var r="";for(e=e||24,n=n||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";e>0;)r+=n.charAt(Math.floor(Math.random()*n.length)),e--;return r},e.text.match=e.text.match||function(e,n){var r,s;return t("text.match"),"string"==typeof e&&("string"==typeof n&&(n={"=":n}),e===(r=(n=n||{})["="]||n["*"]||n[">"]||n["<"])||s===n["="]&&(r=n["*"]||n[">"]||n["<"],e.slice(0,(r||"").length)===r||s===n["*"]&&(s!==n[">"]&&s!==n["<"]?e>=n[">"]&&e<=n["<"]:s!==n[">"]&&e>=n[">"]||s!==n["<"]&&e<=n["<"])))},e.text.hash=e.text.hash||function(e,n){if(t("text.hash"),"string"==typeof e){if(n=n||0,!e.length)return n;for(var r=0,s=e.length;r<s;++r)n=(n<<5)-n+e.charCodeAt(r),n|=0;return n}},e.list=e.list||{is:function(e){return t("list"),e instanceof Array}},e.list.slit=e.list.slit||Array.prototype.slice,e.list.sort=e.list.sort||function(e){return t("list.sort"),function(t,n){return t&&n?(t=t[e])<(n=n[e])?-1:t>n?1:0:0}},e.list.map=e.list.map||function(e,n,r){return t("list.map"),o(e,n,r)},e.list.index=1,e.obj=e.boj||{is:function(e){return t("obj"),!!e&&(e instanceof Object&&e.constructor===Object||"Object"===Object.prototype.toString.call(e).match(/^\[object (\w+)\]$/)[1])}},e.obj.put=e.obj.put||function(e,n,r){return t("obj.put"),(e||{})[n]=r,e},e.obj.has=e.obj.has||function(e,n){return t("obj.has"),e&&Object.prototype.hasOwnProperty.call(e,n)},e.obj.del=e.obj.del||function(e,n){if(t("obj.del"),e)return e[n]=null,delete e[n],e},e.obj.as=e.obj.as||function(e,n,r,s){return t("obj.as"),e[n]=e[n]||(s===r?{}:r)},e.obj.ify=e.obj.ify||function(e){if(t("obj.ify"),s(e))return e;try{e=JSON.parse(e)}catch(t){e={}}return e},function(){function n(t,e){i(this,e)&&undefined!==this[e]||(this[e]=t)}e.obj.to=e.obj.to||function(e,r){return t("obj.to"),o(e,n,r=r||{}),r}}(),e.obj.copy=e.obj.copy||function(e){return t("obj.copy"),e?JSON.parse(JSON.stringify(e)):e},function(){function n(t,e){var n=this.n;if(!n||!(e===n||s(n)&&i(n,e)))return undefined!==e||void 0}e.obj.empty=e.obj.empty||function(e,r){return t("obj.empty"),!e||!o(e,n,{n:r})}}(),function(){function n(t,e){if(2===arguments.length)return n.r=n.r||{},void(n.r[t]=e);n.r=n.r||[],n.r.push(t)}var o,a=Object.keys;Object.keys=Object.keys||function(t){return o(t,(function(t,e,n){n(e)}))},e.obj.map=o=e.obj.map||function(o,c,u){t("obj.map");var l,h,f,p,d,g=0,y="function"==typeof c;if(n.r=l,a&&s(o)&&(p=a(o),d=!0),u=u||{},r(o)||p)for(h=(p||o).length;g<h;g++){var m=g+e.list.index;if(y){if((f=d?c.call(u,o[p[g]],p[g],n):c.call(u,o[g],m,n))!==l)return f}else if(c===o[d?p[g]:g])return p?p[g]:m}else for(g in o)if(y){if(i(o,g)&&(f=u?c.call(u,o[g],g,n):c(o[g],g,n))!==l)return f}else if(c===o[g])return g;return y?n.r:e.list.index?0:-1}}(),e.time=e.time||{},e.time.is=e.time.is||function(e){return t("time"),e?e instanceof Date:+(new Date).getTime()};var n=e.fn.is,r=e.list.is,s=(v=e.obj).is,i=v.has,o=v.map,a={is:function(e){return t("val.is"),e!==E&&(null===e||e!==1/0&&(!!(h(e)||u(e)||l(e))||(a.link.is(e)||!1)))}};a.link=a.rel={_:"#"},function(){function e(t,e){var n=this;return n.id?n.id=!1:e==c&&h(t)?void(n.id=t):n.id=!1}a.link.is=function(n){if(t("val.link.is"),n&&n[c]&&!n._&&s(n)){var r={};if(o(n,e,r),r.id)return r.id}return!1}}(),a.link.ify=function(e){return t("val.link.ify"),f({},c,e)},e.obj.has._=".";var c=a.link._,u=e.bi.is,l=e.num.is,h=e.text.is,f=(s=(v=e.obj).is,v.put);o=v.map;e.val=e.val||a;var p={_:"_",soul:function(e,n){return t("node.soul"),e&&e._&&e._[n||y]}};p.soul.ify=function(e,n){return t("node.soul.ify"),n="string"==typeof n?{soul:n}:n||{},(e=e||{})._=e._||{},e._[y]=n.soul||e._[y]||g(),e},p.soul._=a.link._,function(){function e(t,e){if(e!==p._)return!a.is(t)||void(this.cb&&this.cb.call(this.as,t,e,this.n,this.s))}p.is=function(n,r,i){var a;return t("node.is"),!!s(n)&&(!!(a=p.soul(n))&&!o(n,e,{as:i,cb:r,s:a,n:n}))}}(),function(){function e(t,e){var n,r=this.o;r.map?undefined===(n=r.map.call(this.as,t,""+e,r.node))?d(r.node,e):r.node&&(r.node[e]=n):a.is(t)&&(r.node[e]=t)}p.ify=function(n,r,s){return t("node.ify"),r?"string"==typeof r?r={soul:r}:"function"==typeof r&&(r={map:r}):r={},r.map&&(r.node=r.map.call(s,n,E,r.node||{})),(r.node=p.soul.ify(r.node||{},r))&&o(n,e,{o:r,as:s}),r.node}}();s=(v=e.obj).is;var d=v.del,g=(o=v.map,e.text.random),y=p.soul._;e.node=e.node||p;var m=e.state;m.lex=function(){return t("state.lex"),m().toString(36).replace(".","")},m.to=function(e,n,r){t("state.to");var i=(e||{})[n];return s(i)&&(i=w(i)),m.ify(r,n,m.is(e,n),i,p.soul(e))},function(){function e(t,e){b!==e&&m.ify(this.o,e,this.s)}m.map=function(r,a,c){var u;t("state.map");var h=s(h=r||a)?h:null;return r=n(r=r||a)?r:null,h&&!r?(a=l(a)?a:m(),h[b]=h[b]||{},o(h,e,{o:h,s:a}),h):(c=c||s(a)?a:u,a=l(a)?a:m(),function(t,n,s,o){if(!r)return e.call({o:s,s:a},t,n),t;r.call(c||this||{},t,n,s,o),i(s,n)&&u===s[n]||e.call({o:s,s:a},t,n)})}}(),(v=e.obj).as;i=v.has,s=v.is,o=v.map;var w=v.copy,b=(l=e.num.is,n=e.fn.is,p._),A={};!function(){function e(t,e){if(!t||e!==p.soul(t)||!p.is(t,this.fn,this.as))return!0;this.cb&&(n.n=t,n.as=this.as,this.cb.call(n.as,t,e,n))}function n(t){t&&p.is(n.n,t,n.as)}A.is=function(n,r,i,a){return t("graph.is"),!(!n||!s(n)||k(n))&&!o(n,e,{cb:r,fn:i,as:a})}}(),function(){function n(t,e){var n;return(n=function(t,e){var n,r=t.seen,s=r.length;for(;s--;)if(n=r[s],e.obj===n.obj)return n;r.push(e)}(t,e))?n:(e.env=t,e.soul=o,p.ify(e.obj,r,e)&&(e.link=e.link||a.link.ify(p.soul(e.node)),e.obj!==t.shell&&(t.graph[a.link.is(e.link)]=e.node)),e)}function r(t,e,r){var s,o,u=this,l=u.env;if(p._===e&&i(t,a.link._))return r._;if(s=c(t,e,r,u,l)){if(e||(u.node=u.node||r||{},i(t,p._)&&p.soul(t)&&(u.node._=w(t._)),u.node=p.soul.ify(u.node,a.link.is(u.link)),u.link=u.link||a.link.ify(p.soul(u.node))),(o=l.map)&&(o.call(l.as||{},t,e,r,u),i(r,e))){if(t=r[e],E===t)return void d(r,e);if(!(s=c(t,e,r,u,l)))return}if(!e)return u.node;if(!0===s)return t;if((o=n(l,{obj:t,path:u.path.concat(e)})).node)return o.link}}function o(t){var e=this,n=a.link.is(e.link),r=e.env.graph;e.link=e.link||a.link.ify(t),e.link[a.link._]=t,e.node&&e.node[p._]&&(e.node[p._][a.link._]=t),i(r,n)&&(r[t]=r[n],d(r,n))}function c(t,n,r,i,o){var u;return!!a.is(t)||(s(t)?1:(u=o.invalid)?c(t=u.call(o.as||{},t,n,r),n,r,i,o):(o.err="Invalid value at '"+i.path.concat(n).join(".")+"'!",void(e.list.is(t)&&(o.err+=" Use `.set(item)` instead of an Array."))))}A.ify=function(e,r,s){t("graph.ify");var i={path:[],obj:e};return r?"string"==typeof r?r={soul:r}:"function"==typeof r&&(r.map=r):r={},"string"==typeof s&&(r.soul=r.soul||s,s=E),r.soul&&(i.link=a.link.ify(r.soul)),r.shell=(s||{}).shell,r.graph=r.graph||{},r.seen=r.seen||[],r.as=r.as||s,n(r,i),r.root=i.node,r.graph}}(),A.node=function(e){t("graph.node");var n=p.soul(e);if(n)return f({},n,e)},function(){function e(t,e){var n,r;if(p._!==e)(n=a.link.is(t))?(r=this.opt.seen[n])?this.obj[e]=r:this.obj[e]=this.opt.seen[n]=A.to(this.graph,n,this.opt):this.obj[e]=t;else{if(k(t,a.link._))return;this.obj[e]=w(t)}}A.to=function(n,r,s){if(t("graph.to"),n){var i={};return s=s||{seen:{}},o(n[r],e,{obj:i,graph:n,opt:s}),i}}}();n=e.fn.is,s=(v=e.obj).is,d=v.del,i=v.has;var v,E,k=v.empty;f=v.put,o=v.map,w=v.copy;e.graph=e.graph||A}}()}(r);var s=t(r.exports);const i="6.13.4";function o(t,e,n){const r=e.split("|").map((t=>t.trim()));for(let n=0;n<r.length;n++)switch(e){case"any":return;case"bigint":case"boolean":case"number":case"string":if(typeof t===e)return}const s=new Error(`invalid value for type ${e}`);throw s.code="INVALID_ARGUMENT",s.argument=`value.${n}`,s.value=t,s}async function a(t){const e=Object.keys(t);return(await Promise.all(e.map((e=>Promise.resolve(t[e]))))).reduce(((t,n,r)=>(t[e[r]]=n,t)),{})}function c(t,e,n){for(let r in e){let s=e[r];const i=n?n[r]:null;i&&o(s,i,r),Object.defineProperty(t,r,{enumerable:!0,value:s,writable:!1})}}function u(t){if(null==t)return"null";if(Array.isArray(t))return"[ "+t.map(u).join(", ")+" ]";if(t instanceof Uint8Array){const e="0123456789abcdef";let n="0x";for(let r=0;r<t.length;r++)n+=e[t[r]>>4],n+=e[15&t[r]];return n}if("object"==typeof t&&"function"==typeof t.toJSON)return u(t.toJSON());switch(typeof t){case"boolean":case"symbol":case"number":return t.toString();case"bigint":return BigInt(t).toString();case"string":return JSON.stringify(t);case"object":{const e=Object.keys(t);return e.sort(),"{ "+e.map((e=>`${u(e)}: ${u(t[e])}`)).join(", ")+" }"}}return"[ COULD NOT SERIALIZE ]"}function l(t,e){return t&&t.code===e}function h(t){return l(t,"CALL_EXCEPTION")}function f(t,e,n){let r,s=t;{const r=[];if(n){if("message"in n||"code"in n||"name"in n)throw new Error(`value will overwrite populated values: ${u(n)}`);for(const t in n){if("shortMessage"===t)continue;const e=n[t];r.push(t+"="+u(e))}}r.push(`code=${e}`),r.push(`version=${i}`),r.length&&(t+=" ("+r.join(", ")+")")}switch(e){case"INVALID_ARGUMENT":r=new TypeError(t);break;case"NUMERIC_FAULT":case"BUFFER_OVERRUN":r=new RangeError(t);break;default:r=new Error(t)}return c(r,{code:e}),n&&Object.assign(r,n),null==r.shortMessage&&c(r,{shortMessage:s}),r}function p(t,e,n,r){if(!t)throw f(e,n,r)}function d(t,e,n,r){p(t,e,"INVALID_ARGUMENT",{argument:n,value:r})}function g(t,e,n){null==n&&(n=""),n&&(n=": "+n),p(t>=e,"missing arguemnt"+n,"MISSING_ARGUMENT",{count:t,expectedCount:e}),p(t<=e,"too many arguments"+n,"UNEXPECTED_ARGUMENT",{count:t,expectedCount:e})}const y=["NFD","NFC","NFKD","NFKC"].reduce(((t,e)=>{try{if("test"!=="test".normalize(e))throw new Error("bad");if("NFD"===e){const t=String.fromCharCode(233).normalize("NFD");if(t!==String.fromCharCode(101,769))throw new Error("broken")}t.push(e)}catch(t){}return t}),[]);function m(t){p(y.indexOf(t)>=0,"platform missing String.prototype.normalize","UNSUPPORTED_OPERATION",{operation:"String.prototype.normalize",info:{form:t}})}function w(t,e,n){if(null==n&&(n=""),t!==e){let t=n,e="new";n&&(t+=".",e+=" "+n),p(!1,`private constructor; use ${t}from* methods`,"UNSUPPORTED_OPERATION",{operation:e})}}function b(t,e,n){if(t instanceof Uint8Array)return n?new Uint8Array(t):t;if("string"==typeof t&&t.match(/^0x(?:[0-9a-f][0-9a-f])*$/i)){const e=new Uint8Array((t.length-2)/2);let n=2;for(let r=0;r<e.length;r++)e[r]=parseInt(t.substring(n,n+2),16),n+=2;return e}d(!1,"invalid BytesLike value",e||"value",t)}function A(t,e){return b(t,e,!1)}function v(t,e){return b(t,e,!0)}function E(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))&&(("number"!=typeof e||t.length===2+2*e)&&(!0!==e||t.length%2==0))}function k(t){return E(t,!0)||t instanceof Uint8Array}const T="0123456789abcdef";function N(t){const e=A(t);let n="0x";for(let t=0;t<e.length;t++){const r=e[t];n+=T[(240&r)>>4]+T[15&r]}return n}function x(t){return"0x"+t.map((t=>N(t).substring(2))).join("")}function S(t){return E(t,!0)?(t.length-2)/2:A(t).length}function O(t,e,n){const r=A(t);return null!=n&&n>r.length&&p(!1,"cannot slice beyond data bounds","BUFFER_OVERRUN",{buffer:r,length:r.length,offset:n}),N(r.slice(null==e?0:e,null==n?r.length:n))}function P(t,e,n){const r=A(t);p(e>=r.length,"padding exceeds data length","BUFFER_OVERRUN",{buffer:new Uint8Array(r),length:e,offset:e+1});const s=new Uint8Array(e);return s.fill(0),n?s.set(r,e-r.length):s.set(r,0),N(s)}function R(t,e){return P(t,e,!0)}const I=BigInt(0),C=BigInt(1),B=9007199254740991;function D(t,e){let n=L(t,"value");const r=BigInt(G(e,"width")),s=C<<r-C;if(n<I){n=-n,p(n<=s,"too low","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:t});return(~n&(C<<r)-C)+C}return p(n<s,"too high","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:t}),n}function U(t,e){const n=F(t,"value"),r=BigInt(G(e,"bits"));return n&(C<<r)-C}function L(t,e){switch(typeof t){case"bigint":return t;case"number":return d(Number.isInteger(t),"underflow",e||"value",t),d(t>=-B&&t<=B,"overflow",e||"value",t),BigInt(t);case"string":try{if(""===t)throw new Error("empty string");return"-"===t[0]&&"-"!==t[1]?-BigInt(t.substring(1)):BigInt(t)}catch(n){d(!1,`invalid BigNumberish string: ${n.message}`,e||"value",t)}}d(!1,"invalid BigNumberish value",e||"value",t)}function F(t,e){const n=L(t,e);return p(n>=I,"unsigned value cannot be negative","NUMERIC_FAULT",{fault:"overflow",operation:"getUint",value:t}),n}const M="0123456789abcdef";function _(t){if(t instanceof Uint8Array){let e="0x0";for(const n of t)e+=M[n>>4],e+=M[15&n];return BigInt(e)}return L(t)}function G(t,e){switch(typeof t){case"bigint":return d(t>=-B&&t<=B,"overflow",e||"value",t),Number(t);case"number":return d(Number.isInteger(t),"underflow",e||"value",t),d(t>=-B&&t<=B,"overflow",e||"value",t),t;case"string":try{if(""===t)throw new Error("empty string");return G(BigInt(t),e)}catch(n){d(!1,`invalid numeric string: ${n.message}`,e||"value",t)}}d(!1,"invalid numeric value",e||"value",t)}function j(t,e){let n=F(t,"value").toString(16);if(null==e)n.length%2&&(n="0"+n);else{const r=G(e,"width");for(p(2*r>=n.length,`value exceeds width (${r} bytes)`,"NUMERIC_FAULT",{operation:"toBeHex",fault:"overflow",value:t});n.length<2*r;)n="0"+n}return"0x"+n}function H(t){const e=F(t,"value");if(e===I)return new Uint8Array([]);let n=e.toString(16);n.length%2&&(n="0"+n);const r=new Uint8Array(n.length/2);for(let t=0;t<r.length;t++){const e=2*t;r[t]=parseInt(n.substring(e,e+2),16)}return r}function K(t){let e=N(k(t)?t:H(t)).substring(2);for(;e.startsWith("0");)e=e.substring(1);return""===e&&(e="0"),"0x"+e}const V="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";let Q=null;function J(t){if(null==Q){Q={};for(let t=0;t<58;t++)Q[V[t]]=BigInt(t)}const e=Q[t];return d(null!=e,"invalid base58 value","letter",t),e}const z=BigInt(0),Y=BigInt(58);function q(t){const e=A(t);let n=_(e),r="";for(;n;)r=V[Number(n%Y)]+r,n/=Y;for(let t=0;t<e.length&&!e[t];t++)r=V[0]+r;return r}class ${filter;emitter;#t;constructor(t,e,n){this.#t=e,c(this,{emitter:t,filter:n})}async removeListener(){null!=this.#t&&await this.emitter.off(this.filter,this.#t)}}function W(t,e,n,r,s){if("BAD_PREFIX"===t||"UNEXPECTED_CONTINUE"===t){let t=0;for(let r=e+1;r<n.length&&n[r]>>6==2;r++)t++;return t}return"OVERRUN"===t?n.length-e-1:0}const Z=Object.freeze({error:function(t,e,n,r,s){d(!1,`invalid codepoint at offset ${e}; ${t}`,"bytes",n)},ignore:W,replace:function(t,e,n,r,s){return"OVERLONG"===t?(d("number"==typeof s,"invalid bad code point for replacement","badCodepoint",s),r.push(s),0):(r.push(65533),W(t,e,n))}});function X(t,e){d("string"==typeof t,"invalid string value","str",t),null!=e&&(m(e),t=t.normalize(e));let n=[];for(let e=0;e<t.length;e++){const r=t.charCodeAt(e);if(r<128)n.push(r);else if(r<2048)n.push(r>>6|192),n.push(63&r|128);else if(55296==(64512&r)){e++;const s=t.charCodeAt(e);d(e<t.length&&56320==(64512&s),"invalid surrogate pair","str",t);const i=65536+((1023&r)<<10)+(1023&s);n.push(i>>18|240),n.push(i>>12&63|128),n.push(i>>6&63|128),n.push(63&i|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(63&r|128)}return new Uint8Array(n)}function tt(t,e){return n=function(t,e){null==e&&(e=Z.error);const n=A(t,"bytes"),r=[];let s=0;for(;s<n.length;){const t=n[s++];if(!(t>>7)){r.push(t);continue}let i=null,o=null;if(192==(224&t))i=1,o=127;else if(224==(240&t))i=2,o=2047;else{if(240!=(248&t)){s+=e(128==(192&t)?"UNEXPECTED_CONTINUE":"BAD_PREFIX",s-1,n,r);continue}i=3,o=65535}if(s-1+i>=n.length){s+=e("OVERRUN",s-1,n,r);continue}let a=t&(1<<8-i-1)-1;for(let t=0;t<i;t++){let t=n[s];if(128!=(192&t)){s+=e("MISSING_CONTINUE",s,n,r),a=null;break}a=a<<6|63&t,s++}null!==a&&(a>1114111?s+=e("OUT_OF_RANGE",s-1-i,n,r,a):a>=55296&&a<=57343?s+=e("UTF16_SURROGATE",s-1-i,n,r,a):a<=o?s+=e("OVERLONG",s-1-i,n,r,a):r.push(a))}return r}(t,e),n.map((t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t))))).join("");var n}function et(t){return async function(t,e){p(null==e||!e.cancelled,"request cancelled before sending","CANCELLED");const n=t.url.split(":")[0].toLowerCase();p("http"===n||"https"===n,`unsupported protocol ${n}`,"UNSUPPORTED_OPERATION",{info:{protocol:n},operation:"request"}),p("https"===n||!t.credentials||t.allowInsecureAuthentication,"insecure authorized connections unsupported","UNSUPPORTED_OPERATION",{operation:"request"});let r=null;const s=new AbortController,i=setTimeout((()=>{r=f("request timeout","TIMEOUT"),s.abort()}),t.timeout);e&&e.addListener((()=>{r=f("request cancelled","CANCELLED"),s.abort()}));const o={method:t.method,headers:new Headers(Array.from(t)),body:t.body||void 0,signal:s.signal};let a;try{a=await fetch(t.url,o)}catch(t){if(clearTimeout(i),r)throw r;throw t}clearTimeout(i);const c={};a.headers.forEach(((t,e)=>{c[e.toLowerCase()]=t}));const u=await a.arrayBuffer(),l=null==u?null:new Uint8Array(u);return{statusCode:a.status,statusMessage:a.statusText,headers:c,body:l}}}let nt=et();const rt=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),st=new RegExp("^ipfs://(ipfs/)?(.*)$","i");let it=!1;async function ot(t,e){try{const e=t.match(rt);if(!e)throw new Error("invalid data");return new pt(200,"OK",{"content-type":e[1]||"text/plain"},e[2]?function(t){t=atob(t);const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return A(e)}(e[3]):X(e[3].replace(/%([0-9a-f][0-9a-f])/gi,((t,e)=>String.fromCharCode(parseInt(e,16))))))}catch(e){return new pt(599,"BAD REQUEST (invalid data: URI)",{},null,new ft(t))}}function at(t){return async function(e,n){try{const n=e.match(st);if(!n)throw new Error("invalid link");return new ft(`${t}${n[2]}`)}catch(t){return new pt(599,"BAD REQUEST (invalid IPFS URI)",{},null,new ft(e))}}}const ct={data:ot,ipfs:at("https://gateway.ipfs.io/ipfs/")},ut=new WeakMap;class lt{#e;#n;constructor(t){this.#e=[],this.#n=!1,ut.set(t,(()=>{if(!this.#n){this.#n=!0;for(const t of this.#e)setTimeout((()=>{t()}),0);this.#e=[]}}))}addListener(t){p(!this.#n,"singal already cancelled","UNSUPPORTED_OPERATION",{operation:"fetchCancelSignal.addCancelListener"}),this.#e.push(t)}get cancelled(){return this.#n}checkSignal(){p(!this.cancelled,"cancelled","CANCELLED",{})}}function ht(t){if(null==t)throw new Error("missing signal; should not happen");return t.checkSignal(),t}class ft{#r;#s;#i;#o;#a;#c;#u;#l;#h;#f;#p;#d;#g;#y;#m;get url(){return this.#c}set url(t){this.#c=String(t)}get body(){return null==this.#u?null:new Uint8Array(this.#u)}set body(t){if(null==t)this.#u=void 0,this.#l=void 0;else if("string"==typeof t)this.#u=X(t),this.#l="text/plain";else if(t instanceof Uint8Array)this.#u=t,this.#l="application/octet-stream";else{if("object"!=typeof t)throw new Error("invalid body");this.#u=X(JSON.stringify(t)),this.#l="application/json"}}hasBody(){return null!=this.#u}get method(){return this.#o?this.#o:this.hasBody()?"POST":"GET"}set method(t){null==t&&(t=""),this.#o=String(t).toUpperCase()}get headers(){const t=Object.assign({},this.#i);return this.#h&&(t.authorization=`Basic ${function(t){const e=A(t);let n="";for(let t=0;t<e.length;t++)n+=String.fromCharCode(e[t]);return btoa(n)}(X(this.#h))}`),this.allowGzip&&(t["accept-encoding"]="gzip"),null==t["content-type"]&&this.#l&&(t["content-type"]=this.#l),this.body&&(t["content-length"]=String(this.body.length)),t}getHeader(t){return this.headers[t.toLowerCase()]}setHeader(t,e){this.#i[String(t).toLowerCase()]=String(e)}clearHeaders(){this.#i={}}[Symbol.iterator](){const t=this.headers,e=Object.keys(t);let n=0;return{next:()=>{if(n<e.length){const r=e[n++];return{value:[r,t[r]],done:!1}}return{value:void 0,done:!0}}}}get credentials(){return this.#h||null}setCredentials(t,e){d(!t.match(/:/),"invalid basic authentication username","username","[REDACTED]"),this.#h=`${t}:${e}`}get allowGzip(){return this.#s}set allowGzip(t){this.#s=!!t}get allowInsecureAuthentication(){return!!this.#r}set allowInsecureAuthentication(t){this.#r=!!t}get timeout(){return this.#a}set timeout(t){d(t>=0,"timeout must be non-zero","timeout",t),this.#a=t}get preflightFunc(){return this.#f||null}set preflightFunc(t){this.#f=t}get processFunc(){return this.#p||null}set processFunc(t){this.#p=t}get retryFunc(){return this.#d||null}set retryFunc(t){this.#d=t}get getUrlFunc(){return this.#m||nt}set getUrlFunc(t){this.#m=t}constructor(t){this.#c=String(t),this.#r=!1,this.#s=!0,this.#i={},this.#o="",this.#a=3e5,this.#y={slotInterval:250,maxAttempts:12},this.#m=null}toString(){return`<FetchRequest method=${JSON.stringify(this.method)} url=${JSON.stringify(this.url)} headers=${JSON.stringify(this.headers)} body=${this.#u?N(this.#u):"null"}>`}setThrottleParams(t){null!=t.slotInterval&&(this.#y.slotInterval=t.slotInterval),null!=t.maxAttempts&&(this.#y.maxAttempts=t.maxAttempts)}async#w(t,e,n,r,s){if(t>=this.#y.maxAttempts)return s.makeServerError("exceeded maximum retry limit");p(dt()<=e,"timeout","TIMEOUT",{operation:"request.send",reason:"timeout",request:r}),n>0&&await function(t){return new Promise((e=>setTimeout(e,t)))}(n);let i=this.clone();const o=(i.url.split(":")[0]||"").toLowerCase();if(o in ct){const t=await ct[o](i.url,ht(r.#g));if(t instanceof pt){let e=t;if(this.processFunc){ht(r.#g);try{e=await this.processFunc(i,e)}catch(t){null!=t.throttle&&"number"==typeof t.stall||e.makeServerError("error in post-processing function",t).assertOk()}}return e}i=t}this.preflightFunc&&(i=await this.preflightFunc(i));const a=await this.getUrlFunc(i,ht(r.#g));let c=new pt(a.statusCode,a.statusMessage,a.headers,a.body,r);if(301===c.statusCode||302===c.statusCode){try{const n=c.headers.location||"";return i.redirect(n).#w(t+1,e,0,r,c)}catch(t){}return c}if(429===c.statusCode&&(null==this.retryFunc||await this.retryFunc(i,c,t))){const n=c.headers["retry-after"];let s=this.#y.slotInterval*Math.trunc(Math.random()*Math.pow(2,t));return"string"==typeof n&&n.match(/^[1-9][0-9]*$/)&&(s=parseInt(n)),i.clone().#w(t+1,e,s,r,c)}if(this.processFunc){ht(r.#g);try{c=await this.processFunc(i,c)}catch(n){null!=n.throttle&&"number"==typeof n.stall||c.makeServerError("error in post-processing function",n).assertOk();let s=this.#y.slotInterval*Math.trunc(Math.random()*Math.pow(2,t));return n.stall>=0&&(s=n.stall),i.clone().#w(t+1,e,s,r,c)}}return c}send(){return p(null==this.#g,"request already sent","UNSUPPORTED_OPERATION",{operation:"fetchRequest.send"}),this.#g=new lt(this),this.#w(0,dt()+this.timeout,0,this,new pt(0,"",{},null,this))}cancel(){p(null!=this.#g,"request has not been sent","UNSUPPORTED_OPERATION",{operation:"fetchRequest.cancel"});const t=ut.get(this);if(!t)throw new Error("missing signal; should not happen");t()}redirect(t){const e=this.url.split(":")[0].toLowerCase(),n=t.split(":")[0].toLowerCase();p("GET"===this.method&&("https"!==e||"http"!==n)&&t.match(/^https?:/),"unsupported redirect","UNSUPPORTED_OPERATION",{operation:`redirect(${this.method} ${JSON.stringify(this.url)} => ${JSON.stringify(t)})`});const r=new ft(t);return r.method="GET",r.allowGzip=this.allowGzip,r.timeout=this.timeout,r.#i=Object.assign({},this.#i),this.#u&&(r.#u=new Uint8Array(this.#u)),r.#l=this.#l,r}clone(){const t=new ft(this.url);return t.#o=this.#o,this.#u&&(t.#u=this.#u),t.#l=this.#l,t.#i=Object.assign({},this.#i),t.#h=this.#h,this.allowGzip&&(t.allowGzip=!0),t.timeout=this.timeout,this.allowInsecureAuthentication&&(t.allowInsecureAuthentication=!0),t.#f=this.#f,t.#p=this.#p,t.#d=this.#d,t.#y=Object.assign({},this.#y),t.#m=this.#m,t}static lockConfig(){it=!0}static getGateway(t){return ct[t.toLowerCase()]||null}static registerGateway(t,e){if("http"===(t=t.toLowerCase())||"https"===t)throw new Error(`cannot intercept ${t}; use registerGetUrl`);if(it)throw new Error("gateways locked");ct[t]=e}static registerGetUrl(t){if(it)throw new Error("gateways locked");nt=t}static createGetUrlFunc(t){return et()}static createDataGateway(){return ot}static createIpfsGatewayFunc(t){return at(t)}}class pt{#b;#A;#i;#u;#v;#E;toString(){return`<FetchResponse status=${this.statusCode} body=${this.#u?N(this.#u):"null"}>`}get statusCode(){return this.#b}get statusMessage(){return this.#A}get headers(){return Object.assign({},this.#i)}get body(){return null==this.#u?null:new Uint8Array(this.#u)}get bodyText(){try{return null==this.#u?"":tt(this.#u)}catch(t){p(!1,"response body is not valid UTF-8 data","UNSUPPORTED_OPERATION",{operation:"bodyText",info:{response:this}})}}get bodyJson(){try{return JSON.parse(this.bodyText)}catch(t){p(!1,"response body is not valid JSON","UNSUPPORTED_OPERATION",{operation:"bodyJson",info:{response:this}})}}[Symbol.iterator](){const t=this.headers,e=Object.keys(t);let n=0;return{next:()=>{if(n<e.length){const r=e[n++];return{value:[r,t[r]],done:!1}}return{value:void 0,done:!0}}}}constructor(t,e,n,r,s){this.#b=t,this.#A=e,this.#i=Object.keys(n).reduce(((t,e)=>(t[e.toLowerCase()]=String(n[e]),t)),{}),this.#u=null==r?null:new Uint8Array(r),this.#v=s||null,this.#E={message:""}}makeServerError(t,e){let n;n=t?`CLIENT ESCALATED SERVER ERROR (${this.statusCode} ${this.statusMessage}; ${t})`:`CLIENT ESCALATED SERVER ERROR (${t=`${this.statusCode} ${this.statusMessage}`})`;const r=new pt(599,n,this.headers,this.body,this.#v||void 0);return r.#E={message:t,error:e},r}throwThrottleError(t,e){null==e?e=-1:d(Number.isInteger(e)&&e>=0,"invalid stall timeout","stall",e);const n=new Error(t||"throttling requests");throw c(n,{stall:e,throttle:!0}),n}getHeader(t){return this.headers[t.toLowerCase()]}hasBody(){return null!=this.#u}get request(){return this.#v}ok(){return""===this.#E.message&&this.statusCode>=200&&this.statusCode<300}assertOk(){if(this.ok())return;let{message:t,error:e}=this.#E;""===t&&(t=`server response ${this.statusCode} ${this.statusMessage}`);let n=null;this.request&&(n=this.request.url);let r=null;try{this.#u&&(r=tt(this.#u))}catch(t){}p(!1,t,"SERVER_ERROR",{request:this.request||"unknown request",response:this,error:e,info:{requestUrl:n,responseBody:r,responseStatus:`${this.statusCode} ${this.statusMessage}`}})}}function dt(){return(new Date).getTime()}function gt(t){let e=t.toString(16);for(;e.length<2;)e="0"+e;return"0x"+e}function yt(t,e,n){let r=0;for(let s=0;s<n;s++)r=256*r+t[e+s];return r}function mt(t,e,n,r){const s=[];for(;n<e+1+r;){const i=wt(t,n);s.push(i.result),p((n+=i.consumed)<=e+1+r,"child data too short","BUFFER_OVERRUN",{buffer:t,length:r,offset:e})}return{consumed:1+r,result:s}}function wt(t,e){p(0!==t.length,"data too short","BUFFER_OVERRUN",{buffer:t,length:0,offset:1});const n=e=>{p(e<=t.length,"data short segment too short","BUFFER_OVERRUN",{buffer:t,length:t.length,offset:e})};if(t[e]>=248){const r=t[e]-247;n(e+1+r);const s=yt(t,e+1,r);return n(e+1+r+s),mt(t,e,e+1+r,r+s)}if(t[e]>=192){const r=t[e]-192;return n(e+1+r),mt(t,e,e+1,r)}if(t[e]>=184){const r=t[e]-183;n(e+1+r);const s=yt(t,e+1,r);n(e+1+r+s);return{consumed:1+r+s,result:N(t.slice(e+1+r,e+1+r+s))}}if(t[e]>=128){const r=t[e]-128;n(e+1+r);return{consumed:1+r,result:N(t.slice(e+1,e+1+r))}}return{consumed:1,result:gt(t[e])}}function bt(t){const e=A(t,"data"),n=wt(e,0);return d(n.consumed===e.length,"unexpected junk after rlp payload","data",t),n.result}function At(t){const e=[];for(;t;)e.unshift(255&t),t>>=8;return e}function vt(t){if(Array.isArray(t)){let e=[];if(t.forEach((function(t){e=e.concat(vt(t))})),e.length<=55)return e.unshift(192+e.length),e;const n=At(e.length);return n.unshift(247+n.length),n.concat(e)}const e=Array.prototype.slice.call(A(t,"object"));if(1===e.length&&e[0]<=127)return e;if(e.length<=55)return e.unshift(128+e.length),e;const n=At(e.length);return n.unshift(183+n.length),n.concat(e)}const Et="0123456789abcdef";function kt(t){let e="0x";for(const n of vt(t))e+=Et[n>>4],e+=Et[15&n];return e}function Tt(t){const e=A(t,"randomBytes");e[6]=15&e[6]|64,e[8]=63&e[8]|128;const n=N(e);return[n.substring(2,10),n.substring(10,14),n.substring(14,18),n.substring(18,22),n.substring(22,34)].join("-")}const Nt=32,xt=new Uint8Array(Nt),St=["then"],Ot={},Pt=new WeakMap;function Rt(t){return Pt.get(t)}function It(t,e){Pt.set(t,e)}function Ct(t,e){const n=new Error(`deferred error during ABI decoding triggered accessing ${t}`);throw n.error=e,n}function Bt(t,e,n){return t.indexOf(null)>=0?e.map(((t,e)=>t instanceof Dt?Bt(Rt(t),t,n):t)):t.reduce(((t,r,s)=>{let i=e.getValue(r);return r in t||(n&&i instanceof Dt&&(i=Bt(Rt(i),i,n)),t[r]=i),t}),{})}class Dt extends Array{#k;constructor(...t){const e=t[0];let n=t[1],r=(t[2]||[]).slice(),s=!0;e!==Ot&&(n=t,r=[],s=!1),super(n.length),n.forEach(((t,e)=>{this[e]=t}));const i=r.reduce(((t,e)=>("string"==typeof e&&t.set(e,(t.get(e)||0)+1),t)),new Map);if(It(this,Object.freeze(n.map(((t,e)=>{const n=r[e];return null!=n&&1===i.get(n)?n:null})))),this.#k=[],null==this.#k&&this.#k,!s)return;Object.freeze(this);const o=new Proxy(this,{get:(t,e,n)=>{if("string"==typeof e){if(e.match(/^[0-9]+$/)){const n=G(e,"%index");if(n<0||n>=this.length)throw new RangeError("out of result range");const r=t[n];return r instanceof Error&&Ct(`index ${n}`,r),r}if(St.indexOf(e)>=0)return Reflect.get(t,e,n);const r=t[e];if(r instanceof Function)return function(...e){return r.apply(this===n?t:this,e)};if(!(e in t))return t.getValue.apply(this===n?t:this,[e])}return Reflect.get(t,e,n)}});return It(o,Rt(this)),o}toArray(t){const e=[];return this.forEach(((n,r)=>{n instanceof Error&&Ct(`index ${r}`,n),t&&n instanceof Dt&&(n=n.toArray(t)),e.push(n)})),e}toObject(t){const e=Rt(this);return e.reduce(((n,r,s)=>(p(null!=r,`value at index ${s} unnamed`,"UNSUPPORTED_OPERATION",{operation:"toObject()"}),Bt(e,this,t))),{})}slice(t,e){null==t&&(t=0),t<0&&(t+=this.length)<0&&(t=0),null==e&&(e=this.length),e<0&&(e+=this.length)<0&&(e=0),e>this.length&&(e=this.length);const n=Rt(this),r=[],s=[];for(let i=t;i<e;i++)r.push(this[i]),s.push(n[i]);return new Dt(Ot,r,s)}filter(t,e){const n=Rt(this),r=[],s=[];for(let i=0;i<this.length;i++){const o=this[i];o instanceof Error&&Ct(`index ${i}`,o),t.call(e,o,i,this)&&(r.push(o),s.push(n[i]))}return new Dt(Ot,r,s)}map(t,e){const n=[];for(let r=0;r<this.length;r++){const s=this[r];s instanceof Error&&Ct(`index ${r}`,s),n.push(t.call(e,s,r,this))}return n}getValue(t){const e=Rt(this).indexOf(t);if(-1===e)return;const n=this[e];return n instanceof Error&&Ct(`property ${JSON.stringify(t)}`,n.error),n}static fromItems(t,e){return new Dt(Ot,t,e)}}function Ut(t){let e=H(t);return p(e.length<=Nt,"value out-of-bounds","BUFFER_OVERRUN",{buffer:e,length:Nt,offset:e.length}),e.length!==Nt&&(e=v(x([xt.slice(e.length%Nt),e]))),e}class Lt{name;type;localName;dynamic;constructor(t,e,n,r){c(this,{name:t,type:e,localName:n,dynamic:r},{name:"string",type:"string",localName:"string",dynamic:"boolean"})}_throwError(t,e){d(!1,t,this.localName,e)}}class Ft{#T;#N;constructor(){this.#T=[],this.#N=0}get data(){return x(this.#T)}get length(){return this.#N}#x(t){return this.#T.push(t),this.#N+=t.length,t.length}appendWriter(t){return this.#x(v(t.data))}writeBytes(t){let e=v(t);const n=e.length%Nt;return n&&(e=v(x([e,xt.slice(n)]))),this.#x(e)}writeValue(t){return this.#x(Ut(t))}writeUpdatableValue(){const t=this.#T.length;return this.#T.push(xt),this.#N+=Nt,e=>{this.#T[t]=Ut(e)}}}class Mt{allowLoose;#T;#S;#O;#P;#R;constructor(t,e,n){c(this,{allowLoose:!!e}),this.#T=v(t),this.#O=0,this.#P=null,this.#R=null!=n?n:1024,this.#S=0}get data(){return N(this.#T)}get dataLength(){return this.#T.length}get consumed(){return this.#S}get bytes(){return new Uint8Array(this.#T)}#I(t){if(this.#P)return this.#P.#I(t);this.#O+=t,p(this.#R<1||this.#O<=this.#R*this.dataLength,`compressed ABI data exceeds inflation ratio of ${this.#R} ( see: https://github.com/ethers-io/ethers.js/issues/4537 )`,"BUFFER_OVERRUN",{buffer:v(this.#T),offset:this.#S,length:t,info:{bytesRead:this.#O,dataLength:this.dataLength}})}#C(t,e,n){let r=Math.ceil(e/Nt)*Nt;return this.#S+r>this.#T.length&&(this.allowLoose&&n&&this.#S+e<=this.#T.length?r=e:p(!1,"data out-of-bounds","BUFFER_OVERRUN",{buffer:v(this.#T),length:this.#T.length,offset:this.#S+r})),this.#T.slice(this.#S,this.#S+r)}subReader(t){const e=new Mt(this.#T.slice(this.#S+t),this.allowLoose,this.#R);return e.#P=this,e}readBytes(t,e){let n=this.#C(0,t,!!e);return this.#I(t),this.#S+=n.length,n.slice(0,t)}readValue(){return _(this.readBytes(Nt))}readIndex(){return G(_(this.readBytes(Nt)))}}var _t="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Gt(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`Wrong positive integer: ${t}`)}function jt(t,...e){if(!(t instanceof Uint8Array))throw new Error("Expected Uint8Array");if(e.length>0&&!e.includes(t.length))throw new Error(`Expected Uint8Array of length ${e}, not of length=${t.length}`)}function Ht(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Gt(t.outputLen),Gt(t.blockLen)}function Kt(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")}function Vt(t,e){jt(t);const n=e.outputLen;if(t.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const Qt="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,Jt=t=>t instanceof Uint8Array,zt=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4)),Yt=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),qt=(t,e)=>t<<32-e|t>>>e;
|
2
|
-
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */if(!(68===new Uint8Array(new Uint32Array([287454020]).buffer)[0]))throw new Error("Non little-endian hardware is not supported");const $t=async()=>{};async function Wt(t,e,n){let r=Date.now();for(let s=0;s<t;s++){n(s);const t=Date.now()-r;t>=0&&t<e||(await $t(),r+=t)}}function Zt(t){if("string"==typeof t&&(t=function(t){if("string"!=typeof t)throw new Error("utf8ToBytes expected string, got "+typeof t);return new Uint8Array((new TextEncoder).encode(t))}(t)),!Jt(t))throw new Error("expected Uint8Array, got "+typeof t);return t}class Xt{clone(){return this._cloneInto()}}const te={}.toString;function ee(t,e){if(void 0!==e&&"[object Object]"!==te.call(e))throw new Error("Options should be object or undefined");return Object.assign(t,e)}function ne(t){const e=e=>t().update(Zt(e)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function re(t=32){if(Qt&&"function"==typeof Qt.getRandomValues)return Qt.getRandomValues(new Uint8Array(t));throw new Error("crypto.getRandomValues must be defined")}class se extends Xt{constructor(t,e){super(),this.finished=!1,this.destroyed=!1,Ht(t);const n=Zt(e);if(this.iHash=t.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const r=this.blockLen,s=new Uint8Array(r);s.set(n.length>r?t.create().update(n).digest():n);for(let t=0;t<s.length;t++)s[t]^=54;this.iHash.update(s),this.oHash=t.create();for(let t=0;t<s.length;t++)s[t]^=106;this.oHash.update(s),s.fill(0)}update(t){return Kt(this),this.iHash.update(t),this}digestInto(t){Kt(this),jt(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:e,iHash:n,finished:r,destroyed:s,blockLen:i,outputLen:o}=this;return t.finished=r,t.destroyed=s,t.blockLen=i,t.outputLen=o,t.oHash=e._cloneInto(t.oHash),t.iHash=n._cloneInto(t.iHash),t}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const ie=(t,e,n)=>new se(t,e).update(n).digest();function oe(t,e,n,r){Ht(t);const s=ee({dkLen:32,asyncTick:10},r),{c:i,dkLen:o,asyncTick:a}=s;if(Gt(i),Gt(o),Gt(a),i<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const c=Zt(e),u=Zt(n),l=new Uint8Array(o),h=ie.create(t,c),f=h._cloneInto().update(u);return{c:i,dkLen:o,asyncTick:a,DK:l,PRF:h,PRFSalt:f}}function ae(t,e,n,r){const{c:s,dkLen:i,DK:o,PRF:a,PRFSalt:c}=oe(t,e,n,r);let u;const l=new Uint8Array(4),h=Yt(l),f=new Uint8Array(a.outputLen);for(let t=1,e=0;e<i;t++,e+=a.outputLen){const n=o.subarray(e,e+a.outputLen);h.setInt32(0,t,!1),(u=c._cloneInto(u)).update(l).digestInto(f),n.set(f.subarray(0,n.length));for(let t=1;t<s;t++){a._cloneInto(u).update(f).digestInto(f);for(let t=0;t<n.length;t++)n[t]^=f[t]}}return function(t,e,n,r,s){return t.destroy(),e.destroy(),r&&r.destroy(),s.fill(0),n}(a,c,o,u,f)}ie.create=(t,e)=>new se(t,e);class ce extends Xt{constructor(t,e,n,r){super(),this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=r,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=Yt(this.buffer)}update(t){Kt(this);const{view:e,buffer:n,blockLen:r}=this,s=(t=Zt(t)).length;for(let i=0;i<s;){const o=Math.min(r-this.pos,s-i);if(o!==r)n.set(t.subarray(i,i+o),this.pos),this.pos+=o,i+=o,this.pos===r&&(this.process(e,0),this.pos=0);else{const e=Yt(t);for(;r<=s-i;i+=r)this.process(e,i)}}return this.length+=t.length,this.roundClean(),this}digestInto(t){Kt(this),Vt(t,this),this.finished=!0;const{buffer:e,view:n,blockLen:r,isLE:s}=this;let{pos:i}=this;e[i++]=128,this.buffer.subarray(i).fill(0),this.padOffset>r-i&&(this.process(n,0),i=0);for(let t=i;t<r;t++)e[t]=0;!function(t,e,n,r){if("function"==typeof t.setBigUint64)return t.setBigUint64(e,n,r);const s=BigInt(32),i=BigInt(4294967295),o=Number(n>>s&i),a=Number(n&i),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}(n,r-8,BigInt(8*this.length),s),this.process(n,0);const o=Yt(t),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const c=a/4,u=this.get();if(c>u.length)throw new Error("_sha2: outputLen bigger than state");for(let t=0;t<c;t++)o.setUint32(4*t,u[t],s)}digest(){const{buffer:t,outputLen:e}=this;this.digestInto(t);const n=t.slice(0,e);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:e,buffer:n,length:r,finished:s,destroyed:i,pos:o}=this;return t.length=r,t.pos=o,t.finished=s,t.destroyed=i,r%e&&t.buffer.set(n),t}}const ue=(t,e,n)=>t&e^~t&n,le=(t,e,n)=>t&e^t&n^e&n,he=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]),fe=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),pe=new Uint32Array(64);class de extends ce{constructor(){super(64,32,8,!1),this.A=0|fe[0],this.B=0|fe[1],this.C=0|fe[2],this.D=0|fe[3],this.E=0|fe[4],this.F=0|fe[5],this.G=0|fe[6],this.H=0|fe[7]}get(){const{A:t,B:e,C:n,D:r,E:s,F:i,G:o,H:a}=this;return[t,e,n,r,s,i,o,a]}set(t,e,n,r,s,i,o,a){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|r,this.E=0|s,this.F=0|i,this.G=0|o,this.H=0|a}process(t,e){for(let n=0;n<16;n++,e+=4)pe[n]=t.getUint32(e,!1);for(let t=16;t<64;t++){const e=pe[t-15],n=pe[t-2],r=qt(e,7)^qt(e,18)^e>>>3,s=qt(n,17)^qt(n,19)^n>>>10;pe[t]=s+pe[t-7]+r+pe[t-16]|0}let{A:n,B:r,C:s,D:i,E:o,F:a,G:c,H:u}=this;for(let t=0;t<64;t++){const e=u+(qt(o,6)^qt(o,11)^qt(o,25))+ue(o,a,c)+he[t]+pe[t]|0,l=(qt(n,2)^qt(n,13)^qt(n,22))+le(n,r,s)|0;u=c,c=a,a=o,o=i+e|0,i=s,s=r,r=n,n=e+l|0}n=n+this.A|0,r=r+this.B|0,s=s+this.C|0,i=i+this.D|0,o=o+this.E|0,a=a+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(n,r,s,i,o,a,c,u)}roundClean(){pe.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const ge=ne((()=>new de)),ye=BigInt(2**32-1),me=BigInt(32);function we(t,e=!1){return e?{h:Number(t&ye),l:Number(t>>me&ye)}:{h:0|Number(t>>me&ye),l:0|Number(t&ye)}}function be(t,e=!1){let n=new Uint32Array(t.length),r=new Uint32Array(t.length);for(let s=0;s<t.length;s++){const{h:i,l:o}=we(t[s],e);[n[s],r[s]]=[i,o]}return[n,r]}const Ae=(t,e,n)=>t<<n|e>>>32-n,ve=(t,e,n)=>e<<n|t>>>32-n,Ee=(t,e,n)=>e<<n-32|t>>>64-n,ke=(t,e,n)=>t<<n-32|e>>>64-n;var Te={fromBig:we,split:be,toBig:(t,e)=>BigInt(t>>>0)<<me|BigInt(e>>>0),shrSH:(t,e,n)=>t>>>n,shrSL:(t,e,n)=>t<<32-n|e>>>n,rotrSH:(t,e,n)=>t>>>n|e<<32-n,rotrSL:(t,e,n)=>t<<32-n|e>>>n,rotrBH:(t,e,n)=>t<<64-n|e>>>n-32,rotrBL:(t,e,n)=>t>>>n-32|e<<64-n,rotr32H:(t,e)=>e,rotr32L:(t,e)=>t,rotlSH:Ae,rotlSL:ve,rotlBH:Ee,rotlBL:ke,add:function(t,e,n,r){const s=(e>>>0)+(r>>>0);return{h:t+n+(s/2**32|0)|0,l:0|s}},add3L:(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),add3H:(t,e,n,r)=>e+n+r+(t/2**32|0)|0,add4L:(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),add4H:(t,e,n,r,s)=>e+n+r+s+(t/2**32|0)|0,add5H:(t,e,n,r,s,i)=>e+n+r+s+i+(t/2**32|0)|0,add5L:(t,e,n,r,s)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(s>>>0)};const[Ne,xe]=(()=>Te.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((t=>BigInt(t)))))(),Se=new Uint32Array(80),Oe=new Uint32Array(80);class Pe extends ce{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:t,Al:e,Bh:n,Bl:r,Ch:s,Cl:i,Dh:o,Dl:a,Eh:c,El:u,Fh:l,Fl:h,Gh:f,Gl:p,Hh:d,Hl:g}=this;return[t,e,n,r,s,i,o,a,c,u,l,h,f,p,d,g]}set(t,e,n,r,s,i,o,a,c,u,l,h,f,p,d,g){this.Ah=0|t,this.Al=0|e,this.Bh=0|n,this.Bl=0|r,this.Ch=0|s,this.Cl=0|i,this.Dh=0|o,this.Dl=0|a,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|h,this.Gh=0|f,this.Gl=0|p,this.Hh=0|d,this.Hl=0|g}process(t,e){for(let n=0;n<16;n++,e+=4)Se[n]=t.getUint32(e),Oe[n]=t.getUint32(e+=4);for(let t=16;t<80;t++){const e=0|Se[t-15],n=0|Oe[t-15],r=Te.rotrSH(e,n,1)^Te.rotrSH(e,n,8)^Te.shrSH(e,n,7),s=Te.rotrSL(e,n,1)^Te.rotrSL(e,n,8)^Te.shrSL(e,n,7),i=0|Se[t-2],o=0|Oe[t-2],a=Te.rotrSH(i,o,19)^Te.rotrBH(i,o,61)^Te.shrSH(i,o,6),c=Te.rotrSL(i,o,19)^Te.rotrBL(i,o,61)^Te.shrSL(i,o,6),u=Te.add4L(s,c,Oe[t-7],Oe[t-16]),l=Te.add4H(u,r,a,Se[t-7],Se[t-16]);Se[t]=0|l,Oe[t]=0|u}let{Ah:n,Al:r,Bh:s,Bl:i,Ch:o,Cl:a,Dh:c,Dl:u,Eh:l,El:h,Fh:f,Fl:p,Gh:d,Gl:g,Hh:y,Hl:m}=this;for(let t=0;t<80;t++){const e=Te.rotrSH(l,h,14)^Te.rotrSH(l,h,18)^Te.rotrBH(l,h,41),w=Te.rotrSL(l,h,14)^Te.rotrSL(l,h,18)^Te.rotrBL(l,h,41),b=l&f^~l&d,A=h&p^~h&g,v=Te.add5L(m,w,A,xe[t],Oe[t]),E=Te.add5H(v,y,e,b,Ne[t],Se[t]),k=0|v,T=Te.rotrSH(n,r,28)^Te.rotrBH(n,r,34)^Te.rotrBH(n,r,39),N=Te.rotrSL(n,r,28)^Te.rotrBL(n,r,34)^Te.rotrBL(n,r,39),x=n&s^n&o^s&o,S=r&i^r&a^i&a;y=0|d,m=0|g,d=0|f,g=0|p,f=0|l,p=0|h,({h:l,l:h}=Te.add(0|c,0|u,0|E,0|k)),c=0|o,u=0|a,o=0|s,a=0|i,s=0|n,i=0|r;const O=Te.add3L(k,N,S);n=Te.add3H(O,E,T,x),r=0|O}({h:n,l:r}=Te.add(0|this.Ah,0|this.Al,0|n,0|r)),({h:s,l:i}=Te.add(0|this.Bh,0|this.Bl,0|s,0|i)),({h:o,l:a}=Te.add(0|this.Ch,0|this.Cl,0|o,0|a)),({h:c,l:u}=Te.add(0|this.Dh,0|this.Dl,0|c,0|u)),({h:l,l:h}=Te.add(0|this.Eh,0|this.El,0|l,0|h)),({h:f,l:p}=Te.add(0|this.Fh,0|this.Fl,0|f,0|p)),({h:d,l:g}=Te.add(0|this.Gh,0|this.Gl,0|d,0|g)),({h:y,l:m}=Te.add(0|this.Hh,0|this.Hl,0|y,0|m)),this.set(n,r,s,i,o,a,c,u,l,h,f,p,d,g,y,m)}roundClean(){Se.fill(0),Oe.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Re=ne((()=>new Pe));const Ie=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==_t)return _t;throw new Error("unable to locate global object")}(),Ce=Ie.crypto||Ie.msCrypto;let Be=!1;const De=function(t,e,n){return function(t,e){const n={sha256:ge,sha512:Re}[t];return d(null!=n,"invalid hmac algorithm","algorithm",t),ie.create(n,e)}(t,e).update(n).digest()};let Ue=De;function Le(t,e,n){const r=A(e,"key"),s=A(n,"data");return N(Ue(t,r,s))}Le._=De,Le.lock=function(){Be=!0},Le.register=function(t){if(Be)throw new Error("computeHmac is locked");Ue=t},Object.freeze(Le);const[Fe,Me,_e]=[[],[],[]],Ge=BigInt(0),je=BigInt(1),He=BigInt(2),Ke=BigInt(7),Ve=BigInt(256),Qe=BigInt(113);for(let t=0,e=je,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],Fe.push(2*(5*r+n)),Me.push((t+1)*(t+2)/2%64);let s=Ge;for(let t=0;t<7;t++)e=(e<<je^(e>>Ke)*Qe)%Ve,e&He&&(s^=je<<(je<<BigInt(t))-je);_e.push(s)}const[Je,ze]=be(_e,!0),Ye=(t,e,n)=>n>32?Ee(t,e,n):Ae(t,e,n),qe=(t,e,n)=>n>32?ke(t,e,n):ve(t,e,n);class $e extends Xt{constructor(t,e,n,r=!1,s=24){if(super(),this.blockLen=t,this.suffix=e,this.outputLen=n,this.enableXOF=r,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,Gt(n),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=zt(this.state)}keccak(){!function(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let e=0;e<10;e++)n[e]=t[e]^t[e+10]^t[e+20]^t[e+30]^t[e+40];for(let e=0;e<10;e+=2){const r=(e+8)%10,s=(e+2)%10,i=n[s],o=n[s+1],a=Ye(i,o,1)^n[r],c=qe(i,o,1)^n[r+1];for(let n=0;n<50;n+=10)t[e+n]^=a,t[e+n+1]^=c}let e=t[2],s=t[3];for(let n=0;n<24;n++){const r=Me[n],i=Ye(e,s,r),o=qe(e,s,r),a=Fe[n];e=t[a],s=t[a+1],t[a]=i,t[a+1]=o}for(let e=0;e<50;e+=10){for(let r=0;r<10;r++)n[r]=t[e+r];for(let r=0;r<10;r++)t[e+r]^=~n[(r+2)%10]&n[(r+4)%10]}t[0]^=Je[r],t[1]^=ze[r]}n.fill(0)}(this.state32,this.rounds),this.posOut=0,this.pos=0}update(t){Kt(this);const{blockLen:e,state:n}=this,r=(t=Zt(t)).length;for(let s=0;s<r;){const i=Math.min(e-this.pos,r-s);for(let e=0;e<i;e++)n[this.pos++]^=t[s++];this.pos===e&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:t,suffix:e,pos:n,blockLen:r}=this;t[n]^=e,128&e&&n===r-1&&this.keccak(),t[r-1]^=128,this.keccak()}writeInto(t){Kt(this,!1),jt(t),this.finish();const e=this.state,{blockLen:n}=this;for(let r=0,s=t.length;r<s;){this.posOut>=n&&this.keccak();const i=Math.min(n-this.posOut,s-r);t.set(e.subarray(this.posOut,this.posOut+i),r),this.posOut+=i,r+=i}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return Gt(t),this.xofInto(new Uint8Array(t))}digestInto(t){if(Vt(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){const{blockLen:e,suffix:n,outputLen:r,rounds:s,enableXOF:i}=this;return t||(t=new $e(e,n,r,i,s)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=s,t.suffix=n,t.outputLen=r,t.enableXOF=i,t.destroyed=this.destroyed,t}}const We=((t,e,n)=>ne((()=>new $e(e,t,n))))(1,136,32);let Ze=!1;const Xe=function(t){return We(t)};let tn=Xe;function en(t){const e=A(t,"data");return N(tn(e))}en._=Xe,en.lock=function(){Ze=!0},en.register=function(t){if(Ze)throw new TypeError("keccak256 is locked");tn=t},Object.freeze(en);const nn=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),rn=Uint8Array.from({length:16},((t,e)=>e));let sn=[rn],on=[rn.map((t=>(9*t+5)%16))];for(let t=0;t<4;t++)for(let e of[sn,on])e.push(e[t].map((t=>nn[t])));const an=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((t=>new Uint8Array(t))),cn=sn.map(((t,e)=>t.map((t=>an[e][t])))),un=on.map(((t,e)=>t.map((t=>an[e][t])))),ln=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),hn=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),fn=(t,e)=>t<<e|t>>>32-e;function pn(t,e,n,r){return 0===t?e^n^r:1===t?e&n|~e&r:2===t?(e|~n)^r:3===t?e&r|n&~r:e^(n|~r)}const dn=new Uint32Array(16);class gn extends ce{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:t,h1:e,h2:n,h3:r,h4:s}=this;return[t,e,n,r,s]}set(t,e,n,r,s){this.h0=0|t,this.h1=0|e,this.h2=0|n,this.h3=0|r,this.h4=0|s}process(t,e){for(let n=0;n<16;n++,e+=4)dn[n]=t.getUint32(e,!0);let n=0|this.h0,r=n,s=0|this.h1,i=s,o=0|this.h2,a=o,c=0|this.h3,u=c,l=0|this.h4,h=l;for(let t=0;t<5;t++){const e=4-t,f=ln[t],p=hn[t],d=sn[t],g=on[t],y=cn[t],m=un[t];for(let e=0;e<16;e++){const r=fn(n+pn(t,s,o,c)+dn[d[e]]+f,y[e])+l|0;n=l,l=c,c=0|fn(o,10),o=s,s=r}for(let t=0;t<16;t++){const n=fn(r+pn(e,i,a,u)+dn[g[t]]+p,m[t])+h|0;r=h,h=u,u=0|fn(a,10),a=i,i=n}}this.set(this.h1+o+u|0,this.h2+c+h|0,this.h3+l+r|0,this.h4+n+i|0,this.h0+s+a|0)}roundClean(){dn.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const yn=ne((()=>new gn));let mn=!1;const wn=function(t){return yn(t)};let bn=wn;function An(t){const e=A(t,"data");return N(bn(e))}An._=wn,An.lock=function(){mn=!0},An.register=function(t){if(mn)throw new TypeError("ripemd160 is locked");bn=t},Object.freeze(An);let vn=!1;const En=function(t,e,n,r,s){return function(t,e,n,r,s){const i={sha256:ge,sha512:Re}[s];return d(null!=i,"invalid pbkdf2 algorithm","algorithm",s),ae(i,t,e,{c:n,dkLen:r})}(t,e,n,r,s)};let kn=En;function Tn(t,e,n,r,s){const i=A(t,"password"),o=A(e,"salt");return N(kn(i,o,n,r,s))}Tn._=En,Tn.lock=function(){vn=!0},Tn.register=function(t){if(vn)throw new Error("pbkdf2 is locked");kn=t},Object.freeze(Tn);let Nn=!1;const xn=function(t){return new Uint8Array(function(t){p(null!=Ce,"platform does not support secure random numbers","UNSUPPORTED_OPERATION",{operation:"randomBytes"}),d(Number.isInteger(t)&&t>0&&t<=1024,"invalid length","length",t);const e=new Uint8Array(t);return Ce.getRandomValues(e),e}(t))};let Sn=xn;function On(t){return Sn(t)}On._=xn,On.lock=function(){Nn=!0},On.register=function(t){if(Nn)throw new Error("randomBytes is locked");Sn=t},Object.freeze(On);const Pn=(t,e)=>t<<e|t>>>32-e;function Rn(t,e,n,r,s,i){let o=t[e++]^n[r++],a=t[e++]^n[r++],c=t[e++]^n[r++],u=t[e++]^n[r++],l=t[e++]^n[r++],h=t[e++]^n[r++],f=t[e++]^n[r++],p=t[e++]^n[r++],d=t[e++]^n[r++],g=t[e++]^n[r++],y=t[e++]^n[r++],m=t[e++]^n[r++],w=t[e++]^n[r++],b=t[e++]^n[r++],A=t[e++]^n[r++],v=t[e++]^n[r++],E=o,k=a,T=c,N=u,x=l,S=h,O=f,P=p,R=d,I=g,C=y,B=m,D=w,U=b,L=A,F=v;for(let t=0;t<8;t+=2)x^=Pn(E+D|0,7),R^=Pn(x+E|0,9),D^=Pn(R+x|0,13),E^=Pn(D+R|0,18),I^=Pn(S+k|0,7),U^=Pn(I+S|0,9),k^=Pn(U+I|0,13),S^=Pn(k+U|0,18),L^=Pn(C+O|0,7),T^=Pn(L+C|0,9),O^=Pn(T+L|0,13),C^=Pn(O+T|0,18),N^=Pn(F+B|0,7),P^=Pn(N+F|0,9),B^=Pn(P+N|0,13),F^=Pn(B+P|0,18),k^=Pn(E+N|0,7),T^=Pn(k+E|0,9),N^=Pn(T+k|0,13),E^=Pn(N+T|0,18),O^=Pn(S+x|0,7),P^=Pn(O+S|0,9),x^=Pn(P+O|0,13),S^=Pn(x+P|0,18),B^=Pn(C+I|0,7),R^=Pn(B+C|0,9),I^=Pn(R+B|0,13),C^=Pn(I+R|0,18),D^=Pn(F+L|0,7),U^=Pn(D+F|0,9),L^=Pn(U+D|0,13),F^=Pn(L+U|0,18);s[i++]=o+E|0,s[i++]=a+k|0,s[i++]=c+T|0,s[i++]=u+N|0,s[i++]=l+x|0,s[i++]=h+S|0,s[i++]=f+O|0,s[i++]=p+P|0,s[i++]=d+R|0,s[i++]=g+I|0,s[i++]=y+C|0,s[i++]=m+B|0,s[i++]=w+D|0,s[i++]=b+U|0,s[i++]=A+L|0,s[i++]=v+F|0}function In(t,e,n,r,s){let i=r+0,o=r+16*s;for(let r=0;r<16;r++)n[o+r]=t[e+16*(2*s-1)+r];for(let r=0;r<s;r++,i+=16,e+=16)Rn(n,o,t,e,n,i),r>0&&(o+=16),Rn(n,i,t,e+=16,n,o)}function Cn(t,e,n){const r=ee({dkLen:32,asyncTick:10,maxmem:1073742848},n),{N:s,r:i,p:o,dkLen:a,asyncTick:c,maxmem:u,onProgress:l}=r;if(Gt(s),Gt(i),Gt(o),Gt(a),Gt(c),Gt(u),void 0!==l&&"function"!=typeof l)throw new Error("progressCb should be function");const h=128*i,f=h/4;if(s<=1||s&s-1||s>=2**(h/8)||s>2**32)throw new Error("Scrypt: N must be larger than 1, a power of 2, less than 2^(128 * r / 8) and less than 2^32");if(o<0||o>137438953440/h)throw new Error("Scrypt: p must be a positive integer less than or equal to ((2^32 - 1) * 32) / (128 * r)");if(a<0||a>137438953440)throw new Error("Scrypt: dkLen should be positive integer less than or equal to (2^32 - 1) * 32");const p=h*(s+o);if(p>u)throw new Error(`Scrypt: parameters too large, ${p} (128 * r * (N + p)) > ${u} (maxmem)`);const d=ae(ge,t,e,{c:1,dkLen:h*o}),g=zt(d),y=zt(new Uint8Array(h*s)),m=zt(new Uint8Array(h));let w=()=>{};if(l){const t=2*s*o,e=Math.max(Math.floor(t/1e4),1);let n=0;w=()=>{n++,!l||n%e&&n!==t||l(n/t)}}return{N:s,r:i,p:o,dkLen:a,blockSize32:f,V:y,B32:g,B:d,tmp:m,blockMixCb:w,asyncTick:c}}function Bn(t,e,n,r,s){const i=ae(ge,t,n,{c:1,dkLen:e});return n.fill(0),r.fill(0),s.fill(0),i}let Dn=!1,Un=!1;const Ln=async function(t,e,n,r,s,i,o){return await async function(t,e,n){const{N:r,r:s,p:i,dkLen:o,blockSize32:a,V:c,B32:u,B:l,tmp:h,blockMixCb:f,asyncTick:p}=Cn(t,e,n);for(let t=0;t<i;t++){const e=a*t;for(let t=0;t<a;t++)c[t]=u[e+t];let n=0;await Wt(r-1,p,(()=>{In(c,n,c,n+=a,s),f()})),In(c,(r-1)*a,u,e,s),f(),await Wt(r,p,(()=>{const t=u[e+a-16]%r;for(let n=0;n<a;n++)h[n]=u[e+n]^c[t*a+n];In(h,0,u,e,s),f()}))}return Bn(t,o,l,c,h)}(t,e,{N:n,r:r,p:s,dkLen:i,onProgress:o})},Fn=function(t,e,n,r,s,i){return function(t,e,n){const{N:r,r:s,p:i,dkLen:o,blockSize32:a,V:c,B32:u,B:l,tmp:h,blockMixCb:f}=Cn(t,e,n);for(let t=0;t<i;t++){const e=a*t;for(let t=0;t<a;t++)c[t]=u[e+t];for(let t=0,e=0;t<r-1;t++)In(c,e,c,e+=a,s),f();In(c,(r-1)*a,u,e,s),f();for(let t=0;t<r;t++){const t=u[e+a-16]%r;for(let n=0;n<a;n++)h[n]=u[e+n]^c[t*a+n];In(h,0,u,e,s),f()}}return Bn(t,o,l,c,h)}(t,e,{N:n,r:r,p:s,dkLen:i})};let Mn=Ln,_n=Fn;async function Gn(t,e,n,r,s,i,o){const a=A(t,"passwd"),c=A(e,"salt");return N(await Mn(a,c,n,r,s,i,o))}function jn(t,e,n,r,s,i){const o=A(t,"passwd"),a=A(e,"salt");return N(_n(o,a,n,r,s,i))}Gn._=Ln,Gn.lock=function(){Un=!0},Gn.register=function(t){if(Un)throw new Error("scrypt is locked");Mn=t},Object.freeze(Gn),jn._=Fn,jn.lock=function(){Dn=!0},jn.register=function(t){if(Dn)throw new Error("scryptSync is locked");_n=t},Object.freeze(jn);const Hn=function(t){return function(t){switch(t){case"sha256":return ge.create();case"sha512":return Re.create()}d(!1,"invalid hashing algorithm name","algorithm",t)}("sha256").update(t).digest()};let Kn=Hn,Vn=!1;function Qn(t){const e=A(t,"data");return N(Kn(e))}Qn._=Hn,Qn.lock=function(){Vn=!0},Qn.register=function(t){if(Vn)throw new Error("sha256 is locked");Kn=t},Object.freeze(Qn),Object.freeze(Qn);
|
1
|
+
var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var u,t,e,r,s,i={exports:{}},o={exports:{}};function a(){return u||(u=1,n=o,function(l){n.exports&&(n.exports=l),l["encoding-indexes"]={big5:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,17392,19506,17923,17830,17784,160359,19831,17843,162993,19682,163013,15253,18230,18244,19527,19520,148159,144919,160594,159371,159954,19543,172881,18255,17882,19589,162924,19719,19108,18081,158499,29221,154196,137827,146950,147297,26189,22267,null,32149,22813,166841,15860,38708,162799,23515,138590,23204,13861,171696,23249,23479,23804,26478,34195,170309,29793,29853,14453,138579,145054,155681,16108,153822,15093,31484,40855,147809,166157,143850,133770,143966,17162,33924,40854,37935,18736,34323,22678,38730,37400,31184,31282,26208,27177,34973,29772,31685,26498,31276,21071,36934,13542,29636,155065,29894,40903,22451,18735,21580,16689,145038,22552,31346,162661,35727,18094,159368,16769,155033,31662,140476,40904,140481,140489,140492,40905,34052,144827,16564,40906,17633,175615,25281,28782,40907,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,12736,12737,12738,12739,12740,131340,12741,131281,131277,12742,12743,131275,139240,12744,131274,12745,12746,12747,12748,131342,12749,12750,256,193,461,192,274,201,282,200,332,211,465,210,null,7870,null,7872,202,257,225,462,224,593,275,233,283,232,299,237,464,236,333,243,466,242,363,250,468,249,470,472,474,476,252,null,7871,null,7873,234,609,9178,9179,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,172969,135493,null,25866,null,null,20029,28381,40270,37343,null,null,161589,25745,20250,20264,20392,20822,20852,20892,20964,21153,21160,21307,21326,21457,21464,22242,22768,22788,22791,22834,22836,23398,23454,23455,23706,24198,24635,25993,26622,26628,26725,27982,28860,30005,32420,32428,32442,32455,32463,32479,32518,32567,33402,33487,33647,35270,35774,35810,36710,36711,36718,29713,31996,32205,26950,31433,21031,null,null,null,null,37260,30904,37214,32956,null,36107,33014,133607,null,null,32927,40647,19661,40393,40460,19518,171510,159758,40458,172339,13761,null,28314,33342,29977,null,18705,39532,39567,40857,31111,164972,138698,132560,142054,20004,20097,20096,20103,20159,20203,20279,13388,20413,15944,20483,20616,13437,13459,13477,20870,22789,20955,20988,20997,20105,21113,21136,21287,13767,21417,13649,21424,13651,21442,21539,13677,13682,13953,21651,21667,21684,21689,21712,21743,21784,21795,21800,13720,21823,13733,13759,21975,13765,163204,21797,null,134210,134421,151851,21904,142534,14828,131905,36422,150968,169189,16467,164030,30586,142392,14900,18389,164189,158194,151018,25821,134524,135092,134357,135412,25741,36478,134806,134155,135012,142505,164438,148691,null,134470,170573,164073,18420,151207,142530,39602,14951,169460,16365,13574,152263,169940,161992,142660,40302,38933,null,17369,155813,25780,21731,142668,142282,135287,14843,135279,157402,157462,162208,25834,151634,134211,36456,139681,166732,132913,null,18443,131497,16378,22643,142733,null,148936,132348,155799,134988,134550,21881,16571,17338,null,19124,141926,135325,33194,39157,134556,25465,14846,141173,36288,22177,25724,15939,null,173569,134665,142031,142537,null,135368,145858,14738,14854,164507,13688,155209,139463,22098,134961,142514,169760,13500,27709,151099,null,null,161140,142987,139784,173659,167117,134778,134196,157724,32659,135375,141315,141625,13819,152035,134796,135053,134826,16275,134960,134471,135503,134732,null,134827,134057,134472,135360,135485,16377,140950,25650,135085,144372,161337,142286,134526,134527,142417,142421,14872,134808,135367,134958,173618,158544,167122,167321,167114,38314,21708,33476,21945,null,171715,39974,39606,161630,142830,28992,33133,33004,23580,157042,33076,14231,21343,164029,37302,134906,134671,134775,134907,13789,151019,13833,134358,22191,141237,135369,134672,134776,135288,135496,164359,136277,134777,151120,142756,23124,135197,135198,135413,135414,22428,134673,161428,164557,135093,134779,151934,14083,135094,135552,152280,172733,149978,137274,147831,164476,22681,21096,13850,153405,31666,23400,18432,19244,40743,18919,39967,39821,154484,143677,22011,13810,22153,20008,22786,138177,194680,38737,131206,20059,20155,13630,23587,24401,24516,14586,25164,25909,27514,27701,27706,28780,29227,20012,29357,149737,32594,31035,31993,32595,156266,13505,null,156491,32770,32896,157202,158033,21341,34916,35265,161970,35744,36125,38021,38264,38271,38376,167439,38886,39029,39118,39134,39267,17e4,40060,40479,40644,27503,63751,20023,131207,38429,25143,38050,null,20539,28158,171123,40870,15817,34959,147790,28791,23797,19232,152013,13657,154928,24866,166450,36775,37366,29073,26393,29626,144001,172295,15499,137600,19216,30948,29698,20910,165647,16393,27235,172730,16931,34319,133743,31274,170311,166634,38741,28749,21284,139390,37876,30425,166371,40871,30685,20131,20464,20668,20015,20247,40872,21556,32139,22674,22736,138678,24210,24217,24514,141074,25995,144377,26905,27203,146531,27903,null,29184,148741,29580,16091,150035,23317,29881,35715,154788,153237,31379,31724,31939,32364,33528,34199,40873,34960,40874,36537,40875,36815,34143,39392,37409,40876,167353,136255,16497,17058,23066,null,null,null,39016,26475,17014,22333,null,34262,149883,33471,160013,19585,159092,23931,158485,159678,40877,40878,23446,40879,26343,32347,28247,31178,15752,17603,143958,141206,17306,17718,null,23765,146202,35577,23672,15634,144721,23928,40882,29015,17752,147692,138787,19575,14712,13386,131492,158785,35532,20404,131641,22975,33132,38998,170234,24379,134047,null,139713,166253,16642,18107,168057,16135,40883,172469,16632,14294,18167,158790,16764,165554,160767,17773,14548,152730,17761,17691,19849,19579,19830,17898,16328,150287,13921,17630,17597,16877,23870,23880,23894,15868,14351,23972,23993,14368,14392,24130,24253,24357,24451,14600,14612,14655,14669,24791,24893,23781,14729,25015,25017,25039,14776,25132,25232,25317,25368,14840,22193,14851,25570,25595,25607,25690,14923,25792,23829,22049,40863,14999,25990,15037,26111,26195,15090,26258,15138,26390,15170,26532,26624,15192,26698,26756,15218,15217,15227,26889,26947,29276,26980,27039,27013,15292,27094,15325,27237,27252,27249,27266,15340,27289,15346,27307,27317,27348,27382,27521,27585,27626,27765,27818,15563,27906,27910,27942,28033,15599,28068,28081,28181,28184,28201,28294,166336,28347,28386,28378,40831,28392,28393,28452,28468,15686,147265,28545,28606,15722,15733,29111,23705,15754,28716,15761,28752,28756,28783,28799,28809,131877,17345,13809,134872,147159,22462,159443,28990,153568,13902,27042,166889,23412,31305,153825,169177,31333,31357,154028,31419,31408,31426,31427,29137,156813,16842,31450,31453,31466,16879,21682,154625,31499,31573,31529,152334,154878,31650,31599,33692,154548,158847,31696,33825,31634,31672,154912,15789,154725,33938,31738,31750,31797,154817,31812,31875,149634,31910,26237,148856,31945,31943,31974,31860,31987,31989,31950,32359,17693,159300,32093,159446,29837,32137,32171,28981,32179,32210,147543,155689,32228,15635,32245,137209,32229,164717,32285,155937,155994,32366,32402,17195,37996,32295,32576,32577,32583,31030,156368,39393,32663,156497,32675,136801,131176,17756,145254,17667,164666,32762,156809,32773,32776,32797,32808,32815,172167,158915,32827,32828,32865,141076,18825,157222,146915,157416,26405,32935,166472,33031,33050,22704,141046,27775,156824,151480,25831,136330,33304,137310,27219,150117,150165,17530,33321,133901,158290,146814,20473,136445,34018,33634,158474,149927,144688,137075,146936,33450,26907,194964,16859,34123,33488,33562,134678,137140,14017,143741,144730,33403,33506,33560,147083,159139,158469,158615,144846,15807,33565,21996,33669,17675,159141,33708,33729,33747,13438,159444,27223,34138,13462,159298,143087,33880,154596,33905,15827,17636,27303,33866,146613,31064,33960,158614,159351,159299,34014,33807,33681,17568,33939,34020,154769,16960,154816,17731,34100,23282,159385,17703,34163,17686,26559,34326,165413,165435,34241,159880,34306,136578,159949,194994,17770,34344,13896,137378,21495,160666,34430,34673,172280,34798,142375,34737,34778,34831,22113,34412,26710,17935,34885,34886,161248,146873,161252,34910,34972,18011,34996,34997,25537,35013,30583,161551,35207,35210,35238,35241,35239,35260,166437,35303,162084,162493,35484,30611,37374,35472,162393,31465,162618,147343,18195,162616,29052,35596,35615,152624,152933,35647,35660,35661,35497,150138,35728,35739,35503,136927,17941,34895,35995,163156,163215,195028,14117,163155,36054,163224,163261,36114,36099,137488,36059,28764,36113,150729,16080,36215,36265,163842,135188,149898,15228,164284,160012,31463,36525,36534,36547,37588,36633,36653,164709,164882,36773,37635,172703,133712,36787,18730,166366,165181,146875,24312,143970,36857,172052,165564,165121,140069,14720,159447,36919,165180,162494,36961,165228,165387,37032,165651,37060,165606,37038,37117,37223,15088,37289,37316,31916,166195,138889,37390,27807,37441,37474,153017,37561,166598,146587,166668,153051,134449,37676,37739,166625,166891,28815,23235,166626,166629,18789,37444,166892,166969,166911,37747,37979,36540,38277,38310,37926,38304,28662,17081,140922,165592,135804,146990,18911,27676,38523,38550,16748,38563,159445,25050,38582,30965,166624,38589,21452,18849,158904,131700,156688,168111,168165,150225,137493,144138,38705,34370,38710,18959,17725,17797,150249,28789,23361,38683,38748,168405,38743,23370,168427,38751,37925,20688,143543,143548,38793,38815,38833,38846,38848,38866,38880,152684,38894,29724,169011,38911,38901,168989,162170,19153,38964,38963,38987,39014,15118,160117,15697,132656,147804,153350,39114,39095,39112,39111,19199,159015,136915,21936,39137,39142,39148,37752,39225,150057,19314,170071,170245,39413,39436,39483,39440,39512,153381,14020,168113,170965,39648,39650,170757,39668,19470,39700,39725,165376,20532,39732,158120,14531,143485,39760,39744,171326,23109,137315,39822,148043,39938,39935,39948,171624,40404,171959,172434,172459,172257,172323,172511,40318,40323,172340,40462,26760,40388,139611,172435,172576,137531,172595,40249,172217,172724,40592,40597,40606,40610,19764,40618,40623,148324,40641,15200,14821,15645,20274,14270,166955,40706,40712,19350,37924,159138,40727,40726,40761,22175,22154,40773,39352,168075,38898,33919,40802,40809,31452,40846,29206,19390,149877,149947,29047,150008,148296,150097,29598,166874,137466,31135,166270,167478,37737,37875,166468,37612,37761,37835,166252,148665,29207,16107,30578,31299,28880,148595,148472,29054,137199,28835,137406,144793,16071,137349,152623,137208,14114,136955,137273,14049,137076,137425,155467,14115,136896,22363,150053,136190,135848,136134,136374,34051,145062,34051,33877,149908,160101,146993,152924,147195,159826,17652,145134,170397,159526,26617,14131,15381,15847,22636,137506,26640,16471,145215,147681,147595,147727,158753,21707,22174,157361,22162,135135,134056,134669,37830,166675,37788,20216,20779,14361,148534,20156,132197,131967,20299,20362,153169,23144,131499,132043,14745,131850,132116,13365,20265,131776,167603,131701,35546,131596,20120,20685,20749,20386,20227,150030,147082,20290,20526,20588,20609,20428,20453,20568,20732,20825,20827,20829,20830,28278,144789,147001,147135,28018,137348,147081,20904,20931,132576,17629,132259,132242,132241,36218,166556,132878,21081,21156,133235,21217,37742,18042,29068,148364,134176,149932,135396,27089,134685,29817,16094,29849,29716,29782,29592,19342,150204,147597,21456,13700,29199,147657,21940,131909,21709,134086,22301,37469,38644,37734,22493,22413,22399,13886,22731,23193,166470,136954,137071,136976,23084,22968,37519,23166,23247,23058,153926,137715,137313,148117,14069,27909,29763,23073,155267,23169,166871,132115,37856,29836,135939,28933,18802,37896,166395,37821,14240,23582,23710,24158,24136,137622,137596,146158,24269,23375,137475,137476,14081,137376,14045,136958,14035,33066,166471,138682,144498,166312,24332,24334,137511,137131,23147,137019,23364,34324,161277,34912,24702,141408,140843,24539,16056,140719,140734,168072,159603,25024,131134,131142,140827,24985,24984,24693,142491,142599,149204,168269,25713,149093,142186,14889,142114,144464,170218,142968,25399,173147,25782,25393,25553,149987,142695,25252,142497,25659,25963,26994,15348,143502,144045,149897,144043,21773,144096,137433,169023,26318,144009,143795,15072,16784,152964,166690,152975,136956,152923,152613,30958,143619,137258,143924,13412,143887,143746,148169,26254,159012,26219,19347,26160,161904,138731,26211,144082,144097,26142,153714,14545,145466,145340,15257,145314,144382,29904,15254,26511,149034,26806,26654,15300,27326,14435,145365,148615,27187,27218,27337,27397,137490,25873,26776,27212,15319,27258,27479,147392,146586,37792,37618,166890,166603,37513,163870,166364,37991,28069,28427,149996,28007,147327,15759,28164,147516,23101,28170,22599,27940,30786,28987,148250,148086,28913,29264,29319,29332,149391,149285,20857,150180,132587,29818,147192,144991,150090,149783,155617,16134,16049,150239,166947,147253,24743,16115,29900,29756,37767,29751,17567,159210,17745,30083,16227,150745,150790,16216,30037,30323,173510,15129,29800,166604,149931,149902,15099,15821,150094,16127,149957,149747,37370,22322,37698,166627,137316,20703,152097,152039,30584,143922,30478,30479,30587,149143,145281,14942,149744,29752,29851,16063,150202,150215,16584,150166,156078,37639,152961,30750,30861,30856,30930,29648,31065,161601,153315,16654,31131,33942,31141,27181,147194,31290,31220,16750,136934,16690,37429,31217,134476,149900,131737,146874,137070,13719,21867,13680,13994,131540,134157,31458,23129,141045,154287,154268,23053,131675,30960,23082,154566,31486,16889,31837,31853,16913,154547,155324,155302,31949,150009,137136,31886,31868,31918,27314,32220,32263,32211,32590,156257,155996,162632,32151,155266,17002,158581,133398,26582,131150,144847,22468,156690,156664,149858,32733,31527,133164,154345,154947,31500,155150,39398,34373,39523,27164,144447,14818,150007,157101,39455,157088,33920,160039,158929,17642,33079,17410,32966,33033,33090,157620,39107,158274,33378,33381,158289,33875,159143,34320,160283,23174,16767,137280,23339,137377,23268,137432,34464,195004,146831,34861,160802,23042,34926,20293,34951,35007,35046,35173,35149,153219,35156,161669,161668,166901,166873,166812,166393,16045,33955,18165,18127,14322,35389,35356,169032,24397,37419,148100,26068,28969,28868,137285,40301,35999,36073,163292,22938,30659,23024,17262,14036,36394,36519,150537,36656,36682,17140,27736,28603,140065,18587,28537,28299,137178,39913,14005,149807,37051,37015,21873,18694,37307,37892,166475,16482,166652,37927,166941,166971,34021,35371,38297,38311,38295,38294,167220,29765,16066,149759,150082,148458,16103,143909,38543,167655,167526,167525,16076,149997,150136,147438,29714,29803,16124,38721,168112,26695,18973,168083,153567,38749,37736,166281,166950,166703,156606,37562,23313,35689,18748,29689,147995,38811,38769,39224,134950,24001,166853,150194,38943,169178,37622,169431,37349,17600,166736,150119,166756,39132,166469,16128,37418,18725,33812,39227,39245,162566,15869,39323,19311,39338,39516,166757,153800,27279,39457,23294,39471,170225,19344,170312,39356,19389,19351,37757,22642,135938,22562,149944,136424,30788,141087,146872,26821,15741,37976,14631,24912,141185,141675,24839,40015,40019,40059,39989,39952,39807,39887,171565,39839,172533,172286,40225,19630,147716,40472,19632,40204,172468,172269,172275,170287,40357,33981,159250,159711,158594,34300,17715,159140,159364,159216,33824,34286,159232,145367,155748,31202,144796,144960,18733,149982,15714,37851,37566,37704,131775,30905,37495,37965,20452,13376,36964,152925,30781,30804,30902,30795,137047,143817,149825,13978,20338,28634,28633,28702,28702,21524,147893,22459,22771,22410,40214,22487,28980,13487,147884,29163,158784,151447,23336,137141,166473,24844,23246,23051,17084,148616,14124,19323,166396,37819,37816,137430,134941,33906,158912,136211,148218,142374,148417,22932,146871,157505,32168,155995,155812,149945,149899,166394,37605,29666,16105,29876,166755,137375,16097,150195,27352,29683,29691,16086,150078,150164,137177,150118,132007,136228,149989,29768,149782,28837,149878,37508,29670,37727,132350,37681,166606,166422,37766,166887,153045,18741,166530,29035,149827,134399,22180,132634,134123,134328,21762,31172,137210,32254,136898,150096,137298,17710,37889,14090,166592,149933,22960,137407,137347,160900,23201,14050,146779,14e3,37471,23161,166529,137314,37748,15565,133812,19094,14730,20724,15721,15692,136092,29045,17147,164376,28175,168164,17643,27991,163407,28775,27823,15574,147437,146989,28162,28428,15727,132085,30033,14012,13512,18048,16090,18545,22980,37486,18750,36673,166940,158656,22546,22472,14038,136274,28926,148322,150129,143331,135856,140221,26809,26983,136088,144613,162804,145119,166531,145366,144378,150687,27162,145069,158903,33854,17631,17614,159014,159057,158850,159710,28439,160009,33597,137018,33773,158848,159827,137179,22921,23170,137139,23137,23153,137477,147964,14125,23023,137020,14023,29070,37776,26266,148133,23150,23083,148115,27179,147193,161590,148571,148170,28957,148057,166369,20400,159016,23746,148686,163405,148413,27148,148054,135940,28838,28979,148457,15781,27871,194597,150095,32357,23019,23855,15859,24412,150109,137183,32164,33830,21637,146170,144128,131604,22398,133333,132633,16357,139166,172726,28675,168283,23920,29583,31955,166489,168992,20424,32743,29389,29456,162548,29496,29497,153334,29505,29512,16041,162584,36972,29173,149746,29665,33270,16074,30476,16081,27810,22269,29721,29726,29727,16098,16112,16116,16122,29907,16142,16211,30018,30061,30066,30093,16252,30152,30172,16320,30285,16343,30324,16348,30330,151388,29064,22051,35200,22633,16413,30531,16441,26465,16453,13787,30616,16490,16495,23646,30654,30667,22770,30744,28857,30748,16552,30777,30791,30801,30822,33864,152885,31027,26627,31026,16643,16649,31121,31129,36795,31238,36796,16743,31377,16818,31420,33401,16836,31439,31451,16847,20001,31586,31596,31611,31762,31771,16992,17018,31867,31900,17036,31928,17044,31981,36755,28864,134351,32207,32212,32208,32253,32686,32692,29343,17303,32800,32805,31545,32814,32817,32852,15820,22452,28832,32951,33001,17389,33036,29482,33038,33042,30048,33044,17409,15161,33110,33113,33114,17427,22586,33148,33156,17445,33171,17453,33189,22511,33217,33252,33364,17551,33446,33398,33482,33496,33535,17584,33623,38505,27018,33797,28917,33892,24803,33928,17668,33982,34017,34040,34064,34104,34130,17723,34159,34160,34272,17783,34418,34450,34482,34543,38469,34699,17926,17943,34990,35071,35108,35143,35217,162151,35369,35384,35476,35508,35921,36052,36082,36124,18328,22623,36291,18413,20206,36410,21976,22356,36465,22005,36528,18487,36558,36578,36580,36589,36594,36791,36801,36810,36812,36915,39364,18605,39136,37395,18718,37416,37464,37483,37553,37550,37567,37603,37611,37619,37620,37629,37699,37764,37805,18757,18769,40639,37911,21249,37917,37933,37950,18794,37972,38009,38189,38306,18855,38388,38451,18917,26528,18980,38720,18997,38834,38850,22100,19172,24808,39097,19225,39153,22596,39182,39193,20916,39196,39223,39234,39261,39266,19312,39365,19357,39484,39695,31363,39785,39809,39901,39921,39924,19565,39968,14191,138178,40265,39994,40702,22096,40339,40381,40384,40444,38134,36790,40571,40620,40625,40637,40646,38108,40674,40689,40696,31432,40772,131220,131767,132e3,26906,38083,22956,132311,22592,38081,14265,132565,132629,132726,136890,22359,29043,133826,133837,134079,21610,194619,134091,21662,134139,134203,134227,134245,134268,24807,134285,22138,134325,134365,134381,134511,134578,134600,26965,39983,34725,134660,134670,134871,135056,134957,134771,23584,135100,24075,135260,135247,135286,26398,135291,135304,135318,13895,135359,135379,135471,135483,21348,33965,135907,136053,135990,35713,136567,136729,137155,137159,20088,28859,137261,137578,137773,137797,138282,138352,138412,138952,25283,138965,139029,29080,26709,139333,27113,14024,139900,140247,140282,141098,141425,141647,33533,141671,141715,142037,35237,142056,36768,142094,38840,142143,38983,39613,142412,null,142472,142519,154600,142600,142610,142775,142741,142914,143220,143308,143411,143462,144159,144350,24497,26184,26303,162425,144743,144883,29185,149946,30679,144922,145174,32391,131910,22709,26382,26904,146087,161367,155618,146961,147129,161278,139418,18640,19128,147737,166554,148206,148237,147515,148276,148374,150085,132554,20946,132625,22943,138920,15294,146687,148484,148694,22408,149108,14747,149295,165352,170441,14178,139715,35678,166734,39382,149522,149755,150037,29193,150208,134264,22885,151205,151430,132985,36570,151596,21135,22335,29041,152217,152601,147274,150183,21948,152646,152686,158546,37332,13427,152895,161330,152926,18200,152930,152934,153543,149823,153693,20582,13563,144332,24798,153859,18300,166216,154286,154505,154630,138640,22433,29009,28598,155906,162834,36950,156082,151450,35682,156674,156746,23899,158711,36662,156804,137500,35562,150006,156808,147439,156946,19392,157119,157365,141083,37989,153569,24981,23079,194765,20411,22201,148769,157436,20074,149812,38486,28047,158909,13848,35191,157593,157806,156689,157790,29151,157895,31554,168128,133649,157990,37124,158009,31301,40432,158202,39462,158253,13919,156777,131105,31107,158260,158555,23852,144665,33743,158621,18128,158884,30011,34917,159150,22710,14108,140685,159819,160205,15444,160384,160389,37505,139642,160395,37680,160486,149968,27705,38047,160848,134904,34855,35061,141606,164979,137137,28344,150058,137248,14756,14009,23568,31203,17727,26294,171181,170148,35139,161740,161880,22230,16607,136714,14753,145199,164072,136133,29101,33638,162269,168360,23143,19639,159919,166315,162301,162314,162571,163174,147834,31555,31102,163849,28597,172767,27139,164632,21410,159239,37823,26678,38749,164207,163875,158133,136173,143919,163912,23941,166960,163971,22293,38947,166217,23979,149896,26046,27093,21458,150181,147329,15377,26422,163984,164084,164142,139169,164175,164233,164271,164378,164614,164655,164746,13770,164968,165546,18682,25574,166230,30728,37461,166328,17394,166375,17375,166376,166726,166868,23032,166921,36619,167877,168172,31569,168208,168252,15863,168286,150218,36816,29327,22155,169191,169449,169392,169400,169778,170193,170313,170346,170435,170536,170766,171354,171419,32415,171768,171811,19620,38215,172691,29090,172799,19857,36882,173515,19868,134300,36798,21953,36794,140464,36793,150163,17673,32383,28502,27313,20202,13540,166700,161949,14138,36480,137205,163876,166764,166809,162366,157359,15851,161365,146615,153141,153942,20122,155265,156248,22207,134765,36366,23405,147080,150686,25566,25296,137206,137339,25904,22061,154698,21530,152337,15814,171416,19581,22050,22046,32585,155352,22901,146752,34672,19996,135146,134473,145082,33047,40286,36120,30267,40005,30286,30649,37701,21554,33096,33527,22053,33074,33816,32957,21994,31074,22083,21526,134813,13774,22021,22001,26353,164578,13869,30004,22e3,21946,21655,21874,134209,134294,24272,151880,134774,142434,134818,40619,32090,21982,135285,25245,38765,21652,36045,29174,37238,25596,25529,25598,21865,142147,40050,143027,20890,13535,134567,20903,21581,21790,21779,30310,36397,157834,30129,32950,34820,34694,35015,33206,33820,135361,17644,29444,149254,23440,33547,157843,22139,141044,163119,147875,163187,159440,160438,37232,135641,37384,146684,173737,134828,134905,29286,138402,18254,151490,163833,135147,16634,40029,25887,142752,18675,149472,171388,135148,134666,24674,161187,135149,null,155720,135559,29091,32398,40272,19994,19972,13687,23309,27826,21351,13996,14812,21373,13989,149016,22682,150382,33325,21579,22442,154261,133497,null,14930,140389,29556,171692,19721,39917,146686,171824,19547,151465,169374,171998,33884,146870,160434,157619,145184,25390,32037,147191,146988,14890,36872,21196,15988,13946,17897,132238,30272,23280,134838,30842,163630,22695,16575,22140,39819,23924,30292,173108,40581,19681,30201,14331,24857,143578,148466,null,22109,135849,22439,149859,171526,21044,159918,13741,27722,40316,31830,39737,22494,137068,23635,25811,169168,156469,160100,34477,134440,159010,150242,134513,null,20990,139023,23950,38659,138705,40577,36940,31519,39682,23761,31651,25192,25397,39679,31695,39722,31870,39726,31810,31878,39957,31740,39689,40727,39963,149822,40794,21875,23491,20477,40600,20466,21088,15878,21201,22375,20566,22967,24082,38856,40363,36700,21609,38836,39232,38842,21292,24880,26924,21466,39946,40194,19515,38465,27008,20646,30022,137069,39386,21107,null,37209,38529,37212,null,37201,167575,25471,159011,27338,22033,37262,30074,25221,132092,29519,31856,154657,146685,null,149785,30422,39837,20010,134356,33726,34882,null,23626,27072,20717,22394,21023,24053,20174,27697,131570,20281,21660,21722,21146,36226,13822,24332,13811,null,27474,37244,40869,39831,38958,39092,39610,40616,40580,29050,31508,null,27642,34840,32632,null,22048,173642,36471,40787,null,36308,36431,40476,36353,25218,164733,36392,36469,31443,150135,31294,30936,27882,35431,30215,166490,40742,27854,34774,30147,172722,30803,194624,36108,29410,29553,35629,29442,29937,36075,150203,34351,24506,34976,17591,null,137275,159237,null,35454,140571,null,24829,30311,39639,40260,37742,39823,34805,null,34831,36087,29484,38689,39856,13782,29362,19463,31825,39242,155993,24921,19460,40598,24957,null,22367,24943,25254,25145,25294,14940,25058,21418,144373,25444,26626,13778,23895,166850,36826,167481,null,20697,138566,30982,21298,38456,134971,16485,null,30718,null,31938,155418,31962,31277,32870,32867,32077,29957,29938,35220,33306,26380,32866,160902,32859,29936,33027,30500,35209,157644,30035,159441,34729,34766,33224,34700,35401,36013,35651,30507,29944,34010,13877,27058,36262,null,35241,29800,28089,34753,147473,29927,15835,29046,24740,24988,15569,29026,24695,null,32625,166701,29264,24809,19326,21024,15384,146631,155351,161366,152881,137540,135934,170243,159196,159917,23745,156077,166415,145015,131310,157766,151310,17762,23327,156492,40784,40614,156267,12288,65292,12289,12290,65294,8231,65307,65306,65311,65281,65072,8230,8229,65104,65105,65106,183,65108,65109,65110,65111,65372,8211,65073,8212,65075,9588,65076,65103,65288,65289,65077,65078,65371,65373,65079,65080,12308,12309,65081,65082,12304,12305,65083,65084,12298,12299,65085,65086,12296,12297,65087,65088,12300,12301,65089,65090,12302,12303,65091,65092,65113,65114,65115,65116,65117,65118,8216,8217,8220,8221,12317,12318,8245,8242,65283,65286,65290,8251,167,12291,9675,9679,9651,9650,9678,9734,9733,9671,9670,9633,9632,9661,9660,12963,8453,175,65507,65343,717,65097,65098,65101,65102,65099,65100,65119,65120,65121,65291,65293,215,247,177,8730,65308,65310,65309,8806,8807,8800,8734,8786,8801,65122,65123,65124,65125,65126,65374,8745,8746,8869,8736,8735,8895,13266,13265,8747,8750,8757,8756,9792,9794,8853,8857,8593,8595,8592,8594,8598,8599,8601,8600,8741,8739,65295,65340,8725,65128,65284,65509,12306,65504,65505,65285,65312,8451,8457,65129,65130,65131,13269,13212,13213,13214,13262,13217,13198,13199,13252,176,20825,20827,20830,20829,20833,20835,21991,29929,31950,9601,9602,9603,9604,9605,9606,9607,9608,9615,9614,9613,9612,9611,9610,9609,9532,9524,9516,9508,9500,9620,9472,9474,9621,9484,9488,9492,9496,9581,9582,9584,9583,9552,9566,9578,9569,9698,9699,9701,9700,9585,9586,9587,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,12321,12322,12323,12324,12325,12326,12327,12328,12329,21313,21316,21317,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,12549,12550,12551,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,729,713,714,711,715,9216,9217,9218,9219,9220,9221,9222,9223,9224,9225,9226,9227,9228,9229,9230,9231,9232,9233,9234,9235,9236,9237,9238,9239,9240,9241,9242,9243,9244,9245,9246,9247,9249,8364,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,19968,20057,19969,19971,20035,20061,20102,20108,20154,20799,20837,20843,20960,20992,20993,21147,21269,21313,21340,21448,19977,19979,19976,19978,20011,20024,20961,20037,20040,20063,20062,20110,20129,20800,20995,21242,21315,21449,21475,22303,22763,22805,22823,22899,23376,23377,23379,23544,23567,23586,23608,23665,24029,24037,24049,24050,24051,24062,24178,24318,24331,24339,25165,19985,19984,19981,20013,20016,20025,20043,23609,20104,20113,20117,20114,20116,20130,20161,20160,20163,20166,20167,20173,20170,20171,20164,20803,20801,20839,20845,20846,20844,20887,20982,20998,20999,21e3,21243,21246,21247,21270,21305,21320,21319,21317,21342,21380,21451,21450,21453,22764,22825,22827,22826,22829,23380,23569,23588,23610,23663,24052,24187,24319,24340,24341,24515,25096,25142,25163,25166,25903,25991,26007,26020,26041,26085,26352,26376,26408,27424,27490,27513,27595,27604,27611,27663,27700,28779,29226,29238,29243,29255,29273,29275,29356,29579,19993,19990,19989,19988,19992,20027,20045,20047,20046,20197,20184,20180,20181,20182,20183,20195,20196,20185,20190,20805,20804,20873,20874,20908,20985,20986,20984,21002,21152,21151,21253,21254,21271,21277,20191,21322,21321,21345,21344,21359,21358,21435,21487,21476,21491,21484,21486,21481,21480,21500,21496,21493,21483,21478,21482,21490,21489,21488,21477,21485,21499,22235,22234,22806,22830,22833,22900,22902,23381,23427,23612,24040,24039,24038,24066,24067,24179,24188,24321,24344,24343,24517,25098,25171,25172,25170,25169,26021,26086,26414,26412,26410,26411,26413,27491,27597,27665,27664,27704,27713,27712,27710,29359,29572,29577,29916,29926,29976,29983,29992,29993,3e4,30001,30002,30003,30091,30333,30382,30399,30446,30683,30690,30707,31034,31166,31348,31435,19998,19999,20050,20051,20073,20121,20132,20134,20133,20223,20233,20249,20234,20245,20237,20240,20241,20239,20210,20214,20219,20208,20211,20221,20225,20235,20809,20807,20806,20808,20840,20849,20877,20912,21015,21009,21010,21006,21014,21155,21256,21281,21280,21360,21361,21513,21519,21516,21514,21520,21505,21515,21508,21521,21517,21512,21507,21518,21510,21522,22240,22238,22237,22323,22320,22312,22317,22316,22319,22313,22809,22810,22839,22840,22916,22904,22915,22909,22905,22914,22913,23383,23384,23431,23432,23429,23433,23546,23574,23673,24030,24070,24182,24180,24335,24347,24537,24534,25102,25100,25101,25104,25187,25179,25176,25910,26089,26088,26092,26093,26354,26355,26377,26429,26420,26417,26421,27425,27492,27515,27670,27741,27735,27737,27743,27744,27728,27733,27745,27739,27725,27726,28784,29279,29277,30334,31481,31859,31992,32566,32650,32701,32769,32771,32780,32786,32819,32895,32905,32907,32908,33251,33258,33267,33276,33292,33307,33311,33390,33394,33406,34411,34880,34892,34915,35199,38433,20018,20136,20301,20303,20295,20311,20318,20276,20315,20309,20272,20304,20305,20285,20282,20280,20291,20308,20284,20294,20323,20316,20320,20271,20302,20278,20313,20317,20296,20314,20812,20811,20813,20853,20918,20919,21029,21028,21033,21034,21032,21163,21161,21162,21164,21283,21363,21365,21533,21549,21534,21566,21542,21582,21543,21574,21571,21555,21576,21570,21531,21545,21578,21561,21563,21560,21550,21557,21558,21536,21564,21568,21553,21547,21535,21548,22250,22256,22244,22251,22346,22353,22336,22349,22343,22350,22334,22352,22351,22331,22767,22846,22941,22930,22952,22942,22947,22937,22934,22925,22948,22931,22922,22949,23389,23388,23386,23387,23436,23435,23439,23596,23616,23617,23615,23614,23696,23697,23700,23692,24043,24076,24207,24199,24202,24311,24324,24351,24420,24418,24439,24441,24536,24524,24535,24525,24561,24555,24568,24554,25106,25105,25220,25239,25238,25216,25206,25225,25197,25226,25212,25214,25209,25203,25234,25199,25240,25198,25237,25235,25233,25222,25913,25915,25912,26097,26356,26463,26446,26447,26448,26449,26460,26454,26462,26441,26438,26464,26451,26455,27493,27599,27714,27742,27801,27777,27784,27785,27781,27803,27754,27770,27792,27760,27788,27752,27798,27794,27773,27779,27762,27774,27764,27782,27766,27789,27796,27800,27778,28790,28796,28797,28792,29282,29281,29280,29380,29378,29590,29996,29995,30007,30008,30338,30447,30691,31169,31168,31167,31350,31995,32597,32918,32915,32925,32920,32923,32922,32946,33391,33426,33419,33421,35211,35282,35328,35895,35910,35925,35997,36196,36208,36275,36523,36554,36763,36784,36802,36806,36805,36804,24033,37009,37026,37034,37030,37027,37193,37318,37324,38450,38446,38449,38442,38444,20006,20054,20083,20107,20123,20126,20139,20140,20335,20381,20365,20339,20351,20332,20379,20363,20358,20355,20336,20341,20360,20329,20347,20374,20350,20367,20369,20346,20820,20818,20821,20841,20855,20854,20856,20925,20989,21051,21048,21047,21050,21040,21038,21046,21057,21182,21179,21330,21332,21331,21329,21350,21367,21368,21369,21462,21460,21463,21619,21621,21654,21624,21653,21632,21627,21623,21636,21650,21638,21628,21648,21617,21622,21644,21658,21602,21608,21643,21629,21646,22266,22403,22391,22378,22377,22369,22374,22372,22396,22812,22857,22855,22856,22852,22868,22974,22971,22996,22969,22958,22993,22982,22992,22989,22987,22995,22986,22959,22963,22994,22981,23391,23396,23395,23447,23450,23448,23452,23449,23451,23578,23624,23621,23622,23735,23713,23736,23721,23723,23729,23731,24088,24090,24086,24085,24091,24081,24184,24218,24215,24220,24213,24214,24310,24358,24359,24361,24448,24449,24447,24444,24541,24544,24573,24565,24575,24591,24596,24623,24629,24598,24618,24597,24609,24615,24617,24619,24603,25110,25109,25151,25150,25152,25215,25289,25292,25284,25279,25282,25273,25298,25307,25259,25299,25300,25291,25288,25256,25277,25276,25296,25305,25287,25293,25269,25306,25265,25304,25302,25303,25286,25260,25294,25918,26023,26044,26106,26132,26131,26124,26118,26114,26126,26112,26127,26133,26122,26119,26381,26379,26477,26507,26517,26481,26524,26483,26487,26503,26525,26519,26479,26480,26495,26505,26494,26512,26485,26522,26515,26492,26474,26482,27427,27494,27495,27519,27667,27675,27875,27880,27891,27825,27852,27877,27827,27837,27838,27836,27874,27819,27861,27859,27832,27844,27833,27841,27822,27863,27845,27889,27839,27835,27873,27867,27850,27820,27887,27868,27862,27872,28821,28814,28818,28810,28825,29228,29229,29240,29256,29287,29289,29376,29390,29401,29399,29392,29609,29608,29599,29611,29605,30013,30109,30105,30106,30340,30402,30450,30452,30693,30717,31038,31040,31041,31177,31176,31354,31353,31482,31998,32596,32652,32651,32773,32954,32933,32930,32945,32929,32939,32937,32948,32938,32943,33253,33278,33293,33459,33437,33433,33453,33469,33439,33465,33457,33452,33445,33455,33464,33443,33456,33470,33463,34382,34417,21021,34920,36555,36814,36820,36817,37045,37048,37041,37046,37319,37329,38263,38272,38428,38464,38463,38459,38468,38466,38585,38632,38738,38750,20127,20141,20142,20449,20405,20399,20415,20448,20433,20431,20445,20419,20406,20440,20447,20426,20439,20398,20432,20420,20418,20442,20430,20446,20407,20823,20882,20881,20896,21070,21059,21066,21069,21068,21067,21063,21191,21193,21187,21185,21261,21335,21371,21402,21467,21676,21696,21672,21710,21705,21688,21670,21683,21703,21698,21693,21674,21697,21700,21704,21679,21675,21681,21691,21673,21671,21695,22271,22402,22411,22432,22435,22434,22478,22446,22419,22869,22865,22863,22862,22864,23004,23e3,23039,23011,23016,23043,23013,23018,23002,23014,23041,23035,23401,23459,23462,23460,23458,23461,23553,23630,23631,23629,23627,23769,23762,24055,24093,24101,24095,24189,24224,24230,24314,24328,24365,24421,24456,24453,24458,24459,24455,24460,24457,24594,24605,24608,24613,24590,24616,24653,24688,24680,24674,24646,24643,24684,24683,24682,24676,25153,25308,25366,25353,25340,25325,25345,25326,25341,25351,25329,25335,25327,25324,25342,25332,25361,25346,25919,25925,26027,26045,26082,26149,26157,26144,26151,26159,26143,26152,26161,26148,26359,26623,26579,26609,26580,26576,26604,26550,26543,26613,26601,26607,26564,26577,26548,26586,26597,26552,26575,26590,26611,26544,26585,26594,26589,26578,27498,27523,27526,27573,27602,27607,27679,27849,27915,27954,27946,27969,27941,27916,27953,27934,27927,27963,27965,27966,27958,27931,27893,27961,27943,27960,27945,27950,27957,27918,27947,28843,28858,28851,28844,28847,28845,28856,28846,28836,29232,29298,29295,29300,29417,29408,29409,29623,29642,29627,29618,29645,29632,29619,29978,29997,30031,30028,30030,30027,30123,30116,30117,30114,30115,30328,30342,30343,30344,30408,30406,30403,30405,30465,30457,30456,30473,30475,30462,30460,30471,30684,30722,30740,30732,30733,31046,31049,31048,31047,31161,31162,31185,31186,31179,31359,31361,31487,31485,31869,32002,32005,32e3,32009,32007,32004,32006,32568,32654,32703,32772,32784,32781,32785,32822,32982,32997,32986,32963,32964,32972,32993,32987,32974,32990,32996,32989,33268,33314,33511,33539,33541,33507,33499,33510,33540,33509,33538,33545,33490,33495,33521,33537,33500,33492,33489,33502,33491,33503,33519,33542,34384,34425,34427,34426,34893,34923,35201,35284,35336,35330,35331,35998,36e3,36212,36211,36276,36557,36556,36848,36838,36834,36842,36837,36845,36843,36836,36840,37066,37070,37057,37059,37195,37194,37325,38274,38480,38475,38476,38477,38754,38761,38859,38893,38899,38913,39080,39131,39135,39318,39321,20056,20147,20492,20493,20515,20463,20518,20517,20472,20521,20502,20486,20540,20511,20506,20498,20497,20474,20480,20500,20520,20465,20513,20491,20505,20504,20467,20462,20525,20522,20478,20523,20489,20860,20900,20901,20898,20941,20940,20934,20939,21078,21084,21076,21083,21085,21290,21375,21407,21405,21471,21736,21776,21761,21815,21756,21733,21746,21766,21754,21780,21737,21741,21729,21769,21742,21738,21734,21799,21767,21757,21775,22275,22276,22466,22484,22475,22467,22537,22799,22871,22872,22874,23057,23064,23068,23071,23067,23059,23020,23072,23075,23081,23077,23052,23049,23403,23640,23472,23475,23478,23476,23470,23477,23481,23480,23556,23633,23637,23632,23789,23805,23803,23786,23784,23792,23798,23809,23796,24046,24109,24107,24235,24237,24231,24369,24466,24465,24464,24665,24675,24677,24656,24661,24685,24681,24687,24708,24735,24730,24717,24724,24716,24709,24726,25159,25331,25352,25343,25422,25406,25391,25429,25410,25414,25423,25417,25402,25424,25405,25386,25387,25384,25421,25420,25928,25929,26009,26049,26053,26178,26185,26191,26179,26194,26188,26181,26177,26360,26388,26389,26391,26657,26680,26696,26694,26707,26681,26690,26708,26665,26803,26647,26700,26705,26685,26612,26704,26688,26684,26691,26666,26693,26643,26648,26689,27530,27529,27575,27683,27687,27688,27686,27684,27888,28010,28053,28040,28039,28006,28024,28023,27993,28051,28012,28041,28014,27994,28020,28009,28044,28042,28025,28037,28005,28052,28874,28888,28900,28889,28872,28879,29241,29305,29436,29433,29437,29432,29431,29574,29677,29705,29678,29664,29674,29662,30036,30045,30044,30042,30041,30142,30149,30151,30130,30131,30141,30140,30137,30146,30136,30347,30384,30410,30413,30414,30505,30495,30496,30504,30697,30768,30759,30776,30749,30772,30775,30757,30765,30752,30751,30770,31061,31056,31072,31071,31062,31070,31069,31063,31066,31204,31203,31207,31199,31206,31209,31192,31364,31368,31449,31494,31505,31881,32033,32023,32011,32010,32032,32034,32020,32016,32021,32026,32028,32013,32025,32027,32570,32607,32660,32709,32705,32774,32792,32789,32793,32791,32829,32831,33009,33026,33008,33029,33005,33012,33030,33016,33011,33032,33021,33034,33020,33007,33261,33260,33280,33296,33322,33323,33320,33324,33467,33579,33618,33620,33610,33592,33616,33609,33589,33588,33615,33586,33593,33590,33559,33600,33585,33576,33603,34388,34442,34474,34451,34468,34473,34444,34467,34460,34928,34935,34945,34946,34941,34937,35352,35344,35342,35340,35349,35338,35351,35347,35350,35343,35345,35912,35962,35961,36001,36002,36215,36524,36562,36564,36559,36785,36865,36870,36855,36864,36858,36852,36867,36861,36869,36856,37013,37089,37085,37090,37202,37197,37196,37336,37341,37335,37340,37337,38275,38498,38499,38497,38491,38493,38500,38488,38494,38587,39138,39340,39592,39640,39717,39730,39740,20094,20602,20605,20572,20551,20547,20556,20570,20553,20581,20598,20558,20565,20597,20596,20599,20559,20495,20591,20589,20828,20885,20976,21098,21103,21202,21209,21208,21205,21264,21263,21273,21311,21312,21310,21443,26364,21830,21866,21862,21828,21854,21857,21827,21834,21809,21846,21839,21845,21807,21860,21816,21806,21852,21804,21859,21811,21825,21847,22280,22283,22281,22495,22533,22538,22534,22496,22500,22522,22530,22581,22519,22521,22816,22882,23094,23105,23113,23142,23146,23104,23100,23138,23130,23110,23114,23408,23495,23493,23492,23490,23487,23494,23561,23560,23559,23648,23644,23645,23815,23814,23822,23835,23830,23842,23825,23849,23828,23833,23844,23847,23831,24034,24120,24118,24115,24119,24247,24248,24246,24245,24254,24373,24375,24407,24428,24425,24427,24471,24473,24478,24472,24481,24480,24476,24703,24739,24713,24736,24744,24779,24756,24806,24765,24773,24763,24757,24796,24764,24792,24789,24774,24799,24760,24794,24775,25114,25115,25160,25504,25511,25458,25494,25506,25509,25463,25447,25496,25514,25457,25513,25481,25475,25499,25451,25512,25476,25480,25497,25505,25516,25490,25487,25472,25467,25449,25448,25466,25949,25942,25937,25945,25943,21855,25935,25944,25941,25940,26012,26011,26028,26063,26059,26060,26062,26205,26202,26212,26216,26214,26206,26361,21207,26395,26753,26799,26786,26771,26805,26751,26742,26801,26791,26775,26800,26755,26820,26797,26758,26757,26772,26781,26792,26783,26785,26754,27442,27578,27627,27628,27691,28046,28092,28147,28121,28082,28129,28108,28132,28155,28154,28165,28103,28107,28079,28113,28078,28126,28153,28088,28151,28149,28101,28114,28186,28085,28122,28139,28120,28138,28145,28142,28136,28102,28100,28074,28140,28095,28134,28921,28937,28938,28925,28911,29245,29309,29313,29468,29467,29462,29459,29465,29575,29701,29706,29699,29702,29694,29709,29920,29942,29943,29980,29986,30053,30054,30050,30064,30095,30164,30165,30133,30154,30157,30350,30420,30418,30427,30519,30526,30524,30518,30520,30522,30827,30787,30798,31077,31080,31085,31227,31378,31381,31520,31528,31515,31532,31526,31513,31518,31534,31890,31895,31893,32070,32067,32113,32046,32057,32060,32064,32048,32051,32068,32047,32066,32050,32049,32573,32670,32666,32716,32718,32722,32796,32842,32838,33071,33046,33059,33067,33065,33072,33060,33282,33333,33335,33334,33337,33678,33694,33688,33656,33698,33686,33725,33707,33682,33674,33683,33673,33696,33655,33659,33660,33670,33703,34389,24426,34503,34496,34486,34500,34485,34502,34507,34481,34479,34505,34899,34974,34952,34987,34962,34966,34957,34955,35219,35215,35370,35357,35363,35365,35377,35373,35359,35355,35362,35913,35930,36009,36012,36011,36008,36010,36007,36199,36198,36286,36282,36571,36575,36889,36877,36890,36887,36899,36895,36893,36880,36885,36894,36896,36879,36898,36886,36891,36884,37096,37101,37117,37207,37326,37365,37350,37347,37351,37357,37353,38281,38506,38517,38515,38520,38512,38516,38518,38519,38508,38592,38634,38633,31456,31455,38914,38915,39770,40165,40565,40575,40613,40635,20642,20621,20613,20633,20625,20608,20630,20632,20634,26368,20977,21106,21108,21109,21097,21214,21213,21211,21338,21413,21883,21888,21927,21884,21898,21917,21912,21890,21916,21930,21908,21895,21899,21891,21939,21934,21919,21822,21938,21914,21947,21932,21937,21886,21897,21931,21913,22285,22575,22570,22580,22564,22576,22577,22561,22557,22560,22777,22778,22880,23159,23194,23167,23186,23195,23207,23411,23409,23506,23500,23507,23504,23562,23563,23601,23884,23888,23860,23879,24061,24133,24125,24128,24131,24190,24266,24257,24258,24260,24380,24429,24489,24490,24488,24785,24801,24754,24758,24800,24860,24867,24826,24853,24816,24827,24820,24936,24817,24846,24822,24841,24832,24850,25119,25161,25507,25484,25551,25536,25577,25545,25542,25549,25554,25571,25552,25569,25558,25581,25582,25462,25588,25578,25563,25682,25562,25593,25950,25958,25954,25955,26001,26e3,26031,26222,26224,26228,26230,26223,26257,26234,26238,26231,26366,26367,26399,26397,26874,26837,26848,26840,26839,26885,26847,26869,26862,26855,26873,26834,26866,26851,26827,26829,26893,26898,26894,26825,26842,26990,26875,27454,27450,27453,27544,27542,27580,27631,27694,27695,27692,28207,28216,28244,28193,28210,28263,28234,28192,28197,28195,28187,28251,28248,28196,28246,28270,28205,28198,28271,28212,28237,28218,28204,28227,28189,28222,28363,28297,28185,28238,28259,28228,28274,28265,28255,28953,28954,28966,28976,28961,28982,29038,28956,29260,29316,29312,29494,29477,29492,29481,29754,29738,29747,29730,29733,29749,29750,29748,29743,29723,29734,29736,29989,29990,30059,30058,30178,30171,30179,30169,30168,30174,30176,30331,30332,30358,30355,30388,30428,30543,30701,30813,30828,30831,31245,31240,31243,31237,31232,31384,31383,31382,31461,31459,31561,31574,31558,31568,31570,31572,31565,31563,31567,31569,31903,31909,32094,32080,32104,32085,32043,32110,32114,32097,32102,32098,32112,32115,21892,32724,32725,32779,32850,32901,33109,33108,33099,33105,33102,33081,33094,33086,33100,33107,33140,33298,33308,33769,33795,33784,33805,33760,33733,33803,33729,33775,33777,33780,33879,33802,33776,33804,33740,33789,33778,33738,33848,33806,33796,33756,33799,33748,33759,34395,34527,34521,34541,34516,34523,34532,34512,34526,34903,35009,35010,34993,35203,35222,35387,35424,35413,35422,35388,35393,35412,35419,35408,35398,35380,35386,35382,35414,35937,35970,36015,36028,36019,36029,36033,36027,36032,36020,36023,36022,36031,36024,36234,36229,36225,36302,36317,36299,36314,36305,36300,36315,36294,36603,36600,36604,36764,36910,36917,36913,36920,36914,36918,37122,37109,37129,37118,37219,37221,37327,37396,37397,37411,37385,37406,37389,37392,37383,37393,38292,38287,38283,38289,38291,38290,38286,38538,38542,38539,38525,38533,38534,38541,38514,38532,38593,38597,38596,38598,38599,38639,38642,38860,38917,38918,38920,39143,39146,39151,39145,39154,39149,39342,39341,40643,40653,40657,20098,20653,20661,20658,20659,20677,20670,20652,20663,20667,20655,20679,21119,21111,21117,21215,21222,21220,21218,21219,21295,21983,21992,21971,21990,21966,21980,21959,21969,21987,21988,21999,21978,21985,21957,21958,21989,21961,22290,22291,22622,22609,22616,22615,22618,22612,22635,22604,22637,22602,22626,22610,22603,22887,23233,23241,23244,23230,23229,23228,23219,23234,23218,23913,23919,24140,24185,24265,24264,24338,24409,24492,24494,24858,24847,24904,24863,24819,24859,24825,24833,24840,24910,24908,24900,24909,24894,24884,24871,24845,24838,24887,25121,25122,25619,25662,25630,25642,25645,25661,25644,25615,25628,25620,25613,25654,25622,25623,25606,25964,26015,26032,26263,26249,26247,26248,26262,26244,26264,26253,26371,27028,26989,26970,26999,26976,26964,26997,26928,27010,26954,26984,26987,26974,26963,27001,27014,26973,26979,26971,27463,27506,27584,27583,27603,27645,28322,28335,28371,28342,28354,28304,28317,28359,28357,28325,28312,28348,28346,28331,28369,28310,28316,28356,28372,28330,28327,28340,29006,29017,29033,29028,29001,29031,29020,29036,29030,29004,29029,29022,28998,29032,29014,29242,29266,29495,29509,29503,29502,29807,29786,29781,29791,29790,29761,29759,29785,29787,29788,30070,30072,30208,30192,30209,30194,30193,30202,30207,30196,30195,30430,30431,30555,30571,30566,30558,30563,30585,30570,30572,30556,30565,30568,30562,30702,30862,30896,30871,30872,30860,30857,30844,30865,30867,30847,31098,31103,31105,33836,31165,31260,31258,31264,31252,31263,31262,31391,31392,31607,31680,31584,31598,31591,31921,31923,31925,32147,32121,32145,32129,32143,32091,32622,32617,32618,32626,32681,32680,32676,32854,32856,32902,32900,33137,33136,33144,33125,33134,33139,33131,33145,33146,33126,33285,33351,33922,33911,33853,33841,33909,33894,33899,33865,33900,33883,33852,33845,33889,33891,33897,33901,33862,34398,34396,34399,34553,34579,34568,34567,34560,34558,34555,34562,34563,34566,34570,34905,35039,35028,35033,35036,35032,35037,35041,35018,35029,35026,35228,35299,35435,35442,35443,35430,35433,35440,35463,35452,35427,35488,35441,35461,35437,35426,35438,35436,35449,35451,35390,35432,35938,35978,35977,36042,36039,36040,36036,36018,36035,36034,36037,36321,36319,36328,36335,36339,36346,36330,36324,36326,36530,36611,36617,36606,36618,36767,36786,36939,36938,36947,36930,36948,36924,36949,36944,36935,36943,36942,36941,36945,36926,36929,37138,37143,37228,37226,37225,37321,37431,37463,37432,37437,37440,37438,37467,37451,37476,37457,37428,37449,37453,37445,37433,37439,37466,38296,38552,38548,38549,38605,38603,38601,38602,38647,38651,38649,38646,38742,38772,38774,38928,38929,38931,38922,38930,38924,39164,39156,39165,39166,39347,39345,39348,39649,40169,40578,40718,40723,40736,20711,20718,20709,20694,20717,20698,20693,20687,20689,20721,20686,20713,20834,20979,21123,21122,21297,21421,22014,22016,22043,22039,22013,22036,22022,22025,22029,22030,22007,22038,22047,22024,22032,22006,22296,22294,22645,22654,22659,22675,22666,22649,22661,22653,22781,22821,22818,22820,22890,22889,23265,23270,23273,23255,23254,23256,23267,23413,23518,23527,23521,23525,23526,23528,23522,23524,23519,23565,23650,23940,23943,24155,24163,24149,24151,24148,24275,24278,24330,24390,24432,24505,24903,24895,24907,24951,24930,24931,24927,24922,24920,24949,25130,25735,25688,25684,25764,25720,25695,25722,25681,25703,25652,25709,25723,25970,26017,26071,26070,26274,26280,26269,27036,27048,27029,27073,27054,27091,27083,27035,27063,27067,27051,27060,27088,27085,27053,27084,27046,27075,27043,27465,27468,27699,28467,28436,28414,28435,28404,28457,28478,28448,28460,28431,28418,28450,28415,28399,28422,28465,28472,28466,28451,28437,28459,28463,28552,28458,28396,28417,28402,28364,28407,29076,29081,29053,29066,29060,29074,29246,29330,29334,29508,29520,29796,29795,29802,29808,29805,29956,30097,30247,30221,30219,30217,30227,30433,30435,30596,30589,30591,30561,30913,30879,30887,30899,30889,30883,31118,31119,31117,31278,31281,31402,31401,31469,31471,31649,31637,31627,31605,31639,31645,31636,31631,31672,31623,31620,31929,31933,31934,32187,32176,32156,32189,32190,32160,32202,32180,32178,32177,32186,32162,32191,32181,32184,32173,32210,32199,32172,32624,32736,32737,32735,32862,32858,32903,33104,33152,33167,33160,33162,33151,33154,33255,33274,33287,33300,33310,33355,33993,33983,33990,33988,33945,33950,33970,33948,33995,33976,33984,34003,33936,33980,34001,33994,34623,34588,34619,34594,34597,34612,34584,34645,34615,34601,35059,35074,35060,35065,35064,35069,35048,35098,35055,35494,35468,35486,35491,35469,35489,35475,35492,35498,35493,35496,35480,35473,35482,35495,35946,35981,35980,36051,36049,36050,36203,36249,36245,36348,36628,36626,36629,36627,36771,36960,36952,36956,36963,36953,36958,36962,36957,36955,37145,37144,37150,37237,37240,37239,37236,37496,37504,37509,37528,37526,37499,37523,37532,37544,37500,37521,38305,38312,38313,38307,38309,38308,38553,38556,38555,38604,38610,38656,38780,38789,38902,38935,38936,39087,39089,39171,39173,39180,39177,39361,39599,39600,39654,39745,39746,40180,40182,40179,40636,40763,40778,20740,20736,20731,20725,20729,20738,20744,20745,20741,20956,21127,21128,21129,21133,21130,21232,21426,22062,22075,22073,22066,22079,22068,22057,22099,22094,22103,22132,22070,22063,22064,22656,22687,22686,22707,22684,22702,22697,22694,22893,23305,23291,23307,23285,23308,23304,23534,23532,23529,23531,23652,23653,23965,23956,24162,24159,24161,24290,24282,24287,24285,24291,24288,24392,24433,24503,24501,24950,24935,24942,24925,24917,24962,24956,24944,24939,24958,24999,24976,25003,24974,25004,24986,24996,24980,25006,25134,25705,25711,25721,25758,25778,25736,25744,25776,25765,25747,25749,25769,25746,25774,25773,25771,25754,25772,25753,25762,25779,25973,25975,25976,26286,26283,26292,26289,27171,27167,27112,27137,27166,27161,27133,27169,27155,27146,27123,27138,27141,27117,27153,27472,27470,27556,27589,27590,28479,28540,28548,28497,28518,28500,28550,28525,28507,28536,28526,28558,28538,28528,28516,28567,28504,28373,28527,28512,28511,29087,29100,29105,29096,29270,29339,29518,29527,29801,29835,29827,29822,29824,30079,30240,30249,30239,30244,30246,30241,30242,30362,30394,30436,30606,30599,30604,30609,30603,30923,30917,30906,30922,30910,30933,30908,30928,31295,31292,31296,31293,31287,31291,31407,31406,31661,31665,31684,31668,31686,31687,31681,31648,31692,31946,32224,32244,32239,32251,32216,32236,32221,32232,32227,32218,32222,32233,32158,32217,32242,32249,32629,32631,32687,32745,32806,33179,33180,33181,33184,33178,33176,34071,34109,34074,34030,34092,34093,34067,34065,34083,34081,34068,34028,34085,34047,34054,34690,34676,34678,34656,34662,34680,34664,34649,34647,34636,34643,34907,34909,35088,35079,35090,35091,35093,35082,35516,35538,35527,35524,35477,35531,35576,35506,35529,35522,35519,35504,35542,35533,35510,35513,35547,35916,35918,35948,36064,36062,36070,36068,36076,36077,36066,36067,36060,36074,36065,36205,36255,36259,36395,36368,36381,36386,36367,36393,36383,36385,36382,36538,36637,36635,36639,36649,36646,36650,36636,36638,36645,36969,36974,36968,36973,36983,37168,37165,37159,37169,37255,37257,37259,37251,37573,37563,37559,37610,37548,37604,37569,37555,37564,37586,37575,37616,37554,38317,38321,38660,38662,38663,38665,38752,38797,38795,38799,38945,38955,38940,39091,39178,39187,39186,39192,39389,39376,39391,39387,39377,39381,39378,39385,39607,39662,39663,39719,39749,39748,39799,39791,40198,40201,40195,40617,40638,40654,22696,40786,20754,20760,20756,20752,20757,20864,20906,20957,21137,21139,21235,22105,22123,22137,22121,22116,22136,22122,22120,22117,22129,22127,22124,22114,22134,22721,22718,22727,22725,22894,23325,23348,23416,23536,23566,24394,25010,24977,25001,24970,25037,25014,25022,25034,25032,25136,25797,25793,25803,25787,25788,25818,25796,25799,25794,25805,25791,25810,25812,25790,25972,26310,26313,26297,26308,26311,26296,27197,27192,27194,27225,27243,27224,27193,27204,27234,27233,27211,27207,27189,27231,27208,27481,27511,27653,28610,28593,28577,28611,28580,28609,28583,28595,28608,28601,28598,28582,28576,28596,29118,29129,29136,29138,29128,29141,29113,29134,29145,29148,29123,29124,29544,29852,29859,29848,29855,29854,29922,29964,29965,30260,30264,30266,30439,30437,30624,30622,30623,30629,30952,30938,30956,30951,31142,31309,31310,31302,31308,31307,31418,31705,31761,31689,31716,31707,31713,31721,31718,31957,31958,32266,32273,32264,32283,32291,32286,32285,32265,32272,32633,32690,32752,32753,32750,32808,33203,33193,33192,33275,33288,33368,33369,34122,34137,34120,34152,34153,34115,34121,34157,34154,34142,34691,34719,34718,34722,34701,34913,35114,35122,35109,35115,35105,35242,35238,35558,35578,35563,35569,35584,35548,35559,35566,35582,35585,35586,35575,35565,35571,35574,35580,35947,35949,35987,36084,36420,36401,36404,36418,36409,36405,36667,36655,36664,36659,36776,36774,36981,36980,36984,36978,36988,36986,37172,37266,37664,37686,37624,37683,37679,37666,37628,37675,37636,37658,37648,37670,37665,37653,37678,37657,38331,38567,38568,38570,38613,38670,38673,38678,38669,38675,38671,38747,38748,38758,38808,38960,38968,38971,38967,38957,38969,38948,39184,39208,39198,39195,39201,39194,39405,39394,39409,39608,39612,39675,39661,39720,39825,40213,40227,40230,40232,40210,40219,40664,40660,40845,40860,20778,20767,20769,20786,21237,22158,22144,22160,22149,22151,22159,22741,22739,22737,22734,23344,23338,23332,23418,23607,23656,23996,23994,23997,23992,24171,24396,24509,25033,25026,25031,25062,25035,25138,25140,25806,25802,25816,25824,25840,25830,25836,25841,25826,25837,25986,25987,26329,26326,27264,27284,27268,27298,27292,27355,27299,27262,27287,27280,27296,27484,27566,27610,27656,28632,28657,28639,28640,28635,28644,28651,28655,28544,28652,28641,28649,28629,28654,28656,29159,29151,29166,29158,29157,29165,29164,29172,29152,29237,29254,29552,29554,29865,29872,29862,29864,30278,30274,30284,30442,30643,30634,30640,30636,30631,30637,30703,30967,30970,30964,30959,30977,31143,31146,31319,31423,31751,31757,31742,31735,31756,31712,31968,31964,31966,31970,31967,31961,31965,32302,32318,32326,32311,32306,32323,32299,32317,32305,32325,32321,32308,32313,32328,32309,32319,32303,32580,32755,32764,32881,32882,32880,32879,32883,33222,33219,33210,33218,33216,33215,33213,33225,33214,33256,33289,33393,34218,34180,34174,34204,34193,34196,34223,34203,34183,34216,34186,34407,34752,34769,34739,34770,34758,34731,34747,34746,34760,34763,35131,35126,35140,35128,35133,35244,35598,35607,35609,35611,35594,35616,35613,35588,35600,35905,35903,35955,36090,36093,36092,36088,36091,36264,36425,36427,36424,36426,36676,36670,36674,36677,36671,36991,36989,36996,36993,36994,36992,37177,37283,37278,37276,37709,37762,37672,37749,37706,37733,37707,37656,37758,37740,37723,37744,37722,37716,38346,38347,38348,38344,38342,38577,38584,38614,38684,38686,38816,38867,38982,39094,39221,39425,39423,39854,39851,39850,39853,40251,40255,40587,40655,40670,40668,40669,40667,40766,40779,21474,22165,22190,22745,22744,23352,24413,25059,25139,25844,25842,25854,25862,25850,25851,25847,26039,26332,26406,27315,27308,27331,27323,27320,27330,27310,27311,27487,27512,27567,28681,28683,28670,28678,28666,28689,28687,29179,29180,29182,29176,29559,29557,29863,29887,29973,30294,30296,30290,30653,30655,30651,30652,30990,31150,31329,31330,31328,31428,31429,31787,31783,31786,31774,31779,31777,31975,32340,32341,32350,32346,32353,32338,32345,32584,32761,32763,32887,32886,33229,33231,33290,34255,34217,34253,34256,34249,34224,34234,34233,34214,34799,34796,34802,34784,35206,35250,35316,35624,35641,35628,35627,35920,36101,36441,36451,36454,36452,36447,36437,36544,36681,36685,36999,36995,37e3,37291,37292,37328,37780,37770,37782,37794,37811,37806,37804,37808,37784,37786,37783,38356,38358,38352,38357,38626,38620,38617,38619,38622,38692,38819,38822,38829,38905,38989,38991,38988,38990,38995,39098,39230,39231,39229,39214,39333,39438,39617,39683,39686,39759,39758,39757,39882,39881,39933,39880,39872,40273,40285,40288,40672,40725,40748,20787,22181,22750,22751,22754,23541,40848,24300,25074,25079,25078,25077,25856,25871,26336,26333,27365,27357,27354,27347,28699,28703,28712,28698,28701,28693,28696,29190,29197,29272,29346,29560,29562,29885,29898,29923,30087,30086,30303,30305,30663,31001,31153,31339,31337,31806,31807,31800,31805,31799,31808,32363,32365,32377,32361,32362,32645,32371,32694,32697,32696,33240,34281,34269,34282,34261,34276,34277,34295,34811,34821,34829,34809,34814,35168,35167,35158,35166,35649,35676,35672,35657,35674,35662,35663,35654,35673,36104,36106,36476,36466,36487,36470,36460,36474,36468,36692,36686,36781,37002,37003,37297,37294,37857,37841,37855,37827,37832,37852,37853,37846,37858,37837,37848,37860,37847,37864,38364,38580,38627,38698,38695,38753,38876,38907,39006,39e3,39003,39100,39237,39241,39446,39449,39693,39912,39911,39894,39899,40329,40289,40306,40298,40300,40594,40599,40595,40628,21240,22184,22199,22198,22196,22204,22756,23360,23363,23421,23542,24009,25080,25082,25880,25876,25881,26342,26407,27372,28734,28720,28722,29200,29563,29903,30306,30309,31014,31018,31020,31019,31431,31478,31820,31811,31821,31983,31984,36782,32381,32380,32386,32588,32768,33242,33382,34299,34297,34321,34298,34310,34315,34311,34314,34836,34837,35172,35258,35320,35696,35692,35686,35695,35679,35691,36111,36109,36489,36481,36485,36482,37300,37323,37912,37891,37885,38369,38704,39108,39250,39249,39336,39467,39472,39479,39477,39955,39949,40569,40629,40680,40751,40799,40803,40801,20791,20792,22209,22208,22210,22804,23660,24013,25084,25086,25885,25884,26005,26345,27387,27396,27386,27570,28748,29211,29351,29910,29908,30313,30675,31824,32399,32396,32700,34327,34349,34330,34851,34850,34849,34847,35178,35180,35261,35700,35703,35709,36115,36490,36493,36491,36703,36783,37306,37934,37939,37941,37946,37944,37938,37931,38370,38712,38713,38706,38911,39015,39013,39255,39493,39491,39488,39486,39631,39764,39761,39981,39973,40367,40372,40386,40376,40605,40687,40729,40796,40806,40807,20796,20795,22216,22218,22217,23423,24020,24018,24398,25087,25892,27402,27489,28753,28760,29568,29924,30090,30318,30316,31155,31840,31839,32894,32893,33247,35186,35183,35324,35712,36118,36119,36497,36499,36705,37192,37956,37969,37970,38717,38718,38851,38849,39019,39253,39509,39501,39634,39706,40009,39985,39998,39995,40403,40407,40756,40812,40810,40852,22220,24022,25088,25891,25899,25898,26348,27408,29914,31434,31844,31843,31845,32403,32406,32404,33250,34360,34367,34865,35722,37008,37007,37987,37984,37988,38760,39023,39260,39514,39515,39511,39635,39636,39633,40020,40023,40022,40421,40607,40692,22225,22761,25900,28766,30321,30322,30679,32592,32648,34870,34873,34914,35731,35730,35734,33399,36123,37312,37994,38722,38728,38724,38854,39024,39519,39714,39768,40031,40441,40442,40572,40573,40711,40823,40818,24307,27414,28771,31852,31854,34875,35264,36513,37313,38002,38e3,39025,39262,39638,39715,40652,28772,30682,35738,38007,38857,39522,39525,32412,35740,36522,37317,38013,38014,38012,40055,40056,40695,35924,38015,40474,29224,39530,39729,40475,40478,31858,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,20022,20031,20101,20128,20866,20886,20907,21241,21304,21353,21430,22794,23424,24027,12083,24191,24308,24400,24417,25908,26080,30098,30326,36789,38582,168,710,12541,12542,12445,12446,12291,20189,12293,12294,12295,12540,65339,65341,10045,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,8679,8632,8633,12751,131276,20058,131210,20994,17553,40880,20872,40881,161287,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,65506,65508,65287,65282,12849,8470,8481,12443,12444,11904,11908,11910,11911,11912,11914,11916,11917,11925,11932,11933,11941,11943,11946,11948,11950,11958,11964,11966,11974,11978,11980,11981,11983,11990,11991,11998,12003,null,null,null,643,592,603,596,629,339,248,331,650,618,20034,20060,20981,21274,21378,19975,19980,20039,20109,22231,64012,23662,24435,19983,20871,19982,20014,20115,20162,20169,20168,20888,21244,21356,21433,22304,22787,22828,23568,24063,26081,27571,27596,27668,29247,20017,20028,20200,20188,20201,20193,20189,20186,21004,21276,21324,22306,22307,22807,22831,23425,23428,23570,23611,23668,23667,24068,24192,24194,24521,25097,25168,27669,27702,27715,27711,27707,29358,29360,29578,31160,32906,38430,20238,20248,20268,20213,20244,20209,20224,20215,20232,20253,20226,20229,20258,20243,20228,20212,20242,20913,21011,21001,21008,21158,21282,21279,21325,21386,21511,22241,22239,22318,22314,22324,22844,22912,22908,22917,22907,22910,22903,22911,23382,23573,23589,23676,23674,23675,23678,24031,24181,24196,24322,24346,24436,24533,24532,24527,25180,25182,25188,25185,25190,25186,25177,25184,25178,25189,26095,26094,26430,26425,26424,26427,26426,26431,26428,26419,27672,27718,27730,27740,27727,27722,27732,27723,27724,28785,29278,29364,29365,29582,29994,30335,31349,32593,33400,33404,33408,33405,33407,34381,35198,37017,37015,37016,37019,37012,38434,38436,38432,38435,20310,20283,20322,20297,20307,20324,20286,20327,20306,20319,20289,20312,20269,20275,20287,20321,20879,20921,21020,21022,21025,21165,21166,21257,21347,21362,21390,21391,21552,21559,21546,21588,21573,21529,21532,21541,21528,21565,21583,21569,21544,21540,21575,22254,22247,22245,22337,22341,22348,22345,22347,22354,22790,22848,22950,22936,22944,22935,22926,22946,22928,22927,22951,22945,23438,23442,23592,23594,23693,23695,23688,23691,23689,23698,23690,23686,23699,23701,24032,24074,24078,24203,24201,24204,24200,24205,24325,24349,24440,24438,24530,24529,24528,24557,24552,24558,24563,24545,24548,24547,24570,24559,24567,24571,24576,24564,25146,25219,25228,25230,25231,25236,25223,25201,25211,25210,25200,25217,25224,25207,25213,25202,25204,25911,26096,26100,26099,26098,26101,26437,26439,26457,26453,26444,26440,26461,26445,26458,26443,27600,27673,27674,27768,27751,27755,27780,27787,27791,27761,27759,27753,27802,27757,27783,27797,27804,27750,27763,27749,27771,27790,28788,28794,29283,29375,29373,29379,29382,29377,29370,29381,29589,29591,29587,29588,29586,30010,30009,30100,30101,30337,31037,32820,32917,32921,32912,32914,32924,33424,33423,33413,33422,33425,33427,33418,33411,33412,35960,36809,36799,37023,37025,37029,37022,37031,37024,38448,38440,38447,38445,20019,20376,20348,20357,20349,20352,20359,20342,20340,20361,20356,20343,20300,20375,20330,20378,20345,20353,20344,20368,20380,20372,20382,20370,20354,20373,20331,20334,20894,20924,20926,21045,21042,21043,21062,21041,21180,21258,21259,21308,21394,21396,21639,21631,21633,21649,21634,21640,21611,21626,21630,21605,21612,21620,21606,21645,21615,21601,21600,21656,21603,21607,21604,22263,22265,22383,22386,22381,22379,22385,22384,22390,22400,22389,22395,22387,22388,22370,22376,22397,22796,22853,22965,22970,22991,22990,22962,22988,22977,22966,22972,22979,22998,22961,22973,22976,22984,22964,22983,23394,23397,23443,23445,23620,23623,23726,23716,23712,23733,23727,23720,23724,23711,23715,23725,23714,23722,23719,23709,23717,23734,23728,23718,24087,24084,24089,24360,24354,24355,24356,24404,24450,24446,24445,24542,24549,24621,24614,24601,24626,24587,24628,24586,24599,24627,24602,24606,24620,24610,24589,24592,24622,24595,24593,24588,24585,24604,25108,25149,25261,25268,25297,25278,25258,25270,25290,25262,25267,25263,25275,25257,25264,25272,25917,26024,26043,26121,26108,26116,26130,26120,26107,26115,26123,26125,26117,26109,26129,26128,26358,26378,26501,26476,26510,26514,26486,26491,26520,26502,26500,26484,26509,26508,26490,26527,26513,26521,26499,26493,26497,26488,26489,26516,27429,27520,27518,27614,27677,27795,27884,27883,27886,27865,27830,27860,27821,27879,27831,27856,27842,27834,27843,27846,27885,27890,27858,27869,27828,27786,27805,27776,27870,27840,27952,27853,27847,27824,27897,27855,27881,27857,28820,28824,28805,28819,28806,28804,28817,28822,28802,28826,28803,29290,29398,29387,29400,29385,29404,29394,29396,29402,29388,29393,29604,29601,29613,29606,29602,29600,29612,29597,29917,29928,30015,30016,30014,30092,30104,30383,30451,30449,30448,30453,30712,30716,30713,30715,30714,30711,31042,31039,31173,31352,31355,31483,31861,31997,32821,32911,32942,32931,32952,32949,32941,33312,33440,33472,33451,33434,33432,33435,33461,33447,33454,33468,33438,33466,33460,33448,33441,33449,33474,33444,33475,33462,33442,34416,34415,34413,34414,35926,36818,36811,36819,36813,36822,36821,36823,37042,37044,37039,37043,37040,38457,38461,38460,38458,38467,20429,20421,20435,20402,20425,20427,20417,20436,20444,20441,20411,20403,20443,20423,20438,20410,20416,20409,20460,21060,21065,21184,21186,21309,21372,21399,21398,21401,21400,21690,21665,21677,21669,21711,21699,33549,21687,21678,21718,21686,21701,21702,21664,21616,21692,21666,21694,21618,21726,21680,22453,22430,22431,22436,22412,22423,22429,22427,22420,22424,22415,22425,22437,22426,22421,22772,22797,22867,23009,23006,23022,23040,23025,23005,23034,23037,23036,23030,23012,23026,23031,23003,23017,23027,23029,23008,23038,23028,23021,23464,23628,23760,23768,23756,23767,23755,23771,23774,23770,23753,23751,23754,23766,23763,23764,23759,23752,23750,23758,23775,23800,24057,24097,24098,24099,24096,24100,24240,24228,24226,24219,24227,24229,24327,24366,24406,24454,24631,24633,24660,24690,24670,24645,24659,24647,24649,24667,24652,24640,24642,24671,24612,24644,24664,24678,24686,25154,25155,25295,25357,25355,25333,25358,25347,25323,25337,25359,25356,25336,25334,25344,25363,25364,25338,25365,25339,25328,25921,25923,26026,26047,26166,26145,26162,26165,26140,26150,26146,26163,26155,26170,26141,26164,26169,26158,26383,26384,26561,26610,26568,26554,26588,26555,26616,26584,26560,26551,26565,26603,26596,26591,26549,26573,26547,26615,26614,26606,26595,26562,26553,26574,26599,26608,26546,26620,26566,26605,26572,26542,26598,26587,26618,26569,26570,26563,26602,26571,27432,27522,27524,27574,27606,27608,27616,27680,27681,27944,27956,27949,27935,27964,27967,27922,27914,27866,27955,27908,27929,27962,27930,27921,27904,27933,27970,27905,27928,27959,27907,27919,27968,27911,27936,27948,27912,27938,27913,27920,28855,28831,28862,28849,28848,28833,28852,28853,28841,29249,29257,29258,29292,29296,29299,29294,29386,29412,29416,29419,29407,29418,29414,29411,29573,29644,29634,29640,29637,29625,29622,29621,29620,29675,29631,29639,29630,29635,29638,29624,29643,29932,29934,29998,30023,30024,30119,30122,30329,30404,30472,30467,30468,30469,30474,30455,30459,30458,30695,30696,30726,30737,30738,30725,30736,30735,30734,30729,30723,30739,31050,31052,31051,31045,31044,31189,31181,31183,31190,31182,31360,31358,31441,31488,31489,31866,31864,31865,31871,31872,31873,32003,32008,32001,32600,32657,32653,32702,32775,32782,32783,32788,32823,32984,32967,32992,32977,32968,32962,32976,32965,32995,32985,32988,32970,32981,32969,32975,32983,32998,32973,33279,33313,33428,33497,33534,33529,33543,33512,33536,33493,33594,33515,33494,33524,33516,33505,33522,33525,33548,33531,33526,33520,33514,33508,33504,33530,33523,33517,34423,34420,34428,34419,34881,34894,34919,34922,34921,35283,35332,35335,36210,36835,36833,36846,36832,37105,37053,37055,37077,37061,37054,37063,37067,37064,37332,37331,38484,38479,38481,38483,38474,38478,20510,20485,20487,20499,20514,20528,20507,20469,20468,20531,20535,20524,20470,20471,20503,20508,20512,20519,20533,20527,20529,20494,20826,20884,20883,20938,20932,20933,20936,20942,21089,21082,21074,21086,21087,21077,21090,21197,21262,21406,21798,21730,21783,21778,21735,21747,21732,21786,21759,21764,21768,21739,21777,21765,21745,21770,21755,21751,21752,21728,21774,21763,21771,22273,22274,22476,22578,22485,22482,22458,22470,22461,22460,22456,22454,22463,22471,22480,22457,22465,22798,22858,23065,23062,23085,23086,23061,23055,23063,23050,23070,23091,23404,23463,23469,23468,23555,23638,23636,23788,23807,23790,23793,23799,23808,23801,24105,24104,24232,24238,24234,24236,24371,24368,24423,24669,24666,24679,24641,24738,24712,24704,24722,24705,24733,24707,24725,24731,24727,24711,24732,24718,25113,25158,25330,25360,25430,25388,25412,25413,25398,25411,25572,25401,25419,25418,25404,25385,25409,25396,25432,25428,25433,25389,25415,25395,25434,25425,25400,25431,25408,25416,25930,25926,26054,26051,26052,26050,26186,26207,26183,26193,26386,26387,26655,26650,26697,26674,26675,26683,26699,26703,26646,26673,26652,26677,26667,26669,26671,26702,26692,26676,26653,26642,26644,26662,26664,26670,26701,26682,26661,26656,27436,27439,27437,27441,27444,27501,32898,27528,27622,27620,27624,27619,27618,27623,27685,28026,28003,28004,28022,27917,28001,28050,27992,28002,28013,28015,28049,28045,28143,28031,28038,27998,28007,28e3,28055,28016,28028,27999,28034,28056,27951,28008,28043,28030,28032,28036,27926,28035,28027,28029,28021,28048,28892,28883,28881,28893,28875,32569,28898,28887,28882,28894,28896,28884,28877,28869,28870,28871,28890,28878,28897,29250,29304,29303,29302,29440,29434,29428,29438,29430,29427,29435,29441,29651,29657,29669,29654,29628,29671,29667,29673,29660,29650,29659,29652,29661,29658,29655,29656,29672,29918,29919,29940,29941,29985,30043,30047,30128,30145,30139,30148,30144,30143,30134,30138,30346,30409,30493,30491,30480,30483,30482,30499,30481,30485,30489,30490,30498,30503,30755,30764,30754,30773,30767,30760,30766,30763,30753,30761,30771,30762,30769,31060,31067,31055,31068,31059,31058,31057,31211,31212,31200,31214,31213,31210,31196,31198,31197,31366,31369,31365,31371,31372,31370,31367,31448,31504,31492,31507,31493,31503,31496,31498,31502,31497,31506,31876,31889,31882,31884,31880,31885,31877,32030,32029,32017,32014,32024,32022,32019,32031,32018,32015,32012,32604,32609,32606,32608,32605,32603,32662,32658,32707,32706,32704,32790,32830,32825,33018,33010,33017,33013,33025,33019,33024,33281,33327,33317,33587,33581,33604,33561,33617,33573,33622,33599,33601,33574,33564,33570,33602,33614,33563,33578,33544,33596,33613,33558,33572,33568,33591,33583,33577,33607,33605,33612,33619,33566,33580,33611,33575,33608,34387,34386,34466,34472,34454,34445,34449,34462,34439,34455,34438,34443,34458,34437,34469,34457,34465,34471,34453,34456,34446,34461,34448,34452,34883,34884,34925,34933,34934,34930,34944,34929,34943,34927,34947,34942,34932,34940,35346,35911,35927,35963,36004,36003,36214,36216,36277,36279,36278,36561,36563,36862,36853,36866,36863,36859,36868,36860,36854,37078,37088,37081,37082,37091,37087,37093,37080,37083,37079,37084,37092,37200,37198,37199,37333,37346,37338,38492,38495,38588,39139,39647,39727,20095,20592,20586,20577,20574,20576,20563,20555,20573,20594,20552,20557,20545,20571,20554,20578,20501,20549,20575,20585,20587,20579,20580,20550,20544,20590,20595,20567,20561,20944,21099,21101,21100,21102,21206,21203,21293,21404,21877,21878,21820,21837,21840,21812,21802,21841,21858,21814,21813,21808,21842,21829,21772,21810,21861,21838,21817,21832,21805,21819,21824,21835,22282,22279,22523,22548,22498,22518,22492,22516,22528,22509,22525,22536,22520,22539,22515,22479,22535,22510,22499,22514,22501,22508,22497,22542,22524,22544,22503,22529,22540,22513,22505,22512,22541,22532,22876,23136,23128,23125,23143,23134,23096,23093,23149,23120,23135,23141,23148,23123,23140,23127,23107,23133,23122,23108,23131,23112,23182,23102,23117,23097,23116,23152,23145,23111,23121,23126,23106,23132,23410,23406,23489,23488,23641,23838,23819,23837,23834,23840,23820,23848,23821,23846,23845,23823,23856,23826,23843,23839,23854,24126,24116,24241,24244,24249,24242,24243,24374,24376,24475,24470,24479,24714,24720,24710,24766,24752,24762,24787,24788,24783,24804,24793,24797,24776,24753,24795,24759,24778,24767,24771,24781,24768,25394,25445,25482,25474,25469,25533,25502,25517,25501,25495,25515,25486,25455,25479,25488,25454,25519,25461,25500,25453,25518,25468,25508,25403,25503,25464,25477,25473,25489,25485,25456,25939,26061,26213,26209,26203,26201,26204,26210,26392,26745,26759,26768,26780,26733,26734,26798,26795,26966,26735,26787,26796,26793,26741,26740,26802,26767,26743,26770,26748,26731,26738,26794,26752,26737,26750,26779,26774,26763,26784,26761,26788,26744,26747,26769,26764,26762,26749,27446,27443,27447,27448,27537,27535,27533,27534,27532,27690,28096,28075,28084,28083,28276,28076,28137,28130,28087,28150,28116,28160,28104,28128,28127,28118,28094,28133,28124,28125,28123,28148,28106,28093,28141,28144,28090,28117,28098,28111,28105,28112,28146,28115,28157,28119,28109,28131,28091,28922,28941,28919,28951,28916,28940,28912,28932,28915,28944,28924,28927,28934,28947,28928,28920,28918,28939,28930,28942,29310,29307,29308,29311,29469,29463,29447,29457,29464,29450,29448,29439,29455,29470,29576,29686,29688,29685,29700,29697,29693,29703,29696,29690,29692,29695,29708,29707,29684,29704,30052,30051,30158,30162,30159,30155,30156,30161,30160,30351,30345,30419,30521,30511,30509,30513,30514,30516,30515,30525,30501,30523,30517,30792,30802,30793,30797,30794,30796,30758,30789,30800,31076,31079,31081,31082,31075,31083,31073,31163,31226,31224,31222,31223,31375,31380,31376,31541,31559,31540,31525,31536,31522,31524,31539,31512,31530,31517,31537,31531,31533,31535,31538,31544,31514,31523,31892,31896,31894,31907,32053,32061,32056,32054,32058,32069,32044,32041,32065,32071,32062,32063,32074,32059,32040,32611,32661,32668,32669,32667,32714,32715,32717,32720,32721,32711,32719,32713,32799,32798,32795,32839,32835,32840,33048,33061,33049,33051,33069,33055,33068,33054,33057,33045,33063,33053,33058,33297,33336,33331,33338,33332,33330,33396,33680,33699,33704,33677,33658,33651,33700,33652,33679,33665,33685,33689,33653,33684,33705,33661,33667,33676,33693,33691,33706,33675,33662,33701,33711,33672,33687,33712,33663,33702,33671,33710,33654,33690,34393,34390,34495,34487,34498,34497,34501,34490,34480,34504,34489,34483,34488,34508,34484,34491,34492,34499,34493,34494,34898,34953,34965,34984,34978,34986,34970,34961,34977,34975,34968,34983,34969,34971,34967,34980,34988,34956,34963,34958,35202,35286,35289,35285,35376,35367,35372,35358,35897,35899,35932,35933,35965,36005,36221,36219,36217,36284,36290,36281,36287,36289,36568,36574,36573,36572,36567,36576,36577,36900,36875,36881,36892,36876,36897,37103,37098,37104,37108,37106,37107,37076,37099,37100,37097,37206,37208,37210,37203,37205,37356,37364,37361,37363,37368,37348,37369,37354,37355,37367,37352,37358,38266,38278,38280,38524,38509,38507,38513,38511,38591,38762,38916,39141,39319,20635,20629,20628,20638,20619,20643,20611,20620,20622,20637,20584,20636,20626,20610,20615,20831,20948,21266,21265,21412,21415,21905,21928,21925,21933,21879,22085,21922,21907,21896,21903,21941,21889,21923,21906,21924,21885,21900,21926,21887,21909,21921,21902,22284,22569,22583,22553,22558,22567,22563,22568,22517,22600,22565,22556,22555,22579,22591,22582,22574,22585,22584,22573,22572,22587,22881,23215,23188,23199,23162,23202,23198,23160,23206,23164,23205,23212,23189,23214,23095,23172,23178,23191,23171,23179,23209,23163,23165,23180,23196,23183,23187,23197,23530,23501,23499,23508,23505,23498,23502,23564,23600,23863,23875,23915,23873,23883,23871,23861,23889,23886,23893,23859,23866,23890,23869,23857,23897,23874,23865,23881,23864,23868,23858,23862,23872,23877,24132,24129,24408,24486,24485,24491,24777,24761,24780,24802,24782,24772,24852,24818,24842,24854,24837,24821,24851,24824,24828,24830,24769,24835,24856,24861,24848,24831,24836,24843,25162,25492,25521,25520,25550,25573,25576,25583,25539,25757,25587,25546,25568,25590,25557,25586,25589,25697,25567,25534,25565,25564,25540,25560,25555,25538,25543,25548,25547,25544,25584,25559,25561,25906,25959,25962,25956,25948,25960,25957,25996,26013,26014,26030,26064,26066,26236,26220,26235,26240,26225,26233,26218,26226,26369,26892,26835,26884,26844,26922,26860,26858,26865,26895,26838,26871,26859,26852,26870,26899,26896,26867,26849,26887,26828,26888,26992,26804,26897,26863,26822,26900,26872,26832,26877,26876,26856,26891,26890,26903,26830,26824,26845,26846,26854,26868,26833,26886,26836,26857,26901,26917,26823,27449,27451,27455,27452,27540,27543,27545,27541,27581,27632,27634,27635,27696,28156,28230,28231,28191,28233,28296,28220,28221,28229,28258,28203,28223,28225,28253,28275,28188,28211,28235,28224,28241,28219,28163,28206,28254,28264,28252,28257,28209,28200,28256,28273,28267,28217,28194,28208,28243,28261,28199,28280,28260,28279,28245,28281,28242,28262,28213,28214,28250,28960,28958,28975,28923,28974,28977,28963,28965,28962,28978,28959,28968,28986,28955,29259,29274,29320,29321,29318,29317,29323,29458,29451,29488,29474,29489,29491,29479,29490,29485,29478,29475,29493,29452,29742,29740,29744,29739,29718,29722,29729,29741,29745,29732,29731,29725,29737,29728,29746,29947,29999,30063,30060,30183,30170,30177,30182,30173,30175,30180,30167,30357,30354,30426,30534,30535,30532,30541,30533,30538,30542,30539,30540,30686,30700,30816,30820,30821,30812,30829,30833,30826,30830,30832,30825,30824,30814,30818,31092,31091,31090,31088,31234,31242,31235,31244,31236,31385,31462,31460,31562,31547,31556,31560,31564,31566,31552,31576,31557,31906,31902,31912,31905,32088,32111,32099,32083,32086,32103,32106,32079,32109,32092,32107,32082,32084,32105,32081,32095,32078,32574,32575,32613,32614,32674,32672,32673,32727,32849,32847,32848,33022,32980,33091,33098,33106,33103,33095,33085,33101,33082,33254,33262,33271,33272,33273,33284,33340,33341,33343,33397,33595,33743,33785,33827,33728,33768,33810,33767,33764,33788,33782,33808,33734,33736,33771,33763,33727,33793,33757,33765,33752,33791,33761,33739,33742,33750,33781,33737,33801,33807,33758,33809,33798,33730,33779,33749,33786,33735,33745,33770,33811,33731,33772,33774,33732,33787,33751,33762,33819,33755,33790,34520,34530,34534,34515,34531,34522,34538,34525,34539,34524,34540,34537,34519,34536,34513,34888,34902,34901,35002,35031,35001,35e3,35008,35006,34998,35004,34999,35005,34994,35073,35017,35221,35224,35223,35293,35290,35291,35406,35405,35385,35417,35392,35415,35416,35396,35397,35410,35400,35409,35402,35404,35407,35935,35969,35968,36026,36030,36016,36025,36021,36228,36224,36233,36312,36307,36301,36295,36310,36316,36303,36309,36313,36296,36311,36293,36591,36599,36602,36601,36582,36590,36581,36597,36583,36584,36598,36587,36593,36588,36596,36585,36909,36916,36911,37126,37164,37124,37119,37116,37128,37113,37115,37121,37120,37127,37125,37123,37217,37220,37215,37218,37216,37377,37386,37413,37379,37402,37414,37391,37388,37376,37394,37375,37373,37382,37380,37415,37378,37404,37412,37401,37399,37381,37398,38267,38285,38284,38288,38535,38526,38536,38537,38531,38528,38594,38600,38595,38641,38640,38764,38768,38766,38919,39081,39147,40166,40697,20099,20100,20150,20669,20671,20678,20654,20676,20682,20660,20680,20674,20656,20673,20666,20657,20683,20681,20662,20664,20951,21114,21112,21115,21116,21955,21979,21964,21968,21963,21962,21981,21952,21972,21956,21993,21951,21970,21901,21967,21973,21986,21974,21960,22002,21965,21977,21954,22292,22611,22632,22628,22607,22605,22601,22639,22613,22606,22621,22617,22629,22619,22589,22627,22641,22780,23239,23236,23243,23226,23224,23217,23221,23216,23231,23240,23227,23238,23223,23232,23242,23220,23222,23245,23225,23184,23510,23512,23513,23583,23603,23921,23907,23882,23909,23922,23916,23902,23912,23911,23906,24048,24143,24142,24138,24141,24139,24261,24268,24262,24267,24263,24384,24495,24493,24823,24905,24906,24875,24901,24886,24882,24878,24902,24879,24911,24873,24896,25120,37224,25123,25125,25124,25541,25585,25579,25616,25618,25609,25632,25636,25651,25667,25631,25621,25624,25657,25655,25634,25635,25612,25638,25648,25640,25665,25653,25647,25610,25626,25664,25637,25639,25611,25575,25627,25646,25633,25614,25967,26002,26067,26246,26252,26261,26256,26251,26250,26265,26260,26232,26400,26982,26975,26936,26958,26978,26993,26943,26949,26986,26937,26946,26967,26969,27002,26952,26953,26933,26988,26931,26941,26981,26864,27e3,26932,26985,26944,26991,26948,26998,26968,26945,26996,26956,26939,26955,26935,26972,26959,26961,26930,26962,26927,27003,26940,27462,27461,27459,27458,27464,27457,27547,64013,27643,27644,27641,27639,27640,28315,28374,28360,28303,28352,28319,28307,28308,28320,28337,28345,28358,28370,28349,28353,28318,28361,28343,28336,28365,28326,28367,28338,28350,28355,28380,28376,28313,28306,28302,28301,28324,28321,28351,28339,28368,28362,28311,28334,28323,28999,29012,29010,29027,29024,28993,29021,29026,29042,29048,29034,29025,28994,29016,28995,29003,29040,29023,29008,29011,28996,29005,29018,29263,29325,29324,29329,29328,29326,29500,29506,29499,29498,29504,29514,29513,29764,29770,29771,29778,29777,29783,29760,29775,29776,29774,29762,29766,29773,29780,29921,29951,29950,29949,29981,30073,30071,27011,30191,30223,30211,30199,30206,30204,30201,30200,30224,30203,30198,30189,30197,30205,30361,30389,30429,30549,30559,30560,30546,30550,30554,30569,30567,30548,30553,30573,30688,30855,30874,30868,30863,30852,30869,30853,30854,30881,30851,30841,30873,30848,30870,30843,31100,31106,31101,31097,31249,31256,31257,31250,31255,31253,31266,31251,31259,31248,31395,31394,31390,31467,31590,31588,31597,31604,31593,31602,31589,31603,31601,31600,31585,31608,31606,31587,31922,31924,31919,32136,32134,32128,32141,32127,32133,32122,32142,32123,32131,32124,32140,32148,32132,32125,32146,32621,32619,32615,32616,32620,32678,32677,32679,32731,32732,32801,33124,33120,33143,33116,33129,33115,33122,33138,26401,33118,33142,33127,33135,33092,33121,33309,33353,33348,33344,33346,33349,34033,33855,33878,33910,33913,33935,33933,33893,33873,33856,33926,33895,33840,33869,33917,33882,33881,33908,33907,33885,34055,33886,33847,33850,33844,33914,33859,33912,33842,33861,33833,33753,33867,33839,33858,33837,33887,33904,33849,33870,33868,33874,33903,33989,33934,33851,33863,33846,33843,33896,33918,33860,33835,33888,33876,33902,33872,34571,34564,34551,34572,34554,34518,34549,34637,34552,34574,34569,34561,34550,34573,34565,35030,35019,35021,35022,35038,35035,35034,35020,35024,35205,35227,35295,35301,35300,35297,35296,35298,35292,35302,35446,35462,35455,35425,35391,35447,35458,35460,35445,35459,35457,35444,35450,35900,35915,35914,35941,35940,35942,35974,35972,35973,36044,36200,36201,36241,36236,36238,36239,36237,36243,36244,36240,36242,36336,36320,36332,36337,36334,36304,36329,36323,36322,36327,36338,36331,36340,36614,36607,36609,36608,36613,36615,36616,36610,36619,36946,36927,36932,36937,36925,37136,37133,37135,37137,37142,37140,37131,37134,37230,37231,37448,37458,37424,37434,37478,37427,37477,37470,37507,37422,37450,37446,37485,37484,37455,37472,37479,37487,37430,37473,37488,37425,37460,37475,37456,37490,37454,37459,37452,37462,37426,38303,38300,38302,38299,38546,38547,38545,38551,38606,38650,38653,38648,38645,38771,38775,38776,38770,38927,38925,38926,39084,39158,39161,39343,39346,39344,39349,39597,39595,39771,40170,40173,40167,40576,40701,20710,20692,20695,20712,20723,20699,20714,20701,20708,20691,20716,20720,20719,20707,20704,20952,21120,21121,21225,21227,21296,21420,22055,22037,22028,22034,22012,22031,22044,22017,22035,22018,22010,22045,22020,22015,22009,22665,22652,22672,22680,22662,22657,22655,22644,22667,22650,22663,22673,22670,22646,22658,22664,22651,22676,22671,22782,22891,23260,23278,23269,23253,23274,23258,23277,23275,23283,23266,23264,23259,23276,23262,23261,23257,23272,23263,23415,23520,23523,23651,23938,23936,23933,23942,23930,23937,23927,23946,23945,23944,23934,23932,23949,23929,23935,24152,24153,24147,24280,24273,24279,24270,24284,24277,24281,24274,24276,24388,24387,24431,24502,24876,24872,24897,24926,24945,24947,24914,24915,24946,24940,24960,24948,24916,24954,24923,24933,24891,24938,24929,24918,25129,25127,25131,25643,25677,25691,25693,25716,25718,25714,25715,25725,25717,25702,25766,25678,25730,25694,25692,25675,25683,25696,25680,25727,25663,25708,25707,25689,25701,25719,25971,26016,26273,26272,26271,26373,26372,26402,27057,27062,27081,27040,27086,27030,27056,27052,27068,27025,27033,27022,27047,27021,27049,27070,27055,27071,27076,27069,27044,27092,27065,27082,27034,27087,27059,27027,27050,27041,27038,27097,27031,27024,27074,27061,27045,27078,27466,27469,27467,27550,27551,27552,27587,27588,27646,28366,28405,28401,28419,28453,28408,28471,28411,28462,28425,28494,28441,28442,28455,28440,28475,28434,28397,28426,28470,28531,28409,28398,28461,28480,28464,28476,28469,28395,28423,28430,28483,28421,28413,28406,28473,28444,28412,28474,28447,28429,28446,28424,28449,29063,29072,29065,29056,29061,29058,29071,29051,29062,29057,29079,29252,29267,29335,29333,29331,29507,29517,29521,29516,29794,29811,29809,29813,29810,29799,29806,29952,29954,29955,30077,30096,30230,30216,30220,30229,30225,30218,30228,30392,30593,30588,30597,30594,30574,30592,30575,30590,30595,30898,30890,30900,30893,30888,30846,30891,30878,30885,30880,30892,30882,30884,31128,31114,31115,31126,31125,31124,31123,31127,31112,31122,31120,31275,31306,31280,31279,31272,31270,31400,31403,31404,31470,31624,31644,31626,31633,31632,31638,31629,31628,31643,31630,31621,31640,21124,31641,31652,31618,31931,31935,31932,31930,32167,32183,32194,32163,32170,32193,32192,32197,32157,32206,32196,32198,32203,32204,32175,32185,32150,32188,32159,32166,32174,32169,32161,32201,32627,32738,32739,32741,32734,32804,32861,32860,33161,33158,33155,33159,33165,33164,33163,33301,33943,33956,33953,33951,33978,33998,33986,33964,33966,33963,33977,33972,33985,33997,33962,33946,33969,34e3,33949,33959,33979,33954,33940,33991,33996,33947,33961,33967,33960,34006,33944,33974,33999,33952,34007,34004,34002,34011,33968,33937,34401,34611,34595,34600,34667,34624,34606,34590,34593,34585,34587,34627,34604,34625,34622,34630,34592,34610,34602,34605,34620,34578,34618,34609,34613,34626,34598,34599,34616,34596,34586,34608,34577,35063,35047,35057,35058,35066,35070,35054,35068,35062,35067,35056,35052,35051,35229,35233,35231,35230,35305,35307,35304,35499,35481,35467,35474,35471,35478,35901,35944,35945,36053,36047,36055,36246,36361,36354,36351,36365,36349,36362,36355,36359,36358,36357,36350,36352,36356,36624,36625,36622,36621,37155,37148,37152,37154,37151,37149,37146,37156,37153,37147,37242,37234,37241,37235,37541,37540,37494,37531,37498,37536,37524,37546,37517,37542,37530,37547,37497,37527,37503,37539,37614,37518,37506,37525,37538,37501,37512,37537,37514,37510,37516,37529,37543,37502,37511,37545,37533,37515,37421,38558,38561,38655,38744,38781,38778,38782,38787,38784,38786,38779,38788,38785,38783,38862,38861,38934,39085,39086,39170,39168,39175,39325,39324,39363,39353,39355,39354,39362,39357,39367,39601,39651,39655,39742,39743,39776,39777,39775,40177,40178,40181,40615,20735,20739,20784,20728,20742,20743,20726,20734,20747,20748,20733,20746,21131,21132,21233,21231,22088,22082,22092,22069,22081,22090,22089,22086,22104,22106,22080,22067,22077,22060,22078,22072,22058,22074,22298,22699,22685,22705,22688,22691,22703,22700,22693,22689,22783,23295,23284,23293,23287,23286,23299,23288,23298,23289,23297,23303,23301,23311,23655,23961,23959,23967,23954,23970,23955,23957,23968,23964,23969,23962,23966,24169,24157,24160,24156,32243,24283,24286,24289,24393,24498,24971,24963,24953,25009,25008,24994,24969,24987,24979,25007,25005,24991,24978,25002,24993,24973,24934,25011,25133,25710,25712,25750,25760,25733,25751,25756,25743,25739,25738,25740,25763,25759,25704,25777,25752,25974,25978,25977,25979,26034,26035,26293,26288,26281,26290,26295,26282,26287,27136,27142,27159,27109,27128,27157,27121,27108,27168,27135,27116,27106,27163,27165,27134,27175,27122,27118,27156,27127,27111,27200,27144,27110,27131,27149,27132,27115,27145,27140,27160,27173,27151,27126,27174,27143,27124,27158,27473,27557,27555,27554,27558,27649,27648,27647,27650,28481,28454,28542,28551,28614,28562,28557,28553,28556,28514,28495,28549,28506,28566,28534,28524,28546,28501,28530,28498,28496,28503,28564,28563,28509,28416,28513,28523,28541,28519,28560,28499,28555,28521,28543,28565,28515,28535,28522,28539,29106,29103,29083,29104,29088,29082,29097,29109,29085,29093,29086,29092,29089,29098,29084,29095,29107,29336,29338,29528,29522,29534,29535,29536,29533,29531,29537,29530,29529,29538,29831,29833,29834,29830,29825,29821,29829,29832,29820,29817,29960,29959,30078,30245,30238,30233,30237,30236,30243,30234,30248,30235,30364,30365,30366,30363,30605,30607,30601,30600,30925,30907,30927,30924,30929,30926,30932,30920,30915,30916,30921,31130,31137,31136,31132,31138,31131,27510,31289,31410,31412,31411,31671,31691,31678,31660,31694,31663,31673,31690,31669,31941,31944,31948,31947,32247,32219,32234,32231,32215,32225,32259,32250,32230,32246,32241,32240,32238,32223,32630,32684,32688,32685,32749,32747,32746,32748,32742,32744,32868,32871,33187,33183,33182,33173,33186,33177,33175,33302,33359,33363,33362,33360,33358,33361,34084,34107,34063,34048,34089,34062,34057,34061,34079,34058,34087,34076,34043,34091,34042,34056,34060,34036,34090,34034,34069,34039,34027,34035,34044,34066,34026,34025,34070,34046,34088,34077,34094,34050,34045,34078,34038,34097,34086,34023,34024,34032,34031,34041,34072,34080,34096,34059,34073,34095,34402,34646,34659,34660,34679,34785,34675,34648,34644,34651,34642,34657,34650,34641,34654,34669,34666,34640,34638,34655,34653,34671,34668,34682,34670,34652,34661,34639,34683,34677,34658,34663,34665,34906,35077,35084,35092,35083,35095,35096,35097,35078,35094,35089,35086,35081,35234,35236,35235,35309,35312,35308,35535,35526,35512,35539,35537,35540,35541,35515,35543,35518,35520,35525,35544,35523,35514,35517,35545,35902,35917,35983,36069,36063,36057,36072,36058,36061,36071,36256,36252,36257,36251,36384,36387,36389,36388,36398,36373,36379,36374,36369,36377,36390,36391,36372,36370,36376,36371,36380,36375,36378,36652,36644,36632,36634,36640,36643,36630,36631,36979,36976,36975,36967,36971,37167,37163,37161,37162,37170,37158,37166,37253,37254,37258,37249,37250,37252,37248,37584,37571,37572,37568,37593,37558,37583,37617,37599,37592,37609,37591,37597,37580,37615,37570,37608,37578,37576,37582,37606,37581,37589,37577,37600,37598,37607,37585,37587,37557,37601,37574,37556,38268,38316,38315,38318,38320,38564,38562,38611,38661,38664,38658,38746,38794,38798,38792,38864,38863,38942,38941,38950,38953,38952,38944,38939,38951,39090,39176,39162,39185,39188,39190,39191,39189,39388,39373,39375,39379,39380,39374,39369,39382,39384,39371,39383,39372,39603,39660,39659,39667,39666,39665,39750,39747,39783,39796,39793,39782,39798,39797,39792,39784,39780,39788,40188,40186,40189,40191,40183,40199,40192,40185,40187,40200,40197,40196,40579,40659,40719,40720,20764,20755,20759,20762,20753,20958,21300,21473,22128,22112,22126,22131,22118,22115,22125,22130,22110,22135,22300,22299,22728,22717,22729,22719,22714,22722,22716,22726,23319,23321,23323,23329,23316,23315,23312,23318,23336,23322,23328,23326,23535,23980,23985,23977,23975,23989,23984,23982,23978,23976,23986,23981,23983,23988,24167,24168,24166,24175,24297,24295,24294,24296,24293,24395,24508,24989,25e3,24982,25029,25012,25030,25025,25036,25018,25023,25016,24972,25815,25814,25808,25807,25801,25789,25737,25795,25819,25843,25817,25907,25983,25980,26018,26312,26302,26304,26314,26315,26319,26301,26299,26298,26316,26403,27188,27238,27209,27239,27186,27240,27198,27229,27245,27254,27227,27217,27176,27226,27195,27199,27201,27242,27236,27216,27215,27220,27247,27241,27232,27196,27230,27222,27221,27213,27214,27206,27477,27476,27478,27559,27562,27563,27592,27591,27652,27651,27654,28589,28619,28579,28615,28604,28622,28616,28510,28612,28605,28574,28618,28584,28676,28581,28590,28602,28588,28586,28623,28607,28600,28578,28617,28587,28621,28591,28594,28592,29125,29122,29119,29112,29142,29120,29121,29131,29140,29130,29127,29135,29117,29144,29116,29126,29146,29147,29341,29342,29545,29542,29543,29548,29541,29547,29546,29823,29850,29856,29844,29842,29845,29857,29963,30080,30255,30253,30257,30269,30259,30268,30261,30258,30256,30395,30438,30618,30621,30625,30620,30619,30626,30627,30613,30617,30615,30941,30953,30949,30954,30942,30947,30939,30945,30946,30957,30943,30944,31140,31300,31304,31303,31414,31416,31413,31409,31415,31710,31715,31719,31709,31701,31717,31706,31720,31737,31700,31722,31714,31708,31723,31704,31711,31954,31956,31959,31952,31953,32274,32289,32279,32268,32287,32288,32275,32270,32284,32277,32282,32290,32267,32271,32278,32269,32276,32293,32292,32579,32635,32636,32634,32689,32751,32810,32809,32876,33201,33190,33198,33209,33205,33195,33200,33196,33204,33202,33207,33191,33266,33365,33366,33367,34134,34117,34155,34125,34131,34145,34136,34112,34118,34148,34113,34146,34116,34129,34119,34147,34110,34139,34161,34126,34158,34165,34133,34151,34144,34188,34150,34141,34132,34149,34156,34403,34405,34404,34715,34703,34711,34707,34706,34696,34689,34710,34712,34681,34695,34723,34693,34704,34705,34717,34692,34708,34716,34714,34697,35102,35110,35120,35117,35118,35111,35121,35106,35113,35107,35119,35116,35103,35313,35552,35554,35570,35572,35573,35549,35604,35556,35551,35568,35528,35550,35553,35560,35583,35567,35579,35985,35986,35984,36085,36078,36081,36080,36083,36204,36206,36261,36263,36403,36414,36408,36416,36421,36406,36412,36413,36417,36400,36415,36541,36662,36654,36661,36658,36665,36663,36660,36982,36985,36987,36998,37114,37171,37173,37174,37267,37264,37265,37261,37263,37671,37662,37640,37663,37638,37647,37754,37688,37692,37659,37667,37650,37633,37702,37677,37646,37645,37579,37661,37626,37669,37651,37625,37623,37684,37634,37668,37631,37673,37689,37685,37674,37652,37644,37643,37630,37641,37632,37627,37654,38332,38349,38334,38329,38330,38326,38335,38325,38333,38569,38612,38667,38674,38672,38809,38807,38804,38896,38904,38965,38959,38962,39204,39199,39207,39209,39326,39406,39404,39397,39396,39408,39395,39402,39401,39399,39609,39615,39604,39611,39670,39674,39673,39671,39731,39808,39813,39815,39804,39806,39803,39810,39827,39826,39824,39802,39829,39805,39816,40229,40215,40224,40222,40212,40233,40221,40216,40226,40208,40217,40223,40584,40582,40583,40622,40621,40661,40662,40698,40722,40765,20774,20773,20770,20772,20768,20777,21236,22163,22156,22157,22150,22148,22147,22142,22146,22143,22145,22742,22740,22735,22738,23341,23333,23346,23331,23340,23335,23334,23343,23342,23419,23537,23538,23991,24172,24170,24510,24507,25027,25013,25020,25063,25056,25061,25060,25064,25054,25839,25833,25827,25835,25828,25832,25985,25984,26038,26074,26322,27277,27286,27265,27301,27273,27295,27291,27297,27294,27271,27283,27278,27285,27267,27304,27300,27281,27263,27302,27290,27269,27276,27282,27483,27565,27657,28620,28585,28660,28628,28643,28636,28653,28647,28646,28638,28658,28637,28642,28648,29153,29169,29160,29170,29156,29168,29154,29555,29550,29551,29847,29874,29867,29840,29866,29869,29873,29861,29871,29968,29969,29970,29967,30084,30275,30280,30281,30279,30372,30441,30645,30635,30642,30647,30646,30644,30641,30632,30704,30963,30973,30978,30971,30972,30962,30981,30969,30974,30980,31147,31144,31324,31323,31318,31320,31316,31322,31422,31424,31425,31749,31759,31730,31744,31743,31739,31758,31732,31755,31731,31746,31753,31747,31745,31736,31741,31750,31728,31729,31760,31754,31976,32301,32316,32322,32307,38984,32312,32298,32329,32320,32327,32297,32332,32304,32315,32310,32324,32314,32581,32639,32638,32637,32756,32754,32812,33211,33220,33228,33226,33221,33223,33212,33257,33371,33370,33372,34179,34176,34191,34215,34197,34208,34187,34211,34171,34212,34202,34206,34167,34172,34185,34209,34170,34168,34135,34190,34198,34182,34189,34201,34205,34177,34210,34178,34184,34181,34169,34166,34200,34192,34207,34408,34750,34730,34733,34757,34736,34732,34745,34741,34748,34734,34761,34755,34754,34764,34743,34735,34756,34762,34740,34742,34751,34744,34749,34782,34738,35125,35123,35132,35134,35137,35154,35127,35138,35245,35247,35246,35314,35315,35614,35608,35606,35601,35589,35595,35618,35599,35602,35605,35591,35597,35592,35590,35612,35603,35610,35919,35952,35954,35953,35951,35989,35988,36089,36207,36430,36429,36435,36432,36428,36423,36675,36672,36997,36990,37176,37274,37282,37275,37273,37279,37281,37277,37280,37793,37763,37807,37732,37718,37703,37756,37720,37724,37750,37705,37712,37713,37728,37741,37775,37708,37738,37753,37719,37717,37714,37711,37745,37751,37755,37729,37726,37731,37735,37760,37710,37721,38343,38336,38345,38339,38341,38327,38574,38576,38572,38688,38687,38680,38685,38681,38810,38817,38812,38814,38813,38869,38868,38897,38977,38980,38986,38985,38981,38979,39205,39211,39212,39210,39219,39218,39215,39213,39217,39216,39320,39331,39329,39426,39418,39412,39415,39417,39416,39414,39419,39421,39422,39420,39427,39614,39678,39677,39681,39676,39752,39834,39848,39838,39835,39846,39841,39845,39844,39814,39842,39840,39855,40243,40257,40295,40246,40238,40239,40241,40248,40240,40261,40258,40259,40254,40247,40256,40253,32757,40237,40586,40585,40589,40624,40648,40666,40699,40703,40740,40739,40738,40788,40864,20785,20781,20782,22168,22172,22167,22170,22173,22169,22896,23356,23657,23658,24e3,24173,24174,25048,25055,25069,25070,25073,25066,25072,25067,25046,25065,25855,25860,25853,25848,25857,25859,25852,26004,26075,26330,26331,26328,27333,27321,27325,27361,27334,27322,27318,27319,27335,27316,27309,27486,27593,27659,28679,28684,28685,28673,28677,28692,28686,28671,28672,28667,28710,28668,28663,28682,29185,29183,29177,29187,29181,29558,29880,29888,29877,29889,29886,29878,29883,29890,29972,29971,30300,30308,30297,30288,30291,30295,30298,30374,30397,30444,30658,30650,30975,30988,30995,30996,30985,30992,30994,30993,31149,31148,31327,31772,31785,31769,31776,31775,31789,31773,31782,31784,31778,31781,31792,32348,32336,32342,32355,32344,32354,32351,32337,32352,32343,32339,32693,32691,32759,32760,32885,33233,33234,33232,33375,33374,34228,34246,34240,34243,34242,34227,34229,34237,34247,34244,34239,34251,34254,34248,34245,34225,34230,34258,34340,34232,34231,34238,34409,34791,34790,34786,34779,34795,34794,34789,34783,34803,34788,34772,34780,34771,34797,34776,34787,34724,34775,34777,34817,34804,34792,34781,35155,35147,35151,35148,35142,35152,35153,35145,35626,35623,35619,35635,35632,35637,35655,35631,35644,35646,35633,35621,35639,35622,35638,35630,35620,35643,35645,35642,35906,35957,35993,35992,35991,36094,36100,36098,36096,36444,36450,36448,36439,36438,36446,36453,36455,36443,36442,36449,36445,36457,36436,36678,36679,36680,36683,37160,37178,37179,37182,37288,37285,37287,37295,37290,37813,37772,37778,37815,37787,37789,37769,37799,37774,37802,37790,37798,37781,37768,37785,37791,37773,37809,37777,37810,37796,37800,37812,37795,37797,38354,38355,38353,38579,38615,38618,24002,38623,38616,38621,38691,38690,38693,38828,38830,38824,38827,38820,38826,38818,38821,38871,38873,38870,38872,38906,38992,38993,38994,39096,39233,39228,39226,39439,39435,39433,39437,39428,39441,39434,39429,39431,39430,39616,39644,39688,39684,39685,39721,39733,39754,39756,39755,39879,39878,39875,39871,39873,39861,39864,39891,39862,39876,39865,39869,40284,40275,40271,40266,40283,40267,40281,40278,40268,40279,40274,40276,40287,40280,40282,40590,40588,40671,40705,40704,40726,40741,40747,40746,40745,40744,40780,40789,20788,20789,21142,21239,21428,22187,22189,22182,22183,22186,22188,22746,22749,22747,22802,23357,23358,23359,24003,24176,24511,25083,25863,25872,25869,25865,25868,25870,25988,26078,26077,26334,27367,27360,27340,27345,27353,27339,27359,27356,27344,27371,27343,27341,27358,27488,27568,27660,28697,28711,28704,28694,28715,28705,28706,28707,28713,28695,28708,28700,28714,29196,29194,29191,29186,29189,29349,29350,29348,29347,29345,29899,29893,29879,29891,29974,30304,30665,30666,30660,30705,31005,31003,31009,31004,30999,31006,31152,31335,31336,31795,31804,31801,31788,31803,31980,31978,32374,32373,32376,32368,32375,32367,32378,32370,32372,32360,32587,32586,32643,32646,32695,32765,32766,32888,33239,33237,33380,33377,33379,34283,34289,34285,34265,34273,34280,34266,34263,34284,34290,34296,34264,34271,34275,34268,34257,34288,34278,34287,34270,34274,34816,34810,34819,34806,34807,34825,34828,34827,34822,34812,34824,34815,34826,34818,35170,35162,35163,35159,35169,35164,35160,35165,35161,35208,35255,35254,35318,35664,35656,35658,35648,35667,35670,35668,35659,35669,35665,35650,35666,35671,35907,35959,35958,35994,36102,36103,36105,36268,36266,36269,36267,36461,36472,36467,36458,36463,36475,36546,36690,36689,36687,36688,36691,36788,37184,37183,37296,37293,37854,37831,37839,37826,37850,37840,37881,37868,37836,37849,37801,37862,37834,37844,37870,37859,37845,37828,37838,37824,37842,37863,38269,38362,38363,38625,38697,38699,38700,38696,38694,38835,38839,38838,38877,38878,38879,39004,39001,39005,38999,39103,39101,39099,39102,39240,39239,39235,39334,39335,39450,39445,39461,39453,39460,39451,39458,39456,39463,39459,39454,39452,39444,39618,39691,39690,39694,39692,39735,39914,39915,39904,39902,39908,39910,39906,39920,39892,39895,39916,39900,39897,39909,39893,39905,39898,40311,40321,40330,40324,40328,40305,40320,40312,40326,40331,40332,40317,40299,40308,40309,40304,40297,40325,40307,40315,40322,40303,40313,40319,40327,40296,40596,40593,40640,40700,40749,40768,40769,40781,40790,40791,40792,21303,22194,22197,22195,22755,23365,24006,24007,24302,24303,24512,24513,25081,25879,25878,25877,25875,26079,26344,26339,26340,27379,27376,27370,27368,27385,27377,27374,27375,28732,28725,28719,28727,28724,28721,28738,28728,28735,28730,28729,28736,28731,28723,28737,29203,29204,29352,29565,29564,29882,30379,30378,30398,30445,30668,30670,30671,30669,30706,31013,31011,31015,31016,31012,31017,31154,31342,31340,31341,31479,31817,31816,31818,31815,31813,31982,32379,32382,32385,32384,32698,32767,32889,33243,33241,33291,33384,33385,34338,34303,34305,34302,34331,34304,34294,34308,34313,34309,34316,34301,34841,34832,34833,34839,34835,34838,35171,35174,35257,35319,35680,35690,35677,35688,35683,35685,35687,35693,36270,36486,36488,36484,36697,36694,36695,36693,36696,36698,37005,37187,37185,37303,37301,37298,37299,37899,37907,37883,37920,37903,37908,37886,37909,37904,37928,37913,37901,37877,37888,37879,37895,37902,37910,37906,37882,37897,37880,37898,37887,37884,37900,37878,37905,37894,38366,38368,38367,38702,38703,38841,38843,38909,38910,39008,39010,39011,39007,39105,39106,39248,39246,39257,39244,39243,39251,39474,39476,39473,39468,39466,39478,39465,39470,39480,39469,39623,39626,39622,39696,39698,39697,39947,39944,39927,39941,39954,39928,4e4,39943,39950,39942,39959,39956,39945,40351,40345,40356,40349,40338,40344,40336,40347,40352,40340,40348,40362,40343,40353,40346,40354,40360,40350,40355,40383,40361,40342,40358,40359,40601,40603,40602,40677,40676,40679,40678,40752,40750,40795,40800,40798,40797,40793,40849,20794,20793,21144,21143,22211,22205,22206,23368,23367,24011,24015,24305,25085,25883,27394,27388,27395,27384,27392,28739,28740,28746,28744,28745,28741,28742,29213,29210,29209,29566,29975,30314,30672,31021,31025,31023,31828,31827,31986,32394,32391,32392,32395,32390,32397,32589,32699,32816,33245,34328,34346,34342,34335,34339,34332,34329,34343,34350,34337,34336,34345,34334,34341,34857,34845,34843,34848,34852,34844,34859,34890,35181,35177,35182,35179,35322,35705,35704,35653,35706,35707,36112,36116,36271,36494,36492,36702,36699,36701,37190,37188,37189,37305,37951,37947,37942,37929,37949,37948,37936,37945,37930,37943,37932,37952,37937,38373,38372,38371,38709,38714,38847,38881,39012,39113,39110,39104,39256,39254,39481,39485,39494,39492,39490,39489,39482,39487,39629,39701,39703,39704,39702,39738,39762,39979,39965,39964,39980,39971,39976,39977,39972,39969,40375,40374,40380,40385,40391,40394,40399,40382,40389,40387,40379,40373,40398,40377,40378,40364,40392,40369,40365,40396,40371,40397,40370,40570,40604,40683,40686,40685,40731,40728,40730,40753,40782,40805,40804,40850,20153,22214,22213,22219,22897,23371,23372,24021,24017,24306,25889,25888,25894,25890,27403,27400,27401,27661,28757,28758,28759,28754,29214,29215,29353,29567,29912,29909,29913,29911,30317,30381,31029,31156,31344,31345,31831,31836,31833,31835,31834,31988,31985,32401,32591,32647,33246,33387,34356,34357,34355,34348,34354,34358,34860,34856,34854,34858,34853,35185,35263,35262,35323,35710,35716,35714,35718,35717,35711,36117,36501,36500,36506,36498,36496,36502,36503,36704,36706,37191,37964,37968,37962,37963,37967,37959,37957,37960,37961,37958,38719,38883,39018,39017,39115,39252,39259,39502,39507,39508,39500,39503,39496,39498,39497,39506,39504,39632,39705,39723,39739,39766,39765,40006,40008,39999,40004,39993,39987,40001,39996,39991,39988,39986,39997,39990,40411,40402,40414,40410,40395,40400,40412,40401,40415,40425,40409,40408,40406,40437,40405,40413,40630,40688,40757,40755,40754,40770,40811,40853,40866,20797,21145,22760,22759,22898,23373,24024,34863,24399,25089,25091,25092,25897,25893,26006,26347,27409,27410,27407,27594,28763,28762,29218,29570,29569,29571,30320,30676,31847,31846,32405,33388,34362,34368,34361,34364,34353,34363,34366,34864,34866,34862,34867,35190,35188,35187,35326,35724,35726,35723,35720,35909,36121,36504,36708,36707,37308,37986,37973,37981,37975,37982,38852,38853,38912,39510,39513,39710,39711,39712,40018,40024,40016,40010,40013,40011,40021,40025,40012,40014,40443,40439,40431,40419,40427,40440,40420,40438,40417,40430,40422,40434,40432,40418,40428,40436,40435,40424,40429,40642,40656,40690,40691,40710,40732,40760,40759,40758,40771,40783,40817,40816,40814,40815,22227,22221,23374,23661,25901,26349,26350,27411,28767,28769,28765,28768,29219,29915,29925,30677,31032,31159,31158,31850,32407,32649,33389,34371,34872,34871,34869,34891,35732,35733,36510,36511,36512,36509,37310,37309,37314,37995,37992,37993,38629,38726,38723,38727,38855,38885,39518,39637,39769,40035,40039,40038,40034,40030,40032,40450,40446,40455,40451,40454,40453,40448,40449,40457,40447,40445,40452,40608,40734,40774,40820,40821,40822,22228,25902,26040,27416,27417,27415,27418,28770,29222,29354,30680,30681,31033,31849,31851,31990,32410,32408,32411,32409,33248,33249,34374,34375,34376,35193,35194,35196,35195,35327,35736,35737,36517,36516,36515,37998,37997,37999,38001,38003,38729,39026,39263,40040,40046,40045,40459,40461,40464,40463,40466,40465,40609,40693,40713,40775,40824,40827,40826,40825,22302,28774,31855,34876,36274,36518,37315,38004,38008,38006,38005,39520,40052,40051,40049,40053,40468,40467,40694,40714,40868,28776,28773,31991,34410,34878,34877,34879,35742,35996,36521,36553,38731,39027,39028,39116,39265,39339,39524,39526,39527,39716,40469,40471,40776,25095,27422,29223,34380,36520,38018,38016,38017,39529,39528,39726,40473,29225,34379,35743,38019,40057,40631,30325,39531,40058,40477,28777,28778,40612,40830,40777,40856,30849,37561,35023,22715,24658,31911,23290,9556,9574,9559,9568,9580,9571,9562,9577,9565,9554,9572,9557,9566,9578,9569,9560,9575,9563,9555,9573,9558,9567,9579,9570,9561,9576,9564,9553,9552,9581,9582,9584,9583,65517,132423,37595,132575,147397,34124,17077,29679,20917,13897,149826,166372,37700,137691,33518,146632,30780,26436,25311,149811,166314,131744,158643,135941,20395,140525,20488,159017,162436,144896,150193,140563,20521,131966,24484,131968,131911,28379,132127,20605,20737,13434,20750,39020,14147,33814,149924,132231,20832,144308,20842,134143,139516,131813,140592,132494,143923,137603,23426,34685,132531,146585,20914,20920,40244,20937,20943,20945,15580,20947,150182,20915,20962,21314,20973,33741,26942,145197,24443,21003,21030,21052,21173,21079,21140,21177,21189,31765,34114,21216,34317,158483,21253,166622,21833,28377,147328,133460,147436,21299,21316,134114,27851,136998,26651,29653,24650,16042,14540,136936,29149,17570,21357,21364,165547,21374,21375,136598,136723,30694,21395,166555,21408,21419,21422,29607,153458,16217,29596,21441,21445,27721,20041,22526,21465,15019,134031,21472,147435,142755,21494,134263,21523,28793,21803,26199,27995,21613,158547,134516,21853,21647,21668,18342,136973,134877,15796,134477,166332,140952,21831,19693,21551,29719,21894,21929,22021,137431,147514,17746,148533,26291,135348,22071,26317,144010,26276,26285,22093,22095,30961,22257,38791,21502,22272,22255,22253,166758,13859,135759,22342,147877,27758,28811,22338,14001,158846,22502,136214,22531,136276,148323,22566,150517,22620,22698,13665,22752,22748,135740,22779,23551,22339,172368,148088,37843,13729,22815,26790,14019,28249,136766,23076,21843,136850,34053,22985,134478,158849,159018,137180,23001,137211,137138,159142,28017,137256,136917,23033,159301,23211,23139,14054,149929,23159,14088,23190,29797,23251,159649,140628,15749,137489,14130,136888,24195,21200,23414,25992,23420,162318,16388,18525,131588,23509,24928,137780,154060,132517,23539,23453,19728,23557,138052,23571,29646,23572,138405,158504,23625,18653,23685,23785,23791,23947,138745,138807,23824,23832,23878,138916,23738,24023,33532,14381,149761,139337,139635,33415,14390,15298,24110,27274,24181,24186,148668,134355,21414,20151,24272,21416,137073,24073,24308,164994,24313,24315,14496,24316,26686,37915,24333,131521,194708,15070,18606,135994,24378,157832,140240,24408,140401,24419,38845,159342,24434,37696,166454,24487,23990,15711,152144,139114,159992,140904,37334,131742,166441,24625,26245,137335,14691,15815,13881,22416,141236,31089,15936,24734,24740,24755,149890,149903,162387,29860,20705,23200,24932,33828,24898,194726,159442,24961,20980,132694,24967,23466,147383,141407,25043,166813,170333,25040,14642,141696,141505,24611,24924,25886,25483,131352,25285,137072,25301,142861,25452,149983,14871,25656,25592,136078,137212,25744,28554,142902,38932,147596,153373,25825,25829,38011,14950,25658,14935,25933,28438,150056,150051,25989,25965,25951,143486,26037,149824,19255,26065,16600,137257,26080,26083,24543,144384,26136,143863,143864,26180,143780,143781,26187,134773,26215,152038,26227,26228,138813,143921,165364,143816,152339,30661,141559,39332,26370,148380,150049,15147,27130,145346,26462,26471,26466,147917,168173,26583,17641,26658,28240,37436,26625,144358,159136,26717,144495,27105,27147,166623,26995,26819,144845,26881,26880,15666,14849,144956,15232,26540,26977,166474,17148,26934,27032,15265,132041,33635,20624,27129,144985,139562,27205,145155,27293,15347,26545,27336,168348,15373,27421,133411,24798,27445,27508,141261,28341,146139,132021,137560,14144,21537,146266,27617,147196,27612,27703,140427,149745,158545,27738,33318,27769,146876,17605,146877,147876,149772,149760,146633,14053,15595,134450,39811,143865,140433,32655,26679,159013,159137,159211,28054,27996,28284,28420,149887,147589,159346,34099,159604,20935,27804,28189,33838,166689,28207,146991,29779,147330,31180,28239,23185,143435,28664,14093,28573,146992,28410,136343,147517,17749,37872,28484,28508,15694,28532,168304,15675,28575,147780,28627,147601,147797,147513,147440,147380,147775,20959,147798,147799,147776,156125,28747,28798,28839,28801,28876,28885,28886,28895,16644,15848,29108,29078,148087,28971,28997,23176,29002,29038,23708,148325,29007,37730,148161,28972,148570,150055,150050,29114,166888,28861,29198,37954,29205,22801,37955,29220,37697,153093,29230,29248,149876,26813,29269,29271,15957,143428,26637,28477,29314,29482,29483,149539,165931,18669,165892,29480,29486,29647,29610,134202,158254,29641,29769,147938,136935,150052,26147,14021,149943,149901,150011,29687,29717,26883,150054,29753,132547,16087,29788,141485,29792,167602,29767,29668,29814,33721,29804,14128,29812,37873,27180,29826,18771,150156,147807,150137,166799,23366,166915,137374,29896,137608,29966,29929,29982,167641,137803,23511,167596,37765,30029,30026,30055,30062,151426,16132,150803,30094,29789,30110,30132,30210,30252,30289,30287,30319,30326,156661,30352,33263,14328,157969,157966,30369,30373,30391,30412,159647,33890,151709,151933,138780,30494,30502,30528,25775,152096,30552,144044,30639,166244,166248,136897,30708,30729,136054,150034,26826,30895,30919,30931,38565,31022,153056,30935,31028,30897,161292,36792,34948,166699,155779,140828,31110,35072,26882,31104,153687,31133,162617,31036,31145,28202,160038,16040,31174,168205,31188],"euc-kr":[44034,44035,44037,44038,44043,44044,44045,44046,44047,44056,44062,44063,44065,44066,44067,44069,44070,44071,44072,44073,44074,44075,44078,44082,44083,44084,null,null,null,null,null,null,44085,44086,44087,44090,44091,44093,44094,44095,44097,44098,44099,44100,44101,44102,44103,44104,44105,44106,44108,44110,44111,44112,44113,44114,44115,44117,null,null,null,null,null,null,44118,44119,44121,44122,44123,44125,44126,44127,44128,44129,44130,44131,44132,44133,44134,44135,44136,44137,44138,44139,44140,44141,44142,44143,44146,44147,44149,44150,44153,44155,44156,44157,44158,44159,44162,44167,44168,44173,44174,44175,44177,44178,44179,44181,44182,44183,44184,44185,44186,44187,44190,44194,44195,44196,44197,44198,44199,44203,44205,44206,44209,44210,44211,44212,44213,44214,44215,44218,44222,44223,44224,44226,44227,44229,44230,44231,44233,44234,44235,44237,44238,44239,44240,44241,44242,44243,44244,44246,44248,44249,44250,44251,44252,44253,44254,44255,44258,44259,44261,44262,44265,44267,44269,44270,44274,44276,44279,44280,44281,44282,44283,44286,44287,44289,44290,44291,44293,44295,44296,44297,44298,44299,44302,44304,44306,44307,44308,44309,44310,44311,44313,44314,44315,44317,44318,44319,44321,44322,44323,44324,44325,44326,44327,44328,44330,44331,44334,44335,44336,44337,44338,44339,null,null,null,null,null,null,44342,44343,44345,44346,44347,44349,44350,44351,44352,44353,44354,44355,44358,44360,44362,44363,44364,44365,44366,44367,44369,44370,44371,44373,44374,44375,null,null,null,null,null,null,44377,44378,44379,44380,44381,44382,44383,44384,44386,44388,44389,44390,44391,44392,44393,44394,44395,44398,44399,44401,44402,44407,44408,44409,44410,44414,44416,44419,44420,44421,44422,44423,44426,44427,44429,44430,44431,44433,44434,44435,44436,44437,44438,44439,44440,44441,44442,44443,44446,44447,44448,44449,44450,44451,44453,44454,44455,44456,44457,44458,44459,44460,44461,44462,44463,44464,44465,44466,44467,44468,44469,44470,44472,44473,44474,44475,44476,44477,44478,44479,44482,44483,44485,44486,44487,44489,44490,44491,44492,44493,44494,44495,44498,44500,44501,44502,44503,44504,44505,44506,44507,44509,44510,44511,44513,44514,44515,44517,44518,44519,44520,44521,44522,44523,44524,44525,44526,44527,44528,44529,44530,44531,44532,44533,44534,44535,44538,44539,44541,44542,44546,44547,44548,44549,44550,44551,44554,44556,44558,44559,44560,44561,44562,44563,44565,44566,44567,44568,44569,44570,44571,44572,null,null,null,null,null,null,44573,44574,44575,44576,44577,44578,44579,44580,44581,44582,44583,44584,44585,44586,44587,44588,44589,44590,44591,44594,44595,44597,44598,44601,44603,44604,null,null,null,null,null,null,44605,44606,44607,44610,44612,44615,44616,44617,44619,44623,44625,44626,44627,44629,44631,44632,44633,44634,44635,44638,44642,44643,44644,44646,44647,44650,44651,44653,44654,44655,44657,44658,44659,44660,44661,44662,44663,44666,44670,44671,44672,44673,44674,44675,44678,44679,44680,44681,44682,44683,44685,44686,44687,44688,44689,44690,44691,44692,44693,44694,44695,44696,44697,44698,44699,44700,44701,44702,44703,44704,44705,44706,44707,44708,44709,44710,44711,44712,44713,44714,44715,44716,44717,44718,44719,44720,44721,44722,44723,44724,44725,44726,44727,44728,44729,44730,44731,44735,44737,44738,44739,44741,44742,44743,44744,44745,44746,44747,44750,44754,44755,44756,44757,44758,44759,44762,44763,44765,44766,44767,44768,44769,44770,44771,44772,44773,44774,44775,44777,44778,44780,44782,44783,44784,44785,44786,44787,44789,44790,44791,44793,44794,44795,44797,44798,44799,44800,44801,44802,44803,44804,44805,null,null,null,null,null,null,44806,44809,44810,44811,44812,44814,44815,44817,44818,44819,44820,44821,44822,44823,44824,44825,44826,44827,44828,44829,44830,44831,44832,44833,44834,44835,null,null,null,null,null,null,44836,44837,44838,44839,44840,44841,44842,44843,44846,44847,44849,44851,44853,44854,44855,44856,44857,44858,44859,44862,44864,44868,44869,44870,44871,44874,44875,44876,44877,44878,44879,44881,44882,44883,44884,44885,44886,44887,44888,44889,44890,44891,44894,44895,44896,44897,44898,44899,44902,44903,44904,44905,44906,44907,44908,44909,44910,44911,44912,44913,44914,44915,44916,44917,44918,44919,44920,44922,44923,44924,44925,44926,44927,44929,44930,44931,44933,44934,44935,44937,44938,44939,44940,44941,44942,44943,44946,44947,44948,44950,44951,44952,44953,44954,44955,44957,44958,44959,44960,44961,44962,44963,44964,44965,44966,44967,44968,44969,44970,44971,44972,44973,44974,44975,44976,44977,44978,44979,44980,44981,44982,44983,44986,44987,44989,44990,44991,44993,44994,44995,44996,44997,44998,45002,45004,45007,45008,45009,45010,45011,45013,45014,45015,45016,45017,45018,45019,45021,45022,45023,45024,45025,null,null,null,null,null,null,45026,45027,45028,45029,45030,45031,45034,45035,45036,45037,45038,45039,45042,45043,45045,45046,45047,45049,45050,45051,45052,45053,45054,45055,45058,45059,null,null,null,null,null,null,45061,45062,45063,45064,45065,45066,45067,45069,45070,45071,45073,45074,45075,45077,45078,45079,45080,45081,45082,45083,45086,45087,45088,45089,45090,45091,45092,45093,45094,45095,45097,45098,45099,45100,45101,45102,45103,45104,45105,45106,45107,45108,45109,45110,45111,45112,45113,45114,45115,45116,45117,45118,45119,45120,45121,45122,45123,45126,45127,45129,45131,45133,45135,45136,45137,45138,45142,45144,45146,45147,45148,45150,45151,45152,45153,45154,45155,45156,45157,45158,45159,45160,45161,45162,45163,45164,45165,45166,45167,45168,45169,45170,45171,45172,45173,45174,45175,45176,45177,45178,45179,45182,45183,45185,45186,45187,45189,45190,45191,45192,45193,45194,45195,45198,45200,45202,45203,45204,45205,45206,45207,45211,45213,45214,45219,45220,45221,45222,45223,45226,45232,45234,45238,45239,45241,45242,45243,45245,45246,45247,45248,45249,45250,45251,45254,45258,45259,45260,45261,45262,45263,45266,null,null,null,null,null,null,45267,45269,45270,45271,45273,45274,45275,45276,45277,45278,45279,45281,45282,45283,45284,45286,45287,45288,45289,45290,45291,45292,45293,45294,45295,45296,null,null,null,null,null,null,45297,45298,45299,45300,45301,45302,45303,45304,45305,45306,45307,45308,45309,45310,45311,45312,45313,45314,45315,45316,45317,45318,45319,45322,45325,45326,45327,45329,45332,45333,45334,45335,45338,45342,45343,45344,45345,45346,45350,45351,45353,45354,45355,45357,45358,45359,45360,45361,45362,45363,45366,45370,45371,45372,45373,45374,45375,45378,45379,45381,45382,45383,45385,45386,45387,45388,45389,45390,45391,45394,45395,45398,45399,45401,45402,45403,45405,45406,45407,45409,45410,45411,45412,45413,45414,45415,45416,45417,45418,45419,45420,45421,45422,45423,45424,45425,45426,45427,45428,45429,45430,45431,45434,45435,45437,45438,45439,45441,45443,45444,45445,45446,45447,45450,45452,45454,45455,45456,45457,45461,45462,45463,45465,45466,45467,45469,45470,45471,45472,45473,45474,45475,45476,45477,45478,45479,45481,45482,45483,45484,45485,45486,45487,45488,45489,45490,45491,45492,45493,45494,45495,45496,null,null,null,null,null,null,45497,45498,45499,45500,45501,45502,45503,45504,45505,45506,45507,45508,45509,45510,45511,45512,45513,45514,45515,45517,45518,45519,45521,45522,45523,45525,null,null,null,null,null,null,45526,45527,45528,45529,45530,45531,45534,45536,45537,45538,45539,45540,45541,45542,45543,45546,45547,45549,45550,45551,45553,45554,45555,45556,45557,45558,45559,45560,45562,45564,45566,45567,45568,45569,45570,45571,45574,45575,45577,45578,45581,45582,45583,45584,45585,45586,45587,45590,45592,45594,45595,45596,45597,45598,45599,45601,45602,45603,45604,45605,45606,45607,45608,45609,45610,45611,45612,45613,45614,45615,45616,45617,45618,45619,45621,45622,45623,45624,45625,45626,45627,45629,45630,45631,45632,45633,45634,45635,45636,45637,45638,45639,45640,45641,45642,45643,45644,45645,45646,45647,45648,45649,45650,45651,45652,45653,45654,45655,45657,45658,45659,45661,45662,45663,45665,45666,45667,45668,45669,45670,45671,45674,45675,45676,45677,45678,45679,45680,45681,45682,45683,45686,45687,45688,45689,45690,45691,45693,45694,45695,45696,45697,45698,45699,45702,45703,45704,45706,45707,45708,45709,45710,null,null,null,null,null,null,45711,45714,45715,45717,45718,45719,45723,45724,45725,45726,45727,45730,45732,45735,45736,45737,45739,45741,45742,45743,45745,45746,45747,45749,45750,45751,null,null,null,null,null,null,45752,45753,45754,45755,45756,45757,45758,45759,45760,45761,45762,45763,45764,45765,45766,45767,45770,45771,45773,45774,45775,45777,45779,45780,45781,45782,45783,45786,45788,45790,45791,45792,45793,45795,45799,45801,45802,45808,45809,45810,45814,45820,45821,45822,45826,45827,45829,45830,45831,45833,45834,45835,45836,45837,45838,45839,45842,45846,45847,45848,45849,45850,45851,45853,45854,45855,45856,45857,45858,45859,45860,45861,45862,45863,45864,45865,45866,45867,45868,45869,45870,45871,45872,45873,45874,45875,45876,45877,45878,45879,45880,45881,45882,45883,45884,45885,45886,45887,45888,45889,45890,45891,45892,45893,45894,45895,45896,45897,45898,45899,45900,45901,45902,45903,45904,45905,45906,45907,45911,45913,45914,45917,45920,45921,45922,45923,45926,45928,45930,45932,45933,45935,45938,45939,45941,45942,45943,45945,45946,45947,45948,45949,45950,45951,45954,45958,45959,45960,45961,45962,45963,45965,null,null,null,null,null,null,45966,45967,45969,45970,45971,45973,45974,45975,45976,45977,45978,45979,45980,45981,45982,45983,45986,45987,45988,45989,45990,45991,45993,45994,45995,45997,null,null,null,null,null,null,45998,45999,46e3,46001,46002,46003,46004,46005,46006,46007,46008,46009,46010,46011,46012,46013,46014,46015,46016,46017,46018,46019,46022,46023,46025,46026,46029,46031,46033,46034,46035,46038,46040,46042,46044,46046,46047,46049,46050,46051,46053,46054,46055,46057,46058,46059,46060,46061,46062,46063,46064,46065,46066,46067,46068,46069,46070,46071,46072,46073,46074,46075,46077,46078,46079,46080,46081,46082,46083,46084,46085,46086,46087,46088,46089,46090,46091,46092,46093,46094,46095,46097,46098,46099,46100,46101,46102,46103,46105,46106,46107,46109,46110,46111,46113,46114,46115,46116,46117,46118,46119,46122,46124,46125,46126,46127,46128,46129,46130,46131,46133,46134,46135,46136,46137,46138,46139,46140,46141,46142,46143,46144,46145,46146,46147,46148,46149,46150,46151,46152,46153,46154,46155,46156,46157,46158,46159,46162,46163,46165,46166,46167,46169,46170,46171,46172,46173,46174,46175,46178,46180,46182,null,null,null,null,null,null,46183,46184,46185,46186,46187,46189,46190,46191,46192,46193,46194,46195,46196,46197,46198,46199,46200,46201,46202,46203,46204,46205,46206,46207,46209,46210,null,null,null,null,null,null,46211,46212,46213,46214,46215,46217,46218,46219,46220,46221,46222,46223,46224,46225,46226,46227,46228,46229,46230,46231,46232,46233,46234,46235,46236,46238,46239,46240,46241,46242,46243,46245,46246,46247,46249,46250,46251,46253,46254,46255,46256,46257,46258,46259,46260,46262,46264,46266,46267,46268,46269,46270,46271,46273,46274,46275,46277,46278,46279,46281,46282,46283,46284,46285,46286,46287,46289,46290,46291,46292,46294,46295,46296,46297,46298,46299,46302,46303,46305,46306,46309,46311,46312,46313,46314,46315,46318,46320,46322,46323,46324,46325,46326,46327,46329,46330,46331,46332,46333,46334,46335,46336,46337,46338,46339,46340,46341,46342,46343,46344,46345,46346,46347,46348,46349,46350,46351,46352,46353,46354,46355,46358,46359,46361,46362,46365,46366,46367,46368,46369,46370,46371,46374,46379,46380,46381,46382,46383,46386,46387,46389,46390,46391,46393,46394,46395,46396,46397,46398,46399,46402,46406,null,null,null,null,null,null,46407,46408,46409,46410,46414,46415,46417,46418,46419,46421,46422,46423,46424,46425,46426,46427,46430,46434,46435,46436,46437,46438,46439,46440,46441,46442,null,null,null,null,null,null,46443,46444,46445,46446,46447,46448,46449,46450,46451,46452,46453,46454,46455,46456,46457,46458,46459,46460,46461,46462,46463,46464,46465,46466,46467,46468,46469,46470,46471,46472,46473,46474,46475,46476,46477,46478,46479,46480,46481,46482,46483,46484,46485,46486,46487,46488,46489,46490,46491,46492,46493,46494,46495,46498,46499,46501,46502,46503,46505,46508,46509,46510,46511,46514,46518,46519,46520,46521,46522,46526,46527,46529,46530,46531,46533,46534,46535,46536,46537,46538,46539,46542,46546,46547,46548,46549,46550,46551,46553,46554,46555,46556,46557,46558,46559,46560,46561,46562,46563,46564,46565,46566,46567,46568,46569,46570,46571,46573,46574,46575,46576,46577,46578,46579,46580,46581,46582,46583,46584,46585,46586,46587,46588,46589,46590,46591,46592,46593,46594,46595,46596,46597,46598,46599,46600,46601,46602,46603,46604,46605,46606,46607,46610,46611,46613,46614,46615,46617,46618,46619,46620,46621,null,null,null,null,null,null,46622,46623,46624,46625,46626,46627,46628,46630,46631,46632,46633,46634,46635,46637,46638,46639,46640,46641,46642,46643,46645,46646,46647,46648,46649,46650,null,null,null,null,null,null,46651,46652,46653,46654,46655,46656,46657,46658,46659,46660,46661,46662,46663,46665,46666,46667,46668,46669,46670,46671,46672,46673,46674,46675,46676,46677,46678,46679,46680,46681,46682,46683,46684,46685,46686,46687,46688,46689,46690,46691,46693,46694,46695,46697,46698,46699,46700,46701,46702,46703,46704,46705,46706,46707,46708,46709,46710,46711,46712,46713,46714,46715,46716,46717,46718,46719,46720,46721,46722,46723,46724,46725,46726,46727,46728,46729,46730,46731,46732,46733,46734,46735,46736,46737,46738,46739,46740,46741,46742,46743,46744,46745,46746,46747,46750,46751,46753,46754,46755,46757,46758,46759,46760,46761,46762,46765,46766,46767,46768,46770,46771,46772,46773,46774,46775,46776,46777,46778,46779,46780,46781,46782,46783,46784,46785,46786,46787,46788,46789,46790,46791,46792,46793,46794,46795,46796,46797,46798,46799,46800,46801,46802,46803,46805,46806,46807,46808,46809,46810,46811,46812,46813,null,null,null,null,null,null,46814,46815,46816,46817,46818,46819,46820,46821,46822,46823,46824,46825,46826,46827,46828,46829,46830,46831,46833,46834,46835,46837,46838,46839,46841,46842,null,null,null,null,null,null,46843,46844,46845,46846,46847,46850,46851,46852,46854,46855,46856,46857,46858,46859,46860,46861,46862,46863,46864,46865,46866,46867,46868,46869,46870,46871,46872,46873,46874,46875,46876,46877,46878,46879,46880,46881,46882,46883,46884,46885,46886,46887,46890,46891,46893,46894,46897,46898,46899,46900,46901,46902,46903,46906,46908,46909,46910,46911,46912,46913,46914,46915,46917,46918,46919,46921,46922,46923,46925,46926,46927,46928,46929,46930,46931,46934,46935,46936,46937,46938,46939,46940,46941,46942,46943,46945,46946,46947,46949,46950,46951,46953,46954,46955,46956,46957,46958,46959,46962,46964,46966,46967,46968,46969,46970,46971,46974,46975,46977,46978,46979,46981,46982,46983,46984,46985,46986,46987,46990,46995,46996,46997,47002,47003,47005,47006,47007,47009,47010,47011,47012,47013,47014,47015,47018,47022,47023,47024,47025,47026,47027,47030,47031,47033,47034,47035,47036,47037,47038,47039,47040,47041,null,null,null,null,null,null,47042,47043,47044,47045,47046,47048,47050,47051,47052,47053,47054,47055,47056,47057,47058,47059,47060,47061,47062,47063,47064,47065,47066,47067,47068,47069,null,null,null,null,null,null,47070,47071,47072,47073,47074,47075,47076,47077,47078,47079,47080,47081,47082,47083,47086,47087,47089,47090,47091,47093,47094,47095,47096,47097,47098,47099,47102,47106,47107,47108,47109,47110,47114,47115,47117,47118,47119,47121,47122,47123,47124,47125,47126,47127,47130,47132,47134,47135,47136,47137,47138,47139,47142,47143,47145,47146,47147,47149,47150,47151,47152,47153,47154,47155,47158,47162,47163,47164,47165,47166,47167,47169,47170,47171,47173,47174,47175,47176,47177,47178,47179,47180,47181,47182,47183,47184,47186,47188,47189,47190,47191,47192,47193,47194,47195,47198,47199,47201,47202,47203,47205,47206,47207,47208,47209,47210,47211,47214,47216,47218,47219,47220,47221,47222,47223,47225,47226,47227,47229,47230,47231,47232,47233,47234,47235,47236,47237,47238,47239,47240,47241,47242,47243,47244,47246,47247,47248,47249,47250,47251,47252,47253,47254,47255,47256,47257,47258,47259,47260,47261,47262,47263,null,null,null,null,null,null,47264,47265,47266,47267,47268,47269,47270,47271,47273,47274,47275,47276,47277,47278,47279,47281,47282,47283,47285,47286,47287,47289,47290,47291,47292,47293,null,null,null,null,null,null,47294,47295,47298,47300,47302,47303,47304,47305,47306,47307,47309,47310,47311,47313,47314,47315,47317,47318,47319,47320,47321,47322,47323,47324,47326,47328,47330,47331,47332,47333,47334,47335,47338,47339,47341,47342,47343,47345,47346,47347,47348,47349,47350,47351,47354,47356,47358,47359,47360,47361,47362,47363,47365,47366,47367,47368,47369,47370,47371,47372,47373,47374,47375,47376,47377,47378,47379,47380,47381,47382,47383,47385,47386,47387,47388,47389,47390,47391,47393,47394,47395,47396,47397,47398,47399,47400,47401,47402,47403,47404,47405,47406,47407,47408,47409,47410,47411,47412,47413,47414,47415,47416,47417,47418,47419,47422,47423,47425,47426,47427,47429,47430,47431,47432,47433,47434,47435,47437,47438,47440,47442,47443,47444,47445,47446,47447,47450,47451,47453,47454,47455,47457,47458,47459,47460,47461,47462,47463,47466,47468,47470,47471,47472,47473,47474,47475,47478,47479,47481,47482,47483,47485,null,null,null,null,null,null,47486,47487,47488,47489,47490,47491,47494,47496,47499,47500,47503,47504,47505,47506,47507,47508,47509,47510,47511,47512,47513,47514,47515,47516,47517,47518,null,null,null,null,null,null,47519,47520,47521,47522,47523,47524,47525,47526,47527,47528,47529,47530,47531,47534,47535,47537,47538,47539,47541,47542,47543,47544,47545,47546,47547,47550,47552,47554,47555,47556,47557,47558,47559,47562,47563,47565,47571,47572,47573,47574,47575,47578,47580,47583,47584,47586,47590,47591,47593,47594,47595,47597,47598,47599,47600,47601,47602,47603,47606,47611,47612,47613,47614,47615,47618,47619,47620,47621,47622,47623,47625,47626,47627,47628,47629,47630,47631,47632,47633,47634,47635,47636,47638,47639,47640,47641,47642,47643,47644,47645,47646,47647,47648,47649,47650,47651,47652,47653,47654,47655,47656,47657,47658,47659,47660,47661,47662,47663,47664,47665,47666,47667,47668,47669,47670,47671,47674,47675,47677,47678,47679,47681,47683,47684,47685,47686,47687,47690,47692,47695,47696,47697,47698,47702,47703,47705,47706,47707,47709,47710,47711,47712,47713,47714,47715,47718,47722,47723,47724,47725,47726,47727,null,null,null,null,null,null,47730,47731,47733,47734,47735,47737,47738,47739,47740,47741,47742,47743,47744,47745,47746,47750,47752,47753,47754,47755,47757,47758,47759,47760,47761,47762,null,null,null,null,null,null,47763,47764,47765,47766,47767,47768,47769,47770,47771,47772,47773,47774,47775,47776,47777,47778,47779,47780,47781,47782,47783,47786,47789,47790,47791,47793,47795,47796,47797,47798,47799,47802,47804,47806,47807,47808,47809,47810,47811,47813,47814,47815,47817,47818,47819,47820,47821,47822,47823,47824,47825,47826,47827,47828,47829,47830,47831,47834,47835,47836,47837,47838,47839,47840,47841,47842,47843,47844,47845,47846,47847,47848,47849,47850,47851,47852,47853,47854,47855,47856,47857,47858,47859,47860,47861,47862,47863,47864,47865,47866,47867,47869,47870,47871,47873,47874,47875,47877,47878,47879,47880,47881,47882,47883,47884,47886,47888,47890,47891,47892,47893,47894,47895,47897,47898,47899,47901,47902,47903,47905,47906,47907,47908,47909,47910,47911,47912,47914,47916,47917,47918,47919,47920,47921,47922,47923,47927,47929,47930,47935,47936,47937,47938,47939,47942,47944,47946,47947,47948,47950,47953,47954,null,null,null,null,null,null,47955,47957,47958,47959,47961,47962,47963,47964,47965,47966,47967,47968,47970,47972,47973,47974,47975,47976,47977,47978,47979,47981,47982,47983,47984,47985,null,null,null,null,null,null,47986,47987,47988,47989,47990,47991,47992,47993,47994,47995,47996,47997,47998,47999,48e3,48001,48002,48003,48004,48005,48006,48007,48009,48010,48011,48013,48014,48015,48017,48018,48019,48020,48021,48022,48023,48024,48025,48026,48027,48028,48029,48030,48031,48032,48033,48034,48035,48037,48038,48039,48041,48042,48043,48045,48046,48047,48048,48049,48050,48051,48053,48054,48056,48057,48058,48059,48060,48061,48062,48063,48065,48066,48067,48069,48070,48071,48073,48074,48075,48076,48077,48078,48079,48081,48082,48084,48085,48086,48087,48088,48089,48090,48091,48092,48093,48094,48095,48096,48097,48098,48099,48100,48101,48102,48103,48104,48105,48106,48107,48108,48109,48110,48111,48112,48113,48114,48115,48116,48117,48118,48119,48122,48123,48125,48126,48129,48131,48132,48133,48134,48135,48138,48142,48144,48146,48147,48153,48154,48160,48161,48162,48163,48166,48168,48170,48171,48172,48174,48175,48178,48179,48181,null,null,null,null,null,null,48182,48183,48185,48186,48187,48188,48189,48190,48191,48194,48198,48199,48200,48202,48203,48206,48207,48209,48210,48211,48212,48213,48214,48215,48216,48217,null,null,null,null,null,null,48218,48219,48220,48222,48223,48224,48225,48226,48227,48228,48229,48230,48231,48232,48233,48234,48235,48236,48237,48238,48239,48240,48241,48242,48243,48244,48245,48246,48247,48248,48249,48250,48251,48252,48253,48254,48255,48256,48257,48258,48259,48262,48263,48265,48266,48269,48271,48272,48273,48274,48275,48278,48280,48283,48284,48285,48286,48287,48290,48291,48293,48294,48297,48298,48299,48300,48301,48302,48303,48306,48310,48311,48312,48313,48314,48315,48318,48319,48321,48322,48323,48325,48326,48327,48328,48329,48330,48331,48332,48334,48338,48339,48340,48342,48343,48345,48346,48347,48349,48350,48351,48352,48353,48354,48355,48356,48357,48358,48359,48360,48361,48362,48363,48364,48365,48366,48367,48368,48369,48370,48371,48375,48377,48378,48379,48381,48382,48383,48384,48385,48386,48387,48390,48392,48394,48395,48396,48397,48398,48399,48401,48402,48403,48405,48406,48407,48408,48409,48410,48411,48412,48413,null,null,null,null,null,null,48414,48415,48416,48417,48418,48419,48421,48422,48423,48424,48425,48426,48427,48429,48430,48431,48432,48433,48434,48435,48436,48437,48438,48439,48440,48441,null,null,null,null,null,null,48442,48443,48444,48445,48446,48447,48449,48450,48451,48452,48453,48454,48455,48458,48459,48461,48462,48463,48465,48466,48467,48468,48469,48470,48471,48474,48475,48476,48477,48478,48479,48480,48481,48482,48483,48485,48486,48487,48489,48490,48491,48492,48493,48494,48495,48496,48497,48498,48499,48500,48501,48502,48503,48504,48505,48506,48507,48508,48509,48510,48511,48514,48515,48517,48518,48523,48524,48525,48526,48527,48530,48532,48534,48535,48536,48539,48541,48542,48543,48544,48545,48546,48547,48549,48550,48551,48552,48553,48554,48555,48556,48557,48558,48559,48561,48562,48563,48564,48565,48566,48567,48569,48570,48571,48572,48573,48574,48575,48576,48577,48578,48579,48580,48581,48582,48583,48584,48585,48586,48587,48588,48589,48590,48591,48592,48593,48594,48595,48598,48599,48601,48602,48603,48605,48606,48607,48608,48609,48610,48611,48612,48613,48614,48615,48616,48618,48619,48620,48621,48622,48623,48625,null,null,null,null,null,null,48626,48627,48629,48630,48631,48633,48634,48635,48636,48637,48638,48639,48641,48642,48644,48646,48647,48648,48649,48650,48651,48654,48655,48657,48658,48659,null,null,null,null,null,null,48661,48662,48663,48664,48665,48666,48667,48670,48672,48673,48674,48675,48676,48677,48678,48679,48680,48681,48682,48683,48684,48685,48686,48687,48688,48689,48690,48691,48692,48693,48694,48695,48696,48697,48698,48699,48700,48701,48702,48703,48704,48705,48706,48707,48710,48711,48713,48714,48715,48717,48719,48720,48721,48722,48723,48726,48728,48732,48733,48734,48735,48738,48739,48741,48742,48743,48745,48747,48748,48749,48750,48751,48754,48758,48759,48760,48761,48762,48766,48767,48769,48770,48771,48773,48774,48775,48776,48777,48778,48779,48782,48786,48787,48788,48789,48790,48791,48794,48795,48796,48797,48798,48799,48800,48801,48802,48803,48804,48805,48806,48807,48809,48810,48811,48812,48813,48814,48815,48816,48817,48818,48819,48820,48821,48822,48823,48824,48825,48826,48827,48828,48829,48830,48831,48832,48833,48834,48835,48836,48837,48838,48839,48840,48841,48842,48843,48844,48845,48846,48847,48850,48851,null,null,null,null,null,null,48853,48854,48857,48858,48859,48860,48861,48862,48863,48865,48866,48870,48871,48872,48873,48874,48875,48877,48878,48879,48880,48881,48882,48883,48884,48885,null,null,null,null,null,null,48886,48887,48888,48889,48890,48891,48892,48893,48894,48895,48896,48898,48899,48900,48901,48902,48903,48906,48907,48908,48909,48910,48911,48912,48913,48914,48915,48916,48917,48918,48919,48922,48926,48927,48928,48929,48930,48931,48932,48933,48934,48935,48936,48937,48938,48939,48940,48941,48942,48943,48944,48945,48946,48947,48948,48949,48950,48951,48952,48953,48954,48955,48956,48957,48958,48959,48962,48963,48965,48966,48967,48969,48970,48971,48972,48973,48974,48975,48978,48979,48980,48982,48983,48984,48985,48986,48987,48988,48989,48990,48991,48992,48993,48994,48995,48996,48997,48998,48999,49e3,49001,49002,49003,49004,49005,49006,49007,49008,49009,49010,49011,49012,49013,49014,49015,49016,49017,49018,49019,49020,49021,49022,49023,49024,49025,49026,49027,49028,49029,49030,49031,49032,49033,49034,49035,49036,49037,49038,49039,49040,49041,49042,49043,49045,49046,49047,49048,49049,49050,49051,49052,49053,null,null,null,null,null,null,49054,49055,49056,49057,49058,49059,49060,49061,49062,49063,49064,49065,49066,49067,49068,49069,49070,49071,49073,49074,49075,49076,49077,49078,49079,49080,null,null,null,null,null,null,49081,49082,49083,49084,49085,49086,49087,49088,49089,49090,49091,49092,49094,49095,49096,49097,49098,49099,49102,49103,49105,49106,49107,49109,49110,49111,49112,49113,49114,49115,49117,49118,49120,49122,49123,49124,49125,49126,49127,49128,49129,49130,49131,49132,49133,49134,49135,49136,49137,49138,49139,49140,49141,49142,49143,49144,49145,49146,49147,49148,49149,49150,49151,49152,49153,49154,49155,49156,49157,49158,49159,49160,49161,49162,49163,49164,49165,49166,49167,49168,49169,49170,49171,49172,49173,49174,49175,49176,49177,49178,49179,49180,49181,49182,49183,49184,49185,49186,49187,49188,49189,49190,49191,49192,49193,49194,49195,49196,49197,49198,49199,49200,49201,49202,49203,49204,49205,49206,49207,49208,49209,49210,49211,49213,49214,49215,49216,49217,49218,49219,49220,49221,49222,49223,49224,49225,49226,49227,49228,49229,49230,49231,49232,49234,49235,49236,49237,49238,49239,49241,49242,49243,null,null,null,null,null,null,49245,49246,49247,49249,49250,49251,49252,49253,49254,49255,49258,49259,49260,49261,49262,49263,49264,49265,49266,49267,49268,49269,49270,49271,49272,49273,null,null,null,null,null,null,49274,49275,49276,49277,49278,49279,49280,49281,49282,49283,49284,49285,49286,49287,49288,49289,49290,49291,49292,49293,49294,49295,49298,49299,49301,49302,49303,49305,49306,49307,49308,49309,49310,49311,49314,49316,49318,49319,49320,49321,49322,49323,49326,49329,49330,49335,49336,49337,49338,49339,49342,49346,49347,49348,49350,49351,49354,49355,49357,49358,49359,49361,49362,49363,49364,49365,49366,49367,49370,49374,49375,49376,49377,49378,49379,49382,49383,49385,49386,49387,49389,49390,49391,49392,49393,49394,49395,49398,49400,49402,49403,49404,49405,49406,49407,49409,49410,49411,49413,49414,49415,49417,49418,49419,49420,49421,49422,49423,49425,49426,49427,49428,49430,49431,49432,49433,49434,49435,49441,49442,49445,49448,49449,49450,49451,49454,49458,49459,49460,49461,49463,49466,49467,49469,49470,49471,49473,49474,49475,49476,49477,49478,49479,49482,49486,49487,49488,49489,49490,49491,49494,49495,null,null,null,null,null,null,49497,49498,49499,49501,49502,49503,49504,49505,49506,49507,49510,49514,49515,49516,49517,49518,49519,49521,49522,49523,49525,49526,49527,49529,49530,49531,null,null,null,null,null,null,49532,49533,49534,49535,49536,49537,49538,49539,49540,49542,49543,49544,49545,49546,49547,49551,49553,49554,49555,49557,49559,49560,49561,49562,49563,49566,49568,49570,49571,49572,49574,49575,49578,49579,49581,49582,49583,49585,49586,49587,49588,49589,49590,49591,49592,49593,49594,49595,49596,49598,49599,49600,49601,49602,49603,49605,49606,49607,49609,49610,49611,49613,49614,49615,49616,49617,49618,49619,49621,49622,49625,49626,49627,49628,49629,49630,49631,49633,49634,49635,49637,49638,49639,49641,49642,49643,49644,49645,49646,49647,49650,49652,49653,49654,49655,49656,49657,49658,49659,49662,49663,49665,49666,49667,49669,49670,49671,49672,49673,49674,49675,49678,49680,49682,49683,49684,49685,49686,49687,49690,49691,49693,49694,49697,49698,49699,49700,49701,49702,49703,49706,49708,49710,49712,49715,49717,49718,49719,49720,49721,49722,49723,49724,49725,49726,49727,49728,49729,49730,49731,49732,49733,null,null,null,null,null,null,49734,49735,49737,49738,49739,49740,49741,49742,49743,49746,49747,49749,49750,49751,49753,49754,49755,49756,49757,49758,49759,49761,49762,49763,49764,49766,null,null,null,null,null,null,49767,49768,49769,49770,49771,49774,49775,49777,49778,49779,49781,49782,49783,49784,49785,49786,49787,49790,49792,49794,49795,49796,49797,49798,49799,49802,49803,49804,49805,49806,49807,49809,49810,49811,49812,49813,49814,49815,49817,49818,49820,49822,49823,49824,49825,49826,49827,49830,49831,49833,49834,49835,49838,49839,49840,49841,49842,49843,49846,49848,49850,49851,49852,49853,49854,49855,49856,49857,49858,49859,49860,49861,49862,49863,49864,49865,49866,49867,49868,49869,49870,49871,49872,49873,49874,49875,49876,49877,49878,49879,49880,49881,49882,49883,49886,49887,49889,49890,49893,49894,49895,49896,49897,49898,49902,49904,49906,49907,49908,49909,49911,49914,49917,49918,49919,49921,49922,49923,49924,49925,49926,49927,49930,49931,49934,49935,49936,49937,49938,49942,49943,49945,49946,49947,49949,49950,49951,49952,49953,49954,49955,49958,49959,49962,49963,49964,49965,49966,49967,49968,49969,49970,null,null,null,null,null,null,49971,49972,49973,49974,49975,49976,49977,49978,49979,49980,49981,49982,49983,49984,49985,49986,49987,49988,49990,49991,49992,49993,49994,49995,49996,49997,null,null,null,null,null,null,49998,49999,5e4,50001,50002,50003,50004,50005,50006,50007,50008,50009,50010,50011,50012,50013,50014,50015,50016,50017,50018,50019,50020,50021,50022,50023,50026,50027,50029,50030,50031,50033,50035,50036,50037,50038,50039,50042,50043,50046,50047,50048,50049,50050,50051,50053,50054,50055,50057,50058,50059,50061,50062,50063,50064,50065,50066,50067,50068,50069,50070,50071,50072,50073,50074,50075,50076,50077,50078,50079,50080,50081,50082,50083,50084,50085,50086,50087,50088,50089,50090,50091,50092,50093,50094,50095,50096,50097,50098,50099,50100,50101,50102,50103,50104,50105,50106,50107,50108,50109,50110,50111,50113,50114,50115,50116,50117,50118,50119,50120,50121,50122,50123,50124,50125,50126,50127,50128,50129,50130,50131,50132,50133,50134,50135,50138,50139,50141,50142,50145,50147,50148,50149,50150,50151,50154,50155,50156,50158,50159,50160,50161,50162,50163,50166,50167,50169,50170,50171,50172,50173,50174,null,null,null,null,null,null,50175,50176,50177,50178,50179,50180,50181,50182,50183,50185,50186,50187,50188,50189,50190,50191,50193,50194,50195,50196,50197,50198,50199,50200,50201,50202,null,null,null,null,null,null,50203,50204,50205,50206,50207,50208,50209,50210,50211,50213,50214,50215,50216,50217,50218,50219,50221,50222,50223,50225,50226,50227,50229,50230,50231,50232,50233,50234,50235,50238,50239,50240,50241,50242,50243,50244,50245,50246,50247,50249,50250,50251,50252,50253,50254,50255,50256,50257,50258,50259,50260,50261,50262,50263,50264,50265,50266,50267,50268,50269,50270,50271,50272,50273,50274,50275,50278,50279,50281,50282,50283,50285,50286,50287,50288,50289,50290,50291,50294,50295,50296,50298,50299,50300,50301,50302,50303,50305,50306,50307,50308,50309,50310,50311,50312,50313,50314,50315,50316,50317,50318,50319,50320,50321,50322,50323,50325,50326,50327,50328,50329,50330,50331,50333,50334,50335,50336,50337,50338,50339,50340,50341,50342,50343,50344,50345,50346,50347,50348,50349,50350,50351,50352,50353,50354,50355,50356,50357,50358,50359,50361,50362,50363,50365,50366,50367,50368,50369,50370,50371,50372,50373,null,null,null,null,null,null,50374,50375,50376,50377,50378,50379,50380,50381,50382,50383,50384,50385,50386,50387,50388,50389,50390,50391,50392,50393,50394,50395,50396,50397,50398,50399,null,null,null,null,null,null,50400,50401,50402,50403,50404,50405,50406,50407,50408,50410,50411,50412,50413,50414,50415,50418,50419,50421,50422,50423,50425,50427,50428,50429,50430,50434,50435,50436,50437,50438,50439,50440,50441,50442,50443,50445,50446,50447,50449,50450,50451,50453,50454,50455,50456,50457,50458,50459,50461,50462,50463,50464,50465,50466,50467,50468,50469,50470,50471,50474,50475,50477,50478,50479,50481,50482,50483,50484,50485,50486,50487,50490,50492,50494,50495,50496,50497,50498,50499,50502,50503,50507,50511,50512,50513,50514,50518,50522,50523,50524,50527,50530,50531,50533,50534,50535,50537,50538,50539,50540,50541,50542,50543,50546,50550,50551,50552,50553,50554,50555,50558,50559,50561,50562,50563,50565,50566,50568,50569,50570,50571,50574,50576,50578,50579,50580,50582,50585,50586,50587,50589,50590,50591,50593,50594,50595,50596,50597,50598,50599,50600,50602,50603,50604,50605,50606,50607,50608,50609,50610,50611,50614,null,null,null,null,null,null,50615,50618,50623,50624,50625,50626,50627,50635,50637,50639,50642,50643,50645,50646,50647,50649,50650,50651,50652,50653,50654,50655,50658,50660,50662,50663,null,null,null,null,null,null,50664,50665,50666,50667,50671,50673,50674,50675,50677,50680,50681,50682,50683,50690,50691,50692,50697,50698,50699,50701,50702,50703,50705,50706,50707,50708,50709,50710,50711,50714,50717,50718,50719,50720,50721,50722,50723,50726,50727,50729,50730,50731,50735,50737,50738,50742,50744,50746,50748,50749,50750,50751,50754,50755,50757,50758,50759,50761,50762,50763,50764,50765,50766,50767,50770,50774,50775,50776,50777,50778,50779,50782,50783,50785,50786,50787,50788,50789,50790,50791,50792,50793,50794,50795,50797,50798,50800,50802,50803,50804,50805,50806,50807,50810,50811,50813,50814,50815,50817,50818,50819,50820,50821,50822,50823,50826,50828,50830,50831,50832,50833,50834,50835,50838,50839,50841,50842,50843,50845,50846,50847,50848,50849,50850,50851,50854,50856,50858,50859,50860,50861,50862,50863,50866,50867,50869,50870,50871,50875,50876,50877,50878,50879,50882,50884,50886,50887,50888,50889,50890,50891,50894,null,null,null,null,null,null,50895,50897,50898,50899,50901,50902,50903,50904,50905,50906,50907,50910,50911,50914,50915,50916,50917,50918,50919,50922,50923,50925,50926,50927,50929,50930,null,null,null,null,null,null,50931,50932,50933,50934,50935,50938,50939,50940,50942,50943,50944,50945,50946,50947,50950,50951,50953,50954,50955,50957,50958,50959,50960,50961,50962,50963,50966,50968,50970,50971,50972,50973,50974,50975,50978,50979,50981,50982,50983,50985,50986,50987,50988,50989,50990,50991,50994,50996,50998,51e3,51001,51002,51003,51006,51007,51009,51010,51011,51013,51014,51015,51016,51017,51019,51022,51024,51033,51034,51035,51037,51038,51039,51041,51042,51043,51044,51045,51046,51047,51049,51050,51052,51053,51054,51055,51056,51057,51058,51059,51062,51063,51065,51066,51067,51071,51072,51073,51074,51078,51083,51084,51085,51087,51090,51091,51093,51097,51099,51100,51101,51102,51103,51106,51111,51112,51113,51114,51115,51118,51119,51121,51122,51123,51125,51126,51127,51128,51129,51130,51131,51134,51138,51139,51140,51141,51142,51143,51146,51147,51149,51151,51153,51154,51155,51156,51157,51158,51159,51161,51162,51163,51164,null,null,null,null,null,null,51166,51167,51168,51169,51170,51171,51173,51174,51175,51177,51178,51179,51181,51182,51183,51184,51185,51186,51187,51188,51189,51190,51191,51192,51193,51194,null,null,null,null,null,null,51195,51196,51197,51198,51199,51202,51203,51205,51206,51207,51209,51211,51212,51213,51214,51215,51218,51220,51223,51224,51225,51226,51227,51230,51231,51233,51234,51235,51237,51238,51239,51240,51241,51242,51243,51246,51248,51250,51251,51252,51253,51254,51255,51257,51258,51259,51261,51262,51263,51265,51266,51267,51268,51269,51270,51271,51274,51275,51278,51279,51280,51281,51282,51283,51285,51286,51287,51288,51289,51290,51291,51292,51293,51294,51295,51296,51297,51298,51299,51300,51301,51302,51303,51304,51305,51306,51307,51308,51309,51310,51311,51314,51315,51317,51318,51319,51321,51323,51324,51325,51326,51327,51330,51332,51336,51337,51338,51342,51343,51344,51345,51346,51347,51349,51350,51351,51352,51353,51354,51355,51356,51358,51360,51362,51363,51364,51365,51366,51367,51369,51370,51371,51372,51373,51374,51375,51376,51377,51378,51379,51380,51381,51382,51383,51384,51385,51386,51387,51390,51391,51392,51393,null,null,null,null,null,null,51394,51395,51397,51398,51399,51401,51402,51403,51405,51406,51407,51408,51409,51410,51411,51414,51416,51418,51419,51420,51421,51422,51423,51426,51427,51429,null,null,null,null,null,null,51430,51431,51432,51433,51434,51435,51436,51437,51438,51439,51440,51441,51442,51443,51444,51446,51447,51448,51449,51450,51451,51454,51455,51457,51458,51459,51463,51464,51465,51466,51467,51470,12288,12289,12290,183,8229,8230,168,12291,173,8213,8741,65340,8764,8216,8217,8220,8221,12308,12309,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,177,215,247,8800,8804,8805,8734,8756,176,8242,8243,8451,8491,65504,65505,65509,9794,9792,8736,8869,8978,8706,8711,8801,8786,167,8251,9734,9733,9675,9679,9678,9671,9670,9633,9632,9651,9650,9661,9660,8594,8592,8593,8595,8596,12307,8810,8811,8730,8765,8733,8757,8747,8748,8712,8715,8838,8839,8834,8835,8746,8745,8743,8744,65506,51472,51474,51475,51476,51477,51478,51479,51481,51482,51483,51484,51485,51486,51487,51488,51489,51490,51491,51492,51493,51494,51495,51496,51497,51498,51499,null,null,null,null,null,null,51501,51502,51503,51504,51505,51506,51507,51509,51510,51511,51512,51513,51514,51515,51516,51517,51518,51519,51520,51521,51522,51523,51524,51525,51526,51527,null,null,null,null,null,null,51528,51529,51530,51531,51532,51533,51534,51535,51538,51539,51541,51542,51543,51545,51546,51547,51548,51549,51550,51551,51554,51556,51557,51558,51559,51560,51561,51562,51563,51565,51566,51567,8658,8660,8704,8707,180,65374,711,728,733,730,729,184,731,161,191,720,8750,8721,8719,164,8457,8240,9665,9664,9655,9654,9828,9824,9825,9829,9831,9827,8857,9672,9635,9680,9681,9618,9636,9637,9640,9639,9638,9641,9832,9743,9742,9756,9758,182,8224,8225,8597,8599,8601,8598,8600,9837,9833,9834,9836,12927,12828,8470,13255,8482,13250,13272,8481,8364,174,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,51569,51570,51571,51573,51574,51575,51576,51577,51578,51579,51581,51582,51583,51584,51585,51586,51587,51588,51589,51590,51591,51594,51595,51597,51598,51599,null,null,null,null,null,null,51601,51602,51603,51604,51605,51606,51607,51610,51612,51614,51615,51616,51617,51618,51619,51620,51621,51622,51623,51624,51625,51626,51627,51628,51629,51630,null,null,null,null,null,null,51631,51632,51633,51634,51635,51636,51637,51638,51639,51640,51641,51642,51643,51644,51645,51646,51647,51650,51651,51653,51654,51657,51659,51660,51661,51662,51663,51666,51668,51671,51672,51675,65281,65282,65283,65284,65285,65286,65287,65288,65289,65290,65291,65292,65293,65294,65295,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,65306,65307,65308,65309,65310,65311,65312,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65339,65510,65341,65342,65343,65344,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,65371,65372,65373,65507,51678,51679,51681,51683,51685,51686,51688,51689,51690,51691,51694,51698,51699,51700,51701,51702,51703,51706,51707,51709,51710,51711,51713,51714,51715,51716,null,null,null,null,null,null,51717,51718,51719,51722,51726,51727,51728,51729,51730,51731,51733,51734,51735,51737,51738,51739,51740,51741,51742,51743,51744,51745,51746,51747,51748,51749,null,null,null,null,null,null,51750,51751,51752,51754,51755,51756,51757,51758,51759,51760,51761,51762,51763,51764,51765,51766,51767,51768,51769,51770,51771,51772,51773,51774,51775,51776,51777,51778,51779,51780,51781,51782,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,51783,51784,51785,51786,51787,51790,51791,51793,51794,51795,51797,51798,51799,51800,51801,51802,51803,51806,51810,51811,51812,51813,51814,51815,51817,51818,null,null,null,null,null,null,51819,51820,51821,51822,51823,51824,51825,51826,51827,51828,51829,51830,51831,51832,51833,51834,51835,51836,51838,51839,51840,51841,51842,51843,51845,51846,null,null,null,null,null,null,51847,51848,51849,51850,51851,51852,51853,51854,51855,51856,51857,51858,51859,51860,51861,51862,51863,51865,51866,51867,51868,51869,51870,51871,51872,51873,51874,51875,51876,51877,51878,51879,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,null,null,null,null,null,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,null,null,null,null,null,null,null,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,null,null,null,null,null,null,null,null,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,null,null,null,null,null,null,51880,51881,51882,51883,51884,51885,51886,51887,51888,51889,51890,51891,51892,51893,51894,51895,51896,51897,51898,51899,51902,51903,51905,51906,51907,51909,null,null,null,null,null,null,51910,51911,51912,51913,51914,51915,51918,51920,51922,51924,51925,51926,51927,51930,51931,51932,51933,51934,51935,51937,51938,51939,51940,51941,51942,51943,null,null,null,null,null,null,51944,51945,51946,51947,51949,51950,51951,51952,51953,51954,51955,51957,51958,51959,51960,51961,51962,51963,51964,51965,51966,51967,51968,51969,51970,51971,51972,51973,51974,51975,51977,51978,9472,9474,9484,9488,9496,9492,9500,9516,9508,9524,9532,9473,9475,9487,9491,9499,9495,9507,9523,9515,9531,9547,9504,9519,9512,9527,9535,9501,9520,9509,9528,9538,9490,9489,9498,9497,9494,9493,9486,9485,9502,9503,9505,9506,9510,9511,9513,9514,9517,9518,9521,9522,9525,9526,9529,9530,9533,9534,9536,9537,9539,9540,9541,9542,9543,9544,9545,9546,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,51979,51980,51981,51982,51983,51985,51986,51987,51989,51990,51991,51993,51994,51995,51996,51997,51998,51999,52002,52003,52004,52005,52006,52007,52008,52009,null,null,null,null,null,null,52010,52011,52012,52013,52014,52015,52016,52017,52018,52019,52020,52021,52022,52023,52024,52025,52026,52027,52028,52029,52030,52031,52032,52034,52035,52036,null,null,null,null,null,null,52037,52038,52039,52042,52043,52045,52046,52047,52049,52050,52051,52052,52053,52054,52055,52058,52059,52060,52062,52063,52064,52065,52066,52067,52069,52070,52071,52072,52073,52074,52075,52076,13205,13206,13207,8467,13208,13252,13219,13220,13221,13222,13209,13210,13211,13212,13213,13214,13215,13216,13217,13218,13258,13197,13198,13199,13263,13192,13193,13256,13223,13224,13232,13233,13234,13235,13236,13237,13238,13239,13240,13241,13184,13185,13186,13187,13188,13242,13243,13244,13245,13246,13247,13200,13201,13202,13203,13204,8486,13248,13249,13194,13195,13196,13270,13253,13229,13230,13231,13275,13225,13226,13227,13228,13277,13264,13267,13251,13257,13276,13254,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52077,52078,52079,52080,52081,52082,52083,52084,52085,52086,52087,52090,52091,52092,52093,52094,52095,52096,52097,52098,52099,52100,52101,52102,52103,52104,null,null,null,null,null,null,52105,52106,52107,52108,52109,52110,52111,52112,52113,52114,52115,52116,52117,52118,52119,52120,52121,52122,52123,52125,52126,52127,52128,52129,52130,52131,null,null,null,null,null,null,52132,52133,52134,52135,52136,52137,52138,52139,52140,52141,52142,52143,52144,52145,52146,52147,52148,52149,52150,52151,52153,52154,52155,52156,52157,52158,52159,52160,52161,52162,52163,52164,198,208,170,294,null,306,null,319,321,216,338,186,222,358,330,null,12896,12897,12898,12899,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,12913,12914,12915,12916,12917,12918,12919,12920,12921,12922,12923,9424,9425,9426,9427,9428,9429,9430,9431,9432,9433,9434,9435,9436,9437,9438,9439,9440,9441,9442,9443,9444,9445,9446,9447,9448,9449,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,9323,9324,9325,9326,189,8531,8532,188,190,8539,8540,8541,8542,52165,52166,52167,52168,52169,52170,52171,52172,52173,52174,52175,52176,52177,52178,52179,52181,52182,52183,52184,52185,52186,52187,52188,52189,52190,52191,null,null,null,null,null,null,52192,52193,52194,52195,52197,52198,52200,52202,52203,52204,52205,52206,52207,52208,52209,52210,52211,52212,52213,52214,52215,52216,52217,52218,52219,52220,null,null,null,null,null,null,52221,52222,52223,52224,52225,52226,52227,52228,52229,52230,52231,52232,52233,52234,52235,52238,52239,52241,52242,52243,52245,52246,52247,52248,52249,52250,52251,52254,52255,52256,52259,52260,230,273,240,295,305,307,312,320,322,248,339,223,254,359,331,329,12800,12801,12802,12803,12804,12805,12806,12807,12808,12809,12810,12811,12812,12813,12814,12815,12816,12817,12818,12819,12820,12821,12822,12823,12824,12825,12826,12827,9372,9373,9374,9375,9376,9377,9378,9379,9380,9381,9382,9383,9384,9385,9386,9387,9388,9389,9390,9391,9392,9393,9394,9395,9396,9397,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,185,178,179,8308,8319,8321,8322,8323,8324,52261,52262,52266,52267,52269,52271,52273,52274,52275,52276,52277,52278,52279,52282,52287,52288,52289,52290,52291,52294,52295,52297,52298,52299,52301,52302,null,null,null,null,null,null,52303,52304,52305,52306,52307,52310,52314,52315,52316,52317,52318,52319,52321,52322,52323,52325,52327,52329,52330,52331,52332,52333,52334,52335,52337,52338,null,null,null,null,null,null,52339,52340,52342,52343,52344,52345,52346,52347,52348,52349,52350,52351,52352,52353,52354,52355,52356,52357,52358,52359,52360,52361,52362,52363,52364,52365,52366,52367,52368,52369,52370,52371,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,null,null,null,null,null,null,null,null,null,null,null,52372,52373,52374,52375,52378,52379,52381,52382,52383,52385,52386,52387,52388,52389,52390,52391,52394,52398,52399,52400,52401,52402,52403,52406,52407,52409,null,null,null,null,null,null,52410,52411,52413,52414,52415,52416,52417,52418,52419,52422,52424,52426,52427,52428,52429,52430,52431,52433,52434,52435,52437,52438,52439,52440,52441,52442,null,null,null,null,null,null,52443,52444,52445,52446,52447,52448,52449,52450,52451,52453,52454,52455,52456,52457,52458,52459,52461,52462,52463,52465,52466,52467,52468,52469,52470,52471,52472,52473,52474,52475,52476,52477,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,null,null,null,null,null,null,null,null,52478,52479,52480,52482,52483,52484,52485,52486,52487,52490,52491,52493,52494,52495,52497,52498,52499,52500,52501,52502,52503,52506,52508,52510,52511,52512,null,null,null,null,null,null,52513,52514,52515,52517,52518,52519,52521,52522,52523,52525,52526,52527,52528,52529,52530,52531,52532,52533,52534,52535,52536,52538,52539,52540,52541,52542,null,null,null,null,null,null,52543,52544,52545,52546,52547,52548,52549,52550,52551,52552,52553,52554,52555,52556,52557,52558,52559,52560,52561,52562,52563,52564,52565,52566,52567,52568,52569,52570,52571,52573,52574,52575,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,null,null,null,null,null,null,null,null,null,null,null,null,null,52577,52578,52579,52581,52582,52583,52584,52585,52586,52587,52590,52592,52594,52595,52596,52597,52598,52599,52601,52602,52603,52604,52605,52606,52607,52608,null,null,null,null,null,null,52609,52610,52611,52612,52613,52614,52615,52617,52618,52619,52620,52621,52622,52623,52624,52625,52626,52627,52630,52631,52633,52634,52635,52637,52638,52639,null,null,null,null,null,null,52640,52641,52642,52643,52646,52648,52650,52651,52652,52653,52654,52655,52657,52658,52659,52660,52661,52662,52663,52664,52665,52666,52667,52668,52669,52670,52671,52672,52673,52674,52675,52677,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52678,52679,52680,52681,52682,52683,52685,52686,52687,52689,52690,52691,52692,52693,52694,52695,52696,52697,52698,52699,52700,52701,52702,52703,52704,52705,null,null,null,null,null,null,52706,52707,52708,52709,52710,52711,52713,52714,52715,52717,52718,52719,52721,52722,52723,52724,52725,52726,52727,52730,52732,52734,52735,52736,52737,52738,null,null,null,null,null,null,52739,52741,52742,52743,52745,52746,52747,52749,52750,52751,52752,52753,52754,52755,52757,52758,52759,52760,52762,52763,52764,52765,52766,52767,52770,52771,52773,52774,52775,52777,52778,52779,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52780,52781,52782,52783,52786,52788,52790,52791,52792,52793,52794,52795,52796,52797,52798,52799,52800,52801,52802,52803,52804,52805,52806,52807,52808,52809,null,null,null,null,null,null,52810,52811,52812,52813,52814,52815,52816,52817,52818,52819,52820,52821,52822,52823,52826,52827,52829,52830,52834,52835,52836,52837,52838,52839,52842,52844,null,null,null,null,null,null,52846,52847,52848,52849,52850,52851,52854,52855,52857,52858,52859,52861,52862,52863,52864,52865,52866,52867,52870,52872,52874,52875,52876,52877,52878,52879,52882,52883,52885,52886,52887,52889,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,52890,52891,52892,52893,52894,52895,52898,52902,52903,52904,52905,52906,52907,52910,52911,52912,52913,52914,52915,52916,52917,52918,52919,52920,52921,52922,null,null,null,null,null,null,52923,52924,52925,52926,52927,52928,52930,52931,52932,52933,52934,52935,52936,52937,52938,52939,52940,52941,52942,52943,52944,52945,52946,52947,52948,52949,null,null,null,null,null,null,52950,52951,52952,52953,52954,52955,52956,52957,52958,52959,52960,52961,52962,52963,52966,52967,52969,52970,52973,52974,52975,52976,52977,52978,52979,52982,52986,52987,52988,52989,52990,52991,44032,44033,44036,44039,44040,44041,44042,44048,44049,44050,44051,44052,44053,44054,44055,44057,44058,44059,44060,44061,44064,44068,44076,44077,44079,44080,44081,44088,44089,44092,44096,44107,44109,44116,44120,44124,44144,44145,44148,44151,44152,44154,44160,44161,44163,44164,44165,44166,44169,44170,44171,44172,44176,44180,44188,44189,44191,44192,44193,44200,44201,44202,44204,44207,44208,44216,44217,44219,44220,44221,44225,44228,44232,44236,44245,44247,44256,44257,44260,44263,44264,44266,44268,44271,44272,44273,44275,44277,44278,44284,44285,44288,44292,44294,52994,52995,52997,52998,52999,53001,53002,53003,53004,53005,53006,53007,53010,53012,53014,53015,53016,53017,53018,53019,53021,53022,53023,53025,53026,53027,null,null,null,null,null,null,53029,53030,53031,53032,53033,53034,53035,53038,53042,53043,53044,53045,53046,53047,53049,53050,53051,53052,53053,53054,53055,53056,53057,53058,53059,53060,null,null,null,null,null,null,53061,53062,53063,53064,53065,53066,53067,53068,53069,53070,53071,53072,53073,53074,53075,53078,53079,53081,53082,53083,53085,53086,53087,53088,53089,53090,53091,53094,53096,53098,53099,53100,44300,44301,44303,44305,44312,44316,44320,44329,44332,44333,44340,44341,44344,44348,44356,44357,44359,44361,44368,44372,44376,44385,44387,44396,44397,44400,44403,44404,44405,44406,44411,44412,44413,44415,44417,44418,44424,44425,44428,44432,44444,44445,44452,44471,44480,44481,44484,44488,44496,44497,44499,44508,44512,44516,44536,44537,44540,44543,44544,44545,44552,44553,44555,44557,44564,44592,44593,44596,44599,44600,44602,44608,44609,44611,44613,44614,44618,44620,44621,44622,44624,44628,44630,44636,44637,44639,44640,44641,44645,44648,44649,44652,44656,44664,53101,53102,53103,53106,53107,53109,53110,53111,53113,53114,53115,53116,53117,53118,53119,53121,53122,53123,53124,53126,53127,53128,53129,53130,53131,53133,null,null,null,null,null,null,53134,53135,53136,53137,53138,53139,53140,53141,53142,53143,53144,53145,53146,53147,53148,53149,53150,53151,53152,53154,53155,53156,53157,53158,53159,53161,null,null,null,null,null,null,53162,53163,53164,53165,53166,53167,53169,53170,53171,53172,53173,53174,53175,53176,53177,53178,53179,53180,53181,53182,53183,53184,53185,53186,53187,53189,53190,53191,53192,53193,53194,53195,44665,44667,44668,44669,44676,44677,44684,44732,44733,44734,44736,44740,44748,44749,44751,44752,44753,44760,44761,44764,44776,44779,44781,44788,44792,44796,44807,44808,44813,44816,44844,44845,44848,44850,44852,44860,44861,44863,44865,44866,44867,44872,44873,44880,44892,44893,44900,44901,44921,44928,44932,44936,44944,44945,44949,44956,44984,44985,44988,44992,44999,45e3,45001,45003,45005,45006,45012,45020,45032,45033,45040,45041,45044,45048,45056,45057,45060,45068,45072,45076,45084,45085,45096,45124,45125,45128,45130,45132,45134,45139,45140,45141,45143,45145,53196,53197,53198,53199,53200,53201,53202,53203,53204,53205,53206,53207,53208,53209,53210,53211,53212,53213,53214,53215,53218,53219,53221,53222,53223,53225,null,null,null,null,null,null,53226,53227,53228,53229,53230,53231,53234,53236,53238,53239,53240,53241,53242,53243,53245,53246,53247,53249,53250,53251,53253,53254,53255,53256,53257,53258,null,null,null,null,null,null,53259,53260,53261,53262,53263,53264,53266,53267,53268,53269,53270,53271,53273,53274,53275,53276,53277,53278,53279,53280,53281,53282,53283,53284,53285,53286,53287,53288,53289,53290,53291,53292,45149,45180,45181,45184,45188,45196,45197,45199,45201,45208,45209,45210,45212,45215,45216,45217,45218,45224,45225,45227,45228,45229,45230,45231,45233,45235,45236,45237,45240,45244,45252,45253,45255,45256,45257,45264,45265,45268,45272,45280,45285,45320,45321,45323,45324,45328,45330,45331,45336,45337,45339,45340,45341,45347,45348,45349,45352,45356,45364,45365,45367,45368,45369,45376,45377,45380,45384,45392,45393,45396,45397,45400,45404,45408,45432,45433,45436,45440,45442,45448,45449,45451,45453,45458,45459,45460,45464,45468,45480,45516,45520,45524,45532,45533,53294,53295,53296,53297,53298,53299,53302,53303,53305,53306,53307,53309,53310,53311,53312,53313,53314,53315,53318,53320,53322,53323,53324,53325,53326,53327,null,null,null,null,null,null,53329,53330,53331,53333,53334,53335,53337,53338,53339,53340,53341,53342,53343,53345,53346,53347,53348,53349,53350,53351,53352,53353,53354,53355,53358,53359,null,null,null,null,null,null,53361,53362,53363,53365,53366,53367,53368,53369,53370,53371,53374,53375,53376,53378,53379,53380,53381,53382,53383,53384,53385,53386,53387,53388,53389,53390,53391,53392,53393,53394,53395,53396,45535,45544,45545,45548,45552,45561,45563,45565,45572,45573,45576,45579,45580,45588,45589,45591,45593,45600,45620,45628,45656,45660,45664,45672,45673,45684,45685,45692,45700,45701,45705,45712,45713,45716,45720,45721,45722,45728,45729,45731,45733,45734,45738,45740,45744,45748,45768,45769,45772,45776,45778,45784,45785,45787,45789,45794,45796,45797,45798,45800,45803,45804,45805,45806,45807,45811,45812,45813,45815,45816,45817,45818,45819,45823,45824,45825,45828,45832,45840,45841,45843,45844,45845,45852,45908,45909,45910,45912,45915,45916,45918,45919,45924,45925,53397,53398,53399,53400,53401,53402,53403,53404,53405,53406,53407,53408,53409,53410,53411,53414,53415,53417,53418,53419,53421,53422,53423,53424,53425,53426,null,null,null,null,null,null,53427,53430,53432,53434,53435,53436,53437,53438,53439,53442,53443,53445,53446,53447,53450,53451,53452,53453,53454,53455,53458,53462,53463,53464,53465,53466,null,null,null,null,null,null,53467,53470,53471,53473,53474,53475,53477,53478,53479,53480,53481,53482,53483,53486,53490,53491,53492,53493,53494,53495,53497,53498,53499,53500,53501,53502,53503,53504,53505,53506,53507,53508,45927,45929,45931,45934,45936,45937,45940,45944,45952,45953,45955,45956,45957,45964,45968,45972,45984,45985,45992,45996,46020,46021,46024,46027,46028,46030,46032,46036,46037,46039,46041,46043,46045,46048,46052,46056,46076,46096,46104,46108,46112,46120,46121,46123,46132,46160,46161,46164,46168,46176,46177,46179,46181,46188,46208,46216,46237,46244,46248,46252,46261,46263,46265,46272,46276,46280,46288,46293,46300,46301,46304,46307,46308,46310,46316,46317,46319,46321,46328,46356,46357,46360,46363,46364,46372,46373,46375,46376,46377,46378,46384,46385,46388,46392,53509,53510,53511,53512,53513,53514,53515,53516,53518,53519,53520,53521,53522,53523,53524,53525,53526,53527,53528,53529,53530,53531,53532,53533,53534,53535,null,null,null,null,null,null,53536,53537,53538,53539,53540,53541,53542,53543,53544,53545,53546,53547,53548,53549,53550,53551,53554,53555,53557,53558,53559,53561,53563,53564,53565,53566,null,null,null,null,null,null,53567,53570,53574,53575,53576,53577,53578,53579,53582,53583,53585,53586,53587,53589,53590,53591,53592,53593,53594,53595,53598,53600,53602,53603,53604,53605,53606,53607,53609,53610,53611,53613,46400,46401,46403,46404,46405,46411,46412,46413,46416,46420,46428,46429,46431,46432,46433,46496,46497,46500,46504,46506,46507,46512,46513,46515,46516,46517,46523,46524,46525,46528,46532,46540,46541,46543,46544,46545,46552,46572,46608,46609,46612,46616,46629,46636,46644,46664,46692,46696,46748,46749,46752,46756,46763,46764,46769,46804,46832,46836,46840,46848,46849,46853,46888,46889,46892,46895,46896,46904,46905,46907,46916,46920,46924,46932,46933,46944,46948,46952,46960,46961,46963,46965,46972,46973,46976,46980,46988,46989,46991,46992,46993,46994,46998,46999,53614,53615,53616,53617,53618,53619,53620,53621,53622,53623,53624,53625,53626,53627,53629,53630,53631,53632,53633,53634,53635,53637,53638,53639,53641,53642,null,null,null,null,null,null,53643,53644,53645,53646,53647,53648,53649,53650,53651,53652,53653,53654,53655,53656,53657,53658,53659,53660,53661,53662,53663,53666,53667,53669,53670,53671,null,null,null,null,null,null,53673,53674,53675,53676,53677,53678,53679,53682,53684,53686,53687,53688,53689,53691,53693,53694,53695,53697,53698,53699,53700,53701,53702,53703,53704,53705,53706,53707,53708,53709,53710,53711,47e3,47001,47004,47008,47016,47017,47019,47020,47021,47028,47029,47032,47047,47049,47084,47085,47088,47092,47100,47101,47103,47104,47105,47111,47112,47113,47116,47120,47128,47129,47131,47133,47140,47141,47144,47148,47156,47157,47159,47160,47161,47168,47172,47185,47187,47196,47197,47200,47204,47212,47213,47215,47217,47224,47228,47245,47272,47280,47284,47288,47296,47297,47299,47301,47308,47312,47316,47325,47327,47329,47336,47337,47340,47344,47352,47353,47355,47357,47364,47384,47392,47420,47421,47424,47428,47436,47439,47441,47448,47449,47452,47456,47464,47465,53712,53713,53714,53715,53716,53717,53718,53719,53721,53722,53723,53724,53725,53726,53727,53728,53729,53730,53731,53732,53733,53734,53735,53736,53737,53738,null,null,null,null,null,null,53739,53740,53741,53742,53743,53744,53745,53746,53747,53749,53750,53751,53753,53754,53755,53756,53757,53758,53759,53760,53761,53762,53763,53764,53765,53766,null,null,null,null,null,null,53768,53770,53771,53772,53773,53774,53775,53777,53778,53779,53780,53781,53782,53783,53784,53785,53786,53787,53788,53789,53790,53791,53792,53793,53794,53795,53796,53797,53798,53799,53800,53801,47467,47469,47476,47477,47480,47484,47492,47493,47495,47497,47498,47501,47502,47532,47533,47536,47540,47548,47549,47551,47553,47560,47561,47564,47566,47567,47568,47569,47570,47576,47577,47579,47581,47582,47585,47587,47588,47589,47592,47596,47604,47605,47607,47608,47609,47610,47616,47617,47624,47637,47672,47673,47676,47680,47682,47688,47689,47691,47693,47694,47699,47700,47701,47704,47708,47716,47717,47719,47720,47721,47728,47729,47732,47736,47747,47748,47749,47751,47756,47784,47785,47787,47788,47792,47794,47800,47801,47803,47805,47812,47816,47832,47833,47868,53802,53803,53806,53807,53809,53810,53811,53813,53814,53815,53816,53817,53818,53819,53822,53824,53826,53827,53828,53829,53830,53831,53833,53834,53835,53836,null,null,null,null,null,null,53837,53838,53839,53840,53841,53842,53843,53844,53845,53846,53847,53848,53849,53850,53851,53853,53854,53855,53856,53857,53858,53859,53861,53862,53863,53864,null,null,null,null,null,null,53865,53866,53867,53868,53869,53870,53871,53872,53873,53874,53875,53876,53877,53878,53879,53880,53881,53882,53883,53884,53885,53886,53887,53890,53891,53893,53894,53895,53897,53898,53899,53900,47872,47876,47885,47887,47889,47896,47900,47904,47913,47915,47924,47925,47926,47928,47931,47932,47933,47934,47940,47941,47943,47945,47949,47951,47952,47956,47960,47969,47971,47980,48008,48012,48016,48036,48040,48044,48052,48055,48064,48068,48072,48080,48083,48120,48121,48124,48127,48128,48130,48136,48137,48139,48140,48141,48143,48145,48148,48149,48150,48151,48152,48155,48156,48157,48158,48159,48164,48165,48167,48169,48173,48176,48177,48180,48184,48192,48193,48195,48196,48197,48201,48204,48205,48208,48221,48260,48261,48264,48267,48268,48270,48276,48277,48279,53901,53902,53903,53906,53907,53908,53910,53911,53912,53913,53914,53915,53917,53918,53919,53921,53922,53923,53925,53926,53927,53928,53929,53930,53931,53933,null,null,null,null,null,null,53934,53935,53936,53938,53939,53940,53941,53942,53943,53946,53947,53949,53950,53953,53955,53956,53957,53958,53959,53962,53964,53965,53966,53967,53968,53969,null,null,null,null,null,null,53970,53971,53973,53974,53975,53977,53978,53979,53981,53982,53983,53984,53985,53986,53987,53990,53991,53992,53993,53994,53995,53996,53997,53998,53999,54002,54003,54005,54006,54007,54009,54010,48281,48282,48288,48289,48292,48295,48296,48304,48305,48307,48308,48309,48316,48317,48320,48324,48333,48335,48336,48337,48341,48344,48348,48372,48373,48374,48376,48380,48388,48389,48391,48393,48400,48404,48420,48428,48448,48456,48457,48460,48464,48472,48473,48484,48488,48512,48513,48516,48519,48520,48521,48522,48528,48529,48531,48533,48537,48538,48540,48548,48560,48568,48596,48597,48600,48604,48617,48624,48628,48632,48640,48643,48645,48652,48653,48656,48660,48668,48669,48671,48708,48709,48712,48716,48718,48724,48725,48727,48729,48730,48731,48736,48737,48740,54011,54012,54013,54014,54015,54018,54020,54022,54023,54024,54025,54026,54027,54031,54033,54034,54035,54037,54039,54040,54041,54042,54043,54046,54050,54051,null,null,null,null,null,null,54052,54054,54055,54058,54059,54061,54062,54063,54065,54066,54067,54068,54069,54070,54071,54074,54078,54079,54080,54081,54082,54083,54086,54087,54088,54089,null,null,null,null,null,null,54090,54091,54092,54093,54094,54095,54096,54097,54098,54099,54100,54101,54102,54103,54104,54105,54106,54107,54108,54109,54110,54111,54112,54113,54114,54115,54116,54117,54118,54119,54120,54121,48744,48746,48752,48753,48755,48756,48757,48763,48764,48765,48768,48772,48780,48781,48783,48784,48785,48792,48793,48808,48848,48849,48852,48855,48856,48864,48867,48868,48869,48876,48897,48904,48905,48920,48921,48923,48924,48925,48960,48961,48964,48968,48976,48977,48981,49044,49072,49093,49100,49101,49104,49108,49116,49119,49121,49212,49233,49240,49244,49248,49256,49257,49296,49297,49300,49304,49312,49313,49315,49317,49324,49325,49327,49328,49331,49332,49333,49334,49340,49341,49343,49344,49345,49349,49352,49353,49356,49360,49368,49369,49371,49372,49373,49380,54122,54123,54124,54125,54126,54127,54128,54129,54130,54131,54132,54133,54134,54135,54136,54137,54138,54139,54142,54143,54145,54146,54147,54149,54150,54151,null,null,null,null,null,null,54152,54153,54154,54155,54158,54162,54163,54164,54165,54166,54167,54170,54171,54173,54174,54175,54177,54178,54179,54180,54181,54182,54183,54186,54188,54190,null,null,null,null,null,null,54191,54192,54193,54194,54195,54197,54198,54199,54201,54202,54203,54205,54206,54207,54208,54209,54210,54211,54214,54215,54218,54219,54220,54221,54222,54223,54225,54226,54227,54228,54229,54230,49381,49384,49388,49396,49397,49399,49401,49408,49412,49416,49424,49429,49436,49437,49438,49439,49440,49443,49444,49446,49447,49452,49453,49455,49456,49457,49462,49464,49465,49468,49472,49480,49481,49483,49484,49485,49492,49493,49496,49500,49508,49509,49511,49512,49513,49520,49524,49528,49541,49548,49549,49550,49552,49556,49558,49564,49565,49567,49569,49573,49576,49577,49580,49584,49597,49604,49608,49612,49620,49623,49624,49632,49636,49640,49648,49649,49651,49660,49661,49664,49668,49676,49677,49679,49681,49688,49689,49692,49695,49696,49704,49705,49707,49709,54231,54233,54234,54235,54236,54237,54238,54239,54240,54242,54244,54245,54246,54247,54248,54249,54250,54251,54254,54255,54257,54258,54259,54261,54262,54263,null,null,null,null,null,null,54264,54265,54266,54267,54270,54272,54274,54275,54276,54277,54278,54279,54281,54282,54283,54284,54285,54286,54287,54288,54289,54290,54291,54292,54293,54294,null,null,null,null,null,null,54295,54296,54297,54298,54299,54300,54302,54303,54304,54305,54306,54307,54308,54309,54310,54311,54312,54313,54314,54315,54316,54317,54318,54319,54320,54321,54322,54323,54324,54325,54326,54327,49711,49713,49714,49716,49736,49744,49745,49748,49752,49760,49765,49772,49773,49776,49780,49788,49789,49791,49793,49800,49801,49808,49816,49819,49821,49828,49829,49832,49836,49837,49844,49845,49847,49849,49884,49885,49888,49891,49892,49899,49900,49901,49903,49905,49910,49912,49913,49915,49916,49920,49928,49929,49932,49933,49939,49940,49941,49944,49948,49956,49957,49960,49961,49989,50024,50025,50028,50032,50034,50040,50041,50044,50045,50052,50056,50060,50112,50136,50137,50140,50143,50144,50146,50152,50153,50157,50164,50165,50168,50184,50192,50212,50220,50224,54328,54329,54330,54331,54332,54333,54334,54335,54337,54338,54339,54341,54342,54343,54344,54345,54346,54347,54348,54349,54350,54351,54352,54353,54354,54355,null,null,null,null,null,null,54356,54357,54358,54359,54360,54361,54362,54363,54365,54366,54367,54369,54370,54371,54373,54374,54375,54376,54377,54378,54379,54380,54382,54384,54385,54386,null,null,null,null,null,null,54387,54388,54389,54390,54391,54394,54395,54397,54398,54401,54403,54404,54405,54406,54407,54410,54412,54414,54415,54416,54417,54418,54419,54421,54422,54423,54424,54425,54426,54427,54428,54429,50228,50236,50237,50248,50276,50277,50280,50284,50292,50293,50297,50304,50324,50332,50360,50364,50409,50416,50417,50420,50424,50426,50431,50432,50433,50444,50448,50452,50460,50472,50473,50476,50480,50488,50489,50491,50493,50500,50501,50504,50505,50506,50508,50509,50510,50515,50516,50517,50519,50520,50521,50525,50526,50528,50529,50532,50536,50544,50545,50547,50548,50549,50556,50557,50560,50564,50567,50572,50573,50575,50577,50581,50583,50584,50588,50592,50601,50612,50613,50616,50617,50619,50620,50621,50622,50628,50629,50630,50631,50632,50633,50634,50636,50638,54430,54431,54432,54433,54434,54435,54436,54437,54438,54439,54440,54442,54443,54444,54445,54446,54447,54448,54449,54450,54451,54452,54453,54454,54455,54456,null,null,null,null,null,null,54457,54458,54459,54460,54461,54462,54463,54464,54465,54466,54467,54468,54469,54470,54471,54472,54473,54474,54475,54477,54478,54479,54481,54482,54483,54485,null,null,null,null,null,null,54486,54487,54488,54489,54490,54491,54493,54494,54496,54497,54498,54499,54500,54501,54502,54503,54505,54506,54507,54509,54510,54511,54513,54514,54515,54516,54517,54518,54519,54521,54522,54524,50640,50641,50644,50648,50656,50657,50659,50661,50668,50669,50670,50672,50676,50678,50679,50684,50685,50686,50687,50688,50689,50693,50694,50695,50696,50700,50704,50712,50713,50715,50716,50724,50725,50728,50732,50733,50734,50736,50739,50740,50741,50743,50745,50747,50752,50753,50756,50760,50768,50769,50771,50772,50773,50780,50781,50784,50796,50799,50801,50808,50809,50812,50816,50824,50825,50827,50829,50836,50837,50840,50844,50852,50853,50855,50857,50864,50865,50868,50872,50873,50874,50880,50881,50883,50885,50892,50893,50896,50900,50908,50909,50912,50913,50920,54526,54527,54528,54529,54530,54531,54533,54534,54535,54537,54538,54539,54541,54542,54543,54544,54545,54546,54547,54550,54552,54553,54554,54555,54556,54557,null,null,null,null,null,null,54558,54559,54560,54561,54562,54563,54564,54565,54566,54567,54568,54569,54570,54571,54572,54573,54574,54575,54576,54577,54578,54579,54580,54581,54582,54583,null,null,null,null,null,null,54584,54585,54586,54587,54590,54591,54593,54594,54595,54597,54598,54599,54600,54601,54602,54603,54606,54608,54610,54611,54612,54613,54614,54615,54618,54619,54621,54622,54623,54625,54626,54627,50921,50924,50928,50936,50937,50941,50948,50949,50952,50956,50964,50965,50967,50969,50976,50977,50980,50984,50992,50993,50995,50997,50999,51004,51005,51008,51012,51018,51020,51021,51023,51025,51026,51027,51028,51029,51030,51031,51032,51036,51040,51048,51051,51060,51061,51064,51068,51069,51070,51075,51076,51077,51079,51080,51081,51082,51086,51088,51089,51092,51094,51095,51096,51098,51104,51105,51107,51108,51109,51110,51116,51117,51120,51124,51132,51133,51135,51136,51137,51144,51145,51148,51150,51152,51160,51165,51172,51176,51180,51200,51201,51204,51208,51210,54628,54630,54631,54634,54636,54638,54639,54640,54641,54642,54643,54646,54647,54649,54650,54651,54653,54654,54655,54656,54657,54658,54659,54662,54666,54667,null,null,null,null,null,null,54668,54669,54670,54671,54673,54674,54675,54676,54677,54678,54679,54680,54681,54682,54683,54684,54685,54686,54687,54688,54689,54690,54691,54692,54694,54695,null,null,null,null,null,null,54696,54697,54698,54699,54700,54701,54702,54703,54704,54705,54706,54707,54708,54709,54710,54711,54712,54713,54714,54715,54716,54717,54718,54719,54720,54721,54722,54723,54724,54725,54726,54727,51216,51217,51219,51221,51222,51228,51229,51232,51236,51244,51245,51247,51249,51256,51260,51264,51272,51273,51276,51277,51284,51312,51313,51316,51320,51322,51328,51329,51331,51333,51334,51335,51339,51340,51341,51348,51357,51359,51361,51368,51388,51389,51396,51400,51404,51412,51413,51415,51417,51424,51425,51428,51445,51452,51453,51456,51460,51461,51462,51468,51469,51471,51473,51480,51500,51508,51536,51537,51540,51544,51552,51553,51555,51564,51568,51572,51580,51592,51593,51596,51600,51608,51609,51611,51613,51648,51649,51652,51655,51656,51658,51664,51665,51667,54730,54731,54733,54734,54735,54737,54739,54740,54741,54742,54743,54746,54748,54750,54751,54752,54753,54754,54755,54758,54759,54761,54762,54763,54765,54766,null,null,null,null,null,null,54767,54768,54769,54770,54771,54774,54776,54778,54779,54780,54781,54782,54783,54786,54787,54789,54790,54791,54793,54794,54795,54796,54797,54798,54799,54802,null,null,null,null,null,null,54806,54807,54808,54809,54810,54811,54813,54814,54815,54817,54818,54819,54821,54822,54823,54824,54825,54826,54827,54828,54830,54831,54832,54833,54834,54835,54836,54837,54838,54839,54842,54843,51669,51670,51673,51674,51676,51677,51680,51682,51684,51687,51692,51693,51695,51696,51697,51704,51705,51708,51712,51720,51721,51723,51724,51725,51732,51736,51753,51788,51789,51792,51796,51804,51805,51807,51808,51809,51816,51837,51844,51864,51900,51901,51904,51908,51916,51917,51919,51921,51923,51928,51929,51936,51948,51956,51976,51984,51988,51992,52e3,52001,52033,52040,52041,52044,52048,52056,52057,52061,52068,52088,52089,52124,52152,52180,52196,52199,52201,52236,52237,52240,52244,52252,52253,52257,52258,52263,52264,52265,52268,52270,52272,52280,52281,52283,54845,54846,54847,54849,54850,54851,54852,54854,54855,54858,54860,54862,54863,54864,54866,54867,54870,54871,54873,54874,54875,54877,54878,54879,54880,54881,null,null,null,null,null,null,54882,54883,54884,54885,54886,54888,54890,54891,54892,54893,54894,54895,54898,54899,54901,54902,54903,54904,54905,54906,54907,54908,54909,54910,54911,54912,null,null,null,null,null,null,54913,54914,54916,54918,54919,54920,54921,54922,54923,54926,54927,54929,54930,54931,54933,54934,54935,54936,54937,54938,54939,54940,54942,54944,54946,54947,54948,54949,54950,54951,54953,54954,52284,52285,52286,52292,52293,52296,52300,52308,52309,52311,52312,52313,52320,52324,52326,52328,52336,52341,52376,52377,52380,52384,52392,52393,52395,52396,52397,52404,52405,52408,52412,52420,52421,52423,52425,52432,52436,52452,52460,52464,52481,52488,52489,52492,52496,52504,52505,52507,52509,52516,52520,52524,52537,52572,52576,52580,52588,52589,52591,52593,52600,52616,52628,52629,52632,52636,52644,52645,52647,52649,52656,52676,52684,52688,52712,52716,52720,52728,52729,52731,52733,52740,52744,52748,52756,52761,52768,52769,52772,52776,52784,52785,52787,52789,54955,54957,54958,54959,54961,54962,54963,54964,54965,54966,54967,54968,54970,54972,54973,54974,54975,54976,54977,54978,54979,54982,54983,54985,54986,54987,null,null,null,null,null,null,54989,54990,54991,54992,54994,54995,54997,54998,55e3,55002,55003,55004,55005,55006,55007,55009,55010,55011,55013,55014,55015,55017,55018,55019,55020,55021,null,null,null,null,null,null,55022,55023,55025,55026,55027,55028,55030,55031,55032,55033,55034,55035,55038,55039,55041,55042,55043,55045,55046,55047,55048,55049,55050,55051,55052,55053,55054,55055,55056,55058,55059,55060,52824,52825,52828,52831,52832,52833,52840,52841,52843,52845,52852,52853,52856,52860,52868,52869,52871,52873,52880,52881,52884,52888,52896,52897,52899,52900,52901,52908,52909,52929,52964,52965,52968,52971,52972,52980,52981,52983,52984,52985,52992,52993,52996,53e3,53008,53009,53011,53013,53020,53024,53028,53036,53037,53039,53040,53041,53048,53076,53077,53080,53084,53092,53093,53095,53097,53104,53105,53108,53112,53120,53125,53132,53153,53160,53168,53188,53216,53217,53220,53224,53232,53233,53235,53237,53244,53248,53252,53265,53272,53293,53300,53301,53304,53308,55061,55062,55063,55066,55067,55069,55070,55071,55073,55074,55075,55076,55077,55078,55079,55082,55084,55086,55087,55088,55089,55090,55091,55094,55095,55097,null,null,null,null,null,null,55098,55099,55101,55102,55103,55104,55105,55106,55107,55109,55110,55112,55114,55115,55116,55117,55118,55119,55122,55123,55125,55130,55131,55132,55133,55134,null,null,null,null,null,null,55135,55138,55140,55142,55143,55144,55146,55147,55149,55150,55151,55153,55154,55155,55157,55158,55159,55160,55161,55162,55163,55166,55167,55168,55170,55171,55172,55173,55174,55175,55178,55179,53316,53317,53319,53321,53328,53332,53336,53344,53356,53357,53360,53364,53372,53373,53377,53412,53413,53416,53420,53428,53429,53431,53433,53440,53441,53444,53448,53449,53456,53457,53459,53460,53461,53468,53469,53472,53476,53484,53485,53487,53488,53489,53496,53517,53552,53553,53556,53560,53562,53568,53569,53571,53572,53573,53580,53581,53584,53588,53596,53597,53599,53601,53608,53612,53628,53636,53640,53664,53665,53668,53672,53680,53681,53683,53685,53690,53692,53696,53720,53748,53752,53767,53769,53776,53804,53805,53808,53812,53820,53821,53823,53825,53832,53852,55181,55182,55183,55185,55186,55187,55188,55189,55190,55191,55194,55196,55198,55199,55200,55201,55202,55203,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,53860,53888,53889,53892,53896,53904,53905,53909,53916,53920,53924,53932,53937,53944,53945,53948,53951,53952,53954,53960,53961,53963,53972,53976,53980,53988,53989,54e3,54001,54004,54008,54016,54017,54019,54021,54028,54029,54030,54032,54036,54038,54044,54045,54047,54048,54049,54053,54056,54057,54060,54064,54072,54073,54075,54076,54077,54084,54085,54140,54141,54144,54148,54156,54157,54159,54160,54161,54168,54169,54172,54176,54184,54185,54187,54189,54196,54200,54204,54212,54213,54216,54217,54224,54232,54241,54243,54252,54253,54256,54260,54268,54269,54271,54273,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,54280,54301,54336,54340,54364,54368,54372,54381,54383,54392,54393,54396,54399,54400,54402,54408,54409,54411,54413,54420,54441,54476,54480,54484,54492,54495,54504,54508,54512,54520,54523,54525,54532,54536,54540,54548,54549,54551,54588,54589,54592,54596,54604,54605,54607,54609,54616,54617,54620,54624,54629,54632,54633,54635,54637,54644,54645,54648,54652,54660,54661,54663,54664,54665,54672,54693,54728,54729,54732,54736,54738,54744,54745,54747,54749,54756,54757,54760,54764,54772,54773,54775,54777,54784,54785,54788,54792,54800,54801,54803,54804,54805,54812,54816,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,54820,54829,54840,54841,54844,54848,54853,54856,54857,54859,54861,54865,54868,54869,54872,54876,54887,54889,54896,54897,54900,54915,54917,54924,54925,54928,54932,54941,54943,54945,54952,54956,54960,54969,54971,54980,54981,54984,54988,54993,54996,54999,55001,55008,55012,55016,55024,55029,55036,55037,55040,55044,55057,55064,55065,55068,55072,55080,55081,55083,55085,55092,55093,55096,55100,55108,55111,55113,55120,55121,55124,55126,55127,55128,55129,55136,55137,55139,55141,55145,55148,55152,55156,55164,55165,55169,55176,55177,55180,55184,55192,55193,55195,55197,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20285,20339,20551,20729,21152,21487,21621,21733,22025,23233,23478,26247,26550,26551,26607,27468,29634,30146,31292,33499,33540,34903,34952,35382,36040,36303,36603,36838,39381,21051,21364,21508,24682,24932,27580,29647,33050,35258,35282,38307,20355,21002,22718,22904,23014,24178,24185,25031,25536,26438,26604,26751,28567,30286,30475,30965,31240,31487,31777,32925,33390,33393,35563,38291,20075,21917,26359,28212,30883,31469,33883,35088,34638,38824,21208,22350,22570,23884,24863,25022,25121,25954,26577,27204,28187,29976,30131,30435,30640,32058,37039,37969,37970,40853,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21283,23724,30002,32987,37440,38296,21083,22536,23004,23713,23831,24247,24378,24394,24951,27743,30074,30086,31968,32115,32177,32652,33108,33313,34193,35137,35611,37628,38477,40007,20171,20215,20491,20977,22607,24887,24894,24936,25913,27114,28433,30117,30342,30422,31623,33445,33995,63744,37799,38283,21888,23458,22353,63745,31923,32697,37301,20520,21435,23621,24040,25298,25454,25818,25831,28192,28844,31067,36317,36382,63746,36989,37445,37624,20094,20214,20581,24062,24314,24838,26967,33137,34388,36423,37749,39467,20062,20625,26480,26688,20745,21133,21138,27298,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,30652,37392,40660,21163,24623,36850,20552,25001,25581,25802,26684,27268,28608,33160,35233,38548,22533,29309,29356,29956,32121,32365,32937,35211,35700,36963,40273,25225,27770,28500,32080,32570,35363,20860,24906,31645,35609,37463,37772,20140,20435,20510,20670,20742,21185,21197,21375,22384,22659,24218,24465,24950,25004,25806,25964,26223,26299,26356,26775,28039,28805,28913,29855,29861,29898,30169,30828,30956,31455,31478,32069,32147,32789,32831,33051,33686,35686,36629,36885,37857,38915,38968,39514,39912,20418,21843,22586,22865,23395,23622,24760,25106,26690,26800,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26856,28330,30028,30328,30926,31293,31995,32363,32380,35336,35489,35903,38542,40388,21476,21481,21578,21617,22266,22993,23396,23611,24235,25335,25911,25925,25970,26272,26543,27073,27837,30204,30352,30590,31295,32660,32771,32929,33167,33510,33533,33776,34241,34865,34996,35493,63747,36764,37678,38599,39015,39640,40723,21741,26011,26354,26767,31296,35895,40288,22256,22372,23825,26118,26801,26829,28414,29736,34974,39908,27752,63748,39592,20379,20844,20849,21151,23380,24037,24656,24685,25329,25511,25915,29657,31354,34467,36002,38799,20018,23521,25096,26524,29916,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31185,33747,35463,35506,36328,36942,37707,38982,24275,27112,34303,37101,63749,20896,23448,23532,24931,26874,27454,28748,29743,29912,31649,32592,33733,35264,36011,38364,39208,21038,24669,25324,36866,20362,20809,21281,22745,24291,26336,27960,28826,29378,29654,31568,33009,37979,21350,25499,32619,20054,20608,22602,22750,24618,24871,25296,27088,39745,23439,32024,32945,36703,20132,20689,21676,21932,23308,23968,24039,25898,25934,26657,27211,29409,30350,30703,32094,32761,33184,34126,34527,36611,36686,37066,39171,39509,39851,19992,20037,20061,20167,20465,20855,21246,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21312,21475,21477,21646,22036,22389,22434,23495,23943,24272,25084,25304,25937,26552,26601,27083,27472,27590,27628,27714,28317,28792,29399,29590,29699,30655,30697,31350,32127,32777,33276,33285,33290,33503,34914,35635,36092,36544,36881,37041,37476,37558,39378,39493,40169,40407,40860,22283,23616,33738,38816,38827,40628,21531,31384,32676,35033,36557,37089,22528,23624,25496,31391,23470,24339,31353,31406,33422,36524,20518,21048,21240,21367,22280,25331,25458,27402,28099,30519,21413,29527,34152,36470,38357,26426,27331,28528,35437,36556,39243,63750,26231,27512,36020,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,39740,63751,21483,22317,22862,25542,27131,29674,30789,31418,31429,31998,33909,35215,36211,36917,38312,21243,22343,30023,31584,33740,37406,63752,27224,20811,21067,21127,25119,26840,26997,38553,20677,21156,21220,25027,26020,26681,27135,29822,31563,33465,33771,35250,35641,36817,39241,63753,20170,22935,25810,26129,27278,29748,31105,31165,33449,34942,34943,35167,63754,37670,20235,21450,24613,25201,27762,32026,32102,20120,20834,30684,32943,20225,20238,20854,20864,21980,22120,22331,22522,22524,22804,22855,22931,23492,23696,23822,24049,24190,24524,25216,26071,26083,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26398,26399,26462,26827,26820,27231,27450,27683,27773,27778,28103,29592,29734,29738,29826,29859,30072,30079,30849,30959,31041,31047,31048,31098,31637,32e3,32186,32648,32774,32813,32908,35352,35663,35912,36215,37665,37668,39138,39249,39438,39439,39525,40594,32202,20342,21513,25326,26708,37329,21931,20794,63755,63756,23068,25062,63757,25295,25343,63758,63759,63760,63761,63762,63763,37027,63764,63765,63766,63767,63768,35582,63769,63770,63771,63772,26262,63773,29014,63774,63775,38627,63776,25423,25466,21335,63777,26511,26976,28275,63778,30007,63779,63780,63781,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32013,63782,63783,34930,22218,23064,63784,63785,63786,63787,63788,20035,63789,20839,22856,26608,32784,63790,22899,24180,25754,31178,24565,24684,25288,25467,23527,23511,21162,63791,22900,24361,24594,63792,63793,63794,29785,63795,63796,63797,63798,63799,63800,39377,63801,63802,63803,63804,63805,63806,63807,63808,63809,63810,63811,28611,63812,63813,33215,36786,24817,63814,63815,33126,63816,63817,23615,63818,63819,63820,63821,63822,63823,63824,63825,23273,35365,26491,32016,63826,63827,63828,63829,63830,63831,33021,63832,63833,23612,27877,21311,28346,22810,33590,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20025,20150,20294,21934,22296,22727,24406,26039,26086,27264,27573,28237,30701,31471,31774,32222,34507,34962,37170,37723,25787,28606,29562,30136,36948,21846,22349,25018,25812,26311,28129,28251,28525,28601,30192,32835,33213,34113,35203,35527,35674,37663,27795,30035,31572,36367,36957,21776,22530,22616,24162,25095,25758,26848,30070,31958,34739,40680,20195,22408,22382,22823,23565,23729,24118,24453,25140,25825,29619,33274,34955,36024,38538,40667,23429,24503,24755,20498,20992,21040,22294,22581,22615,23566,23648,23798,23947,24230,24466,24764,25361,25481,25623,26691,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26873,27330,28120,28193,28372,28644,29182,30428,30585,31153,31291,33796,35241,36077,36339,36424,36867,36884,36947,37117,37709,38518,38876,27602,28678,29272,29346,29544,30563,31167,31716,32411,35712,22697,24775,25958,26109,26302,27788,28958,29129,35930,38931,20077,31361,20189,20908,20941,21205,21516,24999,26481,26704,26847,27934,28540,30140,30643,31461,33012,33891,37509,20828,26007,26460,26515,30168,31431,33651,63834,35910,36887,38957,23663,33216,33434,36929,36975,37389,24471,23965,27225,29128,30331,31561,34276,35588,37159,39472,21895,25078,63835,30313,32645,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,34367,34746,35064,37007,63836,27931,28889,29662,32097,33853,63837,37226,39409,63838,20098,21365,27396,27410,28734,29211,34349,40478,21068,36771,23888,25829,25900,27414,28651,31811,32412,34253,35172,35261,25289,33240,34847,24266,26391,28010,29436,29701,29807,34690,37086,20358,23821,24480,33802,20919,25504,30053,20142,20486,20841,20937,26753,27153,31918,31921,31975,33391,35538,36635,37327,20406,20791,21237,21570,24300,24942,25150,26053,27354,28670,31018,34268,34851,38317,39522,39530,40599,40654,21147,26310,27511,28701,31019,36706,38722,24976,25088,25891,28451,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,29001,29833,32244,32879,34030,36646,36899,37706,20925,21015,21155,27916,28872,35010,24265,25986,27566,28610,31806,29557,20196,20278,22265,63839,23738,23994,24604,29618,31533,32666,32718,32838,36894,37428,38646,38728,38936,40801,20363,28583,31150,37300,38583,21214,63840,25736,25796,27347,28510,28696,29200,30439,32769,34310,34396,36335,36613,38706,39791,40442,40565,30860,31103,32160,33737,37636,40575,40595,35542,22751,24324,26407,28711,29903,31840,32894,20769,28712,29282,30922,36034,36058,36084,38647,20102,20698,23534,24278,26009,29134,30274,30637,32842,34044,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36988,39719,40845,22744,23105,23650,27155,28122,28431,30267,32047,32311,34078,35128,37860,38475,21129,26066,26611,27060,27969,28316,28687,29705,29792,30041,30244,30827,35628,39006,20845,25134,38520,20374,20523,23833,28138,32184,36650,24459,24900,26647,63841,38534,21202,32907,20956,20940,26974,31260,32190,33777,38517,20442,21033,21400,21519,21774,23653,24743,26446,26792,28012,29313,29432,29702,29827,63842,30178,31852,32633,32696,33673,35023,35041,37324,37328,38626,39881,21533,28542,29136,29848,34298,36522,38563,40023,40607,26519,28107,29747,33256,38678,30764,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31435,31520,31890,25705,29802,30194,30908,30952,39340,39764,40635,23518,24149,28448,33180,33707,37e3,19975,21325,23081,24018,24398,24930,25405,26217,26364,28415,28459,28771,30622,33836,34067,34875,36627,39237,39995,21788,25273,26411,27819,33545,35178,38778,20129,22916,24536,24537,26395,32178,32596,33426,33579,33725,36638,37017,22475,22969,23186,23504,26151,26522,26757,27599,29028,32629,36023,36067,36993,39749,33032,35978,38476,39488,40613,23391,27667,29467,30450,30431,33804,20906,35219,20813,20885,21193,26825,27796,30468,30496,32191,32236,38754,40629,28357,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,34065,20901,21517,21629,26126,26269,26919,28319,30399,30609,33559,33986,34719,37225,37528,40180,34946,20398,20882,21215,22982,24125,24917,25720,25721,26286,26576,27169,27597,27611,29279,29281,29761,30520,30683,32791,33468,33541,35584,35624,35980,26408,27792,29287,30446,30566,31302,40361,27519,27794,22818,26406,33945,21359,22675,22937,24287,25551,26164,26483,28218,29483,31447,33495,37672,21209,24043,25006,25035,25098,25287,25771,26080,26969,27494,27595,28961,29687,30045,32326,33310,33538,34154,35491,36031,38695,40289,22696,40664,20497,21006,21563,21839,25991,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,27766,32010,32011,32862,34442,38272,38639,21247,27797,29289,21619,23194,23614,23883,24396,24494,26410,26806,26979,28220,28228,30473,31859,32654,34183,35598,36855,38753,40692,23735,24758,24845,25003,25935,26107,26108,27665,27887,29599,29641,32225,38292,23494,34588,35600,21085,21338,25293,25615,25778,26420,27192,27850,29632,29854,31636,31893,32283,33162,33334,34180,36843,38649,39361,20276,21322,21453,21467,25292,25644,25856,26001,27075,27886,28504,29677,30036,30242,30436,30460,30928,30971,31020,32070,33324,34784,36820,38930,39151,21187,25300,25765,28196,28497,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,30332,36299,37297,37474,39662,39747,20515,20621,22346,22952,23592,24135,24439,25151,25918,26041,26049,26121,26507,27036,28354,30917,32033,32938,33152,33323,33459,33953,34444,35370,35607,37030,38450,40848,20493,20467,63843,22521,24472,25308,25490,26479,28227,28953,30403,32972,32986,35060,35061,35097,36064,36649,37197,38506,20271,20336,24091,26575,26658,30333,30334,39748,24161,27146,29033,29140,30058,63844,32321,34115,34281,39132,20240,31567,32624,38309,20961,24070,26805,27710,27726,27867,29359,31684,33539,27861,29754,20731,21128,22721,25816,27287,29863,30294,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,30887,34327,38370,38713,63845,21342,24321,35722,36776,36783,37002,21029,30629,40009,40712,19993,20482,20853,23643,24183,26142,26170,26564,26821,28851,29953,30149,31177,31453,36647,39200,39432,20445,22561,22577,23542,26222,27493,27921,28282,28541,29668,29995,33769,35036,35091,35676,36628,20239,20693,21264,21340,23443,24489,26381,31119,33145,33583,34068,35079,35206,36665,36667,39333,39954,26412,20086,20472,22857,23553,23791,23792,25447,26834,28925,29090,29739,32299,34028,34562,36898,37586,40179,19981,20184,20463,20613,21078,21103,21542,21648,22496,22827,23142,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,23386,23413,23500,24220,63846,25206,25975,26023,28014,28325,29238,31526,31807,32566,33104,33105,33178,33344,33433,33705,35331,36e3,36070,36091,36212,36282,37096,37340,38428,38468,39385,40167,21271,20998,21545,22132,22707,22868,22894,24575,24996,25198,26128,27774,28954,30406,31881,31966,32027,33452,36033,38640,63847,20315,24343,24447,25282,23849,26379,26842,30844,32323,40300,19989,20633,21269,21290,21329,22915,23138,24199,24754,24970,25161,25209,26e3,26503,27047,27604,27606,27607,27608,27832,63848,29749,30202,30738,30865,31189,31192,31875,32203,32737,32933,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,33086,33218,33778,34586,35048,35513,35692,36027,37145,38750,39131,40763,22188,23338,24428,25996,27315,27567,27996,28657,28693,29277,29613,36007,36051,38971,24977,27703,32856,39425,20045,20107,20123,20181,20282,20284,20351,20447,20735,21490,21496,21766,21987,22235,22763,22882,23057,23531,23546,23556,24051,24107,24473,24605,25448,26012,26031,26614,26619,26797,27515,27801,27863,28195,28681,29509,30722,31038,31040,31072,31169,31721,32023,32114,32902,33293,33678,34001,34503,35039,35408,35422,35613,36060,36198,36781,37034,39164,39391,40605,21066,63849,26388,63850,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20632,21034,23665,25955,27733,29642,29987,30109,31639,33948,37240,38704,20087,25746,27578,29022,34217,19977,63851,26441,26862,28183,33439,34072,34923,25591,28545,37394,39087,19978,20663,20687,20767,21830,21930,22039,23360,23577,23776,24120,24202,24224,24258,24819,26705,27233,28248,29245,29248,29376,30456,31077,31665,32724,35059,35316,35443,35937,36062,38684,22622,29885,36093,21959,63852,31329,32034,33394,29298,29983,29989,63853,31513,22661,22779,23996,24207,24246,24464,24661,25234,25471,25933,26257,26329,26360,26646,26866,29312,29790,31598,32110,32214,32626,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32997,33298,34223,35199,35475,36893,37604,40653,40736,22805,22893,24109,24796,26132,26227,26512,27728,28101,28511,30707,30889,33990,37323,37675,20185,20682,20808,21892,23307,23459,25159,25982,26059,28210,29053,29697,29764,29831,29887,30316,31146,32218,32341,32680,33146,33203,33337,34330,34796,35445,36323,36984,37521,37925,39245,39854,21352,23633,26964,27844,27945,28203,33292,34203,35131,35373,35498,38634,40807,21089,26297,27570,32406,34814,36109,38275,38493,25885,28041,29166,63854,22478,22995,23468,24615,24826,25104,26143,26207,29481,29689,30427,30465,31596,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32854,32882,33125,35488,37266,19990,21218,27506,27927,31237,31545,32048,63855,36016,21484,22063,22609,23477,23567,23569,24034,25152,25475,25620,26157,26803,27836,28040,28335,28703,28836,29138,29990,30095,30094,30233,31505,31712,31787,32032,32057,34092,34157,34311,35380,36877,36961,37045,37559,38902,39479,20439,23660,26463,28049,31903,32396,35606,36118,36895,23403,24061,25613,33984,36956,39137,29575,23435,24730,26494,28126,35359,35494,36865,38924,21047,63856,28753,30862,37782,34928,37335,20462,21463,22013,22234,22402,22781,23234,23432,23723,23744,24101,24833,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,25101,25163,25480,25628,25910,25976,27193,27530,27700,27929,28465,29159,29417,29560,29703,29874,30246,30561,31168,31319,31466,31929,32143,32172,32353,32670,33065,33585,33936,34010,34282,34966,35504,35728,36664,36930,36995,37228,37526,37561,38539,38567,38568,38614,38656,38920,39318,39635,39706,21460,22654,22809,23408,23487,28113,28506,29087,29729,29881,32901,33789,24033,24455,24490,24642,26092,26642,26991,27219,27529,27957,28147,29667,30462,30636,31565,32020,33059,33308,33600,34036,34147,35426,35524,37255,37662,38918,39348,25100,34899,36848,37477,23815,23847,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,23913,29791,33181,34664,28629,25342,32722,35126,35186,19998,20056,20711,21213,21319,25215,26119,32361,34821,38494,20365,21273,22070,22987,23204,23608,23630,23629,24066,24337,24643,26045,26159,26178,26558,26612,29468,30690,31034,32709,33940,33997,35222,35430,35433,35553,35925,35962,22516,23508,24335,24687,25325,26893,27542,28252,29060,31698,34645,35672,36606,39135,39166,20280,20353,20449,21627,23072,23480,24892,26032,26216,29180,30003,31070,32051,33102,33251,33688,34218,34254,34563,35338,36523,36763,63857,36805,22833,23460,23526,24713,23529,23563,24515,27777,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63858,28145,28683,29978,33455,35574,20160,21313,63859,38617,27663,20126,20420,20818,21854,23077,23784,25105,29273,33469,33706,34558,34905,35357,38463,38597,39187,40201,40285,22538,23731,23997,24132,24801,24853,25569,27138,28197,37122,37716,38990,39952,40823,23433,23736,25353,26191,26696,30524,38593,38797,38996,39839,26017,35585,36555,38332,21813,23721,24022,24245,26263,30284,33780,38343,22739,25276,29390,40232,20208,22830,24591,26171,27523,31207,40230,21395,21696,22467,23830,24859,26326,28079,30861,33406,38552,38724,21380,25212,25494,28082,32266,33099,38989,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,27387,32588,40367,40474,20063,20539,20918,22812,24825,25590,26928,29242,32822,63860,37326,24369,63861,63862,32004,33509,33903,33979,34277,36493,63863,20335,63864,63865,22756,23363,24665,25562,25880,25965,26264,63866,26954,27171,27915,28673,29036,30162,30221,31155,31344,63867,32650,63868,35140,63869,35731,37312,38525,63870,39178,22276,24481,26044,28417,30208,31142,35486,39341,39770,40812,20740,25014,25233,27277,33222,20547,22576,24422,28937,35328,35578,23420,34326,20474,20796,22196,22852,25513,28153,23978,26989,20870,20104,20313,63871,63872,63873,22914,63874,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63875,27487,27741,63876,29877,30998,63877,33287,33349,33593,36671,36701,63878,39192,63879,63880,63881,20134,63882,22495,24441,26131,63883,63884,30123,32377,35695,63885,36870,39515,22181,22567,23032,23071,23476,63886,24310,63887,63888,25424,25403,63889,26941,27783,27839,28046,28051,28149,28436,63890,28895,28982,29017,63891,29123,29141,63892,30799,30831,63893,31605,32227,63894,32303,63895,34893,36575,63896,63897,63898,37467,63899,40182,63900,63901,63902,24709,28037,63903,29105,63904,63905,38321,21421,63906,63907,63908,26579,63909,28814,28976,29744,33398,33490,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63910,38331,39653,40573,26308,63911,29121,33865,63912,63913,22603,63914,63915,23992,24433,63916,26144,26254,27001,27054,27704,27891,28214,28481,28634,28699,28719,29008,29151,29552,63917,29787,63918,29908,30408,31310,32403,63919,63920,33521,35424,36814,63921,37704,63922,38681,63923,63924,20034,20522,63925,21e3,21473,26355,27757,28618,29450,30591,31330,33454,34269,34306,63926,35028,35427,35709,35947,63927,37555,63928,38675,38928,20116,20237,20425,20658,21320,21566,21555,21978,22626,22714,22887,23067,23524,24735,63929,25034,25942,26111,26212,26791,27738,28595,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,28879,29100,29522,31613,34568,35492,39986,40711,23627,27779,29508,29577,37434,28331,29797,30239,31337,32277,34314,20800,22725,25793,29934,29973,30320,32705,37013,38605,39252,28198,29926,31401,31402,33253,34521,34680,35355,23113,23436,23451,26785,26880,28003,29609,29715,29740,30871,32233,32747,33048,33109,33694,35916,38446,38929,26352,24448,26106,26505,27754,29579,20525,23043,27498,30702,22806,23916,24013,29477,30031,63930,63931,20709,20985,22575,22829,22934,23002,23525,63932,63933,23970,25303,25622,25747,25854,63934,26332,63935,27208,63936,29183,29796,63937,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31368,31407,32327,32350,32768,33136,63938,34799,35201,35616,36953,63939,36992,39250,24958,27442,28020,32287,35109,36785,20433,20653,20887,21191,22471,22665,23481,24248,24898,27029,28044,28263,28342,29076,29794,29992,29996,32883,33592,33993,36362,37780,37854,63940,20110,20305,20598,20778,21448,21451,21491,23431,23507,23588,24858,24962,26100,29275,29591,29760,30402,31056,31121,31161,32006,32701,33419,34261,34398,36802,36935,37109,37354,38533,38632,38633,21206,24423,26093,26161,26671,29020,31286,37057,38922,20113,63941,27218,27550,28560,29065,32792,33464,34131,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36939,38549,38642,38907,34074,39729,20112,29066,38596,20803,21407,21729,22291,22290,22435,23195,23236,23491,24616,24895,25588,27781,27961,28274,28304,29232,29503,29783,33489,34945,36677,36960,63942,38498,39e3,40219,26376,36234,37470,20301,20553,20702,21361,22285,22996,23041,23561,24944,26256,28205,29234,29771,32239,32963,33806,33894,34111,34655,34907,35096,35586,36949,38859,39759,20083,20369,20754,20842,63943,21807,21929,23418,23461,24188,24189,24254,24736,24799,24840,24841,25540,25912,26377,63944,26580,26586,63945,26977,26978,27833,27943,63946,28216,63947,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,28641,29494,29495,63948,29788,30001,63949,30290,63950,63951,32173,33278,33848,35029,35480,35547,35565,36400,36418,36938,36926,36986,37193,37321,37742,63952,63953,22537,63954,27603,32905,32946,63955,63956,20801,22891,23609,63957,63958,28516,29607,32996,36103,63959,37399,38287,63960,63961,63962,63963,32895,25102,28700,32104,34701,63964,22432,24681,24903,27575,35518,37504,38577,20057,21535,28139,34093,38512,38899,39150,25558,27875,37009,20957,25033,33210,40441,20381,20506,20736,23452,24847,25087,25836,26885,27589,30097,30691,32681,33380,34191,34811,34915,35516,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,35696,37291,20108,20197,20234,63965,63966,22839,23016,63967,24050,24347,24411,24609,63968,63969,63970,63971,29246,29669,63972,30064,30157,63973,31227,63974,32780,32819,32900,33505,33617,63975,63976,36029,36019,36999,63977,63978,39156,39180,63979,63980,28727,30410,32714,32716,32764,35610,20154,20161,20995,21360,63981,21693,22240,23035,23493,24341,24525,28270,63982,63983,32106,33589,63984,34451,35469,63985,38765,38775,63986,63987,19968,20314,20350,22777,26085,28322,36920,37808,39353,20219,22764,22922,23001,24641,63988,63989,31252,63990,33615,36035,20837,21316,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,63991,63992,63993,20173,21097,23381,33471,20180,21050,21672,22985,23039,23376,23383,23388,24675,24904,28363,28825,29038,29574,29943,30133,30913,32043,32773,33258,33576,34071,34249,35566,36039,38604,20316,21242,22204,26027,26152,28796,28856,29237,32189,33421,37196,38592,40306,23409,26855,27544,28538,30430,23697,26283,28507,31668,31786,34870,38620,19976,20183,21280,22580,22715,22767,22892,23559,24115,24196,24373,25484,26290,26454,27167,27299,27404,28479,29254,63994,29520,29835,31456,31911,33144,33247,33255,33674,33900,34083,34196,34255,35037,36115,37292,38263,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,38556,20877,21705,22312,23472,25165,26448,26685,26771,28221,28371,28797,32289,35009,36001,36617,40779,40782,29229,31631,35533,37658,20295,20302,20786,21632,22992,24213,25269,26485,26990,27159,27822,28186,29401,29482,30141,31672,32053,33511,33785,33879,34295,35419,36015,36487,36889,37048,38606,40799,21219,21514,23265,23490,25688,25973,28404,29380,63995,30340,31309,31515,31821,32318,32735,33659,35627,36042,36196,36321,36447,36842,36857,36969,37841,20291,20346,20659,20840,20856,21069,21098,22625,22652,22880,23560,23637,24283,24731,25136,26643,27583,27656,28593,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,29006,29728,3e4,30008,30033,30322,31564,31627,31661,31686,32399,35438,36670,36681,37439,37523,37666,37931,38651,39002,39019,39198,20999,25130,25240,27993,30308,31434,31680,32118,21344,23742,24215,28472,28857,31896,38673,39822,40670,25509,25722,34678,19969,20117,20141,20572,20597,21576,22979,23450,24128,24237,24311,24449,24773,25402,25919,25972,26060,26230,26232,26622,26984,27273,27491,27712,28096,28136,28191,28254,28702,28833,29582,29693,30010,30555,30855,31118,31243,31357,31934,32142,33351,35330,35562,35998,37165,37194,37336,37478,37580,37664,38662,38742,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,38748,38914,40718,21046,21137,21884,22564,24093,24351,24716,25552,26799,28639,31085,31532,33229,34234,35069,35576,36420,37261,38500,38555,38717,38988,40778,20430,20806,20939,21161,22066,24340,24427,25514,25805,26089,26177,26362,26361,26397,26781,26839,27133,28437,28526,29031,29157,29226,29866,30522,31062,31066,31199,31264,31381,31895,31967,32068,32368,32903,34299,34468,35412,35519,36249,36481,36896,36973,37347,38459,38613,40165,26063,31751,36275,37827,23384,23562,21330,25305,29469,20519,23447,24478,24752,24939,26837,28121,29742,31278,32066,32156,32305,33131,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36394,36405,37758,37912,20304,22352,24038,24231,25387,32618,20027,20303,20367,20570,23005,32964,21610,21608,22014,22863,23449,24030,24282,26205,26417,26609,26666,27880,27954,28234,28557,28855,29664,30087,31820,32002,32044,32162,33311,34523,35387,35461,36208,36490,36659,36913,37198,37202,37956,39376,31481,31909,20426,20737,20934,22472,23535,23803,26201,27197,27994,28310,28652,28940,30063,31459,34850,36897,36981,38603,39423,33537,20013,20210,34886,37325,21373,27355,26987,27713,33914,22686,24974,26366,25327,28893,29969,30151,32338,33976,35657,36104,20043,21482,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21675,22320,22336,24535,25345,25351,25711,25903,26088,26234,26525,26547,27490,27744,27802,28460,30693,30757,31049,31063,32025,32930,33026,33267,33437,33463,34584,35468,63996,36100,36286,36978,30452,31257,31287,32340,32887,21767,21972,22645,25391,25634,26185,26187,26733,27035,27524,27941,28337,29645,29800,29857,30043,30137,30433,30494,30603,31206,32265,32285,33275,34095,34967,35386,36049,36587,36784,36914,37805,38499,38515,38663,20356,21489,23018,23241,24089,26702,29894,30142,31209,31378,33187,34541,36074,36300,36845,26015,26389,63997,22519,28503,32221,36655,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,37878,38598,24501,25074,28548,19988,20376,20511,21449,21983,23919,24046,27425,27492,30923,31642,63998,36425,36554,36974,25417,25662,30528,31364,37679,38015,40810,25776,28591,29158,29864,29914,31428,31762,32386,31922,32408,35738,36106,38013,39184,39244,21049,23519,25830,26413,32046,20717,21443,22649,24920,24921,25082,26028,31449,35730,35734,20489,20513,21109,21809,23100,24288,24432,24884,25950,26124,26166,26274,27085,28356,28466,29462,30241,31379,33081,33369,33750,33980,20661,22512,23488,23528,24425,25505,30758,32181,33756,34081,37319,37365,20874,26613,31574,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36012,20932,22971,24765,34389,20508,63999,21076,23610,24957,25114,25299,25842,26021,28364,30240,33034,36448,38495,38587,20191,21315,21912,22825,24029,25797,27849,28154,29588,31359,33307,34214,36068,36368,36983,37351,38369,38433,38854,20984,21746,21894,24505,25764,28552,32180,36639,36685,37941,20681,23574,27838,28155,29979,30651,31805,31844,35449,35522,22558,22974,24086,25463,29266,30090,30571,35548,36028,36626,24307,26228,28152,32893,33729,35531,38737,39894,64e3,21059,26367,28053,28399,32224,35558,36910,36958,39636,21021,21119,21736,24980,25220,25307,26786,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,26898,26970,27189,28818,28966,30813,30977,30990,31186,31245,32918,33400,33493,33609,34121,35970,36229,37218,37259,37294,20419,22225,29165,30679,34560,35320,23544,24534,26449,37032,21474,22618,23541,24740,24961,25696,32317,32880,34085,37507,25774,20652,23828,26368,22684,25277,25512,26894,27e3,27166,28267,30394,31179,33467,33833,35535,36264,36861,37138,37195,37276,37648,37656,37786,38619,39478,39949,19985,30044,31069,31482,31569,31689,32302,33988,36441,36468,36600,36880,26149,26943,29763,20986,26414,40668,20805,24544,27798,34802,34909,34935,24756,33205,33795,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,36101,21462,21561,22068,23094,23601,28810,32736,32858,33030,33261,36259,37257,39519,40434,20596,20164,21408,24827,28204,23652,20360,20516,21988,23769,24159,24677,26772,27835,28100,29118,30164,30196,30305,31258,31305,32199,32251,32622,33268,34473,36636,38601,39347,40786,21063,21189,39149,35242,19971,26578,28422,20405,23522,26517,27784,28024,29723,30759,37341,37756,34756,31204,31281,24555,20182,21668,21822,22702,22949,24816,25171,25302,26422,26965,33333,38464,39345,39389,20524,21331,21828,22396,64001,25176,64002,25826,26219,26589,28609,28655,29730,29752,35351,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,37944,21585,22022,22374,24392,24986,27470,28760,28845,32187,35477,22890,33067,25506,30472,32829,36010,22612,25645,27067,23445,24081,28271,64003,34153,20812,21488,22826,24608,24907,27526,27760,27888,31518,32974,33492,36294,37040,39089,64004,25799,28580,25745,25860,20814,21520,22303,35342,24927,26742,64005,30171,31570,32113,36890,22534,27084,33151,35114,36864,38969,20600,22871,22956,25237,36879,39722,24925,29305,38358,22369,23110,24052,25226,25773,25850,26487,27874,27966,29228,29750,30772,32631,33453,36315,38935,21028,22338,26495,29256,29923,36009,36774,37393,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,38442,20843,21485,25420,20329,21764,24726,25943,27803,28031,29260,29437,31255,35207,35997,24429,28558,28921,33192,24846,20415,20559,25153,29255,31687,32232,32745,36941,38829,39449,36022,22378,24179,26544,33805,35413,21536,23318,24163,24290,24330,25987,32954,34109,38281,38491,20296,21253,21261,21263,21638,21754,22275,24067,24598,25243,25265,25429,64006,27873,28006,30129,30770,32990,33071,33502,33889,33970,34957,35090,36875,37610,39165,39825,24133,26292,26333,28689,29190,64007,20469,21117,24426,24915,26451,27161,28418,29922,31080,34920,35961,39111,39108,39491,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,21697,31263,26963,35575,35914,39080,39342,24444,25259,30130,30382,34987,36991,38466,21305,24380,24517,27852,29644,30050,30091,31558,33534,39325,20047,36924,19979,20309,21414,22799,24264,26160,27827,29781,33655,34662,36032,36944,38686,39957,22737,23416,34384,35604,40372,23506,24680,24717,26097,27735,28450,28579,28698,32597,32752,38289,38290,38480,38867,21106,36676,20989,21547,21688,21859,21898,27323,28085,32216,33382,37532,38519,40569,21512,21704,30418,34532,38308,38356,38492,20130,20233,23022,23270,24055,24658,25239,26477,26689,27782,28207,32568,32923,33322,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,64008,64009,38917,20133,20565,21683,22419,22874,23401,23475,25032,26999,28023,28707,34809,35299,35442,35559,36994,39405,39608,21182,26680,20502,24184,26447,33607,34892,20139,21521,22190,29670,37141,38911,39177,39255,39321,22099,22687,34395,35377,25010,27382,29563,36562,27463,38570,39511,22869,29184,36203,38761,20436,23796,24358,25080,26203,27883,28843,29572,29625,29694,30505,30541,32067,32098,32291,33335,34898,64010,36066,37449,39023,23377,31348,34880,38913,23244,20448,21332,22846,23805,25406,28025,29433,33029,33031,33698,37583,38960,20136,20804,21009,22411,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,24418,27842,28366,28677,28752,28847,29074,29673,29801,33610,34722,34913,36872,37026,37795,39336,20846,24407,24800,24935,26291,34137,36426,37295,38795,20046,20114,21628,22741,22778,22909,23733,24359,25142,25160,26122,26215,27627,28009,28111,28246,28408,28564,28640,28649,28765,29392,29733,29786,29920,30355,31068,31946,32286,32993,33446,33899,33983,34382,34399,34676,35703,35946,37804,38912,39013,24785,25110,37239,23130,26127,28151,28222,29759,39746,24573,24794,31503,21700,24344,27742,27859,27946,28888,32005,34425,35340,40251,21270,21644,23301,27194,28779,30069,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,31117,31166,33457,33775,35441,35649,36008,38772,64011,25844,25899,30906,30907,31339,20024,21914,22864,23462,24187,24739,25563,27489,26213,26707,28185,29029,29872,32008,36996,39529,39973,27963,28369,29502,35905,38346,20976,24140,24488,24653,24822,24880,24908,26179,26180,27045,27841,28255,28361,28514,29004,29852,30343,31681,31783,33618,34647,36945,38541,40643,21295,22238,24315,24458,24674,24724,25079,26214,26371,27292,28142,28590,28784,29546,32362,33214,33588,34516,35496,36036,21123,29554,23446,27243,37892,21742,22150,23389,25928,25989,26313,26783,28045,28102,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,29243,32948,37237,39501,20399,20505,21402,21518,21564,21897,21957,24127,24460,26429,29030,29661,36869,21211,21235,22628,22734,28932,29071,29179,34224,35347,26248,34216,21927,26244,29002,33841,21321,21913,27585,24409,24509,25582,26249,28999,35569,36637,40638,20241,25658,28875,30054,34407,24676,35662,40440,20807,20982,21256,27958,33016,40657,26133,27427,28824,30165,21507,23673,32007,35350,27424,27453,27462,21560,24688,27965,32725,33288,20694,20958,21916,22123,22221,23020,23305,24076,24985,24984,25137,26206,26342,29081,29113,29114,29351,31143,31232,32690,35440,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],gb18030:[19970,19972,19973,19974,19983,19986,19991,19999,2e4,20001,20003,20006,20009,20014,20015,20017,20019,20021,20023,20028,20032,20033,20034,20036,20038,20042,20049,20053,20055,20058,20059,20066,20067,20068,20069,20071,20072,20074,20075,20076,20077,20078,20079,20082,20084,20085,20086,20087,20088,20089,20090,20091,20092,20093,20095,20096,20097,20098,20099,20100,20101,20103,20106,20112,20118,20119,20121,20124,20125,20126,20131,20138,20143,20144,20145,20148,20150,20151,20152,20153,20156,20157,20158,20168,20172,20175,20176,20178,20186,20187,20188,20192,20194,20198,20199,20201,20205,20206,20207,20209,20212,20216,20217,20218,20220,20222,20224,20226,20227,20228,20229,20230,20231,20232,20235,20236,20242,20243,20244,20245,20246,20252,20253,20257,20259,20264,20265,20268,20269,20270,20273,20275,20277,20279,20281,20283,20286,20287,20288,20289,20290,20292,20293,20295,20296,20297,20298,20299,20300,20306,20308,20310,20321,20322,20326,20328,20330,20331,20333,20334,20337,20338,20341,20343,20344,20345,20346,20349,20352,20353,20354,20357,20358,20359,20362,20364,20366,20368,20370,20371,20373,20374,20376,20377,20378,20380,20382,20383,20385,20386,20388,20395,20397,20400,20401,20402,20403,20404,20406,20407,20408,20409,20410,20411,20412,20413,20414,20416,20417,20418,20422,20423,20424,20425,20427,20428,20429,20434,20435,20436,20437,20438,20441,20443,20448,20450,20452,20453,20455,20459,20460,20464,20466,20468,20469,20470,20471,20473,20475,20476,20477,20479,20480,20481,20482,20483,20484,20485,20486,20487,20488,20489,20490,20491,20494,20496,20497,20499,20501,20502,20503,20507,20509,20510,20512,20514,20515,20516,20519,20523,20527,20528,20529,20530,20531,20532,20533,20534,20535,20536,20537,20539,20541,20543,20544,20545,20546,20548,20549,20550,20553,20554,20555,20557,20560,20561,20562,20563,20564,20566,20567,20568,20569,20571,20573,20574,20575,20576,20577,20578,20579,20580,20582,20583,20584,20585,20586,20587,20589,20590,20591,20592,20593,20594,20595,20596,20597,20600,20601,20602,20604,20605,20609,20610,20611,20612,20614,20615,20617,20618,20619,20620,20622,20623,20624,20625,20626,20627,20628,20629,20630,20631,20632,20633,20634,20635,20636,20637,20638,20639,20640,20641,20642,20644,20646,20650,20651,20653,20654,20655,20656,20657,20659,20660,20661,20662,20663,20664,20665,20668,20669,20670,20671,20672,20673,20674,20675,20676,20677,20678,20679,20680,20681,20682,20683,20684,20685,20686,20688,20689,20690,20691,20692,20693,20695,20696,20697,20699,20700,20701,20702,20703,20704,20705,20706,20707,20708,20709,20712,20713,20714,20715,20719,20720,20721,20722,20724,20726,20727,20728,20729,20730,20732,20733,20734,20735,20736,20737,20738,20739,20740,20741,20744,20745,20746,20748,20749,20750,20751,20752,20753,20755,20756,20757,20758,20759,20760,20761,20762,20763,20764,20765,20766,20767,20768,20770,20771,20772,20773,20774,20775,20776,20777,20778,20779,20780,20781,20782,20783,20784,20785,20786,20787,20788,20789,20790,20791,20792,20793,20794,20795,20796,20797,20798,20802,20807,20810,20812,20814,20815,20816,20818,20819,20823,20824,20825,20827,20829,20830,20831,20832,20833,20835,20836,20838,20839,20841,20842,20847,20850,20858,20862,20863,20867,20868,20870,20871,20874,20875,20878,20879,20880,20881,20883,20884,20888,20890,20893,20894,20895,20897,20899,20902,20903,20904,20905,20906,20909,20910,20916,20920,20921,20922,20926,20927,20929,20930,20931,20933,20936,20938,20941,20942,20944,20946,20947,20948,20949,20950,20951,20952,20953,20954,20956,20958,20959,20962,20963,20965,20966,20967,20968,20969,20970,20972,20974,20977,20978,20980,20983,20990,20996,20997,21001,21003,21004,21007,21008,21011,21012,21013,21020,21022,21023,21025,21026,21027,21029,21030,21031,21034,21036,21039,21041,21042,21044,21045,21052,21054,21060,21061,21062,21063,21064,21065,21067,21070,21071,21074,21075,21077,21079,21080,21081,21082,21083,21085,21087,21088,21090,21091,21092,21094,21096,21099,21100,21101,21102,21104,21105,21107,21108,21109,21110,21111,21112,21113,21114,21115,21116,21118,21120,21123,21124,21125,21126,21127,21129,21130,21131,21132,21133,21134,21135,21137,21138,21140,21141,21142,21143,21144,21145,21146,21148,21156,21157,21158,21159,21166,21167,21168,21172,21173,21174,21175,21176,21177,21178,21179,21180,21181,21184,21185,21186,21188,21189,21190,21192,21194,21196,21197,21198,21199,21201,21203,21204,21205,21207,21209,21210,21211,21212,21213,21214,21216,21217,21218,21219,21221,21222,21223,21224,21225,21226,21227,21228,21229,21230,21231,21233,21234,21235,21236,21237,21238,21239,21240,21243,21244,21245,21249,21250,21251,21252,21255,21257,21258,21259,21260,21262,21265,21266,21267,21268,21272,21275,21276,21278,21279,21282,21284,21285,21287,21288,21289,21291,21292,21293,21295,21296,21297,21298,21299,21300,21301,21302,21303,21304,21308,21309,21312,21314,21316,21318,21323,21324,21325,21328,21332,21336,21337,21339,21341,21349,21352,21354,21356,21357,21362,21366,21369,21371,21372,21373,21374,21376,21377,21379,21383,21384,21386,21390,21391,21392,21393,21394,21395,21396,21398,21399,21401,21403,21404,21406,21408,21409,21412,21415,21418,21419,21420,21421,21423,21424,21425,21426,21427,21428,21429,21431,21432,21433,21434,21436,21437,21438,21440,21443,21444,21445,21446,21447,21454,21455,21456,21458,21459,21461,21466,21468,21469,21470,21473,21474,21479,21492,21498,21502,21503,21504,21506,21509,21511,21515,21524,21528,21529,21530,21532,21538,21540,21541,21546,21552,21555,21558,21559,21562,21565,21567,21569,21570,21572,21573,21575,21577,21580,21581,21582,21583,21585,21594,21597,21598,21599,21600,21601,21603,21605,21607,21609,21610,21611,21612,21613,21614,21615,21616,21620,21625,21626,21630,21631,21633,21635,21637,21639,21640,21641,21642,21645,21649,21651,21655,21656,21660,21662,21663,21664,21665,21666,21669,21678,21680,21682,21685,21686,21687,21689,21690,21692,21694,21699,21701,21706,21707,21718,21720,21723,21728,21729,21730,21731,21732,21739,21740,21743,21744,21745,21748,21749,21750,21751,21752,21753,21755,21758,21760,21762,21763,21764,21765,21768,21770,21771,21772,21773,21774,21778,21779,21781,21782,21783,21784,21785,21786,21788,21789,21790,21791,21793,21797,21798,21800,21801,21803,21805,21810,21812,21813,21814,21816,21817,21818,21819,21821,21824,21826,21829,21831,21832,21835,21836,21837,21838,21839,21841,21842,21843,21844,21847,21848,21849,21850,21851,21853,21854,21855,21856,21858,21859,21864,21865,21867,21871,21872,21873,21874,21875,21876,21881,21882,21885,21887,21893,21894,21900,21901,21902,21904,21906,21907,21909,21910,21911,21914,21915,21918,21920,21921,21922,21923,21924,21925,21926,21928,21929,21930,21931,21932,21933,21934,21935,21936,21938,21940,21942,21944,21946,21948,21951,21952,21953,21954,21955,21958,21959,21960,21962,21963,21966,21967,21968,21973,21975,21976,21977,21978,21979,21982,21984,21986,21991,21993,21997,21998,22e3,22001,22004,22006,22008,22009,22010,22011,22012,22015,22018,22019,22020,22021,22022,22023,22026,22027,22029,22032,22033,22034,22035,22036,22037,22038,22039,22041,22042,22044,22045,22048,22049,22050,22053,22054,22056,22057,22058,22059,22062,22063,22064,22067,22069,22071,22072,22074,22076,22077,22078,22080,22081,22082,22083,22084,22085,22086,22087,22088,22089,22090,22091,22095,22096,22097,22098,22099,22101,22102,22106,22107,22109,22110,22111,22112,22113,22115,22117,22118,22119,22125,22126,22127,22128,22130,22131,22132,22133,22135,22136,22137,22138,22141,22142,22143,22144,22145,22146,22147,22148,22151,22152,22153,22154,22155,22156,22157,22160,22161,22162,22164,22165,22166,22167,22168,22169,22170,22171,22172,22173,22174,22175,22176,22177,22178,22180,22181,22182,22183,22184,22185,22186,22187,22188,22189,22190,22192,22193,22194,22195,22196,22197,22198,22200,22201,22202,22203,22205,22206,22207,22208,22209,22210,22211,22212,22213,22214,22215,22216,22217,22219,22220,22221,22222,22223,22224,22225,22226,22227,22229,22230,22232,22233,22236,22243,22245,22246,22247,22248,22249,22250,22252,22254,22255,22258,22259,22262,22263,22264,22267,22268,22272,22273,22274,22277,22279,22283,22284,22285,22286,22287,22288,22289,22290,22291,22292,22293,22294,22295,22296,22297,22298,22299,22301,22302,22304,22305,22306,22308,22309,22310,22311,22315,22321,22322,22324,22325,22326,22327,22328,22332,22333,22335,22337,22339,22340,22341,22342,22344,22345,22347,22354,22355,22356,22357,22358,22360,22361,22370,22371,22373,22375,22380,22382,22384,22385,22386,22388,22389,22392,22393,22394,22397,22398,22399,22400,22401,22407,22408,22409,22410,22413,22414,22415,22416,22417,22420,22421,22422,22423,22424,22425,22426,22428,22429,22430,22431,22437,22440,22442,22444,22447,22448,22449,22451,22453,22454,22455,22457,22458,22459,22460,22461,22462,22463,22464,22465,22468,22469,22470,22471,22472,22473,22474,22476,22477,22480,22481,22483,22486,22487,22491,22492,22494,22497,22498,22499,22501,22502,22503,22504,22505,22506,22507,22508,22510,22512,22513,22514,22515,22517,22518,22519,22523,22524,22526,22527,22529,22531,22532,22533,22536,22537,22538,22540,22542,22543,22544,22546,22547,22548,22550,22551,22552,22554,22555,22556,22557,22559,22562,22563,22565,22566,22567,22568,22569,22571,22572,22573,22574,22575,22577,22578,22579,22580,22582,22583,22584,22585,22586,22587,22588,22589,22590,22591,22592,22593,22594,22595,22597,22598,22599,22600,22601,22602,22603,22606,22607,22608,22610,22611,22613,22614,22615,22617,22618,22619,22620,22621,22623,22624,22625,22626,22627,22628,22630,22631,22632,22633,22634,22637,22638,22639,22640,22641,22642,22643,22644,22645,22646,22647,22648,22649,22650,22651,22652,22653,22655,22658,22660,22662,22663,22664,22666,22667,22668,22669,22670,22671,22672,22673,22676,22677,22678,22679,22680,22683,22684,22685,22688,22689,22690,22691,22692,22693,22694,22695,22698,22699,22700,22701,22702,22703,22704,22705,22706,22707,22708,22709,22710,22711,22712,22713,22714,22715,22717,22718,22719,22720,22722,22723,22724,22726,22727,22728,22729,22730,22731,22732,22733,22734,22735,22736,22738,22739,22740,22742,22743,22744,22745,22746,22747,22748,22749,22750,22751,22752,22753,22754,22755,22757,22758,22759,22760,22761,22762,22765,22767,22769,22770,22772,22773,22775,22776,22778,22779,22780,22781,22782,22783,22784,22785,22787,22789,22790,22792,22793,22794,22795,22796,22798,22800,22801,22802,22803,22807,22808,22811,22813,22814,22816,22817,22818,22819,22822,22824,22828,22832,22834,22835,22837,22838,22843,22845,22846,22847,22848,22851,22853,22854,22858,22860,22861,22864,22866,22867,22873,22875,22876,22877,22878,22879,22881,22883,22884,22886,22887,22888,22889,22890,22891,22892,22893,22894,22895,22896,22897,22898,22901,22903,22906,22907,22908,22910,22911,22912,22917,22921,22923,22924,22926,22927,22928,22929,22932,22933,22936,22938,22939,22940,22941,22943,22944,22945,22946,22950,22951,22956,22957,22960,22961,22963,22964,22965,22966,22967,22968,22970,22972,22973,22975,22976,22977,22978,22979,22980,22981,22983,22984,22985,22988,22989,22990,22991,22997,22998,23001,23003,23006,23007,23008,23009,23010,23012,23014,23015,23017,23018,23019,23021,23022,23023,23024,23025,23026,23027,23028,23029,23030,23031,23032,23034,23036,23037,23038,23040,23042,23050,23051,23053,23054,23055,23056,23058,23060,23061,23062,23063,23065,23066,23067,23069,23070,23073,23074,23076,23078,23079,23080,23082,23083,23084,23085,23086,23087,23088,23091,23093,23095,23096,23097,23098,23099,23101,23102,23103,23105,23106,23107,23108,23109,23111,23112,23115,23116,23117,23118,23119,23120,23121,23122,23123,23124,23126,23127,23128,23129,23131,23132,23133,23134,23135,23136,23137,23139,23140,23141,23142,23144,23145,23147,23148,23149,23150,23151,23152,23153,23154,23155,23160,23161,23163,23164,23165,23166,23168,23169,23170,23171,23172,23173,23174,23175,23176,23177,23178,23179,23180,23181,23182,23183,23184,23185,23187,23188,23189,23190,23191,23192,23193,23196,23197,23198,23199,23200,23201,23202,23203,23204,23205,23206,23207,23208,23209,23211,23212,23213,23214,23215,23216,23217,23220,23222,23223,23225,23226,23227,23228,23229,23231,23232,23235,23236,23237,23238,23239,23240,23242,23243,23245,23246,23247,23248,23249,23251,23253,23255,23257,23258,23259,23261,23262,23263,23266,23268,23269,23271,23272,23274,23276,23277,23278,23279,23280,23282,23283,23284,23285,23286,23287,23288,23289,23290,23291,23292,23293,23294,23295,23296,23297,23298,23299,23300,23301,23302,23303,23304,23306,23307,23308,23309,23310,23311,23312,23313,23314,23315,23316,23317,23320,23321,23322,23323,23324,23325,23326,23327,23328,23329,23330,23331,23332,23333,23334,23335,23336,23337,23338,23339,23340,23341,23342,23343,23344,23345,23347,23349,23350,23352,23353,23354,23355,23356,23357,23358,23359,23361,23362,23363,23364,23365,23366,23367,23368,23369,23370,23371,23372,23373,23374,23375,23378,23382,23390,23392,23393,23399,23400,23403,23405,23406,23407,23410,23412,23414,23415,23416,23417,23419,23420,23422,23423,23426,23430,23434,23437,23438,23440,23441,23442,23444,23446,23455,23463,23464,23465,23468,23469,23470,23471,23473,23474,23479,23482,23483,23484,23488,23489,23491,23496,23497,23498,23499,23501,23502,23503,23505,23508,23509,23510,23511,23512,23513,23514,23515,23516,23520,23522,23523,23526,23527,23529,23530,23531,23532,23533,23535,23537,23538,23539,23540,23541,23542,23543,23549,23550,23552,23554,23555,23557,23559,23560,23563,23564,23565,23566,23568,23570,23571,23575,23577,23579,23582,23583,23584,23585,23587,23590,23592,23593,23594,23595,23597,23598,23599,23600,23602,23603,23605,23606,23607,23619,23620,23622,23623,23628,23629,23634,23635,23636,23638,23639,23640,23642,23643,23644,23645,23647,23650,23652,23655,23656,23657,23658,23659,23660,23661,23664,23666,23667,23668,23669,23670,23671,23672,23675,23676,23677,23678,23680,23683,23684,23685,23686,23687,23689,23690,23691,23694,23695,23698,23699,23701,23709,23710,23711,23712,23713,23716,23717,23718,23719,23720,23722,23726,23727,23728,23730,23732,23734,23737,23738,23739,23740,23742,23744,23746,23747,23749,23750,23751,23752,23753,23754,23756,23757,23758,23759,23760,23761,23763,23764,23765,23766,23767,23768,23770,23771,23772,23773,23774,23775,23776,23778,23779,23783,23785,23787,23788,23790,23791,23793,23794,23795,23796,23797,23798,23799,23800,23801,23802,23804,23805,23806,23807,23808,23809,23812,23813,23816,23817,23818,23819,23820,23821,23823,23824,23825,23826,23827,23829,23831,23832,23833,23834,23836,23837,23839,23840,23841,23842,23843,23845,23848,23850,23851,23852,23855,23856,23857,23858,23859,23861,23862,23863,23864,23865,23866,23867,23868,23871,23872,23873,23874,23875,23876,23877,23878,23880,23881,23885,23886,23887,23888,23889,23890,23891,23892,23893,23894,23895,23897,23898,23900,23902,23903,23904,23905,23906,23907,23908,23909,23910,23911,23912,23914,23917,23918,23920,23921,23922,23923,23925,23926,23927,23928,23929,23930,23931,23932,23933,23934,23935,23936,23937,23939,23940,23941,23942,23943,23944,23945,23946,23947,23948,23949,23950,23951,23952,23953,23954,23955,23956,23957,23958,23959,23960,23962,23963,23964,23966,23967,23968,23969,23970,23971,23972,23973,23974,23975,23976,23977,23978,23979,23980,23981,23982,23983,23984,23985,23986,23987,23988,23989,23990,23992,23993,23994,23995,23996,23997,23998,23999,24e3,24001,24002,24003,24004,24006,24007,24008,24009,24010,24011,24012,24014,24015,24016,24017,24018,24019,24020,24021,24022,24023,24024,24025,24026,24028,24031,24032,24035,24036,24042,24044,24045,24048,24053,24054,24056,24057,24058,24059,24060,24063,24064,24068,24071,24073,24074,24075,24077,24078,24082,24083,24087,24094,24095,24096,24097,24098,24099,24100,24101,24104,24105,24106,24107,24108,24111,24112,24114,24115,24116,24117,24118,24121,24122,24126,24127,24128,24129,24131,24134,24135,24136,24137,24138,24139,24141,24142,24143,24144,24145,24146,24147,24150,24151,24152,24153,24154,24156,24157,24159,24160,24163,24164,24165,24166,24167,24168,24169,24170,24171,24172,24173,24174,24175,24176,24177,24181,24183,24185,24190,24193,24194,24195,24197,24200,24201,24204,24205,24206,24210,24216,24219,24221,24225,24226,24227,24228,24232,24233,24234,24235,24236,24238,24239,24240,24241,24242,24244,24250,24251,24252,24253,24255,24256,24257,24258,24259,24260,24261,24262,24263,24264,24267,24268,24269,24270,24271,24272,24276,24277,24279,24280,24281,24282,24284,24285,24286,24287,24288,24289,24290,24291,24292,24293,24294,24295,24297,24299,24300,24301,24302,24303,24304,24305,24306,24307,24309,24312,24313,24315,24316,24317,24325,24326,24327,24329,24332,24333,24334,24336,24338,24340,24342,24345,24346,24348,24349,24350,24353,24354,24355,24356,24360,24363,24364,24366,24368,24370,24371,24372,24373,24374,24375,24376,24379,24381,24382,24383,24385,24386,24387,24388,24389,24390,24391,24392,24393,24394,24395,24396,24397,24398,24399,24401,24404,24409,24410,24411,24412,24414,24415,24416,24419,24421,24423,24424,24427,24430,24431,24434,24436,24437,24438,24440,24442,24445,24446,24447,24451,24454,24461,24462,24463,24465,24467,24468,24470,24474,24475,24477,24478,24479,24480,24482,24483,24484,24485,24486,24487,24489,24491,24492,24495,24496,24497,24498,24499,24500,24502,24504,24505,24506,24507,24510,24511,24512,24513,24514,24519,24520,24522,24523,24526,24531,24532,24533,24538,24539,24540,24542,24543,24546,24547,24549,24550,24552,24553,24556,24559,24560,24562,24563,24564,24566,24567,24569,24570,24572,24583,24584,24585,24587,24588,24592,24593,24595,24599,24600,24602,24606,24607,24610,24611,24612,24620,24621,24622,24624,24625,24626,24627,24628,24630,24631,24632,24633,24634,24637,24638,24640,24644,24645,24646,24647,24648,24649,24650,24652,24654,24655,24657,24659,24660,24662,24663,24664,24667,24668,24670,24671,24672,24673,24677,24678,24686,24689,24690,24692,24693,24695,24702,24704,24705,24706,24709,24710,24711,24712,24714,24715,24718,24719,24720,24721,24723,24725,24727,24728,24729,24732,24734,24737,24738,24740,24741,24743,24745,24746,24750,24752,24755,24757,24758,24759,24761,24762,24765,24766,24767,24768,24769,24770,24771,24772,24775,24776,24777,24780,24781,24782,24783,24784,24786,24787,24788,24790,24791,24793,24795,24798,24801,24802,24803,24804,24805,24810,24817,24818,24821,24823,24824,24827,24828,24829,24830,24831,24834,24835,24836,24837,24839,24842,24843,24844,24848,24849,24850,24851,24852,24854,24855,24856,24857,24859,24860,24861,24862,24865,24866,24869,24872,24873,24874,24876,24877,24878,24879,24880,24881,24882,24883,24884,24885,24886,24887,24888,24889,24890,24891,24892,24893,24894,24896,24897,24898,24899,24900,24901,24902,24903,24905,24907,24909,24911,24912,24914,24915,24916,24918,24919,24920,24921,24922,24923,24924,24926,24927,24928,24929,24931,24932,24933,24934,24937,24938,24939,24940,24941,24942,24943,24945,24946,24947,24948,24950,24952,24953,24954,24955,24956,24957,24958,24959,24960,24961,24962,24963,24964,24965,24966,24967,24968,24969,24970,24972,24973,24975,24976,24977,24978,24979,24981,24982,24983,24984,24985,24986,24987,24988,24990,24991,24992,24993,24994,24995,24996,24997,24998,25002,25003,25005,25006,25007,25008,25009,25010,25011,25012,25013,25014,25016,25017,25018,25019,25020,25021,25023,25024,25025,25027,25028,25029,25030,25031,25033,25036,25037,25038,25039,25040,25043,25045,25046,25047,25048,25049,25050,25051,25052,25053,25054,25055,25056,25057,25058,25059,25060,25061,25063,25064,25065,25066,25067,25068,25069,25070,25071,25072,25073,25074,25075,25076,25078,25079,25080,25081,25082,25083,25084,25085,25086,25088,25089,25090,25091,25092,25093,25095,25097,25107,25108,25113,25116,25117,25118,25120,25123,25126,25127,25128,25129,25131,25133,25135,25136,25137,25138,25141,25142,25144,25145,25146,25147,25148,25154,25156,25157,25158,25162,25167,25168,25173,25174,25175,25177,25178,25180,25181,25182,25183,25184,25185,25186,25188,25189,25192,25201,25202,25204,25205,25207,25208,25210,25211,25213,25217,25218,25219,25221,25222,25223,25224,25227,25228,25229,25230,25231,25232,25236,25241,25244,25245,25246,25251,25254,25255,25257,25258,25261,25262,25263,25264,25266,25267,25268,25270,25271,25272,25274,25278,25280,25281,25283,25291,25295,25297,25301,25309,25310,25312,25313,25316,25322,25323,25328,25330,25333,25336,25337,25338,25339,25344,25347,25348,25349,25350,25354,25355,25356,25357,25359,25360,25362,25363,25364,25365,25367,25368,25369,25372,25382,25383,25385,25388,25389,25390,25392,25393,25395,25396,25397,25398,25399,25400,25403,25404,25406,25407,25408,25409,25412,25415,25416,25418,25425,25426,25427,25428,25430,25431,25432,25433,25434,25435,25436,25437,25440,25444,25445,25446,25448,25450,25451,25452,25455,25456,25458,25459,25460,25461,25464,25465,25468,25469,25470,25471,25473,25475,25476,25477,25478,25483,25485,25489,25491,25492,25493,25495,25497,25498,25499,25500,25501,25502,25503,25505,25508,25510,25515,25519,25521,25522,25525,25526,25529,25531,25533,25535,25536,25537,25538,25539,25541,25543,25544,25546,25547,25548,25553,25555,25556,25557,25559,25560,25561,25562,25563,25564,25565,25567,25570,25572,25573,25574,25575,25576,25579,25580,25582,25583,25584,25585,25587,25589,25591,25593,25594,25595,25596,25598,25603,25604,25606,25607,25608,25609,25610,25613,25614,25617,25618,25621,25622,25623,25624,25625,25626,25629,25631,25634,25635,25636,25637,25639,25640,25641,25643,25646,25647,25648,25649,25650,25651,25653,25654,25655,25656,25657,25659,25660,25662,25664,25666,25667,25673,25675,25676,25677,25678,25679,25680,25681,25683,25685,25686,25687,25689,25690,25691,25692,25693,25695,25696,25697,25698,25699,25700,25701,25702,25704,25706,25707,25708,25710,25711,25712,25713,25714,25715,25716,25717,25718,25719,25723,25724,25725,25726,25727,25728,25729,25731,25734,25736,25737,25738,25739,25740,25741,25742,25743,25744,25747,25748,25751,25752,25754,25755,25756,25757,25759,25760,25761,25762,25763,25765,25766,25767,25768,25770,25771,25775,25777,25778,25779,25780,25782,25785,25787,25789,25790,25791,25793,25795,25796,25798,25799,25800,25801,25802,25803,25804,25807,25809,25811,25812,25813,25814,25817,25818,25819,25820,25821,25823,25824,25825,25827,25829,25831,25832,25833,25834,25835,25836,25837,25838,25839,25840,25841,25842,25843,25844,25845,25846,25847,25848,25849,25850,25851,25852,25853,25854,25855,25857,25858,25859,25860,25861,25862,25863,25864,25866,25867,25868,25869,25870,25871,25872,25873,25875,25876,25877,25878,25879,25881,25882,25883,25884,25885,25886,25887,25888,25889,25890,25891,25892,25894,25895,25896,25897,25898,25900,25901,25904,25905,25906,25907,25911,25914,25916,25917,25920,25921,25922,25923,25924,25926,25927,25930,25931,25933,25934,25936,25938,25939,25940,25943,25944,25946,25948,25951,25952,25953,25956,25957,25959,25960,25961,25962,25965,25966,25967,25969,25971,25973,25974,25976,25977,25978,25979,25980,25981,25982,25983,25984,25985,25986,25987,25988,25989,25990,25992,25993,25994,25997,25998,25999,26002,26004,26005,26006,26008,26010,26013,26014,26016,26018,26019,26022,26024,26026,26028,26030,26033,26034,26035,26036,26037,26038,26039,26040,26042,26043,26046,26047,26048,26050,26055,26056,26057,26058,26061,26064,26065,26067,26068,26069,26072,26073,26074,26075,26076,26077,26078,26079,26081,26083,26084,26090,26091,26098,26099,26100,26101,26104,26105,26107,26108,26109,26110,26111,26113,26116,26117,26119,26120,26121,26123,26125,26128,26129,26130,26134,26135,26136,26138,26139,26140,26142,26145,26146,26147,26148,26150,26153,26154,26155,26156,26158,26160,26162,26163,26167,26168,26169,26170,26171,26173,26175,26176,26178,26180,26181,26182,26183,26184,26185,26186,26189,26190,26192,26193,26200,26201,26203,26204,26205,26206,26208,26210,26211,26213,26215,26217,26218,26219,26220,26221,26225,26226,26227,26229,26232,26233,26235,26236,26237,26239,26240,26241,26243,26245,26246,26248,26249,26250,26251,26253,26254,26255,26256,26258,26259,26260,26261,26264,26265,26266,26267,26268,26270,26271,26272,26273,26274,26275,26276,26277,26278,26281,26282,26283,26284,26285,26287,26288,26289,26290,26291,26293,26294,26295,26296,26298,26299,26300,26301,26303,26304,26305,26306,26307,26308,26309,26310,26311,26312,26313,26314,26315,26316,26317,26318,26319,26320,26321,26322,26323,26324,26325,26326,26327,26328,26330,26334,26335,26336,26337,26338,26339,26340,26341,26343,26344,26346,26347,26348,26349,26350,26351,26353,26357,26358,26360,26362,26363,26365,26369,26370,26371,26372,26373,26374,26375,26380,26382,26383,26385,26386,26387,26390,26392,26393,26394,26396,26398,26400,26401,26402,26403,26404,26405,26407,26409,26414,26416,26418,26419,26422,26423,26424,26425,26427,26428,26430,26431,26433,26436,26437,26439,26442,26443,26445,26450,26452,26453,26455,26456,26457,26458,26459,26461,26466,26467,26468,26470,26471,26475,26476,26478,26481,26484,26486,26488,26489,26490,26491,26493,26496,26498,26499,26501,26502,26504,26506,26508,26509,26510,26511,26513,26514,26515,26516,26518,26521,26523,26527,26528,26529,26532,26534,26537,26540,26542,26545,26546,26548,26553,26554,26555,26556,26557,26558,26559,26560,26562,26565,26566,26567,26568,26569,26570,26571,26572,26573,26574,26581,26582,26583,26587,26591,26593,26595,26596,26598,26599,26600,26602,26603,26605,26606,26610,26613,26614,26615,26616,26617,26618,26619,26620,26622,26625,26626,26627,26628,26630,26637,26640,26642,26644,26645,26648,26649,26650,26651,26652,26654,26655,26656,26658,26659,26660,26661,26662,26663,26664,26667,26668,26669,26670,26671,26672,26673,26676,26677,26678,26682,26683,26687,26695,26699,26701,26703,26706,26710,26711,26712,26713,26714,26715,26716,26717,26718,26719,26730,26732,26733,26734,26735,26736,26737,26738,26739,26741,26744,26745,26746,26747,26748,26749,26750,26751,26752,26754,26756,26759,26760,26761,26762,26763,26764,26765,26766,26768,26769,26770,26772,26773,26774,26776,26777,26778,26779,26780,26781,26782,26783,26784,26785,26787,26788,26789,26793,26794,26795,26796,26798,26801,26802,26804,26806,26807,26808,26809,26810,26811,26812,26813,26814,26815,26817,26819,26820,26821,26822,26823,26824,26826,26828,26830,26831,26832,26833,26835,26836,26838,26839,26841,26843,26844,26845,26846,26847,26849,26850,26852,26853,26854,26855,26856,26857,26858,26859,26860,26861,26863,26866,26867,26868,26870,26871,26872,26875,26877,26878,26879,26880,26882,26883,26884,26886,26887,26888,26889,26890,26892,26895,26897,26899,26900,26901,26902,26903,26904,26905,26906,26907,26908,26909,26910,26913,26914,26915,26917,26918,26919,26920,26921,26922,26923,26924,26926,26927,26929,26930,26931,26933,26934,26935,26936,26938,26939,26940,26942,26944,26945,26947,26948,26949,26950,26951,26952,26953,26954,26955,26956,26957,26958,26959,26960,26961,26962,26963,26965,26966,26968,26969,26971,26972,26975,26977,26978,26980,26981,26983,26984,26985,26986,26988,26989,26991,26992,26994,26995,26996,26997,26998,27002,27003,27005,27006,27007,27009,27011,27013,27018,27019,27020,27022,27023,27024,27025,27026,27027,27030,27031,27033,27034,27037,27038,27039,27040,27041,27042,27043,27044,27045,27046,27049,27050,27052,27054,27055,27056,27058,27059,27061,27062,27064,27065,27066,27068,27069,27070,27071,27072,27074,27075,27076,27077,27078,27079,27080,27081,27083,27085,27087,27089,27090,27091,27093,27094,27095,27096,27097,27098,27100,27101,27102,27105,27106,27107,27108,27109,27110,27111,27112,27113,27114,27115,27116,27118,27119,27120,27121,27123,27124,27125,27126,27127,27128,27129,27130,27131,27132,27134,27136,27137,27138,27139,27140,27141,27142,27143,27144,27145,27147,27148,27149,27150,27151,27152,27153,27154,27155,27156,27157,27158,27161,27162,27163,27164,27165,27166,27168,27170,27171,27172,27173,27174,27175,27177,27179,27180,27181,27182,27184,27186,27187,27188,27190,27191,27192,27193,27194,27195,27196,27199,27200,27201,27202,27203,27205,27206,27208,27209,27210,27211,27212,27213,27214,27215,27217,27218,27219,27220,27221,27222,27223,27226,27228,27229,27230,27231,27232,27234,27235,27236,27238,27239,27240,27241,27242,27243,27244,27245,27246,27247,27248,27250,27251,27252,27253,27254,27255,27256,27258,27259,27261,27262,27263,27265,27266,27267,27269,27270,27271,27272,27273,27274,27275,27276,27277,27279,27282,27283,27284,27285,27286,27288,27289,27290,27291,27292,27293,27294,27295,27297,27298,27299,27300,27301,27302,27303,27304,27306,27309,27310,27311,27312,27313,27314,27315,27316,27317,27318,27319,27320,27321,27322,27323,27324,27325,27326,27327,27328,27329,27330,27331,27332,27333,27334,27335,27336,27337,27338,27339,27340,27341,27342,27343,27344,27345,27346,27347,27348,27349,27350,27351,27352,27353,27354,27355,27356,27357,27358,27359,27360,27361,27362,27363,27364,27365,27366,27367,27368,27369,27370,27371,27372,27373,27374,27375,27376,27377,27378,27379,27380,27381,27382,27383,27384,27385,27386,27387,27388,27389,27390,27391,27392,27393,27394,27395,27396,27397,27398,27399,27400,27401,27402,27403,27404,27405,27406,27407,27408,27409,27410,27411,27412,27413,27414,27415,27416,27417,27418,27419,27420,27421,27422,27423,27429,27430,27432,27433,27434,27435,27436,27437,27438,27439,27440,27441,27443,27444,27445,27446,27448,27451,27452,27453,27455,27456,27457,27458,27460,27461,27464,27466,27467,27469,27470,27471,27472,27473,27474,27475,27476,27477,27478,27479,27480,27482,27483,27484,27485,27486,27487,27488,27489,27496,27497,27499,27500,27501,27502,27503,27504,27505,27506,27507,27508,27509,27510,27511,27512,27514,27517,27518,27519,27520,27525,27528,27532,27534,27535,27536,27537,27540,27541,27543,27544,27545,27548,27549,27550,27551,27552,27554,27555,27556,27557,27558,27559,27560,27561,27563,27564,27565,27566,27567,27568,27569,27570,27574,27576,27577,27578,27579,27580,27581,27582,27584,27587,27588,27590,27591,27592,27593,27594,27596,27598,27600,27601,27608,27610,27612,27613,27614,27615,27616,27618,27619,27620,27621,27622,27623,27624,27625,27628,27629,27630,27632,27633,27634,27636,27638,27639,27640,27642,27643,27644,27646,27647,27648,27649,27650,27651,27652,27656,27657,27658,27659,27660,27662,27666,27671,27676,27677,27678,27680,27683,27685,27691,27692,27693,27697,27699,27702,27703,27705,27706,27707,27708,27710,27711,27715,27716,27717,27720,27723,27724,27725,27726,27727,27729,27730,27731,27734,27736,27737,27738,27746,27747,27749,27750,27751,27755,27756,27757,27758,27759,27761,27763,27765,27767,27768,27770,27771,27772,27775,27776,27780,27783,27786,27787,27789,27790,27793,27794,27797,27798,27799,27800,27802,27804,27805,27806,27808,27810,27816,27820,27823,27824,27828,27829,27830,27831,27834,27840,27841,27842,27843,27846,27847,27848,27851,27853,27854,27855,27857,27858,27864,27865,27866,27868,27869,27871,27876,27878,27879,27881,27884,27885,27890,27892,27897,27903,27904,27906,27907,27909,27910,27912,27913,27914,27917,27919,27920,27921,27923,27924,27925,27926,27928,27932,27933,27935,27936,27937,27938,27939,27940,27942,27944,27945,27948,27949,27951,27952,27956,27958,27959,27960,27962,27967,27968,27970,27972,27977,27980,27984,27989,27990,27991,27992,27995,27997,27999,28001,28002,28004,28005,28007,28008,28011,28012,28013,28016,28017,28018,28019,28021,28022,28025,28026,28027,28029,28030,28031,28032,28033,28035,28036,28038,28039,28042,28043,28045,28047,28048,28050,28054,28055,28056,28057,28058,28060,28066,28069,28076,28077,28080,28081,28083,28084,28086,28087,28089,28090,28091,28092,28093,28094,28097,28098,28099,28104,28105,28106,28109,28110,28111,28112,28114,28115,28116,28117,28119,28122,28123,28124,28127,28130,28131,28133,28135,28136,28137,28138,28141,28143,28144,28146,28148,28149,28150,28152,28154,28157,28158,28159,28160,28161,28162,28163,28164,28166,28167,28168,28169,28171,28175,28178,28179,28181,28184,28185,28187,28188,28190,28191,28194,28198,28199,28200,28202,28204,28206,28208,28209,28211,28213,28214,28215,28217,28219,28220,28221,28222,28223,28224,28225,28226,28229,28230,28231,28232,28233,28234,28235,28236,28239,28240,28241,28242,28245,28247,28249,28250,28252,28253,28254,28256,28257,28258,28259,28260,28261,28262,28263,28264,28265,28266,28268,28269,28271,28272,28273,28274,28275,28276,28277,28278,28279,28280,28281,28282,28283,28284,28285,28288,28289,28290,28292,28295,28296,28298,28299,28300,28301,28302,28305,28306,28307,28308,28309,28310,28311,28313,28314,28315,28317,28318,28320,28321,28323,28324,28326,28328,28329,28331,28332,28333,28334,28336,28339,28341,28344,28345,28348,28350,28351,28352,28355,28356,28357,28358,28360,28361,28362,28364,28365,28366,28368,28370,28374,28376,28377,28379,28380,28381,28387,28391,28394,28395,28396,28397,28398,28399,28400,28401,28402,28403,28405,28406,28407,28408,28410,28411,28412,28413,28414,28415,28416,28417,28419,28420,28421,28423,28424,28426,28427,28428,28429,28430,28432,28433,28434,28438,28439,28440,28441,28442,28443,28444,28445,28446,28447,28449,28450,28451,28453,28454,28455,28456,28460,28462,28464,28466,28468,28469,28471,28472,28473,28474,28475,28476,28477,28479,28480,28481,28482,28483,28484,28485,28488,28489,28490,28492,28494,28495,28496,28497,28498,28499,28500,28501,28502,28503,28505,28506,28507,28509,28511,28512,28513,28515,28516,28517,28519,28520,28521,28522,28523,28524,28527,28528,28529,28531,28533,28534,28535,28537,28539,28541,28542,28543,28544,28545,28546,28547,28549,28550,28551,28554,28555,28559,28560,28561,28562,28563,28564,28565,28566,28567,28568,28569,28570,28571,28573,28574,28575,28576,28578,28579,28580,28581,28582,28584,28585,28586,28587,28588,28589,28590,28591,28592,28593,28594,28596,28597,28599,28600,28602,28603,28604,28605,28606,28607,28609,28611,28612,28613,28614,28615,28616,28618,28619,28620,28621,28622,28623,28624,28627,28628,28629,28630,28631,28632,28633,28634,28635,28636,28637,28639,28642,28643,28644,28645,28646,28647,28648,28649,28650,28651,28652,28653,28656,28657,28658,28659,28660,28661,28662,28663,28664,28665,28666,28667,28668,28669,28670,28671,28672,28673,28674,28675,28676,28677,28678,28679,28680,28681,28682,28683,28684,28685,28686,28687,28688,28690,28691,28692,28693,28694,28695,28696,28697,28700,28701,28702,28703,28704,28705,28706,28708,28709,28710,28711,28712,28713,28714,28715,28716,28717,28718,28719,28720,28721,28722,28723,28724,28726,28727,28728,28730,28731,28732,28733,28734,28735,28736,28737,28738,28739,28740,28741,28742,28743,28744,28745,28746,28747,28749,28750,28752,28753,28754,28755,28756,28757,28758,28759,28760,28761,28762,28763,28764,28765,28767,28768,28769,28770,28771,28772,28773,28774,28775,28776,28777,28778,28782,28785,28786,28787,28788,28791,28793,28794,28795,28797,28801,28802,28803,28804,28806,28807,28808,28811,28812,28813,28815,28816,28817,28819,28823,28824,28826,28827,28830,28831,28832,28833,28834,28835,28836,28837,28838,28839,28840,28841,28842,28848,28850,28852,28853,28854,28858,28862,28863,28868,28869,28870,28871,28873,28875,28876,28877,28878,28879,28880,28881,28882,28883,28884,28885,28886,28887,28890,28892,28893,28894,28896,28897,28898,28899,28901,28906,28910,28912,28913,28914,28915,28916,28917,28918,28920,28922,28923,28924,28926,28927,28928,28929,28930,28931,28932,28933,28934,28935,28936,28939,28940,28941,28942,28943,28945,28946,28948,28951,28955,28956,28957,28958,28959,28960,28961,28962,28963,28964,28965,28967,28968,28969,28970,28971,28972,28973,28974,28978,28979,28980,28981,28983,28984,28985,28986,28987,28988,28989,28990,28991,28992,28993,28994,28995,28996,28998,28999,29e3,29001,29003,29005,29007,29008,29009,29010,29011,29012,29013,29014,29015,29016,29017,29018,29019,29021,29023,29024,29025,29026,29027,29029,29033,29034,29035,29036,29037,29039,29040,29041,29044,29045,29046,29047,29049,29051,29052,29054,29055,29056,29057,29058,29059,29061,29062,29063,29064,29065,29067,29068,29069,29070,29072,29073,29074,29075,29077,29078,29079,29082,29083,29084,29085,29086,29089,29090,29091,29092,29093,29094,29095,29097,29098,29099,29101,29102,29103,29104,29105,29106,29108,29110,29111,29112,29114,29115,29116,29117,29118,29119,29120,29121,29122,29124,29125,29126,29127,29128,29129,29130,29131,29132,29133,29135,29136,29137,29138,29139,29142,29143,29144,29145,29146,29147,29148,29149,29150,29151,29153,29154,29155,29156,29158,29160,29161,29162,29163,29164,29165,29167,29168,29169,29170,29171,29172,29173,29174,29175,29176,29178,29179,29180,29181,29182,29183,29184,29185,29186,29187,29188,29189,29191,29192,29193,29194,29195,29196,29197,29198,29199,29200,29201,29202,29203,29204,29205,29206,29207,29208,29209,29210,29211,29212,29214,29215,29216,29217,29218,29219,29220,29221,29222,29223,29225,29227,29229,29230,29231,29234,29235,29236,29242,29244,29246,29248,29249,29250,29251,29252,29253,29254,29257,29258,29259,29262,29263,29264,29265,29267,29268,29269,29271,29272,29274,29276,29278,29280,29283,29284,29285,29288,29290,29291,29292,29293,29296,29297,29299,29300,29302,29303,29304,29307,29308,29309,29314,29315,29317,29318,29319,29320,29321,29324,29326,29328,29329,29331,29332,29333,29334,29335,29336,29337,29338,29339,29340,29341,29342,29344,29345,29346,29347,29348,29349,29350,29351,29352,29353,29354,29355,29358,29361,29362,29363,29365,29370,29371,29372,29373,29374,29375,29376,29381,29382,29383,29385,29386,29387,29388,29391,29393,29395,29396,29397,29398,29400,29402,29403,58566,58567,58568,58569,58570,58571,58572,58573,58574,58575,58576,58577,58578,58579,58580,58581,58582,58583,58584,58585,58586,58587,58588,58589,58590,58591,58592,58593,58594,58595,58596,58597,58598,58599,58600,58601,58602,58603,58604,58605,58606,58607,58608,58609,58610,58611,58612,58613,58614,58615,58616,58617,58618,58619,58620,58621,58622,58623,58624,58625,58626,58627,58628,58629,58630,58631,58632,58633,58634,58635,58636,58637,58638,58639,58640,58641,58642,58643,58644,58645,58646,58647,58648,58649,58650,58651,58652,58653,58654,58655,58656,58657,58658,58659,58660,58661,12288,12289,12290,183,713,711,168,12291,12293,8212,65374,8214,8230,8216,8217,8220,8221,12308,12309,12296,12297,12298,12299,12300,12301,12302,12303,12310,12311,12304,12305,177,215,247,8758,8743,8744,8721,8719,8746,8745,8712,8759,8730,8869,8741,8736,8978,8857,8747,8750,8801,8780,8776,8765,8733,8800,8814,8815,8804,8805,8734,8757,8756,9794,9792,176,8242,8243,8451,65284,164,65504,65505,8240,167,8470,9734,9733,9675,9679,9678,9671,9670,9633,9632,9651,9650,8251,8594,8592,8593,8595,12307,58662,58663,58664,58665,58666,58667,58668,58669,58670,58671,58672,58673,58674,58675,58676,58677,58678,58679,58680,58681,58682,58683,58684,58685,58686,58687,58688,58689,58690,58691,58692,58693,58694,58695,58696,58697,58698,58699,58700,58701,58702,58703,58704,58705,58706,58707,58708,58709,58710,58711,58712,58713,58714,58715,58716,58717,58718,58719,58720,58721,58722,58723,58724,58725,58726,58727,58728,58729,58730,58731,58732,58733,58734,58735,58736,58737,58738,58739,58740,58741,58742,58743,58744,58745,58746,58747,58748,58749,58750,58751,58752,58753,58754,58755,58756,58757,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,59238,59239,59240,59241,59242,59243,9352,9353,9354,9355,9356,9357,9358,9359,9360,9361,9362,9363,9364,9365,9366,9367,9368,9369,9370,9371,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,9347,9348,9349,9350,9351,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,8364,59245,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,59246,59247,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,59248,59249,58758,58759,58760,58761,58762,58763,58764,58765,58766,58767,58768,58769,58770,58771,58772,58773,58774,58775,58776,58777,58778,58779,58780,58781,58782,58783,58784,58785,58786,58787,58788,58789,58790,58791,58792,58793,58794,58795,58796,58797,58798,58799,58800,58801,58802,58803,58804,58805,58806,58807,58808,58809,58810,58811,58812,58813,58814,58815,58816,58817,58818,58819,58820,58821,58822,58823,58824,58825,58826,58827,58828,58829,58830,58831,58832,58833,58834,58835,58836,58837,58838,58839,58840,58841,58842,58843,58844,58845,58846,58847,58848,58849,58850,58851,58852,12288,65281,65282,65283,65509,65285,65286,65287,65288,65289,65290,65291,65292,65293,65294,65295,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,65306,65307,65308,65309,65310,65311,65312,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65339,65340,65341,65342,65343,65344,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,65371,65372,65373,65507,58854,58855,58856,58857,58858,58859,58860,58861,58862,58863,58864,58865,58866,58867,58868,58869,58870,58871,58872,58873,58874,58875,58876,58877,58878,58879,58880,58881,58882,58883,58884,58885,58886,58887,58888,58889,58890,58891,58892,58893,58894,58895,58896,58897,58898,58899,58900,58901,58902,58903,58904,58905,58906,58907,58908,58909,58910,58911,58912,58913,58914,58915,58916,58917,58918,58919,58920,58921,58922,58923,58924,58925,58926,58927,58928,58929,58930,58931,58932,58933,58934,58935,58936,58937,58938,58939,58940,58941,58942,58943,58944,58945,58946,58947,58948,58949,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,59250,59251,59252,59253,59254,59255,59256,59257,59258,59259,59260,58950,58951,58952,58953,58954,58955,58956,58957,58958,58959,58960,58961,58962,58963,58964,58965,58966,58967,58968,58969,58970,58971,58972,58973,58974,58975,58976,58977,58978,58979,58980,58981,58982,58983,58984,58985,58986,58987,58988,58989,58990,58991,58992,58993,58994,58995,58996,58997,58998,58999,59e3,59001,59002,59003,59004,59005,59006,59007,59008,59009,59010,59011,59012,59013,59014,59015,59016,59017,59018,59019,59020,59021,59022,59023,59024,59025,59026,59027,59028,59029,59030,59031,59032,59033,59034,59035,59036,59037,59038,59039,59040,59041,59042,59043,59044,59045,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,59261,59262,59263,59264,59265,59266,59267,59268,59046,59047,59048,59049,59050,59051,59052,59053,59054,59055,59056,59057,59058,59059,59060,59061,59062,59063,59064,59065,59066,59067,59068,59069,59070,59071,59072,59073,59074,59075,59076,59077,59078,59079,59080,59081,59082,59083,59084,59085,59086,59087,59088,59089,59090,59091,59092,59093,59094,59095,59096,59097,59098,59099,59100,59101,59102,59103,59104,59105,59106,59107,59108,59109,59110,59111,59112,59113,59114,59115,59116,59117,59118,59119,59120,59121,59122,59123,59124,59125,59126,59127,59128,59129,59130,59131,59132,59133,59134,59135,59136,59137,59138,59139,59140,59141,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,59269,59270,59271,59272,59273,59274,59275,59276,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,59277,59278,59279,59280,59281,59282,59283,65077,65078,65081,65082,65087,65088,65085,65086,65089,65090,65091,65092,59284,59285,65083,65084,65079,65080,65073,59286,65075,65076,59287,59288,59289,59290,59291,59292,59293,59294,59295,59142,59143,59144,59145,59146,59147,59148,59149,59150,59151,59152,59153,59154,59155,59156,59157,59158,59159,59160,59161,59162,59163,59164,59165,59166,59167,59168,59169,59170,59171,59172,59173,59174,59175,59176,59177,59178,59179,59180,59181,59182,59183,59184,59185,59186,59187,59188,59189,59190,59191,59192,59193,59194,59195,59196,59197,59198,59199,59200,59201,59202,59203,59204,59205,59206,59207,59208,59209,59210,59211,59212,59213,59214,59215,59216,59217,59218,59219,59220,59221,59222,59223,59224,59225,59226,59227,59228,59229,59230,59231,59232,59233,59234,59235,59236,59237,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,59296,59297,59298,59299,59300,59301,59302,59303,59304,59305,59306,59307,59308,59309,59310,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,59311,59312,59313,59314,59315,59316,59317,59318,59319,59320,59321,59322,59323,714,715,729,8211,8213,8229,8245,8453,8457,8598,8599,8600,8601,8725,8735,8739,8786,8806,8807,8895,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9581,9582,9583,9584,9585,9586,9587,9601,9602,9603,9604,9605,9606,9607,9608,9609,9610,9611,9612,9613,9614,9615,9619,9620,9621,9660,9661,9698,9699,9700,9701,9737,8853,12306,12317,12318,59324,59325,59326,59327,59328,59329,59330,59331,59332,59333,59334,257,225,462,224,275,233,283,232,299,237,464,236,333,243,466,242,363,250,468,249,470,472,474,476,252,234,593,7743,324,328,505,609,59337,59338,59339,59340,12549,12550,12551,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,59341,59342,59343,59344,59345,59346,59347,59348,59349,59350,59351,59352,59353,59354,59355,59356,59357,59358,59359,59360,59361,12321,12322,12323,12324,12325,12326,12327,12328,12329,12963,13198,13199,13212,13213,13214,13217,13252,13262,13265,13266,13269,65072,65506,65508,59362,8481,12849,59363,8208,59364,59365,59366,12540,12443,12444,12541,12542,12294,12445,12446,65097,65098,65099,65100,65101,65102,65103,65104,65105,65106,65108,65109,65110,65111,65113,65114,65115,65116,65117,65118,65119,65120,65121,65122,65123,65124,65125,65126,65128,65129,65130,65131,12350,12272,12273,12274,12275,12276,12277,12278,12279,12280,12281,12282,12283,12295,59380,59381,59382,59383,59384,59385,59386,59387,59388,59389,59390,59391,59392,9472,9473,9474,9475,9476,9477,9478,9479,9480,9481,9482,9483,9484,9485,9486,9487,9488,9489,9490,9491,9492,9493,9494,9495,9496,9497,9498,9499,9500,9501,9502,9503,9504,9505,9506,9507,9508,9509,9510,9511,9512,9513,9514,9515,9516,9517,9518,9519,9520,9521,9522,9523,9524,9525,9526,9527,9528,9529,9530,9531,9532,9533,9534,9535,9536,9537,9538,9539,9540,9541,9542,9543,9544,9545,9546,9547,59393,59394,59395,59396,59397,59398,59399,59400,59401,59402,59403,59404,59405,59406,59407,29404,29405,29407,29410,29411,29412,29413,29414,29415,29418,29419,29429,29430,29433,29437,29438,29439,29440,29442,29444,29445,29446,29447,29448,29449,29451,29452,29453,29455,29456,29457,29458,29460,29464,29465,29466,29471,29472,29475,29476,29478,29479,29480,29485,29487,29488,29490,29491,29493,29494,29498,29499,29500,29501,29504,29505,29506,29507,29508,29509,29510,29511,29512,29513,29514,29515,29516,29518,29519,29521,29523,29524,29525,29526,29528,29529,29530,29531,29532,29533,29534,29535,29537,29538,29539,29540,29541,29542,29543,29544,29545,29546,29547,29550,29552,29553,57344,57345,57346,57347,57348,57349,57350,57351,57352,57353,57354,57355,57356,57357,57358,57359,57360,57361,57362,57363,57364,57365,57366,57367,57368,57369,57370,57371,57372,57373,57374,57375,57376,57377,57378,57379,57380,57381,57382,57383,57384,57385,57386,57387,57388,57389,57390,57391,57392,57393,57394,57395,57396,57397,57398,57399,57400,57401,57402,57403,57404,57405,57406,57407,57408,57409,57410,57411,57412,57413,57414,57415,57416,57417,57418,57419,57420,57421,57422,57423,57424,57425,57426,57427,57428,57429,57430,57431,57432,57433,57434,57435,57436,57437,29554,29555,29556,29557,29558,29559,29560,29561,29562,29563,29564,29565,29567,29568,29569,29570,29571,29573,29574,29576,29578,29580,29581,29583,29584,29586,29587,29588,29589,29591,29592,29593,29594,29596,29597,29598,29600,29601,29603,29604,29605,29606,29607,29608,29610,29612,29613,29617,29620,29621,29622,29624,29625,29628,29629,29630,29631,29633,29635,29636,29637,29638,29639,29643,29644,29646,29650,29651,29652,29653,29654,29655,29656,29658,29659,29660,29661,29663,29665,29666,29667,29668,29670,29672,29674,29675,29676,29678,29679,29680,29681,29683,29684,29685,29686,29687,57438,57439,57440,57441,57442,57443,57444,57445,57446,57447,57448,57449,57450,57451,57452,57453,57454,57455,57456,57457,57458,57459,57460,57461,57462,57463,57464,57465,57466,57467,57468,57469,57470,57471,57472,57473,57474,57475,57476,57477,57478,57479,57480,57481,57482,57483,57484,57485,57486,57487,57488,57489,57490,57491,57492,57493,57494,57495,57496,57497,57498,57499,57500,57501,57502,57503,57504,57505,57506,57507,57508,57509,57510,57511,57512,57513,57514,57515,57516,57517,57518,57519,57520,57521,57522,57523,57524,57525,57526,57527,57528,57529,57530,57531,29688,29689,29690,29691,29692,29693,29694,29695,29696,29697,29698,29700,29703,29704,29707,29708,29709,29710,29713,29714,29715,29716,29717,29718,29719,29720,29721,29724,29725,29726,29727,29728,29729,29731,29732,29735,29737,29739,29741,29743,29745,29746,29751,29752,29753,29754,29755,29757,29758,29759,29760,29762,29763,29764,29765,29766,29767,29768,29769,29770,29771,29772,29773,29774,29775,29776,29777,29778,29779,29780,29782,29784,29789,29792,29793,29794,29795,29796,29797,29798,29799,29800,29801,29802,29803,29804,29806,29807,29809,29810,29811,29812,29813,29816,29817,29818,57532,57533,57534,57535,57536,57537,57538,57539,57540,57541,57542,57543,57544,57545,57546,57547,57548,57549,57550,57551,57552,57553,57554,57555,57556,57557,57558,57559,57560,57561,57562,57563,57564,57565,57566,57567,57568,57569,57570,57571,57572,57573,57574,57575,57576,57577,57578,57579,57580,57581,57582,57583,57584,57585,57586,57587,57588,57589,57590,57591,57592,57593,57594,57595,57596,57597,57598,57599,57600,57601,57602,57603,57604,57605,57606,57607,57608,57609,57610,57611,57612,57613,57614,57615,57616,57617,57618,57619,57620,57621,57622,57623,57624,57625,29819,29820,29821,29823,29826,29828,29829,29830,29832,29833,29834,29836,29837,29839,29841,29842,29843,29844,29845,29846,29847,29848,29849,29850,29851,29853,29855,29856,29857,29858,29859,29860,29861,29862,29866,29867,29868,29869,29870,29871,29872,29873,29874,29875,29876,29877,29878,29879,29880,29881,29883,29884,29885,29886,29887,29888,29889,29890,29891,29892,29893,29894,29895,29896,29897,29898,29899,29900,29901,29902,29903,29904,29905,29907,29908,29909,29910,29911,29912,29913,29914,29915,29917,29919,29921,29925,29927,29928,29929,29930,29931,29932,29933,29936,29937,29938,57626,57627,57628,57629,57630,57631,57632,57633,57634,57635,57636,57637,57638,57639,57640,57641,57642,57643,57644,57645,57646,57647,57648,57649,57650,57651,57652,57653,57654,57655,57656,57657,57658,57659,57660,57661,57662,57663,57664,57665,57666,57667,57668,57669,57670,57671,57672,57673,57674,57675,57676,57677,57678,57679,57680,57681,57682,57683,57684,57685,57686,57687,57688,57689,57690,57691,57692,57693,57694,57695,57696,57697,57698,57699,57700,57701,57702,57703,57704,57705,57706,57707,57708,57709,57710,57711,57712,57713,57714,57715,57716,57717,57718,57719,29939,29941,29944,29945,29946,29947,29948,29949,29950,29952,29953,29954,29955,29957,29958,29959,29960,29961,29962,29963,29964,29966,29968,29970,29972,29973,29974,29975,29979,29981,29982,29984,29985,29986,29987,29988,29990,29991,29994,29998,30004,30006,30009,30012,30013,30015,30017,30018,30019,30020,30022,30023,30025,30026,30029,30032,30033,30034,30035,30037,30038,30039,30040,30045,30046,30047,30048,30049,30050,30051,30052,30055,30056,30057,30059,30060,30061,30062,30063,30064,30065,30067,30069,30070,30071,30074,30075,30076,30077,30078,30080,30081,30082,30084,30085,30087,57720,57721,57722,57723,57724,57725,57726,57727,57728,57729,57730,57731,57732,57733,57734,57735,57736,57737,57738,57739,57740,57741,57742,57743,57744,57745,57746,57747,57748,57749,57750,57751,57752,57753,57754,57755,57756,57757,57758,57759,57760,57761,57762,57763,57764,57765,57766,57767,57768,57769,57770,57771,57772,57773,57774,57775,57776,57777,57778,57779,57780,57781,57782,57783,57784,57785,57786,57787,57788,57789,57790,57791,57792,57793,57794,57795,57796,57797,57798,57799,57800,57801,57802,57803,57804,57805,57806,57807,57808,57809,57810,57811,57812,57813,30088,30089,30090,30092,30093,30094,30096,30099,30101,30104,30107,30108,30110,30114,30118,30119,30120,30121,30122,30125,30134,30135,30138,30139,30143,30144,30145,30150,30155,30156,30158,30159,30160,30161,30163,30167,30169,30170,30172,30173,30175,30176,30177,30181,30185,30188,30189,30190,30191,30194,30195,30197,30198,30199,30200,30202,30203,30205,30206,30210,30212,30214,30215,30216,30217,30219,30221,30222,30223,30225,30226,30227,30228,30230,30234,30236,30237,30238,30241,30243,30247,30248,30252,30254,30255,30257,30258,30262,30263,30265,30266,30267,30269,30273,30274,30276,57814,57815,57816,57817,57818,57819,57820,57821,57822,57823,57824,57825,57826,57827,57828,57829,57830,57831,57832,57833,57834,57835,57836,57837,57838,57839,57840,57841,57842,57843,57844,57845,57846,57847,57848,57849,57850,57851,57852,57853,57854,57855,57856,57857,57858,57859,57860,57861,57862,57863,57864,57865,57866,57867,57868,57869,57870,57871,57872,57873,57874,57875,57876,57877,57878,57879,57880,57881,57882,57883,57884,57885,57886,57887,57888,57889,57890,57891,57892,57893,57894,57895,57896,57897,57898,57899,57900,57901,57902,57903,57904,57905,57906,57907,30277,30278,30279,30280,30281,30282,30283,30286,30287,30288,30289,30290,30291,30293,30295,30296,30297,30298,30299,30301,30303,30304,30305,30306,30308,30309,30310,30311,30312,30313,30314,30316,30317,30318,30320,30321,30322,30323,30324,30325,30326,30327,30329,30330,30332,30335,30336,30337,30339,30341,30345,30346,30348,30349,30351,30352,30354,30356,30357,30359,30360,30362,30363,30364,30365,30366,30367,30368,30369,30370,30371,30373,30374,30375,30376,30377,30378,30379,30380,30381,30383,30384,30387,30389,30390,30391,30392,30393,30394,30395,30396,30397,30398,30400,30401,30403,21834,38463,22467,25384,21710,21769,21696,30353,30284,34108,30702,33406,30861,29233,38552,38797,27688,23433,20474,25353,26263,23736,33018,26696,32942,26114,30414,20985,25942,29100,32753,34948,20658,22885,25034,28595,33453,25420,25170,21485,21543,31494,20843,30116,24052,25300,36299,38774,25226,32793,22365,38712,32610,29240,30333,26575,30334,25670,20336,36133,25308,31255,26001,29677,25644,25203,33324,39041,26495,29256,25198,25292,20276,29923,21322,21150,32458,37030,24110,26758,27036,33152,32465,26834,30917,34444,38225,20621,35876,33502,32990,21253,35090,21093,30404,30407,30409,30411,30412,30419,30421,30425,30426,30428,30429,30430,30432,30433,30434,30435,30436,30438,30439,30440,30441,30442,30443,30444,30445,30448,30451,30453,30454,30455,30458,30459,30461,30463,30464,30466,30467,30469,30470,30474,30476,30478,30479,30480,30481,30482,30483,30484,30485,30486,30487,30488,30491,30492,30493,30494,30497,30499,30500,30501,30503,30506,30507,30508,30510,30512,30513,30514,30515,30516,30521,30523,30525,30526,30527,30530,30532,30533,30534,30536,30537,30538,30539,30540,30541,30542,30543,30546,30547,30548,30549,30550,30551,30552,30553,30556,34180,38649,20445,22561,39281,23453,25265,25253,26292,35961,40077,29190,26479,30865,24754,21329,21271,36744,32972,36125,38049,20493,29384,22791,24811,28953,34987,22868,33519,26412,31528,23849,32503,29997,27893,36454,36856,36924,40763,27604,37145,31508,24444,30887,34006,34109,27605,27609,27606,24065,24199,30201,38381,25949,24330,24517,36767,22721,33218,36991,38491,38829,36793,32534,36140,25153,20415,21464,21342,36776,36777,36779,36941,26631,24426,33176,34920,40150,24971,21035,30250,24428,25996,28626,28392,23486,25672,20853,20912,26564,19993,31177,39292,28851,30557,30558,30559,30560,30564,30567,30569,30570,30573,30574,30575,30576,30577,30578,30579,30580,30581,30582,30583,30584,30586,30587,30588,30593,30594,30595,30598,30599,30600,30601,30602,30603,30607,30608,30611,30612,30613,30614,30615,30616,30617,30618,30619,30620,30621,30622,30625,30627,30628,30630,30632,30635,30637,30638,30639,30641,30642,30644,30646,30647,30648,30649,30650,30652,30654,30656,30657,30658,30659,30660,30661,30662,30663,30664,30665,30666,30667,30668,30670,30671,30672,30673,30674,30675,30676,30677,30678,30680,30681,30682,30685,30686,30687,30688,30689,30692,30149,24182,29627,33760,25773,25320,38069,27874,21338,21187,25615,38082,31636,20271,24091,33334,33046,33162,28196,27850,39539,25429,21340,21754,34917,22496,19981,24067,27493,31807,37096,24598,25830,29468,35009,26448,25165,36130,30572,36393,37319,24425,33756,34081,39184,21442,34453,27531,24813,24808,28799,33485,33329,20179,27815,34255,25805,31961,27133,26361,33609,21397,31574,20391,20876,27979,23618,36461,25554,21449,33580,33590,26597,30900,25661,23519,23700,24046,35815,25286,26612,35962,25600,25530,34633,39307,35863,32544,38130,20135,38416,39076,26124,29462,30694,30696,30698,30703,30704,30705,30706,30708,30709,30711,30713,30714,30715,30716,30723,30724,30725,30726,30727,30728,30730,30731,30734,30735,30736,30739,30741,30745,30747,30750,30752,30753,30754,30756,30760,30762,30763,30766,30767,30769,30770,30771,30773,30774,30781,30783,30785,30786,30787,30788,30790,30792,30793,30794,30795,30797,30799,30801,30803,30804,30808,30809,30810,30811,30812,30814,30815,30816,30817,30818,30819,30820,30821,30822,30823,30824,30825,30831,30832,30833,30834,30835,30836,30837,30838,30840,30841,30842,30843,30845,30846,30847,30848,30849,30850,30851,22330,23581,24120,38271,20607,32928,21378,25950,30021,21809,20513,36229,25220,38046,26397,22066,28526,24034,21557,28818,36710,25199,25764,25507,24443,28552,37108,33251,36784,23576,26216,24561,27785,38472,36225,34924,25745,31216,22478,27225,25104,21576,20056,31243,24809,28548,35802,25215,36894,39563,31204,21507,30196,25345,21273,27744,36831,24347,39536,32827,40831,20360,23610,36196,32709,26021,28861,20805,20914,34411,23815,23456,25277,37228,30068,36364,31264,24833,31609,20167,32504,30597,19985,33261,21021,20986,27249,21416,36487,38148,38607,28353,38500,26970,30852,30853,30854,30856,30858,30859,30863,30864,30866,30868,30869,30870,30873,30877,30878,30880,30882,30884,30886,30888,30889,30890,30891,30892,30893,30894,30895,30901,30902,30903,30904,30906,30907,30908,30909,30911,30912,30914,30915,30916,30918,30919,30920,30924,30925,30926,30927,30929,30930,30931,30934,30935,30936,30938,30939,30940,30941,30942,30943,30944,30945,30946,30947,30948,30949,30950,30951,30953,30954,30955,30957,30958,30959,30960,30961,30963,30965,30966,30968,30969,30971,30972,30973,30974,30975,30976,30978,30979,30980,30982,30983,30984,30985,30986,30987,30988,30784,20648,30679,25616,35302,22788,25571,24029,31359,26941,20256,33337,21912,20018,30126,31383,24162,24202,38383,21019,21561,28810,25462,38180,22402,26149,26943,37255,21767,28147,32431,34850,25139,32496,30133,33576,30913,38604,36766,24904,29943,35789,27492,21050,36176,27425,32874,33905,22257,21254,20174,19995,20945,31895,37259,31751,20419,36479,31713,31388,25703,23828,20652,33030,30209,31929,28140,32736,26449,23384,23544,30923,25774,25619,25514,25387,38169,25645,36798,31572,30249,25171,22823,21574,27513,20643,25140,24102,27526,20195,36151,34955,24453,36910,30989,30990,30991,30992,30993,30994,30996,30997,30998,30999,31e3,31001,31002,31003,31004,31005,31007,31008,31009,31010,31011,31013,31014,31015,31016,31017,31018,31019,31020,31021,31022,31023,31024,31025,31026,31027,31029,31030,31031,31032,31033,31037,31039,31042,31043,31044,31045,31047,31050,31051,31052,31053,31054,31055,31056,31057,31058,31060,31061,31064,31065,31073,31075,31076,31078,31081,31082,31083,31084,31086,31088,31089,31090,31091,31092,31093,31094,31097,31099,31100,31101,31102,31103,31106,31107,31110,31111,31112,31113,31115,31116,31117,31118,31120,31121,31122,24608,32829,25285,20025,21333,37112,25528,32966,26086,27694,20294,24814,28129,35806,24377,34507,24403,25377,20826,33633,26723,20992,25443,36424,20498,23707,31095,23548,21040,31291,24764,36947,30423,24503,24471,30340,36460,28783,30331,31561,30634,20979,37011,22564,20302,28404,36842,25932,31515,29380,28068,32735,23265,25269,24213,22320,33922,31532,24093,24351,36882,32532,39072,25474,28359,30872,28857,20856,38747,22443,30005,20291,30008,24215,24806,22880,28096,27583,30857,21500,38613,20939,20993,25481,21514,38035,35843,36300,29241,30879,34678,36845,35853,21472,31123,31124,31125,31126,31127,31128,31129,31131,31132,31133,31134,31135,31136,31137,31138,31139,31140,31141,31142,31144,31145,31146,31147,31148,31149,31150,31151,31152,31153,31154,31156,31157,31158,31159,31160,31164,31167,31170,31172,31173,31175,31176,31178,31180,31182,31183,31184,31187,31188,31190,31191,31193,31194,31195,31196,31197,31198,31200,31201,31202,31205,31208,31210,31212,31214,31217,31218,31219,31220,31221,31222,31223,31225,31226,31228,31230,31231,31233,31236,31237,31239,31240,31241,31242,31244,31247,31248,31249,31250,31251,31253,31254,31256,31257,31259,31260,19969,30447,21486,38025,39030,40718,38189,23450,35746,20002,19996,20908,33891,25026,21160,26635,20375,24683,20923,27934,20828,25238,26007,38497,35910,36887,30168,37117,30563,27602,29322,29420,35835,22581,30585,36172,26460,38208,32922,24230,28193,22930,31471,30701,38203,27573,26029,32526,22534,20817,38431,23545,22697,21544,36466,25958,39039,22244,38045,30462,36929,25479,21702,22810,22842,22427,36530,26421,36346,33333,21057,24816,22549,34558,23784,40517,20420,39069,35769,23077,24694,21380,25212,36943,37122,39295,24681,32780,20799,32819,23572,39285,27953,20108,31261,31263,31265,31266,31268,31269,31270,31271,31272,31273,31274,31275,31276,31277,31278,31279,31280,31281,31282,31284,31285,31286,31288,31290,31294,31296,31297,31298,31299,31300,31301,31303,31304,31305,31306,31307,31308,31309,31310,31311,31312,31314,31315,31316,31317,31318,31320,31321,31322,31323,31324,31325,31326,31327,31328,31329,31330,31331,31332,31333,31334,31335,31336,31337,31338,31339,31340,31341,31342,31343,31345,31346,31347,31349,31355,31356,31357,31358,31362,31365,31367,31369,31370,31371,31372,31374,31375,31376,31379,31380,31385,31386,31387,31390,31393,31394,36144,21457,32602,31567,20240,20047,38400,27861,29648,34281,24070,30058,32763,27146,30718,38034,32321,20961,28902,21453,36820,33539,36137,29359,39277,27867,22346,33459,26041,32938,25151,38450,22952,20223,35775,32442,25918,33778,38750,21857,39134,32933,21290,35837,21536,32954,24223,27832,36153,33452,37210,21545,27675,20998,32439,22367,28954,27774,31881,22859,20221,24575,24868,31914,20016,23553,26539,34562,23792,38155,39118,30127,28925,36898,20911,32541,35773,22857,20964,20315,21542,22827,25975,32932,23413,25206,25282,36752,24133,27679,31526,20239,20440,26381,31395,31396,31399,31401,31402,31403,31406,31407,31408,31409,31410,31412,31413,31414,31415,31416,31417,31418,31419,31420,31421,31422,31424,31425,31426,31427,31428,31429,31430,31431,31432,31433,31434,31436,31437,31438,31439,31440,31441,31442,31443,31444,31445,31447,31448,31450,31451,31452,31453,31457,31458,31460,31463,31464,31465,31466,31467,31468,31470,31472,31473,31474,31475,31476,31477,31478,31479,31480,31483,31484,31486,31488,31489,31490,31493,31495,31497,31500,31501,31502,31504,31506,31507,31510,31511,31512,31514,31516,31517,31519,31521,31522,31523,31527,31529,31533,28014,28074,31119,34993,24343,29995,25242,36741,20463,37340,26023,33071,33105,24220,33104,36212,21103,35206,36171,22797,20613,20184,38428,29238,33145,36127,23500,35747,38468,22919,32538,21648,22134,22030,35813,25913,27010,38041,30422,28297,24178,29976,26438,26577,31487,32925,36214,24863,31174,25954,36195,20872,21018,38050,32568,32923,32434,23703,28207,26464,31705,30347,39640,33167,32660,31957,25630,38224,31295,21578,21733,27468,25601,25096,40509,33011,30105,21106,38761,33883,26684,34532,38401,38548,38124,20010,21508,32473,26681,36319,32789,26356,24218,32697,31535,31536,31538,31540,31541,31542,31543,31545,31547,31549,31551,31552,31553,31554,31555,31556,31558,31560,31562,31565,31566,31571,31573,31575,31577,31580,31582,31583,31585,31587,31588,31589,31590,31591,31592,31593,31594,31595,31596,31597,31599,31600,31603,31604,31606,31608,31610,31612,31613,31615,31617,31618,31619,31620,31622,31623,31624,31625,31626,31627,31628,31630,31631,31633,31634,31635,31638,31640,31641,31642,31643,31646,31647,31648,31651,31652,31653,31662,31663,31664,31666,31667,31669,31670,31671,31673,31674,31675,31676,31677,31678,31679,31680,31682,31683,31684,22466,32831,26775,24037,25915,21151,24685,40858,20379,36524,20844,23467,24339,24041,27742,25329,36129,20849,38057,21246,27807,33503,29399,22434,26500,36141,22815,36764,33735,21653,31629,20272,27837,23396,22993,40723,21476,34506,39592,35895,32929,25925,39038,22266,38599,21038,29916,21072,23521,25346,35074,20054,25296,24618,26874,20851,23448,20896,35266,31649,39302,32592,24815,28748,36143,20809,24191,36891,29808,35268,22317,30789,24402,40863,38394,36712,39740,35809,30328,26690,26588,36330,36149,21053,36746,28378,26829,38149,37101,22269,26524,35065,36807,21704,31685,31688,31689,31690,31691,31693,31694,31695,31696,31698,31700,31701,31702,31703,31704,31707,31708,31710,31711,31712,31714,31715,31716,31719,31720,31721,31723,31724,31725,31727,31728,31730,31731,31732,31733,31734,31736,31737,31738,31739,31741,31743,31744,31745,31746,31747,31748,31749,31750,31752,31753,31754,31757,31758,31760,31761,31762,31763,31764,31765,31767,31768,31769,31770,31771,31772,31773,31774,31776,31777,31778,31779,31780,31781,31784,31785,31787,31788,31789,31790,31791,31792,31793,31794,31795,31796,31797,31798,31799,31801,31802,31803,31804,31805,31806,31810,39608,23401,28023,27686,20133,23475,39559,37219,25e3,37039,38889,21547,28085,23506,20989,21898,32597,32752,25788,25421,26097,25022,24717,28938,27735,27721,22831,26477,33322,22741,22158,35946,27627,37085,22909,32791,21495,28009,21621,21917,33655,33743,26680,31166,21644,20309,21512,30418,35977,38402,27827,28088,36203,35088,40548,36154,22079,40657,30165,24456,29408,24680,21756,20136,27178,34913,24658,36720,21700,28888,34425,40511,27946,23439,24344,32418,21897,20399,29492,21564,21402,20505,21518,21628,20046,24573,29786,22774,33899,32993,34676,29392,31946,28246,31811,31812,31813,31814,31815,31816,31817,31818,31819,31820,31822,31823,31824,31825,31826,31827,31828,31829,31830,31831,31832,31833,31834,31835,31836,31837,31838,31839,31840,31841,31842,31843,31844,31845,31846,31847,31848,31849,31850,31851,31852,31853,31854,31855,31856,31857,31858,31861,31862,31863,31864,31865,31866,31870,31871,31872,31873,31874,31875,31876,31877,31878,31879,31880,31882,31883,31884,31885,31886,31887,31888,31891,31892,31894,31897,31898,31899,31904,31905,31907,31910,31911,31912,31913,31915,31916,31917,31919,31920,31924,31925,31926,31927,31928,31930,31931,24359,34382,21804,25252,20114,27818,25143,33457,21719,21326,29502,28369,30011,21010,21270,35805,27088,24458,24576,28142,22351,27426,29615,26707,36824,32531,25442,24739,21796,30186,35938,28949,28067,23462,24187,33618,24908,40644,30970,34647,31783,30343,20976,24822,29004,26179,24140,24653,35854,28784,25381,36745,24509,24674,34516,22238,27585,24724,24935,21321,24800,26214,36159,31229,20250,28905,27719,35763,35826,32472,33636,26127,23130,39746,27985,28151,35905,27963,20249,28779,33719,25110,24785,38669,36135,31096,20987,22334,22522,26426,30072,31293,31215,31637,31935,31936,31938,31939,31940,31942,31945,31947,31950,31951,31952,31953,31954,31955,31956,31960,31962,31963,31965,31966,31969,31970,31971,31972,31973,31974,31975,31977,31978,31979,31980,31981,31982,31984,31985,31986,31987,31988,31989,31990,31991,31993,31994,31996,31997,31998,31999,32e3,32001,32002,32003,32004,32005,32006,32007,32008,32009,32011,32012,32013,32014,32015,32016,32017,32018,32019,32020,32021,32022,32023,32024,32025,32026,32027,32028,32029,32030,32031,32033,32035,32036,32037,32038,32040,32041,32042,32044,32045,32046,32048,32049,32050,32051,32052,32053,32054,32908,39269,36857,28608,35749,40481,23020,32489,32521,21513,26497,26840,36753,31821,38598,21450,24613,30142,27762,21363,23241,32423,25380,20960,33034,24049,34015,25216,20864,23395,20238,31085,21058,24760,27982,23492,23490,35745,35760,26082,24524,38469,22931,32487,32426,22025,26551,22841,20339,23478,21152,33626,39050,36158,30002,38078,20551,31292,20215,26550,39550,23233,27516,30417,22362,23574,31546,38388,29006,20860,32937,33392,22904,32516,33575,26816,26604,30897,30839,25315,25441,31616,20461,21098,20943,33616,27099,37492,36341,36145,35265,38190,31661,20214,32055,32056,32057,32058,32059,32060,32061,32062,32063,32064,32065,32066,32067,32068,32069,32070,32071,32072,32073,32074,32075,32076,32077,32078,32079,32080,32081,32082,32083,32084,32085,32086,32087,32088,32089,32090,32091,32092,32093,32094,32095,32096,32097,32098,32099,32100,32101,32102,32103,32104,32105,32106,32107,32108,32109,32111,32112,32113,32114,32115,32116,32117,32118,32120,32121,32122,32123,32124,32125,32126,32127,32128,32129,32130,32131,32132,32133,32134,32135,32136,32137,32138,32139,32140,32141,32142,32143,32144,32145,32146,32147,32148,32149,32150,32151,32152,20581,33328,21073,39279,28176,28293,28071,24314,20725,23004,23558,27974,27743,30086,33931,26728,22870,35762,21280,37233,38477,34121,26898,30977,28966,33014,20132,37066,27975,39556,23047,22204,25605,38128,30699,20389,33050,29409,35282,39290,32564,32478,21119,25945,37237,36735,36739,21483,31382,25581,25509,30342,31224,34903,38454,25130,21163,33410,26708,26480,25463,30571,31469,27905,32467,35299,22992,25106,34249,33445,30028,20511,20171,30117,35819,23626,24062,31563,26020,37329,20170,27941,35167,32039,38182,20165,35880,36827,38771,26187,31105,36817,28908,28024,32153,32154,32155,32156,32157,32158,32159,32160,32161,32162,32163,32164,32165,32167,32168,32169,32170,32171,32172,32173,32175,32176,32177,32178,32179,32180,32181,32182,32183,32184,32185,32186,32187,32188,32189,32190,32191,32192,32193,32194,32195,32196,32197,32198,32199,32200,32201,32202,32203,32204,32205,32206,32207,32208,32209,32210,32211,32212,32213,32214,32215,32216,32217,32218,32219,32220,32221,32222,32223,32224,32225,32226,32227,32228,32229,32230,32231,32232,32233,32234,32235,32236,32237,32238,32239,32240,32241,32242,32243,32244,32245,32246,32247,32248,32249,32250,23613,21170,33606,20834,33550,30555,26230,40120,20140,24778,31934,31923,32463,20117,35686,26223,39048,38745,22659,25964,38236,24452,30153,38742,31455,31454,20928,28847,31384,25578,31350,32416,29590,38893,20037,28792,20061,37202,21417,25937,26087,33276,33285,21646,23601,30106,38816,25304,29401,30141,23621,39545,33738,23616,21632,30697,20030,27822,32858,25298,25454,24040,20855,36317,36382,38191,20465,21477,24807,28844,21095,25424,40515,23071,20518,30519,21367,32482,25733,25899,25225,25496,20500,29237,35273,20915,35776,32477,22343,33740,38055,20891,21531,23803,32251,32252,32253,32254,32255,32256,32257,32258,32259,32260,32261,32262,32263,32264,32265,32266,32267,32268,32269,32270,32271,32272,32273,32274,32275,32276,32277,32278,32279,32280,32281,32282,32283,32284,32285,32286,32287,32288,32289,32290,32291,32292,32293,32294,32295,32296,32297,32298,32299,32300,32301,32302,32303,32304,32305,32306,32307,32308,32309,32310,32311,32312,32313,32314,32316,32317,32318,32319,32320,32322,32323,32324,32325,32326,32328,32329,32330,32331,32332,32333,32334,32335,32336,32337,32338,32339,32340,32341,32342,32343,32344,32345,32346,32347,32348,32349,20426,31459,27994,37089,39567,21888,21654,21345,21679,24320,25577,26999,20975,24936,21002,22570,21208,22350,30733,30475,24247,24951,31968,25179,25239,20130,28821,32771,25335,28900,38752,22391,33499,26607,26869,30933,39063,31185,22771,21683,21487,28212,20811,21051,23458,35838,32943,21827,22438,24691,22353,21549,31354,24656,23380,25511,25248,21475,25187,23495,26543,21741,31391,33510,37239,24211,35044,22840,22446,25358,36328,33007,22359,31607,20393,24555,23485,27454,21281,31568,29378,26694,30719,30518,26103,20917,20111,30420,23743,31397,33909,22862,39745,20608,32350,32351,32352,32353,32354,32355,32356,32357,32358,32359,32360,32361,32362,32363,32364,32365,32366,32367,32368,32369,32370,32371,32372,32373,32374,32375,32376,32377,32378,32379,32380,32381,32382,32383,32384,32385,32387,32388,32389,32390,32391,32392,32393,32394,32395,32396,32397,32398,32399,32400,32401,32402,32403,32404,32405,32406,32407,32408,32409,32410,32412,32413,32414,32430,32436,32443,32444,32470,32484,32492,32505,32522,32528,32542,32567,32569,32571,32572,32573,32574,32575,32576,32577,32579,32582,32583,32584,32585,32586,32587,32588,32589,32590,32591,32594,32595,39304,24871,28291,22372,26118,25414,22256,25324,25193,24275,38420,22403,25289,21895,34593,33098,36771,21862,33713,26469,36182,34013,23146,26639,25318,31726,38417,20848,28572,35888,25597,35272,25042,32518,28866,28389,29701,27028,29436,24266,37070,26391,28010,25438,21171,29282,32769,20332,23013,37226,28889,28061,21202,20048,38647,38253,34174,30922,32047,20769,22418,25794,32907,31867,27882,26865,26974,20919,21400,26792,29313,40654,31729,29432,31163,28435,29702,26446,37324,40100,31036,33673,33620,21519,26647,20029,21385,21169,30782,21382,21033,20616,20363,20432,32598,32601,32603,32604,32605,32606,32608,32611,32612,32613,32614,32615,32619,32620,32621,32623,32624,32627,32629,32630,32631,32632,32634,32635,32636,32637,32639,32640,32642,32643,32644,32645,32646,32647,32648,32649,32651,32653,32655,32656,32657,32658,32659,32661,32662,32663,32664,32665,32667,32668,32672,32674,32675,32677,32678,32680,32681,32682,32683,32684,32685,32686,32689,32691,32692,32693,32694,32695,32698,32699,32702,32704,32706,32707,32708,32710,32711,32712,32713,32715,32717,32719,32720,32721,32722,32723,32726,32727,32729,32730,32731,32732,32733,32734,32738,32739,30178,31435,31890,27813,38582,21147,29827,21737,20457,32852,33714,36830,38256,24265,24604,28063,24088,25947,33080,38142,24651,28860,32451,31918,20937,26753,31921,33391,20004,36742,37327,26238,20142,35845,25769,32842,20698,30103,29134,23525,36797,28518,20102,25730,38243,24278,26009,21015,35010,28872,21155,29454,29747,26519,30967,38678,20020,37051,40158,28107,20955,36161,21533,25294,29618,33777,38646,40836,38083,20278,32666,20940,28789,38517,23725,39046,21478,20196,28316,29705,27060,30827,39311,30041,21016,30244,27969,26611,20845,40857,32843,21657,31548,31423,32740,32743,32744,32746,32747,32748,32749,32751,32754,32756,32757,32758,32759,32760,32761,32762,32765,32766,32767,32770,32775,32776,32777,32778,32782,32783,32785,32787,32794,32795,32797,32798,32799,32801,32803,32804,32811,32812,32813,32814,32815,32816,32818,32820,32825,32826,32828,32830,32832,32833,32836,32837,32839,32840,32841,32846,32847,32848,32849,32851,32853,32854,32855,32857,32859,32860,32861,32862,32863,32864,32865,32866,32867,32868,32869,32870,32871,32872,32875,32876,32877,32878,32879,32880,32882,32883,32884,32885,32886,32887,32888,32889,32890,32891,32892,32893,38534,22404,25314,38471,27004,23044,25602,31699,28431,38475,33446,21346,39045,24208,28809,25523,21348,34383,40065,40595,30860,38706,36335,36162,40575,28510,31108,24405,38470,25134,39540,21525,38109,20387,26053,23653,23649,32533,34385,27695,24459,29575,28388,32511,23782,25371,23402,28390,21365,20081,25504,30053,25249,36718,20262,20177,27814,32438,35770,33821,34746,32599,36923,38179,31657,39585,35064,33853,27931,39558,32476,22920,40635,29595,30721,34434,39532,39554,22043,21527,22475,20080,40614,21334,36808,33033,30610,39314,34542,28385,34067,26364,24930,28459,32894,32897,32898,32901,32904,32906,32909,32910,32911,32912,32913,32914,32916,32917,32919,32921,32926,32931,32934,32935,32936,32940,32944,32947,32949,32950,32952,32953,32955,32965,32967,32968,32969,32970,32971,32975,32976,32977,32978,32979,32980,32981,32984,32991,32992,32994,32995,32998,33006,33013,33015,33017,33019,33022,33023,33024,33025,33027,33028,33029,33031,33032,33035,33036,33045,33047,33049,33051,33052,33053,33055,33056,33057,33058,33059,33060,33061,33062,33063,33064,33065,33066,33067,33069,33070,33072,33075,33076,33077,33079,33081,33082,33083,33084,33085,33087,35881,33426,33579,30450,27667,24537,33725,29483,33541,38170,27611,30683,38086,21359,33538,20882,24125,35980,36152,20040,29611,26522,26757,37238,38665,29028,27809,30473,23186,38209,27599,32654,26151,23504,22969,23194,38376,38391,20204,33804,33945,27308,30431,38192,29467,26790,23391,30511,37274,38753,31964,36855,35868,24357,31859,31192,35269,27852,34588,23494,24130,26825,30496,32501,20885,20813,21193,23081,32517,38754,33495,25551,30596,34256,31186,28218,24217,22937,34065,28781,27665,25279,30399,25935,24751,38397,26126,34719,40483,38125,21517,21629,35884,25720,33088,33089,33090,33091,33092,33093,33095,33097,33101,33102,33103,33106,33110,33111,33112,33115,33116,33117,33118,33119,33121,33122,33123,33124,33126,33128,33130,33131,33132,33135,33138,33139,33141,33142,33143,33144,33153,33155,33156,33157,33158,33159,33161,33163,33164,33165,33166,33168,33170,33171,33172,33173,33174,33175,33177,33178,33182,33183,33184,33185,33186,33188,33189,33191,33193,33195,33196,33197,33198,33199,33200,33201,33202,33204,33205,33206,33207,33208,33209,33212,33213,33214,33215,33220,33221,33223,33224,33225,33227,33229,33230,33231,33232,33233,33234,33235,25721,34321,27169,33180,30952,25705,39764,25273,26411,33707,22696,40664,27819,28448,23518,38476,35851,29279,26576,25287,29281,20137,22982,27597,22675,26286,24149,21215,24917,26408,30446,30566,29287,31302,25343,21738,21584,38048,37027,23068,32435,27670,20035,22902,32784,22856,21335,30007,38590,22218,25376,33041,24700,38393,28118,21602,39297,20869,23273,33021,22958,38675,20522,27877,23612,25311,20320,21311,33147,36870,28346,34091,25288,24180,30910,25781,25467,24565,23064,37247,40479,23615,25423,32834,23421,21870,38218,38221,28037,24744,26592,29406,20957,23425,33236,33237,33238,33239,33240,33241,33242,33243,33244,33245,33246,33247,33248,33249,33250,33252,33253,33254,33256,33257,33259,33262,33263,33264,33265,33266,33269,33270,33271,33272,33273,33274,33277,33279,33283,33287,33288,33289,33290,33291,33294,33295,33297,33299,33301,33302,33303,33304,33305,33306,33309,33312,33316,33317,33318,33319,33321,33326,33330,33338,33340,33341,33343,33344,33345,33346,33347,33349,33350,33352,33354,33356,33357,33358,33360,33361,33362,33363,33364,33365,33366,33367,33369,33371,33372,33373,33374,33376,33377,33378,33379,33380,33381,33382,33383,33385,25319,27870,29275,25197,38062,32445,33043,27987,20892,24324,22900,21162,24594,22899,26262,34384,30111,25386,25062,31983,35834,21734,27431,40485,27572,34261,21589,20598,27812,21866,36276,29228,24085,24597,29750,25293,25490,29260,24472,28227,27966,25856,28504,30424,30928,30460,30036,21028,21467,20051,24222,26049,32810,32982,25243,21638,21032,28846,34957,36305,27873,21624,32986,22521,35060,36180,38506,37197,20329,27803,21943,30406,30768,25256,28921,28558,24429,34028,26842,30844,31735,33192,26379,40527,25447,30896,22383,30738,38713,25209,25259,21128,29749,27607,33386,33387,33388,33389,33393,33397,33398,33399,33400,33403,33404,33408,33409,33411,33413,33414,33415,33417,33420,33424,33427,33428,33429,33430,33434,33435,33438,33440,33442,33443,33447,33458,33461,33462,33466,33467,33468,33471,33472,33474,33475,33477,33478,33481,33488,33494,33497,33498,33501,33506,33511,33512,33513,33514,33516,33517,33518,33520,33522,33523,33525,33526,33528,33530,33532,33533,33534,33535,33536,33546,33547,33549,33552,33554,33555,33558,33560,33561,33565,33566,33567,33568,33569,33570,33571,33572,33573,33574,33577,33578,33582,33584,33586,33591,33595,33597,21860,33086,30130,30382,21305,30174,20731,23617,35692,31687,20559,29255,39575,39128,28418,29922,31080,25735,30629,25340,39057,36139,21697,32856,20050,22378,33529,33805,24179,20973,29942,35780,23631,22369,27900,39047,23110,30772,39748,36843,31893,21078,25169,38138,20166,33670,33889,33769,33970,22484,26420,22275,26222,28006,35889,26333,28689,26399,27450,26646,25114,22971,19971,20932,28422,26578,27791,20854,26827,22855,27495,30054,23822,33040,40784,26071,31048,31041,39569,36215,23682,20062,20225,21551,22865,30732,22120,27668,36804,24323,27773,27875,35755,25488,33598,33599,33601,33602,33604,33605,33608,33610,33611,33612,33613,33614,33619,33621,33622,33623,33624,33625,33629,33634,33648,33649,33650,33651,33652,33653,33654,33657,33658,33662,33663,33664,33665,33666,33667,33668,33671,33672,33674,33675,33676,33677,33679,33680,33681,33684,33685,33686,33687,33689,33690,33693,33695,33697,33698,33699,33700,33701,33702,33703,33708,33709,33710,33711,33717,33723,33726,33727,33730,33731,33732,33734,33736,33737,33739,33741,33742,33744,33745,33746,33747,33749,33751,33753,33754,33755,33758,33762,33763,33764,33766,33767,33768,33771,33772,33773,24688,27965,29301,25190,38030,38085,21315,36801,31614,20191,35878,20094,40660,38065,38067,21069,28508,36963,27973,35892,22545,23884,27424,27465,26538,21595,33108,32652,22681,34103,24378,25250,27207,38201,25970,24708,26725,30631,20052,20392,24039,38808,25772,32728,23789,20431,31373,20999,33540,19988,24623,31363,38054,20405,20146,31206,29748,21220,33465,25810,31165,23517,27777,38738,36731,27682,20542,21375,28165,25806,26228,27696,24773,39031,35831,24198,29756,31351,31179,19992,37041,29699,27714,22234,37195,27845,36235,21306,34502,26354,36527,23624,39537,28192,33774,33775,33779,33780,33781,33782,33783,33786,33787,33788,33790,33791,33792,33794,33797,33799,33800,33801,33802,33808,33810,33811,33812,33813,33814,33815,33817,33818,33819,33822,33823,33824,33825,33826,33827,33833,33834,33835,33836,33837,33838,33839,33840,33842,33843,33844,33845,33846,33847,33849,33850,33851,33854,33855,33856,33857,33858,33859,33860,33861,33863,33864,33865,33866,33867,33868,33869,33870,33871,33872,33874,33875,33876,33877,33878,33880,33885,33886,33887,33888,33890,33892,33893,33894,33895,33896,33898,33902,33903,33904,33906,33908,33911,33913,33915,33916,21462,23094,40843,36259,21435,22280,39079,26435,37275,27849,20840,30154,25331,29356,21048,21149,32570,28820,30264,21364,40522,27063,30830,38592,35033,32676,28982,29123,20873,26579,29924,22756,25880,22199,35753,39286,25200,32469,24825,28909,22764,20161,20154,24525,38887,20219,35748,20995,22922,32427,25172,20173,26085,25102,33592,33993,33635,34701,29076,28342,23481,32466,20887,25545,26580,32905,33593,34837,20754,23418,22914,36785,20083,27741,20837,35109,36719,38446,34122,29790,38160,38384,28070,33509,24369,25746,27922,33832,33134,40131,22622,36187,19977,21441,33917,33918,33919,33920,33921,33923,33924,33925,33926,33930,33933,33935,33936,33937,33938,33939,33940,33941,33942,33944,33946,33947,33949,33950,33951,33952,33954,33955,33956,33957,33958,33959,33960,33961,33962,33963,33964,33965,33966,33968,33969,33971,33973,33974,33975,33979,33980,33982,33984,33986,33987,33989,33990,33991,33992,33995,33996,33998,33999,34002,34004,34005,34007,34008,34009,34010,34011,34012,34014,34017,34018,34020,34023,34024,34025,34026,34027,34029,34030,34031,34033,34034,34035,34036,34037,34038,34039,34040,34041,34042,34043,34045,34046,34048,34049,34050,20254,25955,26705,21971,20007,25620,39578,25195,23234,29791,33394,28073,26862,20711,33678,30722,26432,21049,27801,32433,20667,21861,29022,31579,26194,29642,33515,26441,23665,21024,29053,34923,38378,38485,25797,36193,33203,21892,27733,25159,32558,22674,20260,21830,36175,26188,19978,23578,35059,26786,25422,31245,28903,33421,21242,38902,23569,21736,37045,32461,22882,36170,34503,33292,33293,36198,25668,23556,24913,28041,31038,35774,30775,30003,21627,20280,36523,28145,23072,32453,31070,27784,23457,23158,29978,32958,24910,28183,22768,29983,29989,29298,21319,32499,34051,34052,34053,34054,34055,34056,34057,34058,34059,34061,34062,34063,34064,34066,34068,34069,34070,34072,34073,34075,34076,34077,34078,34080,34082,34083,34084,34085,34086,34087,34088,34089,34090,34093,34094,34095,34096,34097,34098,34099,34100,34101,34102,34110,34111,34112,34113,34114,34116,34117,34118,34119,34123,34124,34125,34126,34127,34128,34129,34130,34131,34132,34133,34135,34136,34138,34139,34140,34141,34143,34144,34145,34146,34147,34149,34150,34151,34153,34154,34155,34156,34157,34158,34159,34160,34161,34163,34165,34166,34167,34168,34172,34173,34175,34176,34177,30465,30427,21097,32988,22307,24072,22833,29422,26045,28287,35799,23608,34417,21313,30707,25342,26102,20160,39135,34432,23454,35782,21490,30690,20351,23630,39542,22987,24335,31034,22763,19990,26623,20107,25325,35475,36893,21183,26159,21980,22124,36866,20181,20365,37322,39280,27663,24066,24643,23460,35270,35797,25910,25163,39318,23432,23551,25480,21806,21463,30246,20861,34092,26530,26803,27530,25234,36755,21460,33298,28113,30095,20070,36174,23408,29087,34223,26257,26329,32626,34560,40653,40736,23646,26415,36848,26641,26463,25101,31446,22661,24246,25968,28465,34178,34179,34182,34184,34185,34186,34187,34188,34189,34190,34192,34193,34194,34195,34196,34197,34198,34199,34200,34201,34202,34205,34206,34207,34208,34209,34210,34211,34213,34214,34215,34217,34219,34220,34221,34225,34226,34227,34228,34229,34230,34232,34234,34235,34236,34237,34238,34239,34240,34242,34243,34244,34245,34246,34247,34248,34250,34251,34252,34253,34254,34257,34258,34260,34262,34263,34264,34265,34266,34267,34269,34270,34271,34272,34273,34274,34275,34277,34278,34279,34280,34282,34283,34284,34285,34286,34287,34288,34289,34290,34291,34292,34293,34294,34295,34296,24661,21047,32781,25684,34928,29993,24069,26643,25332,38684,21452,29245,35841,27700,30561,31246,21550,30636,39034,33308,35828,30805,26388,28865,26031,25749,22070,24605,31169,21496,19997,27515,32902,23546,21987,22235,20282,20284,39282,24051,26494,32824,24578,39042,36865,23435,35772,35829,25628,33368,25822,22013,33487,37221,20439,32032,36895,31903,20723,22609,28335,23487,35785,32899,37240,33948,31639,34429,38539,38543,32485,39635,30862,23681,31319,36930,38567,31071,23385,25439,31499,34001,26797,21766,32553,29712,32034,38145,25152,22604,20182,23427,22905,22612,34297,34298,34300,34301,34302,34304,34305,34306,34307,34308,34310,34311,34312,34313,34314,34315,34316,34317,34318,34319,34320,34322,34323,34324,34325,34327,34328,34329,34330,34331,34332,34333,34334,34335,34336,34337,34338,34339,34340,34341,34342,34344,34346,34347,34348,34349,34350,34351,34352,34353,34354,34355,34356,34357,34358,34359,34361,34362,34363,34365,34366,34367,34368,34369,34370,34371,34372,34373,34374,34375,34376,34377,34378,34379,34380,34386,34387,34389,34390,34391,34392,34393,34395,34396,34397,34399,34400,34401,34403,34404,34405,34406,34407,34408,34409,34410,29549,25374,36427,36367,32974,33492,25260,21488,27888,37214,22826,24577,27760,22349,25674,36138,30251,28393,22363,27264,30192,28525,35885,35848,22374,27631,34962,30899,25506,21497,28845,27748,22616,25642,22530,26848,33179,21776,31958,20504,36538,28108,36255,28907,25487,28059,28372,32486,33796,26691,36867,28120,38518,35752,22871,29305,34276,33150,30140,35466,26799,21076,36386,38161,25552,39064,36420,21884,20307,26367,22159,24789,28053,21059,23625,22825,28155,22635,3e4,29980,24684,33300,33094,25361,26465,36834,30522,36339,36148,38081,24086,21381,21548,28867,34413,34415,34416,34418,34419,34420,34421,34422,34423,34424,34435,34436,34437,34438,34439,34440,34441,34446,34447,34448,34449,34450,34452,34454,34455,34456,34457,34458,34459,34462,34463,34464,34465,34466,34469,34470,34475,34477,34478,34482,34483,34487,34488,34489,34491,34492,34493,34494,34495,34497,34498,34499,34501,34504,34508,34509,34514,34515,34517,34518,34519,34522,34524,34525,34528,34529,34530,34531,34533,34534,34535,34536,34538,34539,34540,34543,34549,34550,34551,34554,34555,34556,34557,34559,34561,34564,34565,34566,34571,34572,34574,34575,34576,34577,34580,34582,27712,24311,20572,20141,24237,25402,33351,36890,26704,37230,30643,21516,38108,24420,31461,26742,25413,31570,32479,30171,20599,25237,22836,36879,20984,31171,31361,22270,24466,36884,28034,23648,22303,21520,20820,28237,22242,25512,39059,33151,34581,35114,36864,21534,23663,33216,25302,25176,33073,40501,38464,39534,39548,26925,22949,25299,21822,25366,21703,34521,27964,23043,29926,34972,27498,22806,35916,24367,28286,29609,39037,20024,28919,23436,30871,25405,26202,30358,24779,23451,23113,19975,33109,27754,29579,20129,26505,32593,24448,26106,26395,24536,22916,23041,34585,34587,34589,34591,34592,34596,34598,34599,34600,34602,34603,34604,34605,34607,34608,34610,34611,34613,34614,34616,34617,34618,34620,34621,34624,34625,34626,34627,34628,34629,34630,34634,34635,34637,34639,34640,34641,34642,34644,34645,34646,34648,34650,34651,34652,34653,34654,34655,34657,34658,34662,34663,34664,34665,34666,34667,34668,34669,34671,34673,34674,34675,34677,34679,34680,34681,34682,34687,34688,34689,34692,34694,34695,34697,34698,34700,34702,34703,34704,34705,34706,34708,34709,34710,34712,34713,34714,34715,34716,34717,34718,34720,34721,34722,34723,34724,24013,24494,21361,38886,36829,26693,22260,21807,24799,20026,28493,32500,33479,33806,22996,20255,20266,23614,32428,26410,34074,21619,30031,32963,21890,39759,20301,28205,35859,23561,24944,21355,30239,28201,34442,25991,38395,32441,21563,31283,32010,38382,21985,32705,29934,25373,34583,28065,31389,25105,26017,21351,25569,27779,24043,21596,38056,20044,27745,35820,23627,26080,33436,26791,21566,21556,27595,27494,20116,25410,21320,33310,20237,20398,22366,25098,38654,26212,29289,21247,21153,24735,35823,26132,29081,26512,35199,30802,30717,26224,22075,21560,38177,29306,34725,34726,34727,34729,34730,34734,34736,34737,34738,34740,34742,34743,34744,34745,34747,34748,34750,34751,34753,34754,34755,34756,34757,34759,34760,34761,34764,34765,34766,34767,34768,34772,34773,34774,34775,34776,34777,34778,34780,34781,34782,34783,34785,34786,34787,34788,34790,34791,34792,34793,34795,34796,34797,34799,34800,34801,34802,34803,34804,34805,34806,34807,34808,34810,34811,34812,34813,34815,34816,34817,34818,34820,34821,34822,34823,34824,34825,34827,34828,34829,34830,34831,34832,34833,34834,34836,34839,34840,34841,34842,34844,34845,34846,34847,34848,34851,31232,24687,24076,24713,33181,22805,24796,29060,28911,28330,27728,29312,27268,34989,24109,20064,23219,21916,38115,27927,31995,38553,25103,32454,30606,34430,21283,38686,36758,26247,23777,20384,29421,19979,21414,22799,21523,25472,38184,20808,20185,40092,32420,21688,36132,34900,33335,38386,28046,24358,23244,26174,38505,29616,29486,21439,33146,39301,32673,23466,38519,38480,32447,30456,21410,38262,39321,31665,35140,28248,20065,32724,31077,35814,24819,21709,20139,39033,24055,27233,20687,21521,35937,33831,30813,38660,21066,21742,22179,38144,28040,23477,28102,26195,34852,34853,34854,34855,34856,34857,34858,34859,34860,34861,34862,34863,34864,34865,34867,34868,34869,34870,34871,34872,34874,34875,34877,34878,34879,34881,34882,34883,34886,34887,34888,34889,34890,34891,34894,34895,34896,34897,34898,34899,34901,34902,34904,34906,34907,34908,34909,34910,34911,34912,34918,34919,34922,34925,34927,34929,34931,34932,34933,34934,34936,34937,34938,34939,34940,34944,34947,34950,34951,34953,34954,34956,34958,34959,34960,34961,34963,34964,34965,34967,34968,34969,34970,34971,34973,34974,34975,34976,34977,34979,34981,34982,34983,34984,34985,34986,23567,23389,26657,32918,21880,31505,25928,26964,20123,27463,34638,38795,21327,25375,25658,37034,26012,32961,35856,20889,26800,21368,34809,25032,27844,27899,35874,23633,34218,33455,38156,27427,36763,26032,24571,24515,20449,34885,26143,33125,29481,24826,20852,21009,22411,24418,37026,34892,37266,24184,26447,24615,22995,20804,20982,33016,21256,27769,38596,29066,20241,20462,32670,26429,21957,38152,31168,34966,32483,22687,25100,38656,34394,22040,39035,24464,35768,33988,37207,21465,26093,24207,30044,24676,32110,23167,32490,32493,36713,21927,23459,24748,26059,29572,34988,34990,34991,34992,34994,34995,34996,34997,34998,35e3,35001,35002,35003,35005,35006,35007,35008,35011,35012,35015,35016,35018,35019,35020,35021,35023,35024,35025,35027,35030,35031,35034,35035,35036,35037,35038,35040,35041,35046,35047,35049,35050,35051,35052,35053,35054,35055,35058,35061,35062,35063,35066,35067,35069,35071,35072,35073,35075,35076,35077,35078,35079,35080,35081,35083,35084,35085,35086,35087,35089,35092,35093,35094,35095,35096,35100,35101,35102,35103,35104,35106,35107,35108,35110,35111,35112,35113,35116,35117,35118,35119,35121,35122,35123,35125,35127,36873,30307,30505,32474,38772,34203,23398,31348,38634,34880,21195,29071,24490,26092,35810,23547,39535,24033,27529,27739,35757,35759,36874,36805,21387,25276,40486,40493,21568,20011,33469,29273,34460,23830,34905,28079,38597,21713,20122,35766,28937,21693,38409,28895,28153,30416,20005,30740,34578,23721,24310,35328,39068,38414,28814,27839,22852,25513,30524,34893,28436,33395,22576,29141,21388,30746,38593,21761,24422,28976,23476,35866,39564,27523,22830,40495,31207,26472,25196,20335,30113,32650,27915,38451,27687,20208,30162,20859,26679,28478,36992,33136,22934,29814,35128,35129,35130,35131,35132,35133,35134,35135,35136,35138,35139,35141,35142,35143,35144,35145,35146,35147,35148,35149,35150,35151,35152,35153,35154,35155,35156,35157,35158,35159,35160,35161,35162,35163,35164,35165,35168,35169,35170,35171,35172,35173,35175,35176,35177,35178,35179,35180,35181,35182,35183,35184,35185,35186,35187,35188,35189,35190,35191,35192,35193,35194,35196,35197,35198,35200,35202,35204,35205,35207,35208,35209,35210,35211,35212,35213,35214,35215,35216,35217,35218,35219,35220,35221,35222,35223,35224,35225,35226,35227,35228,35229,35230,35231,35232,35233,25671,23591,36965,31377,35875,23002,21676,33280,33647,35201,32768,26928,22094,32822,29239,37326,20918,20063,39029,25494,19994,21494,26355,33099,22812,28082,19968,22777,21307,25558,38129,20381,20234,34915,39056,22839,36951,31227,20202,33008,30097,27778,23452,23016,24413,26885,34433,20506,24050,20057,30691,20197,33402,25233,26131,37009,23673,20159,24441,33222,36920,32900,30123,20134,35028,24847,27589,24518,20041,30410,28322,35811,35758,35850,35793,24322,32764,32716,32462,33589,33643,22240,27575,38899,38452,23035,21535,38134,28139,23493,39278,23609,24341,38544,35234,35235,35236,35237,35238,35239,35240,35241,35242,35243,35244,35245,35246,35247,35248,35249,35250,35251,35252,35253,35254,35255,35256,35257,35258,35259,35260,35261,35262,35263,35264,35267,35277,35283,35284,35285,35287,35288,35289,35291,35293,35295,35296,35297,35298,35300,35303,35304,35305,35306,35308,35309,35310,35312,35313,35314,35316,35317,35318,35319,35320,35321,35322,35323,35324,35325,35326,35327,35329,35330,35331,35332,35333,35334,35336,35337,35338,35339,35340,35341,35342,35343,35344,35345,35346,35347,35348,35349,35350,35351,35352,35353,35354,35355,35356,35357,21360,33521,27185,23156,40560,24212,32552,33721,33828,33829,33639,34631,36814,36194,30408,24433,39062,30828,26144,21727,25317,20323,33219,30152,24248,38605,36362,34553,21647,27891,28044,27704,24703,21191,29992,24189,20248,24736,24551,23588,30001,37038,38080,29369,27833,28216,37193,26377,21451,21491,20305,37321,35825,21448,24188,36802,28132,20110,30402,27014,34398,24858,33286,20313,20446,36926,40060,24841,28189,28180,38533,20104,23089,38632,19982,23679,31161,23431,35821,32701,29577,22495,33419,37057,21505,36935,21947,23786,24481,24840,27442,29425,32946,35465,35358,35359,35360,35361,35362,35363,35364,35365,35366,35367,35368,35369,35370,35371,35372,35373,35374,35375,35376,35377,35378,35379,35380,35381,35382,35383,35384,35385,35386,35387,35388,35389,35391,35392,35393,35394,35395,35396,35397,35398,35399,35401,35402,35403,35404,35405,35406,35407,35408,35409,35410,35411,35412,35413,35414,35415,35416,35417,35418,35419,35420,35421,35422,35423,35424,35425,35426,35427,35428,35429,35430,35431,35432,35433,35434,35435,35436,35437,35438,35439,35440,35441,35442,35443,35444,35445,35446,35447,35448,35450,35451,35452,35453,35454,35455,35456,28020,23507,35029,39044,35947,39533,40499,28170,20900,20803,22435,34945,21407,25588,36757,22253,21592,22278,29503,28304,32536,36828,33489,24895,24616,38498,26352,32422,36234,36291,38053,23731,31908,26376,24742,38405,32792,20113,37095,21248,38504,20801,36816,34164,37213,26197,38901,23381,21277,30776,26434,26685,21705,28798,23472,36733,20877,22312,21681,25874,26242,36190,36163,33039,33900,36973,31967,20991,34299,26531,26089,28577,34468,36481,22122,36896,30338,28790,29157,36131,25321,21017,27901,36156,24590,22686,24974,26366,36192,25166,21939,28195,26413,36711,35457,35458,35459,35460,35461,35462,35463,35464,35467,35468,35469,35470,35471,35472,35473,35474,35476,35477,35478,35479,35480,35481,35482,35483,35484,35485,35486,35487,35488,35489,35490,35491,35492,35493,35494,35495,35496,35497,35498,35499,35500,35501,35502,35503,35504,35505,35506,35507,35508,35509,35510,35511,35512,35513,35514,35515,35516,35517,35518,35519,35520,35521,35522,35523,35524,35525,35526,35527,35528,35529,35530,35531,35532,35533,35534,35535,35536,35537,35538,35539,35540,35541,35542,35543,35544,35545,35546,35547,35548,35549,35550,35551,35552,35553,35554,35555,38113,38392,30504,26629,27048,21643,20045,28856,35784,25688,25995,23429,31364,20538,23528,30651,27617,35449,31896,27838,30415,26025,36759,23853,23637,34360,26632,21344,25112,31449,28251,32509,27167,31456,24432,28467,24352,25484,28072,26454,19976,24080,36134,20183,32960,30260,38556,25307,26157,25214,27836,36213,29031,32617,20806,32903,21484,36974,25240,21746,34544,36761,32773,38167,34071,36825,27993,29645,26015,30495,29956,30759,33275,36126,38024,20390,26517,30137,35786,38663,25391,38215,38453,33976,25379,30529,24449,29424,20105,24596,25972,25327,27491,25919,35556,35557,35558,35559,35560,35561,35562,35563,35564,35565,35566,35567,35568,35569,35570,35571,35572,35573,35574,35575,35576,35577,35578,35579,35580,35581,35582,35583,35584,35585,35586,35587,35588,35589,35590,35592,35593,35594,35595,35596,35597,35598,35599,35600,35601,35602,35603,35604,35605,35606,35607,35608,35609,35610,35611,35612,35613,35614,35615,35616,35617,35618,35619,35620,35621,35623,35624,35625,35626,35627,35628,35629,35630,35631,35632,35633,35634,35635,35636,35637,35638,35639,35640,35641,35642,35643,35644,35645,35646,35647,35648,35649,35650,35651,35652,35653,24103,30151,37073,35777,33437,26525,25903,21553,34584,30693,32930,33026,27713,20043,32455,32844,30452,26893,27542,25191,20540,20356,22336,25351,27490,36286,21482,26088,32440,24535,25370,25527,33267,33268,32622,24092,23769,21046,26234,31209,31258,36136,28825,30164,28382,27835,31378,20013,30405,24544,38047,34935,32456,31181,32959,37325,20210,20247,33311,21608,24030,27954,35788,31909,36724,32920,24090,21650,30385,23449,26172,39588,29664,26666,34523,26417,29482,35832,35803,36880,31481,28891,29038,25284,30633,22065,20027,33879,26609,21161,34496,36142,38136,31569,35654,35655,35656,35657,35658,35659,35660,35661,35662,35663,35664,35665,35666,35667,35668,35669,35670,35671,35672,35673,35674,35675,35676,35677,35678,35679,35680,35681,35682,35683,35684,35685,35687,35688,35689,35690,35691,35693,35694,35695,35696,35697,35698,35699,35700,35701,35702,35703,35704,35705,35706,35707,35708,35709,35710,35711,35712,35713,35714,35715,35716,35717,35718,35719,35720,35721,35722,35723,35724,35725,35726,35727,35728,35729,35730,35731,35732,35733,35734,35735,35736,35737,35738,35739,35740,35741,35742,35743,35756,35761,35771,35783,35792,35818,35849,35870,20303,27880,31069,39547,25235,29226,25341,19987,30742,36716,25776,36186,31686,26729,24196,35013,22918,25758,22766,29366,26894,38181,36861,36184,22368,32512,35846,20934,25417,25305,21331,26700,29730,33537,37196,21828,30528,28796,27978,20857,21672,36164,23039,28363,28100,23388,32043,20180,31869,28371,23376,33258,28173,23383,39683,26837,36394,23447,32508,24635,32437,37049,36208,22863,25549,31199,36275,21330,26063,31062,35781,38459,32452,38075,32386,22068,37257,26368,32618,23562,36981,26152,24038,20304,26590,20570,20316,22352,24231,59408,59409,59410,59411,59412,35896,35897,35898,35899,35900,35901,35902,35903,35904,35906,35907,35908,35909,35912,35914,35915,35917,35918,35919,35920,35921,35922,35923,35924,35926,35927,35928,35929,35931,35932,35933,35934,35935,35936,35939,35940,35941,35942,35943,35944,35945,35948,35949,35950,35951,35952,35953,35954,35956,35957,35958,35959,35963,35964,35965,35966,35967,35968,35969,35971,35972,35974,35975,35976,35979,35981,35982,35983,35984,35985,35986,35987,35989,35990,35991,35993,35994,35995,35996,35997,35998,35999,36e3,36001,36002,36003,36004,36005,36006,36007,36008,36009,36010,36011,36012,36013,20109,19980,20800,19984,24319,21317,19989,20120,19998,39730,23404,22121,20008,31162,20031,21269,20039,22829,29243,21358,27664,22239,32996,39319,27603,30590,40727,20022,20127,40720,20060,20073,20115,33416,23387,21868,22031,20164,21389,21405,21411,21413,21422,38757,36189,21274,21493,21286,21294,21310,36188,21350,21347,20994,21e3,21006,21037,21043,21055,21056,21068,21086,21089,21084,33967,21117,21122,21121,21136,21139,20866,32596,20155,20163,20169,20162,20200,20193,20203,20190,20251,20211,20258,20324,20213,20261,20263,20233,20267,20318,20327,25912,20314,20317,36014,36015,36016,36017,36018,36019,36020,36021,36022,36023,36024,36025,36026,36027,36028,36029,36030,36031,36032,36033,36034,36035,36036,36037,36038,36039,36040,36041,36042,36043,36044,36045,36046,36047,36048,36049,36050,36051,36052,36053,36054,36055,36056,36057,36058,36059,36060,36061,36062,36063,36064,36065,36066,36067,36068,36069,36070,36071,36072,36073,36074,36075,36076,36077,36078,36079,36080,36081,36082,36083,36084,36085,36086,36087,36088,36089,36090,36091,36092,36093,36094,36095,36096,36097,36098,36099,36100,36101,36102,36103,36104,36105,36106,36107,36108,36109,20319,20311,20274,20285,20342,20340,20369,20361,20355,20367,20350,20347,20394,20348,20396,20372,20454,20456,20458,20421,20442,20451,20444,20433,20447,20472,20521,20556,20467,20524,20495,20526,20525,20478,20508,20492,20517,20520,20606,20547,20565,20552,20558,20588,20603,20645,20647,20649,20666,20694,20742,20717,20716,20710,20718,20743,20747,20189,27709,20312,20325,20430,40864,27718,31860,20846,24061,40649,39320,20865,22804,21241,21261,35335,21264,20971,22809,20821,20128,20822,20147,34926,34980,20149,33044,35026,31104,23348,34819,32696,20907,20913,20925,20924,36110,36111,36112,36113,36114,36115,36116,36117,36118,36119,36120,36121,36122,36123,36124,36128,36177,36178,36183,36191,36197,36200,36201,36202,36204,36206,36207,36209,36210,36216,36217,36218,36219,36220,36221,36222,36223,36224,36226,36227,36230,36231,36232,36233,36236,36237,36238,36239,36240,36242,36243,36245,36246,36247,36248,36249,36250,36251,36252,36253,36254,36256,36257,36258,36260,36261,36262,36263,36264,36265,36266,36267,36268,36269,36270,36271,36272,36274,36278,36279,36281,36283,36285,36288,36289,36290,36293,36295,36296,36297,36298,36301,36304,36306,36307,36308,20935,20886,20898,20901,35744,35750,35751,35754,35764,35765,35767,35778,35779,35787,35791,35790,35794,35795,35796,35798,35800,35801,35804,35807,35808,35812,35816,35817,35822,35824,35827,35830,35833,35836,35839,35840,35842,35844,35847,35852,35855,35857,35858,35860,35861,35862,35865,35867,35864,35869,35871,35872,35873,35877,35879,35882,35883,35886,35887,35890,35891,35893,35894,21353,21370,38429,38434,38433,38449,38442,38461,38460,38466,38473,38484,38495,38503,38508,38514,38516,38536,38541,38551,38576,37015,37019,37021,37017,37036,37025,37044,37043,37046,37050,36309,36312,36313,36316,36320,36321,36322,36325,36326,36327,36329,36333,36334,36336,36337,36338,36340,36342,36348,36350,36351,36352,36353,36354,36355,36356,36358,36359,36360,36363,36365,36366,36368,36369,36370,36371,36373,36374,36375,36376,36377,36378,36379,36380,36384,36385,36388,36389,36390,36391,36392,36395,36397,36400,36402,36403,36404,36406,36407,36408,36411,36412,36414,36415,36419,36421,36422,36428,36429,36430,36431,36432,36435,36436,36437,36438,36439,36440,36442,36443,36444,36445,36446,36447,36448,36449,36450,36451,36452,36453,36455,36456,36458,36459,36462,36465,37048,37040,37071,37061,37054,37072,37060,37063,37075,37094,37090,37084,37079,37083,37099,37103,37118,37124,37154,37150,37155,37169,37167,37177,37187,37190,21005,22850,21154,21164,21165,21182,21759,21200,21206,21232,21471,29166,30669,24308,20981,20988,39727,21430,24321,30042,24047,22348,22441,22433,22654,22716,22725,22737,22313,22316,22314,22323,22329,22318,22319,22364,22331,22338,22377,22405,22379,22406,22396,22395,22376,22381,22390,22387,22445,22436,22412,22450,22479,22439,22452,22419,22432,22485,22488,22490,22489,22482,22456,22516,22511,22520,22500,22493,36467,36469,36471,36472,36473,36474,36475,36477,36478,36480,36482,36483,36484,36486,36488,36489,36490,36491,36492,36493,36494,36497,36498,36499,36501,36502,36503,36504,36505,36506,36507,36509,36511,36512,36513,36514,36515,36516,36517,36518,36519,36520,36521,36522,36525,36526,36528,36529,36531,36532,36533,36534,36535,36536,36537,36539,36540,36541,36542,36543,36544,36545,36546,36547,36548,36549,36550,36551,36552,36553,36554,36555,36556,36557,36559,36560,36561,36562,36563,36564,36565,36566,36567,36568,36569,36570,36571,36572,36573,36574,36575,36576,36577,36578,36579,36580,22539,22541,22525,22509,22528,22558,22553,22596,22560,22629,22636,22657,22665,22682,22656,39336,40729,25087,33401,33405,33407,33423,33418,33448,33412,33422,33425,33431,33433,33451,33464,33470,33456,33480,33482,33507,33432,33463,33454,33483,33484,33473,33449,33460,33441,33450,33439,33476,33486,33444,33505,33545,33527,33508,33551,33543,33500,33524,33490,33496,33548,33531,33491,33553,33562,33542,33556,33557,33504,33493,33564,33617,33627,33628,33544,33682,33596,33588,33585,33691,33630,33583,33615,33607,33603,33631,33600,33559,33632,33581,33594,33587,33638,33637,36581,36582,36583,36584,36585,36586,36587,36588,36589,36590,36591,36592,36593,36594,36595,36596,36597,36598,36599,36600,36601,36602,36603,36604,36605,36606,36607,36608,36609,36610,36611,36612,36613,36614,36615,36616,36617,36618,36619,36620,36621,36622,36623,36624,36625,36626,36627,36628,36629,36630,36631,36632,36633,36634,36635,36636,36637,36638,36639,36640,36641,36642,36643,36644,36645,36646,36647,36648,36649,36650,36651,36652,36653,36654,36655,36656,36657,36658,36659,36660,36661,36662,36663,36664,36665,36666,36667,36668,36669,36670,36671,36672,36673,36674,36675,36676,33640,33563,33641,33644,33642,33645,33646,33712,33656,33715,33716,33696,33706,33683,33692,33669,33660,33718,33705,33661,33720,33659,33688,33694,33704,33722,33724,33729,33793,33765,33752,22535,33816,33803,33757,33789,33750,33820,33848,33809,33798,33748,33759,33807,33795,33784,33785,33770,33733,33728,33830,33776,33761,33884,33873,33882,33881,33907,33927,33928,33914,33929,33912,33852,33862,33897,33910,33932,33934,33841,33901,33985,33997,34e3,34022,33981,34003,33994,33983,33978,34016,33953,33977,33972,33943,34021,34019,34060,29965,34104,34032,34105,34079,34106,36677,36678,36679,36680,36681,36682,36683,36684,36685,36686,36687,36688,36689,36690,36691,36692,36693,36694,36695,36696,36697,36698,36699,36700,36701,36702,36703,36704,36705,36706,36707,36708,36709,36714,36736,36748,36754,36765,36768,36769,36770,36772,36773,36774,36775,36778,36780,36781,36782,36783,36786,36787,36788,36789,36791,36792,36794,36795,36796,36799,36800,36803,36806,36809,36810,36811,36812,36813,36815,36818,36822,36823,36826,36832,36833,36835,36839,36844,36847,36849,36850,36852,36853,36854,36858,36859,36860,36862,36863,36871,36872,36876,36878,36883,36885,36888,34134,34107,34047,34044,34137,34120,34152,34148,34142,34170,30626,34115,34162,34171,34212,34216,34183,34191,34169,34222,34204,34181,34233,34231,34224,34259,34241,34268,34303,34343,34309,34345,34326,34364,24318,24328,22844,22849,32823,22869,22874,22872,21263,23586,23589,23596,23604,25164,25194,25247,25275,25290,25306,25303,25326,25378,25334,25401,25419,25411,25517,25590,25457,25466,25486,25524,25453,25516,25482,25449,25518,25532,25586,25592,25568,25599,25540,25566,25550,25682,25542,25534,25669,25665,25611,25627,25632,25612,25638,25633,25694,25732,25709,25750,36889,36892,36899,36900,36901,36903,36904,36905,36906,36907,36908,36912,36913,36914,36915,36916,36919,36921,36922,36925,36927,36928,36931,36933,36934,36936,36937,36938,36939,36940,36942,36948,36949,36950,36953,36954,36956,36957,36958,36959,36960,36961,36964,36966,36967,36969,36970,36971,36972,36975,36976,36977,36978,36979,36982,36983,36984,36985,36986,36987,36988,36990,36993,36996,36997,36998,36999,37001,37002,37004,37005,37006,37007,37008,37010,37012,37014,37016,37018,37020,37022,37023,37024,37028,37029,37031,37032,37033,37035,37037,37042,37047,37052,37053,37055,37056,25722,25783,25784,25753,25786,25792,25808,25815,25828,25826,25865,25893,25902,24331,24530,29977,24337,21343,21489,21501,21481,21480,21499,21522,21526,21510,21579,21586,21587,21588,21590,21571,21537,21591,21593,21539,21554,21634,21652,21623,21617,21604,21658,21659,21636,21622,21606,21661,21712,21677,21698,21684,21714,21671,21670,21715,21716,21618,21667,21717,21691,21695,21708,21721,21722,21724,21673,21674,21668,21725,21711,21726,21787,21735,21792,21757,21780,21747,21794,21795,21775,21777,21799,21802,21863,21903,21941,21833,21869,21825,21845,21823,21840,21820,37058,37059,37062,37064,37065,37067,37068,37069,37074,37076,37077,37078,37080,37081,37082,37086,37087,37088,37091,37092,37093,37097,37098,37100,37102,37104,37105,37106,37107,37109,37110,37111,37113,37114,37115,37116,37119,37120,37121,37123,37125,37126,37127,37128,37129,37130,37131,37132,37133,37134,37135,37136,37137,37138,37139,37140,37141,37142,37143,37144,37146,37147,37148,37149,37151,37152,37153,37156,37157,37158,37159,37160,37161,37162,37163,37164,37165,37166,37168,37170,37171,37172,37173,37174,37175,37176,37178,37179,37180,37181,37182,37183,37184,37185,37186,37188,21815,21846,21877,21878,21879,21811,21808,21852,21899,21970,21891,21937,21945,21896,21889,21919,21886,21974,21905,21883,21983,21949,21950,21908,21913,21994,22007,21961,22047,21969,21995,21996,21972,21990,21981,21956,21999,21989,22002,22003,21964,21965,21992,22005,21988,36756,22046,22024,22028,22017,22052,22051,22014,22016,22055,22061,22104,22073,22103,22060,22093,22114,22105,22108,22092,22100,22150,22116,22129,22123,22139,22140,22149,22163,22191,22228,22231,22237,22241,22261,22251,22265,22271,22276,22282,22281,22300,24079,24089,24084,24081,24113,24123,24124,37189,37191,37192,37201,37203,37204,37205,37206,37208,37209,37211,37212,37215,37216,37222,37223,37224,37227,37229,37235,37242,37243,37244,37248,37249,37250,37251,37252,37254,37256,37258,37262,37263,37267,37268,37269,37270,37271,37272,37273,37276,37277,37278,37279,37280,37281,37284,37285,37286,37287,37288,37289,37291,37292,37296,37297,37298,37299,37302,37303,37304,37305,37307,37308,37309,37310,37311,37312,37313,37314,37315,37316,37317,37318,37320,37323,37328,37330,37331,37332,37333,37334,37335,37336,37337,37338,37339,37341,37342,37343,37344,37345,37346,37347,37348,37349,24119,24132,24148,24155,24158,24161,23692,23674,23693,23696,23702,23688,23704,23705,23697,23706,23708,23733,23714,23741,23724,23723,23729,23715,23745,23735,23748,23762,23780,23755,23781,23810,23811,23847,23846,23854,23844,23838,23814,23835,23896,23870,23860,23869,23916,23899,23919,23901,23915,23883,23882,23913,23924,23938,23961,23965,35955,23991,24005,24435,24439,24450,24455,24457,24460,24469,24473,24476,24488,24493,24501,24508,34914,24417,29357,29360,29364,29367,29368,29379,29377,29390,29389,29394,29416,29423,29417,29426,29428,29431,29441,29427,29443,29434,37350,37351,37352,37353,37354,37355,37356,37357,37358,37359,37360,37361,37362,37363,37364,37365,37366,37367,37368,37369,37370,37371,37372,37373,37374,37375,37376,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37387,37388,37389,37390,37391,37392,37393,37394,37395,37396,37397,37398,37399,37400,37401,37402,37403,37404,37405,37406,37407,37408,37409,37410,37411,37412,37413,37414,37415,37416,37417,37418,37419,37420,37421,37422,37423,37424,37425,37426,37427,37428,37429,37430,37431,37432,37433,37434,37435,37436,37437,37438,37439,37440,37441,37442,37443,37444,37445,29435,29463,29459,29473,29450,29470,29469,29461,29474,29497,29477,29484,29496,29489,29520,29517,29527,29536,29548,29551,29566,33307,22821,39143,22820,22786,39267,39271,39272,39273,39274,39275,39276,39284,39287,39293,39296,39300,39303,39306,39309,39312,39313,39315,39316,39317,24192,24209,24203,24214,24229,24224,24249,24245,24254,24243,36179,24274,24273,24283,24296,24298,33210,24516,24521,24534,24527,24579,24558,24580,24545,24548,24574,24581,24582,24554,24557,24568,24601,24629,24614,24603,24591,24589,24617,24619,24586,24639,24609,24696,24697,24699,24698,24642,37446,37447,37448,37449,37450,37451,37452,37453,37454,37455,37456,37457,37458,37459,37460,37461,37462,37463,37464,37465,37466,37467,37468,37469,37470,37471,37472,37473,37474,37475,37476,37477,37478,37479,37480,37481,37482,37483,37484,37485,37486,37487,37488,37489,37490,37491,37493,37494,37495,37496,37497,37498,37499,37500,37501,37502,37503,37504,37505,37506,37507,37508,37509,37510,37511,37512,37513,37514,37515,37516,37517,37519,37520,37521,37522,37523,37524,37525,37526,37527,37528,37529,37530,37531,37532,37533,37534,37535,37536,37537,37538,37539,37540,37541,37542,37543,24682,24701,24726,24730,24749,24733,24707,24722,24716,24731,24812,24763,24753,24797,24792,24774,24794,24756,24864,24870,24853,24867,24820,24832,24846,24875,24906,24949,25004,24980,24999,25015,25044,25077,24541,38579,38377,38379,38385,38387,38389,38390,38396,38398,38403,38404,38406,38408,38410,38411,38412,38413,38415,38418,38421,38422,38423,38425,38426,20012,29247,25109,27701,27732,27740,27722,27811,27781,27792,27796,27788,27752,27753,27764,27766,27782,27817,27856,27860,27821,27895,27896,27889,27863,27826,27872,27862,27898,27883,27886,27825,27859,27887,27902,37544,37545,37546,37547,37548,37549,37551,37552,37553,37554,37555,37556,37557,37558,37559,37560,37561,37562,37563,37564,37565,37566,37567,37568,37569,37570,37571,37572,37573,37574,37575,37577,37578,37579,37580,37581,37582,37583,37584,37585,37586,37587,37588,37589,37590,37591,37592,37593,37594,37595,37596,37597,37598,37599,37600,37601,37602,37603,37604,37605,37606,37607,37608,37609,37610,37611,37612,37613,37614,37615,37616,37617,37618,37619,37620,37621,37622,37623,37624,37625,37626,37627,37628,37629,37630,37631,37632,37633,37634,37635,37636,37637,37638,37639,37640,37641,27961,27943,27916,27971,27976,27911,27908,27929,27918,27947,27981,27950,27957,27930,27983,27986,27988,27955,28049,28015,28062,28064,27998,28051,28052,27996,28e3,28028,28003,28186,28103,28101,28126,28174,28095,28128,28177,28134,28125,28121,28182,28075,28172,28078,28203,28270,28238,28267,28338,28255,28294,28243,28244,28210,28197,28228,28383,28337,28312,28384,28461,28386,28325,28327,28349,28347,28343,28375,28340,28367,28303,28354,28319,28514,28486,28487,28452,28437,28409,28463,28470,28491,28532,28458,28425,28457,28553,28557,28556,28536,28530,28540,28538,28625,37642,37643,37644,37645,37646,37647,37648,37649,37650,37651,37652,37653,37654,37655,37656,37657,37658,37659,37660,37661,37662,37663,37664,37665,37666,37667,37668,37669,37670,37671,37672,37673,37674,37675,37676,37677,37678,37679,37680,37681,37682,37683,37684,37685,37686,37687,37688,37689,37690,37691,37692,37693,37695,37696,37697,37698,37699,37700,37701,37702,37703,37704,37705,37706,37707,37708,37709,37710,37711,37712,37713,37714,37715,37716,37717,37718,37719,37720,37721,37722,37723,37724,37725,37726,37727,37728,37729,37730,37731,37732,37733,37734,37735,37736,37737,37739,28617,28583,28601,28598,28610,28641,28654,28638,28640,28655,28698,28707,28699,28729,28725,28751,28766,23424,23428,23445,23443,23461,23480,29999,39582,25652,23524,23534,35120,23536,36423,35591,36790,36819,36821,36837,36846,36836,36841,36838,36851,36840,36869,36868,36875,36902,36881,36877,36886,36897,36917,36918,36909,36911,36932,36945,36946,36944,36968,36952,36962,36955,26297,36980,36989,36994,37e3,36995,37003,24400,24407,24406,24408,23611,21675,23632,23641,23409,23651,23654,32700,24362,24361,24365,33396,24380,39739,23662,22913,22915,22925,22953,22954,22947,37740,37741,37742,37743,37744,37745,37746,37747,37748,37749,37750,37751,37752,37753,37754,37755,37756,37757,37758,37759,37760,37761,37762,37763,37764,37765,37766,37767,37768,37769,37770,37771,37772,37773,37774,37776,37777,37778,37779,37780,37781,37782,37783,37784,37785,37786,37787,37788,37789,37790,37791,37792,37793,37794,37795,37796,37797,37798,37799,37800,37801,37802,37803,37804,37805,37806,37807,37808,37809,37810,37811,37812,37813,37814,37815,37816,37817,37818,37819,37820,37821,37822,37823,37824,37825,37826,37827,37828,37829,37830,37831,37832,37833,37835,37836,37837,22935,22986,22955,22942,22948,22994,22962,22959,22999,22974,23045,23046,23005,23048,23011,23e3,23033,23052,23049,23090,23092,23057,23075,23059,23104,23143,23114,23125,23100,23138,23157,33004,23210,23195,23159,23162,23230,23275,23218,23250,23252,23224,23264,23267,23281,23254,23270,23256,23260,23305,23319,23318,23346,23351,23360,23573,23580,23386,23397,23411,23377,23379,23394,39541,39543,39544,39546,39551,39549,39552,39553,39557,39560,39562,39568,39570,39571,39574,39576,39579,39580,39581,39583,39584,39586,39587,39589,39591,32415,32417,32419,32421,32424,32425,37838,37839,37840,37841,37842,37843,37844,37845,37847,37848,37849,37850,37851,37852,37853,37854,37855,37856,37857,37858,37859,37860,37861,37862,37863,37864,37865,37866,37867,37868,37869,37870,37871,37872,37873,37874,37875,37876,37877,37878,37879,37880,37881,37882,37883,37884,37885,37886,37887,37888,37889,37890,37891,37892,37893,37894,37895,37896,37897,37898,37899,37900,37901,37902,37903,37904,37905,37906,37907,37908,37909,37910,37911,37912,37913,37914,37915,37916,37917,37918,37919,37920,37921,37922,37923,37924,37925,37926,37927,37928,37929,37930,37931,37932,37933,37934,32429,32432,32446,32448,32449,32450,32457,32459,32460,32464,32468,32471,32475,32480,32481,32488,32491,32494,32495,32497,32498,32525,32502,32506,32507,32510,32513,32514,32515,32519,32520,32523,32524,32527,32529,32530,32535,32537,32540,32539,32543,32545,32546,32547,32548,32549,32550,32551,32554,32555,32556,32557,32559,32560,32561,32562,32563,32565,24186,30079,24027,30014,37013,29582,29585,29614,29602,29599,29647,29634,29649,29623,29619,29632,29641,29640,29669,29657,39036,29706,29673,29671,29662,29626,29682,29711,29738,29787,29734,29733,29736,29744,29742,29740,37935,37936,37937,37938,37939,37940,37941,37942,37943,37944,37945,37946,37947,37948,37949,37951,37952,37953,37954,37955,37956,37957,37958,37959,37960,37961,37962,37963,37964,37965,37966,37967,37968,37969,37970,37971,37972,37973,37974,37975,37976,37977,37978,37979,37980,37981,37982,37983,37984,37985,37986,37987,37988,37989,37990,37991,37992,37993,37994,37996,37997,37998,37999,38e3,38001,38002,38003,38004,38005,38006,38007,38008,38009,38010,38011,38012,38013,38014,38015,38016,38017,38018,38019,38020,38033,38038,38040,38087,38095,38099,38100,38106,38118,38139,38172,38176,29723,29722,29761,29788,29783,29781,29785,29815,29805,29822,29852,29838,29824,29825,29831,29835,29854,29864,29865,29840,29863,29906,29882,38890,38891,38892,26444,26451,26462,26440,26473,26533,26503,26474,26483,26520,26535,26485,26536,26526,26541,26507,26487,26492,26608,26633,26584,26634,26601,26544,26636,26585,26549,26586,26547,26589,26624,26563,26552,26594,26638,26561,26621,26674,26675,26720,26721,26702,26722,26692,26724,26755,26653,26709,26726,26689,26727,26688,26686,26698,26697,26665,26805,26767,26740,26743,26771,26731,26818,26990,26876,26911,26912,26873,38183,38195,38205,38211,38216,38219,38229,38234,38240,38254,38260,38261,38263,38264,38265,38266,38267,38268,38269,38270,38272,38273,38274,38275,38276,38277,38278,38279,38280,38281,38282,38283,38284,38285,38286,38287,38288,38289,38290,38291,38292,38293,38294,38295,38296,38297,38298,38299,38300,38301,38302,38303,38304,38305,38306,38307,38308,38309,38310,38311,38312,38313,38314,38315,38316,38317,38318,38319,38320,38321,38322,38323,38324,38325,38326,38327,38328,38329,38330,38331,38332,38333,38334,38335,38336,38337,38338,38339,38340,38341,38342,38343,38344,38345,38346,38347,26916,26864,26891,26881,26967,26851,26896,26993,26937,26976,26946,26973,27012,26987,27008,27032,27e3,26932,27084,27015,27016,27086,27017,26982,26979,27001,27035,27047,27067,27051,27053,27092,27057,27073,27082,27103,27029,27104,27021,27135,27183,27117,27159,27160,27237,27122,27204,27198,27296,27216,27227,27189,27278,27257,27197,27176,27224,27260,27281,27280,27305,27287,27307,29495,29522,27521,27522,27527,27524,27538,27539,27533,27546,27547,27553,27562,36715,36717,36721,36722,36723,36725,36726,36728,36727,36729,36730,36732,36734,36737,36738,36740,36743,36747,38348,38349,38350,38351,38352,38353,38354,38355,38356,38357,38358,38359,38360,38361,38362,38363,38364,38365,38366,38367,38368,38369,38370,38371,38372,38373,38374,38375,38380,38399,38407,38419,38424,38427,38430,38432,38435,38436,38437,38438,38439,38440,38441,38443,38444,38445,38447,38448,38455,38456,38457,38458,38462,38465,38467,38474,38478,38479,38481,38482,38483,38486,38487,38488,38489,38490,38492,38493,38494,38496,38499,38501,38502,38507,38509,38510,38511,38512,38513,38515,38520,38521,38522,38523,38524,38525,38526,38527,38528,38529,38530,38531,38532,38535,38537,38538,36749,36750,36751,36760,36762,36558,25099,25111,25115,25119,25122,25121,25125,25124,25132,33255,29935,29940,29951,29967,29969,29971,25908,26094,26095,26096,26122,26137,26482,26115,26133,26112,28805,26359,26141,26164,26161,26166,26165,32774,26207,26196,26177,26191,26198,26209,26199,26231,26244,26252,26279,26269,26302,26331,26332,26342,26345,36146,36147,36150,36155,36157,36160,36165,36166,36168,36169,36167,36173,36181,36185,35271,35274,35275,35276,35278,35279,35280,35281,29294,29343,29277,29286,29295,29310,29311,29316,29323,29325,29327,29330,25352,25394,25520,38540,38542,38545,38546,38547,38549,38550,38554,38555,38557,38558,38559,38560,38561,38562,38563,38564,38565,38566,38568,38569,38570,38571,38572,38573,38574,38575,38577,38578,38580,38581,38583,38584,38586,38587,38591,38594,38595,38600,38602,38603,38608,38609,38611,38612,38614,38615,38616,38617,38618,38619,38620,38621,38622,38623,38625,38626,38627,38628,38629,38630,38631,38635,38636,38637,38638,38640,38641,38642,38644,38645,38648,38650,38651,38652,38653,38655,38658,38659,38661,38666,38667,38668,38672,38673,38674,38676,38677,38679,38680,38681,38682,38683,38685,38687,38688,25663,25816,32772,27626,27635,27645,27637,27641,27653,27655,27654,27661,27669,27672,27673,27674,27681,27689,27684,27690,27698,25909,25941,25963,29261,29266,29270,29232,34402,21014,32927,32924,32915,32956,26378,32957,32945,32939,32941,32948,32951,32999,33e3,33001,33002,32987,32962,32964,32985,32973,32983,26384,32989,33003,33009,33012,33005,33037,33038,33010,33020,26389,33042,35930,33078,33054,33068,33048,33074,33096,33100,33107,33140,33113,33114,33137,33120,33129,33148,33149,33133,33127,22605,23221,33160,33154,33169,28373,33187,33194,33228,26406,33226,33211,38689,38690,38691,38692,38693,38694,38695,38696,38697,38699,38700,38702,38703,38705,38707,38708,38709,38710,38711,38714,38715,38716,38717,38719,38720,38721,38722,38723,38724,38725,38726,38727,38728,38729,38730,38731,38732,38733,38734,38735,38736,38737,38740,38741,38743,38744,38746,38748,38749,38751,38755,38756,38758,38759,38760,38762,38763,38764,38765,38766,38767,38768,38769,38770,38773,38775,38776,38777,38778,38779,38781,38782,38783,38784,38785,38786,38787,38788,38790,38791,38792,38793,38794,38796,38798,38799,38800,38803,38805,38806,38807,38809,38810,38811,38812,38813,33217,33190,27428,27447,27449,27459,27462,27481,39121,39122,39123,39125,39129,39130,27571,24384,27586,35315,26e3,40785,26003,26044,26054,26052,26051,26060,26062,26066,26070,28800,28828,28822,28829,28859,28864,28855,28843,28849,28904,28874,28944,28947,28950,28975,28977,29043,29020,29032,28997,29042,29002,29048,29050,29080,29107,29109,29096,29088,29152,29140,29159,29177,29213,29224,28780,28952,29030,29113,25150,25149,25155,25160,25161,31035,31040,31046,31049,31067,31068,31059,31066,31074,31063,31072,31087,31079,31098,31109,31114,31130,31143,31155,24529,24528,38814,38815,38817,38818,38820,38821,38822,38823,38824,38825,38826,38828,38830,38832,38833,38835,38837,38838,38839,38840,38841,38842,38843,38844,38845,38846,38847,38848,38849,38850,38851,38852,38853,38854,38855,38856,38857,38858,38859,38860,38861,38862,38863,38864,38865,38866,38867,38868,38869,38870,38871,38872,38873,38874,38875,38876,38877,38878,38879,38880,38881,38882,38883,38884,38885,38888,38894,38895,38896,38897,38898,38900,38903,38904,38905,38906,38907,38908,38909,38910,38911,38912,38913,38914,38915,38916,38917,38918,38919,38920,38921,38922,38923,38924,38925,38926,24636,24669,24666,24679,24641,24665,24675,24747,24838,24845,24925,25001,24989,25035,25041,25094,32896,32895,27795,27894,28156,30710,30712,30720,30729,30743,30744,30737,26027,30765,30748,30749,30777,30778,30779,30751,30780,30757,30764,30755,30761,30798,30829,30806,30807,30758,30800,30791,30796,30826,30875,30867,30874,30855,30876,30881,30883,30898,30905,30885,30932,30937,30921,30956,30962,30981,30964,30995,31012,31006,31028,40859,40697,40699,40700,30449,30468,30477,30457,30471,30472,30490,30498,30489,30509,30502,30517,30520,30544,30545,30535,30531,30554,30568,38927,38928,38929,38930,38931,38932,38933,38934,38935,38936,38937,38938,38939,38940,38941,38942,38943,38944,38945,38946,38947,38948,38949,38950,38951,38952,38953,38954,38955,38956,38957,38958,38959,38960,38961,38962,38963,38964,38965,38966,38967,38968,38969,38970,38971,38972,38973,38974,38975,38976,38977,38978,38979,38980,38981,38982,38983,38984,38985,38986,38987,38988,38989,38990,38991,38992,38993,38994,38995,38996,38997,38998,38999,39e3,39001,39002,39003,39004,39005,39006,39007,39008,39009,39010,39011,39012,39013,39014,39015,39016,39017,39018,39019,39020,39021,39022,30562,30565,30591,30605,30589,30592,30604,30609,30623,30624,30640,30645,30653,30010,30016,30030,30027,30024,30043,30066,30073,30083,32600,32609,32607,35400,32616,32628,32625,32633,32641,32638,30413,30437,34866,38021,38022,38023,38027,38026,38028,38029,38031,38032,38036,38039,38037,38042,38043,38044,38051,38052,38059,38058,38061,38060,38063,38064,38066,38068,38070,38071,38072,38073,38074,38076,38077,38079,38084,38088,38089,38090,38091,38092,38093,38094,38096,38097,38098,38101,38102,38103,38105,38104,38107,38110,38111,38112,38114,38116,38117,38119,38120,38122,39023,39024,39025,39026,39027,39028,39051,39054,39058,39061,39065,39075,39080,39081,39082,39083,39084,39085,39086,39087,39088,39089,39090,39091,39092,39093,39094,39095,39096,39097,39098,39099,39100,39101,39102,39103,39104,39105,39106,39107,39108,39109,39110,39111,39112,39113,39114,39115,39116,39117,39119,39120,39124,39126,39127,39131,39132,39133,39136,39137,39138,39139,39140,39141,39142,39145,39146,39147,39148,39149,39150,39151,39152,39153,39154,39155,39156,39157,39158,39159,39160,39161,39162,39163,39164,39165,39166,39167,39168,39169,39170,39171,39172,39173,39174,39175,38121,38123,38126,38127,38131,38132,38133,38135,38137,38140,38141,38143,38147,38146,38150,38151,38153,38154,38157,38158,38159,38162,38163,38164,38165,38166,38168,38171,38173,38174,38175,38178,38186,38187,38185,38188,38193,38194,38196,38198,38199,38200,38204,38206,38207,38210,38197,38212,38213,38214,38217,38220,38222,38223,38226,38227,38228,38230,38231,38232,38233,38235,38238,38239,38237,38241,38242,38244,38245,38246,38247,38248,38249,38250,38251,38252,38255,38257,38258,38259,38202,30695,30700,38601,31189,31213,31203,31211,31238,23879,31235,31234,31262,31252,39176,39177,39178,39179,39180,39182,39183,39185,39186,39187,39188,39189,39190,39191,39192,39193,39194,39195,39196,39197,39198,39199,39200,39201,39202,39203,39204,39205,39206,39207,39208,39209,39210,39211,39212,39213,39215,39216,39217,39218,39219,39220,39221,39222,39223,39224,39225,39226,39227,39228,39229,39230,39231,39232,39233,39234,39235,39236,39237,39238,39239,39240,39241,39242,39243,39244,39245,39246,39247,39248,39249,39250,39251,39254,39255,39256,39257,39258,39259,39260,39261,39262,39263,39264,39265,39266,39268,39270,39283,39288,39289,39291,39294,39298,39299,39305,31289,31287,31313,40655,39333,31344,30344,30350,30355,30361,30372,29918,29920,29996,40480,40482,40488,40489,40490,40491,40492,40498,40497,40502,40504,40503,40505,40506,40510,40513,40514,40516,40518,40519,40520,40521,40523,40524,40526,40529,40533,40535,40538,40539,40540,40542,40547,40550,40551,40552,40553,40554,40555,40556,40561,40557,40563,30098,30100,30102,30112,30109,30124,30115,30131,30132,30136,30148,30129,30128,30147,30146,30166,30157,30179,30184,30182,30180,30187,30183,30211,30193,30204,30207,30224,30208,30213,30220,30231,30218,30245,30232,30229,30233,39308,39310,39322,39323,39324,39325,39326,39327,39328,39329,39330,39331,39332,39334,39335,39337,39338,39339,39340,39341,39342,39343,39344,39345,39346,39347,39348,39349,39350,39351,39352,39353,39354,39355,39356,39357,39358,39359,39360,39361,39362,39363,39364,39365,39366,39367,39368,39369,39370,39371,39372,39373,39374,39375,39376,39377,39378,39379,39380,39381,39382,39383,39384,39385,39386,39387,39388,39389,39390,39391,39392,39393,39394,39395,39396,39397,39398,39399,39400,39401,39402,39403,39404,39405,39406,39407,39408,39409,39410,39411,39412,39413,39414,39415,39416,39417,30235,30268,30242,30240,30272,30253,30256,30271,30261,30275,30270,30259,30285,30302,30292,30300,30294,30315,30319,32714,31462,31352,31353,31360,31366,31368,31381,31398,31392,31404,31400,31405,31411,34916,34921,34930,34941,34943,34946,34978,35014,34999,35004,35017,35042,35022,35043,35045,35057,35098,35068,35048,35070,35056,35105,35097,35091,35099,35082,35124,35115,35126,35137,35174,35195,30091,32997,30386,30388,30684,32786,32788,32790,32796,32800,32802,32805,32806,32807,32809,32808,32817,32779,32821,32835,32838,32845,32850,32873,32881,35203,39032,39040,39043,39418,39419,39420,39421,39422,39423,39424,39425,39426,39427,39428,39429,39430,39431,39432,39433,39434,39435,39436,39437,39438,39439,39440,39441,39442,39443,39444,39445,39446,39447,39448,39449,39450,39451,39452,39453,39454,39455,39456,39457,39458,39459,39460,39461,39462,39463,39464,39465,39466,39467,39468,39469,39470,39471,39472,39473,39474,39475,39476,39477,39478,39479,39480,39481,39482,39483,39484,39485,39486,39487,39488,39489,39490,39491,39492,39493,39494,39495,39496,39497,39498,39499,39500,39501,39502,39503,39504,39505,39506,39507,39508,39509,39510,39511,39512,39513,39049,39052,39053,39055,39060,39066,39067,39070,39071,39073,39074,39077,39078,34381,34388,34412,34414,34431,34426,34428,34427,34472,34445,34443,34476,34461,34471,34467,34474,34451,34473,34486,34500,34485,34510,34480,34490,34481,34479,34505,34511,34484,34537,34545,34546,34541,34547,34512,34579,34526,34548,34527,34520,34513,34563,34567,34552,34568,34570,34573,34569,34595,34619,34590,34597,34606,34586,34622,34632,34612,34609,34601,34615,34623,34690,34594,34685,34686,34683,34656,34672,34636,34670,34699,34643,34659,34684,34660,34649,34661,34707,34735,34728,34770,39514,39515,39516,39517,39518,39519,39520,39521,39522,39523,39524,39525,39526,39527,39528,39529,39530,39531,39538,39555,39561,39565,39566,39572,39573,39577,39590,39593,39594,39595,39596,39597,39598,39599,39602,39603,39604,39605,39609,39611,39613,39614,39615,39619,39620,39622,39623,39624,39625,39626,39629,39630,39631,39632,39634,39636,39637,39638,39639,39641,39642,39643,39644,39645,39646,39648,39650,39651,39652,39653,39655,39656,39657,39658,39660,39662,39664,39665,39666,39667,39668,39669,39670,39671,39672,39674,39676,39677,39678,39679,39680,39681,39682,39684,39685,39686,34758,34696,34693,34733,34711,34691,34731,34789,34732,34741,34739,34763,34771,34749,34769,34752,34762,34779,34794,34784,34798,34838,34835,34814,34826,34843,34849,34873,34876,32566,32578,32580,32581,33296,31482,31485,31496,31491,31492,31509,31498,31531,31503,31559,31544,31530,31513,31534,31537,31520,31525,31524,31539,31550,31518,31576,31578,31557,31605,31564,31581,31584,31598,31611,31586,31602,31601,31632,31654,31655,31672,31660,31645,31656,31621,31658,31644,31650,31659,31668,31697,31681,31692,31709,31706,31717,31718,31722,31756,31742,31740,31759,31766,31755,39687,39689,39690,39691,39692,39693,39694,39696,39697,39698,39700,39701,39702,39703,39704,39705,39706,39707,39708,39709,39710,39712,39713,39714,39716,39717,39718,39719,39720,39721,39722,39723,39724,39725,39726,39728,39729,39731,39732,39733,39734,39735,39736,39737,39738,39741,39742,39743,39744,39750,39754,39755,39756,39758,39760,39762,39763,39765,39766,39767,39768,39769,39770,39771,39772,39773,39774,39775,39776,39777,39778,39779,39780,39781,39782,39783,39784,39785,39786,39787,39788,39789,39790,39791,39792,39793,39794,39795,39796,39797,39798,39799,39800,39801,39802,39803,31775,31786,31782,31800,31809,31808,33278,33281,33282,33284,33260,34884,33313,33314,33315,33325,33327,33320,33323,33336,33339,33331,33332,33342,33348,33353,33355,33359,33370,33375,33384,34942,34949,34952,35032,35039,35166,32669,32671,32679,32687,32688,32690,31868,25929,31889,31901,31900,31902,31906,31922,31932,31933,31937,31943,31948,31949,31944,31941,31959,31976,33390,26280,32703,32718,32725,32741,32737,32742,32745,32750,32755,31992,32119,32166,32174,32327,32411,40632,40628,36211,36228,36244,36241,36273,36199,36205,35911,35913,37194,37200,37198,37199,37220,39804,39805,39806,39807,39808,39809,39810,39811,39812,39813,39814,39815,39816,39817,39818,39819,39820,39821,39822,39823,39824,39825,39826,39827,39828,39829,39830,39831,39832,39833,39834,39835,39836,39837,39838,39839,39840,39841,39842,39843,39844,39845,39846,39847,39848,39849,39850,39851,39852,39853,39854,39855,39856,39857,39858,39859,39860,39861,39862,39863,39864,39865,39866,39867,39868,39869,39870,39871,39872,39873,39874,39875,39876,39877,39878,39879,39880,39881,39882,39883,39884,39885,39886,39887,39888,39889,39890,39891,39892,39893,39894,39895,39896,39897,39898,39899,37218,37217,37232,37225,37231,37245,37246,37234,37236,37241,37260,37253,37264,37261,37265,37282,37283,37290,37293,37294,37295,37301,37300,37306,35925,40574,36280,36331,36357,36441,36457,36277,36287,36284,36282,36292,36310,36311,36314,36318,36302,36303,36315,36294,36332,36343,36344,36323,36345,36347,36324,36361,36349,36372,36381,36383,36396,36398,36387,36399,36410,36416,36409,36405,36413,36401,36425,36417,36418,36433,36434,36426,36464,36470,36476,36463,36468,36485,36495,36500,36496,36508,36510,35960,35970,35978,35973,35992,35988,26011,35286,35294,35290,35292,39900,39901,39902,39903,39904,39905,39906,39907,39908,39909,39910,39911,39912,39913,39914,39915,39916,39917,39918,39919,39920,39921,39922,39923,39924,39925,39926,39927,39928,39929,39930,39931,39932,39933,39934,39935,39936,39937,39938,39939,39940,39941,39942,39943,39944,39945,39946,39947,39948,39949,39950,39951,39952,39953,39954,39955,39956,39957,39958,39959,39960,39961,39962,39963,39964,39965,39966,39967,39968,39969,39970,39971,39972,39973,39974,39975,39976,39977,39978,39979,39980,39981,39982,39983,39984,39985,39986,39987,39988,39989,39990,39991,39992,39993,39994,39995,35301,35307,35311,35390,35622,38739,38633,38643,38639,38662,38657,38664,38671,38670,38698,38701,38704,38718,40832,40835,40837,40838,40839,40840,40841,40842,40844,40702,40715,40717,38585,38588,38589,38606,38610,30655,38624,37518,37550,37576,37694,37738,37834,37775,37950,37995,40063,40066,40069,40070,40071,40072,31267,40075,40078,40080,40081,40082,40084,40085,40090,40091,40094,40095,40096,40097,40098,40099,40101,40102,40103,40104,40105,40107,40109,40110,40112,40113,40114,40115,40116,40117,40118,40119,40122,40123,40124,40125,40132,40133,40134,40135,40138,40139,39996,39997,39998,39999,4e4,40001,40002,40003,40004,40005,40006,40007,40008,40009,40010,40011,40012,40013,40014,40015,40016,40017,40018,40019,40020,40021,40022,40023,40024,40025,40026,40027,40028,40029,40030,40031,40032,40033,40034,40035,40036,40037,40038,40039,40040,40041,40042,40043,40044,40045,40046,40047,40048,40049,40050,40051,40052,40053,40054,40055,40056,40057,40058,40059,40061,40062,40064,40067,40068,40073,40074,40076,40079,40083,40086,40087,40088,40089,40093,40106,40108,40111,40121,40126,40127,40128,40129,40130,40136,40137,40145,40146,40154,40155,40160,40161,40140,40141,40142,40143,40144,40147,40148,40149,40151,40152,40153,40156,40157,40159,40162,38780,38789,38801,38802,38804,38831,38827,38819,38834,38836,39601,39600,39607,40536,39606,39610,39612,39617,39616,39621,39618,39627,39628,39633,39749,39747,39751,39753,39752,39757,39761,39144,39181,39214,39253,39252,39647,39649,39654,39663,39659,39675,39661,39673,39688,39695,39699,39711,39715,40637,40638,32315,40578,40583,40584,40587,40594,37846,40605,40607,40667,40668,40669,40672,40671,40674,40681,40679,40677,40682,40687,40738,40748,40751,40761,40759,40765,40766,40772,40163,40164,40165,40166,40167,40168,40169,40170,40171,40172,40173,40174,40175,40176,40177,40178,40179,40180,40181,40182,40183,40184,40185,40186,40187,40188,40189,40190,40191,40192,40193,40194,40195,40196,40197,40198,40199,40200,40201,40202,40203,40204,40205,40206,40207,40208,40209,40210,40211,40212,40213,40214,40215,40216,40217,40218,40219,40220,40221,40222,40223,40224,40225,40226,40227,40228,40229,40230,40231,40232,40233,40234,40235,40236,40237,40238,40239,40240,40241,40242,40243,40244,40245,40246,40247,40248,40249,40250,40251,40252,40253,40254,40255,40256,40257,40258,57908,57909,57910,57911,57912,57913,57914,57915,57916,57917,57918,57919,57920,57921,57922,57923,57924,57925,57926,57927,57928,57929,57930,57931,57932,57933,57934,57935,57936,57937,57938,57939,57940,57941,57942,57943,57944,57945,57946,57947,57948,57949,57950,57951,57952,57953,57954,57955,57956,57957,57958,57959,57960,57961,57962,57963,57964,57965,57966,57967,57968,57969,57970,57971,57972,57973,57974,57975,57976,57977,57978,57979,57980,57981,57982,57983,57984,57985,57986,57987,57988,57989,57990,57991,57992,57993,57994,57995,57996,57997,57998,57999,58e3,58001,40259,40260,40261,40262,40263,40264,40265,40266,40267,40268,40269,40270,40271,40272,40273,40274,40275,40276,40277,40278,40279,40280,40281,40282,40283,40284,40285,40286,40287,40288,40289,40290,40291,40292,40293,40294,40295,40296,40297,40298,40299,40300,40301,40302,40303,40304,40305,40306,40307,40308,40309,40310,40311,40312,40313,40314,40315,40316,40317,40318,40319,40320,40321,40322,40323,40324,40325,40326,40327,40328,40329,40330,40331,40332,40333,40334,40335,40336,40337,40338,40339,40340,40341,40342,40343,40344,40345,40346,40347,40348,40349,40350,40351,40352,40353,40354,58002,58003,58004,58005,58006,58007,58008,58009,58010,58011,58012,58013,58014,58015,58016,58017,58018,58019,58020,58021,58022,58023,58024,58025,58026,58027,58028,58029,58030,58031,58032,58033,58034,58035,58036,58037,58038,58039,58040,58041,58042,58043,58044,58045,58046,58047,58048,58049,58050,58051,58052,58053,58054,58055,58056,58057,58058,58059,58060,58061,58062,58063,58064,58065,58066,58067,58068,58069,58070,58071,58072,58073,58074,58075,58076,58077,58078,58079,58080,58081,58082,58083,58084,58085,58086,58087,58088,58089,58090,58091,58092,58093,58094,58095,40355,40356,40357,40358,40359,40360,40361,40362,40363,40364,40365,40366,40367,40368,40369,40370,40371,40372,40373,40374,40375,40376,40377,40378,40379,40380,40381,40382,40383,40384,40385,40386,40387,40388,40389,40390,40391,40392,40393,40394,40395,40396,40397,40398,40399,40400,40401,40402,40403,40404,40405,40406,40407,40408,40409,40410,40411,40412,40413,40414,40415,40416,40417,40418,40419,40420,40421,40422,40423,40424,40425,40426,40427,40428,40429,40430,40431,40432,40433,40434,40435,40436,40437,40438,40439,40440,40441,40442,40443,40444,40445,40446,40447,40448,40449,40450,58096,58097,58098,58099,58100,58101,58102,58103,58104,58105,58106,58107,58108,58109,58110,58111,58112,58113,58114,58115,58116,58117,58118,58119,58120,58121,58122,58123,58124,58125,58126,58127,58128,58129,58130,58131,58132,58133,58134,58135,58136,58137,58138,58139,58140,58141,58142,58143,58144,58145,58146,58147,58148,58149,58150,58151,58152,58153,58154,58155,58156,58157,58158,58159,58160,58161,58162,58163,58164,58165,58166,58167,58168,58169,58170,58171,58172,58173,58174,58175,58176,58177,58178,58179,58180,58181,58182,58183,58184,58185,58186,58187,58188,58189,40451,40452,40453,40454,40455,40456,40457,40458,40459,40460,40461,40462,40463,40464,40465,40466,40467,40468,40469,40470,40471,40472,40473,40474,40475,40476,40477,40478,40484,40487,40494,40496,40500,40507,40508,40512,40525,40528,40530,40531,40532,40534,40537,40541,40543,40544,40545,40546,40549,40558,40559,40562,40564,40565,40566,40567,40568,40569,40570,40571,40572,40573,40576,40577,40579,40580,40581,40582,40585,40586,40588,40589,40590,40591,40592,40593,40596,40597,40598,40599,40600,40601,40602,40603,40604,40606,40608,40609,40610,40611,40612,40613,40615,40616,40617,40618,58190,58191,58192,58193,58194,58195,58196,58197,58198,58199,58200,58201,58202,58203,58204,58205,58206,58207,58208,58209,58210,58211,58212,58213,58214,58215,58216,58217,58218,58219,58220,58221,58222,58223,58224,58225,58226,58227,58228,58229,58230,58231,58232,58233,58234,58235,58236,58237,58238,58239,58240,58241,58242,58243,58244,58245,58246,58247,58248,58249,58250,58251,58252,58253,58254,58255,58256,58257,58258,58259,58260,58261,58262,58263,58264,58265,58266,58267,58268,58269,58270,58271,58272,58273,58274,58275,58276,58277,58278,58279,58280,58281,58282,58283,40619,40620,40621,40622,40623,40624,40625,40626,40627,40629,40630,40631,40633,40634,40636,40639,40640,40641,40642,40643,40645,40646,40647,40648,40650,40651,40652,40656,40658,40659,40661,40662,40663,40665,40666,40670,40673,40675,40676,40678,40680,40683,40684,40685,40686,40688,40689,40690,40691,40692,40693,40694,40695,40696,40698,40701,40703,40704,40705,40706,40707,40708,40709,40710,40711,40712,40713,40714,40716,40719,40721,40722,40724,40725,40726,40728,40730,40731,40732,40733,40734,40735,40737,40739,40740,40741,40742,40743,40744,40745,40746,40747,40749,40750,40752,40753,58284,58285,58286,58287,58288,58289,58290,58291,58292,58293,58294,58295,58296,58297,58298,58299,58300,58301,58302,58303,58304,58305,58306,58307,58308,58309,58310,58311,58312,58313,58314,58315,58316,58317,58318,58319,58320,58321,58322,58323,58324,58325,58326,58327,58328,58329,58330,58331,58332,58333,58334,58335,58336,58337,58338,58339,58340,58341,58342,58343,58344,58345,58346,58347,58348,58349,58350,58351,58352,58353,58354,58355,58356,58357,58358,58359,58360,58361,58362,58363,58364,58365,58366,58367,58368,58369,58370,58371,58372,58373,58374,58375,58376,58377,40754,40755,40756,40757,40758,40760,40762,40764,40767,40768,40769,40770,40771,40773,40774,40775,40776,40777,40778,40779,40780,40781,40782,40783,40786,40787,40788,40789,40790,40791,40792,40793,40794,40795,40796,40797,40798,40799,40800,40801,40802,40803,40804,40805,40806,40807,40808,40809,40810,40811,40812,40813,40814,40815,40816,40817,40818,40819,40820,40821,40822,40823,40824,40825,40826,40827,40828,40829,40830,40833,40834,40845,40846,40847,40848,40849,40850,40851,40852,40853,40854,40855,40856,40860,40861,40862,40865,40866,40867,40868,40869,63788,63865,63893,63975,63985,58378,58379,58380,58381,58382,58383,58384,58385,58386,58387,58388,58389,58390,58391,58392,58393,58394,58395,58396,58397,58398,58399,58400,58401,58402,58403,58404,58405,58406,58407,58408,58409,58410,58411,58412,58413,58414,58415,58416,58417,58418,58419,58420,58421,58422,58423,58424,58425,58426,58427,58428,58429,58430,58431,58432,58433,58434,58435,58436,58437,58438,58439,58440,58441,58442,58443,58444,58445,58446,58447,58448,58449,58450,58451,58452,58453,58454,58455,58456,58457,58458,58459,58460,58461,58462,58463,58464,58465,58466,58467,58468,58469,58470,58471,64012,64013,64014,64015,64017,64019,64020,64024,64031,64032,64033,64035,64036,64039,64040,64041,11905,59414,59415,59416,11908,13427,13383,11912,11915,59422,13726,13850,13838,11916,11927,14702,14616,59430,14799,14815,14963,14800,59435,59436,15182,15470,15584,11943,59441,59442,11946,16470,16735,11950,17207,11955,11958,11959,59451,17329,17324,11963,17373,17622,18017,17996,59459,18211,18217,18300,18317,11978,18759,18810,18813,18818,18819,18821,18822,18847,18843,18871,18870,59476,59477,19619,19615,19616,19617,19575,19618,19731,19732,19733,19734,19735,19736,19737,19886,59492,58472,58473,58474,58475,58476,58477,58478,58479,58480,58481,58482,58483,58484,58485,58486,58487,58488,58489,58490,58491,58492,58493,58494,58495,58496,58497,58498,58499,58500,58501,58502,58503,58504,58505,58506,58507,58508,58509,58510,58511,58512,58513,58514,58515,58516,58517,58518,58519,58520,58521,58522,58523,58524,58525,58526,58527,58528,58529,58530,58531,58532,58533,58534,58535,58536,58537,58538,58539,58540,58541,58542,58543,58544,58545,58546,58547,58548,58549,58550,58551,58552,58553,58554,58555,58556,58557,58558,58559,58560,58561,58562,58563,58564,58565],"gb18030-ranges":[[0,128],[36,165],[38,169],[45,178],[50,184],[81,216],[89,226],[95,235],[96,238],[100,244],[103,248],[104,251],[105,253],[109,258],[126,276],[133,284],[148,300],[172,325],[175,329],[179,334],[208,364],[306,463],[307,465],[308,467],[309,469],[310,471],[311,473],[312,475],[313,477],[341,506],[428,594],[443,610],[544,712],[545,716],[558,730],[741,930],[742,938],[749,962],[750,970],[805,1026],[819,1104],[820,1106],[7922,8209],[7924,8215],[7925,8218],[7927,8222],[7934,8231],[7943,8241],[7944,8244],[7945,8246],[7950,8252],[8062,8365],[8148,8452],[8149,8454],[8152,8458],[8164,8471],[8174,8482],[8236,8556],[8240,8570],[8262,8596],[8264,8602],[8374,8713],[8380,8720],[8381,8722],[8384,8726],[8388,8731],[8390,8737],[8392,8740],[8393,8742],[8394,8748],[8396,8751],[8401,8760],[8406,8766],[8416,8777],[8419,8781],[8424,8787],[8437,8802],[8439,8808],[8445,8816],[8482,8854],[8485,8858],[8496,8870],[8521,8896],[8603,8979],[8936,9322],[8946,9372],[9046,9548],[9050,9588],[9063,9616],[9066,9622],[9076,9634],[9092,9652],[9100,9662],[9108,9672],[9111,9676],[9113,9680],[9131,9702],[9162,9735],[9164,9738],[9218,9793],[9219,9795],[11329,11906],[11331,11909],[11334,11913],[11336,11917],[11346,11928],[11361,11944],[11363,11947],[11366,11951],[11370,11956],[11372,11960],[11375,11964],[11389,11979],[11682,12284],[11686,12292],[11687,12312],[11692,12319],[11694,12330],[11714,12351],[11716,12436],[11723,12447],[11725,12535],[11730,12543],[11736,12586],[11982,12842],[11989,12850],[12102,12964],[12336,13200],[12348,13215],[12350,13218],[12384,13253],[12393,13263],[12395,13267],[12397,13270],[12510,13384],[12553,13428],[12851,13727],[12962,13839],[12973,13851],[13738,14617],[13823,14703],[13919,14801],[13933,14816],[14080,14964],[14298,15183],[14585,15471],[14698,15585],[15583,16471],[15847,16736],[16318,17208],[16434,17325],[16438,17330],[16481,17374],[16729,17623],[17102,17997],[17122,18018],[17315,18212],[17320,18218],[17402,18301],[17418,18318],[17859,18760],[17909,18811],[17911,18814],[17915,18820],[17916,18823],[17936,18844],[17939,18848],[17961,18872],[18664,19576],[18703,19620],[18814,19738],[18962,19887],[19043,40870],[33469,59244],[33470,59336],[33471,59367],[33484,59413],[33485,59417],[33490,59423],[33497,59431],[33501,59437],[33505,59443],[33513,59452],[33520,59460],[33536,59478],[33550,59493],[37845,63789],[37921,63866],[37948,63894],[38029,63976],[38038,63986],[38064,64016],[38065,64018],[38066,64021],[38069,64025],[38075,64034],[38076,64037],[38078,64042],[39108,65074],[39109,65093],[39113,65107],[39114,65112],[39115,65127],[39116,65132],[39265,65375],[39394,65510],[189e3,65536]],jis0208:[12288,12289,12290,65292,65294,12539,65306,65307,65311,65281,12443,12444,180,65344,168,65342,65507,65343,12541,12542,12445,12446,12291,20189,12293,12294,12295,12540,8213,8208,65295,65340,65374,8741,65372,8230,8229,8216,8217,8220,8221,65288,65289,12308,12309,65339,65341,65371,65373,12296,12297,12298,12299,12300,12301,12302,12303,12304,12305,65291,65293,177,215,247,65309,8800,65308,65310,8806,8807,8734,8756,9794,9792,176,8242,8243,8451,65509,65284,65504,65505,65285,65283,65286,65290,65312,167,9734,9733,9675,9679,9678,9671,9670,9633,9632,9651,9650,9661,9660,8251,12306,8594,8592,8593,8595,12307,null,null,null,null,null,null,null,null,null,null,null,8712,8715,8838,8839,8834,8835,8746,8745,null,null,null,null,null,null,null,null,8743,8744,65506,8658,8660,8704,8707,null,null,null,null,null,null,null,null,null,null,null,8736,8869,8978,8706,8711,8801,8786,8810,8811,8730,8765,8733,8757,8747,8748,null,null,null,null,null,null,null,8491,8240,9839,9837,9834,8224,8225,182,null,null,null,null,9711,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,null,null,null,null,null,null,null,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,null,null,null,null,null,null,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,null,null,null,null,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,null,null,null,null,null,null,null,null,null,null,null,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,null,null,null,null,null,null,null,null,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,null,null,null,null,null,null,null,null,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,963,964,965,966,967,968,969,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1040,1041,1042,1043,1044,1045,1025,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1072,1073,1074,1075,1076,1077,1105,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,null,null,null,null,null,null,null,null,null,null,null,null,null,9472,9474,9484,9488,9496,9492,9500,9516,9508,9524,9532,9473,9475,9487,9491,9499,9495,9507,9523,9515,9531,9547,9504,9519,9512,9527,9535,9501,9520,9509,9528,9538,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,9323,9324,9325,9326,9327,9328,9329,9330,9331,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,null,13129,13076,13090,13133,13080,13095,13059,13110,13137,13143,13069,13094,13091,13099,13130,13115,13212,13213,13214,13198,13199,13252,13217,null,null,null,null,null,null,null,null,13179,12317,12319,8470,13261,8481,12964,12965,12966,12967,12968,12849,12850,12857,13182,13181,13180,8786,8801,8747,8750,8721,8730,8869,8736,8735,8895,8757,8745,8746,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20124,21782,23043,38463,21696,24859,25384,23030,36898,33909,33564,31312,24746,25569,28197,26093,33894,33446,39925,26771,22311,26017,25201,23451,22992,34427,39156,32098,32190,39822,25110,31903,34999,23433,24245,25353,26263,26696,38343,38797,26447,20197,20234,20301,20381,20553,22258,22839,22996,23041,23561,24799,24847,24944,26131,26885,28858,30031,30064,31227,32173,32239,32963,33806,34915,35586,36949,36986,21307,20117,20133,22495,32946,37057,30959,19968,22769,28322,36920,31282,33576,33419,39983,20801,21360,21693,21729,22240,23035,24341,39154,28139,32996,34093,38498,38512,38560,38907,21515,21491,23431,28879,32701,36802,38632,21359,40284,31418,19985,30867,33276,28198,22040,21764,27421,34074,39995,23013,21417,28006,29916,38287,22082,20113,36939,38642,33615,39180,21473,21942,23344,24433,26144,26355,26628,27704,27891,27945,29787,30408,31310,38964,33521,34907,35424,37613,28082,30123,30410,39365,24742,35585,36234,38322,27022,21421,20870,22290,22576,22852,23476,24310,24616,25513,25588,27839,28436,28814,28948,29017,29141,29503,32257,33398,33489,34199,36960,37467,40219,22633,26044,27738,29989,20985,22830,22885,24448,24540,25276,26106,27178,27431,27572,29579,32705,35158,40236,40206,40644,23713,27798,33659,20740,23627,25014,33222,26742,29281,20057,20474,21368,24681,28201,31311,38899,19979,21270,20206,20309,20285,20385,20339,21152,21487,22025,22799,23233,23478,23521,31185,26247,26524,26550,27468,27827,28779,29634,31117,31166,31292,31623,33457,33499,33540,33655,33775,33747,34662,35506,22057,36008,36838,36942,38686,34442,20420,23784,25105,29273,30011,33253,33469,34558,36032,38597,39187,39381,20171,20250,35299,22238,22602,22730,24315,24555,24618,24724,24674,25040,25106,25296,25913,39745,26214,26800,28023,28784,30028,30342,32117,33445,34809,38283,38542,35997,20977,21182,22806,21683,23475,23830,24936,27010,28079,30861,33995,34903,35442,37799,39608,28012,39336,34521,22435,26623,34510,37390,21123,22151,21508,24275,25313,25785,26684,26680,27579,29554,30906,31339,35226,35282,36203,36611,37101,38307,38548,38761,23398,23731,27005,38989,38990,25499,31520,27179,27263,26806,39949,28511,21106,21917,24688,25324,27963,28167,28369,33883,35088,36676,19988,39993,21494,26907,27194,38788,26666,20828,31427,33970,37340,37772,22107,40232,26658,33541,33841,31909,21e3,33477,29926,20094,20355,20896,23506,21002,21208,21223,24059,21914,22570,23014,23436,23448,23515,24178,24185,24739,24863,24931,25022,25563,25954,26577,26707,26874,27454,27475,27735,28450,28567,28485,29872,29976,30435,30475,31487,31649,31777,32233,32566,32752,32925,33382,33694,35251,35532,36011,36996,37969,38291,38289,38306,38501,38867,39208,33304,20024,21547,23736,24012,29609,30284,30524,23721,32747,36107,38593,38929,38996,39e3,20225,20238,21361,21916,22120,22522,22855,23305,23492,23696,24076,24190,24524,25582,26426,26071,26082,26399,26827,26820,27231,24112,27589,27671,27773,30079,31048,23395,31232,32e3,24509,35215,35352,36020,36215,36556,36637,39138,39438,39740,20096,20605,20736,22931,23452,25135,25216,25836,27450,29344,30097,31047,32681,34811,35516,35696,25516,33738,38816,21513,21507,21931,26708,27224,35440,30759,26485,40653,21364,23458,33050,34384,36870,19992,20037,20167,20241,21450,21560,23470,24339,24613,25937,26429,27714,27762,27875,28792,29699,31350,31406,31496,32026,31998,32102,26087,29275,21435,23621,24040,25298,25312,25369,28192,34394,35377,36317,37624,28417,31142,39770,20136,20139,20140,20379,20384,20689,20807,31478,20849,20982,21332,21281,21375,21483,21932,22659,23777,24375,24394,24623,24656,24685,25375,25945,27211,27841,29378,29421,30703,33016,33029,33288,34126,37111,37857,38911,39255,39514,20208,20957,23597,26241,26989,23616,26354,26997,29577,26704,31873,20677,21220,22343,24062,37670,26020,27427,27453,29748,31105,31165,31563,32202,33465,33740,34943,35167,35641,36817,37329,21535,37504,20061,20534,21477,21306,29399,29590,30697,33510,36527,39366,39368,39378,20855,24858,34398,21936,31354,20598,23507,36935,38533,20018,27355,37351,23633,23624,25496,31391,27795,38772,36705,31402,29066,38536,31874,26647,32368,26705,37740,21234,21531,34219,35347,32676,36557,37089,21350,34952,31041,20418,20670,21009,20804,21843,22317,29674,22411,22865,24418,24452,24693,24950,24935,25001,25522,25658,25964,26223,26690,28179,30054,31293,31995,32076,32153,32331,32619,33550,33610,34509,35336,35427,35686,36605,38938,40335,33464,36814,39912,21127,25119,25731,28608,38553,26689,20625,27424,27770,28500,31348,32080,34880,35363,26376,20214,20537,20518,20581,20860,21048,21091,21927,22287,22533,23244,24314,25010,25080,25331,25458,26908,27177,29309,29356,29486,30740,30831,32121,30476,32937,35211,35609,36066,36562,36963,37749,38522,38997,39443,40568,20803,21407,21427,24187,24358,28187,28304,29572,29694,32067,33335,35328,35578,38480,20046,20491,21476,21628,22266,22993,23396,24049,24235,24359,25144,25925,26543,28246,29392,31946,34996,32929,32993,33776,34382,35463,36328,37431,38599,39015,40723,20116,20114,20237,21320,21577,21566,23087,24460,24481,24735,26791,27278,29786,30849,35486,35492,35703,37264,20062,39881,20132,20348,20399,20505,20502,20809,20844,21151,21177,21246,21402,21475,21521,21518,21897,22353,22434,22909,23380,23389,23439,24037,24039,24055,24184,24195,24218,24247,24344,24658,24908,25239,25304,25511,25915,26114,26179,26356,26477,26657,26775,27083,27743,27946,28009,28207,28317,30002,30343,30828,31295,31968,32005,32024,32094,32177,32789,32771,32943,32945,33108,33167,33322,33618,34892,34913,35611,36002,36092,37066,37237,37489,30783,37628,38308,38477,38917,39321,39640,40251,21083,21163,21495,21512,22741,25335,28640,35946,36703,40633,20811,21051,21578,22269,31296,37239,40288,40658,29508,28425,33136,29969,24573,24794,39592,29403,36796,27492,38915,20170,22256,22372,22718,23130,24680,25031,26127,26118,26681,26801,28151,30165,32058,33390,39746,20123,20304,21449,21766,23919,24038,24046,26619,27801,29811,30722,35408,37782,35039,22352,24231,25387,20661,20652,20877,26368,21705,22622,22971,23472,24425,25165,25505,26685,27507,28168,28797,37319,29312,30741,30758,31085,25998,32048,33756,35009,36617,38555,21092,22312,26448,32618,36001,20916,22338,38442,22586,27018,32948,21682,23822,22524,30869,40442,20316,21066,21643,25662,26152,26388,26613,31364,31574,32034,37679,26716,39853,31545,21273,20874,21047,23519,25334,25774,25830,26413,27578,34217,38609,30352,39894,25420,37638,39851,30399,26194,19977,20632,21442,23665,24808,25746,25955,26719,29158,29642,29987,31639,32386,34453,35715,36059,37240,39184,26028,26283,27531,20181,20180,20282,20351,21050,21496,21490,21987,22235,22763,22987,22985,23039,23376,23629,24066,24107,24535,24605,25351,25903,23388,26031,26045,26088,26525,27490,27515,27663,29509,31049,31169,31992,32025,32043,32930,33026,33267,35222,35422,35433,35430,35468,35566,36039,36060,38604,39164,27503,20107,20284,20365,20816,23383,23546,24904,25345,26178,27425,28363,27835,29246,29885,30164,30913,31034,32780,32819,33258,33940,36766,27728,40575,24335,35672,40235,31482,36600,23437,38635,19971,21489,22519,22833,23241,23460,24713,28287,28422,30142,36074,23455,34048,31712,20594,26612,33437,23649,34122,32286,33294,20889,23556,25448,36198,26012,29038,31038,32023,32773,35613,36554,36974,34503,37034,20511,21242,23610,26451,28796,29237,37196,37320,37675,33509,23490,24369,24825,20027,21462,23432,25163,26417,27530,29417,29664,31278,33131,36259,37202,39318,20754,21463,21610,23551,25480,27193,32172,38656,22234,21454,21608,23447,23601,24030,20462,24833,25342,27954,31168,31179,32066,32333,32722,33261,33311,33936,34886,35186,35728,36468,36655,36913,37195,37228,38598,37276,20160,20303,20805,21313,24467,25102,26580,27713,28171,29539,32294,37325,37507,21460,22809,23487,28113,31069,32302,31899,22654,29087,20986,34899,36848,20426,23803,26149,30636,31459,33308,39423,20934,24490,26092,26991,27529,28147,28310,28516,30462,32020,24033,36981,37255,38918,20966,21021,25152,26257,26329,28186,24246,32210,32626,26360,34223,34295,35576,21161,21465,22899,24207,24464,24661,37604,38500,20663,20767,21213,21280,21319,21484,21736,21830,21809,22039,22888,22974,23100,23477,23558,23567,23569,23578,24196,24202,24288,24432,25215,25220,25307,25484,25463,26119,26124,26157,26230,26494,26786,27167,27189,27836,28040,28169,28248,28988,28966,29031,30151,30465,30813,30977,31077,31216,31456,31505,31911,32057,32918,33750,33931,34121,34909,35059,35359,35388,35412,35443,35937,36062,37284,37478,37758,37912,38556,38808,19978,19976,19998,20055,20887,21104,22478,22580,22732,23330,24120,24773,25854,26465,26454,27972,29366,30067,31331,33976,35698,37304,37664,22065,22516,39166,25325,26893,27542,29165,32340,32887,33394,35302,39135,34645,36785,23611,20280,20449,20405,21767,23072,23517,23529,24515,24910,25391,26032,26187,26862,27035,28024,28145,30003,30137,30495,31070,31206,32051,33251,33455,34218,35242,35386,36523,36763,36914,37341,38663,20154,20161,20995,22645,22764,23563,29978,23613,33102,35338,36805,38499,38765,31525,35535,38920,37218,22259,21416,36887,21561,22402,24101,25512,27700,28810,30561,31883,32736,34928,36930,37204,37648,37656,38543,29790,39620,23815,23913,25968,26530,36264,38619,25454,26441,26905,33733,38935,38592,35070,28548,25722,23544,19990,28716,30045,26159,20932,21046,21218,22995,24449,24615,25104,25919,25972,26143,26228,26866,26646,27491,28165,29298,29983,30427,31934,32854,22768,35069,35199,35488,35475,35531,36893,37266,38738,38745,25993,31246,33030,38587,24109,24796,25114,26021,26132,26512,30707,31309,31821,32318,33034,36012,36196,36321,36447,30889,20999,25305,25509,25666,25240,35373,31363,31680,35500,38634,32118,33292,34633,20185,20808,21315,21344,23459,23554,23574,24029,25126,25159,25776,26643,26676,27849,27973,27927,26579,28508,29006,29053,26059,31359,31661,32218,32330,32680,33146,33307,33337,34214,35438,36046,36341,36984,36983,37549,37521,38275,39854,21069,21892,28472,28982,20840,31109,32341,33203,31950,22092,22609,23720,25514,26366,26365,26970,29401,30095,30094,30990,31062,31199,31895,32032,32068,34311,35380,38459,36961,40736,20711,21109,21452,21474,20489,21930,22766,22863,29245,23435,23652,21277,24803,24819,25436,25475,25407,25531,25805,26089,26361,24035,27085,27133,28437,29157,20105,30185,30456,31379,31967,32207,32156,32865,33609,33624,33900,33980,34299,35013,36208,36865,36973,37783,38684,39442,20687,22679,24974,33235,34101,36104,36896,20419,20596,21063,21363,24687,25417,26463,28204,36275,36895,20439,23646,36042,26063,32154,21330,34966,20854,25539,23384,23403,23562,25613,26449,36956,20182,22810,22826,27760,35409,21822,22549,22949,24816,25171,26561,33333,26965,38464,39364,39464,20307,22534,23550,32784,23729,24111,24453,24608,24907,25140,26367,27888,28382,32974,33151,33492,34955,36024,36864,36910,38538,40667,39899,20195,21488,22823,31532,37261,38988,40441,28381,28711,21331,21828,23429,25176,25246,25299,27810,28655,29730,35351,37944,28609,35582,33592,20967,34552,21482,21481,20294,36948,36784,22890,33073,24061,31466,36799,26842,35895,29432,40008,27197,35504,20025,21336,22022,22374,25285,25506,26086,27470,28129,28251,28845,30701,31471,31658,32187,32829,32966,34507,35477,37723,22243,22727,24382,26029,26262,27264,27573,30007,35527,20516,30693,22320,24347,24677,26234,27744,30196,31258,32622,33268,34584,36933,39347,31689,30044,31481,31569,33988,36880,31209,31378,33590,23265,30528,20013,20210,23449,24544,25277,26172,26609,27880,34411,34935,35387,37198,37619,39376,27159,28710,29482,33511,33879,36015,19969,20806,20939,21899,23541,24086,24115,24193,24340,24373,24427,24500,25074,25361,26274,26397,28526,29266,30010,30522,32884,33081,33144,34678,35519,35548,36229,36339,37530,38263,38914,40165,21189,25431,30452,26389,27784,29645,36035,37806,38515,27941,22684,26894,27084,36861,37786,30171,36890,22618,26626,25524,27131,20291,28460,26584,36795,34086,32180,37716,26943,28528,22378,22775,23340,32044,29226,21514,37347,40372,20141,20302,20572,20597,21059,35998,21576,22564,23450,24093,24213,24237,24311,24351,24716,25269,25402,25552,26799,27712,30855,31118,31243,32224,33351,35330,35558,36420,36883,37048,37165,37336,40718,27877,25688,25826,25973,28404,30340,31515,36969,37841,28346,21746,24505,25764,36685,36845,37444,20856,22635,22825,23637,24215,28155,32399,29980,36028,36578,39003,28857,20253,27583,28593,3e4,38651,20814,21520,22581,22615,22956,23648,24466,26007,26460,28193,30331,33759,36077,36884,37117,37709,30757,30778,21162,24230,22303,22900,24594,20498,20826,20908,20941,20992,21776,22612,22616,22871,23445,23798,23947,24764,25237,25645,26481,26691,26812,26847,30423,28120,28271,28059,28783,29128,24403,30168,31095,31561,31572,31570,31958,32113,21040,33891,34153,34276,35342,35588,35910,36367,36867,36879,37913,38518,38957,39472,38360,20685,21205,21516,22530,23566,24999,25758,27934,30643,31461,33012,33796,36947,37509,23776,40199,21311,24471,24499,28060,29305,30563,31167,31716,27602,29420,35501,26627,27233,20984,31361,26932,23626,40182,33515,23493,37193,28702,22136,23663,24775,25958,27788,35930,36929,38931,21585,26311,37389,22856,37027,20869,20045,20970,34201,35598,28760,25466,37707,26978,39348,32260,30071,21335,26976,36575,38627,27741,20108,23612,24336,36841,21250,36049,32905,34425,24319,26085,20083,20837,22914,23615,38894,20219,22922,24525,35469,28641,31152,31074,23527,33905,29483,29105,24180,24565,25467,25754,29123,31896,20035,24316,20043,22492,22178,24745,28611,32013,33021,33075,33215,36786,35223,34468,24052,25226,25773,35207,26487,27874,27966,29750,30772,23110,32629,33453,39340,20467,24259,25309,25490,25943,26479,30403,29260,32972,32954,36649,37197,20493,22521,23186,26757,26995,29028,29437,36023,22770,36064,38506,36889,34687,31204,30695,33833,20271,21093,21338,25293,26575,27850,30333,31636,31893,33334,34180,36843,26333,28448,29190,32283,33707,39361,40614,20989,31665,30834,31672,32903,31560,27368,24161,32908,30033,30048,20843,37474,28300,30330,37271,39658,20240,32624,25244,31567,38309,40169,22138,22617,34532,38588,20276,21028,21322,21453,21467,24070,25644,26001,26495,27710,27726,29256,29359,29677,30036,32321,33324,34281,36009,31684,37318,29033,38930,39151,25405,26217,30058,30436,30928,34115,34542,21290,21329,21542,22915,24199,24444,24754,25161,25209,25259,26e3,27604,27852,30130,30382,30865,31192,32203,32631,32933,34987,35513,36027,36991,38750,39131,27147,31800,20633,23614,24494,26503,27608,29749,30473,32654,40763,26570,31255,21305,30091,39661,24422,33181,33777,32920,24380,24517,30050,31558,36924,26727,23019,23195,32016,30334,35628,20469,24426,27161,27703,28418,29922,31080,34920,35413,35961,24287,25551,30149,31186,33495,37672,37618,33948,34541,39981,21697,24428,25996,27996,28693,36007,36051,38971,25935,29942,19981,20184,22496,22827,23142,23500,20904,24067,24220,24598,25206,25975,26023,26222,28014,29238,31526,33104,33178,33433,35676,36e3,36070,36212,38428,38468,20398,25771,27494,33310,33889,34154,37096,23553,26963,39080,33914,34135,20239,21103,24489,24133,26381,31119,33145,35079,35206,28149,24343,25173,27832,20175,29289,39826,20998,21563,22132,22707,24996,25198,28954,22894,31881,31966,32027,38640,25991,32862,19993,20341,20853,22592,24163,24179,24330,26564,20006,34109,38281,38491,31859,38913,20731,22721,30294,30887,21029,30629,34065,31622,20559,22793,29255,31687,32232,36794,36820,36941,20415,21193,23081,24321,38829,20445,33303,37610,22275,25429,27497,29995,35036,36628,31298,21215,22675,24917,25098,26286,27597,31807,33769,20515,20472,21253,21574,22577,22857,23453,23792,23791,23849,24214,25265,25447,25918,26041,26379,27861,27873,28921,30770,32299,32990,33459,33804,34028,34562,35090,35370,35914,37030,37586,39165,40179,40300,20047,20129,20621,21078,22346,22952,24125,24536,24537,25151,26292,26395,26576,26834,20882,32033,32938,33192,35584,35980,36031,37502,38450,21536,38956,21271,20693,21340,22696,25778,26420,29287,30566,31302,37350,21187,27809,27526,22528,24140,22868,26412,32763,20961,30406,25705,30952,39764,40635,22475,22969,26151,26522,27598,21737,27097,24149,33180,26517,39850,26622,40018,26717,20134,20451,21448,25273,26411,27819,36804,20397,32365,40639,19975,24930,28288,28459,34067,21619,26410,39749,24051,31637,23724,23494,34588,28234,34001,31252,33032,22937,31885,27665,30496,21209,22818,28961,29279,30683,38695,40289,26891,23167,23064,20901,21517,21629,26126,30431,36855,37528,40180,23018,29277,28357,20813,26825,32191,32236,38754,40634,25720,27169,33538,22916,23391,27611,29467,30450,32178,32791,33945,20786,26408,40665,30446,26466,21247,39173,23588,25147,31870,36016,21839,24758,32011,38272,21249,20063,20918,22812,29242,32822,37326,24357,30690,21380,24441,32004,34220,35379,36493,38742,26611,34222,37971,24841,24840,27833,30290,35565,36664,21807,20305,20778,21191,21451,23461,24189,24736,24962,25558,26377,26586,28263,28044,29494,29495,30001,31056,35029,35480,36938,37009,37109,38596,34701,22805,20104,20313,19982,35465,36671,38928,20653,24188,22934,23481,24248,25562,25594,25793,26332,26954,27096,27915,28342,29076,29992,31407,32650,32768,33865,33993,35201,35617,36362,36965,38525,39178,24958,25233,27442,27779,28020,32716,32764,28096,32645,34746,35064,26469,33713,38972,38647,27931,32097,33853,37226,20081,21365,23888,27396,28651,34253,34349,35239,21033,21519,23653,26446,26792,29702,29827,30178,35023,35041,37324,38626,38520,24459,29575,31435,33870,25504,30053,21129,27969,28316,29705,30041,30827,31890,38534,31452,40845,20406,24942,26053,34396,20102,20142,20698,20001,20940,23534,26009,26753,28092,29471,30274,30637,31260,31975,33391,35538,36988,37327,38517,38936,21147,32209,20523,21400,26519,28107,29136,29747,33256,36650,38563,40023,40607,29792,22593,28057,32047,39006,20196,20278,20363,20919,21169,23994,24604,29618,31036,33491,37428,38583,38646,38666,40599,40802,26278,27508,21015,21155,28872,35010,24265,24651,24976,28451,29001,31806,32244,32879,34030,36899,37676,21570,39791,27347,28809,36034,36335,38706,21172,23105,24266,24324,26391,27004,27028,28010,28431,29282,29436,31725,32769,32894,34635,37070,20845,40595,31108,32907,37682,35542,20525,21644,35441,27498,36036,33031,24785,26528,40434,20121,20120,39952,35435,34241,34152,26880,28286,30871,33109,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,24332,19984,19989,20010,20017,20022,20028,20031,20034,20054,20056,20098,20101,35947,20106,33298,24333,20110,20126,20127,20128,20130,20144,20147,20150,20174,20173,20164,20166,20162,20183,20190,20205,20191,20215,20233,20314,20272,20315,20317,20311,20295,20342,20360,20367,20376,20347,20329,20336,20369,20335,20358,20374,20760,20436,20447,20430,20440,20443,20433,20442,20432,20452,20453,20506,20520,20500,20522,20517,20485,20252,20470,20513,20521,20524,20478,20463,20497,20486,20547,20551,26371,20565,20560,20552,20570,20566,20588,20600,20608,20634,20613,20660,20658,20681,20682,20659,20674,20694,20702,20709,20717,20707,20718,20729,20725,20745,20737,20738,20758,20757,20756,20762,20769,20794,20791,20796,20795,20799,20800,20818,20812,20820,20834,31480,20841,20842,20846,20864,20866,22232,20876,20873,20879,20881,20883,20885,20886,20900,20902,20898,20905,20906,20907,20915,20913,20914,20912,20917,20925,20933,20937,20955,20960,34389,20969,20973,20976,20981,20990,20996,21003,21012,21006,21031,21034,21038,21043,21049,21071,21060,21067,21068,21086,21076,21098,21108,21097,21107,21119,21117,21133,21140,21138,21105,21128,21137,36776,36775,21164,21165,21180,21173,21185,21197,21207,21214,21219,21222,39149,21216,21235,21237,21240,21241,21254,21256,30008,21261,21264,21263,21269,21274,21283,21295,21297,21299,21304,21312,21318,21317,19991,21321,21325,20950,21342,21353,21358,22808,21371,21367,21378,21398,21408,21414,21413,21422,21424,21430,21443,31762,38617,21471,26364,29166,21486,21480,21485,21498,21505,21565,21568,21548,21549,21564,21550,21558,21545,21533,21582,21647,21621,21646,21599,21617,21623,21616,21650,21627,21632,21622,21636,21648,21638,21703,21666,21688,21669,21676,21700,21704,21672,21675,21698,21668,21694,21692,21720,21733,21734,21775,21780,21757,21742,21741,21754,21730,21817,21824,21859,21836,21806,21852,21829,21846,21847,21816,21811,21853,21913,21888,21679,21898,21919,21883,21886,21912,21918,21934,21884,21891,21929,21895,21928,21978,21957,21983,21956,21980,21988,21972,22036,22007,22038,22014,22013,22043,22009,22094,22096,29151,22068,22070,22066,22072,22123,22116,22063,22124,22122,22150,22144,22154,22176,22164,22159,22181,22190,22198,22196,22210,22204,22209,22211,22208,22216,22222,22225,22227,22231,22254,22265,22272,22271,22276,22281,22280,22283,22285,22291,22296,22294,21959,22300,22310,22327,22328,22350,22331,22336,22351,22377,22464,22408,22369,22399,22409,22419,22432,22451,22436,22442,22448,22467,22470,22484,22482,22483,22538,22486,22499,22539,22553,22557,22642,22561,22626,22603,22640,27584,22610,22589,22649,22661,22713,22687,22699,22714,22750,22715,22712,22702,22725,22739,22737,22743,22745,22744,22757,22748,22756,22751,22767,22778,22777,22779,22780,22781,22786,22794,22800,22811,26790,22821,22828,22829,22834,22840,22846,31442,22869,22864,22862,22874,22872,22882,22880,22887,22892,22889,22904,22913,22941,20318,20395,22947,22962,22982,23016,23004,22925,23001,23002,23077,23071,23057,23068,23049,23066,23104,23148,23113,23093,23094,23138,23146,23194,23228,23230,23243,23234,23229,23267,23255,23270,23273,23254,23290,23291,23308,23307,23318,23346,23248,23338,23350,23358,23363,23365,23360,23377,23381,23386,23387,23397,23401,23408,23411,23413,23416,25992,23418,23424,23427,23462,23480,23491,23495,23497,23508,23504,23524,23526,23522,23518,23525,23531,23536,23542,23539,23557,23559,23560,23565,23571,23584,23586,23592,23608,23609,23617,23622,23630,23635,23632,23631,23409,23660,23662,20066,23670,23673,23692,23697,23700,22939,23723,23739,23734,23740,23735,23749,23742,23751,23769,23785,23805,23802,23789,23948,23786,23819,23829,23831,23900,23839,23835,23825,23828,23842,23834,23833,23832,23884,23890,23886,23883,23916,23923,23926,23943,23940,23938,23970,23965,23980,23982,23997,23952,23991,23996,24009,24013,24019,24018,24022,24027,24043,24050,24053,24075,24090,24089,24081,24091,24118,24119,24132,24131,24128,24142,24151,24148,24159,24162,24164,24135,24181,24182,24186,40636,24191,24224,24257,24258,24264,24272,24271,24278,24291,24285,24282,24283,24290,24289,24296,24297,24300,24305,24307,24304,24308,24312,24318,24323,24329,24413,24412,24331,24337,24342,24361,24365,24376,24385,24392,24396,24398,24367,24401,24406,24407,24409,24417,24429,24435,24439,24451,24450,24447,24458,24456,24465,24455,24478,24473,24472,24480,24488,24493,24508,24534,24571,24548,24568,24561,24541,24755,24575,24609,24672,24601,24592,24617,24590,24625,24603,24597,24619,24614,24591,24634,24666,24641,24682,24695,24671,24650,24646,24653,24675,24643,24676,24642,24684,24683,24665,24705,24717,24807,24707,24730,24708,24731,24726,24727,24722,24743,24715,24801,24760,24800,24787,24756,24560,24765,24774,24757,24792,24909,24853,24838,24822,24823,24832,24820,24826,24835,24865,24827,24817,24845,24846,24903,24894,24872,24871,24906,24895,24892,24876,24884,24893,24898,24900,24947,24951,24920,24921,24922,24939,24948,24943,24933,24945,24927,24925,24915,24949,24985,24982,24967,25004,24980,24986,24970,24977,25003,25006,25036,25034,25033,25079,25032,25027,25030,25018,25035,32633,25037,25062,25059,25078,25082,25076,25087,25085,25084,25086,25088,25096,25097,25101,25100,25108,25115,25118,25121,25130,25134,25136,25138,25139,25153,25166,25182,25187,25179,25184,25192,25212,25218,25225,25214,25234,25235,25238,25300,25219,25236,25303,25297,25275,25295,25343,25286,25812,25288,25308,25292,25290,25282,25287,25243,25289,25356,25326,25329,25383,25346,25352,25327,25333,25424,25406,25421,25628,25423,25494,25486,25472,25515,25462,25507,25487,25481,25503,25525,25451,25449,25534,25577,25536,25542,25571,25545,25554,25590,25540,25622,25652,25606,25619,25638,25654,25885,25623,25640,25615,25703,25711,25718,25678,25898,25749,25747,25765,25769,25736,25788,25818,25810,25797,25799,25787,25816,25794,25841,25831,33289,25824,25825,25260,25827,25839,25900,25846,25844,25842,25850,25856,25853,25880,25884,25861,25892,25891,25899,25908,25909,25911,25910,25912,30027,25928,25942,25941,25933,25944,25950,25949,25970,25976,25986,25987,35722,26011,26015,26027,26039,26051,26054,26049,26052,26060,26066,26075,26073,26080,26081,26097,26482,26122,26115,26107,26483,26165,26166,26164,26140,26191,26180,26185,26177,26206,26205,26212,26215,26216,26207,26210,26224,26243,26248,26254,26249,26244,26264,26269,26305,26297,26313,26302,26300,26308,26296,26326,26330,26336,26175,26342,26345,26352,26357,26359,26383,26390,26398,26406,26407,38712,26414,26431,26422,26433,26424,26423,26438,26462,26464,26457,26467,26468,26505,26480,26537,26492,26474,26508,26507,26534,26529,26501,26551,26607,26548,26604,26547,26601,26552,26596,26590,26589,26594,26606,26553,26574,26566,26599,27292,26654,26694,26665,26688,26701,26674,26702,26803,26667,26713,26723,26743,26751,26783,26767,26797,26772,26781,26779,26755,27310,26809,26740,26805,26784,26810,26895,26765,26750,26881,26826,26888,26840,26914,26918,26849,26892,26829,26836,26855,26837,26934,26898,26884,26839,26851,26917,26873,26848,26863,26920,26922,26906,26915,26913,26822,27001,26999,26972,27e3,26987,26964,27006,26990,26937,26996,26941,26969,26928,26977,26974,26973,27009,26986,27058,27054,27088,27071,27073,27091,27070,27086,23528,27082,27101,27067,27075,27047,27182,27025,27040,27036,27029,27060,27102,27112,27138,27163,27135,27402,27129,27122,27111,27141,27057,27166,27117,27156,27115,27146,27154,27329,27171,27155,27204,27148,27250,27190,27256,27207,27234,27225,27238,27208,27192,27170,27280,27277,27296,27268,27298,27299,27287,34327,27323,27331,27330,27320,27315,27308,27358,27345,27359,27306,27354,27370,27387,27397,34326,27386,27410,27414,39729,27423,27448,27447,30428,27449,39150,27463,27459,27465,27472,27481,27476,27483,27487,27489,27512,27513,27519,27520,27524,27523,27533,27544,27541,27550,27556,27562,27563,27567,27570,27569,27571,27575,27580,27590,27595,27603,27615,27628,27627,27635,27631,40638,27656,27667,27668,27675,27684,27683,27742,27733,27746,27754,27778,27789,27802,27777,27803,27774,27752,27763,27794,27792,27844,27889,27859,27837,27863,27845,27869,27822,27825,27838,27834,27867,27887,27865,27882,27935,34893,27958,27947,27965,27960,27929,27957,27955,27922,27916,28003,28051,28004,27994,28025,27993,28046,28053,28644,28037,28153,28181,28170,28085,28103,28134,28088,28102,28140,28126,28108,28136,28114,28101,28154,28121,28132,28117,28138,28142,28205,28270,28206,28185,28274,28255,28222,28195,28267,28203,28278,28237,28191,28227,28218,28238,28196,28415,28189,28216,28290,28330,28312,28361,28343,28371,28349,28335,28356,28338,28372,28373,28303,28325,28354,28319,28481,28433,28748,28396,28408,28414,28479,28402,28465,28399,28466,28364,28478,28435,28407,28550,28538,28536,28545,28544,28527,28507,28659,28525,28546,28540,28504,28558,28561,28610,28518,28595,28579,28577,28580,28601,28614,28586,28639,28629,28652,28628,28632,28657,28654,28635,28681,28683,28666,28689,28673,28687,28670,28699,28698,28532,28701,28696,28703,28720,28734,28722,28753,28771,28825,28818,28847,28913,28844,28856,28851,28846,28895,28875,28893,28889,28937,28925,28956,28953,29029,29013,29064,29030,29026,29004,29014,29036,29071,29179,29060,29077,29096,29100,29143,29113,29118,29138,29129,29140,29134,29152,29164,29159,29173,29180,29177,29183,29197,29200,29211,29224,29229,29228,29232,29234,29243,29244,29247,29248,29254,29259,29272,29300,29310,29314,29313,29319,29330,29334,29346,29351,29369,29362,29379,29382,29380,29390,29394,29410,29408,29409,29433,29431,20495,29463,29450,29468,29462,29469,29492,29487,29481,29477,29502,29518,29519,40664,29527,29546,29544,29552,29560,29557,29563,29562,29640,29619,29646,29627,29632,29669,29678,29662,29858,29701,29807,29733,29688,29746,29754,29781,29759,29791,29785,29761,29788,29801,29808,29795,29802,29814,29822,29835,29854,29863,29898,29903,29908,29681,29920,29923,29927,29929,29934,29938,29936,29937,29944,29943,29956,29955,29957,29964,29966,29965,29973,29971,29982,29990,29996,30012,30020,30029,30026,30025,30043,30022,30042,30057,30052,30055,30059,30061,30072,30070,30086,30087,30068,30090,30089,30082,30100,30106,30109,30117,30115,30146,30131,30147,30133,30141,30136,30140,30129,30157,30154,30162,30169,30179,30174,30206,30207,30204,30209,30192,30202,30194,30195,30219,30221,30217,30239,30247,30240,30241,30242,30244,30260,30256,30267,30279,30280,30278,30300,30296,30305,30306,30312,30313,30314,30311,30316,30320,30322,30326,30328,30332,30336,30339,30344,30347,30350,30358,30355,30361,30362,30384,30388,30392,30393,30394,30402,30413,30422,30418,30430,30433,30437,30439,30442,34351,30459,30472,30471,30468,30505,30500,30494,30501,30502,30491,30519,30520,30535,30554,30568,30571,30555,30565,30591,30590,30585,30606,30603,30609,30624,30622,30640,30646,30649,30655,30652,30653,30651,30663,30669,30679,30682,30684,30691,30702,30716,30732,30738,31014,30752,31018,30789,30862,30836,30854,30844,30874,30860,30883,30901,30890,30895,30929,30918,30923,30932,30910,30908,30917,30922,30956,30951,30938,30973,30964,30983,30994,30993,31001,31020,31019,31040,31072,31063,31071,31066,31061,31059,31098,31103,31114,31133,31143,40779,31146,31150,31155,31161,31162,31177,31189,31207,31212,31201,31203,31240,31245,31256,31257,31264,31263,31104,31281,31291,31294,31287,31299,31319,31305,31329,31330,31337,40861,31344,31353,31357,31368,31383,31381,31384,31382,31401,31432,31408,31414,31429,31428,31423,36995,31431,31434,31437,31439,31445,31443,31449,31450,31453,31457,31458,31462,31469,31472,31490,31503,31498,31494,31539,31512,31513,31518,31541,31528,31542,31568,31610,31492,31565,31499,31564,31557,31605,31589,31604,31591,31600,31601,31596,31598,31645,31640,31647,31629,31644,31642,31627,31634,31631,31581,31641,31691,31681,31692,31695,31668,31686,31709,31721,31761,31764,31718,31717,31840,31744,31751,31763,31731,31735,31767,31757,31734,31779,31783,31786,31775,31799,31787,31805,31820,31811,31828,31823,31808,31824,31832,31839,31844,31830,31845,31852,31861,31875,31888,31908,31917,31906,31915,31905,31912,31923,31922,31921,31918,31929,31933,31936,31941,31938,31960,31954,31964,31970,39739,31983,31986,31988,31990,31994,32006,32002,32028,32021,32010,32069,32075,32046,32050,32063,32053,32070,32115,32086,32078,32114,32104,32110,32079,32099,32147,32137,32091,32143,32125,32155,32186,32174,32163,32181,32199,32189,32171,32317,32162,32175,32220,32184,32159,32176,32216,32221,32228,32222,32251,32242,32225,32261,32266,32291,32289,32274,32305,32287,32265,32267,32290,32326,32358,32315,32309,32313,32323,32311,32306,32314,32359,32349,32342,32350,32345,32346,32377,32362,32361,32380,32379,32387,32213,32381,36782,32383,32392,32393,32396,32402,32400,32403,32404,32406,32398,32411,32412,32568,32570,32581,32588,32589,32590,32592,32593,32597,32596,32600,32607,32608,32616,32617,32615,32632,32642,32646,32643,32648,32647,32652,32660,32670,32669,32666,32675,32687,32690,32697,32686,32694,32696,35697,32709,32710,32714,32725,32724,32737,32742,32745,32755,32761,39132,32774,32772,32779,32786,32792,32793,32796,32801,32808,32831,32827,32842,32838,32850,32856,32858,32863,32866,32872,32883,32882,32880,32886,32889,32893,32895,32900,32902,32901,32923,32915,32922,32941,20880,32940,32987,32997,32985,32989,32964,32986,32982,33033,33007,33009,33051,33065,33059,33071,33099,38539,33094,33086,33107,33105,33020,33137,33134,33125,33126,33140,33155,33160,33162,33152,33154,33184,33173,33188,33187,33119,33171,33193,33200,33205,33214,33208,33213,33216,33218,33210,33225,33229,33233,33241,33240,33224,33242,33247,33248,33255,33274,33275,33278,33281,33282,33285,33287,33290,33293,33296,33302,33321,33323,33336,33331,33344,33369,33368,33373,33370,33375,33380,33378,33384,33386,33387,33326,33393,33399,33400,33406,33421,33426,33451,33439,33467,33452,33505,33507,33503,33490,33524,33523,33530,33683,33539,33531,33529,33502,33542,33500,33545,33497,33589,33588,33558,33586,33585,33600,33593,33616,33605,33583,33579,33559,33560,33669,33690,33706,33695,33698,33686,33571,33678,33671,33674,33660,33717,33651,33653,33696,33673,33704,33780,33811,33771,33742,33789,33795,33752,33803,33729,33783,33799,33760,33778,33805,33826,33824,33725,33848,34054,33787,33901,33834,33852,34138,33924,33911,33899,33965,33902,33922,33897,33862,33836,33903,33913,33845,33994,33890,33977,33983,33951,34009,33997,33979,34010,34e3,33985,33990,34006,33953,34081,34047,34036,34071,34072,34092,34079,34069,34068,34044,34112,34147,34136,34120,34113,34306,34123,34133,34176,34212,34184,34193,34186,34216,34157,34196,34203,34282,34183,34204,34167,34174,34192,34249,34234,34255,34233,34256,34261,34269,34277,34268,34297,34314,34323,34315,34302,34298,34310,34338,34330,34352,34367,34381,20053,34388,34399,34407,34417,34451,34467,34473,34474,34443,34444,34486,34479,34500,34502,34480,34505,34851,34475,34516,34526,34537,34540,34527,34523,34543,34578,34566,34568,34560,34563,34555,34577,34569,34573,34553,34570,34612,34623,34615,34619,34597,34601,34586,34656,34655,34680,34636,34638,34676,34647,34664,34670,34649,34643,34659,34666,34821,34722,34719,34690,34735,34763,34749,34752,34768,38614,34731,34756,34739,34759,34758,34747,34799,34802,34784,34831,34829,34814,34806,34807,34830,34770,34833,34838,34837,34850,34849,34865,34870,34873,34855,34875,34884,34882,34898,34905,34910,34914,34923,34945,34942,34974,34933,34941,34997,34930,34946,34967,34962,34990,34969,34978,34957,34980,34992,35007,34993,35011,35012,35028,35032,35033,35037,35065,35074,35068,35060,35048,35058,35076,35084,35082,35091,35139,35102,35109,35114,35115,35137,35140,35131,35126,35128,35148,35101,35168,35166,35174,35172,35181,35178,35183,35188,35191,35198,35203,35208,35210,35219,35224,35233,35241,35238,35244,35247,35250,35258,35261,35263,35264,35290,35292,35293,35303,35316,35320,35331,35350,35344,35340,35355,35357,35365,35382,35393,35419,35410,35398,35400,35452,35437,35436,35426,35461,35458,35460,35496,35489,35473,35493,35494,35482,35491,35524,35533,35522,35546,35563,35571,35559,35556,35569,35604,35552,35554,35575,35550,35547,35596,35591,35610,35553,35606,35600,35607,35616,35635,38827,35622,35627,35646,35624,35649,35660,35663,35662,35657,35670,35675,35674,35691,35679,35692,35695,35700,35709,35712,35724,35726,35730,35731,35734,35737,35738,35898,35905,35903,35912,35916,35918,35920,35925,35938,35948,35960,35962,35970,35977,35973,35978,35981,35982,35988,35964,35992,25117,36013,36010,36029,36018,36019,36014,36022,36040,36033,36068,36067,36058,36093,36090,36091,36100,36101,36106,36103,36111,36109,36112,40782,36115,36045,36116,36118,36199,36205,36209,36211,36225,36249,36290,36286,36282,36303,36314,36310,36300,36315,36299,36330,36331,36319,36323,36348,36360,36361,36351,36381,36382,36368,36383,36418,36405,36400,36404,36426,36423,36425,36428,36432,36424,36441,36452,36448,36394,36451,36437,36470,36466,36476,36481,36487,36485,36484,36491,36490,36499,36497,36500,36505,36522,36513,36524,36528,36550,36529,36542,36549,36552,36555,36571,36579,36604,36603,36587,36606,36618,36613,36629,36626,36633,36627,36636,36639,36635,36620,36646,36659,36667,36665,36677,36674,36670,36684,36681,36678,36686,36695,36700,36706,36707,36708,36764,36767,36771,36781,36783,36791,36826,36837,36834,36842,36847,36999,36852,36869,36857,36858,36881,36885,36897,36877,36894,36886,36875,36903,36918,36917,36921,36856,36943,36944,36945,36946,36878,36937,36926,36950,36952,36958,36968,36975,36982,38568,36978,36994,36989,36993,36992,37002,37001,37007,37032,37039,37041,37045,37090,37092,25160,37083,37122,37138,37145,37170,37168,37194,37206,37208,37219,37221,37225,37235,37234,37259,37257,37250,37282,37291,37295,37290,37301,37300,37306,37312,37313,37321,37323,37328,37334,37343,37345,37339,37372,37365,37366,37406,37375,37396,37420,37397,37393,37470,37463,37445,37449,37476,37448,37525,37439,37451,37456,37532,37526,37523,37531,37466,37583,37561,37559,37609,37647,37626,37700,37678,37657,37666,37658,37667,37690,37685,37691,37724,37728,37756,37742,37718,37808,37804,37805,37780,37817,37846,37847,37864,37861,37848,37827,37853,37840,37832,37860,37914,37908,37907,37891,37895,37904,37942,37931,37941,37921,37946,37953,37970,37956,37979,37984,37986,37982,37994,37417,38e3,38005,38007,38013,37978,38012,38014,38017,38015,38274,38279,38282,38292,38294,38296,38297,38304,38312,38311,38317,38332,38331,38329,38334,38346,28662,38339,38349,38348,38357,38356,38358,38364,38369,38373,38370,38433,38440,38446,38447,38466,38476,38479,38475,38519,38492,38494,38493,38495,38502,38514,38508,38541,38552,38549,38551,38570,38567,38577,38578,38576,38580,38582,38584,38585,38606,38603,38601,38605,35149,38620,38669,38613,38649,38660,38662,38664,38675,38670,38673,38671,38678,38681,38692,38698,38704,38713,38717,38718,38724,38726,38728,38722,38729,38748,38752,38756,38758,38760,21202,38763,38769,38777,38789,38780,38785,38778,38790,38795,38799,38800,38812,38824,38822,38819,38835,38836,38851,38854,38856,38859,38876,38893,40783,38898,31455,38902,38901,38927,38924,38968,38948,38945,38967,38973,38982,38991,38987,39019,39023,39024,39025,39028,39027,39082,39087,39089,39094,39108,39107,39110,39145,39147,39171,39177,39186,39188,39192,39201,39197,39198,39204,39200,39212,39214,39229,39230,39234,39241,39237,39248,39243,39249,39250,39244,39253,39319,39320,39333,39341,39342,39356,39391,39387,39389,39384,39377,39405,39406,39409,39410,39419,39416,39425,39439,39429,39394,39449,39467,39479,39493,39490,39488,39491,39486,39509,39501,39515,39511,39519,39522,39525,39524,39529,39531,39530,39597,39600,39612,39616,39631,39633,39635,39636,39646,39647,39650,39651,39654,39663,39659,39662,39668,39665,39671,39675,39686,39704,39706,39711,39714,39715,39717,39719,39720,39721,39722,39726,39727,39730,39748,39747,39759,39757,39758,39761,39768,39796,39827,39811,39825,39830,39831,39839,39840,39848,39860,39872,39882,39865,39878,39887,39889,39890,39907,39906,39908,39892,39905,39994,39922,39921,39920,39957,39956,39945,39955,39948,39942,39944,39954,39946,39940,39982,39963,39973,39972,39969,39984,40007,39986,40006,39998,40026,40032,40039,40054,40056,40167,40172,40176,40201,40200,40171,40195,40198,40234,40230,40367,40227,40223,40260,40213,40210,40257,40255,40254,40262,40264,40285,40286,40292,40273,40272,40281,40306,40329,40327,40363,40303,40314,40346,40356,40361,40370,40388,40385,40379,40376,40378,40390,40399,40386,40409,40403,40440,40422,40429,40431,40445,40474,40475,40478,40565,40569,40573,40577,40584,40587,40588,40594,40597,40593,40605,40613,40617,40632,40618,40621,38753,40652,40654,40655,40656,40660,40668,40670,40669,40672,40677,40680,40687,40692,40694,40695,40697,40699,40700,40701,40711,40712,30391,40725,40737,40748,40766,40778,40786,40788,40803,40799,40800,40801,40806,40807,40812,40810,40823,40818,40822,40853,40860,40864,22575,27079,36953,29796,20956,29081,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,32394,35100,37704,37512,34012,20425,28859,26161,26824,37625,26363,24389,20008,20193,20220,20224,20227,20281,20310,20370,20362,20378,20372,20429,20544,20514,20479,20510,20550,20592,20546,20628,20724,20696,20810,20836,20893,20926,20972,21013,21148,21158,21184,21211,21248,21255,21284,21362,21395,21426,21469,64014,21660,21642,21673,21759,21894,22361,22373,22444,22472,22471,64015,64016,22686,22706,22795,22867,22875,22877,22883,22948,22970,23382,23488,29999,23512,23532,23582,23718,23738,23797,23847,23891,64017,23874,23917,23992,23993,24016,24353,24372,24423,24503,24542,24669,24709,24714,24798,24789,24864,24818,24849,24887,24880,24984,25107,25254,25589,25696,25757,25806,25934,26112,26133,26171,26121,26158,26142,26148,26213,26199,26201,64018,26227,26265,26272,26290,26303,26362,26382,63785,26470,26555,26706,26560,26625,26692,26831,64019,26984,64020,27032,27106,27184,27243,27206,27251,27262,27362,27364,27606,27711,27740,27782,27759,27866,27908,28039,28015,28054,28076,28111,28152,28146,28156,28217,28252,28199,28220,28351,28552,28597,28661,28677,28679,28712,28805,28843,28943,28932,29020,28998,28999,64021,29121,29182,29361,29374,29476,64022,29559,29629,29641,29654,29667,29650,29703,29685,29734,29738,29737,29742,29794,29833,29855,29953,30063,30338,30364,30366,30363,30374,64023,30534,21167,30753,30798,30820,30842,31024,64024,64025,64026,31124,64027,31131,31441,31463,64028,31467,31646,64029,32072,32092,32183,32160,32214,32338,32583,32673,64030,33537,33634,33663,33735,33782,33864,33972,34131,34137,34155,64031,34224,64032,64033,34823,35061,35346,35383,35449,35495,35518,35551,64034,35574,35667,35711,36080,36084,36114,36214,64035,36559,64036,64037,36967,37086,64038,37141,37159,37338,37335,37342,37357,37358,37348,37349,37382,37392,37386,37434,37440,37436,37454,37465,37457,37433,37479,37543,37495,37496,37607,37591,37593,37584,64039,37589,37600,37587,37669,37665,37627,64040,37662,37631,37661,37634,37744,37719,37796,37830,37854,37880,37937,37957,37960,38290,63964,64041,38557,38575,38707,38715,38723,38733,38735,38737,38741,38999,39013,64042,64043,39207,64044,39326,39502,39641,39644,39797,39794,39823,39857,39867,39936,40304,40299,64045,40473,40657,null,null,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,65506,65508,65287,65282,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,65506,65508,65287,65282,12849,8470,8481,8757,32394,35100,37704,37512,34012,20425,28859,26161,26824,37625,26363,24389,20008,20193,20220,20224,20227,20281,20310,20370,20362,20378,20372,20429,20544,20514,20479,20510,20550,20592,20546,20628,20724,20696,20810,20836,20893,20926,20972,21013,21148,21158,21184,21211,21248,21255,21284,21362,21395,21426,21469,64014,21660,21642,21673,21759,21894,22361,22373,22444,22472,22471,64015,64016,22686,22706,22795,22867,22875,22877,22883,22948,22970,23382,23488,29999,23512,23532,23582,23718,23738,23797,23847,23891,64017,23874,23917,23992,23993,24016,24353,24372,24423,24503,24542,24669,24709,24714,24798,24789,24864,24818,24849,24887,24880,24984,25107,25254,25589,25696,25757,25806,25934,26112,26133,26171,26121,26158,26142,26148,26213,26199,26201,64018,26227,26265,26272,26290,26303,26362,26382,63785,26470,26555,26706,26560,26625,26692,26831,64019,26984,64020,27032,27106,27184,27243,27206,27251,27262,27362,27364,27606,27711,27740,27782,27759,27866,27908,28039,28015,28054,28076,28111,28152,28146,28156,28217,28252,28199,28220,28351,28552,28597,28661,28677,28679,28712,28805,28843,28943,28932,29020,28998,28999,64021,29121,29182,29361,29374,29476,64022,29559,29629,29641,29654,29667,29650,29703,29685,29734,29738,29737,29742,29794,29833,29855,29953,30063,30338,30364,30366,30363,30374,64023,30534,21167,30753,30798,30820,30842,31024,64024,64025,64026,31124,64027,31131,31441,31463,64028,31467,31646,64029,32072,32092,32183,32160,32214,32338,32583,32673,64030,33537,33634,33663,33735,33782,33864,33972,34131,34137,34155,64031,34224,64032,64033,34823,35061,35346,35383,35449,35495,35518,35551,64034,35574,35667,35711,36080,36084,36114,36214,64035,36559,64036,64037,36967,37086,64038,37141,37159,37338,37335,37342,37357,37358,37348,37349,37382,37392,37386,37434,37440,37436,37454,37465,37457,37433,37479,37543,37495,37496,37607,37591,37593,37584,64039,37589,37600,37587,37669,37665,37627,64040,37662,37631,37661,37634,37744,37719,37796,37830,37854,37880,37937,37957,37960,38290,63964,64041,38557,38575,38707,38715,38723,38733,38735,38737,38741,38999,39013,64042,64043,39207,64044,39326,39502,39641,39644,39797,39794,39823,39857,39867,39936,40304,40299,64045,40473,40657,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],jis0212:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,728,711,184,729,733,175,731,730,65374,900,901,null,null,null,null,null,null,null,null,161,166,191,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,186,170,169,174,8482,164,8470,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,902,904,905,906,938,null,908,null,910,939,null,911,null,null,null,null,940,941,942,943,970,912,972,962,973,971,944,974,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1038,1039,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1118,1119,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,198,272,null,294,null,306,null,321,319,null,330,216,338,null,358,222,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,230,273,240,295,305,307,312,322,320,329,331,248,339,223,359,254,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,193,192,196,194,258,461,256,260,197,195,262,264,268,199,266,270,201,200,203,202,282,278,274,280,null,284,286,290,288,292,205,204,207,206,463,304,298,302,296,308,310,313,317,315,323,327,325,209,211,210,214,212,465,336,332,213,340,344,342,346,348,352,350,356,354,218,217,220,219,364,467,368,362,370,366,360,471,475,473,469,372,221,376,374,377,381,379,null,null,null,null,null,null,null,225,224,228,226,259,462,257,261,229,227,263,265,269,231,267,271,233,232,235,234,283,279,275,281,501,285,287,null,289,293,237,236,239,238,464,null,299,303,297,309,311,314,318,316,324,328,326,241,243,242,246,244,466,337,333,245,341,345,343,347,349,353,351,357,355,250,249,252,251,365,468,369,363,371,367,361,472,476,474,470,373,253,255,375,378,382,380,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,19970,19972,19973,19980,19986,19999,20003,20004,20008,20011,20014,20015,20016,20021,20032,20033,20036,20039,20049,20058,20060,20067,20072,20073,20084,20085,20089,20095,20109,20118,20119,20125,20143,20153,20163,20176,20186,20187,20192,20193,20194,20200,20207,20209,20211,20213,20221,20222,20223,20224,20226,20227,20232,20235,20236,20242,20245,20246,20247,20249,20270,20273,20320,20275,20277,20279,20281,20283,20286,20288,20290,20296,20297,20299,20300,20306,20308,20310,20312,20319,20323,20330,20332,20334,20337,20343,20344,20345,20346,20349,20350,20353,20354,20356,20357,20361,20362,20364,20366,20368,20370,20371,20372,20375,20377,20378,20382,20383,20402,20407,20409,20411,20412,20413,20414,20416,20417,20421,20422,20424,20425,20427,20428,20429,20431,20434,20444,20448,20450,20464,20466,20476,20477,20479,20480,20481,20484,20487,20490,20492,20494,20496,20499,20503,20504,20507,20508,20509,20510,20514,20519,20526,20528,20530,20531,20533,20544,20545,20546,20549,20550,20554,20556,20558,20561,20562,20563,20567,20569,20575,20576,20578,20579,20582,20583,20586,20589,20592,20593,20539,20609,20611,20612,20614,20618,20622,20623,20624,20626,20627,20628,20630,20635,20636,20638,20639,20640,20641,20642,20650,20655,20656,20665,20666,20669,20672,20675,20676,20679,20684,20686,20688,20691,20692,20696,20700,20701,20703,20706,20708,20710,20712,20713,20719,20721,20726,20730,20734,20739,20742,20743,20744,20747,20748,20749,20750,20722,20752,20759,20761,20763,20764,20765,20766,20771,20775,20776,20780,20781,20783,20785,20787,20788,20789,20792,20793,20802,20810,20815,20819,20821,20823,20824,20831,20836,20838,20862,20867,20868,20875,20878,20888,20893,20897,20899,20909,20920,20922,20924,20926,20927,20930,20936,20943,20945,20946,20947,20949,20952,20958,20962,20965,20974,20978,20979,20980,20983,20993,20994,20997,21010,21011,21013,21014,21016,21026,21032,21041,21042,21045,21052,21061,21065,21077,21079,21080,21082,21084,21087,21088,21089,21094,21102,21111,21112,21113,21120,21122,21125,21130,21132,21139,21141,21142,21143,21144,21146,21148,21156,21157,21158,21159,21167,21168,21174,21175,21176,21178,21179,21181,21184,21188,21190,21192,21196,21199,21201,21204,21206,21211,21212,21217,21221,21224,21225,21226,21228,21232,21233,21236,21238,21239,21248,21251,21258,21259,21260,21265,21267,21272,21275,21276,21278,21279,21285,21287,21288,21289,21291,21292,21293,21296,21298,21301,21308,21309,21310,21314,21324,21323,21337,21339,21345,21347,21349,21356,21357,21362,21369,21374,21379,21383,21384,21390,21395,21396,21401,21405,21409,21412,21418,21419,21423,21426,21428,21429,21431,21432,21434,21437,21440,21445,21455,21458,21459,21461,21466,21469,21470,21472,21478,21479,21493,21506,21523,21530,21537,21543,21544,21546,21551,21553,21556,21557,21571,21572,21575,21581,21583,21598,21602,21604,21606,21607,21609,21611,21613,21614,21620,21631,21633,21635,21637,21640,21641,21645,21649,21653,21654,21660,21663,21665,21670,21671,21673,21674,21677,21678,21681,21687,21689,21690,21691,21695,21702,21706,21709,21710,21728,21738,21740,21743,21750,21756,21758,21759,21760,21761,21765,21768,21769,21772,21773,21774,21781,21802,21803,21810,21813,21814,21819,21820,21821,21825,21831,21833,21834,21837,21840,21841,21848,21850,21851,21854,21856,21857,21860,21862,21887,21889,21890,21894,21896,21902,21903,21905,21906,21907,21908,21911,21923,21924,21933,21938,21951,21953,21955,21958,21961,21963,21964,21966,21969,21970,21971,21975,21976,21979,21982,21986,21993,22006,22015,22021,22024,22026,22029,22030,22031,22032,22033,22034,22041,22060,22064,22067,22069,22071,22073,22075,22076,22077,22079,22080,22081,22083,22084,22086,22089,22091,22093,22095,22100,22110,22112,22113,22114,22115,22118,22121,22125,22127,22129,22130,22133,22148,22149,22152,22155,22156,22165,22169,22170,22173,22174,22175,22182,22183,22184,22185,22187,22188,22189,22193,22195,22199,22206,22213,22217,22218,22219,22223,22224,22220,22221,22233,22236,22237,22239,22241,22244,22245,22246,22247,22248,22257,22251,22253,22262,22263,22273,22274,22279,22282,22284,22289,22293,22298,22299,22301,22304,22306,22307,22308,22309,22313,22314,22316,22318,22319,22323,22324,22333,22334,22335,22341,22342,22348,22349,22354,22370,22373,22375,22376,22379,22381,22382,22383,22384,22385,22387,22388,22389,22391,22393,22394,22395,22396,22398,22401,22403,22412,22420,22423,22425,22426,22428,22429,22430,22431,22433,22421,22439,22440,22441,22444,22456,22461,22471,22472,22476,22479,22485,22493,22494,22500,22502,22503,22505,22509,22512,22517,22518,22520,22525,22526,22527,22531,22532,22536,22537,22497,22540,22541,22555,22558,22559,22560,22566,22567,22573,22578,22585,22591,22601,22604,22605,22607,22608,22613,22623,22625,22628,22631,22632,22648,22652,22655,22656,22657,22663,22664,22665,22666,22668,22669,22671,22672,22676,22678,22685,22688,22689,22690,22694,22697,22705,22706,22724,22716,22722,22728,22733,22734,22736,22738,22740,22742,22746,22749,22753,22754,22761,22771,22789,22790,22795,22796,22802,22803,22804,34369,22813,22817,22819,22820,22824,22831,22832,22835,22837,22838,22847,22851,22854,22866,22867,22873,22875,22877,22878,22879,22881,22883,22891,22893,22895,22898,22901,22902,22905,22907,22908,22923,22924,22926,22930,22933,22935,22943,22948,22951,22957,22958,22959,22960,22963,22967,22970,22972,22977,22979,22980,22984,22986,22989,22994,23005,23006,23007,23011,23012,23015,23022,23023,23025,23026,23028,23031,23040,23044,23052,23053,23054,23058,23059,23070,23075,23076,23079,23080,23082,23085,23088,23108,23109,23111,23112,23116,23120,23125,23134,23139,23141,23143,23149,23159,23162,23163,23166,23179,23184,23187,23190,23193,23196,23198,23199,23200,23202,23207,23212,23217,23218,23219,23221,23224,23226,23227,23231,23236,23238,23240,23247,23258,23260,23264,23269,23274,23278,23285,23286,23293,23296,23297,23304,23319,23348,23321,23323,23325,23329,23333,23341,23352,23361,23371,23372,23378,23382,23390,23400,23406,23407,23420,23421,23422,23423,23425,23428,23430,23434,23438,23440,23441,23443,23444,23446,23464,23465,23468,23469,23471,23473,23474,23479,23482,23484,23488,23489,23501,23503,23510,23511,23512,23513,23514,23520,23535,23537,23540,23549,23564,23575,23582,23583,23587,23590,23593,23595,23596,23598,23600,23602,23605,23606,23641,23642,23644,23650,23651,23655,23656,23657,23661,23664,23668,23669,23674,23675,23676,23677,23687,23688,23690,23695,23698,23709,23711,23712,23714,23715,23718,23722,23730,23732,23733,23738,23753,23755,23762,23773,23767,23790,23793,23794,23796,23809,23814,23821,23826,23851,23843,23844,23846,23847,23857,23860,23865,23869,23871,23874,23875,23878,23880,23893,23889,23897,23882,23903,23904,23905,23906,23908,23914,23917,23920,23929,23930,23934,23935,23937,23939,23944,23946,23954,23955,23956,23957,23961,23963,23967,23968,23975,23979,23984,23988,23992,23993,24003,24007,24011,24016,24014,24024,24025,24032,24036,24041,24056,24057,24064,24071,24077,24082,24084,24085,24088,24095,24096,24110,24104,24114,24117,24126,24139,24144,24137,24145,24150,24152,24155,24156,24158,24168,24170,24171,24172,24173,24174,24176,24192,24203,24206,24226,24228,24229,24232,24234,24236,24241,24243,24253,24254,24255,24262,24268,24267,24270,24273,24274,24276,24277,24284,24286,24293,24299,24322,24326,24327,24328,24334,24345,24348,24349,24353,24354,24355,24356,24360,24363,24364,24366,24368,24372,24374,24379,24381,24383,24384,24388,24389,24391,24397,24400,24404,24408,24411,24416,24419,24420,24423,24431,24434,24436,24437,24440,24442,24445,24446,24457,24461,24463,24470,24476,24477,24482,24487,24491,24484,24492,24495,24496,24497,24504,24516,24519,24520,24521,24523,24528,24529,24530,24531,24532,24542,24545,24546,24552,24553,24554,24556,24557,24558,24559,24562,24563,24566,24570,24572,24583,24586,24589,24595,24596,24599,24600,24602,24607,24612,24621,24627,24629,24640,24647,24648,24649,24652,24657,24660,24662,24663,24669,24673,24679,24689,24702,24703,24706,24710,24712,24714,24718,24721,24723,24725,24728,24733,24734,24738,24740,24741,24744,24752,24753,24759,24763,24766,24770,24772,24776,24777,24778,24779,24782,24783,24788,24789,24793,24795,24797,24798,24802,24805,24818,24821,24824,24828,24829,24834,24839,24842,24844,24848,24849,24850,24851,24852,24854,24855,24857,24860,24862,24866,24874,24875,24880,24881,24885,24886,24887,24889,24897,24901,24902,24905,24926,24928,24940,24946,24952,24955,24956,24959,24960,24961,24963,24964,24971,24973,24978,24979,24983,24984,24988,24989,24991,24992,24997,25e3,25002,25005,25016,25017,25020,25024,25025,25026,25038,25039,25045,25052,25053,25054,25055,25057,25058,25063,25065,25061,25068,25069,25071,25089,25091,25092,25095,25107,25109,25116,25120,25122,25123,25127,25129,25131,25145,25149,25154,25155,25156,25158,25164,25168,25169,25170,25172,25174,25178,25180,25188,25197,25199,25203,25210,25213,25229,25230,25231,25232,25254,25256,25267,25270,25271,25274,25278,25279,25284,25294,25301,25302,25306,25322,25330,25332,25340,25341,25347,25348,25354,25355,25357,25360,25363,25366,25368,25385,25386,25389,25397,25398,25401,25404,25409,25410,25411,25412,25414,25418,25419,25422,25426,25427,25428,25432,25435,25445,25446,25452,25453,25457,25460,25461,25464,25468,25469,25471,25474,25476,25479,25482,25488,25492,25493,25497,25498,25502,25508,25510,25517,25518,25519,25533,25537,25541,25544,25550,25553,25555,25556,25557,25564,25568,25573,25578,25580,25586,25587,25589,25592,25593,25609,25610,25616,25618,25620,25624,25630,25632,25634,25636,25637,25641,25642,25647,25648,25653,25661,25663,25675,25679,25681,25682,25683,25684,25690,25691,25692,25693,25695,25696,25697,25699,25709,25715,25716,25723,25725,25733,25735,25743,25744,25745,25752,25753,25755,25757,25759,25761,25763,25766,25768,25772,25779,25789,25790,25791,25796,25801,25802,25803,25804,25806,25808,25809,25813,25815,25828,25829,25833,25834,25837,25840,25845,25847,25851,25855,25857,25860,25864,25865,25866,25871,25875,25876,25878,25881,25883,25886,25887,25890,25894,25897,25902,25905,25914,25916,25917,25923,25927,25929,25936,25938,25940,25951,25952,25959,25963,25978,25981,25985,25989,25994,26002,26005,26008,26013,26016,26019,26022,26030,26034,26035,26036,26047,26050,26056,26057,26062,26064,26068,26070,26072,26079,26096,26098,26100,26101,26105,26110,26111,26112,26116,26120,26121,26125,26129,26130,26133,26134,26141,26142,26145,26146,26147,26148,26150,26153,26154,26155,26156,26158,26160,26161,26163,26169,26167,26176,26181,26182,26186,26188,26193,26190,26199,26200,26201,26203,26204,26208,26209,26363,26218,26219,26220,26238,26227,26229,26239,26231,26232,26233,26235,26240,26236,26251,26252,26253,26256,26258,26265,26266,26267,26268,26271,26272,26276,26285,26289,26290,26293,26299,26303,26304,26306,26307,26312,26316,26318,26319,26324,26331,26335,26344,26347,26348,26350,26362,26373,26375,26382,26387,26393,26396,26400,26402,26419,26430,26437,26439,26440,26444,26452,26453,26461,26470,26476,26478,26484,26486,26491,26497,26500,26510,26511,26513,26515,26518,26520,26521,26523,26544,26545,26546,26549,26555,26556,26557,26617,26560,26562,26563,26565,26568,26569,26578,26583,26585,26588,26593,26598,26608,26610,26614,26615,26706,26644,26649,26653,26655,26664,26663,26668,26669,26671,26672,26673,26675,26683,26687,26692,26693,26698,26700,26709,26711,26712,26715,26731,26734,26735,26736,26737,26738,26741,26745,26746,26747,26748,26754,26756,26758,26760,26774,26776,26778,26780,26785,26787,26789,26793,26794,26798,26802,26811,26821,26824,26828,26831,26832,26833,26835,26838,26841,26844,26845,26853,26856,26858,26859,26860,26861,26864,26865,26869,26870,26875,26876,26877,26886,26889,26890,26896,26897,26899,26902,26903,26929,26931,26933,26936,26939,26946,26949,26953,26958,26967,26971,26979,26980,26981,26982,26984,26985,26988,26992,26993,26994,27002,27003,27007,27008,27021,27026,27030,27032,27041,27045,27046,27048,27051,27053,27055,27063,27064,27066,27068,27077,27080,27089,27094,27095,27106,27109,27118,27119,27121,27123,27125,27134,27136,27137,27139,27151,27153,27157,27162,27165,27168,27172,27176,27184,27186,27188,27191,27195,27198,27199,27205,27206,27209,27210,27214,27216,27217,27218,27221,27222,27227,27236,27239,27242,27249,27251,27262,27265,27267,27270,27271,27273,27275,27281,27291,27293,27294,27295,27301,27307,27311,27312,27313,27316,27325,27326,27327,27334,27337,27336,27340,27344,27348,27349,27350,27356,27357,27364,27367,27372,27376,27377,27378,27388,27389,27394,27395,27398,27399,27401,27407,27408,27409,27415,27419,27422,27428,27432,27435,27436,27439,27445,27446,27451,27455,27462,27466,27469,27474,27478,27480,27485,27488,27495,27499,27502,27504,27509,27517,27518,27522,27525,27543,27547,27551,27552,27554,27555,27560,27561,27564,27565,27566,27568,27576,27577,27581,27582,27587,27588,27593,27596,27606,27610,27617,27619,27622,27623,27630,27633,27639,27641,27647,27650,27652,27653,27657,27661,27662,27664,27666,27673,27679,27686,27687,27688,27692,27694,27699,27701,27702,27706,27707,27711,27722,27723,27725,27727,27730,27732,27737,27739,27740,27755,27757,27759,27764,27766,27768,27769,27771,27781,27782,27783,27785,27796,27797,27799,27800,27804,27807,27824,27826,27828,27842,27846,27853,27855,27856,27857,27858,27860,27862,27866,27868,27872,27879,27881,27883,27884,27886,27890,27892,27908,27911,27914,27918,27919,27921,27923,27930,27942,27943,27944,27751,27950,27951,27953,27961,27964,27967,27991,27998,27999,28001,28005,28007,28015,28016,28028,28034,28039,28049,28050,28052,28054,28055,28056,28074,28076,28084,28087,28089,28093,28095,28100,28104,28106,28110,28111,28118,28123,28125,28127,28128,28130,28133,28137,28143,28144,28148,28150,28156,28160,28164,28190,28194,28199,28210,28214,28217,28219,28220,28228,28229,28232,28233,28235,28239,28241,28242,28243,28244,28247,28252,28253,28254,28258,28259,28264,28275,28283,28285,28301,28307,28313,28320,28327,28333,28334,28337,28339,28347,28351,28352,28353,28355,28359,28360,28362,28365,28366,28367,28395,28397,28398,28409,28411,28413,28420,28424,28426,28428,28429,28438,28440,28442,28443,28454,28457,28458,28463,28464,28467,28470,28475,28476,28461,28495,28497,28498,28499,28503,28505,28506,28509,28510,28513,28514,28520,28524,28541,28542,28547,28551,28552,28555,28556,28557,28560,28562,28563,28564,28566,28570,28575,28576,28581,28582,28583,28584,28590,28591,28592,28597,28598,28604,28613,28615,28616,28618,28634,28638,28648,28649,28656,28661,28665,28668,28669,28672,28677,28678,28679,28685,28695,28704,28707,28719,28724,28727,28729,28732,28739,28740,28744,28745,28746,28747,28756,28757,28765,28766,28750,28772,28773,28780,28782,28789,28790,28798,28801,28805,28806,28820,28821,28822,28823,28824,28827,28836,28843,28848,28849,28852,28855,28874,28881,28883,28884,28885,28886,28888,28892,28900,28922,28931,28932,28933,28934,28935,28939,28940,28943,28958,28960,28971,28973,28975,28976,28977,28984,28993,28997,28998,28999,29002,29003,29008,29010,29015,29018,29020,29022,29024,29032,29049,29056,29061,29063,29068,29074,29082,29083,29088,29090,29103,29104,29106,29107,29114,29119,29120,29121,29124,29131,29132,29139,29142,29145,29146,29148,29176,29182,29184,29191,29192,29193,29203,29207,29210,29213,29215,29220,29227,29231,29236,29240,29241,29249,29250,29251,29253,29262,29263,29264,29267,29269,29270,29274,29276,29278,29280,29283,29288,29291,29294,29295,29297,29303,29304,29307,29308,29311,29316,29321,29325,29326,29331,29339,29352,29357,29358,29361,29364,29374,29377,29383,29385,29388,29397,29398,29400,29407,29413,29427,29428,29434,29435,29438,29442,29444,29445,29447,29451,29453,29458,29459,29464,29465,29470,29474,29476,29479,29480,29484,29489,29490,29493,29498,29499,29501,29507,29517,29520,29522,29526,29528,29533,29534,29535,29536,29542,29543,29545,29547,29548,29550,29551,29553,29559,29561,29564,29568,29569,29571,29573,29574,29582,29584,29587,29589,29591,29592,29596,29598,29599,29600,29602,29605,29606,29610,29611,29613,29621,29623,29625,29628,29629,29631,29637,29638,29641,29643,29644,29647,29650,29651,29654,29657,29661,29665,29667,29670,29671,29673,29684,29685,29687,29689,29690,29691,29693,29695,29696,29697,29700,29703,29706,29713,29722,29723,29732,29734,29736,29737,29738,29739,29740,29741,29742,29743,29744,29745,29753,29760,29763,29764,29766,29767,29771,29773,29777,29778,29783,29789,29794,29798,29799,29800,29803,29805,29806,29809,29810,29824,29825,29829,29830,29831,29833,29839,29840,29841,29842,29848,29849,29850,29852,29855,29856,29857,29859,29862,29864,29865,29866,29867,29870,29871,29873,29874,29877,29881,29883,29887,29896,29897,29900,29904,29907,29912,29914,29915,29918,29919,29924,29928,29930,29931,29935,29940,29946,29947,29948,29951,29958,29970,29974,29975,29984,29985,29988,29991,29993,29994,29999,30006,30009,30013,30014,30015,30016,30019,30023,30024,30030,30032,30034,30039,30046,30047,30049,30063,30065,30073,30074,30075,30076,30077,30078,30081,30085,30096,30098,30099,30101,30105,30108,30114,30116,30132,30138,30143,30144,30145,30148,30150,30156,30158,30159,30167,30172,30175,30176,30177,30180,30183,30188,30190,30191,30193,30201,30208,30210,30211,30212,30215,30216,30218,30220,30223,30226,30227,30229,30230,30233,30235,30236,30237,30238,30243,30245,30246,30249,30253,30258,30259,30261,30264,30265,30266,30268,30282,30272,30273,30275,30276,30277,30281,30283,30293,30297,30303,30308,30309,30317,30318,30319,30321,30324,30337,30341,30348,30349,30357,30363,30364,30365,30367,30368,30370,30371,30372,30373,30374,30375,30376,30378,30381,30397,30401,30405,30409,30411,30412,30414,30420,30425,30432,30438,30440,30444,30448,30449,30454,30457,30460,30464,30470,30474,30478,30482,30484,30485,30487,30489,30490,30492,30498,30504,30509,30510,30511,30516,30517,30518,30521,30525,30526,30530,30533,30534,30538,30541,30542,30543,30546,30550,30551,30556,30558,30559,30560,30562,30564,30567,30570,30572,30576,30578,30579,30580,30586,30589,30592,30596,30604,30605,30612,30613,30614,30618,30623,30626,30631,30634,30638,30639,30641,30645,30654,30659,30665,30673,30674,30677,30681,30686,30687,30688,30692,30694,30698,30700,30704,30705,30708,30712,30715,30725,30726,30729,30733,30734,30737,30749,30753,30754,30755,30765,30766,30768,30773,30775,30787,30788,30791,30792,30796,30798,30802,30812,30814,30816,30817,30819,30820,30824,30826,30830,30842,30846,30858,30863,30868,30872,30881,30877,30878,30879,30884,30888,30892,30893,30896,30897,30898,30899,30907,30909,30911,30919,30920,30921,30924,30926,30930,30931,30933,30934,30948,30939,30943,30944,30945,30950,30954,30962,30963,30976,30966,30967,30970,30971,30975,30982,30988,30992,31002,31004,31006,31007,31008,31013,31015,31017,31021,31025,31028,31029,31035,31037,31039,31044,31045,31046,31050,31051,31055,31057,31060,31064,31067,31068,31079,31081,31083,31090,31097,31099,31100,31102,31115,31116,31121,31123,31124,31125,31126,31128,31131,31132,31137,31144,31145,31147,31151,31153,31156,31160,31163,31170,31172,31175,31176,31178,31183,31188,31190,31194,31197,31198,31200,31202,31205,31210,31211,31213,31217,31224,31228,31234,31235,31239,31241,31242,31244,31249,31253,31259,31262,31265,31271,31275,31277,31279,31280,31284,31285,31288,31289,31290,31300,31301,31303,31304,31308,31317,31318,31321,31324,31325,31327,31328,31333,31335,31338,31341,31349,31352,31358,31360,31362,31365,31366,31370,31371,31376,31377,31380,31390,31392,31395,31404,31411,31413,31417,31419,31420,31430,31433,31436,31438,31441,31451,31464,31465,31467,31468,31473,31476,31483,31485,31486,31495,31508,31519,31523,31527,31529,31530,31531,31533,31534,31535,31536,31537,31540,31549,31551,31552,31553,31559,31566,31573,31584,31588,31590,31593,31594,31597,31599,31602,31603,31607,31620,31625,31630,31632,31633,31638,31643,31646,31648,31653,31660,31663,31664,31666,31669,31670,31674,31675,31676,31677,31682,31685,31688,31690,31700,31702,31703,31705,31706,31707,31720,31722,31730,31732,31733,31736,31737,31738,31740,31742,31745,31746,31747,31748,31750,31753,31755,31756,31758,31759,31769,31771,31776,31781,31782,31784,31788,31793,31795,31796,31798,31801,31802,31814,31818,31829,31825,31826,31827,31833,31834,31835,31836,31837,31838,31841,31843,31847,31849,31853,31854,31856,31858,31865,31868,31869,31878,31879,31887,31892,31902,31904,31910,31920,31926,31927,31930,31931,31932,31935,31940,31943,31944,31945,31949,31951,31955,31956,31957,31959,31961,31962,31965,31974,31977,31979,31989,32003,32007,32008,32009,32015,32017,32018,32019,32022,32029,32030,32035,32038,32042,32045,32049,32060,32061,32062,32064,32065,32071,32072,32077,32081,32083,32087,32089,32090,32092,32093,32101,32103,32106,32112,32120,32122,32123,32127,32129,32130,32131,32133,32134,32136,32139,32140,32141,32145,32150,32151,32157,32158,32166,32167,32170,32179,32182,32183,32185,32194,32195,32196,32197,32198,32204,32205,32206,32215,32217,32256,32226,32229,32230,32234,32235,32237,32241,32245,32246,32249,32250,32264,32272,32273,32277,32279,32284,32285,32288,32295,32296,32300,32301,32303,32307,32310,32319,32324,32325,32327,32334,32336,32338,32344,32351,32353,32354,32357,32363,32366,32367,32371,32376,32382,32385,32390,32391,32394,32397,32401,32405,32408,32410,32413,32414,32572,32571,32573,32574,32575,32579,32580,32583,32591,32594,32595,32603,32604,32605,32609,32611,32612,32613,32614,32621,32625,32637,32638,32639,32640,32651,32653,32655,32656,32657,32662,32663,32668,32673,32674,32678,32682,32685,32692,32700,32703,32704,32707,32712,32718,32719,32731,32735,32739,32741,32744,32748,32750,32751,32754,32762,32765,32766,32767,32775,32776,32778,32781,32782,32783,32785,32787,32788,32790,32797,32798,32799,32800,32804,32806,32812,32814,32816,32820,32821,32823,32825,32826,32828,32830,32832,32836,32864,32868,32870,32877,32881,32885,32897,32904,32910,32924,32926,32934,32935,32939,32952,32953,32968,32973,32975,32978,32980,32981,32983,32984,32992,33005,33006,33008,33010,33011,33014,33017,33018,33022,33027,33035,33046,33047,33048,33052,33054,33056,33060,33063,33068,33072,33077,33082,33084,33093,33095,33098,33100,33106,33111,33120,33121,33127,33128,33129,33133,33135,33143,33153,33168,33156,33157,33158,33163,33166,33174,33176,33179,33182,33186,33198,33202,33204,33211,33227,33219,33221,33226,33230,33231,33237,33239,33243,33245,33246,33249,33252,33259,33260,33264,33265,33266,33269,33270,33272,33273,33277,33279,33280,33283,33295,33299,33300,33305,33306,33309,33313,33314,33320,33330,33332,33338,33347,33348,33349,33350,33355,33358,33359,33361,33366,33372,33376,33379,33383,33389,33396,33403,33405,33407,33408,33409,33411,33412,33415,33417,33418,33422,33425,33428,33430,33432,33434,33435,33440,33441,33443,33444,33447,33448,33449,33450,33454,33456,33458,33460,33463,33466,33468,33470,33471,33478,33488,33493,33498,33504,33506,33508,33512,33514,33517,33519,33526,33527,33533,33534,33536,33537,33543,33544,33546,33547,33620,33563,33565,33566,33567,33569,33570,33580,33581,33582,33584,33587,33591,33594,33596,33597,33602,33603,33604,33607,33613,33614,33617,33621,33622,33623,33648,33656,33661,33663,33664,33666,33668,33670,33677,33682,33684,33685,33688,33689,33691,33692,33693,33702,33703,33705,33708,33726,33727,33728,33735,33737,33743,33744,33745,33748,33757,33619,33768,33770,33782,33784,33785,33788,33793,33798,33802,33807,33809,33813,33817,33709,33839,33849,33861,33863,33864,33866,33869,33871,33873,33874,33878,33880,33881,33882,33884,33888,33892,33893,33895,33898,33904,33907,33908,33910,33912,33916,33917,33921,33925,33938,33939,33941,33950,33958,33960,33961,33962,33967,33969,33972,33978,33981,33982,33984,33986,33991,33992,33996,33999,34003,34012,34023,34026,34031,34032,34033,34034,34039,34098,34042,34043,34045,34050,34051,34055,34060,34062,34064,34076,34078,34082,34083,34084,34085,34087,34090,34091,34095,34099,34100,34102,34111,34118,34127,34128,34129,34130,34131,34134,34137,34140,34141,34142,34143,34144,34145,34146,34148,34155,34159,34169,34170,34171,34173,34175,34177,34181,34182,34185,34187,34188,34191,34195,34200,34205,34207,34208,34210,34213,34215,34228,34230,34231,34232,34236,34237,34238,34239,34242,34247,34250,34251,34254,34221,34264,34266,34271,34272,34278,34280,34285,34291,34294,34300,34303,34304,34308,34309,34317,34318,34320,34321,34322,34328,34329,34331,34334,34337,34343,34345,34358,34360,34362,34364,34365,34368,34370,34374,34386,34387,34390,34391,34392,34393,34397,34400,34401,34402,34403,34404,34409,34412,34415,34421,34422,34423,34426,34445,34449,34454,34456,34458,34460,34465,34470,34471,34472,34477,34481,34483,34484,34485,34487,34488,34489,34495,34496,34497,34499,34501,34513,34514,34517,34519,34522,34524,34528,34531,34533,34535,34440,34554,34556,34557,34564,34565,34567,34571,34574,34575,34576,34579,34580,34585,34590,34591,34593,34595,34600,34606,34607,34609,34610,34617,34618,34620,34621,34622,34624,34627,34629,34637,34648,34653,34657,34660,34661,34671,34673,34674,34683,34691,34692,34693,34694,34695,34696,34697,34699,34700,34704,34707,34709,34711,34712,34713,34718,34720,34723,34727,34732,34733,34734,34737,34741,34750,34751,34753,34760,34761,34762,34766,34773,34774,34777,34778,34780,34783,34786,34787,34788,34794,34795,34797,34801,34803,34808,34810,34815,34817,34819,34822,34825,34826,34827,34832,34841,34834,34835,34836,34840,34842,34843,34844,34846,34847,34856,34861,34862,34864,34866,34869,34874,34876,34881,34883,34885,34888,34889,34890,34891,34894,34897,34901,34902,34904,34906,34908,34911,34912,34916,34921,34929,34937,34939,34944,34968,34970,34971,34972,34975,34976,34984,34986,35002,35005,35006,35008,35018,35019,35020,35021,35022,35025,35026,35027,35035,35038,35047,35055,35056,35057,35061,35063,35073,35078,35085,35086,35087,35093,35094,35096,35097,35098,35100,35104,35110,35111,35112,35120,35121,35122,35125,35129,35130,35134,35136,35138,35141,35142,35145,35151,35154,35159,35162,35163,35164,35169,35170,35171,35179,35182,35184,35187,35189,35194,35195,35196,35197,35209,35213,35216,35220,35221,35227,35228,35231,35232,35237,35248,35252,35253,35254,35255,35260,35284,35285,35286,35287,35288,35301,35305,35307,35309,35313,35315,35318,35321,35325,35327,35332,35333,35335,35343,35345,35346,35348,35349,35358,35360,35362,35364,35366,35371,35372,35375,35381,35383,35389,35390,35392,35395,35397,35399,35401,35405,35406,35411,35414,35415,35416,35420,35421,35425,35429,35431,35445,35446,35447,35449,35450,35451,35454,35455,35456,35459,35462,35467,35471,35472,35474,35478,35479,35481,35487,35495,35497,35502,35503,35507,35510,35511,35515,35518,35523,35526,35528,35529,35530,35537,35539,35540,35541,35543,35549,35551,35564,35568,35572,35573,35574,35580,35583,35589,35590,35595,35601,35612,35614,35615,35594,35629,35632,35639,35644,35650,35651,35652,35653,35654,35656,35666,35667,35668,35673,35661,35678,35683,35693,35702,35704,35705,35708,35710,35713,35716,35717,35723,35725,35727,35732,35733,35740,35742,35743,35896,35897,35901,35902,35909,35911,35913,35915,35919,35921,35923,35924,35927,35928,35931,35933,35929,35939,35940,35942,35944,35945,35949,35955,35957,35958,35963,35966,35974,35975,35979,35984,35986,35987,35993,35995,35996,36004,36025,36026,36037,36038,36041,36043,36047,36054,36053,36057,36061,36065,36072,36076,36079,36080,36082,36085,36087,36088,36094,36095,36097,36099,36105,36114,36119,36123,36197,36201,36204,36206,36223,36226,36228,36232,36237,36240,36241,36245,36254,36255,36256,36262,36267,36268,36271,36274,36277,36279,36281,36283,36288,36293,36294,36295,36296,36298,36302,36305,36308,36309,36311,36313,36324,36325,36327,36332,36336,36284,36337,36338,36340,36349,36353,36356,36357,36358,36363,36369,36372,36374,36384,36385,36386,36387,36390,36391,36401,36403,36406,36407,36408,36409,36413,36416,36417,36427,36429,36430,36431,36436,36443,36444,36445,36446,36449,36450,36457,36460,36461,36463,36464,36465,36473,36474,36475,36482,36483,36489,36496,36498,36501,36506,36507,36509,36510,36514,36519,36521,36525,36526,36531,36533,36538,36539,36544,36545,36547,36548,36551,36559,36561,36564,36572,36584,36590,36592,36593,36599,36601,36602,36589,36608,36610,36615,36616,36623,36624,36630,36631,36632,36638,36640,36641,36643,36645,36647,36648,36652,36653,36654,36660,36661,36662,36663,36666,36672,36673,36675,36679,36687,36689,36690,36691,36692,36693,36696,36701,36702,36709,36765,36768,36769,36772,36773,36774,36789,36790,36792,36798,36800,36801,36806,36810,36811,36813,36816,36818,36819,36821,36832,36835,36836,36840,36846,36849,36853,36854,36859,36862,36866,36868,36872,36876,36888,36891,36904,36905,36911,36906,36908,36909,36915,36916,36919,36927,36931,36932,36940,36955,36957,36962,36966,36967,36972,36976,36980,36985,36997,37e3,37003,37004,37006,37008,37013,37015,37016,37017,37019,37024,37025,37026,37029,37040,37042,37043,37044,37046,37053,37068,37054,37059,37060,37061,37063,37064,37077,37079,37080,37081,37084,37085,37087,37093,37074,37110,37099,37103,37104,37108,37118,37119,37120,37124,37125,37126,37128,37133,37136,37140,37142,37143,37144,37146,37148,37150,37152,37157,37154,37155,37159,37161,37166,37167,37169,37172,37174,37175,37177,37178,37180,37181,37187,37191,37192,37199,37203,37207,37209,37210,37211,37217,37220,37223,37229,37236,37241,37242,37243,37249,37251,37253,37254,37258,37262,37265,37267,37268,37269,37272,37278,37281,37286,37288,37292,37293,37294,37296,37297,37298,37299,37302,37307,37308,37309,37311,37314,37315,37317,37331,37332,37335,37337,37338,37342,37348,37349,37353,37354,37356,37357,37358,37359,37360,37361,37367,37369,37371,37373,37376,37377,37380,37381,37382,37383,37385,37386,37388,37392,37394,37395,37398,37400,37404,37405,37411,37412,37413,37414,37416,37422,37423,37424,37427,37429,37430,37432,37433,37434,37436,37438,37440,37442,37443,37446,37447,37450,37453,37454,37455,37457,37464,37465,37468,37469,37472,37473,37477,37479,37480,37481,37486,37487,37488,37493,37494,37495,37496,37497,37499,37500,37501,37503,37512,37513,37514,37517,37518,37522,37527,37529,37535,37536,37540,37541,37543,37544,37547,37551,37554,37558,37560,37562,37563,37564,37565,37567,37568,37569,37570,37571,37573,37574,37575,37576,37579,37580,37581,37582,37584,37587,37589,37591,37592,37593,37596,37597,37599,37600,37601,37603,37605,37607,37608,37612,37614,37616,37625,37627,37631,37632,37634,37640,37645,37649,37652,37653,37660,37661,37662,37663,37665,37668,37669,37671,37673,37674,37683,37684,37686,37687,37703,37704,37705,37712,37713,37714,37717,37719,37720,37722,37726,37732,37733,37735,37737,37738,37741,37743,37744,37745,37747,37748,37750,37754,37757,37759,37760,37761,37762,37768,37770,37771,37773,37775,37778,37781,37784,37787,37790,37793,37795,37796,37798,37800,37803,37812,37813,37814,37818,37801,37825,37828,37829,37830,37831,37833,37834,37835,37836,37837,37843,37849,37852,37854,37855,37858,37862,37863,37881,37879,37880,37882,37883,37885,37889,37890,37892,37896,37897,37901,37902,37903,37909,37910,37911,37919,37934,37935,37937,37938,37939,37940,37947,37951,37949,37955,37957,37960,37962,37964,37973,37977,37980,37983,37985,37987,37992,37995,37997,37998,37999,38001,38002,38020,38019,38264,38265,38270,38276,38280,38284,38285,38286,38301,38302,38303,38305,38310,38313,38315,38316,38324,38326,38330,38333,38335,38342,38344,38345,38347,38352,38353,38354,38355,38361,38362,38365,38366,38367,38368,38372,38374,38429,38430,38434,38436,38437,38438,38444,38449,38451,38455,38456,38457,38458,38460,38461,38465,38482,38484,38486,38487,38488,38497,38510,38516,38523,38524,38526,38527,38529,38530,38531,38532,38537,38545,38550,38554,38557,38559,38564,38565,38566,38569,38574,38575,38579,38586,38602,38610,23986,38616,38618,38621,38622,38623,38633,38639,38641,38650,38658,38659,38661,38665,38682,38683,38685,38689,38690,38691,38696,38705,38707,38721,38723,38730,38734,38735,38741,38743,38744,38746,38747,38755,38759,38762,38766,38771,38774,38775,38776,38779,38781,38783,38784,38793,38805,38806,38807,38809,38810,38814,38815,38818,38828,38830,38833,38834,38837,38838,38840,38841,38842,38844,38846,38847,38849,38852,38853,38855,38857,38858,38860,38861,38862,38864,38865,38868,38871,38872,38873,38877,38878,38880,38875,38881,38884,38895,38897,38900,38903,38904,38906,38919,38922,38937,38925,38926,38932,38934,38940,38942,38944,38947,38950,38955,38958,38959,38960,38962,38963,38965,38949,38974,38980,38983,38986,38993,38994,38995,38998,38999,39001,39002,39010,39011,39013,39014,39018,39020,39083,39085,39086,39088,39092,39095,39096,39098,39099,39103,39106,39109,39112,39116,39137,39139,39141,39142,39143,39146,39155,39158,39170,39175,39176,39185,39189,39190,39191,39194,39195,39196,39199,39202,39206,39207,39211,39217,39218,39219,39220,39221,39225,39226,39227,39228,39232,39233,39238,39239,39240,39245,39246,39252,39256,39257,39259,39260,39262,39263,39264,39323,39325,39327,39334,39344,39345,39346,39349,39353,39354,39357,39359,39363,39369,39379,39380,39385,39386,39388,39390,39399,39402,39403,39404,39408,39412,39413,39417,39421,39422,39426,39427,39428,39435,39436,39440,39441,39446,39454,39456,39458,39459,39460,39463,39469,39470,39475,39477,39478,39480,39495,39489,39492,39498,39499,39500,39502,39505,39508,39510,39517,39594,39596,39598,39599,39602,39604,39605,39606,39609,39611,39614,39615,39617,39619,39622,39624,39630,39632,39634,39637,39638,39639,39643,39644,39648,39652,39653,39655,39657,39660,39666,39667,39669,39673,39674,39677,39679,39680,39681,39682,39683,39684,39685,39688,39689,39691,39692,39693,39694,39696,39698,39702,39705,39707,39708,39712,39718,39723,39725,39731,39732,39733,39735,39737,39738,39741,39752,39755,39756,39765,39766,39767,39771,39774,39777,39779,39781,39782,39784,39786,39787,39788,39789,39790,39795,39797,39799,39800,39801,39807,39808,39812,39813,39814,39815,39817,39818,39819,39821,39823,39824,39828,39834,39837,39838,39846,39847,39849,39852,39856,39857,39858,39863,39864,39867,39868,39870,39871,39873,39879,39880,39886,39888,39895,39896,39901,39903,39909,39911,39914,39915,39919,39923,39927,39928,39929,39930,39933,39935,39936,39938,39947,39951,39953,39958,39960,39961,39962,39964,39966,39970,39971,39974,39975,39976,39977,39978,39985,39989,39990,39991,39997,40001,40003,40004,40005,40009,40010,40014,40015,40016,40019,40020,40022,40024,40027,40029,40030,40031,40035,40041,40042,40028,40043,40040,40046,40048,40050,40053,40055,40059,40166,40178,40183,40185,40203,40194,40209,40215,40216,40220,40221,40222,40239,40240,40242,40243,40244,40250,40252,40261,40253,40258,40259,40263,40266,40275,40276,40287,40291,40290,40293,40297,40298,40299,40304,40310,40311,40315,40316,40318,40323,40324,40326,40330,40333,40334,40338,40339,40341,40342,40343,40344,40353,40362,40364,40366,40369,40373,40377,40380,40383,40387,40391,40393,40394,40404,40405,40406,40407,40410,40414,40415,40416,40421,40423,40425,40427,40430,40432,40435,40436,40446,40458,40450,40455,40462,40464,40465,40466,40469,40470,40473,40476,40477,40570,40571,40572,40576,40578,40579,40580,40581,40583,40590,40591,40598,40600,40603,40606,40612,40616,40620,40622,40623,40624,40627,40628,40629,40646,40648,40651,40661,40671,40676,40679,40684,40685,40686,40688,40689,40690,40693,40696,40703,40706,40707,40713,40719,40720,40721,40722,40724,40726,40727,40729,40730,40731,40735,40738,40742,40746,40747,40751,40753,40754,40756,40759,40761,40762,40764,40765,40767,40769,40771,40772,40773,40774,40775,40787,40789,40790,40791,40792,40794,40797,40798,40808,40809,40813,40814,40815,40816,40817,40819,40821,40826,40829,40847,40848,40849,40850,40852,40854,40855,40862,40865,40866,40867,40869,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],ibm866:[1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,9484,9608,9604,9612,9616,9600,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1025,1105,1028,1108,1031,1111,1038,1118,176,8729,183,8730,8470,164,9632,160],"iso-8859-2":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,728,321,164,317,346,167,168,352,350,356,377,173,381,379,176,261,731,322,180,318,347,711,184,353,351,357,378,733,382,380,340,193,194,258,196,313,262,199,268,201,280,203,282,205,206,270,272,323,327,211,212,336,214,215,344,366,218,368,220,221,354,223,341,225,226,259,228,314,263,231,269,233,281,235,283,237,238,271,273,324,328,243,244,337,246,247,345,367,250,369,252,253,355,729],"iso-8859-3":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,294,728,163,164,null,292,167,168,304,350,286,308,173,null,379,176,295,178,179,180,181,293,183,184,305,351,287,309,189,null,380,192,193,194,null,196,266,264,199,200,201,202,203,204,205,206,207,null,209,210,211,212,288,214,215,284,217,218,219,220,364,348,223,224,225,226,null,228,267,265,231,232,233,234,235,236,237,238,239,null,241,242,243,244,289,246,247,285,249,250,251,252,365,349,729],"iso-8859-4":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,312,342,164,296,315,167,168,352,274,290,358,173,381,175,176,261,731,343,180,297,316,711,184,353,275,291,359,330,382,331,256,193,194,195,196,197,198,302,268,201,280,203,278,205,206,298,272,325,332,310,212,213,214,215,216,370,218,219,220,360,362,223,257,225,226,227,228,229,230,303,269,233,281,235,279,237,238,299,273,326,333,311,244,245,246,247,248,371,250,251,252,361,363,729],"iso-8859-5":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,173,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,8470,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,167,1118,1119],"iso-8859-6":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,null,null,null,164,null,null,null,null,null,null,null,1548,173,null,null,null,null,null,null,null,null,null,null,null,null,null,1563,null,null,null,1567,null,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,null,null,null,null,null,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,null,null,null,null,null,null,null,null,null,null,null,null,null],"iso-8859-7":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,8216,8217,163,8364,8367,166,167,168,169,890,171,172,173,null,8213,176,177,178,179,900,901,902,183,904,905,906,187,908,189,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,null,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,null],"iso-8859-8":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,null,162,163,164,165,166,167,168,169,215,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,247,187,188,189,190,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,8215,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,null,null,8206,8207,null],"iso-8859-10":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,274,290,298,296,310,167,315,272,352,358,381,173,362,330,176,261,275,291,299,297,311,183,316,273,353,359,382,8213,363,331,256,193,194,195,196,197,198,302,268,201,280,203,278,205,206,207,208,325,332,211,212,213,214,360,216,370,218,219,220,221,222,223,257,225,226,227,228,229,230,303,269,233,281,235,279,237,238,239,240,326,333,243,244,245,246,361,248,371,250,251,252,253,254,312],"iso-8859-13":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,8221,162,163,164,8222,166,167,216,169,342,171,172,173,174,198,176,177,178,179,8220,181,182,183,248,185,343,187,188,189,190,230,260,302,256,262,196,197,280,274,268,201,377,278,290,310,298,315,352,323,325,211,332,213,214,215,370,321,346,362,220,379,381,223,261,303,257,263,228,229,281,275,269,233,378,279,291,311,299,316,353,324,326,243,333,245,246,247,371,322,347,363,252,380,382,8217],"iso-8859-14":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,7682,7683,163,266,267,7690,167,7808,169,7810,7691,7922,173,174,376,7710,7711,288,289,7744,7745,182,7766,7809,7767,7811,7776,7923,7812,7813,7777,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,372,209,210,211,212,213,214,7786,216,217,218,219,220,221,374,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,373,241,242,243,244,245,246,7787,248,249,250,251,252,253,375,255],"iso-8859-15":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,8364,165,352,167,353,169,170,171,172,173,174,175,176,177,178,179,381,181,182,183,382,185,186,187,338,339,376,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],"iso-8859-16":[128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,260,261,321,8364,8222,352,167,353,169,536,171,377,173,378,379,176,177,268,322,381,8221,182,183,382,269,537,187,338,339,376,380,192,193,194,258,196,262,198,199,200,201,202,203,204,205,206,207,272,323,210,211,212,336,214,346,368,217,218,219,220,280,538,223,224,225,226,259,228,263,230,231,232,233,234,235,236,237,238,239,273,324,242,243,244,337,246,347,369,249,250,251,252,281,539,255],"koi8-r":[9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9600,9604,9608,9612,9616,9617,9618,9619,8992,9632,8729,8730,8776,8804,8805,160,8993,176,178,183,247,9552,9553,9554,1105,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,1025,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,169,1102,1072,1073,1094,1076,1077,1092,1075,1093,1080,1081,1082,1083,1084,1085,1086,1087,1103,1088,1089,1090,1091,1078,1074,1100,1099,1079,1096,1101,1097,1095,1098,1070,1040,1041,1062,1044,1045,1060,1043,1061,1048,1049,1050,1051,1052,1053,1054,1055,1071,1056,1057,1058,1059,1046,1042,1068,1067,1047,1064,1069,1065,1063,1066],"koi8-u":[9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9600,9604,9608,9612,9616,9617,9618,9619,8992,9632,8729,8730,8776,8804,8805,160,8993,176,178,183,247,9552,9553,9554,1105,1108,9556,1110,1111,9559,9560,9561,9562,9563,1169,1118,9566,9567,9568,9569,1025,1028,9571,1030,1031,9574,9575,9576,9577,9578,1168,1038,169,1102,1072,1073,1094,1076,1077,1092,1075,1093,1080,1081,1082,1083,1084,1085,1086,1087,1103,1088,1089,1090,1091,1078,1074,1100,1099,1079,1096,1101,1097,1095,1098,1070,1040,1041,1062,1044,1045,1060,1043,1061,1048,1049,1050,1051,1052,1053,1054,1055,1071,1056,1057,1058,1059,1046,1042,1068,1067,1047,1064,1069,1065,1063,1066],macintosh:[196,197,199,201,209,214,220,225,224,226,228,227,229,231,233,232,234,235,237,236,238,239,241,243,242,244,246,245,250,249,251,252,8224,176,162,163,167,8226,182,223,174,169,8482,180,168,8800,198,216,8734,177,8804,8805,165,181,8706,8721,8719,960,8747,170,186,937,230,248,191,161,172,8730,402,8776,8710,171,187,8230,160,192,195,213,338,339,8211,8212,8220,8221,8216,8217,247,9674,255,376,8260,8364,8249,8250,64257,64258,8225,183,8218,8222,8240,194,202,193,203,200,205,206,207,204,211,212,63743,210,218,219,217,305,710,732,175,728,729,730,184,733,731,711],"windows-874":[8364,129,130,131,132,8230,134,135,136,137,138,139,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,152,153,154,155,156,157,158,159,160,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,3630,3631,3632,3633,3634,3635,3636,3637,3638,3639,3640,3641,3642,null,null,null,null,3647,3648,3649,3650,3651,3652,3653,3654,3655,3656,3657,3658,3659,3660,3661,3662,3663,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3674,3675,null,null,null,null],"windows-1250":[8364,129,8218,131,8222,8230,8224,8225,136,8240,352,8249,346,356,381,377,144,8216,8217,8220,8221,8226,8211,8212,152,8482,353,8250,347,357,382,378,160,711,728,321,164,260,166,167,168,169,350,171,172,173,174,379,176,177,731,322,180,181,182,183,184,261,351,187,317,733,318,380,340,193,194,258,196,313,262,199,268,201,280,203,282,205,206,270,272,323,327,211,212,336,214,215,344,366,218,368,220,221,354,223,341,225,226,259,228,314,263,231,269,233,281,235,283,237,238,271,273,324,328,243,244,337,246,247,345,367,250,369,252,253,355,729],"windows-1251":[1026,1027,8218,1107,8222,8230,8224,8225,8364,8240,1033,8249,1034,1036,1035,1039,1106,8216,8217,8220,8221,8226,8211,8212,152,8482,1113,8250,1114,1116,1115,1119,160,1038,1118,1032,164,1168,166,167,1025,169,1028,171,172,173,174,1031,176,177,1030,1110,1169,181,182,183,1105,8470,1108,187,1112,1029,1109,1111,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103],"windows-1252":[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255],"windows-1253":[8364,129,8218,402,8222,8230,8224,8225,136,8240,138,8249,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,152,8482,154,8250,156,157,158,159,160,901,902,163,164,165,166,167,168,169,null,171,172,173,174,8213,176,177,178,179,900,181,182,183,904,905,906,187,908,189,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,null,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,null],"windows-1254":[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,158,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,286,209,210,211,212,213,214,215,216,217,218,219,220,304,350,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,287,241,242,243,244,245,246,247,248,249,250,251,252,305,351,255],"windows-1255":[8364,129,8218,402,8222,8230,8224,8225,710,8240,138,8249,140,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,154,8250,156,157,158,159,160,161,162,163,8362,165,166,167,168,169,215,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,247,187,188,189,190,191,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1520,1521,1522,1523,1524,null,null,null,null,null,null,null,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,null,null,8206,8207,null],"windows-1256":[8364,1662,8218,402,8222,8230,8224,8225,710,8240,1657,8249,338,1670,1688,1672,1711,8216,8217,8220,8221,8226,8211,8212,1705,8482,1681,8250,339,8204,8205,1722,160,1548,162,163,164,165,166,167,168,169,1726,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,1563,187,188,189,190,1567,1729,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,215,1591,1592,1593,1594,1600,1601,1602,1603,224,1604,226,1605,1606,1607,1608,231,232,233,234,235,1609,1610,238,239,1611,1612,1613,1614,244,1615,1616,247,1617,249,1618,251,252,8206,8207,1746],"windows-1257":[8364,129,8218,131,8222,8230,8224,8225,136,8240,138,8249,140,168,711,184,144,8216,8217,8220,8221,8226,8211,8212,152,8482,154,8250,156,175,731,159,160,null,162,163,164,null,166,167,216,169,342,171,172,173,174,198,176,177,178,179,180,181,182,183,248,185,343,187,188,189,190,230,260,302,256,262,196,197,280,274,268,201,377,278,290,310,298,315,352,323,325,211,332,213,214,215,370,321,346,362,220,379,381,223,261,303,257,263,228,229,281,275,269,233,378,279,291,311,299,316,353,324,326,243,333,245,246,247,371,322,347,363,252,380,382,729],"windows-1258":[8364,129,8218,402,8222,8230,8224,8225,710,8240,138,8249,338,141,142,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,154,8250,339,157,158,376,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,258,196,197,198,199,200,201,202,203,768,205,206,207,272,209,777,211,212,416,214,215,216,217,218,219,220,431,771,223,224,225,226,259,228,229,230,231,232,233,234,235,769,237,238,239,273,241,803,243,244,417,246,247,248,249,250,251,252,432,8363,255],"x-mac-cyrillic":[1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,8224,176,1168,163,167,8226,182,1030,174,169,8482,1026,1106,8800,1027,1107,8734,177,8804,8805,1110,181,1169,1032,1028,1108,1031,1111,1033,1113,1034,1114,1112,1029,172,8730,402,8776,8710,171,187,8230,160,1035,1115,1036,1116,1109,8211,8212,8220,8221,8216,8217,247,8222,1038,1118,1039,1119,8470,1025,1105,1103,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,8364]}}(l||{})),o.exports;var n}function c(){return t||(t=1,n=i,function(l){function u(l,n,u){return n<=l&&l<=u}n.exports&&!l["encoding-indexes"]&&(l["encoding-indexes"]=a()["encoding-indexes"]);var t=Math.floor;function e(l){if(void 0===l)return{};if(l===Object(l))return l;throw TypeError("Could not convert argument to dictionary")}function r(l){return 0<=l&&l<=127}var s=r,i=-1;function o(l){this.tokens=[].slice.call(l),this.tokens.reverse()}o.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():i},prepend:function(l){if(Array.isArray(l))for(var n=l;n.length;)this.tokens.push(n.pop());else this.tokens.push(l)},push:function(l){if(Array.isArray(l))for(var n=l;n.length;)this.tokens.unshift(n.shift());else this.tokens.unshift(l)}};var c=-1;function h(l,n){if(l)throw TypeError("Decoder error");return n||65533}function f(l){throw TypeError("The code point "+l+" could not be encoded.")}function d(l){return l=String(l).trim().toLowerCase(),Object.prototype.hasOwnProperty.call(g,l)?g[l]:null}var p=[{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:["csisolatin2","iso-8859-2","iso-ir-101","iso8859-2","iso88592","iso_8859-2","iso_8859-2:1987","l2","latin2"],name:"ISO-8859-2"},{labels:["csisolatin3","iso-8859-3","iso-ir-109","iso8859-3","iso88593","iso_8859-3","iso_8859-3:1988","l3","latin3"],name:"ISO-8859-3"},{labels:["csisolatin4","iso-8859-4","iso-ir-110","iso8859-4","iso88594","iso_8859-4","iso_8859-4:1988","l4","latin4"],name:"ISO-8859-4"},{labels:["csisolatincyrillic","cyrillic","iso-8859-5","iso-ir-144","iso8859-5","iso88595","iso_8859-5","iso_8859-5:1988"],name:"ISO-8859-5"},{labels:["arabic","asmo-708","csiso88596e","csiso88596i","csisolatinarabic","ecma-114","iso-8859-6","iso-8859-6-e","iso-8859-6-i","iso-ir-127","iso8859-6","iso88596","iso_8859-6","iso_8859-6:1987"],name:"ISO-8859-6"},{labels:["csisolatingreek","ecma-118","elot_928","greek","greek8","iso-8859-7","iso-ir-126","iso8859-7","iso88597","iso_8859-7","iso_8859-7:1987","sun_eu_greek"],name:"ISO-8859-7"},{labels:["csiso88598e","csisolatinhebrew","hebrew","iso-8859-8","iso-8859-8-e","iso-ir-138","iso8859-8","iso88598","iso_8859-8","iso_8859-8:1988","visual"],name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:["csisolatin6","iso-8859-10","iso-ir-157","iso8859-10","iso885910","l6","latin6"],name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:["csisolatin9","iso-8859-15","iso8859-15","iso885915","iso_8859-15","l9"],name:"ISO-8859-15"},{labels:["iso-8859-16"],name:"ISO-8859-16"},{labels:["cskoi8r","koi","koi8","koi8-r","koi8_r"],name:"KOI8-R"},{labels:["koi8-ru","koi8-u"],name:"KOI8-U"},{labels:["csmacintosh","mac","macintosh","x-mac-roman"],name:"macintosh"},{labels:["dos-874","iso-8859-11","iso8859-11","iso885911","tis-620","windows-874"],name:"windows-874"},{labels:["cp1250","windows-1250","x-cp1250"],name:"windows-1250"},{labels:["cp1251","windows-1251","x-cp1251"],name:"windows-1251"},{labels:["ansi_x3.4-1968","ascii","cp1252","cp819","csisolatin1","ibm819","iso-8859-1","iso-ir-100","iso8859-1","iso88591","iso_8859-1","iso_8859-1:1987","l1","latin1","us-ascii","windows-1252","x-cp1252"],name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows-1253"},{labels:["cp1254","csisolatin5","iso-8859-9","iso-ir-148","iso8859-9","iso88599","iso_8859-9","iso_8859-9:1989","l5","latin5","windows-1254","x-cp1254"],name:"windows-1254"},{labels:["cp1255","windows-1255","x-cp1255"],name:"windows-1255"},{labels:["cp1256","windows-1256","x-cp1256"],name:"windows-1256"},{labels:["cp1257","windows-1257","x-cp1257"],name:"windows-1257"},{labels:["cp1258","windows-1258","x-cp1258"],name:"windows-1258"},{labels:["x-mac-cyrillic","x-mac-ukrainian"],name:"x-mac-cyrillic"}],heading:"Legacy single-byte encodings"},{encodings:[{labels:["chinese","csgb2312","csiso58gb231280","gb2312","gb_2312","gb_2312-80","gbk","iso-ir-58","x-gbk"],name:"GBK"},{labels:["gb18030"],name:"gb18030"}],heading:"Legacy multi-byte Chinese (simplified) encodings"},{encodings:[{labels:["big5","big5-hkscs","cn-big5","csbig5","x-x-big5"],name:"Big5"}],heading:"Legacy multi-byte Chinese (traditional) encodings"},{encodings:[{labels:["cseucpkdfmtjapanese","euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:["csshiftjis","ms932","ms_kanji","shift-jis","shift_jis","sjis","windows-31j","x-sjis"],name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:["cseuckr","csksc56011987","euc-kr","iso-ir-149","korean","ks_c_5601-1987","ks_c_5601-1989","ksc5601","ksc_5601","windows-949"],name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],g={};p.forEach((function(l){l.encodings.forEach((function(l){l.labels.forEach((function(n){g[n]=l}))}))}));var y,m,w={},b={};function A(l,n){return n&&n[l]||null}function v(l,n){var u=n.indexOf(l);return-1===u?null:u}function E(n){if(!("encoding-indexes"in l))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return l["encoding-indexes"][n]}var k="utf-8";function x(l,n){if(!(this instanceof x))throw TypeError("Called as a function. Did you forget 'new'?");l=void 0!==l?String(l):k,n=e(n),this._encoding=null,this._decoder=null,this._ignoreBOM=!1,this._BOMseen=!1,this._error_mode="replacement",this._do_not_flush=!1;var u=d(l);if(null===u||"replacement"===u.name)throw RangeError("Unknown encoding: "+l);if(!b[u.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");var t=this;return t._encoding=u,Boolean(n.fatal)&&(t._error_mode="fatal"),Boolean(n.ignoreBOM)&&(t._ignoreBOM=!0),Object.defineProperty||(this.encoding=t._encoding.name.toLowerCase(),this.fatal="fatal"===t._error_mode,this.ignoreBOM=t._ignoreBOM),t}function N(n,u){if(!(this instanceof N))throw TypeError("Called as a function. Did you forget 'new'?");u=e(u),this._encoding=null,this._encoder=null,this._do_not_flush=!1,this._fatal=Boolean(u.fatal)?"fatal":"replacement";var t=this;if(Boolean(u.NONSTANDARD_allowLegacyEncoding)){var r=d(n=void 0!==n?String(n):k);if(null===r||"replacement"===r.name)throw RangeError("Unknown encoding: "+n);if(!w[r.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");t._encoding=r}else t._encoding=d("utf-8"),void 0!==n&&"console"in l&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");return Object.defineProperty||(this.encoding=t._encoding.name.toLowerCase()),t}function S(l){var n=l.fatal,t=0,e=0,r=0,s=128,o=191;this.handler=function(l,a){if(a===i&&0!==r)return r=0,h(n);if(a===i)return c;if(0===r){if(u(a,0,127))return a;if(u(a,194,223))r=1,t=31&a;else if(u(a,224,239))224===a&&(s=160),237===a&&(o=159),r=2,t=15&a;else{if(!u(a,240,244))return h(n);240===a&&(s=144),244===a&&(o=143),r=3,t=7&a}return null}if(!u(a,s,o))return t=r=e=0,s=128,o=191,l.prepend(a),h(n);if(s=128,o=191,t=t<<6|63&a,(e+=1)!==r)return null;var f=t;return t=r=e=0,f}}function T(l){l.fatal,this.handler=function(l,n){if(n===i)return c;if(s(n))return n;var t,e;u(n,128,2047)?(t=1,e=192):u(n,2048,65535)?(t=2,e=224):u(n,65536,1114111)&&(t=3,e=240);for(var r=[(n>>6*t)+e];t>0;){var o=n>>6*(t-1);r.push(128|63&o),t-=1}return r}}function O(l,n){var u=n.fatal;this.handler=function(n,t){if(t===i)return c;if(r(t))return t;var e=l[t-128];return null===e?h(u):e}}function P(l,n){n.fatal,this.handler=function(n,u){if(u===i)return c;if(s(u))return u;var t=v(u,l);return null===t&&f(u),t+128}}function I(l){var n=l.fatal,t=0,e=0,s=0;this.handler=function(l,o){if(o===i&&0===t&&0===e&&0===s)return c;var a;if(o!==i||0===t&&0===e&&0===s||(t=0,e=0,s=0,h(n)),0!==s){a=null,u(o,48,57)&&(a=function(l){if(l>39419&&l<189e3||l>1237575)return null;if(7457===l)return 59335;var n,u=0,t=0,e=E("gb18030-ranges");for(n=0;n<e.length;++n){var r=e[n];if(!(r[0]<=l))break;u=r[0],t=r[1]}return t+l-u}(10*(126*(10*(t-129)+e-48)+s-129)+o-48));var f=[e,s,o];return t=0,e=0,s=0,null===a?(l.prepend(f),h(n)):a}if(0!==e)return u(o,129,254)?(s=o,null):(l.prepend([e,o]),t=0,e=0,h(n));if(0!==t){if(u(o,48,57))return e=o,null;var d=t,p=null;t=0;var g=o<127?64:65;return(u(o,64,126)||u(o,128,254))&&(p=190*(d-129)+(o-g)),null===(a=null===p?null:A(p,E("gb18030")))&&r(o)&&l.prepend(o),null===a?h(n):a}return r(o)?o:128===o?8364:u(o,129,254)?(t=o,null):h(n)}}function C(l,n){l.fatal,this.handler=function(l,u){if(u===i)return c;if(s(u))return u;if(58853===u)return f(u);if(n&&8364===u)return 128;var e=v(u,E("gb18030"));if(null!==e){var r=e%190;return[t(e/190)+129,r+(r<63?64:65)]}if(n)return f(u);e=function(l){if(59335===l)return 7457;var n,u=0,t=0,e=E("gb18030-ranges");for(n=0;n<e.length;++n){var r=e[n];if(!(r[1]<=l))break;u=r[1],t=r[0]}return t+l-u}(u);var o=t(e/10/126/10),a=t((e-=10*o*126*10)/10/126),h=t((e-=10*a*126)/10);return[o+129,a+48,h+129,e-10*h+48]}}function R(l){var n=l.fatal,t=0;this.handler=function(l,e){if(e===i&&0!==t)return t=0,h(n);if(e===i&&0===t)return c;if(0!==t){var s=t,o=null;t=0;var a=e<127?64:98;switch((u(e,64,126)||u(e,161,254))&&(o=157*(s-129)+(e-a)),o){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}var f=null===o?null:A(o,E("big5"));return null===f&&r(e)&&l.prepend(e),null===f?h(n):f}return r(e)?e:u(e,129,254)?(t=e,null):h(n)}}function B(l){l.fatal,this.handler=function(l,n){if(n===i)return c;if(s(n))return n;var u=function(l){m=m||E("big5").map((function(l,n){return n<5024?null:l}));var n=m;return 9552===l||9566===l||9569===l||9578===l||21313===l||21317===l?n.lastIndexOf(l):v(l,n)}(n);if(null===u)return f(n);var e=t(u/157)+129;if(e<161)return f(n);var r=u%157;return[e,r+(r<63?64:98)]}}function D(l){var n=l.fatal,t=!1,e=0;this.handler=function(l,s){if(s===i&&0!==e)return e=0,h(n);if(s===i&&0===e)return c;if(142===e&&u(s,161,223))return e=0,65216+s;if(143===e&&u(s,161,254))return t=!0,e=s,null;if(0!==e){var o=e;e=0;var a=null;return u(o,161,254)&&u(s,161,254)&&(a=A(94*(o-161)+(s-161),E(t?"jis0212":"jis0208"))),t=!1,u(s,161,254)||l.prepend(s),null===a?h(n):a}return r(s)?s:142===s||143===s||u(s,161,254)?(e=s,null):h(n)}}function U(l){l.fatal,this.handler=function(l,n){if(n===i)return c;if(s(n))return n;if(165===n)return 92;if(8254===n)return 126;if(u(n,65377,65439))return[142,n-65377+161];8722===n&&(n=65293);var e=v(n,E("jis0208"));return null===e?f(n):[t(e/94)+161,e%94+161]}}function L(l){var n=l.fatal,t=0,e=1,r=2,s=3,o=4,a=5,f=6,d=t,p=t,g=0,y=!1;this.handler=function(l,m){switch(d){default:case t:return 27===m?(d=a,null):u(m,0,127)&&14!==m&&15!==m&&27!==m?(y=!1,m):m===i?c:(y=!1,h(n));case e:return 27===m?(d=a,null):92===m?(y=!1,165):126===m?(y=!1,8254):u(m,0,127)&&14!==m&&15!==m&&27!==m&&92!==m&&126!==m?(y=!1,m):m===i?c:(y=!1,h(n));case r:return 27===m?(d=a,null):u(m,33,95)?(y=!1,65344+m):m===i?c:(y=!1,h(n));case s:return 27===m?(d=a,null):u(m,33,126)?(y=!1,g=m,d=o,null):m===i?c:(y=!1,h(n));case o:if(27===m)return d=a,h(n);if(u(m,33,126)){d=s;var w=A(94*(g-33)+m-33,E("jis0208"));return null===w?h(n):w}return m===i?(d=s,l.prepend(m),h(n)):(d=s,h(n));case a:return 36===m||40===m?(g=m,d=f,null):(l.prepend(m),y=!1,d=p,h(n));case f:var b=g;g=0;var v=null;if(40===b&&66===m&&(v=t),40===b&&74===m&&(v=e),40===b&&73===m&&(v=r),36!==b||64!==m&&66!==m||(v=s),null!==v){d=d=v;var k=y;return y=!0,k?h(n):null}return l.prepend([b,m]),y=!1,d=p,h(n)}}}function F(l){l.fatal;var n=0,u=1,e=2,r=n;this.handler=function(l,o){if(o===i&&r!==n)return l.prepend(o),r=n,[27,40,66];if(o===i&&r===n)return c;if(!(r!==n&&r!==u||14!==o&&15!==o&&27!==o))return f(65533);if(r===n&&s(o))return o;if(r===u&&(s(o)&&92!==o&&126!==o||165==o||8254==o)){if(s(o))return o;if(165===o)return 92;if(8254===o)return 126}if(s(o)&&r!==n)return l.prepend(o),r=n,[27,40,66];if((165===o||8254===o)&&r!==u)return l.prepend(o),r=u,[27,40,74];8722===o&&(o=65293);var a=v(o,E("jis0208"));return null===a?f(o):r!==e?(l.prepend(o),r=e,[27,36,66]):[t(a/94)+33,a%94+33]}}function _(l){var n=l.fatal,t=0;this.handler=function(l,e){if(e===i&&0!==t)return t=0,h(n);if(e===i&&0===t)return c;if(0!==t){var s=t,o=null;t=0;var a=e<127?64:65,f=s<160?129:193;if((u(e,64,126)||u(e,128,252))&&(o=188*(s-f)+e-a),u(o,8836,10715))return 48508+o;var d=null===o?null:A(o,E("jis0208"));return null===d&&r(e)&&l.prepend(e),null===d?h(n):d}return r(e)||128===e?e:u(e,161,223)?65216+e:u(e,129,159)||u(e,224,252)?(t=e,null):h(n)}}function M(l){l.fatal,this.handler=function(l,n){if(n===i)return c;if(s(n)||128===n)return n;if(165===n)return 92;if(8254===n)return 126;if(u(n,65377,65439))return n-65377+161;8722===n&&(n=65293);var e=function(l){return y=y||E("jis0208").map((function(l,n){return u(n,8272,8835)?null:l})),y.indexOf(l)}(n);if(null===e)return f(n);var r=t(e/188),o=e%188;return[r+(r<31?129:193),o+(o<63?64:65)]}}function G(l){var n=l.fatal,t=0;this.handler=function(l,e){if(e===i&&0!==t)return t=0,h(n);if(e===i&&0===t)return c;if(0!==t){var s=t,o=null;t=0,u(e,65,254)&&(o=190*(s-129)+(e-65));var a=null===o?null:A(o,E("euc-kr"));return null===o&&r(e)&&l.prepend(e),null===a?h(n):a}return r(e)?e:u(e,129,254)?(t=e,null):h(n)}}function j(l){l.fatal,this.handler=function(l,n){if(n===i)return c;if(s(n))return n;var u=v(n,E("euc-kr"));return null===u?f(n):[t(u/190)+129,u%190+65]}}function H(l,n){var u=l>>8,t=255&l;return n?[u,t]:[t,u]}function K(l,n){var t=n.fatal,e=null,r=null;this.handler=function(n,s){if(s===i&&(null!==e||null!==r))return h(t);if(s===i&&null===e&&null===r)return c;if(null===e)return e=s,null;var o;if(o=l?(e<<8)+s:(s<<8)+e,e=null,null!==r){var a=r;return r=null,u(o,56320,57343)?65536+1024*(a-55296)+(o-56320):(n.prepend(H(o,l)),h(t))}return u(o,55296,56319)?(r=o,null):u(o,56320,57343)?h(t):o}}function V(l,n){n.fatal,this.handler=function(n,t){if(t===i)return c;if(u(t,0,65535))return H(t,l);var e=H(55296+(t-65536>>10),l),r=H(56320+(t-65536&1023),l);return e.concat(r)}}function Q(l){l.fatal,this.handler=function(l,n){return n===i?c:r(n)?n:63360+n-128}}function J(l){l.fatal,this.handler=function(l,n){return n===i?c:s(n)?n:u(n,63360,63487)?n-63360+128:f(n)}}Object.defineProperty&&(Object.defineProperty(x.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),Object.defineProperty(x.prototype,"fatal",{get:function(){return"fatal"===this._error_mode}}),Object.defineProperty(x.prototype,"ignoreBOM",{get:function(){return this._ignoreBOM}})),x.prototype.decode=function(l,n){var u;u="object"==typeof l&&l instanceof ArrayBuffer?new Uint8Array(l):"object"==typeof l&&"buffer"in l&&l.buffer instanceof ArrayBuffer?new Uint8Array(l.buffer,l.byteOffset,l.byteLength):new Uint8Array(0),n=e(n),this._do_not_flush||(this._decoder=b[this._encoding.name]({fatal:"fatal"===this._error_mode}),this._BOMseen=!1),this._do_not_flush=Boolean(n.stream);for(var t,r=new o(u),s=[];;){var a=r.read();if(a===i)break;if((t=this._decoder.handler(r,a))===c)break;null!==t&&(Array.isArray(t)?s.push.apply(s,t):s.push(t))}if(!this._do_not_flush){do{if((t=this._decoder.handler(r,r.read()))===c)break;null!==t&&(Array.isArray(t)?s.push.apply(s,t):s.push(t))}while(!r.endOfStream());this._decoder=null}return function(l){var n,u;return n=["UTF-8","UTF-16LE","UTF-16BE"],u=this._encoding.name,-1===n.indexOf(u)||this._ignoreBOM||this._BOMseen||(l.length>0&&65279===l[0]?(this._BOMseen=!0,l.shift()):l.length>0&&(this._BOMseen=!0)),function(l){for(var n="",u=0;u<l.length;++u){var t=l[u];t<=65535?n+=String.fromCharCode(t):(t-=65536,n+=String.fromCharCode(55296+(t>>10),56320+(1023&t)))}return n}(l)}.call(this,s)},Object.defineProperty&&Object.defineProperty(N.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),N.prototype.encode=function(l,n){l=void 0===l?"":String(l),n=e(n),this._do_not_flush||(this._encoder=w[this._encoding.name]({fatal:"fatal"===this._fatal})),this._do_not_flush=Boolean(n.stream);for(var u,t=new o(function(l){for(var n=String(l),u=n.length,t=0,e=[];t<u;){var r=n.charCodeAt(t);if(r<55296||r>57343)e.push(r);else if(56320<=r&&r<=57343)e.push(65533);else if(55296<=r&&r<=56319)if(t===u-1)e.push(65533);else{var s=n.charCodeAt(t+1);if(56320<=s&&s<=57343){var i=1023&r,o=1023&s;e.push(65536+(i<<10)+o),t+=1}else e.push(65533)}t+=1}return e}(l)),r=[];;){var s=t.read();if(s===i)break;if((u=this._encoder.handler(t,s))===c)break;Array.isArray(u)?r.push.apply(r,u):r.push(u)}if(!this._do_not_flush){for(;(u=this._encoder.handler(t,t.read()))!==c;)Array.isArray(u)?r.push.apply(r,u):r.push(u);this._encoder=null}return new Uint8Array(r)},w["UTF-8"]=function(l){return new T(l)},b["UTF-8"]=function(l){return new S(l)},"encoding-indexes"in l&&p.forEach((function(l){"Legacy single-byte encodings"===l.heading&&l.encodings.forEach((function(l){var n=l.name,u=E(n.toLowerCase());b[n]=function(l){return new O(u,l)},w[n]=function(l){return new P(u,l)}}))})),b.GBK=function(l){return new I(l)},w.GBK=function(l){return new C(l,!0)},w.gb18030=function(l){return new C(l)},b.gb18030=function(l){return new I(l)},w.Big5=function(l){return new B(l)},b.Big5=function(l){return new R(l)},w["EUC-JP"]=function(l){return new U(l)},b["EUC-JP"]=function(l){return new D(l)},w["ISO-2022-JP"]=function(l){return new F(l)},b["ISO-2022-JP"]=function(l){return new L(l)},w.Shift_JIS=function(l){return new M(l)},b.Shift_JIS=function(l){return new _(l)},w["EUC-KR"]=function(l){return new j(l)},b["EUC-KR"]=function(l){return new G(l)},w["UTF-16BE"]=function(l){return new V(!0,l)},b["UTF-16BE"]=function(l){return new K(!0,l)},w["UTF-16LE"]=function(l){return new V(!1,l)},b["UTF-16LE"]=function(l){return new K(!1,l)},w["x-user-defined"]=function(l){return new J(l)},b["x-user-defined"]=function(l){return new Q(l)},l.TextEncoder||(l.TextEncoder=N),l.TextDecoder||(l.TextDecoder=x),n.exports&&(n.exports={TextEncoder:l.TextEncoder,TextDecoder:l.TextDecoder,EncodingIndexes:l["encoding-indexes"]})}(l||{})),i.exports;var n}function h(){if(r)return e;r=1;var l=c();return e={TextEncoder:l.TextEncoder,TextDecoder:l.TextDecoder}}function f(){return s||(s={"/node_modules/text-encoding/index.js":h,"/node_modules/text-encoding/lib/encoding-indexes.js":a,"/node_modules/text-encoding/lib/encoding.js":c})}function d(l){function n(n){var u=p(n,l);return null!==u?f()[u]():require(n)}return n.resolve=function(n){var u=p(n,l);return null!==u?u:require.resolve(n)},n}function p(l,n){var u,t=function(l){var n=l[0];if("/"===n||"\\"===n)return!1;var u=l[1],t=l[2];return!(!("."!==n||u&&"/"!==u&&"\\"!==u)||!("."!==n||"."!==u||t&&"/"!==t&&"\\"!==t))&&(":"!==u||"/"!==t&&"\\"!==t)}(l);"/"===(l=g(l))[0]&&(n="");for(var e=f(),r=["",".js",".json"];!(u=g(t?n+"/node_modules/"+l:n+"/"+l)).endsWith("/..");){for(var s=0;s<r.length;s++){var i=u+r[s];if(e[i])return i}if(!t)break;var o=g(n+"/..");if(o===n)break;n=o}return null}function g(l){for(var n=(l=l.replace(/\\/g,"/")).split("/"),u=""===n[0],t=1;t<n.length;t++)"."!==n[t]&&""!==n[t]||n.splice(t--,1);for(t=1;t<n.length;t++)".."===n[t]&&t>0&&".."!==n[t-1]&&"."!==n[t-1]&&(n.splice(--t,2),t--);return l=n.join("/"),u&&"/"!==l[0]?l="/"+l:0===l.length&&(l="."),l}var y,m={exports:{}};y=m,function(){function l(n,u){return u?d("/node_modules/gun")(n):n.slice?l[t(n)]:function(u,e){n(u={exports:{}}),l[t(e)]=u.exports};function t(l){return l.split("/").slice(-1).toString().replace(".js","")}}var n=y;l((function(l){String.random=function(l,n){var u="";for(l=l||24,n=n||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";l-- >0;)u+=n.charAt(Math.floor(Math.random()*n.length));return u},String.match=function(l,n){var u,t;return"string"==typeof l&&("string"==typeof n&&(n={"=":n}),l===(u=(n=n||{})["="]||n["*"]||n[">"]||n["<"])||t===n["="]&&(u=n["*"]||n[">"],l.slice(0,(u||"").length)===u||t===n["*"]&&(t!==n[">"]&&t!==n["<"]?l>=n[">"]&&l<=n["<"]:t!==n[">"]&&l>=n[">"]||t!==n["<"]&&l<=n["<"])))},String.hash=function(l,n){if("string"==typeof l){if(n=n||0,!l.length)return n;for(var u=0,t=l.length;u<t;++u)n=(n<<5)-n+l.charCodeAt(u),n|=0;return n}};var n,u,t,e,r,s,i=Object.prototype.hasOwnProperty;Object.plain=function(l){return!!l&&(l instanceof Object&&l.constructor===Object||"Object"===Object.prototype.toString.call(l).match(/^\[object (\w+)\]$/)[1])},Object.empty=function(l,n){for(var u in l)if(i.call(l,u)&&(!n||-1==n.indexOf(u)))return!1;return!0},Object.keys=Object.keys||function(l){var n=[];for(var u in l)i.call(l,u)&&n.push(u);return n},u=setTimeout,t=0,e=0,r=typeof setImmediate!=""+n&&setImmediate||function(l,t){return typeof MessageChannel==""+n?u:((l=new MessageChannel).port1.onmessage=function(l){""==l.data&&t()},function(n){t=n,l.port2.postMessage("")})}(),s=u.check=u.check||typeof performance!=""+n&&performance||{now:function(){return+new Date}},u.hold=u.hold||9,u.poll=u.poll||function(l){u.hold>=s.now()-t&&e++<3333?l():r((function(){t=s.now(),l()}),e=0)},function(){var l,n=setTimeout,u=n.turn=n.turn||function(l){1==t.push(l)&&e(s)},t=u.s=[],e=n.poll,r=0,s=function(){(l=t[r++])&&l(),r!=t.length&&99!=r||(t=u.s=t.slice(r),r=0),t.length&&e(s)}}(),function(){var l,n=setTimeout,u=n.turn;(n.each=n.each||function(n,t,e,r){r=r||9,function s(i,o,a){if(o=(i=(n||[]).splice(0,r)).length){for(var c=0;c<o&&l===(a=t(i[c]));c++);if(l===a)return void u(s)}e&&e(a)}()})()}()}))(l,"./shim"),l((function(l){l.exports=function l(n,u,t){if(!n)return{to:l};var e="function"==typeof u;if(n=(this.tag||(this.tag={}))[n]||e&&(this.tag[n]={tag:n,to:l._={next:function(l){var n;(n=this.to)&&n.next(l)}}}),e){var r={off:l.off||(l.off=function(){if(this.next===l._.next)return!0;this===this.the.last&&(this.the.last=this.back),this.to.back=this.back,this.next=l._.next,this.back.to=this.to,this.the.last===this.the&&delete this.on.tag[this.the.tag]}),to:l._,next:u,the:n,on:this,as:t};return(r.back=n.last||n).to=r,n.last=r}return(n=n.to)&&void 0!==u&&n.next(u),n}}))(l,"./onto"),l((function(l){l.exports=function(l){return null===l||"string"==typeof l||"boolean"==typeof l||"number"==typeof l&&l!=1/0&&l!=-1/0&&l==l||!!l&&"string"==typeof l["#"]&&1===Object.keys(l).length&&l["#"]}}))(l,"./valid"),l((function(n){function u(){var l=+new Date;return i<l?(r=0,i=l+u.drift):i=l+(r+=1)/s+u.drift}l("./shim"),u.drift=0;var t,e=-1/0,r=0,s=999,i=e;u.is=function(l,n,u){var t=n&&l&&l._&&l._[">"]||u;if(t)return"number"==typeof(t=t[n])?t:e},u.ify=function(l,n,u,e,r){(l=l||{})._=l._||{},r&&(l._["#"]=r);var s=l._[">"]||(l._[">"]={});return t!==n&&"_"!==n&&("number"==typeof u&&(s[n]=u),t!==e&&(l[n]=e)),l},n.exports=u}))(l,"./state"),l((function(n){l("./shim"),n.exports=function(l){var n={s:{}},u=n.s;l=l||{max:999,age:9e3},n.check=function(l){return!!u[l]&&t(l)};var t=n.track=function(e){var r=u[e]||(u[e]={});return r.was=n.now=+new Date,n.to||(n.to=setTimeout(n.drop,l.age+9)),t.ed&&t.ed(e),r};return n.drop=function(t){n.to=null,n.now=+new Date;var e=Object.keys(u);console.STAT&&console.STAT(n.now,+new Date-n.now,"dup drop keys"),setTimeout.each(e,(function(e){var r=u[e];r&&(t||l.age)>n.now-r.was||delete u[e]}),0,99)},n}}))(l,"./dup"),l((function(n){l("./onto"),n.exports=function(l,n){if(this.on){var t=(this.opt||{}).lack||9e3;if("function"!=typeof l){if(!l)return;var e=l["#"]||l,r=(this.tag||"")[e];if(!r)return;return n&&(r=this.on(e,n),clearTimeout(r.err),r.err=setTimeout((function(){r.off()}),t)),!0}if(e=n&&n["#"]||u(9),!l)return e;var s=this.on(e,l,n);return s.err=s.err||setTimeout((function(){s.off(),s.next({err:"Error: No ACK yet.",lack:!0})}),t),e}};var u=String.random||function(){return Math.random().toString(36).slice(2)}}))(l,"./ask"),l((function(u){function t(l){return l instanceof t?(this._={$:this}).$:this instanceof t?t.create(this._={$:this,opt:l}):new t(l)}t.is=function(l){return l instanceof t||l&&l._&&l===l._.$||!1},t.version=.202,t.chain=t.prototype,t.chain.toJSON=function(){},l("./shim"),t.valid=l("./valid"),t.state=l("./state"),t.on=l("./onto"),t.dup=l("./dup"),t.ask=l("./ask"),function(){function l(u){if(u)if(u.out!==l){var e,r=this.as,o=r.at||r,a=o.$,c=o.dup,h=u.DBG;if((e=u["#"])||(e=u["#"]=i(9)),!c.check(e)){if(c.track(e),e=u._,u._="function"==typeof e?e:function(){},u.$&&u.$===(u.$._||"").$||(u.$=a),u["@"]&&!u.put&&function(l){var n,u=l["@"]||"";if(n=u._)n.acks=(n.acks||0)+1,(n.err=l.err)&&(l["@"]=n["#"],s(n)),n.ok=l.ok||n.ok,n.stop||n.crack||(n.crack=n.match&&n.match.push((function(){d(n)}))),d(n);else{var t=(t=l.$)&&(t=t._)&&(t=t.root)&&(t=t.dup);if(!(t=t.check(u)))return;l["@"]=t["#"]||l["@"]}}(u),!o.ask(u["@"],u)){if(h&&(h.u=+new Date),u.put)return void n(u);u.get&&t.on.get(u,a)}h&&(h.uc=+new Date),this.to.next(u),h&&(h.ua=+new Date),u.nts||u.NTS||(u.out=l,o.on("out",u),h&&(h.ue=+new Date))}}else this.to.next(u)}function n(n){if(n){var t=n._||"",r=t.root=((t.$=n.$||"")._||"").root;if(n["@"]&&t.faith&&!t.miss)return n.out=l,void r.on("out",n);t.latch=r.hatch,t.match=r.hatch=[];var i=n.put,c=t.DBG=n.DBG,h=+new Date;if(p=p||h,!i["#"]||!i["."]){c&&(c.p=h),t["#"]=n["#"],t.msg=n,t.all=0,t.stun=1;var f=Object.keys(i);console.STAT&&console.STAT(h,((c||t).pk=+new Date)-h,"put sort");var d,m,w,b,v,E,k,x=0;!function l(r){if(d!=x){if(d=x,!(w=f[x]))return console.STAT&&console.STAT(h,((c||t).pd=+new Date)-h,"put"),void s(t);(b=i[w])?(k=b._)?w!==k["#"]?E=g+y(w)+"soul not same.":(v=k[">"])||(E=g+y(w)+"no state."):E=g+y(w)+"no meta.":E=g+y(w)+"no node.",m=Object.keys(b||{})}if(E)return n.err=t.err=E,void s(t);var p,N=0;for(r=r||0;r++<9&&(p=m[N++]);)if("_"!==p){var S=b[p],T=v[p];if(e===T){E=g+y(p)+"on"+y(w)+"no state.";break}if(!a(S)){E=g+y(p)+"on"+y(w)+"bad "+typeof S+y(S);break}u(S,p,w,T,n),++A}(m=m.slice(N)).length?o(l):(++x,m=null,l(r))}()}}}function u(l,n,t,e,r){var s,i=r._||"",o=i.root,a=o.graph,h=a[t]||f,d=c(h,n,1),p=h[n],g=i.DBG;(s=console.STAT)&&(a[t]&&p||(s.has=(s.has||0)+1));var y=b();if(e>y)return setTimeout((function(){u(l,n,t,e,r)}),(s=e-y)>w?w:s),void(console.STAT&&console.STAT((g||i).Hf=+new Date,s,"future"));if(!(e<d)&&(i.faith||e!==d||!(l===p||m(l)<=m(p))||i.miss)){i.stun++;var A=r["#"]+i.all++,v={toString:function(){return A},_:i};v.toJSON=v.toString,o.dup.track(v)["#"]=r["#"],g&&(g.ph=g.ph||+new Date),o.on("put",{"#":v,"@":r["@"],put:{"#":t,".":n,":":l,">":e},ok:r.ok,_:i})}}function r(l){var n;(n=(l._||"").DBG)&&(n.pa=+new Date,n.pm=n.pm||+new Date);var u,t=this.as,e=t.graph,r=l._,i=l.put,o=i["#"],a=i["."],c=i[":"],f=i[">"];l["#"],(u=r.msg)&&(u=u.put)&&(u=u[o])&&h(u,a,f,c,o),e[o]=h(e[o],a,f,c,o),(u=(t.next||"")[o])&&u.on("in",l),s(r),this.to.next(l)}function s(n,u){var t;if(!n.stop&&(n.err||!(0<--n.stun))&&(n.stop=1,t=n.root)){var e=n.match;e.end=1,e===t.hatch&&(!(e=n.latch)||e.end?delete t.hatch:t.hatch=e),n.hatch&&n.hatch(),setTimeout.each(n.match,(function(l){l&&l()})),!(u=n.msg)||n.err||u.err||(u.out=l,n.root.on("out",u),v())}}function d(l){l&&l.root&&(l.stun||l.acks!==l.all||l.root.on("in",{"@":l["#"],err:l.err,ok:l.err?e:l.ok||{"":1}}))}t.create=function(n){n.root=n.root||n,n.graph=n.graph||{},n.on=n.on||t.on,n.ask=n.ask||t.ask,n.dup=n.dup||t.dup();var u=n.$.opt(n.opt);return n.once||(n.on("in",l,n),n.on("out",l,n),n.on("put",r,n),t.on("create",n),n.on("create",n)),n.once=1,u},t.on.put=n;var p,g="Error: Invalid graph!",y=function(l){return" '"+(""+l).slice(0,9)+"...' "},m=JSON.stringify,w=2147483647,b=t.state,A=0,v=function(){A>999&&A/-(p-(p=+new Date))>1&&(t.window&&console.log("Warning: You're syncing 1K+ records a second, faster than DOM can update - consider limiting query."),v=function(){A=0})}}(),function(){function l(l,n){var u=+new Date,t=l._||{},r=t.DBG=l.DBG,s=l["#"],o=i(9),a=Object.keys(n||"").sort(),f=((n||"")._||"")["#"];a.length;var d=l.$._.root,p=n===d.graph[f];console.STAT&&console.STAT(u,((r||t).gk=+new Date)-u,"got keys"),n&&function l(){u=+new Date;for(var t,g,y,m=0,w={};m<9&&(t=a[m++]);)h(w,t,c(n,t),n[t],f);a=a.slice(m),(g={})[f]=w,w=g,p&&((y=function(){}).ram=y.faith=!0),g=a.length,console.STAT&&console.STAT(u,-(u-(u=+new Date)),"got copied some"),r&&(r.ga=+new Date),d.on("in",{"@":s,"#":o,put:w,"%":g?o=i(9):e,$:d.$,_:y,DBG:r,FOO:1}),console.STAT&&console.STAT(u,+new Date-u,"got in"),g&&setTimeout.turn(l)}(),n||d.on("in",{"@":l["#"]})}t.on.get=function(n,u){var t=u._,r=n.get,s=r["#"],i=t.graph[s],o=r["."],a=(t.next||(t.next={}))[s],f=(n._||{}).DBG=n.DBG;if(f&&(f.g=+new Date),!i)return t.on("get",n);if(o){if(("string"!=typeof o||e===i[o])&&!((a||"").next||"")[o])return void t.on("get",n);i=h({},o,c(i,o),i[o],s)}i&&l(n,i),t.on("get",n)},t.on.get.ack=l}(),t.chain.opt=function(l){l=l||{};var n=this._,u=l.peers||l;return Object.plain(l)||(l={}),Object.plain(n.opt)||(n.opt=l),"string"==typeof u&&(u=[u]),Object.plain(n.opt.peers)||(n.opt.peers={}),u instanceof Array&&(l.peers={},u.forEach((function(u){var t={};t.id=t.url=u,l.peers[u]=n.opt.peers[u]=n.opt.peers[u]||t}))),s(l,(function l(n){var u=this[n];this&&this.hasOwnProperty(n)||"string"==typeof u||Object.empty(u)?this[n]=u:(!u||u.constructor===Object||u instanceof Array)&&s(u,l)})),n.opt.from=l,t.on("opt",n),n.opt.uuid=n.opt.uuid||function(l){return t.state().toString(36).replace(".","")+String.random(l||12)},this};var e,r,s=function(l,n){Object.keys(l).forEach(n,l)},i=String.random,o=setTimeout.turn,a=t.valid,c=t.state.is,h=t.state.ify,f={};t.log=function(){return!t.log.off&&r.log.apply(r,arguments),[].slice.call(arguments).join(" ")},t.log.once=function(l,n,u){return(u=t.log.once)[l]=u[l]||0,u[l]++||t.log(n)},"undefined"!=typeof window&&((window.GUN=window.Gun=t).window=window);try{void 0!==n&&(n.exports=t)}catch(l){}u.exports=t,(t.window||{}).console=(t.window||{}).console||{log:function(){}},(r=console).only=function(l,n){return r.only.i&&l===r.only.i&&r.only.i++&&(r.log.apply(r,arguments)||n)},t.log.once("welcome","Hello wonderful person! :) Thanks for using GUN, please ask for help on http://chat.gun.eco if anything takes you longer than 5min to figure out!")}))(l,"./root"),l((function(n){l("./root").chain.back=function(l,n){if(-1===(l=l||1)||1/0===l)return this._.root.$;if(1===l)return(this._.back||this._).$;var e=this._;if("string"==typeof l&&(l=l.split(".")),l instanceof Array){for(var r=0,s=l.length,i=e;r<s;r++)i=(i||t)[l[r]];return u!==i?n?this:i:(i=e.back)?i.$.back(l,n):void 0}if("function"==typeof l){var o;for(i={back:e};(i=i.back)&&u===(o=l(i,n)););return o}return"number"==typeof l?(e.back||e).$.back(l-1):this};var u,t={}}))(l,"./back"),l((function(n){var u=l("./root");function t(l,n){if(n=n||this.as||l.$._,(!l.$$||this===u.on)&&l.put&&!n.soul){var t=l.put||"",e=t["="]||t[":"],r=n.root,s=r.$.get(t["#"]).get(t["."])._;if("string"==typeof(e=a(e))){if(!(s.echo||(s.echo={}))[n.id]||(r.pass||"")[n.id]){if(i=r.pass){if(i[e+n.id])return;i[e+n.id]=1}(s.echo||(s.echo={}))[n.id]=n,n.has&&(n.link=e);var i,o=r.$.get(s.link=e)._;(o.echo||(o.echo={}))[s.id]=s,((i=n.ask||"")[""]||n.lex)&&o.on("out",{get:{"#":e}}),setTimeout.each(Object.keys(i),(function(l,n){l&&(n=i[l])&&n.on("out",{get:{"#":e,".":l}})}),0,99)}}else this===u.on&&((s.echo||(s.echo={}))[n.id]=n)}}function e(l,n){var u,t,r=l.put||"",i=s!==r["="]?r["="]:r[":"],o=n.root;if(s===i){if(n.soul&&s!==n.put)return;if(t=(l.$$||l.$||"")._||"",l["@"]&&(s!==t.put||s!==n.put))return;return(u=n.link||l.linked)&&delete(o.$.get(u)._.echo||"")[n.id],n.has&&(n.link=null),n.put=s,void setTimeout.each(Object.keys(n.next||""),(function(l,t){(t=n.next[l])&&(u&&delete(o.$.get(u).get(l)._.echo||"")[t.id],t.on("in",{get:l,put:s,$:t.$}))}),0,99)}n.soul||l.$$||(u=a(i),t=l.$._||"",(u!==t.link&&(!n.has||t.link)||(o.pass||"")[n.id]&&"string"!=typeof u)&&(delete(t.echo||"")[n.id],e({get:n.get,put:s,$:l.$,linked:l.linked=l.linked||t.link},n)))}function r(l,n){var t=this.as,e=t.$._;e.root;var r=t.get||"",i=(l.put||"")[r["#"]]||"";if(!l.put||"string"==typeof r["."]&&s===i[r["."]]){if(s!==e.put)return;if(!e.soul&&!e.has)return;return e.ack=(e.ack||0)+1,void e.on("in",{get:e.get,put:e.put=s,$:e.$,"@":l["@"]})}(l._||{}).miss=1,u.on.put(l)}u.chain.chain=function(l){var n,t=this,e=t._,r=new(l||t).constructor(t),s=r._;return s.root=n=e.root,s.id=++n.once,s.back=t._,s.on=u.on,s.on("in",u.on.in,s),s.on("out",u.on.out,s),r},u.on.out=function(l){var n,u,t=this.as,e=t.back,i=t.root;if(l.$||(l.$=t.$),this.to.next(l),!t.err){if(n=l.get){if(i.pass&&(i.pass[t.id]=t),t.lex&&Object.keys(t.lex).forEach((function(l){u[l]=t.lex[l]}),u=l.get=l.get||{}),n["#"]||t.soul){if(n["#"]=n["#"]||t.soul,l["#"]||(l["#"]=o(9)),e=i.$.get(n["#"])._,n=n["."]){if(c(e.put,n)&&(u=e.ask&&e.ask[n],(e.ask||(e.ask={}))[n]=e.$.get(n)._,e.on("in",{get:n,put:{"#":e.soul,".":n,":":e.put[n],">":f(i.graph[e.soul],n)}}),u))return}else{if(u=e.ask&&e.ask[""],(e.ask||(e.ask={}))[""]=e,s!==e.put&&(e.on("in",e),u))return;l.$=e.$}return i.ask(r,l),i.on("in",l)}if(n["."])return t.get?(l={get:{".":t.get},$:t.$},(e.ask||(e.ask={}))[t.get]=l.$._,e.on("out",l)):(l={get:t.lex?l.get:{},$:t.$},e.on("out",l));if((t.ask||(t.ask={}))[""]=t,t.get)return n["."]=t.get,(e.ask||(e.ask={}))[t.get]=l.$._,e.on("out",l)}return e.on("out",l)}t.on("in",{put:t.put=s,$:t.$})},u.on.in=function(l,n){var u,r=(n=n||this.as).root,o=l.$||(l.$=n.$),c=(o||"")._||i,h=l.put||"",p=h["#"],g=h["."],y=s!==h["="]?h["="]:h[":"],m=h[">"]||-1/0;if(s!==l.put&&(s===h["#"]||s===h["."]||s===h[":"]&&s===h["="]||s===h[">"]))return a(h)?void n.on("in",{$:c.back.$,put:{"#":p=c.back.soul,".":g=c.has||c.get,"=":h,">":f(c.back.put,g)},via:l}):(p=((h||"")._||"")["#"])?(o=n.root.$.get(p),setTimeout.each(Object.keys(h).sort(),(function(u){"_"!=u&&s!==(m=f(h,u))&&n.on("in",{$:o,put:{"#":p,".":u,"=":h[u],">":m},VIA:l})}))):void console.log("chain not yet supported for",h,"...",l,n);(l.seen||"")[n.id]||((l.seen||(l.seen=function(){}))[n.id]=n,n!==c&&(Object.keys(l).forEach((function(n){h[n]=l[n]}),h={}),h.get=n.get||h.get,n.soul||n.has?c.soul&&(h.$=n.$,h.$$=h.$$||c.$):h.$$$=h.$$$||n.$,l=h),e(l,n),(n.soul||l.$$)&&m>=f(r.graph[p],g)&&((h=r.$.get(p)._).put=d(h.put,g,m,y,p)),!c.soul&&m>=f(r.graph[p],g)&&(u=(r.$.get(p)._.next||"")[g])&&(u.put=y,"string"==typeof(h=a(y))&&(u.put=r.$.get(h)._.put||y)),this.to&&this.to.next(l),n.any&&setTimeout.each(Object.keys(n.any),(function(u){(u=n.any[u])&&u(l)}),0,99),n.echo&&setTimeout.each(Object.keys(n.echo),(function(u){(u=n.echo[u])&&u.on("in",l)}),0,99),((l.$$||"")._||c).soul&&(u=n.next)&&(u=u[g])&&(h={},Object.keys(l).forEach((function(n){h[n]=l[n]})),h.$=(l.$$||l.$).get(h.get=g),delete h.$$,delete h.$$$,u.on("in",h)),t(l,n))},u.on.link=t,u.on.unlink=e;var s,i={},o=String.random,a=u.valid,c=function(l,n){return l&&Object.prototype.hasOwnProperty.call(l,n)},h=u.state,f=h.is,d=h.ify}))(l,"./chain"),l((function(n){var u=l("./root");function t(l){var n=this.at||this.on;if(!l||n.soul||n.has)return this.off();if(l=(l=(l=l.$||l)._||l).id){var u;if(n.map,(u=this.seen||(this.seen={}))[l])return!0;u[l]=!0}}u.chain.get=function(l,n,i){var o,a;if("string"==typeof l){if(0==l.length)return(o=this.chain())._.err={err:u.log("0 length key!",l)},n&&n.call(o,o._.err),o;(o=((h=this._).next||r)[l])||(o=l&&function(l,n){var u=n._,t=u.next,e=n.chain(),r=e._;return t||(t=u.next={}),t[r.get=l]=r,n===u.root.$?r.soul=l:(u.soul||u.has)&&(r.has=l),r}(l,this)),o=o&&o.$}else{if("function"==typeof l){if(!0===n)return function(l,n,t,r){var s,i=l._,o=0;(s=i.soul||i.link)?n(s,r,i):i.jam?i.jam.push([n,r]):(i.jam=[[n,r]],l.get((function(l,n){if(!(e===l.put&&!i.root.opt.super&&(s=Object.keys(i.root.opt.peers).length)&&++o<=s)){n.rid(l);var t,r=(r=l.$)&&r._||{},a=0;for(s=i.jam,delete i.jam;t=s[a++];){var c=t[0];t=t[1],c&&c(r.link||r.soul||u.valid(l.put)||((l.put||{})._||{})["#"],t,l,n)}}}),{out:{get:{".":!0}}}))}(this,l,0,i),this;var c,h=(o=this)._,f=n||{},d=h.root;f.at=h,f.ok=l;var p={};function g(l,n,t){if(!g.stun&&(!(r=d.pass)||r[c])){var r,s=l.$._,i=(l.$$||"")._,o=(i||s).put,a=!s.has&&!s.soul,y={};if((a||e===o)&&(o=e===((r=l.put)||"")["="]?e===(r||"")[":"]?r:r[":"]:r["="]),"string"==typeof(r=u.valid(o))&&(o=e===(r=d.$.get(r)._.put)?f.not?e:o:r),!f.not||e!==o){if(e===f.stun){if((r=d.stun)&&r.on&&(h.$.back((function(l){if(r.on(""+l.id,y={}),(y.run||0)<g.id)return y})),!y.run&&r.on(""+s.id,y={}),!y.run&&i&&r.on(""+i.id,y={}),g.id>y.run&&(y.stun&&!y.stun.end||(y.stun=r.on("stun"),y.stun=y.stun&&y.stun.last),y.stun&&!y.stun.end)))return void((y.stun.add||(y.stun.add={}))[c]=function(){g(l,n,1)});if(e===o&&(t=0),(r=d.hatch)&&!r.end&&e===f.hatch&&!t){if(p[s.$._.id])return;return p[s.$._.id]=1,void r.push((function(){g(l,n,1)}))}p={}}if(d.pass){if(d.pass[c+s.id])return;d.pass[c+s.id]=1}f.on?f.ok.call(s.$,o,s.get,l,n||g):f.v2020?f.ok(l,n||g):(Object.keys(l).forEach((function(n){r[n]=l[n]}),r={}),(l=r).put=o,f.ok.call(f.as,l,n||g))}}}return g.at=h,(h.any||(h.any={}))[c=String.random(7)]=g,g.off=function(){g.stun=1,h.any&&delete h.any[c]},g.rid=t,g.id=f.run||++d.once,a=d.pass,(d.pass={})[c]=1,f.out=f.out||{get:{}},h.on("out",f.out),d.pass=a,o}if("number"==typeof l)return this.get(""+l,n,i);if("string"==typeof(a=s(l)))return this.get(a,n,i);(a=this.get.next)&&(o=a(this,l))}return o?(n&&"function"==typeof n&&o.get(n,i),o):((o=this.chain())._.err={err:u.log("Invalid get request!",l)},n&&n.call(o,o._.err),o)};var e,r={},s=u.valid}))(l,"./get"),l((function(n){var u=l("./root");function t(l,n){if(n){n=(n._||"").id||n;var t,e=l.root.stun||(l.root.stun={on:u.on}),r={};l.stun||(l.stun=e.on("stun",(function(){}))),(t=e.on(""+n))&&t.the.last.next(r),r.run>=l.run||e.on(""+n,(function(n){if(l.stun.end)return this.off(),void this.to.next(n);n.run=n.run||l.run,n.stun=n.stun||l.stun}))}}function e(l){if(l.err)e.end(l.stun,l.root);else if(!l.todo.length&&!l.end&&Object.empty(l.wait)){l.end=1;var n,t=l.$.back(-1)._,r=t.root,s=t.ask((function(n){r.on("ack",n),n.err&&!n.lack&&u.log(n),++i>(l.acks||0)&&this.off(),l.ack&&l.ack(n,this)}),l.opt),i=0,o=l.stun;(n=function(){o&&(e.end(o,r),setTimeout.each(Object.keys(o=o.add||""),(function(l){(l=o[l])&&l()})))}).hatch=n,l.ack&&!l.ok&&(l.ok=l.acks||9),l.via._.on("out",{put:l.out=l.graph,ok:l.ok&&{"@":l.ok+1},opt:l.opt,"#":s,_:n})}}u.chain.put=function(l,n,s){var c=this,h=c._,f=h.root;(s=s||{}).root=h.root,s.run||(s.run=f.once),t(s,h.id),s.ack=s.ack||n,s.via=s.via||c,s.data=s.data||l,s.soul||(s.soul=h.soul||"string"==typeof n&&n);var d=s.state=s.state||u.state();return"function"==typeof l?(l((function(l){s.data=l,c.put(r,r,s)})),c):s.soul?(s.$=f.$.get(s.soul),s.todo=[{it:s.data,ref:s.$}],s.turn=s.turn||i,s.ran=s.ran||e,function l(){var n,r,i,c,h,f=s.todo,p=f.pop(),g=p.it;if(p.ref&&p.ref._.id,t(s,p.ref),(c=p.todo)&&(g=g[r=c.pop()],c.length&&f.push(p)),r&&(f.path||(f.path=[])).push(r),!(n=o(g))&&!(h=u.is(g))){if(!Object.plain(g))return void e.err(s,"Invalid data: "+function(l,n){return l&&(n=l.constructor)&&n.name||typeof l}(g)+" at "+(s.via.back((function(l){l.get&&c.push(l.get)}),c=[])||c.join("."))+"."+(f.path||[]).join("."));for(var y=s.seen||(s.seen=[]),m=y.length;m--;)if(g===(c=y[m]).it){n=g=c.link;break}}if(r&&n)p.node=a(p.node,r,d,g);else{if(!s.seen)return void e.err(s,"Data at root of graph must be a node (an object).");s.seen.push(i={it:g,link:{},todo:h?[]:Object.keys(g).sort().reverse(),path:(f.path||[]).slice(),up:p}),p.node=a(p.node,r,d,i.link),!h&&i.todo.length&&f.push(i);var w=s.seen.length;function b(l,n){var u=i.link["#"];n&&(n.off(),n.rid(l));var e=u||l.soul||(c=(l.$$||l.$)._||"").soul||c.link||((c=c.put||"")._||"")["#"]||c["#"]||((c=l.put||"")&&l.$$?c["#"]:(c["="]||c[":"]||"")["#"]);!u&&t(s,l.$),e||p.link["#"]?(e||(e=[],(l.$$||l.$).back((function(l){if(c=l.soul||l.link)return e.push(c);e.push(l.get)})),e=e.reverse().join("/")),i.link["#"]=e,!h&&(((s.graph||(s.graph={}))[e]=i.node||(i.node={_:{}}))._["#"]=e),delete s.wait[w],i.wait&&setTimeout.each(i.wait,(function(l){l&&l()})),s.ran(s)):(p.wait||(p.wait=[])).push((function(){b(l,n)}))}(s.wait||(s.wait={}))[w]="",c=(i.ref=h?g:r?p.ref.get(r):p.ref)._,(c=g&&(g._||"")["#"]||c.soul||c.link)?b({soul:c}):i.ref.get(b,{run:s.run,v2020:1,out:{get:{".":" "}}})}if(!f.length)return s.ran(s);s.turn(l)}(),c):(function(l){var n,u=l.via._;l.via=l.via.back((function(u){if(u.soul||!u.get)return u.$;n=l.data,(l.data={})[u.get]=n})),l.via&&l.via._.soul||(l.via=u.root.$.get(((l.data||"")._||"")["#"]||u.$.back("opt.uuid")())),l.via.put(l.data,l.ack,l)}(s),c)},e.end=function(l,n){l.end=s,l.the.to===l&&l===l.the.last&&delete n.stun,l.off()},e.err=function(l,n){(l.ack||s).call(l,l.out={err:l.err=u.log(n)}),l.ran(l)};var r,s=function(){},i=setTimeout.turn,o=u.valid,a=u.state.ify}))(l,"./put"),l((function(n){var u=l("./root");l("./chain"),l("./back"),l("./put"),l("./get"),n.exports=u}))(l,"./index"),l((function(n){var u,t=l("./index");t.chain.on=function(l,n,u,t){var e,r=this,s=r._;if(s.root,"string"==typeof l)return n?(e=s.on(l,n,u||s,t),u&&u.$&&(u.subs||(u.subs=[])).push(e),r):s.on(l);var i=n;return(i=!0===i?{change:!0}:i||{}).not=1,i.on=1,r.get(l,i),r},t.chain.once=function(l,n){if(n=n||{},!l)return function(l,n,u){return t.log.once("valonce","Chainable val is experimental, its behavior and API may change moving forward. Please play with it and report bugs and ideas on how to improve it."),(u=l.chain())._.nix=l.once((function(l,n){u._.on("in",this._)})),u._.lex=l._.lex,u}(this);var e=this,r=e._,s=r.root;r.put;var i,o=String.random(7);return e.get((function(e,a,c,h){var f=this,d=f._,p=d.one||(d.one={});function g(y){d.has||d.soul||(d={put:e,get:a}),u===(i=d.put)&&(i=((c.$$||"")._||"").put),"string"!=typeof t.valid(i)||(i=s.$.get(i)._.put)!==u||y?h.stun||""!==p[o]&&(p[o]="",(r.soul||r.has)&&h.off(),l.call(f,i,d.get),clearTimeout(p[o])):p[o]=setTimeout((function(){g(1)}),n.wait||99)}h.stun||""!==p[o]&&(!0!==(i=t.valid(e))?"string"!=typeof i&&(clearTimeout((r.one||"")[o]),clearTimeout(p[o]),p[o]=setTimeout(g,n.wait||99)):g())}),{on:1}),e},t.chain.off=function(){var l,n=this._,u=n.back;if(u)return n.ack=0,(l=u.next)&&l[n.get]&&delete l[n.get],(l=u.any)&&(delete u.any,u.any={}),(l=u.ask)&&delete l[n.get],(l=u.put)&&delete l[n.get],(l=n.soul)&&delete u.root.graph[l],(l=n.map)&&Object.keys(l).forEach((function(n,t){(t=l[n]).link&&u.root.$.get(t.link).off()})),(l=n.next)&&Object.keys(l).forEach((function(n,u){l[n].$.off()})),n.on("off",{}),this}}))(l,"./on"),l((function(n){var u=l("./index"),t=u.chain.get.next;function e(l){this.to.next(l);var n,t=this.as,e=l.$._,r=l.put;(e.soul||l.$$)&&((n=t.lex)&&!String.match(l.get||(r||"")["."],n["."]||n["#"]||n)||u.on.link(l,t))}u.chain.get.next=function(l,n){var u;return Object.plain(n)?(u=((u=n["#"])||"")["="]||u)?l.get(u):((u=l.chain()._).lex=n,l.on("in",(function(l){String.match(l.get||(l.put||"")["."],n["."]||n["#"]||n)&&u.on("in",l),this.to.next(l)})),u.$):(t||s)(l,n)},u.chain.map=function(l,n,t){var i,o,a=this,c=a._;return Object.plain(l)&&(i=l["."]?l:{".":l},l=r),l?(u.log.once("mapfn","Map functions are experimental, their behavior and API may change moving forward. Please play with it and report bugs and ideas on how to improve it."),o=a.chain(),a.map().on((function(n,t,e,i){var a=(l||s).call(this,n,t,e,i);if(r!==a){if(n===a)return o._.on("in",e);if(u.is(a))return o._.on("in",a._);var c={};Object.keys(e.put).forEach((function(l){c[l]=e.put[l]}),c),c["="]=a,o._.on("in",{get:t,put:c})}})),o):((o=c.each)||((c.each=o=a.chain())._.lex=i||o._.lex||c.lex,o._.nix=a.back("nix"),a.on("in",e,o._)),o)};var r,s=function(){}}))(l,"./map"),l((function(n){var u=l("./index");u.chain.set=function(l,n,t){var e,r,s=this,i=s.back(-1);return n=n||function(){},(t=t||{}).item=t.item||l,(e=((l||"")._||"")["#"])&&((l={})["#"]=e),"string"==typeof(r=u.valid(l))?s.get(e=r).put(l,n,t):u.is(l)?(s.put((function(t){l.get((function(l,e,i){if(!l)return n.call(s,{err:u.log('Only a node can be linked! Not "'+i.put+'"!')});(r={})[l]={"#":l},t(r)}),!0)})),l):(Object.plain(l)&&(l=i.get(e=s.back("opt.uuid")()).put(l)),s.get(e||i.back("opt.uuid")(7)).put(l,n,t))}}))(l,"./set"),l((function(n){l("./shim");var u,t=function(){},e=JSON.parseAsync||function(l,n,u){var t=+new Date;try{n(void 0,JSON.parse(l,u),r.sucks(+new Date-t))}catch(l){n(l)}},r=JSON.stringifyAsync||function(l,n,u,t){var e=+new Date;try{n(void 0,JSON.stringify(l,u,t),r.sucks(+new Date-e))}catch(l){n(l)}};r.sucks=function(l){l>99&&(console.log("Warning: JSON blocking CPU detected. Add `gun/lib/yson.js` to fix."),r.sucks=t)};try{n.exports=function(l){var n=function(){},t=l.opt||{};t.log=t.log||console.log,t.gap=t.gap||t.wait||0,t.max=t.max||.3*(t.memory?999*t.memory*999:3e8),t.pack=t.pack||.01*t.max*.01,t.puff=t.puff||9;var s=setTimeout.turn||setTimeout,i=l.dup,o=i.check,a=i.track,c=n.hear=function(l,u){if(l){if(t.max<=l.length)return n.say({dam:"!",err:"Message too big!"},u);n===this&&(c.d+=l.length||0,++c.c);var r,i=u.SH=+new Date,o=l[0];return"["===o?(e(l,(function(l,e){if(l||!e)return n.say({dam:"!",err:"DAM JSON parse error."},u);console.STAT&&console.STAT(+new Date,e.length,"# on hear batch");var r=t.puff;!function l(){for(var t,i=+new Date,o=0;o<r&&(t=e[o++]);)n.hear(t,u);e=e.slice(o),console.STAT&&console.STAT(i,+new Date-i,"hear loop"),h(u),e.length&&s(l,0)}()})),void(l="")):"{"===o||(l["#"]||Object.plain(l))&&(r=l)?r?c.one(r,u,i):void e(l,(function(l,t){if(l||!t)return n.say({dam:"!",err:"DAM JSON parse error."},u);c.one(t,u,i)})):void 0}};function h(l){var n=l.batch,u="string"==typeof n;if(u&&(n+="]"),l.batch=l.tail=null,n&&!(u?3>n.length:!n.length)){if(!u)try{n=1===n.length?n[0]:JSON.stringify(n)}catch(l){return t.log("DAM JSON stringify error",l)}n&&f(n,l)}}function f(l,u){try{var t=u.wire;u.say?u.say(l):t.send&&t.send(l),n.say.d+=l.length||0,++n.say.c}catch(n){(u.queue=u.queue||[]).push(l)}}return c.one=function(u,t,e){var r,s,c,h,f;if(u.DBG&&(u.DBG=f={DBG:u.DBG}),f&&(f.h=e),f&&(f.hp=+new Date),(r=u["#"])||(r=u["#"]=String.random(9)),!((c=o(r))||(s=u["##"])&&(c=u["@"]||u.get&&r)&&i.check(h=c+s))){if((u._=function(){}).via=n.leap=t,(c=u["><"])&&"string"==typeof c&&c.slice(0,99).split(",").forEach((function(l){this[l]=1}),u._.yo={}),c=u.dam)return(c=n.hear[c])&&c(u,t,l),void a(r);(c=u.ok)&&(u._.near=c["/"]),e=+new Date,f&&(f.is=e),t.SI=r,a.ed=function(l){r===l&&(a.ed=0,(l=i.s[r])&&(l.via=t,u.get&&(l.it=u)))},l.on("in",n.last=u),f&&(f.hd=+new Date),console.STAT&&console.STAT(e,+new Date-e,u.get?"msg get":u.put?"msg put":"msg"),a(r),h&&a(h),n.leap=n.last=null}},c.c=c.d=0,function(){var l,e=0;function c(l,n){var u;return n instanceof Object?(Object.keys(n).sort().forEach(d,{to:u={},on:n}),u):n}function d(l){this.to[l]=this.on[l]}n.hash=function(l,u){var t,e,i,o=+new Date;r(l.put,(function r(a,c){var h=(e||(e=i=c||"")).slice(0,32768);t=String.hash(h,t),(e=e.slice(32768))?s(r,0):(console.STAT&&console.STAT(o,+new Date-o,"say json+hash"),l._.$put=i,l["##"]=t,n.say(l,u),delete l._.$put)}),c)},n.say=function(r,o){var c;if((c=this)&&(c=c.to)&&c.next&&c.next(r),!r)return!1;var d,p,g,y=r["@"],m=r._||(r._=function(){}),w=r.DBG,b=+new Date;if(m.y=m.y||b,o||w&&(w.y=b),(d=r["#"])||(d=r["#"]=String.random(9)),!l&&a(d),(p=r["##"])||u===r.put||m.via||!y){if(!o&&y&&(o=(c=i.s[y])&&(c.via||(c=c.it)&&(c=c._)&&c.via)||(c=n.last)&&y===c["#"]&&n.leap),!o&&y){if(i.s[y])return;return console.STAT&&console.STAT(+new Date,++e,"total no peer to ack to"),!1}if(y&&!r.put&&!p&&((i.s[y]||"").it||"")["##"])return!1;if(!o&&n.way)return n.way(r);if(w&&(w.yh=+new Date),g=m.raw){if(w&&(w.yr=+new Date),!o||!o.id){if(!Object.plain(o||t.peers))return!1;b=+new Date,t.puff;var A=t.peers,v=Object.keys(o||t.peers||{});return console.STAT&&console.STAT(b,+new Date-b,"peer keys"),void function u(){var t=+new Date;l=1;var e=m.raw;m.raw=g;for(var i,c=0;c<9&&(i=(v||"")[c++]);)(i=A[i]||(o||"")[i])&&n.say(r,i);m.raw=e,l=0,v=v.slice(c),console.STAT&&console.STAT(t,+new Date-t,"say loop"),v.length&&(s(u,0),y&&a(y))}()}if(!o.wire&&n.wire&&n.wire(o),d!==o.last){if(o.last=d,o===m.via)return!1;if((c=m.yo)&&(c[o.url]||c[o.pid]||c[o.id]))return!1;if(console.STAT&&console.STAT(b,((w||m).yp=+new Date)-(m.y||b),"say prep"),!l&&y&&a(y),o.batch){if(o.tail=(c=o.tail||0)+g.length,o.tail<=t.pack)return void(o.batch+=(c?",":"")+g);h(o)}o.batch="[";var E=+new Date;setTimeout((function(){console.STAT&&console.STAT(E,+new Date-E,"0ms TO"),h(o)}),t.gap),f(g,o),console.STAT&&y===o.SI&&console.STAT(b,+new Date-o.SH,"say ack")}}else n.raw(r,o)}else n.hash(r,o)},n.say.c=n.say.d=0,n.raw=function(l,e){if(!l)return"";var s,a,c=l._||{};if(a=c.raw)return a;if("string"==typeof l)return l;var h=l["##"],f=l["@"];if(h&&f){if(!c.via&&o(f+h))return!1;if(a=(i.s[f]||"").it){if(h===a["##"])return!1;a["##"]||(a["##"]=h)}}if(!l.dam&&!l["@"]){var d=0,p=[];for(var g in a=t.peers){var y=a[g];if(p.push(y.url||y.pid||y.id),++d>6)break}d>1&&(l["><"]=p.join())}if(l.put&&(a=l.ok)&&(l.ok={"@":(a["@"]||1)-1,"/":a["/"]==l._.near?n.near:a["/"]}),s=c.$put)return a={},Object.keys(l).forEach((function(n){a[n]=l[n]})),a.put=":])([:",void r(a,(function(l,n){if(!l){var t=+new Date;a=n.indexOf('"put":":])([:"'),m(u,n=n.slice(0,a+6)+s+n.slice(a+14)),console.STAT&&console.STAT(t,+new Date-t,"say slice")}}));function m(u,t){u||(c.raw=t,n.say(l,e))}r(l,m)}}(),n.near=0,n.hi=function(u){var e;u.wire?(u.id?t.peers[u.url||u.id]=u:(e=u.id=u.id||u.url||String.random(9),n.say({dam:"?",pid:l.opt.pid},t.peers[e]=u),delete i.s[u.last]),u.met||(n.near++,u.met=+new Date,l.on("hi",u)),e=u.queue,u.queue=[],setTimeout.each(e||[],(function(l){f(l,u)}),0,9)):n.wire(u.length&&{url:u,id:u}||u)},n.bye=function(u){u.met&&--n.near,delete u.met,l.on("bye",u);var t=+new Date;t-=u.met||t,n.bye.time=((n.bye.time||t)+t)/2},n.hear["!"]=function(l,n){t.log("Error:",l.err)},n.hear["?"]=function(l,u){l.pid&&(u.pid||(u.pid=l.pid),l["@"])||(n.say({dam:"?",pid:t.pid,"@":l["#"]},u),delete i.s[u.last])},n.hear.mob=function(l,u){if(l.peers){var t=Object.keys(l.peers),e=t[Math.random()*t.length|0];e&&(n.bye(u),n.hi(e))}},l.on("create",(function(l){l.opt.pid=l.opt.pid||String.random(9),this.to.next(l),l.on("out",n.say)})),l.on("bye",(function(l,n){l=t.peers[l.id||l]||l,this.to.next(l),l.bye?l.bye():(n=l.wire)&&n.close&&n.close(),delete t.peers[l.id],l.wire=null})),l.on("bye",(function(l,u){this.to.next(l),(u=console.STAT)&&(u.peers=n.near),(u=l.url)&&setTimeout((function(){}),t.lack||9e3)})),l.on("hi",(function(u,e){if(this.to.next(u),(e=console.STAT)&&(e.peers=n.near),!t.super){var r=Object.keys(l.next||"");r.length>9999&&!console.SUBS&&console.log(console.SUBS="Warning: You have more than 10K live GETs, which might use more bandwidth than your screen can show - consider `.off()`."),setTimeout.each(r,(function(e){var r=l.next[e];t.super||(r.ask||"")[""]?n.say({get:{"#":e}},u):setTimeout.each(Object.keys(r.ask||""),(function(t){t&&n.say({"##":String.hash((l.graph[e]||"")[t]),get:{"#":e,".":t}},u)}))}))}})),n}}catch(l){}}))(l,"./mesh"),l((function(n){var u=l("./index");u.Mesh=l("./mesh"),u.on("opt",(function(l){if(this.to.next(l),!l.once){var n=l.opt;if(!1!==n.WebSocket){var t=u.window||{},e=n.WebSocket||t.WebSocket||t.webkitWebSocket||t.mozWebSocket;if(e){n.WebSocket=e;var r=n.mesh=n.mesh||u.Mesh(l);r.wire||n.wire,r.wire=n.wire=o,setTimeout((function(){!n.super&&l.on("out",{dam:"hi"})}),1);var s=1998,i=""+void 0!=typeof document&&document}}}function o(l){try{if(!l||!l.url)return t&&t(l);var u=l.url.replace(/^http/,"ws"),t=l.wire=new n.WebSocket(u);return t.onclose=function(){a(l),n.mesh.bye(l)},t.onerror=function(n){a(l)},t.onopen=function(){n.mesh.hi(l)},t.onmessage=function(u){u&&n.mesh.hear(u.data||u,l)},t}catch(u){n.mesh.bye(l)}}function a(l){clearTimeout(l.defer),n.peers[l.url]&&(i&&l.retry<=0||(l.retry=(l.retry||n.retry+1||60)-(-l.tried+(l.tried=+new Date)<4*s?1:0),l.defer=setTimeout((function n(){if(i&&i.hidden)return setTimeout(n,s);o(l)}),s)))}}))}))(l,"./websocket"),l((function(l){if("undefined"!=typeof Gun){var n;try{n=(Gun.window||function(){}).localStorage}catch(l){}n||(Gun.log("Warning: No localStorage exists to persist data to!"),n={setItem:function(l,n){this[l]=n},removeItem:function(l){delete this[l]},getItem:function(l){return this[l]}});var u=JSON.stringifyAsync||function(l,n,u,t){try{n(void 0,JSON.stringify(l,u,t))}catch(l){n(l)}};Gun.on("create",(function l(t){this.to.next(t);var e=t.opt;t.graph;var r,s,i,o,a=[];if(!1!==e.localStorage){e.prefix=e.file||"gun/";try{r=l[e.prefix]=l[e.prefix]||JSON.parse(i=n.getItem(e.prefix))||{}}catch(n){r=l[e.prefix]={}}i=(i||"").length,t.on("get",(function(l){this.to.next(l);var n,u,t,e=l.get;e&&(n=e["#"])&&((u=r[n]||void 0)&&(t=e["."])&&!Object.plain(t)&&(u=Gun.state.ify({},t,Gun.state.is(u,t),u[t],n)),Gun.on.get.ack(l,u))})),t.on("put",(function(l){this.to.next(l);var n=l.put,u=n["#"],e=n["."],h=l["#"],f=l.ok||"";r[u]=Gun.state.ify(r[u],e,n[">"],n[":"],u),o&&i>4999880?t.on("in",{"@":h,err:"localStorage max!"}):(l["@"]||l._.via&&!(Math.random()<f["@"]/f["/"])||a.push(h),s||(s=setTimeout(c,9+i/333)))}))}function c(){if(a.length||!((setTimeout.turn||"").s||"").length){var l=a;clearTimeout(s),s=!1,a=[],u(r,(function(u,s){try{!u&&n.setItem(e.prefix,s)}catch(l){u=o=l||"localStorage failure"}u&&(Gun.log(u+" Consider using GUN's IndexedDB plugin for RAD for more storage space, https://gun.eco/docs/RAD#install"),t.on("localStorage:error",{err:u,get:e.prefix,put:r})),i=s.length,setTimeout.each(l,(function(l){t.on("in",{"@":l,err:u,ok:0})}),0,99)}))}else setTimeout(c,99)}}))}}))(l,"./localStorage")}(),function(){if(""+E!=typeof Gun){var l=function(l){console.warn("Warning! Deprecated internal utility will break in next version:",l)},n=Gun;n.fn=n.fn||{is:function(n){return l("fn"),!!n&&"function"==typeof n}},n.bi=n.bi||{is:function(n){return l("bi"),n instanceof Boolean||"boolean"==typeof n}},n.num=n.num||{is:function(n){return l("num"),!t(n)&&(n-parseFloat(n)+1>=0||1/0===n||-1/0===n)}},n.text=n.text||{is:function(n){return l("text"),"string"==typeof n}},n.text.ify=n.text.ify||function(u){return l("text.ify"),n.text.is(u)?u:"undefined"!=typeof JSON?JSON.stringify(u):u&&u.toString?u.toString():u},n.text.random=n.text.random||function(n,u){l("text.random");var t="";for(n=n||24,u=u||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz";n>0;)t+=u.charAt(Math.floor(Math.random()*u.length)),n--;return t},n.text.match=n.text.match||function(n,u){var t,e;return l("text.match"),"string"==typeof n&&("string"==typeof u&&(u={"=":u}),n===(t=(u=u||{})["="]||u["*"]||u[">"]||u["<"])||e===u["="]&&(t=u["*"]||u[">"]||u["<"],n.slice(0,(t||"").length)===t||e===u["*"]&&(e!==u[">"]&&e!==u["<"]?n>=u[">"]&&n<=u["<"]:e!==u[">"]&&n>=u[">"]||e!==u["<"]&&n<=u["<"])))},n.text.hash=n.text.hash||function(n,u){if(l("text.hash"),"string"==typeof n){if(u=u||0,!n.length)return u;for(var t=0,e=n.length;t<e;++t)u=(u<<5)-u+n.charCodeAt(t),u|=0;return u}},n.list=n.list||{is:function(n){return l("list"),n instanceof Array}},n.list.slit=n.list.slit||Array.prototype.slice,n.list.sort=n.list.sort||function(n){return l("list.sort"),function(l,u){return l&&u?(l=l[n])<(u=u[n])?-1:l>u?1:0:0}},n.list.map=n.list.map||function(n,u,t){return l("list.map"),s(n,u,t)},n.list.index=1,n.obj=n.boj||{is:function(n){return l("obj"),!!n&&(n instanceof Object&&n.constructor===Object||"Object"===Object.prototype.toString.call(n).match(/^\[object (\w+)\]$/)[1])}},n.obj.put=n.obj.put||function(n,u,t){return l("obj.put"),(n||{})[u]=t,n},n.obj.has=n.obj.has||function(n,u){return l("obj.has"),n&&Object.prototype.hasOwnProperty.call(n,u)},n.obj.del=n.obj.del||function(n,u){if(l("obj.del"),n)return n[u]=null,delete n[u],n},n.obj.as=n.obj.as||function(n,u,t,e){return l("obj.as"),n[u]=n[u]||(e===t?{}:t)},n.obj.ify=n.obj.ify||function(n){if(l("obj.ify"),e(n))return n;try{n=JSON.parse(n)}catch(l){n={}}return n},function(){function u(l,n){r(this,n)&&void 0!==this[n]||(this[n]=l)}n.obj.to=n.obj.to||function(n,t){return l("obj.to"),s(n,u,t=t||{}),t}}(),n.obj.copy=n.obj.copy||function(n){return l("obj.copy"),n?JSON.parse(JSON.stringify(n)):n},function(){function u(l,n){var u=this.n;if(!u||!(n===u||e(u)&&r(u,n)))return void 0!==n||void 0}n.obj.empty=n.obj.empty||function(n,t){return l("obj.empty"),!n||!s(n,u,{n:t})}}(),function(){function u(l,n){if(2===arguments.length)return u.r=u.r||{},void(u.r[l]=n);u.r=u.r||[],u.r.push(l)}var s,i=Object.keys;Object.keys=Object.keys||function(l){return s(l,(function(l,n,u){u(n)}))},n.obj.map=s=n.obj.map||function(s,o,a){l("obj.map");var c,h,f,d,p,g=0,y="function"==typeof o;if(u.r=c,i&&e(s)&&(d=i(s),p=!0),a=a||{},t(s)||d)for(h=(d||s).length;g<h;g++){var m=g+n.list.index;if(y){if((f=p?o.call(a,s[d[g]],d[g],u):o.call(a,s[g],m,u))!==c)return f}else if(o===s[p?d[g]:g])return d?d[g]:m}else for(g in s)if(y){if(r(s,g)&&(f=a?o.call(a,s[g],g,u):o(s[g],g,u))!==c)return f}else if(o===s[g])return g;return y?u.r:n.list.index?0:-1}}(),n.time=n.time||{},n.time.is=n.time.is||function(n){return l("time"),n?n instanceof Date:+(new Date).getTime()};var u=n.fn.is,t=n.list.is,e=(v=n.obj).is,r=v.has,s=v.map,i={is:function(n){return l("val.is"),n!==E&&(null===n||n!==1/0&&(!!(h(n)||a(n)||c(n))||i.link.is(n)||!1))}};i.link=i.rel={_:"#"},function(){function n(l,n){var u=this;return u.id?u.id=!1:n==o&&h(l)?void(u.id=l):u.id=!1}i.link.is=function(u){if(l("val.link.is"),u&&u[o]&&!u._&&e(u)){var t={};if(s(u,n,t),t.id)return t.id}return!1}}(),i.link.ify=function(n){return l("val.link.ify"),f({},o,n)},n.obj.has._=".";var o=i.link._,a=n.bi.is,c=n.num.is,h=n.text.is,f=(e=(v=n.obj).is,v.put);s=v.map,n.val=n.val||i;var d={_:"_",soul:function(n,u){return l("node.soul"),n&&n._&&n._[u||y]}};d.soul.ify=function(n,u){return l("node.soul.ify"),u="string"==typeof u?{soul:u}:u||{},(n=n||{})._=n._||{},n._[y]=u.soul||n._[y]||g(),n},d.soul._=i.link._,function(){function n(l,n){if(n!==d._)return!i.is(l)||void(this.cb&&this.cb.call(this.as,l,n,this.n,this.s))}d.is=function(u,t,r){var i;return l("node.is"),!!e(u)&&!!(i=d.soul(u))&&!s(u,n,{as:r,cb:t,s:i,n:u})}}(),function(){function n(l,n){var u,t=this.o;t.map?void 0===(u=t.map.call(this.as,l,""+n,t.node))?p(t.node,n):t.node&&(t.node[n]=u):i.is(l)&&(t.node[n]=l)}d.ify=function(u,t,e){return l("node.ify"),t?"string"==typeof t?t={soul:t}:"function"==typeof t&&(t={map:t}):t={},t.map&&(t.node=t.map.call(e,u,E,t.node||{})),(t.node=d.soul.ify(t.node||{},t))&&s(u,n,{o:t,as:e}),t.node}}(),e=(v=n.obj).is;var p=v.del,g=(s=v.map,n.text.random),y=d.soul._;n.node=n.node||d;var m=n.state;m.lex=function(){return l("state.lex"),m().toString(36).replace(".","")},m.to=function(n,u,t){l("state.to");var r=(n||{})[u];return e(r)&&(r=w(r)),m.ify(t,u,m.is(n,u),r,d.soul(n))},function(){function n(l,n){b!==n&&m.ify(this.o,n,this.s)}m.map=function(t,i,o){var a;l("state.map");var h=e(h=t||i)?h:null;return t=u(t=t||i)?t:null,h&&!t?(i=c(i)?i:m(),h[b]=h[b]||{},s(h,n,{o:h,s:i}),h):(o=o||e(i)?i:a,i=c(i)?i:m(),function(l,u,e,s){if(!t)return n.call({o:e,s:i},l,u),l;t.call(o||this||{},l,u,e,s),r(e,u)&&a===e[u]||n.call({o:e,s:i},l,u)})}}(),(v=n.obj).as,r=v.has,e=v.is,s=v.map;var w=v.copy,b=(c=n.num.is,u=n.fn.is,d._),A={};!function(){function n(l,n){if(!l||n!==d.soul(l)||!d.is(l,this.fn,this.as))return!0;this.cb&&(u.n=l,u.as=this.as,this.cb.call(u.as,l,n,u))}function u(l){l&&d.is(u.n,l,u.as)}A.is=function(u,t,r,i){return l("graph.is"),!(!u||!e(u)||k(u)||s(u,n,{cb:t,fn:r,as:i}))}}(),function(){function u(l,n){var u;return(u=function(l,n){for(var u,t=l.seen,e=t.length;e--;)if(u=t[e],n.obj===u.obj)return u;t.push(n)}(l,n))?u:(n.env=l,n.soul=s,d.ify(n.obj,t,n)&&(n.link=n.link||i.link.ify(d.soul(n.node)),n.obj!==l.shell&&(l.graph[i.link.is(n.link)]=n.node)),n)}function t(l,n,t){var e,s,a=this,c=a.env;if(d._===n&&r(l,i.link._))return t._;if(e=o(l,n,t,a,c)){if(n||(a.node=a.node||t||{},r(l,d._)&&d.soul(l)&&(a.node._=w(l._)),a.node=d.soul.ify(a.node,i.link.is(a.link)),a.link=a.link||i.link.ify(d.soul(a.node))),(s=c.map)&&(s.call(c.as||{},l,n,t,a),r(t,n))){if(l=t[n],E===l)return void p(t,n);if(!(e=o(l,n,t,a,c)))return}if(!n)return a.node;if(!0===e)return l;if((s=u(c,{obj:l,path:a.path.concat(n)})).node)return s.link}}function s(l){var n=this,u=i.link.is(n.link),t=n.env.graph;n.link=n.link||i.link.ify(l),n.link[i.link._]=l,n.node&&n.node[d._]&&(n.node[d._][i.link._]=l),r(t,u)&&(t[l]=t[u],p(t,u))}function o(l,u,t,r,s){var a;return!!i.is(l)||(e(l)?1:(a=s.invalid)?o(l=a.call(s.as||{},l,u,t),u,t,r,s):(s.err="Invalid value at '"+r.path.concat(u).join(".")+"'!",void(n.list.is(l)&&(s.err+=" Use `.set(item)` instead of an Array."))))}A.ify=function(n,t,e){l("graph.ify");var r={path:[],obj:n};return t?"string"==typeof t?t={soul:t}:"function"==typeof t&&(t.map=t):t={},"string"==typeof e&&(t.soul=t.soul||e,e=E),t.soul&&(r.link=i.link.ify(t.soul)),t.shell=(e||{}).shell,t.graph=t.graph||{},t.seen=t.seen||[],t.as=t.as||e,u(t,r),t.root=r.node,t.graph}}(),A.node=function(n){l("graph.node");var u=d.soul(n);if(u)return f({},u,n)},function(){function n(l,n){var u,t;if(d._!==n)(u=i.link.is(l))?(t=this.opt.seen[u])?this.obj[n]=t:this.obj[n]=this.opt.seen[u]=A.to(this.graph,u,this.opt):this.obj[n]=l;else{if(k(l,i.link._))return;this.obj[n]=w(l)}}A.to=function(u,t,e){if(l("graph.to"),u){var r={};return e=e||{seen:{}},s(u[t],n,{obj:r,graph:u,opt:e}),r}}}(),u=n.fn.is,e=(v=n.obj).is,p=v.del,r=v.has;var v,E,k=v.empty;f=v.put,s=v.map,w=v.copy,n.graph=n.graph||A}}();var w=n(m.exports);const b="6.13.4";function A(l,n,u){const t=n.split("|").map((l=>l.trim()));for(let u=0;u<t.length;u++)switch(n){case"any":return;case"bigint":case"boolean":case"number":case"string":if(typeof l===n)return}const e=new Error(`invalid value for type ${n}`);throw e.code="INVALID_ARGUMENT",e.argument=`value.${u}`,e.value=l,e}async function v(l){const n=Object.keys(l);return(await Promise.all(n.map((n=>Promise.resolve(l[n]))))).reduce(((l,u,t)=>(l[n[t]]=u,l)),{})}function E(l,n,u){for(let t in n){let e=n[t];const r=u?u[t]:null;r&&A(e,r,t),Object.defineProperty(l,t,{enumerable:!0,value:e,writable:!1})}}function k(l){if(null==l)return"null";if(Array.isArray(l))return"[ "+l.map(k).join(", ")+" ]";if(l instanceof Uint8Array){const n="0123456789abcdef";let u="0x";for(let t=0;t<l.length;t++)u+=n[l[t]>>4],u+=n[15&l[t]];return u}if("object"==typeof l&&"function"==typeof l.toJSON)return k(l.toJSON());switch(typeof l){case"boolean":case"symbol":case"number":return l.toString();case"bigint":return BigInt(l).toString();case"string":return JSON.stringify(l);case"object":{const n=Object.keys(l);return n.sort(),"{ "+n.map((n=>`${k(n)}: ${k(l[n])}`)).join(", ")+" }"}}return"[ COULD NOT SERIALIZE ]"}function x(l,n){return l&&l.code===n}function N(l){return x(l,"CALL_EXCEPTION")}function S(l,n,u){let t,e=l;{const t=[];if(u){if("message"in u||"code"in u||"name"in u)throw new Error(`value will overwrite populated values: ${k(u)}`);for(const l in u){if("shortMessage"===l)continue;const n=u[l];t.push(l+"="+k(n))}}t.push(`code=${n}`),t.push(`version=${b}`),t.length&&(l+=" ("+t.join(", ")+")")}switch(n){case"INVALID_ARGUMENT":t=new TypeError(l);break;case"NUMERIC_FAULT":case"BUFFER_OVERRUN":t=new RangeError(l);break;default:t=new Error(l)}return E(t,{code:n}),u&&Object.assign(t,u),null==t.shortMessage&&E(t,{shortMessage:e}),t}function T(l,n,u,t){if(!l)throw S(n,u,t)}function O(l,n,u,t){T(l,n,"INVALID_ARGUMENT",{argument:u,value:t})}function P(l,n,u){null==u&&(u=""),u&&(u=": "+u),T(l>=n,"missing arguemnt"+u,"MISSING_ARGUMENT",{count:l,expectedCount:n}),T(l<=n,"too many arguments"+u,"UNEXPECTED_ARGUMENT",{count:l,expectedCount:n})}const I=["NFD","NFC","NFKD","NFKC"].reduce(((l,n)=>{try{if("test"!=="test".normalize(n))throw new Error("bad");if("NFD"===n){const l=String.fromCharCode(233).normalize("NFD");if(l!==String.fromCharCode(101,769))throw new Error("broken")}l.push(n)}catch(l){}return l}),[]);function C(l){T(I.indexOf(l)>=0,"platform missing String.prototype.normalize","UNSUPPORTED_OPERATION",{operation:"String.prototype.normalize",info:{form:l}})}function R(l,n,u){if(null==u&&(u=""),l!==n){let l=u,n="new";u&&(l+=".",n+=" "+u),T(!1,`private constructor; use ${l}from* methods`,"UNSUPPORTED_OPERATION",{operation:n})}}function B(l,n,u){if(l instanceof Uint8Array)return u?new Uint8Array(l):l;if("string"==typeof l&&l.match(/^0x(?:[0-9a-f][0-9a-f])*$/i)){const n=new Uint8Array((l.length-2)/2);let u=2;for(let t=0;t<n.length;t++)n[t]=parseInt(l.substring(u,u+2),16),u+=2;return n}O(!1,"invalid BytesLike value",n||"value",l)}function D(l,n){return B(l,n,!1)}function U(l,n){return B(l,n,!0)}function L(l,n){return!("string"!=typeof l||!l.match(/^0x[0-9A-Fa-f]*$/))&&(("number"!=typeof n||l.length===2+2*n)&&(!0!==n||l.length%2==0))}function F(l){return L(l,!0)||l instanceof Uint8Array}const _="0123456789abcdef";function M(l){const n=D(l);let u="0x";for(let l=0;l<n.length;l++){const t=n[l];u+=_[(240&t)>>4]+_[15&t]}return u}function G(l){return"0x"+l.map((l=>M(l).substring(2))).join("")}function j(l){return L(l,!0)?(l.length-2)/2:D(l).length}function H(l,n,u){const t=D(l);return null!=u&&u>t.length&&T(!1,"cannot slice beyond data bounds","BUFFER_OVERRUN",{buffer:t,length:t.length,offset:u}),M(t.slice(null==n?0:n,null==u?t.length:u))}function K(l,n,u){const t=D(l);T(n>=t.length,"padding exceeds data length","BUFFER_OVERRUN",{buffer:new Uint8Array(t),length:n,offset:n+1});const e=new Uint8Array(n);return e.fill(0),u?e.set(t,n-t.length):e.set(t,0),M(e)}function V(l,n){return K(l,n,!0)}const Q=BigInt(0),J=BigInt(1),z=9007199254740991;function q(l,n){let u=W(l,"value");const t=BigInt(ll(n,"width")),e=J<<t-J;if(u<Q){u=-u,T(u<=e,"too low","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:l});return(~u&(J<<t)-J)+J}return T(u<e,"too high","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:l}),u}function $(l,n){const u=Y(l,"value"),t=BigInt(ll(n,"bits"));return u&(J<<t)-J}function W(l,n){switch(typeof l){case"bigint":return l;case"number":return O(Number.isInteger(l),"underflow",n||"value",l),O(l>=-z&&l<=z,"overflow",n||"value",l),BigInt(l);case"string":try{if(""===l)throw new Error("empty string");return"-"===l[0]&&"-"!==l[1]?-BigInt(l.substring(1)):BigInt(l)}catch(u){O(!1,`invalid BigNumberish string: ${u.message}`,n||"value",l)}}O(!1,"invalid BigNumberish value",n||"value",l)}function Y(l,n){const u=W(l,n);return T(u>=Q,"unsigned value cannot be negative","NUMERIC_FAULT",{fault:"overflow",operation:"getUint",value:l}),u}const Z="0123456789abcdef";function X(l){if(l instanceof Uint8Array){let n="0x0";for(const u of l)n+=Z[u>>4],n+=Z[15&u];return BigInt(n)}return W(l)}function ll(l,n){switch(typeof l){case"bigint":return O(l>=-z&&l<=z,"overflow",n||"value",l),Number(l);case"number":return O(Number.isInteger(l),"underflow",n||"value",l),O(l>=-z&&l<=z,"overflow",n||"value",l),l;case"string":try{if(""===l)throw new Error("empty string");return ll(BigInt(l),n)}catch(u){O(!1,`invalid numeric string: ${u.message}`,n||"value",l)}}O(!1,"invalid numeric value",n||"value",l)}function nl(l,n){let u=Y(l,"value").toString(16);if(null==n)u.length%2&&(u="0"+u);else{const t=ll(n,"width");for(T(2*t>=u.length,`value exceeds width (${t} bytes)`,"NUMERIC_FAULT",{operation:"toBeHex",fault:"overflow",value:l});u.length<2*t;)u="0"+u}return"0x"+u}function ul(l){const n=Y(l,"value");if(n===Q)return new Uint8Array([]);let u=n.toString(16);u.length%2&&(u="0"+u);const t=new Uint8Array(u.length/2);for(let l=0;l<t.length;l++){const n=2*l;t[l]=parseInt(u.substring(n,n+2),16)}return t}function tl(l){let n=M(F(l)?l:ul(l)).substring(2);for(;n.startsWith("0");)n=n.substring(1);return""===n&&(n="0"),"0x"+n}const el="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";let rl=null;function sl(l){if(null==rl){rl={};for(let l=0;l<58;l++)rl[el[l]]=BigInt(l)}const n=rl[l];return O(null!=n,"invalid base58 value","letter",l),n}const il=BigInt(0),ol=BigInt(58);function al(l){const n=D(l);let u=X(n),t="";for(;u;)t=el[Number(u%ol)]+t,u/=ol;for(let l=0;l<n.length&&!n[l];l++)t=el[0]+t;return t}class cl{filter;emitter;#l;constructor(l,n,u){this.#l=n,E(this,{emitter:l,filter:u})}async removeListener(){null!=this.#l&&await this.emitter.off(this.filter,this.#l)}}function hl(l,n,u,t,e){if("BAD_PREFIX"===l||"UNEXPECTED_CONTINUE"===l){let l=0;for(let t=n+1;t<u.length&&u[t]>>6==2;t++)l++;return l}return"OVERRUN"===l?u.length-n-1:0}const fl=Object.freeze({error:function(l,n,u,t,e){O(!1,`invalid codepoint at offset ${n}; ${l}`,"bytes",u)},ignore:hl,replace:function(l,n,u,t,e){return"OVERLONG"===l?(O("number"==typeof e,"invalid bad code point for replacement","badCodepoint",e),t.push(e),0):(t.push(65533),hl(l,n,u))}});function dl(l,n){O("string"==typeof l,"invalid string value","str",l),null!=n&&(C(n),l=l.normalize(n));let u=[];for(let n=0;n<l.length;n++){const t=l.charCodeAt(n);if(t<128)u.push(t);else if(t<2048)u.push(t>>6|192),u.push(63&t|128);else if(55296==(64512&t)){n++;const e=l.charCodeAt(n);O(n<l.length&&56320==(64512&e),"invalid surrogate pair","str",l);const r=65536+((1023&t)<<10)+(1023&e);u.push(r>>18|240),u.push(r>>12&63|128),u.push(r>>6&63|128),u.push(63&r|128)}else u.push(t>>12|224),u.push(t>>6&63|128),u.push(63&t|128)}return new Uint8Array(u)}function pl(l,n){return u=function(l,n){null==n&&(n=fl.error);const u=D(l,"bytes"),t=[];let e=0;for(;e<u.length;){const l=u[e++];if(!(l>>7)){t.push(l);continue}let r=null,s=null;if(192==(224&l))r=1,s=127;else if(224==(240&l))r=2,s=2047;else{if(240!=(248&l)){e+=n(128==(192&l)?"UNEXPECTED_CONTINUE":"BAD_PREFIX",e-1,u,t);continue}r=3,s=65535}if(e-1+r>=u.length){e+=n("OVERRUN",e-1,u,t);continue}let i=l&(1<<8-r-1)-1;for(let l=0;l<r;l++){let l=u[e];if(128!=(192&l)){e+=n("MISSING_CONTINUE",e,u,t),i=null;break}i=i<<6|63&l,e++}null!==i&&(i>1114111?e+=n("OUT_OF_RANGE",e-1-r,u,t,i):i>=55296&&i<=57343?e+=n("UTF16_SURROGATE",e-1-r,u,t,i):i<=s?e+=n("OVERLONG",e-1-r,u,t,i):t.push(i))}return t}(l,n),u.map((l=>l<=65535?String.fromCharCode(l):(l-=65536,String.fromCharCode(55296+(l>>10&1023),56320+(1023&l))))).join("");var u}function gl(l){return async function(l,n){T(null==n||!n.cancelled,"request cancelled before sending","CANCELLED");const u=l.url.split(":")[0].toLowerCase();T("http"===u||"https"===u,`unsupported protocol ${u}`,"UNSUPPORTED_OPERATION",{info:{protocol:u},operation:"request"}),T("https"===u||!l.credentials||l.allowInsecureAuthentication,"insecure authorized connections unsupported","UNSUPPORTED_OPERATION",{operation:"request"});let t=null;const e=new AbortController,r=setTimeout((()=>{t=S("request timeout","TIMEOUT"),e.abort()}),l.timeout);n&&n.addListener((()=>{t=S("request cancelled","CANCELLED"),e.abort()}));const s={method:l.method,headers:new Headers(Array.from(l)),body:l.body||void 0,signal:e.signal};let i;try{i=await fetch(l.url,s)}catch(l){if(clearTimeout(r),t)throw t;throw l}clearTimeout(r);const o={};i.headers.forEach(((l,n)=>{o[n.toLowerCase()]=l}));const a=await i.arrayBuffer(),c=null==a?null:new Uint8Array(a);return{statusCode:i.status,statusMessage:i.statusText,headers:o,body:c}}}let yl=gl();const ml=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),wl=new RegExp("^ipfs://(ipfs/)?(.*)$","i");let bl=!1;async function Al(l,n){try{const n=l.match(ml);if(!n)throw new Error("invalid data");return new Tl(200,"OK",{"content-type":n[1]||"text/plain"},n[2]?function(l){l=atob(l);const n=new Uint8Array(l.length);for(let u=0;u<l.length;u++)n[u]=l.charCodeAt(u);return D(n)}(n[3]):dl(n[3].replace(/%([0-9a-f][0-9a-f])/gi,((l,n)=>String.fromCharCode(parseInt(n,16))))))}catch(n){return new Tl(599,"BAD REQUEST (invalid data: URI)",{},null,new Sl(l))}}function vl(l){return async function(n,u){try{const u=n.match(wl);if(!u)throw new Error("invalid link");return new Sl(`${l}${u[2]}`)}catch(l){return new Tl(599,"BAD REQUEST (invalid IPFS URI)",{},null,new Sl(n))}}}const El={data:Al,ipfs:vl("https://gateway.ipfs.io/ipfs/")},kl=new WeakMap;class xl{#n;#u;constructor(l){this.#n=[],this.#u=!1,kl.set(l,(()=>{if(!this.#u){this.#u=!0;for(const l of this.#n)setTimeout((()=>{l()}),0);this.#n=[]}}))}addListener(l){T(!this.#u,"singal already cancelled","UNSUPPORTED_OPERATION",{operation:"fetchCancelSignal.addCancelListener"}),this.#n.push(l)}get cancelled(){return this.#u}checkSignal(){T(!this.cancelled,"cancelled","CANCELLED",{})}}function Nl(l){if(null==l)throw new Error("missing signal; should not happen");return l.checkSignal(),l}class Sl{#t;#e;#r;#s;#i;#o;#a;#c;#h;#f;#d;#p;#g;#y;#m;get url(){return this.#o}set url(l){this.#o=String(l)}get body(){return null==this.#a?null:new Uint8Array(this.#a)}set body(l){if(null==l)this.#a=void 0,this.#c=void 0;else if("string"==typeof l)this.#a=dl(l),this.#c="text/plain";else if(l instanceof Uint8Array)this.#a=l,this.#c="application/octet-stream";else{if("object"!=typeof l)throw new Error("invalid body");this.#a=dl(JSON.stringify(l)),this.#c="application/json"}}hasBody(){return null!=this.#a}get method(){return this.#s?this.#s:this.hasBody()?"POST":"GET"}set method(l){null==l&&(l=""),this.#s=String(l).toUpperCase()}get headers(){const l=Object.assign({},this.#r);return this.#h&&(l.authorization=`Basic ${function(l){const n=D(l);let u="";for(let l=0;l<n.length;l++)u+=String.fromCharCode(n[l]);return btoa(u)}(dl(this.#h))}`),this.allowGzip&&(l["accept-encoding"]="gzip"),null==l["content-type"]&&this.#c&&(l["content-type"]=this.#c),this.body&&(l["content-length"]=String(this.body.length)),l}getHeader(l){return this.headers[l.toLowerCase()]}setHeader(l,n){this.#r[String(l).toLowerCase()]=String(n)}clearHeaders(){this.#r={}}[Symbol.iterator](){const l=this.headers,n=Object.keys(l);let u=0;return{next:()=>{if(u<n.length){const t=n[u++];return{value:[t,l[t]],done:!1}}return{value:void 0,done:!0}}}}get credentials(){return this.#h||null}setCredentials(l,n){O(!l.match(/:/),"invalid basic authentication username","username","[REDACTED]"),this.#h=`${l}:${n}`}get allowGzip(){return this.#e}set allowGzip(l){this.#e=!!l}get allowInsecureAuthentication(){return!!this.#t}set allowInsecureAuthentication(l){this.#t=!!l}get timeout(){return this.#i}set timeout(l){O(l>=0,"timeout must be non-zero","timeout",l),this.#i=l}get preflightFunc(){return this.#f||null}set preflightFunc(l){this.#f=l}get processFunc(){return this.#d||null}set processFunc(l){this.#d=l}get retryFunc(){return this.#p||null}set retryFunc(l){this.#p=l}get getUrlFunc(){return this.#m||yl}set getUrlFunc(l){this.#m=l}constructor(l){this.#o=String(l),this.#t=!1,this.#e=!0,this.#r={},this.#s="",this.#i=3e5,this.#y={slotInterval:250,maxAttempts:12},this.#m=null}toString(){return`<FetchRequest method=${JSON.stringify(this.method)} url=${JSON.stringify(this.url)} headers=${JSON.stringify(this.headers)} body=${this.#a?M(this.#a):"null"}>`}setThrottleParams(l){null!=l.slotInterval&&(this.#y.slotInterval=l.slotInterval),null!=l.maxAttempts&&(this.#y.maxAttempts=l.maxAttempts)}async#w(l,n,u,t,e){if(l>=this.#y.maxAttempts)return e.makeServerError("exceeded maximum retry limit");T(Ol()<=n,"timeout","TIMEOUT",{operation:"request.send",reason:"timeout",request:t}),u>0&&await function(l){return new Promise((n=>setTimeout(n,l)))}(u);let r=this.clone();const s=(r.url.split(":")[0]||"").toLowerCase();if(s in El){const l=await El[s](r.url,Nl(t.#g));if(l instanceof Tl){let n=l;if(this.processFunc){Nl(t.#g);try{n=await this.processFunc(r,n)}catch(l){null!=l.throttle&&"number"==typeof l.stall||n.makeServerError("error in post-processing function",l).assertOk()}}return n}r=l}this.preflightFunc&&(r=await this.preflightFunc(r));const i=await this.getUrlFunc(r,Nl(t.#g));let o=new Tl(i.statusCode,i.statusMessage,i.headers,i.body,t);if(301===o.statusCode||302===o.statusCode){try{const u=o.headers.location||"";return r.redirect(u).#w(l+1,n,0,t,o)}catch(l){}return o}if(429===o.statusCode&&(null==this.retryFunc||await this.retryFunc(r,o,l))){const u=o.headers["retry-after"];let e=this.#y.slotInterval*Math.trunc(Math.random()*Math.pow(2,l));return"string"==typeof u&&u.match(/^[1-9][0-9]*$/)&&(e=parseInt(u)),r.clone().#w(l+1,n,e,t,o)}if(this.processFunc){Nl(t.#g);try{o=await this.processFunc(r,o)}catch(u){null!=u.throttle&&"number"==typeof u.stall||o.makeServerError("error in post-processing function",u).assertOk();let e=this.#y.slotInterval*Math.trunc(Math.random()*Math.pow(2,l));return u.stall>=0&&(e=u.stall),r.clone().#w(l+1,n,e,t,o)}}return o}send(){return T(null==this.#g,"request already sent","UNSUPPORTED_OPERATION",{operation:"fetchRequest.send"}),this.#g=new xl(this),this.#w(0,Ol()+this.timeout,0,this,new Tl(0,"",{},null,this))}cancel(){T(null!=this.#g,"request has not been sent","UNSUPPORTED_OPERATION",{operation:"fetchRequest.cancel"});const l=kl.get(this);if(!l)throw new Error("missing signal; should not happen");l()}redirect(l){const n=this.url.split(":")[0].toLowerCase(),u=l.split(":")[0].toLowerCase();T("GET"===this.method&&("https"!==n||"http"!==u)&&l.match(/^https?:/),"unsupported redirect","UNSUPPORTED_OPERATION",{operation:`redirect(${this.method} ${JSON.stringify(this.url)} => ${JSON.stringify(l)})`});const t=new Sl(l);return t.method="GET",t.allowGzip=this.allowGzip,t.timeout=this.timeout,t.#r=Object.assign({},this.#r),this.#a&&(t.#a=new Uint8Array(this.#a)),t.#c=this.#c,t}clone(){const l=new Sl(this.url);return l.#s=this.#s,this.#a&&(l.#a=this.#a),l.#c=this.#c,l.#r=Object.assign({},this.#r),l.#h=this.#h,this.allowGzip&&(l.allowGzip=!0),l.timeout=this.timeout,this.allowInsecureAuthentication&&(l.allowInsecureAuthentication=!0),l.#f=this.#f,l.#d=this.#d,l.#p=this.#p,l.#y=Object.assign({},this.#y),l.#m=this.#m,l}static lockConfig(){bl=!0}static getGateway(l){return El[l.toLowerCase()]||null}static registerGateway(l,n){if("http"===(l=l.toLowerCase())||"https"===l)throw new Error(`cannot intercept ${l}; use registerGetUrl`);if(bl)throw new Error("gateways locked");El[l]=n}static registerGetUrl(l){if(bl)throw new Error("gateways locked");yl=l}static createGetUrlFunc(l){return gl()}static createDataGateway(){return Al}static createIpfsGatewayFunc(l){return vl(l)}}class Tl{#b;#A;#r;#a;#v;#E;toString(){return`<FetchResponse status=${this.statusCode} body=${this.#a?M(this.#a):"null"}>`}get statusCode(){return this.#b}get statusMessage(){return this.#A}get headers(){return Object.assign({},this.#r)}get body(){return null==this.#a?null:new Uint8Array(this.#a)}get bodyText(){try{return null==this.#a?"":pl(this.#a)}catch(l){T(!1,"response body is not valid UTF-8 data","UNSUPPORTED_OPERATION",{operation:"bodyText",info:{response:this}})}}get bodyJson(){try{return JSON.parse(this.bodyText)}catch(l){T(!1,"response body is not valid JSON","UNSUPPORTED_OPERATION",{operation:"bodyJson",info:{response:this}})}}[Symbol.iterator](){const l=this.headers,n=Object.keys(l);let u=0;return{next:()=>{if(u<n.length){const t=n[u++];return{value:[t,l[t]],done:!1}}return{value:void 0,done:!0}}}}constructor(l,n,u,t,e){this.#b=l,this.#A=n,this.#r=Object.keys(u).reduce(((l,n)=>(l[n.toLowerCase()]=String(u[n]),l)),{}),this.#a=null==t?null:new Uint8Array(t),this.#v=e||null,this.#E={message:""}}makeServerError(l,n){let u;u=l?`CLIENT ESCALATED SERVER ERROR (${this.statusCode} ${this.statusMessage}; ${l})`:`CLIENT ESCALATED SERVER ERROR (${l=`${this.statusCode} ${this.statusMessage}`})`;const t=new Tl(599,u,this.headers,this.body,this.#v||void 0);return t.#E={message:l,error:n},t}throwThrottleError(l,n){null==n?n=-1:O(Number.isInteger(n)&&n>=0,"invalid stall timeout","stall",n);const u=new Error(l||"throttling requests");throw E(u,{stall:n,throttle:!0}),u}getHeader(l){return this.headers[l.toLowerCase()]}hasBody(){return null!=this.#a}get request(){return this.#v}ok(){return""===this.#E.message&&this.statusCode>=200&&this.statusCode<300}assertOk(){if(this.ok())return;let{message:l,error:n}=this.#E;""===l&&(l=`server response ${this.statusCode} ${this.statusMessage}`);let u=null;this.request&&(u=this.request.url);let t=null;try{this.#a&&(t=pl(this.#a))}catch(l){}T(!1,l,"SERVER_ERROR",{request:this.request||"unknown request",response:this,error:n,info:{requestUrl:u,responseBody:t,responseStatus:`${this.statusCode} ${this.statusMessage}`}})}}function Ol(){return(new Date).getTime()}function Pl(l){let n=l.toString(16);for(;n.length<2;)n="0"+n;return"0x"+n}function Il(l,n,u){let t=0;for(let e=0;e<u;e++)t=256*t+l[n+e];return t}function Cl(l,n,u,t){const e=[];for(;u<n+1+t;){const r=Rl(l,u);e.push(r.result),T((u+=r.consumed)<=n+1+t,"child data too short","BUFFER_OVERRUN",{buffer:l,length:t,offset:n})}return{consumed:1+t,result:e}}function Rl(l,n){T(0!==l.length,"data too short","BUFFER_OVERRUN",{buffer:l,length:0,offset:1});const u=n=>{T(n<=l.length,"data short segment too short","BUFFER_OVERRUN",{buffer:l,length:l.length,offset:n})};if(l[n]>=248){const t=l[n]-247;u(n+1+t);const e=Il(l,n+1,t);return u(n+1+t+e),Cl(l,n,n+1+t,t+e)}if(l[n]>=192){const t=l[n]-192;return u(n+1+t),Cl(l,n,n+1,t)}if(l[n]>=184){const t=l[n]-183;u(n+1+t);const e=Il(l,n+1,t);u(n+1+t+e);return{consumed:1+t+e,result:M(l.slice(n+1+t,n+1+t+e))}}if(l[n]>=128){const t=l[n]-128;u(n+1+t);return{consumed:1+t,result:M(l.slice(n+1,n+1+t))}}return{consumed:1,result:Pl(l[n])}}function Bl(l){const n=D(l,"data"),u=Rl(n,0);return O(u.consumed===n.length,"unexpected junk after rlp payload","data",l),u.result}function Dl(l){const n=[];for(;l;)n.unshift(255&l),l>>=8;return n}function Ul(l){if(Array.isArray(l)){let n=[];if(l.forEach((function(l){n=n.concat(Ul(l))})),n.length<=55)return n.unshift(192+n.length),n;const u=Dl(n.length);return u.unshift(247+u.length),u.concat(n)}const n=Array.prototype.slice.call(D(l,"object"));if(1===n.length&&n[0]<=127)return n;if(n.length<=55)return n.unshift(128+n.length),n;const u=Dl(n.length);return u.unshift(183+u.length),u.concat(n)}const Ll="0123456789abcdef";function Fl(l){let n="0x";for(const u of Ul(l))n+=Ll[u>>4],n+=Ll[15&u];return n}function _l(l){const n=D(l,"randomBytes");n[6]=15&n[6]|64,n[8]=63&n[8]|128;const u=M(n);return[u.substring(2,10),u.substring(10,14),u.substring(14,18),u.substring(18,22),u.substring(22,34)].join("-")}const Ml=32,Gl=new Uint8Array(Ml),jl=["then"],Hl={},Kl=new WeakMap;function Vl(l){return Kl.get(l)}function Ql(l,n){Kl.set(l,n)}function Jl(l,n){const u=new Error(`deferred error during ABI decoding triggered accessing ${l}`);throw u.error=n,u}function zl(l,n,u){return l.indexOf(null)>=0?n.map(((l,n)=>l instanceof ql?zl(Vl(l),l,u):l)):l.reduce(((l,t,e)=>{let r=n.getValue(t);return t in l||(u&&r instanceof ql&&(r=zl(Vl(r),r,u)),l[t]=r),l}),{})}class ql extends Array{#k;constructor(...l){const n=l[0];let u=l[1],t=(l[2]||[]).slice(),e=!0;n!==Hl&&(u=l,t=[],e=!1),super(u.length),u.forEach(((l,n)=>{this[n]=l}));const r=t.reduce(((l,n)=>("string"==typeof n&&l.set(n,(l.get(n)||0)+1),l)),new Map);if(Ql(this,Object.freeze(u.map(((l,n)=>{const u=t[n];return null!=u&&1===r.get(u)?u:null})))),this.#k=[],null==this.#k&&this.#k,!e)return;Object.freeze(this);const s=new Proxy(this,{get:(l,n,u)=>{if("string"==typeof n){if(n.match(/^[0-9]+$/)){const u=ll(n,"%index");if(u<0||u>=this.length)throw new RangeError("out of result range");const t=l[u];return t instanceof Error&&Jl(`index ${u}`,t),t}if(jl.indexOf(n)>=0)return Reflect.get(l,n,u);const t=l[n];if(t instanceof Function)return function(...n){return t.apply(this===u?l:this,n)};if(!(n in l))return l.getValue.apply(this===u?l:this,[n])}return Reflect.get(l,n,u)}});return Ql(s,Vl(this)),s}toArray(l){const n=[];return this.forEach(((u,t)=>{u instanceof Error&&Jl(`index ${t}`,u),l&&u instanceof ql&&(u=u.toArray(l)),n.push(u)})),n}toObject(l){const n=Vl(this);return n.reduce(((u,t,e)=>(T(null!=t,`value at index ${e} unnamed`,"UNSUPPORTED_OPERATION",{operation:"toObject()"}),zl(n,this,l))),{})}slice(l,n){null==l&&(l=0),l<0&&(l+=this.length)<0&&(l=0),null==n&&(n=this.length),n<0&&(n+=this.length)<0&&(n=0),n>this.length&&(n=this.length);const u=Vl(this),t=[],e=[];for(let r=l;r<n;r++)t.push(this[r]),e.push(u[r]);return new ql(Hl,t,e)}filter(l,n){const u=Vl(this),t=[],e=[];for(let r=0;r<this.length;r++){const s=this[r];s instanceof Error&&Jl(`index ${r}`,s),l.call(n,s,r,this)&&(t.push(s),e.push(u[r]))}return new ql(Hl,t,e)}map(l,n){const u=[];for(let t=0;t<this.length;t++){const e=this[t];e instanceof Error&&Jl(`index ${t}`,e),u.push(l.call(n,e,t,this))}return u}getValue(l){const n=Vl(this).indexOf(l);if(-1===n)return;const u=this[n];return u instanceof Error&&Jl(`property ${JSON.stringify(l)}`,u.error),u}static fromItems(l,n){return new ql(Hl,l,n)}}function $l(l){let n=ul(l);return T(n.length<=Ml,"value out-of-bounds","BUFFER_OVERRUN",{buffer:n,length:Ml,offset:n.length}),n.length!==Ml&&(n=U(G([Gl.slice(n.length%Ml),n]))),n}class Wl{name;type;localName;dynamic;constructor(l,n,u,t){E(this,{name:l,type:n,localName:u,dynamic:t},{name:"string",type:"string",localName:"string",dynamic:"boolean"})}_throwError(l,n){O(!1,l,this.localName,n)}}class Yl{#x;#N;constructor(){this.#x=[],this.#N=0}get data(){return G(this.#x)}get length(){return this.#N}#S(l){return this.#x.push(l),this.#N+=l.length,l.length}appendWriter(l){return this.#S(U(l.data))}writeBytes(l){let n=U(l);const u=n.length%Ml;return u&&(n=U(G([n,Gl.slice(u)]))),this.#S(n)}writeValue(l){return this.#S($l(l))}writeUpdatableValue(){const l=this.#x.length;return this.#x.push(Gl),this.#N+=Ml,n=>{this.#x[l]=$l(n)}}}class Zl{allowLoose;#x;#T;#O;#P;#I;constructor(l,n,u){E(this,{allowLoose:!!n}),this.#x=U(l),this.#O=0,this.#P=null,this.#I=null!=u?u:1024,this.#T=0}get data(){return M(this.#x)}get dataLength(){return this.#x.length}get consumed(){return this.#T}get bytes(){return new Uint8Array(this.#x)}#C(l){if(this.#P)return this.#P.#C(l);this.#O+=l,T(this.#I<1||this.#O<=this.#I*this.dataLength,`compressed ABI data exceeds inflation ratio of ${this.#I} ( see: https://github.com/ethers-io/ethers.js/issues/4537 )`,"BUFFER_OVERRUN",{buffer:U(this.#x),offset:this.#T,length:l,info:{bytesRead:this.#O,dataLength:this.dataLength}})}#R(l,n,u){let t=Math.ceil(n/Ml)*Ml;return this.#T+t>this.#x.length&&(this.allowLoose&&u&&this.#T+n<=this.#x.length?t=n:T(!1,"data out-of-bounds","BUFFER_OVERRUN",{buffer:U(this.#x),length:this.#x.length,offset:this.#T+t})),this.#x.slice(this.#T,this.#T+t)}subReader(l){const n=new Zl(this.#x.slice(this.#T+l),this.allowLoose,this.#I);return n.#P=this,n}readBytes(l,n){let u=this.#R(0,l,!!n);return this.#C(l),this.#T+=u.length,u.slice(0,l)}readValue(){return X(this.readBytes(Ml))}readIndex(){return ll(X(this.readBytes(Ml)))}}function Xl(l){if(!Number.isSafeInteger(l)||l<0)throw new Error(`Wrong positive integer: ${l}`)}function ln(l,...n){if(!(l instanceof Uint8Array))throw new Error("Expected Uint8Array");if(n.length>0&&!n.includes(l.length))throw new Error(`Expected Uint8Array of length ${n}, not of length=${l.length}`)}function nn(l){if("function"!=typeof l||"function"!=typeof l.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Xl(l.outputLen),Xl(l.blockLen)}function un(l,n=!0){if(l.destroyed)throw new Error("Hash instance has been destroyed");if(n&&l.finished)throw new Error("Hash#digest() has already been called")}function tn(l,n){ln(l);const u=n.outputLen;if(l.length<u)throw new Error(`digestInto() expects output buffer of length at least ${u}`)}const en="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,rn=l=>l instanceof Uint8Array,sn=l=>new Uint32Array(l.buffer,l.byteOffset,Math.floor(l.byteLength/4)),on=l=>new DataView(l.buffer,l.byteOffset,l.byteLength),an=(l,n)=>l<<32-n|l>>>n;
|
2
|
+
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */if(!(68===new Uint8Array(new Uint32Array([287454020]).buffer)[0]))throw new Error("Non little-endian hardware is not supported");const cn=async()=>{};async function hn(l,n,u){let t=Date.now();for(let e=0;e<l;e++){u(e);const l=Date.now()-t;l>=0&&l<n||(await cn(),t+=l)}}function fn(l){if("string"==typeof l&&(l=function(l){if("string"!=typeof l)throw new Error("utf8ToBytes expected string, got "+typeof l);return new Uint8Array((new TextEncoder).encode(l))}(l)),!rn(l))throw new Error("expected Uint8Array, got "+typeof l);return l}class dn{clone(){return this._cloneInto()}}const pn={}.toString;function gn(l,n){if(void 0!==n&&"[object Object]"!==pn.call(n))throw new Error("Options should be object or undefined");return Object.assign(l,n)}function yn(l){const n=n=>l().update(fn(n)).digest(),u=l();return n.outputLen=u.outputLen,n.blockLen=u.blockLen,n.create=()=>l(),n}function mn(l=32){if(en&&"function"==typeof en.getRandomValues)return en.getRandomValues(new Uint8Array(l));throw new Error("crypto.getRandomValues must be defined")}class wn extends dn{constructor(l,n){super(),this.finished=!1,this.destroyed=!1,nn(l);const u=fn(n);if(this.iHash=l.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const t=this.blockLen,e=new Uint8Array(t);e.set(u.length>t?l.create().update(u).digest():u);for(let l=0;l<e.length;l++)e[l]^=54;this.iHash.update(e),this.oHash=l.create();for(let l=0;l<e.length;l++)e[l]^=106;this.oHash.update(e),e.fill(0)}update(l){return un(this),this.iHash.update(l),this}digestInto(l){un(this),ln(l,this.outputLen),this.finished=!0,this.iHash.digestInto(l),this.oHash.update(l),this.oHash.digestInto(l),this.destroy()}digest(){const l=new Uint8Array(this.oHash.outputLen);return this.digestInto(l),l}_cloneInto(l){l||(l=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:u,finished:t,destroyed:e,blockLen:r,outputLen:s}=this;return l.finished=t,l.destroyed=e,l.blockLen=r,l.outputLen=s,l.oHash=n._cloneInto(l.oHash),l.iHash=u._cloneInto(l.iHash),l}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const bn=(l,n,u)=>new wn(l,n).update(u).digest();function An(l,n,u,t){nn(l);const e=gn({dkLen:32,asyncTick:10},t),{c:r,dkLen:s,asyncTick:i}=e;if(Xl(r),Xl(s),Xl(i),r<1)throw new Error("PBKDF2: iterations (c) should be >= 1");const o=fn(n),a=fn(u),c=new Uint8Array(s),h=bn.create(l,o),f=h._cloneInto().update(a);return{c:r,dkLen:s,asyncTick:i,DK:c,PRF:h,PRFSalt:f}}function vn(l,n,u,t){const{c:e,dkLen:r,DK:s,PRF:i,PRFSalt:o}=An(l,n,u,t);let a;const c=new Uint8Array(4),h=on(c),f=new Uint8Array(i.outputLen);for(let l=1,n=0;n<r;l++,n+=i.outputLen){const u=s.subarray(n,n+i.outputLen);h.setInt32(0,l,!1),(a=o._cloneInto(a)).update(c).digestInto(f),u.set(f.subarray(0,u.length));for(let l=1;l<e;l++){i._cloneInto(a).update(f).digestInto(f);for(let l=0;l<u.length;l++)u[l]^=f[l]}}return function(l,n,u,t,e){return l.destroy(),n.destroy(),t&&t.destroy(),e.fill(0),u}(i,o,s,a,f)}bn.create=(l,n)=>new wn(l,n);class En extends dn{constructor(l,n,u,t){super(),this.blockLen=l,this.outputLen=n,this.padOffset=u,this.isLE=t,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(l),this.view=on(this.buffer)}update(l){un(this);const{view:n,buffer:u,blockLen:t}=this,e=(l=fn(l)).length;for(let r=0;r<e;){const s=Math.min(t-this.pos,e-r);if(s!==t)u.set(l.subarray(r,r+s),this.pos),this.pos+=s,r+=s,this.pos===t&&(this.process(n,0),this.pos=0);else{const n=on(l);for(;t<=e-r;r+=t)this.process(n,r)}}return this.length+=l.length,this.roundClean(),this}digestInto(l){un(this),tn(l,this),this.finished=!0;const{buffer:n,view:u,blockLen:t,isLE:e}=this;let{pos:r}=this;n[r++]=128,this.buffer.subarray(r).fill(0),this.padOffset>t-r&&(this.process(u,0),r=0);for(let l=r;l<t;l++)n[l]=0;!function(l,n,u,t){if("function"==typeof l.setBigUint64)return l.setBigUint64(n,u,t);const e=BigInt(32),r=BigInt(4294967295),s=Number(u>>e&r),i=Number(u&r),o=t?4:0,a=t?0:4;l.setUint32(n+o,s,t),l.setUint32(n+a,i,t)}(u,t-8,BigInt(8*this.length),e),this.process(u,0);const s=on(l),i=this.outputLen;if(i%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const o=i/4,a=this.get();if(o>a.length)throw new Error("_sha2: outputLen bigger than state");for(let l=0;l<o;l++)s.setUint32(4*l,a[l],e)}digest(){const{buffer:l,outputLen:n}=this;this.digestInto(l);const u=l.slice(0,n);return this.destroy(),u}_cloneInto(l){l||(l=new this.constructor),l.set(...this.get());const{blockLen:n,buffer:u,length:t,finished:e,destroyed:r,pos:s}=this;return l.length=t,l.pos=s,l.finished=e,l.destroyed=r,t%n&&l.buffer.set(u),l}}const kn=(l,n,u)=>l&n^~l&u,xn=(l,n,u)=>l&n^l&u^n&u,Nn=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]),Sn=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Tn=new Uint32Array(64);class On extends En{constructor(){super(64,32,8,!1),this.A=0|Sn[0],this.B=0|Sn[1],this.C=0|Sn[2],this.D=0|Sn[3],this.E=0|Sn[4],this.F=0|Sn[5],this.G=0|Sn[6],this.H=0|Sn[7]}get(){const{A:l,B:n,C:u,D:t,E:e,F:r,G:s,H:i}=this;return[l,n,u,t,e,r,s,i]}set(l,n,u,t,e,r,s,i){this.A=0|l,this.B=0|n,this.C=0|u,this.D=0|t,this.E=0|e,this.F=0|r,this.G=0|s,this.H=0|i}process(l,n){for(let u=0;u<16;u++,n+=4)Tn[u]=l.getUint32(n,!1);for(let l=16;l<64;l++){const n=Tn[l-15],u=Tn[l-2],t=an(n,7)^an(n,18)^n>>>3,e=an(u,17)^an(u,19)^u>>>10;Tn[l]=e+Tn[l-7]+t+Tn[l-16]|0}let{A:u,B:t,C:e,D:r,E:s,F:i,G:o,H:a}=this;for(let l=0;l<64;l++){const n=a+(an(s,6)^an(s,11)^an(s,25))+kn(s,i,o)+Nn[l]+Tn[l]|0,c=(an(u,2)^an(u,13)^an(u,22))+xn(u,t,e)|0;a=o,o=i,i=s,s=r+n|0,r=e,e=t,t=u,u=n+c|0}u=u+this.A|0,t=t+this.B|0,e=e+this.C|0,r=r+this.D|0,s=s+this.E|0,i=i+this.F|0,o=o+this.G|0,a=a+this.H|0,this.set(u,t,e,r,s,i,o,a)}roundClean(){Tn.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Pn=yn((()=>new On)),In=BigInt(2**32-1),Cn=BigInt(32);function Rn(l,n=!1){return n?{h:Number(l&In),l:Number(l>>Cn&In)}:{h:0|Number(l>>Cn&In),l:0|Number(l&In)}}function Bn(l,n=!1){let u=new Uint32Array(l.length),t=new Uint32Array(l.length);for(let e=0;e<l.length;e++){const{h:r,l:s}=Rn(l[e],n);[u[e],t[e]]=[r,s]}return[u,t]}const Dn=(l,n,u)=>l<<u|n>>>32-u,Un=(l,n,u)=>n<<u|l>>>32-u,Ln=(l,n,u)=>n<<u-32|l>>>64-u,Fn=(l,n,u)=>l<<u-32|n>>>64-u;var _n={fromBig:Rn,split:Bn,toBig:(l,n)=>BigInt(l>>>0)<<Cn|BigInt(n>>>0),shrSH:(l,n,u)=>l>>>u,shrSL:(l,n,u)=>l<<32-u|n>>>u,rotrSH:(l,n,u)=>l>>>u|n<<32-u,rotrSL:(l,n,u)=>l<<32-u|n>>>u,rotrBH:(l,n,u)=>l<<64-u|n>>>u-32,rotrBL:(l,n,u)=>l>>>u-32|n<<64-u,rotr32H:(l,n)=>n,rotr32L:(l,n)=>l,rotlSH:Dn,rotlSL:Un,rotlBH:Ln,rotlBL:Fn,add:function(l,n,u,t){const e=(n>>>0)+(t>>>0);return{h:l+u+(e/2**32|0)|0,l:0|e}},add3L:(l,n,u)=>(l>>>0)+(n>>>0)+(u>>>0),add3H:(l,n,u,t)=>n+u+t+(l/2**32|0)|0,add4L:(l,n,u,t)=>(l>>>0)+(n>>>0)+(u>>>0)+(t>>>0),add4H:(l,n,u,t,e)=>n+u+t+e+(l/2**32|0)|0,add5H:(l,n,u,t,e,r)=>n+u+t+e+r+(l/2**32|0)|0,add5L:(l,n,u,t,e)=>(l>>>0)+(n>>>0)+(u>>>0)+(t>>>0)+(e>>>0)};const[Mn,Gn]=(()=>_n.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((l=>BigInt(l)))))(),jn=new Uint32Array(80),Hn=new Uint32Array(80);class Kn extends En{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:l,Al:n,Bh:u,Bl:t,Ch:e,Cl:r,Dh:s,Dl:i,Eh:o,El:a,Fh:c,Fl:h,Gh:f,Gl:d,Hh:p,Hl:g}=this;return[l,n,u,t,e,r,s,i,o,a,c,h,f,d,p,g]}set(l,n,u,t,e,r,s,i,o,a,c,h,f,d,p,g){this.Ah=0|l,this.Al=0|n,this.Bh=0|u,this.Bl=0|t,this.Ch=0|e,this.Cl=0|r,this.Dh=0|s,this.Dl=0|i,this.Eh=0|o,this.El=0|a,this.Fh=0|c,this.Fl=0|h,this.Gh=0|f,this.Gl=0|d,this.Hh=0|p,this.Hl=0|g}process(l,n){for(let u=0;u<16;u++,n+=4)jn[u]=l.getUint32(n),Hn[u]=l.getUint32(n+=4);for(let l=16;l<80;l++){const n=0|jn[l-15],u=0|Hn[l-15],t=_n.rotrSH(n,u,1)^_n.rotrSH(n,u,8)^_n.shrSH(n,u,7),e=_n.rotrSL(n,u,1)^_n.rotrSL(n,u,8)^_n.shrSL(n,u,7),r=0|jn[l-2],s=0|Hn[l-2],i=_n.rotrSH(r,s,19)^_n.rotrBH(r,s,61)^_n.shrSH(r,s,6),o=_n.rotrSL(r,s,19)^_n.rotrBL(r,s,61)^_n.shrSL(r,s,6),a=_n.add4L(e,o,Hn[l-7],Hn[l-16]),c=_n.add4H(a,t,i,jn[l-7],jn[l-16]);jn[l]=0|c,Hn[l]=0|a}let{Ah:u,Al:t,Bh:e,Bl:r,Ch:s,Cl:i,Dh:o,Dl:a,Eh:c,El:h,Fh:f,Fl:d,Gh:p,Gl:g,Hh:y,Hl:m}=this;for(let l=0;l<80;l++){const n=_n.rotrSH(c,h,14)^_n.rotrSH(c,h,18)^_n.rotrBH(c,h,41),w=_n.rotrSL(c,h,14)^_n.rotrSL(c,h,18)^_n.rotrBL(c,h,41),b=c&f^~c&p,A=h&d^~h&g,v=_n.add5L(m,w,A,Gn[l],Hn[l]),E=_n.add5H(v,y,n,b,Mn[l],jn[l]),k=0|v,x=_n.rotrSH(u,t,28)^_n.rotrBH(u,t,34)^_n.rotrBH(u,t,39),N=_n.rotrSL(u,t,28)^_n.rotrBL(u,t,34)^_n.rotrBL(u,t,39),S=u&e^u&s^e&s,T=t&r^t&i^r&i;y=0|p,m=0|g,p=0|f,g=0|d,f=0|c,d=0|h,({h:c,l:h}=_n.add(0|o,0|a,0|E,0|k)),o=0|s,a=0|i,s=0|e,i=0|r,e=0|u,r=0|t;const O=_n.add3L(k,N,T);u=_n.add3H(O,E,x,S),t=0|O}({h:u,l:t}=_n.add(0|this.Ah,0|this.Al,0|u,0|t)),({h:e,l:r}=_n.add(0|this.Bh,0|this.Bl,0|e,0|r)),({h:s,l:i}=_n.add(0|this.Ch,0|this.Cl,0|s,0|i)),({h:o,l:a}=_n.add(0|this.Dh,0|this.Dl,0|o,0|a)),({h:c,l:h}=_n.add(0|this.Eh,0|this.El,0|c,0|h)),({h:f,l:d}=_n.add(0|this.Fh,0|this.Fl,0|f,0|d)),({h:p,l:g}=_n.add(0|this.Gh,0|this.Gl,0|p,0|g)),({h:y,l:m}=_n.add(0|this.Hh,0|this.Hl,0|y,0|m)),this.set(u,t,e,r,s,i,o,a,c,h,f,d,p,g,y,m)}roundClean(){jn.fill(0),Hn.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const Vn=yn((()=>new Kn));const Qn=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),Jn=Qn.crypto||Qn.msCrypto;let zn=!1;const qn=function(l,n,u){return function(l,n){const u={sha256:Pn,sha512:Vn}[l];return O(null!=u,"invalid hmac algorithm","algorithm",l),bn.create(u,n)}(l,n).update(u).digest()};let $n=qn;function Wn(l,n,u){const t=D(n,"key"),e=D(u,"data");return M($n(l,t,e))}Wn._=qn,Wn.lock=function(){zn=!0},Wn.register=function(l){if(zn)throw new Error("computeHmac is locked");$n=l},Object.freeze(Wn);const[Yn,Zn,Xn]=[[],[],[]],lu=BigInt(0),nu=BigInt(1),uu=BigInt(2),tu=BigInt(7),eu=BigInt(256),ru=BigInt(113);for(let l=0,n=nu,u=1,t=0;l<24;l++){[u,t]=[t,(2*u+3*t)%5],Yn.push(2*(5*t+u)),Zn.push((l+1)*(l+2)/2%64);let e=lu;for(let l=0;l<7;l++)n=(n<<nu^(n>>tu)*ru)%eu,n&uu&&(e^=nu<<(nu<<BigInt(l))-nu);Xn.push(e)}const[su,iu]=Bn(Xn,!0),ou=(l,n,u)=>u>32?Ln(l,n,u):Dn(l,n,u),au=(l,n,u)=>u>32?Fn(l,n,u):Un(l,n,u);class cu extends dn{constructor(l,n,u,t=!1,e=24){if(super(),this.blockLen=l,this.suffix=n,this.outputLen=u,this.enableXOF=t,this.rounds=e,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,Xl(u),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=sn(this.state)}keccak(){!function(l,n=24){const u=new Uint32Array(10);for(let t=24-n;t<24;t++){for(let n=0;n<10;n++)u[n]=l[n]^l[n+10]^l[n+20]^l[n+30]^l[n+40];for(let n=0;n<10;n+=2){const t=(n+8)%10,e=(n+2)%10,r=u[e],s=u[e+1],i=ou(r,s,1)^u[t],o=au(r,s,1)^u[t+1];for(let u=0;u<50;u+=10)l[n+u]^=i,l[n+u+1]^=o}let n=l[2],e=l[3];for(let u=0;u<24;u++){const t=Zn[u],r=ou(n,e,t),s=au(n,e,t),i=Yn[u];n=l[i],e=l[i+1],l[i]=r,l[i+1]=s}for(let n=0;n<50;n+=10){for(let t=0;t<10;t++)u[t]=l[n+t];for(let t=0;t<10;t++)l[n+t]^=~u[(t+2)%10]&u[(t+4)%10]}l[0]^=su[t],l[1]^=iu[t]}u.fill(0)}(this.state32,this.rounds),this.posOut=0,this.pos=0}update(l){un(this);const{blockLen:n,state:u}=this,t=(l=fn(l)).length;for(let e=0;e<t;){const r=Math.min(n-this.pos,t-e);for(let n=0;n<r;n++)u[this.pos++]^=l[e++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:l,suffix:n,pos:u,blockLen:t}=this;l[u]^=n,128&n&&u===t-1&&this.keccak(),l[t-1]^=128,this.keccak()}writeInto(l){un(this,!1),ln(l),this.finish();const n=this.state,{blockLen:u}=this;for(let t=0,e=l.length;t<e;){this.posOut>=u&&this.keccak();const r=Math.min(u-this.posOut,e-t);l.set(n.subarray(this.posOut,this.posOut+r),t),this.posOut+=r,t+=r}return l}xofInto(l){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(l)}xof(l){return Xl(l),this.xofInto(new Uint8Array(l))}digestInto(l){if(tn(l,this),this.finished)throw new Error("digest() was already called");return this.writeInto(l),this.destroy(),l}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(l){const{blockLen:n,suffix:u,outputLen:t,rounds:e,enableXOF:r}=this;return l||(l=new cu(n,u,t,r,e)),l.state32.set(this.state32),l.pos=this.pos,l.posOut=this.posOut,l.finished=this.finished,l.rounds=e,l.suffix=u,l.outputLen=t,l.enableXOF=r,l.destroyed=this.destroyed,l}}const hu=((l,n,u)=>yn((()=>new cu(n,l,u))))(1,136,32);let fu=!1;const du=function(l){return hu(l)};let pu=du;function gu(l){const n=D(l,"data");return M(pu(n))}gu._=du,gu.lock=function(){fu=!0},gu.register=function(l){if(fu)throw new TypeError("keccak256 is locked");pu=l},Object.freeze(gu);const yu=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),mu=Uint8Array.from({length:16},((l,n)=>n));let wu=[mu],bu=[mu.map((l=>(9*l+5)%16))];for(let l=0;l<4;l++)for(let n of[wu,bu])n.push(n[l].map((l=>yu[l])));const Au=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((l=>new Uint8Array(l))),vu=wu.map(((l,n)=>l.map((l=>Au[n][l])))),Eu=bu.map(((l,n)=>l.map((l=>Au[n][l])))),ku=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),xu=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),Nu=(l,n)=>l<<n|l>>>32-n;function Su(l,n,u,t){return 0===l?n^u^t:1===l?n&u|~n&t:2===l?(n|~u)^t:3===l?n&t|u&~t:n^(u|~t)}const Tu=new Uint32Array(16);class Ou extends En{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){const{h0:l,h1:n,h2:u,h3:t,h4:e}=this;return[l,n,u,t,e]}set(l,n,u,t,e){this.h0=0|l,this.h1=0|n,this.h2=0|u,this.h3=0|t,this.h4=0|e}process(l,n){for(let u=0;u<16;u++,n+=4)Tu[u]=l.getUint32(n,!0);let u=0|this.h0,t=u,e=0|this.h1,r=e,s=0|this.h2,i=s,o=0|this.h3,a=o,c=0|this.h4,h=c;for(let l=0;l<5;l++){const n=4-l,f=ku[l],d=xu[l],p=wu[l],g=bu[l],y=vu[l],m=Eu[l];for(let n=0;n<16;n++){const t=Nu(u+Su(l,e,s,o)+Tu[p[n]]+f,y[n])+c|0;u=c,c=o,o=0|Nu(s,10),s=e,e=t}for(let l=0;l<16;l++){const u=Nu(t+Su(n,r,i,a)+Tu[g[l]]+d,m[l])+h|0;t=h,h=a,a=0|Nu(i,10),i=r,r=u}}this.set(this.h1+s+a|0,this.h2+o+h|0,this.h3+c+t|0,this.h4+u+r|0,this.h0+e+i|0)}roundClean(){Tu.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}const Pu=yn((()=>new Ou));let Iu=!1;const Cu=function(l){return Pu(l)};let Ru=Cu;function Bu(l){const n=D(l,"data");return M(Ru(n))}Bu._=Cu,Bu.lock=function(){Iu=!0},Bu.register=function(l){if(Iu)throw new TypeError("ripemd160 is locked");Ru=l},Object.freeze(Bu);let Du=!1;const Uu=function(l,n,u,t,e){return function(l,n,u,t,e){const r={sha256:Pn,sha512:Vn}[e];return O(null!=r,"invalid pbkdf2 algorithm","algorithm",e),vn(r,l,n,{c:u,dkLen:t})}(l,n,u,t,e)};let Lu=Uu;function Fu(l,n,u,t,e){const r=D(l,"password"),s=D(n,"salt");return M(Lu(r,s,u,t,e))}Fu._=Uu,Fu.lock=function(){Du=!0},Fu.register=function(l){if(Du)throw new Error("pbkdf2 is locked");Lu=l},Object.freeze(Fu);let _u=!1;const Mu=function(l){return new Uint8Array(function(l){T(null!=Jn,"platform does not support secure random numbers","UNSUPPORTED_OPERATION",{operation:"randomBytes"}),O(Number.isInteger(l)&&l>0&&l<=1024,"invalid length","length",l);const n=new Uint8Array(l);return Jn.getRandomValues(n),n}(l))};let Gu=Mu;function ju(l){return Gu(l)}ju._=Mu,ju.lock=function(){_u=!0},ju.register=function(l){if(_u)throw new Error("randomBytes is locked");Gu=l},Object.freeze(ju);const Hu=(l,n)=>l<<n|l>>>32-n;function Ku(l,n,u,t,e,r){let s=l[n++]^u[t++],i=l[n++]^u[t++],o=l[n++]^u[t++],a=l[n++]^u[t++],c=l[n++]^u[t++],h=l[n++]^u[t++],f=l[n++]^u[t++],d=l[n++]^u[t++],p=l[n++]^u[t++],g=l[n++]^u[t++],y=l[n++]^u[t++],m=l[n++]^u[t++],w=l[n++]^u[t++],b=l[n++]^u[t++],A=l[n++]^u[t++],v=l[n++]^u[t++],E=s,k=i,x=o,N=a,S=c,T=h,O=f,P=d,I=p,C=g,R=y,B=m,D=w,U=b,L=A,F=v;for(let l=0;l<8;l+=2)S^=Hu(E+D|0,7),I^=Hu(S+E|0,9),D^=Hu(I+S|0,13),E^=Hu(D+I|0,18),C^=Hu(T+k|0,7),U^=Hu(C+T|0,9),k^=Hu(U+C|0,13),T^=Hu(k+U|0,18),L^=Hu(R+O|0,7),x^=Hu(L+R|0,9),O^=Hu(x+L|0,13),R^=Hu(O+x|0,18),N^=Hu(F+B|0,7),P^=Hu(N+F|0,9),B^=Hu(P+N|0,13),F^=Hu(B+P|0,18),k^=Hu(E+N|0,7),x^=Hu(k+E|0,9),N^=Hu(x+k|0,13),E^=Hu(N+x|0,18),O^=Hu(T+S|0,7),P^=Hu(O+T|0,9),S^=Hu(P+O|0,13),T^=Hu(S+P|0,18),B^=Hu(R+C|0,7),I^=Hu(B+R|0,9),C^=Hu(I+B|0,13),R^=Hu(C+I|0,18),D^=Hu(F+L|0,7),U^=Hu(D+F|0,9),L^=Hu(U+D|0,13),F^=Hu(L+U|0,18);e[r++]=s+E|0,e[r++]=i+k|0,e[r++]=o+x|0,e[r++]=a+N|0,e[r++]=c+S|0,e[r++]=h+T|0,e[r++]=f+O|0,e[r++]=d+P|0,e[r++]=p+I|0,e[r++]=g+C|0,e[r++]=y+R|0,e[r++]=m+B|0,e[r++]=w+D|0,e[r++]=b+U|0,e[r++]=A+L|0,e[r++]=v+F|0}function Vu(l,n,u,t,e){let r=t+0,s=t+16*e;for(let t=0;t<16;t++)u[s+t]=l[n+16*(2*e-1)+t];for(let t=0;t<e;t++,r+=16,n+=16)Ku(u,s,l,n,u,r),t>0&&(s+=16),Ku(u,r,l,n+=16,u,s)}function Qu(l,n,u){const t=gn({dkLen:32,asyncTick:10,maxmem:1073742848},u),{N:e,r:r,p:s,dkLen:i,asyncTick:o,maxmem:a,onProgress:c}=t;if(Xl(e),Xl(r),Xl(s),Xl(i),Xl(o),Xl(a),void 0!==c&&"function"!=typeof c)throw new Error("progressCb should be function");const h=128*r,f=h/4;if(e<=1||e&e-1||e>=2**(h/8)||e>2**32)throw new Error("Scrypt: N must be larger than 1, a power of 2, less than 2^(128 * r / 8) and less than 2^32");if(s<0||s>137438953440/h)throw new Error("Scrypt: p must be a positive integer less than or equal to ((2^32 - 1) * 32) / (128 * r)");if(i<0||i>137438953440)throw new Error("Scrypt: dkLen should be positive integer less than or equal to (2^32 - 1) * 32");const d=h*(e+s);if(d>a)throw new Error(`Scrypt: parameters too large, ${d} (128 * r * (N + p)) > ${a} (maxmem)`);const p=vn(Pn,l,n,{c:1,dkLen:h*s}),g=sn(p),y=sn(new Uint8Array(h*e)),m=sn(new Uint8Array(h));let w=()=>{};if(c){const l=2*e*s,n=Math.max(Math.floor(l/1e4),1);let u=0;w=()=>{u++,!c||u%n&&u!==l||c(u/l)}}return{N:e,r:r,p:s,dkLen:i,blockSize32:f,V:y,B32:g,B:p,tmp:m,blockMixCb:w,asyncTick:o}}function Ju(l,n,u,t,e){const r=vn(Pn,l,u,{c:1,dkLen:n});return u.fill(0),t.fill(0),e.fill(0),r}let zu=!1,qu=!1;const $u=async function(l,n,u,t,e,r,s){return await async function(l,n,u){const{N:t,r:e,p:r,dkLen:s,blockSize32:i,V:o,B32:a,B:c,tmp:h,blockMixCb:f,asyncTick:d}=Qu(l,n,u);for(let l=0;l<r;l++){const n=i*l;for(let l=0;l<i;l++)o[l]=a[n+l];let u=0;await hn(t-1,d,(()=>{Vu(o,u,o,u+=i,e),f()})),Vu(o,(t-1)*i,a,n,e),f(),await hn(t,d,(()=>{const l=a[n+i-16]%t;for(let u=0;u<i;u++)h[u]=a[n+u]^o[l*i+u];Vu(h,0,a,n,e),f()}))}return Ju(l,s,c,o,h)}(l,n,{N:u,r:t,p:e,dkLen:r,onProgress:s})},Wu=function(l,n,u,t,e,r){return function(l,n,u){const{N:t,r:e,p:r,dkLen:s,blockSize32:i,V:o,B32:a,B:c,tmp:h,blockMixCb:f}=Qu(l,n,u);for(let l=0;l<r;l++){const n=i*l;for(let l=0;l<i;l++)o[l]=a[n+l];for(let l=0,n=0;l<t-1;l++)Vu(o,n,o,n+=i,e),f();Vu(o,(t-1)*i,a,n,e),f();for(let l=0;l<t;l++){const l=a[n+i-16]%t;for(let u=0;u<i;u++)h[u]=a[n+u]^o[l*i+u];Vu(h,0,a,n,e),f()}}return Ju(l,s,c,o,h)}(l,n,{N:u,r:t,p:e,dkLen:r})};let Yu=$u,Zu=Wu;async function Xu(l,n,u,t,e,r,s){const i=D(l,"passwd"),o=D(n,"salt");return M(await Yu(i,o,u,t,e,r,s))}function lt(l,n,u,t,e,r){const s=D(l,"passwd"),i=D(n,"salt");return M(Zu(s,i,u,t,e,r))}Xu._=$u,Xu.lock=function(){qu=!0},Xu.register=function(l){if(qu)throw new Error("scrypt is locked");Yu=l},Object.freeze(Xu),lt._=Wu,lt.lock=function(){zu=!0},lt.register=function(l){if(zu)throw new Error("scryptSync is locked");Zu=l},Object.freeze(lt);const nt=function(l){return function(l){switch(l){case"sha256":return Pn.create();case"sha512":return Vn.create()}O(!1,"invalid hashing algorithm name","algorithm",l)}("sha256").update(l).digest()};let ut=nt,tt=!1;function et(l){const n=D(l,"data");return M(ut(n))}et._=nt,et.lock=function(){tt=!0},et.register=function(l){if(tt)throw new Error("sha256 is locked");ut=l},Object.freeze(et),Object.freeze(et);
|
3
3
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
4
|
-
const
|
5
|
-
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const
|
4
|
+
const rt=BigInt(0),st=BigInt(1),it=BigInt(2),ot=l=>l instanceof Uint8Array,at=Array.from({length:256},((l,n)=>n.toString(16).padStart(2,"0")));function ct(l){if(!ot(l))throw new Error("Uint8Array expected");let n="";for(let u=0;u<l.length;u++)n+=at[l[u]];return n}function ht(l){const n=l.toString(16);return 1&n.length?`0${n}`:n}function ft(l){if("string"!=typeof l)throw new Error("hex string expected, got "+typeof l);return BigInt(""===l?"0":`0x${l}`)}function dt(l){if("string"!=typeof l)throw new Error("hex string expected, got "+typeof l);const n=l.length;if(n%2)throw new Error("padded hex string expected, got unpadded hex of length "+n);const u=new Uint8Array(n/2);for(let n=0;n<u.length;n++){const t=2*n,e=l.slice(t,t+2),r=Number.parseInt(e,16);if(Number.isNaN(r)||r<0)throw new Error("Invalid byte sequence");u[n]=r}return u}function pt(l){return ft(ct(l))}function gt(l){if(!ot(l))throw new Error("Uint8Array expected");return ft(ct(Uint8Array.from(l).reverse()))}function yt(l,n){return dt(l.toString(16).padStart(2*n,"0"))}function mt(l,n){return yt(l,n).reverse()}function wt(l,n,u){let t;if("string"==typeof n)try{t=dt(n)}catch(u){throw new Error(`${l} must be valid hex string, got "${n}". Cause: ${u}`)}else{if(!ot(n))throw new Error(`${l} must be hex string or Uint8Array`);t=Uint8Array.from(n)}const e=t.length;if("number"==typeof u&&e!==u)throw new Error(`${l} expected ${u} bytes, got ${e}`);return t}function bt(...l){const n=new Uint8Array(l.reduce(((l,n)=>l+n.length),0));let u=0;return l.forEach((l=>{if(!ot(l))throw new Error("Uint8Array expected");n.set(l,u),u+=l.length})),n}const At=l=>(it<<BigInt(l-1))-st,vt=l=>new Uint8Array(l),Et=l=>Uint8Array.from(l);function kt(l,n,u){if("number"!=typeof l||l<2)throw new Error("hashLen must be a number");if("number"!=typeof n||n<2)throw new Error("qByteLen must be a number");if("function"!=typeof u)throw new Error("hmacFn must be a function");let t=vt(l),e=vt(l),r=0;const s=()=>{t.fill(1),e.fill(0),r=0},i=(...l)=>u(e,t,...l),o=(l=vt())=>{e=i(Et([0]),l),t=i(),0!==l.length&&(e=i(Et([1]),l),t=i())},a=()=>{if(r++>=1e3)throw new Error("drbg: tried 1000 values");let l=0;const u=[];for(;l<n;){t=i();const n=t.slice();u.push(n),l+=t.length}return bt(...u)};return(l,n)=>{let u;for(s(),o(l);!(u=n(a()));)o();return s(),u}}const xt={bigint:l=>"bigint"==typeof l,function:l=>"function"==typeof l,boolean:l=>"boolean"==typeof l,string:l=>"string"==typeof l,stringOrUint8Array:l=>"string"==typeof l||l instanceof Uint8Array,isSafeInteger:l=>Number.isSafeInteger(l),array:l=>Array.isArray(l),field:(l,n)=>n.Fp.isValid(l),hash:l=>"function"==typeof l&&Number.isSafeInteger(l.outputLen)};function Nt(l,n,u={}){const t=(n,u,t)=>{const e=xt[u];if("function"!=typeof e)throw new Error(`Invalid validator "${u}", expected function`);const r=l[n];if(!(t&&void 0===r||e(r,l)))throw new Error(`Invalid param ${String(n)}=${r} (${typeof r}), expected ${u}`)};for(const[l,u]of Object.entries(n))t(l,u,!1);for(const[l,n]of Object.entries(u))t(l,n,!0);return l}var St=Object.freeze({__proto__:null,bitGet:function(l,n){return l>>BigInt(n)&st},bitLen:function(l){let n;for(n=0;l>rt;l>>=st,n+=1);return n},bitMask:At,bitSet:(l,n,u)=>l|(u?st:rt)<<BigInt(n),bytesToHex:ct,bytesToNumberBE:pt,bytesToNumberLE:gt,concatBytes:bt,createHmacDrbg:kt,ensureBytes:wt,equalBytes:function(l,n){if(l.length!==n.length)return!1;for(let u=0;u<l.length;u++)if(l[u]!==n[u])return!1;return!0},hexToBytes:dt,hexToNumber:ft,numberToBytesBE:yt,numberToBytesLE:mt,numberToHexUnpadded:ht,numberToVarBytesBE:function(l){return dt(ht(l))},utf8ToBytes:function(l){if("string"!=typeof l)throw new Error("utf8ToBytes expected string, got "+typeof l);return new Uint8Array((new TextEncoder).encode(l))},validateObject:Nt});
|
5
|
+
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Tt=BigInt(0),Ot=BigInt(1),Pt=BigInt(2),It=BigInt(3),Ct=BigInt(4),Rt=BigInt(5),Bt=BigInt(8);function Dt(l,n){const u=l%n;return u>=Tt?u:n+u}function Ut(l,n,u){if(u<=Tt||n<Tt)throw new Error("Expected power/modulo > 0");if(u===Ot)return Tt;let t=Ot;for(;n>Tt;)n&Ot&&(t=t*l%u),l=l*l%u,n>>=Ot;return t}function Lt(l,n,u){let t=l;for(;n-- >Tt;)t*=t,t%=u;return t}function Ft(l,n){if(l===Tt||n<=Tt)throw new Error(`invert: expected positive integers, got n=${l} mod=${n}`);let u=Dt(l,n),t=n,e=Tt,r=Ot;for(;u!==Tt;){const l=t%u,n=e-r*(t/u);t=u,u=l,e=r,r=n}if(t!==Ot)throw new Error("invert: does not exist");return Dt(e,n)}function _t(l){if(l%Ct===It){const n=(l+Ot)/Ct;return function(l,u){const t=l.pow(u,n);if(!l.eql(l.sqr(t),u))throw new Error("Cannot find square root");return t}}if(l%Bt===Rt){const n=(l-Rt)/Bt;return function(l,u){const t=l.mul(u,Pt),e=l.pow(t,n),r=l.mul(u,e),s=l.mul(l.mul(r,Pt),e),i=l.mul(r,l.sub(s,l.ONE));if(!l.eql(l.sqr(i),u))throw new Error("Cannot find square root");return i}}return function(l){const n=(l-Ot)/Pt;let u,t,e;for(u=l-Ot,t=0;u%Pt===Tt;u/=Pt,t++);for(e=Pt;e<l&&Ut(e,n,l)!==l-Ot;e++);if(1===t){const n=(l+Ot)/Ct;return function(l,u){const t=l.pow(u,n);if(!l.eql(l.sqr(t),u))throw new Error("Cannot find square root");return t}}const r=(u+Ot)/Pt;return function(l,s){if(l.pow(s,n)===l.neg(l.ONE))throw new Error("Cannot find square root");let i=t,o=l.pow(l.mul(l.ONE,e),u),a=l.pow(s,r),c=l.pow(s,u);for(;!l.eql(c,l.ONE);){if(l.eql(c,l.ZERO))return l.ZERO;let n=1;for(let u=l.sqr(c);n<i&&!l.eql(u,l.ONE);n++)u=l.sqr(u);const u=l.pow(o,Ot<<BigInt(i-n-1));o=l.sqr(u),a=l.mul(a,u),c=l.mul(c,o),i=n}return a}}(l)}BigInt(9),BigInt(16);const Mt=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Gt(l,n){const u=void 0!==n?n:l.toString(2).length;return{nBitLength:u,nByteLength:Math.ceil(u/8)}}function jt(l){if("bigint"!=typeof l)throw new Error("field order must be bigint");const n=l.toString(2).length;return Math.ceil(n/8)}function Ht(l){const n=jt(l);return n+Math.ceil(n/2)}
|
6
6
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
7
|
-
const
|
8
|
-
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const{bytesToNumberBE:Br,hexToBytes:Dr}=pr,Ur={Err:class extends Error{constructor(t=""){super(t)}},_parseInt(t){const{Err:e}=Ur;if(t.length<2||2!==t[0])throw new e("Invalid signature integer tag");const n=t[1],r=t.subarray(2,n+2);if(!n||r.length!==n)throw new e("Invalid signature integer: wrong length");if(128&r[0])throw new e("Invalid signature integer: negative");if(0===r[0]&&!(128&r[1]))throw new e("Invalid signature integer: unnecessary leading zero");return{d:Br(r),l:t.subarray(n+2)}},toSig(t){const{Err:e}=Ur,n="string"==typeof t?Dr(t):t;if(!(n instanceof Uint8Array))throw new Error("ui8a expected");let r=n.length;if(r<2||48!=n[0])throw new e("Invalid signature tag");if(n[1]!==r-2)throw new e("Invalid signature: incorrect length");const{d:s,l:i}=Ur._parseInt(n.subarray(2)),{d:o,l:a}=Ur._parseInt(i);if(a.length)throw new e("Invalid signature: left bytes after parsing");return{r:s,s:o}},hexFromSig(t){const e=t=>8&Number.parseInt(t[0],16)?"00"+t:t,n=t=>{const e=t.toString(16);return 1&e.length?`0${e}`:e},r=e(n(t.s)),s=e(n(t.r)),i=r.length/2,o=s.length/2,a=n(i),c=n(o);return`30${n(o+i+4)}02${c}${s}02${a}${r}`}},Lr=BigInt(0),Fr=BigInt(1);BigInt(2);const Mr=BigInt(3);function _r(t){const e=function(t){const e=Cr(t);fr(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:n,Fp:r,a:s}=e;if(n){if(!r.eql(s,r.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof n||"bigint"!=typeof n.beta||"function"!=typeof n.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...e})}(t),{Fp:n}=e,r=e.toBytes||((t,e,r)=>{const s=e.toAffine();return or(Uint8Array.from([4]),n.toBytes(s.x),n.toBytes(s.y))}),s=e.fromBytes||(t=>{const e=t.subarray(1);return{x:n.fromBytes(e.subarray(0,n.BYTES)),y:n.fromBytes(e.subarray(n.BYTES,2*n.BYTES))}});function i(t){const{a:r,b:s}=e,i=n.sqr(t),o=n.mul(i,t);return n.add(n.add(o,n.mul(t,r)),s)}if(!n.eql(n.sqr(e.Gy),i(e.Gx)))throw new Error("bad generator point: equation left != right");function o(t){return"bigint"==typeof t&&Lr<t&&t<e.n}function a(t){if(!o(t))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function c(t){const{allowedPrivateKeyLengths:n,nByteLength:r,wrapPrivateKey:s,n:i}=e;if(n&&"bigint"!=typeof t){if(t instanceof Uint8Array&&(t=Wn(t)),"string"!=typeof t||!n.includes(t.length))throw new Error("Invalid key");t=t.padStart(2*r,"0")}let o;try{o="bigint"==typeof t?t:er(ir("private key",t,r))}catch(e){throw new Error(`private key must be ${r} bytes, hex or bigint, not ${typeof t}`)}return s&&(o=vr(o,i)),a(o),o}const u=new Map;function l(t){if(!(t instanceof h))throw new Error("ProjectivePoint expected")}class h{constructor(t,e,r){if(this.px=t,this.py=e,this.pz=r,null==t||!n.isValid(t))throw new Error("x required");if(null==e||!n.isValid(e))throw new Error("y required");if(null==r||!n.isValid(r))throw new Error("z required")}static fromAffine(t){const{x:e,y:r}=t||{};if(!t||!n.isValid(e)||!n.isValid(r))throw new Error("invalid affine point");if(t instanceof h)throw new Error("projective point not allowed");const s=t=>n.eql(t,n.ZERO);return s(e)&&s(r)?h.ZERO:new h(e,r,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(t){const e=n.invertBatch(t.map((t=>t.pz)));return t.map(((t,n)=>t.toAffine(e[n]))).map(h.fromAffine)}static fromHex(t){const e=h.fromAffine(s(ir("pointHex",t)));return e.assertValidity(),e}static fromPrivateKey(t){return h.BASE.multiply(c(t))}_setWindowSize(t){this._WINDOW_SIZE=t,u.delete(this)}assertValidity(){if(this.is0()){if(e.allowInfinityPoint&&!n.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:t,y:r}=this.toAffine();if(!n.isValid(t)||!n.isValid(r))throw new Error("bad point: x or y not FE");const s=n.sqr(r),o=i(t);if(!n.eql(s,o))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:t}=this.toAffine();if(n.isOdd)return!n.isOdd(t);throw new Error("Field doesn't support isOdd")}equals(t){l(t);const{px:e,py:r,pz:s}=this,{px:i,py:o,pz:a}=t,c=n.eql(n.mul(e,a),n.mul(i,s)),u=n.eql(n.mul(r,a),n.mul(o,s));return c&&u}negate(){return new h(this.px,n.neg(this.py),this.pz)}double(){const{a:t,b:r}=e,s=n.mul(r,Mr),{px:i,py:o,pz:a}=this;let c=n.ZERO,u=n.ZERO,l=n.ZERO,f=n.mul(i,i),p=n.mul(o,o),d=n.mul(a,a),g=n.mul(i,o);return g=n.add(g,g),l=n.mul(i,a),l=n.add(l,l),c=n.mul(t,l),u=n.mul(s,d),u=n.add(c,u),c=n.sub(p,u),u=n.add(p,u),u=n.mul(c,u),c=n.mul(g,c),l=n.mul(s,l),d=n.mul(t,d),g=n.sub(f,d),g=n.mul(t,g),g=n.add(g,l),l=n.add(f,f),f=n.add(l,f),f=n.add(f,d),f=n.mul(f,g),u=n.add(u,f),d=n.mul(o,a),d=n.add(d,d),f=n.mul(d,g),c=n.sub(c,f),l=n.mul(d,p),l=n.add(l,l),l=n.add(l,l),new h(c,u,l)}add(t){l(t);const{px:r,py:s,pz:i}=this,{px:o,py:a,pz:c}=t;let u=n.ZERO,f=n.ZERO,p=n.ZERO;const d=e.a,g=n.mul(e.b,Mr);let y=n.mul(r,o),m=n.mul(s,a),w=n.mul(i,c),b=n.add(r,s),A=n.add(o,a);b=n.mul(b,A),A=n.add(y,m),b=n.sub(b,A),A=n.add(r,i);let v=n.add(o,c);return A=n.mul(A,v),v=n.add(y,w),A=n.sub(A,v),v=n.add(s,i),u=n.add(a,c),v=n.mul(v,u),u=n.add(m,w),v=n.sub(v,u),p=n.mul(d,A),u=n.mul(g,w),p=n.add(u,p),u=n.sub(m,p),p=n.add(m,p),f=n.mul(u,p),m=n.add(y,y),m=n.add(m,y),w=n.mul(d,w),A=n.mul(g,A),m=n.add(m,w),w=n.sub(y,w),w=n.mul(d,w),A=n.add(A,w),y=n.mul(m,A),f=n.add(f,y),y=n.mul(v,A),u=n.mul(b,u),u=n.sub(u,y),y=n.mul(b,m),p=n.mul(v,p),p=n.add(p,y),new h(u,f,p)}subtract(t){return this.add(t.negate())}is0(){return this.equals(h.ZERO)}wNAF(t){return p.wNAFCached(this,u,t,(t=>{const e=n.invertBatch(t.map((t=>t.pz)));return t.map(((t,n)=>t.toAffine(e[n]))).map(h.fromAffine)}))}multiplyUnsafe(t){const r=h.ZERO;if(t===Lr)return r;if(a(t),t===Fr)return this;const{endo:s}=e;if(!s)return p.unsafeLadder(this,t);let{k1neg:i,k1:o,k2neg:c,k2:u}=s.splitScalar(t),l=r,f=r,d=this;for(;o>Lr||u>Lr;)o&Fr&&(l=l.add(d)),u&Fr&&(f=f.add(d)),d=d.double(),o>>=Fr,u>>=Fr;return i&&(l=l.negate()),c&&(f=f.negate()),f=new h(n.mul(f.px,s.beta),f.py,f.pz),l.add(f)}multiply(t){a(t);let r,s,i=t;const{endo:o}=e;if(o){const{k1neg:t,k1:e,k2neg:a,k2:c}=o.splitScalar(i);let{p:u,f:l}=this.wNAF(e),{p:f,f:d}=this.wNAF(c);u=p.constTimeNegate(t,u),f=p.constTimeNegate(a,f),f=new h(n.mul(f.px,o.beta),f.py,f.pz),r=u.add(f),s=l.add(d)}else{const{p:t,f:e}=this.wNAF(i);r=t,s=e}return h.normalizeZ([r,s])[0]}multiplyAndAddUnsafe(t,e,n){const r=h.BASE,s=(t,e)=>e!==Lr&&e!==Fr&&t.equals(r)?t.multiply(e):t.multiplyUnsafe(e),i=s(this,e).add(s(t,n));return i.is0()?void 0:i}toAffine(t){const{px:e,py:r,pz:s}=this,i=this.is0();null==t&&(t=i?n.ONE:n.inv(s));const o=n.mul(e,t),a=n.mul(r,t),c=n.mul(s,t);if(i)return{x:n.ZERO,y:n.ZERO};if(!n.eql(c,n.ONE))throw new Error("invZ was invalid");return{x:o,y:a}}isTorsionFree(){const{h:t,isTorsionFree:n}=e;if(t===Fr)return!0;if(n)return n(h,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:t,clearCofactor:n}=e;return t===Fr?this:n?n(h,this):this.multiplyUnsafe(e.h)}toRawBytes(t=!0){return this.assertValidity(),r(h,this,t)}toHex(t=!0){return Wn(this.toRawBytes(t))}}h.BASE=new h(e.Gx,e.Gy,n.ONE),h.ZERO=new h(n.ZERO,n.ONE,n.ZERO);const f=e.nBitLength,p=function(t,e){const n=(t,e)=>{const n=e.negate();return t?n:e},r=t=>({windows:Math.ceil(e/t)+1,windowSize:2**(t-1)});return{constTimeNegate:n,unsafeLadder(e,n){let r=t.ZERO,s=e;for(;n>Rr;)n&Ir&&(r=r.add(s)),s=s.double(),n>>=Ir;return r},precomputeWindow(t,e){const{windows:n,windowSize:s}=r(e),i=[];let o=t,a=o;for(let t=0;t<n;t++){a=o,i.push(a);for(let t=1;t<s;t++)a=a.add(o),i.push(a);o=a.double()}return i},wNAF(e,s,i){const{windows:o,windowSize:a}=r(e);let c=t.ZERO,u=t.BASE;const l=BigInt(2**e-1),h=2**e,f=BigInt(e);for(let t=0;t<o;t++){const e=t*a;let r=Number(i&l);i>>=f,r>a&&(r-=h,i+=Ir);const o=e,p=e+Math.abs(r)-1,d=t%2!=0,g=r<0;0===r?u=u.add(n(d,s[o])):c=c.add(n(g,s[p]))}return{p:c,f:u}},wNAFCached(t,e,n,r){const s=t._WINDOW_SIZE||1;let i=e.get(t);return i||(i=this.precomputeWindow(t,s),1!==s&&e.set(t,r(i))),this.wNAF(s,i,n)}}}(h,e.endo?Math.ceil(f/2):f);return{CURVE:e,ProjectivePoint:h,normPrivateKeyToScalar:c,weierstrassEquation:i,isWithinCurveOrder:o}}function Gr(t){const e=function(t){const e=Cr(t);return fr(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}(t),{Fp:n,n:r}=e,s=n.BYTES+1,i=2*n.BYTES+1;function o(t){return vr(t,r)}function a(t){return Tr(t,r)}const{ProjectivePoint:c,normPrivateKeyToScalar:u,weierstrassEquation:l,isWithinCurveOrder:h}=_r({...e,toBytes(t,e,r){const s=e.toAffine(),i=n.toBytes(s.x),o=or;return r?o(Uint8Array.from([e.hasEvenY()?2:3]),i):o(Uint8Array.from([4]),i,n.toBytes(s.y))},fromBytes(t){const e=t.length,r=t[0],o=t.subarray(1);if(e!==s||2!==r&&3!==r){if(e===i&&4===r){return{x:n.fromBytes(o.subarray(0,n.BYTES)),y:n.fromBytes(o.subarray(n.BYTES,2*n.BYTES))}}throw new Error(`Point of length ${e} was invalid. Expected ${s} compressed bytes or ${i} uncompressed bytes`)}{const t=er(o);if(!(Lr<(a=t)&&a<n.ORDER))throw new Error("Point is not on curve");const e=l(t);let s=n.sqrt(e);return!(1&~r)!==((s&Fr)===Fr)&&(s=n.neg(s)),{x:t,y:s}}var a}}),f=t=>Wn(rr(t,e.nByteLength));function p(t){return t>r>>Fr}const d=(t,e,n)=>er(t.slice(e,n));class g{constructor(t,e,n){this.r=t,this.s=e,this.recovery=n,this.assertValidity()}static fromCompact(t){const n=e.nByteLength;return t=ir("compactSignature",t,2*n),new g(d(t,0,n),d(t,n,2*n))}static fromDER(t){const{r:e,s:n}=Ur.toSig(ir("DER",t));return new g(e,n)}assertValidity(){if(!h(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!h(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(t){return new g(this.r,this.s,t)}recoverPublicKey(t){const{r:r,s:s,recovery:i}=this,u=b(ir("msgHash",t));if(null==i||![0,1,2,3].includes(i))throw new Error("recovery id invalid");const l=2===i||3===i?r+e.n:r;if(l>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const h=1&i?"03":"02",p=c.fromHex(h+f(l)),d=a(l),g=o(-u*d),y=o(s*d),m=c.BASE.multiplyAndAddUnsafe(p,g,y);if(!m)throw new Error("point at infinify");return m.assertValidity(),m}hasHighS(){return p(this.s)}normalizeS(){return this.hasHighS()?new g(this.r,o(-this.s),this.recovery):this}toDERRawBytes(){return tr(this.toDERHex())}toDERHex(){return Ur.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return tr(this.toCompactHex())}toCompactHex(){return f(this.r)+f(this.s)}}const y={isValidPrivateKey(t){try{return u(t),!0}catch(t){return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const t=Pr(e.n);return function(t,e,n=!1){const r=t.length,s=Or(e),i=Pr(e);if(r<16||r<i||r>1024)throw new Error(`expected ${i}-1024 bytes of input, got ${r}`);const o=vr(n?er(t):nr(t),e-gr)+gr;return n?sr(o,s):rr(o,s)}(e.randomBytes(t),e.n)},precompute:(t=8,e=c.BASE)=>(e._setWindowSize(t),e.multiply(BigInt(3)),e)};function m(t){const e=t instanceof Uint8Array,n="string"==typeof t,r=(e||n)&&t.length;return e?r===s||r===i:n?r===2*s||r===2*i:t instanceof c}const w=e.bits2int||function(t){const n=er(t),r=8*t.length-e.nBitLength;return r>0?n>>BigInt(r):n},b=e.bits2int_modN||function(t){return o(w(t))},A=ar(e.nBitLength);function v(t){if("bigint"!=typeof t)throw new Error("bigint expected");if(!(Lr<=t&&t<A))throw new Error(`bigint expected < 2^${e.nBitLength}`);return rr(t,e.nByteLength)}function E(t,r,s=k){if(["recovered","canonical"].some((t=>t in s)))throw new Error("sign() legacy options not supported");const{hash:i,randomBytes:l}=e;let{lowS:f,prehash:d,extraEntropy:y}=s;null==f&&(f=!0),t=ir("msgHash",t),d&&(t=ir("prehashed msgHash",i(t)));const m=b(t),A=u(r),E=[v(A),v(m)];if(null!=y){const t=!0===y?l(n.BYTES):y;E.push(ir("extraEntropy",t))}const T=or(...E),N=m;return{seed:T,k2sig:function(t){const e=w(t);if(!h(e))return;const n=a(e),r=c.BASE.multiply(e).toAffine(),s=o(r.x);if(s===Lr)return;const i=o(n*o(N+s*A));if(i===Lr)return;let u=(r.x===s?0:2)|Number(r.y&Fr),l=i;return f&&p(i)&&(l=function(t){return p(t)?o(-t):t}(i),u^=1),new g(s,l,u)}}}const k={lowS:e.lowS,prehash:!1},T={lowS:e.lowS,prehash:!1};return c.BASE._setWindowSize(8),{CURVE:e,getPublicKey:function(t,e=!0){return c.fromPrivateKey(t).toRawBytes(e)},getSharedSecret:function(t,e,n=!0){if(m(t))throw new Error("first arg must be private key");if(!m(e))throw new Error("second arg must be public key");return c.fromHex(e).multiply(u(t)).toRawBytes(n)},sign:function(t,n,r=k){const{seed:s,k2sig:i}=E(t,n,r),o=e;return lr(o.hash.outputLen,o.nByteLength,o.hmac)(s,i)},verify:function(t,n,r,s=T){const i=t;if(n=ir("msgHash",n),r=ir("publicKey",r),"strict"in s)throw new Error("options.strict was renamed to lowS");const{lowS:u,prehash:l}=s;let h,f;try{if("string"==typeof i||i instanceof Uint8Array)try{h=g.fromDER(i)}catch(t){if(!(t instanceof Ur.Err))throw t;h=g.fromCompact(i)}else{if("object"!=typeof i||"bigint"!=typeof i.r||"bigint"!=typeof i.s)throw new Error("PARSE");{const{r:t,s:e}=i;h=new g(t,e)}}f=c.fromHex(r)}catch(t){if("PARSE"===t.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(u&&h.hasHighS())return!1;l&&(n=e.hash(n));const{r:p,s:d}=h,y=b(n),m=a(d),w=o(y*m),A=o(p*m),v=c.BASE.multiplyAndAddUnsafe(f,w,A)?.toAffine();return!!v&&o(v.x)===p},ProjectivePoint:c,Signature:g,utils:y}}
|
9
|
-
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function
|
7
|
+
const Kt=BigInt(0),Vt=BigInt(1);function Qt(l){return Nt(l.Fp,Mt.reduce(((l,n)=>(l[n]="function",l)),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"})),Nt(l,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Gt(l.n,l.nBitLength),...l,p:l.Fp.ORDER})}
|
8
|
+
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const{bytesToNumberBE:Jt,hexToBytes:zt}=St,qt={Err:class extends Error{constructor(l=""){super(l)}},_parseInt(l){const{Err:n}=qt;if(l.length<2||2!==l[0])throw new n("Invalid signature integer tag");const u=l[1],t=l.subarray(2,u+2);if(!u||t.length!==u)throw new n("Invalid signature integer: wrong length");if(128&t[0])throw new n("Invalid signature integer: negative");if(0===t[0]&&!(128&t[1]))throw new n("Invalid signature integer: unnecessary leading zero");return{d:Jt(t),l:l.subarray(u+2)}},toSig(l){const{Err:n}=qt,u="string"==typeof l?zt(l):l;if(!(u instanceof Uint8Array))throw new Error("ui8a expected");let t=u.length;if(t<2||48!=u[0])throw new n("Invalid signature tag");if(u[1]!==t-2)throw new n("Invalid signature: incorrect length");const{d:e,l:r}=qt._parseInt(u.subarray(2)),{d:s,l:i}=qt._parseInt(r);if(i.length)throw new n("Invalid signature: left bytes after parsing");return{r:e,s:s}},hexFromSig(l){const n=l=>8&Number.parseInt(l[0],16)?"00"+l:l,u=l=>{const n=l.toString(16);return 1&n.length?`0${n}`:n},t=n(u(l.s)),e=n(u(l.r)),r=t.length/2,s=e.length/2,i=u(r),o=u(s);return`30${u(s+r+4)}02${o}${e}02${i}${t}`}},$t=BigInt(0),Wt=BigInt(1);BigInt(2);const Yt=BigInt(3);function Zt(l){const n=function(l){const n=Qt(l);Nt(n,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:u,Fp:t,a:e}=n;if(u){if(!t.eql(e,t.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof u||"bigint"!=typeof u.beta||"function"!=typeof u.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...n})}(l),{Fp:u}=n,t=n.toBytes||((l,n,t)=>{const e=n.toAffine();return bt(Uint8Array.from([4]),u.toBytes(e.x),u.toBytes(e.y))}),e=n.fromBytes||(l=>{const n=l.subarray(1);return{x:u.fromBytes(n.subarray(0,u.BYTES)),y:u.fromBytes(n.subarray(u.BYTES,2*u.BYTES))}});function r(l){const{a:t,b:e}=n,r=u.sqr(l),s=u.mul(r,l);return u.add(u.add(s,u.mul(l,t)),e)}if(!u.eql(u.sqr(n.Gy),r(n.Gx)))throw new Error("bad generator point: equation left != right");function s(l){return"bigint"==typeof l&&$t<l&&l<n.n}function i(l){if(!s(l))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function o(l){const{allowedPrivateKeyLengths:u,nByteLength:t,wrapPrivateKey:e,n:r}=n;if(u&&"bigint"!=typeof l){if(l instanceof Uint8Array&&(l=ct(l)),"string"!=typeof l||!u.includes(l.length))throw new Error("Invalid key");l=l.padStart(2*t,"0")}let s;try{s="bigint"==typeof l?l:pt(wt("private key",l,t))}catch(n){throw new Error(`private key must be ${t} bytes, hex or bigint, not ${typeof l}`)}return e&&(s=Dt(s,r)),i(s),s}const a=new Map;function c(l){if(!(l instanceof h))throw new Error("ProjectivePoint expected")}class h{constructor(l,n,t){if(this.px=l,this.py=n,this.pz=t,null==l||!u.isValid(l))throw new Error("x required");if(null==n||!u.isValid(n))throw new Error("y required");if(null==t||!u.isValid(t))throw new Error("z required")}static fromAffine(l){const{x:n,y:t}=l||{};if(!l||!u.isValid(n)||!u.isValid(t))throw new Error("invalid affine point");if(l instanceof h)throw new Error("projective point not allowed");const e=l=>u.eql(l,u.ZERO);return e(n)&&e(t)?h.ZERO:new h(n,t,u.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(l){const n=u.invertBatch(l.map((l=>l.pz)));return l.map(((l,u)=>l.toAffine(n[u]))).map(h.fromAffine)}static fromHex(l){const n=h.fromAffine(e(wt("pointHex",l)));return n.assertValidity(),n}static fromPrivateKey(l){return h.BASE.multiply(o(l))}_setWindowSize(l){this._WINDOW_SIZE=l,a.delete(this)}assertValidity(){if(this.is0()){if(n.allowInfinityPoint&&!u.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:l,y:t}=this.toAffine();if(!u.isValid(l)||!u.isValid(t))throw new Error("bad point: x or y not FE");const e=u.sqr(t),s=r(l);if(!u.eql(e,s))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:l}=this.toAffine();if(u.isOdd)return!u.isOdd(l);throw new Error("Field doesn't support isOdd")}equals(l){c(l);const{px:n,py:t,pz:e}=this,{px:r,py:s,pz:i}=l,o=u.eql(u.mul(n,i),u.mul(r,e)),a=u.eql(u.mul(t,i),u.mul(s,e));return o&&a}negate(){return new h(this.px,u.neg(this.py),this.pz)}double(){const{a:l,b:t}=n,e=u.mul(t,Yt),{px:r,py:s,pz:i}=this;let o=u.ZERO,a=u.ZERO,c=u.ZERO,f=u.mul(r,r),d=u.mul(s,s),p=u.mul(i,i),g=u.mul(r,s);return g=u.add(g,g),c=u.mul(r,i),c=u.add(c,c),o=u.mul(l,c),a=u.mul(e,p),a=u.add(o,a),o=u.sub(d,a),a=u.add(d,a),a=u.mul(o,a),o=u.mul(g,o),c=u.mul(e,c),p=u.mul(l,p),g=u.sub(f,p),g=u.mul(l,g),g=u.add(g,c),c=u.add(f,f),f=u.add(c,f),f=u.add(f,p),f=u.mul(f,g),a=u.add(a,f),p=u.mul(s,i),p=u.add(p,p),f=u.mul(p,g),o=u.sub(o,f),c=u.mul(p,d),c=u.add(c,c),c=u.add(c,c),new h(o,a,c)}add(l){c(l);const{px:t,py:e,pz:r}=this,{px:s,py:i,pz:o}=l;let a=u.ZERO,f=u.ZERO,d=u.ZERO;const p=n.a,g=u.mul(n.b,Yt);let y=u.mul(t,s),m=u.mul(e,i),w=u.mul(r,o),b=u.add(t,e),A=u.add(s,i);b=u.mul(b,A),A=u.add(y,m),b=u.sub(b,A),A=u.add(t,r);let v=u.add(s,o);return A=u.mul(A,v),v=u.add(y,w),A=u.sub(A,v),v=u.add(e,r),a=u.add(i,o),v=u.mul(v,a),a=u.add(m,w),v=u.sub(v,a),d=u.mul(p,A),a=u.mul(g,w),d=u.add(a,d),a=u.sub(m,d),d=u.add(m,d),f=u.mul(a,d),m=u.add(y,y),m=u.add(m,y),w=u.mul(p,w),A=u.mul(g,A),m=u.add(m,w),w=u.sub(y,w),w=u.mul(p,w),A=u.add(A,w),y=u.mul(m,A),f=u.add(f,y),y=u.mul(v,A),a=u.mul(b,a),a=u.sub(a,y),y=u.mul(b,m),d=u.mul(v,d),d=u.add(d,y),new h(a,f,d)}subtract(l){return this.add(l.negate())}is0(){return this.equals(h.ZERO)}wNAF(l){return d.wNAFCached(this,a,l,(l=>{const n=u.invertBatch(l.map((l=>l.pz)));return l.map(((l,u)=>l.toAffine(n[u]))).map(h.fromAffine)}))}multiplyUnsafe(l){const t=h.ZERO;if(l===$t)return t;if(i(l),l===Wt)return this;const{endo:e}=n;if(!e)return d.unsafeLadder(this,l);let{k1neg:r,k1:s,k2neg:o,k2:a}=e.splitScalar(l),c=t,f=t,p=this;for(;s>$t||a>$t;)s&Wt&&(c=c.add(p)),a&Wt&&(f=f.add(p)),p=p.double(),s>>=Wt,a>>=Wt;return r&&(c=c.negate()),o&&(f=f.negate()),f=new h(u.mul(f.px,e.beta),f.py,f.pz),c.add(f)}multiply(l){i(l);let t,e,r=l;const{endo:s}=n;if(s){const{k1neg:l,k1:n,k2neg:i,k2:o}=s.splitScalar(r);let{p:a,f:c}=this.wNAF(n),{p:f,f:p}=this.wNAF(o);a=d.constTimeNegate(l,a),f=d.constTimeNegate(i,f),f=new h(u.mul(f.px,s.beta),f.py,f.pz),t=a.add(f),e=c.add(p)}else{const{p:l,f:n}=this.wNAF(r);t=l,e=n}return h.normalizeZ([t,e])[0]}multiplyAndAddUnsafe(l,n,u){const t=h.BASE,e=(l,n)=>n!==$t&&n!==Wt&&l.equals(t)?l.multiply(n):l.multiplyUnsafe(n),r=e(this,n).add(e(l,u));return r.is0()?void 0:r}toAffine(l){const{px:n,py:t,pz:e}=this,r=this.is0();null==l&&(l=r?u.ONE:u.inv(e));const s=u.mul(n,l),i=u.mul(t,l),o=u.mul(e,l);if(r)return{x:u.ZERO,y:u.ZERO};if(!u.eql(o,u.ONE))throw new Error("invZ was invalid");return{x:s,y:i}}isTorsionFree(){const{h:l,isTorsionFree:u}=n;if(l===Wt)return!0;if(u)return u(h,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:l,clearCofactor:u}=n;return l===Wt?this:u?u(h,this):this.multiplyUnsafe(n.h)}toRawBytes(l=!0){return this.assertValidity(),t(h,this,l)}toHex(l=!0){return ct(this.toRawBytes(l))}}h.BASE=new h(n.Gx,n.Gy,u.ONE),h.ZERO=new h(u.ZERO,u.ONE,u.ZERO);const f=n.nBitLength,d=function(l,n){const u=(l,n)=>{const u=n.negate();return l?u:n},t=l=>({windows:Math.ceil(n/l)+1,windowSize:2**(l-1)});return{constTimeNegate:u,unsafeLadder(n,u){let t=l.ZERO,e=n;for(;u>Kt;)u&Vt&&(t=t.add(e)),e=e.double(),u>>=Vt;return t},precomputeWindow(l,n){const{windows:u,windowSize:e}=t(n),r=[];let s=l,i=s;for(let l=0;l<u;l++){i=s,r.push(i);for(let l=1;l<e;l++)i=i.add(s),r.push(i);s=i.double()}return r},wNAF(n,e,r){const{windows:s,windowSize:i}=t(n);let o=l.ZERO,a=l.BASE;const c=BigInt(2**n-1),h=2**n,f=BigInt(n);for(let l=0;l<s;l++){const n=l*i;let t=Number(r&c);r>>=f,t>i&&(t-=h,r+=Vt);const s=n,d=n+Math.abs(t)-1,p=l%2!=0,g=t<0;0===t?a=a.add(u(p,e[s])):o=o.add(u(g,e[d]))}return{p:o,f:a}},wNAFCached(l,n,u,t){const e=l._WINDOW_SIZE||1;let r=n.get(l);return r||(r=this.precomputeWindow(l,e),1!==e&&n.set(l,t(r))),this.wNAF(e,r,u)}}}(h,n.endo?Math.ceil(f/2):f);return{CURVE:n,ProjectivePoint:h,normPrivateKeyToScalar:o,weierstrassEquation:r,isWithinCurveOrder:s}}function Xt(l){const n=function(l){const n=Qt(l);return Nt(n,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...n})}(l),{Fp:u,n:t}=n,e=u.BYTES+1,r=2*u.BYTES+1;function s(l){return Dt(l,t)}function i(l){return Ft(l,t)}const{ProjectivePoint:o,normPrivateKeyToScalar:a,weierstrassEquation:c,isWithinCurveOrder:h}=Zt({...n,toBytes(l,n,t){const e=n.toAffine(),r=u.toBytes(e.x),s=bt;return t?s(Uint8Array.from([n.hasEvenY()?2:3]),r):s(Uint8Array.from([4]),r,u.toBytes(e.y))},fromBytes(l){const n=l.length,t=l[0],s=l.subarray(1);if(n!==e||2!==t&&3!==t){if(n===r&&4===t){return{x:u.fromBytes(s.subarray(0,u.BYTES)),y:u.fromBytes(s.subarray(u.BYTES,2*u.BYTES))}}throw new Error(`Point of length ${n} was invalid. Expected ${e} compressed bytes or ${r} uncompressed bytes`)}{const l=pt(s);if(!($t<(i=l)&&i<u.ORDER))throw new Error("Point is not on curve");const n=c(l);let e=u.sqrt(n);return!(1&~t)!==((e&Wt)===Wt)&&(e=u.neg(e)),{x:l,y:e}}var i}}),f=l=>ct(yt(l,n.nByteLength));function d(l){return l>t>>Wt}const p=(l,n,u)=>pt(l.slice(n,u));class g{constructor(l,n,u){this.r=l,this.s=n,this.recovery=u,this.assertValidity()}static fromCompact(l){const u=n.nByteLength;return l=wt("compactSignature",l,2*u),new g(p(l,0,u),p(l,u,2*u))}static fromDER(l){const{r:n,s:u}=qt.toSig(wt("DER",l));return new g(n,u)}assertValidity(){if(!h(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!h(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(l){return new g(this.r,this.s,l)}recoverPublicKey(l){const{r:t,s:e,recovery:r}=this,a=b(wt("msgHash",l));if(null==r||![0,1,2,3].includes(r))throw new Error("recovery id invalid");const c=2===r||3===r?t+n.n:t;if(c>=u.ORDER)throw new Error("recovery id 2 or 3 invalid");const h=1&r?"03":"02",d=o.fromHex(h+f(c)),p=i(c),g=s(-a*p),y=s(e*p),m=o.BASE.multiplyAndAddUnsafe(d,g,y);if(!m)throw new Error("point at infinify");return m.assertValidity(),m}hasHighS(){return d(this.s)}normalizeS(){return this.hasHighS()?new g(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return dt(this.toDERHex())}toDERHex(){return qt.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return dt(this.toCompactHex())}toCompactHex(){return f(this.r)+f(this.s)}}const y={isValidPrivateKey(l){try{return a(l),!0}catch(l){return!1}},normPrivateKeyToScalar:a,randomPrivateKey:()=>{const l=Ht(n.n);return function(l,n,u=!1){const t=l.length,e=jt(n),r=Ht(n);if(t<16||t<r||t>1024)throw new Error(`expected ${r}-1024 bytes of input, got ${t}`);const s=Dt(u?pt(l):gt(l),n-Ot)+Ot;return u?mt(s,e):yt(s,e)}(n.randomBytes(l),n.n)},precompute:(l=8,n=o.BASE)=>(n._setWindowSize(l),n.multiply(BigInt(3)),n)};function m(l){const n=l instanceof Uint8Array,u="string"==typeof l,t=(n||u)&&l.length;return n?t===e||t===r:u?t===2*e||t===2*r:l instanceof o}const w=n.bits2int||function(l){const u=pt(l),t=8*l.length-n.nBitLength;return t>0?u>>BigInt(t):u},b=n.bits2int_modN||function(l){return s(w(l))},A=At(n.nBitLength);function v(l){if("bigint"!=typeof l)throw new Error("bigint expected");if(!($t<=l&&l<A))throw new Error(`bigint expected < 2^${n.nBitLength}`);return yt(l,n.nByteLength)}function E(l,t,e=k){if(["recovered","canonical"].some((l=>l in e)))throw new Error("sign() legacy options not supported");const{hash:r,randomBytes:c}=n;let{lowS:f,prehash:p,extraEntropy:y}=e;null==f&&(f=!0),l=wt("msgHash",l),p&&(l=wt("prehashed msgHash",r(l)));const m=b(l),A=a(t),E=[v(A),v(m)];if(null!=y){const l=!0===y?c(u.BYTES):y;E.push(wt("extraEntropy",l))}const x=bt(...E),N=m;return{seed:x,k2sig:function(l){const n=w(l);if(!h(n))return;const u=i(n),t=o.BASE.multiply(n).toAffine(),e=s(t.x);if(e===$t)return;const r=s(u*s(N+e*A));if(r===$t)return;let a=(t.x===e?0:2)|Number(t.y&Wt),c=r;return f&&d(r)&&(c=function(l){return d(l)?s(-l):l}(r),a^=1),new g(e,c,a)}}}const k={lowS:n.lowS,prehash:!1},x={lowS:n.lowS,prehash:!1};return o.BASE._setWindowSize(8),{CURVE:n,getPublicKey:function(l,n=!0){return o.fromPrivateKey(l).toRawBytes(n)},getSharedSecret:function(l,n,u=!0){if(m(l))throw new Error("first arg must be private key");if(!m(n))throw new Error("second arg must be public key");return o.fromHex(n).multiply(a(l)).toRawBytes(u)},sign:function(l,u,t=k){const{seed:e,k2sig:r}=E(l,u,t),s=n;return kt(s.hash.outputLen,s.nByteLength,s.hmac)(e,r)},verify:function(l,u,t,e=x){const r=l;if(u=wt("msgHash",u),t=wt("publicKey",t),"strict"in e)throw new Error("options.strict was renamed to lowS");const{lowS:a,prehash:c}=e;let h,f;try{if("string"==typeof r||r instanceof Uint8Array)try{h=g.fromDER(r)}catch(l){if(!(l instanceof qt.Err))throw l;h=g.fromCompact(r)}else{if("object"!=typeof r||"bigint"!=typeof r.r||"bigint"!=typeof r.s)throw new Error("PARSE");{const{r:l,s:n}=r;h=new g(l,n)}}f=o.fromHex(t)}catch(l){if("PARSE"===l.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(a&&h.hasHighS())return!1;c&&(u=n.hash(u));const{r:d,s:p}=h,y=b(u),m=i(p),w=s(y*m),A=s(d*m),v=o.BASE.multiplyAndAddUnsafe(f,w,A)?.toAffine();return!!v&&s(v.x)===d},ProjectivePoint:o,Signature:g,utils:y}}
|
9
|
+
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function le(l){return{hash:l,hmac:(n,...u)=>bn(l,n,function(...l){const n=new Uint8Array(l.reduce(((l,n)=>l+n.length),0));let u=0;return l.forEach((l=>{if(!rn(l))throw new Error("Uint8Array expected");n.set(l,u),u+=l.length})),n}(...u)),randomBytes:mn}}BigInt(4);
|
10
10
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
11
|
-
const Hr=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Kr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),Vr=BigInt(1),Qr=BigInt(2),Jr=(t,e)=>(t+e/Qr)/e;const zr=function(t,e,n=!1,r={}){if(t<=dr)throw new Error(`Expected Field ORDER > 0, got ${t}`);const{nBitLength:s,nByteLength:i}=Sr(t,e);if(i>2048)throw new Error("Field lengths over 2048 bytes are not supported");const o=Nr(t),a=Object.freeze({ORDER:t,BITS:s,BYTES:i,MASK:ar(s),ZERO:dr,ONE:gr,create:e=>vr(e,t),isValid:e=>{if("bigint"!=typeof e)throw new Error("Invalid field element: expected bigint, got "+typeof e);return dr<=e&&e<t},is0:t=>t===dr,isOdd:t=>(t&gr)===gr,neg:e=>vr(-e,t),eql:(t,e)=>t===e,sqr:e=>vr(e*e,t),add:(e,n)=>vr(e+n,t),sub:(e,n)=>vr(e-n,t),mul:(e,n)=>vr(e*n,t),pow:(t,e)=>function(t,e,n){if(n<dr)throw new Error("Expected power > 0");if(n===dr)return t.ONE;if(n===gr)return e;let r=t.ONE,s=e;for(;n>dr;)n&gr&&(r=t.mul(r,s)),s=t.sqr(s),n>>=gr;return r}(a,t,e),div:(e,n)=>vr(e*Tr(n,t),t),sqrN:t=>t*t,addN:(t,e)=>t+e,subN:(t,e)=>t-e,mulN:(t,e)=>t*e,inv:e=>Tr(e,t),sqrt:r.sqrt||(t=>o(a,t)),invertBatch:t=>function(t,e){const n=new Array(e.length),r=e.reduce(((e,r,s)=>t.is0(r)?e:(n[s]=e,t.mul(e,r))),t.ONE),s=t.inv(r);return e.reduceRight(((e,r,s)=>t.is0(r)?e:(n[s]=t.mul(e,n[s]),t.mul(e,r))),s),n}(a,t),cmov:(t,e,n)=>n?e:t,toBytes:t=>n?sr(t,i):rr(t,i),fromBytes:t=>{if(t.length!==i)throw new Error(`Fp.fromBytes: expected ${i}, got ${t.length}`);return n?nr(t):er(t)}});return Object.freeze(a)}(Hr,void 0,void 0,{sqrt:function(t){const e=Hr,n=BigInt(3),r=BigInt(6),s=BigInt(11),i=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),u=t*t*t%e,l=u*u*t%e,h=kr(l,n,e)*l%e,f=kr(h,n,e)*l%e,p=kr(f,Qr,e)*u%e,d=kr(p,s,e)*p%e,g=kr(d,i,e)*d%e,y=kr(g,a,e)*g%e,m=kr(y,c,e)*y%e,w=kr(m,a,e)*g%e,b=kr(w,n,e)*l%e,A=kr(b,o,e)*d%e,v=kr(A,r,e)*u%e,E=kr(v,Qr,e);if(!zr.eql(zr.sqr(E),t))throw new Error("Cannot find square root");return E}}),Yr=function(t,e){const n=e=>Gr({...t,...jr(e)});return Object.freeze({...n(e),create:n})}({a:BigInt(0),b:BigInt(7),Fp:zr,n:Kr,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:t=>{const e=Kr,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-Vr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),s=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),i=n,o=BigInt("0x100000000000000000000000000000000"),a=Jr(i*t,e),c=Jr(-r*t,e);let u=vr(t-a*n-c*s,e),l=vr(-a*r-c*i,e);const h=u>o,f=l>o;if(h&&(u=e-u),f&&(l=e-l),u>o||l>o)throw new Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:h,k1:u,k2neg:f,k2:l}}}},ge);BigInt(0),Yr.ProjectivePoint;const qr="0x0000000000000000000000000000000000000000",$r="0x0000000000000000000000000000000000000000000000000000000000000000",Wr=BigInt(0),Zr=BigInt(1),Xr=BigInt(2),ts=BigInt(27),es=BigInt(28),ns=BigInt(35),rs={};function ss(t){return R(H(t),32)}class is{#B;#D;#U;#L;get r(){return this.#B}set r(t){d(32===S(t),"invalid r","value",t),this.#B=N(t)}get s(){return this.#D}set s(t){d(32===S(t),"invalid s","value",t);const e=N(t);d(parseInt(e.substring(0,3))<8,"non-canonical s","value",e),this.#D=e}get v(){return this.#U}set v(t){const e=G(t,"value");d(27===e||28===e,"invalid v","v",t),this.#U=e}get networkV(){return this.#L}get legacyChainId(){const t=this.networkV;return null==t?null:is.getChainId(t)}get yParity(){return 27===this.v?0:1}get yParityAndS(){const t=A(this.s);return this.yParity&&(t[0]|=128),N(t)}get compactSerialized(){return x([this.r,this.yParityAndS])}get serialized(){return x([this.r,this.s,this.yParity?"0x1c":"0x1b"])}constructor(t,e,n,r){w(t,rs,"Signature"),this.#B=e,this.#D=n,this.#U=r,this.#L=null}[Symbol.for("nodejs.util.inspect.custom")](){return`Signature { r: "${this.r}", s: "${this.s}", yParity: ${this.yParity}, networkV: ${this.networkV} }`}clone(){const t=new is(rs,this.r,this.s,this.v);return this.networkV&&(t.#L=this.networkV),t}toJSON(){const t=this.networkV;return{_type:"signature",networkV:null!=t?t.toString():null,r:this.r,s:this.s,v:this.v}}static getChainId(t){const e=L(t,"v");return e==ts||e==es?Wr:(d(e>=ns,"invalid EIP-155 v","v",t),(e-ns)/Xr)}static getChainIdV(t,e){return L(t)*Xr+BigInt(35+e-27)}static getNormalizedV(t){const e=L(t);return e===Wr||e===ts?27:e===Zr||e===es?28:(d(e>=ns,"invalid v","v",t),e&Zr?27:28)}static from(t){function e(e,n){d(e,n,"signature",t)}if(null==t)return new is(rs,$r,$r,27);if("string"==typeof t){const n=A(t,"signature");if(64===n.length){const t=N(n.slice(0,32)),e=n.slice(32,64),r=128&e[0]?28:27;return e[0]&=127,new is(rs,t,N(e),r)}if(65===n.length){const t=N(n.slice(0,32)),r=n.slice(32,64);e(!(128&r[0]),"non-canonical s");const s=is.getNormalizedV(n[64]);return new is(rs,t,N(r),s)}e(!1,"invalid raw signature length")}if(t instanceof is)return t.clone();const n=t.r;e(null!=n,"missing r");const r=ss(n),s=function(t,n){if(null!=t)return ss(t);if(null!=n){e(E(n,32),"invalid yParityAndS");const t=A(n);return t[0]&=127,N(t)}e(!1,"missing s")}(t.s,t.yParityAndS);e(!(128&A(s)[0]),"non-canonical s");const{networkV:i,v:o}=function(t,n,r){if(null!=t){const e=L(t);return{networkV:e>=ns?e:void 0,v:is.getNormalizedV(e)}}if(null!=n)return e(E(n,32),"invalid yParityAndS"),{v:128&A(n)[0]?28:27};if(null!=r){switch(G(r,"sig.yParity")){case 0:return{v:27};case 1:return{v:28}}e(!1,"invalid yParity")}e(!1,"missing v")}(t.v,t.yParityAndS,t.yParity),a=new is(rs,r,s,o);return i&&(a.#L=i),e(null==t.yParity||G(t.yParity,"sig.yParity")===a.yParity,"yParity mismatch"),e(null==t.yParityAndS||t.yParityAndS===a.yParityAndS,"yParityAndS mismatch"),a}}class os{#F;constructor(t){d(32===S(t),"invalid private key","privateKey","[REDACTED]"),this.#F=N(t)}get privateKey(){return this.#F}get publicKey(){return os.computePublicKey(this.#F)}get compressedPublicKey(){return os.computePublicKey(this.#F,!0)}sign(t){d(32===S(t),"invalid digest length","digest",t);const e=Yr.sign(v(t),v(this.#F),{lowS:!0});return is.from({r:j(e.r,32),s:j(e.s,32),v:e.recovery?28:27})}computeSharedSecret(t){const e=os.computePublicKey(t);return N(Yr.getSharedSecret(v(this.#F),A(e),!1))}static computePublicKey(t,e){let n=A(t,"key");if(32===n.length){return N(Yr.getPublicKey(n,!!e))}if(64===n.length){const t=new Uint8Array(65);t[0]=4,t.set(n,1),n=t}return N(Yr.ProjectivePoint.fromHex(n).toRawBytes(e))}static recoverPublicKey(t,e){d(32===S(t),"invalid digest length","digest",t);const n=is.from(e);let r=Yr.Signature.fromCompact(v(x([n.r,n.s])));r=r.addRecoveryBit(n.yParity);const s=r.recoverPublicKey(v(t));return d(null!=s,"invalid signautre for digest","signature",e),"0x"+s.toHex(!1)}static addPoints(t,e,n){const r=Yr.ProjectivePoint.fromHex(os.computePublicKey(t).substring(2)),s=Yr.ProjectivePoint.fromHex(os.computePublicKey(e).substring(2));return"0x"+r.add(s).toHex(!!n)}}const as=BigInt(0),cs=BigInt(36);function us(t){const e=(t=t.toLowerCase()).substring(2).split(""),n=new Uint8Array(40);for(let t=0;t<40;t++)n[t]=e[t].charCodeAt(0);const r=A(en(n));for(let t=0;t<40;t+=2)r[t>>1]>>4>=8&&(e[t]=e[t].toUpperCase()),(15&r[t>>1])>=8&&(e[t+1]=e[t+1].toUpperCase());return"0x"+e.join("")}const ls={};for(let t=0;t<10;t++)ls[String(t)]=String(t);for(let t=0;t<26;t++)ls[String.fromCharCode(65+t)]=String(10+t);const hs=function(){const t={};for(let e=0;e<36;e++){t["0123456789abcdefghijklmnopqrstuvwxyz"[e]]=BigInt(e)}return t}();function fs(t){if(d("string"==typeof t,"invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/)){t.startsWith("0x")||(t="0x"+t);const e=us(t);return d(!t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)||e===t,"bad address checksum","address",t),e}if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){d(t.substring(2,4)===function(t){let e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((t=>ls[t])).join("");for(;e.length>=15;){let t=e.substring(0,15);e=parseInt(t,10)%97+e.substring(t.length)}let n=String(98-parseInt(e,10)%97);for(;n.length<2;)n="0"+n;return n}(t),"bad icap checksum","address",t);let e=function(t){t=t.toLowerCase();let e=as;for(let n=0;n<t.length;n++)e=e*cs+hs[t[n]];return e}(t.substring(4)).toString(16);for(;e.length<40;)e="0"+e;return us("0x"+e)}d(!1,"invalid address","address",t)}function ps(t){return t&&"function"==typeof t.getAddress}async function ds(t,e){const n=await e;return null!=n&&"0x0000000000000000000000000000000000000000"!==n||(p("string"!=typeof t,"unconfigured name","UNCONFIGURED_NAME",{value:t}),d(!1,"invalid AddressLike value; did not resolve to a value address","target",t)),fs(n)}function gs(t,e){return"string"==typeof t?t.match(/^0x[0-9a-f]{40}$/i)?fs(t):(p(null!=e,"ENS resolution requires a provider","UNSUPPORTED_OPERATION",{operation:"resolveName"}),ds(t,e.resolveName(t))):ps(t)?ds(t,t.getAddress()):t&&"function"==typeof t.then?ds(t,t):void d(!1,"unsupported addressable value","target",t)}const ys={};function ms(t,e){let n=!1;return e<0&&(n=!0,e*=-1),new As(ys,`${n?"":"u"}int${e}`,t,{signed:n,width:e})}function ws(t,e){return new As(ys,`bytes${e||""}`,t,{size:e})}const bs=Symbol.for("_ethers_typed");class As{type;value;#M;_typedSymbol;constructor(t,e,n,r){null==r&&(r=null),w(ys,t,"Typed"),c(this,{_typedSymbol:bs,type:e,value:n}),this.#M=r,this.format()}format(){if("array"===this.type)throw new Error("");if("dynamicArray"===this.type)throw new Error("");return"tuple"===this.type?`tuple(${this.value.map((t=>t.format())).join(",")})`:this.type}defaultValue(){return 0}minValue(){return 0}maxValue(){return 0}isBigInt(){return!!this.type.match(/^u?int[0-9]+$/)}isData(){return this.type.startsWith("bytes")}isString(){return"string"===this.type}get tupleName(){if("tuple"!==this.type)throw TypeError("not a tuple");return this.#M}get arrayLength(){if("array"!==this.type)throw TypeError("not an array");return!0===this.#M?-1:!1===this.#M?this.value.length:null}static from(t,e){return new As(ys,t,e)}static uint8(t){return ms(t,8)}static uint16(t){return ms(t,16)}static uint24(t){return ms(t,24)}static uint32(t){return ms(t,32)}static uint40(t){return ms(t,40)}static uint48(t){return ms(t,48)}static uint56(t){return ms(t,56)}static uint64(t){return ms(t,64)}static uint72(t){return ms(t,72)}static uint80(t){return ms(t,80)}static uint88(t){return ms(t,88)}static uint96(t){return ms(t,96)}static uint104(t){return ms(t,104)}static uint112(t){return ms(t,112)}static uint120(t){return ms(t,120)}static uint128(t){return ms(t,128)}static uint136(t){return ms(t,136)}static uint144(t){return ms(t,144)}static uint152(t){return ms(t,152)}static uint160(t){return ms(t,160)}static uint168(t){return ms(t,168)}static uint176(t){return ms(t,176)}static uint184(t){return ms(t,184)}static uint192(t){return ms(t,192)}static uint200(t){return ms(t,200)}static uint208(t){return ms(t,208)}static uint216(t){return ms(t,216)}static uint224(t){return ms(t,224)}static uint232(t){return ms(t,232)}static uint240(t){return ms(t,240)}static uint248(t){return ms(t,248)}static uint256(t){return ms(t,256)}static uint(t){return ms(t,256)}static int8(t){return ms(t,-8)}static int16(t){return ms(t,-16)}static int24(t){return ms(t,-24)}static int32(t){return ms(t,-32)}static int40(t){return ms(t,-40)}static int48(t){return ms(t,-48)}static int56(t){return ms(t,-56)}static int64(t){return ms(t,-64)}static int72(t){return ms(t,-72)}static int80(t){return ms(t,-80)}static int88(t){return ms(t,-88)}static int96(t){return ms(t,-96)}static int104(t){return ms(t,-104)}static int112(t){return ms(t,-112)}static int120(t){return ms(t,-120)}static int128(t){return ms(t,-128)}static int136(t){return ms(t,-136)}static int144(t){return ms(t,-144)}static int152(t){return ms(t,-152)}static int160(t){return ms(t,-160)}static int168(t){return ms(t,-168)}static int176(t){return ms(t,-176)}static int184(t){return ms(t,-184)}static int192(t){return ms(t,-192)}static int200(t){return ms(t,-200)}static int208(t){return ms(t,-208)}static int216(t){return ms(t,-216)}static int224(t){return ms(t,-224)}static int232(t){return ms(t,-232)}static int240(t){return ms(t,-240)}static int248(t){return ms(t,-248)}static int256(t){return ms(t,-256)}static int(t){return ms(t,-256)}static bytes1(t){return ws(t,1)}static bytes2(t){return ws(t,2)}static bytes3(t){return ws(t,3)}static bytes4(t){return ws(t,4)}static bytes5(t){return ws(t,5)}static bytes6(t){return ws(t,6)}static bytes7(t){return ws(t,7)}static bytes8(t){return ws(t,8)}static bytes9(t){return ws(t,9)}static bytes10(t){return ws(t,10)}static bytes11(t){return ws(t,11)}static bytes12(t){return ws(t,12)}static bytes13(t){return ws(t,13)}static bytes14(t){return ws(t,14)}static bytes15(t){return ws(t,15)}static bytes16(t){return ws(t,16)}static bytes17(t){return ws(t,17)}static bytes18(t){return ws(t,18)}static bytes19(t){return ws(t,19)}static bytes20(t){return ws(t,20)}static bytes21(t){return ws(t,21)}static bytes22(t){return ws(t,22)}static bytes23(t){return ws(t,23)}static bytes24(t){return ws(t,24)}static bytes25(t){return ws(t,25)}static bytes26(t){return ws(t,26)}static bytes27(t){return ws(t,27)}static bytes28(t){return ws(t,28)}static bytes29(t){return ws(t,29)}static bytes30(t){return ws(t,30)}static bytes31(t){return ws(t,31)}static bytes32(t){return ws(t,32)}static address(t){return new As(ys,"address",t)}static bool(t){return new As(ys,"bool",!!t)}static bytes(t){return new As(ys,"bytes",t)}static string(t){return new As(ys,"string",t)}static array(t,e){throw new Error("not implemented yet")}static tuple(t,e){throw new Error("not implemented yet")}static overrides(t){return new As(ys,"overrides",Object.assign({},t))}static isTyped(t){return t&&"object"==typeof t&&"_typedSymbol"in t&&t._typedSymbol===bs}static dereference(t,e){if(As.isTyped(t)){if(t.type!==e)throw new Error(`invalid type: expecetd ${e}, got ${t.type}`);return t.value}return t}}class vs extends Lt{constructor(t){super("address","address",t,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(t,e){let n=As.dereference(e,"string");try{n=fs(n)}catch(t){return this._throwError(t.message,e)}return t.writeValue(n)}decode(t){return fs(j(t.readValue(),20))}}class Es extends Lt{coder;constructor(t){super(t.name,t.type,"_",t.dynamic),this.coder=t}defaultValue(){return this.coder.defaultValue()}encode(t,e){return this.coder.encode(t,e)}decode(t){return this.coder.decode(t)}}function ks(t,e,n){let r=[];if(Array.isArray(n))r=n;else if(n&&"object"==typeof n){let t={};r=e.map((e=>{const r=e.localName;return p(r,"cannot encode object for signature with missing names","INVALID_ARGUMENT",{argument:"values",info:{coder:e},value:n}),p(!t[r],"cannot encode object for signature with duplicate names","INVALID_ARGUMENT",{argument:"values",info:{coder:e},value:n}),t[r]=!0,n[r]}))}else d(!1,"invalid tuple value","tuple",n);d(e.length===r.length,"types/value length mismatch","tuple",n);let s=new Ft,i=new Ft,o=[];e.forEach(((t,e)=>{let n=r[e];if(t.dynamic){let e=i.length;t.encode(i,n);let r=s.writeUpdatableValue();o.push((t=>{r(t+e)}))}else t.encode(s,n)})),o.forEach((t=>{t(s.length)}));let a=t.appendWriter(s);return a+=t.appendWriter(i),a}function Ts(t,e){let n=[],r=[],s=t.subReader(0);return e.forEach((e=>{let i=null;if(e.dynamic){let n=t.readIndex(),r=s.subReader(n);try{i=e.decode(r)}catch(t){if(l(t,"BUFFER_OVERRUN"))throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}}else try{i=e.decode(t)}catch(t){if(l(t,"BUFFER_OVERRUN"))throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}if(null==i)throw new Error("investigate");n.push(i),r.push(e.localName||null)})),Dt.fromItems(n,r)}class Ns extends Lt{coder;length;constructor(t,e,n){super("array",t.type+"["+(e>=0?e:"")+"]",n,-1===e||t.dynamic),c(this,{coder:t,length:e})}defaultValue(){const t=this.coder.defaultValue(),e=[];for(let n=0;n<this.length;n++)e.push(t);return e}encode(t,e){const n=As.dereference(e,"array");Array.isArray(n)||this._throwError("expected array value",n);let r=this.length;-1===r&&(r=n.length,t.writeValue(n.length)),g(n.length,r,"coder array"+(this.localName?" "+this.localName:""));let s=[];for(let t=0;t<n.length;t++)s.push(this.coder);return ks(t,s,n)}decode(t){let e=this.length;-1===e&&(e=t.readIndex(),p(e*Nt<=t.dataLength,"insufficient data length","BUFFER_OVERRUN",{buffer:t.bytes,offset:e*Nt,length:t.dataLength}));let n=[];for(let t=0;t<e;t++)n.push(new Es(this.coder));return Ts(t,n)}}class xs extends Lt{constructor(t){super("bool","bool",t,!1)}defaultValue(){return!1}encode(t,e){const n=As.dereference(e,"bool");return t.writeValue(n?1:0)}decode(t){return!!t.readValue()}}class Ss extends Lt{constructor(t,e){super(t,t,e,!0)}defaultValue(){return"0x"}encode(t,e){e=v(e);let n=t.writeValue(e.length);return n+=t.writeBytes(e),n}decode(t){return t.readBytes(t.readIndex(),!0)}}class Os extends Ss{constructor(t){super("bytes",t)}decode(t){return N(super.decode(t))}}class Ps extends Lt{size;constructor(t,e){let n="bytes"+String(t);super(n,n,e,!1),c(this,{size:t},{size:"number"})}defaultValue(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)}encode(t,e){let n=v(As.dereference(e,this.type));return n.length!==this.size&&this._throwError("incorrect data length",e),t.writeBytes(n)}decode(t){return N(t.readBytes(this.size))}}const Rs=new Uint8Array([]);class Is extends Lt{constructor(t){super("null","",t,!1)}defaultValue(){return null}encode(t,e){return null!=e&&this._throwError("not null",e),t.writeBytes(Rs)}decode(t){return t.readBytes(0),null}}const Cs=BigInt(0),Bs=BigInt(1),Ds=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");class Us extends Lt{size;signed;constructor(t,e,n){const r=(e?"int":"uint")+8*t;super(r,r,n,!1),c(this,{size:t,signed:e},{size:"number",signed:"boolean"})}defaultValue(){return 0}encode(t,e){let n=L(As.dereference(e,this.type)),r=U(Ds,256);if(this.signed){let t=U(r,8*this.size-1);(n>t||n<-(t+Bs))&&this._throwError("value out-of-bounds",e),n=D(n,256)}else(n<Cs||n>U(r,8*this.size))&&this._throwError("value out-of-bounds",e);return t.writeValue(n)}decode(t){let e=U(t.readValue(),8*this.size);return this.signed&&(e=function(t,e){const n=F(t,"value"),r=BigInt(G(e,"width"));if(p(n>>r===I,"overflow","NUMERIC_FAULT",{operation:"fromTwos",fault:"overflow",value:t}),n>>r-C)return-((~n&(C<<r)-C)+C);return n}(e,8*this.size)),e}}class Ls extends Ss{constructor(t){super("string",t)}defaultValue(){return""}encode(t,e){return super.encode(t,X(As.dereference(e,"string")))}decode(t){return tt(super.decode(t))}}class Fs extends Lt{coders;constructor(t,e){let n=!1;const r=[];t.forEach((t=>{t.dynamic&&(n=!0),r.push(t.type)}));super("tuple","tuple("+r.join(",")+")",e,n),c(this,{coders:Object.freeze(t.slice())})}defaultValue(){const t=[];this.coders.forEach((e=>{t.push(e.defaultValue())}));const e=this.coders.reduce(((t,e)=>{const n=e.localName;return n&&(t[n]||(t[n]=0),t[n]++),t}),{});return this.coders.forEach(((n,r)=>{let s=n.localName;s&&1===e[s]&&("length"===s&&(s="_length"),null==t[s]&&(t[s]=t[r]))})),Object.freeze(t)}encode(t,e){const n=As.dereference(e,"tuple");return ks(t,this.coders,n)}decode(t){return Ts(t,this.coders)}}function Ms(t){return en(X(t))}const _s=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function Gs(t){return function(t){let e=0;return()=>t[e++]}(function(t){let e=0;function n(){return t[e++]<<8|t[e++]}let r=n(),s=1,i=[0,1];for(let t=1;t<r;t++)i.push(s+=n());let o=n(),a=e;e+=o;let c=0,u=0;function l(){return 0==c&&(u=u<<8|t[e++],c=8),u>>--c&1}const h=2**31,f=h>>>1,p=f>>1,d=h-1;let g=0;for(let t=0;t<31;t++)g=g<<1|l();let y=[],m=0,w=h;for(;;){let t=Math.floor(((g-m+1)*s-1)/w),e=0,n=r;for(;n-e>1;){let r=e+n>>>1;t<i[r]?n=r:e=r}if(0==e)break;y.push(e);let o=m+Math.floor(w*i[e]/s),a=m+Math.floor(w*i[e+1]/s)-1;for(;!((o^a)&f);)g=g<<1&d|l(),o=o<<1&d,a=a<<1&d|1;for(;o&~a&p;)g=g&f|g<<1&d>>>1|l(),o=o<<1^f,a=(a^f)<<1|f|1;m=o,w=1+a-o}let b=r-4;return y.map((e=>{switch(e-b){case 3:return b+65792+(t[a++]<<16|t[a++]<<8|t[a++]);case 2:return b+256+(t[a++]<<8|t[a++]);case 1:return b+t[a++];default:return e-1}}))}(function(t){let e=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach(((t,n)=>e[t.charCodeAt(0)]=n));let n=t.length,r=new Uint8Array(6*n>>3);for(let s=0,i=0,o=0,a=0;s<n;s++)a=a<<6|e[t.charCodeAt(s)],o+=6,o>=8&&(r[i++]=a>>(o-=8));return r}(t)))}function js(t){return 1&t?~t>>1:t>>1}function Hs(t,e){let n=Array(t);for(let r=0,s=0;r<t;r++)n[r]=s+=js(e());return n}function Ks(t,e=0){let n=[];for(;;){let r=t(),s=t();if(!s)break;e+=r;for(let t=0;t<s;t++)n.push(e+t);e+=s+1}return n}function Vs(t){return Js((()=>{let e=Ks(t);if(e.length)return e}))}function Qs(t){let e=[];for(;;){let n=t();if(0==n)break;e.push(Ys(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(qs(n,t))}return e.flat()}function Js(t){let e=[];for(;;){let n=t(e.length);if(!n)break;e.push(n)}return e}function zs(t,e,n){let r=Array(t).fill().map((()=>[]));for(let s=0;s<e;s++)Hs(t,n).forEach(((t,e)=>r[e].push(t)));return r}function Ys(t,e){let n=1+e(),r=e(),s=Js(e);return zs(s.length,1+t,e).flatMap(((t,e)=>{let[i,...o]=t;return Array(s[e]).fill().map(((t,e)=>{let s=e*r;return[i+e*n,o.map((t=>t+s))]}))}))}function qs(t,e){return zs(1+e(),1+t,e).map((t=>[t[0],t.slice(1)]))}function $s(t){return`{${function(t){return t.toString(16).toUpperCase().padStart(2,"0")}(t)}}`}function Ws(t){let e=t.length;if(e<4096)return String.fromCodePoint(...t);let n=[];for(let r=0;r<e;)n.push(String.fromCodePoint(...t.slice(r,r+=4096)));return n.join("")}function Zs(t,e){let n=t.length,r=n-e.length;for(let s=0;0==r&&s<n;s++)r=t[s]-e[s];return r}const Xs=44032,ti=4352,ei=4449,ni=4519,ri=28,si=588;function ii(t){return t>>24&255}function oi(t){return 16777215&t}let ai,ci,ui,li;function hi(t){return t>=Xs&&t<55204}function fi(t,e){if(t>=ti&&t<4371&&e>=ei&&e<4470)return Xs+(t-ti)*si+(e-ei)*ri;if(hi(t)&&e>ni&&e<4547&&(t-Xs)%ri==0)return t+(e-ni);{let n=li.get(t);return n&&(n=n.get(e),n)?n:-1}}function pi(t){ai||function(){let t=Gs("AEUDTAHBCFQATQDRADAAcgAgADQAFAAsABQAHwAOACQADQARAAoAFwAHABIACAAPAAUACwAFAAwABAAQAAMABwAEAAoABQAIAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACgANAA0AAwAKAAkABAAdAAYAZwDSAdsDJgC0CkMB8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgsj26PTQyy8FfEQ8AY8IPAGcEbwRwBHEEcgRzBHQEdQR2BHcEeAR6BHsEfAR+BIAEgfndBQoBYgULAWIFDAFiBNcE2ATZBRAFEQUvBdALFAsVDPcNBw13DYcOMA4xDjMB4BllHI0B2grbAMDpHLkQ7QHVAPRNQQFnGRUEg0yEB2uaJF8AJpIBpob5AERSMAKNoAXqaQLUBMCzEiACnwRZEkkVsS7tANAsBG0RuAQLEPABv9HICTUBXigPZwRBApMDOwAamhtaABqEAY8KvKx3LQ4ArAB8UhwEBAVSagD8AEFZADkBIadVj2UMUgx5Il4ANQC9AxIB1BlbEPMAs30CGxlXAhwZKQIECBc6EbsCoxngzv7UzRQA8M0BawL6ZwkN7wABAD33OQRcsgLJCjMCjqUChtw/km+NAsXPAoP2BT84PwURAK0RAvptb6cApQS/OMMey5HJS84UdxpxTPkCogVFITaTOwERAK5pAvkNBOVyA7q3BKlOJSALAgUIBRcEdASpBXqzABXFSWZOawLCOqw//AolCZdvv3dSBkEQGyelEPcMMwG1ATsN7UvYBPEGOwTJH30ZGQ/NlZwIpS3dDO0m4y6hgFoj9SqDBe1L9DzdC01RaA9ZC2UJ4zpjgU4DIQENIosK3Q05CG0Q8wrJaw3lEUUHOQPVSZoApQcBCxEdNRW1JhBirAsJOXcG+xr2C48mrxMpevwF0xohBk0BKRr/AM8u54WwWjFcHE9fBgMLJSPHFKhQIA0lQLd4SBobBxUlqQKRQ3BKh1E2HpMh9jw9DWYuE1F8B/U8BRlPC4E8nkarRQ4R0j6NPUgiSUwsBDV/LC8niwnPD4UMuXxyAVkJIQmxDHETMREXN8UIOQcZLZckJxUIIUaVYJoE958D8xPRAwsFPwlBBxMDtRwtEy4VKQUNgSTXAvM21S6zAo9WgAEXBcsPJR/fEFBH4A7pCJsCZQODJesALRUhABcimwhDYwBfj9hTBS7LCMdqbCN0A2cU52ERcweRDlcHpxwzFb8c4XDIXguGCCijrwlbAXUJmQFfBOMICTVbjKAgQWdTi1gYmyBhQT9d/AIxDGUVn0S9h3gCiw9rEhsBNQFzBzkNAQJ3Ee0RaxCVCOuGBDW1M/g6JQRPIYMgEQonA09szgsnJvkM+GkBoxJiAww0PXfuZ6tgtiQX/QcZMsVBYCHxC5JPzQycGsEYQlQuGeQHvwPzGvMn6kFXBf8DowMTOk0z7gS9C2kIiwk/AEkOoxcH1xhqCnGM0AExiwG3mQNXkYMCb48GNwcLAGcLhwV55QAdAqcIowAFAM8DVwA5Aq0HnQAZAIVBAT0DJy8BIeUCjwOTCDHLAZUvAfMpBBvDDBUA9zduSgLDsQKAamaiBd1YAo4CSTUBTSUEBU5HUQOvceEA2wBLBhPfRwEVq0rLGuNDAd9vKwDHAPsABTUHBUEBzQHzbQC3AV8LMQmis7UBTekpAIMAFWsB1wKJAN0ANQB/8QFTAE0FWfkF0wJPSQERMRgrV2EBuwMfATMBDQB5BsuNpckHHwRtB9MCEBsV4QLvLge1AQMi3xPNQsUCvd5VoWACZIECYkJbTa9bNyACofcCaJgCZgkCn4Q4GwsCZjsCZiYEbgR/A38TA36SOQY5dxc5gjojIwJsHQIyNjgKAm3HAm2u74ozZ0UrAWcA3gDhAEoFB5gMjQD+C8IADbUCdy8CdqI/AnlLQwJ4uh1c20WuRtcCfD8CesgCfQkCfPAFWQUgSABIfWMkAoFtAoAAAoAFAn+uSVhKWxUXSswC0QEC0MxLJwOITwOH5kTFkTIC8qFdAwMDrkvOTC0lA89NTE2vAos/AorYwRsHHUNnBbcCjjcCjlxAl4ECjtkCjlx4UbRTNQpS1FSFApP7ApMMAOkAHFUeVa9V0AYsGymVhjLheGZFOzkCl58C77JYIagAWSUClo8ClnycAKlZrFoJgU0AOwKWtQKWTlxEXNECmcsCmWRcyl0HGQKcmznCOp0CnBYCn5sCnriKAB0PMSoPAp3xAp6SALU9YTRh7wKe0wKgbgGpAp6fHwKeTqVjyGQnJSsCJ68CJn4CoPsCoEwCot0CocQCpi8Cpc4Cp/8AfQKn8mh8aLEAA0lqHGrRAqzjAqyuAq1nAq0CAlcdAlXcArHh1wMfTmyXArK9DQKy6Bds4G1jbUhfAyXNArZcOz9ukAMpRQK4XgK5RxUCuSp3cDZw4QK9GQK72nCWAzIRAr6IcgIDM3ECvhpzInNPAsPLAsMEc4J0SzVFdOADPKcDPJoDPb8CxXwCxkcCxhCJAshpUQLIRALJTwLJLgJknQLd0nh5YXiueSVL0AMYo2cCAmH0GfOVJHsLXpJeuxECz2sCz2wvS1PS8xOfAMatAs9zASnqA04SfksFAtwnAtuKAtJPA1JcA1NfAQEDVYyAiT8AyxbtYEWCHILTgs6DjQLaxwLZ3oQQhEmnPAOGpQAvA2QOhnFZ+QBVAt9lAt64c3cC4i/tFAHzMCcB9JsB8tKHAuvzAulweQLq+QLq5AD5RwG5Au6JAuuclqqXAwLuPwOF4Jh5cOBxoQLzAwBpA44WmZMC9xMDkW4DkocC95gC+dkC+GaaHJqruzebHgOdgwL++gEbADmfHJ+zAwWNA6ZqA6bZANHFAwZqoYiiBQkDDEkCwAA/AwDhQRdTARHzA2sHl2cFAJMtK7evvdsBiZkUfxEEOQH7KQUhDp0JnwCS/SlXxQL3AZ0AtwW5AG8LbUEuFCaNLgFDAYD8AbUmAHUDDgRtACwCFgyhAAAKAj0CagPdA34EkQEgRQUhfAoABQBEABMANhICdwEABdUDa+8KxQIA9wqfJ7+xt+UBkSFBQgHpFH8RNMCJAAQAGwBaAkUChIsABjpTOpSNbQC4Oo860ACNOME63AClAOgAywE6gTo7Ofw5+Tt2iTpbO56JOm85GAFWATMBbAUvNV01njWtNWY1dTW2NcU1gjWRNdI14TWeNa017jX9NbI1wTYCNhE1xjXVNhY2JzXeNe02LjY9Ni41LSE2OjY9Njw2yTcIBJA8VzY4Nt03IDcPNsogN4k3MAoEsDxnNiQ3GTdsOo03IULUQwdC4EMLHA8PCZsobShRVQYA6X8A6bABFCnXAukBowC9BbcAbwNzBL8MDAMMAQgDAAkKCwsLCQoGBAVVBI/DvwDz9b29kaUCb0QtsRTNLt4eGBcSHAMZFhYZEhYEARAEBUEcQRxBHEEcQRxBHEEaQRxBHEFCSTxBPElISUhBNkM2QTYbNklISVmBVIgBFLWZAu0BhQCjBcEAbykBvwGJAaQcEZ0ePCklMAAhMvAIMAL54gC7Bm8EescjzQMpARQpKgDUABavAj626xQAJP0A3etzuf4NNRA7efy2Z9NQrCnC0OSyANz5BBIbJ5IFDR6miIavYS6tprjjmuKebxm5C74Q225X1pkaYYPb6f1DK4k3xMEBb9S2WMjEibTNWhsRJIA+vwNVEiXTE5iXs/wezV66oFLfp9NZGYW+Gk19J2+bCT6Ye2w6LDYdgzKMUabk595eLBCXANz9HUpWbATq9vqXVx9XDg+Pc9Xp4+bsS005SVM/BJBM4687WUuf+Uj9dEi8aDNaPxtpbDxcG1THTImUMZq4UCaaNYpsVqraNyKLJXDYsFZ/5jl7bLRtO88t7P3xZaAxhb5OdPMXqsSkp1WCieG8jXm1U99+blvLlXzPCS+M93VnJCiK+09LfaSaBAVBomyDgJua8dfUzR7ga34IvR2Nvj+A9heJ6lsl1KG4NkI1032Cnff1m1wof2B9oHJK4bi6JkEdSqeNeiuo6QoZZincoc73/TH9SXF8sCE7XyuYyW8WSgbGFCjPV0ihLKhdPs08Tx82fYAkLLc4I2wdl4apY7GU5lHRFzRWJep7Ww3wbeA3qmd59/86P4xuNaqDpygXt6M85glSBHOCGgJDnt+pN9bK7HApMguX6+06RZNjzVmcZJ+wcUrJ9//bpRNxNuKpNl9uFds+S9tdx7LaM5ZkIrPj6nIU9mnbFtVbs9s/uLgl8MVczAwet+iOEzzBlYW7RCMgE6gyNLeq6+1tIx4dpgZnd0DksJS5f+JNDpwwcPNXaaVspq1fbQajOrJgK0ofKtJ1Ne90L6VO4MOl5S886p7u6xo7OLjG8TGL+HU1JXGJgppg4nNbNJ5nlzSpuPYy21JUEcUA94PoFiZfjZue+QnyQ80ekOuZVkxx4g+cvhJfHgNl4hy1/a6+RKcKlar/J29y//EztlbVPHVUeQ1zX86eQVAjR/M3dA9w4W8LfaXp4EgM85wOWasli837PzVMOnsLzR+k3o75/lRPAJSE1xAKQzEi5v10ke+VBvRt1cwQRMd+U5mLCTGVd6XiZtgBG5cDi0w22GKcVNvHiu5LQbZEDVtz0onn7k5+heuKXVsZtSzilkLRAUmjMXEMB3J9YC50XBxPiz53SC+EhnPl9WsKCv92SM/OFFIMJZYfl0WW8tIO3UxYcwdMAj7FSmgrsZ2aAZO03BOhP1bNNZItyXYQFTpC3SG1VuPDqH9GkiCDmE+JwxyIVSO5siDErAOpEXFgjy6PQtOVDj+s6e1r8heWVvmZnTciuf4EiNZzCAd7SOMhXERIOlsHIMG399i9aLTy3m2hRLZjJVDNLS53iGIK11dPqQt0zBDyg6qc7YqkDm2M5Ve6dCWCaCbTXX2rToaIgz6+zh4lYUi/+6nqcFMAkQJKHYLK0wYk5N9szV6xihDbDDFr45lN1K4aCXBq/FitPSud9gLt5ZVn+ZqGX7cwm2z5EGMgfFpIFyhGGuDPmso6TItTMwny+7uPnLCf4W6goFQFV0oQSsc9VfMmVLcLr6ZetDZbaSFTLqnSO/bIPjA3/zAUoqgGFAEQS4IhuMzEp2I3jJzbzkk/IEmyax+rhZTwd6f+CGtwPixu8IvzACquPWPREu9ZvGkUzpRwvRRuaNN6cr0W1wWits9ICdYJ7ltbgMiSL3sTPeufgNcVqMVWFkCPDH4jG2jA0XcVgQj62Cb29v9f/z/+2KbYvIv/zzjpQAPkliaVDzNrW57TZ/ZOyZD0nlfMmAIBIAGAI0D3k/mdN4xr9v85ZbZbbqfH2jGd5hUqNZWwl5SPfoGmfElmazUIeNL1j/mkF7VNAzTq4jNt8JoQ11NQOcmhprXoxSxfRGJ9LDEOAQ+dmxAQH90iti9e2u/MoeuaGcDTHoC+xsmEeWmxEKefQuIzHbpw5Tc5cEocboAD09oipWQhtTO1wivf/O+DRe2rpl/E9wlrzBorjJsOeG1B/XPW4EaJEFdNlECEZga5ZoGRHXgYouGRuVkm8tDESiEyFNo+3s5M5puSdTyUL2llnINVHEt91XUNW4ewdMgJ4boJfEyt/iY5WXqbA+A2Fkt5Z0lutiWhe9nZIyIUjyXDC3UsaG1t+eNx6z4W/OYoTB7A6x+dNSTOi9AInctbESqm5gvOLww7OWXPrmHwVZasrl4eD113pm+JtT7JVOvnCXqdzzdTRHgJ0PiGTFYW5Gvt9R9LD6Lzfs0v/TZZHSmyVNq7viIHE6DBK7Qp07Iz55EM8SYtQvZf/obBniTWi5C2/ovHfw4VndkE5XYdjOhCMRjDeOEfXeN/CwfGduiUIfsoFeUxXeQXba7c7972XNv8w+dTjjUM0QeNAReW+J014dKAD/McQYXT7c0GQPIkn3Ll6R7gGjuiQoZD0TEeEqQpKoZ15g/0OPQI17QiSv9AUROa/V/TQN3dvLArec3RrsYlvBm1b8LWzltdugsC50lNKYLEp2a+ZZYqPejULRlOJh5zj/LVMyTDvwKhMxxwuDkxJ1QpoNI0OTWLom4Z71SNzI9TV1iXJrIu9Wcnd+MCaAw8o1jSXd94YU/1gnkrC9BUEOtQvEIQ7g0i6h+KL2JKk8Ydl7HruvgWMSAmNe+LshGhV4qnWHhO9/RIPQzY1tHRj2VqOyNsDpK0cww+56AdDC4gsWwY0XxoucIWIqs/GcwnWqlaT0KPr8mbK5U94/301i1WLt4YINTVvCFBrFZbIbY8eycOdeJ2teD5IfPLCRg7jjcFTwlMFNl9zdh/o3E/hHPwj7BWg0MU09pPrBLbrCgm54A6H+I6v27+jL5gkjWg/iYdks9jbfVP5y/n0dlgWEMlKasl7JvFZd56LfybW1eeaVO0gxTfXZwD8G4SI116yx7UKVRgui6Ya1YpixqXeNLc8IxtAwCU5IhwQgn+NqHnRaDv61CxKhOq4pOX7M6pkA+Pmpd4j1vn6ACUALoLLc4vpXci8VidLxzm7qFBe7s+quuJs6ETYmnpgS3LwSZxPIltgBDXz8M1k/W2ySNv2f9/NPhxLGK2D21dkHeSGmenRT3Yqcdl0m/h3OYr8V+lXNYGf8aCCpd4bWjE4QIPj7vUKN4Nrfs7ML6Y2OyS830JCnofg/k7lpFpt4SqZc5HGg1HCOrHvOdC8bP6FGDbE/VV0mX4IakzbdS/op+Kt3G24/8QbBV7y86sGSQ/vZzU8FXs7u6jIvwchsEP2BpIhW3G8uWNwa3HmjfH/ZjhhCWvluAcF+nMf14ClKg5hGgtPLJ98ueNAkc5Hs2WZlk2QHvfreCK1CCGO6nMZVSb99VM/ajr8WHTte9JSmkXq/i/U943HEbdzW6Re/S88dKgg8pGOLlAeNiqrcLkUR3/aClFpMXcOUP3rmETcWSfMXZE3TUOi8i+fqRnTYLflVx/Vb/6GJ7eIRZUA6k3RYR3iFSK9c4iDdNwJuZL2FKz/IK5VimcNWEqdXjSoxSgmF0UPlDoUlNrPcM7ftmA8Y9gKiqKEHuWN+AZRIwtVSxye2Kf8rM3lhJ5XcBXU9n4v0Oy1RU2M+4qM8AQPVwse8ErNSob5oFPWxuqZnVzo1qB/IBxkM3EVUKFUUlO3e51259GgNcJbCmlvrdjtoTW7rChm1wyCKzpCTwozUUEOIcWLneRLgMXh+SjGSFkAllzbGS5HK7LlfCMRNRDSvbQPjcXaenNYxCvu2Qyznz6StuxVj66SgI0T8B6/sfHAJYZaZ78thjOSIFumNWLQbeZixDCCC+v0YBtkxiBB3jefHqZ/dFHU+crbj6OvS1x/JDD7vlm7zOVPwpUC01nhxZuY/63E7g");ai=new Map(Vs(t).flatMap(((t,e)=>t.map((t=>[t,e+1<<24]))))),ci=new Set(Ks(t)),ui=new Map,li=new Map;for(let[e,n]of Qs(t)){if(!ci.has(e)&&2==n.length){let[t,r]=n,s=li.get(t);s||(s=new Map,li.set(t,s)),s.set(r,e)}ui.set(e,n.reverse())}}();let e=[],n=[],r=!1;function s(t){let n=ai.get(t);n&&(r=!0,t|=n),e.push(t)}for(let r of t)for(;;){if(r<128)e.push(r);else if(hi(r)){let t=r-Xs,e=t%si/ri|0,n=t%ri;s(ti+(t/si|0)),s(ei+e),n>0&&s(ni+n)}else{let t=ui.get(r);t?n.push(...t):s(r)}if(!n.length)break;r=n.pop()}if(r&&e.length>1){let t=ii(e[0]);for(let n=1;n<e.length;n++){let r=ii(e[n]);if(0==r||t<=r){t=r;continue}let s=n-1;for(;;){let n=e[s+1];if(e[s+1]=e[s],e[s]=n,!s)break;if(t=ii(e[--s]),t<=r)break}t=ii(e[n])}}return e}function di(t){return pi(t).map(oi)}function gi(t){return function(t){let e=[],n=[],r=-1,s=0;for(let i of t){let t=ii(i),o=oi(i);if(-1==r)0==t?r=o:e.push(o);else if(s>0&&s>=t)0==t?(e.push(r,...n),n.length=0,r=o):n.push(o),s=t;else{let i=fi(r,o);i>=0?r=i:0==s&&0==t?(e.push(r),r=o):(n.push(o),s=t)}}return r>=0&&e.push(r,...n),e}(pi(t))}const yi=".",mi=t=>Array.from(t);function wi(t,e){return t.P.has(e)||t.Q.has(e)}class bi extends Array{get is_emoji(){return!0}}let Ai,vi,Ei,ki,Ti,Ni,xi,Si,Oi,Pi,Ri;function Ii(){if(Ai)return;let t=Gs("AEEUdwmgDS8BxQKKAP4BOgDjATAAngDUAIMAoABoAOAAagCOAEQAhABMAHIAOwA9ACsANgAmAGIAHgAuACgAJwAXAC0AGgAjAB8ALwAUACkAEgAeAAkAGwARABkAFgA5ACgALQArADcAFQApABAAHgAiABAAGgAeABMAGAUhBe8BFxREN8sF2wC5AK5HAW8ArQkDzQCuhzc3NzcBP68NEfMABQdHBuw5BV8FYAA9MzkI9r4ZBg7QyQAWA9CeOwLNCjcCjqkChuA/lm+RAsXTAoP6ASfnEQDytQFJAjWVCkeXAOsA6godAB/cwdAUE0WlBCN/AQUCQRjFD/MRBjHxDQSJbw0jBzUAswBxme+tnIcAYwabAysG8QAjAEMMmxcDqgPKQyDXCMMxA7kUQwD3NXOrAKmFIAAfBC0D3x4BJQDBGdUFAhEgVD8JnwmQJiNWYUzrg0oAGwAUAB0AFnNcACkAFgBP9h3gPfsDOWDKneY2ChglX1UDYD30ABsAFAAdABZzIGRAnwDD8wAjAEEMzRbDqgMB2sAFYwXqAtCnAsS4AwpUJKRtFHsadUz9AMMVbwLpABM1NJEX0ZkCgYMBEyMAxRVvAukAEzUBUFAtmUwSAy4DBTER33EftQHfSwB5MxJ/AjkWKQLzL8E/cwBB6QH9LQDPDtO9ASNriQC5DQANAwCK21EFI91zHwCoL9kBqQcHBwcHKzUDowBvAQohPvU3fAQgHwCyAc8CKQMA5zMSezr7ULgFmDp/LzVQBgEGAi8FYQVgt8AFcTtlQhpCWEmfe5tmZ6IAExsDzQ8t+X8rBKtTAltbAn0jsy8Bl6utPWMDTR8Ei2kRANkDBrNHNysDBzECQWUAcwFpJ3kAiyUhAJ0BUb8AL3EfAbfNAz81KUsFWwF3YQZtAm0A+VEfAzEJDQBRSQCzAQBlAHsAM70GD/v3IZWHBwARKQAxALsjTwHZAeMPEzmXgIHwABIAGQA8AEUAQDt3gdvIEGcQZAkGTRFMdEIVEwK0D64L7REdDNkq09PgADSxB/MDWwfzA1sDWwfzB/MDWwfzA1sDWwNbA1scEvAi28gQZw9QBHUFlgWTBN4IiyZREYkHMAjaVBV0JhxPA00BBCMtSSQ7mzMTJUpMFE0LCAQ2SmyvfUADTzGzVP2QqgPTMlc5dAkGHnkSqAAyD3skNb1OhnpPcagKU0+2tYdJak5vAsY6sEAACikJm2/Dd1YGRRAfJ6kQ+ww3AbkBPw3xS9wE9QY/BM0fgRkdD9GVoAipLeEM8SbnLqWAXiP5KocF8Uv4POELUVFsD10LaQnnOmeBUgMlAREijwrhDT0IcRD3Cs1vDekRSQc9A9lJngCpBwULFR05FbkmFGKwCw05ewb/GvoLkyazEy17AAXXGiUGUQEtGwMA0y7rhbRaNVwgT2MGBwspI8sUrFAkDSlAu3hMGh8HGSWtApVDdEqLUToelyH6PEENai4XUYAH+TwJGVMLhTyiRq9FEhHWPpE9TCJNTDAEOYMsMyePCdMPiQy9fHYBXQklCbUMdRM1ERs3yQg9Bx0xlygnGQglRplgngT7owP3E9UDDwVDCUUHFwO5HDETMhUtBRGBKNsC9zbZLrcCk1aEARsFzw8pH+MQVEfkDu0InwJpA4cl7wAxFSUAGyKfCEdnAGOP3FMJLs8Iy2pwI3gDaxTrZRF3B5UOWwerHDcVwxzlcMxeD4YMKKezCV8BeQmdAWME5wgNNV+MpCBFZ1eLXBifIGVBQ14AAjUMaRWjRMGHfAKPD28SHwE5AXcHPQ0FAnsR8RFvEJkI74YINbkz/DopBFMhhyAVCisDU2zSCysm/Qz8bQGnEmYDEDRBd/Jnr2C6KBgBBx0yyUFkIfULlk/RDKAaxRhGVDIZ6AfDA/ca9yfuQVsGAwOnBxc6UTPyBMELbQiPCUMATQ6nGwfbGG4KdYzUATWPAbudA1uVhwJzkwY7Bw8Aaw+LBX3pACECqwinAAkA0wNbAD0CsQehAB0AiUUBQQMrMwEl6QKTA5cINc8BmTMB9y0EH8cMGQD7O25OAsO1AoBuZqYF4VwCkgJNOQFRKQQJUktVA7N15QDfAE8GF+NLARmvTs8e50cB43MvAMsA/wAJOQcJRQHRAfdxALsBYws1Caa3uQFR7S0AhwAZbwHbAo0A4QA5AIP1AVcAUQVd/QXXAlNNARU1HC9bZQG/AyMBNwERAH0Gz5GpzQsjBHEH1wIQHxXlAu8yB7kFAyLjE9FCyQK94lkAMhoKPAqrCqpgX2Q3CjV2PVQAEh+sPss/UgVVO1c7XDtXO1w7VztcO1c7XDtXO1wDm8Pmw+YKcF9JYe8Mqg3YRMw6TRPfYFVgNhPMLbsUxRXSJVoZQRrAJwkl6FUNDwgt12Y0CDA0eRfAAEMpbINFY4oeNApPHOtTlVT8LR8AtUumM7MNsBsZREQFS3XxYi4WEgomAmSFAmJGX1GzAV83JAKh+wJonAJmDQKfiDgfDwJmPwJmKgRyBIMDfxcDfpY5Cjl7GzmGOicnAmwhAjI6OA4CbcsCbbLzjgM3a0kvAWsA4gDlAE4JB5wMkQECD8YAEbkCdzMCdqZDAnlPRwJ4viFg30WyRvcCfEMCeswCfQ0CfPRIBEiBZygALxlJXEpfGRtK0ALRBQLQ0EsrA4hTA4fqRMmRNgLypV0HAwOyS9JMMSkH001QTbMCi0MCitzFHwshR2sJuwKOOwKOYESbhQKO3QKOYHxRuFM5AQ5S2FSJApP/ApMQAO0AIFUiVbNV1AosHymZijLleGpFPz0Cl6MC77ZYJawAXSkClpMCloCgAK1ZsFoNhVEAPwKWuQKWUlxIXNUCmc8CmWhczl0LHQKcnznGOqECnBoCn58CnryOACETNS4TAp31Ap6WALlBYThh8wKe1wKgcgGtAp6jIwKeUqljzGQrKS8CJ7MCJoICoP8CoFDbAqYzAqXSAqgDAIECp/ZogGi1AAdNaiBq1QKs5wKssgKtawKtBgJXIQJV4AKx5dsDH1JsmwKywRECsuwbbORtZ21MYwMl0QK2YD9DbpQDKUkCuGICuUsZArkue3A6cOUCvR0DLbYDMhUCvoxyBgMzdQK+HnMmc1MCw88CwwhzhnRPOUl05AM8qwEDPJ4DPcMCxYACxksCxhSNAshtVQLISALJUwLJMgJkoQLd1nh9ZXiyeSlL1AMYp2cGAmH4GfeVKHsPXpZevxUCz28Cz3AzT1fW9xejAMqxAs93AS3uA04Wfk8JAtwrAtuOAtJTA1JgA1NjAQUDVZCAjUMEzxrxZEl5A4LSg5EC2ssC2eKEFIRNp0ADhqkAMwNkEoZ1Xf0AWQLfaQLevHd7AuIz7RgB8zQrAfSfAfLWiwLr9wLpdH0DAur9AuroAP1LAb0C7o0C66CWrpcHAu5DA4XkmH1w5HGlAvMHAG0DjhqZlwL3FwORcgOSiwL3nAL53QL4apogmq+/O5siA52HAv7+AR8APZ8gAZ+3AwWRA6ZuA6bdANXJAwZuoYyiCQ0DDE0BEwEjB3EGZb1rCQC/BG/DFY8etxEAG3k9ACcDNxJRA42DAWcrJQCM8wAlAOanC6OVCLsGI6fJBgCvBRnDBvElRUYFFoAFcD9GSDNCKUK8X3kZX8QAls0FOgCQVCGbwTsuYDoZutcONxjOGJHJ/gVfBWAFXwVgBWsFYAVfBWAFXwVgBV8FYAVfBWBOHQjfjW8KCgoKbF7xMwTRA7kGN8PDAMMEr8MA70gxFroFTj5xPnhCR0K+X30/X/AAWBkzswCNBsxzzASm70aCRS4rDDMeLz49fnXfcsH5GcoscQFz13Y4HwVnBXLJycnACNdRYwgICAqEXoWTxgA7P4kACxbZBu21Kw0AjMsTAwkVAOVtJUUsJ1JCuULESUArXy9gPi9AKwnJRQYKTD9LPoA+iT54PnkCkULEUUpDX9NWV3JVEjQAc1w3A3IBE3YnX+g7QiMJb6MKaiszRCUuQrNCxDPMCcwEX9EWJzYREBEEBwIHKn6l33JCNVIfybPJtAltydPUCmhBZw/tEKsZAJOVJU1CLRuxbUHOQAo7P0s+eEJHHA8SJVRPdGM0NVrpvBoKhfUlM0JHHGUQUhEWO1xLSj8MO0ucNAqJIzVCRxv9EFsqKyA4OQgNj2nwZgp5ZNFgE2A1K3YHS2AhQQojJmC7DgpzGG1WYFUZCQYHZO9gHWCdYIVgu2BTYJlwFh8GvRbcXbG8YgtDHrMBwzPVyQonHQgkCyYBgQJ0Ajc4nVqIAwGSCsBPIgDsK3SWEtIVBa5N8gGjAo+kVwVIZwD/AEUSCDweX4ITrRQsJ8K3TwBXFDwEAB0TvzVcAtoTS20RIwDgVgZ9BBImYgA5AL4Coi8LFnezOkCnIQFjAY4KBAPh9RcGsgZSBsEAJctdsWIRu2kTkQstRw7DAcMBKgpPBGIGMDAwKCYnKTQaLg4AKRSVAFwCdl+YUZ0JdicFD3lPAdt1F9ZZKCGxuE3yBxkFVGcA/wBFEgiCBwAOLHQSjxOtQDg1z7deFRMAZ8QTAGtKb1ApIiPHADkAvgKiLy1DFtYCmBiDAlDDWNB0eo7fpaMO/aEVRRv0ATEQZBIODyMEAc8JQhCbDRgzFD4TAEMAu9YBCgCsAOkAm5I3ABwAYxvONnR+MhXJAxgKQyxL2+kkJhMbhQKDBMkSsvF0AD9BNQ6uQC7WqSQHwxEAEEIu1hkhAH2z4iQPwyJPHNWpdyYBRSpnJALzoBAEVPPsH20MxA0CCEQKRgAFyAtFAlMNwwjEDUQJRArELtapMg7DDZgJIw+TGukEIwvDFkMAqAtDEMMMBhioe+QAO3MMRAACrgnEBSPY9Q0FDnbSBoMAB8MSYxkSxAEJAPIJAAB8FWMOFtMc/HcXwxhDAC7DAvOowwAewwJdKDKHAAHDAALrFUQVwwAbwyvzpWMWv8wA/ABpAy++bcYDUKPD0KhDCwKmJ1MAAmMA5+UZwxAagwipBRL/eADfw6fDGOMCGsOjk3l6BwOpo4sAEsMOGxMAA5sAbcMOAAvDp0MJGkMDwgipnNIPAwfIqUMGAOGDAAPzABXDAAcDAAnDAGmTABrDAA7DChjDjnEWAwABYwAOcwAuUyYABsMAF8MIKQANUgC6wy4AA8MADqMq8wCyYgAcIwAB8wqpAAXOCx0V4wAHowBCwwEKAGnDAAuDAB3DAAjDCakABdIAbqcZ3QCZCCkABdIAAAFDAAfjAB2jCCkABqIACYMAGzMAbSMA5sOIAAhjAAhDABTDBAkpAAbSAOOTAAlDC6kOzPtnAAdDAG6kQFAATwAKwwwAA0MACbUDPwAHIwAZgwACE6cDAAojAApDAAoDp/MGwwAJIwADEwAQQwgAFEMAEXMAD5MADfMADcMAGRMOFiMAFUMAbqMWuwHDAMIAE0MLAGkzEgDhUwACQwAEWgAXgwUjAAbYABjDBSYBgzBaAEFNALcQBxUMegAwMngBrA0IZgJ0KxQHBREPd1N0ZzKRJwaIHAZqNT4DqQq8BwngAB4DAwt2AX56T1ocKQNXAh1GATQGC3tOxYNagkgAMQA5CQADAQEAWxLjAIOYNAEzAH7tFRk6TglSAF8NAAlYAQ+S1ACAQwQorQBiAN4dAJ1wPyeTANVzuQDX3AIeEMp9eyMgXiUAEdkBkJizKltbVVAaRMqRAAEAhyQ/SDEz6BmfVwB6ATEsOClKIRcDOF0E/832AFNt5AByAnkCRxGCOs94NjXdAwINGBonDBwPALW2AwICAgAAAAAAAAYDBQMDARrUAwAtAAAAAgEGBgYGBgYFBQUFBQUEBQYHCAkEBQUFBQQAAAICAAAAIgCNAJAAlT0A6gC7ANwApEQAwgCyAK0AqADuAKYA2gCjAOcBCAEDAMcAgQBiANIA1AEDAN4A8gCQAKkBMQDqAN8A3AsBCQ8yO9ra2tq8xuLT1tRJOB0BUgFcNU0BWgFpAWgBWwFMUUlLbhMBUxsNEAs6PhMOACcUKy0vMj5AQENDQ0RFFEYGJFdXV1dZWVhZL1pbXVxcI2NnZ2ZoZypsbnZ1eHh4eHh4enp6enp6enp6enp8fH18e2IARPIASQCaAHgAMgBm+ACOAFcAVwA3AnbvAIsABfj4AGQAk/IAnwBPAGIAZP//sACFAIUAaQBWALEAJAC2AIMCQAJDAPwA5wD+AP4A6AD/AOkA6QDoAOYALwJ7AVEBQAE+AVQBPgE+AT4BOQE4ATgBOAEcAVgXADEQCAEAUx8SHgsdHhYAjgCWAKYAUQBqIAIxAHYAbwCXAxUDJzIDIUlGTzEAkQJPAMcCVwKkAMAClgKWApYClgKWApYCiwKWApYClgKWApYClgKVApUCmAKgApcClgKWApQClAKUApQCkgKVAnUB1AKXAp8ClgKWApUeAIETBQD+DQOfAmECOh8BVBg9AuIZEjMbAU4/G1WZAXusRAFpYQEFA0FPAQYAmTEeIJdyADFoAHEANgCRA5zMk/C2jGINwjMWygIZCaXdfDILBCs5dAE7YnQBugDlhoiHhoiGiYqKhouOjIaNkI6Ij4qQipGGkoaThpSSlYaWhpeKmIaZhpqGm4aci52QnoqfhuIC4XTpAt90AIp0LHSoAIsAdHQEQwRABEIERQRDBEkERgRBBEcESQRIBEQERgRJAJ5udACrA490ALxuAQ10ANFZdHQA13QCFHQA/mJ0AP4BIQD+APwA/AD9APwDhGZ03ASMK23HAP4A/AD8AP0A/CR0dACRYnQA/gCRASEA/gCRAvQA/gCRA4RmdNwEjCttxyR0AP9idAEhAP4A/gD8APwA/QD8AP8A/AD8AP0A/AOEZnTcBIwrbcckdHQAkWJ0ASEA/gCRAP4AkQL0AP4AkQOEZnTcBIwrbcckdAJLAT50AlIBQXQCU8l0dAJfdHQDpgL0A6YDpgOnA6cDpwOnA4RmdNwEjCttxyR0dACRYnQBIQOmAJEDpgCRAvQDpgCRA4RmdNwEjCttxyR0BDh0AJEEOQCRDpU5dSgCADR03gV2CwArdAEFAM5iCnR0AF1iAAYcOgp0dACRCnQAXAEIwWZ0CnRmdHQAkWZ0CnRmdEXgAFF03gp0dEY0tlT2u3SOAQTwscwhjZZKrhYcBSfFp9XNbKiVDOD2b+cpe4/Z17mQnbtzzhaeQtE2GGj0IDNTjRUSyTxxw/RPHW/+vS7d1NfRt9z9QPZg4X7QFfhCnkvgNPIItOsC2eV6hPannZNHlZ9xrwZXIMOlu3jSoQSq78WEjwLjw1ELSlF1aBvfzwk5ZX7AUvQzjPQKbDuQ+sm4wNOp4A6AdVuRS0t1y/DZpg4R6m7FNjM9HgvW7Bi88zaMjOo6lM8wtBBdj8LP4ylv3zCXPhebMKJc066o9sF71oFW/8JXu86HJbwDID5lzw5GWLR/LhT0Qqnp2JQxNZNfcbLIzPy+YypqRm/lBmGmex+82+PisxUumSeJkALIT6rJezxMH+CTJmQtt5uwTVbL3ptmjDUQzlSIvWi8Tl7ng1NpuRn1Ng4n14Qc+3Iil7OwkvNWogLSPkn3pihIFytyIGmMhOe3n1tWsuMy9BdKyqF4Z3v2SgggTL9KVvMXPnCbRe+oOuFFP3HejBG/w9gvmfNYvg6JuWia2lcSSN1uIjBktzoIazOHPJZ7kKHPz8mRWVdW3lA8WGF9dQF6Bm673boov3BUWDU2JNcahR23GtfHKLOz/viZ+rYnZFaIznXO67CYEJ1fXuTRpZhYZkKe54xeoagkNGLs+NTZHE0rX45/XvQ2RGADX6vcAvdxIUBV27wxGm2zjZo4X3ILgAlrOFheuZ6wtsvaIj4yLY7qqawlliaIcrz2G+c3vscAnCkCuMzMmZvMfu9lLwTvfX+3cVSyPdN9ZwgDZhfjRgNJcLiJ67b9xx8JHswprbiE3v9UphotAPIgnXVIN5KmMc0piXhc6cChPnN+MRhG9adtdttQTTwSIpl8I4/j//d3sz1326qTBTpPRM/Hgh3kzqEXs8ZAk4ErQhNO8hzrQ0DLkWMA/N+91tn2MdOJnWC2FCZehkQrwzwbKOjhvZsbM95QoeL9skYyMf4srVPVJSgg7pOLUtr/n9eT99oe9nLtFRpjA9okV2Kj8h9k5HaC0oivRD8VyXkJ81tcd4fHNXPCfloIQasxsuO18/46dR2jgul/UIet2G0kRvnyONMKhHs6J26FEoqSqd+rfYjeEGwHWVDpX1fh1jBBcKGMqRepju9Y00mDVHC+Xdij/j44rKfvfjGinNs1jO/0F3jB83XCDINN/HB84axlP+3E/klktRo+vl3U/aiyMJbIodE1XSsDn6UAzIoMtUObY2+k/4gY/l+AkZJ5Sj2vQrkyLm3FoxjhDX+31UXBFf9XrAH31fFqoBmDEZvhvvpnZ87N+oZEu7U9O/nnk+QWj3x8uyoRbEnf+O5UMr9i0nHP38IF5AvzrBW8YWBUR0mIAzIvndQq9N3v/Jto3aPjPXUPl8ASdPPyAp7jENf8bk7VMM9ol9XGmlBmeDMuGqt+WzuL6CXAxXjIhCPM5vACchgMJ/8XBGLO/D1isVvGhwwHHr1DLaI5mn2Jr/b1pUD90uciDaS8cXNDzCWvNmT/PhQe5e8nTnnnkt8Ds/SIjibcum/fqDhKopxAY8AkSrPn+IGDEKOO+U3XOP6djFs2H5N9+orhOahiQk5KnEUWa+CzkVzhp8bMHRbg81qhjjXuIKbHjSLSIBKWqockGtKinY+z4/RdBUF6pcc3JmnlxVcNgrI4SEzKUZSwcD2QCyxzKve+gAmg6ZuSRkpPFa6mfThu7LJNu3H5K42uCpNvPAsoedolKV/LHe/eJ+BbaG5MG0NaSGVPRUmNFMFFSSpXEcXwbVh7UETOZZtoVNRGOIbbkig3McEtR68cG0RZAoJevWYo7Dg/lZ1CQzblWeUvVHmr8fY4Nqd9JJiH/zEX24mJviH60fAyFr0A3c4bC1j3yZU60VgJxXn8JgJXLUIsiBnmKmMYz+7yBQFBvqb2eYnuW59joZBf56/wXvWIR4R8wTmV80i1mZy+S4+BUES+hzjk0uXpC///z/IlqHZ1monzlXp8aCfhGKMti73FI1KbL1q6IKO4fuBuZ59gagjn5xU79muMpHXg6S+e+gDM/U9BKLHbl9l6o8czQKl4RUkJJiqftQG2i3BMg/TQlUYFkJDYBOOvAugYuzYSDnZbDDd/aSd9x0Oe6F+bJcHfl9+gp6L5/TgA+BdFFovbfCrQ40s5vMPw8866pNX8zyFGeFWdxIpPVp9Rg1UPOVFbFZrvaFq/YAzHQgqMWpahMYfqHpmwXfHL1/kpYmGuHFwT55mQu0dylfNuq2Oq0hTMCPwqfxnuBIPLXfci4Y1ANy+1CUipQxld/izVh16WyG2Q0CQQ9NqtAnx1HCHwDj7sYxOSB0wopZSnOzxQOcExmxrVTF2BkOthVpGfuhaGECfCJpJKpjnihY+xOT2QJxN61+9K6QSqtv2Shr82I3jgJrqBg0wELFZPjvHpvzTtaJnLK6Vb97Yn933koO/saN7fsjwNKzp4l2lJVx2orjCGzC/4ZL4zCver6aQYtC5sdoychuFE6ufOiog+VWi5UDkbmvmtah/3aArEBIi39s5ILUnlFLgilcGuz9CQshEY7fw2ouoILAYPVT/gyAIq3TFAIwVsl+ktkRz/qGfnCDGrm5gsl/l9QdvCWGsjPz3dU7XuqKfdUrr/6XIgjp4rey6AJBmCmUJMjITHVdFb5m1p+dLMCL8t55zD42cmftmLEJC0Da04YiRCVUBLLa8D071/N5UBNBXDh0LFsmhV/5B5ExOB4j3WVG/S3lfK5o+V6ELHvy6RR9n4ac+VsK4VE4yphPvV+kG9FegTBH4ZRXL2HytUHCduJazB/KykjfetYxOXTLws267aGOd+I+JhKP//+VnXmS90OD/jvLcVu0asyqcuYN1mSb6XTlCkqv1vigZPIYwNF/zpWcT1GR/6aEIRjkh0yhg4LXJfaGobYJTY4JI58KiAKgmmgAKWdl5nYCeLqavRJGQNuYuZtZFGx+IkI4w4NS2xwbetNMunOjBu/hmKCI/w7tfiiyUd//4rbTeWt4izBY8YvGIN6vyKYmP/8X8wHKCeN+WRcKM70+tXKNGyevU9H2Dg5BsljnTf8YbsJ1TmMs74Ce2XlHisleguhyeg44rQOHZuw/6HTkhnnurK2d62q6yS7210SsAIaR+jXMQA+svkrLpsUY+F30Uw89uOdGAR6vo4FIME0EfVVeHTu6eKicfhSqOeXJhbftcd08sWEnNUL1C9fnprTgd83IMut8onVUF0hvqzZfHduPjbjwEXIcoYmy+P6tcJZHmeOv6VrvEdkHDJecjHuHeWANe79VG662qTjA/HCvumVv3qL+LrOcpqGps2ZGwQdFJ7PU4iuyRlBrwfO+xnPyr47s2cXVbWzAyznDiBGjCM3ksxjjqM62GE9C8f5U38kB3VjtabKp/nRdvMESPGDG90bWRLAt1Qk5DyLuazRR1YzdC1c+hZXvAWV8xA72S4A8B67vjVhbba3MMop293FeEXpe7zItMWrJG/LOH9ByOXmYnNJfjmfuX9KbrpgLOba4nZ+fl8Gbdv/ihv+6wFGKHCYrVwmhFC0J3V2bn2tIB1wCc1CST3d3X2OyxhguXcs4sm679UngzofuSeBewMFJboIQHbUh/m2JhW2hG9DIvG2t7yZIzKBTz9wBtnNC+2pCRYhSIuQ1j8xsz5VvqnyUIthvuoyyu7fNIrg/KQUVmGQaqkqZk/Vx5b33/gsEs8yX7SC1J+NV4icz6bvIE7C5G6McBaI8rVg56q5QBJWxn/87Q1sPK4+sQa8fLU5gXo4paaq4cOcQ4wR0VBHPGjKh+UlPCbA1nLXyEUX45qZ8J7/Ln4FPJE2TdzD0Z8MLSNQiykMMmSyOCiFfy84Rq60emYB2vD09KjYwsoIpeDcBDTElBbXxND72yhd9pC/1CMid/5HUMvAL27OtcIJDzNKpRPNqPOpyt2aPGz9QWIs9hQ9LiX5s8m9hjTUu/f7MyIatjjd+tSfQ3ufZxPpmJhTaBtZtKLUcfOCUqADuO+QoH8B9v6U+P0HV1GLQmtoNFTb3s74ivZgjES0qfK+8RdGgBbcCMSy8eBvh98+et1KIFqSe1KQPyXULBMTsIYnysIwiZBJYdI20vseV+wuJkcqGemehKjaAb9L57xZm3g2zX0bZ2xk/fU+bCo7TlnbW7JuF1YdURo/2Gw7VclDG1W7LOtas2LX4upifZ/23rzpsnY/ALfRgrcWP5hYmV9VxVOQA1fZvp9F2UNU+7d7xRyVm5wiLp3/0dlV7vdw1PMiZrbDAYzIVqEjRY2YU03sJhPnlwIPcZUG5ltL6S8XCxU1eYS5cjr34veBmXAvy7yN4ZjArIG0dfD/5UpBNlX1ZPoxJOwyqRi3wQWtOzd4oNKh0LkoTm8cwqgIfKhqqGOhwo71I+zXnMemTv2B2AUzABWyFztGgGULjDDzWYwJUVBTjKCn5K2QGMK1CQT7SzziOjo+BhAmqBjzuc3xYym2eedGeOIRJVyTwDw37iCMe4g5Vbnsb5ZBdxOAnMT7HU4DHpxWGuQ7GeiY30Cpbvzss55+5Km1YsbD5ea3NI9QNYIXol5apgSu9dZ8f8xS5dtHpido5BclDuLWY4lhik0tbJa07yJhH0BOyEut/GRbYTS6RfiTYWGMCkNpfSHi7HvdiTglEVHKZXaVhezH4kkXiIvKopYAlPusftpE4a5IZwvw1x/eLvoDIh/zpo9FiQInsTb2SAkKHV42XYBjpJDg4374XiVb3ws4qM0s9eSQ5HzsMU4OZJKuopFjBM+dAZEl8RUMx5uU2N486Kr141tVsGQfGjORYMCJAMsxELeNT4RmWjRcpdTGBwcx6XN9drWqPmJzcrGrH4+DRc7+n1w3kPZwu0BkNr6hQrqgo7JTB9A5kdJ/H7P4cWBMwsmuixAzJB3yrQpnGIq90lxAXLzDCdn1LPibsRt7rHNjgQBklRgPZ8vTbjXdgXrTWQsK5MdrXXQVPp0Rinq3frzZKJ0qD6Qhc40VzAraUXlob1gvkhK3vpmHgI6FRlQZNx6eRqkp0zy4AQlX813fAPtL3jMRaitGFFjo0zmErloC+h+YYdVQ6k4F/epxAoF0BmqEoKNTt6j4vQZNQ2BoqF9Vj53TOIoNmDiu9Xp15RkIgQIGcoLpfoIbenzpGUAtqFJp5W+LLnx38jHeECTJ/navKY1NWfN0sY1T8/pB8kIH3DU3DX+u6W3YwpypBMYOhbSxGjq84RZ84fWJow8pyHqn4S/9J15EcCMsXqrfwyd9mhiu3+rEo9pPpoJkdZqHjra4NvzFwuThNKy6hao/SlLw3ZADUcUp3w3SRVfW2rhl80zOgTYnKE0Hs2qp1J6H3xqPqIkvUDRMFDYyRbsFI3M9MEyovPk8rlw7/0a81cDVLmBsR2ze2pBuKb23fbeZC0uXoIvDppfTwIDxk1Oq2dGesGc+oJXWJLGkOha3CX+DUnzgAp9HGH9RsPZN63Hn4RMA5eSVhPHO+9RcRb/IOgtW31V1Q5IPGtoxPjC+MEJbVlIMYADd9aHYWUIQKopuPOHmoqSkubnAKnzgKHqgIOfW5RdAgotN6BN+O2ZYHkuemLnvQ8U9THVrS1RtLmKbcC7PeeDsYznvqzeg6VCNwmr0Yyx1wnLjyT84BZz3EJyCptD3yeueAyDWIs0L2qs/VQ3HUyqfrja0V1LdDzqAikeWuV4sc7RLIB69jEIBjCkyZedoUHqCrOvShVzyd73OdrJW0hPOuQv2qOoHDc9xVb6Yu6uq3Xqp2ZaH46A7lzevbxQEmfrzvAYSJuZ4WDk1Hz3QX1LVdiUK0EvlAGAYlG3Md30r7dcPN63yqBCIj25prpvZP0nI4+EgWoFG95V596CurXpKRBGRjQlHCvy5Ib/iW8nZJWwrET3mgd6mEhfP4KCuaLjopWs7h+MdXFdIv8dHQJgg1xi1eYqB0uDYjxwVmri0Sv5XKut/onqapC+FQiC2C1lvYJ9MVco6yDYsS3AANUfMtvtbYI2hfwZatiSsnoUeMZd34GVjkMMKA+XnjJpXgRW2SHTZplVowPmJsvXy6w3cfO1AK2dvtZEKTkC/TY9LFiKHCG0DnrMQdGm2lzlBHM9iEYynH2UcVMhUEjsc0oDBTgo2ZSQ1gzkAHeWeBXYFjYLuuf8yzTCy7/RFR81WDjXMbq2BOH5dURnxo6oivmxL3cKzKInlZkD31nvpHB9Kk7GfcfE1t+1V64b9LtgeJGlpRFxQCAqWJ5DoY77ski8gsOEOr2uywZaoO/NGa0X0y1pNQHBi3b2SUGNpcZxDT7rLbBf1FSnQ8guxGW3W+36BW0gBje4DOz6Ba6SVk0xiKgt+q2JOFyr4SYfnu+Ic1QZYIuwHBrgzr6UvOcSCzPTOo7D6IC4ISeS7zkl4h+2VoeHpnG/uWR3+ysNgPcOIXQbv0n4mr3BwQcdKJxgPSeyuP/z1Jjg4e9nUvoXegqQVIE30EHx5GHv+FAVUNTowYDJgyFhf5IvlYmEqRif6+WN1MkEJmDcQITx9FX23a4mxy1AQRsOHO/+eImX9l8EMJI3oPWzVXxSOeHU1dUWYr2uAA7AMb+vAEZSbU3qob9ibCyXeypEMpZ6863o6QPqlqGHZkuWABSTVNd4cOh9hv3qEpSx2Zy/DJMP6cItEmiBJ5PFqQnDEIt3NrA3COlOSgz43D7gpNFNJ5MBh4oFzhDPiglC2ypsNU4ISywY2erkyb1NC3Qh/IfWj0eDgZI4/ln8WPfBsT3meTjq1Uqt1E7Zl/qftqkx6aM9KueMCekSnMrcHj1CqTWWzEzPsZGcDe3Ue4Ws+XFYVxNbOFF8ezkvQGR6ZOtOLU2lQEnMBStx47vE6Pb7AYMBRj2OOfZXfisjJnpTfSNjo6sZ6qSvNxZNmDeS7Gk3yYyCk1HtKN2UnhMIjOXUzAqDv90lx9O/q/AT1ZMnit5XQe9wmQxnE/WSH0CqZ9/2Hy+Sfmpeg8RwsHI5Z8kC8H293m/LHVVM/BA7HaTJYg5Enk7M/xWpq0192ACfBai2LA/qrCjCr6Dh1BIMzMXINBmX96MJ5Hn2nxln/RXPFhwHxUmSV0EV2V0jm86/dxxuYSU1W7sVkEbN9EzkG0QFwPhyHKyb3t+Fj5WoUUTErcazE/N6EW6Lvp0d//SDPj7EV9UdJN+Amnf3Wwk3A0SlJ9Z00yvXZ7n3z70G47Hfsow8Wq1JXcfwnA+Yxa5mFsgV464KKP4T31wqIgzFPd3eCe3j5ory5fBF2hgCFyVFrLzI9eetNXvM7oQqyFgDo4CTp/hDV9NMX9JDHQ/nyHTLvZLNLF6ftn2OxjGm8+PqOwhxnPHWipkE/8wbtyri80Sr7pMNkQGMfo4ZYK9OcCC4ESVFFbLMIvlxSoRqWie0wxqnLfcLSXMSpMMQEJYDVObYsXIQNv4TGNwjq1kvT1UOkicTrG3IaBZ3XdScS3u8sgeZPVpOLkbiF940FjbCeNRINNvDbd01EPBrTCPpm12m43ze1bBB59Ia6Ovhnur/Nvx3IxwSWol+3H2qfCJR8df6aQf4v6WiONxkK+IqT4pKQrZK/LplgDI/PJZbOep8dtbV7oCr6CgfpWa8NczOkPx81iSHbsNhVSJBOtrLIMrL31LK9TqHqAbAHe0RLmmV806kRLDLNEhUEJfm9u0sxpkL93Zgd6rw+tqBfTMi59xqXHLXSHwSbSBl0EK0+loECOPtrl+/nsaFe197di4yUgoe4jKoAJDXc6DGDjrQOoFDWZJ9HXwt8xDrQP+7aRwWKWI1GF8s8O4KzxWBBcwnl3vnl1Oez3oh6Ea1vjR7/z7DDTrFtqU2W/KAEzAuXDNZ7MY73MF216dzdSbWmUp4lcm7keJfWaMHgut9x5C9mj66Z0lJ+yhsjVvyiWrfk1lzPOTdhG15Y7gQlXtacvI7qv/XNSscDwqkgwHT/gUsD5yB7LdRRvJxQGYINn9hTpodKFVSTPrtGvyQw+HlRFXIkodErAGu9Iy1YpfSPc3jkFh5CX3lPxv7aqjE/JAfTIpEjGb/H7MO0e2vsViSW1qa/Lmi4/n4DEI3g7lYrcanspDfEpKkdV1OjSLOy0BCUqVoECaB55vs06rXl4jqmLsPsFM/7vYJ0vrBhDCm/00A/H81l1uekJ/6Lml3Hb9+NKiLqATJmDpyzfYZFHumEjC662L0Bwkxi7E9U4cQA0XMVDuMYAIeLMPgQaMVOd8fmt5SflFIfuBoszeAw7ow5gXPE2Y/yBc/7jExARUf/BxIHQBF5Sn3i61w4z5xJdCyO1F1X3+3ax+JSvMeZ7S6QSKp1Fp/sjYz6Z+VgCZzibGeEoujryfMulH7Rai5kAft9ebcW50DyJr2uo2z97mTWIu45YsSnNSMrrNUuG1XsYBtD9TDYzQffKB87vWbkM4EbPAFgoBV4GQS+vtFDUqOFAoi1nTtmIOvg38N4hT2Sn8r8clmBCXspBlMBYTnrqFJGBT3wZOzAyJDre9dHH7+x7qaaKDOB4UQALD5ecS0DE4obubQEiuJZ0EpBVpLuYcce8Aa4PYd/V4DLDAJBYKQPCWTcrEaZ5HYbJi11Gd6hjGom1ii18VHYnG28NKpkz2UKVPxlhYSp8uZr367iOmoy7zsxehW9wzcy2zG0a80PBMCRQMb32hnaHeOR8fnNDzZhaNYhkOdDsBUZ3loDMa1YP0uS0cjUP3b/6DBlqmZOeNABDsLl5BI5QJups8uxAuWJdkUB/pO6Zax6tsg7fN5mjjDgMGngO+DPcKqiHIDbFIGudxtPTIyDi9SFMKBDcfdGQRv41q1AqmxgkVfJMnP8w/Bc7N9/TR6C7mGObFqFkIEom8sKi2xYqJLTCHK7cxzaZvqODo22c3wisBCP4HeAgcRbNPAsBkNRhSmD48dHupdBRw4mIvtS5oeF6zeT1KMCyhMnmhpkFAGWnGscoNkwvQ8ZM5lE/vgTHFYL99OuNxdFBxTEDd5v2qLR8y9WkXsWgG6kZNndFG+pO/UAkOCipqIhL3hq7cRSdrCq7YhUsTocEcnaFa6nVkhnSeRYUA1YO0z5itF9Sly3VlxYDw239TJJH6f3EUfYO5lb7bcFcz8Bp7Oo8QmnsUHOz/fagVUBtKEw1iT88j+aKkv8cscKNkMxjYr8344D1kFoZ7/td1W6LCNYN594301tUGRmFjAzeRg5vyoM1F6+bJZ/Q54jN/k8SFd3DxPTYaAUsivsBfgTn7Mx8H2SpPt4GOdYRnEJOH6jHM2p6SgB0gzIRq6fHxGMmSmqaPCmlfwxiuloaVIitLGN8wie2CDWhkzLoCJcODh7KIOAqbHEvXdUxaS4TTTs07Clzj/6GmVs9kiZDerMxEnhUB6QQPlcfqkG9882RqHoLiHGBoHfQuXIsAG8GTAtao2KVwRnvvam8jo1e312GQAKWEa4sUVEAMG4G6ckcONDwRcg1e2D3+ohXgY4UAWF8wHKQMrSnzCgfFpsxh+aHXMGtPQroQasRY4U6UdG0rz1Vjbka0MekOGRZQEvqQFlxseFor8zWFgHek3v29+WqN6gaK5gZOTOMZzpQIC1201LkMCXild3vWXSc5UX9xcFYfbRPzGFa1FDcPfPB/jUEq/FeGt419CI3YmBlVoHsa4KdcwQP5ZSwHHhFJ7/Ph/Rap/4vmG91eDwPP0lDfCDRCLszTqfzM71xpmiKi2HwS4WlqvGNwtvwF5Dqpn6KTq8ax00UMPkxDcZrEEEsIvHiUXXEphdb4GB4FymlPwBz4Gperqq5pW7TQ6/yNRhW8VT5NhuP0udlxo4gILq5ZxAZk8ZGh3g4CqxJlPKY7AQxupfUcVpWT5VItp1+30UqoyP4wWsRo3olRRgkWZZ2ZN6VC3OZFeXB8NbnUrSdikNptD1QiGuKkr8EmSR/AK9Rw+FF3s5uwuPbvHGiPeFOViltMK7AUaOsq9+x9cndk3iJEE5LKZRlWJbKOZweROzmPNVPkjE3K/TyA57Rs68TkZ3MR8akKpm7cFjnjPd/DdkWjgYoKHSr5Wu5ssoBYU4acRs5g2DHxUmdq8VXOXRbunD8QN0LhgkssgahcdoYsNvuXGUK/KXD/7oFb+VGdhqIn02veuM5bLudJOc2Ky0GMaG4W/xWBxIJcL7yliJOXOpx0AkBqUgzlDczmLT4iILXDxxtRR1oZa2JWFgiAb43obrJnG/TZC2KSK2wqOzRZTXavZZFMb1f3bXvVaNaK828w9TO610gk8JNf3gMfETzXXsbcvRGCG9JWQZ6+cDPqc4466Yo2RcKH+PILeKOqtnlbInR3MmBeGG3FH10yzkybuqEC2HSQwpA0An7d9+73BkDUTm30bZmoP/RGbgFN+GrCOfADgqr0WbI1a1okpFms8iHYw9hm0zUvlEMivBRxModrbJJ+9/p3jUdQQ9BCtQdxnOGrT5dzRUmw0593/mbRSdBg0nRvRZM5/E16m7ZHmDEtWhwvfdZCZ8J8M12W0yRMszXamWfQTwIZ4ayYktrnscQuWr8idp3PjT2eF/jmtdhIfcpMnb+IfZY2FebW6UY/AK3jP4u3Tu4zE4qlnQgLFbM19EBIsNf7KhjdbqQ/D6yiDb+NlEi2SKD+ivXVUK8ib0oBo366gXkR8ZxGjpJIDcEgZPa9TcYe0TIbiPl/rPUQDu3XBJ9X/GNq3FAUsKsll57DzaGMrjcT+gctp+9MLYXCq+sqP81eVQ0r9lt+gcQfZbACRbEjvlMskztZG8gbC8Qn9tt26Q7y7nDrbZq/LEz7kR6Jc6pg3N9rVX8Y5MJrGlML9p9lU4jbTkKqCveeZUJjHB03m2KRKR2TytoFkTXOLg7keU1s1lrPMQJpoOKLuAAC+y1HlJucU6ysB5hsXhvSPPLq5J7JtnqHKZ4vYjC4Vy8153QY+6780xDuGARsGbOs1WqzH0QS765rnSKEbbKlkO8oI/VDwUd0is13tKpqILu1mDJFNy/iJAWcvDgjxvusIT+PGz3ST/J9r9Mtfd0jpaGeiLYIqXc7DiHSS8TcjFVksi66PEkxW1z6ujbLLUGNNYnzOWpH8BZGK4bCK7iR+MbIv8ncDAz1u4StN3vTTzewr9IQjk9wxFxn+6N1ddKs0vffJiS08N3a4G1SVrlZ97Q/M+8G9fe5AP6d9/Qq4WRnORVhofPIKEdCr3llspUfE0oKIIYoByBRPh+bX1HLS3JWGJRhIvE1aW4NTd8ePi4Z+kXb+Z8snYfSNcqijhAgVsx4RCM54cXUiYkjeBmmC4ajOHrChoELscJJC7+9jjMjw5BagZKlgRMiSNYz7h7vvZIoQqbtQmspc0cUk1G/73iXtSpROl5wtLgQi0mW2Ex8i3WULhcggx6E1LMVHUsdc9GHI1PH3U2Ko0PyGdn9KdVOLm7FPBui0i9a0HpA60MsewVE4z8CAt5d401Gv6zXlIT5Ybit1VIA0FCs7wtvYreru1fUyW3oLAZ/+aTnZrOcYRNVA8spoRtlRoWflsRClFcgzkqiHOrf0/SVw+EpVaFlJ0g4Kxq1MMOmiQdpMNpte8lMMQqm6cIFXlnGbfJllysKDi+0JJMotkqgIxOSQgU9dn/lWkeVf8nUm3iwX2Nl3WDw9i6AUK3vBAbZZrcJpDQ/N64AVwjT07Jef30GSSmtNu2WlW7YoyW2FlWfZFQUwk867EdLYKk9VG6JgEnBiBxkY7LMo4YLQJJlAo9l/oTvJkSARDF/XtyAzM8O2t3eT/iXa6wDN3WewNmQHdPfsxChU/KtLG2Mn8i4ZqKdSlIaBZadxJmRzVS/o4yA65RTSViq60oa395Lqw0pzY4SipwE0SXXsKV+GZraGSkr/RW08wPRvqvSUkYBMA9lPx4m24az+IHmCbXA+0faxTRE9wuGeO06DIXa6QlKJ3puIyiuAVfPr736vzo2pBirS+Vxel3TMm3JKhz9o2ZoRvaFVpIkykb0Hcm4oHFBMcNSNj7/4GJt43ogonY2Vg4nsDQIWxAcorpXACzgBqQPjYsE/VUpXpwNManEru4NwMCFPkXvMoqvoeLN3qyu/N1eWEHttMD65v19l/0kH2mR35iv/FI+yjoHJ9gPMz67af3Mq/BoWXqu3rphiWMXVkmnPSEkpGpUI2h1MThideGFEOK6YZHPwYzMBvpNC7+ZHxPb7epfefGyIB4JzO9DTNEYnDLVVHdQyvOEVefrk6Uv5kTQYVYWWdqrdcIl7yljwwIWdfQ/y+2QB3eR/qxYObuYyB4gTbo2in4PzarU1sO9nETkmj9/AoxDA+JM3GMqQtJR4jtduHtnoCLxd1gQUscHRB/MoRYIEsP2pDZ9KvHgtlk1iTbWWbHhohwFEYX7y51fUV2nuUmnoUcqnWIQAAgl9LTVX+Bc0QGNEhChxHR4YjfE51PUdGfsSFE6ck7BL3/hTf9jLq4G1IafINxOLKeAtO7quulYvH5YOBc+zX7CrMgWnW47/jfRsWnJjYYoE7xMfWV2HN2iyIqLI");const e=()=>Ks(t),n=()=>new Set(e()),r=(t,e)=>e.forEach((e=>t.add(e)));Ai=new Map(Qs(t)),vi=n(),Ei=e(),ki=new Set(e().map((t=>Ei[t]))),Ei=new Set(Ei),Ti=n(),n();let s=Vs(t),i=t();const o=()=>{let t=new Set;return e().forEach((e=>r(t,s[e]))),r(t,e()),t};Ni=Js((e=>{let n=Js(t).map((t=>t+96));if(n.length){let r=e>=i;return n[0]-=32,n=Ws(n),r&&(n=`Restricted[${n}]`),{N:n,P:o(),Q:o(),M:!t(),R:r}}})),xi=n(),Si=new Map;let a=e().concat(mi(xi)).sort(((t,e)=>t-e));a.forEach(((e,n)=>{let r=t(),s=a[n]=r?a[n-r]:{V:[],M:new Map};s.V.push(e),xi.has(e)||Si.set(e,s)}));for(let{V:t,M:e}of new Set(Si.values())){let n=[];for(let e of t){let t=Ni.filter((t=>wi(t,e))),s=n.find((({G:e})=>t.some((t=>e.has(t)))));s||(s={G:new Set,V:[]},n.push(s)),s.V.push(e),r(s.G,t)}let s=n.flatMap((t=>mi(t.G)));for(let{G:t,V:r}of n){let n=new Set(s.filter((e=>!t.has(e))));for(let t of r)e.set(t,n)}}Oi=new Set;let c=new Set;const u=t=>Oi.has(t)?c.add(t):Oi.add(t);for(let t of Ni){for(let e of t.P)u(e);for(let e of t.Q)u(e)}for(let t of Oi)Si.has(t)||c.has(t)||Si.set(t,1);r(Oi,di(Oi)),Pi=function(t){let e=[],n=Ks(t);return function t({S:n,B:r},s,i){if(!(4&n&&i===s[s.length-1])){2&n&&(i=s[s.length-1]),1&n&&e.push(s);for(let e of r)for(let n of e.Q)t(e,[...s,n],i)}}(function e(r){return{S:t(),B:Js((()=>{let r=Ks(t).map((t=>n[t]));if(r.length)return e(r)})),Q:r}}([]),[]),e}(t).map((t=>bi.from(t))).sort(Zs),Ri=new Map;for(let t of Pi){let e=[Ri];for(let n of t){let t=e.map((t=>{let e=t.get(n);return e||(e=new Map,t.set(n,e)),e}));65039===n?e.push(...t):e=t}for(let n of e)n.V=t}}function Ci(t){return(Ui(t)?"":`${Bi(Di([t]))} `)+$s(t)}function Bi(t){return`"${t}"`}function Di(t,e=1/0,n=$s){let r=[];var s;s=t[0],Ii(),Ei.has(s)&&r.push("◌"),t.length>e&&(e>>=1,t=[...t.slice(0,e),8230,...t.slice(-e)]);let i=0,o=t.length;for(let e=0;e<o;e++){let s=t[e];Ui(s)&&(r.push(Ws(t.slice(i,e))),r.push(n(s)),i=e+1)}return r.push(Ws(t.slice(i,o))),r.join("")}function Ui(t){return Ii(),Ti.has(t)}function Li(t){return function(t){return t.map((({input:e,error:n,output:r})=>{if(n){let r=n.message;throw new Error(1==t.length?r:`Invalid label ${Bi(Di(e,63))}: ${r}`)}return Ws(r)})).join(yi)}(function(t,e,n){if(!t)return[];Ii();let r=0;return t.split(yi).map((t=>{let s=function(t){let e=[];for(let n=0,r=t.length;n<r;){let r=t.codePointAt(n);n+=r<65536?1:2,e.push(r)}return e}(t),i={input:s,offset:r};r+=s.length+1;try{let t,r=i.tokens=function(t,e,n){let r=[],s=[];t=t.slice().reverse();for(;t.length;){let i=ji(t);if(i)s.length&&(r.push(e(s)),s=[]),r.push(n(i));else{let e=t.pop();if(Oi.has(e))s.push(e);else{let t=Ai.get(e);if(t)s.push(...t);else if(!vi.has(e))throw Fi(e)}}}s.length&&r.push(e(s));return r}(s,e,n),o=r.length;if(!o)throw new Error("empty label");let a=i.output=r.flat();if(function(t){for(let e=t.lastIndexOf(95);e>0;)if(95!==t[--e])throw new Error("underscore allowed only at start")}(a),!(i.emoji=o>1||r[0].is_emoji)&&a.every((t=>t<128)))!function(t){if(t.length>=4&&45==t[2]&&45==t[3])throw new Error(`invalid label extension: "${Ws(t.slice(0,4))}"`)}(a),t="ASCII";else{let e=r.flatMap((t=>t.is_emoji?[]:t));if(e.length){if(Ei.has(a[0]))throw _i("leading combining mark");for(let t=1;t<o;t++){let e=r[t];if(!e.is_emoji&&Ei.has(e[0]))throw _i(`emoji + combining mark: "${Ws(r[t-1])} + ${Di([e[0]])}"`)}!function(t){let e=t[0],n=_s.get(e);if(n)throw _i(`leading ${n}`);let r=t.length,s=-1;for(let i=1;i<r;i++){e=t[i];let r=_s.get(e);if(r){if(s==i)throw _i(`${n} + ${r}`);s=i+1,n=r}}if(s==r)throw _i(`trailing ${n}`)}(a);let n=mi(new Set(e)),[s]=function(t){let e=Ni;for(let n of t){let t=e.filter((t=>wi(t,n)));if(!t.length)throw Ni.some((t=>wi(t,n)))?Mi(e[0],n):Fi(n);if(e=t,1==t.length)break}return e}(n);!function(t,e){for(let n of e)if(!wi(t,n))throw Mi(t,n);if(t.M){let t=di(e);for(let e=1,n=t.length;e<n;e++)if(ki.has(t[e])){let r=e+1;for(let s;r<n&&ki.has(s=t[r]);r++)for(let n=e;n<r;n++)if(t[n]==s)throw new Error(`duplicate non-spacing marks: ${Ci(s)}`);if(r-e>4)throw new Error(`excessive non-spacing marks: ${Bi(Di(t.slice(e-1,r)))} (${r-e}/4)`);e=r}}}(s,e),function(t,e){let n,r=[];for(let t of e){let e=Si.get(t);if(1===e)return;if(e){let r=e.M.get(t);if(n=n?n.filter((t=>r.has(t))):mi(r),!n.length)return}else r.push(t)}if(n)for(let e of n)if(r.every((t=>wi(e,t))))throw new Error(`whole-script confusable: ${t.N}/${e.N}`)}(s,n),t=s.N}else t="Emoji"}i.type=t}catch(t){i.error=t}return i}))}(t,gi,Gi))}function Fi(t){return new Error(`disallowed character: ${Ci(t)}`)}function Mi(t,e){let n=Ci(e),r=Ni.find((t=>t.P.has(e)));return r&&(n=`${r.N} ${n}`),new Error(`illegal mixture: ${t.N} + ${n}`)}function _i(t){return new Error(`illegal placement: ${t}`)}function Gi(t){return t.filter((t=>65039!=t))}function ji(t,e){let n,r=Ri,s=t.length;for(;s&&(r=r.get(t[--s]),r);){let{V:i}=r;i&&(n=i,e&&e.push(...t.slice(s).reverse()),t.length=s)}return n}const Hi=new Uint8Array(32);function Ki(t){return d(0!==t.length,"invalid ENS name; empty component","comp",t),t}function Vi(t){const e=X(function(t){try{if(0===t.length)throw new Error("empty label");return Li(t)}catch(e){d(!1,`invalid ENS name (${e.message})`,"name",t)}}(t)),n=[];if(0===t.length)return n;let r=0;for(let t=0;t<e.length;t++){46===e[t]&&(n.push(Ki(e.slice(r,t))),r=t+1)}return d(r<e.length,"invalid ENS name; empty component","name",t),n.push(Ki(e.slice(r))),n}function Qi(t){d("string"==typeof t,"invalid ENS name; not a string","name",t),d(t.length,"invalid ENS name (empty label)","name",t);let e=Hi;const n=Vi(t);for(;n.length;)e=en(x([e,en(n.pop())]));return N(e)}function Ji(t,e){const n=null!=e?e:63;return d(n<=255,"DNS encoded label cannot exceed 255","length",n),N(x(Vi(t).map((e=>{d(e.length<=n,`label ${JSON.stringify(t)} exceeds ${n} bytes`,"name",t);const r=new Uint8Array(e.length+1);return r.set(e,1),r[0]=r.length-1,r}))))+"00"}function zi(t,e){return{address:fs(t),storageKeys:e.map(((t,e)=>(d(E(t,32),"invalid slot",`storageKeys[${e}]`,t),t.toLowerCase())))}}function Yi(t){if(Array.isArray(t))return t.map(((e,n)=>Array.isArray(e)?(d(2===e.length,"invalid slot set",`value[${n}]`,e),zi(e[0],e[1])):(d(null!=e&&"object"==typeof e,"invalid address-slot set","value",t),zi(e.address,e.storageKeys))));d(null!=t&&"object"==typeof t,"invalid access list","value",t);const e=Object.keys(t).map((e=>{const n=t[e].reduce(((t,e)=>(t[e]=!0,t)),{});return zi(e,Object.keys(n).sort())}));return e.sort(((t,e)=>t.address.localeCompare(e.address))),e}function qi(t){let e;return e="string"==typeof t?os.computePublicKey(t,!1):t.publicKey,fs(en("0x"+e.substring(4)).substring(26))}function $i(t,e){return qi(os.recoverPublicKey(t,e))}Hi.fill(0);const Wi=BigInt(0),Zi=BigInt(2),Xi=BigInt(27),to=BigInt(28),eo=BigInt(35),no=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),ro=131072;function so(t,e){let n=t.toString(16);for(;n.length<2;)n="0"+n;return n+=Qn(e).substring(4),"0x"+n}function io(t){return"0x"===t?null:fs(t)}function oo(t,e){try{return Yi(t)}catch(n){d(!1,n.message,e,t)}}function ao(t,e){return"0x"===t?0:G(t,e)}function co(t,e){if("0x"===t)return Wi;const n=L(t,e);return d(n<=no,"value exceeds uint size",e,n),n}function uo(t,e){const n=L(t,"value"),r=H(n);return d(r.length<=32,"value too large",`tx.${e}`,n),r}function lo(t){return Yi(t).map((t=>[t.address,t.storageKeys]))}function ho(t,e){d(Array.isArray(t),`invalid ${e}`,"value",t);for(let e=0;e<t.length;e++)d(E(t[e],32),"invalid ${ param } hash",`value[${e}]`,t[e]);return t}function fo(t,e){let n;try{if(n=ao(e[0],"yParity"),0!==n&&1!==n)throw new Error("bad yParity")}catch(t){d(!1,"invalid yParity","yParity",e[0])}const r=R(e[1],32),s=R(e[2],32),i=is.from({r:r,s:s,yParity:n});t.signature=i}class po{#_;#G;#T;#j;#H;#K;#V;#Q;#J;#z;#Y;#q;#$;#W;#Z;#X;get type(){return this.#_}set type(t){switch(t){case null:this.#_=null;break;case 0:case"legacy":this.#_=0;break;case 1:case"berlin":case"eip-2930":this.#_=1;break;case 2:case"london":case"eip-1559":this.#_=2;break;case 3:case"cancun":case"eip-4844":this.#_=3;break;default:d(!1,"unsupported transaction type","type",t)}}get typeName(){switch(this.type){case 0:return"legacy";case 1:return"eip-2930";case 2:return"eip-1559";case 3:return"eip-4844"}return null}get to(){const t=this.#G;return null==t&&3===this.type?qr:t}set to(t){this.#G=null==t?null:fs(t)}get nonce(){return this.#j}set nonce(t){this.#j=G(t,"value")}get gasLimit(){return this.#H}set gasLimit(t){this.#H=L(t)}get gasPrice(){const t=this.#K;return null!=t||0!==this.type&&1!==this.type?t:Wi}set gasPrice(t){this.#K=null==t?null:L(t,"gasPrice")}get maxPriorityFeePerGas(){const t=this.#V;return null==t?2===this.type||3===this.type?Wi:null:t}set maxPriorityFeePerGas(t){this.#V=null==t?null:L(t,"maxPriorityFeePerGas")}get maxFeePerGas(){const t=this.#Q;return null==t?2===this.type||3===this.type?Wi:null:t}set maxFeePerGas(t){this.#Q=null==t?null:L(t,"maxFeePerGas")}get data(){return this.#T}set data(t){this.#T=N(t)}get value(){return this.#J}set value(t){this.#J=L(t,"value")}get chainId(){return this.#z}set chainId(t){this.#z=L(t)}get signature(){return this.#Y||null}set signature(t){this.#Y=null==t?null:is.from(t)}get accessList(){const t=this.#q||null;return null==t?1===this.type||2===this.type||3===this.type?[]:null:t}set accessList(t){this.#q=null==t?null:Yi(t)}get maxFeePerBlobGas(){const t=this.#$;return null==t&&3===this.type?Wi:t}set maxFeePerBlobGas(t){this.#$=null==t?null:L(t,"maxFeePerBlobGas")}get blobVersionedHashes(){let t=this.#W;return null==t&&3===this.type?[]:t}set blobVersionedHashes(t){if(null!=t){d(Array.isArray(t),"blobVersionedHashes must be an Array","value",t),t=t.slice();for(let e=0;e<t.length;e++)d(E(t[e],32),"invalid blobVersionedHash",`value[${e}]`,t[e])}this.#W=t}get blobs(){return null==this.#X?null:this.#X.map((t=>Object.assign({},t)))}set blobs(t){if(null==t)return void(this.#X=null);const e=[],n=[];for(let r=0;r<t.length;r++){const s=t[r];if(k(s)){p(this.#Z,"adding a raw blob requires a KZG library","UNSUPPORTED_OPERATION",{operation:"set blobs()"});let t=A(s);if(d(t.length<=ro,"blob is too large",`blobs[${r}]`,s),t.length!==ro){const e=new Uint8Array(ro);e.set(t),t=e}const i=this.#Z.blobToKzgCommitment(t),o=N(this.#Z.computeBlobKzgProof(t,i));e.push({data:N(t),commitment:N(i),proof:o}),n.push(so(1,i))}else{const t=N(s.commitment);e.push({data:N(s.data),commitment:t,proof:N(s.proof)}),n.push(so(1,t))}}this.#X=e,this.#W=n}get kzg(){return this.#Z}set kzg(t){this.#Z=t}constructor(){this.#_=null,this.#G=null,this.#j=0,this.#H=Wi,this.#K=null,this.#V=null,this.#Q=null,this.#T="0x",this.#J=Wi,this.#z=Wi,this.#Y=null,this.#q=null,this.#$=null,this.#W=null,this.#X=null,this.#Z=null}get hash(){return null==this.signature?null:en(this.#tt(!0,!1))}get unsignedHash(){return en(this.unsignedSerialized)}get from(){return null==this.signature?null:$i(this.unsignedHash,this.signature)}get fromPublicKey(){return null==this.signature?null:os.recoverPublicKey(this.unsignedHash,this.signature)}isSigned(){return null!=this.signature}#tt(t,e){p(!t||null!=this.signature,"cannot serialize unsigned transaction; maybe you meant .unsignedSerialized","UNSUPPORTED_OPERATION",{operation:".serialized"});const n=t?this.signature:null;switch(this.inferType()){case 0:return function(t,e){const n=[uo(t.nonce,"nonce"),uo(t.gasPrice||0,"gasPrice"),uo(t.gasLimit,"gasLimit"),t.to||"0x",uo(t.value,"value"),t.data];let r=Wi;if(t.chainId!=Wi)r=L(t.chainId,"tx.chainId"),d(!e||null==e.networkV||e.legacyChainId===r,"tx.chainId/sig.v mismatch","sig",e);else if(t.signature){const e=t.signature.legacyChainId;null!=e&&(r=e)}if(!e)return r!==Wi&&(n.push(H(r)),n.push("0x"),n.push("0x")),kt(n);let s=BigInt(27+e.yParity);return r!==Wi?s=is.getChainIdV(r,e.v):BigInt(e.v)!==s&&d(!1,"tx.chainId/sig.v mismatch","sig",e),n.push(H(s)),n.push(H(e.r)),n.push(H(e.s)),kt(n)}(this,n);case 1:return function(t,e){const n=[uo(t.chainId,"chainId"),uo(t.nonce,"nonce"),uo(t.gasPrice||0,"gasPrice"),uo(t.gasLimit,"gasLimit"),t.to||"0x",uo(t.value,"value"),t.data,lo(t.accessList||[])];return e&&(n.push(uo(e.yParity,"recoveryParam")),n.push(H(e.r)),n.push(H(e.s))),x(["0x01",kt(n)])}(this,n);case 2:return function(t,e){const n=[uo(t.chainId,"chainId"),uo(t.nonce,"nonce"),uo(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),uo(t.maxFeePerGas||0,"maxFeePerGas"),uo(t.gasLimit,"gasLimit"),t.to||"0x",uo(t.value,"value"),t.data,lo(t.accessList||[])];return e&&(n.push(uo(e.yParity,"yParity")),n.push(H(e.r)),n.push(H(e.s))),x(["0x02",kt(n)])}(this,n);case 3:return function(t,e,n){const r=[uo(t.chainId,"chainId"),uo(t.nonce,"nonce"),uo(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),uo(t.maxFeePerGas||0,"maxFeePerGas"),uo(t.gasLimit,"gasLimit"),t.to||qr,uo(t.value,"value"),t.data,lo(t.accessList||[]),uo(t.maxFeePerBlobGas||0,"maxFeePerBlobGas"),ho(t.blobVersionedHashes||[],"blobVersionedHashes")];return e&&(r.push(uo(e.yParity,"yParity")),r.push(H(e.r)),r.push(H(e.s)),n)?x(["0x03",kt([r,n.map((t=>t.data)),n.map((t=>t.commitment)),n.map((t=>t.proof))])]):x(["0x03",kt(r)])}(this,n,e?this.blobs:null)}p(!1,"unsupported transaction type","UNSUPPORTED_OPERATION",{operation:".serialized"})}get serialized(){return this.#tt(!0,!0)}get unsignedSerialized(){return this.#tt(!1,!1)}inferType(){const t=this.inferTypes();return t.indexOf(2)>=0?2:t.pop()}inferTypes(){const t=null!=this.gasPrice,e=null!=this.maxFeePerGas||null!=this.maxPriorityFeePerGas,n=null!=this.accessList,r=null!=this.#$||this.#W;null!=this.maxFeePerGas&&null!=this.maxPriorityFeePerGas&&p(this.maxFeePerGas>=this.maxPriorityFeePerGas,"priorityFee cannot be more than maxFee","BAD_DATA",{value:this}),p(!e||0!==this.type&&1!==this.type,"transaction type cannot have maxFeePerGas or maxPriorityFeePerGas","BAD_DATA",{value:this}),p(0!==this.type||!n,"legacy transaction cannot have accessList","BAD_DATA",{value:this});const s=[];return null!=this.type?s.push(this.type):e?s.push(2):t?(s.push(1),n||s.push(0)):n?(s.push(1),s.push(2)):(r&&this.to||(s.push(0),s.push(1),s.push(2)),s.push(3)),s.sort(),s}isLegacy(){return 0===this.type}isBerlin(){return 1===this.type}isLondon(){return 2===this.type}isCancun(){return 3===this.type}clone(){return po.from(this)}toJSON(){const t=t=>null==t?null:t.toString();return{type:this.type,to:this.to,data:this.data,nonce:this.nonce,gasLimit:t(this.gasLimit),gasPrice:t(this.gasPrice),maxPriorityFeePerGas:t(this.maxPriorityFeePerGas),maxFeePerGas:t(this.maxFeePerGas),value:t(this.value),chainId:t(this.chainId),sig:this.signature?this.signature.toJSON():null,accessList:this.accessList}}static from(t){if(null==t)return new po;if("string"==typeof t){const e=A(t);if(e[0]>=127)return po.from(function(t){const e=bt(t);d(Array.isArray(e)&&(9===e.length||6===e.length),"invalid field count for legacy transaction","data",t);const n={type:0,nonce:ao(e[0],"nonce"),gasPrice:co(e[1],"gasPrice"),gasLimit:co(e[2],"gasLimit"),to:io(e[3]),value:co(e[4],"value"),data:N(e[5]),chainId:Wi};if(6===e.length)return n;const r=co(e[6],"v"),s=co(e[7],"r"),i=co(e[8],"s");if(s===Wi&&i===Wi)n.chainId=r;else{let t=(r-eo)/Zi;t<Wi&&(t=Wi),n.chainId=t,d(t!==Wi||r===Xi||r===to,"non-canonical legacy v","v",e[6]),n.signature=is.from({r:R(e[7],32),s:R(e[8],32),v:r})}return n}(e));switch(e[0]){case 1:return po.from(function(t){const e=bt(A(t).slice(1));d(Array.isArray(e)&&(8===e.length||11===e.length),"invalid field count for transaction type: 1","data",N(t));const n={type:1,chainId:co(e[0],"chainId"),nonce:ao(e[1],"nonce"),gasPrice:co(e[2],"gasPrice"),gasLimit:co(e[3],"gasLimit"),to:io(e[4]),value:co(e[5],"value"),data:N(e[6]),accessList:oo(e[7],"accessList")};return 8===e.length||fo(n,e.slice(8)),n}(e));case 2:return po.from(function(t){const e=bt(A(t).slice(1));d(Array.isArray(e)&&(9===e.length||12===e.length),"invalid field count for transaction type: 2","data",N(t));const n={type:2,chainId:co(e[0],"chainId"),nonce:ao(e[1],"nonce"),maxPriorityFeePerGas:co(e[2],"maxPriorityFeePerGas"),maxFeePerGas:co(e[3],"maxFeePerGas"),gasPrice:null,gasLimit:co(e[4],"gasLimit"),to:io(e[5]),value:co(e[6],"value"),data:N(e[7]),accessList:oo(e[8],"accessList")};return 9===e.length||fo(n,e.slice(9)),n}(e));case 3:return po.from(function(t){let e=bt(A(t).slice(1)),n="3",r=null;if(4===e.length&&Array.isArray(e[0])){n="3 (network format)";const t=e[1],s=e[2],i=e[3];d(Array.isArray(t),"invalid network format: blobs not an array","fields[1]",t),d(Array.isArray(s),"invalid network format: commitments not an array","fields[2]",s),d(Array.isArray(i),"invalid network format: proofs not an array","fields[3]",i),d(t.length===s.length,"invalid network format: blobs/commitments length mismatch","fields",e),d(t.length===i.length,"invalid network format: blobs/proofs length mismatch","fields",e),r=[];for(let n=0;n<e[1].length;n++)r.push({data:t[n],commitment:s[n],proof:i[n]});e=e[0]}d(Array.isArray(e)&&(11===e.length||14===e.length),`invalid field count for transaction type: ${n}`,"data",N(t));const s={type:3,chainId:co(e[0],"chainId"),nonce:ao(e[1],"nonce"),maxPriorityFeePerGas:co(e[2],"maxPriorityFeePerGas"),maxFeePerGas:co(e[3],"maxFeePerGas"),gasPrice:null,gasLimit:co(e[4],"gasLimit"),to:io(e[5]),value:co(e[6],"value"),data:N(e[7]),accessList:oo(e[8],"accessList"),maxFeePerBlobGas:co(e[9],"maxFeePerBlobGas"),blobVersionedHashes:e[10]};r&&(s.blobs=r),d(null!=s.to,`invalid address for transaction type: ${n}`,"data",t),d(Array.isArray(s.blobVersionedHashes),"invalid blobVersionedHashes: must be an array","data",t);for(let e=0;e<s.blobVersionedHashes.length;e++)d(E(s.blobVersionedHashes[e],32),`invalid blobVersionedHash at index ${e}: must be length 32`,"data",t);return 11===e.length||fo(s,e.slice(11)),s}(e))}p(!1,"unsupported transaction type","UNSUPPORTED_OPERATION",{operation:"from"})}const e=new po;return null!=t.type&&(e.type=t.type),null!=t.to&&(e.to=t.to),null!=t.nonce&&(e.nonce=t.nonce),null!=t.gasLimit&&(e.gasLimit=t.gasLimit),null!=t.gasPrice&&(e.gasPrice=t.gasPrice),null!=t.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas),null!=t.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null!=t.maxFeePerBlobGas&&(e.maxFeePerBlobGas=t.maxFeePerBlobGas),null!=t.data&&(e.data=t.data),null!=t.value&&(e.value=t.value),null!=t.chainId&&(e.chainId=t.chainId),null!=t.signature&&(e.signature=is.from(t.signature)),null!=t.accessList&&(e.accessList=t.accessList),null!=t.blobVersionedHashes&&(e.blobVersionedHashes=t.blobVersionedHashes),null!=t.kzg&&(e.kzg=t.kzg),null!=t.blobs&&(e.blobs=t.blobs),null!=t.hash&&(d(e.isSigned(),"unsigned transaction cannot define '.hash'","tx",t),d(e.hash===t.hash,"hash mismatch","tx",t)),null!=t.from&&(d(e.isSigned(),"unsigned transaction cannot define '.from'","tx",t),d(e.from.toLowerCase()===(t.from||"").toLowerCase(),"from mismatch","tx",t)),e}}function go(t){return"string"==typeof t&&(t=X(t)),en(x([X("Ethereum Signed Message:\n"),X(String(t.length)),t]))}const yo=new Uint8Array(32);yo.fill(0);const mo=BigInt(-1),wo=BigInt(0),bo=BigInt(1),Ao=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const vo=j(bo,32),Eo=j(wo,32),ko={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},To=["name","version","chainId","verifyingContract","salt"];function No(t){return function(e){return d("string"==typeof e,`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const xo={name:No("name"),version:No("version"),chainId:function(t){const e=L(t,"domain.chainId");return d(e>=0,"invalid chain ID","domain.chainId",t),Number.isSafeInteger(e)?Number(e):K(e)},verifyingContract:function(t){try{return fs(t).toLowerCase()}catch(t){}d(!1,'invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){const e=A(t,"domain.salt");return d(32===e.length,'invalid domain value "salt"',"domain.salt",t),N(e)}};function So(t){{const e=t.match(/^(u?)int(\d+)$/);if(e){const n=""===e[1],r=parseInt(e[2]);d(r%8==0&&0!==r&&r<=256&&e[2]===String(r),"invalid numeric width","type",t);const s=U(Ao,n?r-1:r),i=n?(s+bo)*mo:wo;return function(e){const r=L(e,"value");return d(r>=i&&r<=s,`value out-of-bounds for ${t}`,"value",r),j(n?D(r,256):r,32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const n=parseInt(e[1]);return d(0!==n&&n<=32&&e[1]===String(n),"invalid bytes width","type",t),function(e){return d(A(e).length===n,`invalid length for ${t}`,"value",e),function(t){const e=A(t),n=e.length%32;return n?x([e,yo.slice(n)]):N(e)}(e)}}}switch(t){case"address":return function(t){return R(fs(t),32)};case"bool":return function(t){return t?vo:Eo};case"bytes":return function(t){return en(t)};case"string":return function(t){return Ms(t)}}return null}function Oo(t,e){return`${t}(${e.map((({name:t,type:e})=>e+" "+t)).join(",")})`}function Po(t){const e=t.match(/^([^\x5b]*)((\x5b\d*\x5d)*)(\x5b(\d*)\x5d)$/);return e?{base:e[1],index:e[2]+e[4],array:{base:e[1],prefix:e[1]+e[2],count:e[5]?parseInt(e[5]):-1}}:{base:t}}class Ro{primaryType;#et;get types(){return JSON.parse(this.#et)}#nt;#rt;constructor(t){this.#nt=new Map,this.#rt=new Map;const e=new Map,n=new Map,r=new Map,s={};Object.keys(t).forEach((i=>{s[i]=t[i].map((({name:e,type:n})=>{let{base:r,index:s}=Po(n);return"int"!==r||t.int||(r="int256"),"uint"!==r||t.uint||(r="uint256"),{name:e,type:r+(s||"")}})),e.set(i,new Set),n.set(i,[]),r.set(i,new Set)})),this.#et=JSON.stringify(s);for(const r in s){const i=new Set;for(const o of s[r]){d(!i.has(o.name),`duplicate variable name ${JSON.stringify(o.name)} in ${JSON.stringify(r)}`,"types",t),i.add(o.name);const s=Po(o.type).base;d(s!==r,`circular type reference to ${JSON.stringify(s)}`,"types",t);So(s)||(d(n.has(s),`unknown type ${JSON.stringify(s)}`,"types",t),n.get(s).push(r),e.get(r).add(s))}}const i=Array.from(n.keys()).filter((t=>0===n.get(t).length));d(0!==i.length,"missing primary type","types",t),d(1===i.length,`ambiguous primary types or unused types: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"types",t),c(this,{primaryType:i[0]}),function s(i,o){d(!o.has(i),`circular type reference to ${JSON.stringify(i)}`,"types",t),o.add(i);for(const t of e.get(i))if(n.has(t)){s(t,o);for(const e of o)r.get(e).add(t)}o.delete(i)}(this.primaryType,new Set);for(const[t,e]of r){const n=Array.from(e);n.sort(),this.#nt.set(t,Oo(t,s[t])+n.map((t=>Oo(t,s[t]))).join(""))}}getEncoder(t){let e=this.#rt.get(t);return e||(e=this.#st(t),this.#rt.set(t,e)),e}#st(t){{const e=So(t);if(e)return e}const e=Po(t).array;if(e){const t=e.prefix,n=this.getEncoder(t);return r=>{d(-1===e.count||e.count===r.length,`array length mismatch; expected length ${e.count}`,"value",r);let s=r.map(n);return this.#nt.has(t)&&(s=s.map(en)),en(x(s))}}const n=this.types[t];if(n){const e=Ms(this.#nt.get(t));return t=>{const r=n.map((({name:e,type:n})=>{const r=this.getEncoder(n)(t[e]);return this.#nt.has(n)?en(r):r}));return r.unshift(e),x(r)}}d(!1,`unknown type: ${t}`,"type",t)}encodeType(t){const e=this.#nt.get(t);return d(e,`unknown type: ${JSON.stringify(t)}`,"name",t),e}encodeData(t,e){return this.getEncoder(t)(e)}hashStruct(t,e){return en(this.encodeData(t,e))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,e,n){if(So(t))return n(t,e);const r=Po(t).array;if(r)return d(-1===r.count||r.count===e.length,`array length mismatch; expected length ${r.count}`,"value",e),e.map((t=>this._visit(r.prefix,t,n)));const s=this.types[t];if(s)return s.reduce(((t,{name:r,type:s})=>(t[r]=this._visit(s,e[r],n),t)),{});d(!1,`unknown type: ${t}`,"type",t)}visit(t,e){return this._visit(this.primaryType,t,e)}static from(t){return new Ro(t)}static getPrimaryType(t){return Ro.from(t).primaryType}static hashStruct(t,e,n){return Ro.from(e).hashStruct(t,n)}static hashDomain(t){const e=[];for(const n in t){if(null==t[n])continue;const r=ko[n];d(r,`invalid typed-data domain key: ${JSON.stringify(n)}`,"domain",t),e.push({name:n,type:r})}return e.sort(((t,e)=>To.indexOf(t.name)-To.indexOf(e.name))),Ro.hashStruct("EIP712Domain",{EIP712Domain:e},t)}static encode(t,e,n){return x(["0x1901",Ro.hashDomain(t),Ro.from(e).hash(n)])}static hash(t,e,n){return en(Ro.encode(t,e,n))}static async resolveNames(t,e,n,r){t=Object.assign({},t);for(const e in t)null==t[e]&&delete t[e];const s={};t.verifyingContract&&!E(t.verifyingContract,20)&&(s[t.verifyingContract]="0x");const i=Ro.from(e);i.visit(n,((t,e)=>("address"!==t||E(e,20)||(s[e]="0x"),e)));for(const t in s)s[t]=await r(t);return t.verifyingContract&&s[t.verifyingContract]&&(t.verifyingContract=s[t.verifyingContract]),{domain:t,value:n=i.visit(n,((t,e)=>"address"===t&&s[e]?s[e]:e))}}static getPayload(t,e,n){Ro.hashDomain(t);const r={},s=[];To.forEach((e=>{const n=t[e];null!=n&&(r[e]=xo[e](n),s.push({name:e,type:ko[e]}))}));const i=Ro.from(e);e=i.types;const o=Object.assign({},e);return d(null==o.EIP712Domain,"types must not contain EIP712Domain type","types.EIP712Domain",e),o.EIP712Domain=s,i.encode(n),{types:o,domain:r,primaryType:i.primaryType,message:i.visit(n,((t,e)=>{if(t.match(/^bytes(\d*)/))return N(A(e));if(t.match(/^u?int/))return L(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return d("string"==typeof e,"invalid string","value",e),e}d(!1,"unsupported type","type",t)}))}}}function Io(t){const e=new Set;return t.forEach((t=>e.add(t))),Object.freeze(e)}const Co=Io("external public payable override".split(" ")),Bo="constant external internal payable private public pure view override",Do=Io(Bo.split(" ")),Uo="constructor error event fallback function receive struct",Lo=Io(Uo.split(" ")),Fo="calldata memory storage payable indexed",Mo=Io(Fo.split(" ")),_o=Io([Uo,Fo,"tuple returns",Bo].join(" ").split(" ")),Go={"(":"OPEN_PAREN",")":"CLOSE_PAREN","[":"OPEN_BRACKET","]":"CLOSE_BRACKET",",":"COMMA","@":"AT"},jo=new RegExp("^(\\s*)"),Ho=new RegExp("^([0-9]+)"),Ko=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)"),Vo=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)$"),Qo=new RegExp("^(address|bool|bytes([0-9]*)|string|u?int([0-9]*))$");class Jo{#S;#it;get offset(){return this.#S}get length(){return this.#it.length-this.#S}constructor(t){this.#S=0,this.#it=t.slice()}clone(){return new Jo(this.#it)}reset(){this.#S=0}#ot(t=0,e=0){return new Jo(this.#it.slice(t,e).map((e=>Object.freeze(Object.assign({},e,{match:e.match-t,linkBack:e.linkBack-t,linkNext:e.linkNext-t})))))}popKeyword(t){const e=this.peek();if("KEYWORD"!==e.type||!t.has(e.text))throw new Error(`expected keyword ${e.text}`);return this.pop().text}popType(t){if(this.peek().type!==t){const e=this.peek();throw new Error(`expected ${t}; got ${e.type} ${JSON.stringify(e.text)}`)}return this.pop().text}popParen(){const t=this.peek();if("OPEN_PAREN"!==t.type)throw new Error("bad start");const e=this.#ot(this.#S+1,t.match+1);return this.#S=t.match+1,e}popParams(){const t=this.peek();if("OPEN_PAREN"!==t.type)throw new Error("bad start");const e=[];for(;this.#S<t.match-1;){const t=this.peek().linkNext;e.push(this.#ot(this.#S+1,t)),this.#S=t}return this.#S=t.match+1,e}peek(){if(this.#S>=this.#it.length)throw new Error("out-of-bounds");return this.#it[this.#S]}peekKeyword(t){const e=this.peekType("KEYWORD");return null!=e&&t.has(e)?e:null}peekType(t){if(0===this.length)return null;const e=this.peek();return e.type===t?e.text:null}pop(){const t=this.peek();return this.#S++,t}toString(){const t=[];for(let e=this.#S;e<this.#it.length;e++){const n=this.#it[e];t.push(`${n.type}:${n.text}`)}return`<TokenString ${t.join(" ")}>`}}function zo(t){const e=[],n=e=>{const n=i<t.length?JSON.stringify(t[i]):"$EOI";throw new Error(`invalid token ${n} at ${i}: ${e}`)};let r=[],s=[],i=0;for(;i<t.length;){let o=t.substring(i),a=o.match(jo);a&&(i+=a[1].length,o=t.substring(i));const c={depth:r.length,linkBack:-1,linkNext:-1,match:-1,type:"",text:"",offset:i,value:-1};e.push(c);let u=Go[o[0]]||"";if(u){if(c.type=u,c.text=o[0],i++,"OPEN_PAREN"===u)r.push(e.length-1),s.push(e.length-1);else if("CLOSE_PAREN"==u)0===r.length&&n("no matching open bracket"),c.match=r.pop(),e[c.match].match=e.length-1,c.depth--,c.linkBack=s.pop(),e[c.linkBack].linkNext=e.length-1;else if("COMMA"===u)c.linkBack=s.pop(),e[c.linkBack].linkNext=e.length-1,s.push(e.length-1);else if("OPEN_BRACKET"===u)c.type="BRACKET";else if("CLOSE_BRACKET"===u){let t=e.pop().text;if(e.length>0&&"NUMBER"===e[e.length-1].type){const n=e.pop().text;t=n+t,e[e.length-1].value=G(n)}if(0===e.length||"BRACKET"!==e[e.length-1].type)throw new Error("missing opening bracket");e[e.length-1].text+=t}}else if(a=o.match(Ko),a){if(c.text=a[1],i+=c.text.length,_o.has(c.text)){c.type="KEYWORD";continue}if(c.text.match(Qo)){c.type="TYPE";continue}c.type="ID"}else{if(a=o.match(Ho),!a)throw new Error(`unexpected token ${JSON.stringify(o[0])} at position ${i}`);c.text=a[1],c.type="NUMBER",i+=c.text.length}}return new Jo(e.map((t=>Object.freeze(t))))}function Yo(t,e){let n=[];for(const r in e.keys())t.has(r)&&n.push(r);if(n.length>1)throw new Error(`conflicting types: ${n.join(", ")}`)}function qo(t,e){if(e.peekKeyword(Lo)){const n=e.pop().text;if(n!==t)throw new Error(`expected ${t}, got ${n}`)}return e.popType("ID")}function $o(t,e){const n=new Set;for(;;){const r=t.peekType("KEYWORD");if(null==r||e&&!e.has(r))break;if(t.pop(),n.has(r))throw new Error(`duplicate keywords: ${JSON.stringify(r)}`);n.add(r)}return Object.freeze(n)}function Wo(t){let e=$o(t,Do);return Yo(e,Io("constant payable nonpayable".split(" "))),Yo(e,Io("pure view payable nonpayable".split(" "))),e.has("view")?"view":e.has("pure")?"pure":e.has("payable")?"payable":e.has("nonpayable")?"nonpayable":e.has("constant")?"view":"nonpayable"}function Zo(t,e){return t.popParams().map((t=>fa.from(t,e)))}function Xo(t){if(t.peekType("AT")){if(t.pop(),t.peekType("NUMBER"))return L(t.pop().text);throw new Error("invalid gas")}return null}function ta(t){if(t.length)throw new Error(`unexpected tokens at offset ${t.offset}: ${t.toString()}`)}const ea=new RegExp(/^(.*)\[([0-9]*)\]$/);function na(t){const e=t.match(Qo);if(d(e,"invalid type","type",t),"uint"===t)return"uint256";if("int"===t)return"int256";if(e[2]){const n=parseInt(e[2]);d(0!==n&&n<=32,"invalid bytes length","type",t)}else if(e[3]){const n=parseInt(e[3]);d(0!==n&&n<=256&&n%8==0,"invalid numeric width","type",t)}return t}const ra={},sa=Symbol.for("_ethers_internal"),ia="_ParamTypeInternal",oa="_ErrorInternal",aa="_EventInternal",ca="_ConstructorInternal",ua="_FallbackInternal",la="_FunctionInternal",ha="_StructInternal";class fa{name;type;baseType;indexed;components;arrayLength;arrayChildren;constructor(t,e,n,r,s,i,o,a){if(w(t,ra,"ParamType"),Object.defineProperty(this,sa,{value:ia}),i&&(i=Object.freeze(i.slice())),"array"===r){if(null==o||null==a)throw new Error("")}else if(null!=o||null!=a)throw new Error("");if("tuple"===r){if(null==i)throw new Error("")}else if(null!=i)throw new Error("");c(this,{name:e,type:n,baseType:r,indexed:s,components:i,arrayLength:o,arrayChildren:a})}format(t){if(null==t&&(t="sighash"),"json"===t){const e=this.name||"";if(this.isArray()){const t=JSON.parse(this.arrayChildren.format("json"));return t.name=e,t.type+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`,JSON.stringify(t)}const n={type:"tuple"===this.baseType?"tuple":this.type,name:e};return"boolean"==typeof this.indexed&&(n.indexed=this.indexed),this.isTuple()&&(n.components=this.components.map((e=>JSON.parse(e.format(t))))),JSON.stringify(n)}let e="";return this.isArray()?(e+=this.arrayChildren.format(t),e+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`):this.isTuple()?e+="("+this.components.map((e=>e.format(t))).join("full"===t?", ":",")+")":e+=this.type,"sighash"!==t&&(!0===this.indexed&&(e+=" indexed"),"full"===t&&this.name&&(e+=" "+this.name)),e}isArray(){return"array"===this.baseType}isTuple(){return"tuple"===this.baseType}isIndexable(){return null!=this.indexed}walk(t,e){if(this.isArray()){if(!Array.isArray(t))throw new Error("invalid array value");if(-1!==this.arrayLength&&t.length!==this.arrayLength)throw new Error("array is wrong length");const n=this;return t.map((t=>n.arrayChildren.walk(t,e)))}if(this.isTuple()){if(!Array.isArray(t))throw new Error("invalid tuple value");if(t.length!==this.components.length)throw new Error("array is wrong length");const n=this;return t.map(((t,r)=>n.components[r].walk(t,e)))}return e(this.type,t)}#at(t,e,n,r){if(this.isArray()){if(!Array.isArray(e))throw new Error("invalid array value");if(-1!==this.arrayLength&&e.length!==this.arrayLength)throw new Error("array is wrong length");const s=this.arrayChildren,i=e.slice();return i.forEach(((e,r)=>{s.#at(t,e,n,(t=>{i[r]=t}))})),void r(i)}if(this.isTuple()){const s=this.components;let i;if(Array.isArray(e))i=e.slice();else{if(null==e||"object"!=typeof e)throw new Error("invalid tuple value");i=s.map((t=>{if(!t.name)throw new Error("cannot use object value with unnamed components");if(!(t.name in e))throw new Error(`missing value for component ${t.name}`);return e[t.name]}))}if(i.length!==this.components.length)throw new Error("array is wrong length");return i.forEach(((e,r)=>{s[r].#at(t,e,n,(t=>{i[r]=t}))})),void r(i)}const s=n(this.type,e);s.then?t.push(async function(){r(await s)}()):r(s)}async walkAsync(t,e){const n=[],r=[t];return this.#at(n,t,e,(t=>{r[0]=t})),n.length&&await Promise.all(n),r[0]}static from(t,e){if(fa.isParamType(t))return t;if("string"==typeof t)try{return fa.from(zo(t),e)}catch(e){d(!1,"invalid param type","obj",t)}else if(t instanceof Jo){let n="",r="",s=null;$o(t,Io(["tuple"])).has("tuple")||t.peekType("OPEN_PAREN")?(r="tuple",s=t.popParams().map((t=>fa.from(t))),n=`tuple(${s.map((t=>t.format())).join(",")})`):(n=na(t.popType("TYPE")),r=n);let i=null,o=null;for(;t.length&&t.peekType("BRACKET");){const e=t.pop();i=new fa(ra,"",n,r,null,s,o,i),o=e.value,n+=e.text,r="array",s=null}let a=null;if($o(t,Mo).has("indexed")){if(!e)throw new Error("");a=!0}const c=t.peekType("ID")?t.pop().text:"";if(t.length)throw new Error("leftover tokens");return new fa(ra,c,n,r,a,s,o,i)}const n=t.name;d(!n||"string"==typeof n&&n.match(Vo),"invalid name","obj.name",n);let r=t.indexed;null!=r&&(d(e,"parameter cannot be indexed","obj.indexed",t.indexed),r=!!r);let s=t.type,i=s.match(ea);if(i){const e=parseInt(i[2]||"-1"),o=fa.from({type:i[1],components:t.components});return new fa(ra,n||"",s,"array",r,null,e,o)}if("tuple"===s||s.startsWith("tuple(")||s.startsWith("(")){const e=null!=t.components?t.components.map((t=>fa.from(t))):null;return new fa(ra,n||"",s,"tuple",r,e,null,null)}return s=na(t.type),new fa(ra,n||"",s,s,r,null,null,null)}static isParamType(t){return t&&t[sa]===ia}}class pa{type;inputs;constructor(t,e,n){w(t,ra,"Fragment"),c(this,{type:e,inputs:n=Object.freeze(n.slice())})}static from(t){if("string"==typeof t){try{pa.from(JSON.parse(t))}catch(t){}return pa.from(zo(t))}if(t instanceof Jo){switch(t.peekKeyword(Lo)){case"constructor":return wa.from(t);case"error":return ya.from(t);case"event":return ma.from(t);case"fallback":case"receive":return ba.from(t);case"function":return Aa.from(t);case"struct":return va.from(t)}}else if("object"==typeof t){switch(t.type){case"constructor":return wa.from(t);case"error":return ya.from(t);case"event":return ma.from(t);case"fallback":case"receive":return ba.from(t);case"function":return Aa.from(t);case"struct":return va.from(t)}p(!1,`unsupported type: ${t.type}`,"UNSUPPORTED_OPERATION",{operation:"Fragment.from"})}d(!1,"unsupported frgament object","obj",t)}static isConstructor(t){return wa.isFragment(t)}static isError(t){return ya.isFragment(t)}static isEvent(t){return ma.isFragment(t)}static isFunction(t){return Aa.isFragment(t)}static isStruct(t){return va.isFragment(t)}}class da extends pa{name;constructor(t,e,n,r){super(t,e,r),d("string"==typeof n&&n.match(Vo),"invalid identifier","name",n),r=Object.freeze(r.slice()),c(this,{name:n})}}function ga(t,e){return"("+e.map((e=>e.format(t))).join("full"===t?", ":",")+")"}class ya extends da{constructor(t,e,n){super(t,"error",e,n),Object.defineProperty(this,sa,{value:oa})}get selector(){return Ms(this.format("sighash")).substring(0,10)}format(t){if(null==t&&(t="sighash"),"json"===t)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});const e=[];return"sighash"!==t&&e.push("error"),e.push(this.name+ga(t,this.inputs)),e.join(" ")}static from(t){if(ya.isFragment(t))return t;if("string"==typeof t)return ya.from(zo(t));if(t instanceof Jo){const e=qo("error",t),n=Zo(t);return ta(t),new ya(ra,e,n)}return new ya(ra,t.name,t.inputs?t.inputs.map(fa.from):[])}static isFragment(t){return t&&t[sa]===oa}}class ma extends da{anonymous;constructor(t,e,n,r){super(t,"event",e,n),Object.defineProperty(this,sa,{value:aa}),c(this,{anonymous:r})}get topicHash(){return Ms(this.format("sighash"))}format(t){if(null==t&&(t="sighash"),"json"===t)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});const e=[];return"sighash"!==t&&e.push("event"),e.push(this.name+ga(t,this.inputs)),"sighash"!==t&&this.anonymous&&e.push("anonymous"),e.join(" ")}static getTopicHash(t,e){e=(e||[]).map((t=>fa.from(t)));return new ma(ra,t,e,!1).topicHash}static from(t){if(ma.isFragment(t))return t;if("string"==typeof t)try{return ma.from(zo(t))}catch(e){d(!1,"invalid event fragment","obj",t)}else if(t instanceof Jo){const e=qo("event",t),n=Zo(t,!0),r=!!$o(t,Io(["anonymous"])).has("anonymous");return ta(t),new ma(ra,e,n,r)}return new ma(ra,t.name,t.inputs?t.inputs.map((t=>fa.from(t,!0))):[],!!t.anonymous)}static isFragment(t){return t&&t[sa]===aa}}class wa extends pa{payable;gas;constructor(t,e,n,r,s){super(t,e,n),Object.defineProperty(this,sa,{value:ca}),c(this,{payable:r,gas:s})}format(t){if(p(null!=t&&"sighash"!==t,"cannot format a constructor for sighash","UNSUPPORTED_OPERATION",{operation:"format(sighash)"}),"json"===t)return JSON.stringify({type:"constructor",stateMutability:this.payable?"payable":"undefined",payable:this.payable,gas:null!=this.gas?this.gas:void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});const e=[`constructor${ga(t,this.inputs)}`];return this.payable&&e.push("payable"),null!=this.gas&&e.push(`@${this.gas.toString()}`),e.join(" ")}static from(t){if(wa.isFragment(t))return t;if("string"==typeof t)try{return wa.from(zo(t))}catch(e){d(!1,"invalid constuctor fragment","obj",t)}else if(t instanceof Jo){$o(t,Io(["constructor"]));const e=Zo(t),n=!!$o(t,Co).has("payable"),r=Xo(t);return ta(t),new wa(ra,"constructor",e,n,r)}return new wa(ra,"constructor",t.inputs?t.inputs.map(fa.from):[],!!t.payable,null!=t.gas?t.gas:null)}static isFragment(t){return t&&t[sa]===ca}}class ba extends pa{payable;constructor(t,e,n){super(t,"fallback",e),Object.defineProperty(this,sa,{value:ua}),c(this,{payable:n})}format(t){const e=0===this.inputs.length?"receive":"fallback";if("json"===t){const t=this.payable?"payable":"nonpayable";return JSON.stringify({type:e,stateMutability:t})}return`${e}()${this.payable?" payable":""}`}static from(t){if(ba.isFragment(t))return t;if("string"==typeof t)try{return ba.from(zo(t))}catch(e){d(!1,"invalid fallback fragment","obj",t)}else if(t instanceof Jo){const e=t.toString();d(t.peekKeyword(Io(["fallback","receive"])),"type must be fallback or receive","obj",e);if("receive"===t.popKeyword(Io(["fallback","receive"]))){const e=Zo(t);return d(0===e.length,"receive cannot have arguments","obj.inputs",e),$o(t,Io(["payable"])),ta(t),new ba(ra,[],!0)}let n=Zo(t);n.length?d(1===n.length&&"bytes"===n[0].type,"invalid fallback inputs","obj.inputs",n.map((t=>t.format("minimal"))).join(", ")):n=[fa.from("bytes")];const r=Wo(t);if(d("nonpayable"===r||"payable"===r,"fallback cannot be constants","obj.stateMutability",r),$o(t,Io(["returns"])).has("returns")){const e=Zo(t);d(1===e.length&&"bytes"===e[0].type,"invalid fallback outputs","obj.outputs",e.map((t=>t.format("minimal"))).join(", "))}return ta(t),new ba(ra,n,"payable"===r)}if("receive"===t.type)return new ba(ra,[],!0);if("fallback"===t.type){const e=[fa.from("bytes")],n="payable"===t.stateMutability;return new ba(ra,e,n)}d(!1,"invalid fallback description","obj",t)}static isFragment(t){return t&&t[sa]===ua}}class Aa extends da{constant;outputs;stateMutability;payable;gas;constructor(t,e,n,r,s,i){super(t,"function",e,r),Object.defineProperty(this,sa,{value:la});c(this,{constant:"view"===n||"pure"===n,gas:i,outputs:s=Object.freeze(s.slice()),payable:"payable"===n,stateMutability:n})}get selector(){return Ms(this.format("sighash")).substring(0,10)}format(t){if(null==t&&(t="sighash"),"json"===t)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:null!=this.gas?this.gas:void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t)))),outputs:this.outputs.map((e=>JSON.parse(e.format(t))))});const e=[];return"sighash"!==t&&e.push("function"),e.push(this.name+ga(t,this.inputs)),"sighash"!==t&&("nonpayable"!==this.stateMutability&&e.push(this.stateMutability),this.outputs&&this.outputs.length&&(e.push("returns"),e.push(ga(t,this.outputs))),null!=this.gas&&e.push(`@${this.gas.toString()}`)),e.join(" ")}static getSelector(t,e){e=(e||[]).map((t=>fa.from(t)));return new Aa(ra,t,"view",e,[],null).selector}static from(t){if(Aa.isFragment(t))return t;if("string"==typeof t)try{return Aa.from(zo(t))}catch(e){d(!1,"invalid function fragment","obj",t)}else if(t instanceof Jo){const e=qo("function",t),n=Zo(t),r=Wo(t);let s=[];$o(t,Io(["returns"])).has("returns")&&(s=Zo(t));const i=Xo(t);return ta(t),new Aa(ra,e,r,n,s,i)}let e=t.stateMutability;return null==e&&(e="payable","boolean"==typeof t.constant?(e="view",t.constant||(e="payable","boolean"!=typeof t.payable||t.payable||(e="nonpayable"))):"boolean"!=typeof t.payable||t.payable||(e="nonpayable")),new Aa(ra,t.name,e,t.inputs?t.inputs.map(fa.from):[],t.outputs?t.outputs.map(fa.from):[],null!=t.gas?t.gas:null)}static isFragment(t){return t&&t[sa]===la}}class va extends da{constructor(t,e,n){super(t,"struct",e,n),Object.defineProperty(this,sa,{value:ha})}format(){throw new Error("@TODO")}static from(t){if("string"==typeof t)try{return va.from(zo(t))}catch(e){d(!1,"invalid struct fragment","obj",t)}else if(t instanceof Jo){const e=qo("struct",t),n=Zo(t);return ta(t),new va(ra,e,n)}return new va(ra,t.name,t.inputs?t.inputs.map(fa.from):[])}static isFragment(t){return t&&t[sa]===ha}}const Ea=new Map;Ea.set(0,"GENERIC_PANIC"),Ea.set(1,"ASSERT_FALSE"),Ea.set(17,"OVERFLOW"),Ea.set(18,"DIVIDE_BY_ZERO"),Ea.set(33,"ENUM_RANGE_ERROR"),Ea.set(34,"BAD_STORAGE_DATA"),Ea.set(49,"STACK_UNDERFLOW"),Ea.set(50,"ARRAY_RANGE_ERROR"),Ea.set(65,"OUT_OF_MEMORY"),Ea.set(81,"UNINITIALIZED_FUNCTION_CALL");const ka=new RegExp(/^bytes([0-9]*)$/),Ta=new RegExp(/^(u?int)([0-9]*)$/);let Na=null,xa=1024;class Sa{#ct(t){if(t.isArray())return new Ns(this.#ct(t.arrayChildren),t.arrayLength,t.name);if(t.isTuple())return new Fs(t.components.map((t=>this.#ct(t))),t.name);switch(t.baseType){case"address":return new vs(t.name);case"bool":return new xs(t.name);case"string":return new Ls(t.name);case"bytes":return new Os(t.name);case"":return new Is(t.name)}let e=t.type.match(Ta);if(e){let n=parseInt(e[2]||"256");return d(0!==n&&n<=256&&n%8==0,"invalid "+e[1]+" bit length","param",t),new Us(n/8,"int"===e[1],t.name)}if(e=t.type.match(ka),e){let n=parseInt(e[1]);return d(0!==n&&n<=32,"invalid bytes length","param",t),new Ps(n,t.name)}d(!1,"invalid type","type",t.type)}getDefaultValue(t){const e=t.map((t=>this.#ct(fa.from(t))));return new Fs(e,"_").defaultValue()}encode(t,e){g(e.length,t.length,"types/values length mismatch");const n=t.map((t=>this.#ct(fa.from(t)))),r=new Fs(n,"_"),s=new Ft;return r.encode(s,e),s.data}decode(t,e,n){const r=t.map((t=>this.#ct(fa.from(t))));return new Fs(r,"_").decode(new Mt(e,n,xa))}static _setDefaultMaxInflation(t){d("number"==typeof t&&Number.isInteger(t),"invalid defaultMaxInflation factor","value",t),xa=t}static defaultAbiCoder(){return null==Na&&(Na=new Sa),Na}static getBuiltinCallException(t,e,n){return function(t,e,n,r){let s="missing revert data",i=null,o=null;if(n){s="execution reverted";const t=A(n);if(n=N(n),0===t.length)s+=" (no data present; likely require(false) occurred",i="require(false)";else if(t.length%32!=4)s+=" (could not decode reason; invalid data length)";else if("0x08c379a0"===N(t.slice(0,4)))try{i=r.decode(["string"],t.slice(4))[0],o={signature:"Error(string)",name:"Error",args:[i]},s+=`: ${JSON.stringify(i)}`}catch(t){s+=" (could not decode reason; invalid string data)"}else if("0x4e487b71"===N(t.slice(0,4)))try{const e=Number(r.decode(["uint256"],t.slice(4))[0]);o={signature:"Panic(uint256)",name:"Panic",args:[e]},i=`Panic due to ${Ea.get(e)||"UNKNOWN"}(${e})`,s+=`: ${i}`}catch(t){s+=" (could not decode panic code)"}else s+=" (unknown custom error)"}const a={to:e.to?fs(e.to):null,data:e.data||"0x"};return e.from&&(a.from=fs(e.from)),f(s,"CALL_EXCEPTION",{action:t,data:n,reason:i,transaction:a,invocation:null,revert:o})}(t,e,n,Sa.defaultAbiCoder())}}class Oa{fragment;name;signature;topic;args;constructor(t,e,n){const r=t.name,s=t.format();c(this,{fragment:t,name:r,signature:s,topic:e,args:n})}}class Pa{fragment;name;args;signature;selector;value;constructor(t,e,n,r){const s=t.name,i=t.format();c(this,{fragment:t,name:s,args:n,signature:i,selector:e,value:r})}}class Ra{fragment;name;args;signature;selector;constructor(t,e,n){const r=t.name,s=t.format();c(this,{fragment:t,name:r,args:n,signature:s,selector:e})}}class Ia{hash;_isIndexed;static isIndexed(t){return!(!t||!t._isIndexed)}constructor(t){c(this,{hash:t,_isIndexed:!0})}}const Ca={0:"generic panic",1:"assert(false)",17:"arithmetic overflow",18:"division or modulo by zero",33:"enum overflow",34:"invalid encoded storage byte array accessed",49:"out-of-bounds array access; popping on an empty array",50:"out-of-bounds access of an array or bytesN",65:"out of memory",81:"uninitialized function"},Ba={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:t=>`reverted with reason string ${JSON.stringify(t)}`},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"],reason:t=>{let e="unknown panic code";return t>=0&&t<=255&&Ca[t.toString()]&&(e=Ca[t.toString()]),`reverted with panic code 0x${t.toString(16)} (${e})`}}};class Da{fragments;deploy;fallback;receive;#ut;#lt;#ht;#ft;constructor(t){let e=[];e="string"==typeof t?JSON.parse(t):t,this.#ht=new Map,this.#ut=new Map,this.#lt=new Map;const n=[];for(const t of e)try{n.push(pa.from(t))}catch(e){console.log(`[Warning] Invalid Fragment ${JSON.stringify(t)}:`,e.message)}c(this,{fragments:Object.freeze(n)});let r=null,s=!1;this.#ft=this.getAbiCoder(),this.fragments.forEach(((t,e)=>{let n;switch(t.type){case"constructor":return this.deploy?void console.log("duplicate definition - constructor"):void c(this,{deploy:t});case"fallback":return void(0===t.inputs.length?s=!0:(d(!r||t.payable!==r.payable,"conflicting fallback fragments",`fragments[${e}]`,t),r=t,s=r.payable));case"function":n=this.#ht;break;case"event":n=this.#lt;break;case"error":n=this.#ut;break;default:return}const i=t.format();n.has(i)||n.set(i,t)})),this.deploy||c(this,{deploy:wa.from("constructor()")}),c(this,{fallback:r,receive:s})}format(t){const e=t?"minimal":"full",n=this.fragments.map((t=>t.format(e)));return n}formatJson(){const t=this.fragments.map((t=>t.format("json")));return JSON.stringify(t.map((t=>JSON.parse(t))))}getAbiCoder(){return Sa.defaultAbiCoder()}#pt(t,e,n){if(E(t)){const e=t.toLowerCase();for(const t of this.#ht.values())if(e===t.selector)return t;return null}if(-1===t.indexOf("(")){const r=[];for(const[e,n]of this.#ht)e.split("(")[0]===t&&r.push(n);if(e){const t=e.length>0?e[e.length-1]:null;let n=e.length,s=!0;As.isTyped(t)&&"overrides"===t.type&&(s=!1,n--);for(let t=r.length-1;t>=0;t--){const e=r[t].inputs.length;e===n||s&&e===n-1||r.splice(t,1)}for(let t=r.length-1;t>=0;t--){const n=r[t].inputs;for(let s=0;s<e.length;s++)if(As.isTyped(e[s])){if(s>=n.length){if("overrides"===e[s].type)continue;r.splice(t,1);break}if(e[s].type!==n[s].baseType){r.splice(t,1);break}}}}if(1===r.length&&e&&e.length!==r[0].inputs.length){const t=e[e.length-1];(null==t||Array.isArray(t)||"object"!=typeof t)&&r.splice(0,1)}if(0===r.length)return null;if(r.length>1&&n){d(!1,`ambiguous function description (i.e. matches ${r.map((t=>JSON.stringify(t.format()))).join(", ")})`,"key",t)}return r[0]}const r=this.#ht.get(Aa.from(t).format());return r||null}getFunctionName(t){const e=this.#pt(t,null,!1);return d(e,"no matching function","key",t),e.name}hasFunction(t){return!!this.#pt(t,null,!1)}getFunction(t,e){return this.#pt(t,e||null,!0)}forEachFunction(t){const e=Array.from(this.#ht.keys());e.sort(((t,e)=>t.localeCompare(e)));for(let n=0;n<e.length;n++){const r=e[n];t(this.#ht.get(r),n)}}#dt(t,e,n){if(E(t)){const e=t.toLowerCase();for(const t of this.#lt.values())if(e===t.topicHash)return t;return null}if(-1===t.indexOf("(")){const r=[];for(const[e,n]of this.#lt)e.split("(")[0]===t&&r.push(n);if(e){for(let t=r.length-1;t>=0;t--)r[t].inputs.length<e.length&&r.splice(t,1);for(let t=r.length-1;t>=0;t--){const n=r[t].inputs;for(let s=0;s<e.length;s++)if(As.isTyped(e[s])&&e[s].type!==n[s].baseType){r.splice(t,1);break}}}if(0===r.length)return null;if(r.length>1&&n){d(!1,`ambiguous event description (i.e. matches ${r.map((t=>JSON.stringify(t.format()))).join(", ")})`,"key",t)}return r[0]}const r=this.#lt.get(ma.from(t).format());return r||null}getEventName(t){const e=this.#dt(t,null,!1);return d(e,"no matching event","key",t),e.name}hasEvent(t){return!!this.#dt(t,null,!1)}getEvent(t,e){return this.#dt(t,e||null,!0)}forEachEvent(t){const e=Array.from(this.#lt.keys());e.sort(((t,e)=>t.localeCompare(e)));for(let n=0;n<e.length;n++){const r=e[n];t(this.#lt.get(r),n)}}getError(t,e){if(E(t)){const e=t.toLowerCase();if(Ba[e])return ya.from(Ba[e].signature);for(const t of this.#ut.values())if(e===t.selector)return t;return null}if(-1===t.indexOf("(")){const e=[];for(const[n,r]of this.#ut)n.split("(")[0]===t&&e.push(r);if(0===e.length)return"Error"===t?ya.from("error Error(string)"):"Panic"===t?ya.from("error Panic(uint256)"):null;if(e.length>1){d(!1,`ambiguous error description (i.e. ${e.map((t=>JSON.stringify(t.format()))).join(", ")})`,"name",t)}return e[0]}if("Error(string)"===(t=ya.from(t).format()))return ya.from("error Error(string)");if("Panic(uint256)"===t)return ya.from("error Panic(uint256)");const n=this.#ut.get(t);return n||null}forEachError(t){const e=Array.from(this.#ut.keys());e.sort(((t,e)=>t.localeCompare(e)));for(let n=0;n<e.length;n++){const r=e[n];t(this.#ut.get(r),n)}}_decodeParams(t,e){return this.#ft.decode(t,e)}_encodeParams(t,e){return this.#ft.encode(t,e)}encodeDeploy(t){return this._encodeParams(this.deploy.inputs,t||[])}decodeErrorResult(t,e){if("string"==typeof t){const e=this.getError(t);d(e,"unknown error","fragment",t),t=e}return d(O(e,0,4)===t.selector,`data signature does not match error ${t.name}.`,"data",e),this._decodeParams(t.inputs,O(e,4))}encodeErrorResult(t,e){if("string"==typeof t){const e=this.getError(t);d(e,"unknown error","fragment",t),t=e}return x([t.selector,this._encodeParams(t.inputs,e||[])])}decodeFunctionData(t,e){if("string"==typeof t){const e=this.getFunction(t);d(e,"unknown function","fragment",t),t=e}return d(O(e,0,4)===t.selector,`data signature does not match function ${t.name}.`,"data",e),this._decodeParams(t.inputs,O(e,4))}encodeFunctionData(t,e){if("string"==typeof t){const e=this.getFunction(t);d(e,"unknown function","fragment",t),t=e}return x([t.selector,this._encodeParams(t.inputs,e||[])])}decodeFunctionResult(t,e){if("string"==typeof t){const e=this.getFunction(t);d(e,"unknown function","fragment",t),t=e}let n="invalid length for result data";const r=v(e);if(r.length%32==0)try{return this.#ft.decode(t.outputs,r)}catch(t){n="could not decode result data"}p(!1,n,"BAD_DATA",{value:N(r),info:{method:t.name,signature:t.format()}})}makeError(t,e){const n=A(t,"data"),r=Sa.getBuiltinCallException("call",e,n);if(r.message.startsWith("execution reverted (unknown custom error)")){const t=N(n.slice(0,4)),e=this.getError(t);if(e)try{const t=this.#ft.decode(e.inputs,n.slice(4));r.revert={name:e.name,signature:e.format(),args:t},r.reason=r.revert.signature,r.message=`execution reverted: ${r.reason}`}catch(t){r.message="execution reverted (coult not decode custom error)"}}const s=this.parseTransaction(e);return s&&(r.invocation={method:s.name,signature:s.signature,args:s.args}),r}encodeFunctionResult(t,e){if("string"==typeof t){const e=this.getFunction(t);d(e,"unknown function","fragment",t),t=e}return N(this.#ft.encode(t.outputs,e||[]))}encodeFilterTopics(t,e){if("string"==typeof t){const e=this.getEvent(t);d(e,"unknown event","eventFragment",t),t=e}p(e.length<=t.inputs.length,`too many arguments for ${t.format()}`,"UNEXPECTED_ARGUMENT",{count:e.length,expectedCount:t.inputs.length});const n=[];t.anonymous||n.push(t.topicHash);const r=(t,e)=>"string"===t.type?Ms(e):"bytes"===t.type?en(N(e)):("bool"===t.type&&"boolean"==typeof e?e=e?"0x01":"0x00":t.type.match(/^u?int/)?e=j(e):t.type.match(/^bytes/)?e=P(e,32,!1):"address"===t.type&&this.#ft.encode(["address"],[e]),R(N(e),32));for(e.forEach(((e,s)=>{const i=t.inputs[s];i.indexed?null==e?n.push(null):"array"===i.baseType||"tuple"===i.baseType?d(!1,"filtering with tuples or arrays not supported","contract."+i.name,e):Array.isArray(e)?n.push(e.map((t=>r(i,t)))):n.push(r(i,e)):d(null==e,"cannot filter non-indexed parameters; must be null","contract."+i.name,e)}));n.length&&null===n[n.length-1];)n.pop();return n}encodeEventLog(t,e){if("string"==typeof t){const e=this.getEvent(t);d(e,"unknown event","eventFragment",t),t=e}const n=[],r=[],s=[];return t.anonymous||n.push(t.topicHash),d(e.length===t.inputs.length,"event arguments/values mismatch","values",e),t.inputs.forEach(((t,i)=>{const o=e[i];if(t.indexed)if("string"===t.type)n.push(Ms(o));else if("bytes"===t.type)n.push(en(o));else{if("tuple"===t.baseType||"array"===t.baseType)throw new Error("not implemented");n.push(this.#ft.encode([t.type],[o]))}else r.push(t),s.push(o)})),{data:this.#ft.encode(r,s),topics:n}}decodeEventLog(t,e,n){if("string"==typeof t){const e=this.getEvent(t);d(e,"unknown event","eventFragment",t),t=e}if(null!=n&&!t.anonymous){const e=t.topicHash;d(E(n[0],32)&&n[0].toLowerCase()===e,"fragment/topic mismatch","topics[0]",n[0]),n=n.slice(1)}const r=[],s=[],i=[];t.inputs.forEach(((t,e)=>{t.indexed?"string"===t.type||"bytes"===t.type||"tuple"===t.baseType||"array"===t.baseType?(r.push(fa.from({type:"bytes32",name:t.name})),i.push(!0)):(r.push(t),i.push(!1)):(s.push(t),i.push(!1))}));const o=null!=n?this.#ft.decode(r,x(n)):null,a=this.#ft.decode(s,e,!0),c=[],u=[];let l=0,h=0;return t.inputs.forEach(((t,e)=>{let n=null;if(t.indexed)if(null==o)n=new Ia(null);else if(i[e])n=new Ia(o[h++]);else try{n=o[h++]}catch(t){n=t}else try{n=a[l++]}catch(t){n=t}c.push(n),u.push(t.name||null)})),Dt.fromItems(c,u)}parseTransaction(t){const e=A(t.data,"tx.data"),n=L(null!=t.value?t.value:0,"tx.value"),r=this.getFunction(N(e.slice(0,4)));if(!r)return null;const s=this.#ft.decode(r.inputs,e.slice(4));return new Pa(r,r.selector,s,n)}parseCallResult(t){throw new Error("@TODO")}parseLog(t){const e=this.getEvent(t.topics[0]);return!e||e.anonymous?null:new Oa(e,e.topicHash,this.decodeEventLog(e,t.data,t.topics))}parseError(t){const e=N(t),n=this.getError(O(e,0,4));if(!n)return null;const r=this.#ft.decode(n.inputs,O(e,4));return new Ra(n,n.selector,r)}static from(t){return t instanceof Da?t:"string"==typeof t?new Da(JSON.parse(t)):"function"==typeof t.formatJson?new Da(t.formatJson()):"function"==typeof t.format?new Da(t.format("json")):new Da(t)}}const Ua=BigInt(0);function La(t){return null==t?null:t}function Fa(t){return null==t?null:t.toString()}class Ma{gasPrice;maxFeePerGas;maxPriorityFeePerGas;constructor(t,e,n){c(this,{gasPrice:La(t),maxFeePerGas:La(e),maxPriorityFeePerGas:La(n)})}toJSON(){const{gasPrice:t,maxFeePerGas:e,maxPriorityFeePerGas:n}=this;return{_type:"FeeData",gasPrice:Fa(t),maxFeePerGas:Fa(e),maxPriorityFeePerGas:Fa(n)}}}function _a(t){const e={};t.to&&(e.to=t.to),t.from&&(e.from=t.from),t.data&&(e.data=N(t.data));const n="chainId,gasLimit,gasPrice,maxFeePerBlobGas,maxFeePerGas,maxPriorityFeePerGas,value".split(/,/);for(const r of n)r in t&&null!=t[r]&&(e[r]=L(t[r],`request.${r}`));const r="type,nonce".split(/,/);for(const n of r)n in t&&null!=t[n]&&(e[n]=G(t[n],`request.${n}`));return t.accessList&&(e.accessList=Yi(t.accessList)),"blockTag"in t&&(e.blockTag=t.blockTag),"enableCcipRead"in t&&(e.enableCcipRead=!!t.enableCcipRead),"customData"in t&&(e.customData=t.customData),"blobVersionedHashes"in t&&t.blobVersionedHashes&&(e.blobVersionedHashes=t.blobVersionedHashes.slice()),"kzg"in t&&(e.kzg=t.kzg),"blobs"in t&&t.blobs&&(e.blobs=t.blobs.map((t=>k(t)?N(t):Object.assign({},t)))),e}class Ga{provider;number;hash;timestamp;parentHash;parentBeaconBlockRoot;nonce;difficulty;gasLimit;gasUsed;stateRoot;receiptsRoot;blobGasUsed;excessBlobGas;miner;prevRandao;extraData;baseFeePerGas;#gt;constructor(t,e){this.#gt=t.transactions.map((t=>"string"!=typeof t?new Ka(t,e):t)),c(this,{provider:e,hash:La(t.hash),number:t.number,timestamp:t.timestamp,parentHash:t.parentHash,parentBeaconBlockRoot:t.parentBeaconBlockRoot,nonce:t.nonce,difficulty:t.difficulty,gasLimit:t.gasLimit,gasUsed:t.gasUsed,blobGasUsed:t.blobGasUsed,excessBlobGas:t.excessBlobGas,miner:t.miner,prevRandao:La(t.prevRandao),extraData:t.extraData,baseFeePerGas:La(t.baseFeePerGas),stateRoot:t.stateRoot,receiptsRoot:t.receiptsRoot})}get transactions(){return this.#gt.map((t=>"string"==typeof t?t:t.hash))}get prefetchedTransactions(){const t=this.#gt.slice();return 0===t.length?[]:(p("object"==typeof t[0],"transactions were not prefetched with block request","UNSUPPORTED_OPERATION",{operation:"transactionResponses()"}),t)}toJSON(){const{baseFeePerGas:t,difficulty:e,extraData:n,gasLimit:r,gasUsed:s,hash:i,miner:o,prevRandao:a,nonce:c,number:u,parentHash:l,parentBeaconBlockRoot:h,stateRoot:f,receiptsRoot:p,timestamp:d,transactions:g}=this;return{_type:"Block",baseFeePerGas:Fa(t),difficulty:Fa(e),extraData:n,gasLimit:Fa(r),gasUsed:Fa(s),blobGasUsed:Fa(this.blobGasUsed),excessBlobGas:Fa(this.excessBlobGas),hash:i,miner:o,prevRandao:a,nonce:c,number:u,parentHash:l,timestamp:d,parentBeaconBlockRoot:h,stateRoot:f,receiptsRoot:p,transactions:g}}[Symbol.iterator](){let t=0;const e=this.transactions;return{next:()=>t<this.length?{value:e[t++],done:!1}:{value:void 0,done:!0}}}get length(){return this.#gt.length}get date(){return null==this.timestamp?null:new Date(1e3*this.timestamp)}async getTransaction(t){let e;if("number"==typeof t)e=this.#gt[t];else{const n=t.toLowerCase();for(const t of this.#gt){if("string"==typeof t){if(t!==n)continue;e=t;break}if(t.hash!==n){e=t;break}}}if(null==e)throw new Error("no such tx");return"string"==typeof e?await this.provider.getTransaction(e):e}getPrefetchedTransaction(t){const e=this.prefetchedTransactions;if("number"==typeof t)return e[t];t=t.toLowerCase();for(const n of e)if(n.hash===t)return n;d(!1,"no matching transaction","indexOrHash",t)}isMined(){return!!this.hash}isLondon(){return!!this.baseFeePerGas}orphanedEvent(){if(!this.isMined())throw new Error("");return{orphan:"drop-block",hash:(t=this).hash,number:t.number};var t}}class ja{provider;transactionHash;blockHash;blockNumber;removed;address;data;topics;index;transactionIndex;constructor(t,e){this.provider=e;const n=Object.freeze(t.topics.slice());c(this,{transactionHash:t.transactionHash,blockHash:t.blockHash,blockNumber:t.blockNumber,removed:t.removed,address:t.address,data:t.data,topics:n,index:t.index,transactionIndex:t.transactionIndex})}toJSON(){const{address:t,blockHash:e,blockNumber:n,data:r,index:s,removed:i,topics:o,transactionHash:a,transactionIndex:c}=this;return{_type:"log",address:t,blockHash:e,blockNumber:n,data:r,index:s,removed:i,topics:o,transactionHash:a,transactionIndex:c}}async getBlock(){const t=await this.provider.getBlock(this.blockHash);return p(!!t,"failed to find transaction","UNKNOWN_ERROR",{}),t}async getTransaction(){const t=await this.provider.getTransaction(this.transactionHash);return p(!!t,"failed to find transaction","UNKNOWN_ERROR",{}),t}async getTransactionReceipt(){const t=await this.provider.getTransactionReceipt(this.transactionHash);return p(!!t,"failed to find transaction receipt","UNKNOWN_ERROR",{}),t}removedEvent(){return{orphan:"drop-log",log:{transactionHash:(t=this).transactionHash,blockHash:t.blockHash,blockNumber:t.blockNumber,address:t.address,data:t.data,topics:Object.freeze(t.topics.slice()),index:t.index}};var t}}class Ha{provider;to;from;contractAddress;hash;index;blockHash;blockNumber;logsBloom;gasUsed;blobGasUsed;cumulativeGasUsed;gasPrice;blobGasPrice;type;status;root;#yt;constructor(t,e){this.#yt=Object.freeze(t.logs.map((t=>new ja(t,e))));let n=Ua;null!=t.effectiveGasPrice?n=t.effectiveGasPrice:null!=t.gasPrice&&(n=t.gasPrice),c(this,{provider:e,to:t.to,from:t.from,contractAddress:t.contractAddress,hash:t.hash,index:t.index,blockHash:t.blockHash,blockNumber:t.blockNumber,logsBloom:t.logsBloom,gasUsed:t.gasUsed,cumulativeGasUsed:t.cumulativeGasUsed,blobGasUsed:t.blobGasUsed,gasPrice:n,blobGasPrice:t.blobGasPrice,type:t.type,status:t.status,root:t.root})}get logs(){return this.#yt}toJSON(){const{to:t,from:e,contractAddress:n,hash:r,index:s,blockHash:i,blockNumber:o,logsBloom:a,logs:c,status:u,root:l}=this;return{_type:"TransactionReceipt",blockHash:i,blockNumber:o,contractAddress:n,cumulativeGasUsed:Fa(this.cumulativeGasUsed),from:e,gasPrice:Fa(this.gasPrice),blobGasUsed:Fa(this.blobGasUsed),blobGasPrice:Fa(this.blobGasPrice),gasUsed:Fa(this.gasUsed),hash:r,index:s,logs:c,logsBloom:a,root:l,status:u,to:t}}get length(){return this.logs.length}[Symbol.iterator](){let t=0;return{next:()=>t<this.length?{value:this.logs[t++],done:!1}:{value:void 0,done:!0}}}get fee(){return this.gasUsed*this.gasPrice}async getBlock(){const t=await this.provider.getBlock(this.blockHash);if(null==t)throw new Error("TODO");return t}async getTransaction(){const t=await this.provider.getTransaction(this.hash);if(null==t)throw new Error("TODO");return t}async getResult(){return await this.provider.getTransactionResult(this.hash)}async confirmations(){return await this.provider.getBlockNumber()-this.blockNumber+1}removedEvent(){return Qa(this)}reorderedEvent(t){return p(!t||t.isMined(),"unmined 'other' transction cannot be orphaned","UNSUPPORTED_OPERATION",{operation:"reorderedEvent(other)"}),Va(this,t)}}class Ka{provider;blockNumber;blockHash;index;hash;type;to;from;nonce;gasLimit;gasPrice;maxPriorityFeePerGas;maxFeePerGas;maxFeePerBlobGas;data;value;chainId;signature;accessList;blobVersionedHashes;#mt;constructor(t,e){this.provider=e,this.blockNumber=null!=t.blockNumber?t.blockNumber:null,this.blockHash=null!=t.blockHash?t.blockHash:null,this.hash=t.hash,this.index=t.index,this.type=t.type,this.from=t.from,this.to=t.to||null,this.gasLimit=t.gasLimit,this.nonce=t.nonce,this.data=t.data,this.value=t.value,this.gasPrice=t.gasPrice,this.maxPriorityFeePerGas=null!=t.maxPriorityFeePerGas?t.maxPriorityFeePerGas:null,this.maxFeePerGas=null!=t.maxFeePerGas?t.maxFeePerGas:null,this.maxFeePerBlobGas=null!=t.maxFeePerBlobGas?t.maxFeePerBlobGas:null,this.chainId=t.chainId,this.signature=t.signature,this.accessList=null!=t.accessList?t.accessList:null,this.blobVersionedHashes=null!=t.blobVersionedHashes?t.blobVersionedHashes:null,this.#mt=-1}toJSON(){const{blockNumber:t,blockHash:e,index:n,hash:r,type:s,to:i,from:o,nonce:a,data:c,signature:u,accessList:l,blobVersionedHashes:h}=this;return{_type:"TransactionResponse",accessList:l,blockNumber:t,blockHash:e,blobVersionedHashes:h,chainId:Fa(this.chainId),data:c,from:o,gasLimit:Fa(this.gasLimit),gasPrice:Fa(this.gasPrice),hash:r,maxFeePerGas:Fa(this.maxFeePerGas),maxPriorityFeePerGas:Fa(this.maxPriorityFeePerGas),maxFeePerBlobGas:Fa(this.maxFeePerBlobGas),nonce:a,signature:u,to:i,index:n,type:s,value:Fa(this.value)}}async getBlock(){let t=this.blockNumber;if(null==t){const e=await this.getTransaction();e&&(t=e.blockNumber)}if(null==t)return null;const e=this.provider.getBlock(t);if(null==e)throw new Error("TODO");return e}async getTransaction(){return this.provider.getTransaction(this.hash)}async confirmations(){if(null==this.blockNumber){const{tx:t,blockNumber:e}=await a({tx:this.getTransaction(),blockNumber:this.provider.getBlockNumber()});return null==t||null==t.blockNumber?0:e-t.blockNumber+1}return await this.provider.getBlockNumber()-this.blockNumber+1}async wait(t,e){const n=null==t?1:t,r=null==e?0:e;let s=this.#mt,i=-1,o=-1===s;const c=async()=>{if(o)return null;const{blockNumber:t,nonce:e}=await a({blockNumber:this.provider.getBlockNumber(),nonce:this.provider.getTransactionCount(this.from)});if(e<this.nonce)return void(s=t);if(o)return null;const r=await this.getTransaction();if(!r||null==r.blockNumber)for(-1===i&&(i=s-3,i<this.#mt&&(i=this.#mt));i<=t;){if(o)return null;const e=await this.provider.getBlock(i,!0);if(null==e)return;for(const t of e)if(t===this.hash)return;for(let r=0;r<e.length;r++){const i=await e.getTransaction(r);if(i.from===this.from&&i.nonce===this.nonce){if(o)return null;const e=await this.provider.getTransactionReceipt(i.hash);if(null==e)return;if(t-e.blockNumber+1<n)return;let r="replaced";i.data===this.data&&i.to===this.to&&i.value===this.value?r="repriced":"0x"===i.data&&i.from===i.to&&i.value===Ua&&(r="cancelled"),p(!1,"transaction was replaced","TRANSACTION_REPLACED",{cancelled:"replaced"===r||"cancelled"===r,reason:r,replacement:i.replaceableTransaction(s),hash:i.hash,receipt:e})}}i++}},u=t=>{if(null==t||0!==t.status)return t;p(!1,"transaction execution reverted","CALL_EXCEPTION",{action:"sendTransaction",data:null,reason:null,invocation:null,revert:null,transaction:{to:t.to,from:t.from,data:""},receipt:t})},h=await this.provider.getTransactionReceipt(this.hash);if(0===n)return u(h);if(h){if(await h.confirmations()>=n)return u(h)}else if(await c(),0===n)return null;const d=new Promise(((t,e)=>{const i=[],a=()=>{i.forEach((t=>t()))};if(i.push((()=>{o=!0})),r>0){const t=setTimeout((()=>{a(),e(f("wait for transaction timeout","TIMEOUT"))}),r);i.push((()=>{clearTimeout(t)}))}const h=async r=>{if(await r.confirmations()>=n){a();try{t(u(r))}catch(t){e(t)}}};if(i.push((()=>{this.provider.off(this.hash,h)})),this.provider.on(this.hash,h),s>=0){const t=async()=>{try{await c()}catch(t){if(l(t,"TRANSACTION_REPLACED"))return a(),void e(t)}o||this.provider.once("block",t)};i.push((()=>{this.provider.off("block",t)})),this.provider.once("block",t)}}));return await d}isMined(){return null!=this.blockHash}isLegacy(){return 0===this.type}isBerlin(){return 1===this.type}isLondon(){return 2===this.type}isCancun(){return 3===this.type}removedEvent(){return p(this.isMined(),"unmined transaction canot be orphaned","UNSUPPORTED_OPERATION",{operation:"removeEvent()"}),Qa(this)}reorderedEvent(t){return p(this.isMined(),"unmined transaction canot be orphaned","UNSUPPORTED_OPERATION",{operation:"removeEvent()"}),p(!t||t.isMined(),"unmined 'other' transaction canot be orphaned","UNSUPPORTED_OPERATION",{operation:"removeEvent()"}),Va(this,t)}replaceableTransaction(t){d(Number.isInteger(t)&&t>=0,"invalid startBlock","startBlock",t);const e=new Ka(this,this.provider);return e.#mt=t,e}}function Va(t,e){return{orphan:"reorder-transaction",tx:t,other:e}}function Qa(t){return{orphan:"drop-transaction",tx:t}}class Ja extends ja{interface;fragment;args;constructor(t,e,n){super(t,t.provider);c(this,{args:e.decodeEventLog(n,t.data,t.topics),fragment:n,interface:e})}get eventName(){return this.fragment.name}get eventSignature(){return this.fragment.format()}}class za extends ja{error;constructor(t,e){super(t,t.provider),c(this,{error:e})}}class Ya extends Ha{#wt;constructor(t,e,n){super(n,e),this.#wt=t}get logs(){return super.logs.map((t=>{const e=t.topics.length?this.#wt.getEvent(t.topics[0]):null;if(e)try{return new Ja(t,this.#wt,e)}catch(e){return new za(t,e)}return t}))}}class qa extends Ka{#wt;constructor(t,e,n){super(n,e),this.#wt=t}async wait(t,e){const n=await super.wait(t,e);return null==n?null:new Ya(this.#wt,this.provider,n)}}class $a extends ${log;constructor(t,e,n,r){super(t,e,n),c(this,{log:r})}async getBlock(){return await this.log.getBlock()}async getTransaction(){return await this.log.getTransaction()}async getTransactionReceipt(){return await this.log.getTransactionReceipt()}}class Wa extends $a{constructor(t,e,n,r,s){super(t,e,n,new Ja(s,t.interface,r));c(this,{args:t.interface.decodeEventLog(r,this.log.data,this.log.topics),fragment:r})}get eventName(){return this.fragment.name}get eventSignature(){return this.fragment.format()}}const Za=BigInt(0);function Xa(t){return t&&"function"==typeof t.call}function tc(t){return t&&"function"==typeof t.estimateGas}function ec(t){return t&&"function"==typeof t.resolveName}function nc(t){return t&&"function"==typeof t.sendTransaction}function rc(t){if(null!=t){if(ec(t))return t;if(t.provider)return t.provider}}class sc{#bt;fragment;constructor(t,e,n){if(c(this,{fragment:e}),e.inputs.length<n.length)throw new Error("too many arguments");const r=ic(t.runner,"resolveName"),s=ec(r)?r:null;this.#bt=async function(){const r=await Promise.all(e.inputs.map(((t,e)=>null==n[e]?null:t.walkAsync(n[e],((t,e)=>"address"===t?Array.isArray(e)?Promise.all(e.map((t=>gs(t,s)))):gs(e,s):e)))));return t.interface.encodeFilterTopics(e,r)}()}getTopicFilter(){return this.#bt}}function ic(t,e){return null==t?null:"function"==typeof t[e]?t:t.provider&&"function"==typeof t.provider[e]?t.provider:null}function oc(t){return null==t?null:t.provider||null}async function ac(t,e){const n=As.dereference(t,"overrides");d("object"==typeof n,"invalid overrides parameter","overrides",t);const r=_a(n);return d(null==r.to||(e||[]).indexOf("to")>=0,"cannot override to","overrides.to",r.to),d(null==r.data||(e||[]).indexOf("data")>=0,"cannot override data","overrides.data",r.data),r.from&&(r.from=r.from),r}function cc(t){const e=async function(e){const n=await ac(e,["data"]);n.to=await t.getAddress(),n.from&&(n.from=await gs(n.from,rc(t.runner)));const r=t.interface,s=L(n.value||Za,"overrides.value")===Za,i="0x"===(n.data||"0x");!r.fallback||r.fallback.payable||!r.receive||i||s||d(!1,"cannot send data to receive or send value to non-payable fallback","overrides",e),d(r.fallback||i,"cannot send data to receive-only contract","overrides.data",n.data);return d(r.receive||r.fallback&&r.fallback.payable||s,"cannot send value to non-payable fallback","overrides.value",n.value),d(r.fallback||i,"cannot send data to receive-only contract","overrides.data",n.data),n},n=async function(n){const r=t.runner;p(nc(r),"contract runner does not support sending transactions","UNSUPPORTED_OPERATION",{operation:"sendTransaction"});const s=await r.sendTransaction(await e(n)),i=oc(t.runner);return new qa(t.interface,i,s)},r=async t=>await n(t);return c(r,{_contract:t,estimateGas:async function(n){const r=ic(t.runner,"estimateGas");return p(tc(r),"contract runner does not support gas estimation","UNSUPPORTED_OPERATION",{operation:"estimateGas"}),await r.estimateGas(await e(n))},populateTransaction:e,send:n,staticCall:async function(n){const r=ic(t.runner,"call");p(Xa(r),"contract runner does not support calling","UNSUPPORTED_OPERATION",{operation:"call"});const s=await e(n);try{return await r.call(s)}catch(e){if(h(e)&&e.data)throw t.interface.makeError(e.data,s);throw e}}}),r}function uc(t,e){const n=function(...n){const r=t.interface.getFunction(e,n);return p(r,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:e,args:n}}),r},r=async function(...e){const r=n(...e);let s={};if(r.inputs.length+1===e.length&&(s=await ac(e.pop()),s.from&&(s.from=await gs(s.from,rc(t.runner)))),r.inputs.length!==e.length)throw new Error("internal error: fragment inputs doesn't match arguments; should not happen");const i=await async function(t,e,n){const r=ic(t,"resolveName"),s=ec(r)?r:null;return await Promise.all(e.map(((t,e)=>t.walkAsync(n[e],((t,e)=>(e=As.dereference(e,t),"address"===t?gs(e,s):e))))))}(t.runner,r.inputs,e);return Object.assign({},s,await a({to:t.getAddress(),data:t.interface.encodeFunctionData(r,i)}))},s=async function(...t){const e=await o(...t);return 1===e.length?e[0]:e},i=async function(...e){const n=t.runner;p(nc(n),"contract runner does not support sending transactions","UNSUPPORTED_OPERATION",{operation:"sendTransaction"});const s=await n.sendTransaction(await r(...e)),i=oc(t.runner);return new qa(t.interface,i,s)},o=async function(...e){const s=ic(t.runner,"call");p(Xa(s),"contract runner does not support calling","UNSUPPORTED_OPERATION",{operation:"call"});const i=await r(...e);let o="0x";try{o=await s.call(i)}catch(e){if(h(e)&&e.data)throw t.interface.makeError(e.data,i);throw e}const a=n(...e);return t.interface.decodeFunctionResult(a,o)},u=async(...t)=>n(...t).constant?await s(...t):await i(...t);return c(u,{name:t.interface.getFunctionName(e),_contract:t,_key:e,getFragment:n,estimateGas:async function(...e){const n=ic(t.runner,"estimateGas");return p(tc(n),"contract runner does not support gas estimation","UNSUPPORTED_OPERATION",{operation:"estimateGas"}),await n.estimateGas(await r(...e))},populateTransaction:r,send:i,staticCall:s,staticCallResult:o}),Object.defineProperty(u,"fragment",{configurable:!1,enumerable:!0,get:()=>{const n=t.interface.getFunction(e);return p(n,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:e}}),n}}),u}const lc=Symbol.for("_ethersInternal_contract"),hc=new WeakMap;function fc(t){return hc.get(t[lc])}async function pc(t,e){let n,r=null;if(Array.isArray(e)){const r=function(e){if(E(e,32))return e;const n=t.interface.getEvent(e);return d(n,"unknown fragment","name",e),n.topicHash};n=e.map((t=>null==t?null:Array.isArray(t)?t.map(r):r(t)))}else"*"===e?n=[null]:"string"==typeof e?E(e,32)?n=[e]:(r=t.interface.getEvent(e),d(r,"unknown fragment","event",e),n=[r.topicHash]):(s=e)&&"object"==typeof s&&"getTopicFilter"in s&&"function"==typeof s.getTopicFilter&&s.fragment?n=await e.getTopicFilter():"fragment"in e?(r=e.fragment,n=[r.topicHash]):d(!1,"unknown event name","event",e);var s;n=n.map((t=>{if(null==t)return null;if(Array.isArray(t)){const e=Array.from(new Set(t.map((t=>t.toLowerCase()))).values());return 1===e.length?e[0]:(e.sort(),e)}return t.toLowerCase()}));return{fragment:r,tag:n.map((t=>null==t?"null":Array.isArray(t)?t.join("|"):t)).join("&"),topics:n}}async function dc(t,e){const{subs:n}=fc(t);return n.get((await pc(t,e)).tag)||null}async function gc(t,e,n){const r=oc(t.runner);p(r,"contract runner does not support subscribing","UNSUPPORTED_OPERATION",{operation:e});const{fragment:s,tag:i,topics:o}=await pc(t,n),{addr:a,subs:c}=fc(t);let u=c.get(i);if(!u){const e={address:a||t,topics:o},l=e=>{let r=s;if(null==r)try{r=t.interface.getEvent(e.topics[0])}catch(t){}if(r){const i=r,o=s?t.interface.decodeEventLog(s,e.data,e.topics):[];mc(t,n,o,(r=>new Wa(t,r,n,i,e)))}else mc(t,n,[],(r=>new $a(t,r,n,e)))};let h=[];u={tag:i,listeners:[],start:()=>{h.length||h.push(r.on(e,l))},stop:async()=>{if(0==h.length)return;let t=h;h=[],await Promise.all(t),r.off(e,l)}},c.set(i,u)}return u}let yc=Promise.resolve();async function mc(t,e,n,r){try{await yc}catch(t){}const s=async function(t,e,n,r){await yc;const s=await dc(t,e);if(!s)return!1;const i=s.listeners.length;return s.listeners=s.listeners.filter((({listener:e,once:s})=>{const i=Array.from(n);r&&i.push(r(s?null:e));try{e.call(t,...i)}catch(t){}return!s})),0===s.listeners.length&&(s.stop(),fc(t).subs.delete(s.tag)),i>0}(t,e,n,r);return yc=s,await s}const wc=["then"];class bc{target;interface;runner;filters;[lc];fallback;constructor(t,e,n,r){d("string"==typeof t||ps(t),"invalid value for Contract target","target",t),null==n&&(n=null);const s=Da.from(e);let i;c(this,{target:t,runner:n,interface:s}),Object.defineProperty(this,lc,{value:{}});let o=null,a=null;if(r){const t=oc(n);a=new qa(this.interface,t,r)}let u=new Map;if("string"==typeof t)if(E(t))o=t,i=Promise.resolve(t);else{const e=ic(n,"resolveName");if(!ec(e))throw f("contract runner does not support name resolution","UNSUPPORTED_OPERATION",{operation:"resolveName"});i=e.resolveName(t).then((e=>{if(null==e)throw f("an ENS name used for a contract target must be correctly configured","UNCONFIGURED_NAME",{value:t});return fc(this).addr=e,e}))}else i=t.getAddress().then((t=>{if(null==t)throw new Error("TODO");return fc(this).addr=t,t}));var h,p;h=this,p={addrPromise:i,addr:o,deployTx:a,subs:u},hc.set(h[lc],p);const g=new Proxy({},{get:(t,e,n)=>{if("symbol"==typeof e||wc.indexOf(e)>=0)return Reflect.get(t,e,n);try{return this.getEvent(e)}catch(t){if(!l(t,"INVALID_ARGUMENT")||"key"!==t.argument)throw t}},has:(t,e)=>wc.indexOf(e)>=0?Reflect.has(t,e):Reflect.has(t,e)||this.interface.hasEvent(String(e))});return c(this,{filters:g}),c(this,{fallback:s.receive||s.fallback?cc(this):null}),new Proxy(this,{get:(t,e,n)=>{if("symbol"==typeof e||e in t||wc.indexOf(e)>=0)return Reflect.get(t,e,n);try{return t.getFunction(e)}catch(t){if(!l(t,"INVALID_ARGUMENT")||"key"!==t.argument)throw t}},has:(t,e)=>"symbol"==typeof e||e in t||wc.indexOf(e)>=0?Reflect.has(t,e):t.interface.hasFunction(e)})}connect(t){return new bc(this.target,this.interface,t)}attach(t){return new bc(t,this.interface,this.runner)}async getAddress(){return await fc(this).addrPromise}async getDeployedCode(){const t=oc(this.runner);p(t,"runner does not support .provider","UNSUPPORTED_OPERATION",{operation:"getDeployedCode"});const e=await t.getCode(await this.getAddress());return"0x"===e?null:e}async waitForDeployment(){const t=this.deploymentTransaction();if(t)return await t.wait(),this;if(null!=await this.getDeployedCode())return this;const e=oc(this.runner);return p(null!=e,"contract runner does not support .provider","UNSUPPORTED_OPERATION",{operation:"waitForDeployment"}),new Promise(((t,n)=>{const r=async()=>{try{if(null!=await this.getDeployedCode())return t(this);e.once("block",r)}catch(t){n(t)}};r()}))}deploymentTransaction(){return fc(this).deployTx}getFunction(t){"string"!=typeof t&&(t=t.format());return uc(this,t)}getEvent(t){return"string"!=typeof t&&(t=t.format()),function(t,e){const n=function(...n){const r=t.interface.getEvent(e,n);return p(r,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:e,args:n}}),r},r=function(...e){return new sc(t,n(...e),e)};return c(r,{name:t.interface.getEventName(e),_contract:t,_key:e,getFragment:n}),Object.defineProperty(r,"fragment",{configurable:!1,enumerable:!0,get:()=>{const n=t.interface.getEvent(e);return p(n,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:e}}),n}}),r}(this,t)}async queryTransaction(t){throw new Error("@TODO")}async queryFilter(t,e,n){null==e&&(e=0),null==n&&(n="latest");const{addr:r,addrPromise:s}=fc(this),i=r||await s,{fragment:o,topics:a}=await pc(this,t),c={address:i,topics:a,fromBlock:e,toBlock:n},u=oc(this.runner);return p(u,"contract runner does not have a provider","UNSUPPORTED_OPERATION",{operation:"queryFilter"}),(await u.getLogs(c)).map((t=>{let e=o;if(null==e)try{e=this.interface.getEvent(t.topics[0])}catch(t){}if(e)try{return new Ja(t,this.interface,e)}catch(e){return new za(t,e)}return new ja(t,u)}))}async on(t,e){const n=await gc(this,"on",t);return n.listeners.push({listener:e,once:!1}),n.start(),this}async once(t,e){const n=await gc(this,"once",t);return n.listeners.push({listener:e,once:!0}),n.start(),this}async emit(t,...e){return await mc(this,t,e,null)}async listenerCount(t){if(t){const e=await dc(this,t);return e?e.listeners.length:0}const{subs:e}=fc(this);let n=0;for(const{listeners:t}of e.values())n+=t.length;return n}async listeners(t){if(t){const e=await dc(this,t);return e?e.listeners.map((({listener:t})=>t)):[]}const{subs:e}=fc(this);let n=[];for(const{listeners:t}of e.values())n=n.concat(t.map((({listener:t})=>t)));return n}async off(t,e){const n=await dc(this,t);if(!n)return this;if(e){const t=n.listeners.map((({listener:t})=>t)).indexOf(e);t>=0&&n.listeners.splice(t,1)}return null!=e&&0!==n.listeners.length||(n.stop(),fc(this).subs.delete(n.tag)),this}async removeAllListeners(t){if(t){const e=await dc(this,t);if(!e)return this;e.stop(),fc(this).subs.delete(e.tag)}else{const{subs:t}=fc(this);for(const{tag:e,stop:n}of t.values())n(),t.delete(e)}return this}async addListener(t,e){return await this.on(t,e)}async removeListener(t,e){return await this.off(t,e)}static buildClass(t){return class extends bc{constructor(e,n=null){super(e,t,n)}}}static from(t,e,n){null==n&&(n=null);return new this(t,e,n)}}let Ac=class extends(function(){return bc}()){};function vc(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):d(!1,"unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}class Ec{name;constructor(t){c(this,{name:t})}connect(t){return this}supportsCoinType(t){return!1}async encodeAddress(t,e){throw new Error("unsupported coin")}async decodeAddress(t,e){throw new Error("unsupported coin")}}const kc=new RegExp("^(ipfs)://(.*)$","i"),Tc=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),kc,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];class Nc{provider;address;name;#At;#vt;constructor(t,e,n){c(this,{provider:t,address:e,name:n}),this.#At=null,this.#vt=new Ac(e,["function supportsInterface(bytes4) view returns (bool)","function resolve(bytes, bytes) view returns (bytes)","function addr(bytes32) view returns (address)","function addr(bytes32, uint) view returns (bytes)","function text(bytes32, string) view returns (string)","function contenthash(bytes32) view returns (bytes)"],t)}async supportsWildcard(){return null==this.#At&&(this.#At=(async()=>{try{return await this.#vt.supportsInterface("0x9061b923")}catch(t){if(l(t,"CALL_EXCEPTION"))return!1;throw this.#At=null,t}})()),await this.#At}async#Et(t,e){e=(e||[]).slice();const n=this.#vt.interface;e.unshift(Qi(this.name));let r=null;await this.supportsWildcard()&&(r=n.getFunction(t),p(r,"missing fragment","UNKNOWN_ERROR",{info:{funcName:t}}),e=[Ji(this.name,255),n.encodeFunctionData(r,e)],t="resolve(bytes,bytes)"),e.push({enableCcipRead:!0});try{const s=await this.#vt[t](...e);return r?n.decodeFunctionResult(r,s)[0]:s}catch(t){if(!l(t,"CALL_EXCEPTION"))throw t}return null}async getAddress(t){if(null==t&&(t=60),60===t)try{const t=await this.#Et("addr(bytes32)");return null==t||t===qr?null:t}catch(t){if(l(t,"CALL_EXCEPTION"))return null;throw t}if(t>=0&&t<2147483648){let e=t+2147483648;const n=await this.#Et("addr(bytes32,uint)",[e]);if(E(n,20))return fs(n)}let e=null;for(const n of this.provider.plugins)if(n instanceof Ec&&n.supportsCoinType(t)){e=n;break}if(null==e)return null;const n=await this.#Et("addr(bytes32,uint)",[t]);if(null==n||"0x"===n)return null;const r=await e.decodeAddress(t,n);if(null!=r)return r;p(!1,"invalid coin data","UNSUPPORTED_OPERATION",{operation:`getAddress(${t})`,info:{coinType:t,data:n}})}async getText(t){const e=await this.#Et("text(bytes32,string)",[t]);return null==e||"0x"===e?null:e}async getContentHash(){const t=await this.#Et("contenthash(bytes32)");if(null==t||"0x"===t)return null;const e=t.match(/^0x(e3010170|e5010172)(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);if(e){const t="e3010170"===e[1]?"ipfs":"ipns",n=parseInt(e[4],16);if(e[5].length===2*n)return`${t}://${q("0x"+e[2])}`}const n=t.match(/^0xe40101fa011b20([0-9a-f]*)$/);if(n&&64===n[1].length)return`bzz://${n[1]}`;p(!1,"invalid or unsupported content hash data","UNSUPPORTED_OPERATION",{operation:"getContentHash()",info:{data:t}})}async getAvatar(){return(await this._getAvatar()).url}async _getAvatar(){const t=[{type:"name",value:this.name}];try{const e=await this.getText("avatar");if(null==e)return t.push({type:"!avatar",value:""}),{url:null,linkage:t};t.push({type:"avatar",value:e});for(let n=0;n<Tc.length;n++){const r=e.match(Tc[n]);if(null==r)continue;const s=r[1].toLowerCase();switch(s){case"https":case"data":return t.push({type:"url",value:e}),{linkage:t,url:e};case"ipfs":{const n=vc(e);return t.push({type:"ipfs",value:e}),t.push({type:"url",value:n}),{linkage:t,url:n}}case"erc721":case"erc1155":{const n="erc721"===s?"tokenURI(uint256)":"uri(uint256)";t.push({type:s,value:e});const i=await this.getAddress();if(null==i)return t.push({type:"!owner",value:""}),{url:null,linkage:t};const o=(r[2]||"").split("/");if(2!==o.length)return t.push({type:`!${s}caip`,value:r[2]||""}),{url:null,linkage:t};const a=o[1],c=new Ac(o[0],["function tokenURI(uint) view returns (string)","function ownerOf(uint) view returns (address)","function uri(uint) view returns (string)","function balanceOf(address, uint256) view returns (uint)"],this.provider);if("erc721"===s){const e=await c.ownerOf(a);if(i!==e)return t.push({type:"!owner",value:e}),{url:null,linkage:t};t.push({type:"owner",value:e})}else if("erc1155"===s){const e=await c.balanceOf(i,a);if(!e)return t.push({type:"!balance",value:"0"}),{url:null,linkage:t};t.push({type:"balance",value:e.toString()})}let u=await c[n](a);if(null==u||"0x"===u)return t.push({type:"!metadata-url",value:""}),{url:null,linkage:t};t.push({type:"metadata-url-base",value:u}),"erc1155"===s&&(u=u.replace("{id}",j(a,32).substring(2)),t.push({type:"metadata-url-expanded",value:u})),u.match(/^ipfs:/i)&&(u=vc(u)),t.push({type:"metadata-url",value:u});let l={};const h=await new ft(u).send();h.assertOk();try{l=h.bodyJson}catch(e){try{t.push({type:"!metadata",value:h.bodyText})}catch(e){const n=h.body;return n&&t.push({type:"!metadata",value:N(n)}),{url:null,linkage:t}}return{url:null,linkage:t}}if(!l)return t.push({type:"!metadata",value:""}),{url:null,linkage:t};t.push({type:"metadata",value:JSON.stringify(l)});let f=l.image;if("string"!=typeof f)return t.push({type:"!imageUrl",value:""}),{url:null,linkage:t};if(f.match(/^(https:\/\/|data:)/i));else{if(null==f.match(kc))return t.push({type:"!imageUrl-ipfs",value:f}),{url:null,linkage:t};t.push({type:"imageUrl-ipfs",value:f}),f=vc(f)}return t.push({type:"url",value:f}),{linkage:t,url:f}}}}}catch(t){}return{linkage:t,url:null}}static async getEnsAddress(t){const e=await t.getNetwork(),n=e.getPlugin("org.ethers.plugins.network.Ens");return p(n,"network does not support ENS","UNSUPPORTED_OPERATION",{operation:"getEnsAddress",info:{network:e}}),n.address}static async#kt(t,e){const n=await Nc.getEnsAddress(t);try{const r=new Ac(n,["function resolver(bytes32) view returns (address)"],t),s=await r.resolver(Qi(e),{enableCcipRead:!0});return s===qr?null:s}catch(t){throw t}return null}static async fromName(t,e){let n=e;for(;;){if(""===n||"."===n)return null;if("eth"!==e&&"eth"===n)return null;const r=await Nc.#kt(t,n);if(null!=r){const s=new Nc(t,r,e);return n===e||await s.supportsWildcard()?s:null}n=n.split(".").slice(1).join(".")}}}const xc=BigInt(0);function Sc(t,e){return function(n){return null==n?e:t(n)}}function Oc(t,e){return n=>{if(e&&null==n)return null;if(!Array.isArray(n))throw new Error("not an array");return n.map((e=>t(e)))}}function Pc(t,e){return n=>{const r={};for(const s in t){let i=s;if(e&&s in e&&!(i in n))for(const t of e[s])if(t in n){i=t;break}try{const e=t[s](n[i]);void 0!==e&&(r[s]=e)}catch(t){p(!1,`invalid value for value.${s} (${t instanceof Error?t.message:"not-an-error"})`,"BAD_DATA",{value:n})}}return r}}function Rc(t){return d(E(t,!0),"invalid data","value",t),t}function Ic(t){return d(E(t,32),"invalid hash","value",t),t}const Cc=Pc({address:fs,blockHash:Ic,blockNumber:G,data:Rc,index:G,removed:Sc((function(t){switch(t){case!0:case"true":return!0;case!1:case"false":return!1}d(!1,`invalid boolean; ${JSON.stringify(t)}`,"value",t)}),!1),topics:Oc(Ic),transactionHash:Ic,transactionIndex:G},{index:["logIndex"]});const Bc=Pc({hash:Sc(Ic),parentHash:Ic,parentBeaconBlockRoot:Sc(Ic,null),number:G,timestamp:G,nonce:Sc(Rc),difficulty:L,gasLimit:L,gasUsed:L,stateRoot:Sc(Ic,null),receiptsRoot:Sc(Ic,null),blobGasUsed:Sc(L,null),excessBlobGas:Sc(L,null),miner:Sc(fs),prevRandao:Sc(Ic,null),extraData:Rc,baseFeePerGas:Sc(L)},{prevRandao:["mixHash"]});const Dc=Pc({transactionIndex:G,blockNumber:G,transactionHash:Ic,address:fs,topics:Oc(Ic),data:Rc,index:G,blockHash:Ic},{index:["logIndex"]});const Uc=Pc({to:Sc(fs,null),from:Sc(fs,null),contractAddress:Sc(fs,null),index:G,root:Sc(N),gasUsed:L,blobGasUsed:Sc(L,null),logsBloom:Sc(Rc),blockHash:Ic,hash:Ic,logs:Oc((function(t){return Dc(t)})),blockNumber:G,cumulativeGasUsed:L,effectiveGasPrice:Sc(L),blobGasPrice:Sc(L,null),status:Sc(G),type:Sc(G,0)},{effectiveGasPrice:["gasPrice"],hash:["transactionHash"],index:["transactionIndex"]});function Lc(t){t.to&&L(t.to)===xc&&(t.to="0x0000000000000000000000000000000000000000");const e=Pc({hash:Ic,index:Sc(G,void 0),type:t=>"0x"===t||null==t?0:G(t),accessList:Sc(Yi,null),blobVersionedHashes:Sc(Oc(Ic,!0),null),blockHash:Sc(Ic,null),blockNumber:Sc(G,null),transactionIndex:Sc(G,null),from:fs,gasPrice:Sc(L),maxPriorityFeePerGas:Sc(L),maxFeePerGas:Sc(L),maxFeePerBlobGas:Sc(L,null),gasLimit:L,to:Sc(fs,null),value:L,nonce:G,data:Rc,creates:Sc(fs,null),chainId:Sc(L,null)},{data:["input"],gasLimit:["gas"],index:["transactionIndex"]})(t);if(null==e.to&&null==e.creates&&(e.creates=function(t){const e=fs(t.from);let n=L(t.nonce,"tx.nonce").toString(16);return n="0"===n?"0x":n.length%2?"0x0"+n:"0x"+n,fs(O(en(kt([e,n])),12))}(e)),1!==t.type&&2!==t.type||null!=t.accessList||(e.accessList=[]),t.signature?e.signature=is.from(t.signature):e.signature=is.from(t),null==e.chainId){const t=e.signature.legacyChainId;null!=t&&(e.chainId=t)}return e.blockHash&&L(e.blockHash)===xc&&(e.blockHash=null),e}class Fc{name;constructor(t){c(this,{name:t})}clone(){return new Fc(this.name)}}class Mc extends Fc{effectiveBlock;txBase;txCreate;txDataZero;txDataNonzero;txAccessListStorageKey;txAccessListAddress;constructor(t,e){null==t&&(t=0),super(`org.ethers.network.plugins.GasCost#${t||0}`);const n={effectiveBlock:t};function r(t,r){let s=(e||{})[t];null==s&&(s=r),d("number"==typeof s,`invalud value for ${t}`,"costs",e),n[t]=s}r("txBase",21e3),r("txCreate",32e3),r("txDataZero",4),r("txDataNonzero",16),r("txAccessListStorageKey",1900),r("txAccessListAddress",2400),c(this,n)}clone(){return new Mc(this.effectiveBlock,this)}}class _c extends Fc{address;targetNetwork;constructor(t,e){super("org.ethers.plugins.network.Ens"),c(this,{address:t||"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",targetNetwork:null==e?1:e})}clone(){return new _c(this.address,this.targetNetwork)}}class Gc extends Fc{#c;#Tt;get url(){return this.#c}get processFunc(){return this.#Tt}constructor(t,e){super("org.ethers.plugins.network.FetchUrlFeeDataPlugin"),this.#c=t,this.#Tt=e}clone(){return this}}const jc=new Map;class Hc{#Nt;#z;#xt;constructor(t,e){this.#Nt=t,this.#z=L(e),this.#xt=new Map}toJSON(){return{name:this.name,chainId:String(this.chainId)}}get name(){return this.#Nt}set name(t){this.#Nt=t}get chainId(){return this.#z}set chainId(t){this.#z=L(t,"chainId")}matches(t){if(null==t)return!1;if("string"==typeof t){try{return this.chainId===L(t)}catch(t){}return this.name===t}if("number"==typeof t||"bigint"==typeof t){try{return this.chainId===L(t)}catch(t){}return!1}if("object"==typeof t){if(null!=t.chainId){try{return this.chainId===L(t.chainId)}catch(t){}return!1}return null!=t.name&&this.name===t.name}return!1}get plugins(){return Array.from(this.#xt.values())}attachPlugin(t){if(this.#xt.get(t.name))throw new Error(`cannot replace existing plugin: ${t.name} `);return this.#xt.set(t.name,t.clone()),this}getPlugin(t){return this.#xt.get(t)||null}getPlugins(t){return this.plugins.filter((e=>e.name.split("#")[0]===t))}clone(){const t=new Hc(this.name,this.chainId);return this.plugins.forEach((e=>{t.attachPlugin(e.clone())})),t}computeIntrinsicGas(t){const e=this.getPlugin("org.ethers.plugins.network.GasCost")||new Mc;let n=e.txBase;if(null==t.to&&(n+=e.txCreate),t.data)for(let r=2;r<t.data.length;r+=2)"00"===t.data.substring(r,r+2)?n+=e.txDataZero:n+=e.txDataNonzero;if(t.accessList){const r=Yi(t.accessList);for(const t in r)n+=e.txAccessListAddress+e.txAccessListStorageKey*r[t].storageKeys.length}return n}static from(t){if(function(){if(Qc)return;function t(t,e,n){const r=function(){const r=new Hc(t,e);return null!=n.ensNetwork&&r.attachPlugin(new _c(null,n.ensNetwork)),r.attachPlugin(new Mc),(n.plugins||[]).forEach((t=>{r.attachPlugin(t)})),r};Hc.register(t,r),Hc.register(e,r),n.altNames&&n.altNames.forEach((t=>{Hc.register(t,r)}))}Qc=!0,t("mainnet",1,{ensNetwork:1,altNames:["homestead"]}),t("ropsten",3,{ensNetwork:3}),t("rinkeby",4,{ensNetwork:4}),t("goerli",5,{ensNetwork:5}),t("kovan",42,{ensNetwork:42}),t("sepolia",11155111,{ensNetwork:11155111}),t("holesky",17e3,{ensNetwork:17e3}),t("classic",61,{}),t("classicKotti",6,{}),t("arbitrum",42161,{ensNetwork:1}),t("arbitrum-goerli",421613,{}),t("arbitrum-sepolia",421614,{}),t("base",8453,{ensNetwork:1}),t("base-goerli",84531,{}),t("base-sepolia",84532,{}),t("bnb",56,{ensNetwork:1}),t("bnbt",97,{}),t("linea",59144,{ensNetwork:1}),t("linea-goerli",59140,{}),t("linea-sepolia",59141,{}),t("matic",137,{ensNetwork:1,plugins:[Vc("https://gasstation.polygon.technology/v2")]}),t("matic-amoy",80002,{}),t("matic-mumbai",80001,{altNames:["maticMumbai","maticmum"],plugins:[Vc("https://gasstation-testnet.polygon.technology/v2")]}),t("optimism",10,{ensNetwork:1,plugins:[]}),t("optimism-goerli",420,{}),t("optimism-sepolia",11155420,{}),t("xdai",100,{ensNetwork:1})}(),null==t)return Hc.from("mainnet");if("number"==typeof t&&(t=BigInt(t)),"string"==typeof t||"bigint"==typeof t){const e=jc.get(t);if(e)return e();if("bigint"==typeof t)return new Hc("unknown",t);d(!1,"unknown network","network",t)}if("function"==typeof t.clone){return t.clone()}if("object"==typeof t){d("string"==typeof t.name&&"number"==typeof t.chainId,"invalid network object name or chainId","network",t);const e=new Hc(t.name,t.chainId);return(t.ensAddress||null!=t.ensNetwork)&&e.attachPlugin(new _c(t.ensAddress,t.ensNetwork)),e}d(!1,"invalid network","network",t)}static register(t,e){"number"==typeof t&&(t=BigInt(t));const n=jc.get(t);n&&d(!1,`conflicting network for ${JSON.stringify(n.name)}`,"nameOrChainId",t),jc.set(t,e)}}function Kc(t,e){const n=String(t);if(!n.match(/^[0-9.]+$/))throw new Error(`invalid gwei value: ${t}`);const r=n.split(".");if(1===r.length&&r.push(""),2!==r.length)throw new Error(`invalid gwei value: ${t}`);for(;r[1].length<e;)r[1]+="0";if(r[1].length>9){let t=BigInt(r[1].substring(0,9));r[1].substring(9).match(/^0+$/)||t++,r[1]=t.toString()}return BigInt(r[0]+r[1])}function Vc(t){return new Gc(t,(async(t,e,n)=>{let r;n.setHeader("User-Agent","ethers");try{const[e,s]=await Promise.all([n.send(),t()]);r=e;const i=r.bodyJson.standard;return{gasPrice:s.gasPrice,maxFeePerGas:Kc(i.maxFee,9),maxPriorityFeePerGas:Kc(i.maxPriorityFee,9)}}catch(t){p(!1,`error encountered with polygon gas station (${JSON.stringify(n.url)})`,"SERVER_ERROR",{request:n,response:r,error:t})}}))}let Qc=!1;function Jc(t){return JSON.parse(JSON.stringify(t))}class zc{#St;#Ot;#Pt;#Rt;constructor(t){this.#St=t,this.#Ot=null,this.#Pt=4e3,this.#Rt=-2}get pollingInterval(){return this.#Pt}set pollingInterval(t){this.#Pt=t}async#It(){try{const t=await this.#St.getBlockNumber();if(-2===this.#Rt)return void(this.#Rt=t);if(t!==this.#Rt){for(let e=this.#Rt+1;e<=t;e++){if(null==this.#Ot)return;await this.#St.emit("block",e)}this.#Rt=t}}catch(t){}null!=this.#Ot&&(this.#Ot=this.#St._setTimeout(this.#It.bind(this),this.#Pt))}start(){this.#Ot||(this.#Ot=this.#St._setTimeout(this.#It.bind(this),this.#Pt),this.#It())}stop(){this.#Ot&&(this.#St._clearTimeout(this.#Ot),this.#Ot=null)}pause(t){this.stop(),t&&(this.#Rt=-2)}resume(){this.start()}}class Yc{#St;#It;#Ct;constructor(t){this.#St=t,this.#Ct=!1,this.#It=t=>{this._poll(t,this.#St)}}async _poll(t,e){throw new Error("sub-classes must override this")}start(){this.#Ct||(this.#Ct=!0,this.#It(-2),this.#St.on("block",this.#It))}stop(){this.#Ct&&(this.#Ct=!1,this.#St.off("block",this.#It))}pause(t){this.stop()}resume(){this.start()}}class qc extends Yc{#Bt;#Dt;constructor(t,e){super(t),this.#Bt=e,this.#Dt=-2}pause(t){t&&(this.#Dt=-2),super.pause(t)}async _poll(t,e){const n=await e.getBlock(this.#Bt);null!=n&&(-2===this.#Dt?this.#Dt=n.number:n.number>this.#Dt&&(e.emit(this.#Bt,n.number),this.#Dt=n.number))}}class $c extends Yc{#bt;constructor(t,e){super(t),this.#bt=Jc(e)}async _poll(t,e){throw new Error("@TODO")}}class Wc extends Yc{#Ut;constructor(t,e){super(t),this.#Ut=e}async _poll(t,e){const n=await e.getTransactionReceipt(this.#Ut);n&&e.emit(this.#Ut,n)}}class Zc{#St;#bt;#Ot;#Ct;#Rt;constructor(t,e){this.#St=t,this.#bt=Jc(e),this.#Ot=this.#It.bind(this),this.#Ct=!1,this.#Rt=-2}async#It(t){if(-2===this.#Rt)return;const e=Jc(this.#bt);e.fromBlock=this.#Rt+1,e.toBlock=t;const n=await this.#St.getLogs(e);if(0!==n.length)for(const t of n)this.#St.emit(this.#bt,t),this.#Rt=t.blockNumber;else this.#Rt<t-60&&(this.#Rt=t-60)}start(){this.#Ct||(this.#Ct=!0,-2===this.#Rt&&this.#St.getBlockNumber().then((t=>{this.#Rt=t})),this.#St.on("block",this.#Ot))}stop(){this.#Ct&&(this.#Ct=!1,this.#St.off("block",this.#Ot))}pause(t){this.stop(),t&&(this.#Rt=-2)}resume(){this.start()}}const Xc=BigInt(2);function tu(t){return t&&"function"==typeof t.then}function eu(t,e){return t+":"+JSON.stringify(e,((t,e)=>{if(null==e)return"null";if("bigint"==typeof e)return`bigint:${e.toString()}`;if("string"==typeof e)return e.toLowerCase();if("object"==typeof e&&!Array.isArray(e)){const t=Object.keys(e);return t.sort(),t.reduce(((t,n)=>(t[n]=e[n],t)),{})}return e}))}class nu{name;constructor(t){c(this,{name:t})}start(){}stop(){}pause(t){}resume(){}}function ru(t){return(t=Array.from(new Set(t).values())).sort(),t}async function su(t,e){if(null==t)throw new Error("invalid event");if(Array.isArray(t)&&(t={topics:t}),"string"==typeof t)switch(t){case"block":case"debug":case"error":case"finalized":case"network":case"pending":case"safe":return{type:t,tag:t}}if(E(t,32)){const e=t.toLowerCase();return{type:"transaction",tag:eu("tx",{hash:e}),hash:e}}if(t.orphan){const e=t;return{type:"orphan",tag:eu("orphan",e),filter:(n=e,JSON.parse(JSON.stringify(n)))}}var n;if(t.address||t.topics){const n=t,r={topics:(n.topics||[]).map((t=>null==t?null:Array.isArray(t)?ru(t.map((t=>t.toLowerCase()))):t.toLowerCase()))};if(n.address){const t=[],s=[],i=n=>{E(n)?t.push(n):s.push((async()=>{t.push(await gs(n,e))})())};Array.isArray(n.address)?n.address.forEach(i):i(n.address),s.length&&await Promise.all(s),r.address=ru(t.map((t=>t.toLowerCase())))}return{filter:r,tag:eu("event",r),type:"event"}}d(!1,"unknown ProviderEvent","event",t)}function iu(){return(new Date).getTime()}const ou={cacheTimeout:250,pollingInterval:4e3};class au{#Lt;#xt;#Ft;#Mt;#_t;#Gt;#jt;#Ht;#Kt;#Vt;#Qt;#M;constructor(t,e){if(this.#M=Object.assign({},ou,e||{}),"any"===t)this.#Gt=!0,this.#_t=null;else if(t){const e=Hc.from(t);this.#Gt=!1,this.#_t=Promise.resolve(e),setTimeout((()=>{this.emit("network",e,null)}),0)}else this.#Gt=!1,this.#_t=null;this.#Ht=-1,this.#jt=new Map,this.#Lt=new Map,this.#xt=new Map,this.#Ft=null,this.#Mt=!1,this.#Kt=1,this.#Vt=new Map,this.#Qt=!1}get pollingInterval(){return this.#M.pollingInterval}get provider(){return this}get plugins(){return Array.from(this.#xt.values())}attachPlugin(t){if(this.#xt.get(t.name))throw new Error(`cannot replace existing plugin: ${t.name} `);return this.#xt.set(t.name,t.connect(this)),this}getPlugin(t){return this.#xt.get(t)||null}get disableCcipRead(){return this.#Qt}set disableCcipRead(t){this.#Qt=!!t}async#Jt(t){const e=this.#M.cacheTimeout;if(e<0)return await this._perform(t);const n=eu(t.method,t);let r=this.#jt.get(n);return r||(r=this._perform(t),this.#jt.set(n,r),setTimeout((()=>{this.#jt.get(n)===r&&this.#jt.delete(n)}),e)),await r}async ccipReadFetch(t,e,n){if(this.disableCcipRead||0===n.length||null==t.to)return null;const r=t.to.toLowerCase(),s=e.toLowerCase(),i=[];for(let e=0;e<n.length;e++){const o=n[e],a=o.replace("{sender}",r).replace("{data}",s),c=new ft(a);-1===o.indexOf("{data}")&&(c.body={data:s,sender:r}),this.emit("debug",{action:"sendCcipReadFetchRequest",request:c,index:e,urls:n});let u,l="unknown error";try{u=await c.send()}catch(t){i.push(t.message),this.emit("debug",{action:"receiveCcipReadFetchError",request:c,result:{error:t}});continue}try{const t=u.bodyJson;if(t.data)return this.emit("debug",{action:"receiveCcipReadFetchResult",request:c,result:t}),t.data;t.message&&(l=t.message),this.emit("debug",{action:"receiveCcipReadFetchError",request:c,result:t})}catch(t){}p(u.statusCode<400||u.statusCode>=500,`response not found during CCIP fetch: ${l}`,"OFFCHAIN_FAULT",{reason:"404_MISSING_RESOURCE",transaction:t,info:{url:o,errorMessage:l}}),i.push(l)}p(!1,`error encountered during CCIP fetch: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"OFFCHAIN_FAULT",{reason:"500_SERVER_ERROR",transaction:t,info:{urls:n,errorMessages:i}})}_wrapBlock(t,e){return new Ga(function(t){const e=Bc(t);return e.transactions=t.transactions.map((t=>"string"==typeof t?t:Lc(t))),e}(t),this)}_wrapLog(t,e){return new ja(function(t){return Cc(t)}(t),this)}_wrapTransactionReceipt(t,e){return new Ha(function(t){return Uc(t)}(t),this)}_wrapTransactionResponse(t,e){return new Ka(Lc(t),this)}_detectNetwork(){p(!1,"sub-classes must implement this","UNSUPPORTED_OPERATION",{operation:"_detectNetwork"})}async _perform(t){p(!1,`unsupported method: ${t.method}`,"UNSUPPORTED_OPERATION",{operation:t.method,info:t})}async getBlockNumber(){const t=G(await this.#Jt({method:"getBlockNumber"}),"%response");return this.#Ht>=0&&(this.#Ht=t),t}_getAddress(t){return gs(t,this)}_getBlockTag(t){if(null==t)return"latest";switch(t){case"earliest":return"0x0";case"finalized":case"latest":case"pending":case"safe":return t}return E(t)?E(t,32)?t:K(t):("bigint"==typeof t&&(t=G(t,"blockTag")),"number"==typeof t?t>=0?K(t):this.#Ht>=0?K(this.#Ht+t):this.getBlockNumber().then((e=>K(e+t))):void d(!1,"invalid blockTag","blockTag",t))}_getFilter(t){const e=(t.topics||[]).map((t=>null==t?null:Array.isArray(t)?ru(t.map((t=>t.toLowerCase()))):t.toLowerCase())),n="blockHash"in t?t.blockHash:void 0,r=(t,r,s)=>{let i;switch(t.length){case 0:break;case 1:i=t[0];break;default:t.sort(),i=t}if(n&&(null!=r||null!=s))throw new Error("invalid filter");const o={};return i&&(o.address=i),e.length&&(o.topics=e),r&&(o.fromBlock=r),s&&(o.toBlock=s),n&&(o.blockHash=n),o};let s,i,o=[];if(t.address)if(Array.isArray(t.address))for(const e of t.address)o.push(this._getAddress(e));else o.push(this._getAddress(t.address));return"fromBlock"in t&&(s=this._getBlockTag(t.fromBlock)),"toBlock"in t&&(i=this._getBlockTag(t.toBlock)),o.filter((t=>"string"!=typeof t)).length||null!=s&&"string"!=typeof s||null!=i&&"string"!=typeof i?Promise.all([Promise.all(o),s,i]).then((t=>r(t[0],t[1],t[2]))):r(o,s,i)}_getTransactionRequest(t){const e=_a(t),n=[];if(["to","from"].forEach((t=>{if(null==e[t])return;const r=gs(e[t],this);tu(r)?n.push(async function(){e[t]=await r}()):e[t]=r})),null!=e.blockTag){const t=this._getBlockTag(e.blockTag);tu(t)?n.push(async function(){e.blockTag=await t}()):e.blockTag=t}return n.length?async function(){return await Promise.all(n),e}():e}async getNetwork(){if(null==this.#_t){const t=(async()=>{try{const t=await this._detectNetwork();return this.emit("network",t,null),t}catch(e){throw this.#_t===t&&(this.#_t=null),e}})();return this.#_t=t,(await t).clone()}const t=this.#_t,[e,n]=await Promise.all([t,this._detectNetwork()]);return e.chainId!==n.chainId&&(this.#Gt?(this.emit("network",n,e),this.#_t===t&&(this.#_t=Promise.resolve(n))):p(!1,`network changed: ${e.chainId} => ${n.chainId} `,"NETWORK_ERROR",{event:"changed"})),e.clone()}async getFeeData(){const t=await this.getNetwork(),e=async()=>{const{_block:e,gasPrice:n,priorityFee:r}=await a({_block:this.#zt("latest",!1),gasPrice:(async()=>{try{return L(await this.#Jt({method:"getGasPrice"}),"%response")}catch(t){}return null})(),priorityFee:(async()=>{try{return L(await this.#Jt({method:"getPriorityFee"}),"%response")}catch(t){}return null})()});let s=null,i=null;const o=this._wrapBlock(e,t);return o&&o.baseFeePerGas&&(i=null!=r?r:BigInt("1000000000"),s=o.baseFeePerGas*Xc+i),new Ma(n,s,i)},n=t.getPlugin("org.ethers.plugins.network.FetchUrlFeeDataPlugin");if(n){const t=new ft(n.url),r=await n.processFunc(e,this,t);return new Ma(r.gasPrice,r.maxFeePerGas,r.maxPriorityFeePerGas)}return await e()}async estimateGas(t){let e=this._getTransactionRequest(t);return tu(e)&&(e=await e),L(await this.#Jt({method:"estimateGas",transaction:e}),"%response")}async#Yt(t,e,n){p(n<10,"CCIP read exceeded maximum redirections","OFFCHAIN_FAULT",{reason:"TOO_MANY_REDIRECTS",transaction:Object.assign({},t,{blockTag:e,enableCcipRead:!0})});const r=_a(t);try{return N(await this._perform({method:"call",transaction:r,blockTag:e}))}catch(t){if(!this.disableCcipRead&&h(t)&&t.data&&n>=0&&"latest"===e&&null!=r.to&&"0x556f1830"===O(t.data,0,4)){const s=t.data,i=await gs(r.to,this);let o;try{o=function(t){const e={sender:"",urls:[],calldata:"",selector:"",extraData:"",errorArgs:[]};p(S(t)>=160,"insufficient OffchainLookup data","OFFCHAIN_FAULT",{reason:"insufficient OffchainLookup data"});const n=O(t,0,32);p(O(n,0,12)===O(du,0,12),"corrupt OffchainLookup sender","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup sender"}),e.sender=O(n,12);try{const n=[],r=G(O(t,32,64)),s=G(O(t,r,r+32)),i=O(t,r+32);for(let t=0;t<s;t++){const e=cu(i,32*t);if(null==e)throw new Error("abort");n.push(e)}e.urls=n}catch(t){p(!1,"corrupt OffchainLookup urls","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup urls"})}try{const n=uu(t,64);if(null==n)throw new Error("abort");e.calldata=n}catch(t){p(!1,"corrupt OffchainLookup calldata","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup calldata"})}p(O(t,100,128)===O(du,0,28),"corrupt OffchainLookup callbaackSelector","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup callbaackSelector"}),e.selector=O(t,96,100);try{const n=uu(t,128);if(null==n)throw new Error("abort");e.extraData=n}catch(t){p(!1,"corrupt OffchainLookup extraData","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup extraData"})}return e.errorArgs="sender,urls,calldata,selector,extraData".split(/,/).map((t=>e[t])),e}(O(t.data,4))}catch(t){p(!1,t.message,"OFFCHAIN_FAULT",{reason:"BAD_DATA",transaction:r,info:{data:s}})}p(o.sender.toLowerCase()===i.toLowerCase(),"CCIP Read sender mismatch","CALL_EXCEPTION",{action:"call",data:s,reason:"OffchainLookup",transaction:r,invocation:null,revert:{signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",name:"OffchainLookup",args:o.errorArgs}});const a=await this.ccipReadFetch(r,o.calldata,o.urls);p(null!=a,"CCIP Read failed to fetch data","OFFCHAIN_FAULT",{reason:"FETCH_FAILED",transaction:r,info:{data:t.data,errorArgs:o.errorArgs}});const c={to:i,data:x([o.selector,pu([a,o.extraData])])};this.emit("debug",{action:"sendCcipReadCall",transaction:c});try{const t=await this.#Yt(c,e,n+1);return this.emit("debug",{action:"receiveCcipReadCallResult",transaction:Object.assign({},c),result:t}),t}catch(t){throw this.emit("debug",{action:"receiveCcipReadCallError",transaction:Object.assign({},c),error:t}),t}}throw t}}async#qt(t){const{value:e}=await a({network:this.getNetwork(),value:t});return e}async call(t){const{tx:e,blockTag:n}=await a({tx:this._getTransactionRequest(t),blockTag:this._getBlockTag(t.blockTag)});return await this.#qt(this.#Yt(e,n,t.enableCcipRead?0:-1))}async#$t(t,e,n){let r=this._getAddress(e),s=this._getBlockTag(n);return"string"==typeof r&&"string"==typeof s||([r,s]=await Promise.all([r,s])),await this.#qt(this.#Jt(Object.assign(t,{address:r,blockTag:s})))}async getBalance(t,e){return L(await this.#$t({method:"getBalance"},t,e),"%response")}async getTransactionCount(t,e){return G(await this.#$t({method:"getTransactionCount"},t,e),"%response")}async getCode(t,e){return N(await this.#$t({method:"getCode"},t,e))}async getStorage(t,e,n){const r=L(e,"position");return N(await this.#$t({method:"getStorage",position:r},t,n))}async broadcastTransaction(t){const{blockNumber:e,hash:n,network:r}=await a({blockNumber:this.getBlockNumber(),hash:this._perform({method:"broadcastTransaction",signedTransaction:t}),network:this.getNetwork()}),s=po.from(t);if(s.hash!==n)throw new Error("@TODO: the returned hash did not match");return this._wrapTransactionResponse(s,r).replaceableTransaction(e)}async#zt(t,e){if(E(t,32))return await this.#Jt({method:"getBlock",blockHash:t,includeTransactions:e});let n=this._getBlockTag(t);return"string"!=typeof n&&(n=await n),await this.#Jt({method:"getBlock",blockTag:n,includeTransactions:e})}async getBlock(t,e){const{network:n,params:r}=await a({network:this.getNetwork(),params:this.#zt(t,!!e)});return null==r?null:this._wrapBlock(r,n)}async getTransaction(t){const{network:e,params:n}=await a({network:this.getNetwork(),params:this.#Jt({method:"getTransaction",hash:t})});return null==n?null:this._wrapTransactionResponse(n,e)}async getTransactionReceipt(t){const{network:e,params:n}=await a({network:this.getNetwork(),params:this.#Jt({method:"getTransactionReceipt",hash:t})});if(null==n)return null;if(null==n.gasPrice&&null==n.effectiveGasPrice){const e=await this.#Jt({method:"getTransaction",hash:t});if(null==e)throw new Error("report this; could not find tx or effectiveGasPrice");n.effectiveGasPrice=e.gasPrice}return this._wrapTransactionReceipt(n,e)}async getTransactionResult(t){const{result:e}=await a({network:this.getNetwork(),result:this.#Jt({method:"getTransactionResult",hash:t})});return null==e?null:N(e)}async getLogs(t){let e=this._getFilter(t);tu(e)&&(e=await e);const{network:n,params:r}=await a({network:this.getNetwork(),params:this.#Jt({method:"getLogs",filter:e})});return r.map((t=>this._wrapLog(t,n)))}_getProvider(t){p(!1,"provider cannot connect to target network","UNSUPPORTED_OPERATION",{operation:"_getProvider()"})}async getResolver(t){return await Nc.fromName(this,t)}async getAvatar(t){const e=await this.getResolver(t);return e?await e.getAvatar():null}async resolveName(t){const e=await this.getResolver(t);return e?await e.getAddress():null}async lookupAddress(t){const e=Qi((t=fs(t)).substring(2).toLowerCase()+".addr.reverse");try{const n=await Nc.getEnsAddress(this),r=new Ac(n,["function resolver(bytes32) view returns (address)"],this),s=await r.resolver(e);if(null==s||s===qr)return null;const i=new Ac(s,["function name(bytes32) view returns (string)"],this),o=await i.name(e);return await this.resolveName(o)!==t?null:o}catch(t){if(l(t,"BAD_DATA")&&"0x"===t.value)return null;if(l(t,"CALL_EXCEPTION"))return null;throw t}return null}async waitForTransaction(t,e,n){const r=null!=e?e:1;return 0===r?this.getTransactionReceipt(t):new Promise((async(e,s)=>{let i=null;const o=async n=>{try{const s=await this.getTransactionReceipt(t);if(null!=s&&n-s.blockNumber+1>=r)return e(s),void(i&&(clearTimeout(i),i=null))}catch(t){console.log("EEE",t)}this.once("block",o)};null!=n&&(i=setTimeout((()=>{null!=i&&(i=null,this.off("block",o),s(f("timeout","TIMEOUT",{reason:"timeout"})))}),n)),o(await this.getBlockNumber())}))}async waitForBlock(t){p(!1,"not implemented yet","NOT_IMPLEMENTED",{operation:"waitForBlock"})}_clearTimeout(t){const e=this.#Vt.get(t);e&&(e.timer&&clearTimeout(e.timer),this.#Vt.delete(t))}_setTimeout(t,e){null==e&&(e=0);const n=this.#Kt++,r=()=>{this.#Vt.delete(n),t()};if(this.paused)this.#Vt.set(n,{timer:null,func:r,time:e});else{const t=setTimeout(r,e);this.#Vt.set(n,{timer:t,func:r,time:iu()})}return n}_forEachSubscriber(t){for(const e of this.#Lt.values())t(e.subscriber)}_getSubscriber(t){switch(t.type){case"debug":case"error":case"network":return new nu(t.type);case"block":{const t=new zc(this);return t.pollingInterval=this.pollingInterval,t}case"safe":case"finalized":return new qc(this,t.type);case"event":return new Zc(this,t.filter);case"transaction":return new Wc(this,t.hash);case"orphan":return new $c(this,t.filter)}throw new Error(`unsupported event: ${t.type}`)}_recoverSubscriber(t,e){for(const n of this.#Lt.values())if(n.subscriber===t){n.started&&n.subscriber.stop(),n.subscriber=e,n.started&&e.start(),null!=this.#Ft&&e.pause(this.#Ft);break}}async#Wt(t,e){let n=await su(t,this);return"event"===n.type&&e&&e.length>0&&!0===e[0].removed&&(n=await su({orphan:"drop-log",log:e[0]},this)),this.#Lt.get(n.tag)||null}async#Zt(t){const e=await su(t,this),n=e.tag;let r=this.#Lt.get(n);if(!r){r={subscriber:this._getSubscriber(e),tag:n,addressableMap:new WeakMap,nameMap:new Map,started:!1,listeners:[]},this.#Lt.set(n,r)}return r}async on(t,e){const n=await this.#Zt(t);return n.listeners.push({listener:e,once:!1}),n.started||(n.subscriber.start(),n.started=!0,null!=this.#Ft&&n.subscriber.pause(this.#Ft)),this}async once(t,e){const n=await this.#Zt(t);return n.listeners.push({listener:e,once:!0}),n.started||(n.subscriber.start(),n.started=!0,null!=this.#Ft&&n.subscriber.pause(this.#Ft)),this}async emit(t,...e){const n=await this.#Wt(t,e);if(!n||0===n.listeners.length)return!1;const r=n.listeners.length;return n.listeners=n.listeners.filter((({listener:n,once:r})=>{const s=new $(this,r?null:n,t);try{n.call(this,...e,s)}catch(t){}return!r})),0===n.listeners.length&&(n.started&&n.subscriber.stop(),this.#Lt.delete(n.tag)),r>0}async listenerCount(t){if(t){const e=await this.#Wt(t);return e?e.listeners.length:0}let e=0;for(const{listeners:t}of this.#Lt.values())e+=t.length;return e}async listeners(t){if(t){const e=await this.#Wt(t);return e?e.listeners.map((({listener:t})=>t)):[]}let e=[];for(const{listeners:t}of this.#Lt.values())e=e.concat(t.map((({listener:t})=>t)));return e}async off(t,e){const n=await this.#Wt(t);if(!n)return this;if(e){const t=n.listeners.map((({listener:t})=>t)).indexOf(e);t>=0&&n.listeners.splice(t,1)}return e&&0!==n.listeners.length||(n.started&&n.subscriber.stop(),this.#Lt.delete(n.tag)),this}async removeAllListeners(t){if(t){const{tag:e,started:n,subscriber:r}=await this.#Zt(t);n&&r.stop(),this.#Lt.delete(e)}else for(const[t,{started:e,subscriber:n}]of this.#Lt)e&&n.stop(),this.#Lt.delete(t);return this}async addListener(t,e){return await this.on(t,e)}async removeListener(t,e){return this.off(t,e)}get destroyed(){return this.#Mt}destroy(){this.removeAllListeners();for(const t of this.#Vt.keys())this._clearTimeout(t);this.#Mt=!0}get paused(){return null!=this.#Ft}set paused(t){!!t!==this.paused&&(this.paused?this.resume():this.pause(!1))}pause(t){if(this.#Ht=-1,null!=this.#Ft){if(this.#Ft==!!t)return;p(!1,"cannot change pause type; resume first","UNSUPPORTED_OPERATION",{operation:"pause"})}this._forEachSubscriber((e=>e.pause(t))),this.#Ft=!!t;for(const t of this.#Vt.values())t.timer&&clearTimeout(t.timer),t.time=iu()-t.time}resume(){if(null!=this.#Ft){this._forEachSubscriber((t=>t.resume())),this.#Ft=null;for(const t of this.#Vt.values()){let e=t.time;e<0&&(e=0),t.time=iu(),setTimeout(t.func,e)}}}}function cu(t,e){try{const n=uu(t,e);if(n)return tt(n)}catch(t){}return null}function uu(t,e){if("0x"===t)return null;try{const n=G(O(t,e,e+32)),r=G(O(t,n,n+32));return O(t,n+32,n+32+r)}catch(t){}return null}function lu(t){const e=H(t);if(e.length>32)throw new Error("internal; should not happen");const n=new Uint8Array(32);return n.set(e,32-e.length),n}function hu(t){if(t.length%32==0)return t;const e=new Uint8Array(32*Math.ceil(t.length/32));return e.set(t),e}const fu=new Uint8Array([]);function pu(t){const e=[];let n=0;for(let r=0;r<t.length;r++)e.push(fu),n+=32;for(let r=0;r<t.length;r++){const s=A(t[r]);e[r]=lu(n),e.push(lu(s.length)),e.push(hu(s)),n+=32+32*Math.ceil(s.length/32)}return x(e)}const du="0x0000000000000000000000000000000000000000000000000000000000000000";function gu(t,e){if(t.provider)return t.provider;p(!1,"missing provider","UNSUPPORTED_OPERATION",{operation:e})}async function yu(t,e){let n=_a(e);if(null!=n.to&&(n.to=gs(n.to,t)),null!=n.from){const e=n.from;n.from=Promise.all([t.getAddress(),gs(e,t)]).then((([t,e])=>(d(t.toLowerCase()===e.toLowerCase(),"transaction from mismatch","tx.from",e),t)))}else n.from=t.getAddress();return await a(n)}class mu{provider;constructor(t){c(this,{provider:t||null})}async getNonce(t){return gu(this,"getTransactionCount").getTransactionCount(await this.getAddress(),t)}async populateCall(t){return await yu(this,t)}async populateTransaction(t){const e=gu(this,"populateTransaction"),n=await yu(this,t);null==n.nonce&&(n.nonce=await this.getNonce("pending")),null==n.gasLimit&&(n.gasLimit=await this.estimateGas(n));const r=await this.provider.getNetwork();if(null!=n.chainId){d(L(n.chainId)===r.chainId,"transaction chainId mismatch","tx.chainId",t.chainId)}else n.chainId=r.chainId;const s=null!=n.maxFeePerGas||null!=n.maxPriorityFeePerGas;if(null==n.gasPrice||2!==n.type&&!s?0!==n.type&&1!==n.type||!s||d(!1,"pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","tx",t):d(!1,"eip-1559 transaction do not support gasPrice","tx",t),2!==n.type&&null!=n.type||null==n.maxFeePerGas||null==n.maxPriorityFeePerGas)if(0===n.type||1===n.type){const t=await e.getFeeData();p(null!=t.gasPrice,"network does not support gasPrice","UNSUPPORTED_OPERATION",{operation:"getGasPrice"}),null==n.gasPrice&&(n.gasPrice=t.gasPrice)}else{const t=await e.getFeeData();if(null==n.type)if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas)if(n.type=2,null!=n.gasPrice){const t=n.gasPrice;delete n.gasPrice,n.maxFeePerGas=t,n.maxPriorityFeePerGas=t}else null==n.maxFeePerGas&&(n.maxFeePerGas=t.maxFeePerGas),null==n.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=t.maxPriorityFeePerGas);else null!=t.gasPrice?(p(!s,"network does not support EIP-1559","UNSUPPORTED_OPERATION",{operation:"populateTransaction"}),null==n.gasPrice&&(n.gasPrice=t.gasPrice),n.type=0):p(!1,"failed to get consistent fee data","UNSUPPORTED_OPERATION",{operation:"signer.getFeeData"});else 2!==n.type&&3!==n.type||(null==n.maxFeePerGas&&(n.maxFeePerGas=t.maxFeePerGas),null==n.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}else n.type=2;return await a(n)}async estimateGas(t){return gu(this,"estimateGas").estimateGas(await this.populateCall(t))}async call(t){return gu(this,"call").call(await this.populateCall(t))}async resolveName(t){const e=gu(this,"resolveName");return await e.resolveName(t)}async sendTransaction(t){const e=gu(this,"sendTransaction"),n=await this.populateTransaction(t);delete n.from;const r=po.from(n);return await e.broadcastTransaction(await this.signTransaction(r))}}class wu extends mu{address;constructor(t,e){super(e),c(this,{address:t})}async getAddress(){return this.address}connect(t){return new wu(this.address,t)}#Xt(t,e){p(!1,`VoidSigner cannot sign ${t}`,"UNSUPPORTED_OPERATION",{operation:e})}async signTransaction(t){this.#Xt("transactions","signTransaction")}async signMessage(t){this.#Xt("messages","signMessage")}async signTypedData(t,e,n){this.#Xt("typed-data","signTypedData")}}class bu{#St;#te;#Ot;#Ct;#ee;#ne;constructor(t){this.#St=t,this.#te=null,this.#Ot=this.#It.bind(this),this.#Ct=!1,this.#ee=null,this.#ne=!1}_subscribe(t){throw new Error("subclasses must override this")}_emitResults(t,e){throw new Error("subclasses must override this")}_recover(t){throw new Error("subclasses must override this")}async#It(t){try{null==this.#te&&(this.#te=this._subscribe(this.#St));let t=null;try{t=await this.#te}catch(t){if(!l(t,"UNSUPPORTED_OPERATION")||"eth_newFilter"!==t.operation)throw t}if(null==t)return this.#te=null,void this.#St._recoverSubscriber(this,this._recover(this.#St));const e=await this.#St.getNetwork();if(this.#ee||(this.#ee=e),this.#ee.chainId!==e.chainId)throw new Error("chaid changed");if(this.#ne)return;const n=await this.#St.send("eth_getFilterChanges",[t]);await this._emitResults(this.#St,n)}catch(t){console.log("@TODO",t)}this.#St.once("block",this.#Ot)}#re(){const t=this.#te;t&&(this.#te=null,t.then((t=>{this.#St.destroyed||this.#St.send("eth_uninstallFilter",[t])})))}start(){this.#Ct||(this.#Ct=!0,this.#It(-2))}stop(){this.#Ct&&(this.#Ct=!1,this.#ne=!0,this.#re(),this.#St.off("block",this.#Ot))}pause(t){t&&this.#re(),this.#St.off("block",this.#Ot)}resume(){this.start()}}class Au extends bu{#se;constructor(t,e){var n;super(t),this.#se=(n=e,JSON.parse(JSON.stringify(n)))}_recover(t){return new Zc(t,this.#se)}async _subscribe(t){return await t.send("eth_newFilter",[this.#se])}async _emitResults(t,e){for(const n of e)t.emit(this.#se,t._wrapLog(n,t._network))}}class vu extends bu{async _subscribe(t){return await t.send("eth_newPendingTransactionFilter",[])}async _emitResults(t,e){for(const n of e)t.emit("pending",n)}}const Eu="bigint,boolean,function,number,string,symbol".split(/,/g);function ku(t){if(null==t||Eu.indexOf(typeof t)>=0)return t;if("function"==typeof t.getAddress)return t;if(Array.isArray(t))return t.map(ku);if("object"==typeof t)return Object.keys(t).reduce(((e,n)=>(e[n]=t[n],e)),{});throw new Error(`should not happen: ${t} (${typeof t})`)}function Tu(t){return new Promise((e=>{setTimeout(e,t)}))}function Nu(t){return t?t.toLowerCase():t}function xu(t){return t&&"number"==typeof t.pollingInterval}const Su={polling:!1,staticNetwork:null,batchStallTime:10,batchMaxSize:1<<20,batchMaxCount:100,cacheTimeout:250,pollingInterval:4e3};class Ou extends mu{address;constructor(t,e){super(t),c(this,{address:e=fs(e)})}connect(t){p(!1,"cannot reconnect JsonRpcSigner","UNSUPPORTED_OPERATION",{operation:"signer.connect"})}async getAddress(){return this.address}async populateTransaction(t){return await this.populateCall(t)}async sendUncheckedTransaction(t){const e=ku(t),n=[];if(e.from){const r=e.from;n.push((async()=>{const n=await gs(r,this.provider);d(null!=n&&n.toLowerCase()===this.address.toLowerCase(),"from address mismatch","transaction",t),e.from=n})())}else e.from=this.address;if(null==e.gasLimit&&n.push((async()=>{e.gasLimit=await this.provider.estimateGas({...e,from:this.address})})()),null!=e.to){const t=e.to;n.push((async()=>{e.to=await gs(t,this.provider)})())}n.length&&await Promise.all(n);const r=this.provider.getRpcTransaction(e);return this.provider.send("eth_sendTransaction",[r])}async sendTransaction(t){const e=await this.provider.getBlockNumber(),n=await this.sendUncheckedTransaction(t);return await new Promise(((t,r)=>{const s=[1e3,100];let i=0;const o=async()=>{try{const r=await this.provider.getTransaction(n);if(null!=r)return void t(r.replaceableTransaction(e))}catch(t){if(l(t,"CANCELLED")||l(t,"BAD_DATA")||l(t,"NETWORK_ERROR")||l(t,"UNSUPPORTED_OPERATION"))return null==t.info&&(t.info={}),t.info.sendTransactionHash=n,void r(t);if(l(t,"INVALID_ARGUMENT")&&(i++,null==t.info&&(t.info={}),t.info.sendTransactionHash=n,i>10))return void r(t);this.provider.emit("error",f("failed to fetch transation after sending (will try again)","UNKNOWN_ERROR",{error:t}))}this.provider._setTimeout((()=>{o()}),s.pop()||4e3)};o()}))}async signTransaction(t){const e=ku(t);if(e.from){const n=await gs(e.from,this.provider);d(null!=n&&n.toLowerCase()===this.address.toLowerCase(),"from address mismatch","transaction",t),e.from=n}else e.from=this.address;const n=this.provider.getRpcTransaction(e);return await this.provider.send("eth_signTransaction",[n])}async signMessage(t){const e="string"==typeof t?X(t):t;return await this.provider.send("personal_sign",[N(e),this.address.toLowerCase()])}async signTypedData(t,e,n){const r=ku(n),s=await Ro.resolveNames(t,e,r,(async t=>{const e=await gs(t);return d(null!=e,"TypedData does not support null address","value",t),e}));return await this.provider.send("eth_signTypedData_v4",[this.address.toLowerCase(),JSON.stringify(Ro.getPayload(s.domain,e,s.value))])}async unlock(t){return this.provider.send("personal_unlockAccount",[this.address.toLowerCase(),t,null])}async _legacySignMessage(t){const e="string"==typeof t?X(t):t;return await this.provider.send("eth_sign",[this.address.toLowerCase(),N(e)])}}class Pu extends au{#M;#ie;#oe;#ae;#ce;#ee;#ue;#le(){if(this.#ae)return;const t=1===this._getOption("batchMaxCount")?0:this._getOption("batchStallTime");this.#ae=setTimeout((()=>{this.#ae=null;const t=this.#oe;for(this.#oe=[];t.length;){const e=[t.shift()];for(;t.length&&e.length!==this.#M.batchMaxCount;){e.push(t.shift());if(JSON.stringify(e.map((t=>t.payload))).length>this.#M.batchMaxSize){t.unshift(e.pop());break}}(async()=>{const t=1===e.length?e[0].payload:e.map((t=>t.payload));this.emit("debug",{action:"sendRpcPayload",payload:t});try{const n=await this._send(t);this.emit("debug",{action:"receiveRpcResult",result:n});for(const{resolve:t,reject:r,payload:s}of e){if(this.destroyed){r(f("provider destroyed; cancelled request","UNSUPPORTED_OPERATION",{operation:s.method}));continue}const e=n.filter((t=>t.id===s.id))[0];if(null!=e)"error"in e?r(this.getRpcError(s,e)):t(e.result);else{const t=f("missing response for request","BAD_DATA",{value:n,info:{payload:s}});this.emit("error",t),r(t)}}}catch(t){this.emit("debug",{action:"receiveRpcError",error:t});for(const{reject:n}of e)n(t)}})()}}),t)}constructor(t,e){super(t,e),this.#ie=1,this.#M=Object.assign({},Su,e||{}),this.#oe=[],this.#ae=null,this.#ee=null,this.#ue=null;{let t=null;const e=new Promise((e=>{t=e}));this.#ce={promise:e,resolve:t}}const n=this._getOption("staticNetwork");"boolean"==typeof n?(d(!n||"any"!==t,"staticNetwork cannot be used on special network 'any'","options",e),n&&null!=t&&(this.#ee=Hc.from(t))):n&&(d(null==t||n.matches(t),"staticNetwork MUST match network object","options",e),this.#ee=n)}_getOption(t){return this.#M[t]}get _network(){return p(this.#ee,"network is not available yet","NETWORK_ERROR"),this.#ee}async _perform(t){if("call"===t.method||"estimateGas"===t.method){let e=t.transaction;if(e&&null!=e.type&&L(e.type)&&null==e.maxFeePerGas&&null==e.maxPriorityFeePerGas){const n=await this.getFeeData();null==n.maxFeePerGas&&null==n.maxPriorityFeePerGas&&(t=Object.assign({},t,{transaction:Object.assign({},e,{type:void 0})}))}}const e=this.getRpcRequest(t);return null!=e?await this.send(e.method,e.args):super._perform(t)}async _detectNetwork(){const t=this._getOption("staticNetwork");if(t){if(!0!==t)return t;if(this.#ee)return this.#ee}return this.#ue?await this.#ue:this.ready?(this.#ue=(async()=>{try{const t=Hc.from(L(await this.send("eth_chainId",[])));return this.#ue=null,t}catch(t){throw this.#ue=null,t}})(),await this.#ue):(this.#ue=(async()=>{const t={id:this.#ie++,method:"eth_chainId",params:[],jsonrpc:"2.0"};let e;this.emit("debug",{action:"sendRpcPayload",payload:t});try{e=(await this._send(t))[0],this.#ue=null}catch(t){throw this.#ue=null,this.emit("debug",{action:"receiveRpcError",error:t}),t}if(this.emit("debug",{action:"receiveRpcResult",result:e}),"result"in e)return Hc.from(L(e.result));throw this.getRpcError(t,e)})(),await this.#ue)}_start(){null!=this.#ce&&null!=this.#ce.resolve&&(this.#ce.resolve(),this.#ce=null,(async()=>{for(;null==this.#ee&&!this.destroyed;)try{this.#ee=await this._detectNetwork()}catch(t){if(this.destroyed)break;console.log("JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)"),this.emit("error",f("failed to bootstrap network detection","NETWORK_ERROR",{event:"initial-network-discovery",info:{error:t}})),await Tu(1e3)}this.#le()})())}async _waitUntilReady(){if(null!=this.#ce)return await this.#ce.promise}_getSubscriber(t){return"pending"===t.type?new vu(this):"event"===t.type?this._getOption("polling")?new Zc(this,t.filter):new Au(this,t.filter):"orphan"===t.type&&"drop-log"===t.filter.orphan?new nu("orphan"):super._getSubscriber(t)}get ready(){return null==this.#ce}getRpcTransaction(t){const e={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((n=>{if(null==t[n])return;let r=n;"gasLimit"===n&&(r="gas"),e[r]=K(L(t[n],`tx.${n}`))})),["from","to","data"].forEach((n=>{null!=t[n]&&(e[n]=N(t[n]))})),t.accessList&&(e.accessList=Yi(t.accessList)),t.blobVersionedHashes&&(e.blobVersionedHashes=t.blobVersionedHashes.map((t=>t.toLowerCase()))),e}getRpcRequest(t){switch(t.method){case"chainId":return{method:"eth_chainId",args:[]};case"getBlockNumber":return{method:"eth_blockNumber",args:[]};case"getGasPrice":return{method:"eth_gasPrice",args:[]};case"getPriorityFee":return{method:"eth_maxPriorityFeePerGas",args:[]};case"getBalance":return{method:"eth_getBalance",args:[Nu(t.address),t.blockTag]};case"getTransactionCount":return{method:"eth_getTransactionCount",args:[Nu(t.address),t.blockTag]};case"getCode":return{method:"eth_getCode",args:[Nu(t.address),t.blockTag]};case"getStorage":return{method:"eth_getStorageAt",args:[Nu(t.address),"0x"+t.position.toString(16),t.blockTag]};case"broadcastTransaction":return{method:"eth_sendRawTransaction",args:[t.signedTransaction]};case"getBlock":if("blockTag"in t)return{method:"eth_getBlockByNumber",args:[t.blockTag,!!t.includeTransactions]};if("blockHash"in t)return{method:"eth_getBlockByHash",args:[t.blockHash,!!t.includeTransactions]};break;case"getTransaction":return{method:"eth_getTransactionByHash",args:[t.hash]};case"getTransactionReceipt":return{method:"eth_getTransactionReceipt",args:[t.hash]};case"call":return{method:"eth_call",args:[this.getRpcTransaction(t.transaction),t.blockTag]};case"estimateGas":return{method:"eth_estimateGas",args:[this.getRpcTransaction(t.transaction)]};case"getLogs":return t.filter&&null!=t.filter.address&&(Array.isArray(t.filter.address)?t.filter.address=t.filter.address.map(Nu):t.filter.address=Nu(t.filter.address)),{method:"eth_getLogs",args:[t.filter]}}return null}getRpcError(t,e){const{method:n}=t,{error:r}=e;if("eth_estimateGas"===n&&r.message){const e=r.message;if(!e.match(/revert/i)&&e.match(/insufficient funds/i))return f("insufficient funds","INSUFFICIENT_FUNDS",{transaction:t.params[0],info:{payload:t,error:r}})}if("eth_call"===n||"eth_estimateGas"===n){const e=Cu(r),s=Sa.getBuiltinCallException("eth_call"===n?"call":"estimateGas",t.params[0],e?e.data:null);return s.info={error:r,payload:t},s}const s=JSON.stringify(function(t){const e=[];return Bu(t,e),e}(r));if("string"==typeof r.message&&r.message.match(/user denied|ethers-user-denied/i)){return f("user rejected action","ACTION_REJECTED",{action:{eth_sign:"signMessage",personal_sign:"signMessage",eth_signTypedData_v4:"signTypedData",eth_signTransaction:"signTransaction",eth_sendTransaction:"sendTransaction",eth_requestAccounts:"requestAccess",wallet_requestAccounts:"requestAccess"}[n]||"unknown",reason:"rejected",info:{payload:t,error:r}})}if("eth_sendRawTransaction"===n||"eth_sendTransaction"===n){const e=t.params[0];if(s.match(/insufficient funds|base fee exceeds gas limit/i))return f("insufficient funds for intrinsic transaction cost","INSUFFICIENT_FUNDS",{transaction:e,info:{error:r}});if(s.match(/nonce/i)&&s.match(/too low/i))return f("nonce has already been used","NONCE_EXPIRED",{transaction:e,info:{error:r}});if(s.match(/replacement transaction/i)&&s.match(/underpriced/i))return f("replacement fee too low","REPLACEMENT_UNDERPRICED",{transaction:e,info:{error:r}});if(s.match(/only replay-protected/i))return f("legacy pre-eip-155 transactions not supported","UNSUPPORTED_OPERATION",{operation:n,info:{transaction:e,info:{error:r}}})}let i=!!s.match(/the method .* does not exist/i);return i||r&&r.details&&r.details.startsWith("Unauthorized method:")&&(i=!0),i?f("unsupported operation","UNSUPPORTED_OPERATION",{operation:t.method,info:{error:r,payload:t}}):f("could not coalesce error","UNKNOWN_ERROR",{error:r,payload:t})}send(t,e){if(this.destroyed)return Promise.reject(f("provider destroyed; cancelled request","UNSUPPORTED_OPERATION",{operation:t}));const n=this.#ie++,r=new Promise(((r,s)=>{this.#oe.push({resolve:r,reject:s,payload:{method:t,params:e,id:n,jsonrpc:"2.0"}})}));return this.#le(),r}async getSigner(t){null==t&&(t=0);const e=this.send("eth_accounts",[]);if("number"==typeof t){const n=await e;if(t>=n.length)throw new Error("no such account");return new Ou(this,n[t])}const{accounts:n}=await a({network:this.getNetwork(),accounts:e});t=fs(t);for(const e of n)if(fs(e)===t)return new Ou(this,t);throw new Error("invalid account")}async listAccounts(){return(await this.send("eth_accounts",[])).map((t=>new Ou(this,t)))}destroy(){this.#ae&&(clearTimeout(this.#ae),this.#ae=null);for(const{payload:t,reject:e}of this.#oe)e(f("provider destroyed; cancelled request","UNSUPPORTED_OPERATION",{operation:t.method}));this.#oe=[],super.destroy()}}class Ru extends Pu{#he;constructor(t,e){super(t,e);let n=this._getOption("pollingInterval");null==n&&(n=Su.pollingInterval),this.#he=n}_getSubscriber(t){const e=super._getSubscriber(t);return xu(e)&&(e.pollingInterval=this.#he),e}get pollingInterval(){return this.#he}set pollingInterval(t){if(!Number.isInteger(t)||t<0)throw new Error("invalid interval");this.#he=t,this._forEachSubscriber((t=>{xu(t)&&(t.pollingInterval=this.#he)}))}}class Iu extends Ru{#fe;constructor(t,e,n){null==t&&(t="http://localhost:8545"),super(e,n),this.#fe="string"==typeof t?new ft(t):t.clone()}_getConnection(){return this.#fe.clone()}async send(t,e){return await this._start(),await super.send(t,e)}async _send(t){const e=this._getConnection();e.body=JSON.stringify(t),e.setHeader("content-type","application/json");const n=await e.send();n.assertOk();let r=n.bodyJson;return Array.isArray(r)||(r=[r]),r}}function Cu(t){if(null==t)return null;if("string"==typeof t.message&&t.message.match(/revert/i)&&E(t.data))return{message:t.message,data:t.data};if("object"==typeof t){for(const e in t){const n=Cu(t[e]);if(n)return n}return null}if("string"==typeof t)try{return Cu(JSON.parse(t))}catch(t){}return null}function Bu(t,e){if(null!=t){if("string"==typeof t.message&&e.push(t.message),"object"==typeof t)for(const n in t)Bu(t[n],e);if("string"==typeof t)try{return Bu(JSON.parse(t),e)}catch(t){}}}class Du extends Ru{#v;constructor(t,e,n){const r=Object.assign({},null!=n?n:{},{batchMaxCount:1});d(t&&t.request,"invalid EIP-1193 provider","ethereum",t),super(e,r),this.#v=async(e,n)=>{const r={method:e,params:n};this.emit("debug",{action:"sendEip1193Request",payload:r});try{const e=await t.request(r);return this.emit("debug",{action:"receiveEip1193Result",result:e}),e}catch(t){const e=new Error(t.message);throw e.code=t.code,e.data=t.data,e.payload=r,this.emit("debug",{action:"receiveEip1193Error",error:e}),e}}}async send(t,e){return await this._start(),await super.send(t,e)}async _send(t){d(!Array.isArray(t),"EIP-1193 does not support batch request","payload",t);try{const e=await this.#v(t.method,t.params||[]);return[{id:t.id,result:e}]}catch(e){return[{id:t.id,error:{code:e.code,data:e.data,message:e.message}}]}}getRpcError(t,e){switch((e=JSON.parse(JSON.stringify(e))).error.code||-1){case 4001:e.error.message=`ethers-user-denied: ${e.error.message}`;break;case 4200:e.error.message=`ethers-unsupported: ${e.error.message}`}return super.getRpcError(t,e)}async hasSigner(t){null==t&&(t=0);const e=await this.send("eth_accounts",[]);return"number"==typeof t?e.length>t:(t=t.toLowerCase(),0!==e.filter((e=>e.toLowerCase()===t)).length)}async getSigner(t){if(null==t&&(t=0),!await this.hasSigner(t))try{await this.#v("eth_requestAccounts",[])}catch(t){const e=t.payload;throw this.getRpcError(e,{id:e.id,error:t})}return await super.getSigner(t)}}class Uu extends mu{address;#pe;constructor(t,e){super(e),d(t&&"function"==typeof t.sign,"invalid private key","privateKey","[ REDACTED ]"),this.#pe=t;c(this,{address:qi(this.signingKey.publicKey)})}get signingKey(){return this.#pe}get privateKey(){return this.signingKey.privateKey}async getAddress(){return this.address}connect(t){return new Uu(this.#pe,t)}async signTransaction(t){t=_a(t);const{to:e,from:n}=await a({to:t.to?gs(t.to,this.provider):void 0,from:t.from?gs(t.from,this.provider):void 0});null!=e&&(t.to=e),null!=n&&(t.from=n),null!=t.from&&(d(fs(t.from)===this.address,"transaction from address mismatch","tx.from",t.from),delete t.from);const r=po.from(t);return r.signature=this.signingKey.sign(r.unsignedHash),r.serialized}async signMessage(t){return this.signMessageSync(t)}signMessageSync(t){return this.signingKey.sign(go(t)).serialized}async signTypedData(t,e,n){const r=await Ro.resolveNames(t,e,n,(async t=>{p(null!=this.provider,"cannot resolve ENS names without a provider","UNSUPPORTED_OPERATION",{operation:"resolveName",info:{name:t}});const e=await this.provider.resolveName(t);return p(null!=e,"unconfigured ENS name","UNCONFIGURED_NAME",{value:t}),e}));return this.signingKey.sign(Ro.hash(r.domain,e,r.value)).serialized}}const Lu=" !#$%&'()*+,-./<=>?@[]^_`{|}~",Fu=/^[a-z]*$/i;function Mu(t,e){let n=97;return t.reduce(((t,r)=>(r===e?n++:r.match(Fu)?t.push(String.fromCharCode(n)+r):(n=97,t.push(r)),t)),[])}function _u(t){return d("0"===t[0],"unsupported auwl data","data",t),function(t,e){for(let n=28;n>=0;n--)t=t.split(Lu[n]).join(e.substring(2*n,2*n+2));const n=[],r=t.replace(/(:|([0-9])|([A-Z][a-z]*))/g,((t,e,r,s)=>{if(r)for(let t=parseInt(r);t>=0;t--)n.push(";");else n.push(e.toLowerCase());return""}));if(r)throw new Error(`leftovers: ${JSON.stringify(r)}`);return Mu(Mu(n,";"),":")}(t.substring(59),t.substring(1,59))}class Gu{locale;constructor(t){c(this,{locale:t})}split(t){return t.toLowerCase().split(/\s+/g)}join(t){return t.join(" ")}}class ju extends Gu{#T;#de;constructor(t,e,n){super(t),this.#T=e,this.#de=n,this.#ge=null}get _data(){return this.#T}_decodeWords(){return _u(this.#T)}#ge;#ye(){if(null==this.#ge){const t=this._decodeWords();if(Ms(t.join("\n")+"\n")!==this.#de)throw new Error(`BIP39 Wordlist for ${this.locale} FAILED`);this.#ge=t}return this.#ge}getWord(t){const e=this.#ye();return d(t>=0&&t<e.length,`invalid word index: ${t}`,"index",t),e[t]}getWordIndex(t){return this.#ye().indexOf(t)}}let Hu=null;class Ku extends ju{constructor(){super("en","0erleonalorenseinceregesticitStanvetearctssi#ch2Athck&tneLl0And#Il.yLeOutO=S|S%b/ra@SurdU'0Ce[Cid|CountCu'Hie=IdOu,-Qui*Ro[TT]T%T*[Tu$0AptDD-tD*[Ju,M.UltV<)Vi)0Rob-0FairF%dRaid0A(EEntRee0Ead0MRRp%tS!_rmBumCoholErtI&LLeyLowMo,O}PhaReadySoT Ways0A>urAz(gOngOuntU'd0Aly,Ch%Ci|G G!GryIm$K!Noun)Nu$O` Sw T&naTiqueXietyY1ArtOlogyPe?P!Pro=Ril1ChCt-EaEnaGueMMedM%MyOundR<+Re,Ri=RowTTefa@Ti,Tw%k0KPe@SaultSetSi,SumeThma0H!>OmTa{T&dT.udeTra@0Ct]D.Gu,NtTh%ToTumn0Era+OcadoOid0AkeA*AyEsomeFulKw?d0Is:ByChel%C#D+GL<)Lc#y~MbooN<aNn RRelyRga(R*lSeS-SketTt!3A^AnAutyCau'ComeEfF%eG(Ha=H(dLie=LowLtN^Nef./TrayTt Twe&Y#d3Cyc!DKeNdOlogyRdR`Tt _{AdeAmeAnketA,EakE[IndOodO[omOu'UeUrUsh_rdAtDyIlMbNeNusOkO,Rd R(gRrowSsTtomUn)XY_{etA(AndA[A=EadEezeI{Id+IefIghtIngIskOccoliOk&OnzeOomO` OwnUsh2Bb!DdyD+tFf$oIldLbLkL!tNd!Nk Rd&Rg R,SS(e[SyTt Y Zz:Bba+B(B!CtusGeKe~LmM aMpNN$N)lNdyNn#NoeNvasNy#Pab!P.$Pta(RRb#RdRgoRpetRryRtSeShS(o/!Su$TT$ogT^Teg%yTt!UghtU'Ut]Ve3Il(gL yM|NsusNturyRe$Rta(_irAlkAmp]An+AosApt Ar+A'AtEapE{Ee'EfErryE,I{&IefIldIm}yOi)Oo'R#-U{!UnkUrn0G?Nnam#Rc!Tiz&TyVil_imApArifyAwAyE<ErkEv I{I|IffImbIn-IpO{OgO'O`OudOwnUbUmpU, Ut^_^A,C#utDeFfeeIlInL!@L%LumnMb(eMeMf%tM-Mm#Mp<yNc tNdu@NfirmNg*[N}@Nsid NtrolNv()OkOlPp PyR$ReRnR*@/Tt#U^UntryUp!Ur'Us(V Yo>_{Ad!AftAmA}AshAt AwlAzyEamEd.EekEwI{etImeIspIt-OpO[Ou^OwdUci$UelUi'Umb!Un^UshYY,$2BeLtu*PPbo?dRiousRr|Rta(R=Sh]/omTe3C!:DMa+MpN)Ng R(gShUght WnY3AlBa>BrisCadeCemb CideCl(eC%a>C*a'ErF&'F(eFyG*eLayLiv M<dMi'Ni$Nti,NyP?tP&dPos.P`PutyRi=ScribeS tSignSkSpair/royTailTe@VelopVi)Vo>3AgramAlAm#dAryCeE'lEtFf G.$Gn.yLemmaNn NosaurRe@RtSag*eScov Sea'ShSmi[S%d Splay/<)V tVideV%)Zzy5Ct%Cum|G~Lph(Ma(Na>NkeyN%OrSeUb!Ve_ftAg#AmaA,-AwEamE[IftIllInkIpI=OpUmY2CkMbNeR(g/T^Ty1Arf1Nam-:G G!RlyRnR`Sily/Sy1HoOlogyOnomy0GeItUca>1F%t0G1GhtTh 2BowD E@r-Eg<tEm|Eph<tEvat%I>Se0B?kBodyBra)Er+Ot]PloyPow Pty0Ab!A@DD![D%'EmyErgyF%)Ga+G(eH<)JoyLi,OughR-hRollSu*T Ti*TryVelope1Isode0U$Uip0AA'OdeOs]R%Upt0CapeSayS&)Ta>0Ern$H-s1Id&)IlOkeOl=1A@Amp!Ce[Ch<+C.eCludeCu'Ecu>Erci'Hau,Hib.I!I,ItOt-P<dPe@Pi*Pla(Po'P*[T&dTra0EEbrow:Br-CeCultyDeIntI`~L'MeMilyMousNNcyNtasyRmSh]TT$Th TigueUltV%.e3Atu*Bru?yD $EEdElMa!N)/iv$T^V W3B Ct]EldGu*LeLmLt N$NdNeNg NishReRmR,Sc$ShTT}[X_gAmeAshAtAv%EeIghtIpOatO{O%Ow UidUshY_mCusGIlLd~owOdOtR)Re,R+tRkRtu}RumRw?dSsil/ UndX_gi!AmeEqu|EshI&dIn+OgOntO,OwnOz&U.2ElNNnyRna)RyTu*:D+tInLaxy~ yMePRa+Rba+Rd&Rl-Rm|SSpTeTh U+Ze3N $NiusN*Nt!Nu(e/u*2O,0AntFtGg!Ng RaffeRlVe_dAn)A*A[IdeImp'ObeOomOryO=OwUe_tDde[LdOdO'RillaSpelSsipV nWn_bA)A(AntApeA[Av.yEatE&IdIefItOc yOupOwUnt_rdE[IdeIltIt?N3M:B.IrLfMm M, NdPpyRb%RdRshR=,TVeWkZ?d3AdAl`ArtAvyD+hogIght~oLmetLpNRo3Dd&Gh~NtPRe/%y5BbyCkeyLdLeLiday~owMeNeyOdPeRnRr%R'Sp.$/TelUrV 5BGeM<Mb!M%Nd*dNgryNtRd!RryRtSb<d3Brid:1EOn0EaEntifyLe2N%e4LLeg$L}[0A+Ita>M&'Mu}Pa@Po'Pro=Pul'0ChCludeComeC*a'DexD-a>Do%Du,ryF<tFl-tF%mHa!H .Iti$Je@JuryMa>N Noc|PutQuiryS<eSe@SideSpi*/$lTa@T e,ToVe,V.eVol=3On0L<dOla>Sue0Em1Ory:CketGu?RZz3AlousAns~yWel9BInKeUr}yY5D+I)MpNg!Ni%Nk/:Ng?oo3EnEpT^upY3CkDD}yNdNgdomSsTT^&TeTt&Wi4EeIfeO{Ow:BBelB%Dd DyKeMpNgua+PtopR+T T(UghUndryVaWWnWsu.Y Zy3Ad AfArnA=Ctu*FtGG$G&dIsu*M#NdNg`NsOp?dSs#Tt Vel3ArB tyBr?yC&'FeFtGhtKeMbM.NkOnQuid/Tt!VeZ?d5AdAnB, C$CkG-NelyNgOpTt yUdUn+VeY$5CkyGga+Mb N?N^Xury3R-s:Ch(eDG-G}tIdIlInJ%KeMm$NNa+Nda>NgoNs]Nu$P!Rb!R^Rg(R(eRketRria+SkSs/ T^T i$ThTrixTt XimumZe3AdowAnAsu*AtCh<-D$DiaLodyLtMb M%yNt]NuRcyR+R.RryShSsa+T$Thod3Dd!DnightLk~]M-NdNimumN%Nu>Rac!Rr%S ySs/akeXXedXtu*5Bi!DelDifyMM|N.%NkeyN, N`OnR$ReRn(gSqu.oTh T]T%Unta(U'VeVie5ChFf(LeLtiplySc!SeumShroomS-/Tu$3Self/ yTh:I=MePk(Rrow/yT]Tu*3ArCkEdGati=G!@I` PhewR=/TTw%kUtr$V WsXt3CeGht5B!I'M(eeOd!Rm$R`SeTab!TeTh(gTi)VelW5C!?Mb R'T:K0EyJe@Li+Scu*S =Ta(Vious0CurE<Tob 0Or1FF Fi)T&2L1Ay0DI=Ymp-0It0CeEI#L(eLy1EnEraIn]Po'T]1An+B.Ch?dD D(?yG<I|Ig($Ph<0Tr-h0H 0Tdo%T TputTside0AlEnEr0NN 0Yg&0/ 0O}:CtDd!GeIrLa)LmNdaNelN-N` P RadeR|RkRrotRtySsT^ThTi|TrolTt nU'VeYm|3A)AnutArAs<tL-<NN$tyNcilOp!Pp Rfe@Rm.Rs#T2O}OtoRa'Ys-$0AnoCn-Ctu*E)GGe#~LotNkO} Pe/olT^Zza_)A}tA,-A>AyEa'Ed+U{UgUn+2EmEtIntL?LeLi)NdNyOlPul?Rt]S.]Ssib!/TatoTt yV tyWd W _@i)Ai'Ed-tEf Epa*Es|EttyEv|I)IdeIm?yIntI%.yIs#Iva>IzeOb!mO)[Odu)Of.OgramOje@Omo>OofOp tyOsp O>@OudOvide2Bl-Dd(g~LpL'Mpk(N^PilPpyR^a'R.yRpo'R'ShTZz!3Ramid:99Al.yAntumArt E,]I{ItIzO>:Bb.Cco#CeCkD?DioIlInI'~yMpN^NdomN+PidReTeTh V&WZ%3AdyAlAs#BelBuildC$lCei=CipeC%dCyc!Du)F!@F%mFu'G]G*tGul?Je@LaxLea'LiefLyMa(Memb M(dMo=Nd NewNtOp&PairPeatPla)P%tQui*ScueSemb!Si,Sour)Sp#'SultTi*T*atTurnUn]Ve$ViewW?d2Y`m0BBb#CeChDeD+F!GhtGidNgOtPp!SkTu$V$V 5AdA,BotBu,CketM<)OfOkieOmSeTa>UghUndU>Y$5Bb DeGLeNNwayR$:DDd!D}[FeIlLadLm#L#LtLu>MeMp!NdTisfyToshiU)Usa+VeY1A!AnA*Att E}HemeHoolI&)I[%sOrp]OutRapRe&RiptRub1AAr^As#AtC#dC*tCt]Cur.yEdEkGm|Le@~M(?Ni%N'Nt&)RiesRvi)Ss]Tt!TupV&_dowAftAllowA*EdEllEriffIeldIftI}IpIv O{OeOotOpOrtOuld O=RimpRugUff!Y0Bl(gCkDeE+GhtGnL|Lk~yLv Mil?Mp!N)NgR&/ Tua>XZe1A>Et^IIllInIrtUll0AbAmEepEnd I)IdeIghtImOg<OtOwUsh0AllArtI!OkeOo`0A{AkeApIffOw0ApCc Ci$CkDaFtL?Ldi LidLut]L=Me#eNgOnRryRtUlUndUpUr)U`0A)A*Ati$AwnEakEci$EedEllEndH eI)Id IkeInIr.L.OilOns%O#OrtOtRayReadR(gY0Ua*UeezeUir*l_b!AdiumAffA+AirsAmpAndArtA>AyEakEelEmEpE*oI{IllIngO{Oma^O}OolOryO=Ra>gyReetRikeR#gRugg!Ud|UffUmb!Y!0Bje@Bm.BwayC)[ChDd&Ff G?G+,ItMm NNnyN'tP PplyP*meReRfa)R+Rpri'RroundR=ySpe@/a(1AllowAmpApArmE?EetIftImIngIt^Ord1MbolMptomRup/em:B!Ck!GIlL|LkNkPeR+tSk/eTtooXi3A^Am~NN<tNnisNtRm/Xt_nkAtEmeEnE%yE*EyIngIsOughtReeRi=RowUmbUnd 0CketDeG LtMb MeNyPRedSsueT!5A,BaccoDayDdl EGe` I!tK&MatoM%rowNeNgueNightOlO`PP-Pp!R^RnadoRtoi'SsT$Uri,W?dW WnY_{AdeAff-Ag-A(Ansf ApAshA=lAyEatEeEndI$IbeI{Igg ImIpOphyOub!U{UeUlyUmpetU,U`Y2BeIt]Mb!NaN}lRkeyRnRt!1El=EntyI)InI,O1PeP-$:5Ly5B*lla0Ab!Awa*C!Cov D DoFairFoldHappyIf%mIqueItIv 'KnownLo{TilUsu$Veil1Da>GradeHoldOnP Set1B<Ge0A+EEdEfulE![U$0Il.y:C<tCuumGueLidL!yL=NNishP%Rious/Ult3H-!L=tNd%Ntu*NueRbRifyRs]RyS'lT <3Ab!Br<tCiousCt%yDeoEw~a+Nta+Ol(Rtu$RusSaS.Su$T$Vid5C$I)IdLc<oLumeTeYa+:GeG#ItLk~LnutNtRfa*RmRri%ShSp/eT VeY3Al`Ap#ArA'lA` BDd(gEk&dIrdLcome/T_!AtEatEelEnE*IpIsp 0DeD`FeLd~NNdowNeNgNkNn Nt ReSdomSeShT}[5LfM<Nd OdOlRdRkRldRryR`_pE{E,!I,I>Ong::Rd3Ar~ow9UUngU`:3BraRo9NeO","0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60")}static wordlist(){return null==Hu&&(Hu=new Ku),Hu}}function Vu(t){return(1<<t)-1<<8-t&255}function Qu(t,e){m("NFKD"),null==e&&(e=Ku.wordlist());const n=e.split(t);d(n.length%3==0&&n.length>=12&&n.length<=24,"invalid mnemonic length","mnemonic","[ REDACTED ]");const r=new Uint8Array(Math.ceil(11*n.length/8));let s=0;for(let t=0;t<n.length;t++){let i=e.getWordIndex(n[t].normalize("NFKD"));d(i>=0,`invalid mnemonic word at index ${t}`,"mnemonic","[ REDACTED ]");for(let t=0;t<11;t++)i&1<<10-t&&(r[s>>3]|=1<<7-s%8),s++}const i=32*n.length/3,o=Vu(n.length/3);return d((A(Qn(r.slice(0,i/8)))[0]&o)===(r[r.length-1]&o),"invalid mnemonic checksum","mnemonic","[ REDACTED ]"),N(r.slice(0,i/8))}function Ju(t,e){d(t.length%4==0&&t.length>=16&&t.length<=32,"invalid entropy size","entropy","[ REDACTED ]"),null==e&&(e=Ku.wordlist());const n=[0];let r=11;for(let e=0;e<t.length;e++)r>8?(n[n.length-1]<<=8,n[n.length-1]|=t[e],r-=8):(n[n.length-1]<<=r,n[n.length-1]|=t[e]>>8-r,n.push(t[e]&((1<<8-r)-1&255)),r+=3);const s=t.length/4,i=parseInt(Qn(t).substring(2,4),16)&Vu(s);return n[n.length-1]<<=s,n[n.length-1]|=i>>8-s,e.join(n.map((t=>e.getWord(t))))}const zu={};class Yu{phrase;password;wordlist;entropy;constructor(t,e,n,r,s){null==r&&(r=""),null==s&&(s=Ku.wordlist()),w(t,zu,"Mnemonic"),c(this,{phrase:n,password:r,wordlist:s,entropy:e})}computeSeed(){const t=X("mnemonic"+this.password,"NFKD");return Tn(X(this.phrase,"NFKD"),t,2048,64,"sha512")}static fromPhrase(t,e,n){const r=Qu(t,n);return t=Ju(A(r),n),new Yu(zu,r,t,e,n)}static fromEntropy(t,e,n){const r=A(t,"entropy"),s=Ju(r,n);return new Yu(zu,N(r),s,e,n)}static entropyToPhrase(t,e){return Ju(A(t,"entropy"),e)}static phraseToEntropy(t,e){return Qu(t,e)}static isValidMnemonic(t,e){try{return Qu(t,e),!0}catch(t){}return!1}}
|
12
|
-
/*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */var qu,$u,Wu,Zu=function(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)},Xu=function(t,e,n,r,s){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?s.call(t,n):s?s.value=n:e.set(t,n),n};const tl={16:10,24:12,32:14},el=[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],nl=[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],rl=[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],sl=[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],il=[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],ol=[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],al=[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],cl=[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],ul=[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],ll=[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],hl=[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],fl=[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],pl=[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],dl=[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],gl=[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 yl(t){const e=[];for(let n=0;n<t.length;n+=4)e.push(t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3]);return e}class ml{get key(){return Zu(this,qu,"f").slice()}constructor(t){if(qu.set(this,void 0),$u.set(this,void 0),Wu.set(this,void 0),!(this instanceof ml))throw Error("AES must be instanitated with `new`");Xu(this,qu,new Uint8Array(t),"f");const e=tl[this.key.length];if(null==e)throw new TypeError("invalid key size (must be 16, 24 or 32 bytes)");Xu(this,Wu,[],"f"),Xu(this,$u,[],"f");for(let t=0;t<=e;t++)Zu(this,Wu,"f").push([0,0,0,0]),Zu(this,$u,"f").push([0,0,0,0]);const n=4*(e+1),r=this.key.length/4,s=yl(this.key);let i;for(let t=0;t<r;t++)i=t>>2,Zu(this,Wu,"f")[i][t%4]=s[t],Zu(this,$u,"f")[e-i][t%4]=s[t];let o,a=0,c=r;for(;c<n;){if(o=s[r-1],s[0]^=nl[o>>16&255]<<24^nl[o>>8&255]<<16^nl[255&o]<<8^nl[o>>24&255]^el[a]<<24,a+=1,8!=r)for(let t=1;t<r;t++)s[t]^=s[t-1];else{for(let t=1;t<r/2;t++)s[t]^=s[t-1];o=s[r/2-1],s[r/2]^=nl[255&o]^nl[o>>8&255]<<8^nl[o>>16&255]<<16^nl[o>>24&255]<<24;for(let t=r/2+1;t<r;t++)s[t]^=s[t-1]}let t,i,u=0;for(;u<r&&c<n;)t=c>>2,i=c%4,Zu(this,Wu,"f")[t][i]=s[u],Zu(this,$u,"f")[e-t][i]=s[u++],c++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)o=Zu(this,$u,"f")[t][e],Zu(this,$u,"f")[t][e]=fl[o>>24&255]^pl[o>>16&255]^dl[o>>8&255]^gl[255&o]}encrypt(t){if(16!=t.length)throw new TypeError("invalid plaintext size (must be 16 bytes)");const e=Zu(this,Wu,"f").length-1,n=[0,0,0,0];let r=yl(t);for(let t=0;t<4;t++)r[t]^=Zu(this,Wu,"f")[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)n[e]=sl[r[e]>>24&255]^il[r[(e+1)%4]>>16&255]^ol[r[(e+2)%4]>>8&255]^al[255&r[(e+3)%4]]^Zu(this,Wu,"f")[t][e];r=n.slice()}const s=new Uint8Array(16);let i=0;for(let t=0;t<4;t++)i=Zu(this,Wu,"f")[e][t],s[4*t]=255&(nl[r[t]>>24&255]^i>>24),s[4*t+1]=255&(nl[r[(t+1)%4]>>16&255]^i>>16),s[4*t+2]=255&(nl[r[(t+2)%4]>>8&255]^i>>8),s[4*t+3]=255&(nl[255&r[(t+3)%4]]^i);return s}decrypt(t){if(16!=t.length)throw new TypeError("invalid ciphertext size (must be 16 bytes)");const e=Zu(this,$u,"f").length-1,n=[0,0,0,0];let r=yl(t);for(let t=0;t<4;t++)r[t]^=Zu(this,$u,"f")[0][t];for(let t=1;t<e;t++){for(let e=0;e<4;e++)n[e]=cl[r[e]>>24&255]^ul[r[(e+3)%4]>>16&255]^ll[r[(e+2)%4]>>8&255]^hl[255&r[(e+1)%4]]^Zu(this,$u,"f")[t][e];r=n.slice()}const s=new Uint8Array(16);let i=0;for(let t=0;t<4;t++)i=Zu(this,$u,"f")[e][t],s[4*t]=255&(rl[r[t]>>24&255]^i>>24),s[4*t+1]=255&(rl[r[(t+3)%4]>>16&255]^i>>16),s[4*t+2]=255&(rl[r[(t+2)%4]>>8&255]^i>>8),s[4*t+3]=255&(rl[255&r[(t+1)%4]]^i);return s}}qu=new WeakMap,$u=new WeakMap,Wu=new WeakMap;class wl{constructor(t,e,n){if(n&&!(this instanceof n))throw new Error(`${t} must be instantiated with "new"`);Object.defineProperties(this,{aes:{enumerable:!0,value:new ml(e)},name:{enumerable:!0,value:t}})}}var bl,Al,vl=function(t,e,n,r,s){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?s.call(t,n):s?s.value=n:e.set(t,n),n},El=function(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)};class kl extends wl{constructor(t,e){if(super("ECC",t,kl),bl.set(this,void 0),Al.set(this,void 0),e){if(e.length%16)throw new TypeError("invalid iv size (must be 16 bytes)");vl(this,bl,new Uint8Array(e),"f")}else vl(this,bl,new Uint8Array(16),"f");vl(this,Al,this.iv,"f")}get iv(){return new Uint8Array(El(this,bl,"f"))}encrypt(t){if(t.length%16)throw new TypeError("invalid plaintext size (must be multiple of 16 bytes)");const e=new Uint8Array(t.length);for(let n=0;n<t.length;n+=16){for(let e=0;e<16;e++)El(this,Al,"f")[e]^=t[n+e];vl(this,Al,this.aes.encrypt(El(this,Al,"f")),"f"),e.set(El(this,Al,"f"),n)}return e}decrypt(t){if(t.length%16)throw new TypeError("invalid ciphertext size (must be multiple of 16 bytes)");const e=new Uint8Array(t.length);for(let n=0;n<t.length;n+=16){const r=this.aes.decrypt(t.subarray(n,n+16));for(let s=0;s<16;s++)e[n+s]=r[s]^El(this,Al,"f")[s],El(this,Al,"f")[s]=t[n+s]}return e}}bl=new WeakMap,Al=new WeakMap;var Tl,Nl,xl,Sl=function(t,e,n,r,s){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?s.call(t,n):s?s.value=n:e.set(t,n),n},Ol=function(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)};class Pl extends wl{constructor(t,e){super("CTR",t,Pl),Tl.set(this,void 0),Nl.set(this,void 0),xl.set(this,void 0),Sl(this,xl,new Uint8Array(16),"f"),Ol(this,xl,"f").fill(0),Sl(this,Tl,Ol(this,xl,"f"),"f"),Sl(this,Nl,16,"f"),null==e&&(e=1),"number"==typeof e?this.setCounterValue(e):this.setCounterBytes(e)}get counter(){return new Uint8Array(Ol(this,xl,"f"))}setCounterValue(t){if(!Number.isInteger(t)||t<0||t>Number.MAX_SAFE_INTEGER)throw new TypeError("invalid counter initial integer value");for(let e=15;e>=0;--e)Ol(this,xl,"f")[e]=t%256,t=Math.floor(t/256)}setCounterBytes(t){if(16!==t.length)throw new TypeError("invalid counter initial Uint8Array value length");Ol(this,xl,"f").set(t)}increment(){for(let t=15;t>=0;t--){if(255!==Ol(this,xl,"f")[t]){Ol(this,xl,"f")[t]++;break}Ol(this,xl,"f")[t]=0}}encrypt(t){var e,n;const r=new Uint8Array(t);for(let t=0;t<r.length;t++)16===Ol(this,Nl,"f")&&(Sl(this,Tl,this.aes.encrypt(Ol(this,xl,"f")),"f"),Sl(this,Nl,0,"f"),this.increment()),r[t]^=Ol(this,Tl,"f")[(Sl(this,Nl,(n=Ol(this,Nl,"f"),e=n++,n),"f"),e)];return r}decrypt(t){return this.encrypt(t)}}function Rl(t){return"string"!=typeof t||t.startsWith("0x")||(t="0x"+t),v(t)}function Il(t,e){for(t=String(t);t.length<e;)t="0"+t;return t}function Cl(t){return"string"==typeof t?X(t,"NFKC"):v(t)}function Bl(t,e){const n=e.match(/^([a-z0-9$_.-]*)(:([a-z]+))?(!)?$/i);d(null!=n,"invalid path","path",e);const r=n[1],s=n[3],i="!"===n[4];let o=t;for(const t of r.toLowerCase().split(".")){if(Array.isArray(o)){if(!t.match(/^[0-9]+$/))break;o=o[parseInt(t)]}else if("object"==typeof o){let e=null;for(const n in o)if(n.toLowerCase()===t){e=o[n];break}o=e}else o=null;if(null==o)break}if(d(!i||null!=o,"missing required value","path",r),s&&null!=o){if("int"===s){if("string"==typeof o&&o.match(/^-?[0-9]+$/))return parseInt(o);if(Number.isSafeInteger(o))return o}if("number"===s&&"string"==typeof o&&o.match(/^-?[0-9.]*$/))return parseFloat(o);if("data"===s&&"string"==typeof o)return Rl(o);if("array"===s&&Array.isArray(o))return o;if(s===typeof o)return o;d(!1,`wrong type found for ${s} `,"path",r)}return o}Tl=new WeakMap,Nl=new WeakMap,xl=new WeakMap;const Dl="m/44'/60'/0'/0/0";function Ul(t){try{const e=JSON.parse(t);if(3===(null!=e.version?parseInt(e.version):0))return!0}catch(t){}return!1}function Ll(t,e){const n=A(e),r=Bl(t,"crypto.ciphertext:data!");d(N(en(x([n.slice(16,32),r]))).substring(2)===Bl(t,"crypto.mac:string!").toLowerCase(),"incorrect password","password","[ REDACTED ]");const s=function(t,e,n){if("aes-128-ctr"===Bl(t,"crypto.cipher:string")){const r=Bl(t,"crypto.cipherparams.iv:data!");return N(new Pl(e,r).decrypt(n))}p(!1,"unsupported cipher","UNSUPPORTED_OPERATION",{operation:"decrypt"})}(t,n.slice(0,16),r),i=qi(s);if(t.address){let e=t.address.toLowerCase();e.startsWith("0x")||(e="0x"+e),d(fs(e)===i,"keystore address/privateKey mismatch","address",t.address)}const o={address:i,privateKey:s};if("0.1"===Bl(t,"x-ethers.version:string")){const e=n.slice(32,64),r=Bl(t,"x-ethers.mnemonicCiphertext:data!"),s=Bl(t,"x-ethers.mnemonicCounter:data!"),i=new Pl(e,s);o.mnemonic={path:Bl(t,"x-ethers.path:string")||Dl,locale:Bl(t,"x-ethers.locale:string")||"en",entropy:N(A(i.decrypt(r)))}}return o}function Fl(t){const e=Bl(t,"crypto.kdf:string");if(e&&"string"==typeof e){if("scrypt"===e.toLowerCase()){const n=Bl(t,"crypto.kdfparams.salt:data!"),r=Bl(t,"crypto.kdfparams.n:int!"),s=Bl(t,"crypto.kdfparams.r:int!"),i=Bl(t,"crypto.kdfparams.p:int!");d(r>0&&!(r&r-1),"invalid kdf.N","kdf.N",r),d(s>0&&i>0,"invalid kdf","kdf",e);const o=Bl(t,"crypto.kdfparams.dklen:int!");return d(32===o,"invalid kdf.dklen","kdf.dflen",o),{name:"scrypt",salt:n,N:r,r:s,p:i,dkLen:64}}if("pbkdf2"===e.toLowerCase()){const e=Bl(t,"crypto.kdfparams.salt:data!"),n=Bl(t,"crypto.kdfparams.prf:string!"),r=n.split("-").pop();d("sha256"===r||"sha512"===r,"invalid kdf.pdf","kdf.pdf",n);const s=Bl(t,"crypto.kdfparams.c:int!"),i=Bl(t,"crypto.kdfparams.dklen:int!");return d(32===i,"invalid kdf.dklen","kdf.dklen",i),{name:"pbkdf2",salt:e,count:s,dkLen:i,algorithm:r}}}d(!1,"unsupported key-derivation function","kdf",e)}function Ml(t){return new Promise((e=>{setTimeout((()=>{e()}),t)}))}function _l(t){const e=null!=t.salt?A(t.salt,"options.salt"):On(32);let n=1<<17,r=8,s=1;return t.scrypt&&(t.scrypt.N&&(n=t.scrypt.N),t.scrypt.r&&(r=t.scrypt.r),t.scrypt.p&&(s=t.scrypt.p)),d("number"==typeof n&&n>0&&Number.isSafeInteger(n)&&(BigInt(n)&BigInt(n-1))===BigInt(0),"invalid scrypt N parameter","options.N",n),d("number"==typeof r&&r>0&&Number.isSafeInteger(r),"invalid scrypt r parameter","options.r",r),d("number"==typeof s&&s>0&&Number.isSafeInteger(s),"invalid scrypt p parameter","options.p",s),{name:"scrypt",dkLen:32,salt:e,N:n,r:r,p:s}}function Gl(t,e,n,r){const s=A(n.privateKey,"privateKey"),o=null!=r.iv?A(r.iv,"options.iv"):On(16);d(16===o.length,"invalid options.iv length","options.iv",r.iv);const a=null!=r.uuid?A(r.uuid,"options.uuid"):On(16);d(16===a.length,"invalid options.uuid length","options.uuid",r.iv);const c=t.slice(0,16),u=t.slice(16,32),l=A(new Pl(c,o).encrypt(s)),h=en(x([u,l])),f={address:n.address.substring(2).toLowerCase(),id:Tt(a),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:N(o).substring(2)},ciphertext:N(l).substring(2),kdf:"scrypt",kdfparams:{salt:N(e.salt).substring(2),n:e.N,dklen:32,p:e.p,r:e.r},mac:h.substring(2)}};if(n.mnemonic){const e=null!=r.client?r.client:`ethers/${i}`,s=n.mnemonic.path||Dl,o=n.mnemonic.locale||"en",a=t.slice(32,64),c=A(n.mnemonic.entropy,"account.mnemonic.entropy"),u=On(16),l=A(new Pl(a,u).encrypt(c)),h=new Date,p="UTC--"+(h.getUTCFullYear()+"-"+Il(h.getUTCMonth()+1,2)+"-"+Il(h.getUTCDate(),2)+"T"+Il(h.getUTCHours(),2)+"-"+Il(h.getUTCMinutes(),2)+"-"+Il(h.getUTCSeconds(),2)+".0Z")+"--"+f.address;f["x-ethers"]={client:e,gethFilename:p,path:s,locale:o,mnemonicCounter:N(u).substring(2),mnemonicCiphertext:N(l).substring(2),version:"0.1"}}return JSON.stringify(f)}function jl(t,e,n){null==n&&(n={});const r=Cl(e),s=_l(n);return Gl(A(jn(r,s.salt,s.N,s.r,s.p,64)),s,t,n)}async function Hl(t,e,n){null==n&&(n={});const r=Cl(e),s=_l(n);return Gl(A(await Gn(r,s.salt,s.N,s.r,s.p,64,n.progressCallback)),s,t,n)}const Kl="m/44'/60'/0'/0/0",Vl=new Uint8Array([66,105,116,99,111,105,110,32,115,101,101,100]),Ql=2147483648,Jl=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141");function zl(t,e){let n="";for(;t;)n="0123456789abcdef"[t%16]+n,t=Math.trunc(t/16);for(;n.length<2*e;)n="0"+n;return"0x"+n}function Yl(t){const e=A(t);return q(x([e,O(Qn(Qn(e)),0,4)]))}const ql={};function $l(t,e,n,r){const s=new Uint8Array(37);t&Ql?(p(null!=r,"cannot derive child of neutered node","UNSUPPORTED_OPERATION",{operation:"deriveChild"}),s.set(A(r),1)):s.set(A(n));for(let e=24;e>=0;e-=8)s[33+(e>>3)]=t>>24-e&255;const i=A(Le("sha512",e,s));return{IL:i.slice(0,32),IR:i.slice(32)}}function Wl(t,e){const n=e.split("/");d(n.length>0,"invalid path","path",e),"m"===n[0]&&(d(0===t.depth,`cannot derive root path (i.e. path starting with "m/") for a node at non-zero depth ${t.depth}`,"path",e),n.shift());let r=t;for(let t=0;t<n.length;t++){const e=n[t];if(e.match(/^[0-9]+'$/)){const n=parseInt(e.substring(0,e.length-1));d(n<Ql,"invalid path index",`path[${t}]`,e),r=r.deriveChild(Ql+n)}else if(e.match(/^[0-9]+$/)){const n=parseInt(e);d(n<Ql,"invalid path index",`path[${t}]`,e),r=r.deriveChild(n)}else d(!1,"invalid path component",`path[${t}]`,e)}return r}class Zl extends Uu{publicKey;fingerprint;parentFingerprint;mnemonic;chainCode;path;index;depth;constructor(t,e,n,r,s,i,o,a,u){super(e,u),w(t,ql,"HDNodeWallet"),c(this,{publicKey:e.compressedPublicKey});c(this,{parentFingerprint:n,fingerprint:O(An(Qn(this.publicKey)),0,4),chainCode:r,path:s,index:i,depth:o}),c(this,{mnemonic:a})}connect(t){return new Zl(ql,this.signingKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,this.mnemonic,t)}#me(){const t={address:this.address,privateKey:this.privateKey},e=this.mnemonic;return this.path&&e&&"en"===e.wordlist.locale&&""===e.password&&(t.mnemonic={path:this.path,locale:"en",entropy:e.entropy}),t}async encrypt(t,e){return await Hl(this.#me(),t,{progressCallback:e})}encryptSync(t){return jl(this.#me(),t)}get extendedKey(){return p(this.depth<256,"Depth too deep","UNSUPPORTED_OPERATION",{operation:"extendedKey"}),Yl(x(["0x0488ADE4",zl(this.depth,1),this.parentFingerprint,zl(this.index,4),this.chainCode,x(["0x00",this.privateKey])]))}hasPath(){return null!=this.path}neuter(){return new Xl(ql,this.address,this.publicKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,this.provider)}deriveChild(t){const e=G(t,"index");d(e<=4294967295,"invalid index","index",e);let n=this.path;n&&(n+="/"+(2147483647&e),e&Ql&&(n+="'"));const{IR:r,IL:s}=$l(e,this.chainCode,this.publicKey,this.privateKey),i=new os(j((_(s)+BigInt(this.privateKey))%Jl,32));return new Zl(ql,i,this.fingerprint,N(r),n,e,this.depth+1,this.mnemonic,this.provider)}derivePath(t){return Wl(this,t)}static#we(t,e){d(k(t),"invalid seed","seed","[REDACTED]");const n=A(t,"seed");d(n.length>=16&&n.length<=64,"invalid seed","seed","[REDACTED]");const r=A(Le("sha512",Vl,n)),s=new os(N(r.slice(0,32)));return new Zl(ql,s,"0x00000000",N(r.slice(32)),"m",0,0,e,null)}static fromExtendedKey(t){const e=H(function(t){let e=z;for(let n=0;n<t.length;n++)e*=Y,e+=J(t[n]);return e}(t));d(82===e.length||Yl(e.slice(0,78))===t,"invalid extended key","extendedKey","[ REDACTED ]");const n=e[4],r=N(e.slice(5,9)),s=parseInt(N(e.slice(9,13)).substring(2),16),i=N(e.slice(13,45)),o=e.slice(45,78);switch(N(e.slice(0,4))){case"0x0488b21e":case"0x043587cf":{const t=N(o);return new Xl(ql,qi(t),t,r,i,null,s,n,null)}case"0x0488ade4":case"0x04358394 ":if(0!==o[0])break;return new Zl(ql,new os(o.slice(1)),r,i,null,s,n,null,null)}d(!1,"invalid extended key prefix","extendedKey","[ REDACTED ]")}static createRandom(t,e,n){null==t&&(t=""),null==e&&(e=Kl),null==n&&(n=Ku.wordlist());const r=Yu.fromEntropy(On(16),t,n);return Zl.#we(r.computeSeed(),r).derivePath(e)}static fromMnemonic(t,e){return e||(e=Kl),Zl.#we(t.computeSeed(),t).derivePath(e)}static fromPhrase(t,e,n,r){null==e&&(e=""),null==n&&(n=Kl),null==r&&(r=Ku.wordlist());const s=Yu.fromPhrase(t,e,r);return Zl.#we(s.computeSeed(),s).derivePath(n)}static fromSeed(t){return Zl.#we(t,null)}}class Xl extends wu{publicKey;fingerprint;parentFingerprint;chainCode;path;index;depth;constructor(t,e,n,r,s,i,o,a,u){super(e,u),w(t,ql,"HDNodeVoidWallet"),c(this,{publicKey:n});c(this,{publicKey:n,fingerprint:O(An(Qn(n)),0,4),parentFingerprint:r,chainCode:s,path:i,index:o,depth:a})}connect(t){return new Xl(ql,this.address,this.publicKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,t)}get extendedKey(){return p(this.depth<256,"Depth too deep","UNSUPPORTED_OPERATION",{operation:"extendedKey"}),Yl(x(["0x0488B21E",zl(this.depth,1),this.parentFingerprint,zl(this.index,4),this.chainCode,this.publicKey]))}hasPath(){return null!=this.path}deriveChild(t){const e=G(t,"index");d(e<=4294967295,"invalid index","index",e);let n=this.path;n&&(n+="/"+(2147483647&e),e&Ql&&(n+="'"));const{IR:r,IL:s}=$l(e,this.chainCode,this.publicKey,null),i=os.addPoints(s,this.publicKey,!0),o=qi(i);return new Xl(ql,o,i,this.fingerprint,N(r),n,e,this.depth+1,this.provider)}derivePath(t){return Wl(this,t)}}function th(t){try{if(JSON.parse(t).encseed)return!0}catch(t){}return!1}function eh(t,e){const n=JSON.parse(t),r=Cl(e),s=fs(Bl(n,"ethaddr:string!")),i=Rl(Bl(n,"encseed:string!"));d(i&&i.length%16==0,"invalid encseed","json",t);const o=A(Tn(r,r,2e3,32,"sha256")).slice(0,16),a=i.slice(0,16),c=i.slice(16),u=function(t){if(t.length<16)throw new TypeError("PKCS#7 invalid length");const e=t[t.length-1];if(e>16)throw new TypeError("PKCS#7 padding byte out of range");const n=t.length-e;for(let r=0;r<e;r++)if(t[n+r]!==e)throw new TypeError("PKCS#7 invalid padding byte");return new Uint8Array(t.subarray(0,n))}(A(new kl(o,a).decrypt(c)));let l="";for(let t=0;t<u.length;t++)l+=String.fromCharCode(u[t]);return{address:s,privateKey:Ms(l)}}function nh(t){return new Promise((e=>{setTimeout((()=>{e()}),t)}))}let rh=class t extends Uu{constructor(t,e){"string"!=typeof t||t.startsWith("0x")||(t="0x"+t),super("string"==typeof t?new os(t):t,e)}connect(e){return new t(this.signingKey,e)}async encrypt(t,e){const n={address:this.address,privateKey:this.privateKey};return await Hl(n,t,{progressCallback:e})}encryptSync(t){return jl({address:this.address,privateKey:this.privateKey},t)}static#be(e){if(d(e,"invalid JSON wallet","json","[ REDACTED ]"),"mnemonic"in e&&e.mnemonic&&"en"===e.mnemonic.locale){const t=Yu.fromEntropy(e.mnemonic.entropy),n=Zl.fromMnemonic(t,e.mnemonic.path);if(n.address===e.address&&n.privateKey===e.privateKey)return n;console.log("WARNING: JSON mismatch address/privateKey != mnemonic; fallback onto private key")}const n=new t(e.privateKey);return d(n.address===e.address,"address/privateKey mismatch","json","[ REDACTED ]"),n}static async fromEncryptedJson(e,n,r){let s=null;return Ul(e)?s=await async function(t,e,n){const r=JSON.parse(t),s=Cl(e),i=Fl(r);if("pbkdf2"===i.name){n&&(n(0),await Ml(0));const{salt:t,count:e,dkLen:o,algorithm:a}=i,c=Tn(s,t,e,o,a);return n&&(n(1),await Ml(0)),Ll(r,c)}p("scrypt"===i.name,"cannot be reached","UNKNOWN_ERROR",{params:i});const{salt:o,N:a,r:c,p:u,dkLen:l}=i;return Ll(r,await Gn(s,o,a,c,u,l,n))}(e,n,r):th(e)&&(r&&(r(0),await nh(0)),s=eh(e,n),r&&(r(1),await nh(0))),t.#be(s)}static fromEncryptedJsonSync(e,n){let r=null;return Ul(e)?r=function(t,e){const n=JSON.parse(t),r=Cl(e),s=Fl(n);if("pbkdf2"===s.name){const{salt:t,count:e,dkLen:i,algorithm:o}=s;return Ll(n,Tn(r,t,e,i,o))}p("scrypt"===s.name,"cannot be reached","UNKNOWN_ERROR",{params:s});const{salt:i,N:o,r:a,p:c,dkLen:u}=s;return Ll(n,jn(r,i,o,a,c,u))}(e,n):th(e)?r=eh(e,n):d(!1,"invalid JSON wallet","json","[ REDACTED ]"),t.#be(r)}static createRandom(t){const e=Zl.createRandom();return t?e.connect(t):e}static fromPhrase(t,e){const n=Zl.fromPhrase(t);return e?n.connect(e):n}};var sh={STEALTH_ANNOUNCER_ADDRESS:"",PROOF_OF_INTEGRITY_ADDRESS:""},ih=2147483647,oh=/[^\x20-\x7E]/,ah=/[\x2E\u3002\uFF0E\uFF61]/g,ch={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},uh=Math.floor,lh=String.fromCharCode;function hh(t){throw new RangeError(ch[t])}function fh(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function ph(t,e,n){var r=0;for(t=n?uh(t/700):t>>1,t+=uh(t/e);t>455;r+=36)t=uh(t/35);return uh(r+36*t/(t+38))}function dh(t){return function(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]);var s=function(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}((t=t.replace(ah,".")).split("."),e).join(".");return r+s}(t,(function(t){return oh.test(t)?"xn--"+function(t){var e,n,r,s,i,o,a,c,u,l,h,f,p,d,g,y=[];for(t=function(t){for(var e,n,r=[],s=0,i=t.length;s<i;)(e=t.charCodeAt(s++))>=55296&&e<=56319&&s<i?56320==(64512&(n=t.charCodeAt(s++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),s--):r.push(e);return r}(t),f=t.length,e=128,n=0,i=72,o=0;o<f;++o)(h=t[o])<128&&y.push(lh(h));for(r=s=y.length,s&&y.push("-");r<f;){for(a=ih,o=0;o<f;++o)(h=t[o])>=e&&h<a&&(a=h);for(a-e>uh((ih-n)/(p=r+1))&&hh("overflow"),n+=(a-e)*p,e=a,o=0;o<f;++o)if((h=t[o])<e&&++n>ih&&hh("overflow"),h==e){for(c=n,u=36;!(c<(l=u<=i?1:u>=i+26?26:u-i));u+=36)g=c-l,d=36-l,y.push(lh(fh(l+g%d,0))),c=uh(g/d);y.push(lh(fh(c,0))),i=ph(n,p,r==s),n=0,++r}++n,++e}return y.join("")}(t):t}))}var gh=[],yh=[],mh="undefined"!=typeof Uint8Array?Uint8Array:Array,wh=!1;function bh(){wh=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)gh[e]=t[e],yh[t.charCodeAt(e)]=e;yh["-".charCodeAt(0)]=62,yh["_".charCodeAt(0)]=63}function Ah(t,e,n){for(var r,s,i=[],o=e;o<n;o+=3)r=(t[o]<<16)+(t[o+1]<<8)+t[o+2],i.push(gh[(s=r)>>18&63]+gh[s>>12&63]+gh[s>>6&63]+gh[63&s]);return i.join("")}function vh(t){var e;wh||bh();for(var n=t.length,r=n%3,s="",i=[],o=16383,a=0,c=n-r;a<c;a+=o)i.push(Ah(t,a,a+o>c?c:a+o));return 1===r?(e=t[n-1],s+=gh[e>>2],s+=gh[e<<4&63],s+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],s+=gh[e>>10],s+=gh[e>>4&63],s+=gh[e<<2&63],s+="="),i.push(s),i.join("")}function Eh(t,e,n,r,s){var i,o,a=8*s-r-1,c=(1<<a)-1,u=c>>1,l=-7,h=n?s-1:0,f=n?-1:1,p=t[e+h];for(h+=f,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+t[e+h],h+=f,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=r;l>0;o=256*o+t[e+h],h+=f,l-=8);if(0===i)i=1-u;else{if(i===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),i-=u}return(p?-1:1)*o*Math.pow(2,i-r)}function kh(t,e,n,r,s,i){var o,a,c,u=8*i-s-1,l=(1<<u)-1,h=l>>1,f=23===s?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=l):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),(e+=o+h>=1?f/c:f*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=l?(a=0,o=l):o+h>=1?(a=(e*c-1)*Math.pow(2,s),o+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,s),o=0));s>=8;t[n+p]=255&a,p+=d,a/=256,s-=8);for(o=o<<s|a,u+=s;u>0;t[n+p]=255&o,p+=d,o/=256,u-=8);t[n+p-d]|=128*g}var Th={}.toString,Nh=Array.isArray||function(t){return"[object Array]"==Th.call(t)};function xh(){return Oh.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Sh(t,e){if(xh()<e)throw new RangeError("Invalid typed array length");return Oh.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=Oh.prototype:(null===t&&(t=new Oh(e)),t.length=e),t}function Oh(t,e,n){if(!(Oh.TYPED_ARRAY_SUPPORT||this instanceof Oh))return new Oh(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return Ih(this,t)}return Ph(this,t,e,n)}function Ph(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);Oh.TYPED_ARRAY_SUPPORT?(t=e).__proto__=Oh.prototype:t=Ch(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!Oh.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Uh(e,n);t=Sh(t,r);var s=t.write(e,n);s!==r&&(t=t.slice(0,s));return t}(t,e,n):function(t,e){if(Dh(e)){var n=0|Bh(e.length);return 0===(t=Sh(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?Sh(t,0):Ch(t,e);if("Buffer"===e.type&&Nh(e.data))return Ch(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function Rh(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Ih(t,e){if(Rh(e),t=Sh(t,e<0?0:0|Bh(e)),!Oh.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function Ch(t,e){var n=e.length<0?0:0|Bh(e.length);t=Sh(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function Bh(t){if(t>=xh())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xh().toString(16)+" bytes");return 0|t}function Dh(t){return!(null==t||!t._isBuffer)}function Uh(t,e){if(Dh(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return uf(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return lf(t).length;default:if(r)return uf(t).length;e=(""+e).toLowerCase(),r=!0}}function Lh(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Wh(this,e,n);case"utf8":case"utf-8":return zh(this,e,n);case"ascii":return qh(this,e,n);case"latin1":case"binary":return $h(this,e,n);case"base64":return Jh(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zh(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function Fh(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function Mh(t,e,n,r,s){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=s?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(s)return-1;n=t.length-1}else if(n<0){if(!s)return-1;n=0}if("string"==typeof e&&(e=Oh.from(e,r)),Dh(e))return 0===e.length?-1:_h(t,e,n,r,s);if("number"==typeof e)return e&=255,Oh.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):_h(t,[e],n,r,s);throw new TypeError("val must be string, number or Buffer")}function _h(t,e,n,r,s){var i,o=1,a=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;o=2,a/=2,c/=2,n/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(s){var l=-1;for(i=n;i<a;i++)if(u(t,i)===u(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*o}else-1!==l&&(i-=i-l),l=-1}else for(n+c>a&&(n=a-c),i=n;i>=0;i--){for(var h=!0,f=0;f<c;f++)if(u(t,i+f)!==u(e,f)){h=!1;break}if(h)return i}return-1}function Gh(t,e,n,r){n=Number(n)||0;var s=t.length-n;r?(r=Number(r))>s&&(r=s):r=s;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o<r;++o){var a=parseInt(e.substr(2*o,2),16);if(isNaN(a))return o;t[n+o]=a}return o}function jh(t,e,n,r){return hf(uf(e,t.length-n),t,n,r)}function Hh(t,e,n,r){return hf(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function Kh(t,e,n,r){return Hh(t,e,n,r)}function Vh(t,e,n,r){return hf(lf(e),t,n,r)}function Qh(t,e,n,r){return hf(function(t,e){for(var n,r,s,i=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,s=n%256,i.push(s),i.push(r);return i}(e,t.length-n),t,n,r)}function Jh(t,e,n){return 0===e&&n===t.length?vh(t):vh(t.slice(e,n))}function zh(t,e,n){n=Math.min(t.length,n);for(var r=[],s=e;s<n;){var i,o,a,c,u=t[s],l=null,h=u>239?4:u>223?3:u>191?2:1;if(s+h<=n)switch(h){case 1:u<128&&(l=u);break;case 2:128==(192&(i=t[s+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=t[s+1],o=t[s+2],128==(192&i)&&128==(192&o)&&(c=(15&u)<<12|(63&i)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=t[s+1],o=t[s+2],a=t[s+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(c=(15&u)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),s+=h}return function(t){var e=t.length;if(e<=Yh)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=Yh));return n}(r)}Oh.TYPED_ARRAY_SUPPORT=void 0===_t.TYPED_ARRAY_SUPPORT||_t.TYPED_ARRAY_SUPPORT,xh(),Oh.poolSize=8192,Oh._augment=function(t){return t.__proto__=Oh.prototype,t},Oh.from=function(t,e,n){return Ph(null,t,e,n)},Oh.TYPED_ARRAY_SUPPORT&&(Oh.prototype.__proto__=Uint8Array.prototype,Oh.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Oh[Symbol.species]),Oh.alloc=function(t,e,n){return function(t,e,n,r){return Rh(e),e<=0?Sh(t,e):void 0!==n?"string"==typeof r?Sh(t,e).fill(n,r):Sh(t,e).fill(n):Sh(t,e)}(null,t,e,n)},Oh.allocUnsafe=function(t){return Ih(null,t)},Oh.allocUnsafeSlow=function(t){return Ih(null,t)},Oh.isBuffer=function(t){return null!=t&&(!!t._isBuffer||ff(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&ff(t.slice(0,0))}(t))},Oh.compare=function(t,e){if(!Dh(t)||!Dh(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,s=0,i=Math.min(n,r);s<i;++s)if(t[s]!==e[s]){n=t[s],r=e[s];break}return n<r?-1:r<n?1:0},Oh.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Oh.concat=function(t,e){if(!Nh(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return Oh.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=Oh.allocUnsafe(e),s=0;for(n=0;n<t.length;++n){var i=t[n];if(!Dh(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,s),s+=i.length}return r},Oh.byteLength=Uh,Oh.prototype._isBuffer=!0,Oh.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)Fh(this,e,e+1);return this},Oh.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)Fh(this,e,e+3),Fh(this,e+1,e+2);return this},Oh.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)Fh(this,e,e+7),Fh(this,e+1,e+6),Fh(this,e+2,e+5),Fh(this,e+3,e+4);return this},Oh.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?zh(this,0,t):Lh.apply(this,arguments)},Oh.prototype.equals=function(t){if(!Dh(t))throw new TypeError("Argument must be a Buffer");return this===t||0===Oh.compare(this,t)},Oh.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},Oh.prototype.compare=function(t,e,n,r,s){if(!Dh(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===s&&(s=this.length),e<0||n>t.length||r<0||s>this.length)throw new RangeError("out of range index");if(r>=s&&e>=n)return 0;if(r>=s)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(s>>>=0)-(r>>>=0),o=(n>>>=0)-(e>>>=0),a=Math.min(i,o),c=this.slice(r,s),u=t.slice(e,n),l=0;l<a;++l)if(c[l]!==u[l]){i=c[l],o=u[l];break}return i<o?-1:o<i?1:0},Oh.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},Oh.prototype.indexOf=function(t,e,n){return Mh(this,t,e,n,!0)},Oh.prototype.lastIndexOf=function(t,e,n){return Mh(this,t,e,n,!1)},Oh.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var s=this.length-e;if((void 0===n||n>s)&&(n=s),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Gh(this,t,e,n);case"utf8":case"utf-8":return jh(this,t,e,n);case"ascii":return Hh(this,t,e,n);case"latin1":case"binary":return Kh(this,t,e,n);case"base64":return Vh(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qh(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},Oh.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Yh=4096;function qh(t,e,n){var r="";n=Math.min(t.length,n);for(var s=e;s<n;++s)r+=String.fromCharCode(127&t[s]);return r}function $h(t,e,n){var r="";n=Math.min(t.length,n);for(var s=e;s<n;++s)r+=String.fromCharCode(t[s]);return r}function Wh(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var s="",i=e;i<n;++i)s+=cf(t[i]);return s}function Zh(t,e,n){for(var r=t.slice(e,n),s="",i=0;i<r.length;i+=2)s+=String.fromCharCode(r[i]+256*r[i+1]);return s}function Xh(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function tf(t,e,n,r,s,i){if(!Dh(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||e<i)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function ef(t,e,n,r){e<0&&(e=65535+e+1);for(var s=0,i=Math.min(t.length-n,2);s<i;++s)t[n+s]=(e&255<<8*(r?s:1-s))>>>8*(r?s:1-s)}function nf(t,e,n,r){e<0&&(e=4294967295+e+1);for(var s=0,i=Math.min(t.length-n,4);s<i;++s)t[n+s]=e>>>8*(r?s:3-s)&255}function rf(t,e,n,r,s,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function sf(t,e,n,r,s){return s||rf(t,0,n,4),kh(t,e,n,r,23,4),n+4}function of(t,e,n,r,s){return s||rf(t,0,n,8),kh(t,e,n,r,52,8),n+8}Oh.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),Oh.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=Oh.prototype;else{var s=e-t;n=new Oh(s,void 0);for(var i=0;i<s;++i)n[i]=this[i+t]}return n},Oh.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||Xh(t,e,this.length);for(var r=this[t],s=1,i=0;++i<e&&(s*=256);)r+=this[t+i]*s;return r},Oh.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||Xh(t,e,this.length);for(var r=this[t+--e],s=1;e>0&&(s*=256);)r+=this[t+--e]*s;return r},Oh.prototype.readUInt8=function(t,e){return e||Xh(t,1,this.length),this[t]},Oh.prototype.readUInt16LE=function(t,e){return e||Xh(t,2,this.length),this[t]|this[t+1]<<8},Oh.prototype.readUInt16BE=function(t,e){return e||Xh(t,2,this.length),this[t]<<8|this[t+1]},Oh.prototype.readUInt32LE=function(t,e){return e||Xh(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Oh.prototype.readUInt32BE=function(t,e){return e||Xh(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Oh.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||Xh(t,e,this.length);for(var r=this[t],s=1,i=0;++i<e&&(s*=256);)r+=this[t+i]*s;return r>=(s*=128)&&(r-=Math.pow(2,8*e)),r},Oh.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||Xh(t,e,this.length);for(var r=e,s=1,i=this[t+--r];r>0&&(s*=256);)i+=this[t+--r]*s;return i>=(s*=128)&&(i-=Math.pow(2,8*e)),i},Oh.prototype.readInt8=function(t,e){return e||Xh(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Oh.prototype.readInt16LE=function(t,e){e||Xh(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},Oh.prototype.readInt16BE=function(t,e){e||Xh(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},Oh.prototype.readInt32LE=function(t,e){return e||Xh(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Oh.prototype.readInt32BE=function(t,e){return e||Xh(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Oh.prototype.readFloatLE=function(t,e){return e||Xh(t,4,this.length),Eh(this,t,!0,23,4)},Oh.prototype.readFloatBE=function(t,e){return e||Xh(t,4,this.length),Eh(this,t,!1,23,4)},Oh.prototype.readDoubleLE=function(t,e){return e||Xh(t,8,this.length),Eh(this,t,!0,52,8)},Oh.prototype.readDoubleBE=function(t,e){return e||Xh(t,8,this.length),Eh(this,t,!1,52,8)},Oh.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||tf(this,t,e,n,Math.pow(2,8*n)-1,0);var s=1,i=0;for(this[e]=255&t;++i<n&&(s*=256);)this[e+i]=t/s&255;return e+n},Oh.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||tf(this,t,e,n,Math.pow(2,8*n)-1,0);var s=n-1,i=1;for(this[e+s]=255&t;--s>=0&&(i*=256);)this[e+s]=t/i&255;return e+n},Oh.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,1,255,0),Oh.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Oh.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,2,65535,0),Oh.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):ef(this,t,e,!0),e+2},Oh.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,2,65535,0),Oh.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):ef(this,t,e,!1),e+2},Oh.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,4,4294967295,0),Oh.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):nf(this,t,e,!0),e+4},Oh.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,4,4294967295,0),Oh.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):nf(this,t,e,!1),e+4},Oh.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var s=Math.pow(2,8*n-1);tf(this,t,e,n,s-1,-s)}var i=0,o=1,a=0;for(this[e]=255&t;++i<n&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o|0)-a&255;return e+n},Oh.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var s=Math.pow(2,8*n-1);tf(this,t,e,n,s-1,-s)}var i=n-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o|0)-a&255;return e+n},Oh.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,1,127,-128),Oh.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Oh.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,2,32767,-32768),Oh.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):ef(this,t,e,!0),e+2},Oh.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,2,32767,-32768),Oh.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):ef(this,t,e,!1),e+2},Oh.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,4,2147483647,-2147483648),Oh.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):nf(this,t,e,!0),e+4},Oh.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||tf(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Oh.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):nf(this,t,e,!1),e+4},Oh.prototype.writeFloatLE=function(t,e,n){return sf(this,t,e,!0,n)},Oh.prototype.writeFloatBE=function(t,e,n){return sf(this,t,e,!1,n)},Oh.prototype.writeDoubleLE=function(t,e,n){return of(this,t,e,!0,n)},Oh.prototype.writeDoubleBE=function(t,e,n){return of(this,t,e,!1,n)},Oh.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var s,i=r-n;if(this===t&&n<e&&e<r)for(s=i-1;s>=0;--s)t[s+e]=this[s+n];else if(i<1e3||!Oh.TYPED_ARRAY_SUPPORT)for(s=0;s<i;++s)t[s+e]=this[s+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},Oh.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var s=t.charCodeAt(0);s<256&&(t=s)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Oh.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var o=Dh(t)?t:uf(new Oh(t,r).toString()),a=o.length;for(i=0;i<n-e;++i)this[i+e]=o[i%a]}return this};var af=/[^+\/0-9A-Za-z-_]/g;function cf(t){return t<16?"0"+t.toString(16):t.toString(16)}function uf(t,e){var n;e=e||1/0;for(var r=t.length,s=null,i=[],o=0;o<r;++o){if((n=t.charCodeAt(o))>55295&&n<57344){if(!s){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&i.push(239,191,189);continue}s=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),s=n;continue}n=65536+(s-55296<<10|n-56320)}else s&&(e-=3)>-1&&i.push(239,191,189);if(s=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function lf(t){return function(t){var e,n,r,s,i,o;wh||bh();var a=t.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[a-2]?2:"="===t[a-1]?1:0,o=new mh(3*a/4-i),r=i>0?a-4:a;var c=0;for(e=0,n=0;e<r;e+=4,n+=3)s=yh[t.charCodeAt(e)]<<18|yh[t.charCodeAt(e+1)]<<12|yh[t.charCodeAt(e+2)]<<6|yh[t.charCodeAt(e+3)],o[c++]=s>>16&255,o[c++]=s>>8&255,o[c++]=255&s;return 2===i?(s=yh[t.charCodeAt(e)]<<2|yh[t.charCodeAt(e+1)]>>4,o[c++]=255&s):1===i&&(s=yh[t.charCodeAt(e)]<<10|yh[t.charCodeAt(e+1)]<<4|yh[t.charCodeAt(e+2)]>>2,o[c++]=s>>8&255,o[c++]=255&s),o}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(af,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function hf(t,e,n,r){for(var s=0;s<r&&!(s+n>=e.length||s>=t.length);++s)e[s+n]=t[s];return s}function ff(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function pf(t){return null===t}function df(t){return"string"==typeof t}function gf(t){return"object"==typeof t&&null!==t}function yf(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var mf=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function wf(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}function bf(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var Af=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e};function vf(t,e,n,r){e=e||"&",n=n||"=";var s={};if("string"!=typeof t||0===t.length)return s;var i=/\+/g;t=t.split(e);var o=1e3;r&&"number"==typeof r.maxKeys&&(o=r.maxKeys);var a=t.length;o>0&&a>o&&(a=o);for(var c=0;c<a;++c){var u,l,h,f,p=t[c].replace(i,"%20"),d=p.indexOf(n);d>=0?(u=p.substr(0,d),l=p.substr(d+1)):(u=p,l=""),h=decodeURIComponent(u),f=decodeURIComponent(l),yf(s,h)?mf(s[h])?s[h].push(f):s[h]=[s[h],f]:s[h]=f}return s}const Ef=_t.URL,kf=_t.URLSearchParams;var Tf={parse:_f,resolve:Vf,resolveObject:Qf,fileURLToPath:jf,format:Hf,Url:Nf,URL:Ef,URLSearchParams:kf};function Nf(){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 xf=/^([a-z0-9.+-]+:)/i,Sf=/:[0-9]*$/,Of=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Pf=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Rf=["'"].concat(Pf),If=["%","/","?",";","#"].concat(Rf),Cf=["/","?","#"],Bf=255,Df=/^[+a-z0-9A-Z_-]{0,63}$/,Uf=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Lf={javascript:!0,"javascript:":!0},Ff={javascript:!0,"javascript:":!0},Mf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function _f(t,e,n){if(t&&gf(t)&&t instanceof Nf)return t;var r=new Nf;return r.parse(t,e,n),r}function Gf(t,e,n,r){if(!df(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var s=e.indexOf("?"),i=-1!==s&&s<e.indexOf("#")?"?":"#",o=e.split(i);o[0]=o[0].replace(/\\/g,"/");var a=e=o.join(i);if(a=a.trim(),!r&&1===e.split("#").length){var c=Of.exec(a);if(c)return t.path=a,t.href=a,t.pathname=c[1],c[2]?(t.search=c[2],t.query=n?vf(t.search.substr(1)):t.search.substr(1)):n&&(t.search="",t.query={}),t}var u,l,h,f,p=xf.exec(a);if(p){var d=(p=p[0]).toLowerCase();t.protocol=d,a=a.substr(p.length)}if(r||p||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===a.substr(0,2);!g||p&&Ff[p]||(a=a.substr(2),t.slashes=!0)}if(!Ff[p]&&(g||p&&!Mf[p])){var y,m,w=-1;for(u=0;u<Cf.length;u++)-1!==(l=a.indexOf(Cf[u]))&&(-1===w||l<w)&&(w=l);for(-1!==(m=-1===w?a.lastIndexOf("@"):a.lastIndexOf("@",w))&&(y=a.slice(0,m),a=a.slice(m+1),t.auth=decodeURIComponent(y)),w=-1,u=0;u<If.length;u++)-1!==(l=a.indexOf(If[u]))&&(-1===w||l<w)&&(w=l);-1===w&&(w=a.length),t.host=a.slice(0,w),a=a.slice(w),Jf(t),t.hostname=t.hostname||"";var b="["===t.hostname[0]&&"]"===t.hostname[t.hostname.length-1];if(!b){var A=t.hostname.split(/\./);for(u=0,h=A.length;u<h;u++){var v=A[u];if(v&&!v.match(Df)){for(var E="",k=0,T=v.length;k<T;k++)v.charCodeAt(k)>127?E+="x":E+=v[k];if(!E.match(Df)){var N=A.slice(0,u),x=A.slice(u+1),S=v.match(Uf);S&&(N.push(S[1]),x.unshift(S[2])),x.length&&(a="/"+x.join(".")+a),t.hostname=N.join(".");break}}}}t.hostname.length>Bf?t.hostname="":t.hostname=t.hostname.toLowerCase(),b||(t.hostname=dh(t.hostname)),f=t.port?":"+t.port:"";var O=t.hostname||"";t.host=O+f,t.href+=t.host,b&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!Lf[d])for(u=0,h=Rf.length;u<h;u++){var P=Rf[u];if(-1!==a.indexOf(P)){var R=encodeURIComponent(P);R===P&&(R=escape(P)),a=a.split(P).join(R)}}var I=a.indexOf("#");-1!==I&&(t.hash=a.substr(I),a=a.slice(0,I));var C=a.indexOf("?");if(-1!==C?(t.search=a.substr(C),t.query=a.substr(C+1),n&&(t.query=vf(t.query)),a=a.slice(0,C)):n&&(t.search="",t.query={}),a&&(t.pathname=a),Mf[d]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){f=t.pathname||"";var B=t.search||"";t.path=f+B}return t.href=Kf(t),t}function jf(t){if("string"==typeof t)t=(new Nf).parse(t);else if(!(t instanceof Nf))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof t+String(t));if("file:"!==t.protocol)throw new TypeError("The URL must be of scheme file");return function(t){const e=t.pathname;for(let t=0;t<e.length;t++)if("%"===e[t]){const n=32|e.codePointAt(t+2);if("2"===e[t+1]&&102===n)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(e)}(t)}function Hf(t){return df(t)&&(t=Gf({},t)),Kf(t)}function Kf(t){var e=t.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var n=t.protocol||"",r=t.pathname||"",s=t.hash||"",i=!1,o="";t.host?i=e+t.host:t.hostname&&(i=e+(-1===t.hostname.indexOf(":")?t.hostname:"["+this.hostname+"]"),t.port&&(i+=":"+t.port)),t.query&&gf(t.query)&&Object.keys(t.query).length&&(o=function(t,e,n,r){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?bf(Af(t),(function(r){var s=encodeURIComponent(wf(r))+n;return mf(t[r])?bf(t[r],(function(t){return s+encodeURIComponent(wf(t))})).join(e):s+encodeURIComponent(wf(t[r]))})).join(e):r?encodeURIComponent(wf(r))+n+encodeURIComponent(wf(t)):""}(t.query));var a=t.search||o&&"?"+o||"";return n&&":"!==n.substr(-1)&&(n+=":"),t.slashes||(!n||Mf[n])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),s&&"#"!==s.charAt(0)&&(s="#"+s),a&&"?"!==a.charAt(0)&&(a="?"+a),n+i+(r=r.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+s}function Vf(t,e){return _f(t,!1,!0).resolve(e)}function Qf(t,e){return t?_f(t,!1,!0).resolveObject(e):e}function Jf(t){var e=t.host,n=Sf.exec(e);n&&(":"!==(n=n[0])&&(t.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(t.hostname=e)}Nf.prototype.parse=function(t,e,n){return Gf(this,t,e,n)},Nf.prototype.format=function(){return Kf(this)},Nf.prototype.resolve=function(t){return this.resolveObject(_f(t,!1,!0)).format()},Nf.prototype.resolveObject=function(t){if(df(t)){var e=new Nf;e.parse(t,!1,!0),t=e}for(var n,r=new Nf,s=Object.keys(this),i=0;i<s.length;i++){var o=s[i];r[o]=this[o]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var a=Object.keys(t),c=0;c<a.length;c++){var u=a[c];"protocol"!==u&&(r[u]=t[u])}return Mf[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!Mf[t.protocol]){for(var l=Object.keys(t),h=0;h<l.length;h++){var f=l[h];r[f]=t[f]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||Ff[t.protocol])r.pathname=t.pathname;else{for(n=(t.pathname||"").split("/");n.length&&!(t.host=n.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==n[0]&&n.unshift(""),n.length<2&&n.unshift(""),r.pathname=n.join("/")}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 p=r.pathname||"",d=r.search||"";r.path=p+d}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var g,y=r.pathname&&"/"===r.pathname.charAt(0),m=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=m||y||r.host&&t.pathname,b=w,A=r.pathname&&r.pathname.split("/")||[],v=r.protocol&&!Mf[r.protocol];if(n=t.pathname&&t.pathname.split("/")||[],v&&(r.hostname="",r.port=null,r.host&&(""===A[0]?A[0]=r.host:A.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===n[0]?n[0]=t.host:n.unshift(t.host)),t.host=null),w=w&&(""===n[0]||""===A[0])),m)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,A=n;else if(n.length)A||(A=[]),A.pop(),A=A.concat(n),r.search=t.search,r.query=t.query;else if(null!=t.search)return v&&(r.hostname=r.host=A.shift(),(g=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=g.shift(),r.host=r.hostname=g.shift())),r.search=t.search,r.query=t.query,pf(r.pathname)&&pf(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=A.slice(-1)[0],k=(r.host||t.host||A.length>1)&&("."===E||".."===E)||""===E,T=0,N=A.length;N>=0;N--)"."===(E=A[N])?A.splice(N,1):".."===E?(A.splice(N,1),T++):T&&(A.splice(N,1),T--);if(!w&&!b)for(;T--;T)A.unshift("..");!w||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),k&&"/"!==A.join("/").substr(-1)&&A.push("");var x=""===A[0]||A[0]&&"/"===A[0].charAt(0);return v&&(r.hostname=r.host=x?"":A.length?A.shift():"",(g=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=g.shift(),r.host=r.hostname=g.shift())),(w=w||r.host&&A.length)&&!x&&A.unshift(""),A.length?r.pathname=A.join("/"):(r.pathname=null,r.path=null),pf(r.pathname)&&pf(r.search)||(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},Nf.prototype.parseHost=function(){return Jf(this)};var zf=Object.freeze({__proto__:null,URL:Ef,URLSearchParams:kf,Url:Nf,default:Tf,fileURLToPath:jf,format:Hf,parse:_f,resolve:Vf,resolveObject:Qf}),Yf=e(zf);function qf(t,e){for(var n=0,r=t.length-1;r>=0;r--){var s=t[r];"."===s?t.splice(r,1):".."===s?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}var $f=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Wf=function(t){return $f.exec(t).slice(1)};function Zf(){for(var t="",e=!1,n=arguments.length-1;n>=-1&&!e;n--){var r=n>=0?arguments[n]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(t=r+"/"+t,e="/"===r.charAt(0))}return(e?"/":"")+(t=qf(ap(t.split("/"),(function(t){return!!t})),!e).join("/"))||"."}function Xf(t){var e=tp(t),n="/"===cp(t,-1);return(t=qf(ap(t.split("/"),(function(t){return!!t})),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t}function tp(t){return"/"===t.charAt(0)}function ep(){return Xf(ap(Array.prototype.slice.call(arguments,0),(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))}function np(t,e){function n(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=Zf(t).substr(1),e=Zf(e).substr(1);for(var r=n(t.split("/")),s=n(e.split("/")),i=Math.min(r.length,s.length),o=i,a=0;a<i;a++)if(r[a]!==s[a]){o=a;break}var c=[];for(a=o;a<r.length;a++)c.push("..");return(c=c.concat(s.slice(o))).join("/")}function rp(t){var e=Wf(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}function sp(t,e){var n=Wf(t)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n}function ip(t){return Wf(t)[3]}var op={extname:ip,basename:sp,dirname:rp,sep:"/",delimiter:":",relative:np,join:ep,isAbsolute:tp,normalize:Xf,resolve:Zf};function ap(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}var cp="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)},up=Object.freeze({__proto__:null,basename:sp,default:op,delimiter:":",dirname:rp,extname:ip,isAbsolute:tp,join:ep,normalize:Xf,relative:np,resolve:Zf,sep:"/"}),lp=e(up),hp=e(Object.freeze({__proto__:null,default:{}}));let fp={PROOF_OF_INTEGRITY_ADDRESS:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",STEALTH_ANNOUNCER_ADDRESS:"0x5FbDB2315678afecb367f032d93F642f64180aa3"};if("undefined"==typeof window){const{fileURLToPath:t}=Yf,{dirname:e}=lp,{readFileSync:n}=hp,{join:r}=lp;try{const s=t(import.meta.url),i=n(r(e(s),"contract-address.json"),"utf8");fp=JSON.parse(i),console.log("Loaded contract addresses:",fp)}catch(hh){console.warn("Warning: contract-address.json not found or invalid")}}const pp={CHAIN_ID:1337,PROOF_OF_INTEGRITY_ADDRESS:fp.PROOF_OF_INTEGRITY_ADDRESS,STEALTH_ANNOUNCER_ADDRESS:fp.STEALTH_ANNOUNCER_ADDRESS,RPC_URL:"http://127.0.0.1:8545",GUN_PEER:"http://localhost:8765/gun"},dp={optimismSepolia:{STEALTH_ANNOUNCER_ADDRESS:"0xD0F2e9DA59d2DFECFdE67CcF17300BB6093A72f8",PROOF_OF_INTEGRITY_ADDRESS:"0x...",RPC_URL:"https://sepolia.optimism.io",CHAIN_ID:11155420},arbitrumSepolia:{STEALTH_ANNOUNCER_ADDRESS:"0x...",PROOF_OF_INTEGRITY_ADDRESS:"0x...",RPC_URL:"https://sepolia-rollup.arbitrum.io/rpc",CHAIN_ID:421614},localhost:{RPC_URL:"http://127.0.0.1:8545",CHAIN_ID:1337}};function gp(t){let e;if("localhost"===t)try{return e={...dp.localhost,...sh},console.log("Using local addresses:",e),e}catch(t){throw console.warn("No local addresses found"),new Error("No local addresses found. Did you run local deployment?")}if(e=dp[t],!e)throw new Error(`Chain ${t} not supported. Supported chains: ${Object.keys(dp).join(", ")}`);return e}dp.optimismSepolia.STEALTH_ANNOUNCER_ADDRESS,dp.optimismSepolia.PROOF_OF_INTEGRITY_ADDRESS;const yp=[{inputs:[{internalType:"address",name:"_devAddress",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{internalType:"string",name:"senderPublicKey",type:"string"},{internalType:"string",name:"spendingPublicKey",type:"string"},{internalType:"address",name:"stealthAddress",type:"address"},{internalType:"uint256",name:"timestamp",type:"uint256"}],name:"StealthPaymentAnnounced",type:"event"},{anonymous:!1,inputs:[{internalType:"address",name:"newAddress",type:"address"}],name:"DevAddressUpdated",type:"event"},{anonymous:!1,inputs:[{internalType:"uint256",name:"newFee",type:"uint256"}],name:"DevFeeUpdated",type:"event"},{inputs:[{internalType:"string",name:"senderPublicKey",type:"string"},{internalType:"string",name:"spendingPublicKey",type:"string"},{internalType:"address",name:"stealthAddress",type:"address"}],name:"announcePayment",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"devAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"devFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getAnnouncementsCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"fromIndex",type:"uint256"},{internalType:"uint256",name:"toIndex",type:"uint256"}],name:"getAnnouncementsInRange",outputs:[{components:[{internalType:"string",name:"senderPublicKey",type:"string"},{internalType:"string",name:"spendingPublicKey",type:"string"},{internalType:"address",name:"stealthAddress",type:"address"},{internalType:"uint256",name:"timestamp",type:"uint256"}],internalType:"struct StealthAnnouncer.StealthAnnouncement[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_newFee",type:"uint256"}],name:"updateDevFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_newAddress",type:"address"}],name:"updateDevAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawStuckETH",outputs:[],stateMutability:"nonpayable",type:"function"}],mp=[{inputs:[{internalType:"bytes[]",name:"nodeIds",type:"bytes[]"},{internalType:"bytes32[]",name:"contentHashes",type:"bytes32[]"}],name:"batchUpdateData",outputs:[],stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes",name:"nodeId",type:"bytes"},{indexed:!1,internalType:"bytes32",name:"contentHash",type:"bytes32"},{indexed:!1,internalType:"address",name:"updater",type:"address"}],name:"DataUpdated",type:"event"},{inputs:[{internalType:"bytes",name:"nodeId",type:"bytes"}],name:"getLatestRecord",outputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"nodeId",type:"bytes"},{internalType:"bytes32",name:"contentHash",type:"bytes32"}],name:"updateData",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"nodeId",type:"bytes"},{internalType:"bytes32",name:"contentHash",type:"bytes32"}],name:"verifyData",outputs:[{internalType:"bool",name:"",type:"bool"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}];!function(){function t(e,r){return r?n(e):e.slice?t[s(e)]:function(n,r){e(n={exports:{}}),t[s(r)]=n.exports};function s(t){return t.split("/").slice(-1).toString().replace(".js","")}}if("undefined"!=typeof module)var e=module;t((function(t){"undefined"!=typeof self&&(t.window=self),"undefined"!=typeof window&&(t.window=window);var n=(t.window||t).SEA||{};(n.window=t.window)&&(n.window.SEA=n);try{undefined+""!=typeof e&&(e.exports=n)}catch(t){}t.exports=n}))(t,"./root"),t((function(e){var n=t("./root");try{n.window&&location.protocol.indexOf("s")<0&&location.host.indexOf("localhost")<0&&!/^127\.\d+\.\d+\.\d+$/.test(location.hostname)&&location.protocol.indexOf("file:")<0&&(console.warn("HTTPS needed for WebCrypto in SEA, redirecting..."),location.protocol="https:")}catch(t){}}))(t,"./https"),t((function(t){var e;e+""==typeof btoa&&(_t.btoa=function(t){return Oh.from(t,"binary").toString("base64")},_t.atob=function(t){return Oh.from(t,"base64").toString("binary")})}))(t,"./base64"),t((function(e){function n(){}t("./base64"),Object.assign(n,{from:Array.from}),n.prototype=Object.create(Array.prototype),n.prototype.toString=function(t,e,n){t=t||"utf8",e=e||0;const r=this.length;if("hex"===t){const t=new Uint8Array(this);return[...Array((n&&n+1||r)-e).keys()].map((n=>t[n+e].toString(16).padStart(2,"0"))).join("")}return"utf8"===t?Array.from({length:(n||r)-e},((t,n)=>String.fromCharCode(this[n+e]))).join(""):"base64"===t?btoa(this):void 0},e.exports=n}))(t,"./array"),t((function(e){t("./base64");var n=t("./array");function r(...t){return console.warn("new SafeBuffer() is depreciated, please use SafeBuffer.from()"),r.from(...t)}r.prototype=Object.create(Array.prototype),Object.assign(r,{from(){if(!Object.keys(arguments).length||null==arguments[0])throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");const t=arguments[0];let e;if("string"==typeof t){const r=arguments[1]||"utf8";if("hex"===r){const r=t.match(/([\da-fA-F]{2})/g).map((t=>parseInt(t,16)));if(!r||!r.length)throw new TypeError("Invalid first argument for type 'hex'.");e=n.from(r)}else if("utf8"===r||"binary"===r){const r=t.length,s=new Uint16Array(r);Array.from({length:r},((e,n)=>s[n]=t.charCodeAt(n))),e=n.from(s)}else if("base64"===r){const r=atob(t),s=r.length,i=new Uint8Array(s);Array.from({length:s},((t,e)=>i[e]=r.charCodeAt(e))),e=n.from(i)}else"binary"===r?e=n.from(t):console.info("SafeBuffer.from unknown encoding: "+r);return e}t.byteLength;if(t.byteLength?t.byteLength:t.length){let e;return t instanceof ArrayBuffer&&(e=new Uint8Array(t)),n.from(e||t)}},alloc:(t,e=0)=>n.from(new Uint8Array(Array.from({length:t},(()=>e)))),allocUnsafe:t=>n.from(new Uint8Array(Array.from({length:t}))),concat(t){if(!Array.isArray(t))throw new TypeError("First argument must be Array containing ArrayBuffer or Uint8Array instances.");return n.from(t.reduce(((t,e)=>t.concat(Array.from(e))),[]))}}),r.prototype.from=r.from,r.prototype.toString=n.prototype.toString,e.exports=r}))(t,"./buffer"),t((function(n){const r=t("./root"),s={Buffer:t("./buffer")};var i={};if(JSON.parseAsync=JSON.parseAsync||function(t,e,n){try{e(undefined,JSON.parse(t,n))}catch(t){e(t)}},JSON.stringifyAsync=JSON.stringifyAsync||function(t,e,n,r){try{e(undefined,JSON.stringify(t,n,r))}catch(t){e(t)}},s.parse=function(t,e){return new Promise((function(n,r){JSON.parseAsync(t,(function(t,e){t?r(t):n(e)}),e)}))},s.stringify=function(t,e,n){return new Promise((function(r,s){JSON.stringifyAsync(t,(function(t,e){t?s(t):r(e)}),e,n)}))},r.window&&(s.crypto=r.window.crypto||r.window.msCrypto,s.subtle=(s.crypto||i).subtle||(s.crypto||i).webkitSubtle,s.TextEncoder=r.window.TextEncoder,s.TextDecoder=r.window.TextDecoder,s.random=t=>s.Buffer.from(s.crypto.getRandomValues(new Uint8Array(s.Buffer.alloc(t))))),!s.TextDecoder){const{TextEncoder:n,TextDecoder:r}=t((undefined+""==typeof e?".":"")+"./lib/text-encoding",1);s.TextDecoder=r,s.TextEncoder=n}if(!s.crypto)try{var o=t("crypto",1);Object.assign(s,{crypto:o,random:t=>s.Buffer.from(o.randomBytes(t))});const{Crypto:e}=t("@peculiar/webcrypto",1);s.ossl=s.subtle=new e({directory:"ossl"}).subtle}catch(t){console.log("Please `npm install @peculiar/webcrypto` or add it to your package.json !")}n.exports=s}))(t,"./shim"),t((function(e){var n=t("./root"),r=t("./shim"),s={pbkdf2:{hash:{name:"SHA-256"},iter:1e5,ks:64},ecdsa:{pair:{name:"ECDSA",namedCurve:"P-256"},sign:{name:"ECDSA",hash:{name:"SHA-256"}}},ecdh:{name:"ECDH",namedCurve:"P-256"},jwk:function(t,e){var n={kty:"EC",crv:"P-256",x:(t=t.split("."))[0],y:t[1],ext:!0};return n.key_ops=e?["sign"]:["verify"],e&&(n.d=e),n},keyToJwk:function(t){return{kty:"oct",k:t.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,""),ext:!1,alg:"A256GCM"}},recall:{validity:43200,hook:function(t){return t}},check:function(t){return"string"==typeof t&&"SEA{"===t.slice(0,4)},parse:async function(t){try{var e="string"==typeof t;return e&&"SEA{"===t.slice(0,4)&&(t=t.slice(3)),e?await r.parse(t):t}catch(t){}return t}};n.opt=s,e.exports=s}))(t,"./settings"),t((function(e){var n=t("./shim");e.exports=async function(t,e){var r="string"==typeof t?t:await n.stringify(t),s=await n.subtle.digest({name:e||"SHA-256"},(new n.TextEncoder).encode(r));return n.Buffer.from(s)}}))(t,"./sha256"),t((function(e){const n=t("./shim"),r=n.subtle,s=n.ossl?n.ossl:r;e.exports=t=>s.digest({name:"SHA-1"},new ArrayBuffer(t))}))(t,"./sha1"),t((function(e){var n=t("./root"),r=t("./shim"),s=t("./settings"),i=t("./sha256");n.work=n.work||(async(t,e,o,a)=>{try{var c=(e||{}).epub||e;if(a=a||{},c instanceof Function&&(o=c,c=undefined),t="string"==typeof t?t:await r.stringify(t),"sha"===(a.name||"").toLowerCase().slice(0,3)){var u=r.Buffer.from(await i(t,a.name),"binary").toString(a.encode||"base64");if(o)try{o(u)}catch(t){console.log(t)}return u}c=c||r.random(9);var l=await(r.ossl||r.subtle).importKey("raw",(new r.TextEncoder).encode(t),{name:a.name||"PBKDF2"},!1,["deriveBits"]),h=await(r.ossl||r.subtle).deriveBits({name:a.name||"PBKDF2",iterations:a.iterations||s.pbkdf2.iter,salt:(new r.TextEncoder).encode(a.salt||c),hash:a.hash||s.pbkdf2.hash},l,a.length||8*s.pbkdf2.ks);t=r.random(t.length);var f=r.Buffer.from(h,"binary").toString(a.encode||"base64");if(o)try{o(f)}catch(t){console.log(t)}return f}catch(t){if(console.log(t),n.err=t,n.throw)throw t;return void(o&&o())}}),e.exports=n.work}))(t,"./work"),t((function(e){var n=t("./root"),r=t("./shim");t("./settings"),n.name=n.name||(async(t,e)=>{try{if(t)try{t()}catch(t){console.log(t)}return}catch(e){if(console.log(e),n.err=e,n.throw)throw e;return void(t&&t())}}),n.pair=n.pair||(async(t,e)=>{try{var s=r.ossl||r.subtle,i=await r.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!0,["sign","verify"]).then((async t=>{var e={};e.priv=(await r.subtle.exportKey("jwk",t.privateKey)).d;var n=await r.subtle.exportKey("jwk",t.publicKey);return e.pub=n.x+"."+n.y,e}));try{var o=await s.generateKey({name:"ECDH",namedCurve:"P-256"},!0,["deriveKey"]).then((async t=>{var e={};e.epriv=(await s.exportKey("jwk",t.privateKey)).d;var n=await s.exportKey("jwk",t.publicKey);return e.epub=n.x+"."+n.y,e}))}catch(t){if(n.window)throw t;if("Error: ECDH is not a supported algorithm"!=t)throw t;console.log("Ignoring ECDH...")}o=o||{};var a={pub:i.pub,priv:i.priv,epub:o.epub,epriv:o.epriv};if(t)try{t(a)}catch(t){console.log(t)}return a}catch(e){if(console.log(e),n.err=e,n.throw)throw e;return void(t&&t())}}),e.exports=n.pair}))(t,"./pair"),t((function(e){var n,r=t("./root"),s=t("./shim"),i=t("./settings"),o=t("./sha256");r.sign=r.sign||(async(t,e,a,c)=>{try{if(c=c||{},!(e||c).priv){if(!r.I)throw"No signing key.";e=await r.I(null,{what:t,how:"sign",why:c.why})}if(n===t)throw"`undefined` not allowed.";var u=await i.parse(t),l=c.check=c.check||u;if(r.verify&&(r.opt.check(l)||l&&l.s&&l.m)&&n!==await r.verify(l,e)){var h=await i.parse(l);if(c.raw||(h="SEA"+await s.stringify(h)),a)try{a(h)}catch(t){console.log(t)}return h}var f=e.pub,p=e.priv,d=i.jwk(f,p),g=await o(u),y=await(s.ossl||s.subtle).importKey("jwk",d,{name:"ECDSA",namedCurve:"P-256"},!1,["sign"]).then((t=>(s.ossl||s.subtle).sign({name:"ECDSA",hash:{name:"SHA-256"}},t,new Uint8Array(g))));h={m:u,s:s.Buffer.from(y,"binary").toString(c.encode||"base64")};if(c.raw||(h="SEA"+await s.stringify(h)),a)try{a(h)}catch(t){console.log(t)}return h}catch(t){if(console.log(t),r.err=t,r.throw)throw t;return void(a&&a())}}),e.exports=r.sign}))(t,"./sign"),t((function(e){var n,r=t("./root"),s=t("./shim"),i=t("./settings"),o=t("./sha256");r.verify=r.verify||(async(t,e,a,c)=>{try{var u=await i.parse(t);if(!1===e){var l=await i.parse(u.m);if(a)try{a(l)}catch(t){console.log(t)}return l}c=c||{};var h,f,p,d=e.pub||e,g=r.opt.slow_leak?await r.opt.slow_leak(d):await(s.ossl||s.subtle).importKey("jwk",i.jwk(d),{name:"ECDSA",namedCurve:"P-256"},!1,["verify"]),y=await o(u.m);try{if(h=s.Buffer.from(u.s,c.encode||"base64"),f=new Uint8Array(h),!(p=await(s.ossl||s.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},g,f,new Uint8Array(y))))throw"Signature did not match."}catch(n){if(r.opt.fallback)return await r.opt.fall_verify(t,e,a,c)}var m=p?await i.parse(u.m):n;if(a)try{a(m)}catch(t){console.log(t)}return m}catch(t){if(console.log(t),r.err=t,r.throw)throw t;return void(a&&a())}}),e.exports=r.verify;var a={};r.opt.slow_leak=t=>{if(a[t])return a[t];var e=i.jwk(t);return a[t]=(s.ossl||s.subtle).importKey("jwk",e,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"]),a[t]};var c=r.opt;r.opt.fall_verify=async function(t,e,a,u,l){if(l===r.opt.fallback)throw"Signature did not match";l=l||1;var h=t||"";t=r.opt.unpack(t)||t;var f,p,d,g=await i.parse(t),y=e.pub||e,m=await r.opt.slow_leak(y),w=l<=r.opt.fallback?s.Buffer.from(await s.subtle.digest({name:"SHA-256"},(new s.TextEncoder).encode(await i.parse(g.m)))):await o(g.m);try{if(f=s.Buffer.from(g.s,u.encode||"base64"),p=new Uint8Array(f),!(d=await(s.ossl||s.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},m,p,new Uint8Array(w))))throw"Signature did not match."}catch(t){try{f=s.Buffer.from(g.s,"utf8"),p=new Uint8Array(f),d=await(s.ossl||s.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},m,p,new Uint8Array(w))}catch(t){if(!d)throw"Signature did not match."}}var b=d?await i.parse(g.m):n;if(c.fall_soul=h["#"],c.fall_key=h["."],c.fall_val=t,c.fall_state=h[">"],a)try{a(b)}catch(t){console.log(t)}return b},r.opt.fallback=2}))(t,"./verify"),t((function(e){var n=t("./shim"),r=t("./settings"),s=t("./sha256");e.exports=async(t,e,i)=>{const o=t+(e||n.random(8)).toString("utf8"),a=n.Buffer.from(await s(o),"binary"),c=r.keyToJwk(a);return await n.subtle.importKey("jwk",c,{name:"AES-GCM"},!1,["encrypt","decrypt"])}}))(t,"./aeskey"),t((function(e){var n=t("./root"),r=t("./shim");t("./settings");var s=t("./aeskey");n.encrypt=n.encrypt||(async(t,e,i,o)=>{try{o=o||{};var a=(e||o).epriv||e;if(undefined===t)throw"`undefined` not allowed.";if(!a){if(!n.I)throw"No encryption key.";a=(e=await n.I(null,{what:t,how:"encrypt",why:o.why})).epriv||e}var c="string"==typeof t?t:await r.stringify(t),u={s:r.random(9),iv:r.random(15)},l=await s(a,u.s,o).then((t=>r.subtle.encrypt({name:o.name||"AES-GCM",iv:new Uint8Array(u.iv)},t,(new r.TextEncoder).encode(c)))),h={ct:r.Buffer.from(l,"binary").toString(o.encode||"base64"),iv:u.iv.toString(o.encode||"base64"),s:u.s.toString(o.encode||"base64")};if(o.raw||(h="SEA"+await r.stringify(h)),i)try{i(h)}catch(t){console.log(t)}return h}catch(t){if(console.log(t),n.err=t,n.throw)throw t;return void(i&&i())}}),e.exports=n.encrypt}))(t,"./encrypt"),t((function(e){var n=t("./root"),r=t("./shim"),s=t("./settings"),i=t("./aeskey");n.decrypt=n.decrypt||(async(t,e,o,a)=>{try{a=a||{};var c=(e||a).epriv||e;if(!c){if(!n.I)throw"No decryption key.";c=(e=await n.I(null,{what:t,how:"decrypt",why:a.why})).epriv||e}var u,l,h,f=await s.parse(t);try{u=r.Buffer.from(f.s,a.encode||"base64"),l=r.Buffer.from(f.iv,a.encode||"base64"),h=r.Buffer.from(f.ct,a.encode||"base64");var p=await i(c,u,a).then((t=>r.subtle.decrypt({name:a.name||"AES-GCM",iv:new Uint8Array(l),tagLength:128},t,new Uint8Array(h))))}catch(r){if("utf8"===a.encode)throw"Could not decrypt";if(n.opt.fallback)return a.encode="utf8",await n.decrypt(t,e,o,a)}var d=await s.parse(new r.TextDecoder("utf8").decode(p));if(o)try{o(d)}catch(t){console.log(t)}return d}catch(t){if(console.log(t),n.err=t,n.throw)throw t;return void(o&&o())}}),e.exports=n.decrypt}))(t,"./decrypt"),t((function(e){var n=t("./root"),r=t("./shim");t("./settings"),n.secret=n.secret||(async(t,e,i,o)=>{try{if(o=o||{},!e||!e.epriv||!e.epub){if(!n.I)throw"No secret mix.";e=await n.I(null,{what:t,how:"secret",why:o.why})}var a=t.epub||t,c=e.epub,u=e.epriv,l=r.ossl||r.subtle,h=s(a),f=Object.assign({public:await l.importKey(...h,!0,[])},{name:"ECDH",namedCurve:"P-256"}),p=s(c,u),d=await l.importKey(...p,!1,["deriveBits"]).then((async t=>{var e=await l.deriveBits(f,t,256),n=new Uint8Array(e),r=await l.importKey("raw",n,{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]);return l.exportKey("jwk",r).then((({k:t})=>t))}));if(i)try{i(d)}catch(t){console.log(t)}return d}catch(t){if(console.log(t),n.err=t,n.throw)throw t;return void(i&&i())}});var s=(t,e)=>{var[n,r]=t.split("."),s=e?{d:e}:{};return["jwk",Object.assign(s,{x:n,y:r,kty:"EC",crv:"P-256",ext:!0}),{name:"ECDH",namedCurve:"P-256"}]};e.exports=n.secret}))(t,"./secret"),t((function(e){var n=t("./root");n.certify=n.certify||(async(t,e={},r,s,i={})=>{try{if(console.log("SEA.certify() is an early experimental community supported method that may change API behavior without warning in any future version."),t=(()=>{var e=[];if(t){if(("string"==typeof t||Array.isArray(t))&&t.indexOf("*")>-1)return"*";if("string"==typeof t)return t;if(Array.isArray(t)){if(1===t.length&&t[0])return"object"==typeof t[0]&&t[0].pub?t[0].pub:"string"==typeof t[0]?t[0]:null;t.map((t=>{"string"==typeof t?e.push(t):"object"==typeof t&&t.pub&&e.push(t.pub)}))}return"object"==typeof t&&t.pub?t.pub:e.length>0?e:null}})(),!t)return console.log("No certificant found.");const a=!i.expiry||"number"!=typeof i.expiry&&"string"!=typeof i.expiry?null:parseFloat(i.expiry),c=(e||{}).read?e.read:null,u=(e||{}).write?e.write:"string"==typeof e||Array.isArray(e)||e["+"]||e["#"]||e["."]||e["="]||e["*"]||e[">"]||e["<"]?e:null,l=(i||{}).block||(i||{}).blacklist||(i||{}).ban||{},h=l.read&&("string"==typeof l.read||(l.read||{})["#"])?l.read:null,f="string"==typeof l?l:l.write&&("string"==typeof l.write||l.write["#"])?l.write:null;if(!c&&!u)return console.log("No policy found.");const p=JSON.stringify({c:t,...a?{e:a}:{},...c?{r:c}:{},...u?{w:u}:{},...h?{rb:h}:{},...f?{wb:f}:{}});var o=await n.sign(p,r,null,{raw:1});if(i.raw||(o="SEA"+JSON.stringify(o)),s)try{s(o)}catch(t){console.log(t)}return o}catch(t){if(n.err=t,n.throw)throw t;return void(s&&s())}}),e.exports=n.certify}))(t,"./certify"),t((function(e){var n=t("./shim"),r=t("./root");r.work=t("./work"),r.sign=t("./sign"),r.verify=t("./verify"),r.encrypt=t("./encrypt"),r.decrypt=t("./decrypt"),r.certify=t("./certify"),r.random=r.random||n.random,r.Buffer=r.Buffer||t("./buffer"),r.keyid=r.keyid||(async t=>{try{const e=n.Buffer.concat(t.replace(/-/g,"+").replace(/_/g,"/").split(".").map((t=>n.Buffer.from(t,"base64")))),r=n.Buffer.concat([n.Buffer.from([153,e.length/256,e.length%256]),e]),s=await sha1hash(r),i=n.Buffer.from(s,"binary");return i.toString("hex",i.length-8)}catch(t){throw console.log(t),t}}),((r.window||{}).GUN||{}).SEA=r,e.exports=r}))(t,"./sea"),t((function(n){var r,s=t("./sea");function i(t){this._={$:this}}function o(){return r.state().toString(36).replace(".","")}r=s.window?s.window.GUN||{chain:{}}:t((undefined+""==typeof e?".":"")+"./gun",1),s.GUN=r,i.prototype=function(){function t(){}return t.prototype=r.chain,new t}(),i.prototype.constructor=i,r.chain.user=function(t){var e,n=this.back(-1);if(t)return t=s.opt.pub((t._||"")["#"])||t,n.get("~"+t);if(e=n.back("user"))return e;var r=n=n._,a=r.opt.uuid||o;return(r=(e=r.user=this.chain(new i))._).opt={},r.opt.uuid=function(t){var e=a(),r=n.user;return r&&(r=r.is)&&(r=r.pub)?(e="~"+r+"/"+e,t&&t.call&&t(null,e),e):e},e},r.User=i,i.GUN=r,i.SEA=r.SEA=s,n.exports=i}))(t,"./user"),t((function(n){var r;(""+r!=typeof GUN?GUN||{chain:{}}:t((""+r==typeof e?".":"")+"./gun",1)).chain.then=function(t,e){var n=this,r=new Promise((function(t,r){n.once(t,e)}));return t?r.then(t):r}}))(t,"./then"),t((function(e){var n=t("./user"),r=n.SEA,s=n.GUN,i=function(){};n.prototype.create=function(...t){var e,n="object"==typeof t[0]&&(t[0].pub||t[0].epub)?t[0]:"object"==typeof t[1]&&(t[1].pub||t[1].epub)?t[1]:null,o=n&&(n.pub||n.epub)?n.pub:"string"==typeof t[0]?t[0]:null,a=n&&(n.pub||n.epub)?n:o&&"string"==typeof t[1]?t[1]:null,c=t.filter((t=>"function"==typeof t))[0]||null,u=t&&t.length>1&&"object"==typeof t[t.length-1]?t[t.length-1]:{},l=this,h=l._,f=l.back(-1);if((c=c||i,!1!==(u=u||{}).check)&&(o||(e="No user."),(a||"").length<8&&(e="Password too short!"),e))return c({err:s.log(e)}),l;if(h.ing)return(c||i)({err:s.log("User is already being created or authenticated!"),wait:!0}),l;h.ing=!0;var p={a:function(t){if(p.pubs=t,t&&!u.already){var e={err:s.log("User already created!")};return h.ing=!1,(c||i)(e),void l.leave()}p.salt=String.random(64),r.work(a,p.salt,p.b)},b:function(t){p.proof=t,n?p.c(n):r.pair(p.c)},c:function(t){var e;p.pair=t||{},(e=h.root.user)&&(e._.sea=t,e.is={pub:t.pub,epub:t.epub,alias:o}),p.data={pub:t.pub},p.d()},d:function(){p.data.alias=o,p.e()},e:function(){p.data.epub=p.pair.epub,r.encrypt({priv:p.pair.priv,epriv:p.pair.epriv},p.proof,p.f,{raw:1})},f:function(t){p.data.auth=JSON.stringify({ek:t,s:p.salt}),p.g(p.data.auth)},g:function(t){var e;p.data.auth=p.data.auth||t,f.get(e="~"+p.pair.pub).put(p.data).on(p.h);var n={};n[e]={"#":e},f.get("~@"+o).put(n).get(e).on(p.i)},h:function(t,e,n,r){r.off(),p.h.ok=1,p.i()},i:function(t,e,r,s){s&&(p.i.ok=1,s.off()),p.h.ok&&p.i.ok&&(h.ing=!1,c({ok:0,pub:p.pair.pub}),i===c&&(n?l.auth(n):l.auth(o,a)))}};return f.get("~@"+o).once(p.a),l},n.prototype.leave=function(t,e){var n=this.back(-1)._.user;if(n&&(delete n.is,delete n._.is,delete n._.sea),r.window)try{var s={};delete(s=r.window.sessionStorage).recall,delete s.pair}catch(t){}return this}}))(t,"./create"),t((function(e){var n=t("./user"),r=n.SEA,s=n.GUN,i=function(){};function o(t){if("string"!=typeof t)return t;try{t=JSON.parse(t)}catch(e){t={}}return t}n.prototype.auth=function(...t){var e="object"==typeof t[0]&&(t[0].pub||t[0].epub)?t[0]:"object"==typeof t[1]&&(t[1].pub||t[1].epub)?t[1]:null,n=e||"string"!=typeof t[0]?null:t[0],a=!n&&(!e||e.priv&&e.epriv)||"string"!=typeof t[1]?null:t[1],c=t.filter((t=>"function"==typeof t))[0]||null,u=t&&t.length>1&&"object"==typeof t[t.length-1]?t[t.length-1]:{},l=this,h=l._,f=l.back(-1);if(h.ing)return(c||i)({err:s.log("User is already being created or authenticated!"),wait:!0}),l;h.ing=!0;var p,d={},g=9;return d.a=function(t){if(!t)return d.b();if(!t.pub){var e=[];return Object.keys(t).forEach((function(n){"_"!=n&&e.push(t[n])})),d.b(e)}if(d.name)return d.f(t);d.c((d.data=t).auth)},d.b=function(t){var e=(d.list=(d.list||[]).concat(t||[])).shift();if(p===e)return d.name?d.err("Your user account is not published for dApps to access, please consider syncing it online, or allowing local access by adding your device as a peer."):n&&g--?void f.get("~@"+n).once(d.a):d.err("Wrong user or password.");f.get(e).once(d.a)},d.c=function(t){return p===t?d.b():"string"==typeof t?d.c(o(t)):void r.work(a,(d.auth=t).s,d.d,d.enc)},d.d=function(t){r.decrypt(d.auth.ek,t,d.e,d.enc)},d.e=function(t){if(p===t)return d.enc?(d.enc=null,d.b()):(d.enc={encode:"utf8"},d.c(d.auth));d.half=t,d.f(d.data)},d.f=function(t){var e=d.half||{},n=d.data||{};d.g(d.lol={pub:t.pub||n.pub,epub:t.epub||n.epub,priv:t.priv||e.priv,epriv:t.epriv||e.epriv})},d.g=function(t){if(!t||!t.pub||!t.epub)return d.b();d.pair=t;var e=f._.user,g=e._;g.tag;var y=g.opt;(g=e._=f.get("~"+t.pub)._).opt=y,e.is={pub:t.pub,epub:t.epub,alias:n||t.pub},g.sea=d.pair,h.ing=!1;try{a&&p==(o(h.root.graph["~"+t.pub].auth)||"")[":"]&&(u.shuffle=u.change=a)}catch(t){}if(u.change?d.z():(c||i)(g),r.window&&(l.back("user")._.opt||u).remember)try{var m={};(m=r.window.sessionStorage).recall=!0,m.pair=JSON.stringify(t)}catch(t){}try{f._.tag.auth?f._.on("auth",g):setTimeout((function(){f._.on("auth",g)}),1)}catch(t){s.log("Your 'auth' callback crashed with:",t)}},d.h=function(t){return t?((n=t.alias)||(n=t.alias="~"+e.pub),t.auth?(e=null,void d.c((d.data=t).auth)):d.g(e)):d.b()},d.z=function(){d.salt=String.random(64),r.work(u.change,d.salt,d.y)},d.y=function(t){r.encrypt({priv:d.pair.priv,epriv:d.pair.epriv},t,d.x,{raw:1})},d.x=function(t){d.w(JSON.stringify({ek:t,s:d.salt}))},d.w=function(t){if(u.shuffle){console.log("migrate core account from UTF8 & shuffle");var e={};Object.keys(d.data).forEach((function(t){e[t]=d.data[t]})),delete e._,e.auth=t,f.get("~"+d.pair.pub).put(e)}f.get("~"+d.pair.pub).get("auth").put(t,c||i)},d.err=function(t){var e={err:s.log(t||"User cannot be found!")};h.ing=!1,(c||i)(e)},d.plugin=function(t){if(!(d.name=t))return d.err();var e=[t];"~"!==t[0]&&(e[1]="~"+t,e[2]="~@"+t),d.b(e)},e?e.priv&&e.epriv?d.g(e):f.get("~"+e.pub).once(d.h):n?f.get("~@"+n).once(d.a):n||a||r.name(d.plugin),l}}))(t,"./auth"),t((function(e){var n=t("./user"),r=n.SEA;n.GUN,n.prototype.recall=function(t,e){var n=this,s=n.back(-1);if((t=t||{})&&t.sessionStorage){if(r.window)try{var i;(i=r.window.sessionStorage)&&(s._.opt.remember=!0,(n.back("user")._.opt||t).remember=!0,(i.recall||i.pair)&&s.user().auth(JSON.parse(i.pair),e))}catch(t){}return n}return n}}))(t,"./recall"),t((function(e){var n=t("./user"),r=n.SEA,s=n.GUN,i=function(){};n.prototype.pair=function(){var t,e=this;try{t=new Proxy({DANGER:"☠"},{get:function(t,n,r){if(e.is&&(e._||"").sea)return e._.sea[n]}})}catch(t){}return t},n.prototype.delete=async function(t,e,n){console.log("user.delete() IS DEPRECATED AND WILL BE MOVED TO A MODULE!!!");var r=this;r.back(-1);var o=r.back("user");try{o.auth(t,e,(function(t){(o.is||{}).pub;o.map().once((function(){this.put(null)})),o.leave(),(n||i)({ok:0})}))}catch(t){s.log("User.delete failed! Error:",t)}return r},n.prototype.alive=async function(){console.log("user.alive() IS DEPRECATED!!!");const t=this.back(-1);try{return await authRecall(t),t._.user._}catch(t){const e="No session!";throw s.log(e),{err:e}}},n.prototype.trust=async function(t){console.log("`.trust` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!"),s.is(t)&&t.get("pub").get(((t,e)=>{console.log(t,e)})),t.get("trust").get(path).put(theirPubkey)},n.prototype.grant=function(t,e){console.log("`.grant` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!");var n=this,s=n.back(-1).user(),i=s._.sea,o="";return n.back((function(t){t.is||(o+=t.get||"")})),async function(){var n,a=await s.get("grant").get(i.pub).get(o).then();(a=await r.decrypt(a,i))||(a=r.random(16).toString(),n=await r.encrypt(a,i),s.get("grant").get(i.pub).get(o).put(n));var c=t.get("pub").then(),u=t.get("epub").then();c=await c,u=await u;var l=await r.secret(u,i);n=await r.encrypt(a,l),s.get("grant").get(c).get(o).put(n,e)}(),n},n.prototype.secret=function(t,e){console.log("`.secret` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!");var n=this,s=n.back(-1).user(),i=s.pair(),o="";return n.back((function(t){t.is||(o+=t.get||"")})),async function(){var a,c=await s.get("trust").get(i.pub).get(o).then();(c=await r.decrypt(c,i))||(c=r.random(16).toString(),a=await r.encrypt(c,i),s.get("trust").get(i.pub).get(o).put(a)),a=await r.encrypt(t,c),n.put(a,e)}(),n},e.exports=n}))(t,"./share"),t((function(n){var r,s=t("./sea"),i=t("./settings"),o=(s.window||"").GUN||t((""+r==typeof e?".":"")+"./gun",1);function a(t){var e,n=this,r=n.as,i=t.put,c=i["#"],u=i["."],l=i[":"],h=i[">"],f=t["#"];if(c&&u)if((t._||"").faith&&(r.opt||"").faith&&"function"==typeof t._)s.opt.pack(i,(function(e){s.verify(e,!1,(function(e){i["="]=s.opt.unpack(e),n.to.next(t)}))}));else{var p=function(e){r.on("in",{"@":f,err:t.err=e})};(t._||"").DBG&&((t._||"").DBG.c=+new Date),0<=c.indexOf("<?")&&(e=parseFloat(c.split("<?")[1]||""))&&h<o.state()-1e3*e?(e=t._)&&e.stun&&e.stun--:"~@"!==c?"~@"!==c.slice(0,2)?(e=s.opt.pub(c))?a.pub(n,t,l,u,c,r,p,r.user||"",e):0<=c.indexOf("#")?a.hash(n,t,l,u,c,r,p):a.any(n,t,l,u,c,r,p,r.user||""):a.pubs(n,t,l,u,c,r,p):a.alias(n,t,l,u,c,r,p)}}o.on("opt",(function(t){t.sea||(t.sea={own:{}},t.on("put",a,t)),this.to.next(t)})),a.hash=function(t,e,n,r,i,o,a){s.work(n,null,(function(n){return n&&n===r.split("#").slice(-1)[0]||n&&n===function(t){let e="";for(let n=0;n<t.length;n++)e+=n-1&1?"":String.fromCharCode(parseInt(t.substring(n-1,n+1),16));return btoa(e)}(r.split("#").slice(-1)[0])?t.to.next(e):void a("Data hash not same as hash!")}),{name:"SHA-256"})},a.alias=function(t,e,n,r,s,i,o){return n?"~@"+r===u(n)?t.to.next(e):void o("Alias not same!"):o("Data must exist!")},a.pubs=function(t,e,n,r,s,i,o){return n?r===u(n)?t.to.next(e):void o("Alias not same!"):o("Alias must exist!")},a.pub=async function(t,e,n,a,c,l,h,f,p){var d;const g=await i.parse(n)||{},y=(n,i,u)=>{if(n.m&&n.s&&i&&p)return s.verify(n,p,(n=>{if(r!==n&&r!==n.e&&e.put[">"]&&e.put[">"]>parseFloat(n.e))return h("Certificate expired.");if(r!==n&&n.c&&n.w&&(n.c===i||n.c.indexOf("*")>-1)){let e=c.indexOf("/")>-1?c.replace(c.substring(0,c.indexOf("/")+1),""):"";String.match=String.match||o.text.match;const r=Array.isArray(n.w)?n.w:"object"==typeof n.w||"string"==typeof n.w?[n.w]:[];for(const o of r)if(String.match(e,o["#"])&&String.match(a,o["."])||!o["."]&&String.match(e,o["#"])||!o["#"]&&String.match(a,o["."])||String.match(e?e+"/"+a:a,o["#"]||o)){if(o["+"]&&o["+"].indexOf("*")>-1&&e&&-1==e.indexOf(i)&&-1==a.indexOf(i))return h(`Path "${e}" or key "${a}" must contain string "${i}".`);if(n.wb&&("string"==typeof n.wb||(n.wb||{})["#"])){var s=t.as.root.$.back(-1);return"string"==typeof n.wb&&"~"!==n.wb.slice(0,1)&&(s=s.get("~"+p)),s.get(n.wb).get(i).once((t=>!t||1!==t&&!0!==t?u(n):h(`Certificant ${i} blocked.`)))}return u(n)}return h("Certificate verification fail.")}}))};if("pub"===a&&"~"+p===c)return n===p?t.to.next(e):h("Account not same!");(d=f.is)&&d.pub&&!g["*"]&&!g["+"]&&(p===d.pub||p!==d.pub&&((e._.msg||{}).opt||{}).cert)?s.opt.pack(e.put,(o=>{s.sign(o,f._.sea,(async function(o){if(r===o)return h(s.err||"Signature fail.");if(e.put[":"]={":":d=s.opt.unpack(o.m),"~":o.s},e.put["="]=d,p===f.is.pub)return(d=u(n))&&((l.sea.own[d]=l.sea.own[d]||{})[p]=1),void JSON.stringifyAsync(e.put[":"],(function(n,r){return n?h(n||"Stringify error."):(e.put[":"]=r,t.to.next(e))}));if(p!==f.is.pub&&((e._.msg||{}).opt||{}).cert){const n=await i.parse(e._.msg.opt.cert);n&&n.m&&n.s&&y(n,f.is.pub,(r=>{e.put[":"]["+"]=n,e.put[":"]["*"]=f.is.pub,JSON.stringifyAsync(e.put[":"],(function(n,r){return n?h(n||"Stringify error."):(e.put[":"]=r,t.to.next(e))}))}))}}),{raw:1})})):s.opt.pack(e.put,(n=>{s.verify(n,g["*"]||p,(function(n){var i;return n=s.opt.unpack(n),r===n?h("Unverified data."):((i=u(n))&&p===s.opt.pub(i)&&((l.sea.own[i]=l.sea.own[i]||{})[p]=1),g["+"]&&g["+"].m&&g["+"].s&&g["*"]?void y(g["+"],g["*"],(r=>(e.put["="]=n,t.to.next(e)))):(e.put["="]=n,t.to.next(e)))}))}))},a.any=function(t,e,n,r,s,i,o,a){if(i.opt.secure)return o("Soul missing public key at '"+r+"'.");i.on("secure",(function(e){if(this.off(),!i.opt.secure)return t.to.next(e);o("Data cannot be changed.")})).on.on("secure",e)};var c=o.valid,u=function(t,e){return"string"==typeof(e=c(t))&&e};(o.state||"").ify;var l=/[^\w_-]/;s.opt.pub=function(t){if(t&&(t=t.split("~"))&&(t=t[1])&&(t=t.split(l).slice(0,2))&&2==t.length&&"@"!==(t[0]||"")[0])return t=t.slice(0,2).join(".")},s.opt.stringy=function(t){},s.opt.pack=function(t,e,n,i,a){var c,u;if(s.opt.check(t))return e(t);t&&t["#"]&&t["."]&&t[">"]&&(c=t[":"],u=1),JSON.parseAsync(u?c:t,(function(s,c){var u=r!==(c||"")[":"]&&(c||"")["~"];e(u?{m:{"#":a||t["#"],".":n||t["."],":":(c||"")[":"],">":t[">"]||o.state.is(i,n)},s:u}:t)}))};var h=s.opt;s.opt.unpack=function(t,e,n){var i;if(r!==t){if(t&&r!==(i=t[":"]))return i;if(e=e||h.fall_key,!n&&h.fall_val&&((n={})[e]=h.fall_val),e&&n){if(t===n[e])return t;if(!s.opt.check(n[e]))return t;var a=n&&n._&&n._["#"]||h.fall_soul,c=o.state.is(n,e)||h.fall_state;return t&&4===t.length&&a===t[0]&&e===t[1]&&f(c)===f(t[3])?t[2]:c<s.opt.shuffle_attack?t:void 0}}},s.opt.shuffle_attack=15463296e5;var f=Math.floor}))(t,"./index")}();const wp=s.SEA;let bp,Ap={PROOF_OF_INTEGRITY_ADDRESS:dp.optimismSepolia.PROOF_OF_INTEGRITY_ADDRESS,STEALTH_ANNOUNCER_ADDRESS:dp.optimismSepolia.STEALTH_ANNOUNCER_ADDRESS};const vp=async()=>{if("undefined"==typeof window)try{const{fileURLToPath:t}=await Promise.resolve().then((function(){return zf})),{dirname:e}=await Promise.resolve().then((function(){return up})),{readFile:n}=await import("fs/promises"),{join:r}=await Promise.resolve().then((function(){return up})),s=e(t(import.meta.url));try{const t=await n(r(s,"contract-address.json"),"utf8");Ap=JSON.parse(t),console.log("Loaded contract addresses:",Ap)}catch(t){console.warn("Warning: contract-address.json not found or invalid")}}catch(t){console.error("Error loading Node.js modules:",t)}};function Ep(){return N(On(32)).slice(2)}function kp(t){try{const e=en(X(t));return console.log("Generated password:",e),e}catch(t){return console.error("Error generating password:",t),null}}function Tp(t){const e="0x"+(t=>{const e="=".repeat((4-t.length%4)%4),n=t.replace(/-/g,"+").replace(/_/g,"/")+e,r=atob(n);return Array.from(r,(t=>t.charCodeAt(0).toString(16).padStart(2,"0"))).join("")})(t),n=new rh(e);return{account:n,publicKey:n.address,privateKey:e}}"undefined"==typeof window&&vp();const Np=async()=>{if(rpcUrl&&privateKey){const t=new Iu(rpcUrl,{chainId:pp.CHAIN_ID,name:"localhost"});return new Wallet(privateKey,t)}if("undefined"!=typeof window&&void 0!==window.ethereum){await window.ethereum.request({method:"eth_requestAccounts"});return new Du(window.ethereum).getSigner()}throw new Error("No valid Ethereum provider found")};function xp(t,e){try{const n=X(t),r=en(x([n,X(e)])),s=new Wallet(r);return console.log("Debug deriveStealthAddress:",{sharedSecretHex:r,spendingPublicKey:e,stealthPrivateKey:r,stealthAddress:s.address}),{stealthPrivateKey:r,stealthAddress:s.address,wallet:s}}catch(t){throw console.error("Error in deriveStealthAddress:",t),t}}s.chain.MESSAGE_TO_SIGN=MESSAGE_TO_SIGN,s.chain.setSigner=function(t,e){return rpcUrl=t,privateKey=e,console.log("Standalone configuration set"),this},s.chain.getSigner=Np(),s.chain.verifySignature=async function(t,e){try{const n=function(t,e){return $i(go(t),e)}(t,e);return n}catch(t){return console.error("Error verifying signature:",t),null}},s.chain.generatePassword=function(t){return kp(t)},s.chain.createSignature=async function(t){try{if(t!==MESSAGE_TO_SIGN)throw new Error("Invalid message, valid message is: "+MESSAGE_TO_SIGN);const e=await Np(),n=await e.signMessage(t);return console.log("Signature created:",n),n}catch(t){return console.error("Error creating signature:",t),null}},s.chain.createAndStoreEncryptedPair=async function(t,e){try{const n=this,r=await wp.pair(),s=await wp.pair(),i=await wp.pair(),o=kp(e),a=await wp.encrypt(JSON.stringify(r),o),c=await wp.encrypt(JSON.stringify(s),o),u=await wp.encrypt(JSON.stringify(i),o),l=Tp(s.priv),h=Tp(i.priv);n.get("gun-eth").get("users").get(t).put({pair:a,v_pair:c,s_pair:u,publicKeys:{viewingPublicKey:s.epub,viewingPublicKey:s.epub,spendingPublicKey:h.publicKey,ethViewingAddress:l.publicKey}}),console.log("Encrypted pairs and public keys stored for:",t)}catch(t){throw console.error("Error creating and storing encrypted pair:",t),t}},s.chain.getAndDecryptPair=async function(t,e){try{const n=this,r=await n.get("gun-eth").get("users").get(t).get("pair").then();if(!r)throw new Error("No encrypted data found for this address");const s=kp(e),i=await wp.decrypt(r,s);return console.log(i),i}catch(t){return console.error("Error retrieving and decrypting pair:",t),null}},s.chain.proof=function(t,e,n,r){if(console.log("Proof plugin called with:",{chain:t,nodeId:e,data:n}),"function"!=typeof r)return console.error("Callback must be a function"),this;try{const s="development"===process.env.NODE_ENV&&"undefined"!=typeof window&&"localhost"===window.location.hostname?"localhost":t,i=gp(s);console.log(`Using ${s} configuration:`,i);new Ac(i.PROOF_OF_INTEGRITY_ADDRESS,mp,signer);const o=async(t,e)=>{console.log("Verifying on chain:",{nodeId:t,contentHash:e});const n=await Np(),r=new Contract(bp,mp,n),[s,i,o]=await r.verifyData(X(t),e);return console.log("Verification result:",{isValid:s,timestamp:i,updater:o}),{isValid:s,timestamp:i,updater:o}},a=async(t,e)=>{console.log("Writing on chain:",{nodeId:t,contentHash:e});const n=await Np(),r=new Contract(bp,mp,n),s=await r.updateData(toUtf8Bytes(t),e);console.log("Transaction sent:",s.hash);const i=await s.wait();return console.log("Transaction confirmed:",i),s},c=async t=>{const e=await Np(),n=new Contract(bp,mp,e),[r,s,i]=await n.getLatestRecord(toUtf8Bytes(t));return console.log("Latest record from blockchain:",{nodeId:t,contentHash:r,timestamp:s,updater:i}),{contentHash:r,timestamp:s,updater:i}};if(e&&!n)gun.get(e).once((async t=>{if(!t)return void(r&&r({err:"Node not found in GunDB"}));console.log("existingData",t);const n=t._contentHash;if(console.log("contentHash",n),n)try{const{isValid:t,timestamp:s,updater:i}=await o(e,n),a=await c(e);t?r&&r({ok:!0,message:"Data verified on blockchain",timestamp:s,updater:i,latestRecord:a}):r&&r({ok:!1,message:"Data not verified on blockchain",latestRecord:a})}catch(t){r&&r({err:t.message})}else r&&r({err:"No content hash found for this node"})}));else if(n&&!e){const t=Ep(),e=en(X(JSON.stringify(n)));gun.get(t).put({...n,_contentHash:e},(async n=>{if(console.log("ack",n),n.err)r&&r({err:"Error saving data to GunDB"});else try{const n=await a(t,e);r&&r({ok:!0,message:"Data written to GunDB and blockchain",nodeId:t,txHash:n.hash})}catch(t){r&&r({err:t.message})}}))}else r&&r({err:"Invalid input. Provide either nodeId or data, not both."});return gun}catch(t){return r({err:t.message}),this}},s.chain.gunToEthAccount=function(t){return Tp(t)},s.chain.generateStealthAddress=async function(t,e){try{const n=this,r=await n.get("gun-eth").get("users").get(t).get("publicKeys").then();if(!r||!r.viewingPublicKey||!r.spendingPublicKey)throw new Error("Recipient's public keys not found");const s=await this.verifySignature(MESSAGE_TO_SIGN,e),i=kp(e),o=await n.get("gun-eth").get("users").get(s).then();if(!o||!o.s_pair)throw new Error("Sender's keys not found");let a;try{const t=await wp.decrypt(o.s_pair,i);a="string"==typeof t?JSON.parse(t):t}catch(t){throw console.error("Error decrypting spending pair:",t),new Error("Unable to decrypt spending pair")}const c=await wp.secret(r.viewingPublicKey,a);if(!c)throw new Error("Unable to generate shared secret");console.log("Generate shared secret:",c);const{stealthAddress:u}=xp(c,r.spendingPublicKey);return{stealthAddress:u,senderPublicKey:a.epub,spendingPublicKey:r.spendingPublicKey}}catch(t){throw console.error("Error generating stealth address:",t),t}},s.chain.publishStealthKeys=async function(t){try{const e=this,n=await this.verifySignature(MESSAGE_TO_SIGN,t),r=kp(t),s=await e.get("gun-eth").get("users").get(n).then();if(!s||!s.v_pair||!s.s_pair)throw new Error("Keys not found");const i=JSON.parse(await wp.decrypt(s.v_pair,r)),o=JSON.parse(await wp.decrypt(s.s_pair,r)),a=Tp(i.priv),c=Tp(o.priv);e.get("gun-eth").get("users").get(n).get("publicKeys").put({viewingPublicKey:a.publicKey,spendingPublicKey:c.publicKey}),console.log("Stealth public keys published successfully")}catch(t){throw console.error("Error publishing stealth keys:",t),t}},s.chain.recoverStealthFunds=async function(t,e,n,r){try{const s=this,i=kp(n),o=await this.verifySignature(MESSAGE_TO_SIGN,n),a=await s.get("gun-eth").get("users").get(o).then();if(!a||!a.v_pair||!a.s_pair)throw new Error("Keys not found");let c;try{const t=await wp.decrypt(a.v_pair,i);c="string"==typeof t?JSON.parse(t):t}catch(t){throw console.error("Error decrypting keys:",t),new Error("Unable to decrypt keys")}const u=await wp.secret(e,c);if(!u)throw new Error("Unable to generate shared secret");console.log("Recover shared secret:",u);const{wallet:l,stealthAddress:h}=xp(u,r);if(h.toLowerCase()!==t.toLowerCase())throw console.error("Mismatch:",{recovered:h,expected:t,sharedSecret:u}),new Error("Recovered stealth address does not match");return{wallet:l,address:h}}catch(t){throw console.error("Error recovering stealth funds:",t),t}},s.chain.announceStealthPayment=async function(t,e,n,r,s={onChain:!1,chain:"optimismSepolia"}){try{const i=this,o=await this.verifySignature(MESSAGE_TO_SIGN,r);if(s.onChain){const r=await Np(),i=gp(s.chain).STEALTH_ANNOUNCER_ADDRESS;console.log("Using contract address:",i);const o=new Contract(i,yp,r),a=await o.devFee();console.log("Dev fee:",a.toString());const c=await o.announcePayment(e,n,t,{value:a});console.log("Transaction sent:",c.hash);const u=await c.wait();console.log("Transaction confirmed:",u.hash),console.log("Stealth payment announced on-chain (dev fee paid)")}else i.get("gun-eth").get("stealth-payments").set({stealthAddress:t,senderAddress:o,senderPublicKey:e,spendingPublicKey:n,timestamp:Date.now()}),console.log("Stealth payment announced off-chain")}catch(t){throw console.error("Error announcing stealth payment:",t),console.error("Error details:",t.stack),t}},s.chain.getStealthPayments=async function(t,e={source:"both"}){try{const n=[];if("onChain"===e.source||"both"===e.source){const r=await Np(),s=gp(e.chain||"optimismSepolia").STEALTH_ANNOUNCER_ADDRESS,i=new Contract(s,yp,r);try{const e=await i.getAnnouncementsCount(),r=Number(e.toString());if(console.log("Total on-chain announcements:",r),r>0){const e=100,s=r-1;for(let r=0;r<=s;r+=e){const o=Math.min(r+e-1,s),a=await i.getAnnouncementsInRange(r,o);for(const e of a)try{if(!(e&&e.stealthAddress&&e.senderPublicKey&&e.spendingPublicKey)){console.log("Invalid announcement:",e);continue}const r=await this.recoverStealthFunds(e.stealthAddress,e.senderPublicKey,t,e.spendingPublicKey);n.push({stealthAddress:e.stealthAddress,senderPublicKey:e.senderPublicKey,spendingPublicKey:e.spendingPublicKey,timestamp:Number(e.timestamp),source:"onChain",wallet:r})}catch(t){console.log(`Announcement not for us: ${e.stealthAddress}`);continue}}}}catch(t){console.error("Error retrieving on-chain announcements:",t)}}if("offChain"===e.source||"both"===e.source){const t=this,e=await new Promise((e=>{const n=[];t.get("gun-eth").get("stealth-payments").get(recipientAddress).map().once(((t,e)=>{t?.stealthAddress&&n.push({...t,id:e,source:"offChain"})})),setTimeout((()=>e(n)),2e3)}));n.push(...e)}return console.log(`Found ${n.length} stealth payments`),n}catch(t){throw console.error("Error retrieving stealth payments:",t),t}},s.chain.cleanStealthPayments=async function(t){try{const e=this,n=await e.get("gun-eth").get("stealth-payments").get(t).map().once().then();n&&Object.keys(n).forEach((async r=>{const s=n[r];s&&s.stealthAddress&&s.senderPublicKey&&s.spendingPublicKey||await e.get("gun-eth").get("stealth-payments").get(t).get(r).put(null)}))}catch(t){console.error("Error cleaning stealth payments:",t)}};class Sp{static generateRandomId=Ep;static generatePassword=kp;static gunToEthAccount=Tp;static getSigner=Np;static deriveStealthAddress=xp;static chainMethods={setSigner:s.chain.setSigner,getSigner:s.chain.getSigner,verifySignature:s.chain.verifySignature,generatePassword:s.chain.generatePassword,createSignature:s.chain.createSignature,createAndStoreEncryptedPair:s.chain.createAndStoreEncryptedPair,getAndDecryptPair:s.chain.getAndDecryptPair,proof:s.chain.proof,gunToEthAccount:s.chain.gunToEthAccount,generateStealthAddress:s.chain.generateStealthAddress,publishStealthKeys:s.chain.publishStealthKeys,recoverStealthFunds:s.chain.recoverStealthFunds,announceStealthPayment:s.chain.announceStealthPayment,getStealthPayments:s.chain.getStealthPayments,cleanStealthPayments:s.chain.cleanStealthPayments};static MESSAGE_TO_SIGN=MESSAGE_TO_SIGN;static PROOF_CONTRACT_ADDRESS=bp;static LOCAL_CONFIG=pp}export{s as Gun,Sp as GunEth,s as default,xp as deriveStealthAddress,kp as generatePassword,Ep as generateRandomId,Np as getSigner,Tp as gunToEthAccount,vp as initNodeEnvironment};
|
11
|
+
const ne=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),ue=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),te=BigInt(1),ee=BigInt(2),re=(l,n)=>(l+n/ee)/n;const se=function(l,n,u=!1,t={}){if(l<=Tt)throw new Error(`Expected Field ORDER > 0, got ${l}`);const{nBitLength:e,nByteLength:r}=Gt(l,n);if(r>2048)throw new Error("Field lengths over 2048 bytes are not supported");const s=_t(l),i=Object.freeze({ORDER:l,BITS:e,BYTES:r,MASK:At(e),ZERO:Tt,ONE:Ot,create:n=>Dt(n,l),isValid:n=>{if("bigint"!=typeof n)throw new Error("Invalid field element: expected bigint, got "+typeof n);return Tt<=n&&n<l},is0:l=>l===Tt,isOdd:l=>(l&Ot)===Ot,neg:n=>Dt(-n,l),eql:(l,n)=>l===n,sqr:n=>Dt(n*n,l),add:(n,u)=>Dt(n+u,l),sub:(n,u)=>Dt(n-u,l),mul:(n,u)=>Dt(n*u,l),pow:(l,n)=>function(l,n,u){if(u<Tt)throw new Error("Expected power > 0");if(u===Tt)return l.ONE;if(u===Ot)return n;let t=l.ONE,e=n;for(;u>Tt;)u&Ot&&(t=l.mul(t,e)),e=l.sqr(e),u>>=Ot;return t}(i,l,n),div:(n,u)=>Dt(n*Ft(u,l),l),sqrN:l=>l*l,addN:(l,n)=>l+n,subN:(l,n)=>l-n,mulN:(l,n)=>l*n,inv:n=>Ft(n,l),sqrt:t.sqrt||(l=>s(i,l)),invertBatch:l=>function(l,n){const u=new Array(n.length),t=n.reduce(((n,t,e)=>l.is0(t)?n:(u[e]=n,l.mul(n,t))),l.ONE),e=l.inv(t);return n.reduceRight(((n,t,e)=>l.is0(t)?n:(u[e]=l.mul(n,u[e]),l.mul(n,t))),e),u}(i,l),cmov:(l,n,u)=>u?n:l,toBytes:l=>u?mt(l,r):yt(l,r),fromBytes:l=>{if(l.length!==r)throw new Error(`Fp.fromBytes: expected ${r}, got ${l.length}`);return u?gt(l):pt(l)}});return Object.freeze(i)}(ne,void 0,void 0,{sqrt:function(l){const n=ne,u=BigInt(3),t=BigInt(6),e=BigInt(11),r=BigInt(22),s=BigInt(23),i=BigInt(44),o=BigInt(88),a=l*l*l%n,c=a*a*l%n,h=Lt(c,u,n)*c%n,f=Lt(h,u,n)*c%n,d=Lt(f,ee,n)*a%n,p=Lt(d,e,n)*d%n,g=Lt(p,r,n)*p%n,y=Lt(g,i,n)*g%n,m=Lt(y,o,n)*y%n,w=Lt(m,i,n)*g%n,b=Lt(w,u,n)*c%n,A=Lt(b,s,n)*p%n,v=Lt(A,t,n)*a%n,E=Lt(v,ee,n);if(!se.eql(se.sqr(E),l))throw new Error("Cannot find square root");return E}}),ie=function(l,n){const u=n=>Xt({...l,...le(n)});return Object.freeze({...u(n),create:u})}({a:BigInt(0),b:BigInt(7),Fp:se,n:ue,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:l=>{const n=ue,u=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),t=-te*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),e=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),r=u,s=BigInt("0x100000000000000000000000000000000"),i=re(r*l,n),o=re(-t*l,n);let a=Dt(l-i*u-o*e,n),c=Dt(-i*t-o*r,n);const h=a>s,f=c>s;if(h&&(a=n-a),f&&(c=n-c),a>s||c>s)throw new Error("splitScalar: Endomorphism failed, k="+l);return{k1neg:h,k1:a,k2neg:f,k2:c}}}},Pn);BigInt(0),ie.ProjectivePoint;const oe="0x0000000000000000000000000000000000000000",ae="0x0000000000000000000000000000000000000000000000000000000000000000",ce=BigInt(0),he=BigInt(1),fe=BigInt(2),de=BigInt(27),pe=BigInt(28),ge=BigInt(35),ye={};function me(l){return V(ul(l),32)}class we{#B;#D;#U;#L;get r(){return this.#B}set r(l){O(32===j(l),"invalid r","value",l),this.#B=M(l)}get s(){return this.#D}set s(l){O(32===j(l),"invalid s","value",l);const n=M(l);O(parseInt(n.substring(0,3))<8,"non-canonical s","value",n),this.#D=n}get v(){return this.#U}set v(l){const n=ll(l,"value");O(27===n||28===n,"invalid v","v",l),this.#U=n}get networkV(){return this.#L}get legacyChainId(){const l=this.networkV;return null==l?null:we.getChainId(l)}get yParity(){return 27===this.v?0:1}get yParityAndS(){const l=D(this.s);return this.yParity&&(l[0]|=128),M(l)}get compactSerialized(){return G([this.r,this.yParityAndS])}get serialized(){return G([this.r,this.s,this.yParity?"0x1c":"0x1b"])}constructor(l,n,u,t){R(l,ye,"Signature"),this.#B=n,this.#D=u,this.#U=t,this.#L=null}[Symbol.for("nodejs.util.inspect.custom")](){return`Signature { r: "${this.r}", s: "${this.s}", yParity: ${this.yParity}, networkV: ${this.networkV} }`}clone(){const l=new we(ye,this.r,this.s,this.v);return this.networkV&&(l.#L=this.networkV),l}toJSON(){const l=this.networkV;return{_type:"signature",networkV:null!=l?l.toString():null,r:this.r,s:this.s,v:this.v}}static getChainId(l){const n=W(l,"v");return n==de||n==pe?ce:(O(n>=ge,"invalid EIP-155 v","v",l),(n-ge)/fe)}static getChainIdV(l,n){return W(l)*fe+BigInt(35+n-27)}static getNormalizedV(l){const n=W(l);return n===ce||n===de?27:n===he||n===pe?28:(O(n>=ge,"invalid v","v",l),n&he?27:28)}static from(l){function n(n,u){O(n,u,"signature",l)}if(null==l)return new we(ye,ae,ae,27);if("string"==typeof l){const u=D(l,"signature");if(64===u.length){const l=M(u.slice(0,32)),n=u.slice(32,64),t=128&n[0]?28:27;return n[0]&=127,new we(ye,l,M(n),t)}if(65===u.length){const l=M(u.slice(0,32)),t=u.slice(32,64);n(!(128&t[0]),"non-canonical s");const e=we.getNormalizedV(u[64]);return new we(ye,l,M(t),e)}n(!1,"invalid raw signature length")}if(l instanceof we)return l.clone();const u=l.r;n(null!=u,"missing r");const t=me(u),e=function(l,u){if(null!=l)return me(l);if(null!=u){n(L(u,32),"invalid yParityAndS");const l=D(u);return l[0]&=127,M(l)}n(!1,"missing s")}(l.s,l.yParityAndS);n(!(128&D(e)[0]),"non-canonical s");const{networkV:r,v:s}=function(l,u,t){if(null!=l){const n=W(l);return{networkV:n>=ge?n:void 0,v:we.getNormalizedV(n)}}if(null!=u)return n(L(u,32),"invalid yParityAndS"),{v:128&D(u)[0]?28:27};if(null!=t){switch(ll(t,"sig.yParity")){case 0:return{v:27};case 1:return{v:28}}n(!1,"invalid yParity")}n(!1,"missing v")}(l.v,l.yParityAndS,l.yParity),i=new we(ye,t,e,s);return r&&(i.#L=r),n(null==l.yParity||ll(l.yParity,"sig.yParity")===i.yParity,"yParity mismatch"),n(null==l.yParityAndS||l.yParityAndS===i.yParityAndS,"yParityAndS mismatch"),i}}class be{#F;constructor(l){O(32===j(l),"invalid private key","privateKey","[REDACTED]"),this.#F=M(l)}get privateKey(){return this.#F}get publicKey(){return be.computePublicKey(this.#F)}get compressedPublicKey(){return be.computePublicKey(this.#F,!0)}sign(l){O(32===j(l),"invalid digest length","digest",l);const n=ie.sign(U(l),U(this.#F),{lowS:!0});return we.from({r:nl(n.r,32),s:nl(n.s,32),v:n.recovery?28:27})}computeSharedSecret(l){const n=be.computePublicKey(l);return M(ie.getSharedSecret(U(this.#F),D(n),!1))}static computePublicKey(l,n){let u=D(l,"key");if(32===u.length){return M(ie.getPublicKey(u,!!n))}if(64===u.length){const l=new Uint8Array(65);l[0]=4,l.set(u,1),u=l}return M(ie.ProjectivePoint.fromHex(u).toRawBytes(n))}static recoverPublicKey(l,n){O(32===j(l),"invalid digest length","digest",l);const u=we.from(n);let t=ie.Signature.fromCompact(U(G([u.r,u.s])));t=t.addRecoveryBit(u.yParity);const e=t.recoverPublicKey(U(l));return O(null!=e,"invalid signautre for digest","signature",n),"0x"+e.toHex(!1)}static addPoints(l,n,u){const t=ie.ProjectivePoint.fromHex(be.computePublicKey(l).substring(2)),e=ie.ProjectivePoint.fromHex(be.computePublicKey(n).substring(2));return"0x"+t.add(e).toHex(!!u)}}const Ae=BigInt(0),ve=BigInt(36);function Ee(l){const n=(l=l.toLowerCase()).substring(2).split(""),u=new Uint8Array(40);for(let l=0;l<40;l++)u[l]=n[l].charCodeAt(0);const t=D(gu(u));for(let l=0;l<40;l+=2)t[l>>1]>>4>=8&&(n[l]=n[l].toUpperCase()),(15&t[l>>1])>=8&&(n[l+1]=n[l+1].toUpperCase());return"0x"+n.join("")}const ke={};for(let l=0;l<10;l++)ke[String(l)]=String(l);for(let l=0;l<26;l++)ke[String.fromCharCode(65+l)]=String(10+l);const xe=function(){const l={};for(let n=0;n<36;n++){l["0123456789abcdefghijklmnopqrstuvwxyz"[n]]=BigInt(n)}return l}();function Ne(l){if(O("string"==typeof l,"invalid address","address",l),l.match(/^(0x)?[0-9a-fA-F]{40}$/)){l.startsWith("0x")||(l="0x"+l);const n=Ee(l);return O(!l.match(/([A-F].*[a-f])|([a-f].*[A-F])/)||n===l,"bad address checksum","address",l),n}if(l.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){O(l.substring(2,4)===function(l){let n=(l=(l=l.toUpperCase()).substring(4)+l.substring(0,2)+"00").split("").map((l=>ke[l])).join("");for(;n.length>=15;){let l=n.substring(0,15);n=parseInt(l,10)%97+n.substring(l.length)}let u=String(98-parseInt(n,10)%97);for(;u.length<2;)u="0"+u;return u}(l),"bad icap checksum","address",l);let n=function(l){l=l.toLowerCase();let n=Ae;for(let u=0;u<l.length;u++)n=n*ve+xe[l[u]];return n}(l.substring(4)).toString(16);for(;n.length<40;)n="0"+n;return Ee("0x"+n)}O(!1,"invalid address","address",l)}function Se(l){return l&&"function"==typeof l.getAddress}async function Te(l,n){const u=await n;return null!=u&&"0x0000000000000000000000000000000000000000"!==u||(T("string"!=typeof l,"unconfigured name","UNCONFIGURED_NAME",{value:l}),O(!1,"invalid AddressLike value; did not resolve to a value address","target",l)),Ne(u)}function Oe(l,n){return"string"==typeof l?l.match(/^0x[0-9a-f]{40}$/i)?Ne(l):(T(null!=n,"ENS resolution requires a provider","UNSUPPORTED_OPERATION",{operation:"resolveName"}),Te(l,n.resolveName(l))):Se(l)?Te(l,l.getAddress()):l&&"function"==typeof l.then?Te(l,l):void O(!1,"unsupported addressable value","target",l)}const Pe={};function Ie(l,n){let u=!1;return n<0&&(u=!0,n*=-1),new Be(Pe,`${u?"":"u"}int${n}`,l,{signed:u,width:n})}function Ce(l,n){return new Be(Pe,`bytes${n||""}`,l,{size:n})}const Re=Symbol.for("_ethers_typed");class Be{type;value;#_;_typedSymbol;constructor(l,n,u,t){null==t&&(t=null),R(Pe,l,"Typed"),E(this,{_typedSymbol:Re,type:n,value:u}),this.#_=t,this.format()}format(){if("array"===this.type)throw new Error("");if("dynamicArray"===this.type)throw new Error("");return"tuple"===this.type?`tuple(${this.value.map((l=>l.format())).join(",")})`:this.type}defaultValue(){return 0}minValue(){return 0}maxValue(){return 0}isBigInt(){return!!this.type.match(/^u?int[0-9]+$/)}isData(){return this.type.startsWith("bytes")}isString(){return"string"===this.type}get tupleName(){if("tuple"!==this.type)throw TypeError("not a tuple");return this.#_}get arrayLength(){if("array"!==this.type)throw TypeError("not an array");return!0===this.#_?-1:!1===this.#_?this.value.length:null}static from(l,n){return new Be(Pe,l,n)}static uint8(l){return Ie(l,8)}static uint16(l){return Ie(l,16)}static uint24(l){return Ie(l,24)}static uint32(l){return Ie(l,32)}static uint40(l){return Ie(l,40)}static uint48(l){return Ie(l,48)}static uint56(l){return Ie(l,56)}static uint64(l){return Ie(l,64)}static uint72(l){return Ie(l,72)}static uint80(l){return Ie(l,80)}static uint88(l){return Ie(l,88)}static uint96(l){return Ie(l,96)}static uint104(l){return Ie(l,104)}static uint112(l){return Ie(l,112)}static uint120(l){return Ie(l,120)}static uint128(l){return Ie(l,128)}static uint136(l){return Ie(l,136)}static uint144(l){return Ie(l,144)}static uint152(l){return Ie(l,152)}static uint160(l){return Ie(l,160)}static uint168(l){return Ie(l,168)}static uint176(l){return Ie(l,176)}static uint184(l){return Ie(l,184)}static uint192(l){return Ie(l,192)}static uint200(l){return Ie(l,200)}static uint208(l){return Ie(l,208)}static uint216(l){return Ie(l,216)}static uint224(l){return Ie(l,224)}static uint232(l){return Ie(l,232)}static uint240(l){return Ie(l,240)}static uint248(l){return Ie(l,248)}static uint256(l){return Ie(l,256)}static uint(l){return Ie(l,256)}static int8(l){return Ie(l,-8)}static int16(l){return Ie(l,-16)}static int24(l){return Ie(l,-24)}static int32(l){return Ie(l,-32)}static int40(l){return Ie(l,-40)}static int48(l){return Ie(l,-48)}static int56(l){return Ie(l,-56)}static int64(l){return Ie(l,-64)}static int72(l){return Ie(l,-72)}static int80(l){return Ie(l,-80)}static int88(l){return Ie(l,-88)}static int96(l){return Ie(l,-96)}static int104(l){return Ie(l,-104)}static int112(l){return Ie(l,-112)}static int120(l){return Ie(l,-120)}static int128(l){return Ie(l,-128)}static int136(l){return Ie(l,-136)}static int144(l){return Ie(l,-144)}static int152(l){return Ie(l,-152)}static int160(l){return Ie(l,-160)}static int168(l){return Ie(l,-168)}static int176(l){return Ie(l,-176)}static int184(l){return Ie(l,-184)}static int192(l){return Ie(l,-192)}static int200(l){return Ie(l,-200)}static int208(l){return Ie(l,-208)}static int216(l){return Ie(l,-216)}static int224(l){return Ie(l,-224)}static int232(l){return Ie(l,-232)}static int240(l){return Ie(l,-240)}static int248(l){return Ie(l,-248)}static int256(l){return Ie(l,-256)}static int(l){return Ie(l,-256)}static bytes1(l){return Ce(l,1)}static bytes2(l){return Ce(l,2)}static bytes3(l){return Ce(l,3)}static bytes4(l){return Ce(l,4)}static bytes5(l){return Ce(l,5)}static bytes6(l){return Ce(l,6)}static bytes7(l){return Ce(l,7)}static bytes8(l){return Ce(l,8)}static bytes9(l){return Ce(l,9)}static bytes10(l){return Ce(l,10)}static bytes11(l){return Ce(l,11)}static bytes12(l){return Ce(l,12)}static bytes13(l){return Ce(l,13)}static bytes14(l){return Ce(l,14)}static bytes15(l){return Ce(l,15)}static bytes16(l){return Ce(l,16)}static bytes17(l){return Ce(l,17)}static bytes18(l){return Ce(l,18)}static bytes19(l){return Ce(l,19)}static bytes20(l){return Ce(l,20)}static bytes21(l){return Ce(l,21)}static bytes22(l){return Ce(l,22)}static bytes23(l){return Ce(l,23)}static bytes24(l){return Ce(l,24)}static bytes25(l){return Ce(l,25)}static bytes26(l){return Ce(l,26)}static bytes27(l){return Ce(l,27)}static bytes28(l){return Ce(l,28)}static bytes29(l){return Ce(l,29)}static bytes30(l){return Ce(l,30)}static bytes31(l){return Ce(l,31)}static bytes32(l){return Ce(l,32)}static address(l){return new Be(Pe,"address",l)}static bool(l){return new Be(Pe,"bool",!!l)}static bytes(l){return new Be(Pe,"bytes",l)}static string(l){return new Be(Pe,"string",l)}static array(l,n){throw new Error("not implemented yet")}static tuple(l,n){throw new Error("not implemented yet")}static overrides(l){return new Be(Pe,"overrides",Object.assign({},l))}static isTyped(l){return l&&"object"==typeof l&&"_typedSymbol"in l&&l._typedSymbol===Re}static dereference(l,n){if(Be.isTyped(l)){if(l.type!==n)throw new Error(`invalid type: expecetd ${n}, got ${l.type}`);return l.value}return l}}class De extends Wl{constructor(l){super("address","address",l,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(l,n){let u=Be.dereference(n,"string");try{u=Ne(u)}catch(l){return this._throwError(l.message,n)}return l.writeValue(u)}decode(l){return Ne(nl(l.readValue(),20))}}class Ue extends Wl{coder;constructor(l){super(l.name,l.type,"_",l.dynamic),this.coder=l}defaultValue(){return this.coder.defaultValue()}encode(l,n){return this.coder.encode(l,n)}decode(l){return this.coder.decode(l)}}function Le(l,n,u){let t=[];if(Array.isArray(u))t=u;else if(u&&"object"==typeof u){let l={};t=n.map((n=>{const t=n.localName;return T(t,"cannot encode object for signature with missing names","INVALID_ARGUMENT",{argument:"values",info:{coder:n},value:u}),T(!l[t],"cannot encode object for signature with duplicate names","INVALID_ARGUMENT",{argument:"values",info:{coder:n},value:u}),l[t]=!0,u[t]}))}else O(!1,"invalid tuple value","tuple",u);O(n.length===t.length,"types/value length mismatch","tuple",u);let e=new Yl,r=new Yl,s=[];n.forEach(((l,n)=>{let u=t[n];if(l.dynamic){let n=r.length;l.encode(r,u);let t=e.writeUpdatableValue();s.push((l=>{t(l+n)}))}else l.encode(e,u)})),s.forEach((l=>{l(e.length)}));let i=l.appendWriter(e);return i+=l.appendWriter(r),i}function Fe(l,n){let u=[],t=[],e=l.subReader(0);return n.forEach((n=>{let r=null;if(n.dynamic){let u=l.readIndex(),t=e.subReader(u);try{r=n.decode(t)}catch(l){if(x(l,"BUFFER_OVERRUN"))throw l;r=l,r.baseType=n.name,r.name=n.localName,r.type=n.type}}else try{r=n.decode(l)}catch(l){if(x(l,"BUFFER_OVERRUN"))throw l;r=l,r.baseType=n.name,r.name=n.localName,r.type=n.type}if(null==r)throw new Error("investigate");u.push(r),t.push(n.localName||null)})),ql.fromItems(u,t)}class _e extends Wl{coder;length;constructor(l,n,u){super("array",l.type+"["+(n>=0?n:"")+"]",u,-1===n||l.dynamic),E(this,{coder:l,length:n})}defaultValue(){const l=this.coder.defaultValue(),n=[];for(let u=0;u<this.length;u++)n.push(l);return n}encode(l,n){const u=Be.dereference(n,"array");Array.isArray(u)||this._throwError("expected array value",u);let t=this.length;-1===t&&(t=u.length,l.writeValue(u.length)),P(u.length,t,"coder array"+(this.localName?" "+this.localName:""));let e=[];for(let l=0;l<u.length;l++)e.push(this.coder);return Le(l,e,u)}decode(l){let n=this.length;-1===n&&(n=l.readIndex(),T(n*Ml<=l.dataLength,"insufficient data length","BUFFER_OVERRUN",{buffer:l.bytes,offset:n*Ml,length:l.dataLength}));let u=[];for(let l=0;l<n;l++)u.push(new Ue(this.coder));return Fe(l,u)}}class Me extends Wl{constructor(l){super("bool","bool",l,!1)}defaultValue(){return!1}encode(l,n){const u=Be.dereference(n,"bool");return l.writeValue(u?1:0)}decode(l){return!!l.readValue()}}class Ge extends Wl{constructor(l,n){super(l,l,n,!0)}defaultValue(){return"0x"}encode(l,n){n=U(n);let u=l.writeValue(n.length);return u+=l.writeBytes(n),u}decode(l){return l.readBytes(l.readIndex(),!0)}}class je extends Ge{constructor(l){super("bytes",l)}decode(l){return M(super.decode(l))}}class He extends Wl{size;constructor(l,n){let u="bytes"+String(l);super(u,u,n,!1),E(this,{size:l},{size:"number"})}defaultValue(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)}encode(l,n){let u=U(Be.dereference(n,this.type));return u.length!==this.size&&this._throwError("incorrect data length",n),l.writeBytes(u)}decode(l){return M(l.readBytes(this.size))}}const Ke=new Uint8Array([]);class Ve extends Wl{constructor(l){super("null","",l,!1)}defaultValue(){return null}encode(l,n){return null!=n&&this._throwError("not null",n),l.writeBytes(Ke)}decode(l){return l.readBytes(0),null}}const Qe=BigInt(0),Je=BigInt(1),ze=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");class qe extends Wl{size;signed;constructor(l,n,u){const t=(n?"int":"uint")+8*l;super(t,t,u,!1),E(this,{size:l,signed:n},{size:"number",signed:"boolean"})}defaultValue(){return 0}encode(l,n){let u=W(Be.dereference(n,this.type)),t=$(ze,256);if(this.signed){let l=$(t,8*this.size-1);(u>l||u<-(l+Je))&&this._throwError("value out-of-bounds",n),u=q(u,256)}else(u<Qe||u>$(t,8*this.size))&&this._throwError("value out-of-bounds",n);return l.writeValue(u)}decode(l){let n=$(l.readValue(),8*this.size);return this.signed&&(n=function(l,n){const u=Y(l,"value"),t=BigInt(ll(n,"width"));if(T(u>>t===Q,"overflow","NUMERIC_FAULT",{operation:"fromTwos",fault:"overflow",value:l}),u>>t-J)return-((~u&(J<<t)-J)+J);return u}(n,8*this.size)),n}}class $e extends Ge{constructor(l){super("string",l)}defaultValue(){return""}encode(l,n){return super.encode(l,dl(Be.dereference(n,"string")))}decode(l){return pl(super.decode(l))}}class We extends Wl{coders;constructor(l,n){let u=!1;const t=[];l.forEach((l=>{l.dynamic&&(u=!0),t.push(l.type)}));super("tuple","tuple("+t.join(",")+")",n,u),E(this,{coders:Object.freeze(l.slice())})}defaultValue(){const l=[];this.coders.forEach((n=>{l.push(n.defaultValue())}));const n=this.coders.reduce(((l,n)=>{const u=n.localName;return u&&(l[u]||(l[u]=0),l[u]++),l}),{});return this.coders.forEach(((u,t)=>{let e=u.localName;e&&1===n[e]&&("length"===e&&(e="_length"),null==l[e]&&(l[e]=l[t]))})),Object.freeze(l)}encode(l,n){const u=Be.dereference(n,"tuple");return Le(l,this.coders,u)}decode(l){return Fe(l,this.coders)}}function Ye(l){return gu(dl(l))}const Ze=new Map([[8217,"apostrophe"],[8260,"fraction slash"],[12539,"middle dot"]]);function Xe(l){return function(l){let n=0;return()=>l[n++]}(function(l){let n=0;function u(){return l[n++]<<8|l[n++]}let t=u(),e=1,r=[0,1];for(let l=1;l<t;l++)r.push(e+=u());let s=u(),i=n;n+=s;let o=0,a=0;function c(){return 0==o&&(a=a<<8|l[n++],o=8),a>>--o&1}const h=2**31,f=h>>>1,d=f>>1,p=h-1;let g=0;for(let l=0;l<31;l++)g=g<<1|c();let y=[],m=0,w=h;for(;;){let l=Math.floor(((g-m+1)*e-1)/w),n=0,u=t;for(;u-n>1;){let t=n+u>>>1;l<r[t]?u=t:n=t}if(0==n)break;y.push(n);let s=m+Math.floor(w*r[n]/e),i=m+Math.floor(w*r[n+1]/e)-1;for(;!((s^i)&f);)g=g<<1&p|c(),s=s<<1&p,i=i<<1&p|1;for(;s&~i&d;)g=g&f|g<<1&p>>>1|c(),s=s<<1^f,i=(i^f)<<1|f|1;m=s,w=1+i-s}let b=t-4;return y.map((n=>{switch(n-b){case 3:return b+65792+(l[i++]<<16|l[i++]<<8|l[i++]);case 2:return b+256+(l[i++]<<8|l[i++]);case 1:return b+l[i++];default:return n-1}}))}(function(l){let n=[];[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach(((l,u)=>n[l.charCodeAt(0)]=u));let u=l.length,t=new Uint8Array(6*u>>3);for(let e=0,r=0,s=0,i=0;e<u;e++)i=i<<6|n[l.charCodeAt(e)],s+=6,s>=8&&(t[r++]=i>>(s-=8));return t}(l)))}function lr(l){return 1&l?~l>>1:l>>1}function nr(l,n){let u=Array(l);for(let t=0,e=0;t<l;t++)u[t]=e+=lr(n());return u}function ur(l,n=0){let u=[];for(;;){let t=l(),e=l();if(!e)break;n+=t;for(let l=0;l<e;l++)u.push(n+l);n+=e+1}return u}function tr(l){return rr((()=>{let n=ur(l);if(n.length)return n}))}function er(l){let n=[];for(;;){let u=l();if(0==u)break;n.push(ir(u,l))}for(;;){let u=l()-1;if(u<0)break;n.push(or(u,l))}return n.flat()}function rr(l){let n=[];for(;;){let u=l(n.length);if(!u)break;n.push(u)}return n}function sr(l,n,u){let t=Array(l).fill().map((()=>[]));for(let e=0;e<n;e++)nr(l,u).forEach(((l,n)=>t[n].push(l)));return t}function ir(l,n){let u=1+n(),t=n(),e=rr(n);return sr(e.length,1+l,n).flatMap(((l,n)=>{let[r,...s]=l;return Array(e[n]).fill().map(((l,n)=>{let e=n*t;return[r+n*u,s.map((l=>l+e))]}))}))}function or(l,n){return sr(1+n(),1+l,n).map((l=>[l[0],l.slice(1)]))}function ar(l){return`{${function(l){return l.toString(16).toUpperCase().padStart(2,"0")}(l)}}`}function cr(l){let n=l.length;if(n<4096)return String.fromCodePoint(...l);let u=[];for(let t=0;t<n;)u.push(String.fromCodePoint(...l.slice(t,t+=4096)));return u.join("")}function hr(l,n){let u=l.length,t=u-n.length;for(let e=0;0==t&&e<u;e++)t=l[e]-n[e];return t}const fr=44032,dr=4352,pr=4449,gr=4519,yr=28,mr=588;function wr(l){return l>>24&255}function br(l){return 16777215&l}let Ar,vr,Er,kr;function xr(l){return l>=fr&&l<55204}function Nr(l,n){if(l>=dr&&l<4371&&n>=pr&&n<4470)return fr+(l-dr)*mr+(n-pr)*yr;if(xr(l)&&n>gr&&n<4547&&(l-fr)%yr==0)return l+(n-gr);{let u=kr.get(l);return u&&(u=u.get(n),u)?u:-1}}function Sr(l){Ar||function(){let l=Xe("AEUDTAHBCFQATQDRADAAcgAgADQAFAAsABQAHwAOACQADQARAAoAFwAHABIACAAPAAUACwAFAAwABAAQAAMABwAEAAoABQAIAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACgANAA0AAwAKAAkABAAdAAYAZwDSAdsDJgC0CkMB8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgsj26PTQyy8FfEQ8AY8IPAGcEbwRwBHEEcgRzBHQEdQR2BHcEeAR6BHsEfAR+BIAEgfndBQoBYgULAWIFDAFiBNcE2ATZBRAFEQUvBdALFAsVDPcNBw13DYcOMA4xDjMB4BllHI0B2grbAMDpHLkQ7QHVAPRNQQFnGRUEg0yEB2uaJF8AJpIBpob5AERSMAKNoAXqaQLUBMCzEiACnwRZEkkVsS7tANAsBG0RuAQLEPABv9HICTUBXigPZwRBApMDOwAamhtaABqEAY8KvKx3LQ4ArAB8UhwEBAVSagD8AEFZADkBIadVj2UMUgx5Il4ANQC9AxIB1BlbEPMAs30CGxlXAhwZKQIECBc6EbsCoxngzv7UzRQA8M0BawL6ZwkN7wABAD33OQRcsgLJCjMCjqUChtw/km+NAsXPAoP2BT84PwURAK0RAvptb6cApQS/OMMey5HJS84UdxpxTPkCogVFITaTOwERAK5pAvkNBOVyA7q3BKlOJSALAgUIBRcEdASpBXqzABXFSWZOawLCOqw//AolCZdvv3dSBkEQGyelEPcMMwG1ATsN7UvYBPEGOwTJH30ZGQ/NlZwIpS3dDO0m4y6hgFoj9SqDBe1L9DzdC01RaA9ZC2UJ4zpjgU4DIQENIosK3Q05CG0Q8wrJaw3lEUUHOQPVSZoApQcBCxEdNRW1JhBirAsJOXcG+xr2C48mrxMpevwF0xohBk0BKRr/AM8u54WwWjFcHE9fBgMLJSPHFKhQIA0lQLd4SBobBxUlqQKRQ3BKh1E2HpMh9jw9DWYuE1F8B/U8BRlPC4E8nkarRQ4R0j6NPUgiSUwsBDV/LC8niwnPD4UMuXxyAVkJIQmxDHETMREXN8UIOQcZLZckJxUIIUaVYJoE958D8xPRAwsFPwlBBxMDtRwtEy4VKQUNgSTXAvM21S6zAo9WgAEXBcsPJR/fEFBH4A7pCJsCZQODJesALRUhABcimwhDYwBfj9hTBS7LCMdqbCN0A2cU52ERcweRDlcHpxwzFb8c4XDIXguGCCijrwlbAXUJmQFfBOMICTVbjKAgQWdTi1gYmyBhQT9d/AIxDGUVn0S9h3gCiw9rEhsBNQFzBzkNAQJ3Ee0RaxCVCOuGBDW1M/g6JQRPIYMgEQonA09szgsnJvkM+GkBoxJiAww0PXfuZ6tgtiQX/QcZMsVBYCHxC5JPzQycGsEYQlQuGeQHvwPzGvMn6kFXBf8DowMTOk0z7gS9C2kIiwk/AEkOoxcH1xhqCnGM0AExiwG3mQNXkYMCb48GNwcLAGcLhwV55QAdAqcIowAFAM8DVwA5Aq0HnQAZAIVBAT0DJy8BIeUCjwOTCDHLAZUvAfMpBBvDDBUA9zduSgLDsQKAamaiBd1YAo4CSTUBTSUEBU5HUQOvceEA2wBLBhPfRwEVq0rLGuNDAd9vKwDHAPsABTUHBUEBzQHzbQC3AV8LMQmis7UBTekpAIMAFWsB1wKJAN0ANQB/8QFTAE0FWfkF0wJPSQERMRgrV2EBuwMfATMBDQB5BsuNpckHHwRtB9MCEBsV4QLvLge1AQMi3xPNQsUCvd5VoWACZIECYkJbTa9bNyACofcCaJgCZgkCn4Q4GwsCZjsCZiYEbgR/A38TA36SOQY5dxc5gjojIwJsHQIyNjgKAm3HAm2u74ozZ0UrAWcA3gDhAEoFB5gMjQD+C8IADbUCdy8CdqI/AnlLQwJ4uh1c20WuRtcCfD8CesgCfQkCfPAFWQUgSABIfWMkAoFtAoAAAoAFAn+uSVhKWxUXSswC0QEC0MxLJwOITwOH5kTFkTIC8qFdAwMDrkvOTC0lA89NTE2vAos/AorYwRsHHUNnBbcCjjcCjlxAl4ECjtkCjlx4UbRTNQpS1FSFApP7ApMMAOkAHFUeVa9V0AYsGymVhjLheGZFOzkCl58C77JYIagAWSUClo8ClnycAKlZrFoJgU0AOwKWtQKWTlxEXNECmcsCmWRcyl0HGQKcmznCOp0CnBYCn5sCnriKAB0PMSoPAp3xAp6SALU9YTRh7wKe0wKgbgGpAp6fHwKeTqVjyGQnJSsCJ68CJn4CoPsCoEwCot0CocQCpi8Cpc4Cp/8AfQKn8mh8aLEAA0lqHGrRAqzjAqyuAq1nAq0CAlcdAlXcArHh1wMfTmyXArK9DQKy6Bds4G1jbUhfAyXNArZcOz9ukAMpRQK4XgK5RxUCuSp3cDZw4QK9GQK72nCWAzIRAr6IcgIDM3ECvhpzInNPAsPLAsMEc4J0SzVFdOADPKcDPJoDPb8CxXwCxkcCxhCJAshpUQLIRALJTwLJLgJknQLd0nh5YXiueSVL0AMYo2cCAmH0GfOVJHsLXpJeuxECz2sCz2wvS1PS8xOfAMatAs9zASnqA04SfksFAtwnAtuKAtJPA1JcA1NfAQEDVYyAiT8AyxbtYEWCHILTgs6DjQLaxwLZ3oQQhEmnPAOGpQAvA2QOhnFZ+QBVAt9lAt64c3cC4i/tFAHzMCcB9JsB8tKHAuvzAulweQLq+QLq5AD5RwG5Au6JAuuclqqXAwLuPwOF4Jh5cOBxoQLzAwBpA44WmZMC9xMDkW4DkocC95gC+dkC+GaaHJqruzebHgOdgwL++gEbADmfHJ+zAwWNA6ZqA6bZANHFAwZqoYiiBQkDDEkCwAA/AwDhQRdTARHzA2sHl2cFAJMtK7evvdsBiZkUfxEEOQH7KQUhDp0JnwCS/SlXxQL3AZ0AtwW5AG8LbUEuFCaNLgFDAYD8AbUmAHUDDgRtACwCFgyhAAAKAj0CagPdA34EkQEgRQUhfAoABQBEABMANhICdwEABdUDa+8KxQIA9wqfJ7+xt+UBkSFBQgHpFH8RNMCJAAQAGwBaAkUChIsABjpTOpSNbQC4Oo860ACNOME63AClAOgAywE6gTo7Ofw5+Tt2iTpbO56JOm85GAFWATMBbAUvNV01njWtNWY1dTW2NcU1gjWRNdI14TWeNa017jX9NbI1wTYCNhE1xjXVNhY2JzXeNe02LjY9Ni41LSE2OjY9Njw2yTcIBJA8VzY4Nt03IDcPNsogN4k3MAoEsDxnNiQ3GTdsOo03IULUQwdC4EMLHA8PCZsobShRVQYA6X8A6bABFCnXAukBowC9BbcAbwNzBL8MDAMMAQgDAAkKCwsLCQoGBAVVBI/DvwDz9b29kaUCb0QtsRTNLt4eGBcSHAMZFhYZEhYEARAEBUEcQRxBHEEcQRxBHEEaQRxBHEFCSTxBPElISUhBNkM2QTYbNklISVmBVIgBFLWZAu0BhQCjBcEAbykBvwGJAaQcEZ0ePCklMAAhMvAIMAL54gC7Bm8EescjzQMpARQpKgDUABavAj626xQAJP0A3etzuf4NNRA7efy2Z9NQrCnC0OSyANz5BBIbJ5IFDR6miIavYS6tprjjmuKebxm5C74Q225X1pkaYYPb6f1DK4k3xMEBb9S2WMjEibTNWhsRJIA+vwNVEiXTE5iXs/wezV66oFLfp9NZGYW+Gk19J2+bCT6Ye2w6LDYdgzKMUabk595eLBCXANz9HUpWbATq9vqXVx9XDg+Pc9Xp4+bsS005SVM/BJBM4687WUuf+Uj9dEi8aDNaPxtpbDxcG1THTImUMZq4UCaaNYpsVqraNyKLJXDYsFZ/5jl7bLRtO88t7P3xZaAxhb5OdPMXqsSkp1WCieG8jXm1U99+blvLlXzPCS+M93VnJCiK+09LfaSaBAVBomyDgJua8dfUzR7ga34IvR2Nvj+A9heJ6lsl1KG4NkI1032Cnff1m1wof2B9oHJK4bi6JkEdSqeNeiuo6QoZZincoc73/TH9SXF8sCE7XyuYyW8WSgbGFCjPV0ihLKhdPs08Tx82fYAkLLc4I2wdl4apY7GU5lHRFzRWJep7Ww3wbeA3qmd59/86P4xuNaqDpygXt6M85glSBHOCGgJDnt+pN9bK7HApMguX6+06RZNjzVmcZJ+wcUrJ9//bpRNxNuKpNl9uFds+S9tdx7LaM5ZkIrPj6nIU9mnbFtVbs9s/uLgl8MVczAwet+iOEzzBlYW7RCMgE6gyNLeq6+1tIx4dpgZnd0DksJS5f+JNDpwwcPNXaaVspq1fbQajOrJgK0ofKtJ1Ne90L6VO4MOl5S886p7u6xo7OLjG8TGL+HU1JXGJgppg4nNbNJ5nlzSpuPYy21JUEcUA94PoFiZfjZue+QnyQ80ekOuZVkxx4g+cvhJfHgNl4hy1/a6+RKcKlar/J29y//EztlbVPHVUeQ1zX86eQVAjR/M3dA9w4W8LfaXp4EgM85wOWasli837PzVMOnsLzR+k3o75/lRPAJSE1xAKQzEi5v10ke+VBvRt1cwQRMd+U5mLCTGVd6XiZtgBG5cDi0w22GKcVNvHiu5LQbZEDVtz0onn7k5+heuKXVsZtSzilkLRAUmjMXEMB3J9YC50XBxPiz53SC+EhnPl9WsKCv92SM/OFFIMJZYfl0WW8tIO3UxYcwdMAj7FSmgrsZ2aAZO03BOhP1bNNZItyXYQFTpC3SG1VuPDqH9GkiCDmE+JwxyIVSO5siDErAOpEXFgjy6PQtOVDj+s6e1r8heWVvmZnTciuf4EiNZzCAd7SOMhXERIOlsHIMG399i9aLTy3m2hRLZjJVDNLS53iGIK11dPqQt0zBDyg6qc7YqkDm2M5Ve6dCWCaCbTXX2rToaIgz6+zh4lYUi/+6nqcFMAkQJKHYLK0wYk5N9szV6xihDbDDFr45lN1K4aCXBq/FitPSud9gLt5ZVn+ZqGX7cwm2z5EGMgfFpIFyhGGuDPmso6TItTMwny+7uPnLCf4W6goFQFV0oQSsc9VfMmVLcLr6ZetDZbaSFTLqnSO/bIPjA3/zAUoqgGFAEQS4IhuMzEp2I3jJzbzkk/IEmyax+rhZTwd6f+CGtwPixu8IvzACquPWPREu9ZvGkUzpRwvRRuaNN6cr0W1wWits9ICdYJ7ltbgMiSL3sTPeufgNcVqMVWFkCPDH4jG2jA0XcVgQj62Cb29v9f/z/+2KbYvIv/zzjpQAPkliaVDzNrW57TZ/ZOyZD0nlfMmAIBIAGAI0D3k/mdN4xr9v85ZbZbbqfH2jGd5hUqNZWwl5SPfoGmfElmazUIeNL1j/mkF7VNAzTq4jNt8JoQ11NQOcmhprXoxSxfRGJ9LDEOAQ+dmxAQH90iti9e2u/MoeuaGcDTHoC+xsmEeWmxEKefQuIzHbpw5Tc5cEocboAD09oipWQhtTO1wivf/O+DRe2rpl/E9wlrzBorjJsOeG1B/XPW4EaJEFdNlECEZga5ZoGRHXgYouGRuVkm8tDESiEyFNo+3s5M5puSdTyUL2llnINVHEt91XUNW4ewdMgJ4boJfEyt/iY5WXqbA+A2Fkt5Z0lutiWhe9nZIyIUjyXDC3UsaG1t+eNx6z4W/OYoTB7A6x+dNSTOi9AInctbESqm5gvOLww7OWXPrmHwVZasrl4eD113pm+JtT7JVOvnCXqdzzdTRHgJ0PiGTFYW5Gvt9R9LD6Lzfs0v/TZZHSmyVNq7viIHE6DBK7Qp07Iz55EM8SYtQvZf/obBniTWi5C2/ovHfw4VndkE5XYdjOhCMRjDeOEfXeN/CwfGduiUIfsoFeUxXeQXba7c7972XNv8w+dTjjUM0QeNAReW+J014dKAD/McQYXT7c0GQPIkn3Ll6R7gGjuiQoZD0TEeEqQpKoZ15g/0OPQI17QiSv9AUROa/V/TQN3dvLArec3RrsYlvBm1b8LWzltdugsC50lNKYLEp2a+ZZYqPejULRlOJh5zj/LVMyTDvwKhMxxwuDkxJ1QpoNI0OTWLom4Z71SNzI9TV1iXJrIu9Wcnd+MCaAw8o1jSXd94YU/1gnkrC9BUEOtQvEIQ7g0i6h+KL2JKk8Ydl7HruvgWMSAmNe+LshGhV4qnWHhO9/RIPQzY1tHRj2VqOyNsDpK0cww+56AdDC4gsWwY0XxoucIWIqs/GcwnWqlaT0KPr8mbK5U94/301i1WLt4YINTVvCFBrFZbIbY8eycOdeJ2teD5IfPLCRg7jjcFTwlMFNl9zdh/o3E/hHPwj7BWg0MU09pPrBLbrCgm54A6H+I6v27+jL5gkjWg/iYdks9jbfVP5y/n0dlgWEMlKasl7JvFZd56LfybW1eeaVO0gxTfXZwD8G4SI116yx7UKVRgui6Ya1YpixqXeNLc8IxtAwCU5IhwQgn+NqHnRaDv61CxKhOq4pOX7M6pkA+Pmpd4j1vn6ACUALoLLc4vpXci8VidLxzm7qFBe7s+quuJs6ETYmnpgS3LwSZxPIltgBDXz8M1k/W2ySNv2f9/NPhxLGK2D21dkHeSGmenRT3Yqcdl0m/h3OYr8V+lXNYGf8aCCpd4bWjE4QIPj7vUKN4Nrfs7ML6Y2OyS830JCnofg/k7lpFpt4SqZc5HGg1HCOrHvOdC8bP6FGDbE/VV0mX4IakzbdS/op+Kt3G24/8QbBV7y86sGSQ/vZzU8FXs7u6jIvwchsEP2BpIhW3G8uWNwa3HmjfH/ZjhhCWvluAcF+nMf14ClKg5hGgtPLJ98ueNAkc5Hs2WZlk2QHvfreCK1CCGO6nMZVSb99VM/ajr8WHTte9JSmkXq/i/U943HEbdzW6Re/S88dKgg8pGOLlAeNiqrcLkUR3/aClFpMXcOUP3rmETcWSfMXZE3TUOi8i+fqRnTYLflVx/Vb/6GJ7eIRZUA6k3RYR3iFSK9c4iDdNwJuZL2FKz/IK5VimcNWEqdXjSoxSgmF0UPlDoUlNrPcM7ftmA8Y9gKiqKEHuWN+AZRIwtVSxye2Kf8rM3lhJ5XcBXU9n4v0Oy1RU2M+4qM8AQPVwse8ErNSob5oFPWxuqZnVzo1qB/IBxkM3EVUKFUUlO3e51259GgNcJbCmlvrdjtoTW7rChm1wyCKzpCTwozUUEOIcWLneRLgMXh+SjGSFkAllzbGS5HK7LlfCMRNRDSvbQPjcXaenNYxCvu2Qyznz6StuxVj66SgI0T8B6/sfHAJYZaZ78thjOSIFumNWLQbeZixDCCC+v0YBtkxiBB3jefHqZ/dFHU+crbj6OvS1x/JDD7vlm7zOVPwpUC01nhxZuY/63E7g");Ar=new Map(tr(l).flatMap(((l,n)=>l.map((l=>[l,n+1<<24]))))),vr=new Set(ur(l)),Er=new Map,kr=new Map;for(let[n,u]of er(l)){if(!vr.has(n)&&2==u.length){let[l,t]=u,e=kr.get(l);e||(e=new Map,kr.set(l,e)),e.set(t,n)}Er.set(n,u.reverse())}}();let n=[],u=[],t=!1;function e(l){let u=Ar.get(l);u&&(t=!0,l|=u),n.push(l)}for(let t of l)for(;;){if(t<128)n.push(t);else if(xr(t)){let l=t-fr,n=l%mr/yr|0,u=l%yr;e(dr+(l/mr|0)),e(pr+n),u>0&&e(gr+u)}else{let l=Er.get(t);l?u.push(...l):e(t)}if(!u.length)break;t=u.pop()}if(t&&n.length>1){let l=wr(n[0]);for(let u=1;u<n.length;u++){let t=wr(n[u]);if(0==t||l<=t){l=t;continue}let e=u-1;for(;;){let u=n[e+1];if(n[e+1]=n[e],n[e]=u,!e)break;if(l=wr(n[--e]),l<=t)break}l=wr(n[u])}}return n}function Tr(l){return Sr(l).map(br)}function Or(l){return function(l){let n=[],u=[],t=-1,e=0;for(let r of l){let l=wr(r),s=br(r);if(-1==t)0==l?t=s:n.push(s);else if(e>0&&e>=l)0==l?(n.push(t,...u),u.length=0,t=s):u.push(s),e=l;else{let r=Nr(t,s);r>=0?t=r:0==e&&0==l?(n.push(t),t=s):(u.push(s),e=l)}}return t>=0&&n.push(t,...u),n}(Sr(l))}const Pr=".",Ir=l=>Array.from(l);function Cr(l,n){return l.P.has(n)||l.Q.has(n)}class Rr extends Array{get is_emoji(){return!0}}let Br,Dr,Ur,Lr,Fr,_r,Mr,Gr,jr,Hr,Kr;function Vr(){if(Br)return;let l=Xe("AEEUdwmgDS8BxQKKAP4BOgDjATAAngDUAIMAoABoAOAAagCOAEQAhABMAHIAOwA9ACsANgAmAGIAHgAuACgAJwAXAC0AGgAjAB8ALwAUACkAEgAeAAkAGwARABkAFgA5ACgALQArADcAFQApABAAHgAiABAAGgAeABMAGAUhBe8BFxREN8sF2wC5AK5HAW8ArQkDzQCuhzc3NzcBP68NEfMABQdHBuw5BV8FYAA9MzkI9r4ZBg7QyQAWA9CeOwLNCjcCjqkChuA/lm+RAsXTAoP6ASfnEQDytQFJAjWVCkeXAOsA6godAB/cwdAUE0WlBCN/AQUCQRjFD/MRBjHxDQSJbw0jBzUAswBxme+tnIcAYwabAysG8QAjAEMMmxcDqgPKQyDXCMMxA7kUQwD3NXOrAKmFIAAfBC0D3x4BJQDBGdUFAhEgVD8JnwmQJiNWYUzrg0oAGwAUAB0AFnNcACkAFgBP9h3gPfsDOWDKneY2ChglX1UDYD30ABsAFAAdABZzIGRAnwDD8wAjAEEMzRbDqgMB2sAFYwXqAtCnAsS4AwpUJKRtFHsadUz9AMMVbwLpABM1NJEX0ZkCgYMBEyMAxRVvAukAEzUBUFAtmUwSAy4DBTER33EftQHfSwB5MxJ/AjkWKQLzL8E/cwBB6QH9LQDPDtO9ASNriQC5DQANAwCK21EFI91zHwCoL9kBqQcHBwcHKzUDowBvAQohPvU3fAQgHwCyAc8CKQMA5zMSezr7ULgFmDp/LzVQBgEGAi8FYQVgt8AFcTtlQhpCWEmfe5tmZ6IAExsDzQ8t+X8rBKtTAltbAn0jsy8Bl6utPWMDTR8Ei2kRANkDBrNHNysDBzECQWUAcwFpJ3kAiyUhAJ0BUb8AL3EfAbfNAz81KUsFWwF3YQZtAm0A+VEfAzEJDQBRSQCzAQBlAHsAM70GD/v3IZWHBwARKQAxALsjTwHZAeMPEzmXgIHwABIAGQA8AEUAQDt3gdvIEGcQZAkGTRFMdEIVEwK0D64L7REdDNkq09PgADSxB/MDWwfzA1sDWwfzB/MDWwfzA1sDWwNbA1scEvAi28gQZw9QBHUFlgWTBN4IiyZREYkHMAjaVBV0JhxPA00BBCMtSSQ7mzMTJUpMFE0LCAQ2SmyvfUADTzGzVP2QqgPTMlc5dAkGHnkSqAAyD3skNb1OhnpPcagKU0+2tYdJak5vAsY6sEAACikJm2/Dd1YGRRAfJ6kQ+ww3AbkBPw3xS9wE9QY/BM0fgRkdD9GVoAipLeEM8SbnLqWAXiP5KocF8Uv4POELUVFsD10LaQnnOmeBUgMlAREijwrhDT0IcRD3Cs1vDekRSQc9A9lJngCpBwULFR05FbkmFGKwCw05ewb/GvoLkyazEy17AAXXGiUGUQEtGwMA0y7rhbRaNVwgT2MGBwspI8sUrFAkDSlAu3hMGh8HGSWtApVDdEqLUToelyH6PEENai4XUYAH+TwJGVMLhTyiRq9FEhHWPpE9TCJNTDAEOYMsMyePCdMPiQy9fHYBXQklCbUMdRM1ERs3yQg9Bx0xlygnGQglRplgngT7owP3E9UDDwVDCUUHFwO5HDETMhUtBRGBKNsC9zbZLrcCk1aEARsFzw8pH+MQVEfkDu0InwJpA4cl7wAxFSUAGyKfCEdnAGOP3FMJLs8Iy2pwI3gDaxTrZRF3B5UOWwerHDcVwxzlcMxeD4YMKKezCV8BeQmdAWME5wgNNV+MpCBFZ1eLXBifIGVBQ14AAjUMaRWjRMGHfAKPD28SHwE5AXcHPQ0FAnsR8RFvEJkI74YINbkz/DopBFMhhyAVCisDU2zSCysm/Qz8bQGnEmYDEDRBd/Jnr2C6KBgBBx0yyUFkIfULlk/RDKAaxRhGVDIZ6AfDA/ca9yfuQVsGAwOnBxc6UTPyBMELbQiPCUMATQ6nGwfbGG4KdYzUATWPAbudA1uVhwJzkwY7Bw8Aaw+LBX3pACECqwinAAkA0wNbAD0CsQehAB0AiUUBQQMrMwEl6QKTA5cINc8BmTMB9y0EH8cMGQD7O25OAsO1AoBuZqYF4VwCkgJNOQFRKQQJUktVA7N15QDfAE8GF+NLARmvTs8e50cB43MvAMsA/wAJOQcJRQHRAfdxALsBYws1Caa3uQFR7S0AhwAZbwHbAo0A4QA5AIP1AVcAUQVd/QXXAlNNARU1HC9bZQG/AyMBNwERAH0Gz5GpzQsjBHEH1wIQHxXlAu8yB7kFAyLjE9FCyQK94lkAMhoKPAqrCqpgX2Q3CjV2PVQAEh+sPss/UgVVO1c7XDtXO1w7VztcO1c7XDtXO1wDm8Pmw+YKcF9JYe8Mqg3YRMw6TRPfYFVgNhPMLbsUxRXSJVoZQRrAJwkl6FUNDwgt12Y0CDA0eRfAAEMpbINFY4oeNApPHOtTlVT8LR8AtUumM7MNsBsZREQFS3XxYi4WEgomAmSFAmJGX1GzAV83JAKh+wJonAJmDQKfiDgfDwJmPwJmKgRyBIMDfxcDfpY5Cjl7GzmGOicnAmwhAjI6OA4CbcsCbbLzjgM3a0kvAWsA4gDlAE4JB5wMkQECD8YAEbkCdzMCdqZDAnlPRwJ4viFg30WyRvcCfEMCeswCfQ0CfPRIBEiBZygALxlJXEpfGRtK0ALRBQLQ0EsrA4hTA4fqRMmRNgLypV0HAwOyS9JMMSkH001QTbMCi0MCitzFHwshR2sJuwKOOwKOYESbhQKO3QKOYHxRuFM5AQ5S2FSJApP/ApMQAO0AIFUiVbNV1AosHymZijLleGpFPz0Cl6MC77ZYJawAXSkClpMCloCgAK1ZsFoNhVEAPwKWuQKWUlxIXNUCmc8CmWhczl0LHQKcnznGOqECnBoCn58CnryOACETNS4TAp31Ap6WALlBYThh8wKe1wKgcgGtAp6jIwKeUqljzGQrKS8CJ7MCJoICoP8CoFDbAqYzAqXSAqgDAIECp/ZogGi1AAdNaiBq1QKs5wKssgKtawKtBgJXIQJV4AKx5dsDH1JsmwKywRECsuwbbORtZ21MYwMl0QK2YD9DbpQDKUkCuGICuUsZArkue3A6cOUCvR0DLbYDMhUCvoxyBgMzdQK+HnMmc1MCw88CwwhzhnRPOUl05AM8qwEDPJ4DPcMCxYACxksCxhSNAshtVQLISALJUwLJMgJkoQLd1nh9ZXiyeSlL1AMYp2cGAmH4GfeVKHsPXpZevxUCz28Cz3AzT1fW9xejAMqxAs93AS3uA04Wfk8JAtwrAtuOAtJTA1JgA1NjAQUDVZCAjUMEzxrxZEl5A4LSg5EC2ssC2eKEFIRNp0ADhqkAMwNkEoZ1Xf0AWQLfaQLevHd7AuIz7RgB8zQrAfSfAfLWiwLr9wLpdH0DAur9AuroAP1LAb0C7o0C66CWrpcHAu5DA4XkmH1w5HGlAvMHAG0DjhqZlwL3FwORcgOSiwL3nAL53QL4apogmq+/O5siA52HAv7+AR8APZ8gAZ+3AwWRA6ZuA6bdANXJAwZuoYyiCQ0DDE0BEwEjB3EGZb1rCQC/BG/DFY8etxEAG3k9ACcDNxJRA42DAWcrJQCM8wAlAOanC6OVCLsGI6fJBgCvBRnDBvElRUYFFoAFcD9GSDNCKUK8X3kZX8QAls0FOgCQVCGbwTsuYDoZutcONxjOGJHJ/gVfBWAFXwVgBWsFYAVfBWAFXwVgBV8FYAVfBWBOHQjfjW8KCgoKbF7xMwTRA7kGN8PDAMMEr8MA70gxFroFTj5xPnhCR0K+X30/X/AAWBkzswCNBsxzzASm70aCRS4rDDMeLz49fnXfcsH5GcoscQFz13Y4HwVnBXLJycnACNdRYwgICAqEXoWTxgA7P4kACxbZBu21Kw0AjMsTAwkVAOVtJUUsJ1JCuULESUArXy9gPi9AKwnJRQYKTD9LPoA+iT54PnkCkULEUUpDX9NWV3JVEjQAc1w3A3IBE3YnX+g7QiMJb6MKaiszRCUuQrNCxDPMCcwEX9EWJzYREBEEBwIHKn6l33JCNVIfybPJtAltydPUCmhBZw/tEKsZAJOVJU1CLRuxbUHOQAo7P0s+eEJHHA8SJVRPdGM0NVrpvBoKhfUlM0JHHGUQUhEWO1xLSj8MO0ucNAqJIzVCRxv9EFsqKyA4OQgNj2nwZgp5ZNFgE2A1K3YHS2AhQQojJmC7DgpzGG1WYFUZCQYHZO9gHWCdYIVgu2BTYJlwFh8GvRbcXbG8YgtDHrMBwzPVyQonHQgkCyYBgQJ0Ajc4nVqIAwGSCsBPIgDsK3SWEtIVBa5N8gGjAo+kVwVIZwD/AEUSCDweX4ITrRQsJ8K3TwBXFDwEAB0TvzVcAtoTS20RIwDgVgZ9BBImYgA5AL4Coi8LFnezOkCnIQFjAY4KBAPh9RcGsgZSBsEAJctdsWIRu2kTkQstRw7DAcMBKgpPBGIGMDAwKCYnKTQaLg4AKRSVAFwCdl+YUZ0JdicFD3lPAdt1F9ZZKCGxuE3yBxkFVGcA/wBFEgiCBwAOLHQSjxOtQDg1z7deFRMAZ8QTAGtKb1ApIiPHADkAvgKiLy1DFtYCmBiDAlDDWNB0eo7fpaMO/aEVRRv0ATEQZBIODyMEAc8JQhCbDRgzFD4TAEMAu9YBCgCsAOkAm5I3ABwAYxvONnR+MhXJAxgKQyxL2+kkJhMbhQKDBMkSsvF0AD9BNQ6uQC7WqSQHwxEAEEIu1hkhAH2z4iQPwyJPHNWpdyYBRSpnJALzoBAEVPPsH20MxA0CCEQKRgAFyAtFAlMNwwjEDUQJRArELtapMg7DDZgJIw+TGukEIwvDFkMAqAtDEMMMBhioe+QAO3MMRAACrgnEBSPY9Q0FDnbSBoMAB8MSYxkSxAEJAPIJAAB8FWMOFtMc/HcXwxhDAC7DAvOowwAewwJdKDKHAAHDAALrFUQVwwAbwyvzpWMWv8wA/ABpAy++bcYDUKPD0KhDCwKmJ1MAAmMA5+UZwxAagwipBRL/eADfw6fDGOMCGsOjk3l6BwOpo4sAEsMOGxMAA5sAbcMOAAvDp0MJGkMDwgipnNIPAwfIqUMGAOGDAAPzABXDAAcDAAnDAGmTABrDAA7DChjDjnEWAwABYwAOcwAuUyYABsMAF8MIKQANUgC6wy4AA8MADqMq8wCyYgAcIwAB8wqpAAXOCx0V4wAHowBCwwEKAGnDAAuDAB3DAAjDCakABdIAbqcZ3QCZCCkABdIAAAFDAAfjAB2jCCkABqIACYMAGzMAbSMA5sOIAAhjAAhDABTDBAkpAAbSAOOTAAlDC6kOzPtnAAdDAG6kQFAATwAKwwwAA0MACbUDPwAHIwAZgwACE6cDAAojAApDAAoDp/MGwwAJIwADEwAQQwgAFEMAEXMAD5MADfMADcMAGRMOFiMAFUMAbqMWuwHDAMIAE0MLAGkzEgDhUwACQwAEWgAXgwUjAAbYABjDBSYBgzBaAEFNALcQBxUMegAwMngBrA0IZgJ0KxQHBREPd1N0ZzKRJwaIHAZqNT4DqQq8BwngAB4DAwt2AX56T1ocKQNXAh1GATQGC3tOxYNagkgAMQA5CQADAQEAWxLjAIOYNAEzAH7tFRk6TglSAF8NAAlYAQ+S1ACAQwQorQBiAN4dAJ1wPyeTANVzuQDX3AIeEMp9eyMgXiUAEdkBkJizKltbVVAaRMqRAAEAhyQ/SDEz6BmfVwB6ATEsOClKIRcDOF0E/832AFNt5AByAnkCRxGCOs94NjXdAwINGBonDBwPALW2AwICAgAAAAAAAAYDBQMDARrUAwAtAAAAAgEGBgYGBgYFBQUFBQUEBQYHCAkEBQUFBQQAAAICAAAAIgCNAJAAlT0A6gC7ANwApEQAwgCyAK0AqADuAKYA2gCjAOcBCAEDAMcAgQBiANIA1AEDAN4A8gCQAKkBMQDqAN8A3AsBCQ8yO9ra2tq8xuLT1tRJOB0BUgFcNU0BWgFpAWgBWwFMUUlLbhMBUxsNEAs6PhMOACcUKy0vMj5AQENDQ0RFFEYGJFdXV1dZWVhZL1pbXVxcI2NnZ2ZoZypsbnZ1eHh4eHh4enp6enp6enp6enp8fH18e2IARPIASQCaAHgAMgBm+ACOAFcAVwA3AnbvAIsABfj4AGQAk/IAnwBPAGIAZP//sACFAIUAaQBWALEAJAC2AIMCQAJDAPwA5wD+AP4A6AD/AOkA6QDoAOYALwJ7AVEBQAE+AVQBPgE+AT4BOQE4ATgBOAEcAVgXADEQCAEAUx8SHgsdHhYAjgCWAKYAUQBqIAIxAHYAbwCXAxUDJzIDIUlGTzEAkQJPAMcCVwKkAMAClgKWApYClgKWApYCiwKWApYClgKWApYClgKVApUCmAKgApcClgKWApQClAKUApQCkgKVAnUB1AKXAp8ClgKWApUeAIETBQD+DQOfAmECOh8BVBg9AuIZEjMbAU4/G1WZAXusRAFpYQEFA0FPAQYAmTEeIJdyADFoAHEANgCRA5zMk/C2jGINwjMWygIZCaXdfDILBCs5dAE7YnQBugDlhoiHhoiGiYqKhouOjIaNkI6Ij4qQipGGkoaThpSSlYaWhpeKmIaZhpqGm4aci52QnoqfhuIC4XTpAt90AIp0LHSoAIsAdHQEQwRABEIERQRDBEkERgRBBEcESQRIBEQERgRJAJ5udACrA490ALxuAQ10ANFZdHQA13QCFHQA/mJ0AP4BIQD+APwA/AD9APwDhGZ03ASMK23HAP4A/AD8AP0A/CR0dACRYnQA/gCRASEA/gCRAvQA/gCRA4RmdNwEjCttxyR0AP9idAEhAP4A/gD8APwA/QD8AP8A/AD8AP0A/AOEZnTcBIwrbcckdHQAkWJ0ASEA/gCRAP4AkQL0AP4AkQOEZnTcBIwrbcckdAJLAT50AlIBQXQCU8l0dAJfdHQDpgL0A6YDpgOnA6cDpwOnA4RmdNwEjCttxyR0dACRYnQBIQOmAJEDpgCRAvQDpgCRA4RmdNwEjCttxyR0BDh0AJEEOQCRDpU5dSgCADR03gV2CwArdAEFAM5iCnR0AF1iAAYcOgp0dACRCnQAXAEIwWZ0CnRmdHQAkWZ0CnRmdEXgAFF03gp0dEY0tlT2u3SOAQTwscwhjZZKrhYcBSfFp9XNbKiVDOD2b+cpe4/Z17mQnbtzzhaeQtE2GGj0IDNTjRUSyTxxw/RPHW/+vS7d1NfRt9z9QPZg4X7QFfhCnkvgNPIItOsC2eV6hPannZNHlZ9xrwZXIMOlu3jSoQSq78WEjwLjw1ELSlF1aBvfzwk5ZX7AUvQzjPQKbDuQ+sm4wNOp4A6AdVuRS0t1y/DZpg4R6m7FNjM9HgvW7Bi88zaMjOo6lM8wtBBdj8LP4ylv3zCXPhebMKJc066o9sF71oFW/8JXu86HJbwDID5lzw5GWLR/LhT0Qqnp2JQxNZNfcbLIzPy+YypqRm/lBmGmex+82+PisxUumSeJkALIT6rJezxMH+CTJmQtt5uwTVbL3ptmjDUQzlSIvWi8Tl7ng1NpuRn1Ng4n14Qc+3Iil7OwkvNWogLSPkn3pihIFytyIGmMhOe3n1tWsuMy9BdKyqF4Z3v2SgggTL9KVvMXPnCbRe+oOuFFP3HejBG/w9gvmfNYvg6JuWia2lcSSN1uIjBktzoIazOHPJZ7kKHPz8mRWVdW3lA8WGF9dQF6Bm673boov3BUWDU2JNcahR23GtfHKLOz/viZ+rYnZFaIznXO67CYEJ1fXuTRpZhYZkKe54xeoagkNGLs+NTZHE0rX45/XvQ2RGADX6vcAvdxIUBV27wxGm2zjZo4X3ILgAlrOFheuZ6wtsvaIj4yLY7qqawlliaIcrz2G+c3vscAnCkCuMzMmZvMfu9lLwTvfX+3cVSyPdN9ZwgDZhfjRgNJcLiJ67b9xx8JHswprbiE3v9UphotAPIgnXVIN5KmMc0piXhc6cChPnN+MRhG9adtdttQTTwSIpl8I4/j//d3sz1326qTBTpPRM/Hgh3kzqEXs8ZAk4ErQhNO8hzrQ0DLkWMA/N+91tn2MdOJnWC2FCZehkQrwzwbKOjhvZsbM95QoeL9skYyMf4srVPVJSgg7pOLUtr/n9eT99oe9nLtFRpjA9okV2Kj8h9k5HaC0oivRD8VyXkJ81tcd4fHNXPCfloIQasxsuO18/46dR2jgul/UIet2G0kRvnyONMKhHs6J26FEoqSqd+rfYjeEGwHWVDpX1fh1jBBcKGMqRepju9Y00mDVHC+Xdij/j44rKfvfjGinNs1jO/0F3jB83XCDINN/HB84axlP+3E/klktRo+vl3U/aiyMJbIodE1XSsDn6UAzIoMtUObY2+k/4gY/l+AkZJ5Sj2vQrkyLm3FoxjhDX+31UXBFf9XrAH31fFqoBmDEZvhvvpnZ87N+oZEu7U9O/nnk+QWj3x8uyoRbEnf+O5UMr9i0nHP38IF5AvzrBW8YWBUR0mIAzIvndQq9N3v/Jto3aPjPXUPl8ASdPPyAp7jENf8bk7VMM9ol9XGmlBmeDMuGqt+WzuL6CXAxXjIhCPM5vACchgMJ/8XBGLO/D1isVvGhwwHHr1DLaI5mn2Jr/b1pUD90uciDaS8cXNDzCWvNmT/PhQe5e8nTnnnkt8Ds/SIjibcum/fqDhKopxAY8AkSrPn+IGDEKOO+U3XOP6djFs2H5N9+orhOahiQk5KnEUWa+CzkVzhp8bMHRbg81qhjjXuIKbHjSLSIBKWqockGtKinY+z4/RdBUF6pcc3JmnlxVcNgrI4SEzKUZSwcD2QCyxzKve+gAmg6ZuSRkpPFa6mfThu7LJNu3H5K42uCpNvPAsoedolKV/LHe/eJ+BbaG5MG0NaSGVPRUmNFMFFSSpXEcXwbVh7UETOZZtoVNRGOIbbkig3McEtR68cG0RZAoJevWYo7Dg/lZ1CQzblWeUvVHmr8fY4Nqd9JJiH/zEX24mJviH60fAyFr0A3c4bC1j3yZU60VgJxXn8JgJXLUIsiBnmKmMYz+7yBQFBvqb2eYnuW59joZBf56/wXvWIR4R8wTmV80i1mZy+S4+BUES+hzjk0uXpC///z/IlqHZ1monzlXp8aCfhGKMti73FI1KbL1q6IKO4fuBuZ59gagjn5xU79muMpHXg6S+e+gDM/U9BKLHbl9l6o8czQKl4RUkJJiqftQG2i3BMg/TQlUYFkJDYBOOvAugYuzYSDnZbDDd/aSd9x0Oe6F+bJcHfl9+gp6L5/TgA+BdFFovbfCrQ40s5vMPw8866pNX8zyFGeFWdxIpPVp9Rg1UPOVFbFZrvaFq/YAzHQgqMWpahMYfqHpmwXfHL1/kpYmGuHFwT55mQu0dylfNuq2Oq0hTMCPwqfxnuBIPLXfci4Y1ANy+1CUipQxld/izVh16WyG2Q0CQQ9NqtAnx1HCHwDj7sYxOSB0wopZSnOzxQOcExmxrVTF2BkOthVpGfuhaGECfCJpJKpjnihY+xOT2QJxN61+9K6QSqtv2Shr82I3jgJrqBg0wELFZPjvHpvzTtaJnLK6Vb97Yn933koO/saN7fsjwNKzp4l2lJVx2orjCGzC/4ZL4zCver6aQYtC5sdoychuFE6ufOiog+VWi5UDkbmvmtah/3aArEBIi39s5ILUnlFLgilcGuz9CQshEY7fw2ouoILAYPVT/gyAIq3TFAIwVsl+ktkRz/qGfnCDGrm5gsl/l9QdvCWGsjPz3dU7XuqKfdUrr/6XIgjp4rey6AJBmCmUJMjITHVdFb5m1p+dLMCL8t55zD42cmftmLEJC0Da04YiRCVUBLLa8D071/N5UBNBXDh0LFsmhV/5B5ExOB4j3WVG/S3lfK5o+V6ELHvy6RR9n4ac+VsK4VE4yphPvV+kG9FegTBH4ZRXL2HytUHCduJazB/KykjfetYxOXTLws267aGOd+I+JhKP//+VnXmS90OD/jvLcVu0asyqcuYN1mSb6XTlCkqv1vigZPIYwNF/zpWcT1GR/6aEIRjkh0yhg4LXJfaGobYJTY4JI58KiAKgmmgAKWdl5nYCeLqavRJGQNuYuZtZFGx+IkI4w4NS2xwbetNMunOjBu/hmKCI/w7tfiiyUd//4rbTeWt4izBY8YvGIN6vyKYmP/8X8wHKCeN+WRcKM70+tXKNGyevU9H2Dg5BsljnTf8YbsJ1TmMs74Ce2XlHisleguhyeg44rQOHZuw/6HTkhnnurK2d62q6yS7210SsAIaR+jXMQA+svkrLpsUY+F30Uw89uOdGAR6vo4FIME0EfVVeHTu6eKicfhSqOeXJhbftcd08sWEnNUL1C9fnprTgd83IMut8onVUF0hvqzZfHduPjbjwEXIcoYmy+P6tcJZHmeOv6VrvEdkHDJecjHuHeWANe79VG662qTjA/HCvumVv3qL+LrOcpqGps2ZGwQdFJ7PU4iuyRlBrwfO+xnPyr47s2cXVbWzAyznDiBGjCM3ksxjjqM62GE9C8f5U38kB3VjtabKp/nRdvMESPGDG90bWRLAt1Qk5DyLuazRR1YzdC1c+hZXvAWV8xA72S4A8B67vjVhbba3MMop293FeEXpe7zItMWrJG/LOH9ByOXmYnNJfjmfuX9KbrpgLOba4nZ+fl8Gbdv/ihv+6wFGKHCYrVwmhFC0J3V2bn2tIB1wCc1CST3d3X2OyxhguXcs4sm679UngzofuSeBewMFJboIQHbUh/m2JhW2hG9DIvG2t7yZIzKBTz9wBtnNC+2pCRYhSIuQ1j8xsz5VvqnyUIthvuoyyu7fNIrg/KQUVmGQaqkqZk/Vx5b33/gsEs8yX7SC1J+NV4icz6bvIE7C5G6McBaI8rVg56q5QBJWxn/87Q1sPK4+sQa8fLU5gXo4paaq4cOcQ4wR0VBHPGjKh+UlPCbA1nLXyEUX45qZ8J7/Ln4FPJE2TdzD0Z8MLSNQiykMMmSyOCiFfy84Rq60emYB2vD09KjYwsoIpeDcBDTElBbXxND72yhd9pC/1CMid/5HUMvAL27OtcIJDzNKpRPNqPOpyt2aPGz9QWIs9hQ9LiX5s8m9hjTUu/f7MyIatjjd+tSfQ3ufZxPpmJhTaBtZtKLUcfOCUqADuO+QoH8B9v6U+P0HV1GLQmtoNFTb3s74ivZgjES0qfK+8RdGgBbcCMSy8eBvh98+et1KIFqSe1KQPyXULBMTsIYnysIwiZBJYdI20vseV+wuJkcqGemehKjaAb9L57xZm3g2zX0bZ2xk/fU+bCo7TlnbW7JuF1YdURo/2Gw7VclDG1W7LOtas2LX4upifZ/23rzpsnY/ALfRgrcWP5hYmV9VxVOQA1fZvp9F2UNU+7d7xRyVm5wiLp3/0dlV7vdw1PMiZrbDAYzIVqEjRY2YU03sJhPnlwIPcZUG5ltL6S8XCxU1eYS5cjr34veBmXAvy7yN4ZjArIG0dfD/5UpBNlX1ZPoxJOwyqRi3wQWtOzd4oNKh0LkoTm8cwqgIfKhqqGOhwo71I+zXnMemTv2B2AUzABWyFztGgGULjDDzWYwJUVBTjKCn5K2QGMK1CQT7SzziOjo+BhAmqBjzuc3xYym2eedGeOIRJVyTwDw37iCMe4g5Vbnsb5ZBdxOAnMT7HU4DHpxWGuQ7GeiY30Cpbvzss55+5Km1YsbD5ea3NI9QNYIXol5apgSu9dZ8f8xS5dtHpido5BclDuLWY4lhik0tbJa07yJhH0BOyEut/GRbYTS6RfiTYWGMCkNpfSHi7HvdiTglEVHKZXaVhezH4kkXiIvKopYAlPusftpE4a5IZwvw1x/eLvoDIh/zpo9FiQInsTb2SAkKHV42XYBjpJDg4374XiVb3ws4qM0s9eSQ5HzsMU4OZJKuopFjBM+dAZEl8RUMx5uU2N486Kr141tVsGQfGjORYMCJAMsxELeNT4RmWjRcpdTGBwcx6XN9drWqPmJzcrGrH4+DRc7+n1w3kPZwu0BkNr6hQrqgo7JTB9A5kdJ/H7P4cWBMwsmuixAzJB3yrQpnGIq90lxAXLzDCdn1LPibsRt7rHNjgQBklRgPZ8vTbjXdgXrTWQsK5MdrXXQVPp0Rinq3frzZKJ0qD6Qhc40VzAraUXlob1gvkhK3vpmHgI6FRlQZNx6eRqkp0zy4AQlX813fAPtL3jMRaitGFFjo0zmErloC+h+YYdVQ6k4F/epxAoF0BmqEoKNTt6j4vQZNQ2BoqF9Vj53TOIoNmDiu9Xp15RkIgQIGcoLpfoIbenzpGUAtqFJp5W+LLnx38jHeECTJ/navKY1NWfN0sY1T8/pB8kIH3DU3DX+u6W3YwpypBMYOhbSxGjq84RZ84fWJow8pyHqn4S/9J15EcCMsXqrfwyd9mhiu3+rEo9pPpoJkdZqHjra4NvzFwuThNKy6hao/SlLw3ZADUcUp3w3SRVfW2rhl80zOgTYnKE0Hs2qp1J6H3xqPqIkvUDRMFDYyRbsFI3M9MEyovPk8rlw7/0a81cDVLmBsR2ze2pBuKb23fbeZC0uXoIvDppfTwIDxk1Oq2dGesGc+oJXWJLGkOha3CX+DUnzgAp9HGH9RsPZN63Hn4RMA5eSVhPHO+9RcRb/IOgtW31V1Q5IPGtoxPjC+MEJbVlIMYADd9aHYWUIQKopuPOHmoqSkubnAKnzgKHqgIOfW5RdAgotN6BN+O2ZYHkuemLnvQ8U9THVrS1RtLmKbcC7PeeDsYznvqzeg6VCNwmr0Yyx1wnLjyT84BZz3EJyCptD3yeueAyDWIs0L2qs/VQ3HUyqfrja0V1LdDzqAikeWuV4sc7RLIB69jEIBjCkyZedoUHqCrOvShVzyd73OdrJW0hPOuQv2qOoHDc9xVb6Yu6uq3Xqp2ZaH46A7lzevbxQEmfrzvAYSJuZ4WDk1Hz3QX1LVdiUK0EvlAGAYlG3Md30r7dcPN63yqBCIj25prpvZP0nI4+EgWoFG95V596CurXpKRBGRjQlHCvy5Ib/iW8nZJWwrET3mgd6mEhfP4KCuaLjopWs7h+MdXFdIv8dHQJgg1xi1eYqB0uDYjxwVmri0Sv5XKut/onqapC+FQiC2C1lvYJ9MVco6yDYsS3AANUfMtvtbYI2hfwZatiSsnoUeMZd34GVjkMMKA+XnjJpXgRW2SHTZplVowPmJsvXy6w3cfO1AK2dvtZEKTkC/TY9LFiKHCG0DnrMQdGm2lzlBHM9iEYynH2UcVMhUEjsc0oDBTgo2ZSQ1gzkAHeWeBXYFjYLuuf8yzTCy7/RFR81WDjXMbq2BOH5dURnxo6oivmxL3cKzKInlZkD31nvpHB9Kk7GfcfE1t+1V64b9LtgeJGlpRFxQCAqWJ5DoY77ski8gsOEOr2uywZaoO/NGa0X0y1pNQHBi3b2SUGNpcZxDT7rLbBf1FSnQ8guxGW3W+36BW0gBje4DOz6Ba6SVk0xiKgt+q2JOFyr4SYfnu+Ic1QZYIuwHBrgzr6UvOcSCzPTOo7D6IC4ISeS7zkl4h+2VoeHpnG/uWR3+ysNgPcOIXQbv0n4mr3BwQcdKJxgPSeyuP/z1Jjg4e9nUvoXegqQVIE30EHx5GHv+FAVUNTowYDJgyFhf5IvlYmEqRif6+WN1MkEJmDcQITx9FX23a4mxy1AQRsOHO/+eImX9l8EMJI3oPWzVXxSOeHU1dUWYr2uAA7AMb+vAEZSbU3qob9ibCyXeypEMpZ6863o6QPqlqGHZkuWABSTVNd4cOh9hv3qEpSx2Zy/DJMP6cItEmiBJ5PFqQnDEIt3NrA3COlOSgz43D7gpNFNJ5MBh4oFzhDPiglC2ypsNU4ISywY2erkyb1NC3Qh/IfWj0eDgZI4/ln8WPfBsT3meTjq1Uqt1E7Zl/qftqkx6aM9KueMCekSnMrcHj1CqTWWzEzPsZGcDe3Ue4Ws+XFYVxNbOFF8ezkvQGR6ZOtOLU2lQEnMBStx47vE6Pb7AYMBRj2OOfZXfisjJnpTfSNjo6sZ6qSvNxZNmDeS7Gk3yYyCk1HtKN2UnhMIjOXUzAqDv90lx9O/q/AT1ZMnit5XQe9wmQxnE/WSH0CqZ9/2Hy+Sfmpeg8RwsHI5Z8kC8H293m/LHVVM/BA7HaTJYg5Enk7M/xWpq0192ACfBai2LA/qrCjCr6Dh1BIMzMXINBmX96MJ5Hn2nxln/RXPFhwHxUmSV0EV2V0jm86/dxxuYSU1W7sVkEbN9EzkG0QFwPhyHKyb3t+Fj5WoUUTErcazE/N6EW6Lvp0d//SDPj7EV9UdJN+Amnf3Wwk3A0SlJ9Z00yvXZ7n3z70G47Hfsow8Wq1JXcfwnA+Yxa5mFsgV464KKP4T31wqIgzFPd3eCe3j5ory5fBF2hgCFyVFrLzI9eetNXvM7oQqyFgDo4CTp/hDV9NMX9JDHQ/nyHTLvZLNLF6ftn2OxjGm8+PqOwhxnPHWipkE/8wbtyri80Sr7pMNkQGMfo4ZYK9OcCC4ESVFFbLMIvlxSoRqWie0wxqnLfcLSXMSpMMQEJYDVObYsXIQNv4TGNwjq1kvT1UOkicTrG3IaBZ3XdScS3u8sgeZPVpOLkbiF940FjbCeNRINNvDbd01EPBrTCPpm12m43ze1bBB59Ia6Ovhnur/Nvx3IxwSWol+3H2qfCJR8df6aQf4v6WiONxkK+IqT4pKQrZK/LplgDI/PJZbOep8dtbV7oCr6CgfpWa8NczOkPx81iSHbsNhVSJBOtrLIMrL31LK9TqHqAbAHe0RLmmV806kRLDLNEhUEJfm9u0sxpkL93Zgd6rw+tqBfTMi59xqXHLXSHwSbSBl0EK0+loECOPtrl+/nsaFe197di4yUgoe4jKoAJDXc6DGDjrQOoFDWZJ9HXwt8xDrQP+7aRwWKWI1GF8s8O4KzxWBBcwnl3vnl1Oez3oh6Ea1vjR7/z7DDTrFtqU2W/KAEzAuXDNZ7MY73MF216dzdSbWmUp4lcm7keJfWaMHgut9x5C9mj66Z0lJ+yhsjVvyiWrfk1lzPOTdhG15Y7gQlXtacvI7qv/XNSscDwqkgwHT/gUsD5yB7LdRRvJxQGYINn9hTpodKFVSTPrtGvyQw+HlRFXIkodErAGu9Iy1YpfSPc3jkFh5CX3lPxv7aqjE/JAfTIpEjGb/H7MO0e2vsViSW1qa/Lmi4/n4DEI3g7lYrcanspDfEpKkdV1OjSLOy0BCUqVoECaB55vs06rXl4jqmLsPsFM/7vYJ0vrBhDCm/00A/H81l1uekJ/6Lml3Hb9+NKiLqATJmDpyzfYZFHumEjC662L0Bwkxi7E9U4cQA0XMVDuMYAIeLMPgQaMVOd8fmt5SflFIfuBoszeAw7ow5gXPE2Y/yBc/7jExARUf/BxIHQBF5Sn3i61w4z5xJdCyO1F1X3+3ax+JSvMeZ7S6QSKp1Fp/sjYz6Z+VgCZzibGeEoujryfMulH7Rai5kAft9ebcW50DyJr2uo2z97mTWIu45YsSnNSMrrNUuG1XsYBtD9TDYzQffKB87vWbkM4EbPAFgoBV4GQS+vtFDUqOFAoi1nTtmIOvg38N4hT2Sn8r8clmBCXspBlMBYTnrqFJGBT3wZOzAyJDre9dHH7+x7qaaKDOB4UQALD5ecS0DE4obubQEiuJZ0EpBVpLuYcce8Aa4PYd/V4DLDAJBYKQPCWTcrEaZ5HYbJi11Gd6hjGom1ii18VHYnG28NKpkz2UKVPxlhYSp8uZr367iOmoy7zsxehW9wzcy2zG0a80PBMCRQMb32hnaHeOR8fnNDzZhaNYhkOdDsBUZ3loDMa1YP0uS0cjUP3b/6DBlqmZOeNABDsLl5BI5QJups8uxAuWJdkUB/pO6Zax6tsg7fN5mjjDgMGngO+DPcKqiHIDbFIGudxtPTIyDi9SFMKBDcfdGQRv41q1AqmxgkVfJMnP8w/Bc7N9/TR6C7mGObFqFkIEom8sKi2xYqJLTCHK7cxzaZvqODo22c3wisBCP4HeAgcRbNPAsBkNRhSmD48dHupdBRw4mIvtS5oeF6zeT1KMCyhMnmhpkFAGWnGscoNkwvQ8ZM5lE/vgTHFYL99OuNxdFBxTEDd5v2qLR8y9WkXsWgG6kZNndFG+pO/UAkOCipqIhL3hq7cRSdrCq7YhUsTocEcnaFa6nVkhnSeRYUA1YO0z5itF9Sly3VlxYDw239TJJH6f3EUfYO5lb7bcFcz8Bp7Oo8QmnsUHOz/fagVUBtKEw1iT88j+aKkv8cscKNkMxjYr8344D1kFoZ7/td1W6LCNYN594301tUGRmFjAzeRg5vyoM1F6+bJZ/Q54jN/k8SFd3DxPTYaAUsivsBfgTn7Mx8H2SpPt4GOdYRnEJOH6jHM2p6SgB0gzIRq6fHxGMmSmqaPCmlfwxiuloaVIitLGN8wie2CDWhkzLoCJcODh7KIOAqbHEvXdUxaS4TTTs07Clzj/6GmVs9kiZDerMxEnhUB6QQPlcfqkG9882RqHoLiHGBoHfQuXIsAG8GTAtao2KVwRnvvam8jo1e312GQAKWEa4sUVEAMG4G6ckcONDwRcg1e2D3+ohXgY4UAWF8wHKQMrSnzCgfFpsxh+aHXMGtPQroQasRY4U6UdG0rz1Vjbka0MekOGRZQEvqQFlxseFor8zWFgHek3v29+WqN6gaK5gZOTOMZzpQIC1201LkMCXild3vWXSc5UX9xcFYfbRPzGFa1FDcPfPB/jUEq/FeGt419CI3YmBlVoHsa4KdcwQP5ZSwHHhFJ7/Ph/Rap/4vmG91eDwPP0lDfCDRCLszTqfzM71xpmiKi2HwS4WlqvGNwtvwF5Dqpn6KTq8ax00UMPkxDcZrEEEsIvHiUXXEphdb4GB4FymlPwBz4Gperqq5pW7TQ6/yNRhW8VT5NhuP0udlxo4gILq5ZxAZk8ZGh3g4CqxJlPKY7AQxupfUcVpWT5VItp1+30UqoyP4wWsRo3olRRgkWZZ2ZN6VC3OZFeXB8NbnUrSdikNptD1QiGuKkr8EmSR/AK9Rw+FF3s5uwuPbvHGiPeFOViltMK7AUaOsq9+x9cndk3iJEE5LKZRlWJbKOZweROzmPNVPkjE3K/TyA57Rs68TkZ3MR8akKpm7cFjnjPd/DdkWjgYoKHSr5Wu5ssoBYU4acRs5g2DHxUmdq8VXOXRbunD8QN0LhgkssgahcdoYsNvuXGUK/KXD/7oFb+VGdhqIn02veuM5bLudJOc2Ky0GMaG4W/xWBxIJcL7yliJOXOpx0AkBqUgzlDczmLT4iILXDxxtRR1oZa2JWFgiAb43obrJnG/TZC2KSK2wqOzRZTXavZZFMb1f3bXvVaNaK828w9TO610gk8JNf3gMfETzXXsbcvRGCG9JWQZ6+cDPqc4466Yo2RcKH+PILeKOqtnlbInR3MmBeGG3FH10yzkybuqEC2HSQwpA0An7d9+73BkDUTm30bZmoP/RGbgFN+GrCOfADgqr0WbI1a1okpFms8iHYw9hm0zUvlEMivBRxModrbJJ+9/p3jUdQQ9BCtQdxnOGrT5dzRUmw0593/mbRSdBg0nRvRZM5/E16m7ZHmDEtWhwvfdZCZ8J8M12W0yRMszXamWfQTwIZ4ayYktrnscQuWr8idp3PjT2eF/jmtdhIfcpMnb+IfZY2FebW6UY/AK3jP4u3Tu4zE4qlnQgLFbM19EBIsNf7KhjdbqQ/D6yiDb+NlEi2SKD+ivXVUK8ib0oBo366gXkR8ZxGjpJIDcEgZPa9TcYe0TIbiPl/rPUQDu3XBJ9X/GNq3FAUsKsll57DzaGMrjcT+gctp+9MLYXCq+sqP81eVQ0r9lt+gcQfZbACRbEjvlMskztZG8gbC8Qn9tt26Q7y7nDrbZq/LEz7kR6Jc6pg3N9rVX8Y5MJrGlML9p9lU4jbTkKqCveeZUJjHB03m2KRKR2TytoFkTXOLg7keU1s1lrPMQJpoOKLuAAC+y1HlJucU6ysB5hsXhvSPPLq5J7JtnqHKZ4vYjC4Vy8153QY+6780xDuGARsGbOs1WqzH0QS765rnSKEbbKlkO8oI/VDwUd0is13tKpqILu1mDJFNy/iJAWcvDgjxvusIT+PGz3ST/J9r9Mtfd0jpaGeiLYIqXc7DiHSS8TcjFVksi66PEkxW1z6ujbLLUGNNYnzOWpH8BZGK4bCK7iR+MbIv8ncDAz1u4StN3vTTzewr9IQjk9wxFxn+6N1ddKs0vffJiS08N3a4G1SVrlZ97Q/M+8G9fe5AP6d9/Qq4WRnORVhofPIKEdCr3llspUfE0oKIIYoByBRPh+bX1HLS3JWGJRhIvE1aW4NTd8ePi4Z+kXb+Z8snYfSNcqijhAgVsx4RCM54cXUiYkjeBmmC4ajOHrChoELscJJC7+9jjMjw5BagZKlgRMiSNYz7h7vvZIoQqbtQmspc0cUk1G/73iXtSpROl5wtLgQi0mW2Ex8i3WULhcggx6E1LMVHUsdc9GHI1PH3U2Ko0PyGdn9KdVOLm7FPBui0i9a0HpA60MsewVE4z8CAt5d401Gv6zXlIT5Ybit1VIA0FCs7wtvYreru1fUyW3oLAZ/+aTnZrOcYRNVA8spoRtlRoWflsRClFcgzkqiHOrf0/SVw+EpVaFlJ0g4Kxq1MMOmiQdpMNpte8lMMQqm6cIFXlnGbfJllysKDi+0JJMotkqgIxOSQgU9dn/lWkeVf8nUm3iwX2Nl3WDw9i6AUK3vBAbZZrcJpDQ/N64AVwjT07Jef30GSSmtNu2WlW7YoyW2FlWfZFQUwk867EdLYKk9VG6JgEnBiBxkY7LMo4YLQJJlAo9l/oTvJkSARDF/XtyAzM8O2t3eT/iXa6wDN3WewNmQHdPfsxChU/KtLG2Mn8i4ZqKdSlIaBZadxJmRzVS/o4yA65RTSViq60oa395Lqw0pzY4SipwE0SXXsKV+GZraGSkr/RW08wPRvqvSUkYBMA9lPx4m24az+IHmCbXA+0faxTRE9wuGeO06DIXa6QlKJ3puIyiuAVfPr736vzo2pBirS+Vxel3TMm3JKhz9o2ZoRvaFVpIkykb0Hcm4oHFBMcNSNj7/4GJt43ogonY2Vg4nsDQIWxAcorpXACzgBqQPjYsE/VUpXpwNManEru4NwMCFPkXvMoqvoeLN3qyu/N1eWEHttMD65v19l/0kH2mR35iv/FI+yjoHJ9gPMz67af3Mq/BoWXqu3rphiWMXVkmnPSEkpGpUI2h1MThideGFEOK6YZHPwYzMBvpNC7+ZHxPb7epfefGyIB4JzO9DTNEYnDLVVHdQyvOEVefrk6Uv5kTQYVYWWdqrdcIl7yljwwIWdfQ/y+2QB3eR/qxYObuYyB4gTbo2in4PzarU1sO9nETkmj9/AoxDA+JM3GMqQtJR4jtduHtnoCLxd1gQUscHRB/MoRYIEsP2pDZ9KvHgtlk1iTbWWbHhohwFEYX7y51fUV2nuUmnoUcqnWIQAAgl9LTVX+Bc0QGNEhChxHR4YjfE51PUdGfsSFE6ck7BL3/hTf9jLq4G1IafINxOLKeAtO7quulYvH5YOBc+zX7CrMgWnW47/jfRsWnJjYYoE7xMfWV2HN2iyIqLI");const n=()=>ur(l),u=()=>new Set(n()),t=(l,n)=>n.forEach((n=>l.add(n)));Br=new Map(er(l)),Dr=u(),Ur=n(),Lr=new Set(n().map((l=>Ur[l]))),Ur=new Set(Ur),Fr=u(),u();let e=tr(l),r=l();const s=()=>{let l=new Set;return n().forEach((n=>t(l,e[n]))),t(l,n()),l};_r=rr((n=>{let u=rr(l).map((l=>l+96));if(u.length){let t=n>=r;return u[0]-=32,u=cr(u),t&&(u=`Restricted[${u}]`),{N:u,P:s(),Q:s(),M:!l(),R:t}}})),Mr=u(),Gr=new Map;let i=n().concat(Ir(Mr)).sort(((l,n)=>l-n));i.forEach(((n,u)=>{let t=l(),e=i[u]=t?i[u-t]:{V:[],M:new Map};e.V.push(n),Mr.has(n)||Gr.set(n,e)}));for(let{V:l,M:n}of new Set(Gr.values())){let u=[];for(let n of l){let l=_r.filter((l=>Cr(l,n))),e=u.find((({G:n})=>l.some((l=>n.has(l)))));e||(e={G:new Set,V:[]},u.push(e)),e.V.push(n),t(e.G,l)}let e=u.flatMap((l=>Ir(l.G)));for(let{G:l,V:t}of u){let u=new Set(e.filter((n=>!l.has(n))));for(let l of t)n.set(l,u)}}jr=new Set;let o=new Set;const a=l=>jr.has(l)?o.add(l):jr.add(l);for(let l of _r){for(let n of l.P)a(n);for(let n of l.Q)a(n)}for(let l of jr)Gr.has(l)||o.has(l)||Gr.set(l,1);t(jr,Tr(jr)),Hr=function(l){let n=[],u=ur(l);return function l({S:u,B:t},e,r){if(!(4&u&&r===e[e.length-1])){2&u&&(r=e[e.length-1]),1&u&&n.push(e);for(let n of t)for(let u of n.Q)l(n,[...e,u],r)}}(function n(t){return{S:l(),B:rr((()=>{let t=ur(l).map((l=>u[l]));if(t.length)return n(t)})),Q:t}}([]),[]),n}(l).map((l=>Rr.from(l))).sort(hr),Kr=new Map;for(let l of Hr){let n=[Kr];for(let u of l){let l=n.map((l=>{let n=l.get(u);return n||(n=new Map,l.set(u,n)),n}));65039===u?n.push(...l):n=l}for(let u of n)u.V=l}}function Qr(l){return(qr(l)?"":`${Jr(zr([l]))} `)+ar(l)}function Jr(l){return`"${l}"`}function zr(l,n=1/0,u=ar){let t=[];var e;e=l[0],Vr(),Ur.has(e)&&t.push("◌"),l.length>n&&(n>>=1,l=[...l.slice(0,n),8230,...l.slice(-n)]);let r=0,s=l.length;for(let n=0;n<s;n++){let e=l[n];qr(e)&&(t.push(cr(l.slice(r,n))),t.push(u(e)),r=n+1)}return t.push(cr(l.slice(r,s))),t.join("")}function qr(l){return Vr(),Fr.has(l)}function $r(l){return function(l){return l.map((({input:n,error:u,output:t})=>{if(u){let t=u.message;throw new Error(1==l.length?t:`Invalid label ${Jr(zr(n,63))}: ${t}`)}return cr(t)})).join(Pr)}(function(l,n,u){if(!l)return[];Vr();let t=0;return l.split(Pr).map((l=>{let e=function(l){let n=[];for(let u=0,t=l.length;u<t;){let t=l.codePointAt(u);u+=t<65536?1:2,n.push(t)}return n}(l),r={input:e,offset:t};t+=e.length+1;try{let l,t=r.tokens=function(l,n,u){let t=[],e=[];l=l.slice().reverse();for(;l.length;){let r=ls(l);if(r)e.length&&(t.push(n(e)),e=[]),t.push(u(r));else{let n=l.pop();if(jr.has(n))e.push(n);else{let l=Br.get(n);if(l)e.push(...l);else if(!Dr.has(n))throw Wr(n)}}}e.length&&t.push(n(e));return t}(e,n,u),s=t.length;if(!s)throw new Error("empty label");let i=r.output=t.flat();if(function(l){for(let n=l.lastIndexOf(95);n>0;)if(95!==l[--n])throw new Error("underscore allowed only at start")}(i),!(r.emoji=s>1||t[0].is_emoji)&&i.every((l=>l<128)))!function(l){if(l.length>=4&&45==l[2]&&45==l[3])throw new Error(`invalid label extension: "${cr(l.slice(0,4))}"`)}(i),l="ASCII";else{let n=t.flatMap((l=>l.is_emoji?[]:l));if(n.length){if(Ur.has(i[0]))throw Zr("leading combining mark");for(let l=1;l<s;l++){let n=t[l];if(!n.is_emoji&&Ur.has(n[0]))throw Zr(`emoji + combining mark: "${cr(t[l-1])} + ${zr([n[0]])}"`)}!function(l){let n=l[0],u=Ze.get(n);if(u)throw Zr(`leading ${u}`);let t=l.length,e=-1;for(let r=1;r<t;r++){n=l[r];let t=Ze.get(n);if(t){if(e==r)throw Zr(`${u} + ${t}`);e=r+1,u=t}}if(e==t)throw Zr(`trailing ${u}`)}(i);let u=Ir(new Set(n)),[e]=function(l){let n=_r;for(let u of l){let l=n.filter((l=>Cr(l,u)));if(!l.length)throw _r.some((l=>Cr(l,u)))?Yr(n[0],u):Wr(u);if(n=l,1==l.length)break}return n}(u);!function(l,n){for(let u of n)if(!Cr(l,u))throw Yr(l,u);if(l.M){let l=Tr(n);for(let n=1,u=l.length;n<u;n++)if(Lr.has(l[n])){let t=n+1;for(let e;t<u&&Lr.has(e=l[t]);t++)for(let u=n;u<t;u++)if(l[u]==e)throw new Error(`duplicate non-spacing marks: ${Qr(e)}`);if(t-n>4)throw new Error(`excessive non-spacing marks: ${Jr(zr(l.slice(n-1,t)))} (${t-n}/4)`);n=t}}}(e,n),function(l,n){let u,t=[];for(let l of n){let n=Gr.get(l);if(1===n)return;if(n){let t=n.M.get(l);if(u=u?u.filter((l=>t.has(l))):Ir(t),!u.length)return}else t.push(l)}if(u)for(let n of u)if(t.every((l=>Cr(n,l))))throw new Error(`whole-script confusable: ${l.N}/${n.N}`)}(e,u),l=e.N}else l="Emoji"}r.type=l}catch(l){r.error=l}return r}))}(l,Or,Xr))}function Wr(l){return new Error(`disallowed character: ${Qr(l)}`)}function Yr(l,n){let u=Qr(n),t=_r.find((l=>l.P.has(n)));return t&&(u=`${t.N} ${u}`),new Error(`illegal mixture: ${l.N} + ${u}`)}function Zr(l){return new Error(`illegal placement: ${l}`)}function Xr(l){return l.filter((l=>65039!=l))}function ls(l,n){let u,t=Kr,e=l.length;for(;e&&(t=t.get(l[--e]),t);){let{V:r}=t;r&&(u=r,n&&n.push(...l.slice(e).reverse()),l.length=e)}return u}const ns=new Uint8Array(32);function us(l){return O(0!==l.length,"invalid ENS name; empty component","comp",l),l}function ts(l){const n=dl(function(l){try{if(0===l.length)throw new Error("empty label");return $r(l)}catch(n){O(!1,`invalid ENS name (${n.message})`,"name",l)}}(l)),u=[];if(0===l.length)return u;let t=0;for(let l=0;l<n.length;l++){46===n[l]&&(u.push(us(n.slice(t,l))),t=l+1)}return O(t<n.length,"invalid ENS name; empty component","name",l),u.push(us(n.slice(t))),u}function es(l){O("string"==typeof l,"invalid ENS name; not a string","name",l),O(l.length,"invalid ENS name (empty label)","name",l);let n=ns;const u=ts(l);for(;u.length;)n=gu(G([n,gu(u.pop())]));return M(n)}function rs(l,n){const u=null!=n?n:63;return O(u<=255,"DNS encoded label cannot exceed 255","length",u),M(G(ts(l).map((n=>{O(n.length<=u,`label ${JSON.stringify(l)} exceeds ${u} bytes`,"name",l);const t=new Uint8Array(n.length+1);return t.set(n,1),t[0]=t.length-1,t}))))+"00"}function ss(l,n){return{address:Ne(l),storageKeys:n.map(((l,n)=>(O(L(l,32),"invalid slot",`storageKeys[${n}]`,l),l.toLowerCase())))}}function is(l){if(Array.isArray(l))return l.map(((n,u)=>Array.isArray(n)?(O(2===n.length,"invalid slot set",`value[${u}]`,n),ss(n[0],n[1])):(O(null!=n&&"object"==typeof n,"invalid address-slot set","value",l),ss(n.address,n.storageKeys))));O(null!=l&&"object"==typeof l,"invalid access list","value",l);const n=Object.keys(l).map((n=>{const u=l[n].reduce(((l,n)=>(l[n]=!0,l)),{});return ss(n,Object.keys(u).sort())}));return n.sort(((l,n)=>l.address.localeCompare(n.address))),n}function os(l){let n;return n="string"==typeof l?be.computePublicKey(l,!1):l.publicKey,Ne(gu("0x"+n.substring(4)).substring(26))}function as(l,n){return os(be.recoverPublicKey(l,n))}ns.fill(0);const cs=BigInt(0),hs=BigInt(2),fs=BigInt(27),ds=BigInt(28),ps=BigInt(35),gs=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),ys=131072;function ms(l,n){let u=l.toString(16);for(;u.length<2;)u="0"+u;return u+=et(n).substring(4),"0x"+u}function ws(l){return"0x"===l?null:Ne(l)}function bs(l,n){try{return is(l)}catch(u){O(!1,u.message,n,l)}}function As(l,n){return"0x"===l?0:ll(l,n)}function vs(l,n){if("0x"===l)return cs;const u=W(l,n);return O(u<=gs,"value exceeds uint size",n,u),u}function Es(l,n){const u=W(l,"value"),t=ul(u);return O(t.length<=32,"value too large",`tx.${n}`,u),t}function ks(l){return is(l).map((l=>[l.address,l.storageKeys]))}function xs(l,n){O(Array.isArray(l),`invalid ${n}`,"value",l);for(let n=0;n<l.length;n++)O(L(l[n],32),"invalid ${ param } hash",`value[${n}]`,l[n]);return l}function Ns(l,n){let u;try{if(u=As(n[0],"yParity"),0!==u&&1!==u)throw new Error("bad yParity")}catch(l){O(!1,"invalid yParity","yParity",n[0])}const t=V(n[1],32),e=V(n[2],32),r=we.from({r:t,s:e,yParity:u});l.signature=r}class Ss{#M;#G;#x;#j;#H;#K;#V;#Q;#J;#z;#q;#$;#W;#Y;#Z;#X;get type(){return this.#M}set type(l){switch(l){case null:this.#M=null;break;case 0:case"legacy":this.#M=0;break;case 1:case"berlin":case"eip-2930":this.#M=1;break;case 2:case"london":case"eip-1559":this.#M=2;break;case 3:case"cancun":case"eip-4844":this.#M=3;break;default:O(!1,"unsupported transaction type","type",l)}}get typeName(){switch(this.type){case 0:return"legacy";case 1:return"eip-2930";case 2:return"eip-1559";case 3:return"eip-4844"}return null}get to(){const l=this.#G;return null==l&&3===this.type?oe:l}set to(l){this.#G=null==l?null:Ne(l)}get nonce(){return this.#j}set nonce(l){this.#j=ll(l,"value")}get gasLimit(){return this.#H}set gasLimit(l){this.#H=W(l)}get gasPrice(){const l=this.#K;return null!=l||0!==this.type&&1!==this.type?l:cs}set gasPrice(l){this.#K=null==l?null:W(l,"gasPrice")}get maxPriorityFeePerGas(){const l=this.#V;return null==l?2===this.type||3===this.type?cs:null:l}set maxPriorityFeePerGas(l){this.#V=null==l?null:W(l,"maxPriorityFeePerGas")}get maxFeePerGas(){const l=this.#Q;return null==l?2===this.type||3===this.type?cs:null:l}set maxFeePerGas(l){this.#Q=null==l?null:W(l,"maxFeePerGas")}get data(){return this.#x}set data(l){this.#x=M(l)}get value(){return this.#J}set value(l){this.#J=W(l,"value")}get chainId(){return this.#z}set chainId(l){this.#z=W(l)}get signature(){return this.#q||null}set signature(l){this.#q=null==l?null:we.from(l)}get accessList(){const l=this.#$||null;return null==l?1===this.type||2===this.type||3===this.type?[]:null:l}set accessList(l){this.#$=null==l?null:is(l)}get maxFeePerBlobGas(){const l=this.#W;return null==l&&3===this.type?cs:l}set maxFeePerBlobGas(l){this.#W=null==l?null:W(l,"maxFeePerBlobGas")}get blobVersionedHashes(){let l=this.#Y;return null==l&&3===this.type?[]:l}set blobVersionedHashes(l){if(null!=l){O(Array.isArray(l),"blobVersionedHashes must be an Array","value",l),l=l.slice();for(let n=0;n<l.length;n++)O(L(l[n],32),"invalid blobVersionedHash",`value[${n}]`,l[n])}this.#Y=l}get blobs(){return null==this.#X?null:this.#X.map((l=>Object.assign({},l)))}set blobs(l){if(null==l)return void(this.#X=null);const n=[],u=[];for(let t=0;t<l.length;t++){const e=l[t];if(F(e)){T(this.#Z,"adding a raw blob requires a KZG library","UNSUPPORTED_OPERATION",{operation:"set blobs()"});let l=D(e);if(O(l.length<=ys,"blob is too large",`blobs[${t}]`,e),l.length!==ys){const n=new Uint8Array(ys);n.set(l),l=n}const r=this.#Z.blobToKzgCommitment(l),s=M(this.#Z.computeBlobKzgProof(l,r));n.push({data:M(l),commitment:M(r),proof:s}),u.push(ms(1,r))}else{const l=M(e.commitment);n.push({data:M(e.data),commitment:l,proof:M(e.proof)}),u.push(ms(1,l))}}this.#X=n,this.#Y=u}get kzg(){return this.#Z}set kzg(l){this.#Z=l}constructor(){this.#M=null,this.#G=null,this.#j=0,this.#H=cs,this.#K=null,this.#V=null,this.#Q=null,this.#x="0x",this.#J=cs,this.#z=cs,this.#q=null,this.#$=null,this.#W=null,this.#Y=null,this.#X=null,this.#Z=null}get hash(){return null==this.signature?null:gu(this.#ll(!0,!1))}get unsignedHash(){return gu(this.unsignedSerialized)}get from(){return null==this.signature?null:as(this.unsignedHash,this.signature)}get fromPublicKey(){return null==this.signature?null:be.recoverPublicKey(this.unsignedHash,this.signature)}isSigned(){return null!=this.signature}#ll(l,n){T(!l||null!=this.signature,"cannot serialize unsigned transaction; maybe you meant .unsignedSerialized","UNSUPPORTED_OPERATION",{operation:".serialized"});const u=l?this.signature:null;switch(this.inferType()){case 0:return function(l,n){const u=[Es(l.nonce,"nonce"),Es(l.gasPrice||0,"gasPrice"),Es(l.gasLimit,"gasLimit"),l.to||"0x",Es(l.value,"value"),l.data];let t=cs;if(l.chainId!=cs)t=W(l.chainId,"tx.chainId"),O(!n||null==n.networkV||n.legacyChainId===t,"tx.chainId/sig.v mismatch","sig",n);else if(l.signature){const n=l.signature.legacyChainId;null!=n&&(t=n)}if(!n)return t!==cs&&(u.push(ul(t)),u.push("0x"),u.push("0x")),Fl(u);let e=BigInt(27+n.yParity);return t!==cs?e=we.getChainIdV(t,n.v):BigInt(n.v)!==e&&O(!1,"tx.chainId/sig.v mismatch","sig",n),u.push(ul(e)),u.push(ul(n.r)),u.push(ul(n.s)),Fl(u)}(this,u);case 1:return function(l,n){const u=[Es(l.chainId,"chainId"),Es(l.nonce,"nonce"),Es(l.gasPrice||0,"gasPrice"),Es(l.gasLimit,"gasLimit"),l.to||"0x",Es(l.value,"value"),l.data,ks(l.accessList||[])];return n&&(u.push(Es(n.yParity,"recoveryParam")),u.push(ul(n.r)),u.push(ul(n.s))),G(["0x01",Fl(u)])}(this,u);case 2:return function(l,n){const u=[Es(l.chainId,"chainId"),Es(l.nonce,"nonce"),Es(l.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Es(l.maxFeePerGas||0,"maxFeePerGas"),Es(l.gasLimit,"gasLimit"),l.to||"0x",Es(l.value,"value"),l.data,ks(l.accessList||[])];return n&&(u.push(Es(n.yParity,"yParity")),u.push(ul(n.r)),u.push(ul(n.s))),G(["0x02",Fl(u)])}(this,u);case 3:return function(l,n,u){const t=[Es(l.chainId,"chainId"),Es(l.nonce,"nonce"),Es(l.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Es(l.maxFeePerGas||0,"maxFeePerGas"),Es(l.gasLimit,"gasLimit"),l.to||oe,Es(l.value,"value"),l.data,ks(l.accessList||[]),Es(l.maxFeePerBlobGas||0,"maxFeePerBlobGas"),xs(l.blobVersionedHashes||[],"blobVersionedHashes")];return n&&(t.push(Es(n.yParity,"yParity")),t.push(ul(n.r)),t.push(ul(n.s)),u)?G(["0x03",Fl([t,u.map((l=>l.data)),u.map((l=>l.commitment)),u.map((l=>l.proof))])]):G(["0x03",Fl(t)])}(this,u,n?this.blobs:null)}T(!1,"unsupported transaction type","UNSUPPORTED_OPERATION",{operation:".serialized"})}get serialized(){return this.#ll(!0,!0)}get unsignedSerialized(){return this.#ll(!1,!1)}inferType(){const l=this.inferTypes();return l.indexOf(2)>=0?2:l.pop()}inferTypes(){const l=null!=this.gasPrice,n=null!=this.maxFeePerGas||null!=this.maxPriorityFeePerGas,u=null!=this.accessList,t=null!=this.#W||this.#Y;null!=this.maxFeePerGas&&null!=this.maxPriorityFeePerGas&&T(this.maxFeePerGas>=this.maxPriorityFeePerGas,"priorityFee cannot be more than maxFee","BAD_DATA",{value:this}),T(!n||0!==this.type&&1!==this.type,"transaction type cannot have maxFeePerGas or maxPriorityFeePerGas","BAD_DATA",{value:this}),T(0!==this.type||!u,"legacy transaction cannot have accessList","BAD_DATA",{value:this});const e=[];return null!=this.type?e.push(this.type):n?e.push(2):l?(e.push(1),u||e.push(0)):u?(e.push(1),e.push(2)):(t&&this.to||(e.push(0),e.push(1),e.push(2)),e.push(3)),e.sort(),e}isLegacy(){return 0===this.type}isBerlin(){return 1===this.type}isLondon(){return 2===this.type}isCancun(){return 3===this.type}clone(){return Ss.from(this)}toJSON(){const l=l=>null==l?null:l.toString();return{type:this.type,to:this.to,data:this.data,nonce:this.nonce,gasLimit:l(this.gasLimit),gasPrice:l(this.gasPrice),maxPriorityFeePerGas:l(this.maxPriorityFeePerGas),maxFeePerGas:l(this.maxFeePerGas),value:l(this.value),chainId:l(this.chainId),sig:this.signature?this.signature.toJSON():null,accessList:this.accessList}}static from(l){if(null==l)return new Ss;if("string"==typeof l){const n=D(l);if(n[0]>=127)return Ss.from(function(l){const n=Bl(l);O(Array.isArray(n)&&(9===n.length||6===n.length),"invalid field count for legacy transaction","data",l);const u={type:0,nonce:As(n[0],"nonce"),gasPrice:vs(n[1],"gasPrice"),gasLimit:vs(n[2],"gasLimit"),to:ws(n[3]),value:vs(n[4],"value"),data:M(n[5]),chainId:cs};if(6===n.length)return u;const t=vs(n[6],"v"),e=vs(n[7],"r"),r=vs(n[8],"s");if(e===cs&&r===cs)u.chainId=t;else{let l=(t-ps)/hs;l<cs&&(l=cs),u.chainId=l,O(l!==cs||t===fs||t===ds,"non-canonical legacy v","v",n[6]),u.signature=we.from({r:V(n[7],32),s:V(n[8],32),v:t})}return u}(n));switch(n[0]){case 1:return Ss.from(function(l){const n=Bl(D(l).slice(1));O(Array.isArray(n)&&(8===n.length||11===n.length),"invalid field count for transaction type: 1","data",M(l));const u={type:1,chainId:vs(n[0],"chainId"),nonce:As(n[1],"nonce"),gasPrice:vs(n[2],"gasPrice"),gasLimit:vs(n[3],"gasLimit"),to:ws(n[4]),value:vs(n[5],"value"),data:M(n[6]),accessList:bs(n[7],"accessList")};return 8===n.length||Ns(u,n.slice(8)),u}(n));case 2:return Ss.from(function(l){const n=Bl(D(l).slice(1));O(Array.isArray(n)&&(9===n.length||12===n.length),"invalid field count for transaction type: 2","data",M(l));const u={type:2,chainId:vs(n[0],"chainId"),nonce:As(n[1],"nonce"),maxPriorityFeePerGas:vs(n[2],"maxPriorityFeePerGas"),maxFeePerGas:vs(n[3],"maxFeePerGas"),gasPrice:null,gasLimit:vs(n[4],"gasLimit"),to:ws(n[5]),value:vs(n[6],"value"),data:M(n[7]),accessList:bs(n[8],"accessList")};return 9===n.length||Ns(u,n.slice(9)),u}(n));case 3:return Ss.from(function(l){let n=Bl(D(l).slice(1)),u="3",t=null;if(4===n.length&&Array.isArray(n[0])){u="3 (network format)";const l=n[1],e=n[2],r=n[3];O(Array.isArray(l),"invalid network format: blobs not an array","fields[1]",l),O(Array.isArray(e),"invalid network format: commitments not an array","fields[2]",e),O(Array.isArray(r),"invalid network format: proofs not an array","fields[3]",r),O(l.length===e.length,"invalid network format: blobs/commitments length mismatch","fields",n),O(l.length===r.length,"invalid network format: blobs/proofs length mismatch","fields",n),t=[];for(let u=0;u<n[1].length;u++)t.push({data:l[u],commitment:e[u],proof:r[u]});n=n[0]}O(Array.isArray(n)&&(11===n.length||14===n.length),`invalid field count for transaction type: ${u}`,"data",M(l));const e={type:3,chainId:vs(n[0],"chainId"),nonce:As(n[1],"nonce"),maxPriorityFeePerGas:vs(n[2],"maxPriorityFeePerGas"),maxFeePerGas:vs(n[3],"maxFeePerGas"),gasPrice:null,gasLimit:vs(n[4],"gasLimit"),to:ws(n[5]),value:vs(n[6],"value"),data:M(n[7]),accessList:bs(n[8],"accessList"),maxFeePerBlobGas:vs(n[9],"maxFeePerBlobGas"),blobVersionedHashes:n[10]};t&&(e.blobs=t),O(null!=e.to,`invalid address for transaction type: ${u}`,"data",l),O(Array.isArray(e.blobVersionedHashes),"invalid blobVersionedHashes: must be an array","data",l);for(let n=0;n<e.blobVersionedHashes.length;n++)O(L(e.blobVersionedHashes[n],32),`invalid blobVersionedHash at index ${n}: must be length 32`,"data",l);return 11===n.length||Ns(e,n.slice(11)),e}(n))}T(!1,"unsupported transaction type","UNSUPPORTED_OPERATION",{operation:"from"})}const n=new Ss;return null!=l.type&&(n.type=l.type),null!=l.to&&(n.to=l.to),null!=l.nonce&&(n.nonce=l.nonce),null!=l.gasLimit&&(n.gasLimit=l.gasLimit),null!=l.gasPrice&&(n.gasPrice=l.gasPrice),null!=l.maxPriorityFeePerGas&&(n.maxPriorityFeePerGas=l.maxPriorityFeePerGas),null!=l.maxFeePerGas&&(n.maxFeePerGas=l.maxFeePerGas),null!=l.maxFeePerBlobGas&&(n.maxFeePerBlobGas=l.maxFeePerBlobGas),null!=l.data&&(n.data=l.data),null!=l.value&&(n.value=l.value),null!=l.chainId&&(n.chainId=l.chainId),null!=l.signature&&(n.signature=we.from(l.signature)),null!=l.accessList&&(n.accessList=l.accessList),null!=l.blobVersionedHashes&&(n.blobVersionedHashes=l.blobVersionedHashes),null!=l.kzg&&(n.kzg=l.kzg),null!=l.blobs&&(n.blobs=l.blobs),null!=l.hash&&(O(n.isSigned(),"unsigned transaction cannot define '.hash'","tx",l),O(n.hash===l.hash,"hash mismatch","tx",l)),null!=l.from&&(O(n.isSigned(),"unsigned transaction cannot define '.from'","tx",l),O(n.from.toLowerCase()===(l.from||"").toLowerCase(),"from mismatch","tx",l)),n}}function Ts(l){return"string"==typeof l&&(l=dl(l)),gu(G([dl("Ethereum Signed Message:\n"),dl(String(l.length)),l]))}const Os=new Uint8Array(32);Os.fill(0);const Ps=BigInt(-1),Is=BigInt(0),Cs=BigInt(1),Rs=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const Bs=nl(Cs,32),Ds=nl(Is,32),Us={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},Ls=["name","version","chainId","verifyingContract","salt"];function Fs(l){return function(n){return O("string"==typeof n,`invalid domain value for ${JSON.stringify(l)}`,`domain.${l}`,n),n}}const _s={name:Fs("name"),version:Fs("version"),chainId:function(l){const n=W(l,"domain.chainId");return O(n>=0,"invalid chain ID","domain.chainId",l),Number.isSafeInteger(n)?Number(n):tl(n)},verifyingContract:function(l){try{return Ne(l).toLowerCase()}catch(l){}O(!1,'invalid domain value "verifyingContract"',"domain.verifyingContract",l)},salt:function(l){const n=D(l,"domain.salt");return O(32===n.length,'invalid domain value "salt"',"domain.salt",l),M(n)}};function Ms(l){{const n=l.match(/^(u?)int(\d+)$/);if(n){const u=""===n[1],t=parseInt(n[2]);O(t%8==0&&0!==t&&t<=256&&n[2]===String(t),"invalid numeric width","type",l);const e=$(Rs,u?t-1:t),r=u?(e+Cs)*Ps:Is;return function(n){const t=W(n,"value");return O(t>=r&&t<=e,`value out-of-bounds for ${l}`,"value",t),nl(u?q(t,256):t,32)}}}{const n=l.match(/^bytes(\d+)$/);if(n){const u=parseInt(n[1]);return O(0!==u&&u<=32&&n[1]===String(u),"invalid bytes width","type",l),function(n){return O(D(n).length===u,`invalid length for ${l}`,"value",n),function(l){const n=D(l),u=n.length%32;return u?G([n,Os.slice(u)]):M(n)}(n)}}}switch(l){case"address":return function(l){return V(Ne(l),32)};case"bool":return function(l){return l?Bs:Ds};case"bytes":return function(l){return gu(l)};case"string":return function(l){return Ye(l)}}return null}function Gs(l,n){return`${l}(${n.map((({name:l,type:n})=>n+" "+l)).join(",")})`}function js(l){const n=l.match(/^([^\x5b]*)((\x5b\d*\x5d)*)(\x5b(\d*)\x5d)$/);return n?{base:n[1],index:n[2]+n[4],array:{base:n[1],prefix:n[1]+n[2],count:n[5]?parseInt(n[5]):-1}}:{base:l}}class Hs{primaryType;#nl;get types(){return JSON.parse(this.#nl)}#ul;#tl;constructor(l){this.#ul=new Map,this.#tl=new Map;const n=new Map,u=new Map,t=new Map,e={};Object.keys(l).forEach((r=>{e[r]=l[r].map((({name:n,type:u})=>{let{base:t,index:e}=js(u);return"int"!==t||l.int||(t="int256"),"uint"!==t||l.uint||(t="uint256"),{name:n,type:t+(e||"")}})),n.set(r,new Set),u.set(r,[]),t.set(r,new Set)})),this.#nl=JSON.stringify(e);for(const t in e){const r=new Set;for(const s of e[t]){O(!r.has(s.name),`duplicate variable name ${JSON.stringify(s.name)} in ${JSON.stringify(t)}`,"types",l),r.add(s.name);const e=js(s.type).base;O(e!==t,`circular type reference to ${JSON.stringify(e)}`,"types",l);Ms(e)||(O(u.has(e),`unknown type ${JSON.stringify(e)}`,"types",l),u.get(e).push(t),n.get(t).add(e))}}const r=Array.from(u.keys()).filter((l=>0===u.get(l).length));O(0!==r.length,"missing primary type","types",l),O(1===r.length,`ambiguous primary types or unused types: ${r.map((l=>JSON.stringify(l))).join(", ")}`,"types",l),E(this,{primaryType:r[0]}),function e(r,s){O(!s.has(r),`circular type reference to ${JSON.stringify(r)}`,"types",l),s.add(r);for(const l of n.get(r))if(u.has(l)){e(l,s);for(const n of s)t.get(n).add(l)}s.delete(r)}(this.primaryType,new Set);for(const[l,n]of t){const u=Array.from(n);u.sort(),this.#ul.set(l,Gs(l,e[l])+u.map((l=>Gs(l,e[l]))).join(""))}}getEncoder(l){let n=this.#tl.get(l);return n||(n=this.#el(l),this.#tl.set(l,n)),n}#el(l){{const n=Ms(l);if(n)return n}const n=js(l).array;if(n){const l=n.prefix,u=this.getEncoder(l);return t=>{O(-1===n.count||n.count===t.length,`array length mismatch; expected length ${n.count}`,"value",t);let e=t.map(u);return this.#ul.has(l)&&(e=e.map(gu)),gu(G(e))}}const u=this.types[l];if(u){const n=Ye(this.#ul.get(l));return l=>{const t=u.map((({name:n,type:u})=>{const t=this.getEncoder(u)(l[n]);return this.#ul.has(u)?gu(t):t}));return t.unshift(n),G(t)}}O(!1,`unknown type: ${l}`,"type",l)}encodeType(l){const n=this.#ul.get(l);return O(n,`unknown type: ${JSON.stringify(l)}`,"name",l),n}encodeData(l,n){return this.getEncoder(l)(n)}hashStruct(l,n){return gu(this.encodeData(l,n))}encode(l){return this.encodeData(this.primaryType,l)}hash(l){return this.hashStruct(this.primaryType,l)}_visit(l,n,u){if(Ms(l))return u(l,n);const t=js(l).array;if(t)return O(-1===t.count||t.count===n.length,`array length mismatch; expected length ${t.count}`,"value",n),n.map((l=>this._visit(t.prefix,l,u)));const e=this.types[l];if(e)return e.reduce(((l,{name:t,type:e})=>(l[t]=this._visit(e,n[t],u),l)),{});O(!1,`unknown type: ${l}`,"type",l)}visit(l,n){return this._visit(this.primaryType,l,n)}static from(l){return new Hs(l)}static getPrimaryType(l){return Hs.from(l).primaryType}static hashStruct(l,n,u){return Hs.from(n).hashStruct(l,u)}static hashDomain(l){const n=[];for(const u in l){if(null==l[u])continue;const t=Us[u];O(t,`invalid typed-data domain key: ${JSON.stringify(u)}`,"domain",l),n.push({name:u,type:t})}return n.sort(((l,n)=>Ls.indexOf(l.name)-Ls.indexOf(n.name))),Hs.hashStruct("EIP712Domain",{EIP712Domain:n},l)}static encode(l,n,u){return G(["0x1901",Hs.hashDomain(l),Hs.from(n).hash(u)])}static hash(l,n,u){return gu(Hs.encode(l,n,u))}static async resolveNames(l,n,u,t){l=Object.assign({},l);for(const n in l)null==l[n]&&delete l[n];const e={};l.verifyingContract&&!L(l.verifyingContract,20)&&(e[l.verifyingContract]="0x");const r=Hs.from(n);r.visit(u,((l,n)=>("address"!==l||L(n,20)||(e[n]="0x"),n)));for(const l in e)e[l]=await t(l);return l.verifyingContract&&e[l.verifyingContract]&&(l.verifyingContract=e[l.verifyingContract]),{domain:l,value:u=r.visit(u,((l,n)=>"address"===l&&e[n]?e[n]:n))}}static getPayload(l,n,u){Hs.hashDomain(l);const t={},e=[];Ls.forEach((n=>{const u=l[n];null!=u&&(t[n]=_s[n](u),e.push({name:n,type:Us[n]}))}));const r=Hs.from(n);n=r.types;const s=Object.assign({},n);return O(null==s.EIP712Domain,"types must not contain EIP712Domain type","types.EIP712Domain",n),s.EIP712Domain=e,r.encode(u),{types:s,domain:t,primaryType:r.primaryType,message:r.visit(u,((l,n)=>{if(l.match(/^bytes(\d*)/))return M(D(n));if(l.match(/^u?int/))return W(n).toString();switch(l){case"address":return n.toLowerCase();case"bool":return!!n;case"string":return O("string"==typeof n,"invalid string","value",n),n}O(!1,"unsupported type","type",l)}))}}}function Ks(l){const n=new Set;return l.forEach((l=>n.add(l))),Object.freeze(n)}const Vs=Ks("external public payable override".split(" ")),Qs="constant external internal payable private public pure view override",Js=Ks(Qs.split(" ")),zs="constructor error event fallback function receive struct",qs=Ks(zs.split(" ")),$s="calldata memory storage payable indexed",Ws=Ks($s.split(" ")),Ys=Ks([zs,$s,"tuple returns",Qs].join(" ").split(" ")),Zs={"(":"OPEN_PAREN",")":"CLOSE_PAREN","[":"OPEN_BRACKET","]":"CLOSE_BRACKET",",":"COMMA","@":"AT"},Xs=new RegExp("^(\\s*)"),li=new RegExp("^([0-9]+)"),ni=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)"),ui=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)$"),ti=new RegExp("^(address|bool|bytes([0-9]*)|string|u?int([0-9]*))$");class ei{#T;#rl;get offset(){return this.#T}get length(){return this.#rl.length-this.#T}constructor(l){this.#T=0,this.#rl=l.slice()}clone(){return new ei(this.#rl)}reset(){this.#T=0}#sl(l=0,n=0){return new ei(this.#rl.slice(l,n).map((n=>Object.freeze(Object.assign({},n,{match:n.match-l,linkBack:n.linkBack-l,linkNext:n.linkNext-l})))))}popKeyword(l){const n=this.peek();if("KEYWORD"!==n.type||!l.has(n.text))throw new Error(`expected keyword ${n.text}`);return this.pop().text}popType(l){if(this.peek().type!==l){const n=this.peek();throw new Error(`expected ${l}; got ${n.type} ${JSON.stringify(n.text)}`)}return this.pop().text}popParen(){const l=this.peek();if("OPEN_PAREN"!==l.type)throw new Error("bad start");const n=this.#sl(this.#T+1,l.match+1);return this.#T=l.match+1,n}popParams(){const l=this.peek();if("OPEN_PAREN"!==l.type)throw new Error("bad start");const n=[];for(;this.#T<l.match-1;){const l=this.peek().linkNext;n.push(this.#sl(this.#T+1,l)),this.#T=l}return this.#T=l.match+1,n}peek(){if(this.#T>=this.#rl.length)throw new Error("out-of-bounds");return this.#rl[this.#T]}peekKeyword(l){const n=this.peekType("KEYWORD");return null!=n&&l.has(n)?n:null}peekType(l){if(0===this.length)return null;const n=this.peek();return n.type===l?n.text:null}pop(){const l=this.peek();return this.#T++,l}toString(){const l=[];for(let n=this.#T;n<this.#rl.length;n++){const u=this.#rl[n];l.push(`${u.type}:${u.text}`)}return`<TokenString ${l.join(" ")}>`}}function ri(l){const n=[],u=n=>{const u=r<l.length?JSON.stringify(l[r]):"$EOI";throw new Error(`invalid token ${u} at ${r}: ${n}`)};let t=[],e=[],r=0;for(;r<l.length;){let s=l.substring(r),i=s.match(Xs);i&&(r+=i[1].length,s=l.substring(r));const o={depth:t.length,linkBack:-1,linkNext:-1,match:-1,type:"",text:"",offset:r,value:-1};n.push(o);let a=Zs[s[0]]||"";if(a){if(o.type=a,o.text=s[0],r++,"OPEN_PAREN"===a)t.push(n.length-1),e.push(n.length-1);else if("CLOSE_PAREN"==a)0===t.length&&u("no matching open bracket"),o.match=t.pop(),n[o.match].match=n.length-1,o.depth--,o.linkBack=e.pop(),n[o.linkBack].linkNext=n.length-1;else if("COMMA"===a)o.linkBack=e.pop(),n[o.linkBack].linkNext=n.length-1,e.push(n.length-1);else if("OPEN_BRACKET"===a)o.type="BRACKET";else if("CLOSE_BRACKET"===a){let l=n.pop().text;if(n.length>0&&"NUMBER"===n[n.length-1].type){const u=n.pop().text;l=u+l,n[n.length-1].value=ll(u)}if(0===n.length||"BRACKET"!==n[n.length-1].type)throw new Error("missing opening bracket");n[n.length-1].text+=l}}else if(i=s.match(ni),i){if(o.text=i[1],r+=o.text.length,Ys.has(o.text)){o.type="KEYWORD";continue}if(o.text.match(ti)){o.type="TYPE";continue}o.type="ID"}else{if(i=s.match(li),!i)throw new Error(`unexpected token ${JSON.stringify(s[0])} at position ${r}`);o.text=i[1],o.type="NUMBER",r+=o.text.length}}return new ei(n.map((l=>Object.freeze(l))))}function si(l,n){let u=[];for(const t in n.keys())l.has(t)&&u.push(t);if(u.length>1)throw new Error(`conflicting types: ${u.join(", ")}`)}function ii(l,n){if(n.peekKeyword(qs)){const u=n.pop().text;if(u!==l)throw new Error(`expected ${l}, got ${u}`)}return n.popType("ID")}function oi(l,n){const u=new Set;for(;;){const t=l.peekType("KEYWORD");if(null==t||n&&!n.has(t))break;if(l.pop(),u.has(t))throw new Error(`duplicate keywords: ${JSON.stringify(t)}`);u.add(t)}return Object.freeze(u)}function ai(l){let n=oi(l,Js);return si(n,Ks("constant payable nonpayable".split(" "))),si(n,Ks("pure view payable nonpayable".split(" "))),n.has("view")?"view":n.has("pure")?"pure":n.has("payable")?"payable":n.has("nonpayable")?"nonpayable":n.has("constant")?"view":"nonpayable"}function ci(l,n){return l.popParams().map((l=>xi.from(l,n)))}function hi(l){if(l.peekType("AT")){if(l.pop(),l.peekType("NUMBER"))return W(l.pop().text);throw new Error("invalid gas")}return null}function fi(l){if(l.length)throw new Error(`unexpected tokens at offset ${l.offset}: ${l.toString()}`)}const di=new RegExp(/^(.*)\[([0-9]*)\]$/);function pi(l){const n=l.match(ti);if(O(n,"invalid type","type",l),"uint"===l)return"uint256";if("int"===l)return"int256";if(n[2]){const u=parseInt(n[2]);O(0!==u&&u<=32,"invalid bytes length","type",l)}else if(n[3]){const u=parseInt(n[3]);O(0!==u&&u<=256&&u%8==0,"invalid numeric width","type",l)}return l}const gi={},yi=Symbol.for("_ethers_internal"),mi="_ParamTypeInternal",wi="_ErrorInternal",bi="_EventInternal",Ai="_ConstructorInternal",vi="_FallbackInternal",Ei="_FunctionInternal",ki="_StructInternal";class xi{name;type;baseType;indexed;components;arrayLength;arrayChildren;constructor(l,n,u,t,e,r,s,i){if(R(l,gi,"ParamType"),Object.defineProperty(this,yi,{value:mi}),r&&(r=Object.freeze(r.slice())),"array"===t){if(null==s||null==i)throw new Error("")}else if(null!=s||null!=i)throw new Error("");if("tuple"===t){if(null==r)throw new Error("")}else if(null!=r)throw new Error("");E(this,{name:n,type:u,baseType:t,indexed:e,components:r,arrayLength:s,arrayChildren:i})}format(l){if(null==l&&(l="sighash"),"json"===l){const n=this.name||"";if(this.isArray()){const l=JSON.parse(this.arrayChildren.format("json"));return l.name=n,l.type+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`,JSON.stringify(l)}const u={type:"tuple"===this.baseType?"tuple":this.type,name:n};return"boolean"==typeof this.indexed&&(u.indexed=this.indexed),this.isTuple()&&(u.components=this.components.map((n=>JSON.parse(n.format(l))))),JSON.stringify(u)}let n="";return this.isArray()?(n+=this.arrayChildren.format(l),n+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`):this.isTuple()?n+="("+this.components.map((n=>n.format(l))).join("full"===l?", ":",")+")":n+=this.type,"sighash"!==l&&(!0===this.indexed&&(n+=" indexed"),"full"===l&&this.name&&(n+=" "+this.name)),n}isArray(){return"array"===this.baseType}isTuple(){return"tuple"===this.baseType}isIndexable(){return null!=this.indexed}walk(l,n){if(this.isArray()){if(!Array.isArray(l))throw new Error("invalid array value");if(-1!==this.arrayLength&&l.length!==this.arrayLength)throw new Error("array is wrong length");const u=this;return l.map((l=>u.arrayChildren.walk(l,n)))}if(this.isTuple()){if(!Array.isArray(l))throw new Error("invalid tuple value");if(l.length!==this.components.length)throw new Error("array is wrong length");const u=this;return l.map(((l,t)=>u.components[t].walk(l,n)))}return n(this.type,l)}#il(l,n,u,t){if(this.isArray()){if(!Array.isArray(n))throw new Error("invalid array value");if(-1!==this.arrayLength&&n.length!==this.arrayLength)throw new Error("array is wrong length");const e=this.arrayChildren,r=n.slice();return r.forEach(((n,t)=>{e.#il(l,n,u,(l=>{r[t]=l}))})),void t(r)}if(this.isTuple()){const e=this.components;let r;if(Array.isArray(n))r=n.slice();else{if(null==n||"object"!=typeof n)throw new Error("invalid tuple value");r=e.map((l=>{if(!l.name)throw new Error("cannot use object value with unnamed components");if(!(l.name in n))throw new Error(`missing value for component ${l.name}`);return n[l.name]}))}if(r.length!==this.components.length)throw new Error("array is wrong length");return r.forEach(((n,t)=>{e[t].#il(l,n,u,(l=>{r[t]=l}))})),void t(r)}const e=u(this.type,n);e.then?l.push(async function(){t(await e)}()):t(e)}async walkAsync(l,n){const u=[],t=[l];return this.#il(u,l,n,(l=>{t[0]=l})),u.length&&await Promise.all(u),t[0]}static from(l,n){if(xi.isParamType(l))return l;if("string"==typeof l)try{return xi.from(ri(l),n)}catch(n){O(!1,"invalid param type","obj",l)}else if(l instanceof ei){let u="",t="",e=null;oi(l,Ks(["tuple"])).has("tuple")||l.peekType("OPEN_PAREN")?(t="tuple",e=l.popParams().map((l=>xi.from(l))),u=`tuple(${e.map((l=>l.format())).join(",")})`):(u=pi(l.popType("TYPE")),t=u);let r=null,s=null;for(;l.length&&l.peekType("BRACKET");){const n=l.pop();r=new xi(gi,"",u,t,null,e,s,r),s=n.value,u+=n.text,t="array",e=null}let i=null;if(oi(l,Ws).has("indexed")){if(!n)throw new Error("");i=!0}const o=l.peekType("ID")?l.pop().text:"";if(l.length)throw new Error("leftover tokens");return new xi(gi,o,u,t,i,e,s,r)}const u=l.name;O(!u||"string"==typeof u&&u.match(ui),"invalid name","obj.name",u);let t=l.indexed;null!=t&&(O(n,"parameter cannot be indexed","obj.indexed",l.indexed),t=!!t);let e=l.type,r=e.match(di);if(r){const n=parseInt(r[2]||"-1"),s=xi.from({type:r[1],components:l.components});return new xi(gi,u||"",e,"array",t,null,n,s)}if("tuple"===e||e.startsWith("tuple(")||e.startsWith("(")){const n=null!=l.components?l.components.map((l=>xi.from(l))):null;return new xi(gi,u||"",e,"tuple",t,n,null,null)}return e=pi(l.type),new xi(gi,u||"",e,e,t,null,null,null)}static isParamType(l){return l&&l[yi]===mi}}class Ni{type;inputs;constructor(l,n,u){R(l,gi,"Fragment"),E(this,{type:n,inputs:u=Object.freeze(u.slice())})}static from(l){if("string"==typeof l){try{Ni.from(JSON.parse(l))}catch(l){}return Ni.from(ri(l))}if(l instanceof ei){switch(l.peekKeyword(qs)){case"constructor":return Ii.from(l);case"error":return Oi.from(l);case"event":return Pi.from(l);case"fallback":case"receive":return Ci.from(l);case"function":return Ri.from(l);case"struct":return Bi.from(l)}}else if("object"==typeof l){switch(l.type){case"constructor":return Ii.from(l);case"error":return Oi.from(l);case"event":return Pi.from(l);case"fallback":case"receive":return Ci.from(l);case"function":return Ri.from(l);case"struct":return Bi.from(l)}T(!1,`unsupported type: ${l.type}`,"UNSUPPORTED_OPERATION",{operation:"Fragment.from"})}O(!1,"unsupported frgament object","obj",l)}static isConstructor(l){return Ii.isFragment(l)}static isError(l){return Oi.isFragment(l)}static isEvent(l){return Pi.isFragment(l)}static isFunction(l){return Ri.isFragment(l)}static isStruct(l){return Bi.isFragment(l)}}class Si extends Ni{name;constructor(l,n,u,t){super(l,n,t),O("string"==typeof u&&u.match(ui),"invalid identifier","name",u),t=Object.freeze(t.slice()),E(this,{name:u})}}function Ti(l,n){return"("+n.map((n=>n.format(l))).join("full"===l?", ":",")+")"}class Oi extends Si{constructor(l,n,u){super(l,"error",n,u),Object.defineProperty(this,yi,{value:wi})}get selector(){return Ye(this.format("sighash")).substring(0,10)}format(l){if(null==l&&(l="sighash"),"json"===l)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((n=>JSON.parse(n.format(l))))});const n=[];return"sighash"!==l&&n.push("error"),n.push(this.name+Ti(l,this.inputs)),n.join(" ")}static from(l){if(Oi.isFragment(l))return l;if("string"==typeof l)return Oi.from(ri(l));if(l instanceof ei){const n=ii("error",l),u=ci(l);return fi(l),new Oi(gi,n,u)}return new Oi(gi,l.name,l.inputs?l.inputs.map(xi.from):[])}static isFragment(l){return l&&l[yi]===wi}}class Pi extends Si{anonymous;constructor(l,n,u,t){super(l,"event",n,u),Object.defineProperty(this,yi,{value:bi}),E(this,{anonymous:t})}get topicHash(){return Ye(this.format("sighash"))}format(l){if(null==l&&(l="sighash"),"json"===l)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((n=>JSON.parse(n.format(l))))});const n=[];return"sighash"!==l&&n.push("event"),n.push(this.name+Ti(l,this.inputs)),"sighash"!==l&&this.anonymous&&n.push("anonymous"),n.join(" ")}static getTopicHash(l,n){n=(n||[]).map((l=>xi.from(l)));return new Pi(gi,l,n,!1).topicHash}static from(l){if(Pi.isFragment(l))return l;if("string"==typeof l)try{return Pi.from(ri(l))}catch(n){O(!1,"invalid event fragment","obj",l)}else if(l instanceof ei){const n=ii("event",l),u=ci(l,!0),t=!!oi(l,Ks(["anonymous"])).has("anonymous");return fi(l),new Pi(gi,n,u,t)}return new Pi(gi,l.name,l.inputs?l.inputs.map((l=>xi.from(l,!0))):[],!!l.anonymous)}static isFragment(l){return l&&l[yi]===bi}}class Ii extends Ni{payable;gas;constructor(l,n,u,t,e){super(l,n,u),Object.defineProperty(this,yi,{value:Ai}),E(this,{payable:t,gas:e})}format(l){if(T(null!=l&&"sighash"!==l,"cannot format a constructor for sighash","UNSUPPORTED_OPERATION",{operation:"format(sighash)"}),"json"===l)return JSON.stringify({type:"constructor",stateMutability:this.payable?"payable":"undefined",payable:this.payable,gas:null!=this.gas?this.gas:void 0,inputs:this.inputs.map((n=>JSON.parse(n.format(l))))});const n=[`constructor${Ti(l,this.inputs)}`];return this.payable&&n.push("payable"),null!=this.gas&&n.push(`@${this.gas.toString()}`),n.join(" ")}static from(l){if(Ii.isFragment(l))return l;if("string"==typeof l)try{return Ii.from(ri(l))}catch(n){O(!1,"invalid constuctor fragment","obj",l)}else if(l instanceof ei){oi(l,Ks(["constructor"]));const n=ci(l),u=!!oi(l,Vs).has("payable"),t=hi(l);return fi(l),new Ii(gi,"constructor",n,u,t)}return new Ii(gi,"constructor",l.inputs?l.inputs.map(xi.from):[],!!l.payable,null!=l.gas?l.gas:null)}static isFragment(l){return l&&l[yi]===Ai}}class Ci extends Ni{payable;constructor(l,n,u){super(l,"fallback",n),Object.defineProperty(this,yi,{value:vi}),E(this,{payable:u})}format(l){const n=0===this.inputs.length?"receive":"fallback";if("json"===l){const l=this.payable?"payable":"nonpayable";return JSON.stringify({type:n,stateMutability:l})}return`${n}()${this.payable?" payable":""}`}static from(l){if(Ci.isFragment(l))return l;if("string"==typeof l)try{return Ci.from(ri(l))}catch(n){O(!1,"invalid fallback fragment","obj",l)}else if(l instanceof ei){const n=l.toString();O(l.peekKeyword(Ks(["fallback","receive"])),"type must be fallback or receive","obj",n);if("receive"===l.popKeyword(Ks(["fallback","receive"]))){const n=ci(l);return O(0===n.length,"receive cannot have arguments","obj.inputs",n),oi(l,Ks(["payable"])),fi(l),new Ci(gi,[],!0)}let u=ci(l);u.length?O(1===u.length&&"bytes"===u[0].type,"invalid fallback inputs","obj.inputs",u.map((l=>l.format("minimal"))).join(", ")):u=[xi.from("bytes")];const t=ai(l);if(O("nonpayable"===t||"payable"===t,"fallback cannot be constants","obj.stateMutability",t),oi(l,Ks(["returns"])).has("returns")){const n=ci(l);O(1===n.length&&"bytes"===n[0].type,"invalid fallback outputs","obj.outputs",n.map((l=>l.format("minimal"))).join(", "))}return fi(l),new Ci(gi,u,"payable"===t)}if("receive"===l.type)return new Ci(gi,[],!0);if("fallback"===l.type){const n=[xi.from("bytes")],u="payable"===l.stateMutability;return new Ci(gi,n,u)}O(!1,"invalid fallback description","obj",l)}static isFragment(l){return l&&l[yi]===vi}}class Ri extends Si{constant;outputs;stateMutability;payable;gas;constructor(l,n,u,t,e,r){super(l,"function",n,t),Object.defineProperty(this,yi,{value:Ei});E(this,{constant:"view"===u||"pure"===u,gas:r,outputs:e=Object.freeze(e.slice()),payable:"payable"===u,stateMutability:u})}get selector(){return Ye(this.format("sighash")).substring(0,10)}format(l){if(null==l&&(l="sighash"),"json"===l)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:null!=this.gas?this.gas:void 0,inputs:this.inputs.map((n=>JSON.parse(n.format(l)))),outputs:this.outputs.map((n=>JSON.parse(n.format(l))))});const n=[];return"sighash"!==l&&n.push("function"),n.push(this.name+Ti(l,this.inputs)),"sighash"!==l&&("nonpayable"!==this.stateMutability&&n.push(this.stateMutability),this.outputs&&this.outputs.length&&(n.push("returns"),n.push(Ti(l,this.outputs))),null!=this.gas&&n.push(`@${this.gas.toString()}`)),n.join(" ")}static getSelector(l,n){n=(n||[]).map((l=>xi.from(l)));return new Ri(gi,l,"view",n,[],null).selector}static from(l){if(Ri.isFragment(l))return l;if("string"==typeof l)try{return Ri.from(ri(l))}catch(n){O(!1,"invalid function fragment","obj",l)}else if(l instanceof ei){const n=ii("function",l),u=ci(l),t=ai(l);let e=[];oi(l,Ks(["returns"])).has("returns")&&(e=ci(l));const r=hi(l);return fi(l),new Ri(gi,n,t,u,e,r)}let n=l.stateMutability;return null==n&&(n="payable","boolean"==typeof l.constant?(n="view",l.constant||(n="payable","boolean"!=typeof l.payable||l.payable||(n="nonpayable"))):"boolean"!=typeof l.payable||l.payable||(n="nonpayable")),new Ri(gi,l.name,n,l.inputs?l.inputs.map(xi.from):[],l.outputs?l.outputs.map(xi.from):[],null!=l.gas?l.gas:null)}static isFragment(l){return l&&l[yi]===Ei}}class Bi extends Si{constructor(l,n,u){super(l,"struct",n,u),Object.defineProperty(this,yi,{value:ki})}format(){throw new Error("@TODO")}static from(l){if("string"==typeof l)try{return Bi.from(ri(l))}catch(n){O(!1,"invalid struct fragment","obj",l)}else if(l instanceof ei){const n=ii("struct",l),u=ci(l);return fi(l),new Bi(gi,n,u)}return new Bi(gi,l.name,l.inputs?l.inputs.map(xi.from):[])}static isFragment(l){return l&&l[yi]===ki}}const Di=new Map;Di.set(0,"GENERIC_PANIC"),Di.set(1,"ASSERT_FALSE"),Di.set(17,"OVERFLOW"),Di.set(18,"DIVIDE_BY_ZERO"),Di.set(33,"ENUM_RANGE_ERROR"),Di.set(34,"BAD_STORAGE_DATA"),Di.set(49,"STACK_UNDERFLOW"),Di.set(50,"ARRAY_RANGE_ERROR"),Di.set(65,"OUT_OF_MEMORY"),Di.set(81,"UNINITIALIZED_FUNCTION_CALL");const Ui=new RegExp(/^bytes([0-9]*)$/),Li=new RegExp(/^(u?int)([0-9]*)$/);let Fi=null,_i=1024;class Mi{#ol(l){if(l.isArray())return new _e(this.#ol(l.arrayChildren),l.arrayLength,l.name);if(l.isTuple())return new We(l.components.map((l=>this.#ol(l))),l.name);switch(l.baseType){case"address":return new De(l.name);case"bool":return new Me(l.name);case"string":return new $e(l.name);case"bytes":return new je(l.name);case"":return new Ve(l.name)}let n=l.type.match(Li);if(n){let u=parseInt(n[2]||"256");return O(0!==u&&u<=256&&u%8==0,"invalid "+n[1]+" bit length","param",l),new qe(u/8,"int"===n[1],l.name)}if(n=l.type.match(Ui),n){let u=parseInt(n[1]);return O(0!==u&&u<=32,"invalid bytes length","param",l),new He(u,l.name)}O(!1,"invalid type","type",l.type)}getDefaultValue(l){const n=l.map((l=>this.#ol(xi.from(l))));return new We(n,"_").defaultValue()}encode(l,n){P(n.length,l.length,"types/values length mismatch");const u=l.map((l=>this.#ol(xi.from(l)))),t=new We(u,"_"),e=new Yl;return t.encode(e,n),e.data}decode(l,n,u){const t=l.map((l=>this.#ol(xi.from(l))));return new We(t,"_").decode(new Zl(n,u,_i))}static _setDefaultMaxInflation(l){O("number"==typeof l&&Number.isInteger(l),"invalid defaultMaxInflation factor","value",l),_i=l}static defaultAbiCoder(){return null==Fi&&(Fi=new Mi),Fi}static getBuiltinCallException(l,n,u){return function(l,n,u,t){let e="missing revert data",r=null,s=null;if(u){e="execution reverted";const l=D(u);if(u=M(u),0===l.length)e+=" (no data present; likely require(false) occurred",r="require(false)";else if(l.length%32!=4)e+=" (could not decode reason; invalid data length)";else if("0x08c379a0"===M(l.slice(0,4)))try{r=t.decode(["string"],l.slice(4))[0],s={signature:"Error(string)",name:"Error",args:[r]},e+=`: ${JSON.stringify(r)}`}catch(l){e+=" (could not decode reason; invalid string data)"}else if("0x4e487b71"===M(l.slice(0,4)))try{const n=Number(t.decode(["uint256"],l.slice(4))[0]);s={signature:"Panic(uint256)",name:"Panic",args:[n]},r=`Panic due to ${Di.get(n)||"UNKNOWN"}(${n})`,e+=`: ${r}`}catch(l){e+=" (could not decode panic code)"}else e+=" (unknown custom error)"}const i={to:n.to?Ne(n.to):null,data:n.data||"0x"};return n.from&&(i.from=Ne(n.from)),S(e,"CALL_EXCEPTION",{action:l,data:u,reason:r,transaction:i,invocation:null,revert:s})}(l,n,u,Mi.defaultAbiCoder())}}class Gi{fragment;name;signature;topic;args;constructor(l,n,u){const t=l.name,e=l.format();E(this,{fragment:l,name:t,signature:e,topic:n,args:u})}}class ji{fragment;name;args;signature;selector;value;constructor(l,n,u,t){const e=l.name,r=l.format();E(this,{fragment:l,name:e,args:u,signature:r,selector:n,value:t})}}class Hi{fragment;name;args;signature;selector;constructor(l,n,u){const t=l.name,e=l.format();E(this,{fragment:l,name:t,args:u,signature:e,selector:n})}}class Ki{hash;_isIndexed;static isIndexed(l){return!(!l||!l._isIndexed)}constructor(l){E(this,{hash:l,_isIndexed:!0})}}const Vi={0:"generic panic",1:"assert(false)",17:"arithmetic overflow",18:"division or modulo by zero",33:"enum overflow",34:"invalid encoded storage byte array accessed",49:"out-of-bounds array access; popping on an empty array",50:"out-of-bounds access of an array or bytesN",65:"out of memory",81:"uninitialized function"},Qi={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:l=>`reverted with reason string ${JSON.stringify(l)}`},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"],reason:l=>{let n="unknown panic code";return l>=0&&l<=255&&Vi[l.toString()]&&(n=Vi[l.toString()]),`reverted with panic code 0x${l.toString(16)} (${n})`}}};class Ji{fragments;deploy;fallback;receive;#al;#cl;#hl;#fl;constructor(l){let n=[];n="string"==typeof l?JSON.parse(l):l,this.#hl=new Map,this.#al=new Map,this.#cl=new Map;const u=[];for(const l of n)try{u.push(Ni.from(l))}catch(n){console.log(`[Warning] Invalid Fragment ${JSON.stringify(l)}:`,n.message)}E(this,{fragments:Object.freeze(u)});let t=null,e=!1;this.#fl=this.getAbiCoder(),this.fragments.forEach(((l,n)=>{let u;switch(l.type){case"constructor":return this.deploy?void console.log("duplicate definition - constructor"):void E(this,{deploy:l});case"fallback":return void(0===l.inputs.length?e=!0:(O(!t||l.payable!==t.payable,"conflicting fallback fragments",`fragments[${n}]`,l),t=l,e=t.payable));case"function":u=this.#hl;break;case"event":u=this.#cl;break;case"error":u=this.#al;break;default:return}const r=l.format();u.has(r)||u.set(r,l)})),this.deploy||E(this,{deploy:Ii.from("constructor()")}),E(this,{fallback:t,receive:e})}format(l){const n=l?"minimal":"full",u=this.fragments.map((l=>l.format(n)));return u}formatJson(){const l=this.fragments.map((l=>l.format("json")));return JSON.stringify(l.map((l=>JSON.parse(l))))}getAbiCoder(){return Mi.defaultAbiCoder()}#dl(l,n,u){if(L(l)){const n=l.toLowerCase();for(const l of this.#hl.values())if(n===l.selector)return l;return null}if(-1===l.indexOf("(")){const t=[];for(const[n,u]of this.#hl)n.split("(")[0]===l&&t.push(u);if(n){const l=n.length>0?n[n.length-1]:null;let u=n.length,e=!0;Be.isTyped(l)&&"overrides"===l.type&&(e=!1,u--);for(let l=t.length-1;l>=0;l--){const n=t[l].inputs.length;n===u||e&&n===u-1||t.splice(l,1)}for(let l=t.length-1;l>=0;l--){const u=t[l].inputs;for(let e=0;e<n.length;e++)if(Be.isTyped(n[e])){if(e>=u.length){if("overrides"===n[e].type)continue;t.splice(l,1);break}if(n[e].type!==u[e].baseType){t.splice(l,1);break}}}}if(1===t.length&&n&&n.length!==t[0].inputs.length){const l=n[n.length-1];(null==l||Array.isArray(l)||"object"!=typeof l)&&t.splice(0,1)}if(0===t.length)return null;if(t.length>1&&u){O(!1,`ambiguous function description (i.e. matches ${t.map((l=>JSON.stringify(l.format()))).join(", ")})`,"key",l)}return t[0]}const t=this.#hl.get(Ri.from(l).format());return t||null}getFunctionName(l){const n=this.#dl(l,null,!1);return O(n,"no matching function","key",l),n.name}hasFunction(l){return!!this.#dl(l,null,!1)}getFunction(l,n){return this.#dl(l,n||null,!0)}forEachFunction(l){const n=Array.from(this.#hl.keys());n.sort(((l,n)=>l.localeCompare(n)));for(let u=0;u<n.length;u++){const t=n[u];l(this.#hl.get(t),u)}}#pl(l,n,u){if(L(l)){const n=l.toLowerCase();for(const l of this.#cl.values())if(n===l.topicHash)return l;return null}if(-1===l.indexOf("(")){const t=[];for(const[n,u]of this.#cl)n.split("(")[0]===l&&t.push(u);if(n){for(let l=t.length-1;l>=0;l--)t[l].inputs.length<n.length&&t.splice(l,1);for(let l=t.length-1;l>=0;l--){const u=t[l].inputs;for(let e=0;e<n.length;e++)if(Be.isTyped(n[e])&&n[e].type!==u[e].baseType){t.splice(l,1);break}}}if(0===t.length)return null;if(t.length>1&&u){O(!1,`ambiguous event description (i.e. matches ${t.map((l=>JSON.stringify(l.format()))).join(", ")})`,"key",l)}return t[0]}const t=this.#cl.get(Pi.from(l).format());return t||null}getEventName(l){const n=this.#pl(l,null,!1);return O(n,"no matching event","key",l),n.name}hasEvent(l){return!!this.#pl(l,null,!1)}getEvent(l,n){return this.#pl(l,n||null,!0)}forEachEvent(l){const n=Array.from(this.#cl.keys());n.sort(((l,n)=>l.localeCompare(n)));for(let u=0;u<n.length;u++){const t=n[u];l(this.#cl.get(t),u)}}getError(l,n){if(L(l)){const n=l.toLowerCase();if(Qi[n])return Oi.from(Qi[n].signature);for(const l of this.#al.values())if(n===l.selector)return l;return null}if(-1===l.indexOf("(")){const n=[];for(const[u,t]of this.#al)u.split("(")[0]===l&&n.push(t);if(0===n.length)return"Error"===l?Oi.from("error Error(string)"):"Panic"===l?Oi.from("error Panic(uint256)"):null;if(n.length>1){O(!1,`ambiguous error description (i.e. ${n.map((l=>JSON.stringify(l.format()))).join(", ")})`,"name",l)}return n[0]}if("Error(string)"===(l=Oi.from(l).format()))return Oi.from("error Error(string)");if("Panic(uint256)"===l)return Oi.from("error Panic(uint256)");const u=this.#al.get(l);return u||null}forEachError(l){const n=Array.from(this.#al.keys());n.sort(((l,n)=>l.localeCompare(n)));for(let u=0;u<n.length;u++){const t=n[u];l(this.#al.get(t),u)}}_decodeParams(l,n){return this.#fl.decode(l,n)}_encodeParams(l,n){return this.#fl.encode(l,n)}encodeDeploy(l){return this._encodeParams(this.deploy.inputs,l||[])}decodeErrorResult(l,n){if("string"==typeof l){const n=this.getError(l);O(n,"unknown error","fragment",l),l=n}return O(H(n,0,4)===l.selector,`data signature does not match error ${l.name}.`,"data",n),this._decodeParams(l.inputs,H(n,4))}encodeErrorResult(l,n){if("string"==typeof l){const n=this.getError(l);O(n,"unknown error","fragment",l),l=n}return G([l.selector,this._encodeParams(l.inputs,n||[])])}decodeFunctionData(l,n){if("string"==typeof l){const n=this.getFunction(l);O(n,"unknown function","fragment",l),l=n}return O(H(n,0,4)===l.selector,`data signature does not match function ${l.name}.`,"data",n),this._decodeParams(l.inputs,H(n,4))}encodeFunctionData(l,n){if("string"==typeof l){const n=this.getFunction(l);O(n,"unknown function","fragment",l),l=n}return G([l.selector,this._encodeParams(l.inputs,n||[])])}decodeFunctionResult(l,n){if("string"==typeof l){const n=this.getFunction(l);O(n,"unknown function","fragment",l),l=n}let u="invalid length for result data";const t=U(n);if(t.length%32==0)try{return this.#fl.decode(l.outputs,t)}catch(l){u="could not decode result data"}T(!1,u,"BAD_DATA",{value:M(t),info:{method:l.name,signature:l.format()}})}makeError(l,n){const u=D(l,"data"),t=Mi.getBuiltinCallException("call",n,u);if(t.message.startsWith("execution reverted (unknown custom error)")){const l=M(u.slice(0,4)),n=this.getError(l);if(n)try{const l=this.#fl.decode(n.inputs,u.slice(4));t.revert={name:n.name,signature:n.format(),args:l},t.reason=t.revert.signature,t.message=`execution reverted: ${t.reason}`}catch(l){t.message="execution reverted (coult not decode custom error)"}}const e=this.parseTransaction(n);return e&&(t.invocation={method:e.name,signature:e.signature,args:e.args}),t}encodeFunctionResult(l,n){if("string"==typeof l){const n=this.getFunction(l);O(n,"unknown function","fragment",l),l=n}return M(this.#fl.encode(l.outputs,n||[]))}encodeFilterTopics(l,n){if("string"==typeof l){const n=this.getEvent(l);O(n,"unknown event","eventFragment",l),l=n}T(n.length<=l.inputs.length,`too many arguments for ${l.format()}`,"UNEXPECTED_ARGUMENT",{count:n.length,expectedCount:l.inputs.length});const u=[];l.anonymous||u.push(l.topicHash);const t=(l,n)=>"string"===l.type?Ye(n):"bytes"===l.type?gu(M(n)):("bool"===l.type&&"boolean"==typeof n?n=n?"0x01":"0x00":l.type.match(/^u?int/)?n=nl(n):l.type.match(/^bytes/)?n=K(n,32,!1):"address"===l.type&&this.#fl.encode(["address"],[n]),V(M(n),32));for(n.forEach(((n,e)=>{const r=l.inputs[e];r.indexed?null==n?u.push(null):"array"===r.baseType||"tuple"===r.baseType?O(!1,"filtering with tuples or arrays not supported","contract."+r.name,n):Array.isArray(n)?u.push(n.map((l=>t(r,l)))):u.push(t(r,n)):O(null==n,"cannot filter non-indexed parameters; must be null","contract."+r.name,n)}));u.length&&null===u[u.length-1];)u.pop();return u}encodeEventLog(l,n){if("string"==typeof l){const n=this.getEvent(l);O(n,"unknown event","eventFragment",l),l=n}const u=[],t=[],e=[];return l.anonymous||u.push(l.topicHash),O(n.length===l.inputs.length,"event arguments/values mismatch","values",n),l.inputs.forEach(((l,r)=>{const s=n[r];if(l.indexed)if("string"===l.type)u.push(Ye(s));else if("bytes"===l.type)u.push(gu(s));else{if("tuple"===l.baseType||"array"===l.baseType)throw new Error("not implemented");u.push(this.#fl.encode([l.type],[s]))}else t.push(l),e.push(s)})),{data:this.#fl.encode(t,e),topics:u}}decodeEventLog(l,n,u){if("string"==typeof l){const n=this.getEvent(l);O(n,"unknown event","eventFragment",l),l=n}if(null!=u&&!l.anonymous){const n=l.topicHash;O(L(u[0],32)&&u[0].toLowerCase()===n,"fragment/topic mismatch","topics[0]",u[0]),u=u.slice(1)}const t=[],e=[],r=[];l.inputs.forEach(((l,n)=>{l.indexed?"string"===l.type||"bytes"===l.type||"tuple"===l.baseType||"array"===l.baseType?(t.push(xi.from({type:"bytes32",name:l.name})),r.push(!0)):(t.push(l),r.push(!1)):(e.push(l),r.push(!1))}));const s=null!=u?this.#fl.decode(t,G(u)):null,i=this.#fl.decode(e,n,!0),o=[],a=[];let c=0,h=0;return l.inputs.forEach(((l,n)=>{let u=null;if(l.indexed)if(null==s)u=new Ki(null);else if(r[n])u=new Ki(s[h++]);else try{u=s[h++]}catch(l){u=l}else try{u=i[c++]}catch(l){u=l}o.push(u),a.push(l.name||null)})),ql.fromItems(o,a)}parseTransaction(l){const n=D(l.data,"tx.data"),u=W(null!=l.value?l.value:0,"tx.value"),t=this.getFunction(M(n.slice(0,4)));if(!t)return null;const e=this.#fl.decode(t.inputs,n.slice(4));return new ji(t,t.selector,e,u)}parseCallResult(l){throw new Error("@TODO")}parseLog(l){const n=this.getEvent(l.topics[0]);return!n||n.anonymous?null:new Gi(n,n.topicHash,this.decodeEventLog(n,l.data,l.topics))}parseError(l){const n=M(l),u=this.getError(H(n,0,4));if(!u)return null;const t=this.#fl.decode(u.inputs,H(n,4));return new Hi(u,u.selector,t)}static from(l){return l instanceof Ji?l:"string"==typeof l?new Ji(JSON.parse(l)):"function"==typeof l.formatJson?new Ji(l.formatJson()):"function"==typeof l.format?new Ji(l.format("json")):new Ji(l)}}const zi=BigInt(0);function qi(l){return null==l?null:l}function $i(l){return null==l?null:l.toString()}class Wi{gasPrice;maxFeePerGas;maxPriorityFeePerGas;constructor(l,n,u){E(this,{gasPrice:qi(l),maxFeePerGas:qi(n),maxPriorityFeePerGas:qi(u)})}toJSON(){const{gasPrice:l,maxFeePerGas:n,maxPriorityFeePerGas:u}=this;return{_type:"FeeData",gasPrice:$i(l),maxFeePerGas:$i(n),maxPriorityFeePerGas:$i(u)}}}function Yi(l){const n={};l.to&&(n.to=l.to),l.from&&(n.from=l.from),l.data&&(n.data=M(l.data));const u="chainId,gasLimit,gasPrice,maxFeePerBlobGas,maxFeePerGas,maxPriorityFeePerGas,value".split(/,/);for(const t of u)t in l&&null!=l[t]&&(n[t]=W(l[t],`request.${t}`));const t="type,nonce".split(/,/);for(const u of t)u in l&&null!=l[u]&&(n[u]=ll(l[u],`request.${u}`));return l.accessList&&(n.accessList=is(l.accessList)),"blockTag"in l&&(n.blockTag=l.blockTag),"enableCcipRead"in l&&(n.enableCcipRead=!!l.enableCcipRead),"customData"in l&&(n.customData=l.customData),"blobVersionedHashes"in l&&l.blobVersionedHashes&&(n.blobVersionedHashes=l.blobVersionedHashes.slice()),"kzg"in l&&(n.kzg=l.kzg),"blobs"in l&&l.blobs&&(n.blobs=l.blobs.map((l=>F(l)?M(l):Object.assign({},l)))),n}class Zi{provider;number;hash;timestamp;parentHash;parentBeaconBlockRoot;nonce;difficulty;gasLimit;gasUsed;stateRoot;receiptsRoot;blobGasUsed;excessBlobGas;miner;prevRandao;extraData;baseFeePerGas;#gl;constructor(l,n){this.#gl=l.transactions.map((l=>"string"!=typeof l?new no(l,n):l)),E(this,{provider:n,hash:qi(l.hash),number:l.number,timestamp:l.timestamp,parentHash:l.parentHash,parentBeaconBlockRoot:l.parentBeaconBlockRoot,nonce:l.nonce,difficulty:l.difficulty,gasLimit:l.gasLimit,gasUsed:l.gasUsed,blobGasUsed:l.blobGasUsed,excessBlobGas:l.excessBlobGas,miner:l.miner,prevRandao:qi(l.prevRandao),extraData:l.extraData,baseFeePerGas:qi(l.baseFeePerGas),stateRoot:l.stateRoot,receiptsRoot:l.receiptsRoot})}get transactions(){return this.#gl.map((l=>"string"==typeof l?l:l.hash))}get prefetchedTransactions(){const l=this.#gl.slice();return 0===l.length?[]:(T("object"==typeof l[0],"transactions were not prefetched with block request","UNSUPPORTED_OPERATION",{operation:"transactionResponses()"}),l)}toJSON(){const{baseFeePerGas:l,difficulty:n,extraData:u,gasLimit:t,gasUsed:e,hash:r,miner:s,prevRandao:i,nonce:o,number:a,parentHash:c,parentBeaconBlockRoot:h,stateRoot:f,receiptsRoot:d,timestamp:p,transactions:g}=this;return{_type:"Block",baseFeePerGas:$i(l),difficulty:$i(n),extraData:u,gasLimit:$i(t),gasUsed:$i(e),blobGasUsed:$i(this.blobGasUsed),excessBlobGas:$i(this.excessBlobGas),hash:r,miner:s,prevRandao:i,nonce:o,number:a,parentHash:c,timestamp:p,parentBeaconBlockRoot:h,stateRoot:f,receiptsRoot:d,transactions:g}}[Symbol.iterator](){let l=0;const n=this.transactions;return{next:()=>l<this.length?{value:n[l++],done:!1}:{value:void 0,done:!0}}}get length(){return this.#gl.length}get date(){return null==this.timestamp?null:new Date(1e3*this.timestamp)}async getTransaction(l){let n;if("number"==typeof l)n=this.#gl[l];else{const u=l.toLowerCase();for(const l of this.#gl){if("string"==typeof l){if(l!==u)continue;n=l;break}if(l.hash!==u){n=l;break}}}if(null==n)throw new Error("no such tx");return"string"==typeof n?await this.provider.getTransaction(n):n}getPrefetchedTransaction(l){const n=this.prefetchedTransactions;if("number"==typeof l)return n[l];l=l.toLowerCase();for(const u of n)if(u.hash===l)return u;O(!1,"no matching transaction","indexOrHash",l)}isMined(){return!!this.hash}isLondon(){return!!this.baseFeePerGas}orphanedEvent(){if(!this.isMined())throw new Error("");return{orphan:"drop-block",hash:(l=this).hash,number:l.number};var l}}class Xi{provider;transactionHash;blockHash;blockNumber;removed;address;data;topics;index;transactionIndex;constructor(l,n){this.provider=n;const u=Object.freeze(l.topics.slice());E(this,{transactionHash:l.transactionHash,blockHash:l.blockHash,blockNumber:l.blockNumber,removed:l.removed,address:l.address,data:l.data,topics:u,index:l.index,transactionIndex:l.transactionIndex})}toJSON(){const{address:l,blockHash:n,blockNumber:u,data:t,index:e,removed:r,topics:s,transactionHash:i,transactionIndex:o}=this;return{_type:"log",address:l,blockHash:n,blockNumber:u,data:t,index:e,removed:r,topics:s,transactionHash:i,transactionIndex:o}}async getBlock(){const l=await this.provider.getBlock(this.blockHash);return T(!!l,"failed to find transaction","UNKNOWN_ERROR",{}),l}async getTransaction(){const l=await this.provider.getTransaction(this.transactionHash);return T(!!l,"failed to find transaction","UNKNOWN_ERROR",{}),l}async getTransactionReceipt(){const l=await this.provider.getTransactionReceipt(this.transactionHash);return T(!!l,"failed to find transaction receipt","UNKNOWN_ERROR",{}),l}removedEvent(){return{orphan:"drop-log",log:{transactionHash:(l=this).transactionHash,blockHash:l.blockHash,blockNumber:l.blockNumber,address:l.address,data:l.data,topics:Object.freeze(l.topics.slice()),index:l.index}};var l}}class lo{provider;to;from;contractAddress;hash;index;blockHash;blockNumber;logsBloom;gasUsed;blobGasUsed;cumulativeGasUsed;gasPrice;blobGasPrice;type;status;root;#yl;constructor(l,n){this.#yl=Object.freeze(l.logs.map((l=>new Xi(l,n))));let u=zi;null!=l.effectiveGasPrice?u=l.effectiveGasPrice:null!=l.gasPrice&&(u=l.gasPrice),E(this,{provider:n,to:l.to,from:l.from,contractAddress:l.contractAddress,hash:l.hash,index:l.index,blockHash:l.blockHash,blockNumber:l.blockNumber,logsBloom:l.logsBloom,gasUsed:l.gasUsed,cumulativeGasUsed:l.cumulativeGasUsed,blobGasUsed:l.blobGasUsed,gasPrice:u,blobGasPrice:l.blobGasPrice,type:l.type,status:l.status,root:l.root})}get logs(){return this.#yl}toJSON(){const{to:l,from:n,contractAddress:u,hash:t,index:e,blockHash:r,blockNumber:s,logsBloom:i,logs:o,status:a,root:c}=this;return{_type:"TransactionReceipt",blockHash:r,blockNumber:s,contractAddress:u,cumulativeGasUsed:$i(this.cumulativeGasUsed),from:n,gasPrice:$i(this.gasPrice),blobGasUsed:$i(this.blobGasUsed),blobGasPrice:$i(this.blobGasPrice),gasUsed:$i(this.gasUsed),hash:t,index:e,logs:o,logsBloom:i,root:c,status:a,to:l}}get length(){return this.logs.length}[Symbol.iterator](){let l=0;return{next:()=>l<this.length?{value:this.logs[l++],done:!1}:{value:void 0,done:!0}}}get fee(){return this.gasUsed*this.gasPrice}async getBlock(){const l=await this.provider.getBlock(this.blockHash);if(null==l)throw new Error("TODO");return l}async getTransaction(){const l=await this.provider.getTransaction(this.hash);if(null==l)throw new Error("TODO");return l}async getResult(){return await this.provider.getTransactionResult(this.hash)}async confirmations(){return await this.provider.getBlockNumber()-this.blockNumber+1}removedEvent(){return to(this)}reorderedEvent(l){return T(!l||l.isMined(),"unmined 'other' transction cannot be orphaned","UNSUPPORTED_OPERATION",{operation:"reorderedEvent(other)"}),uo(this,l)}}class no{provider;blockNumber;blockHash;index;hash;type;to;from;nonce;gasLimit;gasPrice;maxPriorityFeePerGas;maxFeePerGas;maxFeePerBlobGas;data;value;chainId;signature;accessList;blobVersionedHashes;#ml;constructor(l,n){this.provider=n,this.blockNumber=null!=l.blockNumber?l.blockNumber:null,this.blockHash=null!=l.blockHash?l.blockHash:null,this.hash=l.hash,this.index=l.index,this.type=l.type,this.from=l.from,this.to=l.to||null,this.gasLimit=l.gasLimit,this.nonce=l.nonce,this.data=l.data,this.value=l.value,this.gasPrice=l.gasPrice,this.maxPriorityFeePerGas=null!=l.maxPriorityFeePerGas?l.maxPriorityFeePerGas:null,this.maxFeePerGas=null!=l.maxFeePerGas?l.maxFeePerGas:null,this.maxFeePerBlobGas=null!=l.maxFeePerBlobGas?l.maxFeePerBlobGas:null,this.chainId=l.chainId,this.signature=l.signature,this.accessList=null!=l.accessList?l.accessList:null,this.blobVersionedHashes=null!=l.blobVersionedHashes?l.blobVersionedHashes:null,this.#ml=-1}toJSON(){const{blockNumber:l,blockHash:n,index:u,hash:t,type:e,to:r,from:s,nonce:i,data:o,signature:a,accessList:c,blobVersionedHashes:h}=this;return{_type:"TransactionResponse",accessList:c,blockNumber:l,blockHash:n,blobVersionedHashes:h,chainId:$i(this.chainId),data:o,from:s,gasLimit:$i(this.gasLimit),gasPrice:$i(this.gasPrice),hash:t,maxFeePerGas:$i(this.maxFeePerGas),maxPriorityFeePerGas:$i(this.maxPriorityFeePerGas),maxFeePerBlobGas:$i(this.maxFeePerBlobGas),nonce:i,signature:a,to:r,index:u,type:e,value:$i(this.value)}}async getBlock(){let l=this.blockNumber;if(null==l){const n=await this.getTransaction();n&&(l=n.blockNumber)}if(null==l)return null;const n=this.provider.getBlock(l);if(null==n)throw new Error("TODO");return n}async getTransaction(){return this.provider.getTransaction(this.hash)}async confirmations(){if(null==this.blockNumber){const{tx:l,blockNumber:n}=await v({tx:this.getTransaction(),blockNumber:this.provider.getBlockNumber()});return null==l||null==l.blockNumber?0:n-l.blockNumber+1}return await this.provider.getBlockNumber()-this.blockNumber+1}async wait(l,n){const u=null==l?1:l,t=null==n?0:n;let e=this.#ml,r=-1,s=-1===e;const i=async()=>{if(s)return null;const{blockNumber:l,nonce:n}=await v({blockNumber:this.provider.getBlockNumber(),nonce:this.provider.getTransactionCount(this.from)});if(n<this.nonce)return void(e=l);if(s)return null;const t=await this.getTransaction();if(!t||null==t.blockNumber)for(-1===r&&(r=e-3,r<this.#ml&&(r=this.#ml));r<=l;){if(s)return null;const n=await this.provider.getBlock(r,!0);if(null==n)return;for(const l of n)if(l===this.hash)return;for(let t=0;t<n.length;t++){const r=await n.getTransaction(t);if(r.from===this.from&&r.nonce===this.nonce){if(s)return null;const n=await this.provider.getTransactionReceipt(r.hash);if(null==n)return;if(l-n.blockNumber+1<u)return;let t="replaced";r.data===this.data&&r.to===this.to&&r.value===this.value?t="repriced":"0x"===r.data&&r.from===r.to&&r.value===zi&&(t="cancelled"),T(!1,"transaction was replaced","TRANSACTION_REPLACED",{cancelled:"replaced"===t||"cancelled"===t,reason:t,replacement:r.replaceableTransaction(e),hash:r.hash,receipt:n})}}r++}},o=l=>{if(null==l||0!==l.status)return l;T(!1,"transaction execution reverted","CALL_EXCEPTION",{action:"sendTransaction",data:null,reason:null,invocation:null,revert:null,transaction:{to:l.to,from:l.from,data:""},receipt:l})},a=await this.provider.getTransactionReceipt(this.hash);if(0===u)return o(a);if(a){if(await a.confirmations()>=u)return o(a)}else if(await i(),0===u)return null;const c=new Promise(((l,n)=>{const r=[],a=()=>{r.forEach((l=>l()))};if(r.push((()=>{s=!0})),t>0){const l=setTimeout((()=>{a(),n(S("wait for transaction timeout","TIMEOUT"))}),t);r.push((()=>{clearTimeout(l)}))}const c=async t=>{if(await t.confirmations()>=u){a();try{l(o(t))}catch(l){n(l)}}};if(r.push((()=>{this.provider.off(this.hash,c)})),this.provider.on(this.hash,c),e>=0){const l=async()=>{try{await i()}catch(l){if(x(l,"TRANSACTION_REPLACED"))return a(),void n(l)}s||this.provider.once("block",l)};r.push((()=>{this.provider.off("block",l)})),this.provider.once("block",l)}}));return await c}isMined(){return null!=this.blockHash}isLegacy(){return 0===this.type}isBerlin(){return 1===this.type}isLondon(){return 2===this.type}isCancun(){return 3===this.type}removedEvent(){return T(this.isMined(),"unmined transaction canot be orphaned","UNSUPPORTED_OPERATION",{operation:"removeEvent()"}),to(this)}reorderedEvent(l){return T(this.isMined(),"unmined transaction canot be orphaned","UNSUPPORTED_OPERATION",{operation:"removeEvent()"}),T(!l||l.isMined(),"unmined 'other' transaction canot be orphaned","UNSUPPORTED_OPERATION",{operation:"removeEvent()"}),uo(this,l)}replaceableTransaction(l){O(Number.isInteger(l)&&l>=0,"invalid startBlock","startBlock",l);const n=new no(this,this.provider);return n.#ml=l,n}}function uo(l,n){return{orphan:"reorder-transaction",tx:l,other:n}}function to(l){return{orphan:"drop-transaction",tx:l}}class eo extends Xi{interface;fragment;args;constructor(l,n,u){super(l,l.provider);E(this,{args:n.decodeEventLog(u,l.data,l.topics),fragment:u,interface:n})}get eventName(){return this.fragment.name}get eventSignature(){return this.fragment.format()}}class ro extends Xi{error;constructor(l,n){super(l,l.provider),E(this,{error:n})}}class so extends lo{#wl;constructor(l,n,u){super(u,n),this.#wl=l}get logs(){return super.logs.map((l=>{const n=l.topics.length?this.#wl.getEvent(l.topics[0]):null;if(n)try{return new eo(l,this.#wl,n)}catch(n){return new ro(l,n)}return l}))}}class io extends no{#wl;constructor(l,n,u){super(u,n),this.#wl=l}async wait(l,n){const u=await super.wait(l,n);return null==u?null:new so(this.#wl,this.provider,u)}}class oo extends cl{log;constructor(l,n,u,t){super(l,n,u),E(this,{log:t})}async getBlock(){return await this.log.getBlock()}async getTransaction(){return await this.log.getTransaction()}async getTransactionReceipt(){return await this.log.getTransactionReceipt()}}class ao extends oo{constructor(l,n,u,t,e){super(l,n,u,new eo(e,l.interface,t));E(this,{args:l.interface.decodeEventLog(t,this.log.data,this.log.topics),fragment:t})}get eventName(){return this.fragment.name}get eventSignature(){return this.fragment.format()}}const co=BigInt(0);function ho(l){return l&&"function"==typeof l.call}function fo(l){return l&&"function"==typeof l.estimateGas}function po(l){return l&&"function"==typeof l.resolveName}function go(l){return l&&"function"==typeof l.sendTransaction}function yo(l){if(null!=l){if(po(l))return l;if(l.provider)return l.provider}}class mo{#bl;fragment;constructor(l,n,u){if(E(this,{fragment:n}),n.inputs.length<u.length)throw new Error("too many arguments");const t=wo(l.runner,"resolveName"),e=po(t)?t:null;this.#bl=async function(){const t=await Promise.all(n.inputs.map(((l,n)=>null==u[n]?null:l.walkAsync(u[n],((l,n)=>"address"===l?Array.isArray(n)?Promise.all(n.map((l=>Oe(l,e)))):Oe(n,e):n)))));return l.interface.encodeFilterTopics(n,t)}()}getTopicFilter(){return this.#bl}}function wo(l,n){return null==l?null:"function"==typeof l[n]?l:l.provider&&"function"==typeof l.provider[n]?l.provider:null}function bo(l){return null==l?null:l.provider||null}async function Ao(l,n){const u=Be.dereference(l,"overrides");O("object"==typeof u,"invalid overrides parameter","overrides",l);const t=Yi(u);return O(null==t.to||(n||[]).indexOf("to")>=0,"cannot override to","overrides.to",t.to),O(null==t.data||(n||[]).indexOf("data")>=0,"cannot override data","overrides.data",t.data),t.from&&(t.from=t.from),t}function vo(l){const n=async function(n){const u=await Ao(n,["data"]);u.to=await l.getAddress(),u.from&&(u.from=await Oe(u.from,yo(l.runner)));const t=l.interface,e=W(u.value||co,"overrides.value")===co,r="0x"===(u.data||"0x");!t.fallback||t.fallback.payable||!t.receive||r||e||O(!1,"cannot send data to receive or send value to non-payable fallback","overrides",n),O(t.fallback||r,"cannot send data to receive-only contract","overrides.data",u.data);return O(t.receive||t.fallback&&t.fallback.payable||e,"cannot send value to non-payable fallback","overrides.value",u.value),O(t.fallback||r,"cannot send data to receive-only contract","overrides.data",u.data),u},u=async function(u){const t=l.runner;T(go(t),"contract runner does not support sending transactions","UNSUPPORTED_OPERATION",{operation:"sendTransaction"});const e=await t.sendTransaction(await n(u)),r=bo(l.runner);return new io(l.interface,r,e)},t=async l=>await u(l);return E(t,{_contract:l,estimateGas:async function(u){const t=wo(l.runner,"estimateGas");return T(fo(t),"contract runner does not support gas estimation","UNSUPPORTED_OPERATION",{operation:"estimateGas"}),await t.estimateGas(await n(u))},populateTransaction:n,send:u,staticCall:async function(u){const t=wo(l.runner,"call");T(ho(t),"contract runner does not support calling","UNSUPPORTED_OPERATION",{operation:"call"});const e=await n(u);try{return await t.call(e)}catch(n){if(N(n)&&n.data)throw l.interface.makeError(n.data,e);throw n}}}),t}function Eo(l,n){const u=function(...u){const t=l.interface.getFunction(n,u);return T(t,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:n,args:u}}),t},t=async function(...n){const t=u(...n);let e={};if(t.inputs.length+1===n.length&&(e=await Ao(n.pop()),e.from&&(e.from=await Oe(e.from,yo(l.runner)))),t.inputs.length!==n.length)throw new Error("internal error: fragment inputs doesn't match arguments; should not happen");const r=await async function(l,n,u){const t=wo(l,"resolveName"),e=po(t)?t:null;return await Promise.all(n.map(((l,n)=>l.walkAsync(u[n],((l,n)=>(n=Be.dereference(n,l),"address"===l?Oe(n,e):n))))))}(l.runner,t.inputs,n);return Object.assign({},e,await v({to:l.getAddress(),data:l.interface.encodeFunctionData(t,r)}))},e=async function(...l){const n=await s(...l);return 1===n.length?n[0]:n},r=async function(...n){const u=l.runner;T(go(u),"contract runner does not support sending transactions","UNSUPPORTED_OPERATION",{operation:"sendTransaction"});const e=await u.sendTransaction(await t(...n)),r=bo(l.runner);return new io(l.interface,r,e)},s=async function(...n){const e=wo(l.runner,"call");T(ho(e),"contract runner does not support calling","UNSUPPORTED_OPERATION",{operation:"call"});const r=await t(...n);let s="0x";try{s=await e.call(r)}catch(n){if(N(n)&&n.data)throw l.interface.makeError(n.data,r);throw n}const i=u(...n);return l.interface.decodeFunctionResult(i,s)},i=async(...l)=>u(...l).constant?await e(...l):await r(...l);return E(i,{name:l.interface.getFunctionName(n),_contract:l,_key:n,getFragment:u,estimateGas:async function(...n){const u=wo(l.runner,"estimateGas");return T(fo(u),"contract runner does not support gas estimation","UNSUPPORTED_OPERATION",{operation:"estimateGas"}),await u.estimateGas(await t(...n))},populateTransaction:t,send:r,staticCall:e,staticCallResult:s}),Object.defineProperty(i,"fragment",{configurable:!1,enumerable:!0,get:()=>{const u=l.interface.getFunction(n);return T(u,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:n}}),u}}),i}const ko=Symbol.for("_ethersInternal_contract"),xo=new WeakMap;function No(l){return xo.get(l[ko])}async function So(l,n){let u,t=null;if(Array.isArray(n)){const t=function(n){if(L(n,32))return n;const u=l.interface.getEvent(n);return O(u,"unknown fragment","name",n),u.topicHash};u=n.map((l=>null==l?null:Array.isArray(l)?l.map(t):t(l)))}else"*"===n?u=[null]:"string"==typeof n?L(n,32)?u=[n]:(t=l.interface.getEvent(n),O(t,"unknown fragment","event",n),u=[t.topicHash]):(e=n)&&"object"==typeof e&&"getTopicFilter"in e&&"function"==typeof e.getTopicFilter&&e.fragment?u=await n.getTopicFilter():"fragment"in n?(t=n.fragment,u=[t.topicHash]):O(!1,"unknown event name","event",n);var e;u=u.map((l=>{if(null==l)return null;if(Array.isArray(l)){const n=Array.from(new Set(l.map((l=>l.toLowerCase()))).values());return 1===n.length?n[0]:(n.sort(),n)}return l.toLowerCase()}));return{fragment:t,tag:u.map((l=>null==l?"null":Array.isArray(l)?l.join("|"):l)).join("&"),topics:u}}async function To(l,n){const{subs:u}=No(l);return u.get((await So(l,n)).tag)||null}async function Oo(l,n,u){const t=bo(l.runner);T(t,"contract runner does not support subscribing","UNSUPPORTED_OPERATION",{operation:n});const{fragment:e,tag:r,topics:s}=await So(l,u),{addr:i,subs:o}=No(l);let a=o.get(r);if(!a){const n={address:i||l,topics:s},c=n=>{let t=e;if(null==t)try{t=l.interface.getEvent(n.topics[0])}catch(l){}if(t){const r=t,s=e?l.interface.decodeEventLog(e,n.data,n.topics):[];Io(l,u,s,(t=>new ao(l,t,u,r,n)))}else Io(l,u,[],(t=>new oo(l,t,u,n)))};let h=[];a={tag:r,listeners:[],start:()=>{h.length||h.push(t.on(n,c))},stop:async()=>{if(0==h.length)return;let l=h;h=[],await Promise.all(l),t.off(n,c)}},o.set(r,a)}return a}let Po=Promise.resolve();async function Io(l,n,u,t){try{await Po}catch(l){}const e=async function(l,n,u,t){await Po;const e=await To(l,n);if(!e)return!1;const r=e.listeners.length;return e.listeners=e.listeners.filter((({listener:n,once:e})=>{const r=Array.from(u);t&&r.push(t(e?null:n));try{n.call(l,...r)}catch(l){}return!e})),0===e.listeners.length&&(e.stop(),No(l).subs.delete(e.tag)),r>0}(l,n,u,t);return Po=e,await e}const Co=["then"];class Ro{target;interface;runner;filters;[ko];fallback;constructor(l,n,u,t){O("string"==typeof l||Se(l),"invalid value for Contract target","target",l),null==u&&(u=null);const e=Ji.from(n);let r;E(this,{target:l,runner:u,interface:e}),Object.defineProperty(this,ko,{value:{}});let s=null,i=null;if(t){const l=bo(u);i=new io(this.interface,l,t)}let o=new Map;if("string"==typeof l)if(L(l))s=l,r=Promise.resolve(l);else{const n=wo(u,"resolveName");if(!po(n))throw S("contract runner does not support name resolution","UNSUPPORTED_OPERATION",{operation:"resolveName"});r=n.resolveName(l).then((n=>{if(null==n)throw S("an ENS name used for a contract target must be correctly configured","UNCONFIGURED_NAME",{value:l});return No(this).addr=n,n}))}else r=l.getAddress().then((l=>{if(null==l)throw new Error("TODO");return No(this).addr=l,l}));var a,c;a=this,c={addrPromise:r,addr:s,deployTx:i,subs:o},xo.set(a[ko],c);const h=new Proxy({},{get:(l,n,u)=>{if("symbol"==typeof n||Co.indexOf(n)>=0)return Reflect.get(l,n,u);try{return this.getEvent(n)}catch(l){if(!x(l,"INVALID_ARGUMENT")||"key"!==l.argument)throw l}},has:(l,n)=>Co.indexOf(n)>=0?Reflect.has(l,n):Reflect.has(l,n)||this.interface.hasEvent(String(n))});return E(this,{filters:h}),E(this,{fallback:e.receive||e.fallback?vo(this):null}),new Proxy(this,{get:(l,n,u)=>{if("symbol"==typeof n||n in l||Co.indexOf(n)>=0)return Reflect.get(l,n,u);try{return l.getFunction(n)}catch(l){if(!x(l,"INVALID_ARGUMENT")||"key"!==l.argument)throw l}},has:(l,n)=>"symbol"==typeof n||n in l||Co.indexOf(n)>=0?Reflect.has(l,n):l.interface.hasFunction(n)})}connect(l){return new Ro(this.target,this.interface,l)}attach(l){return new Ro(l,this.interface,this.runner)}async getAddress(){return await No(this).addrPromise}async getDeployedCode(){const l=bo(this.runner);T(l,"runner does not support .provider","UNSUPPORTED_OPERATION",{operation:"getDeployedCode"});const n=await l.getCode(await this.getAddress());return"0x"===n?null:n}async waitForDeployment(){const l=this.deploymentTransaction();if(l)return await l.wait(),this;if(null!=await this.getDeployedCode())return this;const n=bo(this.runner);return T(null!=n,"contract runner does not support .provider","UNSUPPORTED_OPERATION",{operation:"waitForDeployment"}),new Promise(((l,u)=>{const t=async()=>{try{if(null!=await this.getDeployedCode())return l(this);n.once("block",t)}catch(l){u(l)}};t()}))}deploymentTransaction(){return No(this).deployTx}getFunction(l){"string"!=typeof l&&(l=l.format());return Eo(this,l)}getEvent(l){return"string"!=typeof l&&(l=l.format()),function(l,n){const u=function(...u){const t=l.interface.getEvent(n,u);return T(t,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:n,args:u}}),t},t=function(...n){return new mo(l,u(...n),n)};return E(t,{name:l.interface.getEventName(n),_contract:l,_key:n,getFragment:u}),Object.defineProperty(t,"fragment",{configurable:!1,enumerable:!0,get:()=>{const u=l.interface.getEvent(n);return T(u,"no matching fragment","UNSUPPORTED_OPERATION",{operation:"fragment",info:{key:n}}),u}}),t}(this,l)}async queryTransaction(l){throw new Error("@TODO")}async queryFilter(l,n,u){null==n&&(n=0),null==u&&(u="latest");const{addr:t,addrPromise:e}=No(this),r=t||await e,{fragment:s,topics:i}=await So(this,l),o={address:r,topics:i,fromBlock:n,toBlock:u},a=bo(this.runner);return T(a,"contract runner does not have a provider","UNSUPPORTED_OPERATION",{operation:"queryFilter"}),(await a.getLogs(o)).map((l=>{let n=s;if(null==n)try{n=this.interface.getEvent(l.topics[0])}catch(l){}if(n)try{return new eo(l,this.interface,n)}catch(n){return new ro(l,n)}return new Xi(l,a)}))}async on(l,n){const u=await Oo(this,"on",l);return u.listeners.push({listener:n,once:!1}),u.start(),this}async once(l,n){const u=await Oo(this,"once",l);return u.listeners.push({listener:n,once:!0}),u.start(),this}async emit(l,...n){return await Io(this,l,n,null)}async listenerCount(l){if(l){const n=await To(this,l);return n?n.listeners.length:0}const{subs:n}=No(this);let u=0;for(const{listeners:l}of n.values())u+=l.length;return u}async listeners(l){if(l){const n=await To(this,l);return n?n.listeners.map((({listener:l})=>l)):[]}const{subs:n}=No(this);let u=[];for(const{listeners:l}of n.values())u=u.concat(l.map((({listener:l})=>l)));return u}async off(l,n){const u=await To(this,l);if(!u)return this;if(n){const l=u.listeners.map((({listener:l})=>l)).indexOf(n);l>=0&&u.listeners.splice(l,1)}return null!=n&&0!==u.listeners.length||(u.stop(),No(this).subs.delete(u.tag)),this}async removeAllListeners(l){if(l){const n=await To(this,l);if(!n)return this;n.stop(),No(this).subs.delete(n.tag)}else{const{subs:l}=No(this);for(const{tag:n,stop:u}of l.values())u(),l.delete(n)}return this}async addListener(l,n){return await this.on(l,n)}async removeListener(l,n){return await this.off(l,n)}static buildClass(l){return class extends Ro{constructor(n,u=null){super(n,l,u)}}}static from(l,n,u){null==u&&(u=null);return new this(l,n,u)}}let Bo=class extends(function(){return Ro}()){};function Do(l){return l.match(/^ipfs:\/\/ipfs\//i)?l=l.substring(12):l.match(/^ipfs:\/\//i)?l=l.substring(7):O(!1,"unsupported IPFS format","link",l),`https://gateway.ipfs.io/ipfs/${l}`}class Uo{name;constructor(l){E(this,{name:l})}connect(l){return this}supportsCoinType(l){return!1}async encodeAddress(l,n){throw new Error("unsupported coin")}async decodeAddress(l,n){throw new Error("unsupported coin")}}const Lo=new RegExp("^(ipfs)://(.*)$","i"),Fo=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),Lo,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];class _o{provider;address;name;#Al;#vl;constructor(l,n,u){E(this,{provider:l,address:n,name:u}),this.#Al=null,this.#vl=new Bo(n,["function supportsInterface(bytes4) view returns (bool)","function resolve(bytes, bytes) view returns (bytes)","function addr(bytes32) view returns (address)","function addr(bytes32, uint) view returns (bytes)","function text(bytes32, string) view returns (string)","function contenthash(bytes32) view returns (bytes)"],l)}async supportsWildcard(){return null==this.#Al&&(this.#Al=(async()=>{try{return await this.#vl.supportsInterface("0x9061b923")}catch(l){if(x(l,"CALL_EXCEPTION"))return!1;throw this.#Al=null,l}})()),await this.#Al}async#El(l,n){n=(n||[]).slice();const u=this.#vl.interface;n.unshift(es(this.name));let t=null;await this.supportsWildcard()&&(t=u.getFunction(l),T(t,"missing fragment","UNKNOWN_ERROR",{info:{funcName:l}}),n=[rs(this.name,255),u.encodeFunctionData(t,n)],l="resolve(bytes,bytes)"),n.push({enableCcipRead:!0});try{const e=await this.#vl[l](...n);return t?u.decodeFunctionResult(t,e)[0]:e}catch(l){if(!x(l,"CALL_EXCEPTION"))throw l}return null}async getAddress(l){if(null==l&&(l=60),60===l)try{const l=await this.#El("addr(bytes32)");return null==l||l===oe?null:l}catch(l){if(x(l,"CALL_EXCEPTION"))return null;throw l}if(l>=0&&l<2147483648){let n=l+2147483648;const u=await this.#El("addr(bytes32,uint)",[n]);if(L(u,20))return Ne(u)}let n=null;for(const u of this.provider.plugins)if(u instanceof Uo&&u.supportsCoinType(l)){n=u;break}if(null==n)return null;const u=await this.#El("addr(bytes32,uint)",[l]);if(null==u||"0x"===u)return null;const t=await n.decodeAddress(l,u);if(null!=t)return t;T(!1,"invalid coin data","UNSUPPORTED_OPERATION",{operation:`getAddress(${l})`,info:{coinType:l,data:u}})}async getText(l){const n=await this.#El("text(bytes32,string)",[l]);return null==n||"0x"===n?null:n}async getContentHash(){const l=await this.#El("contenthash(bytes32)");if(null==l||"0x"===l)return null;const n=l.match(/^0x(e3010170|e5010172)(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/);if(n){const l="e3010170"===n[1]?"ipfs":"ipns",u=parseInt(n[4],16);if(n[5].length===2*u)return`${l}://${al("0x"+n[2])}`}const u=l.match(/^0xe40101fa011b20([0-9a-f]*)$/);if(u&&64===u[1].length)return`bzz://${u[1]}`;T(!1,"invalid or unsupported content hash data","UNSUPPORTED_OPERATION",{operation:"getContentHash()",info:{data:l}})}async getAvatar(){return(await this._getAvatar()).url}async _getAvatar(){const l=[{type:"name",value:this.name}];try{const n=await this.getText("avatar");if(null==n)return l.push({type:"!avatar",value:""}),{url:null,linkage:l};l.push({type:"avatar",value:n});for(let u=0;u<Fo.length;u++){const t=n.match(Fo[u]);if(null==t)continue;const e=t[1].toLowerCase();switch(e){case"https":case"data":return l.push({type:"url",value:n}),{linkage:l,url:n};case"ipfs":{const u=Do(n);return l.push({type:"ipfs",value:n}),l.push({type:"url",value:u}),{linkage:l,url:u}}case"erc721":case"erc1155":{const u="erc721"===e?"tokenURI(uint256)":"uri(uint256)";l.push({type:e,value:n});const r=await this.getAddress();if(null==r)return l.push({type:"!owner",value:""}),{url:null,linkage:l};const s=(t[2]||"").split("/");if(2!==s.length)return l.push({type:`!${e}caip`,value:t[2]||""}),{url:null,linkage:l};const i=s[1],o=new Bo(s[0],["function tokenURI(uint) view returns (string)","function ownerOf(uint) view returns (address)","function uri(uint) view returns (string)","function balanceOf(address, uint256) view returns (uint)"],this.provider);if("erc721"===e){const n=await o.ownerOf(i);if(r!==n)return l.push({type:"!owner",value:n}),{url:null,linkage:l};l.push({type:"owner",value:n})}else if("erc1155"===e){const n=await o.balanceOf(r,i);if(!n)return l.push({type:"!balance",value:"0"}),{url:null,linkage:l};l.push({type:"balance",value:n.toString()})}let a=await o[u](i);if(null==a||"0x"===a)return l.push({type:"!metadata-url",value:""}),{url:null,linkage:l};l.push({type:"metadata-url-base",value:a}),"erc1155"===e&&(a=a.replace("{id}",nl(i,32).substring(2)),l.push({type:"metadata-url-expanded",value:a})),a.match(/^ipfs:/i)&&(a=Do(a)),l.push({type:"metadata-url",value:a});let c={};const h=await new Sl(a).send();h.assertOk();try{c=h.bodyJson}catch(n){try{l.push({type:"!metadata",value:h.bodyText})}catch(n){const u=h.body;return u&&l.push({type:"!metadata",value:M(u)}),{url:null,linkage:l}}return{url:null,linkage:l}}if(!c)return l.push({type:"!metadata",value:""}),{url:null,linkage:l};l.push({type:"metadata",value:JSON.stringify(c)});let f=c.image;if("string"!=typeof f)return l.push({type:"!imageUrl",value:""}),{url:null,linkage:l};if(f.match(/^(https:\/\/|data:)/i));else{if(null==f.match(Lo))return l.push({type:"!imageUrl-ipfs",value:f}),{url:null,linkage:l};l.push({type:"imageUrl-ipfs",value:f}),f=Do(f)}return l.push({type:"url",value:f}),{linkage:l,url:f}}}}}catch(l){}return{linkage:l,url:null}}static async getEnsAddress(l){const n=await l.getNetwork(),u=n.getPlugin("org.ethers.plugins.network.Ens");return T(u,"network does not support ENS","UNSUPPORTED_OPERATION",{operation:"getEnsAddress",info:{network:n}}),u.address}static async#kl(l,n){const u=await _o.getEnsAddress(l);try{const t=new Bo(u,["function resolver(bytes32) view returns (address)"],l),e=await t.resolver(es(n),{enableCcipRead:!0});return e===oe?null:e}catch(l){throw l}return null}static async fromName(l,n){let u=n;for(;;){if(""===u||"."===u)return null;if("eth"!==n&&"eth"===u)return null;const t=await _o.#kl(l,u);if(null!=t){const e=new _o(l,t,n);return u===n||await e.supportsWildcard()?e:null}u=u.split(".").slice(1).join(".")}}}const Mo=BigInt(0);function Go(l,n){return function(u){return null==u?n:l(u)}}function jo(l,n){return u=>{if(n&&null==u)return null;if(!Array.isArray(u))throw new Error("not an array");return u.map((n=>l(n)))}}function Ho(l,n){return u=>{const t={};for(const e in l){let r=e;if(n&&e in n&&!(r in u))for(const l of n[e])if(l in u){r=l;break}try{const n=l[e](u[r]);void 0!==n&&(t[e]=n)}catch(l){T(!1,`invalid value for value.${e} (${l instanceof Error?l.message:"not-an-error"})`,"BAD_DATA",{value:u})}}return t}}function Ko(l){return O(L(l,!0),"invalid data","value",l),l}function Vo(l){return O(L(l,32),"invalid hash","value",l),l}const Qo=Ho({address:Ne,blockHash:Vo,blockNumber:ll,data:Ko,index:ll,removed:Go((function(l){switch(l){case!0:case"true":return!0;case!1:case"false":return!1}O(!1,`invalid boolean; ${JSON.stringify(l)}`,"value",l)}),!1),topics:jo(Vo),transactionHash:Vo,transactionIndex:ll},{index:["logIndex"]});const Jo=Ho({hash:Go(Vo),parentHash:Vo,parentBeaconBlockRoot:Go(Vo,null),number:ll,timestamp:ll,nonce:Go(Ko),difficulty:W,gasLimit:W,gasUsed:W,stateRoot:Go(Vo,null),receiptsRoot:Go(Vo,null),blobGasUsed:Go(W,null),excessBlobGas:Go(W,null),miner:Go(Ne),prevRandao:Go(Vo,null),extraData:Ko,baseFeePerGas:Go(W)},{prevRandao:["mixHash"]});const zo=Ho({transactionIndex:ll,blockNumber:ll,transactionHash:Vo,address:Ne,topics:jo(Vo),data:Ko,index:ll,blockHash:Vo},{index:["logIndex"]});const qo=Ho({to:Go(Ne,null),from:Go(Ne,null),contractAddress:Go(Ne,null),index:ll,root:Go(M),gasUsed:W,blobGasUsed:Go(W,null),logsBloom:Go(Ko),blockHash:Vo,hash:Vo,logs:jo((function(l){return zo(l)})),blockNumber:ll,cumulativeGasUsed:W,effectiveGasPrice:Go(W),blobGasPrice:Go(W,null),status:Go(ll),type:Go(ll,0)},{effectiveGasPrice:["gasPrice"],hash:["transactionHash"],index:["transactionIndex"]});function $o(l){l.to&&W(l.to)===Mo&&(l.to="0x0000000000000000000000000000000000000000");const n=Ho({hash:Vo,index:Go(ll,void 0),type:l=>"0x"===l||null==l?0:ll(l),accessList:Go(is,null),blobVersionedHashes:Go(jo(Vo,!0),null),blockHash:Go(Vo,null),blockNumber:Go(ll,null),transactionIndex:Go(ll,null),from:Ne,gasPrice:Go(W),maxPriorityFeePerGas:Go(W),maxFeePerGas:Go(W),maxFeePerBlobGas:Go(W,null),gasLimit:W,to:Go(Ne,null),value:W,nonce:ll,data:Ko,creates:Go(Ne,null),chainId:Go(W,null)},{data:["input"],gasLimit:["gas"],index:["transactionIndex"]})(l);if(null==n.to&&null==n.creates&&(n.creates=function(l){const n=Ne(l.from);let u=W(l.nonce,"tx.nonce").toString(16);return u="0"===u?"0x":u.length%2?"0x0"+u:"0x"+u,Ne(H(gu(Fl([n,u])),12))}(n)),1!==l.type&&2!==l.type||null!=l.accessList||(n.accessList=[]),l.signature?n.signature=we.from(l.signature):n.signature=we.from(l),null==n.chainId){const l=n.signature.legacyChainId;null!=l&&(n.chainId=l)}return n.blockHash&&W(n.blockHash)===Mo&&(n.blockHash=null),n}class Wo{name;constructor(l){E(this,{name:l})}clone(){return new Wo(this.name)}}class Yo extends Wo{effectiveBlock;txBase;txCreate;txDataZero;txDataNonzero;txAccessListStorageKey;txAccessListAddress;constructor(l,n){null==l&&(l=0),super(`org.ethers.network.plugins.GasCost#${l||0}`);const u={effectiveBlock:l};function t(l,t){let e=(n||{})[l];null==e&&(e=t),O("number"==typeof e,`invalud value for ${l}`,"costs",n),u[l]=e}t("txBase",21e3),t("txCreate",32e3),t("txDataZero",4),t("txDataNonzero",16),t("txAccessListStorageKey",1900),t("txAccessListAddress",2400),E(this,u)}clone(){return new Yo(this.effectiveBlock,this)}}class Zo extends Wo{address;targetNetwork;constructor(l,n){super("org.ethers.plugins.network.Ens"),E(this,{address:l||"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",targetNetwork:null==n?1:n})}clone(){return new Zo(this.address,this.targetNetwork)}}class Xo extends Wo{#o;#xl;get url(){return this.#o}get processFunc(){return this.#xl}constructor(l,n){super("org.ethers.plugins.network.FetchUrlFeeDataPlugin"),this.#o=l,this.#xl=n}clone(){return this}}const la=new Map;class na{#Nl;#z;#Sl;constructor(l,n){this.#Nl=l,this.#z=W(n),this.#Sl=new Map}toJSON(){return{name:this.name,chainId:String(this.chainId)}}get name(){return this.#Nl}set name(l){this.#Nl=l}get chainId(){return this.#z}set chainId(l){this.#z=W(l,"chainId")}matches(l){if(null==l)return!1;if("string"==typeof l){try{return this.chainId===W(l)}catch(l){}return this.name===l}if("number"==typeof l||"bigint"==typeof l){try{return this.chainId===W(l)}catch(l){}return!1}if("object"==typeof l){if(null!=l.chainId){try{return this.chainId===W(l.chainId)}catch(l){}return!1}return null!=l.name&&this.name===l.name}return!1}get plugins(){return Array.from(this.#Sl.values())}attachPlugin(l){if(this.#Sl.get(l.name))throw new Error(`cannot replace existing plugin: ${l.name} `);return this.#Sl.set(l.name,l.clone()),this}getPlugin(l){return this.#Sl.get(l)||null}getPlugins(l){return this.plugins.filter((n=>n.name.split("#")[0]===l))}clone(){const l=new na(this.name,this.chainId);return this.plugins.forEach((n=>{l.attachPlugin(n.clone())})),l}computeIntrinsicGas(l){const n=this.getPlugin("org.ethers.plugins.network.GasCost")||new Yo;let u=n.txBase;if(null==l.to&&(u+=n.txCreate),l.data)for(let t=2;t<l.data.length;t+=2)"00"===l.data.substring(t,t+2)?u+=n.txDataZero:u+=n.txDataNonzero;if(l.accessList){const t=is(l.accessList);for(const l in t)u+=n.txAccessListAddress+n.txAccessListStorageKey*t[l].storageKeys.length}return u}static from(l){if(function(){if(ea)return;function l(l,n,u){const t=function(){const t=new na(l,n);return null!=u.ensNetwork&&t.attachPlugin(new Zo(null,u.ensNetwork)),t.attachPlugin(new Yo),(u.plugins||[]).forEach((l=>{t.attachPlugin(l)})),t};na.register(l,t),na.register(n,t),u.altNames&&u.altNames.forEach((l=>{na.register(l,t)}))}ea=!0,l("mainnet",1,{ensNetwork:1,altNames:["homestead"]}),l("ropsten",3,{ensNetwork:3}),l("rinkeby",4,{ensNetwork:4}),l("goerli",5,{ensNetwork:5}),l("kovan",42,{ensNetwork:42}),l("sepolia",11155111,{ensNetwork:11155111}),l("holesky",17e3,{ensNetwork:17e3}),l("classic",61,{}),l("classicKotti",6,{}),l("arbitrum",42161,{ensNetwork:1}),l("arbitrum-goerli",421613,{}),l("arbitrum-sepolia",421614,{}),l("base",8453,{ensNetwork:1}),l("base-goerli",84531,{}),l("base-sepolia",84532,{}),l("bnb",56,{ensNetwork:1}),l("bnbt",97,{}),l("linea",59144,{ensNetwork:1}),l("linea-goerli",59140,{}),l("linea-sepolia",59141,{}),l("matic",137,{ensNetwork:1,plugins:[ta("https://gasstation.polygon.technology/v2")]}),l("matic-amoy",80002,{}),l("matic-mumbai",80001,{altNames:["maticMumbai","maticmum"],plugins:[ta("https://gasstation-testnet.polygon.technology/v2")]}),l("optimism",10,{ensNetwork:1,plugins:[]}),l("optimism-goerli",420,{}),l("optimism-sepolia",11155420,{}),l("xdai",100,{ensNetwork:1})}(),null==l)return na.from("mainnet");if("number"==typeof l&&(l=BigInt(l)),"string"==typeof l||"bigint"==typeof l){const n=la.get(l);if(n)return n();if("bigint"==typeof l)return new na("unknown",l);O(!1,"unknown network","network",l)}if("function"==typeof l.clone){return l.clone()}if("object"==typeof l){O("string"==typeof l.name&&"number"==typeof l.chainId,"invalid network object name or chainId","network",l);const n=new na(l.name,l.chainId);return(l.ensAddress||null!=l.ensNetwork)&&n.attachPlugin(new Zo(l.ensAddress,l.ensNetwork)),n}O(!1,"invalid network","network",l)}static register(l,n){"number"==typeof l&&(l=BigInt(l));const u=la.get(l);u&&O(!1,`conflicting network for ${JSON.stringify(u.name)}`,"nameOrChainId",l),la.set(l,n)}}function ua(l,n){const u=String(l);if(!u.match(/^[0-9.]+$/))throw new Error(`invalid gwei value: ${l}`);const t=u.split(".");if(1===t.length&&t.push(""),2!==t.length)throw new Error(`invalid gwei value: ${l}`);for(;t[1].length<n;)t[1]+="0";if(t[1].length>9){let l=BigInt(t[1].substring(0,9));t[1].substring(9).match(/^0+$/)||l++,t[1]=l.toString()}return BigInt(t[0]+t[1])}function ta(l){return new Xo(l,(async(l,n,u)=>{let t;u.setHeader("User-Agent","ethers");try{const[n,e]=await Promise.all([u.send(),l()]);t=n;const r=t.bodyJson.standard;return{gasPrice:e.gasPrice,maxFeePerGas:ua(r.maxFee,9),maxPriorityFeePerGas:ua(r.maxPriorityFee,9)}}catch(l){T(!1,`error encountered with polygon gas station (${JSON.stringify(u.url)})`,"SERVER_ERROR",{request:u,response:t,error:l})}}))}let ea=!1;function ra(l){return JSON.parse(JSON.stringify(l))}class sa{#Tl;#Ol;#Pl;#Il;constructor(l){this.#Tl=l,this.#Ol=null,this.#Pl=4e3,this.#Il=-2}get pollingInterval(){return this.#Pl}set pollingInterval(l){this.#Pl=l}async#Cl(){try{const l=await this.#Tl.getBlockNumber();if(-2===this.#Il)return void(this.#Il=l);if(l!==this.#Il){for(let n=this.#Il+1;n<=l;n++){if(null==this.#Ol)return;await this.#Tl.emit("block",n)}this.#Il=l}}catch(l){}null!=this.#Ol&&(this.#Ol=this.#Tl._setTimeout(this.#Cl.bind(this),this.#Pl))}start(){this.#Ol||(this.#Ol=this.#Tl._setTimeout(this.#Cl.bind(this),this.#Pl),this.#Cl())}stop(){this.#Ol&&(this.#Tl._clearTimeout(this.#Ol),this.#Ol=null)}pause(l){this.stop(),l&&(this.#Il=-2)}resume(){this.start()}}class ia{#Tl;#Cl;#Rl;constructor(l){this.#Tl=l,this.#Rl=!1,this.#Cl=l=>{this._poll(l,this.#Tl)}}async _poll(l,n){throw new Error("sub-classes must override this")}start(){this.#Rl||(this.#Rl=!0,this.#Cl(-2),this.#Tl.on("block",this.#Cl))}stop(){this.#Rl&&(this.#Rl=!1,this.#Tl.off("block",this.#Cl))}pause(l){this.stop()}resume(){this.start()}}class oa extends ia{#Bl;#Dl;constructor(l,n){super(l),this.#Bl=n,this.#Dl=-2}pause(l){l&&(this.#Dl=-2),super.pause(l)}async _poll(l,n){const u=await n.getBlock(this.#Bl);null!=u&&(-2===this.#Dl?this.#Dl=u.number:u.number>this.#Dl&&(n.emit(this.#Bl,u.number),this.#Dl=u.number))}}class aa extends ia{#bl;constructor(l,n){super(l),this.#bl=ra(n)}async _poll(l,n){throw new Error("@TODO")}}class ca extends ia{#Ul;constructor(l,n){super(l),this.#Ul=n}async _poll(l,n){const u=await n.getTransactionReceipt(this.#Ul);u&&n.emit(this.#Ul,u)}}class ha{#Tl;#bl;#Ol;#Rl;#Il;constructor(l,n){this.#Tl=l,this.#bl=ra(n),this.#Ol=this.#Cl.bind(this),this.#Rl=!1,this.#Il=-2}async#Cl(l){if(-2===this.#Il)return;const n=ra(this.#bl);n.fromBlock=this.#Il+1,n.toBlock=l;const u=await this.#Tl.getLogs(n);if(0!==u.length)for(const l of u)this.#Tl.emit(this.#bl,l),this.#Il=l.blockNumber;else this.#Il<l-60&&(this.#Il=l-60)}start(){this.#Rl||(this.#Rl=!0,-2===this.#Il&&this.#Tl.getBlockNumber().then((l=>{this.#Il=l})),this.#Tl.on("block",this.#Ol))}stop(){this.#Rl&&(this.#Rl=!1,this.#Tl.off("block",this.#Ol))}pause(l){this.stop(),l&&(this.#Il=-2)}resume(){this.start()}}const fa=BigInt(2);function da(l){return l&&"function"==typeof l.then}function pa(l,n){return l+":"+JSON.stringify(n,((l,n)=>{if(null==n)return"null";if("bigint"==typeof n)return`bigint:${n.toString()}`;if("string"==typeof n)return n.toLowerCase();if("object"==typeof n&&!Array.isArray(n)){const l=Object.keys(n);return l.sort(),l.reduce(((l,u)=>(l[u]=n[u],l)),{})}return n}))}class ga{name;constructor(l){E(this,{name:l})}start(){}stop(){}pause(l){}resume(){}}function ya(l){return(l=Array.from(new Set(l).values())).sort(),l}async function ma(l,n){if(null==l)throw new Error("invalid event");if(Array.isArray(l)&&(l={topics:l}),"string"==typeof l)switch(l){case"block":case"debug":case"error":case"finalized":case"network":case"pending":case"safe":return{type:l,tag:l}}if(L(l,32)){const n=l.toLowerCase();return{type:"transaction",tag:pa("tx",{hash:n}),hash:n}}if(l.orphan){const n=l;return{type:"orphan",tag:pa("orphan",n),filter:(u=n,JSON.parse(JSON.stringify(u)))}}var u;if(l.address||l.topics){const u=l,t={topics:(u.topics||[]).map((l=>null==l?null:Array.isArray(l)?ya(l.map((l=>l.toLowerCase()))):l.toLowerCase()))};if(u.address){const l=[],e=[],r=u=>{L(u)?l.push(u):e.push((async()=>{l.push(await Oe(u,n))})())};Array.isArray(u.address)?u.address.forEach(r):r(u.address),e.length&&await Promise.all(e),t.address=ya(l.map((l=>l.toLowerCase())))}return{filter:t,tag:pa("event",t),type:"event"}}O(!1,"unknown ProviderEvent","event",l)}function wa(){return(new Date).getTime()}const ba={cacheTimeout:250,pollingInterval:4e3};class Aa{#Ll;#Sl;#Fl;#_l;#Ml;#Gl;#jl;#Hl;#Kl;#Vl;#Ql;#_;constructor(l,n){if(this.#_=Object.assign({},ba,n||{}),"any"===l)this.#Gl=!0,this.#Ml=null;else if(l){const n=na.from(l);this.#Gl=!1,this.#Ml=Promise.resolve(n),setTimeout((()=>{this.emit("network",n,null)}),0)}else this.#Gl=!1,this.#Ml=null;this.#Hl=-1,this.#jl=new Map,this.#Ll=new Map,this.#Sl=new Map,this.#Fl=null,this.#_l=!1,this.#Kl=1,this.#Vl=new Map,this.#Ql=!1}get pollingInterval(){return this.#_.pollingInterval}get provider(){return this}get plugins(){return Array.from(this.#Sl.values())}attachPlugin(l){if(this.#Sl.get(l.name))throw new Error(`cannot replace existing plugin: ${l.name} `);return this.#Sl.set(l.name,l.connect(this)),this}getPlugin(l){return this.#Sl.get(l)||null}get disableCcipRead(){return this.#Ql}set disableCcipRead(l){this.#Ql=!!l}async#Jl(l){const n=this.#_.cacheTimeout;if(n<0)return await this._perform(l);const u=pa(l.method,l);let t=this.#jl.get(u);return t||(t=this._perform(l),this.#jl.set(u,t),setTimeout((()=>{this.#jl.get(u)===t&&this.#jl.delete(u)}),n)),await t}async ccipReadFetch(l,n,u){if(this.disableCcipRead||0===u.length||null==l.to)return null;const t=l.to.toLowerCase(),e=n.toLowerCase(),r=[];for(let n=0;n<u.length;n++){const s=u[n],i=s.replace("{sender}",t).replace("{data}",e),o=new Sl(i);-1===s.indexOf("{data}")&&(o.body={data:e,sender:t}),this.emit("debug",{action:"sendCcipReadFetchRequest",request:o,index:n,urls:u});let a,c="unknown error";try{a=await o.send()}catch(l){r.push(l.message),this.emit("debug",{action:"receiveCcipReadFetchError",request:o,result:{error:l}});continue}try{const l=a.bodyJson;if(l.data)return this.emit("debug",{action:"receiveCcipReadFetchResult",request:o,result:l}),l.data;l.message&&(c=l.message),this.emit("debug",{action:"receiveCcipReadFetchError",request:o,result:l})}catch(l){}T(a.statusCode<400||a.statusCode>=500,`response not found during CCIP fetch: ${c}`,"OFFCHAIN_FAULT",{reason:"404_MISSING_RESOURCE",transaction:l,info:{url:s,errorMessage:c}}),r.push(c)}T(!1,`error encountered during CCIP fetch: ${r.map((l=>JSON.stringify(l))).join(", ")}`,"OFFCHAIN_FAULT",{reason:"500_SERVER_ERROR",transaction:l,info:{urls:u,errorMessages:r}})}_wrapBlock(l,n){return new Zi(function(l){const n=Jo(l);return n.transactions=l.transactions.map((l=>"string"==typeof l?l:$o(l))),n}(l),this)}_wrapLog(l,n){return new Xi(function(l){return Qo(l)}(l),this)}_wrapTransactionReceipt(l,n){return new lo(function(l){return qo(l)}(l),this)}_wrapTransactionResponse(l,n){return new no($o(l),this)}_detectNetwork(){T(!1,"sub-classes must implement this","UNSUPPORTED_OPERATION",{operation:"_detectNetwork"})}async _perform(l){T(!1,`unsupported method: ${l.method}`,"UNSUPPORTED_OPERATION",{operation:l.method,info:l})}async getBlockNumber(){const l=ll(await this.#Jl({method:"getBlockNumber"}),"%response");return this.#Hl>=0&&(this.#Hl=l),l}_getAddress(l){return Oe(l,this)}_getBlockTag(l){if(null==l)return"latest";switch(l){case"earliest":return"0x0";case"finalized":case"latest":case"pending":case"safe":return l}return L(l)?L(l,32)?l:tl(l):("bigint"==typeof l&&(l=ll(l,"blockTag")),"number"==typeof l?l>=0?tl(l):this.#Hl>=0?tl(this.#Hl+l):this.getBlockNumber().then((n=>tl(n+l))):void O(!1,"invalid blockTag","blockTag",l))}_getFilter(l){const n=(l.topics||[]).map((l=>null==l?null:Array.isArray(l)?ya(l.map((l=>l.toLowerCase()))):l.toLowerCase())),u="blockHash"in l?l.blockHash:void 0,t=(l,t,e)=>{let r;switch(l.length){case 0:break;case 1:r=l[0];break;default:l.sort(),r=l}if(u&&(null!=t||null!=e))throw new Error("invalid filter");const s={};return r&&(s.address=r),n.length&&(s.topics=n),t&&(s.fromBlock=t),e&&(s.toBlock=e),u&&(s.blockHash=u),s};let e,r,s=[];if(l.address)if(Array.isArray(l.address))for(const n of l.address)s.push(this._getAddress(n));else s.push(this._getAddress(l.address));return"fromBlock"in l&&(e=this._getBlockTag(l.fromBlock)),"toBlock"in l&&(r=this._getBlockTag(l.toBlock)),s.filter((l=>"string"!=typeof l)).length||null!=e&&"string"!=typeof e||null!=r&&"string"!=typeof r?Promise.all([Promise.all(s),e,r]).then((l=>t(l[0],l[1],l[2]))):t(s,e,r)}_getTransactionRequest(l){const n=Yi(l),u=[];if(["to","from"].forEach((l=>{if(null==n[l])return;const t=Oe(n[l],this);da(t)?u.push(async function(){n[l]=await t}()):n[l]=t})),null!=n.blockTag){const l=this._getBlockTag(n.blockTag);da(l)?u.push(async function(){n.blockTag=await l}()):n.blockTag=l}return u.length?async function(){return await Promise.all(u),n}():n}async getNetwork(){if(null==this.#Ml){const l=(async()=>{try{const l=await this._detectNetwork();return this.emit("network",l,null),l}catch(n){throw this.#Ml===l&&(this.#Ml=null),n}})();return this.#Ml=l,(await l).clone()}const l=this.#Ml,[n,u]=await Promise.all([l,this._detectNetwork()]);return n.chainId!==u.chainId&&(this.#Gl?(this.emit("network",u,n),this.#Ml===l&&(this.#Ml=Promise.resolve(u))):T(!1,`network changed: ${n.chainId} => ${u.chainId} `,"NETWORK_ERROR",{event:"changed"})),n.clone()}async getFeeData(){const l=await this.getNetwork(),n=async()=>{const{_block:n,gasPrice:u,priorityFee:t}=await v({_block:this.#zl("latest",!1),gasPrice:(async()=>{try{return W(await this.#Jl({method:"getGasPrice"}),"%response")}catch(l){}return null})(),priorityFee:(async()=>{try{return W(await this.#Jl({method:"getPriorityFee"}),"%response")}catch(l){}return null})()});let e=null,r=null;const s=this._wrapBlock(n,l);return s&&s.baseFeePerGas&&(r=null!=t?t:BigInt("1000000000"),e=s.baseFeePerGas*fa+r),new Wi(u,e,r)},u=l.getPlugin("org.ethers.plugins.network.FetchUrlFeeDataPlugin");if(u){const l=new Sl(u.url),t=await u.processFunc(n,this,l);return new Wi(t.gasPrice,t.maxFeePerGas,t.maxPriorityFeePerGas)}return await n()}async estimateGas(l){let n=this._getTransactionRequest(l);return da(n)&&(n=await n),W(await this.#Jl({method:"estimateGas",transaction:n}),"%response")}async#ql(l,n,u){T(u<10,"CCIP read exceeded maximum redirections","OFFCHAIN_FAULT",{reason:"TOO_MANY_REDIRECTS",transaction:Object.assign({},l,{blockTag:n,enableCcipRead:!0})});const t=Yi(l);try{return M(await this._perform({method:"call",transaction:t,blockTag:n}))}catch(l){if(!this.disableCcipRead&&N(l)&&l.data&&u>=0&&"latest"===n&&null!=t.to&&"0x556f1830"===H(l.data,0,4)){const e=l.data,r=await Oe(t.to,this);let s;try{s=function(l){const n={sender:"",urls:[],calldata:"",selector:"",extraData:"",errorArgs:[]};T(j(l)>=160,"insufficient OffchainLookup data","OFFCHAIN_FAULT",{reason:"insufficient OffchainLookup data"});const u=H(l,0,32);T(H(u,0,12)===H(Ta,0,12),"corrupt OffchainLookup sender","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup sender"}),n.sender=H(u,12);try{const u=[],t=ll(H(l,32,64)),e=ll(H(l,t,t+32)),r=H(l,t+32);for(let l=0;l<e;l++){const n=va(r,32*l);if(null==n)throw new Error("abort");u.push(n)}n.urls=u}catch(l){T(!1,"corrupt OffchainLookup urls","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup urls"})}try{const u=Ea(l,64);if(null==u)throw new Error("abort");n.calldata=u}catch(l){T(!1,"corrupt OffchainLookup calldata","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup calldata"})}T(H(l,100,128)===H(Ta,0,28),"corrupt OffchainLookup callbaackSelector","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup callbaackSelector"}),n.selector=H(l,96,100);try{const u=Ea(l,128);if(null==u)throw new Error("abort");n.extraData=u}catch(l){T(!1,"corrupt OffchainLookup extraData","OFFCHAIN_FAULT",{reason:"corrupt OffchainLookup extraData"})}return n.errorArgs="sender,urls,calldata,selector,extraData".split(/,/).map((l=>n[l])),n}(H(l.data,4))}catch(l){T(!1,l.message,"OFFCHAIN_FAULT",{reason:"BAD_DATA",transaction:t,info:{data:e}})}T(s.sender.toLowerCase()===r.toLowerCase(),"CCIP Read sender mismatch","CALL_EXCEPTION",{action:"call",data:e,reason:"OffchainLookup",transaction:t,invocation:null,revert:{signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",name:"OffchainLookup",args:s.errorArgs}});const i=await this.ccipReadFetch(t,s.calldata,s.urls);T(null!=i,"CCIP Read failed to fetch data","OFFCHAIN_FAULT",{reason:"FETCH_FAILED",transaction:t,info:{data:l.data,errorArgs:s.errorArgs}});const o={to:r,data:G([s.selector,Sa([i,s.extraData])])};this.emit("debug",{action:"sendCcipReadCall",transaction:o});try{const l=await this.#ql(o,n,u+1);return this.emit("debug",{action:"receiveCcipReadCallResult",transaction:Object.assign({},o),result:l}),l}catch(l){throw this.emit("debug",{action:"receiveCcipReadCallError",transaction:Object.assign({},o),error:l}),l}}throw l}}async#$l(l){const{value:n}=await v({network:this.getNetwork(),value:l});return n}async call(l){const{tx:n,blockTag:u}=await v({tx:this._getTransactionRequest(l),blockTag:this._getBlockTag(l.blockTag)});return await this.#$l(this.#ql(n,u,l.enableCcipRead?0:-1))}async#Wl(l,n,u){let t=this._getAddress(n),e=this._getBlockTag(u);return"string"==typeof t&&"string"==typeof e||([t,e]=await Promise.all([t,e])),await this.#$l(this.#Jl(Object.assign(l,{address:t,blockTag:e})))}async getBalance(l,n){return W(await this.#Wl({method:"getBalance"},l,n),"%response")}async getTransactionCount(l,n){return ll(await this.#Wl({method:"getTransactionCount"},l,n),"%response")}async getCode(l,n){return M(await this.#Wl({method:"getCode"},l,n))}async getStorage(l,n,u){const t=W(n,"position");return M(await this.#Wl({method:"getStorage",position:t},l,u))}async broadcastTransaction(l){const{blockNumber:n,hash:u,network:t}=await v({blockNumber:this.getBlockNumber(),hash:this._perform({method:"broadcastTransaction",signedTransaction:l}),network:this.getNetwork()}),e=Ss.from(l);if(e.hash!==u)throw new Error("@TODO: the returned hash did not match");return this._wrapTransactionResponse(e,t).replaceableTransaction(n)}async#zl(l,n){if(L(l,32))return await this.#Jl({method:"getBlock",blockHash:l,includeTransactions:n});let u=this._getBlockTag(l);return"string"!=typeof u&&(u=await u),await this.#Jl({method:"getBlock",blockTag:u,includeTransactions:n})}async getBlock(l,n){const{network:u,params:t}=await v({network:this.getNetwork(),params:this.#zl(l,!!n)});return null==t?null:this._wrapBlock(t,u)}async getTransaction(l){const{network:n,params:u}=await v({network:this.getNetwork(),params:this.#Jl({method:"getTransaction",hash:l})});return null==u?null:this._wrapTransactionResponse(u,n)}async getTransactionReceipt(l){const{network:n,params:u}=await v({network:this.getNetwork(),params:this.#Jl({method:"getTransactionReceipt",hash:l})});if(null==u)return null;if(null==u.gasPrice&&null==u.effectiveGasPrice){const n=await this.#Jl({method:"getTransaction",hash:l});if(null==n)throw new Error("report this; could not find tx or effectiveGasPrice");u.effectiveGasPrice=n.gasPrice}return this._wrapTransactionReceipt(u,n)}async getTransactionResult(l){const{result:n}=await v({network:this.getNetwork(),result:this.#Jl({method:"getTransactionResult",hash:l})});return null==n?null:M(n)}async getLogs(l){let n=this._getFilter(l);da(n)&&(n=await n);const{network:u,params:t}=await v({network:this.getNetwork(),params:this.#Jl({method:"getLogs",filter:n})});return t.map((l=>this._wrapLog(l,u)))}_getProvider(l){T(!1,"provider cannot connect to target network","UNSUPPORTED_OPERATION",{operation:"_getProvider()"})}async getResolver(l){return await _o.fromName(this,l)}async getAvatar(l){const n=await this.getResolver(l);return n?await n.getAvatar():null}async resolveName(l){const n=await this.getResolver(l);return n?await n.getAddress():null}async lookupAddress(l){const n=es((l=Ne(l)).substring(2).toLowerCase()+".addr.reverse");try{const u=await _o.getEnsAddress(this),t=new Bo(u,["function resolver(bytes32) view returns (address)"],this),e=await t.resolver(n);if(null==e||e===oe)return null;const r=new Bo(e,["function name(bytes32) view returns (string)"],this),s=await r.name(n);return await this.resolveName(s)!==l?null:s}catch(l){if(x(l,"BAD_DATA")&&"0x"===l.value)return null;if(x(l,"CALL_EXCEPTION"))return null;throw l}return null}async waitForTransaction(l,n,u){const t=null!=n?n:1;return 0===t?this.getTransactionReceipt(l):new Promise((async(n,e)=>{let r=null;const s=async u=>{try{const e=await this.getTransactionReceipt(l);if(null!=e&&u-e.blockNumber+1>=t)return n(e),void(r&&(clearTimeout(r),r=null))}catch(l){console.log("EEE",l)}this.once("block",s)};null!=u&&(r=setTimeout((()=>{null!=r&&(r=null,this.off("block",s),e(S("timeout","TIMEOUT",{reason:"timeout"})))}),u)),s(await this.getBlockNumber())}))}async waitForBlock(l){T(!1,"not implemented yet","NOT_IMPLEMENTED",{operation:"waitForBlock"})}_clearTimeout(l){const n=this.#Vl.get(l);n&&(n.timer&&clearTimeout(n.timer),this.#Vl.delete(l))}_setTimeout(l,n){null==n&&(n=0);const u=this.#Kl++,t=()=>{this.#Vl.delete(u),l()};if(this.paused)this.#Vl.set(u,{timer:null,func:t,time:n});else{const l=setTimeout(t,n);this.#Vl.set(u,{timer:l,func:t,time:wa()})}return u}_forEachSubscriber(l){for(const n of this.#Ll.values())l(n.subscriber)}_getSubscriber(l){switch(l.type){case"debug":case"error":case"network":return new ga(l.type);case"block":{const l=new sa(this);return l.pollingInterval=this.pollingInterval,l}case"safe":case"finalized":return new oa(this,l.type);case"event":return new ha(this,l.filter);case"transaction":return new ca(this,l.hash);case"orphan":return new aa(this,l.filter)}throw new Error(`unsupported event: ${l.type}`)}_recoverSubscriber(l,n){for(const u of this.#Ll.values())if(u.subscriber===l){u.started&&u.subscriber.stop(),u.subscriber=n,u.started&&n.start(),null!=this.#Fl&&n.pause(this.#Fl);break}}async#Yl(l,n){let u=await ma(l,this);return"event"===u.type&&n&&n.length>0&&!0===n[0].removed&&(u=await ma({orphan:"drop-log",log:n[0]},this)),this.#Ll.get(u.tag)||null}async#Zl(l){const n=await ma(l,this),u=n.tag;let t=this.#Ll.get(u);if(!t){t={subscriber:this._getSubscriber(n),tag:u,addressableMap:new WeakMap,nameMap:new Map,started:!1,listeners:[]},this.#Ll.set(u,t)}return t}async on(l,n){const u=await this.#Zl(l);return u.listeners.push({listener:n,once:!1}),u.started||(u.subscriber.start(),u.started=!0,null!=this.#Fl&&u.subscriber.pause(this.#Fl)),this}async once(l,n){const u=await this.#Zl(l);return u.listeners.push({listener:n,once:!0}),u.started||(u.subscriber.start(),u.started=!0,null!=this.#Fl&&u.subscriber.pause(this.#Fl)),this}async emit(l,...n){const u=await this.#Yl(l,n);if(!u||0===u.listeners.length)return!1;const t=u.listeners.length;return u.listeners=u.listeners.filter((({listener:u,once:t})=>{const e=new cl(this,t?null:u,l);try{u.call(this,...n,e)}catch(l){}return!t})),0===u.listeners.length&&(u.started&&u.subscriber.stop(),this.#Ll.delete(u.tag)),t>0}async listenerCount(l){if(l){const n=await this.#Yl(l);return n?n.listeners.length:0}let n=0;for(const{listeners:l}of this.#Ll.values())n+=l.length;return n}async listeners(l){if(l){const n=await this.#Yl(l);return n?n.listeners.map((({listener:l})=>l)):[]}let n=[];for(const{listeners:l}of this.#Ll.values())n=n.concat(l.map((({listener:l})=>l)));return n}async off(l,n){const u=await this.#Yl(l);if(!u)return this;if(n){const l=u.listeners.map((({listener:l})=>l)).indexOf(n);l>=0&&u.listeners.splice(l,1)}return n&&0!==u.listeners.length||(u.started&&u.subscriber.stop(),this.#Ll.delete(u.tag)),this}async removeAllListeners(l){if(l){const{tag:n,started:u,subscriber:t}=await this.#Zl(l);u&&t.stop(),this.#Ll.delete(n)}else for(const[l,{started:n,subscriber:u}]of this.#Ll)n&&u.stop(),this.#Ll.delete(l);return this}async addListener(l,n){return await this.on(l,n)}async removeListener(l,n){return this.off(l,n)}get destroyed(){return this.#_l}destroy(){this.removeAllListeners();for(const l of this.#Vl.keys())this._clearTimeout(l);this.#_l=!0}get paused(){return null!=this.#Fl}set paused(l){!!l!==this.paused&&(this.paused?this.resume():this.pause(!1))}pause(l){if(this.#Hl=-1,null!=this.#Fl){if(this.#Fl==!!l)return;T(!1,"cannot change pause type; resume first","UNSUPPORTED_OPERATION",{operation:"pause"})}this._forEachSubscriber((n=>n.pause(l))),this.#Fl=!!l;for(const l of this.#Vl.values())l.timer&&clearTimeout(l.timer),l.time=wa()-l.time}resume(){if(null!=this.#Fl){this._forEachSubscriber((l=>l.resume())),this.#Fl=null;for(const l of this.#Vl.values()){let n=l.time;n<0&&(n=0),l.time=wa(),setTimeout(l.func,n)}}}}function va(l,n){try{const u=Ea(l,n);if(u)return pl(u)}catch(l){}return null}function Ea(l,n){if("0x"===l)return null;try{const u=ll(H(l,n,n+32)),t=ll(H(l,u,u+32));return H(l,u+32,u+32+t)}catch(l){}return null}function ka(l){const n=ul(l);if(n.length>32)throw new Error("internal; should not happen");const u=new Uint8Array(32);return u.set(n,32-n.length),u}function xa(l){if(l.length%32==0)return l;const n=new Uint8Array(32*Math.ceil(l.length/32));return n.set(l),n}const Na=new Uint8Array([]);function Sa(l){const n=[];let u=0;for(let t=0;t<l.length;t++)n.push(Na),u+=32;for(let t=0;t<l.length;t++){const e=D(l[t]);n[t]=ka(u),n.push(ka(e.length)),n.push(xa(e)),u+=32+32*Math.ceil(e.length/32)}return G(n)}const Ta="0x0000000000000000000000000000000000000000000000000000000000000000";function Oa(l,n){if(l.provider)return l.provider;T(!1,"missing provider","UNSUPPORTED_OPERATION",{operation:n})}async function Pa(l,n){let u=Yi(n);if(null!=u.to&&(u.to=Oe(u.to,l)),null!=u.from){const n=u.from;u.from=Promise.all([l.getAddress(),Oe(n,l)]).then((([l,n])=>(O(l.toLowerCase()===n.toLowerCase(),"transaction from mismatch","tx.from",n),l)))}else u.from=l.getAddress();return await v(u)}class Ia{provider;constructor(l){E(this,{provider:l||null})}async getNonce(l){return Oa(this,"getTransactionCount").getTransactionCount(await this.getAddress(),l)}async populateCall(l){return await Pa(this,l)}async populateTransaction(l){const n=Oa(this,"populateTransaction"),u=await Pa(this,l);null==u.nonce&&(u.nonce=await this.getNonce("pending")),null==u.gasLimit&&(u.gasLimit=await this.estimateGas(u));const t=await this.provider.getNetwork();if(null!=u.chainId){O(W(u.chainId)===t.chainId,"transaction chainId mismatch","tx.chainId",l.chainId)}else u.chainId=t.chainId;const e=null!=u.maxFeePerGas||null!=u.maxPriorityFeePerGas;if(null==u.gasPrice||2!==u.type&&!e?0!==u.type&&1!==u.type||!e||O(!1,"pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","tx",l):O(!1,"eip-1559 transaction do not support gasPrice","tx",l),2!==u.type&&null!=u.type||null==u.maxFeePerGas||null==u.maxPriorityFeePerGas)if(0===u.type||1===u.type){const l=await n.getFeeData();T(null!=l.gasPrice,"network does not support gasPrice","UNSUPPORTED_OPERATION",{operation:"getGasPrice"}),null==u.gasPrice&&(u.gasPrice=l.gasPrice)}else{const l=await n.getFeeData();if(null==u.type)if(null!=l.maxFeePerGas&&null!=l.maxPriorityFeePerGas)if(u.type=2,null!=u.gasPrice){const l=u.gasPrice;delete u.gasPrice,u.maxFeePerGas=l,u.maxPriorityFeePerGas=l}else null==u.maxFeePerGas&&(u.maxFeePerGas=l.maxFeePerGas),null==u.maxPriorityFeePerGas&&(u.maxPriorityFeePerGas=l.maxPriorityFeePerGas);else null!=l.gasPrice?(T(!e,"network does not support EIP-1559","UNSUPPORTED_OPERATION",{operation:"populateTransaction"}),null==u.gasPrice&&(u.gasPrice=l.gasPrice),u.type=0):T(!1,"failed to get consistent fee data","UNSUPPORTED_OPERATION",{operation:"signer.getFeeData"});else 2!==u.type&&3!==u.type||(null==u.maxFeePerGas&&(u.maxFeePerGas=l.maxFeePerGas),null==u.maxPriorityFeePerGas&&(u.maxPriorityFeePerGas=l.maxPriorityFeePerGas))}else u.type=2;return await v(u)}async estimateGas(l){return Oa(this,"estimateGas").estimateGas(await this.populateCall(l))}async call(l){return Oa(this,"call").call(await this.populateCall(l))}async resolveName(l){const n=Oa(this,"resolveName");return await n.resolveName(l)}async sendTransaction(l){const n=Oa(this,"sendTransaction"),u=await this.populateTransaction(l);delete u.from;const t=Ss.from(u);return await n.broadcastTransaction(await this.signTransaction(t))}}class Ca extends Ia{address;constructor(l,n){super(n),E(this,{address:l})}async getAddress(){return this.address}connect(l){return new Ca(this.address,l)}#Xl(l,n){T(!1,`VoidSigner cannot sign ${l}`,"UNSUPPORTED_OPERATION",{operation:n})}async signTransaction(l){this.#Xl("transactions","signTransaction")}async signMessage(l){this.#Xl("messages","signMessage")}async signTypedData(l,n,u){this.#Xl("typed-data","signTypedData")}}class Ra{#Tl;#ln;#Ol;#Rl;#nn;#un;constructor(l){this.#Tl=l,this.#ln=null,this.#Ol=this.#Cl.bind(this),this.#Rl=!1,this.#nn=null,this.#un=!1}_subscribe(l){throw new Error("subclasses must override this")}_emitResults(l,n){throw new Error("subclasses must override this")}_recover(l){throw new Error("subclasses must override this")}async#Cl(l){try{null==this.#ln&&(this.#ln=this._subscribe(this.#Tl));let l=null;try{l=await this.#ln}catch(l){if(!x(l,"UNSUPPORTED_OPERATION")||"eth_newFilter"!==l.operation)throw l}if(null==l)return this.#ln=null,void this.#Tl._recoverSubscriber(this,this._recover(this.#Tl));const n=await this.#Tl.getNetwork();if(this.#nn||(this.#nn=n),this.#nn.chainId!==n.chainId)throw new Error("chaid changed");if(this.#un)return;const u=await this.#Tl.send("eth_getFilterChanges",[l]);await this._emitResults(this.#Tl,u)}catch(l){console.log("@TODO",l)}this.#Tl.once("block",this.#Ol)}#tn(){const l=this.#ln;l&&(this.#ln=null,l.then((l=>{this.#Tl.destroyed||this.#Tl.send("eth_uninstallFilter",[l])})))}start(){this.#Rl||(this.#Rl=!0,this.#Cl(-2))}stop(){this.#Rl&&(this.#Rl=!1,this.#un=!0,this.#tn(),this.#Tl.off("block",this.#Ol))}pause(l){l&&this.#tn(),this.#Tl.off("block",this.#Ol)}resume(){this.start()}}class Ba extends Ra{#en;constructor(l,n){var u;super(l),this.#en=(u=n,JSON.parse(JSON.stringify(u)))}_recover(l){return new ha(l,this.#en)}async _subscribe(l){return await l.send("eth_newFilter",[this.#en])}async _emitResults(l,n){for(const u of n)l.emit(this.#en,l._wrapLog(u,l._network))}}class Da extends Ra{async _subscribe(l){return await l.send("eth_newPendingTransactionFilter",[])}async _emitResults(l,n){for(const u of n)l.emit("pending",u)}}const Ua="bigint,boolean,function,number,string,symbol".split(/,/g);function La(l){if(null==l||Ua.indexOf(typeof l)>=0)return l;if("function"==typeof l.getAddress)return l;if(Array.isArray(l))return l.map(La);if("object"==typeof l)return Object.keys(l).reduce(((n,u)=>(n[u]=l[u],n)),{});throw new Error(`should not happen: ${l} (${typeof l})`)}function Fa(l){return new Promise((n=>{setTimeout(n,l)}))}function _a(l){return l?l.toLowerCase():l}function Ma(l){return l&&"number"==typeof l.pollingInterval}const Ga={polling:!1,staticNetwork:null,batchStallTime:10,batchMaxSize:1<<20,batchMaxCount:100,cacheTimeout:250,pollingInterval:4e3};class ja extends Ia{address;constructor(l,n){super(l),E(this,{address:n=Ne(n)})}connect(l){T(!1,"cannot reconnect JsonRpcSigner","UNSUPPORTED_OPERATION",{operation:"signer.connect"})}async getAddress(){return this.address}async populateTransaction(l){return await this.populateCall(l)}async sendUncheckedTransaction(l){const n=La(l),u=[];if(n.from){const t=n.from;u.push((async()=>{const u=await Oe(t,this.provider);O(null!=u&&u.toLowerCase()===this.address.toLowerCase(),"from address mismatch","transaction",l),n.from=u})())}else n.from=this.address;if(null==n.gasLimit&&u.push((async()=>{n.gasLimit=await this.provider.estimateGas({...n,from:this.address})})()),null!=n.to){const l=n.to;u.push((async()=>{n.to=await Oe(l,this.provider)})())}u.length&&await Promise.all(u);const t=this.provider.getRpcTransaction(n);return this.provider.send("eth_sendTransaction",[t])}async sendTransaction(l){const n=await this.provider.getBlockNumber(),u=await this.sendUncheckedTransaction(l);return await new Promise(((l,t)=>{const e=[1e3,100];let r=0;const s=async()=>{try{const t=await this.provider.getTransaction(u);if(null!=t)return void l(t.replaceableTransaction(n))}catch(l){if(x(l,"CANCELLED")||x(l,"BAD_DATA")||x(l,"NETWORK_ERROR")||x(l,"UNSUPPORTED_OPERATION"))return null==l.info&&(l.info={}),l.info.sendTransactionHash=u,void t(l);if(x(l,"INVALID_ARGUMENT")&&(r++,null==l.info&&(l.info={}),l.info.sendTransactionHash=u,r>10))return void t(l);this.provider.emit("error",S("failed to fetch transation after sending (will try again)","UNKNOWN_ERROR",{error:l}))}this.provider._setTimeout((()=>{s()}),e.pop()||4e3)};s()}))}async signTransaction(l){const n=La(l);if(n.from){const u=await Oe(n.from,this.provider);O(null!=u&&u.toLowerCase()===this.address.toLowerCase(),"from address mismatch","transaction",l),n.from=u}else n.from=this.address;const u=this.provider.getRpcTransaction(n);return await this.provider.send("eth_signTransaction",[u])}async signMessage(l){const n="string"==typeof l?dl(l):l;return await this.provider.send("personal_sign",[M(n),this.address.toLowerCase()])}async signTypedData(l,n,u){const t=La(u),e=await Hs.resolveNames(l,n,t,(async l=>{const n=await Oe(l);return O(null!=n,"TypedData does not support null address","value",l),n}));return await this.provider.send("eth_signTypedData_v4",[this.address.toLowerCase(),JSON.stringify(Hs.getPayload(e.domain,n,e.value))])}async unlock(l){return this.provider.send("personal_unlockAccount",[this.address.toLowerCase(),l,null])}async _legacySignMessage(l){const n="string"==typeof l?dl(l):l;return await this.provider.send("eth_sign",[this.address.toLowerCase(),M(n)])}}class Ha extends Aa{#_;#rn;#sn;#in;#on;#nn;#an;#cn(){if(this.#in)return;const l=1===this._getOption("batchMaxCount")?0:this._getOption("batchStallTime");this.#in=setTimeout((()=>{this.#in=null;const l=this.#sn;for(this.#sn=[];l.length;){const n=[l.shift()];for(;l.length&&n.length!==this.#_.batchMaxCount;){n.push(l.shift());if(JSON.stringify(n.map((l=>l.payload))).length>this.#_.batchMaxSize){l.unshift(n.pop());break}}(async()=>{const l=1===n.length?n[0].payload:n.map((l=>l.payload));this.emit("debug",{action:"sendRpcPayload",payload:l});try{const u=await this._send(l);this.emit("debug",{action:"receiveRpcResult",result:u});for(const{resolve:l,reject:t,payload:e}of n){if(this.destroyed){t(S("provider destroyed; cancelled request","UNSUPPORTED_OPERATION",{operation:e.method}));continue}const n=u.filter((l=>l.id===e.id))[0];if(null!=n)"error"in n?t(this.getRpcError(e,n)):l(n.result);else{const l=S("missing response for request","BAD_DATA",{value:u,info:{payload:e}});this.emit("error",l),t(l)}}}catch(l){this.emit("debug",{action:"receiveRpcError",error:l});for(const{reject:u}of n)u(l)}})()}}),l)}constructor(l,n){super(l,n),this.#rn=1,this.#_=Object.assign({},Ga,n||{}),this.#sn=[],this.#in=null,this.#nn=null,this.#an=null;{let l=null;const n=new Promise((n=>{l=n}));this.#on={promise:n,resolve:l}}const u=this._getOption("staticNetwork");"boolean"==typeof u?(O(!u||"any"!==l,"staticNetwork cannot be used on special network 'any'","options",n),u&&null!=l&&(this.#nn=na.from(l))):u&&(O(null==l||u.matches(l),"staticNetwork MUST match network object","options",n),this.#nn=u)}_getOption(l){return this.#_[l]}get _network(){return T(this.#nn,"network is not available yet","NETWORK_ERROR"),this.#nn}async _perform(l){if("call"===l.method||"estimateGas"===l.method){let n=l.transaction;if(n&&null!=n.type&&W(n.type)&&null==n.maxFeePerGas&&null==n.maxPriorityFeePerGas){const u=await this.getFeeData();null==u.maxFeePerGas&&null==u.maxPriorityFeePerGas&&(l=Object.assign({},l,{transaction:Object.assign({},n,{type:void 0})}))}}const n=this.getRpcRequest(l);return null!=n?await this.send(n.method,n.args):super._perform(l)}async _detectNetwork(){const l=this._getOption("staticNetwork");if(l){if(!0!==l)return l;if(this.#nn)return this.#nn}return this.#an?await this.#an:this.ready?(this.#an=(async()=>{try{const l=na.from(W(await this.send("eth_chainId",[])));return this.#an=null,l}catch(l){throw this.#an=null,l}})(),await this.#an):(this.#an=(async()=>{const l={id:this.#rn++,method:"eth_chainId",params:[],jsonrpc:"2.0"};let n;this.emit("debug",{action:"sendRpcPayload",payload:l});try{n=(await this._send(l))[0],this.#an=null}catch(l){throw this.#an=null,this.emit("debug",{action:"receiveRpcError",error:l}),l}if(this.emit("debug",{action:"receiveRpcResult",result:n}),"result"in n)return na.from(W(n.result));throw this.getRpcError(l,n)})(),await this.#an)}_start(){null!=this.#on&&null!=this.#on.resolve&&(this.#on.resolve(),this.#on=null,(async()=>{for(;null==this.#nn&&!this.destroyed;)try{this.#nn=await this._detectNetwork()}catch(l){if(this.destroyed)break;console.log("JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)"),this.emit("error",S("failed to bootstrap network detection","NETWORK_ERROR",{event:"initial-network-discovery",info:{error:l}})),await Fa(1e3)}this.#cn()})())}async _waitUntilReady(){if(null!=this.#on)return await this.#on.promise}_getSubscriber(l){return"pending"===l.type?new Da(this):"event"===l.type?this._getOption("polling")?new ha(this,l.filter):new Ba(this,l.filter):"orphan"===l.type&&"drop-log"===l.filter.orphan?new ga("orphan"):super._getSubscriber(l)}get ready(){return null==this.#on}getRpcTransaction(l){const n={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((u=>{if(null==l[u])return;let t=u;"gasLimit"===u&&(t="gas"),n[t]=tl(W(l[u],`tx.${u}`))})),["from","to","data"].forEach((u=>{null!=l[u]&&(n[u]=M(l[u]))})),l.accessList&&(n.accessList=is(l.accessList)),l.blobVersionedHashes&&(n.blobVersionedHashes=l.blobVersionedHashes.map((l=>l.toLowerCase()))),n}getRpcRequest(l){switch(l.method){case"chainId":return{method:"eth_chainId",args:[]};case"getBlockNumber":return{method:"eth_blockNumber",args:[]};case"getGasPrice":return{method:"eth_gasPrice",args:[]};case"getPriorityFee":return{method:"eth_maxPriorityFeePerGas",args:[]};case"getBalance":return{method:"eth_getBalance",args:[_a(l.address),l.blockTag]};case"getTransactionCount":return{method:"eth_getTransactionCount",args:[_a(l.address),l.blockTag]};case"getCode":return{method:"eth_getCode",args:[_a(l.address),l.blockTag]};case"getStorage":return{method:"eth_getStorageAt",args:[_a(l.address),"0x"+l.position.toString(16),l.blockTag]};case"broadcastTransaction":return{method:"eth_sendRawTransaction",args:[l.signedTransaction]};case"getBlock":if("blockTag"in l)return{method:"eth_getBlockByNumber",args:[l.blockTag,!!l.includeTransactions]};if("blockHash"in l)return{method:"eth_getBlockByHash",args:[l.blockHash,!!l.includeTransactions]};break;case"getTransaction":return{method:"eth_getTransactionByHash",args:[l.hash]};case"getTransactionReceipt":return{method:"eth_getTransactionReceipt",args:[l.hash]};case"call":return{method:"eth_call",args:[this.getRpcTransaction(l.transaction),l.blockTag]};case"estimateGas":return{method:"eth_estimateGas",args:[this.getRpcTransaction(l.transaction)]};case"getLogs":return l.filter&&null!=l.filter.address&&(Array.isArray(l.filter.address)?l.filter.address=l.filter.address.map(_a):l.filter.address=_a(l.filter.address)),{method:"eth_getLogs",args:[l.filter]}}return null}getRpcError(l,n){const{method:u}=l,{error:t}=n;if("eth_estimateGas"===u&&t.message){const n=t.message;if(!n.match(/revert/i)&&n.match(/insufficient funds/i))return S("insufficient funds","INSUFFICIENT_FUNDS",{transaction:l.params[0],info:{payload:l,error:t}})}if("eth_call"===u||"eth_estimateGas"===u){const n=Qa(t),e=Mi.getBuiltinCallException("eth_call"===u?"call":"estimateGas",l.params[0],n?n.data:null);return e.info={error:t,payload:l},e}const e=JSON.stringify(function(l){const n=[];return Ja(l,n),n}(t));if("string"==typeof t.message&&t.message.match(/user denied|ethers-user-denied/i)){return S("user rejected action","ACTION_REJECTED",{action:{eth_sign:"signMessage",personal_sign:"signMessage",eth_signTypedData_v4:"signTypedData",eth_signTransaction:"signTransaction",eth_sendTransaction:"sendTransaction",eth_requestAccounts:"requestAccess",wallet_requestAccounts:"requestAccess"}[u]||"unknown",reason:"rejected",info:{payload:l,error:t}})}if("eth_sendRawTransaction"===u||"eth_sendTransaction"===u){const n=l.params[0];if(e.match(/insufficient funds|base fee exceeds gas limit/i))return S("insufficient funds for intrinsic transaction cost","INSUFFICIENT_FUNDS",{transaction:n,info:{error:t}});if(e.match(/nonce/i)&&e.match(/too low/i))return S("nonce has already been used","NONCE_EXPIRED",{transaction:n,info:{error:t}});if(e.match(/replacement transaction/i)&&e.match(/underpriced/i))return S("replacement fee too low","REPLACEMENT_UNDERPRICED",{transaction:n,info:{error:t}});if(e.match(/only replay-protected/i))return S("legacy pre-eip-155 transactions not supported","UNSUPPORTED_OPERATION",{operation:u,info:{transaction:n,info:{error:t}}})}let r=!!e.match(/the method .* does not exist/i);return r||t&&t.details&&t.details.startsWith("Unauthorized method:")&&(r=!0),r?S("unsupported operation","UNSUPPORTED_OPERATION",{operation:l.method,info:{error:t,payload:l}}):S("could not coalesce error","UNKNOWN_ERROR",{error:t,payload:l})}send(l,n){if(this.destroyed)return Promise.reject(S("provider destroyed; cancelled request","UNSUPPORTED_OPERATION",{operation:l}));const u=this.#rn++,t=new Promise(((t,e)=>{this.#sn.push({resolve:t,reject:e,payload:{method:l,params:n,id:u,jsonrpc:"2.0"}})}));return this.#cn(),t}async getSigner(l){null==l&&(l=0);const n=this.send("eth_accounts",[]);if("number"==typeof l){const u=await n;if(l>=u.length)throw new Error("no such account");return new ja(this,u[l])}const{accounts:u}=await v({network:this.getNetwork(),accounts:n});l=Ne(l);for(const n of u)if(Ne(n)===l)return new ja(this,l);throw new Error("invalid account")}async listAccounts(){return(await this.send("eth_accounts",[])).map((l=>new ja(this,l)))}destroy(){this.#in&&(clearTimeout(this.#in),this.#in=null);for(const{payload:l,reject:n}of this.#sn)n(S("provider destroyed; cancelled request","UNSUPPORTED_OPERATION",{operation:l.method}));this.#sn=[],super.destroy()}}class Ka extends Ha{#hn;constructor(l,n){super(l,n);let u=this._getOption("pollingInterval");null==u&&(u=Ga.pollingInterval),this.#hn=u}_getSubscriber(l){const n=super._getSubscriber(l);return Ma(n)&&(n.pollingInterval=this.#hn),n}get pollingInterval(){return this.#hn}set pollingInterval(l){if(!Number.isInteger(l)||l<0)throw new Error("invalid interval");this.#hn=l,this._forEachSubscriber((l=>{Ma(l)&&(l.pollingInterval=this.#hn)}))}}class Va extends Ka{#fn;constructor(l,n,u){null==l&&(l="http://localhost:8545"),super(n,u),this.#fn="string"==typeof l?new Sl(l):l.clone()}_getConnection(){return this.#fn.clone()}async send(l,n){return await this._start(),await super.send(l,n)}async _send(l){const n=this._getConnection();n.body=JSON.stringify(l),n.setHeader("content-type","application/json");const u=await n.send();u.assertOk();let t=u.bodyJson;return Array.isArray(t)||(t=[t]),t}}function Qa(l){if(null==l)return null;if("string"==typeof l.message&&l.message.match(/revert/i)&&L(l.data))return{message:l.message,data:l.data};if("object"==typeof l){for(const n in l){const u=Qa(l[n]);if(u)return u}return null}if("string"==typeof l)try{return Qa(JSON.parse(l))}catch(l){}return null}function Ja(l,n){if(null!=l){if("string"==typeof l.message&&n.push(l.message),"object"==typeof l)for(const u in l)Ja(l[u],n);if("string"==typeof l)try{return Ja(JSON.parse(l),n)}catch(l){}}}class za extends Ka{#v;constructor(l,n,u){const t=Object.assign({},null!=u?u:{},{batchMaxCount:1});O(l&&l.request,"invalid EIP-1193 provider","ethereum",l),super(n,t),this.#v=async(n,u)=>{const t={method:n,params:u};this.emit("debug",{action:"sendEip1193Request",payload:t});try{const n=await l.request(t);return this.emit("debug",{action:"receiveEip1193Result",result:n}),n}catch(l){const n=new Error(l.message);throw n.code=l.code,n.data=l.data,n.payload=t,this.emit("debug",{action:"receiveEip1193Error",error:n}),n}}}async send(l,n){return await this._start(),await super.send(l,n)}async _send(l){O(!Array.isArray(l),"EIP-1193 does not support batch request","payload",l);try{const n=await this.#v(l.method,l.params||[]);return[{id:l.id,result:n}]}catch(n){return[{id:l.id,error:{code:n.code,data:n.data,message:n.message}}]}}getRpcError(l,n){switch((n=JSON.parse(JSON.stringify(n))).error.code||-1){case 4001:n.error.message=`ethers-user-denied: ${n.error.message}`;break;case 4200:n.error.message=`ethers-unsupported: ${n.error.message}`}return super.getRpcError(l,n)}async hasSigner(l){null==l&&(l=0);const n=await this.send("eth_accounts",[]);return"number"==typeof l?n.length>l:(l=l.toLowerCase(),0!==n.filter((n=>n.toLowerCase()===l)).length)}async getSigner(l){if(null==l&&(l=0),!await this.hasSigner(l))try{await this.#v("eth_requestAccounts",[])}catch(l){const n=l.payload;throw this.getRpcError(n,{id:n.id,error:l})}return await super.getSigner(l)}}class qa extends Ia{address;#dn;constructor(l,n){super(n),O(l&&"function"==typeof l.sign,"invalid private key","privateKey","[ REDACTED ]"),this.#dn=l;E(this,{address:os(this.signingKey.publicKey)})}get signingKey(){return this.#dn}get privateKey(){return this.signingKey.privateKey}async getAddress(){return this.address}connect(l){return new qa(this.#dn,l)}async signTransaction(l){l=Yi(l);const{to:n,from:u}=await v({to:l.to?Oe(l.to,this.provider):void 0,from:l.from?Oe(l.from,this.provider):void 0});null!=n&&(l.to=n),null!=u&&(l.from=u),null!=l.from&&(O(Ne(l.from)===this.address,"transaction from address mismatch","tx.from",l.from),delete l.from);const t=Ss.from(l);return t.signature=this.signingKey.sign(t.unsignedHash),t.serialized}async signMessage(l){return this.signMessageSync(l)}signMessageSync(l){return this.signingKey.sign(Ts(l)).serialized}async signTypedData(l,n,u){const t=await Hs.resolveNames(l,n,u,(async l=>{T(null!=this.provider,"cannot resolve ENS names without a provider","UNSUPPORTED_OPERATION",{operation:"resolveName",info:{name:l}});const n=await this.provider.resolveName(l);return T(null!=n,"unconfigured ENS name","UNCONFIGURED_NAME",{value:l}),n}));return this.signingKey.sign(Hs.hash(t.domain,n,t.value)).serialized}}const $a=" !#$%&'()*+,-./<=>?@[]^_`{|}~",Wa=/^[a-z]*$/i;function Ya(l,n){let u=97;return l.reduce(((l,t)=>(t===n?u++:t.match(Wa)?l.push(String.fromCharCode(u)+t):(u=97,l.push(t)),l)),[])}function Za(l){return O("0"===l[0],"unsupported auwl data","data",l),function(l,n){for(let u=28;u>=0;u--)l=l.split($a[u]).join(n.substring(2*u,2*u+2));const u=[],t=l.replace(/(:|([0-9])|([A-Z][a-z]*))/g,((l,n,t,e)=>{if(t)for(let l=parseInt(t);l>=0;l--)u.push(";");else u.push(n.toLowerCase());return""}));if(t)throw new Error(`leftovers: ${JSON.stringify(t)}`);return Ya(Ya(u,";"),":")}(l.substring(59),l.substring(1,59))}class Xa{locale;constructor(l){E(this,{locale:l})}split(l){return l.toLowerCase().split(/\s+/g)}join(l){return l.join(" ")}}class lc extends Xa{#x;#pn;constructor(l,n,u){super(l),this.#x=n,this.#pn=u,this.#gn=null}get _data(){return this.#x}_decodeWords(){return Za(this.#x)}#gn;#yn(){if(null==this.#gn){const l=this._decodeWords();if(Ye(l.join("\n")+"\n")!==this.#pn)throw new Error(`BIP39 Wordlist for ${this.locale} FAILED`);this.#gn=l}return this.#gn}getWord(l){const n=this.#yn();return O(l>=0&&l<n.length,`invalid word index: ${l}`,"index",l),n[l]}getWordIndex(l){return this.#yn().indexOf(l)}}let nc=null;class uc extends lc{constructor(){super("en","0erleonalorenseinceregesticitStanvetearctssi#ch2Athck&tneLl0And#Il.yLeOutO=S|S%b/ra@SurdU'0Ce[Cid|CountCu'Hie=IdOu,-Qui*Ro[TT]T%T*[Tu$0AptDD-tD*[Ju,M.UltV<)Vi)0Rob-0FairF%dRaid0A(EEntRee0Ead0MRRp%tS!_rmBumCoholErtI&LLeyLowMo,O}PhaReadySoT Ways0A>urAz(gOngOuntU'd0Aly,Ch%Ci|G G!GryIm$K!Noun)Nu$O` Sw T&naTiqueXietyY1ArtOlogyPe?P!Pro=Ril1ChCt-EaEnaGueMMedM%MyOundR<+Re,Ri=RowTTefa@Ti,Tw%k0KPe@SaultSetSi,SumeThma0H!>OmTa{T&dT.udeTra@0Ct]D.Gu,NtTh%ToTumn0Era+OcadoOid0AkeA*AyEsomeFulKw?d0Is:ByChel%C#D+GL<)Lc#y~MbooN<aNn RRelyRga(R*lSeS-SketTt!3A^AnAutyCau'ComeEfF%eG(Ha=H(dLie=LowLtN^Nef./TrayTt Twe&Y#d3Cyc!DKeNdOlogyRdR`Tt _{AdeAmeAnketA,EakE[IndOodO[omOu'UeUrUsh_rdAtDyIlMbNeNusOkO,Rd R(gRrowSsTtomUn)XY_{etA(AndA[A=EadEezeI{Id+IefIghtIngIskOccoliOk&OnzeOomO` OwnUsh2Bb!DdyD+tFf$oIldLbLkL!tNd!Nk Rd&Rg R,SS(e[SyTt Y Zz:Bba+B(B!CtusGeKe~LmM aMpNN$N)lNdyNn#NoeNvasNy#Pab!P.$Pta(RRb#RdRgoRpetRryRtSeShS(o/!Su$TT$ogT^Teg%yTt!UghtU'Ut]Ve3Il(gL yM|NsusNturyRe$Rta(_irAlkAmp]An+AosApt Ar+A'AtEapE{Ee'EfErryE,I{&IefIldIm}yOi)Oo'R#-U{!UnkUrn0G?Nnam#Rc!Tiz&TyVil_imApArifyAwAyE<ErkEv I{I|IffImbIn-IpO{OgO'O`OudOwnUbUmpU, Ut^_^A,C#utDeFfeeIlInL!@L%LumnMb(eMeMf%tM-Mm#Mp<yNc tNdu@NfirmNg*[N}@Nsid NtrolNv()OkOlPp PyR$ReRnR*@/Tt#U^UntryUp!Ur'Us(V Yo>_{Ad!AftAmA}AshAt AwlAzyEamEd.EekEwI{etImeIspIt-OpO[Ou^OwdUci$UelUi'Umb!Un^UshYY,$2BeLtu*PPbo?dRiousRr|Rta(R=Sh]/omTe3C!:DMa+MpN)Ng R(gShUght WnY3AlBa>BrisCadeCemb CideCl(eC%a>C*a'ErF&'F(eFyG*eLayLiv M<dMi'Ni$Nti,NyP?tP&dPos.P`PutyRi=ScribeS tSignSkSpair/royTailTe@VelopVi)Vo>3AgramAlAm#dAryCeE'lEtFf G.$Gn.yLemmaNn NosaurRe@RtSag*eScov Sea'ShSmi[S%d Splay/<)V tVideV%)Zzy5Ct%Cum|G~Lph(Ma(Na>NkeyN%OrSeUb!Ve_ftAg#AmaA,-AwEamE[IftIllInkIpI=OpUmY2CkMbNeR(g/T^Ty1Arf1Nam-:G G!RlyRnR`Sily/Sy1HoOlogyOnomy0GeItUca>1F%t0G1GhtTh 2BowD E@r-Eg<tEm|Eph<tEvat%I>Se0B?kBodyBra)Er+Ot]PloyPow Pty0Ab!A@DD![D%'EmyErgyF%)Ga+G(eH<)JoyLi,OughR-hRollSu*T Ti*TryVelope1Isode0U$Uip0AA'OdeOs]R%Upt0CapeSayS&)Ta>0Ern$H-s1Id&)IlOkeOl=1A@Amp!Ce[Ch<+C.eCludeCu'Ecu>Erci'Hau,Hib.I!I,ItOt-P<dPe@Pi*Pla(Po'P*[T&dTra0EEbrow:Br-CeCultyDeIntI`~L'MeMilyMousNNcyNtasyRmSh]TT$Th TigueUltV%.e3Atu*Bru?yD $EEdElMa!N)/iv$T^V W3B Ct]EldGu*LeLmLt N$NdNeNg NishReRmR,Sc$ShTT}[X_gAmeAshAtAv%EeIghtIpOatO{O%Ow UidUshY_mCusGIlLd~owOdOtR)Re,R+tRkRtu}RumRw?dSsil/ UndX_gi!AmeEqu|EshI&dIn+OgOntO,OwnOz&U.2ElNNnyRna)RyTu*:D+tInLaxy~ yMePRa+Rba+Rd&Rl-Rm|SSpTeTh U+Ze3N $NiusN*Nt!Nu(e/u*2O,0AntFtGg!Ng RaffeRlVe_dAn)A*A[IdeImp'ObeOomOryO=OwUe_tDde[LdOdO'RillaSpelSsipV nWn_bA)A(AntApeA[Av.yEatE&IdIefItOc yOupOwUnt_rdE[IdeIltIt?N3M:B.IrLfMm M, NdPpyRb%RdRshR=,TVeWkZ?d3AdAl`ArtAvyD+hogIght~oLmetLpNRo3Dd&Gh~NtPRe/%y5BbyCkeyLdLeLiday~owMeNeyOdPeRnRr%R'Sp.$/TelUrV 5BGeM<Mb!M%Nd*dNgryNtRd!RryRtSb<d3Brid:1EOn0EaEntifyLe2N%e4LLeg$L}[0A+Ita>M&'Mu}Pa@Po'Pro=Pul'0ChCludeComeC*a'DexD-a>Do%Du,ryF<tFl-tF%mHa!H .Iti$Je@JuryMa>N Noc|PutQuiryS<eSe@SideSpi*/$lTa@T e,ToVe,V.eVol=3On0L<dOla>Sue0Em1Ory:CketGu?RZz3AlousAns~yWel9BInKeUr}yY5D+I)MpNg!Ni%Nk/:Ng?oo3EnEpT^upY3CkDD}yNdNgdomSsTT^&TeTt&Wi4EeIfeO{Ow:BBelB%Dd DyKeMpNgua+PtopR+T T(UghUndryVaWWnWsu.Y Zy3Ad AfArnA=Ctu*FtGG$G&dIsu*M#NdNg`NsOp?dSs#Tt Vel3ArB tyBr?yC&'FeFtGhtKeMbM.NkOnQuid/Tt!VeZ?d5AdAnB, C$CkG-NelyNgOpTt yUdUn+VeY$5CkyGga+Mb N?N^Xury3R-s:Ch(eDG-G}tIdIlInJ%KeMm$NNa+Nda>NgoNs]Nu$P!Rb!R^Rg(R(eRketRria+SkSs/ T^T i$ThTrixTt XimumZe3AdowAnAsu*AtCh<-D$DiaLodyLtMb M%yNt]NuRcyR+R.RryShSsa+T$Thod3Dd!DnightLk~]M-NdNimumN%Nu>Rac!Rr%S ySs/akeXXedXtu*5Bi!DelDifyMM|N.%NkeyN, N`OnR$ReRn(gSqu.oTh T]T%Unta(U'VeVie5ChFf(LeLtiplySc!SeumShroomS-/Tu$3Self/ yTh:I=MePk(Rrow/yT]Tu*3ArCkEdGati=G!@I` PhewR=/TTw%kUtr$V WsXt3CeGht5B!I'M(eeOd!Rm$R`SeTab!TeTh(gTi)VelW5C!?Mb R'T:K0EyJe@Li+Scu*S =Ta(Vious0CurE<Tob 0Or1FF Fi)T&2L1Ay0DI=Ymp-0It0CeEI#L(eLy1EnEraIn]Po'T]1An+B.Ch?dD D(?yG<I|Ig($Ph<0Tr-h0H 0Tdo%T TputTside0AlEnEr0NN 0Yg&0/ 0O}:CtDd!GeIrLa)LmNdaNelN-N` P RadeR|RkRrotRtySsT^ThTi|TrolTt nU'VeYm|3A)AnutArAs<tL-<NN$tyNcilOp!Pp Rfe@Rm.Rs#T2O}OtoRa'Ys-$0AnoCn-Ctu*E)GGe#~LotNkO} Pe/olT^Zza_)A}tA,-A>AyEa'Ed+U{UgUn+2EmEtIntL?LeLi)NdNyOlPul?Rt]S.]Ssib!/TatoTt yV tyWd W _@i)Ai'Ed-tEf Epa*Es|EttyEv|I)IdeIm?yIntI%.yIs#Iva>IzeOb!mO)[Odu)Of.OgramOje@Omo>OofOp tyOsp O>@OudOvide2Bl-Dd(g~LpL'Mpk(N^PilPpyR^a'R.yRpo'R'ShTZz!3Ramid:99Al.yAntumArt E,]I{ItIzO>:Bb.Cco#CeCkD?DioIlInI'~yMpN^NdomN+PidReTeTh V&WZ%3AdyAlAs#BelBuildC$lCei=CipeC%dCyc!Du)F!@F%mFu'G]G*tGul?Je@LaxLea'LiefLyMa(Memb M(dMo=Nd NewNtOp&PairPeatPla)P%tQui*ScueSemb!Si,Sour)Sp#'SultTi*T*atTurnUn]Ve$ViewW?d2Y`m0BBb#CeChDeD+F!GhtGidNgOtPp!SkTu$V$V 5AdA,BotBu,CketM<)OfOkieOmSeTa>UghUndU>Y$5Bb DeGLeNNwayR$:DDd!D}[FeIlLadLm#L#LtLu>MeMp!NdTisfyToshiU)Usa+VeY1A!AnA*Att E}HemeHoolI&)I[%sOrp]OutRapRe&RiptRub1AAr^As#AtC#dC*tCt]Cur.yEdEkGm|Le@~M(?Ni%N'Nt&)RiesRvi)Ss]Tt!TupV&_dowAftAllowA*EdEllEriffIeldIftI}IpIv O{OeOotOpOrtOuld O=RimpRugUff!Y0Bl(gCkDeE+GhtGnL|Lk~yLv Mil?Mp!N)NgR&/ Tua>XZe1A>Et^IIllInIrtUll0AbAmEepEnd I)IdeIghtImOg<OtOwUsh0AllArtI!OkeOo`0A{AkeApIffOw0ApCc Ci$CkDaFtL?Ldi LidLut]L=Me#eNgOnRryRtUlUndUpUr)U`0A)A*Ati$AwnEakEci$EedEllEndH eI)Id IkeInIr.L.OilOns%O#OrtOtRayReadR(gY0Ua*UeezeUir*l_b!AdiumAffA+AirsAmpAndArtA>AyEakEelEmEpE*oI{IllIngO{Oma^O}OolOryO=Ra>gyReetRikeR#gRugg!Ud|UffUmb!Y!0Bje@Bm.BwayC)[ChDd&Ff G?G+,ItMm NNnyN'tP PplyP*meReRfa)R+Rpri'RroundR=ySpe@/a(1AllowAmpApArmE?EetIftImIngIt^Ord1MbolMptomRup/em:B!Ck!GIlL|LkNkPeR+tSk/eTtooXi3A^Am~NN<tNnisNtRm/Xt_nkAtEmeEnE%yE*EyIngIsOughtReeRi=RowUmbUnd 0CketDeG LtMb MeNyPRedSsueT!5A,BaccoDayDdl EGe` I!tK&MatoM%rowNeNgueNightOlO`PP-Pp!R^RnadoRtoi'SsT$Uri,W?dW WnY_{AdeAff-Ag-A(Ansf ApAshA=lAyEatEeEndI$IbeI{Igg ImIpOphyOub!U{UeUlyUmpetU,U`Y2BeIt]Mb!NaN}lRkeyRnRt!1El=EntyI)InI,O1PeP-$:5Ly5B*lla0Ab!Awa*C!Cov D DoFairFoldHappyIf%mIqueItIv 'KnownLo{TilUsu$Veil1Da>GradeHoldOnP Set1B<Ge0A+EEdEfulE![U$0Il.y:C<tCuumGueLidL!yL=NNishP%Rious/Ult3H-!L=tNd%Ntu*NueRbRifyRs]RyS'lT <3Ab!Br<tCiousCt%yDeoEw~a+Nta+Ol(Rtu$RusSaS.Su$T$Vid5C$I)IdLc<oLumeTeYa+:GeG#ItLk~LnutNtRfa*RmRri%ShSp/eT VeY3Al`Ap#ArA'lA` BDd(gEk&dIrdLcome/T_!AtEatEelEnE*IpIsp 0DeD`FeLd~NNdowNeNgNkNn Nt ReSdomSeShT}[5LfM<Nd OdOlRdRkRldRryR`_pE{E,!I,I>Ong::Rd3Ar~ow9UUngU`:3BraRo9NeO","0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60")}static wordlist(){return null==nc&&(nc=new uc),nc}}function tc(l){return(1<<l)-1<<8-l&255}function ec(l,n){C("NFKD"),null==n&&(n=uc.wordlist());const u=n.split(l);O(u.length%3==0&&u.length>=12&&u.length<=24,"invalid mnemonic length","mnemonic","[ REDACTED ]");const t=new Uint8Array(Math.ceil(11*u.length/8));let e=0;for(let l=0;l<u.length;l++){let r=n.getWordIndex(u[l].normalize("NFKD"));O(r>=0,`invalid mnemonic word at index ${l}`,"mnemonic","[ REDACTED ]");for(let l=0;l<11;l++)r&1<<10-l&&(t[e>>3]|=1<<7-e%8),e++}const r=32*u.length/3,s=tc(u.length/3);return O((D(et(t.slice(0,r/8)))[0]&s)===(t[t.length-1]&s),"invalid mnemonic checksum","mnemonic","[ REDACTED ]"),M(t.slice(0,r/8))}function rc(l,n){O(l.length%4==0&&l.length>=16&&l.length<=32,"invalid entropy size","entropy","[ REDACTED ]"),null==n&&(n=uc.wordlist());const u=[0];let t=11;for(let n=0;n<l.length;n++)t>8?(u[u.length-1]<<=8,u[u.length-1]|=l[n],t-=8):(u[u.length-1]<<=t,u[u.length-1]|=l[n]>>8-t,u.push(l[n]&((1<<8-t)-1&255)),t+=3);const e=l.length/4,r=parseInt(et(l).substring(2,4),16)&tc(e);return u[u.length-1]<<=e,u[u.length-1]|=r>>8-e,n.join(u.map((l=>n.getWord(l))))}const sc={};class ic{phrase;password;wordlist;entropy;constructor(l,n,u,t,e){null==t&&(t=""),null==e&&(e=uc.wordlist()),R(l,sc,"Mnemonic"),E(this,{phrase:u,password:t,wordlist:e,entropy:n})}computeSeed(){const l=dl("mnemonic"+this.password,"NFKD");return Fu(dl(this.phrase,"NFKD"),l,2048,64,"sha512")}static fromPhrase(l,n,u){const t=ec(l,u);return l=rc(D(t),u),new ic(sc,t,l,n,u)}static fromEntropy(l,n,u){const t=D(l,"entropy"),e=rc(t,u);return new ic(sc,M(t),e,n,u)}static entropyToPhrase(l,n){return rc(D(l,"entropy"),n)}static phraseToEntropy(l,n){return ec(l,n)}static isValidMnemonic(l,n){try{return ec(l,n),!0}catch(l){}return!1}}
|
12
|
+
/*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */var oc,ac,cc,hc=function(l,n,u,t){if("a"===u&&!t)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?l!==n||!t:!n.has(l))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===u?t:"a"===u?t.call(l):t?t.value:n.get(l)},fc=function(l,n,u,t,e){if("m"===t)throw new TypeError("Private method is not writable");if("a"===t&&!e)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?l!==n||!e:!n.has(l))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===t?e.call(l,u):e?e.value=u:n.set(l,u),u};const dc={16:10,24:12,32:14},pc=[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],gc=[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],yc=[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],mc=[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],wc=[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],bc=[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],Ac=[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],vc=[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],Ec=[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],kc=[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],xc=[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],Nc=[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],Sc=[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],Tc=[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],Oc=[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 Pc(l){const n=[];for(let u=0;u<l.length;u+=4)n.push(l[u]<<24|l[u+1]<<16|l[u+2]<<8|l[u+3]);return n}class Ic{get key(){return hc(this,oc,"f").slice()}constructor(l){if(oc.set(this,void 0),ac.set(this,void 0),cc.set(this,void 0),!(this instanceof Ic))throw Error("AES must be instanitated with `new`");fc(this,oc,new Uint8Array(l),"f");const n=dc[this.key.length];if(null==n)throw new TypeError("invalid key size (must be 16, 24 or 32 bytes)");fc(this,cc,[],"f"),fc(this,ac,[],"f");for(let l=0;l<=n;l++)hc(this,cc,"f").push([0,0,0,0]),hc(this,ac,"f").push([0,0,0,0]);const u=4*(n+1),t=this.key.length/4,e=Pc(this.key);let r;for(let l=0;l<t;l++)r=l>>2,hc(this,cc,"f")[r][l%4]=e[l],hc(this,ac,"f")[n-r][l%4]=e[l];let s,i=0,o=t;for(;o<u;){if(s=e[t-1],e[0]^=gc[s>>16&255]<<24^gc[s>>8&255]<<16^gc[255&s]<<8^gc[s>>24&255]^pc[i]<<24,i+=1,8!=t)for(let l=1;l<t;l++)e[l]^=e[l-1];else{for(let l=1;l<t/2;l++)e[l]^=e[l-1];s=e[t/2-1],e[t/2]^=gc[255&s]^gc[s>>8&255]<<8^gc[s>>16&255]<<16^gc[s>>24&255]<<24;for(let l=t/2+1;l<t;l++)e[l]^=e[l-1]}let l,r,a=0;for(;a<t&&o<u;)l=o>>2,r=o%4,hc(this,cc,"f")[l][r]=e[a],hc(this,ac,"f")[n-l][r]=e[a++],o++}for(let l=1;l<n;l++)for(let n=0;n<4;n++)s=hc(this,ac,"f")[l][n],hc(this,ac,"f")[l][n]=Nc[s>>24&255]^Sc[s>>16&255]^Tc[s>>8&255]^Oc[255&s]}encrypt(l){if(16!=l.length)throw new TypeError("invalid plaintext size (must be 16 bytes)");const n=hc(this,cc,"f").length-1,u=[0,0,0,0];let t=Pc(l);for(let l=0;l<4;l++)t[l]^=hc(this,cc,"f")[0][l];for(let l=1;l<n;l++){for(let n=0;n<4;n++)u[n]=mc[t[n]>>24&255]^wc[t[(n+1)%4]>>16&255]^bc[t[(n+2)%4]>>8&255]^Ac[255&t[(n+3)%4]]^hc(this,cc,"f")[l][n];t=u.slice()}const e=new Uint8Array(16);let r=0;for(let l=0;l<4;l++)r=hc(this,cc,"f")[n][l],e[4*l]=255&(gc[t[l]>>24&255]^r>>24),e[4*l+1]=255&(gc[t[(l+1)%4]>>16&255]^r>>16),e[4*l+2]=255&(gc[t[(l+2)%4]>>8&255]^r>>8),e[4*l+3]=255&(gc[255&t[(l+3)%4]]^r);return e}decrypt(l){if(16!=l.length)throw new TypeError("invalid ciphertext size (must be 16 bytes)");const n=hc(this,ac,"f").length-1,u=[0,0,0,0];let t=Pc(l);for(let l=0;l<4;l++)t[l]^=hc(this,ac,"f")[0][l];for(let l=1;l<n;l++){for(let n=0;n<4;n++)u[n]=vc[t[n]>>24&255]^Ec[t[(n+3)%4]>>16&255]^kc[t[(n+2)%4]>>8&255]^xc[255&t[(n+1)%4]]^hc(this,ac,"f")[l][n];t=u.slice()}const e=new Uint8Array(16);let r=0;for(let l=0;l<4;l++)r=hc(this,ac,"f")[n][l],e[4*l]=255&(yc[t[l]>>24&255]^r>>24),e[4*l+1]=255&(yc[t[(l+3)%4]>>16&255]^r>>16),e[4*l+2]=255&(yc[t[(l+2)%4]>>8&255]^r>>8),e[4*l+3]=255&(yc[255&t[(l+1)%4]]^r);return e}}oc=new WeakMap,ac=new WeakMap,cc=new WeakMap;class Cc{constructor(l,n,u){if(u&&!(this instanceof u))throw new Error(`${l} must be instantiated with "new"`);Object.defineProperties(this,{aes:{enumerable:!0,value:new Ic(n)},name:{enumerable:!0,value:l}})}}var Rc,Bc,Dc=function(l,n,u,t,e){if("m"===t)throw new TypeError("Private method is not writable");if("a"===t&&!e)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?l!==n||!e:!n.has(l))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===t?e.call(l,u):e?e.value=u:n.set(l,u),u},Uc=function(l,n,u,t){if("a"===u&&!t)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?l!==n||!t:!n.has(l))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===u?t:"a"===u?t.call(l):t?t.value:n.get(l)};class Lc extends Cc{constructor(l,n){if(super("ECC",l,Lc),Rc.set(this,void 0),Bc.set(this,void 0),n){if(n.length%16)throw new TypeError("invalid iv size (must be 16 bytes)");Dc(this,Rc,new Uint8Array(n),"f")}else Dc(this,Rc,new Uint8Array(16),"f");Dc(this,Bc,this.iv,"f")}get iv(){return new Uint8Array(Uc(this,Rc,"f"))}encrypt(l){if(l.length%16)throw new TypeError("invalid plaintext size (must be multiple of 16 bytes)");const n=new Uint8Array(l.length);for(let u=0;u<l.length;u+=16){for(let n=0;n<16;n++)Uc(this,Bc,"f")[n]^=l[u+n];Dc(this,Bc,this.aes.encrypt(Uc(this,Bc,"f")),"f"),n.set(Uc(this,Bc,"f"),u)}return n}decrypt(l){if(l.length%16)throw new TypeError("invalid ciphertext size (must be multiple of 16 bytes)");const n=new Uint8Array(l.length);for(let u=0;u<l.length;u+=16){const t=this.aes.decrypt(l.subarray(u,u+16));for(let e=0;e<16;e++)n[u+e]=t[e]^Uc(this,Bc,"f")[e],Uc(this,Bc,"f")[e]=l[u+e]}return n}}Rc=new WeakMap,Bc=new WeakMap;var Fc,_c,Mc,Gc=function(l,n,u,t,e){if("m"===t)throw new TypeError("Private method is not writable");if("a"===t&&!e)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof n?l!==n||!e:!n.has(l))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===t?e.call(l,u):e?e.value=u:n.set(l,u),u},jc=function(l,n,u,t){if("a"===u&&!t)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof n?l!==n||!t:!n.has(l))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===u?t:"a"===u?t.call(l):t?t.value:n.get(l)};class Hc extends Cc{constructor(l,n){super("CTR",l,Hc),Fc.set(this,void 0),_c.set(this,void 0),Mc.set(this,void 0),Gc(this,Mc,new Uint8Array(16),"f"),jc(this,Mc,"f").fill(0),Gc(this,Fc,jc(this,Mc,"f"),"f"),Gc(this,_c,16,"f"),null==n&&(n=1),"number"==typeof n?this.setCounterValue(n):this.setCounterBytes(n)}get counter(){return new Uint8Array(jc(this,Mc,"f"))}setCounterValue(l){if(!Number.isInteger(l)||l<0||l>Number.MAX_SAFE_INTEGER)throw new TypeError("invalid counter initial integer value");for(let n=15;n>=0;--n)jc(this,Mc,"f")[n]=l%256,l=Math.floor(l/256)}setCounterBytes(l){if(16!==l.length)throw new TypeError("invalid counter initial Uint8Array value length");jc(this,Mc,"f").set(l)}increment(){for(let l=15;l>=0;l--){if(255!==jc(this,Mc,"f")[l]){jc(this,Mc,"f")[l]++;break}jc(this,Mc,"f")[l]=0}}encrypt(l){var n,u;const t=new Uint8Array(l);for(let l=0;l<t.length;l++)16===jc(this,_c,"f")&&(Gc(this,Fc,this.aes.encrypt(jc(this,Mc,"f")),"f"),Gc(this,_c,0,"f"),this.increment()),t[l]^=jc(this,Fc,"f")[(Gc(this,_c,(u=jc(this,_c,"f"),n=u++,u),"f"),n)];return t}decrypt(l){return this.encrypt(l)}}function Kc(l){return"string"!=typeof l||l.startsWith("0x")||(l="0x"+l),U(l)}function Vc(l,n){for(l=String(l);l.length<n;)l="0"+l;return l}function Qc(l){return"string"==typeof l?dl(l,"NFKC"):U(l)}function Jc(l,n){const u=n.match(/^([a-z0-9$_.-]*)(:([a-z]+))?(!)?$/i);O(null!=u,"invalid path","path",n);const t=u[1],e=u[3],r="!"===u[4];let s=l;for(const l of t.toLowerCase().split(".")){if(Array.isArray(s)){if(!l.match(/^[0-9]+$/))break;s=s[parseInt(l)]}else if("object"==typeof s){let n=null;for(const u in s)if(u.toLowerCase()===l){n=s[u];break}s=n}else s=null;if(null==s)break}if(O(!r||null!=s,"missing required value","path",t),e&&null!=s){if("int"===e){if("string"==typeof s&&s.match(/^-?[0-9]+$/))return parseInt(s);if(Number.isSafeInteger(s))return s}if("number"===e&&"string"==typeof s&&s.match(/^-?[0-9.]*$/))return parseFloat(s);if("data"===e&&"string"==typeof s)return Kc(s);if("array"===e&&Array.isArray(s))return s;if(e===typeof s)return s;O(!1,`wrong type found for ${e} `,"path",t)}return s}Fc=new WeakMap,_c=new WeakMap,Mc=new WeakMap;const zc="m/44'/60'/0'/0/0";function qc(l){try{const n=JSON.parse(l);if(3===(null!=n.version?parseInt(n.version):0))return!0}catch(l){}return!1}function $c(l,n){const u=D(n),t=Jc(l,"crypto.ciphertext:data!");O(M(gu(G([u.slice(16,32),t]))).substring(2)===Jc(l,"crypto.mac:string!").toLowerCase(),"incorrect password","password","[ REDACTED ]");const e=function(l,n,u){if("aes-128-ctr"===Jc(l,"crypto.cipher:string")){const t=Jc(l,"crypto.cipherparams.iv:data!");return M(new Hc(n,t).decrypt(u))}T(!1,"unsupported cipher","UNSUPPORTED_OPERATION",{operation:"decrypt"})}(l,u.slice(0,16),t),r=os(e);if(l.address){let n=l.address.toLowerCase();n.startsWith("0x")||(n="0x"+n),O(Ne(n)===r,"keystore address/privateKey mismatch","address",l.address)}const s={address:r,privateKey:e};if("0.1"===Jc(l,"x-ethers.version:string")){const n=u.slice(32,64),t=Jc(l,"x-ethers.mnemonicCiphertext:data!"),e=Jc(l,"x-ethers.mnemonicCounter:data!"),r=new Hc(n,e);s.mnemonic={path:Jc(l,"x-ethers.path:string")||zc,locale:Jc(l,"x-ethers.locale:string")||"en",entropy:M(D(r.decrypt(t)))}}return s}function Wc(l){const n=Jc(l,"crypto.kdf:string");if(n&&"string"==typeof n){if("scrypt"===n.toLowerCase()){const u=Jc(l,"crypto.kdfparams.salt:data!"),t=Jc(l,"crypto.kdfparams.n:int!"),e=Jc(l,"crypto.kdfparams.r:int!"),r=Jc(l,"crypto.kdfparams.p:int!");O(t>0&&!(t&t-1),"invalid kdf.N","kdf.N",t),O(e>0&&r>0,"invalid kdf","kdf",n);const s=Jc(l,"crypto.kdfparams.dklen:int!");return O(32===s,"invalid kdf.dklen","kdf.dflen",s),{name:"scrypt",salt:u,N:t,r:e,p:r,dkLen:64}}if("pbkdf2"===n.toLowerCase()){const n=Jc(l,"crypto.kdfparams.salt:data!"),u=Jc(l,"crypto.kdfparams.prf:string!"),t=u.split("-").pop();O("sha256"===t||"sha512"===t,"invalid kdf.pdf","kdf.pdf",u);const e=Jc(l,"crypto.kdfparams.c:int!"),r=Jc(l,"crypto.kdfparams.dklen:int!");return O(32===r,"invalid kdf.dklen","kdf.dklen",r),{name:"pbkdf2",salt:n,count:e,dkLen:r,algorithm:t}}}O(!1,"unsupported key-derivation function","kdf",n)}function Yc(l){return new Promise((n=>{setTimeout((()=>{n()}),l)}))}function Zc(l){const n=null!=l.salt?D(l.salt,"options.salt"):ju(32);let u=1<<17,t=8,e=1;return l.scrypt&&(l.scrypt.N&&(u=l.scrypt.N),l.scrypt.r&&(t=l.scrypt.r),l.scrypt.p&&(e=l.scrypt.p)),O("number"==typeof u&&u>0&&Number.isSafeInteger(u)&&(BigInt(u)&BigInt(u-1))===BigInt(0),"invalid scrypt N parameter","options.N",u),O("number"==typeof t&&t>0&&Number.isSafeInteger(t),"invalid scrypt r parameter","options.r",t),O("number"==typeof e&&e>0&&Number.isSafeInteger(e),"invalid scrypt p parameter","options.p",e),{name:"scrypt",dkLen:32,salt:n,N:u,r:t,p:e}}function Xc(l,n,u,t){const e=D(u.privateKey,"privateKey"),r=null!=t.iv?D(t.iv,"options.iv"):ju(16);O(16===r.length,"invalid options.iv length","options.iv",t.iv);const s=null!=t.uuid?D(t.uuid,"options.uuid"):ju(16);O(16===s.length,"invalid options.uuid length","options.uuid",t.iv);const i=l.slice(0,16),o=l.slice(16,32),a=D(new Hc(i,r).encrypt(e)),c=gu(G([o,a])),h={address:u.address.substring(2).toLowerCase(),id:_l(s),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:M(r).substring(2)},ciphertext:M(a).substring(2),kdf:"scrypt",kdfparams:{salt:M(n.salt).substring(2),n:n.N,dklen:32,p:n.p,r:n.r},mac:c.substring(2)}};if(u.mnemonic){const n=null!=t.client?t.client:`ethers/${b}`,e=u.mnemonic.path||zc,r=u.mnemonic.locale||"en",s=l.slice(32,64),i=D(u.mnemonic.entropy,"account.mnemonic.entropy"),o=ju(16),a=D(new Hc(s,o).encrypt(i)),c=new Date,f="UTC--"+(c.getUTCFullYear()+"-"+Vc(c.getUTCMonth()+1,2)+"-"+Vc(c.getUTCDate(),2)+"T"+Vc(c.getUTCHours(),2)+"-"+Vc(c.getUTCMinutes(),2)+"-"+Vc(c.getUTCSeconds(),2)+".0Z")+"--"+h.address;h["x-ethers"]={client:n,gethFilename:f,path:e,locale:r,mnemonicCounter:M(o).substring(2),mnemonicCiphertext:M(a).substring(2),version:"0.1"}}return JSON.stringify(h)}function lh(l,n,u){null==u&&(u={});const t=Qc(n),e=Zc(u);return Xc(D(lt(t,e.salt,e.N,e.r,e.p,64)),e,l,u)}async function nh(l,n,u){null==u&&(u={});const t=Qc(n),e=Zc(u);return Xc(D(await Xu(t,e.salt,e.N,e.r,e.p,64,u.progressCallback)),e,l,u)}const uh="m/44'/60'/0'/0/0",th=new Uint8Array([66,105,116,99,111,105,110,32,115,101,101,100]),eh=2147483648,rh=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141");function sh(l,n){let u="";for(;l;)u="0123456789abcdef"[l%16]+u,l=Math.trunc(l/16);for(;u.length<2*n;)u="0"+u;return"0x"+u}function ih(l){const n=D(l);return al(G([n,H(et(et(n)),0,4)]))}const oh={};function ah(l,n,u,t){const e=new Uint8Array(37);l&eh?(T(null!=t,"cannot derive child of neutered node","UNSUPPORTED_OPERATION",{operation:"deriveChild"}),e.set(D(t),1)):e.set(D(u));for(let n=24;n>=0;n-=8)e[33+(n>>3)]=l>>24-n&255;const r=D(Wn("sha512",n,e));return{IL:r.slice(0,32),IR:r.slice(32)}}function ch(l,n){const u=n.split("/");O(u.length>0,"invalid path","path",n),"m"===u[0]&&(O(0===l.depth,`cannot derive root path (i.e. path starting with "m/") for a node at non-zero depth ${l.depth}`,"path",n),u.shift());let t=l;for(let l=0;l<u.length;l++){const n=u[l];if(n.match(/^[0-9]+'$/)){const u=parseInt(n.substring(0,n.length-1));O(u<eh,"invalid path index",`path[${l}]`,n),t=t.deriveChild(eh+u)}else if(n.match(/^[0-9]+$/)){const u=parseInt(n);O(u<eh,"invalid path index",`path[${l}]`,n),t=t.deriveChild(u)}else O(!1,"invalid path component",`path[${l}]`,n)}return t}class hh extends qa{publicKey;fingerprint;parentFingerprint;mnemonic;chainCode;path;index;depth;constructor(l,n,u,t,e,r,s,i,o){super(n,o),R(l,oh,"HDNodeWallet"),E(this,{publicKey:n.compressedPublicKey});E(this,{parentFingerprint:u,fingerprint:H(Bu(et(this.publicKey)),0,4),chainCode:t,path:e,index:r,depth:s}),E(this,{mnemonic:i})}connect(l){return new hh(oh,this.signingKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,this.mnemonic,l)}#mn(){const l={address:this.address,privateKey:this.privateKey},n=this.mnemonic;return this.path&&n&&"en"===n.wordlist.locale&&""===n.password&&(l.mnemonic={path:this.path,locale:"en",entropy:n.entropy}),l}async encrypt(l,n){return await nh(this.#mn(),l,{progressCallback:n})}encryptSync(l){return lh(this.#mn(),l)}get extendedKey(){return T(this.depth<256,"Depth too deep","UNSUPPORTED_OPERATION",{operation:"extendedKey"}),ih(G(["0x0488ADE4",sh(this.depth,1),this.parentFingerprint,sh(this.index,4),this.chainCode,G(["0x00",this.privateKey])]))}hasPath(){return null!=this.path}neuter(){return new fh(oh,this.address,this.publicKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,this.provider)}deriveChild(l){const n=ll(l,"index");O(n<=4294967295,"invalid index","index",n);let u=this.path;u&&(u+="/"+(2147483647&n),n&eh&&(u+="'"));const{IR:t,IL:e}=ah(n,this.chainCode,this.publicKey,this.privateKey),r=new be(nl((X(e)+BigInt(this.privateKey))%rh,32));return new hh(oh,r,this.fingerprint,M(t),u,n,this.depth+1,this.mnemonic,this.provider)}derivePath(l){return ch(this,l)}static#wn(l,n){O(F(l),"invalid seed","seed","[REDACTED]");const u=D(l,"seed");O(u.length>=16&&u.length<=64,"invalid seed","seed","[REDACTED]");const t=D(Wn("sha512",th,u)),e=new be(M(t.slice(0,32)));return new hh(oh,e,"0x00000000",M(t.slice(32)),"m",0,0,n,null)}static fromExtendedKey(l){const n=ul(function(l){let n=il;for(let u=0;u<l.length;u++)n*=ol,n+=sl(l[u]);return n}(l));O(82===n.length||ih(n.slice(0,78))===l,"invalid extended key","extendedKey","[ REDACTED ]");const u=n[4],t=M(n.slice(5,9)),e=parseInt(M(n.slice(9,13)).substring(2),16),r=M(n.slice(13,45)),s=n.slice(45,78);switch(M(n.slice(0,4))){case"0x0488b21e":case"0x043587cf":{const l=M(s);return new fh(oh,os(l),l,t,r,null,e,u,null)}case"0x0488ade4":case"0x04358394 ":if(0!==s[0])break;return new hh(oh,new be(s.slice(1)),t,r,null,e,u,null,null)}O(!1,"invalid extended key prefix","extendedKey","[ REDACTED ]")}static createRandom(l,n,u){null==l&&(l=""),null==n&&(n=uh),null==u&&(u=uc.wordlist());const t=ic.fromEntropy(ju(16),l,u);return hh.#wn(t.computeSeed(),t).derivePath(n)}static fromMnemonic(l,n){return n||(n=uh),hh.#wn(l.computeSeed(),l).derivePath(n)}static fromPhrase(l,n,u,t){null==n&&(n=""),null==u&&(u=uh),null==t&&(t=uc.wordlist());const e=ic.fromPhrase(l,n,t);return hh.#wn(e.computeSeed(),e).derivePath(u)}static fromSeed(l){return hh.#wn(l,null)}}class fh extends Ca{publicKey;fingerprint;parentFingerprint;chainCode;path;index;depth;constructor(l,n,u,t,e,r,s,i,o){super(n,o),R(l,oh,"HDNodeVoidWallet"),E(this,{publicKey:u});E(this,{publicKey:u,fingerprint:H(Bu(et(u)),0,4),parentFingerprint:t,chainCode:e,path:r,index:s,depth:i})}connect(l){return new fh(oh,this.address,this.publicKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,l)}get extendedKey(){return T(this.depth<256,"Depth too deep","UNSUPPORTED_OPERATION",{operation:"extendedKey"}),ih(G(["0x0488B21E",sh(this.depth,1),this.parentFingerprint,sh(this.index,4),this.chainCode,this.publicKey]))}hasPath(){return null!=this.path}deriveChild(l){const n=ll(l,"index");O(n<=4294967295,"invalid index","index",n);let u=this.path;u&&(u+="/"+(2147483647&n),n&eh&&(u+="'"));const{IR:t,IL:e}=ah(n,this.chainCode,this.publicKey,null),r=be.addPoints(e,this.publicKey,!0),s=os(r);return new fh(oh,s,r,this.fingerprint,M(t),u,n,this.depth+1,this.provider)}derivePath(l){return ch(this,l)}}function dh(l){try{if(JSON.parse(l).encseed)return!0}catch(l){}return!1}function ph(l,n){const u=JSON.parse(l),t=Qc(n),e=Ne(Jc(u,"ethaddr:string!")),r=Kc(Jc(u,"encseed:string!"));O(r&&r.length%16==0,"invalid encseed","json",l);const s=D(Fu(t,t,2e3,32,"sha256")).slice(0,16),i=r.slice(0,16),o=r.slice(16),a=function(l){if(l.length<16)throw new TypeError("PKCS#7 invalid length");const n=l[l.length-1];if(n>16)throw new TypeError("PKCS#7 padding byte out of range");const u=l.length-n;for(let t=0;t<n;t++)if(l[u+t]!==n)throw new TypeError("PKCS#7 invalid padding byte");return new Uint8Array(l.subarray(0,u))}(D(new Lc(s,i).decrypt(o)));let c="";for(let l=0;l<a.length;l++)c+=String.fromCharCode(a[l]);return{address:e,privateKey:Ye(c)}}function gh(l){return new Promise((n=>{setTimeout((()=>{n()}),l)}))}let yh=class l extends qa{constructor(l,n){"string"!=typeof l||l.startsWith("0x")||(l="0x"+l),super("string"==typeof l?new be(l):l,n)}connect(n){return new l(this.signingKey,n)}async encrypt(l,n){const u={address:this.address,privateKey:this.privateKey};return await nh(u,l,{progressCallback:n})}encryptSync(l){return lh({address:this.address,privateKey:this.privateKey},l)}static#bn(n){if(O(n,"invalid JSON wallet","json","[ REDACTED ]"),"mnemonic"in n&&n.mnemonic&&"en"===n.mnemonic.locale){const l=ic.fromEntropy(n.mnemonic.entropy),u=hh.fromMnemonic(l,n.mnemonic.path);if(u.address===n.address&&u.privateKey===n.privateKey)return u;console.log("WARNING: JSON mismatch address/privateKey != mnemonic; fallback onto private key")}const u=new l(n.privateKey);return O(u.address===n.address,"address/privateKey mismatch","json","[ REDACTED ]"),u}static async fromEncryptedJson(n,u,t){let e=null;return qc(n)?e=await async function(l,n,u){const t=JSON.parse(l),e=Qc(n),r=Wc(t);if("pbkdf2"===r.name){u&&(u(0),await Yc(0));const{salt:l,count:n,dkLen:s,algorithm:i}=r,o=Fu(e,l,n,s,i);return u&&(u(1),await Yc(0)),$c(t,o)}T("scrypt"===r.name,"cannot be reached","UNKNOWN_ERROR",{params:r});const{salt:s,N:i,r:o,p:a,dkLen:c}=r;return $c(t,await Xu(e,s,i,o,a,c,u))}(n,u,t):dh(n)&&(t&&(t(0),await gh(0)),e=ph(n,u),t&&(t(1),await gh(0))),l.#bn(e)}static fromEncryptedJsonSync(n,u){let t=null;return qc(n)?t=function(l,n){const u=JSON.parse(l),t=Qc(n),e=Wc(u);if("pbkdf2"===e.name){const{salt:l,count:n,dkLen:r,algorithm:s}=e;return $c(u,Fu(t,l,n,r,s))}T("scrypt"===e.name,"cannot be reached","UNKNOWN_ERROR",{params:e});const{salt:r,N:s,r:i,p:o,dkLen:a}=e;return $c(u,lt(t,r,s,i,o,a))}(n,u):dh(n)?t=ph(n,u):O(!1,"invalid JSON wallet","json","[ REDACTED ]"),l.#bn(t)}static createRandom(l){const n=hh.createRandom();return l?n.connect(l):n}static fromPhrase(l,n){const u=hh.fromPhrase(l);return n?u.connect(n):u}},mh={PROOF_OF_INTEGRITY_ADDRESS:"0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",STEALTH_ANNOUNCER_ADDRESS:"0x5FbDB2315678afecb367f032d93F642f64180aa3"};if("undefined"==typeof window){const{fileURLToPath:l}=require("url"),{dirname:n}=require("path"),{readFileSync:u}=require("fs"),{join:t}=require("path");try{const e=l(import.meta.url),r=u(t(n(e),"contract-address.json"),"utf8");mh=JSON.parse(r),console.log("Loaded contract addresses:",mh)}catch(l){console.warn("Warning: contract-address.json not found or invalid")}}const wh={CHAIN_ID:1337,PROOF_OF_INTEGRITY_ADDRESS:mh.PROOF_OF_INTEGRITY_ADDRESS,STEALTH_ANNOUNCER_ADDRESS:mh.STEALTH_ANNOUNCER_ADDRESS,RPC_URL:"http://127.0.0.1:8545",GUN_PEER:"http://localhost:8765/gun"},bh={optimismSepolia:{STEALTH_ANNOUNCER_ADDRESS:"0xD0F2e9DA59d2DFECFdE67CcF17300BB6093A72f8",PROOF_OF_INTEGRITY_ADDRESS:"0x...",RPC_URL:"https://sepolia.optimism.io",CHAIN_ID:11155420},arbitrumSepolia:{STEALTH_ANNOUNCER_ADDRESS:"0x...",PROOF_OF_INTEGRITY_ADDRESS:"0x...",RPC_URL:"https://sepolia-rollup.arbitrum.io/rpc",CHAIN_ID:421614},localhost:{RPC_URL:"http://127.0.0.1:8545",CHAIN_ID:1337}};function Ah(l){let n;if("localhost"===l)try{const l=require("../config/contract-address.json");return n={...bh.localhost,...l},console.log("Using local addresses:",n),n}catch(l){throw console.warn("No local addresses found"),new Error("No local addresses found. Did you run local deployment?")}if(n=bh[l],!n)throw new Error(`Chain ${l} not supported. Supported chains: ${Object.keys(bh).join(", ")}`);return n}bh.optimismSepolia.STEALTH_ANNOUNCER_ADDRESS,bh.optimismSepolia.PROOF_OF_INTEGRITY_ADDRESS;const vh=[{inputs:[{internalType:"address",name:"_devAddress",type:"address"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{internalType:"string",name:"senderPublicKey",type:"string"},{internalType:"string",name:"spendingPublicKey",type:"string"},{internalType:"address",name:"stealthAddress",type:"address"},{internalType:"uint256",name:"timestamp",type:"uint256"}],name:"StealthPaymentAnnounced",type:"event"},{anonymous:!1,inputs:[{internalType:"address",name:"newAddress",type:"address"}],name:"DevAddressUpdated",type:"event"},{anonymous:!1,inputs:[{internalType:"uint256",name:"newFee",type:"uint256"}],name:"DevFeeUpdated",type:"event"},{inputs:[{internalType:"string",name:"senderPublicKey",type:"string"},{internalType:"string",name:"spendingPublicKey",type:"string"},{internalType:"address",name:"stealthAddress",type:"address"}],name:"announcePayment",outputs:[],stateMutability:"payable",type:"function"},{inputs:[],name:"devAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"devFee",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getAnnouncementsCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"fromIndex",type:"uint256"},{internalType:"uint256",name:"toIndex",type:"uint256"}],name:"getAnnouncementsInRange",outputs:[{components:[{internalType:"string",name:"senderPublicKey",type:"string"},{internalType:"string",name:"spendingPublicKey",type:"string"},{internalType:"address",name:"stealthAddress",type:"address"},{internalType:"uint256",name:"timestamp",type:"uint256"}],internalType:"struct StealthAnnouncer.StealthAnnouncement[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"_newFee",type:"uint256"}],name:"updateDevFee",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"_newAddress",type:"address"}],name:"updateDevAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"withdrawStuckETH",outputs:[],stateMutability:"nonpayable",type:"function"}],Eh=[{inputs:[{internalType:"bytes[]",name:"nodeIds",type:"bytes[]"},{internalType:"bytes32[]",name:"contentHashes",type:"bytes32[]"}],name:"batchUpdateData",outputs:[],stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes",name:"nodeId",type:"bytes"},{indexed:!1,internalType:"bytes32",name:"contentHash",type:"bytes32"},{indexed:!1,internalType:"address",name:"updater",type:"address"}],name:"DataUpdated",type:"event"},{inputs:[{internalType:"bytes",name:"nodeId",type:"bytes"}],name:"getLatestRecord",outputs:[{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes",name:"nodeId",type:"bytes"},{internalType:"bytes32",name:"contentHash",type:"bytes32"}],name:"updateData",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes",name:"nodeId",type:"bytes"},{internalType:"bytes32",name:"contentHash",type:"bytes32"}],name:"verifyData",outputs:[{internalType:"bool",name:"",type:"bool"},{internalType:"uint256",name:"",type:"uint256"},{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}];var kh={exports:{}};!function(n){!function(){function u(l,n){return n?d("/node_modules/gun")(l):l.slice?u[t(l)]:function(n,e){l(n={exports:{}}),u[t(e)]=n.exports};function t(l){return l.split("/").slice(-1).toString().replace(".js","")}}var t=n;u((function(l){"undefined"!=typeof self&&(l.window=self),"undefined"!=typeof window&&(l.window=window);var n=(l.window||l).SEA||{};(n.window=l.window)&&(n.window.SEA=n);try{undefined+""!=typeof t&&(t.exports=n)}catch(l){}l.exports=n}))(u,"./root"),u((function(l){var n=u("./root");try{n.window&&location.protocol.indexOf("s")<0&&location.host.indexOf("localhost")<0&&!/^127\.\d+\.\d+\.\d+$/.test(location.hostname)&&location.protocol.indexOf("file:")<0&&(console.warn("HTTPS needed for WebCrypto in SEA, redirecting..."),location.protocol="https:")}catch(l){}}))(u,"./https"),u((function(n){var t;if(t+""==typeof btoa){if(t+""==typeof Buffer)try{l.Buffer=u("buffer",1).Buffer}catch(l){console.log("Please `npm install buffer` or add it to your package.json !")}l.btoa=function(l){return Buffer.from(l,"binary").toString("base64")},l.atob=function(l){return Buffer.from(l,"base64").toString("binary")}}}))(u,"./base64"),u((function(l){function n(){}u("./base64"),Object.assign(n,{from:Array.from}),n.prototype=Object.create(Array.prototype),n.prototype.toString=function(l,n,u){l=l||"utf8",n=n||0;const t=this.length;if("hex"===l){const l=new Uint8Array(this);return[...Array((u&&u+1||t)-n).keys()].map((u=>l[u+n].toString(16).padStart(2,"0"))).join("")}return"utf8"===l?Array.from({length:(u||t)-n},((l,u)=>String.fromCharCode(this[u+n]))).join(""):"base64"===l?btoa(this):void 0},l.exports=n}))(u,"./array"),u((function(l){u("./base64");var n=u("./array");function t(...l){return console.warn("new SafeBuffer() is depreciated, please use SafeBuffer.from()"),t.from(...l)}t.prototype=Object.create(Array.prototype),Object.assign(t,{from(){if(!Object.keys(arguments).length||null==arguments[0])throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");const l=arguments[0];let u;if("string"==typeof l){const t=arguments[1]||"utf8";if("hex"===t){const t=l.match(/([\da-fA-F]{2})/g).map((l=>parseInt(l,16)));if(!t||!t.length)throw new TypeError("Invalid first argument for type 'hex'.");u=n.from(t)}else if("utf8"===t||"binary"===t){const t=l.length,e=new Uint16Array(t);Array.from({length:t},((n,u)=>e[u]=l.charCodeAt(u))),u=n.from(e)}else if("base64"===t){const t=atob(l),e=t.length,r=new Uint8Array(e);Array.from({length:e},((l,n)=>r[n]=t.charCodeAt(n))),u=n.from(r)}else"binary"===t?u=n.from(l):console.info("SafeBuffer.from unknown encoding: "+t);return u}l.byteLength;if(l.byteLength?l.byteLength:l.length){let u;return l instanceof ArrayBuffer&&(u=new Uint8Array(l)),n.from(u||l)}},alloc:(l,u=0)=>n.from(new Uint8Array(Array.from({length:l},(()=>u)))),allocUnsafe:l=>n.from(new Uint8Array(Array.from({length:l}))),concat(l){if(!Array.isArray(l))throw new TypeError("First argument must be Array containing ArrayBuffer or Uint8Array instances.");return n.from(l.reduce(((l,n)=>l.concat(Array.from(n))),[]))}}),t.prototype.from=t.from,t.prototype.toString=n.prototype.toString,l.exports=t}))(u,"./buffer"),u((function(l){const n=u("./root"),e={Buffer:u("./buffer")};var r={};if(JSON.parseAsync=JSON.parseAsync||function(l,n,u){try{n(undefined,JSON.parse(l,u))}catch(l){n(l)}},JSON.stringifyAsync=JSON.stringifyAsync||function(l,n,u,t){try{n(undefined,JSON.stringify(l,u,t))}catch(l){n(l)}},e.parse=function(l,n){return new Promise((function(u,t){JSON.parseAsync(l,(function(l,n){l?t(l):u(n)}),n)}))},e.stringify=function(l,n,u){return new Promise((function(t,e){JSON.stringifyAsync(l,(function(l,n){l?e(l):t(n)}),n,u)}))},n.window&&(e.crypto=n.window.crypto||n.window.msCrypto,e.subtle=(e.crypto||r).subtle||(e.crypto||r).webkitSubtle,e.TextEncoder=n.window.TextEncoder,e.TextDecoder=n.window.TextDecoder,e.random=l=>e.Buffer.from(e.crypto.getRandomValues(new Uint8Array(e.Buffer.alloc(l))))),!e.TextDecoder){const{TextEncoder:l,TextDecoder:n}=u((undefined+""==typeof t?".":"")+"./lib/text-encoding",1);e.TextDecoder=n,e.TextEncoder=l}if(!e.crypto)try{var s=u("crypto",1);Object.assign(e,{crypto:s,random:l=>e.Buffer.from(s.randomBytes(l))});const{Crypto:l}=u("@peculiar/webcrypto",1);e.ossl=e.subtle=new l({directory:"ossl"}).subtle}catch(l){console.log("Please `npm install @peculiar/webcrypto` or add it to your package.json !")}l.exports=e}))(u,"./shim"),u((function(l){var n=u("./root"),t=u("./shim"),e={pbkdf2:{hash:{name:"SHA-256"},iter:1e5,ks:64},ecdsa:{pair:{name:"ECDSA",namedCurve:"P-256"},sign:{name:"ECDSA",hash:{name:"SHA-256"}}},ecdh:{name:"ECDH",namedCurve:"P-256"},jwk:function(l,n){var u={kty:"EC",crv:"P-256",x:(l=l.split("."))[0],y:l[1],ext:!0};return u.key_ops=n?["sign"]:["verify"],n&&(u.d=n),u},keyToJwk:function(l){return{kty:"oct",k:l.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,""),ext:!1,alg:"A256GCM"}},recall:{validity:43200,hook:function(l){return l}},check:function(l){return"string"==typeof l&&"SEA{"===l.slice(0,4)},parse:async function(l){try{var n="string"==typeof l;return n&&"SEA{"===l.slice(0,4)&&(l=l.slice(3)),n?await t.parse(l):l}catch(l){}return l}};n.opt=e,l.exports=e}))(u,"./settings"),u((function(l){var n=u("./shim");l.exports=async function(l,u){var t="string"==typeof l?l:await n.stringify(l),e=await n.subtle.digest({name:u||"SHA-256"},(new n.TextEncoder).encode(t));return n.Buffer.from(e)}}))(u,"./sha256"),u((function(l){const n=u("./shim"),t=n.subtle,e=n.ossl?n.ossl:t;l.exports=l=>e.digest({name:"SHA-1"},new ArrayBuffer(l))}))(u,"./sha1"),u((function(l){var n=u("./root"),t=u("./shim"),e=u("./settings"),r=u("./sha256");n.work=n.work||(async(l,u,s,i)=>{try{var o=(u||{}).epub||u;if(i=i||{},o instanceof Function&&(s=o,o=undefined),l="string"==typeof l?l:await t.stringify(l),"sha"===(i.name||"").toLowerCase().slice(0,3)){var a=t.Buffer.from(await r(l,i.name),"binary").toString(i.encode||"base64");if(s)try{s(a)}catch(l){console.log(l)}return a}o=o||t.random(9);var c=await(t.ossl||t.subtle).importKey("raw",(new t.TextEncoder).encode(l),{name:i.name||"PBKDF2"},!1,["deriveBits"]),h=await(t.ossl||t.subtle).deriveBits({name:i.name||"PBKDF2",iterations:i.iterations||e.pbkdf2.iter,salt:(new t.TextEncoder).encode(i.salt||o),hash:i.hash||e.pbkdf2.hash},c,i.length||8*e.pbkdf2.ks);l=t.random(l.length);var f=t.Buffer.from(h,"binary").toString(i.encode||"base64");if(s)try{s(f)}catch(l){console.log(l)}return f}catch(l){if(console.log(l),n.err=l,n.throw)throw l;return void(s&&s())}}),l.exports=n.work}))(u,"./work"),u((function(l){var n=u("./root"),t=u("./shim");u("./settings"),n.name=n.name||(async(l,u)=>{try{if(l)try{l()}catch(l){console.log(l)}return}catch(u){if(console.log(u),n.err=u,n.throw)throw u;return void(l&&l())}}),n.pair=n.pair||(async(l,u)=>{try{var e=t.ossl||t.subtle,r=await t.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!0,["sign","verify"]).then((async l=>{var n={};n.priv=(await t.subtle.exportKey("jwk",l.privateKey)).d;var u=await t.subtle.exportKey("jwk",l.publicKey);return n.pub=u.x+"."+u.y,n}));try{var s=await e.generateKey({name:"ECDH",namedCurve:"P-256"},!0,["deriveKey"]).then((async l=>{var n={};n.epriv=(await e.exportKey("jwk",l.privateKey)).d;var u=await e.exportKey("jwk",l.publicKey);return n.epub=u.x+"."+u.y,n}))}catch(l){if(n.window)throw l;if("Error: ECDH is not a supported algorithm"!=l)throw l;console.log("Ignoring ECDH...")}s=s||{};var i={pub:r.pub,priv:r.priv,epub:s.epub,epriv:s.epriv};if(l)try{l(i)}catch(l){console.log(l)}return i}catch(u){if(console.log(u),n.err=u,n.throw)throw u;return void(l&&l())}}),l.exports=n.pair}))(u,"./pair"),u((function(l){var n,t=u("./root"),e=u("./shim"),r=u("./settings"),s=u("./sha256");t.sign=t.sign||(async(l,u,i,o)=>{try{if(o=o||{},!(u||o).priv){if(!t.I)throw"No signing key.";u=await t.I(null,{what:l,how:"sign",why:o.why})}if(n===l)throw"`undefined` not allowed.";var a=await r.parse(l),c=o.check=o.check||a;if(t.verify&&(t.opt.check(c)||c&&c.s&&c.m)&&n!==await t.verify(c,u)){var h=await r.parse(c);if(o.raw||(h="SEA"+await e.stringify(h)),i)try{i(h)}catch(l){console.log(l)}return h}var f=u.pub,d=u.priv,p=r.jwk(f,d),g=await s(a),y=await(e.ossl||e.subtle).importKey("jwk",p,{name:"ECDSA",namedCurve:"P-256"},!1,["sign"]).then((l=>(e.ossl||e.subtle).sign({name:"ECDSA",hash:{name:"SHA-256"}},l,new Uint8Array(g))));h={m:a,s:e.Buffer.from(y,"binary").toString(o.encode||"base64")};if(o.raw||(h="SEA"+await e.stringify(h)),i)try{i(h)}catch(l){console.log(l)}return h}catch(l){if(console.log(l),t.err=l,t.throw)throw l;return void(i&&i())}}),l.exports=t.sign}))(u,"./sign"),u((function(l){var n,t=u("./root"),e=u("./shim"),r=u("./settings"),s=u("./sha256");t.verify=t.verify||(async(l,u,i,o)=>{try{var a=await r.parse(l);if(!1===u){var c=await r.parse(a.m);if(i)try{i(c)}catch(l){console.log(l)}return c}o=o||{};var h,f,d,p=u.pub||u,g=t.opt.slow_leak?await t.opt.slow_leak(p):await(e.ossl||e.subtle).importKey("jwk",r.jwk(p),{name:"ECDSA",namedCurve:"P-256"},!1,["verify"]),y=await s(a.m);try{if(h=e.Buffer.from(a.s,o.encode||"base64"),f=new Uint8Array(h),!(d=await(e.ossl||e.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},g,f,new Uint8Array(y))))throw"Signature did not match."}catch(n){if(t.opt.fallback)return await t.opt.fall_verify(l,u,i,o)}var m=d?await r.parse(a.m):n;if(i)try{i(m)}catch(l){console.log(l)}return m}catch(l){if(console.log(l),t.err=l,t.throw)throw l;return void(i&&i())}}),l.exports=t.verify;var i={};t.opt.slow_leak=l=>{if(i[l])return i[l];var n=r.jwk(l);return i[l]=(e.ossl||e.subtle).importKey("jwk",n,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"]),i[l]};var o=t.opt;t.opt.fall_verify=async function(l,u,i,a,c){if(c===t.opt.fallback)throw"Signature did not match";c=c||1;var h=l||"";l=t.opt.unpack(l)||l;var f,d,p,g=await r.parse(l),y=u.pub||u,m=await t.opt.slow_leak(y),w=c<=t.opt.fallback?e.Buffer.from(await e.subtle.digest({name:"SHA-256"},(new e.TextEncoder).encode(await r.parse(g.m)))):await s(g.m);try{if(f=e.Buffer.from(g.s,a.encode||"base64"),d=new Uint8Array(f),!(p=await(e.ossl||e.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},m,d,new Uint8Array(w))))throw"Signature did not match."}catch(l){try{f=e.Buffer.from(g.s,"utf8"),d=new Uint8Array(f),p=await(e.ossl||e.subtle).verify({name:"ECDSA",hash:{name:"SHA-256"}},m,d,new Uint8Array(w))}catch(l){if(!p)throw"Signature did not match."}}var b=p?await r.parse(g.m):n;if(o.fall_soul=h["#"],o.fall_key=h["."],o.fall_val=l,o.fall_state=h[">"],i)try{i(b)}catch(l){console.log(l)}return b},t.opt.fallback=2}))(u,"./verify"),u((function(l){var n=u("./shim"),t=u("./settings"),e=u("./sha256");l.exports=async(l,u,r)=>{const s=l+(u||n.random(8)).toString("utf8"),i=n.Buffer.from(await e(s),"binary"),o=t.keyToJwk(i);return await n.subtle.importKey("jwk",o,{name:"AES-GCM"},!1,["encrypt","decrypt"])}}))(u,"./aeskey"),u((function(l){var n=u("./root"),t=u("./shim");u("./settings");var e=u("./aeskey");n.encrypt=n.encrypt||(async(l,u,r,s)=>{try{s=s||{};var i=(u||s).epriv||u;if(undefined===l)throw"`undefined` not allowed.";if(!i){if(!n.I)throw"No encryption key.";i=(u=await n.I(null,{what:l,how:"encrypt",why:s.why})).epriv||u}var o="string"==typeof l?l:await t.stringify(l),a={s:t.random(9),iv:t.random(15)},c=await e(i,a.s,s).then((l=>t.subtle.encrypt({name:s.name||"AES-GCM",iv:new Uint8Array(a.iv)},l,(new t.TextEncoder).encode(o)))),h={ct:t.Buffer.from(c,"binary").toString(s.encode||"base64"),iv:a.iv.toString(s.encode||"base64"),s:a.s.toString(s.encode||"base64")};if(s.raw||(h="SEA"+await t.stringify(h)),r)try{r(h)}catch(l){console.log(l)}return h}catch(l){if(console.log(l),n.err=l,n.throw)throw l;return void(r&&r())}}),l.exports=n.encrypt}))(u,"./encrypt"),u((function(l){var n=u("./root"),t=u("./shim"),e=u("./settings"),r=u("./aeskey");n.decrypt=n.decrypt||(async(l,u,s,i)=>{try{i=i||{};var o=(u||i).epriv||u;if(!o){if(!n.I)throw"No decryption key.";o=(u=await n.I(null,{what:l,how:"decrypt",why:i.why})).epriv||u}var a,c,h,f=await e.parse(l);try{a=t.Buffer.from(f.s,i.encode||"base64"),c=t.Buffer.from(f.iv,i.encode||"base64"),h=t.Buffer.from(f.ct,i.encode||"base64");var d=await r(o,a,i).then((l=>t.subtle.decrypt({name:i.name||"AES-GCM",iv:new Uint8Array(c),tagLength:128},l,new Uint8Array(h))))}catch(t){if("utf8"===i.encode)throw"Could not decrypt";if(n.opt.fallback)return i.encode="utf8",await n.decrypt(l,u,s,i)}var p=await e.parse(new t.TextDecoder("utf8").decode(d));if(s)try{s(p)}catch(l){console.log(l)}return p}catch(l){if(console.log(l),n.err=l,n.throw)throw l;return void(s&&s())}}),l.exports=n.decrypt}))(u,"./decrypt"),u((function(l){var n=u("./root"),t=u("./shim");u("./settings"),n.secret=n.secret||(async(l,u,r,s)=>{try{if(s=s||{},!u||!u.epriv||!u.epub){if(!n.I)throw"No secret mix.";u=await n.I(null,{what:l,how:"secret",why:s.why})}var i=l.epub||l,o=u.epub,a=u.epriv,c=t.ossl||t.subtle,h=e(i),f=Object.assign({public:await c.importKey(...h,!0,[])},{name:"ECDH",namedCurve:"P-256"}),d=e(o,a),p=await c.importKey(...d,!1,["deriveBits"]).then((async l=>{var n=await c.deriveBits(f,l,256),u=new Uint8Array(n),t=await c.importKey("raw",u,{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]);return c.exportKey("jwk",t).then((({k:l})=>l))}));if(r)try{r(p)}catch(l){console.log(l)}return p}catch(l){if(console.log(l),n.err=l,n.throw)throw l;return void(r&&r())}});var e=(l,n)=>{var[u,t]=l.split("."),e=n?{d:n}:{};return["jwk",Object.assign(e,{x:u,y:t,kty:"EC",crv:"P-256",ext:!0}),{name:"ECDH",namedCurve:"P-256"}]};l.exports=n.secret}))(u,"./secret"),u((function(l){var n=u("./root");n.certify=n.certify||(async(l,u={},t,e,r={})=>{try{if(console.log("SEA.certify() is an early experimental community supported method that may change API behavior without warning in any future version."),l=(()=>{var n=[];if(l){if(("string"==typeof l||Array.isArray(l))&&l.indexOf("*")>-1)return"*";if("string"==typeof l)return l;if(Array.isArray(l)){if(1===l.length&&l[0])return"object"==typeof l[0]&&l[0].pub?l[0].pub:"string"==typeof l[0]?l[0]:null;l.map((l=>{"string"==typeof l?n.push(l):"object"==typeof l&&l.pub&&n.push(l.pub)}))}return"object"==typeof l&&l.pub?l.pub:n.length>0?n:null}})(),!l)return console.log("No certificant found.");const i=!r.expiry||"number"!=typeof r.expiry&&"string"!=typeof r.expiry?null:parseFloat(r.expiry),o=(u||{}).read?u.read:null,a=(u||{}).write?u.write:"string"==typeof u||Array.isArray(u)||u["+"]||u["#"]||u["."]||u["="]||u["*"]||u[">"]||u["<"]?u:null,c=(r||{}).block||(r||{}).blacklist||(r||{}).ban||{},h=c.read&&("string"==typeof c.read||(c.read||{})["#"])?c.read:null,f="string"==typeof c?c:c.write&&("string"==typeof c.write||c.write["#"])?c.write:null;if(!o&&!a)return console.log("No policy found.");const d=JSON.stringify({c:l,...i?{e:i}:{},...o?{r:o}:{},...a?{w:a}:{},...h?{rb:h}:{},...f?{wb:f}:{}});var s=await n.sign(d,t,null,{raw:1});if(r.raw||(s="SEA"+JSON.stringify(s)),e)try{e(s)}catch(l){console.log(l)}return s}catch(l){if(n.err=l,n.throw)throw l;return void(e&&e())}}),l.exports=n.certify}))(u,"./certify"),u((function(l){var n=u("./shim"),t=u("./root");t.work=u("./work"),t.sign=u("./sign"),t.verify=u("./verify"),t.encrypt=u("./encrypt"),t.decrypt=u("./decrypt"),t.certify=u("./certify"),t.random=t.random||n.random,t.Buffer=t.Buffer||u("./buffer"),t.keyid=t.keyid||(async l=>{try{const u=n.Buffer.concat(l.replace(/-/g,"+").replace(/_/g,"/").split(".").map((l=>n.Buffer.from(l,"base64")))),t=n.Buffer.concat([n.Buffer.from([153,u.length/256,u.length%256]),u]),e=await sha1hash(t),r=n.Buffer.from(e,"binary");return r.toString("hex",r.length-8)}catch(l){throw console.log(l),l}}),((t.window||{}).GUN||{}).SEA=t,l.exports=t}))(u,"./sea"),u((function(l){var n,e=u("./sea");function r(l){this._={$:this}}function s(){return n.state().toString(36).replace(".","")}n=e.window?e.window.GUN||{chain:{}}:u((undefined+""==typeof t?".":"")+"./gun",1),e.GUN=n,r.prototype=function(){function l(){}return l.prototype=n.chain,new l}(),r.prototype.constructor=r,n.chain.user=function(l){var n,u=this.back(-1);if(l)return l=e.opt.pub((l._||"")["#"])||l,u.get("~"+l);if(n=u.back("user"))return n;var t=u=u._,i=t.opt.uuid||s;return(t=(n=t.user=this.chain(new r))._).opt={},t.opt.uuid=function(l){var n=i(),t=u.user;return t&&(t=t.is)&&(t=t.pub)?(n="~"+t+"/"+n,l&&l.call&&l(null,n),n):n},n},n.User=r,r.GUN=n,r.SEA=n.SEA=e,l.exports=r}))(u,"./user"),u((function(l){var n;(""+n!=typeof GUN?GUN||{chain:{}}:u((""+n==typeof t?".":"")+"./gun",1)).chain.then=function(l,n){var u=this,t=new Promise((function(l,t){u.once(l,n)}));return l?t.then(l):t}}))(u,"./then"),u((function(l){var n=u("./user"),t=n.SEA,e=n.GUN,r=function(){};n.prototype.create=function(...l){var n,u="object"==typeof l[0]&&(l[0].pub||l[0].epub)?l[0]:"object"==typeof l[1]&&(l[1].pub||l[1].epub)?l[1]:null,s=u&&(u.pub||u.epub)?u.pub:"string"==typeof l[0]?l[0]:null,i=u&&(u.pub||u.epub)?u:s&&"string"==typeof l[1]?l[1]:null,o=l.filter((l=>"function"==typeof l))[0]||null,a=l&&l.length>1&&"object"==typeof l[l.length-1]?l[l.length-1]:{},c=this,h=c._,f=c.back(-1);if((o=o||r,!1!==(a=a||{}).check)&&(s||(n="No user."),(i||"").length<8&&(n="Password too short!"),n))return o({err:e.log(n)}),c;if(h.ing)return(o||r)({err:e.log("User is already being created or authenticated!"),wait:!0}),c;h.ing=!0;var d={a:function(l){if(d.pubs=l,l&&!a.already){var n={err:e.log("User already created!")};return h.ing=!1,(o||r)(n),void c.leave()}d.salt=String.random(64),t.work(i,d.salt,d.b)},b:function(l){d.proof=l,u?d.c(u):t.pair(d.c)},c:function(l){var n;d.pair=l||{},(n=h.root.user)&&(n._.sea=l,n.is={pub:l.pub,epub:l.epub,alias:s}),d.data={pub:l.pub},d.d()},d:function(){d.data.alias=s,d.e()},e:function(){d.data.epub=d.pair.epub,t.encrypt({priv:d.pair.priv,epriv:d.pair.epriv},d.proof,d.f,{raw:1})},f:function(l){d.data.auth=JSON.stringify({ek:l,s:d.salt}),d.g(d.data.auth)},g:function(l){var n;d.data.auth=d.data.auth||l,f.get(n="~"+d.pair.pub).put(d.data).on(d.h);var u={};u[n]={"#":n},f.get("~@"+s).put(u).get(n).on(d.i)},h:function(l,n,u,t){t.off(),d.h.ok=1,d.i()},i:function(l,n,t,e){e&&(d.i.ok=1,e.off()),d.h.ok&&d.i.ok&&(h.ing=!1,o({ok:0,pub:d.pair.pub}),r===o&&(u?c.auth(u):c.auth(s,i)))}};return f.get("~@"+s).once(d.a),c},n.prototype.leave=function(l,n){var u=this.back(-1)._.user;if(u&&(delete u.is,delete u._.is,delete u._.sea),t.window)try{var e={};delete(e=t.window.sessionStorage).recall,delete e.pair}catch(l){}return this}}))(u,"./create"),u((function(l){var n=u("./user"),t=n.SEA,e=n.GUN,r=function(){};function s(l){if("string"!=typeof l)return l;try{l=JSON.parse(l)}catch(n){l={}}return l}n.prototype.auth=function(...l){var n="object"==typeof l[0]&&(l[0].pub||l[0].epub)?l[0]:"object"==typeof l[1]&&(l[1].pub||l[1].epub)?l[1]:null,u=n||"string"!=typeof l[0]?null:l[0],i=!u&&(!n||n.priv&&n.epriv)||"string"!=typeof l[1]?null:l[1],o=l.filter((l=>"function"==typeof l))[0]||null,a=l&&l.length>1&&"object"==typeof l[l.length-1]?l[l.length-1]:{},c=this,h=c._,f=c.back(-1);if(h.ing)return(o||r)({err:e.log("User is already being created or authenticated!"),wait:!0}),c;h.ing=!0;var d,p={},g=9;return p.a=function(l){if(!l)return p.b();if(!l.pub){var n=[];return Object.keys(l).forEach((function(u){"_"!=u&&n.push(l[u])})),p.b(n)}if(p.name)return p.f(l);p.c((p.data=l).auth)},p.b=function(l){var n=(p.list=(p.list||[]).concat(l||[])).shift();if(d===n)return p.name?p.err("Your user account is not published for dApps to access, please consider syncing it online, or allowing local access by adding your device as a peer."):u&&g--?void f.get("~@"+u).once(p.a):p.err("Wrong user or password.");f.get(n).once(p.a)},p.c=function(l){return d===l?p.b():"string"==typeof l?p.c(s(l)):void t.work(i,(p.auth=l).s,p.d,p.enc)},p.d=function(l){t.decrypt(p.auth.ek,l,p.e,p.enc)},p.e=function(l){if(d===l)return p.enc?(p.enc=null,p.b()):(p.enc={encode:"utf8"},p.c(p.auth));p.half=l,p.f(p.data)},p.f=function(l){var n=p.half||{},u=p.data||{};p.g(p.lol={pub:l.pub||u.pub,epub:l.epub||u.epub,priv:l.priv||n.priv,epriv:l.epriv||n.epriv})},p.g=function(l){if(!l||!l.pub||!l.epub)return p.b();p.pair=l;var n=f._.user,g=n._;g.tag;var y=g.opt;(g=n._=f.get("~"+l.pub)._).opt=y,n.is={pub:l.pub,epub:l.epub,alias:u||l.pub},g.sea=p.pair,h.ing=!1;try{i&&d==(s(h.root.graph["~"+l.pub].auth)||"")[":"]&&(a.shuffle=a.change=i)}catch(l){}if(a.change?p.z():(o||r)(g),t.window&&(c.back("user")._.opt||a).remember)try{var m={};(m=t.window.sessionStorage).recall=!0,m.pair=JSON.stringify(l)}catch(l){}try{f._.tag.auth?f._.on("auth",g):setTimeout((function(){f._.on("auth",g)}),1)}catch(l){e.log("Your 'auth' callback crashed with:",l)}},p.h=function(l){return l?((u=l.alias)||(u=l.alias="~"+n.pub),l.auth?(n=null,void p.c((p.data=l).auth)):p.g(n)):p.b()},p.z=function(){p.salt=String.random(64),t.work(a.change,p.salt,p.y)},p.y=function(l){t.encrypt({priv:p.pair.priv,epriv:p.pair.epriv},l,p.x,{raw:1})},p.x=function(l){p.w(JSON.stringify({ek:l,s:p.salt}))},p.w=function(l){if(a.shuffle){console.log("migrate core account from UTF8 & shuffle");var n={};Object.keys(p.data).forEach((function(l){n[l]=p.data[l]})),delete n._,n.auth=l,f.get("~"+p.pair.pub).put(n)}f.get("~"+p.pair.pub).get("auth").put(l,o||r)},p.err=function(l){var n={err:e.log(l||"User cannot be found!")};h.ing=!1,(o||r)(n)},p.plugin=function(l){if(!(p.name=l))return p.err();var n=[l];"~"!==l[0]&&(n[1]="~"+l,n[2]="~@"+l),p.b(n)},n?n.priv&&n.epriv?p.g(n):f.get("~"+n.pub).once(p.h):u?f.get("~@"+u).once(p.a):u||i||t.name(p.plugin),c}}))(u,"./auth"),u((function(l){var n=u("./user"),t=n.SEA;n.GUN,n.prototype.recall=function(l,n){var u=this,e=u.back(-1);if((l=l||{})&&l.sessionStorage){if(t.window)try{var r;(r=t.window.sessionStorage)&&(e._.opt.remember=!0,(u.back("user")._.opt||l).remember=!0,(r.recall||r.pair)&&e.user().auth(JSON.parse(r.pair),n))}catch(l){}return u}return u}}))(u,"./recall"),u((function(l){var n=u("./user"),t=n.SEA,e=n.GUN,r=function(){};n.prototype.pair=function(){var l,n=this;try{l=new Proxy({DANGER:"☠"},{get:function(l,u,t){if(n.is&&(n._||"").sea)return n._.sea[u]}})}catch(l){}return l},n.prototype.delete=async function(l,n,u){console.log("user.delete() IS DEPRECATED AND WILL BE MOVED TO A MODULE!!!");var t=this;t.back(-1);var s=t.back("user");try{s.auth(l,n,(function(l){(s.is||{}).pub;s.map().once((function(){this.put(null)})),s.leave(),(u||r)({ok:0})}))}catch(l){e.log("User.delete failed! Error:",l)}return t},n.prototype.alive=async function(){console.log("user.alive() IS DEPRECATED!!!");const l=this.back(-1);try{return await authRecall(l),l._.user._}catch(l){const n="No session!";throw e.log(n),{err:n}}},n.prototype.trust=async function(l){console.log("`.trust` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!"),e.is(l)&&l.get("pub").get(((l,n)=>{console.log(l,n)})),l.get("trust").get(path).put(theirPubkey)},n.prototype.grant=function(l,n){console.log("`.grant` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!");var u=this,e=u.back(-1).user(),r=e._.sea,s="";return u.back((function(l){l.is||(s+=l.get||"")})),async function(){var u,i=await e.get("grant").get(r.pub).get(s).then();(i=await t.decrypt(i,r))||(i=t.random(16).toString(),u=await t.encrypt(i,r),e.get("grant").get(r.pub).get(s).put(u));var o=l.get("pub").then(),a=l.get("epub").then();o=await o,a=await a;var c=await t.secret(a,r);u=await t.encrypt(i,c),e.get("grant").get(o).get(s).put(u,n)}(),u},n.prototype.secret=function(l,n){console.log("`.secret` API MAY BE DELETED OR CHANGED OR RENAMED, DO NOT USE!");var u=this,e=u.back(-1).user(),r=e.pair(),s="";return u.back((function(l){l.is||(s+=l.get||"")})),async function(){var i,o=await e.get("trust").get(r.pub).get(s).then();(o=await t.decrypt(o,r))||(o=t.random(16).toString(),i=await t.encrypt(o,r),e.get("trust").get(r.pub).get(s).put(i)),i=await t.encrypt(l,o),u.put(i,n)}(),u},l.exports=n}))(u,"./share"),u((function(l){var n,e=u("./sea"),r=u("./settings"),s=(e.window||"").GUN||u((""+n==typeof t?".":"")+"./gun",1);function i(l){var n,u=this,t=u.as,r=l.put,o=r["#"],a=r["."],c=r[":"],h=r[">"],f=l["#"];if(o&&a)if((l._||"").faith&&(t.opt||"").faith&&"function"==typeof l._)e.opt.pack(r,(function(n){e.verify(n,!1,(function(n){r["="]=e.opt.unpack(n),u.to.next(l)}))}));else{var d=function(n){t.on("in",{"@":f,err:l.err=n})};(l._||"").DBG&&((l._||"").DBG.c=+new Date),0<=o.indexOf("<?")&&(n=parseFloat(o.split("<?")[1]||""))&&h<s.state()-1e3*n?(n=l._)&&n.stun&&n.stun--:"~@"!==o?"~@"!==o.slice(0,2)?(n=e.opt.pub(o))?i.pub(u,l,c,a,o,t,d,t.user||"",n):0<=o.indexOf("#")?i.hash(u,l,c,a,o,t,d):i.any(u,l,c,a,o,t,d,t.user||""):i.pubs(u,l,c,a,o,t,d):i.alias(u,l,c,a,o,t,d)}}s.on("opt",(function(l){l.sea||(l.sea={own:{}},l.on("put",i,l)),this.to.next(l)})),i.hash=function(l,n,u,t,r,s,i){e.work(u,null,(function(u){return u&&u===t.split("#").slice(-1)[0]||u&&u===function(l){let n="";for(let u=0;u<l.length;u++)n+=u-1&1?"":String.fromCharCode(parseInt(l.substring(u-1,u+1),16));return btoa(n)}(t.split("#").slice(-1)[0])?l.to.next(n):void i("Data hash not same as hash!")}),{name:"SHA-256"})},i.alias=function(l,n,u,t,e,r,s){return u?"~@"+t===a(u)?l.to.next(n):void s("Alias not same!"):s("Data must exist!")},i.pubs=function(l,n,u,t,e,r,s){return u?t===a(u)?l.to.next(n):void s("Alias not same!"):s("Alias must exist!")},i.pub=async function(l,u,t,i,o,c,h,f,d){var p;const g=await r.parse(t)||{},y=(t,r,a)=>{if(t.m&&t.s&&r&&d)return e.verify(t,d,(t=>{if(n!==t&&n!==t.e&&u.put[">"]&&u.put[">"]>parseFloat(t.e))return h("Certificate expired.");if(n!==t&&t.c&&t.w&&(t.c===r||t.c.indexOf("*")>-1)){let n=o.indexOf("/")>-1?o.replace(o.substring(0,o.indexOf("/")+1),""):"";String.match=String.match||s.text.match;const u=Array.isArray(t.w)?t.w:"object"==typeof t.w||"string"==typeof t.w?[t.w]:[];for(const s of u)if(String.match(n,s["#"])&&String.match(i,s["."])||!s["."]&&String.match(n,s["#"])||!s["#"]&&String.match(i,s["."])||String.match(n?n+"/"+i:i,s["#"]||s)){if(s["+"]&&s["+"].indexOf("*")>-1&&n&&-1==n.indexOf(r)&&-1==i.indexOf(r))return h(`Path "${n}" or key "${i}" must contain string "${r}".`);if(t.wb&&("string"==typeof t.wb||(t.wb||{})["#"])){var e=l.as.root.$.back(-1);return"string"==typeof t.wb&&"~"!==t.wb.slice(0,1)&&(e=e.get("~"+d)),e.get(t.wb).get(r).once((l=>!l||1!==l&&!0!==l?a(t):h(`Certificant ${r} blocked.`)))}return a(t)}return h("Certificate verification fail.")}}))};if("pub"===i&&"~"+d===o)return t===d?l.to.next(u):h("Account not same!");(p=f.is)&&p.pub&&!g["*"]&&!g["+"]&&(d===p.pub||d!==p.pub&&((u._.msg||{}).opt||{}).cert)?e.opt.pack(u.put,(s=>{e.sign(s,f._.sea,(async function(s){if(n===s)return h(e.err||"Signature fail.");if(u.put[":"]={":":p=e.opt.unpack(s.m),"~":s.s},u.put["="]=p,d===f.is.pub)return(p=a(t))&&((c.sea.own[p]=c.sea.own[p]||{})[d]=1),void JSON.stringifyAsync(u.put[":"],(function(n,t){return n?h(n||"Stringify error."):(u.put[":"]=t,l.to.next(u))}));if(d!==f.is.pub&&((u._.msg||{}).opt||{}).cert){const n=await r.parse(u._.msg.opt.cert);n&&n.m&&n.s&&y(n,f.is.pub,(t=>{u.put[":"]["+"]=n,u.put[":"]["*"]=f.is.pub,JSON.stringifyAsync(u.put[":"],(function(n,t){return n?h(n||"Stringify error."):(u.put[":"]=t,l.to.next(u))}))}))}}),{raw:1})})):e.opt.pack(u.put,(t=>{e.verify(t,g["*"]||d,(function(t){var r;return t=e.opt.unpack(t),n===t?h("Unverified data."):((r=a(t))&&d===e.opt.pub(r)&&((c.sea.own[r]=c.sea.own[r]||{})[d]=1),g["+"]&&g["+"].m&&g["+"].s&&g["*"]?void y(g["+"],g["*"],(n=>(u.put["="]=t,l.to.next(u)))):(u.put["="]=t,l.to.next(u)))}))}))},i.any=function(l,n,u,t,e,r,s,i){if(r.opt.secure)return s("Soul missing public key at '"+t+"'.");r.on("secure",(function(n){if(this.off(),!r.opt.secure)return l.to.next(n);s("Data cannot be changed.")})).on.on("secure",n)};var o=s.valid,a=function(l,n){return"string"==typeof(n=o(l))&&n};(s.state||"").ify;var c=/[^\w_-]/;e.opt.pub=function(l){if(l&&(l=l.split("~"))&&(l=l[1])&&(l=l.split(c).slice(0,2))&&2==l.length&&"@"!==(l[0]||"")[0])return l=l.slice(0,2).join(".")},e.opt.stringy=function(l){},e.opt.pack=function(l,u,t,r,i){var o,a;if(e.opt.check(l))return u(l);l&&l["#"]&&l["."]&&l[">"]&&(o=l[":"],a=1),JSON.parseAsync(a?o:l,(function(e,o){var a=n!==(o||"")[":"]&&(o||"")["~"];u(a?{m:{"#":i||l["#"],".":t||l["."],":":(o||"")[":"],">":l[">"]||s.state.is(r,t)},s:a}:l)}))};var h=e.opt;e.opt.unpack=function(l,u,t){var r;if(n!==l){if(l&&n!==(r=l[":"]))return r;if(u=u||h.fall_key,!t&&h.fall_val&&((t={})[u]=h.fall_val),u&&t){if(l===t[u])return l;if(!e.opt.check(t[u]))return l;var i=t&&t._&&t._["#"]||h.fall_soul,o=s.state.is(t,u)||h.fall_state;return l&&4===l.length&&i===l[0]&&u===l[1]&&f(o)===f(l[3])?l[2]:o<e.opt.shuffle_attack?l:void 0}}},e.opt.shuffle_attack=15463296e5;var f=Math.floor}))(u,"./index")}()}(kh);const xh=w.SEA;let Nh,Sh={PROOF_OF_INTEGRITY_ADDRESS:bh.optimismSepolia.PROOF_OF_INTEGRITY_ADDRESS,STEALTH_ANNOUNCER_ADDRESS:bh.optimismSepolia.STEALTH_ANNOUNCER_ADDRESS};const Th=async()=>{if("undefined"==typeof window)try{const{fileURLToPath:l}=await import("./_polyfill-node.url-0266579c.js"),{dirname:n}=await import("./_polyfill-node.path-9a915936.js"),{readFile:u}=await import("fs/promises"),{join:t}=await import("./_polyfill-node.path-9a915936.js"),e=n(l(import.meta.url));try{const l=await u(t(e,"contract-address.json"),"utf8");Sh=JSON.parse(l),console.log("Loaded contract addresses:",Sh)}catch(l){console.warn("Warning: contract-address.json not found or invalid")}}catch(l){console.error("Error loading Node.js modules:",l)}};function Oh(){return M(ju(32)).slice(2)}function Ph(l){try{const n=gu(dl(l));return console.log("Generated password:",n),n}catch(l){return console.error("Error generating password:",l),null}}function Ih(l){const n="0x"+(l=>{const n="=".repeat((4-l.length%4)%4),u=l.replace(/-/g,"+").replace(/_/g,"/")+n,t=atob(u);return Array.from(t,(l=>l.charCodeAt(0).toString(16).padStart(2,"0"))).join("")})(l),u=new yh(n);return{account:u,publicKey:u.address,privateKey:n}}"undefined"==typeof window&&Th();const Ch=async()=>{if(rpcUrl&&privateKey){const l=new Va(rpcUrl,{chainId:wh.CHAIN_ID,name:"localhost"});return new Wallet(privateKey,l)}if("undefined"!=typeof window&&void 0!==window.ethereum){await window.ethereum.request({method:"eth_requestAccounts"});return new za(window.ethereum).getSigner()}throw new Error("No valid Ethereum provider found")};function Rh(l,n){try{const u=dl(l),t=gu(G([u,dl(n)])),e=new Wallet(t);return console.log("Debug deriveStealthAddress:",{sharedSecretHex:t,spendingPublicKey:n,stealthPrivateKey:t,stealthAddress:e.address}),{stealthPrivateKey:t,stealthAddress:e.address,wallet:e}}catch(l){throw console.error("Error in deriveStealthAddress:",l),l}}w.chain.MESSAGE_TO_SIGN=MESSAGE_TO_SIGN,w.chain.setSigner=function(l,n){return rpcUrl=l,privateKey=n,console.log("Standalone configuration set"),this},w.chain.getSigner=Ch(),w.chain.verifySignature=async function(l,n){try{const u=function(l,n){return as(Ts(l),n)}(l,n);return u}catch(l){return console.error("Error verifying signature:",l),null}},w.chain.generatePassword=function(l){return Ph(l)},w.chain.createSignature=async function(l){try{if(l!==MESSAGE_TO_SIGN)throw new Error("Invalid message, valid message is: "+MESSAGE_TO_SIGN);const n=await Ch(),u=await n.signMessage(l);return console.log("Signature created:",u),u}catch(l){return console.error("Error creating signature:",l),null}},w.chain.createAndStoreEncryptedPair=async function(l,n){try{const u=this,t=await xh.pair(),e=await xh.pair(),r=await xh.pair(),s=Ph(n),i=await xh.encrypt(JSON.stringify(t),s),o=await xh.encrypt(JSON.stringify(e),s),a=await xh.encrypt(JSON.stringify(r),s),c=Ih(e.priv),h=Ih(r.priv);u.get("gun-eth").get("users").get(l).put({pair:i,v_pair:o,s_pair:a,publicKeys:{viewingPublicKey:e.epub,viewingPublicKey:e.epub,spendingPublicKey:h.publicKey,ethViewingAddress:c.publicKey}}),console.log("Encrypted pairs and public keys stored for:",l)}catch(l){throw console.error("Error creating and storing encrypted pair:",l),l}},w.chain.getAndDecryptPair=async function(l,n){try{const u=this,t=await u.get("gun-eth").get("users").get(l).get("pair").then();if(!t)throw new Error("No encrypted data found for this address");const e=Ph(n),r=await xh.decrypt(t,e);return console.log(r),r}catch(l){return console.error("Error retrieving and decrypting pair:",l),null}},w.chain.proof=function(l,n,u,t){if(console.log("Proof plugin called with:",{chain:l,nodeId:n,data:u}),"function"!=typeof t)return console.error("Callback must be a function"),this;try{const e="development"===process.env.NODE_ENV&&"undefined"!=typeof window&&"localhost"===window.location.hostname?"localhost":l,r=Ah(e);console.log(`Using ${e} configuration:`,r);new Bo(r.PROOF_OF_INTEGRITY_ADDRESS,Eh,signer);const s=async(l,n)=>{console.log("Verifying on chain:",{nodeId:l,contentHash:n});const u=await Ch(),t=new Contract(Nh,Eh,u),[e,r,s]=await t.verifyData(dl(l),n);return console.log("Verification result:",{isValid:e,timestamp:r,updater:s}),{isValid:e,timestamp:r,updater:s}},i=async(l,n)=>{console.log("Writing on chain:",{nodeId:l,contentHash:n});const u=await Ch(),t=new Contract(Nh,Eh,u),e=await t.updateData(toUtf8Bytes(l),n);console.log("Transaction sent:",e.hash);const r=await e.wait();return console.log("Transaction confirmed:",r),e},o=async l=>{const n=await Ch(),u=new Contract(Nh,Eh,n),[t,e,r]=await u.getLatestRecord(toUtf8Bytes(l));return console.log("Latest record from blockchain:",{nodeId:l,contentHash:t,timestamp:e,updater:r}),{contentHash:t,timestamp:e,updater:r}};if(n&&!u)gun.get(n).once((async l=>{if(!l)return void(t&&t({err:"Node not found in GunDB"}));console.log("existingData",l);const u=l._contentHash;if(console.log("contentHash",u),u)try{const{isValid:l,timestamp:e,updater:r}=await s(n,u),i=await o(n);l?t&&t({ok:!0,message:"Data verified on blockchain",timestamp:e,updater:r,latestRecord:i}):t&&t({ok:!1,message:"Data not verified on blockchain",latestRecord:i})}catch(l){t&&t({err:l.message})}else t&&t({err:"No content hash found for this node"})}));else if(u&&!n){const l=Oh(),n=gu(dl(JSON.stringify(u)));gun.get(l).put({...u,_contentHash:n},(async u=>{if(console.log("ack",u),u.err)t&&t({err:"Error saving data to GunDB"});else try{const u=await i(l,n);t&&t({ok:!0,message:"Data written to GunDB and blockchain",nodeId:l,txHash:u.hash})}catch(l){t&&t({err:l.message})}}))}else t&&t({err:"Invalid input. Provide either nodeId or data, not both."});return gun}catch(l){return t({err:l.message}),this}},w.chain.gunToEthAccount=function(l){return Ih(l)},w.chain.generateStealthAddress=async function(l,n){try{const u=this,t=await u.get("gun-eth").get("users").get(l).get("publicKeys").then();if(!t||!t.viewingPublicKey||!t.spendingPublicKey)throw new Error("Recipient's public keys not found");const e=await this.verifySignature(MESSAGE_TO_SIGN,n),r=Ph(n),s=await u.get("gun-eth").get("users").get(e).then();if(!s||!s.s_pair)throw new Error("Sender's keys not found");let i;try{const l=await xh.decrypt(s.s_pair,r);i="string"==typeof l?JSON.parse(l):l}catch(l){throw console.error("Error decrypting spending pair:",l),new Error("Unable to decrypt spending pair")}const o=await xh.secret(t.viewingPublicKey,i);if(!o)throw new Error("Unable to generate shared secret");console.log("Generate shared secret:",o);const{stealthAddress:a}=Rh(o,t.spendingPublicKey);return{stealthAddress:a,senderPublicKey:i.epub,spendingPublicKey:t.spendingPublicKey}}catch(l){throw console.error("Error generating stealth address:",l),l}},w.chain.publishStealthKeys=async function(l){try{const n=this,u=await this.verifySignature(MESSAGE_TO_SIGN,l),t=Ph(l),e=await n.get("gun-eth").get("users").get(u).then();if(!e||!e.v_pair||!e.s_pair)throw new Error("Keys not found");const r=JSON.parse(await xh.decrypt(e.v_pair,t)),s=JSON.parse(await xh.decrypt(e.s_pair,t)),i=Ih(r.priv),o=Ih(s.priv);n.get("gun-eth").get("users").get(u).get("publicKeys").put({viewingPublicKey:i.publicKey,spendingPublicKey:o.publicKey}),console.log("Stealth public keys published successfully")}catch(l){throw console.error("Error publishing stealth keys:",l),l}},w.chain.recoverStealthFunds=async function(l,n,u,t){try{const e=this,r=Ph(u),s=await this.verifySignature(MESSAGE_TO_SIGN,u),i=await e.get("gun-eth").get("users").get(s).then();if(!i||!i.v_pair||!i.s_pair)throw new Error("Keys not found");let o;try{const l=await xh.decrypt(i.v_pair,r);o="string"==typeof l?JSON.parse(l):l}catch(l){throw console.error("Error decrypting keys:",l),new Error("Unable to decrypt keys")}const a=await xh.secret(n,o);if(!a)throw new Error("Unable to generate shared secret");console.log("Recover shared secret:",a);const{wallet:c,stealthAddress:h}=Rh(a,t);if(h.toLowerCase()!==l.toLowerCase())throw console.error("Mismatch:",{recovered:h,expected:l,sharedSecret:a}),new Error("Recovered stealth address does not match");return{wallet:c,address:h}}catch(l){throw console.error("Error recovering stealth funds:",l),l}},w.chain.announceStealthPayment=async function(l,n,u,t,e={onChain:!1,chain:"optimismSepolia"}){try{const r=this,s=await this.verifySignature(MESSAGE_TO_SIGN,t);if(e.onChain){const t=await Ch(),r=Ah(e.chain).STEALTH_ANNOUNCER_ADDRESS;console.log("Using contract address:",r);const s=new Contract(r,vh,t),i=await s.devFee();console.log("Dev fee:",i.toString());const o=await s.announcePayment(n,u,l,{value:i});console.log("Transaction sent:",o.hash);const a=await o.wait();console.log("Transaction confirmed:",a.hash),console.log("Stealth payment announced on-chain (dev fee paid)")}else r.get("gun-eth").get("stealth-payments").set({stealthAddress:l,senderAddress:s,senderPublicKey:n,spendingPublicKey:u,timestamp:Date.now()}),console.log("Stealth payment announced off-chain")}catch(l){throw console.error("Error announcing stealth payment:",l),console.error("Error details:",l.stack),l}},w.chain.getStealthPayments=async function(l,n={source:"both"}){try{const u=[];if("onChain"===n.source||"both"===n.source){const t=await Ch(),e=Ah(n.chain||"optimismSepolia").STEALTH_ANNOUNCER_ADDRESS,r=new Contract(e,vh,t);try{const n=await r.getAnnouncementsCount(),t=Number(n.toString());if(console.log("Total on-chain announcements:",t),t>0){const n=100,e=t-1;for(let t=0;t<=e;t+=n){const s=Math.min(t+n-1,e),i=await r.getAnnouncementsInRange(t,s);for(const n of i)try{if(!(n&&n.stealthAddress&&n.senderPublicKey&&n.spendingPublicKey)){console.log("Invalid announcement:",n);continue}const t=await this.recoverStealthFunds(n.stealthAddress,n.senderPublicKey,l,n.spendingPublicKey);u.push({stealthAddress:n.stealthAddress,senderPublicKey:n.senderPublicKey,spendingPublicKey:n.spendingPublicKey,timestamp:Number(n.timestamp),source:"onChain",wallet:t})}catch(l){console.log(`Announcement not for us: ${n.stealthAddress}`);continue}}}}catch(l){console.error("Error retrieving on-chain announcements:",l)}}if("offChain"===n.source||"both"===n.source){const l=this,n=await new Promise((n=>{const u=[];l.get("gun-eth").get("stealth-payments").get(recipientAddress).map().once(((l,n)=>{l?.stealthAddress&&u.push({...l,id:n,source:"offChain"})})),setTimeout((()=>n(u)),2e3)}));u.push(...n)}return console.log(`Found ${u.length} stealth payments`),u}catch(l){throw console.error("Error retrieving stealth payments:",l),l}},w.chain.cleanStealthPayments=async function(l){try{const n=this,u=await n.get("gun-eth").get("stealth-payments").get(l).map().once().then();u&&Object.keys(u).forEach((async t=>{const e=u[t];e&&e.stealthAddress&&e.senderPublicKey&&e.spendingPublicKey||await n.get("gun-eth").get("stealth-payments").get(l).get(t).put(null)}))}catch(l){console.error("Error cleaning stealth payments:",l)}};class Bh{static generateRandomId=Oh;static generatePassword=Ph;static gunToEthAccount=Ih;static getSigner=Ch;static deriveStealthAddress=Rh;static chainMethods={setSigner:w.chain.setSigner,getSigner:w.chain.getSigner,verifySignature:w.chain.verifySignature,generatePassword:w.chain.generatePassword,createSignature:w.chain.createSignature,createAndStoreEncryptedPair:w.chain.createAndStoreEncryptedPair,getAndDecryptPair:w.chain.getAndDecryptPair,proof:w.chain.proof,gunToEthAccount:w.chain.gunToEthAccount,generateStealthAddress:w.chain.generateStealthAddress,publishStealthKeys:w.chain.publishStealthKeys,recoverStealthFunds:w.chain.recoverStealthFunds,announceStealthPayment:w.chain.announceStealthPayment,getStealthPayments:w.chain.getStealthPayments,cleanStealthPayments:w.chain.cleanStealthPayments};static MESSAGE_TO_SIGN=MESSAGE_TO_SIGN;static PROOF_CONTRACT_ADDRESS=Nh;static LOCAL_CONFIG=wh}export{w as Gun,Bh as GunEth,w as default,Rh as deriveStealthAddress,Ph as generatePassword,Oh as generateRandomId,Ch as getSigner,Ih as gunToEthAccount,Th as initNodeEnvironment};
|
13
13
|
//# sourceMappingURL=gun-eth.min.js.map
|