@stellar/stellar-base 11.0.0 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/stellar-base.js +375 -369
- package/dist/stellar-base.min.js +1 -1
- package/lib/account.js +2 -3
- package/lib/address.js +2 -3
- package/lib/asset.js +2 -3
- package/lib/auth.js +1 -1
- package/lib/claimant.js +2 -3
- package/lib/contract.js +2 -3
- package/lib/events.js +1 -1
- package/lib/fee_bump_transaction.js +3 -4
- package/lib/generated/curr_generated.js +1 -1
- package/lib/generated/next_generated.js +1 -1
- package/lib/keypair.js +2 -3
- package/lib/liquidity_pool_asset.js +2 -3
- package/lib/liquidity_pool_id.js +2 -3
- package/lib/memo.js +2 -3
- package/lib/muxed_account.js +2 -3
- package/lib/numbers/int128.js +3 -4
- package/lib/numbers/int256.js +3 -4
- package/lib/numbers/sc_int.js +2 -2
- package/lib/numbers/uint128.js +3 -4
- package/lib/numbers/uint256.js +3 -4
- package/lib/numbers/xdr_large_int.js +2 -3
- package/lib/operation.js +3 -4
- package/lib/signerkey.js +2 -3
- package/lib/soroban.js +2 -3
- package/lib/sorobandata_builder.js +2 -3
- package/lib/strkey.js +2 -3
- package/lib/transaction.js +3 -4
- package/lib/transaction_base.js +2 -3
- package/lib/transaction_builder.js +2 -3
- package/package.json +15 -15
package/dist/stellar-base.js
CHANGED
|
@@ -2,22 +2,22 @@ var StellarBase;
|
|
|
2
2
|
/******/ (() => { // webpackBootstrap
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 3740:
|
|
6
6
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
7
7
|
|
|
8
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
8
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
9
9
|
/*! For license information please see xdr.js.LICENSE.txt */
|
|
10
|
-
!function(t,e){ true?module.exports=e():0}(this,(()=>(()=>{var t={899:(t,e,r)=>{const n=r(10);t.exports=n},10:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Array:()=>j,Bool:()=>O,Double:()=>$,Enum:()=>X,Float:()=>T,Hyper:()=>A,Int:()=>B,LargeInt:()=>I,Opaque:()=>M,Option:()=>F,Quadruple:()=>L,Reference:()=>k,String:()=>N,Struct:()=>q,Union:()=>G,UnsignedHyper:()=>R,UnsignedInt:()=>U,VarArray:()=>z,VarOpaque:()=>D,Void:()=>P,XdrReader:()=>u,XdrWriter:()=>c,config:()=>rt});class n extends TypeError{constructor(t){super(`XDR Write Error: ${t}`)}}class i extends TypeError{constructor(t){super(`XDR Read Error: ${t}`)}}class o extends TypeError{constructor(t){super(`XDR Type Definition Error: ${t}`)}}class s extends o{constructor(){super("method not implemented, it should be overloaded in the descendant class.")}}var f=r(764).lW;class u{constructor(t){if(!f.isBuffer(t)){if(!(t instanceof Array||Array.isArray(t)||ArrayBuffer.isView(t)))throw new i(`source invalid: ${t}`);t=f.from(t)}this._buffer=t,this._length=t.length,this._index=0}_buffer;_length;_index;get eof(){return this._index===this._length}advance(t){const e=this._index;if(this._index+=t,this._length<this._index)throw new i("attempt to read outside the boundary of the buffer");const r=4-(t%4||4);if(r>0){for(let t=0;t<r;t++)if(0!==this._buffer[this._index+t])throw new i("invalid padding");this._index+=r}return e}rewind(){this._index=0}read(t){const e=this.advance(t);return this._buffer.subarray(e,e+t)}readInt32BE(){return this._buffer.readInt32BE(this.advance(4))}readUInt32BE(){return this._buffer.readUInt32BE(this.advance(4))}readBigInt64BE(){return this._buffer.readBigInt64BE(this.advance(8))}readBigUInt64BE(){return this._buffer.readBigUInt64BE(this.advance(8))}readFloatBE(){return this._buffer.readFloatBE(this.advance(4))}readDoubleBE(){return this._buffer.readDoubleBE(this.advance(8))}ensureInputConsumed(){if(this._index!==this._length)throw new i("invalid XDR contract typecast - source buffer not entirely consumed")}}var a=r(764).lW;const h=8192;class c{constructor(t){"number"==typeof t?t=a.allocUnsafe(t):t instanceof a||(t=a.allocUnsafe(h)),this._buffer=t,this._length=t.length}_buffer;_length;_index=0;alloc(t){const e=this._index;return this._index+=t,this._length<this._index&&this.resize(this._index),e}resize(t){const e=Math.ceil(t/h)*h,r=a.allocUnsafe(e);this._buffer.copy(r,0,0,this._length),this._buffer=r,this._length=e}finalize(){return this._buffer.subarray(0,this._index)}toArray(){return[...this.finalize()]}write(t,e){if("string"==typeof t){const r=this.alloc(e);this._buffer.write(t,r,"utf8")}else{t instanceof a||(t=a.from(t));const r=this.alloc(e);t.copy(this._buffer,r,0,e)}const r=4-(e%4||4);if(r>0){const t=this.alloc(r);this._buffer.fill(0,t,this._index)}}writeInt32BE(t){const e=this.alloc(4);this._buffer.writeInt32BE(t,e)}writeUInt32BE(t){const e=this.alloc(4);this._buffer.writeUInt32BE(t,e)}writeBigInt64BE(t){const e=this.alloc(8);this._buffer.writeBigInt64BE(t,e)}writeBigUInt64BE(t){const e=this.alloc(8);this._buffer.writeBigUInt64BE(t,e)}writeFloatBE(t){const e=this.alloc(4);this._buffer.writeFloatBE(t,e)}writeDoubleBE(t){const e=this.alloc(8);this._buffer.writeDoubleBE(t,e)}static bufferChunkSize=h}var l=r(764).lW;class p{toXDR(t="raw"){if(!this.write)return this.constructor.toXDR(this,t);const e=new c;return this.write(this,e),y(e.finalize(),t)}fromXDR(t,e="raw"){if(!this.read)return this.constructor.fromXDR(t,e);const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}static toXDR(t,e="raw"){const r=new c;return this.write(t,r),y(r.finalize(),e)}static fromXDR(t,e="raw"){const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}static validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}}class d extends p{static read(t){throw new s}static write(t,e){throw new s}static isValid(t){return!1}}class g extends p{isValid(t){return!1}}class w extends TypeError{constructor(t){super(`Invalid format ${t}, must be one of "raw", "hex", "base64"`)}}function y(t,e){switch(e){case"raw":return t;case"hex":return t.toString("hex");case"base64":return t.toString("base64");default:throw new w(e)}}function m(t,e){switch(e){case"raw":return t;case"hex":return l.from(t,"hex");case"base64":return l.from(t,"base64");default:throw new w(e)}}const b=2147483647,_=-2147483648;class B extends d{static read(t){return t.readInt32BE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");if((0|t)!==t)throw new n("invalid i32 value");e.writeInt32BE(t)}static isValid(t){return"number"==typeof t&&(0|t)===t&&(t>=_&&t<=b)}}function E(t,e,r){if("bigint"!=typeof t)throw new TypeError("Expected bigint 'value', got "+typeof t);const n=e/r;if(1===n)return[t];if(r<32||r>128||2!==n&&4!==n&&8!==n)throw new TypeError(`invalid bigint (${t}) and slice size (${e} -> ${r}) combination`);const i=BigInt(r),o=new Array(n);for(let e=0;e<n;e++)o[e]=BigInt.asIntN(r,t),t>>=i;return o}function v(t,e){if(e)return[0n,(1n<<BigInt(t))-1n];const r=1n<<BigInt(t-1);return[0n-r,r-1n]}B.MAX_VALUE=b,B.MIN_VALUE=2147483648;class I extends d{constructor(t){super(),this._value=function(t,e,r){t instanceof Array?t.length&&t[0]instanceof Array&&(t=t[0]):t=[t];const n=e/t.length;switch(n){case 32:case 64:case 128:case 256:break;default:throw new RangeError(`expected slices to fit in 32/64/128/256 bits, got ${t}`)}try{for(let e=0;e<t.length;e++)"bigint"!=typeof t[e]&&(t[e]=BigInt(t[e].valueOf()))}catch(e){throw new TypeError(`expected bigint-like values, got: ${t} (${e})`)}if(r&&1===t.length&&t[0]<0n)throw new RangeError(`expected a positive value, got: ${t}`);let i=BigInt.asUintN(n,t[0]);for(let e=1;e<t.length;e++)i|=BigInt.asUintN(n,t[e])<<BigInt(e*n);r||(i=BigInt.asIntN(e,i));const[o,s]=v(e,r);if(i>=o&&i<=s)return i;throw new TypeError(`bigint values [${t}] for ${function(t,e){return`${e?"u":"i"}${t}`}(e,r)} out of range [${o}, ${s}]: ${i}`)}(t,this.size,this.unsigned)}get unsigned(){throw new s}get size(){throw new s}slice(t){return E(this._value,this.size,t)}toString(){return this._value.toString()}toJSON(){return{_value:this._value.toString()}}toBigInt(){return BigInt(this._value)}static read(t){const{size:e}=this.prototype;return 64===e?new this(t.readBigUInt64BE()):new this(...Array.from({length:e/64},(()=>t.readBigUInt64BE())).reverse())}static write(t,e){if(t instanceof this)t=t._value;else if("bigint"!=typeof t||t>this.MAX_VALUE||t<this.MIN_VALUE)throw new n(`${t} is not a ${this.name}`);const{unsigned:r,size:i}=this.prototype;if(64===i)r?e.writeBigUInt64BE(t):e.writeBigInt64BE(t);else for(const n of E(t,i,64).reverse())r?e.writeBigUInt64BE(n):e.writeBigInt64BE(n)}static isValid(t){return"bigint"==typeof t||t instanceof this}static fromString(t){return new this(t)}static MAX_VALUE=0n;static MIN_VALUE=0n;static defineIntBoundaries(){const[t,e]=v(this.prototype.size,this.prototype.unsigned);this.MIN_VALUE=t,this.MAX_VALUE=e}}class A extends I{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!1}static fromBits(t,e){return new this(t,e)}}A.defineIntBoundaries();const x=4294967295;class U extends d{static read(t){return t.readUInt32BE()}static write(t,e){if("number"!=typeof t||!(t>=0&&t<=x)||t%1!=0)throw new n("invalid u32 value");e.writeUInt32BE(t)}static isValid(t){return"number"==typeof t&&t%1==0&&(t>=0&&t<=x)}}U.MAX_VALUE=x,U.MIN_VALUE=0;class R extends I{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!0}static fromBits(t,e){return new this(t,e)}}R.defineIntBoundaries();class T extends d{static read(t){return t.readFloatBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeFloatBE(t)}static isValid(t){return"number"==typeof t}}class $ extends d{static read(t){return t.readDoubleBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeDoubleBE(t)}static isValid(t){return"number"==typeof t}}class L extends d{static read(){throw new o("quadruple not supported")}static write(){throw new o("quadruple not supported")}static isValid(){return!1}}class O extends d{static read(t){const e=B.read(t);switch(e){case 0:return!1;case 1:return!0;default:throw new i(`got ${e} when trying to read a bool`)}}static write(t,e){const r=t?1:0;B.write(r,e)}static isValid(t){return"boolean"==typeof t}}var S=r(764).lW;class N extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length String, max allowed is ${this._maxLength}`);return t.read(e)}readString(t){return this.read(t).toString("utf8")}write(t,e){const r="string"==typeof t?S.byteLength(t,"utf8"):t.length;if(r>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return"string"==typeof t?S.byteLength(t,"utf8")<=this._maxLength:!!(t instanceof Array||S.isBuffer(t))&&t.length<=this._maxLength}}var V=r(764).lW;class M extends g{constructor(t){super(),this._length=t}read(t){return t.read(this._length)}write(t,e){const{length:r}=t;if(r!==this._length)throw new n(`got ${t.length} bytes, expected ${this._length}`);e.write(t,r)}isValid(t){return V.isBuffer(t)&&t.length===this._length}}var C=r(764).lW;class D extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarOpaque, max allowed is ${this._maxLength}`);return t.read(e)}write(t,e){const{length:r}=t;if(t.length>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return C.isBuffer(t)&&t.length<=this._maxLength}}class j extends g{constructor(t,e){super(),this._childType=t,this._length=e}read(t){const e=new r.g.Array(this._length);for(let r=0;r<this._length;r++)e[r]=this._childType.read(t);return e}write(t,e){if(!(t instanceof r.g.Array))throw new n("value is not array");if(t.length!==this._length)throw new n(`got array of size ${t.length}, expected ${this._length}`);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof r.g.Array)||t.length!==this._length)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class z extends g{constructor(t,e=U.MAX_VALUE){super(),this._childType=t,this._maxLength=e}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarArray, max allowed is ${this._maxLength}`);const r=new Array(e);for(let n=0;n<e;n++)r[n]=this._childType.read(t);return r}write(t,e){if(!(t instanceof Array))throw new n("value is not array");if(t.length>this._maxLength)throw new n(`got array of size ${t.length}, max allowed is ${this._maxLength}`);U.write(t.length,e);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof Array)||t.length>this._maxLength)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class F extends d{constructor(t){super(),this._childType=t}read(t){if(O.read(t))return this._childType.read(t)}write(t,e){const r=null!=t;O.write(r,e),r&&this._childType.write(t,e)}isValid(t){return null==t||this._childType.isValid(t)}}class P extends d{static read(){}static write(t){if(void 0!==t)throw new n("trying to write value to a void slot")}static isValid(t){return void 0===t}}class X extends d{constructor(t,e){super(),this.name=t,this.value=e}static read(t){const e=B.read(t),r=this._byValue[e];if(void 0===r)throw new i(`unknown ${this.enumName} member for value ${e}`);return r}static write(t,e){if(!(t instanceof this))throw new n(`unknown ${t} is not a ${this.enumName}`);B.write(t.value,e)}static isValid(t){return t instanceof this}static members(){return this._members}static values(){return Object.values(this._members)}static fromName(t){const e=this._members[t];if(!e)throw new TypeError(`${t} is not a member of ${this.enumName}`);return e}static fromValue(t){const e=this._byValue[t];if(void 0===e)throw new TypeError(`${t} is not a value of any member of ${this.enumName}`);return e}static create(t,e,r){const n=class extends X{};n.enumName=e,t.results[e]=n,n._members={},n._byValue={};for(const[t,e]of Object.entries(r)){const r=new n(t,e);n._members[t]=r,n._byValue[e]=r,n[t]=()=>r}return n}}class k extends d{resolve(){throw new o('"resolve" method should be implemented in the descendant class')}}class q extends d{constructor(t){super(),this._attributes=t||{}}static read(t){const e={};for(const[r,n]of this._fields)e[r]=n.read(t);return new this(e)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.structName}`);for(const[r,n]of this._fields){const i=t._attributes[r];n.write(i,e)}}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends q{};n.structName=e,t.results[e]=n;const i=new Array(r.length);for(let e=0;e<r.length;e++){const o=r[e],s=o[0];let f=o[1];f instanceof k&&(f=f.resolve(t)),i[e]=[s,f],n.prototype[s]=W(s)}return n._fields=i,n}}function W(t){return function(e){return void 0!==e&&(this._attributes[t]=e),this._attributes[t]}}class G extends g{constructor(t,e){super(),this.set(t,e)}set(t,e){"string"==typeof t&&(t=this.constructor._switchOn.fromName(t)),this._switch=t;const r=this.constructor.armForSwitch(this._switch);this._arm=r,this._armType=r===P?P:this.constructor._arms[r],this._value=e}get(t=this._arm){if(this._arm!==P&&this._arm!==t)throw new TypeError(`${t} not set`);return this._value}switch(){return this._switch}arm(){return this._arm}armType(){return this._armType}value(){return this._value}static armForSwitch(t){const e=this._switches.get(t);if(void 0!==e)return e;if(this._defaultArm)return this._defaultArm;throw new TypeError(`Bad union switch: ${t}`)}static armTypeForArm(t){return t===P?P:this._arms[t]}static read(t){const e=this._switchOn.read(t),r=this.armForSwitch(e),n=r===P?P:this._arms[r];let i;return i=void 0!==n?n.read(t):r.read(t),new this(e,i)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.unionName}`);this._switchOn.write(t.switch(),e),t.armType().write(t.value(),e)}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends G{};n.unionName=e,t.results[e]=n,r.switchOn instanceof k?n._switchOn=r.switchOn.resolve(t):n._switchOn=r.switchOn,n._switches=new Map,n._arms={};let i=r.defaultArm;i instanceof k&&(i=i.resolve(t)),n._defaultArm=i;for(const[t,e]of r.switches){const r="string"==typeof t?n._switchOn.fromName(t):t;n._switches.set(r,e)}if(void 0!==n._switchOn.values)for(const t of n._switchOn.values())n[t.name]=function(e){return new n(t,e)},n.prototype[t.name]=function(e){return this.set(t,e)};if(r.arms)for(const[e,i]of Object.entries(r.arms))n._arms[e]=i instanceof k?i.resolve(t):i,i!==P&&(n.prototype[e]=function(){return this.get(e)});return n}}class Y extends k{constructor(t){super(),this.name=t}resolve(t){return t.definitions[this.name].resolve(t)}}class H extends k{constructor(t,e,r=!1){super(),this.childReference=t,this.length=e,this.variable=r}resolve(t){let e=this.childReference,r=this.length;return e instanceof k&&(e=e.resolve(t)),r instanceof k&&(r=r.resolve(t)),this.variable?new z(e,r):new j(e,r)}}class J extends k{constructor(t){super(),this.childReference=t,this.name=t.name}resolve(t){let e=this.childReference;return e instanceof k&&(e=e.resolve(t)),new F(e)}}class Q extends k{constructor(t,e){super(),this.sizedType=t,this.length=e}resolve(t){let e=this.length;return e instanceof k&&(e=e.resolve(t)),new this.sizedType(e)}}class Z{constructor(t,e,r){this.constructor=t,this.name=e,this.config=r}resolve(t){return this.name in t.results?t.results[this.name]:this.constructor(t,this.name,this.config)}}function K(t,e,r){return r instanceof k&&(r=r.resolve(t)),t.results[e]=r,r}function tt(t,e,r){return t.results[e]=r,r}class et{constructor(t){this._destination=t,this._definitions={}}enum(t,e){const r=new Z(X.create,t,e);this.define(t,r)}struct(t,e){const r=new Z(q.create,t,e);this.define(t,r)}union(t,e){const r=new Z(G.create,t,e);this.define(t,r)}typedef(t,e){const r=new Z(K,t,e);this.define(t,r)}const(t,e){const r=new Z(tt,t,e);this.define(t,r)}void(){return P}bool(){return O}int(){return B}hyper(){return A}uint(){return U}uhyper(){return R}float(){return T}double(){return $}quadruple(){return L}string(t){return new Q(N,t)}opaque(t){return new Q(M,t)}varOpaque(t){return new Q(D,t)}array(t,e){return new H(t,e)}varArray(t,e){return new H(t,e,!0)}option(t){return new J(t)}define(t,e){if(void 0!==this._destination[t])throw new o(`${t} is already defined`);this._definitions[t]=e}lookup(t){return new Y(t)}resolve(){for(const t of Object.values(this._definitions))t.resolve({definitions:this._definitions,results:this._destination})}}function rt(t,e={}){if(t){const r=new et(e);t(r),r.resolve()}return e}},742:(t,e)=>{"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=f(t),s=o[0],u=o[1],a=new i(function(t,e,r){return 3*(e+r)/4-r}(0,s,u)),h=0,c=u>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],a[h++]=e>>16&255,a[h++]=e>>8&255,a[h++]=255&e;2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,a[h++]=255&e);1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,a[h++]=e>>8&255,a[h++]=255&e);return a},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,f=0,a=n-i;f<a;f+=s)o.push(u(t,f,f+s>a?a:f+s));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var i,o,s=[],f=e;f<n;f+=3)i=(t[f]<<16&16711680)+(t[f+1]<<8&65280)+(255&t[f+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},764:(t,e,r)=>{"use strict";const n=r(742),i=r(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.lW=u,e.h2=50;const s=2147483647;function f(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return a(t,e,r)}function a(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=f(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(H(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return l(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(H(t,ArrayBuffer)||t&&H(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(H(t,SharedArrayBuffer)||t&&H(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);const i=function(t){if(u.isBuffer(t)){const e=0|d(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||J(t.length)?f(0):l(t);if("Buffer"===t.type&&Array.isArray(t.data))return l(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return h(t),f(t<0?0:0|d(t))}function l(t){const e=t.length<0?0:0|d(t.length),r=f(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,u.prototype),n}function d(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function g(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||H(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return W(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(t).length;default:if(i)return n?-1:W(t).length;e=(""+e).toLowerCase(),i=!0}}function w(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){let o,s=1,f=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,f/=2,u/=2,r/=2}function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){let n=-1;for(o=r;o<f;o++)if(a(t,o)===a(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*s}else-1!==n&&(o-=o-n),n=-1}else for(r+u>f&&(r=f-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(a(t,o+n)!==a(e,n)){r=!1;break}if(r)return o}return-1}function _(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=e.length;let s;for(n>o/2&&(n=o/2),s=0;s<n;++s){const n=parseInt(e.substr(2*s,2),16);if(J(n))return s;t[r+s]=n}return s}function B(t,e,r,n){return Y(W(e,t.length-r),t,r,n)}function E(t,e,r,n){return Y(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function v(t,e,r,n){return Y(G(e),t,r,n)}function I(t,e,r,n){return Y(function(t,e){let r,n,i;const o=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function A(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i<r;){const e=t[i];let o=null,s=e>239?4:e>223?3:e>191?2:1;if(i+s<=r){let r,n,f,u;switch(s){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],f=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&f)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&f,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(t){const e=t.length;if(e<=U)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=U));return r}(n)}u.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return a(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return function(t,e,r){return h(t),t<=0?f(t):void 0!==e?"string"==typeof r?f(t).fill(e,r):f(t).fill(e):f(t)}(t,e,r)},u.allocUnsafe=function(t){return c(t)},u.allocUnsafeSlow=function(t){return c(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),H(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.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}},u.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=u.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(H(e,Uint8Array))i+e.length>n.length?(u.isBuffer(e)||(e=u.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!u.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):w.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){let t="";const r=e.h2;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0);const f=Math.min(o,s),a=this.slice(n,i),h=t.slice(e,r);for(let t=0;t<f;++t)if(a[t]!==h[t]){o=a[t],s=h[t];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return B(this,t,e,r);case"ascii":case"latin1":case"binary":return E(this,t,e,r);case"base64":return v(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const U=4096;function R(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function T(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function $(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=Q[t[n]];return i}function L(t,e,r){const n=t.slice(e,r);let i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}function O(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function S(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function N(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,r}function V(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s>>=8,t[r+2]=s,s>>=8,t[r+1]=s,s>>=8,t[r]=s,r+8}function M(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){const r=this.length;(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);const n=this.subarray(t,e);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readBigUInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readBigInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),u.prototype.readBigInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),u.prototype.readFloatLE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigUInt64LE=Z((function(t,e=0){return N(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Z((function(t,e=0){return V(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=0,o=1,s=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigInt64LE=Z((function(t,e=0){return N(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Z((function(t,e=0){return V(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=u.isBuffer(t)?t:u.from(t,n),s=o.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};const j={};function z(t,e,r){j[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function F(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function P(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new j.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||k(e,t.length-(r+1))}(n,i,o)}function X(t,e){if("number"!=typeof t)throw new j.ERR_INVALID_ARG_TYPE(e,"number",t)}function k(t,e,r){if(Math.floor(t)!==t)throw X(t,r),new j.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=F(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=F(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function W(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function G(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function H(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!=t}const Q=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Z(t){return"undefined"==typeof BigInt?K:t}function K(){throw new Error("BigInt not supported")}},645:(t,e)=>{e.read=function(t,e,r,n,i){var o,s,f=8*i-n-1,u=(1<<f)-1,a=u>>1,h=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,o=p&(1<<-h)-1,p>>=-h,h+=f;h>0;o=256*o+t[e+c],c+=l,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=256*s+t[e+c],c+=l,h-=8);if(0===o)o=1-a;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=a}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,f,u,a=8*o-i-1,h=(1<<a)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+c>=1?l/u:l*Math.pow(2,1-c))*u>=2&&(s++,u/=2),s+c>=h?(f=0,s=h):s+c>=1?(f=(e*u-1)*Math.pow(2,i),s+=c):(f=e*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&f,p+=d,f/=256,i-=8);for(s=s<<i|f,a+=i;a>0;t[r+p]=255&s,p+=d,s/=256,a-=8);t[r+p-d]|=128*g}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}return r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(899)})()));
|
|
10
|
+
!function(t,e){ true?module.exports=e():0}(this,(()=>(()=>{var t={616:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(287);n.hp.alloc(1).subarray(0,1)instanceof n.hp||(n.hp.prototype.subarray=function(t,e){const r=Uint8Array.prototype.subarray.call(this,t,e);return Object.setPrototypeOf(r,n.hp.prototype),r});const i=n.hp},281:(t,e,r)=>{const n=r(164);t.exports=n},164:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Array:()=>j,Bool:()=>O,Double:()=>$,Enum:()=>X,Float:()=>T,Hyper:()=>I,Int:()=>B,LargeInt:()=>A,Opaque:()=>M,Option:()=>F,Quadruple:()=>L,Reference:()=>k,String:()=>N,Struct:()=>q,Union:()=>Y,UnsignedHyper:()=>R,UnsignedInt:()=>U,VarArray:()=>z,VarOpaque:()=>D,Void:()=>P,XdrReader:()=>u,XdrWriter:()=>c,config:()=>rt});class n extends TypeError{constructor(t){super(`XDR Write Error: ${t}`)}}class i extends TypeError{constructor(t){super(`XDR Read Error: ${t}`)}}class o extends TypeError{constructor(t){super(`XDR Type Definition Error: ${t}`)}}class s extends o{constructor(){super("method not implemented, it should be overloaded in the descendant class.")}}var f=r(616).A;class u{constructor(t){if(!f.isBuffer(t)){if(!(t instanceof Array||Array.isArray(t)||ArrayBuffer.isView(t)))throw new i(`source invalid: ${t}`);t=f.from(t)}this._buffer=t,this._length=t.length,this._index=0}_buffer;_length;_index;get eof(){return this._index===this._length}advance(t){const e=this._index;if(this._index+=t,this._length<this._index)throw new i("attempt to read outside the boundary of the buffer");const r=4-(t%4||4);if(r>0){for(let t=0;t<r;t++)if(0!==this._buffer[this._index+t])throw new i("invalid padding");this._index+=r}return e}rewind(){this._index=0}read(t){const e=this.advance(t);return this._buffer.subarray(e,e+t)}readInt32BE(){return this._buffer.readInt32BE(this.advance(4))}readUInt32BE(){return this._buffer.readUInt32BE(this.advance(4))}readBigInt64BE(){return this._buffer.readBigInt64BE(this.advance(8))}readBigUInt64BE(){return this._buffer.readBigUInt64BE(this.advance(8))}readFloatBE(){return this._buffer.readFloatBE(this.advance(4))}readDoubleBE(){return this._buffer.readDoubleBE(this.advance(8))}ensureInputConsumed(){if(this._index!==this._length)throw new i("invalid XDR contract typecast - source buffer not entirely consumed")}}var a=r(616).A;const h=8192;class c{constructor(t){"number"==typeof t?t=a.allocUnsafe(t):t instanceof a||(t=a.allocUnsafe(h)),this._buffer=t,this._length=t.length}_buffer;_length;_index=0;alloc(t){const e=this._index;return this._index+=t,this._length<this._index&&this.resize(this._index),e}resize(t){const e=Math.ceil(t/h)*h,r=a.allocUnsafe(e);this._buffer.copy(r,0,0,this._length),this._buffer=r,this._length=e}finalize(){return this._buffer.subarray(0,this._index)}toArray(){return[...this.finalize()]}write(t,e){if("string"==typeof t){const r=this.alloc(e);this._buffer.write(t,r,"utf8")}else{t instanceof a||(t=a.from(t));const r=this.alloc(e);t.copy(this._buffer,r,0,e)}const r=4-(e%4||4);if(r>0){const t=this.alloc(r);this._buffer.fill(0,t,this._index)}}writeInt32BE(t){const e=this.alloc(4);this._buffer.writeInt32BE(t,e)}writeUInt32BE(t){const e=this.alloc(4);this._buffer.writeUInt32BE(t,e)}writeBigInt64BE(t){const e=this.alloc(8);this._buffer.writeBigInt64BE(t,e)}writeBigUInt64BE(t){const e=this.alloc(8);this._buffer.writeBigUInt64BE(t,e)}writeFloatBE(t){const e=this.alloc(4);this._buffer.writeFloatBE(t,e)}writeDoubleBE(t){const e=this.alloc(8);this._buffer.writeDoubleBE(t,e)}static bufferChunkSize=h}var l=r(616).A;class p{toXDR(t="raw"){if(!this.write)return this.constructor.toXDR(this,t);const e=new c;return this.write(this,e),y(e.finalize(),t)}fromXDR(t,e="raw"){if(!this.read)return this.constructor.fromXDR(t,e);const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}static toXDR(t,e="raw"){const r=new c;return this.write(t,r),y(r.finalize(),e)}static fromXDR(t,e="raw"){const r=new u(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}static validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}}class d extends p{static read(t){throw new s}static write(t,e){throw new s}static isValid(t){return!1}}class g extends p{isValid(t){return!1}}class w extends TypeError{constructor(t){super(`Invalid format ${t}, must be one of "raw", "hex", "base64"`)}}function y(t,e){switch(e){case"raw":return t;case"hex":return t.toString("hex");case"base64":return t.toString("base64");default:throw new w(e)}}function m(t,e){switch(e){case"raw":return t;case"hex":return l.from(t,"hex");case"base64":return l.from(t,"base64");default:throw new w(e)}}const b=2147483647,_=-2147483648;class B extends d{static read(t){return t.readInt32BE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");if((0|t)!==t)throw new n("invalid i32 value");e.writeInt32BE(t)}static isValid(t){return"number"==typeof t&&(0|t)===t&&(t>=_&&t<=b)}}function E(t,e,r){if("bigint"!=typeof t)throw new TypeError("Expected bigint 'value', got "+typeof t);const n=e/r;if(1===n)return[t];if(r<32||r>128||2!==n&&4!==n&&8!==n)throw new TypeError(`invalid bigint (${t}) and slice size (${e} -> ${r}) combination`);const i=BigInt(r),o=new Array(n);for(let e=0;e<n;e++)o[e]=BigInt.asIntN(r,t),t>>=i;return o}function v(t,e){if(e)return[0n,(1n<<BigInt(t))-1n];const r=1n<<BigInt(t-1);return[0n-r,r-1n]}B.MAX_VALUE=b,B.MIN_VALUE=2147483648;class A extends d{constructor(t){super(),this._value=function(t,e,r){t instanceof Array?t.length&&t[0]instanceof Array&&(t=t[0]):t=[t];const n=e/t.length;switch(n){case 32:case 64:case 128:case 256:break;default:throw new RangeError(`expected slices to fit in 32/64/128/256 bits, got ${t}`)}try{for(let e=0;e<t.length;e++)"bigint"!=typeof t[e]&&(t[e]=BigInt(t[e].valueOf()))}catch(e){throw new TypeError(`expected bigint-like values, got: ${t} (${e})`)}if(r&&1===t.length&&t[0]<0n)throw new RangeError(`expected a positive value, got: ${t}`);let i=BigInt.asUintN(n,t[0]);for(let e=1;e<t.length;e++)i|=BigInt.asUintN(n,t[e])<<BigInt(e*n);r||(i=BigInt.asIntN(e,i));const[o,s]=v(e,r);if(i>=o&&i<=s)return i;throw new TypeError(`bigint values [${t}] for ${function(t,e){return`${e?"u":"i"}${t}`}(e,r)} out of range [${o}, ${s}]: ${i}`)}(t,this.size,this.unsigned)}get unsigned(){throw new s}get size(){throw new s}slice(t){return E(this._value,this.size,t)}toString(){return this._value.toString()}toJSON(){return{_value:this._value.toString()}}toBigInt(){return BigInt(this._value)}static read(t){const{size:e}=this.prototype;return 64===e?new this(t.readBigUInt64BE()):new this(...Array.from({length:e/64},(()=>t.readBigUInt64BE())).reverse())}static write(t,e){if(t instanceof this)t=t._value;else if("bigint"!=typeof t||t>this.MAX_VALUE||t<this.MIN_VALUE)throw new n(`${t} is not a ${this.name}`);const{unsigned:r,size:i}=this.prototype;if(64===i)r?e.writeBigUInt64BE(t):e.writeBigInt64BE(t);else for(const n of E(t,i,64).reverse())r?e.writeBigUInt64BE(n):e.writeBigInt64BE(n)}static isValid(t){return"bigint"==typeof t||t instanceof this}static fromString(t){return new this(t)}static MAX_VALUE=0n;static MIN_VALUE=0n;static defineIntBoundaries(){const[t,e]=v(this.prototype.size,this.prototype.unsigned);this.MIN_VALUE=t,this.MAX_VALUE=e}}class I extends A{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!1}static fromBits(t,e){return new this(t,e)}}I.defineIntBoundaries();const x=4294967295;class U extends d{static read(t){return t.readUInt32BE()}static write(t,e){if("number"!=typeof t||!(t>=0&&t<=x)||t%1!=0)throw new n("invalid u32 value");e.writeUInt32BE(t)}static isValid(t){return"number"==typeof t&&t%1==0&&(t>=0&&t<=x)}}U.MAX_VALUE=x,U.MIN_VALUE=0;class R extends A{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)<<0}get high(){return Number(this._value>>32n)>>0}get size(){return 64}get unsigned(){return!0}static fromBits(t,e){return new this(t,e)}}R.defineIntBoundaries();class T extends d{static read(t){return t.readFloatBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeFloatBE(t)}static isValid(t){return"number"==typeof t}}class $ extends d{static read(t){return t.readDoubleBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeDoubleBE(t)}static isValid(t){return"number"==typeof t}}class L extends d{static read(){throw new o("quadruple not supported")}static write(){throw new o("quadruple not supported")}static isValid(){return!1}}class O extends d{static read(t){const e=B.read(t);switch(e){case 0:return!1;case 1:return!0;default:throw new i(`got ${e} when trying to read a bool`)}}static write(t,e){const r=t?1:0;B.write(r,e)}static isValid(t){return"boolean"==typeof t}}var S=r(616).A;class N extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length String, max allowed is ${this._maxLength}`);return t.read(e)}readString(t){return this.read(t).toString("utf8")}write(t,e){const r="string"==typeof t?S.byteLength(t,"utf8"):t.length;if(r>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return"string"==typeof t?S.byteLength(t,"utf8")<=this._maxLength:!!(t instanceof Array||S.isBuffer(t))&&t.length<=this._maxLength}}var V=r(616).A;class M extends g{constructor(t){super(),this._length=t}read(t){return t.read(this._length)}write(t,e){const{length:r}=t;if(r!==this._length)throw new n(`got ${t.length} bytes, expected ${this._length}`);e.write(t,r)}isValid(t){return V.isBuffer(t)&&t.length===this._length}}var C=r(616).A;class D extends g{constructor(t=U.MAX_VALUE){super(),this._maxLength=t}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarOpaque, max allowed is ${this._maxLength}`);return t.read(e)}write(t,e){const{length:r}=t;if(t.length>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);U.write(r,e),e.write(t,r)}isValid(t){return C.isBuffer(t)&&t.length<=this._maxLength}}class j extends g{constructor(t,e){super(),this._childType=t,this._length=e}read(t){const e=new r.g.Array(this._length);for(let r=0;r<this._length;r++)e[r]=this._childType.read(t);return e}write(t,e){if(!(t instanceof r.g.Array))throw new n("value is not array");if(t.length!==this._length)throw new n(`got array of size ${t.length}, expected ${this._length}`);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof r.g.Array)||t.length!==this._length)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class z extends g{constructor(t,e=U.MAX_VALUE){super(),this._childType=t,this._maxLength=e}read(t){const e=U.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarArray, max allowed is ${this._maxLength}`);const r=new Array(e);for(let n=0;n<e;n++)r[n]=this._childType.read(t);return r}write(t,e){if(!(t instanceof Array))throw new n("value is not array");if(t.length>this._maxLength)throw new n(`got array of size ${t.length}, max allowed is ${this._maxLength}`);U.write(t.length,e);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof Array)||t.length>this._maxLength)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class F extends d{constructor(t){super(),this._childType=t}read(t){if(O.read(t))return this._childType.read(t)}write(t,e){const r=null!=t;O.write(r,e),r&&this._childType.write(t,e)}isValid(t){return null==t||this._childType.isValid(t)}}class P extends d{static read(){}static write(t){if(void 0!==t)throw new n("trying to write value to a void slot")}static isValid(t){return void 0===t}}class X extends d{constructor(t,e){super(),this.name=t,this.value=e}static read(t){const e=B.read(t),r=this._byValue[e];if(void 0===r)throw new i(`unknown ${this.enumName} member for value ${e}`);return r}static write(t,e){if(!(t instanceof this))throw new n(`unknown ${t} is not a ${this.enumName}`);B.write(t.value,e)}static isValid(t){return t instanceof this}static members(){return this._members}static values(){return Object.values(this._members)}static fromName(t){const e=this._members[t];if(!e)throw new TypeError(`${t} is not a member of ${this.enumName}`);return e}static fromValue(t){const e=this._byValue[t];if(void 0===e)throw new TypeError(`${t} is not a value of any member of ${this.enumName}`);return e}static create(t,e,r){const n=class extends X{};n.enumName=e,t.results[e]=n,n._members={},n._byValue={};for(const[t,e]of Object.entries(r)){const r=new n(t,e);n._members[t]=r,n._byValue[e]=r,n[t]=()=>r}return n}}class k extends d{resolve(){throw new o('"resolve" method should be implemented in the descendant class')}}class q extends d{constructor(t){super(),this._attributes=t||{}}static read(t){const e={};for(const[r,n]of this._fields)e[r]=n.read(t);return new this(e)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.structName}`);for(const[r,n]of this._fields){const i=t._attributes[r];n.write(i,e)}}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends q{};n.structName=e,t.results[e]=n;const i=new Array(r.length);for(let e=0;e<r.length;e++){const o=r[e],s=o[0];let f=o[1];f instanceof k&&(f=f.resolve(t)),i[e]=[s,f],n.prototype[s]=G(s)}return n._fields=i,n}}function G(t){return function(e){return void 0!==e&&(this._attributes[t]=e),this._attributes[t]}}class Y extends g{constructor(t,e){super(),this.set(t,e)}set(t,e){"string"==typeof t&&(t=this.constructor._switchOn.fromName(t)),this._switch=t;const r=this.constructor.armForSwitch(this._switch);this._arm=r,this._armType=r===P?P:this.constructor._arms[r],this._value=e}get(t=this._arm){if(this._arm!==P&&this._arm!==t)throw new TypeError(`${t} not set`);return this._value}switch(){return this._switch}arm(){return this._arm}armType(){return this._armType}value(){return this._value}static armForSwitch(t){const e=this._switches.get(t);if(void 0!==e)return e;if(this._defaultArm)return this._defaultArm;throw new TypeError(`Bad union switch: ${t}`)}static armTypeForArm(t){return t===P?P:this._arms[t]}static read(t){const e=this._switchOn.read(t),r=this.armForSwitch(e),n=r===P?P:this._arms[r];let i;return i=void 0!==n?n.read(t):r.read(t),new this(e,i)}static write(t,e){if(!(t instanceof this))throw new n(`${t} is not a ${this.unionName}`);this._switchOn.write(t.switch(),e),t.armType().write(t.value(),e)}static isValid(t){return t instanceof this}static create(t,e,r){const n=class extends Y{};n.unionName=e,t.results[e]=n,r.switchOn instanceof k?n._switchOn=r.switchOn.resolve(t):n._switchOn=r.switchOn,n._switches=new Map,n._arms={};let i=r.defaultArm;i instanceof k&&(i=i.resolve(t)),n._defaultArm=i;for(const[t,e]of r.switches){const r="string"==typeof t?n._switchOn.fromName(t):t;n._switches.set(r,e)}if(void 0!==n._switchOn.values)for(const t of n._switchOn.values())n[t.name]=function(e){return new n(t,e)},n.prototype[t.name]=function(e){return this.set(t,e)};if(r.arms)for(const[e,i]of Object.entries(r.arms))n._arms[e]=i instanceof k?i.resolve(t):i,i!==P&&(n.prototype[e]=function(){return this.get(e)});return n}}class W extends k{constructor(t){super(),this.name=t}resolve(t){return t.definitions[this.name].resolve(t)}}class H extends k{constructor(t,e,r=!1){super(),this.childReference=t,this.length=e,this.variable=r}resolve(t){let e=this.childReference,r=this.length;return e instanceof k&&(e=e.resolve(t)),r instanceof k&&(r=r.resolve(t)),this.variable?new z(e,r):new j(e,r)}}class J extends k{constructor(t){super(),this.childReference=t,this.name=t.name}resolve(t){let e=this.childReference;return e instanceof k&&(e=e.resolve(t)),new F(e)}}class Q extends k{constructor(t,e){super(),this.sizedType=t,this.length=e}resolve(t){let e=this.length;return e instanceof k&&(e=e.resolve(t)),new this.sizedType(e)}}class Z{constructor(t,e,r){this.constructor=t,this.name=e,this.config=r}resolve(t){return this.name in t.results?t.results[this.name]:this.constructor(t,this.name,this.config)}}function K(t,e,r){return r instanceof k&&(r=r.resolve(t)),t.results[e]=r,r}function tt(t,e,r){return t.results[e]=r,r}class et{constructor(t){this._destination=t,this._definitions={}}enum(t,e){const r=new Z(X.create,t,e);this.define(t,r)}struct(t,e){const r=new Z(q.create,t,e);this.define(t,r)}union(t,e){const r=new Z(Y.create,t,e);this.define(t,r)}typedef(t,e){const r=new Z(K,t,e);this.define(t,r)}const(t,e){const r=new Z(tt,t,e);this.define(t,r)}void(){return P}bool(){return O}int(){return B}hyper(){return I}uint(){return U}uhyper(){return R}float(){return T}double(){return $}quadruple(){return L}string(t){return new Q(N,t)}opaque(t){return new Q(M,t)}varOpaque(t){return new Q(D,t)}array(t,e){return new H(t,e)}varArray(t,e){return new H(t,e,!0)}option(t){return new J(t)}define(t,e){if(void 0!==this._destination[t])throw new o(`${t} is already defined`);this._definitions[t]=e}lookup(t){return new W(t)}resolve(){for(const t of Object.values(this._definitions))t.resolve({definitions:this._definitions,results:this._destination})}}function rt(t,e={}){if(t){const r=new et(e);t(r),r.resolve()}return e}},526:(t,e)=>{"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=f(t),s=o[0],u=o[1],a=new i(function(t,e,r){return 3*(e+r)/4-r}(0,s,u)),h=0,c=u>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],a[h++]=e>>16&255,a[h++]=e>>8&255,a[h++]=255&e;2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,a[h++]=255&e);1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,a[h++]=e>>8&255,a[h++]=255&e);return a},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,f=0,a=n-i;f<a;f+=s)o.push(u(t,f,f+s>a?a:f+s));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var i,o,s=[],f=e;f<n;f+=3)i=(t[f]<<16&16711680)+(t[f+1]<<8&65280)+(255&t[f+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},287:(t,e,r)=>{"use strict";const n=r(526),i=r(251),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.hp=u,e.IS=50;const s=2147483647;function f(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return a(t,e,r)}function a(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=f(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(H(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return l(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(H(t,ArrayBuffer)||t&&H(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(H(t,SharedArrayBuffer)||t&&H(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);const i=function(t){if(u.isBuffer(t)){const e=0|d(t.length),r=f(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||J(t.length)?f(0):l(t);if("Buffer"===t.type&&Array.isArray(t.data))return l(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return h(t),f(t<0?0:0|d(t))}function l(t){const e=t.length<0?0:0|d(t.length),r=f(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,u.prototype),n}function d(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function g(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||H(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(t).length;default:if(i)return n?-1:G(t).length;e=(""+e).toLowerCase(),i=!0}}function w(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return $(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return I(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){let o,s=1,f=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,f/=2,u/=2,r/=2}function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){let n=-1;for(o=r;o<f;o++)if(a(t,o)===a(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*s}else-1!==n&&(o-=o-n),n=-1}else for(r+u>f&&(r=f-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(a(t,o+n)!==a(e,n)){r=!1;break}if(r)return o}return-1}function _(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=e.length;let s;for(n>o/2&&(n=o/2),s=0;s<n;++s){const n=parseInt(e.substr(2*s,2),16);if(J(n))return s;t[r+s]=n}return s}function B(t,e,r,n){return W(G(e,t.length-r),t,r,n)}function E(t,e,r,n){return W(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function v(t,e,r,n){return W(Y(e),t,r,n)}function A(t,e,r,n){return W(function(t,e){let r,n,i;const o=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function I(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i<r;){const e=t[i];let o=null,s=e>239?4:e>223?3:e>191?2:1;if(i+s<=r){let r,n,f,u;switch(s){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],f=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&f)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&f,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(t){const e=t.length;if(e<=U)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=U));return r}(n)}u.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return a(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return function(t,e,r){return h(t),t<=0?f(t):void 0!==e?"string"==typeof r?f(t).fill(e,r):f(t).fill(e):f(t)}(t,e,r)},u.allocUnsafe=function(t){return c(t)},u.allocUnsafeSlow=function(t){return c(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),H(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.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}},u.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=u.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(H(e,Uint8Array))i+e.length>n.length?(u.isBuffer(e)||(e=u.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!u.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):w.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){let t="";const r=e.IS;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0);const f=Math.min(o,s),a=this.slice(n,i),h=t.slice(e,r);for(let t=0;t<f;++t)if(a[t]!==h[t]){o=a[t],s=h[t];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return B(this,t,e,r);case"ascii":case"latin1":case"binary":return E(this,t,e,r);case"base64":return v(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const U=4096;function R(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function T(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function $(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=Q[t[n]];return i}function L(t,e,r){const n=t.slice(e,r);let i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}function O(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function S(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function N(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,r}function V(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s>>=8,t[r+2]=s,s>>=8,t[r+1]=s,s>>=8,t[r]=s,r+8}function M(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){const r=this.length;(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);const n=this.subarray(t,e);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||O(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readBigUInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),u.prototype.readBigUInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||O(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return t>>>=0,e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||O(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readBigInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),u.prototype.readBigInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),u.prototype.readFloatLE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||O(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||O(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){S(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigUInt64LE=Z((function(t,e=0){return N(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Z((function(t,e=0){return V(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=0,o=1,s=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);S(this,t,e,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigInt64LE=Z((function(t,e=0){return N(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Z((function(t,e=0){return V(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=u.isBuffer(t)?t:u.from(t,n),s=o.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};const j={};function z(t,e,r){j[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function F(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function P(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new j.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||k(e,t.length-(r+1))}(n,i,o)}function X(t,e){if("number"!=typeof t)throw new j.ERR_INVALID_ARG_TYPE(e,"number",t)}function k(t,e,r){if(Math.floor(t)!==t)throw X(t,r),new j.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=F(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=F(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function G(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Y(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function H(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!=t}const Q=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Z(t){return"undefined"==typeof BigInt?K:t}function K(){throw new Error("BigInt not supported")}},251:(t,e)=>{e.read=function(t,e,r,n,i){var o,s,f=8*i-n-1,u=(1<<f)-1,a=u>>1,h=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,o=p&(1<<-h)-1,p>>=-h,h+=f;h>0;o=256*o+t[e+c],c+=l,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=256*s+t[e+c],c+=l,h-=8);if(0===o)o=1-a;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=a}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,f,u,a=8*o-i-1,h=(1<<a)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),(e+=s+c>=1?l/u:l*Math.pow(2,1-c))*u>=2&&(s++,u/=2),s+c>=h?(f=0,s=h):s+c>=1?(f=(e*u-1)*Math.pow(2,i),s+=c):(f=e*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&f,p+=d,f/=256,i-=8);for(s=s<<i|f,a+=i;a>0;t[r+p]=255&s,p+=d,s/=256,a-=8);t[r+p-d]|=128*g}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}return r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(281)})()));
|
|
11
11
|
//# sourceMappingURL=xdr.js.map
|
|
12
12
|
|
|
13
13
|
/***/ }),
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 4148:
|
|
16
16
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
17
17
|
|
|
18
18
|
"use strict";
|
|
19
|
-
/* provided dependency */ var process = __webpack_require__(
|
|
20
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
19
|
+
/* provided dependency */ var process = __webpack_require__(5606);
|
|
20
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
21
21
|
// Currently in sync with Node.js lib/assert.js
|
|
22
22
|
// https://github.com/nodejs/node/commit/2a51ae424a513ec9a6aa3466baa0cc1d55dd4f3b
|
|
23
23
|
|
|
@@ -49,22 +49,22 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
49
49
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
50
50
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
51
51
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
52
|
-
var _require = __webpack_require__(
|
|
52
|
+
var _require = __webpack_require__(9597),
|
|
53
53
|
_require$codes = _require.codes,
|
|
54
54
|
ERR_AMBIGUOUS_ARGUMENT = _require$codes.ERR_AMBIGUOUS_ARGUMENT,
|
|
55
55
|
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
|
|
56
56
|
ERR_INVALID_ARG_VALUE = _require$codes.ERR_INVALID_ARG_VALUE,
|
|
57
57
|
ERR_INVALID_RETURN_VALUE = _require$codes.ERR_INVALID_RETURN_VALUE,
|
|
58
58
|
ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS;
|
|
59
|
-
var AssertionError = __webpack_require__(
|
|
60
|
-
var _require2 = __webpack_require__(
|
|
59
|
+
var AssertionError = __webpack_require__(3918);
|
|
60
|
+
var _require2 = __webpack_require__(537),
|
|
61
61
|
inspect = _require2.inspect;
|
|
62
|
-
var _require$types = (__webpack_require__(
|
|
62
|
+
var _require$types = (__webpack_require__(537).types),
|
|
63
63
|
isPromise = _require$types.isPromise,
|
|
64
64
|
isRegExp = _require$types.isRegExp;
|
|
65
|
-
var objectAssign = __webpack_require__(
|
|
66
|
-
var objectIs = __webpack_require__(
|
|
67
|
-
var RegExpPrototypeTest = __webpack_require__(
|
|
65
|
+
var objectAssign = __webpack_require__(1514)();
|
|
66
|
+
var objectIs = __webpack_require__(9394)();
|
|
67
|
+
var RegExpPrototypeTest = __webpack_require__(8075)('RegExp.prototype.test');
|
|
68
68
|
var errorCache = new Map();
|
|
69
69
|
var isDeepEqual;
|
|
70
70
|
var isDeepStrictEqual;
|
|
@@ -72,7 +72,7 @@ var parseExpressionAt;
|
|
|
72
72
|
var findNodeAround;
|
|
73
73
|
var decoder;
|
|
74
74
|
function lazyLoadComparison() {
|
|
75
|
-
var comparison = __webpack_require__(
|
|
75
|
+
var comparison = __webpack_require__(2299);
|
|
76
76
|
isDeepEqual = comparison.isDeepEqual;
|
|
77
77
|
isDeepStrictEqual = comparison.isDeepStrictEqual;
|
|
78
78
|
}
|
|
@@ -611,11 +611,11 @@ assert.strict.strict = assert.strict;
|
|
|
611
611
|
|
|
612
612
|
/***/ }),
|
|
613
613
|
|
|
614
|
-
/***/
|
|
614
|
+
/***/ 3918:
|
|
615
615
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
616
616
|
|
|
617
617
|
"use strict";
|
|
618
|
-
/* provided dependency */ var process = __webpack_require__(
|
|
618
|
+
/* provided dependency */ var process = __webpack_require__(5606);
|
|
619
619
|
// Currently in sync with Node.js lib/internal/assert/assertion_error.js
|
|
620
620
|
// https://github.com/nodejs/node/commit/0817840f775032169ddd70c85ac059f18ffcc81c
|
|
621
621
|
|
|
@@ -640,9 +640,9 @@ function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[nat
|
|
|
640
640
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
641
641
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
642
642
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
643
|
-
var _require = __webpack_require__(
|
|
643
|
+
var _require = __webpack_require__(537),
|
|
644
644
|
inspect = _require.inspect;
|
|
645
|
-
var _require2 = __webpack_require__(
|
|
645
|
+
var _require2 = __webpack_require__(9597),
|
|
646
646
|
ERR_INVALID_ARG_TYPE = _require2.codes.ERR_INVALID_ARG_TYPE;
|
|
647
647
|
|
|
648
648
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith
|
|
@@ -1064,7 +1064,7 @@ module.exports = AssertionError;
|
|
|
1064
1064
|
|
|
1065
1065
|
/***/ }),
|
|
1066
1066
|
|
|
1067
|
-
/***/
|
|
1067
|
+
/***/ 9597:
|
|
1068
1068
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1069
1069
|
|
|
1070
1070
|
"use strict";
|
|
@@ -1171,7 +1171,7 @@ function includes(str, search, start) {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
createErrorType('ERR_AMBIGUOUS_ARGUMENT', 'The "%s" argument is ambiguous. %s', TypeError);
|
|
1173
1173
|
createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {
|
|
1174
|
-
if (assert === undefined) assert = __webpack_require__(
|
|
1174
|
+
if (assert === undefined) assert = __webpack_require__(4148);
|
|
1175
1175
|
assert(typeof name === 'string', "'name' must be a string");
|
|
1176
1176
|
|
|
1177
1177
|
// determiner: 'must be' or 'must not be'
|
|
@@ -1197,7 +1197,7 @@ createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) {
|
|
|
1197
1197
|
}, TypeError);
|
|
1198
1198
|
createErrorType('ERR_INVALID_ARG_VALUE', function (name, value) {
|
|
1199
1199
|
var reason = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'is invalid';
|
|
1200
|
-
if (util === undefined) util = __webpack_require__(
|
|
1200
|
+
if (util === undefined) util = __webpack_require__(537);
|
|
1201
1201
|
var inspected = util.inspect(value);
|
|
1202
1202
|
if (inspected.length > 128) {
|
|
1203
1203
|
inspected = "".concat(inspected.slice(0, 128), "...");
|
|
@@ -1217,7 +1217,7 @@ createErrorType('ERR_MISSING_ARGS', function () {
|
|
|
1217
1217
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1218
1218
|
args[_key] = arguments[_key];
|
|
1219
1219
|
}
|
|
1220
|
-
if (assert === undefined) assert = __webpack_require__(
|
|
1220
|
+
if (assert === undefined) assert = __webpack_require__(4148);
|
|
1221
1221
|
assert(args.length > 0, 'At least one arg needs to be specified');
|
|
1222
1222
|
var msg = 'The ';
|
|
1223
1223
|
var len = args.length;
|
|
@@ -1242,7 +1242,7 @@ module.exports.codes = codes;
|
|
|
1242
1242
|
|
|
1243
1243
|
/***/ }),
|
|
1244
1244
|
|
|
1245
|
-
/***/
|
|
1245
|
+
/***/ 2299:
|
|
1246
1246
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1247
1247
|
|
|
1248
1248
|
"use strict";
|
|
@@ -1273,18 +1273,18 @@ var arrayFromMap = function arrayFromMap(map) {
|
|
|
1273
1273
|
});
|
|
1274
1274
|
return array;
|
|
1275
1275
|
};
|
|
1276
|
-
var objectIs = Object.is ? Object.is : __webpack_require__(
|
|
1276
|
+
var objectIs = Object.is ? Object.is : __webpack_require__(7653);
|
|
1277
1277
|
var objectGetOwnPropertySymbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols : function () {
|
|
1278
1278
|
return [];
|
|
1279
1279
|
};
|
|
1280
|
-
var numberIsNaN = Number.isNaN ? Number.isNaN : __webpack_require__(
|
|
1280
|
+
var numberIsNaN = Number.isNaN ? Number.isNaN : __webpack_require__(4133);
|
|
1281
1281
|
function uncurryThis(f) {
|
|
1282
1282
|
return f.call.bind(f);
|
|
1283
1283
|
}
|
|
1284
1284
|
var hasOwnProperty = uncurryThis(Object.prototype.hasOwnProperty);
|
|
1285
1285
|
var propertyIsEnumerable = uncurryThis(Object.prototype.propertyIsEnumerable);
|
|
1286
1286
|
var objectToString = uncurryThis(Object.prototype.toString);
|
|
1287
|
-
var _require$types = (__webpack_require__(
|
|
1287
|
+
var _require$types = (__webpack_require__(537).types),
|
|
1288
1288
|
isAnyArrayBuffer = _require$types.isAnyArrayBuffer,
|
|
1289
1289
|
isArrayBufferView = _require$types.isArrayBufferView,
|
|
1290
1290
|
isDate = _require$types.isDate,
|
|
@@ -1824,7 +1824,28 @@ module.exports = {
|
|
|
1824
1824
|
|
|
1825
1825
|
/***/ }),
|
|
1826
1826
|
|
|
1827
|
-
/***/
|
|
1827
|
+
/***/ 3626:
|
|
1828
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1829
|
+
|
|
1830
|
+
"use strict";
|
|
1831
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1832
|
+
/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1833
|
+
/* harmony export */ });
|
|
1834
|
+
/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8287);
|
|
1835
|
+
// See https://github.com/stellar/js-xdr/issues/117
|
|
1836
|
+
|
|
1837
|
+
if (!(buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer.alloc(1).subarray(0, 1) instanceof buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer)) {
|
|
1838
|
+
buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer.prototype.subarray = function subarray(start, end) {
|
|
1839
|
+
var result = Uint8Array.prototype.subarray.call(this, start, end);
|
|
1840
|
+
Object.setPrototypeOf(result, buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer.prototype);
|
|
1841
|
+
return result;
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer);
|
|
1845
|
+
|
|
1846
|
+
/***/ }),
|
|
1847
|
+
|
|
1848
|
+
/***/ 7687:
|
|
1828
1849
|
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
1829
1850
|
|
|
1830
1851
|
"use strict";
|
|
@@ -1895,7 +1916,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1895
1916
|
});
|
|
1896
1917
|
|
|
1897
1918
|
// EXTERNAL MODULE: ./node_modules/@stellar/js-xdr/dist/xdr.js
|
|
1898
|
-
var xdr = __webpack_require__(
|
|
1919
|
+
var xdr = __webpack_require__(3740);
|
|
1899
1920
|
;// CONCATENATED MODULE: ./src/generated/curr_generated.js
|
|
1900
1921
|
// Automatically generated by xdrgen
|
|
1901
1922
|
// DO NOT EDIT or your changes may be overwritten
|
|
@@ -10207,7 +10228,7 @@ var types = xdr.config(function (xdr) {
|
|
|
10207
10228
|
|
|
10208
10229
|
/* harmony default export */ const src_xdr = (curr_generated);
|
|
10209
10230
|
// EXTERNAL MODULE: ./node_modules/sha.js/index.js
|
|
10210
|
-
var sha_js = __webpack_require__(
|
|
10231
|
+
var sha_js = __webpack_require__(2802);
|
|
10211
10232
|
;// CONCATENATED MODULE: ./src/hashing.js
|
|
10212
10233
|
|
|
10213
10234
|
function hashing_hash(data) {
|
|
@@ -10216,7 +10237,7 @@ function hashing_hash(data) {
|
|
|
10216
10237
|
return hasher.digest();
|
|
10217
10238
|
}
|
|
10218
10239
|
;// CONCATENATED MODULE: ./src/signing.js
|
|
10219
|
-
/* provided dependency */ var Buffer = __webpack_require__(
|
|
10240
|
+
/* provided dependency */ var Buffer = __webpack_require__(3626)["A"];
|
|
10220
10241
|
// This module provides the signing functionality used by the stellar network
|
|
10221
10242
|
// The code below may look a little strange... this is because we try to provide
|
|
10222
10243
|
// the most efficient signing method possible. First, we try to load the
|
|
@@ -10282,7 +10303,7 @@ function checkFastSigningBrowser() {
|
|
|
10282
10303
|
// fallback to `tweetnacl` if we're in the browser or
|
|
10283
10304
|
// if there was a failure installing `sodium-native`
|
|
10284
10305
|
// eslint-disable-next-line
|
|
10285
|
-
var nacl = __webpack_require__(
|
|
10306
|
+
var nacl = __webpack_require__(8947);
|
|
10286
10307
|
actualMethods.generate = function (secretKey) {
|
|
10287
10308
|
var secretKeyUint8 = new Uint8Array(secretKey);
|
|
10288
10309
|
var naclKeys = nacl.sign.keyPair.fromSeed(secretKeyUint8);
|
|
@@ -10314,10 +10335,10 @@ var trimEnd = function trimEnd(input, _char) {
|
|
|
10314
10335
|
return isNumber ? Number(str) : str;
|
|
10315
10336
|
};
|
|
10316
10337
|
// EXTERNAL MODULE: ./node_modules/tweetnacl/nacl-fast.js
|
|
10317
|
-
var nacl_fast = __webpack_require__(
|
|
10338
|
+
var nacl_fast = __webpack_require__(8947);
|
|
10318
10339
|
var nacl_fast_default = /*#__PURE__*/__webpack_require__.n(nacl_fast);
|
|
10319
10340
|
// EXTERNAL MODULE: ./node_modules/base32.js/base32.js
|
|
10320
|
-
var base32 = __webpack_require__(
|
|
10341
|
+
var base32 = __webpack_require__(5360);
|
|
10321
10342
|
;// CONCATENATED MODULE: ./src/util/checksum.js
|
|
10322
10343
|
function verifyChecksum(expected, actual) {
|
|
10323
10344
|
if (expected.length !== actual.length) {
|
|
@@ -10334,12 +10355,12 @@ function verifyChecksum(expected, actual) {
|
|
|
10334
10355
|
return true;
|
|
10335
10356
|
}
|
|
10336
10357
|
;// CONCATENATED MODULE: ./src/strkey.js
|
|
10337
|
-
/* provided dependency */ var strkey_Buffer = __webpack_require__(
|
|
10358
|
+
/* provided dependency */ var strkey_Buffer = __webpack_require__(3626)["A"];
|
|
10338
10359
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10339
10360
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10340
10361
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10341
10362
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10342
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
10363
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
10343
10364
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10344
10365
|
/* eslint no-bitwise: ["error", {"allow": ["<<", ">>", "^", "&", "&="]}] */
|
|
10345
10366
|
|
|
@@ -10379,7 +10400,7 @@ var StrKey = /*#__PURE__*/function () {
|
|
|
10379
10400
|
function StrKey() {
|
|
10380
10401
|
_classCallCheck(this, StrKey);
|
|
10381
10402
|
}
|
|
10382
|
-
_createClass(StrKey, null, [{
|
|
10403
|
+
return _createClass(StrKey, null, [{
|
|
10383
10404
|
key: "encodeEd25519PublicKey",
|
|
10384
10405
|
value:
|
|
10385
10406
|
/**
|
|
@@ -10599,7 +10620,6 @@ var StrKey = /*#__PURE__*/function () {
|
|
|
10599
10620
|
return strkeyTypes[address[0]];
|
|
10600
10621
|
}
|
|
10601
10622
|
}]);
|
|
10602
|
-
return StrKey;
|
|
10603
10623
|
}();
|
|
10604
10624
|
|
|
10605
10625
|
/**
|
|
@@ -10730,12 +10750,12 @@ function calculateChecksum(payload) {
|
|
|
10730
10750
|
return checksum;
|
|
10731
10751
|
}
|
|
10732
10752
|
;// CONCATENATED MODULE: ./src/keypair.js
|
|
10733
|
-
/* provided dependency */ var keypair_Buffer = __webpack_require__(
|
|
10753
|
+
/* provided dependency */ var keypair_Buffer = __webpack_require__(3626)["A"];
|
|
10734
10754
|
function keypair_typeof(o) { "@babel/helpers - typeof"; return keypair_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, keypair_typeof(o); }
|
|
10735
10755
|
function keypair_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10736
10756
|
function keypair_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, keypair_toPropertyKey(descriptor.key), descriptor); } }
|
|
10737
10757
|
function keypair_createClass(Constructor, protoProps, staticProps) { if (protoProps) keypair_defineProperties(Constructor.prototype, protoProps); if (staticProps) keypair_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10738
|
-
function keypair_toPropertyKey(t) { var i = keypair_toPrimitive(t, "string"); return "symbol" == keypair_typeof(i) ? i :
|
|
10758
|
+
function keypair_toPropertyKey(t) { var i = keypair_toPrimitive(t, "string"); return "symbol" == keypair_typeof(i) ? i : i + ""; }
|
|
10739
10759
|
function keypair_toPrimitive(t, r) { if ("object" != keypair_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != keypair_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10740
10760
|
/* eslint no-bitwise: ["error", {"allow": ["^"]}] */
|
|
10741
10761
|
|
|
@@ -10794,7 +10814,7 @@ var Keypair = /*#__PURE__*/function () {
|
|
|
10794
10814
|
* @param {string} secret secret key (ex. `SDAKFNYEIAORZKKCYRILFQKLLOCNPL5SWJ3YY5NM3ZH6GJSZGXHZEPQS`)
|
|
10795
10815
|
* @returns {Keypair}
|
|
10796
10816
|
*/
|
|
10797
|
-
keypair_createClass(Keypair, [{
|
|
10817
|
+
return keypair_createClass(Keypair, [{
|
|
10798
10818
|
key: "xdrAccountId",
|
|
10799
10819
|
value: function xdrAccountId() {
|
|
10800
10820
|
return new src_xdr.AccountId.publicKeyTypeEd25519(this._publicKey);
|
|
@@ -11033,15 +11053,14 @@ var Keypair = /*#__PURE__*/function () {
|
|
|
11033
11053
|
return this.fromRawEd25519Seed(secret);
|
|
11034
11054
|
}
|
|
11035
11055
|
}]);
|
|
11036
|
-
return Keypair;
|
|
11037
11056
|
}();
|
|
11038
11057
|
;// CONCATENATED MODULE: ./src/asset.js
|
|
11039
|
-
/* provided dependency */ var asset_Buffer = __webpack_require__(
|
|
11058
|
+
/* provided dependency */ var asset_Buffer = __webpack_require__(3626)["A"];
|
|
11040
11059
|
function asset_typeof(o) { "@babel/helpers - typeof"; return asset_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, asset_typeof(o); }
|
|
11041
11060
|
function asset_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11042
11061
|
function asset_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, asset_toPropertyKey(descriptor.key), descriptor); } }
|
|
11043
11062
|
function asset_createClass(Constructor, protoProps, staticProps) { if (protoProps) asset_defineProperties(Constructor.prototype, protoProps); if (staticProps) asset_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11044
|
-
function asset_toPropertyKey(t) { var i = asset_toPrimitive(t, "string"); return "symbol" == asset_typeof(i) ? i :
|
|
11063
|
+
function asset_toPropertyKey(t) { var i = asset_toPrimitive(t, "string"); return "symbol" == asset_typeof(i) ? i : i + ""; }
|
|
11045
11064
|
function asset_toPrimitive(t, r) { if ("object" != asset_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != asset_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11046
11065
|
|
|
11047
11066
|
|
|
@@ -11085,7 +11104,7 @@ var Asset = /*#__PURE__*/function () {
|
|
|
11085
11104
|
* Returns an asset object for the native asset.
|
|
11086
11105
|
* @Return {Asset}
|
|
11087
11106
|
*/
|
|
11088
|
-
asset_createClass(Asset, [{
|
|
11107
|
+
return asset_createClass(Asset, [{
|
|
11089
11108
|
key: "toXDRObject",
|
|
11090
11109
|
value:
|
|
11091
11110
|
/**
|
|
@@ -11339,7 +11358,6 @@ var Asset = /*#__PURE__*/function () {
|
|
|
11339
11358
|
return asciiCompare(assetA.getIssuer(), assetB.getIssuer());
|
|
11340
11359
|
}
|
|
11341
11360
|
}]);
|
|
11342
|
-
return Asset;
|
|
11343
11361
|
}();
|
|
11344
11362
|
|
|
11345
11363
|
/**
|
|
@@ -11356,7 +11374,7 @@ function asciiCompare(a, b) {
|
|
|
11356
11374
|
return asset_Buffer.compare(asset_Buffer.from(a, 'ascii'), asset_Buffer.from(b, 'ascii'));
|
|
11357
11375
|
}
|
|
11358
11376
|
;// CONCATENATED MODULE: ./src/get_liquidity_pool_id.js
|
|
11359
|
-
/* provided dependency */ var get_liquidity_pool_id_Buffer = __webpack_require__(
|
|
11377
|
+
/* provided dependency */ var get_liquidity_pool_id_Buffer = __webpack_require__(3626)["A"];
|
|
11360
11378
|
|
|
11361
11379
|
|
|
11362
11380
|
|
|
@@ -11408,12 +11426,12 @@ function getLiquidityPoolId(liquidityPoolType) {
|
|
|
11408
11426
|
return hashing_hash(payload);
|
|
11409
11427
|
}
|
|
11410
11428
|
;// CONCATENATED MODULE: ./src/transaction_base.js
|
|
11411
|
-
/* provided dependency */ var transaction_base_Buffer = __webpack_require__(
|
|
11429
|
+
/* provided dependency */ var transaction_base_Buffer = __webpack_require__(3626)["A"];
|
|
11412
11430
|
function transaction_base_typeof(o) { "@babel/helpers - typeof"; return transaction_base_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_base_typeof(o); }
|
|
11413
11431
|
function transaction_base_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11414
11432
|
function transaction_base_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, transaction_base_toPropertyKey(descriptor.key), descriptor); } }
|
|
11415
11433
|
function transaction_base_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_base_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_base_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11416
|
-
function transaction_base_toPropertyKey(t) { var i = transaction_base_toPrimitive(t, "string"); return "symbol" == transaction_base_typeof(i) ? i :
|
|
11434
|
+
function transaction_base_toPropertyKey(t) { var i = transaction_base_toPrimitive(t, "string"); return "symbol" == transaction_base_typeof(i) ? i : i + ""; }
|
|
11417
11435
|
function transaction_base_toPrimitive(t, r) { if ("object" != transaction_base_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_base_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11418
11436
|
|
|
11419
11437
|
|
|
@@ -11438,7 +11456,7 @@ var TransactionBase = /*#__PURE__*/function () {
|
|
|
11438
11456
|
* @type {Array.<xdr.DecoratedSignature>}
|
|
11439
11457
|
* @readonly
|
|
11440
11458
|
*/
|
|
11441
|
-
transaction_base_createClass(TransactionBase, [{
|
|
11459
|
+
return transaction_base_createClass(TransactionBase, [{
|
|
11442
11460
|
key: "signatures",
|
|
11443
11461
|
get: function get() {
|
|
11444
11462
|
return this._signatures;
|
|
@@ -11649,7 +11667,6 @@ var TransactionBase = /*#__PURE__*/function () {
|
|
|
11649
11667
|
return this.toEnvelope().toXDR().toString('base64');
|
|
11650
11668
|
}
|
|
11651
11669
|
}]);
|
|
11652
|
-
return TransactionBase;
|
|
11653
11670
|
}();
|
|
11654
11671
|
;// CONCATENATED MODULE: ./node_modules/bignumber.js/bignumber.mjs
|
|
11655
11672
|
/*
|
|
@@ -14627,7 +14644,7 @@ function _defineProperty(obj, key, value) { key = liquidity_pool_asset_toPropert
|
|
|
14627
14644
|
function liquidity_pool_asset_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14628
14645
|
function liquidity_pool_asset_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, liquidity_pool_asset_toPropertyKey(descriptor.key), descriptor); } }
|
|
14629
14646
|
function liquidity_pool_asset_createClass(Constructor, protoProps, staticProps) { if (protoProps) liquidity_pool_asset_defineProperties(Constructor.prototype, protoProps); if (staticProps) liquidity_pool_asset_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14630
|
-
function liquidity_pool_asset_toPropertyKey(t) { var i = liquidity_pool_asset_toPrimitive(t, "string"); return "symbol" == liquidity_pool_asset_typeof(i) ? i :
|
|
14647
|
+
function liquidity_pool_asset_toPropertyKey(t) { var i = liquidity_pool_asset_toPrimitive(t, "string"); return "symbol" == liquidity_pool_asset_typeof(i) ? i : i + ""; }
|
|
14631
14648
|
function liquidity_pool_asset_toPrimitive(t, r) { if ("object" != liquidity_pool_asset_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != liquidity_pool_asset_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14632
14649
|
|
|
14633
14650
|
|
|
@@ -14667,7 +14684,7 @@ var LiquidityPoolAsset = /*#__PURE__*/function () {
|
|
|
14667
14684
|
* @param {xdr.ChangeTrustAsset} ctAssetXdr - The asset XDR object.
|
|
14668
14685
|
* @returns {LiquidityPoolAsset}
|
|
14669
14686
|
*/
|
|
14670
|
-
liquidity_pool_asset_createClass(LiquidityPoolAsset, [{
|
|
14687
|
+
return liquidity_pool_asset_createClass(LiquidityPoolAsset, [{
|
|
14671
14688
|
key: "toXDRObject",
|
|
14672
14689
|
value:
|
|
14673
14690
|
/**
|
|
@@ -14738,14 +14755,13 @@ var LiquidityPoolAsset = /*#__PURE__*/function () {
|
|
|
14738
14755
|
throw new Error("Invalid asset type: ".concat(assetType.name));
|
|
14739
14756
|
}
|
|
14740
14757
|
}]);
|
|
14741
|
-
return LiquidityPoolAsset;
|
|
14742
14758
|
}();
|
|
14743
14759
|
;// CONCATENATED MODULE: ./src/claimant.js
|
|
14744
14760
|
function claimant_typeof(o) { "@babel/helpers - typeof"; return claimant_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, claimant_typeof(o); }
|
|
14745
14761
|
function claimant_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14746
14762
|
function claimant_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, claimant_toPropertyKey(descriptor.key), descriptor); } }
|
|
14747
14763
|
function claimant_createClass(Constructor, protoProps, staticProps) { if (protoProps) claimant_defineProperties(Constructor.prototype, protoProps); if (staticProps) claimant_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14748
|
-
function claimant_toPropertyKey(t) { var i = claimant_toPrimitive(t, "string"); return "symbol" == claimant_typeof(i) ? i :
|
|
14764
|
+
function claimant_toPropertyKey(t) { var i = claimant_toPrimitive(t, "string"); return "symbol" == claimant_typeof(i) ? i : i + ""; }
|
|
14749
14765
|
function claimant_toPrimitive(t, r) { if ("object" != claimant_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != claimant_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14750
14766
|
|
|
14751
14767
|
|
|
@@ -14780,7 +14796,7 @@ var Claimant = /*#__PURE__*/function () {
|
|
|
14780
14796
|
* Returns an unconditional claim predicate
|
|
14781
14797
|
* @Return {xdr.ClaimPredicate}
|
|
14782
14798
|
*/
|
|
14783
|
-
claimant_createClass(Claimant, [{
|
|
14799
|
+
return claimant_createClass(Claimant, [{
|
|
14784
14800
|
key: "toXDRObject",
|
|
14785
14801
|
value:
|
|
14786
14802
|
/**
|
|
@@ -14926,14 +14942,13 @@ var Claimant = /*#__PURE__*/function () {
|
|
|
14926
14942
|
}
|
|
14927
14943
|
}
|
|
14928
14944
|
}]);
|
|
14929
|
-
return Claimant;
|
|
14930
14945
|
}();
|
|
14931
14946
|
;// CONCATENATED MODULE: ./src/liquidity_pool_id.js
|
|
14932
14947
|
function liquidity_pool_id_typeof(o) { "@babel/helpers - typeof"; return liquidity_pool_id_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, liquidity_pool_id_typeof(o); }
|
|
14933
14948
|
function liquidity_pool_id_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14934
14949
|
function liquidity_pool_id_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, liquidity_pool_id_toPropertyKey(descriptor.key), descriptor); } }
|
|
14935
14950
|
function liquidity_pool_id_createClass(Constructor, protoProps, staticProps) { if (protoProps) liquidity_pool_id_defineProperties(Constructor.prototype, protoProps); if (staticProps) liquidity_pool_id_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14936
|
-
function liquidity_pool_id_toPropertyKey(t) { var i = liquidity_pool_id_toPrimitive(t, "string"); return "symbol" == liquidity_pool_id_typeof(i) ? i :
|
|
14951
|
+
function liquidity_pool_id_toPropertyKey(t) { var i = liquidity_pool_id_toPrimitive(t, "string"); return "symbol" == liquidity_pool_id_typeof(i) ? i : i + ""; }
|
|
14937
14952
|
function liquidity_pool_id_toPrimitive(t, r) { if ("object" != liquidity_pool_id_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != liquidity_pool_id_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14938
14953
|
|
|
14939
14954
|
|
|
@@ -14961,7 +14976,7 @@ var LiquidityPoolId = /*#__PURE__*/function () {
|
|
|
14961
14976
|
* @param {xdr.TrustLineAsset} tlAssetXdr - The asset XDR object.
|
|
14962
14977
|
* @returns {LiquidityPoolId}
|
|
14963
14978
|
*/
|
|
14964
|
-
liquidity_pool_id_createClass(LiquidityPoolId, [{
|
|
14979
|
+
return liquidity_pool_id_createClass(LiquidityPoolId, [{
|
|
14965
14980
|
key: "toXDRObject",
|
|
14966
14981
|
value:
|
|
14967
14982
|
/**
|
|
@@ -15022,7 +15037,6 @@ var LiquidityPoolId = /*#__PURE__*/function () {
|
|
|
15022
15037
|
throw new Error("Invalid asset type: ".concat(assetType.name));
|
|
15023
15038
|
}
|
|
15024
15039
|
}]);
|
|
15025
|
-
return LiquidityPoolId;
|
|
15026
15040
|
}();
|
|
15027
15041
|
;// CONCATENATED MODULE: ./src/operations/manage_sell_offer.js
|
|
15028
15042
|
|
|
@@ -15108,7 +15122,7 @@ function createPassiveSellOffer(opts) {
|
|
|
15108
15122
|
return new src_xdr.Operation(opAttributes);
|
|
15109
15123
|
}
|
|
15110
15124
|
;// CONCATENATED MODULE: ./src/util/decode_encode_muxed_account.js
|
|
15111
|
-
/* provided dependency */ var decode_encode_muxed_account_Buffer = __webpack_require__(
|
|
15125
|
+
/* provided dependency */ var decode_encode_muxed_account_Buffer = __webpack_require__(3626)["A"];
|
|
15112
15126
|
|
|
15113
15127
|
|
|
15114
15128
|
|
|
@@ -15552,7 +15566,7 @@ function inflation() {
|
|
|
15552
15566
|
return new src_xdr.Operation(opAttributes);
|
|
15553
15567
|
}
|
|
15554
15568
|
;// CONCATENATED MODULE: ./src/operations/manage_data.js
|
|
15555
|
-
/* provided dependency */ var manage_data_Buffer = __webpack_require__(
|
|
15569
|
+
/* provided dependency */ var manage_data_Buffer = __webpack_require__(3626)["A"];
|
|
15556
15570
|
|
|
15557
15571
|
|
|
15558
15572
|
/**
|
|
@@ -15801,7 +15815,7 @@ function payment(opts) {
|
|
|
15801
15815
|
return new src_xdr.Operation(opAttributes);
|
|
15802
15816
|
}
|
|
15803
15817
|
;// CONCATENATED MODULE: ./src/operations/set_options.js
|
|
15804
|
-
/* provided dependency */ var set_options_Buffer = __webpack_require__(
|
|
15818
|
+
/* provided dependency */ var set_options_Buffer = __webpack_require__(3626)["A"];
|
|
15805
15819
|
/* eslint-disable no-param-reassign */
|
|
15806
15820
|
|
|
15807
15821
|
|
|
@@ -15986,7 +16000,7 @@ function endSponsoringFutureReserves() {
|
|
|
15986
16000
|
return new src_xdr.Operation(opAttributes);
|
|
15987
16001
|
}
|
|
15988
16002
|
;// CONCATENATED MODULE: ./src/operations/revoke_sponsorship.js
|
|
15989
|
-
/* provided dependency */ var revoke_sponsorship_Buffer = __webpack_require__(
|
|
16003
|
+
/* provided dependency */ var revoke_sponsorship_Buffer = __webpack_require__(3626)["A"];
|
|
15990
16004
|
|
|
15991
16005
|
|
|
15992
16006
|
|
|
@@ -16505,7 +16519,7 @@ function address_typeof(o) { "@babel/helpers - typeof"; return address_typeof =
|
|
|
16505
16519
|
function address_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16506
16520
|
function address_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, address_toPropertyKey(descriptor.key), descriptor); } }
|
|
16507
16521
|
function address_createClass(Constructor, protoProps, staticProps) { if (protoProps) address_defineProperties(Constructor.prototype, protoProps); if (staticProps) address_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16508
|
-
function address_toPropertyKey(t) { var i = address_toPrimitive(t, "string"); return "symbol" == address_typeof(i) ? i :
|
|
16522
|
+
function address_toPropertyKey(t) { var i = address_toPrimitive(t, "string"); return "symbol" == address_typeof(i) ? i : i + ""; }
|
|
16509
16523
|
function address_toPrimitive(t, r) { if ("object" != address_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != address_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16510
16524
|
|
|
16511
16525
|
|
|
@@ -16543,7 +16557,7 @@ var Address = /*#__PURE__*/function () {
|
|
|
16543
16557
|
* @param {string} address - The address to parse. ex. `GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA`
|
|
16544
16558
|
* @returns {Address}
|
|
16545
16559
|
*/
|
|
16546
|
-
address_createClass(Address, [{
|
|
16560
|
+
return address_createClass(Address, [{
|
|
16547
16561
|
key: "toString",
|
|
16548
16562
|
value:
|
|
16549
16563
|
/**
|
|
@@ -16662,10 +16676,9 @@ var Address = /*#__PURE__*/function () {
|
|
|
16662
16676
|
}
|
|
16663
16677
|
}
|
|
16664
16678
|
}]);
|
|
16665
|
-
return Address;
|
|
16666
16679
|
}();
|
|
16667
16680
|
;// CONCATENATED MODULE: ./src/operations/invoke_host_function.js
|
|
16668
|
-
/* provided dependency */ var invoke_host_function_Buffer = __webpack_require__(
|
|
16681
|
+
/* provided dependency */ var invoke_host_function_Buffer = __webpack_require__(3626)["A"];
|
|
16669
16682
|
function invoke_host_function_slicedToArray(arr, i) { return invoke_host_function_arrayWithHoles(arr) || invoke_host_function_iterableToArrayLimit(arr, i) || invoke_host_function_unsupportedIterableToArray(arr, i) || invoke_host_function_nonIterableRest(); }
|
|
16670
16683
|
function invoke_host_function_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
16671
16684
|
function invoke_host_function_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return invoke_host_function_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return invoke_host_function_arrayLikeToArray(o, minLen); }
|
|
@@ -16980,7 +16993,7 @@ function operation_typeof(o) { "@babel/helpers - typeof"; return operation_typeo
|
|
|
16980
16993
|
function operation_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16981
16994
|
function operation_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, operation_toPropertyKey(descriptor.key), descriptor); } }
|
|
16982
16995
|
function operation_createClass(Constructor, protoProps, staticProps) { if (protoProps) operation_defineProperties(Constructor.prototype, protoProps); if (staticProps) operation_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16983
|
-
function operation_toPropertyKey(t) { var i = operation_toPrimitive(t, "string"); return "symbol" == operation_typeof(i) ? i :
|
|
16996
|
+
function operation_toPropertyKey(t) { var i = operation_toPrimitive(t, "string"); return "symbol" == operation_typeof(i) ? i : i + ""; }
|
|
16984
16997
|
function operation_toPrimitive(t, r) { if ("object" != operation_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != operation_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16985
16998
|
/* eslint-disable no-bitwise */
|
|
16986
16999
|
|
|
@@ -17081,7 +17094,7 @@ var Operation = /*#__PURE__*/function () {
|
|
|
17081
17094
|
function Operation() {
|
|
17082
17095
|
operation_classCallCheck(this, Operation);
|
|
17083
17096
|
}
|
|
17084
|
-
operation_createClass(Operation, null, [{
|
|
17097
|
+
return operation_createClass(Operation, null, [{
|
|
17085
17098
|
key: "setSourceAccount",
|
|
17086
17099
|
value: function setSourceAccount(opAttributes, opts) {
|
|
17087
17100
|
if (opts.source) {
|
|
@@ -17539,7 +17552,6 @@ var Operation = /*#__PURE__*/function () {
|
|
|
17539
17552
|
return xdrObject;
|
|
17540
17553
|
}
|
|
17541
17554
|
}]);
|
|
17542
|
-
return Operation;
|
|
17543
17555
|
}();
|
|
17544
17556
|
function extractRevokeSponshipDetails(attrs, result) {
|
|
17545
17557
|
switch (attrs["switch"]().name) {
|
|
@@ -17685,12 +17697,12 @@ Operation.invokeContractFunction = invokeContractFunction;
|
|
|
17685
17697
|
Operation.createCustomContract = createCustomContract;
|
|
17686
17698
|
Operation.uploadContractWasm = uploadContractWasm;
|
|
17687
17699
|
;// CONCATENATED MODULE: ./src/memo.js
|
|
17688
|
-
/* provided dependency */ var memo_Buffer = __webpack_require__(
|
|
17700
|
+
/* provided dependency */ var memo_Buffer = __webpack_require__(3626)["A"];
|
|
17689
17701
|
function memo_typeof(o) { "@babel/helpers - typeof"; return memo_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, memo_typeof(o); }
|
|
17690
17702
|
function memo_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17691
17703
|
function memo_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, memo_toPropertyKey(descriptor.key), descriptor); } }
|
|
17692
17704
|
function memo_createClass(Constructor, protoProps, staticProps) { if (protoProps) memo_defineProperties(Constructor.prototype, protoProps); if (staticProps) memo_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17693
|
-
function memo_toPropertyKey(t) { var i = memo_toPrimitive(t, "string"); return "symbol" == memo_typeof(i) ? i :
|
|
17705
|
+
function memo_toPropertyKey(t) { var i = memo_toPrimitive(t, "string"); return "symbol" == memo_typeof(i) ? i : i + ""; }
|
|
17694
17706
|
function memo_toPrimitive(t, r) { if ("object" != memo_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != memo_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17695
17707
|
|
|
17696
17708
|
|
|
@@ -17756,7 +17768,7 @@ var Memo = /*#__PURE__*/function () {
|
|
|
17756
17768
|
/**
|
|
17757
17769
|
* Contains memo type: `MemoNone`, `MemoID`, `MemoText`, `MemoHash` or `MemoReturn`
|
|
17758
17770
|
*/
|
|
17759
|
-
memo_createClass(Memo, [{
|
|
17771
|
+
return memo_createClass(Memo, [{
|
|
17760
17772
|
key: "type",
|
|
17761
17773
|
get: function get() {
|
|
17762
17774
|
return this._type;
|
|
@@ -17948,15 +17960,14 @@ var Memo = /*#__PURE__*/function () {
|
|
|
17948
17960
|
throw new Error('Unknown type');
|
|
17949
17961
|
}
|
|
17950
17962
|
}]);
|
|
17951
|
-
return Memo;
|
|
17952
17963
|
}();
|
|
17953
17964
|
;// CONCATENATED MODULE: ./src/transaction.js
|
|
17954
|
-
/* provided dependency */ var transaction_Buffer = __webpack_require__(
|
|
17965
|
+
/* provided dependency */ var transaction_Buffer = __webpack_require__(3626)["A"];
|
|
17955
17966
|
function transaction_typeof(o) { "@babel/helpers - typeof"; return transaction_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_typeof(o); }
|
|
17956
17967
|
function transaction_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17957
17968
|
function transaction_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, transaction_toPropertyKey(descriptor.key), descriptor); } }
|
|
17958
17969
|
function transaction_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17959
|
-
function transaction_toPropertyKey(t) { var i = transaction_toPrimitive(t, "string"); return "symbol" == transaction_typeof(i) ? i :
|
|
17970
|
+
function transaction_toPropertyKey(t) { var i = transaction_toPrimitive(t, "string"); return "symbol" == transaction_typeof(i) ? i : i + ""; }
|
|
17960
17971
|
function transaction_toPrimitive(t, r) { if ("object" != transaction_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17961
17972
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17962
17973
|
function _possibleConstructorReturn(self, call) { if (call && (transaction_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
@@ -17993,7 +18004,6 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Objec
|
|
|
17993
18004
|
* @extends TransactionBase
|
|
17994
18005
|
*/
|
|
17995
18006
|
var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
17996
|
-
_inherits(Transaction, _TransactionBase);
|
|
17997
18007
|
function Transaction(envelope, networkPassphrase) {
|
|
17998
18008
|
var _this;
|
|
17999
18009
|
transaction_classCallCheck(this, Transaction);
|
|
@@ -18078,7 +18088,8 @@ var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18078
18088
|
* @property {string} 64 bit unix timestamp
|
|
18079
18089
|
* @readonly
|
|
18080
18090
|
*/
|
|
18081
|
-
|
|
18091
|
+
_inherits(Transaction, _TransactionBase);
|
|
18092
|
+
return transaction_createClass(Transaction, [{
|
|
18082
18093
|
key: "timeBounds",
|
|
18083
18094
|
get: function get() {
|
|
18084
18095
|
return this._timeBounds;
|
|
@@ -18312,15 +18323,14 @@ var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18312
18323
|
return balanceId.toXDR('hex');
|
|
18313
18324
|
}
|
|
18314
18325
|
}]);
|
|
18315
|
-
return Transaction;
|
|
18316
18326
|
}(TransactionBase);
|
|
18317
18327
|
;// CONCATENATED MODULE: ./src/fee_bump_transaction.js
|
|
18318
|
-
/* provided dependency */ var fee_bump_transaction_Buffer = __webpack_require__(
|
|
18328
|
+
/* provided dependency */ var fee_bump_transaction_Buffer = __webpack_require__(3626)["A"];
|
|
18319
18329
|
function fee_bump_transaction_typeof(o) { "@babel/helpers - typeof"; return fee_bump_transaction_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, fee_bump_transaction_typeof(o); }
|
|
18320
18330
|
function fee_bump_transaction_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18321
18331
|
function fee_bump_transaction_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, fee_bump_transaction_toPropertyKey(descriptor.key), descriptor); } }
|
|
18322
18332
|
function fee_bump_transaction_createClass(Constructor, protoProps, staticProps) { if (protoProps) fee_bump_transaction_defineProperties(Constructor.prototype, protoProps); if (staticProps) fee_bump_transaction_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18323
|
-
function fee_bump_transaction_toPropertyKey(t) { var i = fee_bump_transaction_toPrimitive(t, "string"); return "symbol" == fee_bump_transaction_typeof(i) ? i :
|
|
18333
|
+
function fee_bump_transaction_toPropertyKey(t) { var i = fee_bump_transaction_toPrimitive(t, "string"); return "symbol" == fee_bump_transaction_typeof(i) ? i : i + ""; }
|
|
18324
18334
|
function fee_bump_transaction_toPrimitive(t, r) { if ("object" != fee_bump_transaction_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fee_bump_transaction_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18325
18335
|
function fee_bump_transaction_callSuper(t, o, e) { return o = fee_bump_transaction_getPrototypeOf(o), fee_bump_transaction_possibleConstructorReturn(t, fee_bump_transaction_isNativeReflectConstruct() ? Reflect.construct(o, e || [], fee_bump_transaction_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
18326
18336
|
function fee_bump_transaction_possibleConstructorReturn(self, call) { if (call && (fee_bump_transaction_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return fee_bump_transaction_assertThisInitialized(self); }
|
|
@@ -18352,7 +18362,6 @@ function fee_bump_transaction_setPrototypeOf(o, p) { fee_bump_transaction_setPro
|
|
|
18352
18362
|
* @extends TransactionBase
|
|
18353
18363
|
*/
|
|
18354
18364
|
var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
18355
|
-
fee_bump_transaction_inherits(FeeBumpTransaction, _TransactionBase);
|
|
18356
18365
|
function FeeBumpTransaction(envelope, networkPassphrase) {
|
|
18357
18366
|
var _this;
|
|
18358
18367
|
fee_bump_transaction_classCallCheck(this, FeeBumpTransaction);
|
|
@@ -18380,7 +18389,8 @@ var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18380
18389
|
* @type {Transaction}
|
|
18381
18390
|
* @readonly
|
|
18382
18391
|
*/
|
|
18383
|
-
|
|
18392
|
+
fee_bump_transaction_inherits(FeeBumpTransaction, _TransactionBase);
|
|
18393
|
+
return fee_bump_transaction_createClass(FeeBumpTransaction, [{
|
|
18384
18394
|
key: "innerTransaction",
|
|
18385
18395
|
get: function get() {
|
|
18386
18396
|
return this._innerTransaction;
|
|
@@ -18441,14 +18451,13 @@ var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18441
18451
|
return new src_xdr.TransactionEnvelope.envelopeTypeTxFeeBump(envelope);
|
|
18442
18452
|
}
|
|
18443
18453
|
}]);
|
|
18444
|
-
return FeeBumpTransaction;
|
|
18445
18454
|
}(TransactionBase);
|
|
18446
18455
|
;// CONCATENATED MODULE: ./src/account.js
|
|
18447
18456
|
function account_typeof(o) { "@babel/helpers - typeof"; return account_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, account_typeof(o); }
|
|
18448
18457
|
function account_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18449
18458
|
function account_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, account_toPropertyKey(descriptor.key), descriptor); } }
|
|
18450
18459
|
function account_createClass(Constructor, protoProps, staticProps) { if (protoProps) account_defineProperties(Constructor.prototype, protoProps); if (staticProps) account_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18451
|
-
function account_toPropertyKey(t) { var i = account_toPrimitive(t, "string"); return "symbol" == account_typeof(i) ? i :
|
|
18460
|
+
function account_toPropertyKey(t) { var i = account_toPrimitive(t, "string"); return "symbol" == account_typeof(i) ? i : i + ""; }
|
|
18452
18461
|
function account_toPrimitive(t, r) { if ("object" != account_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != account_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18453
18462
|
|
|
18454
18463
|
|
|
@@ -18491,7 +18500,7 @@ var Account = /*#__PURE__*/function () {
|
|
|
18491
18500
|
* `GB3KJPLFUYN5VL6R3GU3EGCGVCKFDSD7BEDX42HWG5BWFKB3KQGJJRMA`.
|
|
18492
18501
|
* @returns {string}
|
|
18493
18502
|
*/
|
|
18494
|
-
account_createClass(Account, [{
|
|
18503
|
+
return account_createClass(Account, [{
|
|
18495
18504
|
key: "accountId",
|
|
18496
18505
|
value: function accountId() {
|
|
18497
18506
|
return this._accountId;
|
|
@@ -18516,14 +18525,13 @@ var Account = /*#__PURE__*/function () {
|
|
|
18516
18525
|
this.sequence = this.sequence.plus(1);
|
|
18517
18526
|
}
|
|
18518
18527
|
}]);
|
|
18519
|
-
return Account;
|
|
18520
18528
|
}();
|
|
18521
18529
|
;// CONCATENATED MODULE: ./src/muxed_account.js
|
|
18522
18530
|
function muxed_account_typeof(o) { "@babel/helpers - typeof"; return muxed_account_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, muxed_account_typeof(o); }
|
|
18523
18531
|
function muxed_account_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18524
18532
|
function muxed_account_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, muxed_account_toPropertyKey(descriptor.key), descriptor); } }
|
|
18525
18533
|
function muxed_account_createClass(Constructor, protoProps, staticProps) { if (protoProps) muxed_account_defineProperties(Constructor.prototype, protoProps); if (staticProps) muxed_account_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18526
|
-
function muxed_account_toPropertyKey(t) { var i = muxed_account_toPrimitive(t, "string"); return "symbol" == muxed_account_typeof(i) ? i :
|
|
18534
|
+
function muxed_account_toPropertyKey(t) { var i = muxed_account_toPrimitive(t, "string"); return "symbol" == muxed_account_typeof(i) ? i : i + ""; }
|
|
18527
18535
|
function muxed_account_toPrimitive(t, r) { if ("object" != muxed_account_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != muxed_account_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18528
18536
|
|
|
18529
18537
|
|
|
@@ -18591,7 +18599,7 @@ var MuxedAccount = /*#__PURE__*/function () {
|
|
|
18591
18599
|
*
|
|
18592
18600
|
* @return {MuxedAccount}
|
|
18593
18601
|
*/
|
|
18594
|
-
muxed_account_createClass(MuxedAccount, [{
|
|
18602
|
+
return muxed_account_createClass(MuxedAccount, [{
|
|
18595
18603
|
key: "baseAccount",
|
|
18596
18604
|
value:
|
|
18597
18605
|
/**
|
|
@@ -18670,7 +18678,6 @@ var MuxedAccount = /*#__PURE__*/function () {
|
|
|
18670
18678
|
return new MuxedAccount(new Account(gAddress, sequenceNum), id);
|
|
18671
18679
|
}
|
|
18672
18680
|
}]);
|
|
18673
|
-
return MuxedAccount;
|
|
18674
18681
|
}();
|
|
18675
18682
|
;// CONCATENATED MODULE: ./src/sorobandata_builder.js
|
|
18676
18683
|
function sorobandata_builder_typeof(o) { "@babel/helpers - typeof"; return sorobandata_builder_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sorobandata_builder_typeof(o); }
|
|
@@ -18678,7 +18685,7 @@ function sorobandata_builder_classCallCheck(instance, Constructor) { if (!(insta
|
|
|
18678
18685
|
function sorobandata_builder_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, sorobandata_builder_toPropertyKey(descriptor.key), descriptor); } }
|
|
18679
18686
|
function sorobandata_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) sorobandata_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) sorobandata_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18680
18687
|
function sorobandata_builder_defineProperty(obj, key, value) { key = sorobandata_builder_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18681
|
-
function sorobandata_builder_toPropertyKey(t) { var i = sorobandata_builder_toPrimitive(t, "string"); return "symbol" == sorobandata_builder_typeof(i) ? i :
|
|
18688
|
+
function sorobandata_builder_toPropertyKey(t) { var i = sorobandata_builder_toPrimitive(t, "string"); return "symbol" == sorobandata_builder_typeof(i) ? i : i + ""; }
|
|
18682
18689
|
function sorobandata_builder_toPrimitive(t, r) { if ("object" != sorobandata_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sorobandata_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18683
18690
|
|
|
18684
18691
|
|
|
@@ -18744,7 +18751,7 @@ var SorobanDataBuilder = /*#__PURE__*/function () {
|
|
|
18744
18751
|
* @param {Uint8Array|Buffer|string} data raw input to decode
|
|
18745
18752
|
* @returns {xdr.SorobanTransactionData}
|
|
18746
18753
|
*/
|
|
18747
|
-
sorobandata_builder_createClass(SorobanDataBuilder, [{
|
|
18754
|
+
return sorobandata_builder_createClass(SorobanDataBuilder, [{
|
|
18748
18755
|
key: "setResourceFee",
|
|
18749
18756
|
value:
|
|
18750
18757
|
/**
|
|
@@ -18883,14 +18890,13 @@ var SorobanDataBuilder = /*#__PURE__*/function () {
|
|
|
18883
18890
|
return src_xdr.SorobanTransactionData.fromXDR(data, typeof data === 'string' ? 'base64' : 'raw');
|
|
18884
18891
|
}
|
|
18885
18892
|
}]);
|
|
18886
|
-
return SorobanDataBuilder;
|
|
18887
18893
|
}();
|
|
18888
18894
|
;// CONCATENATED MODULE: ./src/signerkey.js
|
|
18889
18895
|
function signerkey_typeof(o) { "@babel/helpers - typeof"; return signerkey_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, signerkey_typeof(o); }
|
|
18890
18896
|
function signerkey_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18891
18897
|
function signerkey_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, signerkey_toPropertyKey(descriptor.key), descriptor); } }
|
|
18892
18898
|
function signerkey_createClass(Constructor, protoProps, staticProps) { if (protoProps) signerkey_defineProperties(Constructor.prototype, protoProps); if (staticProps) signerkey_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18893
|
-
function signerkey_toPropertyKey(t) { var i = signerkey_toPrimitive(t, "string"); return "symbol" == signerkey_typeof(i) ? i :
|
|
18899
|
+
function signerkey_toPropertyKey(t) { var i = signerkey_toPrimitive(t, "string"); return "symbol" == signerkey_typeof(i) ? i : i + ""; }
|
|
18894
18900
|
function signerkey_toPrimitive(t, r) { if ("object" != signerkey_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != signerkey_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18895
18901
|
|
|
18896
18902
|
|
|
@@ -18908,7 +18914,7 @@ var SignerKey = /*#__PURE__*/function () {
|
|
|
18908
18914
|
function SignerKey() {
|
|
18909
18915
|
signerkey_classCallCheck(this, SignerKey);
|
|
18910
18916
|
}
|
|
18911
|
-
signerkey_createClass(SignerKey, null, [{
|
|
18917
|
+
return signerkey_createClass(SignerKey, null, [{
|
|
18912
18918
|
key: "decodeAddress",
|
|
18913
18919
|
value:
|
|
18914
18920
|
/**
|
|
@@ -18981,7 +18987,6 @@ var SignerKey = /*#__PURE__*/function () {
|
|
|
18981
18987
|
return encodeCheck(strkeyType, raw);
|
|
18982
18988
|
}
|
|
18983
18989
|
}]);
|
|
18984
|
-
return SignerKey;
|
|
18985
18990
|
}();
|
|
18986
18991
|
;// CONCATENATED MODULE: ./src/transaction_builder.js
|
|
18987
18992
|
function transaction_builder_typeof(o) { "@babel/helpers - typeof"; return transaction_builder_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, transaction_builder_typeof(o); }
|
|
@@ -18997,7 +19002,7 @@ function transaction_builder_defineProperty(obj, key, value) { key = transaction
|
|
|
18997
19002
|
function transaction_builder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18998
19003
|
function transaction_builder_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, transaction_builder_toPropertyKey(descriptor.key), descriptor); } }
|
|
18999
19004
|
function transaction_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19000
|
-
function transaction_builder_toPropertyKey(t) { var i = transaction_builder_toPrimitive(t, "string"); return "symbol" == transaction_builder_typeof(i) ? i :
|
|
19005
|
+
function transaction_builder_toPropertyKey(t) { var i = transaction_builder_toPrimitive(t, "string"); return "symbol" == transaction_builder_typeof(i) ? i : i + ""; }
|
|
19001
19006
|
function transaction_builder_toPrimitive(t, r) { if ("object" != transaction_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19002
19007
|
|
|
19003
19008
|
|
|
@@ -19169,7 +19174,7 @@ var TransactionBuilder = /*#__PURE__*/function () {
|
|
|
19169
19174
|
*
|
|
19170
19175
|
* @todo This cannot clone {@link FeeBumpTransaction}s, yet.
|
|
19171
19176
|
*/
|
|
19172
|
-
transaction_builder_createClass(TransactionBuilder, [{
|
|
19177
|
+
return transaction_builder_createClass(TransactionBuilder, [{
|
|
19173
19178
|
key: "addOperation",
|
|
19174
19179
|
value:
|
|
19175
19180
|
/**
|
|
@@ -19718,7 +19723,6 @@ var TransactionBuilder = /*#__PURE__*/function () {
|
|
|
19718
19723
|
return new Transaction(envelope, networkPassphrase);
|
|
19719
19724
|
}
|
|
19720
19725
|
}]);
|
|
19721
|
-
return TransactionBuilder;
|
|
19722
19726
|
}();
|
|
19723
19727
|
|
|
19724
19728
|
/**
|
|
@@ -19759,14 +19763,14 @@ function soroban_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
19759
19763
|
function soroban_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19760
19764
|
function soroban_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, soroban_toPropertyKey(descriptor.key), descriptor); } }
|
|
19761
19765
|
function soroban_createClass(Constructor, protoProps, staticProps) { if (protoProps) soroban_defineProperties(Constructor.prototype, protoProps); if (staticProps) soroban_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19762
|
-
function soroban_toPropertyKey(t) { var i = soroban_toPrimitive(t, "string"); return "symbol" == soroban_typeof(i) ? i :
|
|
19766
|
+
function soroban_toPropertyKey(t) { var i = soroban_toPrimitive(t, "string"); return "symbol" == soroban_typeof(i) ? i : i + ""; }
|
|
19763
19767
|
function soroban_toPrimitive(t, r) { if ("object" != soroban_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != soroban_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19764
19768
|
/* Helper class to assist with formatting and parsing token amounts. */
|
|
19765
19769
|
var Soroban = /*#__PURE__*/function () {
|
|
19766
19770
|
function Soroban() {
|
|
19767
19771
|
soroban_classCallCheck(this, Soroban);
|
|
19768
19772
|
}
|
|
19769
|
-
soroban_createClass(Soroban, null, [{
|
|
19773
|
+
return soroban_createClass(Soroban, null, [{
|
|
19770
19774
|
key: "formatTokenAmount",
|
|
19771
19775
|
value:
|
|
19772
19776
|
/**
|
|
@@ -19837,14 +19841,13 @@ var Soroban = /*#__PURE__*/function () {
|
|
|
19837
19841
|
return shifted.toString();
|
|
19838
19842
|
}
|
|
19839
19843
|
}]);
|
|
19840
|
-
return Soroban;
|
|
19841
19844
|
}();
|
|
19842
19845
|
;// CONCATENATED MODULE: ./src/contract.js
|
|
19843
19846
|
function contract_typeof(o) { "@babel/helpers - typeof"; return contract_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, contract_typeof(o); }
|
|
19844
19847
|
function contract_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19845
19848
|
function contract_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, contract_toPropertyKey(descriptor.key), descriptor); } }
|
|
19846
19849
|
function contract_createClass(Constructor, protoProps, staticProps) { if (protoProps) contract_defineProperties(Constructor.prototype, protoProps); if (staticProps) contract_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19847
|
-
function contract_toPropertyKey(t) { var i = contract_toPrimitive(t, "string"); return "symbol" == contract_typeof(i) ? i :
|
|
19850
|
+
function contract_toPropertyKey(t) { var i = contract_toPrimitive(t, "string"); return "symbol" == contract_typeof(i) ? i : i + ""; }
|
|
19848
19851
|
function contract_toPrimitive(t, r) { if ("object" != contract_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != contract_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19849
19852
|
|
|
19850
19853
|
|
|
@@ -19880,7 +19883,7 @@ var Contract = /*#__PURE__*/function () {
|
|
|
19880
19883
|
* `CA3D5KRYM6CB7OWQ6TWYRR3Z4T7GNZLKERYNZGGA5SOAOPIFY6YQGAXE`.
|
|
19881
19884
|
* @returns {string}
|
|
19882
19885
|
*/
|
|
19883
|
-
contract_createClass(Contract, [{
|
|
19886
|
+
return contract_createClass(Contract, [{
|
|
19884
19887
|
key: "contractId",
|
|
19885
19888
|
value: function contractId() {
|
|
19886
19889
|
return StrKey.encodeContract(this._id);
|
|
@@ -19945,14 +19948,13 @@ var Contract = /*#__PURE__*/function () {
|
|
|
19945
19948
|
}));
|
|
19946
19949
|
}
|
|
19947
19950
|
}]);
|
|
19948
|
-
return Contract;
|
|
19949
19951
|
}();
|
|
19950
19952
|
;// CONCATENATED MODULE: ./src/numbers/uint128.js
|
|
19951
19953
|
function uint128_typeof(o) { "@babel/helpers - typeof"; return uint128_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, uint128_typeof(o); }
|
|
19952
19954
|
function uint128_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19953
19955
|
function uint128_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, uint128_toPropertyKey(descriptor.key), descriptor); } }
|
|
19954
19956
|
function uint128_createClass(Constructor, protoProps, staticProps) { if (protoProps) uint128_defineProperties(Constructor.prototype, protoProps); if (staticProps) uint128_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19955
|
-
function uint128_toPropertyKey(t) { var i = uint128_toPrimitive(t, "string"); return "symbol" == uint128_typeof(i) ? i :
|
|
19957
|
+
function uint128_toPropertyKey(t) { var i = uint128_toPrimitive(t, "string"); return "symbol" == uint128_typeof(i) ? i : i + ""; }
|
|
19956
19958
|
function uint128_toPrimitive(t, r) { if ("object" != uint128_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != uint128_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19957
19959
|
function uint128_callSuper(t, o, e) { return o = uint128_getPrototypeOf(o), uint128_possibleConstructorReturn(t, uint128_isNativeReflectConstruct() ? Reflect.construct(o, e || [], uint128_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
19958
19960
|
function uint128_possibleConstructorReturn(self, call) { if (call && (uint128_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return uint128_assertThisInitialized(self); }
|
|
@@ -19963,7 +19965,6 @@ function uint128_inherits(subClass, superClass) { if (typeof superClass !== "fun
|
|
|
19963
19965
|
function uint128_setPrototypeOf(o, p) { uint128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint128_setPrototypeOf(o, p); }
|
|
19964
19966
|
|
|
19965
19967
|
var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
19966
|
-
uint128_inherits(Uint128, _LargeInt);
|
|
19967
19968
|
/**
|
|
19968
19969
|
* Construct an unsigned 128-bit integer that can be XDR-encoded.
|
|
19969
19970
|
*
|
|
@@ -19977,7 +19978,8 @@ var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
19977
19978
|
}
|
|
19978
19979
|
return uint128_callSuper(this, Uint128, [args]);
|
|
19979
19980
|
}
|
|
19980
|
-
|
|
19981
|
+
uint128_inherits(Uint128, _LargeInt);
|
|
19982
|
+
return uint128_createClass(Uint128, [{
|
|
19981
19983
|
key: "unsigned",
|
|
19982
19984
|
get: function get() {
|
|
19983
19985
|
return true;
|
|
@@ -19988,7 +19990,6 @@ var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
19988
19990
|
return 128;
|
|
19989
19991
|
}
|
|
19990
19992
|
}]);
|
|
19991
|
-
return Uint128;
|
|
19992
19993
|
}(xdr.LargeInt);
|
|
19993
19994
|
Uint128.defineIntBoundaries();
|
|
19994
19995
|
;// CONCATENATED MODULE: ./src/numbers/uint256.js
|
|
@@ -19996,7 +19997,7 @@ function uint256_typeof(o) { "@babel/helpers - typeof"; return uint256_typeof =
|
|
|
19996
19997
|
function uint256_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19997
19998
|
function uint256_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, uint256_toPropertyKey(descriptor.key), descriptor); } }
|
|
19998
19999
|
function uint256_createClass(Constructor, protoProps, staticProps) { if (protoProps) uint256_defineProperties(Constructor.prototype, protoProps); if (staticProps) uint256_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19999
|
-
function uint256_toPropertyKey(t) { var i = uint256_toPrimitive(t, "string"); return "symbol" == uint256_typeof(i) ? i :
|
|
20000
|
+
function uint256_toPropertyKey(t) { var i = uint256_toPrimitive(t, "string"); return "symbol" == uint256_typeof(i) ? i : i + ""; }
|
|
20000
20001
|
function uint256_toPrimitive(t, r) { if ("object" != uint256_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != uint256_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20001
20002
|
function uint256_callSuper(t, o, e) { return o = uint256_getPrototypeOf(o), uint256_possibleConstructorReturn(t, uint256_isNativeReflectConstruct() ? Reflect.construct(o, e || [], uint256_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20002
20003
|
function uint256_possibleConstructorReturn(self, call) { if (call && (uint256_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return uint256_assertThisInitialized(self); }
|
|
@@ -20007,7 +20008,6 @@ function uint256_inherits(subClass, superClass) { if (typeof superClass !== "fun
|
|
|
20007
20008
|
function uint256_setPrototypeOf(o, p) { uint256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint256_setPrototypeOf(o, p); }
|
|
20008
20009
|
|
|
20009
20010
|
var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
20010
|
-
uint256_inherits(Uint256, _LargeInt);
|
|
20011
20011
|
/**
|
|
20012
20012
|
* Construct an unsigned 256-bit integer that can be XDR-encoded.
|
|
20013
20013
|
*
|
|
@@ -20021,7 +20021,8 @@ var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20021
20021
|
}
|
|
20022
20022
|
return uint256_callSuper(this, Uint256, [args]);
|
|
20023
20023
|
}
|
|
20024
|
-
|
|
20024
|
+
uint256_inherits(Uint256, _LargeInt);
|
|
20025
|
+
return uint256_createClass(Uint256, [{
|
|
20025
20026
|
key: "unsigned",
|
|
20026
20027
|
get: function get() {
|
|
20027
20028
|
return true;
|
|
@@ -20032,7 +20033,6 @@ var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20032
20033
|
return 256;
|
|
20033
20034
|
}
|
|
20034
20035
|
}]);
|
|
20035
|
-
return Uint256;
|
|
20036
20036
|
}(xdr.LargeInt);
|
|
20037
20037
|
Uint256.defineIntBoundaries();
|
|
20038
20038
|
;// CONCATENATED MODULE: ./src/numbers/int128.js
|
|
@@ -20040,7 +20040,7 @@ function int128_typeof(o) { "@babel/helpers - typeof"; return int128_typeof = "f
|
|
|
20040
20040
|
function int128_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20041
20041
|
function int128_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, int128_toPropertyKey(descriptor.key), descriptor); } }
|
|
20042
20042
|
function int128_createClass(Constructor, protoProps, staticProps) { if (protoProps) int128_defineProperties(Constructor.prototype, protoProps); if (staticProps) int128_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20043
|
-
function int128_toPropertyKey(t) { var i = int128_toPrimitive(t, "string"); return "symbol" == int128_typeof(i) ? i :
|
|
20043
|
+
function int128_toPropertyKey(t) { var i = int128_toPrimitive(t, "string"); return "symbol" == int128_typeof(i) ? i : i + ""; }
|
|
20044
20044
|
function int128_toPrimitive(t, r) { if ("object" != int128_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != int128_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20045
20045
|
function int128_callSuper(t, o, e) { return o = int128_getPrototypeOf(o), int128_possibleConstructorReturn(t, int128_isNativeReflectConstruct() ? Reflect.construct(o, e || [], int128_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20046
20046
|
function int128_possibleConstructorReturn(self, call) { if (call && (int128_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return int128_assertThisInitialized(self); }
|
|
@@ -20051,7 +20051,6 @@ function int128_inherits(subClass, superClass) { if (typeof superClass !== "func
|
|
|
20051
20051
|
function int128_setPrototypeOf(o, p) { int128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int128_setPrototypeOf(o, p); }
|
|
20052
20052
|
|
|
20053
20053
|
var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
20054
|
-
int128_inherits(Int128, _LargeInt);
|
|
20055
20054
|
/**
|
|
20056
20055
|
* Construct a signed 128-bit integer that can be XDR-encoded.
|
|
20057
20056
|
*
|
|
@@ -20065,7 +20064,8 @@ var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20065
20064
|
}
|
|
20066
20065
|
return int128_callSuper(this, Int128, [args]);
|
|
20067
20066
|
}
|
|
20068
|
-
|
|
20067
|
+
int128_inherits(Int128, _LargeInt);
|
|
20068
|
+
return int128_createClass(Int128, [{
|
|
20069
20069
|
key: "unsigned",
|
|
20070
20070
|
get: function get() {
|
|
20071
20071
|
return false;
|
|
@@ -20076,7 +20076,6 @@ var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20076
20076
|
return 128;
|
|
20077
20077
|
}
|
|
20078
20078
|
}]);
|
|
20079
|
-
return Int128;
|
|
20080
20079
|
}(xdr.LargeInt);
|
|
20081
20080
|
Int128.defineIntBoundaries();
|
|
20082
20081
|
;// CONCATENATED MODULE: ./src/numbers/int256.js
|
|
@@ -20084,7 +20083,7 @@ function int256_typeof(o) { "@babel/helpers - typeof"; return int256_typeof = "f
|
|
|
20084
20083
|
function int256_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20085
20084
|
function int256_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, int256_toPropertyKey(descriptor.key), descriptor); } }
|
|
20086
20085
|
function int256_createClass(Constructor, protoProps, staticProps) { if (protoProps) int256_defineProperties(Constructor.prototype, protoProps); if (staticProps) int256_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20087
|
-
function int256_toPropertyKey(t) { var i = int256_toPrimitive(t, "string"); return "symbol" == int256_typeof(i) ? i :
|
|
20086
|
+
function int256_toPropertyKey(t) { var i = int256_toPrimitive(t, "string"); return "symbol" == int256_typeof(i) ? i : i + ""; }
|
|
20088
20087
|
function int256_toPrimitive(t, r) { if ("object" != int256_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != int256_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20089
20088
|
function int256_callSuper(t, o, e) { return o = int256_getPrototypeOf(o), int256_possibleConstructorReturn(t, int256_isNativeReflectConstruct() ? Reflect.construct(o, e || [], int256_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20090
20089
|
function int256_possibleConstructorReturn(self, call) { if (call && (int256_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return int256_assertThisInitialized(self); }
|
|
@@ -20095,7 +20094,6 @@ function int256_inherits(subClass, superClass) { if (typeof superClass !== "func
|
|
|
20095
20094
|
function int256_setPrototypeOf(o, p) { int256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int256_setPrototypeOf(o, p); }
|
|
20096
20095
|
|
|
20097
20096
|
var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
20098
|
-
int256_inherits(Int256, _LargeInt);
|
|
20099
20097
|
/**
|
|
20100
20098
|
* Construct a signed 256-bit integer that can be XDR-encoded.
|
|
20101
20099
|
*
|
|
@@ -20109,7 +20107,8 @@ var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20109
20107
|
}
|
|
20110
20108
|
return int256_callSuper(this, Int256, [args]);
|
|
20111
20109
|
}
|
|
20112
|
-
|
|
20110
|
+
int256_inherits(Int256, _LargeInt);
|
|
20111
|
+
return int256_createClass(Int256, [{
|
|
20113
20112
|
key: "unsigned",
|
|
20114
20113
|
get: function get() {
|
|
20115
20114
|
return false;
|
|
@@ -20120,7 +20119,6 @@ var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20120
20119
|
return 256;
|
|
20121
20120
|
}
|
|
20122
20121
|
}]);
|
|
20123
|
-
return Int256;
|
|
20124
20122
|
}(xdr.LargeInt);
|
|
20125
20123
|
Int256.defineIntBoundaries();
|
|
20126
20124
|
;// CONCATENATED MODULE: ./src/numbers/xdr_large_int.js
|
|
@@ -20129,7 +20127,7 @@ function xdr_large_int_classCallCheck(instance, Constructor) { if (!(instance in
|
|
|
20129
20127
|
function xdr_large_int_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, xdr_large_int_toPropertyKey(descriptor.key), descriptor); } }
|
|
20130
20128
|
function xdr_large_int_createClass(Constructor, protoProps, staticProps) { if (protoProps) xdr_large_int_defineProperties(Constructor.prototype, protoProps); if (staticProps) xdr_large_int_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20131
20129
|
function xdr_large_int_defineProperty(obj, key, value) { key = xdr_large_int_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20132
|
-
function xdr_large_int_toPropertyKey(t) { var i = xdr_large_int_toPrimitive(t, "string"); return "symbol" == xdr_large_int_typeof(i) ? i :
|
|
20130
|
+
function xdr_large_int_toPropertyKey(t) { var i = xdr_large_int_toPrimitive(t, "string"); return "symbol" == xdr_large_int_typeof(i) ? i : i + ""; }
|
|
20133
20131
|
function xdr_large_int_toPrimitive(t, r) { if ("object" != xdr_large_int_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != xdr_large_int_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20134
20132
|
/* eslint no-bitwise: ["error", {"allow": [">>"]}] */
|
|
20135
20133
|
|
|
@@ -20204,7 +20202,7 @@ var XdrLargeInt = /*#__PURE__*/function () {
|
|
|
20204
20202
|
* @returns {number}
|
|
20205
20203
|
* @throws {RangeError} if the value can't fit into a Number
|
|
20206
20204
|
*/
|
|
20207
|
-
xdr_large_int_createClass(XdrLargeInt, [{
|
|
20205
|
+
return xdr_large_int_createClass(XdrLargeInt, [{
|
|
20208
20206
|
key: "toNumber",
|
|
20209
20207
|
value: function toNumber() {
|
|
20210
20208
|
var bi = this["int"].toBigInt();
|
|
@@ -20384,13 +20382,12 @@ var XdrLargeInt = /*#__PURE__*/function () {
|
|
|
20384
20382
|
return scvType.slice(3).toLowerCase();
|
|
20385
20383
|
}
|
|
20386
20384
|
}]);
|
|
20387
|
-
return XdrLargeInt;
|
|
20388
20385
|
}();
|
|
20389
20386
|
;// CONCATENATED MODULE: ./src/numbers/sc_int.js
|
|
20390
20387
|
function sc_int_typeof(o) { "@babel/helpers - typeof"; return sc_int_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, sc_int_typeof(o); }
|
|
20391
20388
|
function sc_int_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, sc_int_toPropertyKey(descriptor.key), descriptor); } }
|
|
20392
20389
|
function sc_int_createClass(Constructor, protoProps, staticProps) { if (protoProps) sc_int_defineProperties(Constructor.prototype, protoProps); if (staticProps) sc_int_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20393
|
-
function sc_int_toPropertyKey(t) { var i = sc_int_toPrimitive(t, "string"); return "symbol" == sc_int_typeof(i) ? i :
|
|
20390
|
+
function sc_int_toPropertyKey(t) { var i = sc_int_toPrimitive(t, "string"); return "symbol" == sc_int_typeof(i) ? i : i + ""; }
|
|
20394
20391
|
function sc_int_toPrimitive(t, r) { if ("object" != sc_int_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sc_int_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20395
20392
|
function sc_int_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20396
20393
|
function sc_int_callSuper(t, o, e) { return o = sc_int_getPrototypeOf(o), sc_int_possibleConstructorReturn(t, sc_int_isNativeReflectConstruct() ? Reflect.construct(o, e || [], sc_int_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
@@ -20474,7 +20471,6 @@ function sc_int_setPrototypeOf(o, p) { sc_int_setPrototypeOf = Object.setPrototy
|
|
|
20474
20471
|
* @throws {SyntaxError} if a string `value` can't be parsed as a big integer
|
|
20475
20472
|
*/
|
|
20476
20473
|
var ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
20477
|
-
sc_int_inherits(ScInt, _XdrLargeInt);
|
|
20478
20474
|
function ScInt(value, opts) {
|
|
20479
20475
|
var _opts$type;
|
|
20480
20476
|
sc_int_classCallCheck(this, ScInt);
|
|
@@ -20501,6 +20497,7 @@ var ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
|
20501
20497
|
}
|
|
20502
20498
|
return sc_int_callSuper(this, ScInt, [type, value]);
|
|
20503
20499
|
}
|
|
20500
|
+
sc_int_inherits(ScInt, _XdrLargeInt);
|
|
20504
20501
|
return sc_int_createClass(ScInt);
|
|
20505
20502
|
}(XdrLargeInt);
|
|
20506
20503
|
function nearestBigIntSize(bigI) {
|
|
@@ -20560,7 +20557,7 @@ function scValToBigInt(scv) {
|
|
|
20560
20557
|
}
|
|
20561
20558
|
}
|
|
20562
20559
|
;// CONCATENATED MODULE: ./src/scval.js
|
|
20563
|
-
/* provided dependency */ var scval_Buffer = __webpack_require__(
|
|
20560
|
+
/* provided dependency */ var scval_Buffer = __webpack_require__(3626)["A"];
|
|
20564
20561
|
function scval_slicedToArray(arr, i) { return scval_arrayWithHoles(arr) || scval_iterableToArrayLimit(arr, i) || scval_unsupportedIterableToArray(arr, i) || scval_nonIterableRest(); }
|
|
20565
20562
|
function scval_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20566
20563
|
function scval_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return scval_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return scval_arrayLikeToArray(o, minLen); }
|
|
@@ -20933,7 +20930,7 @@ function events_typeof(o) { "@babel/helpers - typeof"; return events_typeof = "f
|
|
|
20933
20930
|
function events_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20934
20931
|
function events_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? events_ownKeys(Object(t), !0).forEach(function (r) { events_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : events_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20935
20932
|
function events_defineProperty(obj, key, value) { key = events_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20936
|
-
function events_toPropertyKey(t) { var i = events_toPrimitive(t, "string"); return "symbol" == events_typeof(i) ? i :
|
|
20933
|
+
function events_toPropertyKey(t) { var i = events_toPrimitive(t, "string"); return "symbol" == events_typeof(i) ? i : i + ""; }
|
|
20937
20934
|
function events_toPrimitive(t, r) { if ("object" != events_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != events_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20938
20935
|
|
|
20939
20936
|
|
|
@@ -20973,9 +20970,9 @@ function extractEvent(event) {
|
|
|
20973
20970
|
});
|
|
20974
20971
|
}
|
|
20975
20972
|
;// CONCATENATED MODULE: ./src/auth.js
|
|
20976
|
-
/* provided dependency */ var auth_Buffer = __webpack_require__(
|
|
20973
|
+
/* provided dependency */ var auth_Buffer = __webpack_require__(3626)["A"];
|
|
20977
20974
|
function auth_typeof(o) { "@babel/helpers - typeof"; return auth_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, auth_typeof(o); }
|
|
20978
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == auth_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw
|
|
20975
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == auth_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(auth_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
20979
20976
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
20980
20977
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
20981
20978
|
|
|
@@ -21461,7 +21458,7 @@ function walkHelper(node, depth, callback, parent) {
|
|
|
21461
21458
|
|
|
21462
21459
|
/***/ }),
|
|
21463
21460
|
|
|
21464
|
-
/***/
|
|
21461
|
+
/***/ 5360:
|
|
21465
21462
|
/***/ ((__unused_webpack_module, exports) => {
|
|
21466
21463
|
|
|
21467
21464
|
"use strict";
|
|
@@ -21781,7 +21778,7 @@ exports.base32hex = base32hex;
|
|
|
21781
21778
|
|
|
21782
21779
|
/***/ }),
|
|
21783
21780
|
|
|
21784
|
-
/***/
|
|
21781
|
+
/***/ 7526:
|
|
21785
21782
|
/***/ ((__unused_webpack_module, exports) => {
|
|
21786
21783
|
|
|
21787
21784
|
"use strict";
|
|
@@ -21939,11 +21936,11 @@ function fromByteArray (uint8) {
|
|
|
21939
21936
|
|
|
21940
21937
|
/***/ }),
|
|
21941
21938
|
|
|
21942
|
-
/***/
|
|
21939
|
+
/***/ 8287:
|
|
21943
21940
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
21944
21941
|
|
|
21945
21942
|
"use strict";
|
|
21946
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
21943
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
21947
21944
|
/*!
|
|
21948
21945
|
* The buffer module from node.js, for the browser.
|
|
21949
21946
|
*
|
|
@@ -21954,8 +21951,8 @@ function fromByteArray (uint8) {
|
|
|
21954
21951
|
|
|
21955
21952
|
|
|
21956
21953
|
|
|
21957
|
-
const base64 = __webpack_require__(
|
|
21958
|
-
const ieee754 = __webpack_require__(
|
|
21954
|
+
const base64 = __webpack_require__(7526)
|
|
21955
|
+
const ieee754 = __webpack_require__(251)
|
|
21959
21956
|
const customInspectSymbol =
|
|
21960
21957
|
(typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
|
|
21961
21958
|
? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
|
|
@@ -24054,15 +24051,15 @@ function BufferBigIntNotDefined () {
|
|
|
24054
24051
|
|
|
24055
24052
|
/***/ }),
|
|
24056
24053
|
|
|
24057
|
-
/***/
|
|
24054
|
+
/***/ 8075:
|
|
24058
24055
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24059
24056
|
|
|
24060
24057
|
"use strict";
|
|
24061
24058
|
|
|
24062
24059
|
|
|
24063
|
-
var GetIntrinsic = __webpack_require__(
|
|
24060
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24064
24061
|
|
|
24065
|
-
var callBind = __webpack_require__(
|
|
24062
|
+
var callBind = __webpack_require__(487);
|
|
24066
24063
|
|
|
24067
24064
|
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
24068
24065
|
|
|
@@ -24077,33 +24074,24 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
24077
24074
|
|
|
24078
24075
|
/***/ }),
|
|
24079
24076
|
|
|
24080
|
-
/***/
|
|
24077
|
+
/***/ 487:
|
|
24081
24078
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24082
24079
|
|
|
24083
24080
|
"use strict";
|
|
24084
24081
|
|
|
24085
24082
|
|
|
24086
|
-
var bind = __webpack_require__(
|
|
24087
|
-
var GetIntrinsic = __webpack_require__(
|
|
24088
|
-
var setFunctionLength = __webpack_require__(
|
|
24083
|
+
var bind = __webpack_require__(6743);
|
|
24084
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24085
|
+
var setFunctionLength = __webpack_require__(6897);
|
|
24089
24086
|
|
|
24090
|
-
var $TypeError = __webpack_require__(
|
|
24087
|
+
var $TypeError = __webpack_require__(9675);
|
|
24091
24088
|
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
24092
24089
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
24093
24090
|
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
24094
24091
|
|
|
24095
|
-
var $defineProperty =
|
|
24092
|
+
var $defineProperty = __webpack_require__(655);
|
|
24096
24093
|
var $max = GetIntrinsic('%Math.max%');
|
|
24097
24094
|
|
|
24098
|
-
if ($defineProperty) {
|
|
24099
|
-
try {
|
|
24100
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
24101
|
-
} catch (e) {
|
|
24102
|
-
// IE 8 has a broken defineProperty
|
|
24103
|
-
$defineProperty = null;
|
|
24104
|
-
}
|
|
24105
|
-
}
|
|
24106
|
-
|
|
24107
24095
|
module.exports = function callBind(originalFunction) {
|
|
24108
24096
|
if (typeof originalFunction !== 'function') {
|
|
24109
24097
|
throw new $TypeError('a function is required');
|
|
@@ -24129,12 +24117,12 @@ if ($defineProperty) {
|
|
|
24129
24117
|
|
|
24130
24118
|
/***/ }),
|
|
24131
24119
|
|
|
24132
|
-
/***/
|
|
24120
|
+
/***/ 6763:
|
|
24133
24121
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24134
24122
|
|
|
24135
24123
|
/*global window, global*/
|
|
24136
|
-
var util = __webpack_require__(
|
|
24137
|
-
var assert = __webpack_require__(
|
|
24124
|
+
var util = __webpack_require__(537)
|
|
24125
|
+
var assert = __webpack_require__(4148)
|
|
24138
24126
|
function now() { return new Date().getTime() }
|
|
24139
24127
|
|
|
24140
24128
|
var slice = Array.prototype.slice
|
|
@@ -24223,30 +24211,18 @@ function consoleAssert(expression) {
|
|
|
24223
24211
|
|
|
24224
24212
|
/***/ }),
|
|
24225
24213
|
|
|
24226
|
-
/***/
|
|
24214
|
+
/***/ 41:
|
|
24227
24215
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24228
24216
|
|
|
24229
24217
|
"use strict";
|
|
24230
24218
|
|
|
24231
24219
|
|
|
24232
|
-
var
|
|
24233
|
-
|
|
24234
|
-
var GetIntrinsic = __webpack_require__(6604);
|
|
24235
|
-
|
|
24236
|
-
var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
|
|
24237
|
-
if ($defineProperty) {
|
|
24238
|
-
try {
|
|
24239
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
24240
|
-
} catch (e) {
|
|
24241
|
-
// IE 8 has a broken defineProperty
|
|
24242
|
-
$defineProperty = false;
|
|
24243
|
-
}
|
|
24244
|
-
}
|
|
24220
|
+
var $defineProperty = __webpack_require__(655);
|
|
24245
24221
|
|
|
24246
|
-
var $SyntaxError = __webpack_require__(
|
|
24247
|
-
var $TypeError = __webpack_require__(
|
|
24222
|
+
var $SyntaxError = __webpack_require__(8068);
|
|
24223
|
+
var $TypeError = __webpack_require__(9675);
|
|
24248
24224
|
|
|
24249
|
-
var gopd = __webpack_require__(
|
|
24225
|
+
var gopd = __webpack_require__(5795);
|
|
24250
24226
|
|
|
24251
24227
|
/** @type {import('.')} */
|
|
24252
24228
|
module.exports = function defineDataProperty(
|
|
@@ -24299,24 +24275,24 @@ module.exports = function defineDataProperty(
|
|
|
24299
24275
|
|
|
24300
24276
|
/***/ }),
|
|
24301
24277
|
|
|
24302
|
-
/***/
|
|
24278
|
+
/***/ 8452:
|
|
24303
24279
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24304
24280
|
|
|
24305
24281
|
"use strict";
|
|
24306
24282
|
|
|
24307
24283
|
|
|
24308
|
-
var keys = __webpack_require__(
|
|
24284
|
+
var keys = __webpack_require__(1189);
|
|
24309
24285
|
var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
|
|
24310
24286
|
|
|
24311
24287
|
var toStr = Object.prototype.toString;
|
|
24312
24288
|
var concat = Array.prototype.concat;
|
|
24313
|
-
var defineDataProperty = __webpack_require__(
|
|
24289
|
+
var defineDataProperty = __webpack_require__(41);
|
|
24314
24290
|
|
|
24315
24291
|
var isFunction = function (fn) {
|
|
24316
24292
|
return typeof fn === 'function' && toStr.call(fn) === '[object Function]';
|
|
24317
24293
|
};
|
|
24318
24294
|
|
|
24319
|
-
var supportsDescriptors = __webpack_require__(
|
|
24295
|
+
var supportsDescriptors = __webpack_require__(592)();
|
|
24320
24296
|
|
|
24321
24297
|
var defineProperty = function (object, name, value, predicate) {
|
|
24322
24298
|
if (name in object) {
|
|
@@ -24354,7 +24330,31 @@ module.exports = defineProperties;
|
|
|
24354
24330
|
|
|
24355
24331
|
/***/ }),
|
|
24356
24332
|
|
|
24357
|
-
/***/
|
|
24333
|
+
/***/ 655:
|
|
24334
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24335
|
+
|
|
24336
|
+
"use strict";
|
|
24337
|
+
|
|
24338
|
+
|
|
24339
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24340
|
+
|
|
24341
|
+
/** @type {import('.')} */
|
|
24342
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
24343
|
+
if ($defineProperty) {
|
|
24344
|
+
try {
|
|
24345
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
24346
|
+
} catch (e) {
|
|
24347
|
+
// IE 8 has a broken defineProperty
|
|
24348
|
+
$defineProperty = false;
|
|
24349
|
+
}
|
|
24350
|
+
}
|
|
24351
|
+
|
|
24352
|
+
module.exports = $defineProperty;
|
|
24353
|
+
|
|
24354
|
+
|
|
24355
|
+
/***/ }),
|
|
24356
|
+
|
|
24357
|
+
/***/ 1237:
|
|
24358
24358
|
/***/ ((module) => {
|
|
24359
24359
|
|
|
24360
24360
|
"use strict";
|
|
@@ -24366,7 +24366,7 @@ module.exports = EvalError;
|
|
|
24366
24366
|
|
|
24367
24367
|
/***/ }),
|
|
24368
24368
|
|
|
24369
|
-
/***/
|
|
24369
|
+
/***/ 9383:
|
|
24370
24370
|
/***/ ((module) => {
|
|
24371
24371
|
|
|
24372
24372
|
"use strict";
|
|
@@ -24378,7 +24378,7 @@ module.exports = Error;
|
|
|
24378
24378
|
|
|
24379
24379
|
/***/ }),
|
|
24380
24380
|
|
|
24381
|
-
/***/
|
|
24381
|
+
/***/ 9290:
|
|
24382
24382
|
/***/ ((module) => {
|
|
24383
24383
|
|
|
24384
24384
|
"use strict";
|
|
@@ -24390,7 +24390,7 @@ module.exports = RangeError;
|
|
|
24390
24390
|
|
|
24391
24391
|
/***/ }),
|
|
24392
24392
|
|
|
24393
|
-
/***/
|
|
24393
|
+
/***/ 9538:
|
|
24394
24394
|
/***/ ((module) => {
|
|
24395
24395
|
|
|
24396
24396
|
"use strict";
|
|
@@ -24402,7 +24402,7 @@ module.exports = ReferenceError;
|
|
|
24402
24402
|
|
|
24403
24403
|
/***/ }),
|
|
24404
24404
|
|
|
24405
|
-
/***/
|
|
24405
|
+
/***/ 8068:
|
|
24406
24406
|
/***/ ((module) => {
|
|
24407
24407
|
|
|
24408
24408
|
"use strict";
|
|
@@ -24414,7 +24414,7 @@ module.exports = SyntaxError;
|
|
|
24414
24414
|
|
|
24415
24415
|
/***/ }),
|
|
24416
24416
|
|
|
24417
|
-
/***/
|
|
24417
|
+
/***/ 9675:
|
|
24418
24418
|
/***/ ((module) => {
|
|
24419
24419
|
|
|
24420
24420
|
"use strict";
|
|
@@ -24426,7 +24426,7 @@ module.exports = TypeError;
|
|
|
24426
24426
|
|
|
24427
24427
|
/***/ }),
|
|
24428
24428
|
|
|
24429
|
-
/***/
|
|
24429
|
+
/***/ 5345:
|
|
24430
24430
|
/***/ ((module) => {
|
|
24431
24431
|
|
|
24432
24432
|
"use strict";
|
|
@@ -24438,13 +24438,13 @@ module.exports = URIError;
|
|
|
24438
24438
|
|
|
24439
24439
|
/***/ }),
|
|
24440
24440
|
|
|
24441
|
-
/***/
|
|
24441
|
+
/***/ 2682:
|
|
24442
24442
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24443
24443
|
|
|
24444
24444
|
"use strict";
|
|
24445
24445
|
|
|
24446
24446
|
|
|
24447
|
-
var isCallable = __webpack_require__(
|
|
24447
|
+
var isCallable = __webpack_require__(9600);
|
|
24448
24448
|
|
|
24449
24449
|
var toStr = Object.prototype.toString;
|
|
24450
24450
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -24508,7 +24508,7 @@ module.exports = forEach;
|
|
|
24508
24508
|
|
|
24509
24509
|
/***/ }),
|
|
24510
24510
|
|
|
24511
|
-
/***/
|
|
24511
|
+
/***/ 9353:
|
|
24512
24512
|
/***/ ((module) => {
|
|
24513
24513
|
|
|
24514
24514
|
"use strict";
|
|
@@ -24600,20 +24600,20 @@ module.exports = function bind(that) {
|
|
|
24600
24600
|
|
|
24601
24601
|
/***/ }),
|
|
24602
24602
|
|
|
24603
|
-
/***/
|
|
24603
|
+
/***/ 6743:
|
|
24604
24604
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24605
24605
|
|
|
24606
24606
|
"use strict";
|
|
24607
24607
|
|
|
24608
24608
|
|
|
24609
|
-
var implementation = __webpack_require__(
|
|
24609
|
+
var implementation = __webpack_require__(9353);
|
|
24610
24610
|
|
|
24611
24611
|
module.exports = Function.prototype.bind || implementation;
|
|
24612
24612
|
|
|
24613
24613
|
|
|
24614
24614
|
/***/ }),
|
|
24615
24615
|
|
|
24616
|
-
/***/
|
|
24616
|
+
/***/ 453:
|
|
24617
24617
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24618
24618
|
|
|
24619
24619
|
"use strict";
|
|
@@ -24621,13 +24621,13 @@ module.exports = Function.prototype.bind || implementation;
|
|
|
24621
24621
|
|
|
24622
24622
|
var undefined;
|
|
24623
24623
|
|
|
24624
|
-
var $Error = __webpack_require__(
|
|
24625
|
-
var $EvalError = __webpack_require__(
|
|
24626
|
-
var $RangeError = __webpack_require__(
|
|
24627
|
-
var $ReferenceError = __webpack_require__(
|
|
24628
|
-
var $SyntaxError = __webpack_require__(
|
|
24629
|
-
var $TypeError = __webpack_require__(
|
|
24630
|
-
var $URIError = __webpack_require__(
|
|
24624
|
+
var $Error = __webpack_require__(9383);
|
|
24625
|
+
var $EvalError = __webpack_require__(1237);
|
|
24626
|
+
var $RangeError = __webpack_require__(9290);
|
|
24627
|
+
var $ReferenceError = __webpack_require__(9538);
|
|
24628
|
+
var $SyntaxError = __webpack_require__(8068);
|
|
24629
|
+
var $TypeError = __webpack_require__(9675);
|
|
24630
|
+
var $URIError = __webpack_require__(5345);
|
|
24631
24631
|
|
|
24632
24632
|
var $Function = Function;
|
|
24633
24633
|
|
|
@@ -24667,8 +24667,8 @@ var ThrowTypeError = $gOPD
|
|
|
24667
24667
|
}())
|
|
24668
24668
|
: throwTypeError;
|
|
24669
24669
|
|
|
24670
|
-
var hasSymbols = __webpack_require__(
|
|
24671
|
-
var hasProto = __webpack_require__(
|
|
24670
|
+
var hasSymbols = __webpack_require__(4039)();
|
|
24671
|
+
var hasProto = __webpack_require__(24)();
|
|
24672
24672
|
|
|
24673
24673
|
var getProto = Object.getPrototypeOf || (
|
|
24674
24674
|
hasProto
|
|
@@ -24840,8 +24840,8 @@ var LEGACY_ALIASES = {
|
|
|
24840
24840
|
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
24841
24841
|
};
|
|
24842
24842
|
|
|
24843
|
-
var bind = __webpack_require__(
|
|
24844
|
-
var hasOwn = __webpack_require__(
|
|
24843
|
+
var bind = __webpack_require__(6743);
|
|
24844
|
+
var hasOwn = __webpack_require__(9957);
|
|
24845
24845
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
24846
24846
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
24847
24847
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -24980,13 +24980,13 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
24980
24980
|
|
|
24981
24981
|
/***/ }),
|
|
24982
24982
|
|
|
24983
|
-
/***/
|
|
24983
|
+
/***/ 5795:
|
|
24984
24984
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24985
24985
|
|
|
24986
24986
|
"use strict";
|
|
24987
24987
|
|
|
24988
24988
|
|
|
24989
|
-
var GetIntrinsic = __webpack_require__(
|
|
24989
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
24990
24990
|
|
|
24991
24991
|
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
24992
24992
|
|
|
@@ -25004,32 +25004,21 @@ module.exports = $gOPD;
|
|
|
25004
25004
|
|
|
25005
25005
|
/***/ }),
|
|
25006
25006
|
|
|
25007
|
-
/***/
|
|
25007
|
+
/***/ 592:
|
|
25008
25008
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25009
25009
|
|
|
25010
25010
|
"use strict";
|
|
25011
25011
|
|
|
25012
25012
|
|
|
25013
|
-
var
|
|
25014
|
-
|
|
25015
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
25013
|
+
var $defineProperty = __webpack_require__(655);
|
|
25016
25014
|
|
|
25017
25015
|
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
25018
|
-
|
|
25019
|
-
try {
|
|
25020
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
25021
|
-
return true;
|
|
25022
|
-
} catch (e) {
|
|
25023
|
-
// IE 8 has a broken defineProperty
|
|
25024
|
-
return false;
|
|
25025
|
-
}
|
|
25026
|
-
}
|
|
25027
|
-
return false;
|
|
25016
|
+
return !!$defineProperty;
|
|
25028
25017
|
};
|
|
25029
25018
|
|
|
25030
25019
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
25031
25020
|
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
25032
|
-
if (
|
|
25021
|
+
if (!$defineProperty) {
|
|
25033
25022
|
return null;
|
|
25034
25023
|
}
|
|
25035
25024
|
try {
|
|
@@ -25045,33 +25034,37 @@ module.exports = hasPropertyDescriptors;
|
|
|
25045
25034
|
|
|
25046
25035
|
/***/ }),
|
|
25047
25036
|
|
|
25048
|
-
/***/
|
|
25037
|
+
/***/ 24:
|
|
25049
25038
|
/***/ ((module) => {
|
|
25050
25039
|
|
|
25051
25040
|
"use strict";
|
|
25052
25041
|
|
|
25053
25042
|
|
|
25054
25043
|
var test = {
|
|
25044
|
+
__proto__: null,
|
|
25055
25045
|
foo: {}
|
|
25056
25046
|
};
|
|
25057
25047
|
|
|
25058
25048
|
var $Object = Object;
|
|
25059
25049
|
|
|
25050
|
+
/** @type {import('.')} */
|
|
25060
25051
|
module.exports = function hasProto() {
|
|
25061
|
-
|
|
25052
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
25053
|
+
return { __proto__: test }.foo === test.foo
|
|
25054
|
+
&& !(test instanceof $Object);
|
|
25062
25055
|
};
|
|
25063
25056
|
|
|
25064
25057
|
|
|
25065
25058
|
/***/ }),
|
|
25066
25059
|
|
|
25067
|
-
/***/
|
|
25060
|
+
/***/ 4039:
|
|
25068
25061
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25069
25062
|
|
|
25070
25063
|
"use strict";
|
|
25071
25064
|
|
|
25072
25065
|
|
|
25073
25066
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
25074
|
-
var hasSymbolSham = __webpack_require__(
|
|
25067
|
+
var hasSymbolSham = __webpack_require__(1333);
|
|
25075
25068
|
|
|
25076
25069
|
module.exports = function hasNativeSymbols() {
|
|
25077
25070
|
if (typeof origSymbol !== 'function') { return false; }
|
|
@@ -25085,7 +25078,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
25085
25078
|
|
|
25086
25079
|
/***/ }),
|
|
25087
25080
|
|
|
25088
|
-
/***/
|
|
25081
|
+
/***/ 1333:
|
|
25089
25082
|
/***/ ((module) => {
|
|
25090
25083
|
|
|
25091
25084
|
"use strict";
|
|
@@ -25135,13 +25128,13 @@ module.exports = function hasSymbols() {
|
|
|
25135
25128
|
|
|
25136
25129
|
/***/ }),
|
|
25137
25130
|
|
|
25138
|
-
/***/
|
|
25131
|
+
/***/ 9092:
|
|
25139
25132
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25140
25133
|
|
|
25141
25134
|
"use strict";
|
|
25142
25135
|
|
|
25143
25136
|
|
|
25144
|
-
var hasSymbols = __webpack_require__(
|
|
25137
|
+
var hasSymbols = __webpack_require__(1333);
|
|
25145
25138
|
|
|
25146
25139
|
/** @type {import('.')} */
|
|
25147
25140
|
module.exports = function hasToStringTagShams() {
|
|
@@ -25151,7 +25144,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
25151
25144
|
|
|
25152
25145
|
/***/ }),
|
|
25153
25146
|
|
|
25154
|
-
/***/
|
|
25147
|
+
/***/ 9957:
|
|
25155
25148
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25156
25149
|
|
|
25157
25150
|
"use strict";
|
|
@@ -25159,7 +25152,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
25159
25152
|
|
|
25160
25153
|
var call = Function.prototype.call;
|
|
25161
25154
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
25162
|
-
var bind = __webpack_require__(
|
|
25155
|
+
var bind = __webpack_require__(6743);
|
|
25163
25156
|
|
|
25164
25157
|
/** @type {import('.')} */
|
|
25165
25158
|
module.exports = bind.call(call, $hasOwn);
|
|
@@ -25167,7 +25160,7 @@ module.exports = bind.call(call, $hasOwn);
|
|
|
25167
25160
|
|
|
25168
25161
|
/***/ }),
|
|
25169
25162
|
|
|
25170
|
-
/***/
|
|
25163
|
+
/***/ 251:
|
|
25171
25164
|
/***/ ((__unused_webpack_module, exports) => {
|
|
25172
25165
|
|
|
25173
25166
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
@@ -25259,7 +25252,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
25259
25252
|
|
|
25260
25253
|
/***/ }),
|
|
25261
25254
|
|
|
25262
|
-
/***/
|
|
25255
|
+
/***/ 6698:
|
|
25263
25256
|
/***/ ((module) => {
|
|
25264
25257
|
|
|
25265
25258
|
if (typeof Object.create === 'function') {
|
|
@@ -25293,14 +25286,14 @@ if (typeof Object.create === 'function') {
|
|
|
25293
25286
|
|
|
25294
25287
|
/***/ }),
|
|
25295
25288
|
|
|
25296
|
-
/***/
|
|
25289
|
+
/***/ 7244:
|
|
25297
25290
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25298
25291
|
|
|
25299
25292
|
"use strict";
|
|
25300
25293
|
|
|
25301
25294
|
|
|
25302
|
-
var hasToStringTag = __webpack_require__(
|
|
25303
|
-
var callBound = __webpack_require__(
|
|
25295
|
+
var hasToStringTag = __webpack_require__(9092)();
|
|
25296
|
+
var callBound = __webpack_require__(8075);
|
|
25304
25297
|
|
|
25305
25298
|
var $toString = callBound('Object.prototype.toString');
|
|
25306
25299
|
|
|
@@ -25334,7 +25327,7 @@ module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArgum
|
|
|
25334
25327
|
|
|
25335
25328
|
/***/ }),
|
|
25336
25329
|
|
|
25337
|
-
/***/
|
|
25330
|
+
/***/ 9600:
|
|
25338
25331
|
/***/ ((module) => {
|
|
25339
25332
|
|
|
25340
25333
|
"use strict";
|
|
@@ -25443,7 +25436,7 @@ module.exports = reflectApply
|
|
|
25443
25436
|
|
|
25444
25437
|
/***/ }),
|
|
25445
25438
|
|
|
25446
|
-
/***/
|
|
25439
|
+
/***/ 8184:
|
|
25447
25440
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25448
25441
|
|
|
25449
25442
|
"use strict";
|
|
@@ -25452,7 +25445,7 @@ module.exports = reflectApply
|
|
|
25452
25445
|
var toStr = Object.prototype.toString;
|
|
25453
25446
|
var fnToStr = Function.prototype.toString;
|
|
25454
25447
|
var isFnRegex = /^\s*(?:function)?\*/;
|
|
25455
|
-
var hasToStringTag = __webpack_require__(
|
|
25448
|
+
var hasToStringTag = __webpack_require__(9092)();
|
|
25456
25449
|
var getProto = Object.getPrototypeOf;
|
|
25457
25450
|
var getGeneratorFunc = function () { // eslint-disable-line consistent-return
|
|
25458
25451
|
if (!hasToStringTag) {
|
|
@@ -25489,7 +25482,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
25489
25482
|
|
|
25490
25483
|
/***/ }),
|
|
25491
25484
|
|
|
25492
|
-
/***/
|
|
25485
|
+
/***/ 3003:
|
|
25493
25486
|
/***/ ((module) => {
|
|
25494
25487
|
|
|
25495
25488
|
"use strict";
|
|
@@ -25504,18 +25497,18 @@ module.exports = function isNaN(value) {
|
|
|
25504
25497
|
|
|
25505
25498
|
/***/ }),
|
|
25506
25499
|
|
|
25507
|
-
/***/
|
|
25500
|
+
/***/ 4133:
|
|
25508
25501
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25509
25502
|
|
|
25510
25503
|
"use strict";
|
|
25511
25504
|
|
|
25512
25505
|
|
|
25513
|
-
var callBind = __webpack_require__(
|
|
25514
|
-
var define = __webpack_require__(
|
|
25506
|
+
var callBind = __webpack_require__(487);
|
|
25507
|
+
var define = __webpack_require__(8452);
|
|
25515
25508
|
|
|
25516
|
-
var implementation = __webpack_require__(
|
|
25517
|
-
var getPolyfill = __webpack_require__(
|
|
25518
|
-
var shim = __webpack_require__(
|
|
25509
|
+
var implementation = __webpack_require__(3003);
|
|
25510
|
+
var getPolyfill = __webpack_require__(6642);
|
|
25511
|
+
var shim = __webpack_require__(2464);
|
|
25519
25512
|
|
|
25520
25513
|
var polyfill = callBind(getPolyfill(), Number);
|
|
25521
25514
|
|
|
@@ -25532,13 +25525,13 @@ module.exports = polyfill;
|
|
|
25532
25525
|
|
|
25533
25526
|
/***/ }),
|
|
25534
25527
|
|
|
25535
|
-
/***/
|
|
25528
|
+
/***/ 6642:
|
|
25536
25529
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25537
25530
|
|
|
25538
25531
|
"use strict";
|
|
25539
25532
|
|
|
25540
25533
|
|
|
25541
|
-
var implementation = __webpack_require__(
|
|
25534
|
+
var implementation = __webpack_require__(3003);
|
|
25542
25535
|
|
|
25543
25536
|
module.exports = function getPolyfill() {
|
|
25544
25537
|
if (Number.isNaN && Number.isNaN(NaN) && !Number.isNaN('a')) {
|
|
@@ -25550,14 +25543,14 @@ module.exports = function getPolyfill() {
|
|
|
25550
25543
|
|
|
25551
25544
|
/***/ }),
|
|
25552
25545
|
|
|
25553
|
-
/***/
|
|
25546
|
+
/***/ 2464:
|
|
25554
25547
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25555
25548
|
|
|
25556
25549
|
"use strict";
|
|
25557
25550
|
|
|
25558
25551
|
|
|
25559
|
-
var define = __webpack_require__(
|
|
25560
|
-
var getPolyfill = __webpack_require__(
|
|
25552
|
+
var define = __webpack_require__(8452);
|
|
25553
|
+
var getPolyfill = __webpack_require__(6642);
|
|
25561
25554
|
|
|
25562
25555
|
/* http://www.ecma-international.org/ecma-262/6.0/#sec-number.isnan */
|
|
25563
25556
|
|
|
@@ -25574,13 +25567,13 @@ module.exports = function shimNumberIsNaN() {
|
|
|
25574
25567
|
|
|
25575
25568
|
/***/ }),
|
|
25576
25569
|
|
|
25577
|
-
/***/
|
|
25570
|
+
/***/ 5680:
|
|
25578
25571
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25579
25572
|
|
|
25580
25573
|
"use strict";
|
|
25581
25574
|
|
|
25582
25575
|
|
|
25583
|
-
var whichTypedArray = __webpack_require__(
|
|
25576
|
+
var whichTypedArray = __webpack_require__(5767);
|
|
25584
25577
|
|
|
25585
25578
|
/** @type {import('.')} */
|
|
25586
25579
|
module.exports = function isTypedArray(value) {
|
|
@@ -25590,7 +25583,7 @@ module.exports = function isTypedArray(value) {
|
|
|
25590
25583
|
|
|
25591
25584
|
/***/ }),
|
|
25592
25585
|
|
|
25593
|
-
/***/
|
|
25586
|
+
/***/ 9211:
|
|
25594
25587
|
/***/ ((module) => {
|
|
25595
25588
|
|
|
25596
25589
|
"use strict";
|
|
@@ -25617,18 +25610,18 @@ module.exports = function is(a, b) {
|
|
|
25617
25610
|
|
|
25618
25611
|
/***/ }),
|
|
25619
25612
|
|
|
25620
|
-
/***/
|
|
25613
|
+
/***/ 7653:
|
|
25621
25614
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25622
25615
|
|
|
25623
25616
|
"use strict";
|
|
25624
25617
|
|
|
25625
25618
|
|
|
25626
|
-
var define = __webpack_require__(
|
|
25627
|
-
var callBind = __webpack_require__(
|
|
25619
|
+
var define = __webpack_require__(8452);
|
|
25620
|
+
var callBind = __webpack_require__(487);
|
|
25628
25621
|
|
|
25629
|
-
var implementation = __webpack_require__(
|
|
25630
|
-
var getPolyfill = __webpack_require__(
|
|
25631
|
-
var shim = __webpack_require__(
|
|
25622
|
+
var implementation = __webpack_require__(9211);
|
|
25623
|
+
var getPolyfill = __webpack_require__(9394);
|
|
25624
|
+
var shim = __webpack_require__(6576);
|
|
25632
25625
|
|
|
25633
25626
|
var polyfill = callBind(getPolyfill(), Object);
|
|
25634
25627
|
|
|
@@ -25643,13 +25636,13 @@ module.exports = polyfill;
|
|
|
25643
25636
|
|
|
25644
25637
|
/***/ }),
|
|
25645
25638
|
|
|
25646
|
-
/***/
|
|
25639
|
+
/***/ 9394:
|
|
25647
25640
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25648
25641
|
|
|
25649
25642
|
"use strict";
|
|
25650
25643
|
|
|
25651
25644
|
|
|
25652
|
-
var implementation = __webpack_require__(
|
|
25645
|
+
var implementation = __webpack_require__(9211);
|
|
25653
25646
|
|
|
25654
25647
|
module.exports = function getPolyfill() {
|
|
25655
25648
|
return typeof Object.is === 'function' ? Object.is : implementation;
|
|
@@ -25658,14 +25651,14 @@ module.exports = function getPolyfill() {
|
|
|
25658
25651
|
|
|
25659
25652
|
/***/ }),
|
|
25660
25653
|
|
|
25661
|
-
/***/
|
|
25654
|
+
/***/ 6576:
|
|
25662
25655
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25663
25656
|
|
|
25664
25657
|
"use strict";
|
|
25665
25658
|
|
|
25666
25659
|
|
|
25667
|
-
var getPolyfill = __webpack_require__(
|
|
25668
|
-
var define = __webpack_require__(
|
|
25660
|
+
var getPolyfill = __webpack_require__(9394);
|
|
25661
|
+
var define = __webpack_require__(8452);
|
|
25669
25662
|
|
|
25670
25663
|
module.exports = function shimObjectIs() {
|
|
25671
25664
|
var polyfill = getPolyfill();
|
|
@@ -25680,7 +25673,7 @@ module.exports = function shimObjectIs() {
|
|
|
25680
25673
|
|
|
25681
25674
|
/***/ }),
|
|
25682
25675
|
|
|
25683
|
-
/***/
|
|
25676
|
+
/***/ 8875:
|
|
25684
25677
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25685
25678
|
|
|
25686
25679
|
"use strict";
|
|
@@ -25691,7 +25684,7 @@ if (!Object.keys) {
|
|
|
25691
25684
|
// modified from https://github.com/es-shims/es5-shim
|
|
25692
25685
|
var has = Object.prototype.hasOwnProperty;
|
|
25693
25686
|
var toStr = Object.prototype.toString;
|
|
25694
|
-
var isArgs = __webpack_require__(
|
|
25687
|
+
var isArgs = __webpack_require__(1093); // eslint-disable-line global-require
|
|
25695
25688
|
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
25696
25689
|
var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
|
|
25697
25690
|
var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');
|
|
@@ -25810,17 +25803,17 @@ module.exports = keysShim;
|
|
|
25810
25803
|
|
|
25811
25804
|
/***/ }),
|
|
25812
25805
|
|
|
25813
|
-
/***/
|
|
25806
|
+
/***/ 1189:
|
|
25814
25807
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25815
25808
|
|
|
25816
25809
|
"use strict";
|
|
25817
25810
|
|
|
25818
25811
|
|
|
25819
25812
|
var slice = Array.prototype.slice;
|
|
25820
|
-
var isArgs = __webpack_require__(
|
|
25813
|
+
var isArgs = __webpack_require__(1093);
|
|
25821
25814
|
|
|
25822
25815
|
var origKeys = Object.keys;
|
|
25823
|
-
var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(
|
|
25816
|
+
var keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(8875);
|
|
25824
25817
|
|
|
25825
25818
|
var originalKeys = Object.keys;
|
|
25826
25819
|
|
|
@@ -25850,7 +25843,7 @@ module.exports = keysShim;
|
|
|
25850
25843
|
|
|
25851
25844
|
/***/ }),
|
|
25852
25845
|
|
|
25853
|
-
/***/
|
|
25846
|
+
/***/ 1093:
|
|
25854
25847
|
/***/ ((module) => {
|
|
25855
25848
|
|
|
25856
25849
|
"use strict";
|
|
@@ -25875,16 +25868,16 @@ module.exports = function isArguments(value) {
|
|
|
25875
25868
|
|
|
25876
25869
|
/***/ }),
|
|
25877
25870
|
|
|
25878
|
-
/***/
|
|
25871
|
+
/***/ 8403:
|
|
25879
25872
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25880
25873
|
|
|
25881
25874
|
"use strict";
|
|
25882
25875
|
|
|
25883
25876
|
|
|
25884
25877
|
// modified from https://github.com/es-shims/es6-shim
|
|
25885
|
-
var objectKeys = __webpack_require__(
|
|
25886
|
-
var hasSymbols = __webpack_require__(
|
|
25887
|
-
var callBound = __webpack_require__(
|
|
25878
|
+
var objectKeys = __webpack_require__(1189);
|
|
25879
|
+
var hasSymbols = __webpack_require__(1333)();
|
|
25880
|
+
var callBound = __webpack_require__(8075);
|
|
25888
25881
|
var toObject = Object;
|
|
25889
25882
|
var $push = callBound('Array.prototype.push');
|
|
25890
25883
|
var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
|
|
@@ -25929,13 +25922,13 @@ module.exports = function assign(target, source1) {
|
|
|
25929
25922
|
|
|
25930
25923
|
/***/ }),
|
|
25931
25924
|
|
|
25932
|
-
/***/
|
|
25925
|
+
/***/ 1514:
|
|
25933
25926
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25934
25927
|
|
|
25935
25928
|
"use strict";
|
|
25936
25929
|
|
|
25937
25930
|
|
|
25938
|
-
var implementation = __webpack_require__(
|
|
25931
|
+
var implementation = __webpack_require__(8403);
|
|
25939
25932
|
|
|
25940
25933
|
var lacksProperEnumerationOrder = function () {
|
|
25941
25934
|
if (!Object.assign) {
|
|
@@ -25992,7 +25985,31 @@ module.exports = function getPolyfill() {
|
|
|
25992
25985
|
|
|
25993
25986
|
/***/ }),
|
|
25994
25987
|
|
|
25995
|
-
/***/
|
|
25988
|
+
/***/ 6578:
|
|
25989
|
+
/***/ ((module) => {
|
|
25990
|
+
|
|
25991
|
+
"use strict";
|
|
25992
|
+
|
|
25993
|
+
|
|
25994
|
+
/** @type {import('.')} */
|
|
25995
|
+
module.exports = [
|
|
25996
|
+
'Float32Array',
|
|
25997
|
+
'Float64Array',
|
|
25998
|
+
'Int8Array',
|
|
25999
|
+
'Int16Array',
|
|
26000
|
+
'Int32Array',
|
|
26001
|
+
'Uint8Array',
|
|
26002
|
+
'Uint8ClampedArray',
|
|
26003
|
+
'Uint16Array',
|
|
26004
|
+
'Uint32Array',
|
|
26005
|
+
'BigInt64Array',
|
|
26006
|
+
'BigUint64Array'
|
|
26007
|
+
];
|
|
26008
|
+
|
|
26009
|
+
|
|
26010
|
+
/***/ }),
|
|
26011
|
+
|
|
26012
|
+
/***/ 5606:
|
|
25996
26013
|
/***/ ((module) => {
|
|
25997
26014
|
|
|
25998
26015
|
// shim for using process in browser
|
|
@@ -26183,12 +26200,12 @@ process.umask = function() { return 0; };
|
|
|
26183
26200
|
|
|
26184
26201
|
/***/ }),
|
|
26185
26202
|
|
|
26186
|
-
/***/
|
|
26203
|
+
/***/ 2861:
|
|
26187
26204
|
/***/ ((module, exports, __webpack_require__) => {
|
|
26188
26205
|
|
|
26189
26206
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
26190
26207
|
/* eslint-disable node/no-deprecated-api */
|
|
26191
|
-
var buffer = __webpack_require__(
|
|
26208
|
+
var buffer = __webpack_require__(8287)
|
|
26192
26209
|
var Buffer = buffer.Buffer
|
|
26193
26210
|
|
|
26194
26211
|
// alternative to using Object.keys for old browsers
|
|
@@ -26255,23 +26272,21 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
26255
26272
|
|
|
26256
26273
|
/***/ }),
|
|
26257
26274
|
|
|
26258
|
-
/***/
|
|
26275
|
+
/***/ 6897:
|
|
26259
26276
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26260
26277
|
|
|
26261
26278
|
"use strict";
|
|
26262
26279
|
|
|
26263
26280
|
|
|
26264
|
-
var GetIntrinsic = __webpack_require__(
|
|
26265
|
-
var define = __webpack_require__(
|
|
26266
|
-
var hasDescriptors = __webpack_require__(
|
|
26267
|
-
var gOPD = __webpack_require__(
|
|
26281
|
+
var GetIntrinsic = __webpack_require__(453);
|
|
26282
|
+
var define = __webpack_require__(41);
|
|
26283
|
+
var hasDescriptors = __webpack_require__(592)();
|
|
26284
|
+
var gOPD = __webpack_require__(5795);
|
|
26268
26285
|
|
|
26269
|
-
var $TypeError = __webpack_require__(
|
|
26286
|
+
var $TypeError = __webpack_require__(9675);
|
|
26270
26287
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
26271
26288
|
|
|
26272
|
-
/** @
|
|
26273
|
-
|
|
26274
|
-
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
|
26289
|
+
/** @type {import('.')} */
|
|
26275
26290
|
module.exports = function setFunctionLength(fn, length) {
|
|
26276
26291
|
if (typeof fn !== 'function') {
|
|
26277
26292
|
throw new $TypeError('`fn` is not a function');
|
|
@@ -26307,10 +26322,10 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
26307
26322
|
|
|
26308
26323
|
/***/ }),
|
|
26309
26324
|
|
|
26310
|
-
/***/
|
|
26325
|
+
/***/ 392:
|
|
26311
26326
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26312
26327
|
|
|
26313
|
-
var Buffer = (__webpack_require__(
|
|
26328
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26314
26329
|
|
|
26315
26330
|
// prototype class for hash functions
|
|
26316
26331
|
function Hash (blockSize, finalSize) {
|
|
@@ -26395,7 +26410,7 @@ module.exports = Hash
|
|
|
26395
26410
|
|
|
26396
26411
|
/***/ }),
|
|
26397
26412
|
|
|
26398
|
-
/***/
|
|
26413
|
+
/***/ 2802:
|
|
26399
26414
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26400
26415
|
|
|
26401
26416
|
var exports = module.exports = function SHA (algorithm) {
|
|
@@ -26407,17 +26422,17 @@ var exports = module.exports = function SHA (algorithm) {
|
|
|
26407
26422
|
return new Algorithm()
|
|
26408
26423
|
}
|
|
26409
26424
|
|
|
26410
|
-
exports.sha = __webpack_require__(
|
|
26411
|
-
exports.sha1 = __webpack_require__(
|
|
26412
|
-
exports.sha224 = __webpack_require__(
|
|
26413
|
-
exports.sha256 = __webpack_require__(
|
|
26414
|
-
exports.sha384 = __webpack_require__(
|
|
26415
|
-
exports.sha512 = __webpack_require__(
|
|
26425
|
+
exports.sha = __webpack_require__(7816)
|
|
26426
|
+
exports.sha1 = __webpack_require__(3737)
|
|
26427
|
+
exports.sha224 = __webpack_require__(6710)
|
|
26428
|
+
exports.sha256 = __webpack_require__(4107)
|
|
26429
|
+
exports.sha384 = __webpack_require__(2827)
|
|
26430
|
+
exports.sha512 = __webpack_require__(2890)
|
|
26416
26431
|
|
|
26417
26432
|
|
|
26418
26433
|
/***/ }),
|
|
26419
26434
|
|
|
26420
|
-
/***/
|
|
26435
|
+
/***/ 7816:
|
|
26421
26436
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26422
26437
|
|
|
26423
26438
|
/*
|
|
@@ -26428,9 +26443,9 @@ exports.sha512 = __webpack_require__(3352)
|
|
|
26428
26443
|
* operation was added.
|
|
26429
26444
|
*/
|
|
26430
26445
|
|
|
26431
|
-
var inherits = __webpack_require__(
|
|
26432
|
-
var Hash = __webpack_require__(
|
|
26433
|
-
var Buffer = (__webpack_require__(
|
|
26446
|
+
var inherits = __webpack_require__(6698)
|
|
26447
|
+
var Hash = __webpack_require__(392)
|
|
26448
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26434
26449
|
|
|
26435
26450
|
var K = [
|
|
26436
26451
|
0x5a827999, 0x6ed9eba1, 0x8f1bbcdc | 0, 0xca62c1d6 | 0
|
|
@@ -26518,7 +26533,7 @@ module.exports = Sha
|
|
|
26518
26533
|
|
|
26519
26534
|
/***/ }),
|
|
26520
26535
|
|
|
26521
|
-
/***/
|
|
26536
|
+
/***/ 3737:
|
|
26522
26537
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26523
26538
|
|
|
26524
26539
|
/*
|
|
@@ -26530,9 +26545,9 @@ module.exports = Sha
|
|
|
26530
26545
|
* See http://pajhome.org.uk/crypt/md5 for details.
|
|
26531
26546
|
*/
|
|
26532
26547
|
|
|
26533
|
-
var inherits = __webpack_require__(
|
|
26534
|
-
var Hash = __webpack_require__(
|
|
26535
|
-
var Buffer = (__webpack_require__(
|
|
26548
|
+
var inherits = __webpack_require__(6698)
|
|
26549
|
+
var Hash = __webpack_require__(392)
|
|
26550
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26536
26551
|
|
|
26537
26552
|
var K = [
|
|
26538
26553
|
0x5a827999, 0x6ed9eba1, 0x8f1bbcdc | 0, 0xca62c1d6 | 0
|
|
@@ -26624,7 +26639,7 @@ module.exports = Sha1
|
|
|
26624
26639
|
|
|
26625
26640
|
/***/ }),
|
|
26626
26641
|
|
|
26627
|
-
/***/
|
|
26642
|
+
/***/ 6710:
|
|
26628
26643
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26629
26644
|
|
|
26630
26645
|
/**
|
|
@@ -26635,10 +26650,10 @@ module.exports = Sha1
|
|
|
26635
26650
|
*
|
|
26636
26651
|
*/
|
|
26637
26652
|
|
|
26638
|
-
var inherits = __webpack_require__(
|
|
26639
|
-
var Sha256 = __webpack_require__(
|
|
26640
|
-
var Hash = __webpack_require__(
|
|
26641
|
-
var Buffer = (__webpack_require__(
|
|
26653
|
+
var inherits = __webpack_require__(6698)
|
|
26654
|
+
var Sha256 = __webpack_require__(4107)
|
|
26655
|
+
var Hash = __webpack_require__(392)
|
|
26656
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26642
26657
|
|
|
26643
26658
|
var W = new Array(64)
|
|
26644
26659
|
|
|
@@ -26684,7 +26699,7 @@ module.exports = Sha224
|
|
|
26684
26699
|
|
|
26685
26700
|
/***/ }),
|
|
26686
26701
|
|
|
26687
|
-
/***/
|
|
26702
|
+
/***/ 4107:
|
|
26688
26703
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26689
26704
|
|
|
26690
26705
|
/**
|
|
@@ -26695,9 +26710,9 @@ module.exports = Sha224
|
|
|
26695
26710
|
*
|
|
26696
26711
|
*/
|
|
26697
26712
|
|
|
26698
|
-
var inherits = __webpack_require__(
|
|
26699
|
-
var Hash = __webpack_require__(
|
|
26700
|
-
var Buffer = (__webpack_require__(
|
|
26713
|
+
var inherits = __webpack_require__(6698)
|
|
26714
|
+
var Hash = __webpack_require__(392)
|
|
26715
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26701
26716
|
|
|
26702
26717
|
var K = [
|
|
26703
26718
|
0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5,
|
|
@@ -26826,13 +26841,13 @@ module.exports = Sha256
|
|
|
26826
26841
|
|
|
26827
26842
|
/***/ }),
|
|
26828
26843
|
|
|
26829
|
-
/***/
|
|
26844
|
+
/***/ 2827:
|
|
26830
26845
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26831
26846
|
|
|
26832
|
-
var inherits = __webpack_require__(
|
|
26833
|
-
var SHA512 = __webpack_require__(
|
|
26834
|
-
var Hash = __webpack_require__(
|
|
26835
|
-
var Buffer = (__webpack_require__(
|
|
26847
|
+
var inherits = __webpack_require__(6698)
|
|
26848
|
+
var SHA512 = __webpack_require__(2890)
|
|
26849
|
+
var Hash = __webpack_require__(392)
|
|
26850
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26836
26851
|
|
|
26837
26852
|
var W = new Array(160)
|
|
26838
26853
|
|
|
@@ -26890,12 +26905,12 @@ module.exports = Sha384
|
|
|
26890
26905
|
|
|
26891
26906
|
/***/ }),
|
|
26892
26907
|
|
|
26893
|
-
/***/
|
|
26908
|
+
/***/ 2890:
|
|
26894
26909
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26895
26910
|
|
|
26896
|
-
var inherits = __webpack_require__(
|
|
26897
|
-
var Hash = __webpack_require__(
|
|
26898
|
-
var Buffer = (__webpack_require__(
|
|
26911
|
+
var inherits = __webpack_require__(6698)
|
|
26912
|
+
var Hash = __webpack_require__(392)
|
|
26913
|
+
var Buffer = (__webpack_require__(2861).Buffer)
|
|
26899
26914
|
|
|
26900
26915
|
var K = [
|
|
26901
26916
|
0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd,
|
|
@@ -27157,7 +27172,7 @@ module.exports = Sha512
|
|
|
27157
27172
|
|
|
27158
27173
|
/***/ }),
|
|
27159
27174
|
|
|
27160
|
-
/***/
|
|
27175
|
+
/***/ 8947:
|
|
27161
27176
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
27162
27177
|
|
|
27163
27178
|
(function(nacl) {
|
|
@@ -29539,7 +29554,7 @@ nacl.setPRNG = function(fn) {
|
|
|
29539
29554
|
});
|
|
29540
29555
|
} else if (true) {
|
|
29541
29556
|
// Node.js.
|
|
29542
|
-
crypto = __webpack_require__(
|
|
29557
|
+
crypto = __webpack_require__(1281);
|
|
29543
29558
|
if (crypto && crypto.randomBytes) {
|
|
29544
29559
|
nacl.setPRNG(function(x, n) {
|
|
29545
29560
|
var i, v = crypto.randomBytes(n);
|
|
@@ -29555,7 +29570,7 @@ nacl.setPRNG = function(fn) {
|
|
|
29555
29570
|
|
|
29556
29571
|
/***/ }),
|
|
29557
29572
|
|
|
29558
|
-
/***/
|
|
29573
|
+
/***/ 1135:
|
|
29559
29574
|
/***/ ((module) => {
|
|
29560
29575
|
|
|
29561
29576
|
module.exports = function isBuffer(arg) {
|
|
@@ -29576,10 +29591,10 @@ module.exports = function isBuffer(arg) {
|
|
|
29576
29591
|
|
|
29577
29592
|
|
|
29578
29593
|
|
|
29579
|
-
var isArgumentsObject = __webpack_require__(
|
|
29580
|
-
var isGeneratorFunction = __webpack_require__(
|
|
29581
|
-
var whichTypedArray = __webpack_require__(
|
|
29582
|
-
var isTypedArray = __webpack_require__(
|
|
29594
|
+
var isArgumentsObject = __webpack_require__(7244);
|
|
29595
|
+
var isGeneratorFunction = __webpack_require__(8184);
|
|
29596
|
+
var whichTypedArray = __webpack_require__(5767);
|
|
29597
|
+
var isTypedArray = __webpack_require__(5680);
|
|
29583
29598
|
|
|
29584
29599
|
function uncurryThis(f) {
|
|
29585
29600
|
return f.call.bind(f);
|
|
@@ -29909,11 +29924,11 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
29909
29924
|
|
|
29910
29925
|
/***/ }),
|
|
29911
29926
|
|
|
29912
|
-
/***/
|
|
29927
|
+
/***/ 537:
|
|
29913
29928
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29914
29929
|
|
|
29915
|
-
/* provided dependency */ var process = __webpack_require__(
|
|
29916
|
-
/* provided dependency */ var console = __webpack_require__(
|
|
29930
|
+
/* provided dependency */ var process = __webpack_require__(5606);
|
|
29931
|
+
/* provided dependency */ var console = __webpack_require__(6763);
|
|
29917
29932
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
29918
29933
|
//
|
|
29919
29934
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -30461,7 +30476,7 @@ function isPrimitive(arg) {
|
|
|
30461
30476
|
}
|
|
30462
30477
|
exports.isPrimitive = isPrimitive;
|
|
30463
30478
|
|
|
30464
|
-
exports.isBuffer = __webpack_require__(
|
|
30479
|
+
exports.isBuffer = __webpack_require__(1135);
|
|
30465
30480
|
|
|
30466
30481
|
function objectToString(o) {
|
|
30467
30482
|
return Object.prototype.toString.call(o);
|
|
@@ -30505,7 +30520,7 @@ exports.log = function() {
|
|
|
30505
30520
|
* prototype.
|
|
30506
30521
|
* @param {function} superCtor Constructor function to inherit prototype from.
|
|
30507
30522
|
*/
|
|
30508
|
-
exports.inherits = __webpack_require__(
|
|
30523
|
+
exports.inherits = __webpack_require__(6698);
|
|
30509
30524
|
|
|
30510
30525
|
exports._extend = function(origin, add) {
|
|
30511
30526
|
// Don't do anything if add isn't an object
|
|
@@ -30633,20 +30648,21 @@ exports.callbackify = callbackify;
|
|
|
30633
30648
|
|
|
30634
30649
|
/***/ }),
|
|
30635
30650
|
|
|
30636
|
-
/***/
|
|
30651
|
+
/***/ 5767:
|
|
30637
30652
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
30638
30653
|
|
|
30639
30654
|
"use strict";
|
|
30640
30655
|
|
|
30641
30656
|
|
|
30642
|
-
var forEach = __webpack_require__(
|
|
30643
|
-
var availableTypedArrays = __webpack_require__(
|
|
30644
|
-
var callBind = __webpack_require__(
|
|
30645
|
-
var callBound = __webpack_require__(
|
|
30646
|
-
var gOPD = __webpack_require__(
|
|
30657
|
+
var forEach = __webpack_require__(2682);
|
|
30658
|
+
var availableTypedArrays = __webpack_require__(9209);
|
|
30659
|
+
var callBind = __webpack_require__(487);
|
|
30660
|
+
var callBound = __webpack_require__(8075);
|
|
30661
|
+
var gOPD = __webpack_require__(5795);
|
|
30647
30662
|
|
|
30663
|
+
/** @type {(O: object) => string} */
|
|
30648
30664
|
var $toString = callBound('Object.prototype.toString');
|
|
30649
|
-
var hasToStringTag = __webpack_require__(
|
|
30665
|
+
var hasToStringTag = __webpack_require__(9092)();
|
|
30650
30666
|
|
|
30651
30667
|
var g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;
|
|
30652
30668
|
var typedArrays = availableTypedArrays();
|
|
@@ -30654,7 +30670,8 @@ var typedArrays = availableTypedArrays();
|
|
|
30654
30670
|
var $slice = callBound('String.prototype.slice');
|
|
30655
30671
|
var getPrototypeOf = Object.getPrototypeOf; // require('getprototypeof');
|
|
30656
30672
|
|
|
30657
|
-
|
|
30673
|
+
/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
|
|
30674
|
+
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
30658
30675
|
for (var i = 0; i < array.length; i += 1) {
|
|
30659
30676
|
if (array[i] === value) {
|
|
30660
30677
|
return i;
|
|
@@ -30663,9 +30680,8 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || /** @type {(array:
|
|
|
30663
30680
|
return -1;
|
|
30664
30681
|
};
|
|
30665
30682
|
|
|
30666
|
-
/** @typedef {
|
|
30667
|
-
/** @
|
|
30668
|
-
/** @type {{ [k in `\$${TypedArrayName}`]?: (receiver: TypedArray) => string | typeof Uint8Array.prototype.slice.call | typeof Uint8Array.prototype.set.call } & { __proto__: null }} */
|
|
30683
|
+
/** @typedef {(receiver: import('.').TypedArray) => string | typeof Uint8Array.prototype.slice.call | typeof Uint8Array.prototype.set.call} Getter */
|
|
30684
|
+
/** @type {{ [k in `\$${import('.').TypedArrayName}`]?: Getter } & { __proto__: null }} */
|
|
30669
30685
|
var cache = { __proto__: null };
|
|
30670
30686
|
if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
30671
30687
|
forEach(typedArrays, function (typedArray) {
|
|
@@ -30694,13 +30710,14 @@ if (hasToStringTag && gOPD && getPrototypeOf) {
|
|
|
30694
30710
|
});
|
|
30695
30711
|
}
|
|
30696
30712
|
|
|
30697
|
-
/** @type {import('.')} */
|
|
30713
|
+
/** @type {(value: object) => false | import('.').TypedArrayName} */
|
|
30698
30714
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
30699
|
-
/** @type {ReturnType<tryAllTypedArrays>} */ var found = false;
|
|
30715
|
+
/** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;
|
|
30700
30716
|
forEach(
|
|
30701
30717
|
// eslint-disable-next-line no-extra-parens
|
|
30702
|
-
/** @type {Record<`\$${TypedArrayName}`,
|
|
30703
|
-
/** @type {(getter:
|
|
30718
|
+
/** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),
|
|
30719
|
+
/** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
|
|
30720
|
+
function (getter, typedArray) {
|
|
30704
30721
|
if (!found) {
|
|
30705
30722
|
try {
|
|
30706
30723
|
// @ts-expect-error TODO: fix
|
|
@@ -30714,16 +30731,16 @@ var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
|
30714
30731
|
return found;
|
|
30715
30732
|
};
|
|
30716
30733
|
|
|
30717
|
-
/** @type {import('.')} */
|
|
30734
|
+
/** @type {(value: object) => false | import('.').TypedArrayName} */
|
|
30718
30735
|
var trySlices = function tryAllSlices(value) {
|
|
30719
|
-
/** @type {ReturnType<tryAllSlices>} */ var found = false;
|
|
30736
|
+
/** @type {ReturnType<typeof tryAllSlices>} */ var found = false;
|
|
30720
30737
|
forEach(
|
|
30721
30738
|
// eslint-disable-next-line no-extra-parens
|
|
30722
|
-
/** @type {any} */ (cache),
|
|
30723
|
-
/** @type {(getter: typeof cache, name: `\$${TypedArrayName}`) => void} */ function (getter, name) {
|
|
30739
|
+
/** @type {Record<`\$${TypedArrayName}`, Getter>} */ /** @type {any} */ (cache),
|
|
30740
|
+
/** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {
|
|
30724
30741
|
if (!found) {
|
|
30725
30742
|
try {
|
|
30726
|
-
|
|
30743
|
+
// @ts-expect-error TODO: fix
|
|
30727
30744
|
getter(value);
|
|
30728
30745
|
found = $slice(name, 1);
|
|
30729
30746
|
} catch (e) { /**/ }
|
|
@@ -30737,6 +30754,7 @@ var trySlices = function tryAllSlices(value) {
|
|
|
30737
30754
|
module.exports = function whichTypedArray(value) {
|
|
30738
30755
|
if (!value || typeof value !== 'object') { return false; }
|
|
30739
30756
|
if (!hasToStringTag) {
|
|
30757
|
+
/** @type {string} */
|
|
30740
30758
|
var tag = $slice($toString(value), 8, -1);
|
|
30741
30759
|
if ($indexOf(typedArrays, tag) > -1) {
|
|
30742
30760
|
return tag;
|
|
@@ -30754,32 +30772,20 @@ module.exports = function whichTypedArray(value) {
|
|
|
30754
30772
|
|
|
30755
30773
|
/***/ }),
|
|
30756
30774
|
|
|
30757
|
-
/***/
|
|
30775
|
+
/***/ 1281:
|
|
30758
30776
|
/***/ (() => {
|
|
30759
30777
|
|
|
30760
30778
|
/* (ignored) */
|
|
30761
30779
|
|
|
30762
30780
|
/***/ }),
|
|
30763
30781
|
|
|
30764
|
-
/***/
|
|
30782
|
+
/***/ 9209:
|
|
30765
30783
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
30766
30784
|
|
|
30767
30785
|
"use strict";
|
|
30768
30786
|
|
|
30769
30787
|
|
|
30770
|
-
var
|
|
30771
|
-
'BigInt64Array',
|
|
30772
|
-
'BigUint64Array',
|
|
30773
|
-
'Float32Array',
|
|
30774
|
-
'Float64Array',
|
|
30775
|
-
'Int16Array',
|
|
30776
|
-
'Int32Array',
|
|
30777
|
-
'Int8Array',
|
|
30778
|
-
'Uint16Array',
|
|
30779
|
-
'Uint32Array',
|
|
30780
|
-
'Uint8Array',
|
|
30781
|
-
'Uint8ClampedArray'
|
|
30782
|
-
];
|
|
30788
|
+
var possibleNames = __webpack_require__(6578);
|
|
30783
30789
|
|
|
30784
30790
|
var g = typeof globalThis === 'undefined' ? __webpack_require__.g : globalThis;
|
|
30785
30791
|
|
|
@@ -30900,7 +30906,7 @@ module.exports = function availableTypedArrays() {
|
|
|
30900
30906
|
/******/ // startup
|
|
30901
30907
|
/******/ // Load entry module and return exports
|
|
30902
30908
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
30903
|
-
/******/ var __webpack_exports__ = __webpack_require__(
|
|
30909
|
+
/******/ var __webpack_exports__ = __webpack_require__(7687);
|
|
30904
30910
|
/******/ StellarBase = __webpack_exports__;
|
|
30905
30911
|
/******/
|
|
30906
30912
|
/******/ })()
|