autotel-subscribers 28.0.0 → 28.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.js CHANGED
@@ -82,11 +82,11 @@ function normalizeWindowsPath(path) {
82
82
  return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
83
83
  }
84
84
  var init_module_node = __esm({
85
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs"() {
85
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs"() {
86
86
  }
87
87
  });
88
88
 
89
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs
89
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/featureFlagUtils.mjs
90
90
  function getFlagDetailFromFlagAndPayload(key, value, payload) {
91
91
  return {
92
92
  key,
@@ -103,7 +103,7 @@ function getFlagDetailFromFlagAndPayload(key, value, payload) {
103
103
  }
104
104
  var normalizeFlagsResponse, getFlagValuesFromFlags, getPayloadsFromFlags, getFeatureFlagValue, parsePayload;
105
105
  var init_featureFlagUtils = __esm({
106
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/featureFlagUtils.mjs"() {
106
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/featureFlagUtils.mjs"() {
107
107
  normalizeFlagsResponse = (flagsResponse) => {
108
108
  if ("flags" in flagsResponse) {
109
109
  const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
@@ -161,10 +161,10 @@ var init_featureFlagUtils = __esm({
161
161
  }
162
162
  });
163
163
 
164
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
164
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
165
165
  var DIGITS, UUID, V7Generator, getDefaultRandom, defaultGenerator, uuidv7, uuidv7obj;
166
166
  var init_uuidv7 = __esm({
167
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/vendor/uuidv7.mjs"() {
167
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/vendor/uuidv7.mjs"() {
168
168
  DIGITS = "0123456789abcdef";
169
169
  UUID = class _UUID {
170
170
  constructor(bytes) {
@@ -325,10 +325,10 @@ var init_uuidv7 = __esm({
325
325
  }
326
326
  });
327
327
 
328
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/types.mjs
328
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/types.mjs
329
329
  var types_PostHogPersistedProperty, FeatureFlagError;
330
330
  var init_types = __esm({
331
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/types.mjs"() {
331
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/types.mjs"() {
332
332
  types_PostHogPersistedProperty = /* @__PURE__ */ (function(PostHogPersistedProperty) {
333
333
  PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
334
334
  PostHogPersistedProperty["DistinctId"] = "distinct_id";
@@ -371,17 +371,17 @@ var init_types = __esm({
371
371
  }
372
372
  });
373
373
 
374
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/surveys/validation.mjs
374
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/surveys/validation.mjs
375
375
  var init_validation = __esm({
376
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/surveys/validation.mjs"() {
376
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/surveys/validation.mjs"() {
377
377
  init_types();
378
378
  }
379
379
  });
380
380
 
381
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs
381
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/bot-detection.mjs
382
382
  var DEFAULT_BLOCKED_UA_STRS, isBlockedUA;
383
383
  var init_bot_detection = __esm({
384
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
384
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/bot-detection.mjs"() {
385
385
  DEFAULT_BLOCKED_UA_STRS = [
386
386
  "amazonbot",
387
387
  "amazonproductbot",
@@ -472,13 +472,13 @@ var init_bot_detection = __esm({
472
472
  }
473
473
  });
474
474
 
475
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/string-utils.mjs
475
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/string-utils.mjs
476
476
  var init_string_utils = __esm({
477
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
477
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/string-utils.mjs"() {
478
478
  }
479
479
  });
480
480
 
481
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/type-utils.mjs
481
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/type-utils.mjs
482
482
  function isPrimitive(value) {
483
483
  return null === value || "object" != typeof value;
484
484
  }
@@ -503,7 +503,7 @@ function isInstanceOf(candidate, base) {
503
503
  }
504
504
  var nativeIsArray, ObjProto, type_utils_toString, isArray, isObject, isUndefined, isString, isEmptyString, isNumber, isPlainError;
505
505
  var init_type_utils = __esm({
506
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
506
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/type-utils.mjs"() {
507
507
  init_types();
508
508
  init_string_utils();
509
509
  nativeIsArray = Array.isArray;
@@ -522,7 +522,7 @@ var init_type_utils = __esm({
522
522
  }
523
523
  });
524
524
 
525
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/number-utils.mjs
525
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/number-utils.mjs
526
526
  function clampToRange(value, min, max, logger, fallbackValue) {
527
527
  if (min > max) {
528
528
  logger.warn("min cannot be greater than max.");
@@ -540,15 +540,15 @@ function clampToRange(value, min, max, logger, fallbackValue) {
540
540
  return clampToRange(max, min, max, logger);
541
541
  }
542
542
  var init_number_utils = __esm({
543
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
543
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/number-utils.mjs"() {
544
544
  init_type_utils();
545
545
  }
546
546
  });
547
547
 
548
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
548
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
549
549
  var ONE_DAY_IN_MS, BucketedRateLimiter;
550
550
  var init_bucketed_rate_limiter = __esm({
551
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
551
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs"() {
552
552
  init_number_utils();
553
553
  ONE_DAY_IN_MS = 864e5;
554
554
  BucketedRateLimiter = class {
@@ -592,10 +592,10 @@ var init_bucketed_rate_limiter = __esm({
592
592
  }
593
593
  });
594
594
 
595
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs
595
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/promise-queue.mjs
596
596
  var PromiseQueue;
597
597
  var init_promise_queue = __esm({
598
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
598
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/promise-queue.mjs"() {
599
599
  init_uuidv7();
600
600
  PromiseQueue = class {
601
601
  add(promise) {
@@ -626,7 +626,7 @@ var init_promise_queue = __esm({
626
626
  }
627
627
  });
628
628
 
629
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/logger.mjs
629
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/logger.mjs
630
630
  function createConsole(consoleLike = console) {
631
631
  const lockedMethods = {
632
632
  log: consoleLike.log.bind(consoleLike),
@@ -641,7 +641,7 @@ function createLogger(prefix, maybeCall = passThrough) {
641
641
  }
642
642
  var _createLogger, passThrough;
643
643
  var init_logger = __esm({
644
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/logger.mjs"() {
644
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/logger.mjs"() {
645
645
  _createLogger = (prefix, maybeCall, consoleLike) => {
646
646
  function _log(level, ...args) {
647
647
  maybeCall(() => {
@@ -670,10 +670,10 @@ var init_logger = __esm({
670
670
  }
671
671
  });
672
672
 
673
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
673
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
674
674
  var MOBILE, TABLET, GENERIC;
675
675
  var init_user_agent_utils = __esm({
676
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
676
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs"() {
677
677
  init_string_utils();
678
678
  init_type_utils();
679
679
  MOBILE = "Mobile";
@@ -684,7 +684,7 @@ var init_user_agent_utils = __esm({
684
684
  }
685
685
  });
686
686
 
687
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/index.mjs
687
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/index.mjs
688
688
  function assert(truthyValue, message2) {
689
689
  if (!truthyValue || "string" != typeof truthyValue || isEmpty(truthyValue)) throw new Error(message2);
690
690
  }
@@ -728,7 +728,7 @@ function allSettled(promises) {
728
728
  }
729
729
  var STRING_FORMAT, isError;
730
730
  var init_utils = __esm({
731
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/utils/index.mjs"() {
731
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/utils/index.mjs"() {
732
732
  init_bot_detection();
733
733
  init_bucketed_rate_limiter();
734
734
  init_number_utils();
@@ -742,10 +742,10 @@ var init_utils = __esm({
742
742
  }
743
743
  });
744
744
 
745
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/eventemitter.mjs
745
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/eventemitter.mjs
746
746
  var SimpleEventEmitter;
747
747
  var init_eventemitter = __esm({
748
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/eventemitter.mjs"() {
748
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/eventemitter.mjs"() {
749
749
  SimpleEventEmitter = class {
750
750
  constructor() {
751
751
  this.events = {};
@@ -766,7 +766,7 @@ var init_eventemitter = __esm({
766
766
  }
767
767
  });
768
768
 
769
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/gzip.mjs
769
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/gzip.mjs
770
770
  function isGzipSupported() {
771
771
  return "CompressionStream" in globalThis;
772
772
  }
@@ -785,11 +785,11 @@ async function gzipCompress(input, isDebug = true) {
785
785
  }
786
786
  }
787
787
  var init_gzip = __esm({
788
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/gzip.mjs"() {
788
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/gzip.mjs"() {
789
789
  }
790
790
  });
791
791
 
792
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
792
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
793
793
  async function logFlushError(err) {
794
794
  if (err instanceof PostHogFetchHttpError) {
795
795
  let text = "";
@@ -809,7 +809,7 @@ function isPostHogFetchContentTooLargeError(err) {
809
809
  }
810
810
  var PostHogFetchHttpError, PostHogFetchNetworkError, PostHogCoreStateless;
811
811
  var init_posthog_core_stateless = __esm({
812
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
812
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/posthog-core-stateless.mjs"() {
813
813
  init_eventemitter();
814
814
  init_featureFlagUtils();
815
815
  init_gzip();
@@ -1032,7 +1032,7 @@ var init_posthog_core_stateless = __esm({
1032
1032
  this._events.emit("error", error);
1033
1033
  });
1034
1034
  }
1035
- async getFlags(distinctId, groups = {}, personProperties = {}, groupProperties = {}, extraPayload = {}, fetchConfig = true) {
1035
+ async getFlags(distinctId, groups = {}, personProperties = {}, groupProperties = {}, extraPayload = {}, fetchConfig = false) {
1036
1036
  await this._initPromise;
1037
1037
  const configParam = fetchConfig ? "&config=true" : "";
1038
1038
  const url = `${this.host}/flags/?v=2${configParam}`;
@@ -1391,11 +1391,6 @@ var init_posthog_core_stateless = __esm({
1391
1391
  this._events.emit("flush", sentMessages);
1392
1392
  }
1393
1393
  async fetchWithRetry(url, options, retryOptions, requestTimeout) {
1394
- AbortSignal.timeout ??= function(ms) {
1395
- const ctrl = new AbortController();
1396
- setTimeout(() => ctrl.abort(), ms);
1397
- return ctrl.signal;
1398
- };
1399
1394
  const body = options.body ? options.body : "";
1400
1395
  let reqByteLength = -1;
1401
1396
  try {
@@ -1408,14 +1403,19 @@ var init_posthog_core_stateless = __esm({
1408
1403
  }
1409
1404
  }
1410
1405
  return await retriable(async () => {
1406
+ const ctrl = new AbortController();
1407
+ const timeoutMs = requestTimeout ?? this.requestTimeout;
1408
+ const timer = safeSetTimeout(() => ctrl.abort(), timeoutMs);
1411
1409
  let res = null;
1412
1410
  try {
1413
1411
  res = await this.fetch(url, {
1414
- signal: AbortSignal.timeout(requestTimeout ?? this.requestTimeout),
1412
+ signal: ctrl.signal,
1415
1413
  ...options
1416
1414
  });
1417
1415
  } catch (e) {
1418
1416
  throw new PostHogFetchNetworkError(e);
1417
+ } finally {
1418
+ clearTimeout(timer);
1419
1419
  }
1420
1420
  const isNoCors = "no-cors" === options.mode;
1421
1421
  if (!isNoCors && (res.status < 200 || res.status >= 400)) throw new PostHogFetchHttpError(res, reqByteLength);
@@ -1443,16 +1443,21 @@ var init_posthog_core_stateless = __esm({
1443
1443
  await logFlushError(e);
1444
1444
  }
1445
1445
  };
1446
- return Promise.race([
1447
- new Promise((_, reject) => {
1448
- safeSetTimeout(() => {
1449
- this._logger.error("Timed out while shutting down PostHog");
1450
- hasTimedOut = true;
1451
- reject("Timeout while shutting down PostHog. Some events may not have been sent.");
1452
- }, shutdownTimeoutMs);
1453
- }),
1454
- doShutdown()
1455
- ]);
1446
+ let timeoutHandle;
1447
+ try {
1448
+ return await Promise.race([
1449
+ new Promise((_, reject) => {
1450
+ timeoutHandle = safeSetTimeout(() => {
1451
+ this._logger.error("Timed out while shutting down PostHog");
1452
+ hasTimedOut = true;
1453
+ reject("Timeout while shutting down PostHog. Some events may not have been sent.");
1454
+ }, shutdownTimeoutMs);
1455
+ }),
1456
+ doShutdown()
1457
+ ]);
1458
+ } finally {
1459
+ clearTimeout(timeoutHandle);
1460
+ }
1456
1461
  }
1457
1462
  async shutdown(shutdownTimeoutMs = 3e4) {
1458
1463
  if (this.shutdownPromise) this._logger.warn("shutdown() called while already shutting down. shutdown() is meant to be called once before process exit - use flush() for per-request cleanup");
@@ -1465,9 +1470,9 @@ var init_posthog_core_stateless = __esm({
1465
1470
  }
1466
1471
  });
1467
1472
 
1468
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/posthog-core.mjs
1473
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/posthog-core.mjs
1469
1474
  var init_posthog_core = __esm({
1470
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/posthog-core.mjs"() {
1475
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/posthog-core.mjs"() {
1471
1476
  init_featureFlagUtils();
1472
1477
  init_types();
1473
1478
  init_posthog_core_stateless();
@@ -1476,7 +1481,7 @@ var init_posthog_core = __esm({
1476
1481
  }
1477
1482
  });
1478
1483
 
1479
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
1484
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
1480
1485
  function getFilenameToChunkIdMap(stackParser) {
1481
1486
  const chunkIdMap = globalThis._posthogChunkIds;
1482
1487
  if (!chunkIdMap) return;
@@ -1509,14 +1514,14 @@ function getFilenameToChunkIdMap(stackParser) {
1509
1514
  }
1510
1515
  var parsedStackResults, lastKeysCount, cachedFilenameChunkIds;
1511
1516
  var init_chunk_ids = __esm({
1512
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
1517
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs"() {
1513
1518
  }
1514
1519
  });
1515
1520
 
1516
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
1521
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
1517
1522
  var MAX_CAUSE_RECURSION, ErrorPropertiesBuilder;
1518
1523
  var init_error_properties_builder = __esm({
1519
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
1524
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs"() {
1520
1525
  init_utils();
1521
1526
  init_chunk_ids();
1522
1527
  MAX_CAUSE_RECURSION = 4;
@@ -1631,7 +1636,7 @@ var init_error_properties_builder = __esm({
1631
1636
  }
1632
1637
  });
1633
1638
 
1634
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
1639
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs
1635
1640
  function createFrame(platform, filename, func, lineno, colno) {
1636
1641
  const frame = {
1637
1642
  platform,
@@ -1645,16 +1650,16 @@ function createFrame(platform, filename, func, lineno, colno) {
1645
1650
  }
1646
1651
  var UNKNOWN_FUNCTION;
1647
1652
  var init_base = __esm({
1648
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
1653
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/base.mjs"() {
1649
1654
  init_utils();
1650
1655
  UNKNOWN_FUNCTION = "?";
1651
1656
  }
1652
1657
  });
1653
1658
 
1654
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
1659
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
1655
1660
  var extractSafariExtensionDetails;
1656
1661
  var init_safari = __esm({
1657
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
1662
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs"() {
1658
1663
  init_base();
1659
1664
  extractSafariExtensionDetails = (func, filename) => {
1660
1665
  const isSafariExtension = -1 !== func.indexOf("safari-extension");
@@ -1670,10 +1675,10 @@ var init_safari = __esm({
1670
1675
  }
1671
1676
  });
1672
1677
 
1673
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
1678
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
1674
1679
  var chromeRegexNoFnName, chromeRegex, chromeEvalRegex, chromeStackLineParser;
1675
1680
  var init_chrome = __esm({
1676
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
1681
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs"() {
1677
1682
  init_base();
1678
1683
  init_safari();
1679
1684
  chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
@@ -1703,10 +1708,10 @@ var init_chrome = __esm({
1703
1708
  }
1704
1709
  });
1705
1710
 
1706
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
1711
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
1707
1712
  var geckoREgex, geckoEvalRegex, geckoStackLineParser;
1708
1713
  var init_gecko = __esm({
1709
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
1714
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs"() {
1710
1715
  init_base();
1711
1716
  init_safari();
1712
1717
  geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
@@ -1733,10 +1738,10 @@ var init_gecko = __esm({
1733
1738
  }
1734
1739
  });
1735
1740
 
1736
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
1741
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs
1737
1742
  var winjsRegex, winjsStackLineParser;
1738
1743
  var init_winjs = __esm({
1739
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
1744
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/winjs.mjs"() {
1740
1745
  init_base();
1741
1746
  winjsRegex = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i;
1742
1747
  winjsStackLineParser = (line, platform) => {
@@ -1746,10 +1751,10 @@ var init_winjs = __esm({
1746
1751
  }
1747
1752
  });
1748
1753
 
1749
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
1754
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs
1750
1755
  var opera10Regex, opera10StackLineParser, opera11Regex, opera11StackLineParser;
1751
1756
  var init_opera = __esm({
1752
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
1757
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/opera.mjs"() {
1753
1758
  init_base();
1754
1759
  opera10Regex = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i;
1755
1760
  opera10StackLineParser = (line, platform) => {
@@ -1764,7 +1769,7 @@ var init_opera = __esm({
1764
1769
  }
1765
1770
  });
1766
1771
 
1767
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
1772
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
1768
1773
  function filenameIsInApp(filename, isNative = false) {
1769
1774
  const isInternal = isNative || filename && !filename.startsWith("/") && !filename.match(/^[A-Z]:/) && !filename.startsWith(".") && !filename.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//);
1770
1775
  return !isInternal && void 0 !== filename && !filename.includes("node_modules/");
@@ -1774,7 +1779,7 @@ function _parseIntOrUndefined(input) {
1774
1779
  }
1775
1780
  var FILENAME_MATCH, FULL_MATCH, nodeStackLineParser;
1776
1781
  var init_node = __esm({
1777
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
1782
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs"() {
1778
1783
  init_base();
1779
1784
  FILENAME_MATCH = /^\s*[-]{4,}$/;
1780
1785
  FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
@@ -1835,7 +1840,7 @@ var init_node = __esm({
1835
1840
  }
1836
1841
  });
1837
1842
 
1838
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
1843
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
1839
1844
  function reverseAndStripFrames(stack) {
1840
1845
  if (!stack.length) return [];
1841
1846
  const localStack = Array.from(stack);
@@ -1876,7 +1881,7 @@ function createStackParser(platform, ...parsers) {
1876
1881
  }
1877
1882
  var WEBPACK_ERROR_REGEXP, STACKTRACE_FRAME_LIMIT;
1878
1883
  var init_parsers = __esm({
1879
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
1884
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs"() {
1880
1885
  init_base();
1881
1886
  init_chrome();
1882
1887
  init_gecko();
@@ -1888,10 +1893,10 @@ var init_parsers = __esm({
1888
1893
  }
1889
1894
  });
1890
1895
 
1891
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
1896
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs
1892
1897
  var DOMExceptionCoercer;
1893
1898
  var init_dom_exception_coercer = __esm({
1894
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
1899
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/dom-exception-coercer.mjs"() {
1895
1900
  init_utils();
1896
1901
  DOMExceptionCoercer = class {
1897
1902
  match(err) {
@@ -1925,10 +1930,10 @@ var init_dom_exception_coercer = __esm({
1925
1930
  }
1926
1931
  });
1927
1932
 
1928
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
1933
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
1929
1934
  var ErrorCoercer;
1930
1935
  var init_error_coercer = __esm({
1931
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
1936
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs"() {
1932
1937
  init_utils();
1933
1938
  ErrorCoercer = class {
1934
1939
  match(err) {
@@ -1958,10 +1963,10 @@ var init_error_coercer = __esm({
1958
1963
  }
1959
1964
  });
1960
1965
 
1961
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
1966
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs
1962
1967
  var ErrorEventCoercer;
1963
1968
  var init_error_event_coercer = __esm({
1964
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
1969
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/error-event-coercer.mjs"() {
1965
1970
  init_utils();
1966
1971
  ErrorEventCoercer = class {
1967
1972
  constructor() {
@@ -1983,10 +1988,10 @@ var init_error_event_coercer = __esm({
1983
1988
  }
1984
1989
  });
1985
1990
 
1986
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
1991
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
1987
1992
  var ERROR_TYPES_PATTERN, StringCoercer;
1988
1993
  var init_string_coercer = __esm({
1989
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
1994
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs"() {
1990
1995
  ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
1991
1996
  StringCoercer = class {
1992
1997
  match(input) {
@@ -2018,10 +2023,10 @@ var init_string_coercer = __esm({
2018
2023
  }
2019
2024
  });
2020
2025
 
2021
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/types.mjs
2026
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/types.mjs
2022
2027
  var severityLevels;
2023
2028
  var init_types2 = __esm({
2024
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
2029
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/types.mjs"() {
2025
2030
  severityLevels = [
2026
2031
  "fatal",
2027
2032
  "error",
@@ -2033,7 +2038,7 @@ var init_types2 = __esm({
2033
2038
  }
2034
2039
  });
2035
2040
 
2036
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
2041
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
2037
2042
  function extractExceptionKeysForMessage(err, maxLength = 40) {
2038
2043
  const keys = Object.keys(err);
2039
2044
  keys.sort();
@@ -2048,14 +2053,14 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
2048
2053
  return "";
2049
2054
  }
2050
2055
  var init_utils2 = __esm({
2051
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
2056
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs"() {
2052
2057
  }
2053
2058
  });
2054
2059
 
2055
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
2060
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
2056
2061
  var ObjectCoercer;
2057
2062
  var init_object_coercer = __esm({
2058
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
2063
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs"() {
2059
2064
  init_utils();
2060
2065
  init_types2();
2061
2066
  init_utils2();
@@ -2109,10 +2114,10 @@ var init_object_coercer = __esm({
2109
2114
  }
2110
2115
  });
2111
2116
 
2112
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
2117
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
2113
2118
  var EventCoercer;
2114
2119
  var init_event_coercer = __esm({
2115
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
2120
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs"() {
2116
2121
  init_utils();
2117
2122
  init_utils2();
2118
2123
  EventCoercer = class {
@@ -2132,10 +2137,10 @@ var init_event_coercer = __esm({
2132
2137
  }
2133
2138
  });
2134
2139
 
2135
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
2140
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
2136
2141
  var PrimitiveCoercer;
2137
2142
  var init_primitive_coercer = __esm({
2138
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
2143
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs"() {
2139
2144
  init_utils();
2140
2145
  PrimitiveCoercer = class {
2141
2146
  match(candidate) {
@@ -2153,14 +2158,23 @@ var init_primitive_coercer = __esm({
2153
2158
  }
2154
2159
  });
2155
2160
 
2156
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
2161
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs
2157
2162
  var PromiseRejectionEventCoercer;
2158
2163
  var init_promise_rejection_event = __esm({
2159
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
2164
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/promise-rejection-event.mjs"() {
2160
2165
  init_utils();
2161
2166
  PromiseRejectionEventCoercer = class {
2162
2167
  match(err) {
2163
- return isBuiltin(err, "PromiseRejectionEvent");
2168
+ return isBuiltin(err, "PromiseRejectionEvent") || this.isCustomEventWrappingRejection(err);
2169
+ }
2170
+ isCustomEventWrappingRejection(err) {
2171
+ if (!isEvent(err)) return false;
2172
+ try {
2173
+ const detail = err.detail;
2174
+ return null != detail && "object" == typeof detail && "reason" in detail;
2175
+ } catch {
2176
+ return false;
2177
+ }
2164
2178
  }
2165
2179
  coerce(err, ctx) {
2166
2180
  const reason = this.getUnhandledRejectionReason(err);
@@ -2173,10 +2187,9 @@ var init_promise_rejection_event = __esm({
2173
2187
  return ctx.apply(reason);
2174
2188
  }
2175
2189
  getUnhandledRejectionReason(error) {
2176
- if (isPrimitive(error)) return error;
2177
2190
  try {
2178
2191
  if ("reason" in error) return error.reason;
2179
- if ("detail" in error && "reason" in error.detail) return error.detail.reason;
2192
+ if ("detail" in error && null != error.detail && "object" == typeof error.detail && "reason" in error.detail) return error.detail.reason;
2180
2193
  } catch {
2181
2194
  }
2182
2195
  return error;
@@ -2185,9 +2198,9 @@ var init_promise_rejection_event = __esm({
2185
2198
  }
2186
2199
  });
2187
2200
 
2188
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
2201
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs
2189
2202
  var init_coercers = __esm({
2190
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
2203
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/coercers/index.mjs"() {
2191
2204
  init_dom_exception_coercer();
2192
2205
  init_error_coercer();
2193
2206
  init_error_event_coercer();
@@ -2199,10 +2212,10 @@ var init_coercers = __esm({
2199
2212
  }
2200
2213
  });
2201
2214
 
2202
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs
2215
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/utils.mjs
2203
2216
  var ReduceableCache;
2204
2217
  var init_utils3 = __esm({
2205
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
2218
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/utils.mjs"() {
2206
2219
  ReduceableCache = class {
2207
2220
  constructor(_maxSize) {
2208
2221
  this._maxSize = _maxSize;
@@ -2228,7 +2241,7 @@ var init_utils3 = __esm({
2228
2241
  }
2229
2242
  });
2230
2243
 
2231
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/index.mjs
2244
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/index.mjs
2232
2245
  var error_tracking_exports = {};
2233
2246
  __export(error_tracking_exports, {
2234
2247
  DOMExceptionCoercer: () => DOMExceptionCoercer,
@@ -2252,7 +2265,7 @@ __export(error_tracking_exports, {
2252
2265
  winjsStackLineParser: () => winjsStackLineParser
2253
2266
  });
2254
2267
  var init_error_tracking = __esm({
2255
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
2268
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/error-tracking/index.mjs"() {
2256
2269
  init_error_properties_builder();
2257
2270
  init_parsers();
2258
2271
  init_coercers();
@@ -2260,9 +2273,9 @@ var init_error_tracking = __esm({
2260
2273
  }
2261
2274
  });
2262
2275
 
2263
- // ../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/index.mjs
2276
+ // ../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/index.mjs
2264
2277
  var init_dist = __esm({
2265
- "../../node_modules/.pnpm/@posthog+core@1.23.2/node_modules/@posthog/core/dist/index.mjs"() {
2278
+ "../../node_modules/.pnpm/@posthog+core@1.23.4/node_modules/@posthog/core/dist/index.mjs"() {
2266
2279
  init_featureFlagUtils();
2267
2280
  init_uuidv7();
2268
2281
  init_validation();
@@ -2454,7 +2467,7 @@ function snipLine(line, colno) {
2454
2467
  }
2455
2468
  var LRU_FILE_CONTENTS_CACHE, LRU_FILE_CONTENTS_FS_READ_FAILED, DEFAULT_LINES_OF_CONTEXT, MAX_CONTEXTLINES_COLNO, MAX_CONTEXTLINES_LINENO;
2456
2469
  var init_context_lines_node = __esm({
2457
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
2470
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs"() {
2458
2471
  init_dist();
2459
2472
  LRU_FILE_CONTENTS_CACHE = new error_tracking_exports.ReduceableCache(25);
2460
2473
  LRU_FILE_CONTENTS_FS_READ_FAILED = new error_tracking_exports.ReduceableCache(20);
@@ -2464,7 +2477,7 @@ var init_context_lines_node = __esm({
2464
2477
  }
2465
2478
  });
2466
2479
 
2467
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
2480
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
2468
2481
  function makeUncaughtExceptionHandler(captureFn, onFatalFn) {
2469
2482
  let calledFatalError = false;
2470
2483
  return Object.assign((error) => {
@@ -2496,14 +2509,14 @@ function addUnhandledRejectionListener(captureFn) {
2496
2509
  }));
2497
2510
  }
2498
2511
  var init_autocapture = __esm({
2499
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
2512
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs"() {
2500
2513
  }
2501
2514
  });
2502
2515
 
2503
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
2516
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
2504
2517
  var SHUTDOWN_TIMEOUT, ErrorTracking;
2505
2518
  var init_error_tracking2 = __esm({
2506
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
2519
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs"() {
2507
2520
  init_autocapture();
2508
2521
  init_dist();
2509
2522
  SHUTDOWN_TIMEOUT = 2e3;
@@ -2575,18 +2588,18 @@ var init_error_tracking2 = __esm({
2575
2588
  }
2576
2589
  });
2577
2590
 
2578
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/version.mjs
2591
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/version.mjs
2579
2592
  var version;
2580
2593
  var init_version = __esm({
2581
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/version.mjs"() {
2582
- version = "5.28.0";
2594
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/version.mjs"() {
2595
+ version = "5.28.2";
2583
2596
  }
2584
2597
  });
2585
2598
 
2586
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/types.mjs
2599
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/types.mjs
2587
2600
  var FeatureFlagError2;
2588
2601
  var init_types3 = __esm({
2589
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/types.mjs"() {
2602
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/types.mjs"() {
2590
2603
  FeatureFlagError2 = {
2591
2604
  ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
2592
2605
  FLAG_MISSING: "flag_missing",
@@ -2596,7 +2609,7 @@ var init_types3 = __esm({
2596
2609
  }
2597
2610
  });
2598
2611
 
2599
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
2612
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs
2600
2613
  async function hashSHA1(text) {
2601
2614
  const subtle = globalThis.crypto?.subtle;
2602
2615
  if (!subtle) throw new Error("SubtleCrypto API not available");
@@ -2605,11 +2618,11 @@ async function hashSHA1(text) {
2605
2618
  return hashArray.map((byte) => byte.toString(16).padStart(2, "0")).join("");
2606
2619
  }
2607
2620
  var init_crypto = __esm({
2608
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
2621
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/crypto.mjs"() {
2609
2622
  }
2610
2623
  });
2611
2624
 
2612
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
2625
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
2613
2626
  async function _hash(key, bucketingValue, salt = "") {
2614
2627
  const hashString = await hashSHA1(`${key}.${bucketingValue}${salt}`);
2615
2628
  return parseInt(hashString.slice(0, 15), 16) / LONG_SCALE;
@@ -2925,7 +2938,7 @@ function relativeDateParseForFeatureFlagMatching(value) {
2925
2938
  }
2926
2939
  var SIXTY_SECONDS, LONG_SCALE, NULL_VALUES_ALLOWED_OPERATORS, ClientError, InconclusiveMatchError, RequiresServerEvaluation, FeatureFlagsPoller;
2927
2940
  var init_feature_flags = __esm({
2928
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
2941
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs"() {
2929
2942
  init_dist();
2930
2943
  init_crypto();
2931
2944
  SIXTY_SECONDS = 6e4;
@@ -3377,10 +3390,10 @@ var init_feature_flags = __esm({
3377
3390
  }
3378
3391
  });
3379
3392
 
3380
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/storage-memory.mjs
3393
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/storage-memory.mjs
3381
3394
  var PostHogMemoryStorage;
3382
3395
  var init_storage_memory = __esm({
3383
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/storage-memory.mjs"() {
3396
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/storage-memory.mjs"() {
3384
3397
  PostHogMemoryStorage = class {
3385
3398
  getProperty(key) {
3386
3399
  return this._memoryStorage[key];
@@ -3395,10 +3408,10 @@ var init_storage_memory = __esm({
3395
3408
  }
3396
3409
  });
3397
3410
 
3398
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/client.mjs
3411
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/client.mjs
3399
3412
  var MINIMUM_POLLING_INTERVAL, THIRTY_SECONDS, MAX_CACHE_SIZE, WAITUNTIL_DEBOUNCE_MS, WAITUNTIL_MAX_WAIT_MS, PostHogBackendClient;
3400
3413
  var init_client = __esm({
3401
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/client.mjs"() {
3414
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/client.mjs"() {
3402
3415
  init_version();
3403
3416
  init_dist();
3404
3417
  init_types3();
@@ -3908,7 +3921,7 @@ var init_client = __esm({
3908
3921
  }
3909
3922
  async _shutdown(shutdownTimeoutMs) {
3910
3923
  const resolve = this._consumeWaitUntilCycle();
3911
- this.featureFlagsPoller?.stopPoller(shutdownTimeoutMs);
3924
+ await this.featureFlagsPoller?.stopPoller(shutdownTimeoutMs);
3912
3925
  this.errorTracking.shutdown();
3913
3926
  try {
3914
3927
  return await super._shutdown(shutdownTimeoutMs);
@@ -4124,7 +4137,7 @@ var init_client = __esm({
4124
4137
  });
4125
4138
  var PostHogContext;
4126
4139
  var init_context = __esm({
4127
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
4140
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/context/context.mjs"() {
4128
4141
  PostHogContext = class {
4129
4142
  constructor() {
4130
4143
  this.storage = new AsyncLocalStorage();
@@ -4154,7 +4167,7 @@ var init_context = __esm({
4154
4167
  }
4155
4168
  });
4156
4169
 
4157
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
4170
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
4158
4171
  function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = [
4159
4172
  "error"
4160
4173
  ], sendExceptionsToPostHog = true } = {}) {
@@ -4210,7 +4223,7 @@ function sentryIntegration(_posthog, options) {
4210
4223
  }
4211
4224
  var NAME, PostHogSentryIntegration;
4212
4225
  var init_sentry_integration = __esm({
4213
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
4226
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/sentry-integration.mjs"() {
4214
4227
  NAME = "posthog-node";
4215
4228
  PostHogSentryIntegration = class {
4216
4229
  static #_ = this.POSTHOG_ID_TAG = "posthog_distinct_id";
@@ -4232,7 +4245,7 @@ var init_sentry_integration = __esm({
4232
4245
  }
4233
4246
  });
4234
4247
 
4235
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/express.mjs
4248
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/express.mjs
4236
4249
  function setupExpressErrorHandler(_posthog, app) {
4237
4250
  app.use(posthogErrorHandler(_posthog));
4238
4251
  }
@@ -4264,14 +4277,14 @@ function posthogErrorHandler(posthog) {
4264
4277
  };
4265
4278
  }
4266
4279
  var init_express = __esm({
4267
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/express.mjs"() {
4280
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/extensions/express.mjs"() {
4268
4281
  init_error_tracking2();
4269
4282
  }
4270
4283
  });
4271
4284
 
4272
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/exports.mjs
4285
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/exports.mjs
4273
4286
  var init_exports = __esm({
4274
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/exports.mjs"() {
4287
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/exports.mjs"() {
4275
4288
  init_dist();
4276
4289
  init_sentry_integration();
4277
4290
  init_express();
@@ -4279,7 +4292,7 @@ var init_exports = __esm({
4279
4292
  }
4280
4293
  });
4281
4294
 
4282
- // ../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
4295
+ // ../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs
4283
4296
  var index_node_exports = {};
4284
4297
  __export(index_node_exports, {
4285
4298
  FeatureFlagError: () => FeatureFlagError,
@@ -4291,7 +4304,7 @@ __export(index_node_exports, {
4291
4304
  });
4292
4305
  var PostHog;
4293
4306
  var init_index_node = __esm({
4294
- "../../node_modules/.pnpm/posthog-node@5.28.0_rxjs@7.8.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
4307
+ "../../node_modules/.pnpm/posthog-node@5.28.2_rxjs@7.8.2/node_modules/posthog-node/dist/entrypoints/index.node.mjs"() {
4295
4308
  init_module_node();
4296
4309
  init_context_lines_node();
4297
4310
  init_error_tracking2();
@@ -7863,10 +7876,10 @@ var init_tslib_es6 = __esm({
7863
7876
  }
7864
7877
  });
7865
7878
 
7866
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js
7879
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js
7867
7880
  var IdentifyOperation, SpecialEventType;
7868
7881
  var init_event = __esm({
7869
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js"() {
7882
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/event/event.js"() {
7870
7883
  (function(IdentifyOperation3) {
7871
7884
  IdentifyOperation3["SET"] = "$set";
7872
7885
  IdentifyOperation3["SET_ONCE"] = "$setOnce";
@@ -7887,10 +7900,10 @@ var init_event = __esm({
7887
7900
  }
7888
7901
  });
7889
7902
 
7890
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js
7903
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js
7891
7904
  var UNSET_VALUE, AMPLITUDE_PREFIX, STORAGE_PREFIX, DEFAULT_INSTANCE_NAME, AMPLITUDE_SERVER_URL, EU_AMPLITUDE_SERVER_URL, AMPLITUDE_BATCH_SERVER_URL, EU_AMPLITUDE_BATCH_SERVER_URL;
7892
7905
  var init_constants = __esm({
7893
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js"() {
7906
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/constants.js"() {
7894
7907
  UNSET_VALUE = "-";
7895
7908
  AMPLITUDE_PREFIX = "AMP";
7896
7909
  STORAGE_PREFIX = "".concat(AMPLITUDE_PREFIX, "_unsent");
@@ -7902,10 +7915,10 @@ var init_constants = __esm({
7902
7915
  }
7903
7916
  });
7904
7917
 
7905
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js
7918
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js
7906
7919
  var MAX_PROPERTY_KEYS, isValidObject, isValidProperties;
7907
7920
  var init_valid_properties = __esm({
7908
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js"() {
7921
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/valid-properties.js"() {
7909
7922
  init_tslib_es6();
7910
7923
  MAX_PROPERTY_KEYS = 1e3;
7911
7924
  isValidObject = function(properties) {
@@ -7960,10 +7973,10 @@ var init_valid_properties = __esm({
7960
7973
  }
7961
7974
  });
7962
7975
 
7963
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/identify.js
7976
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/identify.js
7964
7977
  var Identify, IdentifyOperation2, OrderedIdentifyOperations;
7965
7978
  var init_identify = __esm({
7966
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/identify.js"() {
7979
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/identify.js"() {
7967
7980
  init_tslib_es6();
7968
7981
  init_constants();
7969
7982
  init_valid_properties();
@@ -8074,10 +8087,10 @@ var init_identify = __esm({
8074
8087
  }
8075
8088
  });
8076
8089
 
8077
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js
8090
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js
8078
8091
  var SUCCESS_MESSAGE, UNEXPECTED_ERROR_MESSAGE, MAX_RETRIES_EXCEEDED_MESSAGE, OPT_OUT_MESSAGE, MISSING_API_KEY_MESSAGE, INVALID_API_KEY, CLIENT_NOT_INITIALIZED;
8079
8092
  var init_messages = __esm({
8080
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js"() {
8093
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/messages.js"() {
8081
8094
  SUCCESS_MESSAGE = "Event tracked successfully";
8082
8095
  UNEXPECTED_ERROR_MESSAGE = "Unexpected error occurred";
8083
8096
  MAX_RETRIES_EXCEEDED_MESSAGE = "Event rejected due to exceeded retry count";
@@ -8088,10 +8101,10 @@ var init_messages = __esm({
8088
8101
  }
8089
8102
  });
8090
8103
 
8091
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/status.js
8104
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/status.js
8092
8105
  var Status;
8093
8106
  var init_status = __esm({
8094
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/status.js"() {
8107
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/status.js"() {
8095
8108
  (function(Status2) {
8096
8109
  Status2["Unknown"] = "unknown";
8097
8110
  Status2["Skipped"] = "skipped";
@@ -8106,10 +8119,10 @@ var init_status = __esm({
8106
8119
  }
8107
8120
  });
8108
8121
 
8109
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js
8122
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js
8110
8123
  var buildResult;
8111
8124
  var init_result_builder = __esm({
8112
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js"() {
8125
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/result-builder.js"() {
8113
8126
  init_status();
8114
8127
  buildResult = function(event, code, message2) {
8115
8128
  if (code === void 0) {
@@ -8123,10 +8136,10 @@ var init_result_builder = __esm({
8123
8136
  }
8124
8137
  });
8125
8138
 
8126
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js
8139
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js
8127
8140
  var getGlobalScope;
8128
8141
  var init_global_scope = __esm({
8129
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js"() {
8142
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/global-scope.js"() {
8130
8143
  getGlobalScope = function() {
8131
8144
  var ampIntegrationContextName = "ampIntegrationContext";
8132
8145
  if (typeof globalThis !== "undefined" && typeof globalThis[ampIntegrationContextName] !== "undefined") {
@@ -8149,10 +8162,10 @@ var init_global_scope = __esm({
8149
8162
  }
8150
8163
  });
8151
8164
 
8152
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js
8165
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js
8153
8166
  var legacyUUID, hex, UUID2;
8154
8167
  var init_uuid = __esm({
8155
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js"() {
8168
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/uuid.js"() {
8156
8169
  init_tslib_es6();
8157
8170
  init_global_scope();
8158
8171
  legacyUUID = function(a) {
@@ -8196,10 +8209,10 @@ var init_uuid = __esm({
8196
8209
  }
8197
8210
  });
8198
8211
 
8199
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/timeline.js
8212
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/timeline.js
8200
8213
  var Timeline;
8201
8214
  var init_timeline = __esm({
8202
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/timeline.js"() {
8215
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/timeline.js"() {
8203
8216
  init_tslib_es6();
8204
8217
  init_result_builder();
8205
8218
  init_uuid();
@@ -8562,10 +8575,10 @@ var init_timeline = __esm({
8562
8575
  }
8563
8576
  });
8564
8577
 
8565
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
8578
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js
8566
8579
  var createTrackEvent, createIdentifyEvent, createGroupIdentifyEvent, createGroupEvent, createRevenueEvent;
8567
8580
  var init_event_builder = __esm({
8568
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js"() {
8581
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/event-builder.js"() {
8569
8582
  init_tslib_es6();
8570
8583
  init_identify();
8571
8584
  init_event();
@@ -8595,10 +8608,10 @@ var init_event_builder = __esm({
8595
8608
  }
8596
8609
  });
8597
8610
 
8598
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js
8611
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js
8599
8612
  var returnWrapper;
8600
8613
  var init_return_wrapper = __esm({
8601
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js"() {
8614
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/return-wrapper.js"() {
8602
8615
  returnWrapper = function(awaitable) {
8603
8616
  return {
8604
8617
  promise: awaitable || Promise.resolve()
@@ -8607,10 +8620,10 @@ var init_return_wrapper = __esm({
8607
8620
  }
8608
8621
  });
8609
8622
 
8610
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
8623
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/core-client.js
8611
8624
  var AmplitudeCore;
8612
8625
  var init_core_client = __esm({
8613
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/core-client.js"() {
8626
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/core-client.js"() {
8614
8627
  init_tslib_es6();
8615
8628
  init_event();
8616
8629
  init_identify();
@@ -8882,10 +8895,10 @@ var init_core_client = __esm({
8882
8895
  }
8883
8896
  });
8884
8897
 
8885
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
8898
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/revenue.js
8886
8899
  var Revenue, RevenueProperty;
8887
8900
  var init_revenue = __esm({
8888
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/revenue.js"() {
8901
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/revenue.js"() {
8889
8902
  init_tslib_es6();
8890
8903
  init_valid_properties();
8891
8904
  Revenue = /** @class */
@@ -8962,10 +8975,10 @@ var init_revenue = __esm({
8962
8975
  }
8963
8976
  });
8964
8977
 
8965
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
8978
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js
8966
8979
  var chunk;
8967
8980
  var init_chunk = __esm({
8968
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js"() {
8981
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/chunk.js"() {
8969
8982
  chunk = function(arr, size) {
8970
8983
  var chunkSize = Math.max(size, 1);
8971
8984
  return arr.reduce(function(chunks, element, index) {
@@ -8980,10 +8993,10 @@ var init_chunk = __esm({
8980
8993
  }
8981
8994
  });
8982
8995
 
8983
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js
8996
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js
8984
8997
  var LogLevel;
8985
8998
  var init_loglevel = __esm({
8986
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js"() {
8999
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/loglevel.js"() {
8987
9000
  (function(LogLevel2) {
8988
9001
  LogLevel2[LogLevel2["None"] = 0] = "None";
8989
9002
  LogLevel2[LogLevel2["Error"] = 1] = "Error";
@@ -8994,10 +9007,10 @@ var init_loglevel = __esm({
8994
9007
  }
8995
9008
  });
8996
9009
 
8997
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/logger.js
9010
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/logger.js
8998
9011
  var PREFIX, Logger;
8999
9012
  var init_logger2 = __esm({
9000
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/logger.js"() {
9013
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/logger.js"() {
9001
9014
  init_loglevel();
9002
9015
  PREFIX = "Amplitude Logger ";
9003
9016
  Logger = /** @class */
@@ -9059,10 +9072,10 @@ var init_logger2 = __esm({
9059
9072
  }
9060
9073
  });
9061
9074
 
9062
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/config.js
9075
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/config.js
9063
9076
  var getDefaultConfig, Config, getServerUrl, createServerConfig, RequestMetadata;
9064
9077
  var init_config = __esm({
9065
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/config.js"() {
9078
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/config.js"() {
9066
9079
  init_constants();
9067
9080
  init_logger2();
9068
9081
  init_loglevel();
@@ -9163,19 +9176,19 @@ var init_config = __esm({
9163
9176
  }
9164
9177
  });
9165
9178
 
9166
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
9179
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js
9167
9180
  function isSuccessStatusCode(code) {
9168
9181
  return code >= 200 && code < 300;
9169
9182
  }
9170
9183
  var init_status_code = __esm({
9171
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js"() {
9184
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/status-code.js"() {
9172
9185
  }
9173
9186
  });
9174
9187
 
9175
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
9188
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js
9176
9189
  var getStacktrace, getClientLogConfig, getValueByStringPath, getClientStates, debugWrapper;
9177
9190
  var init_debug = __esm({
9178
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js"() {
9191
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/utils/debug.js"() {
9179
9192
  init_tslib_es6();
9180
9193
  init_loglevel();
9181
9194
  getStacktrace = function(ignoreDepth) {
@@ -9293,7 +9306,7 @@ var init_debug = __esm({
9293
9306
  }
9294
9307
  });
9295
9308
 
9296
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
9309
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js
9297
9310
  function getErrorMessage(error) {
9298
9311
  if (error instanceof Error)
9299
9312
  return error.message;
@@ -9311,7 +9324,7 @@ function getResponseBodyString(res) {
9311
9324
  }
9312
9325
  var DEFAULT_AMPLITUDE_SERVER_URLS, shouldCompressUploadBodyForRequest, Destination;
9313
9326
  var init_destination = __esm({
9314
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js"() {
9327
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/plugins/destination.js"() {
9315
9328
  init_tslib_es6();
9316
9329
  init_status();
9317
9330
  init_messages();
@@ -9718,10 +9731,10 @@ var init_destination = __esm({
9718
9731
  }
9719
9732
  });
9720
9733
 
9721
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js
9734
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js
9722
9735
  var BaseTransport;
9723
9736
  var init_base2 = __esm({
9724
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js"() {
9737
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/transports/base.js"() {
9725
9738
  init_status();
9726
9739
  init_status_code();
9727
9740
  BaseTransport = /** @class */
@@ -9823,10 +9836,10 @@ var init_base2 = __esm({
9823
9836
  }
9824
9837
  });
9825
9838
 
9826
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js
9839
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js
9827
9840
  var ServerZone;
9828
9841
  var init_server_zone = __esm({
9829
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js"() {
9842
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/server-zone.js"() {
9830
9843
  (function(ServerZone2) {
9831
9844
  ServerZone2["US"] = "US";
9832
9845
  ServerZone2["EU"] = "EU";
@@ -9835,17 +9848,17 @@ var init_server_zone = __esm({
9835
9848
  }
9836
9849
  });
9837
9850
 
9838
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js
9851
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js
9839
9852
  var OfflineDisabled;
9840
9853
  var init_offline = __esm({
9841
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js"() {
9854
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/types/offline.js"() {
9842
9855
  OfflineDisabled = null;
9843
9856
  }
9844
9857
  });
9845
9858
 
9846
- // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/index.js
9859
+ // ../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/index.js
9847
9860
  var init_esm = __esm({
9848
- "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.2/node_modules/@amplitude/analytics-core/lib/esm/index.js"() {
9861
+ "../../node_modules/.pnpm/@amplitude+analytics-core@2.41.5/node_modules/@amplitude/analytics-core/lib/esm/index.js"() {
9849
9862
  init_core_client();
9850
9863
  init_identify();
9851
9864
  init_revenue();
@@ -9862,18 +9875,18 @@ var init_esm = __esm({
9862
9875
  }
9863
9876
  });
9864
9877
 
9865
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/version.js
9878
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/version.js
9866
9879
  var VERSION;
9867
9880
  var init_version2 = __esm({
9868
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/version.js"() {
9869
- VERSION = "1.5.42";
9881
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/version.js"() {
9882
+ VERSION = "1.5.45";
9870
9883
  }
9871
9884
  });
9872
9885
 
9873
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js
9886
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js
9874
9887
  var Context;
9875
9888
  var init_context2 = __esm({
9876
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js"() {
9889
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/plugins/context.js"() {
9877
9890
  init_tslib_es6();
9878
9891
  init_esm();
9879
9892
  init_version2();
@@ -9908,7 +9921,7 @@ var init_context2 = __esm({
9908
9921
  });
9909
9922
  var Http;
9910
9923
  var init_http = __esm({
9911
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/transports/http.js"() {
9924
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/transports/http.js"() {
9912
9925
  init_tslib_es6();
9913
9926
  init_esm();
9914
9927
  Http = /** @class */
@@ -9970,10 +9983,10 @@ var init_http = __esm({
9970
9983
  }
9971
9984
  });
9972
9985
 
9973
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/config.js
9986
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/config.js
9974
9987
  var NodeConfig, useNodeConfig;
9975
9988
  var init_config2 = __esm({
9976
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/config.js"() {
9989
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/config.js"() {
9977
9990
  init_tslib_es6();
9978
9991
  init_esm();
9979
9992
  init_http();
@@ -9991,10 +10004,10 @@ var init_config2 = __esm({
9991
10004
  }
9992
10005
  });
9993
10006
 
9994
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/node-client.js
10007
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/node-client.js
9995
10008
  var AmplitudeNode, createInstance, node_client_default;
9996
10009
  var init_node_client = __esm({
9997
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/node-client.js"() {
10010
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/node-client.js"() {
9998
10011
  init_tslib_es6();
9999
10012
  init_esm();
10000
10013
  init_context2();
@@ -10068,7 +10081,7 @@ var init_node_client = __esm({
10068
10081
  }
10069
10082
  });
10070
10083
 
10071
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/types.js
10084
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/types.js
10072
10085
  var types_exports = {};
10073
10086
  __export(types_exports, {
10074
10087
  IdentifyOperation: () => IdentifyOperation,
@@ -10079,12 +10092,12 @@ __export(types_exports, {
10079
10092
  SpecialEventType: () => SpecialEventType
10080
10093
  });
10081
10094
  var init_types4 = __esm({
10082
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/types.js"() {
10095
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/types.js"() {
10083
10096
  init_esm();
10084
10097
  }
10085
10098
  });
10086
10099
 
10087
- // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/index.js
10100
+ // ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/index.js
10088
10101
  var esm_exports = {};
10089
10102
  __export(esm_exports, {
10090
10103
  Identify: () => Identify,
@@ -10105,7 +10118,7 @@ __export(esm_exports, {
10105
10118
  });
10106
10119
  var add, groupIdentify, identify, init, logEvent, remove, revenue, setGroup, setOptOut, track, flush;
10107
10120
  var init_esm2 = __esm({
10108
- "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.42/node_modules/@amplitude/analytics-node/lib/esm/index.js"() {
10121
+ "../../node_modules/.pnpm/@amplitude+analytics-node@1.5.45/node_modules/@amplitude/analytics-node/lib/esm/index.js"() {
10109
10122
  init_node_client();
10110
10123
  init_node_client();
10111
10124
  init_esm();
@@ -13298,12 +13311,12 @@ var init_event_queue2 = __esm({
13298
13311
  });
13299
13312
 
13300
13313
  // ../../node_modules/.pnpm/@segment+analytics-node@3.0.0/node_modules/@segment/analytics-node/dist/esm/lib/abort.js
13301
- var AbortSignal2, AbortController2, abortSignalAfterTimeout;
13314
+ var AbortSignal, AbortController2, abortSignalAfterTimeout;
13302
13315
  var init_abort = __esm({
13303
13316
  "../../node_modules/.pnpm/@segment+analytics-node@3.0.0/node_modules/@segment/analytics-node/dist/esm/lib/abort.js"() {
13304
13317
  init_esm3();
13305
13318
  init_env();
13306
- AbortSignal2 = class {
13319
+ AbortSignal = class {
13307
13320
  onabort = null;
13308
13321
  aborted = false;
13309
13322
  eventEmitter = new Emitter();
@@ -13329,7 +13342,7 @@ var init_abort = __esm({
13329
13342
  }
13330
13343
  };
13331
13344
  AbortController2 = class {
13332
- signal = new AbortSignal2();
13345
+ signal = new AbortSignal();
13333
13346
  abort() {
13334
13347
  if (this.signal.aborted)
13335
13348
  return;