@rspack-debug/browser 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -125,7 +125,7 @@ __webpack_require__.add({
125
125
  "../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1/base/buffer.js" (__unused_rspack_module, exports, __webpack_require__) {
126
126
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
127
127
  var Reporter = __webpack_require__("../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1/base/index.js").Reporter;
128
- var Buffer = __webpack_require__("./src/browser/buffer.ts").Buffer;
128
+ var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer;
129
129
  function DecoderBuffer(base, options) {
130
130
  Reporter.call(this, options);
131
131
  if (!Buffer.isBuffer(base)) return void this.error('Input not Buffer');
@@ -1013,7 +1013,7 @@ __webpack_require__.add({
1013
1013
  },
1014
1014
  "../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1/decoders/pem.js" (module, __unused_rspack_exports, __webpack_require__) {
1015
1015
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
1016
- var Buffer = __webpack_require__("./src/browser/buffer.ts").Buffer;
1016
+ var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer;
1017
1017
  var DERDecoder = __webpack_require__("../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1/decoders/der.js");
1018
1018
  function PEMDecoder(entity) {
1019
1019
  DERDecoder.call(this, entity);
@@ -1049,7 +1049,7 @@ __webpack_require__.add({
1049
1049
  },
1050
1050
  "../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1/encoders/der.js" (module, __unused_rspack_exports, __webpack_require__) {
1051
1051
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
1052
- var Buffer = __webpack_require__("./src/browser/buffer.ts").Buffer;
1052
+ var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer;
1053
1053
  var asn1 = __webpack_require__("../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1.js");
1054
1054
  var base = asn1.base;
1055
1055
  var der = asn1.constants.der;
@@ -2761,6 +2761,95 @@ __webpack_require__.add({
2761
2761
  isDeepStrictEqual: isDeepStrictEqual
2762
2762
  };
2763
2763
  },
2764
+ "../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js" (__unused_rspack_module, exports) {
2765
+ exports.byteLength = byteLength;
2766
+ exports.toByteArray = toByteArray;
2767
+ exports.fromByteArray = fromByteArray;
2768
+ var lookup = [];
2769
+ var revLookup = [];
2770
+ var Arr = "u" > typeof Uint8Array ? Uint8Array : Array;
2771
+ var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
2772
+ for(var i = 0, len = code.length; i < len; ++i){
2773
+ lookup[i] = code[i];
2774
+ revLookup[code.charCodeAt(i)] = i;
2775
+ }
2776
+ revLookup['-'.charCodeAt(0)] = 62;
2777
+ revLookup['_'.charCodeAt(0)] = 63;
2778
+ function getLens(b64) {
2779
+ var len = b64.length;
2780
+ if (len % 4 > 0) throw new Error('Invalid string. Length must be a multiple of 4');
2781
+ var validLen = b64.indexOf('=');
2782
+ if (-1 === validLen) validLen = len;
2783
+ var placeHoldersLen = validLen === len ? 0 : 4 - validLen % 4;
2784
+ return [
2785
+ validLen,
2786
+ placeHoldersLen
2787
+ ];
2788
+ }
2789
+ function byteLength(b64) {
2790
+ var lens = getLens(b64);
2791
+ var validLen = lens[0];
2792
+ var placeHoldersLen = lens[1];
2793
+ return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
2794
+ }
2795
+ function _byteLength(b64, validLen, placeHoldersLen) {
2796
+ return (validLen + placeHoldersLen) * 3 / 4 - placeHoldersLen;
2797
+ }
2798
+ function toByteArray(b64) {
2799
+ var tmp;
2800
+ var lens = getLens(b64);
2801
+ var validLen = lens[0];
2802
+ var placeHoldersLen = lens[1];
2803
+ var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));
2804
+ var curByte = 0;
2805
+ var len = placeHoldersLen > 0 ? validLen - 4 : validLen;
2806
+ var i;
2807
+ for(i = 0; i < len; i += 4){
2808
+ tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.charCodeAt(i + 2)] << 6 | revLookup[b64.charCodeAt(i + 3)];
2809
+ arr[curByte++] = tmp >> 16 & 0xFF;
2810
+ arr[curByte++] = tmp >> 8 & 0xFF;
2811
+ arr[curByte++] = 0xFF & tmp;
2812
+ }
2813
+ if (2 === placeHoldersLen) {
2814
+ tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4;
2815
+ arr[curByte++] = 0xFF & tmp;
2816
+ }
2817
+ if (1 === placeHoldersLen) {
2818
+ tmp = revLookup[b64.charCodeAt(i)] << 10 | revLookup[b64.charCodeAt(i + 1)] << 4 | revLookup[b64.charCodeAt(i + 2)] >> 2;
2819
+ arr[curByte++] = tmp >> 8 & 0xFF;
2820
+ arr[curByte++] = 0xFF & tmp;
2821
+ }
2822
+ return arr;
2823
+ }
2824
+ function tripletToBase64(num) {
2825
+ return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[0x3F & num];
2826
+ }
2827
+ function encodeChunk(uint8, start, end) {
2828
+ var tmp;
2829
+ var output = [];
2830
+ for(var i = start; i < end; i += 3){
2831
+ tmp = (uint8[i] << 16 & 0xFF0000) + (uint8[i + 1] << 8 & 0xFF00) + (0xFF & uint8[i + 2]);
2832
+ output.push(tripletToBase64(tmp));
2833
+ }
2834
+ return output.join('');
2835
+ }
2836
+ function fromByteArray(uint8) {
2837
+ var tmp;
2838
+ var len = uint8.length;
2839
+ var extraBytes = len % 3;
2840
+ var parts = [];
2841
+ var maxChunkLength = 16383;
2842
+ for(var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength)parts.push(encodeChunk(uint8, i, i + maxChunkLength > len2 ? len2 : i + maxChunkLength));
2843
+ if (1 === extraBytes) {
2844
+ tmp = uint8[len - 1];
2845
+ parts.push(lookup[tmp >> 2] + lookup[tmp << 4 & 0x3F] + '==');
2846
+ } else if (2 === extraBytes) {
2847
+ tmp = (uint8[len - 2] << 8) + uint8[len - 1];
2848
+ parts.push(lookup[tmp >> 10] + lookup[tmp >> 4 & 0x3F] + lookup[tmp << 2 & 0x3F] + '=');
2849
+ }
2850
+ return parts.join('');
2851
+ }
2852
+ },
2764
2853
  "../../node_modules/.pnpm/bn.js@4.12.3/node_modules/bn.js/lib/bn.js" (module, __unused_rspack_exports, __webpack_require__) {
2765
2854
  module = __webpack_require__.nmd(module);
2766
2855
  (function(module, exports) {
@@ -8600,7 +8689,7 @@ __webpack_require__.add({
8600
8689
  module.exports = modes;
8601
8690
  },
8602
8691
  "../../node_modules/.pnpm/browserify-aes@1.2.0/node_modules/browserify-aes/modes/ofb.js" (__unused_rspack_module, exports, __webpack_require__) {
8603
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
8692
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
8604
8693
  var xor = __webpack_require__("../../node_modules/.pnpm/buffer-xor@1.0.3/node_modules/buffer-xor/index.js");
8605
8694
  function getBlock(self1) {
8606
8695
  self1._prev = self1._cipher.encryptBlock(self1._prev);
@@ -9117,7 +9206,7 @@ __webpack_require__.add({
9117
9206
  module.exports = verify;
9118
9207
  },
9119
9208
  "../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js" (__unused_rspack_module, exports, __webpack_require__) {
9120
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
9209
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
9121
9210
  var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
9122
9211
  var assert = __webpack_require__("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js");
9123
9212
  var Zstream = __webpack_require__("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/zstream.js");
@@ -9378,12 +9467,12 @@ __webpack_require__.add({
9378
9467
  },
9379
9468
  "../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/index.js" (__unused_rspack_module, exports, __webpack_require__) {
9380
9469
  var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
9381
- var Buffer = __webpack_require__("./src/browser/buffer.ts").Buffer;
9470
+ var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer;
9382
9471
  var Transform = __webpack_require__("../../node_modules/.pnpm/stream-browserify@3.0.0/node_modules/stream-browserify/index.js").Transform;
9383
9472
  var binding = __webpack_require__("../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js");
9384
9473
  var util = __webpack_require__("../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js");
9385
9474
  var assert = __webpack_require__("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js").ok;
9386
- var kMaxLength = __webpack_require__("./src/browser/buffer.ts").kMaxLength;
9475
+ var kMaxLength = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").kMaxLength;
9387
9476
  var kRangeErrorMessage = "Cannot create final Buffer. It would be larger than 0x" + kMaxLength.toString(16) + ' bytes';
9388
9477
  binding.Z_MIN_WINDOWBITS = 8;
9389
9478
  binding.Z_MAX_WINDOWBITS = 15;
@@ -9792,7 +9881,7 @@ __webpack_require__.add({
9792
9881
  util.inherits(Unzip, Zlib);
9793
9882
  },
9794
9883
  "../../node_modules/.pnpm/buffer-xor@1.0.3/node_modules/buffer-xor/index.js" (module, __unused_rspack_exports, __webpack_require__) {
9795
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
9884
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
9796
9885
  module.exports = function(a, b) {
9797
9886
  var length = Math.min(a.length, b.length);
9798
9887
  var buffer = new Buffer(length);
@@ -9800,6 +9889,1088 @@ __webpack_require__.add({
9800
9889
  return buffer;
9801
9890
  };
9802
9891
  },
9892
+ "../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js" (__unused_rspack_module, exports, __webpack_require__) {
9893
+ /*!
9894
+ * The buffer module from node.js, for the browser.
9895
+ *
9896
+ * @author Feross Aboukhadijeh <https://feross.org>
9897
+ * @license MIT
9898
+ */ var base64 = __webpack_require__("../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js");
9899
+ var ieee754 = __webpack_require__("../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js");
9900
+ var customInspectSymbol = 'function' == typeof Symbol && 'function' == typeof Symbol['for'] ? Symbol['for']('nodejs.util.inspect.custom') : null;
9901
+ exports.Buffer = Buffer;
9902
+ exports.SlowBuffer = SlowBuffer;
9903
+ exports.INSPECT_MAX_BYTES = 50;
9904
+ var K_MAX_LENGTH = 0x7fffffff;
9905
+ exports.kMaxLength = K_MAX_LENGTH;
9906
+ Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport();
9907
+ if (!Buffer.TYPED_ARRAY_SUPPORT && "u" > typeof console && 'function' == typeof console.error) console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
9908
+ function typedArraySupport() {
9909
+ try {
9910
+ var arr = new Uint8Array(1);
9911
+ var proto = {
9912
+ foo: function() {
9913
+ return 42;
9914
+ }
9915
+ };
9916
+ Object.setPrototypeOf(proto, Uint8Array.prototype);
9917
+ Object.setPrototypeOf(arr, proto);
9918
+ return 42 === arr.foo();
9919
+ } catch (e) {
9920
+ return false;
9921
+ }
9922
+ }
9923
+ Object.defineProperty(Buffer.prototype, 'parent', {
9924
+ enumerable: true,
9925
+ get: function() {
9926
+ if (!Buffer.isBuffer(this)) return;
9927
+ return this.buffer;
9928
+ }
9929
+ });
9930
+ Object.defineProperty(Buffer.prototype, 'offset', {
9931
+ enumerable: true,
9932
+ get: function() {
9933
+ if (!Buffer.isBuffer(this)) return;
9934
+ return this.byteOffset;
9935
+ }
9936
+ });
9937
+ function createBuffer(length) {
9938
+ if (length > K_MAX_LENGTH) throw new RangeError('The value "' + length + '" is invalid for option "size"');
9939
+ var buf = new Uint8Array(length);
9940
+ Object.setPrototypeOf(buf, Buffer.prototype);
9941
+ return buf;
9942
+ }
9943
+ function Buffer(arg, encodingOrOffset, length) {
9944
+ if ('number' == typeof arg) {
9945
+ if ('string' == typeof encodingOrOffset) throw new TypeError('The "string" argument must be of type string. Received type number');
9946
+ return allocUnsafe(arg);
9947
+ }
9948
+ return from(arg, encodingOrOffset, length);
9949
+ }
9950
+ Buffer.poolSize = 8192;
9951
+ function from(value, encodingOrOffset, length) {
9952
+ if ('string' == typeof value) return fromString(value, encodingOrOffset);
9953
+ if (ArrayBuffer.isView(value)) return fromArrayView(value);
9954
+ if (null == value) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
9955
+ if (isInstance(value, ArrayBuffer) || value && isInstance(value.buffer, ArrayBuffer)) return fromArrayBuffer(value, encodingOrOffset, length);
9956
+ if ("u" > typeof SharedArrayBuffer && (isInstance(value, SharedArrayBuffer) || value && isInstance(value.buffer, SharedArrayBuffer))) return fromArrayBuffer(value, encodingOrOffset, length);
9957
+ if ('number' == typeof value) throw new TypeError('The "value" argument must not be of type number. Received type number');
9958
+ var valueOf = value.valueOf && value.valueOf();
9959
+ if (null != valueOf && valueOf !== value) return Buffer.from(valueOf, encodingOrOffset, length);
9960
+ var b = fromObject(value);
9961
+ if (b) return b;
9962
+ if ("u" > typeof Symbol && null != Symbol.toPrimitive && 'function' == typeof value[Symbol.toPrimitive]) return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length);
9963
+ throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
9964
+ }
9965
+ Buffer.from = function(value, encodingOrOffset, length) {
9966
+ return from(value, encodingOrOffset, length);
9967
+ };
9968
+ Object.setPrototypeOf(Buffer.prototype, Uint8Array.prototype);
9969
+ Object.setPrototypeOf(Buffer, Uint8Array);
9970
+ function assertSize(size) {
9971
+ if ('number' != typeof size) throw new TypeError('"size" argument must be of type number');
9972
+ if (size < 0) throw new RangeError('The value "' + size + '" is invalid for option "size"');
9973
+ }
9974
+ function alloc(size, fill, encoding) {
9975
+ assertSize(size);
9976
+ if (size <= 0) return createBuffer(size);
9977
+ if (void 0 !== fill) return 'string' == typeof encoding ? createBuffer(size).fill(fill, encoding) : createBuffer(size).fill(fill);
9978
+ return createBuffer(size);
9979
+ }
9980
+ Buffer.alloc = function(size, fill, encoding) {
9981
+ return alloc(size, fill, encoding);
9982
+ };
9983
+ function allocUnsafe(size) {
9984
+ assertSize(size);
9985
+ return createBuffer(size < 0 ? 0 : 0 | checked(size));
9986
+ }
9987
+ Buffer.allocUnsafe = function(size) {
9988
+ return allocUnsafe(size);
9989
+ };
9990
+ Buffer.allocUnsafeSlow = function(size) {
9991
+ return allocUnsafe(size);
9992
+ };
9993
+ function fromString(string, encoding) {
9994
+ if ('string' != typeof encoding || '' === encoding) encoding = 'utf8';
9995
+ if (!Buffer.isEncoding(encoding)) throw new TypeError('Unknown encoding: ' + encoding);
9996
+ var length = 0 | byteLength(string, encoding);
9997
+ var buf = createBuffer(length);
9998
+ var actual = buf.write(string, encoding);
9999
+ if (actual !== length) buf = buf.slice(0, actual);
10000
+ return buf;
10001
+ }
10002
+ function fromArrayLike(array) {
10003
+ var length = array.length < 0 ? 0 : 0 | checked(array.length);
10004
+ var buf = createBuffer(length);
10005
+ for(var i = 0; i < length; i += 1)buf[i] = 255 & array[i];
10006
+ return buf;
10007
+ }
10008
+ function fromArrayView(arrayView) {
10009
+ if (isInstance(arrayView, Uint8Array)) {
10010
+ var copy = new Uint8Array(arrayView);
10011
+ return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength);
10012
+ }
10013
+ return fromArrayLike(arrayView);
10014
+ }
10015
+ function fromArrayBuffer(array, byteOffset, length) {
10016
+ if (byteOffset < 0 || array.byteLength < byteOffset) throw new RangeError('"offset" is outside of buffer bounds');
10017
+ if (array.byteLength < byteOffset + (length || 0)) throw new RangeError('"length" is outside of buffer bounds');
10018
+ var buf;
10019
+ buf = void 0 === byteOffset && void 0 === length ? new Uint8Array(array) : void 0 === length ? new Uint8Array(array, byteOffset) : new Uint8Array(array, byteOffset, length);
10020
+ Object.setPrototypeOf(buf, Buffer.prototype);
10021
+ return buf;
10022
+ }
10023
+ function fromObject(obj) {
10024
+ if (Buffer.isBuffer(obj)) {
10025
+ var len = 0 | checked(obj.length);
10026
+ var buf = createBuffer(len);
10027
+ if (0 === buf.length) return buf;
10028
+ obj.copy(buf, 0, 0, len);
10029
+ return buf;
10030
+ }
10031
+ if (void 0 !== obj.length) {
10032
+ if ('number' != typeof obj.length || numberIsNaN(obj.length)) return createBuffer(0);
10033
+ return fromArrayLike(obj);
10034
+ }
10035
+ if ('Buffer' === obj.type && Array.isArray(obj.data)) return fromArrayLike(obj.data);
10036
+ }
10037
+ function checked(length) {
10038
+ if (length >= K_MAX_LENGTH) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + K_MAX_LENGTH.toString(16) + ' bytes');
10039
+ return 0 | length;
10040
+ }
10041
+ function SlowBuffer(length) {
10042
+ if (+length != length) length = 0;
10043
+ return Buffer.alloc(+length);
10044
+ }
10045
+ Buffer.isBuffer = function(b) {
10046
+ return null != b && true === b._isBuffer && b !== Buffer.prototype;
10047
+ };
10048
+ Buffer.compare = function(a, b) {
10049
+ if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength);
10050
+ if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength);
10051
+ if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');
10052
+ if (a === b) return 0;
10053
+ var x = a.length;
10054
+ var y = b.length;
10055
+ for(var i = 0, len = Math.min(x, y); i < len; ++i)if (a[i] !== b[i]) {
10056
+ x = a[i];
10057
+ y = b[i];
10058
+ break;
10059
+ }
10060
+ if (x < y) return -1;
10061
+ if (y < x) return 1;
10062
+ return 0;
10063
+ };
10064
+ Buffer.isEncoding = function(encoding) {
10065
+ switch(String(encoding).toLowerCase()){
10066
+ case 'hex':
10067
+ case 'utf8':
10068
+ case 'utf-8':
10069
+ case 'ascii':
10070
+ case 'latin1':
10071
+ case 'binary':
10072
+ case 'base64':
10073
+ case 'ucs2':
10074
+ case 'ucs-2':
10075
+ case 'utf16le':
10076
+ case 'utf-16le':
10077
+ return true;
10078
+ default:
10079
+ return false;
10080
+ }
10081
+ };
10082
+ Buffer.concat = function(list, length) {
10083
+ if (!Array.isArray(list)) throw new TypeError('"list" argument must be an Array of Buffers');
10084
+ if (0 === list.length) return Buffer.alloc(0);
10085
+ var i;
10086
+ if (void 0 === length) {
10087
+ length = 0;
10088
+ for(i = 0; i < list.length; ++i)length += list[i].length;
10089
+ }
10090
+ var buffer = Buffer.allocUnsafe(length);
10091
+ var pos = 0;
10092
+ for(i = 0; i < list.length; ++i){
10093
+ var buf = list[i];
10094
+ if (isInstance(buf, Uint8Array)) if (pos + buf.length > buffer.length) Buffer.from(buf).copy(buffer, pos);
10095
+ else Uint8Array.prototype.set.call(buffer, buf, pos);
10096
+ else if (Buffer.isBuffer(buf)) buf.copy(buffer, pos);
10097
+ else throw new TypeError('"list" argument must be an Array of Buffers');
10098
+ pos += buf.length;
10099
+ }
10100
+ return buffer;
10101
+ };
10102
+ function byteLength(string, encoding) {
10103
+ if (Buffer.isBuffer(string)) return string.length;
10104
+ if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) return string.byteLength;
10105
+ if ('string' != typeof string) throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof string);
10106
+ var len = string.length;
10107
+ var mustMatch = arguments.length > 2 && true === arguments[2];
10108
+ if (!mustMatch && 0 === len) return 0;
10109
+ var loweredCase = false;
10110
+ for(;;)switch(encoding){
10111
+ case 'ascii':
10112
+ case 'latin1':
10113
+ case 'binary':
10114
+ return len;
10115
+ case 'utf8':
10116
+ case 'utf-8':
10117
+ return utf8ToBytes(string).length;
10118
+ case 'ucs2':
10119
+ case 'ucs-2':
10120
+ case 'utf16le':
10121
+ case 'utf-16le':
10122
+ return 2 * len;
10123
+ case 'hex':
10124
+ return len >>> 1;
10125
+ case 'base64':
10126
+ return base64ToBytes(string).length;
10127
+ default:
10128
+ if (loweredCase) return mustMatch ? -1 : utf8ToBytes(string).length;
10129
+ encoding = ('' + encoding).toLowerCase();
10130
+ loweredCase = true;
10131
+ }
10132
+ }
10133
+ Buffer.byteLength = byteLength;
10134
+ function slowToString(encoding, start, end) {
10135
+ var loweredCase = false;
10136
+ if (void 0 === start || start < 0) start = 0;
10137
+ if (start > this.length) return '';
10138
+ if (void 0 === end || end > this.length) end = this.length;
10139
+ if (end <= 0) return '';
10140
+ end >>>= 0;
10141
+ start >>>= 0;
10142
+ if (end <= start) return '';
10143
+ if (!encoding) encoding = 'utf8';
10144
+ while(true)switch(encoding){
10145
+ case 'hex':
10146
+ return hexSlice(this, start, end);
10147
+ case 'utf8':
10148
+ case 'utf-8':
10149
+ return utf8Slice(this, start, end);
10150
+ case 'ascii':
10151
+ return asciiSlice(this, start, end);
10152
+ case 'latin1':
10153
+ case 'binary':
10154
+ return latin1Slice(this, start, end);
10155
+ case 'base64':
10156
+ return base64Slice(this, start, end);
10157
+ case 'ucs2':
10158
+ case 'ucs-2':
10159
+ case 'utf16le':
10160
+ case 'utf-16le':
10161
+ return utf16leSlice(this, start, end);
10162
+ default:
10163
+ if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);
10164
+ encoding = (encoding + '').toLowerCase();
10165
+ loweredCase = true;
10166
+ }
10167
+ }
10168
+ Buffer.prototype._isBuffer = true;
10169
+ function swap(b, n, m) {
10170
+ var i = b[n];
10171
+ b[n] = b[m];
10172
+ b[m] = i;
10173
+ }
10174
+ Buffer.prototype.swap16 = function() {
10175
+ var len = this.length;
10176
+ if (len % 2 !== 0) throw new RangeError('Buffer size must be a multiple of 16-bits');
10177
+ for(var i = 0; i < len; i += 2)swap(this, i, i + 1);
10178
+ return this;
10179
+ };
10180
+ Buffer.prototype.swap32 = function() {
10181
+ var len = this.length;
10182
+ if (len % 4 !== 0) throw new RangeError('Buffer size must be a multiple of 32-bits');
10183
+ for(var i = 0; i < len; i += 4){
10184
+ swap(this, i, i + 3);
10185
+ swap(this, i + 1, i + 2);
10186
+ }
10187
+ return this;
10188
+ };
10189
+ Buffer.prototype.swap64 = function() {
10190
+ var len = this.length;
10191
+ if (len % 8 !== 0) throw new RangeError('Buffer size must be a multiple of 64-bits');
10192
+ for(var i = 0; i < len; i += 8){
10193
+ swap(this, i, i + 7);
10194
+ swap(this, i + 1, i + 6);
10195
+ swap(this, i + 2, i + 5);
10196
+ swap(this, i + 3, i + 4);
10197
+ }
10198
+ return this;
10199
+ };
10200
+ Buffer.prototype.toString = function() {
10201
+ var length = this.length;
10202
+ if (0 === length) return '';
10203
+ if (0 === arguments.length) return utf8Slice(this, 0, length);
10204
+ return slowToString.apply(this, arguments);
10205
+ };
10206
+ Buffer.prototype.toLocaleString = Buffer.prototype.toString;
10207
+ Buffer.prototype.equals = function(b) {
10208
+ if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer');
10209
+ if (this === b) return true;
10210
+ return 0 === Buffer.compare(this, b);
10211
+ };
10212
+ Buffer.prototype.inspect = function() {
10213
+ var str = '';
10214
+ var max = exports.INSPECT_MAX_BYTES;
10215
+ str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim();
10216
+ if (this.length > max) str += ' ... ';
10217
+ return '<Buffer ' + str + '>';
10218
+ };
10219
+ if (customInspectSymbol) Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect;
10220
+ Buffer.prototype.compare = function(target, start, end, thisStart, thisEnd) {
10221
+ if (isInstance(target, Uint8Array)) target = Buffer.from(target, target.offset, target.byteLength);
10222
+ if (!Buffer.isBuffer(target)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof target);
10223
+ if (void 0 === start) start = 0;
10224
+ if (void 0 === end) end = target ? target.length : 0;
10225
+ if (void 0 === thisStart) thisStart = 0;
10226
+ if (void 0 === thisEnd) thisEnd = this.length;
10227
+ if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) throw new RangeError('out of range index');
10228
+ if (thisStart >= thisEnd && start >= end) return 0;
10229
+ if (thisStart >= thisEnd) return -1;
10230
+ if (start >= end) return 1;
10231
+ start >>>= 0;
10232
+ end >>>= 0;
10233
+ thisStart >>>= 0;
10234
+ thisEnd >>>= 0;
10235
+ if (this === target) return 0;
10236
+ var x = thisEnd - thisStart;
10237
+ var y = end - start;
10238
+ var len = Math.min(x, y);
10239
+ var thisCopy = this.slice(thisStart, thisEnd);
10240
+ var targetCopy = target.slice(start, end);
10241
+ for(var i = 0; i < len; ++i)if (thisCopy[i] !== targetCopy[i]) {
10242
+ x = thisCopy[i];
10243
+ y = targetCopy[i];
10244
+ break;
10245
+ }
10246
+ if (x < y) return -1;
10247
+ if (y < x) return 1;
10248
+ return 0;
10249
+ };
10250
+ function bidirectionalIndexOf(buffer, val, byteOffset, encoding, dir) {
10251
+ if (0 === buffer.length) return -1;
10252
+ if ('string' == typeof byteOffset) {
10253
+ encoding = byteOffset;
10254
+ byteOffset = 0;
10255
+ } else if (byteOffset > 0x7fffffff) byteOffset = 0x7fffffff;
10256
+ else if (byteOffset < -2147483648) byteOffset = -2147483648;
10257
+ byteOffset *= 1;
10258
+ if (numberIsNaN(byteOffset)) byteOffset = dir ? 0 : buffer.length - 1;
10259
+ if (byteOffset < 0) byteOffset = buffer.length + byteOffset;
10260
+ if (byteOffset >= buffer.length) if (dir) return -1;
10261
+ else byteOffset = buffer.length - 1;
10262
+ else if (byteOffset < 0) if (!dir) return -1;
10263
+ else byteOffset = 0;
10264
+ if ('string' == typeof val) val = Buffer.from(val, encoding);
10265
+ if (Buffer.isBuffer(val)) {
10266
+ if (0 === val.length) return -1;
10267
+ return arrayIndexOf(buffer, val, byteOffset, encoding, dir);
10268
+ }
10269
+ if ('number' == typeof val) {
10270
+ val &= 0xFF;
10271
+ if ('function' == typeof Uint8Array.prototype.indexOf) if (dir) return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset);
10272
+ else return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset);
10273
+ return arrayIndexOf(buffer, [
10274
+ val
10275
+ ], byteOffset, encoding, dir);
10276
+ }
10277
+ throw new TypeError('val must be string, number or Buffer');
10278
+ }
10279
+ function arrayIndexOf(arr, val, byteOffset, encoding, dir) {
10280
+ var indexSize = 1;
10281
+ var arrLength = arr.length;
10282
+ var valLength = val.length;
10283
+ if (void 0 !== encoding) {
10284
+ encoding = String(encoding).toLowerCase();
10285
+ if ('ucs2' === encoding || 'ucs-2' === encoding || 'utf16le' === encoding || 'utf-16le' === encoding) {
10286
+ if (arr.length < 2 || val.length < 2) return -1;
10287
+ indexSize = 2;
10288
+ arrLength /= 2;
10289
+ valLength /= 2;
10290
+ byteOffset /= 2;
10291
+ }
10292
+ }
10293
+ function read(buf, i) {
10294
+ if (1 === indexSize) return buf[i];
10295
+ return buf.readUInt16BE(i * indexSize);
10296
+ }
10297
+ var i;
10298
+ if (dir) {
10299
+ var foundIndex = -1;
10300
+ for(i = byteOffset; i < arrLength; i++)if (read(arr, i) === read(val, -1 === foundIndex ? 0 : i - foundIndex)) {
10301
+ if (-1 === foundIndex) foundIndex = i;
10302
+ if (i - foundIndex + 1 === valLength) return foundIndex * indexSize;
10303
+ } else {
10304
+ if (-1 !== foundIndex) i -= i - foundIndex;
10305
+ foundIndex = -1;
10306
+ }
10307
+ } else {
10308
+ if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength;
10309
+ for(i = byteOffset; i >= 0; i--){
10310
+ var found = true;
10311
+ for(var j = 0; j < valLength; j++)if (read(arr, i + j) !== read(val, j)) {
10312
+ found = false;
10313
+ break;
10314
+ }
10315
+ if (found) return i;
10316
+ }
10317
+ }
10318
+ return -1;
10319
+ }
10320
+ Buffer.prototype.includes = function(val, byteOffset, encoding) {
10321
+ return -1 !== this.indexOf(val, byteOffset, encoding);
10322
+ };
10323
+ Buffer.prototype.indexOf = function(val, byteOffset, encoding) {
10324
+ return bidirectionalIndexOf(this, val, byteOffset, encoding, true);
10325
+ };
10326
+ Buffer.prototype.lastIndexOf = function(val, byteOffset, encoding) {
10327
+ return bidirectionalIndexOf(this, val, byteOffset, encoding, false);
10328
+ };
10329
+ function hexWrite(buf, string, offset, length) {
10330
+ offset = Number(offset) || 0;
10331
+ var remaining = buf.length - offset;
10332
+ if (length) {
10333
+ length = Number(length);
10334
+ if (length > remaining) length = remaining;
10335
+ } else length = remaining;
10336
+ var strLen = string.length;
10337
+ if (length > strLen / 2) length = strLen / 2;
10338
+ for(var i = 0; i < length; ++i){
10339
+ var parsed = parseInt(string.substr(2 * i, 2), 16);
10340
+ if (numberIsNaN(parsed)) break;
10341
+ buf[offset + i] = parsed;
10342
+ }
10343
+ return i;
10344
+ }
10345
+ function utf8Write(buf, string, offset, length) {
10346
+ return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length);
10347
+ }
10348
+ function asciiWrite(buf, string, offset, length) {
10349
+ return blitBuffer(asciiToBytes(string), buf, offset, length);
10350
+ }
10351
+ function base64Write(buf, string, offset, length) {
10352
+ return blitBuffer(base64ToBytes(string), buf, offset, length);
10353
+ }
10354
+ function ucs2Write(buf, string, offset, length) {
10355
+ return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length);
10356
+ }
10357
+ Buffer.prototype.write = function(string, offset, length, encoding) {
10358
+ if (void 0 === offset) {
10359
+ encoding = 'utf8';
10360
+ length = this.length;
10361
+ offset = 0;
10362
+ } else if (void 0 === length && 'string' == typeof offset) {
10363
+ encoding = offset;
10364
+ length = this.length;
10365
+ offset = 0;
10366
+ } else if (isFinite(offset)) {
10367
+ offset >>>= 0;
10368
+ if (isFinite(length)) {
10369
+ length >>>= 0;
10370
+ if (void 0 === encoding) encoding = 'utf8';
10371
+ } else {
10372
+ encoding = length;
10373
+ length = void 0;
10374
+ }
10375
+ } else throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');
10376
+ var remaining = this.length - offset;
10377
+ if (void 0 === length || length > remaining) length = remaining;
10378
+ if (string.length > 0 && (length < 0 || offset < 0) || offset > this.length) throw new RangeError('Attempt to write outside buffer bounds');
10379
+ if (!encoding) encoding = 'utf8';
10380
+ var loweredCase = false;
10381
+ for(;;)switch(encoding){
10382
+ case 'hex':
10383
+ return hexWrite(this, string, offset, length);
10384
+ case 'utf8':
10385
+ case 'utf-8':
10386
+ return utf8Write(this, string, offset, length);
10387
+ case 'ascii':
10388
+ case 'latin1':
10389
+ case 'binary':
10390
+ return asciiWrite(this, string, offset, length);
10391
+ case 'base64':
10392
+ return base64Write(this, string, offset, length);
10393
+ case 'ucs2':
10394
+ case 'ucs-2':
10395
+ case 'utf16le':
10396
+ case 'utf-16le':
10397
+ return ucs2Write(this, string, offset, length);
10398
+ default:
10399
+ if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding);
10400
+ encoding = ('' + encoding).toLowerCase();
10401
+ loweredCase = true;
10402
+ }
10403
+ };
10404
+ Buffer.prototype.toJSON = function() {
10405
+ return {
10406
+ type: 'Buffer',
10407
+ data: Array.prototype.slice.call(this._arr || this, 0)
10408
+ };
10409
+ };
10410
+ function base64Slice(buf, start, end) {
10411
+ if (0 === start && end === buf.length) return base64.fromByteArray(buf);
10412
+ return base64.fromByteArray(buf.slice(start, end));
10413
+ }
10414
+ function utf8Slice(buf, start, end) {
10415
+ end = Math.min(buf.length, end);
10416
+ var res = [];
10417
+ var i = start;
10418
+ while(i < end){
10419
+ var firstByte = buf[i];
10420
+ var codePoint = null;
10421
+ var bytesPerSequence = firstByte > 0xEF ? 4 : firstByte > 0xDF ? 3 : firstByte > 0xBF ? 2 : 1;
10422
+ if (i + bytesPerSequence <= end) {
10423
+ var secondByte, thirdByte, fourthByte, tempCodePoint;
10424
+ switch(bytesPerSequence){
10425
+ case 1:
10426
+ if (firstByte < 0x80) codePoint = firstByte;
10427
+ break;
10428
+ case 2:
10429
+ secondByte = buf[i + 1];
10430
+ if ((0xC0 & secondByte) === 0x80) {
10431
+ tempCodePoint = (0x1F & firstByte) << 0x6 | 0x3F & secondByte;
10432
+ if (tempCodePoint > 0x7F) codePoint = tempCodePoint;
10433
+ }
10434
+ break;
10435
+ case 3:
10436
+ secondByte = buf[i + 1];
10437
+ thirdByte = buf[i + 2];
10438
+ if ((0xC0 & secondByte) === 0x80 && (0xC0 & thirdByte) === 0x80) {
10439
+ tempCodePoint = (0xF & firstByte) << 0xC | (0x3F & secondByte) << 0x6 | 0x3F & thirdByte;
10440
+ if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) codePoint = tempCodePoint;
10441
+ }
10442
+ break;
10443
+ case 4:
10444
+ secondByte = buf[i + 1];
10445
+ thirdByte = buf[i + 2];
10446
+ fourthByte = buf[i + 3];
10447
+ if ((0xC0 & secondByte) === 0x80 && (0xC0 & thirdByte) === 0x80 && (0xC0 & fourthByte) === 0x80) {
10448
+ tempCodePoint = (0xF & firstByte) << 0x12 | (0x3F & secondByte) << 0xC | (0x3F & thirdByte) << 0x6 | 0x3F & fourthByte;
10449
+ if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) codePoint = tempCodePoint;
10450
+ }
10451
+ }
10452
+ }
10453
+ if (null === codePoint) {
10454
+ codePoint = 0xFFFD;
10455
+ bytesPerSequence = 1;
10456
+ } else if (codePoint > 0xFFFF) {
10457
+ codePoint -= 0x10000;
10458
+ res.push(codePoint >>> 10 & 0x3FF | 0xD800);
10459
+ codePoint = 0xDC00 | 0x3FF & codePoint;
10460
+ }
10461
+ res.push(codePoint);
10462
+ i += bytesPerSequence;
10463
+ }
10464
+ return decodeCodePointsArray(res);
10465
+ }
10466
+ var MAX_ARGUMENTS_LENGTH = 0x1000;
10467
+ function decodeCodePointsArray(codePoints) {
10468
+ var len = codePoints.length;
10469
+ if (len <= MAX_ARGUMENTS_LENGTH) return String.fromCharCode.apply(String, codePoints);
10470
+ var res = '';
10471
+ var i = 0;
10472
+ while(i < len)res += String.fromCharCode.apply(String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH));
10473
+ return res;
10474
+ }
10475
+ function asciiSlice(buf, start, end) {
10476
+ var ret = '';
10477
+ end = Math.min(buf.length, end);
10478
+ for(var i = start; i < end; ++i)ret += String.fromCharCode(0x7F & buf[i]);
10479
+ return ret;
10480
+ }
10481
+ function latin1Slice(buf, start, end) {
10482
+ var ret = '';
10483
+ end = Math.min(buf.length, end);
10484
+ for(var i = start; i < end; ++i)ret += String.fromCharCode(buf[i]);
10485
+ return ret;
10486
+ }
10487
+ function hexSlice(buf, start, end) {
10488
+ var len = buf.length;
10489
+ if (!start || start < 0) start = 0;
10490
+ if (!end || end < 0 || end > len) end = len;
10491
+ var out = '';
10492
+ for(var i = start; i < end; ++i)out += hexSliceLookupTable[buf[i]];
10493
+ return out;
10494
+ }
10495
+ function utf16leSlice(buf, start, end) {
10496
+ var bytes = buf.slice(start, end);
10497
+ var res = '';
10498
+ for(var i = 0; i < bytes.length - 1; i += 2)res += String.fromCharCode(bytes[i] + 256 * bytes[i + 1]);
10499
+ return res;
10500
+ }
10501
+ Buffer.prototype.slice = function(start, end) {
10502
+ var len = this.length;
10503
+ start = ~~start;
10504
+ end = void 0 === end ? len : ~~end;
10505
+ if (start < 0) {
10506
+ start += len;
10507
+ if (start < 0) start = 0;
10508
+ } else if (start > len) start = len;
10509
+ if (end < 0) {
10510
+ end += len;
10511
+ if (end < 0) end = 0;
10512
+ } else if (end > len) end = len;
10513
+ if (end < start) end = start;
10514
+ var newBuf = this.subarray(start, end);
10515
+ Object.setPrototypeOf(newBuf, Buffer.prototype);
10516
+ return newBuf;
10517
+ };
10518
+ function checkOffset(offset, ext, length) {
10519
+ if (offset % 1 !== 0 || offset < 0) throw new RangeError('offset is not uint');
10520
+ if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length');
10521
+ }
10522
+ Buffer.prototype.readUintLE = Buffer.prototype.readUIntLE = function(offset, byteLength, noAssert) {
10523
+ offset >>>= 0;
10524
+ byteLength >>>= 0;
10525
+ if (!noAssert) checkOffset(offset, byteLength, this.length);
10526
+ var val = this[offset];
10527
+ var mul = 1;
10528
+ var i = 0;
10529
+ while(++i < byteLength && (mul *= 0x100))val += this[offset + i] * mul;
10530
+ return val;
10531
+ };
10532
+ Buffer.prototype.readUintBE = Buffer.prototype.readUIntBE = function(offset, byteLength, noAssert) {
10533
+ offset >>>= 0;
10534
+ byteLength >>>= 0;
10535
+ if (!noAssert) checkOffset(offset, byteLength, this.length);
10536
+ var val = this[offset + --byteLength];
10537
+ var mul = 1;
10538
+ while(byteLength > 0 && (mul *= 0x100))val += this[offset + --byteLength] * mul;
10539
+ return val;
10540
+ };
10541
+ Buffer.prototype.readUint8 = Buffer.prototype.readUInt8 = function(offset, noAssert) {
10542
+ offset >>>= 0;
10543
+ if (!noAssert) checkOffset(offset, 1, this.length);
10544
+ return this[offset];
10545
+ };
10546
+ Buffer.prototype.readUint16LE = Buffer.prototype.readUInt16LE = function(offset, noAssert) {
10547
+ offset >>>= 0;
10548
+ if (!noAssert) checkOffset(offset, 2, this.length);
10549
+ return this[offset] | this[offset + 1] << 8;
10550
+ };
10551
+ Buffer.prototype.readUint16BE = Buffer.prototype.readUInt16BE = function(offset, noAssert) {
10552
+ offset >>>= 0;
10553
+ if (!noAssert) checkOffset(offset, 2, this.length);
10554
+ return this[offset] << 8 | this[offset + 1];
10555
+ };
10556
+ Buffer.prototype.readUint32LE = Buffer.prototype.readUInt32LE = function(offset, noAssert) {
10557
+ offset >>>= 0;
10558
+ if (!noAssert) checkOffset(offset, 4, this.length);
10559
+ return (this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16) + 0x1000000 * this[offset + 3];
10560
+ };
10561
+ Buffer.prototype.readUint32BE = Buffer.prototype.readUInt32BE = function(offset, noAssert) {
10562
+ offset >>>= 0;
10563
+ if (!noAssert) checkOffset(offset, 4, this.length);
10564
+ return 0x1000000 * this[offset] + (this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3]);
10565
+ };
10566
+ Buffer.prototype.readIntLE = function(offset, byteLength, noAssert) {
10567
+ offset >>>= 0;
10568
+ byteLength >>>= 0;
10569
+ if (!noAssert) checkOffset(offset, byteLength, this.length);
10570
+ var val = this[offset];
10571
+ var mul = 1;
10572
+ var i = 0;
10573
+ while(++i < byteLength && (mul *= 0x100))val += this[offset + i] * mul;
10574
+ mul *= 0x80;
10575
+ if (val >= mul) val -= Math.pow(2, 8 * byteLength);
10576
+ return val;
10577
+ };
10578
+ Buffer.prototype.readIntBE = function(offset, byteLength, noAssert) {
10579
+ offset >>>= 0;
10580
+ byteLength >>>= 0;
10581
+ if (!noAssert) checkOffset(offset, byteLength, this.length);
10582
+ var i = byteLength;
10583
+ var mul = 1;
10584
+ var val = this[offset + --i];
10585
+ while(i > 0 && (mul *= 0x100))val += this[offset + --i] * mul;
10586
+ mul *= 0x80;
10587
+ if (val >= mul) val -= Math.pow(2, 8 * byteLength);
10588
+ return val;
10589
+ };
10590
+ Buffer.prototype.readInt8 = function(offset, noAssert) {
10591
+ offset >>>= 0;
10592
+ if (!noAssert) checkOffset(offset, 1, this.length);
10593
+ if (!(0x80 & this[offset])) return this[offset];
10594
+ return (0xff - this[offset] + 1) * -1;
10595
+ };
10596
+ Buffer.prototype.readInt16LE = function(offset, noAssert) {
10597
+ offset >>>= 0;
10598
+ if (!noAssert) checkOffset(offset, 2, this.length);
10599
+ var val = this[offset] | this[offset + 1] << 8;
10600
+ return 0x8000 & val ? 0xFFFF0000 | val : val;
10601
+ };
10602
+ Buffer.prototype.readInt16BE = function(offset, noAssert) {
10603
+ offset >>>= 0;
10604
+ if (!noAssert) checkOffset(offset, 2, this.length);
10605
+ var val = this[offset + 1] | this[offset] << 8;
10606
+ return 0x8000 & val ? 0xFFFF0000 | val : val;
10607
+ };
10608
+ Buffer.prototype.readInt32LE = function(offset, noAssert) {
10609
+ offset >>>= 0;
10610
+ if (!noAssert) checkOffset(offset, 4, this.length);
10611
+ return this[offset] | this[offset + 1] << 8 | this[offset + 2] << 16 | this[offset + 3] << 24;
10612
+ };
10613
+ Buffer.prototype.readInt32BE = function(offset, noAssert) {
10614
+ offset >>>= 0;
10615
+ if (!noAssert) checkOffset(offset, 4, this.length);
10616
+ return this[offset] << 24 | this[offset + 1] << 16 | this[offset + 2] << 8 | this[offset + 3];
10617
+ };
10618
+ Buffer.prototype.readFloatLE = function(offset, noAssert) {
10619
+ offset >>>= 0;
10620
+ if (!noAssert) checkOffset(offset, 4, this.length);
10621
+ return ieee754.read(this, offset, true, 23, 4);
10622
+ };
10623
+ Buffer.prototype.readFloatBE = function(offset, noAssert) {
10624
+ offset >>>= 0;
10625
+ if (!noAssert) checkOffset(offset, 4, this.length);
10626
+ return ieee754.read(this, offset, false, 23, 4);
10627
+ };
10628
+ Buffer.prototype.readDoubleLE = function(offset, noAssert) {
10629
+ offset >>>= 0;
10630
+ if (!noAssert) checkOffset(offset, 8, this.length);
10631
+ return ieee754.read(this, offset, true, 52, 8);
10632
+ };
10633
+ Buffer.prototype.readDoubleBE = function(offset, noAssert) {
10634
+ offset >>>= 0;
10635
+ if (!noAssert) checkOffset(offset, 8, this.length);
10636
+ return ieee754.read(this, offset, false, 52, 8);
10637
+ };
10638
+ function checkInt(buf, value, offset, ext, max, min) {
10639
+ if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance');
10640
+ if (value > max || value < min) throw new RangeError('"value" argument is out of bounds');
10641
+ if (offset + ext > buf.length) throw new RangeError('Index out of range');
10642
+ }
10643
+ Buffer.prototype.writeUintLE = Buffer.prototype.writeUIntLE = function(value, offset, byteLength, noAssert) {
10644
+ value *= 1;
10645
+ offset >>>= 0;
10646
+ byteLength >>>= 0;
10647
+ if (!noAssert) {
10648
+ var maxBytes = Math.pow(2, 8 * byteLength) - 1;
10649
+ checkInt(this, value, offset, byteLength, maxBytes, 0);
10650
+ }
10651
+ var mul = 1;
10652
+ var i = 0;
10653
+ this[offset] = 0xFF & value;
10654
+ while(++i < byteLength && (mul *= 0x100))this[offset + i] = value / mul & 0xFF;
10655
+ return offset + byteLength;
10656
+ };
10657
+ Buffer.prototype.writeUintBE = Buffer.prototype.writeUIntBE = function(value, offset, byteLength, noAssert) {
10658
+ value *= 1;
10659
+ offset >>>= 0;
10660
+ byteLength >>>= 0;
10661
+ if (!noAssert) {
10662
+ var maxBytes = Math.pow(2, 8 * byteLength) - 1;
10663
+ checkInt(this, value, offset, byteLength, maxBytes, 0);
10664
+ }
10665
+ var i = byteLength - 1;
10666
+ var mul = 1;
10667
+ this[offset + i] = 0xFF & value;
10668
+ while(--i >= 0 && (mul *= 0x100))this[offset + i] = value / mul & 0xFF;
10669
+ return offset + byteLength;
10670
+ };
10671
+ Buffer.prototype.writeUint8 = Buffer.prototype.writeUInt8 = function(value, offset, noAssert) {
10672
+ value *= 1;
10673
+ offset >>>= 0;
10674
+ if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0);
10675
+ this[offset] = 0xff & value;
10676
+ return offset + 1;
10677
+ };
10678
+ Buffer.prototype.writeUint16LE = Buffer.prototype.writeUInt16LE = function(value, offset, noAssert) {
10679
+ value *= 1;
10680
+ offset >>>= 0;
10681
+ if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);
10682
+ this[offset] = 0xff & value;
10683
+ this[offset + 1] = value >>> 8;
10684
+ return offset + 2;
10685
+ };
10686
+ Buffer.prototype.writeUint16BE = Buffer.prototype.writeUInt16BE = function(value, offset, noAssert) {
10687
+ value *= 1;
10688
+ offset >>>= 0;
10689
+ if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0);
10690
+ this[offset] = value >>> 8;
10691
+ this[offset + 1] = 0xff & value;
10692
+ return offset + 2;
10693
+ };
10694
+ Buffer.prototype.writeUint32LE = Buffer.prototype.writeUInt32LE = function(value, offset, noAssert) {
10695
+ value *= 1;
10696
+ offset >>>= 0;
10697
+ if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);
10698
+ this[offset + 3] = value >>> 24;
10699
+ this[offset + 2] = value >>> 16;
10700
+ this[offset + 1] = value >>> 8;
10701
+ this[offset] = 0xff & value;
10702
+ return offset + 4;
10703
+ };
10704
+ Buffer.prototype.writeUint32BE = Buffer.prototype.writeUInt32BE = function(value, offset, noAssert) {
10705
+ value *= 1;
10706
+ offset >>>= 0;
10707
+ if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0);
10708
+ this[offset] = value >>> 24;
10709
+ this[offset + 1] = value >>> 16;
10710
+ this[offset + 2] = value >>> 8;
10711
+ this[offset + 3] = 0xff & value;
10712
+ return offset + 4;
10713
+ };
10714
+ Buffer.prototype.writeIntLE = function(value, offset, byteLength, noAssert) {
10715
+ value *= 1;
10716
+ offset >>>= 0;
10717
+ if (!noAssert) {
10718
+ var limit = Math.pow(2, 8 * byteLength - 1);
10719
+ checkInt(this, value, offset, byteLength, limit - 1, -limit);
10720
+ }
10721
+ var i = 0;
10722
+ var mul = 1;
10723
+ var sub = 0;
10724
+ this[offset] = 0xFF & value;
10725
+ while(++i < byteLength && (mul *= 0x100)){
10726
+ if (value < 0 && 0 === sub && 0 !== this[offset + i - 1]) sub = 1;
10727
+ this[offset + i] = (value / mul | 0) - sub & 0xFF;
10728
+ }
10729
+ return offset + byteLength;
10730
+ };
10731
+ Buffer.prototype.writeIntBE = function(value, offset, byteLength, noAssert) {
10732
+ value *= 1;
10733
+ offset >>>= 0;
10734
+ if (!noAssert) {
10735
+ var limit = Math.pow(2, 8 * byteLength - 1);
10736
+ checkInt(this, value, offset, byteLength, limit - 1, -limit);
10737
+ }
10738
+ var i = byteLength - 1;
10739
+ var mul = 1;
10740
+ var sub = 0;
10741
+ this[offset + i] = 0xFF & value;
10742
+ while(--i >= 0 && (mul *= 0x100)){
10743
+ if (value < 0 && 0 === sub && 0 !== this[offset + i + 1]) sub = 1;
10744
+ this[offset + i] = (value / mul | 0) - sub & 0xFF;
10745
+ }
10746
+ return offset + byteLength;
10747
+ };
10748
+ Buffer.prototype.writeInt8 = function(value, offset, noAssert) {
10749
+ value *= 1;
10750
+ offset >>>= 0;
10751
+ if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -128);
10752
+ if (value < 0) value = 0xff + value + 1;
10753
+ this[offset] = 0xff & value;
10754
+ return offset + 1;
10755
+ };
10756
+ Buffer.prototype.writeInt16LE = function(value, offset, noAssert) {
10757
+ value *= 1;
10758
+ offset >>>= 0;
10759
+ if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
10760
+ this[offset] = 0xff & value;
10761
+ this[offset + 1] = value >>> 8;
10762
+ return offset + 2;
10763
+ };
10764
+ Buffer.prototype.writeInt16BE = function(value, offset, noAssert) {
10765
+ value *= 1;
10766
+ offset >>>= 0;
10767
+ if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
10768
+ this[offset] = value >>> 8;
10769
+ this[offset + 1] = 0xff & value;
10770
+ return offset + 2;
10771
+ };
10772
+ Buffer.prototype.writeInt32LE = function(value, offset, noAssert) {
10773
+ value *= 1;
10774
+ offset >>>= 0;
10775
+ if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
10776
+ this[offset] = 0xff & value;
10777
+ this[offset + 1] = value >>> 8;
10778
+ this[offset + 2] = value >>> 16;
10779
+ this[offset + 3] = value >>> 24;
10780
+ return offset + 4;
10781
+ };
10782
+ Buffer.prototype.writeInt32BE = function(value, offset, noAssert) {
10783
+ value *= 1;
10784
+ offset >>>= 0;
10785
+ if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
10786
+ if (value < 0) value = 0xffffffff + value + 1;
10787
+ this[offset] = value >>> 24;
10788
+ this[offset + 1] = value >>> 16;
10789
+ this[offset + 2] = value >>> 8;
10790
+ this[offset + 3] = 0xff & value;
10791
+ return offset + 4;
10792
+ };
10793
+ function checkIEEE754(buf, value, offset, ext, max, min) {
10794
+ if (offset + ext > buf.length) throw new RangeError('Index out of range');
10795
+ if (offset < 0) throw new RangeError('Index out of range');
10796
+ }
10797
+ function writeFloat(buf, value, offset, littleEndian, noAssert) {
10798
+ value *= 1;
10799
+ offset >>>= 0;
10800
+ if (!noAssert) checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38);
10801
+ ieee754.write(buf, value, offset, littleEndian, 23, 4);
10802
+ return offset + 4;
10803
+ }
10804
+ Buffer.prototype.writeFloatLE = function(value, offset, noAssert) {
10805
+ return writeFloat(this, value, offset, true, noAssert);
10806
+ };
10807
+ Buffer.prototype.writeFloatBE = function(value, offset, noAssert) {
10808
+ return writeFloat(this, value, offset, false, noAssert);
10809
+ };
10810
+ function writeDouble(buf, value, offset, littleEndian, noAssert) {
10811
+ value *= 1;
10812
+ offset >>>= 0;
10813
+ if (!noAssert) checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157e+308);
10814
+ ieee754.write(buf, value, offset, littleEndian, 52, 8);
10815
+ return offset + 8;
10816
+ }
10817
+ Buffer.prototype.writeDoubleLE = function(value, offset, noAssert) {
10818
+ return writeDouble(this, value, offset, true, noAssert);
10819
+ };
10820
+ Buffer.prototype.writeDoubleBE = function(value, offset, noAssert) {
10821
+ return writeDouble(this, value, offset, false, noAssert);
10822
+ };
10823
+ Buffer.prototype.copy = function(target, targetStart, start, end) {
10824
+ if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer');
10825
+ if (!start) start = 0;
10826
+ if (!end && 0 !== end) end = this.length;
10827
+ if (targetStart >= target.length) targetStart = target.length;
10828
+ if (!targetStart) targetStart = 0;
10829
+ if (end > 0 && end < start) end = start;
10830
+ if (end === start) return 0;
10831
+ if (0 === target.length || 0 === this.length) return 0;
10832
+ if (targetStart < 0) throw new RangeError('targetStart out of bounds');
10833
+ if (start < 0 || start >= this.length) throw new RangeError('Index out of range');
10834
+ if (end < 0) throw new RangeError('sourceEnd out of bounds');
10835
+ if (end > this.length) end = this.length;
10836
+ if (target.length - targetStart < end - start) end = target.length - targetStart + start;
10837
+ var len = end - start;
10838
+ if (this === target && 'function' == typeof Uint8Array.prototype.copyWithin) this.copyWithin(targetStart, start, end);
10839
+ else Uint8Array.prototype.set.call(target, this.subarray(start, end), targetStart);
10840
+ return len;
10841
+ };
10842
+ Buffer.prototype.fill = function(val, start, end, encoding) {
10843
+ if ('string' == typeof val) {
10844
+ if ('string' == typeof start) {
10845
+ encoding = start;
10846
+ start = 0;
10847
+ end = this.length;
10848
+ } else if ('string' == typeof end) {
10849
+ encoding = end;
10850
+ end = this.length;
10851
+ }
10852
+ if (void 0 !== encoding && 'string' != typeof encoding) throw new TypeError('encoding must be a string');
10853
+ if ('string' == typeof encoding && !Buffer.isEncoding(encoding)) throw new TypeError('Unknown encoding: ' + encoding);
10854
+ if (1 === val.length) {
10855
+ var code = val.charCodeAt(0);
10856
+ if ('utf8' === encoding && code < 128 || 'latin1' === encoding) val = code;
10857
+ }
10858
+ } else if ('number' == typeof val) val &= 255;
10859
+ else if ('boolean' == typeof val) val = Number(val);
10860
+ if (start < 0 || this.length < start || this.length < end) throw new RangeError('Out of range index');
10861
+ if (end <= start) return this;
10862
+ start >>>= 0;
10863
+ end = void 0 === end ? this.length : end >>> 0;
10864
+ if (!val) val = 0;
10865
+ var i;
10866
+ if ('number' == typeof val) for(i = start; i < end; ++i)this[i] = val;
10867
+ else {
10868
+ var bytes = Buffer.isBuffer(val) ? val : Buffer.from(val, encoding);
10869
+ var len = bytes.length;
10870
+ if (0 === len) throw new TypeError('The value "' + val + '" is invalid for argument "value"');
10871
+ for(i = 0; i < end - start; ++i)this[i + start] = bytes[i % len];
10872
+ }
10873
+ return this;
10874
+ };
10875
+ var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g;
10876
+ function base64clean(str) {
10877
+ str = str.split('=')[0];
10878
+ str = str.trim().replace(INVALID_BASE64_RE, '');
10879
+ if (str.length < 2) return '';
10880
+ while(str.length % 4 !== 0)str += '=';
10881
+ return str;
10882
+ }
10883
+ function utf8ToBytes(string, units) {
10884
+ units = units || 1 / 0;
10885
+ var codePoint;
10886
+ var length = string.length;
10887
+ var leadSurrogate = null;
10888
+ var bytes = [];
10889
+ for(var i = 0; i < length; ++i){
10890
+ codePoint = string.charCodeAt(i);
10891
+ if (codePoint > 0xD7FF && codePoint < 0xE000) {
10892
+ if (!leadSurrogate) {
10893
+ if (codePoint > 0xDBFF) {
10894
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
10895
+ continue;
10896
+ }
10897
+ if (i + 1 === length) {
10898
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
10899
+ continue;
10900
+ }
10901
+ leadSurrogate = codePoint;
10902
+ continue;
10903
+ }
10904
+ if (codePoint < 0xDC00) {
10905
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
10906
+ leadSurrogate = codePoint;
10907
+ continue;
10908
+ }
10909
+ codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000;
10910
+ } else if (leadSurrogate) {
10911
+ if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD);
10912
+ }
10913
+ leadSurrogate = null;
10914
+ if (codePoint < 0x80) {
10915
+ if ((units -= 1) < 0) break;
10916
+ bytes.push(codePoint);
10917
+ } else if (codePoint < 0x800) {
10918
+ if ((units -= 2) < 0) break;
10919
+ bytes.push(codePoint >> 0x6 | 0xC0, 0x3F & codePoint | 0x80);
10920
+ } else if (codePoint < 0x10000) {
10921
+ if ((units -= 3) < 0) break;
10922
+ bytes.push(codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, 0x3F & codePoint | 0x80);
10923
+ } else if (codePoint < 0x110000) {
10924
+ if ((units -= 4) < 0) break;
10925
+ bytes.push(codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, 0x3F & codePoint | 0x80);
10926
+ } else throw new Error('Invalid code point');
10927
+ }
10928
+ return bytes;
10929
+ }
10930
+ function asciiToBytes(str) {
10931
+ var byteArray = [];
10932
+ for(var i = 0; i < str.length; ++i)byteArray.push(0xFF & str.charCodeAt(i));
10933
+ return byteArray;
10934
+ }
10935
+ function utf16leToBytes(str, units) {
10936
+ var c, hi, lo;
10937
+ var byteArray = [];
10938
+ for(var i = 0; i < str.length; ++i){
10939
+ if ((units -= 2) < 0) break;
10940
+ c = str.charCodeAt(i);
10941
+ hi = c >> 8;
10942
+ lo = c % 256;
10943
+ byteArray.push(lo);
10944
+ byteArray.push(hi);
10945
+ }
10946
+ return byteArray;
10947
+ }
10948
+ function base64ToBytes(str) {
10949
+ return base64.toByteArray(base64clean(str));
10950
+ }
10951
+ function blitBuffer(src, dst, offset, length) {
10952
+ for(var i = 0; i < length; ++i){
10953
+ if (i + offset >= dst.length || i >= src.length) break;
10954
+ dst[i + offset] = src[i];
10955
+ }
10956
+ return i;
10957
+ }
10958
+ function isInstance(obj, type) {
10959
+ return obj instanceof type || null != obj && null != obj.constructor && null != obj.constructor.name && obj.constructor.name === type.name;
10960
+ }
10961
+ function numberIsNaN(obj) {
10962
+ return obj !== obj;
10963
+ }
10964
+ var hexSliceLookupTable = function() {
10965
+ var alphabet = '0123456789abcdef';
10966
+ var table = new Array(256);
10967
+ for(var i = 0; i < 16; ++i){
10968
+ var i16 = 16 * i;
10969
+ for(var j = 0; j < 16; ++j)table[i16 + j] = alphabet[i] + alphabet[j];
10970
+ }
10971
+ return table;
10972
+ }();
10973
+ },
9803
10974
  "../../node_modules/.pnpm/builtin-status-codes@3.0.0/node_modules/builtin-status-codes/browser.js" (module) {
9804
10975
  module.exports = {
9805
10976
  100: "Continue",
@@ -10070,13 +11241,13 @@ __webpack_require__.add({
10070
11241
  return null === arg || 'boolean' == typeof arg || 'number' == typeof arg || 'string' == typeof arg || 'symbol' == typeof arg || void 0 === arg;
10071
11242
  }
10072
11243
  exports.isPrimitive = isPrimitive;
10073
- exports.isBuffer = __webpack_require__("./src/browser/buffer.ts").Buffer.isBuffer;
11244
+ exports.isBuffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer.isBuffer;
10074
11245
  function objectToString(o) {
10075
11246
  return Object.prototype.toString.call(o);
10076
11247
  }
10077
11248
  },
10078
11249
  "../../node_modules/.pnpm/create-ecdh@4.0.4/node_modules/create-ecdh/browser.js" (module, __unused_rspack_exports, __webpack_require__) {
10079
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
11250
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
10080
11251
  var elliptic = __webpack_require__("../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic.js");
10081
11252
  var BN = __webpack_require__("../../node_modules/.pnpm/bn.js@4.12.3/node_modules/bn.js/lib/bn.js");
10082
11253
  module.exports = function(curve) {
@@ -11461,7 +12632,7 @@ __webpack_require__.add({
11461
12632
  };
11462
12633
  },
11463
12634
  "../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/browser.js" (__unused_rspack_module, exports, __webpack_require__) {
11464
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
12635
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
11465
12636
  var generatePrime = __webpack_require__("../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/generatePrime.js");
11466
12637
  var primes = __webpack_require__("../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/primes.json");
11467
12638
  var DH = __webpack_require__("../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/dh.js");
@@ -11491,7 +12662,7 @@ __webpack_require__.add({
11491
12662
  exports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman;
11492
12663
  },
11493
12664
  "../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/dh.js" (module, __unused_rspack_exports, __webpack_require__) {
11494
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
12665
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
11495
12666
  var BN = __webpack_require__("../../node_modules/.pnpm/bn.js@4.12.3/node_modules/bn.js/lib/bn.js");
11496
12667
  var MillerRabin = __webpack_require__("../../node_modules/.pnpm/miller-rabin@4.0.1/node_modules/miller-rabin/lib/mr.js");
11497
12668
  var millerRabin = new MillerRabin();
@@ -14617,7 +15788,7 @@ __webpack_require__.add({
14617
15788
  utils.intFromLE = intFromLE;
14618
15789
  },
14619
15790
  "../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
14620
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
15791
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
14621
15792
  const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/util/process-browser.js");
14622
15793
  const dirname = (path)=>{
14623
15794
  let idx = path.length - 1;
@@ -18357,6 +19528,76 @@ __webpack_require__.add({
18357
19528
  return params;
18358
19529
  }
18359
19530
  },
19531
+ "../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js" (__unused_rspack_module, exports) {
19532
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ exports.read = function(buffer, offset, isLE, mLen, nBytes) {
19533
+ var e, m;
19534
+ var eLen = 8 * nBytes - mLen - 1;
19535
+ var eMax = (1 << eLen) - 1;
19536
+ var eBias = eMax >> 1;
19537
+ var nBits = -7;
19538
+ var i = isLE ? nBytes - 1 : 0;
19539
+ var d = isLE ? -1 : 1;
19540
+ var s = buffer[offset + i];
19541
+ i += d;
19542
+ e = s & (1 << -nBits) - 1;
19543
+ s >>= -nBits;
19544
+ nBits += eLen;
19545
+ for(; nBits > 0; e = 256 * e + buffer[offset + i], i += d, nBits -= 8);
19546
+ m = e & (1 << -nBits) - 1;
19547
+ e >>= -nBits;
19548
+ nBits += mLen;
19549
+ for(; nBits > 0; m = 256 * m + buffer[offset + i], i += d, nBits -= 8);
19550
+ if (0 === e) e = 1 - eBias;
19551
+ else {
19552
+ if (e === eMax) return m ? NaN : 1 / 0 * (s ? -1 : 1);
19553
+ m += Math.pow(2, mLen);
19554
+ e -= eBias;
19555
+ }
19556
+ return (s ? -1 : 1) * m * Math.pow(2, e - mLen);
19557
+ };
19558
+ exports.write = function(buffer, value, offset, isLE, mLen, nBytes) {
19559
+ var e, m, c;
19560
+ var eLen = 8 * nBytes - mLen - 1;
19561
+ var eMax = (1 << eLen) - 1;
19562
+ var eBias = eMax >> 1;
19563
+ var rt = 23 === mLen ? Math.pow(2, -24) - Math.pow(2, -77) : 0;
19564
+ var i = isLE ? 0 : nBytes - 1;
19565
+ var d = isLE ? 1 : -1;
19566
+ var s = value < 0 || 0 === value && 1 / value < 0 ? 1 : 0;
19567
+ value = Math.abs(value);
19568
+ if (isNaN(value) || value === 1 / 0) {
19569
+ m = isNaN(value) ? 1 : 0;
19570
+ e = eMax;
19571
+ } else {
19572
+ e = Math.floor(Math.log(value) / Math.LN2);
19573
+ if (value * (c = Math.pow(2, -e)) < 1) {
19574
+ e--;
19575
+ c *= 2;
19576
+ }
19577
+ if (e + eBias >= 1) value += rt / c;
19578
+ else value += rt * Math.pow(2, 1 - eBias);
19579
+ if (value * c >= 2) {
19580
+ e++;
19581
+ c /= 2;
19582
+ }
19583
+ if (e + eBias >= eMax) {
19584
+ m = 0;
19585
+ e = eMax;
19586
+ } else if (e + eBias >= 1) {
19587
+ m = (value * c - 1) * Math.pow(2, mLen);
19588
+ e += eBias;
19589
+ } else {
19590
+ m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);
19591
+ e = 0;
19592
+ }
19593
+ }
19594
+ for(; mLen >= 8; buffer[offset + i] = 0xff & m, i += d, m /= 256, mLen -= 8);
19595
+ e = e << mLen | m;
19596
+ eLen += mLen;
19597
+ for(; eLen > 0; buffer[offset + i] = 0xff & e, i += d, e /= 256, eLen -= 8);
19598
+ buffer[offset + i - d] |= 128 * s;
19599
+ };
19600
+ },
18360
19601
  "../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js" (module) {
18361
19602
  if ('function' == typeof Object.create) module.exports = function(ctor, superCtor) {
18362
19603
  if (superCtor) {
@@ -26340,7 +27581,7 @@ __webpack_require__.add({
26340
27581
  return emitter.listeners(type).length;
26341
27582
  };
26342
27583
  var Stream = __webpack_require__("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
26343
- var Buffer = __webpack_require__("./src/browser/buffer.ts").Buffer;
27584
+ var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer;
26344
27585
  var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g : "u" > typeof window ? window : "u" > typeof self ? self : {}).Uint8Array || function() {};
26345
27586
  function _uint8ArrayToBuffer(chunk) {
26346
27587
  return Buffer.from(chunk);
@@ -27089,7 +28330,7 @@ __webpack_require__.add({
27089
28330
  deprecate: __webpack_require__("../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js")
27090
28331
  };
27091
28332
  var Stream = __webpack_require__("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
27092
- var Buffer = __webpack_require__("./src/browser/buffer.ts").Buffer;
28333
+ var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer;
27093
28334
  var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g : "u" > typeof window ? window : "u" > typeof self ? self : {}).Uint8Array || function() {};
27094
28335
  function _uint8ArrayToBuffer(chunk) {
27095
28336
  return Buffer.from(chunk);
@@ -27724,7 +28965,7 @@ __webpack_require__.add({
27724
28965
  }
27725
28966
  return ("string" === hint ? String : Number)(input);
27726
28967
  }
27727
- var _require = __webpack_require__("./src/browser/buffer.ts"), Buffer = _require.Buffer;
28968
+ var _require = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js"), Buffer = _require.Buffer;
27728
28969
  var _require2 = __webpack_require__("?c028"), inspect = _require2.inspect;
27729
28970
  var custom = inspect && inspect.custom || 'inspect';
27730
28971
  function copyBuffer(src, target, offset) {
@@ -28164,7 +29405,7 @@ __webpack_require__.add({
28164
29405
  exports.pipeline = __webpack_require__("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/pipeline.js");
28165
29406
  },
28166
29407
  "../../node_modules/.pnpm/ripemd160@2.0.3/node_modules/ripemd160/index.js" (module, __unused_rspack_exports, __webpack_require__) {
28167
- var Buffer = __webpack_require__("./src/browser/buffer.ts").Buffer;
29408
+ var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js").Buffer;
28168
29409
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
28169
29410
  var HashBase = __webpack_require__("../../node_modules/.pnpm/hash-base@3.1.2/node_modules/hash-base/index.js");
28170
29411
  var ARRAY16 = new Array(16);
@@ -28610,7 +29851,7 @@ __webpack_require__.add({
28610
29851
  module.exports = RIPEMD160;
28611
29852
  },
28612
29853
  "../../node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js" (module, exports, __webpack_require__) {
28613
- var buffer = __webpack_require__("./src/browser/buffer.ts");
29854
+ var buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js");
28614
29855
  var Buffer = buffer.Buffer;
28615
29856
  function copyProps(src, dst) {
28616
29857
  for(var key in src)dst[key] = src[key];
@@ -28646,7 +29887,7 @@ __webpack_require__.add({
28646
29887
  };
28647
29888
  },
28648
29889
  "../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js" (module, exports, __webpack_require__) {
28649
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ var buffer = __webpack_require__("./src/browser/buffer.ts");
29890
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */ var buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js");
28650
29891
  var Buffer = buffer.Buffer;
28651
29892
  function copyProps(src, dst) {
28652
29893
  for(var key in src)dst[key] = src[key];
@@ -29850,7 +31091,7 @@ __webpack_require__.add({
29850
31091
  xhr = null;
29851
31092
  },
29852
31093
  "../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/request.js" (module, __unused_rspack_exports, __webpack_require__) {
29853
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
31094
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
29854
31095
  var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
29855
31096
  var capability = __webpack_require__("../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/capability.js");
29856
31097
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
@@ -30102,7 +31343,7 @@ __webpack_require__.add({
30102
31343
  },
30103
31344
  "../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/response.js" (__unused_rspack_module, exports, __webpack_require__) {
30104
31345
  var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
30105
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
31346
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
30106
31347
  var capability = __webpack_require__("../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/capability.js");
30107
31348
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
30108
31349
  var stream = __webpack_require__("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/readable-browser.js");
@@ -33242,7 +34483,7 @@ __webpack_require__.add({
33242
34483
  };
33243
34484
  },
33244
34485
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/CachedSource.js" (module, __unused_rspack_exports, __webpack_require__) {
33245
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
34486
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
33246
34487
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
33247
34488
  const streamAndGetSourceAndMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js");
33248
34489
  const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js");
@@ -33467,7 +34708,7 @@ __webpack_require__.add({
33467
34708
  module.exports = CompatSource;
33468
34709
  },
33469
34710
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/ConcatSource.js" (module, __unused_rspack_exports, __webpack_require__) {
33470
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
34711
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
33471
34712
  const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js");
33472
34713
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
33473
34714
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
@@ -33643,7 +34884,7 @@ __webpack_require__.add({
33643
34884
  module.exports = ConcatSource;
33644
34885
  },
33645
34886
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/OriginalSource.js" (module, __unused_rspack_exports, __webpack_require__) {
33646
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
34887
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
33647
34888
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
33648
34889
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
33649
34890
  const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js");
@@ -33744,7 +34985,7 @@ __webpack_require__.add({
33744
34985
  module.exports = OriginalSource;
33745
34986
  },
33746
34987
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/PrefixSource.js" (module, __unused_rspack_exports, __webpack_require__) {
33747
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
34988
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
33748
34989
  const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js");
33749
34990
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
33750
34991
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
@@ -33803,7 +35044,7 @@ __webpack_require__.add({
33803
35044
  module.exports = PrefixSource;
33804
35045
  },
33805
35046
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js" (module, __unused_rspack_exports, __webpack_require__) {
33806
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
35047
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
33807
35048
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
33808
35049
  const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js");
33809
35050
  const { internString, isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js");
@@ -34161,7 +35402,7 @@ __webpack_require__.add({
34161
35402
  module.exports = SizeOnlySource;
34162
35403
  },
34163
35404
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js" (module, __unused_rspack_exports, __webpack_require__) {
34164
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
35405
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
34165
35406
  class Source {
34166
35407
  source() {
34167
35408
  throw new Error("Abstract");
@@ -34190,7 +35431,7 @@ __webpack_require__.add({
34190
35431
  module.exports = Source;
34191
35432
  },
34192
35433
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/SourceMapSource.js" (module, __unused_rspack_exports, __webpack_require__) {
34193
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
35434
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
34194
35435
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
34195
35436
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
34196
35437
  const streamChunksOfCombinedSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js");
@@ -35318,9 +36559,8 @@ __webpack_require__.add({
35318
36559
  }
35319
36560
  },
35320
36561
  "./src/browser/buffer.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
35321
- __webpack_require__.r(__webpack_exports__);
35322
36562
  __webpack_require__.d(__webpack_exports__, {
35323
- Buffer: ()=>_napi_rs_wasm_runtime_fs__rspack_import_0.hp
36563
+ h: ()=>_napi_rs_wasm_runtime_fs__rspack_import_0.hp
35324
36564
  });
35325
36565
  var _napi_rs_wasm_runtime_fs__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.1.4_@emnapi+core@1.10.0_@emnapi+runtime@1.10.0/node_modules/@napi-rs/wasm-runtime/dist/fs.js");
35326
36566
  },
@@ -35339,14 +36579,14 @@ __webpack_require__.add({
35339
36579
  watch: ()=>watch
35340
36580
  });
35341
36581
  var _napi_rs_wasm_runtime_fs__rspack_import_0 = __webpack_require__("../../node_modules/.pnpm/@napi-rs+wasm-runtime@1.1.4_@emnapi+core@1.10.0_@emnapi+runtime@1.10.0/node_modules/@napi-rs/wasm-runtime/dist/fs.js");
35342
- var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?c724");
36582
+ var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?d2c4");
35343
36583
  const fs = _rspack_binding__rspack_import_1.__fs;
35344
36584
  const volume = _rspack_binding__rspack_import_1.__volume;
35345
36585
  const memfs = _napi_rs_wasm_runtime_fs__rspack_import_0.tO;
35346
36586
  const { readFileSync, readdirSync, lstat, existsSync, readdir, watch } = fs;
35347
36587
  const __rspack_default_export = fs;
35348
36588
  },
35349
- "@rspack/binding?c724" (module) {
36589
+ "@rspack/binding?d2c4" (module) {
35350
36590
  module.exports = __rspack_external__rspack_wasi_browser_js_bd433424;
35351
36591
  },
35352
36592
  "?7763" () {},
@@ -55106,7 +56346,7 @@ function createFakeCompilationDependencies(getDeps, addDeps) {
55106
56346
  };
55107
56347
  }
55108
56348
  const webpack_sources_lib = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/index.js");
55109
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
56349
+ var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
55110
56350
  class SourceAdapter {
55111
56351
  static fromBinding(source) {
55112
56352
  if (!source.map) return new webpack_sources_lib.RawSource(source.source);
@@ -56121,7 +57361,7 @@ function canInherentFromParent(affectedHooks) {
56121
57361
  if (void 0 === affectedHooks) return false;
56122
57362
  return !HOOKS_CAN_NOT_INHERENT_FROM_PARENT.includes(affectedHooks);
56123
57363
  }
56124
- class base_RspackBuiltinPlugin {
57364
+ class RspackBuiltinPlugin {
56125
57365
  affectedHooks;
56126
57366
  apply(compiler) {
56127
57367
  const raw = this.raw(compiler);
@@ -56131,14 +57371,14 @@ class base_RspackBuiltinPlugin {
56131
57371
  }
56132
57372
  }
56133
57373
  }
56134
- function base_createBuiltinPlugin(name, options) {
57374
+ function createBuiltinPlugin(name, options) {
56135
57375
  return {
56136
57376
  name: name,
56137
57377
  options: options ?? false
56138
57378
  };
56139
57379
  }
56140
57380
  function base_create(name, resolve, affectedHooks) {
56141
- class Plugin extends base_RspackBuiltinPlugin {
57381
+ class Plugin extends RspackBuiltinPlugin {
56142
57382
  name = name;
56143
57383
  _args;
56144
57384
  affectedHooks = affectedHooks;
@@ -56147,7 +57387,7 @@ function base_create(name, resolve, affectedHooks) {
56147
57387
  this._args = args;
56148
57388
  }
56149
57389
  raw(compiler) {
56150
- return base_createBuiltinPlugin(name, resolve.apply(compiler, this._args));
57390
+ return createBuiltinPlugin(name, resolve.apply(compiler, this._args));
56151
57391
  }
56152
57392
  }
56153
57393
  Object.defineProperty(Plugin, 'name', {
@@ -56186,13 +57426,13 @@ const BundlerInfoRspackPlugin = base_create(external_rspack_wasi_browser_js_Buil
56186
57426
  }));
56187
57427
  const CaseSensitivePlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.CaseSensitivePlugin, ()=>{}, 'compilation');
56188
57428
  const ChunkPrefetchPreloadPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ChunkPrefetchPreloadPlugin, ()=>{});
56189
- class CircularModulesInfoPlugin extends null {
56190
- name = BuiltinPluginName.CircularModulesInfoPlugin;
57429
+ class CircularModulesInfoPlugin extends RspackBuiltinPlugin {
57430
+ name = external_rspack_wasi_browser_js_BuiltinPluginName.CircularModulesInfoPlugin;
56191
57431
  raw(_compiler) {
56192
57432
  return createBuiltinPlugin(this.name, void 0);
56193
57433
  }
56194
57434
  }
56195
- class CircularDependencyRspackPlugin extends base_RspackBuiltinPlugin {
57435
+ class CircularDependencyRspackPlugin extends RspackBuiltinPlugin {
56196
57436
  name = external_rspack_wasi_browser_js_BuiltinPluginName.CircularDependencyRspackPlugin;
56197
57437
  _options;
56198
57438
  constructor(options){
@@ -56222,7 +57462,7 @@ class CircularDependencyRspackPlugin extends base_RspackBuiltinPlugin {
56222
57462
  this._options.onEnd(compilation);
56223
57463
  } : void 0
56224
57464
  };
56225
- return base_createBuiltinPlugin(this.name, rawOptions);
57465
+ return createBuiltinPlugin(this.name, rawOptions);
56226
57466
  }
56227
57467
  }
56228
57468
  const CommonJsChunkFormatPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.CommonJsChunkFormatPlugin, ()=>{});
@@ -56373,18 +57613,18 @@ const normalizeValue = (define1, supportsBigIntLiteral)=>{
56373
57613
  };
56374
57614
  return normalizeObject(define1);
56375
57615
  };
56376
- class DeterministicChunkIdsPlugin extends base_RspackBuiltinPlugin {
57616
+ class DeterministicChunkIdsPlugin extends RspackBuiltinPlugin {
56377
57617
  name = external_rspack_wasi_browser_js_BuiltinPluginName.DeterministicChunkIdsPlugin;
56378
57618
  affectedHooks = 'compilation';
56379
57619
  raw() {
56380
- return base_createBuiltinPlugin(this.name, void 0);
57620
+ return createBuiltinPlugin(this.name, void 0);
56381
57621
  }
56382
57622
  }
56383
- class DeterministicModuleIdsPlugin extends base_RspackBuiltinPlugin {
57623
+ class DeterministicModuleIdsPlugin extends RspackBuiltinPlugin {
56384
57624
  name = external_rspack_wasi_browser_js_BuiltinPluginName.DeterministicModuleIdsPlugin;
56385
57625
  affectedHooks = 'compilation';
56386
57626
  raw() {
56387
- return base_createBuiltinPlugin(this.name, void 0);
57627
+ return createBuiltinPlugin(this.name, void 0);
56388
57628
  }
56389
57629
  }
56390
57630
  const DllEntryPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.DllEntryPlugin, (context, entries, options)=>({
@@ -56453,7 +57693,7 @@ function getRawEntryOptions(entry) {
56453
57693
  dependOn: entry.dependOn
56454
57694
  };
56455
57695
  }
56456
- class DynamicEntryPlugin extends base_RspackBuiltinPlugin {
57696
+ class DynamicEntryPlugin extends RspackBuiltinPlugin {
56457
57697
  context;
56458
57698
  entry;
56459
57699
  name = external_rspack_wasi_browser_js_BuiltinPluginName.DynamicEntryPlugin;
@@ -56475,7 +57715,7 @@ class DynamicEntryPlugin extends base_RspackBuiltinPlugin {
56475
57715
  });
56476
57716
  }
56477
57717
  };
56478
- return base_createBuiltinPlugin(this.name, raw);
57718
+ return createBuiltinPlugin(this.name, raw);
56479
57719
  }
56480
57720
  }
56481
57721
  const ElectronTargetPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ElectronTargetPlugin, (context)=>context ?? 'none');
@@ -56532,7 +57772,7 @@ class JsSplitChunkSizes {
56532
57772
  return sizes;
56533
57773
  }
56534
57774
  }
56535
- class SplitChunksPlugin extends base_RspackBuiltinPlugin {
57775
+ class SplitChunksPlugin extends RspackBuiltinPlugin {
56536
57776
  options;
56537
57777
  name = external_rspack_wasi_browser_js_BuiltinPluginName.SplitChunksPlugin;
56538
57778
  affectedHooks = 'thisCompilation';
@@ -56542,7 +57782,7 @@ class SplitChunksPlugin extends base_RspackBuiltinPlugin {
56542
57782
  raw(compiler) {
56543
57783
  const rawOptions = SplitChunksPlugin_toRawSplitChunksOptions(this.options, compiler);
56544
57784
  if (void 0 === rawOptions) throw new Error('rawOptions should not be undefined');
56545
- return base_createBuiltinPlugin(this.name, rawOptions);
57785
+ return createBuiltinPlugin(this.name, rawOptions);
56546
57786
  }
56547
57787
  }
56548
57788
  function SplitChunksPlugin_toRawSplitChunksOptions(sc, compiler) {
@@ -56615,7 +57855,7 @@ const EnableLibraryPlugin_getEnabledTypes = (compiler)=>{
56615
57855
  }
56616
57856
  return set;
56617
57857
  };
56618
- class EnableLibraryPlugin extends base_RspackBuiltinPlugin {
57858
+ class EnableLibraryPlugin extends RspackBuiltinPlugin {
56619
57859
  type;
56620
57860
  name = external_rspack_wasi_browser_js_BuiltinPluginName.EnableLibraryPlugin;
56621
57861
  constructor(type){
@@ -56632,7 +57872,7 @@ class EnableLibraryPlugin extends base_RspackBuiltinPlugin {
56632
57872
  const enabled = EnableLibraryPlugin_getEnabledTypes(compiler);
56633
57873
  if (enabled.has(type)) return;
56634
57874
  enabled.add(type);
56635
- return base_createBuiltinPlugin(this.name, {
57875
+ return createBuiltinPlugin(this.name, {
56636
57876
  libraryType: type,
56637
57877
  preserveModules: compiler.options.output.library?.preserveModules,
56638
57878
  splitChunks: SplitChunksPlugin_toRawSplitChunksOptions(compiler.options.optimization.splitChunks ?? false, compiler)
@@ -56664,7 +57904,7 @@ function applyLimits(options) {
56664
57904
  base_create(external_rspack_wasi_browser_js_BuiltinPluginName.EsmNodeTargetPlugin, ()=>void 0);
56665
57905
  const EvalDevToolModulePlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.EvalDevToolModulePlugin, (options)=>options, 'compilation');
56666
57906
  const EvalSourceMapDevToolPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.EvalSourceMapDevToolPlugin, (options)=>options, 'compilation');
56667
- var util_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
57907
+ var util_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
56668
57908
  function isNil(value) {
56669
57909
  return null == value;
56670
57910
  }
@@ -57362,7 +58602,7 @@ class Hash {
57362
58602
  throw new AbstractMethodError();
57363
58603
  }
57364
58604
  }
57365
- var wasm_hash_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
58605
+ var wasm_hash_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
57366
58606
  const MAX_SHORT_STRING = -4 & Math.floor(16368);
57367
58607
  class WasmHash {
57368
58608
  exports;
@@ -57481,7 +58721,7 @@ const wasm_hash_create = (wasmModule, instancesPool, chunkSize, digestSize)=>{
57481
58721
  return new WasmHash(new WebAssembly.Instance(wasmModule), instancesPool, chunkSize, digestSize);
57482
58722
  };
57483
58723
  const wasm_hash = wasm_hash_create;
57484
- var md4_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
58724
+ var md4_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
57485
58725
  let createMd4;
57486
58726
  const hash_md4 = ()=>{
57487
58727
  if (!createMd4) {
@@ -57490,7 +58730,7 @@ const hash_md4 = ()=>{
57490
58730
  }
57491
58731
  return createMd4();
57492
58732
  };
57493
- var xxhash64_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
58733
+ var xxhash64_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
57494
58734
  let createXxhash64;
57495
58735
  const hash_xxhash64 = ()=>{
57496
58736
  if (!createXxhash64) {
@@ -57499,7 +58739,7 @@ const hash_xxhash64 = ()=>{
57499
58739
  }
57500
58740
  return createXxhash64();
57501
58741
  };
57502
- var createHash_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
58742
+ var createHash_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
57503
58743
  const BULK_SIZE = 2000;
57504
58744
  const digestCaches = {};
57505
58745
  class BulkUpdateDecorator extends Hash {
@@ -57670,7 +58910,7 @@ function handleResult(loader, module, callback) {
57670
58910
  if ('function' != typeof loader.normal && 'function' != typeof loader.pitch) return callback(new LoaderLoadingError(`Module '${loader.path}' is not a loader (must have normal or pitch function)`));
57671
58911
  callback();
57672
58912
  }
57673
- var utils_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
58913
+ var utils_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
57674
58914
  const decoder = new TextDecoder();
57675
58915
  function utf8BufferToString(buf) {
57676
58916
  const isShared = buf.buffer instanceof SharedArrayBuffer || buf.buffer.constructor?.name === 'SharedArrayBuffer';
@@ -58571,6 +59811,7 @@ function getRawOutput(output) {
58571
59811
  function getRawOutputEnvironment(environment = {}) {
58572
59812
  return {
58573
59813
  const: Boolean(environment.const),
59814
+ computedProperty: Boolean(environment.computedProperty),
58574
59815
  methodShorthand: Boolean(environment.methodShorthand),
58575
59816
  arrowFunction: Boolean(environment.arrowFunction),
58576
59817
  nodePrefixForCoreModules: Boolean(environment.nodePrefixForCoreModules),
@@ -58805,7 +60046,7 @@ function getRawParserOptions(parser, type) {
58805
60046
  };
58806
60047
  if ('css' === type) return {
58807
60048
  type: 'css',
58808
- css: getRawCssParserOptions(parser)
60049
+ css: getRawCssParserOptionsForCss(parser)
58809
60050
  };
58810
60051
  if ('css/auto' === type) return {
58811
60052
  type: 'css/auto',
@@ -58877,7 +60118,22 @@ function getRawCssParserOptions(parser) {
58877
60118
  return {
58878
60119
  namedExports: parser.namedExports,
58879
60120
  url: parser.url,
58880
- resolveImport: parser.resolveImport
60121
+ import: parser.import,
60122
+ resolveImport: parser.resolveImport,
60123
+ animation: parser.animation,
60124
+ customIdents: parser.customIdents,
60125
+ dashedIdents: parser.dashedIdents
60126
+ };
60127
+ }
60128
+ function getRawCssParserOptionsForCss(parser) {
60129
+ return {
60130
+ namedExports: parser.namedExports,
60131
+ url: parser.url,
60132
+ import: parser.import,
60133
+ resolveImport: parser.resolveImport,
60134
+ animation: parser.animation,
60135
+ customIdents: parser.customIdents,
60136
+ dashedIdents: parser.dashedIdents
58881
60137
  };
58882
60138
  }
58883
60139
  function getRawJsonParserOptions(parser) {
@@ -59001,26 +60257,28 @@ function getRawStats(stats) {
59001
60257
  colors
59002
60258
  };
59003
60259
  }
59004
- class ExternalsPlugin extends base_RspackBuiltinPlugin {
60260
+ class ExternalsPlugin extends RspackBuiltinPlugin {
59005
60261
  type;
59006
60262
  externals;
59007
60263
  placeInInitial;
60264
+ fallbackType;
59008
60265
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ExternalsPlugin;
59009
60266
  #resolveRequestCache = new Map();
59010
- constructor(type, externals, placeInInitial){
59011
- super(), this.type = type, this.externals = externals, this.placeInInitial = placeInInitial;
60267
+ constructor(type, externals, placeInInitial, fallbackType){
60268
+ super(), this.type = type, this.externals = externals, this.placeInInitial = placeInInitial, this.fallbackType = fallbackType;
59012
60269
  }
59013
60270
  raw() {
59014
60271
  const type = this.type;
59015
60272
  const externals = this.externals;
59016
60273
  const raw = {
59017
60274
  type,
60275
+ fallbackType: this.fallbackType,
59018
60276
  externals: (Array.isArray(externals) ? externals : [
59019
60277
  externals
59020
60278
  ]).filter(Boolean).map((item)=>this.#getRawExternalItem(item)),
59021
60279
  placeInInitial: this.placeInInitial ?? false
59022
60280
  };
59023
- return base_createBuiltinPlugin(this.name, raw);
60281
+ return createBuiltinPlugin(this.name, raw);
59024
60282
  }
59025
60283
  #processResolveResult = (text)=>{
59026
60284
  if (!text) return;
@@ -59109,7 +60367,7 @@ function getRawExternalItemValue(value) {
59109
60367
  const FetchCompileAsyncWasmPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.FetchCompileAsyncWasmPlugin, ()=>{}, 'thisCompilation');
59110
60368
  const FileUriPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.FileUriPlugin, ()=>{}, 'compilation');
59111
60369
  const FlagDependencyExportsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.FlagDependencyExportsPlugin, ()=>{}, 'compilation');
59112
- class FlagDependencyUsagePlugin extends base_RspackBuiltinPlugin {
60370
+ class FlagDependencyUsagePlugin extends RspackBuiltinPlugin {
59113
60371
  global;
59114
60372
  name = external_rspack_wasi_browser_js_BuiltinPluginName.FlagDependencyUsagePlugin;
59115
60373
  affectedHooks = 'compilation';
@@ -59117,23 +60375,23 @@ class FlagDependencyUsagePlugin extends base_RspackBuiltinPlugin {
59117
60375
  super(), this.global = global;
59118
60376
  }
59119
60377
  raw() {
59120
- return base_createBuiltinPlugin(this.name, this.global);
60378
+ return createBuiltinPlugin(this.name, this.global);
59121
60379
  }
59122
60380
  }
59123
60381
  const HashedModuleIdsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.HashedModuleIdsPlugin, (options)=>({
59124
60382
  ...options
59125
60383
  }), 'compilation');
59126
- class HotModuleReplacementPlugin extends base_RspackBuiltinPlugin {
60384
+ class HotModuleReplacementPlugin extends RspackBuiltinPlugin {
59127
60385
  name = external_rspack_wasi_browser_js_BuiltinPluginName.HotModuleReplacementPlugin;
59128
60386
  raw(compiler) {
59129
60387
  if (void 0 === compiler.options.output.strictModuleErrorHandling) compiler.options.output.strictModuleErrorHandling = true;
59130
- return base_createBuiltinPlugin(this.name, void 0);
60388
+ return createBuiltinPlugin(this.name, void 0);
59131
60389
  }
59132
60390
  }
59133
60391
  const HttpExternalsRspackPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.HttpExternalsRspackPlugin, (webAsync)=>({
59134
60392
  webAsync
59135
60393
  }));
59136
- var HttpUriPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
60394
+ var HttpUriPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
59137
60395
  memoize(()=>__webpack_require__("../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/index.js"));
59138
60396
  memoize(()=>__webpack_require__("../../node_modules/.pnpm/https-browserify@1.0.0/node_modules/https-browserify/index.js"));
59139
60397
  const defaultHttpClientForBrowser = async (url, headers)=>{
@@ -59149,7 +60407,7 @@ const defaultHttpClientForBrowser = async (url, headers)=>{
59149
60407
  body: HttpUriPlugin_Buffer.from(await res.arrayBuffer())
59150
60408
  };
59151
60409
  };
59152
- class HttpUriPlugin extends base_RspackBuiltinPlugin {
60410
+ class HttpUriPlugin extends RspackBuiltinPlugin {
59153
60411
  options;
59154
60412
  name = external_rspack_wasi_browser_js_BuiltinPluginName.HttpUriPlugin;
59155
60413
  affectedHooks = 'compilation';
@@ -59168,7 +60426,7 @@ class HttpUriPlugin extends base_RspackBuiltinPlugin {
59168
60426
  upgrade: options.upgrade ?? false,
59169
60427
  httpClient: options.httpClient ?? defaultHttpClient
59170
60428
  };
59171
- return base_createBuiltinPlugin(this.name, raw);
60429
+ return createBuiltinPlugin(this.name, raw);
59172
60430
  }
59173
60431
  }
59174
60432
  const compilationOptionsMap = new WeakMap();
@@ -59384,11 +60642,11 @@ const IgnorePlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginNa
59384
60642
  const InferAsyncModulesPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.InferAsyncModulesPlugin, ()=>{}, 'compilation');
59385
60643
  const InlineExportsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.InlineExportsPlugin, ()=>{}, 'compilation');
59386
60644
  const JavascriptModulesPlugin_compilationHooksMap = new WeakMap();
59387
- class JavascriptModulesPlugin extends base_RspackBuiltinPlugin {
60645
+ class JavascriptModulesPlugin extends RspackBuiltinPlugin {
59388
60646
  name = external_rspack_wasi_browser_js_BuiltinPluginName.JavascriptModulesPlugin;
59389
60647
  affectedHooks = 'compilation';
59390
60648
  raw() {
59391
- return base_createBuiltinPlugin(this.name, void 0);
60649
+ return createBuiltinPlugin(this.name, void 0);
59392
60650
  }
59393
60651
  static getCompilationHooks(compilation) {
59394
60652
  checkCompilation(compilation);
@@ -59455,7 +60713,7 @@ const LimitChunkCountPlugin = base_create(external_rspack_wasi_browser_js_Builti
59455
60713
  const lazyCompilationMiddleware = ()=>{
59456
60714
  throw new Error('lazy compilation middleware is not supported in browser');
59457
60715
  };
59458
- class MangleExportsPlugin extends base_RspackBuiltinPlugin {
60716
+ class MangleExportsPlugin extends RspackBuiltinPlugin {
59459
60717
  deterministic;
59460
60718
  name = external_rspack_wasi_browser_js_BuiltinPluginName.MangleExportsPlugin;
59461
60719
  affectedHooks = 'compilation';
@@ -59463,33 +60721,33 @@ class MangleExportsPlugin extends base_RspackBuiltinPlugin {
59463
60721
  super(), this.deterministic = deterministic;
59464
60722
  }
59465
60723
  raw() {
59466
- return base_createBuiltinPlugin(this.name, this.deterministic);
60724
+ return createBuiltinPlugin(this.name, this.deterministic);
59467
60725
  }
59468
60726
  }
59469
60727
  const MergeDuplicateChunksPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.MergeDuplicateChunksPlugin, ()=>{});
59470
60728
  const ModuleChunkFormatPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ModuleChunkFormatPlugin, ()=>{});
59471
- class ModuleConcatenationPlugin extends base_RspackBuiltinPlugin {
60729
+ class ModuleConcatenationPlugin extends RspackBuiltinPlugin {
59472
60730
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ModuleConcatenationPlugin;
59473
60731
  affectedHooks = 'compilation';
59474
60732
  raw() {
59475
- return base_createBuiltinPlugin(this.name, void 0);
60733
+ return createBuiltinPlugin(this.name, void 0);
59476
60734
  }
59477
60735
  }
59478
60736
  const ModuleInfoHeaderPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ModuleInfoHeaderPlugin, (verbose)=>verbose, 'compilation');
59479
60737
  const NamedChunkIdsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.NamedChunkIdsPlugin, ()=>{}, 'compilation');
59480
60738
  const NamedModuleIdsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.NamedModuleIdsPlugin, ()=>{}, 'compilation');
59481
- class NaturalChunkIdsPlugin extends base_RspackBuiltinPlugin {
60739
+ class NaturalChunkIdsPlugin extends RspackBuiltinPlugin {
59482
60740
  name = external_rspack_wasi_browser_js_BuiltinPluginName.NaturalChunkIdsPlugin;
59483
60741
  affectedHooks = 'compilation';
59484
60742
  raw() {
59485
- return base_createBuiltinPlugin(this.name, void 0);
60743
+ return createBuiltinPlugin(this.name, void 0);
59486
60744
  }
59487
60745
  }
59488
- class NaturalModuleIdsPlugin extends base_RspackBuiltinPlugin {
60746
+ class NaturalModuleIdsPlugin extends RspackBuiltinPlugin {
59489
60747
  name = external_rspack_wasi_browser_js_BuiltinPluginName.NaturalModuleIdsPlugin;
59490
60748
  affectedHooks = 'compilation';
59491
60749
  raw() {
59492
- return base_createBuiltinPlugin(this.name, void 0);
60750
+ return createBuiltinPlugin(this.name, void 0);
59493
60751
  }
59494
60752
  }
59495
60753
  const NodeTargetPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.NodeTargetPlugin, ()=>void 0);
@@ -59711,7 +60969,7 @@ class Coordinator {
59711
60969
  });
59712
60970
  }
59713
60971
  }
59714
- class RscClientPlugin extends base_RspackBuiltinPlugin {
60972
+ class RscClientPlugin extends RspackBuiltinPlugin {
59715
60973
  name = 'RscClientPlugin';
59716
60974
  #options;
59717
60975
  constructor(options){
@@ -59720,12 +60978,12 @@ class RscClientPlugin extends base_RspackBuiltinPlugin {
59720
60978
  }
59721
60979
  raw(compiler) {
59722
60980
  this.#options.coordinator.applyClientCompiler(compiler);
59723
- return base_createBuiltinPlugin(this.name, {
60981
+ return createBuiltinPlugin(this.name, {
59724
60982
  coordinator: this.#options.coordinator[GET_OR_INIT_BINDING]()
59725
60983
  });
59726
60984
  }
59727
60985
  }
59728
- class RscServerPlugin extends base_RspackBuiltinPlugin {
60986
+ class RscServerPlugin extends RspackBuiltinPlugin {
59729
60987
  name = 'RscServerPlugin';
59730
60988
  #options;
59731
60989
  constructor(options){
@@ -59737,7 +60995,7 @@ class RscServerPlugin extends base_RspackBuiltinPlugin {
59737
60995
  const { coordinator, onServerComponentChanges } = this.#options;
59738
60996
  let onManifest;
59739
60997
  if (this.#options.onManifest) onManifest = (json)=>Promise.resolve(this.#options.onManifest(JSON.parse(json)));
59740
- return base_createBuiltinPlugin(this.name, {
60998
+ return createBuiltinPlugin(this.name, {
59741
60999
  coordinator: coordinator[GET_OR_INIT_BINDING](),
59742
61000
  cssLink: this.#options.cssLink,
59743
61001
  onServerComponentChanges,
@@ -59771,7 +61029,7 @@ const rsc = {
59771
61029
  ssr: 'server-side-rendering'
59772
61030
  }
59773
61031
  };
59774
- class SideEffectsFlagPlugin extends base_RspackBuiltinPlugin {
61032
+ class SideEffectsFlagPlugin extends RspackBuiltinPlugin {
59775
61033
  analyzeSideEffectsFree;
59776
61034
  name = external_rspack_wasi_browser_js_BuiltinPluginName.SideEffectsFlagPlugin;
59777
61035
  affectedHooks = 'compilation';
@@ -59779,7 +61037,7 @@ class SideEffectsFlagPlugin extends base_RspackBuiltinPlugin {
59779
61037
  super(), this.analyzeSideEffectsFree = analyzeSideEffectsFree;
59780
61038
  }
59781
61039
  raw() {
59782
- return base_createBuiltinPlugin(this.name, this.analyzeSideEffectsFree);
61040
+ return createBuiltinPlugin(this.name, this.analyzeSideEffectsFree);
59783
61041
  }
59784
61042
  }
59785
61043
  const SizeLimitsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.SizeLimitsPlugin, (options)=>{
@@ -59790,7 +61048,7 @@ const SizeLimitsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPlug
59790
61048
  };
59791
61049
  });
59792
61050
  const SourceMapDevToolPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.SourceMapDevToolPlugin, (options)=>options, 'compilation');
59793
- var SubresourceIntegrityPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
61051
+ var SubresourceIntegrityPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
59794
61052
  const SubresourceIntegrityPlugin_PLUGIN_NAME = 'SubresourceIntegrityPlugin';
59795
61053
  const NATIVE_HTML_PLUGIN = 'HtmlRspackPlugin';
59796
61054
  const HTTP_PROTOCOL_REGEX = /^https?:/;
@@ -60021,7 +61279,7 @@ const SwcJsMinimizerRspackPlugin = base_create(external_rspack_wasi_browser_js_B
60021
61279
  };
60022
61280
  }, 'compilation');
60023
61281
  const URLPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.URLPlugin, ()=>{}, 'compilation');
60024
- class WorkerPlugin extends base_RspackBuiltinPlugin {
61282
+ class WorkerPlugin extends RspackBuiltinPlugin {
60025
61283
  chunkLoading;
60026
61284
  wasmLoading;
60027
61285
  module;
@@ -60034,7 +61292,7 @@ class WorkerPlugin extends base_RspackBuiltinPlugin {
60034
61292
  raw(compiler) {
60035
61293
  if (this.chunkLoading) new EnableChunkLoadingPlugin(this.chunkLoading).apply(compiler);
60036
61294
  if (this.wasmLoading) new EnableWasmLoadingPlugin(this.wasmLoading).apply(compiler);
60037
- return base_createBuiltinPlugin(this.name, void 0);
61295
+ return createBuiltinPlugin(this.name, void 0);
60038
61296
  }
60039
61297
  }
60040
61298
  class ContextModuleFactory {
@@ -60746,6 +62004,35 @@ const browserslistTargetHandler_resolve = (browsers)=>{
60746
62004
  9
60747
62005
  ]
60748
62006
  }),
62007
+ computedProperty: rawChecker({
62008
+ chrome: 47,
62009
+ and_chr: 47,
62010
+ edge: 12,
62011
+ firefox: 34,
62012
+ and_ff: 34,
62013
+ opera: 34,
62014
+ op_mob: 34,
62015
+ safari: 8,
62016
+ ios_saf: 8,
62017
+ samsung: 5,
62018
+ android: 47,
62019
+ and_qq: [
62020
+ 14,
62021
+ 9
62022
+ ],
62023
+ and_uc: [
62024
+ 15,
62025
+ 5
62026
+ ],
62027
+ kaios: [
62028
+ 2,
62029
+ 5
62030
+ ],
62031
+ node: [
62032
+ 4,
62033
+ 0
62034
+ ]
62035
+ }),
60749
62036
  arrowFunction: rawChecker({
60750
62037
  chrome: 45,
60751
62038
  and_chr: 45,
@@ -61165,6 +62452,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
61165
62452
  importScriptsInWorker: false,
61166
62453
  globalThis: v(12),
61167
62454
  const: v(6),
62455
+ computedProperty: v(4),
61168
62456
  templateLiteral: v(4),
61169
62457
  optionalChaining: v(14),
61170
62458
  methodShorthand: v(4),
@@ -61210,6 +62498,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
61210
62498
  importScriptsInWorker: true,
61211
62499
  globalThis: v(5),
61212
62500
  const: v(1, 1),
62501
+ computedProperty: v(1, 1),
61213
62502
  templateLiteral: v(1, 1),
61214
62503
  optionalChaining: v(8),
61215
62504
  methodShorthand: v(1, 1),
@@ -61250,6 +62539,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
61250
62539
  require: false,
61251
62540
  globalThis: v(0, 43),
61252
62541
  const: v(0, 15),
62542
+ computedProperty: v(0, 15),
61253
62543
  templateLiteral: v(0, 13),
61254
62544
  optionalChaining: v(0, 44),
61255
62545
  methodShorthand: v(0, 15),
@@ -61274,6 +62564,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
61274
62564
  return {
61275
62565
  esVersion: v > 2022 ? 2022 : v,
61276
62566
  const: v >= 2015,
62567
+ computedProperty: v >= 2015,
61277
62568
  templateLiteral: v >= 2015,
61278
62569
  optionalChaining: v >= 2020,
61279
62570
  methodShorthand: v >= 2015,
@@ -61510,6 +62801,11 @@ const applyCssModuleGeneratorOptionsDefaults = (generatorOptions, { hashFunction
61510
62801
  D(generatorOptions, 'localIdentHashDigest', 'base64url');
61511
62802
  D(generatorOptions, 'localIdentHashDigestLength', 6);
61512
62803
  };
62804
+ const applyCssModuleParserOptionsDefaults = (parserOptions)=>{
62805
+ D(parserOptions, 'namedExports', true);
62806
+ D(parserOptions, 'url', true);
62807
+ D(parserOptions, 'import', true);
62808
+ };
61513
62809
  const applyJsonGeneratorOptionsDefaults = (generatorOptions)=>{
61514
62810
  D(generatorOptions, 'JSONParse', true);
61515
62811
  };
@@ -61536,18 +62832,17 @@ const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode,
61536
62832
  assertNotNill(module.parser.css);
61537
62833
  D(module.parser.css, 'namedExports', true);
61538
62834
  D(module.parser.css, 'url', true);
62835
+ D(module.parser.css, 'import', true);
62836
+ D(module.parser.css, 'animation', true);
61539
62837
  F(module.parser, 'css/auto', ()=>({}));
61540
62838
  assertNotNill(module.parser['css/auto']);
61541
- D(module.parser['css/auto'], 'namedExports', true);
61542
- D(module.parser['css/auto'], 'url', true);
62839
+ applyCssModuleParserOptionsDefaults(module.parser['css/auto']);
61543
62840
  F(module.parser, 'css/global', ()=>({}));
61544
62841
  assertNotNill(module.parser['css/global']);
61545
- D(module.parser['css/global'], 'namedExports', true);
61546
- D(module.parser['css/global'], 'url', true);
62842
+ applyCssModuleParserOptionsDefaults(module.parser['css/global']);
61547
62843
  F(module.parser, 'css/module', ()=>({}));
61548
62844
  assertNotNill(module.parser['css/module']);
61549
- D(module.parser['css/module'], 'namedExports', true);
61550
- D(module.parser['css/module'], 'url', true);
62845
+ applyCssModuleParserOptionsDefaults(module.parser['css/module']);
61551
62846
  F(module.generator, 'css', ()=>({}));
61552
62847
  assertNotNill(module.generator.css);
61553
62848
  applyCssGeneratorOptionsDefaults(module.generator.css, {
@@ -61743,6 +63038,7 @@ const applyOutputDefaults = (options, { context, targetProperties: tp, isAffecte
61743
63038
  F(environment, 'globalThis', ()=>tp && tp.globalThis);
61744
63039
  F(environment, 'bigIntLiteral', ()=>tp && optimistic(tp.bigIntLiteral));
61745
63040
  F(environment, 'const', ()=>tp && optimistic(tp.const));
63041
+ F(environment, 'computedProperty', ()=>tp && optimistic(tp.computedProperty));
61746
63042
  F(environment, 'methodShorthand', ()=>tp && optimistic(tp.methodShorthand));
61747
63043
  F(environment, 'arrowFunction', ()=>tp && optimistic(tp.arrowFunction));
61748
63044
  F(environment, 'asyncFunction', ()=>tp && optimistic(tp.asyncFunction));
@@ -61902,7 +63198,7 @@ const applyOutputDefaults = (options, { context, targetProperties: tp, isAffecte
61902
63198
  });
61903
63199
  D(output, 'bundlerInfo', {});
61904
63200
  if ('object' == typeof output.bundlerInfo) {
61905
- D(output.bundlerInfo, 'version', "2.0.4");
63201
+ D(output.bundlerInfo, 'version', "2.0.5");
61906
63202
  D(output.bundlerInfo, 'bundler', 'rspack');
61907
63203
  D(output.bundlerInfo, 'force', false);
61908
63204
  }
@@ -62873,7 +64169,7 @@ const mkdirp = (fs, p, callback)=>{
62873
64169
  callback();
62874
64170
  });
62875
64171
  };
62876
- var FileSystem_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
64172
+ var FileSystem_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
62877
64173
  const BUFFER_SIZE = 1000;
62878
64174
  const ASYNC_NOOP = async ()=>{};
62879
64175
  const NOOP_FILESYSTEM = {
@@ -63560,7 +64856,7 @@ class MultiStats {
63560
64856
  return obj;
63561
64857
  });
63562
64858
  if (childOptions.version) {
63563
- obj.rspackVersion = "2.0.4";
64859
+ obj.rspackVersion = "2.0.5";
63564
64860
  obj.version = "5.75.0";
63565
64861
  }
63566
64862
  if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join('');
@@ -65266,7 +66562,7 @@ const SIMPLE_EXTRACTORS = {
65266
66562
  },
65267
66563
  version: (object)=>{
65268
66564
  object.version = "5.75.0";
65269
- object.rspackVersion = "2.0.4";
66565
+ object.rspackVersion = "2.0.5";
65270
66566
  },
65271
66567
  env: (object, _compilation, _context, { _env })=>{
65272
66568
  object.env = _env;
@@ -66770,7 +68066,7 @@ class RspackOptionsApply {
66770
68066
  compiler.outputFileSystem = fs_0["default"];
66771
68067
  if (options.externals) {
66772
68068
  if (!options.externalsType) throw new Error('options.externalsType should have a value after `applyRspackOptionsDefaults`');
66773
- new ExternalsPlugin(options.externalsType, options.externals, false).apply(compiler);
68069
+ new ExternalsPlugin(options.externalsType, options.externals, false, getModernModuleCjsExternalType(options)).apply(compiler);
66774
68070
  }
66775
68071
  if (options.externalsPresets.node) {
66776
68072
  new NodeTargetPlugin().apply(compiler);
@@ -66848,6 +68144,7 @@ class RspackOptionsApply {
66848
68144
  if (options.optimization.mergeDuplicateChunks) new MergeDuplicateChunksPlugin().apply(compiler);
66849
68145
  if (options.optimization.sideEffects) new SideEffectsFlagPlugin(options.experiments.pureFunctions).apply(compiler);
66850
68146
  if (options.optimization.providedExports) new FlagDependencyExportsPlugin().apply(compiler);
68147
+ if ('production' === options.mode) new CircularModulesInfoPlugin().apply(compiler);
66851
68148
  if (options.optimization.usedExports) new FlagDependencyUsagePlugin('global' === options.optimization.usedExports).apply(compiler);
66852
68149
  if (options.optimization.concatenateModules) new ModuleConcatenationPlugin().apply(compiler);
66853
68150
  if (options.optimization.inlineExports) new InlineExportsPlugin().apply(compiler);
@@ -66933,6 +68230,10 @@ class RspackOptionsApply {
66933
68230
  compiler.hooks.afterResolvers.call(compiler);
66934
68231
  }
66935
68232
  }
68233
+ function getModernModuleCjsExternalType(options) {
68234
+ const presets = options.externalsPresets;
68235
+ return presets.node || presets.electron || presets.electronMain || presets.electronPreload || presets.electronRenderer || presets.nwjs ? 'node-commonjs' : 'commonjs';
68236
+ }
66936
68237
  const validateConfig_ERROR_PREFIX = 'Invalid Rspack configuration:';
66937
68238
  const validateContext = ({ context })=>{
66938
68239
  if (context && !(0, path_browserify.isAbsolute)(context)) throw new Error(`${validateConfig_ERROR_PREFIX} "context" must be an absolute path, get "${context}".`);
@@ -67155,7 +68456,7 @@ const createHtmlPluginHooksRegisters = (getCompiler, createTap)=>{
67155
68456
  })
67156
68457
  };
67157
68458
  };
67158
- var compilation_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
68459
+ var compilation_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
67159
68460
  class CodeGenerationResult {
67160
68461
  #inner;
67161
68462
  constructor(result){
@@ -67623,7 +68924,7 @@ const createContextModuleFactoryHooksRegisters = (getCompiler, createTap)=>({
67623
68924
  };
67624
68925
  })
67625
68926
  });
67626
- var javascriptModules_Buffer = __webpack_require__("./src/browser/buffer.ts")["Buffer"];
68927
+ var javascriptModules_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
67627
68928
  const createJavaScriptModulesHooksRegisters = (getCompiler, createTap)=>({
67628
68929
  registerJavascriptModulesChunkHashTaps: createTap(rspack_wasi_browser.RegisterJsTapKind.JavascriptModulesChunkHash, function() {
67629
68930
  return JavascriptModulesPlugin.getCompilationHooks(getCompiler().__internal__get_compilation()).chunkHash;
@@ -68508,7 +69809,7 @@ class Compiler {
68508
69809
  const rawOptions = getRawOptions(options, this);
68509
69810
  rawOptions.__references = Object.fromEntries(this.#ruleSet.builtinReferences.entries());
68510
69811
  rawOptions.__virtual_files = VirtualModulesPlugin.__internal__take_virtual_files(this);
68511
- const instanceBinding = __webpack_require__("@rspack/binding?c724");
69812
+ const instanceBinding = __webpack_require__("@rspack/binding?d2c4");
68512
69813
  this.#registers = this.#createHooksRegisters();
68513
69814
  const inputFileSystem = this.inputFileSystem && ThreadsafeInputNodeFS.needsBinding(options.experiments.useInputFileSystem) ? ThreadsafeInputNodeFS.__to_binding(this.inputFileSystem) : void 0;
68514
69815
  try {
@@ -68951,7 +70252,7 @@ function isSingleton(compiler) {
68951
70252
  function setSingleton(compiler) {
68952
70253
  compilerSet.add(compiler);
68953
70254
  }
68954
- class ShareRuntimePlugin extends base_RspackBuiltinPlugin {
70255
+ class ShareRuntimePlugin extends RspackBuiltinPlugin {
68955
70256
  enhanced;
68956
70257
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ShareRuntimePlugin;
68957
70258
  constructor(enhanced = false){
@@ -68960,7 +70261,7 @@ class ShareRuntimePlugin extends base_RspackBuiltinPlugin {
68960
70261
  raw(compiler) {
68961
70262
  if (isSingleton(compiler)) return;
68962
70263
  setSingleton(compiler);
68963
- return base_createBuiltinPlugin(this.name, this.enhanced);
70264
+ return createBuiltinPlugin(this.name, this.enhanced);
68964
70265
  }
68965
70266
  }
68966
70267
  const VERSION_PATTERN_REGEXP = /^([\d^=v<>~]|[*xX]$)/;
@@ -69008,7 +70309,7 @@ function normalizeConsumeShareOptions(consumes, shareScope) {
69008
70309
  treeShakingMode: item.treeShakingMode
69009
70310
  }));
69010
70311
  }
69011
- class ConsumeSharedPlugin extends base_RspackBuiltinPlugin {
70312
+ class ConsumeSharedPlugin extends RspackBuiltinPlugin {
69012
70313
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ConsumeSharedPlugin;
69013
70314
  _options;
69014
70315
  constructor(options){
@@ -69027,7 +70328,7 @@ class ConsumeSharedPlugin extends base_RspackBuiltinPlugin {
69027
70328
  })),
69028
70329
  enhanced: this._options.enhanced
69029
70330
  };
69030
- return base_createBuiltinPlugin(this.name, rawOptions);
70331
+ return createBuiltinPlugin(this.name, rawOptions);
69031
70332
  }
69032
70333
  }
69033
70334
  function normalizeProvideShareOptions(options, shareScope, enhanced) {
@@ -69059,7 +70360,7 @@ function normalizeProvideShareOptions(options, shareScope, enhanced) {
69059
70360
  return raw;
69060
70361
  });
69061
70362
  }
69062
- class ProvideSharedPlugin extends base_RspackBuiltinPlugin {
70363
+ class ProvideSharedPlugin extends RspackBuiltinPlugin {
69063
70364
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ProvideSharedPlugin;
69064
70365
  _provides;
69065
70366
  _enhanced;
@@ -69074,7 +70375,7 @@ class ProvideSharedPlugin extends base_RspackBuiltinPlugin {
69074
70375
  key,
69075
70376
  ...v
69076
70377
  }));
69077
- return base_createBuiltinPlugin(this.name, rawOptions);
70378
+ return createBuiltinPlugin(this.name, rawOptions);
69078
70379
  }
69079
70380
  }
69080
70381
  function validateShareScope(shareScope, enhanced, pluginName) {
@@ -69299,7 +70600,7 @@ function normalizeManifestOptions(mfConfig) {
69299
70600
  name: containerName
69300
70601
  };
69301
70602
  }
69302
- class ModuleFederationManifestPlugin extends base_RspackBuiltinPlugin {
70603
+ class ModuleFederationManifestPlugin extends RspackBuiltinPlugin {
69303
70604
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ModuleFederationManifestPlugin;
69304
70605
  rawOpts;
69305
70606
  constructor(opts){
@@ -69323,11 +70624,11 @@ class ModuleFederationManifestPlugin extends base_RspackBuiltinPlugin {
69323
70624
  shared,
69324
70625
  buildInfo: getBuildInfo('development' === compiler.options.mode, compiler, this.rawOpts)
69325
70626
  };
69326
- return base_createBuiltinPlugin(this.name, rawOptions);
70627
+ return createBuiltinPlugin(this.name, rawOptions);
69327
70628
  }
69328
70629
  }
69329
70630
  const SHARE_ENTRY_ASSET = 'collect-shared-entries.json';
69330
- class CollectSharedEntryPlugin extends base_RspackBuiltinPlugin {
70631
+ class CollectSharedEntryPlugin extends RspackBuiltinPlugin {
69331
70632
  name = external_rspack_wasi_browser_js_BuiltinPluginName.CollectSharedEntryPlugin;
69332
70633
  sharedOptions;
69333
70634
  _collectedEntries;
@@ -69367,14 +70668,14 @@ class CollectSharedEntryPlugin extends base_RspackBuiltinPlugin {
69367
70668
  })),
69368
70669
  filename: this.getFilename()
69369
70670
  };
69370
- return base_createBuiltinPlugin(this.name, rawOptions);
70671
+ return createBuiltinPlugin(this.name, rawOptions);
69371
70672
  }
69372
70673
  }
69373
70674
  function assert(condition, msg) {
69374
70675
  if (!condition) throw new Error(msg);
69375
70676
  }
69376
70677
  const HOT_UPDATE_SUFFIX = '.hot-update';
69377
- class SharedContainerPlugin extends base_RspackBuiltinPlugin {
70678
+ class SharedContainerPlugin extends RspackBuiltinPlugin {
69378
70679
  name = external_rspack_wasi_browser_js_BuiltinPluginName.SharedContainerPlugin;
69379
70680
  filename = '';
69380
70681
  _options;
@@ -69411,7 +70712,7 @@ class SharedContainerPlugin extends base_RspackBuiltinPlugin {
69411
70712
  raw(compiler) {
69412
70713
  const { library } = this._options;
69413
70714
  if (!compiler.options.output.enabledLibraryTypes.includes(library.type)) compiler.options.output.enabledLibraryTypes.push(library.type);
69414
- return base_createBuiltinPlugin(this.name, this._options);
70715
+ return createBuiltinPlugin(this.name, this._options);
69415
70716
  }
69416
70717
  apply(compiler) {
69417
70718
  super.apply(compiler);
@@ -69432,7 +70733,7 @@ class SharedContainerPlugin extends base_RspackBuiltinPlugin {
69432
70733
  });
69433
70734
  }
69434
70735
  }
69435
- class SharedUsedExportsOptimizerPlugin extends base_RspackBuiltinPlugin {
70736
+ class SharedUsedExportsOptimizerPlugin extends RspackBuiltinPlugin {
69436
70737
  name = external_rspack_wasi_browser_js_BuiltinPluginName.SharedUsedExportsOptimizerPlugin;
69437
70738
  sharedOptions;
69438
70739
  injectTreeShakingUsedExports;
@@ -69459,7 +70760,7 @@ class SharedUsedExportsOptimizerPlugin extends base_RspackBuiltinPlugin {
69459
70760
  }
69460
70761
  raw() {
69461
70762
  if (!this.sharedOptions.length) return;
69462
- return base_createBuiltinPlugin(this.name, this.buildOptions());
70763
+ return createBuiltinPlugin(this.name, this.buildOptions());
69463
70764
  }
69464
70765
  }
69465
70766
  const VIRTUAL_ENTRY = './virtual-entry.js';
@@ -69940,7 +71241,7 @@ function getDefaultEntryRuntime(paths, options, compiler, treeShakingShareFallba
69940
71241
  ].join(';');
69941
71242
  return `@module-federation/runtime/rspack.js!=!data:text/javascript,${encodeURIComponent(content)}`;
69942
71243
  }
69943
- class ContainerPlugin extends base_RspackBuiltinPlugin {
71244
+ class ContainerPlugin extends RspackBuiltinPlugin {
69944
71245
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ContainerPlugin;
69945
71246
  _options;
69946
71247
  constructor(options){
@@ -69987,10 +71288,10 @@ class ContainerPlugin extends base_RspackBuiltinPlugin {
69987
71288
  })),
69988
71289
  enhanced
69989
71290
  };
69990
- return base_createBuiltinPlugin(this.name, rawOptions);
71291
+ return createBuiltinPlugin(this.name, rawOptions);
69991
71292
  }
69992
71293
  }
69993
- class ContainerReferencePlugin extends base_RspackBuiltinPlugin {
71294
+ class ContainerReferencePlugin extends RspackBuiltinPlugin {
69994
71295
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ContainerReferencePlugin;
69995
71296
  _options;
69996
71297
  constructor(options){
@@ -70040,7 +71341,7 @@ class ContainerReferencePlugin extends base_RspackBuiltinPlugin {
70040
71341
  })),
70041
71342
  enhanced: this._options.enhanced
70042
71343
  };
70043
- return base_createBuiltinPlugin(this.name, rawOptions);
71344
+ return createBuiltinPlugin(this.name, rawOptions);
70044
71345
  }
70045
71346
  }
70046
71347
  class ModuleFederationPluginV1 {
@@ -70098,7 +71399,7 @@ function transformSync(source, options) {
70098
71399
  const _options = JSON.stringify(options || {});
70099
71400
  return rspack_wasi_browser.transformSync(source, _options);
70100
71401
  }
70101
- const exports_rspackVersion = "2.0.4";
71402
+ const exports_rspackVersion = "2.0.5";
70102
71403
  const exports_version = "5.75.0";
70103
71404
  const exports_WebpackError = Error;
70104
71405
  const exports_config = {