@posthog/rrweb 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.
package/dist/rrweb.cjs CHANGED
@@ -17470,12 +17470,13 @@ class Replayer {
17470
17470
  }
17471
17471
  }
17472
17472
  applyStyleDeclaration(data, styleSheet) {
17473
+ var _a2, _b;
17473
17474
  if (data.set) {
17474
17475
  const rule2 = getNestedRule(
17475
17476
  styleSheet.rules,
17476
17477
  data.index
17477
17478
  );
17478
- rule2.style.setProperty(
17479
+ (_a2 = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _a2.setProperty(
17479
17480
  data.set.property,
17480
17481
  data.set.value,
17481
17482
  data.set.priority
@@ -17486,7 +17487,7 @@ class Replayer {
17486
17487
  styleSheet.rules,
17487
17488
  data.index
17488
17489
  );
17489
- rule2.style.removeProperty(data.remove.property);
17490
+ (_b = rule2 == null ? void 0 : rule2.style) == null ? void 0 : _b.removeProperty(data.remove.property);
17490
17491
  }
17491
17492
  }
17492
17493
  applyAdoptedStyleSheet(data) {