@pendo/agent 2.342.0 → 2.343.1
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/dom.esm.js +2 -25
- package/dist/pendo.module.js +472 -192
- package/dist/pendo.module.min.js +12 -12
- package/dist/servers.json +8 -8
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -7541,37 +7541,14 @@ function applyMatrix2dRect(matrix2d, rect) {
|
|
|
7541
7541
|
return transformedRect;
|
|
7542
7542
|
}
|
|
7543
7543
|
|
|
7544
|
-
var VERSION = '2.
|
|
7544
|
+
var VERSION = '2.343.1_';
|
|
7545
7545
|
|
|
7546
7546
|
var decodeURIComponent = _.isFunction(globalScope.decodeURIComponent) ? globalScope.decodeURIComponent : _.identity;
|
|
7547
7547
|
|
|
7548
7548
|
var encodeURIComponent = _.isFunction(globalScope.encodeURIComponent) ? globalScope.encodeURIComponent : _.identity;
|
|
7549
7549
|
|
|
7550
|
-
var _a;
|
|
7551
|
-
/** Key used to lookup the analytics events in the consent collection policy. */
|
|
7552
|
-
var ANALYTICS = 'analytics';
|
|
7553
|
-
/** Key used to lookup the guide analytics events in the consent collection policy. */
|
|
7554
|
-
var GUIDE_ANALYTICS = 'guideAnalytics';
|
|
7555
|
-
/** Key used to lookup the text collection mode in the consent collection policy. */
|
|
7556
|
-
var TEXT_COLLECTION = 'textCollection';
|
|
7557
|
-
var TEXT_COLLECTION_LEVELS = ['none', 'whitelist', 'all'];
|
|
7558
|
-
function moreTextPermissive(a, b) {
|
|
7559
|
-
return TEXT_COLLECTION_LEVELS.indexOf(b) > TEXT_COLLECTION_LEVELS.indexOf(a) ? b : a;
|
|
7560
|
-
}
|
|
7561
|
-
function unionArrays(a, b) {
|
|
7562
|
-
return _.union(a, b);
|
|
7563
|
-
}
|
|
7564
|
-
// How a granted tier's value for a product combines with what's been resolved so far.
|
|
7565
|
-
// `initial` doubles as what an ungranted tier contributes -- an unlisted product falls
|
|
7566
|
-
// back to DEFAULT_RESOLVER, the plain "any granted tier turns it on" boolean rule.
|
|
7567
|
-
(_a = {},
|
|
7568
|
-
_a[TEXT_COLLECTION] = { initial: TEXT_COLLECTION_LEVELS[0], combine: moreTextPermissive },
|
|
7569
|
-
_a[ANALYTICS] = { initial: [], combine: unionArrays },
|
|
7570
|
-
_a[GUIDE_ANALYTICS] = { initial: [], combine: unionArrays },
|
|
7571
|
-
_a);
|
|
7572
7550
|
/**
|
|
7573
|
-
* A product is enabled
|
|
7574
|
-
* consent configured at all, or a product no tier ever mentions, there's nothing to deny.
|
|
7551
|
+
* A product is enabled only if some granted tier turned it on or cookie consent has not been set.
|
|
7575
7552
|
*
|
|
7576
7553
|
* @access private
|
|
7577
7554
|
* @param {string} product
|