@rudderstack/analytics-js 3.0.0-beta.15 → 3.0.0-beta.16
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/dist/npm/index.d.ts +2 -1
- package/dist/npm/legacy/cjs/index.js +95 -90
- package/dist/npm/legacy/esm/index.js +95 -90
- package/dist/npm/legacy/umd/index.js +95 -90
- package/dist/npm/modern/bundled/cjs/index.js +15 -10
- package/dist/npm/modern/bundled/esm/index.js +15 -10
- package/dist/npm/modern/bundled/umd/index.js +15 -10
- package/dist/npm/modern/cjs/index.js +14 -9
- package/dist/npm/modern/esm/index.js +14 -9
- package/dist/npm/modern/umd/index.js +14 -9
- package/package.json +1 -1
@@ -962,7 +962,7 @@
|
|
962
962
|
|
963
963
|
var CAPABILITIES_MANAGER='CapabilitiesManager';var CONFIG_MANAGER='ConfigManager';var EVENT_MANAGER='EventManager';var PLUGINS_MANAGER='PluginsManager';var USER_SESSION_MANAGER='UserSessionManager';var ERROR_HANDLER='ErrorHandler';var PLUGIN_ENGINE='PluginEngine';var STORE_MANAGER='StoreManager';var READY_API='readyApi';var EVENT_REPOSITORY='EventRepository';var EXTERNAL_SRC_LOADER='ExternalSrcLoader';var HTTP_CLIENT='HttpClient';var RS_APP='RudderStackApplication';var ANALYTICS_CORE='AnalyticsCore';
|
964
964
|
|
965
|
-
var APP_NAME='RudderLabs JavaScript SDK';var APP_VERSION='3.0.0-beta.
|
965
|
+
var APP_NAME='RudderLabs JavaScript SDK';var APP_VERSION='3.0.0-beta.16';var APP_NAMESPACE='com.rudderlabs.javascript';var MODULE_TYPE='npm';var ADBLOCK_PAGE_CATEGORY='RudderJS-Initiated';var ADBLOCK_PAGE_NAME='ad-block page request';var ADBLOCK_PAGE_PATH='/ad-blocked';var GLOBAL_PRELOAD_BUFFER='preloadedEventsBuffer';var CONSENT_TRACK_EVENT_NAME='Consent Management Interaction';
|
966
966
|
|
967
967
|
var QUERY_PARAM_TRAIT_PREFIX='ajs_trait_';var QUERY_PARAM_PROPERTY_PREFIX='ajs_prop_';var QUERY_PARAM_ANONYMOUS_ID_KEY='ajs_aid';var QUERY_PARAM_USER_ID_KEY='ajs_uid';var QUERY_PARAM_TRACK_EVENT_NAME_KEY='ajs_event';
|
968
968
|
|
@@ -1108,7 +1108,7 @@
|
|
1108
1108
|
// const PLUGINS_BASE_URL = `${SDK_CDN_BASE_URL}/latest/${CDN_ARCH_VERSION_DIR}/${BUILD_TYPE}/${CDN_PLUGINS_DIR}`;
|
1109
1109
|
var DEFAULT_CONFIG_BE_URL='https://api.rudderstack.com';
|
1110
1110
|
|
1111
|
-
var
|
1111
|
+
var DEFAULT_ERROR_REPORTING_PROVIDER='bugsnag';var DEFAULT_STORAGE_ENCRYPTION_VERSION='v3';var ConsentManagersToPluginNameMap={oneTrust:'OneTrustConsentManager',ketch:'KetchConsentManager',custom:'CustomConsentManager'};var ErrorReportingProvidersToPluginNameMap=_defineProperty({},DEFAULT_ERROR_REPORTING_PROVIDER,'Bugsnag');var StorageEncryptionVersionsToPluginNameMap=_defineProperty(_defineProperty({},DEFAULT_STORAGE_ENCRYPTION_VERSION,'StorageEncryption'),"legacy",'StorageEncryptionLegacy');
|
1112
1112
|
|
1113
1113
|
var defaultLoadOptions={logLevel:'ERROR',configUrl:DEFAULT_CONFIG_BE_URL,loadIntegration:true,sessions:{autoTrack:true,timeout:DEFAULT_SESSION_TIMEOUT_MS},sameSiteCookie:'Lax',polyfillIfRequired:true,integrations:{All:true},useBeacon:false,beaconQueueOptions:{},destinationsQueueOptions:{},queueOptions:{},lockIntegrationsVersion:false,uaChTrackLevel:'none',plugins:[],useGlobalIntegrationsConfigInEvents:false,bufferDataPlaneEventsUntilReady:false,dataPlaneEventsBufferTimeout:DEFAULT_DATA_PLANE_EVENTS_BUFFER_TIMEOUT_MS,storage:{encryption:{version:DEFAULT_STORAGE_ENCRYPTION_VERSION},migrate:false},sendAdblockPageOptions:{}};var loadOptionsState=a(clone$1(defaultLoadOptions));
|
1114
1114
|
|
@@ -1128,7 +1128,7 @@
|
|
1128
1128
|
|
1129
1129
|
var metricsState={retries:a(0),dropped:a(0),sent:a(0),queued:a(0),triggered:a(0)};
|
1130
1130
|
|
1131
|
-
var contextState={app:a({name:APP_NAME,namespace:APP_NAMESPACE,version:APP_VERSION}),traits:a(null),library:a({name:APP_NAME,version:APP_VERSION}),userAgent:a(''),device:a(null),network:a(null),os:a({name:'',version:''}),locale:a(null),screen:a({density:0,width:0,height:0,innerWidth:0,innerHeight:0}),'ua-ch':a(undefined),timezone:a(undefined)};
|
1131
|
+
var contextState={app:a({name:APP_NAME,namespace:APP_NAMESPACE,version:APP_VERSION}),traits:a(null),library:a({name:APP_NAME,version:APP_VERSION,snippetVersion:globalThis.RudderSnippetVersion}),userAgent:a(''),device:a(null),network:a(null),os:a({name:'',version:''}),locale:a(null),screen:a({density:0,width:0,height:0,innerWidth:0,innerHeight:0}),'ua-ch':a(undefined),timezone:a(undefined)};
|
1132
1132
|
|
1133
1133
|
var nativeDestinationsState={configuredDestinations:a([]),activeDestinations:a([]),loadOnlyIntegrations:a({}),failedDestinations:a([]),loadIntegration:a(true),initializedDestinations:a([]),clientDestinationsReady:a(false),integrationsConfig:a({})};
|
1134
1134
|
|
@@ -1390,7 +1390,7 @@
|
|
1390
1390
|
var version=globalLibInstance===null||globalLibInstance===void 0||(_globalLibInstance$_c=globalLibInstance._client)===null||_globalLibInstance$_c===void 0||(_globalLibInstance$_c=_globalLibInstance$_c._notifier)===null||_globalLibInstance$_c===void 0?void 0:_globalLibInstance$_c.version;// For versions older than 7
|
1391
1391
|
if(!version){var _tempInstance$notifie;var tempInstance=globalLibInstance({apiKey:API_KEY,releaseStage:'version-test',// eslint-disable-next-line func-names, object-shorthand
|
1392
1392
|
beforeSend:function beforeSend(){return false;}});version=(_tempInstance$notifie=tempInstance.notifier)===null||_tempInstance$notifie===void 0?void 0:_tempInstance$notifie.version;}return version&&version.charAt(0)===BUGSNAG_VALID_MAJOR_VERSION;};var isRudderSDKError=function isRudderSDKError(event){var _event$stacktrace;var errorOrigin=(_event$stacktrace=event.stacktrace)===null||_event$stacktrace===void 0||(_event$stacktrace=_event$stacktrace[0])===null||_event$stacktrace===void 0?void 0:_event$stacktrace.file;if(!errorOrigin||typeof errorOrigin!=='string'){return false;}// Prefix folder for all the destination SDK scripts
|
1393
|
-
var isDestinationIntegrationBundle=errorOrigin.includes(CDN_INT_DIR);var srcFileName=errorOrigin.substring(errorOrigin.lastIndexOf('/')+1);return isDestinationIntegrationBundle||SDK_FILE_NAME_PREFIXES().some(function(prefix){return srcFileName.startsWith(prefix)&&srcFileName.endsWith('.js');});};var enhanceErrorEventMutator=function enhanceErrorEventMutator(event,metadataSource){event.updateMetaData('source',{metadataSource:metadataSource});var errorMessage=event.errorMessage;// eslint-disable-next-line no-param-reassign
|
1393
|
+
var isDestinationIntegrationBundle=errorOrigin.includes(CDN_INT_DIR);var srcFileName=errorOrigin.substring(errorOrigin.lastIndexOf('/')+1);return isDestinationIntegrationBundle||SDK_FILE_NAME_PREFIXES().some(function(prefix){return srcFileName.startsWith(prefix)&&srcFileName.endsWith('.js');});};var enhanceErrorEventMutator=function enhanceErrorEventMutator(event,metadataSource){event.updateMetaData('source',{metadataSource:metadataSource,snippetVersion:globalThis.RudderSnippetVersion});var errorMessage=event.errorMessage;// eslint-disable-next-line no-param-reassign
|
1394
1394
|
event.context=errorMessage;// Hack for easily grouping the script load errors
|
1395
1395
|
// on the dashboard
|
1396
1396
|
if(errorMessage.includes('error in script loading')){// eslint-disable-next-line no-param-reassign
|
@@ -1398,7 +1398,7 @@
|
|
1398
1398
|
event.severity='error';};var onError=function onError(state){var _state$source$value;var metadataSource=(_state$source$value=state.source.value)===null||_state$source$value===void 0?void 0:_state$source$value.id;return function(event){try{// Discard the event if it's not originated at the SDK
|
1399
1399
|
if(!isRudderSDKError(event)){return false;}enhanceErrorEventMutator(event,metadataSource);return true;}catch(_unused){// Drop the error event if it couldn't be filtered as
|
1400
1400
|
// it is most likely a non-SDK error
|
1401
|
-
return false;}};};var getReleaseStage=function getReleaseStage(){var host=globalThis.location.hostname;return host&&DEV_HOSTS.includes(host)?'development':'production';};var getGlobalBugsnagLibInstance=function getGlobalBugsnagLibInstance(){return globalThis[BUGSNAG_LIB_INSTANCE_GLOBAL_KEY_NAME];};var getNewClient=function getNewClient(state,logger){var globalBugsnagLibInstance=getGlobalBugsnagLibInstance();var clientConfig={apiKey:API_KEY,appVersion:'3.0.0-beta.
|
1401
|
+
return false;}};};var getReleaseStage=function getReleaseStage(){var host=globalThis.location.hostname;return host&&DEV_HOSTS.includes(host)?'development':'production';};var getGlobalBugsnagLibInstance=function getGlobalBugsnagLibInstance(){return globalThis[BUGSNAG_LIB_INSTANCE_GLOBAL_KEY_NAME];};var getNewClient=function getNewClient(state,logger){var globalBugsnagLibInstance=getGlobalBugsnagLibInstance();var clientConfig={apiKey:API_KEY,appVersion:'3.0.0-beta.16',// Set SDK version as the app version from build config
|
1402
1402
|
metaData:{SDK:{name:'JS',installType:'npm'}},beforeSend:onError(state),autoCaptureSessions:false,// auto capture sessions is disabled
|
1403
1403
|
collectUserIp:false,// collecting user's IP is disabled
|
1404
1404
|
// enabledBreadcrumbTypes: ['error', 'log', 'user'], // for v7 and above
|
@@ -1421,158 +1421,158 @@
|
|
1421
1421
|
// the configured resolution strategy
|
1422
1422
|
var matchPredicate=function matchPredicate(consent){return allowedConsentIds.includes(consent);};switch(resolutionStrategy){case'or':return configuredConsents.some(matchPredicate)||configuredConsents.length===0;case'and':default:return configuredConsents.every(matchPredicate);}}catch(err){errorHandler===null||errorHandler===void 0||errorHandler.onError(err,CUSTOM_CONSENT_MANAGER_PLUGIN,DESTINATION_CONSENT_STATUS_ERROR$2);return true;}}}};};
|
1423
1423
|
|
1424
|
-
var
|
1424
|
+
var DIR_NAME$1a='AdobeAnalytics';var NAME$1a='ADOBE_ANALYTICS';var DISPLAY_NAME$1a='Adobe Analytics';_defineProperty({},DISPLAY_NAME$1a,DIR_NAME$1a);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({'Adobe Analytics':NAME$1a,ADOBEANALYTICS:NAME$1a,'ADOBE ANALYTICS':NAME$1a},NAME$1a,NAME$1a),"AdobeAnalytics",NAME$1a),"adobeanalytics",NAME$1a),'adobe analytics',NAME$1a),'Adobe analytics',NAME$1a),'adobe Analytics',NAME$1a);
|
1425
1425
|
|
1426
|
-
var
|
1426
|
+
var DIR_NAME$19='Amplitude';var NAME$19='AM';var DISPLAY_NAME$19='Amplitude';_defineProperty({},DISPLAY_NAME$19,DIR_NAME$19);_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$19,NAME$19),"AMPLITUDE",NAME$19),"Amplitude",NAME$19),"am",NAME$19);
|
1427
1427
|
|
1428
|
-
var
|
1428
|
+
var DIR_NAME$18='Appcues';var NAME$18='APPCUES';var DISPLAY_NAME$18='Appcues';_defineProperty({},DISPLAY_NAME$18,DIR_NAME$18);_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$18,NAME$18),"Appcues",NAME$18),'App Cues',NAME$18),"appcues",NAME$18);
|
1429
1429
|
|
1430
|
-
var
|
1430
|
+
var DIR_NAME$17='BingAds';var NAME$17='BINGADS';var DISPLAY_NAME$17='Bing Ads';_defineProperty({},DISPLAY_NAME$17,DIR_NAME$17);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$17,NAME$17),"BingAds",NAME$17),"bingads",NAME$17),'Bing Ads',NAME$17),'Bing ads',NAME$17),'bing Ads',NAME$17),'bing ads',NAME$17);
|
1431
1431
|
|
1432
|
-
var
|
1432
|
+
var DIR_NAME$16='Braze';var NAME$16='BRAZE';var DISPLAY_NAME$16='Braze';_defineProperty({},DISPLAY_NAME$16,DIR_NAME$16);_defineProperty(_defineProperty(_defineProperty({},NAME$16,NAME$16),"Braze",NAME$16),"braze",NAME$16);
|
1433
1433
|
|
1434
|
-
var
|
1434
|
+
var DIR_NAME$15='Bugsnag';var NAME$15='BUGSNAG';var DISPLAY_NAME$15='Bugsnag';_defineProperty({},DISPLAY_NAME$15,DIR_NAME$15);_defineProperty(_defineProperty(_defineProperty({},NAME$15,NAME$15),"bugsnag",NAME$15),"Bugsnag",NAME$15);
|
1435
1435
|
|
1436
|
-
var
|
1436
|
+
var DIR_NAME$14='Chartbeat';var NAME$14='CHARTBEAT';var DISPLAY_NAME$14='Chartbeat';_defineProperty({},DISPLAY_NAME$14,DIR_NAME$14);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$14,NAME$14),"Chartbeat",NAME$14),"chartbeat",NAME$14),'Chart Beat',NAME$14),'chart beat',NAME$14);
|
1437
1437
|
|
1438
|
-
var
|
1438
|
+
var DIR_NAME$13='Clevertap';var NAME$13='CLEVERTAP';var DISPLAY_NAME$13='CleverTap';_defineProperty({},DISPLAY_NAME$13,DIR_NAME$13);_defineProperty(_defineProperty(_defineProperty({},NAME$13,NAME$13),"Clevertap",NAME$13),"clevertap",NAME$13);
|
1439
1439
|
|
1440
|
-
var
|
1440
|
+
var DIR_NAME$12='Comscore';var NAME$12='COMSCORE';var DISPLAY_NAME$12='Comscore';_defineProperty({},DISPLAY_NAME$12,DIR_NAME$12);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$12,NAME$12),"Comscore",NAME$12),'Com Score',NAME$12),'com Score',NAME$12),'com score',NAME$12),'Com score',NAME$12);
|
1441
1441
|
|
1442
|
-
var
|
1442
|
+
var DIR_NAME$11='Criteo';var NAME$11='CRITEO';var DISPLAY_NAME$11='Criteo';_defineProperty({},DISPLAY_NAME$11,DIR_NAME$11);_defineProperty(_defineProperty(_defineProperty({},NAME$11,NAME$11),"Criteo",NAME$11),"criteo",NAME$11);
|
1443
1443
|
|
1444
|
-
var
|
1444
|
+
var DIR_NAME$10='CustomerIO';var NAME$10='CUSTOMERIO';var DISPLAY_NAME$10='Customer IO';_defineProperty({},DISPLAY_NAME$10,DIR_NAME$10);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$10,NAME$10),"Customerio",NAME$10),'Customer.io',NAME$10),'CUSTOMER.IO',NAME$10),'customer.io',NAME$10);
|
1445
1445
|
|
1446
|
-
var
|
1446
|
+
var DIR_NAME$$='Drip';var NAME$$='DRIP';var DISPLAY_NAME$$='Drip';_defineProperty({},DISPLAY_NAME$$,DIR_NAME$$);_defineProperty(_defineProperty(_defineProperty({},NAME$$,NAME$$),"Drip",NAME$$),"drip",NAME$$);
|
1447
1447
|
|
1448
|
-
var
|
1448
|
+
var DIR_NAME$_='FacebookPixel';var NAME$_='FACEBOOK_PIXEL';var DISPLAY_NAME$_='Facebook Pixel';_defineProperty({},DISPLAY_NAME$_,DIR_NAME$_);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$_,NAME$_),'FB Pixel',NAME$_),'Facebook Pixel',NAME$_),'facebook pixel',NAME$_),"fbpixel",NAME$_),"FBPIXEL",NAME$_),"FB_PIXEL",NAME$_);
|
1449
1449
|
|
1450
|
-
var
|
1450
|
+
var DIR_NAME$Z='Fullstory';var NAME$Z='FULLSTORY';var DISPLAY_NAME$Z='Fullstory';_defineProperty({},DISPLAY_NAME$Z,DIR_NAME$Z);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$Z,NAME$Z),"Fullstory",NAME$Z),"FullStory",NAME$Z),'full Story',NAME$Z),'Full Story',NAME$Z),'Full story',NAME$Z),'full story',NAME$Z),"fullstory",NAME$Z);
|
1451
1451
|
|
1452
|
-
var
|
1452
|
+
var DIR_NAME$Y='GA';var NAME$Y='GA';var DISPLAY_NAME$Y='Google Analytics';_defineProperty({},DISPLAY_NAME$Y,DIR_NAME$Y);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$Y,NAME$Y),'Google Analytics',NAME$Y),"GoogleAnalytics",NAME$Y),'GOOGLE ANALYTICS',NAME$Y),'google analytics',NAME$Y);
|
1453
1453
|
|
1454
|
-
var
|
1454
|
+
var DIR_NAME$X='GA4';var NAME$X='GA4';var DISPLAY_NAME$X='Google Analytics 4 (GA4)';_defineProperty({},DISPLAY_NAME$X,DIR_NAME$X);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$X,NAME$X),'Google Analytics 4',NAME$X),'Google analytics 4',NAME$X),'google analytics 4',NAME$X),'Google Analytics4',NAME$X),'Google analytics4',NAME$X),'google analytics4',NAME$X),'Google Analytics 4 (GA4)',NAME$X),'google analytics 4 (ga4)',NAME$X),"GoogleAnalytics4",NAME$X);
|
1455
1455
|
|
1456
|
-
var
|
1456
|
+
var DIR_NAME$W='GoogleAds';var NAME$W='GOOGLEADS';var DISPLAY_NAME$W='Google Ads';_defineProperty({},DISPLAY_NAME$W,DIR_NAME$W);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$W,NAME$W),'Google Ads',NAME$W),"GoogleAds",NAME$W),'GOOGLE ADS',NAME$W),'google ads',NAME$W),"googleads",NAME$W);
|
1457
1457
|
|
1458
|
-
var
|
1458
|
+
var DIR_NAME$V='GoogleOptimize';var NAME$V='GOOGLE_OPTIMIZE';var DISPLAY_NAME$V='Google Optimize';_defineProperty({},DISPLAY_NAME$V,DIR_NAME$V);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$V,NAME$V),'Google Optimize',NAME$V),"GoogleOptimize",NAME$V),"Googleoptimize",NAME$V),"GOOGLEOPTIMIZE",NAME$V),'google optimize',NAME$V),'Google optimize',NAME$V),'GOOGLE OPTIMIZE',NAME$V);
|
1459
1459
|
|
1460
|
-
var
|
1460
|
+
var DIR_NAME$U='GoogleTagManager';var NAME$U='GTM';var DISPLAY_NAME$U='Google Tag Manager';_defineProperty({},DISPLAY_NAME$U,DIR_NAME$U);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$U,NAME$U),'Google Tag Manager',NAME$U),'google tag manager',NAME$U),'googletag manager',NAME$U),"googletagmanager",NAME$U);
|
1461
1461
|
|
1462
|
-
var
|
1462
|
+
var DIR_NAME$T='Heap';var NAME$T='HEAP';var DISPLAY_NAME$T='Heap.io';_defineProperty({},DISPLAY_NAME$T,DIR_NAME$T);_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$T,NAME$T),"Heap",NAME$T),"heap",NAME$T),'Heap.io',NAME$T);
|
1463
1463
|
|
1464
|
-
var
|
1464
|
+
var DIR_NAME$S='Hotjar';var NAME$S='HOTJAR';var DISPLAY_NAME$S='Hotjar';_defineProperty({},DISPLAY_NAME$S,DIR_NAME$S);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$S,NAME$S),"Hotjar",NAME$S),"hotjar",NAME$S),'Hot Jar',NAME$S),'hot jar',NAME$S);
|
1465
1465
|
|
1466
|
-
var
|
1466
|
+
var DIR_NAME$R='HubSpot';var NAME$R='HS';var DISPLAY_NAME$R='HubSpot';_defineProperty({},DISPLAY_NAME$R,DIR_NAME$R);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$R,NAME$R),"Hubspot",NAME$R),"HUBSPOT",NAME$R),'hub spot',NAME$R),'Hub Spot',NAME$R),'Hub spot',NAME$R);
|
1467
1467
|
|
1468
|
-
var
|
1468
|
+
var DIR_NAME$Q='INTERCOM';var NAME$Q='INTERCOM';var DISPLAY_NAME$Q='Intercom';_defineProperty({},DISPLAY_NAME$Q,DIR_NAME$Q);_defineProperty(_defineProperty(_defineProperty({},NAME$Q,NAME$Q),"Intercom",NAME$Q),"intercom",NAME$Q);
|
1469
1469
|
|
1470
|
-
var
|
1470
|
+
var DIR_NAME$P='Keen';var NAME$P='KEEN';var DISPLAY_NAME$P='Keen';_defineProperty({},DISPLAY_NAME$P,DIR_NAME$P);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$P,NAME$P),"Keen",NAME$P),'Keen.io',NAME$P),"keen",NAME$P),'keen.io',NAME$P);
|
1471
1471
|
|
1472
|
-
var
|
1472
|
+
var DIR_NAME$O='Kissmetrics';var NAME$O='KISSMETRICS';var DISPLAY_NAME$O='Kiss Metrics';_defineProperty({},DISPLAY_NAME$O,DIR_NAME$O);_defineProperty(_defineProperty(_defineProperty({},NAME$O,NAME$O),"Kissmetrics",NAME$O),"kissmetrics",NAME$O);
|
1473
1473
|
|
1474
|
-
var
|
1474
|
+
var DIR_NAME$N='Klaviyo';var NAME$N='KLAVIYO';var DISPLAY_NAME$N='Klaviyo';_defineProperty({},DISPLAY_NAME$N,DIR_NAME$N);_defineProperty(_defineProperty(_defineProperty({},NAME$N,NAME$N),"Klaviyo",NAME$N),"klaviyo",NAME$N);
|
1475
1475
|
|
1476
|
-
var
|
1476
|
+
var DIR_NAME$M='LaunchDarkly';var NAME$M='LAUNCHDARKLY';var DISPLAY_NAME$M='LaunchDarkly';_defineProperty({},DISPLAY_NAME$M,DIR_NAME$M);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$M,NAME$M),"LaunchDarkly",NAME$M),"Launch_Darkly",NAME$M),'Launch Darkly',NAME$M),"launchDarkly",NAME$M),'launch darkly',NAME$M);
|
1477
1477
|
|
1478
|
-
var _CNameMapping$
|
1478
|
+
var _CNameMapping$1;var DIR_NAME$L='LinkedInInsightTag';var NAME$L='LINKEDIN_INSIGHT_TAG';var DISPLAY_NAME$L='Linkedin Insight Tag';_defineProperty({},DISPLAY_NAME$L,DIR_NAME$L);(_CNameMapping$1={},_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_CNameMapping$1,NAME$L,NAME$L),'LinkedIn Insight Tag',NAME$L),'LinkedIn insight tag',NAME$L),'linkedIn insight tag',NAME$L),"Linkedin_insight_tag",NAME$L),"LinkedinInsighttag",NAME$L),"LinkedinInsightTag",NAME$L),"LinkedInInsightTag",NAME$L),"Linkedininsighttag",NAME$L),"LINKEDININSIGHTTAG",NAME$L),_defineProperty(_CNameMapping$1,"linkedininsighttag",NAME$L));
|
1479
1479
|
|
1480
|
-
var
|
1480
|
+
var DIR_NAME$K='Lotame';var NAME$K='LOTAME';var DISPLAY_NAME$K='Lotame';_defineProperty({},DISPLAY_NAME$K,DIR_NAME$K);_defineProperty(_defineProperty(_defineProperty({},NAME$K,NAME$K),"Lotame",NAME$K),"lotame",NAME$K);
|
1481
1481
|
|
1482
|
-
var
|
1482
|
+
var DIR_NAME$J='Lytics';var NAME$J='LYTICS';var DISPLAY_NAME$J='Lytics';_defineProperty({},DISPLAY_NAME$J,DIR_NAME$J);_defineProperty(_defineProperty(_defineProperty({},NAME$J,NAME$J),"Lytics",NAME$J),"lytics",NAME$J);
|
1483
1483
|
|
1484
|
-
var
|
1484
|
+
var DIR_NAME$I='Mixpanel';var NAME$I='MP';var DISPLAY_NAME$I='Mixpanel';_defineProperty({},DISPLAY_NAME$I,DIR_NAME$I);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$I,NAME$I),"MIXPANEL",NAME$I),"Mixpanel",NAME$I),'MIX PANEL',NAME$I),'Mix panel',NAME$I),'Mix Panel',NAME$I);
|
1485
1485
|
|
1486
|
-
var
|
1486
|
+
var DIR_NAME$H='MoEngage';var NAME$H='MOENGAGE';var DISPLAY_NAME$H='MoEngage';_defineProperty({},DISPLAY_NAME$H,DIR_NAME$H);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$H,NAME$H),"MoEngage",NAME$H),"moengage",NAME$H),"Moengage",NAME$H),'Mo Engage',NAME$H),'mo engage',NAME$H),'Mo engage',NAME$H);
|
1487
1487
|
|
1488
|
-
var
|
1488
|
+
var DIR_NAME$G='Optimizely';var NAME$G='OPTIMIZELY';var DISPLAY_NAME$G='Optimizely Web';_defineProperty({},DISPLAY_NAME$G,DIR_NAME$G);_defineProperty(_defineProperty(_defineProperty({},NAME$G,NAME$G),"Optimizely",NAME$G),"optimizely",NAME$G);
|
1489
1489
|
|
1490
|
-
var
|
1490
|
+
var DIR_NAME$F='Pendo';var NAME$F='PENDO';var DISPLAY_NAME$F='Pendo';_defineProperty({},DISPLAY_NAME$F,DIR_NAME$F);_defineProperty(_defineProperty(_defineProperty({},NAME$F,NAME$F),"Pendo",NAME$F),"pendo",NAME$F);
|
1491
1491
|
|
1492
|
-
var _CNameMapping
|
1492
|
+
var _CNameMapping;var DIR_NAME$E='PinterestTag';var NAME$E='PINTEREST_TAG';var DISPLAY_NAME$E='Pinterest Tag';_defineProperty({},DISPLAY_NAME$E,DIR_NAME$E);(_CNameMapping={},_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_CNameMapping,NAME$E,NAME$E),"PinterestTag",NAME$E),"Pinterest_Tag",NAME$E),"PINTERESTTAG",NAME$E),"pinterest",NAME$E),"PinterestAds",NAME$E),"Pinterest_Ads",NAME$E),"Pinterest",NAME$E),'Pinterest Tag',NAME$E),'Pinterest tag',NAME$E),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_CNameMapping,'PINTEREST TAG',NAME$E),'pinterest tag',NAME$E),'Pinterest Ads',NAME$E),'Pinterest ads',NAME$E));
|
1493
1493
|
|
1494
|
-
var
|
1494
|
+
var DIR_NAME$D='PostAffiliatePro';var NAME$D='POST_AFFILIATE_PRO';var DISPLAY_NAME$D='Post Affiliate Pro';_defineProperty({},DISPLAY_NAME$D,DIR_NAME$D);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$D,NAME$D),"PostAffiliatePro",NAME$D),"Post_affiliate_pro",NAME$D),'Post Affiliate Pro',NAME$D),'Post affiliate pro',NAME$D),'post affiliate pro',NAME$D),"postaffiliatepro",NAME$D),"POSTAFFILIATEPRO",NAME$D);
|
1495
1495
|
|
1496
|
-
var
|
1496
|
+
var DIR_NAME$C='Posthog';var NAME$C='POSTHOG';var DISPLAY_NAME$C='PostHog';_defineProperty({},DISPLAY_NAME$C,DIR_NAME$C);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$C,NAME$C),"PostHog",NAME$C),"Posthog",NAME$C),"posthog",NAME$C),'Post Hog',NAME$C),'Post hog',NAME$C),'post hog',NAME$C);
|
1497
1497
|
|
1498
|
-
var
|
1498
|
+
var DIR_NAME$B='ProfitWell';var NAME$B='PROFITWELL';var DISPLAY_NAME$B='ProfitWell';_defineProperty({},DISPLAY_NAME$B,DIR_NAME$B);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$B,NAME$B),"ProfitWell",NAME$B),"profitwell",NAME$B),"Profitwell",NAME$B),'Profit Well',NAME$B),'profit well',NAME$B),'Profit well',NAME$B);
|
1499
1499
|
|
1500
|
-
var
|
1500
|
+
var DIR_NAME$A='Qualtrics';var NAME$A='QUALTRICS';var DISPLAY_NAME$A='Qualtrics';_defineProperty({},DISPLAY_NAME$A,DIR_NAME$A);_defineProperty(_defineProperty(_defineProperty({},NAME$A,NAME$A),"Qualtrics",NAME$A),"qualtrics",NAME$A);
|
1501
1501
|
|
1502
|
-
var
|
1502
|
+
var DIR_NAME$z='QuantumMetric';var NAME$z='QUANTUMMETRIC';var DISPLAY_NAME$z='Quantum Metric';_defineProperty({},DISPLAY_NAME$z,DIR_NAME$z);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$z,NAME$z),'Quantum Metric',NAME$z),'quantum Metric',NAME$z),'quantum metric',NAME$z),"QuantumMetric",NAME$z),"quantumMetric",NAME$z),"quantummetric",NAME$z),"Quantum_Metric",NAME$z);
|
1503
1503
|
|
1504
|
-
var
|
1504
|
+
var DIR_NAME$y='RedditPixel';var NAME$y='REDDIT_PIXEL';var DISPLAY_NAME$y='Reddit Pixel';_defineProperty({},DISPLAY_NAME$y,DIR_NAME$y);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$y,NAME$y),"Reddit_Pixel",NAME$y),"RedditPixel",NAME$y),"REDDITPIXEL",NAME$y),"redditpixel",NAME$y),'Reddit Pixel',NAME$y),'REDDIT PIXEL',NAME$y),'reddit pixel',NAME$y);
|
1505
1505
|
|
1506
|
-
var
|
1506
|
+
var DIR_NAME$x='Sentry';var NAME$x='SENTRY';var DISPLAY_NAME$x='Sentry';_defineProperty({},DISPLAY_NAME$x,DIR_NAME$x);_defineProperty(_defineProperty(_defineProperty({},NAME$x,NAME$x),"sentry",NAME$x),"Sentry",NAME$x);
|
1507
1507
|
|
1508
|
-
var
|
1508
|
+
var DIR_NAME$w='SnapPixel';var NAME$w='SNAP_PIXEL';var DISPLAY_NAME$w='Snap Pixel';_defineProperty({},DISPLAY_NAME$w,DIR_NAME$w);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$w,NAME$w),"Snap_Pixel",NAME$w),"SnapPixel",NAME$w),"SNAPPIXEL",NAME$w),"snappixel",NAME$w),'Snap Pixel',NAME$w),'SNAP PIXEL',NAME$w),'snap pixel',NAME$w);
|
1509
1509
|
|
1510
|
-
var
|
1510
|
+
var DIR_NAME$v='TVSquared';var NAME$v='TVSQUARED';var DISPLAY_NAME$v='TVSquared';_defineProperty({},DISPLAY_NAME$v,DIR_NAME$v);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$v,NAME$v),"TVSquared",NAME$v),"tvsquared",NAME$v),"tvSquared",NAME$v),"TvSquared",NAME$v),"Tvsquared",NAME$v),'TV Squared',NAME$v),'tv squared',NAME$v),'tv Squared',NAME$v);
|
1511
1511
|
|
1512
|
-
var
|
1512
|
+
var DIR_NAME$u='VWO';var NAME$u='VWO';var DISPLAY_NAME$u='VWO';_defineProperty({},DISPLAY_NAME$u,DIR_NAME$u);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$u,NAME$u),"VisualWebsiteOptimizer",NAME$u),"Visualwebsiteoptimizer",NAME$u),"visualwebsiteoptimizer",NAME$u),"vwo",NAME$u),'Visual Website Optimizer',NAME$u),'Visual website optimizer',NAME$u),'visual website optimizer',NAME$u);
|
1513
1513
|
|
1514
|
-
var
|
1514
|
+
var DIR_NAME$t='GA360';var NAME$t='GA360';var DISPLAY_NAME$t='Google Analytics 360';_defineProperty({},DISPLAY_NAME$t,DIR_NAME$t);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$t,NAME$t),'Google Analytics 360',NAME$t),'Google analytics 360',NAME$t),'google analytics 360',NAME$t),'Google Analytics360',NAME$t),'Google analytics360',NAME$t),'google analytics360',NAME$t),"GoogleAnalytics360",NAME$t),'GA 360',NAME$t);
|
1515
1515
|
|
1516
|
-
var
|
1516
|
+
var DIR_NAME$s='Adroll';var NAME$s='ADROLL';var DISPLAY_NAME$s='Adroll';_defineProperty({},DISPLAY_NAME$s,DIR_NAME$s);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$s,NAME$s),"Adroll",NAME$s),'Ad roll',NAME$s),'ad roll',NAME$s),"adroll",NAME$s);
|
1517
1517
|
|
1518
|
-
var
|
1518
|
+
var DIR_NAME$r='DCMFloodlight';var NAME$r='DCM_FLOODLIGHT';var DISPLAY_NAME$r='DCM Floodlight';_defineProperty({},DISPLAY_NAME$r,DIR_NAME$r);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$r,NAME$r),'DCM Floodlight',NAME$r),'dcm floodlight',NAME$r),'Dcm Floodlight',NAME$r),"DCMFloodlight",NAME$r),"dcmfloodlight",NAME$r),"DcmFloodlight",NAME$r),"dcm_floodlight",NAME$r),"DCM_Floodlight",NAME$r);
|
1519
1519
|
|
1520
|
-
var
|
1520
|
+
var DIR_NAME$q='Matomo';var NAME$q='MATOMO';var DISPLAY_NAME$q='Matomo';_defineProperty({},DISPLAY_NAME$q,DIR_NAME$q);_defineProperty(_defineProperty(_defineProperty({},NAME$q,NAME$q),"Matomo",NAME$q),"matomo",NAME$q);
|
1521
1521
|
|
1522
|
-
var
|
1522
|
+
var DIR_NAME$p='Vero';var NAME$p='VERO';var DISPLAY_NAME$p='Vero';_defineProperty({},DISPLAY_NAME$p,DIR_NAME$p);_defineProperty(_defineProperty(_defineProperty({},NAME$p,NAME$p),"Vero",NAME$p),"vero",NAME$p);
|
1523
1523
|
|
1524
|
-
var
|
1524
|
+
var DIR_NAME$o='Mouseflow';var NAME$o='MOUSEFLOW';var DISPLAY_NAME$o='Mouseflow';_defineProperty({},DISPLAY_NAME$o,DIR_NAME$o);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$o,NAME$o),"Mouseflow",NAME$o),"mouseflow",NAME$o),"mouseFlow",NAME$o),"MouseFlow",NAME$o),'Mouse flow',NAME$o),'mouse flow',NAME$o),'mouse Flow',NAME$o),'Mouse Flow',NAME$o);
|
1525
1525
|
|
1526
|
-
var
|
1526
|
+
var DIR_NAME$n='Rockerbox';var NAME$n='ROCKERBOX';var DISPLAY_NAME$n='Rockerbox';_defineProperty({},DISPLAY_NAME$n,DIR_NAME$n);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$n,NAME$n),"Rockerbox",NAME$n),"rockerbox",NAME$n),"RockerBox",NAME$n),'Rocker box',NAME$n),'rocker box',NAME$n),'Rocker Box',NAME$n);
|
1527
1527
|
|
1528
|
-
var
|
1528
|
+
var DIR_NAME$m='ConvertFlow';var NAME$m='CONVERTFLOW';var DISPLAY_NAME$m='ConvertFlow';_defineProperty({},DISPLAY_NAME$m,DIR_NAME$m);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$m,NAME$m),"Convertflow",NAME$m),"convertflow",NAME$m),"convertFlow",NAME$m),"ConvertFlow",NAME$m),'Convert flow',NAME$m),'convert flow',NAME$m),'convert Flow',NAME$m),'Convert Flow',NAME$m),'CONVERT FLOW',NAME$m);
|
1529
1529
|
|
1530
|
-
var
|
1530
|
+
var DIR_NAME$l='SnapEngage';var NAME$l='SNAPENGAGE';var DISPLAY_NAME$l='SnapEngage';_defineProperty({},DISPLAY_NAME$l,DIR_NAME$l);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$l,NAME$l),"SnapEngage",NAME$l),"Snap_Engage",NAME$l),"snapengage",NAME$l),'SNAP ENGAGE',NAME$l),'Snap Engage',NAME$l),'snap engage',NAME$l);
|
1531
1531
|
|
1532
|
-
var
|
1532
|
+
var DIR_NAME$k='LiveChat';var NAME$k='LIVECHAT';var DISPLAY_NAME$k='LiveChat';_defineProperty({},DISPLAY_NAME$k,DIR_NAME$k);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$k,NAME$k),"LiveChat",NAME$k),"Live_Chat",NAME$k),"livechat",NAME$k),'LIVE CHAT',NAME$k),'Live Chat',NAME$k),'live chat',NAME$k);
|
1533
1533
|
|
1534
|
-
var
|
1534
|
+
var DIR_NAME$j='Shynet';var NAME$j='SHYNET';var DISPLAY_NAME$j='Shynet';_defineProperty({},DISPLAY_NAME$j,DIR_NAME$j);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$j,NAME$j),"shynet",NAME$j),"ShyNet",NAME$j),"shyNet",NAME$j),"Shynet",NAME$j),'shy net',NAME$j),'Shy Net',NAME$j),'shy Net',NAME$j),'Shy net',NAME$j);
|
1535
1535
|
|
1536
|
-
var
|
1536
|
+
var DIR_NAME$i='Woopra';var NAME$i='WOOPRA';var DISPLAY_NAME$i='Woopra';_defineProperty({},DISPLAY_NAME$i,DIR_NAME$i);_defineProperty(_defineProperty(_defineProperty({},NAME$i,NAME$i),"Woopra",NAME$i),"woopra",NAME$i);
|
1537
1537
|
|
1538
|
-
var
|
1538
|
+
var DIR_NAME$h='RollBar';var NAME$h='ROLLBAR';var DISPLAY_NAME$h='RollBar';_defineProperty({},DISPLAY_NAME$h,DIR_NAME$h);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$h,NAME$h),"RollBar",NAME$h),"Roll_Bar",NAME$h),"rollbar",NAME$h),"Rollbar",NAME$h),'ROLL BAR',NAME$h),'Roll Bar',NAME$h),'roll bar',NAME$h);
|
1539
1539
|
|
1540
|
-
var
|
1540
|
+
var DIR_NAME$g='QuoraPixel';var NAME$g='QUORA_PIXEL';var DISPLAY_NAME$g='Quora Pixel';_defineProperty({},DISPLAY_NAME$g,DIR_NAME$g);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$g,NAME$g),'Quora Pixel',NAME$g),'Quora pixel',NAME$g),'QUORA PIXEL',NAME$g),"QuoraPixel",NAME$g),"Quorapixel",NAME$g),"QUORAPIXEL",NAME$g),"Quora_Pixel",NAME$g),"quora_pixel",NAME$g),"Quora",NAME$g);
|
1541
1541
|
|
1542
|
-
var
|
1542
|
+
var DIR_NAME$f='June';var NAME$f='JUNE';var DISPLAY_NAME$f='June';_defineProperty({},DISPLAY_NAME$f,DIR_NAME$f);_defineProperty(_defineProperty(_defineProperty({},NAME$f,NAME$f),"June",NAME$f),"june",NAME$f);
|
1543
1543
|
|
1544
|
-
var
|
1544
|
+
var DIR_NAME$e='Engage';var NAME$e='ENGAGE';var DISPLAY_NAME$e='Engage';_defineProperty({},DISPLAY_NAME$e,DIR_NAME$e);_defineProperty(_defineProperty(_defineProperty({},NAME$e,NAME$e),"Engage",NAME$e),"engage",NAME$e);
|
1545
1545
|
|
1546
|
-
var
|
1546
|
+
var DIR_NAME$d='Iterable';var NAME$d='ITERABLE';var DISPLAY_NAME$d='Iterable';_defineProperty({},DISPLAY_NAME$d,DIR_NAME$d);_defineProperty(_defineProperty(_defineProperty({},NAME$d,NAME$d),"Iterable",NAME$d),"iterable",NAME$d);
|
1547
1547
|
|
1548
|
-
var
|
1548
|
+
var DIR_NAME$c='YandexMetrica';var NAME$c='YANDEX_METRICA';var DISPLAY_NAME$c='Yandex.Metrica';_defineProperty({},DISPLAY_NAME$c,DIR_NAME$c);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$c,NAME$c),"Yandexmetrica",NAME$c),"yandexmetrica",NAME$c),"yandexMetrica",NAME$c),"YandexMetrica",NAME$c);
|
1549
1549
|
|
1550
|
-
var
|
1550
|
+
var DIR_NAME$b='Refiner';var NAME$b='REFINER';var DISPLAY_NAME$b='Refiner';_defineProperty({},DISPLAY_NAME$b,DIR_NAME$b);_defineProperty(_defineProperty(_defineProperty({},NAME$b,NAME$b),"Refiner",NAME$b),"refiner",NAME$b);
|
1551
1551
|
|
1552
|
-
var
|
1552
|
+
var DIR_NAME$a='Qualaroo';var NAME$a='QUALAROO';var DISPLAY_NAME$a='Qualaroo';_defineProperty({},DISPLAY_NAME$a,DIR_NAME$a);_defineProperty(_defineProperty(_defineProperty({},NAME$a,NAME$a),"Qualaroo",NAME$a),"qualaroo",NAME$a);
|
1553
1553
|
|
1554
|
-
var
|
1554
|
+
var DIR_NAME$9='Podsights';var NAME$9='PODSIGHTS';var DISPLAY_NAME$9='Podsights';_defineProperty({},DISPLAY_NAME$9,DIR_NAME$9);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$9,NAME$9),"Podsights",NAME$9),"PodSights",NAME$9),'pod Sights',NAME$9),'Pod Sights',NAME$9),'pod sights',NAME$9),'POD SIGHTS',NAME$9),'Pod sights',NAME$9);// default mapping for the events
|
1555
1555
|
|
1556
|
-
var
|
1556
|
+
var DIR_NAME$8='Axeptio';var NAME$8='AXEPTIO';var DISPLAY_NAME$8='Axeptio';_defineProperty({},DISPLAY_NAME$8,DIR_NAME$8);_defineProperty(_defineProperty(_defineProperty({},NAME$8,NAME$8),"Axeptio",NAME$8),"axeptio",NAME$8);
|
1557
1557
|
|
1558
|
-
var
|
1558
|
+
var DIR_NAME$7='Satismeter';var NAME$7='SATISMETER';var DISPLAY_NAME$7='Satismeter';_defineProperty({},DISPLAY_NAME$7,DIR_NAME$7);_defineProperty(_defineProperty(_defineProperty({},NAME$7,NAME$7),"Satismeter",NAME$7),"SatisMeter",NAME$7);
|
1559
1559
|
|
1560
|
-
var
|
1560
|
+
var DIR_NAME$6='MicrosoftClarity';var NAME$6='MICROSOFT_CLARITY';var DISPLAY_NAME$6='Microsoft Clarity';_defineProperty({},DISPLAY_NAME$6,DIR_NAME$6);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$6,NAME$6),'Microsoft Clarity',NAME$6),'Microsoft clarity',NAME$6),'microsoft clarity',NAME$6),"Microsoft_clarity",NAME$6),"MicrosoftClarity",NAME$6),"MICROSOFTCLARITY",NAME$6),"microsoftclarity",NAME$6),"microsoftClarity",NAME$6);
|
1561
1561
|
|
1562
|
-
var
|
1562
|
+
var DIR_NAME$5='Sendinblue';var NAME$5='SENDINBLUE';var DISPLAY_NAME$5='Sendinblue';_defineProperty({},DISPLAY_NAME$5,DIR_NAME$5);_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$5,NAME$5),"Sendinblue",NAME$5),"sendinblue",NAME$5),"SendinBlue",NAME$5);
|
1563
1563
|
|
1564
|
-
var
|
1564
|
+
var DIR_NAME$4='Olark';var NAME$4='OLARK';var DISPLAY_NAME$4='Olark';_defineProperty({},DISPLAY_NAME$4,DIR_NAME$4);_defineProperty(_defineProperty(_defineProperty({},NAME$4,NAME$4),"Olark",NAME$4),"olark",NAME$4);
|
1565
1565
|
|
1566
|
-
var
|
1566
|
+
var DIR_NAME$3='Lemnisk';var NAME$3='LEMNISK';var DISPLAY_NAME$3='Lemnisk';_defineProperty({},DISPLAY_NAME$3,DIR_NAME$3);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$3,NAME$3),"LEMNISK_MARKETING_AUTOMATION",NAME$3),'Lemnisk Marketing Automation',NAME$3),"LemniskMarketingAutomation",NAME$3),"lemniskmarketingautomation",NAME$3),"lemniskMarketingAutomation",NAME$3),"lemnisk",NAME$3),"Lemnisk",NAME$3);
|
1567
1567
|
|
1568
|
-
var
|
1568
|
+
var DIR_NAME$2='TiktokAds';var NAME$2='TIKTOK_ADS';var DISPLAY_NAME$2='TikTok Ads';_defineProperty({},DISPLAY_NAME$2,DIR_NAME$2);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({},NAME$2,NAME$2),"TiktokAds",NAME$2),'Tiktok ads',NAME$2),'Tiktok Ads',NAME$2),'Tik Tok Ads',NAME$2),'tik tok ads',NAME$2),"tiktokads",NAME$2);
|
1569
1569
|
|
1570
|
-
var
|
1570
|
+
var DIR_NAME$1='ActiveCampaign';var NAME$1='ACTIVE_CAMPAIGN';var DISPLAY_NAME$1='Active Campaign';_defineProperty({},DISPLAY_NAME$1,DIR_NAME$1);_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({ActiveCampaign:NAME$1,'Active Campaign':NAME$1,'ACTIVE CAMPAIGN':NAME$1},NAME$1,NAME$1),"activecampaign",NAME$1),'active campaign',NAME$1),'Active campaign',NAME$1),'active Campaign',NAME$1),"active_campaign",NAME$1);
|
1571
1571
|
|
1572
|
-
var
|
1572
|
+
var DIR_NAME='Sprig';var NAME='SPRIG';var DISPLAY_NAME='Sprig';_defineProperty({},DISPLAY_NAME,DIR_NAME);_defineProperty(_defineProperty(_defineProperty({},NAME,NAME),"Sprig",NAME),"sprig",NAME);
|
1573
1573
|
|
1574
1574
|
var _destDisplayNamesToFi;// map of the destination display names to the destination directory names
|
1575
|
-
var destDisplayNamesToFileNamesMap=(_destDisplayNamesToFi={},_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$R,DIR_NAME$R),
|
1575
|
+
var destDisplayNamesToFileNamesMap=(_destDisplayNamesToFi={},_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$R,DIR_NAME$R),DISPLAY_NAME$Y,DIR_NAME$Y),DISPLAY_NAME$S,DIR_NAME$S),DISPLAY_NAME$W,DIR_NAME$W),DISPLAY_NAME$u,DIR_NAME$u),DISPLAY_NAME$U,DIR_NAME$U),DISPLAY_NAME$16,DIR_NAME$16),DISPLAY_NAME$Q,DIR_NAME$Q),DISPLAY_NAME$P,DIR_NAME$P),DISPLAY_NAME$O,DIR_NAME$O),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$10,DIR_NAME$10),DISPLAY_NAME$14,DIR_NAME$14),DISPLAY_NAME$12,DIR_NAME$12),DISPLAY_NAME$_,DIR_NAME$_),DISPLAY_NAME$K,DIR_NAME$K),DISPLAY_NAME$G,DIR_NAME$G),DISPLAY_NAME$15,DIR_NAME$15),DISPLAY_NAME$Z,DIR_NAME$Z),DISPLAY_NAME$v,DIR_NAME$v),DISPLAY_NAME$X,DIR_NAME$X),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$H,DIR_NAME$H),DISPLAY_NAME$19,DIR_NAME$19),DISPLAY_NAME$F,DIR_NAME$F),DISPLAY_NAME$J,DIR_NAME$J),DISPLAY_NAME$18,DIR_NAME$18),DISPLAY_NAME$C,DIR_NAME$C),DISPLAY_NAME$N,DIR_NAME$N),DISPLAY_NAME$13,DIR_NAME$13),DISPLAY_NAME$17,DIR_NAME$17),DISPLAY_NAME$E,DIR_NAME$E),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$1a,DIR_NAME$1a),DISPLAY_NAME$L,DIR_NAME$L),DISPLAY_NAME$y,DIR_NAME$y),DISPLAY_NAME$$,DIR_NAME$$),DISPLAY_NAME$T,DIR_NAME$T),DISPLAY_NAME$11,DIR_NAME$11),DISPLAY_NAME$I,DIR_NAME$I),DISPLAY_NAME$A,DIR_NAME$A),DISPLAY_NAME$B,DIR_NAME$B),DISPLAY_NAME$x,DIR_NAME$x),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$z,DIR_NAME$z),DISPLAY_NAME$w,DIR_NAME$w),DISPLAY_NAME$D,DIR_NAME$D),DISPLAY_NAME$V,DIR_NAME$V),DISPLAY_NAME$M,DIR_NAME$M),DISPLAY_NAME$t,DIR_NAME$t),DISPLAY_NAME$s,DIR_NAME$s),DISPLAY_NAME$r,DIR_NAME$r),DISPLAY_NAME$q,DIR_NAME$q),DISPLAY_NAME$p,DIR_NAME$p),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$o,DIR_NAME$o),DISPLAY_NAME$n,DIR_NAME$n),DISPLAY_NAME$m,DIR_NAME$m),DISPLAY_NAME$l,DIR_NAME$l),DISPLAY_NAME$k,DIR_NAME$k),DISPLAY_NAME$j,DIR_NAME$j),DISPLAY_NAME$i,DIR_NAME$i),DISPLAY_NAME$h,DIR_NAME$h),DISPLAY_NAME$g,DIR_NAME$g),DISPLAY_NAME$f,DIR_NAME$f),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$e,DIR_NAME$e),DISPLAY_NAME$d,DIR_NAME$d),DISPLAY_NAME$c,DIR_NAME$c),DISPLAY_NAME$b,DIR_NAME$b),DISPLAY_NAME$a,DIR_NAME$a),DISPLAY_NAME$9,DIR_NAME$9),DISPLAY_NAME$8,DIR_NAME$8),DISPLAY_NAME$7,DIR_NAME$7),DISPLAY_NAME$6,DIR_NAME$6),DISPLAY_NAME$5,DIR_NAME$5),_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_destDisplayNamesToFi,DISPLAY_NAME$4,DIR_NAME$4),DISPLAY_NAME$3,DIR_NAME$3),DISPLAY_NAME$2,DIR_NAME$2),DISPLAY_NAME$1,DIR_NAME$1),DISPLAY_NAME,DIR_NAME));
|
1576
1576
|
|
1577
1577
|
var DEFAULT_INTEGRATIONS_CONFIG={All:true};
|
1578
1578
|
|
@@ -2956,9 +2956,9 @@
|
|
2956
2956
|
* Service to handle data communication with APIs
|
2957
2957
|
*/var HttpClient=/*#__PURE__*/function(){function HttpClient(errorHandler,logger){_classCallCheck(this,HttpClient);_defineProperty(this,"hasErrorHandler",false);this.errorHandler=errorHandler;this.logger=logger;this.hasErrorHandler=Boolean(this.errorHandler);this.onError=this.onError.bind(this);}/**
|
2958
2958
|
* Implement requests in a blocking way
|
2959
|
-
*/_createClass(HttpClient,[{key:"getData",value:function(){var _getData=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(config){var url,options,timeout,isRawResponse,data,_error;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:url=config.url,options=config.options,timeout=config.timeout,isRawResponse=config.isRawResponse;_context.prev=1;_context.next=4;return xhrRequest(createXhrRequestOptions(url,options,this.basicAuthHeader),timeout,this.logger);case 4:data=_context.sent;return _context.abrupt("return",{data:isRawResponse?data.response:responseTextToJson(data.response,this.onError),details:data});case 8:_context.prev=8;_context.t0=_context["catch"](1);this.onError((_error=_context.t0.error)!==null&&_error!==void 0?_error:_context.t0);return _context.abrupt("return",{data:undefined,details:_context.t0});case 12:case"end":return _context.stop();}},_callee,this,[[1,8]]);}));function getData(_x){return _getData.apply(this,arguments);}return getData;}()/**
|
2959
|
+
*/_createClass(HttpClient,[{key:"getData",value:(function(){var _getData=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(config){var url,options,timeout,isRawResponse,data,_error;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:url=config.url,options=config.options,timeout=config.timeout,isRawResponse=config.isRawResponse;_context.prev=1;_context.next=4;return xhrRequest(createXhrRequestOptions(url,options,this.basicAuthHeader),timeout,this.logger);case 4:data=_context.sent;return _context.abrupt("return",{data:isRawResponse?data.response:responseTextToJson(data.response,this.onError),details:data});case 8:_context.prev=8;_context.t0=_context["catch"](1);this.onError((_error=_context.t0.error)!==null&&_error!==void 0?_error:_context.t0);return _context.abrupt("return",{data:undefined,details:_context.t0});case 12:case"end":return _context.stop();}},_callee,this,[[1,8]]);}));function getData(_x){return _getData.apply(this,arguments);}return getData;}()/**
|
2960
2960
|
* Implement requests in a non-blocking way
|
2961
|
-
*/},{key:"getAsyncData",value:function getAsyncData(config){var _this=this;var callback=config.callback,url=config.url,options=config.options,timeout=config.timeout,isRawResponse=config.isRawResponse;var isFireAndForget=!isFunction(callback);xhrRequest(createXhrRequestOptions(url,options,this.basicAuthHeader),timeout,this.logger).then(function(data){if(!isFireAndForget){callback(isRawResponse?data.response:responseTextToJson(data.response,_this.onError),data);}}).catch(function(data){var _data$error;_this.onError((_data$error=data.error)!==null&&_data$error!==void 0?_data$error:data);if(!isFireAndForget){callback(undefined,data);}});}/**
|
2961
|
+
*/)},{key:"getAsyncData",value:function getAsyncData(config){var _this=this;var callback=config.callback,url=config.url,options=config.options,timeout=config.timeout,isRawResponse=config.isRawResponse;var isFireAndForget=!isFunction(callback);xhrRequest(createXhrRequestOptions(url,options,this.basicAuthHeader),timeout,this.logger).then(function(data){if(!isFireAndForget){callback(isRawResponse?data.response:responseTextToJson(data.response,_this.onError),data);}}).catch(function(data){var _data$error;_this.onError((_data$error=data.error)!==null&&_data$error!==void 0?_data$error:data);if(!isFireAndForget){callback(undefined,data);}});}/**
|
2962
2962
|
* Handle errors
|
2963
2963
|
*/},{key:"onError",value:function onError(error){if(this.hasErrorHandler){var _this$errorHandler;(_this$errorHandler=this.errorHandler)===null||_this$errorHandler===void 0||_this$errorHandler.onError(error,HTTP_CLIENT);}else {throw error;}}/**
|
2964
2964
|
* Set basic authentication header (eg writekey)
|
@@ -2968,7 +2968,7 @@
|
|
2968
2968
|
|
2969
2969
|
var STORAGE_TEST_COOKIE='test_rudder_cookie';var STORAGE_TEST_LOCAL_STORAGE='test_rudder_ls';var STORAGE_TEST_SESSION_STORAGE='test_rudder_ss';var STORAGE_TEST_TOP_LEVEL_DOMAIN='__tld__';var CLIENT_DATA_STORE_COOKIE='clientDataInCookie';var CLIENT_DATA_STORE_LS='clientDataInLocalStorage';var CLIENT_DATA_STORE_MEMORY='clientDataInMemory';var CLIENT_DATA_STORE_SESSION='clientDataInSessionStorage';var USER_SESSION_KEYS=['userId','userTraits','anonymousId','groupId','groupTraits','initialReferrer','initialReferringDomain','sessionInfo','authToken'];
|
2970
2970
|
|
2971
|
-
var
|
2971
|
+
var storageClientDataStoreNameMap=_defineProperty(_defineProperty(_defineProperty(_defineProperty({},COOKIE_STORAGE,CLIENT_DATA_STORE_COOKIE),LOCAL_STORAGE,CLIENT_DATA_STORE_LS),MEMORY_STORAGE,CLIENT_DATA_STORE_MEMORY),SESSION_STORAGE,CLIENT_DATA_STORE_SESSION);
|
2972
2972
|
|
2973
2973
|
var detectAdBlockers=function detectAdBlockers(errorHandler,logger){// Apparently, '?view=ad' is a query param that is blocked by majority of adblockers
|
2974
2974
|
// Use source config URL here as it is very unlikely to be blocked by adblockers
|
@@ -2984,7 +2984,7 @@
|
|
2984
2984
|
|
2985
2985
|
var getUserAgentClientHint=function getUserAgentClientHint(callback){var level=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'none';if(level==='none'){callback(undefined);}if(level==='default'){callback(navigator.userAgentData);}if(level==='full'){var _navigator$userAgentD;(_navigator$userAgentD=navigator.userAgentData)===null||_navigator$userAgentD===void 0||_navigator$userAgentD.getHighEntropyValues(['architecture','bitness','brands','mobile','model','platform','platformVersion','uaFullVersion','fullVersionList','wow64']).then(function(ua){callback(ua);}).catch(function(){callback();});}};
|
2986
2986
|
|
2987
|
-
var isDatasetAvailable=function isDatasetAvailable(){var testElement=document.createElement('div');testElement.setAttribute('data-a-b','c');return testElement.dataset?testElement.dataset.aB==='c':false;};var legacyJSEngineRequiredPolyfills={
|
2987
|
+
var isDatasetAvailable=function isDatasetAvailable(){var testElement=document.createElement('div');testElement.setAttribute('data-a-b','c');return testElement.dataset?testElement.dataset.aB==='c':false;};var legacyJSEngineRequiredPolyfills={URL:function URL(){return !isFunction(globalThis.URL)||!globalThis.URLSearchParams;},MutationObserver:function(_MutationObserver){function MutationObserver(){return _MutationObserver.apply(this,arguments);}MutationObserver.toString=function(){return _MutationObserver.toString();};return MutationObserver;}(function(){return isUndefined(MutationObserver);}),Promise:function(_Promise){function Promise(){return _Promise.apply(this,arguments);}Promise.toString=function(){return _Promise.toString();};return Promise;}(function(){return isUndefined(Promise);}),'Number.isNaN':function NumberIsNaN(){return !Number.isNaN;},'Number.isInteger':function NumberIsInteger(){return !Number.isInteger;},'Array.from':function ArrayFrom(){return !Array.from;},'Array.prototype.find':function ArrayPrototypeFind(){return !Array.prototype.find;},'Array.prototype.includes':function ArrayPrototypeIncludes(){return !Array.prototype.includes;},'String.prototype.endsWith':function StringPrototypeEndsWith(){return !String.prototype.endsWith;},'String.prototype.startsWith':function StringPrototypeStartsWith(){return !String.prototype.startsWith;},'String.prototype.includes':function StringPrototypeIncludes(){return !String.prototype.includes;},'Object.entries':function ObjectEntries(){return !Object.entries;},'Object.values':function ObjectValues(){return !Object.values;},'Object.assign':function ObjectAssign(){return typeof Object.assign!=='function';},'Element.prototype.dataset':function ElementPrototypeDataset(){return !isDatasetAvailable();},'String.prototype.replaceAll':function StringPrototypeReplaceAll(){return !String.prototype.replaceAll;},TextEncoder:function(_TextEncoder){function TextEncoder(){return _TextEncoder.apply(this,arguments);}TextEncoder.toString=function(){return _TextEncoder.toString();};return TextEncoder;}(function(){return isUndefined(TextEncoder)||isUndefined(TextDecoder);}),'String.fromCodePoint':function StringFromCodePoint(){return !String.fromCodePoint;},requestAnimationFrame:function requestAnimationFrame(){return !isFunction(globalThis.requestAnimationFrame)||!isFunction(globalThis.cancelAnimationFrame);},CustomEvent:function CustomEvent(){return !isFunction(globalThis.CustomEvent);},/* eslint-disable-next-line */'navigator.sendBeacon':function navigatorSendBeacon(){return !isFunction(navigator.sendBeacon);},ArrayBuffer:function ArrayBuffer(){return !isFunction(Uint8Array);}};var isLegacyJSEngine=function isLegacyJSEngine(){var requiredCapabilitiesList=Object.keys(legacyJSEngineRequiredPolyfills);var needsPolyfill=false;/* eslint-disable-next-line unicorn/no-for-loop */for(var i=0;i<requiredCapabilitiesList.length;i++){var isCapabilityMissing=legacyJSEngineRequiredPolyfills[requiredCapabilitiesList[i]];if(isFunction(isCapabilityMissing)&&isCapabilityMissing()){needsPolyfill=true;break;}}return needsPolyfill;};
|
2988
2988
|
|
2989
2989
|
var getScreenDetails=function getScreenDetails(){var screenDetails={density:0,width:0,height:0,innerWidth:0,innerHeight:0};screenDetails={width:globalThis.screen.width,height:globalThis.screen.height,density:globalThis.devicePixelRatio,innerWidth:globalThis.innerWidth,innerHeight:globalThis.innerHeight};return screenDetails;};
|
2990
2990
|
|
@@ -3231,6 +3231,11 @@
|
|
3231
3231
|
if(serverUrl){return serverUrl;}// return undefined if data plane url can not be determined
|
3232
3232
|
return undefined;};
|
3233
3233
|
|
3234
|
+
/**
|
3235
|
+
* Determines if the SDK is running inside a chrome extension
|
3236
|
+
* @returns boolean
|
3237
|
+
*/var isSDKRunningInChromeExtension=function isSDKRunningInChromeExtension(){return !!(window.chrome&&window.chrome.runtime&&window.chrome.runtime.id);};
|
3238
|
+
|
3234
3239
|
var DEFAULT_PRE_CONSENT_STORAGE_STRATEGY='none';var DEFAULT_PRE_CONSENT_EVENTS_DELIVERY_TYPE='immediate';
|
3235
3240
|
|
3236
3241
|
var isErrorReportingEnabled=function isErrorReportingEnabled(sourceConfig){var _sourceConfig$statsCo;return (sourceConfig===null||sourceConfig===void 0||(_sourceConfig$statsCo=sourceConfig.statsCollection)===null||_sourceConfig$statsCo===void 0||(_sourceConfig$statsCo=_sourceConfig$statsCo.errors)===null||_sourceConfig$statsCo===void 0?void 0:_sourceConfig$statsCo.enabled)===true;};var getErrorReportingProviderNameFromConfig=function getErrorReportingProviderNameFromConfig(sourceConfig){var _sourceConfig$statsCo2;return sourceConfig===null||sourceConfig===void 0||(_sourceConfig$statsCo2=sourceConfig.statsCollection)===null||_sourceConfig$statsCo2===void 0||(_sourceConfig$statsCo2=_sourceConfig$statsCo2.errors)===null||_sourceConfig$statsCo2===void 0?void 0:_sourceConfig$statsCo2.provider;};var isMetricsReportingEnabled=function isMetricsReportingEnabled(sourceConfig){var _sourceConfig$statsCo3;return (sourceConfig===null||sourceConfig===void 0||(_sourceConfig$statsCo3=sourceConfig.statsCollection)===null||_sourceConfig$statsCo3===void 0||(_sourceConfig$statsCo3=_sourceConfig$statsCo3.metrics)===null||_sourceConfig$statsCo3===void 0?void 0:_sourceConfig$statsCo3.enabled)===true;};
|
@@ -3266,7 +3271,7 @@
|
|
3266
3271
|
* Updates the reporting state variables from the source config data
|
3267
3272
|
* @param res Source config
|
3268
3273
|
* @param logger Logger instance
|
3269
|
-
*/var updateReportingState=function updateReportingState(res,logger){state.reporting.isErrorReportingEnabled.value=isErrorReportingEnabled(res.source.config);state.reporting.isMetricsReportingEnabled.value=isMetricsReportingEnabled(res.source.config);if(state.reporting.isErrorReportingEnabled.value){var errReportingProvider=getErrorReportingProviderNameFromConfig(res.source.config);// Get the corresponding plugin name of the selected error reporting provider from the supported error reporting providers
|
3274
|
+
*/var updateReportingState=function updateReportingState(res,logger){state.reporting.isErrorReportingEnabled.value=isErrorReportingEnabled(res.source.config)&&!isSDKRunningInChromeExtension();state.reporting.isMetricsReportingEnabled.value=isMetricsReportingEnabled(res.source.config);if(state.reporting.isErrorReportingEnabled.value){var errReportingProvider=getErrorReportingProviderNameFromConfig(res.source.config);// Get the corresponding plugin name of the selected error reporting provider from the supported error reporting providers
|
3270
3275
|
var errReportingProviderPlugin=errReportingProvider?ErrorReportingProvidersToPluginNameMap[errReportingProvider]:undefined;if(!isUndefined(errReportingProvider)&&!errReportingProviderPlugin){// set the default error reporting provider
|
3271
3276
|
logger===null||logger===void 0||logger.warn(UNSUPPORTED_ERROR_REPORTING_PROVIDER_WARNING(CONFIG_MANAGER,errReportingProvider,ErrorReportingProvidersToPluginNameMap,DEFAULT_ERROR_REPORTING_PROVIDER));}state.reporting.errorReportingProviderPluginName.value=errReportingProviderPlugin!==null&&errReportingProviderPlugin!==void 0?errReportingProviderPlugin:ErrorReportingProvidersToPluginNameMap[DEFAULT_ERROR_REPORTING_PROVIDER];}};var updateStorageStateFromLoadOptions=function updateStorageStateFromLoadOptions(logger){var _storageOptsFromLoad$;var storageOptsFromLoad=state.loadOptions.value.storage;var storageType=storageOptsFromLoad===null||storageOptsFromLoad===void 0?void 0:storageOptsFromLoad.type;if(isDefined(storageType)&&!isValidStorageType(storageType)){logger===null||logger===void 0||logger.warn(STORAGE_TYPE_VALIDATION_WARNING(CONFIG_MANAGER,storageType,DEFAULT_STORAGE_TYPE));storageType=DEFAULT_STORAGE_TYPE;}var storageEncryptionVersion=storageOptsFromLoad===null||storageOptsFromLoad===void 0||(_storageOptsFromLoad$=storageOptsFromLoad.encryption)===null||_storageOptsFromLoad$===void 0?void 0:_storageOptsFromLoad$.version;var encryptionPluginName=storageEncryptionVersion&&StorageEncryptionVersionsToPluginNameMap[storageEncryptionVersion];if(!isUndefined(storageEncryptionVersion)&&isUndefined(encryptionPluginName)){// set the default encryption plugin
|
3272
3277
|
logger===null||logger===void 0||logger.warn(UNSUPPORTED_STORAGE_ENCRYPTION_VERSION_WARNING(CONFIG_MANAGER,storageEncryptionVersion,StorageEncryptionVersionsToPluginNameMap,DEFAULT_STORAGE_ENCRYPTION_VERSION));storageEncryptionVersion=DEFAULT_STORAGE_ENCRYPTION_VERSION;}else if(isUndefined(storageEncryptionVersion)){storageEncryptionVersion=DEFAULT_STORAGE_ENCRYPTION_VERSION;}// Allow migration only if the configured encryption version is the default encryption version
|
@@ -3351,7 +3356,7 @@
|
|
3351
3356
|
if(urlObj.search===''){pageUrl=canonicalUrl+search;}else {pageUrl=canonicalUrl;}path=urlObj.pathname;}catch(err){// Do nothing
|
3352
3357
|
}}var url=getUrlWithoutHash(pageUrl);var _document2=document,title=_document2.title;var referrer=getReferrer();return {path:path,referrer:referrer,referring_domain:getReferringDomain(referrer),search:search,title:title,url:url,tab_url:tabUrl};};
|
3353
3358
|
|
3354
|
-
var POLYFILL_URL="https://polyfill.io/v3/polyfill.min.js?features=".concat(Object.keys(legacyJSEngineRequiredPolyfills).join('%2C'));var POLYFILL_LOAD_TIMEOUT=10*1000;// 10 seconds
|
3359
|
+
var POLYFILL_URL="https://polyfill.io/v3/polyfill.min.js?version=3.111.0&features=".concat(Object.keys(legacyJSEngineRequiredPolyfills).join('%2C'));var POLYFILL_LOAD_TIMEOUT=10*1000;// 10 seconds
|
3355
3360
|
var POLYFILL_SCRIPT_ID='rudderstackPolyfill';
|
3356
3361
|
|
3357
3362
|
var CapabilitiesManager=/*#__PURE__*/function(){function CapabilitiesManager(errorHandler,logger){_classCallCheck(this,CapabilitiesManager);this.logger=logger;this.errorHandler=errorHandler;this.externalSrcLoader=new ExternalSrcLoader(this.errorHandler,this.logger);this.onError=this.onError.bind(this);this.onReady=this.onReady.bind(this);}_createClass(CapabilitiesManager,[{key:"init",value:function init(){try{this.prepareBrowserCapabilities();this.attachWindowListeners();}catch(err){this.onError(err);}}/**
|
@@ -3692,7 +3697,7 @@
|
|
3692
3697
|
this.startLifecycle();}// Start lifecycle methods
|
3693
3698
|
/**
|
3694
3699
|
* Orchestrate the lifecycle of the application phases/status
|
3695
|
-
*/},{key:"startLifecycle",value:function startLifecycle(){var _this=this;O(function(){try{switch(state.lifecycle.status.value){case'mounted':_this.onMounted();break;case'browserCapabilitiesReady':_this.onBrowserCapabilitiesReady();break;case'configured':_this.onConfigured();break;case'pluginsLoading':break;case'pluginsReady':_this.onPluginsReady();break;case'initialized':_this.onInitialized();break;case'loaded':_this.onLoaded();break;case'destinationsLoading':break;case'destinationsReady':_this.onDestinationsReady();break;case'ready':_this.onReady();break;default:break;}}catch(err){var issue='Failed to load the SDK';_this.errorHandler.onError(getMutatedError(err,issue),ANALYTICS_CORE);}});}},{key:"onBrowserCapabilitiesReady",value:function onBrowserCapabilitiesReady(){// initialize the preloaded events enqueuing
|
3700
|
+
*/},{key:"startLifecycle",value:function startLifecycle(){var _this=this;O(function(){try{switch(state.lifecycle.status.value){case'mounted':_this.onMounted();break;case'browserCapabilitiesReady':_this.onBrowserCapabilitiesReady();break;case'configured':_this.onConfigured();break;case'pluginsLoading':break;case'pluginsReady':_this.onPluginsReady();break;case'initialized':_this.onInitialized();break;case'loaded':_this.onLoaded();break;case'destinationsLoading':break;case'destinationsReady':_this.onDestinationsReady();break;case'ready':_this.onReady();break;case'readyExecuted':default:break;}}catch(err){var issue='Failed to load the SDK';_this.errorHandler.onError(getMutatedError(err,issue),ANALYTICS_CORE);}});}},{key:"onBrowserCapabilitiesReady",value:function onBrowserCapabilitiesReady(){// initialize the preloaded events enqueuing
|
3696
3701
|
retrievePreloadBufferEvents(this);this.prepareInternalServices();this.loadConfig();}},{key:"onLoaded",value:function onLoaded(){this.processBufferedEvents();// Short-circuit the life cycle and move to the ready state if pre-consent behavior is enabled
|
3697
3702
|
if(state.consents.preConsent.value.enabled===true){state.lifecycle.status.value='ready';}else {this.loadDestinations();}}/**
|
3698
3703
|
* Load browser polyfill if required
|
@@ -3723,7 +3728,7 @@
|
|
3723
3728
|
dispatchSDKEvent('RSA_Initialised');}/**
|
3724
3729
|
* Emit ready event
|
3725
3730
|
*/ // eslint-disable-next-line class-methods-use-this
|
3726
|
-
},{key:"onReady",value:function onReady(){var _this3=this;state.eventBuffer.readyCallbacksArray.value.forEach(function(callback){try{callback();}catch(err){_this3.errorHandler.onError(err,ANALYTICS_CORE,READY_CALLBACK_INVOKE_ERROR);}});// Emit an event to use as substitute to the ready callback
|
3731
|
+
},{key:"onReady",value:function onReady(){var _this3=this;state.lifecycle.status.value='readyExecuted';state.eventBuffer.readyCallbacksArray.value.forEach(function(callback){try{callback();}catch(err){_this3.errorHandler.onError(err,ANALYTICS_CORE,READY_CALLBACK_INVOKE_ERROR);}});// Emit an event to use as substitute to the ready callback
|
3727
3732
|
dispatchSDKEvent('RSA_Ready');}/**
|
3728
3733
|
* Consume preloaded events buffer
|
3729
3734
|
*/},{key:"processBufferedEvents",value:function processBufferedEvents(){// This logic has been intentionally implemented without a simple
|
@@ -3746,7 +3751,7 @@
|
|
3746
3751
|
* If destinations are loaded or no integration is available for loading
|
3747
3752
|
* execute the callback immediately else push the callbacks to a queue that
|
3748
3753
|
* will be executed after loading completes
|
3749
|
-
*/if(state.lifecycle.status.value==='ready'){try{callback();}catch(err){this.errorHandler.onError(err,ANALYTICS_CORE,READY_CALLBACK_INVOKE_ERROR);}}else {state.eventBuffer.readyCallbacksArray.value.
|
3754
|
+
*/if(state.lifecycle.status.value==='ready'){try{callback();}catch(err){this.errorHandler.onError(err,ANALYTICS_CORE,READY_CALLBACK_INVOKE_ERROR);}}else {state.eventBuffer.readyCallbacksArray.value=[].concat(_toConsumableArray(state.eventBuffer.readyCallbacksArray.value),[callback]);}}},{key:"page",value:function page(payload){var _this$eventManager2;var type='page';if(!state.lifecycle.loaded.value){state.eventBuffer.toBeProcessedArray.value=[].concat(_toConsumableArray(state.eventBuffer.toBeProcessedArray.value),[[type,payload]]);return;}this.errorHandler.leaveBreadcrumb("New ".concat(type," event"));state.metrics.triggered.value+=1;(_this$eventManager2=this.eventManager)===null||_this$eventManager2===void 0||_this$eventManager2.addEvent({type:'page',category:payload.category,name:payload.name,properties:payload.properties,options:payload.options,callback:payload.callback});// TODO: Maybe we should alter the behavior to send the ad-block page event even if the SDK is still loaded. It'll be pushed into the to be processed queue.
|
3750
3755
|
// Send automatic ad blocked page event if ad-blockers are detected on the page
|
3751
3756
|
// Check page category to avoid infinite loop
|
3752
3757
|
if(state.capabilities.isAdBlocked.value===true&&payload.category!==ADBLOCK_PAGE_CATEGORY){this.page(pageArgumentsToCallOptions(ADBLOCK_PAGE_CATEGORY,ADBLOCK_PAGE_NAME,{// 'title' is intentionally omitted as it does not make sense
|