@appsurify-testmap/rrweb-player 2.0.0-alpha.32 → 2.0.0-alpha.40

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.
@@ -515,30 +515,6 @@ const interactiveEvents$1 = [
515
515
  "touchend",
516
516
  "touchcancel"
517
517
  ];
518
- const inlineEventAttributes$1 = [
519
- "onclick",
520
- "ondblclick",
521
- "onmousedown",
522
- "onmouseup",
523
- "onmouseover",
524
- "onmouseout",
525
- "onmousemove",
526
- "onfocus",
527
- "onblur",
528
- "onkeydown",
529
- "onkeypress",
530
- "onkeyup",
531
- "onchange",
532
- "oninput",
533
- "onsubmit",
534
- "onreset",
535
- "onselect",
536
- "oncontextmenu",
537
- "ontouchstart",
538
- "ontouchmove",
539
- "ontouchend",
540
- "ontouchcancel"
541
- ];
542
518
  const interactiveElementsRegistry$1 = /* @__PURE__ */ new WeakSet();
543
519
  const originalAddEventListener$1 = EventTarget.prototype.addEventListener;
544
520
  EventTarget.prototype.addEventListener = function(type, listener, options) {
@@ -554,21 +530,6 @@ const originalRemoveEventListener$1 = EventTarget.prototype.removeEventListener;
554
530
  EventTarget.prototype.removeEventListener = function(type, listener, options) {
555
531
  originalRemoveEventListener$1.call(this, type, listener, options);
556
532
  };
557
- function inspectInlineEventHandlers$1() {
558
- const allElements = document.querySelectorAll("*");
559
- allElements.forEach((el) => {
560
- inlineEventAttributes$1.forEach((attr2) => {
561
- if (el.hasAttribute(attr2)) {
562
- interactiveElementsRegistry$1.add(el);
563
- }
564
- });
565
- });
566
- }
567
- if (document.readyState === "complete" || document.readyState === "interactive") {
568
- inspectInlineEventHandlers$1();
569
- } else {
570
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
571
- }
572
533
  const MEDIA_SELECTOR = /(max|min)-device-(width|height)/;
573
534
  const MEDIA_SELECTOR_GLOBAL = new RegExp(MEDIA_SELECTOR.source, "g");
574
535
  const mediaSelectorPlugin = {
@@ -4625,30 +4586,6 @@ const interactiveEvents = [
4625
4586
  "touchend",
4626
4587
  "touchcancel"
4627
4588
  ];
4628
- const inlineEventAttributes = [
4629
- "onclick",
4630
- "ondblclick",
4631
- "onmousedown",
4632
- "onmouseup",
4633
- "onmouseover",
4634
- "onmouseout",
4635
- "onmousemove",
4636
- "onfocus",
4637
- "onblur",
4638
- "onkeydown",
4639
- "onkeypress",
4640
- "onkeyup",
4641
- "onchange",
4642
- "oninput",
4643
- "onsubmit",
4644
- "onreset",
4645
- "onselect",
4646
- "oncontextmenu",
4647
- "ontouchstart",
4648
- "ontouchmove",
4649
- "ontouchend",
4650
- "ontouchcancel"
4651
- ];
4652
4589
  const interactiveElementsRegistry = /* @__PURE__ */ new WeakSet();
4653
4590
  const originalAddEventListener = EventTarget.prototype.addEventListener;
4654
4591
  EventTarget.prototype.addEventListener = function(type, listener, options) {
@@ -4664,21 +4601,6 @@ const originalRemoveEventListener = EventTarget.prototype.removeEventListener;
4664
4601
  EventTarget.prototype.removeEventListener = function(type, listener, options) {
4665
4602
  originalRemoveEventListener.call(this, type, listener, options);
4666
4603
  };
4667
- function inspectInlineEventHandlers() {
4668
- const allElements = document.querySelectorAll("*");
4669
- allElements.forEach((el) => {
4670
- inlineEventAttributes.forEach((attr2) => {
4671
- if (el.hasAttribute(attr2)) {
4672
- interactiveElementsRegistry.add(el);
4673
- }
4674
- });
4675
- });
4676
- }
4677
- if (document.readyState === "complete" || document.readyState === "interactive") {
4678
- inspectInlineEventHandlers();
4679
- } else {
4680
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
4681
- }
4682
4604
  function getDefaultExportFromCjs(x2) {
4683
4605
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
4684
4606
  }