UNPKG

@chillicream/nitro-embedded

Version:
6 lines 1.37 MB
import{B as Buffer$1,p as process$1,a as Buffer}from"./monaco.3bb3e100.C736ncm0.js";const APP_NAME="Nitro",APP_VERSION="31.0.0",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`;getOsName();isMacLike();function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i,FIFTY_MILLISECONDS=50,ONE_SECOND=1e3,FIVE_SECONDS=5e3,THIRTY_SECONDS=3e4,ONE_MINUTE=6e4,FIVE_MINUTES=3e5,ONE_HOUR=36e5,THREE_HOURS=108e5,SIX_HOURS=216e5,TWELVE_HOURS=432e5,ONE_DAY=864e5,THREE_DAYS=2592e5,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#r;#t;constructor(t,n){this.#e=t,this.#r=n}get aborted(){return this.#e.aborted}get cancelled(){return this.#r()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(t){return this.#e.dispatchEvent(t)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#t)return this.#t;const t=this;let n=!1;return this.#t=new Promise((i,s)=>{if(t.aborted){n=!0,s(TIMEOUT_ABORT_ERROR);return}if(t.cancelled){n=!0,i();return}function a(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",u),n||(n=!0,s(TIMEOUT_ABORT_ERROR))}function u(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",u),n||(n=!0,i())}t.addEventListener("abort",a),t.addEventListener("cancelled",u)}),this.#t}addEventListener(t,n,i){this.#e.addEventListener(t,n,i)}removeEventListener(t,n,i){this.#e.removeEventListener(t,n,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(t){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},t)}get signal(){return this._signal}abort(t){this._controller.abort(t)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function linkAbortSignals(r,t){const n=new AbortController;if(r.aborted||t.aborted)n.abort(r.reason??t.reason);else{let i=function(a){return()=>{n.signal.aborted||n.abort(a.reason)}},s=function(){n.signal.removeEventListener("abort",s),r.removeEventListener("abort",i(r)),t.removeEventListener("abort",i(t))};n.signal.addEventListener("abort",s),r.addEventListener("abort",i(r)),t.addEventListener("abort",i(t))}return n.signal}function createAbortScope(r,t,n){return n?n.aborted?Promise.reject(ABORT_ERROR):(n.addEventListener("abort",r),t().finally(()=>{n.removeEventListener("abort",r)})):t()}function assertUnreachable(r){return null}function encodeBase64(r,t){return Buffer$1.from(r,t).toString("base64")}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var t=r.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var s=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return r[i]}})}),n}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},n={};n.byteLength=h,n.toByteArray=D,n.fromByteArray=jn;for(var i=[],s=[],a=typeof Uint8Array<"u"?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",v=0,on=u.length;v<on;++v)i[v]=u[v],s[u.charCodeAt(v)]=v;s[45]=62,s[95]=63;function l(gi){var Ri=gi.length;if(Ri%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Si=gi.indexOf("=");Si===-1&&(Si=Ri);var wi=Si===Ri?0:4-Si%4;return[Si,wi]}function h(gi){var Ri=l(gi),Si=Ri[0],wi=Ri[1];return(Si+wi)*3/4-wi}function Rn(gi,Ri,Si){return(Ri+Si)*3/4-Si}function D(gi){var Ri,Si=l(gi),wi=Si[0],Ii=Si[1],Ci=new a(Rn(gi,wi,Ii)),Ni=0,Oi=Ii>0?wi-4:wi,Li;for(Li=0;Li<Oi;Li+=4)Ri=s[gi.charCodeAt(Li)]<<18|s[gi.charCodeAt(Li+1)]<<12|s[gi.charCodeAt(Li+2)]<<6|s[gi.charCodeAt(Li+3)],Ci[Ni++]=Ri>>16&255,Ci[Ni++]=Ri>>8&255,Ci[Ni++]=Ri&255;return Ii===2&&(Ri=s[gi.charCodeAt(Li)]<<2|s[gi.charCodeAt(Li+1)]>>4,Ci[Ni++]=Ri&255),Ii===1&&(Ri=s[gi.charCodeAt(Li)]<<10|s[gi.charCodeAt(Li+1)]<<4|s[gi.charCodeAt(Li+2)]>>2,Ci[Ni++]=Ri>>8&255,Ci[Ni++]=Ri&255),Ci}function Mn(gi){return i[gi>>18&63]+i[gi>>12&63]+i[gi>>6&63]+i[gi&63]}function Ln(gi,Ri,Si){for(var wi,Ii=[],Ci=Ri;Ci<Si;Ci+=3)wi=(gi[Ci]<<16&16711680)+(gi[Ci+1]<<8&65280)+(gi[Ci+2]&255),Ii.push(Mn(wi));return Ii.join("")}function jn(gi){for(var Ri,Si=gi.length,wi=Si%3,Ii=[],Ci=16383,Ni=0,Oi=Si-wi;Ni<Oi;Ni+=Ci)Ii.push(Ln(gi,Ni,Ni+Ci>Oi?Oi:Ni+Ci));return wi===1?(Ri=gi[Si-1],Ii.push(i[Ri>>2]+i[Ri<<4&63]+"==")):wi===2&&(Ri=(gi[Si-2]<<8)+gi[Si-1],Ii.push(i[Ri>>10]+i[Ri>>4&63]+i[Ri<<2&63]+"=")),Ii.join("")}var hi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */hi.read=function(gi,Ri,Si,wi,Ii){var Ci,Ni,Oi=Ii*8-wi-1,Li=(1<<Oi)-1,Fi=Li>>1,bi=-7,Yn=Si?Ii-1:0,In=Si?-1:1,Hn=gi[Ri+Yn];for(Yn+=In,Ci=Hn&(1<<-bi)-1,Hn>>=-bi,bi+=Oi;bi>0;Ci=Ci*256+gi[Ri+Yn],Yn+=In,bi-=8);for(Ni=Ci&(1<<-bi)-1,Ci>>=-bi,bi+=wi;bi>0;Ni=Ni*256+gi[Ri+Yn],Yn+=In,bi-=8);if(Ci===0)Ci=1-Fi;else{if(Ci===Li)return Ni?NaN:(Hn?-1:1)*(1/0);Ni=Ni+Math.pow(2,wi),Ci=Ci-Fi}return(Hn?-1:1)*Ni*Math.pow(2,Ci-wi)},hi.write=function(gi,Ri,Si,wi,Ii,Ci){var Ni,Oi,Li,Fi=Ci*8-Ii-1,bi=(1<<Fi)-1,Yn=bi>>1,In=Ii===23?Math.pow(2,-24)-Math.pow(2,-77):0,Hn=wi?0:Ci-1,yi=wi?1:-1,mi=Ri<0||Ri===0&&1/Ri<0?1:0;for(Ri=Math.abs(Ri),isNaN(Ri)||Ri===1/0?(Oi=isNaN(Ri)?1:0,Ni=bi):(Ni=Math.floor(Math.log(Ri)/Math.LN2),Ri*(Li=Math.pow(2,-Ni))<1&&(Ni--,Li*=2),Ni+Yn>=1?Ri+=In/Li:Ri+=In*Math.pow(2,1-Yn),Ri*Li>=2&&(Ni++,Li/=2),Ni+Yn>=bi?(Oi=0,Ni=bi):Ni+Yn>=1?(Oi=(Ri*Li-1)*Math.pow(2,Ii),Ni=Ni+Yn):(Oi=Ri*Math.pow(2,Yn-1)*Math.pow(2,Ii),Ni=0));Ii>=8;gi[Si+Hn]=Oi&255,Hn+=yi,Oi/=256,Ii-=8);for(Ni=Ni<<Ii|Oi,Fi+=Ii;Fi>0;gi[Si+Hn]=Ni&255,Hn+=yi,Ni/=256,Fi-=8);gi[Si+Hn-yi]|=mi*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */(function(gi){const Ri=n,Si=hi,wi=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;gi.Buffer=bi,gi.SlowBuffer=Ai,gi.INSPECT_MAX_BYTES=50;const Ii=2147483647;gi.kMaxLength=Ii;const{Uint8Array:Ci,ArrayBuffer:Ni,SharedArrayBuffer:Oi}=globalThis;bi.TYPED_ARRAY_SUPPORT=Li(),!bi.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&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.");function Li(){try{const Vi=new Ci(1),Bi={foo:function(){return 42}};return Object.setPrototypeOf(Bi,Ci.prototype),Object.setPrototypeOf(Vi,Bi),Vi.foo()===42}catch{return!1}}Object.defineProperty(bi.prototype,"parent",{enumerable:!0,get:function(){if(bi.isBuffer(this))return this.buffer}}),Object.defineProperty(bi.prototype,"offset",{enumerable:!0,get:function(){if(bi.isBuffer(this))return this.byteOffset}});function Fi(Vi){if(Vi>Ii)throw new RangeError('The value "'+Vi+'" is invalid for option "size"');const Bi=new Ci(Vi);return Object.setPrototypeOf(Bi,bi.prototype),Bi}function bi(Vi,Bi,$i){if(typeof Vi=="number"){if(typeof Bi=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return yi(Vi)}return Yn(Vi,Bi,$i)}bi.poolSize=8192;function Yn(Vi,Bi,$i){if(typeof Vi=="string")return mi(Vi,Bi);if(Ni.isView(Vi))return Ti(Vi);if(Vi==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Vi);if(qa(Vi,Ni)||Vi&&qa(Vi.buffer,Ni)||typeof Oi<"u"&&(qa(Vi,Oi)||Vi&&qa(Vi.buffer,Oi)))return Ei(Vi,Bi,$i);if(typeof Vi=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Yi=Vi.valueOf&&Vi.valueOf();if(Yi!=null&&Yi!==Vi)return bi.from(Yi,Bi,$i);const ra=xi(Vi);if(ra)return ra;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Vi[Symbol.toPrimitive]=="function")return bi.from(Vi[Symbol.toPrimitive]("string"),Bi,$i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Vi)}bi.from=function(Vi,Bi,$i){return Yn(Vi,Bi,$i)},Object.setPrototypeOf(bi.prototype,Ci.prototype),Object.setPrototypeOf(bi,Ci);function In(Vi){if(typeof Vi!="number")throw new TypeError('"size" argument must be of type number');if(Vi<0)throw new RangeError('The value "'+Vi+'" is invalid for option "size"')}function Hn(Vi,Bi,$i){return In(Vi),Vi<=0?Fi(Vi):Bi!==void 0?typeof $i=="string"?Fi(Vi).fill(Bi,$i):Fi(Vi).fill(Bi):Fi(Vi)}bi.alloc=function(Vi,Bi,$i){return Hn(Vi,Bi,$i)};function yi(Vi){return In(Vi),Fi(Vi<0?0:Wn(Vi)|0)}bi.allocUnsafe=function(Vi){return yi(Vi)},bi.allocUnsafeSlow=function(Vi){return yi(Vi)};function mi(Vi,Bi){if((typeof Bi!="string"||Bi==="")&&(Bi="utf8"),!bi.isEncoding(Bi))throw new TypeError("Unknown encoding: "+Bi);const $i=ki(Vi,Bi)|0;let Yi=Fi($i);const ra=Yi.write(Vi,Bi);return ra!==$i&&(Yi=Yi.slice(0,ra)),Yi}function _i(Vi){const Bi=Vi.length<0?0:Wn(Vi.length)|0,$i=Fi(Bi);for(let Yi=0;Yi<Bi;Yi+=1)$i[Yi]=Vi[Yi]&255;return $i}function Ti(Vi){if(qa(Vi,Ci)){const Bi=new Ci(Vi);return Ei(Bi.buffer,Bi.byteOffset,Bi.byteLength)}return _i(Vi)}function Ei(Vi,Bi,$i){if(Bi<0||Vi.byteLength<Bi)throw new RangeError('"offset" is outside of buffer bounds');if(Vi.byteLength<Bi+($i||0))throw new RangeError('"length" is outside of buffer bounds');let Yi;return Bi===void 0&&$i===void 0?Yi=new Ci(Vi):$i===void 0?Yi=new Ci(Vi,Bi):Yi=new Ci(Vi,Bi,$i),Object.setPrototypeOf(Yi,bi.prototype),Yi}function xi(Vi){if(bi.isBuffer(Vi)){const Bi=Wn(Vi.length)|0,$i=Fi(Bi);return $i.length===0||Vi.copy($i,0,0,Bi),$i}if(Vi.length!==void 0)return typeof Vi.length!="number"||Fa(Vi.length)?Fi(0):_i(Vi);if(Vi.type==="Buffer"&&Array.isArray(Vi.data))return _i(Vi.data)}function Wn(Vi){if(Vi>=Ii)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ii.toString(16)+" bytes");return Vi|0}function Ai(Vi){return+Vi!=Vi&&(Vi=0),bi.alloc(+Vi)}bi.isBuffer=function(Bi){return Bi!=null&&Bi._isBuffer===!0&&Bi!==bi.prototype},bi.compare=function(Bi,$i){if(qa(Bi,Ci)&&(Bi=bi.from(Bi,Bi.offset,Bi.byteLength)),qa($i,Ci)&&($i=bi.from($i,$i.offset,$i.byteLength)),!bi.isBuffer(Bi)||!bi.isBuffer($i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Bi===$i)return 0;let Yi=Bi.length,ra=$i.length;for(let aa=0,oa=Math.min(Yi,ra);aa<oa;++aa)if(Bi[aa]!==$i[aa]){Yi=Bi[aa],ra=$i[aa];break}return Yi<ra?-1:ra<Yi?1:0},bi.isEncoding=function(Bi){switch(String(Bi).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}},bi.concat=function(Bi,$i){if(!Array.isArray(Bi))throw new TypeError('"list" argument must be an Array of Buffers');if(Bi.length===0)return bi.alloc(0);let Yi;if($i===void 0)for($i=0,Yi=0;Yi<Bi.length;++Yi)$i+=Bi[Yi].length;const ra=bi.allocUnsafe($i);let aa=0;for(Yi=0;Yi<Bi.length;++Yi){let oa=Bi[Yi];if(qa(oa,Ci))aa+oa.length>ra.length?(bi.isBuffer(oa)||(oa=bi.from(oa)),oa.copy(ra,aa)):Ci.prototype.set.call(ra,oa,aa);else if(bi.isBuffer(oa))oa.copy(ra,aa);else throw new TypeError('"list" argument must be an Array of Buffers');aa+=oa.length}return ra};function ki(Vi,Bi){if(bi.isBuffer(Vi))return Vi.length;if(Ni.isView(Vi)||qa(Vi,Ni))return Vi.byteLength;if(typeof Vi!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Vi);const $i=Vi.length,Yi=arguments.length>2&&arguments[2]===!0;if(!Yi&&$i===0)return 0;let ra=!1;for(;;)switch(Bi){case"ascii":case"latin1":case"binary":return $i;case"utf8":case"utf-8":return Aa(Vi).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $i*2;case"hex":return $i>>>1;case"base64":return Ia(Vi).length;default:if(ra)return Yi?-1:Aa(Vi).length;Bi=(""+Bi).toLowerCase(),ra=!0}}bi.byteLength=ki;function ji(Vi,Bi,$i){let Yi=!1;if((Bi===void 0||Bi<0)&&(Bi=0),Bi>this.length||(($i===void 0||$i>this.length)&&($i=this.length),$i<=0)||($i>>>=0,Bi>>>=0,$i<=Bi))return"";for(Vi||(Vi="utf8");;)switch(Vi){case"hex":return ua(this,Bi,$i);case"utf8":case"utf-8":return zi(this,Bi,$i);case"ascii":return Zi(this,Bi,$i);case"latin1":case"binary":return Ji(this,Bi,$i);case"base64":return Qi(this,Bi,$i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xi(this,Bi,$i);default:if(Yi)throw new TypeError("Unknown encoding: "+Vi);Vi=(Vi+"").toLowerCase(),Yi=!0}}bi.prototype._isBuffer=!0;function Ki(Vi,Bi,$i){const Yi=Vi[Bi];Vi[Bi]=Vi[$i],Vi[$i]=Yi}bi.prototype.swap16=function(){const Bi=this.length;if(Bi%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let $i=0;$i<Bi;$i+=2)Ki(this,$i,$i+1);return this},bi.prototype.swap32=function(){const Bi=this.length;if(Bi%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let $i=0;$i<Bi;$i+=4)Ki(this,$i,$i+3),Ki(this,$i+1,$i+2);return this},bi.prototype.swap64=function(){const Bi=this.length;if(Bi%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let $i=0;$i<Bi;$i+=8)Ki(this,$i,$i+7),Ki(this,$i+1,$i+6),Ki(this,$i+2,$i+5),Ki(this,$i+3,$i+4);return this},bi.prototype.toString=function(){const Bi=this.length;return Bi===0?"":arguments.length===0?zi(this,0,Bi):ji.apply(this,arguments)},bi.prototype.toLocaleString=bi.prototype.toString,bi.prototype.equals=function(Bi){if(!bi.isBuffer(Bi))throw new TypeError("Argument must be a Buffer");return this===Bi?!0:bi.compare(this,Bi)===0},bi.prototype.inspect=function(){let Bi="";const $i=gi.INSPECT_MAX_BYTES;return Bi=this.toString("hex",0,$i).replace(/(.{2})/g,"$1 ").trim(),this.length>$i&&(Bi+=" ... "),"<Buffer "+Bi+">"},wi&&(bi.prototype[wi]=bi.prototype.inspect),bi.prototype.compare=function(Bi,$i,Yi,ra,aa){if(qa(Bi,Ci)&&(Bi=bi.from(Bi,Bi.offset,Bi.byteLength)),!bi.isBuffer(Bi))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Bi);if($i===void 0&&($i=0),Yi===void 0&&(Yi=Bi?Bi.length:0),ra===void 0&&(ra=0),aa===void 0&&(aa=this.length),$i<0||Yi>Bi.length||ra<0||aa>this.length)throw new RangeError("out of range index");if(ra>=aa&&$i>=Yi)return 0;if(ra>=aa)return-1;if($i>=Yi)return 1;if($i>>>=0,Yi>>>=0,ra>>>=0,aa>>>=0,this===Bi)return 0;let oa=aa-ra,Ra=Yi-$i;const Da=Math.min(oa,Ra),pa=this.slice(ra,aa),Ca=Bi.slice($i,Yi);for(let _a=0;_a<Da;++_a)if(pa[_a]!==Ca[_a]){oa=pa[_a],Ra=Ca[_a];break}return oa<Ra?-1:Ra<oa?1:0};function qi(Vi,Bi,$i,Yi,ra){if(Vi.length===0)return-1;if(typeof $i=="string"?(Yi=$i,$i=0):$i>2147483647?$i=2147483647:$i<-2147483648&&($i=-2147483648),$i=+$i,Fa($i)&&($i=ra?0:Vi.length-1),$i<0&&($i=Vi.length+$i),$i>=Vi.length){if(ra)return-1;$i=Vi.length-1}else if($i<0)if(ra)$i=0;else return-1;if(typeof Bi=="string"&&(Bi=bi.from(Bi,Yi)),bi.isBuffer(Bi))return Bi.length===0?-1:Pi(Vi,Bi,$i,Yi,ra);if(typeof Bi=="number")return Bi=Bi&255,typeof Ci.prototype.indexOf=="function"?ra?Ci.prototype.indexOf.call(Vi,Bi,$i):Ci.prototype.lastIndexOf.call(Vi,Bi,$i):Pi(Vi,[Bi],$i,Yi,ra);throw new TypeError("val must be string, number or Buffer")}function Pi(Vi,Bi,$i,Yi,ra){let aa=1,oa=Vi.length,Ra=Bi.length;if(Yi!==void 0&&(Yi=String(Yi).toLowerCase(),Yi==="ucs2"||Yi==="ucs-2"||Yi==="utf16le"||Yi==="utf-16le")){if(Vi.length<2||Bi.length<2)return-1;aa=2,oa/=2,Ra/=2,$i/=2}function Da(Ca,_a){return aa===1?Ca[_a]:Ca.readUInt16BE(_a*aa)}let pa;if(ra){let Ca=-1;for(pa=$i;pa<oa;pa++)if(Da(Vi,pa)===Da(Bi,Ca===-1?0:pa-Ca)){if(Ca===-1&&(Ca=pa),pa-Ca+1===Ra)return Ca*aa}else Ca!==-1&&(pa-=pa-Ca),Ca=-1}else for($i+Ra>oa&&($i=oa-Ra),pa=$i;pa>=0;pa--){let Ca=!0;for(let _a=0;_a<Ra;_a++)if(Da(Vi,pa+_a)!==Da(Bi,_a)){Ca=!1;break}if(Ca)return pa}return-1}bi.prototype.includes=function(Bi,$i,Yi){return this.indexOf(Bi,$i,Yi)!==-1},bi.prototype.indexOf=function(Bi,$i,Yi){return qi(this,Bi,$i,Yi,!0)},bi.prototype.lastIndexOf=function(Bi,$i,Yi){return qi(this,Bi,$i,Yi,!1)};function Wi(Vi,Bi,$i,Yi){$i=Number($i)||0;const ra=Vi.length-$i;Yi?(Yi=Number(Yi),Yi>ra&&(Yi=ra)):Yi=ra;const aa=Bi.length;Yi>aa/2&&(Yi=aa/2);let oa;for(oa=0;oa<Yi;++oa){const Ra=parseInt(Bi.substr(oa*2,2),16);if(Fa(Ra))return oa;Vi[$i+oa]=Ra}return oa}function Hi(Vi,Bi,$i,Yi){return ba(Aa(Bi,Vi.length-$i),Vi,$i,Yi)}function Ui(Vi,Bi,$i,Yi){return ba(ya(Bi),Vi,$i,Yi)}function Mi(Vi,Bi,$i,Yi){return ba(Ia(Bi),Vi,$i,Yi)}function Gi(Vi,Bi,$i,Yi){return ba(Pa(Bi,Vi.length-$i),Vi,$i,Yi)}bi.prototype.write=function(Bi,$i,Yi,ra){if($i===void 0)ra="utf8",Yi=this.length,$i=0;else if(Yi===void 0&&typeof $i=="string")ra=$i,Yi=this.length,$i=0;else if(isFinite($i))$i=$i>>>0,isFinite(Yi)?(Yi=Yi>>>0,ra===void 0&&(ra="utf8")):(ra=Yi,Yi=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const aa=this.length-$i;if((Yi===void 0||Yi>aa)&&(Yi=aa),Bi.length>0&&(Yi<0||$i<0)||$i>this.length)throw new RangeError("Attempt to write outside buffer bounds");ra||(ra="utf8");let oa=!1;for(;;)switch(ra){case"hex":return Wi(this,Bi,$i,Yi);case"utf8":case"utf-8":return Hi(this,Bi,$i,Yi);case"ascii":case"latin1":case"binary":return Ui(this,Bi,$i,Yi);case"base64":return Mi(this,Bi,$i,Yi);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Gi(this,Bi,$i,Yi);default:if(oa)throw new TypeError("Unknown encoding: "+ra);ra=(""+ra).toLowerCase(),oa=!0}},bi.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Qi(Vi,Bi,$i){return Bi===0&&$i===Vi.length?Ri.fromByteArray(Vi):Ri.fromByteArray(Vi.slice(Bi,$i))}function zi(Vi,Bi,$i){$i=Math.min(Vi.length,$i);const Yi=[];let ra=Bi;for(;ra<$i;){const aa=Vi[ra];let oa=null,Ra=aa>239?4:aa>223?3:aa>191?2:1;if(ra+Ra<=$i){let Da,pa,Ca,_a;switch(Ra){case 1:aa<128&&(oa=aa);break;case 2:Da=Vi[ra+1],(Da&192)===128&&(_a=(aa&31)<<6|Da&63,_a>127&&(oa=_a));break;case 3:Da=Vi[ra+1],pa=Vi[ra+2],(Da&192)===128&&(pa&192)===128&&(_a=(aa&15)<<12|(Da&63)<<6|pa&63,_a>2047&&(_a<55296||_a>57343)&&(oa=_a));break;case 4:Da=Vi[ra+1],pa=Vi[ra+2],Ca=Vi[ra+3],(Da&192)===128&&(pa&192)===128&&(Ca&192)===128&&(_a=(aa&15)<<18|(Da&63)<<12|(pa&63)<<6|Ca&63,_a>65535&&_a<1114112&&(oa=_a))}}oa===null?(oa=65533,Ra=1):oa>65535&&(oa-=65536,Yi.push(oa>>>10&1023|55296),oa=56320|oa&1023),Yi.push(oa),ra+=Ra}return ia(Yi)}const ea=4096;function ia(Vi){const Bi=Vi.length;if(Bi<=ea)return String.fromCharCode.apply(String,Vi);let $i="",Yi=0;for(;Yi<Bi;)$i+=String.fromCharCode.apply(String,Vi.slice(Yi,Yi+=ea));return $i}function Zi(Vi,Bi,$i){let Yi="";$i=Math.min(Vi.length,$i);for(let ra=Bi;ra<$i;++ra)Yi+=String.fromCharCode(Vi[ra]&127);return Yi}function Ji(Vi,Bi,$i){let Yi="";$i=Math.min(Vi.length,$i);for(let ra=Bi;ra<$i;++ra)Yi+=String.fromCharCode(Vi[ra]);return Yi}function ua(Vi,Bi,$i){const Yi=Vi.length;(!Bi||Bi<0)&&(Bi=0),(!$i||$i<0||$i>Yi)&&($i=Yi);let ra="";for(let aa=Bi;aa<$i;++aa)ra+=xa[Vi[aa]];return ra}function Xi(Vi,Bi,$i){const Yi=Vi.slice(Bi,$i);let ra="";for(let aa=0;aa<Yi.length-1;aa+=2)ra+=String.fromCharCode(Yi[aa]+Yi[aa+1]*256);return ra}bi.prototype.slice=function(Bi,$i){const Yi=this.length;Bi=~~Bi,$i=$i===void 0?Yi:~~$i,Bi<0?(Bi+=Yi,Bi<0&&(Bi=0)):Bi>Yi&&(Bi=Yi),$i<0?($i+=Yi,$i<0&&($i=0)):$i>Yi&&($i=Yi),$i<Bi&&($i=Bi);const ra=this.subarray(Bi,$i);return Object.setPrototypeOf(ra,bi.prototype),ra};function na(Vi,Bi,$i){if(Vi%1!==0||Vi<0)throw new RangeError("offset is not uint");if(Vi+Bi>$i)throw new RangeError("Trying to access beyond buffer length")}bi.prototype.readUintLE=bi.prototype.readUIntLE=function(Bi,$i,Yi){Bi=Bi>>>0,$i=$i>>>0,Yi||na(Bi,$i,this.length);let ra=this[Bi],aa=1,oa=0;for(;++oa<$i&&(aa*=256);)ra+=this[Bi+oa]*aa;return ra},bi.prototype.readUintBE=bi.prototype.readUIntBE=function(Bi,$i,Yi){Bi=Bi>>>0,$i=$i>>>0,Yi||na(Bi,$i,this.length);let ra=this[Bi+--$i],aa=1;for(;$i>0&&(aa*=256);)ra+=this[Bi+--$i]*aa;return ra},bi.prototype.readUint8=bi.prototype.readUInt8=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,1,this.length),this[Bi]},bi.prototype.readUint16LE=bi.prototype.readUInt16LE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,2,this.length),this[Bi]|this[Bi+1]<<8},bi.prototype.readUint16BE=bi.prototype.readUInt16BE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,2,this.length),this[Bi]<<8|this[Bi+1]},bi.prototype.readUint32LE=bi.prototype.readUInt32LE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,4,this.length),(this[Bi]|this[Bi+1]<<8|this[Bi+2]<<16)+this[Bi+3]*16777216},bi.prototype.readUint32BE=bi.prototype.readUInt32BE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,4,this.length),this[Bi]*16777216+(this[Bi+1]<<16|this[Bi+2]<<8|this[Bi+3])},bi.prototype.readBigUInt64LE=Ba(function(Bi){Bi=Bi>>>0,Na(Bi,"offset");const $i=this[Bi],Yi=this[Bi+7];($i===void 0||Yi===void 0)&&Ta(Bi,this.length-8);const ra=$i+this[++Bi]*2**8+this[++Bi]*2**16+this[++Bi]*2**24,aa=this[++Bi]+this[++Bi]*2**8+this[++Bi]*2**16+Yi*2**24;return BigInt(ra)+(BigInt(aa)<<BigInt(32))}),bi.prototype.readBigUInt64BE=Ba(function(Bi){Bi=Bi>>>0,Na(Bi,"offset");const $i=this[Bi],Yi=this[Bi+7];($i===void 0||Yi===void 0)&&Ta(Bi,this.length-8);const ra=$i*2**24+this[++Bi]*2**16+this[++Bi]*2**8+this[++Bi],aa=this[++Bi]*2**24+this[++Bi]*2**16+this[++Bi]*2**8+Yi;return(BigInt(ra)<<BigInt(32))+BigInt(aa)}),bi.prototype.readIntLE=function(Bi,$i,Yi){Bi=Bi>>>0,$i=$i>>>0,Yi||na(Bi,$i,this.length);let ra=this[Bi],aa=1,oa=0;for(;++oa<$i&&(aa*=256);)ra+=this[Bi+oa]*aa;return aa*=128,ra>=aa&&(ra-=Math.pow(2,8*$i)),ra},bi.prototype.readIntBE=function(Bi,$i,Yi){Bi=Bi>>>0,$i=$i>>>0,Yi||na(Bi,$i,this.length);let ra=$i,aa=1,oa=this[Bi+--ra];for(;ra>0&&(aa*=256);)oa+=this[Bi+--ra]*aa;return aa*=128,oa>=aa&&(oa-=Math.pow(2,8*$i)),oa},bi.prototype.readInt8=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,1,this.length),this[Bi]&128?(255-this[Bi]+1)*-1:this[Bi]},bi.prototype.readInt16LE=function(Bi,$i){Bi=Bi>>>0,$i||na(Bi,2,this.length);const Yi=this[Bi]|this[Bi+1]<<8;return Yi&32768?Yi|4294901760:Yi},bi.prototype.readInt16BE=function(Bi,$i){Bi=Bi>>>0,$i||na(Bi,2,this.length);const Yi=this[Bi+1]|this[Bi]<<8;return Yi&32768?Yi|4294901760:Yi},bi.prototype.readInt32LE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,4,this.length),this[Bi]|this[Bi+1]<<8|this[Bi+2]<<16|this[Bi+3]<<24},bi.prototype.readInt32BE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,4,this.length),this[Bi]<<24|this[Bi+1]<<16|this[Bi+2]<<8|this[Bi+3]},bi.prototype.readBigInt64LE=Ba(function(Bi){Bi=Bi>>>0,Na(Bi,"offset");const $i=this[Bi],Yi=this[Bi+7];($i===void 0||Yi===void 0)&&Ta(Bi,this.length-8);const ra=this[Bi+4]+this[Bi+5]*2**8+this[Bi+6]*2**16+(Yi<<24);return(BigInt(ra)<<BigInt(32))+BigInt($i+this[++Bi]*2**8+this[++Bi]*2**16+this[++Bi]*2**24)}),bi.prototype.readBigInt64BE=Ba(function(Bi){Bi=Bi>>>0,Na(Bi,"offset");const $i=this[Bi],Yi=this[Bi+7];($i===void 0||Yi===void 0)&&Ta(Bi,this.length-8);const ra=($i<<24)+this[++Bi]*2**16+this[++Bi]*2**8+this[++Bi];return(BigInt(ra)<<BigInt(32))+BigInt(this[++Bi]*2**24+this[++Bi]*2**16+this[++Bi]*2**8+Yi)}),bi.prototype.readFloatLE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,4,this.length),Si.read(this,Bi,!0,23,4)},bi.prototype.readFloatBE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,4,this.length),Si.read(this,Bi,!1,23,4)},bi.prototype.readDoubleLE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,8,this.length),Si.read(this,Bi,!0,52,8)},bi.prototype.readDoubleBE=function(Bi,$i){return Bi=Bi>>>0,$i||na(Bi,8,this.length),Si.read(this,Bi,!1,52,8)};function ta(Vi,Bi,$i,Yi,ra,aa){if(!bi.isBuffer(Vi))throw new TypeError('"buffer" argument must be a Buffer instance');if(Bi>ra||Bi<aa)throw new RangeError('"value" argument is out of bounds');if($i+Yi>Vi.length)throw new RangeError("Index out of range")}bi.prototype.writeUintLE=bi.prototype.writeUIntLE=function(Bi,$i,Yi,ra){if(Bi=+Bi,$i=$i>>>0,Yi=Yi>>>0,!ra){const Ra=Math.pow(2,8*Yi)-1;ta(this,Bi,$i,Yi,Ra,0)}let aa=1,oa=0;for(this[$i]=Bi&255;++oa<Yi&&(aa*=256);)this[$i+oa]=Bi/aa&255;return $i+Yi},bi.prototype.writeUintBE=bi.prototype.writeUIntBE=function(Bi,$i,Yi,ra){if(Bi=+Bi,$i=$i>>>0,Yi=Yi>>>0,!ra){const Ra=Math.pow(2,8*Yi)-1;ta(this,Bi,$i,Yi,Ra,0)}let aa=Yi-1,oa=1;for(this[$i+aa]=Bi&255;--aa>=0&&(oa*=256);)this[$i+aa]=Bi/oa&255;return $i+Yi},bi.prototype.writeUint8=bi.prototype.writeUInt8=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,1,255,0),this[$i]=Bi&255,$i+1},bi.prototype.writeUint16LE=bi.prototype.writeUInt16LE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,2,65535,0),this[$i]=Bi&255,this[$i+1]=Bi>>>8,$i+2},bi.prototype.writeUint16BE=bi.prototype.writeUInt16BE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,2,65535,0),this[$i]=Bi>>>8,this[$i+1]=Bi&255,$i+2},bi.prototype.writeUint32LE=bi.prototype.writeUInt32LE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,4,4294967295,0),this[$i+3]=Bi>>>24,this[$i+2]=Bi>>>16,this[$i+1]=Bi>>>8,this[$i]=Bi&255,$i+4},bi.prototype.writeUint32BE=bi.prototype.writeUInt32BE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,4,4294967295,0),this[$i]=Bi>>>24,this[$i+1]=Bi>>>16,this[$i+2]=Bi>>>8,this[$i+3]=Bi&255,$i+4};function sa(Vi,Bi,$i,Yi,ra){va(Bi,Yi,ra,Vi,$i,7);let aa=Number(Bi&BigInt(4294967295));Vi[$i++]=aa,aa=aa>>8,Vi[$i++]=aa,aa=aa>>8,Vi[$i++]=aa,aa=aa>>8,Vi[$i++]=aa;let oa=Number(Bi>>BigInt(32)&BigInt(4294967295));return Vi[$i++]=oa,oa=oa>>8,Vi[$i++]=oa,oa=oa>>8,Vi[$i++]=oa,oa=oa>>8,Vi[$i++]=oa,$i}function la(Vi,Bi,$i,Yi,ra){va(Bi,Yi,ra,Vi,$i,7);let aa=Number(Bi&BigInt(4294967295));Vi[$i+7]=aa,aa=aa>>8,Vi[$i+6]=aa,aa=aa>>8,Vi[$i+5]=aa,aa=aa>>8,Vi[$i+4]=aa;let oa=Number(Bi>>BigInt(32)&BigInt(4294967295));return Vi[$i+3]=oa,oa=oa>>8,Vi[$i+2]=oa,oa=oa>>8,Vi[$i+1]=oa,oa=oa>>8,Vi[$i]=oa,$i+8}bi.prototype.writeBigUInt64LE=Ba(function(Bi,$i=0){return sa(this,Bi,$i,BigInt(0),BigInt("0xffffffffffffffff"))}),bi.prototype.writeBigUInt64BE=Ba(function(Bi,$i=0){return la(this,Bi,$i,BigInt(0),BigInt("0xffffffffffffffff"))}),bi.prototype.writeIntLE=function(Bi,$i,Yi,ra){if(Bi=+Bi,$i=$i>>>0,!ra){const Da=Math.pow(2,8*Yi-1);ta(this,Bi,$i,Yi,Da-1,-Da)}let aa=0,oa=1,Ra=0;for(this[$i]=Bi&255;++aa<Yi&&(oa*=256);)Bi<0&&Ra===0&&this[$i+aa-1]!==0&&(Ra=1),this[$i+aa]=(Bi/oa>>0)-Ra&255;return $i+Yi},bi.prototype.writeIntBE=function(Bi,$i,Yi,ra){if(Bi=+Bi,$i=$i>>>0,!ra){const Da=Math.pow(2,8*Yi-1);ta(this,Bi,$i,Yi,Da-1,-Da)}let aa=Yi-1,oa=1,Ra=0;for(this[$i+aa]=Bi&255;--aa>=0&&(oa*=256);)Bi<0&&Ra===0&&this[$i+aa+1]!==0&&(Ra=1),this[$i+aa]=(Bi/oa>>0)-Ra&255;return $i+Yi},bi.prototype.writeInt8=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,1,127,-128),Bi<0&&(Bi=255+Bi+1),this[$i]=Bi&255,$i+1},bi.prototype.writeInt16LE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,2,32767,-32768),this[$i]=Bi&255,this[$i+1]=Bi>>>8,$i+2},bi.prototype.writeInt16BE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,2,32767,-32768),this[$i]=Bi>>>8,this[$i+1]=Bi&255,$i+2},bi.prototype.writeInt32LE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,4,2147483647,-2147483648),this[$i]=Bi&255,this[$i+1]=Bi>>>8,this[$i+2]=Bi>>>16,this[$i+3]=Bi>>>24,$i+4},bi.prototype.writeInt32BE=function(Bi,$i,Yi){return Bi=+Bi,$i=$i>>>0,Yi||ta(this,Bi,$i,4,2147483647,-2147483648),Bi<0&&(Bi=4294967295+Bi+1),this[$i]=Bi>>>24,this[$i+1]=Bi>>>16,this[$i+2]=Bi>>>8,this[$i+3]=Bi&255,$i+4},bi.prototype.writeBigInt64LE=Ba(function(Bi,$i=0){return sa(this,Bi,$i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),bi.prototype.writeBigInt64BE=Ba(function(Bi,$i=0){return la(this,Bi,$i,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function fa(Vi,Bi,$i,Yi,ra,aa){if($i+Yi>Vi.length)throw new RangeError("Index out of range");if($i<0)throw new RangeError("Index out of range")}function ca(Vi,Bi,$i,Yi,ra){return Bi=+Bi,$i=$i>>>0,ra||fa(Vi,Bi,$i,4),Si.write(Vi,Bi,$i,Yi,23,4),$i+4}bi.prototype.writeFloatLE=function(Bi,$i,Yi){return ca(this,Bi,$i,!0,Yi)},bi.prototype.writeFloatBE=function(Bi,$i,Yi){return ca(this,Bi,$i,!1,Yi)};function ga(Vi,Bi,$i,Yi,ra){return Bi=+Bi,$i=$i>>>0,ra||fa(Vi,Bi,$i,8),Si.write(Vi,Bi,$i,Yi,52,8),$i+8}bi.prototype.writeDoubleLE=function(Bi,$i,Yi){return ga(this,Bi,$i,!0,Yi)},bi.prototype.writeDoubleBE=function(Bi,$i,Yi){return ga(this,Bi,$i,!1,Yi)},bi.prototype.copy=function(Bi,$i,Yi,ra){if(!bi.isBuffer(Bi))throw new TypeError("argument should be a Buffer");if(Yi||(Yi=0),!ra&&ra!==0&&(ra=this.length),$i>=Bi.length&&($i=Bi.length),$i||($i=0),ra>0&&ra<Yi&&(ra=Yi),ra===Yi||Bi.length===0||this.length===0)return 0;if($i<0)throw new RangeError("targetStart out of bounds");if(Yi<0||Yi>=this.length)throw new RangeError("Index out of range");if(ra<0)throw new RangeError("sourceEnd out of bounds");ra>this.length&&(ra=this.length),Bi.length-$i<ra-Yi&&(ra=Bi.length-$i+Yi);const aa=ra-Yi;return this===Bi&&typeof Ci.prototype.copyWithin=="function"?this.copyWithin($i,Yi,ra):Ci.prototype.set.call(Bi,this.subarray(Yi,ra),$i),aa},bi.prototype.fill=function(Bi,$i,Yi,ra){if(typeof Bi=="string"){if(typeof $i=="string"?(ra=$i,$i=0,Yi=this.length):typeof Yi=="string"&&(ra=Yi,Yi=this.length),ra!==void 0&&typeof ra!="string")throw new TypeError("encoding must be a string");if(typeof ra=="string"&&!bi.isEncoding(ra))throw new TypeError("Unknown encoding: "+ra);if(Bi.length===1){const oa=Bi.charCodeAt(0);(ra==="utf8"&&oa<128||ra==="latin1")&&(Bi=oa)}}else typeof Bi=="number"?Bi=Bi&255:typeof Bi=="boolean"&&(Bi=Number(Bi));if($i<0||this.length<$i||this.length<Yi)throw new RangeError("Out of range index");if(Yi<=$i)return this;$i=$i>>>0,Yi=Yi===void 0?this.length:Yi>>>0,Bi||(Bi=0);let aa;if(typeof Bi=="number")for(aa=$i;aa<Yi;++aa)this[aa]=Bi;else{const oa=bi.isBuffer(Bi)?Bi:bi.from(Bi,ra),Ra=oa.length;if(Ra===0)throw new TypeError('The value "'+Bi+'" is invalid for argument "value"');for(aa=0;aa<Yi-$i;++aa)this[aa+$i]=oa[aa%Ra]}return this};const ha={};function da(Vi,Bi,$i){ha[Vi]=class extends $i{constructor(){super(),Object.defineProperty(this,"message",{value:Bi.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Vi}]`,this.stack,delete this.name}get code(){return Vi}set code(ra){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ra,writable:!0})}toString(){return`${this.name} [${Vi}]: ${this.message}`}}}da("ERR_BUFFER_OUT_OF_BOUNDS",function(Vi){return Vi?`${Vi} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),da("ERR_INVALID_ARG_TYPE",function(Vi,Bi){return`The "${Vi}" argument must be of type number. Received type ${typeof Bi}`},TypeError),da("ERR_OUT_OF_RANGE",function(Vi,Bi,$i){let Yi=`The value of "${Vi}" is out of range.`,ra=$i;return Number.isInteger($i)&&Math.abs($i)>2**32?ra=wa(String($i)):typeof $i=="bigint"&&(ra=String($i),($i>BigInt(2)**BigInt(32)||$i<-(BigInt(2)**BigInt(32)))&&(ra=wa(ra)),ra+="n"),Yi+=` It must be ${Bi}. Received ${ra}`,Yi},RangeError);function wa(Vi){let Bi="",$i=Vi.length;const Yi=Vi[0]==="-"?1:0;for(;$i>=Yi+4;$i-=3)Bi=`_${Vi.slice($i-3,$i)}${Bi}`;return`${Vi.slice(0,$i)}${Bi}`}function Ea(Vi,Bi,$i){Na(Bi,"offset"),(Vi[Bi]===void 0||Vi[Bi+$i]===void 0)&&Ta(Bi,Vi.length-($i+1))}function va(Vi,Bi,$i,Yi,ra,aa){if(Vi>$i||Vi<Bi){const oa=typeof Bi=="bigint"?"n":"";let Ra;throw Bi===0||Bi===BigInt(0)?Ra=`>= 0${oa} and < 2${oa} ** ${(aa+1)*8}${oa}`:Ra=`>= -(2${oa} ** ${(aa+1)*8-1}${oa}) and < 2 ** ${(aa+1)*8-1}${oa}`,new ha.ERR_OUT_OF_RANGE("value",Ra,Vi)}Ea(Yi,ra,aa)}function Na(Vi,Bi){if(typeof Vi!="number")throw new ha.ERR_INVALID_ARG_TYPE(Bi,"number",Vi)}function Ta(Vi,Bi,$i){throw Math.floor(Vi)!==Vi?(Na(Vi,$i),new ha.ERR_OUT_OF_RANGE("offset","an integer",Vi)):Bi<0?new ha.ERR_BUFFER_OUT_OF_BOUNDS:new ha.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Bi}`,Vi)}const ma=/[^+/0-9A-Za-z-_]/g;function La(Vi){if(Vi=Vi.split("=")[0],Vi=Vi.trim().replace(ma,""),Vi.length<2)return"";for(;Vi.length%4!==0;)Vi=Vi+"=";return Vi}function Aa(Vi,Bi){Bi=Bi||1/0;let $i;const Yi=Vi.length;let ra=null;const aa=[];for(let oa=0;oa<Yi;++oa){if($i=Vi.charCodeAt(oa),$i>55295&&$i<57344){if(!ra){if($i>56319){(Bi-=3)>-1&&aa.push(239,191,189);continue}else if(oa+1===Yi){(Bi-=3)>-1&&aa.push(239,191,189);continue}ra=$i;continue}if($i<56320){(Bi-=3)>-1&&aa.push(239,191,189),ra=$i;continue}$i=(ra-55296<<10|$i-56320)+65536}else ra&&(Bi-=3)>-1&&aa.push(239,191,189);if(ra=null,$i<128){if((Bi-=1)<0)break;aa.push($i)}else if($i<2048){if((Bi-=2)<0)break;aa.push($i>>6|192,$i&63|128)}else if($i<65536){if((Bi-=3)<0)break;aa.push($i>>12|224,$i>>6&63|128,$i&63|128)}else if($i<1114112){if((Bi-=4)<0)break;aa.push($i>>18|240,$i>>12&63|128,$i>>6&63|128,$i&63|128)}else throw new Error("Invalid code point")}return aa}function ya(Vi){const Bi=[];for(let $i=0;$i<Vi.length;++$i)Bi.push(Vi.charCodeAt($i)&255);return Bi}function Pa(Vi,Bi){let $i,Yi,ra;const aa=[];for(let oa=0;oa<Vi.length&&!((Bi-=2)<0);++oa)$i=Vi.charCodeAt(oa),Yi=$i>>8,ra=$i%256,aa.push(ra),aa.push(Yi);return aa}function Ia(Vi){return Ri.toByteArray(La(Vi))}function ba(Vi,Bi,$i,Yi){let ra;for(ra=0;ra<Yi&&!(ra+$i>=Bi.length||ra>=Vi.length);++ra)Bi[ra+$i]=Vi[ra];return ra}function qa(Vi,Bi){return Vi instanceof Bi||Vi!=null&&Vi.constructor!=null&&Vi.constructor.name!=null&&Vi.constructor.name===Bi.name}function Fa(Vi){return Vi!==Vi}const xa=function(){const Vi="0123456789abcdef",Bi=new Array(256);for(let $i=0;$i<16;++$i){const Yi=$i*16;for(let ra=0;ra<16;++ra)Bi[Yi+ra]=Vi[$i]+Vi[ra]}return Bi}();function Ba(Vi){return typeof BigInt>"u"?Oa:Vi}function Oa(){throw new Error("BigInt not supported")}})(t);const vi=t.Buffer;r.Blob=t.Blob,r.BlobOptions=t.BlobOptions,r.Buffer=t.Buffer,r.File=t.File,r.FileOptions=t.FileOptions,r.INSPECT_MAX_BYTES=t.INSPECT_MAX_BYTES,r.SlowBuffer=t.SlowBuffer,r.TranscodeEncoding=t.TranscodeEncoding,r.atob=t.atob,r.btoa=t.btoa,r.constants=t.constants,r.default=vi,r.isAscii=t.isAscii,r.isUtf8=t.isUtf8,r.kMaxLength=t.kMaxLength,r.kStringMaxLength=t.kStringMaxLength,r.resolveObjectURL=t.resolveObjectURL,r.transcode=t.transcode}(dist)),dist}/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var hasRequiredSafeBuffer$1;function requireSafeBuffer$1(){return hasRequiredSafeBuffer$1||(hasRequiredSafeBuffer$1=1,function(r,t){var n=requireDist(),i=n.Buffer;function s(u,v){for(var on in u)v[on]=u[on]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?r.exports=n:(s(n,t),t.Buffer=a);function a(u,v,on){return i(u,v,on)}a.prototype=Object.create(i.prototype),s(i,a),a.from=function(u,v,on){if(typeof u=="number")throw new TypeError("Argument must not be a number");return i(u,v,on)},a.alloc=function(u,v,on){if(typeof u!="number")throw new TypeError("Argument must be a number");var l=i(u);return v!==void 0?typeof on=="string"?l.fill(v,on):l.fill(v):l.fill(0),l},a.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return i(u)},a.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(u)}}(safeBuffer$1,safeBuffer$1.exports)),safeBuffer$1.exports}var readableBrowser$1={exports:{}},events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var r=typeof Reflect=="object"?Reflect:null,t=r&&typeof r.apply=="function"?r.apply:function(wi,Ii,Ci){return Function.prototype.apply.call(wi,Ii,Ci)},n;r&&typeof r.ownKeys=="function"?n=r.ownKeys:Object.getOwnPropertySymbols?n=function(wi){return Object.getOwnPropertyNames(wi).concat(Object.getOwnPropertySymbols(wi))}:n=function(wi){return Object.getOwnPropertyNames(wi)};function i(Si){console&&console.warn&&console.warn(Si)}var s=Number.isNaN||function(wi){return wi!==wi};function a(){a.init.call(this)}events.exports=a,events.exports.once=vi,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function v(Si){if(typeof Si!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Si)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(Si){if(typeof Si!="number"||Si<0||s(Si))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Si+".");u=Si}}),a.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(wi){if(typeof wi!="number"||wi<0||s(wi))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+wi+".");return this._maxListeners=wi,this};function on(Si){return Si._maxListeners===void 0?a.defaultMaxListeners:Si._maxListeners}a.prototype.getMaxListeners=function(){return on(this)},a.prototype.emit=function(wi){for(var Ii=[],Ci=1;Ci<arguments.length;Ci++)Ii.push(arguments[Ci]);var Ni=wi==="error",Oi=this._events;if(Oi!==void 0)Ni=Ni&&Oi.error===void 0;else if(!Ni)return!1;if(Ni){var Li;if(Ii.length>0&&(Li=Ii[0]),Li instanceof Error)throw Li;var Fi=new Error("Unhandled error."+(Li?" ("+Li.message+")":""));throw Fi.context=Li,Fi}var bi=Oi[wi];if(bi===void 0)return!1;if(typeof bi=="function")t(bi,this,Ii);else for(var Yn=bi.length,In=Ln(bi,Yn),Ci=0;Ci<Yn;++Ci)t(In[Ci],this,Ii);return!0};function l(Si,wi,Ii,Ci){var Ni,Oi,Li;if(v(Ii),Oi=Si._events,Oi===void 0?(Oi=Si._events=Object.create(null),Si._eventsCount=0):(Oi.newListener!==void 0&&(Si.emit("newListener",wi,Ii.listener?Ii.listener:Ii),Oi=Si._events),Li=Oi[wi]),Li===void 0)Li=Oi[wi]=Ii,++Si._eventsCount;else if(typeof Li=="function"?Li=Oi[wi]=Ci?[Ii,Li]:[Li,Ii]:Ci?Li.unshift(Ii):Li.push(Ii),Ni=on(Si),Ni>0&&Li.length>Ni&&!Li.warned){Li.warned=!0;var Fi=new Error("Possible EventEmitter memory leak detected. "+Li.length+" "+String(wi)+" listeners added. Use emitter.setMaxListeners() to increase limit");Fi.name="MaxListenersExceededWarning",Fi.emitter=Si,Fi.type=wi,Fi.count=Li.length,i(Fi)}return Si}a.prototype.addListener=function(wi,Ii){return l(this,wi,Ii,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(wi,Ii){return l(this,wi,Ii,!0)};function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Rn(Si,wi,Ii){var Ci={fired:!1,wrapFn:void 0,target:Si,type:wi,listener:Ii},Ni=h.bind(Ci);return Ni.listener=Ii,Ci.wrapFn=Ni,Ni}a.prototype.once=function(wi,Ii){return v(Ii),this.on(wi,Rn(this,wi,Ii)),this},a.prototype.prependOnceListener=function(wi,Ii){return v(Ii),this.prependListener(wi,Rn(this,wi,Ii)),this},a.prototype.removeListener=function(wi,Ii){var Ci,Ni,Oi,Li,Fi;if(v(Ii),Ni=this._events,Ni===void 0)return this;if(Ci=Ni[wi],Ci===void 0)return this;if(Ci===Ii||Ci.listener===Ii)--this._eventsCount===0?this._events=Object.create(null):(delete Ni[wi],Ni.removeListener&&this.emit("removeListener",wi,Ci.listener||Ii));else if(typeof Ci!="function"){for(Oi=-1,Li=Ci.length-1;Li>=0;Li--)if(Ci[Li]===Ii||Ci[Li].listener===Ii){Fi=Ci[Li].listener,Oi=Li;break}if(Oi<0)return this;Oi===0?Ci.shift():jn(Ci,Oi),Ci.length===1&&(Ni[wi]=Ci[0]),Ni.removeListener!==void 0&&this.emit("removeListener",wi,Fi||Ii)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(wi){var Ii,Ci,Ni;if(Ci=this._events,Ci===void 0)return this;if(Ci.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Ci[wi]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Ci[wi]),this;if(arguments.length===0){var Oi=Object.keys(Ci),Li;for(Ni=0;Ni<Oi.length;++Ni)Li=Oi[Ni],Li!=="removeListener"&&this.removeAllListeners(Li);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Ii=Ci[wi],typeof Ii=="function")this.removeListener(wi,Ii);else if(Ii!==void 0)for(Ni=Ii.length-1;Ni>=0;Ni--)this.removeListener(wi,Ii[Ni]);return this};function D(Si,wi,Ii){var Ci=Si._events;if(Ci===void 0)return[];var Ni=Ci[wi];return Ni===void 0?[]:typeof Ni=="function"?Ii?[Ni.listener||Ni]:[Ni]:Ii?hi(Ni):Ln(Ni,Ni.length)}a.prototype.listeners=function(wi){return D(this,wi,!0)},a.prototype.rawListeners=function(wi){return D(this,wi,!1)},a.listenerCount=function(Si,wi){return typeof Si.listenerCount=="function"?Si.listenerCount(wi):Mn.call(Si,wi)},a.prototype.listenerCount=Mn;function Mn(Si){var wi=this._events;if(wi!==void 0){var Ii=wi[Si];if(typeof Ii=="function")return 1;if(Ii!==void 0)return Ii.length}return 0}a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function Ln(Si,wi){for(var Ii=new Array(wi),Ci=0;Ci<wi;++Ci)Ii[Ci]=Si[Ci];return Ii}function jn(Si,wi){for(;wi+1<Si.length;wi++)Si[wi]=Si[wi+1];Si.pop()}function hi(Si){for(var wi=new Array(Si.length),Ii=0;Ii<wi.length;++Ii)wi[Ii]=Si[Ii].listener||Si[Ii];return wi}function vi(Si,wi){return new Promise(function(Ii,Ci){function Ni(Li){Si.removeListener(wi,Oi),Ci(Li)}function Oi(){typeof Si.removeListener=="function"&&Si.removeListener("error",Ni),Ii([].slice.call(arguments))}Ri(Si,wi,Oi,{once:!0}),wi!=="error"&&gi(Si,Ni,{once:!0})})}function gi(Si,wi,Ii){typeof Si.on=="function"&&Ri(Si,"error",wi,Ii)}function Ri(Si,wi,Ii,Ci){if(typeof Si.on=="function")Ci.once?Si.once(wi,Ii):Si.on(wi,Ii);else if(typeof Si.addEventListener=="function")Si.addEventListener(wi,function Ni(Oi){Ci.once&&Si.removeEventListener(wi,Ni),Ii(Oi)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Si)}return events.exports}var streamBrowser$1,hasRequiredStreamBrowser$1;function requireStreamBrowser$1(){return hasRequiredStreamBrowser$1||(hasRequiredStreamBrowser$1=1,streamBrowser$1=requireEvents().EventEmitter),streamBrowser$1}var util$1={},types$1={},shams$3,hasRequiredShams$3;function requireShams$3(){return hasRequiredShams$3||(hasRequiredShams$3=1,shams$3=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var s=42;t[n]=s;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,n);if(u.value!==s||u.enumerable!==!0)return!1}return!0}),shams$3}var shams$2,hasRequiredShams$2;function requireShams$2(){if(hasRequiredShams$2)return shams$2;hasRequiredShams$2=1;var r=requireShams$3();return shams$2=function(){return r()&&!!Symbol.toStringTag},shams$2}var esObjectAtoms$1,hasRequiredEsObjectAtoms$1;function requireEsObjectAtoms$1(){return hasRequiredEsObjectAtoms$1||(hasRequiredEsObjectAtoms$1=1,esObjectAtoms$1=Object),esObjectAtoms$1}var esErrors,hasRequiredEsErrors;function requireEsErrors(){return hasRequiredEsErrors||(hasRequiredEsErrors=1,esErrors=Error),esErrors}var _eval,hasRequired_eval;function require_eval(){return hasRequired_eval||(hasRequired_eval=1,_eval=EvalError),_eval}var range,hasRequiredRange;function requireRange(){return hasRequiredRange||(hasRequiredRange=1,range=RangeError),range}var ref,hasRequiredRef;function requireRef(){return hasRequiredRef||(hasRequiredRef=1,ref=ReferenceError),ref}var syntax,hasRequiredSyntax;function requireSyntax(){return hasRequiredSyntax||(hasRequiredSyntax=1,syntax=SyntaxError),syntax}var type,hasRequiredType;function requireType(){return hasRequiredType||(hasRequiredType=1,type=TypeError),type}var uri,hasRequiredUri;function requireUri(){return hasRequiredUri||(hasRequiredUri=1,uri=URIError),uri}var abs,hasRequiredAbs;function requireAbs(){return hasRequiredAbs||(hasRequiredAbs=1,abs=Math.abs),abs}var floor,hasRequiredFloor;function requireFloor(){return hasRequiredFloor||(hasRequiredFloor=1,floor=Math.floor),floor}var max,hasRequiredMax;function requireMax(){return hasRequiredMax||(hasRequiredMax=1,max=Math.max),max}var min,hasRequiredMin;function requireMin(){return hasRequiredMin||(hasRequiredMin=1,min=Math.min),min}var pow,hasRequiredPow;function requirePow(){return hasRequiredPow||(hasRequiredPow=1,pow=Math.pow),pow}var round,hasRequiredRound;function requireRound(){return hasRequiredRound||(hasRequiredRound=1,round=Math.round),round}var _isNaN,hasRequired_isNaN;function require_isNaN(){return hasRequired_isNaN||(hasRequired_isNaN=1,_isNaN=Number.isNaN||function(t){return t!==t}),_isNaN}var sign$1,hasRequiredSign$1;function requireSign$1(){if(hasRequiredSign$1)return sign$1;hasRequiredSign$1=1;var r=require_isNaN();return sign$1=function(n){return r(n)||n===0?n:n<0?-1:1},sign$1}var gOPD,hasRequiredGOPD;function requireGOPD(){return hasRequiredGOPD||(hasRequiredGOPD=1,gOPD=Object.getOwnPropertyDescriptor),gOPD}var gopd$2,hasRequiredGopd$2;function requireGopd$2(){if(hasRequiredGopd$2)return gopd$2;hasRequiredGopd$2=1;var r=requireGOPD();if(r)try{r([],"length")}catch{r=null}return gopd$2=r,gopd$2}var esDefineProperty$1,hasRequiredEsDefineProperty$1;function requireEsDefineProperty$1(){if(hasRequiredEsDefineProperty$1)return esDefineProperty$1;hasRequiredEsDefineProperty$1=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return esDefineProperty$1=r,esDefineProperty$1}var shams$1,hasRequiredShams$1;function requireShams$1(){return hasRequiredShams$1||(hasRequiredShams$1=1,shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var s=42;t[n]=s;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var u=Object.getOwnPropertySymbols(t);if(u.length!==1||u[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var v=Object.getOwnPropertyDescriptor(t,n);if(v.value!==s||v.enumerable!==!0)return!1}return!0}),shams$1}var hasSymbols$1,hasRequiredHasSymbols$1;function requireHasSymbols$1(){if(hasRequiredHasSymbols$1)return hasSymbols$1;hasRequiredHasSymbols$1=1;var r=typeof Symbol<"u"&&Symbol,t=requireShams$1();return hasSymbols$1=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},hasSymbols$1}var Reflect_getPrototypeOf,hasRequiredReflect_getPrototypeOf;function requireReflect_getPrototypeOf(){return hasRequiredReflect_getPrototypeOf||(hasRequiredReflect_getPrototypeOf=1,Reflect_getPrototypeOf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Reflect_getPrototypeOf}var esObjectAtoms,hasRequiredEsObjectAtoms;function requireEsObjectAtoms(){return hasRequiredEsObjectAtoms||(hasRequiredEsObjectAtoms=1,esObjectAtoms=Object),esObjectAtoms}var Object_getPrototypeOf,hasRequiredObject_getPrototypeOf;function requireObject_getPrototypeOf(){if(hasRequiredObject_getPrototypeOf)return Object_getPrototypeOf;hasRequiredObject_getPrototypeOf=1;var r=requireEsObjectAtoms();return Object_getPrototypeOf=r.getPrototypeOf||null,Object_getPrototypeOf}var implementation,hasRequiredImplementation;function requireImplementation(){if(hasRequiredImplementation)return implementation;hasRequiredImplementation=1;var r="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,n=Ma