@amplitude/rrweb-player 2.0.0-alpha.32 → 2.0.0-alpha.33

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.
@@ -4073,6 +4073,7 @@ postcss$1$1.Input;
4073
4073
  postcss$1$1.Rule;
4074
4074
  postcss$1$1.Root;
4075
4075
  postcss$1$1.Node;
4076
+ const customElementExclusions = ["webview"];
4076
4077
  const tagMap = {
4077
4078
  script: "noscript",
4078
4079
  // camel case svg element tag names
@@ -4194,7 +4195,8 @@ function buildNode(n2, options) {
4194
4195
  // If the tag name is a custom element name
4195
4196
  n2.isCustom && // If the browser supports custom elements
4196
4197
  ((_a2 = doc.defaultView) == null ? void 0 : _a2.customElements) && // If the custom element hasn't been defined yet
4197
- !doc.defaultView.customElements.get(n2.tagName)
4198
+ !doc.defaultView.customElements.get(n2.tagName) && // If the tag is not in the exclusion list
4199
+ !customElementExclusions.includes(n2.tagName)
4198
4200
  )
4199
4201
  doc.defaultView.customElements.define(
4200
4202
  n2.tagName,