weapp-vite 5.1.5 → 5.1.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.
@@ -1181,10 +1181,10 @@ var require_eventemitter3 = _chunkYO2542IPcjs.__commonJS.call(void 0, {
1181
1181
  if (handlers.fn) return [
1182
1182
  handlers.fn
1183
1183
  ];
1184
- for (var i2 = 0, l2 = handlers.length, ee2 = new Array(l2); i2 < l2; i2++) {
1185
- ee2[i2] = handlers[i2].fn;
1184
+ for (var i2 = 0, l2 = handlers.length, ee3 = new Array(l2); i2 < l2; i2++) {
1185
+ ee3[i2] = handlers[i2].fn;
1186
1186
  }
1187
- return ee2;
1187
+ return ee3;
1188
1188
  }, "listeners");
1189
1189
  EventEmitter4.prototype.listenerCount = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, function listenerCount(event) {
1190
1190
  var evt = prefix ? prefix + event : event, listeners = this._events[evt];
@@ -1192,7 +1192,7 @@ var require_eventemitter3 = _chunkYO2542IPcjs.__commonJS.call(void 0, {
1192
1192
  if (listeners.fn) return 1;
1193
1193
  return listeners.length;
1194
1194
  }, "listenerCount");
1195
- EventEmitter4.prototype.emit = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, function emit(event, a1, a2, a3, a4, a5) {
1195
+ EventEmitter4.prototype.emit = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, function emit(event, a1, a22, a3, a4, a5) {
1196
1196
  var evt = prefix ? prefix + event : event;
1197
1197
  if (!this._events[evt]) return false;
1198
1198
  var listeners = this._events[evt], len = arguments.length, args, i2;
@@ -1204,13 +1204,13 @@ var require_eventemitter3 = _chunkYO2542IPcjs.__commonJS.call(void 0, {
1204
1204
  case 2:
1205
1205
  return listeners.fn.call(listeners.context, a1), true;
1206
1206
  case 3:
1207
- return listeners.fn.call(listeners.context, a1, a2), true;
1207
+ return listeners.fn.call(listeners.context, a1, a22), true;
1208
1208
  case 4:
1209
- return listeners.fn.call(listeners.context, a1, a2, a3), true;
1209
+ return listeners.fn.call(listeners.context, a1, a22, a3), true;
1210
1210
  case 5:
1211
- return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
1211
+ return listeners.fn.call(listeners.context, a1, a22, a3, a4), true;
1212
1212
  case 6:
1213
- return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
1213
+ return listeners.fn.call(listeners.context, a1, a22, a3, a4, a5), true;
1214
1214
  }
1215
1215
  for (i2 = 1, args = new Array(len - 1); i2 < len; i2++) {
1216
1216
  args[i2 - 1] = arguments[i2];
@@ -1228,10 +1228,10 @@ var require_eventemitter3 = _chunkYO2542IPcjs.__commonJS.call(void 0, {
1228
1228
  listeners[i2].fn.call(listeners[i2].context, a1);
1229
1229
  break;
1230
1230
  case 3:
1231
- listeners[i2].fn.call(listeners[i2].context, a1, a2);
1231
+ listeners[i2].fn.call(listeners[i2].context, a1, a22);
1232
1232
  break;
1233
1233
  case 4:
1234
- listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
1234
+ listeners[i2].fn.call(listeners[i2].context, a1, a22, a3);
1235
1235
  break;
1236
1236
  default:
1237
1237
  if (!args) for (j4 = 1, args = new Array(len - 1); j4 < len; j4++) {
@@ -1299,16 +1299,16 @@ var require_balanced_match = _chunkYO2542IPcjs.__commonJS.call(void 0, {
1299
1299
  "use strict";
1300
1300
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1301
1301
  module.exports = balanced;
1302
- function balanced(a2, b2, str) {
1303
- if (a2 instanceof RegExp) a2 = maybeMatch(a2, str);
1302
+ function balanced(a3, b2, str) {
1303
+ if (a3 instanceof RegExp) a3 = maybeMatch(a3, str);
1304
1304
  if (b2 instanceof RegExp) b2 = maybeMatch(b2, str);
1305
- var r5 = range(a2, b2, str);
1306
- return r5 && {
1307
- start: r5[0],
1308
- end: r5[1],
1309
- pre: str.slice(0, r5[0]),
1310
- body: str.slice(r5[0] + a2.length, r5[1]),
1311
- post: str.slice(r5[1] + b2.length)
1305
+ var r4 = range(a3, b2, str);
1306
+ return r4 && {
1307
+ start: r4[0],
1308
+ end: r4[1],
1309
+ pre: str.slice(0, r4[0]),
1310
+ body: str.slice(r4[0] + a3.length, r4[1]),
1311
+ post: str.slice(r4[1] + b2.length)
1312
1312
  };
1313
1313
  }
1314
1314
  _chunkYO2542IPcjs.__name.call(void 0, balanced, "balanced");
@@ -1318,13 +1318,13 @@ var require_balanced_match = _chunkYO2542IPcjs.__commonJS.call(void 0, {
1318
1318
  }
1319
1319
  _chunkYO2542IPcjs.__name.call(void 0, maybeMatch, "maybeMatch");
1320
1320
  balanced.range = range;
1321
- function range(a2, b2, str) {
1321
+ function range(a3, b2, str) {
1322
1322
  var begs, beg, left, right, result;
1323
- var ai = str.indexOf(a2);
1323
+ var ai = str.indexOf(a3);
1324
1324
  var bi = str.indexOf(b2, ai + 1);
1325
1325
  var i2 = ai;
1326
1326
  if (ai >= 0 && bi > 0) {
1327
- if (a2 === b2) {
1327
+ if (a3 === b2) {
1328
1328
  return [
1329
1329
  ai,
1330
1330
  bi
@@ -1335,7 +1335,7 @@ var require_balanced_match = _chunkYO2542IPcjs.__commonJS.call(void 0, {
1335
1335
  while (i2 >= 0 && !result) {
1336
1336
  if (i2 == ai) {
1337
1337
  begs.push(i2);
1338
- ai = str.indexOf(a2, i2 + 1);
1338
+ ai = str.indexOf(a3, i2 + 1);
1339
1339
  } else if (begs.length == 1) {
1340
1340
  result = [
1341
1341
  begs.pop(),
@@ -1567,7 +1567,7 @@ _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1567
1567
  // src/inversify.config.ts
1568
1568
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1569
1569
 
1570
- // ../../node_modules/.pnpm/inversify@7.9.1_reflect-metadata@0.2.2/node_modules/inversify/lib/esm/index.js
1570
+ // ../../node_modules/.pnpm/inversify@7.10.0_reflect-metadata@0.2.2/node_modules/inversify/lib/esm/index.js
1571
1571
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1572
1572
  var import_reflect_metadata2 = _chunkYO2542IPcjs.__toESM.call(void 0, require_Reflect(), 1);
1573
1573
 
@@ -1607,37 +1607,37 @@ var r = class r2 {
1607
1607
  }
1608
1608
  };
1609
1609
 
1610
- // ../../node_modules/.pnpm/@inversifyjs+container@1.12.7_reflect-metadata@0.2.2/node_modules/@inversifyjs/container/lib/esm/index.js
1610
+ // ../../node_modules/.pnpm/@inversifyjs+container@1.13.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/container/lib/esm/index.js
1611
1611
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1612
1612
  var import_reflect_metadata = _chunkYO2542IPcjs.__toESM.call(void 0, require_Reflect(), 1);
1613
1613
 
1614
- // ../../node_modules/.pnpm/@inversifyjs+reflect-metadata-utils@1.3.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/reflect-metadata-utils/lib/esm/index.js
1614
+ // ../../node_modules/.pnpm/@inversifyjs+reflect-metadata-utils@1.4.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/reflect-metadata-utils/lib/esm/index.js
1615
1615
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1616
1616
  function c(t5, n5, e2) {
1617
1617
  return Reflect.getOwnMetadata(n5, t5, e2);
1618
1618
  }
1619
1619
  _chunkYO2542IPcjs.__name.call(void 0, c, "c");
1620
- function r3(t5, n5, e2, u2) {
1620
+ function a(t5, n5, e2, u2) {
1621
1621
  Reflect.defineMetadata(n5, e2, t5, u2);
1622
1622
  }
1623
- _chunkYO2542IPcjs.__name.call(void 0, r3, "r");
1623
+ _chunkYO2542IPcjs.__name.call(void 0, a, "a");
1624
1624
  function i(t5, n5, e2, u2, f2) {
1625
- const a2 = u2(_nullishCoalesce(c(t5, n5, f2), () => ( e2())));
1626
- Reflect.defineMetadata(n5, a2, t5, f2);
1625
+ const r4 = u2(_nullishCoalesce(c(t5, n5, f2), () => ( e2())));
1626
+ Reflect.defineMetadata(n5, r4, t5, f2);
1627
1627
  }
1628
1628
  _chunkYO2542IPcjs.__name.call(void 0, i, "i");
1629
1629
 
1630
- // ../../node_modules/.pnpm/@inversifyjs+core@8.0.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/core/lib/esm/index.js
1630
+ // ../../node_modules/.pnpm/@inversifyjs+core@9.0.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/core/lib/esm/index.js
1631
1631
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1632
1632
 
1633
1633
  // ../../node_modules/.pnpm/@inversifyjs+prototype-utils@0.1.2/node_modules/@inversifyjs/prototype-utils/lib/esm/index.js
1634
1634
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
1635
1635
 
1636
- // ../../node_modules/.pnpm/@inversifyjs+core@8.0.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/core/lib/esm/index.js
1637
- var a = "@inversifyjs/container/bindingId";
1636
+ // ../../node_modules/.pnpm/@inversifyjs+core@9.0.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/core/lib/esm/index.js
1637
+ var a2 = "@inversifyjs/container/bindingId";
1638
1638
  function c2() {
1639
- const i2 = _nullishCoalesce(c(Object, a), () => ( 0));
1640
- return i2 === Number.MAX_SAFE_INTEGER ? r3(Object, a, Number.MIN_SAFE_INTEGER) : i(Object, a, () => i2, (e2) => e2 + 1), i2;
1639
+ const i2 = _nullishCoalesce(c(Object, a2), () => ( 0));
1640
+ return i2 === Number.MAX_SAFE_INTEGER ? a(Object, a2, Number.MIN_SAFE_INTEGER) : i(Object, a2, () => i2, (e2) => e2 + 1), i2;
1641
1641
  }
1642
1642
  _chunkYO2542IPcjs.__name.call(void 0, c2, "c");
1643
1643
  var d = {
@@ -1748,9 +1748,9 @@ var p = class p2 {
1748
1748
  }
1749
1749
  }
1750
1750
  #a(e2, t5, n5, i2) {
1751
- for (const [o, r5] of e2) {
1751
+ for (const [o, r4] of e2) {
1752
1752
  const e3 = new Array();
1753
- for (const t6 of r5) e3.push(this.#l(t6, i2));
1753
+ for (const t6 of r4) e3.push(this.#l(t6, i2));
1754
1754
  t5.set(this.#u(o, n5), e3);
1755
1755
  }
1756
1756
  }
@@ -1807,19 +1807,19 @@ var v = class v2 {
1807
1807
  this.#f.removeByRelation(f.serviceId, e2);
1808
1808
  }
1809
1809
  };
1810
- var g = "@inversifyjs/core/classMetadataReflectKey";
1811
- function h() {
1810
+ var h = "@inversifyjs/core/classMetadataReflectKey";
1811
+ function g() {
1812
1812
  return {
1813
1813
  constructorArguments: [],
1814
1814
  lifecycle: {
1815
- postConstructMethodName: void 0,
1816
- preDestroyMethodName: void 0
1815
+ postConstructMethodNames: /* @__PURE__ */ new Set(),
1816
+ preDestroyMethodNames: /* @__PURE__ */ new Set()
1817
1817
  },
1818
1818
  properties: /* @__PURE__ */ new Map(),
1819
1819
  scope: void 0
1820
1820
  };
1821
1821
  }
1822
- _chunkYO2542IPcjs.__name.call(void 0, h, "h");
1822
+ _chunkYO2542IPcjs.__name.call(void 0, g, "g");
1823
1823
  var m = "@inversifyjs/core/pendingClassMetadataCountReflectKey";
1824
1824
  var y = Symbol.for("@inversifyjs/core/InversifyCoreError");
1825
1825
  var M = class M2 extends Error {
@@ -1844,7 +1844,7 @@ var w;
1844
1844
  var C;
1845
1845
  var S;
1846
1846
  function N(t5) {
1847
- const n5 = _nullishCoalesce(c(t5, g), () => ( h()));
1847
+ const n5 = _nullishCoalesce(c(t5, h), () => ( g()));
1848
1848
  if (!(function(t6) {
1849
1849
  const n6 = c(t6, m);
1850
1850
  return void 0 !== n6 && 0 !== n6;
@@ -2007,26 +2007,26 @@ _chunkYO2542IPcjs.__name.call(void 0, R, "R");
2007
2007
  })(b || (b = {})), (function(e2) {
2008
2008
  e2.id = "id", e2.moduleId = "moduleId", e2.serviceId = "serviceId";
2009
2009
  })(w || (w = {}));
2010
- var T = class T2 extends p {
2010
+ var x = class x2 extends p {
2011
2011
  static {
2012
- _chunkYO2542IPcjs.__name.call(void 0, this, "T");
2012
+ _chunkYO2542IPcjs.__name.call(void 0, this, "x");
2013
2013
  }
2014
2014
  _buildNewInstance(e2) {
2015
- return new T2(e2);
2015
+ return new x2(e2);
2016
2016
  }
2017
2017
  _cloneModel(e2) {
2018
2018
  return R(e2);
2019
2019
  }
2020
2020
  };
2021
- var x = class x2 {
2021
+ var T = class T2 {
2022
2022
  static {
2023
- _chunkYO2542IPcjs.__name.call(void 0, this, "x");
2023
+ _chunkYO2542IPcjs.__name.call(void 0, this, "T");
2024
2024
  }
2025
- #g;
2026
2025
  #h;
2026
+ #g;
2027
2027
  #v;
2028
2028
  constructor(e2, t5, n5) {
2029
- this.#h = _nullishCoalesce(n5, () => ( new T({
2029
+ this.#g = _nullishCoalesce(n5, () => ( new x({
2030
2030
  id: {
2031
2031
  isOptional: false
2032
2032
  },
@@ -2036,13 +2036,13 @@ var x = class x2 {
2036
2036
  serviceId: {
2037
2037
  isOptional: false
2038
2038
  }
2039
- }))), this.#v = e2, this.#g = t5;
2039
+ }))), this.#v = e2, this.#h = t5;
2040
2040
  }
2041
2041
  static build(e2, t5) {
2042
- return new x2(e2, t5);
2042
+ return new T2(e2, t5);
2043
2043
  }
2044
2044
  clone() {
2045
- return new x2(this.#v, this.#g, this.#h.clone());
2045
+ return new T2(this.#v, this.#h, this.#g.clone());
2046
2046
  }
2047
2047
  get(e2) {
2048
2048
  const t5 = _nullishCoalesce(this.getNonParentBindings(e2), () => ( _optionalChain([this, 'access', _9 => _9.#v, 'call', _10 => _10(), 'optionalAccess', _11 => _11.get, 'call', _12 => _12(e2)])));
@@ -2064,41 +2064,41 @@ var x = class x2 {
2064
2064
  } else yield* n5.getChained(e2);
2065
2065
  }
2066
2066
  getBoundServices() {
2067
- const e2 = new Set(this.#h.getAllKeys(w.serviceId)), t5 = this.#v();
2067
+ const e2 = new Set(this.#g.getAllKeys(w.serviceId)), t5 = this.#v();
2068
2068
  if (void 0 !== t5) for (const n5 of t5.getBoundServices()) e2.add(n5);
2069
2069
  return e2;
2070
2070
  }
2071
2071
  getById(e2) {
2072
- return _nullishCoalesce(this.#h.get(w.id, e2), () => ( _optionalChain([this, 'access', _13 => _13.#v, 'call', _14 => _14(), 'optionalAccess', _15 => _15.getById, 'call', _16 => _16(e2)])));
2072
+ return _nullishCoalesce(this.#g.get(w.id, e2), () => ( _optionalChain([this, 'access', _13 => _13.#v, 'call', _14 => _14(), 'optionalAccess', _15 => _15.getById, 'call', _16 => _16(e2)])));
2073
2073
  }
2074
2074
  getByModuleId(e2) {
2075
- return _nullishCoalesce(this.#h.get(w.moduleId, e2), () => ( _optionalChain([this, 'access', _17 => _17.#v, 'call', _18 => _18(), 'optionalAccess', _19 => _19.getByModuleId, 'call', _20 => _20(e2)])));
2075
+ return _nullishCoalesce(this.#g.get(w.moduleId, e2), () => ( _optionalChain([this, 'access', _17 => _17.#v, 'call', _18 => _18(), 'optionalAccess', _19 => _19.getByModuleId, 'call', _20 => _20(e2)])));
2076
2076
  }
2077
2077
  getNonParentBindings(e2) {
2078
- return this.#h.get(w.serviceId, e2);
2078
+ return this.#g.get(w.serviceId, e2);
2079
2079
  }
2080
2080
  getNonParentBoundServices() {
2081
- return this.#h.getAllKeys(w.serviceId);
2081
+ return this.#g.getAllKeys(w.serviceId);
2082
2082
  }
2083
2083
  removeById(e2) {
2084
- this.#h.removeByRelation(w.id, e2);
2084
+ this.#g.removeByRelation(w.id, e2);
2085
2085
  }
2086
2086
  removeAllByModuleId(e2) {
2087
- this.#h.removeByRelation(w.moduleId, e2);
2087
+ this.#g.removeByRelation(w.moduleId, e2);
2088
2088
  }
2089
2089
  removeAllByServiceId(e2) {
2090
- this.#h.removeByRelation(w.serviceId, e2);
2090
+ this.#g.removeByRelation(w.serviceId, e2);
2091
2091
  }
2092
2092
  set(e2) {
2093
2093
  const t5 = {
2094
2094
  [w.id]: e2.id,
2095
2095
  [w.serviceId]: e2.serviceIdentifier
2096
2096
  };
2097
- void 0 !== e2.moduleId && (t5[w.moduleId] = e2.moduleId), this.#h.add(e2, t5);
2097
+ void 0 !== e2.moduleId && (t5[w.moduleId] = e2.moduleId), this.#g.add(e2, t5);
2098
2098
  }
2099
2099
  #m(e2) {
2100
- if (void 0 === this.#g || "function" != typeof e2) return;
2101
- const t5 = P(this.#g, e2);
2100
+ if (void 0 === this.#h || "function" != typeof e2) return;
2101
+ const t5 = P(this.#h, e2);
2102
2102
  return this.set(t5), t5;
2103
2103
  }
2104
2104
  };
@@ -2248,53 +2248,53 @@ ${(function(e3) {
2248
2248
  throw i2;
2249
2249
  }
2250
2250
  _chunkYO2542IPcjs.__name.call(void 0, _, "_");
2251
- function L(e2, t5) {
2252
- return (i2, o, r5) => {
2251
+ function z(e2, t5) {
2252
+ return (i2, o, r4) => {
2253
2253
  try {
2254
- void 0 === r5 ? (function(e3, t6) {
2255
- const i3 = z(e3, t6);
2254
+ void 0 === r4 ? (function(e3, t6) {
2255
+ const i3 = L(e3, t6);
2256
2256
  return (e4, t7) => {
2257
- i(e4.constructor, g, h, O(i3(e4), t7));
2257
+ i(e4.constructor, h, g, O(i3(e4), t7));
2258
2258
  };
2259
- })(e2, t5)(i2, o) : "number" == typeof r5 ? (function(e3, t6) {
2260
- const i3 = z(e3, t6);
2259
+ })(e2, t5)(i2, o) : "number" == typeof r4 ? (function(e3, t6) {
2260
+ const i3 = L(e3, t6);
2261
2261
  return (e4, t7, o2) => {
2262
2262
  if (!/* @__PURE__ */ (function(e5, t8) {
2263
2263
  return "function" == typeof e5 && void 0 === t8;
2264
2264
  })(e4, t7)) throw new M(I.injectionDecoratorConflict, `Found an @inject decorator in a non constructor parameter.
2265
2265
  Found @inject decorator at method "${_nullishCoalesce(_optionalChain([t7, 'optionalAccess', _27 => _27.toString, 'call', _28 => _28()]), () => ( ""))}" at class "${e4.constructor.name}"`);
2266
- i(e4, g, h, /* @__PURE__ */ (function(e5, t8) {
2266
+ i(e4, h, g, /* @__PURE__ */ (function(e5, t8) {
2267
2267
  return (n5) => {
2268
2268
  const i4 = n5.constructorArguments[t8];
2269
2269
  return n5.constructorArguments[t8] = e5(i4), n5;
2270
2270
  };
2271
2271
  })(i3(e4), o2));
2272
2272
  };
2273
- })(e2, t5)(i2, o, r5) : (function(e3, t6) {
2274
- const i3 = z(e3, t6);
2273
+ })(e2, t5)(i2, o, r4) : (function(e3, t6) {
2274
+ const i3 = L(e3, t6);
2275
2275
  return (e4, t7, o2) => {
2276
2276
  if (!(function(e5) {
2277
2277
  return void 0 !== e5.set;
2278
2278
  })(o2)) throw new M(I.injectionDecoratorConflict, `Found an @inject decorator in a non setter property method.
2279
2279
  Found @inject decorator at method "${t7.toString()}" at class "${e4.constructor.name}"`);
2280
- i(e4.constructor, g, h, O(i3(e4), t7));
2280
+ i(e4.constructor, h, g, O(i3(e4), t7));
2281
2281
  };
2282
- })(e2, t5)(i2, o, r5);
2282
+ })(e2, t5)(i2, o, r4);
2283
2283
  } catch (e3) {
2284
- _(i2, o, r5, e3);
2284
+ _(i2, o, r4, e3);
2285
2285
  }
2286
2286
  };
2287
2287
  }
2288
- _chunkYO2542IPcjs.__name.call(void 0, L, "L");
2289
- function z(e2, t5) {
2288
+ _chunkYO2542IPcjs.__name.call(void 0, z, "z");
2289
+ function L(e2, t5) {
2290
2290
  return (n5) => {
2291
2291
  const i2 = t5(n5);
2292
2292
  return (t6) => (i2(t6), e2(t6));
2293
2293
  };
2294
2294
  }
2295
- _chunkYO2542IPcjs.__name.call(void 0, z, "z");
2295
+ _chunkYO2542IPcjs.__name.call(void 0, L, "L");
2296
2296
  function U(e2) {
2297
- return L(V(S.singleInjection, e2), k);
2297
+ return z(V(S.singleInjection, e2), k);
2298
2298
  }
2299
2299
  _chunkYO2542IPcjs.__name.call(void 0, U, "U");
2300
2300
  !(function(e2) {
@@ -2312,7 +2312,7 @@ var q = [
2312
2312
  ];
2313
2313
  function G(t5) {
2314
2314
  const i2 = c(t5, "design:paramtypes");
2315
- void 0 !== i2 && i(t5, g, h, /* @__PURE__ */ (function(e2) {
2315
+ void 0 !== i2 && i(t5, h, g, /* @__PURE__ */ (function(e2) {
2316
2316
  return (t6) => (e2.forEach((e3, n5) => {
2317
2317
  var i3;
2318
2318
  void 0 !== t6.constructorArguments[n5] || (i3 = e3, q.includes(i3)) || (t6.constructorArguments[n5] = (function(e4) {
@@ -2333,34 +2333,34 @@ function W(i2) {
2333
2333
  return (o) => {
2334
2334
  !(function(n5) {
2335
2335
  if (void 0 !== c(n5, K)) throw new M(I.injectionDecoratorConflict, `Cannot apply @injectable decorator multiple times at class "${n5.name}"`);
2336
- r3(n5, K, true);
2337
- })(o), G(o), void 0 !== i2 && i(o, g, h, (e2) => ({
2336
+ a(n5, K, true);
2337
+ })(o), G(o), void 0 !== i2 && i(o, h, g, (e2) => ({
2338
2338
  ...e2,
2339
2339
  scope: i2
2340
2340
  }));
2341
2341
  };
2342
2342
  }
2343
2343
  _chunkYO2542IPcjs.__name.call(void 0, W, "W");
2344
- function ce() {
2344
+ function ue() {
2345
2345
  return {
2346
2346
  kind: S.unmanaged
2347
2347
  };
2348
2348
  }
2349
- _chunkYO2542IPcjs.__name.call(void 0, ce, "ce");
2350
- var de = $(ce, function(e2) {
2349
+ _chunkYO2542IPcjs.__name.call(void 0, ue, "ue");
2350
+ var le = $(ue, function(e2) {
2351
2351
  if (D(e2), (function(e3) {
2352
2352
  return void 0 !== e3.name || e3.optional || e3.tags.size > 0;
2353
2353
  })(e2)) throw new M(I.injectionDecoratorConflict, "Unexpected injection found. Found @unmanaged injection with additional @named, @optional, @tagged or @targetName injections");
2354
- return ce();
2354
+ return ue();
2355
2355
  });
2356
- var le;
2357
- function pe(e2) {
2356
+ var fe;
2357
+ function ve(e2) {
2358
2358
  if (!(e2 instanceof Error)) return false;
2359
2359
  return e2 instanceof RangeError && /stack space|call stack|too much recursion/i.test(e2.message) || "InternalError" === e2.name && /too much recursion/.test(e2.message);
2360
2360
  }
2361
- _chunkYO2542IPcjs.__name.call(void 0, pe, "pe");
2362
- function fe(e2, t5) {
2363
- if (pe(t5)) {
2361
+ _chunkYO2542IPcjs.__name.call(void 0, ve, "ve");
2362
+ function he(e2, t5) {
2363
+ if (ve(t5)) {
2364
2364
  const n5 = (function(e3) {
2365
2365
  const t6 = [
2366
2366
  ...e3
@@ -2386,20 +2386,20 @@ function fe(e2, t5) {
2386
2386
  }
2387
2387
  throw t5;
2388
2388
  }
2389
- _chunkYO2542IPcjs.__name.call(void 0, fe, "fe");
2389
+ _chunkYO2542IPcjs.__name.call(void 0, he, "he");
2390
2390
  !(function(e2) {
2391
2391
  e2[e2.multipleInjection = 0] = "multipleInjection", e2[e2.singleInjection = 1] = "singleInjection";
2392
- })(le || (le = {}));
2393
- var ve = Symbol.for("@inversifyjs/core/LazyPlanServiceNode");
2394
- var ge = class ge2 {
2392
+ })(fe || (fe = {}));
2393
+ var ge = Symbol.for("@inversifyjs/core/LazyPlanServiceNode");
2394
+ var me = class me2 {
2395
2395
  static {
2396
- _chunkYO2542IPcjs.__name.call(void 0, this, "ge");
2396
+ _chunkYO2542IPcjs.__name.call(void 0, this, "me");
2397
2397
  }
2398
2398
 
2399
2399
 
2400
2400
 
2401
2401
  constructor(e2, t5) {
2402
- this[ve] = true, this._serviceNode = e2, this._serviceIdentifier = t5;
2402
+ this[ge] = true, this._serviceNode = e2, this._serviceIdentifier = t5;
2403
2403
  }
2404
2404
  get bindings() {
2405
2405
  return this._getNode().bindings;
@@ -2417,7 +2417,7 @@ var ge = class ge2 {
2417
2417
  this._getNode().isContextFree = e2;
2418
2418
  }
2419
2419
  static is(e2) {
2420
- return "object" == typeof e2 && null !== e2 && true === e2[ve];
2420
+ return "object" == typeof e2 && null !== e2 && true === e2[ge];
2421
2421
  }
2422
2422
  invalidate() {
2423
2423
  this._serviceNode = void 0;
@@ -2429,9 +2429,9 @@ var ge = class ge2 {
2429
2429
  return void 0 === this._serviceNode && (this._serviceNode = this._buildPlanServiceNode()), this._serviceNode;
2430
2430
  }
2431
2431
  };
2432
- var he = class he2 {
2432
+ var ye = class ye2 {
2433
2433
  static {
2434
- _chunkYO2542IPcjs.__name.call(void 0, this, "he");
2434
+ _chunkYO2542IPcjs.__name.call(void 0, this, "ye");
2435
2435
  }
2436
2436
  #M;
2437
2437
  constructor(e2) {
@@ -2447,10 +2447,10 @@ var he = class he2 {
2447
2447
  return this.#M.elem.tags;
2448
2448
  }
2449
2449
  getAncestor() {
2450
- if (this.#M.elem.getAncestorsCalled = true, void 0 !== this.#M.previous) return new he2(this.#M.previous);
2450
+ if (this.#M.elem.getAncestorsCalled = true, void 0 !== this.#M.previous) return new ye2(this.#M.previous);
2451
2451
  }
2452
2452
  };
2453
- function me(e2, t5, n5) {
2453
+ function Me(e2, t5, n5) {
2454
2454
  const i2 = _nullishCoalesce(_optionalChain([n5, 'optionalAccess', _29 => _29.customServiceIdentifier]), () => ( t5.serviceIdentifier)), o = (true === _optionalChain([n5, 'optionalAccess', _30 => _30.chained]) ? [
2455
2455
  ...e2.operations.getBindingsChained(i2)
2456
2456
  ] : [
@@ -2462,17 +2462,17 @@ function me(e2, t5, n5) {
2462
2462
  }
2463
2463
  return o;
2464
2464
  }
2465
- _chunkYO2542IPcjs.__name.call(void 0, me, "me");
2466
- var ye = class ye2 {
2465
+ _chunkYO2542IPcjs.__name.call(void 0, Me, "Me");
2466
+ var Ie = class Ie2 {
2467
2467
  static {
2468
- _chunkYO2542IPcjs.__name.call(void 0, this, "ye");
2468
+ _chunkYO2542IPcjs.__name.call(void 0, this, "Ie");
2469
2469
  }
2470
2470
 
2471
2471
  constructor(e2) {
2472
2472
  this.last = e2;
2473
2473
  }
2474
2474
  concat(e2) {
2475
- return new ye2({
2475
+ return new Ie2({
2476
2476
  elem: e2,
2477
2477
  previous: this.last
2478
2478
  });
@@ -2494,9 +2494,9 @@ var ye = class ye2 {
2494
2494
  };
2495
2495
  }
2496
2496
  };
2497
- function Me(e2) {
2497
+ function be(e2) {
2498
2498
  const t5 = /* @__PURE__ */ new Map();
2499
- return void 0 !== e2.rootConstraints.tag && t5.set(e2.rootConstraints.tag.key, e2.rootConstraints.tag.value), new ye({
2499
+ return void 0 !== e2.rootConstraints.tag && t5.set(e2.rootConstraints.tag.key, e2.rootConstraints.tag.value), new Ie({
2500
2500
  elem: {
2501
2501
  getAncestorsCalled: false,
2502
2502
  name: e2.rootConstraints.name,
@@ -2506,16 +2506,16 @@ function Me(e2) {
2506
2506
  previous: void 0
2507
2507
  });
2508
2508
  }
2509
- _chunkYO2542IPcjs.__name.call(void 0, Me, "Me");
2510
- function Ie(e2) {
2509
+ _chunkYO2542IPcjs.__name.call(void 0, be, "be");
2510
+ function we(e2) {
2511
2511
  return void 0 !== e2.redirections;
2512
2512
  }
2513
- _chunkYO2542IPcjs.__name.call(void 0, Ie, "Ie");
2514
- function be(e2, t5, n5, i2) {
2515
- const r5 = n5.elem.serviceIdentifier, s = _optionalChain([n5, 'access', _31 => _31.previous, 'optionalAccess', _32 => _32.elem, 'access', _33 => _33.serviceIdentifier]);
2516
- Array.isArray(e2) ? (function(e3, t6, n6, i3, r6, s2) {
2513
+ _chunkYO2542IPcjs.__name.call(void 0, we, "we");
2514
+ function Ce(e2, t5, n5, i2) {
2515
+ const r4 = n5.elem.serviceIdentifier, s = _optionalChain([n5, 'access', _31 => _31.previous, 'optionalAccess', _32 => _32.elem, 'access', _33 => _33.serviceIdentifier]);
2516
+ Array.isArray(e2) ? (function(e3, t6, n6, i3, r5, s2) {
2517
2517
  if (0 !== e3.length) {
2518
- const t7 = _nullishCoalesce(s2[s2.length - 1], () => ( n6)), a2 = `Ambiguous bindings found for service: "${t(t7)}".${Ne(s2)}
2518
+ const t7 = _nullishCoalesce(s2[s2.length - 1], () => ( n6)), a3 = `Ambiguous bindings found for service: "${t(t7)}".${Ae(s2)}
2519
2519
 
2520
2520
  Registered bindings:
2521
2521
 
@@ -2530,27 +2530,27 @@ ${e3.map((e4) => (function(e5) {
2530
2530
  }
2531
2531
  })(e4.binding)).join("\n")}
2532
2532
 
2533
- Trying to resolve bindings for "${Ce(n6, i3)}".${Se(r6)}`;
2534
- throw new M(I.planning, a2);
2533
+ Trying to resolve bindings for "${Ne(n6, i3)}".${Pe(r5)}`;
2534
+ throw new M(I.planning, a3);
2535
2535
  }
2536
- t6 || we(n6, i3, r6, s2);
2537
- })(e2, t5, r5, s, n5.elem, i2) : (function(e3, t6, n6, i3, o, r6) {
2538
- void 0 !== e3 || t6 || we(n6, i3, o, r6);
2539
- })(e2, t5, r5, s, n5.elem, i2);
2536
+ t6 || Se(n6, i3, r5, s2);
2537
+ })(e2, t5, r4, s, n5.elem, i2) : (function(e3, t6, n6, i3, o, r5) {
2538
+ void 0 !== e3 || t6 || Se(n6, i3, o, r5);
2539
+ })(e2, t5, r4, s, n5.elem, i2);
2540
2540
  }
2541
- _chunkYO2542IPcjs.__name.call(void 0, be, "be");
2542
- function we(e2, t5, n5, i2) {
2543
- const r5 = _nullishCoalesce(i2[i2.length - 1], () => ( e2)), s = `No bindings found for service: "${t(r5)}".
2541
+ _chunkYO2542IPcjs.__name.call(void 0, Ce, "Ce");
2542
+ function Se(e2, t5, n5, i2) {
2543
+ const r4 = _nullishCoalesce(i2[i2.length - 1], () => ( e2)), s = `No bindings found for service: "${t(r4)}".
2544
2544
 
2545
- Trying to resolve bindings for "${Ce(e2, t5)}".${Ne(i2)}${Se(n5)}`;
2545
+ Trying to resolve bindings for "${Ne(e2, t5)}".${Ae(i2)}${Pe(n5)}`;
2546
2546
  throw new M(I.planning, s);
2547
2547
  }
2548
- _chunkYO2542IPcjs.__name.call(void 0, we, "we");
2549
- function Ce(e2, t5) {
2548
+ _chunkYO2542IPcjs.__name.call(void 0, Se, "Se");
2549
+ function Ne(e2, t5) {
2550
2550
  return void 0 === t5 ? `${t(e2)} (Root service)` : t(t5);
2551
2551
  }
2552
- _chunkYO2542IPcjs.__name.call(void 0, Ce, "Ce");
2553
- function Se(e2) {
2552
+ _chunkYO2542IPcjs.__name.call(void 0, Ne, "Ne");
2553
+ function Pe(e2) {
2554
2554
  const t5 = 0 === e2.tags.size ? "" : `
2555
2555
  - tags:
2556
2556
  - ${[
@@ -2562,86 +2562,86 @@ Binding constraints:
2562
2562
  - service identifier: ${t(e2.serviceIdentifier)}
2563
2563
  - name: ${_nullishCoalesce(_optionalChain([e2, 'access', _34 => _34.name, 'optionalAccess', _35 => _35.toString, 'call', _36 => _36()]), () => ( "-"))}${t5}`;
2564
2564
  }
2565
- _chunkYO2542IPcjs.__name.call(void 0, Se, "Se");
2566
- function Ne(e2) {
2565
+ _chunkYO2542IPcjs.__name.call(void 0, Pe, "Pe");
2566
+ function Ae(e2) {
2567
2567
  return 0 === e2.length ? "" : `
2568
2568
 
2569
2569
  - service redirections:
2570
2570
  - ${e2.map((e3) => t(e3)).join("\n - ")}`;
2571
2571
  }
2572
- _chunkYO2542IPcjs.__name.call(void 0, Ne, "Ne");
2573
- function Pe(e2, t5, n5, i2) {
2572
+ _chunkYO2542IPcjs.__name.call(void 0, Ae, "Ae");
2573
+ function Re(e2, t5, n5, i2) {
2574
2574
  if (1 === e2.redirections.length) {
2575
2575
  const [o] = e2.redirections;
2576
- return void (Ie(o) && Pe(o, t5, n5, [
2576
+ return void (we(o) && Re(o, t5, n5, [
2577
2577
  ...i2,
2578
2578
  o.binding.targetServiceIdentifier
2579
2579
  ]));
2580
2580
  }
2581
- be(e2.redirections, t5, n5, i2);
2581
+ Ce(e2.redirections, t5, n5, i2);
2582
2582
  }
2583
- _chunkYO2542IPcjs.__name.call(void 0, Pe, "Pe");
2584
- function Ae(e2, t5, n5) {
2583
+ _chunkYO2542IPcjs.__name.call(void 0, Re, "Re");
2584
+ function xe(e2, t5, n5) {
2585
2585
  if (Array.isArray(e2.bindings) && 1 === e2.bindings.length) {
2586
2586
  const [i2] = e2.bindings;
2587
- return void (Ie(i2) && Pe(i2, t5, n5, [
2587
+ return void (we(i2) && Re(i2, t5, n5, [
2588
2588
  i2.binding.targetServiceIdentifier
2589
2589
  ]));
2590
2590
  }
2591
- be(e2.bindings, t5, n5, []);
2591
+ Ce(e2.bindings, t5, n5, []);
2592
2592
  }
2593
- _chunkYO2542IPcjs.__name.call(void 0, Ae, "Ae");
2594
- function Re(e2) {
2593
+ _chunkYO2542IPcjs.__name.call(void 0, xe, "xe");
2594
+ function Te(e2) {
2595
2595
  return r.is(e2) ? e2.unwrap() : e2;
2596
2596
  }
2597
- _chunkYO2542IPcjs.__name.call(void 0, Re, "Re");
2598
- function Te(e2) {
2597
+ _chunkYO2542IPcjs.__name.call(void 0, Te, "Te");
2598
+ function je(e2) {
2599
2599
  return (t5, n5, i2) => {
2600
- const o = Re(i2.value), r5 = n5.concat({
2600
+ const o = Te(i2.value), r4 = n5.concat({
2601
2601
  getAncestorsCalled: false,
2602
2602
  name: i2.name,
2603
2603
  serviceIdentifier: o,
2604
2604
  tags: i2.tags
2605
- }), s = new he(r5.last), a2 = i2.kind === S.multipleInjection && i2.chained, c3 = me(t5, s, {
2606
- chained: a2
2605
+ }), s = new ye(r4.last), a3 = i2.kind === S.multipleInjection && i2.chained, c3 = Me(t5, s, {
2606
+ chained: a3
2607
2607
  }), d2 = [], u2 = {
2608
2608
  bindings: d2,
2609
2609
  isContextFree: true,
2610
2610
  serviceIdentifier: o
2611
2611
  };
2612
- if (d2.push(...e2(t5, r5, c3, u2, a2)), u2.isContextFree = !r5.last.elem.getAncestorsCalled, i2.kind === S.singleInjection) {
2613
- Ae(u2, i2.optional, r5.last);
2612
+ if (d2.push(...e2(t5, r4, c3, u2, a3)), u2.isContextFree = !r4.last.elem.getAncestorsCalled, i2.kind === S.singleInjection) {
2613
+ xe(u2, i2.optional, r4.last);
2614
2614
  const [e3] = d2;
2615
2615
  u2.bindings = e3;
2616
2616
  }
2617
2617
  return u2;
2618
2618
  };
2619
2619
  }
2620
- _chunkYO2542IPcjs.__name.call(void 0, Te, "Te");
2621
- function xe(e2) {
2620
+ _chunkYO2542IPcjs.__name.call(void 0, je, "je");
2621
+ function Be(e2) {
2622
2622
  return (t5, n5, i2) => {
2623
- const o = Re(i2.value), r5 = n5.concat({
2623
+ const o = Te(i2.value), r4 = n5.concat({
2624
2624
  getAncestorsCalled: false,
2625
2625
  name: i2.name,
2626
2626
  serviceIdentifier: o,
2627
2627
  tags: i2.tags
2628
- }), s = new he(r5.last), a2 = i2.kind === le.multipleInjection && i2.chained, c3 = me(t5, s, {
2629
- chained: a2
2628
+ }), s = new ye(r4.last), a3 = i2.kind === fe.multipleInjection && i2.chained, c3 = Me(t5, s, {
2629
+ chained: a3
2630
2630
  }), d2 = [], u2 = {
2631
2631
  bindings: d2,
2632
2632
  isContextFree: true,
2633
2633
  serviceIdentifier: o
2634
2634
  };
2635
- if (d2.push(...e2(t5, r5, c3, u2, a2)), u2.isContextFree = !r5.last.elem.getAncestorsCalled, i2.kind === le.singleInjection) {
2636
- Ae(u2, i2.optional, r5.last);
2635
+ if (d2.push(...e2(t5, r4, c3, u2, a3)), u2.isContextFree = !r4.last.elem.getAncestorsCalled, i2.kind === fe.singleInjection) {
2636
+ xe(u2, i2.optional, r4.last);
2637
2637
  const [e3] = d2;
2638
2638
  u2.bindings = e3;
2639
2639
  }
2640
2640
  return u2;
2641
2641
  };
2642
2642
  }
2643
- _chunkYO2542IPcjs.__name.call(void 0, xe, "xe");
2644
- function je(e2) {
2643
+ _chunkYO2542IPcjs.__name.call(void 0, Be, "Be");
2644
+ function Fe(e2) {
2645
2645
  const t5 = /* @__PURE__ */ (function(e3) {
2646
2646
  return (t6, n6, i3) => {
2647
2647
  const o2 = {
@@ -2649,32 +2649,32 @@ function je(e2) {
2649
2649
  classMetadata: t6.operations.getClassMetadata(n6.implementationType),
2650
2650
  constructorParams: [],
2651
2651
  propertyParams: /* @__PURE__ */ new Map()
2652
- }, r5 = {
2652
+ }, r4 = {
2653
2653
  autobindOptions: t6.autobindOptions,
2654
2654
  node: o2,
2655
2655
  operations: t6.operations,
2656
2656
  servicesBranch: t6.servicesBranch
2657
2657
  };
2658
- return e3(r5, i3);
2658
+ return e3(r4, i3);
2659
2659
  };
2660
2660
  })(e2), n5 = /* @__PURE__ */ (function(e3) {
2661
2661
  return (t6, n6, i3) => {
2662
2662
  const o2 = {
2663
2663
  binding: n6,
2664
2664
  params: []
2665
- }, r5 = {
2665
+ }, r4 = {
2666
2666
  autobindOptions: t6.autobindOptions,
2667
2667
  node: o2,
2668
2668
  operations: t6.operations,
2669
2669
  servicesBranch: t6.servicesBranch
2670
2670
  };
2671
- return e3(r5, i3);
2671
+ return e3(r4, i3);
2672
2672
  };
2673
- })(e2), i2 = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (e3, i3, r5, s, a2) => {
2674
- const c3 = Ie(s) ? s.binding.targetServiceIdentifier : s.serviceIdentifier;
2673
+ })(e2), i2 = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (e3, i3, r4, s, a3) => {
2674
+ const c3 = we(s) ? s.binding.targetServiceIdentifier : s.serviceIdentifier;
2675
2675
  e3.servicesBranch.push(c3);
2676
2676
  const d2 = [];
2677
- for (const s2 of r5) switch (s2.type) {
2677
+ for (const s2 of r4) switch (s2.type) {
2678
2678
  case u.Instance:
2679
2679
  d2.push(t5(e3, s2, i3));
2680
2680
  break;
@@ -2682,7 +2682,7 @@ function je(e2) {
2682
2682
  d2.push(n5(e3, s2, i3));
2683
2683
  break;
2684
2684
  case u.ServiceRedirection: {
2685
- const t6 = o(e3, i3, s2, a2);
2685
+ const t6 = o(e3, i3, s2, a3);
2686
2686
  d2.push(t6);
2687
2687
  break;
2688
2688
  }
@@ -2694,21 +2694,21 @@ function je(e2) {
2694
2694
  return e3.servicesBranch.pop(), d2;
2695
2695
  }, "i"), o = /* @__PURE__ */ (function(e3) {
2696
2696
  return (t6, n6, i3, o2) => {
2697
- const r5 = {
2697
+ const r4 = {
2698
2698
  binding: i3,
2699
2699
  redirections: []
2700
- }, s = me(t6, new he(n6.last), {
2700
+ }, s = Me(t6, new ye(n6.last), {
2701
2701
  chained: o2,
2702
2702
  customServiceIdentifier: i3.targetServiceIdentifier
2703
2703
  });
2704
- return r5.redirections.push(...e3(t6, n6, s, r5, o2)), r5;
2704
+ return r4.redirections.push(...e3(t6, n6, s, r4, o2)), r4;
2705
2705
  };
2706
2706
  })(i2);
2707
2707
  return i2;
2708
2708
  }
2709
- _chunkYO2542IPcjs.__name.call(void 0, je, "je");
2710
- function Be(e2, t5, n5, i2) {
2711
- if (void 0 !== e2 && (ge.is(n5) && !n5.isExpanded() || n5.isContextFree)) {
2709
+ _chunkYO2542IPcjs.__name.call(void 0, Fe, "Fe");
2710
+ function ke(e2, t5, n5, i2) {
2711
+ if (void 0 !== e2 && (me.is(n5) && !n5.isExpanded() || n5.isContextFree)) {
2712
2712
  const i3 = {
2713
2713
  tree: {
2714
2714
  root: n5
@@ -2717,38 +2717,38 @@ function Be(e2, t5, n5, i2) {
2717
2717
  t5.setPlan(e2, i3);
2718
2718
  } else t5.setNonCachedServiceNode(n5, i2);
2719
2719
  }
2720
- _chunkYO2542IPcjs.__name.call(void 0, Be, "Be");
2721
- var Fe = class Fe2 extends ge {
2720
+ _chunkYO2542IPcjs.__name.call(void 0, ke, "ke");
2721
+ var $e = class $e2 extends me {
2722
2722
  static {
2723
- _chunkYO2542IPcjs.__name.call(void 0, this, "Fe");
2723
+ _chunkYO2542IPcjs.__name.call(void 0, this, "$e");
2724
2724
  }
2725
2725
  #I;
2726
2726
  #b;
2727
2727
  #w;
2728
2728
  #C;
2729
2729
  constructor(e2, t5, n5, i2, o) {
2730
- super(o, Re(i2.value)), this.#b = t5, this.#I = e2, this.#w = n5, this.#C = i2;
2730
+ super(o, Te(i2.value)), this.#b = t5, this.#I = e2, this.#w = n5, this.#C = i2;
2731
2731
  }
2732
2732
  _buildPlanServiceNode() {
2733
2733
  return this.#b(this.#I, this.#w, this.#C);
2734
2734
  }
2735
2735
  };
2736
- var ke = class ke2 extends ge {
2736
+ var De = class De2 extends me {
2737
2737
  static {
2738
- _chunkYO2542IPcjs.__name.call(void 0, this, "ke");
2738
+ _chunkYO2542IPcjs.__name.call(void 0, this, "De");
2739
2739
  }
2740
2740
  #I;
2741
2741
  #S;
2742
2742
  #w;
2743
2743
  #N;
2744
2744
  constructor(e2, t5, n5, i2, o) {
2745
- super(o, Re(i2.value)), this.#I = e2, this.#S = t5, this.#w = n5, this.#N = i2;
2745
+ super(o, Te(i2.value)), this.#I = e2, this.#S = t5, this.#w = n5, this.#N = i2;
2746
2746
  }
2747
2747
  _buildPlanServiceNode() {
2748
2748
  return this.#S(this.#I, this.#w, this.#N);
2749
2749
  }
2750
2750
  };
2751
- function $e(e2, t5, n5, i2) {
2751
+ function Ve(e2, t5, n5, i2) {
2752
2752
  const o = /* @__PURE__ */ (function(e3, t6) {
2753
2753
  const n6 = /* @__PURE__ */ (function(e4, t7) {
2754
2754
  return (n7, i3, o2) => {
@@ -2786,8 +2786,8 @@ function $e(e2, t5, n5, i2) {
2786
2786
  const e5 = n7.operations.getPlan(s2);
2787
2787
  if (void 0 !== e5 && e5.tree.root.isContextFree) return e5.tree.root;
2788
2788
  }
2789
- const a2 = t7(n7, i3, o2), c3 = new Fe(n7, e4, i3, o2, a2);
2790
- return Be(s2, n7.operations, c3, {
2789
+ const a3 = t7(n7, i3, o2), c3 = new $e(n7, e4, i3, o2, a3);
2790
+ return ke(s2, n7.operations, c3, {
2791
2791
  bindingConstraintsList: i3,
2792
2792
  chainedBindings: o2.kind === S.multipleInjection && o2.chained,
2793
2793
  optionalBindings: o2.optional
@@ -2796,10 +2796,10 @@ function $e(e2, t5, n5, i2) {
2796
2796
  })(e3, t6);
2797
2797
  return (e4, t7, i3) => {
2798
2798
  const o2 = t7.classMetadata;
2799
- for (const [r5, s2] of o2.constructorArguments.entries()) t7.constructorParams[r5] = n6(e4, i3, s2);
2800
- for (const [r5, s2] of o2.properties) {
2799
+ for (const [r4, s2] of o2.constructorArguments.entries()) t7.constructorParams[r4] = n6(e4, i3, s2);
2800
+ for (const [r4, s2] of o2.properties) {
2801
2801
  const o3 = n6(e4, i3, s2);
2802
- void 0 !== o3 && t7.propertyParams.set(r5, o3);
2802
+ void 0 !== o3 && t7.propertyParams.set(r4, o3);
2803
2803
  }
2804
2804
  return e4.node;
2805
2805
  };
@@ -2820,7 +2820,7 @@ function $e(e2, t5, n5, i2) {
2820
2820
  }
2821
2821
  }
2822
2822
  const n8 = r.is(e5.value) ? e5.value.unwrap() : e5.value;
2823
- return e5.kind === le.multipleInjection ? {
2823
+ return e5.kind === fe.multipleInjection ? {
2824
2824
  chained: e5.chained,
2825
2825
  isMultiple: true,
2826
2826
  name: e5.name,
@@ -2839,60 +2839,60 @@ function $e(e2, t5, n5, i2) {
2839
2839
  const e5 = n7.operations.getPlan(s2);
2840
2840
  if (void 0 !== e5 && e5.tree.root.isContextFree) return e5.tree.root;
2841
2841
  }
2842
- const a2 = t7(n7, i3, o2), c3 = new ke(n7, e4, i3, o2, a2);
2843
- return Be(s2, n7.operations, c3, {
2842
+ const a3 = t7(n7, i3, o2), c3 = new De(n7, e4, i3, o2, a3);
2843
+ return ke(s2, n7.operations, c3, {
2844
2844
  bindingConstraintsList: i3,
2845
- chainedBindings: o2.kind === le.multipleInjection && o2.chained,
2845
+ chainedBindings: o2.kind === fe.multipleInjection && o2.chained,
2846
2846
  optionalBindings: o2.optional
2847
2847
  }), c3;
2848
2848
  };
2849
2849
  })(e3, t6);
2850
2850
  return (e4, t7, i3) => {
2851
2851
  const o2 = t7.binding.metadata;
2852
- for (const [r5, s2] of o2.arguments.entries()) t7.params[r5] = n6(e4, i3, s2);
2852
+ for (const [r4, s2] of o2.arguments.entries()) t7.params[r4] = n6(e4, i3, s2);
2853
2853
  return e4.node;
2854
2854
  };
2855
2855
  })(t5, i2);
2856
2856
  return (e3, t6) => e3.node.binding.type === u.Instance ? o(e3, e3.node, t6) : s(e3, e3.node, t6);
2857
2857
  }
2858
- _chunkYO2542IPcjs.__name.call(void 0, $e, "$e");
2859
- var De = class De2 extends ge {
2858
+ _chunkYO2542IPcjs.__name.call(void 0, Ve, "Ve");
2859
+ var Oe = class Oe2 extends me {
2860
2860
  static {
2861
- _chunkYO2542IPcjs.__name.call(void 0, this, "De");
2861
+ _chunkYO2542IPcjs.__name.call(void 0, this, "Oe");
2862
2862
  }
2863
2863
  #I;
2864
2864
  constructor(e2, t5) {
2865
2865
  super(t5, t5.serviceIdentifier), this.#I = e2;
2866
2866
  }
2867
2867
  _buildPlanServiceNode() {
2868
- return Le(this.#I);
2868
+ return Ue(this.#I);
2869
2869
  }
2870
2870
  };
2871
- var Ve = Te(_e);
2872
- var Oe = xe(_e);
2873
- var Ee = je($e(Ve, Oe, Ve, Oe));
2874
- function _e(e2, t5, n5, i2, o) {
2875
- return Ee(e2, t5, n5, i2, o);
2871
+ var Ee = je(Le);
2872
+ var _e = Be(Le);
2873
+ var ze = Fe(Ve(Ee, _e, Ee, _e));
2874
+ function Le(e2, t5, n5, i2, o) {
2875
+ return ze(e2, t5, n5, i2, o);
2876
2876
  }
2877
- _chunkYO2542IPcjs.__name.call(void 0, _e, "_e");
2878
- var Le = /* @__PURE__ */ (function(e2) {
2877
+ _chunkYO2542IPcjs.__name.call(void 0, Le, "Le");
2878
+ var Ue = /* @__PURE__ */ (function(e2) {
2879
2879
  return (t5) => {
2880
- const n5 = Me(t5), i2 = new he(n5.last), o = t5.rootConstraints.isMultiple && t5.rootConstraints.chained, r5 = me(t5, i2, {
2880
+ const n5 = be(t5), i2 = new ye(n5.last), o = t5.rootConstraints.isMultiple && t5.rootConstraints.chained, r4 = Me(t5, i2, {
2881
2881
  chained: o
2882
- }), s = [], a2 = {
2882
+ }), s = [], a3 = {
2883
2883
  bindings: s,
2884
2884
  isContextFree: true,
2885
2885
  serviceIdentifier: t5.rootConstraints.serviceIdentifier
2886
2886
  };
2887
- if (s.push(...e2(t5, n5, r5, a2, o)), a2.isContextFree = !n5.last.elem.getAncestorsCalled, !t5.rootConstraints.isMultiple) {
2888
- Ae(a2, _nullishCoalesce(t5.rootConstraints.isOptional, () => ( false)), n5.last);
2887
+ if (s.push(...e2(t5, n5, r4, a3, o)), a3.isContextFree = !n5.last.elem.getAncestorsCalled, !t5.rootConstraints.isMultiple) {
2888
+ xe(a3, _nullishCoalesce(t5.rootConstraints.isOptional, () => ( false)), n5.last);
2889
2889
  const [e3] = s;
2890
- a2.bindings = e3;
2890
+ a3.bindings = e3;
2891
2891
  }
2892
- return a2;
2892
+ return a3;
2893
2893
  };
2894
- })(Ee);
2895
- function ze(e2) {
2894
+ })(ze);
2895
+ function Ke(e2) {
2896
2896
  try {
2897
2897
  const t5 = (function(e3) {
2898
2898
  return e3.rootConstraints.isMultiple ? {
@@ -2911,24 +2911,24 @@ function ze(e2) {
2911
2911
  };
2912
2912
  })(e2), n5 = e2.operations.getPlan(t5);
2913
2913
  if (void 0 !== n5) return n5;
2914
- const i2 = Le(e2), o = {
2914
+ const i2 = Ue(e2), o = {
2915
2915
  tree: {
2916
- root: new De(e2, i2)
2916
+ root: new Oe(e2, i2)
2917
2917
  }
2918
2918
  };
2919
2919
  return e2.operations.setPlan(t5, o), o;
2920
2920
  } catch (t5) {
2921
- fe(e2, t5);
2921
+ he(e2, t5);
2922
2922
  }
2923
2923
  }
2924
- _chunkYO2542IPcjs.__name.call(void 0, ze, "ze");
2925
- var Ue;
2924
+ _chunkYO2542IPcjs.__name.call(void 0, Ke, "Ke");
2925
+ var qe;
2926
2926
  !(function(e2) {
2927
2927
  e2.bindingAdded = "bindingAdded", e2.bindingRemoved = "bindingRemoved";
2928
- })(Ue || (Ue = {}));
2929
- var Ke = class Ke2 {
2928
+ })(qe || (qe = {}));
2929
+ var Ge = class Ge2 {
2930
2930
  static {
2931
- _chunkYO2542IPcjs.__name.call(void 0, this, "Ke");
2931
+ _chunkYO2542IPcjs.__name.call(void 0, this, "Ge");
2932
2932
  }
2933
2933
  #P;
2934
2934
  #A;
@@ -2942,33 +2942,33 @@ var Ke = class Ke2 {
2942
2942
  const n5 = t5.deref();
2943
2943
  void 0 === n5 ? ++e2 : yield n5;
2944
2944
  }
2945
- this.#P.length >= this.#A && this.#T(e2) && this.#x(e2);
2945
+ this.#P.length >= this.#A && this.#x(e2) && this.#T(e2);
2946
2946
  }
2947
2947
  push(e2) {
2948
2948
  const t5 = new WeakRef(e2);
2949
2949
  if (this.#P.push(t5), this.#P.length >= this.#A && this.#P.length % this.#R === 0) {
2950
2950
  let e3 = 0;
2951
2951
  for (const t6 of this.#P) void 0 === t6.deref() && ++e3;
2952
- this.#T(e3) && this.#x(e3);
2952
+ this.#x(e3) && this.#T(e3);
2953
2953
  }
2954
2954
  }
2955
- #x(e2) {
2955
+ #T(e2) {
2956
2956
  const t5 = new Array(this.#P.length - e2);
2957
2957
  let n5 = 0;
2958
2958
  for (const e3 of this.#P) e3.deref() && (t5[n5++] = e3);
2959
2959
  this.#P = t5;
2960
2960
  }
2961
- #T(e2) {
2961
+ #x(e2) {
2962
2962
  return e2 >= 0.5 * this.#P.length;
2963
2963
  }
2964
2964
  };
2965
- var qe = je($e(Ve, Oe, function(e2, t5, n5) {
2966
- return Ge(e2, t5, n5);
2965
+ var We = Fe(Ve(Ee, _e, function(e2, t5, n5) {
2966
+ return Xe(e2, t5, n5);
2967
2967
  }, function(e2, t5, n5) {
2968
- return We(e2, t5, n5);
2968
+ return He(e2, t5, n5);
2969
2969
  }));
2970
- var Ge = (function(e2) {
2971
- const t5 = Te(e2);
2970
+ var Xe = (function(e2) {
2971
+ const t5 = je(e2);
2972
2972
  return (e3, n5, i2) => {
2973
2973
  try {
2974
2974
  return t5(e3, n5, i2);
@@ -2977,9 +2977,9 @@ var Ge = (function(e2) {
2977
2977
  throw e4;
2978
2978
  }
2979
2979
  };
2980
- })(qe);
2981
- var We = (function(e2) {
2982
- const t5 = xe(e2);
2980
+ })(We);
2981
+ var He = (function(e2) {
2982
+ const t5 = Be(e2);
2983
2983
  return (e3, n5, i2) => {
2984
2984
  try {
2985
2985
  return t5(e3, n5, i2);
@@ -2988,24 +2988,24 @@ var We = (function(e2) {
2988
2988
  throw e4;
2989
2989
  }
2990
2990
  };
2991
- })(qe);
2992
- function Xe(e2, t5, n5, i2, o) {
2993
- if (ge.is(t5) && !t5.isExpanded()) return {
2991
+ })(We);
2992
+ function Je(e2, t5, n5, i2, o) {
2993
+ if (me.is(t5) && !t5.isExpanded()) return {
2994
2994
  isContextFreeBinding: true,
2995
2995
  shouldInvalidateServiceNode: false
2996
2996
  };
2997
- const r5 = new he(i2.last);
2998
- return !n5.isSatisfiedBy(r5) || i2.last.elem.getAncestorsCalled ? {
2997
+ const r4 = new ye(i2.last);
2998
+ return !n5.isSatisfiedBy(r4) || i2.last.elem.getAncestorsCalled ? {
2999
2999
  isContextFreeBinding: !i2.last.elem.getAncestorsCalled,
3000
3000
  shouldInvalidateServiceNode: false
3001
3001
  } : (function(e3, t6, n6, i3, o2) {
3002
- let r6;
3002
+ let r5;
3003
3003
  try {
3004
- [r6] = qe(e3, i3, [
3004
+ [r5] = We(e3, i3, [
3005
3005
  n6
3006
3006
  ], t6, o2);
3007
3007
  } catch (e4) {
3008
- if (pe(e4)) return {
3008
+ if (ve(e4)) return {
3009
3009
  isContextFreeBinding: false,
3010
3010
  shouldInvalidateServiceNode: true
3011
3011
  };
@@ -3015,7 +3015,7 @@ function Xe(e2, t5, n5, i2, o) {
3015
3015
  if (Array.isArray(e4.bindings)) e4.bindings.push(t7);
3016
3016
  else {
3017
3017
  if (void 0 !== e4.bindings) {
3018
- if (!ge.is(e4)) throw new M(I.planning, "Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue");
3018
+ if (!me.is(e4)) throw new M(I.planning, "Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue");
3019
3019
  return {
3020
3020
  isContextFreeBinding: true,
3021
3021
  shouldInvalidateServiceNode: true
@@ -3027,36 +3027,36 @@ function Xe(e2, t5, n5, i2, o) {
3027
3027
  isContextFreeBinding: true,
3028
3028
  shouldInvalidateServiceNode: false
3029
3029
  };
3030
- })(t6, r6);
3030
+ })(t6, r5);
3031
3031
  })(e2, t5, n5, i2, o);
3032
3032
  }
3033
- _chunkYO2542IPcjs.__name.call(void 0, Xe, "Xe");
3034
- function He(e2, t5, n5, i2) {
3035
- if (ge.is(e2) && !e2.isExpanded()) return {
3033
+ _chunkYO2542IPcjs.__name.call(void 0, Je, "Je");
3034
+ function Qe(e2, t5, n5, i2) {
3035
+ if (me.is(e2) && !e2.isExpanded()) return {
3036
3036
  bindingNodeRemoved: void 0,
3037
3037
  isContextFreeBinding: true
3038
3038
  };
3039
- const o = new he(n5.last);
3039
+ const o = new ye(n5.last);
3040
3040
  if (!t5.isSatisfiedBy(o) || n5.last.elem.getAncestorsCalled) return {
3041
3041
  bindingNodeRemoved: void 0,
3042
3042
  isContextFreeBinding: !n5.last.elem.getAncestorsCalled
3043
3043
  };
3044
- let r5;
3045
- if (Array.isArray(e2.bindings)) e2.bindings = e2.bindings.filter((e3) => e3.binding !== t5 || (r5 = e3, false));
3046
- else if (_optionalChain([e2, 'access', _37 => _37.bindings, 'optionalAccess', _38 => _38.binding]) === t5) if (r5 = e2.bindings, i2) e2.bindings = void 0;
3044
+ let r4;
3045
+ if (Array.isArray(e2.bindings)) e2.bindings = e2.bindings.filter((e3) => e3.binding !== t5 || (r4 = e3, false));
3046
+ else if (_optionalChain([e2, 'access', _37 => _37.bindings, 'optionalAccess', _38 => _38.binding]) === t5) if (r4 = e2.bindings, i2) e2.bindings = void 0;
3047
3047
  else {
3048
- if (!ge.is(e2)) throw new M(I.planning, "Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue");
3048
+ if (!me.is(e2)) throw new M(I.planning, "Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue");
3049
3049
  e2.invalidate();
3050
3050
  }
3051
3051
  return {
3052
- bindingNodeRemoved: r5,
3052
+ bindingNodeRemoved: r4,
3053
3053
  isContextFreeBinding: true
3054
3054
  };
3055
3055
  }
3056
- _chunkYO2542IPcjs.__name.call(void 0, He, "He");
3057
- var Je = class Je2 {
3056
+ _chunkYO2542IPcjs.__name.call(void 0, Qe, "Qe");
3057
+ var Ye = class Ye2 {
3058
3058
  static {
3059
- _chunkYO2542IPcjs.__name.call(void 0, this, "Je");
3059
+ _chunkYO2542IPcjs.__name.call(void 0, this, "Ye");
3060
3060
  }
3061
3061
  #j;
3062
3062
  #B;
@@ -3065,7 +3065,7 @@ var Je = class Je2 {
3065
3065
  #$;
3066
3066
  #D;
3067
3067
  constructor() {
3068
- this.#j = /* @__PURE__ */ new Map(), this.#B = this.#V(), this.#F = this.#V(), this.#k = this.#V(), this.#$ = this.#V(), this.#D = new Ke();
3068
+ this.#j = /* @__PURE__ */ new Map(), this.#B = this.#V(), this.#F = this.#V(), this.#k = this.#V(), this.#$ = this.#V(), this.#D = new Ge();
3069
3069
  }
3070
3070
  clearCache() {
3071
3071
  for (const e2 of this.#O()) e2.clear();
@@ -3075,7 +3075,7 @@ var Je = class Je2 {
3075
3075
  return void 0 === e2.name ? void 0 === e2.tag ? this.#E(this.#B, e2).get(e2.serviceIdentifier) : _optionalChain([this, 'access', _39 => _39.#E, 'call', _40 => _40(this.#$, e2), 'access', _41 => _41.get, 'call', _42 => _42(e2.serviceIdentifier), 'optionalAccess', _43 => _43.get, 'call', _44 => _44(e2.tag.key), 'optionalAccess', _45 => _45.get, 'call', _46 => _46(e2.tag.value)]) : void 0 === e2.tag ? _optionalChain([this, 'access', _47 => _47.#E, 'call', _48 => _48(this.#F, e2), 'access', _49 => _49.get, 'call', _50 => _50(e2.serviceIdentifier), 'optionalAccess', _51 => _51.get, 'call', _52 => _52(e2.name)]) : _optionalChain([this, 'access', _53 => _53.#E, 'call', _54 => _54(this.#k, e2), 'access', _55 => _55.get, 'call', _56 => _56(e2.serviceIdentifier), 'optionalAccess', _57 => _57.get, 'call', _58 => _58(e2.name), 'optionalAccess', _59 => _59.get, 'call', _60 => _60(e2.tag.key), 'optionalAccess', _61 => _61.get, 'call', _62 => _62(e2.tag.value)]);
3076
3076
  }
3077
3077
  invalidateServiceBinding(e2) {
3078
- this.#_(e2), this.#L(e2), this.#z(e2), this.#U(e2), this.#K(e2);
3078
+ this.#_(e2), this.#z(e2), this.#L(e2), this.#U(e2), this.#K(e2);
3079
3079
  for (const t5 of this.#D) t5.invalidateServiceBinding(e2);
3080
3080
  }
3081
3081
  set(e2, t5) {
@@ -3095,21 +3095,21 @@ var Je = class Je2 {
3095
3095
  }
3096
3096
  #G(e2, t5, n5, i2) {
3097
3097
  const o = !!(2 & t5);
3098
- let r5;
3098
+ let r4;
3099
3099
  if (o) {
3100
- r5 = {
3100
+ r4 = {
3101
3101
  chained: !!(0 & t5),
3102
3102
  isMultiple: o,
3103
3103
  serviceIdentifier: e2.binding.serviceIdentifier
3104
3104
  };
3105
- } else r5 = {
3105
+ } else r4 = {
3106
3106
  isMultiple: o,
3107
3107
  serviceIdentifier: e2.binding.serviceIdentifier
3108
3108
  };
3109
- return !!(1 & t5) && (r5.isOptional = true), void 0 !== n5 && (r5.name = n5), void 0 !== i2 && (r5.tag = i2), {
3109
+ return !!(1 & t5) && (r4.isOptional = true), void 0 !== n5 && (r4.name = n5), void 0 !== i2 && (r4.tag = i2), {
3110
3110
  autobindOptions: void 0,
3111
3111
  operations: e2.operations,
3112
- rootConstraints: r5,
3112
+ rootConstraints: r4,
3113
3113
  servicesBranch: []
3114
3114
  };
3115
3115
  }
@@ -3132,16 +3132,16 @@ var Je = class Je2 {
3132
3132
  #W(e2) {
3133
3133
  return e2.isMultiple ? (e2.chained ? 4 : 0) | (e2.optional ? 1 : 0) | 2 : e2.optional ? 1 : 0;
3134
3134
  }
3135
- #L(e2) {
3135
+ #z(e2) {
3136
3136
  for (const [t5, n5] of this.#F.entries()) {
3137
3137
  const i2 = n5.get(e2.binding.serviceIdentifier);
3138
3138
  if (void 0 !== i2) for (const [n6, o] of i2.entries()) this.#X(e2, o, t5, n6, void 0);
3139
3139
  }
3140
3140
  }
3141
- #z(e2) {
3141
+ #L(e2) {
3142
3142
  for (const [t5, n5] of this.#k.entries()) {
3143
3143
  const i2 = n5.get(e2.binding.serviceIdentifier);
3144
- if (void 0 !== i2) for (const [n6, o] of i2.entries()) for (const [i3, r5] of o.entries()) for (const [o2, s] of r5.entries()) this.#X(e2, s, t5, n6, {
3144
+ if (void 0 !== i2) for (const [n6, o] of i2.entries()) for (const [i3, r4] of o.entries()) for (const [o2, s] of r4.entries()) this.#X(e2, s, t5, n6, {
3145
3145
  key: i3,
3146
3146
  value: o2
3147
3147
  });
@@ -3165,25 +3165,25 @@ var Je = class Je2 {
3165
3165
  void 0 !== t5 && t5.has(e2) && (t5.delete(e2), this.#Q(e2));
3166
3166
  }
3167
3167
  #Q(e2) {
3168
- if ((!ge.is(e2) || e2.isExpanded()) && void 0 !== e2.bindings) if (Array.isArray(e2.bindings)) for (const t5 of e2.bindings) this.#H(t5);
3168
+ if ((!me.is(e2) || e2.isExpanded()) && void 0 !== e2.bindings) if (Array.isArray(e2.bindings)) for (const t5 of e2.bindings) this.#H(t5);
3169
3169
  else this.#H(e2.bindings);
3170
3170
  }
3171
3171
  #K(e2) {
3172
3172
  const t5 = this.#j.get(e2.binding.serviceIdentifier);
3173
3173
  if (void 0 !== t5) switch (e2.kind) {
3174
- case Ue.bindingAdded:
3174
+ case qe.bindingAdded:
3175
3175
  for (const [n5, i2] of t5) {
3176
- const t6 = Xe({
3176
+ const t6 = Je({
3177
3177
  autobindOptions: void 0,
3178
3178
  operations: e2.operations,
3179
3179
  servicesBranch: []
3180
3180
  }, n5, e2.binding, i2.bindingConstraintsList, i2.chainedBindings);
3181
- t6.isContextFreeBinding ? t6.shouldInvalidateServiceNode && ge.is(n5) && (this.#Q(n5), n5.invalidate()) : this.clearCache();
3181
+ t6.isContextFreeBinding ? t6.shouldInvalidateServiceNode && me.is(n5) && (this.#Q(n5), n5.invalidate()) : this.clearCache();
3182
3182
  }
3183
3183
  break;
3184
- case Ue.bindingRemoved:
3184
+ case qe.bindingRemoved:
3185
3185
  for (const [n5, i2] of t5) {
3186
- const t6 = He(n5, e2.binding, i2.bindingConstraintsList, i2.optionalBindings);
3186
+ const t6 = Qe(n5, e2.binding, i2.bindingConstraintsList, i2.optionalBindings);
3187
3187
  t6.isContextFreeBinding ? void 0 !== t6.bindingNodeRemoved && this.#H(t6.bindingNodeRemoved) : this.clearCache();
3188
3188
  }
3189
3189
  }
@@ -3197,41 +3197,41 @@ var Je = class Je2 {
3197
3197
  #U(e2) {
3198
3198
  for (const [t5, n5] of this.#$.entries()) {
3199
3199
  const i2 = n5.get(e2.binding.serviceIdentifier);
3200
- if (void 0 !== i2) for (const [n6, o] of i2.entries()) for (const [i3, r5] of o.entries()) this.#X(e2, r5, t5, void 0, {
3200
+ if (void 0 !== i2) for (const [n6, o] of i2.entries()) for (const [i3, r4] of o.entries()) this.#X(e2, r4, t5, void 0, {
3201
3201
  key: n6,
3202
3202
  value: i3
3203
3203
  });
3204
3204
  }
3205
3205
  }
3206
3206
  #X(e2, t5, n5, i2, o) {
3207
- if (void 0 !== t5 && ge.is(t5.tree.root)) {
3207
+ if (void 0 !== t5 && me.is(t5.tree.root)) {
3208
3208
  const c3 = this.#G(e2, n5, i2, o);
3209
3209
  switch (e2.kind) {
3210
- case Ue.bindingAdded:
3210
+ case qe.bindingAdded:
3211
3211
  {
3212
- const n6 = (r5 = c3, s = t5.tree.root, a2 = e2.binding, ge.is(s) && !s.isExpanded() ? {
3212
+ const n6 = (r4 = c3, s = t5.tree.root, a3 = e2.binding, me.is(s) && !s.isExpanded() ? {
3213
3213
  isContextFreeBinding: true,
3214
3214
  shouldInvalidateServiceNode: false
3215
- } : Xe(r5, s, a2, Me(r5), r5.rootConstraints.isMultiple && r5.rootConstraints.chained));
3215
+ } : Je(r4, s, a3, be(r4), r4.rootConstraints.isMultiple && r4.rootConstraints.chained));
3216
3216
  n6.isContextFreeBinding ? n6.shouldInvalidateServiceNode && (this.#Q(t5.tree.root), t5.tree.root.invalidate()) : this.clearCache();
3217
3217
  }
3218
3218
  break;
3219
- case Ue.bindingRemoved: {
3219
+ case qe.bindingRemoved: {
3220
3220
  const n6 = (function(e3, t6, n7) {
3221
- return ge.is(t6) && !t6.isExpanded() ? {
3221
+ return me.is(t6) && !t6.isExpanded() ? {
3222
3222
  bindingNodeRemoved: void 0,
3223
3223
  isContextFreeBinding: true
3224
- } : He(t6, n7, Me(e3), _nullishCoalesce(e3.rootConstraints.isOptional, () => ( false)));
3224
+ } : Qe(t6, n7, be(e3), _nullishCoalesce(e3.rootConstraints.isOptional, () => ( false)));
3225
3225
  })(c3, t5.tree.root, e2.binding);
3226
3226
  n6.isContextFreeBinding ? void 0 !== n6.bindingNodeRemoved && this.#H(n6.bindingNodeRemoved) : this.clearCache();
3227
3227
  }
3228
3228
  }
3229
3229
  }
3230
- var r5, s, a2;
3230
+ var r4, s, a3;
3231
3231
  }
3232
3232
  };
3233
- function Qe(e2, t5) {
3234
- if (pe(t5)) {
3233
+ function Ze(e2, t5) {
3234
+ if (ve(t5)) {
3235
3235
  const n5 = (function(e3) {
3236
3236
  const t6 = [
3237
3237
  ...e3
@@ -3254,7 +3254,7 @@ function Qe(e2, t5) {
3254
3254
  const t9 = [], n7 = e5.bindings;
3255
3255
  if (void 0 === n7) return t9;
3256
3256
  const i3 = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (e6) => {
3257
- if (Ie(e6)) for (const t10 of e6.redirections) i3(t10);
3257
+ if (we(e6)) for (const t10 of e6.redirections) i3(t10);
3258
3258
  else switch (e6.binding.type) {
3259
3259
  case u.Instance: {
3260
3260
  const n8 = e6;
@@ -3289,90 +3289,89 @@ function Qe(e2, t5) {
3289
3289
  }
3290
3290
  throw t5;
3291
3291
  }
3292
- _chunkYO2542IPcjs.__name.call(void 0, Qe, "Qe");
3293
- function Ye(e2, t5) {
3292
+ _chunkYO2542IPcjs.__name.call(void 0, Ze, "Ze");
3293
+ function et(e2, t5) {
3294
3294
  return e(t5) ? (e2.cache = {
3295
3295
  isRight: true,
3296
3296
  value: t5
3297
- }, t5.then((t6) => Ze(e2, t6))) : Ze(e2, t5);
3297
+ }, t5.then((t6) => tt(e2, t6))) : tt(e2, t5);
3298
3298
  }
3299
- _chunkYO2542IPcjs.__name.call(void 0, Ye, "Ye");
3300
- function Ze(e2, t5) {
3299
+ _chunkYO2542IPcjs.__name.call(void 0, et, "et");
3300
+ function tt(e2, t5) {
3301
3301
  return e2.cache = {
3302
3302
  isRight: true,
3303
3303
  value: t5
3304
3304
  }, t5;
3305
3305
  }
3306
- _chunkYO2542IPcjs.__name.call(void 0, Ze, "Ze");
3307
- function et(e2, t5, n5) {
3306
+ _chunkYO2542IPcjs.__name.call(void 0, tt, "tt");
3307
+ function nt(e2, t5, n5) {
3308
3308
  const i2 = e2.getActivations(t5);
3309
- return void 0 === i2 ? n5 : e(n5) ? tt(e2, n5, i2[Symbol.iterator]()) : (function(e3, t6, n6) {
3309
+ return void 0 === i2 ? n5 : e(n5) ? it(e2, n5, i2[Symbol.iterator]()) : (function(e3, t6, n6) {
3310
3310
  let i3 = t6, o = n6.next();
3311
3311
  for (; true !== o.done; ) {
3312
3312
  const t7 = o.value(e3.context, i3);
3313
- if (e(t7)) return tt(e3, t7, n6);
3313
+ if (e(t7)) return it(e3, t7, n6);
3314
3314
  i3 = t7, o = n6.next();
3315
3315
  }
3316
3316
  return i3;
3317
3317
  })(e2, n5, i2[Symbol.iterator]());
3318
3318
  }
3319
- _chunkYO2542IPcjs.__name.call(void 0, et, "et");
3320
- async function tt(e2, t5, n5) {
3319
+ _chunkYO2542IPcjs.__name.call(void 0, nt, "nt");
3320
+ async function it(e2, t5, n5) {
3321
3321
  let i2 = await t5, o = n5.next();
3322
3322
  for (; true !== o.done; ) i2 = await o.value(e2.context, i2), o = n5.next();
3323
3323
  return i2;
3324
3324
  }
3325
- _chunkYO2542IPcjs.__name.call(void 0, tt, "tt");
3326
- function nt(e2, t5, n5) {
3325
+ _chunkYO2542IPcjs.__name.call(void 0, it, "it");
3326
+ function ot(e2, t5, n5) {
3327
3327
  let i2 = n5;
3328
3328
  if (void 0 !== t5.onActivation) {
3329
3329
  const n6 = t5.onActivation;
3330
3330
  i2 = e(i2) ? i2.then((t6) => n6(e2.context, t6)) : n6(e2.context, i2);
3331
3331
  }
3332
- return et(e2, t5.serviceIdentifier, i2);
3332
+ return nt(e2, t5.serviceIdentifier, i2);
3333
3333
  }
3334
- _chunkYO2542IPcjs.__name.call(void 0, nt, "nt");
3335
- function it(e2) {
3334
+ _chunkYO2542IPcjs.__name.call(void 0, ot, "ot");
3335
+ function rt(e2) {
3336
3336
  return (t5, n5) => {
3337
3337
  if (n5.cache.isRight) return n5.cache.value;
3338
- return Ye(n5, nt(t5, n5, e2(t5, n5)));
3338
+ return et(n5, ot(t5, n5, e2(t5, n5)));
3339
3339
  };
3340
3340
  }
3341
- _chunkYO2542IPcjs.__name.call(void 0, it, "it");
3342
- var ot = it(function(e2, t5) {
3341
+ _chunkYO2542IPcjs.__name.call(void 0, rt, "rt");
3342
+ var st = rt(function(e2, t5) {
3343
3343
  return t5.value;
3344
3344
  });
3345
- function rt(e2) {
3345
+ function at(e2) {
3346
3346
  return e2;
3347
3347
  }
3348
- _chunkYO2542IPcjs.__name.call(void 0, rt, "rt");
3349
- function st(e2, t5) {
3348
+ _chunkYO2542IPcjs.__name.call(void 0, at, "at");
3349
+ function ct(e2, t5) {
3350
3350
  return (n5, i2) => {
3351
3351
  const o = e2(i2);
3352
3352
  switch (o.scope) {
3353
3353
  case d.Singleton:
3354
3354
  if (o.cache.isRight) return o.cache.value;
3355
- return Ye(o, nt(n5, o, t5(n5, i2)));
3355
+ return et(o, ot(n5, o, t5(n5, i2)));
3356
3356
  case d.Request: {
3357
3357
  if (n5.requestScopeCache.has(o.id)) return n5.requestScopeCache.get(o.id);
3358
- const e3 = nt(n5, o, t5(n5, i2));
3358
+ const e3 = ot(n5, o, t5(n5, i2));
3359
3359
  return n5.requestScopeCache.set(o.id, e3), e3;
3360
3360
  }
3361
3361
  case d.Transient:
3362
- return nt(n5, o, t5(n5, i2));
3362
+ return ot(n5, o, t5(n5, i2));
3363
3363
  }
3364
3364
  };
3365
3365
  }
3366
- _chunkYO2542IPcjs.__name.call(void 0, st, "st");
3367
- var at = ((e2) => st(rt, e2))(function(e2, t5) {
3366
+ _chunkYO2542IPcjs.__name.call(void 0, ct, "ct");
3367
+ var dt = ((e2) => ct(at, e2))(function(e2, t5) {
3368
3368
  return t5.value(e2.context);
3369
3369
  });
3370
- var ct = it(function(e2, t5) {
3370
+ var ut = rt(function(e2, t5) {
3371
3371
  return t5.factory(e2.context);
3372
3372
  });
3373
- function dt(e2, t5, n5) {
3373
+ function lt(e2, t5, n5) {
3374
3374
  const i2 = (function(e3, t6, n6) {
3375
- if (void 0 === n6) return;
3376
3375
  if (!(n6 in e3)) throw new M(I.resolution, `Expecting a "${n6.toString()}" property when resolving "${t6.implementationType.name}" class @postConstruct decorated method, none found.`);
3377
3376
  if ("function" != typeof e3[n6]) throw new M(I.resolution, `Expecting a "${n6.toString()}" method when resolving "${t6.implementationType.name}" class @postConstruct decorated method, a non function property was found instead.`);
3378
3377
  {
@@ -3397,50 +3396,57 @@ function dt(e2, t5, n5) {
3397
3396
  })(e2, t5, n5);
3398
3397
  return e(i2) ? i2.then(() => e2) : e2;
3399
3398
  }
3400
- _chunkYO2542IPcjs.__name.call(void 0, dt, "dt");
3401
- function ut(e2) {
3399
+ _chunkYO2542IPcjs.__name.call(void 0, lt, "lt");
3400
+ function pt(e2, t5, n5) {
3401
+ if (0 === n5.size) return e2;
3402
+ let i2 = e2;
3403
+ for (const e3 of n5) i2 = e(i2) ? i2.then((n6) => lt(n6, t5, e3)) : lt(i2, t5, e3);
3404
+ return i2;
3405
+ }
3406
+ _chunkYO2542IPcjs.__name.call(void 0, pt, "pt");
3407
+ function ft(e2) {
3402
3408
  return (t5, n5, i2) => {
3403
- const o = new i2.binding.implementationType(...t5), r5 = e2(n5, o, i2);
3404
- return e(r5) ? r5.then(() => dt(o, i2.binding, i2.classMetadata.lifecycle.postConstructMethodName)) : dt(o, i2.binding, i2.classMetadata.lifecycle.postConstructMethodName);
3409
+ const o = new i2.binding.implementationType(...t5), r4 = e2(n5, o, i2);
3410
+ return e(r4) ? r4.then(() => pt(o, i2.binding, i2.classMetadata.lifecycle.postConstructMethodNames)) : pt(o, i2.binding, i2.classMetadata.lifecycle.postConstructMethodNames);
3405
3411
  };
3406
3412
  }
3407
- _chunkYO2542IPcjs.__name.call(void 0, ut, "ut");
3408
- var lt = it(function(e2, t5) {
3413
+ _chunkYO2542IPcjs.__name.call(void 0, ft, "ft");
3414
+ var vt = rt(function(e2, t5) {
3409
3415
  return t5.provider(e2.context);
3410
3416
  });
3411
- function pt(e2) {
3417
+ function ht(e2) {
3412
3418
  return e2.binding;
3413
3419
  }
3414
- _chunkYO2542IPcjs.__name.call(void 0, pt, "pt");
3415
- function ft(e2) {
3420
+ _chunkYO2542IPcjs.__name.call(void 0, ht, "ht");
3421
+ function gt(e2) {
3416
3422
  return e2.binding;
3417
3423
  }
3418
- _chunkYO2542IPcjs.__name.call(void 0, ft, "ft");
3419
- var vt = /* @__PURE__ */ (function(e2) {
3424
+ _chunkYO2542IPcjs.__name.call(void 0, gt, "gt");
3425
+ var mt = /* @__PURE__ */ (function(e2) {
3420
3426
  return (t5, n5, i2) => {
3421
3427
  const o = [];
3422
- for (const [r5, a2] of i2.propertyParams) {
3423
- const c3 = i2.classMetadata.properties.get(r5);
3424
- if (void 0 === c3) throw new M(I.resolution, `Expecting metadata at property "${r5.toString()}", none found`);
3425
- c3.kind !== S.unmanaged && void 0 !== a2.bindings && (n5[r5] = e2(t5, a2), e(n5[r5]) && o.push((async () => {
3426
- n5[r5] = await n5[r5];
3428
+ for (const [r4, a3] of i2.propertyParams) {
3429
+ const c3 = i2.classMetadata.properties.get(r4);
3430
+ if (void 0 === c3) throw new M(I.resolution, `Expecting metadata at property "${r4.toString()}", none found`);
3431
+ c3.kind !== S.unmanaged && void 0 !== a3.bindings && (n5[r4] = e2(t5, a3), e(n5[r4]) && o.push((async () => {
3432
+ n5[r4] = await n5[r4];
3427
3433
  })()));
3428
3434
  }
3429
3435
  if (o.length > 0) return Promise.all(o).then(() => {
3430
3436
  });
3431
3437
  };
3432
- })(wt);
3433
- var gt = /* @__PURE__ */ (function(e2) {
3438
+ })(Nt);
3439
+ var yt = /* @__PURE__ */ (function(e2) {
3434
3440
  return /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, function t5(n5, i2) {
3435
3441
  const o = [];
3436
- for (const r5 of i2.redirections) Ie(r5) ? o.push(...t5(n5, r5)) : o.push(e2(n5, r5));
3442
+ for (const r4 of i2.redirections) we(r4) ? o.push(...t5(n5, r4)) : o.push(e2(n5, r4));
3437
3443
  return o;
3438
3444
  }, "t");
3439
- })(bt);
3440
- var ht = /* @__PURE__ */ (function(e2, t5, n5) {
3445
+ })(St);
3446
+ var Mt = /* @__PURE__ */ (function(e2, t5, n5) {
3441
3447
  return (i2, o) => {
3442
- const r5 = e2(i2, o);
3443
- return e(r5) ? t5(r5, i2, o) : n5(r5, i2, o);
3448
+ const r4 = e2(i2, o);
3449
+ return e(r4) ? t5(r4, i2, o) : n5(r4, i2, o);
3444
3450
  };
3445
3451
  })(/* @__PURE__ */ (function(e2) {
3446
3452
  return (t5, n5) => {
@@ -3448,13 +3454,13 @@ var ht = /* @__PURE__ */ (function(e2, t5, n5) {
3448
3454
  for (const o of n5.constructorParams) void 0 === o ? i2.push(void 0) : i2.push(e2(t5, o));
3449
3455
  return i2.some(e) ? Promise.all(i2) : i2;
3450
3456
  };
3451
- })(wt), /* @__PURE__ */ (function(e2) {
3457
+ })(Nt), /* @__PURE__ */ (function(e2) {
3452
3458
  return async (t5, n5, i2) => {
3453
3459
  const o = await t5;
3454
3460
  return e2(o, n5, i2);
3455
3461
  };
3456
- })(ut(vt)), ut(vt));
3457
- var mt = /* @__PURE__ */ (function(e2) {
3462
+ })(ft(mt)), ft(mt));
3463
+ var It = /* @__PURE__ */ (function(e2) {
3458
3464
  return (t5, n5) => {
3459
3465
  const i2 = e2(t5, n5);
3460
3466
  return e(i2) ? i2.then((e3) => n5.binding.factory(...e3)) : n5.binding.factory(...i2);
@@ -3465,124 +3471,134 @@ var mt = /* @__PURE__ */ (function(e2) {
3465
3471
  for (const o of n5.params) i2.push(e2(t5, o));
3466
3472
  return i2.some(e) ? Promise.all(i2) : i2;
3467
3473
  };
3468
- })(wt));
3469
- var yt = ((e2) => st(pt, e2))(ht);
3470
- var Mt = ((e2) => st(ft, e2))(mt);
3471
- function It(e2) {
3474
+ })(Nt));
3475
+ var bt = ((e2) => ct(ht, e2))(Mt);
3476
+ var wt = ((e2) => ct(gt, e2))(It);
3477
+ function Ct(e2) {
3472
3478
  try {
3473
- return wt(e2, e2.planResult.tree.root);
3479
+ return Nt(e2, e2.planResult.tree.root);
3474
3480
  } catch (t5) {
3475
- Qe(e2, t5);
3481
+ Ze(e2, t5);
3476
3482
  }
3477
3483
  }
3478
- _chunkYO2542IPcjs.__name.call(void 0, It, "It");
3479
- function bt(e2, t5) {
3484
+ _chunkYO2542IPcjs.__name.call(void 0, Ct, "Ct");
3485
+ function St(e2, t5) {
3480
3486
  switch (t5.binding.type) {
3481
3487
  case u.ConstantValue:
3482
- return ot(e2, t5.binding);
3488
+ return st(e2, t5.binding);
3483
3489
  case u.DynamicValue:
3484
- return at(e2, t5.binding);
3490
+ return dt(e2, t5.binding);
3485
3491
  case u.Factory:
3486
- return ct(e2, t5.binding);
3492
+ return ut(e2, t5.binding);
3487
3493
  case u.Instance:
3488
- return yt(e2, t5);
3494
+ return bt(e2, t5);
3489
3495
  case u.Provider:
3490
- return lt(e2, t5.binding);
3496
+ return vt(e2, t5.binding);
3491
3497
  case u.ResolvedValue:
3492
- return Mt(e2, t5);
3498
+ return wt(e2, t5);
3493
3499
  }
3494
3500
  }
3495
- _chunkYO2542IPcjs.__name.call(void 0, bt, "bt");
3496
- function wt(e2, t5) {
3501
+ _chunkYO2542IPcjs.__name.call(void 0, St, "St");
3502
+ function Nt(e2, t5) {
3497
3503
  if (void 0 !== t5.bindings) return Array.isArray(t5.bindings) ? (function(e3, t6) {
3498
3504
  const n5 = [];
3499
- for (const i2 of t6) Ie(i2) ? n5.push(...gt(e3, i2)) : n5.push(bt(e3, i2));
3505
+ for (const i2 of t6) we(i2) ? n5.push(...yt(e3, i2)) : n5.push(St(e3, i2));
3500
3506
  if (n5.some(e)) return Promise.all(n5);
3501
3507
  return n5;
3502
3508
  })(e2, t5.bindings) : (function(e3, t6) {
3503
- if (Ie(t6)) {
3504
- const n5 = gt(e3, t6);
3509
+ if (we(t6)) {
3510
+ const n5 = yt(e3, t6);
3505
3511
  if (1 === n5.length) return n5[0];
3506
3512
  throw new M(I.resolution, "Unexpected multiple resolved values on single injection");
3507
3513
  }
3508
- return bt(e3, t6);
3514
+ return St(e3, t6);
3509
3515
  })(e2, t5.bindings);
3510
3516
  }
3511
- _chunkYO2542IPcjs.__name.call(void 0, wt, "wt");
3512
- function Ct(e2) {
3517
+ _chunkYO2542IPcjs.__name.call(void 0, Nt, "Nt");
3518
+ function Pt(e2) {
3513
3519
  return void 0 !== e2.scope;
3514
3520
  }
3515
- _chunkYO2542IPcjs.__name.call(void 0, Ct, "Ct");
3516
- function St(e2, t5) {
3517
- if (void 0 !== e2.lifecycle.preDestroyMethodName && "function" == typeof t5[e2.lifecycle.preDestroyMethodName]) return t5[e2.lifecycle.preDestroyMethodName]();
3521
+ _chunkYO2542IPcjs.__name.call(void 0, Pt, "Pt");
3522
+ function At(e2, t5) {
3523
+ if ("function" == typeof e2[t5]) {
3524
+ return e2[t5]();
3525
+ }
3518
3526
  }
3519
- _chunkYO2542IPcjs.__name.call(void 0, St, "St");
3520
- function Nt(e2, t5, n5) {
3527
+ _chunkYO2542IPcjs.__name.call(void 0, At, "At");
3528
+ function Rt(e2, t5) {
3529
+ const n5 = e2.lifecycle.preDestroyMethodNames;
3530
+ if (0 === n5.size) return;
3531
+ let i2;
3532
+ for (const e3 of n5) i2 = void 0 === i2 ? At(t5, e3) : i2.then(() => At(t5, e3));
3533
+ return i2;
3534
+ }
3535
+ _chunkYO2542IPcjs.__name.call(void 0, Rt, "Rt");
3536
+ function xt(e2, t5, n5) {
3521
3537
  const i2 = e2.getDeactivations(t5);
3522
- if (void 0 !== i2) return e(n5) ? Pt(n5, i2[Symbol.iterator]()) : (function(e3, t6) {
3538
+ if (void 0 !== i2) return e(n5) ? Tt(n5, i2[Symbol.iterator]()) : (function(e3, t6) {
3523
3539
  let n6 = t6.next();
3524
3540
  for (; true !== n6.done; ) {
3525
3541
  const i3 = n6.value(e3);
3526
- if (e(i3)) return Pt(e3, t6);
3542
+ if (e(i3)) return Tt(e3, t6);
3527
3543
  n6 = t6.next();
3528
3544
  }
3529
3545
  })(n5, i2[Symbol.iterator]());
3530
3546
  }
3531
- _chunkYO2542IPcjs.__name.call(void 0, Nt, "Nt");
3532
- async function Pt(e2, t5) {
3547
+ _chunkYO2542IPcjs.__name.call(void 0, xt, "xt");
3548
+ async function Tt(e2, t5) {
3533
3549
  const n5 = await e2;
3534
3550
  let i2 = t5.next();
3535
3551
  for (; true !== i2.done; ) await i2.value(n5), i2 = t5.next();
3536
3552
  }
3537
- _chunkYO2542IPcjs.__name.call(void 0, Pt, "Pt");
3538
- function At(e2, t5) {
3553
+ _chunkYO2542IPcjs.__name.call(void 0, Tt, "Tt");
3554
+ function jt(e2, t5) {
3539
3555
  const n5 = (function(e3, t6) {
3540
3556
  if (t6.type === u.Instance) {
3541
3557
  const n6 = e3.getClassMetadata(t6.implementationType), i2 = t6.cache.value;
3542
- return e(i2) ? i2.then((e4) => St(n6, e4)) : St(n6, i2);
3558
+ return e(i2) ? i2.then((e4) => Rt(n6, e4)) : Rt(n6, i2);
3543
3559
  }
3544
3560
  })(e2, t5);
3545
- return void 0 === n5 ? Rt(e2, t5) : n5.then(() => Rt(e2, t5));
3561
+ return void 0 === n5 ? Bt(e2, t5) : n5.then(() => Bt(e2, t5));
3546
3562
  }
3547
- _chunkYO2542IPcjs.__name.call(void 0, At, "At");
3548
- function Rt(e2, t5) {
3563
+ _chunkYO2542IPcjs.__name.call(void 0, jt, "jt");
3564
+ function Bt(e2, t5) {
3549
3565
  const n5 = t5.cache;
3550
- return e(n5.value) ? n5.value.then((n6) => Tt(e2, t5, n6)) : Tt(e2, t5, n5.value);
3566
+ return e(n5.value) ? n5.value.then((n6) => Ft(e2, t5, n6)) : Ft(e2, t5, n5.value);
3551
3567
  }
3552
- _chunkYO2542IPcjs.__name.call(void 0, Rt, "Rt");
3553
- function Tt(e2, t5, n5) {
3568
+ _chunkYO2542IPcjs.__name.call(void 0, Bt, "Bt");
3569
+ function Ft(e2, t5, n5) {
3554
3570
  let i2;
3555
3571
  if (void 0 !== t5.onDeactivation) {
3556
3572
  i2 = (0, t5.onDeactivation)(n5);
3557
3573
  }
3558
- return void 0 === i2 ? Nt(e2, t5.serviceIdentifier, n5) : i2.then(() => Nt(e2, t5.serviceIdentifier, n5));
3574
+ return void 0 === i2 ? xt(e2, t5.serviceIdentifier, n5) : i2.then(() => xt(e2, t5.serviceIdentifier, n5));
3559
3575
  }
3560
- _chunkYO2542IPcjs.__name.call(void 0, Tt, "Tt");
3561
- function xt(e2, t5) {
3576
+ _chunkYO2542IPcjs.__name.call(void 0, Ft, "Ft");
3577
+ function kt(e2, t5) {
3562
3578
  if (void 0 === t5) return;
3563
3579
  const n5 = (function(e3) {
3564
3580
  const t6 = [];
3565
- for (const n6 of e3) Ct(n6) && n6.scope === d.Singleton && n6.cache.isRight && t6.push(n6);
3581
+ for (const n6 of e3) Pt(n6) && n6.scope === d.Singleton && n6.cache.isRight && t6.push(n6);
3566
3582
  return t6;
3567
3583
  })(t5), i2 = [];
3568
3584
  for (const t6 of n5) {
3569
- const n6 = At(e2, t6);
3585
+ const n6 = jt(e2, t6);
3570
3586
  void 0 !== n6 && i2.push(n6);
3571
3587
  }
3572
3588
  return i2.length > 0 ? Promise.all(i2).then(() => {
3573
3589
  }) : void 0;
3574
3590
  }
3575
- _chunkYO2542IPcjs.__name.call(void 0, xt, "xt");
3576
- function jt(e2, t5) {
3591
+ _chunkYO2542IPcjs.__name.call(void 0, kt, "kt");
3592
+ function $t(e2, t5) {
3577
3593
  const n5 = e2.getBindingsFromModule(t5);
3578
- return xt(e2, n5);
3594
+ return kt(e2, n5);
3579
3595
  }
3580
- _chunkYO2542IPcjs.__name.call(void 0, jt, "jt");
3581
- function Bt(e2, t5) {
3596
+ _chunkYO2542IPcjs.__name.call(void 0, $t, "$t");
3597
+ function Dt(e2, t5) {
3582
3598
  const n5 = e2.getBindings(t5);
3583
- return xt(e2, n5);
3599
+ return kt(e2, n5);
3584
3600
  }
3585
- _chunkYO2542IPcjs.__name.call(void 0, Bt, "Bt");
3601
+ _chunkYO2542IPcjs.__name.call(void 0, Dt, "Dt");
3586
3602
 
3587
3603
  // ../../node_modules/.pnpm/@inversifyjs+plugin@0.2.0/node_modules/@inversifyjs/plugin/lib/esm/index.js
3588
3604
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
@@ -3599,7 +3615,7 @@ var n2 = (_class2 = class n3 {
3599
3615
  }
3600
3616
  }, _class2);
3601
3617
 
3602
- // ../../node_modules/.pnpm/@inversifyjs+container@1.12.7_reflect-metadata@0.2.2/node_modules/@inversifyjs/container/lib/esm/index.js
3618
+ // ../../node_modules/.pnpm/@inversifyjs+container@1.13.0_reflect-metadata@0.2.2/node_modules/@inversifyjs/container/lib/esm/index.js
3603
3619
  var I2 = Symbol.for("@inversifyjs/container/bindingIdentifier");
3604
3620
  function A2(e2) {
3605
3621
  return "object" == typeof e2 && null !== e2 && true === e2[I2];
@@ -3845,7 +3861,7 @@ var L2 = class L3 {
3845
3861
  return true === e4.isMultiple;
3846
3862
  })(e3) ? {
3847
3863
  chained: _nullishCoalesce(e3.chained, () => ( false)),
3848
- kind: le.multipleInjection,
3864
+ kind: fe.multipleInjection,
3849
3865
  name: e3.name,
3850
3866
  optional: _nullishCoalesce(e3.optional, () => ( false)),
3851
3867
  tags: new Map((_nullishCoalesce(e3.tags, () => ( []))).map((e4) => [
@@ -3854,7 +3870,7 @@ var L2 = class L3 {
3854
3870
  ])),
3855
3871
  value: e3.serviceIdentifier
3856
3872
  } : {
3857
- kind: le.singleInjection,
3873
+ kind: fe.singleInjection,
3858
3874
  name: e3.name,
3859
3875
  optional: _nullishCoalesce(e3.optional, () => ( false)),
3860
3876
  tags: new Map((_nullishCoalesce(e3.tags, () => ( []))).map((e4) => [
@@ -3863,7 +3879,7 @@ var L2 = class L3 {
3863
3879
  ])),
3864
3880
  value: e3.serviceIdentifier
3865
3881
  } : {
3866
- kind: le.singleInjection,
3882
+ kind: fe.singleInjection,
3867
3883
  name: void 0,
3868
3884
  optional: false,
3869
3885
  tags: /* @__PURE__ */ new Map(),
@@ -4049,7 +4065,7 @@ var _2 = class _3 {
4049
4065
  const e2 = [
4050
4066
  ...this.#h.bindingService.getNonParentBoundServices()
4051
4067
  ];
4052
- await Promise.all(e2.map(async (e3) => Bt(this.#l, e3)));
4068
+ await Promise.all(e2.map(async (e3) => Dt(this.#l, e3)));
4053
4069
  for (const n5 of e2) this.#h.activationService.removeAllByServiceId(n5), this.#h.bindingService.removeAllByServiceId(n5), this.#h.deactivationService.removeAllByServiceId(n5);
4054
4070
  this.#h.planResultCacheService.clearCache();
4055
4071
  }
@@ -4059,18 +4075,18 @@ var _2 = class _3 {
4059
4075
  #v(e2) {
4060
4076
  this.#h.bindingService.set(e2), this.#u.invalidateService({
4061
4077
  binding: e2,
4062
- kind: Ue.bindingAdded
4078
+ kind: qe.bindingAdded
4063
4079
  });
4064
4080
  }
4065
4081
  #b(e2) {
4066
4082
  let n5;
4067
4083
  if (A2(e2)) {
4068
- const t5 = this.#h.bindingService.getById(e2.id), r5 = _optionalChain([(i2 = t5, (function(e3) {
4084
+ const t5 = this.#h.bindingService.getById(e2.id), r4 = _optionalChain([(i2 = t5, (function(e3) {
4069
4085
  if (void 0 === e3) return;
4070
4086
  const n6 = e3.next();
4071
4087
  return true !== n6.done ? n6.value : void 0;
4072
4088
  })(_optionalChain([i2, 'optionalAccess', _63 => _63[Symbol.iterator], 'call', _64 => _64()]))), 'optionalAccess', _65 => _65.serviceIdentifier]);
4073
- n5 = void 0 === r5 ? "Unexpected asynchronous deactivation when unbinding binding identifier. Consider using Container.unbind() instead." : `Unexpected asynchronous deactivation when unbinding "${t(r5)}" binding. Consider using Container.unbind() instead.`;
4089
+ n5 = void 0 === r4 ? "Unexpected asynchronous deactivation when unbinding binding identifier. Consider using Container.unbind() instead." : `Unexpected asynchronous deactivation when unbinding "${t(r4)}" binding. Consider using Container.unbind() instead.`;
4074
4090
  } else n5 = `Unexpected asynchronous deactivation when unbinding "${t(e2)}" service. Consider using Container.unbind() instead.`;
4075
4091
  var i2;
4076
4092
  throw new B(O2.invalidOperation, n5);
@@ -4081,7 +4097,7 @@ var _2 = class _3 {
4081
4097
  #p(e2) {
4082
4098
  const n5 = this.#h.bindingService.getById(e2.id), i2 = void 0 === n5 ? void 0 : [
4083
4099
  ...n5
4084
- ], t5 = xt(this.#l, n5);
4100
+ ], t5 = kt(this.#l, n5);
4085
4101
  if (void 0 !== t5) return t5.then(() => {
4086
4102
  this.#M(i2, e2);
4087
4103
  });
@@ -4090,13 +4106,13 @@ var _2 = class _3 {
4090
4106
  #M(e2, n5) {
4091
4107
  if (this.#h.bindingService.removeById(n5.id), void 0 !== e2) for (const n6 of e2) this.#u.invalidateService({
4092
4108
  binding: n6,
4093
- kind: Ue.bindingRemoved
4109
+ kind: qe.bindingRemoved
4094
4110
  });
4095
4111
  }
4096
4112
  #S(e2) {
4097
4113
  const n5 = this.#h.bindingService.get(e2), i2 = void 0 === n5 ? void 0 : [
4098
4114
  ...n5
4099
- ], t5 = xt(this.#l, n5);
4115
+ ], t5 = kt(this.#l, n5);
4100
4116
  if (void 0 !== t5) return t5.then(() => {
4101
4117
  this.#R(e2, i2);
4102
4118
  });
@@ -4105,7 +4121,7 @@ var _2 = class _3 {
4105
4121
  #R(e2, n5) {
4106
4122
  if (this.#h.activationService.removeAllByServiceId(e2), this.#h.bindingService.removeAllByServiceId(e2), this.#h.deactivationService.removeAllByServiceId(e2), void 0 !== n5) for (const e3 of n5) this.#u.invalidateService({
4107
4123
  binding: e3,
4108
- kind: Ue.bindingRemoved
4124
+ kind: qe.bindingRemoved
4109
4125
  });
4110
4126
  }
4111
4127
  #g(e2, n5, i2) {
@@ -4131,8 +4147,8 @@ var z2 = class z3 {
4131
4147
  #a;
4132
4148
  #u;
4133
4149
  #h;
4134
- constructor(e2, n5, i2, t5, r5) {
4135
- this.#y = e2, this.#l = n5, this.#a = i2, this.#u = t5, this.#h = r5;
4150
+ constructor(e2, n5, i2, t5, r4) {
4151
+ this.#y = e2, this.#l = n5, this.#a = i2, this.#u = t5, this.#h = r4;
4136
4152
  }
4137
4153
  async load(...e2) {
4138
4154
  await Promise.all(this.#n(...e2));
@@ -4183,11 +4199,11 @@ var z2 = class z3 {
4183
4199
  #v(e2) {
4184
4200
  this.#h.bindingService.set(e2), this.#u.invalidateService({
4185
4201
  binding: e2,
4186
- kind: Ue.bindingAdded
4202
+ kind: qe.bindingAdded
4187
4203
  });
4188
4204
  }
4189
4205
  #m(...e2) {
4190
- return e2.map((e3) => jt(this.#l, e3.id));
4206
+ return e2.map((e3) => $t(this.#l, e3.id));
4191
4207
  }
4192
4208
  };
4193
4209
  var K2 = class K3 {
@@ -4235,7 +4251,7 @@ var X = class X2 {
4235
4251
  #v(e2) {
4236
4252
  this.#h.bindingService.set(e2), this.#h.planResultCacheService.invalidateServiceBinding({
4237
4253
  binding: e2,
4238
- kind: Ue.bindingAdded,
4254
+ kind: qe.bindingAdded,
4239
4255
  operations: this.planParamsOperations
4240
4256
  });
4241
4257
  }
@@ -4360,20 +4376,20 @@ var Y = class Y2 {
4360
4376
  this.#D = this.#T();
4361
4377
  }
4362
4378
  #L(e2, n5, i2) {
4363
- const t5 = _optionalChain([i2, 'optionalAccess', _68 => _68.name]), r5 = _nullishCoalesce(_optionalChain([i2, 'optionalAccess', _69 => _69.optional]), () => ( false)), a2 = _optionalChain([i2, 'optionalAccess', _70 => _70.tag]);
4379
+ const t5 = _optionalChain([i2, 'optionalAccess', _68 => _68.name]), r4 = _nullishCoalesce(_optionalChain([i2, 'optionalAccess', _69 => _69.optional]), () => ( false)), a3 = _optionalChain([i2, 'optionalAccess', _70 => _70.tag]);
4364
4380
  return e2 ? {
4365
4381
  chained: _nullishCoalesce(_optionalChain([i2, 'optionalAccess', _71 => _71.chained]), () => ( false)),
4366
4382
  isMultiple: e2,
4367
4383
  name: t5,
4368
- optional: r5,
4384
+ optional: r4,
4369
4385
  serviceIdentifier: n5,
4370
- tag: a2
4386
+ tag: a3
4371
4387
  } : {
4372
4388
  isMultiple: e2,
4373
4389
  name: t5,
4374
- optional: r5,
4390
+ optional: r4,
4375
4391
  serviceIdentifier: n5,
4376
- tag: a2
4392
+ tag: a3
4377
4393
  };
4378
4394
  }
4379
4395
  #$(e2, n5, i2) {
@@ -4398,11 +4414,11 @@ var Y = class Y2 {
4398
4414
  };
4399
4415
  }
4400
4416
  #V(e2, n5, i2) {
4401
- const t5 = this.#L(e2, n5, i2), r5 = this.#h.planResultCacheService.get(t5);
4402
- if (void 0 !== r5) return r5;
4403
- const a2 = ze(this.#$(n5, e2, i2));
4404
- for (const e3 of this.#j) e3(t5, a2);
4405
- return a2;
4417
+ const t5 = this.#L(e2, n5, i2), r4 = this.#h.planResultCacheService.get(t5);
4418
+ if (void 0 !== r4) return r4;
4419
+ const a3 = Ke(this.#$(n5, e2, i2));
4420
+ for (const e3 of this.#j) e3(t5, a3);
4421
+ return a3;
4406
4422
  }
4407
4423
  #T() {
4408
4424
  return {
@@ -4413,7 +4429,7 @@ var Y = class Y2 {
4413
4429
  };
4414
4430
  }
4415
4431
  #E(e2) {
4416
- return It({
4432
+ return Ct({
4417
4433
  context: this.#D,
4418
4434
  getActivations: this.#U,
4419
4435
  planResult: e2,
@@ -4463,8 +4479,8 @@ var ne = class ne2 {
4463
4479
  constructor(e2) {
4464
4480
  const n5 = _nullishCoalesce(_optionalChain([e2, 'optionalAccess', _75 => _75.autobind]), () => ( false)), i2 = _nullishCoalesce(_optionalChain([e2, 'optionalAccess', _76 => _76.defaultScope]), () => ( ee));
4465
4481
  this.#h = this.#X(e2, n5, i2);
4466
- const t5 = new X(this.#h), r5 = new J(t5, this.#h), a2 = new K2(this.#h);
4467
- this.#y = new _2(a2.deactivationParams, i2, r5, this.#h), this.#_ = new z2(this.#y, a2.deactivationParams, i2, r5, this.#h), this.#O = new Y(t5, this.#h, n5, i2), this.#z = new Q(this, this.#h, this.#O), this.#K = new Z(this.#h);
4482
+ const t5 = new X(this.#h), r4 = new J(t5, this.#h), a3 = new K2(this.#h);
4483
+ this.#y = new _2(a3.deactivationParams, i2, r4, this.#h), this.#_ = new z2(this.#y, a3.deactivationParams, i2, r4, this.#h), this.#O = new Y(t5, this.#h, n5, i2), this.#z = new Q(this, this.#h, this.#O), this.#K = new Z(this.#h);
4468
4484
  }
4469
4485
  bind(e2) {
4470
4486
  return this.#y.bind(e2);
@@ -4541,11 +4557,11 @@ var ne = class ne2 {
4541
4557
  #X(e2, n5, i2) {
4542
4558
  const t5 = this.#J(n5, i2);
4543
4559
  if (void 0 === _optionalChain([e2, 'optionalAccess', _77 => _77.parent])) return new W2(v.build(() => {
4544
- }), x.build(() => {
4560
+ }), T.build(() => {
4545
4561
  }, t5), j.build(() => {
4546
- }), new Je());
4547
- const r5 = new Je(), a2 = e2.parent;
4548
- return a2.#h.planResultCacheService.subscribe(r5), new W2(v.build(() => a2.#h.activationService), x.build(() => a2.#h.bindingService, t5), j.build(() => a2.#h.deactivationService), r5);
4562
+ }), new Ye());
4563
+ const r4 = new Ye(), a3 = e2.parent;
4564
+ return a3.#h.planResultCacheService.subscribe(r4), new W2(v.build(() => a3.#h.activationService), T.build(() => a3.#h.bindingService, t5), j.build(() => a3.#h.deactivationService), r4);
4549
4565
  }
4550
4566
  };
4551
4567
 
@@ -4574,10 +4590,10 @@ var Symbols = {
4574
4590
 
4575
4591
  // src/context/CompilerContext.ts
4576
4592
  function _ts_decorate(decorators, target, key, desc) {
4577
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
4578
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
4579
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
4580
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
4593
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
4594
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
4595
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
4596
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
4581
4597
  }
4582
4598
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate, "_ts_decorate");
4583
4599
  function _ts_metadata(k3, v3) {
@@ -6385,10 +6401,10 @@ _chunkYO2542IPcjs.__name.call(void 0, isEmptyObject, "isEmptyObject");
6385
6401
 
6386
6402
  // src/context/services/AutoImportService.ts
6387
6403
  function _ts_decorate2(decorators, target, key, desc) {
6388
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
6389
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
6390
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
6391
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
6404
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
6405
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
6406
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
6407
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
6392
6408
  }
6393
6409
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate2, "_ts_decorate");
6394
6410
  function _ts_metadata2(k3, v3) {
@@ -8336,7 +8352,7 @@ var PriorityQueue = class {
8336
8352
  this.#queue.push(element);
8337
8353
  return;
8338
8354
  }
8339
- const index = lowerBound(this.#queue, element, (a2, b2) => b2.priority - a2.priority);
8355
+ const index = lowerBound(this.#queue, element, (a3, b2) => b2.priority - a3.priority);
8340
8356
  this.#queue.splice(index, 0, element);
8341
8357
  }
8342
8358
  setPriority(id, priority) {
@@ -8894,9 +8910,9 @@ var parseClass = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (glob2, p
8894
8910
  ];
8895
8911
  }
8896
8912
  if (negs.length === 0 && ranges.length === 1 && /^\\?.$/.test(ranges[0]) && !negate) {
8897
- const r5 = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
8913
+ const r4 = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
8898
8914
  return [
8899
- regexpEscape(r5),
8915
+ regexpEscape(r4),
8900
8916
  false,
8901
8917
  endPos - pos,
8902
8918
  false
@@ -9181,14 +9197,14 @@ var AST = class _AST {
9181
9197
  toMMPattern() {
9182
9198
  if (this !== this.#root) return this.#root.toMMPattern();
9183
9199
  const glob2 = this.toString();
9184
- const [re2, body, hasMagic2, uflag] = this.toRegExpSource();
9200
+ const [re, body, hasMagic2, uflag] = this.toRegExpSource();
9185
9201
  const anyMagic = hasMagic2 || this.#hasMagic || this.#options.nocase && !this.#options.nocaseMagicOnly && glob2.toUpperCase() !== glob2.toLowerCase();
9186
9202
  if (!anyMagic) {
9187
9203
  return body;
9188
9204
  }
9189
9205
  const flags = (this.#options.nocase ? "i" : "") + (uflag ? "u" : "");
9190
- return Object.assign(new RegExp(`^${re2}$`, flags), {
9191
- _src: re2,
9206
+ return Object.assign(new RegExp(`^${re}$`, flags), {
9207
+ _src: re,
9192
9208
  _glob: glob2
9193
9209
  });
9194
9210
  }
@@ -9270,10 +9286,10 @@ var AST = class _AST {
9270
9286
  if (!this.type) {
9271
9287
  const noEmpty = this.isStart() && this.isEnd();
9272
9288
  const src = this.#parts.map((p3) => {
9273
- const [re2, _4, hasMagic2, uflag] = typeof p3 === "string" ? _AST.#parseGlob(p3, this.#hasMagic, noEmpty) : p3.toRegExpSource(allowDot);
9289
+ const [re, _4, hasMagic2, uflag] = typeof p3 === "string" ? _AST.#parseGlob(p3, this.#hasMagic, noEmpty) : p3.toRegExpSource(allowDot);
9274
9290
  this.#hasMagic = this.#hasMagic || hasMagic2;
9275
9291
  this.#uflag = this.#uflag || uflag;
9276
- return re2;
9292
+ return re;
9277
9293
  }).join("");
9278
9294
  let start2 = "";
9279
9295
  if (this.isStart()) {
@@ -9347,25 +9363,25 @@ var AST = class _AST {
9347
9363
  if (typeof p3 === "string") {
9348
9364
  throw new Error("string type in extglob ast??");
9349
9365
  }
9350
- const [re2, _4, _hasMagic, uflag] = p3.toRegExpSource(dot);
9366
+ const [re, _4, _hasMagic, uflag] = p3.toRegExpSource(dot);
9351
9367
  this.#uflag = this.#uflag || uflag;
9352
- return re2;
9368
+ return re;
9353
9369
  }).filter((p3) => !(this.isStart() && this.isEnd()) || !!p3).join("|");
9354
9370
  }
9355
9371
  static #parseGlob(glob2, hasMagic2, noEmpty = false) {
9356
9372
  let escaping = false;
9357
- let re2 = "";
9373
+ let re = "";
9358
9374
  let uflag = false;
9359
9375
  for (let i2 = 0; i2 < glob2.length; i2++) {
9360
9376
  const c3 = glob2.charAt(i2);
9361
9377
  if (escaping) {
9362
9378
  escaping = false;
9363
- re2 += (reSpecials.has(c3) ? "\\" : "") + c3;
9379
+ re += (reSpecials.has(c3) ? "\\" : "") + c3;
9364
9380
  continue;
9365
9381
  }
9366
9382
  if (c3 === "\\") {
9367
9383
  if (i2 === glob2.length - 1) {
9368
- re2 += "\\\\";
9384
+ re += "\\\\";
9369
9385
  } else {
9370
9386
  escaping = true;
9371
9387
  }
@@ -9374,7 +9390,7 @@ var AST = class _AST {
9374
9390
  if (c3 === "[") {
9375
9391
  const [src, needUflag, consumed, magic] = parseClass(glob2, i2);
9376
9392
  if (consumed) {
9377
- re2 += src;
9393
+ re += src;
9378
9394
  uflag = uflag || needUflag;
9379
9395
  i2 += consumed - 1;
9380
9396
  hasMagic2 = hasMagic2 || magic;
@@ -9382,20 +9398,20 @@ var AST = class _AST {
9382
9398
  }
9383
9399
  }
9384
9400
  if (c3 === "*") {
9385
- if (noEmpty && glob2 === "*") re2 += starNoEmpty;
9386
- else re2 += star;
9401
+ if (noEmpty && glob2 === "*") re += starNoEmpty;
9402
+ else re += star;
9387
9403
  hasMagic2 = true;
9388
9404
  continue;
9389
9405
  }
9390
9406
  if (c3 === "?") {
9391
- re2 += qmark;
9407
+ re += qmark;
9392
9408
  hasMagic2 = true;
9393
9409
  continue;
9394
9410
  }
9395
- re2 += regExpEscape(c3);
9411
+ re += regExpEscape(c3);
9396
9412
  }
9397
9413
  return [
9398
- re2,
9414
+ re,
9399
9415
  unescape2(glob2),
9400
9416
  !!hasMagic2,
9401
9417
  uflag
@@ -9492,7 +9508,7 @@ var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
9492
9508
  var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
9493
9509
  var filter = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (pattern, options = {}) => (p3) => minimatch(p3, pattern, options), "filter");
9494
9510
  minimatch.filter = filter;
9495
- var ext = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (a2, b2 = {}) => Object.assign({}, a2, b2), "ext");
9511
+ var ext = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (a3, b2 = {}) => Object.assign({}, a3, b2), "ext");
9496
9512
  var defaults = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (def) => {
9497
9513
  if (!def || typeof def !== "object" || !Object.keys(def).length) {
9498
9514
  return minimatch;
@@ -9869,29 +9885,29 @@ var Minimatch = class {
9869
9885
  }
9870
9886
  return globParts.filter((gs) => gs.length);
9871
9887
  }
9872
- partsMatch(a2, b2, emptyGSMatch = false) {
9888
+ partsMatch(a3, b2, emptyGSMatch = false) {
9873
9889
  let ai = 0;
9874
9890
  let bi = 0;
9875
9891
  let result = [];
9876
9892
  let which = "";
9877
- while (ai < a2.length && bi < b2.length) {
9878
- if (a2[ai] === b2[bi]) {
9879
- result.push(which === "b" ? b2[bi] : a2[ai]);
9893
+ while (ai < a3.length && bi < b2.length) {
9894
+ if (a3[ai] === b2[bi]) {
9895
+ result.push(which === "b" ? b2[bi] : a3[ai]);
9880
9896
  ai++;
9881
9897
  bi++;
9882
- } else if (emptyGSMatch && a2[ai] === "**" && b2[bi] === a2[ai + 1]) {
9883
- result.push(a2[ai]);
9898
+ } else if (emptyGSMatch && a3[ai] === "**" && b2[bi] === a3[ai + 1]) {
9899
+ result.push(a3[ai]);
9884
9900
  ai++;
9885
- } else if (emptyGSMatch && b2[bi] === "**" && a2[ai] === b2[bi + 1]) {
9901
+ } else if (emptyGSMatch && b2[bi] === "**" && a3[ai] === b2[bi + 1]) {
9886
9902
  result.push(b2[bi]);
9887
9903
  bi++;
9888
- } else if (a2[ai] === "*" && b2[bi] && (this.options.dot || !b2[bi].startsWith(".")) && b2[bi] !== "**") {
9904
+ } else if (a3[ai] === "*" && b2[bi] && (this.options.dot || !b2[bi].startsWith(".")) && b2[bi] !== "**") {
9889
9905
  if (which === "b") return false;
9890
9906
  which = "a";
9891
- result.push(a2[ai]);
9907
+ result.push(a3[ai]);
9892
9908
  ai++;
9893
9909
  bi++;
9894
- } else if (b2[bi] === "*" && a2[ai] && (this.options.dot || !a2[ai].startsWith(".")) && a2[ai] !== "**") {
9910
+ } else if (b2[bi] === "*" && a3[ai] && (this.options.dot || !a3[ai].startsWith(".")) && a3[ai] !== "**") {
9895
9911
  if (which === "a") return false;
9896
9912
  which = "b";
9897
9913
  result.push(b2[bi]);
@@ -9901,7 +9917,7 @@ var Minimatch = class {
9901
9917
  return false;
9902
9918
  }
9903
9919
  }
9904
- return a2.length === b2.length && result;
9920
+ return a3.length === b2.length && result;
9905
9921
  }
9906
9922
  parseNegate() {
9907
9923
  if (this.nonegate) return;
@@ -10040,13 +10056,13 @@ var Minimatch = class {
10040
10056
  } else if (m2 = pattern.match(dotStarRE)) {
10041
10057
  fastTest = dotStarTest;
10042
10058
  }
10043
- const re2 = AST.fromGlob(pattern, this.options).toMMPattern();
10044
- if (fastTest && typeof re2 === "object") {
10045
- Reflect.defineProperty(re2, "test", {
10059
+ const re = AST.fromGlob(pattern, this.options).toMMPattern();
10060
+ if (fastTest && typeof re === "object") {
10061
+ Reflect.defineProperty(re, "test", {
10046
10062
  value: fastTest
10047
10063
  });
10048
10064
  }
10049
- return re2;
10065
+ return re;
10050
10066
  }
10051
10067
  makeRe() {
10052
10068
  if (this.regexp || this.regexp === false) return this.regexp;
@@ -10060,7 +10076,7 @@ var Minimatch = class {
10060
10076
  const flags = new Set(options.nocase ? [
10061
10077
  "i"
10062
10078
  ] : []);
10063
- let re2 = set3.map((pattern) => {
10079
+ let re = set3.map((pattern) => {
10064
10080
  const pp2 = pattern.map((p3) => {
10065
10081
  if (p3 instanceof RegExp) {
10066
10082
  for (const f2 of p3.flags.split("")) flags.add(f2);
@@ -10095,10 +10111,10 @@ var Minimatch = class {
10095
10111
  "",
10096
10112
  ""
10097
10113
  ];
10098
- re2 = "^" + open2 + re2 + close + "$";
10099
- if (this.negate) re2 = "^(?!" + re2 + ").+$";
10114
+ re = "^" + open2 + re + close + "$";
10115
+ if (this.negate) re = "^(?!" + re + ").+$";
10100
10116
  try {
10101
- this.regexp = new RegExp(re2, [
10117
+ this.regexp = new RegExp(re, [
10102
10118
  ...flags
10103
10119
  ].join(""));
10104
10120
  } catch (ex) {
@@ -10408,8 +10424,8 @@ var Minipass = (_class7 = class extends _events2.EventEmitter {
10408
10424
  * behavior. Ie, a sync stream can be made async, but an async stream
10409
10425
  * cannot be safely made sync.
10410
10426
  */
10411
- set ["async"](a2) {
10412
- this[ASYNC] = this[ASYNC] || !!a2;
10427
+ set ["async"](a3) {
10428
+ this[ASYNC] = this[ASYNC] || !!a3;
10413
10429
  }
10414
10430
  // drop everything and get out of the flow completely
10415
10431
  [ABORT]() {
@@ -11118,7 +11134,7 @@ var ChildrenCache = class extends LRUCache {
11118
11134
  super({
11119
11135
  maxSize,
11120
11136
  // parent + children
11121
- sizeCalculation: /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (a2) => a2.length + 1, "sizeCalculation")
11137
+ sizeCalculation: /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (a3) => a3.length + 1, "sizeCalculation")
11122
11138
  });
11123
11139
  }
11124
11140
  };
@@ -12219,21 +12235,21 @@ var PathScurryBase = class {
12219
12235
  * otherwise.
12220
12236
  */
12221
12237
  resolve(...paths) {
12222
- let r5 = "";
12238
+ let r4 = "";
12223
12239
  for (let i2 = paths.length - 1; i2 >= 0; i2--) {
12224
12240
  const p3 = paths[i2];
12225
12241
  if (!p3 || p3 === ".") continue;
12226
- r5 = r5 ? `${p3}/${r5}` : p3;
12242
+ r4 = r4 ? `${p3}/${r4}` : p3;
12227
12243
  if (this.isAbsolute(p3)) {
12228
12244
  break;
12229
12245
  }
12230
12246
  }
12231
- const cached = this.#resolveCache.get(r5);
12247
+ const cached = this.#resolveCache.get(r4);
12232
12248
  if (cached !== void 0) {
12233
12249
  return cached;
12234
12250
  }
12235
- const result = this.cwd.resolve(r5).fullpath();
12236
- this.#resolveCache.set(r5, result);
12251
+ const result = this.cwd.resolve(r4).fullpath();
12252
+ this.#resolveCache.set(r4, result);
12237
12253
  return result;
12238
12254
  }
12239
12255
  /**
@@ -12248,21 +12264,21 @@ var PathScurryBase = class {
12248
12264
  * otherwise.
12249
12265
  */
12250
12266
  resolvePosix(...paths) {
12251
- let r5 = "";
12267
+ let r4 = "";
12252
12268
  for (let i2 = paths.length - 1; i2 >= 0; i2--) {
12253
12269
  const p3 = paths[i2];
12254
12270
  if (!p3 || p3 === ".") continue;
12255
- r5 = r5 ? `${p3}/${r5}` : p3;
12271
+ r4 = r4 ? `${p3}/${r4}` : p3;
12256
12272
  if (this.isAbsolute(p3)) {
12257
12273
  break;
12258
12274
  }
12259
12275
  }
12260
- const cached = this.#resolvePosixCache.get(r5);
12276
+ const cached = this.#resolvePosixCache.get(r4);
12261
12277
  if (cached !== void 0) {
12262
12278
  return cached;
12263
12279
  }
12264
- const result = this.cwd.resolve(r5).fullpathPosix();
12265
- this.#resolvePosixCache.set(r5, result);
12280
+ const result = this.cwd.resolve(r4).fullpathPosix();
12281
+ this.#resolvePosixCache.set(r4, result);
12266
12282
  return result;
12267
12283
  }
12268
12284
  /**
@@ -12446,7 +12462,7 @@ var PathScurryBase = class {
12446
12462
  results.push(withFileTypes ? e2 : e2.fullpath());
12447
12463
  }
12448
12464
  if (follow && e2.isSymbolicLink()) {
12449
- e2.realpath().then((r5) => _optionalChain([r5, 'optionalAccess', _189 => _189.isUnknown, 'call', _190 => _190()]) ? r5.lstat() : r5).then((r5) => _optionalChain([r5, 'optionalAccess', _191 => _191.shouldWalk, 'call', _192 => _192(dirs, walkFilter)]) ? walk2(r5, next) : next());
12465
+ e2.realpath().then((r4) => _optionalChain([r4, 'optionalAccess', _189 => _189.isUnknown, 'call', _190 => _190()]) ? r4.lstat() : r4).then((r4) => _optionalChain([r4, 'optionalAccess', _191 => _191.shouldWalk, 'call', _192 => _192(dirs, walkFilter)]) ? walk2(r4, next) : next());
12450
12466
  } else {
12451
12467
  if (e2.shouldWalk(dirs, walkFilter)) {
12452
12468
  walk2(e2, next);
@@ -12486,13 +12502,13 @@ var PathScurryBase = class {
12486
12502
  if (!filter3 || filter3(e2)) {
12487
12503
  results.push(withFileTypes ? e2 : e2.fullpath());
12488
12504
  }
12489
- let r5 = e2;
12505
+ let r4 = e2;
12490
12506
  if (e2.isSymbolicLink()) {
12491
- if (!(follow && (r5 = e2.realpathSync()))) continue;
12492
- if (r5.isUnknown()) r5.lstatSync();
12507
+ if (!(follow && (r4 = e2.realpathSync()))) continue;
12508
+ if (r4.isUnknown()) r4.lstatSync();
12493
12509
  }
12494
- if (r5.shouldWalk(dirs, walkFilter)) {
12495
- dirs.add(r5);
12510
+ if (r4.shouldWalk(dirs, walkFilter)) {
12511
+ dirs.add(r4);
12496
12512
  }
12497
12513
  }
12498
12514
  }
@@ -12547,13 +12563,13 @@ var PathScurryBase = class {
12547
12563
  if (!filter3 || filter3(e2)) {
12548
12564
  yield withFileTypes ? e2 : e2.fullpath();
12549
12565
  }
12550
- let r5 = e2;
12566
+ let r4 = e2;
12551
12567
  if (e2.isSymbolicLink()) {
12552
- if (!(follow && (r5 = e2.realpathSync()))) continue;
12553
- if (r5.isUnknown()) r5.lstatSync();
12568
+ if (!(follow && (r4 = e2.realpathSync()))) continue;
12569
+ if (r4.isUnknown()) r4.lstatSync();
12554
12570
  }
12555
- if (r5.shouldWalk(dirs, walkFilter)) {
12556
- dirs.add(r5);
12571
+ if (r4.shouldWalk(dirs, walkFilter)) {
12572
+ dirs.add(r4);
12557
12573
  }
12558
12574
  }
12559
12575
  }
@@ -12593,7 +12609,7 @@ var PathScurryBase = class {
12593
12609
  const promises3 = [];
12594
12610
  for (const e2 of entries) {
12595
12611
  if (e2.isSymbolicLink()) {
12596
- promises3.push(e2.realpath().then((r5) => _optionalChain([r5, 'optionalAccess', _193 => _193.isUnknown, 'call', _194 => _194()]) ? r5.lstat() : r5));
12612
+ promises3.push(e2.realpath().then((r4) => _optionalChain([r4, 'optionalAccess', _193 => _193.isUnknown, 'call', _194 => _194()]) ? r4.lstat() : r4));
12597
12613
  }
12598
12614
  }
12599
12615
  if (promises3.length) {
@@ -12610,9 +12626,9 @@ var PathScurryBase = class {
12610
12626
  }
12611
12627
  processing--;
12612
12628
  for (const e2 of entries) {
12613
- const r5 = e2.realpathCached() || e2;
12614
- if (r5.shouldWalk(dirs, walkFilter)) {
12615
- queue.push(r5);
12629
+ const r4 = e2.realpathCached() || e2;
12630
+ if (r4.shouldWalk(dirs, walkFilter)) {
12631
+ queue.push(r4);
12616
12632
  }
12617
12633
  }
12618
12634
  if (paused && !results.flowing) {
@@ -12668,13 +12684,13 @@ var PathScurryBase = class {
12668
12684
  }
12669
12685
  processing--;
12670
12686
  for (const e2 of entries) {
12671
- let r5 = e2;
12687
+ let r4 = e2;
12672
12688
  if (e2.isSymbolicLink()) {
12673
- if (!(follow && (r5 = e2.realpathSync()))) continue;
12674
- if (r5.isUnknown()) r5.lstatSync();
12689
+ if (!(follow && (r4 = e2.realpathSync()))) continue;
12690
+ if (r4.isUnknown()) r4.lstatSync();
12675
12691
  }
12676
- if (r5.shouldWalk(dirs, walkFilter)) {
12677
- queue.push(r5);
12692
+ if (r4.shouldWalk(dirs, walkFilter)) {
12693
+ queue.push(r4);
12678
12694
  }
12679
12695
  }
12680
12696
  }
@@ -14084,7 +14100,7 @@ var rimrafPosixDir = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, async
14084
14100
  await ignoreENOENT(unlink2(path20));
14085
14101
  return true;
14086
14102
  }
14087
- const removedAll = (await Promise.all(entries.map((ent2) => rimrafPosixDir(_path.resolve.call(void 0, path20, ent2.name), opt, ent2)))).reduce((a2, b2) => a2 && b2, true);
14103
+ const removedAll = (await Promise.all(entries.map((ent2) => rimrafPosixDir(_path.resolve.call(void 0, path20, ent2.name), opt, ent2)))).reduce((a3, b2) => a3 && b2, true);
14088
14104
  if (!removedAll) {
14089
14105
  return false;
14090
14106
  }
@@ -14374,7 +14390,7 @@ var rimrafMoveRemoveDir = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0,
14374
14390
  await ignoreENOENT(tmpUnlink(path20, opt.tmp, unlinkFixEPERM));
14375
14391
  return true;
14376
14392
  }
14377
- const removedAll = (await Promise.all(entries.map((ent2) => rimrafMoveRemoveDir(_path.resolve.call(void 0, path20, ent2.name), opt, ent2)))).reduce((a2, b2) => a2 && b2, true);
14393
+ const removedAll = (await Promise.all(entries.map((ent2) => rimrafMoveRemoveDir(_path.resolve.call(void 0, path20, ent2.name), opt, ent2)))).reduce((a3, b2) => a3 && b2, true);
14378
14394
  if (!removedAll) {
14379
14395
  return false;
14380
14396
  }
@@ -14537,7 +14553,7 @@ var rimrafWindowsDir = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, asy
14537
14553
  return true;
14538
14554
  }
14539
14555
  const s = state === START ? CHILD : state;
14540
- const removedAll = (await Promise.all(entries.map((ent2) => rimrafWindowsDir(_path.resolve.call(void 0, path20, ent2.name), opt, ent2, s)))).reduce((a2, b2) => a2 && b2, true);
14556
+ const removedAll = (await Promise.all(entries.map((ent2) => rimrafWindowsDir(_path.resolve.call(void 0, path20, ent2.name), opt, ent2, s)))).reduce((a3, b2) => a3 && b2, true);
14541
14557
  if (state === START) {
14542
14558
  return rimrafWindowsDir(path20, opt, ent, FINISH);
14543
14559
  } else if (state === FINISH) {
@@ -14636,7 +14652,7 @@ var wrap = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (fn) => async (
14636
14652
  path20 = await glob(path20, options.glob);
14637
14653
  }
14638
14654
  if (Array.isArray(path20)) {
14639
- return !!(await Promise.all(path20.map((p3) => fn(path_arg_default(p3, options), options)))).reduce((a2, b2) => a2 && b2, true);
14655
+ return !!(await Promise.all(path20.map((p3) => fn(path_arg_default(p3, options), options)))).reduce((a3, b2) => a3 && b2, true);
14640
14656
  } else {
14641
14657
  return !!await fn(path_arg_default(path20, options), options);
14642
14658
  }
@@ -14647,7 +14663,7 @@ var wrapSync = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (fn) => (pa
14647
14663
  path20 = globSync(path20, options.glob);
14648
14664
  }
14649
14665
  if (Array.isArray(path20)) {
14650
- return !!path20.map((p3) => fn(path_arg_default(p3, options), options)).reduce((a2, b2) => a2 && b2, true);
14666
+ return !!path20.map((p3) => fn(path_arg_default(p3, options), options)).reduce((a3, b2) => a3 && b2, true);
14651
14667
  } else {
14652
14668
  return !!fn(path_arg_default(path20, options), options);
14653
14669
  }
@@ -14694,10 +14710,10 @@ rimraf.rimraf = rimraf;
14694
14710
  // src/context/services/BuildService.ts
14695
14711
  var _vite = require('vite');
14696
14712
  function _ts_decorate3(decorators, target, key, desc) {
14697
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
14698
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
14699
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
14700
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
14713
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
14714
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
14715
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
14716
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
14701
14717
  }
14702
14718
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate3, "_ts_decorate");
14703
14719
  function _ts_metadata3(k3, v3) {
@@ -18100,8 +18116,8 @@ pp$5.checkUnreserved = function(ref2) {
18100
18116
  if (this.options.ecmaVersion < 6 && this.input.slice(start, end).indexOf("\\") !== -1) {
18101
18117
  return;
18102
18118
  }
18103
- var re2 = this.strict ? this.reservedWordsStrict : this.reservedWords;
18104
- if (re2.test(name)) {
18119
+ var re = this.strict ? this.reservedWordsStrict : this.reservedWords;
18120
+ if (re.test(name)) {
18105
18121
  if (!this.inAsync && name === "await") {
18106
18122
  this.raiseRecoverable(start, "Cannot use keyword 'await' outside an async function");
18107
18123
  }
@@ -20569,7 +20585,7 @@ Parser.acorn = {
20569
20585
 
20570
20586
  // ../../node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.mjs
20571
20587
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
20572
- var r4 = String.fromCharCode;
20588
+ var r3 = String.fromCharCode;
20573
20589
  var TRAILING_SLASH_RE = /\/$|\/\?|\/#/;
20574
20590
  var JOIN_LEADING_SLASH_RE = /^\.?\//;
20575
20591
  function hasTrailingSlash(input = "", respectQueryAndFragment) {
@@ -21667,17 +21683,17 @@ function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, ba
21667
21683
  throw exportsNotFound(packageSubpath, packageJsonUrl, base);
21668
21684
  }
21669
21685
  _chunkYO2542IPcjs.__name.call(void 0, packageExportsResolve, "packageExportsResolve");
21670
- function patternKeyCompare(a2, b2) {
21671
- const aPatternIndex = a2.indexOf("*");
21686
+ function patternKeyCompare(a3, b2) {
21687
+ const aPatternIndex = a3.indexOf("*");
21672
21688
  const bPatternIndex = b2.indexOf("*");
21673
- const baseLengthA = aPatternIndex === -1 ? a2.length : aPatternIndex + 1;
21689
+ const baseLengthA = aPatternIndex === -1 ? a3.length : aPatternIndex + 1;
21674
21690
  const baseLengthB = bPatternIndex === -1 ? b2.length : bPatternIndex + 1;
21675
21691
  if (baseLengthA > baseLengthB) return -1;
21676
21692
  if (baseLengthB > baseLengthA) return 1;
21677
21693
  if (aPatternIndex === -1) return 1;
21678
21694
  if (bPatternIndex === -1) return -1;
21679
- if (a2.length > b2.length) return -1;
21680
- if (b2.length > a2.length) return 1;
21695
+ if (a3.length > b2.length) return -1;
21696
+ if (b2.length > a3.length) return 1;
21681
21697
  return 0;
21682
21698
  }
21683
21699
  _chunkYO2542IPcjs.__name.call(void 0, patternKeyCompare, "patternKeyCompare");
@@ -23715,10 +23731,10 @@ var MagicString = class _MagicString {
23715
23731
  }
23716
23732
  }
23717
23733
  _chunkYO2542IPcjs.__name.call(void 0, getReplacement, "getReplacement");
23718
- function matchAll(re2, str) {
23734
+ function matchAll(re, str) {
23719
23735
  let match2;
23720
23736
  const matches2 = [];
23721
- while (match2 = re2.exec(str)) {
23737
+ while (match2 = re.exec(str)) {
23722
23738
  matches2.push(match2);
23723
23739
  }
23724
23740
  return matches2;
@@ -24888,10 +24904,10 @@ _chunkYO2542IPcjs.__name.call(void 0, vitePluginWeappWorkers, "vitePluginWeappWo
24888
24904
 
24889
24905
  // src/context/services/ConfigService.ts
24890
24906
  function _ts_decorate4(decorators, target, key, desc) {
24891
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
24892
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
24893
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
24894
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
24907
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
24908
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
24909
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
24910
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
24895
24911
  }
24896
24912
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate4, "_ts_decorate");
24897
24913
  function _ts_metadata4(k3, v3) {
@@ -24930,7 +24946,7 @@ var ConfigService2 = class {
24930
24946
  this.defineEnv[key] = value;
24931
24947
  }
24932
24948
  async loadConfig(opts) {
24933
- const { cwd, isDev, mode, inlineConfig } = opts;
24949
+ const { cwd, isDev, mode, inlineConfig, configFile } = opts;
24934
24950
  const projectConfig = await getProjectConfig(cwd);
24935
24951
  const mpDistRoot = _nullishCoalesce(projectConfig.miniprogramRoot, () => ( projectConfig.srcMiniprogramRoot));
24936
24952
  if (!mpDistRoot) {
@@ -24944,10 +24960,14 @@ var ConfigService2 = class {
24944
24960
  }) || {};
24945
24961
  packageJson = localPackageJson;
24946
24962
  }
24963
+ let resolvedConfigFile = configFile;
24964
+ if (resolvedConfigFile && !_pathe2.default.isAbsolute(resolvedConfigFile)) {
24965
+ resolvedConfigFile = _pathe2.default.resolve(cwd, resolvedConfigFile);
24966
+ }
24947
24967
  const loaded = await _vite.loadConfigFromFile.call(void 0, {
24948
24968
  command: isDev ? "serve" : "build",
24949
24969
  mode
24950
- }, void 0, cwd);
24970
+ }, resolvedConfigFile, cwd);
24951
24971
  const loadedConfig = _optionalChain([loaded, 'optionalAccess', _376 => _376.config]);
24952
24972
  const srcRoot = _nullishCoalesce(_optionalChain([loadedConfig, 'optionalAccess', _377 => _377.weapp, 'optionalAccess', _378 => _378.srcRoot]), () => ( ""));
24953
24973
  function relativeSrcRoot(p3) {
@@ -25227,10 +25247,10 @@ var FileCache = class {
25227
25247
 
25228
25248
  // src/context/services/JsonService.ts
25229
25249
  function _ts_decorate5(decorators, target, key, desc) {
25230
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25231
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
25232
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
25233
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
25250
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25251
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
25252
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
25253
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
25234
25254
  }
25235
25255
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate5, "_ts_decorate");
25236
25256
  function _ts_metadata5(k3, v3) {
@@ -25308,10 +25328,10 @@ _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
25308
25328
 
25309
25329
 
25310
25330
  function _ts_decorate6(decorators, target, key, desc) {
25311
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25312
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
25313
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
25314
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
25331
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25332
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
25333
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
25334
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
25315
25335
  }
25316
25336
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate6, "_ts_decorate");
25317
25337
  function _ts_metadata6(k3, v3) {
@@ -25586,10 +25606,10 @@ _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
25586
25606
 
25587
25607
 
25588
25608
  function _ts_decorate7(decorators, target, key, desc) {
25589
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25590
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
25591
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
25592
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
25609
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25610
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
25611
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
25612
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
25593
25613
  }
25594
25614
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate7, "_ts_decorate");
25595
25615
  function _ts_metadata7(k3, v3) {
@@ -25723,10 +25743,10 @@ ScanService2 = _ts_decorate7([
25723
25743
  // src/context/services/WatcherService.ts
25724
25744
  _chunkYO2542IPcjs.init_cjs_shims.call(void 0, );
25725
25745
  function _ts_decorate8(decorators, target, key, desc) {
25726
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25727
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
25728
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
25729
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
25746
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
25747
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
25748
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
25749
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
25730
25750
  }
25731
25751
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate8, "_ts_decorate");
25732
25752
  function _ts_metadata8(k3, v3) {
@@ -34849,10 +34869,10 @@ _chunkYO2542IPcjs.__name.call(void 0, scanWxml, "scanWxml");
34849
34869
 
34850
34870
  // src/context/services/WxmlService.ts
34851
34871
  function _ts_decorate9(decorators, target, key, desc) {
34852
- var c3 = arguments.length, r5 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
34853
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r5 = Reflect.decorate(decorators, target, key, desc);
34854
- else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r5 = (c3 < 3 ? d2(r5) : c3 > 3 ? d2(target, key, r5) : d2(target, key)) || r5;
34855
- return c3 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
34872
+ var c3 = arguments.length, r4 = c3 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d2;
34873
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key, desc);
34874
+ else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2]) r4 = (c3 < 3 ? d2(r4) : c3 > 3 ? d2(target, key, r4) : d2(target, key)) || r4;
34875
+ return c3 > 3 && r4 && Object.defineProperty(target, key, r4), r4;
34856
34876
  }
34857
34877
  _chunkYO2542IPcjs.__name.call(void 0, _ts_decorate9, "_ts_decorate");
34858
34878
  function _ts_metadata9(k3, v3) {