@rfranzoi/scrypted-mqtt-securitysystem 1.0.55 → 1.0.57
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.
Potentially problematic release.
This version of @rfranzoi/scrypted-mqtt-securitysystem might be problematic. Click here for more details.
- package/dist/main.nodejs.js +1009 -721
- package/dist/plugin.zip +0 -0
- package/package.json +2 -2
package/dist/main.nodejs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/ "./node_modules/@scrypted/sdk/dist/src sync recursive"
|
|
4
|
+
/***/ "./node_modules/@scrypted/sdk/dist/src sync recursive"
|
|
5
5
|
/*!***************************************************!*\
|
|
6
6
|
!*** ./node_modules/@scrypted/sdk/dist/src/ sync ***!
|
|
7
7
|
\***************************************************/
|
|
8
|
-
|
|
8
|
+
(module) {
|
|
9
9
|
|
|
10
10
|
function webpackEmptyContext(req) {
|
|
11
11
|
var e = new Error("Cannot find module '" + req + "'");
|
|
@@ -17,13 +17,13 @@ webpackEmptyContext.resolve = webpackEmptyContext;
|
|
|
17
17
|
webpackEmptyContext.id = "./node_modules/@scrypted/sdk/dist/src sync recursive";
|
|
18
18
|
module.exports = webpackEmptyContext;
|
|
19
19
|
|
|
20
|
-
/***/ }
|
|
20
|
+
/***/ },
|
|
21
21
|
|
|
22
|
-
/***/ "./node_modules/@scrypted/sdk/dist/src/index.js"
|
|
22
|
+
/***/ "./node_modules/@scrypted/sdk/dist/src/index.js"
|
|
23
23
|
/*!******************************************************!*\
|
|
24
24
|
!*** ./node_modules/@scrypted/sdk/dist/src/index.js ***!
|
|
25
25
|
\******************************************************/
|
|
26
|
-
|
|
26
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
27
27
|
|
|
28
28
|
"use strict";
|
|
29
29
|
|
|
@@ -279,19 +279,19 @@ catch (e) {
|
|
|
279
279
|
exports["default"] = exports.sdk;
|
|
280
280
|
//# sourceMappingURL=index.js.map
|
|
281
281
|
|
|
282
|
-
/***/ }
|
|
282
|
+
/***/ },
|
|
283
283
|
|
|
284
|
-
/***/ "./node_modules/@scrypted/sdk/dist/types/gen/index.js"
|
|
284
|
+
/***/ "./node_modules/@scrypted/sdk/dist/types/gen/index.js"
|
|
285
285
|
/*!************************************************************!*\
|
|
286
286
|
!*** ./node_modules/@scrypted/sdk/dist/types/gen/index.js ***!
|
|
287
287
|
\************************************************************/
|
|
288
|
-
|
|
288
|
+
(__unused_webpack_module, exports) {
|
|
289
289
|
|
|
290
290
|
"use strict";
|
|
291
291
|
|
|
292
292
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
293
293
|
exports.ScryptedMimeTypes = exports.ScryptedInterface = exports.MediaPlayerState = exports.SecuritySystemObstruction = exports.SecuritySystemMode = exports.AirQuality = exports.AirPurifierMode = exports.AirPurifierStatus = exports.ChargeState = exports.LockState = exports.PanTiltZoomMovement = exports.ThermostatMode = exports.TemperatureUnit = exports.FanMode = exports.HumidityMode = exports.ScryptedDeviceType = exports.ScryptedInterfaceDescriptors = exports.ScryptedInterfaceMethod = exports.ScryptedInterfaceProperty = exports.DeviceBase = exports.TYPES_VERSION = void 0;
|
|
294
|
-
exports.TYPES_VERSION = "0.5.
|
|
294
|
+
exports.TYPES_VERSION = "0.5.51";
|
|
295
295
|
class DeviceBase {
|
|
296
296
|
}
|
|
297
297
|
exports.DeviceBase = DeviceBase;
|
|
@@ -326,6 +326,7 @@ var ScryptedInterfaceProperty;
|
|
|
326
326
|
ScryptedInterfaceProperty["temperature"] = "temperature";
|
|
327
327
|
ScryptedInterfaceProperty["temperatureUnit"] = "temperatureUnit";
|
|
328
328
|
ScryptedInterfaceProperty["humidity"] = "humidity";
|
|
329
|
+
ScryptedInterfaceProperty["resolution"] = "resolution";
|
|
329
330
|
ScryptedInterfaceProperty["audioVolumes"] = "audioVolumes";
|
|
330
331
|
ScryptedInterfaceProperty["recordingActive"] = "recordingActive";
|
|
331
332
|
ScryptedInterfaceProperty["ptzCapabilities"] = "ptzCapabilities";
|
|
@@ -664,6 +665,13 @@ exports.ScryptedInterfaceDescriptors = {
|
|
|
664
665
|
],
|
|
665
666
|
"properties": []
|
|
666
667
|
},
|
|
668
|
+
"Resolution": {
|
|
669
|
+
"name": "Resolution",
|
|
670
|
+
"methods": [],
|
|
671
|
+
"properties": [
|
|
672
|
+
"resolution"
|
|
673
|
+
]
|
|
674
|
+
},
|
|
667
675
|
"Microphone": {
|
|
668
676
|
"name": "Microphone",
|
|
669
677
|
"methods": [
|
|
@@ -1331,6 +1339,7 @@ var ScryptedDeviceType;
|
|
|
1331
1339
|
ScryptedDeviceType["DeviceProvider"] = "DeviceProvider";
|
|
1332
1340
|
ScryptedDeviceType["DataSource"] = "DataSource";
|
|
1333
1341
|
ScryptedDeviceType["API"] = "API";
|
|
1342
|
+
ScryptedDeviceType["Buttons"] = "Buttons";
|
|
1334
1343
|
ScryptedDeviceType["Doorbell"] = "Doorbell";
|
|
1335
1344
|
ScryptedDeviceType["Irrigation"] = "Irrigation";
|
|
1336
1345
|
ScryptedDeviceType["Valve"] = "Valve";
|
|
@@ -1458,6 +1467,7 @@ var ScryptedInterface;
|
|
|
1458
1467
|
ScryptedInterface["Thermometer"] = "Thermometer";
|
|
1459
1468
|
ScryptedInterface["HumiditySensor"] = "HumiditySensor";
|
|
1460
1469
|
ScryptedInterface["Camera"] = "Camera";
|
|
1470
|
+
ScryptedInterface["Resolution"] = "Resolution";
|
|
1461
1471
|
ScryptedInterface["Microphone"] = "Microphone";
|
|
1462
1472
|
ScryptedInterface["AudioVolumeControl"] = "AudioVolumeControl";
|
|
1463
1473
|
ScryptedInterface["Display"] = "Display";
|
|
@@ -1562,13 +1572,13 @@ var ScryptedMimeTypes;
|
|
|
1562
1572
|
})(ScryptedMimeTypes || (exports.ScryptedMimeTypes = ScryptedMimeTypes = {}));
|
|
1563
1573
|
//# sourceMappingURL=index.js.map
|
|
1564
1574
|
|
|
1565
|
-
/***/ }
|
|
1575
|
+
/***/ },
|
|
1566
1576
|
|
|
1567
|
-
/***/ "./node_modules/abort-controller/dist/abort-controller.js"
|
|
1577
|
+
/***/ "./node_modules/abort-controller/dist/abort-controller.js"
|
|
1568
1578
|
/*!****************************************************************!*\
|
|
1569
1579
|
!*** ./node_modules/abort-controller/dist/abort-controller.js ***!
|
|
1570
1580
|
\****************************************************************/
|
|
1571
|
-
|
|
1581
|
+
(module, exports, __webpack_require__) {
|
|
1572
1582
|
|
|
1573
1583
|
"use strict";
|
|
1574
1584
|
/**
|
|
@@ -1700,13 +1710,13 @@ module.exports.AbortSignal = AbortSignal
|
|
|
1700
1710
|
//# sourceMappingURL=abort-controller.js.map
|
|
1701
1711
|
|
|
1702
1712
|
|
|
1703
|
-
/***/ }
|
|
1713
|
+
/***/ },
|
|
1704
1714
|
|
|
1705
|
-
/***/ "./node_modules/bl/BufferList.js"
|
|
1715
|
+
/***/ "./node_modules/bl/BufferList.js"
|
|
1706
1716
|
/*!***************************************!*\
|
|
1707
1717
|
!*** ./node_modules/bl/BufferList.js ***!
|
|
1708
1718
|
\***************************************/
|
|
1709
|
-
|
|
1719
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
1710
1720
|
|
|
1711
1721
|
"use strict";
|
|
1712
1722
|
|
|
@@ -2132,13 +2142,13 @@ BufferList.isBufferList = function isBufferList (b) {
|
|
|
2132
2142
|
module.exports = BufferList
|
|
2133
2143
|
|
|
2134
2144
|
|
|
2135
|
-
/***/ }
|
|
2145
|
+
/***/ },
|
|
2136
2146
|
|
|
2137
|
-
/***/ "./node_modules/bl/bl.js"
|
|
2147
|
+
/***/ "./node_modules/bl/bl.js"
|
|
2138
2148
|
/*!*******************************!*\
|
|
2139
2149
|
!*** ./node_modules/bl/bl.js ***!
|
|
2140
2150
|
\*******************************/
|
|
2141
|
-
|
|
2151
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
2142
2152
|
|
|
2143
2153
|
"use strict";
|
|
2144
2154
|
|
|
@@ -2227,52 +2237,113 @@ module.exports.BufferListStream = BufferListStream
|
|
|
2227
2237
|
module.exports.BufferList = BufferList
|
|
2228
2238
|
|
|
2229
2239
|
|
|
2230
|
-
/***/ }
|
|
2240
|
+
/***/ },
|
|
2231
2241
|
|
|
2232
|
-
/***/ "./node_modules/broker-factory/build/es2019/
|
|
2233
|
-
|
|
2234
|
-
!*** ./node_modules/broker-factory/build/es2019/
|
|
2235
|
-
|
|
2236
|
-
|
|
2242
|
+
/***/ "./node_modules/broker-factory/build/es2019/factories/create-broker.js"
|
|
2243
|
+
/*!*****************************************************************************!*\
|
|
2244
|
+
!*** ./node_modules/broker-factory/build/es2019/factories/create-broker.js ***!
|
|
2245
|
+
\*****************************************************************************/
|
|
2246
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2237
2247
|
|
|
2238
2248
|
"use strict";
|
|
2239
2249
|
__webpack_require__.r(__webpack_exports__);
|
|
2240
2250
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2241
|
-
/* harmony export */
|
|
2251
|
+
/* harmony export */ createBrokerFactory: () => (/* binding */ createBrokerFactory)
|
|
2242
2252
|
/* harmony export */ });
|
|
2243
|
-
const
|
|
2244
|
-
|
|
2253
|
+
const createBrokerFactory = (createOrGetOngoingRequests, extendBrokerImplementation, generateUniqueNumber, isMessagePort) => (brokerImplementation) => {
|
|
2254
|
+
const fullBrokerImplementation = extendBrokerImplementation(brokerImplementation);
|
|
2255
|
+
return (sender) => {
|
|
2256
|
+
const ongoingRequests = createOrGetOngoingRequests(sender);
|
|
2257
|
+
sender.addEventListener('message', (({ data: message }) => {
|
|
2258
|
+
const { id } = message;
|
|
2259
|
+
if (id !== null && ongoingRequests.has(id)) {
|
|
2260
|
+
const { reject, resolve } = ongoingRequests.get(id);
|
|
2261
|
+
ongoingRequests.delete(id);
|
|
2262
|
+
if (message.error === undefined) {
|
|
2263
|
+
resolve(message.result);
|
|
2264
|
+
}
|
|
2265
|
+
else {
|
|
2266
|
+
reject(new Error(message.error.message));
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
}));
|
|
2270
|
+
if (isMessagePort(sender)) {
|
|
2271
|
+
sender.start();
|
|
2272
|
+
}
|
|
2273
|
+
const call = (method, params = null, transferables = []) => {
|
|
2274
|
+
return new Promise((resolve, reject) => {
|
|
2275
|
+
const id = generateUniqueNumber(ongoingRequests);
|
|
2276
|
+
ongoingRequests.set(id, { reject, resolve });
|
|
2277
|
+
if (params === null) {
|
|
2278
|
+
sender.postMessage({ id, method }, transferables);
|
|
2279
|
+
}
|
|
2280
|
+
else {
|
|
2281
|
+
sender.postMessage({ id, method, params }, transferables);
|
|
2282
|
+
}
|
|
2283
|
+
});
|
|
2284
|
+
};
|
|
2285
|
+
const notify = (method, params, transferables = []) => {
|
|
2286
|
+
sender.postMessage({ id: null, method, params }, transferables);
|
|
2287
|
+
};
|
|
2288
|
+
let functions = {};
|
|
2289
|
+
for (const [key, handler] of Object.entries(fullBrokerImplementation)) {
|
|
2290
|
+
functions = { ...functions, [key]: handler({ call, notify }) };
|
|
2291
|
+
}
|
|
2292
|
+
return { ...functions };
|
|
2293
|
+
};
|
|
2245
2294
|
};
|
|
2246
|
-
//# sourceMappingURL=
|
|
2295
|
+
//# sourceMappingURL=create-broker.js.map
|
|
2247
2296
|
|
|
2248
|
-
/***/ }
|
|
2297
|
+
/***/ },
|
|
2249
2298
|
|
|
2250
|
-
/***/ "./node_modules/broker-factory/build/es2019/
|
|
2251
|
-
|
|
2252
|
-
!*** ./node_modules/broker-factory/build/es2019/
|
|
2253
|
-
|
|
2254
|
-
|
|
2299
|
+
/***/ "./node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js"
|
|
2300
|
+
/*!**********************************************************************************************!*\
|
|
2301
|
+
!*** ./node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js ***!
|
|
2302
|
+
\**********************************************************************************************/
|
|
2303
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2255
2304
|
|
|
2256
2305
|
"use strict";
|
|
2257
2306
|
__webpack_require__.r(__webpack_exports__);
|
|
2258
2307
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2259
|
-
/* harmony export */
|
|
2308
|
+
/* harmony export */ createCreateOrGetOngoingRequests: () => (/* binding */ createCreateOrGetOngoingRequests)
|
|
2260
2309
|
/* harmony export */ });
|
|
2261
|
-
|
|
2310
|
+
const createCreateOrGetOngoingRequests = (ongoingRequestsMap) => (sender) => {
|
|
2311
|
+
if (ongoingRequestsMap.has(sender)) {
|
|
2312
|
+
// @todo TypeScript needs to be convinced that has() works as expected.
|
|
2313
|
+
return ongoingRequestsMap.get(sender);
|
|
2314
|
+
}
|
|
2315
|
+
const ongoingRequests = new Map();
|
|
2316
|
+
ongoingRequestsMap.set(sender, ongoingRequests);
|
|
2317
|
+
return ongoingRequests;
|
|
2318
|
+
};
|
|
2319
|
+
//# sourceMappingURL=create-or-get-ongoing-requests.js.map
|
|
2320
|
+
|
|
2321
|
+
/***/ },
|
|
2262
2322
|
|
|
2263
|
-
|
|
2323
|
+
/***/ "./node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js"
|
|
2324
|
+
/*!********************************************************************************************!*\
|
|
2325
|
+
!*** ./node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js ***!
|
|
2326
|
+
\********************************************************************************************/
|
|
2327
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2328
|
+
|
|
2329
|
+
"use strict";
|
|
2330
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2331
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2332
|
+
/* harmony export */ createExtendBrokerImplementation: () => (/* binding */ createExtendBrokerImplementation)
|
|
2333
|
+
/* harmony export */ });
|
|
2334
|
+
const createExtendBrokerImplementation = (portMap) => (partialBrokerImplementation) => ({
|
|
2264
2335
|
...partialBrokerImplementation,
|
|
2265
2336
|
connect: ({ call }) => {
|
|
2266
2337
|
return async () => {
|
|
2267
2338
|
const { port1, port2 } = new MessageChannel();
|
|
2268
2339
|
const portId = await call('connect', { port: port1 }, [port1]);
|
|
2269
|
-
|
|
2340
|
+
portMap.set(port2, portId);
|
|
2270
2341
|
return port2;
|
|
2271
2342
|
};
|
|
2272
2343
|
},
|
|
2273
2344
|
disconnect: ({ call }) => {
|
|
2274
2345
|
return async (port) => {
|
|
2275
|
-
const portId =
|
|
2346
|
+
const portId = portMap.get(port);
|
|
2276
2347
|
if (portId === undefined) {
|
|
2277
2348
|
throw new Error('The given port is not connected.');
|
|
2278
2349
|
}
|
|
@@ -2285,68 +2356,70 @@ const extendBrokerImplementation = (partialBrokerImplementation) => ({
|
|
|
2285
2356
|
});
|
|
2286
2357
|
//# sourceMappingURL=extend-broker-implementation.js.map
|
|
2287
2358
|
|
|
2288
|
-
/***/ }
|
|
2359
|
+
/***/ },
|
|
2289
2360
|
|
|
2290
|
-
/***/ "./node_modules/broker-factory/build/es2019/
|
|
2291
|
-
|
|
2292
|
-
!*** ./node_modules/broker-factory/build/es2019/
|
|
2293
|
-
|
|
2294
|
-
|
|
2361
|
+
/***/ "./node_modules/broker-factory/build/es2019/guards/message-port.js"
|
|
2362
|
+
/*!*************************************************************************!*\
|
|
2363
|
+
!*** ./node_modules/broker-factory/build/es2019/guards/message-port.js ***!
|
|
2364
|
+
\*************************************************************************/
|
|
2365
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2295
2366
|
|
|
2296
2367
|
"use strict";
|
|
2297
2368
|
__webpack_require__.r(__webpack_exports__);
|
|
2298
2369
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2299
|
-
/* harmony export */
|
|
2370
|
+
/* harmony export */ isMessagePort: () => (/* binding */ isMessagePort)
|
|
2300
2371
|
/* harmony export */ });
|
|
2301
|
-
const
|
|
2302
|
-
|
|
2372
|
+
const isMessagePort = (sender) => {
|
|
2373
|
+
return typeof sender.start === 'function';
|
|
2374
|
+
};
|
|
2375
|
+
//# sourceMappingURL=message-port.js.map
|
|
2303
2376
|
|
|
2304
|
-
/***/ }
|
|
2377
|
+
/***/ },
|
|
2305
2378
|
|
|
2306
|
-
/***/ "./node_modules/broker-factory/build/es2019/interfaces/broker-actions.js"
|
|
2379
|
+
/***/ "./node_modules/broker-factory/build/es2019/interfaces/broker-actions.js"
|
|
2307
2380
|
/*!*******************************************************************************!*\
|
|
2308
2381
|
!*** ./node_modules/broker-factory/build/es2019/interfaces/broker-actions.js ***!
|
|
2309
2382
|
\*******************************************************************************/
|
|
2310
|
-
|
|
2383
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2311
2384
|
|
|
2312
2385
|
"use strict";
|
|
2313
2386
|
__webpack_require__.r(__webpack_exports__);
|
|
2314
2387
|
|
|
2315
2388
|
//# sourceMappingURL=broker-actions.js.map
|
|
2316
2389
|
|
|
2317
|
-
/***/ }
|
|
2390
|
+
/***/ },
|
|
2318
2391
|
|
|
2319
|
-
/***/ "./node_modules/broker-factory/build/es2019/interfaces/broker-definition.js"
|
|
2392
|
+
/***/ "./node_modules/broker-factory/build/es2019/interfaces/broker-definition.js"
|
|
2320
2393
|
/*!**********************************************************************************!*\
|
|
2321
2394
|
!*** ./node_modules/broker-factory/build/es2019/interfaces/broker-definition.js ***!
|
|
2322
2395
|
\**********************************************************************************/
|
|
2323
|
-
|
|
2396
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2324
2397
|
|
|
2325
2398
|
"use strict";
|
|
2326
2399
|
__webpack_require__.r(__webpack_exports__);
|
|
2327
2400
|
|
|
2328
2401
|
//# sourceMappingURL=broker-definition.js.map
|
|
2329
2402
|
|
|
2330
|
-
/***/ }
|
|
2403
|
+
/***/ },
|
|
2331
2404
|
|
|
2332
|
-
/***/ "./node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js"
|
|
2405
|
+
/***/ "./node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js"
|
|
2333
2406
|
/*!******************************************************************************************!*\
|
|
2334
2407
|
!*** ./node_modules/broker-factory/build/es2019/interfaces/default-broker-definition.js ***!
|
|
2335
2408
|
\******************************************************************************************/
|
|
2336
|
-
|
|
2409
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2337
2410
|
|
|
2338
2411
|
"use strict";
|
|
2339
2412
|
__webpack_require__.r(__webpack_exports__);
|
|
2340
2413
|
|
|
2341
2414
|
//# sourceMappingURL=default-broker-definition.js.map
|
|
2342
2415
|
|
|
2343
|
-
/***/ }
|
|
2416
|
+
/***/ },
|
|
2344
2417
|
|
|
2345
|
-
/***/ "./node_modules/broker-factory/build/es2019/interfaces/index.js"
|
|
2418
|
+
/***/ "./node_modules/broker-factory/build/es2019/interfaces/index.js"
|
|
2346
2419
|
/*!**********************************************************************!*\
|
|
2347
2420
|
!*** ./node_modules/broker-factory/build/es2019/interfaces/index.js ***!
|
|
2348
2421
|
\**********************************************************************/
|
|
2349
|
-
|
|
2422
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2350
2423
|
|
|
2351
2424
|
"use strict";
|
|
2352
2425
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -2360,26 +2433,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2360
2433
|
|
|
2361
2434
|
//# sourceMappingURL=index.js.map
|
|
2362
2435
|
|
|
2363
|
-
/***/ }
|
|
2436
|
+
/***/ },
|
|
2364
2437
|
|
|
2365
|
-
/***/ "./node_modules/broker-factory/build/es2019/interfaces/worker-event.js"
|
|
2438
|
+
/***/ "./node_modules/broker-factory/build/es2019/interfaces/worker-event.js"
|
|
2366
2439
|
/*!*****************************************************************************!*\
|
|
2367
2440
|
!*** ./node_modules/broker-factory/build/es2019/interfaces/worker-event.js ***!
|
|
2368
2441
|
\*****************************************************************************/
|
|
2369
|
-
|
|
2442
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2370
2443
|
|
|
2371
2444
|
"use strict";
|
|
2372
2445
|
__webpack_require__.r(__webpack_exports__);
|
|
2373
2446
|
|
|
2374
2447
|
//# sourceMappingURL=worker-event.js.map
|
|
2375
2448
|
|
|
2376
|
-
/***/ }
|
|
2449
|
+
/***/ },
|
|
2377
2450
|
|
|
2378
|
-
/***/ "./node_modules/broker-factory/build/es2019/module.js"
|
|
2451
|
+
/***/ "./node_modules/broker-factory/build/es2019/module.js"
|
|
2379
2452
|
/*!************************************************************!*\
|
|
2380
2453
|
!*** ./node_modules/broker-factory/build/es2019/module.js ***!
|
|
2381
2454
|
\************************************************************/
|
|
2382
|
-
|
|
2455
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2383
2456
|
|
|
2384
2457
|
"use strict";
|
|
2385
2458
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -2387,10 +2460,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2387
2460
|
/* harmony export */ createBroker: () => (/* binding */ createBroker)
|
|
2388
2461
|
/* harmony export */ });
|
|
2389
2462
|
/* harmony import */ var fast_unique_numbers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! fast-unique-numbers */ "./node_modules/fast-unique-numbers/build/es2019/module.js");
|
|
2390
|
-
/* harmony import */ var
|
|
2391
|
-
/* harmony import */ var
|
|
2392
|
-
/* harmony import */ var
|
|
2393
|
-
/* harmony import */ var
|
|
2463
|
+
/* harmony import */ var _factories_create_broker__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./factories/create-broker */ "./node_modules/broker-factory/build/es2019/factories/create-broker.js");
|
|
2464
|
+
/* harmony import */ var _factories_create_or_get_ongoing_requests__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./factories/create-or-get-ongoing-requests */ "./node_modules/broker-factory/build/es2019/factories/create-or-get-ongoing-requests.js");
|
|
2465
|
+
/* harmony import */ var _factories_extend_broker_implementation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./factories/extend-broker-implementation */ "./node_modules/broker-factory/build/es2019/factories/extend-broker-implementation.js");
|
|
2466
|
+
/* harmony import */ var _guards_message_port__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./guards/message-port */ "./node_modules/broker-factory/build/es2019/guards/message-port.js");
|
|
2467
|
+
/* harmony import */ var _interfaces_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./interfaces/index */ "./node_modules/broker-factory/build/es2019/interfaces/index.js");
|
|
2468
|
+
/* harmony import */ var _types_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./types/index */ "./node_modules/broker-factory/build/es2019/types/index.js");
|
|
2469
|
+
|
|
2470
|
+
|
|
2394
2471
|
|
|
2395
2472
|
|
|
2396
2473
|
|
|
@@ -2400,80 +2477,29 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2400
2477
|
*/
|
|
2401
2478
|
|
|
2402
2479
|
|
|
2403
|
-
const
|
|
2404
|
-
const createOrGetOngoingRequests = (sender) => {
|
|
2405
|
-
if (ONGOING_REQUESTS.has(sender)) {
|
|
2406
|
-
// @todo TypeScript needs to be convinced that has() works as expected.
|
|
2407
|
-
return ONGOING_REQUESTS.get(sender);
|
|
2408
|
-
}
|
|
2409
|
-
const ongoingRequests = new Map();
|
|
2410
|
-
ONGOING_REQUESTS.set(sender, ongoingRequests);
|
|
2411
|
-
return ongoingRequests;
|
|
2412
|
-
};
|
|
2413
|
-
const createBroker = (brokerImplementation) => {
|
|
2414
|
-
const fullBrokerImplementation = (0,_helpers_extend_broker_implementation__WEBPACK_IMPORTED_MODULE_2__.extendBrokerImplementation)(brokerImplementation);
|
|
2415
|
-
return (sender) => {
|
|
2416
|
-
const ongoingRequests = createOrGetOngoingRequests(sender);
|
|
2417
|
-
sender.addEventListener('message', (({ data: message }) => {
|
|
2418
|
-
const { id } = message;
|
|
2419
|
-
if (id !== null && ongoingRequests.has(id)) {
|
|
2420
|
-
const { reject, resolve } = ongoingRequests.get(id);
|
|
2421
|
-
ongoingRequests.delete(id);
|
|
2422
|
-
if (message.error === undefined) {
|
|
2423
|
-
resolve(message.result);
|
|
2424
|
-
}
|
|
2425
|
-
else {
|
|
2426
|
-
reject(new Error(message.error.message));
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
}));
|
|
2430
|
-
if ((0,_guards_message_port__WEBPACK_IMPORTED_MODULE_1__.isMessagePort)(sender)) {
|
|
2431
|
-
sender.start();
|
|
2432
|
-
}
|
|
2433
|
-
const call = (method, params = null, transferables = []) => {
|
|
2434
|
-
return new Promise((resolve, reject) => {
|
|
2435
|
-
const id = (0,fast_unique_numbers__WEBPACK_IMPORTED_MODULE_0__.generateUniqueNumber)(ongoingRequests);
|
|
2436
|
-
ongoingRequests.set(id, { reject, resolve });
|
|
2437
|
-
if (params === null) {
|
|
2438
|
-
sender.postMessage({ id, method }, transferables);
|
|
2439
|
-
}
|
|
2440
|
-
else {
|
|
2441
|
-
sender.postMessage({ id, method, params }, transferables);
|
|
2442
|
-
}
|
|
2443
|
-
});
|
|
2444
|
-
};
|
|
2445
|
-
const notify = (method, params, transferables = []) => {
|
|
2446
|
-
sender.postMessage({ id: null, method, params }, transferables);
|
|
2447
|
-
};
|
|
2448
|
-
let functions = {};
|
|
2449
|
-
for (const [key, handler] of Object.entries(fullBrokerImplementation)) {
|
|
2450
|
-
functions = { ...functions, [key]: handler({ call, notify }) };
|
|
2451
|
-
}
|
|
2452
|
-
return { ...functions };
|
|
2453
|
-
};
|
|
2454
|
-
};
|
|
2480
|
+
const createBroker = (0,_factories_create_broker__WEBPACK_IMPORTED_MODULE_1__.createBrokerFactory)((0,_factories_create_or_get_ongoing_requests__WEBPACK_IMPORTED_MODULE_2__.createCreateOrGetOngoingRequests)(new WeakMap()), (0,_factories_extend_broker_implementation__WEBPACK_IMPORTED_MODULE_3__.createExtendBrokerImplementation)(new WeakMap()), fast_unique_numbers__WEBPACK_IMPORTED_MODULE_0__.generateUniqueNumber, _guards_message_port__WEBPACK_IMPORTED_MODULE_4__.isMessagePort);
|
|
2455
2481
|
//# sourceMappingURL=module.js.map
|
|
2456
2482
|
|
|
2457
|
-
/***/ }
|
|
2483
|
+
/***/ },
|
|
2458
2484
|
|
|
2459
|
-
/***/ "./node_modules/broker-factory/build/es2019/types/broker-implementation.js"
|
|
2485
|
+
/***/ "./node_modules/broker-factory/build/es2019/types/broker-implementation.js"
|
|
2460
2486
|
/*!*********************************************************************************!*\
|
|
2461
2487
|
!*** ./node_modules/broker-factory/build/es2019/types/broker-implementation.js ***!
|
|
2462
2488
|
\*********************************************************************************/
|
|
2463
|
-
|
|
2489
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2464
2490
|
|
|
2465
2491
|
"use strict";
|
|
2466
2492
|
__webpack_require__.r(__webpack_exports__);
|
|
2467
2493
|
|
|
2468
2494
|
//# sourceMappingURL=broker-implementation.js.map
|
|
2469
2495
|
|
|
2470
|
-
/***/ }
|
|
2496
|
+
/***/ },
|
|
2471
2497
|
|
|
2472
|
-
/***/ "./node_modules/broker-factory/build/es2019/types/index.js"
|
|
2498
|
+
/***/ "./node_modules/broker-factory/build/es2019/types/index.js"
|
|
2473
2499
|
/*!*****************************************************************!*\
|
|
2474
2500
|
!*** ./node_modules/broker-factory/build/es2019/types/index.js ***!
|
|
2475
2501
|
\*****************************************************************/
|
|
2476
|
-
|
|
2502
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2477
2503
|
|
|
2478
2504
|
"use strict";
|
|
2479
2505
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -2481,13 +2507,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2481
2507
|
|
|
2482
2508
|
//# sourceMappingURL=index.js.map
|
|
2483
2509
|
|
|
2484
|
-
/***/ }
|
|
2510
|
+
/***/ },
|
|
2485
2511
|
|
|
2486
|
-
/***/ "./node_modules/debug/src/browser.js"
|
|
2512
|
+
/***/ "./node_modules/debug/src/browser.js"
|
|
2487
2513
|
/*!*******************************************!*\
|
|
2488
2514
|
!*** ./node_modules/debug/src/browser.js ***!
|
|
2489
2515
|
\*******************************************/
|
|
2490
|
-
|
|
2516
|
+
(module, exports, __webpack_require__) {
|
|
2491
2517
|
|
|
2492
2518
|
/* eslint-env browser */
|
|
2493
2519
|
|
|
@@ -2763,13 +2789,13 @@ formatters.j = function (v) {
|
|
|
2763
2789
|
};
|
|
2764
2790
|
|
|
2765
2791
|
|
|
2766
|
-
/***/ }
|
|
2792
|
+
/***/ },
|
|
2767
2793
|
|
|
2768
|
-
/***/ "./node_modules/debug/src/common.js"
|
|
2794
|
+
/***/ "./node_modules/debug/src/common.js"
|
|
2769
2795
|
/*!******************************************!*\
|
|
2770
2796
|
!*** ./node_modules/debug/src/common.js ***!
|
|
2771
2797
|
\******************************************/
|
|
2772
|
-
|
|
2798
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
2773
2799
|
|
|
2774
2800
|
|
|
2775
2801
|
/**
|
|
@@ -3065,13 +3091,13 @@ function setup(env) {
|
|
|
3065
3091
|
module.exports = setup;
|
|
3066
3092
|
|
|
3067
3093
|
|
|
3068
|
-
/***/ }
|
|
3094
|
+
/***/ },
|
|
3069
3095
|
|
|
3070
|
-
/***/ "./node_modules/debug/src/index.js"
|
|
3096
|
+
/***/ "./node_modules/debug/src/index.js"
|
|
3071
3097
|
/*!*****************************************!*\
|
|
3072
3098
|
!*** ./node_modules/debug/src/index.js ***!
|
|
3073
3099
|
\*****************************************/
|
|
3074
|
-
|
|
3100
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
3075
3101
|
|
|
3076
3102
|
/**
|
|
3077
3103
|
* Detect Electron renderer / nwjs process, which is node, but we should
|
|
@@ -3085,13 +3111,13 @@ if (typeof process === 'undefined' || process.type === 'renderer' || process.bro
|
|
|
3085
3111
|
}
|
|
3086
3112
|
|
|
3087
3113
|
|
|
3088
|
-
/***/ }
|
|
3114
|
+
/***/ },
|
|
3089
3115
|
|
|
3090
|
-
/***/ "./node_modules/debug/src/node.js"
|
|
3116
|
+
/***/ "./node_modules/debug/src/node.js"
|
|
3091
3117
|
/*!****************************************!*\
|
|
3092
3118
|
!*** ./node_modules/debug/src/node.js ***!
|
|
3093
3119
|
\****************************************/
|
|
3094
|
-
|
|
3120
|
+
(module, exports, __webpack_require__) {
|
|
3095
3121
|
|
|
3096
3122
|
/**
|
|
3097
3123
|
* Module dependencies.
|
|
@@ -3358,13 +3384,13 @@ formatters.O = function (v) {
|
|
|
3358
3384
|
};
|
|
3359
3385
|
|
|
3360
3386
|
|
|
3361
|
-
/***/ }
|
|
3387
|
+
/***/ },
|
|
3362
3388
|
|
|
3363
|
-
/***/ "./node_modules/event-target-shim/dist/event-target-shim.js"
|
|
3389
|
+
/***/ "./node_modules/event-target-shim/dist/event-target-shim.js"
|
|
3364
3390
|
/*!******************************************************************!*\
|
|
3365
3391
|
!*** ./node_modules/event-target-shim/dist/event-target-shim.js ***!
|
|
3366
3392
|
\******************************************************************/
|
|
3367
|
-
|
|
3393
|
+
(module, exports) {
|
|
3368
3394
|
|
|
3369
3395
|
"use strict";
|
|
3370
3396
|
/**
|
|
@@ -4240,13 +4266,13 @@ module.exports.defineEventAttribute = defineEventAttribute
|
|
|
4240
4266
|
//# sourceMappingURL=event-target-shim.js.map
|
|
4241
4267
|
|
|
4242
4268
|
|
|
4243
|
-
/***/ }
|
|
4269
|
+
/***/ },
|
|
4244
4270
|
|
|
4245
|
-
/***/ "./node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js"
|
|
4271
|
+
/***/ "./node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js"
|
|
4246
4272
|
/*!**************************************************************************************!*\
|
|
4247
4273
|
!*** ./node_modules/fast-unique-numbers/build/es2019/factories/add-unique-number.js ***!
|
|
4248
4274
|
\**************************************************************************************/
|
|
4249
|
-
|
|
4275
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4250
4276
|
|
|
4251
4277
|
"use strict";
|
|
4252
4278
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4262,13 +4288,13 @@ const createAddUniqueNumber = (generateUniqueNumber) => {
|
|
|
4262
4288
|
};
|
|
4263
4289
|
//# sourceMappingURL=add-unique-number.js.map
|
|
4264
4290
|
|
|
4265
|
-
/***/ }
|
|
4291
|
+
/***/ },
|
|
4266
4292
|
|
|
4267
|
-
/***/ "./node_modules/fast-unique-numbers/build/es2019/factories/cache.js"
|
|
4293
|
+
/***/ "./node_modules/fast-unique-numbers/build/es2019/factories/cache.js"
|
|
4268
4294
|
/*!**************************************************************************!*\
|
|
4269
4295
|
!*** ./node_modules/fast-unique-numbers/build/es2019/factories/cache.js ***!
|
|
4270
4296
|
\**************************************************************************/
|
|
4271
|
-
|
|
4297
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4272
4298
|
|
|
4273
4299
|
"use strict";
|
|
4274
4300
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4283,13 +4309,13 @@ const createCache = (lastNumberWeakMap) => {
|
|
|
4283
4309
|
};
|
|
4284
4310
|
//# sourceMappingURL=cache.js.map
|
|
4285
4311
|
|
|
4286
|
-
/***/ }
|
|
4312
|
+
/***/ },
|
|
4287
4313
|
|
|
4288
|
-
/***/ "./node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js"
|
|
4314
|
+
/***/ "./node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js"
|
|
4289
4315
|
/*!*******************************************************************************************!*\
|
|
4290
4316
|
!*** ./node_modules/fast-unique-numbers/build/es2019/factories/generate-unique-number.js ***!
|
|
4291
4317
|
\*******************************************************************************************/
|
|
4292
|
-
|
|
4318
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4293
4319
|
|
|
4294
4320
|
"use strict";
|
|
4295
4321
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4343,13 +4369,13 @@ const createGenerateUniqueNumber = (cache, lastNumberWeakMap) => {
|
|
|
4343
4369
|
};
|
|
4344
4370
|
//# sourceMappingURL=generate-unique-number.js.map
|
|
4345
4371
|
|
|
4346
|
-
/***/ }
|
|
4372
|
+
/***/ },
|
|
4347
4373
|
|
|
4348
|
-
/***/ "./node_modules/fast-unique-numbers/build/es2019/module.js"
|
|
4374
|
+
/***/ "./node_modules/fast-unique-numbers/build/es2019/module.js"
|
|
4349
4375
|
/*!*****************************************************************!*\
|
|
4350
4376
|
!*** ./node_modules/fast-unique-numbers/build/es2019/module.js ***!
|
|
4351
4377
|
\*****************************************************************/
|
|
4352
|
-
|
|
4378
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4353
4379
|
|
|
4354
4380
|
"use strict";
|
|
4355
4381
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -4370,13 +4396,13 @@ const addUniqueNumber = (0,_factories_add_unique_number__WEBPACK_IMPORTED_MODULE
|
|
|
4370
4396
|
|
|
4371
4397
|
//# sourceMappingURL=module.js.map
|
|
4372
4398
|
|
|
4373
|
-
/***/ }
|
|
4399
|
+
/***/ },
|
|
4374
4400
|
|
|
4375
|
-
/***/ "./node_modules/has-flag/index.js"
|
|
4401
|
+
/***/ "./node_modules/has-flag/index.js"
|
|
4376
4402
|
/*!****************************************!*\
|
|
4377
4403
|
!*** ./node_modules/has-flag/index.js ***!
|
|
4378
4404
|
\****************************************/
|
|
4379
|
-
|
|
4405
|
+
(module) {
|
|
4380
4406
|
|
|
4381
4407
|
"use strict";
|
|
4382
4408
|
|
|
@@ -4389,13 +4415,13 @@ module.exports = (flag, argv = process.argv) => {
|
|
|
4389
4415
|
};
|
|
4390
4416
|
|
|
4391
4417
|
|
|
4392
|
-
/***/ }
|
|
4418
|
+
/***/ },
|
|
4393
4419
|
|
|
4394
|
-
/***/ "./node_modules/inherits/inherits.js"
|
|
4420
|
+
/***/ "./node_modules/inherits/inherits.js"
|
|
4395
4421
|
/*!*******************************************!*\
|
|
4396
4422
|
!*** ./node_modules/inherits/inherits.js ***!
|
|
4397
4423
|
\*******************************************/
|
|
4398
|
-
|
|
4424
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
4399
4425
|
|
|
4400
4426
|
try {
|
|
4401
4427
|
var util = __webpack_require__(/*! util */ "util");
|
|
@@ -4408,13 +4434,13 @@ try {
|
|
|
4408
4434
|
}
|
|
4409
4435
|
|
|
4410
4436
|
|
|
4411
|
-
/***/ }
|
|
4437
|
+
/***/ },
|
|
4412
4438
|
|
|
4413
|
-
/***/ "./node_modules/inherits/inherits_browser.js"
|
|
4439
|
+
/***/ "./node_modules/inherits/inherits_browser.js"
|
|
4414
4440
|
/*!***************************************************!*\
|
|
4415
4441
|
!*** ./node_modules/inherits/inherits_browser.js ***!
|
|
4416
4442
|
\***************************************************/
|
|
4417
|
-
|
|
4443
|
+
(module) {
|
|
4418
4444
|
|
|
4419
4445
|
if (typeof Object.create === 'function') {
|
|
4420
4446
|
// implementation from standard node.js 'util' module
|
|
@@ -4445,13 +4471,13 @@ if (typeof Object.create === 'function') {
|
|
|
4445
4471
|
}
|
|
4446
4472
|
|
|
4447
4473
|
|
|
4448
|
-
/***/ }
|
|
4474
|
+
/***/ },
|
|
4449
4475
|
|
|
4450
|
-
/***/ "./node_modules/ip-address/dist/address-error.js"
|
|
4476
|
+
/***/ "./node_modules/ip-address/dist/address-error.js"
|
|
4451
4477
|
/*!*******************************************************!*\
|
|
4452
4478
|
!*** ./node_modules/ip-address/dist/address-error.js ***!
|
|
4453
4479
|
\*******************************************************/
|
|
4454
|
-
|
|
4480
|
+
(__unused_webpack_module, exports) {
|
|
4455
4481
|
|
|
4456
4482
|
"use strict";
|
|
4457
4483
|
|
|
@@ -4467,13 +4493,13 @@ class AddressError extends Error {
|
|
|
4467
4493
|
exports.AddressError = AddressError;
|
|
4468
4494
|
//# sourceMappingURL=address-error.js.map
|
|
4469
4495
|
|
|
4470
|
-
/***/ }
|
|
4496
|
+
/***/ },
|
|
4471
4497
|
|
|
4472
|
-
/***/ "./node_modules/ip-address/dist/common.js"
|
|
4498
|
+
/***/ "./node_modules/ip-address/dist/common.js"
|
|
4473
4499
|
/*!************************************************!*\
|
|
4474
4500
|
!*** ./node_modules/ip-address/dist/common.js ***!
|
|
4475
4501
|
\************************************************/
|
|
4476
|
-
|
|
4502
|
+
(__unused_webpack_module, exports) {
|
|
4477
4503
|
|
|
4478
4504
|
"use strict";
|
|
4479
4505
|
|
|
@@ -4523,13 +4549,13 @@ function testBit(binaryValue, position) {
|
|
|
4523
4549
|
}
|
|
4524
4550
|
//# sourceMappingURL=common.js.map
|
|
4525
4551
|
|
|
4526
|
-
/***/ }
|
|
4552
|
+
/***/ },
|
|
4527
4553
|
|
|
4528
|
-
/***/ "./node_modules/ip-address/dist/ip-address.js"
|
|
4554
|
+
/***/ "./node_modules/ip-address/dist/ip-address.js"
|
|
4529
4555
|
/*!****************************************************!*\
|
|
4530
4556
|
!*** ./node_modules/ip-address/dist/ip-address.js ***!
|
|
4531
4557
|
\****************************************************/
|
|
4532
|
-
|
|
4558
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
4533
4559
|
|
|
4534
4560
|
"use strict";
|
|
4535
4561
|
|
|
@@ -4568,13 +4594,13 @@ const helpers = __importStar(__webpack_require__(/*! ./v6/helpers */ "./node_mod
|
|
|
4568
4594
|
exports.v6 = { helpers };
|
|
4569
4595
|
//# sourceMappingURL=ip-address.js.map
|
|
4570
4596
|
|
|
4571
|
-
/***/ }
|
|
4597
|
+
/***/ },
|
|
4572
4598
|
|
|
4573
|
-
/***/ "./node_modules/ip-address/dist/ipv4.js"
|
|
4599
|
+
/***/ "./node_modules/ip-address/dist/ipv4.js"
|
|
4574
4600
|
/*!**********************************************!*\
|
|
4575
4601
|
!*** ./node_modules/ip-address/dist/ipv4.js ***!
|
|
4576
4602
|
\**********************************************/
|
|
4577
|
-
|
|
4603
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
4578
4604
|
|
|
4579
4605
|
"use strict";
|
|
4580
4606
|
|
|
@@ -4831,6 +4857,39 @@ class Address4 {
|
|
|
4831
4857
|
static fromBigInt(bigInt) {
|
|
4832
4858
|
return Address4.fromHex(bigInt.toString(16));
|
|
4833
4859
|
}
|
|
4860
|
+
/**
|
|
4861
|
+
* Convert a byte array to an Address4 object
|
|
4862
|
+
* @memberof Address4
|
|
4863
|
+
* @static
|
|
4864
|
+
* @param {Array<number>} bytes - an array of 4 bytes (0-255)
|
|
4865
|
+
* @returns {Address4}
|
|
4866
|
+
*/
|
|
4867
|
+
static fromByteArray(bytes) {
|
|
4868
|
+
if (bytes.length !== 4) {
|
|
4869
|
+
throw new address_error_1.AddressError('IPv4 addresses require exactly 4 bytes');
|
|
4870
|
+
}
|
|
4871
|
+
// Validate that all bytes are within valid range (0-255)
|
|
4872
|
+
for (let i = 0; i < bytes.length; i++) {
|
|
4873
|
+
if (!Number.isInteger(bytes[i]) || bytes[i] < 0 || bytes[i] > 255) {
|
|
4874
|
+
throw new address_error_1.AddressError('All bytes must be integers between 0 and 255');
|
|
4875
|
+
}
|
|
4876
|
+
}
|
|
4877
|
+
return this.fromUnsignedByteArray(bytes);
|
|
4878
|
+
}
|
|
4879
|
+
/**
|
|
4880
|
+
* Convert an unsigned byte array to an Address4 object
|
|
4881
|
+
* @memberof Address4
|
|
4882
|
+
* @static
|
|
4883
|
+
* @param {Array<number>} bytes - an array of 4 unsigned bytes (0-255)
|
|
4884
|
+
* @returns {Address4}
|
|
4885
|
+
*/
|
|
4886
|
+
static fromUnsignedByteArray(bytes) {
|
|
4887
|
+
if (bytes.length !== 4) {
|
|
4888
|
+
throw new address_error_1.AddressError('IPv4 addresses require exactly 4 bytes');
|
|
4889
|
+
}
|
|
4890
|
+
const address = bytes.join('.');
|
|
4891
|
+
return new Address4(address);
|
|
4892
|
+
}
|
|
4834
4893
|
/**
|
|
4835
4894
|
* Returns the first n bits of the address, defaulting to the
|
|
4836
4895
|
* subnet mask
|
|
@@ -4905,13 +4964,13 @@ class Address4 {
|
|
|
4905
4964
|
exports.Address4 = Address4;
|
|
4906
4965
|
//# sourceMappingURL=ipv4.js.map
|
|
4907
4966
|
|
|
4908
|
-
/***/ }
|
|
4967
|
+
/***/ },
|
|
4909
4968
|
|
|
4910
|
-
/***/ "./node_modules/ip-address/dist/ipv6.js"
|
|
4969
|
+
/***/ "./node_modules/ip-address/dist/ipv6.js"
|
|
4911
4970
|
/*!**********************************************!*\
|
|
4912
4971
|
!*** ./node_modules/ip-address/dist/ipv6.js ***!
|
|
4913
4972
|
\**********************************************/
|
|
4914
|
-
|
|
4973
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
4915
4974
|
|
|
4916
4975
|
"use strict";
|
|
4917
4976
|
|
|
@@ -5918,13 +5977,13 @@ class Address6 {
|
|
|
5918
5977
|
exports.Address6 = Address6;
|
|
5919
5978
|
//# sourceMappingURL=ipv6.js.map
|
|
5920
5979
|
|
|
5921
|
-
/***/ }
|
|
5980
|
+
/***/ },
|
|
5922
5981
|
|
|
5923
|
-
/***/ "./node_modules/ip-address/dist/v4/constants.js"
|
|
5982
|
+
/***/ "./node_modules/ip-address/dist/v4/constants.js"
|
|
5924
5983
|
/*!******************************************************!*\
|
|
5925
5984
|
!*** ./node_modules/ip-address/dist/v4/constants.js ***!
|
|
5926
5985
|
\******************************************************/
|
|
5927
|
-
|
|
5986
|
+
(__unused_webpack_module, exports) {
|
|
5928
5987
|
|
|
5929
5988
|
"use strict";
|
|
5930
5989
|
|
|
@@ -5936,13 +5995,13 @@ exports.RE_ADDRESS = /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0
|
|
|
5936
5995
|
exports.RE_SUBNET_STRING = /\/\d{1,2}$/;
|
|
5937
5996
|
//# sourceMappingURL=constants.js.map
|
|
5938
5997
|
|
|
5939
|
-
/***/ }
|
|
5998
|
+
/***/ },
|
|
5940
5999
|
|
|
5941
|
-
/***/ "./node_modules/ip-address/dist/v6/constants.js"
|
|
6000
|
+
/***/ "./node_modules/ip-address/dist/v6/constants.js"
|
|
5942
6001
|
/*!******************************************************!*\
|
|
5943
6002
|
!*** ./node_modules/ip-address/dist/v6/constants.js ***!
|
|
5944
6003
|
\******************************************************/
|
|
5945
|
-
|
|
6004
|
+
(__unused_webpack_module, exports) {
|
|
5946
6005
|
|
|
5947
6006
|
"use strict";
|
|
5948
6007
|
|
|
@@ -6022,13 +6081,13 @@ exports.RE_URL = /^\[{0,1}([0-9a-f:]+)\]{0,1}/;
|
|
|
6022
6081
|
exports.RE_URL_WITH_PORT = /\[([0-9a-f:]+)\]:([0-9]{1,5})/;
|
|
6023
6082
|
//# sourceMappingURL=constants.js.map
|
|
6024
6083
|
|
|
6025
|
-
/***/ }
|
|
6084
|
+
/***/ },
|
|
6026
6085
|
|
|
6027
|
-
/***/ "./node_modules/ip-address/dist/v6/helpers.js"
|
|
6086
|
+
/***/ "./node_modules/ip-address/dist/v6/helpers.js"
|
|
6028
6087
|
/*!****************************************************!*\
|
|
6029
6088
|
!*** ./node_modules/ip-address/dist/v6/helpers.js ***!
|
|
6030
6089
|
\****************************************************/
|
|
6031
|
-
|
|
6090
|
+
(__unused_webpack_module, exports) {
|
|
6032
6091
|
|
|
6033
6092
|
"use strict";
|
|
6034
6093
|
|
|
@@ -6077,13 +6136,13 @@ function simpleGroup(addressString, offset = 0) {
|
|
|
6077
6136
|
}
|
|
6078
6137
|
//# sourceMappingURL=helpers.js.map
|
|
6079
6138
|
|
|
6080
|
-
/***/ }
|
|
6139
|
+
/***/ },
|
|
6081
6140
|
|
|
6082
|
-
/***/ "./node_modules/ip-address/dist/v6/regular-expressions.js"
|
|
6141
|
+
/***/ "./node_modules/ip-address/dist/v6/regular-expressions.js"
|
|
6083
6142
|
/*!****************************************************************!*\
|
|
6084
6143
|
!*** ./node_modules/ip-address/dist/v6/regular-expressions.js ***!
|
|
6085
6144
|
\****************************************************************/
|
|
6086
|
-
|
|
6145
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
6087
6146
|
|
|
6088
6147
|
"use strict";
|
|
6089
6148
|
|
|
@@ -6182,13 +6241,13 @@ function possibleElisions(elidedGroups, moreLeft, moreRight) {
|
|
|
6182
6241
|
}
|
|
6183
6242
|
//# sourceMappingURL=regular-expressions.js.map
|
|
6184
6243
|
|
|
6185
|
-
/***/ }
|
|
6244
|
+
/***/ },
|
|
6186
6245
|
|
|
6187
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js"
|
|
6246
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js"
|
|
6188
6247
|
/*!************************************************************************!*\
|
|
6189
6248
|
!*** ./node_modules/js-sdsl/dist/esm/container/ContainerBase/index.js ***!
|
|
6190
6249
|
\************************************************************************/
|
|
6191
|
-
|
|
6250
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6192
6251
|
|
|
6193
6252
|
"use strict";
|
|
6194
6253
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6267,13 +6326,13 @@ var Container = function(n) {
|
|
|
6267
6326
|
//# sourceMappingURL=index.js.map
|
|
6268
6327
|
|
|
6269
6328
|
|
|
6270
|
-
/***/ }
|
|
6329
|
+
/***/ },
|
|
6271
6330
|
|
|
6272
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js"
|
|
6331
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js"
|
|
6273
6332
|
/*!*****************************************************************************!*\
|
|
6274
6333
|
!*** ./node_modules/js-sdsl/dist/esm/container/HashContainer/Base/index.js ***!
|
|
6275
6334
|
\*****************************************************************************/
|
|
6276
|
-
|
|
6335
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6277
6336
|
|
|
6278
6337
|
"use strict";
|
|
6279
6338
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6487,13 +6546,13 @@ var HashContainer = function(t) {
|
|
|
6487
6546
|
//# sourceMappingURL=index.js.map
|
|
6488
6547
|
|
|
6489
6548
|
|
|
6490
|
-
/***/ }
|
|
6549
|
+
/***/ },
|
|
6491
6550
|
|
|
6492
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js"
|
|
6551
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js"
|
|
6493
6552
|
/*!**************************************************************************!*\
|
|
6494
6553
|
!*** ./node_modules/js-sdsl/dist/esm/container/HashContainer/HashMap.js ***!
|
|
6495
6554
|
\**************************************************************************/
|
|
6496
|
-
|
|
6555
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6497
6556
|
|
|
6498
6557
|
"use strict";
|
|
6499
6558
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6753,13 +6812,13 @@ var HashMap = function(t) {
|
|
|
6753
6812
|
//# sourceMappingURL=HashMap.js.map
|
|
6754
6813
|
|
|
6755
6814
|
|
|
6756
|
-
/***/ }
|
|
6815
|
+
/***/ },
|
|
6757
6816
|
|
|
6758
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js"
|
|
6817
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js"
|
|
6759
6818
|
/*!**************************************************************************!*\
|
|
6760
6819
|
!*** ./node_modules/js-sdsl/dist/esm/container/HashContainer/HashSet.js ***!
|
|
6761
6820
|
\**************************************************************************/
|
|
6762
|
-
|
|
6821
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
6763
6822
|
|
|
6764
6823
|
"use strict";
|
|
6765
6824
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -6993,13 +7052,13 @@ var HashSet = function(t) {
|
|
|
6993
7052
|
//# sourceMappingURL=HashSet.js.map
|
|
6994
7053
|
|
|
6995
7054
|
|
|
6996
|
-
/***/ }
|
|
7055
|
+
/***/ },
|
|
6997
7056
|
|
|
6998
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js"
|
|
7057
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js"
|
|
6999
7058
|
/*!*********************************************************************************!*\
|
|
7000
7059
|
!*** ./node_modules/js-sdsl/dist/esm/container/OtherContainer/PriorityQueue.js ***!
|
|
7001
7060
|
\*********************************************************************************/
|
|
7002
|
-
|
|
7061
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7003
7062
|
|
|
7004
7063
|
"use strict";
|
|
7005
7064
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7180,13 +7239,13 @@ var PriorityQueue = function(i) {
|
|
|
7180
7239
|
//# sourceMappingURL=PriorityQueue.js.map
|
|
7181
7240
|
|
|
7182
7241
|
|
|
7183
|
-
/***/ }
|
|
7242
|
+
/***/ },
|
|
7184
7243
|
|
|
7185
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js"
|
|
7244
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js"
|
|
7186
7245
|
/*!*************************************************************************!*\
|
|
7187
7246
|
!*** ./node_modules/js-sdsl/dist/esm/container/OtherContainer/Queue.js ***!
|
|
7188
7247
|
\*************************************************************************/
|
|
7189
|
-
|
|
7248
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7190
7249
|
|
|
7191
7250
|
"use strict";
|
|
7192
7251
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7265,13 +7324,13 @@ var Queue = function(t) {
|
|
|
7265
7324
|
//# sourceMappingURL=Queue.js.map
|
|
7266
7325
|
|
|
7267
7326
|
|
|
7268
|
-
/***/ }
|
|
7327
|
+
/***/ },
|
|
7269
7328
|
|
|
7270
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js"
|
|
7329
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js"
|
|
7271
7330
|
/*!*************************************************************************!*\
|
|
7272
7331
|
!*** ./node_modules/js-sdsl/dist/esm/container/OtherContainer/Stack.js ***!
|
|
7273
7332
|
\*************************************************************************/
|
|
7274
|
-
|
|
7333
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7275
7334
|
|
|
7276
7335
|
"use strict";
|
|
7277
7336
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7340,13 +7399,13 @@ var Stack = function(t) {
|
|
|
7340
7399
|
//# sourceMappingURL=Stack.js.map
|
|
7341
7400
|
|
|
7342
7401
|
|
|
7343
|
-
/***/ }
|
|
7402
|
+
/***/ },
|
|
7344
7403
|
|
|
7345
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js"
|
|
7404
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js"
|
|
7346
7405
|
/*!********************************************************************************************!*\
|
|
7347
7406
|
!*** ./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/RandomIterator.js ***!
|
|
7348
7407
|
\********************************************************************************************/
|
|
7349
|
-
|
|
7408
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7350
7409
|
|
|
7351
7410
|
"use strict";
|
|
7352
7411
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7435,13 +7494,13 @@ var RandomIterator = function(t) {
|
|
|
7435
7494
|
//# sourceMappingURL=RandomIterator.js.map
|
|
7436
7495
|
|
|
7437
7496
|
|
|
7438
|
-
/***/ }
|
|
7497
|
+
/***/ },
|
|
7439
7498
|
|
|
7440
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js"
|
|
7499
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js"
|
|
7441
7500
|
/*!***********************************************************************************!*\
|
|
7442
7501
|
!*** ./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Base/index.js ***!
|
|
7443
7502
|
\***********************************************************************************/
|
|
7444
|
-
|
|
7503
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7445
7504
|
|
|
7446
7505
|
"use strict";
|
|
7447
7506
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7484,13 +7543,13 @@ var SequentialContainer = function(n) {
|
|
|
7484
7543
|
//# sourceMappingURL=index.js.map
|
|
7485
7544
|
|
|
7486
7545
|
|
|
7487
|
-
/***/ }
|
|
7546
|
+
/***/ },
|
|
7488
7547
|
|
|
7489
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js"
|
|
7548
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js"
|
|
7490
7549
|
/*!******************************************************************************!*\
|
|
7491
7550
|
!*** ./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Deque.js ***!
|
|
7492
7551
|
\******************************************************************************/
|
|
7493
|
-
|
|
7552
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7494
7553
|
|
|
7495
7554
|
"use strict";
|
|
7496
7555
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -7999,13 +8058,13 @@ var Deque = function(t) {
|
|
|
7999
8058
|
//# sourceMappingURL=Deque.js.map
|
|
8000
8059
|
|
|
8001
8060
|
|
|
8002
|
-
/***/ }
|
|
8061
|
+
/***/ },
|
|
8003
8062
|
|
|
8004
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js"
|
|
8063
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js"
|
|
8005
8064
|
/*!*********************************************************************************!*\
|
|
8006
8065
|
!*** ./node_modules/js-sdsl/dist/esm/container/SequentialContainer/LinkList.js ***!
|
|
8007
8066
|
\*********************************************************************************/
|
|
8008
|
-
|
|
8067
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8009
8068
|
|
|
8010
8069
|
"use strict";
|
|
8011
8070
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8473,13 +8532,13 @@ var LinkList = function(t) {
|
|
|
8473
8532
|
//# sourceMappingURL=LinkList.js.map
|
|
8474
8533
|
|
|
8475
8534
|
|
|
8476
|
-
/***/ }
|
|
8535
|
+
/***/ },
|
|
8477
8536
|
|
|
8478
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js"
|
|
8537
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js"
|
|
8479
8538
|
/*!*******************************************************************************!*\
|
|
8480
8539
|
!*** ./node_modules/js-sdsl/dist/esm/container/SequentialContainer/Vector.js ***!
|
|
8481
8540
|
\*******************************************************************************/
|
|
8482
|
-
|
|
8541
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8483
8542
|
|
|
8484
8543
|
"use strict";
|
|
8485
8544
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8813,13 +8872,13 @@ var Vector = function(t) {
|
|
|
8813
8872
|
//# sourceMappingURL=Vector.js.map
|
|
8814
8873
|
|
|
8815
8874
|
|
|
8816
|
-
/***/ }
|
|
8875
|
+
/***/ },
|
|
8817
8876
|
|
|
8818
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js"
|
|
8877
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js"
|
|
8819
8878
|
/*!************************************************************************************!*\
|
|
8820
8879
|
!*** ./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeIterator.js ***!
|
|
8821
8880
|
\************************************************************************************/
|
|
8822
|
-
|
|
8881
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8823
8882
|
|
|
8824
8883
|
"use strict";
|
|
8825
8884
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -8928,13 +8987,13 @@ var TreeIterator = function(r) {
|
|
|
8928
8987
|
//# sourceMappingURL=TreeIterator.js.map
|
|
8929
8988
|
|
|
8930
8989
|
|
|
8931
|
-
/***/ }
|
|
8990
|
+
/***/ },
|
|
8932
8991
|
|
|
8933
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js"
|
|
8992
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js"
|
|
8934
8993
|
/*!********************************************************************************!*\
|
|
8935
8994
|
!*** ./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/TreeNode.js ***!
|
|
8936
8995
|
\********************************************************************************/
|
|
8937
|
-
|
|
8996
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8938
8997
|
|
|
8939
8998
|
"use strict";
|
|
8940
8999
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9076,13 +9135,13 @@ var TreeNodeEnableIndex = function(e) {
|
|
|
9076
9135
|
//# sourceMappingURL=TreeNode.js.map
|
|
9077
9136
|
|
|
9078
9137
|
|
|
9079
|
-
/***/ }
|
|
9138
|
+
/***/ },
|
|
9080
9139
|
|
|
9081
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js"
|
|
9140
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js"
|
|
9082
9141
|
/*!*****************************************************************************!*\
|
|
9083
9142
|
!*** ./node_modules/js-sdsl/dist/esm/container/TreeContainer/Base/index.js ***!
|
|
9084
9143
|
\*****************************************************************************/
|
|
9085
|
-
|
|
9144
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9086
9145
|
|
|
9087
9146
|
"use strict";
|
|
9088
9147
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9694,13 +9753,13 @@ var TreeContainer = function(e) {
|
|
|
9694
9753
|
//# sourceMappingURL=index.js.map
|
|
9695
9754
|
|
|
9696
9755
|
|
|
9697
|
-
/***/ }
|
|
9756
|
+
/***/ },
|
|
9698
9757
|
|
|
9699
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js"
|
|
9758
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js"
|
|
9700
9759
|
/*!*****************************************************************************!*\
|
|
9701
9760
|
!*** ./node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedMap.js ***!
|
|
9702
9761
|
\*****************************************************************************/
|
|
9703
|
-
|
|
9762
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9704
9763
|
|
|
9705
9764
|
"use strict";
|
|
9706
9765
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -9977,13 +10036,13 @@ var OrderedMap = function(r) {
|
|
|
9977
10036
|
//# sourceMappingURL=OrderedMap.js.map
|
|
9978
10037
|
|
|
9979
10038
|
|
|
9980
|
-
/***/ }
|
|
10039
|
+
/***/ },
|
|
9981
10040
|
|
|
9982
|
-
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js"
|
|
10041
|
+
/***/ "./node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js"
|
|
9983
10042
|
/*!*****************************************************************************!*\
|
|
9984
10043
|
!*** ./node_modules/js-sdsl/dist/esm/container/TreeContainer/OrderedSet.js ***!
|
|
9985
10044
|
\*****************************************************************************/
|
|
9986
|
-
|
|
10045
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
9987
10046
|
|
|
9988
10047
|
"use strict";
|
|
9989
10048
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10240,13 +10299,13 @@ var OrderedSet = function(e) {
|
|
|
10240
10299
|
//# sourceMappingURL=OrderedSet.js.map
|
|
10241
10300
|
|
|
10242
10301
|
|
|
10243
|
-
/***/ }
|
|
10302
|
+
/***/ },
|
|
10244
10303
|
|
|
10245
|
-
/***/ "./node_modules/js-sdsl/dist/esm/index.js"
|
|
10304
|
+
/***/ "./node_modules/js-sdsl/dist/esm/index.js"
|
|
10246
10305
|
/*!************************************************!*\
|
|
10247
10306
|
!*** ./node_modules/js-sdsl/dist/esm/index.js ***!
|
|
10248
10307
|
\************************************************/
|
|
10249
|
-
|
|
10308
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10250
10309
|
|
|
10251
10310
|
"use strict";
|
|
10252
10311
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10294,13 +10353,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10294
10353
|
//# sourceMappingURL=index.js.map
|
|
10295
10354
|
|
|
10296
10355
|
|
|
10297
|
-
/***/ }
|
|
10356
|
+
/***/ },
|
|
10298
10357
|
|
|
10299
|
-
/***/ "./node_modules/js-sdsl/dist/esm/utils/checkObject.js"
|
|
10358
|
+
/***/ "./node_modules/js-sdsl/dist/esm/utils/checkObject.js"
|
|
10300
10359
|
/*!************************************************************!*\
|
|
10301
10360
|
!*** ./node_modules/js-sdsl/dist/esm/utils/checkObject.js ***!
|
|
10302
10361
|
\************************************************************/
|
|
10303
|
-
|
|
10362
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10304
10363
|
|
|
10305
10364
|
"use strict";
|
|
10306
10365
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10314,13 +10373,13 @@ function checkObject(t) {
|
|
|
10314
10373
|
//# sourceMappingURL=checkObject.js.map
|
|
10315
10374
|
|
|
10316
10375
|
|
|
10317
|
-
/***/ }
|
|
10376
|
+
/***/ },
|
|
10318
10377
|
|
|
10319
|
-
/***/ "./node_modules/js-sdsl/dist/esm/utils/throwError.js"
|
|
10378
|
+
/***/ "./node_modules/js-sdsl/dist/esm/utils/throwError.js"
|
|
10320
10379
|
/*!***********************************************************!*\
|
|
10321
10380
|
!*** ./node_modules/js-sdsl/dist/esm/utils/throwError.js ***!
|
|
10322
10381
|
\***********************************************************/
|
|
10323
|
-
|
|
10382
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
10324
10383
|
|
|
10325
10384
|
"use strict";
|
|
10326
10385
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -10333,13 +10392,13 @@ function throwIteratorAccessError() {
|
|
|
10333
10392
|
//# sourceMappingURL=throwError.js.map
|
|
10334
10393
|
|
|
10335
10394
|
|
|
10336
|
-
/***/ }
|
|
10395
|
+
/***/ },
|
|
10337
10396
|
|
|
10338
|
-
/***/ "./node_modules/mqtt-packet/constants.js"
|
|
10397
|
+
/***/ "./node_modules/mqtt-packet/constants.js"
|
|
10339
10398
|
/*!***********************************************!*\
|
|
10340
10399
|
!*** ./node_modules/mqtt-packet/constants.js ***!
|
|
10341
10400
|
\***********************************************/
|
|
10342
|
-
|
|
10401
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10343
10402
|
|
|
10344
10403
|
/* Protocol - protocol constants */
|
|
10345
10404
|
const protocol = module.exports
|
|
@@ -10634,13 +10693,13 @@ protocol.MQTT5_AUTH_CODES = {
|
|
|
10634
10693
|
}
|
|
10635
10694
|
|
|
10636
10695
|
|
|
10637
|
-
/***/ }
|
|
10696
|
+
/***/ },
|
|
10638
10697
|
|
|
10639
|
-
/***/ "./node_modules/mqtt-packet/generate.js"
|
|
10698
|
+
/***/ "./node_modules/mqtt-packet/generate.js"
|
|
10640
10699
|
/*!**********************************************!*\
|
|
10641
10700
|
!*** ./node_modules/mqtt-packet/generate.js ***!
|
|
10642
10701
|
\**********************************************/
|
|
10643
|
-
|
|
10702
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10644
10703
|
|
|
10645
10704
|
const writeToStream = __webpack_require__(/*! ./writeToStream */ "./node_modules/mqtt-packet/writeToStream.js")
|
|
10646
10705
|
const { EventEmitter } = __webpack_require__(/*! events */ "events")
|
|
@@ -10701,26 +10760,26 @@ class Accumulator extends EventEmitter {
|
|
|
10701
10760
|
module.exports = generate
|
|
10702
10761
|
|
|
10703
10762
|
|
|
10704
|
-
/***/ }
|
|
10763
|
+
/***/ },
|
|
10705
10764
|
|
|
10706
|
-
/***/ "./node_modules/mqtt-packet/mqtt.js"
|
|
10765
|
+
/***/ "./node_modules/mqtt-packet/mqtt.js"
|
|
10707
10766
|
/*!******************************************!*\
|
|
10708
10767
|
!*** ./node_modules/mqtt-packet/mqtt.js ***!
|
|
10709
10768
|
\******************************************/
|
|
10710
|
-
|
|
10769
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
10711
10770
|
|
|
10712
10771
|
exports.parser = __webpack_require__(/*! ./parser */ "./node_modules/mqtt-packet/parser.js").parser
|
|
10713
10772
|
exports.generate = __webpack_require__(/*! ./generate */ "./node_modules/mqtt-packet/generate.js")
|
|
10714
10773
|
exports.writeToStream = __webpack_require__(/*! ./writeToStream */ "./node_modules/mqtt-packet/writeToStream.js")
|
|
10715
10774
|
|
|
10716
10775
|
|
|
10717
|
-
/***/ }
|
|
10776
|
+
/***/ },
|
|
10718
10777
|
|
|
10719
|
-
/***/ "./node_modules/mqtt-packet/numbers.js"
|
|
10778
|
+
/***/ "./node_modules/mqtt-packet/numbers.js"
|
|
10720
10779
|
/*!*********************************************!*\
|
|
10721
10780
|
!*** ./node_modules/mqtt-packet/numbers.js ***!
|
|
10722
10781
|
\*********************************************/
|
|
10723
|
-
|
|
10782
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10724
10783
|
|
|
10725
10784
|
const { Buffer } = __webpack_require__(/*! buffer */ "buffer")
|
|
10726
10785
|
const max = 65536
|
|
@@ -10783,13 +10842,13 @@ module.exports = {
|
|
|
10783
10842
|
}
|
|
10784
10843
|
|
|
10785
10844
|
|
|
10786
|
-
/***/ }
|
|
10845
|
+
/***/ },
|
|
10787
10846
|
|
|
10788
|
-
/***/ "./node_modules/mqtt-packet/packet.js"
|
|
10847
|
+
/***/ "./node_modules/mqtt-packet/packet.js"
|
|
10789
10848
|
/*!********************************************!*\
|
|
10790
10849
|
!*** ./node_modules/mqtt-packet/packet.js ***!
|
|
10791
10850
|
\********************************************/
|
|
10792
|
-
|
|
10851
|
+
(module) {
|
|
10793
10852
|
|
|
10794
10853
|
class Packet {
|
|
10795
10854
|
constructor () {
|
|
@@ -10806,13 +10865,13 @@ class Packet {
|
|
|
10806
10865
|
module.exports = Packet
|
|
10807
10866
|
|
|
10808
10867
|
|
|
10809
|
-
/***/ }
|
|
10868
|
+
/***/ },
|
|
10810
10869
|
|
|
10811
|
-
/***/ "./node_modules/mqtt-packet/parser.js"
|
|
10870
|
+
/***/ "./node_modules/mqtt-packet/parser.js"
|
|
10812
10871
|
/*!********************************************!*\
|
|
10813
10872
|
!*** ./node_modules/mqtt-packet/parser.js ***!
|
|
10814
10873
|
\********************************************/
|
|
10815
|
-
|
|
10874
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
10816
10875
|
|
|
10817
10876
|
const bl = __webpack_require__(/*! bl */ "./node_modules/bl/bl.js")
|
|
10818
10877
|
const { EventEmitter } = __webpack_require__(/*! events */ "events")
|
|
@@ -11625,13 +11684,13 @@ class Parser extends EventEmitter {
|
|
|
11625
11684
|
module.exports = Parser
|
|
11626
11685
|
|
|
11627
11686
|
|
|
11628
|
-
/***/ }
|
|
11687
|
+
/***/ },
|
|
11629
11688
|
|
|
11630
|
-
/***/ "./node_modules/mqtt-packet/writeToStream.js"
|
|
11689
|
+
/***/ "./node_modules/mqtt-packet/writeToStream.js"
|
|
11631
11690
|
/*!***************************************************!*\
|
|
11632
11691
|
!*** ./node_modules/mqtt-packet/writeToStream.js ***!
|
|
11633
11692
|
\***************************************************/
|
|
11634
|
-
|
|
11693
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
11635
11694
|
|
|
11636
11695
|
const protocol = __webpack_require__(/*! ./constants */ "./node_modules/mqtt-packet/constants.js")
|
|
11637
11696
|
const { Buffer } = __webpack_require__(/*! buffer */ "buffer")
|
|
@@ -12764,13 +12823,13 @@ function isStringOrBuffer (field) {
|
|
|
12764
12823
|
module.exports = generate
|
|
12765
12824
|
|
|
12766
12825
|
|
|
12767
|
-
/***/ }
|
|
12826
|
+
/***/ },
|
|
12768
12827
|
|
|
12769
|
-
/***/ "./node_modules/mqtt/build/index.js"
|
|
12828
|
+
/***/ "./node_modules/mqtt/build/index.js"
|
|
12770
12829
|
/*!******************************************!*\
|
|
12771
12830
|
!*** ./node_modules/mqtt/build/index.js ***!
|
|
12772
12831
|
\******************************************/
|
|
12773
|
-
|
|
12832
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12774
12833
|
|
|
12775
12834
|
"use strict";
|
|
12776
12835
|
|
|
@@ -12816,13 +12875,13 @@ exports["default"] = mqtt;
|
|
|
12816
12875
|
__exportStar(__webpack_require__(/*! ./mqtt */ "./node_modules/mqtt/build/mqtt.js"), exports);
|
|
12817
12876
|
//# sourceMappingURL=index.js.map
|
|
12818
12877
|
|
|
12819
|
-
/***/ }
|
|
12878
|
+
/***/ },
|
|
12820
12879
|
|
|
12821
|
-
/***/ "./node_modules/mqtt/build/lib/BufferedDuplex.js"
|
|
12880
|
+
/***/ "./node_modules/mqtt/build/lib/BufferedDuplex.js"
|
|
12822
12881
|
/*!*******************************************************!*\
|
|
12823
12882
|
!*** ./node_modules/mqtt/build/lib/BufferedDuplex.js ***!
|
|
12824
12883
|
\*******************************************************/
|
|
12825
|
-
|
|
12884
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12826
12885
|
|
|
12827
12886
|
"use strict";
|
|
12828
12887
|
|
|
@@ -12908,13 +12967,13 @@ class BufferedDuplex extends readable_stream_1.Duplex {
|
|
|
12908
12967
|
exports.BufferedDuplex = BufferedDuplex;
|
|
12909
12968
|
//# sourceMappingURL=BufferedDuplex.js.map
|
|
12910
12969
|
|
|
12911
|
-
/***/ }
|
|
12970
|
+
/***/ },
|
|
12912
12971
|
|
|
12913
|
-
/***/ "./node_modules/mqtt/build/lib/KeepaliveManager.js"
|
|
12972
|
+
/***/ "./node_modules/mqtt/build/lib/KeepaliveManager.js"
|
|
12914
12973
|
/*!*********************************************************!*\
|
|
12915
12974
|
!*** ./node_modules/mqtt/build/lib/KeepaliveManager.js ***!
|
|
12916
12975
|
\*********************************************************/
|
|
12917
|
-
|
|
12976
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
12918
12977
|
|
|
12919
12978
|
"use strict";
|
|
12920
12979
|
|
|
@@ -12996,13 +13055,13 @@ class KeepaliveManager {
|
|
|
12996
13055
|
exports["default"] = KeepaliveManager;
|
|
12997
13056
|
//# sourceMappingURL=KeepaliveManager.js.map
|
|
12998
13057
|
|
|
12999
|
-
/***/ }
|
|
13058
|
+
/***/ },
|
|
13000
13059
|
|
|
13001
|
-
/***/ "./node_modules/mqtt/build/lib/TypedEmitter.js"
|
|
13060
|
+
/***/ "./node_modules/mqtt/build/lib/TypedEmitter.js"
|
|
13002
13061
|
/*!*****************************************************!*\
|
|
13003
13062
|
!*** ./node_modules/mqtt/build/lib/TypedEmitter.js ***!
|
|
13004
13063
|
\*****************************************************/
|
|
13005
|
-
|
|
13064
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
13006
13065
|
|
|
13007
13066
|
"use strict";
|
|
13008
13067
|
|
|
@@ -13019,13 +13078,13 @@ exports.TypedEventEmitter = TypedEventEmitter;
|
|
|
13019
13078
|
(0, shared_1.applyMixin)(TypedEventEmitter, events_1.default);
|
|
13020
13079
|
//# sourceMappingURL=TypedEmitter.js.map
|
|
13021
13080
|
|
|
13022
|
-
/***/ }
|
|
13081
|
+
/***/ },
|
|
13023
13082
|
|
|
13024
|
-
/***/ "./node_modules/mqtt/build/lib/client.js"
|
|
13083
|
+
/***/ "./node_modules/mqtt/build/lib/client.js"
|
|
13025
13084
|
/*!***********************************************!*\
|
|
13026
13085
|
!*** ./node_modules/mqtt/build/lib/client.js ***!
|
|
13027
13086
|
\***********************************************/
|
|
13028
|
-
|
|
13087
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
13029
13088
|
|
|
13030
13089
|
"use strict";
|
|
13031
13090
|
|
|
@@ -14318,13 +14377,13 @@ class MqttClient extends TypedEmitter_1.TypedEventEmitter {
|
|
|
14318
14377
|
exports["default"] = MqttClient;
|
|
14319
14378
|
//# sourceMappingURL=client.js.map
|
|
14320
14379
|
|
|
14321
|
-
/***/ }
|
|
14380
|
+
/***/ },
|
|
14322
14381
|
|
|
14323
|
-
/***/ "./node_modules/mqtt/build/lib/connect/ali.js"
|
|
14382
|
+
/***/ "./node_modules/mqtt/build/lib/connect/ali.js"
|
|
14324
14383
|
/*!****************************************************!*\
|
|
14325
14384
|
!*** ./node_modules/mqtt/build/lib/connect/ali.js ***!
|
|
14326
14385
|
\****************************************************/
|
|
14327
|
-
|
|
14386
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
14328
14387
|
|
|
14329
14388
|
"use strict";
|
|
14330
14389
|
|
|
@@ -14435,13 +14494,13 @@ const buildStream = (client, opts) => {
|
|
|
14435
14494
|
exports["default"] = buildStream;
|
|
14436
14495
|
//# sourceMappingURL=ali.js.map
|
|
14437
14496
|
|
|
14438
|
-
/***/ }
|
|
14497
|
+
/***/ },
|
|
14439
14498
|
|
|
14440
|
-
/***/ "./node_modules/mqtt/build/lib/connect/index.js"
|
|
14499
|
+
/***/ "./node_modules/mqtt/build/lib/connect/index.js"
|
|
14441
14500
|
/*!******************************************************!*\
|
|
14442
14501
|
!*** ./node_modules/mqtt/build/lib/connect/index.js ***!
|
|
14443
14502
|
\******************************************************/
|
|
14444
|
-
|
|
14503
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
14445
14504
|
|
|
14446
14505
|
"use strict";
|
|
14447
14506
|
|
|
@@ -14643,13 +14702,13 @@ function connectAsync(brokerUrl, opts, allowRetries = true) {
|
|
|
14643
14702
|
exports["default"] = connect;
|
|
14644
14703
|
//# sourceMappingURL=index.js.map
|
|
14645
14704
|
|
|
14646
|
-
/***/ }
|
|
14705
|
+
/***/ },
|
|
14647
14706
|
|
|
14648
|
-
/***/ "./node_modules/mqtt/build/lib/connect/socks.js"
|
|
14707
|
+
/***/ "./node_modules/mqtt/build/lib/connect/socks.js"
|
|
14649
14708
|
/*!******************************************************!*\
|
|
14650
14709
|
!*** ./node_modules/mqtt/build/lib/connect/socks.js ***!
|
|
14651
14710
|
\******************************************************/
|
|
14652
|
-
|
|
14711
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
14653
14712
|
|
|
14654
14713
|
"use strict";
|
|
14655
14714
|
|
|
@@ -14834,13 +14893,13 @@ function openSocks(destinationHost, destinationPort, socksUrl, options) {
|
|
|
14834
14893
|
}
|
|
14835
14894
|
//# sourceMappingURL=socks.js.map
|
|
14836
14895
|
|
|
14837
|
-
/***/ }
|
|
14896
|
+
/***/ },
|
|
14838
14897
|
|
|
14839
|
-
/***/ "./node_modules/mqtt/build/lib/connect/tcp.js"
|
|
14898
|
+
/***/ "./node_modules/mqtt/build/lib/connect/tcp.js"
|
|
14840
14899
|
/*!****************************************************!*\
|
|
14841
14900
|
!*** ./node_modules/mqtt/build/lib/connect/tcp.js ***!
|
|
14842
14901
|
\****************************************************/
|
|
14843
|
-
|
|
14902
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
14844
14903
|
|
|
14845
14904
|
"use strict";
|
|
14846
14905
|
|
|
@@ -14868,13 +14927,13 @@ const buildStream = (client, opts) => {
|
|
|
14868
14927
|
exports["default"] = buildStream;
|
|
14869
14928
|
//# sourceMappingURL=tcp.js.map
|
|
14870
14929
|
|
|
14871
|
-
/***/ }
|
|
14930
|
+
/***/ },
|
|
14872
14931
|
|
|
14873
|
-
/***/ "./node_modules/mqtt/build/lib/connect/tls.js"
|
|
14932
|
+
/***/ "./node_modules/mqtt/build/lib/connect/tls.js"
|
|
14874
14933
|
/*!****************************************************!*\
|
|
14875
14934
|
!*** ./node_modules/mqtt/build/lib/connect/tls.js ***!
|
|
14876
14935
|
\****************************************************/
|
|
14877
|
-
|
|
14936
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
14878
14937
|
|
|
14879
14938
|
"use strict";
|
|
14880
14939
|
|
|
@@ -14930,13 +14989,13 @@ const buildStream = (client, opts) => {
|
|
|
14930
14989
|
exports["default"] = buildStream;
|
|
14931
14990
|
//# sourceMappingURL=tls.js.map
|
|
14932
14991
|
|
|
14933
|
-
/***/ }
|
|
14992
|
+
/***/ },
|
|
14934
14993
|
|
|
14935
|
-
/***/ "./node_modules/mqtt/build/lib/connect/ws.js"
|
|
14994
|
+
/***/ "./node_modules/mqtt/build/lib/connect/ws.js"
|
|
14936
14995
|
/*!***************************************************!*\
|
|
14937
14996
|
!*** ./node_modules/mqtt/build/lib/connect/ws.js ***!
|
|
14938
14997
|
\***************************************************/
|
|
14939
|
-
|
|
14998
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
14940
14999
|
|
|
14941
15000
|
"use strict";
|
|
14942
15001
|
|
|
@@ -15123,7 +15182,7 @@ const browserStreamBuilder = (client, opts) => {
|
|
|
15123
15182
|
stream.destroy(error);
|
|
15124
15183
|
}
|
|
15125
15184
|
async function onMessage(event) {
|
|
15126
|
-
if (!proxy || proxy.
|
|
15185
|
+
if (!proxy || !proxy.readable || !proxy.writable) {
|
|
15127
15186
|
return;
|
|
15128
15187
|
}
|
|
15129
15188
|
let { data } = event;
|
|
@@ -15160,13 +15219,13 @@ const browserStreamBuilder = (client, opts) => {
|
|
|
15160
15219
|
exports.browserStreamBuilder = browserStreamBuilder;
|
|
15161
15220
|
//# sourceMappingURL=ws.js.map
|
|
15162
15221
|
|
|
15163
|
-
/***/ }
|
|
15222
|
+
/***/ },
|
|
15164
15223
|
|
|
15165
|
-
/***/ "./node_modules/mqtt/build/lib/connect/wx.js"
|
|
15224
|
+
/***/ "./node_modules/mqtt/build/lib/connect/wx.js"
|
|
15166
15225
|
/*!***************************************************!*\
|
|
15167
15226
|
!*** ./node_modules/mqtt/build/lib/connect/wx.js ***!
|
|
15168
15227
|
\***************************************************/
|
|
15169
|
-
|
|
15228
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15170
15229
|
|
|
15171
15230
|
"use strict";
|
|
15172
15231
|
|
|
@@ -15285,13 +15344,13 @@ const buildStream = (client, opts) => {
|
|
|
15285
15344
|
exports["default"] = buildStream;
|
|
15286
15345
|
//# sourceMappingURL=wx.js.map
|
|
15287
15346
|
|
|
15288
|
-
/***/ }
|
|
15347
|
+
/***/ },
|
|
15289
15348
|
|
|
15290
|
-
/***/ "./node_modules/mqtt/build/lib/default-message-id-provider.js"
|
|
15349
|
+
/***/ "./node_modules/mqtt/build/lib/default-message-id-provider.js"
|
|
15291
15350
|
/*!********************************************************************!*\
|
|
15292
15351
|
!*** ./node_modules/mqtt/build/lib/default-message-id-provider.js ***!
|
|
15293
15352
|
\********************************************************************/
|
|
15294
|
-
|
|
15353
|
+
(__unused_webpack_module, exports) {
|
|
15295
15354
|
|
|
15296
15355
|
"use strict";
|
|
15297
15356
|
|
|
@@ -15320,13 +15379,13 @@ class DefaultMessageIdProvider {
|
|
|
15320
15379
|
exports["default"] = DefaultMessageIdProvider;
|
|
15321
15380
|
//# sourceMappingURL=default-message-id-provider.js.map
|
|
15322
15381
|
|
|
15323
|
-
/***/ }
|
|
15382
|
+
/***/ },
|
|
15324
15383
|
|
|
15325
|
-
/***/ "./node_modules/mqtt/build/lib/get-timer.js"
|
|
15384
|
+
/***/ "./node_modules/mqtt/build/lib/get-timer.js"
|
|
15326
15385
|
/*!**************************************************!*\
|
|
15327
15386
|
!*** ./node_modules/mqtt/build/lib/get-timer.js ***!
|
|
15328
15387
|
\**************************************************/
|
|
15329
|
-
|
|
15388
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15330
15389
|
|
|
15331
15390
|
"use strict";
|
|
15332
15391
|
|
|
@@ -15393,13 +15452,13 @@ const getTimer = (variant) => {
|
|
|
15393
15452
|
exports["default"] = getTimer;
|
|
15394
15453
|
//# sourceMappingURL=get-timer.js.map
|
|
15395
15454
|
|
|
15396
|
-
/***/ }
|
|
15455
|
+
/***/ },
|
|
15397
15456
|
|
|
15398
|
-
/***/ "./node_modules/mqtt/build/lib/handlers/ack.js"
|
|
15457
|
+
/***/ "./node_modules/mqtt/build/lib/handlers/ack.js"
|
|
15399
15458
|
/*!*****************************************************!*\
|
|
15400
15459
|
!*** ./node_modules/mqtt/build/lib/handlers/ack.js ***!
|
|
15401
15460
|
\*****************************************************/
|
|
15402
|
-
|
|
15461
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15403
15462
|
|
|
15404
15463
|
"use strict";
|
|
15405
15464
|
|
|
@@ -15534,13 +15593,13 @@ const handleAck = (client, packet) => {
|
|
|
15534
15593
|
exports["default"] = handleAck;
|
|
15535
15594
|
//# sourceMappingURL=ack.js.map
|
|
15536
15595
|
|
|
15537
|
-
/***/ }
|
|
15596
|
+
/***/ },
|
|
15538
15597
|
|
|
15539
|
-
/***/ "./node_modules/mqtt/build/lib/handlers/auth.js"
|
|
15598
|
+
/***/ "./node_modules/mqtt/build/lib/handlers/auth.js"
|
|
15540
15599
|
/*!******************************************************!*\
|
|
15541
15600
|
!*** ./node_modules/mqtt/build/lib/handlers/auth.js ***!
|
|
15542
15601
|
\******************************************************/
|
|
15543
|
-
|
|
15602
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15544
15603
|
|
|
15545
15604
|
"use strict";
|
|
15546
15605
|
|
|
@@ -15574,13 +15633,13 @@ const handleAuth = (client, packet) => {
|
|
|
15574
15633
|
exports["default"] = handleAuth;
|
|
15575
15634
|
//# sourceMappingURL=auth.js.map
|
|
15576
15635
|
|
|
15577
|
-
/***/ }
|
|
15636
|
+
/***/ },
|
|
15578
15637
|
|
|
15579
|
-
/***/ "./node_modules/mqtt/build/lib/handlers/connack.js"
|
|
15638
|
+
/***/ "./node_modules/mqtt/build/lib/handlers/connack.js"
|
|
15580
15639
|
/*!*********************************************************!*\
|
|
15581
15640
|
!*** ./node_modules/mqtt/build/lib/handlers/connack.js ***!
|
|
15582
15641
|
\*********************************************************/
|
|
15583
|
-
|
|
15642
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15584
15643
|
|
|
15585
15644
|
"use strict";
|
|
15586
15645
|
|
|
@@ -15634,13 +15693,13 @@ const handleConnack = (client, packet) => {
|
|
|
15634
15693
|
exports["default"] = handleConnack;
|
|
15635
15694
|
//# sourceMappingURL=connack.js.map
|
|
15636
15695
|
|
|
15637
|
-
/***/ }
|
|
15696
|
+
/***/ },
|
|
15638
15697
|
|
|
15639
|
-
/***/ "./node_modules/mqtt/build/lib/handlers/index.js"
|
|
15698
|
+
/***/ "./node_modules/mqtt/build/lib/handlers/index.js"
|
|
15640
15699
|
/*!*******************************************************!*\
|
|
15641
15700
|
!*** ./node_modules/mqtt/build/lib/handlers/index.js ***!
|
|
15642
15701
|
\*******************************************************/
|
|
15643
|
-
|
|
15702
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15644
15703
|
|
|
15645
15704
|
"use strict";
|
|
15646
15705
|
|
|
@@ -15712,13 +15771,13 @@ const handle = (client, packet, done) => {
|
|
|
15712
15771
|
exports["default"] = handle;
|
|
15713
15772
|
//# sourceMappingURL=index.js.map
|
|
15714
15773
|
|
|
15715
|
-
/***/ }
|
|
15774
|
+
/***/ },
|
|
15716
15775
|
|
|
15717
|
-
/***/ "./node_modules/mqtt/build/lib/handlers/publish.js"
|
|
15776
|
+
/***/ "./node_modules/mqtt/build/lib/handlers/publish.js"
|
|
15718
15777
|
/*!*********************************************************!*\
|
|
15719
15778
|
!*** ./node_modules/mqtt/build/lib/handlers/publish.js ***!
|
|
15720
15779
|
\*********************************************************/
|
|
15721
|
-
|
|
15780
|
+
(__unused_webpack_module, exports) {
|
|
15722
15781
|
|
|
15723
15782
|
"use strict";
|
|
15724
15783
|
|
|
@@ -15828,13 +15887,13 @@ const handlePublish = (client, packet, done) => {
|
|
|
15828
15887
|
exports["default"] = handlePublish;
|
|
15829
15888
|
//# sourceMappingURL=publish.js.map
|
|
15830
15889
|
|
|
15831
|
-
/***/ }
|
|
15890
|
+
/***/ },
|
|
15832
15891
|
|
|
15833
|
-
/***/ "./node_modules/mqtt/build/lib/handlers/pubrel.js"
|
|
15892
|
+
/***/ "./node_modules/mqtt/build/lib/handlers/pubrel.js"
|
|
15834
15893
|
/*!********************************************************!*\
|
|
15835
15894
|
!*** ./node_modules/mqtt/build/lib/handlers/pubrel.js ***!
|
|
15836
15895
|
\********************************************************/
|
|
15837
|
-
|
|
15896
|
+
(__unused_webpack_module, exports) {
|
|
15838
15897
|
|
|
15839
15898
|
"use strict";
|
|
15840
15899
|
|
|
@@ -15863,13 +15922,13 @@ const handlePubrel = (client, packet, done) => {
|
|
|
15863
15922
|
exports["default"] = handlePubrel;
|
|
15864
15923
|
//# sourceMappingURL=pubrel.js.map
|
|
15865
15924
|
|
|
15866
|
-
/***/ }
|
|
15925
|
+
/***/ },
|
|
15867
15926
|
|
|
15868
|
-
/***/ "./node_modules/mqtt/build/lib/is-browser.js"
|
|
15927
|
+
/***/ "./node_modules/mqtt/build/lib/is-browser.js"
|
|
15869
15928
|
/*!***************************************************!*\
|
|
15870
15929
|
!*** ./node_modules/mqtt/build/lib/is-browser.js ***!
|
|
15871
15930
|
\***************************************************/
|
|
15872
|
-
|
|
15931
|
+
(__unused_webpack_module, exports) {
|
|
15873
15932
|
|
|
15874
15933
|
"use strict";
|
|
15875
15934
|
|
|
@@ -15888,7 +15947,8 @@ const isStandardBrowserEnv = () => {
|
|
|
15888
15947
|
return false;
|
|
15889
15948
|
};
|
|
15890
15949
|
const isWebWorkerEnv = () => Boolean(typeof self === 'object' &&
|
|
15891
|
-
self?.constructor?.name?.includes('WorkerGlobalScope')
|
|
15950
|
+
self?.constructor?.name?.includes('WorkerGlobalScope') &&
|
|
15951
|
+
typeof Deno === 'undefined');
|
|
15892
15952
|
const isReactNativeEnv = () => typeof navigator !== 'undefined' && navigator.product === 'ReactNative';
|
|
15893
15953
|
const isBrowser = isStandardBrowserEnv() || isWebWorkerEnv() || isReactNativeEnv();
|
|
15894
15954
|
exports.isWebWorker = isWebWorkerEnv();
|
|
@@ -15896,13 +15956,13 @@ exports.isReactNativeBrowser = isReactNativeEnv();
|
|
|
15896
15956
|
exports["default"] = isBrowser;
|
|
15897
15957
|
//# sourceMappingURL=is-browser.js.map
|
|
15898
15958
|
|
|
15899
|
-
/***/ }
|
|
15959
|
+
/***/ },
|
|
15900
15960
|
|
|
15901
|
-
/***/ "./node_modules/mqtt/build/lib/shared.js"
|
|
15961
|
+
/***/ "./node_modules/mqtt/build/lib/shared.js"
|
|
15902
15962
|
/*!***********************************************!*\
|
|
15903
15963
|
!*** ./node_modules/mqtt/build/lib/shared.js ***!
|
|
15904
15964
|
\***********************************************/
|
|
15905
|
-
|
|
15965
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15906
15966
|
|
|
15907
15967
|
"use strict";
|
|
15908
15968
|
|
|
@@ -15958,13 +16018,13 @@ exports.nextTick = typeof process?.nextTick === 'function'
|
|
|
15958
16018
|
exports.MQTTJS_VERSION = __webpack_require__(/*! ../../package.json */ "./node_modules/mqtt/package.json").version;
|
|
15959
16019
|
//# sourceMappingURL=shared.js.map
|
|
15960
16020
|
|
|
15961
|
-
/***/ }
|
|
16021
|
+
/***/ },
|
|
15962
16022
|
|
|
15963
|
-
/***/ "./node_modules/mqtt/build/lib/store.js"
|
|
16023
|
+
/***/ "./node_modules/mqtt/build/lib/store.js"
|
|
15964
16024
|
/*!**********************************************!*\
|
|
15965
16025
|
!*** ./node_modules/mqtt/build/lib/store.js ***!
|
|
15966
16026
|
\**********************************************/
|
|
15967
|
-
|
|
16027
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
15968
16028
|
|
|
15969
16029
|
"use strict";
|
|
15970
16030
|
|
|
@@ -16050,13 +16110,13 @@ class Store {
|
|
|
16050
16110
|
exports["default"] = Store;
|
|
16051
16111
|
//# sourceMappingURL=store.js.map
|
|
16052
16112
|
|
|
16053
|
-
/***/ }
|
|
16113
|
+
/***/ },
|
|
16054
16114
|
|
|
16055
|
-
/***/ "./node_modules/mqtt/build/lib/topic-alias-recv.js"
|
|
16115
|
+
/***/ "./node_modules/mqtt/build/lib/topic-alias-recv.js"
|
|
16056
16116
|
/*!*********************************************************!*\
|
|
16057
16117
|
!*** ./node_modules/mqtt/build/lib/topic-alias-recv.js ***!
|
|
16058
16118
|
\*********************************************************/
|
|
16059
|
-
|
|
16119
|
+
(__unused_webpack_module, exports) {
|
|
16060
16120
|
|
|
16061
16121
|
"use strict";
|
|
16062
16122
|
|
|
@@ -16087,13 +16147,13 @@ class TopicAliasRecv {
|
|
|
16087
16147
|
exports["default"] = TopicAliasRecv;
|
|
16088
16148
|
//# sourceMappingURL=topic-alias-recv.js.map
|
|
16089
16149
|
|
|
16090
|
-
/***/ }
|
|
16150
|
+
/***/ },
|
|
16091
16151
|
|
|
16092
|
-
/***/ "./node_modules/mqtt/build/lib/topic-alias-send.js"
|
|
16152
|
+
/***/ "./node_modules/mqtt/build/lib/topic-alias-send.js"
|
|
16093
16153
|
/*!*********************************************************!*\
|
|
16094
16154
|
!*** ./node_modules/mqtt/build/lib/topic-alias-send.js ***!
|
|
16095
16155
|
\*********************************************************/
|
|
16096
|
-
|
|
16156
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
16097
16157
|
|
|
16098
16158
|
"use strict";
|
|
16099
16159
|
|
|
@@ -16155,13 +16215,13 @@ class TopicAliasSend {
|
|
|
16155
16215
|
exports["default"] = TopicAliasSend;
|
|
16156
16216
|
//# sourceMappingURL=topic-alias-send.js.map
|
|
16157
16217
|
|
|
16158
|
-
/***/ }
|
|
16218
|
+
/***/ },
|
|
16159
16219
|
|
|
16160
|
-
/***/ "./node_modules/mqtt/build/lib/unique-message-id-provider.js"
|
|
16220
|
+
/***/ "./node_modules/mqtt/build/lib/unique-message-id-provider.js"
|
|
16161
16221
|
/*!*******************************************************************!*\
|
|
16162
16222
|
!*** ./node_modules/mqtt/build/lib/unique-message-id-provider.js ***!
|
|
16163
16223
|
\*******************************************************************/
|
|
16164
|
-
|
|
16224
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
16165
16225
|
|
|
16166
16226
|
"use strict";
|
|
16167
16227
|
|
|
@@ -16193,13 +16253,13 @@ class UniqueMessageIdProvider {
|
|
|
16193
16253
|
exports["default"] = UniqueMessageIdProvider;
|
|
16194
16254
|
//# sourceMappingURL=unique-message-id-provider.js.map
|
|
16195
16255
|
|
|
16196
|
-
/***/ }
|
|
16256
|
+
/***/ },
|
|
16197
16257
|
|
|
16198
|
-
/***/ "./node_modules/mqtt/build/lib/validations.js"
|
|
16258
|
+
/***/ "./node_modules/mqtt/build/lib/validations.js"
|
|
16199
16259
|
/*!****************************************************!*\
|
|
16200
16260
|
!*** ./node_modules/mqtt/build/lib/validations.js ***!
|
|
16201
16261
|
\****************************************************/
|
|
16202
|
-
|
|
16262
|
+
(__unused_webpack_module, exports) {
|
|
16203
16263
|
|
|
16204
16264
|
"use strict";
|
|
16205
16265
|
|
|
@@ -16234,13 +16294,13 @@ function validateTopics(topics) {
|
|
|
16234
16294
|
}
|
|
16235
16295
|
//# sourceMappingURL=validations.js.map
|
|
16236
16296
|
|
|
16237
|
-
/***/ }
|
|
16297
|
+
/***/ },
|
|
16238
16298
|
|
|
16239
|
-
/***/ "./node_modules/mqtt/build/mqtt.js"
|
|
16299
|
+
/***/ "./node_modules/mqtt/build/mqtt.js"
|
|
16240
16300
|
/*!*****************************************!*\
|
|
16241
16301
|
!*** ./node_modules/mqtt/build/mqtt.js ***!
|
|
16242
16302
|
\*****************************************/
|
|
16243
|
-
|
|
16303
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
16244
16304
|
|
|
16245
16305
|
"use strict";
|
|
16246
16306
|
|
|
@@ -16305,13 +16365,13 @@ var ack_1 = __webpack_require__(/*! ./lib/handlers/ack */ "./node_modules/mqtt/b
|
|
|
16305
16365
|
Object.defineProperty(exports, "ReasonCodes", ({ enumerable: true, get: function () { return ack_1.ReasonCodes; } }));
|
|
16306
16366
|
//# sourceMappingURL=mqtt.js.map
|
|
16307
16367
|
|
|
16308
|
-
/***/ }
|
|
16368
|
+
/***/ },
|
|
16309
16369
|
|
|
16310
|
-
/***/ "./node_modules/mqtt/node_modules/lru-cache/dist/commonjs/index.js"
|
|
16370
|
+
/***/ "./node_modules/mqtt/node_modules/lru-cache/dist/commonjs/index.js"
|
|
16311
16371
|
/*!*************************************************************************!*\
|
|
16312
16372
|
!*** ./node_modules/mqtt/node_modules/lru-cache/dist/commonjs/index.js ***!
|
|
16313
16373
|
\*************************************************************************/
|
|
16314
|
-
|
|
16374
|
+
(__unused_webpack_module, exports) {
|
|
16315
16375
|
|
|
16316
16376
|
"use strict";
|
|
16317
16377
|
|
|
@@ -17861,24 +17921,24 @@ class LRUCache {
|
|
|
17861
17921
|
exports.LRUCache = LRUCache;
|
|
17862
17922
|
//# sourceMappingURL=index.js.map
|
|
17863
17923
|
|
|
17864
|
-
/***/ }
|
|
17924
|
+
/***/ },
|
|
17865
17925
|
|
|
17866
|
-
/***/ "./node_modules/mqtt/package.json"
|
|
17926
|
+
/***/ "./node_modules/mqtt/package.json"
|
|
17867
17927
|
/*!****************************************!*\
|
|
17868
17928
|
!*** ./node_modules/mqtt/package.json ***!
|
|
17869
17929
|
\****************************************/
|
|
17870
|
-
|
|
17930
|
+
(module) {
|
|
17871
17931
|
|
|
17872
17932
|
"use strict";
|
|
17873
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"mqtt","description":"A library for the MQTT protocol","version":"5.14.
|
|
17933
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"mqtt","description":"A library for the MQTT protocol","version":"5.14.1","contributors":["Adam Rudd <adamvrr@gmail.com>","Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)","Siarhei Buntsevich <scarry0506@gmail.com> (https://github.com/scarry1992)","Yoseph Maguire <yomaguir@microsoft.com> (https://github.com/YoDaMa)","Daniel Lando <daniel.sorridi@gmail.com> (https://github.com/robertsLando)"],"keywords":["mqtt","publish/subscribe","publish","subscribe"],"license":"MIT","repository":{"type":"git","url":"git://github.com/mqttjs/MQTT.js.git"},"main":"./build/index.js","module":"./dist/mqtt.esm.js","bin":{"mqtt_pub":"./build/bin/pub.js","mqtt_sub":"./build/bin/sub.js","mqtt":"./build/bin/mqtt.js"},"files":["dist/","CONTRIBUTING.md","LICENSE.md","help/","build/"],"exports":{".":{"react-native":"./dist/mqtt.esm.js","browser":{"import":"./dist/mqtt.esm.js","default":"./dist/mqtt.min.js"},"default":"./build/index.js"},"./package.json":"./package.json","./*.map":"./build/*.js.map","./dist/*":"./dist/*.js","./*":"./build/*.js"},"types":"build/index.d.ts","typesVersions":{"*":{"*":["./build/index.d.ts"]}},"scripts":{"lint":"eslint --ext .ts .","lint-fix":"eslint --fix --ext .ts .","build:ts":"rimraf build/ && tsc -p tsconfig.build.json","build:browser":"node esbuild.js","build":"npm run build:ts && npm run build:browser","prepare":"npm run build","unit-test:node":"node -r esbuild-register --test-concurrency 4 --test-reporter=junit --test-reporter-destination=junit.xml --test-reporter=spec --test-reporter-destination=stdout --test test/node/*.ts ","unit-test:browser":"wtr","test:node":"node_modules/.bin/nyc npm run unit-test:node","test:browser":"npm run build && npm run unit-test:browser","test":"npm run test:node","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","changelog-init":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","release":"read -p \'GITHUB_TOKEN: \' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it"},"release-it":{"github":{"release":true},"git":{"tagName":"v${version}","commitMessage":"chore(release): ${version}"},"hooks":{"before:init":["npm run test"]},"npm":{"publish":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular","infile":"CHANGELOG.md"}}},"publishConfig":{"provenance":true},"pre-commit":["lint"],"engines":{"node":">=16.0.0"},"browser":{"./mqtt.js":"./dist/mqtt.js","fs":false,"tls":false,"net":false},"dependencies":{"@types/readable-stream":"^4.0.21","@types/ws":"^8.18.1","commist":"^3.2.0","concat-stream":"^2.0.0","debug":"^4.4.1","help-me":"^5.0.0","lru-cache":"^10.4.3","minimist":"^1.2.8","mqtt-packet":"^9.0.2","number-allocator":"^1.0.14","readable-stream":"^4.7.0","rfdc":"^1.4.1","socks":"^2.8.6","split2":"^4.2.0","worker-timers":"^8.0.23","ws":"^8.18.3"},"devDependencies":{"@eslint/eslintrc":"^3.3.1","@eslint/js":"^9.32.0","@esm-bundle/chai":"^4.3.4","@release-it/conventional-changelog":"^10.0.1","@tsconfig/node20":"^20.1.6","@types/chai":"^5.2.2","@types/node":"^20.17.16","@types/sinon":"^17.0.4","@types/tape":"^5.8.1","@typescript-eslint/eslint-plugin":"^8.38.0","@typescript-eslint/parser":"^8.38.0","@web/test-runner":"^0.20.2","@web/test-runner-playwright":"^0.11.1","aedes-cli":"^0.8.0","chai":"^5.2.1","chokidar":"^4.0.3","conventional-changelog-cli":"^5.0.0","end-of-stream":"^1.4.5","esbuild":"^0.25.8","esbuild-plugin-polyfill-node":"^0.3.0","esbuild-register":"^3.6.0","eslint":"^9.32.0","eslint-config-prettier":"^10.1.8","eslint-plugin-import":"^2.32.0","eslint-plugin-prettier":"^5.5.3","global":"^4.4.0","globals":"^16.3.0","leaked-handles":"^5.2.0","mkdirp":"^3.0.1","mqtt-connection":"^4.1.0","mqtt-level-store":"^3.1.0","nyc":"^17.1.0","pre-commit":"^1.2.2","prettier":"^3.6.2","release-it":"^19.0.4","rimraf":"^6.0.1","should":"^13.2.3","sinon":"^17.0.2","snazzy":"^9.0.0","tape":"^5.9.0","ts-node":"^10.9.2","typescript":"^5.8.3"}}');
|
|
17874
17934
|
|
|
17875
|
-
/***/ }
|
|
17935
|
+
/***/ },
|
|
17876
17936
|
|
|
17877
|
-
/***/ "./node_modules/ms/index.js"
|
|
17937
|
+
/***/ "./node_modules/ms/index.js"
|
|
17878
17938
|
/*!**********************************!*\
|
|
17879
17939
|
!*** ./node_modules/ms/index.js ***!
|
|
17880
17940
|
\**********************************/
|
|
17881
|
-
|
|
17941
|
+
(module) {
|
|
17882
17942
|
|
|
17883
17943
|
/**
|
|
17884
17944
|
* Helpers.
|
|
@@ -18044,13 +18104,13 @@ function plural(ms, msAbs, n, name) {
|
|
|
18044
18104
|
}
|
|
18045
18105
|
|
|
18046
18106
|
|
|
18047
|
-
/***/ }
|
|
18107
|
+
/***/ },
|
|
18048
18108
|
|
|
18049
|
-
/***/ "./node_modules/number-allocator/index.js"
|
|
18109
|
+
/***/ "./node_modules/number-allocator/index.js"
|
|
18050
18110
|
/*!************************************************!*\
|
|
18051
18111
|
!*** ./node_modules/number-allocator/index.js ***!
|
|
18052
18112
|
\************************************************/
|
|
18053
|
-
|
|
18113
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
18054
18114
|
|
|
18055
18115
|
// Copyright Takatoshi Kondo 2021
|
|
18056
18116
|
//
|
|
@@ -18061,13 +18121,13 @@ const NumberAllocator = __webpack_require__(/*! ./lib/number-allocator.js */ "./
|
|
|
18061
18121
|
module.exports.NumberAllocator = NumberAllocator
|
|
18062
18122
|
|
|
18063
18123
|
|
|
18064
|
-
/***/ }
|
|
18124
|
+
/***/ },
|
|
18065
18125
|
|
|
18066
|
-
/***/ "./node_modules/number-allocator/lib/number-allocator.js"
|
|
18126
|
+
/***/ "./node_modules/number-allocator/lib/number-allocator.js"
|
|
18067
18127
|
/*!***************************************************************!*\
|
|
18068
18128
|
!*** ./node_modules/number-allocator/lib/number-allocator.js ***!
|
|
18069
18129
|
\***************************************************************/
|
|
18070
|
-
|
|
18130
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
18071
18131
|
|
|
18072
18132
|
"use strict";
|
|
18073
18133
|
// Copyright Takatoshi Kondo 2021
|
|
@@ -18321,13 +18381,13 @@ NumberAllocator.prototype.dump = function () {
|
|
|
18321
18381
|
module.exports = NumberAllocator
|
|
18322
18382
|
|
|
18323
18383
|
|
|
18324
|
-
/***/ }
|
|
18384
|
+
/***/ },
|
|
18325
18385
|
|
|
18326
|
-
/***/ "./node_modules/process-nextick-args/index.js"
|
|
18386
|
+
/***/ "./node_modules/process-nextick-args/index.js"
|
|
18327
18387
|
/*!****************************************************!*\
|
|
18328
18388
|
!*** ./node_modules/process-nextick-args/index.js ***!
|
|
18329
18389
|
\****************************************************/
|
|
18330
|
-
|
|
18390
|
+
(module) {
|
|
18331
18391
|
|
|
18332
18392
|
"use strict";
|
|
18333
18393
|
|
|
@@ -18377,25 +18437,25 @@ function nextTick(fn, arg1, arg2, arg3) {
|
|
|
18377
18437
|
|
|
18378
18438
|
|
|
18379
18439
|
|
|
18380
|
-
/***/ }
|
|
18440
|
+
/***/ },
|
|
18381
18441
|
|
|
18382
|
-
/***/ "./node_modules/process/index.js"
|
|
18442
|
+
/***/ "./node_modules/process/index.js"
|
|
18383
18443
|
/*!***************************************!*\
|
|
18384
18444
|
!*** ./node_modules/process/index.js ***!
|
|
18385
18445
|
\***************************************/
|
|
18386
|
-
|
|
18446
|
+
(module) {
|
|
18387
18447
|
|
|
18388
18448
|
// for now just expose the builtin process global from node.js
|
|
18389
18449
|
module.exports = global.process;
|
|
18390
18450
|
|
|
18391
18451
|
|
|
18392
|
-
/***/ }
|
|
18452
|
+
/***/ },
|
|
18393
18453
|
|
|
18394
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"
|
|
18454
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"
|
|
18395
18455
|
/*!*******************************************************************************!*\
|
|
18396
18456
|
!*** ./node_modules/readable-stream/lib/internal/streams/add-abort-signal.js ***!
|
|
18397
18457
|
\*******************************************************************************/
|
|
18398
|
-
|
|
18458
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
18399
18459
|
|
|
18400
18460
|
"use strict";
|
|
18401
18461
|
|
|
@@ -18452,13 +18512,13 @@ module.exports.addAbortSignalNoValidate = function (signal, stream) {
|
|
|
18452
18512
|
}
|
|
18453
18513
|
|
|
18454
18514
|
|
|
18455
|
-
/***/ }
|
|
18515
|
+
/***/ },
|
|
18456
18516
|
|
|
18457
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/buffer_list.js"
|
|
18517
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/buffer_list.js"
|
|
18458
18518
|
/*!**************************************************************************!*\
|
|
18459
18519
|
!*** ./node_modules/readable-stream/lib/internal/streams/buffer_list.js ***!
|
|
18460
18520
|
\**************************************************************************/
|
|
18461
|
-
|
|
18521
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
18462
18522
|
|
|
18463
18523
|
"use strict";
|
|
18464
18524
|
|
|
@@ -18620,13 +18680,13 @@ module.exports = class BufferList {
|
|
|
18620
18680
|
}
|
|
18621
18681
|
|
|
18622
18682
|
|
|
18623
|
-
/***/ }
|
|
18683
|
+
/***/ },
|
|
18624
18684
|
|
|
18625
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/compose.js"
|
|
18685
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/compose.js"
|
|
18626
18686
|
/*!**********************************************************************!*\
|
|
18627
18687
|
!*** ./node_modules/readable-stream/lib/internal/streams/compose.js ***!
|
|
18628
18688
|
\**********************************************************************/
|
|
18629
|
-
|
|
18689
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
18630
18690
|
|
|
18631
18691
|
"use strict";
|
|
18632
18692
|
|
|
@@ -18825,13 +18885,13 @@ module.exports = function compose(...streams) {
|
|
|
18825
18885
|
}
|
|
18826
18886
|
|
|
18827
18887
|
|
|
18828
|
-
/***/ }
|
|
18888
|
+
/***/ },
|
|
18829
18889
|
|
|
18830
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/destroy.js"
|
|
18890
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/destroy.js"
|
|
18831
18891
|
/*!**********************************************************************!*\
|
|
18832
18892
|
!*** ./node_modules/readable-stream/lib/internal/streams/destroy.js ***!
|
|
18833
18893
|
\**********************************************************************/
|
|
18834
|
-
|
|
18894
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
18835
18895
|
|
|
18836
18896
|
"use strict";
|
|
18837
18897
|
|
|
@@ -19126,13 +19186,13 @@ module.exports = {
|
|
|
19126
19186
|
}
|
|
19127
19187
|
|
|
19128
19188
|
|
|
19129
|
-
/***/ }
|
|
19189
|
+
/***/ },
|
|
19130
19190
|
|
|
19131
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/duplex.js"
|
|
19191
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/duplex.js"
|
|
19132
19192
|
/*!*********************************************************************!*\
|
|
19133
19193
|
!*** ./node_modules/readable-stream/lib/internal/streams/duplex.js ***!
|
|
19134
19194
|
\*********************************************************************/
|
|
19135
|
-
|
|
19195
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
19136
19196
|
|
|
19137
19197
|
"use strict";
|
|
19138
19198
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
@@ -19280,13 +19340,13 @@ Duplex.from = function (body) {
|
|
|
19280
19340
|
}
|
|
19281
19341
|
|
|
19282
19342
|
|
|
19283
|
-
/***/ }
|
|
19343
|
+
/***/ },
|
|
19284
19344
|
|
|
19285
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/duplexify.js"
|
|
19345
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/duplexify.js"
|
|
19286
19346
|
/*!************************************************************************!*\
|
|
19287
19347
|
!*** ./node_modules/readable-stream/lib/internal/streams/duplexify.js ***!
|
|
19288
19348
|
\************************************************************************/
|
|
19289
|
-
|
|
19349
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
19290
19350
|
|
|
19291
19351
|
/* replacement start */
|
|
19292
19352
|
|
|
@@ -19668,13 +19728,13 @@ function _duplexify(pair) {
|
|
|
19668
19728
|
}
|
|
19669
19729
|
|
|
19670
19730
|
|
|
19671
|
-
/***/ }
|
|
19731
|
+
/***/ },
|
|
19672
19732
|
|
|
19673
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/end-of-stream.js"
|
|
19733
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/end-of-stream.js"
|
|
19674
19734
|
/*!****************************************************************************!*\
|
|
19675
19735
|
!*** ./node_modules/readable-stream/lib/internal/streams/end-of-stream.js ***!
|
|
19676
19736
|
\****************************************************************************/
|
|
19677
|
-
|
|
19737
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
19678
19738
|
|
|
19679
19739
|
"use strict";
|
|
19680
19740
|
// Ported from https://github.com/mafintosh/end-of-stream with
|
|
@@ -19965,13 +20025,13 @@ module.exports = eos
|
|
|
19965
20025
|
module.exports.finished = finished
|
|
19966
20026
|
|
|
19967
20027
|
|
|
19968
|
-
/***/ }
|
|
20028
|
+
/***/ },
|
|
19969
20029
|
|
|
19970
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/from.js"
|
|
20030
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/from.js"
|
|
19971
20031
|
/*!*******************************************************************!*\
|
|
19972
20032
|
!*** ./node_modules/readable-stream/lib/internal/streams/from.js ***!
|
|
19973
20033
|
\*******************************************************************/
|
|
19974
|
-
|
|
20034
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
19975
20035
|
|
|
19976
20036
|
"use strict";
|
|
19977
20037
|
|
|
@@ -20074,13 +20134,13 @@ function from(Readable, iterable, opts) {
|
|
|
20074
20134
|
module.exports = from
|
|
20075
20135
|
|
|
20076
20136
|
|
|
20077
|
-
/***/ }
|
|
20137
|
+
/***/ },
|
|
20078
20138
|
|
|
20079
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/legacy.js"
|
|
20139
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/legacy.js"
|
|
20080
20140
|
/*!*********************************************************************!*\
|
|
20081
20141
|
!*** ./node_modules/readable-stream/lib/internal/streams/legacy.js ***!
|
|
20082
20142
|
\*********************************************************************/
|
|
20083
|
-
|
|
20143
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
20084
20144
|
|
|
20085
20145
|
"use strict";
|
|
20086
20146
|
|
|
@@ -20174,13 +20234,13 @@ module.exports = {
|
|
|
20174
20234
|
}
|
|
20175
20235
|
|
|
20176
20236
|
|
|
20177
|
-
/***/ }
|
|
20237
|
+
/***/ },
|
|
20178
20238
|
|
|
20179
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/operators.js"
|
|
20239
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/operators.js"
|
|
20180
20240
|
/*!************************************************************************!*\
|
|
20181
20241
|
!*** ./node_modules/readable-stream/lib/internal/streams/operators.js ***!
|
|
20182
20242
|
\************************************************************************/
|
|
20183
|
-
|
|
20243
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
20184
20244
|
|
|
20185
20245
|
"use strict";
|
|
20186
20246
|
|
|
@@ -20642,13 +20702,13 @@ module.exports.promiseReturningOperators = {
|
|
|
20642
20702
|
}
|
|
20643
20703
|
|
|
20644
20704
|
|
|
20645
|
-
/***/ }
|
|
20705
|
+
/***/ },
|
|
20646
20706
|
|
|
20647
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/passthrough.js"
|
|
20707
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/passthrough.js"
|
|
20648
20708
|
/*!**************************************************************************!*\
|
|
20649
20709
|
!*** ./node_modules/readable-stream/lib/internal/streams/passthrough.js ***!
|
|
20650
20710
|
\**************************************************************************/
|
|
20651
|
-
|
|
20711
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
20652
20712
|
|
|
20653
20713
|
"use strict";
|
|
20654
20714
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
@@ -20692,13 +20752,13 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
|
|
20692
20752
|
}
|
|
20693
20753
|
|
|
20694
20754
|
|
|
20695
|
-
/***/ }
|
|
20755
|
+
/***/ },
|
|
20696
20756
|
|
|
20697
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/pipeline.js"
|
|
20757
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/pipeline.js"
|
|
20698
20758
|
/*!***********************************************************************!*\
|
|
20699
20759
|
!*** ./node_modules/readable-stream/lib/internal/streams/pipeline.js ***!
|
|
20700
20760
|
\***********************************************************************/
|
|
20701
|
-
|
|
20761
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
20702
20762
|
|
|
20703
20763
|
/* replacement start */
|
|
20704
20764
|
|
|
@@ -21173,13 +21233,13 @@ module.exports = {
|
|
|
21173
21233
|
}
|
|
21174
21234
|
|
|
21175
21235
|
|
|
21176
|
-
/***/ }
|
|
21236
|
+
/***/ },
|
|
21177
21237
|
|
|
21178
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/readable.js"
|
|
21238
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/readable.js"
|
|
21179
21239
|
/*!***********************************************************************!*\
|
|
21180
21240
|
!*** ./node_modules/readable-stream/lib/internal/streams/readable.js ***!
|
|
21181
21241
|
\***********************************************************************/
|
|
21182
|
-
|
|
21242
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
21183
21243
|
|
|
21184
21244
|
"use strict";
|
|
21185
21245
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
@@ -22474,13 +22534,13 @@ Readable.wrap = function (src, options) {
|
|
|
22474
22534
|
}
|
|
22475
22535
|
|
|
22476
22536
|
|
|
22477
|
-
/***/ }
|
|
22537
|
+
/***/ },
|
|
22478
22538
|
|
|
22479
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/state.js"
|
|
22539
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/state.js"
|
|
22480
22540
|
/*!********************************************************************!*\
|
|
22481
22541
|
!*** ./node_modules/readable-stream/lib/internal/streams/state.js ***!
|
|
22482
22542
|
\********************************************************************/
|
|
22483
|
-
|
|
22543
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
22484
22544
|
|
|
22485
22545
|
"use strict";
|
|
22486
22546
|
|
|
@@ -22524,13 +22584,13 @@ module.exports = {
|
|
|
22524
22584
|
}
|
|
22525
22585
|
|
|
22526
22586
|
|
|
22527
|
-
/***/ }
|
|
22587
|
+
/***/ },
|
|
22528
22588
|
|
|
22529
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/transform.js"
|
|
22589
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/transform.js"
|
|
22530
22590
|
/*!************************************************************************!*\
|
|
22531
22591
|
!*** ./node_modules/readable-stream/lib/internal/streams/transform.js ***!
|
|
22532
22592
|
\************************************************************************/
|
|
22533
|
-
|
|
22593
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
22534
22594
|
|
|
22535
22595
|
"use strict";
|
|
22536
22596
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
@@ -22715,13 +22775,13 @@ Transform.prototype._read = function () {
|
|
|
22715
22775
|
}
|
|
22716
22776
|
|
|
22717
22777
|
|
|
22718
|
-
/***/ }
|
|
22778
|
+
/***/ },
|
|
22719
22779
|
|
|
22720
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/utils.js"
|
|
22780
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/utils.js"
|
|
22721
22781
|
/*!********************************************************************!*\
|
|
22722
22782
|
!*** ./node_modules/readable-stream/lib/internal/streams/utils.js ***!
|
|
22723
22783
|
\********************************************************************/
|
|
22724
|
-
|
|
22784
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
22725
22785
|
|
|
22726
22786
|
"use strict";
|
|
22727
22787
|
|
|
@@ -23053,13 +23113,13 @@ module.exports = {
|
|
|
23053
23113
|
}
|
|
23054
23114
|
|
|
23055
23115
|
|
|
23056
|
-
/***/ }
|
|
23116
|
+
/***/ },
|
|
23057
23117
|
|
|
23058
|
-
/***/ "./node_modules/readable-stream/lib/internal/streams/writable.js"
|
|
23118
|
+
/***/ "./node_modules/readable-stream/lib/internal/streams/writable.js"
|
|
23059
23119
|
/*!***********************************************************************!*\
|
|
23060
23120
|
!*** ./node_modules/readable-stream/lib/internal/streams/writable.js ***!
|
|
23061
23121
|
\***********************************************************************/
|
|
23062
|
-
|
|
23122
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
23063
23123
|
|
|
23064
23124
|
"use strict";
|
|
23065
23125
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
@@ -23883,13 +23943,13 @@ Writable.toWeb = function (streamWritable) {
|
|
|
23883
23943
|
}
|
|
23884
23944
|
|
|
23885
23945
|
|
|
23886
|
-
/***/ }
|
|
23946
|
+
/***/ },
|
|
23887
23947
|
|
|
23888
|
-
/***/ "./node_modules/readable-stream/lib/internal/validators.js"
|
|
23948
|
+
/***/ "./node_modules/readable-stream/lib/internal/validators.js"
|
|
23889
23949
|
/*!*****************************************************************!*\
|
|
23890
23950
|
!*** ./node_modules/readable-stream/lib/internal/validators.js ***!
|
|
23891
23951
|
\*****************************************************************/
|
|
23892
|
-
|
|
23952
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
23893
23953
|
|
|
23894
23954
|
"use strict";
|
|
23895
23955
|
/* eslint jsdoc/require-jsdoc: "error" */
|
|
@@ -24424,13 +24484,13 @@ module.exports = {
|
|
|
24424
24484
|
}
|
|
24425
24485
|
|
|
24426
24486
|
|
|
24427
|
-
/***/ }
|
|
24487
|
+
/***/ },
|
|
24428
24488
|
|
|
24429
|
-
/***/ "./node_modules/readable-stream/lib/ours/errors.js"
|
|
24489
|
+
/***/ "./node_modules/readable-stream/lib/ours/errors.js"
|
|
24430
24490
|
/*!*********************************************************!*\
|
|
24431
24491
|
!*** ./node_modules/readable-stream/lib/ours/errors.js ***!
|
|
24432
24492
|
\*********************************************************/
|
|
24433
|
-
|
|
24493
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
24434
24494
|
|
|
24435
24495
|
"use strict";
|
|
24436
24496
|
|
|
@@ -24778,13 +24838,13 @@ module.exports = {
|
|
|
24778
24838
|
}
|
|
24779
24839
|
|
|
24780
24840
|
|
|
24781
|
-
/***/ }
|
|
24841
|
+
/***/ },
|
|
24782
24842
|
|
|
24783
|
-
/***/ "./node_modules/readable-stream/lib/ours/index.js"
|
|
24843
|
+
/***/ "./node_modules/readable-stream/lib/ours/index.js"
|
|
24784
24844
|
/*!********************************************************!*\
|
|
24785
24845
|
!*** ./node_modules/readable-stream/lib/ours/index.js ***!
|
|
24786
24846
|
\********************************************************/
|
|
24787
|
-
|
|
24847
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
24788
24848
|
|
|
24789
24849
|
"use strict";
|
|
24790
24850
|
|
|
@@ -24854,13 +24914,13 @@ if (Stream && process.env.READABLE_STREAM === 'disable') {
|
|
|
24854
24914
|
module.exports["default"] = module.exports
|
|
24855
24915
|
|
|
24856
24916
|
|
|
24857
|
-
/***/ }
|
|
24917
|
+
/***/ },
|
|
24858
24918
|
|
|
24859
|
-
/***/ "./node_modules/readable-stream/lib/ours/primordials.js"
|
|
24919
|
+
/***/ "./node_modules/readable-stream/lib/ours/primordials.js"
|
|
24860
24920
|
/*!**************************************************************!*\
|
|
24861
24921
|
!*** ./node_modules/readable-stream/lib/ours/primordials.js ***!
|
|
24862
24922
|
\**************************************************************/
|
|
24863
|
-
|
|
24923
|
+
(module) {
|
|
24864
24924
|
|
|
24865
24925
|
"use strict";
|
|
24866
24926
|
|
|
@@ -24989,13 +25049,13 @@ module.exports = {
|
|
|
24989
25049
|
}
|
|
24990
25050
|
|
|
24991
25051
|
|
|
24992
|
-
/***/ }
|
|
25052
|
+
/***/ },
|
|
24993
25053
|
|
|
24994
|
-
/***/ "./node_modules/readable-stream/lib/ours/util.js"
|
|
25054
|
+
/***/ "./node_modules/readable-stream/lib/ours/util.js"
|
|
24995
25055
|
/*!*******************************************************!*\
|
|
24996
25056
|
!*** ./node_modules/readable-stream/lib/ours/util.js ***!
|
|
24997
25057
|
\*******************************************************/
|
|
24998
|
-
|
|
25058
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
24999
25059
|
|
|
25000
25060
|
"use strict";
|
|
25001
25061
|
|
|
@@ -25148,13 +25208,13 @@ module.exports = {
|
|
|
25148
25208
|
module.exports.promisify.custom = Symbol.for('nodejs.util.promisify.custom')
|
|
25149
25209
|
|
|
25150
25210
|
|
|
25151
|
-
/***/ }
|
|
25211
|
+
/***/ },
|
|
25152
25212
|
|
|
25153
|
-
/***/ "./node_modules/readable-stream/lib/ours/util/inspect.js"
|
|
25213
|
+
/***/ "./node_modules/readable-stream/lib/ours/util/inspect.js"
|
|
25154
25214
|
/*!***************************************************************!*\
|
|
25155
25215
|
!*** ./node_modules/readable-stream/lib/ours/util/inspect.js ***!
|
|
25156
25216
|
\***************************************************************/
|
|
25157
|
-
|
|
25217
|
+
(module) {
|
|
25158
25218
|
|
|
25159
25219
|
"use strict";
|
|
25160
25220
|
|
|
@@ -25214,13 +25274,13 @@ module.exports = {
|
|
|
25214
25274
|
}
|
|
25215
25275
|
|
|
25216
25276
|
|
|
25217
|
-
/***/ }
|
|
25277
|
+
/***/ },
|
|
25218
25278
|
|
|
25219
|
-
/***/ "./node_modules/readable-stream/lib/stream.js"
|
|
25279
|
+
/***/ "./node_modules/readable-stream/lib/stream.js"
|
|
25220
25280
|
/*!****************************************************!*\
|
|
25221
25281
|
!*** ./node_modules/readable-stream/lib/stream.js ***!
|
|
25222
25282
|
\****************************************************/
|
|
25223
|
-
|
|
25283
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
25224
25284
|
|
|
25225
25285
|
"use strict";
|
|
25226
25286
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
@@ -25368,13 +25428,13 @@ Stream._uint8ArrayToBuffer = function _uint8ArrayToBuffer(chunk) {
|
|
|
25368
25428
|
}
|
|
25369
25429
|
|
|
25370
25430
|
|
|
25371
|
-
/***/ }
|
|
25431
|
+
/***/ },
|
|
25372
25432
|
|
|
25373
|
-
/***/ "./node_modules/readable-stream/lib/stream/promises.js"
|
|
25433
|
+
/***/ "./node_modules/readable-stream/lib/stream/promises.js"
|
|
25374
25434
|
/*!*************************************************************!*\
|
|
25375
25435
|
!*** ./node_modules/readable-stream/lib/stream/promises.js ***!
|
|
25376
25436
|
\*************************************************************/
|
|
25377
|
-
|
|
25437
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
25378
25438
|
|
|
25379
25439
|
"use strict";
|
|
25380
25440
|
|
|
@@ -25422,13 +25482,13 @@ module.exports = {
|
|
|
25422
25482
|
}
|
|
25423
25483
|
|
|
25424
25484
|
|
|
25425
|
-
/***/ }
|
|
25485
|
+
/***/ },
|
|
25426
25486
|
|
|
25427
|
-
/***/ "./node_modules/rfdc/default.js"
|
|
25487
|
+
/***/ "./node_modules/rfdc/default.js"
|
|
25428
25488
|
/*!**************************************!*\
|
|
25429
25489
|
!*** ./node_modules/rfdc/default.js ***!
|
|
25430
25490
|
\**************************************/
|
|
25431
|
-
|
|
25491
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
25432
25492
|
|
|
25433
25493
|
"use strict";
|
|
25434
25494
|
|
|
@@ -25436,13 +25496,13 @@ module.exports = {
|
|
|
25436
25496
|
module.exports = __webpack_require__(/*! ./index.js */ "./node_modules/rfdc/index.js")()
|
|
25437
25497
|
|
|
25438
25498
|
|
|
25439
|
-
/***/ }
|
|
25499
|
+
/***/ },
|
|
25440
25500
|
|
|
25441
|
-
/***/ "./node_modules/rfdc/index.js"
|
|
25501
|
+
/***/ "./node_modules/rfdc/index.js"
|
|
25442
25502
|
/*!************************************!*\
|
|
25443
25503
|
!*** ./node_modules/rfdc/index.js ***!
|
|
25444
25504
|
\************************************/
|
|
25445
|
-
|
|
25505
|
+
(module) {
|
|
25446
25506
|
|
|
25447
25507
|
"use strict";
|
|
25448
25508
|
|
|
@@ -25645,13 +25705,13 @@ function rfdcCircles (opts) {
|
|
|
25645
25705
|
}
|
|
25646
25706
|
|
|
25647
25707
|
|
|
25648
|
-
/***/ }
|
|
25708
|
+
/***/ },
|
|
25649
25709
|
|
|
25650
|
-
/***/ "./node_modules/safe-buffer/index.js"
|
|
25710
|
+
/***/ "./node_modules/safe-buffer/index.js"
|
|
25651
25711
|
/*!*******************************************!*\
|
|
25652
25712
|
!*** ./node_modules/safe-buffer/index.js ***!
|
|
25653
25713
|
\*******************************************/
|
|
25654
|
-
|
|
25714
|
+
(module, exports, __webpack_require__) {
|
|
25655
25715
|
|
|
25656
25716
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
25657
25717
|
/* eslint-disable node/no-deprecated-api */
|
|
@@ -25720,13 +25780,13 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
25720
25780
|
}
|
|
25721
25781
|
|
|
25722
25782
|
|
|
25723
|
-
/***/ }
|
|
25783
|
+
/***/ },
|
|
25724
25784
|
|
|
25725
|
-
/***/ "./node_modules/smart-buffer/build/smartbuffer.js"
|
|
25785
|
+
/***/ "./node_modules/smart-buffer/build/smartbuffer.js"
|
|
25726
25786
|
/*!********************************************************!*\
|
|
25727
25787
|
!*** ./node_modules/smart-buffer/build/smartbuffer.js ***!
|
|
25728
25788
|
\********************************************************/
|
|
25729
|
-
|
|
25789
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
25730
25790
|
|
|
25731
25791
|
"use strict";
|
|
25732
25792
|
|
|
@@ -26963,13 +27023,13 @@ class SmartBuffer {
|
|
|
26963
27023
|
exports.SmartBuffer = SmartBuffer;
|
|
26964
27024
|
//# sourceMappingURL=smartbuffer.js.map
|
|
26965
27025
|
|
|
26966
|
-
/***/ }
|
|
27026
|
+
/***/ },
|
|
26967
27027
|
|
|
26968
|
-
/***/ "./node_modules/smart-buffer/build/utils.js"
|
|
27028
|
+
/***/ "./node_modules/smart-buffer/build/utils.js"
|
|
26969
27029
|
/*!**************************************************!*\
|
|
26970
27030
|
!*** ./node_modules/smart-buffer/build/utils.js ***!
|
|
26971
27031
|
\**************************************************/
|
|
26972
|
-
|
|
27032
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
26973
27033
|
|
|
26974
27034
|
"use strict";
|
|
26975
27035
|
|
|
@@ -27081,13 +27141,13 @@ function bigIntAndBufferInt64Check(bufferMethod) {
|
|
|
27081
27141
|
exports.bigIntAndBufferInt64Check = bigIntAndBufferInt64Check;
|
|
27082
27142
|
//# sourceMappingURL=utils.js.map
|
|
27083
27143
|
|
|
27084
|
-
/***/ }
|
|
27144
|
+
/***/ },
|
|
27085
27145
|
|
|
27086
|
-
/***/ "./node_modules/socks/build/client/socksclient.js"
|
|
27146
|
+
/***/ "./node_modules/socks/build/client/socksclient.js"
|
|
27087
27147
|
/*!********************************************************!*\
|
|
27088
27148
|
!*** ./node_modules/socks/build/client/socksclient.js ***!
|
|
27089
27149
|
\********************************************************/
|
|
27090
|
-
|
|
27150
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
27091
27151
|
|
|
27092
27152
|
"use strict";
|
|
27093
27153
|
|
|
@@ -27884,13 +27944,13 @@ class SocksClient extends events_1.EventEmitter {
|
|
|
27884
27944
|
exports.SocksClient = SocksClient;
|
|
27885
27945
|
//# sourceMappingURL=socksclient.js.map
|
|
27886
27946
|
|
|
27887
|
-
/***/ }
|
|
27947
|
+
/***/ },
|
|
27888
27948
|
|
|
27889
|
-
/***/ "./node_modules/socks/build/common/constants.js"
|
|
27949
|
+
/***/ "./node_modules/socks/build/common/constants.js"
|
|
27890
27950
|
/*!******************************************************!*\
|
|
27891
27951
|
!*** ./node_modules/socks/build/common/constants.js ***!
|
|
27892
27952
|
\******************************************************/
|
|
27893
|
-
|
|
27953
|
+
(__unused_webpack_module, exports) {
|
|
27894
27954
|
|
|
27895
27955
|
"use strict";
|
|
27896
27956
|
|
|
@@ -28002,13 +28062,13 @@ var SocksClientState;
|
|
|
28002
28062
|
})(SocksClientState || (exports.SocksClientState = SocksClientState = {}));
|
|
28003
28063
|
//# sourceMappingURL=constants.js.map
|
|
28004
28064
|
|
|
28005
|
-
/***/ }
|
|
28065
|
+
/***/ },
|
|
28006
28066
|
|
|
28007
|
-
/***/ "./node_modules/socks/build/common/helpers.js"
|
|
28067
|
+
/***/ "./node_modules/socks/build/common/helpers.js"
|
|
28008
28068
|
/*!****************************************************!*\
|
|
28009
28069
|
!*** ./node_modules/socks/build/common/helpers.js ***!
|
|
28010
28070
|
\****************************************************/
|
|
28011
|
-
|
|
28071
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
28012
28072
|
|
|
28013
28073
|
"use strict";
|
|
28014
28074
|
|
|
@@ -28179,13 +28239,13 @@ function ipToBuffer(ip) {
|
|
|
28179
28239
|
exports.ipToBuffer = ipToBuffer;
|
|
28180
28240
|
//# sourceMappingURL=helpers.js.map
|
|
28181
28241
|
|
|
28182
|
-
/***/ }
|
|
28242
|
+
/***/ },
|
|
28183
28243
|
|
|
28184
|
-
/***/ "./node_modules/socks/build/common/receivebuffer.js"
|
|
28244
|
+
/***/ "./node_modules/socks/build/common/receivebuffer.js"
|
|
28185
28245
|
/*!**********************************************************!*\
|
|
28186
28246
|
!*** ./node_modules/socks/build/common/receivebuffer.js ***!
|
|
28187
28247
|
\**********************************************************/
|
|
28188
|
-
|
|
28248
|
+
(__unused_webpack_module, exports) {
|
|
28189
28249
|
|
|
28190
28250
|
"use strict";
|
|
28191
28251
|
|
|
@@ -28232,13 +28292,13 @@ class ReceiveBuffer {
|
|
|
28232
28292
|
exports.ReceiveBuffer = ReceiveBuffer;
|
|
28233
28293
|
//# sourceMappingURL=receivebuffer.js.map
|
|
28234
28294
|
|
|
28235
|
-
/***/ }
|
|
28295
|
+
/***/ },
|
|
28236
28296
|
|
|
28237
|
-
/***/ "./node_modules/socks/build/common/util.js"
|
|
28297
|
+
/***/ "./node_modules/socks/build/common/util.js"
|
|
28238
28298
|
/*!*************************************************!*\
|
|
28239
28299
|
!*** ./node_modules/socks/build/common/util.js ***!
|
|
28240
28300
|
\*************************************************/
|
|
28241
|
-
|
|
28301
|
+
(__unused_webpack_module, exports) {
|
|
28242
28302
|
|
|
28243
28303
|
"use strict";
|
|
28244
28304
|
|
|
@@ -28267,13 +28327,13 @@ function shuffleArray(array) {
|
|
|
28267
28327
|
exports.shuffleArray = shuffleArray;
|
|
28268
28328
|
//# sourceMappingURL=util.js.map
|
|
28269
28329
|
|
|
28270
|
-
/***/ }
|
|
28330
|
+
/***/ },
|
|
28271
28331
|
|
|
28272
|
-
/***/ "./node_modules/socks/build/index.js"
|
|
28332
|
+
/***/ "./node_modules/socks/build/index.js"
|
|
28273
28333
|
/*!*******************************************!*\
|
|
28274
28334
|
!*** ./node_modules/socks/build/index.js ***!
|
|
28275
28335
|
\*******************************************/
|
|
28276
|
-
|
|
28336
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
28277
28337
|
|
|
28278
28338
|
"use strict";
|
|
28279
28339
|
|
|
@@ -28295,13 +28355,13 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
28295
28355
|
__exportStar(__webpack_require__(/*! ./client/socksclient */ "./node_modules/socks/build/client/socksclient.js"), exports);
|
|
28296
28356
|
//# sourceMappingURL=index.js.map
|
|
28297
28357
|
|
|
28298
|
-
/***/ }
|
|
28358
|
+
/***/ },
|
|
28299
28359
|
|
|
28300
|
-
/***/ "./node_modules/string_decoder/lib/string_decoder.js"
|
|
28360
|
+
/***/ "./node_modules/string_decoder/lib/string_decoder.js"
|
|
28301
28361
|
/*!***********************************************************!*\
|
|
28302
28362
|
!*** ./node_modules/string_decoder/lib/string_decoder.js ***!
|
|
28303
28363
|
\***********************************************************/
|
|
28304
|
-
|
|
28364
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
28305
28365
|
|
|
28306
28366
|
"use strict";
|
|
28307
28367
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
@@ -28601,13 +28661,13 @@ function simpleEnd(buf) {
|
|
|
28601
28661
|
return buf && buf.length ? this.write(buf) : '';
|
|
28602
28662
|
}
|
|
28603
28663
|
|
|
28604
|
-
/***/ }
|
|
28664
|
+
/***/ },
|
|
28605
28665
|
|
|
28606
|
-
/***/ "./node_modules/supports-color/index.js"
|
|
28666
|
+
/***/ "./node_modules/supports-color/index.js"
|
|
28607
28667
|
/*!**********************************************!*\
|
|
28608
28668
|
!*** ./node_modules/supports-color/index.js ***!
|
|
28609
28669
|
\**********************************************/
|
|
28610
|
-
|
|
28670
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
28611
28671
|
|
|
28612
28672
|
"use strict";
|
|
28613
28673
|
|
|
@@ -28747,13 +28807,126 @@ module.exports = {
|
|
|
28747
28807
|
};
|
|
28748
28808
|
|
|
28749
28809
|
|
|
28750
|
-
/***/ }
|
|
28810
|
+
/***/ },
|
|
28811
|
+
|
|
28812
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js"
|
|
28813
|
+
/*!********************************************************************************************!*\
|
|
28814
|
+
!*** ./node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js ***!
|
|
28815
|
+
\********************************************************************************************/
|
|
28816
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28817
|
+
|
|
28818
|
+
"use strict";
|
|
28819
|
+
__webpack_require__.r(__webpack_exports__);
|
|
28820
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28821
|
+
/* harmony export */ createClearIntervalFactory: () => (/* binding */ createClearIntervalFactory)
|
|
28822
|
+
/* harmony export */ });
|
|
28823
|
+
const createClearIntervalFactory = (scheduledIntervalsState) => (clear) => (timerId) => {
|
|
28824
|
+
if (typeof scheduledIntervalsState.get(timerId) === 'symbol') {
|
|
28825
|
+
scheduledIntervalsState.set(timerId, null);
|
|
28826
|
+
clear(timerId).then(() => {
|
|
28827
|
+
scheduledIntervalsState.delete(timerId);
|
|
28828
|
+
});
|
|
28829
|
+
}
|
|
28830
|
+
};
|
|
28831
|
+
//# sourceMappingURL=clear-interval-factory.js.map
|
|
28832
|
+
|
|
28833
|
+
/***/ },
|
|
28834
|
+
|
|
28835
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js"
|
|
28836
|
+
/*!*******************************************************************************************!*\
|
|
28837
|
+
!*** ./node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js ***!
|
|
28838
|
+
\*******************************************************************************************/
|
|
28839
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28840
|
+
|
|
28841
|
+
"use strict";
|
|
28842
|
+
__webpack_require__.r(__webpack_exports__);
|
|
28843
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28844
|
+
/* harmony export */ createClearTimeoutFactory: () => (/* binding */ createClearTimeoutFactory)
|
|
28845
|
+
/* harmony export */ });
|
|
28846
|
+
const createClearTimeoutFactory = (scheduledTimeoutsState) => (clear) => (timerId) => {
|
|
28847
|
+
if (typeof scheduledTimeoutsState.get(timerId) === 'symbol') {
|
|
28848
|
+
scheduledTimeoutsState.set(timerId, null);
|
|
28849
|
+
clear(timerId).then(() => {
|
|
28850
|
+
scheduledTimeoutsState.delete(timerId);
|
|
28851
|
+
});
|
|
28852
|
+
}
|
|
28853
|
+
};
|
|
28854
|
+
//# sourceMappingURL=clear-timeout-factory.js.map
|
|
28855
|
+
|
|
28856
|
+
/***/ },
|
|
28857
|
+
|
|
28858
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js"
|
|
28859
|
+
/*!******************************************************************************************!*\
|
|
28860
|
+
!*** ./node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js ***!
|
|
28861
|
+
\******************************************************************************************/
|
|
28862
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28863
|
+
|
|
28864
|
+
"use strict";
|
|
28865
|
+
__webpack_require__.r(__webpack_exports__);
|
|
28866
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28867
|
+
/* harmony export */ createSetIntervalFactory: () => (/* binding */ createSetIntervalFactory)
|
|
28868
|
+
/* harmony export */ });
|
|
28869
|
+
const createSetIntervalFactory = (generateUniqueNumber, scheduledIntervalsState) => (set) => (func, delay = 0, ...args) => {
|
|
28870
|
+
const symbol = Symbol();
|
|
28871
|
+
const timerId = generateUniqueNumber(scheduledIntervalsState);
|
|
28872
|
+
scheduledIntervalsState.set(timerId, symbol);
|
|
28873
|
+
const schedule = () => set(delay, timerId).then(() => {
|
|
28874
|
+
const state = scheduledIntervalsState.get(timerId);
|
|
28875
|
+
if (state === undefined) {
|
|
28876
|
+
throw new Error('The timer is in an undefined state.');
|
|
28877
|
+
}
|
|
28878
|
+
if (state === symbol) {
|
|
28879
|
+
func(...args);
|
|
28880
|
+
// Doublecheck if the interval should still be rescheduled because it could have been cleared inside of func().
|
|
28881
|
+
if (scheduledIntervalsState.get(timerId) === symbol) {
|
|
28882
|
+
schedule();
|
|
28883
|
+
}
|
|
28884
|
+
}
|
|
28885
|
+
});
|
|
28886
|
+
schedule();
|
|
28887
|
+
return timerId;
|
|
28888
|
+
};
|
|
28889
|
+
//# sourceMappingURL=set-interval-factory.js.map
|
|
28890
|
+
|
|
28891
|
+
/***/ },
|
|
28892
|
+
|
|
28893
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js"
|
|
28894
|
+
/*!*****************************************************************************************!*\
|
|
28895
|
+
!*** ./node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js ***!
|
|
28896
|
+
\*****************************************************************************************/
|
|
28897
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28898
|
+
|
|
28899
|
+
"use strict";
|
|
28900
|
+
__webpack_require__.r(__webpack_exports__);
|
|
28901
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28902
|
+
/* harmony export */ createSetTimeoutFactory: () => (/* binding */ createSetTimeoutFactory)
|
|
28903
|
+
/* harmony export */ });
|
|
28904
|
+
const createSetTimeoutFactory = (generateUniqueNumber, scheduledTimeoutsState) => (set) => (func, delay = 0, ...args) => {
|
|
28905
|
+
const symbol = Symbol();
|
|
28906
|
+
const timerId = generateUniqueNumber(scheduledTimeoutsState);
|
|
28907
|
+
scheduledTimeoutsState.set(timerId, symbol);
|
|
28908
|
+
set(delay, timerId).then(() => {
|
|
28909
|
+
const state = scheduledTimeoutsState.get(timerId);
|
|
28910
|
+
if (state === undefined) {
|
|
28911
|
+
throw new Error('The timer is in an undefined state.');
|
|
28912
|
+
}
|
|
28913
|
+
if (state === symbol) {
|
|
28914
|
+
// A timeout can be savely deleted because it is only called once.
|
|
28915
|
+
scheduledTimeoutsState.delete(timerId);
|
|
28916
|
+
func(...args);
|
|
28917
|
+
}
|
|
28918
|
+
});
|
|
28919
|
+
return timerId;
|
|
28920
|
+
};
|
|
28921
|
+
//# sourceMappingURL=set-timeout-factory.js.map
|
|
28922
|
+
|
|
28923
|
+
/***/ },
|
|
28751
28924
|
|
|
28752
|
-
/***/ "./node_modules/worker-timers-broker/build/es2019/interfaces/index.js"
|
|
28925
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/interfaces/index.js"
|
|
28753
28926
|
/*!****************************************************************************!*\
|
|
28754
28927
|
!*** ./node_modules/worker-timers-broker/build/es2019/interfaces/index.js ***!
|
|
28755
28928
|
\****************************************************************************/
|
|
28756
|
-
|
|
28929
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28757
28930
|
|
|
28758
28931
|
"use strict";
|
|
28759
28932
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -28761,26 +28934,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28761
28934
|
|
|
28762
28935
|
//# sourceMappingURL=index.js.map
|
|
28763
28936
|
|
|
28764
|
-
/***/ }
|
|
28937
|
+
/***/ },
|
|
28765
28938
|
|
|
28766
|
-
/***/ "./node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js"
|
|
28939
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js"
|
|
28767
28940
|
/*!******************************************************************************************************!*\
|
|
28768
28941
|
!*** ./node_modules/worker-timers-broker/build/es2019/interfaces/worker-timers-broker-definition.js ***!
|
|
28769
28942
|
\******************************************************************************************************/
|
|
28770
|
-
|
|
28943
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28771
28944
|
|
|
28772
28945
|
"use strict";
|
|
28773
28946
|
__webpack_require__.r(__webpack_exports__);
|
|
28774
28947
|
|
|
28775
28948
|
//# sourceMappingURL=worker-timers-broker-definition.js.map
|
|
28776
28949
|
|
|
28777
|
-
/***/ }
|
|
28950
|
+
/***/ },
|
|
28778
28951
|
|
|
28779
|
-
/***/ "./node_modules/worker-timers-broker/build/es2019/module.js"
|
|
28952
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/module.js"
|
|
28780
28953
|
/*!******************************************************************!*\
|
|
28781
28954
|
!*** ./node_modules/worker-timers-broker/build/es2019/module.js ***!
|
|
28782
28955
|
\******************************************************************/
|
|
28783
|
-
|
|
28956
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28784
28957
|
|
|
28785
28958
|
"use strict";
|
|
28786
28959
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -28790,8 +28963,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28790
28963
|
/* harmony export */ });
|
|
28791
28964
|
/* harmony import */ var broker_factory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! broker-factory */ "./node_modules/broker-factory/build/es2019/module.js");
|
|
28792
28965
|
/* harmony import */ var fast_unique_numbers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fast-unique-numbers */ "./node_modules/fast-unique-numbers/build/es2019/module.js");
|
|
28793
|
-
/* harmony import */ var
|
|
28794
|
-
/* harmony import */ var
|
|
28966
|
+
/* harmony import */ var _factories_clear_interval_factory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./factories/clear-interval-factory */ "./node_modules/worker-timers-broker/build/es2019/factories/clear-interval-factory.js");
|
|
28967
|
+
/* harmony import */ var _factories_clear_timeout_factory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./factories/clear-timeout-factory */ "./node_modules/worker-timers-broker/build/es2019/factories/clear-timeout-factory.js");
|
|
28968
|
+
/* harmony import */ var _factories_set_interval_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./factories/set-interval-factory */ "./node_modules/worker-timers-broker/build/es2019/factories/set-interval-factory.js");
|
|
28969
|
+
/* harmony import */ var _factories_set_timeout_factory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./factories/set-timeout-factory */ "./node_modules/worker-timers-broker/build/es2019/factories/set-timeout-factory.js");
|
|
28970
|
+
/* harmony import */ var _interfaces_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./interfaces/index */ "./node_modules/worker-timers-broker/build/es2019/interfaces/index.js");
|
|
28971
|
+
/* harmony import */ var _types_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./types/index */ "./node_modules/worker-timers-broker/build/es2019/types/index.js");
|
|
28972
|
+
|
|
28973
|
+
|
|
28974
|
+
|
|
28975
|
+
|
|
28795
28976
|
|
|
28796
28977
|
|
|
28797
28978
|
/*
|
|
@@ -28803,78 +28984,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28803
28984
|
// Prefilling the Maps with a function indexed by zero is necessary to be compliant with the specification.
|
|
28804
28985
|
const scheduledIntervalsState = new Map([[0, null]]); // tslint:disable-line no-empty
|
|
28805
28986
|
const scheduledTimeoutsState = new Map([[0, null]]); // tslint:disable-line no-empty
|
|
28987
|
+
const createClearInterval = (0,_factories_clear_interval_factory__WEBPACK_IMPORTED_MODULE_2__.createClearIntervalFactory)(scheduledIntervalsState);
|
|
28988
|
+
const createClearTimeout = (0,_factories_clear_timeout_factory__WEBPACK_IMPORTED_MODULE_3__.createClearTimeoutFactory)(scheduledTimeoutsState);
|
|
28989
|
+
const createSetInterval = (0,_factories_set_interval_factory__WEBPACK_IMPORTED_MODULE_4__.createSetIntervalFactory)(fast_unique_numbers__WEBPACK_IMPORTED_MODULE_1__.generateUniqueNumber, scheduledIntervalsState);
|
|
28990
|
+
const createSetTimeout = (0,_factories_set_timeout_factory__WEBPACK_IMPORTED_MODULE_5__.createSetTimeoutFactory)(fast_unique_numbers__WEBPACK_IMPORTED_MODULE_1__.generateUniqueNumber, scheduledTimeoutsState);
|
|
28806
28991
|
const wrap = (0,broker_factory__WEBPACK_IMPORTED_MODULE_0__.createBroker)({
|
|
28807
|
-
clearInterval: ({ call }) => {
|
|
28808
|
-
|
|
28809
|
-
|
|
28810
|
-
|
|
28811
|
-
call('clear', { timerId, timerType: 'interval' }).then(() => {
|
|
28812
|
-
scheduledIntervalsState.delete(timerId);
|
|
28813
|
-
});
|
|
28814
|
-
}
|
|
28815
|
-
};
|
|
28816
|
-
},
|
|
28817
|
-
clearTimeout: ({ call }) => {
|
|
28818
|
-
return (timerId) => {
|
|
28819
|
-
if (typeof scheduledTimeoutsState.get(timerId) === 'symbol') {
|
|
28820
|
-
scheduledTimeoutsState.set(timerId, null);
|
|
28821
|
-
call('clear', { timerId, timerType: 'timeout' }).then(() => {
|
|
28822
|
-
scheduledTimeoutsState.delete(timerId);
|
|
28823
|
-
});
|
|
28824
|
-
}
|
|
28825
|
-
};
|
|
28826
|
-
},
|
|
28827
|
-
setInterval: ({ call }) => {
|
|
28828
|
-
return (func, delay = 0, ...args) => {
|
|
28829
|
-
const symbol = Symbol();
|
|
28830
|
-
const timerId = (0,fast_unique_numbers__WEBPACK_IMPORTED_MODULE_1__.generateUniqueNumber)(scheduledIntervalsState);
|
|
28831
|
-
scheduledIntervalsState.set(timerId, symbol);
|
|
28832
|
-
const schedule = () => call('set', {
|
|
28833
|
-
delay,
|
|
28834
|
-
now: performance.timeOrigin + performance.now(),
|
|
28835
|
-
timerId,
|
|
28836
|
-
timerType: 'interval'
|
|
28837
|
-
}).then(() => {
|
|
28838
|
-
const state = scheduledIntervalsState.get(timerId);
|
|
28839
|
-
if (state === undefined) {
|
|
28840
|
-
throw new Error('The timer is in an undefined state.');
|
|
28841
|
-
}
|
|
28842
|
-
if (state === symbol) {
|
|
28843
|
-
func(...args);
|
|
28844
|
-
// Doublecheck if the interval should still be rescheduled because it could have been cleared inside of func().
|
|
28845
|
-
if (scheduledIntervalsState.get(timerId) === symbol) {
|
|
28846
|
-
schedule();
|
|
28847
|
-
}
|
|
28848
|
-
}
|
|
28849
|
-
});
|
|
28850
|
-
schedule();
|
|
28851
|
-
return timerId;
|
|
28852
|
-
};
|
|
28853
|
-
},
|
|
28854
|
-
setTimeout: ({ call }) => {
|
|
28855
|
-
return (func, delay = 0, ...args) => {
|
|
28856
|
-
const symbol = Symbol();
|
|
28857
|
-
const timerId = (0,fast_unique_numbers__WEBPACK_IMPORTED_MODULE_1__.generateUniqueNumber)(scheduledTimeoutsState);
|
|
28858
|
-
scheduledTimeoutsState.set(timerId, symbol);
|
|
28859
|
-
call('set', {
|
|
28860
|
-
delay,
|
|
28861
|
-
now: performance.timeOrigin + performance.now(),
|
|
28862
|
-
timerId,
|
|
28863
|
-
timerType: 'timeout'
|
|
28864
|
-
}).then(() => {
|
|
28865
|
-
const state = scheduledTimeoutsState.get(timerId);
|
|
28866
|
-
if (state === undefined) {
|
|
28867
|
-
throw new Error('The timer is in an undefined state.');
|
|
28868
|
-
}
|
|
28869
|
-
if (state === symbol) {
|
|
28870
|
-
// A timeout can be savely deleted because it is only called once.
|
|
28871
|
-
scheduledTimeoutsState.delete(timerId);
|
|
28872
|
-
func(...args);
|
|
28873
|
-
}
|
|
28874
|
-
});
|
|
28875
|
-
return timerId;
|
|
28876
|
-
};
|
|
28877
|
-
}
|
|
28992
|
+
clearInterval: ({ call }) => createClearInterval((timerId) => call('clear', { timerId, timerType: 'interval' })),
|
|
28993
|
+
clearTimeout: ({ call }) => createClearTimeout((timerId) => call('clear', { timerId, timerType: 'timeout' })),
|
|
28994
|
+
setInterval: ({ call }) => createSetInterval((delay, timerId) => call('set', { delay, now: performance.timeOrigin + performance.now(), timerId, timerType: 'interval' })),
|
|
28995
|
+
setTimeout: ({ call }) => createSetTimeout((delay, timerId) => call('set', { delay, now: performance.timeOrigin + performance.now(), timerId, timerType: 'timeout' }))
|
|
28878
28996
|
});
|
|
28879
28997
|
const load = (url) => {
|
|
28880
28998
|
const worker = new Worker(url);
|
|
@@ -28882,13 +29000,13 @@ const load = (url) => {
|
|
|
28882
29000
|
};
|
|
28883
29001
|
//# sourceMappingURL=module.js.map
|
|
28884
29002
|
|
|
28885
|
-
/***/ }
|
|
29003
|
+
/***/ },
|
|
28886
29004
|
|
|
28887
|
-
/***/ "./node_modules/worker-timers-broker/build/es2019/types/index.js"
|
|
29005
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/types/index.js"
|
|
28888
29006
|
/*!***********************************************************************!*\
|
|
28889
29007
|
!*** ./node_modules/worker-timers-broker/build/es2019/types/index.js ***!
|
|
28890
29008
|
\***********************************************************************/
|
|
28891
|
-
|
|
29009
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28892
29010
|
|
|
28893
29011
|
"use strict";
|
|
28894
29012
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -28898,39 +29016,39 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28898
29016
|
|
|
28899
29017
|
//# sourceMappingURL=index.js.map
|
|
28900
29018
|
|
|
28901
|
-
/***/ }
|
|
29019
|
+
/***/ },
|
|
28902
29020
|
|
|
28903
|
-
/***/ "./node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js"
|
|
29021
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js"
|
|
28904
29022
|
/*!*********************************************************************************************!*\
|
|
28905
29023
|
!*** ./node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-loader.js ***!
|
|
28906
29024
|
\*********************************************************************************************/
|
|
28907
|
-
|
|
29025
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28908
29026
|
|
|
28909
29027
|
"use strict";
|
|
28910
29028
|
__webpack_require__.r(__webpack_exports__);
|
|
28911
29029
|
|
|
28912
29030
|
//# sourceMappingURL=worker-timers-broker-loader.js.map
|
|
28913
29031
|
|
|
28914
|
-
/***/ }
|
|
29032
|
+
/***/ },
|
|
28915
29033
|
|
|
28916
|
-
/***/ "./node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js"
|
|
29034
|
+
/***/ "./node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js"
|
|
28917
29035
|
/*!**********************************************************************************************!*\
|
|
28918
29036
|
!*** ./node_modules/worker-timers-broker/build/es2019/types/worker-timers-broker-wrapper.js ***!
|
|
28919
29037
|
\**********************************************************************************************/
|
|
28920
|
-
|
|
29038
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28921
29039
|
|
|
28922
29040
|
"use strict";
|
|
28923
29041
|
__webpack_require__.r(__webpack_exports__);
|
|
28924
29042
|
|
|
28925
29043
|
//# sourceMappingURL=worker-timers-broker-wrapper.js.map
|
|
28926
29044
|
|
|
28927
|
-
/***/ }
|
|
29045
|
+
/***/ },
|
|
28928
29046
|
|
|
28929
|
-
/***/ "./node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js"
|
|
29047
|
+
/***/ "./node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js"
|
|
28930
29048
|
/*!************************************************************************************!*\
|
|
28931
29049
|
!*** ./node_modules/worker-timers/build/es2019/factories/load-or-return-broker.js ***!
|
|
28932
29050
|
\************************************************************************************/
|
|
28933
|
-
|
|
29051
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28934
29052
|
|
|
28935
29053
|
"use strict";
|
|
28936
29054
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -28953,13 +29071,13 @@ const createLoadOrReturnBroker = (loadBroker, worker) => {
|
|
|
28953
29071
|
};
|
|
28954
29072
|
//# sourceMappingURL=load-or-return-broker.js.map
|
|
28955
29073
|
|
|
28956
|
-
/***/ }
|
|
29074
|
+
/***/ },
|
|
28957
29075
|
|
|
28958
|
-
/***/ "./node_modules/worker-timers/build/es2019/module.js"
|
|
29076
|
+
/***/ "./node_modules/worker-timers/build/es2019/module.js"
|
|
28959
29077
|
/*!***********************************************************!*\
|
|
28960
29078
|
!*** ./node_modules/worker-timers/build/es2019/module.js ***!
|
|
28961
29079
|
\***********************************************************/
|
|
28962
|
-
|
|
29080
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28963
29081
|
|
|
28964
29082
|
"use strict";
|
|
28965
29083
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -28982,13 +29100,13 @@ const setInterval = (...args) => loadOrReturnBroker().setInterval(...args);
|
|
|
28982
29100
|
const setTimeout = (...args) => loadOrReturnBroker().setTimeout(...args);
|
|
28983
29101
|
//# sourceMappingURL=module.js.map
|
|
28984
29102
|
|
|
28985
|
-
/***/ }
|
|
29103
|
+
/***/ },
|
|
28986
29104
|
|
|
28987
|
-
/***/ "./node_modules/worker-timers/build/es2019/worker/worker.js"
|
|
29105
|
+
/***/ "./node_modules/worker-timers/build/es2019/worker/worker.js"
|
|
28988
29106
|
/*!******************************************************************!*\
|
|
28989
29107
|
!*** ./node_modules/worker-timers/build/es2019/worker/worker.js ***!
|
|
28990
29108
|
\******************************************************************/
|
|
28991
|
-
|
|
29109
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
28992
29110
|
|
|
28993
29111
|
"use strict";
|
|
28994
29112
|
__webpack_require__.r(__webpack_exports__);
|
|
@@ -28996,16 +29114,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28996
29114
|
/* harmony export */ worker: () => (/* binding */ worker)
|
|
28997
29115
|
/* harmony export */ });
|
|
28998
29116
|
// This is the minified and stringified code of the worker-timers-worker package.
|
|
28999
|
-
const worker = `(()=>{var e={455
|
|
29117
|
+
const worker = `(()=>{var e={455(e,t){!function(e){"use strict";var t=function(e){return function(t){var r=e(t);return t.add(r),r}},r=function(e){return function(t,r){return e.set(t,r),r}},n=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,s=2*o,a=function(e,t){return function(r){var a=t.get(r),i=void 0===a?r.size:a<s?a+1:0;if(!r.has(i))return e(r,i);if(r.size<o){for(;r.has(i);)i=Math.floor(Math.random()*s);return e(r,i)}if(r.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;r.has(i);)i=Math.floor(Math.random()*n);return e(r,i)}},i=new WeakMap,u=r(i),c=a(u,i),l=t(c);e.addUniqueNumber=l,e.generateUniqueNumber=c}(t)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}(()=>{"use strict";const e=-32603,t=-32602,n=-32601,o=(e,t)=>Object.assign(new Error(e),{status:t}),s=t=>o('The handler of the method called "'.concat(t,'" returned an unexpected result.'),e),a=(t,r)=>async({data:{id:a,method:i,params:u}})=>{const c=r[i];try{if(void 0===c)throw(e=>o('The requested method called "'.concat(e,'" is not supported.'),n))(i);const r=void 0===u?c():c(u);if(void 0===r)throw(t=>o('The handler of the method called "'.concat(t,'" returned no required result.'),e))(i);const l=r instanceof Promise?await r:r;if(null===a){if(void 0!==l.result)throw s(i)}else{if(void 0===l.result)throw s(i);const{result:e,transferables:r=[]}=l;t.postMessage({id:a,result:e},r)}}catch(e){const{message:r,status:n=-32603}=e;t.postMessage({error:{code:n,message:r},id:a})}};var i=r(455);const u=new Map,c=(e,r,n)=>({...r,connect:({port:t})=>{t.start();const n=e(t,r),o=(0,i.generateUniqueNumber)(u);return u.set(o,()=>{n(),t.close(),u.delete(o)}),{result:o}},disconnect:({portId:e})=>{const r=u.get(e);if(void 0===r)throw(e=>o('The specified parameter called "portId" with the given value "'.concat(e,'" does not identify a port connected to this worker.'),t))(e);return r(),{result:null}},isSupported:async()=>{if(await new Promise(e=>{const t=new ArrayBuffer(0),{port1:r,port2:n}=new MessageChannel;r.onmessage=({data:t})=>e(null!==t),n.postMessage(t,[t])})){const e=n();return{result:e instanceof Promise?await e:e}}return{result:!1}}}),l=(e,t,r=()=>!0)=>{const n=c(l,t,r),o=a(e,n);return e.addEventListener("message",o),()=>e.removeEventListener("message",o)},d=(e,t)=>r=>{const n=t.get(r);if(void 0===n)return Promise.resolve(!1);const[o,s]=n;return e(o),t.delete(r),s(!1),Promise.resolve(!0)},m=(e,t,r,n)=>(o,s,a)=>{const i=o+s-t.timeOrigin,u=i-t.now();return new Promise(t=>{e.set(a,[r(n,u,i,e,t,a),t])})},f=new Map,h=d(globalThis.clearTimeout,f),p=new Map,v=d(globalThis.clearTimeout,p),w=((e,t)=>{const r=(n,o,s,a)=>{const i=n-e.now();i>0?o.set(a,[t(r,i,n,o,s,a),s]):(o.delete(a),s(!0))};return r})(performance,globalThis.setTimeout),g=m(f,performance,globalThis.setTimeout,w),T=m(p,performance,globalThis.setTimeout,w);l(self,{clear:async({timerId:e,timerType:t})=>({result:await("interval"===t?h(e):v(e))}),set:async({delay:e,now:t,timerId:r,timerType:n})=>({result:await("interval"===n?g:T)(e,t,r)})})})()})();`; // tslint:disable-line:max-line-length
|
|
29000
29118
|
//# sourceMappingURL=worker.js.map
|
|
29001
29119
|
|
|
29002
|
-
/***/ }
|
|
29120
|
+
/***/ },
|
|
29003
29121
|
|
|
29004
|
-
/***/ "./node_modules/ws/index.js"
|
|
29122
|
+
/***/ "./node_modules/ws/index.js"
|
|
29005
29123
|
/*!**********************************!*\
|
|
29006
29124
|
!*** ./node_modules/ws/index.js ***!
|
|
29007
29125
|
\**********************************/
|
|
29008
|
-
|
|
29126
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
29009
29127
|
|
|
29010
29128
|
"use strict";
|
|
29011
29129
|
|
|
@@ -29023,13 +29141,13 @@ WebSocket.WebSocketServer = WebSocket.Server;
|
|
|
29023
29141
|
module.exports = WebSocket;
|
|
29024
29142
|
|
|
29025
29143
|
|
|
29026
|
-
/***/ }
|
|
29144
|
+
/***/ },
|
|
29027
29145
|
|
|
29028
|
-
/***/ "./node_modules/ws/lib/buffer-util.js"
|
|
29146
|
+
/***/ "./node_modules/ws/lib/buffer-util.js"
|
|
29029
29147
|
/*!********************************************!*\
|
|
29030
29148
|
!*** ./node_modules/ws/lib/buffer-util.js ***!
|
|
29031
29149
|
\********************************************/
|
|
29032
|
-
|
|
29150
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
29033
29151
|
|
|
29034
29152
|
"use strict";
|
|
29035
29153
|
|
|
@@ -29165,13 +29283,13 @@ if (!process.env.WS_NO_BUFFER_UTIL) {
|
|
|
29165
29283
|
}
|
|
29166
29284
|
|
|
29167
29285
|
|
|
29168
|
-
/***/ }
|
|
29286
|
+
/***/ },
|
|
29169
29287
|
|
|
29170
|
-
/***/ "./node_modules/ws/lib/constants.js"
|
|
29288
|
+
/***/ "./node_modules/ws/lib/constants.js"
|
|
29171
29289
|
/*!******************************************!*\
|
|
29172
29290
|
!*** ./node_modules/ws/lib/constants.js ***!
|
|
29173
29291
|
\******************************************/
|
|
29174
|
-
|
|
29292
|
+
(module) {
|
|
29175
29293
|
|
|
29176
29294
|
"use strict";
|
|
29177
29295
|
|
|
@@ -29183,6 +29301,7 @@ if (hasBlob) BINARY_TYPES.push('blob');
|
|
|
29183
29301
|
|
|
29184
29302
|
module.exports = {
|
|
29185
29303
|
BINARY_TYPES,
|
|
29304
|
+
CLOSE_TIMEOUT: 30000,
|
|
29186
29305
|
EMPTY_BUFFER: Buffer.alloc(0),
|
|
29187
29306
|
GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',
|
|
29188
29307
|
hasBlob,
|
|
@@ -29194,13 +29313,13 @@ module.exports = {
|
|
|
29194
29313
|
};
|
|
29195
29314
|
|
|
29196
29315
|
|
|
29197
|
-
/***/ }
|
|
29316
|
+
/***/ },
|
|
29198
29317
|
|
|
29199
|
-
/***/ "./node_modules/ws/lib/event-target.js"
|
|
29318
|
+
/***/ "./node_modules/ws/lib/event-target.js"
|
|
29200
29319
|
/*!*********************************************!*\
|
|
29201
29320
|
!*** ./node_modules/ws/lib/event-target.js ***!
|
|
29202
29321
|
\*********************************************/
|
|
29203
|
-
|
|
29322
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
29204
29323
|
|
|
29205
29324
|
"use strict";
|
|
29206
29325
|
|
|
@@ -29497,13 +29616,13 @@ function callListener(listener, thisArg, event) {
|
|
|
29497
29616
|
}
|
|
29498
29617
|
|
|
29499
29618
|
|
|
29500
|
-
/***/ }
|
|
29619
|
+
/***/ },
|
|
29501
29620
|
|
|
29502
|
-
/***/ "./node_modules/ws/lib/extension.js"
|
|
29621
|
+
/***/ "./node_modules/ws/lib/extension.js"
|
|
29503
29622
|
/*!******************************************!*\
|
|
29504
29623
|
!*** ./node_modules/ws/lib/extension.js ***!
|
|
29505
29624
|
\******************************************/
|
|
29506
|
-
|
|
29625
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
29507
29626
|
|
|
29508
29627
|
"use strict";
|
|
29509
29628
|
|
|
@@ -29711,13 +29830,13 @@ function format(extensions) {
|
|
|
29711
29830
|
module.exports = { format, parse };
|
|
29712
29831
|
|
|
29713
29832
|
|
|
29714
|
-
/***/ }
|
|
29833
|
+
/***/ },
|
|
29715
29834
|
|
|
29716
|
-
/***/ "./node_modules/ws/lib/limiter.js"
|
|
29835
|
+
/***/ "./node_modules/ws/lib/limiter.js"
|
|
29717
29836
|
/*!****************************************!*\
|
|
29718
29837
|
!*** ./node_modules/ws/lib/limiter.js ***!
|
|
29719
29838
|
\****************************************/
|
|
29720
|
-
|
|
29839
|
+
(module) {
|
|
29721
29840
|
|
|
29722
29841
|
"use strict";
|
|
29723
29842
|
|
|
@@ -29777,13 +29896,13 @@ class Limiter {
|
|
|
29777
29896
|
module.exports = Limiter;
|
|
29778
29897
|
|
|
29779
29898
|
|
|
29780
|
-
/***/ }
|
|
29899
|
+
/***/ },
|
|
29781
29900
|
|
|
29782
|
-
/***/ "./node_modules/ws/lib/permessage-deflate.js"
|
|
29901
|
+
/***/ "./node_modules/ws/lib/permessage-deflate.js"
|
|
29783
29902
|
/*!***************************************************!*\
|
|
29784
29903
|
!*** ./node_modules/ws/lib/permessage-deflate.js ***!
|
|
29785
29904
|
\***************************************************/
|
|
29786
|
-
|
|
29905
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
29787
29906
|
|
|
29788
29907
|
"use strict";
|
|
29789
29908
|
|
|
@@ -30316,13 +30435,13 @@ function inflateOnError(err) {
|
|
|
30316
30435
|
}
|
|
30317
30436
|
|
|
30318
30437
|
|
|
30319
|
-
/***/ }
|
|
30438
|
+
/***/ },
|
|
30320
30439
|
|
|
30321
|
-
/***/ "./node_modules/ws/lib/receiver.js"
|
|
30440
|
+
/***/ "./node_modules/ws/lib/receiver.js"
|
|
30322
30441
|
/*!*****************************************!*\
|
|
30323
30442
|
!*** ./node_modules/ws/lib/receiver.js ***!
|
|
30324
30443
|
\*****************************************/
|
|
30325
|
-
|
|
30444
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
30326
30445
|
|
|
30327
30446
|
"use strict";
|
|
30328
30447
|
|
|
@@ -31033,13 +31152,13 @@ class Receiver extends Writable {
|
|
|
31033
31152
|
module.exports = Receiver;
|
|
31034
31153
|
|
|
31035
31154
|
|
|
31036
|
-
/***/ }
|
|
31155
|
+
/***/ },
|
|
31037
31156
|
|
|
31038
|
-
/***/ "./node_modules/ws/lib/sender.js"
|
|
31157
|
+
/***/ "./node_modules/ws/lib/sender.js"
|
|
31039
31158
|
/*!***************************************!*\
|
|
31040
31159
|
!*** ./node_modules/ws/lib/sender.js ***!
|
|
31041
31160
|
\***************************************/
|
|
31042
|
-
|
|
31161
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
31043
31162
|
|
|
31044
31163
|
"use strict";
|
|
31045
31164
|
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex" }] */
|
|
@@ -31646,13 +31765,13 @@ function onError(sender, err, cb) {
|
|
|
31646
31765
|
}
|
|
31647
31766
|
|
|
31648
31767
|
|
|
31649
|
-
/***/ }
|
|
31768
|
+
/***/ },
|
|
31650
31769
|
|
|
31651
|
-
/***/ "./node_modules/ws/lib/stream.js"
|
|
31770
|
+
/***/ "./node_modules/ws/lib/stream.js"
|
|
31652
31771
|
/*!***************************************!*\
|
|
31653
31772
|
!*** ./node_modules/ws/lib/stream.js ***!
|
|
31654
31773
|
\***************************************/
|
|
31655
|
-
|
|
31774
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
31656
31775
|
|
|
31657
31776
|
"use strict";
|
|
31658
31777
|
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^WebSocket$" }] */
|
|
@@ -31818,13 +31937,13 @@ function createWebSocketStream(ws, options) {
|
|
|
31818
31937
|
module.exports = createWebSocketStream;
|
|
31819
31938
|
|
|
31820
31939
|
|
|
31821
|
-
/***/ }
|
|
31940
|
+
/***/ },
|
|
31822
31941
|
|
|
31823
|
-
/***/ "./node_modules/ws/lib/subprotocol.js"
|
|
31942
|
+
/***/ "./node_modules/ws/lib/subprotocol.js"
|
|
31824
31943
|
/*!********************************************!*\
|
|
31825
31944
|
!*** ./node_modules/ws/lib/subprotocol.js ***!
|
|
31826
31945
|
\********************************************/
|
|
31827
|
-
|
|
31946
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
31828
31947
|
|
|
31829
31948
|
"use strict";
|
|
31830
31949
|
|
|
@@ -31891,13 +32010,13 @@ function parse(header) {
|
|
|
31891
32010
|
module.exports = { parse };
|
|
31892
32011
|
|
|
31893
32012
|
|
|
31894
|
-
/***/ }
|
|
32013
|
+
/***/ },
|
|
31895
32014
|
|
|
31896
|
-
/***/ "./node_modules/ws/lib/validation.js"
|
|
32015
|
+
/***/ "./node_modules/ws/lib/validation.js"
|
|
31897
32016
|
/*!*******************************************!*\
|
|
31898
32017
|
!*** ./node_modules/ws/lib/validation.js ***!
|
|
31899
32018
|
\*******************************************/
|
|
31900
|
-
|
|
32019
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
31901
32020
|
|
|
31902
32021
|
"use strict";
|
|
31903
32022
|
|
|
@@ -32054,13 +32173,13 @@ if (isUtf8) {
|
|
|
32054
32173
|
}
|
|
32055
32174
|
|
|
32056
32175
|
|
|
32057
|
-
/***/ }
|
|
32176
|
+
/***/ },
|
|
32058
32177
|
|
|
32059
|
-
/***/ "./node_modules/ws/lib/websocket-server.js"
|
|
32178
|
+
/***/ "./node_modules/ws/lib/websocket-server.js"
|
|
32060
32179
|
/*!*************************************************!*\
|
|
32061
32180
|
!*** ./node_modules/ws/lib/websocket-server.js ***!
|
|
32062
32181
|
\*************************************************/
|
|
32063
|
-
|
|
32182
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
32064
32183
|
|
|
32065
32184
|
"use strict";
|
|
32066
32185
|
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex$", "caughtErrors": "none" }] */
|
|
@@ -32076,7 +32195,7 @@ const extension = __webpack_require__(/*! ./extension */ "./node_modules/ws/lib/
|
|
|
32076
32195
|
const PerMessageDeflate = __webpack_require__(/*! ./permessage-deflate */ "./node_modules/ws/lib/permessage-deflate.js");
|
|
32077
32196
|
const subprotocol = __webpack_require__(/*! ./subprotocol */ "./node_modules/ws/lib/subprotocol.js");
|
|
32078
32197
|
const WebSocket = __webpack_require__(/*! ./websocket */ "./node_modules/ws/lib/websocket.js");
|
|
32079
|
-
const { GUID, kWebSocket } = __webpack_require__(/*! ./constants */ "./node_modules/ws/lib/constants.js");
|
|
32198
|
+
const { CLOSE_TIMEOUT, GUID, kWebSocket } = __webpack_require__(/*! ./constants */ "./node_modules/ws/lib/constants.js");
|
|
32080
32199
|
|
|
32081
32200
|
const keyRegex = /^[+/0-9A-Za-z]{22}==$/;
|
|
32082
32201
|
|
|
@@ -32103,6 +32222,9 @@ class WebSocketServer extends EventEmitter {
|
|
|
32103
32222
|
* pending connections
|
|
32104
32223
|
* @param {Boolean} [options.clientTracking=true] Specifies whether or not to
|
|
32105
32224
|
* track clients
|
|
32225
|
+
* @param {Number} [options.closeTimeout=30000] Duration in milliseconds to
|
|
32226
|
+
* wait for the closing handshake to finish after `websocket.close()` is
|
|
32227
|
+
* called
|
|
32106
32228
|
* @param {Function} [options.handleProtocols] A hook to handle protocols
|
|
32107
32229
|
* @param {String} [options.host] The hostname where to bind the server
|
|
32108
32230
|
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
@@ -32132,6 +32254,7 @@ class WebSocketServer extends EventEmitter {
|
|
|
32132
32254
|
perMessageDeflate: false,
|
|
32133
32255
|
handleProtocols: null,
|
|
32134
32256
|
clientTracking: true,
|
|
32257
|
+
closeTimeout: CLOSE_TIMEOUT,
|
|
32135
32258
|
verifyClient: null,
|
|
32136
32259
|
noServer: false,
|
|
32137
32260
|
backlog: null, // use default (511 as implemented in net.js)
|
|
@@ -32615,13 +32738,13 @@ function abortHandshakeOrEmitwsClientError(
|
|
|
32615
32738
|
}
|
|
32616
32739
|
|
|
32617
32740
|
|
|
32618
|
-
/***/ }
|
|
32741
|
+
/***/ },
|
|
32619
32742
|
|
|
32620
|
-
/***/ "./node_modules/ws/lib/websocket.js"
|
|
32743
|
+
/***/ "./node_modules/ws/lib/websocket.js"
|
|
32621
32744
|
/*!******************************************!*\
|
|
32622
32745
|
!*** ./node_modules/ws/lib/websocket.js ***!
|
|
32623
32746
|
\******************************************/
|
|
32624
|
-
|
|
32747
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
32625
32748
|
|
|
32626
32749
|
"use strict";
|
|
32627
32750
|
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex|Readable$", "caughtErrors": "none" }] */
|
|
@@ -32644,6 +32767,7 @@ const { isBlob } = __webpack_require__(/*! ./validation */ "./node_modules/ws/li
|
|
|
32644
32767
|
|
|
32645
32768
|
const {
|
|
32646
32769
|
BINARY_TYPES,
|
|
32770
|
+
CLOSE_TIMEOUT,
|
|
32647
32771
|
EMPTY_BUFFER,
|
|
32648
32772
|
GUID,
|
|
32649
32773
|
kForOnEventAttribute,
|
|
@@ -32658,7 +32782,6 @@ const {
|
|
|
32658
32782
|
const { format, parse } = __webpack_require__(/*! ./extension */ "./node_modules/ws/lib/extension.js");
|
|
32659
32783
|
const { toBuffer } = __webpack_require__(/*! ./buffer-util */ "./node_modules/ws/lib/buffer-util.js");
|
|
32660
32784
|
|
|
32661
|
-
const closeTimeout = 30 * 1000;
|
|
32662
32785
|
const kAborted = Symbol('kAborted');
|
|
32663
32786
|
const protocolVersions = [8, 13];
|
|
32664
32787
|
const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];
|
|
@@ -32714,6 +32837,7 @@ class WebSocket extends EventEmitter {
|
|
|
32714
32837
|
initAsClient(this, address, protocols, options);
|
|
32715
32838
|
} else {
|
|
32716
32839
|
this._autoPong = options.autoPong;
|
|
32840
|
+
this._closeTimeout = options.closeTimeout;
|
|
32717
32841
|
this._isServer = true;
|
|
32718
32842
|
}
|
|
32719
32843
|
}
|
|
@@ -33255,6 +33379,8 @@ module.exports = WebSocket;
|
|
|
33255
33379
|
* times in the same tick
|
|
33256
33380
|
* @param {Boolean} [options.autoPong=true] Specifies whether or not to
|
|
33257
33381
|
* automatically send a pong in response to a ping
|
|
33382
|
+
* @param {Number} [options.closeTimeout=30000] Duration in milliseconds to wait
|
|
33383
|
+
* for the closing handshake to finish after `websocket.close()` is called
|
|
33258
33384
|
* @param {Function} [options.finishRequest] A function which can be used to
|
|
33259
33385
|
* customize the headers of each http request before it is sent
|
|
33260
33386
|
* @param {Boolean} [options.followRedirects=false] Whether or not to follow
|
|
@@ -33281,6 +33407,7 @@ function initAsClient(websocket, address, protocols, options) {
|
|
|
33281
33407
|
const opts = {
|
|
33282
33408
|
allowSynchronousEvents: true,
|
|
33283
33409
|
autoPong: true,
|
|
33410
|
+
closeTimeout: CLOSE_TIMEOUT,
|
|
33284
33411
|
protocolVersion: protocolVersions[1],
|
|
33285
33412
|
maxPayload: 100 * 1024 * 1024,
|
|
33286
33413
|
skipUTF8Validation: false,
|
|
@@ -33299,6 +33426,7 @@ function initAsClient(websocket, address, protocols, options) {
|
|
|
33299
33426
|
};
|
|
33300
33427
|
|
|
33301
33428
|
websocket._autoPong = opts.autoPong;
|
|
33429
|
+
websocket._closeTimeout = opts.closeTimeout;
|
|
33302
33430
|
|
|
33303
33431
|
if (!protocolVersions.includes(opts.protocolVersion)) {
|
|
33304
33432
|
throw new RangeError(
|
|
@@ -33916,7 +34044,7 @@ function senderOnError(err) {
|
|
|
33916
34044
|
function setCloseTimer(websocket) {
|
|
33917
34045
|
websocket._closeTimer = setTimeout(
|
|
33918
34046
|
websocket._socket.destroy.bind(websocket._socket),
|
|
33919
|
-
|
|
34047
|
+
websocket._closeTimeout
|
|
33920
34048
|
);
|
|
33921
34049
|
}
|
|
33922
34050
|
|
|
@@ -33934,23 +34062,23 @@ function socketOnClose() {
|
|
|
33934
34062
|
|
|
33935
34063
|
websocket._readyState = WebSocket.CLOSING;
|
|
33936
34064
|
|
|
33937
|
-
let chunk;
|
|
33938
|
-
|
|
33939
34065
|
//
|
|
33940
34066
|
// The close frame might not have been received or the `'end'` event emitted,
|
|
33941
34067
|
// for example, if the socket was destroyed due to an error. Ensure that the
|
|
33942
34068
|
// `receiver` stream is closed after writing any remaining buffered data to
|
|
33943
34069
|
// it. If the readable side of the socket is in flowing mode then there is no
|
|
33944
|
-
// buffered data as everything has been already written
|
|
33945
|
-
//
|
|
33946
|
-
//
|
|
34070
|
+
// buffered data as everything has been already written. If instead, the
|
|
34071
|
+
// socket is paused, any possible buffered data will be read as a single
|
|
34072
|
+
// chunk.
|
|
33947
34073
|
//
|
|
33948
34074
|
if (
|
|
33949
34075
|
!this._readableState.endEmitted &&
|
|
33950
34076
|
!websocket._closeFrameReceived &&
|
|
33951
34077
|
!websocket._receiver._writableState.errorEmitted &&
|
|
33952
|
-
|
|
34078
|
+
this._readableState.length !== 0
|
|
33953
34079
|
) {
|
|
34080
|
+
const chunk = this.read(this._readableState.length);
|
|
34081
|
+
|
|
33954
34082
|
websocket._receiver.write(chunk);
|
|
33955
34083
|
}
|
|
33956
34084
|
|
|
@@ -34014,13 +34142,13 @@ function socketOnError() {
|
|
|
34014
34142
|
}
|
|
34015
34143
|
|
|
34016
34144
|
|
|
34017
|
-
/***/ }
|
|
34145
|
+
/***/ },
|
|
34018
34146
|
|
|
34019
|
-
/***/ "./src/main.ts"
|
|
34147
|
+
/***/ "./src/main.ts"
|
|
34020
34148
|
/*!*********************!*\
|
|
34021
34149
|
!*** ./src/main.ts ***!
|
|
34022
34150
|
\*********************/
|
|
34023
|
-
|
|
34151
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
34024
34152
|
|
|
34025
34153
|
"use strict";
|
|
34026
34154
|
|
|
@@ -34180,14 +34308,17 @@ class BaseMqttSensor extends sdk_1.ScryptedDeviceBase {
|
|
|
34180
34308
|
np === 'battery_low' ||
|
|
34181
34309
|
truthy(np);
|
|
34182
34310
|
this.lowBattery = isLow;
|
|
34183
|
-
|
|
34184
|
-
|
|
34185
|
-
|
|
34186
|
-
|
|
34187
|
-
|
|
34188
|
-
|
|
34311
|
+
// Simula anche la percentuale per HomeKit/Scrypted:
|
|
34312
|
+
// low -> 10%
|
|
34313
|
+
// ok -> 100%
|
|
34314
|
+
const level = isLow ? 10 : 100;
|
|
34315
|
+
this.setAndEmit('batteryLevel', level, sdk_1.ScryptedInterface.Battery, {
|
|
34316
|
+
topic,
|
|
34317
|
+
raw,
|
|
34318
|
+
propLabel: 'batteryLevel(from lowBattery)',
|
|
34319
|
+
});
|
|
34189
34320
|
if (RUNTIME.logSensors) {
|
|
34190
|
-
this.console?.log?.(`[Sensor] ${this.cfg.name} [${this.cfg.id}] lowBattery -> ${isLow} (${topic}="${raw}")`);
|
|
34321
|
+
this.console?.log?.(`[Sensor] ${this.cfg.name} [${this.cfg.id}] lowBattery -> ${isLow}, level -> ${level} (${topic}="${raw}")`);
|
|
34191
34322
|
}
|
|
34192
34323
|
return;
|
|
34193
34324
|
}
|
|
@@ -34236,6 +34367,86 @@ class OccupancyMqttSensor extends BaseMqttSensor {
|
|
|
34236
34367
|
}
|
|
34237
34368
|
}
|
|
34238
34369
|
}
|
|
34370
|
+
/** ----------------- Zone Bypass Switch (optional) ----------------- */
|
|
34371
|
+
function ensureBypassDefaults(cfg) {
|
|
34372
|
+
if (!cfg.bypass)
|
|
34373
|
+
cfg.bypass = {};
|
|
34374
|
+
if (cfg.bypass.enabled === undefined)
|
|
34375
|
+
cfg.bypass.enabled = false;
|
|
34376
|
+
if (!cfg.bypass.payloadOn)
|
|
34377
|
+
cfg.bypass.payloadOn = 'bypass';
|
|
34378
|
+
if (!cfg.bypass.payloadOff)
|
|
34379
|
+
cfg.bypass.payloadOff = 'clear_bypass';
|
|
34380
|
+
if (cfg.bypass.controlTopic === undefined)
|
|
34381
|
+
cfg.bypass.controlTopic = '';
|
|
34382
|
+
if (cfg.bypass.stateTopic === undefined)
|
|
34383
|
+
cfg.bypass.stateTopic = '';
|
|
34384
|
+
}
|
|
34385
|
+
function canCreateBypassSwitch(cfg) {
|
|
34386
|
+
ensureBypassDefaults(cfg);
|
|
34387
|
+
const b = cfg.bypass;
|
|
34388
|
+
return !!b.enabled
|
|
34389
|
+
&& !!b.controlTopic?.trim()
|
|
34390
|
+
&& !!b.stateTopic?.trim()
|
|
34391
|
+
&& !!b.payloadOn?.trim()
|
|
34392
|
+
&& !!b.payloadOff?.trim();
|
|
34393
|
+
}
|
|
34394
|
+
class ZoneBypassSwitch extends sdk_1.ScryptedDeviceBase {
|
|
34395
|
+
constructor(nativeId, cfg, publish) {
|
|
34396
|
+
super(nativeId);
|
|
34397
|
+
this.cfg = cfg;
|
|
34398
|
+
this.publish = publish;
|
|
34399
|
+
ensureBypassDefaults(this.cfg);
|
|
34400
|
+
this.on = this.on ?? false;
|
|
34401
|
+
}
|
|
34402
|
+
handleMqtt(topic, payload) {
|
|
34403
|
+
const b = this.cfg.bypass;
|
|
34404
|
+
if (!b)
|
|
34405
|
+
return;
|
|
34406
|
+
const st = (b.stateTopic || '').trim();
|
|
34407
|
+
if (!st || topic !== st)
|
|
34408
|
+
return;
|
|
34409
|
+
const raw = payload?.toString() ?? '';
|
|
34410
|
+
const np = normalize(raw);
|
|
34411
|
+
// bypassed=true => zona disattivata => switch ON
|
|
34412
|
+
const bypassed = truthy(np) || np === 'true' || np === '1';
|
|
34413
|
+
if (this.on !== bypassed) {
|
|
34414
|
+
this.on = bypassed;
|
|
34415
|
+
try {
|
|
34416
|
+
this.onDeviceEvent(sdk_1.ScryptedInterface.OnOff, bypassed);
|
|
34417
|
+
}
|
|
34418
|
+
catch { }
|
|
34419
|
+
if (RUNTIME.logSensors) {
|
|
34420
|
+
this.console?.log?.(`[Bypass] ${this.cfg.name} [${this.cfg.id}] bypassed -> ${bypassed} (${topic}="${raw}")`);
|
|
34421
|
+
}
|
|
34422
|
+
}
|
|
34423
|
+
}
|
|
34424
|
+
publishBypass(on) {
|
|
34425
|
+
ensureBypassDefaults(this.cfg);
|
|
34426
|
+
const b = this.cfg.bypass;
|
|
34427
|
+
const topic = (b.controlTopic || '').trim();
|
|
34428
|
+
if (!topic)
|
|
34429
|
+
return;
|
|
34430
|
+
const payload = on ? (b.payloadOn || 'bypass') : (b.payloadOff || 'clear_bypass');
|
|
34431
|
+
this.publish(topic, payload);
|
|
34432
|
+
}
|
|
34433
|
+
async turnOn() {
|
|
34434
|
+
this.on = true;
|
|
34435
|
+
try {
|
|
34436
|
+
this.onDeviceEvent(sdk_1.ScryptedInterface.OnOff, true);
|
|
34437
|
+
}
|
|
34438
|
+
catch { }
|
|
34439
|
+
this.publishBypass(true);
|
|
34440
|
+
}
|
|
34441
|
+
async turnOff() {
|
|
34442
|
+
this.on = false;
|
|
34443
|
+
try {
|
|
34444
|
+
this.onDeviceEvent(sdk_1.ScryptedInterface.OnOff, false);
|
|
34445
|
+
}
|
|
34446
|
+
catch { }
|
|
34447
|
+
this.publishBypass(false);
|
|
34448
|
+
}
|
|
34449
|
+
}
|
|
34239
34450
|
/** ----------------- Main Plugin ----------------- */
|
|
34240
34451
|
class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
34241
34452
|
constructor() {
|
|
@@ -34382,6 +34593,7 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34382
34593
|
// ---- UI per sensori esistenti ----
|
|
34383
34594
|
for (const cfg of this.sensorsCfg) {
|
|
34384
34595
|
const gid = `Sensor: ${cfg.name} [${cfg.id}]`;
|
|
34596
|
+
ensureBypassDefaults(cfg);
|
|
34385
34597
|
out.push({ group: gid, key: `sensor.${cfg.id}.name`, title: 'Name', value: cfg.name }, { group: gid, key: `sensor.${cfg.id}.kind`, title: 'Type', value: cfg.kind, choices: ['contact', 'motion', 'occupancy'] });
|
|
34386
34598
|
if (cfg.kind === 'contact')
|
|
34387
34599
|
out.push({ group: gid, key: `sensor.${cfg.id}.topic.contact`, title: 'Contact State Topic', value: cfg.topics.contact || '', placeholder: 'paradox/states/zones/XYZ/open' });
|
|
@@ -34389,7 +34601,9 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34389
34601
|
out.push({ group: gid, key: `sensor.${cfg.id}.topic.motion`, title: 'Motion Detected Topic', value: cfg.topics.motion || '', placeholder: 'paradox/states/zones/XYZ/open' });
|
|
34390
34602
|
else
|
|
34391
34603
|
out.push({ group: gid, key: `sensor.${cfg.id}.topic.occupancy`, title: 'Occupancy Detected Topic', value: cfg.topics.occupancy || '', placeholder: 'paradox/states/zones/XYZ/open' });
|
|
34392
|
-
out.push({ group: gid, key: `sensor.${cfg.id}.topic.batteryLevel`, title: 'Battery Level Topic (0..100)', value: cfg.topics.batteryLevel || '' }, { group: gid, key: `sensor.${cfg.id}.topic.lowBattery`, title: 'Low Battery Topic (bool)', value: cfg.topics.lowBattery || '' }, { group: gid, key: `sensor.${cfg.id}.topic.tamper`, title: 'Tamper Topic', value: cfg.topics.tamper || '' }, { group: gid, key: `sensor.${cfg.id}.topic.online`, title: 'Online Topic', value: cfg.topics.online || '' },
|
|
34604
|
+
out.push({ group: gid, key: `sensor.${cfg.id}.topic.batteryLevel`, title: 'Battery Level Topic (0..100)', value: cfg.topics.batteryLevel || '' }, { group: gid, key: `sensor.${cfg.id}.topic.lowBattery`, title: 'Low Battery Topic (bool)', value: cfg.topics.lowBattery || '' }, { group: gid, key: `sensor.${cfg.id}.topic.tamper`, title: 'Tamper Topic', value: cfg.topics.tamper || '' }, { group: gid, key: `sensor.${cfg.id}.topic.online`, title: 'Online Topic', value: cfg.topics.online || '' },
|
|
34605
|
+
// --- Zone bypass (optional Switch device) ---
|
|
34606
|
+
{ group: gid, key: `sensor.${cfg.id}.bypass.enabled`, title: 'Enable bypass switch device', type: 'boolean', value: cfg.bypass?.enabled ?? false, description: 'Crea un nuovo device Switch (non-child) chiamato "<Nome Zona> bypass" solo se questo flag è ON e i 4 campi sotto sono compilati.' }, { group: gid, key: `sensor.${cfg.id}.bypass.controlTopic`, title: 'Bypass CONTROL topic (publish)', value: cfg.bypass?.controlTopic ?? '', placeholder: 'paradox/control/zones/NOME_ZONA' }, { group: gid, key: `sensor.${cfg.id}.bypass.stateTopic`, title: 'Bypass STATE topic (subscribe)', value: cfg.bypass?.stateTopic ?? '', placeholder: 'paradox/states/zones/NOME_ZONA/bypassed' }, { group: gid, key: `sensor.${cfg.id}.bypass.payloadOn`, title: 'Bypass payload ON', value: cfg.bypass?.payloadOn ?? 'bypass', placeholder: 'bypass' }, { group: gid, key: `sensor.${cfg.id}.bypass.payloadOff`, title: 'Bypass payload OFF', value: cfg.bypass?.payloadOff ?? 'clear_bypass', placeholder: 'clear_bypass' }, { group: gid, key: `sensor.${cfg.id}.remove`, title: 'Remove sensor', type: 'boolean' });
|
|
34393
34607
|
}
|
|
34394
34608
|
return out;
|
|
34395
34609
|
}
|
|
@@ -34441,6 +34655,12 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34441
34655
|
deviceManager.onDeviceRemoved?.(`sensor:${sid}`);
|
|
34442
34656
|
}
|
|
34443
34657
|
catch { }
|
|
34658
|
+
// rimuovi anche l'eventuale device bypass
|
|
34659
|
+
try {
|
|
34660
|
+
this.devices.delete(`bypass:${sid}`);
|
|
34661
|
+
deviceManager.onDeviceRemoved?.(`bypass:${sid}`);
|
|
34662
|
+
}
|
|
34663
|
+
catch { }
|
|
34444
34664
|
// pulisci flag
|
|
34445
34665
|
this.storage.removeItem(key);
|
|
34446
34666
|
await this.discoverSensors();
|
|
@@ -34455,6 +34675,11 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34455
34675
|
const tk = prop.substring('topic.'.length);
|
|
34456
34676
|
cfg.topics[tk] = String(value).trim();
|
|
34457
34677
|
}
|
|
34678
|
+
else if (prop.startsWith('bypass.')) {
|
|
34679
|
+
ensureBypassDefaults(cfg);
|
|
34680
|
+
const bk = prop.substring('bypass.'.length);
|
|
34681
|
+
cfg.bypass[bk] = (bk === 'enabled') ? (String(value) === 'true') : String(value).trim();
|
|
34682
|
+
}
|
|
34458
34683
|
this.saveSensorsToStorage();
|
|
34459
34684
|
await this.discoverSensors();
|
|
34460
34685
|
await this.connectMqtt(true);
|
|
@@ -34471,7 +34696,9 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34471
34696
|
}
|
|
34472
34697
|
}
|
|
34473
34698
|
/** ---- DeviceProvider ---- */
|
|
34474
|
-
async getDevice(nativeId) {
|
|
34699
|
+
async getDevice(nativeId) {
|
|
34700
|
+
return this.devices.get(nativeId);
|
|
34701
|
+
}
|
|
34475
34702
|
async releaseDevice(_id, nativeId) {
|
|
34476
34703
|
try {
|
|
34477
34704
|
const dev = this.devices.get(nativeId);
|
|
@@ -34500,8 +34727,8 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34500
34727
|
}
|
|
34501
34728
|
/** ===== discoverSensors: annuncia PRIMA, istanzia DOPO ===== */
|
|
34502
34729
|
async discoverSensors() {
|
|
34503
|
-
// 1) manifest
|
|
34504
|
-
const
|
|
34730
|
+
// 1) manifest sensori
|
|
34731
|
+
const sensorManifests = this.sensorsCfg.map(cfg => {
|
|
34505
34732
|
const nativeId = `sensor:${cfg.id}`;
|
|
34506
34733
|
const t = cfg.topics || {};
|
|
34507
34734
|
const interfaces = [sdk_1.ScryptedInterface.Online];
|
|
@@ -34516,8 +34743,23 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34516
34743
|
// Battery solo se definita davvero
|
|
34517
34744
|
if ((t.batteryLevel && t.batteryLevel.trim()) || (t.lowBattery && t.lowBattery.trim()))
|
|
34518
34745
|
interfaces.push(sdk_1.ScryptedInterface.Battery);
|
|
34519
|
-
return {
|
|
34746
|
+
return {
|
|
34747
|
+
nativeId,
|
|
34748
|
+
name: cfg.name,
|
|
34749
|
+
type: sdk_1.ScryptedDeviceType.Sensor,
|
|
34750
|
+
interfaces,
|
|
34751
|
+
};
|
|
34520
34752
|
});
|
|
34753
|
+
// 1b) manifest bypass switches (solo se flag ON + 4 campi compilati)
|
|
34754
|
+
const bypassManifests = this.sensorsCfg
|
|
34755
|
+
.filter(cfg => canCreateBypassSwitch(cfg))
|
|
34756
|
+
.map(cfg => ({
|
|
34757
|
+
nativeId: `bypass:${cfg.id}`,
|
|
34758
|
+
name: `${cfg.name} bypass`,
|
|
34759
|
+
type: sdk_1.ScryptedDeviceType.Switch,
|
|
34760
|
+
interfaces: [sdk_1.ScryptedInterface.OnOff],
|
|
34761
|
+
}));
|
|
34762
|
+
const manifests = [...sensorManifests, ...bypassManifests];
|
|
34521
34763
|
// 2) annuncio
|
|
34522
34764
|
const dmAny = deviceManager;
|
|
34523
34765
|
if (typeof dmAny.onDevicesChanged === 'function') {
|
|
@@ -34530,7 +34772,7 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34530
34772
|
this.console.log('Annunciato:', m.nativeId);
|
|
34531
34773
|
}
|
|
34532
34774
|
}
|
|
34533
|
-
// 3) istanzia/aggiorna
|
|
34775
|
+
// 3) istanzia/aggiorna sensori
|
|
34534
34776
|
for (const cfg of this.sensorsCfg) {
|
|
34535
34777
|
const nativeId = `sensor:${cfg.id}`;
|
|
34536
34778
|
let dev = this.devices.get(nativeId);
|
|
@@ -34547,8 +34789,8 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34547
34789
|
dev.cfg = cfg;
|
|
34548
34790
|
}
|
|
34549
34791
|
// default OK per battery se non abbiamo ancora un valore
|
|
34550
|
-
const hasBattery = !!(cfg.topics.batteryLevel && cfg.topics.batteryLevel.trim())
|
|
34551
|
-
|
|
34792
|
+
const hasBattery = !!(cfg.topics.batteryLevel && cfg.topics.batteryLevel.trim()) ||
|
|
34793
|
+
!!(cfg.topics.lowBattery && cfg.topics.lowBattery.trim());
|
|
34552
34794
|
if (hasBattery && dev.batteryLevel === undefined) {
|
|
34553
34795
|
dev.batteryLevel = 100;
|
|
34554
34796
|
try {
|
|
@@ -34557,6 +34799,21 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34557
34799
|
catch { }
|
|
34558
34800
|
}
|
|
34559
34801
|
}
|
|
34802
|
+
// 3b) istanzia/aggiorna bypass switches
|
|
34803
|
+
for (const cfg of this.sensorsCfg) {
|
|
34804
|
+
if (!canCreateBypassSwitch(cfg))
|
|
34805
|
+
continue;
|
|
34806
|
+
const nativeId = `bypass:${cfg.id}`;
|
|
34807
|
+
let dev = this.devices.get(nativeId);
|
|
34808
|
+
if (!dev) {
|
|
34809
|
+
dev = new ZoneBypassSwitch(nativeId, cfg, (t, p) => this.publishMqtt(t, p));
|
|
34810
|
+
this.devices.set(nativeId, dev);
|
|
34811
|
+
}
|
|
34812
|
+
else {
|
|
34813
|
+
// aggiorna config referenziata (se il device esiste già)
|
|
34814
|
+
dev.cfg = cfg;
|
|
34815
|
+
}
|
|
34816
|
+
}
|
|
34560
34817
|
// 4) cleanup
|
|
34561
34818
|
const announced = new Set(manifests.map(m => m.nativeId));
|
|
34562
34819
|
for (const [nativeId] of this.devices) {
|
|
@@ -34605,6 +34862,12 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34605
34862
|
[t.contact, t.motion, t.occupancy, t.batteryLevel, t.lowBattery, t.tamper, t.online]
|
|
34606
34863
|
.filter((x) => !!x && String(x).trim().length > 0)
|
|
34607
34864
|
.forEach(x => subs.add(String(x)));
|
|
34865
|
+
// bypass switch: subscribe solo se verrà creato (flag ON + 4 campi compilati)
|
|
34866
|
+
if (canCreateBypassSwitch(s)) {
|
|
34867
|
+
const st = (s.bypass?.stateTopic || '').trim();
|
|
34868
|
+
if (st)
|
|
34869
|
+
subs.add(st);
|
|
34870
|
+
}
|
|
34608
34871
|
}
|
|
34609
34872
|
return Array.from(subs);
|
|
34610
34873
|
}
|
|
@@ -34637,8 +34900,10 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34637
34900
|
}
|
|
34638
34901
|
catch { }
|
|
34639
34902
|
if (subs.length)
|
|
34640
|
-
client.subscribe(subs, { qos: 0 }, (err) => {
|
|
34641
|
-
|
|
34903
|
+
client.subscribe(subs, { qos: 0 }, (err) => {
|
|
34904
|
+
if (err)
|
|
34905
|
+
this.console.error('subscribe error', err);
|
|
34906
|
+
});
|
|
34642
34907
|
});
|
|
34643
34908
|
client.on('reconnect', () => this.console.log('MQTT reconnecting...'));
|
|
34644
34909
|
client.on('close', () => {
|
|
@@ -34649,7 +34914,9 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34649
34914
|
}
|
|
34650
34915
|
catch { }
|
|
34651
34916
|
});
|
|
34652
|
-
client.on('error', (e) => {
|
|
34917
|
+
client.on('error', (e) => {
|
|
34918
|
+
this.console.error('MQTT error', e);
|
|
34919
|
+
});
|
|
34653
34920
|
client.on('message', (topic, payload) => {
|
|
34654
34921
|
try {
|
|
34655
34922
|
const p = payload?.toString() ?? '';
|
|
@@ -34721,9 +34988,9 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34721
34988
|
this.console.log(`[Alarm] target reported: "${p}" -> ${this.pendingTarget}`);
|
|
34722
34989
|
return;
|
|
34723
34990
|
}
|
|
34724
|
-
// ---- Sensor dispatch ----
|
|
34991
|
+
// ---- Sensor + bypass dispatch ----
|
|
34725
34992
|
for (const dev of this.devices.values())
|
|
34726
|
-
dev.handleMqtt(topic, payload);
|
|
34993
|
+
dev.handleMqtt?.(topic, payload);
|
|
34727
34994
|
}
|
|
34728
34995
|
catch (e) {
|
|
34729
34996
|
this.console.error('MQTT message handler error', e);
|
|
@@ -34731,6 +34998,21 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34731
34998
|
});
|
|
34732
34999
|
}
|
|
34733
35000
|
/** ---- SecuritySystem commands ---- */
|
|
35001
|
+
publishMqtt(topic, payload) {
|
|
35002
|
+
if (!topic || !this.client) {
|
|
35003
|
+
this.console.warn('MQTT non connesso o topic mancante.');
|
|
35004
|
+
return;
|
|
35005
|
+
}
|
|
35006
|
+
const retain = this.storage.getItem('retain') === 'true';
|
|
35007
|
+
const qosNum = Number(this.storage.getItem('qos') || 0);
|
|
35008
|
+
const qos = Math.max(0, Math.min(2, isFinite(qosNum) ? qosNum : 0));
|
|
35009
|
+
this.client.publish(topic, payload, { qos, retain }, (err) => {
|
|
35010
|
+
if (err)
|
|
35011
|
+
this.console.error('publish error', err);
|
|
35012
|
+
else if (RUNTIME.logSensors)
|
|
35013
|
+
this.console.log(`[MQTT] published "${payload}" to ${topic}`);
|
|
35014
|
+
});
|
|
35015
|
+
}
|
|
34734
35016
|
publishSetTarget(payload) {
|
|
34735
35017
|
const topic = this.storage.getItem('topicSetTarget');
|
|
34736
35018
|
if (!topic || !this.client) {
|
|
@@ -34778,194 +35060,194 @@ class ParadoxMqttSecuritySystem extends sdk_1.ScryptedDeviceBase {
|
|
|
34778
35060
|
exports["default"] = ParadoxMqttSecuritySystem;
|
|
34779
35061
|
|
|
34780
35062
|
|
|
34781
|
-
/***/ }
|
|
35063
|
+
/***/ },
|
|
34782
35064
|
|
|
34783
|
-
/***/ "assert"
|
|
35065
|
+
/***/ "assert"
|
|
34784
35066
|
/*!*************************!*\
|
|
34785
35067
|
!*** external "assert" ***!
|
|
34786
35068
|
\*************************/
|
|
34787
|
-
|
|
35069
|
+
(module) {
|
|
34788
35070
|
|
|
34789
35071
|
"use strict";
|
|
34790
35072
|
module.exports = require("assert");
|
|
34791
35073
|
|
|
34792
|
-
/***/ }
|
|
35074
|
+
/***/ },
|
|
34793
35075
|
|
|
34794
|
-
/***/ "buffer"
|
|
35076
|
+
/***/ "buffer"
|
|
34795
35077
|
/*!*************************!*\
|
|
34796
35078
|
!*** external "buffer" ***!
|
|
34797
35079
|
\*************************/
|
|
34798
|
-
|
|
35080
|
+
(module) {
|
|
34799
35081
|
|
|
34800
35082
|
"use strict";
|
|
34801
35083
|
module.exports = require("buffer");
|
|
34802
35084
|
|
|
34803
|
-
/***/ }
|
|
35085
|
+
/***/ },
|
|
34804
35086
|
|
|
34805
|
-
/***/ "crypto"
|
|
35087
|
+
/***/ "crypto"
|
|
34806
35088
|
/*!*************************!*\
|
|
34807
35089
|
!*** external "crypto" ***!
|
|
34808
35090
|
\*************************/
|
|
34809
|
-
|
|
35091
|
+
(module) {
|
|
34810
35092
|
|
|
34811
35093
|
"use strict";
|
|
34812
35094
|
module.exports = require("crypto");
|
|
34813
35095
|
|
|
34814
|
-
/***/ }
|
|
35096
|
+
/***/ },
|
|
34815
35097
|
|
|
34816
|
-
/***/ "dns"
|
|
35098
|
+
/***/ "dns"
|
|
34817
35099
|
/*!**********************!*\
|
|
34818
35100
|
!*** external "dns" ***!
|
|
34819
35101
|
\**********************/
|
|
34820
|
-
|
|
35102
|
+
(module) {
|
|
34821
35103
|
|
|
34822
35104
|
"use strict";
|
|
34823
35105
|
module.exports = require("dns");
|
|
34824
35106
|
|
|
34825
|
-
/***/ }
|
|
35107
|
+
/***/ },
|
|
34826
35108
|
|
|
34827
|
-
/***/ "events"
|
|
35109
|
+
/***/ "events"
|
|
34828
35110
|
/*!*************************!*\
|
|
34829
35111
|
!*** external "events" ***!
|
|
34830
35112
|
\*************************/
|
|
34831
|
-
|
|
35113
|
+
(module) {
|
|
34832
35114
|
|
|
34833
35115
|
"use strict";
|
|
34834
35116
|
module.exports = require("events");
|
|
34835
35117
|
|
|
34836
|
-
/***/ }
|
|
35118
|
+
/***/ },
|
|
34837
35119
|
|
|
34838
|
-
/***/ "fs"
|
|
35120
|
+
/***/ "fs"
|
|
34839
35121
|
/*!*********************!*\
|
|
34840
35122
|
!*** external "fs" ***!
|
|
34841
35123
|
\*********************/
|
|
34842
|
-
|
|
35124
|
+
(module) {
|
|
34843
35125
|
|
|
34844
35126
|
"use strict";
|
|
34845
35127
|
module.exports = require("fs");
|
|
34846
35128
|
|
|
34847
|
-
/***/ }
|
|
35129
|
+
/***/ },
|
|
34848
35130
|
|
|
34849
|
-
/***/ "http"
|
|
35131
|
+
/***/ "http"
|
|
34850
35132
|
/*!***********************!*\
|
|
34851
35133
|
!*** external "http" ***!
|
|
34852
35134
|
\***********************/
|
|
34853
|
-
|
|
35135
|
+
(module) {
|
|
34854
35136
|
|
|
34855
35137
|
"use strict";
|
|
34856
35138
|
module.exports = require("http");
|
|
34857
35139
|
|
|
34858
|
-
/***/ }
|
|
35140
|
+
/***/ },
|
|
34859
35141
|
|
|
34860
|
-
/***/ "https"
|
|
35142
|
+
/***/ "https"
|
|
34861
35143
|
/*!************************!*\
|
|
34862
35144
|
!*** external "https" ***!
|
|
34863
35145
|
\************************/
|
|
34864
|
-
|
|
35146
|
+
(module) {
|
|
34865
35147
|
|
|
34866
35148
|
"use strict";
|
|
34867
35149
|
module.exports = require("https");
|
|
34868
35150
|
|
|
34869
|
-
/***/ }
|
|
35151
|
+
/***/ },
|
|
34870
35152
|
|
|
34871
|
-
/***/ "module"
|
|
35153
|
+
/***/ "module"
|
|
34872
35154
|
/*!*************************!*\
|
|
34873
35155
|
!*** external "module" ***!
|
|
34874
35156
|
\*************************/
|
|
34875
|
-
|
|
35157
|
+
(module) {
|
|
34876
35158
|
|
|
34877
35159
|
"use strict";
|
|
34878
35160
|
module.exports = require("module");
|
|
34879
35161
|
|
|
34880
|
-
/***/ }
|
|
35162
|
+
/***/ },
|
|
34881
35163
|
|
|
34882
|
-
/***/ "net"
|
|
35164
|
+
/***/ "net"
|
|
34883
35165
|
/*!**********************!*\
|
|
34884
35166
|
!*** external "net" ***!
|
|
34885
35167
|
\**********************/
|
|
34886
|
-
|
|
35168
|
+
(module) {
|
|
34887
35169
|
|
|
34888
35170
|
"use strict";
|
|
34889
35171
|
module.exports = require("net");
|
|
34890
35172
|
|
|
34891
|
-
/***/ }
|
|
35173
|
+
/***/ },
|
|
34892
35174
|
|
|
34893
|
-
/***/ "os"
|
|
35175
|
+
/***/ "os"
|
|
34894
35176
|
/*!*********************!*\
|
|
34895
35177
|
!*** external "os" ***!
|
|
34896
35178
|
\*********************/
|
|
34897
|
-
|
|
35179
|
+
(module) {
|
|
34898
35180
|
|
|
34899
35181
|
"use strict";
|
|
34900
35182
|
module.exports = require("os");
|
|
34901
35183
|
|
|
34902
|
-
/***/ }
|
|
35184
|
+
/***/ },
|
|
34903
35185
|
|
|
34904
|
-
/***/ "stream"
|
|
35186
|
+
/***/ "stream"
|
|
34905
35187
|
/*!*************************!*\
|
|
34906
35188
|
!*** external "stream" ***!
|
|
34907
35189
|
\*************************/
|
|
34908
|
-
|
|
35190
|
+
(module) {
|
|
34909
35191
|
|
|
34910
35192
|
"use strict";
|
|
34911
35193
|
module.exports = require("stream");
|
|
34912
35194
|
|
|
34913
|
-
/***/ }
|
|
35195
|
+
/***/ },
|
|
34914
35196
|
|
|
34915
|
-
/***/ "tls"
|
|
35197
|
+
/***/ "tls"
|
|
34916
35198
|
/*!**********************!*\
|
|
34917
35199
|
!*** external "tls" ***!
|
|
34918
35200
|
\**********************/
|
|
34919
|
-
|
|
35201
|
+
(module) {
|
|
34920
35202
|
|
|
34921
35203
|
"use strict";
|
|
34922
35204
|
module.exports = require("tls");
|
|
34923
35205
|
|
|
34924
|
-
/***/ }
|
|
35206
|
+
/***/ },
|
|
34925
35207
|
|
|
34926
|
-
/***/ "tty"
|
|
35208
|
+
/***/ "tty"
|
|
34927
35209
|
/*!**********************!*\
|
|
34928
35210
|
!*** external "tty" ***!
|
|
34929
35211
|
\**********************/
|
|
34930
|
-
|
|
35212
|
+
(module) {
|
|
34931
35213
|
|
|
34932
35214
|
"use strict";
|
|
34933
35215
|
module.exports = require("tty");
|
|
34934
35216
|
|
|
34935
|
-
/***/ }
|
|
35217
|
+
/***/ },
|
|
34936
35218
|
|
|
34937
|
-
/***/ "url"
|
|
35219
|
+
/***/ "url"
|
|
34938
35220
|
/*!**********************!*\
|
|
34939
35221
|
!*** external "url" ***!
|
|
34940
35222
|
\**********************/
|
|
34941
|
-
|
|
35223
|
+
(module) {
|
|
34942
35224
|
|
|
34943
35225
|
"use strict";
|
|
34944
35226
|
module.exports = require("url");
|
|
34945
35227
|
|
|
34946
|
-
/***/ }
|
|
35228
|
+
/***/ },
|
|
34947
35229
|
|
|
34948
|
-
/***/ "util"
|
|
35230
|
+
/***/ "util"
|
|
34949
35231
|
/*!***********************!*\
|
|
34950
35232
|
!*** external "util" ***!
|
|
34951
35233
|
\***********************/
|
|
34952
|
-
|
|
35234
|
+
(module) {
|
|
34953
35235
|
|
|
34954
35236
|
"use strict";
|
|
34955
35237
|
module.exports = require("util");
|
|
34956
35238
|
|
|
34957
|
-
/***/ }
|
|
35239
|
+
/***/ },
|
|
34958
35240
|
|
|
34959
|
-
/***/ "zlib"
|
|
35241
|
+
/***/ "zlib"
|
|
34960
35242
|
/*!***********************!*\
|
|
34961
35243
|
!*** external "zlib" ***!
|
|
34962
35244
|
\***********************/
|
|
34963
|
-
|
|
35245
|
+
(module) {
|
|
34964
35246
|
|
|
34965
35247
|
"use strict";
|
|
34966
35248
|
module.exports = require("zlib");
|
|
34967
35249
|
|
|
34968
|
-
/***/ }
|
|
35250
|
+
/***/ }
|
|
34969
35251
|
|
|
34970
35252
|
/******/ });
|
|
34971
35253
|
/************************************************************************/
|
|
@@ -34979,6 +35261,12 @@ module.exports = require("zlib");
|
|
|
34979
35261
|
/******/ if (cachedModule !== undefined) {
|
|
34980
35262
|
/******/ return cachedModule.exports;
|
|
34981
35263
|
/******/ }
|
|
35264
|
+
/******/ // Check if module exists (development only)
|
|
35265
|
+
/******/ if (__webpack_modules__[moduleId] === undefined) {
|
|
35266
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
35267
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
35268
|
+
/******/ throw e;
|
|
35269
|
+
/******/ }
|
|
34982
35270
|
/******/ // Create a new module (and put it into the cache)
|
|
34983
35271
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
34984
35272
|
/******/ // no module.id needed
|