@rspack/browser 2.0.5 → 2.0.7

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
@@ -1,72 +1,9 @@
1
1
  /*! LICENSE: index.js.LICENSE.txt */
2
2
  import rspack_wasi_browser, { AsyncDependenciesBlock, BuiltinPluginName as external_rspack_wasi_browser_js_BuiltinPluginName, Chunk, ChunkGraph, Chunks as external_rspack_wasi_browser_js_Chunks, ConcatenatedModule, ContextModule, Dependency, EnforceExtension, EntryDependency, ExternalModule, JsCoordinator, JsLoaderState, JsRspackSeverity, Module, ModuleGraphConnection, NormalModule, RawRuleSetConditionType, RegisterJsTapKind, ResolverFactory as external_rspack_wasi_browser_js_ResolverFactory, async as external_rspack_wasi_browser_js_async, cleanupGlobalTrace, formatDiagnostic, registerGlobalTrace, sync, syncTraceEvent, transformSync as external_rspack_wasi_browser_js_transformSync } from "./rspack.wasi-browser.js";
3
3
  import { AsyncParallelHook, AsyncSeriesBailHook, HookMap, SyncBailHook, SyncHook, SyncWaterfallHook } from "@rspack/lite-tapable";
4
+ import { __webpack_require__ } from "./612.js";
4
5
  import * as __rspack_external__rspack_wasi_browser_js_bd433424 from "./rspack.wasi-browser.js";
5
6
  import * as __rspack_external__rspack_lite_tapable_c6bdf810 from "@rspack/lite-tapable";
6
- var __webpack_modules__ = {};
7
- var __webpack_module_cache__ = {};
8
- function __webpack_require__(moduleId) {
9
- var cachedModule = __webpack_module_cache__[moduleId];
10
- if (void 0 !== cachedModule) return cachedModule.exports;
11
- var module = __webpack_module_cache__[moduleId] = {
12
- exports: {}
13
- };
14
- __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
15
- return module.exports;
16
- }
17
- __webpack_require__.m = __webpack_modules__;
18
- (()=>{
19
- __webpack_require__.n = (module)=>{
20
- var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
21
- __webpack_require__.d(getter, {
22
- a: getter
23
- });
24
- return getter;
25
- };
26
- })();
27
- (()=>{
28
- __webpack_require__.d = (exports, definition)=>{
29
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
30
- enumerable: true,
31
- get: definition[key]
32
- });
33
- };
34
- })();
35
- (()=>{
36
- __webpack_require__.add = function(modules) {
37
- Object.assign(__webpack_require__.m, modules);
38
- };
39
- })();
40
- (()=>{
41
- __webpack_require__.g = (()=>{
42
- if ('object' == typeof globalThis) return globalThis;
43
- try {
44
- return this || new Function('return this')();
45
- } catch (e) {
46
- if ('object' == typeof window) return window;
47
- }
48
- })();
49
- })();
50
- (()=>{
51
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
52
- })();
53
- (()=>{
54
- __webpack_require__.r = (exports)=>{
55
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports, Symbol.toStringTag, {
56
- value: 'Module'
57
- });
58
- Object.defineProperty(exports, '__esModule', {
59
- value: true
60
- });
61
- };
62
- })();
63
- (()=>{
64
- __webpack_require__.nmd = (module)=>{
65
- module.paths = [];
66
- if (!module.children) module.children = [];
67
- return module;
68
- };
69
- })();
70
7
  __webpack_require__.add({
71
8
  "../../node_modules/.pnpm/asn1.js@4.10.1/node_modules/asn1.js/lib/asn1.js" (__unused_rspack_module, exports, __webpack_require__) {
72
9
  var asn1 = exports;
@@ -8689,7 +8626,7 @@ __webpack_require__.add({
8689
8626
  module.exports = modes;
8690
8627
  },
8691
8628
  "../../node_modules/.pnpm/browserify-aes@1.2.0/node_modules/browserify-aes/modes/ofb.js" (__unused_rspack_module, exports, __webpack_require__) {
8692
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
8629
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
8693
8630
  var xor = __webpack_require__("../../node_modules/.pnpm/buffer-xor@1.0.3/node_modules/buffer-xor/index.js");
8694
8631
  function getBlock(self1) {
8695
8632
  self1._prev = self1._cipher.encryptBlock(self1._prev);
@@ -9206,7 +9143,7 @@ __webpack_require__.add({
9206
9143
  module.exports = verify;
9207
9144
  },
9208
9145
  "../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js" (__unused_rspack_module, exports, __webpack_require__) {
9209
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
9146
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
9210
9147
  var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
9211
9148
  var assert = __webpack_require__("../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js");
9212
9149
  var Zstream = __webpack_require__("../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/zstream.js");
@@ -9881,7 +9818,7 @@ __webpack_require__.add({
9881
9818
  util.inherits(Unzip, Zlib);
9882
9819
  },
9883
9820
  "../../node_modules/.pnpm/buffer-xor@1.0.3/node_modules/buffer-xor/index.js" (module, __unused_rspack_exports, __webpack_require__) {
9884
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
9821
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
9885
9822
  module.exports = function(a, b) {
9886
9823
  var length = Math.min(a.length, b.length);
9887
9824
  var buffer = new Buffer(length);
@@ -11247,7 +11184,7 @@ __webpack_require__.add({
11247
11184
  }
11248
11185
  },
11249
11186
  "../../node_modules/.pnpm/create-ecdh@4.0.4/node_modules/create-ecdh/browser.js" (module, __unused_rspack_exports, __webpack_require__) {
11250
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
11187
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
11251
11188
  var elliptic = __webpack_require__("../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/lib/elliptic.js");
11252
11189
  var BN = __webpack_require__("../../node_modules/.pnpm/bn.js@4.12.3/node_modules/bn.js/lib/bn.js");
11253
11190
  module.exports = function(curve) {
@@ -12632,7 +12569,7 @@ __webpack_require__.add({
12632
12569
  };
12633
12570
  },
12634
12571
  "../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/browser.js" (__unused_rspack_module, exports, __webpack_require__) {
12635
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
12572
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
12636
12573
  var generatePrime = __webpack_require__("../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/generatePrime.js");
12637
12574
  var primes = __webpack_require__("../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/primes.json");
12638
12575
  var DH = __webpack_require__("../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/dh.js");
@@ -12662,7 +12599,7 @@ __webpack_require__.add({
12662
12599
  exports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman;
12663
12600
  },
12664
12601
  "../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/dh.js" (module, __unused_rspack_exports, __webpack_require__) {
12665
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
12602
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
12666
12603
  var BN = __webpack_require__("../../node_modules/.pnpm/bn.js@4.12.3/node_modules/bn.js/lib/bn.js");
12667
12604
  var MillerRabin = __webpack_require__("../../node_modules/.pnpm/miller-rabin@4.0.1/node_modules/miller-rabin/lib/mr.js");
12668
12605
  var millerRabin = new MillerRabin();
@@ -15787,9 +15724,9 @@ __webpack_require__.add({
15787
15724
  }
15788
15725
  utils.intFromLE = intFromLE;
15789
15726
  },
15790
- "../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
15791
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
15792
- const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/util/process-browser.js");
15727
+ "../../node_modules/.pnpm/enhanced-resolve@5.22.1/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js" (module, __unused_rspack_exports, __webpack_require__) {
15728
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
15729
+ const { nextTick } = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.22.1/node_modules/enhanced-resolve/lib/util/process-browser.js");
15793
15730
  const dirname = (path)=>{
15794
15731
  let idx = path.length - 1;
15795
15732
  while(idx >= 0){
@@ -15917,9 +15854,45 @@ __webpack_require__.add({
15917
15854
  if (callbacks) runCallbacks(callbacks, null, result);
15918
15855
  return result;
15919
15856
  }
15920
- purge(what) {
15921
- if (what) if ("string" == typeof what || Buffer.isBuffer(what) || what instanceof URL || "number" == typeof what) {
15857
+ purge(what, options) {
15858
+ if (null == what) {
15859
+ if (this._mode !== STORAGE_MODE_IDLE) {
15860
+ this._data.clear();
15861
+ for (const level of this._levels)level.clear();
15862
+ this._enterIdleMode();
15863
+ }
15864
+ return;
15865
+ }
15866
+ const exact = null != options && true === options.exact;
15867
+ if (exact) {
15868
+ if ("string" == typeof what || Buffer.isBuffer(what) || what instanceof URL || "number" == typeof what) {
15869
+ const strWhat = "string" != typeof what ? what.toString() : what;
15870
+ const data = this._data.get(strWhat);
15871
+ if (void 0 !== data) {
15872
+ this._data.delete(strWhat);
15873
+ data.level.delete(strWhat);
15874
+ }
15875
+ } else for (const item of what){
15876
+ const strItem = "string" != typeof item ? item.toString() : item;
15877
+ const data = this._data.get(strItem);
15878
+ if (void 0 !== data) {
15879
+ this._data.delete(strItem);
15880
+ data.level.delete(strItem);
15881
+ }
15882
+ }
15883
+ if (0 === this._data.size) this._enterIdleMode();
15884
+ return;
15885
+ }
15886
+ if ("string" == typeof what || Buffer.isBuffer(what) || what instanceof URL || "number" == typeof what) {
15922
15887
  const strWhat = "string" != typeof what ? what.toString() : what;
15888
+ if ("" === strWhat) {
15889
+ if (this._mode !== STORAGE_MODE_IDLE) {
15890
+ this._data.clear();
15891
+ for (const level of this._levels)level.clear();
15892
+ this._enterIdleMode();
15893
+ }
15894
+ return;
15895
+ }
15923
15896
  for (const [key, data] of this._data)if (key.startsWith(strWhat)) {
15924
15897
  this._data.delete(key);
15925
15898
  data.level.delete(key);
@@ -15936,14 +15909,10 @@ __webpack_require__.add({
15936
15909
  }
15937
15910
  if (0 === this._data.size) this._enterIdleMode();
15938
15911
  }
15939
- else if (this._mode !== STORAGE_MODE_IDLE) {
15940
- this._data.clear();
15941
- for (const level of this._levels)level.clear();
15942
- this._enterIdleMode();
15943
- }
15944
15912
  }
15945
15913
  purgeParent(what) {
15946
- if (what) if ("string" == typeof what || Buffer.isBuffer(what) || what instanceof URL || "number" == typeof what) {
15914
+ if (null == what) this.purge();
15915
+ else if ("string" == typeof what || Buffer.isBuffer(what) || what instanceof URL || "number" == typeof what) {
15947
15916
  const strWhat = "string" != typeof what ? what.toString() : what;
15948
15917
  this.purge(dirname(strWhat));
15949
15918
  } else {
@@ -15954,7 +15923,6 @@ __webpack_require__.add({
15954
15923
  }
15955
15924
  this.purge(set);
15956
15925
  }
15957
- else this.purge();
15958
15926
  }
15959
15927
  _storeResult(path, err, result) {
15960
15928
  if (this._data.has(path)) return;
@@ -16073,18 +16041,19 @@ __webpack_require__.add({
16073
16041
  const realpathSync = this._realpathBackend.provideSync;
16074
16042
  this.realpathSync = realpathSync;
16075
16043
  }
16076
- purge(what) {
16077
- this._statBackend.purge(what);
16078
- this._lstatBackend.purge(what);
16079
- this._readdirBackend.purgeParent(what);
16080
- this._readFileBackend.purge(what);
16081
- this._readlinkBackend.purge(what);
16082
- this._readJsonBackend.purge(what);
16083
- this._realpathBackend.purge(what);
16044
+ purge(what, options) {
16045
+ this._statBackend.purge(what, options);
16046
+ this._lstatBackend.purge(what, options);
16047
+ if (null != options && true === options.exact) this._readdirBackend.purge(what, options);
16048
+ else this._readdirBackend.purgeParent(what);
16049
+ this._readFileBackend.purge(what, options);
16050
+ this._readlinkBackend.purge(what, options);
16051
+ this._readJsonBackend.purge(what, options);
16052
+ this._realpathBackend.purge(what, options);
16084
16053
  }
16085
16054
  };
16086
16055
  },
16087
- "../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/util/process-browser.js" (module) {
16056
+ "../../node_modules/.pnpm/enhanced-resolve@5.22.1/node_modules/enhanced-resolve/lib/util/process-browser.js" (module) {
16088
16057
  module.exports = {
16089
16058
  versions: {},
16090
16059
  nextTick (fn) {
@@ -31091,7 +31060,7 @@ __webpack_require__.add({
31091
31060
  xhr = null;
31092
31061
  },
31093
31062
  "../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/request.js" (module, __unused_rspack_exports, __webpack_require__) {
31094
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
31063
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
31095
31064
  var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
31096
31065
  var capability = __webpack_require__("../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/capability.js");
31097
31066
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
@@ -31343,7 +31312,7 @@ __webpack_require__.add({
31343
31312
  },
31344
31313
  "../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/response.js" (__unused_rspack_module, exports, __webpack_require__) {
31345
31314
  var process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
31346
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
31315
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
31347
31316
  var capability = __webpack_require__("../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/lib/capability.js");
31348
31317
  var inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js");
31349
31318
  var stream = __webpack_require__("../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/readable-browser.js");
@@ -34483,7 +34452,7 @@ __webpack_require__.add({
34483
34452
  };
34484
34453
  },
34485
34454
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/CachedSource.js" (module, __unused_rspack_exports, __webpack_require__) {
34486
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
34455
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
34487
34456
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
34488
34457
  const streamAndGetSourceAndMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamAndGetSourceAndMap.js");
34489
34458
  const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js");
@@ -34708,7 +34677,7 @@ __webpack_require__.add({
34708
34677
  module.exports = CompatSource;
34709
34678
  },
34710
34679
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/ConcatSource.js" (module, __unused_rspack_exports, __webpack_require__) {
34711
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
34680
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
34712
34681
  const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js");
34713
34682
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
34714
34683
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
@@ -34884,7 +34853,7 @@ __webpack_require__.add({
34884
34853
  module.exports = ConcatSource;
34885
34854
  },
34886
34855
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/OriginalSource.js" (module, __unused_rspack_exports, __webpack_require__) {
34887
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
34856
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
34888
34857
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
34889
34858
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
34890
34859
  const getGeneratedSourceInfo = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getGeneratedSourceInfo.js");
@@ -34985,7 +34954,7 @@ __webpack_require__.add({
34985
34954
  module.exports = OriginalSource;
34986
34955
  },
34987
34956
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/PrefixSource.js" (module, __unused_rspack_exports, __webpack_require__) {
34988
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
34957
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
34989
34958
  const RawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js");
34990
34959
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
34991
34960
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
@@ -35044,7 +35013,7 @@ __webpack_require__.add({
35044
35013
  module.exports = PrefixSource;
35045
35014
  },
35046
35015
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/RawSource.js" (module, __unused_rspack_exports, __webpack_require__) {
35047
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
35016
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
35048
35017
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
35049
35018
  const streamChunksOfRawSource = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfRawSource.js");
35050
35019
  const { internString, isDualStringBufferCachingEnabled } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/stringBufferUtils.js");
@@ -35402,7 +35371,7 @@ __webpack_require__.add({
35402
35371
  module.exports = SizeOnlySource;
35403
35372
  },
35404
35373
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js" (module, __unused_rspack_exports, __webpack_require__) {
35405
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
35374
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
35406
35375
  class Source {
35407
35376
  source() {
35408
35377
  throw new Error("Abstract");
@@ -35431,7 +35400,7 @@ __webpack_require__.add({
35431
35400
  module.exports = Source;
35432
35401
  },
35433
35402
  "../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/SourceMapSource.js" (module, __unused_rspack_exports, __webpack_require__) {
35434
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
35403
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
35435
35404
  const Source = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/Source.js");
35436
35405
  const { getMap, getSourceAndMap } = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/getFromStreamChunks.js");
35437
35406
  const streamChunksOfCombinedSourceMap = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/helpers/streamChunksOfCombinedSourceMap.js");
@@ -36559,34 +36528,34 @@ __webpack_require__.add({
36559
36528
  }
36560
36529
  },
36561
36530
  "./src/browser/buffer.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
36531
+ 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");
36562
36532
  __webpack_require__.d(__webpack_exports__, {
36563
36533
  h: ()=>_napi_rs_wasm_runtime_fs__rspack_import_0.hp
36564
36534
  });
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");
36566
36535
  },
36567
36536
  "./src/browser/fs.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
36568
36537
  __webpack_require__.r(__webpack_exports__);
36569
- __webpack_require__.d(__webpack_exports__, {
36570
- default: ()=>__rspack_default_export,
36571
- existsSync: ()=>existsSync,
36572
- fs: ()=>fs,
36573
- lstat: ()=>lstat,
36574
- memfs: ()=>memfs,
36575
- readFileSync: ()=>readFileSync,
36576
- readdir: ()=>readdir,
36577
- readdirSync: ()=>readdirSync,
36578
- volume: ()=>volume,
36579
- watch: ()=>watch
36580
- });
36581
36538
  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");
36582
- var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?d2c4");
36539
+ var _rspack_binding__rspack_import_1 = __webpack_require__("@rspack/binding?637b");
36583
36540
  const fs = _rspack_binding__rspack_import_1.__fs;
36584
36541
  const volume = _rspack_binding__rspack_import_1.__volume;
36585
36542
  const memfs = _napi_rs_wasm_runtime_fs__rspack_import_0.tO;
36586
36543
  const { readFileSync, readdirSync, lstat, existsSync, readdir, watch } = fs;
36587
36544
  const __rspack_default_export = fs;
36545
+ __webpack_require__.d(__webpack_exports__, {}, {
36546
+ default: __rspack_default_export,
36547
+ existsSync: existsSync,
36548
+ fs: fs,
36549
+ lstat: lstat,
36550
+ memfs: memfs,
36551
+ readFileSync: readFileSync,
36552
+ readdir: readdir,
36553
+ readdirSync: readdirSync,
36554
+ volume: volume,
36555
+ watch: watch
36556
+ });
36588
36557
  },
36589
- "@rspack/binding?d2c4" (module) {
36558
+ "@rspack/binding?637b" (module) {
36590
36559
  module.exports = __rspack_external__rspack_wasi_browser_js_bd433424;
36591
36560
  },
36592
36561
  "?7763" () {},
@@ -36607,10 +36576,6 @@ __webpack_require__.add({
36607
36576
  };
36608
36577
  },
36609
36578
  "../../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" (__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
36610
- __webpack_require__.d(__webpack_exports__, {
36611
- hp: ()=>Buffer,
36612
- tO: ()=>memfs
36613
- });
36614
36579
  function _mergeNamespaces(n, m) {
36615
36580
  m.forEach(function(e) {
36616
36581
  e && 'string' != typeof e && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
@@ -55187,21 +55152,26 @@ __webpack_require__.add({
55187
55152
  libExports
55188
55153
  ]);
55189
55154
  const { createFsFromVolume, Volume, fs, memfs } = memfsExported;
55155
+ __webpack_require__.d(__webpack_exports__, {
55156
+ hp: ()=>Buffer
55157
+ }, {
55158
+ tO: memfs
55159
+ });
55190
55160
  },
55191
55161
  "../../node_modules/.pnpm/browserify-aes@1.2.0/node_modules/browserify-aes/modes/list.json" (module) {
55192
- module.exports = JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}');
55162
+ module.exports = /*#__PURE__*/ JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}');
55193
55163
  },
55194
55164
  "../../node_modules/.pnpm/browserify-sign@4.2.5/node_modules/browserify-sign/browser/algorithms.json" (module) {
55195
- module.exports = JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}');
55165
+ module.exports = /*#__PURE__*/ JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}');
55196
55166
  },
55197
55167
  "../../node_modules/.pnpm/browserify-sign@4.2.5/node_modules/browserify-sign/browser/curves.json" (module) {
55198
- module.exports = JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}');
55168
+ module.exports = /*#__PURE__*/ JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}');
55199
55169
  },
55200
55170
  "../../node_modules/.pnpm/constants-browserify@1.0.0/node_modules/constants-browserify/constants.json" (module) {
55201
- module.exports = JSON.parse('{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":512,"O_EXCL":2048,"O_NOCTTY":131072,"O_TRUNC":1024,"O_APPEND":8,"O_DIRECTORY":1048576,"O_NOFOLLOW":256,"O_SYNC":128,"O_SYMLINK":2097152,"O_NONBLOCK":4,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"E2BIG":7,"EACCES":13,"EADDRINUSE":48,"EADDRNOTAVAIL":49,"EAFNOSUPPORT":47,"EAGAIN":35,"EALREADY":37,"EBADF":9,"EBADMSG":94,"EBUSY":16,"ECANCELED":89,"ECHILD":10,"ECONNABORTED":53,"ECONNREFUSED":61,"ECONNRESET":54,"EDEADLK":11,"EDESTADDRREQ":39,"EDOM":33,"EDQUOT":69,"EEXIST":17,"EFAULT":14,"EFBIG":27,"EHOSTUNREACH":65,"EIDRM":90,"EILSEQ":92,"EINPROGRESS":36,"EINTR":4,"EINVAL":22,"EIO":5,"EISCONN":56,"EISDIR":21,"ELOOP":62,"EMFILE":24,"EMLINK":31,"EMSGSIZE":40,"EMULTIHOP":95,"ENAMETOOLONG":63,"ENETDOWN":50,"ENETRESET":52,"ENETUNREACH":51,"ENFILE":23,"ENOBUFS":55,"ENODATA":96,"ENODEV":19,"ENOENT":2,"ENOEXEC":8,"ENOLCK":77,"ENOLINK":97,"ENOMEM":12,"ENOMSG":91,"ENOPROTOOPT":42,"ENOSPC":28,"ENOSR":98,"ENOSTR":99,"ENOSYS":78,"ENOTCONN":57,"ENOTDIR":20,"ENOTEMPTY":66,"ENOTSOCK":38,"ENOTSUP":45,"ENOTTY":25,"ENXIO":6,"EOPNOTSUPP":102,"EOVERFLOW":84,"EPERM":1,"EPIPE":32,"EPROTO":100,"EPROTONOSUPPORT":43,"EPROTOTYPE":41,"ERANGE":34,"EROFS":30,"ESPIPE":29,"ESRCH":3,"ESTALE":70,"ETIME":101,"ETIMEDOUT":60,"ETXTBSY":26,"EWOULDBLOCK":35,"EXDEV":18,"SIGHUP":1,"SIGINT":2,"SIGQUIT":3,"SIGILL":4,"SIGTRAP":5,"SIGABRT":6,"SIGIOT":6,"SIGBUS":10,"SIGFPE":8,"SIGKILL":9,"SIGUSR1":30,"SIGSEGV":11,"SIGUSR2":31,"SIGPIPE":13,"SIGALRM":14,"SIGTERM":15,"SIGCHLD":20,"SIGCONT":19,"SIGSTOP":17,"SIGTSTP":18,"SIGTTIN":21,"SIGTTOU":22,"SIGURG":16,"SIGXCPU":24,"SIGXFSZ":25,"SIGVTALRM":26,"SIGPROF":27,"SIGWINCH":28,"SIGIO":23,"SIGSYS":12,"SSL_OP_ALL":2147486719,"SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION":262144,"SSL_OP_CIPHER_SERVER_PREFERENCE":4194304,"SSL_OP_CISCO_ANYCONNECT":32768,"SSL_OP_COOKIE_EXCHANGE":8192,"SSL_OP_CRYPTOPRO_TLSEXT_BUG":2147483648,"SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS":2048,"SSL_OP_EPHEMERAL_RSA":0,"SSL_OP_LEGACY_SERVER_CONNECT":4,"SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER":32,"SSL_OP_MICROSOFT_SESS_ID_BUG":1,"SSL_OP_MSIE_SSLV2_RSA_PADDING":0,"SSL_OP_NETSCAPE_CA_DN_BUG":536870912,"SSL_OP_NETSCAPE_CHALLENGE_BUG":2,"SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG":1073741824,"SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG":8,"SSL_OP_NO_COMPRESSION":131072,"SSL_OP_NO_QUERY_MTU":4096,"SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION":65536,"SSL_OP_NO_SSLv2":16777216,"SSL_OP_NO_SSLv3":33554432,"SSL_OP_NO_TICKET":16384,"SSL_OP_NO_TLSv1":67108864,"SSL_OP_NO_TLSv1_1":268435456,"SSL_OP_NO_TLSv1_2":134217728,"SSL_OP_PKCS1_CHECK_1":0,"SSL_OP_PKCS1_CHECK_2":0,"SSL_OP_SINGLE_DH_USE":1048576,"SSL_OP_SINGLE_ECDH_USE":524288,"SSL_OP_SSLEAY_080_CLIENT_DH_BUG":128,"SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG":0,"SSL_OP_TLS_BLOCK_PADDING_BUG":512,"SSL_OP_TLS_D5_BUG":256,"SSL_OP_TLS_ROLLBACK_BUG":8388608,"ENGINE_METHOD_DSA":2,"ENGINE_METHOD_DH":4,"ENGINE_METHOD_RAND":8,"ENGINE_METHOD_ECDH":16,"ENGINE_METHOD_ECDSA":32,"ENGINE_METHOD_CIPHERS":64,"ENGINE_METHOD_DIGESTS":128,"ENGINE_METHOD_STORE":256,"ENGINE_METHOD_PKEY_METHS":512,"ENGINE_METHOD_PKEY_ASN1_METHS":1024,"ENGINE_METHOD_ALL":65535,"ENGINE_METHOD_NONE":0,"DH_CHECK_P_NOT_SAFE_PRIME":2,"DH_CHECK_P_NOT_PRIME":1,"DH_UNABLE_TO_CHECK_GENERATOR":4,"DH_NOT_SUITABLE_GENERATOR":8,"NPN_ENABLED":1,"RSA_PKCS1_PADDING":1,"RSA_SSLV23_PADDING":2,"RSA_NO_PADDING":3,"RSA_PKCS1_OAEP_PADDING":4,"RSA_X931_PADDING":5,"RSA_PKCS1_PSS_PADDING":6,"POINT_CONVERSION_COMPRESSED":2,"POINT_CONVERSION_UNCOMPRESSED":4,"POINT_CONVERSION_HYBRID":6,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1,"UV_UDP_REUSEADDR":4}');
55171
+ module.exports = /*#__PURE__*/ JSON.parse('{"O_RDONLY":0,"O_WRONLY":1,"O_RDWR":2,"S_IFMT":61440,"S_IFREG":32768,"S_IFDIR":16384,"S_IFCHR":8192,"S_IFBLK":24576,"S_IFIFO":4096,"S_IFLNK":40960,"S_IFSOCK":49152,"O_CREAT":512,"O_EXCL":2048,"O_NOCTTY":131072,"O_TRUNC":1024,"O_APPEND":8,"O_DIRECTORY":1048576,"O_NOFOLLOW":256,"O_SYNC":128,"O_SYMLINK":2097152,"O_NONBLOCK":4,"S_IRWXU":448,"S_IRUSR":256,"S_IWUSR":128,"S_IXUSR":64,"S_IRWXG":56,"S_IRGRP":32,"S_IWGRP":16,"S_IXGRP":8,"S_IRWXO":7,"S_IROTH":4,"S_IWOTH":2,"S_IXOTH":1,"E2BIG":7,"EACCES":13,"EADDRINUSE":48,"EADDRNOTAVAIL":49,"EAFNOSUPPORT":47,"EAGAIN":35,"EALREADY":37,"EBADF":9,"EBADMSG":94,"EBUSY":16,"ECANCELED":89,"ECHILD":10,"ECONNABORTED":53,"ECONNREFUSED":61,"ECONNRESET":54,"EDEADLK":11,"EDESTADDRREQ":39,"EDOM":33,"EDQUOT":69,"EEXIST":17,"EFAULT":14,"EFBIG":27,"EHOSTUNREACH":65,"EIDRM":90,"EILSEQ":92,"EINPROGRESS":36,"EINTR":4,"EINVAL":22,"EIO":5,"EISCONN":56,"EISDIR":21,"ELOOP":62,"EMFILE":24,"EMLINK":31,"EMSGSIZE":40,"EMULTIHOP":95,"ENAMETOOLONG":63,"ENETDOWN":50,"ENETRESET":52,"ENETUNREACH":51,"ENFILE":23,"ENOBUFS":55,"ENODATA":96,"ENODEV":19,"ENOENT":2,"ENOEXEC":8,"ENOLCK":77,"ENOLINK":97,"ENOMEM":12,"ENOMSG":91,"ENOPROTOOPT":42,"ENOSPC":28,"ENOSR":98,"ENOSTR":99,"ENOSYS":78,"ENOTCONN":57,"ENOTDIR":20,"ENOTEMPTY":66,"ENOTSOCK":38,"ENOTSUP":45,"ENOTTY":25,"ENXIO":6,"EOPNOTSUPP":102,"EOVERFLOW":84,"EPERM":1,"EPIPE":32,"EPROTO":100,"EPROTONOSUPPORT":43,"EPROTOTYPE":41,"ERANGE":34,"EROFS":30,"ESPIPE":29,"ESRCH":3,"ESTALE":70,"ETIME":101,"ETIMEDOUT":60,"ETXTBSY":26,"EWOULDBLOCK":35,"EXDEV":18,"SIGHUP":1,"SIGINT":2,"SIGQUIT":3,"SIGILL":4,"SIGTRAP":5,"SIGABRT":6,"SIGIOT":6,"SIGBUS":10,"SIGFPE":8,"SIGKILL":9,"SIGUSR1":30,"SIGSEGV":11,"SIGUSR2":31,"SIGPIPE":13,"SIGALRM":14,"SIGTERM":15,"SIGCHLD":20,"SIGCONT":19,"SIGSTOP":17,"SIGTSTP":18,"SIGTTIN":21,"SIGTTOU":22,"SIGURG":16,"SIGXCPU":24,"SIGXFSZ":25,"SIGVTALRM":26,"SIGPROF":27,"SIGWINCH":28,"SIGIO":23,"SIGSYS":12,"SSL_OP_ALL":2147486719,"SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION":262144,"SSL_OP_CIPHER_SERVER_PREFERENCE":4194304,"SSL_OP_CISCO_ANYCONNECT":32768,"SSL_OP_COOKIE_EXCHANGE":8192,"SSL_OP_CRYPTOPRO_TLSEXT_BUG":2147483648,"SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS":2048,"SSL_OP_EPHEMERAL_RSA":0,"SSL_OP_LEGACY_SERVER_CONNECT":4,"SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER":32,"SSL_OP_MICROSOFT_SESS_ID_BUG":1,"SSL_OP_MSIE_SSLV2_RSA_PADDING":0,"SSL_OP_NETSCAPE_CA_DN_BUG":536870912,"SSL_OP_NETSCAPE_CHALLENGE_BUG":2,"SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG":1073741824,"SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG":8,"SSL_OP_NO_COMPRESSION":131072,"SSL_OP_NO_QUERY_MTU":4096,"SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION":65536,"SSL_OP_NO_SSLv2":16777216,"SSL_OP_NO_SSLv3":33554432,"SSL_OP_NO_TICKET":16384,"SSL_OP_NO_TLSv1":67108864,"SSL_OP_NO_TLSv1_1":268435456,"SSL_OP_NO_TLSv1_2":134217728,"SSL_OP_PKCS1_CHECK_1":0,"SSL_OP_PKCS1_CHECK_2":0,"SSL_OP_SINGLE_DH_USE":1048576,"SSL_OP_SINGLE_ECDH_USE":524288,"SSL_OP_SSLEAY_080_CLIENT_DH_BUG":128,"SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG":0,"SSL_OP_TLS_BLOCK_PADDING_BUG":512,"SSL_OP_TLS_D5_BUG":256,"SSL_OP_TLS_ROLLBACK_BUG":8388608,"ENGINE_METHOD_DSA":2,"ENGINE_METHOD_DH":4,"ENGINE_METHOD_RAND":8,"ENGINE_METHOD_ECDH":16,"ENGINE_METHOD_ECDSA":32,"ENGINE_METHOD_CIPHERS":64,"ENGINE_METHOD_DIGESTS":128,"ENGINE_METHOD_STORE":256,"ENGINE_METHOD_PKEY_METHS":512,"ENGINE_METHOD_PKEY_ASN1_METHS":1024,"ENGINE_METHOD_ALL":65535,"ENGINE_METHOD_NONE":0,"DH_CHECK_P_NOT_SAFE_PRIME":2,"DH_CHECK_P_NOT_PRIME":1,"DH_UNABLE_TO_CHECK_GENERATOR":4,"DH_NOT_SUITABLE_GENERATOR":8,"NPN_ENABLED":1,"RSA_PKCS1_PADDING":1,"RSA_SSLV23_PADDING":2,"RSA_NO_PADDING":3,"RSA_PKCS1_OAEP_PADDING":4,"RSA_X931_PADDING":5,"RSA_PKCS1_PSS_PADDING":6,"POINT_CONVERSION_COMPRESSED":2,"POINT_CONVERSION_UNCOMPRESSED":4,"POINT_CONVERSION_HYBRID":6,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1,"UV_UDP_REUSEADDR":4}');
55202
55172
  },
55203
55173
  "../../node_modules/.pnpm/diffie-hellman@5.0.3/node_modules/diffie-hellman/lib/primes.json" (module) {
55204
- module.exports = JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}');
55174
+ module.exports = /*#__PURE__*/ JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}');
55205
55175
  },
55206
55176
  "../../node_modules/.pnpm/elliptic@6.6.1/node_modules/elliptic/package.json" (module) {
55207
55177
  module.exports = {
@@ -55209,7 +55179,7 @@ __webpack_require__.add({
55209
55179
  };
55210
55180
  },
55211
55181
  "../../node_modules/.pnpm/parse-asn1@5.1.9/node_modules/parse-asn1/aesid.json" (module) {
55212
- module.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}');
55182
+ module.exports = /*#__PURE__*/ JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}');
55213
55183
  }
55214
55184
  });
55215
55185
  var browserslistTargetHandler_namespaceObject = {};
@@ -55223,6 +55193,7 @@ __webpack_require__.d(exports_namespaceObject, {
55223
55193
  AsyncDependenciesBlock: ()=>AsyncDependenciesBlock,
55224
55194
  BannerPlugin: ()=>BannerPlugin,
55225
55195
  CaseSensitivePlugin: ()=>CaseSensitivePlugin,
55196
+ CircularCheckRspackPlugin: ()=>CircularCheckRspackPlugin,
55226
55197
  CircularDependencyRspackPlugin: ()=>CircularDependencyRspackPlugin,
55227
55198
  Compilation: ()=>Compilation,
55228
55199
  Compiler: ()=>Compiler,
@@ -56346,7 +56317,7 @@ function createFakeCompilationDependencies(getDeps, addDeps) {
56346
56317
  };
56347
56318
  }
56348
56319
  const webpack_sources_lib = __webpack_require__("../../node_modules/.pnpm/webpack-sources@3.3.4_patch_hash=0d62122aa5f9ac77d9ad3b4959c3c0492778a5948c0b00b45a673f3facfca327/node_modules/webpack-sources/lib/index.js");
56349
- var Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
56320
+ var Buffer = __webpack_require__("./src/browser/buffer.ts").h;
56350
56321
  class SourceAdapter {
56351
56322
  static fromBinding(source) {
56352
56323
  if (!source.map) return new webpack_sources_lib.RawSource(source.source);
@@ -57432,6 +57403,31 @@ class CircularModulesInfoPlugin extends RspackBuiltinPlugin {
57432
57403
  return createBuiltinPlugin(this.name, void 0);
57433
57404
  }
57434
57405
  }
57406
+ class CircularCheckRspackPlugin extends RspackBuiltinPlugin {
57407
+ name = external_rspack_wasi_browser_js_BuiltinPluginName.CircularCheckRspackPlugin;
57408
+ _options;
57409
+ constructor(options = {}){
57410
+ super();
57411
+ this._options = options;
57412
+ }
57413
+ raw(compiler) {
57414
+ const { failOnError, exclude, include, onDetected } = this._options;
57415
+ const rawOptions = {
57416
+ failOnError,
57417
+ exclude,
57418
+ include,
57419
+ onDetected: onDetected ? (module, paths)=>{
57420
+ const compilation = compiler.__internal__get_compilation();
57421
+ onDetected({
57422
+ module,
57423
+ paths,
57424
+ compilation
57425
+ });
57426
+ } : void 0
57427
+ };
57428
+ return createBuiltinPlugin(this.name, rawOptions);
57429
+ }
57430
+ }
57435
57431
  class CircularDependencyRspackPlugin extends RspackBuiltinPlugin {
57436
57432
  name = external_rspack_wasi_browser_js_BuiltinPluginName.CircularDependencyRspackPlugin;
57437
57433
  _options;
@@ -57621,10 +57617,16 @@ class DeterministicChunkIdsPlugin extends RspackBuiltinPlugin {
57621
57617
  }
57622
57618
  }
57623
57619
  class DeterministicModuleIdsPlugin extends RspackBuiltinPlugin {
57620
+ options;
57624
57621
  name = external_rspack_wasi_browser_js_BuiltinPluginName.DeterministicModuleIdsPlugin;
57625
57622
  affectedHooks = 'compilation';
57623
+ constructor(options = {}){
57624
+ super(), this.options = options;
57625
+ }
57626
57626
  raw() {
57627
- return createBuiltinPlugin(this.name, void 0);
57627
+ return createBuiltinPlugin(this.name, {
57628
+ ...this.options
57629
+ });
57628
57630
  }
57629
57631
  }
57630
57632
  const DllEntryPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.DllEntryPlugin, (context, entries, options)=>({
@@ -57904,7 +57906,7 @@ function applyLimits(options) {
57904
57906
  base_create(external_rspack_wasi_browser_js_BuiltinPluginName.EsmNodeTargetPlugin, ()=>void 0);
57905
57907
  const EvalDevToolModulePlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.EvalDevToolModulePlugin, (options)=>options, 'compilation');
57906
57908
  const EvalSourceMapDevToolPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.EvalSourceMapDevToolPlugin, (options)=>options, 'compilation');
57907
- var util_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
57909
+ var util_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
57908
57910
  function isNil(value) {
57909
57911
  return null == value;
57910
57912
  }
@@ -58602,7 +58604,7 @@ class Hash {
58602
58604
  throw new AbstractMethodError();
58603
58605
  }
58604
58606
  }
58605
- var wasm_hash_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
58607
+ var wasm_hash_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
58606
58608
  const MAX_SHORT_STRING = -4 & Math.floor(16368);
58607
58609
  class WasmHash {
58608
58610
  exports;
@@ -58721,7 +58723,7 @@ const wasm_hash_create = (wasmModule, instancesPool, chunkSize, digestSize)=>{
58721
58723
  return new WasmHash(new WebAssembly.Instance(wasmModule), instancesPool, chunkSize, digestSize);
58722
58724
  };
58723
58725
  const wasm_hash = wasm_hash_create;
58724
- var md4_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
58726
+ var md4_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
58725
58727
  let createMd4;
58726
58728
  const hash_md4 = ()=>{
58727
58729
  if (!createMd4) {
@@ -58730,7 +58732,7 @@ const hash_md4 = ()=>{
58730
58732
  }
58731
58733
  return createMd4();
58732
58734
  };
58733
- var xxhash64_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
58735
+ var xxhash64_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
58734
58736
  let createXxhash64;
58735
58737
  const hash_xxhash64 = ()=>{
58736
58738
  if (!createXxhash64) {
@@ -58739,7 +58741,7 @@ const hash_xxhash64 = ()=>{
58739
58741
  }
58740
58742
  return createXxhash64();
58741
58743
  };
58742
- var createHash_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
58744
+ var createHash_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
58743
58745
  const BULK_SIZE = 2000;
58744
58746
  const digestCaches = {};
58745
58747
  class BulkUpdateDecorator extends Hash {
@@ -58910,7 +58912,7 @@ function handleResult(loader, module, callback) {
58910
58912
  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)`));
58911
58913
  callback();
58912
58914
  }
58913
- var utils_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
58915
+ var utils_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
58914
58916
  const decoder = new TextDecoder();
58915
58917
  function utf8BufferToString(buf) {
58916
58918
  const isShared = buf.buffer instanceof SharedArrayBuffer || buf.buffer.constructor?.name === 'SharedArrayBuffer';
@@ -59938,6 +59940,7 @@ const getRawModuleRule = (rule, path, options, upperType)=>{
59938
59940
  issuer: rule.issuer ? getRawRuleSetCondition(rule.issuer) : void 0,
59939
59941
  issuerLayer: rule.issuerLayer ? getRawRuleSetCondition(rule.issuerLayer) : void 0,
59940
59942
  dependency: rule.dependency ? getRawRuleSetCondition(rule.dependency) : void 0,
59943
+ phase: rule.phase ? getRawRuleSetCondition(rule.phase) : void 0,
59941
59944
  descriptionData: rule.descriptionData ? Object.fromEntries(Object.entries(rule.descriptionData).map(([k, v])=>[
59942
59945
  k,
59943
59946
  getRawRuleSetCondition(v)
@@ -60050,15 +60053,15 @@ function getRawParserOptions(parser, type) {
60050
60053
  };
60051
60054
  if ('css/auto' === type) return {
60052
60055
  type: 'css/auto',
60053
- cssAuto: getRawCssParserOptions(parser)
60056
+ cssAuto: getRawCssAutoOrModuleParserOptions(parser)
60054
60057
  };
60055
60058
  if ('css/global' === type) return {
60056
60059
  type: 'css/global',
60057
- cssGlobal: getRawCssParserOptions(parser)
60060
+ cssGlobal: getRawCssModuleParserOptions(parser)
60058
60061
  };
60059
60062
  if ('css/module' === type) return {
60060
60063
  type: 'css/module',
60061
- cssModule: getRawCssParserOptions(parser)
60064
+ cssModule: getRawCssAutoOrModuleParserOptions(parser)
60062
60065
  };
60063
60066
  if ('json' === type) return {
60064
60067
  type: 'json',
@@ -60096,6 +60099,7 @@ function getRawJavascriptParserOptions(parser) {
60096
60099
  typeReexportsPresence: parser.typeReexportsPresence,
60097
60100
  jsx: parser.jsx,
60098
60101
  deferImport: parser.deferImport,
60102
+ sourceImport: parser.sourceImport,
60099
60103
  importMetaResolve: parser.importMetaResolve,
60100
60104
  pureFunctions: parser.pureFunctions
60101
60105
  };
@@ -60114,15 +60118,24 @@ function getRawAssetParserDataUrl(dataUrlCondition) {
60114
60118
  };
60115
60119
  throw new Error(`unreachable: AssetParserDataUrl type should be one of "options", but got ${dataUrlCondition}`);
60116
60120
  }
60117
- function getRawCssParserOptions(parser) {
60121
+ function getRawCssModuleParserOptions(parser) {
60118
60122
  return {
60119
60123
  namedExports: parser.namedExports,
60120
60124
  url: parser.url,
60121
60125
  import: parser.import,
60122
60126
  resolveImport: parser.resolveImport,
60123
60127
  animation: parser.animation,
60128
+ container: parser.container,
60124
60129
  customIdents: parser.customIdents,
60125
- dashedIdents: parser.dashedIdents
60130
+ dashedIdents: parser.dashedIdents,
60131
+ function: parser.function,
60132
+ grid: parser.grid
60133
+ };
60134
+ }
60135
+ function getRawCssAutoOrModuleParserOptions(parser) {
60136
+ return {
60137
+ ...getRawCssModuleParserOptions(parser),
60138
+ pure: parser.pure
60126
60139
  };
60127
60140
  }
60128
60141
  function getRawCssParserOptionsForCss(parser) {
@@ -60130,10 +60143,7 @@ function getRawCssParserOptionsForCss(parser) {
60130
60143
  namedExports: parser.namedExports,
60131
60144
  url: parser.url,
60132
60145
  import: parser.import,
60133
- resolveImport: parser.resolveImport,
60134
- animation: parser.animation,
60135
- customIdents: parser.customIdents,
60136
- dashedIdents: parser.dashedIdents
60146
+ resolveImport: parser.resolveImport
60137
60147
  };
60138
60148
  }
60139
60149
  function getRawJsonParserOptions(parser) {
@@ -60391,7 +60401,7 @@ class HotModuleReplacementPlugin extends RspackBuiltinPlugin {
60391
60401
  const HttpExternalsRspackPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.HttpExternalsRspackPlugin, (webAsync)=>({
60392
60402
  webAsync
60393
60403
  }));
60394
- var HttpUriPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
60404
+ var HttpUriPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
60395
60405
  memoize(()=>__webpack_require__("../../node_modules/.pnpm/stream-http@3.2.0/node_modules/stream-http/index.js"));
60396
60406
  memoize(()=>__webpack_require__("../../node_modules/.pnpm/https-browserify@1.0.0/node_modules/https-browserify/index.js"));
60397
60407
  const defaultHttpClientForBrowser = async (url, headers)=>{
@@ -61048,7 +61058,7 @@ const SizeLimitsPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPlug
61048
61058
  };
61049
61059
  });
61050
61060
  const SourceMapDevToolPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.SourceMapDevToolPlugin, (options)=>options, 'compilation');
61051
- var SubresourceIntegrityPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
61061
+ var SubresourceIntegrityPlugin_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
61052
61062
  const SubresourceIntegrityPlugin_PLUGIN_NAME = 'SubresourceIntegrityPlugin';
61053
61063
  const NATIVE_HTML_PLUGIN = 'HtmlRspackPlugin';
61054
61064
  const HTTP_PROTOCOL_REGEX = /^https?:/;
@@ -61278,6 +61288,20 @@ const SwcJsMinimizerRspackPlugin = base_create(external_rspack_wasi_browser_js_B
61278
61288
  }
61279
61289
  };
61280
61290
  }, 'compilation');
61291
+ class SyncModuleIdsPlugin extends RspackBuiltinPlugin {
61292
+ options;
61293
+ name = external_rspack_wasi_browser_js_BuiltinPluginName.SyncModuleIdsPlugin;
61294
+ affectedHooks = 'compilation';
61295
+ constructor(options){
61296
+ super(), this.options = options;
61297
+ }
61298
+ raw() {
61299
+ const options = {
61300
+ ...this.options
61301
+ };
61302
+ return createBuiltinPlugin(this.name, options);
61303
+ }
61304
+ }
61281
61305
  const URLPlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.URLPlugin, ()=>{}, 'compilation');
61282
61306
  class WorkerPlugin extends RspackBuiltinPlugin {
61283
61307
  chunkLoading;
@@ -61845,6 +61869,24 @@ const aliases = {
61845
61869
  and_ff: 'firefox'
61846
61870
  };
61847
61871
  const renameBrowser = (name)=>aliases[name] || name;
61872
+ const resolveESVersion = (version, thresholds)=>{
61873
+ const index = thresholds.findIndex((threshold)=>version < threshold);
61874
+ const defaultVersion = 2024;
61875
+ if (-1 === index) return defaultVersion;
61876
+ const ES_VERSIONS = [
61877
+ 2015,
61878
+ 2016,
61879
+ 2017,
61880
+ 2018,
61881
+ 2019,
61882
+ 2020,
61883
+ 2021,
61884
+ 2022,
61885
+ 2023,
61886
+ 2024
61887
+ ];
61888
+ return ES_VERSIONS[index - 1] ?? 5;
61889
+ };
61848
61890
  function browsersToESVersion(browsers) {
61849
61891
  let esVersion = 2024;
61850
61892
  for (const item of browsers){
@@ -61858,18 +61900,9 @@ function browsersToESVersion(browsers) {
61858
61900
  break;
61859
61901
  }
61860
61902
  const versions = ES_VERSIONS_MAP[browser];
61861
- if (versions) {
61862
- if (version < versions[0]) esVersion = Math.min(5, esVersion);
61863
- else if (version < versions[1]) esVersion = Math.min(2015, esVersion);
61864
- else if (version < versions[2]) esVersion = Math.min(2016, esVersion);
61865
- else if (version < versions[3]) esVersion = Math.min(2017, esVersion);
61866
- else if (version < versions[4]) esVersion = Math.min(2018, esVersion);
61867
- else if (version < versions[5]) esVersion = Math.min(2019, esVersion);
61868
- else if (version < versions[6]) esVersion = Math.min(2020, esVersion);
61869
- else if (version < versions[7]) esVersion = Math.min(2021, esVersion);
61870
- else if (version < versions[8]) esVersion = Math.min(2022, esVersion);
61871
- else if (version < versions[9]) esVersion = Math.min(2023, esVersion);
61872
- }
61903
+ if (!versions) continue;
61904
+ const targetVersion = resolveESVersion(version, versions);
61905
+ esVersion = Math.min(targetVersion, esVersion);
61873
61906
  }
61874
61907
  return esVersion;
61875
61908
  }
@@ -62674,6 +62707,7 @@ const applyRspackOptionsDefaults = (options)=>{
62674
62707
  mode: options.mode,
62675
62708
  uniqueName: options.output.uniqueName,
62676
62709
  deferImport: options.experiments.deferImport,
62710
+ sourceImport: options.experiments.sourceImport,
62677
62711
  outputModule: options.output.module,
62678
62712
  hashFunction: options.output.hashFunction,
62679
62713
  hashSalt: options.output.hashSalt
@@ -62735,6 +62769,7 @@ const applyExperimentsDefaults = (experiments)=>{
62735
62769
  D(experiments, 'futureDefaults', false);
62736
62770
  D(experiments, 'asyncWebAssembly', true);
62737
62771
  D(experiments, 'deferImport', false);
62772
+ D(experiments, 'sourceImport', false);
62738
62773
  D(experiments, 'buildHttp', void 0);
62739
62774
  if (experiments.buildHttp && 'object' == typeof experiments.buildHttp) D(experiments.buildHttp, 'upgrade', false);
62740
62775
  D(experiments, 'useInputFileSystem', false);
@@ -62761,7 +62796,7 @@ const applyIncrementalDefaults = (options)=>{
62761
62796
  }
62762
62797
  };
62763
62798
  const applySnapshotDefaults = (_snapshot, _env)=>{};
62764
- const applyJavascriptParserOptionsDefaults = (parserOptions, { deferImport, outputModule })=>{
62799
+ const applyJavascriptParserOptionsDefaults = (parserOptions, { deferImport, sourceImport, outputModule })=>{
62765
62800
  D(parserOptions, 'dynamicImportMode', 'lazy');
62766
62801
  D(parserOptions, 'dynamicImportPrefetch', false);
62767
62802
  D(parserOptions, 'dynamicImportPreload', false);
@@ -62785,12 +62820,18 @@ const applyJavascriptParserOptionsDefaults = (parserOptions, { deferImport, outp
62785
62820
  D(parserOptions, 'typeReexportsPresence', 'no-tolerant');
62786
62821
  D(parserOptions, 'jsx', false);
62787
62822
  D(parserOptions, 'deferImport', deferImport);
62823
+ D(parserOptions, 'sourceImport', sourceImport);
62788
62824
  D(parserOptions, 'importMetaResolve', false);
62789
62825
  };
62790
62826
  const applyCssGeneratorOptionsDefaults = (generatorOptions, { targetProperties })=>{
62791
62827
  D(generatorOptions, 'exportsOnly', !targetProperties || false === targetProperties.document);
62792
62828
  D(generatorOptions, 'esModule', true);
62793
62829
  };
62830
+ const applyCssParserOptionsDefaults = (parserOptions)=>{
62831
+ D(parserOptions, 'namedExports', true);
62832
+ D(parserOptions, 'url', true);
62833
+ D(parserOptions, 'import', true);
62834
+ };
62794
62835
  const applyCssModuleGeneratorOptionsDefaults = (generatorOptions, { hashFunction, hashSalt, localIdentName, targetProperties })=>{
62795
62836
  D(generatorOptions, 'exportsOnly', !targetProperties || false === targetProperties.document);
62796
62837
  D(generatorOptions, 'esModule', true);
@@ -62802,14 +62843,22 @@ const applyCssModuleGeneratorOptionsDefaults = (generatorOptions, { hashFunction
62802
62843
  D(generatorOptions, 'localIdentHashDigestLength', 6);
62803
62844
  };
62804
62845
  const applyCssModuleParserOptionsDefaults = (parserOptions)=>{
62805
- D(parserOptions, 'namedExports', true);
62806
- D(parserOptions, 'url', true);
62807
- D(parserOptions, 'import', true);
62846
+ applyCssParserOptionsDefaults(parserOptions);
62847
+ D(parserOptions, 'animation', true);
62848
+ D(parserOptions, 'container', true);
62849
+ D(parserOptions, 'customIdents', true);
62850
+ D(parserOptions, 'dashedIdents', true);
62851
+ D(parserOptions, 'function', true);
62852
+ D(parserOptions, 'grid', true);
62853
+ };
62854
+ const applyCssAutoOrModuleParserOptionsDefaults = (parserOptions)=>{
62855
+ applyCssModuleParserOptionsDefaults(parserOptions);
62856
+ D(parserOptions, 'pure', false);
62808
62857
  };
62809
62858
  const applyJsonGeneratorOptionsDefaults = (generatorOptions)=>{
62810
62859
  D(generatorOptions, 'JSONParse', true);
62811
62860
  };
62812
- const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode, uniqueName, deferImport, outputModule, hashFunction, hashSalt })=>{
62861
+ const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode, uniqueName, deferImport, sourceImport, outputModule, hashFunction, hashSalt })=>{
62813
62862
  assertNotNill(module.parser);
62814
62863
  assertNotNill(module.generator);
62815
62864
  F(module.parser, "asset", ()=>({}));
@@ -62820,6 +62869,7 @@ const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode,
62820
62869
  assertNotNill(module.parser.javascript);
62821
62870
  applyJavascriptParserOptionsDefaults(module.parser.javascript, {
62822
62871
  deferImport,
62872
+ sourceImport,
62823
62873
  outputModule
62824
62874
  });
62825
62875
  F(module.parser, "json", ()=>({}));
@@ -62830,19 +62880,16 @@ const applyModuleDefaults = (module, { asyncWebAssembly, targetProperties, mode,
62830
62880
  applyJsonGeneratorOptionsDefaults(module.generator.json);
62831
62881
  F(module.parser, 'css', ()=>({}));
62832
62882
  assertNotNill(module.parser.css);
62833
- D(module.parser.css, 'namedExports', true);
62834
- D(module.parser.css, 'url', true);
62835
- D(module.parser.css, 'import', true);
62836
- D(module.parser.css, 'animation', true);
62883
+ applyCssParserOptionsDefaults(module.parser.css);
62837
62884
  F(module.parser, 'css/auto', ()=>({}));
62838
62885
  assertNotNill(module.parser['css/auto']);
62839
- applyCssModuleParserOptionsDefaults(module.parser['css/auto']);
62886
+ applyCssAutoOrModuleParserOptionsDefaults(module.parser['css/auto']);
62840
62887
  F(module.parser, 'css/global', ()=>({}));
62841
62888
  assertNotNill(module.parser['css/global']);
62842
62889
  applyCssModuleParserOptionsDefaults(module.parser['css/global']);
62843
62890
  F(module.parser, 'css/module', ()=>({}));
62844
62891
  assertNotNill(module.parser['css/module']);
62845
- applyCssModuleParserOptionsDefaults(module.parser['css/module']);
62892
+ applyCssAutoOrModuleParserOptionsDefaults(module.parser['css/module']);
62846
62893
  F(module.generator, 'css', ()=>({}));
62847
62894
  assertNotNill(module.generator.css);
62848
62895
  applyCssGeneratorOptionsDefaults(module.generator.css, {
@@ -63198,7 +63245,7 @@ const applyOutputDefaults = (options, { context, targetProperties: tp, isAffecte
63198
63245
  });
63199
63246
  D(output, 'bundlerInfo', {});
63200
63247
  if ('object' == typeof output.bundlerInfo) {
63201
- D(output.bundlerInfo, 'version', "2.0.5");
63248
+ D(output.bundlerInfo, 'version', "2.0.7");
63202
63249
  D(output.bundlerInfo, 'bundler', 'rspack');
63203
63250
  D(output.bundlerInfo, 'force', false);
63204
63251
  }
@@ -63431,21 +63478,24 @@ const getResolveDefaults = ({ targetProperties, mode })=>{
63431
63478
  unknown: cjsDeps()
63432
63479
  }
63433
63480
  };
63434
- resolveOptions.byDependency['css-import'] = {
63481
+ const styleConditions = [];
63482
+ styleConditions.push('development' === mode ? 'development' : 'production');
63483
+ styleConditions.push('style');
63484
+ const cssResolveOptions = {
63435
63485
  mainFiles: [],
63436
63486
  mainFields: [
63437
63487
  'style',
63438
63488
  '...'
63439
63489
  ],
63440
- conditionNames: [
63441
- 'development' === mode ? 'development' : 'production',
63442
- 'style'
63443
- ],
63490
+ conditionNames: styleConditions,
63444
63491
  extensions: [
63445
63492
  '.css'
63446
63493
  ],
63447
63494
  preferRelative: true
63448
63495
  };
63496
+ resolveOptions.byDependency['css-import'] = cssResolveOptions;
63497
+ resolveOptions.byDependency['css-import-local-module'] = cssResolveOptions;
63498
+ resolveOptions.byDependency['css-import-global-module'] = cssResolveOptions;
63449
63499
  return resolveOptions;
63450
63500
  };
63451
63501
  const D = (obj, prop, value)=>{
@@ -63834,53 +63884,54 @@ var RuntimeGlobals_RuntimeGlobals = /*#__PURE__*/ function(RuntimeGlobals) {
63834
63884
  RuntimeGlobals[RuntimeGlobals["getFullHash"] = 26] = "getFullHash";
63835
63885
  RuntimeGlobals[RuntimeGlobals["wasmInstances"] = 27] = "wasmInstances";
63836
63886
  RuntimeGlobals[RuntimeGlobals["instantiateWasm"] = 28] = "instantiateWasm";
63837
- RuntimeGlobals[RuntimeGlobals["uncaughtErrorHandler"] = 29] = "uncaughtErrorHandler";
63838
- RuntimeGlobals[RuntimeGlobals["scriptNonce"] = 30] = "scriptNonce";
63839
- RuntimeGlobals[RuntimeGlobals["loadScript"] = 31] = "loadScript";
63840
- RuntimeGlobals[RuntimeGlobals["createScript"] = 32] = "createScript";
63841
- RuntimeGlobals[RuntimeGlobals["createScriptUrl"] = 33] = "createScriptUrl";
63842
- RuntimeGlobals[RuntimeGlobals["getTrustedTypesPolicy"] = 34] = "getTrustedTypesPolicy";
63843
- RuntimeGlobals[RuntimeGlobals["hasFetchPriority"] = 35] = "hasFetchPriority";
63844
- RuntimeGlobals[RuntimeGlobals["chunkName"] = 36] = "chunkName";
63845
- RuntimeGlobals[RuntimeGlobals["runtimeId"] = 37] = "runtimeId";
63846
- RuntimeGlobals[RuntimeGlobals["getChunkScriptFilename"] = 38] = "getChunkScriptFilename";
63847
- RuntimeGlobals[RuntimeGlobals["getChunkCssFilename"] = 39] = "getChunkCssFilename";
63848
- RuntimeGlobals[RuntimeGlobals["rspackVersion"] = 40] = "rspackVersion";
63849
- RuntimeGlobals[RuntimeGlobals["hasCssModules"] = 41] = "hasCssModules";
63850
- RuntimeGlobals[RuntimeGlobals["rspackUniqueId"] = 42] = "rspackUniqueId";
63851
- RuntimeGlobals[RuntimeGlobals["getChunkUpdateScriptFilename"] = 43] = "getChunkUpdateScriptFilename";
63852
- RuntimeGlobals[RuntimeGlobals["getChunkUpdateCssFilename"] = 44] = "getChunkUpdateCssFilename";
63853
- RuntimeGlobals[RuntimeGlobals["startup"] = 45] = "startup";
63854
- RuntimeGlobals[RuntimeGlobals["startupNoDefault"] = 46] = "startupNoDefault";
63855
- RuntimeGlobals[RuntimeGlobals["startupOnlyAfter"] = 47] = "startupOnlyAfter";
63856
- RuntimeGlobals[RuntimeGlobals["startupOnlyBefore"] = 48] = "startupOnlyBefore";
63857
- RuntimeGlobals[RuntimeGlobals["chunkCallback"] = 49] = "chunkCallback";
63858
- RuntimeGlobals[RuntimeGlobals["startupEntrypoint"] = 50] = "startupEntrypoint";
63859
- RuntimeGlobals[RuntimeGlobals["startupChunkDependencies"] = 51] = "startupChunkDependencies";
63860
- RuntimeGlobals[RuntimeGlobals["onChunksLoaded"] = 52] = "onChunksLoaded";
63861
- RuntimeGlobals[RuntimeGlobals["externalInstallChunk"] = 53] = "externalInstallChunk";
63862
- RuntimeGlobals[RuntimeGlobals["interceptModuleExecution"] = 54] = "interceptModuleExecution";
63863
- RuntimeGlobals[RuntimeGlobals["global"] = 55] = "global";
63864
- RuntimeGlobals[RuntimeGlobals["shareScopeMap"] = 56] = "shareScopeMap";
63865
- RuntimeGlobals[RuntimeGlobals["initializeSharing"] = 57] = "initializeSharing";
63866
- RuntimeGlobals[RuntimeGlobals["currentRemoteGetScope"] = 58] = "currentRemoteGetScope";
63867
- RuntimeGlobals[RuntimeGlobals["getUpdateManifestFilename"] = 59] = "getUpdateManifestFilename";
63868
- RuntimeGlobals[RuntimeGlobals["hmrDownloadManifest"] = 60] = "hmrDownloadManifest";
63869
- RuntimeGlobals[RuntimeGlobals["hmrDownloadUpdateHandlers"] = 61] = "hmrDownloadUpdateHandlers";
63870
- RuntimeGlobals[RuntimeGlobals["hmrModuleData"] = 62] = "hmrModuleData";
63871
- RuntimeGlobals[RuntimeGlobals["hmrInvalidateModuleHandlers"] = 63] = "hmrInvalidateModuleHandlers";
63872
- RuntimeGlobals[RuntimeGlobals["hmrRuntimeStatePrefix"] = 64] = "hmrRuntimeStatePrefix";
63873
- RuntimeGlobals[RuntimeGlobals["amdDefine"] = 65] = "amdDefine";
63874
- RuntimeGlobals[RuntimeGlobals["amdOptions"] = 66] = "amdOptions";
63875
- RuntimeGlobals[RuntimeGlobals["system"] = 67] = "system";
63876
- RuntimeGlobals[RuntimeGlobals["hasOwnProperty"] = 68] = "hasOwnProperty";
63877
- RuntimeGlobals[RuntimeGlobals["systemContext"] = 69] = "systemContext";
63878
- RuntimeGlobals[RuntimeGlobals["baseURI"] = 70] = "baseURI";
63879
- RuntimeGlobals[RuntimeGlobals["relativeUrl"] = 71] = "relativeUrl";
63880
- RuntimeGlobals[RuntimeGlobals["asyncModule"] = 72] = "asyncModule";
63881
- RuntimeGlobals[RuntimeGlobals["asyncModuleExportSymbol"] = 73] = "asyncModuleExportSymbol";
63882
- RuntimeGlobals[RuntimeGlobals["makeDeferredNamespaceObject"] = 74] = "makeDeferredNamespaceObject";
63883
- RuntimeGlobals[RuntimeGlobals["makeDeferredNamespaceObjectSymbol"] = 75] = "makeDeferredNamespaceObjectSymbol";
63887
+ RuntimeGlobals[RuntimeGlobals["compileWasm"] = 29] = "compileWasm";
63888
+ RuntimeGlobals[RuntimeGlobals["uncaughtErrorHandler"] = 30] = "uncaughtErrorHandler";
63889
+ RuntimeGlobals[RuntimeGlobals["scriptNonce"] = 31] = "scriptNonce";
63890
+ RuntimeGlobals[RuntimeGlobals["loadScript"] = 32] = "loadScript";
63891
+ RuntimeGlobals[RuntimeGlobals["createScript"] = 33] = "createScript";
63892
+ RuntimeGlobals[RuntimeGlobals["createScriptUrl"] = 34] = "createScriptUrl";
63893
+ RuntimeGlobals[RuntimeGlobals["getTrustedTypesPolicy"] = 35] = "getTrustedTypesPolicy";
63894
+ RuntimeGlobals[RuntimeGlobals["hasFetchPriority"] = 36] = "hasFetchPriority";
63895
+ RuntimeGlobals[RuntimeGlobals["chunkName"] = 37] = "chunkName";
63896
+ RuntimeGlobals[RuntimeGlobals["runtimeId"] = 38] = "runtimeId";
63897
+ RuntimeGlobals[RuntimeGlobals["getChunkScriptFilename"] = 39] = "getChunkScriptFilename";
63898
+ RuntimeGlobals[RuntimeGlobals["getChunkCssFilename"] = 40] = "getChunkCssFilename";
63899
+ RuntimeGlobals[RuntimeGlobals["rspackVersion"] = 41] = "rspackVersion";
63900
+ RuntimeGlobals[RuntimeGlobals["hasCssModules"] = 42] = "hasCssModules";
63901
+ RuntimeGlobals[RuntimeGlobals["rspackUniqueId"] = 43] = "rspackUniqueId";
63902
+ RuntimeGlobals[RuntimeGlobals["getChunkUpdateScriptFilename"] = 44] = "getChunkUpdateScriptFilename";
63903
+ RuntimeGlobals[RuntimeGlobals["getChunkUpdateCssFilename"] = 45] = "getChunkUpdateCssFilename";
63904
+ RuntimeGlobals[RuntimeGlobals["startup"] = 46] = "startup";
63905
+ RuntimeGlobals[RuntimeGlobals["startupNoDefault"] = 47] = "startupNoDefault";
63906
+ RuntimeGlobals[RuntimeGlobals["startupOnlyAfter"] = 48] = "startupOnlyAfter";
63907
+ RuntimeGlobals[RuntimeGlobals["startupOnlyBefore"] = 49] = "startupOnlyBefore";
63908
+ RuntimeGlobals[RuntimeGlobals["chunkCallback"] = 50] = "chunkCallback";
63909
+ RuntimeGlobals[RuntimeGlobals["startupEntrypoint"] = 51] = "startupEntrypoint";
63910
+ RuntimeGlobals[RuntimeGlobals["startupChunkDependencies"] = 52] = "startupChunkDependencies";
63911
+ RuntimeGlobals[RuntimeGlobals["onChunksLoaded"] = 53] = "onChunksLoaded";
63912
+ RuntimeGlobals[RuntimeGlobals["externalInstallChunk"] = 54] = "externalInstallChunk";
63913
+ RuntimeGlobals[RuntimeGlobals["interceptModuleExecution"] = 55] = "interceptModuleExecution";
63914
+ RuntimeGlobals[RuntimeGlobals["global"] = 56] = "global";
63915
+ RuntimeGlobals[RuntimeGlobals["shareScopeMap"] = 57] = "shareScopeMap";
63916
+ RuntimeGlobals[RuntimeGlobals["initializeSharing"] = 58] = "initializeSharing";
63917
+ RuntimeGlobals[RuntimeGlobals["currentRemoteGetScope"] = 59] = "currentRemoteGetScope";
63918
+ RuntimeGlobals[RuntimeGlobals["getUpdateManifestFilename"] = 60] = "getUpdateManifestFilename";
63919
+ RuntimeGlobals[RuntimeGlobals["hmrDownloadManifest"] = 61] = "hmrDownloadManifest";
63920
+ RuntimeGlobals[RuntimeGlobals["hmrDownloadUpdateHandlers"] = 62] = "hmrDownloadUpdateHandlers";
63921
+ RuntimeGlobals[RuntimeGlobals["hmrModuleData"] = 63] = "hmrModuleData";
63922
+ RuntimeGlobals[RuntimeGlobals["hmrInvalidateModuleHandlers"] = 64] = "hmrInvalidateModuleHandlers";
63923
+ RuntimeGlobals[RuntimeGlobals["hmrRuntimeStatePrefix"] = 65] = "hmrRuntimeStatePrefix";
63924
+ RuntimeGlobals[RuntimeGlobals["amdDefine"] = 66] = "amdDefine";
63925
+ RuntimeGlobals[RuntimeGlobals["amdOptions"] = 67] = "amdOptions";
63926
+ RuntimeGlobals[RuntimeGlobals["system"] = 68] = "system";
63927
+ RuntimeGlobals[RuntimeGlobals["hasOwnProperty"] = 69] = "hasOwnProperty";
63928
+ RuntimeGlobals[RuntimeGlobals["systemContext"] = 70] = "systemContext";
63929
+ RuntimeGlobals[RuntimeGlobals["baseURI"] = 71] = "baseURI";
63930
+ RuntimeGlobals[RuntimeGlobals["relativeUrl"] = 72] = "relativeUrl";
63931
+ RuntimeGlobals[RuntimeGlobals["asyncModule"] = 73] = "asyncModule";
63932
+ RuntimeGlobals[RuntimeGlobals["asyncModuleExportSymbol"] = 74] = "asyncModuleExportSymbol";
63933
+ RuntimeGlobals[RuntimeGlobals["makeDeferredNamespaceObject"] = 75] = "makeDeferredNamespaceObject";
63934
+ RuntimeGlobals[RuntimeGlobals["makeDeferredNamespaceObjectSymbol"] = 76] = "makeDeferredNamespaceObjectSymbol";
63884
63935
  return RuntimeGlobals;
63885
63936
  }(RuntimeGlobals_RuntimeGlobals || {});
63886
63937
  const isReservedRuntimeGlobal = (r, compilerRuntimeGlobals)=>Object.values(compilerRuntimeGlobals).includes(r);
@@ -63963,98 +64014,100 @@ function renderRuntimeGlobals(runtimeGlobals, _compilerOptions) {
63963
64014
  case 28:
63964
64015
  return `${scope_name}.v`;
63965
64016
  case 29:
63966
- return `${scope_name}.oe`;
64017
+ return `${scope_name}.vs`;
63967
64018
  case 30:
63968
- return `${scope_name}.nc`;
64019
+ return `${scope_name}.oe`;
63969
64020
  case 31:
63970
- return `${scope_name}.l`;
64021
+ return `${scope_name}.nc`;
63971
64022
  case 32:
63972
- return `${scope_name}.ts`;
64023
+ return `${scope_name}.l`;
63973
64024
  case 33:
63974
- return `${scope_name}.tu`;
64025
+ return `${scope_name}.ts`;
63975
64026
  case 34:
63976
- return `${scope_name}.tt`;
64027
+ return `${scope_name}.tu`;
63977
64028
  case 35:
63978
- return "has fetch priority";
64029
+ return `${scope_name}.tt`;
63979
64030
  case 36:
63980
- return `${scope_name}.cn`;
64031
+ return "has fetch priority";
63981
64032
  case 37:
63982
- return `${scope_name}.j`;
64033
+ return `${scope_name}.cn`;
63983
64034
  case 38:
63984
- return `${scope_name}.u`;
64035
+ return `${scope_name}.j`;
63985
64036
  case 39:
63986
- return `${scope_name}.k`;
64037
+ return `${scope_name}.u`;
63987
64038
  case 40:
63988
- return `${scope_name}.rv`;
64039
+ return `${scope_name}.k`;
63989
64040
  case 41:
63990
- return "has css modules";
64041
+ return `${scope_name}.rv`;
63991
64042
  case 42:
63992
- return `${scope_name}.ruid`;
64043
+ return "has css modules";
63993
64044
  case 43:
63994
- return `${scope_name}.hu`;
64045
+ return `${scope_name}.ruid`;
63995
64046
  case 44:
63996
- return `${scope_name}.hk`;
64047
+ return `${scope_name}.hu`;
63997
64048
  case 45:
63998
- return `${scope_name}.x`;
64049
+ return `${scope_name}.hk`;
63999
64050
  case 46:
64000
- return `${scope_name}.x (no default handler)`;
64051
+ return `${scope_name}.x`;
64001
64052
  case 47:
64002
- return `${scope_name}.x (only after)`;
64053
+ return `${scope_name}.x (no default handler)`;
64003
64054
  case 48:
64004
- return `${scope_name}.x (only before)`;
64055
+ return `${scope_name}.x (only after)`;
64005
64056
  case 49:
64006
- return "global chunk callback";
64057
+ return `${scope_name}.x (only before)`;
64007
64058
  case 50:
64008
- return `${scope_name}.X`;
64059
+ return "global chunk callback";
64009
64060
  case 51:
64010
- return `${scope_name}.x (chunk dependencies)`;
64061
+ return `${scope_name}.X`;
64011
64062
  case 52:
64012
- return `${scope_name}.O`;
64063
+ return `${scope_name}.x (chunk dependencies)`;
64013
64064
  case 53:
64014
- return `${scope_name}.C`;
64065
+ return `${scope_name}.O`;
64015
64066
  case 54:
64016
- return `${scope_name}.i`;
64067
+ return `${scope_name}.C`;
64017
64068
  case 55:
64018
- return `${scope_name}.g`;
64069
+ return `${scope_name}.i`;
64019
64070
  case 56:
64020
- return `${scope_name}.S`;
64071
+ return `${scope_name}.g`;
64021
64072
  case 57:
64022
- return `${scope_name}.I`;
64073
+ return `${scope_name}.S`;
64023
64074
  case 58:
64024
- return `${scope_name}.R`;
64075
+ return `${scope_name}.I`;
64025
64076
  case 59:
64026
- return `${scope_name}.hmrF`;
64077
+ return `${scope_name}.R`;
64027
64078
  case 60:
64028
- return `${scope_name}.hmrM`;
64079
+ return `${scope_name}.hmrF`;
64029
64080
  case 61:
64030
- return `${scope_name}.hmrC`;
64081
+ return `${scope_name}.hmrM`;
64031
64082
  case 62:
64032
- return `${scope_name}.hmrD`;
64083
+ return `${scope_name}.hmrC`;
64033
64084
  case 63:
64034
- return `${scope_name}.hmrI`;
64085
+ return `${scope_name}.hmrD`;
64035
64086
  case 64:
64036
- return `${scope_name}.hmrS`;
64087
+ return `${scope_name}.hmrI`;
64037
64088
  case 65:
64038
- return `${scope_name}.amdD`;
64089
+ return `${scope_name}.hmrS`;
64039
64090
  case 66:
64040
- return `${scope_name}.amdO`;
64091
+ return `${scope_name}.amdD`;
64041
64092
  case 67:
64042
- return `${scope_name}.System`;
64093
+ return `${scope_name}.amdO`;
64043
64094
  case 68:
64044
- return `${scope_name}.o`;
64095
+ return `${scope_name}.System`;
64045
64096
  case 69:
64046
- return `${scope_name}.y`;
64097
+ return `${scope_name}.o`;
64047
64098
  case 70:
64048
- return `${scope_name}.b`;
64099
+ return `${scope_name}.y`;
64049
64100
  case 71:
64050
- return `${scope_name}.U`;
64101
+ return `${scope_name}.b`;
64051
64102
  case 72:
64052
- return `${scope_name}.a`;
64103
+ return `${scope_name}.U`;
64053
64104
  case 73:
64054
- return `${scope_name}.aE`;
64105
+ return `${scope_name}.a`;
64055
64106
  case 74:
64056
- return `${scope_name}.z`;
64107
+ return `${scope_name}.aE`;
64057
64108
  case 75:
64109
+ return `${scope_name}.z`;
64110
+ case 76:
64058
64111
  return `${scope_name}.zS`;
64059
64112
  default:
64060
64113
  return '';
@@ -64169,7 +64222,7 @@ const mkdirp = (fs, p, callback)=>{
64169
64222
  callback();
64170
64223
  });
64171
64224
  };
64172
- var FileSystem_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
64225
+ var FileSystem_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
64173
64226
  const BUFFER_SIZE = 1000;
64174
64227
  const ASYNC_NOOP = async ()=>{};
64175
64228
  const NOOP_FILESYSTEM = {
@@ -64856,7 +64909,7 @@ class MultiStats {
64856
64909
  return obj;
64857
64910
  });
64858
64911
  if (childOptions.version) {
64859
- obj.rspackVersion = "2.0.5";
64912
+ obj.rspackVersion = "2.0.7";
64860
64913
  obj.version = "5.75.0";
64861
64914
  }
64862
64915
  if (childOptions.hash) obj.hash = obj.children.map((j)=>j.hash).join('');
@@ -65733,7 +65786,7 @@ function nodeConsole({ colors, appendOnly, stream }) {
65733
65786
  }
65734
65787
  };
65735
65788
  }
65736
- const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.21.3/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
65789
+ const CachedInputFileSystem = __webpack_require__("../../node_modules/.pnpm/enhanced-resolve@5.22.1/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js");
65737
65790
  var CachedInputFileSystem_default = /*#__PURE__*/ __webpack_require__.n(CachedInputFileSystem);
65738
65791
  class NodeEnvironmentPlugin {
65739
65792
  options;
@@ -66562,7 +66615,7 @@ const SIMPLE_EXTRACTORS = {
66562
66615
  },
66563
66616
  version: (object)=>{
66564
66617
  object.version = "5.75.0";
66565
- object.rspackVersion = "2.0.5";
66618
+ object.rspackVersion = "2.0.7";
66566
66619
  },
66567
66620
  env: (object, _compilation, _context, { _env })=>{
66568
66621
  object.env = _env;
@@ -68231,8 +68284,11 @@ class RspackOptionsApply {
68231
68284
  }
68232
68285
  }
68233
68286
  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';
68287
+ const { context, target } = options;
68288
+ assertNotNill(context);
68289
+ if (null == target || false === target) return 'commonjs';
68290
+ const targetProperties = 'string' == typeof target ? getTargetProperties(target, context) : getTargetsProperties(target, context);
68291
+ return targetProperties.nodeBuiltins ? 'node-commonjs' : 'commonjs';
68236
68292
  }
68237
68293
  const validateConfig_ERROR_PREFIX = 'Invalid Rspack configuration:';
68238
68294
  const validateContext = ({ context })=>{
@@ -68456,7 +68512,7 @@ const createHtmlPluginHooksRegisters = (getCompiler, createTap)=>{
68456
68512
  })
68457
68513
  };
68458
68514
  };
68459
- var compilation_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
68515
+ var compilation_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
68460
68516
  class CodeGenerationResult {
68461
68517
  #inner;
68462
68518
  constructor(result){
@@ -68924,7 +68980,7 @@ const createContextModuleFactoryHooksRegisters = (getCompiler, createTap)=>({
68924
68980
  };
68925
68981
  })
68926
68982
  });
68927
- var javascriptModules_Buffer = __webpack_require__("./src/browser/buffer.ts")["h"];
68983
+ var javascriptModules_Buffer = __webpack_require__("./src/browser/buffer.ts").h;
68928
68984
  const createJavaScriptModulesHooksRegisters = (getCompiler, createTap)=>({
68929
68985
  registerJavascriptModulesChunkHashTaps: createTap(rspack_wasi_browser.RegisterJsTapKind.JavascriptModulesChunkHash, function() {
68930
68986
  return JavascriptModulesPlugin.getCompilationHooks(getCompiler().__internal__get_compilation()).chunkHash;
@@ -69064,6 +69120,10 @@ function isNodeWatchFileSystem(fs) {
69064
69120
  return 'watch' in fs;
69065
69121
  }
69066
69122
  var Watching_process = __webpack_require__("../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js");
69123
+ function foldWatchDelta(pending, added, removed) {
69124
+ for (const path of added)if (!pending.removed.delete(path)) pending.added.add(path);
69125
+ for (const path of removed)if (!pending.added.delete(path)) pending.removed.add(path);
69126
+ }
69067
69127
  class Watching {
69068
69128
  watcher;
69069
69129
  pausedWatcher;
@@ -69085,6 +69145,7 @@ class Watching {
69085
69145
  #closed;
69086
69146
  #collectedChangedFiles;
69087
69147
  #collectedRemovedFiles;
69148
+ #pendingWatchDeps;
69088
69149
  suspended;
69089
69150
  constructor(compiler, watchOptions, handler){
69090
69151
  this.callbacks = [];
@@ -69245,6 +69306,25 @@ class Watching {
69245
69306
  this.compiler.compile(onCompiled);
69246
69307
  });
69247
69308
  }
69309
+ #accumulateWatchDeps(compilation) {
69310
+ const pending = this.#pendingWatchDeps ??= {
69311
+ file: {
69312
+ added: new Set(),
69313
+ removed: new Set()
69314
+ },
69315
+ context: {
69316
+ added: new Set(),
69317
+ removed: new Set()
69318
+ },
69319
+ missing: {
69320
+ added: new Set(),
69321
+ removed: new Set()
69322
+ }
69323
+ };
69324
+ foldWatchDelta(pending.file, compilation.__internal__addedFileDependencies, compilation.__internal__removedFileDependencies);
69325
+ foldWatchDelta(pending.context, compilation.__internal__addedContextDependencies, compilation.__internal__removedContextDependencies);
69326
+ foldWatchDelta(pending.missing, compilation.__internal__addedMissingDependencies, compilation.__internal__removedMissingDependencies);
69327
+ }
69248
69328
  _done(error, compilation) {
69249
69329
  this.running = false;
69250
69330
  let stats;
@@ -69257,7 +69337,11 @@ class Watching {
69257
69337
  if (error) return handleError(error);
69258
69338
  if (!compilation) throw new Error('compilation is required if no error');
69259
69339
  stats = new Stats(compilation);
69260
- if (this.invalid && !this.suspended && !this.blocked && !(this.isBlocked() && (this.blocked = true))) return void this.#go();
69340
+ if (this.invalid && !this.suspended && !this.blocked && !(this.isBlocked() && (this.blocked = true))) {
69341
+ if (compilation) this.#accumulateWatchDeps(compilation);
69342
+ this.#go();
69343
+ return;
69344
+ }
69261
69345
  const startTime = this.startTime;
69262
69346
  this.startTime = void 0;
69263
69347
  compilation.startTime = startTime;
@@ -69269,21 +69353,24 @@ class Watching {
69269
69353
  this.handler(null, stats);
69270
69354
  Watching_process.nextTick(()=>{
69271
69355
  if (!this.#closed) {
69356
+ this.#accumulateWatchDeps(compilation);
69357
+ const pending = this.#pendingWatchDeps;
69358
+ this.#pendingWatchDeps = void 0;
69272
69359
  const fileDependencies = new Set([
69273
69360
  ...compilation.fileDependencies
69274
69361
  ]);
69275
- fileDependencies.added = new Set(compilation.__internal__addedFileDependencies);
69276
- fileDependencies.removed = new Set(compilation.__internal__removedFileDependencies);
69362
+ fileDependencies.added = pending.file.added;
69363
+ fileDependencies.removed = pending.file.removed;
69277
69364
  const contextDependencies = new Set([
69278
69365
  ...compilation.contextDependencies
69279
69366
  ]);
69280
- contextDependencies.added = new Set(compilation.__internal__addedContextDependencies);
69281
- contextDependencies.removed = new Set(compilation.__internal__removedContextDependencies);
69367
+ contextDependencies.added = pending.context.added;
69368
+ contextDependencies.removed = pending.context.removed;
69282
69369
  const missingDependencies = new Set([
69283
69370
  ...compilation.missingDependencies
69284
69371
  ]);
69285
- missingDependencies.added = new Set(compilation.__internal__addedMissingDependencies);
69286
- missingDependencies.removed = new Set(compilation.__internal__removedMissingDependencies);
69372
+ missingDependencies.added = pending.missing.added;
69373
+ missingDependencies.removed = pending.missing.removed;
69287
69374
  this.watch(fileDependencies, contextDependencies, missingDependencies);
69288
69375
  }
69289
69376
  });
@@ -69357,6 +69444,7 @@ class Compiler {
69357
69444
  #platform;
69358
69445
  #target;
69359
69446
  options;
69447
+ #rawOptions;
69360
69448
  unsafeFastDrop = false;
69361
69449
  __internal_browser_require;
69362
69450
  constructor(context, options){
@@ -69739,7 +69827,6 @@ class Compiler {
69739
69827
  });
69740
69828
  }
69741
69829
  close(callback) {
69742
- if (this.#compilation) this.#bindingCompilationMap.delete(this.#compilation.__internal_getInner());
69743
69830
  if (this.watching) return void this.watching.close(()=>{
69744
69831
  this.close(callback);
69745
69832
  });
@@ -69771,8 +69858,7 @@ class Compiler {
69771
69858
  }
69772
69859
  __internal__create_compilation(native) {
69773
69860
  let compilation = this.#bindingCompilationMap.get(native);
69774
- if (compilation) this.#bindingCompilationMap.delete(compilation.__internal_getInner());
69775
- else {
69861
+ if (!compilation) {
69776
69862
  compilation = new Compilation(this, native);
69777
69863
  compilation.name = this.name;
69778
69864
  this.#bindingCompilationMap.set(native, compilation);
@@ -69806,14 +69892,14 @@ class Compiler {
69806
69892
  if (error) return callback(error);
69807
69893
  if (this.#instance) return callback(null, this.#instance);
69808
69894
  const { options } = this;
69809
- const rawOptions = getRawOptions(options, this);
69810
- rawOptions.__references = Object.fromEntries(this.#ruleSet.builtinReferences.entries());
69811
- rawOptions.__virtual_files = VirtualModulesPlugin.__internal__take_virtual_files(this);
69812
- const instanceBinding = __webpack_require__("@rspack/binding?d2c4");
69895
+ this.#rawOptions = getRawOptions(options, this);
69896
+ this.#rawOptions.__references = Object.fromEntries(this.#ruleSet.builtinReferences.entries());
69897
+ this.#rawOptions.__virtual_files = VirtualModulesPlugin.__internal__take_virtual_files(this);
69898
+ const instanceBinding = __webpack_require__("@rspack/binding?637b");
69813
69899
  this.#registers = this.#createHooksRegisters();
69814
69900
  const inputFileSystem = this.inputFileSystem && ThreadsafeInputNodeFS.needsBinding(options.experiments.useInputFileSystem) ? ThreadsafeInputNodeFS.__to_binding(this.inputFileSystem) : void 0;
69815
69901
  try {
69816
- this.#instance = new instanceBinding.JsCompiler(this.compilerPath, rawOptions, this.#builtinPlugins, this.#registers, ThreadsafeOutputNodeFS.__to_binding(this.outputFileSystem), this.intermediateFileSystem ? ThreadsafeIntermediateNodeFS.__to_binding(this.intermediateFileSystem) : void 0, inputFileSystem, ResolverFactory.__to_binding(this.resolverFactory), this.unsafeFastDrop, this.#platform);
69902
+ this.#instance = new instanceBinding.JsCompiler(this.compilerPath, this.#rawOptions, this.#builtinPlugins, this.#registers, ThreadsafeOutputNodeFS.__to_binding(this.outputFileSystem), this.intermediateFileSystem ? ThreadsafeIntermediateNodeFS.__to_binding(this.intermediateFileSystem) : void 0, inputFileSystem, ResolverFactory.__to_binding(this.resolverFactory), this.unsafeFastDrop, this.#platform);
69817
69903
  callback(null, this.#instance);
69818
69904
  } catch (err) {
69819
69905
  if (err instanceof Error) delete err.stack;
@@ -70628,6 +70714,7 @@ class ModuleFederationManifestPlugin extends RspackBuiltinPlugin {
70628
70714
  }
70629
70715
  }
70630
70716
  const SHARE_ENTRY_ASSET = 'collect-shared-entries.json';
70717
+ const READ_COLLECTED_SHARED_ENTRY_STAGE = 101;
70631
70718
  class CollectSharedEntryPlugin extends RspackBuiltinPlugin {
70632
70719
  name = external_rspack_wasi_browser_js_BuiltinPluginName.CollectSharedEntryPlugin;
70633
70720
  sharedOptions;
@@ -70646,17 +70733,16 @@ class CollectSharedEntryPlugin extends RspackBuiltinPlugin {
70646
70733
  }
70647
70734
  apply(compiler) {
70648
70735
  super.apply(compiler);
70649
- compiler.hooks.thisCompilation.tap('Collect shared entry', (compilation)=>{
70650
- compilation.hooks.processAssets.tap({
70651
- name: 'CollectSharedEntry',
70652
- stage: compiler.rspack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE
70653
- }, ()=>{
70654
- compilation.getAssets().forEach((asset)=>{
70655
- if (asset.name === SHARE_ENTRY_ASSET) this._collectedEntries = JSON.parse(asset.source.source().toString());
70656
- compilation.deleteAsset(asset.name);
70657
- });
70658
- });
70659
- });
70736
+ const readCollectedEntries = (compilation)=>{
70737
+ const asset = compilation.getAsset(SHARE_ENTRY_ASSET);
70738
+ if (!asset) return;
70739
+ this._collectedEntries = JSON.parse(asset.source.source().toString());
70740
+ compilation.deleteAsset(asset.name);
70741
+ };
70742
+ compiler.hooks.finishMake.tap({
70743
+ name: 'CollectSharedEntry',
70744
+ stage: READ_COLLECTED_SHARED_ENTRY_STAGE
70745
+ }, readCollectedEntries);
70660
70746
  }
70661
70747
  raw() {
70662
70748
  const consumeShareOptions = createConsumeShareOptions(this.sharedOptions);
@@ -70765,6 +70851,7 @@ class SharedUsedExportsOptimizerPlugin extends RspackBuiltinPlugin {
70765
70851
  }
70766
70852
  const VIRTUAL_ENTRY = './virtual-entry.js';
70767
70853
  const VIRTUAL_ENTRY_NAME = 'virtual-entry';
70854
+ const BUILD_SHARED_FALLBACK_STAGE = 102;
70768
70855
  const filterPlugin = (plugin, excludedPlugins = [])=>{
70769
70856
  if (!plugin) return true;
70770
70857
  const pluginName = plugin.name || plugin.constructor?.name;
@@ -70823,6 +70910,13 @@ class VirtualEntryPlugin {
70823
70910
  }
70824
70911
  }
70825
70912
  const resolveOutputDir = (outputDir, shareName)=>shareName ? (0, path_browserify.join)(outputDir, encodeName(shareName)) : outputDir;
70913
+ const getShareRequests = (shareRequestsMap, shareName)=>Array.from(new Map((shareRequestsMap[shareName]?.requests || []).map(([request, version])=>[
70914
+ version,
70915
+ [
70916
+ request,
70917
+ version
70918
+ ]
70919
+ ])).values());
70826
70920
  class IndependentSharedPlugin {
70827
70921
  mfName;
70828
70922
  shared;
@@ -70835,9 +70929,10 @@ class IndependentSharedPlugin {
70835
70929
  buildAssets = {};
70836
70930
  injectTreeShakingUsedExports;
70837
70931
  treeShakingSharedExcludePlugins;
70932
+ onBuildAssets;
70838
70933
  name = 'IndependentSharedPlugin';
70839
70934
  constructor(options){
70840
- const { outputDir, plugins, treeShaking, shared, name, manifest, injectTreeShakingUsedExports, library, treeShakingSharedExcludePlugins } = options;
70935
+ const { outputDir, plugins, treeShaking, shared, name, manifest, injectTreeShakingUsedExports, library, treeShakingSharedExcludePlugins, onBuildAssets } = options;
70841
70936
  this.shared = shared;
70842
70937
  this.mfName = name;
70843
70938
  this.outputDir = outputDir || 'independent-packages';
@@ -70847,6 +70942,7 @@ class IndependentSharedPlugin {
70847
70942
  this.injectTreeShakingUsedExports = injectTreeShakingUsedExports ?? true;
70848
70943
  this.library = library;
70849
70944
  this.treeShakingSharedExcludePlugins = treeShakingSharedExcludePlugins || [];
70945
+ this.onBuildAssets = onBuildAssets;
70850
70946
  this.sharedOptions = parseOptions(shared, (item, key)=>{
70851
70947
  if ('string' != typeof item) throw new Error(`Unexpected array in shared configuration for key "${key}"`);
70852
70948
  const config = item !== key && isRequiredVersion(item) ? {
@@ -70860,16 +70956,19 @@ class IndependentSharedPlugin {
70860
70956
  }
70861
70957
  apply(compiler) {
70862
70958
  const { manifest } = this;
70863
- let runCount = 0;
70864
- compiler.hooks.beforeRun.tapPromise('IndependentSharedPlugin', async ()=>{
70865
- if (runCount) return;
70866
- await this.createIndependentCompilers(compiler);
70867
- runCount++;
70959
+ const collectSharedEntryPlugin = new CollectSharedEntryPlugin({
70960
+ sharedOptions: this.sharedOptions,
70961
+ shareScope: 'default'
70868
70962
  });
70869
- compiler.hooks.watchRun.tapPromise('IndependentSharedPlugin', async ()=>{
70870
- if (runCount) return;
70871
- await this.createIndependentCompilers(compiler);
70872
- runCount++;
70963
+ collectSharedEntryPlugin.apply(compiler);
70964
+ compiler.hooks.finishMake.tapPromise({
70965
+ name: 'IndependentSharedPlugin',
70966
+ stage: BUILD_SHARED_FALLBACK_STAGE
70967
+ }, async ()=>{
70968
+ const shareRequestsMap = collectSharedEntryPlugin.getData();
70969
+ this.prepareBuildAssets(shareRequestsMap);
70970
+ await this.createIndependentCompilers(compiler, shareRequestsMap);
70971
+ this.onBuildAssets?.(this.buildAssets);
70873
70972
  });
70874
70973
  if (manifest) compiler.hooks.compilation.tap('IndependentSharedPlugin', (compilation)=>{
70875
70974
  compilation.hooks.processAssets.tap({
@@ -70899,16 +70998,44 @@ class IndependentSharedPlugin {
70899
70998
  });
70900
70999
  });
70901
71000
  }
70902
- async createIndependentCompilers(parentCompiler) {
70903
- const { sharedOptions, buildAssets, outputDir } = this;
71001
+ prepareBuildAssets(shareRequestsMap) {
71002
+ const { sharedOptions, outputDir, mfName, treeShaking, library } = this;
71003
+ const buildAssets = {};
71004
+ sharedOptions.forEach(([shareName, shareConfig])=>{
71005
+ if (!shareConfig.treeShaking || false === shareConfig.import) return;
71006
+ const sharedConfig = sharedOptions.find(([name])=>name === shareName)?.[1];
71007
+ const shareRequests = getShareRequests(shareRequestsMap, shareName);
71008
+ shareRequests.forEach(([request, version])=>{
71009
+ const sharedContainerPlugin = new SharedContainerPlugin({
71010
+ mfName: `${mfName}_${treeShaking ? 't' : 'f'}`,
71011
+ library,
71012
+ shareName,
71013
+ version,
71014
+ request,
71015
+ independentShareFileName: sharedConfig?.treeShaking?.filename
71016
+ });
71017
+ const [shareFileName, globalName, sharedVersion] = sharedContainerPlugin.getData();
71018
+ if ('string' == typeof shareFileName) {
71019
+ buildAssets[shareName] ||= [];
71020
+ buildAssets[shareName].push([
71021
+ (0, path_browserify.join)(resolveOutputDir(outputDir, shareName), shareFileName),
71022
+ sharedVersion,
71023
+ globalName
71024
+ ]);
71025
+ }
71026
+ });
71027
+ });
71028
+ this.buildAssets = buildAssets;
71029
+ }
71030
+ async createIndependentCompilers(parentCompiler, shareRequestsMap) {
71031
+ const { sharedOptions } = this;
70904
71032
  console.log('Start building shared fallback resources ...');
70905
- const shareRequestsMap = await this.createIndependentCompiler(parentCompiler);
70906
71033
  await Promise.all(sharedOptions.map(async ([shareName, shareConfig])=>{
70907
71034
  if (!shareConfig.treeShaking || false === shareConfig.import) return;
70908
- const shareRequests = shareRequestsMap[shareName].requests;
71035
+ const shareRequests = getShareRequests(shareRequestsMap, shareName);
70909
71036
  await Promise.all(shareRequests.map(async ([request, version])=>{
70910
71037
  const sharedConfig = sharedOptions.find(([name])=>name === shareName)?.[1];
70911
- const [shareFileName, globalName, sharedVersion] = await this.createIndependentCompiler(parentCompiler, {
71038
+ await this.createIndependentCompiler(parentCompiler, {
70912
71039
  shareRequestsMap,
70913
71040
  currentShare: {
70914
71041
  shareName,
@@ -70917,32 +71044,20 @@ class IndependentSharedPlugin {
70917
71044
  independentShareFileName: sharedConfig?.treeShaking?.filename
70918
71045
  }
70919
71046
  });
70920
- if ('string' == typeof shareFileName) {
70921
- buildAssets[shareName] ||= [];
70922
- buildAssets[shareName].push([
70923
- (0, path_browserify.join)(resolveOutputDir(outputDir, shareName), shareFileName),
70924
- sharedVersion,
70925
- globalName
70926
- ]);
70927
- }
70928
71047
  }));
70929
71048
  }));
70930
71049
  console.log('All shared fallback have been compiled successfully!');
70931
71050
  }
70932
71051
  async createIndependentCompiler(parentCompiler, extraOptions) {
70933
71052
  const { mfName, plugins, outputDir, sharedOptions, treeShaking, library, treeShakingSharedExcludePlugins } = this;
70934
- const outputDirWithShareName = resolveOutputDir(outputDir, extraOptions?.currentShare?.shareName || '');
71053
+ const outputDirWithShareName = resolveOutputDir(outputDir, extraOptions.currentShare.shareName);
70935
71054
  const parentConfig = parentCompiler.options;
70936
71055
  const finalPlugins = [];
70937
71056
  const rspack = parentCompiler.rspack;
70938
- let extraPlugin;
70939
- extraPlugin = extraOptions ? new SharedContainerPlugin({
71057
+ const extraPlugin = new SharedContainerPlugin({
70940
71058
  mfName: `${mfName}_${treeShaking ? 't' : 'f'}`,
70941
71059
  library,
70942
71060
  ...extraOptions.currentShare
70943
- }) : new CollectSharedEntryPlugin({
70944
- sharedOptions,
70945
- shareScope: 'default'
70946
71061
  });
70947
71062
  (parentConfig.plugins || []).forEach((plugin)=>{
70948
71063
  if (void 0 !== plugin && 'string' != typeof plugin && filterPlugin(plugin, treeShakingSharedExcludePlugins)) finalPlugins.push(plugin);
@@ -70952,9 +71067,9 @@ class IndependentSharedPlugin {
70952
71067
  });
70953
71068
  finalPlugins.push(extraPlugin);
70954
71069
  finalPlugins.push(new ConsumeSharedPlugin({
70955
- consumes: sharedOptions.filter(([key, options])=>extraOptions?.currentShare.shareName !== (options.shareKey || key)).map(([key, options])=>({
71070
+ consumes: sharedOptions.filter(([key, options])=>extraOptions.currentShare.shareName !== (options.shareKey || key)).map(([key, options])=>({
70956
71071
  [key]: {
70957
- import: extraOptions ? false : options.import,
71072
+ import: false,
70958
71073
  shareKey: options.shareKey || key,
70959
71074
  shareScope: options.shareScope,
70960
71075
  requiredVersion: options.requiredVersion,
@@ -70967,10 +71082,11 @@ class IndependentSharedPlugin {
70967
71082
  enhanced: true
70968
71083
  }));
70969
71084
  if (treeShaking) finalPlugins.push(new SharedUsedExportsOptimizerPlugin(sharedOptions, this.injectTreeShakingUsedExports));
70970
- finalPlugins.push(new VirtualEntryPlugin(sharedOptions, !extraOptions));
71085
+ finalPlugins.push(new VirtualEntryPlugin(sharedOptions, false));
70971
71086
  const fullOutputDir = (0, path_browserify.resolve)(parentCompiler.outputPath, outputDirWithShareName);
70972
71087
  const compilerConfig = {
70973
71088
  ...parentConfig,
71089
+ name: parentConfig.name || 'mf-shared-compiler',
70974
71090
  module: {
70975
71091
  ...parentConfig.module,
70976
71092
  rules: [
@@ -70991,7 +71107,7 @@ class IndependentSharedPlugin {
70991
71107
  entry: VirtualEntryPlugin.entry,
70992
71108
  output: {
70993
71109
  path: fullOutputDir,
70994
- clean: true,
71110
+ clean: false,
70995
71111
  publicPath: parentConfig.output?.publicPath || 'auto'
70996
71112
  },
70997
71113
  plugins: finalPlugins,
@@ -71004,16 +71120,15 @@ class IndependentSharedPlugin {
71004
71120
  compiler.inputFileSystem = parentCompiler.inputFileSystem;
71005
71121
  compiler.outputFileSystem = parentCompiler.outputFileSystem;
71006
71122
  compiler.intermediateFileSystem = parentCompiler.intermediateFileSystem;
71007
- const { currentShare } = extraOptions || {};
71123
+ const { currentShare } = extraOptions;
71008
71124
  return new Promise((resolve, reject)=>{
71009
71125
  compiler.run((err, stats)=>{
71010
71126
  if (err || stats?.hasErrors()) {
71011
- const target = currentShare ? currentShare.shareName : 'Collect deps';
71012
- console.error(`${target} Compile failed:`, err || stats.toJson().errors.map((e)=>e.message).join('\n'));
71013
- reject(err || new Error(`${target} Compile failed`));
71127
+ console.error(`${currentShare.shareName} Compile failed:`, err || stats.toJson().errors.map((e)=>e.message).join('\n'));
71128
+ reject(err || new Error(`${currentShare.shareName} Compile failed`));
71014
71129
  return;
71015
71130
  }
71016
- if (currentShare) console.log(`${currentShare.shareName} Compile success`);
71131
+ console.log(`${currentShare.shareName} Compile success`);
71017
71132
  resolve(extraPlugin.getData());
71018
71133
  });
71019
71134
  });
@@ -71023,13 +71138,15 @@ class TreeShakingSharedPlugin {
71023
71138
  mfConfig;
71024
71139
  outputDir;
71025
71140
  secondary;
71141
+ onBuildAssets;
71026
71142
  _independentSharePlugin;
71027
71143
  name = 'TreeShakingSharedPlugin';
71028
71144
  constructor(options){
71029
- const { mfConfig, secondary } = options;
71145
+ const { mfConfig, secondary, onBuildAssets } = options;
71030
71146
  this.mfConfig = mfConfig;
71031
71147
  this.outputDir = mfConfig.treeShakingSharedDir || 'independent-packages';
71032
71148
  this.secondary = Boolean(secondary);
71149
+ this.onBuildAssets = onBuildAssets;
71033
71150
  }
71034
71151
  apply(compiler) {
71035
71152
  const { mfConfig, outputDir, secondary } = this;
@@ -71050,7 +71167,8 @@ class TreeShakingSharedPlugin {
71050
71167
  treeShaking: secondary,
71051
71168
  library,
71052
71169
  manifest: mfConfig.manifest,
71053
- treeShakingSharedExcludePlugins: mfConfig.treeShakingSharedExcludePlugins
71170
+ treeShakingSharedExcludePlugins: mfConfig.treeShakingSharedExcludePlugins,
71171
+ onBuildAssets: this.onBuildAssets
71054
71172
  });
71055
71173
  this._independentSharePlugin.apply(compiler);
71056
71174
  }
@@ -71060,6 +71178,7 @@ class TreeShakingSharedPlugin {
71060
71178
  }
71061
71179
  }
71062
71180
  const ModuleFederationRuntimePlugin = base_create(external_rspack_wasi_browser_js_BuiltinPluginName.ModuleFederationRuntimePlugin, (options = {})=>options);
71181
+ const MF_RUNTIME_LOADER = '@module-federation/runtime/rspack.js';
71063
71182
  class ModuleFederationPlugin {
71064
71183
  _options;
71065
71184
  _treeShakingSharedPlugin;
@@ -71076,10 +71195,20 @@ class ModuleFederationPlugin {
71076
71195
  };
71077
71196
  const sharedOptions = getSharedOptions(this._options);
71078
71197
  const treeShakingEntries = sharedOptions.filter(([, config])=>config.treeShaking);
71198
+ const runtimeVirtualPath = treeShakingEntries.length > 0 ? getRuntimeVirtualPath(this._options, compiler) : void 0;
71199
+ const runtimeVirtualPlugin = runtimeVirtualPath ? new rspack.experiments.VirtualModulesPlugin({
71200
+ [runtimeVirtualPath]: getDefaultEntryRuntimeSource(paths, this._options, compiler)
71201
+ }) : void 0;
71202
+ runtimeVirtualPlugin?.apply(compiler);
71203
+ const updateRuntimeShareFallbacks = (buildAssets)=>{
71204
+ if (!runtimeVirtualPath || !runtimeVirtualPlugin) return;
71205
+ runtimeVirtualPlugin.writeModule(runtimeVirtualPath, getDefaultEntryRuntimeSource(paths, this._options, compiler, buildAssets));
71206
+ };
71079
71207
  if (treeShakingEntries.length > 0) {
71080
71208
  this._treeShakingSharedPlugin = new TreeShakingSharedPlugin({
71081
71209
  mfConfig: this._options,
71082
- secondary: false
71210
+ secondary: false,
71211
+ onBuildAssets: updateRuntimeShareFallbacks
71083
71212
  });
71084
71213
  this._treeShakingSharedPlugin.apply(compiler);
71085
71214
  }
@@ -71094,7 +71223,7 @@ class ModuleFederationPlugin {
71094
71223
  }, ()=>{
71095
71224
  if (runtimePluginApplied) return;
71096
71225
  runtimePluginApplied = true;
71097
- const entryRuntime = getDefaultEntryRuntime(paths, this._options, compiler, this._treeShakingSharedPlugin?.buildAssets);
71226
+ const entryRuntime = runtimeVirtualPath ? getDefaultEntryRuntimeRequest(runtimeVirtualPath) : getDefaultEntryRuntime(paths, this._options, compiler);
71098
71227
  new ModuleFederationRuntimePlugin({
71099
71228
  entryRuntime,
71100
71229
  experiments: runtimeExperiments
@@ -71106,7 +71235,7 @@ class ModuleFederationPlugin {
71106
71235
  }, ()=>{
71107
71236
  if (runtimePluginApplied) return;
71108
71237
  runtimePluginApplied = true;
71109
- const entryRuntime = getDefaultEntryRuntime(paths, this._options, compiler, this._treeShakingSharedPlugin?.buildAssets || {});
71238
+ const entryRuntime = runtimeVirtualPath ? getDefaultEntryRuntimeRequest(runtimeVirtualPath) : getDefaultEntryRuntime(paths, this._options, compiler);
71110
71239
  new ModuleFederationRuntimePlugin({
71111
71240
  entryRuntime,
71112
71241
  experiments: runtimeExperiments
@@ -71213,12 +71342,20 @@ function getPaths(options, compiler) {
71213
71342
  runtime: '@module-federation/runtime'
71214
71343
  };
71215
71344
  }
71216
- function getDefaultEntryRuntime(paths, options, compiler, treeShakingShareFallbacks) {
71345
+ function getRuntimeVirtualPath(options, compiler) {
71346
+ const name = String(options.name ?? compiler.options.output.uniqueName ?? 'default').replace(/[^\w.-]/g, '_');
71347
+ return (0, path_browserify.resolve)(compiler.context, `node_modules/.rspack-mf-runtime/${name}.js`);
71348
+ }
71349
+ function getDefaultEntryRuntimeRequest(resource) {
71350
+ return `${MF_RUNTIME_LOADER}!=!${resource}`;
71351
+ }
71352
+ function getDefaultEntryRuntimeSource(paths, options, compiler, treeShakingShareFallbacks) {
71217
71353
  const runtimePlugins = getRuntimePlugins(options);
71218
71354
  const remoteInfos = getRemoteInfos(options);
71219
71355
  const runtimePluginImports = [];
71220
71356
  const runtimePluginVars = [];
71221
71357
  const libraryType = options.library?.type || 'var';
71358
+ const shouldInitializePublicPath = getSharedOptions(options).some(([, config])=>config.treeShaking);
71222
71359
  for(let i = 0; i < runtimePlugins.length; i++){
71223
71360
  const runtimePluginVar = `__module_federation_runtime_plugin_${i}__`;
71224
71361
  const pluginSpec = runtimePlugins[i];
@@ -71231,6 +71368,7 @@ function getDefaultEntryRuntime(paths, options, compiler, treeShakingShareFallba
71231
71368
  const content = [
71232
71369
  `import __module_federation_bundler_runtime__ from ${JSON.stringify(paths.bundlerRuntime)}`,
71233
71370
  ...runtimePluginImports,
71371
+ shouldInitializePublicPath ? getPublicPathRuntimeSource(compiler) : void 0,
71234
71372
  `const __module_federation_runtime_plugins__ = [${runtimePluginVars.join(', ')}].filter(({ plugin }) => plugin).map(({ plugin, params }) => plugin(params))`,
71235
71373
  `const __module_federation_remote_infos__ = ${JSON.stringify(remoteInfos)}`,
71236
71374
  `const __module_federation_container_name__ = ${JSON.stringify(options.name ?? compiler.options.output.uniqueName)}`,
@@ -71239,7 +71377,15 @@ function getDefaultEntryRuntime(paths, options, compiler, treeShakingShareFallba
71239
71377
  `const __module_federation_library_type__ = ${JSON.stringify(libraryType)}`,
71240
71378
  'if((__webpack_require__.initializeSharingData||__webpack_require__.initializeExposesData)&&__webpack_require__.federation){var _ref,_ref1,_ref2,_ref3,_ref4;var __webpack_require___remotesLoadingData,__webpack_require___remotesLoadingData1,__webpack_require___initializeSharingData,__webpack_require___consumesLoadingData,__webpack_require___consumesLoadingData1,__webpack_require___initializeExposesData,__webpack_require___consumesLoadingData2;const override=(obj,key,value)=>{if(!obj)return;if(obj[key])obj[key]=value};const merge=(obj,key,fn)=>{const value=fn();if(Array.isArray(value)){var _obj,_key,_;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=[];obj[key].push(...value)}else if(typeof value==="object"&&value!==null){var _obj1,_key1,_1;(_1=(_obj1=obj)[_key1=key])!==null&&_1!==void 0?_1:_obj1[_key1]={};Object.assign(obj[key],value)}};const early=(obj,key,initial)=>{var _obj,_key,_;(_=(_obj=obj)[_key=key])!==null&&_!==void 0?_:_obj[_key]=initial()};const remotesLoadingChunkMapping=(_ref=(__webpack_require___remotesLoadingData=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData===void 0?void 0:__webpack_require___remotesLoadingData.chunkMapping)!==null&&_ref!==void 0?_ref:{};const remotesLoadingModuleIdToRemoteDataMapping=(_ref1=(__webpack_require___remotesLoadingData1=__webpack_require__.remotesLoadingData)===null||__webpack_require___remotesLoadingData1===void 0?void 0:__webpack_require___remotesLoadingData1.moduleIdToRemoteDataMapping)!==null&&_ref1!==void 0?_ref1:{};const initializeSharingScopeToInitDataMapping=(_ref2=(__webpack_require___initializeSharingData=__webpack_require__.initializeSharingData)===null||__webpack_require___initializeSharingData===void 0?void 0:__webpack_require___initializeSharingData.scopeToSharingDataMapping)!==null&&_ref2!==void 0?_ref2:{};const consumesLoadingChunkMapping=(_ref3=(__webpack_require___consumesLoadingData=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData===void 0?void 0:__webpack_require___consumesLoadingData.chunkMapping)!==null&&_ref3!==void 0?_ref3:{};const consumesLoadingModuleToConsumeDataMapping=(_ref4=(__webpack_require___consumesLoadingData1=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData1===void 0?void 0:__webpack_require___consumesLoadingData1.moduleIdToConsumeDataMapping)!==null&&_ref4!==void 0?_ref4:{};const consumesLoadinginstalledModules={};const initializeSharingInitPromises=[];const initializeSharingInitTokens={};const containerShareScope=(__webpack_require___initializeExposesData=__webpack_require__.initializeExposesData)===null||__webpack_require___initializeExposesData===void 0?void 0:__webpack_require___initializeExposesData.shareScope;for(const key in __module_federation_bundler_runtime__){__webpack_require__.federation[key]=__module_federation_bundler_runtime__[key]}early(__webpack_require__.federation,"libraryType",()=>__module_federation_library_type__);early(__webpack_require__.federation,"sharedFallback",()=>__module_federation_share_fallbacks__);const sharedFallback=__webpack_require__.federation.sharedFallback;early(__webpack_require__.federation,"consumesLoadingModuleToHandlerMapping",()=>{const consumesLoadingModuleToHandlerMapping={};for(let[moduleId,data]of Object.entries(consumesLoadingModuleToConsumeDataMapping)){var __webpack_require___federation_bundlerRuntime;consumesLoadingModuleToHandlerMapping[moduleId]={getter:sharedFallback?(__webpack_require___federation_bundlerRuntime=__webpack_require__.federation.bundlerRuntime)===null||__webpack_require___federation_bundlerRuntime===void 0?void 0:__webpack_require___federation_bundlerRuntime.getSharedFallbackGetter({shareKey:data.shareKey,factory:data.fallback,webpackRequire:__webpack_require__,libraryType:__webpack_require__.federation.libraryType}):data.fallback,treeShakingGetter:sharedFallback?data.fallback:undefined,shareInfo:{shareConfig:{fixedDependencies:false,requiredVersion:data.requiredVersion,strictVersion:data.strictVersion,singleton:data.singleton,eager:data.eager},scope:[data.shareScope]},shareKey:data.shareKey,treeShaking:__webpack_require__.federation.sharedFallback?{get:data.fallback,mode:data.treeShakingMode}:undefined}}return consumesLoadingModuleToHandlerMapping});early(__webpack_require__.federation,"initOptions",()=>({}));early(__webpack_require__.federation.initOptions,"name",()=>__module_federation_container_name__);early(__webpack_require__.federation.initOptions,"shareStrategy",()=>__module_federation_share_strategy__);early(__webpack_require__.federation.initOptions,"shared",()=>{const shared={};for(let[scope,stages]of Object.entries(initializeSharingScopeToInitDataMapping)){for(let stage of stages){if(typeof stage==="object"&&stage!==null){const{name,version,factory,eager,singleton,requiredVersion,strictVersion,treeShakingMode}=stage;const shareConfig={};const isValidValue=function(val){return typeof val!=="undefined"};if(isValidValue(singleton)){shareConfig.singleton=singleton}if(isValidValue(requiredVersion)){shareConfig.requiredVersion=requiredVersion}if(isValidValue(eager)){shareConfig.eager=eager}if(isValidValue(strictVersion)){shareConfig.strictVersion=strictVersion}const options={version,scope:[scope],shareConfig,get:factory,treeShaking:treeShakingMode?{mode:treeShakingMode}:undefined};if(shared[name]){shared[name].push(options)}else{shared[name]=[options]}}}}return shared});merge(__webpack_require__.federation.initOptions,"remotes",()=>Object.values(__module_federation_remote_infos__).flat().filter(remote=>remote.externalType==="script"));merge(__webpack_require__.federation.initOptions,"plugins",()=>__module_federation_runtime_plugins__);early(__webpack_require__.federation,"bundlerRuntimeOptions",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions,"remotes",()=>({}));early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>remotesLoadingChunkMapping);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>__module_federation_remote_infos__);early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{const remotesLoadingIdToExternalAndNameMappingMapping={};for(let[moduleId,data]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){remotesLoadingIdToExternalAndNameMappingMapping[moduleId]=[data.shareScope,data.name,data.externalModuleId,data.remoteName]}return remotesLoadingIdToExternalAndNameMappingMapping});early(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>__webpack_require__);merge(__webpack_require__.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{const idToRemoteMap={};for(let[id,remoteData]of Object.entries(remotesLoadingModuleIdToRemoteDataMapping)){const info=__module_federation_remote_infos__[remoteData.remoteName];if(info)idToRemoteMap[id]=info}return idToRemoteMap});override(__webpack_require__,"S",__webpack_require__.federation.bundlerRuntime.S);if(__webpack_require__.federation.attachShareScopeMap){__webpack_require__.federation.attachShareScopeMap(__webpack_require__)}override(__webpack_require__.f,"remotes",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.remotes({chunkId,promises,chunkMapping:remotesLoadingChunkMapping,idToExternalAndNameMapping:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:__webpack_require__.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:__webpack_require__}));override(__webpack_require__.f,"consumes",(chunkId,promises)=>__webpack_require__.federation.bundlerRuntime.consumes({chunkId,promises,chunkMapping:consumesLoadingChunkMapping,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping,installedModules:consumesLoadinginstalledModules,webpackRequire:__webpack_require__}));override(__webpack_require__,"I",(name,initScope)=>__webpack_require__.federation.bundlerRuntime.I({shareScopeName:name,initScope,initPromises:initializeSharingInitPromises,initTokens:initializeSharingInitTokens,webpackRequire:__webpack_require__}));override(__webpack_require__,"initContainer",(shareScope,initScope,remoteEntryInitOptions)=>__webpack_require__.federation.bundlerRuntime.initContainerEntry({shareScope,initScope,remoteEntryInitOptions,shareScopeKey:containerShareScope,webpackRequire:__webpack_require__}));override(__webpack_require__,"getContainer",(module,getScope)=>{var moduleMap=__webpack_require__.initializeExposesData.moduleMap;__webpack_require__.R=getScope;getScope=Object.prototype.hasOwnProperty.call(moduleMap,module)?moduleMap[module]():Promise.resolve().then(()=>{throw new Error(\'Module "\'+module+\'" does not exist in container.\')});__webpack_require__.R=undefined;return getScope});__webpack_require__.federation.instance=__webpack_require__.federation.bundlerRuntime.init({webpackRequire:__webpack_require__});if((__webpack_require___consumesLoadingData2=__webpack_require__.consumesLoadingData)===null||__webpack_require___consumesLoadingData2===void 0?void 0:__webpack_require___consumesLoadingData2.initialConsumes){__webpack_require__.federation.bundlerRuntime.installInitialConsumes({webpackRequire:__webpack_require__,installedModules:consumesLoadinginstalledModules,initialConsumes:__webpack_require__.consumesLoadingData.initialConsumes,moduleToHandlerMapping:__webpack_require__.federation.consumesLoadingModuleToHandlerMapping})}}'
71241
71379
  ].join(';');
71242
- return `@module-federation/runtime/rspack.js!=!data:text/javascript,${encodeURIComponent(content)}`;
71380
+ return content;
71381
+ }
71382
+ function getPublicPathRuntimeSource(compiler) {
71383
+ const publicPath = compiler.options.output.publicPath;
71384
+ if ('string' != typeof publicPath || 'auto' === publicPath) return;
71385
+ return `if (typeof __webpack_require__.p === "undefined") __webpack_require__.p = ${JSON.stringify(publicPath)}`;
71386
+ }
71387
+ function getDefaultEntryRuntime(paths, options, compiler, treeShakingShareFallbacks) {
71388
+ return `${MF_RUNTIME_LOADER}!=!data:text/javascript,${encodeURIComponent(getDefaultEntryRuntimeSource(paths, options, compiler, treeShakingShareFallbacks))}`;
71243
71389
  }
71244
71390
  class ContainerPlugin extends RspackBuiltinPlugin {
71245
71391
  name = external_rspack_wasi_browser_js_BuiltinPluginName.ContainerPlugin;
@@ -71399,7 +71545,7 @@ function transformSync(source, options) {
71399
71545
  const _options = JSON.stringify(options || {});
71400
71546
  return rspack_wasi_browser.transformSync(source, _options);
71401
71547
  }
71402
- const exports_rspackVersion = "2.0.5";
71548
+ const exports_rspackVersion = "2.0.7";
71403
71549
  const exports_version = "5.75.0";
71404
71550
  const exports_WebpackError = Error;
71405
71551
  const exports_config = {
@@ -71425,6 +71571,7 @@ const electron = {
71425
71571
  ElectronTargetPlugin: ElectronTargetPlugin
71426
71572
  };
71427
71573
  const ids = {
71574
+ DeterministicModuleIdsPlugin: DeterministicModuleIdsPlugin,
71428
71575
  HashedModuleIdsPlugin: HashedModuleIdsPlugin
71429
71576
  };
71430
71577
  const exports_library = {
@@ -71489,6 +71636,9 @@ const exports_experiments = {
71489
71636
  CssChunkingPlugin: CssChunkingPlugin,
71490
71637
  createNativePlugin: createNativePlugin,
71491
71638
  VirtualModulesPlugin: VirtualModulesPlugin,
71639
+ ids: {
71640
+ SyncModuleIdsPlugin: SyncModuleIdsPlugin
71641
+ },
71492
71642
  rsc: rsc
71493
71643
  };
71494
71644
  const src_fn = Object.assign(rspack_rspack, exports_namespaceObject);
@@ -71664,4 +71814,4 @@ const builtinMemFs = {
71664
71814
  volume: fs_0.volume,
71665
71815
  memfs: fs_0.memfs
71666
71816
  };
71667
- export { AsyncDependenciesBlock, BannerPlugin, BrowserHttpImportEsmPlugin, BrowserRequirePlugin, CaseSensitivePlugin, CircularDependencyRspackPlugin, Compilation, Compiler, ConcatenatedModule, ContextModule, ContextReplacementPlugin, CopyRspackPlugin, CssExtractRspackPlugin, DefaultRuntimeGlobals as RuntimeGlobals, DefinePlugin, Dependency, DllPlugin, DllReferencePlugin, DynamicEntryPlugin, EntryDependency, EntryPlugin, EnvironmentPlugin, EvalDevToolModulePlugin, EvalSourceMapDevToolPlugin, ExternalModule, ExternalsPlugin, HotModuleReplacementPlugin, HtmlRspackPlugin, IgnorePlugin, LightningCssMinimizerRspackPlugin, LoaderOptionsPlugin, LoaderTargetPlugin, Module, ModuleFilenameHelpers_namespaceObject as ModuleFilenameHelpers, ModuleGraphConnection_ModuleGraphConnection as ModuleGraphConnection, MultiCompiler, MultiStats, NoEmitOnErrorsPlugin, NormalModule, NormalModuleReplacementPlugin, ProgressPlugin, ProvidePlugin, RspackOptionsApply, RspackOptionsApply as WebpackOptionsApply, RuntimeModule, RuntimePlugin, SourceMapDevToolPlugin, Stats, SubresourceIntegrityPlugin, SwcJsMinimizerRspackPlugin, Template, ValidationError, builtinMemFs, container, electron, exports_WebpackError as WebpackError, exports_config as config, exports_experiments as experiments, exports_library as library, exports_node as node, exports_rspackVersion as rspackVersion, exports_version as version, exports_wasm as wasm, ids, javascript, lazyCompilationMiddleware, lib_EntryOptionPlugin as EntryOptionPlugin, optimize, sharing, src_rspack_0 as "module.exports", src_rspack_0 as rspack, statsFactoryUtils_StatsErrorCode as StatsErrorCode, util, web, webpack_sources_lib as sources, webworker };
71817
+ export { AsyncDependenciesBlock, BannerPlugin, BrowserHttpImportEsmPlugin, BrowserRequirePlugin, CaseSensitivePlugin, CircularCheckRspackPlugin, CircularDependencyRspackPlugin, Compilation, Compiler, ConcatenatedModule, ContextModule, ContextReplacementPlugin, CopyRspackPlugin, CssExtractRspackPlugin, DefaultRuntimeGlobals as RuntimeGlobals, DefinePlugin, Dependency, DllPlugin, DllReferencePlugin, DynamicEntryPlugin, EntryDependency, EntryPlugin, EnvironmentPlugin, EvalDevToolModulePlugin, EvalSourceMapDevToolPlugin, ExternalModule, ExternalsPlugin, HotModuleReplacementPlugin, HtmlRspackPlugin, IgnorePlugin, LightningCssMinimizerRspackPlugin, LoaderOptionsPlugin, LoaderTargetPlugin, Module, ModuleFilenameHelpers_namespaceObject as ModuleFilenameHelpers, ModuleGraphConnection_ModuleGraphConnection as ModuleGraphConnection, MultiCompiler, MultiStats, NoEmitOnErrorsPlugin, NormalModule, NormalModuleReplacementPlugin, ProgressPlugin, ProvidePlugin, RspackOptionsApply, RspackOptionsApply as WebpackOptionsApply, RuntimeModule, RuntimePlugin, SourceMapDevToolPlugin, Stats, SubresourceIntegrityPlugin, SwcJsMinimizerRspackPlugin, Template, ValidationError, builtinMemFs, container, electron, exports_WebpackError as WebpackError, exports_config as config, exports_experiments as experiments, exports_library as library, exports_node as node, exports_rspackVersion as rspackVersion, exports_version as version, exports_wasm as wasm, ids, javascript, lazyCompilationMiddleware, lib_EntryOptionPlugin as EntryOptionPlugin, optimize, sharing, src_rspack_0 as "module.exports", src_rspack_0 as rspack, statsFactoryUtils_StatsErrorCode as StatsErrorCode, util, web, webpack_sources_lib as sources, webworker };