@appsurify-testmap/rrweb-replay 2.1.2-alpha.1 → 2.1.2-alpha.2

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.
@@ -225,10 +225,13 @@ function inspectInlineEventHandlers$1() {
225
225
  });
226
226
  });
227
227
  }
228
- if (document.readyState === "complete" || document.readyState === "interactive") {
229
- inspectInlineEventHandlers$1();
230
- } else {
231
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
228
+ try {
229
+ if (document.readyState === "complete" || document.readyState === "interactive") {
230
+ inspectInlineEventHandlers$1();
231
+ } else {
232
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
233
+ }
234
+ } catch (error) {
232
235
  }
233
236
  const MEDIA_SELECTOR = /(max|min)-device-(width|height)/;
234
237
  const MEDIA_SELECTOR_GLOBAL = new RegExp(MEDIA_SELECTOR.source, "g");
@@ -4515,10 +4518,13 @@ function inspectInlineEventHandlers() {
4515
4518
  });
4516
4519
  });
4517
4520
  }
4518
- if (document.readyState === "complete" || document.readyState === "interactive") {
4519
- inspectInlineEventHandlers();
4520
- } else {
4521
- document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
4521
+ try {
4522
+ if (document.readyState === "complete" || document.readyState === "interactive") {
4523
+ inspectInlineEventHandlers();
4524
+ } else {
4525
+ document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
4526
+ }
4527
+ } catch (error) {
4522
4528
  }
4523
4529
  function getDefaultExportFromCjs(x2) {
4524
4530
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;