weapp-vite 5.1.6 → 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.
- package/dist/{chunk-OCZPMHVC.cjs → chunk-GVEHQPBV.cjs} +567 -547
- package/dist/{chunk-DYKCBHH7.mjs → chunk-QRVLP2MU.mjs} +568 -548
- package/dist/cli.cjs +31 -18
- package/dist/cli.mjs +19 -6
- package/dist/{config-Pq-YH-NM.d.cts → config-BIqQ9USz.d.cts} +15 -14
- package/dist/{config-De9p_VEN.d.ts → config-Cf9WGlFE.d.ts} +15 -14
- package/dist/config.d.cts +3 -3
- package/dist/config.d.ts +3 -3
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/json.d.cts +3 -3
- package/dist/json.d.ts +3 -3
- package/dist/types.d.cts +4 -4
- package/dist/types.d.ts +4 -4
- package/package.json +11 -11
|
@@ -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,
|
|
1185
|
-
|
|
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
|
|
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,
|
|
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,
|
|
1207
|
+
return listeners.fn.call(listeners.context, a1, a22), true;
|
|
1208
1208
|
case 4:
|
|
1209
|
-
return listeners.fn.call(listeners.context, a1,
|
|
1209
|
+
return listeners.fn.call(listeners.context, a1, a22, a3), true;
|
|
1210
1210
|
case 5:
|
|
1211
|
-
return listeners.fn.call(listeners.context, a1,
|
|
1211
|
+
return listeners.fn.call(listeners.context, a1, a22, a3, a4), true;
|
|
1212
1212
|
case 6:
|
|
1213
|
-
return listeners.fn.call(listeners.context, a1,
|
|
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,
|
|
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,
|
|
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(
|
|
1303
|
-
if (
|
|
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
|
|
1306
|
-
return
|
|
1307
|
-
start:
|
|
1308
|
-
end:
|
|
1309
|
-
pre: str.slice(0,
|
|
1310
|
-
body: str.slice(
|
|
1311
|
-
post: str.slice(
|
|
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(
|
|
1321
|
+
function range(a3, b2, str) {
|
|
1322
1322
|
var begs, beg, left, right, result;
|
|
1323
|
-
var ai = str.indexOf(
|
|
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 (
|
|
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(
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
1620
|
+
function a(t5, n5, e2, u2) {
|
|
1621
1621
|
Reflect.defineMetadata(n5, e2, t5, u2);
|
|
1622
1622
|
}
|
|
1623
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
1623
|
+
_chunkYO2542IPcjs.__name.call(void 0, a, "a");
|
|
1624
1624
|
function i(t5, n5, e2, u2, f2) {
|
|
1625
|
-
const
|
|
1626
|
-
Reflect.defineMetadata(n5,
|
|
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@
|
|
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@
|
|
1637
|
-
var
|
|
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,
|
|
1640
|
-
return i2 === Number.MAX_SAFE_INTEGER ?
|
|
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,
|
|
1751
|
+
for (const [o, r4] of e2) {
|
|
1752
1752
|
const e3 = new Array();
|
|
1753
|
-
for (const t6 of
|
|
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
|
|
1811
|
-
function
|
|
1810
|
+
var h = "@inversifyjs/core/classMetadataReflectKey";
|
|
1811
|
+
function g() {
|
|
1812
1812
|
return {
|
|
1813
1813
|
constructorArguments: [],
|
|
1814
1814
|
lifecycle: {
|
|
1815
|
-
|
|
1816
|
-
|
|
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,
|
|
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,
|
|
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
|
|
2010
|
+
var x = class x2 extends p {
|
|
2011
2011
|
static {
|
|
2012
|
-
_chunkYO2542IPcjs.__name.call(void 0, this, "
|
|
2012
|
+
_chunkYO2542IPcjs.__name.call(void 0, this, "x");
|
|
2013
2013
|
}
|
|
2014
2014
|
_buildNewInstance(e2) {
|
|
2015
|
-
return new
|
|
2015
|
+
return new x2(e2);
|
|
2016
2016
|
}
|
|
2017
2017
|
_cloneModel(e2) {
|
|
2018
2018
|
return R(e2);
|
|
2019
2019
|
}
|
|
2020
2020
|
};
|
|
2021
|
-
var
|
|
2021
|
+
var T = class T2 {
|
|
2022
2022
|
static {
|
|
2023
|
-
_chunkYO2542IPcjs.__name.call(void 0, this, "
|
|
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.#
|
|
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.#
|
|
2039
|
+
}))), this.#v = e2, this.#h = t5;
|
|
2040
2040
|
}
|
|
2041
2041
|
static build(e2, t5) {
|
|
2042
|
-
return new
|
|
2042
|
+
return new T2(e2, t5);
|
|
2043
2043
|
}
|
|
2044
2044
|
clone() {
|
|
2045
|
-
return new
|
|
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.#
|
|
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.#
|
|
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.#
|
|
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.#
|
|
2078
|
+
return this.#g.get(w.serviceId, e2);
|
|
2079
2079
|
}
|
|
2080
2080
|
getNonParentBoundServices() {
|
|
2081
|
-
return this.#
|
|
2081
|
+
return this.#g.getAllKeys(w.serviceId);
|
|
2082
2082
|
}
|
|
2083
2083
|
removeById(e2) {
|
|
2084
|
-
this.#
|
|
2084
|
+
this.#g.removeByRelation(w.id, e2);
|
|
2085
2085
|
}
|
|
2086
2086
|
removeAllByModuleId(e2) {
|
|
2087
|
-
this.#
|
|
2087
|
+
this.#g.removeByRelation(w.moduleId, e2);
|
|
2088
2088
|
}
|
|
2089
2089
|
removeAllByServiceId(e2) {
|
|
2090
|
-
this.#
|
|
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.#
|
|
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.#
|
|
2101
|
-
const t5 = P(this.#
|
|
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
|
|
2252
|
-
return (i2, o,
|
|
2251
|
+
function z(e2, t5) {
|
|
2252
|
+
return (i2, o, r4) => {
|
|
2253
2253
|
try {
|
|
2254
|
-
void 0 ===
|
|
2255
|
-
const i3 =
|
|
2254
|
+
void 0 === r4 ? (function(e3, t6) {
|
|
2255
|
+
const i3 = L(e3, t6);
|
|
2256
2256
|
return (e4, t7) => {
|
|
2257
|
-
i(e4.constructor,
|
|
2257
|
+
i(e4.constructor, h, g, O(i3(e4), t7));
|
|
2258
2258
|
};
|
|
2259
|
-
})(e2, t5)(i2, o) : "number" == typeof
|
|
2260
|
-
const i3 =
|
|
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,
|
|
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,
|
|
2274
|
-
const i3 =
|
|
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,
|
|
2280
|
+
i(e4.constructor, h, g, O(i3(e4), t7));
|
|
2281
2281
|
};
|
|
2282
|
-
})(e2, t5)(i2, o,
|
|
2282
|
+
})(e2, t5)(i2, o, r4);
|
|
2283
2283
|
} catch (e3) {
|
|
2284
|
-
_(i2, o,
|
|
2284
|
+
_(i2, o, r4, e3);
|
|
2285
2285
|
}
|
|
2286
2286
|
};
|
|
2287
2287
|
}
|
|
2288
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
2289
|
-
function
|
|
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,
|
|
2295
|
+
_chunkYO2542IPcjs.__name.call(void 0, L, "L");
|
|
2296
2296
|
function U(e2) {
|
|
2297
|
-
return
|
|
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,
|
|
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
|
-
|
|
2337
|
-
})(o), G(o), void 0 !== i2 && i(o,
|
|
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
|
|
2344
|
+
function ue() {
|
|
2345
2345
|
return {
|
|
2346
2346
|
kind: S.unmanaged
|
|
2347
2347
|
};
|
|
2348
2348
|
}
|
|
2349
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
2350
|
-
var
|
|
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
|
|
2354
|
+
return ue();
|
|
2355
2355
|
});
|
|
2356
|
-
var
|
|
2357
|
-
function
|
|
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,
|
|
2362
|
-
function
|
|
2363
|
-
if (
|
|
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,
|
|
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
|
-
})(
|
|
2393
|
-
var
|
|
2394
|
-
var
|
|
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, "
|
|
2396
|
+
_chunkYO2542IPcjs.__name.call(void 0, this, "me");
|
|
2397
2397
|
}
|
|
2398
2398
|
|
|
2399
2399
|
|
|
2400
2400
|
|
|
2401
2401
|
constructor(e2, t5) {
|
|
2402
|
-
this[
|
|
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[
|
|
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
|
|
2432
|
+
var ye = class ye2 {
|
|
2433
2433
|
static {
|
|
2434
|
-
_chunkYO2542IPcjs.__name.call(void 0, this, "
|
|
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
|
|
2450
|
+
if (this.#M.elem.getAncestorsCalled = true, void 0 !== this.#M.previous) return new ye2(this.#M.previous);
|
|
2451
2451
|
}
|
|
2452
2452
|
};
|
|
2453
|
-
function
|
|
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,
|
|
2466
|
-
var
|
|
2465
|
+
_chunkYO2542IPcjs.__name.call(void 0, Me, "Me");
|
|
2466
|
+
var Ie = class Ie2 {
|
|
2467
2467
|
static {
|
|
2468
|
-
_chunkYO2542IPcjs.__name.call(void 0, this, "
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
2510
|
-
function
|
|
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,
|
|
2514
|
-
function
|
|
2515
|
-
const
|
|
2516
|
-
Array.isArray(e2) ? (function(e3, t6, n6, i3,
|
|
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)),
|
|
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 "${
|
|
2534
|
-
throw new M(I.planning,
|
|
2533
|
+
Trying to resolve bindings for "${Ne(n6, i3)}".${Pe(r5)}`;
|
|
2534
|
+
throw new M(I.planning, a3);
|
|
2535
2535
|
}
|
|
2536
|
-
t6 ||
|
|
2537
|
-
})(e2, t5,
|
|
2538
|
-
void 0 !== e3 || t6 ||
|
|
2539
|
-
})(e2, t5,
|
|
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,
|
|
2542
|
-
function
|
|
2543
|
-
const
|
|
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 "${
|
|
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,
|
|
2549
|
-
function
|
|
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,
|
|
2553
|
-
function
|
|
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,
|
|
2566
|
-
function
|
|
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,
|
|
2573
|
-
function
|
|
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 (
|
|
2576
|
+
return void (we(o) && Re(o, t5, n5, [
|
|
2577
2577
|
...i2,
|
|
2578
2578
|
o.binding.targetServiceIdentifier
|
|
2579
2579
|
]));
|
|
2580
2580
|
}
|
|
2581
|
-
|
|
2581
|
+
Ce(e2.redirections, t5, n5, i2);
|
|
2582
2582
|
}
|
|
2583
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
2584
|
-
function
|
|
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 (
|
|
2587
|
+
return void (we(i2) && Re(i2, t5, n5, [
|
|
2588
2588
|
i2.binding.targetServiceIdentifier
|
|
2589
2589
|
]));
|
|
2590
2590
|
}
|
|
2591
|
-
|
|
2591
|
+
Ce(e2.bindings, t5, n5, []);
|
|
2592
2592
|
}
|
|
2593
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
2594
|
-
function
|
|
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,
|
|
2598
|
-
function
|
|
2597
|
+
_chunkYO2542IPcjs.__name.call(void 0, Te, "Te");
|
|
2598
|
+
function je(e2) {
|
|
2599
2599
|
return (t5, n5, i2) => {
|
|
2600
|
-
const o =
|
|
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
|
|
2606
|
-
chained:
|
|
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,
|
|
2613
|
-
|
|
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,
|
|
2621
|
-
function
|
|
2620
|
+
_chunkYO2542IPcjs.__name.call(void 0, je, "je");
|
|
2621
|
+
function Be(e2) {
|
|
2622
2622
|
return (t5, n5, i2) => {
|
|
2623
|
-
const o =
|
|
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
|
|
2629
|
-
chained:
|
|
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,
|
|
2636
|
-
|
|
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,
|
|
2644
|
-
function
|
|
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
|
-
},
|
|
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(
|
|
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
|
-
},
|
|
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(
|
|
2671
|
+
return e3(r4, i3);
|
|
2672
2672
|
};
|
|
2673
|
-
})(e2), i2 = /* @__PURE__ */ _chunkYO2542IPcjs.__name.call(void 0, (e3, i3,
|
|
2674
|
-
const c3 =
|
|
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
|
|
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,
|
|
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
|
|
2697
|
+
const r4 = {
|
|
2698
2698
|
binding: i3,
|
|
2699
2699
|
redirections: []
|
|
2700
|
-
}, s =
|
|
2700
|
+
}, s = Me(t6, new ye(n6.last), {
|
|
2701
2701
|
chained: o2,
|
|
2702
2702
|
customServiceIdentifier: i3.targetServiceIdentifier
|
|
2703
2703
|
});
|
|
2704
|
-
return
|
|
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,
|
|
2710
|
-
function
|
|
2711
|
-
if (void 0 !== e2 && (
|
|
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,
|
|
2721
|
-
var
|
|
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, "
|
|
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,
|
|
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
|
|
2736
|
+
var De = class De2 extends me {
|
|
2737
2737
|
static {
|
|
2738
|
-
_chunkYO2542IPcjs.__name.call(void 0, this, "
|
|
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,
|
|
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
|
|
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
|
|
2790
|
-
return
|
|
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 [
|
|
2800
|
-
for (const [
|
|
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(
|
|
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 ===
|
|
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
|
|
2843
|
-
return
|
|
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 ===
|
|
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 [
|
|
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,
|
|
2859
|
-
var
|
|
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, "
|
|
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
|
|
2868
|
+
return Ue(this.#I);
|
|
2869
2869
|
}
|
|
2870
2870
|
};
|
|
2871
|
-
var
|
|
2872
|
-
var
|
|
2873
|
-
var
|
|
2874
|
-
function
|
|
2875
|
-
return
|
|
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,
|
|
2878
|
-
var
|
|
2877
|
+
_chunkYO2542IPcjs.__name.call(void 0, Le, "Le");
|
|
2878
|
+
var Ue = /* @__PURE__ */ (function(e2) {
|
|
2879
2879
|
return (t5) => {
|
|
2880
|
-
const n5 =
|
|
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 = [],
|
|
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,
|
|
2888
|
-
|
|
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
|
-
|
|
2890
|
+
a3.bindings = e3;
|
|
2891
2891
|
}
|
|
2892
|
-
return
|
|
2892
|
+
return a3;
|
|
2893
2893
|
};
|
|
2894
|
-
})(
|
|
2895
|
-
function
|
|
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 =
|
|
2914
|
+
const i2 = Ue(e2), o = {
|
|
2915
2915
|
tree: {
|
|
2916
|
-
root: new
|
|
2916
|
+
root: new Oe(e2, i2)
|
|
2917
2917
|
}
|
|
2918
2918
|
};
|
|
2919
2919
|
return e2.operations.setPlan(t5, o), o;
|
|
2920
2920
|
} catch (t5) {
|
|
2921
|
-
|
|
2921
|
+
he(e2, t5);
|
|
2922
2922
|
}
|
|
2923
2923
|
}
|
|
2924
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
2925
|
-
var
|
|
2924
|
+
_chunkYO2542IPcjs.__name.call(void 0, Ke, "Ke");
|
|
2925
|
+
var qe;
|
|
2926
2926
|
!(function(e2) {
|
|
2927
2927
|
e2.bindingAdded = "bindingAdded", e2.bindingRemoved = "bindingRemoved";
|
|
2928
|
-
})(
|
|
2929
|
-
var
|
|
2928
|
+
})(qe || (qe = {}));
|
|
2929
|
+
var Ge = class Ge2 {
|
|
2930
2930
|
static {
|
|
2931
|
-
_chunkYO2542IPcjs.__name.call(void 0, this, "
|
|
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.#
|
|
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.#
|
|
2952
|
+
this.#x(e3) && this.#T(e3);
|
|
2953
2953
|
}
|
|
2954
2954
|
}
|
|
2955
|
-
#
|
|
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
|
-
#
|
|
2961
|
+
#x(e2) {
|
|
2962
2962
|
return e2 >= 0.5 * this.#P.length;
|
|
2963
2963
|
}
|
|
2964
2964
|
};
|
|
2965
|
-
var
|
|
2966
|
-
return
|
|
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
|
|
2968
|
+
return He(e2, t5, n5);
|
|
2969
2969
|
}));
|
|
2970
|
-
var
|
|
2971
|
-
const t5 =
|
|
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
|
-
})(
|
|
2981
|
-
var
|
|
2982
|
-
const t5 =
|
|
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
|
-
})(
|
|
2992
|
-
function
|
|
2993
|
-
if (
|
|
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
|
|
2998
|
-
return !n5.isSatisfiedBy(
|
|
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
|
|
3002
|
+
let r5;
|
|
3003
3003
|
try {
|
|
3004
|
-
[
|
|
3004
|
+
[r5] = We(e3, i3, [
|
|
3005
3005
|
n6
|
|
3006
3006
|
], t6, o2);
|
|
3007
3007
|
} catch (e4) {
|
|
3008
|
-
if (
|
|
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 (!
|
|
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,
|
|
3030
|
+
})(t6, r5);
|
|
3031
3031
|
})(e2, t5, n5, i2, o);
|
|
3032
3032
|
}
|
|
3033
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3034
|
-
function
|
|
3035
|
-
if (
|
|
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
|
|
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
|
|
3045
|
-
if (Array.isArray(e2.bindings)) e2.bindings = e2.bindings.filter((e3) => e3.binding !== t5 || (
|
|
3046
|
-
else if (_optionalChain([e2, 'access', _37 => _37.bindings, 'optionalAccess', _38 => _38.binding]) === t5) if (
|
|
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 (!
|
|
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:
|
|
3052
|
+
bindingNodeRemoved: r4,
|
|
3053
3053
|
isContextFreeBinding: true
|
|
3054
3054
|
};
|
|
3055
3055
|
}
|
|
3056
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3057
|
-
var
|
|
3056
|
+
_chunkYO2542IPcjs.__name.call(void 0, Qe, "Qe");
|
|
3057
|
+
var Ye = class Ye2 {
|
|
3058
3058
|
static {
|
|
3059
|
-
_chunkYO2542IPcjs.__name.call(void 0, this, "
|
|
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
|
|
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.#
|
|
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
|
|
3098
|
+
let r4;
|
|
3099
3099
|
if (o) {
|
|
3100
|
-
|
|
3100
|
+
r4 = {
|
|
3101
3101
|
chained: !!(0 & t5),
|
|
3102
3102
|
isMultiple: o,
|
|
3103
3103
|
serviceIdentifier: e2.binding.serviceIdentifier
|
|
3104
3104
|
};
|
|
3105
|
-
} else
|
|
3105
|
+
} else r4 = {
|
|
3106
3106
|
isMultiple: o,
|
|
3107
3107
|
serviceIdentifier: e2.binding.serviceIdentifier
|
|
3108
3108
|
};
|
|
3109
|
-
return !!(1 & t5) && (
|
|
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:
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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,
|
|
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 ((!
|
|
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
|
|
3174
|
+
case qe.bindingAdded:
|
|
3175
3175
|
for (const [n5, i2] of t5) {
|
|
3176
|
-
const t6 =
|
|
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 &&
|
|
3181
|
+
t6.isContextFreeBinding ? t6.shouldInvalidateServiceNode && me.is(n5) && (this.#Q(n5), n5.invalidate()) : this.clearCache();
|
|
3182
3182
|
}
|
|
3183
3183
|
break;
|
|
3184
|
-
case
|
|
3184
|
+
case qe.bindingRemoved:
|
|
3185
3185
|
for (const [n5, i2] of t5) {
|
|
3186
|
-
const t6 =
|
|
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,
|
|
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 &&
|
|
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
|
|
3210
|
+
case qe.bindingAdded:
|
|
3211
3211
|
{
|
|
3212
|
-
const n6 = (
|
|
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
|
-
} :
|
|
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
|
|
3219
|
+
case qe.bindingRemoved: {
|
|
3220
3220
|
const n6 = (function(e3, t6, n7) {
|
|
3221
|
-
return
|
|
3221
|
+
return me.is(t6) && !t6.isExpanded() ? {
|
|
3222
3222
|
bindingNodeRemoved: void 0,
|
|
3223
3223
|
isContextFreeBinding: true
|
|
3224
|
-
} :
|
|
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
|
|
3230
|
+
var r4, s, a3;
|
|
3231
3231
|
}
|
|
3232
3232
|
};
|
|
3233
|
-
function
|
|
3234
|
-
if (
|
|
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 (
|
|
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,
|
|
3293
|
-
function
|
|
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) =>
|
|
3297
|
+
}, t5.then((t6) => tt(e2, t6))) : tt(e2, t5);
|
|
3298
3298
|
}
|
|
3299
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3300
|
-
function
|
|
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,
|
|
3307
|
-
function
|
|
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) ?
|
|
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
|
|
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,
|
|
3320
|
-
async function
|
|
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,
|
|
3326
|
-
function
|
|
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
|
|
3332
|
+
return nt(e2, t5.serviceIdentifier, i2);
|
|
3333
3333
|
}
|
|
3334
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3335
|
-
function
|
|
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
|
|
3338
|
+
return et(n5, ot(t5, n5, e2(t5, n5)));
|
|
3339
3339
|
};
|
|
3340
3340
|
}
|
|
3341
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3342
|
-
var
|
|
3341
|
+
_chunkYO2542IPcjs.__name.call(void 0, rt, "rt");
|
|
3342
|
+
var st = rt(function(e2, t5) {
|
|
3343
3343
|
return t5.value;
|
|
3344
3344
|
});
|
|
3345
|
-
function
|
|
3345
|
+
function at(e2) {
|
|
3346
3346
|
return e2;
|
|
3347
3347
|
}
|
|
3348
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3349
|
-
function
|
|
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
|
|
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 =
|
|
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
|
|
3362
|
+
return ot(n5, o, t5(n5, i2));
|
|
3363
3363
|
}
|
|
3364
3364
|
};
|
|
3365
3365
|
}
|
|
3366
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3367
|
-
var
|
|
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
|
|
3370
|
+
var ut = rt(function(e2, t5) {
|
|
3371
3371
|
return t5.factory(e2.context);
|
|
3372
3372
|
});
|
|
3373
|
-
function
|
|
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,
|
|
3401
|
-
function
|
|
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),
|
|
3404
|
-
return e(
|
|
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,
|
|
3408
|
-
var
|
|
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
|
|
3417
|
+
function ht(e2) {
|
|
3412
3418
|
return e2.binding;
|
|
3413
3419
|
}
|
|
3414
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3415
|
-
function
|
|
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,
|
|
3419
|
-
var
|
|
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 [
|
|
3423
|
-
const c3 = i2.classMetadata.properties.get(
|
|
3424
|
-
if (void 0 === c3) throw new M(I.resolution, `Expecting metadata at property "${
|
|
3425
|
-
c3.kind !== S.unmanaged && void 0 !==
|
|
3426
|
-
n5[
|
|
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
|
-
})(
|
|
3433
|
-
var
|
|
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
|
|
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
|
-
})(
|
|
3440
|
-
var
|
|
3445
|
+
})(St);
|
|
3446
|
+
var Mt = /* @__PURE__ */ (function(e2, t5, n5) {
|
|
3441
3447
|
return (i2, o) => {
|
|
3442
|
-
const
|
|
3443
|
-
return e(
|
|
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
|
-
})(
|
|
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
|
-
})(
|
|
3457
|
-
var
|
|
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
|
-
})(
|
|
3469
|
-
var
|
|
3470
|
-
var
|
|
3471
|
-
function
|
|
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
|
|
3479
|
+
return Nt(e2, e2.planResult.tree.root);
|
|
3474
3480
|
} catch (t5) {
|
|
3475
|
-
|
|
3481
|
+
Ze(e2, t5);
|
|
3476
3482
|
}
|
|
3477
3483
|
}
|
|
3478
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3479
|
-
function
|
|
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
|
|
3488
|
+
return st(e2, t5.binding);
|
|
3483
3489
|
case u.DynamicValue:
|
|
3484
|
-
return
|
|
3490
|
+
return dt(e2, t5.binding);
|
|
3485
3491
|
case u.Factory:
|
|
3486
|
-
return
|
|
3492
|
+
return ut(e2, t5.binding);
|
|
3487
3493
|
case u.Instance:
|
|
3488
|
-
return
|
|
3494
|
+
return bt(e2, t5);
|
|
3489
3495
|
case u.Provider:
|
|
3490
|
-
return
|
|
3496
|
+
return vt(e2, t5.binding);
|
|
3491
3497
|
case u.ResolvedValue:
|
|
3492
|
-
return
|
|
3498
|
+
return wt(e2, t5);
|
|
3493
3499
|
}
|
|
3494
3500
|
}
|
|
3495
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3496
|
-
function
|
|
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)
|
|
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 (
|
|
3504
|
-
const n5 =
|
|
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
|
|
3514
|
+
return St(e3, t6);
|
|
3509
3515
|
})(e2, t5.bindings);
|
|
3510
3516
|
}
|
|
3511
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3512
|
-
function
|
|
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,
|
|
3516
|
-
function
|
|
3517
|
-
if (
|
|
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,
|
|
3520
|
-
function
|
|
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) ?
|
|
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
|
|
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,
|
|
3532
|
-
async function
|
|
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,
|
|
3538
|
-
function
|
|
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) =>
|
|
3558
|
+
return e(i2) ? i2.then((e4) => Rt(n6, e4)) : Rt(n6, i2);
|
|
3543
3559
|
}
|
|
3544
3560
|
})(e2, t5);
|
|
3545
|
-
return void 0 === n5 ?
|
|
3561
|
+
return void 0 === n5 ? Bt(e2, t5) : n5.then(() => Bt(e2, t5));
|
|
3546
3562
|
}
|
|
3547
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3548
|
-
function
|
|
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) =>
|
|
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,
|
|
3553
|
-
function
|
|
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 ?
|
|
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,
|
|
3561
|
-
function
|
|
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)
|
|
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 =
|
|
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,
|
|
3576
|
-
function
|
|
3591
|
+
_chunkYO2542IPcjs.__name.call(void 0, kt, "kt");
|
|
3592
|
+
function $t(e2, t5) {
|
|
3577
3593
|
const n5 = e2.getBindingsFromModule(t5);
|
|
3578
|
-
return
|
|
3594
|
+
return kt(e2, n5);
|
|
3579
3595
|
}
|
|
3580
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
3581
|
-
function
|
|
3596
|
+
_chunkYO2542IPcjs.__name.call(void 0, $t, "$t");
|
|
3597
|
+
function Dt(e2, t5) {
|
|
3582
3598
|
const n5 = e2.getBindings(t5);
|
|
3583
|
-
return
|
|
3599
|
+
return kt(e2, n5);
|
|
3584
3600
|
}
|
|
3585
|
-
_chunkYO2542IPcjs.__name.call(void 0,
|
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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) =>
|
|
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:
|
|
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),
|
|
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 ===
|
|
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 =
|
|
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:
|
|
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 =
|
|
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:
|
|
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,
|
|
4135
|
-
this.#y = e2, this.#l = n5, this.#a = i2, this.#u = t5, this.#h =
|
|
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:
|
|
4202
|
+
kind: qe.bindingAdded
|
|
4187
4203
|
});
|
|
4188
4204
|
}
|
|
4189
4205
|
#m(...e2) {
|
|
4190
|
-
return e2.map((e3) =>
|
|
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:
|
|
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]),
|
|
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:
|
|
4384
|
+
optional: r4,
|
|
4369
4385
|
serviceIdentifier: n5,
|
|
4370
|
-
tag:
|
|
4386
|
+
tag: a3
|
|
4371
4387
|
} : {
|
|
4372
4388
|
isMultiple: e2,
|
|
4373
4389
|
name: t5,
|
|
4374
|
-
optional:
|
|
4390
|
+
optional: r4,
|
|
4375
4391
|
serviceIdentifier: n5,
|
|
4376
|
-
tag:
|
|
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),
|
|
4402
|
-
if (void 0 !==
|
|
4403
|
-
const
|
|
4404
|
-
for (const e3 of this.#j) e3(t5,
|
|
4405
|
-
return
|
|
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
|
|
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),
|
|
4467
|
-
this.#y = new _2(
|
|
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
|
-
}),
|
|
4560
|
+
}), T.build(() => {
|
|
4545
4561
|
}, t5), j.build(() => {
|
|
4546
|
-
}), new
|
|
4547
|
-
const
|
|
4548
|
-
return
|
|
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,
|
|
4578
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
4579
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
4580
|
-
return c3 > 3 &&
|
|
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,
|
|
6389
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
6390
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
6391
|
-
return c3 > 3 &&
|
|
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, (
|
|
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
|
|
8913
|
+
const r4 = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
|
|
8898
8914
|
return [
|
|
8899
|
-
regexpEscape(
|
|
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 [
|
|
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(`^${
|
|
9191
|
-
_src:
|
|
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 [
|
|
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
|
|
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 [
|
|
9366
|
+
const [re, _4, _hasMagic, uflag] = p3.toRegExpSource(dot);
|
|
9351
9367
|
this.#uflag = this.#uflag || uflag;
|
|
9352
|
-
return
|
|
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
|
|
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
|
-
|
|
9379
|
+
re += (reSpecials.has(c3) ? "\\" : "") + c3;
|
|
9364
9380
|
continue;
|
|
9365
9381
|
}
|
|
9366
9382
|
if (c3 === "\\") {
|
|
9367
9383
|
if (i2 === glob2.length - 1) {
|
|
9368
|
-
|
|
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
|
-
|
|
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 === "*")
|
|
9386
|
-
else
|
|
9401
|
+
if (noEmpty && glob2 === "*") re += starNoEmpty;
|
|
9402
|
+
else re += star;
|
|
9387
9403
|
hasMagic2 = true;
|
|
9388
9404
|
continue;
|
|
9389
9405
|
}
|
|
9390
9406
|
if (c3 === "?") {
|
|
9391
|
-
|
|
9407
|
+
re += qmark;
|
|
9392
9408
|
hasMagic2 = true;
|
|
9393
9409
|
continue;
|
|
9394
9410
|
}
|
|
9395
|
-
|
|
9411
|
+
re += regExpEscape(c3);
|
|
9396
9412
|
}
|
|
9397
9413
|
return [
|
|
9398
|
-
|
|
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, (
|
|
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(
|
|
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 <
|
|
9878
|
-
if (
|
|
9879
|
-
result.push(which === "b" ? b2[bi] :
|
|
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 &&
|
|
9883
|
-
result.push(
|
|
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] === "**" &&
|
|
9901
|
+
} else if (emptyGSMatch && b2[bi] === "**" && a3[ai] === b2[bi + 1]) {
|
|
9886
9902
|
result.push(b2[bi]);
|
|
9887
9903
|
bi++;
|
|
9888
|
-
} else if (
|
|
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(
|
|
9907
|
+
result.push(a3[ai]);
|
|
9892
9908
|
ai++;
|
|
9893
9909
|
bi++;
|
|
9894
|
-
} else if (b2[bi] === "*" &&
|
|
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
|
|
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
|
|
10044
|
-
if (fastTest && typeof
|
|
10045
|
-
Reflect.defineProperty(
|
|
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
|
|
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
|
|
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
|
-
|
|
10099
|
-
if (this.negate)
|
|
10114
|
+
re = "^" + open2 + re + close + "$";
|
|
10115
|
+
if (this.negate) re = "^(?!" + re + ").+$";
|
|
10100
10116
|
try {
|
|
10101
|
-
this.regexp = new RegExp(
|
|
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"](
|
|
10412
|
-
this[ASYNC] = this[ASYNC] || !!
|
|
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, (
|
|
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
|
|
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
|
-
|
|
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(
|
|
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(
|
|
12236
|
-
this.#resolveCache.set(
|
|
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
|
|
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
|
-
|
|
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(
|
|
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(
|
|
12265
|
-
this.#resolvePosixCache.set(
|
|
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((
|
|
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
|
|
12505
|
+
let r4 = e2;
|
|
12490
12506
|
if (e2.isSymbolicLink()) {
|
|
12491
|
-
if (!(follow && (
|
|
12492
|
-
if (
|
|
12507
|
+
if (!(follow && (r4 = e2.realpathSync()))) continue;
|
|
12508
|
+
if (r4.isUnknown()) r4.lstatSync();
|
|
12493
12509
|
}
|
|
12494
|
-
if (
|
|
12495
|
-
dirs.add(
|
|
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
|
|
12566
|
+
let r4 = e2;
|
|
12551
12567
|
if (e2.isSymbolicLink()) {
|
|
12552
|
-
if (!(follow && (
|
|
12553
|
-
if (
|
|
12568
|
+
if (!(follow && (r4 = e2.realpathSync()))) continue;
|
|
12569
|
+
if (r4.isUnknown()) r4.lstatSync();
|
|
12554
12570
|
}
|
|
12555
|
-
if (
|
|
12556
|
-
dirs.add(
|
|
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((
|
|
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
|
|
12614
|
-
if (
|
|
12615
|
-
queue.push(
|
|
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
|
|
12687
|
+
let r4 = e2;
|
|
12672
12688
|
if (e2.isSymbolicLink()) {
|
|
12673
|
-
if (!(follow && (
|
|
12674
|
-
if (
|
|
12689
|
+
if (!(follow && (r4 = e2.realpathSync()))) continue;
|
|
12690
|
+
if (r4.isUnknown()) r4.lstatSync();
|
|
12675
12691
|
}
|
|
12676
|
-
if (
|
|
12677
|
-
queue.push(
|
|
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((
|
|
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((
|
|
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((
|
|
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((
|
|
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((
|
|
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,
|
|
14698
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
14699
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
14700
|
-
return c3 > 3 &&
|
|
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
|
|
18104
|
-
if (
|
|
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
|
|
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(
|
|
21671
|
-
const aPatternIndex =
|
|
21686
|
+
function patternKeyCompare(a3, b2) {
|
|
21687
|
+
const aPatternIndex = a3.indexOf("*");
|
|
21672
21688
|
const bPatternIndex = b2.indexOf("*");
|
|
21673
|
-
const baseLengthA = 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 (
|
|
21680
|
-
if (b2.length >
|
|
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(
|
|
23734
|
+
function matchAll(re, str) {
|
|
23719
23735
|
let match2;
|
|
23720
23736
|
const matches2 = [];
|
|
23721
|
-
while (match2 =
|
|
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,
|
|
24892
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
24893
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
24894
|
-
return c3 > 3 &&
|
|
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
|
-
},
|
|
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,
|
|
25231
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
25232
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
25233
|
-
return c3 > 3 &&
|
|
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,
|
|
25312
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
25313
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
25314
|
-
return c3 > 3 &&
|
|
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,
|
|
25590
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
25591
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
25592
|
-
return c3 > 3 &&
|
|
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,
|
|
25727
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
25728
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
25729
|
-
return c3 > 3 &&
|
|
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,
|
|
34853
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
34854
|
-
else for (var i2 = decorators.length - 1; i2 >= 0; i2--) if (d2 = decorators[i2])
|
|
34855
|
-
return c3 > 3 &&
|
|
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) {
|