@sentio/sdk 2.57.12-rc.f → 2.57.12-rc.g
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{chunk-FDFFHCFA.js → chunk-2F2KNF4Z.js} +16113 -3887
- package/lib/chunk-2F2KNF4Z.js.map +1 -0
- package/lib/{chunk-QT2RHOVE.js → chunk-4HPFNKDX.js} +76 -146
- package/lib/chunk-4HPFNKDX.js.map +1 -0
- package/lib/{chunk-3NTVNR24.js → chunk-4OCWUYSJ.js} +2 -2
- package/lib/{chunk-M2LXR3BO.js → chunk-73SHERGU.js} +968 -1459
- package/lib/chunk-73SHERGU.js.map +1 -0
- package/lib/{chunk-MNZ4WYMA.js → chunk-7ECRTQD7.js} +2900 -3012
- package/lib/chunk-7ECRTQD7.js.map +1 -0
- package/lib/{chunk-2S4VBXER.js → chunk-7S6WQ4RL.js} +3 -3
- package/lib/{chunk-FTNDYH4A.js → chunk-AZFMPZRN.js} +200 -418
- package/lib/chunk-AZFMPZRN.js.map +1 -0
- package/lib/{chunk-QSUUYUJL.js → chunk-BZCXYTDE.js} +3 -3
- package/lib/{chunk-Q52U5JD3.js → chunk-E2DS6WZF.js} +14 -14
- package/lib/{chunk-Q52U5JD3.js.map → chunk-E2DS6WZF.js.map} +1 -1
- package/lib/{chunk-QUMTLHC5.js → chunk-GE6BRIGS.js} +5 -5
- package/lib/{chunk-MERD27M6.js → chunk-J3I3VNTV.js} +3 -3
- package/lib/{chunk-NMHIV5TJ.js → chunk-J3QOJ2RV.js} +4 -4
- package/lib/{chunk-BRHYXWEW.js → chunk-LPSNAS2G.js} +3 -3
- package/lib/chunk-LR232ZJV.js +2593 -0
- package/lib/chunk-LR232ZJV.js.map +1 -0
- package/lib/{chunk-TOXC2A6K.js → chunk-N36N7RXJ.js} +3 -3
- package/lib/{chunk-FLCIAA4G.js → chunk-OJG2VJ5T.js} +5 -5
- package/lib/{chunk-FLCIAA4G.js.map → chunk-OJG2VJ5T.js.map} +1 -1
- package/lib/{chunk-U5FYYK4Y.js → chunk-ONBEMKI5.js} +2 -2
- package/lib/{chunk-IGFULPWN.js → chunk-PVX2LIM5.js} +4 -4
- package/lib/{chunk-ZAY2PRBU.js → chunk-RMT2JEWA.js} +37 -37
- package/lib/{chunk-ZAY2PRBU.js.map → chunk-RMT2JEWA.js.map} +1 -1
- package/lib/{chunk-VWXVCB2D.js → chunk-S6MJ3KIL.js} +269 -384
- package/lib/chunk-S6MJ3KIL.js.map +1 -0
- package/lib/{chunk-FV4WLDIZ.js → chunk-UIBPOKNT.js} +16 -16
- package/lib/chunk-UIBPOKNT.js.map +1 -0
- package/package.json +3 -3
- package/lib/chunk-FDFFHCFA.js.map +0 -1
- package/lib/chunk-FTNDYH4A.js.map +0 -1
- package/lib/chunk-FV4WLDIZ.js.map +0 -1
- package/lib/chunk-M2LXR3BO.js.map +0 -1
- package/lib/chunk-MNZ4WYMA.js.map +0 -1
- package/lib/chunk-QT2RHOVE.js.map +0 -1
- package/lib/chunk-VWXVCB2D.js.map +0 -1
- /package/lib/{chunk-3NTVNR24.js.map → chunk-4OCWUYSJ.js.map} +0 -0
- /package/lib/{chunk-2S4VBXER.js.map → chunk-7S6WQ4RL.js.map} +0 -0
- /package/lib/{chunk-QSUUYUJL.js.map → chunk-BZCXYTDE.js.map} +0 -0
- /package/lib/{chunk-QUMTLHC5.js.map → chunk-GE6BRIGS.js.map} +0 -0
- /package/lib/{chunk-MERD27M6.js.map → chunk-J3I3VNTV.js.map} +0 -0
- /package/lib/{chunk-NMHIV5TJ.js.map → chunk-J3QOJ2RV.js.map} +0 -0
- /package/lib/{chunk-BRHYXWEW.js.map → chunk-LPSNAS2G.js.map} +0 -0
- /package/lib/{chunk-TOXC2A6K.js.map → chunk-N36N7RXJ.js.map} +0 -0
- /package/lib/{chunk-U5FYYK4Y.js.map → chunk-ONBEMKI5.js.map} +0 -0
- /package/lib/{chunk-IGFULPWN.js.map → chunk-PVX2LIM5.js.map} +0 -0
@@ -366,9 +366,9 @@ var require_lib = __commonJS({
|
|
366
366
|
}
|
367
367
|
});
|
368
368
|
|
369
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
369
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/constants.js
|
370
370
|
var require_constants = __commonJS({
|
371
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
371
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/constants.js"(exports2) {
|
372
372
|
"use strict";
|
373
373
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
374
374
|
exports2.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH = exports2.DEFAULT_MAX_SEND_MESSAGE_LENGTH = exports2.Propagate = exports2.LogVerbosity = exports2.Status = void 0;
|
@@ -412,12 +412,12 @@ var require_constants = __commonJS({
|
|
412
412
|
}
|
413
413
|
});
|
414
414
|
|
415
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
415
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/package.json
|
416
416
|
var require_package = __commonJS({
|
417
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
417
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/package.json"(exports2, module2) {
|
418
418
|
module2.exports = {
|
419
419
|
name: "@grpc/grpc-js",
|
420
|
-
version: "1.12.
|
420
|
+
version: "1.12.2",
|
421
421
|
description: "gRPC Library for Node - pure JS implementation",
|
422
422
|
homepage: "https://grpc.io/",
|
423
423
|
repository: "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
|
@@ -505,18 +505,16 @@ var require_package = __commonJS({
|
|
505
505
|
}
|
506
506
|
});
|
507
507
|
|
508
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
508
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/logging.js
|
509
509
|
var require_logging = __commonJS({
|
510
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
510
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/logging.js"(exports2) {
|
511
511
|
"use strict";
|
512
512
|
var _a;
|
513
513
|
var _b;
|
514
514
|
var _c;
|
515
515
|
var _d;
|
516
516
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
517
|
-
exports2.log = exports2.setLoggerVerbosity = exports2.setLogger = exports2.getLogger = void 0;
|
518
|
-
exports2.trace = trace;
|
519
|
-
exports2.isTracerEnabled = isTracerEnabled;
|
517
|
+
exports2.isTracerEnabled = exports2.trace = exports2.log = exports2.setLoggerVerbosity = exports2.setLogger = exports2.getLogger = void 0;
|
520
518
|
var constants_1 = require_constants();
|
521
519
|
var process_1 = __require("process");
|
522
520
|
var clientVersion = require_package().version;
|
@@ -601,20 +599,21 @@ var require_logging = __commonJS({
|
|
601
599
|
}
|
602
600
|
}
|
603
601
|
__name(trace, "trace");
|
602
|
+
exports2.trace = trace;
|
604
603
|
function isTracerEnabled(tracer) {
|
605
604
|
return !disabledTracers.has(tracer) && (allEnabled || enabledTracers.has(tracer));
|
606
605
|
}
|
607
606
|
__name(isTracerEnabled, "isTracerEnabled");
|
607
|
+
exports2.isTracerEnabled = isTracerEnabled;
|
608
608
|
}
|
609
609
|
});
|
610
610
|
|
611
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
611
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/error.js
|
612
612
|
var require_error = __commonJS({
|
613
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
613
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/error.js"(exports2) {
|
614
614
|
"use strict";
|
615
615
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
616
|
-
exports2.getErrorMessage =
|
617
|
-
exports2.getErrorCode = getErrorCode;
|
616
|
+
exports2.getErrorCode = exports2.getErrorMessage = void 0;
|
618
617
|
function getErrorMessage(error) {
|
619
618
|
if (error instanceof Error) {
|
620
619
|
return error.message;
|
@@ -623,6 +622,7 @@ var require_error = __commonJS({
|
|
623
622
|
}
|
624
623
|
}
|
625
624
|
__name(getErrorMessage, "getErrorMessage");
|
625
|
+
exports2.getErrorMessage = getErrorMessage;
|
626
626
|
function getErrorCode(error) {
|
627
627
|
if (typeof error === "object" && error !== null && "code" in error && typeof error.code === "number") {
|
628
628
|
return error.code;
|
@@ -631,12 +631,13 @@ var require_error = __commonJS({
|
|
631
631
|
}
|
632
632
|
}
|
633
633
|
__name(getErrorCode, "getErrorCode");
|
634
|
+
exports2.getErrorCode = getErrorCode;
|
634
635
|
}
|
635
636
|
});
|
636
637
|
|
637
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
638
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/metadata.js
|
638
639
|
var require_metadata = __commonJS({
|
639
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
640
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/metadata.js"(exports2) {
|
640
641
|
"use strict";
|
641
642
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
642
643
|
exports2.Metadata = void 0;
|
@@ -864,9 +865,9 @@ var require_metadata = __commonJS({
|
|
864
865
|
}
|
865
866
|
});
|
866
867
|
|
867
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
868
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call-credentials.js
|
868
869
|
var require_call_credentials = __commonJS({
|
869
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
870
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call-credentials.js"(exports2) {
|
870
871
|
"use strict";
|
871
872
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
872
873
|
exports2.CallCredentials = void 0;
|
@@ -1010,13 +1011,12 @@ var require_call_credentials = __commonJS({
|
|
1010
1011
|
}
|
1011
1012
|
});
|
1012
1013
|
|
1013
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1014
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/tls-helpers.js
|
1014
1015
|
var require_tls_helpers = __commonJS({
|
1015
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1016
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/tls-helpers.js"(exports2) {
|
1016
1017
|
"use strict";
|
1017
1018
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1018
|
-
exports2.CIPHER_SUITES = void 0;
|
1019
|
-
exports2.getDefaultRootsData = getDefaultRootsData;
|
1019
|
+
exports2.getDefaultRootsData = exports2.CIPHER_SUITES = void 0;
|
1020
1020
|
var fs = __require("fs");
|
1021
1021
|
exports2.CIPHER_SUITES = process.env.GRPC_SSL_CIPHER_SUITES;
|
1022
1022
|
var DEFAULT_ROOTS_FILE_PATH = process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;
|
@@ -1031,16 +1031,16 @@ var require_tls_helpers = __commonJS({
|
|
1031
1031
|
return null;
|
1032
1032
|
}
|
1033
1033
|
__name(getDefaultRootsData, "getDefaultRootsData");
|
1034
|
+
exports2.getDefaultRootsData = getDefaultRootsData;
|
1034
1035
|
}
|
1035
1036
|
});
|
1036
1037
|
|
1037
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1038
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channel-credentials.js
|
1038
1039
|
var require_channel_credentials = __commonJS({
|
1039
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1040
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channel-credentials.js"(exports2) {
|
1040
1041
|
"use strict";
|
1041
1042
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1042
|
-
exports2.ChannelCredentials = void 0;
|
1043
|
-
exports2.createCertificateProviderChannelCredentials = createCertificateProviderChannelCredentials;
|
1043
|
+
exports2.createCertificateProviderChannelCredentials = exports2.ChannelCredentials = void 0;
|
1044
1044
|
var tls_1 = __require("tls");
|
1045
1045
|
var call_credentials_1 = require_call_credentials();
|
1046
1046
|
var tls_helpers_1 = require_tls_helpers();
|
@@ -1257,6 +1257,7 @@ var require_channel_credentials = __commonJS({
|
|
1257
1257
|
return new CertificateProviderChannelCredentialsImpl(caCertificateProvider, identityCertificateProvider, verifyOptions !== null && verifyOptions !== void 0 ? verifyOptions : null);
|
1258
1258
|
}
|
1259
1259
|
__name(createCertificateProviderChannelCredentials, "createCertificateProviderChannelCredentials");
|
1260
|
+
exports2.createCertificateProviderChannelCredentials = createCertificateProviderChannelCredentials;
|
1260
1261
|
var ComposedChannelCredentialsImpl = class _ComposedChannelCredentialsImpl extends ChannelCredentials {
|
1261
1262
|
static {
|
1262
1263
|
__name(this, "ComposedChannelCredentialsImpl");
|
@@ -1292,19 +1293,12 @@ var require_channel_credentials = __commonJS({
|
|
1292
1293
|
}
|
1293
1294
|
});
|
1294
1295
|
|
1295
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1296
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer.js
|
1296
1297
|
var require_load_balancer = __commonJS({
|
1297
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1298
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer.js"(exports2) {
|
1298
1299
|
"use strict";
|
1299
1300
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1300
|
-
exports2.createChildChannelControlHelper =
|
1301
|
-
exports2.registerLoadBalancerType = registerLoadBalancerType;
|
1302
|
-
exports2.registerDefaultLoadBalancerType = registerDefaultLoadBalancerType;
|
1303
|
-
exports2.createLoadBalancer = createLoadBalancer;
|
1304
|
-
exports2.isLoadBalancerNameRegistered = isLoadBalancerNameRegistered;
|
1305
|
-
exports2.parseLoadBalancingConfig = parseLoadBalancingConfig;
|
1306
|
-
exports2.getDefaultConfig = getDefaultConfig;
|
1307
|
-
exports2.selectLbConfigFromList = selectLbConfigFromList;
|
1301
|
+
exports2.selectLbConfigFromList = exports2.getDefaultConfig = exports2.parseLoadBalancingConfig = exports2.isLoadBalancerNameRegistered = exports2.createLoadBalancer = exports2.registerDefaultLoadBalancerType = exports2.registerLoadBalancerType = exports2.createChildChannelControlHelper = void 0;
|
1308
1302
|
var logging_1 = require_logging();
|
1309
1303
|
var constants_1 = require_constants();
|
1310
1304
|
function createChildChannelControlHelper(parent, overrides) {
|
@@ -1318,6 +1312,7 @@ var require_load_balancer = __commonJS({
|
|
1318
1312
|
};
|
1319
1313
|
}
|
1320
1314
|
__name(createChildChannelControlHelper, "createChildChannelControlHelper");
|
1315
|
+
exports2.createChildChannelControlHelper = createChildChannelControlHelper;
|
1321
1316
|
var registeredLoadBalancerTypes = {};
|
1322
1317
|
var defaultLoadBalancerType = null;
|
1323
1318
|
function registerLoadBalancerType(typeName, loadBalancerType, loadBalancingConfigType) {
|
@@ -1327,10 +1322,12 @@ var require_load_balancer = __commonJS({
|
|
1327
1322
|
};
|
1328
1323
|
}
|
1329
1324
|
__name(registerLoadBalancerType, "registerLoadBalancerType");
|
1325
|
+
exports2.registerLoadBalancerType = registerLoadBalancerType;
|
1330
1326
|
function registerDefaultLoadBalancerType(typeName) {
|
1331
1327
|
defaultLoadBalancerType = typeName;
|
1332
1328
|
}
|
1333
1329
|
__name(registerDefaultLoadBalancerType, "registerDefaultLoadBalancerType");
|
1330
|
+
exports2.registerDefaultLoadBalancerType = registerDefaultLoadBalancerType;
|
1334
1331
|
function createLoadBalancer(config, channelControlHelper, credentials, options) {
|
1335
1332
|
const typeName = config.getLoadBalancerName();
|
1336
1333
|
if (typeName in registeredLoadBalancerTypes) {
|
@@ -1340,10 +1337,12 @@ var require_load_balancer = __commonJS({
|
|
1340
1337
|
}
|
1341
1338
|
}
|
1342
1339
|
__name(createLoadBalancer, "createLoadBalancer");
|
1340
|
+
exports2.createLoadBalancer = createLoadBalancer;
|
1343
1341
|
function isLoadBalancerNameRegistered(typeName) {
|
1344
1342
|
return typeName in registeredLoadBalancerTypes;
|
1345
1343
|
}
|
1346
1344
|
__name(isLoadBalancerNameRegistered, "isLoadBalancerNameRegistered");
|
1345
|
+
exports2.isLoadBalancerNameRegistered = isLoadBalancerNameRegistered;
|
1347
1346
|
function parseLoadBalancingConfig(rawConfig) {
|
1348
1347
|
const keys = Object.keys(rawConfig);
|
1349
1348
|
if (keys.length !== 1) {
|
@@ -1361,6 +1360,7 @@ var require_load_balancer = __commonJS({
|
|
1361
1360
|
}
|
1362
1361
|
}
|
1363
1362
|
__name(parseLoadBalancingConfig, "parseLoadBalancingConfig");
|
1363
|
+
exports2.parseLoadBalancingConfig = parseLoadBalancingConfig;
|
1364
1364
|
function getDefaultConfig() {
|
1365
1365
|
if (!defaultLoadBalancerType) {
|
1366
1366
|
throw new Error("No default load balancer type registered");
|
@@ -1368,6 +1368,7 @@ var require_load_balancer = __commonJS({
|
|
1368
1368
|
return new registeredLoadBalancerTypes[defaultLoadBalancerType].LoadBalancingConfig();
|
1369
1369
|
}
|
1370
1370
|
__name(getDefaultConfig, "getDefaultConfig");
|
1371
|
+
exports2.getDefaultConfig = getDefaultConfig;
|
1371
1372
|
function selectLbConfigFromList(configs, fallbackTodefault = false) {
|
1372
1373
|
for (const config of configs) {
|
1373
1374
|
try {
|
@@ -1388,17 +1389,16 @@ var require_load_balancer = __commonJS({
|
|
1388
1389
|
}
|
1389
1390
|
}
|
1390
1391
|
__name(selectLbConfigFromList, "selectLbConfigFromList");
|
1392
|
+
exports2.selectLbConfigFromList = selectLbConfigFromList;
|
1391
1393
|
}
|
1392
1394
|
});
|
1393
1395
|
|
1394
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1396
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/service-config.js
|
1395
1397
|
var require_service_config = __commonJS({
|
1396
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1398
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/service-config.js"(exports2) {
|
1397
1399
|
"use strict";
|
1398
1400
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1399
|
-
exports2.validateRetryThrottling =
|
1400
|
-
exports2.validateServiceConfig = validateServiceConfig;
|
1401
|
-
exports2.extractAndSelectServiceConfig = extractAndSelectServiceConfig;
|
1401
|
+
exports2.extractAndSelectServiceConfig = exports2.validateServiceConfig = exports2.validateRetryThrottling = void 0;
|
1402
1402
|
var os = __require("os");
|
1403
1403
|
var constants_1 = require_constants();
|
1404
1404
|
var DURATION_REGEX = /^\d+(\.\d{1,9})?s$/;
|
@@ -1577,6 +1577,7 @@ var require_service_config = __commonJS({
|
|
1577
1577
|
};
|
1578
1578
|
}
|
1579
1579
|
__name(validateRetryThrottling, "validateRetryThrottling");
|
1580
|
+
exports2.validateRetryThrottling = validateRetryThrottling;
|
1580
1581
|
function validateLoadBalancingConfig(obj) {
|
1581
1582
|
if (!(typeof obj === "object" && obj !== null)) {
|
1582
1583
|
throw new Error(`Invalid loadBalancingConfig: unexpected type ${typeof obj}`);
|
@@ -1638,6 +1639,7 @@ var require_service_config = __commonJS({
|
|
1638
1639
|
return result;
|
1639
1640
|
}
|
1640
1641
|
__name(validateServiceConfig, "validateServiceConfig");
|
1642
|
+
exports2.validateServiceConfig = validateServiceConfig;
|
1641
1643
|
function validateCanaryConfig(obj) {
|
1642
1644
|
if (!("serviceConfig" in obj)) {
|
1643
1645
|
throw new Error("Invalid service config choice: missing service config");
|
@@ -1741,12 +1743,13 @@ var require_service_config = __commonJS({
|
|
1741
1743
|
return null;
|
1742
1744
|
}
|
1743
1745
|
__name(extractAndSelectServiceConfig, "extractAndSelectServiceConfig");
|
1746
|
+
exports2.extractAndSelectServiceConfig = extractAndSelectServiceConfig;
|
1744
1747
|
}
|
1745
1748
|
});
|
1746
1749
|
|
1747
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1750
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/connectivity-state.js
|
1748
1751
|
var require_connectivity_state = __commonJS({
|
1749
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1752
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/connectivity-state.js"(exports2) {
|
1750
1753
|
"use strict";
|
1751
1754
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1752
1755
|
exports2.ConnectivityState = void 0;
|
@@ -1761,15 +1764,12 @@ var require_connectivity_state = __commonJS({
|
|
1761
1764
|
}
|
1762
1765
|
});
|
1763
1766
|
|
1764
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1767
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/uri-parser.js
|
1765
1768
|
var require_uri_parser = __commonJS({
|
1766
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1769
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/uri-parser.js"(exports2) {
|
1767
1770
|
"use strict";
|
1768
1771
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1769
|
-
exports2.parseUri =
|
1770
|
-
exports2.splitHostPort = splitHostPort;
|
1771
|
-
exports2.combineHostPort = combineHostPort;
|
1772
|
-
exports2.uriToString = uriToString;
|
1772
|
+
exports2.uriToString = exports2.combineHostPort = exports2.splitHostPort = exports2.parseUri = void 0;
|
1773
1773
|
var URI_REGEX = /^(?:([A-Za-z0-9+.-]+):)?(?:\/\/([^/]*)\/)?(.+)$/;
|
1774
1774
|
function parseUri(uriString) {
|
1775
1775
|
const parsedUri = URI_REGEX.exec(uriString);
|
@@ -1783,6 +1783,7 @@ var require_uri_parser = __commonJS({
|
|
1783
1783
|
};
|
1784
1784
|
}
|
1785
1785
|
__name(parseUri, "parseUri");
|
1786
|
+
exports2.parseUri = parseUri;
|
1786
1787
|
var NUMBER_REGEX = /^\d+$/;
|
1787
1788
|
function splitHostPort(path) {
|
1788
1789
|
if (path.startsWith("[")) {
|
@@ -1832,6 +1833,7 @@ var require_uri_parser = __commonJS({
|
|
1832
1833
|
}
|
1833
1834
|
}
|
1834
1835
|
__name(splitHostPort, "splitHostPort");
|
1836
|
+
exports2.splitHostPort = splitHostPort;
|
1835
1837
|
function combineHostPort(hostPort) {
|
1836
1838
|
if (hostPort.port === void 0) {
|
1837
1839
|
return hostPort.host;
|
@@ -1844,6 +1846,7 @@ var require_uri_parser = __commonJS({
|
|
1844
1846
|
}
|
1845
1847
|
}
|
1846
1848
|
__name(combineHostPort, "combineHostPort");
|
1849
|
+
exports2.combineHostPort = combineHostPort;
|
1847
1850
|
function uriToString(uri) {
|
1848
1851
|
let result = "";
|
1849
1852
|
if (uri.scheme !== void 0) {
|
@@ -1856,19 +1859,16 @@ var require_uri_parser = __commonJS({
|
|
1856
1859
|
return result;
|
1857
1860
|
}
|
1858
1861
|
__name(uriToString, "uriToString");
|
1862
|
+
exports2.uriToString = uriToString;
|
1859
1863
|
}
|
1860
1864
|
});
|
1861
1865
|
|
1862
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1866
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver.js
|
1863
1867
|
var require_resolver = __commonJS({
|
1864
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1868
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver.js"(exports2) {
|
1865
1869
|
"use strict";
|
1866
1870
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1867
|
-
exports2.registerResolver =
|
1868
|
-
exports2.registerDefaultScheme = registerDefaultScheme;
|
1869
|
-
exports2.createResolver = createResolver;
|
1870
|
-
exports2.getDefaultAuthority = getDefaultAuthority;
|
1871
|
-
exports2.mapUriDefaultScheme = mapUriDefaultScheme;
|
1871
|
+
exports2.mapUriDefaultScheme = exports2.getDefaultAuthority = exports2.createResolver = exports2.registerDefaultScheme = exports2.registerResolver = void 0;
|
1872
1872
|
var uri_parser_1 = require_uri_parser();
|
1873
1873
|
var registeredResolvers = {};
|
1874
1874
|
var defaultScheme = null;
|
@@ -1876,10 +1876,12 @@ var require_resolver = __commonJS({
|
|
1876
1876
|
registeredResolvers[scheme] = resolverClass;
|
1877
1877
|
}
|
1878
1878
|
__name(registerResolver, "registerResolver");
|
1879
|
+
exports2.registerResolver = registerResolver;
|
1879
1880
|
function registerDefaultScheme(scheme) {
|
1880
1881
|
defaultScheme = scheme;
|
1881
1882
|
}
|
1882
1883
|
__name(registerDefaultScheme, "registerDefaultScheme");
|
1884
|
+
exports2.registerDefaultScheme = registerDefaultScheme;
|
1883
1885
|
function createResolver(target, listener, options) {
|
1884
1886
|
if (target.scheme !== void 0 && target.scheme in registeredResolvers) {
|
1885
1887
|
return new registeredResolvers[target.scheme](target, listener, options);
|
@@ -1888,6 +1890,7 @@ var require_resolver = __commonJS({
|
|
1888
1890
|
}
|
1889
1891
|
}
|
1890
1892
|
__name(createResolver, "createResolver");
|
1893
|
+
exports2.createResolver = createResolver;
|
1891
1894
|
function getDefaultAuthority(target) {
|
1892
1895
|
if (target.scheme !== void 0 && target.scheme in registeredResolvers) {
|
1893
1896
|
return registeredResolvers[target.scheme].getDefaultAuthority(target);
|
@@ -1896,6 +1899,7 @@ var require_resolver = __commonJS({
|
|
1896
1899
|
}
|
1897
1900
|
}
|
1898
1901
|
__name(getDefaultAuthority, "getDefaultAuthority");
|
1902
|
+
exports2.getDefaultAuthority = getDefaultAuthority;
|
1899
1903
|
function mapUriDefaultScheme(target) {
|
1900
1904
|
if (target.scheme === void 0 || !(target.scheme in registeredResolvers)) {
|
1901
1905
|
if (defaultScheme !== null) {
|
@@ -1911,12 +1915,13 @@ var require_resolver = __commonJS({
|
|
1911
1915
|
return target;
|
1912
1916
|
}
|
1913
1917
|
__name(mapUriDefaultScheme, "mapUriDefaultScheme");
|
1918
|
+
exports2.mapUriDefaultScheme = mapUriDefaultScheme;
|
1914
1919
|
}
|
1915
1920
|
});
|
1916
1921
|
|
1917
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1922
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/picker.js
|
1918
1923
|
var require_picker = __commonJS({
|
1919
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1924
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/picker.js"(exports2) {
|
1920
1925
|
"use strict";
|
1921
1926
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1922
1927
|
exports2.QueuePicker = exports2.UnavailablePicker = exports2.PickResultType = void 0;
|
@@ -1981,9 +1986,9 @@ var require_picker = __commonJS({
|
|
1981
1986
|
}
|
1982
1987
|
});
|
1983
1988
|
|
1984
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1989
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js
|
1985
1990
|
var require_backoff_timeout = __commonJS({
|
1986
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
1991
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js"(exports2) {
|
1987
1992
|
"use strict";
|
1988
1993
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
1989
1994
|
exports2.BackoffTimeout = void 0;
|
@@ -2114,9 +2119,9 @@ var require_backoff_timeout = __commonJS({
|
|
2114
2119
|
}
|
2115
2120
|
});
|
2116
2121
|
|
2117
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2122
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js
|
2118
2123
|
var require_load_balancer_child_handler = __commonJS({
|
2119
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2124
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js"(exports2) {
|
2120
2125
|
"use strict";
|
2121
2126
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
2122
2127
|
exports2.ChildLoadBalancerHandler = void 0;
|
@@ -2249,9 +2254,9 @@ var require_load_balancer_child_handler = __commonJS({
|
|
2249
2254
|
}
|
2250
2255
|
});
|
2251
2256
|
|
2252
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2257
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js
|
2253
2258
|
var require_resolving_load_balancer = __commonJS({
|
2254
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2259
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js"(exports2) {
|
2255
2260
|
"use strict";
|
2256
2261
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
2257
2262
|
exports2.ResolvingLoadBalancer = void 0;
|
@@ -2499,13 +2504,12 @@ var require_resolving_load_balancer = __commonJS({
|
|
2499
2504
|
}
|
2500
2505
|
});
|
2501
2506
|
|
2502
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2507
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channel-options.js
|
2503
2508
|
var require_channel_options = __commonJS({
|
2504
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2509
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channel-options.js"(exports2) {
|
2505
2510
|
"use strict";
|
2506
2511
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
2507
|
-
exports2.recognizedOptions = void 0;
|
2508
|
-
exports2.channelOptionsEqual = channelOptionsEqual;
|
2512
|
+
exports2.channelOptionsEqual = exports2.recognizedOptions = void 0;
|
2509
2513
|
exports2.recognizedOptions = {
|
2510
2514
|
"grpc.ssl_target_name_override": true,
|
2511
2515
|
"grpc.primary_user_agent": true,
|
@@ -2553,27 +2557,22 @@ var require_channel_options = __commonJS({
|
|
2553
2557
|
return true;
|
2554
2558
|
}
|
2555
2559
|
__name(channelOptionsEqual, "channelOptionsEqual");
|
2560
|
+
exports2.channelOptionsEqual = channelOptionsEqual;
|
2556
2561
|
}
|
2557
2562
|
});
|
2558
2563
|
|
2559
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2564
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-address.js
|
2560
2565
|
var require_subchannel_address = __commonJS({
|
2561
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
2566
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-address.js"(exports2) {
|
2562
2567
|
"use strict";
|
2563
2568
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
2564
|
-
exports2.EndpointMap = void 0;
|
2565
|
-
exports2.isTcpSubchannelAddress = isTcpSubchannelAddress;
|
2566
|
-
exports2.subchannelAddressEqual = subchannelAddressEqual;
|
2567
|
-
exports2.subchannelAddressToString = subchannelAddressToString;
|
2568
|
-
exports2.stringToSubchannelAddress = stringToSubchannelAddress;
|
2569
|
-
exports2.endpointEqual = endpointEqual;
|
2570
|
-
exports2.endpointToString = endpointToString;
|
2571
|
-
exports2.endpointHasAddress = endpointHasAddress;
|
2569
|
+
exports2.EndpointMap = exports2.endpointHasAddress = exports2.endpointToString = exports2.endpointEqual = exports2.stringToSubchannelAddress = exports2.subchannelAddressToString = exports2.subchannelAddressEqual = exports2.isTcpSubchannelAddress = void 0;
|
2572
2570
|
var net_1 = __require("net");
|
2573
2571
|
function isTcpSubchannelAddress(address) {
|
2574
2572
|
return "port" in address;
|
2575
2573
|
}
|
2576
2574
|
__name(isTcpSubchannelAddress, "isTcpSubchannelAddress");
|
2575
|
+
exports2.isTcpSubchannelAddress = isTcpSubchannelAddress;
|
2577
2576
|
function subchannelAddressEqual(address1, address2) {
|
2578
2577
|
if (!address1 && !address2) {
|
2579
2578
|
return true;
|
@@ -2588,6 +2587,7 @@ var require_subchannel_address = __commonJS({
|
|
2588
2587
|
}
|
2589
2588
|
}
|
2590
2589
|
__name(subchannelAddressEqual, "subchannelAddressEqual");
|
2590
|
+
exports2.subchannelAddressEqual = subchannelAddressEqual;
|
2591
2591
|
function subchannelAddressToString(address) {
|
2592
2592
|
if (isTcpSubchannelAddress(address)) {
|
2593
2593
|
if ((0, net_1.isIPv6)(address.host)) {
|
@@ -2600,6 +2600,7 @@ var require_subchannel_address = __commonJS({
|
|
2600
2600
|
}
|
2601
2601
|
}
|
2602
2602
|
__name(subchannelAddressToString, "subchannelAddressToString");
|
2603
|
+
exports2.subchannelAddressToString = subchannelAddressToString;
|
2603
2604
|
var DEFAULT_PORT = 443;
|
2604
2605
|
function stringToSubchannelAddress(addressString, port) {
|
2605
2606
|
if ((0, net_1.isIP)(addressString)) {
|
@@ -2614,6 +2615,7 @@ var require_subchannel_address = __commonJS({
|
|
2614
2615
|
}
|
2615
2616
|
}
|
2616
2617
|
__name(stringToSubchannelAddress, "stringToSubchannelAddress");
|
2618
|
+
exports2.stringToSubchannelAddress = stringToSubchannelAddress;
|
2617
2619
|
function endpointEqual(endpoint1, endpoint2) {
|
2618
2620
|
if (endpoint1.addresses.length !== endpoint2.addresses.length) {
|
2619
2621
|
return false;
|
@@ -2626,10 +2628,12 @@ var require_subchannel_address = __commonJS({
|
|
2626
2628
|
return true;
|
2627
2629
|
}
|
2628
2630
|
__name(endpointEqual, "endpointEqual");
|
2631
|
+
exports2.endpointEqual = endpointEqual;
|
2629
2632
|
function endpointToString(endpoint) {
|
2630
2633
|
return "[" + endpoint.addresses.map(subchannelAddressToString).join(", ") + "]";
|
2631
2634
|
}
|
2632
2635
|
__name(endpointToString, "endpointToString");
|
2636
|
+
exports2.endpointToString = endpointToString;
|
2633
2637
|
function endpointHasAddress(endpoint, expectedAddress) {
|
2634
2638
|
for (const address of endpoint.addresses) {
|
2635
2639
|
if (subchannelAddressEqual(address, expectedAddress)) {
|
@@ -2639,6 +2643,7 @@ var require_subchannel_address = __commonJS({
|
|
2639
2643
|
return false;
|
2640
2644
|
}
|
2641
2645
|
__name(endpointHasAddress, "endpointHasAddress");
|
2646
|
+
exports2.endpointHasAddress = endpointHasAddress;
|
2642
2647
|
function endpointEqualUnordered(endpoint1, endpoint2) {
|
2643
2648
|
if (endpoint1.addresses.length !== endpoint2.addresses.length) {
|
2644
2649
|
return false;
|
@@ -3731,34 +3736,34 @@ var init_esm = __esm({
|
|
3731
3736
|
}
|
3732
3737
|
});
|
3733
3738
|
|
3734
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3739
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/admin.js
|
3735
3740
|
var require_admin = __commonJS({
|
3736
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3741
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/admin.js"(exports2) {
|
3737
3742
|
"use strict";
|
3738
3743
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
3739
|
-
exports2.registerAdminService =
|
3740
|
-
exports2.addAdminServicesToServer = addAdminServicesToServer;
|
3744
|
+
exports2.addAdminServicesToServer = exports2.registerAdminService = void 0;
|
3741
3745
|
var registeredAdminServices = [];
|
3742
3746
|
function registerAdminService(getServiceDefinition, getHandlers) {
|
3743
3747
|
registeredAdminServices.push({ getServiceDefinition, getHandlers });
|
3744
3748
|
}
|
3745
3749
|
__name(registerAdminService, "registerAdminService");
|
3750
|
+
exports2.registerAdminService = registerAdminService;
|
3746
3751
|
function addAdminServicesToServer(server) {
|
3747
3752
|
for (const { getServiceDefinition, getHandlers } of registeredAdminServices) {
|
3748
3753
|
server.addService(getServiceDefinition(), getHandlers());
|
3749
3754
|
}
|
3750
3755
|
}
|
3751
3756
|
__name(addAdminServicesToServer, "addAdminServicesToServer");
|
3757
|
+
exports2.addAdminServicesToServer = addAdminServicesToServer;
|
3752
3758
|
}
|
3753
3759
|
});
|
3754
3760
|
|
3755
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3761
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call.js
|
3756
3762
|
var require_call = __commonJS({
|
3757
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3763
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call.js"(exports2) {
|
3758
3764
|
"use strict";
|
3759
3765
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
3760
|
-
exports2.ClientDuplexStreamImpl = exports2.ClientWritableStreamImpl = exports2.ClientReadableStreamImpl = exports2.ClientUnaryCallImpl = void 0;
|
3761
|
-
exports2.callErrorFromStatus = callErrorFromStatus;
|
3766
|
+
exports2.ClientDuplexStreamImpl = exports2.ClientWritableStreamImpl = exports2.ClientReadableStreamImpl = exports2.ClientUnaryCallImpl = exports2.callErrorFromStatus = void 0;
|
3762
3767
|
var events_1 = __require("events");
|
3763
3768
|
var stream_1 = __require("stream");
|
3764
3769
|
var constants_1 = require_constants();
|
@@ -3771,6 +3776,7 @@ ${callerStack}`;
|
|
3771
3776
|
return Object.assign(new Error(message), status, { stack });
|
3772
3777
|
}
|
3773
3778
|
__name(callErrorFromStatus, "callErrorFromStatus");
|
3779
|
+
exports2.callErrorFromStatus = callErrorFromStatus;
|
3774
3780
|
var ClientUnaryCallImpl = class extends events_1.EventEmitter {
|
3775
3781
|
static {
|
3776
3782
|
__name(this, "ClientUnaryCallImpl");
|
@@ -3886,17 +3892,17 @@ ${callerStack}`;
|
|
3886
3892
|
}
|
3887
3893
|
});
|
3888
3894
|
|
3889
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3895
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call-interface.js
|
3890
3896
|
var require_call_interface = __commonJS({
|
3891
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3897
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call-interface.js"(exports2) {
|
3892
3898
|
"use strict";
|
3893
3899
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
3894
|
-
exports2.InterceptingListenerImpl = void 0;
|
3895
|
-
exports2.isInterceptingListener = isInterceptingListener;
|
3900
|
+
exports2.InterceptingListenerImpl = exports2.isInterceptingListener = void 0;
|
3896
3901
|
function isInterceptingListener(listener) {
|
3897
3902
|
return listener.onReceiveMetadata !== void 0 && listener.onReceiveMetadata.length === 1;
|
3898
3903
|
}
|
3899
3904
|
__name(isInterceptingListener, "isInterceptingListener");
|
3905
|
+
exports2.isInterceptingListener = isInterceptingListener;
|
3900
3906
|
var InterceptingListenerImpl = class {
|
3901
3907
|
static {
|
3902
3908
|
__name(this, "InterceptingListenerImpl");
|
@@ -3958,13 +3964,12 @@ var require_call_interface = __commonJS({
|
|
3958
3964
|
}
|
3959
3965
|
});
|
3960
3966
|
|
3961
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3967
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/client-interceptors.js
|
3962
3968
|
var require_client_interceptors = __commonJS({
|
3963
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
3969
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/client-interceptors.js"(exports2) {
|
3964
3970
|
"use strict";
|
3965
3971
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
3966
|
-
exports2.InterceptingCall = exports2.RequesterBuilder = exports2.ListenerBuilder = exports2.InterceptorConfigurationError = void 0;
|
3967
|
-
exports2.getInterceptingCall = getInterceptingCall;
|
3972
|
+
exports2.getInterceptingCall = exports2.InterceptingCall = exports2.RequesterBuilder = exports2.ListenerBuilder = exports2.InterceptorConfigurationError = void 0;
|
3968
3973
|
var metadata_1 = require_metadata();
|
3969
3974
|
var call_interface_1 = require_call_interface();
|
3970
3975
|
var constants_1 = require_constants();
|
@@ -4326,12 +4331,13 @@ var require_client_interceptors = __commonJS({
|
|
4326
4331
|
return getCall2(interceptorOptions);
|
4327
4332
|
}
|
4328
4333
|
__name(getInterceptingCall, "getInterceptingCall");
|
4334
|
+
exports2.getInterceptingCall = getInterceptingCall;
|
4329
4335
|
}
|
4330
4336
|
});
|
4331
4337
|
|
4332
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
4338
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/client.js
|
4333
4339
|
var require_client = __commonJS({
|
4334
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
4340
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/client.js"(exports2) {
|
4335
4341
|
"use strict";
|
4336
4342
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
4337
4343
|
exports2.Client = void 0;
|
@@ -4708,13 +4714,12 @@ var require_client = __commonJS({
|
|
4708
4714
|
}
|
4709
4715
|
});
|
4710
4716
|
|
4711
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
4717
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/make-client.js
|
4712
4718
|
var require_make_client = __commonJS({
|
4713
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
4719
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/make-client.js"(exports2) {
|
4714
4720
|
"use strict";
|
4715
4721
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
4716
|
-
exports2.makeClientConstructor =
|
4717
|
-
exports2.loadPackageDefinition = loadPackageDefinition;
|
4722
|
+
exports2.loadPackageDefinition = exports2.makeClientConstructor = void 0;
|
4718
4723
|
var client_1 = require_client();
|
4719
4724
|
var requesterFuncs = {
|
4720
4725
|
unary: client_1.Client.prototype.makeUnaryRequest,
|
@@ -4771,6 +4776,7 @@ var require_make_client = __commonJS({
|
|
4771
4776
|
return ServiceClientImpl;
|
4772
4777
|
}
|
4773
4778
|
__name(makeClientConstructor, "makeClientConstructor");
|
4779
|
+
exports2.makeClientConstructor = makeClientConstructor;
|
4774
4780
|
function partial(fn, path, serialize, deserialize) {
|
4775
4781
|
return function(...args) {
|
4776
4782
|
return fn.call(this, path, serialize, deserialize, ...args);
|
@@ -4808,6 +4814,7 @@ var require_make_client = __commonJS({
|
|
4808
4814
|
return result;
|
4809
4815
|
}
|
4810
4816
|
__name(loadPackageDefinition, "loadPackageDefinition");
|
4817
|
+
exports2.loadPackageDefinition = loadPackageDefinition;
|
4811
4818
|
}
|
4812
4819
|
});
|
4813
4820
|
|
@@ -5724,9 +5731,9 @@ var require_pool = __commonJS({
|
|
5724
5731
|
}
|
5725
5732
|
});
|
5726
5733
|
|
5727
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
5734
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/util/longbits.js
|
5728
5735
|
var require_longbits = __commonJS({
|
5729
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
5736
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/util/longbits.js"(exports2, module2) {
|
5730
5737
|
"use strict";
|
5731
5738
|
module2.exports = LongBits;
|
5732
5739
|
var util = require_minimal();
|
@@ -5827,9 +5834,9 @@ var require_longbits = __commonJS({
|
|
5827
5834
|
}
|
5828
5835
|
});
|
5829
5836
|
|
5830
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
5837
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/util/minimal.js
|
5831
5838
|
var require_minimal = __commonJS({
|
5832
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
5839
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/util/minimal.js"(exports2) {
|
5833
5840
|
"use strict";
|
5834
5841
|
var util = exports2;
|
5835
5842
|
util.asPromise = require_aspromise();
|
@@ -6005,9 +6012,9 @@ var require_minimal = __commonJS({
|
|
6005
6012
|
}
|
6006
6013
|
});
|
6007
6014
|
|
6008
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6015
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/writer.js
|
6009
6016
|
var require_writer = __commonJS({
|
6010
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6017
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/writer.js"(exports2, module2) {
|
6011
6018
|
"use strict";
|
6012
6019
|
module2.exports = Writer;
|
6013
6020
|
var util = require_minimal();
|
@@ -6205,9 +6212,9 @@ var require_writer = __commonJS({
|
|
6205
6212
|
}
|
6206
6213
|
});
|
6207
6214
|
|
6208
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6215
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/writer_buffer.js
|
6209
6216
|
var require_writer_buffer = __commonJS({
|
6210
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6217
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/writer_buffer.js"(exports2, module2) {
|
6211
6218
|
"use strict";
|
6212
6219
|
module2.exports = BufferWriter;
|
6213
6220
|
var Writer = require_writer();
|
@@ -6257,9 +6264,9 @@ var require_writer_buffer = __commonJS({
|
|
6257
6264
|
}
|
6258
6265
|
});
|
6259
6266
|
|
6260
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6267
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/reader.js
|
6261
6268
|
var require_reader = __commonJS({
|
6262
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6269
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/reader.js"(exports2, module2) {
|
6263
6270
|
"use strict";
|
6264
6271
|
module2.exports = Reader;
|
6265
6272
|
var util = require_minimal();
|
@@ -6486,9 +6493,9 @@ var require_reader = __commonJS({
|
|
6486
6493
|
}
|
6487
6494
|
});
|
6488
6495
|
|
6489
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6496
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/reader_buffer.js
|
6490
6497
|
var require_reader_buffer = __commonJS({
|
6491
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6498
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/reader_buffer.js"(exports2, module2) {
|
6492
6499
|
"use strict";
|
6493
6500
|
module2.exports = BufferReader;
|
6494
6501
|
var Reader = require_reader();
|
@@ -6510,9 +6517,9 @@ var require_reader_buffer = __commonJS({
|
|
6510
6517
|
}
|
6511
6518
|
});
|
6512
6519
|
|
6513
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6520
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/rpc/service.js
|
6514
6521
|
var require_service = __commonJS({
|
6515
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6522
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/rpc/service.js"(exports2, module2) {
|
6516
6523
|
"use strict";
|
6517
6524
|
module2.exports = Service;
|
6518
6525
|
var util = require_minimal();
|
@@ -6586,26 +6593,26 @@ var require_service = __commonJS({
|
|
6586
6593
|
}
|
6587
6594
|
});
|
6588
6595
|
|
6589
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6596
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/rpc.js
|
6590
6597
|
var require_rpc = __commonJS({
|
6591
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6598
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/rpc.js"(exports2) {
|
6592
6599
|
"use strict";
|
6593
6600
|
var rpc = exports2;
|
6594
6601
|
rpc.Service = require_service();
|
6595
6602
|
}
|
6596
6603
|
});
|
6597
6604
|
|
6598
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6605
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/roots.js
|
6599
6606
|
var require_roots = __commonJS({
|
6600
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6607
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/roots.js"(exports2, module2) {
|
6601
6608
|
"use strict";
|
6602
6609
|
module2.exports = {};
|
6603
6610
|
}
|
6604
6611
|
});
|
6605
6612
|
|
6606
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6613
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/index-minimal.js
|
6607
6614
|
var require_index_minimal = __commonJS({
|
6608
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6615
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/index-minimal.js"(exports2) {
|
6609
6616
|
"use strict";
|
6610
6617
|
var protobuf = exports2;
|
6611
6618
|
protobuf.build = "minimal";
|
@@ -6798,9 +6805,9 @@ var require_path = __commonJS({
|
|
6798
6805
|
}
|
6799
6806
|
});
|
6800
6807
|
|
6801
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6808
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/types.js
|
6802
6809
|
var require_types = __commonJS({
|
6803
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6810
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/types.js"(exports2) {
|
6804
6811
|
"use strict";
|
6805
6812
|
var types = exports2;
|
6806
6813
|
var util = require_util();
|
@@ -6978,9 +6985,9 @@ var require_types = __commonJS({
|
|
6978
6985
|
}
|
6979
6986
|
});
|
6980
6987
|
|
6981
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
6988
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/field.js
|
6982
6989
|
var require_field = __commonJS({
|
6983
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
6990
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/field.js"(exports2, module2) {
|
6984
6991
|
"use strict";
|
6985
6992
|
module2.exports = Field;
|
6986
6993
|
var ReflectionObject = require_object();
|
@@ -7128,9 +7135,9 @@ var require_field = __commonJS({
|
|
7128
7135
|
}
|
7129
7136
|
});
|
7130
7137
|
|
7131
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7138
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/oneof.js
|
7132
7139
|
var require_oneof = __commonJS({
|
7133
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7140
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/oneof.js"(exports2, module2) {
|
7134
7141
|
"use strict";
|
7135
7142
|
module2.exports = OneOf;
|
7136
7143
|
var ReflectionObject = require_object();
|
@@ -7229,9 +7236,9 @@ var require_oneof = __commonJS({
|
|
7229
7236
|
}
|
7230
7237
|
});
|
7231
7238
|
|
7232
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7239
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/namespace.js
|
7233
7240
|
var require_namespace = __commonJS({
|
7234
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7241
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/namespace.js"(exports2, module2) {
|
7235
7242
|
"use strict";
|
7236
7243
|
module2.exports = Namespace;
|
7237
7244
|
var ReflectionObject = require_object();
|
@@ -7442,9 +7449,9 @@ var require_namespace = __commonJS({
|
|
7442
7449
|
}
|
7443
7450
|
});
|
7444
7451
|
|
7445
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7452
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/mapfield.js
|
7446
7453
|
var require_mapfield = __commonJS({
|
7447
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7454
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/mapfield.js"(exports2, module2) {
|
7448
7455
|
"use strict";
|
7449
7456
|
module2.exports = MapField;
|
7450
7457
|
var Field = require_field();
|
@@ -7499,9 +7506,9 @@ var require_mapfield = __commonJS({
|
|
7499
7506
|
}
|
7500
7507
|
});
|
7501
7508
|
|
7502
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7509
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/method.js
|
7503
7510
|
var require_method = __commonJS({
|
7504
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7511
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/method.js"(exports2, module2) {
|
7505
7512
|
"use strict";
|
7506
7513
|
module2.exports = Method;
|
7507
7514
|
var ReflectionObject = require_object();
|
@@ -7568,9 +7575,9 @@ var require_method = __commonJS({
|
|
7568
7575
|
}
|
7569
7576
|
});
|
7570
7577
|
|
7571
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7578
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/service.js
|
7572
7579
|
var require_service2 = __commonJS({
|
7573
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7580
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/service.js"(exports2, module2) {
|
7574
7581
|
"use strict";
|
7575
7582
|
module2.exports = Service;
|
7576
7583
|
var Namespace = require_namespace();
|
@@ -7664,9 +7671,9 @@ var require_service2 = __commonJS({
|
|
7664
7671
|
}
|
7665
7672
|
});
|
7666
7673
|
|
7667
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7674
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/message.js
|
7668
7675
|
var require_message = __commonJS({
|
7669
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7676
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/message.js"(exports2, module2) {
|
7670
7677
|
"use strict";
|
7671
7678
|
module2.exports = Message;
|
7672
7679
|
var util = require_minimal();
|
@@ -7706,9 +7713,9 @@ var require_message = __commonJS({
|
|
7706
7713
|
}
|
7707
7714
|
});
|
7708
7715
|
|
7709
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7716
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/decoder.js
|
7710
7717
|
var require_decoder = __commonJS({
|
7711
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7718
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/decoder.js"(exports2, module2) {
|
7712
7719
|
"use strict";
|
7713
7720
|
module2.exports = decoder;
|
7714
7721
|
var Enum = require_enum();
|
@@ -7761,9 +7768,9 @@ var require_decoder = __commonJS({
|
|
7761
7768
|
}
|
7762
7769
|
});
|
7763
7770
|
|
7764
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7771
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/verifier.js
|
7765
7772
|
var require_verifier = __commonJS({
|
7766
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7773
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/verifier.js"(exports2, module2) {
|
7767
7774
|
"use strict";
|
7768
7775
|
module2.exports = verifier;
|
7769
7776
|
var Enum = require_enum();
|
@@ -7870,9 +7877,9 @@ var require_verifier = __commonJS({
|
|
7870
7877
|
}
|
7871
7878
|
});
|
7872
7879
|
|
7873
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
7880
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/converter.js
|
7874
7881
|
var require_converter = __commonJS({
|
7875
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
7882
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/converter.js"(exports2) {
|
7876
7883
|
"use strict";
|
7877
7884
|
var converter = exports2;
|
7878
7885
|
var Enum = require_enum();
|
@@ -8076,9 +8083,9 @@ var require_converter = __commonJS({
|
|
8076
8083
|
}
|
8077
8084
|
});
|
8078
8085
|
|
8079
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
8086
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/wrappers.js
|
8080
8087
|
var require_wrappers = __commonJS({
|
8081
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
8088
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/wrappers.js"(exports2) {
|
8082
8089
|
"use strict";
|
8083
8090
|
var wrappers = exports2;
|
8084
8091
|
var Message = require_message();
|
@@ -8127,9 +8134,9 @@ var require_wrappers = __commonJS({
|
|
8127
8134
|
}
|
8128
8135
|
});
|
8129
8136
|
|
8130
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
8137
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/type.js
|
8131
8138
|
var require_type = __commonJS({
|
8132
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
8139
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/type.js"(exports2, module2) {
|
8133
8140
|
"use strict";
|
8134
8141
|
module2.exports = Type;
|
8135
8142
|
var Namespace = require_namespace();
|
@@ -8446,9 +8453,9 @@ var require_type = __commonJS({
|
|
8446
8453
|
}
|
8447
8454
|
});
|
8448
8455
|
|
8449
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
8456
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/root.js
|
8450
8457
|
var require_root = __commonJS({
|
8451
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
8458
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/root.js"(exports2, module2) {
|
8452
8459
|
"use strict";
|
8453
8460
|
module2.exports = Root;
|
8454
8461
|
var Namespace = require_namespace();
|
@@ -8682,9 +8689,9 @@ var require_root = __commonJS({
|
|
8682
8689
|
}
|
8683
8690
|
});
|
8684
8691
|
|
8685
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
8692
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/util.js
|
8686
8693
|
var require_util = __commonJS({
|
8687
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
8694
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/util.js"(exports2, module2) {
|
8688
8695
|
"use strict";
|
8689
8696
|
var util = module2.exports = require_minimal();
|
8690
8697
|
var roots = require_roots();
|
@@ -8795,9 +8802,9 @@ var require_util = __commonJS({
|
|
8795
8802
|
}
|
8796
8803
|
});
|
8797
8804
|
|
8798
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
8805
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/object.js
|
8799
8806
|
var require_object = __commonJS({
|
8800
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
8807
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/object.js"(exports2, module2) {
|
8801
8808
|
"use strict";
|
8802
8809
|
module2.exports = ReflectionObject;
|
8803
8810
|
ReflectionObject.className = "ReflectionObject";
|
@@ -8928,9 +8935,9 @@ var require_object = __commonJS({
|
|
8928
8935
|
}
|
8929
8936
|
});
|
8930
8937
|
|
8931
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
8938
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/enum.js
|
8932
8939
|
var require_enum = __commonJS({
|
8933
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
8940
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/enum.js"(exports2, module2) {
|
8934
8941
|
"use strict";
|
8935
8942
|
module2.exports = Enum;
|
8936
8943
|
var ReflectionObject = require_object();
|
@@ -9023,9 +9030,9 @@ var require_enum = __commonJS({
|
|
9023
9030
|
}
|
9024
9031
|
});
|
9025
9032
|
|
9026
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
9033
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/encoder.js
|
9027
9034
|
var require_encoder = __commonJS({
|
9028
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
9035
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/encoder.js"(exports2, module2) {
|
9029
9036
|
"use strict";
|
9030
9037
|
module2.exports = encoder;
|
9031
9038
|
var Enum = require_enum();
|
@@ -9074,9 +9081,9 @@ var require_encoder = __commonJS({
|
|
9074
9081
|
}
|
9075
9082
|
});
|
9076
9083
|
|
9077
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
9084
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/index-light.js
|
9078
9085
|
var require_index_light = __commonJS({
|
9079
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
9086
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/index-light.js"(exports2, module2) {
|
9080
9087
|
"use strict";
|
9081
9088
|
var protobuf = module2.exports = require_index_minimal();
|
9082
9089
|
protobuf.build = "light";
|
@@ -9122,9 +9129,9 @@ var require_index_light = __commonJS({
|
|
9122
9129
|
}
|
9123
9130
|
});
|
9124
9131
|
|
9125
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
9132
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/tokenize.js
|
9126
9133
|
var require_tokenize = __commonJS({
|
9127
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
9134
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/tokenize.js"(exports2, module2) {
|
9128
9135
|
"use strict";
|
9129
9136
|
module2.exports = tokenize;
|
9130
9137
|
var delimRe = /[\s{}=;:[\],'"()<>]/g;
|
@@ -9382,9 +9389,9 @@ var require_tokenize = __commonJS({
|
|
9382
9389
|
}
|
9383
9390
|
});
|
9384
9391
|
|
9385
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
9392
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/parse.js
|
9386
9393
|
var require_parse = __commonJS({
|
9387
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
9394
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/parse.js"(exports2, module2) {
|
9388
9395
|
"use strict";
|
9389
9396
|
module2.exports = parse;
|
9390
9397
|
parse.filename = null;
|
@@ -9584,7 +9591,6 @@ var require_parse = __commonJS({
|
|
9584
9591
|
isProto3 = syntax === "proto3";
|
9585
9592
|
if (!isProto3 && syntax !== "proto2")
|
9586
9593
|
throw illegal(syntax, "syntax");
|
9587
|
-
root.setOption("syntax", syntax);
|
9588
9594
|
skip(";");
|
9589
9595
|
}
|
9590
9596
|
__name(parseSyntax, "parseSyntax");
|
@@ -10055,9 +10061,9 @@ var require_parse = __commonJS({
|
|
10055
10061
|
}
|
10056
10062
|
});
|
10057
10063
|
|
10058
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
10064
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/common.js
|
10059
10065
|
var require_common = __commonJS({
|
10060
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
10066
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/common.js"(exports2, module2) {
|
10061
10067
|
"use strict";
|
10062
10068
|
module2.exports = common;
|
10063
10069
|
var commonRe = /\/|\./;
|
@@ -10388,9 +10394,9 @@ var require_common = __commonJS({
|
|
10388
10394
|
}
|
10389
10395
|
});
|
10390
10396
|
|
10391
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
10397
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/index.js
|
10392
10398
|
var require_src = __commonJS({
|
10393
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
10399
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/src/index.js"(exports2, module2) {
|
10394
10400
|
"use strict";
|
10395
10401
|
var protobuf = module2.exports = require_index_light();
|
10396
10402
|
protobuf.build = "full";
|
@@ -10401,17 +10407,17 @@ var require_src = __commonJS({
|
|
10401
10407
|
}
|
10402
10408
|
});
|
10403
10409
|
|
10404
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
10410
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/index.js
|
10405
10411
|
var require_protobufjs = __commonJS({
|
10406
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
10412
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/index.js"(exports2, module2) {
|
10407
10413
|
"use strict";
|
10408
10414
|
module2.exports = require_src();
|
10409
10415
|
}
|
10410
10416
|
});
|
10411
10417
|
|
10412
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
10418
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/descriptor.json
|
10413
10419
|
var require_descriptor = __commonJS({
|
10414
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
10420
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/descriptor.json"(exports2, module2) {
|
10415
10421
|
module2.exports = {
|
10416
10422
|
nested: {
|
10417
10423
|
google: {
|
@@ -11154,9 +11160,9 @@ var require_descriptor = __commonJS({
|
|
11154
11160
|
}
|
11155
11161
|
});
|
11156
11162
|
|
11157
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
11163
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/ext/descriptor/index.js
|
11158
11164
|
var require_descriptor2 = __commonJS({
|
11159
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
11165
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/ext/descriptor/index.js"(exports2, module2) {
|
11160
11166
|
"use strict";
|
11161
11167
|
var $protobuf = require_protobufjs();
|
11162
11168
|
module2.exports = exports2 = $protobuf.descriptor = $protobuf.Root.fromJSON(require_descriptor()).lookup(".google.protobuf");
|
@@ -11681,9 +11687,9 @@ var require_descriptor2 = __commonJS({
|
|
11681
11687
|
}
|
11682
11688
|
});
|
11683
11689
|
|
11684
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
11690
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/api.json
|
11685
11691
|
var require_api = __commonJS({
|
11686
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
11692
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/api.json"(exports2, module2) {
|
11687
11693
|
module2.exports = {
|
11688
11694
|
nested: {
|
11689
11695
|
google: {
|
@@ -11805,9 +11811,9 @@ var require_api = __commonJS({
|
|
11805
11811
|
}
|
11806
11812
|
});
|
11807
11813
|
|
11808
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
11814
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/source_context.json
|
11809
11815
|
var require_source_context = __commonJS({
|
11810
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
11816
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/source_context.json"(exports2, module2) {
|
11811
11817
|
module2.exports = {
|
11812
11818
|
nested: {
|
11813
11819
|
google: {
|
@@ -11831,9 +11837,9 @@ var require_source_context = __commonJS({
|
|
11831
11837
|
}
|
11832
11838
|
});
|
11833
11839
|
|
11834
|
-
// ../../node_modules/.pnpm/protobufjs@7.
|
11840
|
+
// ../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/type.json
|
11835
11841
|
var require_type2 = __commonJS({
|
11836
|
-
"../../node_modules/.pnpm/protobufjs@7.
|
11842
|
+
"../../node_modules/.pnpm/protobufjs@7.3.2/node_modules/protobufjs/google/protobuf/type.json"(exports2, module2) {
|
11837
11843
|
module2.exports = {
|
11838
11844
|
nested: {
|
11839
11845
|
google: {
|
@@ -12113,991 +12119,525 @@ var require_util2 = __commonJS({
|
|
12113
12119
|
}
|
12114
12120
|
});
|
12115
12121
|
|
12116
|
-
// ../../node_modules/.pnpm/long@5.3
|
12122
|
+
// ../../node_modules/.pnpm/long@5.2.3/node_modules/long/umd/index.js
|
12117
12123
|
var require_umd = __commonJS({
|
12118
|
-
"../../node_modules/.pnpm/long@5.3
|
12124
|
+
"../../node_modules/.pnpm/long@5.2.3/node_modules/long/umd/index.js"(exports2, module2) {
|
12119
12125
|
"use strict";
|
12120
|
-
|
12121
|
-
|
12122
|
-
|
12123
|
-
|
12124
|
-
|
12125
|
-
|
12126
|
-
|
12127
|
-
|
12128
|
-
|
12129
|
-
|
12130
|
-
|
12131
|
-
|
12132
|
-
|
12133
|
-
|
12134
|
-
|
12135
|
-
|
12136
|
-
|
12137
|
-
|
12138
|
-
|
12139
|
-
|
12140
|
-
}
|
12141
|
-
|
12142
|
-
|
12143
|
-
|
12144
|
-
|
12145
|
-
|
12146
|
-
|
12147
|
-
|
12148
|
-
|
12149
|
-
|
12150
|
-
|
12151
|
-
|
12152
|
-
|
12153
|
-
|
12154
|
-
|
12155
|
-
|
12156
|
-
|
12157
|
-
|
12158
|
-
|
12159
|
-
|
12160
|
-
|
12161
|
-
|
12162
|
-
|
12163
|
-
|
12164
|
-
|
12165
|
-
|
12166
|
-
|
12167
|
-
|
12168
|
-
|
12169
|
-
|
12170
|
-
|
12171
|
-
|
12172
|
-
|
12173
|
-
|
12174
|
-
|
12175
|
-
|
12176
|
-
|
12177
|
-
|
12178
|
-
|
12179
|
-
|
12180
|
-
|
12181
|
-
|
12182
|
-
|
12183
|
-
|
12184
|
-
|
12185
|
-
|
12186
|
-
|
12187
|
-
|
12188
|
-
|
12189
|
-
|
12190
|
-
|
12191
|
-
|
12192
|
-
|
12193
|
-
|
12194
|
-
|
12195
|
-
|
12196
|
-
|
12197
|
-
|
12198
|
-
|
12199
|
-
|
12200
|
-
|
12201
|
-
|
12202
|
-
|
12203
|
-
|
12204
|
-
|
12205
|
-
|
12206
|
-
|
12207
|
-
|
12208
|
-
|
12209
|
-
|
12210
|
-
|
12211
|
-
|
12212
|
-
|
12213
|
-
|
12214
|
-
|
12215
|
-
|
12216
|
-
|
12217
|
-
|
12218
|
-
|
12219
|
-
|
12220
|
-
5,
|
12221
|
-
100,
|
12222
|
-
105,
|
12223
|
-
118,
|
12224
|
-
95,
|
12225
|
-
115,
|
12226
|
-
0,
|
12227
|
-
2,
|
12228
|
-
// 2, "div_u"
|
12229
|
-
5,
|
12230
|
-
100,
|
12231
|
-
105,
|
12232
|
-
118,
|
12233
|
-
95,
|
12234
|
-
117,
|
12235
|
-
0,
|
12236
|
-
3,
|
12237
|
-
// 3, "rem_s"
|
12238
|
-
5,
|
12239
|
-
114,
|
12240
|
-
101,
|
12241
|
-
109,
|
12242
|
-
95,
|
12243
|
-
115,
|
12244
|
-
0,
|
12245
|
-
4,
|
12246
|
-
// 4, "rem_u"
|
12247
|
-
5,
|
12248
|
-
114,
|
12249
|
-
101,
|
12250
|
-
109,
|
12251
|
-
95,
|
12252
|
-
117,
|
12253
|
-
0,
|
12254
|
-
5,
|
12255
|
-
// 5, "get_high"
|
12256
|
-
8,
|
12257
|
-
103,
|
12258
|
-
101,
|
12259
|
-
116,
|
12260
|
-
95,
|
12261
|
-
104,
|
12262
|
-
105,
|
12263
|
-
103,
|
12264
|
-
104,
|
12265
|
-
0,
|
12266
|
-
0,
|
12267
|
-
// section "code"
|
12268
|
-
10,
|
12269
|
-
191,
|
12270
|
-
1,
|
12271
|
-
6,
|
12272
|
-
// 0, "get_high"
|
12273
|
-
4,
|
12274
|
-
0,
|
12275
|
-
35,
|
12276
|
-
0,
|
12277
|
-
11,
|
12278
|
-
// 1, "mul"
|
12279
|
-
36,
|
12280
|
-
1,
|
12281
|
-
1,
|
12282
|
-
126,
|
12283
|
-
32,
|
12284
|
-
0,
|
12285
|
-
173,
|
12286
|
-
32,
|
12287
|
-
1,
|
12288
|
-
173,
|
12289
|
-
66,
|
12290
|
-
32,
|
12291
|
-
134,
|
12292
|
-
132,
|
12293
|
-
32,
|
12294
|
-
2,
|
12295
|
-
173,
|
12296
|
-
32,
|
12297
|
-
3,
|
12298
|
-
173,
|
12299
|
-
66,
|
12300
|
-
32,
|
12301
|
-
134,
|
12302
|
-
132,
|
12303
|
-
126,
|
12304
|
-
34,
|
12305
|
-
4,
|
12306
|
-
66,
|
12307
|
-
32,
|
12308
|
-
135,
|
12309
|
-
167,
|
12310
|
-
36,
|
12311
|
-
0,
|
12312
|
-
32,
|
12313
|
-
4,
|
12314
|
-
167,
|
12315
|
-
11,
|
12316
|
-
// 2, "div_s"
|
12317
|
-
36,
|
12318
|
-
1,
|
12319
|
-
1,
|
12320
|
-
126,
|
12321
|
-
32,
|
12322
|
-
0,
|
12323
|
-
173,
|
12324
|
-
32,
|
12325
|
-
1,
|
12326
|
-
173,
|
12327
|
-
66,
|
12328
|
-
32,
|
12329
|
-
134,
|
12330
|
-
132,
|
12331
|
-
32,
|
12332
|
-
2,
|
12333
|
-
173,
|
12334
|
-
32,
|
12335
|
-
3,
|
12336
|
-
173,
|
12337
|
-
66,
|
12338
|
-
32,
|
12339
|
-
134,
|
12340
|
-
132,
|
12341
|
-
127,
|
12342
|
-
34,
|
12343
|
-
4,
|
12344
|
-
66,
|
12345
|
-
32,
|
12346
|
-
135,
|
12347
|
-
167,
|
12348
|
-
36,
|
12349
|
-
0,
|
12350
|
-
32,
|
12351
|
-
4,
|
12352
|
-
167,
|
12353
|
-
11,
|
12354
|
-
// 3, "div_u"
|
12355
|
-
36,
|
12356
|
-
1,
|
12357
|
-
1,
|
12358
|
-
126,
|
12359
|
-
32,
|
12360
|
-
0,
|
12361
|
-
173,
|
12362
|
-
32,
|
12363
|
-
1,
|
12364
|
-
173,
|
12365
|
-
66,
|
12366
|
-
32,
|
12367
|
-
134,
|
12368
|
-
132,
|
12369
|
-
32,
|
12370
|
-
2,
|
12371
|
-
173,
|
12372
|
-
32,
|
12373
|
-
3,
|
12374
|
-
173,
|
12375
|
-
66,
|
12376
|
-
32,
|
12377
|
-
134,
|
12378
|
-
132,
|
12379
|
-
128,
|
12380
|
-
34,
|
12381
|
-
4,
|
12382
|
-
66,
|
12383
|
-
32,
|
12384
|
-
135,
|
12385
|
-
167,
|
12386
|
-
36,
|
12387
|
-
0,
|
12388
|
-
32,
|
12389
|
-
4,
|
12390
|
-
167,
|
12391
|
-
11,
|
12392
|
-
// 4, "rem_s"
|
12393
|
-
36,
|
12394
|
-
1,
|
12395
|
-
1,
|
12396
|
-
126,
|
12397
|
-
32,
|
12398
|
-
0,
|
12399
|
-
173,
|
12400
|
-
32,
|
12401
|
-
1,
|
12402
|
-
173,
|
12403
|
-
66,
|
12404
|
-
32,
|
12405
|
-
134,
|
12406
|
-
132,
|
12407
|
-
32,
|
12408
|
-
2,
|
12409
|
-
173,
|
12410
|
-
32,
|
12411
|
-
3,
|
12412
|
-
173,
|
12413
|
-
66,
|
12414
|
-
32,
|
12415
|
-
134,
|
12416
|
-
132,
|
12417
|
-
129,
|
12418
|
-
34,
|
12419
|
-
4,
|
12420
|
-
66,
|
12421
|
-
32,
|
12422
|
-
135,
|
12423
|
-
167,
|
12424
|
-
36,
|
12425
|
-
0,
|
12426
|
-
32,
|
12427
|
-
4,
|
12428
|
-
167,
|
12429
|
-
11,
|
12430
|
-
// 5, "rem_u"
|
12431
|
-
36,
|
12432
|
-
1,
|
12433
|
-
1,
|
12434
|
-
126,
|
12435
|
-
32,
|
12436
|
-
0,
|
12437
|
-
173,
|
12438
|
-
32,
|
12439
|
-
1,
|
12440
|
-
173,
|
12441
|
-
66,
|
12442
|
-
32,
|
12443
|
-
134,
|
12444
|
-
132,
|
12445
|
-
32,
|
12446
|
-
2,
|
12447
|
-
173,
|
12448
|
-
32,
|
12449
|
-
3,
|
12450
|
-
173,
|
12451
|
-
66,
|
12452
|
-
32,
|
12453
|
-
134,
|
12454
|
-
132,
|
12455
|
-
130,
|
12456
|
-
34,
|
12457
|
-
4,
|
12458
|
-
66,
|
12459
|
-
32,
|
12460
|
-
135,
|
12461
|
-
167,
|
12462
|
-
36,
|
12463
|
-
0,
|
12464
|
-
32,
|
12465
|
-
4,
|
12466
|
-
167,
|
12467
|
-
11
|
12468
|
-
])
|
12469
|
-
),
|
12470
|
-
{}
|
12471
|
-
).exports;
|
12472
|
-
} catch {
|
12473
|
-
}
|
12474
|
-
function Long(low, high, unsigned) {
|
12475
|
-
this.low = low | 0;
|
12476
|
-
this.high = high | 0;
|
12477
|
-
this.unsigned = !!unsigned;
|
12478
|
-
}
|
12479
|
-
__name(Long, "Long");
|
12480
|
-
Long.prototype.__isLong__;
|
12481
|
-
Object.defineProperty(Long.prototype, "__isLong__", {
|
12482
|
-
value: true
|
12483
|
-
});
|
12484
|
-
function isLong(obj) {
|
12485
|
-
return (obj && obj["__isLong__"]) === true;
|
12486
|
-
}
|
12487
|
-
__name(isLong, "isLong");
|
12488
|
-
function ctz32(value) {
|
12489
|
-
var c = Math.clz32(value & -value);
|
12490
|
-
return value ? 31 - c : c;
|
12491
|
-
}
|
12492
|
-
__name(ctz32, "ctz32");
|
12493
|
-
Long.isLong = isLong;
|
12494
|
-
var INT_CACHE = {};
|
12495
|
-
var UINT_CACHE = {};
|
12496
|
-
function fromInt(value, unsigned) {
|
12497
|
-
var obj, cachedObj, cache;
|
12498
|
-
if (unsigned) {
|
12499
|
-
value >>>= 0;
|
12500
|
-
if (cache = 0 <= value && value < 256) {
|
12501
|
-
cachedObj = UINT_CACHE[value];
|
12502
|
-
if (cachedObj) return cachedObj;
|
12503
|
-
}
|
12504
|
-
obj = fromBits(value, 0, true);
|
12505
|
-
if (cache) UINT_CACHE[value] = obj;
|
12506
|
-
return obj;
|
12507
|
-
} else {
|
12508
|
-
value |= 0;
|
12509
|
-
if (cache = -128 <= value && value < 128) {
|
12510
|
-
cachedObj = INT_CACHE[value];
|
12511
|
-
if (cachedObj) return cachedObj;
|
12512
|
-
}
|
12513
|
-
obj = fromBits(value, value < 0 ? -1 : 0, false);
|
12514
|
-
if (cache) INT_CACHE[value] = obj;
|
12515
|
-
return obj;
|
12516
|
-
}
|
12517
|
-
}
|
12518
|
-
__name(fromInt, "fromInt");
|
12519
|
-
Long.fromInt = fromInt;
|
12520
|
-
function fromNumber(value, unsigned) {
|
12521
|
-
if (isNaN(value)) return unsigned ? UZERO : ZERO;
|
12522
|
-
if (unsigned) {
|
12523
|
-
if (value < 0) return UZERO;
|
12524
|
-
if (value >= TWO_PWR_64_DBL) return MAX_UNSIGNED_VALUE;
|
12126
|
+
var Long = function(exports3) {
|
12127
|
+
"use strict";
|
12128
|
+
Object.defineProperty(exports3, "__esModule", {
|
12129
|
+
value: true
|
12130
|
+
});
|
12131
|
+
exports3.default = void 0;
|
12132
|
+
var wasm = null;
|
12133
|
+
try {
|
12134
|
+
wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11])), {}).exports;
|
12135
|
+
} catch (e) {
|
12136
|
+
}
|
12137
|
+
function Long2(low, high, unsigned) {
|
12138
|
+
this.low = low | 0;
|
12139
|
+
this.high = high | 0;
|
12140
|
+
this.unsigned = !!unsigned;
|
12141
|
+
}
|
12142
|
+
__name(Long2, "Long");
|
12143
|
+
Long2.prototype.__isLong__;
|
12144
|
+
Object.defineProperty(Long2.prototype, "__isLong__", {
|
12145
|
+
value: true
|
12146
|
+
});
|
12147
|
+
function isLong(obj) {
|
12148
|
+
return (obj && obj["__isLong__"]) === true;
|
12149
|
+
}
|
12150
|
+
__name(isLong, "isLong");
|
12151
|
+
function ctz32(value) {
|
12152
|
+
var c = Math.clz32(value & -value);
|
12153
|
+
return value ? 31 - c : c;
|
12154
|
+
}
|
12155
|
+
__name(ctz32, "ctz32");
|
12156
|
+
Long2.isLong = isLong;
|
12157
|
+
var INT_CACHE = {};
|
12158
|
+
var UINT_CACHE = {};
|
12159
|
+
function fromInt(value, unsigned) {
|
12160
|
+
var obj, cachedObj, cache;
|
12161
|
+
if (unsigned) {
|
12162
|
+
value >>>= 0;
|
12163
|
+
if (cache = 0 <= value && value < 256) {
|
12164
|
+
cachedObj = UINT_CACHE[value];
|
12165
|
+
if (cachedObj) return cachedObj;
|
12166
|
+
}
|
12167
|
+
obj = fromBits(value, 0, true);
|
12168
|
+
if (cache) UINT_CACHE[value] = obj;
|
12169
|
+
return obj;
|
12170
|
+
} else {
|
12171
|
+
value |= 0;
|
12172
|
+
if (cache = -128 <= value && value < 128) {
|
12173
|
+
cachedObj = INT_CACHE[value];
|
12174
|
+
if (cachedObj) return cachedObj;
|
12175
|
+
}
|
12176
|
+
obj = fromBits(value, value < 0 ? -1 : 0, false);
|
12177
|
+
if (cache) INT_CACHE[value] = obj;
|
12178
|
+
return obj;
|
12179
|
+
}
|
12180
|
+
}
|
12181
|
+
__name(fromInt, "fromInt");
|
12182
|
+
Long2.fromInt = fromInt;
|
12183
|
+
function fromNumber(value, unsigned) {
|
12184
|
+
if (isNaN(value)) return unsigned ? UZERO : ZERO;
|
12185
|
+
if (unsigned) {
|
12186
|
+
if (value < 0) return UZERO;
|
12187
|
+
if (value >= TWO_PWR_64_DBL) return MAX_UNSIGNED_VALUE;
|
12188
|
+
} else {
|
12189
|
+
if (value <= -TWO_PWR_63_DBL) return MIN_VALUE;
|
12190
|
+
if (value + 1 >= TWO_PWR_63_DBL) return MAX_VALUE;
|
12191
|
+
}
|
12192
|
+
if (value < 0) return fromNumber(-value, unsigned).neg();
|
12193
|
+
return fromBits(value % TWO_PWR_32_DBL | 0, value / TWO_PWR_32_DBL | 0, unsigned);
|
12194
|
+
}
|
12195
|
+
__name(fromNumber, "fromNumber");
|
12196
|
+
Long2.fromNumber = fromNumber;
|
12197
|
+
function fromBits(lowBits, highBits, unsigned) {
|
12198
|
+
return new Long2(lowBits, highBits, unsigned);
|
12199
|
+
}
|
12200
|
+
__name(fromBits, "fromBits");
|
12201
|
+
Long2.fromBits = fromBits;
|
12202
|
+
var pow_dbl = Math.pow;
|
12203
|
+
function fromString(str, unsigned, radix) {
|
12204
|
+
if (str.length === 0) throw Error("empty string");
|
12205
|
+
if (typeof unsigned === "number") {
|
12206
|
+
radix = unsigned;
|
12207
|
+
unsigned = false;
|
12208
|
+
} else {
|
12209
|
+
unsigned = !!unsigned;
|
12210
|
+
}
|
12211
|
+
if (str === "NaN" || str === "Infinity" || str === "+Infinity" || str === "-Infinity") return unsigned ? UZERO : ZERO;
|
12212
|
+
radix = radix || 10;
|
12213
|
+
if (radix < 2 || 36 < radix) throw RangeError("radix");
|
12214
|
+
var p;
|
12215
|
+
if ((p = str.indexOf("-")) > 0) throw Error("interior hyphen");
|
12216
|
+
else if (p === 0) {
|
12217
|
+
return fromString(str.substring(1), unsigned, radix).neg();
|
12218
|
+
}
|
12219
|
+
var radixToPower = fromNumber(pow_dbl(radix, 8));
|
12220
|
+
var result = ZERO;
|
12221
|
+
for (var i = 0; i < str.length; i += 8) {
|
12222
|
+
var size = Math.min(8, str.length - i), value = parseInt(str.substring(i, i + size), radix);
|
12223
|
+
if (size < 8) {
|
12224
|
+
var power = fromNumber(pow_dbl(radix, size));
|
12225
|
+
result = result.mul(power).add(fromNumber(value));
|
12525
12226
|
} else {
|
12526
|
-
|
12527
|
-
|
12528
|
-
}
|
12529
|
-
if (value < 0) return fromNumber(-value, unsigned).neg();
|
12530
|
-
return fromBits(
|
12531
|
-
value % TWO_PWR_32_DBL | 0,
|
12532
|
-
value / TWO_PWR_32_DBL | 0,
|
12533
|
-
unsigned
|
12534
|
-
);
|
12227
|
+
result = result.mul(radixToPower);
|
12228
|
+
result = result.add(fromNumber(value));
|
12229
|
+
}
|
12535
12230
|
}
|
12536
|
-
|
12537
|
-
|
12538
|
-
|
12539
|
-
|
12540
|
-
|
12541
|
-
|
12542
|
-
|
12543
|
-
|
12544
|
-
|
12545
|
-
|
12546
|
-
|
12547
|
-
|
12548
|
-
|
12549
|
-
|
12550
|
-
|
12551
|
-
|
12552
|
-
|
12553
|
-
|
12554
|
-
|
12555
|
-
|
12556
|
-
|
12557
|
-
|
12558
|
-
|
12559
|
-
|
12560
|
-
|
12561
|
-
|
12562
|
-
|
12563
|
-
|
12564
|
-
|
12565
|
-
|
12566
|
-
|
12567
|
-
|
12568
|
-
|
12569
|
-
|
12570
|
-
|
12571
|
-
|
12231
|
+
result.unsigned = unsigned;
|
12232
|
+
return result;
|
12233
|
+
}
|
12234
|
+
__name(fromString, "fromString");
|
12235
|
+
Long2.fromString = fromString;
|
12236
|
+
function fromValue(val, unsigned) {
|
12237
|
+
if (typeof val === "number") return fromNumber(val, unsigned);
|
12238
|
+
if (typeof val === "string") return fromString(val, unsigned);
|
12239
|
+
return fromBits(val.low, val.high, typeof unsigned === "boolean" ? unsigned : val.unsigned);
|
12240
|
+
}
|
12241
|
+
__name(fromValue, "fromValue");
|
12242
|
+
Long2.fromValue = fromValue;
|
12243
|
+
var TWO_PWR_16_DBL = 1 << 16;
|
12244
|
+
var TWO_PWR_24_DBL = 1 << 24;
|
12245
|
+
var TWO_PWR_32_DBL = TWO_PWR_16_DBL * TWO_PWR_16_DBL;
|
12246
|
+
var TWO_PWR_64_DBL = TWO_PWR_32_DBL * TWO_PWR_32_DBL;
|
12247
|
+
var TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2;
|
12248
|
+
var TWO_PWR_24 = fromInt(TWO_PWR_24_DBL);
|
12249
|
+
var ZERO = fromInt(0);
|
12250
|
+
Long2.ZERO = ZERO;
|
12251
|
+
var UZERO = fromInt(0, true);
|
12252
|
+
Long2.UZERO = UZERO;
|
12253
|
+
var ONE = fromInt(1);
|
12254
|
+
Long2.ONE = ONE;
|
12255
|
+
var UONE = fromInt(1, true);
|
12256
|
+
Long2.UONE = UONE;
|
12257
|
+
var NEG_ONE = fromInt(-1);
|
12258
|
+
Long2.NEG_ONE = NEG_ONE;
|
12259
|
+
var MAX_VALUE = fromBits(4294967295 | 0, 2147483647 | 0, false);
|
12260
|
+
Long2.MAX_VALUE = MAX_VALUE;
|
12261
|
+
var MAX_UNSIGNED_VALUE = fromBits(4294967295 | 0, 4294967295 | 0, true);
|
12262
|
+
Long2.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE;
|
12263
|
+
var MIN_VALUE = fromBits(0, 2147483648 | 0, false);
|
12264
|
+
Long2.MIN_VALUE = MIN_VALUE;
|
12265
|
+
var LongPrototype = Long2.prototype;
|
12266
|
+
LongPrototype.toInt = /* @__PURE__ */ __name(function toInt() {
|
12267
|
+
return this.unsigned ? this.low >>> 0 : this.low;
|
12268
|
+
}, "toInt");
|
12269
|
+
LongPrototype.toNumber = /* @__PURE__ */ __name(function toNumber() {
|
12270
|
+
if (this.unsigned) return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0);
|
12271
|
+
return this.high * TWO_PWR_32_DBL + (this.low >>> 0);
|
12272
|
+
}, "toNumber");
|
12273
|
+
LongPrototype.toString = /* @__PURE__ */ __name(function toString(radix) {
|
12274
|
+
radix = radix || 10;
|
12275
|
+
if (radix < 2 || 36 < radix) throw RangeError("radix");
|
12276
|
+
if (this.isZero()) return "0";
|
12277
|
+
if (this.isNegative()) {
|
12278
|
+
if (this.eq(MIN_VALUE)) {
|
12279
|
+
var radixLong = fromNumber(radix), div = this.div(radixLong), rem1 = div.mul(radixLong).sub(this);
|
12280
|
+
return div.toString(radix) + rem1.toInt().toString(radix);
|
12281
|
+
} else return "-" + this.neg().toString(radix);
|
12282
|
+
}
|
12283
|
+
var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned), rem = this;
|
12284
|
+
var result = "";
|
12285
|
+
while (true) {
|
12286
|
+
var remDiv = rem.div(radixToPower), intval = rem.sub(remDiv.mul(radixToPower)).toInt() >>> 0, digits = intval.toString(radix);
|
12287
|
+
rem = remDiv;
|
12288
|
+
if (rem.isZero()) return digits + result;
|
12289
|
+
else {
|
12290
|
+
while (digits.length < 6) digits = "0" + digits;
|
12291
|
+
result = "" + digits + result;
|
12292
|
+
}
|
12293
|
+
}
|
12294
|
+
}, "toString");
|
12295
|
+
LongPrototype.getHighBits = /* @__PURE__ */ __name(function getHighBits() {
|
12296
|
+
return this.high;
|
12297
|
+
}, "getHighBits");
|
12298
|
+
LongPrototype.getHighBitsUnsigned = /* @__PURE__ */ __name(function getHighBitsUnsigned() {
|
12299
|
+
return this.high >>> 0;
|
12300
|
+
}, "getHighBitsUnsigned");
|
12301
|
+
LongPrototype.getLowBits = /* @__PURE__ */ __name(function getLowBits() {
|
12302
|
+
return this.low;
|
12303
|
+
}, "getLowBits");
|
12304
|
+
LongPrototype.getLowBitsUnsigned = /* @__PURE__ */ __name(function getLowBitsUnsigned() {
|
12305
|
+
return this.low >>> 0;
|
12306
|
+
}, "getLowBitsUnsigned");
|
12307
|
+
LongPrototype.getNumBitsAbs = /* @__PURE__ */ __name(function getNumBitsAbs() {
|
12308
|
+
if (this.isNegative())
|
12309
|
+
return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs();
|
12310
|
+
var val = this.high != 0 ? this.high : this.low;
|
12311
|
+
for (var bit = 31; bit > 0; bit--) if ((val & 1 << bit) != 0) break;
|
12312
|
+
return this.high != 0 ? bit + 33 : bit + 1;
|
12313
|
+
}, "getNumBitsAbs");
|
12314
|
+
LongPrototype.isZero = /* @__PURE__ */ __name(function isZero() {
|
12315
|
+
return this.high === 0 && this.low === 0;
|
12316
|
+
}, "isZero");
|
12317
|
+
LongPrototype.eqz = LongPrototype.isZero;
|
12318
|
+
LongPrototype.isNegative = /* @__PURE__ */ __name(function isNegative() {
|
12319
|
+
return !this.unsigned && this.high < 0;
|
12320
|
+
}, "isNegative");
|
12321
|
+
LongPrototype.isPositive = /* @__PURE__ */ __name(function isPositive() {
|
12322
|
+
return this.unsigned || this.high >= 0;
|
12323
|
+
}, "isPositive");
|
12324
|
+
LongPrototype.isOdd = /* @__PURE__ */ __name(function isOdd() {
|
12325
|
+
return (this.low & 1) === 1;
|
12326
|
+
}, "isOdd");
|
12327
|
+
LongPrototype.isEven = /* @__PURE__ */ __name(function isEven() {
|
12328
|
+
return (this.low & 1) === 0;
|
12329
|
+
}, "isEven");
|
12330
|
+
LongPrototype.equals = /* @__PURE__ */ __name(function equals(other) {
|
12331
|
+
if (!isLong(other)) other = fromValue(other);
|
12332
|
+
if (this.unsigned !== other.unsigned && this.high >>> 31 === 1 && other.high >>> 31 === 1) return false;
|
12333
|
+
return this.high === other.high && this.low === other.low;
|
12334
|
+
}, "equals");
|
12335
|
+
LongPrototype.eq = LongPrototype.equals;
|
12336
|
+
LongPrototype.notEquals = /* @__PURE__ */ __name(function notEquals(other) {
|
12337
|
+
return !this.eq(
|
12338
|
+
/* validates */
|
12339
|
+
other
|
12340
|
+
);
|
12341
|
+
}, "notEquals");
|
12342
|
+
LongPrototype.neq = LongPrototype.notEquals;
|
12343
|
+
LongPrototype.ne = LongPrototype.notEquals;
|
12344
|
+
LongPrototype.lessThan = /* @__PURE__ */ __name(function lessThan(other) {
|
12345
|
+
return this.comp(
|
12346
|
+
/* validates */
|
12347
|
+
other
|
12348
|
+
) < 0;
|
12349
|
+
}, "lessThan");
|
12350
|
+
LongPrototype.lt = LongPrototype.lessThan;
|
12351
|
+
LongPrototype.lessThanOrEqual = /* @__PURE__ */ __name(function lessThanOrEqual(other) {
|
12352
|
+
return this.comp(
|
12353
|
+
/* validates */
|
12354
|
+
other
|
12355
|
+
) <= 0;
|
12356
|
+
}, "lessThanOrEqual");
|
12357
|
+
LongPrototype.lte = LongPrototype.lessThanOrEqual;
|
12358
|
+
LongPrototype.le = LongPrototype.lessThanOrEqual;
|
12359
|
+
LongPrototype.greaterThan = /* @__PURE__ */ __name(function greaterThan(other) {
|
12360
|
+
return this.comp(
|
12361
|
+
/* validates */
|
12362
|
+
other
|
12363
|
+
) > 0;
|
12364
|
+
}, "greaterThan");
|
12365
|
+
LongPrototype.gt = LongPrototype.greaterThan;
|
12366
|
+
LongPrototype.greaterThanOrEqual = /* @__PURE__ */ __name(function greaterThanOrEqual(other) {
|
12367
|
+
return this.comp(
|
12368
|
+
/* validates */
|
12369
|
+
other
|
12370
|
+
) >= 0;
|
12371
|
+
}, "greaterThanOrEqual");
|
12372
|
+
LongPrototype.gte = LongPrototype.greaterThanOrEqual;
|
12373
|
+
LongPrototype.ge = LongPrototype.greaterThanOrEqual;
|
12374
|
+
LongPrototype.compare = /* @__PURE__ */ __name(function compare(other) {
|
12375
|
+
if (!isLong(other)) other = fromValue(other);
|
12376
|
+
if (this.eq(other)) return 0;
|
12377
|
+
var thisNeg = this.isNegative(), otherNeg = other.isNegative();
|
12378
|
+
if (thisNeg && !otherNeg) return -1;
|
12379
|
+
if (!thisNeg && otherNeg) return 1;
|
12380
|
+
if (!this.unsigned) return this.sub(other).isNegative() ? -1 : 1;
|
12381
|
+
return other.high >>> 0 > this.high >>> 0 || other.high === this.high && other.low >>> 0 > this.low >>> 0 ? -1 : 1;
|
12382
|
+
}, "compare");
|
12383
|
+
LongPrototype.comp = LongPrototype.compare;
|
12384
|
+
LongPrototype.negate = /* @__PURE__ */ __name(function negate() {
|
12385
|
+
if (!this.unsigned && this.eq(MIN_VALUE)) return MIN_VALUE;
|
12386
|
+
return this.not().add(ONE);
|
12387
|
+
}, "negate");
|
12388
|
+
LongPrototype.neg = LongPrototype.negate;
|
12389
|
+
LongPrototype.add = /* @__PURE__ */ __name(function add(addend) {
|
12390
|
+
if (!isLong(addend)) addend = fromValue(addend);
|
12391
|
+
var a48 = this.high >>> 16;
|
12392
|
+
var a32 = this.high & 65535;
|
12393
|
+
var a16 = this.low >>> 16;
|
12394
|
+
var a00 = this.low & 65535;
|
12395
|
+
var b48 = addend.high >>> 16;
|
12396
|
+
var b32 = addend.high & 65535;
|
12397
|
+
var b16 = addend.low >>> 16;
|
12398
|
+
var b00 = addend.low & 65535;
|
12399
|
+
var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
|
12400
|
+
c00 += a00 + b00;
|
12401
|
+
c16 += c00 >>> 16;
|
12402
|
+
c00 &= 65535;
|
12403
|
+
c16 += a16 + b16;
|
12404
|
+
c32 += c16 >>> 16;
|
12405
|
+
c16 &= 65535;
|
12406
|
+
c32 += a32 + b32;
|
12407
|
+
c48 += c32 >>> 16;
|
12408
|
+
c32 &= 65535;
|
12409
|
+
c48 += a48 + b48;
|
12410
|
+
c48 &= 65535;
|
12411
|
+
return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);
|
12412
|
+
}, "add");
|
12413
|
+
LongPrototype.subtract = /* @__PURE__ */ __name(function subtract(subtrahend) {
|
12414
|
+
if (!isLong(subtrahend)) subtrahend = fromValue(subtrahend);
|
12415
|
+
return this.add(subtrahend.neg());
|
12416
|
+
}, "subtract");
|
12417
|
+
LongPrototype.sub = LongPrototype.subtract;
|
12418
|
+
LongPrototype.multiply = /* @__PURE__ */ __name(function multiply(multiplier) {
|
12419
|
+
if (this.isZero()) return this;
|
12420
|
+
if (!isLong(multiplier)) multiplier = fromValue(multiplier);
|
12421
|
+
if (wasm) {
|
12422
|
+
var low = wasm["mul"](this.low, this.high, multiplier.low, multiplier.high);
|
12423
|
+
return fromBits(low, wasm["get_high"](), this.unsigned);
|
12424
|
+
}
|
12425
|
+
if (multiplier.isZero()) return this.unsigned ? UZERO : ZERO;
|
12426
|
+
if (this.eq(MIN_VALUE)) return multiplier.isOdd() ? MIN_VALUE : ZERO;
|
12427
|
+
if (multiplier.eq(MIN_VALUE)) return this.isOdd() ? MIN_VALUE : ZERO;
|
12428
|
+
if (this.isNegative()) {
|
12429
|
+
if (multiplier.isNegative()) return this.neg().mul(multiplier.neg());
|
12430
|
+
else return this.neg().mul(multiplier).neg();
|
12431
|
+
} else if (multiplier.isNegative()) return this.mul(multiplier.neg()).neg();
|
12432
|
+
if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24)) return fromNumber(this.toNumber() * multiplier.toNumber(), this.unsigned);
|
12433
|
+
var a48 = this.high >>> 16;
|
12434
|
+
var a32 = this.high & 65535;
|
12435
|
+
var a16 = this.low >>> 16;
|
12436
|
+
var a00 = this.low & 65535;
|
12437
|
+
var b48 = multiplier.high >>> 16;
|
12438
|
+
var b32 = multiplier.high & 65535;
|
12439
|
+
var b16 = multiplier.low >>> 16;
|
12440
|
+
var b00 = multiplier.low & 65535;
|
12441
|
+
var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
|
12442
|
+
c00 += a00 * b00;
|
12443
|
+
c16 += c00 >>> 16;
|
12444
|
+
c00 &= 65535;
|
12445
|
+
c16 += a16 * b00;
|
12446
|
+
c32 += c16 >>> 16;
|
12447
|
+
c16 &= 65535;
|
12448
|
+
c16 += a00 * b16;
|
12449
|
+
c32 += c16 >>> 16;
|
12450
|
+
c16 &= 65535;
|
12451
|
+
c32 += a32 * b00;
|
12452
|
+
c48 += c32 >>> 16;
|
12453
|
+
c32 &= 65535;
|
12454
|
+
c32 += a16 * b16;
|
12455
|
+
c48 += c32 >>> 16;
|
12456
|
+
c32 &= 65535;
|
12457
|
+
c32 += a00 * b32;
|
12458
|
+
c48 += c32 >>> 16;
|
12459
|
+
c32 &= 65535;
|
12460
|
+
c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48;
|
12461
|
+
c48 &= 65535;
|
12462
|
+
return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);
|
12463
|
+
}, "multiply");
|
12464
|
+
LongPrototype.mul = LongPrototype.multiply;
|
12465
|
+
LongPrototype.divide = /* @__PURE__ */ __name(function divide(divisor) {
|
12466
|
+
if (!isLong(divisor)) divisor = fromValue(divisor);
|
12467
|
+
if (divisor.isZero()) throw Error("division by zero");
|
12468
|
+
if (wasm) {
|
12469
|
+
if (!this.unsigned && this.high === -2147483648 && divisor.low === -1 && divisor.high === -1) {
|
12470
|
+
return this;
|
12572
12471
|
}
|
12573
|
-
|
12574
|
-
return
|
12575
|
-
}
|
12576
|
-
__name(fromString, "fromString");
|
12577
|
-
Long.fromString = fromString;
|
12578
|
-
function fromValue(val, unsigned) {
|
12579
|
-
if (typeof val === "number") return fromNumber(val, unsigned);
|
12580
|
-
if (typeof val === "string") return fromString(val, unsigned);
|
12581
|
-
return fromBits(
|
12582
|
-
val.low,
|
12583
|
-
val.high,
|
12584
|
-
typeof unsigned === "boolean" ? unsigned : val.unsigned
|
12585
|
-
);
|
12472
|
+
var low = (this.unsigned ? wasm["div_u"] : wasm["div_s"])(this.low, this.high, divisor.low, divisor.high);
|
12473
|
+
return fromBits(low, wasm["get_high"](), this.unsigned);
|
12586
12474
|
}
|
12587
|
-
|
12588
|
-
|
12589
|
-
|
12590
|
-
|
12591
|
-
|
12592
|
-
|
12593
|
-
var TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2;
|
12594
|
-
var TWO_PWR_24 = fromInt(TWO_PWR_24_DBL);
|
12595
|
-
var ZERO = fromInt(0);
|
12596
|
-
Long.ZERO = ZERO;
|
12597
|
-
var UZERO = fromInt(0, true);
|
12598
|
-
Long.UZERO = UZERO;
|
12599
|
-
var ONE = fromInt(1);
|
12600
|
-
Long.ONE = ONE;
|
12601
|
-
var UONE = fromInt(1, true);
|
12602
|
-
Long.UONE = UONE;
|
12603
|
-
var NEG_ONE = fromInt(-1);
|
12604
|
-
Long.NEG_ONE = NEG_ONE;
|
12605
|
-
var MAX_VALUE = fromBits(4294967295 | 0, 2147483647 | 0, false);
|
12606
|
-
Long.MAX_VALUE = MAX_VALUE;
|
12607
|
-
var MAX_UNSIGNED_VALUE = fromBits(4294967295 | 0, 4294967295 | 0, true);
|
12608
|
-
Long.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE;
|
12609
|
-
var MIN_VALUE = fromBits(0, 2147483648 | 0, false);
|
12610
|
-
Long.MIN_VALUE = MIN_VALUE;
|
12611
|
-
var LongPrototype = Long.prototype;
|
12612
|
-
LongPrototype.toInt = /* @__PURE__ */ __name(function toInt() {
|
12613
|
-
return this.unsigned ? this.low >>> 0 : this.low;
|
12614
|
-
}, "toInt");
|
12615
|
-
LongPrototype.toNumber = /* @__PURE__ */ __name(function toNumber() {
|
12616
|
-
if (this.unsigned)
|
12617
|
-
return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0);
|
12618
|
-
return this.high * TWO_PWR_32_DBL + (this.low >>> 0);
|
12619
|
-
}, "toNumber");
|
12620
|
-
LongPrototype.toString = /* @__PURE__ */ __name(function toString(radix) {
|
12621
|
-
radix = radix || 10;
|
12622
|
-
if (radix < 2 || 36 < radix) throw RangeError("radix");
|
12623
|
-
if (this.isZero()) return "0";
|
12624
|
-
if (this.isNegative()) {
|
12625
|
-
if (this.eq(MIN_VALUE)) {
|
12626
|
-
var radixLong = fromNumber(radix), div = this.div(radixLong), rem1 = div.mul(radixLong).sub(this);
|
12627
|
-
return div.toString(radix) + rem1.toInt().toString(radix);
|
12628
|
-
} else return "-" + this.neg().toString(radix);
|
12629
|
-
}
|
12630
|
-
var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned), rem = this;
|
12631
|
-
var result = "";
|
12632
|
-
while (true) {
|
12633
|
-
var remDiv = rem.div(radixToPower), intval = rem.sub(remDiv.mul(radixToPower)).toInt() >>> 0, digits = intval.toString(radix);
|
12634
|
-
rem = remDiv;
|
12635
|
-
if (rem.isZero()) return digits + result;
|
12475
|
+
if (this.isZero()) return this.unsigned ? UZERO : ZERO;
|
12476
|
+
var approx, rem, res;
|
12477
|
+
if (!this.unsigned) {
|
12478
|
+
if (this.eq(MIN_VALUE)) {
|
12479
|
+
if (divisor.eq(ONE) || divisor.eq(NEG_ONE)) return MIN_VALUE;
|
12480
|
+
else if (divisor.eq(MIN_VALUE)) return ONE;
|
12636
12481
|
else {
|
12637
|
-
|
12638
|
-
|
12639
|
-
|
12640
|
-
|
12641
|
-
|
12642
|
-
|
12643
|
-
|
12644
|
-
|
12645
|
-
LongPrototype.getHighBitsUnsigned = /* @__PURE__ */ __name(function getHighBitsUnsigned() {
|
12646
|
-
return this.high >>> 0;
|
12647
|
-
}, "getHighBitsUnsigned");
|
12648
|
-
LongPrototype.getLowBits = /* @__PURE__ */ __name(function getLowBits() {
|
12649
|
-
return this.low;
|
12650
|
-
}, "getLowBits");
|
12651
|
-
LongPrototype.getLowBitsUnsigned = /* @__PURE__ */ __name(function getLowBitsUnsigned() {
|
12652
|
-
return this.low >>> 0;
|
12653
|
-
}, "getLowBitsUnsigned");
|
12654
|
-
LongPrototype.getNumBitsAbs = /* @__PURE__ */ __name(function getNumBitsAbs() {
|
12655
|
-
if (this.isNegative())
|
12656
|
-
return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs();
|
12657
|
-
var val = this.high != 0 ? this.high : this.low;
|
12658
|
-
for (var bit = 31; bit > 0; bit--) if ((val & 1 << bit) != 0) break;
|
12659
|
-
return this.high != 0 ? bit + 33 : bit + 1;
|
12660
|
-
}, "getNumBitsAbs");
|
12661
|
-
LongPrototype.isSafeInteger = /* @__PURE__ */ __name(function isSafeInteger() {
|
12662
|
-
var top11Bits = this.high >> 21;
|
12663
|
-
if (!top11Bits) return true;
|
12664
|
-
if (this.unsigned) return false;
|
12665
|
-
return top11Bits === -1 && !(this.low === 0 && this.high === -2097152);
|
12666
|
-
}, "isSafeInteger");
|
12667
|
-
LongPrototype.isZero = /* @__PURE__ */ __name(function isZero() {
|
12668
|
-
return this.high === 0 && this.low === 0;
|
12669
|
-
}, "isZero");
|
12670
|
-
LongPrototype.eqz = LongPrototype.isZero;
|
12671
|
-
LongPrototype.isNegative = /* @__PURE__ */ __name(function isNegative() {
|
12672
|
-
return !this.unsigned && this.high < 0;
|
12673
|
-
}, "isNegative");
|
12674
|
-
LongPrototype.isPositive = /* @__PURE__ */ __name(function isPositive() {
|
12675
|
-
return this.unsigned || this.high >= 0;
|
12676
|
-
}, "isPositive");
|
12677
|
-
LongPrototype.isOdd = /* @__PURE__ */ __name(function isOdd() {
|
12678
|
-
return (this.low & 1) === 1;
|
12679
|
-
}, "isOdd");
|
12680
|
-
LongPrototype.isEven = /* @__PURE__ */ __name(function isEven() {
|
12681
|
-
return (this.low & 1) === 0;
|
12682
|
-
}, "isEven");
|
12683
|
-
LongPrototype.equals = /* @__PURE__ */ __name(function equals(other) {
|
12684
|
-
if (!isLong(other)) other = fromValue(other);
|
12685
|
-
if (this.unsigned !== other.unsigned && this.high >>> 31 === 1 && other.high >>> 31 === 1)
|
12686
|
-
return false;
|
12687
|
-
return this.high === other.high && this.low === other.low;
|
12688
|
-
}, "equals");
|
12689
|
-
LongPrototype.eq = LongPrototype.equals;
|
12690
|
-
LongPrototype.notEquals = /* @__PURE__ */ __name(function notEquals(other) {
|
12691
|
-
return !this.eq(
|
12692
|
-
/* validates */
|
12693
|
-
other
|
12694
|
-
);
|
12695
|
-
}, "notEquals");
|
12696
|
-
LongPrototype.neq = LongPrototype.notEquals;
|
12697
|
-
LongPrototype.ne = LongPrototype.notEquals;
|
12698
|
-
LongPrototype.lessThan = /* @__PURE__ */ __name(function lessThan(other) {
|
12699
|
-
return this.comp(
|
12700
|
-
/* validates */
|
12701
|
-
other
|
12702
|
-
) < 0;
|
12703
|
-
}, "lessThan");
|
12704
|
-
LongPrototype.lt = LongPrototype.lessThan;
|
12705
|
-
LongPrototype.lessThanOrEqual = /* @__PURE__ */ __name(function lessThanOrEqual(other) {
|
12706
|
-
return this.comp(
|
12707
|
-
/* validates */
|
12708
|
-
other
|
12709
|
-
) <= 0;
|
12710
|
-
}, "lessThanOrEqual");
|
12711
|
-
LongPrototype.lte = LongPrototype.lessThanOrEqual;
|
12712
|
-
LongPrototype.le = LongPrototype.lessThanOrEqual;
|
12713
|
-
LongPrototype.greaterThan = /* @__PURE__ */ __name(function greaterThan(other) {
|
12714
|
-
return this.comp(
|
12715
|
-
/* validates */
|
12716
|
-
other
|
12717
|
-
) > 0;
|
12718
|
-
}, "greaterThan");
|
12719
|
-
LongPrototype.gt = LongPrototype.greaterThan;
|
12720
|
-
LongPrototype.greaterThanOrEqual = /* @__PURE__ */ __name(function greaterThanOrEqual(other) {
|
12721
|
-
return this.comp(
|
12722
|
-
/* validates */
|
12723
|
-
other
|
12724
|
-
) >= 0;
|
12725
|
-
}, "greaterThanOrEqual");
|
12726
|
-
LongPrototype.gte = LongPrototype.greaterThanOrEqual;
|
12727
|
-
LongPrototype.ge = LongPrototype.greaterThanOrEqual;
|
12728
|
-
LongPrototype.compare = /* @__PURE__ */ __name(function compare(other) {
|
12729
|
-
if (!isLong(other)) other = fromValue(other);
|
12730
|
-
if (this.eq(other)) return 0;
|
12731
|
-
var thisNeg = this.isNegative(), otherNeg = other.isNegative();
|
12732
|
-
if (thisNeg && !otherNeg) return -1;
|
12733
|
-
if (!thisNeg && otherNeg) return 1;
|
12734
|
-
if (!this.unsigned) return this.sub(other).isNegative() ? -1 : 1;
|
12735
|
-
return other.high >>> 0 > this.high >>> 0 || other.high === this.high && other.low >>> 0 > this.low >>> 0 ? -1 : 1;
|
12736
|
-
}, "compare");
|
12737
|
-
LongPrototype.comp = LongPrototype.compare;
|
12738
|
-
LongPrototype.negate = /* @__PURE__ */ __name(function negate() {
|
12739
|
-
if (!this.unsigned && this.eq(MIN_VALUE)) return MIN_VALUE;
|
12740
|
-
return this.not().add(ONE);
|
12741
|
-
}, "negate");
|
12742
|
-
LongPrototype.neg = LongPrototype.negate;
|
12743
|
-
LongPrototype.add = /* @__PURE__ */ __name(function add(addend) {
|
12744
|
-
if (!isLong(addend)) addend = fromValue(addend);
|
12745
|
-
var a48 = this.high >>> 16;
|
12746
|
-
var a32 = this.high & 65535;
|
12747
|
-
var a16 = this.low >>> 16;
|
12748
|
-
var a00 = this.low & 65535;
|
12749
|
-
var b48 = addend.high >>> 16;
|
12750
|
-
var b32 = addend.high & 65535;
|
12751
|
-
var b16 = addend.low >>> 16;
|
12752
|
-
var b00 = addend.low & 65535;
|
12753
|
-
var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
|
12754
|
-
c00 += a00 + b00;
|
12755
|
-
c16 += c00 >>> 16;
|
12756
|
-
c00 &= 65535;
|
12757
|
-
c16 += a16 + b16;
|
12758
|
-
c32 += c16 >>> 16;
|
12759
|
-
c16 &= 65535;
|
12760
|
-
c32 += a32 + b32;
|
12761
|
-
c48 += c32 >>> 16;
|
12762
|
-
c32 &= 65535;
|
12763
|
-
c48 += a48 + b48;
|
12764
|
-
c48 &= 65535;
|
12765
|
-
return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);
|
12766
|
-
}, "add");
|
12767
|
-
LongPrototype.subtract = /* @__PURE__ */ __name(function subtract(subtrahend) {
|
12768
|
-
if (!isLong(subtrahend)) subtrahend = fromValue(subtrahend);
|
12769
|
-
return this.add(subtrahend.neg());
|
12770
|
-
}, "subtract");
|
12771
|
-
LongPrototype.sub = LongPrototype.subtract;
|
12772
|
-
LongPrototype.multiply = /* @__PURE__ */ __name(function multiply(multiplier) {
|
12773
|
-
if (this.isZero()) return this;
|
12774
|
-
if (!isLong(multiplier)) multiplier = fromValue(multiplier);
|
12775
|
-
if (wasm) {
|
12776
|
-
var low = wasm["mul"](
|
12777
|
-
this.low,
|
12778
|
-
this.high,
|
12779
|
-
multiplier.low,
|
12780
|
-
multiplier.high
|
12781
|
-
);
|
12782
|
-
return fromBits(low, wasm["get_high"](), this.unsigned);
|
12783
|
-
}
|
12784
|
-
if (multiplier.isZero()) return this.unsigned ? UZERO : ZERO;
|
12785
|
-
if (this.eq(MIN_VALUE)) return multiplier.isOdd() ? MIN_VALUE : ZERO;
|
12786
|
-
if (multiplier.eq(MIN_VALUE)) return this.isOdd() ? MIN_VALUE : ZERO;
|
12787
|
-
if (this.isNegative()) {
|
12788
|
-
if (multiplier.isNegative()) return this.neg().mul(multiplier.neg());
|
12789
|
-
else return this.neg().mul(multiplier).neg();
|
12790
|
-
} else if (multiplier.isNegative())
|
12791
|
-
return this.mul(multiplier.neg()).neg();
|
12792
|
-
if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24))
|
12793
|
-
return fromNumber(
|
12794
|
-
this.toNumber() * multiplier.toNumber(),
|
12795
|
-
this.unsigned
|
12796
|
-
);
|
12797
|
-
var a48 = this.high >>> 16;
|
12798
|
-
var a32 = this.high & 65535;
|
12799
|
-
var a16 = this.low >>> 16;
|
12800
|
-
var a00 = this.low & 65535;
|
12801
|
-
var b48 = multiplier.high >>> 16;
|
12802
|
-
var b32 = multiplier.high & 65535;
|
12803
|
-
var b16 = multiplier.low >>> 16;
|
12804
|
-
var b00 = multiplier.low & 65535;
|
12805
|
-
var c48 = 0, c32 = 0, c16 = 0, c00 = 0;
|
12806
|
-
c00 += a00 * b00;
|
12807
|
-
c16 += c00 >>> 16;
|
12808
|
-
c00 &= 65535;
|
12809
|
-
c16 += a16 * b00;
|
12810
|
-
c32 += c16 >>> 16;
|
12811
|
-
c16 &= 65535;
|
12812
|
-
c16 += a00 * b16;
|
12813
|
-
c32 += c16 >>> 16;
|
12814
|
-
c16 &= 65535;
|
12815
|
-
c32 += a32 * b00;
|
12816
|
-
c48 += c32 >>> 16;
|
12817
|
-
c32 &= 65535;
|
12818
|
-
c32 += a16 * b16;
|
12819
|
-
c48 += c32 >>> 16;
|
12820
|
-
c32 &= 65535;
|
12821
|
-
c32 += a00 * b32;
|
12822
|
-
c48 += c32 >>> 16;
|
12823
|
-
c32 &= 65535;
|
12824
|
-
c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48;
|
12825
|
-
c48 &= 65535;
|
12826
|
-
return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);
|
12827
|
-
}, "multiply");
|
12828
|
-
LongPrototype.mul = LongPrototype.multiply;
|
12829
|
-
LongPrototype.divide = /* @__PURE__ */ __name(function divide(divisor) {
|
12830
|
-
if (!isLong(divisor)) divisor = fromValue(divisor);
|
12831
|
-
if (divisor.isZero()) throw Error("division by zero");
|
12832
|
-
if (wasm) {
|
12833
|
-
if (!this.unsigned && this.high === -2147483648 && divisor.low === -1 && divisor.high === -1) {
|
12834
|
-
return this;
|
12835
|
-
}
|
12836
|
-
var low = (this.unsigned ? wasm["div_u"] : wasm["div_s"])(
|
12837
|
-
this.low,
|
12838
|
-
this.high,
|
12839
|
-
divisor.low,
|
12840
|
-
divisor.high
|
12841
|
-
);
|
12842
|
-
return fromBits(low, wasm["get_high"](), this.unsigned);
|
12843
|
-
}
|
12844
|
-
if (this.isZero()) return this.unsigned ? UZERO : ZERO;
|
12845
|
-
var approx, rem, res;
|
12846
|
-
if (!this.unsigned) {
|
12847
|
-
if (this.eq(MIN_VALUE)) {
|
12848
|
-
if (divisor.eq(ONE) || divisor.eq(NEG_ONE))
|
12849
|
-
return MIN_VALUE;
|
12850
|
-
else if (divisor.eq(MIN_VALUE)) return ONE;
|
12851
|
-
else {
|
12852
|
-
var halfThis = this.shr(1);
|
12853
|
-
approx = halfThis.div(divisor).shl(1);
|
12854
|
-
if (approx.eq(ZERO)) {
|
12855
|
-
return divisor.isNegative() ? ONE : NEG_ONE;
|
12856
|
-
} else {
|
12857
|
-
rem = this.sub(divisor.mul(approx));
|
12858
|
-
res = approx.add(rem.div(divisor));
|
12859
|
-
return res;
|
12860
|
-
}
|
12482
|
+
var halfThis = this.shr(1);
|
12483
|
+
approx = halfThis.div(divisor).shl(1);
|
12484
|
+
if (approx.eq(ZERO)) {
|
12485
|
+
return divisor.isNegative() ? ONE : NEG_ONE;
|
12486
|
+
} else {
|
12487
|
+
rem = this.sub(divisor.mul(approx));
|
12488
|
+
res = approx.add(rem.div(divisor));
|
12489
|
+
return res;
|
12861
12490
|
}
|
12862
|
-
} else if (divisor.eq(MIN_VALUE)) return this.unsigned ? UZERO : ZERO;
|
12863
|
-
if (this.isNegative()) {
|
12864
|
-
if (divisor.isNegative()) return this.neg().div(divisor.neg());
|
12865
|
-
return this.neg().div(divisor).neg();
|
12866
|
-
} else if (divisor.isNegative()) return this.div(divisor.neg()).neg();
|
12867
|
-
res = ZERO;
|
12868
|
-
} else {
|
12869
|
-
if (!divisor.unsigned) divisor = divisor.toUnsigned();
|
12870
|
-
if (divisor.gt(this)) return UZERO;
|
12871
|
-
if (divisor.gt(this.shru(1)))
|
12872
|
-
return UONE;
|
12873
|
-
res = UZERO;
|
12874
|
-
}
|
12875
|
-
rem = this;
|
12876
|
-
while (rem.gte(divisor)) {
|
12877
|
-
approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber()));
|
12878
|
-
var log2 = Math.ceil(Math.log(approx) / Math.LN2), delta = log2 <= 48 ? 1 : pow_dbl(2, log2 - 48), approxRes = fromNumber(approx), approxRem = approxRes.mul(divisor);
|
12879
|
-
while (approxRem.isNegative() || approxRem.gt(rem)) {
|
12880
|
-
approx -= delta;
|
12881
|
-
approxRes = fromNumber(approx, this.unsigned);
|
12882
|
-
approxRem = approxRes.mul(divisor);
|
12883
12491
|
}
|
12884
|
-
|
12885
|
-
|
12886
|
-
|
12887
|
-
|
12888
|
-
return
|
12889
|
-
|
12890
|
-
|
12891
|
-
|
12892
|
-
if (
|
12893
|
-
if (
|
12894
|
-
|
12895
|
-
|
12896
|
-
|
12897
|
-
|
12898
|
-
|
12899
|
-
|
12900
|
-
|
12901
|
-
|
12902
|
-
|
12903
|
-
|
12904
|
-
|
12905
|
-
|
12906
|
-
|
12907
|
-
|
12908
|
-
|
12909
|
-
|
12910
|
-
|
12911
|
-
|
12912
|
-
|
12913
|
-
|
12914
|
-
|
12915
|
-
|
12916
|
-
|
12917
|
-
|
12918
|
-
|
12919
|
-
|
12920
|
-
|
12921
|
-
|
12922
|
-
|
12923
|
-
|
12924
|
-
|
12925
|
-
|
12926
|
-
|
12927
|
-
|
12928
|
-
|
12929
|
-
|
12930
|
-
|
12931
|
-
|
12932
|
-
|
12933
|
-
|
12934
|
-
|
12935
|
-
|
12936
|
-
|
12937
|
-
|
12938
|
-
|
12939
|
-
|
12940
|
-
|
12941
|
-
|
12942
|
-
|
12943
|
-
|
12944
|
-
|
12945
|
-
|
12946
|
-
|
12947
|
-
|
12948
|
-
|
12949
|
-
|
12950
|
-
|
12951
|
-
|
12952
|
-
|
12953
|
-
|
12954
|
-
|
12955
|
-
|
12956
|
-
|
12957
|
-
|
12958
|
-
|
12959
|
-
|
12960
|
-
|
12961
|
-
|
12962
|
-
|
12963
|
-
|
12964
|
-
|
12965
|
-
|
12966
|
-
|
12967
|
-
|
12968
|
-
|
12969
|
-
|
12970
|
-
|
12971
|
-
|
12972
|
-
|
12973
|
-
|
12974
|
-
|
12975
|
-
this.low >>> numBits | this.high << 32 - numBits,
|
12976
|
-
this.high >>> numBits,
|
12977
|
-
this.unsigned
|
12978
|
-
);
|
12979
|
-
if (numBits === 32) return fromBits(this.high, 0, this.unsigned);
|
12980
|
-
return fromBits(this.high >>> numBits - 32, 0, this.unsigned);
|
12981
|
-
}, "shiftRightUnsigned");
|
12982
|
-
LongPrototype.shru = LongPrototype.shiftRightUnsigned;
|
12983
|
-
LongPrototype.shr_u = LongPrototype.shiftRightUnsigned;
|
12984
|
-
LongPrototype.rotateLeft = /* @__PURE__ */ __name(function rotateLeft(numBits) {
|
12985
|
-
var b;
|
12986
|
-
if (isLong(numBits)) numBits = numBits.toInt();
|
12987
|
-
if ((numBits &= 63) === 0) return this;
|
12988
|
-
if (numBits === 32) return fromBits(this.high, this.low, this.unsigned);
|
12989
|
-
if (numBits < 32) {
|
12990
|
-
b = 32 - numBits;
|
12991
|
-
return fromBits(
|
12992
|
-
this.low << numBits | this.high >>> b,
|
12993
|
-
this.high << numBits | this.low >>> b,
|
12994
|
-
this.unsigned
|
12995
|
-
);
|
12996
|
-
}
|
12997
|
-
numBits -= 32;
|
12492
|
+
} else if (divisor.eq(MIN_VALUE)) return this.unsigned ? UZERO : ZERO;
|
12493
|
+
if (this.isNegative()) {
|
12494
|
+
if (divisor.isNegative()) return this.neg().div(divisor.neg());
|
12495
|
+
return this.neg().div(divisor).neg();
|
12496
|
+
} else if (divisor.isNegative()) return this.div(divisor.neg()).neg();
|
12497
|
+
res = ZERO;
|
12498
|
+
} else {
|
12499
|
+
if (!divisor.unsigned) divisor = divisor.toUnsigned();
|
12500
|
+
if (divisor.gt(this)) return UZERO;
|
12501
|
+
if (divisor.gt(this.shru(1)))
|
12502
|
+
return UONE;
|
12503
|
+
res = UZERO;
|
12504
|
+
}
|
12505
|
+
rem = this;
|
12506
|
+
while (rem.gte(divisor)) {
|
12507
|
+
approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber()));
|
12508
|
+
var log2 = Math.ceil(Math.log(approx) / Math.LN2), delta = log2 <= 48 ? 1 : pow_dbl(2, log2 - 48), approxRes = fromNumber(approx), approxRem = approxRes.mul(divisor);
|
12509
|
+
while (approxRem.isNegative() || approxRem.gt(rem)) {
|
12510
|
+
approx -= delta;
|
12511
|
+
approxRes = fromNumber(approx, this.unsigned);
|
12512
|
+
approxRem = approxRes.mul(divisor);
|
12513
|
+
}
|
12514
|
+
if (approxRes.isZero()) approxRes = ONE;
|
12515
|
+
res = res.add(approxRes);
|
12516
|
+
rem = rem.sub(approxRem);
|
12517
|
+
}
|
12518
|
+
return res;
|
12519
|
+
}, "divide");
|
12520
|
+
LongPrototype.div = LongPrototype.divide;
|
12521
|
+
LongPrototype.modulo = /* @__PURE__ */ __name(function modulo(divisor) {
|
12522
|
+
if (!isLong(divisor)) divisor = fromValue(divisor);
|
12523
|
+
if (wasm) {
|
12524
|
+
var low = (this.unsigned ? wasm["rem_u"] : wasm["rem_s"])(this.low, this.high, divisor.low, divisor.high);
|
12525
|
+
return fromBits(low, wasm["get_high"](), this.unsigned);
|
12526
|
+
}
|
12527
|
+
return this.sub(this.div(divisor).mul(divisor));
|
12528
|
+
}, "modulo");
|
12529
|
+
LongPrototype.mod = LongPrototype.modulo;
|
12530
|
+
LongPrototype.rem = LongPrototype.modulo;
|
12531
|
+
LongPrototype.not = /* @__PURE__ */ __name(function not() {
|
12532
|
+
return fromBits(~this.low, ~this.high, this.unsigned);
|
12533
|
+
}, "not");
|
12534
|
+
LongPrototype.countLeadingZeros = /* @__PURE__ */ __name(function countLeadingZeros() {
|
12535
|
+
return this.high ? Math.clz32(this.high) : Math.clz32(this.low) + 32;
|
12536
|
+
}, "countLeadingZeros");
|
12537
|
+
LongPrototype.clz = LongPrototype.countLeadingZeros;
|
12538
|
+
LongPrototype.countTrailingZeros = /* @__PURE__ */ __name(function countTrailingZeros() {
|
12539
|
+
return this.low ? ctz32(this.low) : ctz32(this.high) + 32;
|
12540
|
+
}, "countTrailingZeros");
|
12541
|
+
LongPrototype.ctz = LongPrototype.countTrailingZeros;
|
12542
|
+
LongPrototype.and = /* @__PURE__ */ __name(function and(other) {
|
12543
|
+
if (!isLong(other)) other = fromValue(other);
|
12544
|
+
return fromBits(this.low & other.low, this.high & other.high, this.unsigned);
|
12545
|
+
}, "and");
|
12546
|
+
LongPrototype.or = /* @__PURE__ */ __name(function or(other) {
|
12547
|
+
if (!isLong(other)) other = fromValue(other);
|
12548
|
+
return fromBits(this.low | other.low, this.high | other.high, this.unsigned);
|
12549
|
+
}, "or");
|
12550
|
+
LongPrototype.xor = /* @__PURE__ */ __name(function xor(other) {
|
12551
|
+
if (!isLong(other)) other = fromValue(other);
|
12552
|
+
return fromBits(this.low ^ other.low, this.high ^ other.high, this.unsigned);
|
12553
|
+
}, "xor");
|
12554
|
+
LongPrototype.shiftLeft = /* @__PURE__ */ __name(function shiftLeft(numBits) {
|
12555
|
+
if (isLong(numBits)) numBits = numBits.toInt();
|
12556
|
+
if ((numBits &= 63) === 0) return this;
|
12557
|
+
else if (numBits < 32) return fromBits(this.low << numBits, this.high << numBits | this.low >>> 32 - numBits, this.unsigned);
|
12558
|
+
else return fromBits(0, this.low << numBits - 32, this.unsigned);
|
12559
|
+
}, "shiftLeft");
|
12560
|
+
LongPrototype.shl = LongPrototype.shiftLeft;
|
12561
|
+
LongPrototype.shiftRight = /* @__PURE__ */ __name(function shiftRight(numBits) {
|
12562
|
+
if (isLong(numBits)) numBits = numBits.toInt();
|
12563
|
+
if ((numBits &= 63) === 0) return this;
|
12564
|
+
else if (numBits < 32) return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >> numBits, this.unsigned);
|
12565
|
+
else return fromBits(this.high >> numBits - 32, this.high >= 0 ? 0 : -1, this.unsigned);
|
12566
|
+
}, "shiftRight");
|
12567
|
+
LongPrototype.shr = LongPrototype.shiftRight;
|
12568
|
+
LongPrototype.shiftRightUnsigned = /* @__PURE__ */ __name(function shiftRightUnsigned(numBits) {
|
12569
|
+
if (isLong(numBits)) numBits = numBits.toInt();
|
12570
|
+
if ((numBits &= 63) === 0) return this;
|
12571
|
+
if (numBits < 32) return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >>> numBits, this.unsigned);
|
12572
|
+
if (numBits === 32) return fromBits(this.high, 0, this.unsigned);
|
12573
|
+
return fromBits(this.high >>> numBits - 32, 0, this.unsigned);
|
12574
|
+
}, "shiftRightUnsigned");
|
12575
|
+
LongPrototype.shru = LongPrototype.shiftRightUnsigned;
|
12576
|
+
LongPrototype.shr_u = LongPrototype.shiftRightUnsigned;
|
12577
|
+
LongPrototype.rotateLeft = /* @__PURE__ */ __name(function rotateLeft(numBits) {
|
12578
|
+
var b;
|
12579
|
+
if (isLong(numBits)) numBits = numBits.toInt();
|
12580
|
+
if ((numBits &= 63) === 0) return this;
|
12581
|
+
if (numBits === 32) return fromBits(this.high, this.low, this.unsigned);
|
12582
|
+
if (numBits < 32) {
|
12998
12583
|
b = 32 - numBits;
|
12999
|
-
return fromBits(
|
13000
|
-
|
13001
|
-
|
13002
|
-
|
13003
|
-
|
13004
|
-
|
13005
|
-
|
13006
|
-
|
13007
|
-
|
13008
|
-
|
13009
|
-
|
13010
|
-
|
13011
|
-
|
13012
|
-
b = 32 - numBits;
|
13013
|
-
return fromBits(
|
13014
|
-
this.high << b | this.low >>> numBits,
|
13015
|
-
this.low << b | this.high >>> numBits,
|
13016
|
-
this.unsigned
|
13017
|
-
);
|
13018
|
-
}
|
13019
|
-
numBits -= 32;
|
12584
|
+
return fromBits(this.low << numBits | this.high >>> b, this.high << numBits | this.low >>> b, this.unsigned);
|
12585
|
+
}
|
12586
|
+
numBits -= 32;
|
12587
|
+
b = 32 - numBits;
|
12588
|
+
return fromBits(this.high << numBits | this.low >>> b, this.low << numBits | this.high >>> b, this.unsigned);
|
12589
|
+
}, "rotateLeft");
|
12590
|
+
LongPrototype.rotl = LongPrototype.rotateLeft;
|
12591
|
+
LongPrototype.rotateRight = /* @__PURE__ */ __name(function rotateRight(numBits) {
|
12592
|
+
var b;
|
12593
|
+
if (isLong(numBits)) numBits = numBits.toInt();
|
12594
|
+
if ((numBits &= 63) === 0) return this;
|
12595
|
+
if (numBits === 32) return fromBits(this.high, this.low, this.unsigned);
|
12596
|
+
if (numBits < 32) {
|
13020
12597
|
b = 32 - numBits;
|
13021
|
-
return fromBits(
|
13022
|
-
|
13023
|
-
|
13024
|
-
|
13025
|
-
|
13026
|
-
|
13027
|
-
|
13028
|
-
|
13029
|
-
|
13030
|
-
|
13031
|
-
|
13032
|
-
|
13033
|
-
|
13034
|
-
|
13035
|
-
|
13036
|
-
|
13037
|
-
|
13038
|
-
|
13039
|
-
|
13040
|
-
|
13041
|
-
|
13042
|
-
|
13043
|
-
|
13044
|
-
|
13045
|
-
|
13046
|
-
|
13047
|
-
|
13048
|
-
|
13049
|
-
|
13050
|
-
|
13051
|
-
|
13052
|
-
|
13053
|
-
|
13054
|
-
|
13055
|
-
|
13056
|
-
|
13057
|
-
|
13058
|
-
|
13059
|
-
|
13060
|
-
|
13061
|
-
|
13062
|
-
|
13063
|
-
|
13064
|
-
}, "toBytesBE");
|
13065
|
-
Long.fromBytes = /* @__PURE__ */ __name(function fromBytes(bytes, unsigned, le) {
|
13066
|
-
return le ? Long.fromBytesLE(bytes, unsigned) : Long.fromBytesBE(bytes, unsigned);
|
13067
|
-
}, "fromBytes");
|
13068
|
-
Long.fromBytesLE = /* @__PURE__ */ __name(function fromBytesLE(bytes, unsigned) {
|
13069
|
-
return new Long(
|
13070
|
-
bytes[0] | bytes[1] << 8 | bytes[2] << 16 | bytes[3] << 24,
|
13071
|
-
bytes[4] | bytes[5] << 8 | bytes[6] << 16 | bytes[7] << 24,
|
13072
|
-
unsigned
|
13073
|
-
);
|
13074
|
-
}, "fromBytesLE");
|
13075
|
-
Long.fromBytesBE = /* @__PURE__ */ __name(function fromBytesBE(bytes, unsigned) {
|
13076
|
-
return new Long(
|
13077
|
-
bytes[4] << 24 | bytes[5] << 16 | bytes[6] << 8 | bytes[7],
|
13078
|
-
bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3],
|
13079
|
-
unsigned
|
13080
|
-
);
|
13081
|
-
}, "fromBytesBE");
|
13082
|
-
if (typeof BigInt === "function") {
|
13083
|
-
Long.fromBigInt = /* @__PURE__ */ __name(function fromBigInt2(value, unsigned) {
|
13084
|
-
var lowBits = Number(BigInt.asIntN(32, value));
|
13085
|
-
var highBits = Number(BigInt.asIntN(32, value >> BigInt(32)));
|
13086
|
-
return fromBits(lowBits, highBits, unsigned);
|
13087
|
-
}, "fromBigInt");
|
13088
|
-
Long.fromValue = /* @__PURE__ */ __name(function fromValueWithBigInt(value, unsigned) {
|
13089
|
-
if (typeof value === "bigint") return fromBigInt(value, unsigned);
|
13090
|
-
return fromValue(value, unsigned);
|
13091
|
-
}, "fromValueWithBigInt");
|
13092
|
-
LongPrototype.toBigInt = /* @__PURE__ */ __name(function toBigInt() {
|
13093
|
-
var lowBigInt = BigInt(this.low >>> 0);
|
13094
|
-
var highBigInt = BigInt(this.unsigned ? this.high >>> 0 : this.high);
|
13095
|
-
return highBigInt << BigInt(32) | lowBigInt;
|
13096
|
-
}, "toBigInt");
|
13097
|
-
}
|
13098
|
-
var _default = _exports.default = Long;
|
13099
|
-
}
|
13100
|
-
);
|
12598
|
+
return fromBits(this.high << b | this.low >>> numBits, this.low << b | this.high >>> numBits, this.unsigned);
|
12599
|
+
}
|
12600
|
+
numBits -= 32;
|
12601
|
+
b = 32 - numBits;
|
12602
|
+
return fromBits(this.low << b | this.high >>> numBits, this.high << b | this.low >>> numBits, this.unsigned);
|
12603
|
+
}, "rotateRight");
|
12604
|
+
LongPrototype.rotr = LongPrototype.rotateRight;
|
12605
|
+
LongPrototype.toSigned = /* @__PURE__ */ __name(function toSigned() {
|
12606
|
+
if (!this.unsigned) return this;
|
12607
|
+
return fromBits(this.low, this.high, false);
|
12608
|
+
}, "toSigned");
|
12609
|
+
LongPrototype.toUnsigned = /* @__PURE__ */ __name(function toUnsigned() {
|
12610
|
+
if (this.unsigned) return this;
|
12611
|
+
return fromBits(this.low, this.high, true);
|
12612
|
+
}, "toUnsigned");
|
12613
|
+
LongPrototype.toBytes = /* @__PURE__ */ __name(function toBytes(le) {
|
12614
|
+
return le ? this.toBytesLE() : this.toBytesBE();
|
12615
|
+
}, "toBytes");
|
12616
|
+
LongPrototype.toBytesLE = /* @__PURE__ */ __name(function toBytesLE() {
|
12617
|
+
var hi = this.high, lo = this.low;
|
12618
|
+
return [lo & 255, lo >>> 8 & 255, lo >>> 16 & 255, lo >>> 24, hi & 255, hi >>> 8 & 255, hi >>> 16 & 255, hi >>> 24];
|
12619
|
+
}, "toBytesLE");
|
12620
|
+
LongPrototype.toBytesBE = /* @__PURE__ */ __name(function toBytesBE() {
|
12621
|
+
var hi = this.high, lo = this.low;
|
12622
|
+
return [hi >>> 24, hi >>> 16 & 255, hi >>> 8 & 255, hi & 255, lo >>> 24, lo >>> 16 & 255, lo >>> 8 & 255, lo & 255];
|
12623
|
+
}, "toBytesBE");
|
12624
|
+
Long2.fromBytes = /* @__PURE__ */ __name(function fromBytes(bytes, unsigned, le) {
|
12625
|
+
return le ? Long2.fromBytesLE(bytes, unsigned) : Long2.fromBytesBE(bytes, unsigned);
|
12626
|
+
}, "fromBytes");
|
12627
|
+
Long2.fromBytesLE = /* @__PURE__ */ __name(function fromBytesLE(bytes, unsigned) {
|
12628
|
+
return new Long2(bytes[0] | bytes[1] << 8 | bytes[2] << 16 | bytes[3] << 24, bytes[4] | bytes[5] << 8 | bytes[6] << 16 | bytes[7] << 24, unsigned);
|
12629
|
+
}, "fromBytesLE");
|
12630
|
+
Long2.fromBytesBE = /* @__PURE__ */ __name(function fromBytesBE(bytes, unsigned) {
|
12631
|
+
return new Long2(bytes[4] << 24 | bytes[5] << 16 | bytes[6] << 8 | bytes[7], bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], unsigned);
|
12632
|
+
}, "fromBytesBE");
|
12633
|
+
var _default = Long2;
|
12634
|
+
exports3.default = _default;
|
12635
|
+
return "default" in exports3 ? exports3.default : exports3;
|
12636
|
+
}({});
|
12637
|
+
if (typeof define === "function" && define.amd) define([], function() {
|
12638
|
+
return Long;
|
12639
|
+
});
|
12640
|
+
else if (typeof module2 === "object" && typeof exports2 === "object") module2.exports = Long;
|
13101
12641
|
}
|
13102
12642
|
});
|
13103
12643
|
|
@@ -13309,16 +12849,12 @@ var require_src2 = __commonJS({
|
|
13309
12849
|
}
|
13310
12850
|
});
|
13311
12851
|
|
13312
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
12852
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channelz.js
|
13313
12853
|
var require_channelz = __commonJS({
|
13314
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
12854
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channelz.js"(exports2) {
|
13315
12855
|
"use strict";
|
13316
12856
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
13317
|
-
exports2.registerChannelzSocket = exports2.registerChannelzServer = exports2.registerChannelzSubchannel = exports2.registerChannelzChannel = exports2.ChannelzCallTrackerStub = exports2.ChannelzCallTracker = exports2.ChannelzChildrenTrackerStub = exports2.ChannelzChildrenTracker = exports2.ChannelzTrace = exports2.ChannelzTraceStub = void 0;
|
13318
|
-
exports2.unregisterChannelzRef = unregisterChannelzRef;
|
13319
|
-
exports2.getChannelzHandlers = getChannelzHandlers;
|
13320
|
-
exports2.getChannelzServiceDefinition = getChannelzServiceDefinition;
|
13321
|
-
exports2.setup = setup;
|
12857
|
+
exports2.setup = exports2.getChannelzServiceDefinition = exports2.getChannelzHandlers = exports2.unregisterChannelzRef = exports2.registerChannelzSocket = exports2.registerChannelzServer = exports2.registerChannelzSubchannel = exports2.registerChannelzChannel = exports2.ChannelzCallTrackerStub = exports2.ChannelzCallTracker = exports2.ChannelzChildrenTrackerStub = exports2.ChannelzChildrenTracker = exports2.ChannelzTrace = exports2.ChannelzTraceStub = void 0;
|
13322
12858
|
var net_1 = __require("net");
|
13323
12859
|
var ordered_map_1 = (init_esm(), __toCommonJS(esm_exports));
|
13324
12860
|
var connectivity_state_1 = require_connectivity_state();
|
@@ -13567,6 +13103,7 @@ var require_channelz = __commonJS({
|
|
13567
13103
|
entityMaps[ref.kind].eraseElementByKey(ref.id);
|
13568
13104
|
}
|
13569
13105
|
__name(unregisterChannelzRef, "unregisterChannelzRef");
|
13106
|
+
exports2.unregisterChannelzRef = unregisterChannelzRef;
|
13570
13107
|
function parseIPv6Section(addressSection) {
|
13571
13108
|
const numberValue = Number.parseInt(addressSection, 16);
|
13572
13109
|
return [numberValue / 256 | 0, numberValue % 256];
|
@@ -13901,6 +13438,7 @@ var require_channelz = __commonJS({
|
|
13901
13438
|
};
|
13902
13439
|
}
|
13903
13440
|
__name(getChannelzHandlers, "getChannelzHandlers");
|
13441
|
+
exports2.getChannelzHandlers = getChannelzHandlers;
|
13904
13442
|
var loadedChannelzDefinition = null;
|
13905
13443
|
function getChannelzServiceDefinition() {
|
13906
13444
|
if (loadedChannelzDefinition) {
|
@@ -13920,16 +13458,18 @@ var require_channelz = __commonJS({
|
|
13920
13458
|
return loadedChannelzDefinition;
|
13921
13459
|
}
|
13922
13460
|
__name(getChannelzServiceDefinition, "getChannelzServiceDefinition");
|
13461
|
+
exports2.getChannelzServiceDefinition = getChannelzServiceDefinition;
|
13923
13462
|
function setup() {
|
13924
13463
|
(0, admin_1.registerAdminService)(getChannelzServiceDefinition, getChannelzHandlers);
|
13925
13464
|
}
|
13926
13465
|
__name(setup, "setup");
|
13466
|
+
exports2.setup = setup;
|
13927
13467
|
}
|
13928
13468
|
});
|
13929
13469
|
|
13930
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
13470
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel.js
|
13931
13471
|
var require_subchannel = __commonJS({
|
13932
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
13472
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel.js"(exports2) {
|
13933
13473
|
"use strict";
|
13934
13474
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
13935
13475
|
exports2.Subchannel = void 0;
|
@@ -14232,9 +13772,9 @@ var require_subchannel = __commonJS({
|
|
14232
13772
|
}
|
14233
13773
|
});
|
14234
13774
|
|
14235
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
13775
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/environment.js
|
14236
13776
|
var require_environment = __commonJS({
|
14237
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
13777
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/environment.js"(exports2) {
|
14238
13778
|
"use strict";
|
14239
13779
|
var _a;
|
14240
13780
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
@@ -14243,13 +13783,12 @@ var require_environment = __commonJS({
|
|
14243
13783
|
}
|
14244
13784
|
});
|
14245
13785
|
|
14246
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
13786
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver-dns.js
|
14247
13787
|
var require_resolver_dns = __commonJS({
|
14248
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
13788
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver-dns.js"(exports2) {
|
14249
13789
|
"use strict";
|
14250
13790
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
14251
|
-
exports2.DEFAULT_PORT = void 0;
|
14252
|
-
exports2.setup = setup;
|
13791
|
+
exports2.setup = exports2.DEFAULT_PORT = void 0;
|
14253
13792
|
var resolver_1 = require_resolver();
|
14254
13793
|
var dns_1 = __require("dns");
|
14255
13794
|
var service_config_1 = require_service_config();
|
@@ -14521,16 +14060,16 @@ var require_resolver_dns = __commonJS({
|
|
14521
14060
|
(0, resolver_1.registerDefaultScheme)("dns");
|
14522
14061
|
}
|
14523
14062
|
__name(setup, "setup");
|
14063
|
+
exports2.setup = setup;
|
14524
14064
|
}
|
14525
14065
|
});
|
14526
14066
|
|
14527
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14067
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/http_proxy.js
|
14528
14068
|
var require_http_proxy = __commonJS({
|
14529
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14069
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/http_proxy.js"(exports2) {
|
14530
14070
|
"use strict";
|
14531
14071
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
14532
|
-
exports2.mapProxyName =
|
14533
|
-
exports2.getProxiedConnection = getProxiedConnection;
|
14072
|
+
exports2.getProxiedConnection = exports2.mapProxyName = void 0;
|
14534
14073
|
var logging_1 = require_logging();
|
14535
14074
|
var constants_1 = require_constants();
|
14536
14075
|
var resolver_1 = require_resolver();
|
@@ -14653,6 +14192,7 @@ var require_http_proxy = __commonJS({
|
|
14653
14192
|
};
|
14654
14193
|
}
|
14655
14194
|
__name(mapProxyName, "mapProxyName");
|
14195
|
+
exports2.mapProxyName = mapProxyName;
|
14656
14196
|
function getProxiedConnection(address, channelOptions, connectionOptions) {
|
14657
14197
|
var _a;
|
14658
14198
|
if (!("grpc.http_connect_target" in channelOptions)) {
|
@@ -14731,12 +14271,13 @@ var require_http_proxy = __commonJS({
|
|
14731
14271
|
});
|
14732
14272
|
}
|
14733
14273
|
__name(getProxiedConnection, "getProxiedConnection");
|
14274
|
+
exports2.getProxiedConnection = getProxiedConnection;
|
14734
14275
|
}
|
14735
14276
|
});
|
14736
14277
|
|
14737
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14278
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/stream-decoder.js
|
14738
14279
|
var require_stream_decoder = __commonJS({
|
14739
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14280
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/stream-decoder.js"(exports2) {
|
14740
14281
|
"use strict";
|
14741
14282
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
14742
14283
|
exports2.StreamDecoder = void 0;
|
@@ -14822,9 +14363,9 @@ var require_stream_decoder = __commonJS({
|
|
14822
14363
|
}
|
14823
14364
|
});
|
14824
14365
|
|
14825
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14366
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-call.js
|
14826
14367
|
var require_subchannel_call = __commonJS({
|
14827
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14368
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-call.js"(exports2) {
|
14828
14369
|
"use strict";
|
14829
14370
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
14830
14371
|
exports2.Http2SubchannelCall = void 0;
|
@@ -14898,7 +14439,6 @@ var require_subchannel_call = __commonJS({
|
|
14898
14439
|
this.finalStatus = null;
|
14899
14440
|
this.internalError = null;
|
14900
14441
|
this.serverEndedCall = false;
|
14901
|
-
this.connectionDropped = false;
|
14902
14442
|
const maxReceiveMessageLength = (_a = transport.getOptions()["grpc.max_receive_message_length"]) !== null && _a !== void 0 ? _a : constants_1.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH;
|
14903
14443
|
this.decoder = new stream_decoder_1.StreamDecoder(maxReceiveMessageLength);
|
14904
14444
|
http2Stream.on("response", (headers, flags) => {
|
@@ -14937,12 +14477,7 @@ var require_subchannel_call = __commonJS({
|
|
14937
14477
|
try {
|
14938
14478
|
messages = this.decoder.write(data);
|
14939
14479
|
} catch (e) {
|
14940
|
-
|
14941
|
-
const mappedStatus = mapHttpStatusCode(this.httpStatusCode);
|
14942
|
-
this.cancelWithStatus(mappedStatus.code, mappedStatus.details);
|
14943
|
-
} else {
|
14944
|
-
this.cancelWithStatus(constants_1.Status.RESOURCE_EXHAUSTED, e.message);
|
14945
|
-
}
|
14480
|
+
this.cancelWithStatus(constants_1.Status.RESOURCE_EXHAUSTED, e.message);
|
14946
14481
|
return;
|
14947
14482
|
}
|
14948
14483
|
for (const message of messages) {
|
@@ -14984,13 +14519,8 @@ var require_subchannel_call = __commonJS({
|
|
14984
14519
|
details = "Stream refused by server";
|
14985
14520
|
break;
|
14986
14521
|
case http2.constants.NGHTTP2_CANCEL:
|
14987
|
-
|
14988
|
-
|
14989
|
-
details = "Connection dropped";
|
14990
|
-
} else {
|
14991
|
-
code = constants_1.Status.CANCELLED;
|
14992
|
-
details = "Call cancelled";
|
14993
|
-
}
|
14522
|
+
code = constants_1.Status.CANCELLED;
|
14523
|
+
details = "Call cancelled";
|
14994
14524
|
break;
|
14995
14525
|
case http2.constants.NGHTTP2_ENHANCE_YOUR_CALM:
|
14996
14526
|
code = constants_1.Status.RESOURCE_EXHAUSTED;
|
@@ -15037,13 +14567,10 @@ var require_subchannel_call = __commonJS({
|
|
15037
14567
|
return [`remote_addr=${this.getPeer()}`];
|
15038
14568
|
}
|
15039
14569
|
onDisconnect() {
|
15040
|
-
this.
|
15041
|
-
|
15042
|
-
|
15043
|
-
|
15044
|
-
details: "Connection dropped",
|
15045
|
-
metadata: new metadata_1.Metadata()
|
15046
|
-
});
|
14570
|
+
this.endCall({
|
14571
|
+
code: constants_1.Status.UNAVAILABLE,
|
14572
|
+
details: "Connection dropped",
|
14573
|
+
metadata: new metadata_1.Metadata()
|
15047
14574
|
});
|
15048
14575
|
}
|
15049
14576
|
outputStatus() {
|
@@ -15230,23 +14757,24 @@ var require_subchannel_call = __commonJS({
|
|
15230
14757
|
}
|
15231
14758
|
});
|
15232
14759
|
|
15233
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14760
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call-number.js
|
15234
14761
|
var require_call_number = __commonJS({
|
15235
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14762
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/call-number.js"(exports2) {
|
15236
14763
|
"use strict";
|
15237
14764
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
15238
|
-
exports2.getNextCallNumber =
|
14765
|
+
exports2.getNextCallNumber = void 0;
|
15239
14766
|
var nextCallNumber = 0;
|
15240
14767
|
function getNextCallNumber() {
|
15241
14768
|
return nextCallNumber++;
|
15242
14769
|
}
|
15243
14770
|
__name(getNextCallNumber, "getNextCallNumber");
|
14771
|
+
exports2.getNextCallNumber = getNextCallNumber;
|
15244
14772
|
}
|
15245
14773
|
});
|
15246
14774
|
|
15247
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14775
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/transport.js
|
15248
14776
|
var require_transport = __commonJS({
|
15249
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
14777
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/transport.js"(exports2) {
|
15250
14778
|
"use strict";
|
15251
14779
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
15252
14780
|
exports2.Http2SubchannelConnector = void 0;
|
@@ -15331,10 +14859,6 @@ var require_transport = __commonJS({
|
|
15331
14859
|
this.trace("connection closed with error " + error.message);
|
15332
14860
|
this.handleDisconnect();
|
15333
14861
|
});
|
15334
|
-
session.socket.once("close", () => {
|
15335
|
-
this.trace("connection closed");
|
15336
|
-
this.handleDisconnect();
|
15337
|
-
});
|
15338
14862
|
if (logging.isTracerEnabled(TRACER_NAME)) {
|
15339
14863
|
session.on("remoteSettings", (settings) => {
|
15340
14864
|
this.trace("new settings received" + (this.session !== session ? " on the old connection" : "") + ": " + JSON.stringify(settings));
|
@@ -15419,12 +14943,15 @@ var require_transport = __commonJS({
|
|
15419
14943
|
* Handle connection drops, but not GOAWAYs.
|
15420
14944
|
*/
|
15421
14945
|
handleDisconnect() {
|
14946
|
+
if (this.disconnectHandled) {
|
14947
|
+
return;
|
14948
|
+
}
|
15422
14949
|
this.clearKeepaliveTimeout();
|
15423
14950
|
this.reportDisconnectToOwner(false);
|
15424
|
-
for (const call of this.activeCalls) {
|
15425
|
-
call.onDisconnect();
|
15426
|
-
}
|
15427
14951
|
setImmediate(() => {
|
14952
|
+
for (const call of this.activeCalls) {
|
14953
|
+
call.onDisconnect();
|
14954
|
+
}
|
15428
14955
|
this.session.destroy();
|
15429
14956
|
});
|
15430
14957
|
}
|
@@ -15752,13 +15279,12 @@ var require_transport = __commonJS({
|
|
15752
15279
|
}
|
15753
15280
|
});
|
15754
15281
|
|
15755
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15282
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js
|
15756
15283
|
var require_subchannel_pool = __commonJS({
|
15757
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15284
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js"(exports2) {
|
15758
15285
|
"use strict";
|
15759
15286
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
15760
|
-
exports2.SubchannelPool = void 0;
|
15761
|
-
exports2.getSubchannelPool = getSubchannelPool;
|
15287
|
+
exports2.getSubchannelPool = exports2.SubchannelPool = void 0;
|
15762
15288
|
var channel_options_1 = require_channel_options();
|
15763
15289
|
var subchannel_1 = require_subchannel();
|
15764
15290
|
var subchannel_address_1 = require_subchannel_address();
|
@@ -15851,12 +15377,13 @@ var require_subchannel_pool = __commonJS({
|
|
15851
15377
|
}
|
15852
15378
|
}
|
15853
15379
|
__name(getSubchannelPool, "getSubchannelPool");
|
15380
|
+
exports2.getSubchannelPool = getSubchannelPool;
|
15854
15381
|
}
|
15855
15382
|
});
|
15856
15383
|
|
15857
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15384
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/filter-stack.js
|
15858
15385
|
var require_filter_stack = __commonJS({
|
15859
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15386
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/filter-stack.js"(exports2) {
|
15860
15387
|
"use strict";
|
15861
15388
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
15862
15389
|
exports2.FilterStackFactory = exports2.FilterStack = void 0;
|
@@ -15931,9 +15458,9 @@ var require_filter_stack = __commonJS({
|
|
15931
15458
|
}
|
15932
15459
|
});
|
15933
15460
|
|
15934
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15461
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js
|
15935
15462
|
var require_compression_algorithms = __commonJS({
|
15936
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15463
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js"(exports2) {
|
15937
15464
|
"use strict";
|
15938
15465
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
15939
15466
|
exports2.CompressionAlgorithms = void 0;
|
@@ -15946,9 +15473,9 @@ var require_compression_algorithms = __commonJS({
|
|
15946
15473
|
}
|
15947
15474
|
});
|
15948
15475
|
|
15949
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15476
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/filter.js
|
15950
15477
|
var require_filter = __commonJS({
|
15951
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15478
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/filter.js"(exports2) {
|
15952
15479
|
"use strict";
|
15953
15480
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
15954
15481
|
exports2.BaseFilter = void 0;
|
@@ -15976,9 +15503,9 @@ var require_filter = __commonJS({
|
|
15976
15503
|
}
|
15977
15504
|
});
|
15978
15505
|
|
15979
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15506
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/compression-filter.js
|
15980
15507
|
var require_compression_filter = __commonJS({
|
15981
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15508
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/compression-filter.js"(exports2) {
|
15982
15509
|
"use strict";
|
15983
15510
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
15984
15511
|
exports2.CompressionFilterFactory = exports2.CompressionFilter = void 0;
|
@@ -16255,16 +15782,12 @@ var require_compression_filter = __commonJS({
|
|
16255
15782
|
}
|
16256
15783
|
});
|
16257
15784
|
|
16258
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15785
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/deadline.js
|
16259
15786
|
var require_deadline = __commonJS({
|
16260
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15787
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/deadline.js"(exports2) {
|
16261
15788
|
"use strict";
|
16262
15789
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
16263
|
-
exports2.minDeadline =
|
16264
|
-
exports2.getDeadlineTimeoutString = getDeadlineTimeoutString;
|
16265
|
-
exports2.getRelativeTimeout = getRelativeTimeout;
|
16266
|
-
exports2.deadlineToString = deadlineToString;
|
16267
|
-
exports2.formatDateDifference = formatDateDifference;
|
15790
|
+
exports2.formatDateDifference = exports2.deadlineToString = exports2.getRelativeTimeout = exports2.getDeadlineTimeoutString = exports2.minDeadline = void 0;
|
16268
15791
|
function minDeadline(...deadlineList) {
|
16269
15792
|
let minValue = Infinity;
|
16270
15793
|
for (const deadline of deadlineList) {
|
@@ -16276,6 +15799,7 @@ var require_deadline = __commonJS({
|
|
16276
15799
|
return minValue;
|
16277
15800
|
}
|
16278
15801
|
__name(minDeadline, "minDeadline");
|
15802
|
+
exports2.minDeadline = minDeadline;
|
16279
15803
|
var units = [
|
16280
15804
|
["m", 1],
|
16281
15805
|
["S", 1e3],
|
@@ -16297,6 +15821,7 @@ var require_deadline = __commonJS({
|
|
16297
15821
|
throw new Error("Deadline is too far in the future");
|
16298
15822
|
}
|
16299
15823
|
__name(getDeadlineTimeoutString, "getDeadlineTimeoutString");
|
15824
|
+
exports2.getDeadlineTimeoutString = getDeadlineTimeoutString;
|
16300
15825
|
var MAX_TIMEOUT_TIME = 2147483647;
|
16301
15826
|
function getRelativeTimeout(deadline) {
|
16302
15827
|
const deadlineMs = deadline instanceof Date ? deadline.getTime() : deadline;
|
@@ -16311,6 +15836,7 @@ var require_deadline = __commonJS({
|
|
16311
15836
|
}
|
16312
15837
|
}
|
16313
15838
|
__name(getRelativeTimeout, "getRelativeTimeout");
|
15839
|
+
exports2.getRelativeTimeout = getRelativeTimeout;
|
16314
15840
|
function deadlineToString(deadline) {
|
16315
15841
|
if (deadline instanceof Date) {
|
16316
15842
|
return deadline.toISOString();
|
@@ -16324,19 +15850,21 @@ var require_deadline = __commonJS({
|
|
16324
15850
|
}
|
16325
15851
|
}
|
16326
15852
|
__name(deadlineToString, "deadlineToString");
|
15853
|
+
exports2.deadlineToString = deadlineToString;
|
16327
15854
|
function formatDateDifference(startDate, endDate) {
|
16328
15855
|
return ((endDate.getTime() - startDate.getTime()) / 1e3).toFixed(3) + "s";
|
16329
15856
|
}
|
16330
15857
|
__name(formatDateDifference, "formatDateDifference");
|
15858
|
+
exports2.formatDateDifference = formatDateDifference;
|
16331
15859
|
}
|
16332
15860
|
});
|
16333
15861
|
|
16334
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15862
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/control-plane-status.js
|
16335
15863
|
var require_control_plane_status = __commonJS({
|
16336
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15864
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/control-plane-status.js"(exports2) {
|
16337
15865
|
"use strict";
|
16338
15866
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
16339
|
-
exports2.restrictControlPlaneStatusCode =
|
15867
|
+
exports2.restrictControlPlaneStatusCode = void 0;
|
16340
15868
|
var constants_1 = require_constants();
|
16341
15869
|
var INAPPROPRIATE_CONTROL_PLANE_CODES = [
|
16342
15870
|
constants_1.Status.OK,
|
@@ -16359,12 +15887,13 @@ var require_control_plane_status = __commonJS({
|
|
16359
15887
|
}
|
16360
15888
|
}
|
16361
15889
|
__name(restrictControlPlaneStatusCode, "restrictControlPlaneStatusCode");
|
15890
|
+
exports2.restrictControlPlaneStatusCode = restrictControlPlaneStatusCode;
|
16362
15891
|
}
|
16363
15892
|
});
|
16364
15893
|
|
16365
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15894
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js
|
16366
15895
|
var require_load_balancing_call = __commonJS({
|
16367
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
15896
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js"(exports2) {
|
16368
15897
|
"use strict";
|
16369
15898
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
16370
15899
|
exports2.LoadBalancingCall = void 0;
|
@@ -16601,9 +16130,9 @@ var require_load_balancing_call = __commonJS({
|
|
16601
16130
|
}
|
16602
16131
|
});
|
16603
16132
|
|
16604
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
16133
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolving-call.js
|
16605
16134
|
var require_resolving_call = __commonJS({
|
16606
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
16135
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolving-call.js"(exports2) {
|
16607
16136
|
"use strict";
|
16608
16137
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
16609
16138
|
exports2.ResolvingCall = void 0;
|
@@ -16881,9 +16410,9 @@ var require_resolving_call = __commonJS({
|
|
16881
16410
|
}
|
16882
16411
|
});
|
16883
16412
|
|
16884
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
16413
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/retrying-call.js
|
16885
16414
|
var require_retrying_call = __commonJS({
|
16886
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
16415
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/retrying-call.js"(exports2) {
|
16887
16416
|
"use strict";
|
16888
16417
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
16889
16418
|
exports2.RetryingCall = exports2.MessageBufferTracker = exports2.RetryThrottler = void 0;
|
@@ -17478,9 +17007,9 @@ var require_retrying_call = __commonJS({
|
|
17478
17007
|
}
|
17479
17008
|
});
|
17480
17009
|
|
17481
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17010
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js
|
17482
17011
|
var require_subchannel_interface = __commonJS({
|
17483
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17012
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js"(exports2) {
|
17484
17013
|
"use strict";
|
17485
17014
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
17486
17015
|
exports2.BaseSubchannelWrapper = void 0;
|
@@ -17558,9 +17087,9 @@ var require_subchannel_interface = __commonJS({
|
|
17558
17087
|
}
|
17559
17088
|
});
|
17560
17089
|
|
17561
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17090
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/internal-channel.js
|
17562
17091
|
var require_internal_channel = __commonJS({
|
17563
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17092
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/internal-channel.js"(exports2) {
|
17564
17093
|
"use strict";
|
17565
17094
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
17566
17095
|
exports2.InternalChannel = void 0;
|
@@ -17602,12 +17131,9 @@ var require_internal_channel = __commonJS({
|
|
17602
17131
|
this.subchannelStateListener = (subchannel, previousState, newState, keepaliveTime) => {
|
17603
17132
|
channel.throttleKeepalive(keepaliveTime);
|
17604
17133
|
};
|
17134
|
+
childSubchannel.addConnectivityStateListener(this.subchannelStateListener);
|
17605
17135
|
}
|
17606
17136
|
ref() {
|
17607
|
-
if (this.refCount === 0) {
|
17608
|
-
this.child.addConnectivityStateListener(this.subchannelStateListener);
|
17609
|
-
this.channel.addWrappedSubchannel(this);
|
17610
|
-
}
|
17611
17137
|
this.child.ref();
|
17612
17138
|
this.refCount += 1;
|
17613
17139
|
}
|
@@ -17638,35 +17164,12 @@ var require_internal_channel = __commonJS({
|
|
17638
17164
|
};
|
17639
17165
|
}
|
17640
17166
|
};
|
17641
|
-
var ChannelzInfoTracker = class {
|
17642
|
-
static {
|
17643
|
-
__name(this, "ChannelzInfoTracker");
|
17644
|
-
}
|
17645
|
-
constructor(target) {
|
17646
|
-
this.target = target;
|
17647
|
-
this.trace = new channelz_1.ChannelzTrace();
|
17648
|
-
this.callTracker = new channelz_1.ChannelzCallTracker();
|
17649
|
-
this.childrenTracker = new channelz_1.ChannelzChildrenTracker();
|
17650
|
-
this.state = connectivity_state_1.ConnectivityState.IDLE;
|
17651
|
-
}
|
17652
|
-
getChannelzInfoCallback() {
|
17653
|
-
return () => {
|
17654
|
-
return {
|
17655
|
-
target: this.target,
|
17656
|
-
state: this.state,
|
17657
|
-
trace: this.trace,
|
17658
|
-
callTracker: this.callTracker,
|
17659
|
-
children: this.childrenTracker.getChildLists()
|
17660
|
-
};
|
17661
|
-
};
|
17662
|
-
}
|
17663
|
-
};
|
17664
17167
|
var InternalChannel = class {
|
17665
17168
|
static {
|
17666
17169
|
__name(this, "InternalChannel");
|
17667
17170
|
}
|
17668
17171
|
constructor(target, credentials, options) {
|
17669
|
-
var _a, _b, _c, _d, _e, _f;
|
17172
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
17670
17173
|
this.credentials = credentials;
|
17671
17174
|
this.options = options;
|
17672
17175
|
this.connectivityState = connectivity_state_1.ConnectivityState.IDLE;
|
@@ -17674,13 +17177,14 @@ var require_internal_channel = __commonJS({
|
|
17674
17177
|
this.configSelectionQueue = [];
|
17675
17178
|
this.pickQueue = [];
|
17676
17179
|
this.connectivityStateWatchers = [];
|
17677
|
-
this.callRefTimer = null;
|
17678
17180
|
this.configSelector = null;
|
17679
17181
|
this.currentResolutionError = null;
|
17680
17182
|
this.wrappedSubchannels = /* @__PURE__ */ new Set();
|
17681
17183
|
this.callCount = 0;
|
17682
17184
|
this.idleTimer = null;
|
17683
17185
|
this.channelzEnabled = true;
|
17186
|
+
this.callTracker = new channelz_1.ChannelzCallTracker();
|
17187
|
+
this.childrenTracker = new channelz_1.ChannelzChildrenTracker();
|
17684
17188
|
this.randomChannelId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
|
17685
17189
|
if (typeof target !== "string") {
|
17686
17190
|
throw new TypeError("Channel target must be a string");
|
@@ -17693,7 +17197,7 @@ var require_internal_channel = __commonJS({
|
|
17693
17197
|
throw new TypeError("Channel options must be an object");
|
17694
17198
|
}
|
17695
17199
|
}
|
17696
|
-
this.
|
17200
|
+
this.originalTarget = target;
|
17697
17201
|
const originalTargetUri = (0, uri_parser_1.parseUri)(target);
|
17698
17202
|
if (originalTargetUri === null) {
|
17699
17203
|
throw new Error(`Could not parse target name "${target}"`);
|
@@ -17702,12 +17206,16 @@ var require_internal_channel = __commonJS({
|
|
17702
17206
|
if (defaultSchemeMapResult === null) {
|
17703
17207
|
throw new Error(`Could not find a default scheme for target name "${target}"`);
|
17704
17208
|
}
|
17209
|
+
this.callRefTimer = setInterval(() => {
|
17210
|
+
}, MAX_TIMEOUT_TIME);
|
17211
|
+
(_b = (_a = this.callRefTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
|
17705
17212
|
if (this.options["grpc.enable_channelz"] === 0) {
|
17706
17213
|
this.channelzEnabled = false;
|
17707
17214
|
}
|
17708
|
-
this.
|
17215
|
+
this.channelzTrace = new channelz_1.ChannelzTrace();
|
17216
|
+
this.channelzRef = (0, channelz_1.registerChannelzChannel)(target, () => this.getChannelzInfo(), this.channelzEnabled);
|
17709
17217
|
if (this.channelzEnabled) {
|
17710
|
-
this.
|
17218
|
+
this.channelzTrace.addTrace("CT_INFO", "Channel created");
|
17711
17219
|
}
|
17712
17220
|
if (this.options["grpc.default_authority"]) {
|
17713
17221
|
this.defaultAuthority = this.options["grpc.default_authority"];
|
@@ -17717,18 +17225,19 @@ var require_internal_channel = __commonJS({
|
|
17717
17225
|
const proxyMapResult = (0, http_proxy_1.mapProxyName)(defaultSchemeMapResult, options);
|
17718
17226
|
this.target = proxyMapResult.target;
|
17719
17227
|
this.options = Object.assign({}, this.options, proxyMapResult.extraOptions);
|
17720
|
-
this.subchannelPool = (0, subchannel_pool_1.getSubchannelPool)(((
|
17721
|
-
this.retryBufferTracker = new retrying_call_1.MessageBufferTracker((
|
17722
|
-
this.keepaliveTime = (
|
17723
|
-
this.idleTimeoutMs = Math.max((
|
17228
|
+
this.subchannelPool = (0, subchannel_pool_1.getSubchannelPool)(((_c = options["grpc.use_local_subchannel_pool"]) !== null && _c !== void 0 ? _c : 0) === 0);
|
17229
|
+
this.retryBufferTracker = new retrying_call_1.MessageBufferTracker((_d = options["grpc.retry_buffer_size"]) !== null && _d !== void 0 ? _d : DEFAULT_RETRY_BUFFER_SIZE_BYTES, (_e = options["grpc.per_rpc_retry_buffer_size"]) !== null && _e !== void 0 ? _e : DEFAULT_PER_RPC_RETRY_BUFFER_SIZE_BYTES);
|
17230
|
+
this.keepaliveTime = (_f = options["grpc.keepalive_time_ms"]) !== null && _f !== void 0 ? _f : -1;
|
17231
|
+
this.idleTimeoutMs = Math.max((_g = options["grpc.client_idle_timeout_ms"]) !== null && _g !== void 0 ? _g : DEFAULT_IDLE_TIMEOUT_MS, MIN_IDLE_TIMEOUT_MS);
|
17724
17232
|
const channelControlHelper = {
|
17725
17233
|
createSubchannel: /* @__PURE__ */ __name((subchannelAddress, subchannelArgs, credentialsOverride) => {
|
17726
17234
|
const subchannel = this.subchannelPool.getOrCreateSubchannel(this.target, subchannelAddress, Object.assign({}, this.options, subchannelArgs), credentialsOverride !== null && credentialsOverride !== void 0 ? credentialsOverride : this.credentials);
|
17727
17235
|
subchannel.throttleKeepalive(this.keepaliveTime);
|
17728
17236
|
if (this.channelzEnabled) {
|
17729
|
-
this.
|
17237
|
+
this.channelzTrace.addTrace("CT_INFO", "Created subchannel or used existing subchannel", subchannel.getChannelzRef());
|
17730
17238
|
}
|
17731
17239
|
const wrappedSubchannel = new ChannelSubchannelWrapper(subchannel, this);
|
17240
|
+
this.wrappedSubchannels.add(wrappedSubchannel);
|
17732
17241
|
return wrappedSubchannel;
|
17733
17242
|
}, "createSubchannel"),
|
17734
17243
|
updateState: /* @__PURE__ */ __name((connectivityState, picker) => {
|
@@ -17748,12 +17257,12 @@ var require_internal_channel = __commonJS({
|
|
17748
17257
|
}, "requestReresolution"),
|
17749
17258
|
addChannelzChild: /* @__PURE__ */ __name((child) => {
|
17750
17259
|
if (this.channelzEnabled) {
|
17751
|
-
this.
|
17260
|
+
this.childrenTracker.refChild(child);
|
17752
17261
|
}
|
17753
17262
|
}, "addChannelzChild"),
|
17754
17263
|
removeChannelzChild: /* @__PURE__ */ __name((child) => {
|
17755
17264
|
if (this.channelzEnabled) {
|
17756
|
-
this.
|
17265
|
+
this.childrenTracker.unrefChild(child);
|
17757
17266
|
}
|
17758
17267
|
}, "removeChannelzChild")
|
17759
17268
|
};
|
@@ -17764,7 +17273,7 @@ var require_internal_channel = __commonJS({
|
|
17764
17273
|
RETRY_THROTTLER_MAP.delete(this.getTarget());
|
17765
17274
|
}
|
17766
17275
|
if (this.channelzEnabled) {
|
17767
|
-
this.
|
17276
|
+
this.channelzTrace.addTrace("CT_INFO", "Address resolution succeeded");
|
17768
17277
|
}
|
17769
17278
|
this.configSelector = configSelector;
|
17770
17279
|
this.currentResolutionError = null;
|
@@ -17780,7 +17289,7 @@ var require_internal_channel = __commonJS({
|
|
17780
17289
|
});
|
17781
17290
|
}, (status) => {
|
17782
17291
|
if (this.channelzEnabled) {
|
17783
|
-
this.
|
17292
|
+
this.channelzTrace.addTrace("CT_WARNING", "Address resolution failed with code " + status.code + ' and details "' + status.details + '"');
|
17784
17293
|
}
|
17785
17294
|
if (this.configSelectionQueue.length > 0) {
|
17786
17295
|
this.trace("Name resolution failed with calls queued for config selection");
|
@@ -17803,29 +17312,34 @@ var require_internal_channel = __commonJS({
|
|
17803
17312
|
this.trace("Channel constructed with options " + JSON.stringify(options, void 0, 2));
|
17804
17313
|
const error = new Error();
|
17805
17314
|
if ((0, logging_1.isTracerEnabled)("channel_stacktrace")) {
|
17806
|
-
(0, logging_1.trace)(constants_1.LogVerbosity.DEBUG, "channel_stacktrace", "(" + this.channelzRef.id + ") Channel constructed \n" + ((
|
17315
|
+
(0, logging_1.trace)(constants_1.LogVerbosity.DEBUG, "channel_stacktrace", "(" + this.channelzRef.id + ") Channel constructed \n" + ((_h = error.stack) === null || _h === void 0 ? void 0 : _h.substring(error.stack.indexOf("\n") + 1)));
|
17807
17316
|
}
|
17808
17317
|
this.lastActivityTimestamp = /* @__PURE__ */ new Date();
|
17809
17318
|
}
|
17319
|
+
getChannelzInfo() {
|
17320
|
+
return {
|
17321
|
+
target: this.originalTarget,
|
17322
|
+
state: this.connectivityState,
|
17323
|
+
trace: this.channelzTrace,
|
17324
|
+
callTracker: this.callTracker,
|
17325
|
+
children: this.childrenTracker.getChildLists()
|
17326
|
+
};
|
17327
|
+
}
|
17810
17328
|
trace(text, verbosityOverride) {
|
17811
17329
|
(0, logging_1.trace)(verbosityOverride !== null && verbosityOverride !== void 0 ? verbosityOverride : constants_1.LogVerbosity.DEBUG, "channel", "(" + this.channelzRef.id + ") " + (0, uri_parser_1.uriToString)(this.target) + " " + text);
|
17812
17330
|
}
|
17813
17331
|
callRefTimerRef() {
|
17814
17332
|
var _a, _b, _c, _d;
|
17815
|
-
if (!this.callRefTimer) {
|
17816
|
-
this.callRefTimer = setInterval(() => {
|
17817
|
-
}, MAX_TIMEOUT_TIME);
|
17818
|
-
}
|
17819
17333
|
if (!((_b = (_a = this.callRefTimer).hasRef) === null || _b === void 0 ? void 0 : _b.call(_a))) {
|
17820
17334
|
this.trace("callRefTimer.ref | configSelectionQueue.length=" + this.configSelectionQueue.length + " pickQueue.length=" + this.pickQueue.length);
|
17821
17335
|
(_d = (_c = this.callRefTimer).ref) === null || _d === void 0 ? void 0 : _d.call(_c);
|
17822
17336
|
}
|
17823
17337
|
}
|
17824
17338
|
callRefTimerUnref() {
|
17825
|
-
var _a, _b
|
17826
|
-
if (!
|
17339
|
+
var _a, _b;
|
17340
|
+
if (!this.callRefTimer.hasRef || this.callRefTimer.hasRef()) {
|
17827
17341
|
this.trace("callRefTimer.unref | configSelectionQueue.length=" + this.configSelectionQueue.length + " pickQueue.length=" + this.pickQueue.length);
|
17828
|
-
(
|
17342
|
+
(_b = (_a = this.callRefTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
|
17829
17343
|
}
|
17830
17344
|
}
|
17831
17345
|
removeConnectivityStateWatcher(watcherObject) {
|
@@ -17837,10 +17351,9 @@ var require_internal_channel = __commonJS({
|
|
17837
17351
|
updateState(newState) {
|
17838
17352
|
(0, logging_1.trace)(constants_1.LogVerbosity.DEBUG, "connectivity_state", "(" + this.channelzRef.id + ") " + (0, uri_parser_1.uriToString)(this.target) + " " + connectivity_state_1.ConnectivityState[this.connectivityState] + " -> " + connectivity_state_1.ConnectivityState[newState]);
|
17839
17353
|
if (this.channelzEnabled) {
|
17840
|
-
this.
|
17354
|
+
this.channelzTrace.addTrace("CT_INFO", "Connectivity state change to " + connectivity_state_1.ConnectivityState[newState]);
|
17841
17355
|
}
|
17842
17356
|
this.connectivityState = newState;
|
17843
|
-
this.channelzInfoTracker.state = newState;
|
17844
17357
|
const watchersCopy = this.connectivityStateWatchers.slice();
|
17845
17358
|
for (const watcherObject of watchersCopy) {
|
17846
17359
|
if (newState !== watcherObject.currentState) {
|
@@ -17863,9 +17376,6 @@ var require_internal_channel = __commonJS({
|
|
17863
17376
|
}
|
17864
17377
|
}
|
17865
17378
|
}
|
17866
|
-
addWrappedSubchannel(wrappedSubchannel) {
|
17867
|
-
this.wrappedSubchannels.add(wrappedSubchannel);
|
17868
|
-
}
|
17869
17379
|
removeWrappedSubchannel(wrappedSubchannel) {
|
17870
17380
|
this.wrappedSubchannels.delete(wrappedSubchannel);
|
17871
17381
|
}
|
@@ -17913,10 +17423,6 @@ var require_internal_channel = __commonJS({
|
|
17913
17423
|
clearTimeout(this.idleTimer);
|
17914
17424
|
this.idleTimer = null;
|
17915
17425
|
}
|
17916
|
-
if (this.callRefTimer) {
|
17917
|
-
clearInterval(this.callRefTimer);
|
17918
|
-
this.callRefTimer = null;
|
17919
|
-
}
|
17920
17426
|
}
|
17921
17427
|
startIdleTimeout(timeoutMs) {
|
17922
17428
|
var _a, _b;
|
@@ -17943,16 +17449,16 @@ var require_internal_channel = __commonJS({
|
|
17943
17449
|
}
|
17944
17450
|
onCallStart() {
|
17945
17451
|
if (this.channelzEnabled) {
|
17946
|
-
this.
|
17452
|
+
this.callTracker.addCallStarted();
|
17947
17453
|
}
|
17948
17454
|
this.callCount += 1;
|
17949
17455
|
}
|
17950
17456
|
onCallEnd(status) {
|
17951
17457
|
if (this.channelzEnabled) {
|
17952
17458
|
if (status.code === constants_1.Status.OK) {
|
17953
|
-
this.
|
17459
|
+
this.callTracker.addCallSucceeded();
|
17954
17460
|
} else {
|
17955
|
-
this.
|
17461
|
+
this.callTracker.addCallFailed();
|
17956
17462
|
}
|
17957
17463
|
}
|
17958
17464
|
this.callCount -= 1;
|
@@ -18004,9 +17510,7 @@ var require_internal_channel = __commonJS({
|
|
18004
17510
|
call.cancelWithStatus(constants_1.Status.UNAVAILABLE, "Channel closed before call started");
|
18005
17511
|
}
|
18006
17512
|
this.pickQueue = [];
|
18007
|
-
|
18008
|
-
clearInterval(this.callRefTimer);
|
18009
|
-
}
|
17513
|
+
clearInterval(this.callRefTimer);
|
18010
17514
|
if (this.idleTimer) {
|
18011
17515
|
clearTimeout(this.idleTimer);
|
18012
17516
|
}
|
@@ -18079,9 +17583,9 @@ var require_internal_channel = __commonJS({
|
|
18079
17583
|
}
|
18080
17584
|
});
|
18081
17585
|
|
18082
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17586
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channel.js
|
18083
17587
|
var require_channel = __commonJS({
|
18084
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17588
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/channel.js"(exports2) {
|
18085
17589
|
"use strict";
|
18086
17590
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
18087
17591
|
exports2.ChannelImplementation = void 0;
|
@@ -18139,13 +17643,12 @@ var require_channel = __commonJS({
|
|
18139
17643
|
}
|
18140
17644
|
});
|
18141
17645
|
|
18142
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17646
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server-call.js
|
18143
17647
|
var require_server_call = __commonJS({
|
18144
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17648
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server-call.js"(exports2) {
|
18145
17649
|
"use strict";
|
18146
17650
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
18147
|
-
exports2.ServerDuplexStreamImpl = exports2.ServerWritableStreamImpl = exports2.ServerReadableStreamImpl = exports2.ServerUnaryCallImpl = void 0;
|
18148
|
-
exports2.serverErrorToStatus = serverErrorToStatus;
|
17651
|
+
exports2.ServerDuplexStreamImpl = exports2.ServerWritableStreamImpl = exports2.ServerReadableStreamImpl = exports2.ServerUnaryCallImpl = exports2.serverErrorToStatus = void 0;
|
18149
17652
|
var events_1 = __require("events");
|
18150
17653
|
var stream_1 = __require("stream");
|
18151
17654
|
var constants_1 = require_constants();
|
@@ -18166,6 +17669,7 @@ var require_server_call = __commonJS({
|
|
18166
17669
|
return status;
|
18167
17670
|
}
|
18168
17671
|
__name(serverErrorToStatus, "serverErrorToStatus");
|
17672
|
+
exports2.serverErrorToStatus = serverErrorToStatus;
|
18169
17673
|
var ServerUnaryCallImpl = class extends events_1.EventEmitter {
|
18170
17674
|
static {
|
18171
17675
|
__name(this, "ServerUnaryCallImpl");
|
@@ -18337,14 +17841,12 @@ var require_server_call = __commonJS({
|
|
18337
17841
|
}
|
18338
17842
|
});
|
18339
17843
|
|
18340
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17844
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server-credentials.js
|
18341
17845
|
var require_server_credentials = __commonJS({
|
18342
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
17846
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server-credentials.js"(exports2) {
|
18343
17847
|
"use strict";
|
18344
17848
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
18345
|
-
exports2.ServerCredentials = void 0;
|
18346
|
-
exports2.createCertificateProviderServerCredentials = createCertificateProviderServerCredentials;
|
18347
|
-
exports2.createServerCredentialsWithInterceptors = createServerCredentialsWithInterceptors;
|
17849
|
+
exports2.createServerCredentialsWithInterceptors = exports2.createCertificateProviderServerCredentials = exports2.ServerCredentials = void 0;
|
18348
17850
|
var tls_helpers_1 = require_tls_helpers();
|
18349
17851
|
var ServerCredentials = class {
|
18350
17852
|
static {
|
@@ -18589,6 +18091,7 @@ var require_server_credentials = __commonJS({
|
|
18589
18091
|
return new CertificateProviderServerCredentials(caCertificateProvider, identityCertificateProvider, requireClientCertificate);
|
18590
18092
|
}
|
18591
18093
|
__name(createCertificateProviderServerCredentials, "createCertificateProviderServerCredentials");
|
18094
|
+
exports2.createCertificateProviderServerCredentials = createCertificateProviderServerCredentials;
|
18592
18095
|
var InterceptorServerCredentials = class _InterceptorServerCredentials extends ServerCredentials {
|
18593
18096
|
static {
|
18594
18097
|
__name(this, "InterceptorServerCredentials");
|
@@ -18632,17 +18135,16 @@ var require_server_credentials = __commonJS({
|
|
18632
18135
|
return new InterceptorServerCredentials(credentials, interceptors);
|
18633
18136
|
}
|
18634
18137
|
__name(createServerCredentialsWithInterceptors, "createServerCredentialsWithInterceptors");
|
18138
|
+
exports2.createServerCredentialsWithInterceptors = createServerCredentialsWithInterceptors;
|
18635
18139
|
}
|
18636
18140
|
});
|
18637
18141
|
|
18638
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
18142
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server-interceptors.js
|
18639
18143
|
var require_server_interceptors = __commonJS({
|
18640
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
18144
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server-interceptors.js"(exports2) {
|
18641
18145
|
"use strict";
|
18642
18146
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
18643
|
-
exports2.BaseServerInterceptingCall = exports2.ServerInterceptingCall = exports2.ResponderBuilder = exports2.ServerListenerBuilder = void 0;
|
18644
|
-
exports2.isInterceptingServerListener = isInterceptingServerListener;
|
18645
|
-
exports2.getServerInterceptingCall = getServerInterceptingCall;
|
18147
|
+
exports2.getServerInterceptingCall = exports2.BaseServerInterceptingCall = exports2.ServerInterceptingCall = exports2.ResponderBuilder = exports2.isInterceptingServerListener = exports2.ServerListenerBuilder = void 0;
|
18646
18148
|
var metadata_1 = require_metadata();
|
18647
18149
|
var constants_1 = require_constants();
|
18648
18150
|
var http2 = __require("http2");
|
@@ -18695,6 +18197,7 @@ var require_server_interceptors = __commonJS({
|
|
18695
18197
|
return listener.onReceiveMetadata !== void 0 && listener.onReceiveMetadata.length === 1;
|
18696
18198
|
}
|
18697
18199
|
__name(isInterceptingServerListener, "isInterceptingServerListener");
|
18200
|
+
exports2.isInterceptingServerListener = isInterceptingServerListener;
|
18698
18201
|
var InterceptingServerListenerImpl = class {
|
18699
18202
|
static {
|
18700
18203
|
__name(this, "InterceptingServerListenerImpl");
|
@@ -19352,12 +18855,13 @@ var require_server_interceptors = __commonJS({
|
|
19352
18855
|
}, baseCall);
|
19353
18856
|
}
|
19354
18857
|
__name(getServerInterceptingCall, "getServerInterceptingCall");
|
18858
|
+
exports2.getServerInterceptingCall = getServerInterceptingCall;
|
19355
18859
|
}
|
19356
18860
|
});
|
19357
18861
|
|
19358
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
18862
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server.js
|
19359
18863
|
var require_server = __commonJS({
|
19360
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
18864
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/server.js"(exports2) {
|
19361
18865
|
"use strict";
|
19362
18866
|
var __runInitializers = exports2 && exports2.__runInitializers || function(thisArg, initializers, value) {
|
19363
18867
|
var useValue = arguments.length > 2;
|
@@ -20778,9 +20282,9 @@ var require_server = __commonJS({
|
|
20778
20282
|
}
|
20779
20283
|
});
|
20780
20284
|
|
20781
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20285
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/status-builder.js
|
20782
20286
|
var require_status_builder = __commonJS({
|
20783
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20287
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/status-builder.js"(exports2) {
|
20784
20288
|
"use strict";
|
20785
20289
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
20786
20290
|
exports2.StatusBuilder = void 0;
|
@@ -20835,15 +20339,12 @@ var require_status_builder = __commonJS({
|
|
20835
20339
|
}
|
20836
20340
|
});
|
20837
20341
|
|
20838
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20342
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/duration.js
|
20839
20343
|
var require_duration = __commonJS({
|
20840
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20344
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/duration.js"(exports2) {
|
20841
20345
|
"use strict";
|
20842
20346
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
20843
|
-
exports2.msToDuration =
|
20844
|
-
exports2.durationToMs = durationToMs;
|
20845
|
-
exports2.isDuration = isDuration;
|
20846
|
-
exports2.parseDuration = parseDuration;
|
20347
|
+
exports2.parseDuration = exports2.isDuration = exports2.durationToMs = exports2.msToDuration = void 0;
|
20847
20348
|
function msToDuration(millis) {
|
20848
20349
|
return {
|
20849
20350
|
seconds: millis / 1e3 | 0,
|
@@ -20851,14 +20352,17 @@ var require_duration = __commonJS({
|
|
20851
20352
|
};
|
20852
20353
|
}
|
20853
20354
|
__name(msToDuration, "msToDuration");
|
20355
|
+
exports2.msToDuration = msToDuration;
|
20854
20356
|
function durationToMs(duration) {
|
20855
20357
|
return duration.seconds * 1e3 + duration.nanos / 1e6 | 0;
|
20856
20358
|
}
|
20857
20359
|
__name(durationToMs, "durationToMs");
|
20360
|
+
exports2.durationToMs = durationToMs;
|
20858
20361
|
function isDuration(value) {
|
20859
20362
|
return typeof value.seconds === "number" && typeof value.nanos === "number";
|
20860
20363
|
}
|
20861
20364
|
__name(isDuration, "isDuration");
|
20365
|
+
exports2.isDuration = isDuration;
|
20862
20366
|
var durationRegex = /^(\d+)(?:\.(\d+))?s$/;
|
20863
20367
|
function parseDuration(value) {
|
20864
20368
|
const match = value.match(durationRegex);
|
@@ -20871,17 +20375,16 @@ var require_duration = __commonJS({
|
|
20871
20375
|
};
|
20872
20376
|
}
|
20873
20377
|
__name(parseDuration, "parseDuration");
|
20378
|
+
exports2.parseDuration = parseDuration;
|
20874
20379
|
}
|
20875
20380
|
});
|
20876
20381
|
|
20877
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20382
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js
|
20878
20383
|
var require_load_balancer_pick_first = __commonJS({
|
20879
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20384
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js"(exports2) {
|
20880
20385
|
"use strict";
|
20881
20386
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
20882
|
-
exports2.LeafLoadBalancer = exports2.PickFirstLoadBalancer = exports2.PickFirstLoadBalancingConfig = void 0;
|
20883
|
-
exports2.shuffled = shuffled;
|
20884
|
-
exports2.setup = setup;
|
20387
|
+
exports2.setup = exports2.LeafLoadBalancer = exports2.PickFirstLoadBalancer = exports2.shuffled = exports2.PickFirstLoadBalancingConfig = void 0;
|
20885
20388
|
var load_balancer_1 = require_load_balancer();
|
20886
20389
|
var connectivity_state_1 = require_connectivity_state();
|
20887
20390
|
var picker_1 = require_picker();
|
@@ -20954,6 +20457,7 @@ var require_load_balancer_pick_first = __commonJS({
|
|
20954
20457
|
return result;
|
20955
20458
|
}
|
20956
20459
|
__name(shuffled, "shuffled");
|
20460
|
+
exports2.shuffled = shuffled;
|
20957
20461
|
function interleaveAddressFamilies(addressList) {
|
20958
20462
|
const result = [];
|
20959
20463
|
const ipv6Addresses = [];
|
@@ -21276,12 +20780,13 @@ var require_load_balancer_pick_first = __commonJS({
|
|
21276
20780
|
(0, load_balancer_1.registerDefaultLoadBalancerType)(TYPE_NAME);
|
21277
20781
|
}
|
21278
20782
|
__name(setup, "setup");
|
20783
|
+
exports2.setup = setup;
|
21279
20784
|
}
|
21280
20785
|
});
|
21281
20786
|
|
21282
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20787
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/certificate-provider.js
|
21283
20788
|
var require_certificate_provider = __commonJS({
|
21284
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20789
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/certificate-provider.js"(exports2) {
|
21285
20790
|
"use strict";
|
21286
20791
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
21287
20792
|
exports2.FileWatcherCertificateProvider = void 0;
|
@@ -21400,9 +20905,9 @@ var require_certificate_provider = __commonJS({
|
|
21400
20905
|
}
|
21401
20906
|
});
|
21402
20907
|
|
21403
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20908
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/experimental.js
|
21404
20909
|
var require_experimental = __commonJS({
|
21405
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
20910
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/experimental.js"(exports2) {
|
21406
20911
|
"use strict";
|
21407
20912
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
21408
20913
|
exports2.createCertificateProviderChannelCredentials = exports2.FileWatcherCertificateProvider = exports2.createCertificateProviderServerCredentials = exports2.createServerCredentialsWithInterceptors = exports2.BaseSubchannelWrapper = exports2.registerAdminService = exports2.FilterStackFactory = exports2.BaseFilter = exports2.PickResultType = exports2.QueuePicker = exports2.UnavailablePicker = exports2.ChildLoadBalancerHandler = exports2.EndpointMap = exports2.endpointHasAddress = exports2.endpointToString = exports2.subchannelAddressToString = exports2.LeafLoadBalancer = exports2.isLoadBalancerNameRegistered = exports2.parseLoadBalancingConfig = exports2.selectLbConfigFromList = exports2.registerLoadBalancerType = exports2.createChildChannelControlHelper = exports2.BackoffTimeout = exports2.parseDuration = exports2.durationToMs = exports2.splitHostPort = exports2.uriToString = exports2.createResolver = exports2.registerResolver = exports2.log = exports2.trace = void 0;
|
@@ -21519,12 +21024,12 @@ var require_experimental = __commonJS({
|
|
21519
21024
|
}
|
21520
21025
|
});
|
21521
21026
|
|
21522
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21027
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver-uds.js
|
21523
21028
|
var require_resolver_uds = __commonJS({
|
21524
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21029
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver-uds.js"(exports2) {
|
21525
21030
|
"use strict";
|
21526
21031
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
21527
|
-
exports2.setup =
|
21032
|
+
exports2.setup = void 0;
|
21528
21033
|
var resolver_1 = require_resolver();
|
21529
21034
|
var UdsResolver = class {
|
21530
21035
|
static {
|
@@ -21559,15 +21064,16 @@ var require_resolver_uds = __commonJS({
|
|
21559
21064
|
(0, resolver_1.registerResolver)("unix", UdsResolver);
|
21560
21065
|
}
|
21561
21066
|
__name(setup, "setup");
|
21067
|
+
exports2.setup = setup;
|
21562
21068
|
}
|
21563
21069
|
});
|
21564
21070
|
|
21565
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21071
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver-ip.js
|
21566
21072
|
var require_resolver_ip = __commonJS({
|
21567
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21073
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/resolver-ip.js"(exports2) {
|
21568
21074
|
"use strict";
|
21569
21075
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
21570
|
-
exports2.setup =
|
21076
|
+
exports2.setup = void 0;
|
21571
21077
|
var net_1 = __require("net");
|
21572
21078
|
var constants_1 = require_constants();
|
21573
21079
|
var metadata_1 = require_metadata();
|
@@ -21653,16 +21159,16 @@ var require_resolver_ip = __commonJS({
|
|
21653
21159
|
(0, resolver_1.registerResolver)(IPV6_SCHEME, IpResolver);
|
21654
21160
|
}
|
21655
21161
|
__name(setup, "setup");
|
21162
|
+
exports2.setup = setup;
|
21656
21163
|
}
|
21657
21164
|
});
|
21658
21165
|
|
21659
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21166
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js
|
21660
21167
|
var require_load_balancer_round_robin = __commonJS({
|
21661
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21168
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js"(exports2) {
|
21662
21169
|
"use strict";
|
21663
21170
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
21664
|
-
exports2.RoundRobinLoadBalancer = void 0;
|
21665
|
-
exports2.setup = setup;
|
21171
|
+
exports2.setup = exports2.RoundRobinLoadBalancer = void 0;
|
21666
21172
|
var load_balancer_1 = require_load_balancer();
|
21667
21173
|
var connectivity_state_1 = require_connectivity_state();
|
21668
21174
|
var picker_1 = require_picker();
|
@@ -21817,17 +21323,17 @@ var require_load_balancer_round_robin = __commonJS({
|
|
21817
21323
|
(0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, RoundRobinLoadBalancer, RoundRobinLoadBalancingConfig);
|
21818
21324
|
}
|
21819
21325
|
__name(setup, "setup");
|
21326
|
+
exports2.setup = setup;
|
21820
21327
|
}
|
21821
21328
|
});
|
21822
21329
|
|
21823
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21330
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js
|
21824
21331
|
var require_load_balancer_outlier_detection = __commonJS({
|
21825
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21332
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js"(exports2) {
|
21826
21333
|
"use strict";
|
21827
21334
|
var _a;
|
21828
21335
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
21829
|
-
exports2.OutlierDetectionLoadBalancer = exports2.OutlierDetectionLoadBalancingConfig = void 0;
|
21830
|
-
exports2.setup = setup;
|
21336
|
+
exports2.setup = exports2.OutlierDetectionLoadBalancer = exports2.OutlierDetectionLoadBalancingConfig = void 0;
|
21831
21337
|
var connectivity_state_1 = require_connectivity_state();
|
21832
21338
|
var constants_1 = require_constants();
|
21833
21339
|
var duration_1 = require_duration();
|
@@ -22331,12 +21837,13 @@ var require_load_balancer_outlier_detection = __commonJS({
|
|
22331
21837
|
}
|
22332
21838
|
}
|
22333
21839
|
__name(setup, "setup");
|
21840
|
+
exports2.setup = setup;
|
22334
21841
|
}
|
22335
21842
|
});
|
22336
21843
|
|
22337
|
-
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21844
|
+
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/index.js
|
22338
21845
|
var require_src3 = __commonJS({
|
22339
|
-
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.
|
21846
|
+
"../../node_modules/.pnpm/@grpc+grpc-js@1.12.2/node_modules/@grpc/grpc-js/build/src/index.js"(exports2) {
|
22340
21847
|
"use strict";
|
22341
21848
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
22342
21849
|
exports2.experimental = exports2.ServerInterceptingCall = exports2.ResponderBuilder = exports2.ServerListenerBuilder = exports2.addAdminServicesToServer = exports2.getChannelzHandlers = exports2.getChannelzServiceDefinition = exports2.InterceptorConfigurationError = exports2.InterceptingCall = exports2.RequesterBuilder = exports2.ListenerBuilder = exports2.StatusBuilder = exports2.getClientChannel = exports2.ServerCredentials = exports2.Server = exports2.setLogVerbosity = exports2.setLogger = exports2.load = exports2.loadObject = exports2.CallCredentials = exports2.ChannelCredentials = exports2.waitForClientReady = exports2.closeClient = exports2.Channel = exports2.makeGenericClientConstructor = exports2.makeClientConstructor = exports2.loadPackageDefinition = exports2.Client = exports2.compressionAlgorithms = exports2.propagate = exports2.connectivityState = exports2.status = exports2.logVerbosity = exports2.Metadata = exports2.credentials = void 0;
|
@@ -22510,13 +22017,12 @@ var require_src3 = __commonJS({
|
|
22510
22017
|
}
|
22511
22018
|
});
|
22512
22019
|
|
22513
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22020
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/service-definitions/grpc-js.js
|
22514
22021
|
var require_grpc_js = __commonJS({
|
22515
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22022
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/service-definitions/grpc-js.js"(exports2) {
|
22516
22023
|
"use strict";
|
22517
22024
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
22518
|
-
exports2.fromGrpcJsServiceDefinition =
|
22519
|
-
exports2.isGrpcJsServiceDefinition = isGrpcJsServiceDefinition;
|
22025
|
+
exports2.isGrpcJsServiceDefinition = exports2.fromGrpcJsServiceDefinition = void 0;
|
22520
22026
|
function fromGrpcJsServiceDefinition(definition) {
|
22521
22027
|
const result = {};
|
22522
22028
|
for (const [key, method] of Object.entries(definition)) {
|
@@ -22534,20 +22040,21 @@ var require_grpc_js = __commonJS({
|
|
22534
22040
|
return result;
|
22535
22041
|
}
|
22536
22042
|
__name(fromGrpcJsServiceDefinition, "fromGrpcJsServiceDefinition");
|
22043
|
+
exports2.fromGrpcJsServiceDefinition = fromGrpcJsServiceDefinition;
|
22537
22044
|
function isGrpcJsServiceDefinition(definition) {
|
22538
22045
|
return Object.values(definition).every((value) => typeof value === "object" && value != null && typeof value.path === "string");
|
22539
22046
|
}
|
22540
22047
|
__name(isGrpcJsServiceDefinition, "isGrpcJsServiceDefinition");
|
22048
|
+
exports2.isGrpcJsServiceDefinition = isGrpcJsServiceDefinition;
|
22541
22049
|
}
|
22542
22050
|
});
|
22543
22051
|
|
22544
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22052
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/service-definitions/ts-proto.js
|
22545
22053
|
var require_ts_proto = __commonJS({
|
22546
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22054
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/service-definitions/ts-proto.js"(exports2) {
|
22547
22055
|
"use strict";
|
22548
22056
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
22549
|
-
exports2.fromTsProtoServiceDefinition =
|
22550
|
-
exports2.isTsProtoServiceDefinition = isTsProtoServiceDefinition;
|
22057
|
+
exports2.isTsProtoServiceDefinition = exports2.fromTsProtoServiceDefinition = void 0;
|
22551
22058
|
function fromTsProtoServiceDefinition(definition) {
|
22552
22059
|
const result = {};
|
22553
22060
|
for (const [key, method] of Object.entries(definition.methods)) {
|
@@ -22569,21 +22076,21 @@ var require_ts_proto = __commonJS({
|
|
22569
22076
|
return result;
|
22570
22077
|
}
|
22571
22078
|
__name(fromTsProtoServiceDefinition, "fromTsProtoServiceDefinition");
|
22079
|
+
exports2.fromTsProtoServiceDefinition = fromTsProtoServiceDefinition;
|
22572
22080
|
function isTsProtoServiceDefinition(definition) {
|
22573
22081
|
return "name" in definition && "fullName" in definition && "methods" in definition;
|
22574
22082
|
}
|
22575
22083
|
__name(isTsProtoServiceDefinition, "isTsProtoServiceDefinition");
|
22084
|
+
exports2.isTsProtoServiceDefinition = isTsProtoServiceDefinition;
|
22576
22085
|
}
|
22577
22086
|
});
|
22578
22087
|
|
22579
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22088
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/service-definitions/index.js
|
22580
22089
|
var require_service_definitions = __commonJS({
|
22581
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22090
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/service-definitions/index.js"(exports2) {
|
22582
22091
|
"use strict";
|
22583
22092
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
22584
|
-
exports2.normalizeServiceDefinition =
|
22585
|
-
exports2.toGrpcJsServiceDefinition = toGrpcJsServiceDefinition;
|
22586
|
-
exports2.toGrpcJsMethodDefinition = toGrpcJsMethodDefinition;
|
22093
|
+
exports2.toGrpcJsMethodDefinition = exports2.toGrpcJsServiceDefinition = exports2.normalizeServiceDefinition = void 0;
|
22587
22094
|
var grpc_js_1 = require_grpc_js();
|
22588
22095
|
var ts_proto_1 = require_ts_proto();
|
22589
22096
|
function normalizeServiceDefinition(definition) {
|
@@ -22596,6 +22103,7 @@ var require_service_definitions = __commonJS({
|
|
22596
22103
|
}
|
22597
22104
|
}
|
22598
22105
|
__name(normalizeServiceDefinition, "normalizeServiceDefinition");
|
22106
|
+
exports2.normalizeServiceDefinition = normalizeServiceDefinition;
|
22599
22107
|
function toGrpcJsServiceDefinition(definition) {
|
22600
22108
|
const result = {};
|
22601
22109
|
for (const [key, method] of Object.entries(definition)) {
|
@@ -22604,6 +22112,7 @@ var require_service_definitions = __commonJS({
|
|
22604
22112
|
return result;
|
22605
22113
|
}
|
22606
22114
|
__name(toGrpcJsServiceDefinition, "toGrpcJsServiceDefinition");
|
22115
|
+
exports2.toGrpcJsServiceDefinition = toGrpcJsServiceDefinition;
|
22607
22116
|
function toGrpcJsMethodDefinition(definition) {
|
22608
22117
|
return {
|
22609
22118
|
path: definition.path,
|
@@ -22616,6 +22125,7 @@ var require_service_definitions = __commonJS({
|
|
22616
22125
|
};
|
22617
22126
|
}
|
22618
22127
|
__name(toGrpcJsMethodDefinition, "toGrpcJsMethodDefinition");
|
22128
|
+
exports2.toGrpcJsMethodDefinition = toGrpcJsMethodDefinition;
|
22619
22129
|
}
|
22620
22130
|
});
|
22621
22131
|
|
@@ -23195,9 +22705,9 @@ var init_es2 = __esm({
|
|
23195
22705
|
}
|
23196
22706
|
});
|
23197
22707
|
|
23198
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22708
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/utils/convertMetadata.js
|
23199
22709
|
var require_convertMetadata = __commonJS({
|
23200
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22710
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/utils/convertMetadata.js"(exports2) {
|
23201
22711
|
"use strict";
|
23202
22712
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
23203
22713
|
if (k2 === void 0) k2 = k;
|
@@ -23217,28 +22727,17 @@ var require_convertMetadata = __commonJS({
|
|
23217
22727
|
} : function(o, v) {
|
23218
22728
|
o["default"] = v;
|
23219
22729
|
});
|
23220
|
-
var __importStar = exports2 && exports2.__importStar ||
|
23221
|
-
|
23222
|
-
|
23223
|
-
|
23224
|
-
|
23225
|
-
|
23226
|
-
|
23227
|
-
|
23228
|
-
|
23229
|
-
return function(mod2) {
|
23230
|
-
if (mod2 && mod2.__esModule) return mod2;
|
23231
|
-
var result = {};
|
23232
|
-
if (mod2 != null) {
|
23233
|
-
for (var k = ownKeys(mod2), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod2, k[i]);
|
23234
|
-
}
|
23235
|
-
__setModuleDefault(result, mod2);
|
23236
|
-
return result;
|
23237
|
-
};
|
23238
|
-
}();
|
22730
|
+
var __importStar = exports2 && exports2.__importStar || function(mod2) {
|
22731
|
+
if (mod2 && mod2.__esModule) return mod2;
|
22732
|
+
var result = {};
|
22733
|
+
if (mod2 != null) {
|
22734
|
+
for (var k in mod2) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod2, k)) __createBinding(result, mod2, k);
|
22735
|
+
}
|
22736
|
+
__setModuleDefault(result, mod2);
|
22737
|
+
return result;
|
22738
|
+
};
|
23239
22739
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23240
|
-
exports2.convertMetadataToGrpcJs =
|
23241
|
-
exports2.convertMetadataFromGrpcJs = convertMetadataFromGrpcJs;
|
22740
|
+
exports2.convertMetadataFromGrpcJs = exports2.convertMetadataToGrpcJs = void 0;
|
23242
22741
|
var grpc = __importStar(require_src3());
|
23243
22742
|
var nice_grpc_common_1 = require_lib();
|
23244
22743
|
function convertMetadataToGrpcJs(metadata) {
|
@@ -23251,6 +22750,7 @@ var require_convertMetadata = __commonJS({
|
|
23251
22750
|
return grpcMetadata;
|
23252
22751
|
}
|
23253
22752
|
__name(convertMetadataToGrpcJs, "convertMetadataToGrpcJs");
|
22753
|
+
exports2.convertMetadataToGrpcJs = convertMetadataToGrpcJs;
|
23254
22754
|
function convertMetadataFromGrpcJs(grpcMetadata) {
|
23255
22755
|
const metadata = (0, nice_grpc_common_1.Metadata)();
|
23256
22756
|
for (const key of Object.keys(grpcMetadata.getMap())) {
|
@@ -23260,28 +22760,30 @@ var require_convertMetadata = __commonJS({
|
|
23260
22760
|
return metadata;
|
23261
22761
|
}
|
23262
22762
|
__name(convertMetadataFromGrpcJs, "convertMetadataFromGrpcJs");
|
22763
|
+
exports2.convertMetadataFromGrpcJs = convertMetadataFromGrpcJs;
|
23263
22764
|
}
|
23264
22765
|
});
|
23265
22766
|
|
23266
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22767
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/utils/isAsyncIterable.js
|
23267
22768
|
var require_isAsyncIterable = __commonJS({
|
23268
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22769
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/utils/isAsyncIterable.js"(exports2) {
|
23269
22770
|
"use strict";
|
23270
22771
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23271
|
-
exports2.isAsyncIterable =
|
22772
|
+
exports2.isAsyncIterable = void 0;
|
23272
22773
|
function isAsyncIterable(value) {
|
23273
22774
|
return value != null && Symbol.asyncIterator in value;
|
23274
22775
|
}
|
23275
22776
|
__name(isAsyncIterable, "isAsyncIterable");
|
22777
|
+
exports2.isAsyncIterable = isAsyncIterable;
|
23276
22778
|
}
|
23277
22779
|
});
|
23278
22780
|
|
23279
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22781
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/utils/readableToAsyncIterable.js
|
23280
22782
|
var require_readableToAsyncIterable = __commonJS({
|
23281
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22783
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/utils/readableToAsyncIterable.js"(exports2) {
|
23282
22784
|
"use strict";
|
23283
22785
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23284
|
-
exports2.readableToAsyncIterable =
|
22786
|
+
exports2.readableToAsyncIterable = void 0;
|
23285
22787
|
var nodejsInternalsCompatibilityCheckedOnce = false;
|
23286
22788
|
function nodejsInternalsAccessible(obj) {
|
23287
22789
|
if (nodejsInternalsCompatibilityCheckedOnce) {
|
@@ -23338,17 +22840,18 @@ var require_readableToAsyncIterable = __commonJS({
|
|
23338
22840
|
}
|
23339
22841
|
}
|
23340
22842
|
__name(readableToAsyncIterable, "readableToAsyncIterable");
|
22843
|
+
exports2.readableToAsyncIterable = readableToAsyncIterable;
|
23341
22844
|
var nop = /* @__PURE__ */ __name(() => {
|
23342
22845
|
}, "nop");
|
23343
22846
|
}
|
23344
22847
|
});
|
23345
22848
|
|
23346
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22849
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/createCallContext.js
|
23347
22850
|
var require_createCallContext = __commonJS({
|
23348
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22851
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/createCallContext.js"(exports2) {
|
23349
22852
|
"use strict";
|
23350
22853
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23351
|
-
exports2.createCallContext =
|
22854
|
+
exports2.createCallContext = void 0;
|
23352
22855
|
var nice_grpc_common_1 = require_lib();
|
23353
22856
|
var convertMetadata_1 = require_convertMetadata();
|
23354
22857
|
function createCallContext(call) {
|
@@ -23385,9 +22888,7 @@ var require_createCallContext = __commonJS({
|
|
23385
22888
|
if (headerSent) {
|
23386
22889
|
return;
|
23387
22890
|
}
|
23388
|
-
|
23389
|
-
call.sendMetadata((0, convertMetadata_1.convertMetadataToGrpcJs)(header));
|
23390
|
-
}
|
22891
|
+
call.sendMetadata((0, convertMetadata_1.convertMetadataToGrpcJs)(header));
|
23391
22892
|
headerSent = true;
|
23392
22893
|
},
|
23393
22894
|
trailer,
|
@@ -23396,22 +22897,16 @@ var require_createCallContext = __commonJS({
|
|
23396
22897
|
return { context, maybeCancel };
|
23397
22898
|
}
|
23398
22899
|
__name(createCallContext, "createCallContext");
|
23399
|
-
|
23400
|
-
for (const _ of metadata) {
|
23401
|
-
return false;
|
23402
|
-
}
|
23403
|
-
return true;
|
23404
|
-
}
|
23405
|
-
__name(isEmptyMetadata, "isEmptyMetadata");
|
22900
|
+
exports2.createCallContext = createCallContext;
|
23406
22901
|
}
|
23407
22902
|
});
|
23408
22903
|
|
23409
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22904
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/createErrorStatusObject.js
|
23410
22905
|
var require_createErrorStatusObject = __commonJS({
|
23411
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22906
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/createErrorStatusObject.js"(exports2) {
|
23412
22907
|
"use strict";
|
23413
22908
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23414
|
-
exports2.createErrorStatusObject =
|
22909
|
+
exports2.createErrorStatusObject = void 0;
|
23415
22910
|
var grpc_js_1 = require_src3();
|
23416
22911
|
var abort_controller_x_1 = (init_es2(), __toCommonJS(es_exports2));
|
23417
22912
|
var nice_grpc_common_1 = require_lib();
|
@@ -23438,15 +22933,16 @@ var require_createErrorStatusObject = __commonJS({
|
|
23438
22933
|
}
|
23439
22934
|
}
|
23440
22935
|
__name(createErrorStatusObject, "createErrorStatusObject");
|
22936
|
+
exports2.createErrorStatusObject = createErrorStatusObject;
|
23441
22937
|
}
|
23442
22938
|
});
|
23443
22939
|
|
23444
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
22940
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleBidiStreamingCall.js
|
23445
22941
|
var require_handleBidiStreamingCall = __commonJS({
|
23446
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
22942
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleBidiStreamingCall.js"(exports2) {
|
23447
22943
|
"use strict";
|
23448
22944
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23449
|
-
exports2.createBidiStreamingMethodHandler =
|
22945
|
+
exports2.createBidiStreamingMethodHandler = void 0;
|
23450
22946
|
var abort_controller_x_1 = (init_es2(), __toCommonJS(es_exports2));
|
23451
22947
|
var convertMetadata_1 = require_convertMetadata();
|
23452
22948
|
var isAsyncIterable_1 = require_isAsyncIterable();
|
@@ -23514,15 +23010,16 @@ var require_handleBidiStreamingCall = __commonJS({
|
|
23514
23010
|
};
|
23515
23011
|
}
|
23516
23012
|
__name(createBidiStreamingMethodHandler, "createBidiStreamingMethodHandler");
|
23013
|
+
exports2.createBidiStreamingMethodHandler = createBidiStreamingMethodHandler;
|
23517
23014
|
}
|
23518
23015
|
});
|
23519
23016
|
|
23520
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23017
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleClientStreamingCall.js
|
23521
23018
|
var require_handleClientStreamingCall = __commonJS({
|
23522
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23019
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleClientStreamingCall.js"(exports2) {
|
23523
23020
|
"use strict";
|
23524
23021
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23525
|
-
exports2.createClientStreamingMethodHandler =
|
23022
|
+
exports2.createClientStreamingMethodHandler = void 0;
|
23526
23023
|
var convertMetadata_1 = require_convertMetadata();
|
23527
23024
|
var isAsyncIterable_1 = require_isAsyncIterable();
|
23528
23025
|
var readableToAsyncIterable_1 = require_readableToAsyncIterable();
|
@@ -23579,15 +23076,16 @@ var require_handleClientStreamingCall = __commonJS({
|
|
23579
23076
|
};
|
23580
23077
|
}
|
23581
23078
|
__name(createClientStreamingMethodHandler, "createClientStreamingMethodHandler");
|
23079
|
+
exports2.createClientStreamingMethodHandler = createClientStreamingMethodHandler;
|
23582
23080
|
}
|
23583
23081
|
});
|
23584
23082
|
|
23585
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23083
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleServerStreamingCall.js
|
23586
23084
|
var require_handleServerStreamingCall = __commonJS({
|
23587
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23085
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleServerStreamingCall.js"(exports2) {
|
23588
23086
|
"use strict";
|
23589
23087
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23590
|
-
exports2.createServerStreamingMethodHandler =
|
23088
|
+
exports2.createServerStreamingMethodHandler = void 0;
|
23591
23089
|
var abort_controller_x_1 = (init_es2(), __toCommonJS(es_exports2));
|
23592
23090
|
var convertMetadata_1 = require_convertMetadata();
|
23593
23091
|
var isAsyncIterable_1 = require_isAsyncIterable();
|
@@ -23654,15 +23152,16 @@ var require_handleServerStreamingCall = __commonJS({
|
|
23654
23152
|
};
|
23655
23153
|
}
|
23656
23154
|
__name(createServerStreamingMethodHandler, "createServerStreamingMethodHandler");
|
23155
|
+
exports2.createServerStreamingMethodHandler = createServerStreamingMethodHandler;
|
23657
23156
|
}
|
23658
23157
|
});
|
23659
23158
|
|
23660
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23159
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleUnaryCall.js
|
23661
23160
|
var require_handleUnaryCall = __commonJS({
|
23662
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23161
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/handleUnaryCall.js"(exports2) {
|
23663
23162
|
"use strict";
|
23664
23163
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23665
|
-
exports2.createUnaryMethodHandler =
|
23164
|
+
exports2.createUnaryMethodHandler = void 0;
|
23666
23165
|
var convertMetadata_1 = require_convertMetadata();
|
23667
23166
|
var isAsyncIterable_1 = require_isAsyncIterable();
|
23668
23167
|
var createCallContext_1 = require_createCallContext();
|
@@ -23718,15 +23217,16 @@ var require_handleUnaryCall = __commonJS({
|
|
23718
23217
|
};
|
23719
23218
|
}
|
23720
23219
|
__name(createUnaryMethodHandler, "createUnaryMethodHandler");
|
23220
|
+
exports2.createUnaryMethodHandler = createUnaryMethodHandler;
|
23721
23221
|
}
|
23722
23222
|
});
|
23723
23223
|
|
23724
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23224
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/Server.js
|
23725
23225
|
var require_Server = __commonJS({
|
23726
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23226
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/Server.js"(exports2) {
|
23727
23227
|
"use strict";
|
23728
23228
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23729
|
-
exports2.createServer =
|
23229
|
+
exports2.createServer = void 0;
|
23730
23230
|
var grpc_js_1 = require_src3();
|
23731
23231
|
var nice_grpc_common_1 = require_lib();
|
23732
23232
|
var service_definitions_1 = require_service_definitions();
|
@@ -23738,6 +23238,7 @@ var require_Server = __commonJS({
|
|
23738
23238
|
return createServerWithMiddleware(options);
|
23739
23239
|
}
|
23740
23240
|
__name(createServer, "createServer");
|
23241
|
+
exports2.createServer = createServer;
|
23741
23242
|
function createServerWithMiddleware(options, middleware) {
|
23742
23243
|
const services = [];
|
23743
23244
|
let server;
|
@@ -23805,6 +23306,7 @@ var require_Server = __commonJS({
|
|
23805
23306
|
}
|
23806
23307
|
});
|
23807
23308
|
});
|
23309
|
+
server.start();
|
23808
23310
|
return port;
|
23809
23311
|
},
|
23810
23312
|
async shutdown() {
|
@@ -23835,21 +23337,20 @@ var require_Server = __commonJS({
|
|
23835
23337
|
}
|
23836
23338
|
});
|
23837
23339
|
|
23838
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23340
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/ServiceImplementation.js
|
23839
23341
|
var require_ServiceImplementation = __commonJS({
|
23840
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23342
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/server/ServiceImplementation.js"(exports2) {
|
23841
23343
|
"use strict";
|
23842
23344
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23843
23345
|
}
|
23844
23346
|
});
|
23845
23347
|
|
23846
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23348
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/channel.js
|
23847
23349
|
var require_channel2 = __commonJS({
|
23848
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23350
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/channel.js"(exports2) {
|
23849
23351
|
"use strict";
|
23850
23352
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23851
|
-
exports2.createChannel =
|
23852
|
-
exports2.waitForChannelReady = waitForChannelReady;
|
23353
|
+
exports2.waitForChannelReady = exports2.createChannel = void 0;
|
23853
23354
|
var grpc_js_1 = require_src3();
|
23854
23355
|
var knownProtocols = /* @__PURE__ */ new Set(["http", "https"]);
|
23855
23356
|
function createChannel(address, credentials, options = {}) {
|
@@ -23865,6 +23366,7 @@ var require_channel2 = __commonJS({
|
|
23865
23366
|
return new grpc_js_1.Channel(target, credentials, options);
|
23866
23367
|
}
|
23867
23368
|
__name(createChannel, "createChannel");
|
23369
|
+
exports2.createChannel = createChannel;
|
23868
23370
|
async function waitForChannelReady(channel, deadline) {
|
23869
23371
|
while (true) {
|
23870
23372
|
const state = channel.getConnectivityState(true);
|
@@ -23883,15 +23385,16 @@ var require_channel2 = __commonJS({
|
|
23883
23385
|
}
|
23884
23386
|
}
|
23885
23387
|
__name(waitForChannelReady, "waitForChannelReady");
|
23388
|
+
exports2.waitForChannelReady = waitForChannelReady;
|
23886
23389
|
}
|
23887
23390
|
});
|
23888
23391
|
|
23889
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23392
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/wrapClientError.js
|
23890
23393
|
var require_wrapClientError = __commonJS({
|
23891
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23394
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/wrapClientError.js"(exports2) {
|
23892
23395
|
"use strict";
|
23893
23396
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23894
|
-
exports2.wrapClientError =
|
23397
|
+
exports2.wrapClientError = void 0;
|
23895
23398
|
var nice_grpc_common_1 = require_lib();
|
23896
23399
|
var grpc_js_1 = require_src3();
|
23897
23400
|
function wrapClientError(error, path) {
|
@@ -23901,6 +23404,7 @@ var require_wrapClientError = __commonJS({
|
|
23901
23404
|
return error;
|
23902
23405
|
}
|
23903
23406
|
__name(wrapClientError, "wrapClientError");
|
23407
|
+
exports2.wrapClientError = wrapClientError;
|
23904
23408
|
function isStatusObject(obj) {
|
23905
23409
|
return typeof obj === "object" && obj !== null && typeof obj.code === "number" && typeof obj.details === "string" && obj.metadata instanceof grpc_js_1.Metadata;
|
23906
23410
|
}
|
@@ -23908,12 +23412,12 @@ var require_wrapClientError = __commonJS({
|
|
23908
23412
|
}
|
23909
23413
|
});
|
23910
23414
|
|
23911
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23415
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createBidiStreamingMethod.js
|
23912
23416
|
var require_createBidiStreamingMethod = __commonJS({
|
23913
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23417
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createBidiStreamingMethod.js"(exports2) {
|
23914
23418
|
"use strict";
|
23915
23419
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
23916
|
-
exports2.createBidiStreamingMethod =
|
23420
|
+
exports2.createBidiStreamingMethod = void 0;
|
23917
23421
|
var abort_controller_x_1 = (init_es2(), __toCommonJS(es_exports2));
|
23918
23422
|
var nice_grpc_common_1 = require_lib();
|
23919
23423
|
var service_definitions_1 = require_service_definitions();
|
@@ -24007,6 +23511,7 @@ var require_createBidiStreamingMethod = __commonJS({
|
|
24007
23511
|
};
|
24008
23512
|
}
|
24009
23513
|
__name(createBidiStreamingMethod, "createBidiStreamingMethod");
|
23514
|
+
exports2.createBidiStreamingMethod = createBidiStreamingMethod;
|
24010
23515
|
async function pipeRequest(signal, request, call) {
|
24011
23516
|
for await (const item of request) {
|
24012
23517
|
(0, abort_controller_x_1.throwIfAborted)(signal);
|
@@ -24020,12 +23525,12 @@ var require_createBidiStreamingMethod = __commonJS({
|
|
24020
23525
|
}
|
24021
23526
|
});
|
24022
23527
|
|
24023
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23528
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createClientStreamingMethod.js
|
24024
23529
|
var require_createClientStreamingMethod = __commonJS({
|
24025
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23530
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createClientStreamingMethod.js"(exports2) {
|
24026
23531
|
"use strict";
|
24027
23532
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
24028
|
-
exports2.createClientStreamingMethod =
|
23533
|
+
exports2.createClientStreamingMethod = void 0;
|
24029
23534
|
var abort_controller_x_1 = (init_es2(), __toCommonJS(es_exports2));
|
24030
23535
|
var nice_grpc_common_1 = require_lib();
|
24031
23536
|
var service_definitions_1 = require_service_definitions();
|
@@ -24104,6 +23609,7 @@ var require_createClientStreamingMethod = __commonJS({
|
|
24104
23609
|
};
|
24105
23610
|
}
|
24106
23611
|
__name(createClientStreamingMethod, "createClientStreamingMethod");
|
23612
|
+
exports2.createClientStreamingMethod = createClientStreamingMethod;
|
24107
23613
|
async function pipeRequest(signal, request, call) {
|
24108
23614
|
for await (const item of request) {
|
24109
23615
|
(0, abort_controller_x_1.throwIfAborted)(signal);
|
@@ -24117,12 +23623,12 @@ var require_createClientStreamingMethod = __commonJS({
|
|
24117
23623
|
}
|
24118
23624
|
});
|
24119
23625
|
|
24120
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23626
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createServerStreamingMethod.js
|
24121
23627
|
var require_createServerStreamingMethod = __commonJS({
|
24122
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23628
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createServerStreamingMethod.js"(exports2) {
|
24123
23629
|
"use strict";
|
24124
23630
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
24125
|
-
exports2.createServerStreamingMethod =
|
23631
|
+
exports2.createServerStreamingMethod = void 0;
|
24126
23632
|
var abort_controller_x_1 = (init_es2(), __toCommonJS(es_exports2));
|
24127
23633
|
var nice_grpc_common_1 = require_lib();
|
24128
23634
|
var service_definitions_1 = require_service_definitions();
|
@@ -24201,15 +23707,16 @@ var require_createServerStreamingMethod = __commonJS({
|
|
24201
23707
|
};
|
24202
23708
|
}
|
24203
23709
|
__name(createServerStreamingMethod, "createServerStreamingMethod");
|
23710
|
+
exports2.createServerStreamingMethod = createServerStreamingMethod;
|
24204
23711
|
}
|
24205
23712
|
});
|
24206
23713
|
|
24207
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23714
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createUnaryMethod.js
|
24208
23715
|
var require_createUnaryMethod = __commonJS({
|
24209
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23716
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/createUnaryMethod.js"(exports2) {
|
24210
23717
|
"use strict";
|
24211
23718
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
24212
|
-
exports2.createUnaryMethod =
|
23719
|
+
exports2.createUnaryMethod = void 0;
|
24213
23720
|
var abort_controller_x_1 = (init_es2(), __toCommonJS(es_exports2));
|
24214
23721
|
var nice_grpc_common_1 = require_lib();
|
24215
23722
|
var service_definitions_1 = require_service_definitions();
|
@@ -24277,16 +23784,16 @@ var require_createUnaryMethod = __commonJS({
|
|
24277
23784
|
};
|
24278
23785
|
}
|
24279
23786
|
__name(createUnaryMethod, "createUnaryMethod");
|
23787
|
+
exports2.createUnaryMethod = createUnaryMethod;
|
24280
23788
|
}
|
24281
23789
|
});
|
24282
23790
|
|
24283
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23791
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/ClientFactory.js
|
24284
23792
|
var require_ClientFactory = __commonJS({
|
24285
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23793
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/ClientFactory.js"(exports2) {
|
24286
23794
|
"use strict";
|
24287
23795
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
24288
|
-
exports2.createClientFactory =
|
24289
|
-
exports2.createClient = createClient;
|
23796
|
+
exports2.createClient = exports2.createClientFactory = void 0;
|
24290
23797
|
var grpc_js_1 = require_src3();
|
24291
23798
|
var nice_grpc_common_1 = require_lib();
|
24292
23799
|
var service_definitions_1 = require_service_definitions();
|
@@ -24298,10 +23805,12 @@ var require_ClientFactory = __commonJS({
|
|
24298
23805
|
return createClientFactoryWithMiddleware();
|
24299
23806
|
}
|
24300
23807
|
__name(createClientFactory, "createClientFactory");
|
23808
|
+
exports2.createClientFactory = createClientFactory;
|
24301
23809
|
function createClient(definition, channel, defaultCallOptions) {
|
24302
23810
|
return createClientFactory().create(definition, channel, defaultCallOptions);
|
24303
23811
|
}
|
24304
23812
|
__name(createClient, "createClient");
|
23813
|
+
exports2.createClient = createClient;
|
24305
23814
|
function createClientFactoryWithMiddleware(middleware) {
|
24306
23815
|
return {
|
24307
23816
|
use(newMiddleware) {
|
@@ -24341,17 +23850,17 @@ var require_ClientFactory = __commonJS({
|
|
24341
23850
|
}
|
24342
23851
|
});
|
24343
23852
|
|
24344
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23853
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/Client.js
|
24345
23854
|
var require_Client = __commonJS({
|
24346
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23855
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/client/Client.js"(exports2) {
|
24347
23856
|
"use strict";
|
24348
23857
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
24349
23858
|
}
|
24350
23859
|
});
|
24351
23860
|
|
24352
|
-
// ../../node_modules/.pnpm/nice-grpc@2.1.
|
23861
|
+
// ../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/index.js
|
24353
23862
|
var require_lib2 = __commonJS({
|
24354
|
-
"../../node_modules/.pnpm/nice-grpc@2.1.
|
23863
|
+
"../../node_modules/.pnpm/nice-grpc@2.1.9/node_modules/nice-grpc/lib/index.js"(exports2) {
|
24355
23864
|
"use strict";
|
24356
23865
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
24357
23866
|
if (k2 === void 0) k2 = k;
|
@@ -24458,4 +23967,4 @@ long/umd/index.js:
|
|
24458
23967
|
*
|
24459
23968
|
*)
|
24460
23969
|
*/
|
24461
|
-
//# sourceMappingURL=chunk-
|
23970
|
+
//# sourceMappingURL=chunk-73SHERGU.js.map
|