@everymatrix/general-footer-template 1.55.0 → 1.56.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.
- package/dist/cjs/custom-clock.cjs.entry.js +18 -6
- package/dist/cjs/custom-content-section.cjs.entry.js +189 -139
- package/dist/cjs/general-footer-template.cjs.entry.js +31 -11
- package/dist/cjs/general-footer-template.cjs.js +2 -2
- package/dist/cjs/image-list.cjs.entry.js +9 -4
- package/dist/cjs/{index-d85e54c5.js → index-c1afe75b.js} +194 -92
- package/dist/cjs/link-section-list.cjs.entry.js +7 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/custom-clock/custom-clock.js +25 -5
- package/dist/collection/components/custom-content-section/custom-content-section.js +14 -2
- package/dist/collection/components/general-footer-template/general-footer-template.js +62 -10
- package/dist/collection/components/image-list/image-list.js +14 -3
- package/dist/collection/components/link-section-list/link-section-list.js +16 -3
- package/dist/esm/custom-clock.entry.js +18 -6
- package/dist/esm/custom-content-section.entry.js +189 -139
- package/dist/esm/general-footer-template.entry.js +31 -11
- package/dist/esm/general-footer-template.js +3 -3
- package/dist/esm/image-list.entry.js +9 -4
- package/dist/esm/{index-7f32a4a7.js → index-732f640c.js} +194 -92
- package/dist/esm/link-section-list.entry.js +7 -4
- package/dist/esm/loader.js +2 -2
- package/dist/general-footer-template/general-footer-template.esm.js +1 -1
- package/dist/general-footer-template/p-1fc2e24a.js +2 -0
- package/dist/general-footer-template/{p-f5a17365.entry.js → p-3eda45d5.entry.js} +1 -1
- package/dist/general-footer-template/p-55524eed.entry.js +1 -0
- package/dist/general-footer-template/p-a4b44512.entry.js +1 -0
- package/dist/general-footer-template/{p-cd14a119.entry.js → p-a8c0f5a0.entry.js} +2 -2
- package/dist/general-footer-template/p-dd7ffd49.entry.js +1 -0
- 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 +2 -0
- 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 +2 -0
- package/package.json +1 -1
- package/dist/general-footer-template/p-122e0353.entry.js +0 -1
- package/dist/general-footer-template/p-905acd21.js +0 -2
- package/dist/general-footer-template/p-9aeab1ea.entry.js +0 -1
- package/dist/general-footer-template/p-a6279430.entry.js +0 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-footer-template/.stencil/packages/stencil/general-footer-template/stencil.config.d.ts +0 -2
- 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 +0 -2
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/general-footer-template/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -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: 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 };
|
|
2
|
+
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 };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.26.0 | 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) =>
|
|
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
|
-
|
|
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(
|
|
81
|
-
{
|
|
82
|
-
|
|
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
|
-
|
|
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(
|
|
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();
|
|
@@ -399,7 +410,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
399
410
|
styleContainerNode.append(styleElm);
|
|
400
411
|
}
|
|
401
412
|
}
|
|
402
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */
|
|
413
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
403
414
|
styleContainerNode.insertBefore(styleElm, null);
|
|
404
415
|
}
|
|
405
416
|
}
|
|
@@ -424,26 +435,25 @@ var attachStyles = (hostRef) => {
|
|
|
424
435
|
const scopeId2 = addStyle(
|
|
425
436
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
426
437
|
cmpMeta);
|
|
427
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
438
|
+
if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
|
|
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
|
-
|
|
445
|
-
|
|
446
|
-
|
|
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) =>
|
|
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$ ||
|
|
535
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
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(
|
|
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(
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
771
|
-
var _a;
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
787
|
+
function addRemoveSlotScopedClass(reference, slotNode, newParent, oldParent) {
|
|
788
|
+
var _a, _b;
|
|
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 && ((_b = oldParent.classList) == null ? void 0 : _b.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$;
|
|
@@ -807,14 +831,21 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
807
831
|
{
|
|
808
832
|
scopeId = hostElm["s-sc"];
|
|
809
833
|
}
|
|
810
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)
|
|
834
|
+
useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
|
|
811
835
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
812
836
|
};
|
|
813
837
|
|
|
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(
|
|
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();
|
|
@@ -915,7 +946,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
915
946
|
addHydratedFlag(elm);
|
|
916
947
|
}
|
|
917
948
|
{
|
|
918
|
-
safeCall(instance, "componentDidLoad");
|
|
949
|
+
safeCall(instance, "componentDidLoad", void 0, elm);
|
|
919
950
|
}
|
|
920
951
|
endPostUpdate();
|
|
921
952
|
{
|
|
@@ -939,17 +970,14 @@ var postUpdateComponent = (hostRef) => {
|
|
|
939
970
|
}
|
|
940
971
|
};
|
|
941
972
|
var appDidLoad = (who) => {
|
|
942
|
-
{
|
|
943
|
-
addHydratedFlag(doc.documentElement);
|
|
944
|
-
}
|
|
945
973
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
946
974
|
};
|
|
947
|
-
var safeCall = (instance, method, arg) => {
|
|
975
|
+
var safeCall = (instance, method, arg, elm) => {
|
|
948
976
|
if (instance && instance[method]) {
|
|
949
977
|
try {
|
|
950
978
|
return instance[method](arg);
|
|
951
979
|
} catch (e) {
|
|
952
|
-
consoleError(e);
|
|
980
|
+
consoleError(e, elm);
|
|
953
981
|
}
|
|
954
982
|
}
|
|
955
983
|
return void 0;
|
|
@@ -1008,15 +1036,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1008
1036
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1009
1037
|
members.map(([memberName, [memberFlags]]) => {
|
|
1010
1038
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1039
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
1040
|
+
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1041
|
+
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1042
|
+
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
1043
|
+
Object.defineProperty(prototype, memberName, {
|
|
1044
|
+
get() {
|
|
1045
|
+
{
|
|
1046
|
+
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
1047
|
+
return getValue(this, memberName);
|
|
1048
|
+
}
|
|
1049
|
+
const ref = getHostRef(this);
|
|
1050
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1051
|
+
if (!instance) return;
|
|
1052
|
+
return instance[memberName];
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
configurable: true,
|
|
1056
|
+
enumerable: true
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1011
1059
|
Object.defineProperty(prototype, memberName, {
|
|
1012
|
-
get() {
|
|
1013
|
-
return getValue(this, memberName);
|
|
1014
|
-
},
|
|
1015
1060
|
set(newValue) {
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1061
|
+
const ref = getHostRef(this);
|
|
1062
|
+
if (origSetter) {
|
|
1063
|
+
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1064
|
+
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
1065
|
+
newValue = ref.$instanceValues$.get(memberName);
|
|
1066
|
+
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1067
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1068
|
+
}
|
|
1069
|
+
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
1070
|
+
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
1071
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1072
|
+
return;
|
|
1073
|
+
}
|
|
1074
|
+
{
|
|
1075
|
+
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
1076
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1077
|
+
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
1078
|
+
ref.$onReadyPromise$.then(() => {
|
|
1079
|
+
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
1080
|
+
ref.$lazyInstance$[memberName] = newValue;
|
|
1081
|
+
}
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
return;
|
|
1085
|
+
}
|
|
1086
|
+
const setterSetVal = () => {
|
|
1087
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
1088
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1089
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1090
|
+
}
|
|
1091
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
1092
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1093
|
+
};
|
|
1094
|
+
if (ref.$lazyInstance$) {
|
|
1095
|
+
setterSetVal();
|
|
1096
|
+
} else {
|
|
1097
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1020
1101
|
});
|
|
1021
1102
|
}
|
|
1022
1103
|
});
|
|
@@ -1026,7 +1107,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1026
1107
|
plt.jmp(() => {
|
|
1027
1108
|
var _a2;
|
|
1028
1109
|
const propName = attrNameToPropName.get(attrName);
|
|
1029
|
-
if (this.hasOwnProperty(propName)) {
|
|
1110
|
+
if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
|
|
1030
1111
|
newValue = this[propName];
|
|
1031
1112
|
delete this[propName];
|
|
1032
1113
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1046,7 +1127,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1046
1127
|
}
|
|
1047
1128
|
return;
|
|
1048
1129
|
}
|
|
1049
|
-
|
|
1130
|
+
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1131
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1132
|
+
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1133
|
+
this[propName] = newValue;
|
|
1134
|
+
}
|
|
1050
1135
|
});
|
|
1051
1136
|
};
|
|
1052
1137
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1075,7 +1160,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1075
1160
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1076
1161
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1077
1162
|
if (bundleId) {
|
|
1078
|
-
const CstrImport = loadModule(cmpMeta);
|
|
1163
|
+
const CstrImport = loadModule(cmpMeta, hostRef);
|
|
1079
1164
|
if (CstrImport && "then" in CstrImport) {
|
|
1080
1165
|
const endLoad = uniqueTime();
|
|
1081
1166
|
Cstr = await CstrImport;
|
|
@@ -1100,7 +1185,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1100
1185
|
try {
|
|
1101
1186
|
new Cstr(hostRef);
|
|
1102
1187
|
} catch (e) {
|
|
1103
|
-
consoleError(e);
|
|
1188
|
+
consoleError(e, elm);
|
|
1104
1189
|
}
|
|
1105
1190
|
{
|
|
1106
1191
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1135,7 +1220,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1135
1220
|
schedule();
|
|
1136
1221
|
}
|
|
1137
1222
|
};
|
|
1138
|
-
var fireConnectedCallback = (instance) => {
|
|
1223
|
+
var fireConnectedCallback = (instance, elm) => {
|
|
1139
1224
|
};
|
|
1140
1225
|
|
|
1141
1226
|
// src/runtime/connected-callback.ts
|
|
@@ -1175,20 +1260,26 @@ var connectedCallback = (elm) => {
|
|
|
1175
1260
|
endConnected();
|
|
1176
1261
|
}
|
|
1177
1262
|
};
|
|
1178
|
-
var disconnectInstance = (instance) => {
|
|
1263
|
+
var disconnectInstance = (instance, elm) => {
|
|
1179
1264
|
{
|
|
1180
|
-
safeCall(instance, "disconnectedCallback");
|
|
1265
|
+
safeCall(instance, "disconnectedCallback", void 0, elm || instance);
|
|
1181
1266
|
}
|
|
1182
1267
|
};
|
|
1183
1268
|
var disconnectedCallback = async (elm) => {
|
|
1184
1269
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1185
1270
|
const hostRef = getHostRef(elm);
|
|
1186
1271
|
if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
|
|
1187
|
-
disconnectInstance(hostRef.$lazyInstance
|
|
1272
|
+
disconnectInstance(hostRef.$lazyInstance$, elm);
|
|
1188
1273
|
} else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
|
|
1189
|
-
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance
|
|
1274
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
|
|
1190
1275
|
}
|
|
1191
1276
|
}
|
|
1277
|
+
if (rootAppliedStyles.has(elm)) {
|
|
1278
|
+
rootAppliedStyles.delete(elm);
|
|
1279
|
+
}
|
|
1280
|
+
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1281
|
+
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1282
|
+
}
|
|
1192
1283
|
};
|
|
1193
1284
|
|
|
1194
1285
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1269,6 +1360,17 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1269
1360
|
}
|
|
1270
1361
|
disconnectedCallback() {
|
|
1271
1362
|
plt.jmp(() => disconnectedCallback(this));
|
|
1363
|
+
plt.raf(() => {
|
|
1364
|
+
var _a3;
|
|
1365
|
+
const hostRef = getHostRef(this);
|
|
1366
|
+
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1367
|
+
if (i2 > -1) {
|
|
1368
|
+
deferredConnectedCallbacks.splice(i2, 1);
|
|
1369
|
+
}
|
|
1370
|
+
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1371
|
+
delete hostRef.$vnode$.$elm$;
|
|
1372
|
+
}
|
|
1373
|
+
});
|
|
1272
1374
|
}
|
|
1273
1375
|
componentOnReady() {
|
|
1274
1376
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-732f640c.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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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) {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-732f640c.js';
|
|
2
|
+
export { s as setNonce } from './index-732f640c.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-
|
|
1
|
+
import{p as e,b as t}from"./p-1fc2e24a.js";export{s as setNonce}from"./p-1fc2e24a.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-a8c0f5a0",[[2,"custom-content-section",{customContent:[1,"custom-content"],repeaterContent:[8,"repeater-content"],navigateViaEvent:[516,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]],["p-3eda45d5",[[2,"custom-clock",{clockFormat:[513,"clock-format"],timeZone:[513,"time-zone"],translationUrl:[513,"translation-url"],language:[513],timeString:[32]},null,{translationUrl:["handleNewTranslations"]}]]],["p-dd7ffd49",[[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"],mbSource:[513,"mb-source"],hasErrors:[32]}]]],["p-a4b44512",[[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-55524eed",[[2,"image-list",{repeaterContent:[8,"repeater-content"],navigateViaEvent:[4,"navigate-via-event"],postMessageEvent:[513,"post-message-event"]}]]]],e))));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>{e.set(n.t=t,n)},l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},f=u.document||{head:{}},a={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],y=[],v=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.o?w(b):a.raf(b))},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},b=()=>{$(m),$(y),(p=m.length>0)&&a.raf(b)},w=t=>h().then(t),g=v(y,!0),S=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>O,map:()=>E,ok:()=>k,unwrap:()=>x,unwrapErr:()=>P});var k=t=>({isOk:!0,isErr:!1,value:t}),O=t=>({isOk:!1,isErr:!0,value:t});function E(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>k(t))):k(n)}if(t.isErr)return O(t.value);throw"should never get here"}var C,M,x=t=>{if(t.isOk)return t.value;throw t.value},P=t=>{if(t.isErr)return t.value;throw t.value},A=(t,e,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!S(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?L(null,o):o),i=s)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,r,R);const u=L(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=l,u},L=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,p:null}),N={},R={forEach:(t,e)=>t.map(T).forEach(e),map:(t,e)=>t.map(T).map(e).map(D)},T=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.$,vtag:t.m,vtext:t.i}),D=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),A(t.vtag,e,...t.vchildren||[])}const e=L(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.$=t.vname,e},H=(t,e)=>null==t||S(t)?t:4&e?"false"!==t&&(""===t||!!t):1&e?t+"":t,U=new WeakMap,W=t=>"sc-"+t.S,F=(t,e,n,o,s,i)=>{if(n!==o){let r=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=q(n);let s=q(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const l=S(o);if((r||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&i||s)&&!l&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):l(u,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(G);e=e.replace(_,""),n&&a.rel(t,e,n,l),o&&a.ael(t,e,o,l)}}},V=/\s/,q=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(V):[]),G="Capture",_=RegExp(G+"$"),z=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,l=t&&t.u||{},s=e.u||{};for(const t of B(Object.keys(l)))t in s||F(o,t,l[t],void 0,n,e.o);for(const t of B(Object.keys(s)))F(o,t,l[t],s[t],n,e.o)};function B(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var I=!1,J=(t,e,n)=>{const o=e.h[n];let l,s,i=0;if(null!==o.i)l=o.v=f.createTextNode(o.i);else if(l=o.v=f.createElement(o.m),z(null,o,I),null!=C&&void 0!==C&&l["s-si"]!==C&&l.classList.add(l["s-si"]=C),o.h)for(i=0;i<o.h.length;++i)s=J(t,o,i),s&&l.appendChild(s);return l["s-hn"]=M,l},K=(t,e,n,o,l,s)=>{let i,r=t;for(r.shadowRoot&&r.tagName===M&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=J(null,n,l),i&&(o[l].v=i,tt(r,i,e)))},Q=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;Z(e),t&&t.remove()}}},X=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),Y=(t,e,n=!1)=>{const o=e.v=t.v,l=t.h,s=e.h,i=e.i;null===i?(z(t,e,I),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,h=e[0],d=e[a],p=o.length-1,m=o[0],y=o[p];for(;r<=a&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--a];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(X(h,m,l))Y(h,m,l),h=e[++r],m=o[++c];else if(X(d,y,l))Y(d,y,l),d=e[--a],y=o[--p];else if(X(h,y,l))Y(h,y,l),tt(t,h.v,d.v.nextSibling),h=e[++r],y=o[--p];else if(X(d,m,l))Y(d,m,l),tt(t,d.v,h.v),d=e[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===m.p){u=f;break}u>=0?(i=e[u],i.m!==m.m?s=J(e&&e[c],n,u):(Y(i,m,l),e[u]=void 0,s=i.v),m=o[++c]):(s=J(e&&e[c],n,c),m=o[++c]),s&&tt(h.v.parentNode,s,h.v)}r>a?K(t,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&Q(e,r,a)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),K(o,null,e,s,0,s.length-1)):!n&&null!==l&&Q(l,0,l.length-1)):t.i!==i&&(o.data=i)},Z=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(Z)},tt=(t,e,n)=>("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"]&&function(t,e,n,o){var l,s;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],r=e["s-hn"];if(null==(l=n.classList)||l.add(i+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===r&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}(e["s-cr"],e,t,e.parentElement),null==t?void 0:t.insertBefore(e,n)),et=(t,e)=>{if(e&&!t.j&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.j=()=>{e["s-p"].splice(n-1,1),o()})))}},nt=(t,e)=>{if(t.o|=16,!(4&t.o))return et(t,t.k),g((()=>ot(t,e)));t.o|=512},ot=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(l=ft(o,"componentWillLoad",void 0,n)),lt(l,(()=>it(t,o,e)))},lt=(t,e)=>st(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),st=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,it=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.O,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=W(e),l=r.get(o);if(t=11===t.nodeType?t:f,l)if("string"==typeof l){let s,i=U.get(t=t.head||t);if(i||U.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||f.createElement("style"),s.innerHTML=l;const i=null!=(n=a.C)?n:j(f);if(null!=i&&s.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);rt(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>ct(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},rt=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.O,s=t.M||L(null,null),i=(t=>t&&t.m===N)(e)?e:A(null,null,e);if(M=o.tagName,l.P&&(i.u=i.u||{},l.P.map((([t,e])=>i.u[e]=o[t]))),n&&i.u)for(const t of Object.keys(i.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=o[t]);i.m=null,i.o|=4,t.M=i,i.v=s.v=o.shadowRoot||o,C=o["s-sc"],Y(s,i,n)})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},ct=t=>{const e=t.$hostElement$,n=t.t,o=t.k;64&t.o||(t.o|=64,at(e),ft(n,"componentDidLoad",void 0,e),t.A(e),o||ut()),t.j&&(t.j(),t.j=void 0),512&t.o&&w((()=>nt(t,!1))),t.o&=-517},ut=()=>{w((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"general-footer-template"}});return t.dispatchEvent(e),e})(u)))},ft=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,o)}},at=t=>t.classList.add("hydrated"),ht=(t,e,o,l)=>{const i=n(t);if(!i)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.L.get(e),u=i.o,f=i.t;if(o=H(o,l.N[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.L.set(e,o),f)){if(l.R&&128&u){const t=l.R[e];t&&t.map((t=>{try{f[t](o,c,e)}catch(t){s(t,r)}}))}2==(18&u)&&nt(i,!1)}},dt=(t,e,o)=>{var l,s;const i=t.prototype;if(e.N||e.R||t.watchers){t.watchers&&!e.R&&(e.R=t.watchers);const r=Object.entries(null!=(l=e.N)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.N[t][0]|=2048),r&&(e.N[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.N[t][0]))return((t,e)=>n(this).L.get(e))(0,t);const o=n(this),l=o?o.t:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&l?this[t]:i.$hostElement$[t];return void 0===n&&i.L.get(t)?s=i.L.get(t):!i.L.get(t)&&n&&i.L.set(t,n),r.call(this,H(s,l)),void ht(this,t,s=32&l?this[t]:i.$hostElement$[t],e)}{if(!(1&o&&4096&e.N[t][0]))return ht(this,t,s,e),void(1&o&&!i.t&&i.T.then((()=>{4096&e.N[t][0]&&i.t[t]!==i.L.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.L.get(t)&&n&&i.L.set(t,n),i.t[t]=H(s,l),ht(this,t,i.t[t],e)};i.t?n():i.T.then((()=>n()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){a.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.R)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.R)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.P)||l.push([t,s])),s}))]))}}return t},pt=(t,e)=>{ft(t,"disconnectedCallback",void 0,e||t)},mt=(t,o={})=>{var l;const h=[],p=o.exclude||[],m=u.customElements,y=f.head,v=y.querySelector("meta[charset]"),$=f.createElement("style"),b=[];let w,g=!0;Object.assign(a,o),a.l=new URL(o.resourcesUrl||"./",f.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],S:o[1],N:o[2],D:o[3]};4&c.o&&(S=!0),c.N=o[2],c.P=[],c.R=null!=(l=o[4])?l:{};const u=c.S,f=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,O:n,L:new Map};o.T=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.S}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),g?b.push(this):a.jmp((()=>(t=>{if(!(1&a.o)){const e=n(t),o=e.O,l=()=>{};if(1&e.o)(null==e?void 0:e.t)||(null==e?void 0:e.T)&&e.T.then((()=>{}));else{e.o|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){et(e,e.k=n);break}}o.N&&Object.entries(o.N).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.H){const l=((t,e)=>{const n=t.S.replace(/-/g,"_"),o=t.H;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{s(t,e.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.S}#${e.U}" was not found`);o.isProxied||(n.R=o.watchers,dt(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){s(e,t)}e.o&=-9,e.o|=128,r()}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=W(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.k,c=()=>nt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.o)){const e=n(t);(null==e?void 0:e.t)?pt(e.t,t):(null==e?void 0:e.T)&&e.T.then((()=>pt(e.t,t)))}U.has(t)&&U.delete(t),t.shadowRoot&&U.has(t.shadowRoot)&&U.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const e=n(this),o=b.findIndex((t=>t===this));o>-1&&b.splice(o,1),(null==(t=null==e?void 0:e.M)?void 0:t.v)instanceof Node&&!e.M.v.isConnected&&delete e.M.v}))}componentOnReady(){return n(this).T}};c.H=t[0],p.includes(u)||m.get(u)||(h.push(u),m.define(u,dt(f,c,1)))}))})),h.length>0&&(S&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const t=null!=(l=a.C)?l:j(f);null!=t&&$.setAttribute("nonce",t),y.insertBefore($,v?v.nextSibling:y.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):a.jmp((()=>w=setTimeout(ut,30)))},yt=t=>a.C=t;export{mt as b,A as h,h as p,o as r,yt as s}
|