@firmer/mesh 0.0.1 → 0.0.2
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/http/consumer.d.ts +1 -1
- package/dist/mesh.js +445 -437
- package/dist/mesh.umd.cjs +7 -7
- package/dist/types/status.d.ts +3 -3
- package/package.json +1 -1
package/dist/mesh.js
CHANGED
|
@@ -113,13 +113,13 @@ class Ud {
|
|
|
113
113
|
* @param macro
|
|
114
114
|
*/
|
|
115
115
|
metadata(e, t, n) {
|
|
116
|
-
var s, a, S,
|
|
116
|
+
var s, a, S, R;
|
|
117
117
|
const o = (a = (s = this.annotations.get(t)) == null ? void 0 : s.get(n)) == null ? void 0 : a.get(e);
|
|
118
118
|
if (o)
|
|
119
119
|
return o;
|
|
120
|
-
const i = this.superclass(t, (
|
|
121
|
-
for (let
|
|
122
|
-
const P = (
|
|
120
|
+
const i = this.superclass(t, (b) => !0);
|
|
121
|
+
for (let b of i) {
|
|
122
|
+
const P = (R = (S = this.annotations.get(b)) == null ? void 0 : S.get(n)) == null ? void 0 : R.get(e);
|
|
123
123
|
if (P)
|
|
124
124
|
return P;
|
|
125
125
|
}
|
|
@@ -143,14 +143,14 @@ class Ud {
|
|
|
143
143
|
*/
|
|
144
144
|
register(e, t, n, o) {
|
|
145
145
|
var S;
|
|
146
|
-
const i = this.superclass(n, (
|
|
146
|
+
const i = this.superclass(n, (R) => this.metadata(e, R.constructor, R.constructor)), s = n.constructor ? 0 : ri.FUNCTION, a = i.length < 1 ? ri.ABSTRACT : 0;
|
|
147
147
|
i.length < 1 && i.push(n);
|
|
148
|
-
for (let
|
|
149
|
-
const
|
|
150
|
-
(S = this.tinder.get(
|
|
151
|
-
x.kind == n && console.log(`Object of ${
|
|
148
|
+
for (let R of i) {
|
|
149
|
+
const b = this.ak(e, t, R);
|
|
150
|
+
(S = this.tinder.get(b)) == null || S.forEach((x) => {
|
|
151
|
+
x.kind == n && console.log(`Object of ${R.name} named ${t} has been register already.`);
|
|
152
152
|
});
|
|
153
|
-
const P = new ri(e, t, n, i, o, s | a), U = this.tinder.computeIfy(
|
|
153
|
+
const P = new ri(e, t, n, i, o, s | a), U = this.tinder.computeIfy(b, (x) => new ln());
|
|
154
154
|
U.push(P), U.sort(
|
|
155
155
|
(x, j) => x.isabstract() || x.isfunction() ? 1 : j.isabstract() || x.isfunction() ? -1 : x.metadata.priority && j.metadata.priority ? x.metadata.priority - j.metadata.priority : 0
|
|
156
156
|
);
|
|
@@ -237,9 +237,9 @@ function $d() {
|
|
|
237
237
|
(function(t) {
|
|
238
238
|
var n = typeof globalThis == "object" ? globalThis : typeof Os == "object" ? Os : typeof self == "object" ? self : typeof this == "object" ? this : S(), o = i(e);
|
|
239
239
|
typeof n.Reflect < "u" && (o = i(n.Reflect, o)), t(o, n), typeof n.Reflect > "u" && (n.Reflect = e);
|
|
240
|
-
function i(
|
|
240
|
+
function i(R, b) {
|
|
241
241
|
return function(P, U) {
|
|
242
|
-
Object.defineProperty(
|
|
242
|
+
Object.defineProperty(R, P, { configurable: !0, writable: !0, value: U }), b && b(P, U);
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
function s() {
|
|
@@ -258,28 +258,28 @@ function $d() {
|
|
|
258
258
|
return s() || a();
|
|
259
259
|
}
|
|
260
260
|
})(function(t, n) {
|
|
261
|
-
var o = Object.prototype.hasOwnProperty, i = typeof Symbol == "function", s = i && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", a = i && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", S = typeof Object.create == "function",
|
|
261
|
+
var o = Object.prototype.hasOwnProperty, i = typeof Symbol == "function", s = i && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", a = i && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", S = typeof Object.create == "function", R = { __proto__: [] } instanceof Array, b = !S && !R, P = {
|
|
262
262
|
// create an object in dictionary mode (a.k.a. "slow" mode in v8)
|
|
263
263
|
create: S ? function() {
|
|
264
264
|
return g(/* @__PURE__ */ Object.create(null));
|
|
265
|
-
} :
|
|
265
|
+
} : R ? function() {
|
|
266
266
|
return g({ __proto__: null });
|
|
267
267
|
} : function() {
|
|
268
268
|
return g({});
|
|
269
269
|
},
|
|
270
|
-
has:
|
|
270
|
+
has: b ? function(l, m) {
|
|
271
271
|
return o.call(l, m);
|
|
272
272
|
} : function(l, m) {
|
|
273
273
|
return m in l;
|
|
274
274
|
},
|
|
275
|
-
get:
|
|
275
|
+
get: b ? function(l, m) {
|
|
276
276
|
return o.call(l, m) ? l[m] : void 0;
|
|
277
277
|
} : function(l, m) {
|
|
278
278
|
return l[m];
|
|
279
279
|
}
|
|
280
280
|
}, U = Object.getPrototypeOf(Function), x = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : u(), j = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : p(), N = typeof WeakMap == "function" ? WeakMap : y(), T = i ? Symbol.for("@reflect-metadata:registry") : void 0, L = Co(), H = Xt(L);
|
|
281
|
-
function J(l, m,
|
|
282
|
-
if (B(
|
|
281
|
+
function J(l, m, _, E) {
|
|
282
|
+
if (B(_)) {
|
|
283
283
|
if (!Kr(l))
|
|
284
284
|
throw new TypeError();
|
|
285
285
|
if (!Tn(m))
|
|
@@ -292,49 +292,49 @@ function $d() {
|
|
|
292
292
|
throw new TypeError();
|
|
293
293
|
if (!Pe(E) && !B(E) && !un(E))
|
|
294
294
|
throw new TypeError();
|
|
295
|
-
return un(E) && (E = void 0),
|
|
295
|
+
return un(E) && (E = void 0), _ = Pt(_), Ni(l, m, _, E);
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
t("decorate", J);
|
|
299
299
|
function Ce(l, m) {
|
|
300
|
-
function
|
|
300
|
+
function _(E, A) {
|
|
301
301
|
if (!Pe(E))
|
|
302
302
|
throw new TypeError();
|
|
303
303
|
if (!B(A) && !Fo(A))
|
|
304
304
|
throw new TypeError();
|
|
305
305
|
Mi(l, m, E, A);
|
|
306
306
|
}
|
|
307
|
-
return
|
|
307
|
+
return _;
|
|
308
308
|
}
|
|
309
309
|
t("metadata", Ce);
|
|
310
|
-
function K(l, m,
|
|
311
|
-
if (!Pe(
|
|
310
|
+
function K(l, m, _, E) {
|
|
311
|
+
if (!Pe(_))
|
|
312
312
|
throw new TypeError();
|
|
313
|
-
return B(E) || (E = Pt(E)), Mi(l, m,
|
|
313
|
+
return B(E) || (E = Pt(E)), Mi(l, m, _, E);
|
|
314
314
|
}
|
|
315
315
|
t("defineMetadata", K);
|
|
316
|
-
function bt(l, m,
|
|
316
|
+
function bt(l, m, _) {
|
|
317
317
|
if (!Pe(m))
|
|
318
318
|
throw new TypeError();
|
|
319
|
-
return B(
|
|
319
|
+
return B(_) || (_ = Pt(_)), Jr(l, m, _);
|
|
320
320
|
}
|
|
321
321
|
t("hasMetadata", bt);
|
|
322
|
-
function jt(l, m,
|
|
322
|
+
function jt(l, m, _) {
|
|
323
323
|
if (!Pe(m))
|
|
324
324
|
throw new TypeError();
|
|
325
|
-
return B(
|
|
325
|
+
return B(_) || (_ = Pt(_)), Xr(l, m, _);
|
|
326
326
|
}
|
|
327
327
|
t("hasOwnMetadata", jt);
|
|
328
|
-
function En(l, m,
|
|
328
|
+
function En(l, m, _) {
|
|
329
329
|
if (!Pe(m))
|
|
330
330
|
throw new TypeError();
|
|
331
|
-
return B(
|
|
331
|
+
return B(_) || (_ = Pt(_)), Ai(l, m, _);
|
|
332
332
|
}
|
|
333
333
|
t("getMetadata", En);
|
|
334
|
-
function _r(l, m,
|
|
334
|
+
function _r(l, m, _) {
|
|
335
335
|
if (!Pe(m))
|
|
336
336
|
throw new TypeError();
|
|
337
|
-
return B(
|
|
337
|
+
return B(_) || (_ = Pt(_)), Ii(l, m, _);
|
|
338
338
|
}
|
|
339
339
|
t("getOwnMetadata", _r);
|
|
340
340
|
function Io(l, m) {
|
|
@@ -349,24 +349,24 @@ function $d() {
|
|
|
349
349
|
return B(m) || (m = Pt(m)), Te(l, m);
|
|
350
350
|
}
|
|
351
351
|
t("getOwnMetadataKeys", Mo);
|
|
352
|
-
function Uo(l, m,
|
|
352
|
+
function Uo(l, m, _) {
|
|
353
353
|
if (!Pe(m))
|
|
354
354
|
throw new TypeError();
|
|
355
|
-
if (B(
|
|
355
|
+
if (B(_) || (_ = Pt(_)), !Pe(m))
|
|
356
356
|
throw new TypeError();
|
|
357
|
-
B(
|
|
357
|
+
B(_) || (_ = Pt(_));
|
|
358
358
|
var E = d(
|
|
359
359
|
m,
|
|
360
|
-
|
|
360
|
+
_,
|
|
361
361
|
/*Create*/
|
|
362
362
|
!1
|
|
363
363
|
);
|
|
364
|
-
return B(E) ? !1 : E.OrdinaryDeleteMetadata(l, m,
|
|
364
|
+
return B(E) ? !1 : E.OrdinaryDeleteMetadata(l, m, _);
|
|
365
365
|
}
|
|
366
366
|
t("deleteMetadata", Uo);
|
|
367
367
|
function $o(l, m) {
|
|
368
|
-
for (var
|
|
369
|
-
var E = l[
|
|
368
|
+
for (var _ = l.length - 1; _ >= 0; --_) {
|
|
369
|
+
var E = l[_], A = E(m);
|
|
370
370
|
if (!B(A) && !un(A)) {
|
|
371
371
|
if (!Tn(A))
|
|
372
372
|
throw new TypeError();
|
|
@@ -375,9 +375,9 @@ function $d() {
|
|
|
375
375
|
}
|
|
376
376
|
return m;
|
|
377
377
|
}
|
|
378
|
-
function Ni(l, m,
|
|
378
|
+
function Ni(l, m, _, E) {
|
|
379
379
|
for (var A = l.length - 1; A >= 0; --A) {
|
|
380
|
-
var q = l[A], D = q(m,
|
|
380
|
+
var q = l[A], D = q(m, _, E);
|
|
381
381
|
if (!B(D) && !un(D)) {
|
|
382
382
|
if (!Pe(D))
|
|
383
383
|
throw new TypeError();
|
|
@@ -386,59 +386,59 @@ function $d() {
|
|
|
386
386
|
}
|
|
387
387
|
return E;
|
|
388
388
|
}
|
|
389
|
-
function Jr(l, m,
|
|
390
|
-
var E = Xr(l, m,
|
|
389
|
+
function Jr(l, m, _) {
|
|
390
|
+
var E = Xr(l, m, _);
|
|
391
391
|
if (E)
|
|
392
392
|
return !0;
|
|
393
393
|
var A = ct(m);
|
|
394
|
-
return un(A) ? !1 : Jr(l, A,
|
|
394
|
+
return un(A) ? !1 : Jr(l, A, _);
|
|
395
395
|
}
|
|
396
|
-
function Xr(l, m,
|
|
396
|
+
function Xr(l, m, _) {
|
|
397
397
|
var E = d(
|
|
398
398
|
m,
|
|
399
|
-
|
|
399
|
+
_,
|
|
400
400
|
/*Create*/
|
|
401
401
|
!1
|
|
402
402
|
);
|
|
403
|
-
return B(E) ? !1 : Or(E.OrdinaryHasOwnMetadata(l, m,
|
|
403
|
+
return B(E) ? !1 : Or(E.OrdinaryHasOwnMetadata(l, m, _));
|
|
404
404
|
}
|
|
405
|
-
function Ai(l, m,
|
|
406
|
-
var E = Xr(l, m,
|
|
405
|
+
function Ai(l, m, _) {
|
|
406
|
+
var E = Xr(l, m, _);
|
|
407
407
|
if (E)
|
|
408
|
-
return Ii(l, m,
|
|
408
|
+
return Ii(l, m, _);
|
|
409
409
|
var A = ct(m);
|
|
410
410
|
if (!un(A))
|
|
411
|
-
return Ai(l, A,
|
|
411
|
+
return Ai(l, A, _);
|
|
412
412
|
}
|
|
413
|
-
function Ii(l, m,
|
|
413
|
+
function Ii(l, m, _) {
|
|
414
414
|
var E = d(
|
|
415
415
|
m,
|
|
416
|
-
|
|
416
|
+
_,
|
|
417
417
|
/*Create*/
|
|
418
418
|
!1
|
|
419
419
|
);
|
|
420
420
|
if (!B(E))
|
|
421
|
-
return E.OrdinaryGetOwnMetadata(l, m,
|
|
421
|
+
return E.OrdinaryGetOwnMetadata(l, m, _);
|
|
422
422
|
}
|
|
423
|
-
function Mi(l, m,
|
|
423
|
+
function Mi(l, m, _, E) {
|
|
424
424
|
var A = d(
|
|
425
|
-
|
|
425
|
+
_,
|
|
426
426
|
E,
|
|
427
427
|
/*Create*/
|
|
428
428
|
!0
|
|
429
429
|
);
|
|
430
|
-
A.OrdinaryDefineOwnMetadata(l, m,
|
|
430
|
+
A.OrdinaryDefineOwnMetadata(l, m, _, E);
|
|
431
431
|
}
|
|
432
432
|
function Ui(l, m) {
|
|
433
|
-
var
|
|
433
|
+
var _ = Te(l, m), E = ct(l);
|
|
434
434
|
if (E === null)
|
|
435
|
-
return
|
|
435
|
+
return _;
|
|
436
436
|
var A = Ui(E, m);
|
|
437
437
|
if (A.length <= 0)
|
|
438
|
-
return
|
|
439
|
-
if (
|
|
438
|
+
return _;
|
|
439
|
+
if (_.length <= 0)
|
|
440
440
|
return A;
|
|
441
|
-
for (var q = new j(), D = [], Y = 0, I =
|
|
441
|
+
for (var q = new j(), D = [], Y = 0, I = _; Y < I.length; Y++) {
|
|
442
442
|
var M = I[Y], $ = q.has(M);
|
|
443
443
|
$ || (q.add(M), D.push(M));
|
|
444
444
|
}
|
|
@@ -449,13 +449,13 @@ function $d() {
|
|
|
449
449
|
return D;
|
|
450
450
|
}
|
|
451
451
|
function Te(l, m) {
|
|
452
|
-
var
|
|
452
|
+
var _ = d(
|
|
453
453
|
l,
|
|
454
454
|
m,
|
|
455
455
|
/*create*/
|
|
456
456
|
!1
|
|
457
457
|
);
|
|
458
|
-
return
|
|
458
|
+
return _ ? _.OrdinaryOwnMetadataKeys(l, m) : [];
|
|
459
459
|
}
|
|
460
460
|
function ke(l) {
|
|
461
461
|
if (l === null)
|
|
@@ -504,9 +504,9 @@ function $d() {
|
|
|
504
504
|
case 5:
|
|
505
505
|
return l;
|
|
506
506
|
}
|
|
507
|
-
var
|
|
507
|
+
var _ = "string", E = Rr(l, s);
|
|
508
508
|
if (E !== void 0) {
|
|
509
|
-
var A = E.call(l,
|
|
509
|
+
var A = E.call(l, _);
|
|
510
510
|
if (Pe(A))
|
|
511
511
|
throw new TypeError();
|
|
512
512
|
return A;
|
|
@@ -514,7 +514,7 @@ function $d() {
|
|
|
514
514
|
return xn(l);
|
|
515
515
|
}
|
|
516
516
|
function xn(l, m) {
|
|
517
|
-
var
|
|
517
|
+
var _, E, A;
|
|
518
518
|
{
|
|
519
519
|
var q = l.toString;
|
|
520
520
|
if (kt(q)) {
|
|
@@ -522,9 +522,9 @@ function $d() {
|
|
|
522
522
|
if (!Pe(E))
|
|
523
523
|
return E;
|
|
524
524
|
}
|
|
525
|
-
var
|
|
526
|
-
if (kt(
|
|
527
|
-
var E =
|
|
525
|
+
var _ = l.valueOf;
|
|
526
|
+
if (kt(_)) {
|
|
527
|
+
var E = _.call(l);
|
|
528
528
|
if (!Pe(E))
|
|
529
529
|
return E;
|
|
530
530
|
}
|
|
@@ -564,21 +564,21 @@ function $d() {
|
|
|
564
564
|
return l === m || l !== l && m !== m;
|
|
565
565
|
}
|
|
566
566
|
function Rr(l, m) {
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
569
|
-
if (!kt(
|
|
567
|
+
var _ = l[m];
|
|
568
|
+
if (_ != null) {
|
|
569
|
+
if (!kt(_))
|
|
570
570
|
throw new TypeError();
|
|
571
|
-
return
|
|
571
|
+
return _;
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
function Bi(l) {
|
|
575
575
|
var m = Rr(l, a);
|
|
576
576
|
if (!kt(m))
|
|
577
577
|
throw new TypeError();
|
|
578
|
-
var
|
|
579
|
-
if (!Pe(
|
|
578
|
+
var _ = m.call(l);
|
|
579
|
+
if (!Pe(_))
|
|
580
580
|
throw new TypeError();
|
|
581
|
-
return
|
|
581
|
+
return _;
|
|
582
582
|
}
|
|
583
583
|
function Di(l) {
|
|
584
584
|
return l.value;
|
|
@@ -595,7 +595,7 @@ function $d() {
|
|
|
595
595
|
var m = Object.getPrototypeOf(l);
|
|
596
596
|
if (typeof l != "function" || l === U || m !== U)
|
|
597
597
|
return m;
|
|
598
|
-
var
|
|
598
|
+
var _ = l.prototype, E = _ && Object.getPrototypeOf(_);
|
|
599
599
|
if (E == null || E === Object.prototype)
|
|
600
600
|
return m;
|
|
601
601
|
var A = E.constructor;
|
|
@@ -604,7 +604,7 @@ function $d() {
|
|
|
604
604
|
function Zr() {
|
|
605
605
|
var l;
|
|
606
606
|
!B(T) && typeof n.Reflect < "u" && !(T in n.Reflect) && typeof n.Reflect.defineMetadata == "function" && (l = Bo(n.Reflect));
|
|
607
|
-
var m,
|
|
607
|
+
var m, _, E, A = new N(), q = {
|
|
608
608
|
registerProvider: D,
|
|
609
609
|
getProvider: I,
|
|
610
610
|
setProvider: $
|
|
@@ -621,10 +621,10 @@ function $d() {
|
|
|
621
621
|
break;
|
|
622
622
|
case m === F:
|
|
623
623
|
break;
|
|
624
|
-
case B(
|
|
625
|
-
|
|
624
|
+
case B(_):
|
|
625
|
+
_ = F;
|
|
626
626
|
break;
|
|
627
|
-
case
|
|
627
|
+
case _ === F:
|
|
628
628
|
break;
|
|
629
629
|
default:
|
|
630
630
|
E === void 0 && (E = new j()), E.add(F);
|
|
@@ -635,8 +635,8 @@ function $d() {
|
|
|
635
635
|
if (!B(m)) {
|
|
636
636
|
if (m.isProviderFor(F, Q))
|
|
637
637
|
return m;
|
|
638
|
-
if (!B(
|
|
639
|
-
if (
|
|
638
|
+
if (!B(_)) {
|
|
639
|
+
if (_.isProviderFor(F, Q))
|
|
640
640
|
return m;
|
|
641
641
|
if (!B(E))
|
|
642
642
|
for (var Oe = Bi(E); ; ) {
|
|
@@ -659,7 +659,7 @@ function $d() {
|
|
|
659
659
|
function M(F) {
|
|
660
660
|
if (B(F))
|
|
661
661
|
throw new TypeError();
|
|
662
|
-
return m === F ||
|
|
662
|
+
return m === F || _ === F || !B(E) && E.has(F);
|
|
663
663
|
}
|
|
664
664
|
function $(F, Q, Oe) {
|
|
665
665
|
if (!M(Oe))
|
|
@@ -684,7 +684,7 @@ function $d() {
|
|
|
684
684
|
}), l;
|
|
685
685
|
}
|
|
686
686
|
function Xt(l) {
|
|
687
|
-
var m = new N(),
|
|
687
|
+
var m = new N(), _ = {
|
|
688
688
|
isProviderFor: function(M, $) {
|
|
689
689
|
var F = m.get(M);
|
|
690
690
|
return B(F) ? !1 : F.has($);
|
|
@@ -695,7 +695,7 @@ function $d() {
|
|
|
695
695
|
OrdinaryOwnMetadataKeys: Y,
|
|
696
696
|
OrdinaryDeleteMetadata: I
|
|
697
697
|
};
|
|
698
|
-
return L.registerProvider(
|
|
698
|
+
return L.registerProvider(_), _;
|
|
699
699
|
function E(M, $, F) {
|
|
700
700
|
var Q = m.get(M), Oe = !1;
|
|
701
701
|
if (B(Q)) {
|
|
@@ -707,7 +707,7 @@ function $d() {
|
|
|
707
707
|
if (B(Ne)) {
|
|
708
708
|
if (!F)
|
|
709
709
|
return;
|
|
710
|
-
if (Ne = new x(), Q.set($, Ne), !l.setProvider(M, $,
|
|
710
|
+
if (Ne = new x(), Q.set($, Ne), !l.setProvider(M, $, _))
|
|
711
711
|
throw Q.delete($), Oe && m.delete(M), new Error("Wrong provider for target.");
|
|
712
712
|
}
|
|
713
713
|
return Ne;
|
|
@@ -783,31 +783,31 @@ function $d() {
|
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
function Bo(l) {
|
|
786
|
-
var m = l.defineMetadata,
|
|
786
|
+
var m = l.defineMetadata, _ = l.hasOwnMetadata, E = l.getOwnMetadata, A = l.getOwnMetadataKeys, q = l.deleteMetadata, D = new N(), Y = {
|
|
787
787
|
isProviderFor: function(I, M) {
|
|
788
788
|
var $ = D.get(I);
|
|
789
789
|
return !B($) && $.has(M) ? !0 : A(I, M).length ? (B($) && ($ = new j(), D.set(I, $)), $.add(M), !0) : !1;
|
|
790
790
|
},
|
|
791
791
|
OrdinaryDefineOwnMetadata: m,
|
|
792
|
-
OrdinaryHasOwnMetadata:
|
|
792
|
+
OrdinaryHasOwnMetadata: _,
|
|
793
793
|
OrdinaryGetOwnMetadata: E,
|
|
794
794
|
OrdinaryOwnMetadataKeys: A,
|
|
795
795
|
OrdinaryDeleteMetadata: q
|
|
796
796
|
};
|
|
797
797
|
return Y;
|
|
798
798
|
}
|
|
799
|
-
function d(l, m,
|
|
799
|
+
function d(l, m, _) {
|
|
800
800
|
var E = L.getProvider(l, m);
|
|
801
801
|
if (!B(E))
|
|
802
802
|
return E;
|
|
803
|
-
if (
|
|
803
|
+
if (_) {
|
|
804
804
|
if (L.setProvider(l, m, H))
|
|
805
805
|
return H;
|
|
806
806
|
throw new Error("Illegal state.");
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
809
|
function u() {
|
|
810
|
-
var l = {}, m = [],
|
|
810
|
+
var l = {}, m = [], _ = (
|
|
811
811
|
/** @class */
|
|
812
812
|
function() {
|
|
813
813
|
function Y(I, M, $) {
|
|
@@ -877,11 +877,11 @@ function $d() {
|
|
|
877
877
|
}, Y.prototype.clear = function() {
|
|
878
878
|
this._keys.length = 0, this._values.length = 0, this._cacheKey = l, this._cacheIndex = -2;
|
|
879
879
|
}, Y.prototype.keys = function() {
|
|
880
|
-
return new
|
|
880
|
+
return new _(this._keys, this._values, A);
|
|
881
881
|
}, Y.prototype.values = function() {
|
|
882
|
-
return new
|
|
882
|
+
return new _(this._keys, this._values, q);
|
|
883
883
|
}, Y.prototype.entries = function() {
|
|
884
|
-
return new
|
|
884
|
+
return new _(this._keys, this._values, D);
|
|
885
885
|
}, Y.prototype["@@iterator"] = function() {
|
|
886
886
|
return this.entries();
|
|
887
887
|
}, Y.prototype[a] = function() {
|
|
@@ -923,12 +923,12 @@ function $d() {
|
|
|
923
923
|
},
|
|
924
924
|
enumerable: !0,
|
|
925
925
|
configurable: !0
|
|
926
|
-
}), m.prototype.has = function(
|
|
927
|
-
return this._map.has(
|
|
928
|
-
}, m.prototype.add = function(
|
|
929
|
-
return this._map.set(
|
|
930
|
-
}, m.prototype.delete = function(
|
|
931
|
-
return this._map.delete(
|
|
926
|
+
}), m.prototype.has = function(_) {
|
|
927
|
+
return this._map.has(_);
|
|
928
|
+
}, m.prototype.add = function(_) {
|
|
929
|
+
return this._map.set(_, _), this;
|
|
930
|
+
}, m.prototype.delete = function(_) {
|
|
931
|
+
return this._map.delete(_);
|
|
932
932
|
}, m.prototype.clear = function() {
|
|
933
933
|
this._map.clear();
|
|
934
934
|
}, m.prototype.keys = function() {
|
|
@@ -947,7 +947,7 @@ function $d() {
|
|
|
947
947
|
return l;
|
|
948
948
|
}
|
|
949
949
|
function y() {
|
|
950
|
-
var l = 16, m = P.create(),
|
|
950
|
+
var l = 16, m = P.create(), _ = E();
|
|
951
951
|
return (
|
|
952
952
|
/** @class */
|
|
953
953
|
function() {
|
|
@@ -995,12 +995,12 @@ function $d() {
|
|
|
995
995
|
return m[I] = !0, I;
|
|
996
996
|
}
|
|
997
997
|
function A(I, M) {
|
|
998
|
-
if (!o.call(I,
|
|
998
|
+
if (!o.call(I, _)) {
|
|
999
999
|
if (!M)
|
|
1000
1000
|
return;
|
|
1001
|
-
Object.defineProperty(I,
|
|
1001
|
+
Object.defineProperty(I, _, { value: P.create() });
|
|
1002
1002
|
}
|
|
1003
|
-
return I[
|
|
1003
|
+
return I[_];
|
|
1004
1004
|
}
|
|
1005
1005
|
function q(I, M) {
|
|
1006
1006
|
for (var $ = 0; $ < M; ++$)
|
|
@@ -1127,7 +1127,7 @@ function k(r = "", e = "", t = 0, n = !1) {
|
|
|
1127
1127
|
return o.decorate.bind(o);
|
|
1128
1128
|
}
|
|
1129
1129
|
class $e {
|
|
1130
|
-
constructor(e, t, n, o, i, s, a, S,
|
|
1130
|
+
constructor(e, t, n, o, i, s, a, S, R, b, P, U, x, j) {
|
|
1131
1131
|
c(this, "name");
|
|
1132
1132
|
c(this, "version");
|
|
1133
1133
|
c(this, "proto");
|
|
@@ -1144,7 +1144,7 @@ class $e {
|
|
|
1144
1144
|
c(this, "kind");
|
|
1145
1145
|
c(this, "retype");
|
|
1146
1146
|
c(this, "attributes", /* @__PURE__ */ new Map());
|
|
1147
|
-
this.name = e, this.version = t, this.proto = n, this.codec = o, this.flags = i, this.timeout = s, this.retries = a, this.mdc = S, this.zone =
|
|
1147
|
+
this.name = e, this.version = t, this.proto = n, this.codec = o, this.flags = i, this.timeout = s, this.retries = a, this.mdc = S, this.zone = R, this.cluster = b, this.cell = P, this.group = U, this.address = x, this.retype = j;
|
|
1148
1148
|
}
|
|
1149
1149
|
decorate(e, t, n) {
|
|
1150
1150
|
if (typeof t == "string" && this.attributes.set("name", t), !n) {
|
|
@@ -1154,7 +1154,7 @@ class $e {
|
|
|
1154
1154
|
return this.kind = Reflect.getMetadata("design:returntype", e, t), Se.annotate($e, n.value, e.constructor, this), n;
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function w(r = "", e = Object, t = 1e4, n = "1.0.0", o = "grpc", i = "json", s = 0, a = 3, S = "", R = "", b = "", P = "", U = "", x = "") {
|
|
1158
1158
|
const j = new $e(
|
|
1159
1159
|
r,
|
|
1160
1160
|
n,
|
|
@@ -1164,8 +1164,8 @@ function R(r = "", e = Object, t = 1e4, n = "1.0.0", o = "grpc", i = "json", s =
|
|
|
1164
1164
|
t,
|
|
1165
1165
|
a,
|
|
1166
1166
|
S,
|
|
1167
|
-
|
|
1168
|
-
|
|
1167
|
+
R,
|
|
1168
|
+
b,
|
|
1169
1169
|
P,
|
|
1170
1170
|
U,
|
|
1171
1171
|
x,
|
|
@@ -3805,9 +3805,15 @@ const lo = class lo {
|
|
|
3805
3805
|
this.values = e;
|
|
3806
3806
|
}
|
|
3807
3807
|
from(e) {
|
|
3808
|
-
for (let t of this.values)
|
|
3809
|
-
if (t.code
|
|
3808
|
+
for (let t of this.values) {
|
|
3809
|
+
if (typeof t.code != "number" || typeof e != "number") {
|
|
3810
|
+
if (t.code == e)
|
|
3811
|
+
return t;
|
|
3812
|
+
continue;
|
|
3813
|
+
}
|
|
3814
|
+
if (t.code === (t.code & e))
|
|
3810
3815
|
return t;
|
|
3816
|
+
}
|
|
3811
3817
|
return this.values[0];
|
|
3812
3818
|
}
|
|
3813
3819
|
asMap() {
|
|
@@ -4386,7 +4392,7 @@ let bn = class {
|
|
|
4386
4392
|
}
|
|
4387
4393
|
};
|
|
4388
4394
|
vn([
|
|
4389
|
-
|
|
4395
|
+
w("${mesh.name}.builtin.doc", String),
|
|
4390
4396
|
cr(0, f(0, "name", String)),
|
|
4391
4397
|
cr(1, f(1, "formatter", String)),
|
|
4392
4398
|
we("design:type", Function),
|
|
@@ -4394,33 +4400,33 @@ vn([
|
|
|
4394
4400
|
we("design:returntype", typeof (fc = typeof Promise < "u" && Promise) == "function" ? fc : Object)
|
|
4395
4401
|
], bn.prototype, "doc", null);
|
|
4396
4402
|
vn([
|
|
4397
|
-
|
|
4403
|
+
w("${mesh.name}.builtin.version", Ro),
|
|
4398
4404
|
we("design:type", Function),
|
|
4399
4405
|
we("design:paramtypes", [Object]),
|
|
4400
4406
|
we("design:returntype", typeof (dc = typeof Promise < "u" && Promise) == "function" ? dc : Object)
|
|
4401
4407
|
], bn.prototype, "version", null);
|
|
4402
4408
|
vn([
|
|
4403
|
-
|
|
4409
|
+
w("${mesh.name}.builtin.debug", Object),
|
|
4404
4410
|
cr(0, f(0, "features", [Map, String, String])),
|
|
4405
4411
|
we("design:type", Function),
|
|
4406
4412
|
we("design:paramtypes", [typeof (lc = typeof Record < "u" && Record) == "function" ? lc : Object, Object]),
|
|
4407
4413
|
we("design:returntype", typeof (yc = typeof Promise < "u" && Promise) == "function" ? yc : Object)
|
|
4408
4414
|
], bn.prototype, "debug", null);
|
|
4409
4415
|
vn([
|
|
4410
|
-
|
|
4416
|
+
w("${mesh.name}.builtin.stats", [Map, String, String]),
|
|
4411
4417
|
cr(0, f(0, "features", [Array, String])),
|
|
4412
4418
|
we("design:type", Function),
|
|
4413
4419
|
we("design:paramtypes", [Array, Object]),
|
|
4414
4420
|
we("design:returntype", typeof (mc = typeof Promise < "u" && Promise) == "function" ? mc : Object)
|
|
4415
4421
|
], bn.prototype, "stats", null);
|
|
4416
4422
|
vn([
|
|
4417
|
-
|
|
4423
|
+
w("${mesh.name}.builtin.fallback", Object),
|
|
4418
4424
|
we("design:type", Function),
|
|
4419
4425
|
we("design:paramtypes", [Object]),
|
|
4420
4426
|
we("design:returntype", typeof (hc = typeof Promise < "u" && Promise) == "function" ? hc : Object)
|
|
4421
4427
|
], bn.prototype, "fallback", null);
|
|
4422
4428
|
vn([
|
|
4423
|
-
|
|
4429
|
+
w("${mesh.name}.builtin.dump", [Map, String, String]),
|
|
4424
4430
|
cr(0, f(0, "names", [Array, String])),
|
|
4425
4431
|
we("design:type", Function),
|
|
4426
4432
|
we("design:paramtypes", [Array, Object]),
|
|
@@ -4536,28 +4542,28 @@ let St = class {
|
|
|
4536
4542
|
}
|
|
4537
4543
|
};
|
|
4538
4544
|
Wt([
|
|
4539
|
-
|
|
4545
|
+
w("mesh.cache.get", ft),
|
|
4540
4546
|
it(0, f(0, "key", String)),
|
|
4541
4547
|
ue("design:type", Function),
|
|
4542
4548
|
ue("design:paramtypes", [String, Object]),
|
|
4543
4549
|
ue("design:returntype", typeof (Rc = typeof Promise < "u" && Promise) == "function" ? Rc : Object)
|
|
4544
4550
|
], St.prototype, "get", null);
|
|
4545
4551
|
Wt([
|
|
4546
|
-
|
|
4552
|
+
w("mesh.cache.put", Object),
|
|
4547
4553
|
it(0, f(0, "cell", ft)),
|
|
4548
4554
|
ue("design:type", Function),
|
|
4549
4555
|
ue("design:paramtypes", [typeof (Sc = typeof ft < "u" && ft) == "function" ? Sc : Object, Object]),
|
|
4550
4556
|
ue("design:returntype", typeof (wc = typeof Promise < "u" && Promise) == "function" ? wc : Object)
|
|
4551
4557
|
], St.prototype, "put", null);
|
|
4552
4558
|
Wt([
|
|
4553
|
-
|
|
4559
|
+
w("mesh.cache.remove", Object),
|
|
4554
4560
|
it(0, f(0, "key", String)),
|
|
4555
4561
|
ue("design:type", Function),
|
|
4556
4562
|
ue("design:paramtypes", [String, Object]),
|
|
4557
4563
|
ue("design:returntype", typeof (vc = typeof Promise < "u" && Promise) == "function" ? vc : Object)
|
|
4558
4564
|
], St.prototype, "remove", null);
|
|
4559
4565
|
Wt([
|
|
4560
|
-
|
|
4566
|
+
w("mesh.cache.incr", Number),
|
|
4561
4567
|
it(0, f(0, "key", String)),
|
|
4562
4568
|
it(1, f(1, "value", Number)),
|
|
4563
4569
|
ue("design:type", Function),
|
|
@@ -4565,7 +4571,7 @@ Wt([
|
|
|
4565
4571
|
ue("design:returntype", typeof (jc = typeof Promise < "u" && Promise) == "function" ? jc : Object)
|
|
4566
4572
|
], St.prototype, "incr", null);
|
|
4567
4573
|
Wt([
|
|
4568
|
-
|
|
4574
|
+
w("mesh.cache.decr", Number),
|
|
4569
4575
|
it(0, f(0, "key", String)),
|
|
4570
4576
|
it(1, f(1, "value", Number)),
|
|
4571
4577
|
ue("design:type", Function),
|
|
@@ -4573,14 +4579,14 @@ Wt([
|
|
|
4573
4579
|
ue("design:returntype", typeof (Pc = typeof Promise < "u" && Promise) == "function" ? Pc : Object)
|
|
4574
4580
|
], St.prototype, "decr", null);
|
|
4575
4581
|
Wt([
|
|
4576
|
-
|
|
4582
|
+
w("mesh.cache.keys", [Array, String]),
|
|
4577
4583
|
it(0, f(0, "pattern", String)),
|
|
4578
4584
|
ue("design:type", Function),
|
|
4579
4585
|
ue("design:paramtypes", [String, Object]),
|
|
4580
4586
|
ue("design:returntype", typeof (Ec = typeof Promise < "u" && Promise) == "function" ? Ec : Object)
|
|
4581
4587
|
], St.prototype, "keys", null);
|
|
4582
4588
|
Wt([
|
|
4583
|
-
|
|
4589
|
+
w("mesh.cache.hget", ft),
|
|
4584
4590
|
it(0, f(0, "key", String)),
|
|
4585
4591
|
it(1, f(1, "name", String)),
|
|
4586
4592
|
ue("design:type", Function),
|
|
@@ -4588,7 +4594,7 @@ Wt([
|
|
|
4588
4594
|
ue("design:returntype", typeof (xc = typeof Promise < "u" && Promise) == "function" ? xc : Object)
|
|
4589
4595
|
], St.prototype, "hget", null);
|
|
4590
4596
|
Wt([
|
|
4591
|
-
|
|
4597
|
+
w("mesh.cache.hset", Object),
|
|
4592
4598
|
it(0, f(0, "key", String)),
|
|
4593
4599
|
it(1, f(1, "cell", ft)),
|
|
4594
4600
|
ue("design:type", Function),
|
|
@@ -4596,7 +4602,7 @@ Wt([
|
|
|
4596
4602
|
ue("design:returntype", typeof (Nc = typeof Promise < "u" && Promise) == "function" ? Nc : Object)
|
|
4597
4603
|
], St.prototype, "hset", null);
|
|
4598
4604
|
Wt([
|
|
4599
|
-
|
|
4605
|
+
w("mesh.cache.hdel", Object),
|
|
4600
4606
|
it(0, f(0, "key", String)),
|
|
4601
4607
|
it(1, f(1, "name", String)),
|
|
4602
4608
|
ue("design:type", Function),
|
|
@@ -4604,7 +4610,7 @@ Wt([
|
|
|
4604
4610
|
ue("design:returntype", typeof (Ac = typeof Promise < "u" && Promise) == "function" ? Ac : Object)
|
|
4605
4611
|
], St.prototype, "hdel", null);
|
|
4606
4612
|
Wt([
|
|
4607
|
-
|
|
4613
|
+
w("mesh.cache.hkeys", [Array, String]),
|
|
4608
4614
|
it(0, f(0, "key", String)),
|
|
4609
4615
|
ue("design:type", Function),
|
|
4610
4616
|
ue("design:paramtypes", [String, Object]),
|
|
@@ -4680,49 +4686,49 @@ let Zt = class {
|
|
|
4680
4686
|
}
|
|
4681
4687
|
};
|
|
4682
4688
|
Xe([
|
|
4683
|
-
|
|
4689
|
+
w("${mesh.name}.cipher.handshake", String),
|
|
4684
4690
|
vt(0, f(0, "hello", pt)),
|
|
4685
4691
|
X("design:type", Function),
|
|
4686
4692
|
X("design:paramtypes", [typeof (Mc = typeof pt < "u" && pt) == "function" ? Mc : Object, Object]),
|
|
4687
4693
|
X("design:returntype", typeof (Uc = typeof Promise < "u" && Promise) == "function" ? Uc : Object)
|
|
4688
4694
|
], Zt.prototype, "handshake", null);
|
|
4689
4695
|
Xe([
|
|
4690
|
-
|
|
4696
|
+
w("${mesh.name}.cipher.collect", Number),
|
|
4691
4697
|
vt(0, f(0, "obj", Ke)),
|
|
4692
4698
|
X("design:type", Function),
|
|
4693
4699
|
X("design:paramtypes", [typeof ($c = typeof Ke < "u" && Ke) == "function" ? $c : Object, Object]),
|
|
4694
4700
|
X("design:returntype", typeof (Fc = typeof Promise < "u" && Promise) == "function" ? Fc : Object)
|
|
4695
4701
|
], Zt.prototype, "collect", null);
|
|
4696
4702
|
Xe([
|
|
4697
|
-
|
|
4703
|
+
w("${mesh.name}.cipher.encrypt", String),
|
|
4698
4704
|
vt(0, f(0, "suite", String)),
|
|
4699
4705
|
X("design:type", Function),
|
|
4700
4706
|
X("design:paramtypes", [String, Object]),
|
|
4701
4707
|
X("design:returntype", typeof (Cc = typeof Promise < "u" && Promise) == "function" ? Cc : Object)
|
|
4702
4708
|
], Zt.prototype, "serve", null);
|
|
4703
4709
|
Xe([
|
|
4704
|
-
|
|
4710
|
+
w("mesh.rec.deposit", String),
|
|
4705
4711
|
vt(0, f(0, "rco", Ke)),
|
|
4706
4712
|
X("design:type", Function),
|
|
4707
4713
|
X("design:paramtypes", [typeof (Bc = typeof Ke < "u" && Ke) == "function" ? Bc : Object, Object]),
|
|
4708
4714
|
X("design:returntype", typeof (Dc = typeof Promise < "u" && Promise) == "function" ? Dc : Object)
|
|
4709
4715
|
], Zt.prototype, "deposit", null);
|
|
4710
4716
|
Xe([
|
|
4711
|
-
|
|
4717
|
+
w("mesh.rec.objects", [Be, Ke]),
|
|
4712
4718
|
vt(0, f(0, "index", W)),
|
|
4713
4719
|
X("design:type", Function),
|
|
4714
4720
|
X("design:paramtypes", [typeof (kc = typeof W < "u" && W) == "function" ? kc : Object, Object]),
|
|
4715
4721
|
X("design:returntype", typeof (Lc = typeof Promise < "u" && Promise) == "function" ? Lc : Object)
|
|
4716
4722
|
], Zt.prototype, "objects", null);
|
|
4717
4723
|
Xe([
|
|
4718
|
-
|
|
4724
|
+
w("${mesh.name}.cipher.keys", [Be, hi]),
|
|
4719
4725
|
vt(0, f(0, "idx", W)),
|
|
4720
4726
|
X("design:type", Function),
|
|
4721
4727
|
X("design:paramtypes", [typeof (Hc = typeof W < "u" && W) == "function" ? Hc : Object, Object]),
|
|
4722
4728
|
X("design:returntype", typeof (qc = typeof Promise < "u" && Promise) == "function" ? qc : Object)
|
|
4723
4729
|
], Zt.prototype, "keys", null);
|
|
4724
4730
|
Xe([
|
|
4725
|
-
|
|
4731
|
+
w("mesh.rec.invoke", Uint8Array),
|
|
4726
4732
|
vt(0, f(0, "index", W)),
|
|
4727
4733
|
X("design:type", Function),
|
|
4728
4734
|
X("design:paramtypes", [typeof (zc = typeof W < "u" && W) == "function" ? zc : Object, Object]),
|
|
@@ -4770,42 +4776,42 @@ let _n = class {
|
|
|
4770
4776
|
}
|
|
4771
4777
|
};
|
|
4772
4778
|
Xe([
|
|
4773
|
-
|
|
4779
|
+
w("${mesh.name}.cipher.suite", Ir),
|
|
4774
4780
|
vt(0, f(0, "hello", pt)),
|
|
4775
4781
|
X("design:type", Function),
|
|
4776
4782
|
X("design:paramtypes", [typeof (Vc = typeof pt < "u" && pt) == "function" ? Vc : Object, Object]),
|
|
4777
4783
|
X("design:returntype", typeof (Wc = typeof Promise < "u" && Promise) == "function" ? Wc : Object)
|
|
4778
4784
|
], _n.prototype, "suite", null);
|
|
4779
4785
|
Xe([
|
|
4780
|
-
|
|
4786
|
+
w("${mesh.name}.cipher.keygen", os),
|
|
4781
4787
|
vt(0, f(0, "keygen", Zn)),
|
|
4782
4788
|
X("design:type", Function),
|
|
4783
4789
|
X("design:paramtypes", [typeof (Jc = typeof Zn < "u" && Zn) == "function" ? Jc : Object, Object]),
|
|
4784
4790
|
X("design:returntype", typeof (Xc = typeof Promise < "u" && Promise) == "function" ? Xc : Object)
|
|
4785
4791
|
], _n.prototype, "keygen", null);
|
|
4786
4792
|
Xe([
|
|
4787
|
-
|
|
4793
|
+
w("${mesh.name}.cipher.regen", os),
|
|
4788
4794
|
vt(0, f(0, "keygen", Gi)),
|
|
4789
4795
|
X("design:type", Function),
|
|
4790
4796
|
X("design:paramtypes", [typeof (Kc = typeof Gi < "u" && Gi) == "function" ? Kc : Object, Object]),
|
|
4791
4797
|
X("design:returntype", typeof (Yc = typeof Promise < "u" && Promise) == "function" ? Yc : Object)
|
|
4792
4798
|
], _n.prototype, "regen", null);
|
|
4793
4799
|
Xe([
|
|
4794
|
-
|
|
4800
|
+
w("${mesh.name}.cipher.encode", Uint8Array),
|
|
4795
4801
|
vt(0, f(0, "explain", yn)),
|
|
4796
4802
|
X("design:type", Function),
|
|
4797
4803
|
X("design:paramtypes", [typeof (Qc = typeof yn < "u" && yn) == "function" ? Qc : Object, Object]),
|
|
4798
4804
|
X("design:returntype", typeof (Zc = typeof Promise < "u" && Promise) == "function" ? Zc : Object)
|
|
4799
4805
|
], _n.prototype, "encode", null);
|
|
4800
4806
|
Xe([
|
|
4801
|
-
|
|
4807
|
+
w("${mesh.name}.cipher.decode", Uint8Array),
|
|
4802
4808
|
vt(0, f(0, "cipher", yn)),
|
|
4803
4809
|
X("design:type", Function),
|
|
4804
4810
|
X("design:paramtypes", [typeof (ea = typeof yn < "u" && yn) == "function" ? ea : Object, Object]),
|
|
4805
4811
|
X("design:returntype", typeof (ta = typeof Promise < "u" && Promise) == "function" ? ta : Object)
|
|
4806
4812
|
], _n.prototype, "decode", null);
|
|
4807
4813
|
Xe([
|
|
4808
|
-
|
|
4814
|
+
w("${mesh.name}.cipher.recode", Uint8Array),
|
|
4809
4815
|
vt(0, f(0, "cipher", Vi)),
|
|
4810
4816
|
X("design:type", Function),
|
|
4811
4817
|
X("design:paramtypes", [typeof (na = typeof Vi < "u" && Vi) == "function" ? na : Object, Object]),
|
|
@@ -4851,14 +4857,14 @@ let si = class {
|
|
|
4851
4857
|
}
|
|
4852
4858
|
};
|
|
4853
4859
|
as([
|
|
4854
|
-
|
|
4860
|
+
w("mesh.cluster.election", Uint8Array),
|
|
4855
4861
|
Xd(0, f(0, "buff", Uint8Array)),
|
|
4856
4862
|
vr("design:type", Function),
|
|
4857
4863
|
vr("design:paramtypes", [typeof (oa = typeof Uint8Array < "u" && Uint8Array) == "function" ? oa : Object, Object]),
|
|
4858
4864
|
vr("design:returntype", typeof (sa = typeof Promise < "u" && Promise) == "function" ? sa : Object)
|
|
4859
4865
|
], si.prototype, "election", null);
|
|
4860
4866
|
as([
|
|
4861
|
-
|
|
4867
|
+
w("mesh.cluster.leader", Boolean),
|
|
4862
4868
|
vr("design:type", Function),
|
|
4863
4869
|
vr("design:paramtypes", [Object]),
|
|
4864
4870
|
vr("design:returntype", typeof (ca = typeof Promise < "u" && Promise) == "function" ? ca : Object)
|
|
@@ -4905,21 +4911,21 @@ let ar = class {
|
|
|
4905
4911
|
}
|
|
4906
4912
|
};
|
|
4907
4913
|
Oi([
|
|
4908
|
-
|
|
4914
|
+
w("mesh.license.sign", gi),
|
|
4909
4915
|
jr(0, f(0, "lsr", ye)),
|
|
4910
4916
|
Et("design:type", Function),
|
|
4911
4917
|
Et("design:paramtypes", [typeof (aa = typeof ye < "u" && ye) == "function" ? aa : Object, Object]),
|
|
4912
4918
|
Et("design:returntype", typeof (ua = typeof Promise < "u" && Promise) == "function" ? ua : Object)
|
|
4913
4919
|
], ar.prototype, "sign", null);
|
|
4914
4920
|
Oi([
|
|
4915
|
-
|
|
4921
|
+
w("mesh.license.history", [Array, gi]),
|
|
4916
4922
|
jr(0, f(0, "inst_id", String)),
|
|
4917
4923
|
Et("design:type", Function),
|
|
4918
4924
|
Et("design:paramtypes", [String, Object]),
|
|
4919
4925
|
Et("design:returntype", typeof (pa = typeof Promise < "u" && Promise) == "function" ? pa : Object)
|
|
4920
4926
|
], ar.prototype, "history", null);
|
|
4921
4927
|
Oi([
|
|
4922
|
-
|
|
4928
|
+
w("mesh.net.issued", bi),
|
|
4923
4929
|
jr(0, f(0, "name", String)),
|
|
4924
4930
|
jr(1, f(1, "kind", String)),
|
|
4925
4931
|
jr(2, f(2, "cname", String)),
|
|
@@ -4928,7 +4934,7 @@ Oi([
|
|
|
4928
4934
|
Et("design:returntype", typeof (fa = typeof Promise < "u" && Promise) == "function" ? fa : Object)
|
|
4929
4935
|
], ar.prototype, "issued", null);
|
|
4930
4936
|
Oi([
|
|
4931
|
-
|
|
4937
|
+
w("mesh.net.dump", [Array, bi]),
|
|
4932
4938
|
jr(0, f(0, "node_id", String)),
|
|
4933
4939
|
Et("design:type", Function),
|
|
4934
4940
|
Et("design:paramtypes", [String, Object]),
|
|
@@ -4982,7 +4988,7 @@ let Bn = class {
|
|
|
4982
4988
|
}
|
|
4983
4989
|
};
|
|
4984
4990
|
kr([
|
|
4985
|
-
|
|
4991
|
+
w("mesh.crypt.encrypt", Uint8Array),
|
|
4986
4992
|
en(0, f(0, "buf", Uint8Array)),
|
|
4987
4993
|
en(1, f(1, "keys", [Map, String, Uint8Array])),
|
|
4988
4994
|
Ze("design:type", Function),
|
|
@@ -4990,7 +4996,7 @@ kr([
|
|
|
4990
4996
|
Ze("design:returntype", typeof (ma = typeof Promise < "u" && Promise) == "function" ? ma : Object)
|
|
4991
4997
|
], Bn.prototype, "encrypt", null);
|
|
4992
4998
|
kr([
|
|
4993
|
-
|
|
4999
|
+
w("mesh.crypt.decrypt", Uint8Array),
|
|
4994
5000
|
en(0, f(0, "buf", Uint8Array)),
|
|
4995
5001
|
en(1, f(1, "keys", [Map, String, Uint8Array])),
|
|
4996
5002
|
Ze("design:type", Function),
|
|
@@ -4998,7 +5004,7 @@ kr([
|
|
|
4998
5004
|
Ze("design:returntype", typeof (ba = typeof Promise < "u" && Promise) == "function" ? ba : Object)
|
|
4999
5005
|
], Bn.prototype, "decrypt", null);
|
|
5000
5006
|
kr([
|
|
5001
|
-
|
|
5007
|
+
w("mesh.crypt.hash", Uint8Array),
|
|
5002
5008
|
en(0, f(0, "buf", Uint8Array)),
|
|
5003
5009
|
en(1, f(1, "keys", [Map, String, Uint8Array])),
|
|
5004
5010
|
Ze("design:type", Function),
|
|
@@ -5006,7 +5012,7 @@ kr([
|
|
|
5006
5012
|
Ze("design:returntype", typeof (Ra = typeof Promise < "u" && Promise) == "function" ? Ra : Object)
|
|
5007
5013
|
], Bn.prototype, "hash", null);
|
|
5008
5014
|
kr([
|
|
5009
|
-
|
|
5015
|
+
w("mesh.crypt.sign", Uint8Array),
|
|
5010
5016
|
en(0, f(0, "buf", Uint8Array)),
|
|
5011
5017
|
en(1, f(1, "keys", [Map, String, Uint8Array])),
|
|
5012
5018
|
Ze("design:type", Function),
|
|
@@ -5014,7 +5020,7 @@ kr([
|
|
|
5014
5020
|
Ze("design:returntype", typeof (va = typeof Promise < "u" && Promise) == "function" ? va : Object)
|
|
5015
5021
|
], Bn.prototype, "sign", null);
|
|
5016
5022
|
kr([
|
|
5017
|
-
|
|
5023
|
+
w("mesh.crypt.verify", Boolean),
|
|
5018
5024
|
en(0, f(0, "buf", Uint8Array)),
|
|
5019
5025
|
en(1, f(1, "keys", [Map, String, Uint8Array])),
|
|
5020
5026
|
Ze("design:type", Function),
|
|
@@ -5069,35 +5075,35 @@ let Dn = class {
|
|
|
5069
5075
|
}
|
|
5070
5076
|
};
|
|
5071
5077
|
Lr([
|
|
5072
|
-
|
|
5078
|
+
w("mesh.dh.writes", Object),
|
|
5073
5079
|
Ri(0, f(0, "docs", [Array, er])),
|
|
5074
5080
|
et("design:type", Function),
|
|
5075
5081
|
et("design:paramtypes", [Array, Object]),
|
|
5076
5082
|
et("design:returntype", typeof (xa = typeof Promise < "u" && Promise) == "function" ? xa : Object)
|
|
5077
5083
|
], Dn.prototype, "writes", null);
|
|
5078
5084
|
Lr([
|
|
5079
|
-
|
|
5085
|
+
w("mesh.dh.write", Object),
|
|
5080
5086
|
Ri(0, f(0, "doc", er)),
|
|
5081
5087
|
et("design:type", Function),
|
|
5082
5088
|
et("design:paramtypes", [typeof (Ta = typeof er < "u" && er) == "function" ? Ta : Object, Object]),
|
|
5083
5089
|
et("design:returntype", typeof (Na = typeof Promise < "u" && Promise) == "function" ? Na : Object)
|
|
5084
5090
|
], Dn.prototype, "write", null);
|
|
5085
5091
|
Lr([
|
|
5086
|
-
|
|
5092
|
+
w("mesh.dh.read", [Be, Object]),
|
|
5087
5093
|
Ri(0, f(0, "index", W)),
|
|
5088
5094
|
et("design:type", Function),
|
|
5089
5095
|
et("design:paramtypes", [typeof (Aa = typeof W < "u" && W) == "function" ? Aa : Object, Object]),
|
|
5090
5096
|
et("design:returntype", typeof (Ia = typeof Promise < "u" && Promise) == "function" ? Ia : Object)
|
|
5091
5097
|
], Dn.prototype, "read", null);
|
|
5092
5098
|
Lr([
|
|
5093
|
-
|
|
5099
|
+
w("mesh.dh.indies", [Be, Object]),
|
|
5094
5100
|
Ri(0, f(0, "index", W)),
|
|
5095
5101
|
et("design:type", Function),
|
|
5096
5102
|
et("design:paramtypes", [typeof (Ma = typeof W < "u" && W) == "function" ? Ma : Object, Object]),
|
|
5097
5103
|
et("design:returntype", typeof (Ua = typeof Promise < "u" && Promise) == "function" ? Ua : Object)
|
|
5098
5104
|
], Dn.prototype, "indies", null);
|
|
5099
5105
|
Lr([
|
|
5100
|
-
|
|
5106
|
+
w("mesh.dh.tables", [Be, Object]),
|
|
5101
5107
|
Ri(0, f(0, "index", W)),
|
|
5102
5108
|
et("design:type", Function),
|
|
5103
5109
|
et("design:paramtypes", [typeof ($a = typeof W < "u" && W) == "function" ? $a : Object, Object]),
|
|
@@ -5173,7 +5179,7 @@ let ro = class {
|
|
|
5173
5179
|
}
|
|
5174
5180
|
};
|
|
5175
5181
|
ps([
|
|
5176
|
-
|
|
5182
|
+
w("${mesh.uname}", Uint8Array),
|
|
5177
5183
|
Qf(0, f(0, "buff", Uint8Array)),
|
|
5178
5184
|
Er("design:type", Function),
|
|
5179
5185
|
Er("design:paramtypes", [typeof (ka = typeof Uint8Array < "u" && Uint8Array) == "function" ? ka : Object, Object]),
|
|
@@ -5235,14 +5241,14 @@ let ur = class {
|
|
|
5235
5241
|
}
|
|
5236
5242
|
};
|
|
5237
5243
|
Si([
|
|
5238
|
-
|
|
5244
|
+
w("mesh.eval.compile", String),
|
|
5239
5245
|
xr(0, f(0, "script", qt)),
|
|
5240
5246
|
xt("design:type", Function),
|
|
5241
5247
|
xt("design:paramtypes", [typeof (qa = typeof qt < "u" && qt) == "function" ? qa : Object, Object]),
|
|
5242
5248
|
xt("design:returntype", typeof (za = typeof Promise < "u" && Promise) == "function" ? za : Object)
|
|
5243
5249
|
], ur.prototype, "compile", null);
|
|
5244
5250
|
Si([
|
|
5245
|
-
|
|
5251
|
+
w("mesh.eval.exec", String),
|
|
5246
5252
|
xr(0, f(0, "code", String)),
|
|
5247
5253
|
xr(1, f(1, "args", [Map, String, String])),
|
|
5248
5254
|
xr(2, f(2, "dft", String)),
|
|
@@ -5251,14 +5257,14 @@ Si([
|
|
|
5251
5257
|
xt("design:returntype", typeof (Va = typeof Promise < "u" && Promise) == "function" ? Va : Object)
|
|
5252
5258
|
], ur.prototype, "exec", null);
|
|
5253
5259
|
Si([
|
|
5254
|
-
|
|
5260
|
+
w("mesh.eval.dump", [Array, qt]),
|
|
5255
5261
|
xr(0, f(0, "feature", [Map, String, String])),
|
|
5256
5262
|
xt("design:type", Function),
|
|
5257
5263
|
xt("design:paramtypes", [typeof (Wa = typeof Record < "u" && Record) == "function" ? Wa : Object, Object]),
|
|
5258
5264
|
xt("design:returntype", typeof (Ja = typeof Promise < "u" && Promise) == "function" ? Ja : Object)
|
|
5259
5265
|
], ur.prototype, "dump", null);
|
|
5260
5266
|
Si([
|
|
5261
|
-
|
|
5267
|
+
w("mesh.eval.index", [Be, qt]),
|
|
5262
5268
|
xr(0, f(0, "index", W)),
|
|
5263
5269
|
xt("design:type", Function),
|
|
5264
5270
|
xt("design:paramtypes", [typeof (Xa = typeof W < "u" && W) == "function" ? Xa : Object, Object]),
|
|
@@ -5294,7 +5300,7 @@ let ci = class {
|
|
|
5294
5300
|
}
|
|
5295
5301
|
};
|
|
5296
5302
|
fs([
|
|
5297
|
-
|
|
5303
|
+
w("mesh.graph.query", [Array, [Map, String, Object]]),
|
|
5298
5304
|
io(0, f(0, "expr", String)),
|
|
5299
5305
|
io(1, f(1, "args", [Map, String, Object])),
|
|
5300
5306
|
Tr("design:type", Function),
|
|
@@ -5302,7 +5308,7 @@ fs([
|
|
|
5302
5308
|
Tr("design:returntype", typeof (Qa = typeof Promise < "u" && Promise) == "function" ? Qa : Object)
|
|
5303
5309
|
], ci.prototype, "query", null);
|
|
5304
5310
|
fs([
|
|
5305
|
-
|
|
5311
|
+
w("mesh.graph.exec", Object),
|
|
5306
5312
|
io(0, f(0, "expr", String)),
|
|
5307
5313
|
io(1, f(1, "args", [Map, String, Object])),
|
|
5308
5314
|
Tr("design:type", Function),
|
|
@@ -5351,27 +5357,27 @@ let pr = class {
|
|
|
5351
5357
|
}
|
|
5352
5358
|
};
|
|
5353
5359
|
wi([
|
|
5354
|
-
|
|
5360
|
+
w("kms.store.reset", Object),
|
|
5355
5361
|
ds(0, f(0, "env", Le)),
|
|
5356
5362
|
Tt("design:type", Function),
|
|
5357
5363
|
Tt("design:paramtypes", [typeof (tu = typeof Le < "u" && Le) == "function" ? tu : Object, Object]),
|
|
5358
5364
|
Tt("design:returntype", typeof (nu = typeof Promise < "u" && Promise) == "function" ? nu : Object)
|
|
5359
5365
|
], pr.prototype, "reset", null);
|
|
5360
5366
|
wi([
|
|
5361
|
-
|
|
5367
|
+
w("kms.store.environ", Le),
|
|
5362
5368
|
Tt("design:type", Function),
|
|
5363
5369
|
Tt("design:paramtypes", [Object]),
|
|
5364
5370
|
Tt("design:returntype", typeof (ru = typeof Promise < "u" && Promise) == "function" ? ru : Object)
|
|
5365
5371
|
], pr.prototype, "environ", null);
|
|
5366
5372
|
wi([
|
|
5367
|
-
|
|
5373
|
+
w("kms.crt.store.list", [Array, hi]),
|
|
5368
5374
|
ds(0, f(0, "cno", String)),
|
|
5369
5375
|
Tt("design:type", Function),
|
|
5370
5376
|
Tt("design:paramtypes", [String, Object]),
|
|
5371
5377
|
Tt("design:returntype", typeof (iu = typeof Promise < "u" && Promise) == "function" ? iu : Object)
|
|
5372
5378
|
], pr.prototype, "list", null);
|
|
5373
5379
|
wi([
|
|
5374
|
-
|
|
5380
|
+
w("kms.crt.apply.issue", [Array, hi]),
|
|
5375
5381
|
ds(0, f(0, "csr", Ot)),
|
|
5376
5382
|
Tt("design:type", Function),
|
|
5377
5383
|
Tt("design:paramtypes", [typeof (ou = typeof Ot < "u" && Ot) == "function" ? ou : Object, Object]),
|
|
@@ -5425,14 +5431,14 @@ let kn = class {
|
|
|
5425
5431
|
}
|
|
5426
5432
|
};
|
|
5427
5433
|
Hr([
|
|
5428
|
-
|
|
5434
|
+
w("mesh.kv.get", je),
|
|
5429
5435
|
Mr(0, f(0, "key", String)),
|
|
5430
5436
|
tt("design:type", Function),
|
|
5431
5437
|
tt("design:paramtypes", [String, Object]),
|
|
5432
5438
|
tt("design:returntype", typeof (cu = typeof Promise < "u" && Promise) == "function" ? cu : Object)
|
|
5433
5439
|
], kn.prototype, "get", null);
|
|
5434
5440
|
Hr([
|
|
5435
|
-
|
|
5441
|
+
w("mesh.kv.put", Object),
|
|
5436
5442
|
Mr(0, f(0, "key", String)),
|
|
5437
5443
|
Mr(1, f(1, "value", je)),
|
|
5438
5444
|
tt("design:type", Function),
|
|
@@ -5440,21 +5446,21 @@ Hr([
|
|
|
5440
5446
|
tt("design:returntype", typeof (uu = typeof Promise < "u" && Promise) == "function" ? uu : Object)
|
|
5441
5447
|
], kn.prototype, "put", null);
|
|
5442
5448
|
Hr([
|
|
5443
|
-
|
|
5449
|
+
w("mesh.kv.remove", Object),
|
|
5444
5450
|
Mr(0, f(0, "key", String)),
|
|
5445
5451
|
tt("design:type", Function),
|
|
5446
5452
|
tt("design:paramtypes", [String, Object]),
|
|
5447
5453
|
tt("design:returntype", typeof (pu = typeof Promise < "u" && Promise) == "function" ? pu : Object)
|
|
5448
5454
|
], kn.prototype, "remove", null);
|
|
5449
5455
|
Hr([
|
|
5450
|
-
|
|
5456
|
+
w("mesh.kv.keys", [Array, String]),
|
|
5451
5457
|
Mr(0, f(0, "pattern", String)),
|
|
5452
5458
|
tt("design:type", Function),
|
|
5453
5459
|
tt("design:paramtypes", [String, Object]),
|
|
5454
5460
|
tt("design:returntype", typeof (fu = typeof Promise < "u" && Promise) == "function" ? fu : Object)
|
|
5455
5461
|
], kn.prototype, "keys", null);
|
|
5456
5462
|
Hr([
|
|
5457
|
-
|
|
5463
|
+
w("mesh.kv.index", [Be, go]),
|
|
5458
5464
|
Mr(0, f(0, "index", W)),
|
|
5459
5465
|
tt("design:type", Function),
|
|
5460
5466
|
tt("design:paramtypes", [typeof (du = typeof W < "u" && W) == "function" ? du : Object, Object]),
|
|
@@ -5508,32 +5514,32 @@ let Ln = class {
|
|
|
5508
5514
|
}
|
|
5509
5515
|
};
|
|
5510
5516
|
qr([
|
|
5511
|
-
|
|
5517
|
+
w("mesh.license.imports", Object),
|
|
5512
5518
|
Yd(0, f(0, "license", String)),
|
|
5513
5519
|
nt("design:type", Function),
|
|
5514
5520
|
nt("design:paramtypes", [String, Object]),
|
|
5515
5521
|
nt("design:returntype", typeof (yu = typeof Promise < "u" && Promise) == "function" ? yu : Object)
|
|
5516
5522
|
], Ln.prototype, "imports", null);
|
|
5517
5523
|
qr([
|
|
5518
|
-
|
|
5524
|
+
w("mesh.license.exports", String),
|
|
5519
5525
|
nt("design:type", Function),
|
|
5520
5526
|
nt("design:paramtypes", [Object]),
|
|
5521
5527
|
nt("design:returntype", typeof (mu = typeof Promise < "u" && Promise) == "function" ? mu : Object)
|
|
5522
5528
|
], Ln.prototype, "exports", null);
|
|
5523
5529
|
qr([
|
|
5524
|
-
|
|
5530
|
+
w("mesh.license.explain", ye),
|
|
5525
5531
|
nt("design:type", Function),
|
|
5526
5532
|
nt("design:paramtypes", [Object]),
|
|
5527
5533
|
nt("design:returntype", typeof (hu = typeof Promise < "u" && Promise) == "function" ? hu : Object)
|
|
5528
5534
|
], Ln.prototype, "explain", null);
|
|
5529
5535
|
qr([
|
|
5530
|
-
|
|
5536
|
+
w("mesh.license.verify", Number),
|
|
5531
5537
|
nt("design:type", Function),
|
|
5532
5538
|
nt("design:paramtypes", [Object]),
|
|
5533
5539
|
nt("design:returntype", typeof (gu = typeof Promise < "u" && Promise) == "function" ? gu : Object)
|
|
5534
5540
|
], Ln.prototype, "verify", null);
|
|
5535
5541
|
qr([
|
|
5536
|
-
|
|
5542
|
+
w("mesh.license.features", [Map, String, String]),
|
|
5537
5543
|
nt("design:type", Function),
|
|
5538
5544
|
nt("design:paramtypes", [Object]),
|
|
5539
5545
|
nt("design:returntype", typeof (bu = typeof Promise < "u" && Promise) == "function" ? bu : Object)
|
|
@@ -5580,7 +5586,7 @@ let fr = class {
|
|
|
5580
5586
|
}
|
|
5581
5587
|
};
|
|
5582
5588
|
vi([
|
|
5583
|
-
|
|
5589
|
+
w("mesh.locker.w.lock", Boolean),
|
|
5584
5590
|
Ur(0, f(0, "rid", String)),
|
|
5585
5591
|
Ur(1, f(1, "timeout", Number)),
|
|
5586
5592
|
Nt("design:type", Function),
|
|
@@ -5588,14 +5594,14 @@ vi([
|
|
|
5588
5594
|
Nt("design:returntype", typeof (_u = typeof Promise < "u" && Promise) == "function" ? _u : Object)
|
|
5589
5595
|
], fr.prototype, "lock", null);
|
|
5590
5596
|
vi([
|
|
5591
|
-
|
|
5597
|
+
w("mesh.locker.w.unlock", Object),
|
|
5592
5598
|
Ur(0, f(0, "rid", String)),
|
|
5593
5599
|
Nt("design:type", Function),
|
|
5594
5600
|
Nt("design:paramtypes", [String, Object]),
|
|
5595
5601
|
Nt("design:returntype", typeof (Ou = typeof Promise < "u" && Promise) == "function" ? Ou : Object)
|
|
5596
5602
|
], fr.prototype, "unlock", null);
|
|
5597
5603
|
vi([
|
|
5598
|
-
|
|
5604
|
+
w("mesh.locker.r.lock", Boolean),
|
|
5599
5605
|
Ur(0, f(0, "rid", String)),
|
|
5600
5606
|
Ur(1, f(1, "timeout", Number)),
|
|
5601
5607
|
Nt("design:type", Function),
|
|
@@ -5603,7 +5609,7 @@ vi([
|
|
|
5603
5609
|
Nt("design:returntype", typeof (Ru = typeof Promise < "u" && Promise) == "function" ? Ru : Object)
|
|
5604
5610
|
], fr.prototype, "readLock", null);
|
|
5605
5611
|
vi([
|
|
5606
|
-
|
|
5612
|
+
w("mesh.locker.r.unlock", Object),
|
|
5607
5613
|
Ur(0, f(0, "rid", String)),
|
|
5608
5614
|
Nt("design:type", Function),
|
|
5609
5615
|
Nt("design:paramtypes", [String, Object]),
|
|
@@ -5694,75 +5700,75 @@ let Ve = class {
|
|
|
5694
5700
|
}
|
|
5695
5701
|
};
|
|
5696
5702
|
Bt([
|
|
5697
|
-
|
|
5703
|
+
w("mesh.net.environ", Le),
|
|
5698
5704
|
re("design:type", Function),
|
|
5699
5705
|
re("design:paramtypes", [Object]),
|
|
5700
5706
|
re("design:returntype", typeof (wu = typeof Promise < "u" && Promise) == "function" ? wu : Object)
|
|
5701
5707
|
], Ve.prototype, "environ", null);
|
|
5702
5708
|
Bt([
|
|
5703
|
-
|
|
5709
|
+
w("mesh.net.accessible", Boolean),
|
|
5704
5710
|
jn(0, f(0, "route", fe)),
|
|
5705
5711
|
re("design:type", Function),
|
|
5706
5712
|
re("design:paramtypes", [typeof (vu = typeof fe < "u" && fe) == "function" ? vu : Object, Object]),
|
|
5707
5713
|
re("design:returntype", typeof (ju = typeof Promise < "u" && Promise) == "function" ? ju : Object)
|
|
5708
5714
|
], Ve.prototype, "accessible", null);
|
|
5709
5715
|
Bt([
|
|
5710
|
-
|
|
5716
|
+
w("mesh.net.refresh", Object),
|
|
5711
5717
|
jn(0, f(0, "routes", [Array, fe])),
|
|
5712
5718
|
re("design:type", Function),
|
|
5713
5719
|
re("design:paramtypes", [Array, Object]),
|
|
5714
5720
|
re("design:returntype", typeof (Pu = typeof Promise < "u" && Promise) == "function" ? Pu : Object)
|
|
5715
5721
|
], Ve.prototype, "refresh", null);
|
|
5716
5722
|
Bt([
|
|
5717
|
-
|
|
5723
|
+
w("mesh.net.route", fe),
|
|
5718
5724
|
jn(0, f(0, "mdc", String)),
|
|
5719
5725
|
re("design:type", Function),
|
|
5720
5726
|
re("design:paramtypes", [String, Object]),
|
|
5721
5727
|
re("design:returntype", typeof (Eu = typeof Promise < "u" && Promise) == "function" ? Eu : Object)
|
|
5722
5728
|
], Ve.prototype, "route", null);
|
|
5723
5729
|
Bt([
|
|
5724
|
-
|
|
5730
|
+
w("mesh.net.routes", [Array, fe]),
|
|
5725
5731
|
re("design:type", Function),
|
|
5726
5732
|
re("design:paramtypes", [Object]),
|
|
5727
5733
|
re("design:returntype", typeof (xu = typeof Promise < "u" && Promise) == "function" ? xu : Object)
|
|
5728
5734
|
], Ve.prototype, "routes", null);
|
|
5729
5735
|
Bt([
|
|
5730
|
-
|
|
5736
|
+
w("mesh.net.disable", Object),
|
|
5731
5737
|
jn(0, f(0, "mdc", String)),
|
|
5732
5738
|
re("design:type", Function),
|
|
5733
5739
|
re("design:paramtypes", [String, Object]),
|
|
5734
5740
|
re("design:returntype", typeof (Tu = typeof Promise < "u" && Promise) == "function" ? Tu : Object)
|
|
5735
5741
|
], Ve.prototype, "disable", null);
|
|
5736
5742
|
Bt([
|
|
5737
|
-
|
|
5743
|
+
w("mesh.net.enable", Object),
|
|
5738
5744
|
jn(0, f(0, "mdc", String)),
|
|
5739
5745
|
re("design:type", Function),
|
|
5740
5746
|
re("design:paramtypes", [String, Object]),
|
|
5741
5747
|
re("design:returntype", typeof (Nu = typeof Promise < "u" && Promise) == "function" ? Nu : Object)
|
|
5742
5748
|
], Ve.prototype, "enable", null);
|
|
5743
5749
|
Bt([
|
|
5744
|
-
|
|
5750
|
+
w("mesh.net.index", [Be, fe]),
|
|
5745
5751
|
jn(0, f(0, "index", W)),
|
|
5746
5752
|
re("design:type", Function),
|
|
5747
5753
|
re("design:paramtypes", [typeof (Au = typeof W < "u" && W) == "function" ? Au : Object, Object]),
|
|
5748
5754
|
re("design:returntype", typeof (Iu = typeof Promise < "u" && Promise) == "function" ? Iu : Object)
|
|
5749
5755
|
], Ve.prototype, "index", null);
|
|
5750
5756
|
Bt([
|
|
5751
|
-
|
|
5757
|
+
w("mesh.net.version", Ro),
|
|
5752
5758
|
jn(0, f(0, "mdc", String)),
|
|
5753
5759
|
re("design:type", Function),
|
|
5754
5760
|
re("design:paramtypes", [String, Object]),
|
|
5755
5761
|
re("design:returntype", typeof (Mu = typeof Promise < "u" && Promise) == "function" ? Mu : Object)
|
|
5756
5762
|
], Ve.prototype, "version", null);
|
|
5757
5763
|
Bt([
|
|
5758
|
-
|
|
5764
|
+
w("mesh.net.exports", String),
|
|
5759
5765
|
jn(0, f(0, "mdc", String)),
|
|
5760
5766
|
re("design:type", Function),
|
|
5761
5767
|
re("design:paramtypes", [String, Object]),
|
|
5762
5768
|
re("design:returntype", typeof (Uu = typeof Promise < "u" && Promise) == "function" ? Uu : Object)
|
|
5763
5769
|
], Ve.prototype, "exports", null);
|
|
5764
5770
|
Bt([
|
|
5765
|
-
|
|
5771
|
+
w("mesh.net.imports", Object),
|
|
5766
5772
|
jn(0, f(0, "crt", String)),
|
|
5767
5773
|
re("design:type", Function),
|
|
5768
5774
|
re("design:paramtypes", [String, Object]),
|
|
@@ -5819,14 +5825,14 @@ let dr = class {
|
|
|
5819
5825
|
}
|
|
5820
5826
|
};
|
|
5821
5827
|
ji([
|
|
5822
|
-
|
|
5828
|
+
w("mesh.chan.peek", Uint8Array),
|
|
5823
5829
|
$n(0, f(0, "topic", String)),
|
|
5824
5830
|
At("design:type", Function),
|
|
5825
5831
|
At("design:paramtypes", [String, Object]),
|
|
5826
5832
|
At("design:returntype", typeof (Fu = typeof Promise < "u" && Promise) == "function" ? Fu : Object)
|
|
5827
5833
|
], dr.prototype, "peek", null);
|
|
5828
5834
|
ji([
|
|
5829
|
-
|
|
5835
|
+
w("mesh.chan.pop", Uint8Array),
|
|
5830
5836
|
$n(0, f(0, "timeout", Number)),
|
|
5831
5837
|
$n(1, f(1, "topic", String)),
|
|
5832
5838
|
At("design:type", Function),
|
|
@@ -5834,7 +5840,7 @@ ji([
|
|
|
5834
5840
|
At("design:returntype", typeof (Cu = typeof Promise < "u" && Promise) == "function" ? Cu : Object)
|
|
5835
5841
|
], dr.prototype, "pop", null);
|
|
5836
5842
|
ji([
|
|
5837
|
-
|
|
5843
|
+
w("mesh.chan.push", Object),
|
|
5838
5844
|
$n(0, f(0, "payload", Uint8Array)),
|
|
5839
5845
|
$n(1, f(1, "metadata", [Map, String, String])),
|
|
5840
5846
|
$n(2, f(2, "topic", String)),
|
|
@@ -5843,7 +5849,7 @@ ji([
|
|
|
5843
5849
|
At("design:returntype", typeof (ku = typeof Promise < "u" && Promise) == "function" ? ku : Object)
|
|
5844
5850
|
], dr.prototype, "push", null);
|
|
5845
5851
|
ji([
|
|
5846
|
-
|
|
5852
|
+
w("mesh.chan.release", Object),
|
|
5847
5853
|
$n(0, f(0, "timeout", Number)),
|
|
5848
5854
|
$n(1, f(1, "topic", String)),
|
|
5849
5855
|
At("design:type", Function),
|
|
@@ -5880,14 +5886,14 @@ let ai = class {
|
|
|
5880
5886
|
}
|
|
5881
5887
|
};
|
|
5882
5888
|
ls([
|
|
5883
|
-
|
|
5889
|
+
w("mesh.queue.publish", [Array, String]),
|
|
5884
5890
|
Zf(0, f(0, "events", [Array, Ye])),
|
|
5885
5891
|
Nr("design:type", Function),
|
|
5886
5892
|
Nr("design:paramtypes", [Array, Object]),
|
|
5887
5893
|
Nr("design:returntype", typeof (Hu = typeof Promise < "u" && Promise) == "function" ? Hu : Object)
|
|
5888
5894
|
], ai.prototype, "publish", null);
|
|
5889
5895
|
ls([
|
|
5890
|
-
|
|
5896
|
+
w("mesh.queue.multicast", [Array, String]),
|
|
5891
5897
|
Zf(0, f(0, "events", [Array, Ye])),
|
|
5892
5898
|
Nr("design:type", Function),
|
|
5893
5899
|
Nr("design:paramtypes", [Array, Object]),
|
|
@@ -5935,28 +5941,28 @@ let lr = class {
|
|
|
5935
5941
|
}
|
|
5936
5942
|
};
|
|
5937
5943
|
Pi([
|
|
5938
|
-
|
|
5944
|
+
w("mesh.registry.put", Object),
|
|
5939
5945
|
wo(0, f(0, "registration", [Qe, Object])),
|
|
5940
5946
|
It("design:type", Function),
|
|
5941
5947
|
It("design:paramtypes", [typeof (zu = typeof Qe < "u" && Qe) == "function" ? zu : Object, Object]),
|
|
5942
5948
|
It("design:returntype", typeof (Gu = typeof Promise < "u" && Promise) == "function" ? Gu : Object)
|
|
5943
5949
|
], lr.prototype, "register", null);
|
|
5944
5950
|
Pi([
|
|
5945
|
-
|
|
5951
|
+
w("mesh.registry.puts", Object),
|
|
5946
5952
|
wo(0, f(0, "registrations", [Array, [Qe, Object]])),
|
|
5947
5953
|
It("design:type", Function),
|
|
5948
5954
|
It("design:paramtypes", [Array, Object]),
|
|
5949
5955
|
It("design:returntype", typeof (Vu = typeof Promise < "u" && Promise) == "function" ? Vu : Object)
|
|
5950
5956
|
], lr.prototype, "registers", null);
|
|
5951
5957
|
Pi([
|
|
5952
|
-
|
|
5958
|
+
w("mesh.registry.remove", Object),
|
|
5953
5959
|
wo(0, f(0, "registration", [Qe, Object])),
|
|
5954
5960
|
It("design:type", Function),
|
|
5955
5961
|
It("design:paramtypes", [typeof (Wu = typeof Qe < "u" && Qe) == "function" ? Wu : Object, Object]),
|
|
5956
5962
|
It("design:returntype", typeof (Ju = typeof Promise < "u" && Promise) == "function" ? Ju : Object)
|
|
5957
5963
|
], lr.prototype, "unregister", null);
|
|
5958
5964
|
Pi([
|
|
5959
|
-
|
|
5965
|
+
w("mesh.registry.export", [Array, [Qe, Object]]),
|
|
5960
5966
|
wo(0, f(0, "kind", String)),
|
|
5961
5967
|
It("design:type", Function),
|
|
5962
5968
|
It("design:paramtypes", [String, Object]),
|
|
@@ -6102,35 +6108,35 @@ let Hn = class {
|
|
|
6102
6108
|
}
|
|
6103
6109
|
};
|
|
6104
6110
|
Gr([
|
|
6105
|
-
|
|
6111
|
+
w("mesh.savepoint.begin", String),
|
|
6106
6112
|
Ei(0, f(0, "definition", nr)),
|
|
6107
6113
|
rt("design:type", Function),
|
|
6108
6114
|
rt("design:paramtypes", [typeof (rp = typeof nr < "u" && nr) == "function" ? rp : Object, Object]),
|
|
6109
6115
|
rt("design:returntype", typeof (ip = typeof Promise < "u" && Promise) == "function" ? ip : Object)
|
|
6110
6116
|
], Hn.prototype, "begin", null);
|
|
6111
6117
|
Gr([
|
|
6112
|
-
|
|
6118
|
+
w("mesh.savepoint.commit", Object),
|
|
6113
6119
|
Ei(0, f(0, "xid", String)),
|
|
6114
6120
|
rt("design:type", Function),
|
|
6115
6121
|
rt("design:paramtypes", [String, Object]),
|
|
6116
6122
|
rt("design:returntype", typeof (op = typeof Promise < "u" && Promise) == "function" ? op : Object)
|
|
6117
6123
|
], Hn.prototype, "commit", null);
|
|
6118
6124
|
Gr([
|
|
6119
|
-
|
|
6125
|
+
w("mesh.savepoint.rollback", Object),
|
|
6120
6126
|
Ei(0, f(0, "xid", String)),
|
|
6121
6127
|
rt("design:type", Function),
|
|
6122
6128
|
rt("design:paramtypes", [String, Object]),
|
|
6123
6129
|
rt("design:returntype", typeof (sp = typeof Promise < "u" && Promise) == "function" ? sp : Object)
|
|
6124
6130
|
], Hn.prototype, "rollback", null);
|
|
6125
6131
|
Gr([
|
|
6126
|
-
|
|
6132
|
+
w("mesh.savepoint.execute", Uint8Array),
|
|
6127
6133
|
Ei(0, f(0, "branch", hn)),
|
|
6128
6134
|
rt("design:type", Function),
|
|
6129
6135
|
rt("design:paramtypes", [typeof (cp = typeof hn < "u" && hn) == "function" ? cp : Object, Object]),
|
|
6130
6136
|
rt("design:returntype", typeof (ap = typeof Promise < "u" && Promise) == "function" ? ap : Object)
|
|
6131
6137
|
], Hn.prototype, "execute", null);
|
|
6132
6138
|
Gr([
|
|
6133
|
-
|
|
6139
|
+
w("mesh.savepoint.redo", Object),
|
|
6134
6140
|
Ei(0, f(0, "commit", Uint8Array)),
|
|
6135
6141
|
rt("design:type", Function),
|
|
6136
6142
|
rt("design:paramtypes", [typeof (up = typeof Uint8Array < "u" && Uint8Array) == "function" ? up : Object, Object]),
|
|
@@ -6213,7 +6219,7 @@ let Gt = class {
|
|
|
6213
6219
|
}
|
|
6214
6220
|
};
|
|
6215
6221
|
Pn([
|
|
6216
|
-
|
|
6222
|
+
w("mesh.schedule.timeout", String),
|
|
6217
6223
|
tn(0, f(0, "timeout", mn)),
|
|
6218
6224
|
tn(1, f(1, "duration", Number)),
|
|
6219
6225
|
ve("design:type", Function),
|
|
@@ -6221,7 +6227,7 @@ Pn([
|
|
|
6221
6227
|
ve("design:returntype", typeof (dp = typeof Promise < "u" && Promise) == "function" ? dp : Object)
|
|
6222
6228
|
], Gt.prototype, "timeout", null);
|
|
6223
6229
|
Pn([
|
|
6224
|
-
|
|
6230
|
+
w("mesh.schedule.cron", String),
|
|
6225
6231
|
tn(0, f(0, "cron", String)),
|
|
6226
6232
|
tn(1, f(1, "topic", Ae)),
|
|
6227
6233
|
ve("design:type", Function),
|
|
@@ -6229,7 +6235,7 @@ Pn([
|
|
|
6229
6235
|
ve("design:returntype", typeof (yp = typeof Promise < "u" && Promise) == "function" ? yp : Object)
|
|
6230
6236
|
], Gt.prototype, "cron", null);
|
|
6231
6237
|
Pn([
|
|
6232
|
-
|
|
6238
|
+
w("mesh.schedule.period", String),
|
|
6233
6239
|
tn(0, f(0, "duration", Number)),
|
|
6234
6240
|
tn(1, f(1, "topic", Ae)),
|
|
6235
6241
|
ve("design:type", Function),
|
|
@@ -6237,34 +6243,34 @@ Pn([
|
|
|
6237
6243
|
ve("design:returntype", typeof (hp = typeof Promise < "u" && Promise) == "function" ? hp : Object)
|
|
6238
6244
|
], Gt.prototype, "period", null);
|
|
6239
6245
|
Pn([
|
|
6240
|
-
|
|
6246
|
+
w("mesh.schedule.dump", [Array, String]),
|
|
6241
6247
|
ve("design:type", Function),
|
|
6242
6248
|
ve("design:paramtypes", [Object]),
|
|
6243
6249
|
ve("design:returntype", typeof (gp = typeof Promise < "u" && Promise) == "function" ? gp : Object)
|
|
6244
6250
|
], Gt.prototype, "dump", null);
|
|
6245
6251
|
Pn([
|
|
6246
|
-
|
|
6252
|
+
w("mesh.schedule.cancel", Boolean),
|
|
6247
6253
|
tn(0, f(0, "task_id", String)),
|
|
6248
6254
|
ve("design:type", Function),
|
|
6249
6255
|
ve("design:paramtypes", [String, Object]),
|
|
6250
6256
|
ve("design:returntype", typeof (bp = typeof Promise < "u" && Promise) == "function" ? bp : Object)
|
|
6251
6257
|
], Gt.prototype, "cancel", null);
|
|
6252
6258
|
Pn([
|
|
6253
|
-
|
|
6259
|
+
w("mesh.schedule.stop", Boolean),
|
|
6254
6260
|
tn(0, f(0, "task_id", String)),
|
|
6255
6261
|
ve("design:type", Function),
|
|
6256
6262
|
ve("design:paramtypes", [String, Object]),
|
|
6257
6263
|
ve("design:returntype", typeof (_p = typeof Promise < "u" && Promise) == "function" ? _p : Object)
|
|
6258
6264
|
], Gt.prototype, "stop", null);
|
|
6259
6265
|
Pn([
|
|
6260
|
-
|
|
6266
|
+
w("mesh.schedule.emit", Object),
|
|
6261
6267
|
tn(0, f(0, "topic", Ae)),
|
|
6262
6268
|
ve("design:type", Function),
|
|
6263
6269
|
ve("design:paramtypes", [typeof (Op = typeof Ae < "u" && Ae) == "function" ? Op : Object, Object]),
|
|
6264
6270
|
ve("design:returntype", typeof (Rp = typeof Promise < "u" && Promise) == "function" ? Rp : Object)
|
|
6265
6271
|
], Gt.prototype, "emit", null);
|
|
6266
6272
|
Pn([
|
|
6267
|
-
|
|
6273
|
+
w("mesh.schedule.shutdown", Object),
|
|
6268
6274
|
tn(0, f(0, "duration", Number)),
|
|
6269
6275
|
ve("design:type", Function),
|
|
6270
6276
|
ve("design:paramtypes", [Number, Object]),
|
|
@@ -6309,7 +6315,7 @@ let pi = class {
|
|
|
6309
6315
|
}
|
|
6310
6316
|
};
|
|
6311
6317
|
ys([
|
|
6312
|
-
|
|
6318
|
+
w("mesh.sequence.next", String),
|
|
6313
6319
|
ii(0, f(0, "kind", String)),
|
|
6314
6320
|
ii(1, f(1, "length", Number)),
|
|
6315
6321
|
Ar("design:type", Function),
|
|
@@ -6317,7 +6323,7 @@ ys([
|
|
|
6317
6323
|
Ar("design:returntype", typeof (wp = typeof Promise < "u" && Promise) == "function" ? wp : Object)
|
|
6318
6324
|
], pi.prototype, "next", null);
|
|
6319
6325
|
ys([
|
|
6320
|
-
|
|
6326
|
+
w("mesh.sequence.section", [Array, String]),
|
|
6321
6327
|
ii(0, f(0, "kind", String)),
|
|
6322
6328
|
ii(1, f(1, "size", Number)),
|
|
6323
6329
|
ii(2, f(2, "length", Number)),
|
|
@@ -6352,7 +6358,7 @@ let oo = class {
|
|
|
6352
6358
|
}
|
|
6353
6359
|
};
|
|
6354
6360
|
td([
|
|
6355
|
-
|
|
6361
|
+
w("mesh.queue.subscribe", Object),
|
|
6356
6362
|
Qd(0, f(0, "event", Ye)),
|
|
6357
6363
|
Do("design:type", Function),
|
|
6358
6364
|
Do("design:paramtypes", [typeof (jp = typeof Ye < "u" && Ye) == "function" ? jp : Object, Object]),
|
|
@@ -6442,7 +6448,7 @@ let gt = class {
|
|
|
6442
6448
|
}
|
|
6443
6449
|
};
|
|
6444
6450
|
Dt([
|
|
6445
|
-
|
|
6451
|
+
w("mesh.captcha.apply", _i),
|
|
6446
6452
|
ht(0, f(0, "kind", String)),
|
|
6447
6453
|
ht(1, f(1, "features", [Map, String, String])),
|
|
6448
6454
|
ie("design:type", Function),
|
|
@@ -6450,7 +6456,7 @@ Dt([
|
|
|
6450
6456
|
ie("design:returntype", typeof (xp = typeof Promise < "u" && Promise) == "function" ? xp : Object)
|
|
6451
6457
|
], gt.prototype, "captcha", null);
|
|
6452
6458
|
Dt([
|
|
6453
|
-
|
|
6459
|
+
w("mesh.captcha.match", Boolean),
|
|
6454
6460
|
ht(0, f(0, "mno", String)),
|
|
6455
6461
|
ht(1, f(1, "value", String)),
|
|
6456
6462
|
ie("design:type", Function),
|
|
@@ -6458,7 +6464,7 @@ Dt([
|
|
|
6458
6464
|
ie("design:returntype", typeof (Tp = typeof Promise < "u" && Promise) == "function" ? Tp : Object)
|
|
6459
6465
|
], gt.prototype, "matches", null);
|
|
6460
6466
|
Dt([
|
|
6461
|
-
|
|
6467
|
+
w("mesh.trust.apply", String),
|
|
6462
6468
|
ht(0, f(0, "kind", String)),
|
|
6463
6469
|
ht(1, f(1, "duration", Number)),
|
|
6464
6470
|
ie("design:type", Function),
|
|
@@ -6466,56 +6472,56 @@ Dt([
|
|
|
6466
6472
|
ie("design:returntype", typeof (Np = typeof Promise < "u" && Promise) == "function" ? Np : Object)
|
|
6467
6473
|
], gt.prototype, "apply", null);
|
|
6468
6474
|
Dt([
|
|
6469
|
-
|
|
6475
|
+
w("mesh.trust.verify", Boolean),
|
|
6470
6476
|
ht(0, f(0, "token", String)),
|
|
6471
6477
|
ie("design:type", Function),
|
|
6472
6478
|
ie("design:paramtypes", [String, Object]),
|
|
6473
6479
|
ie("design:returntype", typeof (Ap = typeof Promise < "u" && Promise) == "function" ? Ap : Object)
|
|
6474
6480
|
], gt.prototype, "verify", null);
|
|
6475
6481
|
Dt([
|
|
6476
|
-
|
|
6482
|
+
w("mesh.oauth2.quickauth", Vn),
|
|
6477
6483
|
ht(0, f(0, "credential", Ht)),
|
|
6478
6484
|
ie("design:type", Function),
|
|
6479
6485
|
ie("design:paramtypes", [typeof (Ip = typeof Ht < "u" && Ht) == "function" ? Ip : Object, Object]),
|
|
6480
6486
|
ie("design:returntype", typeof (Mp = typeof Promise < "u" && Promise) == "function" ? Mp : Object)
|
|
6481
6487
|
], gt.prototype, "quickauth", null);
|
|
6482
6488
|
Dt([
|
|
6483
|
-
|
|
6489
|
+
w("mesh.oauth2.grant", Vf),
|
|
6484
6490
|
ht(0, f(0, "credential", Ht)),
|
|
6485
6491
|
ie("design:type", Function),
|
|
6486
6492
|
ie("design:paramtypes", [typeof (Up = typeof Ht < "u" && Ht) == "function" ? Up : Object, Object]),
|
|
6487
6493
|
ie("design:returntype", typeof ($p = typeof Promise < "u" && Promise) == "function" ? $p : Object)
|
|
6488
6494
|
], gt.prototype, "grant", null);
|
|
6489
6495
|
Dt([
|
|
6490
|
-
|
|
6496
|
+
w("mesh.oauth2.accept", cs),
|
|
6491
6497
|
ht(0, f(0, "code", String)),
|
|
6492
6498
|
ie("design:type", Function),
|
|
6493
6499
|
ie("design:paramtypes", [String, Object]),
|
|
6494
6500
|
ie("design:returntype", typeof (Fp = typeof Promise < "u" && Promise) == "function" ? Fp : Object)
|
|
6495
6501
|
], gt.prototype, "accept", null);
|
|
6496
6502
|
Dt([
|
|
6497
|
-
|
|
6503
|
+
w("mesh.oauth2.reject", Object),
|
|
6498
6504
|
ht(0, f(0, "code", String)),
|
|
6499
6505
|
ie("design:type", Function),
|
|
6500
6506
|
ie("design:paramtypes", [String, Object]),
|
|
6501
6507
|
ie("design:returntype", typeof (Cp = typeof Promise < "u" && Promise) == "function" ? Cp : Object)
|
|
6502
6508
|
], gt.prototype, "reject", null);
|
|
6503
6509
|
Dt([
|
|
6504
|
-
|
|
6510
|
+
w("mesh.oauth2.authorize", Vn),
|
|
6505
6511
|
ht(0, f(0, "code", String)),
|
|
6506
6512
|
ie("design:type", Function),
|
|
6507
6513
|
ie("design:paramtypes", [String, Object]),
|
|
6508
6514
|
ie("design:returntype", typeof (Bp = typeof Promise < "u" && Promise) == "function" ? Bp : Object)
|
|
6509
6515
|
], gt.prototype, "authorize", null);
|
|
6510
6516
|
Dt([
|
|
6511
|
-
|
|
6517
|
+
w("mesh.oauth2.authenticate", bo),
|
|
6512
6518
|
ht(0, f(0, "token", String)),
|
|
6513
6519
|
ie("design:type", Function),
|
|
6514
6520
|
ie("design:paramtypes", [String, Object]),
|
|
6515
6521
|
ie("design:returntype", typeof (Dp = typeof Promise < "u" && Promise) == "function" ? Dp : Object)
|
|
6516
6522
|
], gt.prototype, "authenticate", null);
|
|
6517
6523
|
Dt([
|
|
6518
|
-
|
|
6524
|
+
w("mesh.oauth2.refresh", Vn),
|
|
6519
6525
|
ht(0, f(0, "token", String)),
|
|
6520
6526
|
ie("design:type", Function),
|
|
6521
6527
|
ie("design:paramtypes", [String, Object]),
|
|
@@ -6580,7 +6586,7 @@ let On = class {
|
|
|
6580
6586
|
}
|
|
6581
6587
|
};
|
|
6582
6588
|
gr([
|
|
6583
|
-
|
|
6589
|
+
w("${mesh.name}.tcp.attach", String),
|
|
6584
6590
|
Qt(0, f(0, "uri", String)),
|
|
6585
6591
|
Qt(1, f(1, "pdc", String)),
|
|
6586
6592
|
De("design:type", Function),
|
|
@@ -6588,14 +6594,14 @@ gr([
|
|
|
6588
6594
|
De("design:returntype", typeof (Lp = typeof Promise < "u" && Promise) == "function" ? Lp : Object)
|
|
6589
6595
|
], On.prototype, "attach", null);
|
|
6590
6596
|
gr([
|
|
6591
|
-
|
|
6597
|
+
w("${mesh.name}.tcp.detach", Object),
|
|
6592
6598
|
Qt(0, f(0, "descriptor", String)),
|
|
6593
6599
|
De("design:type", Function),
|
|
6594
6600
|
De("design:paramtypes", [String, Object]),
|
|
6595
6601
|
De("design:returntype", typeof (Hp = typeof Promise < "u" && Promise) == "function" ? Hp : Object)
|
|
6596
6602
|
], On.prototype, "detach", null);
|
|
6597
6603
|
gr([
|
|
6598
|
-
|
|
6604
|
+
w("${mesh.name}.tcp.scan", [Array, zt]),
|
|
6599
6605
|
Qt(0, f(0, "rid", String)),
|
|
6600
6606
|
Qt(1, f(1, "h", Number)),
|
|
6601
6607
|
Qt(2, f(2, "limit", Number)),
|
|
@@ -6604,14 +6610,14 @@ gr([
|
|
|
6604
6610
|
De("design:returntype", typeof (qp = typeof Promise < "u" && Promise) == "function" ? qp : Object)
|
|
6605
6611
|
], On.prototype, "scan", null);
|
|
6606
6612
|
gr([
|
|
6607
|
-
|
|
6613
|
+
w("${mesh.name}.tcp.write", Object),
|
|
6608
6614
|
Qt(0, f(0, "packet", zt)),
|
|
6609
6615
|
De("design:type", Function),
|
|
6610
6616
|
De("design:paramtypes", [typeof (zp = typeof zt < "u" && zt) == "function" ? zp : Object, Object]),
|
|
6611
6617
|
De("design:returntype", typeof (Gp = typeof Promise < "u" && Promise) == "function" ? Gp : Object)
|
|
6612
6618
|
], On.prototype, "write", null);
|
|
6613
6619
|
gr([
|
|
6614
|
-
|
|
6620
|
+
w("${mesh.name}.tcp.read", [Array, zt]),
|
|
6615
6621
|
Qt(0, f(0, "bucket", String)),
|
|
6616
6622
|
Qt(1, f(1, "limit", Number)),
|
|
6617
6623
|
De("design:type", Function),
|
|
@@ -6619,7 +6625,7 @@ gr([
|
|
|
6619
6625
|
De("design:returntype", typeof (Vp = typeof Promise < "u" && Promise) == "function" ? Vp : Object)
|
|
6620
6626
|
], On.prototype, "read", null);
|
|
6621
6627
|
gr([
|
|
6622
|
-
|
|
6628
|
+
w("${mesh.name}.tcp.clean", Object),
|
|
6623
6629
|
Qt(0, f(0, "buckets", [Array, String])),
|
|
6624
6630
|
De("design:type", Function),
|
|
6625
6631
|
De("design:paramtypes", [Array, Object]),
|
|
@@ -6685,21 +6691,21 @@ let nn = class {
|
|
|
6685
6691
|
}
|
|
6686
6692
|
};
|
|
6687
6693
|
Jn([
|
|
6688
|
-
|
|
6694
|
+
w("mesh.fs.exist", Boolean),
|
|
6689
6695
|
qn(0, f(0, "path", String)),
|
|
6690
6696
|
Ie("design:type", Function),
|
|
6691
6697
|
Ie("design:paramtypes", [String, Object]),
|
|
6692
6698
|
Ie("design:returntype", typeof (Jp = typeof Promise < "u" && Promise) == "function" ? Jp : Object)
|
|
6693
6699
|
], nn.prototype, "exist", null);
|
|
6694
6700
|
Jn([
|
|
6695
|
-
|
|
6701
|
+
w("mesh.fs.mkdir", Object),
|
|
6696
6702
|
qn(0, f(0, "path", String)),
|
|
6697
6703
|
Ie("design:type", Function),
|
|
6698
6704
|
Ie("design:paramtypes", [String, Object]),
|
|
6699
6705
|
Ie("design:returntype", typeof (Xp = typeof Promise < "u" && Promise) == "function" ? Xp : Object)
|
|
6700
6706
|
], nn.prototype, "mkdir", null);
|
|
6701
6707
|
Jn([
|
|
6702
|
-
|
|
6708
|
+
w("mesh.fs.write", Object),
|
|
6703
6709
|
qn(0, f(0, "path", String)),
|
|
6704
6710
|
qn(1, f(1, "buff", Uint8Array)),
|
|
6705
6711
|
Ie("design:type", Function),
|
|
@@ -6707,28 +6713,28 @@ Jn([
|
|
|
6707
6713
|
Ie("design:returntype", typeof (Yp = typeof Promise < "u" && Promise) == "function" ? Yp : Object)
|
|
6708
6714
|
], nn.prototype, "write", null);
|
|
6709
6715
|
Jn([
|
|
6710
|
-
|
|
6716
|
+
w("mesh.fs.read", Uint8Array),
|
|
6711
6717
|
qn(0, f(0, "path", String)),
|
|
6712
6718
|
Ie("design:type", Function),
|
|
6713
6719
|
Ie("design:paramtypes", [String, Object]),
|
|
6714
6720
|
Ie("design:returntype", typeof (Qp = typeof Promise < "u" && Promise) == "function" ? Qp : Object)
|
|
6715
6721
|
], nn.prototype, "read", null);
|
|
6716
6722
|
Jn([
|
|
6717
|
-
|
|
6723
|
+
w("mesh.fs.remove", Object),
|
|
6718
6724
|
qn(0, f(0, "path", String)),
|
|
6719
6725
|
Ie("design:type", Function),
|
|
6720
6726
|
Ie("design:paramtypes", [String, Object]),
|
|
6721
6727
|
Ie("design:returntype", typeof (Zp = typeof Promise < "u" && Promise) == "function" ? Zp : Object)
|
|
6722
6728
|
], nn.prototype, "remove", null);
|
|
6723
6729
|
Jn([
|
|
6724
|
-
|
|
6730
|
+
w("mesh.fs.delete", Object),
|
|
6725
6731
|
qn(0, f(0, "paths", [Array, String])),
|
|
6726
6732
|
Ie("design:type", Function),
|
|
6727
6733
|
Ie("design:paramtypes", [Array, Object]),
|
|
6728
6734
|
Ie("design:returntype", typeof (ef = typeof Promise < "u" && Promise) == "function" ? ef : Object)
|
|
6729
6735
|
], nn.prototype, "delete", null);
|
|
6730
6736
|
Jn([
|
|
6731
|
-
|
|
6737
|
+
w("mesh.fs.ls", mi),
|
|
6732
6738
|
qn(0, f(0, "path", String)),
|
|
6733
6739
|
Ie("design:type", Function),
|
|
6734
6740
|
Ie("design:paramtypes", [String, Object]),
|
|
@@ -6797,49 +6803,49 @@ let rn = class {
|
|
|
6797
6803
|
}
|
|
6798
6804
|
};
|
|
6799
6805
|
Xn([
|
|
6800
|
-
|
|
6806
|
+
w("mesh.workflow.mass", String),
|
|
6801
6807
|
br(0, f(0, "group", Un)),
|
|
6802
6808
|
Me("design:type", Function),
|
|
6803
6809
|
Me("design:paramtypes", [typeof (nf = typeof Un < "u" && Un) == "function" ? nf : Object, Object]),
|
|
6804
6810
|
Me("design:returntype", typeof (rf = typeof Promise < "u" && Promise) == "function" ? rf : Object)
|
|
6805
6811
|
], rn.prototype, "mass", null);
|
|
6806
6812
|
Xn([
|
|
6807
|
-
|
|
6813
|
+
w("mesh.workflow.groups", [Be, Un]),
|
|
6808
6814
|
br(0, f(0, "index", W)),
|
|
6809
6815
|
Me("design:type", Function),
|
|
6810
6816
|
Me("design:paramtypes", [typeof (of = typeof W < "u" && W) == "function" ? of : Object, Object]),
|
|
6811
6817
|
Me("design:returntype", typeof (sf = typeof Promise < "u" && Promise) == "function" ? sf : Object)
|
|
6812
6818
|
], rn.prototype, "groups", null);
|
|
6813
6819
|
Xn([
|
|
6814
|
-
|
|
6820
|
+
w("mesh.workflow.compile", String),
|
|
6815
6821
|
br(0, f(0, "chart", Rt)),
|
|
6816
6822
|
Me("design:type", Function),
|
|
6817
6823
|
Me("design:paramtypes", [typeof (cf = typeof Rt < "u" && Rt) == "function" ? cf : Object, Object]),
|
|
6818
6824
|
Me("design:returntype", typeof (af = typeof Promise < "u" && Promise) == "function" ? af : Object)
|
|
6819
6825
|
], rn.prototype, "compile", null);
|
|
6820
6826
|
Xn([
|
|
6821
|
-
|
|
6827
|
+
w("mesh.workflow.index", [Be, Rt]),
|
|
6822
6828
|
br(0, f(0, "index", W)),
|
|
6823
6829
|
Me("design:type", Function),
|
|
6824
6830
|
Me("design:paramtypes", [typeof (uf = typeof W < "u" && W) == "function" ? uf : Object, Object]),
|
|
6825
6831
|
Me("design:returntype", typeof (pf = typeof Promise < "u" && Promise) == "function" ? pf : Object)
|
|
6826
6832
|
], rn.prototype, "index", null);
|
|
6827
6833
|
Xn([
|
|
6828
|
-
|
|
6834
|
+
w("mesh.workflow.submit", String),
|
|
6829
6835
|
br(0, f(0, "intent", rr)),
|
|
6830
6836
|
Me("design:type", Function),
|
|
6831
6837
|
Me("design:paramtypes", [typeof (ff = typeof rr < "u" && rr) == "function" ? ff : Object, Object]),
|
|
6832
6838
|
Me("design:returntype", typeof (df = typeof Promise < "u" && Promise) == "function" ? df : Object)
|
|
6833
6839
|
], rn.prototype, "submit", null);
|
|
6834
6840
|
Xn([
|
|
6835
|
-
|
|
6841
|
+
w("mesh.workflow.take", Object),
|
|
6836
6842
|
br(0, f(0, "vertex", Ge)),
|
|
6837
6843
|
Me("design:type", Function),
|
|
6838
6844
|
Me("design:paramtypes", [typeof (lf = typeof Ge < "u" && Ge) == "function" ? lf : Object, Object]),
|
|
6839
6845
|
Me("design:returntype", typeof (yf = typeof Promise < "u" && Promise) == "function" ? yf : Object)
|
|
6840
6846
|
], rn.prototype, "take", null);
|
|
6841
6847
|
Xn([
|
|
6842
|
-
|
|
6848
|
+
w("mesh.workflow.routines", [Be, Ge]),
|
|
6843
6849
|
br(0, f(0, "index", W)),
|
|
6844
6850
|
Me("design:type", Function),
|
|
6845
6851
|
Me("design:paramtypes", [typeof (mf = typeof W < "u" && W) == "function" ? mf : Object, Object]),
|
|
@@ -6877,7 +6883,7 @@ Fe = Zd([
|
|
|
6877
6883
|
var ko = {}, ei = {}, gf;
|
|
6878
6884
|
function el() {
|
|
6879
6885
|
if (gf) return ei;
|
|
6880
|
-
gf = 1, ei.byteLength = a, ei.toByteArray =
|
|
6886
|
+
gf = 1, ei.byteLength = a, ei.toByteArray = R, ei.fromByteArray = U;
|
|
6881
6887
|
for (var r = [], e = [], t = typeof Uint8Array < "u" ? Uint8Array : Array, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = 0, i = n.length; o < i; ++o)
|
|
6882
6888
|
r[o] = n[o], e[n.charCodeAt(o)] = o;
|
|
6883
6889
|
e[45] = 62, e[95] = 63;
|
|
@@ -6897,18 +6903,18 @@ function el() {
|
|
|
6897
6903
|
function S(x, j, N) {
|
|
6898
6904
|
return (j + N) * 3 / 4 - N;
|
|
6899
6905
|
}
|
|
6900
|
-
function
|
|
6906
|
+
function R(x) {
|
|
6901
6907
|
var j, N = s(x), T = N[0], L = N[1], H = new t(S(x, T, L)), J = 0, Ce = L > 0 ? T - 4 : T, K;
|
|
6902
6908
|
for (K = 0; K < Ce; K += 4)
|
|
6903
6909
|
j = e[x.charCodeAt(K)] << 18 | e[x.charCodeAt(K + 1)] << 12 | e[x.charCodeAt(K + 2)] << 6 | e[x.charCodeAt(K + 3)], H[J++] = j >> 16 & 255, H[J++] = j >> 8 & 255, H[J++] = j & 255;
|
|
6904
6910
|
return L === 2 && (j = e[x.charCodeAt(K)] << 2 | e[x.charCodeAt(K + 1)] >> 4, H[J++] = j & 255), L === 1 && (j = e[x.charCodeAt(K)] << 10 | e[x.charCodeAt(K + 1)] << 4 | e[x.charCodeAt(K + 2)] >> 2, H[J++] = j >> 8 & 255, H[J++] = j & 255), H;
|
|
6905
6911
|
}
|
|
6906
|
-
function
|
|
6912
|
+
function b(x) {
|
|
6907
6913
|
return r[x >> 18 & 63] + r[x >> 12 & 63] + r[x >> 6 & 63] + r[x & 63];
|
|
6908
6914
|
}
|
|
6909
6915
|
function P(x, j, N) {
|
|
6910
6916
|
for (var T, L = [], H = j; H < N; H += 3)
|
|
6911
|
-
T = (x[H] << 16 & 16711680) + (x[H + 1] << 8 & 65280) + (x[H + 2] & 255), L.push(
|
|
6917
|
+
T = (x[H] << 16 & 16711680) + (x[H + 1] << 8 & 65280) + (x[H + 2] & 255), L.push(b(T));
|
|
6912
6918
|
return L.join("");
|
|
6913
6919
|
}
|
|
6914
6920
|
function U(x) {
|
|
@@ -6927,24 +6933,24 @@ var Li = {};
|
|
|
6927
6933
|
var bf;
|
|
6928
6934
|
function tl() {
|
|
6929
6935
|
return bf || (bf = 1, Li.read = function(r, e, t, n, o) {
|
|
6930
|
-
var i, s, a = o * 8 - n - 1, S = (1 << a) - 1,
|
|
6931
|
-
for (P += U, i = x & (1 << -
|
|
6936
|
+
var i, s, a = o * 8 - n - 1, S = (1 << a) - 1, R = S >> 1, b = -7, P = t ? o - 1 : 0, U = t ? -1 : 1, x = r[e + P];
|
|
6937
|
+
for (P += U, i = x & (1 << -b) - 1, x >>= -b, b += a; b > 0; i = i * 256 + r[e + P], P += U, b -= 8)
|
|
6932
6938
|
;
|
|
6933
|
-
for (s = i & (1 << -
|
|
6939
|
+
for (s = i & (1 << -b) - 1, i >>= -b, b += n; b > 0; s = s * 256 + r[e + P], P += U, b -= 8)
|
|
6934
6940
|
;
|
|
6935
6941
|
if (i === 0)
|
|
6936
|
-
i = 1 -
|
|
6942
|
+
i = 1 - R;
|
|
6937
6943
|
else {
|
|
6938
6944
|
if (i === S)
|
|
6939
6945
|
return s ? NaN : (x ? -1 : 1) * (1 / 0);
|
|
6940
|
-
s = s + Math.pow(2, n), i = i -
|
|
6946
|
+
s = s + Math.pow(2, n), i = i - R;
|
|
6941
6947
|
}
|
|
6942
6948
|
return (x ? -1 : 1) * s * Math.pow(2, i - n);
|
|
6943
6949
|
}, Li.write = function(r, e, t, n, o, i) {
|
|
6944
|
-
var s, a, S,
|
|
6945
|
-
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0, s =
|
|
6950
|
+
var s, a, S, R = i * 8 - o - 1, b = (1 << R) - 1, P = b >> 1, U = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, x = n ? 0 : i - 1, j = n ? 1 : -1, N = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
|
|
6951
|
+
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (a = isNaN(e) ? 1 : 0, s = b) : (s = Math.floor(Math.log(e) / Math.LN2), e * (S = Math.pow(2, -s)) < 1 && (s--, S *= 2), s + P >= 1 ? e += U / S : e += U * Math.pow(2, 1 - P), e * S >= 2 && (s++, S /= 2), s + P >= b ? (a = 0, s = b) : s + P >= 1 ? (a = (e * S - 1) * Math.pow(2, o), s = s + P) : (a = e * Math.pow(2, P - 1) * Math.pow(2, o), s = 0)); o >= 8; r[t + x] = a & 255, x += j, a /= 256, o -= 8)
|
|
6946
6952
|
;
|
|
6947
|
-
for (s = s << o | a,
|
|
6953
|
+
for (s = s << o | a, R += o; R > 0; r[t + x] = s & 255, x += j, s /= 256, R -= 8)
|
|
6948
6954
|
;
|
|
6949
6955
|
r[t + x - j] |= N * 128;
|
|
6950
6956
|
}), Li;
|
|
@@ -7033,20 +7039,20 @@ function nl() {
|
|
|
7033
7039
|
a.from = function(d, u, p) {
|
|
7034
7040
|
return S(d, u, p);
|
|
7035
7041
|
}, Object.setPrototypeOf(a.prototype, Uint8Array.prototype), Object.setPrototypeOf(a, Uint8Array);
|
|
7036
|
-
function
|
|
7042
|
+
function R(d) {
|
|
7037
7043
|
if (typeof d != "number")
|
|
7038
7044
|
throw new TypeError('"size" argument must be of type number');
|
|
7039
7045
|
if (d < 0)
|
|
7040
7046
|
throw new RangeError('The value "' + d + '" is invalid for option "size"');
|
|
7041
7047
|
}
|
|
7042
|
-
function
|
|
7043
|
-
return
|
|
7048
|
+
function b(d, u, p) {
|
|
7049
|
+
return R(d), d <= 0 ? s(d) : u !== void 0 ? typeof p == "string" ? s(d).fill(u, p) : s(d).fill(u) : s(d);
|
|
7044
7050
|
}
|
|
7045
7051
|
a.alloc = function(d, u, p) {
|
|
7046
|
-
return
|
|
7052
|
+
return b(d, u, p);
|
|
7047
7053
|
};
|
|
7048
7054
|
function P(d) {
|
|
7049
|
-
return
|
|
7055
|
+
return R(d), s(d < 0 ? 0 : L(d) | 0);
|
|
7050
7056
|
}
|
|
7051
7057
|
a.allocUnsafe = function(d) {
|
|
7052
7058
|
return P(d);
|
|
@@ -7274,14 +7280,14 @@ function nl() {
|
|
|
7274
7280
|
if (p >= y)
|
|
7275
7281
|
return 1;
|
|
7276
7282
|
if (p >>>= 0, y >>>= 0, g >>>= 0, l >>>= 0, this === u) return 0;
|
|
7277
|
-
let m = l - g,
|
|
7278
|
-
const E = Math.min(m,
|
|
7283
|
+
let m = l - g, _ = y - p;
|
|
7284
|
+
const E = Math.min(m, _), A = this.slice(g, l), q = u.slice(p, y);
|
|
7279
7285
|
for (let D = 0; D < E; ++D)
|
|
7280
7286
|
if (A[D] !== q[D]) {
|
|
7281
|
-
m = A[D],
|
|
7287
|
+
m = A[D], _ = q[D];
|
|
7282
7288
|
break;
|
|
7283
7289
|
}
|
|
7284
|
-
return m <
|
|
7290
|
+
return m < _ ? -1 : _ < m ? 1 : 0;
|
|
7285
7291
|
};
|
|
7286
7292
|
function bt(d, u, p, y, g) {
|
|
7287
7293
|
if (d.length === 0) return -1;
|
|
@@ -7298,11 +7304,11 @@ function nl() {
|
|
|
7298
7304
|
throw new TypeError("val must be string, number or Buffer");
|
|
7299
7305
|
}
|
|
7300
7306
|
function jt(d, u, p, y, g) {
|
|
7301
|
-
let l = 1, m = d.length,
|
|
7307
|
+
let l = 1, m = d.length, _ = u.length;
|
|
7302
7308
|
if (y !== void 0 && (y = String(y).toLowerCase(), y === "ucs2" || y === "ucs-2" || y === "utf16le" || y === "utf-16le")) {
|
|
7303
7309
|
if (d.length < 2 || u.length < 2)
|
|
7304
7310
|
return -1;
|
|
7305
|
-
l = 2, m /= 2,
|
|
7311
|
+
l = 2, m /= 2, _ /= 2, p /= 2;
|
|
7306
7312
|
}
|
|
7307
7313
|
function E(q, D) {
|
|
7308
7314
|
return l === 1 ? q[D] : q.readUInt16BE(D * l);
|
|
@@ -7312,13 +7318,13 @@ function nl() {
|
|
|
7312
7318
|
let q = -1;
|
|
7313
7319
|
for (A = p; A < m; A++)
|
|
7314
7320
|
if (E(d, A) === E(u, q === -1 ? 0 : A - q)) {
|
|
7315
|
-
if (q === -1 && (q = A), A - q + 1 ===
|
|
7321
|
+
if (q === -1 && (q = A), A - q + 1 === _) return q * l;
|
|
7316
7322
|
} else
|
|
7317
7323
|
q !== -1 && (A -= A - q), q = -1;
|
|
7318
7324
|
} else
|
|
7319
|
-
for (p +
|
|
7325
|
+
for (p + _ > m && (p = m - _), A = p; A >= 0; A--) {
|
|
7320
7326
|
let q = !0;
|
|
7321
|
-
for (let D = 0; D <
|
|
7327
|
+
for (let D = 0; D < _; D++)
|
|
7322
7328
|
if (E(d, A + D) !== E(u, D)) {
|
|
7323
7329
|
q = !1;
|
|
7324
7330
|
break;
|
|
@@ -7342,9 +7348,9 @@ function nl() {
|
|
|
7342
7348
|
y > l / 2 && (y = l / 2);
|
|
7343
7349
|
let m;
|
|
7344
7350
|
for (m = 0; m < y; ++m) {
|
|
7345
|
-
const
|
|
7346
|
-
if (Zr(
|
|
7347
|
-
d[p + m] =
|
|
7351
|
+
const _ = parseInt(u.substr(m * 2, 2), 16);
|
|
7352
|
+
if (Zr(_)) return m;
|
|
7353
|
+
d[p + m] = _;
|
|
7348
7354
|
}
|
|
7349
7355
|
return m;
|
|
7350
7356
|
}
|
|
@@ -7413,10 +7419,10 @@ function nl() {
|
|
|
7413
7419
|
let g = u;
|
|
7414
7420
|
for (; g < p; ) {
|
|
7415
7421
|
const l = d[g];
|
|
7416
|
-
let m = null,
|
|
7417
|
-
if (g +
|
|
7422
|
+
let m = null, _ = l > 239 ? 4 : l > 223 ? 3 : l > 191 ? 2 : 1;
|
|
7423
|
+
if (g + _ <= p) {
|
|
7418
7424
|
let E, A, q, D;
|
|
7419
|
-
switch (
|
|
7425
|
+
switch (_) {
|
|
7420
7426
|
case 1:
|
|
7421
7427
|
l < 128 && (m = l);
|
|
7422
7428
|
break;
|
|
@@ -7430,7 +7436,7 @@ function nl() {
|
|
|
7430
7436
|
E = d[g + 1], A = d[g + 2], q = d[g + 3], (E & 192) === 128 && (A & 192) === 128 && (q & 192) === 128 && (D = (l & 15) << 18 | (E & 63) << 12 | (A & 63) << 6 | q & 63, D > 65535 && D < 1114112 && (m = D));
|
|
7431
7437
|
}
|
|
7432
7438
|
}
|
|
7433
|
-
m === null ? (m = 65533,
|
|
7439
|
+
m === null ? (m = 65533, _ = 1) : m > 65535 && (m -= 65536, y.push(m >>> 10 & 1023 | 55296), m = 56320 | m & 1023), y.push(m), g += _;
|
|
7434
7440
|
}
|
|
7435
7441
|
return Xr(y);
|
|
7436
7442
|
}
|
|
@@ -7575,8 +7581,8 @@ function nl() {
|
|
|
7575
7581
|
}
|
|
7576
7582
|
a.prototype.writeUintLE = a.prototype.writeUIntLE = function(u, p, y, g) {
|
|
7577
7583
|
if (u = +u, p = p >>> 0, y = y >>> 0, !g) {
|
|
7578
|
-
const
|
|
7579
|
-
ke(this, u, p, y,
|
|
7584
|
+
const _ = Math.pow(2, 8 * y) - 1;
|
|
7585
|
+
ke(this, u, p, y, _, 0);
|
|
7580
7586
|
}
|
|
7581
7587
|
let l = 1, m = 0;
|
|
7582
7588
|
for (this[p] = u & 255; ++m < y && (l *= 256); )
|
|
@@ -7584,8 +7590,8 @@ function nl() {
|
|
|
7584
7590
|
return p + y;
|
|
7585
7591
|
}, a.prototype.writeUintBE = a.prototype.writeUIntBE = function(u, p, y, g) {
|
|
7586
7592
|
if (u = +u, p = p >>> 0, y = y >>> 0, !g) {
|
|
7587
|
-
const
|
|
7588
|
-
ke(this, u, p, y,
|
|
7593
|
+
const _ = Math.pow(2, 8 * y) - 1;
|
|
7594
|
+
ke(this, u, p, y, _, 0);
|
|
7589
7595
|
}
|
|
7590
7596
|
let l = y - 1, m = 1;
|
|
7591
7597
|
for (this[p + l] = u & 255; --l >= 0 && (m *= 256); )
|
|
@@ -7625,18 +7631,18 @@ function nl() {
|
|
|
7625
7631
|
const E = Math.pow(2, 8 * y - 1);
|
|
7626
7632
|
ke(this, u, p, y, E - 1, -E);
|
|
7627
7633
|
}
|
|
7628
|
-
let l = 0, m = 1,
|
|
7634
|
+
let l = 0, m = 1, _ = 0;
|
|
7629
7635
|
for (this[p] = u & 255; ++l < y && (m *= 256); )
|
|
7630
|
-
u < 0 &&
|
|
7636
|
+
u < 0 && _ === 0 && this[p + l - 1] !== 0 && (_ = 1), this[p + l] = (u / m >> 0) - _ & 255;
|
|
7631
7637
|
return p + y;
|
|
7632
7638
|
}, a.prototype.writeIntBE = function(u, p, y, g) {
|
|
7633
7639
|
if (u = +u, p = p >>> 0, !g) {
|
|
7634
7640
|
const E = Math.pow(2, 8 * y - 1);
|
|
7635
7641
|
ke(this, u, p, y, E - 1, -E);
|
|
7636
7642
|
}
|
|
7637
|
-
let l = y - 1, m = 1,
|
|
7643
|
+
let l = y - 1, m = 1, _ = 0;
|
|
7638
7644
|
for (this[p + l] = u & 255; --l >= 0 && (m *= 256); )
|
|
7639
|
-
u < 0 &&
|
|
7645
|
+
u < 0 && _ === 0 && this[p + l + 1] !== 0 && (_ = 1), this[p + l] = (u / m >> 0) - _ & 255;
|
|
7640
7646
|
return p + y;
|
|
7641
7647
|
}, a.prototype.writeInt8 = function(u, p, y) {
|
|
7642
7648
|
return u = +u, p = p >>> 0, y || ke(this, u, p, 1, 127, -128), u < 0 && (u = 255 + u + 1), this[p] = u & 255, p + 1;
|
|
@@ -7707,11 +7713,11 @@ function nl() {
|
|
|
7707
7713
|
for (l = p; l < y; ++l)
|
|
7708
7714
|
this[l] = u;
|
|
7709
7715
|
else {
|
|
7710
|
-
const m = a.isBuffer(u) ? u : a.from(u, g),
|
|
7711
|
-
if (
|
|
7716
|
+
const m = a.isBuffer(u) ? u : a.from(u, g), _ = m.length;
|
|
7717
|
+
if (_ === 0)
|
|
7712
7718
|
throw new TypeError('The value "' + u + '" is invalid for argument "value"');
|
|
7713
7719
|
for (l = 0; l < y - p; ++l)
|
|
7714
|
-
this[l + p] = m[l %
|
|
7720
|
+
this[l + p] = m[l % _];
|
|
7715
7721
|
}
|
|
7716
7722
|
return this;
|
|
7717
7723
|
};
|
|
@@ -7774,8 +7780,8 @@ function nl() {
|
|
|
7774
7780
|
function Kr(d, u, p, y, g, l) {
|
|
7775
7781
|
if (d > p || d < u) {
|
|
7776
7782
|
const m = typeof u == "bigint" ? "n" : "";
|
|
7777
|
-
let
|
|
7778
|
-
throw u === 0 || u === BigInt(0) ?
|
|
7783
|
+
let _;
|
|
7784
|
+
throw u === 0 || u === BigInt(0) ? _ = `>= 0${m} and < 2${m} ** ${(l + 1) * 8}${m}` : _ = `>= -(2${m} ** ${(l + 1) * 8 - 1}${m}) and < 2 ** ${(l + 1) * 8 - 1}${m}`, new xn.ERR_OUT_OF_RANGE("value", _, d);
|
|
7779
7785
|
}
|
|
7780
7786
|
Pt(y, g, l);
|
|
7781
7787
|
}
|
|
@@ -7932,11 +7938,11 @@ let Rf = class extends Fe {
|
|
|
7932
7938
|
if (!o || t.parameters.length < 1)
|
|
7933
7939
|
return new Map(Object.entries(n));
|
|
7934
7940
|
const s = /* @__PURE__ */ new Map();
|
|
7935
|
-
return Object.keys(n).forEach((
|
|
7936
|
-
s.set(this.decorateAny(t.parameters[0],
|
|
7941
|
+
return Object.keys(n).forEach((b) => {
|
|
7942
|
+
s.set(this.decorateAny(t.parameters[0], b), this.decorateAny(t.parameters[1], n[b]));
|
|
7937
7943
|
}), s;
|
|
7938
7944
|
case Array:
|
|
7939
|
-
return n == null ? [] : !o || t.parameters.length < 1 ? n : n.map((
|
|
7945
|
+
return n == null ? [] : !o || t.parameters.length < 1 ? n : n.map((b) => this.decorateAny(t.parameters[0], b));
|
|
7940
7946
|
case Be:
|
|
7941
7947
|
if (n == null)
|
|
7942
7948
|
return null;
|
|
@@ -7945,8 +7951,8 @@ let Rf = class extends Fe {
|
|
|
7945
7951
|
return Object.assign(a, n);
|
|
7946
7952
|
Object.assign(a, n);
|
|
7947
7953
|
const S = [];
|
|
7948
|
-
for (let
|
|
7949
|
-
S.push(this.decorateAny(t.parameters[0],
|
|
7954
|
+
for (let b of a.data || [])
|
|
7955
|
+
S.push(this.decorateAny(t.parameters[0], b));
|
|
7950
7956
|
return a.data = S, a;
|
|
7951
7957
|
case String:
|
|
7952
7958
|
case Number:
|
|
@@ -7960,16 +7966,16 @@ let Rf = class extends Fe {
|
|
|
7960
7966
|
default:
|
|
7961
7967
|
if (n == null)
|
|
7962
7968
|
return null;
|
|
7963
|
-
const
|
|
7964
|
-
return Object.keys(
|
|
7965
|
-
const U = Se.metadata(sr, i,
|
|
7969
|
+
const R = new i();
|
|
7970
|
+
return Object.keys(R).forEach((b, P) => {
|
|
7971
|
+
const U = Se.metadata(sr, i, b);
|
|
7966
7972
|
if (!U) {
|
|
7967
|
-
Reflect.set(
|
|
7973
|
+
Reflect.set(R, b, n[b]);
|
|
7968
7974
|
return;
|
|
7969
7975
|
}
|
|
7970
|
-
const x = n[
|
|
7971
|
-
Reflect.set(
|
|
7972
|
-
}),
|
|
7976
|
+
const x = n[b] != null ? n[b] : n[U.name];
|
|
7977
|
+
Reflect.set(R, b, this.decorateAny(U.kind, x));
|
|
7978
|
+
}), R;
|
|
7973
7979
|
}
|
|
7974
7980
|
}
|
|
7975
7981
|
encode(t) {
|
|
@@ -8046,13 +8052,13 @@ let Sf = (In = class extends fi {
|
|
|
8046
8052
|
}
|
|
8047
8053
|
setArguments(s) {
|
|
8048
8054
|
const a = ze.load(Fe).getDefault();
|
|
8049
|
-
t.getParameters().forEach((S,
|
|
8055
|
+
t.getParameters().forEach((S, R) => {
|
|
8050
8056
|
if (s && s.length > S.index && !(s[S.index] instanceof is)) {
|
|
8051
|
-
const
|
|
8052
|
-
if (
|
|
8057
|
+
const b = s[S.index];
|
|
8058
|
+
if (b == null)
|
|
8053
8059
|
return;
|
|
8054
|
-
if (
|
|
8055
|
-
Reflect.set(this, S.name,
|
|
8060
|
+
if (b instanceof S.kind && !(S.kind instanceof mr)) {
|
|
8061
|
+
Reflect.set(this, S.name, b);
|
|
8056
8062
|
return;
|
|
8057
8063
|
}
|
|
8058
8064
|
switch (S.kind) {
|
|
@@ -8064,10 +8070,10 @@ let Sf = (In = class extends fi {
|
|
|
8064
8070
|
case Object:
|
|
8065
8071
|
case Date:
|
|
8066
8072
|
case Uint8Array:
|
|
8067
|
-
Reflect.set(this, S.name,
|
|
8073
|
+
Reflect.set(this, S.name, b);
|
|
8068
8074
|
break;
|
|
8069
8075
|
default:
|
|
8070
|
-
const P = a.encode(
|
|
8076
|
+
const P = a.encode(b), U = a.decode(P, S.kind);
|
|
8071
8077
|
Reflect.set(this, S.name, U);
|
|
8072
8078
|
}
|
|
8073
8079
|
}
|
|
@@ -8684,8 +8690,8 @@ class ir {
|
|
|
8684
8690
|
return t.v = oe.substring(e, 0, 2), t.proto = oe.substring(e, 2, 2), t.codec = oe.substring(e, 4, 2), t.version = this.reduce(oe.substring(e, 6, 6), 2), t.zone = oe.substring(e, 12, 2), t.cluster = oe.substring(e, 14, 2), t.cell = oe.substring(e, 16, 2), t.group = oe.substring(e, 18, 2), t.address = this.reduce(oe.substring(e, 20, 12), 3), t.port = this.reduce(oe.substring(e, 32, 5), 5), t;
|
|
8685
8691
|
}
|
|
8686
8692
|
toString() {
|
|
8687
|
-
const e = this.padding(oe.anyone(this.v, ""), 2), t = this.padding(oe.anyone(this.proto, ""), 2), n = this.padding(oe.anyone(this.codec, ""), 2), o = this.paddingChain(oe.anyone(this.version, ""), 2, 3), i = this.padding(oe.anyone(this.zone, ""), 2), s = this.padding(oe.anyone(this.cluster, ""), 2), a = this.padding(oe.anyone(this.cell, ""), 2), S = this.padding(oe.anyone(this.group, ""), 2),
|
|
8688
|
-
return `${e}${t}${n}${o}${i}${s}${a}${S}${
|
|
8693
|
+
const e = this.padding(oe.anyone(this.v, ""), 2), t = this.padding(oe.anyone(this.proto, ""), 2), n = this.padding(oe.anyone(this.codec, ""), 2), o = this.paddingChain(oe.anyone(this.version, ""), 2, 3), i = this.padding(oe.anyone(this.zone, ""), 2), s = this.padding(oe.anyone(this.cluster, ""), 2), a = this.padding(oe.anyone(this.cell, ""), 2), S = this.padding(oe.anyone(this.group, ""), 2), R = this.paddingChain(oe.anyone(this.address, ""), 3, 4), b = this.padding(oe.anyone(this.port, ""), 5);
|
|
8694
|
+
return `${e}${t}${n}${o}${i}${s}${a}${S}${R}${b}`;
|
|
8689
8695
|
}
|
|
8690
8696
|
padding(e, t) {
|
|
8691
8697
|
const n = e.replace(".", "");
|
|
@@ -8734,18 +8740,18 @@ class bl {
|
|
|
8734
8740
|
try {
|
|
8735
8741
|
const s = this.context(n), a = this.referExecution(s, t), S = this.rewriteURN(s, a);
|
|
8736
8742
|
s.rewriteURN(S), s.setAttribute(dn.REMOTE, this.rewriteAddress(S));
|
|
8737
|
-
const
|
|
8738
|
-
|
|
8739
|
-
const
|
|
8740
|
-
s.setAttribute(dn.INVOCATION,
|
|
8743
|
+
const R = a.inflect(s);
|
|
8744
|
+
R.setArguments(n), R.setAttachments(/* @__PURE__ */ new Map());
|
|
8745
|
+
const b = new gl(this, t, R, a);
|
|
8746
|
+
s.setAttribute(dn.INVOCATION, b), o(await this.invoker.run(s, b));
|
|
8741
8747
|
} catch (s) {
|
|
8742
8748
|
i(zi(s));
|
|
8743
8749
|
}
|
|
8744
8750
|
});
|
|
8745
8751
|
}
|
|
8746
8752
|
async run(e, t) {
|
|
8747
|
-
const n = this.referExecution(e, t.getInspector(e)), o = ze.load(ut), i = o.getDefault(), s = oe.anyone(e.getAttribute(dn.REMOTE), oe.MESH_ADDRESS.get().any()), a = n.schema(e).codec || gn.JSON.name, S = ze.load(Fe),
|
|
8748
|
-
return await this.deserialize(e, n,
|
|
8753
|
+
const n = this.referExecution(e, t.getInspector(e)), o = ze.load(ut), i = o.getDefault(), s = oe.anyone(e.getAttribute(dn.REMOTE), oe.MESH_ADDRESS.get().any()), a = n.schema(e).codec || gn.JSON.name, S = ze.load(Fe), R = S.get(a), b = R.encode(t.getParameters(e)), P = gn.ofName(o.defaultName()).code, U = gn.ofName(S.defaultName()).code, x = Mn.from(e.getUrn()).resetFlag(P, U).toString(), j = await i.consume(e, s, x, n, b);
|
|
8754
|
+
return await this.deserialize(e, n, R, j);
|
|
8749
8755
|
}
|
|
8750
8756
|
deserialize(e, t, n, o) {
|
|
8751
8757
|
return new Promise((i, s) => {
|
|
@@ -8797,7 +8803,7 @@ let ae = Ko = class extends Vo {
|
|
|
8797
8803
|
return Ko.proxy(e);
|
|
8798
8804
|
}
|
|
8799
8805
|
static proxy(e) {
|
|
8800
|
-
return this.doProxy(e,
|
|
8806
|
+
return this.doProxy(e, w(""));
|
|
8801
8807
|
}
|
|
8802
8808
|
static doProxy(e, t) {
|
|
8803
8809
|
return Qi.newProxyInstance(e, new bl(t));
|
|
@@ -8914,12 +8920,12 @@ let Ef = class extends co {
|
|
|
8914
8920
|
return new ul(t, o);
|
|
8915
8921
|
}
|
|
8916
8922
|
refer(t, n, o, i) {
|
|
8917
|
-
const s = this.makeConsumer(t, n, o), a = this.getEnviron(t), S = this.indies.computeIfy(o, (
|
|
8918
|
-
const
|
|
8923
|
+
const s = this.makeConsumer(t, n, o), a = this.getEnviron(t), S = this.indies.computeIfy(o, (R) => new ee()).computeIfy(n, (R) => {
|
|
8924
|
+
const b = new ee();
|
|
8919
8925
|
return this.getMethods(t, o).forEach((P, U) => P.forEach((x) => {
|
|
8920
8926
|
const j = this.makeMethodAsReference(a, n, U, x), N = new jl(j.urn, o, x, s.proxy, j);
|
|
8921
|
-
this.references.set(j.urn, N),
|
|
8922
|
-
})),
|
|
8927
|
+
this.references.set(j.urn, N), b.set(x, N);
|
|
8928
|
+
})), b;
|
|
8923
8929
|
}).get(i);
|
|
8924
8930
|
if (S)
|
|
8925
8931
|
return S;
|
|
@@ -8941,9 +8947,9 @@ let Ef = class extends co {
|
|
|
8941
8947
|
return this.consumers.computeIfy(o, (i) => new ee()).computeIfy(n, (i) => new vl(n, o));
|
|
8942
8948
|
}
|
|
8943
8949
|
makeMethodAsReference(t, n, o, i) {
|
|
8944
|
-
var a, S,
|
|
8950
|
+
var a, S, R, b, P, U, x, j, N, T, L, H, J;
|
|
8945
8951
|
const s = new Rn();
|
|
8946
|
-
return s.namespace = o.name, s.name = i.getName(), s.version = ((a = i.getAnnotation($e)) == null ? void 0 : a.version) || "", s.proto = ((S = i.getAnnotation($e)) == null ? void 0 : S.proto) || "", s.codec = ((
|
|
8952
|
+
return s.namespace = o.name, s.name = i.getName(), s.version = ((a = i.getAnnotation($e)) == null ? void 0 : a.version) || "", s.proto = ((S = i.getAnnotation($e)) == null ? void 0 : S.proto) || "", s.codec = ((R = i.getAnnotation($e)) == null ? void 0 : R.codec) || "", s.flags = ((b = i.getAnnotation($e)) == null ? void 0 : b.flags) || 0, s.timeout = ((P = i.getAnnotation($e)) == null ? void 0 : P.timeout) || 12e3, s.retries = ((U = i.getAnnotation($e)) == null ? void 0 : U.retries) || 0, s.mdc = ((x = i.getAnnotation($e)) == null ? void 0 : x.mdc) || "", s.zone = ((j = i.getAnnotation($e)) == null ? void 0 : j.zone) || "", s.cluster = ((N = i.getAnnotation($e)) == null ? void 0 : N.cluster) || "", s.cell = ((T = i.getAnnotation($e)) == null ? void 0 : T.cell) || "", s.group = ((L = i.getAnnotation($e)) == null ? void 0 : L.group) || "", s.address = ((H = i.getAnnotation($e)) == null ? void 0 : H.address) || "", s.urn = this.getURN(((J = i.getAnnotation($e)) == null ? void 0 : J.name) || "", wt, t), s;
|
|
8947
8953
|
}
|
|
8948
8954
|
getURN(t, n, o) {
|
|
8949
8955
|
const i = new Mn();
|
|
@@ -9336,10 +9342,10 @@ function To(r, e, t) {
|
|
|
9336
9342
|
}, !1, function(N, T) {
|
|
9337
9343
|
return !v.isUndefined(T[N]);
|
|
9338
9344
|
});
|
|
9339
|
-
const n = t.metaTokens, o = t.visitor ||
|
|
9345
|
+
const n = t.metaTokens, o = t.visitor || b, i = t.dots, s = t.indexes, S = (t.Blob || typeof Blob < "u" && Blob) && v.isSpecCompliantForm(e);
|
|
9340
9346
|
if (!v.isFunction(o))
|
|
9341
9347
|
throw new TypeError("visitor must be a function");
|
|
9342
|
-
function
|
|
9348
|
+
function R(j) {
|
|
9343
9349
|
if (j === null) return "";
|
|
9344
9350
|
if (v.isDate(j))
|
|
9345
9351
|
return j.toISOString();
|
|
@@ -9347,7 +9353,7 @@ function To(r, e, t) {
|
|
|
9347
9353
|
throw new V("Blob is not supported. Use a Buffer instead.");
|
|
9348
9354
|
return v.isArrayBuffer(j) || v.isTypedArray(j) ? S && typeof Blob == "function" ? new Blob([j]) : Buffer.from(j) : j;
|
|
9349
9355
|
}
|
|
9350
|
-
function
|
|
9356
|
+
function b(j, N, T) {
|
|
9351
9357
|
let L = j;
|
|
9352
9358
|
if (j && !T && typeof j == "object") {
|
|
9353
9359
|
if (v.endsWith(N, "{}"))
|
|
@@ -9357,15 +9363,15 @@ function To(r, e, t) {
|
|
|
9357
9363
|
!(v.isUndefined(J) || J === null) && e.append(
|
|
9358
9364
|
// eslint-disable-next-line no-nested-ternary
|
|
9359
9365
|
s === !0 ? If([N], Ce, i) : s === null ? N : N + "[]",
|
|
9360
|
-
|
|
9366
|
+
R(J)
|
|
9361
9367
|
);
|
|
9362
9368
|
}), !1;
|
|
9363
9369
|
}
|
|
9364
|
-
return Zo(j) ? !0 : (e.append(If(T, N, i),
|
|
9370
|
+
return Zo(j) ? !0 : (e.append(If(T, N, i), R(j)), !1);
|
|
9365
9371
|
}
|
|
9366
9372
|
const P = [], U = Object.assign(gy, {
|
|
9367
|
-
defaultVisitor:
|
|
9368
|
-
convertValue:
|
|
9373
|
+
defaultVisitor: b,
|
|
9374
|
+
convertValue: R,
|
|
9369
9375
|
isVisitable: Zo
|
|
9370
9376
|
});
|
|
9371
9377
|
function x(j, N) {
|
|
@@ -9695,24 +9701,24 @@ let mt = class {
|
|
|
9695
9701
|
}
|
|
9696
9702
|
set(e, t, n) {
|
|
9697
9703
|
const o = this;
|
|
9698
|
-
function i(a, S,
|
|
9699
|
-
const
|
|
9700
|
-
if (!
|
|
9704
|
+
function i(a, S, R) {
|
|
9705
|
+
const b = ni(S);
|
|
9706
|
+
if (!b)
|
|
9701
9707
|
throw new Error("header name must be a non-empty string");
|
|
9702
|
-
const P = v.findKey(o,
|
|
9703
|
-
(!P || o[P] === void 0 ||
|
|
9708
|
+
const P = v.findKey(o, b);
|
|
9709
|
+
(!P || o[P] === void 0 || R === !0 || R === void 0 && o[P] !== !1) && (o[P || S] = Xi(a));
|
|
9704
9710
|
}
|
|
9705
|
-
const s = (a, S) => v.forEach(a, (
|
|
9711
|
+
const s = (a, S) => v.forEach(a, (R, b) => i(R, b, S));
|
|
9706
9712
|
if (v.isPlainObject(e) || e instanceof this.constructor)
|
|
9707
9713
|
s(e, t);
|
|
9708
9714
|
else if (v.isString(e) && (e = e.trim()) && !Uy(e))
|
|
9709
9715
|
s(Iy(e), t);
|
|
9710
9716
|
else if (v.isObject(e) && v.isIterable(e)) {
|
|
9711
|
-
let a = {}, S,
|
|
9712
|
-
for (const
|
|
9713
|
-
if (!v.isArray(
|
|
9717
|
+
let a = {}, S, R;
|
|
9718
|
+
for (const b of e) {
|
|
9719
|
+
if (!v.isArray(b))
|
|
9714
9720
|
throw TypeError("Object iterator must return a key-value pair");
|
|
9715
|
-
a[
|
|
9721
|
+
a[R = b[0]] = (S = a[R]) ? v.isArray(S) ? [...S, b[1]] : [S, b[1]] : b[1];
|
|
9716
9722
|
}
|
|
9717
9723
|
s(a, t);
|
|
9718
9724
|
} else
|
|
@@ -9861,25 +9867,25 @@ function By(r, e) {
|
|
|
9861
9867
|
const t = new Array(r), n = new Array(r);
|
|
9862
9868
|
let o = 0, i = 0, s;
|
|
9863
9869
|
return e = e !== void 0 ? e : 1e3, function(S) {
|
|
9864
|
-
const
|
|
9865
|
-
s || (s =
|
|
9870
|
+
const R = Date.now(), b = n[i];
|
|
9871
|
+
s || (s = R), t[o] = S, n[o] = R;
|
|
9866
9872
|
let P = i, U = 0;
|
|
9867
9873
|
for (; P !== o; )
|
|
9868
9874
|
U += t[P++], P = P % r;
|
|
9869
|
-
if (o = (o + 1) % r, o === i && (i = (i + 1) % r),
|
|
9875
|
+
if (o = (o + 1) % r, o === i && (i = (i + 1) % r), R - s < e)
|
|
9870
9876
|
return;
|
|
9871
|
-
const x =
|
|
9877
|
+
const x = b && R - b;
|
|
9872
9878
|
return x ? Math.round(U * 1e3 / x) : void 0;
|
|
9873
9879
|
};
|
|
9874
9880
|
}
|
|
9875
9881
|
function Dy(r, e) {
|
|
9876
9882
|
let t = 0, n = 1e3 / e, o, i;
|
|
9877
|
-
const s = (
|
|
9878
|
-
t =
|
|
9883
|
+
const s = (R, b = Date.now()) => {
|
|
9884
|
+
t = b, o = null, i && (clearTimeout(i), i = null), r.apply(null, R);
|
|
9879
9885
|
};
|
|
9880
|
-
return [(...
|
|
9881
|
-
const
|
|
9882
|
-
P >= n ? s(
|
|
9886
|
+
return [(...R) => {
|
|
9887
|
+
const b = Date.now(), P = b - t;
|
|
9888
|
+
P >= n ? s(R, b) : (o = R, i || (i = setTimeout(() => {
|
|
9883
9889
|
i = null, s(o);
|
|
9884
9890
|
}, n - P)));
|
|
9885
9891
|
}, () => o && s(o)];
|
|
@@ -9888,15 +9894,15 @@ const ao = (r, e, t = 3) => {
|
|
|
9888
9894
|
let n = 0;
|
|
9889
9895
|
const o = By(50, 250);
|
|
9890
9896
|
return Dy((i) => {
|
|
9891
|
-
const s = i.loaded, a = i.lengthComputable ? i.total : void 0, S = s - n,
|
|
9897
|
+
const s = i.loaded, a = i.lengthComputable ? i.total : void 0, S = s - n, R = o(S), b = s <= a;
|
|
9892
9898
|
n = s;
|
|
9893
9899
|
const P = {
|
|
9894
9900
|
loaded: s,
|
|
9895
9901
|
total: a,
|
|
9896
9902
|
progress: a ? s / a : void 0,
|
|
9897
9903
|
bytes: S,
|
|
9898
|
-
rate:
|
|
9899
|
-
estimated:
|
|
9904
|
+
rate: R || void 0,
|
|
9905
|
+
estimated: R && a && b ? (a - s) / R : void 0,
|
|
9900
9906
|
event: i,
|
|
9901
9907
|
lengthComputable: a != null,
|
|
9902
9908
|
[e ? "download" : "upload"]: !0
|
|
@@ -9954,30 +9960,30 @@ const Bf = (r) => r instanceof mt ? { ...r } : r;
|
|
|
9954
9960
|
function yr(r, e) {
|
|
9955
9961
|
e = e || {};
|
|
9956
9962
|
const t = {};
|
|
9957
|
-
function n(
|
|
9958
|
-
return v.isPlainObject(
|
|
9959
|
-
}
|
|
9960
|
-
function o(
|
|
9961
|
-
if (v.isUndefined(
|
|
9962
|
-
if (!v.isUndefined(
|
|
9963
|
-
return n(void 0,
|
|
9964
|
-
} else return n(
|
|
9965
|
-
}
|
|
9966
|
-
function i(
|
|
9967
|
-
if (!v.isUndefined(
|
|
9968
|
-
return n(void 0,
|
|
9969
|
-
}
|
|
9970
|
-
function s(
|
|
9971
|
-
if (v.isUndefined(
|
|
9972
|
-
if (!v.isUndefined(
|
|
9973
|
-
return n(void 0,
|
|
9974
|
-
} else return n(void 0,
|
|
9975
|
-
}
|
|
9976
|
-
function a(
|
|
9963
|
+
function n(R, b, P, U) {
|
|
9964
|
+
return v.isPlainObject(R) && v.isPlainObject(b) ? v.merge.call({ caseless: U }, R, b) : v.isPlainObject(b) ? v.merge({}, b) : v.isArray(b) ? b.slice() : b;
|
|
9965
|
+
}
|
|
9966
|
+
function o(R, b, P, U) {
|
|
9967
|
+
if (v.isUndefined(b)) {
|
|
9968
|
+
if (!v.isUndefined(R))
|
|
9969
|
+
return n(void 0, R, P, U);
|
|
9970
|
+
} else return n(R, b, P, U);
|
|
9971
|
+
}
|
|
9972
|
+
function i(R, b) {
|
|
9973
|
+
if (!v.isUndefined(b))
|
|
9974
|
+
return n(void 0, b);
|
|
9975
|
+
}
|
|
9976
|
+
function s(R, b) {
|
|
9977
|
+
if (v.isUndefined(b)) {
|
|
9978
|
+
if (!v.isUndefined(R))
|
|
9979
|
+
return n(void 0, R);
|
|
9980
|
+
} else return n(void 0, b);
|
|
9981
|
+
}
|
|
9982
|
+
function a(R, b, P) {
|
|
9977
9983
|
if (P in e)
|
|
9978
|
-
return n(
|
|
9984
|
+
return n(R, b);
|
|
9979
9985
|
if (P in r)
|
|
9980
|
-
return n(void 0,
|
|
9986
|
+
return n(void 0, R);
|
|
9981
9987
|
}
|
|
9982
9988
|
const S = {
|
|
9983
9989
|
url: i,
|
|
@@ -10008,11 +10014,11 @@ function yr(r, e) {
|
|
|
10008
10014
|
socketPath: s,
|
|
10009
10015
|
responseEncoding: s,
|
|
10010
10016
|
validateStatus: a,
|
|
10011
|
-
headers: (
|
|
10017
|
+
headers: (R, b, P) => o(Bf(R), Bf(b), P, !0)
|
|
10012
10018
|
};
|
|
10013
|
-
return v.forEach(Object.keys(Object.assign({}, r, e)), function(
|
|
10014
|
-
const P = S[
|
|
10015
|
-
v.isUndefined(U) && P !== a || (t[
|
|
10019
|
+
return v.forEach(Object.keys(Object.assign({}, r, e)), function(b) {
|
|
10020
|
+
const P = S[b] || o, U = P(r[b], e[b], b);
|
|
10021
|
+
v.isUndefined(U) && P !== a || (t[b] = U);
|
|
10016
10022
|
}), t;
|
|
10017
10023
|
}
|
|
10018
10024
|
const Sd = (r) => {
|
|
@@ -10027,13 +10033,13 @@ const Sd = (r) => {
|
|
|
10027
10033
|
if (qe.hasStandardBrowserEnv || qe.hasStandardBrowserWebWorkerEnv)
|
|
10028
10034
|
s.setContentType(void 0);
|
|
10029
10035
|
else if ((S = s.getContentType()) !== !1) {
|
|
10030
|
-
const [
|
|
10031
|
-
s.setContentType([
|
|
10036
|
+
const [R, ...b] = S ? S.split(";").map((P) => P.trim()).filter(Boolean) : [];
|
|
10037
|
+
s.setContentType([R || "multipart/form-data", ...b].join("; "));
|
|
10032
10038
|
}
|
|
10033
10039
|
}
|
|
10034
10040
|
if (qe.hasStandardBrowserEnv && (n && v.isFunction(n) && (n = n(e)), n || n !== !1 && ky(e.url))) {
|
|
10035
|
-
const
|
|
10036
|
-
|
|
10041
|
+
const R = o && i && Ly.read(i);
|
|
10042
|
+
R && s.set(o, R);
|
|
10037
10043
|
}
|
|
10038
10044
|
return e;
|
|
10039
10045
|
}, zy = typeof XMLHttpRequest < "u", Gy = zy && function(r) {
|
|
@@ -10041,9 +10047,9 @@ const Sd = (r) => {
|
|
|
10041
10047
|
const o = Sd(r);
|
|
10042
10048
|
let i = o.data;
|
|
10043
10049
|
const s = mt.from(o.headers).normalize();
|
|
10044
|
-
let { responseType: a, onUploadProgress: S, onDownloadProgress:
|
|
10050
|
+
let { responseType: a, onUploadProgress: S, onDownloadProgress: R } = o, b, P, U, x, j;
|
|
10045
10051
|
function N() {
|
|
10046
|
-
x && x(), j && j(), o.cancelToken && o.cancelToken.unsubscribe(
|
|
10052
|
+
x && x(), j && j(), o.cancelToken && o.cancelToken.unsubscribe(b), o.signal && o.signal.removeEventListener("abort", b);
|
|
10047
10053
|
}
|
|
10048
10054
|
let T = new XMLHttpRequest();
|
|
10049
10055
|
T.open(o.method.toUpperCase(), o.url, !0), T.timeout = o.timeout;
|
|
@@ -10083,9 +10089,9 @@ const Sd = (r) => {
|
|
|
10083
10089
|
)), T = null;
|
|
10084
10090
|
}, i === void 0 && s.setContentType(null), "setRequestHeader" in T && v.forEach(s.toJSON(), function(Ce, K) {
|
|
10085
10091
|
T.setRequestHeader(K, Ce);
|
|
10086
|
-
}), v.isUndefined(o.withCredentials) || (T.withCredentials = !!o.withCredentials), a && a !== "json" && (T.responseType = o.responseType),
|
|
10092
|
+
}), v.isUndefined(o.withCredentials) || (T.withCredentials = !!o.withCredentials), a && a !== "json" && (T.responseType = o.responseType), R && ([U, j] = ao(R, !0), T.addEventListener("progress", U)), S && T.upload && ([P, x] = ao(S), T.upload.addEventListener("progress", P), T.upload.addEventListener("loadend", x)), (o.cancelToken || o.signal) && (b = (J) => {
|
|
10087
10093
|
T && (n(!J || J.type ? new Wr(null, r, T) : J), T.abort(), T = null);
|
|
10088
|
-
}, o.cancelToken && o.cancelToken.subscribe(
|
|
10094
|
+
}, o.cancelToken && o.cancelToken.subscribe(b), o.signal && (o.signal.aborted ? b() : o.signal.addEventListener("abort", b)));
|
|
10089
10095
|
const H = Cy(o.url);
|
|
10090
10096
|
if (H && qe.protocols.indexOf(H) === -1) {
|
|
10091
10097
|
n(new V("Unsupported protocol " + H + ":", V.ERR_BAD_REQUEST, r));
|
|
@@ -10097,22 +10103,22 @@ const Sd = (r) => {
|
|
|
10097
10103
|
const { length: t } = r = r ? r.filter(Boolean) : [];
|
|
10098
10104
|
if (e || t) {
|
|
10099
10105
|
let n = new AbortController(), o;
|
|
10100
|
-
const i = function(
|
|
10106
|
+
const i = function(R) {
|
|
10101
10107
|
if (!o) {
|
|
10102
10108
|
o = !0, a();
|
|
10103
|
-
const
|
|
10104
|
-
n.abort(
|
|
10109
|
+
const b = R instanceof Error ? R : this.reason;
|
|
10110
|
+
n.abort(b instanceof V ? b : new Wr(b instanceof Error ? b.message : b));
|
|
10105
10111
|
}
|
|
10106
10112
|
};
|
|
10107
10113
|
let s = e && setTimeout(() => {
|
|
10108
10114
|
s = null, i(new V(`timeout ${e} of ms exceeded`, V.ETIMEDOUT));
|
|
10109
10115
|
}, e);
|
|
10110
10116
|
const a = () => {
|
|
10111
|
-
r && (s && clearTimeout(s), s = null, r.forEach((
|
|
10112
|
-
|
|
10117
|
+
r && (s && clearTimeout(s), s = null, r.forEach((R) => {
|
|
10118
|
+
R.unsubscribe ? R.unsubscribe(i) : R.removeEventListener("abort", i);
|
|
10113
10119
|
}), r = null);
|
|
10114
10120
|
};
|
|
10115
|
-
r.forEach((
|
|
10121
|
+
r.forEach((R) => R.addEventListener("abort", i));
|
|
10116
10122
|
const { signal: S } = n;
|
|
10117
10123
|
return S.unsubscribe = () => v.asap(a), S;
|
|
10118
10124
|
}
|
|
@@ -10152,19 +10158,19 @@ const Sd = (r) => {
|
|
|
10152
10158
|
return new ReadableStream({
|
|
10153
10159
|
async pull(S) {
|
|
10154
10160
|
try {
|
|
10155
|
-
const { done:
|
|
10156
|
-
if (
|
|
10161
|
+
const { done: R, value: b } = await o.next();
|
|
10162
|
+
if (R) {
|
|
10157
10163
|
a(), S.close();
|
|
10158
10164
|
return;
|
|
10159
10165
|
}
|
|
10160
|
-
let P =
|
|
10166
|
+
let P = b.byteLength;
|
|
10161
10167
|
if (t) {
|
|
10162
10168
|
let U = i += P;
|
|
10163
10169
|
t(U);
|
|
10164
10170
|
}
|
|
10165
|
-
S.enqueue(new Uint8Array(
|
|
10166
|
-
} catch (
|
|
10167
|
-
throw a(
|
|
10171
|
+
S.enqueue(new Uint8Array(b));
|
|
10172
|
+
} catch (R) {
|
|
10173
|
+
throw a(R), R;
|
|
10168
10174
|
}
|
|
10169
10175
|
},
|
|
10170
10176
|
cancel(S) {
|
|
@@ -10226,25 +10232,25 @@ const Qy = async (r) => {
|
|
|
10226
10232
|
timeout: s,
|
|
10227
10233
|
onDownloadProgress: a,
|
|
10228
10234
|
onUploadProgress: S,
|
|
10229
|
-
responseType:
|
|
10230
|
-
headers:
|
|
10235
|
+
responseType: R,
|
|
10236
|
+
headers: b,
|
|
10231
10237
|
withCredentials: P = "same-origin",
|
|
10232
10238
|
fetchOptions: U
|
|
10233
10239
|
} = Sd(r);
|
|
10234
|
-
|
|
10240
|
+
R = R ? (R + "").toLowerCase() : "text";
|
|
10235
10241
|
let x = Vy([o, i && i.toAbortSignal()], s), j;
|
|
10236
10242
|
const N = x && x.unsubscribe && (() => {
|
|
10237
10243
|
x.unsubscribe();
|
|
10238
10244
|
});
|
|
10239
10245
|
let T;
|
|
10240
10246
|
try {
|
|
10241
|
-
if (S && Yy && t !== "get" && t !== "head" && (T = await Zy(
|
|
10247
|
+
if (S && Yy && t !== "get" && t !== "head" && (T = await Zy(b, n)) !== 0) {
|
|
10242
10248
|
let K = new Request(e, {
|
|
10243
10249
|
method: "POST",
|
|
10244
10250
|
body: n,
|
|
10245
10251
|
duplex: "half"
|
|
10246
10252
|
}), bt;
|
|
10247
|
-
if (v.isFormData(n) && (bt = K.headers.get("content-type")) &&
|
|
10253
|
+
if (v.isFormData(n) && (bt = K.headers.get("content-type")) && b.setContentType(bt), K.body) {
|
|
10248
10254
|
const [jt, En] = Ff(
|
|
10249
10255
|
T,
|
|
10250
10256
|
ao(Cf(S))
|
|
@@ -10258,13 +10264,13 @@ const Qy = async (r) => {
|
|
|
10258
10264
|
...U,
|
|
10259
10265
|
signal: x,
|
|
10260
10266
|
method: t.toUpperCase(),
|
|
10261
|
-
headers:
|
|
10267
|
+
headers: b.normalize().toJSON(),
|
|
10262
10268
|
body: n,
|
|
10263
10269
|
duplex: "half",
|
|
10264
10270
|
credentials: L ? P : void 0
|
|
10265
10271
|
});
|
|
10266
10272
|
let H = await fetch(j);
|
|
10267
|
-
const J = ts && (
|
|
10273
|
+
const J = ts && (R === "stream" || R === "response");
|
|
10268
10274
|
if (ts && (a || J && N)) {
|
|
10269
10275
|
const K = {};
|
|
10270
10276
|
["status", "statusText", "headers"].forEach((_r) => {
|
|
@@ -10281,8 +10287,8 @@ const Qy = async (r) => {
|
|
|
10281
10287
|
K
|
|
10282
10288
|
);
|
|
10283
10289
|
}
|
|
10284
|
-
|
|
10285
|
-
let Ce = await uo[v.findKey(uo,
|
|
10290
|
+
R = R || "text";
|
|
10291
|
+
let Ce = await uo[v.findKey(uo, R) || "text"](H, r);
|
|
10286
10292
|
return !J && N && N(), await new Promise((K, bt) => {
|
|
10287
10293
|
Od(K, bt, {
|
|
10288
10294
|
data: Ce,
|
|
@@ -10480,16 +10486,16 @@ let or = class {
|
|
|
10480
10486
|
this.interceptors.request.forEach(function(N) {
|
|
10481
10487
|
typeof N.runWhen == "function" && N.runWhen(t) === !1 || (S = S && N.synchronous, a.unshift(N.fulfilled, N.rejected));
|
|
10482
10488
|
});
|
|
10483
|
-
const
|
|
10489
|
+
const R = [];
|
|
10484
10490
|
this.interceptors.response.forEach(function(N) {
|
|
10485
|
-
|
|
10491
|
+
R.push(N.fulfilled, N.rejected);
|
|
10486
10492
|
});
|
|
10487
|
-
let
|
|
10493
|
+
let b, P = 0, U;
|
|
10488
10494
|
if (!S) {
|
|
10489
10495
|
const j = [Hf.bind(this), void 0];
|
|
10490
|
-
for (j.unshift.apply(j, a), j.push.apply(j,
|
|
10491
|
-
|
|
10492
|
-
return
|
|
10496
|
+
for (j.unshift.apply(j, a), j.push.apply(j, R), U = j.length, b = Promise.resolve(t); P < U; )
|
|
10497
|
+
b = b.then(j[P++], j[P++]);
|
|
10498
|
+
return b;
|
|
10493
10499
|
}
|
|
10494
10500
|
U = a.length;
|
|
10495
10501
|
let x = t;
|
|
@@ -10503,13 +10509,13 @@ let or = class {
|
|
|
10503
10509
|
}
|
|
10504
10510
|
}
|
|
10505
10511
|
try {
|
|
10506
|
-
|
|
10512
|
+
b = Hf.call(this, x);
|
|
10507
10513
|
} catch (j) {
|
|
10508
10514
|
return Promise.reject(j);
|
|
10509
10515
|
}
|
|
10510
|
-
for (P = 0, U =
|
|
10511
|
-
|
|
10512
|
-
return
|
|
10516
|
+
for (P = 0, U = R.length; P < U; )
|
|
10517
|
+
b = b.then(R[P++], R[P++]);
|
|
10518
|
+
return b;
|
|
10513
10519
|
}
|
|
10514
10520
|
getUri(e) {
|
|
10515
10521
|
e = yr(this.defaults, e);
|
|
@@ -10768,19 +10774,21 @@ let zf = class extends ut {
|
|
|
10768
10774
|
close() {
|
|
10769
10775
|
}
|
|
10770
10776
|
async consume(t, n, o, i, s) {
|
|
10771
|
-
const a = i.schema(t).timeout, S = ze.load(Fe).getDefault(),
|
|
10772
|
-
return S.encode(
|
|
10777
|
+
const a = i.schema(t).timeout, S = ze.load(Fe).getDefault(), R = S.decode(s, Object), b = await this.invoke(t, R, Object, o, a);
|
|
10778
|
+
return S.encode(b);
|
|
10773
10779
|
}
|
|
10774
|
-
async invoke(t, n, o, i) {
|
|
10775
|
-
const a =
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
+
async invoke(t, n, o, i, s) {
|
|
10781
|
+
const a = { "mesh-urn": i };
|
|
10782
|
+
t.getAttachments().forEach((b, P) => {
|
|
10783
|
+
a[b] = P;
|
|
10784
|
+
});
|
|
10785
|
+
const R = await (await this.getClient()).post("/mpc/invoke", n, {
|
|
10786
|
+
timeout: Math.max(1e4, s),
|
|
10787
|
+
headers: a
|
|
10780
10788
|
});
|
|
10781
|
-
if (
|
|
10782
|
-
throw zi(
|
|
10783
|
-
return
|
|
10789
|
+
if (R.status !== 200)
|
|
10790
|
+
throw zi(R);
|
|
10791
|
+
return R.data;
|
|
10784
10792
|
}
|
|
10785
10793
|
};
|
|
10786
10794
|
zf = sm([
|
|
@@ -11080,7 +11088,7 @@ export {
|
|
|
11080
11088
|
f as index,
|
|
11081
11089
|
Gd as instanceOfCodeable,
|
|
11082
11090
|
ln as list,
|
|
11083
|
-
|
|
11091
|
+
w as mpi,
|
|
11084
11092
|
ym as mps,
|
|
11085
11093
|
Km as returnType,
|
|
11086
11094
|
k as spi,
|