@posthog/rrweb-player 0.0.29 → 0.0.32
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/rrweb-player.cjs +34 -34
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +34 -34
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +34 -34
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs.map +3 -3
- package/package.json +1 -1
package/dist/rrweb-player.cjs
CHANGED
|
@@ -542,8 +542,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
542
542
|
if (n2.__esModule) return n2;
|
|
543
543
|
var f2 = n2.default;
|
|
544
544
|
if (typeof f2 == "function") {
|
|
545
|
-
var a2 = function
|
|
546
|
-
if (this instanceof
|
|
545
|
+
var a2 = function a3() {
|
|
546
|
+
if (this instanceof a3) {
|
|
547
547
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
548
548
|
}
|
|
549
549
|
return f2.apply(this, arguments);
|
|
@@ -552,8 +552,8 @@ function getAugmentedNamespace$1(n2) {
|
|
|
552
552
|
} else a2 = {};
|
|
553
553
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
554
554
|
Object.keys(n2).forEach(function(k) {
|
|
555
|
-
var
|
|
556
|
-
Object.defineProperty(a2, k,
|
|
555
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
556
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
557
557
|
enumerable: true,
|
|
558
558
|
get: function() {
|
|
559
559
|
return n2[k];
|
|
@@ -929,8 +929,8 @@ function requireStringifier$1() {
|
|
|
929
929
|
if (root2.raws.indent) return root2.raws.indent;
|
|
930
930
|
let value;
|
|
931
931
|
root2.walk((i2) => {
|
|
932
|
-
let
|
|
933
|
-
if (
|
|
932
|
+
let p2 = i2.parent;
|
|
933
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
934
934
|
if (typeof i2.raws.before !== "undefined") {
|
|
935
935
|
let parts = i2.raws.before.split("\n");
|
|
936
936
|
value = parts[parts.length - 1];
|
|
@@ -1028,7 +1028,7 @@ function requireNode$1() {
|
|
|
1028
1028
|
} else if (i2 === "source") {
|
|
1029
1029
|
cloned[i2] = value;
|
|
1030
1030
|
} else if (Array.isArray(value)) {
|
|
1031
|
-
cloned[i2] = value.map((
|
|
1031
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
1032
1032
|
} else {
|
|
1033
1033
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
1034
1034
|
cloned[i2] = value;
|
|
@@ -1814,10 +1814,10 @@ function requireAtRule$1() {
|
|
|
1814
1814
|
Container.registerAtRule(AtRule);
|
|
1815
1815
|
return atRule$1;
|
|
1816
1816
|
}
|
|
1817
|
-
var document$
|
|
1817
|
+
var document$2;
|
|
1818
1818
|
var hasRequiredDocument$1;
|
|
1819
1819
|
function requireDocument$1() {
|
|
1820
|
-
if (hasRequiredDocument$1) return document$
|
|
1820
|
+
if (hasRequiredDocument$1) return document$2;
|
|
1821
1821
|
hasRequiredDocument$1 = 1;
|
|
1822
1822
|
let Container = requireContainer$1();
|
|
1823
1823
|
let LazyResult, Processor;
|
|
@@ -1839,9 +1839,9 @@ function requireDocument$1() {
|
|
|
1839
1839
|
Document2.registerProcessor = (dependant) => {
|
|
1840
1840
|
Processor = dependant;
|
|
1841
1841
|
};
|
|
1842
|
-
document$
|
|
1842
|
+
document$2 = Document2;
|
|
1843
1843
|
Document2.default = Document2;
|
|
1844
|
-
return document$
|
|
1844
|
+
return document$2;
|
|
1845
1845
|
}
|
|
1846
1846
|
var nonSecure$1;
|
|
1847
1847
|
var hasRequiredNonSecure$1;
|
|
@@ -2544,9 +2544,9 @@ function requireMapGenerator$1() {
|
|
|
2544
2544
|
column += str.length;
|
|
2545
2545
|
}
|
|
2546
2546
|
if (node2 && type !== "start") {
|
|
2547
|
-
let
|
|
2547
|
+
let p2 = node2.parent || { raws: {} };
|
|
2548
2548
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
2549
|
-
if (!childless || node2 !==
|
|
2549
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
2550
2550
|
if (node2.source && node2.source.end) {
|
|
2551
2551
|
mapping.source = this.sourcePath(node2);
|
|
2552
2552
|
mapping.original.line = node2.source.end.line;
|
|
@@ -3039,8 +3039,8 @@ function requireParser$1() {
|
|
|
3039
3039
|
if (colon === false) return;
|
|
3040
3040
|
let founded = 0;
|
|
3041
3041
|
let token;
|
|
3042
|
-
for (let
|
|
3043
|
-
token = tokens[
|
|
3042
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
3043
|
+
token = tokens[j2];
|
|
3044
3044
|
if (token[0] !== "space") {
|
|
3045
3045
|
founded += 1;
|
|
3046
3046
|
if (founded === 2) break;
|
|
@@ -3158,8 +3158,8 @@ function requireParser$1() {
|
|
|
3158
3158
|
} else if (token[1].toLowerCase() === "important") {
|
|
3159
3159
|
let cache = tokens.slice(0);
|
|
3160
3160
|
let str = "";
|
|
3161
|
-
for (let
|
|
3162
|
-
let type = cache[
|
|
3161
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
3162
|
+
let type = cache[j2][0];
|
|
3163
3163
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
3164
3164
|
break;
|
|
3165
3165
|
}
|
|
@@ -3747,8 +3747,8 @@ function requireLazyResult$1() {
|
|
|
3747
3747
|
let pluginVer = plugin.postcssVersion;
|
|
3748
3748
|
let runtimeVer = this.result.processor.version;
|
|
3749
3749
|
let a2 = pluginVer.split(".");
|
|
3750
|
-
let
|
|
3751
|
-
if (a2[0] !==
|
|
3750
|
+
let b2 = runtimeVer.split(".");
|
|
3751
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
3752
3752
|
console.error(
|
|
3753
3753
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
3754
3754
|
);
|
|
@@ -4899,8 +4899,8 @@ function getAugmentedNamespace(n2) {
|
|
|
4899
4899
|
if (n2.__esModule) return n2;
|
|
4900
4900
|
var f2 = n2.default;
|
|
4901
4901
|
if (typeof f2 == "function") {
|
|
4902
|
-
var a2 = function
|
|
4903
|
-
if (this instanceof
|
|
4902
|
+
var a2 = function a3() {
|
|
4903
|
+
if (this instanceof a3) {
|
|
4904
4904
|
return Reflect.construct(f2, arguments, this.constructor);
|
|
4905
4905
|
}
|
|
4906
4906
|
return f2.apply(this, arguments);
|
|
@@ -4909,8 +4909,8 @@ function getAugmentedNamespace(n2) {
|
|
|
4909
4909
|
} else a2 = {};
|
|
4910
4910
|
Object.defineProperty(a2, "__esModule", { value: true });
|
|
4911
4911
|
Object.keys(n2).forEach(function(k) {
|
|
4912
|
-
var
|
|
4913
|
-
Object.defineProperty(a2, k,
|
|
4912
|
+
var d2 = Object.getOwnPropertyDescriptor(n2, k);
|
|
4913
|
+
Object.defineProperty(a2, k, d2.get ? d2 : {
|
|
4914
4914
|
enumerable: true,
|
|
4915
4915
|
get: function() {
|
|
4916
4916
|
return n2[k];
|
|
@@ -5286,8 +5286,8 @@ function requireStringifier() {
|
|
|
5286
5286
|
if (root2.raws.indent) return root2.raws.indent;
|
|
5287
5287
|
let value;
|
|
5288
5288
|
root2.walk((i2) => {
|
|
5289
|
-
let
|
|
5290
|
-
if (
|
|
5289
|
+
let p2 = i2.parent;
|
|
5290
|
+
if (p2 && p2 !== root2 && p2.parent && p2.parent === root2) {
|
|
5291
5291
|
if (typeof i2.raws.before !== "undefined") {
|
|
5292
5292
|
let parts = i2.raws.before.split("\n");
|
|
5293
5293
|
value = parts[parts.length - 1];
|
|
@@ -5385,7 +5385,7 @@ function requireNode() {
|
|
|
5385
5385
|
} else if (i2 === "source") {
|
|
5386
5386
|
cloned[i2] = value;
|
|
5387
5387
|
} else if (Array.isArray(value)) {
|
|
5388
|
-
cloned[i2] = value.map((
|
|
5388
|
+
cloned[i2] = value.map((j2) => cloneNode(j2, cloned));
|
|
5389
5389
|
} else {
|
|
5390
5390
|
if (type === "object" && value !== null) value = cloneNode(value);
|
|
5391
5391
|
cloned[i2] = value;
|
|
@@ -6901,9 +6901,9 @@ function requireMapGenerator() {
|
|
|
6901
6901
|
column += str.length;
|
|
6902
6902
|
}
|
|
6903
6903
|
if (node2 && type !== "start") {
|
|
6904
|
-
let
|
|
6904
|
+
let p2 = node2.parent || { raws: {} };
|
|
6905
6905
|
let childless = node2.type === "decl" || node2.type === "atrule" && !node2.nodes;
|
|
6906
|
-
if (!childless || node2 !==
|
|
6906
|
+
if (!childless || node2 !== p2.last || p2.raws.semicolon) {
|
|
6907
6907
|
if (node2.source && node2.source.end) {
|
|
6908
6908
|
mapping.source = this.sourcePath(node2);
|
|
6909
6909
|
mapping.original.line = node2.source.end.line;
|
|
@@ -7396,8 +7396,8 @@ function requireParser() {
|
|
|
7396
7396
|
if (colon === false) return;
|
|
7397
7397
|
let founded = 0;
|
|
7398
7398
|
let token;
|
|
7399
|
-
for (let
|
|
7400
|
-
token = tokens[
|
|
7399
|
+
for (let j2 = colon - 1; j2 >= 0; j2--) {
|
|
7400
|
+
token = tokens[j2];
|
|
7401
7401
|
if (token[0] !== "space") {
|
|
7402
7402
|
founded += 1;
|
|
7403
7403
|
if (founded === 2) break;
|
|
@@ -7515,8 +7515,8 @@ function requireParser() {
|
|
|
7515
7515
|
} else if (token[1].toLowerCase() === "important") {
|
|
7516
7516
|
let cache = tokens.slice(0);
|
|
7517
7517
|
let str = "";
|
|
7518
|
-
for (let
|
|
7519
|
-
let type = cache[
|
|
7518
|
+
for (let j2 = i2; j2 > 0; j2--) {
|
|
7519
|
+
let type = cache[j2][0];
|
|
7520
7520
|
if (str.trim().startsWith("!") && type !== "space") {
|
|
7521
7521
|
break;
|
|
7522
7522
|
}
|
|
@@ -8104,8 +8104,8 @@ function requireLazyResult() {
|
|
|
8104
8104
|
let pluginVer = plugin.postcssVersion;
|
|
8105
8105
|
let runtimeVer = this.result.processor.version;
|
|
8106
8106
|
let a2 = pluginVer.split(".");
|
|
8107
|
-
let
|
|
8108
|
-
if (a2[0] !==
|
|
8107
|
+
let b2 = runtimeVer.split(".");
|
|
8108
|
+
if (a2[0] !== b2[0] || parseInt(a2[1]) > parseInt(b2[1])) {
|
|
8109
8109
|
console.error(
|
|
8110
8110
|
"Unknown error from PostCSS plugin. Your current PostCSS version is " + runtimeVer + ", but " + pluginName + " uses " + pluginVer + ". Perhaps this is the source of the error below."
|
|
8111
8111
|
);
|