@posthog/rrweb-player 0.0.28 → 0.0.30

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.
@@ -4478,22 +4478,6 @@ postcss$1.Input;
4478
4478
  postcss$1.Rule;
4479
4479
  postcss$1.Root;
4480
4480
  postcss$1.Node;
4481
- function adaptCssForReplay(cssText, cache) {
4482
- const cachedStyle = cache == null ? void 0 : cache.stylesWithHoverClass.get(cssText);
4483
- if (cachedStyle) return cachedStyle;
4484
- let result2 = cssText;
4485
- try {
4486
- const ast = postcss$1([
4487
- mediaSelectorPlugin,
4488
- pseudoClassPlugin
4489
- ]).process(cssText, { parser: safeParser });
4490
- result2 = ast.css;
4491
- } catch (error) {
4492
- console.warn("Failed to adapt css for replay", error);
4493
- }
4494
- cache == null ? void 0 : cache.stylesWithHoverClass.set(cssText, result2);
4495
- return result2;
4496
- }
4497
4481
  const tagMap = {
4498
4482
  script: "noscript",
4499
4483
  // camel case svg element tag names
@@ -4541,6 +4525,22 @@ function getTagName(n2) {
4541
4525
  }
4542
4526
  return tagName;
4543
4527
  }
4528
+ function adaptCssForReplay(cssText, cache) {
4529
+ const cachedStyle = cache == null ? void 0 : cache.stylesWithHoverClass.get(cssText);
4530
+ if (cachedStyle) return cachedStyle;
4531
+ let result2 = cssText;
4532
+ try {
4533
+ const ast = postcss$1([
4534
+ mediaSelectorPlugin,
4535
+ pseudoClassPlugin
4536
+ ]).process(cssText, { parser: safeParser });
4537
+ result2 = ast.css;
4538
+ } catch (error) {
4539
+ console.warn("Failed to adapt css for replay", error);
4540
+ }
4541
+ cache == null ? void 0 : cache.stylesWithHoverClass.set(cssText, result2);
4542
+ return result2;
4543
+ }
4544
4544
  function createCache() {
4545
4545
  const stylesWithHoverClass = /* @__PURE__ */ new Map();
4546
4546
  return {