autotel-subscribers 18.0.0 → 18.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/factories.cjs +108 -108
- package/dist/factories.cjs.map +1 -1
- package/dist/factories.js +108 -108
- package/dist/factories.js.map +1 -1
- package/dist/index.cjs +108 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +108 -108
- package/dist/index.js.map +1 -1
- package/dist/posthog.cjs +108 -108
- package/dist/posthog.cjs.map +1 -1
- package/dist/posthog.js +108 -108
- package/dist/posthog.js.map +1 -1
- package/package.json +5 -5
package/dist/factories.cjs
CHANGED
|
@@ -115,11 +115,11 @@ function normalizeWindowsPath(path) {
|
|
|
115
115
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
116
116
|
}
|
|
117
117
|
var init_module_node = __esm({
|
|
118
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
118
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs"() {
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
122
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
123
123
|
function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
124
124
|
return {
|
|
125
125
|
key,
|
|
@@ -136,7 +136,7 @@ function getFlagDetailFromFlagAndPayload(key, value, payload) {
|
|
|
136
136
|
}
|
|
137
137
|
var normalizeFlagsResponse, getFlagValuesFromFlags, getPayloadsFromFlags, getFeatureFlagValue, parsePayload;
|
|
138
138
|
var init_featureFlagUtils = __esm({
|
|
139
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
139
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/featureFlagUtils.mjs"() {
|
|
140
140
|
normalizeFlagsResponse = (flagsResponse) => {
|
|
141
141
|
if ("flags" in flagsResponse) {
|
|
142
142
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -194,10 +194,10 @@ var init_featureFlagUtils = __esm({
|
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
197
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
198
198
|
var DIGITS, UUID, V7Generator, getDefaultRandom, defaultGenerator, uuidv7, uuidv7obj;
|
|
199
199
|
var init_uuidv7 = __esm({
|
|
200
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
200
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/vendor/uuidv7.mjs"() {
|
|
201
201
|
DIGITS = "0123456789abcdef";
|
|
202
202
|
UUID = class _UUID {
|
|
203
203
|
constructor(bytes) {
|
|
@@ -358,10 +358,10 @@ var init_uuidv7 = __esm({
|
|
|
358
358
|
}
|
|
359
359
|
});
|
|
360
360
|
|
|
361
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
361
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
362
362
|
var DEFAULT_BLOCKED_UA_STRS, isBlockedUA;
|
|
363
363
|
var init_bot_detection = __esm({
|
|
364
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
364
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
|
|
365
365
|
DEFAULT_BLOCKED_UA_STRS = [
|
|
366
366
|
"amazonbot",
|
|
367
367
|
"amazonproductbot",
|
|
@@ -452,10 +452,10 @@ var init_bot_detection = __esm({
|
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
454
|
|
|
455
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
455
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/types.mjs
|
|
456
456
|
var types_PostHogPersistedProperty, FeatureFlagError;
|
|
457
457
|
var init_types = __esm({
|
|
458
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
458
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/types.mjs"() {
|
|
459
459
|
types_PostHogPersistedProperty = /* @__PURE__ */ (function(PostHogPersistedProperty) {
|
|
460
460
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
461
461
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -498,13 +498,13 @@ var init_types = __esm({
|
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
500
|
|
|
501
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
501
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/string-utils.mjs
|
|
502
502
|
var init_string_utils = __esm({
|
|
503
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
503
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
|
|
507
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
507
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
508
508
|
function isPrimitive(value) {
|
|
509
509
|
return null === value || "object" != typeof value;
|
|
510
510
|
}
|
|
@@ -529,7 +529,7 @@ function isInstanceOf(candidate, base) {
|
|
|
529
529
|
}
|
|
530
530
|
var nativeIsArray, ObjProto, type_utils_toString, isArray, isObject, isUndefined, isString, isEmptyString, isNumber, isPlainError;
|
|
531
531
|
var init_type_utils = __esm({
|
|
532
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
532
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
|
|
533
533
|
init_types();
|
|
534
534
|
init_string_utils();
|
|
535
535
|
nativeIsArray = Array.isArray;
|
|
@@ -548,7 +548,7 @@ var init_type_utils = __esm({
|
|
|
548
548
|
}
|
|
549
549
|
});
|
|
550
550
|
|
|
551
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
551
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
552
552
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
553
553
|
if (min > max) {
|
|
554
554
|
logger.warn("min cannot be greater than max.");
|
|
@@ -566,15 +566,15 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
566
566
|
return clampToRange(max, min, max, logger);
|
|
567
567
|
}
|
|
568
568
|
var init_number_utils = __esm({
|
|
569
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
569
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
|
|
570
570
|
init_type_utils();
|
|
571
571
|
}
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
574
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
575
575
|
var ONE_DAY_IN_MS, BucketedRateLimiter;
|
|
576
576
|
var init_bucketed_rate_limiter = __esm({
|
|
577
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
577
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
|
|
578
578
|
init_number_utils();
|
|
579
579
|
ONE_DAY_IN_MS = 864e5;
|
|
580
580
|
BucketedRateLimiter = class {
|
|
@@ -618,10 +618,10 @@ var init_bucketed_rate_limiter = __esm({
|
|
|
618
618
|
}
|
|
619
619
|
});
|
|
620
620
|
|
|
621
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
621
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
622
622
|
var PromiseQueue;
|
|
623
623
|
var init_promise_queue = __esm({
|
|
624
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
624
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
|
|
625
625
|
init_uuidv7();
|
|
626
626
|
PromiseQueue = class {
|
|
627
627
|
add(promise) {
|
|
@@ -652,7 +652,7 @@ var init_promise_queue = __esm({
|
|
|
652
652
|
}
|
|
653
653
|
});
|
|
654
654
|
|
|
655
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
655
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
656
656
|
function createConsole(consoleLike = console) {
|
|
657
657
|
const lockedMethods = {
|
|
658
658
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -667,7 +667,7 @@ function createLogger(prefix, maybeCall = passThrough) {
|
|
|
667
667
|
}
|
|
668
668
|
var _createLogger, passThrough;
|
|
669
669
|
var init_logger = __esm({
|
|
670
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
670
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/logger.mjs"() {
|
|
671
671
|
_createLogger = (prefix, maybeCall, consoleLike) => {
|
|
672
672
|
function _log(level, ...args) {
|
|
673
673
|
maybeCall(() => {
|
|
@@ -696,10 +696,10 @@ var init_logger = __esm({
|
|
|
696
696
|
}
|
|
697
697
|
});
|
|
698
698
|
|
|
699
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
699
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
700
700
|
var MOBILE, TABLET, GENERIC;
|
|
701
701
|
var init_user_agent_utils = __esm({
|
|
702
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
702
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
|
|
703
703
|
init_string_utils();
|
|
704
704
|
init_type_utils();
|
|
705
705
|
MOBILE = "Mobile";
|
|
@@ -710,7 +710,7 @@ var init_user_agent_utils = __esm({
|
|
|
710
710
|
}
|
|
711
711
|
});
|
|
712
712
|
|
|
713
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
713
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/index.mjs
|
|
714
714
|
function assert(truthyValue, message2) {
|
|
715
715
|
if (!truthyValue || "string" != typeof truthyValue || isEmpty(truthyValue)) throw new Error(message2);
|
|
716
716
|
}
|
|
@@ -754,7 +754,7 @@ function allSettled(promises) {
|
|
|
754
754
|
}
|
|
755
755
|
var STRING_FORMAT, isError;
|
|
756
756
|
var init_utils = __esm({
|
|
757
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
757
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/utils/index.mjs"() {
|
|
758
758
|
init_bot_detection();
|
|
759
759
|
init_bucketed_rate_limiter();
|
|
760
760
|
init_number_utils();
|
|
@@ -768,10 +768,10 @@ var init_utils = __esm({
|
|
|
768
768
|
}
|
|
769
769
|
});
|
|
770
770
|
|
|
771
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
771
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
772
772
|
var SimpleEventEmitter;
|
|
773
773
|
var init_eventemitter = __esm({
|
|
774
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
774
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/eventemitter.mjs"() {
|
|
775
775
|
SimpleEventEmitter = class {
|
|
776
776
|
constructor() {
|
|
777
777
|
this.events = {};
|
|
@@ -792,7 +792,7 @@ var init_eventemitter = __esm({
|
|
|
792
792
|
}
|
|
793
793
|
});
|
|
794
794
|
|
|
795
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
795
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/gzip.mjs
|
|
796
796
|
function isGzipSupported() {
|
|
797
797
|
return "CompressionStream" in globalThis;
|
|
798
798
|
}
|
|
@@ -811,11 +811,11 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
811
811
|
}
|
|
812
812
|
}
|
|
813
813
|
var init_gzip = __esm({
|
|
814
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
814
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/gzip.mjs"() {
|
|
815
815
|
}
|
|
816
816
|
});
|
|
817
817
|
|
|
818
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
818
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
819
819
|
async function logFlushError(err) {
|
|
820
820
|
if (err instanceof PostHogFetchHttpError) {
|
|
821
821
|
let text = "";
|
|
@@ -835,7 +835,7 @@ function isPostHogFetchContentTooLargeError(err) {
|
|
|
835
835
|
}
|
|
836
836
|
var PostHogFetchHttpError, PostHogFetchNetworkError, PostHogCoreStateless;
|
|
837
837
|
var init_posthog_core_stateless = __esm({
|
|
838
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
838
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
|
|
839
839
|
init_eventemitter();
|
|
840
840
|
init_featureFlagUtils();
|
|
841
841
|
init_gzip();
|
|
@@ -1488,9 +1488,9 @@ var init_posthog_core_stateless = __esm({
|
|
|
1488
1488
|
}
|
|
1489
1489
|
});
|
|
1490
1490
|
|
|
1491
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1491
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/posthog-core.mjs
|
|
1492
1492
|
var init_posthog_core = __esm({
|
|
1493
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1493
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/posthog-core.mjs"() {
|
|
1494
1494
|
init_featureFlagUtils();
|
|
1495
1495
|
init_types();
|
|
1496
1496
|
init_posthog_core_stateless();
|
|
@@ -1499,7 +1499,7 @@ var init_posthog_core = __esm({
|
|
|
1499
1499
|
}
|
|
1500
1500
|
});
|
|
1501
1501
|
|
|
1502
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1502
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
1503
1503
|
function getFilenameToChunkIdMap(stackParser) {
|
|
1504
1504
|
const chunkIdMap = globalThis._posthogChunkIds;
|
|
1505
1505
|
if (!chunkIdMap) return;
|
|
@@ -1532,14 +1532,14 @@ function getFilenameToChunkIdMap(stackParser) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
var parsedStackResults, lastKeysCount, cachedFilenameChunkIds;
|
|
1534
1534
|
var init_chunk_ids = __esm({
|
|
1535
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1535
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
|
|
1536
1536
|
}
|
|
1537
1537
|
});
|
|
1538
1538
|
|
|
1539
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1539
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
1540
1540
|
var MAX_CAUSE_RECURSION, ErrorPropertiesBuilder;
|
|
1541
1541
|
var init_error_properties_builder = __esm({
|
|
1542
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1542
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
|
|
1543
1543
|
init_utils();
|
|
1544
1544
|
init_chunk_ids();
|
|
1545
1545
|
MAX_CAUSE_RECURSION = 4;
|
|
@@ -1653,7 +1653,7 @@ var init_error_properties_builder = __esm({
|
|
|
1653
1653
|
}
|
|
1654
1654
|
});
|
|
1655
1655
|
|
|
1656
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1656
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
|
|
1657
1657
|
function createFrame(platform, filename, func, lineno, colno) {
|
|
1658
1658
|
const frame = {
|
|
1659
1659
|
platform,
|
|
@@ -1667,16 +1667,16 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
var UNKNOWN_FUNCTION;
|
|
1669
1669
|
var init_base = __esm({
|
|
1670
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1670
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
|
|
1671
1671
|
init_utils();
|
|
1672
1672
|
UNKNOWN_FUNCTION = "?";
|
|
1673
1673
|
}
|
|
1674
1674
|
});
|
|
1675
1675
|
|
|
1676
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1676
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
1677
1677
|
var extractSafariExtensionDetails;
|
|
1678
1678
|
var init_safari = __esm({
|
|
1679
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1679
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
|
|
1680
1680
|
init_base();
|
|
1681
1681
|
extractSafariExtensionDetails = (func, filename) => {
|
|
1682
1682
|
const isSafariExtension = -1 !== func.indexOf("safari-extension");
|
|
@@ -1692,10 +1692,10 @@ var init_safari = __esm({
|
|
|
1692
1692
|
}
|
|
1693
1693
|
});
|
|
1694
1694
|
|
|
1695
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1695
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
1696
1696
|
var chromeRegexNoFnName, chromeRegex, chromeEvalRegex, chromeStackLineParser;
|
|
1697
1697
|
var init_chrome = __esm({
|
|
1698
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1698
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
|
|
1699
1699
|
init_base();
|
|
1700
1700
|
init_safari();
|
|
1701
1701
|
chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
@@ -1725,10 +1725,10 @@ var init_chrome = __esm({
|
|
|
1725
1725
|
}
|
|
1726
1726
|
});
|
|
1727
1727
|
|
|
1728
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1728
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
1729
1729
|
var geckoREgex, geckoEvalRegex, geckoStackLineParser;
|
|
1730
1730
|
var init_gecko = __esm({
|
|
1731
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1731
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
|
|
1732
1732
|
init_base();
|
|
1733
1733
|
init_safari();
|
|
1734
1734
|
geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
@@ -1755,10 +1755,10 @@ var init_gecko = __esm({
|
|
|
1755
1755
|
}
|
|
1756
1756
|
});
|
|
1757
1757
|
|
|
1758
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1758
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
|
|
1759
1759
|
var winjsRegex, winjsStackLineParser;
|
|
1760
1760
|
var init_winjs = __esm({
|
|
1761
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1761
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
|
|
1762
1762
|
init_base();
|
|
1763
1763
|
winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
|
|
1764
1764
|
winjsStackLineParser = (line, platform) => {
|
|
@@ -1768,10 +1768,10 @@ var init_winjs = __esm({
|
|
|
1768
1768
|
}
|
|
1769
1769
|
});
|
|
1770
1770
|
|
|
1771
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1771
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
|
|
1772
1772
|
var opera10Regex, opera10StackLineParser, opera11Regex, opera11StackLineParser;
|
|
1773
1773
|
var init_opera = __esm({
|
|
1774
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1774
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
|
|
1775
1775
|
init_base();
|
|
1776
1776
|
opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
|
|
1777
1777
|
opera10StackLineParser = (line, platform) => {
|
|
@@ -1786,7 +1786,7 @@ var init_opera = __esm({
|
|
|
1786
1786
|
}
|
|
1787
1787
|
});
|
|
1788
1788
|
|
|
1789
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1789
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
1790
1790
|
function filenameIsInApp(filename, isNative = false) {
|
|
1791
1791
|
const isInternal = isNative || filename && !filename.startsWith("/") && !filename.match(/^[A-Z]:/) && !filename.startsWith(".") && !filename.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);
|
|
1792
1792
|
return !isInternal && void 0 !== filename && !filename.includes("node_modules/");
|
|
@@ -1796,7 +1796,7 @@ function _parseIntOrUndefined(input) {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
var FILENAME_MATCH, FULL_MATCH, nodeStackLineParser;
|
|
1798
1798
|
var init_node = __esm({
|
|
1799
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1799
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
|
|
1800
1800
|
init_base();
|
|
1801
1801
|
FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
1802
1802
|
FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
@@ -1857,7 +1857,7 @@ var init_node = __esm({
|
|
|
1857
1857
|
}
|
|
1858
1858
|
});
|
|
1859
1859
|
|
|
1860
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1860
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
1861
1861
|
function reverseAndStripFrames(stack) {
|
|
1862
1862
|
if (!stack.length) return [];
|
|
1863
1863
|
const localStack = Array.from(stack);
|
|
@@ -1898,7 +1898,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
var WEBPACK_ERROR_REGEXP, STACKTRACE_FRAME_LIMIT;
|
|
1900
1900
|
var init_parsers = __esm({
|
|
1901
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1901
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
|
|
1902
1902
|
init_base();
|
|
1903
1903
|
init_chrome();
|
|
1904
1904
|
init_gecko();
|
|
@@ -1910,10 +1910,10 @@ var init_parsers = __esm({
|
|
|
1910
1910
|
}
|
|
1911
1911
|
});
|
|
1912
1912
|
|
|
1913
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1913
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
|
|
1914
1914
|
var DOMExceptionCoercer;
|
|
1915
1915
|
var init_dom_exception_coercer = __esm({
|
|
1916
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1916
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
|
|
1917
1917
|
init_utils();
|
|
1918
1918
|
DOMExceptionCoercer = class {
|
|
1919
1919
|
match(err) {
|
|
@@ -1947,10 +1947,10 @@ var init_dom_exception_coercer = __esm({
|
|
|
1947
1947
|
}
|
|
1948
1948
|
});
|
|
1949
1949
|
|
|
1950
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1950
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
1951
1951
|
var ErrorCoercer;
|
|
1952
1952
|
var init_error_coercer = __esm({
|
|
1953
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1953
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
|
|
1954
1954
|
init_utils();
|
|
1955
1955
|
ErrorCoercer = class {
|
|
1956
1956
|
match(err) {
|
|
@@ -1980,10 +1980,10 @@ var init_error_coercer = __esm({
|
|
|
1980
1980
|
}
|
|
1981
1981
|
});
|
|
1982
1982
|
|
|
1983
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1983
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
|
|
1984
1984
|
var ErrorEventCoercer;
|
|
1985
1985
|
var init_error_event_coercer = __esm({
|
|
1986
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
1986
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
|
|
1987
1987
|
init_utils();
|
|
1988
1988
|
ErrorEventCoercer = class {
|
|
1989
1989
|
constructor() {
|
|
@@ -2005,10 +2005,10 @@ var init_error_event_coercer = __esm({
|
|
|
2005
2005
|
}
|
|
2006
2006
|
});
|
|
2007
2007
|
|
|
2008
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2008
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
2009
2009
|
var ERROR_TYPES_PATTERN, StringCoercer;
|
|
2010
2010
|
var init_string_coercer = __esm({
|
|
2011
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2011
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
|
|
2012
2012
|
ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
2013
2013
|
StringCoercer = class {
|
|
2014
2014
|
match(input) {
|
|
@@ -2040,10 +2040,10 @@ var init_string_coercer = __esm({
|
|
|
2040
2040
|
}
|
|
2041
2041
|
});
|
|
2042
2042
|
|
|
2043
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2043
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
2044
2044
|
var severityLevels;
|
|
2045
2045
|
var init_types2 = __esm({
|
|
2046
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2046
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
|
|
2047
2047
|
severityLevels = [
|
|
2048
2048
|
"fatal",
|
|
2049
2049
|
"error",
|
|
@@ -2055,7 +2055,7 @@ var init_types2 = __esm({
|
|
|
2055
2055
|
}
|
|
2056
2056
|
});
|
|
2057
2057
|
|
|
2058
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2058
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
2059
2059
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
2060
2060
|
const keys = Object.keys(err);
|
|
2061
2061
|
keys.sort();
|
|
@@ -2070,14 +2070,14 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
2070
2070
|
return "";
|
|
2071
2071
|
}
|
|
2072
2072
|
var init_utils2 = __esm({
|
|
2073
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2073
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
|
|
2074
2074
|
}
|
|
2075
2075
|
});
|
|
2076
2076
|
|
|
2077
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2077
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
2078
2078
|
var ObjectCoercer;
|
|
2079
2079
|
var init_object_coercer = __esm({
|
|
2080
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2080
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
|
|
2081
2081
|
init_utils();
|
|
2082
2082
|
init_types2();
|
|
2083
2083
|
init_utils2();
|
|
@@ -2131,10 +2131,10 @@ var init_object_coercer = __esm({
|
|
|
2131
2131
|
}
|
|
2132
2132
|
});
|
|
2133
2133
|
|
|
2134
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2134
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
2135
2135
|
var EventCoercer;
|
|
2136
2136
|
var init_event_coercer = __esm({
|
|
2137
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2137
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
|
|
2138
2138
|
init_utils();
|
|
2139
2139
|
init_utils2();
|
|
2140
2140
|
EventCoercer = class {
|
|
@@ -2154,10 +2154,10 @@ var init_event_coercer = __esm({
|
|
|
2154
2154
|
}
|
|
2155
2155
|
});
|
|
2156
2156
|
|
|
2157
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2157
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
2158
2158
|
var PrimitiveCoercer;
|
|
2159
2159
|
var init_primitive_coercer = __esm({
|
|
2160
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2160
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
|
|
2161
2161
|
init_utils();
|
|
2162
2162
|
PrimitiveCoercer = class {
|
|
2163
2163
|
match(candidate) {
|
|
@@ -2175,10 +2175,10 @@ var init_primitive_coercer = __esm({
|
|
|
2175
2175
|
}
|
|
2176
2176
|
});
|
|
2177
2177
|
|
|
2178
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2178
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
|
|
2179
2179
|
var PromiseRejectionEventCoercer;
|
|
2180
2180
|
var init_promise_rejection_event = __esm({
|
|
2181
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2181
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
|
|
2182
2182
|
init_utils();
|
|
2183
2183
|
PromiseRejectionEventCoercer = class {
|
|
2184
2184
|
match(err) {
|
|
@@ -2207,9 +2207,9 @@ var init_promise_rejection_event = __esm({
|
|
|
2207
2207
|
}
|
|
2208
2208
|
});
|
|
2209
2209
|
|
|
2210
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2210
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
|
|
2211
2211
|
var init_coercers = __esm({
|
|
2212
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2212
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
|
|
2213
2213
|
init_dom_exception_coercer();
|
|
2214
2214
|
init_error_coercer();
|
|
2215
2215
|
init_error_event_coercer();
|
|
@@ -2221,10 +2221,10 @@ var init_coercers = __esm({
|
|
|
2221
2221
|
}
|
|
2222
2222
|
});
|
|
2223
2223
|
|
|
2224
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2224
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
2225
2225
|
var ReduceableCache;
|
|
2226
2226
|
var init_utils3 = __esm({
|
|
2227
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2227
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
|
|
2228
2228
|
ReduceableCache = class {
|
|
2229
2229
|
constructor(_maxSize) {
|
|
2230
2230
|
this._maxSize = _maxSize;
|
|
@@ -2250,7 +2250,7 @@ var init_utils3 = __esm({
|
|
|
2250
2250
|
}
|
|
2251
2251
|
});
|
|
2252
2252
|
|
|
2253
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2253
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/index.mjs
|
|
2254
2254
|
var error_tracking_exports = {};
|
|
2255
2255
|
__export(error_tracking_exports, {
|
|
2256
2256
|
DOMExceptionCoercer: () => DOMExceptionCoercer,
|
|
@@ -2274,7 +2274,7 @@ __export(error_tracking_exports, {
|
|
|
2274
2274
|
winjsStackLineParser: () => winjsStackLineParser
|
|
2275
2275
|
});
|
|
2276
2276
|
var init_error_tracking = __esm({
|
|
2277
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2277
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
|
|
2278
2278
|
init_error_properties_builder();
|
|
2279
2279
|
init_parsers();
|
|
2280
2280
|
init_coercers();
|
|
@@ -2282,9 +2282,9 @@ var init_error_tracking = __esm({
|
|
|
2282
2282
|
}
|
|
2283
2283
|
});
|
|
2284
2284
|
|
|
2285
|
-
// ../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2285
|
+
// ../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/index.mjs
|
|
2286
2286
|
var init_dist = __esm({
|
|
2287
|
-
"../../node_modules/.pnpm/@posthog+core@1.14.
|
|
2287
|
+
"../../node_modules/.pnpm/@posthog+core@1.14.1/node_modules/@posthog/core/dist/index.mjs"() {
|
|
2288
2288
|
init_featureFlagUtils();
|
|
2289
2289
|
init_uuidv7();
|
|
2290
2290
|
init_utils();
|
|
@@ -2475,7 +2475,7 @@ function snipLine(line, colno) {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
var LRU_FILE_CONTENTS_CACHE, LRU_FILE_CONTENTS_FS_READ_FAILED, DEFAULT_LINES_OF_CONTEXT, MAX_CONTEXTLINES_COLNO, MAX_CONTEXTLINES_LINENO;
|
|
2477
2477
|
var init_context_lines_node = __esm({
|
|
2478
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2478
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
|
|
2479
2479
|
init_dist();
|
|
2480
2480
|
LRU_FILE_CONTENTS_CACHE = new error_tracking_exports.ReduceableCache(25);
|
|
2481
2481
|
LRU_FILE_CONTENTS_FS_READ_FAILED = new error_tracking_exports.ReduceableCache(20);
|
|
@@ -2485,7 +2485,7 @@ var init_context_lines_node = __esm({
|
|
|
2485
2485
|
}
|
|
2486
2486
|
});
|
|
2487
2487
|
|
|
2488
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2488
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
2489
2489
|
function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
|
|
2490
2490
|
let calledFatalError = false;
|
|
2491
2491
|
return Object.assign((error) => {
|
|
@@ -2517,14 +2517,14 @@ function addUnhandledRejectionListener(captureFn) {
|
|
|
2517
2517
|
}));
|
|
2518
2518
|
}
|
|
2519
2519
|
var init_autocapture = __esm({
|
|
2520
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2520
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
|
|
2521
2521
|
}
|
|
2522
2522
|
});
|
|
2523
2523
|
|
|
2524
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2524
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
2525
2525
|
var SHUTDOWN_TIMEOUT, ErrorTracking;
|
|
2526
2526
|
var init_error_tracking2 = __esm({
|
|
2527
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2527
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
|
|
2528
2528
|
init_autocapture();
|
|
2529
2529
|
init_dist();
|
|
2530
2530
|
SHUTDOWN_TIMEOUT = 2e3;
|
|
@@ -2595,18 +2595,18 @@ var init_error_tracking2 = __esm({
|
|
|
2595
2595
|
}
|
|
2596
2596
|
});
|
|
2597
2597
|
|
|
2598
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2598
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/version.mjs
|
|
2599
2599
|
var version;
|
|
2600
2600
|
var init_version = __esm({
|
|
2601
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2602
|
-
version = "5.24.
|
|
2601
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/version.mjs"() {
|
|
2602
|
+
version = "5.24.3";
|
|
2603
2603
|
}
|
|
2604
2604
|
});
|
|
2605
2605
|
|
|
2606
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2606
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/types.mjs
|
|
2607
2607
|
var FeatureFlagError2;
|
|
2608
2608
|
var init_types3 = __esm({
|
|
2609
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2609
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/types.mjs"() {
|
|
2610
2610
|
FeatureFlagError2 = {
|
|
2611
2611
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
2612
2612
|
FLAG_MISSING: "flag_missing",
|
|
@@ -2616,7 +2616,7 @@ var init_types3 = __esm({
|
|
|
2616
2616
|
}
|
|
2617
2617
|
});
|
|
2618
2618
|
|
|
2619
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2619
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
|
|
2620
2620
|
async function hashSHA1(text) {
|
|
2621
2621
|
const subtle = globalThis.crypto?.subtle;
|
|
2622
2622
|
if (!subtle) throw new Error("SubtleCrypto API not available");
|
|
@@ -2625,11 +2625,11 @@ async function hashSHA1(text) {
|
|
|
2625
2625
|
return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
2626
2626
|
}
|
|
2627
2627
|
var init_crypto = __esm({
|
|
2628
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2628
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
|
|
2629
2629
|
}
|
|
2630
2630
|
});
|
|
2631
2631
|
|
|
2632
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
2632
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
2633
2633
|
async function _hash(key, distinctId, salt = "") {
|
|
2634
2634
|
const hashString = await hashSHA1(`${key}.${distinctId}${salt}`);
|
|
2635
2635
|
return parseInt(hashString.slice(0, 15), 16) / LONG_SCALE;
|
|
@@ -2797,7 +2797,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
|
|
|
2797
2797
|
}
|
|
2798
2798
|
var SIXTY_SECONDS, LONG_SCALE, NULL_VALUES_ALLOWED_OPERATORS, ClientError, InconclusiveMatchError, RequiresServerEvaluation, FeatureFlagsPoller;
|
|
2799
2799
|
var init_feature_flags = __esm({
|
|
2800
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
2800
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
|
|
2801
2801
|
init_dist();
|
|
2802
2802
|
init_crypto();
|
|
2803
2803
|
SIXTY_SECONDS = 6e4;
|
|
@@ -3210,10 +3210,10 @@ var init_feature_flags = __esm({
|
|
|
3210
3210
|
}
|
|
3211
3211
|
});
|
|
3212
3212
|
|
|
3213
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3213
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/storage-memory.mjs
|
|
3214
3214
|
var PostHogMemoryStorage;
|
|
3215
3215
|
var init_storage_memory = __esm({
|
|
3216
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3216
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/storage-memory.mjs"() {
|
|
3217
3217
|
PostHogMemoryStorage = class {
|
|
3218
3218
|
getProperty(key) {
|
|
3219
3219
|
return this._memoryStorage[key];
|
|
@@ -3228,10 +3228,10 @@ var init_storage_memory = __esm({
|
|
|
3228
3228
|
}
|
|
3229
3229
|
});
|
|
3230
3230
|
|
|
3231
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3231
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/client.mjs
|
|
3232
3232
|
var MINIMUM_POLLING_INTERVAL, THIRTY_SECONDS, MAX_CACHE_SIZE, PostHogBackendClient;
|
|
3233
3233
|
var init_client = __esm({
|
|
3234
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3234
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/client.mjs"() {
|
|
3235
3235
|
init_version();
|
|
3236
3236
|
init_dist();
|
|
3237
3237
|
init_types3();
|
|
@@ -3839,7 +3839,7 @@ var init_client = __esm({
|
|
|
3839
3839
|
});
|
|
3840
3840
|
var PostHogContext;
|
|
3841
3841
|
var init_context = __esm({
|
|
3842
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3842
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
|
|
3843
3843
|
PostHogContext = class {
|
|
3844
3844
|
constructor() {
|
|
3845
3845
|
this.storage = new async_hooks.AsyncLocalStorage();
|
|
@@ -3867,7 +3867,7 @@ var init_context = __esm({
|
|
|
3867
3867
|
}
|
|
3868
3868
|
});
|
|
3869
3869
|
|
|
3870
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3870
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
3871
3871
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
|
|
3872
3872
|
"error"
|
|
3873
3873
|
], sendExceptionsToPostHog = true } = {}) {
|
|
@@ -3923,7 +3923,7 @@ function sentryIntegration(_posthog, options) {
|
|
|
3923
3923
|
}
|
|
3924
3924
|
var NAME, PostHogSentryIntegration;
|
|
3925
3925
|
var init_sentry_integration = __esm({
|
|
3926
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3926
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
|
|
3927
3927
|
NAME = "posthog-node";
|
|
3928
3928
|
PostHogSentryIntegration = class {
|
|
3929
3929
|
static #_ = this.POSTHOG_ID_TAG = "posthog_distinct_id";
|
|
@@ -3945,7 +3945,7 @@ var init_sentry_integration = __esm({
|
|
|
3945
3945
|
}
|
|
3946
3946
|
});
|
|
3947
3947
|
|
|
3948
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3948
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/express.mjs
|
|
3949
3949
|
function setupExpressErrorHandler(_posthog, app) {
|
|
3950
3950
|
app.use(posthogErrorHandler(_posthog));
|
|
3951
3951
|
}
|
|
@@ -3977,14 +3977,14 @@ function posthogErrorHandler(posthog) {
|
|
|
3977
3977
|
};
|
|
3978
3978
|
}
|
|
3979
3979
|
var init_express = __esm({
|
|
3980
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3980
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/extensions/express.mjs"() {
|
|
3981
3981
|
init_error_tracking2();
|
|
3982
3982
|
}
|
|
3983
3983
|
});
|
|
3984
3984
|
|
|
3985
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3985
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/exports.mjs
|
|
3986
3986
|
var init_exports = __esm({
|
|
3987
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
3987
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/exports.mjs"() {
|
|
3988
3988
|
init_dist();
|
|
3989
3989
|
init_sentry_integration();
|
|
3990
3990
|
init_express();
|
|
@@ -3992,7 +3992,7 @@ var init_exports = __esm({
|
|
|
3992
3992
|
}
|
|
3993
3993
|
});
|
|
3994
3994
|
|
|
3995
|
-
// ../../node_modules/.pnpm/posthog-node@5.24.
|
|
3995
|
+
// ../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
3996
3996
|
var index_node_exports = {};
|
|
3997
3997
|
__export(index_node_exports, {
|
|
3998
3998
|
FeatureFlagError: () => FeatureFlagError,
|
|
@@ -4004,7 +4004,7 @@ __export(index_node_exports, {
|
|
|
4004
4004
|
});
|
|
4005
4005
|
var PostHog;
|
|
4006
4006
|
var init_index_node = __esm({
|
|
4007
|
-
"../../node_modules/.pnpm/posthog-node@5.24.
|
|
4007
|
+
"../../node_modules/.pnpm/posthog-node@5.24.3/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
|
|
4008
4008
|
init_module_node();
|
|
4009
4009
|
init_context_lines_node();
|
|
4010
4010
|
init_error_tracking2();
|