@design.estate/dees-domtools 2.0.36 → 2.0.38
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_bundle/bundle.js +3149 -652
- package/dist_bundle/bundle.js.map +4 -4
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/csstools.breakpoints.d.ts +9 -0
- package/dist_ts/csstools.breakpoints.js +60 -0
- package/dist_ts/csstools.elementbasicsetup.d.ts +5 -0
- package/dist_ts/csstools.elementbasicsetup.js +43 -0
- package/dist_ts/csstools.elementbasicstyles.d.ts +1 -0
- package/dist_ts/csstools.elementbasicstyles.js +13 -0
- package/dist_ts/domtools.breakpoints.d.ts +9 -0
- package/dist_ts/domtools.breakpoints.js +71 -0
- package/dist_ts/domtools.classes.domtools.d.ts +1 -1
- package/dist_ts/domtools.classes.domtools.js +2 -2
- package/dist_ts/domtools.classes.elementinstrumenter.d.ts +6 -0
- package/dist_ts/domtools.classes.elementinstrumenter.js +50 -0
- package/dist_ts/domtools.classes.router.d.ts +1 -0
- package/dist_ts/domtools.classes.router.js +3 -0
- package/dist_ts/domtools.css.basestyles.js +1 -1
- package/dist_ts/domtools.css.theme.d.ts +4 -0
- package/dist_ts/domtools.css.theme.js +32 -0
- package/dist_ts/domtools.elementbasic.js +2 -2
- package/dist_ts/domtools.elementbasicsetup.d.ts +5 -0
- package/dist_ts/domtools.elementbasicsetup.js +67 -0
- package/dist_ts/domtools.elementbasicstyles.d.ts +1 -0
- package/dist_ts/domtools.elementbasicstyles.js +13 -0
- package/dist_ts/domtools.move.d.ts +1 -0
- package/dist_ts/domtools.move.js +3 -0
- package/dist_ts/domtools.plugins.d.ts +13 -13
- package/dist_ts/domtools.plugins.js +14 -14
- package/dist_ts/index.d.ts +2 -2
- package/dist_ts/index.js +3 -3
- package/package.json +13 -13
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/domtools.classes.domtools.ts +1 -1
- package/ts/domtools.css.basestyles.ts +1 -1
- package/ts/domtools.elementbasic.ts +2 -2
- package/ts/domtools.plugins.ts +13 -13
- package/ts/index.ts +2 -2
package/dist_bundle/bundle.js
CHANGED
|
@@ -11,11 +11,11 @@ var __export = (target, all) => {
|
|
|
11
11
|
for (var name in all)
|
|
12
12
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
13
13
|
};
|
|
14
|
-
var __copyProps = (to,
|
|
15
|
-
if (
|
|
16
|
-
for (let key of __getOwnPropNames(
|
|
14
|
+
var __copyProps = (to, from3, except, desc) => {
|
|
15
|
+
if (from3 && typeof from3 === "object" || typeof from3 === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from3))
|
|
17
17
|
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
18
|
-
__defProp(to, key, { get: () =>
|
|
18
|
+
__defProp(to, key, { get: () => from3[key], enumerable: !(desc = __getOwnPropDesc(from3, key)) || desc.enumerable });
|
|
19
19
|
}
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
@@ -38,14 +38,14 @@ var require_dist_ts = __commonJS({
|
|
|
38
38
|
"use strict";
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.uni = void 0;
|
|
41
|
-
var
|
|
41
|
+
var uni3 = (prefix = "uni") => {
|
|
42
42
|
return `${prefix}_${`xxxxxxxxxxxxxxxxxxxxxxxx`.replace(/[xy]/g, (c3) => {
|
|
43
43
|
const r4 = Math.random() * 16 | 0;
|
|
44
44
|
const v2 = c3 === "x" ? r4 : r4 & 3 | 8;
|
|
45
45
|
return v2.toString(16);
|
|
46
46
|
})}`;
|
|
47
47
|
};
|
|
48
|
-
exports.uni =
|
|
48
|
+
exports.uni = uni3;
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
|
|
@@ -55,7 +55,7 @@ var require_dist_ts2 = __commonJS({
|
|
|
55
55
|
"use strict";
|
|
56
56
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
57
|
exports.getFirstTrueOrFalse = exports.timeoutAndContinue = exports.timeoutWrap = exports.map = exports.rejectedPromise = exports.resolvedPromise = exports.defer = exports.Deferred = void 0;
|
|
58
|
-
var
|
|
58
|
+
var Deferred3 = class {
|
|
59
59
|
constructor() {
|
|
60
60
|
this.promise = new Promise((resolve, reject) => {
|
|
61
61
|
this.resolve = (valueArg) => {
|
|
@@ -80,9 +80,9 @@ var require_dist_ts2 = __commonJS({
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
exports.Deferred =
|
|
83
|
+
exports.Deferred = Deferred3;
|
|
84
84
|
exports.defer = () => {
|
|
85
|
-
return new
|
|
85
|
+
return new Deferred3();
|
|
86
86
|
};
|
|
87
87
|
exports.resolvedPromise = (value) => {
|
|
88
88
|
return Promise.resolve(value);
|
|
@@ -169,9 +169,9 @@ var require_dist_ts3 = __commonJS({
|
|
|
169
169
|
};
|
|
170
170
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
171
171
|
exports.Timeout = exports.delayForRandom = exports.delayFor = void 0;
|
|
172
|
-
var
|
|
172
|
+
var smartpromise7 = __importStar2(require_dist_ts2());
|
|
173
173
|
exports.delayFor = async (timeInMillisecondArg, passOnArg, unrefedArg = false) => {
|
|
174
|
-
const timeout = new
|
|
174
|
+
const timeout = new Timeout3(timeInMillisecondArg, null, unrefedArg);
|
|
175
175
|
await timeout.promise;
|
|
176
176
|
return passOnArg;
|
|
177
177
|
};
|
|
@@ -179,11 +179,11 @@ var require_dist_ts3 = __commonJS({
|
|
|
179
179
|
await exports.delayFor(Math.random() * (timeMaxInMillisecondArg - timeMinInMillisecondArg) + timeMinInMillisecondArg, null, unrefedArg);
|
|
180
180
|
return passOnArg;
|
|
181
181
|
};
|
|
182
|
-
var
|
|
182
|
+
var Timeout3 = class {
|
|
183
183
|
constructor(timeInMillisecondArg, passOn, unrefedArg = false) {
|
|
184
184
|
this._cancelled = false;
|
|
185
185
|
this.timeoutInMillis = timeInMillisecondArg;
|
|
186
|
-
this._deferred =
|
|
186
|
+
this._deferred = smartpromise7.defer();
|
|
187
187
|
this.promise = this._deferred.promise;
|
|
188
188
|
this._timeout = setTimeout(() => {
|
|
189
189
|
if (!this._cancelled) {
|
|
@@ -207,7 +207,7 @@ var require_dist_ts3 = __commonJS({
|
|
|
207
207
|
return result > 0 ? result : 0;
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
|
-
exports.Timeout =
|
|
210
|
+
exports.Timeout = Timeout3;
|
|
211
211
|
}
|
|
212
212
|
});
|
|
213
213
|
|
|
@@ -490,16 +490,16 @@ var require_tslib = __commonJS({
|
|
|
490
490
|
r4[k2] = a3[j2];
|
|
491
491
|
return r4;
|
|
492
492
|
};
|
|
493
|
-
__spreadArray2 = function(to,
|
|
493
|
+
__spreadArray2 = function(to, from3, pack) {
|
|
494
494
|
if (pack || arguments.length === 2)
|
|
495
|
-
for (var i3 = 0, l4 =
|
|
496
|
-
if (ar || !(i3 in
|
|
495
|
+
for (var i3 = 0, l4 = from3.length, ar; i3 < l4; i3++) {
|
|
496
|
+
if (ar || !(i3 in from3)) {
|
|
497
497
|
if (!ar)
|
|
498
|
-
ar = Array.prototype.slice.call(
|
|
499
|
-
ar[i3] =
|
|
498
|
+
ar = Array.prototype.slice.call(from3, 0, i3);
|
|
499
|
+
ar[i3] = from3[i3];
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
return to.concat(ar || Array.prototype.slice.call(
|
|
502
|
+
return to.concat(ar || Array.prototype.slice.call(from3));
|
|
503
503
|
};
|
|
504
504
|
__await2 = function(v2) {
|
|
505
505
|
return this instanceof __await2 ? (this.v = v2, this) : new __await2(v2);
|
|
@@ -1612,10 +1612,10 @@ var require_buffer = __commonJS({
|
|
|
1612
1612
|
}
|
|
1613
1613
|
return allocUnsafe(arg);
|
|
1614
1614
|
}
|
|
1615
|
-
return
|
|
1615
|
+
return from3(arg, encodingOrOffset, length);
|
|
1616
1616
|
}
|
|
1617
1617
|
Buffer3.poolSize = 8192;
|
|
1618
|
-
function
|
|
1618
|
+
function from3(value, encodingOrOffset, length) {
|
|
1619
1619
|
if (typeof value === "string") {
|
|
1620
1620
|
return fromString(value, encodingOrOffset);
|
|
1621
1621
|
}
|
|
@@ -1653,7 +1653,7 @@ var require_buffer = __commonJS({
|
|
|
1653
1653
|
);
|
|
1654
1654
|
}
|
|
1655
1655
|
Buffer3.from = function(value, encodingOrOffset, length) {
|
|
1656
|
-
return
|
|
1656
|
+
return from3(value, encodingOrOffset, length);
|
|
1657
1657
|
};
|
|
1658
1658
|
Object.setPrototypeOf(Buffer3.prototype, Uint8Array.prototype);
|
|
1659
1659
|
Object.setPrototypeOf(Buffer3, Uint8Array);
|
|
@@ -1702,7 +1702,7 @@ var require_buffer = __commonJS({
|
|
|
1702
1702
|
}
|
|
1703
1703
|
return buf;
|
|
1704
1704
|
}
|
|
1705
|
-
function
|
|
1705
|
+
function fromArrayLike3(array) {
|
|
1706
1706
|
const length = array.length < 0 ? 0 : checked(array.length) | 0;
|
|
1707
1707
|
const buf = createBuffer(length);
|
|
1708
1708
|
for (let i3 = 0; i3 < length; i3 += 1) {
|
|
@@ -1715,7 +1715,7 @@ var require_buffer = __commonJS({
|
|
|
1715
1715
|
const copy = new Uint8Array(arrayView);
|
|
1716
1716
|
return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength);
|
|
1717
1717
|
}
|
|
1718
|
-
return
|
|
1718
|
+
return fromArrayLike3(arrayView);
|
|
1719
1719
|
}
|
|
1720
1720
|
function fromArrayBuffer(array, byteOffset, length) {
|
|
1721
1721
|
if (byteOffset < 0 || array.byteLength < byteOffset) {
|
|
@@ -1749,10 +1749,10 @@ var require_buffer = __commonJS({
|
|
|
1749
1749
|
if (typeof obj.length !== "number" || numberIsNaN(obj.length)) {
|
|
1750
1750
|
return createBuffer(0);
|
|
1751
1751
|
}
|
|
1752
|
-
return
|
|
1752
|
+
return fromArrayLike3(obj);
|
|
1753
1753
|
}
|
|
1754
1754
|
if (obj.type === "Buffer" && Array.isArray(obj.data)) {
|
|
1755
|
-
return
|
|
1755
|
+
return fromArrayLike3(obj.data);
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
1758
|
function checked(length) {
|
|
@@ -1815,7 +1815,7 @@ var require_buffer = __commonJS({
|
|
|
1815
1815
|
return false;
|
|
1816
1816
|
}
|
|
1817
1817
|
};
|
|
1818
|
-
Buffer3.concat = function
|
|
1818
|
+
Buffer3.concat = function concat3(list, length) {
|
|
1819
1819
|
if (!Array.isArray(list)) {
|
|
1820
1820
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
1821
1821
|
}
|
|
@@ -2494,24 +2494,24 @@ var require_buffer = __commonJS({
|
|
|
2494
2494
|
offset = offset >>> 0;
|
|
2495
2495
|
validateNumber(offset, "offset");
|
|
2496
2496
|
const first = this[offset];
|
|
2497
|
-
const
|
|
2498
|
-
if (first === void 0 ||
|
|
2497
|
+
const last3 = this[offset + 7];
|
|
2498
|
+
if (first === void 0 || last3 === void 0) {
|
|
2499
2499
|
boundsError(offset, this.length - 8);
|
|
2500
2500
|
}
|
|
2501
2501
|
const lo = first + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 24;
|
|
2502
|
-
const hi = this[++offset] + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 +
|
|
2502
|
+
const hi = this[++offset] + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + last3 * 2 ** 24;
|
|
2503
2503
|
return BigInt(lo) + (BigInt(hi) << BigInt(32));
|
|
2504
2504
|
});
|
|
2505
2505
|
Buffer3.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE(offset) {
|
|
2506
2506
|
offset = offset >>> 0;
|
|
2507
2507
|
validateNumber(offset, "offset");
|
|
2508
2508
|
const first = this[offset];
|
|
2509
|
-
const
|
|
2510
|
-
if (first === void 0 ||
|
|
2509
|
+
const last3 = this[offset + 7];
|
|
2510
|
+
if (first === void 0 || last3 === void 0) {
|
|
2511
2511
|
boundsError(offset, this.length - 8);
|
|
2512
2512
|
}
|
|
2513
2513
|
const hi = first * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + this[++offset];
|
|
2514
|
-
const lo = this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 +
|
|
2514
|
+
const lo = this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + last3;
|
|
2515
2515
|
return (BigInt(hi) << BigInt(32)) + BigInt(lo);
|
|
2516
2516
|
});
|
|
2517
2517
|
Buffer3.prototype.readIntLE = function readIntLE(offset, byteLength2, noAssert) {
|
|
@@ -2584,23 +2584,23 @@ var require_buffer = __commonJS({
|
|
|
2584
2584
|
offset = offset >>> 0;
|
|
2585
2585
|
validateNumber(offset, "offset");
|
|
2586
2586
|
const first = this[offset];
|
|
2587
|
-
const
|
|
2588
|
-
if (first === void 0 ||
|
|
2587
|
+
const last3 = this[offset + 7];
|
|
2588
|
+
if (first === void 0 || last3 === void 0) {
|
|
2589
2589
|
boundsError(offset, this.length - 8);
|
|
2590
2590
|
}
|
|
2591
|
-
const val = this[offset + 4] + this[offset + 5] * 2 ** 8 + this[offset + 6] * 2 ** 16 + (
|
|
2591
|
+
const val = this[offset + 4] + this[offset + 5] * 2 ** 8 + this[offset + 6] * 2 ** 16 + (last3 << 24);
|
|
2592
2592
|
return (BigInt(val) << BigInt(32)) + BigInt(first + this[++offset] * 2 ** 8 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 24);
|
|
2593
2593
|
});
|
|
2594
2594
|
Buffer3.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE(offset) {
|
|
2595
2595
|
offset = offset >>> 0;
|
|
2596
2596
|
validateNumber(offset, "offset");
|
|
2597
2597
|
const first = this[offset];
|
|
2598
|
-
const
|
|
2599
|
-
if (first === void 0 ||
|
|
2598
|
+
const last3 = this[offset + 7];
|
|
2599
|
+
if (first === void 0 || last3 === void 0) {
|
|
2600
2600
|
boundsError(offset, this.length - 8);
|
|
2601
2601
|
}
|
|
2602
2602
|
const val = (first << 24) + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + this[++offset];
|
|
2603
|
-
return (BigInt(val) << BigInt(32)) + BigInt(this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 +
|
|
2603
|
+
return (BigInt(val) << BigInt(32)) + BigInt(this[++offset] * 2 ** 24 + this[++offset] * 2 ** 16 + this[++offset] * 2 ** 8 + last3);
|
|
2604
2604
|
});
|
|
2605
2605
|
Buffer3.prototype.readFloatLE = function readFloatLE(offset, noAssert) {
|
|
2606
2606
|
offset = offset >>> 0;
|
|
@@ -3260,7 +3260,7 @@ var require_punycode = __commonJS({
|
|
|
3260
3260
|
function error(type5) {
|
|
3261
3261
|
throw RangeError(errors[type5]);
|
|
3262
3262
|
}
|
|
3263
|
-
function
|
|
3263
|
+
function map5(array, fn) {
|
|
3264
3264
|
var length = array.length;
|
|
3265
3265
|
var result = [];
|
|
3266
3266
|
while (length--) {
|
|
@@ -3277,7 +3277,7 @@ var require_punycode = __commonJS({
|
|
|
3277
3277
|
}
|
|
3278
3278
|
string = string.replace(regexSeparators, ".");
|
|
3279
3279
|
var labels = string.split(".");
|
|
3280
|
-
var encoded =
|
|
3280
|
+
var encoded = map5(labels, fn).join(".");
|
|
3281
3281
|
return result + encoded;
|
|
3282
3282
|
}
|
|
3283
3283
|
function ucs2decode(string) {
|
|
@@ -3299,7 +3299,7 @@ var require_punycode = __commonJS({
|
|
|
3299
3299
|
return output;
|
|
3300
3300
|
}
|
|
3301
3301
|
function ucs2encode(array) {
|
|
3302
|
-
return
|
|
3302
|
+
return map5(array, function(value) {
|
|
3303
3303
|
var output = "";
|
|
3304
3304
|
if (value > 65535) {
|
|
3305
3305
|
value -= 65536;
|
|
@@ -4019,14 +4019,14 @@ var require_url = __commonJS({
|
|
|
4019
4019
|
result.href = result.format();
|
|
4020
4020
|
return result;
|
|
4021
4021
|
}
|
|
4022
|
-
var
|
|
4023
|
-
var hasTrailingSlash = (result.host || relative.host || srcPath.length > 1) && (
|
|
4022
|
+
var last3 = srcPath.slice(-1)[0];
|
|
4023
|
+
var hasTrailingSlash = (result.host || relative.host || srcPath.length > 1) && (last3 === "." || last3 === "..") || last3 === "";
|
|
4024
4024
|
var up = 0;
|
|
4025
4025
|
for (var i3 = srcPath.length; i3 >= 0; i3--) {
|
|
4026
|
-
|
|
4027
|
-
if (
|
|
4026
|
+
last3 = srcPath[i3];
|
|
4027
|
+
if (last3 === ".") {
|
|
4028
4028
|
srcPath.splice(i3, 1);
|
|
4029
|
-
} else if (
|
|
4029
|
+
} else if (last3 === "..") {
|
|
4030
4030
|
srcPath.splice(i3, 1);
|
|
4031
4031
|
up++;
|
|
4032
4032
|
} else if (up) {
|
|
@@ -4172,7 +4172,7 @@ var require_kind_of = __commonJS({
|
|
|
4172
4172
|
if (type5 === "function") {
|
|
4173
4173
|
return isGeneratorFn(val) ? "generatorfunction" : "function";
|
|
4174
4174
|
}
|
|
4175
|
-
if (
|
|
4175
|
+
if (isArray3(val))
|
|
4176
4176
|
return "array";
|
|
4177
4177
|
if (isBuffer(val))
|
|
4178
4178
|
return "buffer";
|
|
@@ -4237,7 +4237,7 @@ var require_kind_of = __commonJS({
|
|
|
4237
4237
|
function ctorName(val) {
|
|
4238
4238
|
return typeof val.constructor === "function" ? val.constructor.name : null;
|
|
4239
4239
|
}
|
|
4240
|
-
function
|
|
4240
|
+
function isArray3(val) {
|
|
4241
4241
|
if (Array.isArray)
|
|
4242
4242
|
return Array.isArray(val);
|
|
4243
4243
|
return val instanceof Array;
|
|
@@ -4418,9 +4418,9 @@ var require_lodash = __commonJS({
|
|
|
4418
4418
|
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
4419
4419
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
4420
4420
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
4421
|
-
function addMapEntry(
|
|
4422
|
-
|
|
4423
|
-
return
|
|
4421
|
+
function addMapEntry(map5, pair) {
|
|
4422
|
+
map5.set(pair[0], pair[1]);
|
|
4423
|
+
return map5;
|
|
4424
4424
|
}
|
|
4425
4425
|
function addSetEntry(set, value) {
|
|
4426
4426
|
set.add(value);
|
|
@@ -4472,9 +4472,9 @@ var require_lodash = __commonJS({
|
|
|
4472
4472
|
}
|
|
4473
4473
|
return result;
|
|
4474
4474
|
}
|
|
4475
|
-
function mapToArray(
|
|
4476
|
-
var index = -1, result = Array(
|
|
4477
|
-
|
|
4475
|
+
function mapToArray(map5) {
|
|
4476
|
+
var index = -1, result = Array(map5.size);
|
|
4477
|
+
map5.forEach(function(value, key) {
|
|
4478
4478
|
result[++index] = [key, value];
|
|
4479
4479
|
});
|
|
4480
4480
|
return result;
|
|
@@ -4676,7 +4676,7 @@ var require_lodash = __commonJS({
|
|
|
4676
4676
|
Stack.prototype.has = stackHas;
|
|
4677
4677
|
Stack.prototype.set = stackSet;
|
|
4678
4678
|
function arrayLikeKeys(value, inherited) {
|
|
4679
|
-
var result =
|
|
4679
|
+
var result = isArray3(value) || isArguments(value) ? baseTimes(value.length, String) : [];
|
|
4680
4680
|
var length = result.length, skipIndexes = !!length;
|
|
4681
4681
|
for (var key in value) {
|
|
4682
4682
|
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isIndex(key, length)))) {
|
|
@@ -4714,7 +4714,7 @@ var require_lodash = __commonJS({
|
|
|
4714
4714
|
if (!isObject(value)) {
|
|
4715
4715
|
return value;
|
|
4716
4716
|
}
|
|
4717
|
-
var isArr =
|
|
4717
|
+
var isArr = isArray3(value);
|
|
4718
4718
|
if (isArr) {
|
|
4719
4719
|
result = initCloneArray(value);
|
|
4720
4720
|
if (!isDeep) {
|
|
@@ -4763,7 +4763,7 @@ var require_lodash = __commonJS({
|
|
|
4763
4763
|
}
|
|
4764
4764
|
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
4765
4765
|
var result = keysFunc(object);
|
|
4766
|
-
return
|
|
4766
|
+
return isArray3(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
4767
4767
|
}
|
|
4768
4768
|
function baseGetTag(value) {
|
|
4769
4769
|
return objectToString.call(value);
|
|
@@ -4772,7 +4772,7 @@ var require_lodash = __commonJS({
|
|
|
4772
4772
|
if (!isObject(value) || isMasked(value)) {
|
|
4773
4773
|
return false;
|
|
4774
4774
|
}
|
|
4775
|
-
var pattern =
|
|
4775
|
+
var pattern = isFunction3(value) || isHostObject(value) ? reIsNative : reIsHostCtor;
|
|
4776
4776
|
return pattern.test(toSource(value));
|
|
4777
4777
|
}
|
|
4778
4778
|
function baseKeys(object) {
|
|
@@ -4804,9 +4804,9 @@ var require_lodash = __commonJS({
|
|
|
4804
4804
|
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
|
4805
4805
|
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
4806
4806
|
}
|
|
4807
|
-
function cloneMap(
|
|
4808
|
-
var array = isDeep ? cloneFunc(mapToArray(
|
|
4809
|
-
return arrayReduce(array, addMapEntry, new
|
|
4807
|
+
function cloneMap(map5, isDeep, cloneFunc) {
|
|
4808
|
+
var array = isDeep ? cloneFunc(mapToArray(map5), true) : mapToArray(map5);
|
|
4809
|
+
return arrayReduce(array, addMapEntry, new map5.constructor());
|
|
4810
4810
|
}
|
|
4811
4811
|
function cloneRegExp(regexp) {
|
|
4812
4812
|
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
|
@@ -4848,8 +4848,8 @@ var require_lodash = __commonJS({
|
|
|
4848
4848
|
function getAllKeys(object) {
|
|
4849
4849
|
return baseGetAllKeys(object, keys, getSymbols);
|
|
4850
4850
|
}
|
|
4851
|
-
function getMapData(
|
|
4852
|
-
var data =
|
|
4851
|
+
function getMapData(map5, key) {
|
|
4852
|
+
var data = map5.__data__;
|
|
4853
4853
|
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
4854
4854
|
}
|
|
4855
4855
|
function getNative(object, key) {
|
|
@@ -4959,15 +4959,15 @@ var require_lodash = __commonJS({
|
|
|
4959
4959
|
function isArguments(value) {
|
|
4960
4960
|
return isArrayLikeObject(value) && hasOwnProperty.call(value, "callee") && (!propertyIsEnumerable.call(value, "callee") || objectToString.call(value) == argsTag);
|
|
4961
4961
|
}
|
|
4962
|
-
var
|
|
4963
|
-
function
|
|
4964
|
-
return value != null && isLength(value.length) && !
|
|
4962
|
+
var isArray3 = Array.isArray;
|
|
4963
|
+
function isArrayLike3(value) {
|
|
4964
|
+
return value != null && isLength(value.length) && !isFunction3(value);
|
|
4965
4965
|
}
|
|
4966
4966
|
function isArrayLikeObject(value) {
|
|
4967
|
-
return isObjectLike(value) &&
|
|
4967
|
+
return isObjectLike(value) && isArrayLike3(value);
|
|
4968
4968
|
}
|
|
4969
4969
|
var isBuffer = nativeIsBuffer || stubFalse;
|
|
4970
|
-
function
|
|
4970
|
+
function isFunction3(value) {
|
|
4971
4971
|
var tag = isObject(value) ? objectToString.call(value) : "";
|
|
4972
4972
|
return tag == funcTag || tag == genTag;
|
|
4973
4973
|
}
|
|
@@ -4982,7 +4982,7 @@ var require_lodash = __commonJS({
|
|
|
4982
4982
|
return !!value && typeof value == "object";
|
|
4983
4983
|
}
|
|
4984
4984
|
function keys(object) {
|
|
4985
|
-
return
|
|
4985
|
+
return isArrayLike3(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
4986
4986
|
}
|
|
4987
4987
|
function stubArray() {
|
|
4988
4988
|
return [];
|
|
@@ -5014,7 +5014,7 @@ var require_fast_json_stable_stringify = __commonJS({
|
|
|
5014
5014
|
};
|
|
5015
5015
|
}(opts.cmp);
|
|
5016
5016
|
var seen = [];
|
|
5017
|
-
return function
|
|
5017
|
+
return function stringify3(node) {
|
|
5018
5018
|
if (node && node.toJSON && typeof node.toJSON === "function") {
|
|
5019
5019
|
node = node.toJSON();
|
|
5020
5020
|
}
|
|
@@ -5030,7 +5030,7 @@ var require_fast_json_stable_stringify = __commonJS({
|
|
|
5030
5030
|
for (i3 = 0; i3 < node.length; i3++) {
|
|
5031
5031
|
if (i3)
|
|
5032
5032
|
out += ",";
|
|
5033
|
-
out +=
|
|
5033
|
+
out += stringify3(node[i3]) || "null";
|
|
5034
5034
|
}
|
|
5035
5035
|
return out + "]";
|
|
5036
5036
|
}
|
|
@@ -5046,7 +5046,7 @@ var require_fast_json_stable_stringify = __commonJS({
|
|
|
5046
5046
|
out = "";
|
|
5047
5047
|
for (i3 = 0; i3 < keys.length; i3++) {
|
|
5048
5048
|
var key = keys[i3];
|
|
5049
|
-
var value =
|
|
5049
|
+
var value = stringify3(node[key]);
|
|
5050
5050
|
if (!value)
|
|
5051
5051
|
continue;
|
|
5052
5052
|
if (out)
|
|
@@ -5063,15 +5063,15 @@ var require_fast_json_stable_stringify = __commonJS({
|
|
|
5063
5063
|
// node_modules/.pnpm/buffer-json@2.0.0/node_modules/buffer-json/index.js
|
|
5064
5064
|
var require_buffer_json = __commonJS({
|
|
5065
5065
|
"node_modules/.pnpm/buffer-json@2.0.0/node_modules/buffer-json/index.js"(exports, module) {
|
|
5066
|
-
function
|
|
5066
|
+
function stringify3(value, space) {
|
|
5067
5067
|
return JSON.stringify(value, replacer, space);
|
|
5068
5068
|
}
|
|
5069
|
-
function
|
|
5069
|
+
function parse5(text) {
|
|
5070
5070
|
return JSON.parse(text, reviver);
|
|
5071
5071
|
}
|
|
5072
5072
|
function replacer(key, value) {
|
|
5073
5073
|
if (isBufferLike(value)) {
|
|
5074
|
-
if (
|
|
5074
|
+
if (isArray3(value.data)) {
|
|
5075
5075
|
if (value.data.length > 0) {
|
|
5076
5076
|
value.data = "base64:" + Buffer.from(value.data).toString("base64");
|
|
5077
5077
|
} else {
|
|
@@ -5083,7 +5083,7 @@ var require_buffer_json = __commonJS({
|
|
|
5083
5083
|
}
|
|
5084
5084
|
function reviver(key, value) {
|
|
5085
5085
|
if (isBufferLike(value)) {
|
|
5086
|
-
if (
|
|
5086
|
+
if (isArray3(value.data)) {
|
|
5087
5087
|
return Buffer.from(value.data);
|
|
5088
5088
|
} else if (isString(value.data)) {
|
|
5089
5089
|
if (value.data.startsWith("base64:")) {
|
|
@@ -5095,9 +5095,9 @@ var require_buffer_json = __commonJS({
|
|
|
5095
5095
|
return value;
|
|
5096
5096
|
}
|
|
5097
5097
|
function isBufferLike(x2) {
|
|
5098
|
-
return isObject(x2) && x2.type === "Buffer" && (
|
|
5098
|
+
return isObject(x2) && x2.type === "Buffer" && (isArray3(x2.data) || isString(x2.data));
|
|
5099
5099
|
}
|
|
5100
|
-
function
|
|
5100
|
+
function isArray3(x2) {
|
|
5101
5101
|
return Array.isArray(x2);
|
|
5102
5102
|
}
|
|
5103
5103
|
function isString(x2) {
|
|
@@ -5107,8 +5107,8 @@ var require_buffer_json = __commonJS({
|
|
|
5107
5107
|
return typeof x2 === "object" && x2 !== null;
|
|
5108
5108
|
}
|
|
5109
5109
|
module.exports = {
|
|
5110
|
-
stringify:
|
|
5111
|
-
parse:
|
|
5110
|
+
stringify: stringify3,
|
|
5111
|
+
parse: parse5,
|
|
5112
5112
|
replacer,
|
|
5113
5113
|
reviver
|
|
5114
5114
|
};
|
|
@@ -5163,14 +5163,14 @@ var require_sweet_scroll = __commonJS({
|
|
|
5163
5163
|
var isString = function(obj) {
|
|
5164
5164
|
return typeof obj === "string";
|
|
5165
5165
|
};
|
|
5166
|
-
var
|
|
5166
|
+
var isFunction3 = function(obj) {
|
|
5167
5167
|
return typeof obj === "function";
|
|
5168
5168
|
};
|
|
5169
|
-
var
|
|
5169
|
+
var isArray3 = function(obj) {
|
|
5170
5170
|
return Array.isArray(obj);
|
|
5171
5171
|
};
|
|
5172
5172
|
var isNumeric = function(obj) {
|
|
5173
|
-
return !
|
|
5173
|
+
return !isArray3(obj) && obj - parseFloat(obj) + 1 >= 0;
|
|
5174
5174
|
};
|
|
5175
5175
|
var hasProp = function(obj, key) {
|
|
5176
5176
|
return obj && obj.hasOwnProperty(key);
|
|
@@ -5368,7 +5368,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
5368
5368
|
var res = { top: 0, left: 0, relative: false };
|
|
5369
5369
|
if (hasProp(coordinate, "top") || hasProp(coordinate, "left")) {
|
|
5370
5370
|
res = __assign2({}, res, coordinate);
|
|
5371
|
-
} else if (
|
|
5371
|
+
} else if (isArray3(coordinate)) {
|
|
5372
5372
|
if (coordinate.length > 1) {
|
|
5373
5373
|
res.top = coordinate[0];
|
|
5374
5374
|
res.left = coordinate[1];
|
|
@@ -5649,7 +5649,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
5649
5649
|
var ctx = this.ctx;
|
|
5650
5650
|
ctx.opts = opts;
|
|
5651
5651
|
ctx.progress = true;
|
|
5652
|
-
ctx.easing =
|
|
5652
|
+
ctx.easing = isFunction3(opts.easing) ? opts.easing : easings[opts.easing];
|
|
5653
5653
|
var $container = this.$el;
|
|
5654
5654
|
var start = {
|
|
5655
5655
|
top: getScroll($container, "y"),
|
|
@@ -5689,7 +5689,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
5689
5689
|
var callback = options[type5];
|
|
5690
5690
|
var callbackResult;
|
|
5691
5691
|
var methodResult;
|
|
5692
|
-
if (
|
|
5692
|
+
if (isFunction3(callback)) {
|
|
5693
5693
|
callbackResult = callback.apply(this, args.concat([this]));
|
|
5694
5694
|
}
|
|
5695
5695
|
methodResult = (_a = this)["on" + (type5[0].toUpperCase() + type5.slice(1))].apply(_a, args);
|
|
@@ -5979,13 +5979,13 @@ function arrRemove(arr, item) {
|
|
|
5979
5979
|
|
|
5980
5980
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
5981
5981
|
var Subscription = function() {
|
|
5982
|
-
function
|
|
5982
|
+
function Subscription3(initialTeardown) {
|
|
5983
5983
|
this.initialTeardown = initialTeardown;
|
|
5984
5984
|
this.closed = false;
|
|
5985
5985
|
this._parentage = null;
|
|
5986
5986
|
this._finalizers = null;
|
|
5987
5987
|
}
|
|
5988
|
-
|
|
5988
|
+
Subscription3.prototype.unsubscribe = function() {
|
|
5989
5989
|
var e_1, _a, e_2, _b;
|
|
5990
5990
|
var errors;
|
|
5991
5991
|
if (!this.closed) {
|
|
@@ -6056,13 +6056,13 @@ var Subscription = function() {
|
|
|
6056
6056
|
}
|
|
6057
6057
|
}
|
|
6058
6058
|
};
|
|
6059
|
-
|
|
6059
|
+
Subscription3.prototype.add = function(teardown) {
|
|
6060
6060
|
var _a;
|
|
6061
6061
|
if (teardown && teardown !== this) {
|
|
6062
6062
|
if (this.closed) {
|
|
6063
6063
|
execFinalizer(teardown);
|
|
6064
6064
|
} else {
|
|
6065
|
-
if (teardown instanceof
|
|
6065
|
+
if (teardown instanceof Subscription3) {
|
|
6066
6066
|
if (teardown.closed || teardown._hasParent(this)) {
|
|
6067
6067
|
return;
|
|
6068
6068
|
}
|
|
@@ -6072,15 +6072,15 @@ var Subscription = function() {
|
|
|
6072
6072
|
}
|
|
6073
6073
|
}
|
|
6074
6074
|
};
|
|
6075
|
-
|
|
6075
|
+
Subscription3.prototype._hasParent = function(parent) {
|
|
6076
6076
|
var _parentage = this._parentage;
|
|
6077
6077
|
return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent);
|
|
6078
6078
|
};
|
|
6079
|
-
|
|
6079
|
+
Subscription3.prototype._addParent = function(parent) {
|
|
6080
6080
|
var _parentage = this._parentage;
|
|
6081
6081
|
this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;
|
|
6082
6082
|
};
|
|
6083
|
-
|
|
6083
|
+
Subscription3.prototype._removeParent = function(parent) {
|
|
6084
6084
|
var _parentage = this._parentage;
|
|
6085
6085
|
if (_parentage === parent) {
|
|
6086
6086
|
this._parentage = null;
|
|
@@ -6088,19 +6088,19 @@ var Subscription = function() {
|
|
|
6088
6088
|
arrRemove(_parentage, parent);
|
|
6089
6089
|
}
|
|
6090
6090
|
};
|
|
6091
|
-
|
|
6091
|
+
Subscription3.prototype.remove = function(teardown) {
|
|
6092
6092
|
var _finalizers = this._finalizers;
|
|
6093
6093
|
_finalizers && arrRemove(_finalizers, teardown);
|
|
6094
|
-
if (teardown instanceof
|
|
6094
|
+
if (teardown instanceof Subscription3) {
|
|
6095
6095
|
teardown._removeParent(this);
|
|
6096
6096
|
}
|
|
6097
6097
|
};
|
|
6098
|
-
|
|
6099
|
-
var empty = new
|
|
6098
|
+
Subscription3.EMPTY = function() {
|
|
6099
|
+
var empty = new Subscription3();
|
|
6100
6100
|
empty.closed = true;
|
|
6101
6101
|
return empty;
|
|
6102
6102
|
}();
|
|
6103
|
-
return
|
|
6103
|
+
return Subscription3;
|
|
6104
6104
|
}();
|
|
6105
6105
|
var EMPTY_SUBSCRIPTION = Subscription.EMPTY;
|
|
6106
6106
|
function isSubscription(value) {
|
|
@@ -6206,8 +6206,8 @@ function captureError(err) {
|
|
|
6206
6206
|
|
|
6207
6207
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
6208
6208
|
var Subscriber = function(_super) {
|
|
6209
|
-
__extends(
|
|
6210
|
-
function
|
|
6209
|
+
__extends(Subscriber3, _super);
|
|
6210
|
+
function Subscriber3(destination) {
|
|
6211
6211
|
var _this = _super.call(this) || this;
|
|
6212
6212
|
_this.isStopped = false;
|
|
6213
6213
|
if (destination) {
|
|
@@ -6220,17 +6220,17 @@ var Subscriber = function(_super) {
|
|
|
6220
6220
|
}
|
|
6221
6221
|
return _this;
|
|
6222
6222
|
}
|
|
6223
|
-
|
|
6223
|
+
Subscriber3.create = function(next, error, complete) {
|
|
6224
6224
|
return new SafeSubscriber(next, error, complete);
|
|
6225
6225
|
};
|
|
6226
|
-
|
|
6226
|
+
Subscriber3.prototype.next = function(value) {
|
|
6227
6227
|
if (this.isStopped) {
|
|
6228
6228
|
handleStoppedNotification(nextNotification(value), this);
|
|
6229
6229
|
} else {
|
|
6230
6230
|
this._next(value);
|
|
6231
6231
|
}
|
|
6232
6232
|
};
|
|
6233
|
-
|
|
6233
|
+
Subscriber3.prototype.error = function(err) {
|
|
6234
6234
|
if (this.isStopped) {
|
|
6235
6235
|
handleStoppedNotification(errorNotification(err), this);
|
|
6236
6236
|
} else {
|
|
@@ -6238,7 +6238,7 @@ var Subscriber = function(_super) {
|
|
|
6238
6238
|
this._error(err);
|
|
6239
6239
|
}
|
|
6240
6240
|
};
|
|
6241
|
-
|
|
6241
|
+
Subscriber3.prototype.complete = function() {
|
|
6242
6242
|
if (this.isStopped) {
|
|
6243
6243
|
handleStoppedNotification(COMPLETE_NOTIFICATION, this);
|
|
6244
6244
|
} else {
|
|
@@ -6246,41 +6246,41 @@ var Subscriber = function(_super) {
|
|
|
6246
6246
|
this._complete();
|
|
6247
6247
|
}
|
|
6248
6248
|
};
|
|
6249
|
-
|
|
6249
|
+
Subscriber3.prototype.unsubscribe = function() {
|
|
6250
6250
|
if (!this.closed) {
|
|
6251
6251
|
this.isStopped = true;
|
|
6252
6252
|
_super.prototype.unsubscribe.call(this);
|
|
6253
6253
|
this.destination = null;
|
|
6254
6254
|
}
|
|
6255
6255
|
};
|
|
6256
|
-
|
|
6256
|
+
Subscriber3.prototype._next = function(value) {
|
|
6257
6257
|
this.destination.next(value);
|
|
6258
6258
|
};
|
|
6259
|
-
|
|
6259
|
+
Subscriber3.prototype._error = function(err) {
|
|
6260
6260
|
try {
|
|
6261
6261
|
this.destination.error(err);
|
|
6262
6262
|
} finally {
|
|
6263
6263
|
this.unsubscribe();
|
|
6264
6264
|
}
|
|
6265
6265
|
};
|
|
6266
|
-
|
|
6266
|
+
Subscriber3.prototype._complete = function() {
|
|
6267
6267
|
try {
|
|
6268
6268
|
this.destination.complete();
|
|
6269
6269
|
} finally {
|
|
6270
6270
|
this.unsubscribe();
|
|
6271
6271
|
}
|
|
6272
6272
|
};
|
|
6273
|
-
return
|
|
6273
|
+
return Subscriber3;
|
|
6274
6274
|
}(Subscription);
|
|
6275
6275
|
var _bind = Function.prototype.bind;
|
|
6276
6276
|
function bind(fn, thisArg) {
|
|
6277
6277
|
return _bind.call(fn, thisArg);
|
|
6278
6278
|
}
|
|
6279
6279
|
var ConsumerObserver = function() {
|
|
6280
|
-
function
|
|
6280
|
+
function ConsumerObserver3(partialObserver) {
|
|
6281
6281
|
this.partialObserver = partialObserver;
|
|
6282
6282
|
}
|
|
6283
|
-
|
|
6283
|
+
ConsumerObserver3.prototype.next = function(value) {
|
|
6284
6284
|
var partialObserver = this.partialObserver;
|
|
6285
6285
|
if (partialObserver.next) {
|
|
6286
6286
|
try {
|
|
@@ -6290,7 +6290,7 @@ var ConsumerObserver = function() {
|
|
|
6290
6290
|
}
|
|
6291
6291
|
}
|
|
6292
6292
|
};
|
|
6293
|
-
|
|
6293
|
+
ConsumerObserver3.prototype.error = function(err) {
|
|
6294
6294
|
var partialObserver = this.partialObserver;
|
|
6295
6295
|
if (partialObserver.error) {
|
|
6296
6296
|
try {
|
|
@@ -6302,7 +6302,7 @@ var ConsumerObserver = function() {
|
|
|
6302
6302
|
handleUnhandledError(err);
|
|
6303
6303
|
}
|
|
6304
6304
|
};
|
|
6305
|
-
|
|
6305
|
+
ConsumerObserver3.prototype.complete = function() {
|
|
6306
6306
|
var partialObserver = this.partialObserver;
|
|
6307
6307
|
if (partialObserver.complete) {
|
|
6308
6308
|
try {
|
|
@@ -6312,11 +6312,11 @@ var ConsumerObserver = function() {
|
|
|
6312
6312
|
}
|
|
6313
6313
|
}
|
|
6314
6314
|
};
|
|
6315
|
-
return
|
|
6315
|
+
return ConsumerObserver3;
|
|
6316
6316
|
}();
|
|
6317
6317
|
var SafeSubscriber = function(_super) {
|
|
6318
|
-
__extends(
|
|
6319
|
-
function
|
|
6318
|
+
__extends(SafeSubscriber3, _super);
|
|
6319
|
+
function SafeSubscriber3(observerOrNext, error, complete) {
|
|
6320
6320
|
var _this = _super.call(this) || this;
|
|
6321
6321
|
var partialObserver;
|
|
6322
6322
|
if (isFunction(observerOrNext) || !observerOrNext) {
|
|
@@ -6344,7 +6344,7 @@ var SafeSubscriber = function(_super) {
|
|
|
6344
6344
|
_this.destination = new ConsumerObserver(partialObserver);
|
|
6345
6345
|
return _this;
|
|
6346
6346
|
}
|
|
6347
|
-
return
|
|
6347
|
+
return SafeSubscriber3;
|
|
6348
6348
|
}(Subscriber);
|
|
6349
6349
|
function handleUnhandledError(error) {
|
|
6350
6350
|
if (config.useDeprecatedSynchronousErrorHandling) {
|
|
@@ -6396,18 +6396,18 @@ function pipeFromArray(fns) {
|
|
|
6396
6396
|
|
|
6397
6397
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
6398
6398
|
var Observable = function() {
|
|
6399
|
-
function
|
|
6399
|
+
function Observable3(subscribe) {
|
|
6400
6400
|
if (subscribe) {
|
|
6401
6401
|
this._subscribe = subscribe;
|
|
6402
6402
|
}
|
|
6403
6403
|
}
|
|
6404
|
-
|
|
6405
|
-
var
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
return
|
|
6404
|
+
Observable3.prototype.lift = function(operator) {
|
|
6405
|
+
var observable3 = new Observable3();
|
|
6406
|
+
observable3.source = this;
|
|
6407
|
+
observable3.operator = operator;
|
|
6408
|
+
return observable3;
|
|
6409
6409
|
};
|
|
6410
|
-
|
|
6410
|
+
Observable3.prototype.subscribe = function(observerOrNext, error, complete) {
|
|
6411
6411
|
var _this = this;
|
|
6412
6412
|
var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);
|
|
6413
6413
|
errorContext(function() {
|
|
@@ -6416,14 +6416,14 @@ var Observable = function() {
|
|
|
6416
6416
|
});
|
|
6417
6417
|
return subscriber;
|
|
6418
6418
|
};
|
|
6419
|
-
|
|
6419
|
+
Observable3.prototype._trySubscribe = function(sink) {
|
|
6420
6420
|
try {
|
|
6421
6421
|
return this._subscribe(sink);
|
|
6422
6422
|
} catch (err) {
|
|
6423
6423
|
sink.error(err);
|
|
6424
6424
|
}
|
|
6425
6425
|
};
|
|
6426
|
-
|
|
6426
|
+
Observable3.prototype.forEach = function(next, promiseCtor) {
|
|
6427
6427
|
var _this = this;
|
|
6428
6428
|
promiseCtor = getPromiseCtor(promiseCtor);
|
|
6429
6429
|
return new promiseCtor(function(resolve, reject) {
|
|
@@ -6442,21 +6442,21 @@ var Observable = function() {
|
|
|
6442
6442
|
_this.subscribe(subscriber);
|
|
6443
6443
|
});
|
|
6444
6444
|
};
|
|
6445
|
-
|
|
6445
|
+
Observable3.prototype._subscribe = function(subscriber) {
|
|
6446
6446
|
var _a;
|
|
6447
6447
|
return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);
|
|
6448
6448
|
};
|
|
6449
|
-
|
|
6449
|
+
Observable3.prototype[observable] = function() {
|
|
6450
6450
|
return this;
|
|
6451
6451
|
};
|
|
6452
|
-
|
|
6452
|
+
Observable3.prototype.pipe = function() {
|
|
6453
6453
|
var operations = [];
|
|
6454
6454
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
6455
6455
|
operations[_i] = arguments[_i];
|
|
6456
6456
|
}
|
|
6457
6457
|
return pipeFromArray(operations)(this);
|
|
6458
6458
|
};
|
|
6459
|
-
|
|
6459
|
+
Observable3.prototype.toPromise = function(promiseCtor) {
|
|
6460
6460
|
var _this = this;
|
|
6461
6461
|
promiseCtor = getPromiseCtor(promiseCtor);
|
|
6462
6462
|
return new promiseCtor(function(resolve, reject) {
|
|
@@ -6470,10 +6470,10 @@ var Observable = function() {
|
|
|
6470
6470
|
});
|
|
6471
6471
|
});
|
|
6472
6472
|
};
|
|
6473
|
-
|
|
6474
|
-
return new
|
|
6473
|
+
Observable3.create = function(subscribe) {
|
|
6474
|
+
return new Observable3(subscribe);
|
|
6475
6475
|
};
|
|
6476
|
-
return
|
|
6476
|
+
return Observable3;
|
|
6477
6477
|
}();
|
|
6478
6478
|
function getPromiseCtor(promiseCtor) {
|
|
6479
6479
|
var _a;
|
|
@@ -6510,8 +6510,8 @@ function createOperatorSubscriber(destination, onNext, onComplete, onError, onFi
|
|
|
6510
6510
|
return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
|
|
6511
6511
|
}
|
|
6512
6512
|
var OperatorSubscriber = function(_super) {
|
|
6513
|
-
__extends(
|
|
6514
|
-
function
|
|
6513
|
+
__extends(OperatorSubscriber3, _super);
|
|
6514
|
+
function OperatorSubscriber3(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
|
|
6515
6515
|
var _this = _super.call(this, destination) || this;
|
|
6516
6516
|
_this.onFinalize = onFinalize;
|
|
6517
6517
|
_this.shouldUnsubscribe = shouldUnsubscribe;
|
|
@@ -6542,7 +6542,7 @@ var OperatorSubscriber = function(_super) {
|
|
|
6542
6542
|
} : _super.prototype._complete;
|
|
6543
6543
|
return _this;
|
|
6544
6544
|
}
|
|
6545
|
-
|
|
6545
|
+
OperatorSubscriber3.prototype.unsubscribe = function() {
|
|
6546
6546
|
var _a;
|
|
6547
6547
|
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
|
|
6548
6548
|
var closed_1 = this.closed;
|
|
@@ -6550,7 +6550,7 @@ var OperatorSubscriber = function(_super) {
|
|
|
6550
6550
|
!closed_1 && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
6551
6551
|
}
|
|
6552
6552
|
};
|
|
6553
|
-
return
|
|
6553
|
+
return OperatorSubscriber3;
|
|
6554
6554
|
}(Subscriber);
|
|
6555
6555
|
|
|
6556
6556
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
@@ -6564,8 +6564,8 @@ var ObjectUnsubscribedError = createErrorClass(function(_super) {
|
|
|
6564
6564
|
|
|
6565
6565
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/Subject.js
|
|
6566
6566
|
var Subject = function(_super) {
|
|
6567
|
-
__extends(
|
|
6568
|
-
function
|
|
6567
|
+
__extends(Subject3, _super);
|
|
6568
|
+
function Subject3() {
|
|
6569
6569
|
var _this = _super.call(this) || this;
|
|
6570
6570
|
_this.closed = false;
|
|
6571
6571
|
_this.currentObservers = null;
|
|
@@ -6575,17 +6575,17 @@ var Subject = function(_super) {
|
|
|
6575
6575
|
_this.thrownError = null;
|
|
6576
6576
|
return _this;
|
|
6577
6577
|
}
|
|
6578
|
-
|
|
6578
|
+
Subject3.prototype.lift = function(operator) {
|
|
6579
6579
|
var subject = new AnonymousSubject(this, this);
|
|
6580
6580
|
subject.operator = operator;
|
|
6581
6581
|
return subject;
|
|
6582
6582
|
};
|
|
6583
|
-
|
|
6583
|
+
Subject3.prototype._throwIfClosed = function() {
|
|
6584
6584
|
if (this.closed) {
|
|
6585
6585
|
throw new ObjectUnsubscribedError();
|
|
6586
6586
|
}
|
|
6587
6587
|
};
|
|
6588
|
-
|
|
6588
|
+
Subject3.prototype.next = function(value) {
|
|
6589
6589
|
var _this = this;
|
|
6590
6590
|
errorContext(function() {
|
|
6591
6591
|
var e_1, _a;
|
|
@@ -6613,7 +6613,7 @@ var Subject = function(_super) {
|
|
|
6613
6613
|
}
|
|
6614
6614
|
});
|
|
6615
6615
|
};
|
|
6616
|
-
|
|
6616
|
+
Subject3.prototype.error = function(err) {
|
|
6617
6617
|
var _this = this;
|
|
6618
6618
|
errorContext(function() {
|
|
6619
6619
|
_this._throwIfClosed();
|
|
@@ -6627,7 +6627,7 @@ var Subject = function(_super) {
|
|
|
6627
6627
|
}
|
|
6628
6628
|
});
|
|
6629
6629
|
};
|
|
6630
|
-
|
|
6630
|
+
Subject3.prototype.complete = function() {
|
|
6631
6631
|
var _this = this;
|
|
6632
6632
|
errorContext(function() {
|
|
6633
6633
|
_this._throwIfClosed();
|
|
@@ -6640,11 +6640,11 @@ var Subject = function(_super) {
|
|
|
6640
6640
|
}
|
|
6641
6641
|
});
|
|
6642
6642
|
};
|
|
6643
|
-
|
|
6643
|
+
Subject3.prototype.unsubscribe = function() {
|
|
6644
6644
|
this.isStopped = this.closed = true;
|
|
6645
6645
|
this.observers = this.currentObservers = null;
|
|
6646
6646
|
};
|
|
6647
|
-
Object.defineProperty(
|
|
6647
|
+
Object.defineProperty(Subject3.prototype, "observed", {
|
|
6648
6648
|
get: function() {
|
|
6649
6649
|
var _a;
|
|
6650
6650
|
return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
@@ -6652,16 +6652,16 @@ var Subject = function(_super) {
|
|
|
6652
6652
|
enumerable: false,
|
|
6653
6653
|
configurable: true
|
|
6654
6654
|
});
|
|
6655
|
-
|
|
6655
|
+
Subject3.prototype._trySubscribe = function(subscriber) {
|
|
6656
6656
|
this._throwIfClosed();
|
|
6657
6657
|
return _super.prototype._trySubscribe.call(this, subscriber);
|
|
6658
6658
|
};
|
|
6659
|
-
|
|
6659
|
+
Subject3.prototype._subscribe = function(subscriber) {
|
|
6660
6660
|
this._throwIfClosed();
|
|
6661
6661
|
this._checkFinalizedStatuses(subscriber);
|
|
6662
6662
|
return this._innerSubscribe(subscriber);
|
|
6663
6663
|
};
|
|
6664
|
-
|
|
6664
|
+
Subject3.prototype._innerSubscribe = function(subscriber) {
|
|
6665
6665
|
var _this = this;
|
|
6666
6666
|
var _a = this, hasError = _a.hasError, isStopped = _a.isStopped, observers = _a.observers;
|
|
6667
6667
|
if (hasError || isStopped) {
|
|
@@ -6674,7 +6674,7 @@ var Subject = function(_super) {
|
|
|
6674
6674
|
arrRemove(observers, subscriber);
|
|
6675
6675
|
});
|
|
6676
6676
|
};
|
|
6677
|
-
|
|
6677
|
+
Subject3.prototype._checkFinalizedStatuses = function(subscriber) {
|
|
6678
6678
|
var _a = this, hasError = _a.hasError, thrownError = _a.thrownError, isStopped = _a.isStopped;
|
|
6679
6679
|
if (hasError) {
|
|
6680
6680
|
subscriber.error(thrownError);
|
|
@@ -6682,41 +6682,41 @@ var Subject = function(_super) {
|
|
|
6682
6682
|
subscriber.complete();
|
|
6683
6683
|
}
|
|
6684
6684
|
};
|
|
6685
|
-
|
|
6686
|
-
var
|
|
6687
|
-
|
|
6688
|
-
return
|
|
6685
|
+
Subject3.prototype.asObservable = function() {
|
|
6686
|
+
var observable3 = new Observable();
|
|
6687
|
+
observable3.source = this;
|
|
6688
|
+
return observable3;
|
|
6689
6689
|
};
|
|
6690
|
-
|
|
6690
|
+
Subject3.create = function(destination, source) {
|
|
6691
6691
|
return new AnonymousSubject(destination, source);
|
|
6692
6692
|
};
|
|
6693
|
-
return
|
|
6693
|
+
return Subject3;
|
|
6694
6694
|
}(Observable);
|
|
6695
6695
|
var AnonymousSubject = function(_super) {
|
|
6696
|
-
__extends(
|
|
6697
|
-
function
|
|
6696
|
+
__extends(AnonymousSubject3, _super);
|
|
6697
|
+
function AnonymousSubject3(destination, source) {
|
|
6698
6698
|
var _this = _super.call(this) || this;
|
|
6699
6699
|
_this.destination = destination;
|
|
6700
6700
|
_this.source = source;
|
|
6701
6701
|
return _this;
|
|
6702
6702
|
}
|
|
6703
|
-
|
|
6703
|
+
AnonymousSubject3.prototype.next = function(value) {
|
|
6704
6704
|
var _a, _b;
|
|
6705
6705
|
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);
|
|
6706
6706
|
};
|
|
6707
|
-
|
|
6707
|
+
AnonymousSubject3.prototype.error = function(err) {
|
|
6708
6708
|
var _a, _b;
|
|
6709
6709
|
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);
|
|
6710
6710
|
};
|
|
6711
|
-
|
|
6711
|
+
AnonymousSubject3.prototype.complete = function() {
|
|
6712
6712
|
var _a, _b;
|
|
6713
6713
|
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
6714
6714
|
};
|
|
6715
|
-
|
|
6715
|
+
AnonymousSubject3.prototype._subscribe = function(subscriber) {
|
|
6716
6716
|
var _a, _b;
|
|
6717
6717
|
return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
|
|
6718
6718
|
};
|
|
6719
|
-
return
|
|
6719
|
+
return AnonymousSubject3;
|
|
6720
6720
|
}(Subject);
|
|
6721
6721
|
|
|
6722
6722
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js
|
|
@@ -6729,8 +6729,8 @@ var dateTimestampProvider = {
|
|
|
6729
6729
|
|
|
6730
6730
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/ReplaySubject.js
|
|
6731
6731
|
var ReplaySubject = function(_super) {
|
|
6732
|
-
__extends(
|
|
6733
|
-
function
|
|
6732
|
+
__extends(ReplaySubject3, _super);
|
|
6733
|
+
function ReplaySubject3(_bufferSize, _windowTime, _timestampProvider) {
|
|
6734
6734
|
if (_bufferSize === void 0) {
|
|
6735
6735
|
_bufferSize = Infinity;
|
|
6736
6736
|
}
|
|
@@ -6751,7 +6751,7 @@ var ReplaySubject = function(_super) {
|
|
|
6751
6751
|
_this._windowTime = Math.max(1, _windowTime);
|
|
6752
6752
|
return _this;
|
|
6753
6753
|
}
|
|
6754
|
-
|
|
6754
|
+
ReplaySubject3.prototype.next = function(value) {
|
|
6755
6755
|
var _a = this, isStopped = _a.isStopped, _buffer = _a._buffer, _infiniteTimeWindow = _a._infiniteTimeWindow, _timestampProvider = _a._timestampProvider, _windowTime = _a._windowTime;
|
|
6756
6756
|
if (!isStopped) {
|
|
6757
6757
|
_buffer.push(value);
|
|
@@ -6760,7 +6760,7 @@ var ReplaySubject = function(_super) {
|
|
|
6760
6760
|
this._trimBuffer();
|
|
6761
6761
|
_super.prototype.next.call(this, value);
|
|
6762
6762
|
};
|
|
6763
|
-
|
|
6763
|
+
ReplaySubject3.prototype._subscribe = function(subscriber) {
|
|
6764
6764
|
this._throwIfClosed();
|
|
6765
6765
|
this._trimBuffer();
|
|
6766
6766
|
var subscription = this._innerSubscribe(subscriber);
|
|
@@ -6772,35 +6772,35 @@ var ReplaySubject = function(_super) {
|
|
|
6772
6772
|
this._checkFinalizedStatuses(subscriber);
|
|
6773
6773
|
return subscription;
|
|
6774
6774
|
};
|
|
6775
|
-
|
|
6775
|
+
ReplaySubject3.prototype._trimBuffer = function() {
|
|
6776
6776
|
var _a = this, _bufferSize = _a._bufferSize, _timestampProvider = _a._timestampProvider, _buffer = _a._buffer, _infiniteTimeWindow = _a._infiniteTimeWindow;
|
|
6777
6777
|
var adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;
|
|
6778
6778
|
_bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);
|
|
6779
6779
|
if (!_infiniteTimeWindow) {
|
|
6780
6780
|
var now2 = _timestampProvider.now();
|
|
6781
|
-
var
|
|
6781
|
+
var last3 = 0;
|
|
6782
6782
|
for (var i3 = 1; i3 < _buffer.length && _buffer[i3] <= now2; i3 += 2) {
|
|
6783
|
-
|
|
6783
|
+
last3 = i3;
|
|
6784
6784
|
}
|
|
6785
|
-
|
|
6785
|
+
last3 && _buffer.splice(0, last3 + 1);
|
|
6786
6786
|
}
|
|
6787
6787
|
};
|
|
6788
|
-
return
|
|
6788
|
+
return ReplaySubject3;
|
|
6789
6789
|
}(Subject);
|
|
6790
6790
|
|
|
6791
6791
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
|
|
6792
6792
|
var Action = function(_super) {
|
|
6793
|
-
__extends(
|
|
6794
|
-
function
|
|
6793
|
+
__extends(Action3, _super);
|
|
6794
|
+
function Action3(scheduler, work) {
|
|
6795
6795
|
return _super.call(this) || this;
|
|
6796
6796
|
}
|
|
6797
|
-
|
|
6797
|
+
Action3.prototype.schedule = function(state, delay) {
|
|
6798
6798
|
if (delay === void 0) {
|
|
6799
6799
|
delay = 0;
|
|
6800
6800
|
}
|
|
6801
6801
|
return this;
|
|
6802
6802
|
};
|
|
6803
|
-
return
|
|
6803
|
+
return Action3;
|
|
6804
6804
|
}(Subscription);
|
|
6805
6805
|
|
|
6806
6806
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js
|
|
@@ -6825,15 +6825,15 @@ var intervalProvider = {
|
|
|
6825
6825
|
|
|
6826
6826
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js
|
|
6827
6827
|
var AsyncAction = function(_super) {
|
|
6828
|
-
__extends(
|
|
6829
|
-
function
|
|
6828
|
+
__extends(AsyncAction3, _super);
|
|
6829
|
+
function AsyncAction3(scheduler, work) {
|
|
6830
6830
|
var _this = _super.call(this, scheduler, work) || this;
|
|
6831
6831
|
_this.scheduler = scheduler;
|
|
6832
6832
|
_this.work = work;
|
|
6833
6833
|
_this.pending = false;
|
|
6834
6834
|
return _this;
|
|
6835
6835
|
}
|
|
6836
|
-
|
|
6836
|
+
AsyncAction3.prototype.schedule = function(state, delay) {
|
|
6837
6837
|
var _a;
|
|
6838
6838
|
if (delay === void 0) {
|
|
6839
6839
|
delay = 0;
|
|
@@ -6852,13 +6852,13 @@ var AsyncAction = function(_super) {
|
|
|
6852
6852
|
this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);
|
|
6853
6853
|
return this;
|
|
6854
6854
|
};
|
|
6855
|
-
|
|
6855
|
+
AsyncAction3.prototype.requestAsyncId = function(scheduler, _id, delay) {
|
|
6856
6856
|
if (delay === void 0) {
|
|
6857
6857
|
delay = 0;
|
|
6858
6858
|
}
|
|
6859
6859
|
return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);
|
|
6860
6860
|
};
|
|
6861
|
-
|
|
6861
|
+
AsyncAction3.prototype.recycleAsyncId = function(_scheduler, id, delay) {
|
|
6862
6862
|
if (delay === void 0) {
|
|
6863
6863
|
delay = 0;
|
|
6864
6864
|
}
|
|
@@ -6870,7 +6870,7 @@ var AsyncAction = function(_super) {
|
|
|
6870
6870
|
}
|
|
6871
6871
|
return void 0;
|
|
6872
6872
|
};
|
|
6873
|
-
|
|
6873
|
+
AsyncAction3.prototype.execute = function(state, delay) {
|
|
6874
6874
|
if (this.closed) {
|
|
6875
6875
|
return new Error("executing a cancelled action");
|
|
6876
6876
|
}
|
|
@@ -6882,7 +6882,7 @@ var AsyncAction = function(_super) {
|
|
|
6882
6882
|
this.id = this.recycleAsyncId(this.scheduler, this.id, null);
|
|
6883
6883
|
}
|
|
6884
6884
|
};
|
|
6885
|
-
|
|
6885
|
+
AsyncAction3.prototype._execute = function(state, _delay) {
|
|
6886
6886
|
var errored = false;
|
|
6887
6887
|
var errorValue;
|
|
6888
6888
|
try {
|
|
@@ -6896,7 +6896,7 @@ var AsyncAction = function(_super) {
|
|
|
6896
6896
|
return errorValue;
|
|
6897
6897
|
}
|
|
6898
6898
|
};
|
|
6899
|
-
|
|
6899
|
+
AsyncAction3.prototype.unsubscribe = function() {
|
|
6900
6900
|
if (!this.closed) {
|
|
6901
6901
|
var _a = this, id = _a.id, scheduler = _a.scheduler;
|
|
6902
6902
|
var actions = scheduler.actions;
|
|
@@ -6910,32 +6910,32 @@ var AsyncAction = function(_super) {
|
|
|
6910
6910
|
_super.prototype.unsubscribe.call(this);
|
|
6911
6911
|
}
|
|
6912
6912
|
};
|
|
6913
|
-
return
|
|
6913
|
+
return AsyncAction3;
|
|
6914
6914
|
}(Action);
|
|
6915
6915
|
|
|
6916
6916
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/Scheduler.js
|
|
6917
6917
|
var Scheduler = function() {
|
|
6918
|
-
function
|
|
6918
|
+
function Scheduler3(schedulerActionCtor, now2) {
|
|
6919
6919
|
if (now2 === void 0) {
|
|
6920
|
-
now2 =
|
|
6920
|
+
now2 = Scheduler3.now;
|
|
6921
6921
|
}
|
|
6922
6922
|
this.schedulerActionCtor = schedulerActionCtor;
|
|
6923
6923
|
this.now = now2;
|
|
6924
6924
|
}
|
|
6925
|
-
|
|
6925
|
+
Scheduler3.prototype.schedule = function(work, delay, state) {
|
|
6926
6926
|
if (delay === void 0) {
|
|
6927
6927
|
delay = 0;
|
|
6928
6928
|
}
|
|
6929
6929
|
return new this.schedulerActionCtor(this, work).schedule(state, delay);
|
|
6930
6930
|
};
|
|
6931
|
-
|
|
6932
|
-
return
|
|
6931
|
+
Scheduler3.now = dateTimestampProvider.now;
|
|
6932
|
+
return Scheduler3;
|
|
6933
6933
|
}();
|
|
6934
6934
|
|
|
6935
6935
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js
|
|
6936
6936
|
var AsyncScheduler = function(_super) {
|
|
6937
|
-
__extends(
|
|
6938
|
-
function
|
|
6937
|
+
__extends(AsyncScheduler3, _super);
|
|
6938
|
+
function AsyncScheduler3(SchedulerAction, now2) {
|
|
6939
6939
|
if (now2 === void 0) {
|
|
6940
6940
|
now2 = Scheduler.now;
|
|
6941
6941
|
}
|
|
@@ -6944,7 +6944,7 @@ var AsyncScheduler = function(_super) {
|
|
|
6944
6944
|
_this._active = false;
|
|
6945
6945
|
return _this;
|
|
6946
6946
|
}
|
|
6947
|
-
|
|
6947
|
+
AsyncScheduler3.prototype.flush = function(action) {
|
|
6948
6948
|
var actions = this.actions;
|
|
6949
6949
|
if (this._active) {
|
|
6950
6950
|
actions.push(action);
|
|
@@ -6965,7 +6965,7 @@ var AsyncScheduler = function(_super) {
|
|
|
6965
6965
|
throw error;
|
|
6966
6966
|
}
|
|
6967
6967
|
};
|
|
6968
|
-
return
|
|
6968
|
+
return AsyncScheduler3;
|
|
6969
6969
|
}(Scheduler);
|
|
6970
6970
|
|
|
6971
6971
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/scheduler/async.js
|
|
@@ -7299,15 +7299,15 @@ function scheduleArray(input, scheduler) {
|
|
|
7299
7299
|
// node_modules/.pnpm/rxjs@7.8.0/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
|
|
7300
7300
|
function scheduleIterable(input, scheduler) {
|
|
7301
7301
|
return new Observable(function(subscriber) {
|
|
7302
|
-
var
|
|
7302
|
+
var iterator3;
|
|
7303
7303
|
executeSchedule(subscriber, scheduler, function() {
|
|
7304
|
-
|
|
7304
|
+
iterator3 = input[iterator]();
|
|
7305
7305
|
executeSchedule(subscriber, scheduler, function() {
|
|
7306
7306
|
var _a;
|
|
7307
7307
|
var value;
|
|
7308
7308
|
var done;
|
|
7309
7309
|
try {
|
|
7310
|
-
_a =
|
|
7310
|
+
_a = iterator3.next(), value = _a.value, done = _a.done;
|
|
7311
7311
|
} catch (err) {
|
|
7312
7312
|
subscriber.error(err);
|
|
7313
7313
|
return;
|
|
@@ -7320,7 +7320,7 @@ function scheduleIterable(input, scheduler) {
|
|
|
7320
7320
|
}, 0, true);
|
|
7321
7321
|
});
|
|
7322
7322
|
return function() {
|
|
7323
|
-
return isFunction(
|
|
7323
|
+
return isFunction(iterator3 === null || iterator3 === void 0 ? void 0 : iterator3.return) && iterator3.return();
|
|
7324
7324
|
};
|
|
7325
7325
|
});
|
|
7326
7326
|
}
|
|
@@ -7332,9 +7332,9 @@ function scheduleAsyncIterable(input, scheduler) {
|
|
|
7332
7332
|
}
|
|
7333
7333
|
return new Observable(function(subscriber) {
|
|
7334
7334
|
executeSchedule(subscriber, scheduler, function() {
|
|
7335
|
-
var
|
|
7335
|
+
var iterator3 = input[Symbol.asyncIterator]();
|
|
7336
7336
|
executeSchedule(subscriber, scheduler, function() {
|
|
7337
|
-
|
|
7337
|
+
iterator3.next().then(function(result) {
|
|
7338
7338
|
if (result.done) {
|
|
7339
7339
|
subscriber.complete();
|
|
7340
7340
|
} else {
|
|
@@ -8244,11 +8244,11 @@ var scheduledJobs = [];
|
|
|
8244
8244
|
function isFn(v2) {
|
|
8245
8245
|
return Object.prototype.toString.call(v2) === "[object Function]" || "function" === typeof v2 || v2 instanceof Function;
|
|
8246
8246
|
}
|
|
8247
|
-
function unref(
|
|
8247
|
+
function unref(timer2) {
|
|
8248
8248
|
if (typeof Deno !== "undefined" && typeof Deno.unrefTimer !== "undefined") {
|
|
8249
|
-
Deno.unrefTimer(
|
|
8250
|
-
} else if (
|
|
8251
|
-
|
|
8249
|
+
Deno.unrefTimer(timer2);
|
|
8250
|
+
} else if (timer2 && typeof timer2.unref !== "undefined") {
|
|
8251
|
+
timer2.unref();
|
|
8252
8252
|
}
|
|
8253
8253
|
}
|
|
8254
8254
|
function Cron(pattern, fnOrOptions1, fnOrOptions2) {
|
|
@@ -11256,9 +11256,9 @@ var ObliviousSet = function() {
|
|
|
11256
11256
|
}();
|
|
11257
11257
|
function removeTooOldValues(obliviousSet) {
|
|
11258
11258
|
var olderThen = now() - obliviousSet.ttl;
|
|
11259
|
-
var
|
|
11259
|
+
var iterator3 = obliviousSet.set[Symbol.iterator]();
|
|
11260
11260
|
while (true) {
|
|
11261
|
-
var value =
|
|
11261
|
+
var value = iterator3.next().value;
|
|
11262
11262
|
if (!value) {
|
|
11263
11263
|
return;
|
|
11264
11264
|
}
|
|
@@ -11946,9 +11946,261 @@ var DeesComms = class {
|
|
|
11946
11946
|
}
|
|
11947
11947
|
};
|
|
11948
11948
|
|
|
11949
|
-
// node_modules/.pnpm/@
|
|
11949
|
+
// node_modules/.pnpm/@push.rocks+smartdelay@3.0.2/node_modules/@push.rocks/smartdelay/dist_ts/index.js
|
|
11950
11950
|
var dist_ts_exports15 = {};
|
|
11951
11951
|
__export(dist_ts_exports15, {
|
|
11952
|
+
Timeout: () => Timeout2,
|
|
11953
|
+
delayFor: () => delayFor2,
|
|
11954
|
+
delayForRandom: () => delayForRandom2
|
|
11955
|
+
});
|
|
11956
|
+
var delayFor2 = async (timeInMillisecondArg, passOnArg, unrefedArg = false) => {
|
|
11957
|
+
const timeout = new Timeout2(timeInMillisecondArg, null, unrefedArg);
|
|
11958
|
+
await timeout.promise;
|
|
11959
|
+
return passOnArg;
|
|
11960
|
+
};
|
|
11961
|
+
var delayForRandom2 = async (timeMinInMillisecondArg, timeMaxInMillisecondArg, passOnArg, unrefedArg = false) => {
|
|
11962
|
+
await delayFor2(Math.random() * (timeMaxInMillisecondArg - timeMinInMillisecondArg) + timeMinInMillisecondArg, null, unrefedArg);
|
|
11963
|
+
return passOnArg;
|
|
11964
|
+
};
|
|
11965
|
+
var Timeout2 = class {
|
|
11966
|
+
constructor(timeInMillisecondArg, passOn, unrefedArg = false) {
|
|
11967
|
+
this._cancelled = false;
|
|
11968
|
+
this.timeoutInMillis = timeInMillisecondArg;
|
|
11969
|
+
this._deferred = defer();
|
|
11970
|
+
this.promise = this._deferred.promise;
|
|
11971
|
+
this._timeout = setTimeout(() => {
|
|
11972
|
+
if (!this._cancelled) {
|
|
11973
|
+
this._deferred.resolve(passOn);
|
|
11974
|
+
}
|
|
11975
|
+
}, timeInMillisecondArg);
|
|
11976
|
+
this.started = Date.now();
|
|
11977
|
+
if (unrefedArg) {
|
|
11978
|
+
this.makeUnrefed();
|
|
11979
|
+
}
|
|
11980
|
+
}
|
|
11981
|
+
makeUnrefed() {
|
|
11982
|
+
this._timeout.unref();
|
|
11983
|
+
}
|
|
11984
|
+
cancel() {
|
|
11985
|
+
this._cancelled = true;
|
|
11986
|
+
clearTimeout(this._timeout);
|
|
11987
|
+
}
|
|
11988
|
+
getTimeLeft() {
|
|
11989
|
+
const result = this.started + this.timeoutInMillis - Date.now();
|
|
11990
|
+
return result > 0 ? result : 0;
|
|
11991
|
+
}
|
|
11992
|
+
};
|
|
11993
|
+
|
|
11994
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.6/node_modules/@push.rocks/smartjson/dist_ts/index.js
|
|
11995
|
+
var dist_ts_exports16 = {};
|
|
11996
|
+
__export(dist_ts_exports16, {
|
|
11997
|
+
Smartjson: () => Smartjson2,
|
|
11998
|
+
deepEqualObjects: () => deepEqualObjects2,
|
|
11999
|
+
foldDec: () => foldDec2,
|
|
12000
|
+
parse: () => parse2,
|
|
12001
|
+
parseBase64: () => parseBase642,
|
|
12002
|
+
stringify: () => stringify2,
|
|
12003
|
+
stringifyBase64: () => stringifyBase642
|
|
12004
|
+
});
|
|
12005
|
+
|
|
12006
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.6/node_modules/@push.rocks/smartjson/dist_ts/smartjson.plugins.js
|
|
12007
|
+
var import_lodash2 = __toESM(require_lodash(), 1);
|
|
12008
|
+
var import_fast_json_stable_stringify2 = __toESM(require_fast_json_stable_stringify(), 1);
|
|
12009
|
+
var import_buffer_json2 = __toESM(require_buffer_json(), 1);
|
|
12010
|
+
var stableJson3 = import_fast_json_stable_stringify2.default;
|
|
12011
|
+
|
|
12012
|
+
// node_modules/.pnpm/@push.rocks+smartjson@5.0.6/node_modules/@push.rocks/smartjson/dist_ts/index.js
|
|
12013
|
+
var parse2 = import_buffer_json2.default.parse;
|
|
12014
|
+
var stringify2 = (objArg, simpleOrderArray, optionsArg = {}) => {
|
|
12015
|
+
const bufferedJson = import_buffer_json2.default.stringify(objArg);
|
|
12016
|
+
objArg = JSON.parse(bufferedJson);
|
|
12017
|
+
let returnJson = stableJson3(objArg, optionsArg);
|
|
12018
|
+
return returnJson;
|
|
12019
|
+
};
|
|
12020
|
+
var stringifyBase642 = (...args) => {
|
|
12021
|
+
const stringifiedResult = stringify2(...args);
|
|
12022
|
+
return dist_ts_exports8.base64.encodeUri(stringifiedResult);
|
|
12023
|
+
};
|
|
12024
|
+
var parseBase642 = (base64JsonStringArg) => {
|
|
12025
|
+
const simpleStringified = dist_ts_exports8.base64.decode(base64JsonStringArg);
|
|
12026
|
+
return parse2(simpleStringified);
|
|
12027
|
+
};
|
|
12028
|
+
var Smartjson2 = class {
|
|
12029
|
+
static enfoldFromObject(objectArg) {
|
|
12030
|
+
const newInstance = new this();
|
|
12031
|
+
for (const keyName in objectArg) {
|
|
12032
|
+
if (newInstance.saveableProperties.indexOf(keyName) !== -1) {
|
|
12033
|
+
newInstance[keyName] = objectArg[keyName];
|
|
12034
|
+
}
|
|
12035
|
+
}
|
|
12036
|
+
return newInstance;
|
|
12037
|
+
}
|
|
12038
|
+
static enfoldFromJson(jsonArg) {
|
|
12039
|
+
const objectFromJson = parse2(jsonArg);
|
|
12040
|
+
return this.enfoldFromObject(objectFromJson);
|
|
12041
|
+
}
|
|
12042
|
+
foldToObject() {
|
|
12043
|
+
const newFoldedObject = {};
|
|
12044
|
+
const trackMap = [];
|
|
12045
|
+
for (const keyName of this.saveableProperties) {
|
|
12046
|
+
let value = this[keyName];
|
|
12047
|
+
if (value instanceof Smartjson2) {
|
|
12048
|
+
if (trackMap.includes(value)) {
|
|
12049
|
+
throw new Error("cycle detected");
|
|
12050
|
+
}
|
|
12051
|
+
trackMap.push(value);
|
|
12052
|
+
value = value.foldToObject();
|
|
12053
|
+
}
|
|
12054
|
+
newFoldedObject[keyName] = import_lodash2.default(value);
|
|
12055
|
+
}
|
|
12056
|
+
return newFoldedObject;
|
|
12057
|
+
}
|
|
12058
|
+
foldToJson() {
|
|
12059
|
+
const foldedObject = this.foldToObject();
|
|
12060
|
+
return stringify2(foldedObject);
|
|
12061
|
+
}
|
|
12062
|
+
};
|
|
12063
|
+
var foldDec2 = () => {
|
|
12064
|
+
return (target, key) => {
|
|
12065
|
+
if (!target.saveableProperties) {
|
|
12066
|
+
target.saveableProperties = [];
|
|
12067
|
+
}
|
|
12068
|
+
target.saveableProperties.push(key);
|
|
12069
|
+
};
|
|
12070
|
+
};
|
|
12071
|
+
var deepEqualObjects2 = (object1, object2) => {
|
|
12072
|
+
const object1String = stringify2(object1);
|
|
12073
|
+
const object2String = stringify2(object2);
|
|
12074
|
+
return object1String === object2String;
|
|
12075
|
+
};
|
|
12076
|
+
|
|
12077
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
|
|
12078
|
+
var dist_ts_exports17 = {};
|
|
12079
|
+
__export(dist_ts_exports17, {
|
|
12080
|
+
CumulativeDeferred: () => CumulativeDeferred2,
|
|
12081
|
+
Deferred: () => Deferred2,
|
|
12082
|
+
cumulativeDefer: () => cumulativeDefer2,
|
|
12083
|
+
defer: () => defer2,
|
|
12084
|
+
getFirstTrueOrFalse: () => getFirstTrueOrFalse2,
|
|
12085
|
+
map: () => map3,
|
|
12086
|
+
rejectedPromise: () => rejectedPromise2,
|
|
12087
|
+
resolvedPromise: () => resolvedPromise2,
|
|
12088
|
+
timeoutAndContinue: () => timeoutAndContinue2,
|
|
12089
|
+
timeoutWrap: () => timeoutWrap2
|
|
12090
|
+
});
|
|
12091
|
+
|
|
12092
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.deferred.js
|
|
12093
|
+
var Deferred2 = class {
|
|
12094
|
+
claim() {
|
|
12095
|
+
if (this.claimed) {
|
|
12096
|
+
throw new Error("Deferred already claimed");
|
|
12097
|
+
}
|
|
12098
|
+
this.claimed = true;
|
|
12099
|
+
}
|
|
12100
|
+
get duration() {
|
|
12101
|
+
if (this.stoppedAt) {
|
|
12102
|
+
return this.stoppedAt - this.startedAt;
|
|
12103
|
+
} else {
|
|
12104
|
+
return Date.now() - this.startedAt;
|
|
12105
|
+
}
|
|
12106
|
+
}
|
|
12107
|
+
constructor() {
|
|
12108
|
+
this.claimed = false;
|
|
12109
|
+
this.promise = new Promise((resolve, reject) => {
|
|
12110
|
+
this.resolve = (valueArg) => {
|
|
12111
|
+
this.status = "fulfilled";
|
|
12112
|
+
this.stoppedAt = Date.now();
|
|
12113
|
+
resolve(valueArg);
|
|
12114
|
+
};
|
|
12115
|
+
this.reject = (reason) => {
|
|
12116
|
+
this.status = "rejected";
|
|
12117
|
+
this.stoppedAt = Date.now();
|
|
12118
|
+
reject(reason);
|
|
12119
|
+
};
|
|
12120
|
+
this.startedAt = Date.now();
|
|
12121
|
+
this.status = "pending";
|
|
12122
|
+
});
|
|
12123
|
+
}
|
|
12124
|
+
};
|
|
12125
|
+
var defer2 = () => {
|
|
12126
|
+
return new Deferred2();
|
|
12127
|
+
};
|
|
12128
|
+
|
|
12129
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/smartpromise.classes.cumulativedeferred.js
|
|
12130
|
+
var CumulativeDeferred2 = class {
|
|
12131
|
+
constructor() {
|
|
12132
|
+
this.accumulatedPromises = [];
|
|
12133
|
+
this.deferred = defer2();
|
|
12134
|
+
this.promise = this.deferred.promise;
|
|
12135
|
+
setTimeout(async () => {
|
|
12136
|
+
while (this.accumulatedPromises.length > 0) {
|
|
12137
|
+
const poppedPromise = this.accumulatedPromises.shift();
|
|
12138
|
+
await poppedPromise;
|
|
12139
|
+
}
|
|
12140
|
+
this.deferred.resolve();
|
|
12141
|
+
}, 0);
|
|
12142
|
+
}
|
|
12143
|
+
addPromise(promiseArg) {
|
|
12144
|
+
this.accumulatedPromises.push(promiseArg);
|
|
12145
|
+
}
|
|
12146
|
+
};
|
|
12147
|
+
var cumulativeDefer2 = () => {
|
|
12148
|
+
return new CumulativeDeferred2();
|
|
12149
|
+
};
|
|
12150
|
+
|
|
12151
|
+
// node_modules/.pnpm/@push.rocks+smartpromise@4.0.3/node_modules/@push.rocks/smartpromise/dist_ts/index.js
|
|
12152
|
+
var resolvedPromise2 = (value) => {
|
|
12153
|
+
return Promise.resolve(value);
|
|
12154
|
+
};
|
|
12155
|
+
var rejectedPromise2 = (err) => {
|
|
12156
|
+
return Promise.reject(err);
|
|
12157
|
+
};
|
|
12158
|
+
var map3 = async (inputArg, functionArg) => {
|
|
12159
|
+
const promiseArray = [];
|
|
12160
|
+
const resultArray = [];
|
|
12161
|
+
for (const item of inputArg) {
|
|
12162
|
+
const promise = functionArg(item);
|
|
12163
|
+
promiseArray.push(promise);
|
|
12164
|
+
promise.then((x2) => {
|
|
12165
|
+
resultArray.push(x2);
|
|
12166
|
+
});
|
|
12167
|
+
}
|
|
12168
|
+
await Promise.all(promiseArray);
|
|
12169
|
+
return resultArray;
|
|
12170
|
+
};
|
|
12171
|
+
var timeoutWrap2 = async (promiseArg, timeoutInMsArg, rejectArg = true) => {
|
|
12172
|
+
return new Promise((resolve, reject) => {
|
|
12173
|
+
setTimeout(() => {
|
|
12174
|
+
if (rejectArg) {
|
|
12175
|
+
reject(new Error("timeout"));
|
|
12176
|
+
} else {
|
|
12177
|
+
resolve(null);
|
|
12178
|
+
}
|
|
12179
|
+
}, timeoutInMsArg);
|
|
12180
|
+
promiseArg.then(resolve, reject);
|
|
12181
|
+
});
|
|
12182
|
+
};
|
|
12183
|
+
var timeoutAndContinue2 = async (promiseArg, timeoutInMsArg = 6e4) => {
|
|
12184
|
+
return timeoutWrap2(promiseArg, timeoutInMsArg, false);
|
|
12185
|
+
};
|
|
12186
|
+
var getFirstTrueOrFalse2 = async (promisesArg) => {
|
|
12187
|
+
const done = defer2();
|
|
12188
|
+
for (const promiseArg of promisesArg) {
|
|
12189
|
+
promiseArg.then((resultArg) => {
|
|
12190
|
+
if (resultArg === true) {
|
|
12191
|
+
done.resolve(true);
|
|
12192
|
+
}
|
|
12193
|
+
});
|
|
12194
|
+
}
|
|
12195
|
+
Promise.all(promisesArg).then(() => {
|
|
12196
|
+
done.resolve(false);
|
|
12197
|
+
});
|
|
12198
|
+
return done.promise;
|
|
12199
|
+
};
|
|
12200
|
+
|
|
12201
|
+
// node_modules/.pnpm/@push.rocks+smartrouter@1.0.16/node_modules/@push.rocks/smartrouter/dist_ts/index.js
|
|
12202
|
+
var dist_ts_exports18 = {};
|
|
12203
|
+
__export(dist_ts_exports18, {
|
|
11952
12204
|
SmartRouter: () => SmartRouter
|
|
11953
12205
|
});
|
|
11954
12206
|
|
|
@@ -11957,7 +12209,7 @@ var dist_exports = {};
|
|
|
11957
12209
|
__export(dist_exports, {
|
|
11958
12210
|
compile: () => compile,
|
|
11959
12211
|
match: () => match,
|
|
11960
|
-
parse: () =>
|
|
12212
|
+
parse: () => parse3,
|
|
11961
12213
|
pathToRegexp: () => pathToRegexp,
|
|
11962
12214
|
regexpToFunction: () => regexpToFunction,
|
|
11963
12215
|
tokensToFunction: () => tokensToFunction,
|
|
@@ -12040,7 +12292,7 @@ function lexer(str) {
|
|
|
12040
12292
|
tokens.push({ type: "END", index: i3, value: "" });
|
|
12041
12293
|
return tokens;
|
|
12042
12294
|
}
|
|
12043
|
-
function
|
|
12295
|
+
function parse3(str, options) {
|
|
12044
12296
|
if (options === void 0) {
|
|
12045
12297
|
options = {};
|
|
12046
12298
|
}
|
|
@@ -12123,7 +12375,7 @@ function parse2(str, options) {
|
|
|
12123
12375
|
return result;
|
|
12124
12376
|
}
|
|
12125
12377
|
function compile(str, options) {
|
|
12126
|
-
return tokensToFunction(
|
|
12378
|
+
return tokensToFunction(parse3(str, options), options);
|
|
12127
12379
|
}
|
|
12128
12380
|
function tokensToFunction(tokens, options) {
|
|
12129
12381
|
if (options === void 0) {
|
|
@@ -12250,7 +12502,7 @@ function arrayToRegexp(paths, keys, options) {
|
|
|
12250
12502
|
return new RegExp("(?:".concat(parts.join("|"), ")"), flags(options));
|
|
12251
12503
|
}
|
|
12252
12504
|
function stringToRegexp(path, keys, options) {
|
|
12253
|
-
return tokensToRegexp(
|
|
12505
|
+
return tokensToRegexp(parse3(path, options), keys, options);
|
|
12254
12506
|
}
|
|
12255
12507
|
function tokensToRegexp(tokens, keys, options) {
|
|
12256
12508
|
if (options === void 0) {
|
|
@@ -12315,7 +12567,7 @@ function pathToRegexp(path, keys, options) {
|
|
|
12315
12567
|
return stringToRegexp(path, keys, options);
|
|
12316
12568
|
}
|
|
12317
12569
|
|
|
12318
|
-
// node_modules/.pnpm/@
|
|
12570
|
+
// node_modules/.pnpm/@push.rocks+smartrouter@1.0.16/node_modules/@push.rocks/smartrouter/dist_ts/smartrouter.classes.queryparams.js
|
|
12319
12571
|
var QueryParams = class {
|
|
12320
12572
|
constructor() {
|
|
12321
12573
|
}
|
|
@@ -12339,7 +12591,7 @@ var QueryParams = class {
|
|
|
12339
12591
|
}
|
|
12340
12592
|
};
|
|
12341
12593
|
|
|
12342
|
-
// node_modules/.pnpm/@
|
|
12594
|
+
// node_modules/.pnpm/@push.rocks+smartrouter@1.0.16/node_modules/@push.rocks/smartrouter/dist_ts/smartrouter.classes.smartrouter.js
|
|
12343
12595
|
var SmartRouter = class {
|
|
12344
12596
|
constructor(optionsArg) {
|
|
12345
12597
|
this.options = {
|
|
@@ -12385,58 +12637,2014 @@ var SmartRouter = class {
|
|
|
12385
12637
|
}
|
|
12386
12638
|
};
|
|
12387
12639
|
|
|
12388
|
-
// node_modules/.pnpm/@
|
|
12389
|
-
var
|
|
12390
|
-
__export(
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12640
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.2/node_modules/@push.rocks/smartrx/dist_ts/index.js
|
|
12641
|
+
var dist_ts_exports19 = {};
|
|
12642
|
+
__export(dist_ts_exports19, {
|
|
12643
|
+
ObservableIntake: () => ObservableIntake2,
|
|
12644
|
+
Observablemap: () => Observablemap2,
|
|
12645
|
+
rxjs: () => smartrx_plugins_rxjs_exports2
|
|
12394
12646
|
});
|
|
12395
12647
|
|
|
12396
|
-
// node_modules/.pnpm/@
|
|
12397
|
-
var
|
|
12398
|
-
__export(
|
|
12399
|
-
|
|
12648
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.2/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
|
|
12649
|
+
var smartrx_plugins_rxjs_exports2 = {};
|
|
12650
|
+
__export(smartrx_plugins_rxjs_exports2, {
|
|
12651
|
+
Observable: () => Observable2,
|
|
12652
|
+
ReplaySubject: () => ReplaySubject2,
|
|
12653
|
+
Subject: () => Subject2,
|
|
12654
|
+
Subscription: () => Subscription2,
|
|
12655
|
+
fromEvent: () => fromEvent2,
|
|
12656
|
+
ops: () => ops2
|
|
12400
12657
|
});
|
|
12401
|
-
var hex = (buffer) => {
|
|
12402
|
-
const hexCodes = [];
|
|
12403
|
-
const view = new DataView(buffer);
|
|
12404
|
-
for (let i3 = 0; i3 < view.byteLength; i3 += 4) {
|
|
12405
|
-
const value = view.getUint32(i3);
|
|
12406
|
-
const stringValue = value.toString(16);
|
|
12407
|
-
const padding = "00000000";
|
|
12408
|
-
const paddedValue = (padding + stringValue).slice(-padding.length);
|
|
12409
|
-
hexCodes.push(paddedValue);
|
|
12410
|
-
}
|
|
12411
|
-
return hexCodes.join("");
|
|
12412
|
-
};
|
|
12413
|
-
var sha256FromString = async (stringArg) => {
|
|
12414
|
-
const smartenv = new dist_ts_exports7.Smartenv();
|
|
12415
|
-
if (smartenv.isBrowser) {
|
|
12416
|
-
const buffer = new TextEncoder().encode(stringArg);
|
|
12417
|
-
const hash = await crypto.subtle.digest("SHA-256", buffer);
|
|
12418
|
-
const result = hex(hash);
|
|
12419
|
-
return result;
|
|
12420
|
-
} else if (smartenv.isNode) {
|
|
12421
|
-
const smarthashModule = await smartenv.getSafeNodeModule("@pushrocks/smarthash");
|
|
12422
|
-
const result = await smarthashModule.sha256FromString(stringArg);
|
|
12423
|
-
return result;
|
|
12424
|
-
}
|
|
12425
|
-
};
|
|
12426
12658
|
|
|
12427
|
-
// node_modules/.pnpm
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
|
|
12659
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isFunction.js
|
|
12660
|
+
function isFunction2(value) {
|
|
12661
|
+
return typeof value === "function";
|
|
12662
|
+
}
|
|
12663
|
+
|
|
12664
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js
|
|
12665
|
+
function createErrorClass2(createImpl) {
|
|
12666
|
+
var _super = function(instance) {
|
|
12667
|
+
Error.call(instance);
|
|
12668
|
+
instance.stack = new Error().stack;
|
|
12669
|
+
};
|
|
12670
|
+
var ctorFunc = createImpl(_super);
|
|
12671
|
+
ctorFunc.prototype = Object.create(Error.prototype);
|
|
12672
|
+
ctorFunc.prototype.constructor = ctorFunc;
|
|
12673
|
+
return ctorFunc;
|
|
12674
|
+
}
|
|
12675
|
+
|
|
12676
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js
|
|
12677
|
+
var UnsubscriptionError2 = createErrorClass2(function(_super) {
|
|
12678
|
+
return function UnsubscriptionErrorImpl(errors) {
|
|
12679
|
+
_super(this);
|
|
12680
|
+
this.message = errors ? errors.length + " errors occurred during unsubscription:\n" + errors.map(function(err, i3) {
|
|
12681
|
+
return i3 + 1 + ") " + err.toString();
|
|
12682
|
+
}).join("\n ") : "";
|
|
12683
|
+
this.name = "UnsubscriptionError";
|
|
12684
|
+
this.errors = errors;
|
|
12685
|
+
};
|
|
12686
|
+
});
|
|
12687
|
+
|
|
12688
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js
|
|
12689
|
+
function arrRemove2(arr, item) {
|
|
12690
|
+
if (arr) {
|
|
12691
|
+
var index = arr.indexOf(item);
|
|
12692
|
+
0 <= index && arr.splice(index, 1);
|
|
12435
12693
|
}
|
|
12436
|
-
}
|
|
12694
|
+
}
|
|
12437
12695
|
|
|
12438
|
-
// node_modules/.pnpm
|
|
12439
|
-
var
|
|
12696
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscription.js
|
|
12697
|
+
var Subscription2 = function() {
|
|
12698
|
+
function Subscription3(initialTeardown) {
|
|
12699
|
+
this.initialTeardown = initialTeardown;
|
|
12700
|
+
this.closed = false;
|
|
12701
|
+
this._parentage = null;
|
|
12702
|
+
this._finalizers = null;
|
|
12703
|
+
}
|
|
12704
|
+
Subscription3.prototype.unsubscribe = function() {
|
|
12705
|
+
var e_1, _a, e_2, _b;
|
|
12706
|
+
var errors;
|
|
12707
|
+
if (!this.closed) {
|
|
12708
|
+
this.closed = true;
|
|
12709
|
+
var _parentage = this._parentage;
|
|
12710
|
+
if (_parentage) {
|
|
12711
|
+
this._parentage = null;
|
|
12712
|
+
if (Array.isArray(_parentage)) {
|
|
12713
|
+
try {
|
|
12714
|
+
for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {
|
|
12715
|
+
var parent_1 = _parentage_1_1.value;
|
|
12716
|
+
parent_1.remove(this);
|
|
12717
|
+
}
|
|
12718
|
+
} catch (e_1_1) {
|
|
12719
|
+
e_1 = { error: e_1_1 };
|
|
12720
|
+
} finally {
|
|
12721
|
+
try {
|
|
12722
|
+
if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return))
|
|
12723
|
+
_a.call(_parentage_1);
|
|
12724
|
+
} finally {
|
|
12725
|
+
if (e_1)
|
|
12726
|
+
throw e_1.error;
|
|
12727
|
+
}
|
|
12728
|
+
}
|
|
12729
|
+
} else {
|
|
12730
|
+
_parentage.remove(this);
|
|
12731
|
+
}
|
|
12732
|
+
}
|
|
12733
|
+
var initialFinalizer = this.initialTeardown;
|
|
12734
|
+
if (isFunction2(initialFinalizer)) {
|
|
12735
|
+
try {
|
|
12736
|
+
initialFinalizer();
|
|
12737
|
+
} catch (e4) {
|
|
12738
|
+
errors = e4 instanceof UnsubscriptionError2 ? e4.errors : [e4];
|
|
12739
|
+
}
|
|
12740
|
+
}
|
|
12741
|
+
var _finalizers = this._finalizers;
|
|
12742
|
+
if (_finalizers) {
|
|
12743
|
+
this._finalizers = null;
|
|
12744
|
+
try {
|
|
12745
|
+
for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {
|
|
12746
|
+
var finalizer = _finalizers_1_1.value;
|
|
12747
|
+
try {
|
|
12748
|
+
execFinalizer2(finalizer);
|
|
12749
|
+
} catch (err) {
|
|
12750
|
+
errors = errors !== null && errors !== void 0 ? errors : [];
|
|
12751
|
+
if (err instanceof UnsubscriptionError2) {
|
|
12752
|
+
errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));
|
|
12753
|
+
} else {
|
|
12754
|
+
errors.push(err);
|
|
12755
|
+
}
|
|
12756
|
+
}
|
|
12757
|
+
}
|
|
12758
|
+
} catch (e_2_1) {
|
|
12759
|
+
e_2 = { error: e_2_1 };
|
|
12760
|
+
} finally {
|
|
12761
|
+
try {
|
|
12762
|
+
if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return))
|
|
12763
|
+
_b.call(_finalizers_1);
|
|
12764
|
+
} finally {
|
|
12765
|
+
if (e_2)
|
|
12766
|
+
throw e_2.error;
|
|
12767
|
+
}
|
|
12768
|
+
}
|
|
12769
|
+
}
|
|
12770
|
+
if (errors) {
|
|
12771
|
+
throw new UnsubscriptionError2(errors);
|
|
12772
|
+
}
|
|
12773
|
+
}
|
|
12774
|
+
};
|
|
12775
|
+
Subscription3.prototype.add = function(teardown) {
|
|
12776
|
+
var _a;
|
|
12777
|
+
if (teardown && teardown !== this) {
|
|
12778
|
+
if (this.closed) {
|
|
12779
|
+
execFinalizer2(teardown);
|
|
12780
|
+
} else {
|
|
12781
|
+
if (teardown instanceof Subscription3) {
|
|
12782
|
+
if (teardown.closed || teardown._hasParent(this)) {
|
|
12783
|
+
return;
|
|
12784
|
+
}
|
|
12785
|
+
teardown._addParent(this);
|
|
12786
|
+
}
|
|
12787
|
+
(this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);
|
|
12788
|
+
}
|
|
12789
|
+
}
|
|
12790
|
+
};
|
|
12791
|
+
Subscription3.prototype._hasParent = function(parent) {
|
|
12792
|
+
var _parentage = this._parentage;
|
|
12793
|
+
return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent);
|
|
12794
|
+
};
|
|
12795
|
+
Subscription3.prototype._addParent = function(parent) {
|
|
12796
|
+
var _parentage = this._parentage;
|
|
12797
|
+
this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;
|
|
12798
|
+
};
|
|
12799
|
+
Subscription3.prototype._removeParent = function(parent) {
|
|
12800
|
+
var _parentage = this._parentage;
|
|
12801
|
+
if (_parentage === parent) {
|
|
12802
|
+
this._parentage = null;
|
|
12803
|
+
} else if (Array.isArray(_parentage)) {
|
|
12804
|
+
arrRemove2(_parentage, parent);
|
|
12805
|
+
}
|
|
12806
|
+
};
|
|
12807
|
+
Subscription3.prototype.remove = function(teardown) {
|
|
12808
|
+
var _finalizers = this._finalizers;
|
|
12809
|
+
_finalizers && arrRemove2(_finalizers, teardown);
|
|
12810
|
+
if (teardown instanceof Subscription3) {
|
|
12811
|
+
teardown._removeParent(this);
|
|
12812
|
+
}
|
|
12813
|
+
};
|
|
12814
|
+
Subscription3.EMPTY = function() {
|
|
12815
|
+
var empty = new Subscription3();
|
|
12816
|
+
empty.closed = true;
|
|
12817
|
+
return empty;
|
|
12818
|
+
}();
|
|
12819
|
+
return Subscription3;
|
|
12820
|
+
}();
|
|
12821
|
+
var EMPTY_SUBSCRIPTION2 = Subscription2.EMPTY;
|
|
12822
|
+
function isSubscription2(value) {
|
|
12823
|
+
return value instanceof Subscription2 || value && "closed" in value && isFunction2(value.remove) && isFunction2(value.add) && isFunction2(value.unsubscribe);
|
|
12824
|
+
}
|
|
12825
|
+
function execFinalizer2(finalizer) {
|
|
12826
|
+
if (isFunction2(finalizer)) {
|
|
12827
|
+
finalizer();
|
|
12828
|
+
} else {
|
|
12829
|
+
finalizer.unsubscribe();
|
|
12830
|
+
}
|
|
12831
|
+
}
|
|
12832
|
+
|
|
12833
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/config.js
|
|
12834
|
+
var config2 = {
|
|
12835
|
+
onUnhandledError: null,
|
|
12836
|
+
onStoppedNotification: null,
|
|
12837
|
+
Promise: void 0,
|
|
12838
|
+
useDeprecatedSynchronousErrorHandling: false,
|
|
12839
|
+
useDeprecatedNextContext: false
|
|
12840
|
+
};
|
|
12841
|
+
|
|
12842
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js
|
|
12843
|
+
var timeoutProvider2 = {
|
|
12844
|
+
setTimeout: function(handler, timeout) {
|
|
12845
|
+
var args = [];
|
|
12846
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
12847
|
+
args[_i - 2] = arguments[_i];
|
|
12848
|
+
}
|
|
12849
|
+
var delegate = timeoutProvider2.delegate;
|
|
12850
|
+
if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {
|
|
12851
|
+
return delegate.setTimeout.apply(delegate, __spreadArray([handler, timeout], __read(args)));
|
|
12852
|
+
}
|
|
12853
|
+
return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));
|
|
12854
|
+
},
|
|
12855
|
+
clearTimeout: function(handle) {
|
|
12856
|
+
var delegate = timeoutProvider2.delegate;
|
|
12857
|
+
return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);
|
|
12858
|
+
},
|
|
12859
|
+
delegate: void 0
|
|
12860
|
+
};
|
|
12861
|
+
|
|
12862
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js
|
|
12863
|
+
function reportUnhandledError2(err) {
|
|
12864
|
+
timeoutProvider2.setTimeout(function() {
|
|
12865
|
+
var onUnhandledError = config2.onUnhandledError;
|
|
12866
|
+
if (onUnhandledError) {
|
|
12867
|
+
onUnhandledError(err);
|
|
12868
|
+
} else {
|
|
12869
|
+
throw err;
|
|
12870
|
+
}
|
|
12871
|
+
});
|
|
12872
|
+
}
|
|
12873
|
+
|
|
12874
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/noop.js
|
|
12875
|
+
function noop2() {
|
|
12876
|
+
}
|
|
12877
|
+
|
|
12878
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js
|
|
12879
|
+
var COMPLETE_NOTIFICATION2 = function() {
|
|
12880
|
+
return createNotification2("C", void 0, void 0);
|
|
12881
|
+
}();
|
|
12882
|
+
function errorNotification2(error) {
|
|
12883
|
+
return createNotification2("E", void 0, error);
|
|
12884
|
+
}
|
|
12885
|
+
function nextNotification2(value) {
|
|
12886
|
+
return createNotification2("N", value, void 0);
|
|
12887
|
+
}
|
|
12888
|
+
function createNotification2(kind, value, error) {
|
|
12889
|
+
return {
|
|
12890
|
+
kind,
|
|
12891
|
+
value,
|
|
12892
|
+
error
|
|
12893
|
+
};
|
|
12894
|
+
}
|
|
12895
|
+
|
|
12896
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/errorContext.js
|
|
12897
|
+
var context2 = null;
|
|
12898
|
+
function errorContext2(cb) {
|
|
12899
|
+
if (config2.useDeprecatedSynchronousErrorHandling) {
|
|
12900
|
+
var isRoot = !context2;
|
|
12901
|
+
if (isRoot) {
|
|
12902
|
+
context2 = { errorThrown: false, error: null };
|
|
12903
|
+
}
|
|
12904
|
+
cb();
|
|
12905
|
+
if (isRoot) {
|
|
12906
|
+
var _a = context2, errorThrown = _a.errorThrown, error = _a.error;
|
|
12907
|
+
context2 = null;
|
|
12908
|
+
if (errorThrown) {
|
|
12909
|
+
throw error;
|
|
12910
|
+
}
|
|
12911
|
+
}
|
|
12912
|
+
} else {
|
|
12913
|
+
cb();
|
|
12914
|
+
}
|
|
12915
|
+
}
|
|
12916
|
+
function captureError2(err) {
|
|
12917
|
+
if (config2.useDeprecatedSynchronousErrorHandling && context2) {
|
|
12918
|
+
context2.errorThrown = true;
|
|
12919
|
+
context2.error = err;
|
|
12920
|
+
}
|
|
12921
|
+
}
|
|
12922
|
+
|
|
12923
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subscriber.js
|
|
12924
|
+
var Subscriber2 = function(_super) {
|
|
12925
|
+
__extends(Subscriber3, _super);
|
|
12926
|
+
function Subscriber3(destination) {
|
|
12927
|
+
var _this = _super.call(this) || this;
|
|
12928
|
+
_this.isStopped = false;
|
|
12929
|
+
if (destination) {
|
|
12930
|
+
_this.destination = destination;
|
|
12931
|
+
if (isSubscription2(destination)) {
|
|
12932
|
+
destination.add(_this);
|
|
12933
|
+
}
|
|
12934
|
+
} else {
|
|
12935
|
+
_this.destination = EMPTY_OBSERVER2;
|
|
12936
|
+
}
|
|
12937
|
+
return _this;
|
|
12938
|
+
}
|
|
12939
|
+
Subscriber3.create = function(next, error, complete) {
|
|
12940
|
+
return new SafeSubscriber2(next, error, complete);
|
|
12941
|
+
};
|
|
12942
|
+
Subscriber3.prototype.next = function(value) {
|
|
12943
|
+
if (this.isStopped) {
|
|
12944
|
+
handleStoppedNotification2(nextNotification2(value), this);
|
|
12945
|
+
} else {
|
|
12946
|
+
this._next(value);
|
|
12947
|
+
}
|
|
12948
|
+
};
|
|
12949
|
+
Subscriber3.prototype.error = function(err) {
|
|
12950
|
+
if (this.isStopped) {
|
|
12951
|
+
handleStoppedNotification2(errorNotification2(err), this);
|
|
12952
|
+
} else {
|
|
12953
|
+
this.isStopped = true;
|
|
12954
|
+
this._error(err);
|
|
12955
|
+
}
|
|
12956
|
+
};
|
|
12957
|
+
Subscriber3.prototype.complete = function() {
|
|
12958
|
+
if (this.isStopped) {
|
|
12959
|
+
handleStoppedNotification2(COMPLETE_NOTIFICATION2, this);
|
|
12960
|
+
} else {
|
|
12961
|
+
this.isStopped = true;
|
|
12962
|
+
this._complete();
|
|
12963
|
+
}
|
|
12964
|
+
};
|
|
12965
|
+
Subscriber3.prototype.unsubscribe = function() {
|
|
12966
|
+
if (!this.closed) {
|
|
12967
|
+
this.isStopped = true;
|
|
12968
|
+
_super.prototype.unsubscribe.call(this);
|
|
12969
|
+
this.destination = null;
|
|
12970
|
+
}
|
|
12971
|
+
};
|
|
12972
|
+
Subscriber3.prototype._next = function(value) {
|
|
12973
|
+
this.destination.next(value);
|
|
12974
|
+
};
|
|
12975
|
+
Subscriber3.prototype._error = function(err) {
|
|
12976
|
+
try {
|
|
12977
|
+
this.destination.error(err);
|
|
12978
|
+
} finally {
|
|
12979
|
+
this.unsubscribe();
|
|
12980
|
+
}
|
|
12981
|
+
};
|
|
12982
|
+
Subscriber3.prototype._complete = function() {
|
|
12983
|
+
try {
|
|
12984
|
+
this.destination.complete();
|
|
12985
|
+
} finally {
|
|
12986
|
+
this.unsubscribe();
|
|
12987
|
+
}
|
|
12988
|
+
};
|
|
12989
|
+
return Subscriber3;
|
|
12990
|
+
}(Subscription2);
|
|
12991
|
+
var _bind2 = Function.prototype.bind;
|
|
12992
|
+
function bind2(fn, thisArg) {
|
|
12993
|
+
return _bind2.call(fn, thisArg);
|
|
12994
|
+
}
|
|
12995
|
+
var ConsumerObserver2 = function() {
|
|
12996
|
+
function ConsumerObserver3(partialObserver) {
|
|
12997
|
+
this.partialObserver = partialObserver;
|
|
12998
|
+
}
|
|
12999
|
+
ConsumerObserver3.prototype.next = function(value) {
|
|
13000
|
+
var partialObserver = this.partialObserver;
|
|
13001
|
+
if (partialObserver.next) {
|
|
13002
|
+
try {
|
|
13003
|
+
partialObserver.next(value);
|
|
13004
|
+
} catch (error) {
|
|
13005
|
+
handleUnhandledError2(error);
|
|
13006
|
+
}
|
|
13007
|
+
}
|
|
13008
|
+
};
|
|
13009
|
+
ConsumerObserver3.prototype.error = function(err) {
|
|
13010
|
+
var partialObserver = this.partialObserver;
|
|
13011
|
+
if (partialObserver.error) {
|
|
13012
|
+
try {
|
|
13013
|
+
partialObserver.error(err);
|
|
13014
|
+
} catch (error) {
|
|
13015
|
+
handleUnhandledError2(error);
|
|
13016
|
+
}
|
|
13017
|
+
} else {
|
|
13018
|
+
handleUnhandledError2(err);
|
|
13019
|
+
}
|
|
13020
|
+
};
|
|
13021
|
+
ConsumerObserver3.prototype.complete = function() {
|
|
13022
|
+
var partialObserver = this.partialObserver;
|
|
13023
|
+
if (partialObserver.complete) {
|
|
13024
|
+
try {
|
|
13025
|
+
partialObserver.complete();
|
|
13026
|
+
} catch (error) {
|
|
13027
|
+
handleUnhandledError2(error);
|
|
13028
|
+
}
|
|
13029
|
+
}
|
|
13030
|
+
};
|
|
13031
|
+
return ConsumerObserver3;
|
|
13032
|
+
}();
|
|
13033
|
+
var SafeSubscriber2 = function(_super) {
|
|
13034
|
+
__extends(SafeSubscriber3, _super);
|
|
13035
|
+
function SafeSubscriber3(observerOrNext, error, complete) {
|
|
13036
|
+
var _this = _super.call(this) || this;
|
|
13037
|
+
var partialObserver;
|
|
13038
|
+
if (isFunction2(observerOrNext) || !observerOrNext) {
|
|
13039
|
+
partialObserver = {
|
|
13040
|
+
next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : void 0,
|
|
13041
|
+
error: error !== null && error !== void 0 ? error : void 0,
|
|
13042
|
+
complete: complete !== null && complete !== void 0 ? complete : void 0
|
|
13043
|
+
};
|
|
13044
|
+
} else {
|
|
13045
|
+
var context_1;
|
|
13046
|
+
if (_this && config2.useDeprecatedNextContext) {
|
|
13047
|
+
context_1 = Object.create(observerOrNext);
|
|
13048
|
+
context_1.unsubscribe = function() {
|
|
13049
|
+
return _this.unsubscribe();
|
|
13050
|
+
};
|
|
13051
|
+
partialObserver = {
|
|
13052
|
+
next: observerOrNext.next && bind2(observerOrNext.next, context_1),
|
|
13053
|
+
error: observerOrNext.error && bind2(observerOrNext.error, context_1),
|
|
13054
|
+
complete: observerOrNext.complete && bind2(observerOrNext.complete, context_1)
|
|
13055
|
+
};
|
|
13056
|
+
} else {
|
|
13057
|
+
partialObserver = observerOrNext;
|
|
13058
|
+
}
|
|
13059
|
+
}
|
|
13060
|
+
_this.destination = new ConsumerObserver2(partialObserver);
|
|
13061
|
+
return _this;
|
|
13062
|
+
}
|
|
13063
|
+
return SafeSubscriber3;
|
|
13064
|
+
}(Subscriber2);
|
|
13065
|
+
function handleUnhandledError2(error) {
|
|
13066
|
+
if (config2.useDeprecatedSynchronousErrorHandling) {
|
|
13067
|
+
captureError2(error);
|
|
13068
|
+
} else {
|
|
13069
|
+
reportUnhandledError2(error);
|
|
13070
|
+
}
|
|
13071
|
+
}
|
|
13072
|
+
function defaultErrorHandler2(err) {
|
|
13073
|
+
throw err;
|
|
13074
|
+
}
|
|
13075
|
+
function handleStoppedNotification2(notification, subscriber) {
|
|
13076
|
+
var onStoppedNotification = config2.onStoppedNotification;
|
|
13077
|
+
onStoppedNotification && timeoutProvider2.setTimeout(function() {
|
|
13078
|
+
return onStoppedNotification(notification, subscriber);
|
|
13079
|
+
});
|
|
13080
|
+
}
|
|
13081
|
+
var EMPTY_OBSERVER2 = {
|
|
13082
|
+
closed: true,
|
|
13083
|
+
next: noop2,
|
|
13084
|
+
error: defaultErrorHandler2,
|
|
13085
|
+
complete: noop2
|
|
13086
|
+
};
|
|
13087
|
+
|
|
13088
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/observable.js
|
|
13089
|
+
var observable2 = function() {
|
|
13090
|
+
return typeof Symbol === "function" && Symbol.observable || "@@observable";
|
|
13091
|
+
}();
|
|
13092
|
+
|
|
13093
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/identity.js
|
|
13094
|
+
function identity2(x2) {
|
|
13095
|
+
return x2;
|
|
13096
|
+
}
|
|
13097
|
+
|
|
13098
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/pipe.js
|
|
13099
|
+
function pipeFromArray2(fns) {
|
|
13100
|
+
if (fns.length === 0) {
|
|
13101
|
+
return identity2;
|
|
13102
|
+
}
|
|
13103
|
+
if (fns.length === 1) {
|
|
13104
|
+
return fns[0];
|
|
13105
|
+
}
|
|
13106
|
+
return function piped(input) {
|
|
13107
|
+
return fns.reduce(function(prev, fn) {
|
|
13108
|
+
return fn(prev);
|
|
13109
|
+
}, input);
|
|
13110
|
+
};
|
|
13111
|
+
}
|
|
13112
|
+
|
|
13113
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
13114
|
+
var Observable2 = function() {
|
|
13115
|
+
function Observable3(subscribe) {
|
|
13116
|
+
if (subscribe) {
|
|
13117
|
+
this._subscribe = subscribe;
|
|
13118
|
+
}
|
|
13119
|
+
}
|
|
13120
|
+
Observable3.prototype.lift = function(operator) {
|
|
13121
|
+
var observable3 = new Observable3();
|
|
13122
|
+
observable3.source = this;
|
|
13123
|
+
observable3.operator = operator;
|
|
13124
|
+
return observable3;
|
|
13125
|
+
};
|
|
13126
|
+
Observable3.prototype.subscribe = function(observerOrNext, error, complete) {
|
|
13127
|
+
var _this = this;
|
|
13128
|
+
var subscriber = isSubscriber2(observerOrNext) ? observerOrNext : new SafeSubscriber2(observerOrNext, error, complete);
|
|
13129
|
+
errorContext2(function() {
|
|
13130
|
+
var _a = _this, operator = _a.operator, source = _a.source;
|
|
13131
|
+
subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
|
|
13132
|
+
});
|
|
13133
|
+
return subscriber;
|
|
13134
|
+
};
|
|
13135
|
+
Observable3.prototype._trySubscribe = function(sink) {
|
|
13136
|
+
try {
|
|
13137
|
+
return this._subscribe(sink);
|
|
13138
|
+
} catch (err) {
|
|
13139
|
+
sink.error(err);
|
|
13140
|
+
}
|
|
13141
|
+
};
|
|
13142
|
+
Observable3.prototype.forEach = function(next, promiseCtor) {
|
|
13143
|
+
var _this = this;
|
|
13144
|
+
promiseCtor = getPromiseCtor2(promiseCtor);
|
|
13145
|
+
return new promiseCtor(function(resolve, reject) {
|
|
13146
|
+
var subscriber = new SafeSubscriber2({
|
|
13147
|
+
next: function(value) {
|
|
13148
|
+
try {
|
|
13149
|
+
next(value);
|
|
13150
|
+
} catch (err) {
|
|
13151
|
+
reject(err);
|
|
13152
|
+
subscriber.unsubscribe();
|
|
13153
|
+
}
|
|
13154
|
+
},
|
|
13155
|
+
error: reject,
|
|
13156
|
+
complete: resolve
|
|
13157
|
+
});
|
|
13158
|
+
_this.subscribe(subscriber);
|
|
13159
|
+
});
|
|
13160
|
+
};
|
|
13161
|
+
Observable3.prototype._subscribe = function(subscriber) {
|
|
13162
|
+
var _a;
|
|
13163
|
+
return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);
|
|
13164
|
+
};
|
|
13165
|
+
Observable3.prototype[observable2] = function() {
|
|
13166
|
+
return this;
|
|
13167
|
+
};
|
|
13168
|
+
Observable3.prototype.pipe = function() {
|
|
13169
|
+
var operations = [];
|
|
13170
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
13171
|
+
operations[_i] = arguments[_i];
|
|
13172
|
+
}
|
|
13173
|
+
return pipeFromArray2(operations)(this);
|
|
13174
|
+
};
|
|
13175
|
+
Observable3.prototype.toPromise = function(promiseCtor) {
|
|
13176
|
+
var _this = this;
|
|
13177
|
+
promiseCtor = getPromiseCtor2(promiseCtor);
|
|
13178
|
+
return new promiseCtor(function(resolve, reject) {
|
|
13179
|
+
var value;
|
|
13180
|
+
_this.subscribe(function(x2) {
|
|
13181
|
+
return value = x2;
|
|
13182
|
+
}, function(err) {
|
|
13183
|
+
return reject(err);
|
|
13184
|
+
}, function() {
|
|
13185
|
+
return resolve(value);
|
|
13186
|
+
});
|
|
13187
|
+
});
|
|
13188
|
+
};
|
|
13189
|
+
Observable3.create = function(subscribe) {
|
|
13190
|
+
return new Observable3(subscribe);
|
|
13191
|
+
};
|
|
13192
|
+
return Observable3;
|
|
13193
|
+
}();
|
|
13194
|
+
function getPromiseCtor2(promiseCtor) {
|
|
13195
|
+
var _a;
|
|
13196
|
+
return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config2.Promise) !== null && _a !== void 0 ? _a : Promise;
|
|
13197
|
+
}
|
|
13198
|
+
function isObserver2(value) {
|
|
13199
|
+
return value && isFunction2(value.next) && isFunction2(value.error) && isFunction2(value.complete);
|
|
13200
|
+
}
|
|
13201
|
+
function isSubscriber2(value) {
|
|
13202
|
+
return value && value instanceof Subscriber2 || isObserver2(value) && isSubscription2(value);
|
|
13203
|
+
}
|
|
13204
|
+
|
|
13205
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/lift.js
|
|
13206
|
+
function hasLift2(source) {
|
|
13207
|
+
return isFunction2(source === null || source === void 0 ? void 0 : source.lift);
|
|
13208
|
+
}
|
|
13209
|
+
function operate2(init) {
|
|
13210
|
+
return function(source) {
|
|
13211
|
+
if (hasLift2(source)) {
|
|
13212
|
+
return source.lift(function(liftedSource) {
|
|
13213
|
+
try {
|
|
13214
|
+
return init(liftedSource, this);
|
|
13215
|
+
} catch (err) {
|
|
13216
|
+
this.error(err);
|
|
13217
|
+
}
|
|
13218
|
+
});
|
|
13219
|
+
}
|
|
13220
|
+
throw new TypeError("Unable to lift unknown Observable type");
|
|
13221
|
+
};
|
|
13222
|
+
}
|
|
13223
|
+
|
|
13224
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js
|
|
13225
|
+
function createOperatorSubscriber2(destination, onNext, onComplete, onError, onFinalize) {
|
|
13226
|
+
return new OperatorSubscriber2(destination, onNext, onComplete, onError, onFinalize);
|
|
13227
|
+
}
|
|
13228
|
+
var OperatorSubscriber2 = function(_super) {
|
|
13229
|
+
__extends(OperatorSubscriber3, _super);
|
|
13230
|
+
function OperatorSubscriber3(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
|
|
13231
|
+
var _this = _super.call(this, destination) || this;
|
|
13232
|
+
_this.onFinalize = onFinalize;
|
|
13233
|
+
_this.shouldUnsubscribe = shouldUnsubscribe;
|
|
13234
|
+
_this._next = onNext ? function(value) {
|
|
13235
|
+
try {
|
|
13236
|
+
onNext(value);
|
|
13237
|
+
} catch (err) {
|
|
13238
|
+
destination.error(err);
|
|
13239
|
+
}
|
|
13240
|
+
} : _super.prototype._next;
|
|
13241
|
+
_this._error = onError ? function(err) {
|
|
13242
|
+
try {
|
|
13243
|
+
onError(err);
|
|
13244
|
+
} catch (err2) {
|
|
13245
|
+
destination.error(err2);
|
|
13246
|
+
} finally {
|
|
13247
|
+
this.unsubscribe();
|
|
13248
|
+
}
|
|
13249
|
+
} : _super.prototype._error;
|
|
13250
|
+
_this._complete = onComplete ? function() {
|
|
13251
|
+
try {
|
|
13252
|
+
onComplete();
|
|
13253
|
+
} catch (err) {
|
|
13254
|
+
destination.error(err);
|
|
13255
|
+
} finally {
|
|
13256
|
+
this.unsubscribe();
|
|
13257
|
+
}
|
|
13258
|
+
} : _super.prototype._complete;
|
|
13259
|
+
return _this;
|
|
13260
|
+
}
|
|
13261
|
+
OperatorSubscriber3.prototype.unsubscribe = function() {
|
|
13262
|
+
var _a;
|
|
13263
|
+
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
|
|
13264
|
+
var closed_1 = this.closed;
|
|
13265
|
+
_super.prototype.unsubscribe.call(this);
|
|
13266
|
+
!closed_1 && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
13267
|
+
}
|
|
13268
|
+
};
|
|
13269
|
+
return OperatorSubscriber3;
|
|
13270
|
+
}(Subscriber2);
|
|
13271
|
+
|
|
13272
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/ObjectUnsubscribedError.js
|
|
13273
|
+
var ObjectUnsubscribedError2 = createErrorClass2(function(_super) {
|
|
13274
|
+
return function ObjectUnsubscribedErrorImpl() {
|
|
13275
|
+
_super(this);
|
|
13276
|
+
this.name = "ObjectUnsubscribedError";
|
|
13277
|
+
this.message = "object unsubscribed";
|
|
13278
|
+
};
|
|
13279
|
+
});
|
|
13280
|
+
|
|
13281
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Subject.js
|
|
13282
|
+
var Subject2 = function(_super) {
|
|
13283
|
+
__extends(Subject3, _super);
|
|
13284
|
+
function Subject3() {
|
|
13285
|
+
var _this = _super.call(this) || this;
|
|
13286
|
+
_this.closed = false;
|
|
13287
|
+
_this.currentObservers = null;
|
|
13288
|
+
_this.observers = [];
|
|
13289
|
+
_this.isStopped = false;
|
|
13290
|
+
_this.hasError = false;
|
|
13291
|
+
_this.thrownError = null;
|
|
13292
|
+
return _this;
|
|
13293
|
+
}
|
|
13294
|
+
Subject3.prototype.lift = function(operator) {
|
|
13295
|
+
var subject = new AnonymousSubject2(this, this);
|
|
13296
|
+
subject.operator = operator;
|
|
13297
|
+
return subject;
|
|
13298
|
+
};
|
|
13299
|
+
Subject3.prototype._throwIfClosed = function() {
|
|
13300
|
+
if (this.closed) {
|
|
13301
|
+
throw new ObjectUnsubscribedError2();
|
|
13302
|
+
}
|
|
13303
|
+
};
|
|
13304
|
+
Subject3.prototype.next = function(value) {
|
|
13305
|
+
var _this = this;
|
|
13306
|
+
errorContext2(function() {
|
|
13307
|
+
var e_1, _a;
|
|
13308
|
+
_this._throwIfClosed();
|
|
13309
|
+
if (!_this.isStopped) {
|
|
13310
|
+
if (!_this.currentObservers) {
|
|
13311
|
+
_this.currentObservers = Array.from(_this.observers);
|
|
13312
|
+
}
|
|
13313
|
+
try {
|
|
13314
|
+
for (var _b = __values(_this.currentObservers), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
13315
|
+
var observer = _c.value;
|
|
13316
|
+
observer.next(value);
|
|
13317
|
+
}
|
|
13318
|
+
} catch (e_1_1) {
|
|
13319
|
+
e_1 = { error: e_1_1 };
|
|
13320
|
+
} finally {
|
|
13321
|
+
try {
|
|
13322
|
+
if (_c && !_c.done && (_a = _b.return))
|
|
13323
|
+
_a.call(_b);
|
|
13324
|
+
} finally {
|
|
13325
|
+
if (e_1)
|
|
13326
|
+
throw e_1.error;
|
|
13327
|
+
}
|
|
13328
|
+
}
|
|
13329
|
+
}
|
|
13330
|
+
});
|
|
13331
|
+
};
|
|
13332
|
+
Subject3.prototype.error = function(err) {
|
|
13333
|
+
var _this = this;
|
|
13334
|
+
errorContext2(function() {
|
|
13335
|
+
_this._throwIfClosed();
|
|
13336
|
+
if (!_this.isStopped) {
|
|
13337
|
+
_this.hasError = _this.isStopped = true;
|
|
13338
|
+
_this.thrownError = err;
|
|
13339
|
+
var observers = _this.observers;
|
|
13340
|
+
while (observers.length) {
|
|
13341
|
+
observers.shift().error(err);
|
|
13342
|
+
}
|
|
13343
|
+
}
|
|
13344
|
+
});
|
|
13345
|
+
};
|
|
13346
|
+
Subject3.prototype.complete = function() {
|
|
13347
|
+
var _this = this;
|
|
13348
|
+
errorContext2(function() {
|
|
13349
|
+
_this._throwIfClosed();
|
|
13350
|
+
if (!_this.isStopped) {
|
|
13351
|
+
_this.isStopped = true;
|
|
13352
|
+
var observers = _this.observers;
|
|
13353
|
+
while (observers.length) {
|
|
13354
|
+
observers.shift().complete();
|
|
13355
|
+
}
|
|
13356
|
+
}
|
|
13357
|
+
});
|
|
13358
|
+
};
|
|
13359
|
+
Subject3.prototype.unsubscribe = function() {
|
|
13360
|
+
this.isStopped = this.closed = true;
|
|
13361
|
+
this.observers = this.currentObservers = null;
|
|
13362
|
+
};
|
|
13363
|
+
Object.defineProperty(Subject3.prototype, "observed", {
|
|
13364
|
+
get: function() {
|
|
13365
|
+
var _a;
|
|
13366
|
+
return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
13367
|
+
},
|
|
13368
|
+
enumerable: false,
|
|
13369
|
+
configurable: true
|
|
13370
|
+
});
|
|
13371
|
+
Subject3.prototype._trySubscribe = function(subscriber) {
|
|
13372
|
+
this._throwIfClosed();
|
|
13373
|
+
return _super.prototype._trySubscribe.call(this, subscriber);
|
|
13374
|
+
};
|
|
13375
|
+
Subject3.prototype._subscribe = function(subscriber) {
|
|
13376
|
+
this._throwIfClosed();
|
|
13377
|
+
this._checkFinalizedStatuses(subscriber);
|
|
13378
|
+
return this._innerSubscribe(subscriber);
|
|
13379
|
+
};
|
|
13380
|
+
Subject3.prototype._innerSubscribe = function(subscriber) {
|
|
13381
|
+
var _this = this;
|
|
13382
|
+
var _a = this, hasError = _a.hasError, isStopped = _a.isStopped, observers = _a.observers;
|
|
13383
|
+
if (hasError || isStopped) {
|
|
13384
|
+
return EMPTY_SUBSCRIPTION2;
|
|
13385
|
+
}
|
|
13386
|
+
this.currentObservers = null;
|
|
13387
|
+
observers.push(subscriber);
|
|
13388
|
+
return new Subscription2(function() {
|
|
13389
|
+
_this.currentObservers = null;
|
|
13390
|
+
arrRemove2(observers, subscriber);
|
|
13391
|
+
});
|
|
13392
|
+
};
|
|
13393
|
+
Subject3.prototype._checkFinalizedStatuses = function(subscriber) {
|
|
13394
|
+
var _a = this, hasError = _a.hasError, thrownError = _a.thrownError, isStopped = _a.isStopped;
|
|
13395
|
+
if (hasError) {
|
|
13396
|
+
subscriber.error(thrownError);
|
|
13397
|
+
} else if (isStopped) {
|
|
13398
|
+
subscriber.complete();
|
|
13399
|
+
}
|
|
13400
|
+
};
|
|
13401
|
+
Subject3.prototype.asObservable = function() {
|
|
13402
|
+
var observable3 = new Observable2();
|
|
13403
|
+
observable3.source = this;
|
|
13404
|
+
return observable3;
|
|
13405
|
+
};
|
|
13406
|
+
Subject3.create = function(destination, source) {
|
|
13407
|
+
return new AnonymousSubject2(destination, source);
|
|
13408
|
+
};
|
|
13409
|
+
return Subject3;
|
|
13410
|
+
}(Observable2);
|
|
13411
|
+
var AnonymousSubject2 = function(_super) {
|
|
13412
|
+
__extends(AnonymousSubject3, _super);
|
|
13413
|
+
function AnonymousSubject3(destination, source) {
|
|
13414
|
+
var _this = _super.call(this) || this;
|
|
13415
|
+
_this.destination = destination;
|
|
13416
|
+
_this.source = source;
|
|
13417
|
+
return _this;
|
|
13418
|
+
}
|
|
13419
|
+
AnonymousSubject3.prototype.next = function(value) {
|
|
13420
|
+
var _a, _b;
|
|
13421
|
+
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);
|
|
13422
|
+
};
|
|
13423
|
+
AnonymousSubject3.prototype.error = function(err) {
|
|
13424
|
+
var _a, _b;
|
|
13425
|
+
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);
|
|
13426
|
+
};
|
|
13427
|
+
AnonymousSubject3.prototype.complete = function() {
|
|
13428
|
+
var _a, _b;
|
|
13429
|
+
(_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
13430
|
+
};
|
|
13431
|
+
AnonymousSubject3.prototype._subscribe = function(subscriber) {
|
|
13432
|
+
var _a, _b;
|
|
13433
|
+
return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION2;
|
|
13434
|
+
};
|
|
13435
|
+
return AnonymousSubject3;
|
|
13436
|
+
}(Subject2);
|
|
13437
|
+
|
|
13438
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js
|
|
13439
|
+
var dateTimestampProvider2 = {
|
|
13440
|
+
now: function() {
|
|
13441
|
+
return (dateTimestampProvider2.delegate || Date).now();
|
|
13442
|
+
},
|
|
13443
|
+
delegate: void 0
|
|
13444
|
+
};
|
|
13445
|
+
|
|
13446
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/ReplaySubject.js
|
|
13447
|
+
var ReplaySubject2 = function(_super) {
|
|
13448
|
+
__extends(ReplaySubject3, _super);
|
|
13449
|
+
function ReplaySubject3(_bufferSize, _windowTime, _timestampProvider) {
|
|
13450
|
+
if (_bufferSize === void 0) {
|
|
13451
|
+
_bufferSize = Infinity;
|
|
13452
|
+
}
|
|
13453
|
+
if (_windowTime === void 0) {
|
|
13454
|
+
_windowTime = Infinity;
|
|
13455
|
+
}
|
|
13456
|
+
if (_timestampProvider === void 0) {
|
|
13457
|
+
_timestampProvider = dateTimestampProvider2;
|
|
13458
|
+
}
|
|
13459
|
+
var _this = _super.call(this) || this;
|
|
13460
|
+
_this._bufferSize = _bufferSize;
|
|
13461
|
+
_this._windowTime = _windowTime;
|
|
13462
|
+
_this._timestampProvider = _timestampProvider;
|
|
13463
|
+
_this._buffer = [];
|
|
13464
|
+
_this._infiniteTimeWindow = true;
|
|
13465
|
+
_this._infiniteTimeWindow = _windowTime === Infinity;
|
|
13466
|
+
_this._bufferSize = Math.max(1, _bufferSize);
|
|
13467
|
+
_this._windowTime = Math.max(1, _windowTime);
|
|
13468
|
+
return _this;
|
|
13469
|
+
}
|
|
13470
|
+
ReplaySubject3.prototype.next = function(value) {
|
|
13471
|
+
var _a = this, isStopped = _a.isStopped, _buffer = _a._buffer, _infiniteTimeWindow = _a._infiniteTimeWindow, _timestampProvider = _a._timestampProvider, _windowTime = _a._windowTime;
|
|
13472
|
+
if (!isStopped) {
|
|
13473
|
+
_buffer.push(value);
|
|
13474
|
+
!_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);
|
|
13475
|
+
}
|
|
13476
|
+
this._trimBuffer();
|
|
13477
|
+
_super.prototype.next.call(this, value);
|
|
13478
|
+
};
|
|
13479
|
+
ReplaySubject3.prototype._subscribe = function(subscriber) {
|
|
13480
|
+
this._throwIfClosed();
|
|
13481
|
+
this._trimBuffer();
|
|
13482
|
+
var subscription = this._innerSubscribe(subscriber);
|
|
13483
|
+
var _a = this, _infiniteTimeWindow = _a._infiniteTimeWindow, _buffer = _a._buffer;
|
|
13484
|
+
var copy = _buffer.slice();
|
|
13485
|
+
for (var i3 = 0; i3 < copy.length && !subscriber.closed; i3 += _infiniteTimeWindow ? 1 : 2) {
|
|
13486
|
+
subscriber.next(copy[i3]);
|
|
13487
|
+
}
|
|
13488
|
+
this._checkFinalizedStatuses(subscriber);
|
|
13489
|
+
return subscription;
|
|
13490
|
+
};
|
|
13491
|
+
ReplaySubject3.prototype._trimBuffer = function() {
|
|
13492
|
+
var _a = this, _bufferSize = _a._bufferSize, _timestampProvider = _a._timestampProvider, _buffer = _a._buffer, _infiniteTimeWindow = _a._infiniteTimeWindow;
|
|
13493
|
+
var adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;
|
|
13494
|
+
_bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);
|
|
13495
|
+
if (!_infiniteTimeWindow) {
|
|
13496
|
+
var now2 = _timestampProvider.now();
|
|
13497
|
+
var last3 = 0;
|
|
13498
|
+
for (var i3 = 1; i3 < _buffer.length && _buffer[i3] <= now2; i3 += 2) {
|
|
13499
|
+
last3 = i3;
|
|
13500
|
+
}
|
|
13501
|
+
last3 && _buffer.splice(0, last3 + 1);
|
|
13502
|
+
}
|
|
13503
|
+
};
|
|
13504
|
+
return ReplaySubject3;
|
|
13505
|
+
}(Subject2);
|
|
13506
|
+
|
|
13507
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js
|
|
13508
|
+
var Action2 = function(_super) {
|
|
13509
|
+
__extends(Action3, _super);
|
|
13510
|
+
function Action3(scheduler, work) {
|
|
13511
|
+
return _super.call(this) || this;
|
|
13512
|
+
}
|
|
13513
|
+
Action3.prototype.schedule = function(state, delay) {
|
|
13514
|
+
if (delay === void 0) {
|
|
13515
|
+
delay = 0;
|
|
13516
|
+
}
|
|
13517
|
+
return this;
|
|
13518
|
+
};
|
|
13519
|
+
return Action3;
|
|
13520
|
+
}(Subscription2);
|
|
13521
|
+
|
|
13522
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js
|
|
13523
|
+
var intervalProvider2 = {
|
|
13524
|
+
setInterval: function(handler, timeout) {
|
|
13525
|
+
var args = [];
|
|
13526
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
13527
|
+
args[_i - 2] = arguments[_i];
|
|
13528
|
+
}
|
|
13529
|
+
var delegate = intervalProvider2.delegate;
|
|
13530
|
+
if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {
|
|
13531
|
+
return delegate.setInterval.apply(delegate, __spreadArray([handler, timeout], __read(args)));
|
|
13532
|
+
}
|
|
13533
|
+
return setInterval.apply(void 0, __spreadArray([handler, timeout], __read(args)));
|
|
13534
|
+
},
|
|
13535
|
+
clearInterval: function(handle) {
|
|
13536
|
+
var delegate = intervalProvider2.delegate;
|
|
13537
|
+
return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);
|
|
13538
|
+
},
|
|
13539
|
+
delegate: void 0
|
|
13540
|
+
};
|
|
13541
|
+
|
|
13542
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js
|
|
13543
|
+
var AsyncAction2 = function(_super) {
|
|
13544
|
+
__extends(AsyncAction3, _super);
|
|
13545
|
+
function AsyncAction3(scheduler, work) {
|
|
13546
|
+
var _this = _super.call(this, scheduler, work) || this;
|
|
13547
|
+
_this.scheduler = scheduler;
|
|
13548
|
+
_this.work = work;
|
|
13549
|
+
_this.pending = false;
|
|
13550
|
+
return _this;
|
|
13551
|
+
}
|
|
13552
|
+
AsyncAction3.prototype.schedule = function(state, delay) {
|
|
13553
|
+
var _a;
|
|
13554
|
+
if (delay === void 0) {
|
|
13555
|
+
delay = 0;
|
|
13556
|
+
}
|
|
13557
|
+
if (this.closed) {
|
|
13558
|
+
return this;
|
|
13559
|
+
}
|
|
13560
|
+
this.state = state;
|
|
13561
|
+
var id = this.id;
|
|
13562
|
+
var scheduler = this.scheduler;
|
|
13563
|
+
if (id != null) {
|
|
13564
|
+
this.id = this.recycleAsyncId(scheduler, id, delay);
|
|
13565
|
+
}
|
|
13566
|
+
this.pending = true;
|
|
13567
|
+
this.delay = delay;
|
|
13568
|
+
this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);
|
|
13569
|
+
return this;
|
|
13570
|
+
};
|
|
13571
|
+
AsyncAction3.prototype.requestAsyncId = function(scheduler, _id, delay) {
|
|
13572
|
+
if (delay === void 0) {
|
|
13573
|
+
delay = 0;
|
|
13574
|
+
}
|
|
13575
|
+
return intervalProvider2.setInterval(scheduler.flush.bind(scheduler, this), delay);
|
|
13576
|
+
};
|
|
13577
|
+
AsyncAction3.prototype.recycleAsyncId = function(_scheduler, id, delay) {
|
|
13578
|
+
if (delay === void 0) {
|
|
13579
|
+
delay = 0;
|
|
13580
|
+
}
|
|
13581
|
+
if (delay != null && this.delay === delay && this.pending === false) {
|
|
13582
|
+
return id;
|
|
13583
|
+
}
|
|
13584
|
+
if (id != null) {
|
|
13585
|
+
intervalProvider2.clearInterval(id);
|
|
13586
|
+
}
|
|
13587
|
+
return void 0;
|
|
13588
|
+
};
|
|
13589
|
+
AsyncAction3.prototype.execute = function(state, delay) {
|
|
13590
|
+
if (this.closed) {
|
|
13591
|
+
return new Error("executing a cancelled action");
|
|
13592
|
+
}
|
|
13593
|
+
this.pending = false;
|
|
13594
|
+
var error = this._execute(state, delay);
|
|
13595
|
+
if (error) {
|
|
13596
|
+
return error;
|
|
13597
|
+
} else if (this.pending === false && this.id != null) {
|
|
13598
|
+
this.id = this.recycleAsyncId(this.scheduler, this.id, null);
|
|
13599
|
+
}
|
|
13600
|
+
};
|
|
13601
|
+
AsyncAction3.prototype._execute = function(state, _delay) {
|
|
13602
|
+
var errored = false;
|
|
13603
|
+
var errorValue;
|
|
13604
|
+
try {
|
|
13605
|
+
this.work(state);
|
|
13606
|
+
} catch (e4) {
|
|
13607
|
+
errored = true;
|
|
13608
|
+
errorValue = e4 ? e4 : new Error("Scheduled action threw falsy error");
|
|
13609
|
+
}
|
|
13610
|
+
if (errored) {
|
|
13611
|
+
this.unsubscribe();
|
|
13612
|
+
return errorValue;
|
|
13613
|
+
}
|
|
13614
|
+
};
|
|
13615
|
+
AsyncAction3.prototype.unsubscribe = function() {
|
|
13616
|
+
if (!this.closed) {
|
|
13617
|
+
var _a = this, id = _a.id, scheduler = _a.scheduler;
|
|
13618
|
+
var actions = scheduler.actions;
|
|
13619
|
+
this.work = this.state = this.scheduler = null;
|
|
13620
|
+
this.pending = false;
|
|
13621
|
+
arrRemove2(actions, this);
|
|
13622
|
+
if (id != null) {
|
|
13623
|
+
this.id = this.recycleAsyncId(scheduler, id, null);
|
|
13624
|
+
}
|
|
13625
|
+
this.delay = null;
|
|
13626
|
+
_super.prototype.unsubscribe.call(this);
|
|
13627
|
+
}
|
|
13628
|
+
};
|
|
13629
|
+
return AsyncAction3;
|
|
13630
|
+
}(Action2);
|
|
13631
|
+
|
|
13632
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/Scheduler.js
|
|
13633
|
+
var Scheduler2 = function() {
|
|
13634
|
+
function Scheduler3(schedulerActionCtor, now2) {
|
|
13635
|
+
if (now2 === void 0) {
|
|
13636
|
+
now2 = Scheduler3.now;
|
|
13637
|
+
}
|
|
13638
|
+
this.schedulerActionCtor = schedulerActionCtor;
|
|
13639
|
+
this.now = now2;
|
|
13640
|
+
}
|
|
13641
|
+
Scheduler3.prototype.schedule = function(work, delay, state) {
|
|
13642
|
+
if (delay === void 0) {
|
|
13643
|
+
delay = 0;
|
|
13644
|
+
}
|
|
13645
|
+
return new this.schedulerActionCtor(this, work).schedule(state, delay);
|
|
13646
|
+
};
|
|
13647
|
+
Scheduler3.now = dateTimestampProvider2.now;
|
|
13648
|
+
return Scheduler3;
|
|
13649
|
+
}();
|
|
13650
|
+
|
|
13651
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js
|
|
13652
|
+
var AsyncScheduler2 = function(_super) {
|
|
13653
|
+
__extends(AsyncScheduler3, _super);
|
|
13654
|
+
function AsyncScheduler3(SchedulerAction, now2) {
|
|
13655
|
+
if (now2 === void 0) {
|
|
13656
|
+
now2 = Scheduler2.now;
|
|
13657
|
+
}
|
|
13658
|
+
var _this = _super.call(this, SchedulerAction, now2) || this;
|
|
13659
|
+
_this.actions = [];
|
|
13660
|
+
_this._active = false;
|
|
13661
|
+
return _this;
|
|
13662
|
+
}
|
|
13663
|
+
AsyncScheduler3.prototype.flush = function(action) {
|
|
13664
|
+
var actions = this.actions;
|
|
13665
|
+
if (this._active) {
|
|
13666
|
+
actions.push(action);
|
|
13667
|
+
return;
|
|
13668
|
+
}
|
|
13669
|
+
var error;
|
|
13670
|
+
this._active = true;
|
|
13671
|
+
do {
|
|
13672
|
+
if (error = action.execute(action.state, action.delay)) {
|
|
13673
|
+
break;
|
|
13674
|
+
}
|
|
13675
|
+
} while (action = actions.shift());
|
|
13676
|
+
this._active = false;
|
|
13677
|
+
if (error) {
|
|
13678
|
+
while (action = actions.shift()) {
|
|
13679
|
+
action.unsubscribe();
|
|
13680
|
+
}
|
|
13681
|
+
throw error;
|
|
13682
|
+
}
|
|
13683
|
+
};
|
|
13684
|
+
return AsyncScheduler3;
|
|
13685
|
+
}(Scheduler2);
|
|
13686
|
+
|
|
13687
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduler/async.js
|
|
13688
|
+
var asyncScheduler2 = new AsyncScheduler2(AsyncAction2);
|
|
13689
|
+
var async = asyncScheduler2;
|
|
13690
|
+
|
|
13691
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isScheduler.js
|
|
13692
|
+
function isScheduler2(value) {
|
|
13693
|
+
return value && isFunction2(value.schedule);
|
|
13694
|
+
}
|
|
13695
|
+
|
|
13696
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/args.js
|
|
13697
|
+
function last2(arr) {
|
|
13698
|
+
return arr[arr.length - 1];
|
|
13699
|
+
}
|
|
13700
|
+
function popScheduler2(args) {
|
|
13701
|
+
return isScheduler2(last2(args)) ? args.pop() : void 0;
|
|
13702
|
+
}
|
|
13703
|
+
|
|
13704
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js
|
|
13705
|
+
var isArrayLike2 = function(x2) {
|
|
13706
|
+
return x2 && typeof x2.length === "number" && typeof x2 !== "function";
|
|
13707
|
+
};
|
|
13708
|
+
|
|
13709
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isPromise.js
|
|
13710
|
+
function isPromise3(value) {
|
|
13711
|
+
return isFunction2(value === null || value === void 0 ? void 0 : value.then);
|
|
13712
|
+
}
|
|
13713
|
+
|
|
13714
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js
|
|
13715
|
+
function isInteropObservable2(input) {
|
|
13716
|
+
return isFunction2(input[observable2]);
|
|
13717
|
+
}
|
|
13718
|
+
|
|
13719
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js
|
|
13720
|
+
function isAsyncIterable2(obj) {
|
|
13721
|
+
return Symbol.asyncIterator && isFunction2(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
|
|
13722
|
+
}
|
|
13723
|
+
|
|
13724
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js
|
|
13725
|
+
function createInvalidObservableTypeError2(input) {
|
|
13726
|
+
return new TypeError("You provided " + (input !== null && typeof input === "object" ? "an invalid object" : "'" + input + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
13727
|
+
}
|
|
13728
|
+
|
|
13729
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js
|
|
13730
|
+
function getSymbolIterator2() {
|
|
13731
|
+
if (typeof Symbol !== "function" || !Symbol.iterator) {
|
|
13732
|
+
return "@@iterator";
|
|
13733
|
+
}
|
|
13734
|
+
return Symbol.iterator;
|
|
13735
|
+
}
|
|
13736
|
+
var iterator2 = getSymbolIterator2();
|
|
13737
|
+
|
|
13738
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isIterable.js
|
|
13739
|
+
function isIterable2(input) {
|
|
13740
|
+
return isFunction2(input === null || input === void 0 ? void 0 : input[iterator2]);
|
|
13741
|
+
}
|
|
13742
|
+
|
|
13743
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
|
|
13744
|
+
function readableStreamLikeToAsyncGenerator2(readableStream) {
|
|
13745
|
+
return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
|
|
13746
|
+
var reader, _a, value, done;
|
|
13747
|
+
return __generator(this, function(_b) {
|
|
13748
|
+
switch (_b.label) {
|
|
13749
|
+
case 0:
|
|
13750
|
+
reader = readableStream.getReader();
|
|
13751
|
+
_b.label = 1;
|
|
13752
|
+
case 1:
|
|
13753
|
+
_b.trys.push([1, , 9, 10]);
|
|
13754
|
+
_b.label = 2;
|
|
13755
|
+
case 2:
|
|
13756
|
+
if (false)
|
|
13757
|
+
return [3, 8];
|
|
13758
|
+
return [4, __await(reader.read())];
|
|
13759
|
+
case 3:
|
|
13760
|
+
_a = _b.sent(), value = _a.value, done = _a.done;
|
|
13761
|
+
if (!done)
|
|
13762
|
+
return [3, 5];
|
|
13763
|
+
return [4, __await(void 0)];
|
|
13764
|
+
case 4:
|
|
13765
|
+
return [2, _b.sent()];
|
|
13766
|
+
case 5:
|
|
13767
|
+
return [4, __await(value)];
|
|
13768
|
+
case 6:
|
|
13769
|
+
return [4, _b.sent()];
|
|
13770
|
+
case 7:
|
|
13771
|
+
_b.sent();
|
|
13772
|
+
return [3, 2];
|
|
13773
|
+
case 8:
|
|
13774
|
+
return [3, 10];
|
|
13775
|
+
case 9:
|
|
13776
|
+
reader.releaseLock();
|
|
13777
|
+
return [7];
|
|
13778
|
+
case 10:
|
|
13779
|
+
return [2];
|
|
13780
|
+
}
|
|
13781
|
+
});
|
|
13782
|
+
});
|
|
13783
|
+
}
|
|
13784
|
+
function isReadableStreamLike2(obj) {
|
|
13785
|
+
return isFunction2(obj === null || obj === void 0 ? void 0 : obj.getReader);
|
|
13786
|
+
}
|
|
13787
|
+
|
|
13788
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js
|
|
13789
|
+
function innerFrom2(input) {
|
|
13790
|
+
if (input instanceof Observable2) {
|
|
13791
|
+
return input;
|
|
13792
|
+
}
|
|
13793
|
+
if (input != null) {
|
|
13794
|
+
if (isInteropObservable2(input)) {
|
|
13795
|
+
return fromInteropObservable2(input);
|
|
13796
|
+
}
|
|
13797
|
+
if (isArrayLike2(input)) {
|
|
13798
|
+
return fromArrayLike2(input);
|
|
13799
|
+
}
|
|
13800
|
+
if (isPromise3(input)) {
|
|
13801
|
+
return fromPromise2(input);
|
|
13802
|
+
}
|
|
13803
|
+
if (isAsyncIterable2(input)) {
|
|
13804
|
+
return fromAsyncIterable2(input);
|
|
13805
|
+
}
|
|
13806
|
+
if (isIterable2(input)) {
|
|
13807
|
+
return fromIterable2(input);
|
|
13808
|
+
}
|
|
13809
|
+
if (isReadableStreamLike2(input)) {
|
|
13810
|
+
return fromReadableStreamLike2(input);
|
|
13811
|
+
}
|
|
13812
|
+
}
|
|
13813
|
+
throw createInvalidObservableTypeError2(input);
|
|
13814
|
+
}
|
|
13815
|
+
function fromInteropObservable2(obj) {
|
|
13816
|
+
return new Observable2(function(subscriber) {
|
|
13817
|
+
var obs = obj[observable2]();
|
|
13818
|
+
if (isFunction2(obs.subscribe)) {
|
|
13819
|
+
return obs.subscribe(subscriber);
|
|
13820
|
+
}
|
|
13821
|
+
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
13822
|
+
});
|
|
13823
|
+
}
|
|
13824
|
+
function fromArrayLike2(array) {
|
|
13825
|
+
return new Observable2(function(subscriber) {
|
|
13826
|
+
for (var i3 = 0; i3 < array.length && !subscriber.closed; i3++) {
|
|
13827
|
+
subscriber.next(array[i3]);
|
|
13828
|
+
}
|
|
13829
|
+
subscriber.complete();
|
|
13830
|
+
});
|
|
13831
|
+
}
|
|
13832
|
+
function fromPromise2(promise) {
|
|
13833
|
+
return new Observable2(function(subscriber) {
|
|
13834
|
+
promise.then(function(value) {
|
|
13835
|
+
if (!subscriber.closed) {
|
|
13836
|
+
subscriber.next(value);
|
|
13837
|
+
subscriber.complete();
|
|
13838
|
+
}
|
|
13839
|
+
}, function(err) {
|
|
13840
|
+
return subscriber.error(err);
|
|
13841
|
+
}).then(null, reportUnhandledError2);
|
|
13842
|
+
});
|
|
13843
|
+
}
|
|
13844
|
+
function fromIterable2(iterable) {
|
|
13845
|
+
return new Observable2(function(subscriber) {
|
|
13846
|
+
var e_1, _a;
|
|
13847
|
+
try {
|
|
13848
|
+
for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {
|
|
13849
|
+
var value = iterable_1_1.value;
|
|
13850
|
+
subscriber.next(value);
|
|
13851
|
+
if (subscriber.closed) {
|
|
13852
|
+
return;
|
|
13853
|
+
}
|
|
13854
|
+
}
|
|
13855
|
+
} catch (e_1_1) {
|
|
13856
|
+
e_1 = { error: e_1_1 };
|
|
13857
|
+
} finally {
|
|
13858
|
+
try {
|
|
13859
|
+
if (iterable_1_1 && !iterable_1_1.done && (_a = iterable_1.return))
|
|
13860
|
+
_a.call(iterable_1);
|
|
13861
|
+
} finally {
|
|
13862
|
+
if (e_1)
|
|
13863
|
+
throw e_1.error;
|
|
13864
|
+
}
|
|
13865
|
+
}
|
|
13866
|
+
subscriber.complete();
|
|
13867
|
+
});
|
|
13868
|
+
}
|
|
13869
|
+
function fromAsyncIterable2(asyncIterable) {
|
|
13870
|
+
return new Observable2(function(subscriber) {
|
|
13871
|
+
process3(asyncIterable, subscriber).catch(function(err) {
|
|
13872
|
+
return subscriber.error(err);
|
|
13873
|
+
});
|
|
13874
|
+
});
|
|
13875
|
+
}
|
|
13876
|
+
function fromReadableStreamLike2(readableStream) {
|
|
13877
|
+
return fromAsyncIterable2(readableStreamLikeToAsyncGenerator2(readableStream));
|
|
13878
|
+
}
|
|
13879
|
+
function process3(asyncIterable, subscriber) {
|
|
13880
|
+
var asyncIterable_1, asyncIterable_1_1;
|
|
13881
|
+
var e_2, _a;
|
|
13882
|
+
return __awaiter(this, void 0, void 0, function() {
|
|
13883
|
+
var value, e_2_1;
|
|
13884
|
+
return __generator(this, function(_b) {
|
|
13885
|
+
switch (_b.label) {
|
|
13886
|
+
case 0:
|
|
13887
|
+
_b.trys.push([0, 5, 6, 11]);
|
|
13888
|
+
asyncIterable_1 = __asyncValues(asyncIterable);
|
|
13889
|
+
_b.label = 1;
|
|
13890
|
+
case 1:
|
|
13891
|
+
return [4, asyncIterable_1.next()];
|
|
13892
|
+
case 2:
|
|
13893
|
+
if (!(asyncIterable_1_1 = _b.sent(), !asyncIterable_1_1.done))
|
|
13894
|
+
return [3, 4];
|
|
13895
|
+
value = asyncIterable_1_1.value;
|
|
13896
|
+
subscriber.next(value);
|
|
13897
|
+
if (subscriber.closed) {
|
|
13898
|
+
return [2];
|
|
13899
|
+
}
|
|
13900
|
+
_b.label = 3;
|
|
13901
|
+
case 3:
|
|
13902
|
+
return [3, 1];
|
|
13903
|
+
case 4:
|
|
13904
|
+
return [3, 11];
|
|
13905
|
+
case 5:
|
|
13906
|
+
e_2_1 = _b.sent();
|
|
13907
|
+
e_2 = { error: e_2_1 };
|
|
13908
|
+
return [3, 11];
|
|
13909
|
+
case 6:
|
|
13910
|
+
_b.trys.push([6, , 9, 10]);
|
|
13911
|
+
if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)))
|
|
13912
|
+
return [3, 8];
|
|
13913
|
+
return [4, _a.call(asyncIterable_1)];
|
|
13914
|
+
case 7:
|
|
13915
|
+
_b.sent();
|
|
13916
|
+
_b.label = 8;
|
|
13917
|
+
case 8:
|
|
13918
|
+
return [3, 10];
|
|
13919
|
+
case 9:
|
|
13920
|
+
if (e_2)
|
|
13921
|
+
throw e_2.error;
|
|
13922
|
+
return [7];
|
|
13923
|
+
case 10:
|
|
13924
|
+
return [7];
|
|
13925
|
+
case 11:
|
|
13926
|
+
subscriber.complete();
|
|
13927
|
+
return [2];
|
|
13928
|
+
}
|
|
13929
|
+
});
|
|
13930
|
+
});
|
|
13931
|
+
}
|
|
13932
|
+
|
|
13933
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js
|
|
13934
|
+
function executeSchedule2(parentSubscription, scheduler, work, delay, repeat) {
|
|
13935
|
+
if (delay === void 0) {
|
|
13936
|
+
delay = 0;
|
|
13937
|
+
}
|
|
13938
|
+
if (repeat === void 0) {
|
|
13939
|
+
repeat = false;
|
|
13940
|
+
}
|
|
13941
|
+
var scheduleSubscription = scheduler.schedule(function() {
|
|
13942
|
+
work();
|
|
13943
|
+
if (repeat) {
|
|
13944
|
+
parentSubscription.add(this.schedule(null, delay));
|
|
13945
|
+
} else {
|
|
13946
|
+
this.unsubscribe();
|
|
13947
|
+
}
|
|
13948
|
+
}, delay);
|
|
13949
|
+
parentSubscription.add(scheduleSubscription);
|
|
13950
|
+
if (!repeat) {
|
|
13951
|
+
return scheduleSubscription;
|
|
13952
|
+
}
|
|
13953
|
+
}
|
|
13954
|
+
|
|
13955
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js
|
|
13956
|
+
function observeOn2(scheduler, delay) {
|
|
13957
|
+
if (delay === void 0) {
|
|
13958
|
+
delay = 0;
|
|
13959
|
+
}
|
|
13960
|
+
return operate2(function(source, subscriber) {
|
|
13961
|
+
source.subscribe(createOperatorSubscriber2(subscriber, function(value) {
|
|
13962
|
+
return executeSchedule2(subscriber, scheduler, function() {
|
|
13963
|
+
return subscriber.next(value);
|
|
13964
|
+
}, delay);
|
|
13965
|
+
}, function() {
|
|
13966
|
+
return executeSchedule2(subscriber, scheduler, function() {
|
|
13967
|
+
return subscriber.complete();
|
|
13968
|
+
}, delay);
|
|
13969
|
+
}, function(err) {
|
|
13970
|
+
return executeSchedule2(subscriber, scheduler, function() {
|
|
13971
|
+
return subscriber.error(err);
|
|
13972
|
+
}, delay);
|
|
13973
|
+
}));
|
|
13974
|
+
});
|
|
13975
|
+
}
|
|
13976
|
+
|
|
13977
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/subscribeOn.js
|
|
13978
|
+
function subscribeOn2(scheduler, delay) {
|
|
13979
|
+
if (delay === void 0) {
|
|
13980
|
+
delay = 0;
|
|
13981
|
+
}
|
|
13982
|
+
return operate2(function(source, subscriber) {
|
|
13983
|
+
subscriber.add(scheduler.schedule(function() {
|
|
13984
|
+
return source.subscribe(subscriber);
|
|
13985
|
+
}, delay));
|
|
13986
|
+
});
|
|
13987
|
+
}
|
|
13988
|
+
|
|
13989
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleObservable.js
|
|
13990
|
+
function scheduleObservable2(input, scheduler) {
|
|
13991
|
+
return innerFrom2(input).pipe(subscribeOn2(scheduler), observeOn2(scheduler));
|
|
13992
|
+
}
|
|
13993
|
+
|
|
13994
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/schedulePromise.js
|
|
13995
|
+
function schedulePromise2(input, scheduler) {
|
|
13996
|
+
return innerFrom2(input).pipe(subscribeOn2(scheduler), observeOn2(scheduler));
|
|
13997
|
+
}
|
|
13998
|
+
|
|
13999
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleArray.js
|
|
14000
|
+
function scheduleArray2(input, scheduler) {
|
|
14001
|
+
return new Observable2(function(subscriber) {
|
|
14002
|
+
var i3 = 0;
|
|
14003
|
+
return scheduler.schedule(function() {
|
|
14004
|
+
if (i3 === input.length) {
|
|
14005
|
+
subscriber.complete();
|
|
14006
|
+
} else {
|
|
14007
|
+
subscriber.next(input[i3++]);
|
|
14008
|
+
if (!subscriber.closed) {
|
|
14009
|
+
this.schedule();
|
|
14010
|
+
}
|
|
14011
|
+
}
|
|
14012
|
+
});
|
|
14013
|
+
});
|
|
14014
|
+
}
|
|
14015
|
+
|
|
14016
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleIterable.js
|
|
14017
|
+
function scheduleIterable2(input, scheduler) {
|
|
14018
|
+
return new Observable2(function(subscriber) {
|
|
14019
|
+
var iterator3;
|
|
14020
|
+
executeSchedule2(subscriber, scheduler, function() {
|
|
14021
|
+
iterator3 = input[iterator2]();
|
|
14022
|
+
executeSchedule2(subscriber, scheduler, function() {
|
|
14023
|
+
var _a;
|
|
14024
|
+
var value;
|
|
14025
|
+
var done;
|
|
14026
|
+
try {
|
|
14027
|
+
_a = iterator3.next(), value = _a.value, done = _a.done;
|
|
14028
|
+
} catch (err) {
|
|
14029
|
+
subscriber.error(err);
|
|
14030
|
+
return;
|
|
14031
|
+
}
|
|
14032
|
+
if (done) {
|
|
14033
|
+
subscriber.complete();
|
|
14034
|
+
} else {
|
|
14035
|
+
subscriber.next(value);
|
|
14036
|
+
}
|
|
14037
|
+
}, 0, true);
|
|
14038
|
+
});
|
|
14039
|
+
return function() {
|
|
14040
|
+
return isFunction2(iterator3 === null || iterator3 === void 0 ? void 0 : iterator3.return) && iterator3.return();
|
|
14041
|
+
};
|
|
14042
|
+
});
|
|
14043
|
+
}
|
|
14044
|
+
|
|
14045
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleAsyncIterable.js
|
|
14046
|
+
function scheduleAsyncIterable2(input, scheduler) {
|
|
14047
|
+
if (!input) {
|
|
14048
|
+
throw new Error("Iterable cannot be null");
|
|
14049
|
+
}
|
|
14050
|
+
return new Observable2(function(subscriber) {
|
|
14051
|
+
executeSchedule2(subscriber, scheduler, function() {
|
|
14052
|
+
var iterator3 = input[Symbol.asyncIterator]();
|
|
14053
|
+
executeSchedule2(subscriber, scheduler, function() {
|
|
14054
|
+
iterator3.next().then(function(result) {
|
|
14055
|
+
if (result.done) {
|
|
14056
|
+
subscriber.complete();
|
|
14057
|
+
} else {
|
|
14058
|
+
subscriber.next(result.value);
|
|
14059
|
+
}
|
|
14060
|
+
});
|
|
14061
|
+
}, 0, true);
|
|
14062
|
+
});
|
|
14063
|
+
});
|
|
14064
|
+
}
|
|
14065
|
+
|
|
14066
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduleReadableStreamLike.js
|
|
14067
|
+
function scheduleReadableStreamLike2(input, scheduler) {
|
|
14068
|
+
return scheduleAsyncIterable2(readableStreamLikeToAsyncGenerator2(input), scheduler);
|
|
14069
|
+
}
|
|
14070
|
+
|
|
14071
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/scheduled/scheduled.js
|
|
14072
|
+
function scheduled2(input, scheduler) {
|
|
14073
|
+
if (input != null) {
|
|
14074
|
+
if (isInteropObservable2(input)) {
|
|
14075
|
+
return scheduleObservable2(input, scheduler);
|
|
14076
|
+
}
|
|
14077
|
+
if (isArrayLike2(input)) {
|
|
14078
|
+
return scheduleArray2(input, scheduler);
|
|
14079
|
+
}
|
|
14080
|
+
if (isPromise3(input)) {
|
|
14081
|
+
return schedulePromise2(input, scheduler);
|
|
14082
|
+
}
|
|
14083
|
+
if (isAsyncIterable2(input)) {
|
|
14084
|
+
return scheduleAsyncIterable2(input, scheduler);
|
|
14085
|
+
}
|
|
14086
|
+
if (isIterable2(input)) {
|
|
14087
|
+
return scheduleIterable2(input, scheduler);
|
|
14088
|
+
}
|
|
14089
|
+
if (isReadableStreamLike2(input)) {
|
|
14090
|
+
return scheduleReadableStreamLike2(input, scheduler);
|
|
14091
|
+
}
|
|
14092
|
+
}
|
|
14093
|
+
throw createInvalidObservableTypeError2(input);
|
|
14094
|
+
}
|
|
14095
|
+
|
|
14096
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/from.js
|
|
14097
|
+
function from2(input, scheduler) {
|
|
14098
|
+
return scheduler ? scheduled2(input, scheduler) : innerFrom2(input);
|
|
14099
|
+
}
|
|
14100
|
+
|
|
14101
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/isDate.js
|
|
14102
|
+
function isValidDate(value) {
|
|
14103
|
+
return value instanceof Date && !isNaN(value);
|
|
14104
|
+
}
|
|
14105
|
+
|
|
14106
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/map.js
|
|
14107
|
+
function map4(project, thisArg) {
|
|
14108
|
+
return operate2(function(source, subscriber) {
|
|
14109
|
+
var index = 0;
|
|
14110
|
+
source.subscribe(createOperatorSubscriber2(subscriber, function(value) {
|
|
14111
|
+
subscriber.next(project.call(thisArg, value, index++));
|
|
14112
|
+
}));
|
|
14113
|
+
});
|
|
14114
|
+
}
|
|
14115
|
+
|
|
14116
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/util/mapOneOrManyArgs.js
|
|
14117
|
+
var isArray2 = Array.isArray;
|
|
14118
|
+
function callOrApply2(fn, args) {
|
|
14119
|
+
return isArray2(args) ? fn.apply(void 0, __spreadArray([], __read(args))) : fn(args);
|
|
14120
|
+
}
|
|
14121
|
+
function mapOneOrManyArgs2(fn) {
|
|
14122
|
+
return map4(function(args) {
|
|
14123
|
+
return callOrApply2(fn, args);
|
|
14124
|
+
});
|
|
14125
|
+
}
|
|
14126
|
+
|
|
14127
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeInternals.js
|
|
14128
|
+
function mergeInternals2(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {
|
|
14129
|
+
var buffer = [];
|
|
14130
|
+
var active = 0;
|
|
14131
|
+
var index = 0;
|
|
14132
|
+
var isComplete = false;
|
|
14133
|
+
var checkComplete = function() {
|
|
14134
|
+
if (isComplete && !buffer.length && !active) {
|
|
14135
|
+
subscriber.complete();
|
|
14136
|
+
}
|
|
14137
|
+
};
|
|
14138
|
+
var outerNext = function(value) {
|
|
14139
|
+
return active < concurrent ? doInnerSub(value) : buffer.push(value);
|
|
14140
|
+
};
|
|
14141
|
+
var doInnerSub = function(value) {
|
|
14142
|
+
expand && subscriber.next(value);
|
|
14143
|
+
active++;
|
|
14144
|
+
var innerComplete = false;
|
|
14145
|
+
innerFrom2(project(value, index++)).subscribe(createOperatorSubscriber2(subscriber, function(innerValue) {
|
|
14146
|
+
onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);
|
|
14147
|
+
if (expand) {
|
|
14148
|
+
outerNext(innerValue);
|
|
14149
|
+
} else {
|
|
14150
|
+
subscriber.next(innerValue);
|
|
14151
|
+
}
|
|
14152
|
+
}, function() {
|
|
14153
|
+
innerComplete = true;
|
|
14154
|
+
}, void 0, function() {
|
|
14155
|
+
if (innerComplete) {
|
|
14156
|
+
try {
|
|
14157
|
+
active--;
|
|
14158
|
+
var _loop_1 = function() {
|
|
14159
|
+
var bufferedValue = buffer.shift();
|
|
14160
|
+
if (innerSubScheduler) {
|
|
14161
|
+
executeSchedule2(subscriber, innerSubScheduler, function() {
|
|
14162
|
+
return doInnerSub(bufferedValue);
|
|
14163
|
+
});
|
|
14164
|
+
} else {
|
|
14165
|
+
doInnerSub(bufferedValue);
|
|
14166
|
+
}
|
|
14167
|
+
};
|
|
14168
|
+
while (buffer.length && active < concurrent) {
|
|
14169
|
+
_loop_1();
|
|
14170
|
+
}
|
|
14171
|
+
checkComplete();
|
|
14172
|
+
} catch (err) {
|
|
14173
|
+
subscriber.error(err);
|
|
14174
|
+
}
|
|
14175
|
+
}
|
|
14176
|
+
}));
|
|
14177
|
+
};
|
|
14178
|
+
source.subscribe(createOperatorSubscriber2(subscriber, outerNext, function() {
|
|
14179
|
+
isComplete = true;
|
|
14180
|
+
checkComplete();
|
|
14181
|
+
}));
|
|
14182
|
+
return function() {
|
|
14183
|
+
additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();
|
|
14184
|
+
};
|
|
14185
|
+
}
|
|
14186
|
+
|
|
14187
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js
|
|
14188
|
+
function mergeMap2(project, resultSelector, concurrent) {
|
|
14189
|
+
if (concurrent === void 0) {
|
|
14190
|
+
concurrent = Infinity;
|
|
14191
|
+
}
|
|
14192
|
+
if (isFunction2(resultSelector)) {
|
|
14193
|
+
return mergeMap2(function(a3, i3) {
|
|
14194
|
+
return map4(function(b2, ii) {
|
|
14195
|
+
return resultSelector(a3, b2, i3, ii);
|
|
14196
|
+
})(innerFrom2(project(a3, i3)));
|
|
14197
|
+
}, concurrent);
|
|
14198
|
+
} else if (typeof resultSelector === "number") {
|
|
14199
|
+
concurrent = resultSelector;
|
|
14200
|
+
}
|
|
14201
|
+
return operate2(function(source, subscriber) {
|
|
14202
|
+
return mergeInternals2(source, subscriber, project, concurrent);
|
|
14203
|
+
});
|
|
14204
|
+
}
|
|
14205
|
+
|
|
14206
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js
|
|
14207
|
+
function mergeAll2(concurrent) {
|
|
14208
|
+
if (concurrent === void 0) {
|
|
14209
|
+
concurrent = Infinity;
|
|
14210
|
+
}
|
|
14211
|
+
return mergeMap2(identity2, concurrent);
|
|
14212
|
+
}
|
|
14213
|
+
|
|
14214
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/concatAll.js
|
|
14215
|
+
function concatAll2() {
|
|
14216
|
+
return mergeAll2(1);
|
|
14217
|
+
}
|
|
14218
|
+
|
|
14219
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/concat.js
|
|
14220
|
+
function concat2() {
|
|
14221
|
+
var args = [];
|
|
14222
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
14223
|
+
args[_i] = arguments[_i];
|
|
14224
|
+
}
|
|
14225
|
+
return concatAll2()(from2(args, popScheduler2(args)));
|
|
14226
|
+
}
|
|
14227
|
+
|
|
14228
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/fromEvent.js
|
|
14229
|
+
var nodeEventEmitterMethods2 = ["addListener", "removeListener"];
|
|
14230
|
+
var eventTargetMethods2 = ["addEventListener", "removeEventListener"];
|
|
14231
|
+
var jqueryMethods2 = ["on", "off"];
|
|
14232
|
+
function fromEvent2(target, eventName, options, resultSelector) {
|
|
14233
|
+
if (isFunction2(options)) {
|
|
14234
|
+
resultSelector = options;
|
|
14235
|
+
options = void 0;
|
|
14236
|
+
}
|
|
14237
|
+
if (resultSelector) {
|
|
14238
|
+
return fromEvent2(target, eventName, options).pipe(mapOneOrManyArgs2(resultSelector));
|
|
14239
|
+
}
|
|
14240
|
+
var _a = __read(isEventTarget2(target) ? eventTargetMethods2.map(function(methodName) {
|
|
14241
|
+
return function(handler) {
|
|
14242
|
+
return target[methodName](eventName, handler, options);
|
|
14243
|
+
};
|
|
14244
|
+
}) : isNodeStyleEventEmitter2(target) ? nodeEventEmitterMethods2.map(toCommonHandlerRegistry2(target, eventName)) : isJQueryStyleEventEmitter2(target) ? jqueryMethods2.map(toCommonHandlerRegistry2(target, eventName)) : [], 2), add = _a[0], remove = _a[1];
|
|
14245
|
+
if (!add) {
|
|
14246
|
+
if (isArrayLike2(target)) {
|
|
14247
|
+
return mergeMap2(function(subTarget) {
|
|
14248
|
+
return fromEvent2(subTarget, eventName, options);
|
|
14249
|
+
})(innerFrom2(target));
|
|
14250
|
+
}
|
|
14251
|
+
}
|
|
14252
|
+
if (!add) {
|
|
14253
|
+
throw new TypeError("Invalid event target");
|
|
14254
|
+
}
|
|
14255
|
+
return new Observable2(function(subscriber) {
|
|
14256
|
+
var handler = function() {
|
|
14257
|
+
var args = [];
|
|
14258
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
14259
|
+
args[_i] = arguments[_i];
|
|
14260
|
+
}
|
|
14261
|
+
return subscriber.next(1 < args.length ? args : args[0]);
|
|
14262
|
+
};
|
|
14263
|
+
add(handler);
|
|
14264
|
+
return function() {
|
|
14265
|
+
return remove(handler);
|
|
14266
|
+
};
|
|
14267
|
+
});
|
|
14268
|
+
}
|
|
14269
|
+
function toCommonHandlerRegistry2(target, eventName) {
|
|
14270
|
+
return function(methodName) {
|
|
14271
|
+
return function(handler) {
|
|
14272
|
+
return target[methodName](eventName, handler);
|
|
14273
|
+
};
|
|
14274
|
+
};
|
|
14275
|
+
}
|
|
14276
|
+
function isNodeStyleEventEmitter2(target) {
|
|
14277
|
+
return isFunction2(target.addListener) && isFunction2(target.removeListener);
|
|
14278
|
+
}
|
|
14279
|
+
function isJQueryStyleEventEmitter2(target) {
|
|
14280
|
+
return isFunction2(target.on) && isFunction2(target.off);
|
|
14281
|
+
}
|
|
14282
|
+
function isEventTarget2(target) {
|
|
14283
|
+
return isFunction2(target.addEventListener) && isFunction2(target.removeEventListener);
|
|
14284
|
+
}
|
|
14285
|
+
|
|
14286
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/observable/timer.js
|
|
14287
|
+
function timer(dueTime, intervalOrScheduler, scheduler) {
|
|
14288
|
+
if (dueTime === void 0) {
|
|
14289
|
+
dueTime = 0;
|
|
14290
|
+
}
|
|
14291
|
+
if (scheduler === void 0) {
|
|
14292
|
+
scheduler = async;
|
|
14293
|
+
}
|
|
14294
|
+
var intervalDuration = -1;
|
|
14295
|
+
if (intervalOrScheduler != null) {
|
|
14296
|
+
if (isScheduler2(intervalOrScheduler)) {
|
|
14297
|
+
scheduler = intervalOrScheduler;
|
|
14298
|
+
} else {
|
|
14299
|
+
intervalDuration = intervalOrScheduler;
|
|
14300
|
+
}
|
|
14301
|
+
}
|
|
14302
|
+
return new Observable2(function(subscriber) {
|
|
14303
|
+
var due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;
|
|
14304
|
+
if (due < 0) {
|
|
14305
|
+
due = 0;
|
|
14306
|
+
}
|
|
14307
|
+
var n5 = 0;
|
|
14308
|
+
return scheduler.schedule(function() {
|
|
14309
|
+
if (!subscriber.closed) {
|
|
14310
|
+
subscriber.next(n5++);
|
|
14311
|
+
if (0 <= intervalDuration) {
|
|
14312
|
+
this.schedule(void 0, intervalDuration);
|
|
14313
|
+
} else {
|
|
14314
|
+
subscriber.complete();
|
|
14315
|
+
}
|
|
14316
|
+
}
|
|
14317
|
+
}, due);
|
|
14318
|
+
});
|
|
14319
|
+
}
|
|
14320
|
+
|
|
14321
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounce.js
|
|
14322
|
+
function debounce2(durationSelector) {
|
|
14323
|
+
return operate2(function(source, subscriber) {
|
|
14324
|
+
var hasValue = false;
|
|
14325
|
+
var lastValue = null;
|
|
14326
|
+
var durationSubscriber = null;
|
|
14327
|
+
var emit = function() {
|
|
14328
|
+
durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();
|
|
14329
|
+
durationSubscriber = null;
|
|
14330
|
+
if (hasValue) {
|
|
14331
|
+
hasValue = false;
|
|
14332
|
+
var value = lastValue;
|
|
14333
|
+
lastValue = null;
|
|
14334
|
+
subscriber.next(value);
|
|
14335
|
+
}
|
|
14336
|
+
};
|
|
14337
|
+
source.subscribe(createOperatorSubscriber2(subscriber, function(value) {
|
|
14338
|
+
durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();
|
|
14339
|
+
hasValue = true;
|
|
14340
|
+
lastValue = value;
|
|
14341
|
+
durationSubscriber = createOperatorSubscriber2(subscriber, emit, noop2);
|
|
14342
|
+
innerFrom2(durationSelector(value)).subscribe(durationSubscriber);
|
|
14343
|
+
}, function() {
|
|
14344
|
+
emit();
|
|
14345
|
+
subscriber.complete();
|
|
14346
|
+
}, void 0, function() {
|
|
14347
|
+
lastValue = durationSubscriber = null;
|
|
14348
|
+
}));
|
|
14349
|
+
});
|
|
14350
|
+
}
|
|
14351
|
+
|
|
14352
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/debounceTime.js
|
|
14353
|
+
function debounceTime2(dueTime, scheduler) {
|
|
14354
|
+
if (scheduler === void 0) {
|
|
14355
|
+
scheduler = asyncScheduler2;
|
|
14356
|
+
}
|
|
14357
|
+
return operate2(function(source, subscriber) {
|
|
14358
|
+
var activeTask = null;
|
|
14359
|
+
var lastValue = null;
|
|
14360
|
+
var lastTime = null;
|
|
14361
|
+
var emit = function() {
|
|
14362
|
+
if (activeTask) {
|
|
14363
|
+
activeTask.unsubscribe();
|
|
14364
|
+
activeTask = null;
|
|
14365
|
+
var value = lastValue;
|
|
14366
|
+
lastValue = null;
|
|
14367
|
+
subscriber.next(value);
|
|
14368
|
+
}
|
|
14369
|
+
};
|
|
14370
|
+
function emitWhenIdle() {
|
|
14371
|
+
var targetTime = lastTime + dueTime;
|
|
14372
|
+
var now2 = scheduler.now();
|
|
14373
|
+
if (now2 < targetTime) {
|
|
14374
|
+
activeTask = this.schedule(void 0, targetTime - now2);
|
|
14375
|
+
subscriber.add(activeTask);
|
|
14376
|
+
return;
|
|
14377
|
+
}
|
|
14378
|
+
emit();
|
|
14379
|
+
}
|
|
14380
|
+
source.subscribe(createOperatorSubscriber2(subscriber, function(value) {
|
|
14381
|
+
lastValue = value;
|
|
14382
|
+
lastTime = scheduler.now();
|
|
14383
|
+
if (!activeTask) {
|
|
14384
|
+
activeTask = scheduler.schedule(emitWhenIdle, dueTime);
|
|
14385
|
+
subscriber.add(activeTask);
|
|
14386
|
+
}
|
|
14387
|
+
}, function() {
|
|
14388
|
+
emit();
|
|
14389
|
+
subscriber.complete();
|
|
14390
|
+
}, void 0, function() {
|
|
14391
|
+
lastValue = activeTask = null;
|
|
14392
|
+
}));
|
|
14393
|
+
});
|
|
14394
|
+
}
|
|
14395
|
+
|
|
14396
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/startWith.js
|
|
14397
|
+
function startWith2() {
|
|
14398
|
+
var values = [];
|
|
14399
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
14400
|
+
values[_i] = arguments[_i];
|
|
14401
|
+
}
|
|
14402
|
+
var scheduler = popScheduler2(values);
|
|
14403
|
+
return operate2(function(source, subscriber) {
|
|
14404
|
+
(scheduler ? concat2(values, source, scheduler) : concat2(values, source)).subscribe(subscriber);
|
|
14405
|
+
});
|
|
14406
|
+
}
|
|
14407
|
+
|
|
14408
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js
|
|
14409
|
+
function takeUntil2(notifier) {
|
|
14410
|
+
return operate2(function(source, subscriber) {
|
|
14411
|
+
innerFrom2(notifier).subscribe(createOperatorSubscriber2(subscriber, function() {
|
|
14412
|
+
return subscriber.complete();
|
|
14413
|
+
}, noop2));
|
|
14414
|
+
!subscriber.closed && source.subscribe(subscriber);
|
|
14415
|
+
});
|
|
14416
|
+
}
|
|
14417
|
+
|
|
14418
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
|
|
14419
|
+
function throttle(durationSelector, config3) {
|
|
14420
|
+
return operate2(function(source, subscriber) {
|
|
14421
|
+
var _a = config3 !== null && config3 !== void 0 ? config3 : {}, _b = _a.leading, leading = _b === void 0 ? true : _b, _c = _a.trailing, trailing = _c === void 0 ? false : _c;
|
|
14422
|
+
var hasValue = false;
|
|
14423
|
+
var sendValue = null;
|
|
14424
|
+
var throttled = null;
|
|
14425
|
+
var isComplete = false;
|
|
14426
|
+
var endThrottling = function() {
|
|
14427
|
+
throttled === null || throttled === void 0 ? void 0 : throttled.unsubscribe();
|
|
14428
|
+
throttled = null;
|
|
14429
|
+
if (trailing) {
|
|
14430
|
+
send();
|
|
14431
|
+
isComplete && subscriber.complete();
|
|
14432
|
+
}
|
|
14433
|
+
};
|
|
14434
|
+
var cleanupThrottling = function() {
|
|
14435
|
+
throttled = null;
|
|
14436
|
+
isComplete && subscriber.complete();
|
|
14437
|
+
};
|
|
14438
|
+
var startThrottle = function(value) {
|
|
14439
|
+
return throttled = innerFrom2(durationSelector(value)).subscribe(createOperatorSubscriber2(subscriber, endThrottling, cleanupThrottling));
|
|
14440
|
+
};
|
|
14441
|
+
var send = function() {
|
|
14442
|
+
if (hasValue) {
|
|
14443
|
+
hasValue = false;
|
|
14444
|
+
var value = sendValue;
|
|
14445
|
+
sendValue = null;
|
|
14446
|
+
subscriber.next(value);
|
|
14447
|
+
!isComplete && startThrottle(value);
|
|
14448
|
+
}
|
|
14449
|
+
};
|
|
14450
|
+
source.subscribe(createOperatorSubscriber2(subscriber, function(value) {
|
|
14451
|
+
hasValue = true;
|
|
14452
|
+
sendValue = value;
|
|
14453
|
+
!(throttled && !throttled.closed) && (leading ? send() : startThrottle(value));
|
|
14454
|
+
}, function() {
|
|
14455
|
+
isComplete = true;
|
|
14456
|
+
!(trailing && hasValue && throttled && !throttled.closed) && subscriber.complete();
|
|
14457
|
+
}));
|
|
14458
|
+
});
|
|
14459
|
+
}
|
|
14460
|
+
|
|
14461
|
+
// node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/esm5/internal/operators/throttleTime.js
|
|
14462
|
+
function throttleTime(duration, scheduler, config3) {
|
|
14463
|
+
if (scheduler === void 0) {
|
|
14464
|
+
scheduler = asyncScheduler2;
|
|
14465
|
+
}
|
|
14466
|
+
var duration$ = timer(duration, scheduler);
|
|
14467
|
+
return throttle(function() {
|
|
14468
|
+
return duration$;
|
|
14469
|
+
}, config3);
|
|
14470
|
+
}
|
|
14471
|
+
|
|
14472
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.2/node_modules/@push.rocks/smartrx/dist_ts/smartrx.plugins.rxjs.js
|
|
14473
|
+
var ops2 = {
|
|
14474
|
+
debounce: debounce2,
|
|
14475
|
+
debounceTime: debounceTime2,
|
|
14476
|
+
map: map4,
|
|
14477
|
+
startWith: startWith2,
|
|
14478
|
+
takeUntil: takeUntil2,
|
|
14479
|
+
throttleTime
|
|
14480
|
+
};
|
|
14481
|
+
|
|
14482
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.2/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observablemap.js
|
|
14483
|
+
var Observablemap2 = class {
|
|
14484
|
+
constructor() {
|
|
14485
|
+
this.observableEventEmitterBundleArray = new Array();
|
|
14486
|
+
this.observableEventTargetBundleArray = new Array();
|
|
14487
|
+
}
|
|
14488
|
+
getSubjectForEmitterEvent(emitterArg, eventArg) {
|
|
14489
|
+
const existingBundle = this.observableEventEmitterBundleArray.find((bundleArg) => {
|
|
14490
|
+
return bundleArg.eventRef === emitterArg && bundleArg.event === eventArg;
|
|
14491
|
+
});
|
|
14492
|
+
if (existingBundle) {
|
|
14493
|
+
return existingBundle.subject;
|
|
14494
|
+
} else {
|
|
14495
|
+
const emitterObservable = fromEvent2(emitterArg, eventArg);
|
|
14496
|
+
const emitterSubject = new Subject2();
|
|
14497
|
+
emitterObservable.subscribe(emitterSubject);
|
|
14498
|
+
const newBundle = {
|
|
14499
|
+
subject: emitterSubject,
|
|
14500
|
+
eventRef: emitterArg,
|
|
14501
|
+
event: eventArg
|
|
14502
|
+
};
|
|
14503
|
+
this.observableEventEmitterBundleArray.push(newBundle);
|
|
14504
|
+
return newBundle.subject;
|
|
14505
|
+
}
|
|
14506
|
+
}
|
|
14507
|
+
getSubjectForEventTarget(eventTargetArg, eventNameArg) {
|
|
14508
|
+
const existingBundle = this.observableEventTargetBundleArray.find((bundleArg) => {
|
|
14509
|
+
return bundleArg.eventRef === eventTargetArg && bundleArg.event === eventNameArg;
|
|
14510
|
+
});
|
|
14511
|
+
if (existingBundle) {
|
|
14512
|
+
return existingBundle.subject;
|
|
14513
|
+
} else {
|
|
14514
|
+
const emitterSubject = new Subject2();
|
|
14515
|
+
const newBundle = {
|
|
14516
|
+
subject: emitterSubject,
|
|
14517
|
+
eventRef: eventTargetArg,
|
|
14518
|
+
event: eventNameArg
|
|
14519
|
+
};
|
|
14520
|
+
this.observableEventTargetBundleArray.push(newBundle);
|
|
14521
|
+
return newBundle.subject;
|
|
14522
|
+
}
|
|
14523
|
+
}
|
|
14524
|
+
};
|
|
14525
|
+
|
|
14526
|
+
// node_modules/.pnpm/@push.rocks+smartrx@3.0.2/node_modules/@push.rocks/smartrx/dist_ts/smartrx.classes.observableintake.js
|
|
14527
|
+
var ObservableIntake2 = class {
|
|
14528
|
+
constructor() {
|
|
14529
|
+
this.observableFunctions = {
|
|
14530
|
+
next: (payloadArg) => {
|
|
14531
|
+
},
|
|
14532
|
+
complete: (payloadArg) => {
|
|
14533
|
+
}
|
|
14534
|
+
};
|
|
14535
|
+
this.generator = null;
|
|
14536
|
+
this.buffered = false;
|
|
14537
|
+
this.payloadBuffer = [];
|
|
14538
|
+
this.observable = new Observable2((observerArg) => {
|
|
14539
|
+
this.observableFunctions.next = (...args) => {
|
|
14540
|
+
return observerArg.next(args);
|
|
14541
|
+
};
|
|
14542
|
+
this.observableFunctions.complete = () => {
|
|
14543
|
+
this.completedDeffered.resolve();
|
|
14544
|
+
return observerArg.complete();
|
|
14545
|
+
};
|
|
14546
|
+
});
|
|
14547
|
+
this.completedDeffered = dist_ts_exports5.defer();
|
|
14548
|
+
this.completed = this.completedDeffered.promise;
|
|
14549
|
+
}
|
|
14550
|
+
setObservable(observableFunc) {
|
|
14551
|
+
this.observable = observableFunc;
|
|
14552
|
+
}
|
|
14553
|
+
push(payloadArg) {
|
|
14554
|
+
if (this.buffered) {
|
|
14555
|
+
this.payloadBuffer.push(payloadArg);
|
|
14556
|
+
} else {
|
|
14557
|
+
this.internalPush(payloadArg);
|
|
14558
|
+
}
|
|
14559
|
+
}
|
|
14560
|
+
pushMany(payloadArgArray) {
|
|
14561
|
+
for (const item of payloadArgArray) {
|
|
14562
|
+
this.push(item);
|
|
14563
|
+
}
|
|
14564
|
+
}
|
|
14565
|
+
setGenerator(generatorArg) {
|
|
14566
|
+
this.generator = generatorArg;
|
|
14567
|
+
}
|
|
14568
|
+
makeBuffered() {
|
|
14569
|
+
this.buffered = true;
|
|
14570
|
+
}
|
|
14571
|
+
subscribe(...args) {
|
|
14572
|
+
return this.observable.subscribe(...args);
|
|
14573
|
+
}
|
|
14574
|
+
request(howManyArg) {
|
|
14575
|
+
if (howManyArg === 0) {
|
|
14576
|
+
return;
|
|
14577
|
+
} else {
|
|
14578
|
+
for (let i3 = 0; i3 !== howManyArg; i3++) {
|
|
14579
|
+
if (this.payloadBuffer.length > 0) {
|
|
14580
|
+
this.internalPush(this.payloadBuffer.shift());
|
|
14581
|
+
} else {
|
|
14582
|
+
const nextPayload = this.generator.next();
|
|
14583
|
+
this.internalPush(nextPayload.value);
|
|
14584
|
+
}
|
|
14585
|
+
}
|
|
14586
|
+
}
|
|
14587
|
+
}
|
|
14588
|
+
signalComplete() {
|
|
14589
|
+
this.observableFunctions.complete();
|
|
14590
|
+
}
|
|
14591
|
+
internalPush(payloadArg) {
|
|
14592
|
+
this.observableFunctions.next(payloadArg);
|
|
14593
|
+
}
|
|
14594
|
+
};
|
|
14595
|
+
|
|
14596
|
+
// node_modules/.pnpm/@push.rocks+smartstate@2.0.6/node_modules/@push.rocks/smartstate/dist_ts/index.js
|
|
14597
|
+
var dist_ts_exports21 = {};
|
|
14598
|
+
__export(dist_ts_exports21, {
|
|
14599
|
+
Smartstate: () => Smartstate,
|
|
14600
|
+
StateAction: () => StateAction,
|
|
14601
|
+
StatePart: () => StatePart
|
|
14602
|
+
});
|
|
14603
|
+
|
|
14604
|
+
// node_modules/.pnpm/@pushrocks+isohash@2.0.1/node_modules/@pushrocks/isohash/dist_ts/index.js
|
|
14605
|
+
var dist_ts_exports20 = {};
|
|
14606
|
+
__export(dist_ts_exports20, {
|
|
14607
|
+
sha256FromString: () => sha256FromString
|
|
14608
|
+
});
|
|
14609
|
+
var hex = (buffer) => {
|
|
14610
|
+
const hexCodes = [];
|
|
14611
|
+
const view = new DataView(buffer);
|
|
14612
|
+
for (let i3 = 0; i3 < view.byteLength; i3 += 4) {
|
|
14613
|
+
const value = view.getUint32(i3);
|
|
14614
|
+
const stringValue = value.toString(16);
|
|
14615
|
+
const padding = "00000000";
|
|
14616
|
+
const paddedValue = (padding + stringValue).slice(-padding.length);
|
|
14617
|
+
hexCodes.push(paddedValue);
|
|
14618
|
+
}
|
|
14619
|
+
return hexCodes.join("");
|
|
14620
|
+
};
|
|
14621
|
+
var sha256FromString = async (stringArg) => {
|
|
14622
|
+
const smartenv = new dist_ts_exports7.Smartenv();
|
|
14623
|
+
if (smartenv.isBrowser) {
|
|
14624
|
+
const buffer = new TextEncoder().encode(stringArg);
|
|
14625
|
+
const hash = await crypto.subtle.digest("SHA-256", buffer);
|
|
14626
|
+
const result = hex(hash);
|
|
14627
|
+
return result;
|
|
14628
|
+
} else if (smartenv.isNode) {
|
|
14629
|
+
const smarthashModule = await smartenv.getSafeNodeModule("@pushrocks/smarthash");
|
|
14630
|
+
const result = await smarthashModule.sha256FromString(stringArg);
|
|
14631
|
+
return result;
|
|
14632
|
+
}
|
|
14633
|
+
};
|
|
14634
|
+
|
|
14635
|
+
// node_modules/.pnpm/@push.rocks+smartstate@2.0.6/node_modules/@push.rocks/smartstate/dist_ts/smartstate.classes.stateaction.js
|
|
14636
|
+
var StateAction = class {
|
|
14637
|
+
constructor(statePartRef, actionDef) {
|
|
14638
|
+
this.statePartRef = statePartRef;
|
|
14639
|
+
this.actionDef = actionDef;
|
|
14640
|
+
}
|
|
14641
|
+
trigger(payload) {
|
|
14642
|
+
this.statePartRef.dispatchAction(this, payload);
|
|
14643
|
+
}
|
|
14644
|
+
};
|
|
14645
|
+
|
|
14646
|
+
// node_modules/.pnpm/@push.rocks+smartstate@2.0.6/node_modules/@push.rocks/smartstate/dist_ts/smartstate.classes.statepart.js
|
|
14647
|
+
var StatePart = class {
|
|
12440
14648
|
constructor(nameArg) {
|
|
12441
14649
|
this.state = new dist_ts_exports2.rxjs.Subject();
|
|
12442
14650
|
this.cumulativeDeferred = dist_ts_exports5.cumulativeDefer();
|
|
@@ -12451,7 +14659,7 @@ var StatePart = class {
|
|
|
12451
14659
|
}
|
|
12452
14660
|
notifyChange() {
|
|
12453
14661
|
const createStateHash = (stateArg) => {
|
|
12454
|
-
return
|
|
14662
|
+
return dist_ts_exports20.sha256FromString(dist_ts_exports9.stringify(stateArg));
|
|
12455
14663
|
};
|
|
12456
14664
|
if (this.stateStore && this.lastStateNotificationPayloadHash && createStateHash(this.stateStore) === this.lastStateNotificationPayloadHash) {
|
|
12457
14665
|
return;
|
|
@@ -12475,456 +14683,745 @@ var StatePart = class {
|
|
|
12475
14683
|
}));
|
|
12476
14684
|
return mapped;
|
|
12477
14685
|
}
|
|
12478
|
-
createAction(actionDef) {
|
|
12479
|
-
return new StateAction(this, actionDef);
|
|
14686
|
+
createAction(actionDef) {
|
|
14687
|
+
return new StateAction(this, actionDef);
|
|
14688
|
+
}
|
|
14689
|
+
async dispatchAction(stateAction, actionPayload) {
|
|
14690
|
+
await this.cumulativeDeferred.promise;
|
|
14691
|
+
const newState = await stateAction.actionDef(this, actionPayload);
|
|
14692
|
+
this.setState(newState);
|
|
14693
|
+
}
|
|
14694
|
+
async waitUntilPresent(selectorFn) {
|
|
14695
|
+
const done = dist_ts_exports5.defer();
|
|
14696
|
+
const selectedObservable = this.select(selectorFn);
|
|
14697
|
+
const subscription = selectedObservable.subscribe(async (value) => {
|
|
14698
|
+
if (value) {
|
|
14699
|
+
done.resolve(value);
|
|
14700
|
+
}
|
|
14701
|
+
});
|
|
14702
|
+
const result = await done.promise;
|
|
14703
|
+
subscription.unsubscribe();
|
|
14704
|
+
return result;
|
|
14705
|
+
}
|
|
14706
|
+
async stateSetup(funcArg) {
|
|
14707
|
+
const resultPromise = funcArg(this);
|
|
14708
|
+
this.cumulativeDeferred.addPromise(resultPromise);
|
|
14709
|
+
this.setState(await resultPromise);
|
|
14710
|
+
}
|
|
14711
|
+
};
|
|
14712
|
+
|
|
14713
|
+
// node_modules/.pnpm/@push.rocks+smartstate@2.0.6/node_modules/@push.rocks/smartstate/dist_ts/smartstate.classes.smartstate.js
|
|
14714
|
+
var Smartstate = class {
|
|
14715
|
+
constructor() {
|
|
14716
|
+
this.statePartMap = {};
|
|
14717
|
+
}
|
|
14718
|
+
getStatePart(statePartNameArg, initialArg, initMode) {
|
|
14719
|
+
if (this.statePartMap[statePartNameArg]) {
|
|
14720
|
+
if (initialArg && (!initMode || initMode !== "soft")) {
|
|
14721
|
+
throw new Error(`${statePartNameArg} already exists, yet you try to set an initial state again`);
|
|
14722
|
+
}
|
|
14723
|
+
return this.statePartMap[statePartNameArg];
|
|
14724
|
+
} else {
|
|
14725
|
+
if (!initialArg) {
|
|
14726
|
+
throw new Error(`${statePartNameArg} does not yet exist, yet you don't provide an initial state`);
|
|
14727
|
+
}
|
|
14728
|
+
return this.createStatePart(statePartNameArg, initialArg);
|
|
14729
|
+
}
|
|
14730
|
+
}
|
|
14731
|
+
createStatePart(statePartName, initialPayloadArg) {
|
|
14732
|
+
const newState = new StatePart(statePartName);
|
|
14733
|
+
newState.setState(initialPayloadArg);
|
|
14734
|
+
this.statePartMap[statePartName] = newState;
|
|
14735
|
+
return newState;
|
|
14736
|
+
}
|
|
14737
|
+
};
|
|
14738
|
+
|
|
14739
|
+
// node_modules/.pnpm/@push.rocks+smarturl@3.0.7/node_modules/@push.rocks/smarturl/dist_ts/index.js
|
|
14740
|
+
var dist_ts_exports22 = {};
|
|
14741
|
+
__export(dist_ts_exports22, {
|
|
14742
|
+
Smarturl: () => Smarturl
|
|
14743
|
+
});
|
|
14744
|
+
|
|
14745
|
+
// node_modules/.pnpm/@push.rocks+smarturl@3.0.7/node_modules/@push.rocks/smarturl/dist_ts/smarturl.classes.smarturl.js
|
|
14746
|
+
var Smarturl = class {
|
|
14747
|
+
static createFromUrl(urlArg, optionsArg) {
|
|
14748
|
+
const parsedUrlInstance = new URL(urlArg);
|
|
14749
|
+
const searchParams = {};
|
|
14750
|
+
const searchParamPairs = [];
|
|
14751
|
+
if (parsedUrlInstance.search) {
|
|
14752
|
+
parsedUrlInstance.search.replace("?", "").split("&").map((searchParamPair) => {
|
|
14753
|
+
searchParamPairs.push({
|
|
14754
|
+
key: searchParamPair.split("=")[0],
|
|
14755
|
+
value: searchParamPair.split("=")[1]
|
|
14756
|
+
});
|
|
14757
|
+
});
|
|
14758
|
+
}
|
|
14759
|
+
for (const searchParamPair of searchParamPairs) {
|
|
14760
|
+
searchParams[searchParamPair.key] = searchParamPair.value;
|
|
14761
|
+
}
|
|
14762
|
+
if (optionsArg?.searchParams) {
|
|
14763
|
+
for (const key of Object.keys(optionsArg.searchParams)) {
|
|
14764
|
+
searchParams[key] = optionsArg.searchParams[key];
|
|
14765
|
+
}
|
|
14766
|
+
}
|
|
14767
|
+
let path = parsedUrlInstance.pathname || "";
|
|
14768
|
+
if (Object.keys(searchParams).length > 0) {
|
|
14769
|
+
path += "?";
|
|
14770
|
+
let first = true;
|
|
14771
|
+
for (const key of Object.keys(searchParams)) {
|
|
14772
|
+
if (first) {
|
|
14773
|
+
first = false;
|
|
14774
|
+
} else {
|
|
14775
|
+
path += "&";
|
|
14776
|
+
}
|
|
14777
|
+
path += `${key}=${searchParams[key]}`;
|
|
14778
|
+
}
|
|
14779
|
+
}
|
|
14780
|
+
const parsedUrl = {
|
|
14781
|
+
...parsedUrlInstance,
|
|
14782
|
+
href: parsedUrlInstance.href,
|
|
14783
|
+
origin: parsedUrlInstance.origin,
|
|
14784
|
+
protocol: parsedUrlInstance.protocol,
|
|
14785
|
+
username: parsedUrlInstance.username,
|
|
14786
|
+
password: parsedUrlInstance.password,
|
|
14787
|
+
host: parsedUrlInstance.host,
|
|
14788
|
+
hostname: parsedUrlInstance.hostname,
|
|
14789
|
+
port: parsedUrlInstance.port,
|
|
14790
|
+
path,
|
|
14791
|
+
pathname: parsedUrlInstance.pathname,
|
|
14792
|
+
search: parsedUrlInstance.search,
|
|
14793
|
+
searchParams,
|
|
14794
|
+
hash: parsedUrlInstance.hash
|
|
14795
|
+
};
|
|
14796
|
+
if (!parsedUrl.port && parsedUrl.protocol === "https:") {
|
|
14797
|
+
parsedUrl.port = "443";
|
|
14798
|
+
}
|
|
14799
|
+
if (!parsedUrl.port && parsedUrl.protocol === "http:") {
|
|
14800
|
+
parsedUrl.port = "80";
|
|
14801
|
+
}
|
|
14802
|
+
const returnSmarturl = new Smarturl();
|
|
14803
|
+
Object.assign(returnSmarturl, parsedUrl);
|
|
14804
|
+
return returnSmarturl;
|
|
14805
|
+
}
|
|
14806
|
+
static createFromParsedUrl(parsedUrlArg) {
|
|
14807
|
+
const returnSmarturl = new Smarturl();
|
|
14808
|
+
Object.assign(returnSmarturl, parsedUrlArg);
|
|
14809
|
+
return returnSmarturl;
|
|
14810
|
+
}
|
|
14811
|
+
constructor() {
|
|
14812
|
+
this.searchParams = {};
|
|
14813
|
+
}
|
|
14814
|
+
toString() {
|
|
14815
|
+
let userpart = ``;
|
|
14816
|
+
if (this.username && !this.password) {
|
|
14817
|
+
userpart = `${this.username}@`;
|
|
14818
|
+
}
|
|
14819
|
+
if (this.username && this.password) {
|
|
14820
|
+
userpart = `${this.username}:${this.password}@`;
|
|
14821
|
+
}
|
|
14822
|
+
return `${this.protocol}//${userpart}${this.hostname}:${this.port}${this.path}`;
|
|
14823
|
+
}
|
|
14824
|
+
};
|
|
14825
|
+
|
|
14826
|
+
// node_modules/.pnpm/@pushrocks+smartjson@5.0.6/node_modules/@pushrocks/smartjson/dist_ts/smartjson.plugins.js
|
|
14827
|
+
var import_lodash3 = __toESM(require_lodash(), 1);
|
|
14828
|
+
var import_fast_json_stable_stringify3 = __toESM(require_fast_json_stable_stringify(), 1);
|
|
14829
|
+
var import_buffer_json3 = __toESM(require_buffer_json(), 1);
|
|
14830
|
+
|
|
14831
|
+
// node_modules/.pnpm/@pushrocks+smartjson@5.0.6/node_modules/@pushrocks/smartjson/dist_ts/index.js
|
|
14832
|
+
var parse4 = import_buffer_json3.default.parse;
|
|
14833
|
+
|
|
14834
|
+
// node_modules/.pnpm/@push.rocks+websetup@3.0.19_typescript@5.0.4/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.js
|
|
14835
|
+
var Tag = class {
|
|
14836
|
+
appendToDom() {
|
|
14837
|
+
if (!this.elementRef.parentElement && !this.elementRef.parentNode) {
|
|
14838
|
+
document.getElementsByTagName("head")[0].appendChild(this.elementRef);
|
|
14839
|
+
}
|
|
14840
|
+
}
|
|
14841
|
+
removeFromDom() {
|
|
14842
|
+
if (this.elementRef.parentElement) {
|
|
14843
|
+
this.elementRef.parentElement.removeChild(this.elementRef);
|
|
14844
|
+
} else if (this.elementRef.parentNode) {
|
|
14845
|
+
this.elementRef.parentNode.removeChild(this.elementRef);
|
|
14846
|
+
}
|
|
14847
|
+
}
|
|
14848
|
+
};
|
|
14849
|
+
|
|
14850
|
+
// node_modules/.pnpm/@push.rocks+websetup@3.0.19_typescript@5.0.4/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.jsonldtag.js
|
|
14851
|
+
var JsonLdTag = class extends Tag {
|
|
14852
|
+
static createCompanyJsonLd(companyDataArg) {
|
|
14853
|
+
const companyLd = {
|
|
14854
|
+
"@context": "https://schema.org",
|
|
14855
|
+
"@type": "Corporation",
|
|
14856
|
+
name: companyDataArg.name,
|
|
14857
|
+
alternateName: companyDataArg.name.replace(" GmbH", ""),
|
|
14858
|
+
url: companyDataArg.contact.website,
|
|
14859
|
+
logo: companyDataArg.contact.logoUrl,
|
|
14860
|
+
contactPoint: {
|
|
14861
|
+
"@type": "ContactPoint",
|
|
14862
|
+
telephone: companyDataArg.contact.phone,
|
|
14863
|
+
contactType: "customer service",
|
|
14864
|
+
areaServed: "DE",
|
|
14865
|
+
availableLanguage: ["en", "German"]
|
|
14866
|
+
},
|
|
14867
|
+
sameAs: []
|
|
14868
|
+
};
|
|
14869
|
+
if (companyDataArg.contact.facebookUrl) {
|
|
14870
|
+
companyLd.sameAs.push(companyDataArg.contact.facebookUrl);
|
|
14871
|
+
}
|
|
14872
|
+
if (companyDataArg.contact.twitterUrl) {
|
|
14873
|
+
companyLd.sameAs.push(companyDataArg.contact.twitterUrl);
|
|
14874
|
+
}
|
|
14875
|
+
const ldTag = new JsonLdTag(companyLd);
|
|
14876
|
+
return ldTag;
|
|
14877
|
+
}
|
|
14878
|
+
static createNewsArticleJsonLd(newsArticleArg) {
|
|
14879
|
+
const newsArticleLd = {
|
|
14880
|
+
"@context": "https://schema.org",
|
|
14881
|
+
"@type": "NewsArticle",
|
|
14882
|
+
mainEntityOfPage: {
|
|
14883
|
+
"@type": "WebPage",
|
|
14884
|
+
"@id": window.location.href
|
|
14885
|
+
},
|
|
14886
|
+
headline: "Article headline",
|
|
14887
|
+
image: [newsArticleArg.featuredImageUrl],
|
|
14888
|
+
datePublished: new Date(newsArticleArg.timestamp).toISOString(),
|
|
14889
|
+
dateModified: new Date(newsArticleArg.timestamp).toISOString(),
|
|
14890
|
+
author: {
|
|
14891
|
+
"@type": "Person",
|
|
14892
|
+
name: `${newsArticleArg.author.firstName} ${newsArticleArg.author.surName}`
|
|
14893
|
+
},
|
|
14894
|
+
publisher: {
|
|
14895
|
+
"@type": "Organization",
|
|
14896
|
+
name: newsArticleArg.author.surName,
|
|
14897
|
+
logo: {
|
|
14898
|
+
"@type": "ImageObject",
|
|
14899
|
+
url: newsArticleArg.author.surName
|
|
14900
|
+
}
|
|
14901
|
+
},
|
|
14902
|
+
description: newsArticleArg.author.firstName
|
|
14903
|
+
};
|
|
14904
|
+
const ldTag = new JsonLdTag(newsArticleLd);
|
|
14905
|
+
return ldTag;
|
|
14906
|
+
}
|
|
14907
|
+
static createProductJsonLd(productArg, publisherArg) {
|
|
14908
|
+
const productLd = {
|
|
14909
|
+
"@context": "https://schema.org",
|
|
14910
|
+
"@type": "SoftwareApplication",
|
|
14911
|
+
name: productArg.name,
|
|
14912
|
+
description: productArg.description,
|
|
14913
|
+
operatingSystem: productArg.os,
|
|
14914
|
+
applicationCategory: productArg.category,
|
|
14915
|
+
offers: {
|
|
14916
|
+
"@type": "Offer",
|
|
14917
|
+
name: "User-based Plan",
|
|
14918
|
+
priceSpecification: {
|
|
14919
|
+
"@type": "PropertyValueSpecification",
|
|
14920
|
+
valueName: "Number of Users",
|
|
14921
|
+
valueRequired: true,
|
|
14922
|
+
price: "4.99",
|
|
14923
|
+
priceCurrency: "EUR"
|
|
14924
|
+
}
|
|
14925
|
+
},
|
|
14926
|
+
publisher: this.createCompanyJsonLd(publisherArg).elementRef.textContent,
|
|
14927
|
+
screenshot: "https://www.social.io/screenshot.png",
|
|
14928
|
+
url: "https://www.social.io/"
|
|
14929
|
+
};
|
|
14930
|
+
const ldTag = new JsonLdTag(productLd);
|
|
14931
|
+
return ldTag;
|
|
14932
|
+
}
|
|
14933
|
+
constructor(ldObjectArg) {
|
|
14934
|
+
super();
|
|
14935
|
+
const jsonLdElement = document.createElement("script");
|
|
14936
|
+
jsonLdElement.type = "application/ld+json";
|
|
14937
|
+
jsonLdElement.text = JSON.stringify(ldObjectArg);
|
|
14938
|
+
this.elementRef = jsonLdElement;
|
|
12480
14939
|
}
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
|
|
14940
|
+
};
|
|
14941
|
+
|
|
14942
|
+
// node_modules/.pnpm/@push.rocks+websetup@3.0.19_typescript@5.0.4/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.opengraphtag.js
|
|
14943
|
+
var OpengraphTag = class extends Tag {
|
|
14944
|
+
static createNewsArticleOgTags(newsArticleArg) {
|
|
14945
|
+
const tagArray = [];
|
|
14946
|
+
tagArray.push(new OpengraphTag("og:url", newsArticleArg.url));
|
|
14947
|
+
tagArray.push(new OpengraphTag("og:title", newsArticleArg.title));
|
|
14948
|
+
tagArray.push(new OpengraphTag("og:description", newsArticleArg.content));
|
|
14949
|
+
tagArray.push(new OpengraphTag("og:image", newsArticleArg.featuredImageUrl));
|
|
14950
|
+
return tagArray;
|
|
12485
14951
|
}
|
|
12486
|
-
|
|
12487
|
-
const
|
|
12488
|
-
|
|
12489
|
-
|
|
12490
|
-
|
|
12491
|
-
|
|
12492
|
-
|
|
12493
|
-
|
|
12494
|
-
const result = await done.promise;
|
|
12495
|
-
subscription.unsubscribe();
|
|
12496
|
-
return result;
|
|
14952
|
+
static createProductOgTags(productArg) {
|
|
14953
|
+
const tagArray = [];
|
|
14954
|
+
tagArray.push(new OpengraphTag("og:url", globalThis.location.href));
|
|
14955
|
+
tagArray.push(new OpengraphTag("og:title", `${productArg.name} - ${productArg.slogan}`));
|
|
14956
|
+
tagArray.push(new OpengraphTag("og:site_name", productArg.name));
|
|
14957
|
+
tagArray.push(new OpengraphTag("og:description", productArg.description));
|
|
14958
|
+
tagArray.push(new OpengraphTag("og:image", productArg.logoLink));
|
|
14959
|
+
return tagArray;
|
|
12497
14960
|
}
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
|
|
14961
|
+
constructor(propertyNameArg, contentArg) {
|
|
14962
|
+
super();
|
|
14963
|
+
const openGraphElement = document.createElement("meta");
|
|
14964
|
+
openGraphElement.setAttribute("property", propertyNameArg);
|
|
14965
|
+
openGraphElement.content = contentArg;
|
|
14966
|
+
this.elementRef = openGraphElement;
|
|
12502
14967
|
}
|
|
12503
14968
|
};
|
|
12504
14969
|
|
|
12505
|
-
// node_modules/.pnpm/@
|
|
12506
|
-
var
|
|
12507
|
-
|
|
12508
|
-
this.
|
|
14970
|
+
// node_modules/.pnpm/@push.rocks+websetup@3.0.19_typescript@5.0.4/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.taglevel.js
|
|
14971
|
+
var TagLevel = class {
|
|
14972
|
+
set title(titleArg) {
|
|
14973
|
+
this.titleStore = titleArg;
|
|
14974
|
+
if (this.state === "enabled") {
|
|
14975
|
+
document.title = this.titleStore;
|
|
14976
|
+
}
|
|
12509
14977
|
}
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
14978
|
+
get title() {
|
|
14979
|
+
return this.titleStore;
|
|
14980
|
+
}
|
|
14981
|
+
constructor(tagManagerRefArg, levelType) {
|
|
14982
|
+
this.tags = [];
|
|
14983
|
+
this.state = "disabled";
|
|
14984
|
+
this.tagManagerRef = tagManagerRefArg;
|
|
14985
|
+
}
|
|
14986
|
+
addTag(tagArg) {
|
|
14987
|
+
if (tagArg instanceof Array) {
|
|
14988
|
+
for (const tagArg2 of tagArg) {
|
|
14989
|
+
this.addTag(tagArg2);
|
|
12514
14990
|
}
|
|
12515
|
-
return this.statePartMap[statePartNameArg];
|
|
12516
14991
|
} else {
|
|
12517
|
-
|
|
12518
|
-
|
|
14992
|
+
this.tags.push(tagArg);
|
|
14993
|
+
if (this.state === "enabled") {
|
|
14994
|
+
tagArg.appendToDom();
|
|
12519
14995
|
}
|
|
12520
|
-
return this.createStatePart(statePartNameArg, initialArg);
|
|
12521
14996
|
}
|
|
12522
14997
|
}
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
this.
|
|
12527
|
-
|
|
14998
|
+
async addCompanyInfo(companyDataArg) {
|
|
14999
|
+
this.addTag(JsonLdTag.createCompanyJsonLd(companyDataArg));
|
|
15000
|
+
this.addTag(new OpengraphTag("og:type", "business.business"));
|
|
15001
|
+
this.addTag(new OpengraphTag("og:title", companyDataArg.name));
|
|
15002
|
+
this.addTag(new OpengraphTag("og:url", companyDataArg.contact.website));
|
|
15003
|
+
this.addTag(new OpengraphTag("og:image", companyDataArg.contact.logoUrl));
|
|
15004
|
+
this.addTag(new OpengraphTag("business:contact_data:street_address", `${companyDataArg.contact.address.streetName} ${companyDataArg.contact.address.houseNumber}`));
|
|
15005
|
+
this.addTag(new OpengraphTag("business:contact_data:locality", companyDataArg.contact.address.postalCode));
|
|
15006
|
+
this.addTag(new OpengraphTag("business:contact_data:region", companyDataArg.contact.address.city));
|
|
15007
|
+
this.addTag(new OpengraphTag("business:contact_data:postal_code", companyDataArg.contact.address.postalCode));
|
|
15008
|
+
this.addTag(new OpengraphTag("business:contact_data:country_name", companyDataArg.contact.address.country));
|
|
15009
|
+
}
|
|
15010
|
+
addNewsArticleInfo(articleArg) {
|
|
15011
|
+
this.addTag(JsonLdTag.createNewsArticleJsonLd(articleArg));
|
|
15012
|
+
this.addTag(OpengraphTag.createNewsArticleOgTags(articleArg));
|
|
15013
|
+
}
|
|
15014
|
+
addProductInfo(productArg, companyArg) {
|
|
15015
|
+
this.addTag(JsonLdTag.createProductJsonLd(productArg, companyArg));
|
|
15016
|
+
this.addTag(OpengraphTag.createProductOgTags(productArg));
|
|
15017
|
+
}
|
|
15018
|
+
async enable() {
|
|
15019
|
+
if (this.title) {
|
|
15020
|
+
document.title = this.title;
|
|
15021
|
+
}
|
|
15022
|
+
for (const tagArg of this.tags) {
|
|
15023
|
+
tagArg.appendToDom();
|
|
15024
|
+
}
|
|
15025
|
+
this.state = "enabled";
|
|
15026
|
+
}
|
|
15027
|
+
async disable() {
|
|
15028
|
+
for (const tagArg of this.tags) {
|
|
15029
|
+
tagArg.removeFromDom();
|
|
15030
|
+
}
|
|
15031
|
+
this.state = "disabled";
|
|
12528
15032
|
}
|
|
12529
15033
|
};
|
|
12530
15034
|
|
|
12531
|
-
// node_modules/.pnpm/@
|
|
12532
|
-
var
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
15035
|
+
// node_modules/.pnpm/@push.rocks+websetup@3.0.19_typescript@5.0.4/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tag.metatag.js
|
|
15036
|
+
var MetaTag = class extends Tag {
|
|
15037
|
+
constructor(metaNameArg, contentArg) {
|
|
15038
|
+
super();
|
|
15039
|
+
const metaElement = document.createElement("meta");
|
|
15040
|
+
metaElement.name = metaNameArg;
|
|
15041
|
+
metaElement.content = contentArg;
|
|
15042
|
+
this.elementRef = metaElement;
|
|
15043
|
+
}
|
|
15044
|
+
};
|
|
12536
15045
|
|
|
12537
|
-
// node_modules/.pnpm/@
|
|
12538
|
-
var
|
|
12539
|
-
|
|
12540
|
-
|
|
12541
|
-
|
|
12542
|
-
|
|
12543
|
-
|
|
12544
|
-
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
|
|
12548
|
-
|
|
12549
|
-
|
|
15046
|
+
// node_modules/.pnpm/@push.rocks+websetup@3.0.19_typescript@5.0.4/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.tagmanager.js
|
|
15047
|
+
var TagManager = class {
|
|
15048
|
+
constructor() {
|
|
15049
|
+
this.globalLevel = new TagLevel(this, "global");
|
|
15050
|
+
this.baseLevel = new TagLevel(this, "base");
|
|
15051
|
+
}
|
|
15052
|
+
async setup(metaObjectArg) {
|
|
15053
|
+
this.globalLevel.addTag(new MetaTag("google", "notranslate"));
|
|
15054
|
+
this.globalLevel.addTag(new MetaTag("revisit-after", "1 days"));
|
|
15055
|
+
if (metaObjectArg.twitterHandle) {
|
|
15056
|
+
this.globalLevel.addTag(new MetaTag("twitter:card", "summary_large_image"));
|
|
15057
|
+
this.globalLevel.addTag(new MetaTag("twitter:site", metaObjectArg.twitterHandle));
|
|
15058
|
+
this.globalLevel.addTag(new MetaTag("twitter:creator", metaObjectArg.twitterHandle));
|
|
12550
15059
|
}
|
|
12551
|
-
|
|
12552
|
-
|
|
15060
|
+
this.baseLevel.title = metaObjectArg.title;
|
|
15061
|
+
if (metaObjectArg.description) {
|
|
15062
|
+
this.baseLevel.addTag(new MetaTag("description", metaObjectArg.description));
|
|
12553
15063
|
}
|
|
12554
|
-
if (
|
|
12555
|
-
|
|
12556
|
-
searchParams[key] = optionsArg.searchParams[key];
|
|
12557
|
-
}
|
|
15064
|
+
if (metaObjectArg.canonicalDomain) {
|
|
15065
|
+
this.baseLevel.addTag(new MetaTag("canonical", metaObjectArg.canonicalDomain));
|
|
12558
15066
|
}
|
|
12559
|
-
|
|
12560
|
-
|
|
12561
|
-
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
} else {
|
|
12567
|
-
path += "&";
|
|
12568
|
-
}
|
|
12569
|
-
path += `${key}=${searchParams[key]}`;
|
|
12570
|
-
}
|
|
15067
|
+
switch (true) {
|
|
15068
|
+
case (metaObjectArg.ldCompany && !metaObjectArg.ldProduct):
|
|
15069
|
+
this.baseLevel.addCompanyInfo(metaObjectArg.ldCompany);
|
|
15070
|
+
break;
|
|
15071
|
+
case !!metaObjectArg.ldProduct:
|
|
15072
|
+
this.baseLevel.addProductInfo(metaObjectArg.ldProduct, metaObjectArg.ldCompany);
|
|
15073
|
+
break;
|
|
12571
15074
|
}
|
|
12572
|
-
|
|
12573
|
-
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
-
|
|
12581
|
-
port: parsedUrlInstance.port,
|
|
12582
|
-
path,
|
|
12583
|
-
pathname: parsedUrlInstance.pathname,
|
|
12584
|
-
search: parsedUrlInstance.search,
|
|
12585
|
-
searchParams,
|
|
12586
|
-
hash: parsedUrlInstance.hash
|
|
12587
|
-
};
|
|
12588
|
-
if (!parsedUrl.port && parsedUrl.protocol === "https:") {
|
|
12589
|
-
parsedUrl.port = "443";
|
|
15075
|
+
await this.globalLevel.enable();
|
|
15076
|
+
this.activeLevel = this.baseLevel;
|
|
15077
|
+
await this.activeLevel.enable();
|
|
15078
|
+
}
|
|
15079
|
+
async setSubPageLevel(metaObjectArg) {
|
|
15080
|
+
const subPageLevel = new TagLevel(this, "subpage");
|
|
15081
|
+
subPageLevel.title = metaObjectArg.title;
|
|
15082
|
+
if (metaObjectArg.description) {
|
|
15083
|
+
subPageLevel.addTag(new MetaTag("description", metaObjectArg.description));
|
|
12590
15084
|
}
|
|
12591
|
-
|
|
12592
|
-
|
|
15085
|
+
await this.activeLevel.disable();
|
|
15086
|
+
this.activeLevel = subPageLevel;
|
|
15087
|
+
await this.activeLevel.enable();
|
|
15088
|
+
return subPageLevel;
|
|
15089
|
+
}
|
|
15090
|
+
async revertToBaseLevel() {
|
|
15091
|
+
if (this.activeLevel !== this.baseLevel) {
|
|
15092
|
+
await this.activeLevel.disable();
|
|
15093
|
+
this.activeLevel = this.baseLevel;
|
|
15094
|
+
await this.activeLevel.enable();
|
|
15095
|
+
}
|
|
15096
|
+
}
|
|
15097
|
+
};
|
|
15098
|
+
|
|
15099
|
+
// node_modules/.pnpm/@push.rocks+websetup@3.0.19_typescript@5.0.4/node_modules/@push.rocks/websetup/dist_ts/websetup.classes.websetup.js
|
|
15100
|
+
var WebSetup = class {
|
|
15101
|
+
constructor(optionsArg) {
|
|
15102
|
+
this.tagManager = new TagManager();
|
|
15103
|
+
this.readyDeferred = dist_ts_exports5.defer();
|
|
15104
|
+
this.readyForSmartssrDeferred = dist_ts_exports5.defer();
|
|
15105
|
+
this.readyPromise = this.readyDeferred.promise;
|
|
15106
|
+
this.readyForSmartssrPromise = this.readyForSmartssrDeferred.promise;
|
|
15107
|
+
this.options = optionsArg;
|
|
15108
|
+
this.setup().then(() => {
|
|
15109
|
+
this.readyDeferred.resolve();
|
|
15110
|
+
if (!this.options.smartssrWaitForReadySignal) {
|
|
15111
|
+
this.readyForSmartssrDeferred.resolve();
|
|
15112
|
+
}
|
|
15113
|
+
});
|
|
15114
|
+
}
|
|
15115
|
+
async setup(optionsArg) {
|
|
15116
|
+
if (optionsArg) {
|
|
15117
|
+
this.options = optionsArg;
|
|
12593
15118
|
}
|
|
12594
|
-
|
|
12595
|
-
Object.assign(returnSmarturl, parsedUrl);
|
|
12596
|
-
return returnSmarturl;
|
|
15119
|
+
await this.tagManager.setup(this.options.metaObject);
|
|
12597
15120
|
}
|
|
12598
|
-
|
|
12599
|
-
|
|
12600
|
-
Object.assign(returnSmarturl, parsedUrlArg);
|
|
12601
|
-
return returnSmarturl;
|
|
15121
|
+
revertToBaseLevel() {
|
|
15122
|
+
this.tagManager.revertToBaseLevel();
|
|
12602
15123
|
}
|
|
12603
|
-
|
|
12604
|
-
|
|
15124
|
+
async setSubLevel(metaObjectArg) {
|
|
15125
|
+
const subLevel = await this.tagManager.setSubPageLevel(metaObjectArg);
|
|
15126
|
+
return subLevel;
|
|
12605
15127
|
}
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
if (this.username && this.password) {
|
|
12612
|
-
userpart = `${this.username}:${this.password}@`;
|
|
15128
|
+
flashTitle(flashTextArg) {
|
|
15129
|
+
}
|
|
15130
|
+
informReadyForSmartssr() {
|
|
15131
|
+
if (!this.options.smartssrWaitForReadySignal) {
|
|
15132
|
+
console.error(`You have not indicated that you inform smartssr by a dedicated signal! Please consider doing so!`);
|
|
12613
15133
|
}
|
|
12614
|
-
|
|
15134
|
+
this.readyForSmartssrDeferred.resolve();
|
|
12615
15135
|
}
|
|
12616
15136
|
};
|
|
12617
15137
|
|
|
12618
|
-
// node_modules/.pnpm/@
|
|
12619
|
-
var
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
15138
|
+
// node_modules/.pnpm/@push.rocks+lik@6.0.2/node_modules/@push.rocks/lik/dist_ts/lik.plugins.js
|
|
15139
|
+
var smartdelay5 = __toESM(require_dist_ts3(), 1);
|
|
15140
|
+
var smartpromise6 = __toESM(require_dist_ts2(), 1);
|
|
15141
|
+
var import_symbol_tree2 = __toESM(require_SymbolTree(), 1);
|
|
15142
|
+
|
|
15143
|
+
// node_modules/.pnpm/@push.rocks+lik@6.0.2/node_modules/@push.rocks/lik/dist_ts/lik.fastmap.js
|
|
15144
|
+
var FastMap2 = class {
|
|
15145
|
+
constructor() {
|
|
15146
|
+
this.mapObject = {};
|
|
15147
|
+
}
|
|
15148
|
+
isUniqueKey(keyArg) {
|
|
15149
|
+
return this.mapObject[keyArg] ? false : true;
|
|
15150
|
+
}
|
|
15151
|
+
addToMap(keyArg, objectArg, optionsArg) {
|
|
15152
|
+
if (this.isUniqueKey(keyArg) || optionsArg && optionsArg.force) {
|
|
15153
|
+
this.mapObject[keyArg] = objectArg;
|
|
15154
|
+
return true;
|
|
15155
|
+
} else {
|
|
15156
|
+
return false;
|
|
12623
15157
|
}
|
|
12624
15158
|
}
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
15159
|
+
getByKey(keyArg) {
|
|
15160
|
+
return this.mapObject[keyArg];
|
|
15161
|
+
}
|
|
15162
|
+
removeFromMap(keyArg) {
|
|
15163
|
+
const removedItem = this.getByKey(keyArg);
|
|
15164
|
+
delete this.mapObject[keyArg];
|
|
15165
|
+
return removedItem;
|
|
15166
|
+
}
|
|
15167
|
+
getKeys() {
|
|
15168
|
+
const keys = [];
|
|
15169
|
+
for (const keyArg in this.mapObject) {
|
|
15170
|
+
if (this.mapObject[keyArg]) {
|
|
15171
|
+
keys.push(keyArg);
|
|
15172
|
+
}
|
|
12630
15173
|
}
|
|
15174
|
+
return keys;
|
|
12631
15175
|
}
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
const
|
|
12638
|
-
|
|
12639
|
-
"@type": "Corporation",
|
|
12640
|
-
name: companyDataArg.name,
|
|
12641
|
-
alternateName: companyDataArg.name.replace(" GmbH", ""),
|
|
12642
|
-
url: companyDataArg.contact.website,
|
|
12643
|
-
logo: companyDataArg.contact.logoUrl,
|
|
12644
|
-
contactPoint: {
|
|
12645
|
-
"@type": "ContactPoint",
|
|
12646
|
-
telephone: companyDataArg.contact.phone,
|
|
12647
|
-
contactType: "customer service",
|
|
12648
|
-
areaServed: "DE",
|
|
12649
|
-
availableLanguage: ["en", "German"]
|
|
12650
|
-
},
|
|
12651
|
-
sameAs: []
|
|
12652
|
-
};
|
|
12653
|
-
if (companyDataArg.contact.facebookUrl) {
|
|
12654
|
-
companyLd.sameAs.push(companyDataArg.contact.facebookUrl);
|
|
15176
|
+
clean() {
|
|
15177
|
+
this.mapObject = {};
|
|
15178
|
+
}
|
|
15179
|
+
concat(fastMapArg) {
|
|
15180
|
+
const concatedFastmap = new FastMap2();
|
|
15181
|
+
for (const key of this.getKeys()) {
|
|
15182
|
+
concatedFastmap.addToMap(key, this.getByKey(key));
|
|
12655
15183
|
}
|
|
12656
|
-
|
|
12657
|
-
|
|
15184
|
+
for (const key of fastMapArg.getKeys()) {
|
|
15185
|
+
concatedFastmap.addToMap(key, fastMapArg.getByKey(key), {
|
|
15186
|
+
force: true
|
|
15187
|
+
});
|
|
12658
15188
|
}
|
|
12659
|
-
|
|
12660
|
-
return ldTag;
|
|
12661
|
-
}
|
|
12662
|
-
static createNewsArticleJsonLd(newsArticleArg) {
|
|
12663
|
-
const newsArticleLd = {
|
|
12664
|
-
"@context": "https://schema.org",
|
|
12665
|
-
"@type": "NewsArticle",
|
|
12666
|
-
mainEntityOfPage: {
|
|
12667
|
-
"@type": "WebPage",
|
|
12668
|
-
"@id": window.location.href
|
|
12669
|
-
},
|
|
12670
|
-
headline: "Article headline",
|
|
12671
|
-
image: [newsArticleArg.featuredImageUrl],
|
|
12672
|
-
datePublished: new Date(newsArticleArg.timestamp).toISOString(),
|
|
12673
|
-
dateModified: new Date(newsArticleArg.timestamp).toISOString(),
|
|
12674
|
-
author: {
|
|
12675
|
-
"@type": "Person",
|
|
12676
|
-
name: `${newsArticleArg.author.firstName} ${newsArticleArg.author.surName}`
|
|
12677
|
-
},
|
|
12678
|
-
publisher: {
|
|
12679
|
-
"@type": "Organization",
|
|
12680
|
-
name: newsArticleArg.author.surName,
|
|
12681
|
-
logo: {
|
|
12682
|
-
"@type": "ImageObject",
|
|
12683
|
-
url: newsArticleArg.author.surName
|
|
12684
|
-
}
|
|
12685
|
-
},
|
|
12686
|
-
description: newsArticleArg.author.firstName
|
|
12687
|
-
};
|
|
12688
|
-
const ldTag = new JsonLdTag(newsArticleLd);
|
|
12689
|
-
return ldTag;
|
|
15189
|
+
return concatedFastmap;
|
|
12690
15190
|
}
|
|
12691
|
-
|
|
12692
|
-
const
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
operatingSystem: productArg.os,
|
|
12698
|
-
applicationCategory: productArg.category,
|
|
12699
|
-
offers: {
|
|
12700
|
-
"@type": "Offer",
|
|
12701
|
-
name: "User-based Plan",
|
|
12702
|
-
priceSpecification: {
|
|
12703
|
-
"@type": "PropertyValueSpecification",
|
|
12704
|
-
valueName: "Number of Users",
|
|
12705
|
-
valueRequired: true,
|
|
12706
|
-
price: "4.99",
|
|
12707
|
-
priceCurrency: "EUR"
|
|
12708
|
-
}
|
|
12709
|
-
},
|
|
12710
|
-
publisher: this.createCompanyJsonLd(publisherArg).elementRef.textContent,
|
|
12711
|
-
screenshot: "https://www.social.io/screenshot.png",
|
|
12712
|
-
url: "https://www.social.io/"
|
|
12713
|
-
};
|
|
12714
|
-
const ldTag = new JsonLdTag(productLd);
|
|
12715
|
-
return ldTag;
|
|
15191
|
+
addAllFromOther(fastMapArg) {
|
|
15192
|
+
for (const key of fastMapArg.getKeys()) {
|
|
15193
|
+
this.addToMap(key, fastMapArg.getByKey(key), {
|
|
15194
|
+
force: true
|
|
15195
|
+
});
|
|
15196
|
+
}
|
|
12716
15197
|
}
|
|
12717
|
-
|
|
12718
|
-
|
|
12719
|
-
|
|
12720
|
-
|
|
12721
|
-
|
|
12722
|
-
|
|
15198
|
+
async find(findFunctionArg) {
|
|
15199
|
+
for (const key of this.getKeys()) {
|
|
15200
|
+
const item = this.getByKey(key);
|
|
15201
|
+
const findFunctionResult = await findFunctionArg(item);
|
|
15202
|
+
if (findFunctionResult) {
|
|
15203
|
+
return item;
|
|
15204
|
+
}
|
|
15205
|
+
}
|
|
12723
15206
|
}
|
|
12724
15207
|
};
|
|
12725
15208
|
|
|
12726
|
-
// node_modules/.pnpm/@
|
|
12727
|
-
var
|
|
12728
|
-
|
|
12729
|
-
const
|
|
12730
|
-
|
|
12731
|
-
|
|
12732
|
-
|
|
12733
|
-
|
|
12734
|
-
|
|
15209
|
+
// node_modules/.pnpm/@push.rocks+lik@6.0.2/node_modules/@push.rocks/lik/dist_ts/lik.objectmap.js
|
|
15210
|
+
var uni2 = (prefix = "uni") => {
|
|
15211
|
+
return `${prefix}xxxxxxxxxxx`.replace(/[xy]/g, (c3) => {
|
|
15212
|
+
const r4 = Math.random() * 16 | 0;
|
|
15213
|
+
const v2 = c3 === "x" ? r4 : r4 & 3 | 8;
|
|
15214
|
+
return v2.toString(16);
|
|
15215
|
+
});
|
|
15216
|
+
};
|
|
15217
|
+
var ObjectMap2 = class {
|
|
15218
|
+
constructor() {
|
|
15219
|
+
this.fastMap = new FastMap2();
|
|
15220
|
+
this.eventSubject = new dist_ts_exports2.rxjs.Subject();
|
|
12735
15221
|
}
|
|
12736
|
-
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
15222
|
+
addMappedUnique(uniqueKeyArg, objectArg) {
|
|
15223
|
+
this.fastMap.addToMap(uniqueKeyArg, objectArg);
|
|
15224
|
+
}
|
|
15225
|
+
getMappedUnique(uniqueKeyArg) {
|
|
15226
|
+
return this.fastMap.getByKey(uniqueKeyArg);
|
|
15227
|
+
}
|
|
15228
|
+
removeMappedUnique(uniqueKey) {
|
|
15229
|
+
const object = this.getMappedUnique(uniqueKey);
|
|
15230
|
+
}
|
|
15231
|
+
add(objectArg) {
|
|
15232
|
+
for (const keyArg of this.fastMap.getKeys()) {
|
|
15233
|
+
const object = this.fastMap.getByKey(keyArg);
|
|
15234
|
+
if (object === objectArg) {
|
|
15235
|
+
return keyArg;
|
|
15236
|
+
}
|
|
15237
|
+
}
|
|
15238
|
+
const uniqueKey = uni2("key");
|
|
15239
|
+
this.addMappedUnique(uniqueKey, objectArg);
|
|
15240
|
+
this.eventSubject.next({
|
|
15241
|
+
operation: "add",
|
|
15242
|
+
payload: objectArg
|
|
15243
|
+
});
|
|
15244
|
+
return uniqueKey;
|
|
15245
|
+
}
|
|
15246
|
+
addArray(objectArrayArg) {
|
|
15247
|
+
for (const item of objectArrayArg) {
|
|
15248
|
+
this.add(item);
|
|
15249
|
+
}
|
|
15250
|
+
}
|
|
15251
|
+
checkForObject(objectArg) {
|
|
15252
|
+
return !!this.getKeyForObject(objectArg);
|
|
15253
|
+
}
|
|
15254
|
+
getKeyForObject(objectArg) {
|
|
15255
|
+
let foundKey = null;
|
|
15256
|
+
for (const keyArg of this.fastMap.getKeys()) {
|
|
15257
|
+
if (!foundKey && this.fastMap.getByKey(keyArg) === objectArg) {
|
|
15258
|
+
foundKey = keyArg;
|
|
15259
|
+
} else {
|
|
15260
|
+
continue;
|
|
15261
|
+
}
|
|
15262
|
+
}
|
|
15263
|
+
return foundKey;
|
|
15264
|
+
}
|
|
15265
|
+
async find(findFunction) {
|
|
15266
|
+
return this.fastMap.find(findFunction);
|
|
12744
15267
|
}
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
|
|
15268
|
+
findSync(findFunction) {
|
|
15269
|
+
for (const keyArg of this.fastMap.getKeys()) {
|
|
15270
|
+
if (findFunction(this.fastMap.getByKey(keyArg))) {
|
|
15271
|
+
return this.getMappedUnique(keyArg);
|
|
15272
|
+
}
|
|
15273
|
+
}
|
|
12751
15274
|
}
|
|
12752
|
-
|
|
12753
|
-
|
|
12754
|
-
|
|
12755
|
-
|
|
12756
|
-
set title(titleArg) {
|
|
12757
|
-
this.titleStore = titleArg;
|
|
12758
|
-
if (this.state === "enabled") {
|
|
12759
|
-
document.title = this.titleStore;
|
|
15275
|
+
async findOneAndRemove(findFunction) {
|
|
15276
|
+
const foundElement = await this.find(findFunction);
|
|
15277
|
+
if (foundElement) {
|
|
15278
|
+
this.remove(foundElement);
|
|
12760
15279
|
}
|
|
15280
|
+
return foundElement;
|
|
12761
15281
|
}
|
|
12762
|
-
|
|
12763
|
-
|
|
15282
|
+
findOneAndRemoveSync(findFunction) {
|
|
15283
|
+
const foundElement = this.findSync(findFunction);
|
|
15284
|
+
if (foundElement) {
|
|
15285
|
+
this.remove(foundElement);
|
|
15286
|
+
}
|
|
15287
|
+
return foundElement;
|
|
12764
15288
|
}
|
|
12765
|
-
|
|
12766
|
-
this.
|
|
12767
|
-
|
|
12768
|
-
|
|
15289
|
+
async forEach(functionArg) {
|
|
15290
|
+
for (const keyArg of this.fastMap.getKeys()) {
|
|
15291
|
+
await functionArg(this.fastMap.getByKey(keyArg));
|
|
15292
|
+
}
|
|
12769
15293
|
}
|
|
12770
|
-
|
|
12771
|
-
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
}
|
|
15294
|
+
getOneAndRemove() {
|
|
15295
|
+
const keys = this.fastMap.getKeys();
|
|
15296
|
+
if (keys.length === 0) {
|
|
15297
|
+
return null;
|
|
12775
15298
|
} else {
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
|
|
12779
|
-
|
|
15299
|
+
const keyToUse = keys[0];
|
|
15300
|
+
const removedItem = this.fastMap.removeFromMap(keyToUse);
|
|
15301
|
+
this.eventSubject.next({
|
|
15302
|
+
operation: "remove",
|
|
15303
|
+
payload: removedItem
|
|
15304
|
+
});
|
|
15305
|
+
return removedItem;
|
|
12780
15306
|
}
|
|
12781
15307
|
}
|
|
12782
|
-
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
this.addTag(new OpengraphTag("business:contact_data:street_address", `${companyDataArg.contact.address.streetName} ${companyDataArg.contact.address.houseNumber}`));
|
|
12789
|
-
this.addTag(new OpengraphTag("business:contact_data:locality", companyDataArg.contact.address.postalCode));
|
|
12790
|
-
this.addTag(new OpengraphTag("business:contact_data:region", companyDataArg.contact.address.city));
|
|
12791
|
-
this.addTag(new OpengraphTag("business:contact_data:postal_code", companyDataArg.contact.address.postalCode));
|
|
12792
|
-
this.addTag(new OpengraphTag("business:contact_data:country_name", companyDataArg.contact.address.country));
|
|
12793
|
-
}
|
|
12794
|
-
addNewsArticleInfo(articleArg) {
|
|
12795
|
-
this.addTag(JsonLdTag.createNewsArticleJsonLd(articleArg));
|
|
12796
|
-
this.addTag(OpengraphTag.createNewsArticleOgTags(articleArg));
|
|
15308
|
+
getArray() {
|
|
15309
|
+
const returnArray = [];
|
|
15310
|
+
for (const keyArg of this.fastMap.getKeys()) {
|
|
15311
|
+
returnArray.push(this.fastMap.getByKey(keyArg));
|
|
15312
|
+
}
|
|
15313
|
+
return returnArray;
|
|
12797
15314
|
}
|
|
12798
|
-
|
|
12799
|
-
this.
|
|
12800
|
-
this.addTag(OpengraphTag.createProductOgTags(productArg));
|
|
15315
|
+
isEmpty() {
|
|
15316
|
+
return this.fastMap.getKeys().length === 0;
|
|
12801
15317
|
}
|
|
12802
|
-
|
|
12803
|
-
if (this.
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
15318
|
+
remove(objectArg) {
|
|
15319
|
+
if (this.checkForObject(objectArg)) {
|
|
15320
|
+
const keyArg = this.getKeyForObject(objectArg);
|
|
15321
|
+
const removedObject = this.fastMap.removeFromMap(keyArg);
|
|
15322
|
+
this.eventSubject.next({
|
|
15323
|
+
operation: "remove",
|
|
15324
|
+
payload: removedObject
|
|
15325
|
+
});
|
|
15326
|
+
return removedObject;
|
|
12808
15327
|
}
|
|
12809
|
-
|
|
15328
|
+
return null;
|
|
12810
15329
|
}
|
|
12811
|
-
|
|
12812
|
-
for (const
|
|
12813
|
-
|
|
15330
|
+
wipe() {
|
|
15331
|
+
for (const keyArg of this.fastMap.getKeys()) {
|
|
15332
|
+
this.fastMap.removeFromMap(keyArg);
|
|
12814
15333
|
}
|
|
12815
|
-
this.state = "disabled";
|
|
12816
15334
|
}
|
|
12817
|
-
|
|
12818
|
-
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
|
|
12824
|
-
|
|
12825
|
-
metaElement.content = contentArg;
|
|
12826
|
-
this.elementRef = metaElement;
|
|
15335
|
+
concat(objectMapArg) {
|
|
15336
|
+
const concattedObjectMap = new ObjectMap2();
|
|
15337
|
+
concattedObjectMap.fastMap.addAllFromOther(this.fastMap);
|
|
15338
|
+
concattedObjectMap.fastMap.addAllFromOther(objectMapArg.fastMap);
|
|
15339
|
+
return concattedObjectMap;
|
|
15340
|
+
}
|
|
15341
|
+
addAllFromOther(objectMapArg) {
|
|
15342
|
+
this.fastMap.addAllFromOther(objectMapArg.fastMap);
|
|
12827
15343
|
}
|
|
12828
15344
|
};
|
|
12829
15345
|
|
|
12830
|
-
// node_modules/.pnpm/@
|
|
12831
|
-
var
|
|
15346
|
+
// node_modules/.pnpm/@push.rocks+lik@6.0.2/node_modules/@push.rocks/lik/dist_ts/lik.stringmap.js
|
|
15347
|
+
var Stringmap2 = class {
|
|
12832
15348
|
constructor() {
|
|
12833
|
-
this.
|
|
12834
|
-
this.
|
|
15349
|
+
this._stringArray = [];
|
|
15350
|
+
this._triggerUntilTrueFunctionArray = [];
|
|
12835
15351
|
}
|
|
12836
|
-
|
|
12837
|
-
this.
|
|
12838
|
-
this.
|
|
12839
|
-
if (metaObjectArg.twitterHandle) {
|
|
12840
|
-
this.globalLevel.addTag(new MetaTag("twitter:card", "summary_large_image"));
|
|
12841
|
-
this.globalLevel.addTag(new MetaTag("twitter:site", metaObjectArg.twitterHandle));
|
|
12842
|
-
this.globalLevel.addTag(new MetaTag("twitter:creator", metaObjectArg.twitterHandle));
|
|
12843
|
-
}
|
|
12844
|
-
this.baseLevel.title = metaObjectArg.title;
|
|
12845
|
-
if (metaObjectArg.description) {
|
|
12846
|
-
this.baseLevel.addTag(new MetaTag("description", metaObjectArg.description));
|
|
12847
|
-
}
|
|
12848
|
-
if (metaObjectArg.canonicalDomain) {
|
|
12849
|
-
this.baseLevel.addTag(new MetaTag("canonical", metaObjectArg.canonicalDomain));
|
|
12850
|
-
}
|
|
12851
|
-
switch (true) {
|
|
12852
|
-
case (metaObjectArg.ldCompany && !metaObjectArg.ldProduct):
|
|
12853
|
-
this.baseLevel.addCompanyInfo(metaObjectArg.ldCompany);
|
|
12854
|
-
break;
|
|
12855
|
-
case !!metaObjectArg.ldProduct:
|
|
12856
|
-
this.baseLevel.addProductInfo(metaObjectArg.ldProduct, metaObjectArg.ldCompany);
|
|
12857
|
-
break;
|
|
12858
|
-
}
|
|
12859
|
-
await this.globalLevel.enable();
|
|
12860
|
-
this.activeLevel = this.baseLevel;
|
|
12861
|
-
await this.activeLevel.enable();
|
|
15352
|
+
addString(stringArg) {
|
|
15353
|
+
this._stringArray.push(stringArg);
|
|
15354
|
+
this.notifyTrigger();
|
|
12862
15355
|
}
|
|
12863
|
-
|
|
12864
|
-
const
|
|
12865
|
-
|
|
12866
|
-
if (metaObjectArg.description) {
|
|
12867
|
-
subPageLevel.addTag(new MetaTag("description", metaObjectArg.description));
|
|
15356
|
+
addStringArray(stringArrayArg) {
|
|
15357
|
+
for (const stringItem of stringArrayArg) {
|
|
15358
|
+
this.addString(stringItem);
|
|
12868
15359
|
}
|
|
12869
|
-
await this.activeLevel.disable();
|
|
12870
|
-
this.activeLevel = subPageLevel;
|
|
12871
|
-
await this.activeLevel.enable();
|
|
12872
|
-
return subPageLevel;
|
|
12873
15360
|
}
|
|
12874
|
-
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
15361
|
+
removeString(stringArg) {
|
|
15362
|
+
for (const keyArg in this._stringArray) {
|
|
15363
|
+
if (this._stringArray[keyArg] === stringArg) {
|
|
15364
|
+
this._stringArray.splice(parseInt(keyArg), 1);
|
|
15365
|
+
}
|
|
12879
15366
|
}
|
|
15367
|
+
this.notifyTrigger();
|
|
12880
15368
|
}
|
|
12881
|
-
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
var WebSetup = class {
|
|
12885
|
-
constructor(optionsArg) {
|
|
12886
|
-
this.tagManager = new TagManager();
|
|
12887
|
-
this.readyDeferred = dist_ts_exports5.defer();
|
|
12888
|
-
this.readyForSmartssrDeferred = dist_ts_exports5.defer();
|
|
12889
|
-
this.readyPromise = this.readyDeferred.promise;
|
|
12890
|
-
this.readyForSmartssrPromise = this.readyForSmartssrDeferred.promise;
|
|
12891
|
-
this.options = optionsArg;
|
|
12892
|
-
this.setup().then(() => {
|
|
12893
|
-
this.readyDeferred.resolve();
|
|
12894
|
-
if (!this.options.smartssrWaitForReadySignal) {
|
|
12895
|
-
this.readyForSmartssrDeferred.resolve();
|
|
12896
|
-
}
|
|
12897
|
-
});
|
|
15369
|
+
wipe() {
|
|
15370
|
+
this._stringArray = [];
|
|
15371
|
+
this.notifyTrigger();
|
|
12898
15372
|
}
|
|
12899
|
-
|
|
12900
|
-
|
|
12901
|
-
|
|
15373
|
+
checkString(stringArg) {
|
|
15374
|
+
return this._stringArray.indexOf(stringArg) !== -1;
|
|
15375
|
+
}
|
|
15376
|
+
checkMinimatch(miniMatchStringArg) {
|
|
15377
|
+
const smartMatchInstance = new dist_ts_exports.SmartMatch(miniMatchStringArg);
|
|
15378
|
+
let foundMatch = false;
|
|
15379
|
+
for (const stringItem of this._stringArray) {
|
|
15380
|
+
if (smartMatchInstance.match(stringItem)) {
|
|
15381
|
+
foundMatch = true;
|
|
15382
|
+
}
|
|
12902
15383
|
}
|
|
12903
|
-
|
|
15384
|
+
return foundMatch;
|
|
12904
15385
|
}
|
|
12905
|
-
|
|
12906
|
-
this.
|
|
15386
|
+
checkIsEmpty() {
|
|
15387
|
+
return this._stringArray.length === 0;
|
|
12907
15388
|
}
|
|
12908
|
-
|
|
12909
|
-
const
|
|
12910
|
-
|
|
15389
|
+
getStringArray() {
|
|
15390
|
+
const returnArray = [];
|
|
15391
|
+
for (const stringItem of this._stringArray) {
|
|
15392
|
+
returnArray.push(stringItem);
|
|
15393
|
+
}
|
|
15394
|
+
return returnArray;
|
|
12911
15395
|
}
|
|
12912
|
-
|
|
15396
|
+
registerUntilTrue(functionArg, callbackArg) {
|
|
15397
|
+
const trueDeferred = smartpromise6.defer();
|
|
15398
|
+
this._triggerUntilTrueFunctionArray.push(() => {
|
|
15399
|
+
const result = functionArg(this.getStringArray());
|
|
15400
|
+
if (result === true) {
|
|
15401
|
+
if (callbackArg) {
|
|
15402
|
+
callbackArg();
|
|
15403
|
+
}
|
|
15404
|
+
trueDeferred.resolve();
|
|
15405
|
+
}
|
|
15406
|
+
return result;
|
|
15407
|
+
});
|
|
15408
|
+
this.notifyTrigger();
|
|
15409
|
+
return trueDeferred.promise;
|
|
12913
15410
|
}
|
|
12914
|
-
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
}
|
|
12918
|
-
this.
|
|
15411
|
+
notifyTrigger() {
|
|
15412
|
+
const filteredArray = this._triggerUntilTrueFunctionArray.filter((functionArg) => {
|
|
15413
|
+
return !functionArg();
|
|
15414
|
+
});
|
|
15415
|
+
this._triggerUntilTrueFunctionArray = filteredArray;
|
|
12919
15416
|
}
|
|
12920
15417
|
};
|
|
12921
15418
|
|
|
12922
15419
|
// ts/domtools.plugins.ts
|
|
12923
15420
|
var import_sweet_scroll = __toESM(require_sweet_scroll(), 1);
|
|
12924
15421
|
var lik = {
|
|
12925
|
-
ObjectMap,
|
|
12926
|
-
Stringmap,
|
|
12927
|
-
FastMap
|
|
15422
|
+
ObjectMap: ObjectMap2,
|
|
15423
|
+
Stringmap: Stringmap2,
|
|
15424
|
+
FastMap: FastMap2
|
|
12928
15425
|
};
|
|
12929
15426
|
|
|
12930
15427
|
// ts/domtools.css.breakpoints.ts
|
|
@@ -13588,7 +16085,7 @@ var ThemeManager = class {
|
|
|
13588
16085
|
constructor(domtoolsRefArg) {
|
|
13589
16086
|
this.goBrightBoolean = false;
|
|
13590
16087
|
this.preferredColorSchemeMediaMatch = window.matchMedia("(prefers-color-scheme: light)");
|
|
13591
|
-
this.themeObservable = new
|
|
16088
|
+
this.themeObservable = new dist_ts_exports19.rxjs.ReplaySubject(1);
|
|
13592
16089
|
this.domtoolsRef = domtoolsRefArg;
|
|
13593
16090
|
this.goBrightBoolean = this.preferredColorSchemeMediaMatch.matches;
|
|
13594
16091
|
this.preferredColorSchemeMediaMatch.addEventListener("change", (eventArg) => {
|
|
@@ -13751,7 +16248,7 @@ var Keyboard = class {
|
|
|
13751
16248
|
this.startListening();
|
|
13752
16249
|
}
|
|
13753
16250
|
on(keys) {
|
|
13754
|
-
const subject = new
|
|
16251
|
+
const subject = new dist_ts_exports19.rxjs.Subject();
|
|
13755
16252
|
this.registerKeys(keys, subject);
|
|
13756
16253
|
return subject;
|
|
13757
16254
|
}
|
|
@@ -13815,27 +16312,27 @@ var DomTools3 = class {
|
|
|
13815
16312
|
title: "loading..."
|
|
13816
16313
|
}
|
|
13817
16314
|
});
|
|
13818
|
-
this.smartstate = new
|
|
16315
|
+
this.smartstate = new dist_ts_exports21.Smartstate();
|
|
13819
16316
|
this.domToolsStatePart = this.smartstate.getStatePart("domtools", {
|
|
13820
16317
|
virtualViewport: "native",
|
|
13821
16318
|
jwt: null
|
|
13822
16319
|
});
|
|
13823
|
-
this.router = new
|
|
16320
|
+
this.router = new dist_ts_exports18.SmartRouter({
|
|
13824
16321
|
debug: false
|
|
13825
16322
|
});
|
|
13826
16323
|
this.convenience = {
|
|
13827
16324
|
typedrequest: dist_ts_exports13,
|
|
13828
|
-
smartdelay:
|
|
13829
|
-
smartjson:
|
|
13830
|
-
smarturl:
|
|
16325
|
+
smartdelay: dist_ts_exports15,
|
|
16326
|
+
smartjson: dist_ts_exports16,
|
|
16327
|
+
smarturl: dist_ts_exports22
|
|
13831
16328
|
};
|
|
13832
16329
|
this.deesComms = new dist_ts_exports14.DeesComms();
|
|
13833
16330
|
this.scroller = new import_sweet_scroll.default({});
|
|
13834
16331
|
this.themeManager = new ThemeManager(this);
|
|
13835
16332
|
this.keyboard = new Keyboard(document.body);
|
|
13836
|
-
this.domToolsReady =
|
|
13837
|
-
this.domReady =
|
|
13838
|
-
this.globalStylesReady =
|
|
16333
|
+
this.domToolsReady = dist_ts_exports17.defer();
|
|
16334
|
+
this.domReady = dist_ts_exports17.defer();
|
|
16335
|
+
this.globalStylesReady = dist_ts_exports17.defer();
|
|
13839
16336
|
this.runOnceTrackerStringMap = new lik.Stringmap();
|
|
13840
16337
|
this.runOnceResultMap = new lik.FastMap();
|
|
13841
16338
|
}
|
|
@@ -13895,7 +16392,7 @@ var DomTools3 = class {
|
|
|
13895
16392
|
}
|
|
13896
16393
|
async setExternalScript(scriptLinkArg) {
|
|
13897
16394
|
await this.domReady.promise;
|
|
13898
|
-
const done =
|
|
16395
|
+
const done = dist_ts_exports17.defer();
|
|
13899
16396
|
const script = document.createElement("script");
|
|
13900
16397
|
script.src = scriptLinkArg;
|
|
13901
16398
|
script.addEventListener("load", function() {
|
|
@@ -13945,7 +16442,7 @@ var globalBaseStyles = i`
|
|
|
13945
16442
|
/* global body styles */
|
|
13946
16443
|
body {
|
|
13947
16444
|
margin: 0px;
|
|
13948
|
-
font-family: 'Inter', sans-serif;
|
|
16445
|
+
font-family: 'Mona Sans', 'Inter', sans-serif;
|
|
13949
16446
|
box-sizing: border-box;
|
|
13950
16447
|
}
|
|
13951
16448
|
|
|
@@ -13962,7 +16459,7 @@ var staticStyles = i`
|
|
|
13962
16459
|
|
|
13963
16460
|
:host {
|
|
13964
16461
|
box-sizing: border-box;
|
|
13965
|
-
font-family: 'Inter', sans-serif;
|
|
16462
|
+
font-family: 'Mona Sans', 'Inter', sans-serif;
|
|
13966
16463
|
}
|
|
13967
16464
|
|
|
13968
16465
|
${r(scrollBarStyles)}
|
|
@@ -13975,7 +16472,7 @@ var styles = x`
|
|
|
13975
16472
|
}
|
|
13976
16473
|
|
|
13977
16474
|
:host {
|
|
13978
|
-
font-family: 'Inter', sans-serif;
|
|
16475
|
+
font-family: 'Mona Sans', 'Inter', sans-serif;
|
|
13979
16476
|
}
|
|
13980
16477
|
|
|
13981
16478
|
${scrollBarStyles}
|
|
@@ -14006,10 +16503,10 @@ var cssGridColumns = (amountOfColumnsArg, gapSizeArg) => {
|
|
|
14006
16503
|
|
|
14007
16504
|
// ts/index.ts
|
|
14008
16505
|
var plugins3 = {
|
|
14009
|
-
smartdelay:
|
|
14010
|
-
smartpromise:
|
|
16506
|
+
smartdelay: dist_ts_exports15,
|
|
16507
|
+
smartpromise: dist_ts_exports17,
|
|
14011
16508
|
SweetScroll: import_sweet_scroll.default,
|
|
14012
|
-
smartstate:
|
|
16509
|
+
smartstate: dist_ts_exports21
|
|
14013
16510
|
};
|
|
14014
16511
|
export {
|
|
14015
16512
|
DomTools3 as DomTools,
|
|
@@ -14018,7 +16515,7 @@ export {
|
|
|
14018
16515
|
domtools_css_exports as css,
|
|
14019
16516
|
domtools_elementbasic_exports as elementBasic,
|
|
14020
16517
|
plugins3 as plugins,
|
|
14021
|
-
|
|
16518
|
+
smartrx_plugins_rxjs_exports2 as rxjs
|
|
14022
16519
|
};
|
|
14023
16520
|
/*!
|
|
14024
16521
|
* The buffer module from node.js, for the browser.
|