@everymatrix/bonus-elevate-shop-item 1.54.12 → 1.55.0

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.
Files changed (25) hide show
  1. package/dist/bonus-elevate-shop-item/bonus-elevate-shop-item.esm.js +1 -1
  2. package/dist/bonus-elevate-shop-item/p-11ccf3d4.entry.js +1 -0
  3. package/dist/bonus-elevate-shop-item/p-8ebd9aab.js +2 -0
  4. package/dist/cjs/bonus-elevate-shop-assets-slider_3.cjs.entry.js +16 -47
  5. package/dist/cjs/bonus-elevate-shop-item.cjs.js +2 -2
  6. package/dist/cjs/{index-5ee6395c.js → index-791389e8.js} +147 -257
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-assets-slider.js +5 -22
  10. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-item.js +7 -41
  11. package/dist/esm/bonus-elevate-shop-assets-slider_3.entry.js +16 -47
  12. package/dist/esm/bonus-elevate-shop-item.js +3 -3
  13. package/dist/esm/{index-d65aef7f.js → index-3fe56209.js} +147 -257
  14. package/dist/esm/loader.js +2 -2
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.d.ts +2 -0
  16. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.dev.d.ts +2 -0
  17. package/package.json +1 -1
  18. package/dist/bonus-elevate-shop-item/p-649baad8.entry.js +0 -1
  19. package/dist/bonus-elevate-shop-item/p-7e614c16.js +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.d.ts +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.dev.d.ts +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/index.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,27 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'bonus-elevate-shop-item';
24
- const BUILD = /* bonus-elevate-shop-item */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
24
+ const BUILD = /* bonus-elevate-shop-item */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
31
31
  for (var name in all)
32
32
  __defProp(target, name, { get: all[name], enumerable: true });
33
33
  };
34
-
35
- // src/utils/constants.ts
36
- var SVG_NS = "http://www.w3.org/2000/svg";
37
- var HTML_NS = "http://www.w3.org/1999/xhtml";
38
-
39
- // src/client/client-host-ref.ts
40
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
41
35
  var getHostRef = (ref) => hostRefs.get(ref);
42
- var registerInstance = (lazyInstance, hostRef) => {
43
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
44
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
45
37
  var registerHost = (hostElement, cmpMeta) => {
46
38
  const hostRef = {
47
39
  $flags$: 0,
@@ -54,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
54
46
  hostElement["s-p"] = [];
55
47
  hostElement["s-rc"] = [];
56
48
  }
57
- const ref = hostRefs.set(hostElement, hostRef);
58
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
59
50
  };
60
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
61
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -92,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
83
  /* webpackExclude: /\.system\.entry\.js$/ */
93
84
  /* webpackMode: "lazy" */
94
85
  `./${bundleId}.entry.js${""}`
95
- )); }).then(
96
- (importedModule) => {
97
- {
98
- cmpModules.set(bundleId, importedModule);
99
- }
100
- return importedModule[exportName];
101
- },
102
- (e) => {
103
- consoleError(e, hostRef.$hostElement$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
104
89
  }
105
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
106
92
  };
107
93
 
108
94
  // src/client/client-style.ts
109
95
  var styles = /* @__PURE__ */ new Map();
110
- var HYDRATED_STYLE_ID = "sty-id";
111
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
112
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
113
98
  var win = typeof window !== "undefined" ? window : {};
@@ -165,6 +150,14 @@ var flush = () => {
165
150
  };
166
151
  var nextTick = (cb) => promiseResolve().then(cb);
167
152
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
153
+
154
+ // src/utils/constants.ts
155
+ var EMPTY_OBJ = {};
156
+ var SVG_NS = "http://www.w3.org/2000/svg";
157
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
158
+
159
+ // src/utils/helpers.ts
160
+ var isDef = (v) => v != null;
168
161
  var isComplexType = (o) => {
169
162
  o = typeof o;
170
163
  return o === "object" || o === "function";
@@ -224,63 +217,6 @@ var unwrapErr = (result) => {
224
217
  throw result.value;
225
218
  }
226
219
  };
227
- var updateFallbackSlotVisibility = (elm) => {
228
- const childNodes = elm.__childNodes || elm.childNodes;
229
- if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
230
- getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
231
- var _a;
232
- if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
233
- if ((_a = getHostSlotChildNodes(slotNode, slotNode["s-sn"], false)) == null ? void 0 : _a.length) {
234
- slotNode.hidden = true;
235
- } else {
236
- slotNode.hidden = false;
237
- }
238
- }
239
- });
240
- }
241
- for (const childNode of childNodes) {
242
- if (childNode.nodeType === 1 /* ElementNode */ && (childNode.__childNodes || childNode.childNodes).length) {
243
- updateFallbackSlotVisibility(childNode);
244
- }
245
- }
246
- };
247
- function getHostSlotNodes(childNodes, hostName, slotName) {
248
- let i2 = 0;
249
- let slottedNodes = [];
250
- let childNode;
251
- for (; i2 < childNodes.length; i2++) {
252
- childNode = childNodes[i2];
253
- if (childNode["s-sr"] && childNode["s-hn"] === hostName && (slotName === void 0 || childNode["s-sn"] === slotName)) {
254
- slottedNodes.push(childNode);
255
- if (typeof slotName !== "undefined") return slottedNodes;
256
- }
257
- slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
258
- }
259
- return slottedNodes;
260
- }
261
- var getHostSlotChildNodes = (node, slotName, includeSlot = true) => {
262
- const childNodes = [];
263
- if (includeSlot && node["s-sr"] || !node["s-sr"]) childNodes.push(node);
264
- while ((node = node.nextSibling) && node["s-sn"] === slotName) {
265
- childNodes.push(node);
266
- }
267
- return childNodes;
268
- };
269
- var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
270
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
271
- if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
272
- return true;
273
- }
274
- if (nodeToRelocate.getAttribute("slot") === slotName) {
275
- return true;
276
- }
277
- return false;
278
- }
279
- if (nodeToRelocate["s-sn"] === slotName) {
280
- return true;
281
- }
282
- return slotName === "";
283
- };
284
220
  var createTime = (fnName, tagName = "") => {
285
221
  {
286
222
  return () => {
@@ -472,7 +408,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
472
408
  }
473
409
  if (!appliedStyles.has(scopeId2)) {
474
410
  {
475
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
411
+ styleElm = doc.createElement("style");
476
412
  styleElm.innerHTML = style;
477
413
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
478
414
  if (nonce != null) {
@@ -482,10 +418,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
482
418
  if (styleContainerNode.nodeName === "HEAD") {
483
419
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
484
420
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
485
- styleContainerNode.insertBefore(
486
- styleElm,
487
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
488
- );
421
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
489
422
  } else if ("host" in styleContainerNode) {
490
423
  if (supportsConstructableStylesheets) {
491
424
  const stylesheet = new CSSStyleSheet();
@@ -503,7 +436,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
503
436
  styleContainerNode.append(styleElm);
504
437
  }
505
438
  }
506
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
439
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
507
440
  styleContainerNode.insertBefore(styleElm, null);
508
441
  }
509
442
  }
@@ -528,25 +461,23 @@ var attachStyles = (hostRef) => {
528
461
  const scopeId2 = addStyle(
529
462
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
530
463
  cmpMeta);
531
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
464
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
532
465
  elm["s-sc"] = scopeId2;
533
466
  elm.classList.add(scopeId2 + "-h");
534
467
  }
535
468
  endAttachStyles();
536
469
  };
537
470
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
538
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
471
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
539
472
  if (oldValue !== newValue) {
540
473
  let isProp = isMemberInElement(elm, memberName);
541
474
  let ln = memberName.toLowerCase();
542
475
  if (memberName === "class") {
543
476
  const classList = elm.classList;
544
477
  const oldClasses = parseClassList(oldValue);
545
- let newClasses = parseClassList(newValue);
546
- {
547
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
548
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
549
- }
478
+ const newClasses = parseClassList(newValue);
479
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
480
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
550
481
  } else if (memberName === "style") {
551
482
  {
552
483
  for (const prop in oldValue) {
@@ -605,7 +536,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
605
536
  elm.setAttribute(memberName, n);
606
537
  }
607
538
  }
608
- } else if (elm[memberName] !== newValue) {
539
+ } else {
609
540
  elm[memberName] = newValue;
610
541
  }
611
542
  } catch (e) {
@@ -627,44 +558,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
627
558
  }
628
559
  };
629
560
  var parseClassListRegex = /\s/;
630
- var parseClassList = (value) => {
631
- if (typeof value === "object" && value && "baseVal" in value) {
632
- value = value.baseVal;
633
- }
634
- if (!value || typeof value !== "string") {
635
- return [];
636
- }
637
- return value.split(parseClassListRegex);
638
- };
561
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
639
562
  var CAPTURE_EVENT_SUFFIX = "Capture";
640
563
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
641
564
 
642
565
  // src/runtime/vdom/update-element.ts
643
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
566
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
644
567
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
645
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
646
- const newVnodeAttrs = newVnode.$attrs$ || {};
568
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
569
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
647
570
  {
648
571
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
649
572
  if (!(memberName in newVnodeAttrs)) {
650
- setAccessor(
651
- elm,
652
- memberName,
653
- oldVnodeAttrs[memberName],
654
- void 0,
655
- isSvgMode2,
656
- newVnode.$flags$);
573
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
657
574
  }
658
575
  }
659
576
  }
660
577
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
661
- setAccessor(
662
- elm,
663
- memberName,
664
- oldVnodeAttrs[memberName],
665
- newVnodeAttrs[memberName],
666
- isSvgMode2,
667
- newVnode.$flags$);
578
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
668
579
  }
669
580
  };
670
581
  function sortedAttrNames(attrNames) {
@@ -676,13 +587,16 @@ function sortedAttrNames(attrNames) {
676
587
  attrNames
677
588
  );
678
589
  }
590
+
591
+ // src/runtime/vdom/vdom-render.ts
592
+ var scopeId;
679
593
  var contentRef;
680
594
  var hostTagName;
681
595
  var useNativeShadowDom = false;
682
596
  var checkSlotFallbackVisibility = false;
683
597
  var checkSlotRelocate = false;
684
598
  var isSvgMode = false;
685
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
599
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
686
600
  var _a;
687
601
  const newVNode2 = newParentVNode.$children$[childIndex];
688
602
  let i2 = 0;
@@ -692,6 +606,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
692
606
  if (!useNativeShadowDom) {
693
607
  checkSlotRelocate = true;
694
608
  if (newVNode2.$tag$ === "slot") {
609
+ if (scopeId) {
610
+ parentElm.classList.add(scopeId + "-s");
611
+ }
695
612
  newVNode2.$flags$ |= newVNode2.$children$ ? (
696
613
  // slot element has fallback content
697
614
  // still create an element that "mocks" the slot element
@@ -722,9 +639,14 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
722
639
  {
723
640
  updateElement(null, newVNode2, isSvgMode);
724
641
  }
642
+ const rootNode = elm.getRootNode();
643
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
644
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
645
+ elm.classList.add(elm["s-si"] = scopeId);
646
+ }
725
647
  if (newVNode2.$children$) {
726
648
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
727
- childNode = createElm(oldParentVNode, newVNode2, i2);
649
+ childNode = createElm(oldParentVNode, newVNode2, i2, elm);
728
650
  if (childNode) {
729
651
  elm.appendChild(childNode);
730
652
  }
@@ -757,7 +679,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
757
679
  };
758
680
  var putBackInOriginalLocation = (parentElm, recursive) => {
759
681
  plt.$flags$ |= 1 /* isTmpDisconnected */;
760
- const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
682
+ const oldSlotChildNodes = Array.from(parentElm.childNodes);
761
683
  if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
762
684
  let node = parentElm;
763
685
  while (node = node.nextSibling) {
@@ -769,7 +691,7 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
769
691
  for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
770
692
  const childNode = oldSlotChildNodes[i2];
771
693
  if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
772
- insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
694
+ insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
773
695
  childNode["s-ol"].remove();
774
696
  childNode["s-ol"] = void 0;
775
697
  childNode["s-sh"] = void 0;
@@ -789,7 +711,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
789
711
  }
790
712
  for (; startIdx <= endIdx; ++startIdx) {
791
713
  if (vnodes[startIdx]) {
792
- childNode = createElm(null, parentVNode, startIdx);
714
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
793
715
  if (childNode) {
794
716
  vnodes[startIdx].$elm$ = childNode;
795
717
  insertBefore(containerElm, childNode, referenceNode(before) );
@@ -876,7 +798,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
876
798
  if (idxInOld >= 0) {
877
799
  elmToMove = oldCh[idxInOld];
878
800
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
879
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
801
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
880
802
  } else {
881
803
  patch(elmToMove, newStartVnode, isInitialRender);
882
804
  oldCh[idxInOld] = void 0;
@@ -884,16 +806,12 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
884
806
  }
885
807
  newStartVnode = newCh[++newStartIdx];
886
808
  } else {
887
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
809
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
888
810
  newStartVnode = newCh[++newStartIdx];
889
811
  }
890
812
  if (node) {
891
813
  {
892
- insertBefore(
893
- referenceNode(oldStartVnode.$elm$).parentNode,
894
- node,
895
- referenceNode(oldStartVnode.$elm$)
896
- );
814
+ insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
897
815
  }
898
816
  }
899
817
  }
@@ -914,19 +832,28 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
914
832
  var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
915
833
  if (leftVNode.$tag$ === rightVNode.$tag$) {
916
834
  if (leftVNode.$tag$ === "slot") {
835
+ if (
836
+ // The component gets hydrated and no VDOM has been initialized.
837
+ // Here the comparison can't happen as $name$ property is not set for `leftNode`.
838
+ "$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
839
+ // hydration comments to be removed
840
+ leftVNode.$elm$.nodeType !== 8
841
+ ) {
842
+ return false;
843
+ }
917
844
  return leftVNode.$name$ === rightVNode.$name$;
918
845
  }
919
846
  if (!isInitialRender) {
920
847
  return leftVNode.$key$ === rightVNode.$key$;
921
848
  }
922
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
923
- leftVNode.$key$ = rightVNode.$key$;
924
- }
925
849
  return true;
926
850
  }
927
851
  return false;
928
852
  };
929
- var referenceNode = (node) => node && node["s-ol"] || node;
853
+ var referenceNode = (node) => {
854
+ return node && node["s-ol"] || node;
855
+ };
856
+ var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
930
857
  var patch = (oldVNode, newVNode2, isInitialRender = false) => {
931
858
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
932
859
  const oldChildren = oldVNode.$children$;
@@ -965,15 +892,41 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
965
892
  elm.data = text;
966
893
  }
967
894
  };
895
+ var updateFallbackSlotVisibility = (elm) => {
896
+ const childNodes = elm.childNodes;
897
+ for (const childNode of childNodes) {
898
+ if (childNode.nodeType === 1 /* ElementNode */) {
899
+ if (childNode["s-sr"]) {
900
+ const slotName = childNode["s-sn"];
901
+ childNode.hidden = false;
902
+ for (const siblingNode of childNodes) {
903
+ if (siblingNode !== childNode) {
904
+ if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
905
+ if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
906
+ childNode.hidden = true;
907
+ break;
908
+ }
909
+ } else {
910
+ if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
911
+ childNode.hidden = true;
912
+ break;
913
+ }
914
+ }
915
+ }
916
+ }
917
+ }
918
+ updateFallbackSlotVisibility(childNode);
919
+ }
920
+ }
921
+ };
968
922
  var relocateNodes = [];
969
923
  var markSlotContentForRelocation = (elm) => {
970
924
  let node;
971
925
  let hostContentNodes;
972
926
  let j;
973
- const children = elm.__childNodes || elm.childNodes;
974
- for (const childNode of children) {
927
+ for (const childNode of elm.childNodes) {
975
928
  if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
976
- hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
929
+ hostContentNodes = node.parentNode.childNodes;
977
930
  const slotName = childNode["s-sn"];
978
931
  for (j = hostContentNodes.length - 1; j >= 0; j--) {
979
932
  node = hostContentNodes[j];
@@ -1015,6 +968,21 @@ var markSlotContentForRelocation = (elm) => {
1015
968
  }
1016
969
  }
1017
970
  };
971
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
972
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
973
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
974
+ return true;
975
+ }
976
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
977
+ return true;
978
+ }
979
+ return false;
980
+ }
981
+ if (nodeToRelocate["s-sn"] === slotName) {
982
+ return true;
983
+ }
984
+ return slotName === "";
985
+ };
1018
986
  var nullifyVNodeRefs = (vNode) => {
1019
987
  {
1020
988
  vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
@@ -1022,9 +990,8 @@ var nullifyVNodeRefs = (vNode) => {
1022
990
  }
1023
991
  };
1024
992
  var insertBefore = (parent, newNode, reference) => {
1025
- {
1026
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1027
- }
993
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
994
+ return inserted;
1028
995
  };
1029
996
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1030
997
  var _a, _b, _c, _d;
@@ -1050,7 +1017,10 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1050
1017
  rootVnode.$flags$ |= 4 /* isHost */;
1051
1018
  hostRef.$vnode$ = rootVnode;
1052
1019
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1053
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
1020
+ {
1021
+ scopeId = hostElm["s-sc"];
1022
+ }
1023
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1054
1024
  {
1055
1025
  contentRef = hostElm["s-cr"];
1056
1026
  checkSlotFallbackVisibility = false;
@@ -1078,7 +1048,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1078
1048
  let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1079
1049
  while (orgLocationNode) {
1080
1050
  let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1081
- if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1051
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
1082
1052
  refNode = refNode.nextSibling;
1083
1053
  while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1084
1054
  refNode = refNode == null ? void 0 : refNode.nextSibling;
@@ -1091,15 +1061,13 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1091
1061
  orgLocationNode = orgLocationNode.previousSibling;
1092
1062
  }
1093
1063
  }
1094
- const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
1095
- const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1096
- if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1064
+ if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
1097
1065
  if (nodeToRelocate !== insertBeforeNode) {
1098
1066
  if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1099
1067
  nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1100
1068
  }
1101
1069
  insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1102
- if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1070
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1103
1071
  nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1104
1072
  }
1105
1073
  }
@@ -1127,14 +1095,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1127
1095
  // src/runtime/update-component.ts
1128
1096
  var attachToAncestor = (hostRef, ancestorComponent) => {
1129
1097
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1130
- const index = ancestorComponent["s-p"].push(
1131
- new Promise(
1132
- (r) => hostRef.$onRenderResolve$ = () => {
1133
- ancestorComponent["s-p"].splice(index - 1, 1);
1134
- r();
1135
- }
1136
- )
1137
- );
1098
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
1138
1099
  }
1139
1100
  };
1140
1101
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -1161,7 +1122,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1161
1122
  let maybePromise;
1162
1123
  if (isInitialLoad) {
1163
1124
  {
1164
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1125
+ maybePromise = safeCall(instance, "componentWillLoad");
1165
1126
  }
1166
1127
  }
1167
1128
  endSchedule();
@@ -1230,7 +1191,7 @@ var postUpdateComponent = (hostRef) => {
1230
1191
  const instance = hostRef.$lazyInstance$ ;
1231
1192
  const ancestorComponent = hostRef.$ancestorComponent$;
1232
1193
  {
1233
- safeCall(instance, "componentDidRender", void 0, elm);
1194
+ safeCall(instance, "componentDidRender");
1234
1195
  }
1235
1196
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1236
1197
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -1238,7 +1199,7 @@ var postUpdateComponent = (hostRef) => {
1238
1199
  addHydratedFlag(elm);
1239
1200
  }
1240
1201
  {
1241
- safeCall(instance, "componentDidLoad", void 0, elm);
1202
+ safeCall(instance, "componentDidLoad");
1242
1203
  }
1243
1204
  endPostUpdate();
1244
1205
  {
@@ -1249,7 +1210,7 @@ var postUpdateComponent = (hostRef) => {
1249
1210
  }
1250
1211
  } else {
1251
1212
  {
1252
- safeCall(instance, "componentDidUpdate", void 0, elm);
1213
+ safeCall(instance, "componentDidUpdate");
1253
1214
  }
1254
1215
  endPostUpdate();
1255
1216
  }
@@ -1265,14 +1226,17 @@ var postUpdateComponent = (hostRef) => {
1265
1226
  }
1266
1227
  };
1267
1228
  var appDidLoad = (who) => {
1229
+ {
1230
+ addHydratedFlag(doc.documentElement);
1231
+ }
1268
1232
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1269
1233
  };
1270
- var safeCall = (instance, method, arg, elm) => {
1234
+ var safeCall = (instance, method, arg) => {
1271
1235
  if (instance && instance[method]) {
1272
1236
  try {
1273
1237
  return instance[method](arg);
1274
1238
  } catch (e) {
1275
- consoleError(e, elm);
1239
+ consoleError(e);
1276
1240
  }
1277
1241
  }
1278
1242
  return void 0;
@@ -1315,68 +1279,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1315
1279
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1316
1280
  members.map(([memberName, [memberFlags]]) => {
1317
1281
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1318
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1319
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1320
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1321
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1322
- Object.defineProperty(prototype, memberName, {
1323
- get() {
1324
- {
1325
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1326
- return getValue(this, memberName);
1327
- }
1328
- const ref = getHostRef(this);
1329
- const instance = ref ? ref.$lazyInstance$ : prototype;
1330
- if (!instance) return;
1331
- return instance[memberName];
1332
- }
1333
- },
1334
- configurable: true,
1335
- enumerable: true
1336
- });
1337
- }
1338
1282
  Object.defineProperty(prototype, memberName, {
1283
+ get() {
1284
+ return getValue(this, memberName);
1285
+ },
1339
1286
  set(newValue) {
1340
- const ref = getHostRef(this);
1341
- if (origSetter) {
1342
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1343
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1344
- newValue = ref.$instanceValues$.get(memberName);
1345
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1346
- ref.$instanceValues$.set(memberName, currentValue);
1347
- }
1348
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1349
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1350
- setValue(this, memberName, newValue, cmpMeta);
1351
- return;
1352
- }
1353
- {
1354
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1355
- setValue(this, memberName, newValue, cmpMeta);
1356
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1357
- ref.$onReadyPromise$.then(() => {
1358
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1359
- ref.$lazyInstance$[memberName] = newValue;
1360
- }
1361
- });
1362
- }
1363
- return;
1364
- }
1365
- const setterSetVal = () => {
1366
- const currentValue = ref.$lazyInstance$[memberName];
1367
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1368
- ref.$instanceValues$.set(memberName, currentValue);
1369
- }
1370
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1371
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1372
- };
1373
- if (ref.$lazyInstance$) {
1374
- setterSetVal();
1375
- } else {
1376
- ref.$onReadyPromise$.then(() => setterSetVal());
1377
- }
1378
- }
1379
- }
1287
+ setValue(this, memberName, newValue, cmpMeta);
1288
+ },
1289
+ configurable: true,
1290
+ enumerable: true
1380
1291
  });
1381
1292
  }
1382
1293
  });
@@ -1386,7 +1297,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1386
1297
  plt.jmp(() => {
1387
1298
  var _a2;
1388
1299
  const propName = attrNameToPropName.get(attrName);
1389
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1300
+ if (this.hasOwnProperty(propName)) {
1390
1301
  newValue = this[propName];
1391
1302
  delete this[propName];
1392
1303
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1406,11 +1317,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1406
1317
  }
1407
1318
  return;
1408
1319
  }
1409
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1410
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1411
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1412
- this[propName] = newValue;
1413
- }
1320
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1414
1321
  });
1415
1322
  };
1416
1323
  Cstr.observedAttributes = Array.from(
@@ -1439,7 +1346,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1439
1346
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1440
1347
  const bundleId = cmpMeta.$lazyBundleId$;
1441
1348
  if (bundleId) {
1442
- const CstrImport = loadModule(cmpMeta, hostRef);
1349
+ const CstrImport = loadModule(cmpMeta);
1443
1350
  if (CstrImport && "then" in CstrImport) {
1444
1351
  const endLoad = uniqueTime();
1445
1352
  Cstr = await CstrImport;
@@ -1461,13 +1368,13 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1461
1368
  try {
1462
1369
  new Cstr(hostRef);
1463
1370
  } catch (e) {
1464
- consoleError(e, elm);
1371
+ consoleError(e);
1465
1372
  }
1466
1373
  {
1467
1374
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1468
1375
  }
1469
1376
  endNewInstance();
1470
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1377
+ fireConnectedCallback(hostRef.$lazyInstance$);
1471
1378
  } else {
1472
1379
  Cstr = elm.constructor;
1473
1380
  const cmpTag = elm.localName;
@@ -1494,9 +1401,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1494
1401
  schedule();
1495
1402
  }
1496
1403
  };
1497
- var fireConnectedCallback = (instance, elm) => {
1404
+ var fireConnectedCallback = (instance) => {
1498
1405
  {
1499
- safeCall(instance, "connectedCallback", void 0, elm);
1406
+ safeCall(instance, "connectedCallback");
1500
1407
  }
1501
1408
  };
1502
1409
 
@@ -1537,9 +1444,9 @@ var connectedCallback = (elm) => {
1537
1444
  }
1538
1445
  } else {
1539
1446
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1540
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1447
+ fireConnectedCallback(hostRef.$lazyInstance$);
1541
1448
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1542
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1449
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1543
1450
  }
1544
1451
  }
1545
1452
  endConnected();
@@ -1552,26 +1459,20 @@ var setContentReference = (elm) => {
1552
1459
  contentRefElm["s-cn"] = true;
1553
1460
  insertBefore(elm, contentRefElm, elm.firstChild);
1554
1461
  };
1555
- var disconnectInstance = (instance, elm) => {
1462
+ var disconnectInstance = (instance) => {
1556
1463
  {
1557
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1464
+ safeCall(instance, "disconnectedCallback");
1558
1465
  }
1559
1466
  };
1560
1467
  var disconnectedCallback = async (elm) => {
1561
1468
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1562
1469
  const hostRef = getHostRef(elm);
1563
1470
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1564
- disconnectInstance(hostRef.$lazyInstance$, elm);
1471
+ disconnectInstance(hostRef.$lazyInstance$);
1565
1472
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1566
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1473
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1567
1474
  }
1568
1475
  }
1569
- if (rootAppliedStyles.has(elm)) {
1570
- rootAppliedStyles.delete(elm);
1571
- }
1572
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1573
- rootAppliedStyles.delete(elm.shadowRoot);
1574
- }
1575
1476
  };
1576
1477
 
1577
1478
  // src/runtime/bootstrap-lazy.ts
@@ -1648,17 +1549,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1648
1549
  }
1649
1550
  disconnectedCallback() {
1650
1551
  plt.jmp(() => disconnectedCallback(this));
1651
- plt.raf(() => {
1652
- var _a3;
1653
- const hostRef = getHostRef(this);
1654
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1655
- if (i2 > -1) {
1656
- deferredConnectedCallbacks.splice(i2, 1);
1657
- }
1658
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1659
- delete hostRef.$vnode$.$elm$;
1660
- }
1661
- });
1662
1552
  }
1663
1553
  componentOnReady() {
1664
1554
  return getHostRef(this).$onReadyPromise$;