@posthog/rrweb-player 0.0.23 → 0.0.24

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.
@@ -13248,12 +13248,13 @@ class Replayer {
13248
13248
  }
13249
13249
  }
13250
13250
  applyStyleDeclaration(data, styleSheet) {
13251
+ var _a2, _b2;
13251
13252
  if (data.set) {
13252
13253
  const rule2 = getNestedRule(
13253
13254
  styleSheet.rules,
13254
13255
  data.index
13255
13256
  );
13256
- rule2.style.setProperty(
13257
+ (_a2 = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _a2.setProperty(
13257
13258
  data.set.property,
13258
13259
  data.set.value,
13259
13260
  data.set.priority
@@ -13264,7 +13265,7 @@ class Replayer {
13264
13265
  styleSheet.rules,
13265
13266
  data.index
13266
13267
  );
13267
- rule2.style.removeProperty(data.remove.property);
13268
+ (_b2 = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _b2.removeProperty(data.remove.property);
13268
13269
  }
13269
13270
  }
13270
13271
  applyAdoptedStyleSheet(data) {