UNPKG

@aeternity/aepp-sdk

Version:

SDK for the æternity blockchain

2 lines 469 kB
/*! For license information please see aepp-sdk.browser.cjs.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("bignumber.js"),require("@azure/core-rest-pipeline"),require("buffer"),require("tweetnacl"),require("bs58"),require("rlp"),require("@azure/core-client"),require("@aeternity/aepp-calldata"),require("canonicalize"),require("eventemitter3"),require("json-bigint"),require("@scure/bip39"),require("tweetnacl-auth"),require("websocket"),require("events"),require("isomorphic-ws")):"function"==typeof define&&define.amd?define(["bignumber.js","@azure/core-rest-pipeline","buffer","tweetnacl","bs58","rlp","@azure/core-client","@aeternity/aepp-calldata","canonicalize","eventemitter3","json-bigint","@scure/bip39","tweetnacl-auth","websocket","events","isomorphic-ws"],t):"object"==typeof exports?exports.Aeternity=t(require("bignumber.js"),require("@azure/core-rest-pipeline"),require("buffer"),require("tweetnacl"),require("bs58"),require("rlp"),require("@azure/core-client"),require("@aeternity/aepp-calldata"),require("canonicalize"),require("eventemitter3"),require("json-bigint"),require("@scure/bip39"),require("tweetnacl-auth"),require("websocket"),require("events"),require("isomorphic-ws")):e.Aeternity=t(e["bignumber.js"],e["@azure/core-rest-pipeline"],e.buffer,e.tweetnacl,e.bs58,e.rlp,e["@azure/core-client"],e["@aeternity/aepp-calldata"],e.canonicalize,e.eventemitter3,e["json-bigint"],e["@scure/bip39"],e["tweetnacl-auth"],e.websocket,e.events,e["isomorphic-ws"])}(self,(function(e,t,n,r,a,i,s,o,c,u,m,l,p,d,h,y){return function(){var f={4156:function(e,t,n){const r=n(829);function a(e,t,n){const r=e[t]+e[n];let a=e[t+1]+e[n+1];r>=4294967296&&a++,e[t]=r,e[t+1]=a}function i(e,t,n,r){let a=e[t]+n;n<0&&(a+=4294967296);let i=e[t+1]+r;a>=4294967296&&i++,e[t]=a,e[t+1]=i}function s(e,t){return e[t]^e[t+1]<<8^e[t+2]<<16^e[t+3]<<24}function o(e,t,n,r,s,o){const c=l[s],u=l[s+1],p=l[o],d=l[o+1];a(m,e,t),i(m,e,c,u);let h=m[r]^m[e],y=m[r+1]^m[e+1];m[r]=y,m[r+1]=h,a(m,n,r),h=m[t]^m[n],y=m[t+1]^m[n+1],m[t]=h>>>24^y<<8,m[t+1]=y>>>24^h<<8,a(m,e,t),i(m,e,p,d),h=m[r]^m[e],y=m[r+1]^m[e+1],m[r]=h>>>16^y<<16,m[r+1]=y>>>16^h<<16,a(m,n,r),h=m[t]^m[n],y=m[t+1]^m[n+1],m[t]=y>>>31^h<<1,m[t+1]=h>>>31^y<<1}const c=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map((function(e){return 2*e}))),m=new Uint32Array(32),l=new Uint32Array(32);function p(e,t){let n=0;for(n=0;n<16;n++)m[n]=e.h[n],m[n+16]=c[n];for(m[24]=m[24]^e.t,m[25]=m[25]^e.t/4294967296,t&&(m[28]=~m[28],m[29]=~m[29]),n=0;n<32;n++)l[n]=s(e.b,4*n);for(n=0;n<12;n++)o(0,8,16,24,u[16*n+0],u[16*n+1]),o(2,10,18,26,u[16*n+2],u[16*n+3]),o(4,12,20,28,u[16*n+4],u[16*n+5]),o(6,14,22,30,u[16*n+6],u[16*n+7]),o(0,10,20,30,u[16*n+8],u[16*n+9]),o(2,12,22,24,u[16*n+10],u[16*n+11]),o(4,14,16,26,u[16*n+12],u[16*n+13]),o(6,8,18,28,u[16*n+14],u[16*n+15]);for(n=0;n<16;n++)e.h[n]=e.h[n]^m[n]^m[n+16]}const d=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function h(e,t,n,r){if(0===e||e>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(t&&t.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(n&&16!==n.length)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(r&&16!==r.length)throw new Error("Illegal personal, expected Uint8Array with length is 16");const a={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:e};d.fill(0),d[0]=e,t&&(d[1]=t.length),d[2]=1,d[3]=1,n&&d.set(n,32),r&&d.set(r,48);for(let e=0;e<16;e++)a.h[e]=c[e]^s(d,4*e);return t&&(y(a,t),a.c=128),a}function y(e,t){for(let n=0;n<t.length;n++)128===e.c&&(e.t+=e.c,p(e,!1),e.c=0),e.b[e.c++]=t[n]}function f(e){for(e.t+=e.c;e.c<128;)e.b[e.c++]=0;p(e,!0);const t=new Uint8Array(e.outlen);for(let n=0;n<e.outlen;n++)t[n]=e.h[n>>2]>>8*(3&n);return t}function g(e,t,n,a,i){n=n||64,e=r.normalizeInput(e),a&&(a=r.normalizeInput(a)),i&&(i=r.normalizeInput(i));const s=h(n,t,a,i);return y(s,e),f(s)}e.exports={blake2b:g,blake2bHex:function(e,t,n,a,i){const s=g(e,t,n,a,i);return r.toHex(s)},blake2bInit:h,blake2bUpdate:y,blake2bFinal:f}},829:function(e){function t(e){return(4294967296+e).toString(16).substring(1)}e.exports={normalizeInput:function(e){let t;if(e instanceof Uint8Array)t=e;else{if("string"!=typeof e)throw new Error("Input must be an string, Buffer or Uint8Array");t=(new TextEncoder).encode(e)}return t},toHex:function(e){return Array.prototype.map.call(e,(function(e){return(e<16?"0":"")+e.toString(16)})).join("")},debugPrint:function(e,n,r){let a="\n"+e+" = ";for(let i=0;i<n.length;i+=2){if(32===r)a+=t(n[i]).toUpperCase(),a+=" ",a+=t(n[i+1]).toUpperCase();else{if(64!==r)throw new Error("Invalid size "+r);a+=t(n[i+1]).toUpperCase(),a+=t(n[i]).toUpperCase()}i%6==4?a+="\n"+new Array(e.length+4).join(" "):i<n.length-2&&(a+=" ")}console.log(a)},testSpeed:function(e,t,n){let r=(new Date).getTime();const a=new Uint8Array(t);for(let e=0;e<t;e++)a[e]=e%256;const i=(new Date).getTime();console.log("Generated random input in "+(i-r)+"ms"),r=i;for(let i=0;i<n;i++){const n=e(a),i=(new Date).getTime(),s=i-r;r=i,console.log("Hashed in "+s+"ms: "+n.substring(0,20)+"..."),console.log(Math.round(t/(1<<20)/(s/1e3)*100)/100+" MB PER SECOND")}}}},3144:function(e,t,n){"use strict";var r=n(6743),a=n(1002),i=n(76),s=n(7119);e.exports=s||r.call(i,a)},2205:function(e,t,n){"use strict";var r=n(6743),a=n(1002),i=n(3144);e.exports=function(){return i(r,a,arguments)}},1002:function(e){"use strict";e.exports=Function.prototype.apply},76:function(e){"use strict";e.exports=Function.prototype.call},3126:function(e,t,n){"use strict";var r=n(6743),a=n(9675),i=n(76),s=n(3144);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new a("a function is required");return s(r,i,e)}},7119:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},487:function(e,t,n){"use strict";var r=n(6897),a=n(655),i=n(3126),s=n(2205);e.exports=function(e){var t=i(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},a?a(e.exports,"apply",{value:s}):e.exports.apply=s},6556:function(e,t,n){"use strict";var r=n(453),a=n(3126),i=a([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?a([n]):n}},41:function(e,t,n){"use strict";var r=n(655),a=n(8068),i=n(9675),s=n(5795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,m=arguments.length>6&&arguments[6],l=!!s&&s(e,t);if(r)r(e,t,{configurable:null===u&&l?l.configurable:!u,enumerable:null===o&&l?l.enumerable:!o,value:n,writable:null===c&&l?l.writable:!c});else{if(!m&&(o||c||u))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},7176:function(e,t,n){"use strict";var r,a=n(3126),i=n(5795);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!!r&&i&&i(Object.prototype,"__proto__"),o=Object,c=o.getPrototypeOf;e.exports=s&&"function"==typeof s.get?a([s.get]):"function"==typeof c&&function(e){return c(null==e?e:o(e))}},655:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},1237:function(e){"use strict";e.exports=EvalError},9383:function(e){"use strict";e.exports=Error},9290:function(e){"use strict";e.exports=RangeError},9538:function(e){"use strict";e.exports=ReferenceError},8068:function(e){"use strict";e.exports=SyntaxError},9675:function(e){"use strict";e.exports=TypeError},5345:function(e){"use strict";e.exports=URIError},9612:function(e){"use strict";e.exports=Object},2682:function(e,t,n){"use strict";var r=n(9600),a=Object.prototype.toString,i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var s,o;arguments.length>=3&&(s=n),o=e,"[object Array]"===a.call(o)?function(e,t,n){for(var r=0,a=e.length;r<a;r++)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,s):"string"==typeof e?function(e,t,n){for(var r=0,a=e.length;r<a;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,s):function(e,t,n){for(var r in e)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))}(e,t,s)}},9353:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n};e.exports=function(e){var a=this;if("function"!=typeof a||"[object Function]"!==t.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var i,s=function(e){for(var t=[],n=1,r=0;n<e.length;n+=1,r+=1)t[r]=e[n];return t}(arguments),o=n(0,a.length-s.length),c=[],u=0;u<o;u++)c[u]="$"+u;if(i=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(c)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var t=a.apply(this,r(s,arguments));return Object(t)===t?t:this}return a.apply(e,r(s,arguments))})),a.prototype){var m=function(){};m.prototype=a.prototype,i.prototype=new m,m.prototype=null}return i}},6743:function(e,t,n){"use strict";var r=n(9353);e.exports=Function.prototype.bind||r},453:function(e,t,n){"use strict";var r,a=n(9612),i=n(9383),s=n(1237),o=n(9290),c=n(9538),u=n(8068),m=n(9675),l=n(5345),p=n(1514),d=n(8968),h=n(6188),y=n(8002),f=n(5880),g=n(414),N=n(3093),x=Function,v=function(e){try{return x('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(5795),C=n(655),b=function(){throw new m},P=w?function(){try{return b}catch(e){try{return w(arguments,"callee").get}catch(e){return b}}}():b,S=n(4039)(),z=n(3628),_=n(1064),A=n(8648),I=n(1002),T=n(76),q={},M="undefined"!=typeof Uint8Array&&z?z(Uint8Array):r,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":S&&z?z([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":q,"%AsyncGenerator%":q,"%AsyncGeneratorFunction%":q,"%AsyncIteratorPrototype%":q,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":q,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&z?z(z([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&S&&z?z((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":o,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&S&&z?z((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&z?z(""[Symbol.iterator]()):r,"%Symbol%":S?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":P,"%TypedArray%":M,"%TypeError%":m,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":I,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":_,"%Math.abs%":p,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":y,"%Math.pow%":f,"%Math.round%":g,"%Math.sign%":N,"%Reflect.getPrototypeOf%":A};if(z)try{null.error}catch(e){var k=z(z(e));E["%Error.prototype%"]=k}var R=function e(t){var n;if("%AsyncFunction%"===t)n=v("async function () {}");else if("%GeneratorFunction%"===t)n=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=v("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&z&&(n=z(a.prototype))}return E[t]=n,n},O={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},B=n(6743),V=n(9957),G=B.call(T,Array.prototype.concat),$=B.call(I,Array.prototype.splice),D=B.call(T,String.prototype.replace),j=B.call(T,String.prototype.slice),J=B.call(T,RegExp.prototype.exec),F=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,H=function(e,t){var n,r=e;if(V(O,r)&&(r="%"+(n=O[r])[0]+"%"),V(E,r)){var a=E[r];if(a===q&&(a=R(r)),void 0===a&&!t)throw new m("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:a}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new m("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new m('"allowMissing" argument must be a boolean');if(null===J(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=j(e,0,1),n=j(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return D(e,F,(function(e,t,n,a){r[r.length]=n?D(a,U,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",a=H("%"+r+"%",t),i=a.name,s=a.value,o=!1,c=a.alias;c&&(r=c[0],$(n,G([0,1],c)));for(var l=1,p=!0;l<n.length;l+=1){var d=n[l],h=j(d,0,1),y=j(d,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new u("property names with quotes must have matching quotes");if("constructor"!==d&&p||(o=!0),V(E,i="%"+(r+="."+d)+"%"))s=E[i];else if(null!=s){if(!(d in s)){if(!t)throw new m("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&l+1>=n.length){var f=w(s,d);s=(p=!!f)&&"get"in f&&!("originalValue"in f.get)?f.get:s[d]}else p=V(s,d),s=s[d];p&&!o&&(E[i]=s)}}return s}},1064:function(e,t,n){"use strict";var r=n(9612);e.exports=r.getPrototypeOf||null},8648:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},3628:function(e,t,n){"use strict";var r=n(8648),a=n(1064),i=n(7176);e.exports=r?function(e){return r(e)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return a(e)}:i?function(e){return i(e)}:null},6549:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},5795:function(e,t,n){"use strict";var r=n(6549);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},592:function(e,t,n){"use strict";var r=n(655),a=function(){return!!r};a.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=a},4039:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,a=n(1333);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},1333:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9092:function(e,t,n){"use strict";var r=n(1333);e.exports=function(){return r()&&!!Symbol.toStringTag}},9957:function(e,t,n){"use strict";var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,i=n(6743);e.exports=i.call(r,a)},6698:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},9600:function(e){"use strict";var t,n,r=Function.prototype.toString,a="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof a&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},a((function(){throw 42}),null,t)}catch(e){e!==n&&(a=null)}else a=null;var i=/^\s*class\b/,s=function(e){try{var t=r.call(e);return i.test(t)}catch(e){return!1}},o=function(e){try{return!s(e)&&(r.call(e),!0)}catch(e){return!1}},c=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,m=!(0 in[,]),l=function(){return!1};if("object"==typeof document){var p=document.all;c.call(p)===c.call(document.all)&&(l=function(e){if((m||!e)&&(void 0===e||"object"==typeof e))try{var t=c.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=a?function(e){if(l(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{a(e,null,t)}catch(e){if(e!==n)return!1}return!s(e)&&o(e)}:function(e){if(l(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(u)return o(e);if(s(e))return!1;var t=c.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&o(e)}},5680:function(e,t,n){"use strict";var r=n(5767);e.exports=function(e){return!!r(e)}},4634:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},1514:function(e){"use strict";e.exports=Math.abs},8968:function(e){"use strict";e.exports=Math.floor},4459:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},6188:function(e){"use strict";e.exports=Math.max},8002:function(e){"use strict";e.exports=Math.min},5880:function(e){"use strict";e.exports=Math.pow},414:function(e){"use strict";e.exports=Math.round},3093:function(e,t,n){"use strict";var r=n(4459);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},6578:function(e){"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},2861:function(e,t,n){var r=n(18),a=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return a(e,t,n)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=s),s.prototype=Object.create(a.prototype),i(a,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return a(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=a(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},6897:function(e,t,n){"use strict";var r=n(453),a=n(41),i=n(592)(),s=n(5795),o=n(9675),c=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new o("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&s){var m=s(e,"length");m&&!m.configurable&&(r=!1),m&&!m.writable&&(u=!1)}return(r||u||!n)&&(i?a(e,"length",t,!0,!0):a(e,"length",t)),e}},392:function(e,t,n){"use strict";var r=n(2861).Buffer,a=n(5377);function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){e=a(e,t||"utf8");for(var n=this._block,r=this._blockSize,i=e.length,s=this._len,o=0;o<i;){for(var c=s%r,u=Math.min(i-o,r-c),m=0;m<u;m++)n[c+m]=e[o+m];o+=u,(s+=u)%r==0&&this._update(n)}return this._len+=i,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,a=(n-r)/4294967296;this._block.writeUInt32BE(a,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},4107:function(e,t,n){"use strict";var r=n(6698),a=n(392),i=n(2861).Buffer,s=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],o=new Array(64);function c(){this.init(),this._w=o,a.call(this,64,56)}function u(e,t,n){return n^e&(t^n)}function m(e,t,n){return e&t|n&(e|t)}function l(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function p(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function d(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(c,a),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,a=0|this._b,i=0|this._c,o=0|this._d,c=0|this._e,h=0|this._f,y=0|this._g,f=0|this._h,g=0;g<16;++g)n[g]=e.readInt32BE(4*g);for(;g<64;++g)n[g]=0|(((t=n[g-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[g-7]+d(n[g-15])+n[g-16];for(var N=0;N<64;++N){var x=f+p(c)+u(c,h,y)+s[N]+n[N]|0,v=l(r)+m(r,a,i)|0;f=y,y=h,h=c,c=o+x|0,o=i,i=a,a=r,r=x+v|0}this._a=r+this._a|0,this._b=a+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0,this._f=h+this._f|0,this._g=y+this._g|0,this._h=f+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},5377:function(e,t,n){"use strict";var r=n(2861).Buffer,a=n(4634),i=n(4372),s=ArrayBuffer.isView||function(e){try{return i(e),!0}catch(e){return!1}},o="undefined"!=typeof Uint8Array,c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,u=c&&(r.prototype instanceof Uint8Array||r.TYPED_ARRAY_SUPPORT);e.exports=function(e,t){if(r.isBuffer(e))return e.constructor&&!("isBuffer"in e)?r.from(e):e;if("string"==typeof e)return r.from(e,t);if(c&&s(e)){if(0===e.byteLength)return r.alloc(0);if(u){var n=r.from(e.buffer,e.byteOffset,e.byteLength);if(n.byteLength===e.byteLength)return n}var i=e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),m=r.from(i);if(m.length===e.byteLength)return m}if(o&&e instanceof Uint8Array)return r.from(e);var l=a(e);if(l)for(var p=0;p<e.length;p+=1){var d=e[p];if("number"!=typeof d||d<0||d>255||~~d!==d)throw new RangeError("Array items must be numbers in the range 0-255.")}if(l||r.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return r.from(e);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},4372:function(e,t,n){"use strict";var r=n(9675),a=n(6556)("TypedArray.prototype.buffer",!0),i=n(5680);e.exports=a||function(e){if(!i(e))throw new r("Not a Typed Array");return e.buffer}},5767:function(e,t,n){"use strict";var r=n(2682),a=n(9209),i=n(487),s=n(6556),o=n(5795),c=n(3628),u=s("Object.prototype.toString"),m=n(9092)(),l="undefined"==typeof globalThis?n.g:globalThis,p=a(),d=s("String.prototype.slice"),h=s("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},y={__proto__:null};r(p,m&&o&&c?function(e){var t=new l[e];if(Symbol.toStringTag in t&&c){var n=c(t),r=o(n,Symbol.toStringTag);if(!r&&n){var a=c(n);r=o(a,Symbol.toStringTag)}y["$"+e]=i(r.get)}}:function(e){var t=new l[e],n=t.slice||t.set;n&&(y["$"+e]=i(n))}),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!m){var t=d(u(e),8,-1);return h(p,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(y,(function(n,r){if(!t)try{n(e),t=d(r,1)}catch(e){}})),t}(e)}return o?function(e){var t=!1;return r(y,(function(n,r){if(!t)try{"$"+n(e)===r&&(t=d(r,1))}catch(e){}})),t}(e):null}},2853:function(e){"use strict";e.exports=o},1081:function(e){"use strict";e.exports=s},833:function(e){"use strict";e.exports=t},8380:function(e){"use strict";e.exports=l},6168:function(t){"use strict";t.exports=e},4578:function(e){"use strict";e.exports=a},18:function(e){"use strict";e.exports=n},6016:function(e){"use strict";e.exports=c},1891:function(e){"use strict";e.exports=u},761:function(e){"use strict";e.exports=h},7250:function(e){"use strict";e.exports=y},4146:function(e){"use strict";e.exports=m},6514:function(e){"use strict";e.exports=i},1655:function(e){"use strict";e.exports=r},5196:function(e){"use strict";e.exports=p},8963:function(e){"use strict";e.exports=d},9209:function(e,t,n){"use strict";var r=n(6578),a="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof a[r[t]]&&(e[e.length]=r[t]);return e}},6040:function(e,t,n){"use strict";var r=n(8251);e.exports=r},7264:function(e,t,n){"use strict";var r=n(4139);n(768),n(8549),n(7152),n(1372),e.exports=r},9692:function(e,t,n){"use strict";var r=n(7045);e.exports=r},5663:function(e,t,n){"use strict";var r=n(70);e.exports=r},1926:function(e,t,n){"use strict";n(6750);var r=n(2046).Object,a=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(a.sham=!0)},3842:function(e,t,n){"use strict";n(8545),n(3643),n(4452),n(3997),n(5084),n(2596),n(5721),n(4954),n(4123),n(3377),n(2230),n(5344),n(1660),n(4610),n(3669),n(4810),n(3325),n(7024),n(8172),n(5205);var r=n(2046);e.exports=r.Symbol},1730:function(e,t,n){"use strict";n(9363),n(3643),n(7057),n(4954);var r=n(560);e.exports=r.f("iterator")},1661:function(e,t,n){"use strict";n(8537),n(3669);var r=n(560);e.exports=r.f("toPrimitive")},4997:function(e,t,n){"use strict";var r=n(6040);e.exports=r},2321:function(e,t,n){"use strict";var r=n(7264);n(3939),n(1785),n(1697),n(4664),n(3422),n(36),n(8703),n(6878),n(9671),n(359),e.exports=r},2231:function(e,t,n){"use strict";var r=n(9692);e.exports=r},9280:function(e,t,n){"use strict";var r=n(5663);e.exports=r},2159:function(e,t,n){"use strict";var r=n(2250),a=n(4640),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(a(e)+" is not a function")}},43:function(e,t,n){"use strict";var r=n(4018),a=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+a(e)+" as a prototype")}},2156:function(e){"use strict";e.exports=function(){}},6624:function(e,t,n){"use strict";var r=n(6285),a=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(a(e)+" is not an object")}},4436:function(e,t,n){"use strict";var r=n(7374),a=n(4849),i=n(575),s=function(e){return function(t,n,s){var o=r(t),c=i(o);if(0===c)return!e&&-1;var u,m=a(s,c);if(e&&n!=n){for(;c>m;)if((u=o[m++])!=u)return!0}else for(;c>m;m++)if((e||m in o)&&o[m]===n)return e||m||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},726:function(e,t,n){"use strict";var r=n(8311),a=n(1907),i=n(6946),s=n(9298),o=n(575),c=n(6968),u=a([].push),m=function(e){var t=1===e,n=2===e,a=3===e,m=4===e,l=6===e,p=7===e,d=5===e||l;return function(h,y,f,g){for(var N,x,v=s(h),w=i(v),C=o(w),b=r(y,f),P=0,S=g||c,z=t?S(h,C):n||p?S(h,0):void 0;C>P;P++)if((d||P in w)&&(x=b(N=w[P],P,v),e))if(t)z[P]=x;else if(x)switch(e){case 3:return!0;case 5:return N;case 6:return P;case 2:u(z,N)}else switch(e){case 4:return!1;case 7:u(z,N)}return l?-1:a||m?m:z}};e.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6),filterReject:m(7)}},7171:function(e,t,n){"use strict";var r=n(8828),a=n(6264),i=n(798),s=a("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},3427:function(e,t,n){"use strict";var r=n(1907);e.exports=r([].slice)},4010:function(e,t,n){"use strict";var r=n(1793),a=n(5468),i=n(6285),s=n(6264)("species"),o=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(a(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}},6968:function(e,t,n){"use strict";var r=n(4010);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},5807:function(e,t,n){"use strict";var r=n(1907),a=r({}.toString),i=r("".slice);e.exports=function(e){return i(a(e),8,-1)}},3948:function(e,t,n){"use strict";var r=n(2623),a=n(2250),i=n(5807),s=n(6264)("toStringTag"),o=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=o(e),s))?n:c?i(t):"Object"===(r=i(t))&&a(t.callee)?"Arguments":r}},7382:function(e,t,n){"use strict";var r=n(8828);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},9550:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},1626:function(e,t,n){"use strict";var r=n(9447),a=n(4284),i=n(5817);e.exports=r?function(e,t,n){return a.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},5817:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5543:function(e,t,n){"use strict";var r=n(9447),a=n(4284),i=n(5817);e.exports=function(e,t,n){r?a.f(e,t,i(0,n)):e[t]=n}},9251:function(e,t,n){"use strict";var r=n(4284);e.exports=function(e,t,n){return r.f(e,t,n)}},8055:function(e,t,n){"use strict";var r=n(1626);e.exports=function(e,t,n,a){return a&&a.enumerable?e[t]=n:r(e,t,n),e}},2532:function(e,t,n){"use strict";var r=n(5951),a=Object.defineProperty;e.exports=function(e,t){try{a(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},9447:function(e,t,n){"use strict";var r=n(8828);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9552:function(e,t,n){"use strict";var r=n(5951),a=n(6285),i=r.document,s=a(i)&&a(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},8024:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},9287:function(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},376:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6794:function(e,t,n){"use strict";var r=n(5951).navigator,a=r&&r.userAgent;e.exports=a?String(a):""},798:function(e,t,n){"use strict";var r,a,i=n(5951),s=n(6794),o=i.process,c=i.Deno,u=o&&o.versions||c&&c.version,m=u&&u.v8;m&&(a=(r=m.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(a=+r[1]),e.exports=a},1091:function(e,t,n){"use strict";var r=n(5951),a=n(6024),i=n(2361),s=n(2250),o=n(3846).f,c=n(7463),u=n(2046),m=n(8311),l=n(1626),p=n(9724);n(6128);var d=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return a(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,a,h,y,f,g,N,x,v,w=e.target,C=e.global,b=e.stat,P=e.proto,S=C?r:b?r[w]:r[w]&&r[w].prototype,z=C?u:u[w]||l(u,w,{})[w],_=z.prototype;for(y in t)a=!(n=c(C?y:w+(b?".":"#")+y,e.forced))&&S&&p(S,y),g=z[y],a&&(N=e.dontCallGetSet?(v=o(S,y))&&v.value:S[y]),f=a&&N?N:t[y],(n||P||typeof g!=typeof f)&&(x=e.bind&&a?m(f,r):e.wrap&&a?d(f):P&&s(f)?i(f):f,(e.sham||f&&f.sham||g&&g.sham)&&l(x,"sham",!0),l(z,y,x),P&&(p(u,h=w+"Prototype")||l(u,h,{}),l(u[h],y,f),e.real&&_&&(n||!_[y])&&l(_,y,f)))}},8828:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},6024:function(e,t,n){"use strict";var r=n(1505),a=Function.prototype,i=a.apply,s=a.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?s.bind(i):function(){return s.apply(i,arguments)})},8311:function(e,t,n){"use strict";var r=n(2361),a=n(2159),i=n(1505),s=r(r.bind);e.exports=function(e,t){return a(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},1505:function(e,t,n){"use strict";var r=n(8828);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},3930:function(e,t,n){"use strict";var r=n(1505),a=Function.prototype.call;e.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},6833:function(e,t,n){"use strict";var r=n(9447),a=n(9724),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,o=a(i,"name"),c=o&&"something"===function(){}.name,u=o&&(!r||r&&s(i,"name").configurable);e.exports={EXISTS:o,PROPER:c,CONFIGURABLE:u}},1871:function(e,t,n){"use strict";var r=n(1907),a=n(2159);e.exports=function(e,t,n){try{return r(a(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},2361:function(e,t,n){"use strict";var r=n(5807),a=n(1907);e.exports=function(e){if("Function"===r(e))return a(e)}},1907:function(e,t,n){"use strict";var r=n(1505),a=Function.prototype,i=a.call,s=r&&a.bind.bind(i,i);e.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}},5582:function(e,t,n){"use strict";var r=n(2046),a=n(5951),i=n(2250),s=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?s(r[e])||s(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},6656:function(e,t,n){"use strict";var r=n(1907),a=n(1793),i=n(2250),s=n(5807),o=n(160),c=r([].push);e.exports=function(e){if(i(e))return e;if(a(e)){for(var t=e.length,n=[],r=0;r<t;r++){var u=e[r];"string"==typeof u?c(n,u):"number"!=typeof u&&"Number"!==s(u)&&"String"!==s(u)||c(n,o(u))}var m=n.length,l=!0;return function(e,t){if(l)return l=!1,t;if(a(this))return t;for(var r=0;r<m;r++)if(n[r]===e)return t}}}},9367:function(e,t,n){"use strict";var r=n(2159),a=n(7136);e.exports=function(e,t){var n=e[t];return a(n)?void 0:r(n)}},5951:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9724:function(e,t,n){"use strict";var r=n(1907),a=n(9298),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(a(e),t)}},8530:function(e){"use strict";e.exports={}},2416:function(e,t,n){"use strict";var r=n(5582);e.exports=r("document","documentElement")},3648:function(e,t,n){"use strict";var r=n(9447),a=n(8828),i=n(9552);e.exports=!r&&!a((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},6946:function(e,t,n){"use strict";var r=n(1907),a=n(8828),i=n(5807),s=Object,o=r("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?o(e,""):s(e)}:s},2647:function(e,t,n){"use strict";var r=n(1907),a=n(2250),i=n(6128),s=r(Function.toString);a(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},4932:function(e,t,n){"use strict";var r,a,i,s=n(551),o=n(5951),c=n(6285),u=n(1626),m=n(9724),l=n(6128),p=n(2522),d=n(8530),h="Object already initialized",y=o.TypeError,f=o.WeakMap;if(s||l.state){var g=l.state||(l.state=new f);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw new y(h);return t.facade=e,g.set(e,t),t},a=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var N=p("state");d[N]=!0,r=function(e,t){if(m(e,N))throw new y(h);return t.facade=e,u(e,N,t),t},a=function(e){return m(e,N)?e[N]:{}},i=function(e){return m(e,N)}}e.exports={set:r,get:a,has:i,enforce:function(e){return i(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw new y("Incompatible receiver, "+e+" required");return n}}}},1793:function(e,t,n){"use strict";var r=n(5807);e.exports=Array.isArray||function(e){return"Array"===r(e)}},2250:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},5468:function(e,t,n){"use strict";var r=n(1907),a=n(8828),i=n(2250),s=n(3948),o=n(5582),c=n(2647),u=function(){},m=o("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=r(l.exec),d=!l.test(u),h=function(e){if(!i(e))return!1;try{return m(u,[],e),!0}catch(e){return!1}},y=function(e){if(!i(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(l,c(e))}catch(e){return!0}};y.sham=!0,e.exports=!m||a((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?y:h},7463:function(e,t,n){"use strict";var r=n(8828),a=n(2250),i=/#|\.prototype\./,s=function(e,t){var n=c[o(e)];return n===m||n!==u&&(a(t)?r(t):!!t)},o=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",m=s.POLYFILL="P";e.exports=s},7136:function(e){"use strict";e.exports=function(e){return null==e}},6285:function(e,t,n){"use strict";var r=n(2250);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},4018:function(e,t,n){"use strict";var r=n(6285);e.exports=function(e){return r(e)||null===e}},7376:function(e){"use strict";e.exports=!0},5594:function(e,t,n){"use strict";var r=n(5582),a=n(2250),i=n(8280),s=n(1175),o=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return a(t)&&i(t.prototype,o(e))}},7181:function(e,t,n){"use strict";var r=n(5116).IteratorPrototype,a=n(8075),i=n(5817),s=n(4840),o=n(3742),c=function(){return this};e.exports=function(e,t,n,u){var m=t+" Iterator";return e.prototype=a(r,{next:i(+!u,n)}),s(e,m,!1,!0),o[m]=c,e}},183:function(e,t,n){"use strict";var r=n(1091),a=n(3930),i=n(7376),s=n(6833),o=n(2250),c=n(7181),u=n(5972),m=n(9192),l=n(4840),p=n(1626),d=n(8055),h=n(6264),y=n(3742),f=n(5116),g=s.PROPER,N=s.CONFIGURABLE,x=f.IteratorPrototype,v=f.BUGGY_SAFARI_ITERATORS,w=h("iterator"),C="keys",b="values",P="entries",S=function(){return this};e.exports=function(e,t,n,s,h,f,z){c(n,t,s);var _,A,I,T=function(e){if(e===h&&R)return R;if(!v&&e&&e in E)return E[e];switch(e){case C:case b:case P:return function(){return new n(this,e)}}return function(){return new n(this)}},q=t+" Iterator",M=!1,E=e.prototype,k=E[w]||E["@@iterator"]||h&&E[h],R=!v&&k||T(h),O="Array"===t&&E.entries||k;if(O&&(_=u(O.call(new e)))!==Object.prototype&&_.next&&(i||u(_)===x||(m?m(_,x):o(_[w])||d(_,w,S)),l(_,q,!0,!0),i&&(y[q]=S)),g&&h===b&&k&&k.name!==b&&(!i&&N?p(E,"name",b):(M=!0,R=function(){return a(k,this)})),h)if(A={values:T(b),keys:f?R:T(C),entries:T(P)},z)for(I in A)(v||M||!(I in E))&&d(E,I,A[I]);else r({target:t,proto:!0,forced:v||M},A);return i&&!z||E[w]===R||d(E,w,R,{name:h}),y[t]=R,A}},5116:function(e,t,n){"use strict";var r,a,i,s=n(8828),o=n(2250),c=n(6285),u=n(8075),m=n(5972),l=n(8055),p=n(6264),d=n(7376),h=p("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(a=m(m(i)))!==Object.prototype&&(r=a):y=!0),!c(r)||s((function(){var e={};return r[h].call(e)!==e}))?r={}:d&&(r=u(r)),o(r[h])||l(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},3742:function(e){"use strict";e.exports={}},575:function(e,t,n){"use strict";var r=n(3121);e.exports=function(e){return r(e.length)}},1176:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},8075:function(e,t,n){"use strict";var r,a=n(6624),i=n(2220),s=n(376),o=n(8530),c=n(2416),u=n(9552),m=n(2522),l="prototype",p="script",d=m("IE_PROTO"),h=function(){},y=function(e){return"<"+p+">"+e+"</"+p+">"},f=function(e){e.write(y("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&r?f(r):(t=u("iframe"),n="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(y("document.F=Object")),e.close(),e.F):f(r);for(var a=s.length;a--;)delete g[l][s[a]];return g()};o[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[l]=a(e),n=new h,h[l]=null,n[d]=e):n=g(),void 0===t?n:i.f(n,t)}},2220:function(e,t,n){"use strict";var r=n(9447),a=n(8661),i=n(4284),s=n(6624),o=n(7374),c=n(2875);t.f=r&&!a?Object.defineProperties:function(e,t){s(e);for(var n,r=o(t),a=c(t),u=a.length,m=0;u>m;)i.f(e,n=a[m++],r[n]);return e}},4284:function(e,t,n){"use strict";var r=n(9447),a=n(3648),i=n(8661),s=n(6624),o=n(470),c=TypeError,u=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",d="writable";t.f=r?i?function(e,t,n){if(s(e),t=o(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=m(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:l in n?n[l]:r[l],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(s(e),t=o(t),s(n),a)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},3846:function(e,t,n){"use strict";var r=n(9447),a=n(3930),i=n(2574),s=n(5817),o=n(7374),c=n(470),u=n(9724),m=n(3648),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=o(e),t=c(t),m)try{return l(e,t)}catch(e){}if(u(e,t))return s(!a(i.f,e,t),e[t])}},5407:function(e,t,n){"use strict";var r=n(5807),a=n(7374),i=n(4443).f,s=n(3427),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"Window"===r(e)?function(e){try{return i(e)}catch(e){return s(o)}}(e):i(a(e))}},4443:function(e,t,n){"use strict";var r=n(3045),a=n(376).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},7170:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},5972:function(e,t,n){"use strict";var r=n(9724),a=n(2250),i=n(9298),s=n(2522),o=n(7382),c=s("IE_PROTO"),u=Object,m=u.prototype;e.exports=o?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return a(n)&&t instanceof n?n.prototype:t instanceof u?m:null}},8280:function(e,t,n){"use strict";var r=n(1907);e.exports=r({}.isPrototypeOf)},3045:function(e,t,n){"use strict";var r=n(1907),a=n(9724),i=n(7374),s=n(4436).indexOf,o=n(8530),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,m=[];for(n in r)!a(o,n)&&a(r,n)&&c(m,n);for(;t.length>u;)a(r,n=t[u++])&&(~s(m,n)||c(m,n));return m}},2875:function(e,t,n){"use strict";var r=n(3045),a=n(376);e.exports=Object.keys||function(e){return r(e,a)}},2574:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},9192:function(e,t,n){"use strict";var r=n(1871),a=n(6285),i=n(4239),s=n(43);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),s(r),a(n)?(t?e(n,r):n.__