@everymatrix/general-footer-template 1.52.6 → 1.53.10

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 (42) hide show
  1. package/dist/cjs/_commonjsHelpers-0a7b82d9.js +21 -0
  2. package/dist/cjs/custom-clock.cjs.entry.js +43 -2194
  3. package/dist/cjs/custom-content-section.cjs.entry.js +164 -132
  4. package/dist/cjs/general-footer-template.cjs.entry.js +43 -18
  5. package/dist/cjs/general-footer-template.cjs.js +3 -3
  6. package/dist/cjs/image-list.cjs.entry.js +9 -4
  7. package/dist/cjs/{index-465b4ca9.js → index-bd066c40.js} +188 -92
  8. package/dist/cjs/link-section-list.cjs.entry.js +7 -4
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/collection/collection-manifest.json +1 -1
  11. package/dist/collection/components/custom-clock/custom-clock.js +56 -8
  12. package/dist/collection/components/custom-content-section/custom-content-section.js +14 -2
  13. package/dist/collection/components/general-footer-template/general-footer-template.js +90 -17
  14. package/dist/collection/components/image-list/image-list.js +14 -3
  15. package/dist/collection/components/link-section-list/link-section-list.js +16 -3
  16. package/dist/esm/_commonjsHelpers-57e89916.js +18 -0
  17. package/dist/esm/custom-clock.entry.js +43 -2194
  18. package/dist/esm/custom-content-section.entry.js +155 -123
  19. package/dist/esm/general-footer-template.entry.js +43 -18
  20. package/dist/esm/general-footer-template.js +4 -4
  21. package/dist/esm/image-list.entry.js +9 -4
  22. package/dist/esm/{index-9775f5ee.js → index-f9286439.js} +188 -92
  23. package/dist/esm/link-section-list.entry.js +7 -4
  24. package/dist/esm/loader.js +3 -3
  25. package/dist/general-footer-template/general-footer-template.esm.js +1 -1
  26. package/dist/general-footer-template/p-9db940d5.entry.js +1 -0
  27. package/dist/general-footer-template/p-a1261e98.entry.js +1 -0
  28. package/dist/general-footer-template/p-bf402206.entry.js +1 -0
  29. package/dist/general-footer-template/p-c032aa40.entry.js +1 -0
  30. package/dist/general-footer-template/p-cb65c223.js +1 -0
  31. package/dist/general-footer-template/p-f798fd15.js +2 -0
  32. package/dist/general-footer-template/p-faca7e12.entry.js +8 -0
  33. package/dist/types/components/custom-clock/custom-clock.d.ts +4 -0
  34. package/dist/types/components/general-footer-template/general-footer-template.d.ts +4 -0
  35. package/dist/types/components.d.ts +16 -0
  36. package/package.json +1 -1
  37. package/dist/general-footer-template/p-2fce3c9f.js +0 -2
  38. package/dist/general-footer-template/p-330130cd.entry.js +0 -1
  39. package/dist/general-footer-template/p-5982a2ca.entry.js +0 -8
  40. package/dist/general-footer-template/p-8a165606.entry.js +0 -1
  41. package/dist/general-footer-template/p-abce093a.entry.js +0 -1
  42. package/dist/general-footer-template/p-e19d7226.entry.js +0 -1
@@ -1,17 +1,21 @@
1
1
  const NAMESPACE = 'general-footer-template';
2
- const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, 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 };
2
+ const BUILD = /* general-footer-template */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, 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 };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
+
13
+ // src/client/client-host-ref.ts
12
14
  var hostRefs = /* @__PURE__ */ new WeakMap();
13
15
  var getHostRef = (ref) => hostRefs.get(ref);
14
- var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
16
+ var registerInstance = (lazyInstance, hostRef) => {
17
+ hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
+ };
15
19
  var registerHost = (hostElement, cmpMeta) => {
16
20
  const hostRef = {
17
21
  $flags$: 0,
@@ -24,7 +28,8 @@ var registerHost = (hostElement, cmpMeta) => {
24
28
  hostElement["s-p"] = [];
25
29
  hostElement["s-rc"] = [];
26
30
  }
27
- return hostRefs.set(hostElement, hostRef);
31
+ const ref = hostRefs.set(hostElement, hostRef);
32
+ return ref;
28
33
  };
29
34
  var isMemberInElement = (elm, memberName) => memberName in elm;
30
35
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -77,16 +82,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
77
82
  /* webpackExclude: /\.system\.entry\.js$/ */
78
83
  /* webpackMode: "lazy" */
79
84
  `./${bundleId}.entry.js${""}`
80
- ).then((importedModule) => {
81
- {
82
- cmpModules.set(bundleId, importedModule);
85
+ ).then(
86
+ (importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
89
+ }
90
+ return importedModule[exportName];
91
+ },
92
+ (e) => {
93
+ consoleError(e, hostRef.$hostElement$);
83
94
  }
84
- return importedModule[exportName];
85
- }, consoleError);
95
+ );
86
96
  };
87
97
 
88
98
  // src/client/client-style.ts
89
99
  var styles = /* @__PURE__ */ new Map();
100
+ var HYDRATED_STYLE_ID = "sty-id";
90
101
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
91
102
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
92
103
  var win = typeof window !== "undefined" ? window : {};
@@ -145,11 +156,8 @@ var flush = () => {
145
156
  var nextTick = (cb) => promiseResolve().then(cb);
146
157
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
147
158
 
148
- // src/utils/constants.ts
149
- var EMPTY_OBJ = {};
150
-
151
159
  // src/utils/helpers.ts
152
- var isDef = (v) => v != null;
160
+ var isDef = (v) => v != null && v !== void 0;
153
161
  var isComplexType = (o) => {
154
162
  o = typeof o;
155
163
  return o === "object" || o === "function";
@@ -371,7 +379,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
371
379
  }
372
380
  if (!appliedStyles.has(scopeId2)) {
373
381
  {
374
- styleElm = doc.createElement("style");
382
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
375
383
  styleElm.innerHTML = style;
376
384
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
377
385
  if (nonce != null) {
@@ -381,7 +389,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
381
389
  if (styleContainerNode.nodeName === "HEAD") {
382
390
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
383
391
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
384
- styleContainerNode.insertBefore(styleElm, referenceNode2);
392
+ styleContainerNode.insertBefore(
393
+ styleElm,
394
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
395
+ );
385
396
  } else if ("host" in styleContainerNode) {
386
397
  if (supportsConstructableStylesheets) {
387
398
  const stylesheet = new CSSStyleSheet();
@@ -427,23 +438,22 @@ var attachStyles = (hostRef) => {
427
438
  if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
428
439
  elm["s-sc"] = scopeId2;
429
440
  elm.classList.add(scopeId2 + "-h");
430
- if (flags & 2 /* scopedCssEncapsulation */) {
431
- elm.classList.add(scopeId2 + "-s");
432
- }
433
441
  }
434
442
  endAttachStyles();
435
443
  };
436
444
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
437
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
445
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
438
446
  if (oldValue !== newValue) {
439
447
  let isProp = isMemberInElement(elm, memberName);
440
448
  let ln = memberName.toLowerCase();
441
449
  if (memberName === "class") {
442
450
  const classList = elm.classList;
443
451
  const oldClasses = parseClassList(oldValue);
444
- const newClasses = parseClassList(newValue);
445
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
446
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
452
+ let newClasses = parseClassList(newValue);
453
+ {
454
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
455
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
456
+ }
447
457
  } else if (memberName === "style") {
448
458
  {
449
459
  for (const prop in oldValue) {
@@ -502,7 +512,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
502
512
  elm.setAttribute(memberName, n);
503
513
  }
504
514
  }
505
- } else {
515
+ } else if (elm[memberName] !== newValue) {
506
516
  elm[memberName] = newValue;
507
517
  }
508
518
  } catch (e) {
@@ -524,24 +534,44 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
524
534
  }
525
535
  };
526
536
  var parseClassListRegex = /\s/;
527
- var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
537
+ var parseClassList = (value) => {
538
+ if (typeof value === "object" && value && "baseVal" in value) {
539
+ value = value.baseVal;
540
+ }
541
+ if (!value || typeof value !== "string") {
542
+ return [];
543
+ }
544
+ return value.split(parseClassListRegex);
545
+ };
528
546
  var CAPTURE_EVENT_SUFFIX = "Capture";
529
547
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
530
548
 
531
549
  // src/runtime/vdom/update-element.ts
532
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
550
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
533
551
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
534
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
535
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
552
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
553
+ const newVnodeAttrs = newVnode.$attrs$ || {};
536
554
  {
537
555
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
538
556
  if (!(memberName in newVnodeAttrs)) {
539
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
557
+ setAccessor(
558
+ elm,
559
+ memberName,
560
+ oldVnodeAttrs[memberName],
561
+ void 0,
562
+ isSvgMode2,
563
+ newVnode.$flags$);
540
564
  }
541
565
  }
542
566
  }
543
567
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
544
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
568
+ setAccessor(
569
+ elm,
570
+ memberName,
571
+ oldVnodeAttrs[memberName],
572
+ newVnodeAttrs[memberName],
573
+ isSvgMode2,
574
+ newVnode.$flags$);
545
575
  }
546
576
  };
547
577
  function sortedAttrNames(attrNames) {
@@ -559,7 +589,7 @@ var scopeId;
559
589
  var hostTagName;
560
590
  var useNativeShadowDom = false;
561
591
  var isSvgMode = false;
562
- var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
592
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
563
593
  const newVNode2 = newParentVNode.$children$[childIndex];
564
594
  let i2 = 0;
565
595
  let elm;
@@ -573,17 +603,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
573
603
  {
574
604
  updateElement(null, newVNode2, isSvgMode);
575
605
  }
576
- const rootNode = elm.getRootNode();
577
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
578
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
606
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
579
607
  elm.classList.add(elm["s-si"] = scopeId);
580
608
  }
581
- {
582
- updateElementScopeIds(elm, parentElm);
583
- }
584
609
  if (newVNode2.$children$) {
585
610
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
586
- childNode = createElm(oldParentVNode, newVNode2, i2, elm);
611
+ childNode = createElm(oldParentVNode, newVNode2, i2);
587
612
  if (childNode) {
588
613
  elm.appendChild(childNode);
589
614
  }
@@ -601,7 +626,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
601
626
  }
602
627
  for (; startIdx <= endIdx; ++startIdx) {
603
628
  if (vnodes[startIdx]) {
604
- childNode = createElm(null, parentVNode, startIdx, parentElm);
629
+ childNode = createElm(null, parentVNode, startIdx);
605
630
  if (childNode) {
606
631
  vnodes[startIdx].$elm$ = childNode;
607
632
  insertBefore(containerElm, childNode, before);
@@ -674,7 +699,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
674
699
  if (idxInOld >= 0) {
675
700
  elmToMove = oldCh[idxInOld];
676
701
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
677
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
702
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
678
703
  } else {
679
704
  patch(elmToMove, newStartVnode, isInitialRender);
680
705
  oldCh[idxInOld] = void 0;
@@ -682,7 +707,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
682
707
  }
683
708
  newStartVnode = newCh[++newStartIdx];
684
709
  } else {
685
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
710
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
686
711
  newStartVnode = newCh[++newStartIdx];
687
712
  }
688
713
  if (node) {
@@ -710,6 +735,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
710
735
  if (!isInitialRender) {
711
736
  return leftVNode.$key$ === rightVNode.$key$;
712
737
  }
738
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
739
+ leftVNode.$key$ = rightVNode.$key$;
740
+ }
713
741
  return true;
714
742
  }
715
743
  return false;
@@ -749,38 +777,34 @@ var nullifyVNodeRefs = (vNode) => {
749
777
  }
750
778
  };
751
779
  var insertBefore = (parent, newNode, reference) => {
752
- const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
753
- {
754
- updateElementScopeIds(newNode, parent);
780
+ if (typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
781
+ addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
755
782
  }
756
- return inserted;
757
- };
758
- var findScopeIds = (element) => {
759
- const scopeIds = [];
760
- if (element) {
761
- scopeIds.push(
762
- ...element["s-scs"] || [],
763
- element["s-si"],
764
- element["s-sc"],
765
- ...findScopeIds(element.parentElement)
766
- );
783
+ {
784
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
767
785
  }
768
- return scopeIds;
769
786
  };
770
- var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
787
+ function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
771
788
  var _a;
772
- if (element && parent && element.nodeType === 1 /* ElementNode */) {
773
- const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
774
- if (scopeIds.size) {
775
- (_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = Array.from(scopeIds));
776
- if (element["s-ol"] || iterateChildNodes) {
777
- for (const childNode of Array.from(element.childNodes)) {
778
- updateElementScopeIds(childNode, element, true);
789
+ let scopeId2;
790
+ if (reference && typeof slotNode["s-sn"] === "string" && !!slotNode["s-sr"] && reference.parentNode && reference.parentNode["s-sc"] && (scopeId2 = slotNode["s-si"] || reference.parentNode["s-sc"])) {
791
+ const scopeName = slotNode["s-sn"];
792
+ const hostName = slotNode["s-hn"];
793
+ (_a = newParent.classList) == null ? void 0 : _a.add(scopeId2 + "-s");
794
+ if (oldParent && oldParent.classList.contains(scopeId2 + "-s")) {
795
+ let child = (oldParent.__childNodes || oldParent.childNodes)[0];
796
+ let found = false;
797
+ while (child) {
798
+ if (child["s-sn"] !== scopeName && child["s-hn"] === hostName && !!child["s-sr"]) {
799
+ found = true;
800
+ break;
779
801
  }
802
+ child = child.nextSibling;
780
803
  }
804
+ if (!found) oldParent.classList.remove(scopeId2 + "-s");
781
805
  }
782
806
  }
783
- };
807
+ }
784
808
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
785
809
  const hostElm = hostRef.$hostElement$;
786
810
  const cmpMeta = hostRef.$cmpMeta$;
@@ -814,7 +838,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
814
838
  // src/runtime/update-component.ts
815
839
  var attachToAncestor = (hostRef, ancestorComponent) => {
816
840
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
817
- ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
841
+ const index = ancestorComponent["s-p"].push(
842
+ new Promise(
843
+ (r) => hostRef.$onRenderResolve$ = () => {
844
+ ancestorComponent["s-p"].splice(index - 1, 1);
845
+ r();
846
+ }
847
+ )
848
+ );
818
849
  }
819
850
  };
820
851
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -841,7 +872,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
841
872
  let maybePromise;
842
873
  if (isInitialLoad) {
843
874
  {
844
- maybePromise = safeCall(instance, "componentWillLoad");
875
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
845
876
  }
846
877
  }
847
878
  endSchedule();
@@ -910,7 +941,7 @@ var postUpdateComponent = (hostRef) => {
910
941
  const instance = hostRef.$lazyInstance$ ;
911
942
  const ancestorComponent = hostRef.$ancestorComponent$;
912
943
  {
913
- safeCall(instance, "componentDidRender");
944
+ safeCall(instance, "componentDidRender", void 0, elm);
914
945
  }
915
946
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
916
947
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -918,7 +949,7 @@ var postUpdateComponent = (hostRef) => {
918
949
  addHydratedFlag(elm);
919
950
  }
920
951
  {
921
- safeCall(instance, "componentDidLoad");
952
+ safeCall(instance, "componentDidLoad", void 0, elm);
922
953
  }
923
954
  endPostUpdate();
924
955
  {
@@ -947,12 +978,12 @@ var appDidLoad = (who) => {
947
978
  }
948
979
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
949
980
  };
950
- var safeCall = (instance, method, arg) => {
981
+ var safeCall = (instance, method, arg, elm) => {
951
982
  if (instance && instance[method]) {
952
983
  try {
953
984
  return instance[method](arg);
954
985
  } catch (e) {
955
- consoleError(e);
986
+ consoleError(e, elm);
956
987
  }
957
988
  }
958
989
  return void 0;
@@ -1011,15 +1042,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1011
1042
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1012
1043
  members.map(([memberName, [memberFlags]]) => {
1013
1044
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1045
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1046
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1047
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1048
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
1049
+ Object.defineProperty(prototype, memberName, {
1050
+ get() {
1051
+ {
1052
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1053
+ return getValue(this, memberName);
1054
+ }
1055
+ const ref = getHostRef(this);
1056
+ const instance = ref ? ref.$lazyInstance$ : prototype;
1057
+ if (!instance) return;
1058
+ return instance[memberName];
1059
+ }
1060
+ },
1061
+ configurable: true,
1062
+ enumerable: true
1063
+ });
1064
+ }
1014
1065
  Object.defineProperty(prototype, memberName, {
1015
- get() {
1016
- return getValue(this, memberName);
1017
- },
1018
1066
  set(newValue) {
1019
- setValue(this, memberName, newValue, cmpMeta);
1020
- },
1021
- configurable: true,
1022
- enumerable: true
1067
+ const ref = getHostRef(this);
1068
+ if (origSetter) {
1069
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1070
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1071
+ newValue = ref.$instanceValues$.get(memberName);
1072
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1073
+ ref.$instanceValues$.set(memberName, currentValue);
1074
+ }
1075
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1076
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1077
+ setValue(this, memberName, newValue, cmpMeta);
1078
+ return;
1079
+ }
1080
+ {
1081
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1082
+ setValue(this, memberName, newValue, cmpMeta);
1083
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1084
+ ref.$onReadyPromise$.then(() => {
1085
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1086
+ ref.$lazyInstance$[memberName] = newValue;
1087
+ }
1088
+ });
1089
+ }
1090
+ return;
1091
+ }
1092
+ const setterSetVal = () => {
1093
+ const currentValue = ref.$lazyInstance$[memberName];
1094
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
1095
+ ref.$instanceValues$.set(memberName, currentValue);
1096
+ }
1097
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1098
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1099
+ };
1100
+ if (ref.$lazyInstance$) {
1101
+ setterSetVal();
1102
+ } else {
1103
+ ref.$onReadyPromise$.then(() => setterSetVal());
1104
+ }
1105
+ }
1106
+ }
1023
1107
  });
1024
1108
  }
1025
1109
  });
@@ -1029,7 +1113,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1029
1113
  plt.jmp(() => {
1030
1114
  var _a2;
1031
1115
  const propName = attrNameToPropName.get(attrName);
1032
- if (this.hasOwnProperty(propName)) {
1116
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1033
1117
  newValue = this[propName];
1034
1118
  delete this[propName];
1035
1119
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1049,7 +1133,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1049
1133
  }
1050
1134
  return;
1051
1135
  }
1052
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1136
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1137
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1138
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1139
+ this[propName] = newValue;
1140
+ }
1053
1141
  });
1054
1142
  };
1055
1143
  Cstr.observedAttributes = Array.from(
@@ -1076,9 +1164,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1076
1164
  let Cstr;
1077
1165
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1078
1166
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1079
- const bundleId = cmpMeta.$lazyBundleId$;
1080
- if (bundleId) {
1081
- const CstrImport = loadModule(cmpMeta);
1167
+ {
1168
+ const CstrImport = loadModule(cmpMeta, hostRef);
1082
1169
  if (CstrImport && "then" in CstrImport) {
1083
1170
  const endLoad = uniqueTime();
1084
1171
  Cstr = await CstrImport;
@@ -1103,7 +1190,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1103
1190
  try {
1104
1191
  new Cstr(hostRef);
1105
1192
  } catch (e) {
1106
- consoleError(e);
1193
+ consoleError(e, elm);
1107
1194
  }
1108
1195
  {
1109
1196
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1112,10 +1199,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1112
1199
  hostRef.$flags$ |= 128 /* isWatchReady */;
1113
1200
  }
1114
1201
  endNewInstance();
1115
- } else {
1116
- Cstr = elm.constructor;
1117
- const cmpTag = elm.localName;
1118
- customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1119
1202
  }
1120
1203
  if (Cstr && Cstr.style) {
1121
1204
  let style;
@@ -1138,7 +1221,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1138
1221
  schedule();
1139
1222
  }
1140
1223
  };
1141
- var fireConnectedCallback = (instance) => {
1224
+ var fireConnectedCallback = (instance, elm) => {
1142
1225
  };
1143
1226
 
1144
1227
  // src/runtime/connected-callback.ts
@@ -1178,20 +1261,26 @@ var connectedCallback = (elm) => {
1178
1261
  endConnected();
1179
1262
  }
1180
1263
  };
1181
- var disconnectInstance = (instance) => {
1264
+ var disconnectInstance = (instance, elm) => {
1182
1265
  {
1183
- safeCall(instance, "disconnectedCallback");
1266
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1184
1267
  }
1185
1268
  };
1186
1269
  var disconnectedCallback = async (elm) => {
1187
1270
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1188
1271
  const hostRef = getHostRef(elm);
1189
1272
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1190
- disconnectInstance(hostRef.$lazyInstance$);
1273
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1191
1274
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1192
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1275
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1193
1276
  }
1194
1277
  }
1278
+ if (rootAppliedStyles.has(elm)) {
1279
+ rootAppliedStyles.delete(elm);
1280
+ }
1281
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1282
+ rootAppliedStyles.delete(elm.shadowRoot);
1283
+ }
1195
1284
  };
1196
1285
 
1197
1286
  // src/runtime/bootstrap-lazy.ts
@@ -1272,6 +1361,13 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1272
1361
  }
1273
1362
  disconnectedCallback() {
1274
1363
  plt.jmp(() => disconnectedCallback(this));
1364
+ plt.raf(() => {
1365
+ var _a3;
1366
+ const hostRef = getHostRef(this);
1367
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1368
+ delete hostRef.$vnode$.$elm$;
1369
+ }
1370
+ });
1275
1371
  }
1276
1372
  componentOnReady() {
1277
1373
  return getHostRef(this).$onReadyPromise$;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-9775f5ee.js';
1
+ import { r as registerInstance, h } from './index-f9286439.js';
2
2
 
3
3
  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}";
4
4
  const LinkSectionListStyle0 = linkSectionListCss;
@@ -6,10 +6,13 @@ const LinkSectionListStyle0 = linkSectionListCss;
6
6
  const LinkSectionList = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
- this.repeaterContent = undefined;
10
- this.baseUrl = undefined;
11
- this.language = undefined;
9
+ /**
10
+ * If this is true it will emit an event at the moment the content with url its clicked
11
+ */
12
12
  this.navigateViaEvent = false;
13
+ /**
14
+ * Post Message event to be sent on navigation via event
15
+ */
13
16
  this.postMessageEvent = '';
14
17
  }
15
18
  navigateLink(link) {
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-9775f5ee.js';
2
- export { s as setNonce } from './index-9775f5ee.js';
1
+ import { b as bootstrapLazy } from './index-f9286439.js';
2
+ export { s as setNonce } from './index-f9286439.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["custom-content-section",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["general-footer-template",[[1,"general-footer-template",{"language":[513],"sections":[513],"endpoint":[513],"env":[513],"userRoles":[513,"user-roles"],"userid":[513],"session":[513],"baseUrl":[513,"base-url"],"navigateViaEvent":[513,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"hasErrors":[32],"stylingAppends":[32]}]]],["link-section-list",[[0,"link-section-list",{"repeaterContent":[8,"repeater-content"],"baseUrl":[513,"base-url"],"language":[513],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
8
+ return bootstrapLazy([["custom-content-section",[[2,"custom-content-section",{"customContent":[1,"custom-content"],"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[516,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["custom-clock",[[2,"custom-clock",{"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"translationUrl":[513,"translation-url"],"language":[513],"timeString":[32]},null,{"translationUrl":["handleNewTranslations"]}]]],["general-footer-template",[[1,"general-footer-template",{"language":[513],"sections":[513],"endpoint":[513],"env":[513],"userRoles":[513,"user-roles"],"userid":[513],"session":[513],"baseUrl":[513,"base-url"],"navigateViaEvent":[513,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"clockFormat":[513,"clock-format"],"timeZone":[513,"time-zone"],"hasErrors":[32],"stylingAppends":[32]}]]],["link-section-list",[[0,"link-section-list",{"repeaterContent":[8,"repeater-content"],"baseUrl":[513,"base-url"],"language":[513],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]],["image-list",[[2,"image-list",{"repeaterContent":[8,"repeater-content"],"navigateViaEvent":[4,"navigate-via-event"],"postMessageEvent":[513,"post-message-event"]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-2fce3c9f.js";export{s as setNonce}from"./p-2fce3c9f.js";import{g as n}from"./p-e1255160.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((async e=>(await n(),t([["p-5982a2ca",[[2,"custom-content-section",{customContent:[1,"custom-content"],repeaterContent:[8,"repeater-content"],navigateViaEvent:[516,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]],["p-330130cd",[[2,"custom-clock",{clockFormat:[513,"clock-format"],translationUrl:[513,"translation-url"],language:[513],timeString:[32]},null,{translationUrl:["handleNewTranslations"]}]]],["p-abce093a",[[1,"general-footer-template",{language:[513],sections:[513],endpoint:[513],env:[513],userRoles:[513,"user-roles"],userid:[513],session:[513],baseUrl:[513,"base-url"],navigateViaEvent:[513,"navigate-via-event"],postMessageEvent:[513,"post-message-event"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],clockFormat:[513,"clock-format"],hasErrors:[32],stylingAppends:[32]}]]],["p-e19d7226",[[0,"link-section-list",{repeaterContent:[8,"repeater-content"],baseUrl:[513,"base-url"],language:[513],navigateViaEvent:[4,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]],["p-8a165606",[[2,"image-list",{repeaterContent:[8,"repeater-content"],navigateViaEvent:[4,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]]],e))));
1
+ import{p as e,b as t}from"./p-f798fd15.js";export{s as setNonce}from"./p-f798fd15.js";import{g as n}from"./p-e1255160.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((async e=>(await n(),t([["p-faca7e12",[[2,"custom-content-section",{customContent:[1,"custom-content"],repeaterContent:[8,"repeater-content"],navigateViaEvent:[516,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]],["p-a1261e98",[[2,"custom-clock",{clockFormat:[513,"clock-format"],timeZone:[513,"time-zone"],translationUrl:[513,"translation-url"],language:[513],timeString:[32]},null,{translationUrl:["handleNewTranslations"]}]]],["p-c032aa40",[[1,"general-footer-template",{language:[513],sections:[513],endpoint:[513],env:[513],userRoles:[513,"user-roles"],userid:[513],session:[513],baseUrl:[513,"base-url"],navigateViaEvent:[513,"navigate-via-event"],postMessageEvent:[513,"post-message-event"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],clockFormat:[513,"clock-format"],timeZone:[513,"time-zone"],hasErrors:[32],stylingAppends:[32]}]]],["p-bf402206",[[0,"link-section-list",{repeaterContent:[8,"repeater-content"],baseUrl:[513,"base-url"],language:[513],navigateViaEvent:[4,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]],["p-9db940d5",[[2,"image-list",{repeaterContent:[8,"repeater-content"],navigateViaEvent:[4,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]]],e))));
@@ -0,0 +1 @@
1
+ import{r as n,h as e}from"./p-f798fd15.js";const i=class{constructor(e){n(this,e),this.navigateViaEvent=!1,this.postMessageEvent="",this.navigateLink=(n,e,i)=>{window.postMessage({type:this.postMessageEvent,path:n,url:n,target:e,externalLink:i},window.location.href)}}render(){var n,i,a;return e("div",{key:"904d6e891d4533b61fa5b5d56d94fef1b64e254f",class:"ImageListContainer"},e("div",{key:"2519ef8038b27175a5cede599561d235e29ef1ee",class:"ImageListWrapper"},e("div",{key:"10b2280a935e16b046ee3bac0a34c84740350b30",class:"ImageListSectionTitle"},null===(n=this.repeaterContent)||void 0===n?void 0:n.categoryTitle),e("div",{key:"11fb15bd73372b2e9bbec9250195a7a93f62e935",class:"ImageListLineup"},null===(a=null===(i=this.repeaterContent)||void 0===i?void 0:i.content)||void 0===a?void 0:a.map((n=>e("div",{class:"ImageListIcon"},!0===this.navigateViaEvent?e("div",{class:"ImageListIcon",style:{cursor:"pointer"},onClick:()=>this.navigateLink(null==n?void 0:n.url,null==n?void 0:n.target,null==n?void 0:n.isExternalLink)},e("img",{src:null==n?void 0:n.image,alt:""}),e("p",null,null==n?void 0:n.title)):e("a",{href:(null==n?void 0:n.url)||"javascript:void(0)",target:(null==n?void 0:n.target)||"_parent"},e("div",{class:"ImageListPositioner"},e("img",{src:null==n?void 0:n.image,alt:""})),e("p",null,null==n?void 0:n.title))))))))}};i.style=".sc-image-list-h {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.ImageListContainer.sc-image-list {\n height: 100%;\n}\n.ImageListWrapper.sc-image-list {\n box-sizing: border-box;\n height: 100%;\n display: flex;\n flex-direction: column;\n max-width: 90%;\n margin: auto;\n padding: var(--emw--spacing-large, 20px) 0;\n}\n.ImageListSectionTitle.sc-image-list {\n width: 100%;\n display: flex;\n justify-content: left;\n align-content: center;\n padding: var(--emw--spacing-large, 20px) var(--emw--spacing-medium, 14px) var(--emw--spacing-x-large, 30px);\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n text-transform: uppercase;\n font-size: 24px;\n font-weight: 100;\n}\n.ImageListLineup.sc-image-list {\n box-sizing: border-box;\n display: flex;\n flex-wrap: wrap;\n gap: var(--emw--spacing-x-large, 30px);\n justify-content: left;\n align-items: flex-start;\n padding-left: var(--emw--spacing-large, 20px);\n}\n.ImageListIcon.sc-image-list img.sc-image-list {\n max-height: var(--emw--size-medium-2x-minus, 40px);\n}\n\na.sc-image-list {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-end;\n text-decoration: none;\n}\n\na.sc-image-list p.sc-image-list {\n text-decoration: none;\n color: var(--emw--color-gray-100, #666);\n margin: 0;\n}\n\n@container (max-width: 750px) {\n .ImageListSectionTitle.sc-image-list {\n justify-content: center;\n font-size: var(--emw--font-size-medium, 16px);\n color: var(--emw--footer-typography, var(--emw--color-thpography, #fff));\n padding: var(--emw--spacing-large, 20px) 0 var(--emw--spacing-x-large, 30px);\n justify-content: center;\n }\n .ImageListLineup.sc-image-list {\n justify-content: center;\n padding: 0;\n }\n}";export{i as image_list}
@@ -0,0 +1 @@
1
+ import{r as t,h as r}from"./p-f798fd15.js";import{c as n}from"./p-cb65c223.js";const e={en:{currentTime:"Current Time"},hu:{currentTime:"Jelenlegi idő"},ro:{currentTime:"Ora curentă"},fr:{currentTime:"Heure actuelle"},ar:{currentTime:"الوقت الحالي"},hr:{currentTime:"Trenutno vrijeme"}},i=t=>new Promise((r=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((r=>{e[r]||(e[r]={});for(let n in t[r])e[r][n]=t[r][n]})),r(!0)}))}));var s={exports:{}};s.exports=function(){var t=6e4,r=36e5,n="millisecond",e="second",i="minute",s="hour",u="day",a="week",c="month",h="quarter",o="year",f="date",v="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,l=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var r=["th","st","nd","rd"],n=t%100;return"["+t+(r[(n-20)%10]||r[n]||r[0])+"]"}},M=function(t,r,n){var e=String(t);return!e||e.length>=r?t:""+Array(r+1-e.length).join(n)+t},D={s:M,z:function(t){var r=-t.utcOffset(),n=Math.abs(r),e=Math.floor(n/60),i=n%60;return(r<=0?"+":"-")+M(e,2,"0")+":"+M(i,2,"0")},m:function t(r,n){if(r.date()<n.date())return-t(n,r);var e=12*(n.year()-r.year())+(n.month()-r.month()),i=r.clone().add(e,c),s=n-i<0,u=r.clone().add(e+(s?-1:1),c);return+(-(e+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:o,w:a,d:u,D:f,h:s,m:i,s:e,ms:n,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",S={};S[y]=m;var b="$isDayjsObject",g=function(t){return t instanceof k||!(!t||!t[b])},w=function t(r,n,e){var i;if(!r)return y;if("string"==typeof r){var s=r.toLowerCase();S[s]&&(i=s),n&&(S[s]=n,i=s);var u=r.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=r.name;S[a]=r,i=a}return!e&&i&&(y=i),i||!e&&y},Y=function(t,r){if(g(t))return t.clone();var n="object"==typeof r?r:{};return n.date=t,n.args=arguments,new k(n)},p=D;p.l=w,p.i=g,p.w=function(t,r){return Y(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var k=function(){function m(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[b]=!0}var M=m.prototype;return M.parse=function(t){this.$d=function(t){var r=t.date,n=t.utc;if(null===r)return new Date(NaN);if(p.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var e=r.match(d);if(e){var i=e[2]-1||0,s=(e[7]||"0").substring(0,3);return n?new Date(Date.UTC(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)):new Date(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,s)}}return new Date(r)}(t),this.init()},M.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},M.$utils=function(){return p},M.isValid=function(){return!(this.$d.toString()===v)},M.isSame=function(t,r){var n=Y(t);return this.startOf(r)<=n&&n<=this.endOf(r)},M.isAfter=function(t,r){return Y(t)<this.startOf(r)},M.isBefore=function(t,r){return this.endOf(r)<Y(t)},M.$g=function(t,r,n){return p.u(t)?this[r]:this.set(n,t)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(t,r){var n=this,h=!!p.u(r)||r,v=p.p(t),d=function(t,r){var e=p.w(n.$u?Date.UTC(n.$y,r,t):new Date(n.$y,r,t),n);return h?e:e.endOf(u)},l=function(t,r){return p.w(n.toDate()[t].apply(n.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(r)),n)},m=this.$W,M=this.$M,D=this.$D,y="set"+(this.$u?"UTC":"");switch(v){case o:return h?d(1,0):d(31,11);case c:return h?d(1,M):d(0,M+1);case a:var S=this.$locale().weekStart||0,b=(m<S?m+7:m)-S;return d(h?D-b:D+(6-b),M);case u:case f:return l(y+"Hours",0);case s:return l(y+"Minutes",1);case i:return l(y+"Seconds",2);case e:return l(y+"Milliseconds",3);default:return this.clone()}},M.endOf=function(t){return this.startOf(t,!1)},M.$set=function(t,r){var a,h=p.p(t),v="set"+(this.$u?"UTC":""),d=(a={},a[u]=v+"Date",a[f]=v+"Date",a[c]=v+"Month",a[o]=v+"FullYear",a[s]=v+"Hours",a[i]=v+"Minutes",a[e]=v+"Seconds",a[n]=v+"Milliseconds",a)[h],l=h===u?this.$D+(r-this.$W):r;if(h===c||h===o){var m=this.clone().set(f,1);m.$d[d](l),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](l);return this.init(),this},M.set=function(t,r){return this.clone().$set(t,r)},M.get=function(t){return this[p.p(t)]()},M.add=function(n,h){var f,v=this;n=Number(n);var d=p.p(h),l=function(t){var r=Y(v);return p.w(r.date(r.date()+Math.round(t*n)),v)};if(d===c)return this.set(c,this.$M+n);if(d===o)return this.set(o,this.$y+n);if(d===u)return l(1);if(d===a)return l(7);var m=(f={},f[i]=t,f[s]=r,f[e]=1e3,f)[d]||1,M=this.$d.getTime()+n*m;return p.w(M,this)},M.subtract=function(t,r){return this.add(-1*t,r)},M.format=function(t){var r=this,n=this.$locale();if(!this.isValid())return n.invalidDate||v;var e=t||"YYYY-MM-DDTHH:mm:ssZ",i=p.z(this),s=this.$H,u=this.$m,a=this.$M,c=n.weekdays,h=n.months,o=function(t,n,i,s){return t&&(t[n]||t(r,e))||i[n].slice(0,s)},f=function(t){return p.s(s%12||12,t,"0")},d=n.meridiem||function(t,r,n){var e=t<12?"AM":"PM";return n?e.toLowerCase():e};return e.replace(l,(function(t,e){return e||function(t){switch(t){case"YY":return String(r.$y).slice(-2);case"YYYY":return p.s(r.$y,4,"0");case"M":return a+1;case"MM":return p.s(a+1,2,"0");case"MMM":return o(n.monthsShort,a,h,3);case"MMMM":return o(h,a);case"D":return r.$D;case"DD":return p.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return o(n.weekdaysMin,r.$W,c,2);case"ddd":return o(n.weekdaysShort,r.$W,c,3);case"dddd":return c[r.$W];case"H":return String(s);case"HH":return p.s(s,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return d(s,u,!0);case"A":return d(s,u,!1);case"m":return String(u);case"mm":return p.s(u,2,"0");case"s":return String(r.$s);case"ss":return p.s(r.$s,2,"0");case"SSS":return p.s(r.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(n,f,v){var d,l=this,m=p.p(f),M=Y(n),D=(M.utcOffset()-this.utcOffset())*t,y=this-M,S=function(){return p.m(l,M)};switch(m){case o:d=S()/12;break;case c:d=S();break;case h:d=S()/3;break;case a:d=(y-D)/6048e5;break;case u:d=(y-D)/864e5;break;case s:d=y/r;break;case i:d=y/t;break;case e:d=y/1e3;break;default:d=y}return v?d:p.a(d)},M.daysInMonth=function(){return this.endOf(c).$D},M.$locale=function(){return S[this.$L]},M.locale=function(t,r){if(!t)return this.$L;var n=this.clone(),e=w(t,r,!0);return e&&(n.$L=e),n},M.clone=function(){return p.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},m}(),_=k.prototype;return Y.prototype=_,[["$ms",n],["$s",e],["$m",i],["$H",s],["$W",u],["$M",c],["$y",o],["$D",f]].forEach((function(t){_[t[1]]=function(r){return this.$g(r,t[0],t[1])}})),Y.extend=function(t,r){return t.$i||(t(r,k,Y),t.$i=!0),Y},Y.locale=w,Y.isDayjs=g,Y.unix=function(t){return Y(1e3*t)},Y.en=S[y],Y.Ls=S,Y.p={},Y}();const u=s.exports;var a,c,h,o={exports:{}};o.exports=(a="minute",c=/[+-]\d\d(?::?\d\d)?/g,h=/([+-]|\d\d)/g,function(t,r,n){var e=r.prototype;n.utc=function(t){return new r({date:t,utc:!0,args:arguments})},e.utc=function(t){var r=n(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),a):r},e.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var i=e.parse;e.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),i.call(this,t)};var s=e.init;e.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else s.call(this)};var u=e.utcOffset;e.utcOffset=function(t,r){var n=this.$utils().u;if(n(t))return this.$u?0:n(this.$offset)?u.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var r=t.match(c);if(!r)return null;var n=(""+r[0]).match(h)||["-",0,0],e=60*+n[1]+ +n[2];return 0===e?0:"+"===n[0]?e:-e}(t),null===t))return this;var e=Math.abs(t)<=16?60*t:t,i=this;if(r)return i.$offset=e,i.$u=0===t,i;if(0!==t){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(e+s,a)).$offset=e,i.$x.$localOffset=s}else i=this.utc();return i};var o=e.format;e.format=function(t){return o.call(this,t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},e.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},e.isUTC=function(){return!!this.$u},e.toISOString=function(){return this.toDate().toISOString()},e.toString=function(){return this.toDate().toUTCString()};var f=e.toDate;e.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var v=e.diff;e.diff=function(t,r,e){if(t&&this.$u===t.$u)return v.call(this,t,r,e);var i=this.local(),s=n(t).local();return v.call(i,s,r,e)}});const f=o.exports;var v={exports:{}};v.exports=function(){var t={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(n,e,i){var s,u=function(t,n,e){void 0===e&&(e={});var i=new Date(t),s=function(t,n){void 0===n&&(n={});var e=n.timeZoneName||"short",i=t+"|"+e,s=r[i];return s||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:e}),r[i]=s),s}(n,e);return s.formatToParts(i)},a=function(r,n){for(var e=u(r,n),s=[],a=0;a<e.length;a+=1){var c=e[a],h=t[c.type];h>=0&&(s[h]=parseInt(c.value,10))}var o=s[3],f=+r;return(i.utc(s[0]+"-"+s[1]+"-"+s[2]+" "+(24===o?0:o)+":"+s[4]+":"+s[5]+":000").valueOf()-(f-=f%1e3))/6e4},c=e.prototype;c.tz=function(t,r){void 0===t&&(t=s);var n,e=this.utcOffset(),u=this.toDate(),a=u.toLocaleString("en-US",{timeZone:t}),c=Math.round((u-new Date(a))/1e3/60),h=15*-Math.round(u.getTimezoneOffset()/15)-c;if(Number(h)){if(n=i(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(h,!0),r){var o=n.utcOffset();n=n.add(e-o,"minute")}}else n=this.utcOffset(0,r);return n.$x.$timezone=t,n},c.offsetName=function(t){var r=this.$x.$timezone||i.tz.guess(),n=u(this.valueOf(),r,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var h=c.startOf;c.startOf=function(t,r){if(!this.$x||!this.$x.$timezone)return h.call(this,t,r);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(n,t,r).tz(this.$x.$timezone,!0)},i.tz=function(t,r,n){var e=n&&r,u=n||r||s,c=a(+i(),u);if("string"!=typeof t)return i(t).tz(u);var h=function(t,r,n){var e=t-60*r*1e3,i=a(e,n);if(r===i)return[e,r];var s=a(e-=60*(i-r)*1e3,n);return i===s?[e,i]:[t-60*Math.min(i,s)*1e3,Math.max(i,s)]}(i.utc(t,e).valueOf(),c,u),o=h[1],f=i(h[0]).utcOffset(o);return f.$x.$timezone=u,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(t){s=t}}}();const d=v.exports,l=class{constructor(r){t(this,r),this.clockFormat="HH:mm:ss",this.timeZone="",this.translationUrl="",this.language="en",this.timeString="",this.startClock=()=>{this.intervalId=setInterval((()=>{this.timeZone.length>0?(u.extend(f),u.extend(d),this.timeString=u().tz(this.timeZone).format(this.clockFormat)):this.timeString=u().format(this.clockFormat)}),1e3)}}handleNewTranslations(){i(this.translationUrl)}async componentWillLoad(){this.translationUrl.length>2&&await i(this.translationUrl)}componentDidLoad(){this.startClock()}disconnectedCallback(){clearInterval(this.intervalId)}render(){return r("div",{key:"a5f785406272352dfe1797105d524c042ff03b41",class:"CustomClockContainer"},r("p",{key:"8e9ebfae2f06a4297af2f39210e8687bc6c141b4"},e[void 0!==(t=this.language)&&t in e?t:"en"].currentTime,": ",this.timeString));var t}static get watchers(){return{translationUrl:["handleNewTranslations"]}}};l.style=".CustomClockContainer.sc-custom-clock.sc-custom-clock{display:flex;justify-content:center;align-items:center}.CustomClockContainer.sc-custom-clock.sc-custom-clock p.sc-custom-clock{font-size:16px}";export{l as custom_clock}