@everymatrix/general-footer-template 1.56.0 → 1.56.3

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 (43) hide show
  1. package/dist/cjs/custom-clock.cjs.entry.js +7 -19
  2. package/dist/cjs/custom-content-section.cjs.entry.js +1482 -1678
  3. package/dist/cjs/general-footer-template.cjs.entry.js +11 -31
  4. package/dist/cjs/general-footer-template.cjs.js +2 -2
  5. package/dist/cjs/image-list.cjs.entry.js +4 -9
  6. package/dist/cjs/{index-c1afe75b.js → index-a7f717fa.js} +91 -227
  7. package/dist/cjs/link-section-list.cjs.entry.js +4 -7
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/collection-manifest.json +2 -2
  10. package/dist/collection/components/custom-clock/custom-clock.js +5 -25
  11. package/dist/collection/components/custom-content-section/custom-content-section.js +2 -14
  12. package/dist/collection/components/general-footer-template/general-footer-template.js +10 -62
  13. package/dist/collection/components/image-list/image-list.js +3 -14
  14. package/dist/collection/components/link-section-list/link-section-list.js +3 -16
  15. package/dist/esm/custom-clock.entry.js +7 -19
  16. package/dist/esm/custom-content-section.entry.js +1482 -1678
  17. package/dist/esm/general-footer-template.entry.js +11 -31
  18. package/dist/esm/general-footer-template.js +3 -3
  19. package/dist/esm/image-list.entry.js +4 -9
  20. package/dist/esm/{index-732f640c.js → index-e6e68604.js} +91 -227
  21. package/dist/esm/link-section-list.entry.js +4 -7
  22. package/dist/esm/loader.js +2 -2
  23. package/dist/general-footer-template/general-footer-template.esm.js +1 -1
  24. package/dist/general-footer-template/p-076550c8.entry.js +1 -0
  25. package/dist/general-footer-template/p-16bd4237.js +2 -0
  26. package/dist/general-footer-template/p-2879096a.entry.js +1 -0
  27. package/dist/general-footer-template/{p-a8c0f5a0.entry.js → p-5f13c34b.entry.js} +2 -2
  28. package/dist/general-footer-template/p-d7132f51.entry.js +1 -0
  29. package/dist/general-footer-template/{p-3eda45d5.entry.js → p-f12f5263.entry.js} +1 -1
  30. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +2 -0
  31. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +2 -0
  32. package/dist/types/stencil-public-runtime.d.ts +0 -6
  33. package/package.json +1 -1
  34. package/dist/general-footer-template/p-1fc2e24a.js +0 -2
  35. package/dist/general-footer-template/p-55524eed.entry.js +0 -1
  36. package/dist/general-footer-template/p-a4b44512.entry.js +0 -1
  37. package/dist/general-footer-template/p-dd7ffd49.entry.js +0 -1
  38. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +0 -2
  39. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.dev.d.ts +0 -2
  40. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/index.d.ts +0 -0
  41. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  42. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  43. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,23 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'general-footer-template';
24
- const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, 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: false, propNumber: false, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, 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: true };
24
+ const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, 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: false, propNumber: false, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, 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: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.19.2 | 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/client/client-host-ref.ts
36
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
37
35
  var getHostRef = (ref) => hostRefs.get(ref);
38
- var registerInstance = (lazyInstance, hostRef) => {
39
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
40
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
41
37
  var registerHost = (hostElement, cmpMeta) => {
42
38
  const hostRef = {
43
39
  $flags$: 0,
@@ -50,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
50
46
  hostElement["s-p"] = [];
51
47
  hostElement["s-rc"] = [];
52
48
  }
53
- const ref = hostRefs.set(hostElement, hostRef);
54
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
55
50
  };
56
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
57
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -104,22 +99,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
104
99
  /* webpackExclude: /\.system\.entry\.js$/ */
105
100
  /* webpackMode: "lazy" */
106
101
  `./${bundleId}.entry.js${""}`
107
- )); }).then(
108
- (importedModule) => {
109
- {
110
- cmpModules.set(bundleId, importedModule);
111
- }
112
- return importedModule[exportName];
113
- },
114
- (e) => {
115
- consoleError(e, hostRef.$hostElement$);
102
+ )); }).then((importedModule) => {
103
+ {
104
+ cmpModules.set(bundleId, importedModule);
116
105
  }
117
- );
106
+ return importedModule[exportName];
107
+ }, consoleError);
118
108
  };
119
109
 
120
110
  // src/client/client-style.ts
121
111
  var styles = /* @__PURE__ */ new Map();
122
- var HYDRATED_STYLE_ID = "sty-id";
123
112
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
124
113
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
125
114
  var win = typeof window !== "undefined" ? window : {};
@@ -178,8 +167,11 @@ var flush = () => {
178
167
  var nextTick = (cb) => promiseResolve().then(cb);
179
168
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
180
169
 
170
+ // src/utils/constants.ts
171
+ var EMPTY_OBJ = {};
172
+
181
173
  // src/utils/helpers.ts
182
- var isDef = (v) => v != null && v !== void 0;
174
+ var isDef = (v) => v != null;
183
175
  var isComplexType = (o) => {
184
176
  o = typeof o;
185
177
  return o === "object" || o === "function";
@@ -401,40 +393,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
401
393
  }
402
394
  if (!appliedStyles.has(scopeId2)) {
403
395
  {
404
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
396
+ styleElm = doc.createElement("style");
405
397
  styleElm.innerHTML = style;
406
398
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
407
399
  if (nonce != null) {
408
400
  styleElm.setAttribute("nonce", nonce);
409
401
  }
410
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
411
- if (styleContainerNode.nodeName === "HEAD") {
412
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
413
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
414
- styleContainerNode.insertBefore(
415
- styleElm,
416
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
417
- );
418
- } else if ("host" in styleContainerNode) {
419
- if (supportsConstructableStylesheets) {
420
- const stylesheet = new CSSStyleSheet();
421
- stylesheet.replaceSync(style);
422
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
423
- } else {
424
- const existingStyleContainer = styleContainerNode.querySelector("style");
425
- if (existingStyleContainer) {
426
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
427
- } else {
428
- styleContainerNode.prepend(styleElm);
429
- }
430
- }
431
- } else {
432
- styleContainerNode.append(styleElm);
433
- }
434
- }
435
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
436
- styleContainerNode.insertBefore(styleElm, null);
437
- }
402
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
438
403
  }
439
404
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
440
405
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -457,25 +422,26 @@ var attachStyles = (hostRef) => {
457
422
  const scopeId2 = addStyle(
458
423
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
459
424
  cmpMeta);
460
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
425
+ if (flags & 10 /* needsScopedEncapsulation */) {
461
426
  elm["s-sc"] = scopeId2;
462
427
  elm.classList.add(scopeId2 + "-h");
428
+ if (flags & 2 /* scopedCssEncapsulation */) {
429
+ elm.classList.add(scopeId2 + "-s");
430
+ }
463
431
  }
464
432
  endAttachStyles();
465
433
  };
466
434
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
467
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
435
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
468
436
  if (oldValue !== newValue) {
469
437
  let isProp = isMemberInElement(elm, memberName);
470
438
  let ln = memberName.toLowerCase();
471
439
  if (memberName === "class") {
472
440
  const classList = elm.classList;
473
441
  const oldClasses = parseClassList(oldValue);
474
- let newClasses = parseClassList(newValue);
475
- {
476
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
477
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
478
- }
442
+ const newClasses = parseClassList(newValue);
443
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
444
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
479
445
  } else if (memberName === "style") {
480
446
  {
481
447
  for (const prop in oldValue) {
@@ -528,13 +494,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
528
494
  if (memberName === "list") {
529
495
  isProp = false;
530
496
  } else if (oldValue == null || elm[memberName] != n) {
531
- if (typeof elm.__lookupSetter__(memberName) === "function") {
532
- elm[memberName] = n;
533
- } else {
534
- elm.setAttribute(memberName, n);
535
- }
497
+ elm[memberName] = n;
536
498
  }
537
- } else if (elm[memberName] !== newValue) {
499
+ } else {
538
500
  elm[memberName] = newValue;
539
501
  }
540
502
  } catch (e) {
@@ -556,44 +518,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
556
518
  }
557
519
  };
558
520
  var parseClassListRegex = /\s/;
559
- var parseClassList = (value) => {
560
- if (typeof value === "object" && value && "baseVal" in value) {
561
- value = value.baseVal;
562
- }
563
- if (!value || typeof value !== "string") {
564
- return [];
565
- }
566
- return value.split(parseClassListRegex);
567
- };
521
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
568
522
  var CAPTURE_EVENT_SUFFIX = "Capture";
569
523
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
570
524
 
571
525
  // src/runtime/vdom/update-element.ts
572
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
526
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
573
527
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
574
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
575
- const newVnodeAttrs = newVnode.$attrs$ || {};
528
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
529
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
576
530
  {
577
531
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
578
532
  if (!(memberName in newVnodeAttrs)) {
579
- setAccessor(
580
- elm,
581
- memberName,
582
- oldVnodeAttrs[memberName],
583
- void 0,
584
- isSvgMode2,
585
- newVnode.$flags$);
533
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
586
534
  }
587
535
  }
588
536
  }
589
537
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
590
- setAccessor(
591
- elm,
592
- memberName,
593
- oldVnodeAttrs[memberName],
594
- newVnodeAttrs[memberName],
595
- isSvgMode2,
596
- newVnode.$flags$);
538
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
597
539
  }
598
540
  };
599
541
  function sortedAttrNames(attrNames) {
@@ -611,7 +553,7 @@ var scopeId;
611
553
  var hostTagName;
612
554
  var useNativeShadowDom = false;
613
555
  var isSvgMode = false;
614
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
556
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
615
557
  const newVNode2 = newParentVNode.$children$[childIndex];
616
558
  let i2 = 0;
617
559
  let elm;
@@ -628,9 +570,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
628
570
  if (isDef(scopeId) && elm["s-si"] !== scopeId) {
629
571
  elm.classList.add(elm["s-si"] = scopeId);
630
572
  }
573
+ {
574
+ updateElementScopeIds(elm, parentElm);
575
+ }
631
576
  if (newVNode2.$children$) {
632
577
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
633
- childNode = createElm(oldParentVNode, newVNode2, i2);
578
+ childNode = createElm(oldParentVNode, newVNode2, i2, elm);
634
579
  if (childNode) {
635
580
  elm.appendChild(childNode);
636
581
  }
@@ -648,7 +593,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
648
593
  }
649
594
  for (; startIdx <= endIdx; ++startIdx) {
650
595
  if (vnodes[startIdx]) {
651
- childNode = createElm(null, parentVNode, startIdx);
596
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
652
597
  if (childNode) {
653
598
  vnodes[startIdx].$elm$ = childNode;
654
599
  insertBefore(containerElm, childNode, before);
@@ -721,7 +666,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
721
666
  if (idxInOld >= 0) {
722
667
  elmToMove = oldCh[idxInOld];
723
668
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
724
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
669
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
725
670
  } else {
726
671
  patch(elmToMove, newStartVnode, isInitialRender);
727
672
  oldCh[idxInOld] = void 0;
@@ -729,7 +674,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
729
674
  }
730
675
  newStartVnode = newCh[++newStartIdx];
731
676
  } else {
732
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
677
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
733
678
  newStartVnode = newCh[++newStartIdx];
734
679
  }
735
680
  if (node) {
@@ -757,9 +702,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
757
702
  if (!isInitialRender) {
758
703
  return leftVNode.$key$ === rightVNode.$key$;
759
704
  }
760
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
761
- leftVNode.$key$ = rightVNode.$key$;
762
- }
763
705
  return true;
764
706
  }
765
707
  return false;
@@ -782,10 +724,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
782
724
  elm.textContent = "";
783
725
  }
784
726
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
785
- } else if (
786
- // don't do this on initial render as it can cause non-hydrated content to be removed
787
- !isInitialRender && BUILD.updatable && oldChildren !== null
788
- ) {
727
+ } else if (oldChildren !== null) {
789
728
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
790
729
  }
791
730
  } else if (oldVNode.$text$ !== text) {
@@ -799,34 +738,38 @@ var nullifyVNodeRefs = (vNode) => {
799
738
  }
800
739
  };
801
740
  var insertBefore = (parent, newNode, reference) => {
802
- if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
803
- addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
804
- }
741
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
805
742
  {
806
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
743
+ updateElementScopeIds(newNode, parent);
807
744
  }
745
+ return inserted;
808
746
  };
809
- function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
810
- var _a, _b;
811
- let scopeId2;
812
- if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
813
- const scopeName = slotNode["s-sn"];
814
- const hostName = slotNode["s-hn"];
815
- (_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
816
- if (oldParent && ((_b = oldParent.classList) == null ? void 0 : _b.contains(scopeId2 + "-s"))) {
817
- let child = (oldParent.__childNodes || oldParent.childNodes)[0];
818
- let found = false;
819
- while (child) {
820
- if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
821
- found = true;
822
- break;
747
+ var findScopeIds = (element) => {
748
+ const scopeIds = [];
749
+ if (element) {
750
+ scopeIds.push(
751
+ ...element["s-scs"] || [],
752
+ element["s-si"],
753
+ element["s-sc"],
754
+ ...findScopeIds(element.parentElement)
755
+ );
756
+ }
757
+ return scopeIds;
758
+ };
759
+ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
760
+ var _a;
761
+ if (element && parent && element.nodeType === 1 /* ElementNode */) {
762
+ const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
763
+ if (scopeIds.size) {
764
+ (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = [...scopeIds]);
765
+ if (element["s-ol"] || iterateChildNodes) {
766
+ for (const childNode of Array.from(element.childNodes)) {
767
+ updateElementScopeIds(childNode, element, true);
823
768
  }
824
- child = child.nextSibling;
825
769
  }
826
- if (!found) oldParent.classList.remove(scopeId2 + "-s");
827
770
  }
828
771
  }
829
- }
772
+ };
830
773
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
831
774
  const hostElm = hostRef.$hostElement$;
832
775
  const cmpMeta = hostRef.$cmpMeta$;
@@ -853,21 +796,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
853
796
  {
854
797
  scopeId = hostElm["s-sc"];
855
798
  }
856
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
799
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
857
800
  patch(oldVNode, rootVnode, isInitialLoad);
858
801
  };
859
802
 
860
803
  // src/runtime/update-component.ts
861
804
  var attachToAncestor = (hostRef, ancestorComponent) => {
862
805
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
863
- const index = ancestorComponent["s-p"].push(
864
- new Promise(
865
- (r) => hostRef.$onRenderResolve$ = () => {
866
- ancestorComponent["s-p"].splice(index - 1, 1);
867
- r();
868
- }
869
- )
870
- );
806
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
871
807
  }
872
808
  };
873
809
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -894,7 +830,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
894
830
  let maybePromise;
895
831
  if (isInitialLoad) {
896
832
  {
897
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
833
+ maybePromise = safeCall(instance, "componentWillLoad");
898
834
  }
899
835
  }
900
836
  endSchedule();
@@ -968,7 +904,7 @@ var postUpdateComponent = (hostRef) => {
968
904
  addHydratedFlag(elm);
969
905
  }
970
906
  {
971
- safeCall(instance, "componentDidLoad", void 0, elm);
907
+ safeCall(instance, "componentDidLoad");
972
908
  }
973
909
  endPostUpdate();
974
910
  {
@@ -992,14 +928,17 @@ var postUpdateComponent = (hostRef) => {
992
928
  }
993
929
  };
994
930
  var appDidLoad = (who) => {
931
+ {
932
+ addHydratedFlag(doc.documentElement);
933
+ }
995
934
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
996
935
  };
997
- var safeCall = (instance, method, arg, elm) => {
936
+ var safeCall = (instance, method, arg) => {
998
937
  if (instance && instance[method]) {
999
938
  try {
1000
939
  return instance[method](arg);
1001
940
  } catch (e) {
1002
- consoleError(e, elm);
941
+ consoleError(e);
1003
942
  }
1004
943
  }
1005
944
  return void 0;
@@ -1058,68 +997,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1058
997
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1059
998
  members.map(([memberName, [memberFlags]]) => {
1060
999
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1061
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1062
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1063
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1064
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1065
- Object.defineProperty(prototype, memberName, {
1066
- get() {
1067
- {
1068
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1069
- return getValue(this, memberName);
1070
- }
1071
- const ref = getHostRef(this);
1072
- const instance = ref ? ref.$lazyInstance$ : prototype;
1073
- if (!instance) return;
1074
- return instance[memberName];
1075
- }
1076
- },
1077
- configurable: true,
1078
- enumerable: true
1079
- });
1080
- }
1081
1000
  Object.defineProperty(prototype, memberName, {
1001
+ get() {
1002
+ return getValue(this, memberName);
1003
+ },
1082
1004
  set(newValue) {
1083
- const ref = getHostRef(this);
1084
- if (origSetter) {
1085
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1086
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1087
- newValue = ref.$instanceValues$.get(memberName);
1088
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1089
- ref.$instanceValues$.set(memberName, currentValue);
1090
- }
1091
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1092
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1093
- setValue(this, memberName, newValue, cmpMeta);
1094
- return;
1095
- }
1096
- {
1097
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1098
- setValue(this, memberName, newValue, cmpMeta);
1099
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1100
- ref.$onReadyPromise$.then(() => {
1101
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1102
- ref.$lazyInstance$[memberName] = newValue;
1103
- }
1104
- });
1105
- }
1106
- return;
1107
- }
1108
- const setterSetVal = () => {
1109
- const currentValue = ref.$lazyInstance$[memberName];
1110
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1111
- ref.$instanceValues$.set(memberName, currentValue);
1112
- }
1113
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1114
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1115
- };
1116
- if (ref.$lazyInstance$) {
1117
- setterSetVal();
1118
- } else {
1119
- ref.$onReadyPromise$.then(() => setterSetVal());
1120
- }
1121
- }
1122
- }
1005
+ setValue(this, memberName, newValue, cmpMeta);
1006
+ },
1007
+ configurable: true,
1008
+ enumerable: true
1123
1009
  });
1124
1010
  }
1125
1011
  });
@@ -1129,11 +1015,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1129
1015
  plt.jmp(() => {
1130
1016
  var _a2;
1131
1017
  const propName = attrNameToPropName.get(attrName);
1132
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1018
+ if (this.hasOwnProperty(propName)) {
1133
1019
  newValue = this[propName];
1134
1020
  delete this[propName];
1135
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1136
- this[propName] == newValue) {
1021
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1137
1022
  return;
1138
1023
  } else if (propName == null) {
1139
1024
  const hostRef = getHostRef(this);
@@ -1149,11 +1034,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1149
1034
  }
1150
1035
  return;
1151
1036
  }
1152
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1153
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1154
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1155
- this[propName] = newValue;
1156
- }
1037
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1157
1038
  });
1158
1039
  };
1159
1040
  Cstr.observedAttributes = Array.from(
@@ -1182,7 +1063,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1182
1063
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1183
1064
  const bundleId = cmpMeta.$lazyBundleId$;
1184
1065
  if (bundleId) {
1185
- const CstrImport = loadModule(cmpMeta, hostRef);
1066
+ const CstrImport = loadModule(cmpMeta);
1186
1067
  if (CstrImport && "then" in CstrImport) {
1187
1068
  const endLoad = uniqueTime();
1188
1069
  Cstr = await CstrImport;
@@ -1207,7 +1088,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1207
1088
  try {
1208
1089
  new Cstr(hostRef);
1209
1090
  } catch (e) {
1210
- consoleError(e, elm);
1091
+ consoleError(e);
1211
1092
  }
1212
1093
  {
1213
1094
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1242,7 +1123,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1242
1123
  schedule();
1243
1124
  }
1244
1125
  };
1245
- var fireConnectedCallback = (instance, elm) => {
1126
+ var fireConnectedCallback = (instance) => {
1246
1127
  };
1247
1128
 
1248
1129
  // src/runtime/connected-callback.ts
@@ -1282,26 +1163,20 @@ var connectedCallback = (elm) => {
1282
1163
  endConnected();
1283
1164
  }
1284
1165
  };
1285
- var disconnectInstance = (instance, elm) => {
1166
+ var disconnectInstance = (instance) => {
1286
1167
  {
1287
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1168
+ safeCall(instance, "disconnectedCallback");
1288
1169
  }
1289
1170
  };
1290
1171
  var disconnectedCallback = async (elm) => {
1291
1172
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1292
1173
  const hostRef = getHostRef(elm);
1293
1174
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1294
- disconnectInstance(hostRef.$lazyInstance$, elm);
1175
+ disconnectInstance(hostRef.$lazyInstance$);
1295
1176
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1296
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1177
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1297
1178
  }
1298
1179
  }
1299
- if (rootAppliedStyles.has(elm)) {
1300
- rootAppliedStyles.delete(elm);
1301
- }
1302
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1303
- rootAppliedStyles.delete(elm.shadowRoot);
1304
- }
1305
1180
  };
1306
1181
 
1307
1182
  // src/runtime/bootstrap-lazy.ts
@@ -1382,17 +1257,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1382
1257
  }
1383
1258
  disconnectedCallback() {
1384
1259
  plt.jmp(() => disconnectedCallback(this));
1385
- plt.raf(() => {
1386
- var _a3;
1387
- const hostRef = getHostRef(this);
1388
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1389
- if (i2 > -1) {
1390
- deferredConnectedCallbacks.splice(i2, 1);
1391
- }
1392
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1393
- delete hostRef.$vnode$.$elm$;
1394
- }
1395
- });
1396
1260
  }
1397
1261
  componentOnReady() {
1398
1262
  return getHostRef(this).$onReadyPromise$;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-c1afe75b.js');
5
+ const index = require('./index-a7f717fa.js');
6
6
 
7
7
  const linkSectionListCss = ":host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.LinkSectionListContainer {\n display: block;\n container-type: inline-size;\n}\n.LinkSectionListWrapper {\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n grid-template-columns: 1fr;\n}\n.LinkSectionListTitle {\n font-weight: var(--emw--font-weight-semibold, 500);\n text-transform: uppercase;\n}\n.LinkSectionListLink {\n font-weight: var(--emw--font-weight-light, 300);\n}\n\nul {\n width: fit-content;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: var(--emw--spacing-medium, 16px);\n padding-left: var(--emw--spacing-small-minus, 10px);\n font-size: var(--emw--font-size-small, 16px);\n text-transform: uppercase;\n}\nul li {\n list-style: disc;\n display: flex;\n align-items: center;\n padding-left: 25px;\n position: relative;\n}\nul li::before {\n content: \"\";\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n height: 8px;\n background-color: var(--emw--footer-color-primary, var(--emw--color-primary, #22B04E));\n border-radius: 50%;\n}\nul li .LinkSectionListLinkText {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\nul li .LinkSectionListLinkText span {\n text-align: center;\n cursor: pointer;\n}\nul li .LinkSectionListLinkText img.LinkSectionIcon {\n position: relative;\n height: 25px;\n padding: 0 5px;\n}\n\na {\n color: inherit;\n}\n\n@container (min-width: 280px) {\n .LinkSectionListWrapper {\n grid-template-columns: repeat(2, 1fr);\n }\n}\n@container (min-width: 650px) {\n .LinkSectionListWrapper {\n grid-gap: 2rem;\n grid-template-columns: repeat(4, 1fr);\n grid-template-rows: 1fr;\n }\n}";
8
8
  const LinkSectionListStyle0 = linkSectionListCss;
@@ -10,13 +10,10 @@ const LinkSectionListStyle0 = linkSectionListCss;
10
10
  const LinkSectionList = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
- /**
14
- * If this is true it will emit an event at the moment the content with url its clicked
15
- */
13
+ this.repeaterContent = undefined;
14
+ this.baseUrl = undefined;
15
+ this.language = undefined;
16
16
  this.navigateViaEvent = false;
17
- /**
18
- * Post Message event to be sent on navigation via event
19
- */
20
17
  this.postMessageEvent = '';
21
18
  }
22
19
  navigateLink(link) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-c1afe75b.js');
5
+ const index = require('./index-a7f717fa.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -8,8 +8,8 @@
8
8
  ],
9
9
  "compiler": {
10
10
  "name": "@stencil/core",
11
- "version": "4.26.0",
12
- "typescriptVersion": "5.5.4"
11
+ "version": "4.19.2",
12
+ "typescriptVersion": "5.4.5"
13
13
  },
14
14
  "collections": [],
15
15
  "bundles": []