Ride-The-Lightning-RTL/frontend/polyfills.2fc68655e9a361e8.js

1 line
59 KiB
JavaScript
Raw Normal View History

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[461],{4050:(Se,B,$)=>{window.global=window,window.global.Buffer=window.global.Buffer||$(3838).Buffer,window.global.process=window.global.process||$(573)},3981:(Se,B)=>{"use strict";B.byteLength=function l(w){var k=N(w),R=k[1];return 3*(k[0]+R)/4-R},B.toByteArray=function be(w){var k,Ee,G=N(w),R=G[0],Ce=G[1],le=new de(function ue(w,k,G){return 3*(k+G)/4-G}(0,R,Ce)),K=0,Ve=Ce>0?R-4:R;for(Ee=0;Ee<Ve;Ee+=4)k=L[w.charCodeAt(Ee)]<<18|L[w.charCodeAt(Ee+1)]<<12|L[w.charCodeAt(Ee+2)]<<6|L[w.charCodeAt(Ee+3)],le[K++]=k>>16&255,le[K++]=k>>8&255,le[K++]=255&k;return 2===Ce&&(k=L[w.charCodeAt(Ee)]<<2|L[w.charCodeAt(Ee+1)]>>4,le[K++]=255&k),1===Ce&&(k=L[w.charCodeAt(Ee)]<<10|L[w.charCodeAt(Ee+1)]<<4|L[w.charCodeAt(Ee+2)]>>2,le[K++]=k>>8&255,le[K++]=255&k),le},B.fromByteArray=function ge(w){for(var k,G=w.length,R=G%3,Ce=[],K=0,Ve=G-R;K<Ve;K+=16383)Ce.push(te(w,K,K+16383>Ve?Ve:K+16383));return 1===R?Ce.push($[(k=w[G-1])>>2]+$[k<<4&63]+"=="):2===R&&Ce.push($[(k=(w[G-2]<<8)+w[G-1])>>10]+$[k>>4&63]+$[k<<2&63]+"="),Ce.join("")};for(var $=[],L=[],de=typeof Uint8Array<"u"?Uint8Array:Array,we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",re=0;re<64;++re)$[re]=we[re],L[we.charCodeAt(re)]=re;function N(w){var k=w.length;if(k%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var G=w.indexOf("=");return-1===G&&(G=k),[G,G===k?0:4-G%4]}function ye(w){return $[w>>18&63]+$[w>>12&63]+$[w>>6&63]+$[63&w]}function te(w,k,G){for(var Ce=[],le=k;le<G;le+=3)Ce.push(ye((w[le]<<16&16711680)+(w[le+1]<<8&65280)+(255&w[le+2])));return Ce.join("")}L[45]=62,L[95]=63},3838:(Se,B,$)=>{"use strict";var L=$(3981),de=$(2020),we="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;B.Buffer=l,B.SlowBuffer=function le(r){return+r!=r&&(r=0),l.alloc(+r)},B.INSPECT_MAX_BYTES=50;var re=2147483647;function N(r){if(r>re)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,l.prototype),e}function l(r,e,t){if("number"==typeof r){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return te(r)}return ue(r,e,t)}function ue(r,e,t){if("string"==typeof r)return function ge(r,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=0|K(r,e),n=N(t),a=n.write(r,e);return a!==t&&(n=n.slice(0,a)),n}(r,e);if(ArrayBuffer.isView(r))return function k(r){if(Me(r,Uint8Array)){var e=new Uint8Array(r);return G(e.buffer,e.byteOffset,e.byteLength)}return w(r)}(r);if(null==r)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(Me(r,ArrayBuffer)||r&&Me(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Me(r,SharedArrayBuffer)||r&&Me(r.buffer,SharedArrayBuffer)))return G(r,e,t);if("number"==typeof r)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(null!=n&&n!==r)return l.from(n,e,t);var a=function R(r){if(l.isBuffer(r)){var e=0|Ce(r.length),t=N(e);return 0===t.length||r.copy(t,0,0,e),t}return void 0!==r.length?"number"!=typeof r.length||et(r.length)?N(0):w(r):"Buffer"===r.type&&Array.isArray(r.data)?w(r.data):void 0}(r);if(a)return a;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof r[Symbol.toPrimitive])return l.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}function be(r){if("number"!=typeof r)throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function te(r){return be(r),N(r<0?0:0|Ce(r))}function w(r){for(var e=r.length<0?0:0|Ce(r.length),t=N(e),n=0;n<e;n+=1)t[n]=255&r[n];return t}function G(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is o