function e(e,t=!1,n){const r=e.match(/^(0x)?([\da-fA-F]+)$/);if(null==r)throw new RangeError("input must be a hexadecimal string, e.g. '0x124fe3a' or '0214f1b2'");let o=r[2];if(void 0!==n){if(n{o+=a[e>>4]+a[15&e]})),e(o,n,r)}}function l(t,n=!1){let r=e(t);return r=e(t,!1,Math.ceil(r.length/2)),Uint8Array.from(r.match(/[\da-fA-F]{2}/g).map((e=>parseInt(e,16)))).buffer}function g(e,n=!1,r=!0){return function(e,t=!1,n=!0){let r="";return r=(e=>{const t=[];for(let n=0;ne.charCodeAt(0))));return t?(new TextDecoder).decode(r):r}}(e))}export{s as base64ToBigint,g as bigintToBase64,t as bigintToBuf,r as bigintToHex,a as bigintToText,n as bufToBigint,c as bufToHex,u as bufToText,o as hexToBigint,l as hexToBuf,e as parseHex,i as textToBigint,f as textToBuf}; //# sourceMappingURL=bundle.min.js.map