autotel-subscribers 41.0.3 → 41.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/amplitude.cjs +2 -2
- package/dist/amplitude.cjs.map +1 -1
- package/dist/amplitude.js +2 -2
- package/dist/architecture-snapshot.cjs +6 -6
- package/dist/architecture-snapshot.cjs.map +1 -1
- package/dist/architecture-snapshot.js +3 -3
- package/dist/architecture-snapshot.js.map +1 -1
- package/dist/{cjs-BS1fE_MP.js → cjs-Bef2t9Tr.js} +348 -109
- package/dist/cjs-Bef2t9Tr.js.map +1 -0
- package/dist/{cjs-CC1S3xV3.cjs → cjs-C2fugEI8.cjs} +169 -164
- package/dist/{cjs-CC1S3xV3.cjs.map → cjs-C2fugEI8.cjs.map} +1 -1
- package/dist/{cjs-BVWTUHeD.cjs → cjs-C5tev9Yr.cjs} +458 -219
- package/dist/cjs-C5tev9Yr.cjs.map +1 -0
- package/dist/{cjs-j3aHAiuq.js → cjs-CY69zXGd.js} +20 -15
- package/dist/{cjs-j3aHAiuq.js.map → cjs-CY69zXGd.js.map} +1 -1
- package/dist/factories.cjs +2 -2
- package/dist/factories.d.cts +1 -1
- package/dist/factories.d.ts +1 -1
- package/dist/factories.js +1 -1
- package/dist/file.cjs +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{index.node-T6N3xCyo.js → index.node-BF2WkODf.js} +368 -148
- package/dist/index.node-BF2WkODf.js.map +1 -0
- package/dist/{index.node-CVFSZNnN.cjs → index.node-DOkEUdYV.cjs} +369 -149
- package/dist/index.node-DOkEUdYV.cjs.map +1 -0
- package/dist/middleware.cjs +1 -1
- package/dist/{mixpanel-node-CTaHqgil.cjs → mixpanel-node-BVS2X-h7.cjs} +32 -31
- package/dist/{mixpanel-node-CTaHqgil.cjs.map → mixpanel-node-BVS2X-h7.cjs.map} +1 -1
- package/dist/{mixpanel-node-2RXHuOWK.js → mixpanel-node-BltEtoG6.js} +5 -4
- package/dist/{mixpanel-node-2RXHuOWK.js.map → mixpanel-node-BltEtoG6.js.map} +1 -1
- package/dist/mixpanel.cjs +2 -2
- package/dist/mixpanel.cjs.map +1 -1
- package/dist/mixpanel.js +2 -2
- package/dist/{posthog-DTpCMk3r.js → posthog-C9M1c_oG.js} +2 -2
- package/dist/{posthog-DTpCMk3r.js.map → posthog-C9M1c_oG.js.map} +1 -1
- package/dist/{posthog-DLBf2UJJ.d.ts → posthog-DCV5Arkw.d.ts} +217 -24
- package/dist/posthog-DCV5Arkw.d.ts.map +1 -0
- package/dist/{posthog-Duh9pZs7.d.cts → posthog-DRYlG5fG.d.cts} +217 -24
- package/dist/posthog-DRYlG5fG.d.cts.map +1 -0
- package/dist/{posthog-Bz9XTdX5.cjs → posthog-DZfoAW1q.cjs} +4 -4
- package/dist/{posthog-Bz9XTdX5.cjs.map → posthog-DZfoAW1q.cjs.map} +1 -1
- package/dist/posthog.cjs +2 -2
- package/dist/posthog.d.cts +1 -1
- package/dist/posthog.d.ts +1 -1
- package/dist/posthog.js +1 -1
- package/dist/{chunk-CiiB0FCw.js → rolldown-runtime-BHkdefai.js} +9 -2
- package/dist/{chunk-BIkA7V7q.cjs → rolldown-runtime-CfAboj1T.cjs} +8 -1
- package/dist/security.cjs +1 -1
- package/dist/segment.cjs +2 -2
- package/dist/segment.cjs.map +1 -1
- package/dist/segment.js +2 -2
- package/dist/slack.cjs +1 -1
- package/dist/{tslib.es6-Ck6tgf4J.cjs → tslib.es6-02HJIdSd.cjs} +4 -4
- package/dist/{tslib.es6-Ck6tgf4J.cjs.map → tslib.es6-02HJIdSd.cjs.map} +1 -1
- package/dist/{tslib.es6-13Ha9x3r.js → tslib.es6-Dvm0j0am.js} +2 -2
- package/dist/{tslib.es6-13Ha9x3r.js.map → tslib.es6-Dvm0j0am.js.map} +1 -1
- package/dist/webhook.cjs +1 -1
- package/package.json +15 -15
- package/dist/cjs-BS1fE_MP.js.map +0 -1
- package/dist/cjs-BVWTUHeD.cjs.map +0 -1
- package/dist/index.node-CVFSZNnN.cjs.map +0 -1
- package/dist/index.node-T6N3xCyo.js.map +0 -1
- package/dist/posthog-DLBf2UJJ.d.ts.map +0 -1
- package/dist/posthog-Duh9pZs7.d.cts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_tslib_es6 = require('./tslib.es6-
|
|
1
|
+
const require_rolldown_runtime = require('./rolldown-runtime-CfAboj1T.cjs');
|
|
2
|
+
const require_tslib_es6 = require('./tslib.es6-02HJIdSd.cjs');
|
|
3
3
|
|
|
4
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
5
|
-
var require_event = /* @__PURE__ */
|
|
4
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/event/event.js
|
|
5
|
+
var require_event = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.SpecialEventType = exports.IdentifyOperation = void 0;
|
|
8
8
|
(function(IdentifyOperation) {
|
|
@@ -25,8 +25,8 @@ var require_event = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
25
25
|
}));
|
|
26
26
|
|
|
27
27
|
//#endregion
|
|
28
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
29
|
-
var require_constants$1 = /* @__PURE__ */
|
|
28
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/constants.js
|
|
29
|
+
var require_constants$1 = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
31
|
exports.FORBIDDEN_HEADERS = exports.SAFE_HEADERS = exports.MKTG = exports.BASE_CAMPAIGN = exports.EMPTY_VALUE = exports.WBRAID = exports.TWCLID = exports.TTCLID = exports.RDT_CID = exports.MSCLKID = exports.LI_FAT_ID = exports.KO_CLICK_ID = exports.GCLID = exports.GBRAID = exports.FBCLID = exports.DCLID = exports.UTM_TERM = exports.UTM_SOURCE = exports.UTM_MEDIUM = exports.UTM_ID = exports.UTM_CONTENT = exports.UTM_CAMPAIGN = exports.EU_AMPLITUDE_BATCH_SERVER_URL = exports.AMPLITUDE_BATCH_SERVER_URL = exports.EU_AMPLITUDE_SERVER_URL = exports.AMPLITUDE_SERVER_URL = exports.DEFAULT_INSTANCE_NAME = exports.STORAGE_PREFIX = exports.AMPLITUDE_PREFIX = exports.UNSET_VALUE = void 0;
|
|
32
32
|
exports.UNSET_VALUE = "-";
|
|
@@ -135,11 +135,11 @@ var require_constants$1 = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
135
135
|
}));
|
|
136
136
|
|
|
137
137
|
//#endregion
|
|
138
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
139
|
-
var require_valid_properties = /* @__PURE__ */
|
|
138
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/valid-properties.js
|
|
139
|
+
var require_valid_properties = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
140
140
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
141
141
|
exports.isValidProperties = exports.isValidObject = void 0;
|
|
142
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
142
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
143
143
|
var MAX_PROPERTY_KEYS = 1e3;
|
|
144
144
|
var isValidObject = function(properties) {
|
|
145
145
|
if (Object.keys(properties).length > MAX_PROPERTY_KEYS) return false;
|
|
@@ -185,11 +185,11 @@ var require_valid_properties = /* @__PURE__ */ require_chunk$1.__commonJSMin(((e
|
|
|
185
185
|
}));
|
|
186
186
|
|
|
187
187
|
//#endregion
|
|
188
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
189
|
-
var require_identify = /* @__PURE__ */
|
|
188
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/identify.js
|
|
189
|
+
var require_identify = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
190
190
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
191
191
|
exports.OrderedIdentifyOperations = exports.IdentifyOperation = exports.Identify = void 0;
|
|
192
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
192
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
193
193
|
var constants_1 = require_constants$1();
|
|
194
194
|
var valid_properties_1 = require_valid_properties();
|
|
195
195
|
var Identify = function() {
|
|
@@ -295,8 +295,8 @@ var require_identify = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
295
295
|
}));
|
|
296
296
|
|
|
297
297
|
//#endregion
|
|
298
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
299
|
-
var require_messages = /* @__PURE__ */
|
|
298
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/messages.js
|
|
299
|
+
var require_messages = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
300
300
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
301
301
|
exports.CLIENT_NOT_INITIALIZED = exports.INVALID_API_KEY = exports.MISSING_API_KEY_MESSAGE = exports.OPT_OUT_MESSAGE = exports.MAX_RETRIES_EXCEEDED_MESSAGE = exports.UNEXPECTED_ERROR_MESSAGE = exports.SUCCESS_MESSAGE = void 0;
|
|
302
302
|
exports.SUCCESS_MESSAGE = "Event tracked successfully";
|
|
@@ -309,8 +309,8 @@ var require_messages = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
309
309
|
}));
|
|
310
310
|
|
|
311
311
|
//#endregion
|
|
312
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
313
|
-
var require_status = /* @__PURE__ */
|
|
312
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/status.js
|
|
313
|
+
var require_status = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
314
314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
315
315
|
exports.Status = void 0;
|
|
316
316
|
(function(Status) {
|
|
@@ -336,8 +336,8 @@ var require_status = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
336
336
|
}));
|
|
337
337
|
|
|
338
338
|
//#endregion
|
|
339
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
340
|
-
var require_result_builder = /* @__PURE__ */
|
|
339
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/result-builder.js
|
|
340
|
+
var require_result_builder = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
341
341
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
342
342
|
exports.buildResult = void 0;
|
|
343
343
|
var status_1 = require_status();
|
|
@@ -354,8 +354,8 @@ var require_result_builder = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exp
|
|
|
354
354
|
}));
|
|
355
355
|
|
|
356
356
|
//#endregion
|
|
357
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
358
|
-
var require_global_scope = /* @__PURE__ */
|
|
357
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/global-scope.js
|
|
358
|
+
var require_global_scope = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
359
359
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
360
360
|
exports.getGlobalScope = void 0;
|
|
361
361
|
var getGlobalScope = function() {
|
|
@@ -370,8 +370,8 @@ var require_global_scope = /* @__PURE__ */ require_chunk$1.__commonJSMin(((expor
|
|
|
370
370
|
}));
|
|
371
371
|
|
|
372
372
|
//#endregion
|
|
373
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
374
|
-
var require_uuid = /* @__PURE__ */
|
|
373
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/uuid.js
|
|
374
|
+
var require_uuid = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
375
375
|
/**
|
|
376
376
|
* Source: [jed's gist's comment]{@link https://gist.github.com/jed/982883?permalink_comment_id=3223002#gistcomment-3223002}.
|
|
377
377
|
* Returns a random v4 UUID of the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx,
|
|
@@ -382,7 +382,7 @@ var require_uuid = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) => {
|
|
|
382
382
|
*/
|
|
383
383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
384
384
|
exports.UUID = void 0;
|
|
385
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
385
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
386
386
|
var global_scope_1 = require_global_scope();
|
|
387
387
|
var legacyUUID = function(a) {
|
|
388
388
|
return a ? (a ^ Math.random() * 16 >> a / 4).toString(16) : (String(1e7) + String(-1e3) + String(-4e3) + String(-8e3) + String(-1e11)).replace(/[018]/g, exports.UUID);
|
|
@@ -395,7 +395,7 @@ var require_uuid = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) => {
|
|
|
395
395
|
var globalScope = (0, global_scope_1.getGlobalScope)();
|
|
396
396
|
/* istanbul ignore next */
|
|
397
397
|
if (!((_a = globalScope === null || globalScope === void 0 ? void 0 : globalScope.crypto) === null || _a === void 0 ? void 0 : _a.getRandomValues)) return legacyUUID(a);
|
|
398
|
-
var r = globalScope.crypto.getRandomValues(new Uint8Array(16));
|
|
398
|
+
var r = globalScope.crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));
|
|
399
399
|
r[6] = r[6] & 15 | 64;
|
|
400
400
|
r[8] = r[8] & 63 | 128;
|
|
401
401
|
return tslib_1.__spreadArray([], tslib_1.__read(r.entries()), false).map(function(_a) {
|
|
@@ -412,11 +412,11 @@ var require_uuid = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) => {
|
|
|
412
412
|
}));
|
|
413
413
|
|
|
414
414
|
//#endregion
|
|
415
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
416
|
-
var require_timeline = /* @__PURE__ */
|
|
415
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/timeline.js
|
|
416
|
+
var require_timeline = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
417
417
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
418
418
|
exports.Timeline = void 0;
|
|
419
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
419
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
420
420
|
var result_builder_1 = require_result_builder();
|
|
421
421
|
var uuid_1 = require_uuid();
|
|
422
422
|
var Timeline = function() {
|
|
@@ -765,11 +765,11 @@ var require_timeline = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
765
765
|
}));
|
|
766
766
|
|
|
767
767
|
//#endregion
|
|
768
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
769
|
-
var require_event_builder = /* @__PURE__ */
|
|
768
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/event-builder.js
|
|
769
|
+
var require_event_builder = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
770
770
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
771
771
|
exports.createRevenueEvent = exports.createGroupEvent = exports.createGroupIdentifyEvent = exports.createIdentifyEvent = exports.createTrackEvent = void 0;
|
|
772
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
772
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
773
773
|
var identify_1 = require_identify();
|
|
774
774
|
var event_1 = require_event();
|
|
775
775
|
var createTrackEvent = function(eventInput, eventProperties, eventOptions) {
|
|
@@ -814,8 +814,8 @@ var require_event_builder = /* @__PURE__ */ require_chunk$1.__commonJSMin(((expo
|
|
|
814
814
|
}));
|
|
815
815
|
|
|
816
816
|
//#endregion
|
|
817
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
818
|
-
var require_return_wrapper = /* @__PURE__ */
|
|
817
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/return-wrapper.js
|
|
818
|
+
var require_return_wrapper = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
819
819
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
820
820
|
exports.returnWrapper = void 0;
|
|
821
821
|
var returnWrapper = function(awaitable) {
|
|
@@ -825,11 +825,11 @@ var require_return_wrapper = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exp
|
|
|
825
825
|
}));
|
|
826
826
|
|
|
827
827
|
//#endregion
|
|
828
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
829
|
-
var require_core_client = /* @__PURE__ */
|
|
828
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/core-client.js
|
|
829
|
+
var require_core_client = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
830
830
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
831
831
|
exports.AmplitudeCore = void 0;
|
|
832
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
832
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
833
833
|
var event_1 = require_event();
|
|
834
834
|
var identify_1 = require_identify();
|
|
835
835
|
var messages_1 = require_messages();
|
|
@@ -1106,11 +1106,11 @@ var require_core_client = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
1106
1106
|
}));
|
|
1107
1107
|
|
|
1108
1108
|
//#endregion
|
|
1109
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1110
|
-
var require_revenue = /* @__PURE__ */
|
|
1109
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/revenue.js
|
|
1110
|
+
var require_revenue = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1111
1111
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1112
1112
|
exports.RevenueProperty = exports.Revenue = void 0;
|
|
1113
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
1113
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
1114
1114
|
var valid_properties_1 = require_valid_properties();
|
|
1115
1115
|
var Revenue = function() {
|
|
1116
1116
|
function Revenue() {
|
|
@@ -1186,8 +1186,8 @@ var require_revenue = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =
|
|
|
1186
1186
|
}));
|
|
1187
1187
|
|
|
1188
1188
|
//#endregion
|
|
1189
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1190
|
-
var require_chunk = /* @__PURE__ */
|
|
1189
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/chunk.js
|
|
1190
|
+
var require_chunk = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1191
1191
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1192
1192
|
exports.chunk = void 0;
|
|
1193
1193
|
var chunk = function(arr, size) {
|
|
@@ -1203,8 +1203,8 @@ var require_chunk = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
1203
1203
|
}));
|
|
1204
1204
|
|
|
1205
1205
|
//#endregion
|
|
1206
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1207
|
-
var require_loglevel = /* @__PURE__ */
|
|
1206
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/loglevel.js
|
|
1207
|
+
var require_loglevel = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1208
1208
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1209
1209
|
exports.LogLevel = void 0;
|
|
1210
1210
|
(function(LogLevel) {
|
|
@@ -1217,8 +1217,8 @@ var require_loglevel = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
1217
1217
|
}));
|
|
1218
1218
|
|
|
1219
1219
|
//#endregion
|
|
1220
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1221
|
-
var require_logger = /* @__PURE__ */
|
|
1220
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/logger.js
|
|
1221
|
+
var require_logger = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1222
1222
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1223
1223
|
exports.Logger = void 0;
|
|
1224
1224
|
var loglevel_1 = require_loglevel();
|
|
@@ -1264,8 +1264,8 @@ var require_logger = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
1264
1264
|
}));
|
|
1265
1265
|
|
|
1266
1266
|
//#endregion
|
|
1267
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1268
|
-
var require_config$1 = /* @__PURE__ */
|
|
1267
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/config.js
|
|
1268
|
+
var require_config$1 = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1269
1269
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1270
1270
|
exports.RequestMetadata = exports.createServerConfig = exports.getServerUrl = exports.Config = exports.getDefaultConfig = void 0;
|
|
1271
1271
|
var constants_1 = require_constants$1();
|
|
@@ -1364,8 +1364,8 @@ var require_config$1 = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
1364
1364
|
}));
|
|
1365
1365
|
|
|
1366
1366
|
//#endregion
|
|
1367
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1368
|
-
var require_status_code = /* @__PURE__ */
|
|
1367
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/status-code.js
|
|
1368
|
+
var require_status_code = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1369
1369
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1370
1370
|
exports.isSuccessStatusCode = void 0;
|
|
1371
1371
|
/**
|
|
@@ -1380,11 +1380,11 @@ var require_status_code = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
1380
1380
|
}));
|
|
1381
1381
|
|
|
1382
1382
|
//#endregion
|
|
1383
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1384
|
-
var require_debug = /* @__PURE__ */
|
|
1383
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/debug.js
|
|
1384
|
+
var require_debug = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1385
1385
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1386
1386
|
exports.debugWrapper = exports.getClientStates = exports.getValueByStringPath = exports.getClientLogConfig = exports.getStacktrace = void 0;
|
|
1387
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
1387
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
1388
1388
|
var loglevel_1 = require_loglevel();
|
|
1389
1389
|
var getStacktrace = function(ignoreDepth) {
|
|
1390
1390
|
if (ignoreDepth === void 0) ignoreDepth = 0;
|
|
@@ -1481,11 +1481,11 @@ var require_debug = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
1481
1481
|
}));
|
|
1482
1482
|
|
|
1483
1483
|
//#endregion
|
|
1484
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
1485
|
-
var require_destination = /* @__PURE__ */
|
|
1484
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/plugins/destination.js
|
|
1485
|
+
var require_destination = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1486
1486
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1487
1487
|
exports.Destination = exports.getResponseBodyString = void 0;
|
|
1488
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
1488
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
1489
1489
|
var status_1 = require_status();
|
|
1490
1490
|
var messages_1 = require_messages();
|
|
1491
1491
|
var constants_1 = require_constants$1();
|
|
@@ -1495,7 +1495,7 @@ var require_destination = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
1495
1495
|
var uuid_1 = require_uuid();
|
|
1496
1496
|
var status_code_1 = require_status_code();
|
|
1497
1497
|
var debug_1 = require_debug();
|
|
1498
|
-
var DEFAULT_AMPLITUDE_SERVER_URLS = new Set([
|
|
1498
|
+
var DEFAULT_AMPLITUDE_SERVER_URLS = /* @__PURE__ */ new Set([
|
|
1499
1499
|
constants_1.AMPLITUDE_SERVER_URL,
|
|
1500
1500
|
constants_1.EU_AMPLITUDE_SERVER_URL,
|
|
1501
1501
|
constants_1.AMPLITUDE_BATCH_SERVER_URL,
|
|
@@ -1858,9 +1858,201 @@ var require_destination = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
1858
1858
|
exports.Destination = Destination;
|
|
1859
1859
|
}));
|
|
1860
1860
|
|
|
1861
|
+
//#endregion
|
|
1862
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/heartbeat.js
|
|
1863
|
+
var require_heartbeat = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
1864
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1865
|
+
exports.getHeartbeatInstance = exports.Heartbeat = void 0;
|
|
1866
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
1867
|
+
var uuid_1 = require_uuid();
|
|
1868
|
+
var EVENTS_SIZE_LIMIT = 4 * 1e4;
|
|
1869
|
+
var Heartbeat = function() {
|
|
1870
|
+
function Heartbeat(client, pulse, delayTimeout, logger) {
|
|
1871
|
+
this.client = client;
|
|
1872
|
+
this.pulse = pulse;
|
|
1873
|
+
this.delayTimeout = delayTimeout;
|
|
1874
|
+
this.logger = logger;
|
|
1875
|
+
this.interval = null;
|
|
1876
|
+
this.resetPromise = null;
|
|
1877
|
+
this.events = /* @__PURE__ */ new Map();
|
|
1878
|
+
this.delayId = (0, uuid_1.UUID)();
|
|
1879
|
+
}
|
|
1880
|
+
Heartbeat.prototype.heartbeat = function() {
|
|
1881
|
+
return tslib_1.__awaiter(this, void 0, void 0, function() {
|
|
1882
|
+
var trackedEvents, _loop_1, this_1, _a, _b, event_1;
|
|
1883
|
+
var e_1, _c;
|
|
1884
|
+
var _this = this;
|
|
1885
|
+
return tslib_1.__generator(this, function(_d) {
|
|
1886
|
+
switch (_d.label) {
|
|
1887
|
+
case 0:
|
|
1888
|
+
if (this.events.size === 0) {
|
|
1889
|
+
this.stop();
|
|
1890
|
+
return [2, []];
|
|
1891
|
+
}
|
|
1892
|
+
trackedEvents = [];
|
|
1893
|
+
_loop_1 = function(event_1) {
|
|
1894
|
+
var event_type = event_1.event_type, event_properties = event_1.event_properties, eventOptions = tslib_1.__rest(event_1, ["event_type", "event_properties"]);
|
|
1895
|
+
var eventPromise = this_1.client.track(event_type, event_properties, eventOptions).promise;
|
|
1896
|
+
if (this_1.isInstantEvent(event_1)) {
|
|
1897
|
+
var insertId_1 = event_1.insert_id;
|
|
1898
|
+
eventPromise.finally(function() {
|
|
1899
|
+
return _this.events.delete(insertId_1);
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
trackedEvents.push(eventPromise);
|
|
1903
|
+
};
|
|
1904
|
+
this_1 = this;
|
|
1905
|
+
try {
|
|
1906
|
+
for (_a = tslib_1.__values(this.events.values()), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
1907
|
+
event_1 = _b.value;
|
|
1908
|
+
_loop_1(event_1);
|
|
1909
|
+
}
|
|
1910
|
+
} catch (e_1_1) {
|
|
1911
|
+
e_1 = { error: e_1_1 };
|
|
1912
|
+
} finally {
|
|
1913
|
+
try {
|
|
1914
|
+
if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
|
|
1915
|
+
} finally {
|
|
1916
|
+
if (e_1) throw e_1.error;
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
return [4, Promise.all(trackedEvents)];
|
|
1920
|
+
case 1: return [2, _d.sent()];
|
|
1921
|
+
}
|
|
1922
|
+
});
|
|
1923
|
+
});
|
|
1924
|
+
};
|
|
1925
|
+
Heartbeat.prototype.resetHeartbeat = function() {
|
|
1926
|
+
return tslib_1.__awaiter(this, void 0, void 0, function() {
|
|
1927
|
+
var _this = this;
|
|
1928
|
+
return tslib_1.__generator(this, function(_a) {
|
|
1929
|
+
switch (_a.label) {
|
|
1930
|
+
case 0:
|
|
1931
|
+
if (!this.resetPromise) return [3, 2];
|
|
1932
|
+
return [4, this.resetPromise];
|
|
1933
|
+
case 1: return [2, _a.sent()];
|
|
1934
|
+
case 2:
|
|
1935
|
+
if (this.interval) clearInterval(this.interval);
|
|
1936
|
+
this.interval = setInterval(function() {
|
|
1937
|
+
_this.heartbeat();
|
|
1938
|
+
}, this.pulse);
|
|
1939
|
+
this.resetPromise = new Promise(function(resolve) {
|
|
1940
|
+
setTimeout(function() {
|
|
1941
|
+
resolve(_this.heartbeat());
|
|
1942
|
+
}, 0);
|
|
1943
|
+
});
|
|
1944
|
+
this.resetPromise.finally(function() {
|
|
1945
|
+
return _this.resetPromise = null;
|
|
1946
|
+
});
|
|
1947
|
+
return [4, this.resetPromise];
|
|
1948
|
+
case 3: return [2, _a.sent()];
|
|
1949
|
+
}
|
|
1950
|
+
});
|
|
1951
|
+
});
|
|
1952
|
+
};
|
|
1953
|
+
/**
|
|
1954
|
+
* An instant event is one that has no delay and gets ingested immediately
|
|
1955
|
+
* @param event
|
|
1956
|
+
* @returns
|
|
1957
|
+
*/
|
|
1958
|
+
Heartbeat.prototype.isInstantEvent = function(event) {
|
|
1959
|
+
return Boolean(event.insert_id && !event.delay.timeout);
|
|
1960
|
+
};
|
|
1961
|
+
Heartbeat.prototype.checkEventSizeLimit = function(event) {
|
|
1962
|
+
var _a;
|
|
1963
|
+
if (JSON.stringify(tslib_1.__spreadArray([], tslib_1.__read(this.events.values()), false)).length > EVENTS_SIZE_LIMIT) {
|
|
1964
|
+
/* istanbul ignore next */
|
|
1965
|
+
(_a = this.logger) === null || _a === void 0 || _a.warn("Heartbeat: events size limit reached, rejecting event with id=".concat(event.insert_id));
|
|
1966
|
+
if (event.insert_id) this.events.delete(event.insert_id);
|
|
1967
|
+
return false;
|
|
1968
|
+
}
|
|
1969
|
+
return true;
|
|
1970
|
+
};
|
|
1971
|
+
Heartbeat.prototype.track = function(event) {
|
|
1972
|
+
return tslib_1.__awaiter(this, void 0, void 0, function() {
|
|
1973
|
+
var heartbeatResult;
|
|
1974
|
+
return tslib_1.__generator(this, function(_a) {
|
|
1975
|
+
switch (_a.label) {
|
|
1976
|
+
case 0:
|
|
1977
|
+
if (!event.insert_id) return [2, /* @__PURE__ */ new Error("insert_id is required on events tracked with heartbeat")];
|
|
1978
|
+
this.events.set(event.insert_id, tslib_1.__assign(tslib_1.__assign({}, event), { delay: event.delay || {
|
|
1979
|
+
id: this.delayId,
|
|
1980
|
+
timeout: this.delayTimeout
|
|
1981
|
+
} }));
|
|
1982
|
+
if (!this.checkEventSizeLimit(event)) return [2];
|
|
1983
|
+
return [4, this.resetHeartbeat()];
|
|
1984
|
+
case 1:
|
|
1985
|
+
heartbeatResult = _a.sent();
|
|
1986
|
+
return [2, heartbeatResult.find(function(result) {
|
|
1987
|
+
return result.event.insert_id === event.insert_id;
|
|
1988
|
+
})];
|
|
1989
|
+
}
|
|
1990
|
+
});
|
|
1991
|
+
});
|
|
1992
|
+
};
|
|
1993
|
+
/**
|
|
1994
|
+
* Ingest an event with no delay
|
|
1995
|
+
*
|
|
1996
|
+
* (This is different from normal "track". It sends the events to the "/delayed" endpoint
|
|
1997
|
+
* so that it can be tracked in the same payload as other events, for atomicity)
|
|
1998
|
+
* @param event
|
|
1999
|
+
* @returns
|
|
2000
|
+
*/
|
|
2001
|
+
Heartbeat.prototype.trackNoDelay = function(event) {
|
|
2002
|
+
return tslib_1.__awaiter(this, void 0, void 0, function() {
|
|
2003
|
+
return tslib_1.__generator(this, function(_a) {
|
|
2004
|
+
event.delay = { id: this.delayId };
|
|
2005
|
+
return [2, this.track(event)];
|
|
2006
|
+
});
|
|
2007
|
+
});
|
|
2008
|
+
};
|
|
2009
|
+
/**
|
|
2010
|
+
* Update an existing event
|
|
2011
|
+
* @param event
|
|
2012
|
+
*/
|
|
2013
|
+
Heartbeat.prototype.update = function(event) {
|
|
2014
|
+
return tslib_1.__awaiter(this, void 0, void 0, function() {
|
|
2015
|
+
var backupEvent;
|
|
2016
|
+
return tslib_1.__generator(this, function(_a) {
|
|
2017
|
+
if (event.insert_id && this.events.has(event.insert_id)) {
|
|
2018
|
+
backupEvent = this.events.get(event.insert_id);
|
|
2019
|
+
this.events.set(event.insert_id, tslib_1.__assign(tslib_1.__assign({}, event), { delay: {
|
|
2020
|
+
id: this.delayId,
|
|
2021
|
+
timeout: this.delayTimeout
|
|
2022
|
+
} }));
|
|
2023
|
+
if (!this.checkEventSizeLimit(event) && backupEvent) {
|
|
2024
|
+
this.events.set(event.insert_id, backupEvent);
|
|
2025
|
+
return [2];
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
return [2];
|
|
2029
|
+
});
|
|
2030
|
+
});
|
|
2031
|
+
};
|
|
2032
|
+
Heartbeat.prototype.stop = function() {
|
|
2033
|
+
this.interval && clearInterval(this.interval);
|
|
2034
|
+
this.interval = null;
|
|
2035
|
+
this.events.clear();
|
|
2036
|
+
};
|
|
2037
|
+
return Heartbeat;
|
|
2038
|
+
}();
|
|
2039
|
+
exports.Heartbeat = Heartbeat;
|
|
2040
|
+
var DEFAULT_HEARTBEAT_INTERVAL = 6e4;
|
|
2041
|
+
var DEFAULT_HEARTBEAT_DELAY_TIMEOUT = 36e5;
|
|
2042
|
+
var heartbeatMap = /* @__PURE__ */ new Map();
|
|
2043
|
+
function getHeartbeatInstance(client, logger) {
|
|
2044
|
+
var existing = heartbeatMap.get(client);
|
|
2045
|
+
if (existing) return existing;
|
|
2046
|
+
var heartbeat = new Heartbeat(client, DEFAULT_HEARTBEAT_INTERVAL, DEFAULT_HEARTBEAT_DELAY_TIMEOUT, logger);
|
|
2047
|
+
heartbeatMap.set(client, heartbeat);
|
|
2048
|
+
return heartbeat;
|
|
2049
|
+
}
|
|
2050
|
+
exports.getHeartbeatInstance = getHeartbeatInstance;
|
|
2051
|
+
}));
|
|
2052
|
+
|
|
1861
2053
|
//#endregion
|
|
1862
2054
|
//#region ../../node_modules/.pnpm/@amplitude+analytics-connector@1.6.4/node_modules/@amplitude/analytics-connector/dist/analytics-connector.umd.js
|
|
1863
|
-
var require_analytics_connector_umd = /* @__PURE__ */
|
|
2055
|
+
var require_analytics_connector_umd = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
1864
2056
|
(function(global, factory) {
|
|
1865
2057
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.Experiment = {}));
|
|
1866
2058
|
})(exports, (function(exports$1) {
|
|
@@ -2128,8 +2320,8 @@ var require_analytics_connector_umd = /* @__PURE__ */ require_chunk$1.__commonJS
|
|
|
2128
2320
|
}));
|
|
2129
2321
|
|
|
2130
2322
|
//#endregion
|
|
2131
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2132
|
-
var require_analytics_connector = /* @__PURE__ */
|
|
2323
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/analytics-connector.js
|
|
2324
|
+
var require_analytics_connector = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2133
2325
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2134
2326
|
exports.setConnectorDeviceId = exports.setConnectorUserId = exports.getAnalyticsConnector = void 0;
|
|
2135
2327
|
var analytics_connector_1 = require_analytics_connector_umd();
|
|
@@ -2150,11 +2342,11 @@ var require_analytics_connector = /* @__PURE__ */ require_chunk$1.__commonJSMin(
|
|
|
2150
2342
|
}));
|
|
2151
2343
|
|
|
2152
2344
|
//#endregion
|
|
2153
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2154
|
-
var require_identity = /* @__PURE__ */
|
|
2345
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/plugins/identity.js
|
|
2346
|
+
var require_identity = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2155
2347
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2156
2348
|
exports.IdentityEventSender = void 0;
|
|
2157
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
2349
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
2158
2350
|
var analytics_connector_1 = require_analytics_connector();
|
|
2159
2351
|
var IdentityEventSender = function() {
|
|
2160
2352
|
function IdentityEventSender() {
|
|
@@ -2186,8 +2378,8 @@ var require_identity = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
2186
2378
|
}));
|
|
2187
2379
|
|
|
2188
2380
|
//#endregion
|
|
2189
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2190
|
-
var require_session = /* @__PURE__ */
|
|
2381
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/session.js
|
|
2382
|
+
var require_session = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2191
2383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2192
2384
|
exports.isNewSession = void 0;
|
|
2193
2385
|
var isNewSession = function(sessionTimeout, lastEventTime) {
|
|
@@ -2198,8 +2390,8 @@ var require_session = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =
|
|
|
2198
2390
|
}));
|
|
2199
2391
|
|
|
2200
2392
|
//#endregion
|
|
2201
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2202
|
-
var require_cookie_name = /* @__PURE__ */
|
|
2393
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/cookie-name.js
|
|
2394
|
+
var require_cookie_name = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2203
2395
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2204
2396
|
exports.getOldCookieName = exports.getCookieName = void 0;
|
|
2205
2397
|
var constants_1 = require_constants$1();
|
|
@@ -2220,8 +2412,8 @@ var require_cookie_name = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
2220
2412
|
}));
|
|
2221
2413
|
|
|
2222
2414
|
//#endregion
|
|
2223
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2224
|
-
var require_language = /* @__PURE__ */
|
|
2415
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/language.js
|
|
2416
|
+
var require_language = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2225
2417
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2226
2418
|
exports.getLanguage = void 0;
|
|
2227
2419
|
var getLanguage = function() {
|
|
@@ -2234,8 +2426,8 @@ var require_language = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
2234
2426
|
}));
|
|
2235
2427
|
|
|
2236
2428
|
//#endregion
|
|
2237
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2238
|
-
var require_query_params = /* @__PURE__ */
|
|
2429
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/query-params.js
|
|
2430
|
+
var require_query_params = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2239
2431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2240
2432
|
exports.tryDecodeURIComponent = exports.getQueryParams = void 0;
|
|
2241
2433
|
var global_scope_1 = require_global_scope();
|
|
@@ -2266,8 +2458,8 @@ var require_query_params = /* @__PURE__ */ require_chunk$1.__commonJSMin(((expor
|
|
|
2266
2458
|
}));
|
|
2267
2459
|
|
|
2268
2460
|
//#endregion
|
|
2269
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2270
|
-
var require_url_utils = /* @__PURE__ */
|
|
2461
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/url-utils.js
|
|
2462
|
+
var require_url_utils = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2271
2463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2272
2464
|
exports.getDecodeURI = exports.isUrlMatchAllowlist = void 0;
|
|
2273
2465
|
/**
|
|
@@ -2298,8 +2490,8 @@ var require_url_utils = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
2298
2490
|
}));
|
|
2299
2491
|
|
|
2300
2492
|
//#endregion
|
|
2301
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2302
|
-
var require_sampling = /* @__PURE__ */
|
|
2493
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/sampling.js
|
|
2494
|
+
var require_sampling = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2303
2495
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2304
2496
|
exports.isTimestampInSampleTemp = exports.isTimestampInSample = exports.generateHashCode = void 0;
|
|
2305
2497
|
var generateHashCode = function(str) {
|
|
@@ -2327,8 +2519,8 @@ var require_sampling = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
2327
2519
|
}));
|
|
2328
2520
|
|
|
2329
2521
|
//#endregion
|
|
2330
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2331
|
-
var require_omit_undefined = /* @__PURE__ */
|
|
2522
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/omit-undefined.js
|
|
2523
|
+
var require_omit_undefined = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2332
2524
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2333
2525
|
exports.omitUndefined = void 0;
|
|
2334
2526
|
var omitUndefined = function(input) {
|
|
@@ -2343,11 +2535,11 @@ var require_omit_undefined = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exp
|
|
|
2343
2535
|
}));
|
|
2344
2536
|
|
|
2345
2537
|
//#endregion
|
|
2346
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2347
|
-
var require_memory = /* @__PURE__ */
|
|
2538
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/storage/memory.js
|
|
2539
|
+
var require_memory = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2348
2540
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2349
2541
|
exports.MemoryStorage = void 0;
|
|
2350
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
2542
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
2351
2543
|
var MemoryStorage = function() {
|
|
2352
2544
|
function MemoryStorage() {
|
|
2353
2545
|
this.memoryStorage = /* @__PURE__ */ new Map();
|
|
@@ -2409,11 +2601,11 @@ var require_memory = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
2409
2601
|
}));
|
|
2410
2602
|
|
|
2411
2603
|
//#endregion
|
|
2412
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2413
|
-
var require_cookie = /* @__PURE__ */
|
|
2604
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/storage/cookie.js
|
|
2605
|
+
var require_cookie = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2414
2606
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2415
2607
|
exports.isDomainEqual = exports.decodeCookieValue = exports.CookieStorage = void 0;
|
|
2416
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
2608
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
2417
2609
|
var global_scope_1 = require_global_scope();
|
|
2418
2610
|
/* istanbul ignore next */
|
|
2419
2611
|
var getLocks = function() {
|
|
@@ -2757,8 +2949,8 @@ var require_cookie = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
2757
2949
|
}));
|
|
2758
2950
|
|
|
2759
2951
|
//#endregion
|
|
2760
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2761
|
-
var require_helpers$1 = /* @__PURE__ */
|
|
2952
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/storage/helpers.js
|
|
2953
|
+
var require_helpers$1 = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2762
2954
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2763
2955
|
exports.getStorageKey = void 0;
|
|
2764
2956
|
var constants_1 = require_constants$1();
|
|
@@ -2775,11 +2967,11 @@ var require_helpers$1 = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
2775
2967
|
}));
|
|
2776
2968
|
|
|
2777
2969
|
//#endregion
|
|
2778
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2779
|
-
var require_browser_storage = /* @__PURE__ */
|
|
2970
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/storage/browser-storage.js
|
|
2971
|
+
var require_browser_storage = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2780
2972
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2781
2973
|
exports.BrowserStorage = void 0;
|
|
2782
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
2974
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
2783
2975
|
var BrowserStorage = function() {
|
|
2784
2976
|
function BrowserStorage(storage) {
|
|
2785
2977
|
this.storage = storage;
|
|
@@ -2896,11 +3088,11 @@ var require_browser_storage = /* @__PURE__ */ require_chunk$1.__commonJSMin(((ex
|
|
|
2896
3088
|
}));
|
|
2897
3089
|
|
|
2898
3090
|
//#endregion
|
|
2899
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
2900
|
-
var require_diagnostics_storage = /* @__PURE__ */
|
|
3091
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/diagnostics/diagnostics-storage.js
|
|
3092
|
+
var require_diagnostics_storage = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
2901
3093
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2902
3094
|
exports.DiagnosticsStorage = exports.INTERNAL_KEYS = exports.TABLE_NAMES = void 0;
|
|
2903
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
3095
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
2904
3096
|
var global_scope_1 = require_global_scope();
|
|
2905
3097
|
var MAX_PERSISTENT_STORAGE_EVENTS_COUNT = 10;
|
|
2906
3098
|
var DB_VERSION = 1;
|
|
@@ -3427,11 +3619,11 @@ var require_diagnostics_storage = /* @__PURE__ */ require_chunk$1.__commonJSMin(
|
|
|
3427
3619
|
}));
|
|
3428
3620
|
|
|
3429
3621
|
//#endregion
|
|
3430
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
3431
|
-
var require_uncaught_sdk_errors = /* @__PURE__ */
|
|
3622
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/diagnostics/uncaught-sdk-errors.js
|
|
3623
|
+
var require_uncaught_sdk_errors = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
3432
3624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3433
3625
|
exports.enableSdkErrorListeners = exports.registerSdkLoaderMetadata = exports.EVENT_NAME_ERROR_UNCAUGHT = exports.GLOBAL_KEY = void 0;
|
|
3434
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
3626
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
3435
3627
|
var global_scope_1 = require_global_scope();
|
|
3436
3628
|
exports.GLOBAL_KEY = "__AMPLITUDE_SCRIPT_URL__";
|
|
3437
3629
|
exports.EVENT_NAME_ERROR_UNCAUGHT = "sdk.error.uncaught";
|
|
@@ -3571,11 +3763,11 @@ var require_uncaught_sdk_errors = /* @__PURE__ */ require_chunk$1.__commonJSMin(
|
|
|
3571
3763
|
}));
|
|
3572
3764
|
|
|
3573
3765
|
//#endregion
|
|
3574
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
3575
|
-
var require_diagnostics_client = /* @__PURE__ */
|
|
3766
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/diagnostics/diagnostics-client.js
|
|
3767
|
+
var require_diagnostics_client = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
3576
3768
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3577
3769
|
exports.DiagnosticsClient = exports.MAX_MEMORY_STORAGE_EVENTS_COUNT = exports.MAX_MEMORY_STORAGE_COUNT = exports.DIAGNOSTICS_EU_SERVER_URL = exports.DIAGNOSTICS_US_SERVER_URL = exports.FLUSH_INTERVAL_MS = exports.SAVE_INTERVAL_MS = void 0;
|
|
3578
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
3770
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
3579
3771
|
var diagnostics_storage_1 = require_diagnostics_storage();
|
|
3580
3772
|
var global_scope_1 = require_global_scope();
|
|
3581
3773
|
var sampling_1 = require_sampling();
|
|
@@ -3866,8 +4058,8 @@ var require_diagnostics_client = /* @__PURE__ */ require_chunk$1.__commonJSMin((
|
|
|
3866
4058
|
}));
|
|
3867
4059
|
|
|
3868
4060
|
//#endregion
|
|
3869
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
3870
|
-
var require_base = /* @__PURE__ */
|
|
4061
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/transports/base.js
|
|
4062
|
+
var require_base = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
3871
4063
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3872
4064
|
exports.BaseTransport = void 0;
|
|
3873
4065
|
var status_1 = require_status();
|
|
@@ -3949,11 +4141,11 @@ var require_base = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) => {
|
|
|
3949
4141
|
}));
|
|
3950
4142
|
|
|
3951
4143
|
//#endregion
|
|
3952
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
3953
|
-
var require_fetch = /* @__PURE__ */
|
|
4144
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/transports/fetch.js
|
|
4145
|
+
var require_fetch = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
3954
4146
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3955
4147
|
exports.FetchTransport = void 0;
|
|
3956
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
4148
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
3957
4149
|
var FetchTransport = function(_super) {
|
|
3958
4150
|
tslib_1.__extends(FetchTransport, _super);
|
|
3959
4151
|
function FetchTransport(customHeaders) {
|
|
@@ -4000,11 +4192,11 @@ var require_fetch = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
4000
4192
|
}));
|
|
4001
4193
|
|
|
4002
4194
|
//#endregion
|
|
4003
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4004
|
-
var require_gzip = /* @__PURE__ */
|
|
4195
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/transports/gzip.js
|
|
4196
|
+
var require_gzip = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4005
4197
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4006
4198
|
exports.compressToGzipArrayBuffer = exports.isCompressionStreamAvailable = exports.MIN_GZIP_UPLOAD_BODY_SIZE_BYTES = void 0;
|
|
4007
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
4199
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
4008
4200
|
exports.MIN_GZIP_UPLOAD_BODY_SIZE_BYTES = 2 * 1024;
|
|
4009
4201
|
/**
|
|
4010
4202
|
* Returns true if CompressionStream is available (e.g. in supported browsers).
|
|
@@ -4049,8 +4241,8 @@ var require_gzip = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) => {
|
|
|
4049
4241
|
}));
|
|
4050
4242
|
|
|
4051
4243
|
//#endregion
|
|
4052
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4053
|
-
var require_remote_config_localstorage = /* @__PURE__ */
|
|
4244
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/remote-config/remote-config-localstorage.js
|
|
4245
|
+
var require_remote_config_localstorage = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4054
4246
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4055
4247
|
exports.RemoteConfigLocalStorage = void 0;
|
|
4056
4248
|
var RemoteConfigLocalStorage = function() {
|
|
@@ -4103,13 +4295,36 @@ var require_remote_config_localstorage = /* @__PURE__ */ require_chunk$1.__commo
|
|
|
4103
4295
|
}));
|
|
4104
4296
|
|
|
4105
4297
|
//#endregion
|
|
4106
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4107
|
-
var require_remote_config = /* @__PURE__ */
|
|
4298
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/remote-config/remote-config.js
|
|
4299
|
+
var require_remote_config = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4108
4300
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4109
4301
|
exports.RemoteConfigClient = exports.DEFAULT_MAX_RETRIES = exports.EU_SERVER_URL = exports.US_SERVER_URL = void 0;
|
|
4110
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
4302
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
4111
4303
|
var remote_config_localstorage_1 = require_remote_config_localstorage();
|
|
4112
4304
|
var uuid_1 = require_uuid();
|
|
4305
|
+
/**
|
|
4306
|
+
* Settles with `promise`, but rejects with an AbortError when `signal` fires. The request-timeout
|
|
4307
|
+
* signal is handed to customFetch, but a transport that ignores it would block the await (and the
|
|
4308
|
+
* retry loop) indefinitely; racing the abort guarantees the client-side timeout always applies.
|
|
4309
|
+
* The transport's own promise keeps running — we can't cancel it — we just stop awaiting it.
|
|
4310
|
+
*/
|
|
4311
|
+
function abortableFetch(promise, signal) {
|
|
4312
|
+
return new Promise(function(resolve, reject) {
|
|
4313
|
+
var onAbort = function() {
|
|
4314
|
+
var err = /* @__PURE__ */ new Error("Remote config custom fetch aborted by timeout");
|
|
4315
|
+
err.name = "AbortError";
|
|
4316
|
+
reject(err);
|
|
4317
|
+
};
|
|
4318
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
4319
|
+
promise.then(function(value) {
|
|
4320
|
+
signal.removeEventListener("abort", onAbort);
|
|
4321
|
+
resolve(value);
|
|
4322
|
+
}, function(err) {
|
|
4323
|
+
signal.removeEventListener("abort", onAbort);
|
|
4324
|
+
reject(err);
|
|
4325
|
+
});
|
|
4326
|
+
});
|
|
4327
|
+
}
|
|
4113
4328
|
exports.US_SERVER_URL = "https://sr-client-cfg.amplitude.com/config";
|
|
4114
4329
|
exports.EU_SERVER_URL = "https://sr-client-cfg.eu.amplitude.com/config";
|
|
4115
4330
|
exports.DEFAULT_MAX_RETRIES = 3;
|
|
@@ -4129,7 +4344,7 @@ var require_remote_config = /* @__PURE__ */ require_chunk$1.__commonJSMin(((expo
|
|
|
4129
4344
|
*/
|
|
4130
4345
|
var DEFAULT_MIN_TIME_BETWEEN_FETCHES = 300 * 1e3;
|
|
4131
4346
|
var RemoteConfigClient = function() {
|
|
4132
|
-
function RemoteConfigClient(apiKey, logger, serverZone, serverUrl) {
|
|
4347
|
+
function RemoteConfigClient(apiKey, logger, serverZone, serverUrl, customFetch) {
|
|
4133
4348
|
if (serverZone === void 0) serverZone = "US";
|
|
4134
4349
|
this.callbackInfos = [];
|
|
4135
4350
|
this.lastSuccessfulFetch = null;
|
|
@@ -4139,6 +4354,7 @@ var require_remote_config = /* @__PURE__ */ require_chunk$1.__commonJSMin(((expo
|
|
|
4139
4354
|
this.serverUrl = serverUrl || (serverZone === "US" ? exports.US_SERVER_URL : exports.EU_SERVER_URL);
|
|
4140
4355
|
this.logger = logger;
|
|
4141
4356
|
this.storage = new remote_config_localstorage_1.RemoteConfigLocalStorage(apiKey, logger);
|
|
4357
|
+
this.customFetch = customFetch;
|
|
4142
4358
|
}
|
|
4143
4359
|
RemoteConfigClient.prototype.subscribe = function(key, deliveryMode, callback) {
|
|
4144
4360
|
var id = (0, uuid_1.UUID)();
|
|
@@ -4346,67 +4562,83 @@ var require_remote_config = /* @__PURE__ */ require_chunk$1.__commonJSMin(((expo
|
|
|
4346
4562
|
lastFetch: /* @__PURE__ */ new Date()
|
|
4347
4563
|
};
|
|
4348
4564
|
_loop_1 = function(attempt) {
|
|
4349
|
-
var shouldRetry, abortController, timeoutId, res, body, remoteConfig, error_2;
|
|
4350
|
-
return tslib_1.__generator(this, function(
|
|
4351
|
-
switch (
|
|
4565
|
+
var shouldRetry, abortController, timeoutId, url, headers, res, _b, isSuccess, body, remoteConfig, error_2;
|
|
4566
|
+
return tslib_1.__generator(this, function(_c) {
|
|
4567
|
+
switch (_c.label) {
|
|
4352
4568
|
case 0:
|
|
4353
4569
|
shouldRetry = true;
|
|
4354
4570
|
abortController = new AbortController();
|
|
4355
4571
|
timeoutId = setTimeout(function() {
|
|
4356
4572
|
return abortController.abort();
|
|
4357
4573
|
}, timeout);
|
|
4358
|
-
|
|
4574
|
+
_c.label = 1;
|
|
4359
4575
|
case 1:
|
|
4360
|
-
|
|
4576
|
+
_c.trys.push([
|
|
4361
4577
|
1,
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4578
|
+
10,
|
|
4579
|
+
11,
|
|
4580
|
+
12
|
|
4365
4581
|
]);
|
|
4366
|
-
|
|
4582
|
+
url = this_1.getUrlParams();
|
|
4583
|
+
headers = { Accept: "*/*" };
|
|
4584
|
+
if (!this_1.customFetch) return [3, 3];
|
|
4585
|
+
return [4, abortableFetch(this_1.customFetch({
|
|
4586
|
+
url,
|
|
4367
4587
|
method: "GET",
|
|
4368
|
-
headers
|
|
4588
|
+
headers,
|
|
4369
4589
|
signal: abortController.signal
|
|
4370
|
-
})];
|
|
4590
|
+
}), abortController.signal)];
|
|
4371
4591
|
case 2:
|
|
4372
|
-
|
|
4373
|
-
|
|
4592
|
+
_b = _c.sent();
|
|
4593
|
+
return [3, 5];
|
|
4594
|
+
case 3: return [4, fetch(url, {
|
|
4595
|
+
method: "GET",
|
|
4596
|
+
headers,
|
|
4597
|
+
signal: abortController.signal
|
|
4598
|
+
})];
|
|
4599
|
+
case 4:
|
|
4600
|
+
_b = _c.sent();
|
|
4601
|
+
_c.label = 5;
|
|
4602
|
+
case 5:
|
|
4603
|
+
res = _b;
|
|
4604
|
+
isSuccess = res.ok || res.status >= 200 && res.status < 300;
|
|
4605
|
+
if (!!isSuccess) return [3, 7];
|
|
4374
4606
|
return [4, res.text()];
|
|
4375
|
-
case
|
|
4376
|
-
body =
|
|
4607
|
+
case 6:
|
|
4608
|
+
body = _c.sent();
|
|
4377
4609
|
this_1.logger.debug("Remote config client fetch with retry time ".concat(retries, " failed with ").concat(res.status, ": ").concat(body));
|
|
4378
4610
|
if (res.status === CODE_STATUS.INVALID_API_KEY || res.status === CODE_STATUS.FORBIDDEN) {
|
|
4379
4611
|
this_1.logger.error("Remote config client fetch failed with ".concat(res.status, ". Invalid API key; future fetches will be skipped."));
|
|
4380
4612
|
this_1.isLastFetchInvalidApiKey = true;
|
|
4381
4613
|
shouldRetry = false;
|
|
4382
4614
|
} else if (res.status >= 400 && res.status < 500 && res.status !== CODE_STATUS.RATE_LIMIT) shouldRetry = false;
|
|
4383
|
-
return [3,
|
|
4384
|
-
case
|
|
4385
|
-
case
|
|
4386
|
-
remoteConfig =
|
|
4615
|
+
return [3, 9];
|
|
4616
|
+
case 7: return [4, res.json()];
|
|
4617
|
+
case 8:
|
|
4618
|
+
remoteConfig = _c.sent();
|
|
4387
4619
|
return [2, { value: {
|
|
4388
4620
|
remoteConfig,
|
|
4389
4621
|
lastFetch: /* @__PURE__ */ new Date()
|
|
4390
4622
|
} }];
|
|
4391
|
-
case
|
|
4392
|
-
case
|
|
4393
|
-
error_2 =
|
|
4623
|
+
case 9: return [3, 12];
|
|
4624
|
+
case 10:
|
|
4625
|
+
error_2 = _c.sent();
|
|
4394
4626
|
if (error_2 instanceof Error && error_2.name === "AbortError") this_1.logger.debug("Remote config client fetch with retry time ".concat(retries, " timed out after ").concat(timeout, "ms"));
|
|
4395
4627
|
else this_1.logger.debug("Remote config client fetch with retry time ".concat(retries, " is rejected because: "), error_2);
|
|
4396
|
-
return [3,
|
|
4397
|
-
case
|
|
4628
|
+
return [3, 12];
|
|
4629
|
+
case 11:
|
|
4398
4630
|
clearTimeout(timeoutId);
|
|
4399
4631
|
return [7];
|
|
4400
|
-
case
|
|
4632
|
+
case 12:
|
|
4401
4633
|
if (!shouldRetry) return [2, "break"];
|
|
4402
|
-
if (!(attempt < retries - 1)) return [3,
|
|
4634
|
+
if (!(attempt < retries - 1)) return [3, 14];
|
|
4403
4635
|
return [4, new Promise(function(resolve) {
|
|
4404
4636
|
return setTimeout(resolve, _this.getJitterDelay(interval));
|
|
4405
4637
|
})];
|
|
4406
|
-
case
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
case
|
|
4638
|
+
case 13:
|
|
4639
|
+
_c.sent();
|
|
4640
|
+
_c.label = 14;
|
|
4641
|
+
case 14: return [2];
|
|
4410
4642
|
}
|
|
4411
4643
|
});
|
|
4412
4644
|
};
|
|
@@ -4448,11 +4680,11 @@ var require_remote_config = /* @__PURE__ */ require_chunk$1.__commonJSMin(((expo
|
|
|
4448
4680
|
}));
|
|
4449
4681
|
|
|
4450
4682
|
//#endregion
|
|
4451
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4452
|
-
var require_console = /* @__PURE__ */
|
|
4683
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/observers/console.js
|
|
4684
|
+
var require_console = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4453
4685
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4454
4686
|
exports.consoleObserver = void 0;
|
|
4455
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
4687
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
4456
4688
|
var globalScope = (0, require_global_scope().getGlobalScope)();
|
|
4457
4689
|
/* istanbul ignore next */
|
|
4458
4690
|
var originalConsole = globalScope === null || globalScope === void 0 ? void 0 : globalScope.console;
|
|
@@ -4548,8 +4780,8 @@ var require_console = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =
|
|
|
4548
4780
|
}));
|
|
4549
4781
|
|
|
4550
4782
|
//#endregion
|
|
4551
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4552
|
-
var require_server_zone = /* @__PURE__ */
|
|
4783
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/server-zone.js
|
|
4784
|
+
var require_server_zone = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4553
4785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4554
4786
|
exports.ServerZone = void 0;
|
|
4555
4787
|
(function(ServerZone) {
|
|
@@ -4563,16 +4795,16 @@ var require_server_zone = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
4563
4795
|
}));
|
|
4564
4796
|
|
|
4565
4797
|
//#endregion
|
|
4566
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4567
|
-
var require_offline = /* @__PURE__ */
|
|
4798
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/offline.js
|
|
4799
|
+
var require_offline = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4568
4800
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4569
4801
|
exports.OfflineDisabled = void 0;
|
|
4570
4802
|
exports.OfflineDisabled = null;
|
|
4571
4803
|
}));
|
|
4572
4804
|
|
|
4573
4805
|
//#endregion
|
|
4574
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4575
|
-
var require_element_interactions = /* @__PURE__ */
|
|
4806
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/element-interactions.js
|
|
4807
|
+
var require_element_interactions = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4576
4808
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4577
4809
|
exports.DEFAULT_EXPOSURE_DURATION = exports.DEFAULT_ACTION_CLICK_ALLOWLIST = exports.DEFAULT_DATA_ATTRIBUTE_PREFIX = exports.DEFAULT_CSS_SELECTOR_ALLOWLIST = void 0;
|
|
4578
4810
|
/**
|
|
@@ -4618,11 +4850,11 @@ var require_element_interactions = /* @__PURE__ */ require_chunk$1.__commonJSMin
|
|
|
4618
4850
|
}));
|
|
4619
4851
|
|
|
4620
4852
|
//#endregion
|
|
4621
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4622
|
-
var require_frustration_interactions = /* @__PURE__ */
|
|
4853
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/frustration-interactions.js
|
|
4854
|
+
var require_frustration_interactions = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4623
4855
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4624
4856
|
exports.DEFAULT_RAGE_CLICK_OUT_OF_BOUNDS_THRESHOLD = exports.DEFAULT_RAGE_CLICK_THRESHOLD = exports.DEFAULT_RAGE_CLICK_WINDOW_MS = exports.DEFAULT_DEAD_CLICK_WINDOW_MS = exports.DEFAULT_RAGE_CLICK_ALLOWLIST = exports.DEFAULT_ERROR_CLICK_ALLOWLIST = exports.DEFAULT_DEAD_CLICK_ALLOWLIST = void 0;
|
|
4625
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
4857
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
4626
4858
|
var DEFAULT_ERROR_AND_DEAD_CLICK_ALLOWLIST = tslib_1.__spreadArray([
|
|
4627
4859
|
"input[type=\"button\"]",
|
|
4628
4860
|
"input[type=\"submit\"]",
|
|
@@ -4673,11 +4905,11 @@ var require_frustration_interactions = /* @__PURE__ */ require_chunk$1.__commonJ
|
|
|
4673
4905
|
}));
|
|
4674
4906
|
|
|
4675
4907
|
//#endregion
|
|
4676
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4677
|
-
var require_json_query = /* @__PURE__ */
|
|
4908
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/json-query.js
|
|
4909
|
+
var require_json_query = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4678
4910
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4679
4911
|
exports.isPathMatch = exports.tokenizeJsonPath = exports._pruneJson = exports.pruneJson = void 0;
|
|
4680
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
4912
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
4681
4913
|
function isJsonPrimitive(json) {
|
|
4682
4914
|
return typeof json === "string" || typeof json === "number" || typeof json === "boolean" || json === null || json === void 0;
|
|
4683
4915
|
}
|
|
@@ -4797,11 +5029,11 @@ var require_json_query = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports
|
|
|
4797
5029
|
}));
|
|
4798
5030
|
|
|
4799
5031
|
//#endregion
|
|
4800
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
4801
|
-
var require_network_request_event = /* @__PURE__ */
|
|
5032
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/network-request-event.js
|
|
5033
|
+
var require_network_request_event = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
4802
5034
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4803
5035
|
exports.NetworkRequestEvent = exports.pruneHeaders = exports.PRUNE_STRATEGY = exports.ResponseWrapperXhr = exports.ResponseWrapperFetch = exports.RequestWrapperXhr = exports.RequestWrapperFetch = exports.MAXIMUM_ENTRIES = void 0;
|
|
4804
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
5036
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
4805
5037
|
var global_scope_1 = require_global_scope();
|
|
4806
5038
|
var json_query_1 = require_json_query();
|
|
4807
5039
|
var constants_1 = require_constants$1();
|
|
@@ -5270,11 +5502,11 @@ var require_network_request_event = /* @__PURE__ */ require_chunk$1.__commonJSMi
|
|
|
5270
5502
|
}));
|
|
5271
5503
|
|
|
5272
5504
|
//#endregion
|
|
5273
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
5274
|
-
var require_network = /* @__PURE__ */
|
|
5505
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/observers/network.js
|
|
5506
|
+
var require_network = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
5275
5507
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5276
5508
|
exports.networkObserver = exports.NetworkObserver = exports.NetworkEventCallback = void 0;
|
|
5277
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
5509
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
5278
5510
|
var global_scope_1 = require_global_scope();
|
|
5279
5511
|
var uuid_1 = require_uuid();
|
|
5280
5512
|
var network_request_event_1 = require_network_request_event();
|
|
@@ -5588,11 +5820,11 @@ var require_network = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =
|
|
|
5588
5820
|
}));
|
|
5589
5821
|
|
|
5590
5822
|
//#endregion
|
|
5591
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
5592
|
-
var require_campaign_parser = /* @__PURE__ */
|
|
5823
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/campaign/campaign-parser.js
|
|
5824
|
+
var require_campaign_parser = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
5593
5825
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5594
5826
|
exports.CampaignParser = void 0;
|
|
5595
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
5827
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
5596
5828
|
var query_params_1 = require_query_params();
|
|
5597
5829
|
var constants_1 = require_constants$1();
|
|
5598
5830
|
var CampaignParser = function() {
|
|
@@ -5638,11 +5870,11 @@ var require_campaign_parser = /* @__PURE__ */ require_chunk$1.__commonJSMin(((ex
|
|
|
5638
5870
|
}));
|
|
5639
5871
|
|
|
5640
5872
|
//#endregion
|
|
5641
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
5642
|
-
var require_helpers = /* @__PURE__ */
|
|
5873
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/plugins/helpers.js
|
|
5874
|
+
var require_helpers = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
5643
5875
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5644
5876
|
exports.getPageTitle = exports.replaceSensitiveString = exports.EMAIL_REGEX = exports.SSN_REGEX = exports.CC_REGEX = exports.MASKED_TEXT_VALUE = exports.TEXT_MASK_ATTRIBUTE = void 0;
|
|
5645
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
5877
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
5646
5878
|
exports.TEXT_MASK_ATTRIBUTE = "data-amp-mask";
|
|
5647
5879
|
exports.MASKED_TEXT_VALUE = "*****";
|
|
5648
5880
|
exports.CC_REGEX = /\b(?:\d[ -]*?){13,16}\b/;
|
|
@@ -5696,7 +5928,7 @@ var require_helpers = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =
|
|
|
5696
5928
|
|
|
5697
5929
|
//#endregion
|
|
5698
5930
|
//#region ../../node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/lib/Observable.js
|
|
5699
|
-
var require_Observable = /* @__PURE__ */
|
|
5931
|
+
var require_Observable = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
5700
5932
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5701
5933
|
exports.Observable = void 0;
|
|
5702
5934
|
const hasSymbol = (name) => Boolean(Symbol[name]);
|
|
@@ -6096,16 +6328,16 @@ var require_Observable = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports
|
|
|
6096
6328
|
|
|
6097
6329
|
//#endregion
|
|
6098
6330
|
//#region ../../node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/index.js
|
|
6099
|
-
var require_zen_observable = /* @__PURE__ */
|
|
6331
|
+
var require_zen_observable = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
6100
6332
|
module.exports = require_Observable().Observable;
|
|
6101
6333
|
}));
|
|
6102
6334
|
|
|
6103
6335
|
//#endregion
|
|
6104
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6105
|
-
var require_observable = /* @__PURE__ */
|
|
6336
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/observable.js
|
|
6337
|
+
var require_observable = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6106
6338
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6107
6339
|
exports.merge = exports.multicast = exports.asyncMap = exports.Observable = void 0;
|
|
6108
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
6340
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
6109
6341
|
var zen_observable_1 = tslib_1.__importDefault(require_zen_observable());
|
|
6110
6342
|
exports.Observable = zen_observable_1.default;
|
|
6111
6343
|
/**
|
|
@@ -6282,7 +6514,7 @@ var require_observable = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports
|
|
|
6282
6514
|
|
|
6283
6515
|
//#endregion
|
|
6284
6516
|
//#region ../../node_modules/.pnpm/safe-json-stringify@1.2.0/node_modules/safe-json-stringify/index.js
|
|
6285
|
-
var require_safe_json_stringify = /* @__PURE__ */
|
|
6517
|
+
var require_safe_json_stringify = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports, module) => {
|
|
6286
6518
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
6287
6519
|
function throwsMessage(err) {
|
|
6288
6520
|
return "[Throws: " + (err ? err.message : "?") + "]";
|
|
@@ -6329,19 +6561,19 @@ var require_safe_json_stringify = /* @__PURE__ */ require_chunk$1.__commonJSMin(
|
|
|
6329
6561
|
}));
|
|
6330
6562
|
|
|
6331
6563
|
//#endregion
|
|
6332
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6333
|
-
var require_safe_stringify = /* @__PURE__ */
|
|
6564
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/safe-stringify.js
|
|
6565
|
+
var require_safe_stringify = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6334
6566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6335
6567
|
exports.safeJsonStringify = void 0;
|
|
6336
|
-
var safeJsonStringifyModule = (require_tslib_es6.init_tslib_es6(),
|
|
6568
|
+
var safeJsonStringifyModule = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports)).__importStar(require_safe_json_stringify());
|
|
6337
6569
|
/* istanbul ignore next */
|
|
6338
6570
|
var safeJsonStringify = safeJsonStringifyModule.default || safeJsonStringifyModule;
|
|
6339
6571
|
exports.safeJsonStringify = safeJsonStringify;
|
|
6340
6572
|
}));
|
|
6341
6573
|
|
|
6342
6574
|
//#endregion
|
|
6343
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6344
|
-
var require_constants = /* @__PURE__ */
|
|
6575
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/messenger/constants.js
|
|
6576
|
+
var require_constants = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6345
6577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6346
6578
|
exports.AMPLITUDE_BACKGROUND_CAPTURE_SCRIPT_URL = exports.AMPLITUDE_ORIGINS_MAP = exports.AMPLITUDE_ORIGIN_STAGING = exports.AMPLITUDE_ORIGIN_EU = exports.AMPLITUDE_ORIGIN = void 0;
|
|
6347
6579
|
exports.AMPLITUDE_ORIGIN = "https://app.amplitude.com";
|
|
@@ -6356,8 +6588,8 @@ var require_constants = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports)
|
|
|
6356
6588
|
}));
|
|
6357
6589
|
|
|
6358
6590
|
//#endregion
|
|
6359
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6360
|
-
var require_utils = /* @__PURE__ */
|
|
6591
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/messenger/utils.js
|
|
6592
|
+
var require_utils = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6361
6593
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6362
6594
|
exports.generateUniqueId = exports.asyncLoadScript = void 0;
|
|
6363
6595
|
/**
|
|
@@ -6401,12 +6633,12 @@ var require_utils = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
6401
6633
|
}));
|
|
6402
6634
|
|
|
6403
6635
|
//#endregion
|
|
6404
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6405
|
-
var require_base_window_messenger = /* @__PURE__ */
|
|
6636
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/messenger/base-window-messenger.js
|
|
6637
|
+
var require_base_window_messenger = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6406
6638
|
var _a;
|
|
6407
6639
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6408
6640
|
exports.getOrCreateWindowMessenger = void 0;
|
|
6409
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
6641
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
6410
6642
|
var global_scope_1 = require_global_scope();
|
|
6411
6643
|
var constants_1 = require_constants();
|
|
6412
6644
|
var utils_1 = require_utils();
|
|
@@ -6637,8 +6869,8 @@ var require_base_window_messenger = /* @__PURE__ */ require_chunk$1.__commonJSMi
|
|
|
6637
6869
|
}));
|
|
6638
6870
|
|
|
6639
6871
|
//#endregion
|
|
6640
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6641
|
-
var require_background_capture = /* @__PURE__ */
|
|
6872
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/messenger/background-capture.js
|
|
6873
|
+
var require_background_capture = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6642
6874
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6643
6875
|
exports.enableBackgroundCapture = void 0;
|
|
6644
6876
|
var constants_1 = require_constants();
|
|
@@ -6699,8 +6931,8 @@ var require_background_capture = /* @__PURE__ */ require_chunk$1.__commonJSMin((
|
|
|
6699
6931
|
}));
|
|
6700
6932
|
|
|
6701
6933
|
//#endregion
|
|
6702
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6703
|
-
var require_browser_config = /* @__PURE__ */
|
|
6934
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/types/config/browser-config.js
|
|
6935
|
+
var require_browser_config = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6704
6936
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6705
6937
|
exports.EXCLUDE_INTERNAL_REFERRERS_CONDITIONS = void 0;
|
|
6706
6938
|
exports.EXCLUDE_INTERNAL_REFERRERS_CONDITIONS = {
|
|
@@ -6710,11 +6942,11 @@ var require_browser_config = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exp
|
|
|
6710
6942
|
}));
|
|
6711
6943
|
|
|
6712
6944
|
//#endregion
|
|
6713
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6714
|
-
var require_track_video = /* @__PURE__ */
|
|
6945
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/video-analytics/track-video.js
|
|
6946
|
+
var require_track_video = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6715
6947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6716
6948
|
exports.trackEmbeddedVideo = exports.trackHtmlVideo = void 0;
|
|
6717
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
6949
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
6718
6950
|
function calculatePercentCompleted(currentTime, duration) {
|
|
6719
6951
|
var percentCompleted = 0;
|
|
6720
6952
|
if (Number.isFinite(currentTime) && Number.isFinite(duration) && duration > 0) {
|
|
@@ -6930,11 +7162,11 @@ var require_track_video = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
6930
7162
|
}));
|
|
6931
7163
|
|
|
6932
7164
|
//#endregion
|
|
6933
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
6934
|
-
var require_video = /* @__PURE__ */
|
|
7165
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/observers/video.js
|
|
7166
|
+
var require_video = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
6935
7167
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6936
7168
|
exports.VideoObserver = void 0;
|
|
6937
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
7169
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
6938
7170
|
var track_video_1 = require_track_video();
|
|
6939
7171
|
var VideoObserver = function() {
|
|
6940
7172
|
function VideoObserver(_a) {
|
|
@@ -7025,8 +7257,8 @@ var require_video = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
7025
7257
|
}));
|
|
7026
7258
|
|
|
7027
7259
|
//#endregion
|
|
7028
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
7029
|
-
var require_environment = /* @__PURE__ */
|
|
7260
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/utils/environment.js
|
|
7261
|
+
var require_environment = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7030
7262
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7031
7263
|
exports.isChromeExtension = void 0;
|
|
7032
7264
|
var global_scope_1 = require_global_scope();
|
|
@@ -7039,11 +7271,11 @@ var require_environment = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
7039
7271
|
}));
|
|
7040
7272
|
|
|
7041
7273
|
//#endregion
|
|
7042
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.
|
|
7043
|
-
var require_cjs$1 = /* @__PURE__ */
|
|
7274
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-core@2.52.0/node_modules/@amplitude/analytics-core/lib/cjs/index.js
|
|
7275
|
+
var require_cjs$1 = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7044
7276
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7045
|
-
exports.
|
|
7046
|
-
exports.isChromeExtension = exports.VideoObserver = exports.EXCLUDE_INTERNAL_REFERRERS_CONDITIONS = exports.AMPLITUDE_BACKGROUND_CAPTURE_SCRIPT_URL = exports.AMPLITUDE_ORIGINS_MAP = exports.AMPLITUDE_ORIGIN_STAGING = exports.AMPLITUDE_ORIGIN_EU = exports.AMPLITUDE_ORIGIN = exports.enableBackgroundCapture = exports.getOrCreateWindowMessenger = exports.safeJsonStringify = exports.multicast = exports.merge = exports.asyncMap = exports.Observable = exports.EMAIL_REGEX = exports.SSN_REGEX = exports.CC_REGEX = exports.replaceSensitiveString = exports.MASKED_TEXT_VALUE = exports.TEXT_MASK_ATTRIBUTE = exports.getPageTitle = exports.CampaignParser = exports.MKTG = exports.BASE_CAMPAIGN = exports.EMPTY_VALUE = exports.FORBIDDEN_HEADERS = exports.SAFE_HEADERS = exports.NetworkRequestEvent = exports.networkObserver = exports.NetworkEventCallback = exports.Status = exports.DEFAULT_DEAD_CLICK_WINDOW_MS = exports.DEFAULT_RAGE_CLICK_OUT_OF_BOUNDS_THRESHOLD = exports.DEFAULT_RAGE_CLICK_WINDOW_MS = exports.DEFAULT_RAGE_CLICK_THRESHOLD = exports.DEFAULT_ERROR_CLICK_ALLOWLIST = exports.DEFAULT_RAGE_CLICK_ALLOWLIST = exports.DEFAULT_DEAD_CLICK_ALLOWLIST = exports.DEFAULT_EXPOSURE_DURATION = exports.DEFAULT_ACTION_CLICK_ALLOWLIST = exports.DEFAULT_DATA_ATTRIBUTE_PREFIX = exports.DEFAULT_CSS_SELECTOR_ALLOWLIST = exports.OfflineDisabled = void 0;
|
|
7277
|
+
exports.SpecialEventType = exports.IdentifyOperation = exports.consoleObserver = exports.STORAGE_PREFIX = exports.AMPLITUDE_PREFIX = exports.LogLevel = exports.RemoteConfigClient = exports.MIN_GZIP_UPLOAD_BODY_SIZE_BYTES = exports.isCompressionStreamAvailable = exports.compressToGzipArrayBuffer = exports.FetchTransport = exports.BaseTransport = exports.registerSdkLoaderMetadata = exports.DiagnosticsClient = exports.BrowserStorage = exports.getStorageKey = exports.decodeCookieValue = exports.isDomainEqual = exports.CookieStorage = exports.MemoryStorage = exports.omitUndefined = exports.isTimestampInSample = exports.generateHashCode = exports.getDecodeURI = exports.isUrlMatchAllowlist = exports.createIdentifyEvent = exports.UUID = exports.getClientStates = exports.getClientLogConfig = exports.debugWrapper = exports.returnWrapper = exports.getQueryParams = exports.getLanguage = exports.getOldCookieName = exports.getCookieName = exports.isNewSession = exports.setConnectorUserId = exports.setConnectorDeviceId = exports.getAnalyticsConnector = exports.getGlobalScope = exports.Logger = exports.RequestMetadata = exports.Config = exports.IdentityEventSender = exports.getHeartbeatInstance = exports.Destination = exports.RevenueProperty = exports.Revenue = exports.Identify = exports.AmplitudeCore = void 0;
|
|
7278
|
+
exports.isChromeExtension = exports.VideoObserver = exports.EXCLUDE_INTERNAL_REFERRERS_CONDITIONS = exports.AMPLITUDE_BACKGROUND_CAPTURE_SCRIPT_URL = exports.AMPLITUDE_ORIGINS_MAP = exports.AMPLITUDE_ORIGIN_STAGING = exports.AMPLITUDE_ORIGIN_EU = exports.AMPLITUDE_ORIGIN = exports.enableBackgroundCapture = exports.getOrCreateWindowMessenger = exports.safeJsonStringify = exports.multicast = exports.merge = exports.asyncMap = exports.Observable = exports.EMAIL_REGEX = exports.SSN_REGEX = exports.CC_REGEX = exports.replaceSensitiveString = exports.MASKED_TEXT_VALUE = exports.TEXT_MASK_ATTRIBUTE = exports.getPageTitle = exports.CampaignParser = exports.MKTG = exports.BASE_CAMPAIGN = exports.EMPTY_VALUE = exports.FORBIDDEN_HEADERS = exports.SAFE_HEADERS = exports.NetworkRequestEvent = exports.networkObserver = exports.NetworkEventCallback = exports.Status = exports.DEFAULT_DEAD_CLICK_WINDOW_MS = exports.DEFAULT_RAGE_CLICK_OUT_OF_BOUNDS_THRESHOLD = exports.DEFAULT_RAGE_CLICK_WINDOW_MS = exports.DEFAULT_RAGE_CLICK_THRESHOLD = exports.DEFAULT_ERROR_CLICK_ALLOWLIST = exports.DEFAULT_RAGE_CLICK_ALLOWLIST = exports.DEFAULT_DEAD_CLICK_ALLOWLIST = exports.DEFAULT_EXPOSURE_DURATION = exports.DEFAULT_ACTION_CLICK_ALLOWLIST = exports.DEFAULT_DATA_ATTRIBUTE_PREFIX = exports.DEFAULT_CSS_SELECTOR_ALLOWLIST = exports.OfflineDisabled = exports.ServerZone = void 0;
|
|
7047
7279
|
var core_client_1 = require_core_client();
|
|
7048
7280
|
Object.defineProperty(exports, "AmplitudeCore", {
|
|
7049
7281
|
enumerable: true,
|
|
@@ -7078,6 +7310,13 @@ var require_cjs$1 = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
7078
7310
|
return destination_1.Destination;
|
|
7079
7311
|
}
|
|
7080
7312
|
});
|
|
7313
|
+
var heartbeat_1 = require_heartbeat();
|
|
7314
|
+
Object.defineProperty(exports, "getHeartbeatInstance", {
|
|
7315
|
+
enumerable: true,
|
|
7316
|
+
get: function() {
|
|
7317
|
+
return heartbeat_1.getHeartbeatInstance;
|
|
7318
|
+
}
|
|
7319
|
+
});
|
|
7081
7320
|
var identity_1 = require_identity();
|
|
7082
7321
|
Object.defineProperty(exports, "IdentityEventSender", {
|
|
7083
7322
|
enumerable: true,
|
|
@@ -7664,19 +7903,19 @@ var require_cjs$1 = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
7664
7903
|
}));
|
|
7665
7904
|
|
|
7666
7905
|
//#endregion
|
|
7667
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.
|
|
7668
|
-
var require_version = /* @__PURE__ */
|
|
7906
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.62/node_modules/@amplitude/analytics-node/lib/cjs/version.js
|
|
7907
|
+
var require_version = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7669
7908
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7670
7909
|
exports.VERSION = void 0;
|
|
7671
|
-
exports.VERSION = "1.5.
|
|
7910
|
+
exports.VERSION = "1.5.62";
|
|
7672
7911
|
}));
|
|
7673
7912
|
|
|
7674
7913
|
//#endregion
|
|
7675
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.
|
|
7676
|
-
var require_context = /* @__PURE__ */
|
|
7914
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.62/node_modules/@amplitude/analytics-node/lib/cjs/plugins/context.js
|
|
7915
|
+
var require_context = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7677
7916
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7678
7917
|
exports.Context = void 0;
|
|
7679
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
7918
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
7680
7919
|
var analytics_core_1 = require_cjs$1();
|
|
7681
7920
|
var version_1 = require_version();
|
|
7682
7921
|
var Context = function() {
|
|
@@ -7713,11 +7952,11 @@ var require_context = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =
|
|
|
7713
7952
|
}));
|
|
7714
7953
|
|
|
7715
7954
|
//#endregion
|
|
7716
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.
|
|
7717
|
-
var require_http = /* @__PURE__ */
|
|
7955
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.62/node_modules/@amplitude/analytics-node/lib/cjs/transports/http.js
|
|
7956
|
+
var require_http = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7718
7957
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7719
7958
|
exports.Http = void 0;
|
|
7720
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
7959
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
7721
7960
|
var analytics_core_1 = require_cjs$1();
|
|
7722
7961
|
var http = tslib_1.__importStar(require("http"));
|
|
7723
7962
|
var https = tslib_1.__importStar(require("https"));
|
|
@@ -7773,11 +8012,11 @@ var require_http = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) => {
|
|
|
7773
8012
|
}));
|
|
7774
8013
|
|
|
7775
8014
|
//#endregion
|
|
7776
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.
|
|
7777
|
-
var require_config = /* @__PURE__ */
|
|
8015
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.62/node_modules/@amplitude/analytics-node/lib/cjs/config.js
|
|
8016
|
+
var require_config = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7778
8017
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7779
8018
|
exports.useNodeConfig = exports.NodeConfig = void 0;
|
|
7780
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
8019
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
7781
8020
|
var analytics_core_1 = require_cjs$1();
|
|
7782
8021
|
var http_1 = require_http();
|
|
7783
8022
|
var NodeConfig = function(_super) {
|
|
@@ -7795,11 +8034,11 @@ var require_config = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
7795
8034
|
}));
|
|
7796
8035
|
|
|
7797
8036
|
//#endregion
|
|
7798
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.
|
|
7799
|
-
var require_node_client = /* @__PURE__ */
|
|
8037
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.62/node_modules/@amplitude/analytics-node/lib/cjs/node-client.js
|
|
8038
|
+
var require_node_client = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7800
8039
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7801
8040
|
exports.createInstance = exports.AmplitudeNode = void 0;
|
|
7802
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
8041
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
7803
8042
|
var analytics_core_1 = require_cjs$1();
|
|
7804
8043
|
var context_1 = require_context();
|
|
7805
8044
|
var config_1 = require_config();
|
|
@@ -7863,8 +8102,8 @@ var require_node_client = /* @__PURE__ */ require_chunk$1.__commonJSMin(((export
|
|
|
7863
8102
|
}));
|
|
7864
8103
|
|
|
7865
8104
|
//#endregion
|
|
7866
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.
|
|
7867
|
-
var require_types = /* @__PURE__ */
|
|
8105
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.62/node_modules/@amplitude/analytics-node/lib/cjs/types.js
|
|
8106
|
+
var require_types = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7868
8107
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7869
8108
|
exports.OfflineDisabled = exports.ServerZone = exports.LogLevel = exports.RevenueProperty = exports.SpecialEventType = exports.IdentifyOperation = void 0;
|
|
7870
8109
|
var analytics_core_1 = require_cjs$1();
|
|
@@ -7907,11 +8146,11 @@ var require_types = /* @__PURE__ */ require_chunk$1.__commonJSMin(((exports) =>
|
|
|
7907
8146
|
}));
|
|
7908
8147
|
|
|
7909
8148
|
//#endregion
|
|
7910
|
-
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.
|
|
7911
|
-
var require_cjs = /* @__PURE__ */
|
|
8149
|
+
//#region ../../node_modules/.pnpm/@amplitude+analytics-node@1.5.62/node_modules/@amplitude/analytics-node/lib/cjs/index.js
|
|
8150
|
+
var require_cjs = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7912
8151
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7913
8152
|
exports.Types = exports.Identify = exports.Revenue = exports.flush = exports.track = exports.setOptOut = exports.setGroup = exports.revenue = exports.remove = exports.logEvent = exports.init = exports.identify = exports.groupIdentify = exports.add = exports.createInstance = void 0;
|
|
7914
|
-
var tslib_1 = (require_tslib_es6.init_tslib_es6(),
|
|
8153
|
+
var tslib_1 = (require_tslib_es6.init_tslib_es6(), require_rolldown_runtime.__toCommonJS(require_tslib_es6.tslib_es6_exports));
|
|
7915
8154
|
var node_client_1 = tslib_1.__importDefault(require_node_client());
|
|
7916
8155
|
var node_client_2 = require_node_client();
|
|
7917
8156
|
Object.defineProperty(exports, "createInstance", {
|
|
@@ -7944,4 +8183,4 @@ Object.defineProperty(exports, 'default', {
|
|
|
7944
8183
|
return require_cjs();
|
|
7945
8184
|
}
|
|
7946
8185
|
});
|
|
7947
|
-
//# sourceMappingURL=cjs-
|
|
8186
|
+
//# sourceMappingURL=cjs-C5tev9Yr.cjs.map
|