autotel-subscribers 17.0.0 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/amplitude.cjs +64 -64
- package/dist/amplitude.cjs.map +1 -1
- package/dist/amplitude.js +64 -64
- package/dist/amplitude.js.map +1 -1
- package/dist/factories.cjs +174 -172
- package/dist/factories.cjs.map +1 -1
- package/dist/factories.js +174 -172
- package/dist/factories.js.map +1 -1
- package/dist/index.cjs +174 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +174 -172
- package/dist/index.js.map +1 -1
- package/dist/posthog.cjs +110 -108
- package/dist/posthog.cjs.map +1 -1
- package/dist/posthog.js +110 -108
- package/dist/posthog.js.map +1 -1
- package/package.json +13 -13
package/dist/posthog.cjs
CHANGED
|
@@ -43,11 +43,11 @@ function normalizeWindowsPath(path) {
|
|
|
43
43
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
44
44
|
}
|
|
45
45
|
var init_module_node = __esm({
|
|
46
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
46
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs"() {
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
50
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
51
51
|
function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
52
52
|
return {
|
|
53
53
|
key,
|
|
@@ -64,7 +64,7 @@ function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
|
64
64
|
}
|
|
65
65
|
var normalizeFlagsResponse, getFlagValuesFromFlags, getPayloadsFromFlags, getFeatureFlagValue, parsePayload;
|
|
66
66
|
var init_featureFlagUtils = __esm({
|
|
67
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
67
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/featureFlagUtils.mjs"() {
|
|
68
68
|
normalizeFlagsResponse = (flagsResponse) => {
|
|
69
69
|
if ("flags" in flagsResponse) {
|
|
70
70
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -122,10 +122,10 @@ var init_featureFlagUtils = __esm({
|
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
124
|
|
|
125
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
125
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
126
126
|
var DIGITS, UUID, V7Generator, getDefaultRandom, defaultGenerator, uuidv7, uuidv7obj;
|
|
127
127
|
var init_uuidv7 = __esm({
|
|
128
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
128
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/vendor/uuidv7.mjs"() {
|
|
129
129
|
DIGITS = "0123456789abcdef";
|
|
130
130
|
UUID = class _UUID {
|
|
131
131
|
constructor(bytes) {
|
|
@@ -286,10 +286,10 @@ var init_uuidv7 = __esm({
|
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
289
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
290
290
|
var DEFAULT_BLOCKED_UA_STRS, isBlockedUA;
|
|
291
291
|
var init_bot_detection = __esm({
|
|
292
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
292
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
|
|
293
293
|
DEFAULT_BLOCKED_UA_STRS = [
|
|
294
294
|
"amazonbot",
|
|
295
295
|
"amazonproductbot",
|
|
@@ -380,14 +380,16 @@ var init_bot_detection = __esm({
|
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
382
|
|
|
383
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
383
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/types.mjs
|
|
384
384
|
var types_PostHogPersistedProperty, FeatureFlagError;
|
|
385
385
|
var init_types = __esm({
|
|
386
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
386
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/types.mjs"() {
|
|
387
387
|
types_PostHogPersistedProperty = /* @__PURE__ */ (function(PostHogPersistedProperty) {
|
|
388
388
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
389
389
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
390
390
|
PostHogPersistedProperty["Props"] = "props";
|
|
391
|
+
PostHogPersistedProperty["EnablePersonProcessing"] = "enable_person_processing";
|
|
392
|
+
PostHogPersistedProperty["PersonMode"] = "person_mode";
|
|
391
393
|
PostHogPersistedProperty["FeatureFlagDetails"] = "feature_flag_details";
|
|
392
394
|
PostHogPersistedProperty["FeatureFlags"] = "feature_flags";
|
|
393
395
|
PostHogPersistedProperty["FeatureFlagPayloads"] = "feature_flag_payloads";
|
|
@@ -424,13 +426,13 @@ var init_types = __esm({
|
|
|
424
426
|
}
|
|
425
427
|
});
|
|
426
428
|
|
|
427
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
429
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/string-utils.mjs
|
|
428
430
|
var init_string_utils = __esm({
|
|
429
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
431
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
|
|
430
432
|
}
|
|
431
433
|
});
|
|
432
434
|
|
|
433
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
435
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
434
436
|
function isPrimitive(value) {
|
|
435
437
|
return null === value || "object" != typeof value;
|
|
436
438
|
}
|
|
@@ -455,7 +457,7 @@ function isInstanceOf(candidate, base) {
|
|
|
455
457
|
}
|
|
456
458
|
var nativeIsArray, ObjProto, type_utils_toString, isArray, isObject, isUndefined, isString, isEmptyString, isNumber, isPlainError;
|
|
457
459
|
var init_type_utils = __esm({
|
|
458
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
460
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
|
|
459
461
|
init_types();
|
|
460
462
|
init_string_utils();
|
|
461
463
|
nativeIsArray = Array.isArray;
|
|
@@ -474,7 +476,7 @@ var init_type_utils = __esm({
|
|
|
474
476
|
}
|
|
475
477
|
});
|
|
476
478
|
|
|
477
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
479
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
478
480
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
479
481
|
if (min > max) {
|
|
480
482
|
logger.warn("min cannot be greater than max.");
|
|
@@ -492,15 +494,15 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
492
494
|
return clampToRange(max, min, max, logger);
|
|
493
495
|
}
|
|
494
496
|
var init_number_utils = __esm({
|
|
495
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
497
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
|
|
496
498
|
init_type_utils();
|
|
497
499
|
}
|
|
498
500
|
});
|
|
499
501
|
|
|
500
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
502
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
501
503
|
var ONE_DAY_IN_MS, BucketedRateLimiter;
|
|
502
504
|
var init_bucketed_rate_limiter = __esm({
|
|
503
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
505
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
|
|
504
506
|
init_number_utils();
|
|
505
507
|
ONE_DAY_IN_MS = 864e5;
|
|
506
508
|
BucketedRateLimiter = class {
|
|
@@ -544,10 +546,10 @@ var init_bucketed_rate_limiter = __esm({
|
|
|
544
546
|
}
|
|
545
547
|
});
|
|
546
548
|
|
|
547
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
549
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
548
550
|
var PromiseQueue;
|
|
549
551
|
var init_promise_queue = __esm({
|
|
550
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
552
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
|
|
551
553
|
init_uuidv7();
|
|
552
554
|
PromiseQueue = class {
|
|
553
555
|
add(promise) {
|
|
@@ -578,7 +580,7 @@ var init_promise_queue = __esm({
|
|
|
578
580
|
}
|
|
579
581
|
});
|
|
580
582
|
|
|
581
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
583
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
582
584
|
function createConsole(consoleLike = console) {
|
|
583
585
|
const lockedMethods = {
|
|
584
586
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -593,7 +595,7 @@ function createLogger(prefix, maybeCall = passThrough) {
|
|
|
593
595
|
}
|
|
594
596
|
var _createLogger, passThrough;
|
|
595
597
|
var init_logger = __esm({
|
|
596
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
598
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/logger.mjs"() {
|
|
597
599
|
_createLogger = (prefix, maybeCall, consoleLike) => {
|
|
598
600
|
function _log(level, ...args) {
|
|
599
601
|
maybeCall(() => {
|
|
@@ -622,10 +624,10 @@ var init_logger = __esm({
|
|
|
622
624
|
}
|
|
623
625
|
});
|
|
624
626
|
|
|
625
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
627
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
626
628
|
var MOBILE, TABLET, GENERIC;
|
|
627
629
|
var init_user_agent_utils = __esm({
|
|
628
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
630
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
|
|
629
631
|
init_string_utils();
|
|
630
632
|
init_type_utils();
|
|
631
633
|
MOBILE = "Mobile";
|
|
@@ -636,7 +638,7 @@ var init_user_agent_utils = __esm({
|
|
|
636
638
|
}
|
|
637
639
|
});
|
|
638
640
|
|
|
639
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
641
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/index.mjs
|
|
640
642
|
function assert(truthyValue, message) {
|
|
641
643
|
if (!truthyValue || "string" != typeof truthyValue || isEmpty(truthyValue)) throw new Error(message);
|
|
642
644
|
}
|
|
@@ -680,7 +682,7 @@ function allSettled(promises) {
|
|
|
680
682
|
}
|
|
681
683
|
var STRING_FORMAT, isError;
|
|
682
684
|
var init_utils = __esm({
|
|
683
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
685
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/utils/index.mjs"() {
|
|
684
686
|
init_bot_detection();
|
|
685
687
|
init_bucketed_rate_limiter();
|
|
686
688
|
init_number_utils();
|
|
@@ -694,10 +696,10 @@ var init_utils = __esm({
|
|
|
694
696
|
}
|
|
695
697
|
});
|
|
696
698
|
|
|
697
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
699
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
698
700
|
var SimpleEventEmitter;
|
|
699
701
|
var init_eventemitter = __esm({
|
|
700
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
702
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/eventemitter.mjs"() {
|
|
701
703
|
SimpleEventEmitter = class {
|
|
702
704
|
constructor() {
|
|
703
705
|
this.events = {};
|
|
@@ -718,7 +720,7 @@ var init_eventemitter = __esm({
|
|
|
718
720
|
}
|
|
719
721
|
});
|
|
720
722
|
|
|
721
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
723
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/gzip.mjs
|
|
722
724
|
function isGzipSupported() {
|
|
723
725
|
return "CompressionStream" in globalThis;
|
|
724
726
|
}
|
|
@@ -737,11 +739,11 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
737
739
|
}
|
|
738
740
|
}
|
|
739
741
|
var init_gzip = __esm({
|
|
740
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
742
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/gzip.mjs"() {
|
|
741
743
|
}
|
|
742
744
|
});
|
|
743
745
|
|
|
744
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
746
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
745
747
|
async function logFlushError(err) {
|
|
746
748
|
if (err instanceof PostHogFetchHttpError) {
|
|
747
749
|
let text = "";
|
|
@@ -761,7 +763,7 @@ function isPostHogFetchContentTooLargeError(err) {
|
|
|
761
763
|
}
|
|
762
764
|
var PostHogFetchHttpError, PostHogFetchNetworkError, PostHogCoreStateless;
|
|
763
765
|
var init_posthog_core_stateless = __esm({
|
|
764
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
766
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
|
|
765
767
|
init_eventemitter();
|
|
766
768
|
init_featureFlagUtils();
|
|
767
769
|
init_gzip();
|
|
@@ -1414,9 +1416,9 @@ var init_posthog_core_stateless = __esm({
|
|
|
1414
1416
|
}
|
|
1415
1417
|
});
|
|
1416
1418
|
|
|
1417
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1419
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core.mjs
|
|
1418
1420
|
var init_posthog_core = __esm({
|
|
1419
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1421
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/posthog-core.mjs"() {
|
|
1420
1422
|
init_featureFlagUtils();
|
|
1421
1423
|
init_types();
|
|
1422
1424
|
init_posthog_core_stateless();
|
|
@@ -1425,7 +1427,7 @@ var init_posthog_core = __esm({
|
|
|
1425
1427
|
}
|
|
1426
1428
|
});
|
|
1427
1429
|
|
|
1428
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1430
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
1429
1431
|
function getFilenameToChunkIdMap(stackParser) {
|
|
1430
1432
|
const chunkIdMap = globalThis._posthogChunkIds;
|
|
1431
1433
|
if (!chunkIdMap) return;
|
|
@@ -1458,14 +1460,14 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
1458
1460
|
}
|
|
1459
1461
|
var parsedStackResults, lastKeysCount, cachedFilenameChunkIds;
|
|
1460
1462
|
var init_chunk_ids = __esm({
|
|
1461
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1463
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
|
|
1462
1464
|
}
|
|
1463
1465
|
});
|
|
1464
1466
|
|
|
1465
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1467
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
1466
1468
|
var MAX_CAUSE_RECURSION, ErrorPropertiesBuilder;
|
|
1467
1469
|
var init_error_properties_builder = __esm({
|
|
1468
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1470
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
|
|
1469
1471
|
init_utils();
|
|
1470
1472
|
init_chunk_ids();
|
|
1471
1473
|
MAX_CAUSE_RECURSION = 4;
|
|
@@ -1579,7 +1581,7 @@ var init_error_properties_builder = __esm({
|
|
|
1579
1581
|
}
|
|
1580
1582
|
});
|
|
1581
1583
|
|
|
1582
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1584
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
1583
1585
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
1584
1586
|
const frame = {
|
|
1585
1587
|
platform,
|
|
@@ -1593,16 +1595,16 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
1593
1595
|
}
|
|
1594
1596
|
var UNKNOWN_FUNCTION;
|
|
1595
1597
|
var init_base = __esm({
|
|
1596
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1598
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
|
|
1597
1599
|
init_utils();
|
|
1598
1600
|
UNKNOWN_FUNCTION = "?";
|
|
1599
1601
|
}
|
|
1600
1602
|
});
|
|
1601
1603
|
|
|
1602
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1604
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
1603
1605
|
var extractSafariExtensionDetails;
|
|
1604
1606
|
var init_safari = __esm({
|
|
1605
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1607
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
|
|
1606
1608
|
init_base();
|
|
1607
1609
|
extractSafariExtensionDetails = (func, filename) => {
|
|
1608
1610
|
const isSafariExtension = -1 !== func.indexOf("safari-extension");
|
|
@@ -1618,10 +1620,10 @@ var init_safari = __esm({
|
|
|
1618
1620
|
}
|
|
1619
1621
|
});
|
|
1620
1622
|
|
|
1621
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1623
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
1622
1624
|
var chromeRegexNoFnName, chromeRegex, chromeEvalRegex, chromeStackLineParser;
|
|
1623
1625
|
var init_chrome = __esm({
|
|
1624
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1626
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
|
|
1625
1627
|
init_base();
|
|
1626
1628
|
init_safari();
|
|
1627
1629
|
chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
@@ -1651,10 +1653,10 @@ var init_chrome = __esm({
|
|
|
1651
1653
|
}
|
|
1652
1654
|
});
|
|
1653
1655
|
|
|
1654
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1656
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
1655
1657
|
var geckoREgex, geckoEvalRegex, geckoStackLineParser;
|
|
1656
1658
|
var init_gecko = __esm({
|
|
1657
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1659
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
|
|
1658
1660
|
init_base();
|
|
1659
1661
|
init_safari();
|
|
1660
1662
|
geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
@@ -1681,10 +1683,10 @@ var init_gecko = __esm({
|
|
|
1681
1683
|
}
|
|
1682
1684
|
});
|
|
1683
1685
|
|
|
1684
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1686
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
1685
1687
|
var winjsRegex, winjsStackLineParser;
|
|
1686
1688
|
var init_winjs = __esm({
|
|
1687
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1689
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
|
|
1688
1690
|
init_base();
|
|
1689
1691
|
winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1690
1692
|
winjsStackLineParser = (line, platform) => {
|
|
@@ -1694,10 +1696,10 @@ var init_winjs = __esm({
|
|
|
1694
1696
|
}
|
|
1695
1697
|
});
|
|
1696
1698
|
|
|
1697
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1699
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
1698
1700
|
var opera10Regex, opera10StackLineParser, opera11Regex, opera11StackLineParser;
|
|
1699
1701
|
var init_opera = __esm({
|
|
1700
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1702
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
|
|
1701
1703
|
init_base();
|
|
1702
1704
|
opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
1703
1705
|
opera10StackLineParser = (line, platform) => {
|
|
@@ -1712,7 +1714,7 @@ var init_opera = __esm({
|
|
|
1712
1714
|
}
|
|
1713
1715
|
});
|
|
1714
1716
|
|
|
1715
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1717
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
1716
1718
|
function filenameIsInApp(filename, isNative = false) {
|
|
1717
1719
|
const isInternal = isNative || filename && !filename.startsWith("/") && !filename.match(/^[A-Z]:/) && !filename.startsWith(".") && !filename.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);
|
|
1718
1720
|
return !isInternal && void 0 !== filename && !filename.includes("node_modules/");
|
|
@@ -1722,7 +1724,7 @@ function _parseIntOrUndefined(input) {
|
|
|
1722
1724
|
}
|
|
1723
1725
|
var FILENAME_MATCH, FULL_MATCH, nodeStackLineParser;
|
|
1724
1726
|
var init_node = __esm({
|
|
1725
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1727
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
|
|
1726
1728
|
init_base();
|
|
1727
1729
|
FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
1728
1730
|
FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
@@ -1783,7 +1785,7 @@ var init_node = __esm({
|
|
|
1783
1785
|
}
|
|
1784
1786
|
});
|
|
1785
1787
|
|
|
1786
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1788
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
1787
1789
|
function reverseAndStripFrames(stack) {
|
|
1788
1790
|
if (!stack.length) return [];
|
|
1789
1791
|
const localStack = Array.from(stack);
|
|
@@ -1824,7 +1826,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
1824
1826
|
}
|
|
1825
1827
|
var WEBPACK_ERROR_REGEXP, STACKTRACE_FRAME_LIMIT;
|
|
1826
1828
|
var init_parsers = __esm({
|
|
1827
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1829
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
|
|
1828
1830
|
init_base();
|
|
1829
1831
|
init_chrome();
|
|
1830
1832
|
init_gecko();
|
|
@@ -1836,10 +1838,10 @@ var init_parsers = __esm({
|
|
|
1836
1838
|
}
|
|
1837
1839
|
});
|
|
1838
1840
|
|
|
1839
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1841
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
1840
1842
|
var DOMExceptionCoercer;
|
|
1841
1843
|
var init_dom_exception_coercer = __esm({
|
|
1842
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1844
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
|
|
1843
1845
|
init_utils();
|
|
1844
1846
|
DOMExceptionCoercer = class {
|
|
1845
1847
|
match(err) {
|
|
@@ -1873,10 +1875,10 @@ var init_dom_exception_coercer = __esm({
|
|
|
1873
1875
|
}
|
|
1874
1876
|
});
|
|
1875
1877
|
|
|
1876
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1878
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
1877
1879
|
var ErrorCoercer;
|
|
1878
1880
|
var init_error_coercer = __esm({
|
|
1879
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1881
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
|
|
1880
1882
|
init_utils();
|
|
1881
1883
|
ErrorCoercer = class {
|
|
1882
1884
|
match(err) {
|
|
@@ -1906,10 +1908,10 @@ var init_error_coercer = __esm({
|
|
|
1906
1908
|
}
|
|
1907
1909
|
});
|
|
1908
1910
|
|
|
1909
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1911
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
1910
1912
|
var ErrorEventCoercer;
|
|
1911
1913
|
var init_error_event_coercer = __esm({
|
|
1912
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1914
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
|
|
1913
1915
|
init_utils();
|
|
1914
1916
|
ErrorEventCoercer = class {
|
|
1915
1917
|
constructor() {
|
|
@@ -1931,10 +1933,10 @@ var init_error_event_coercer = __esm({
|
|
|
1931
1933
|
}
|
|
1932
1934
|
});
|
|
1933
1935
|
|
|
1934
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1936
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
1935
1937
|
var ERROR_TYPES_PATTERN, StringCoercer;
|
|
1936
1938
|
var init_string_coercer = __esm({
|
|
1937
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1939
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
|
|
1938
1940
|
ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
1939
1941
|
StringCoercer = class {
|
|
1940
1942
|
match(input) {
|
|
@@ -1966,10 +1968,10 @@ var init_string_coercer = __esm({
|
|
|
1966
1968
|
}
|
|
1967
1969
|
});
|
|
1968
1970
|
|
|
1969
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1971
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
1970
1972
|
var severityLevels;
|
|
1971
1973
|
var init_types2 = __esm({
|
|
1972
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
1974
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
|
|
1973
1975
|
severityLevels = [
|
|
1974
1976
|
"fatal",
|
|
1975
1977
|
"error",
|
|
@@ -1981,7 +1983,7 @@ var init_types2 = __esm({
|
|
|
1981
1983
|
}
|
|
1982
1984
|
});
|
|
1983
1985
|
|
|
1984
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
1986
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
1985
1987
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
1986
1988
|
const keys = Object.keys(err);
|
|
1987
1989
|
keys.sort();
|
|
@@ -1996,14 +1998,14 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
1996
1998
|
return "";
|
|
1997
1999
|
}
|
|
1998
2000
|
var init_utils2 = __esm({
|
|
1999
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2001
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
|
|
2000
2002
|
}
|
|
2001
2003
|
});
|
|
2002
2004
|
|
|
2003
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2005
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
2004
2006
|
var ObjectCoercer;
|
|
2005
2007
|
var init_object_coercer = __esm({
|
|
2006
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2008
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
|
|
2007
2009
|
init_utils();
|
|
2008
2010
|
init_types2();
|
|
2009
2011
|
init_utils2();
|
|
@@ -2057,10 +2059,10 @@ var init_object_coercer = __esm({
|
|
|
2057
2059
|
}
|
|
2058
2060
|
});
|
|
2059
2061
|
|
|
2060
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2062
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
2061
2063
|
var EventCoercer;
|
|
2062
2064
|
var init_event_coercer = __esm({
|
|
2063
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2065
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
|
|
2064
2066
|
init_utils();
|
|
2065
2067
|
init_utils2();
|
|
2066
2068
|
EventCoercer = class {
|
|
@@ -2080,10 +2082,10 @@ var init_event_coercer = __esm({
|
|
|
2080
2082
|
}
|
|
2081
2083
|
});
|
|
2082
2084
|
|
|
2083
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2085
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
2084
2086
|
var PrimitiveCoercer;
|
|
2085
2087
|
var init_primitive_coercer = __esm({
|
|
2086
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2088
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
|
|
2087
2089
|
init_utils();
|
|
2088
2090
|
PrimitiveCoercer = class {
|
|
2089
2091
|
match(candidate) {
|
|
@@ -2101,10 +2103,10 @@ var init_primitive_coercer = __esm({
|
|
|
2101
2103
|
}
|
|
2102
2104
|
});
|
|
2103
2105
|
|
|
2104
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2106
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
2105
2107
|
var PromiseRejectionEventCoercer;
|
|
2106
2108
|
var init_promise_rejection_event = __esm({
|
|
2107
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2109
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
|
|
2108
2110
|
init_utils();
|
|
2109
2111
|
PromiseRejectionEventCoercer = class {
|
|
2110
2112
|
match(err) {
|
|
@@ -2133,9 +2135,9 @@ var init_promise_rejection_event = __esm({
|
|
|
2133
2135
|
}
|
|
2134
2136
|
});
|
|
2135
2137
|
|
|
2136
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2138
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
|
|
2137
2139
|
var init_coercers = __esm({
|
|
2138
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2140
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
|
|
2139
2141
|
init_dom_exception_coercer();
|
|
2140
2142
|
init_error_coercer();
|
|
2141
2143
|
init_error_event_coercer();
|
|
@@ -2147,10 +2149,10 @@ var init_coercers = __esm({
|
|
|
2147
2149
|
}
|
|
2148
2150
|
});
|
|
2149
2151
|
|
|
2150
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2152
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
2151
2153
|
var ReduceableCache;
|
|
2152
2154
|
var init_utils3 = __esm({
|
|
2153
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2155
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
|
|
2154
2156
|
ReduceableCache = class {
|
|
2155
2157
|
constructor(_maxSize) {
|
|
2156
2158
|
this._maxSize = _maxSize;
|
|
@@ -2176,7 +2178,7 @@ var init_utils3 = __esm({
|
|
|
2176
2178
|
}
|
|
2177
2179
|
});
|
|
2178
2180
|
|
|
2179
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2181
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
2180
2182
|
var error_tracking_exports = {};
|
|
2181
2183
|
__export(error_tracking_exports, {
|
|
2182
2184
|
DOMExceptionCoercer: () => DOMExceptionCoercer,
|
|
@@ -2200,7 +2202,7 @@ __export(error_tracking_exports, {
|
|
|
2200
2202
|
winjsStackLineParser: () => winjsStackLineParser
|
|
2201
2203
|
});
|
|
2202
2204
|
var init_error_tracking = __esm({
|
|
2203
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2205
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
|
|
2204
2206
|
init_error_properties_builder();
|
|
2205
2207
|
init_parsers();
|
|
2206
2208
|
init_coercers();
|
|
@@ -2208,9 +2210,9 @@ var init_error_tracking = __esm({
|
|
|
2208
2210
|
}
|
|
2209
2211
|
});
|
|
2210
2212
|
|
|
2211
|
-
// ../../node_modules/.pnpm/@posthog+core@1.
|
|
2213
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/index.mjs
|
|
2212
2214
|
var init_dist = __esm({
|
|
2213
|
-
"../../node_modules/.pnpm/@posthog+core@1.
|
|
2215
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.0/node_modules/@posthog/core/dist/index.mjs"() {
|
|
2214
2216
|
init_featureFlagUtils();
|
|
2215
2217
|
init_uuidv7();
|
|
2216
2218
|
init_utils();
|
|
@@ -2401,7 +2403,7 @@ function snipLine(line, colno) {
|
|
|
2401
2403
|
}
|
|
2402
2404
|
var LRU_FILE_CONTENTS_CACHE, LRU_FILE_CONTENTS_FS_READ_FAILED, DEFAULT_LINES_OF_CONTEXT, MAX_CONTEXTLINES_COLNO, MAX_CONTEXTLINES_LINENO;
|
|
2403
2405
|
var init_context_lines_node = __esm({
|
|
2404
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2406
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
|
|
2405
2407
|
init_dist();
|
|
2406
2408
|
LRU_FILE_CONTENTS_CACHE = new error_tracking_exports.ReduceableCache(25);
|
|
2407
2409
|
LRU_FILE_CONTENTS_FS_READ_FAILED = new error_tracking_exports.ReduceableCache(20);
|
|
@@ -2411,7 +2413,7 @@ var init_context_lines_node = __esm({
|
|
|
2411
2413
|
}
|
|
2412
2414
|
});
|
|
2413
2415
|
|
|
2414
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2416
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
2415
2417
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
2416
2418
|
let calledFatalError = false;
|
|
2417
2419
|
return Object.assign((error) => {
|
|
@@ -2443,14 +2445,14 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
2443
2445
|
}));
|
|
2444
2446
|
}
|
|
2445
2447
|
var init_autocapture = __esm({
|
|
2446
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2448
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
|
|
2447
2449
|
}
|
|
2448
2450
|
});
|
|
2449
2451
|
|
|
2450
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2452
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
2451
2453
|
var SHUTDOWN_TIMEOUT, ErrorTracking;
|
|
2452
2454
|
var init_error_tracking2 = __esm({
|
|
2453
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2455
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
|
|
2454
2456
|
init_autocapture();
|
|
2455
2457
|
init_dist();
|
|
2456
2458
|
SHUTDOWN_TIMEOUT = 2e3;
|
|
@@ -2521,18 +2523,18 @@ var init_error_tracking2 = __esm({
|
|
|
2521
2523
|
}
|
|
2522
2524
|
});
|
|
2523
2525
|
|
|
2524
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2526
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/version.mjs
|
|
2525
2527
|
var version;
|
|
2526
2528
|
var init_version = __esm({
|
|
2527
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2528
|
-
version = "5.24.
|
|
2529
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/version.mjs"() {
|
|
2530
|
+
version = "5.24.2";
|
|
2529
2531
|
}
|
|
2530
2532
|
});
|
|
2531
2533
|
|
|
2532
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2534
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/types.mjs
|
|
2533
2535
|
var FeatureFlagError2;
|
|
2534
2536
|
var init_types3 = __esm({
|
|
2535
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2537
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/types.mjs"() {
|
|
2536
2538
|
FeatureFlagError2 = {
|
|
2537
2539
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
2538
2540
|
FLAG_MISSING: "flag_missing",
|
|
@@ -2542,7 +2544,7 @@ var init_types3 = __esm({
|
|
|
2542
2544
|
}
|
|
2543
2545
|
});
|
|
2544
2546
|
|
|
2545
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2547
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
2546
2548
|
async function hashSHA1(text) {
|
|
2547
2549
|
const subtle = globalThis.crypto?.subtle;
|
|
2548
2550
|
if (!subtle) throw new Error("SubtleCrypto API not available");
|
|
@@ -2551,11 +2553,11 @@ async function hashSHA1(text) {
|
|
|
2551
2553
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
2552
2554
|
}
|
|
2553
2555
|
var init_crypto = __esm({
|
|
2554
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2556
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
|
|
2555
2557
|
}
|
|
2556
2558
|
});
|
|
2557
2559
|
|
|
2558
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2560
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
2559
2561
|
async function _hash(key, distinctId, salt = "") {
|
|
2560
2562
|
const hashString = await hashSHA1(`${key}.${distinctId}${salt}`);
|
|
2561
2563
|
return parseInt(hashString.slice(0, 15), 16) / LONG_SCALE;
|
|
@@ -2723,7 +2725,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
2723
2725
|
}
|
|
2724
2726
|
var SIXTY_SECONDS, LONG_SCALE, NULL_VALUES_ALLOWED_OPERATORS, ClientError, InconclusiveMatchError, RequiresServerEvaluation, FeatureFlagsPoller;
|
|
2725
2727
|
var init_feature_flags = __esm({
|
|
2726
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2728
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
|
|
2727
2729
|
init_dist();
|
|
2728
2730
|
init_crypto();
|
|
2729
2731
|
SIXTY_SECONDS = 6e4;
|
|
@@ -3136,10 +3138,10 @@ var init_feature_flags = __esm({
|
|
|
3136
3138
|
}
|
|
3137
3139
|
});
|
|
3138
3140
|
|
|
3139
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3141
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/storage-memory.mjs
|
|
3140
3142
|
var PostHogMemoryStorage;
|
|
3141
3143
|
var init_storage_memory = __esm({
|
|
3142
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3144
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/storage-memory.mjs"() {
|
|
3143
3145
|
PostHogMemoryStorage = class {
|
|
3144
3146
|
getProperty(key) {
|
|
3145
3147
|
return this._memoryStorage[key];
|
|
@@ -3154,10 +3156,10 @@ var init_storage_memory = __esm({
|
|
|
3154
3156
|
}
|
|
3155
3157
|
});
|
|
3156
3158
|
|
|
3157
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3159
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/client.mjs
|
|
3158
3160
|
var MINIMUM_POLLING_INTERVAL, THIRTY_SECONDS, MAX_CACHE_SIZE, PostHogBackendClient;
|
|
3159
3161
|
var init_client = __esm({
|
|
3160
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3162
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/client.mjs"() {
|
|
3161
3163
|
init_version();
|
|
3162
3164
|
init_dist();
|
|
3163
3165
|
init_types3();
|
|
@@ -3765,7 +3767,7 @@ var init_client = __esm({
|
|
|
3765
3767
|
});
|
|
3766
3768
|
var PostHogContext;
|
|
3767
3769
|
var init_context = __esm({
|
|
3768
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3770
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
|
|
3769
3771
|
PostHogContext = class {
|
|
3770
3772
|
constructor() {
|
|
3771
3773
|
this.storage = new async_hooks.AsyncLocalStorage();
|
|
@@ -3793,7 +3795,7 @@ var init_context = __esm({
|
|
|
3793
3795
|
}
|
|
3794
3796
|
});
|
|
3795
3797
|
|
|
3796
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3798
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
3797
3799
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
3798
3800
|
"error"
|
|
3799
3801
|
], sendExceptionsToPostHog = true } = {}) {
|
|
@@ -3849,7 +3851,7 @@ function sentryIntegration(_posthog, options) {
|
|
|
3849
3851
|
}
|
|
3850
3852
|
var NAME, PostHogSentryIntegration;
|
|
3851
3853
|
var init_sentry_integration = __esm({
|
|
3852
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3854
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
|
|
3853
3855
|
NAME = "posthog-node";
|
|
3854
3856
|
PostHogSentryIntegration = class {
|
|
3855
3857
|
static #_ = this.POSTHOG_ID_TAG = "posthog_distinct_id";
|
|
@@ -3871,7 +3873,7 @@ var init_sentry_integration = __esm({
|
|
|
3871
3873
|
}
|
|
3872
3874
|
});
|
|
3873
3875
|
|
|
3874
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3876
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/express.mjs
|
|
3875
3877
|
function setupExpressErrorHandler(_posthog, app) {
|
|
3876
3878
|
app.use(posthogErrorHandler(_posthog));
|
|
3877
3879
|
}
|
|
@@ -3903,14 +3905,14 @@ function posthogErrorHandler(posthog) {
|
|
|
3903
3905
|
};
|
|
3904
3906
|
}
|
|
3905
3907
|
var init_express = __esm({
|
|
3906
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3908
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/extensions/express.mjs"() {
|
|
3907
3909
|
init_error_tracking2();
|
|
3908
3910
|
}
|
|
3909
3911
|
});
|
|
3910
3912
|
|
|
3911
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3913
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/exports.mjs
|
|
3912
3914
|
var init_exports = __esm({
|
|
3913
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3915
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/exports.mjs"() {
|
|
3914
3916
|
init_dist();
|
|
3915
3917
|
init_sentry_integration();
|
|
3916
3918
|
init_express();
|
|
@@ -3918,7 +3920,7 @@ var init_exports = __esm({
|
|
|
3918
3920
|
}
|
|
3919
3921
|
});
|
|
3920
3922
|
|
|
3921
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3923
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
3922
3924
|
var index_node_exports = {};
|
|
3923
3925
|
__export(index_node_exports, {
|
|
3924
3926
|
FeatureFlagError: () => FeatureFlagError,
|
|
@@ -3930,7 +3932,7 @@ __export(index_node_exports, {
|
|
|
3930
3932
|
});
|
|
3931
3933
|
var PostHog;
|
|
3932
3934
|
var init_index_node = __esm({
|
|
3933
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3935
|
+
"../../node_modules/.pnpm/posthog-node@5.24.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
|
|
3934
3936
|
init_module_node();
|
|
3935
3937
|
init_context_lines_node();
|
|
3936
3938
|
init_error_tracking2();
|