@posthog/rrweb-player 0.0.28 → 0.0.29

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.
@@ -4446,22 +4446,6 @@ postcss$1.Input;
4446
4446
  postcss$1.Rule;
4447
4447
  postcss$1.Root;
4448
4448
  postcss$1.Node;
4449
- function adaptCssForReplay(cssText, cache) {
4450
- const cachedStyle = cache == null ? void 0 : cache.stylesWithHoverClass.get(cssText);
4451
- if (cachedStyle) return cachedStyle;
4452
- let result2 = cssText;
4453
- try {
4454
- const ast = postcss$1([
4455
- mediaSelectorPlugin,
4456
- pseudoClassPlugin
4457
- ]).process(cssText, { parser: safeParser });
4458
- result2 = ast.css;
4459
- } catch (error) {
4460
- console.warn("Failed to adapt css for replay", error);
4461
- }
4462
- cache == null ? void 0 : cache.stylesWithHoverClass.set(cssText, result2);
4463
- return result2;
4464
- }
4465
4449
  const tagMap = {
4466
4450
  script: "noscript",
4467
4451
  // camel case svg element tag names
@@ -4509,6 +4493,22 @@ function getTagName(n2) {
4509
4493
  }
4510
4494
  return tagName;
4511
4495
  }
4496
+ function adaptCssForReplay(cssText, cache) {
4497
+ const cachedStyle = cache == null ? void 0 : cache.stylesWithHoverClass.get(cssText);
4498
+ if (cachedStyle) return cachedStyle;
4499
+ let result2 = cssText;
4500
+ try {
4501
+ const ast = postcss$1([
4502
+ mediaSelectorPlugin,
4503
+ pseudoClassPlugin
4504
+ ]).process(cssText, { parser: safeParser });
4505
+ result2 = ast.css;
4506
+ } catch (error) {
4507
+ console.warn("Failed to adapt css for replay", error);
4508
+ }
4509
+ cache == null ? void 0 : cache.stylesWithHoverClass.set(cssText, result2);
4510
+ return result2;
4511
+ }
4512
4512
  function createCache() {
4513
4513
  const stylesWithHoverClass = /* @__PURE__ */ new Map();
4514
4514
  return {