@everymatrix/general-about-us 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/cjs/general-about-us.cjs.entry.js +11 -25
  2. package/dist/cjs/general-about-us.cjs.js +2 -2
  3. package/dist/cjs/{index-89f8f750.js → index-3d4db61a.js} +67 -168
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/general-about-us/general-about-us.js +10 -36
  7. package/dist/esm/general-about-us.entry.js +11 -25
  8. package/dist/esm/general-about-us.js +3 -3
  9. package/dist/esm/{index-1fa28ad9.js → index-f6c09f3b.js} +67 -168
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/general-about-us/general-about-us.esm.js +1 -1
  12. package/dist/general-about-us/p-157a2384.entry.js +1 -0
  13. package/dist/general-about-us/p-a4cae9d7.js +2 -0
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/general-about-us/p-1249f60f.js +0 -2
  18. package/dist/general-about-us/p-a7e030e4.entry.js +0 -1
  19. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-1fa28ad9.js';
1
+ import { r as registerInstance, h } from './index-f6c09f3b.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const TRANSLATIONS = {
@@ -97,30 +97,6 @@ const GeneralAboutUsStyle0 = generalAboutUsCss;
97
97
  const GeneralAboutUs = class {
98
98
  constructor(hostRef) {
99
99
  registerInstance(this, hostRef);
100
- /**
101
- * Language of the widget
102
- */
103
- this.language = 'en';
104
- /**
105
- * User roles
106
- */
107
- this.userRoles = 'everyone';
108
- /**
109
- * CMS Endpoint stage
110
- */
111
- this.cmsEnv = 'stage';
112
- /**
113
- * Client custom styling via inline style
114
- */
115
- this.clientStyling = '';
116
- /**
117
- * Client custom styling via url
118
- */
119
- this.clientStylingUrl = '';
120
- this.hasErrors = false;
121
- this.isLoading = true;
122
- this.limitStylingAppends = false;
123
- this.device = '';
124
100
  this.handleClick = (url, target, location, isExternal) => {
125
101
  window.postMessage({ type: 'NavigateTo', path: url, target: target, locations: location, externalLink: isExternal || false }, window.location.href);
126
102
  // @ts-ignore Analytics event
@@ -180,6 +156,16 @@ const GeneralAboutUs = class {
180
156
  }
181
157
  return h("div", { class: "Title" }, h("span", { class: "FirstWord" }, firstWord, " "), h("span", null, restOfTitle));
182
158
  };
159
+ this.cmsEndpoint = undefined;
160
+ this.language = 'en';
161
+ this.userRoles = 'everyone';
162
+ this.cmsEnv = 'stage';
163
+ this.clientStyling = '';
164
+ this.clientStylingUrl = '';
165
+ this.hasErrors = false;
166
+ this.isLoading = true;
167
+ this.limitStylingAppends = false;
168
+ this.device = '';
183
169
  }
184
170
  watchEndpoint(newValue, oldValue) {
185
171
  if (newValue && newValue != oldValue && this.cmsEndpoint) {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-1fa28ad9.js';
2
- export { s as setNonce } from './index-1fa28ad9.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-f6c09f3b.js';
2
+ export { s as setNonce } from './index-f6c09f3b.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,21 +1,17 @@
1
1
  const NAMESPACE = 'general-about-us';
2
- const BUILD = /* general-about-us */ { 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: false, 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: false, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, 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: false, vdomKey: false, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
2
+ const BUILD = /* general-about-us */ { 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: false, 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: false, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, 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: false, vdomKey: false, 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.26.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.22.3 | 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
14
12
  var hostRefs = /* @__PURE__ */ new WeakMap();
15
13
  var getHostRef = (ref) => hostRefs.get(ref);
16
- var registerInstance = (lazyInstance, hostRef) => {
17
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
- };
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
19
15
  var registerHost = (hostElement, cmpMeta) => {
20
16
  const hostRef = {
21
17
  $flags$: 0,
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
28
24
  hostElement["s-p"] = [];
29
25
  hostElement["s-rc"] = [];
30
26
  }
31
- const ref = hostRefs.set(hostElement, hostRef);
32
- return ref;
27
+ return hostRefs.set(hostElement, hostRef);
33
28
  };
34
29
  var isMemberInElement = (elm, memberName) => memberName in elm;
35
30
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
66
61
  /* webpackExclude: /\.system\.entry\.js$/ */
67
62
  /* webpackMode: "lazy" */
68
63
  `./${bundleId}.entry.js${""}`
69
- ).then(
70
- (importedModule) => {
71
- {
72
- cmpModules.set(bundleId, importedModule);
73
- }
74
- return importedModule[exportName];
75
- },
76
- (e) => {
77
- consoleError(e, hostRef.$hostElement$);
64
+ ).then((importedModule) => {
65
+ {
66
+ cmpModules.set(bundleId, importedModule);
78
67
  }
79
- );
68
+ return importedModule[exportName];
69
+ }, consoleError);
80
70
  };
81
71
 
82
72
  // src/client/client-style.ts
83
73
  var styles = /* @__PURE__ */ new Map();
84
- var HYDRATED_STYLE_ID = "sty-id";
85
74
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
86
75
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
87
76
  var win = typeof window !== "undefined" ? window : {};
@@ -139,6 +128,12 @@ var flush = () => {
139
128
  };
140
129
  var nextTick = (cb) => promiseResolve().then(cb);
141
130
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
131
+
132
+ // src/utils/constants.ts
133
+ var EMPTY_OBJ = {};
134
+
135
+ // src/utils/helpers.ts
136
+ var isDef = (v) => v != null;
142
137
  var isComplexType = (o) => {
143
138
  o = typeof o;
144
139
  return o === "object" || o === "function";
@@ -310,7 +305,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
310
305
  }
311
306
  if (!appliedStyles.has(scopeId2)) {
312
307
  {
313
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
308
+ styleElm = doc.createElement("style");
314
309
  styleElm.innerHTML = style;
315
310
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
316
311
  if (nonce != null) {
@@ -320,10 +315,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
320
315
  if (styleContainerNode.nodeName === "HEAD") {
321
316
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
322
317
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
323
- styleContainerNode.insertBefore(
324
- styleElm,
325
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
326
- );
318
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
327
319
  } else if ("host" in styleContainerNode) {
328
320
  if (supportsConstructableStylesheets) {
329
321
  const stylesheet = new CSSStyleSheet();
@@ -341,7 +333,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
341
333
  styleContainerNode.append(styleElm);
342
334
  }
343
335
  }
344
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
336
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
345
337
  styleContainerNode.insertBefore(styleElm, null);
346
338
  }
347
339
  }
@@ -366,25 +358,23 @@ var attachStyles = (hostRef) => {
366
358
  const scopeId2 = addStyle(
367
359
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
368
360
  cmpMeta);
369
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
361
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
370
362
  elm["s-sc"] = scopeId2;
371
363
  elm.classList.add(scopeId2 + "-h");
372
364
  }
373
365
  endAttachStyles();
374
366
  };
375
367
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
376
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
368
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
377
369
  if (oldValue !== newValue) {
378
370
  let isProp = isMemberInElement(elm, memberName);
379
371
  let ln = memberName.toLowerCase();
380
372
  if (memberName === "class") {
381
373
  const classList = elm.classList;
382
374
  const oldClasses = parseClassList(oldValue);
383
- let newClasses = parseClassList(newValue);
384
- {
385
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
386
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
387
- }
375
+ const newClasses = parseClassList(newValue);
376
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
377
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
388
378
  } else if (memberName === "style") {
389
379
  {
390
380
  for (const prop in oldValue) {
@@ -443,7 +433,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
443
433
  elm.setAttribute(memberName, n);
444
434
  }
445
435
  }
446
- } else if (elm[memberName] !== newValue) {
436
+ } else {
447
437
  elm[memberName] = newValue;
448
438
  }
449
439
  } catch (e) {
@@ -465,44 +455,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
465
455
  }
466
456
  };
467
457
  var parseClassListRegex = /\s/;
468
- var parseClassList = (value) => {
469
- if (typeof value === "object" && value && "baseVal" in value) {
470
- value = value.baseVal;
471
- }
472
- if (!value || typeof value !== "string") {
473
- return [];
474
- }
475
- return value.split(parseClassListRegex);
476
- };
458
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
477
459
  var CAPTURE_EVENT_SUFFIX = "Capture";
478
460
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
479
461
 
480
462
  // src/runtime/vdom/update-element.ts
481
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
463
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
482
464
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
483
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
484
- const newVnodeAttrs = newVnode.$attrs$ || {};
465
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
466
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
485
467
  {
486
468
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
487
469
  if (!(memberName in newVnodeAttrs)) {
488
- setAccessor(
489
- elm,
490
- memberName,
491
- oldVnodeAttrs[memberName],
492
- void 0,
493
- isSvgMode2,
494
- newVnode.$flags$);
470
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
495
471
  }
496
472
  }
497
473
  }
498
474
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
499
- setAccessor(
500
- elm,
501
- memberName,
502
- oldVnodeAttrs[memberName],
503
- newVnodeAttrs[memberName],
504
- isSvgMode2,
505
- newVnode.$flags$);
475
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
506
476
  }
507
477
  };
508
478
  function sortedAttrNames(attrNames) {
@@ -514,10 +484,13 @@ function sortedAttrNames(attrNames) {
514
484
  attrNames
515
485
  );
516
486
  }
487
+
488
+ // src/runtime/vdom/vdom-render.ts
489
+ var scopeId;
517
490
  var hostTagName;
518
491
  var useNativeShadowDom = false;
519
492
  var isSvgMode = false;
520
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
493
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
521
494
  const newVNode2 = newParentVNode.$children$[childIndex];
522
495
  let i2 = 0;
523
496
  let elm;
@@ -531,6 +504,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
531
504
  {
532
505
  updateElement(null, newVNode2, isSvgMode);
533
506
  }
507
+ const rootNode = elm.getRootNode();
508
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
509
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
510
+ elm.classList.add(elm["s-si"] = scopeId);
511
+ }
534
512
  if (newVNode2.$children$) {
535
513
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
536
514
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -635,9 +613,6 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
635
613
  };
636
614
  var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
637
615
  if (leftVNode.$tag$ === rightVNode.$tag$) {
638
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
639
- leftVNode.$key$ = rightVNode.$key$;
640
- }
641
616
  return true;
642
617
  }
643
618
  return false;
@@ -677,9 +652,8 @@ var nullifyVNodeRefs = (vNode) => {
677
652
  }
678
653
  };
679
654
  var insertBefore = (parent, newNode, reference) => {
680
- {
681
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
682
- }
655
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
656
+ return inserted;
683
657
  };
684
658
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
685
659
  const hostElm = hostRef.$hostElement$;
@@ -704,21 +678,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
704
678
  rootVnode.$flags$ |= 4 /* isHost */;
705
679
  hostRef.$vnode$ = rootVnode;
706
680
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
707
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
681
+ {
682
+ scopeId = hostElm["s-sc"];
683
+ }
684
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
708
685
  patch(oldVNode, rootVnode, isInitialLoad);
709
686
  };
710
687
 
711
688
  // src/runtime/update-component.ts
712
689
  var attachToAncestor = (hostRef, ancestorComponent) => {
713
690
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
714
- const index = ancestorComponent["s-p"].push(
715
- new Promise(
716
- (r) => hostRef.$onRenderResolve$ = () => {
717
- ancestorComponent["s-p"].splice(index - 1, 1);
718
- r();
719
- }
720
- )
721
- );
691
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
722
692
  }
723
693
  };
724
694
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -745,7 +715,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
745
715
  let maybePromise;
746
716
  if (isInitialLoad) {
747
717
  {
748
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
718
+ maybePromise = safeCall(instance, "componentWillLoad");
749
719
  }
750
720
  }
751
721
  endSchedule();
@@ -814,7 +784,7 @@ var postUpdateComponent = (hostRef) => {
814
784
  const instance = hostRef.$lazyInstance$ ;
815
785
  const ancestorComponent = hostRef.$ancestorComponent$;
816
786
  {
817
- safeCall(instance, "componentDidRender", void 0, elm);
787
+ safeCall(instance, "componentDidRender");
818
788
  }
819
789
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
820
790
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -822,7 +792,7 @@ var postUpdateComponent = (hostRef) => {
822
792
  addHydratedFlag(elm);
823
793
  }
824
794
  {
825
- safeCall(instance, "componentDidLoad", void 0, elm);
795
+ safeCall(instance, "componentDidLoad");
826
796
  }
827
797
  endPostUpdate();
828
798
  {
@@ -846,14 +816,17 @@ var postUpdateComponent = (hostRef) => {
846
816
  }
847
817
  };
848
818
  var appDidLoad = (who) => {
819
+ {
820
+ addHydratedFlag(doc.documentElement);
821
+ }
849
822
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
850
823
  };
851
- var safeCall = (instance, method, arg, elm) => {
824
+ var safeCall = (instance, method, arg) => {
852
825
  if (instance && instance[method]) {
853
826
  try {
854
827
  return instance[method](arg);
855
828
  } catch (e) {
856
- consoleError(e, elm);
829
+ consoleError(e);
857
830
  }
858
831
  }
859
832
  return void 0;
@@ -912,68 +885,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
912
885
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
913
886
  members.map(([memberName, [memberFlags]]) => {
914
887
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
915
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
916
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
917
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
918
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
919
- Object.defineProperty(prototype, memberName, {
920
- get() {
921
- {
922
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
923
- return getValue(this, memberName);
924
- }
925
- const ref = getHostRef(this);
926
- const instance = ref ? ref.$lazyInstance$ : prototype;
927
- if (!instance) return;
928
- return instance[memberName];
929
- }
930
- },
931
- configurable: true,
932
- enumerable: true
933
- });
934
- }
935
888
  Object.defineProperty(prototype, memberName, {
889
+ get() {
890
+ return getValue(this, memberName);
891
+ },
936
892
  set(newValue) {
937
- const ref = getHostRef(this);
938
- if (origSetter) {
939
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
940
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
941
- newValue = ref.$instanceValues$.get(memberName);
942
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
943
- ref.$instanceValues$.set(memberName, currentValue);
944
- }
945
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
946
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
947
- setValue(this, memberName, newValue, cmpMeta);
948
- return;
949
- }
950
- {
951
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
952
- setValue(this, memberName, newValue, cmpMeta);
953
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
954
- ref.$onReadyPromise$.then(() => {
955
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
956
- ref.$lazyInstance$[memberName] = newValue;
957
- }
958
- });
959
- }
960
- return;
961
- }
962
- const setterSetVal = () => {
963
- const currentValue = ref.$lazyInstance$[memberName];
964
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
965
- ref.$instanceValues$.set(memberName, currentValue);
966
- }
967
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
968
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
969
- };
970
- if (ref.$lazyInstance$) {
971
- setterSetVal();
972
- } else {
973
- ref.$onReadyPromise$.then(() => setterSetVal());
974
- }
975
- }
976
- }
893
+ setValue(this, memberName, newValue, cmpMeta);
894
+ },
895
+ configurable: true,
896
+ enumerable: true
977
897
  });
978
898
  }
979
899
  });
@@ -983,7 +903,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
983
903
  plt.jmp(() => {
984
904
  var _a2;
985
905
  const propName = attrNameToPropName.get(attrName);
986
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
906
+ if (this.hasOwnProperty(propName)) {
987
907
  newValue = this[propName];
988
908
  delete this[propName];
989
909
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1003,11 +923,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1003
923
  }
1004
924
  return;
1005
925
  }
1006
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1007
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1008
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1009
- this[propName] = newValue;
1010
- }
926
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1011
927
  });
1012
928
  };
1013
929
  Cstr.observedAttributes = Array.from(
@@ -1036,7 +952,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1036
952
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1037
953
  const bundleId = cmpMeta.$lazyBundleId$;
1038
954
  if (bundleId) {
1039
- const CstrImport = loadModule(cmpMeta, hostRef);
955
+ const CstrImport = loadModule(cmpMeta);
1040
956
  if (CstrImport && "then" in CstrImport) {
1041
957
  const endLoad = uniqueTime();
1042
958
  Cstr = await CstrImport;
@@ -1061,7 +977,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1061
977
  try {
1062
978
  new Cstr(hostRef);
1063
979
  } catch (e) {
1064
- consoleError(e, elm);
980
+ consoleError(e);
1065
981
  }
1066
982
  {
1067
983
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1096,7 +1012,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1096
1012
  schedule();
1097
1013
  }
1098
1014
  };
1099
- var fireConnectedCallback = (instance, elm) => {
1015
+ var fireConnectedCallback = (instance) => {
1100
1016
  };
1101
1017
 
1102
1018
  // src/runtime/connected-callback.ts
@@ -1136,7 +1052,7 @@ var connectedCallback = (elm) => {
1136
1052
  endConnected();
1137
1053
  }
1138
1054
  };
1139
- var disconnectInstance = (instance, elm) => {
1055
+ var disconnectInstance = (instance) => {
1140
1056
  };
1141
1057
  var disconnectedCallback = async (elm) => {
1142
1058
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1145,12 +1061,6 @@ var disconnectedCallback = async (elm) => {
1145
1061
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1146
1062
  }
1147
1063
  }
1148
- if (rootAppliedStyles.has(elm)) {
1149
- rootAppliedStyles.delete(elm);
1150
- }
1151
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1152
- rootAppliedStyles.delete(elm.shadowRoot);
1153
- }
1154
1064
  };
1155
1065
 
1156
1066
  // src/runtime/bootstrap-lazy.ts
@@ -1231,17 +1141,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1231
1141
  }
1232
1142
  disconnectedCallback() {
1233
1143
  plt.jmp(() => disconnectedCallback(this));
1234
- plt.raf(() => {
1235
- var _a3;
1236
- const hostRef = getHostRef(this);
1237
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1238
- if (i2 > -1) {
1239
- deferredConnectedCallbacks.splice(i2, 1);
1240
- }
1241
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1242
- delete hostRef.$vnode$.$elm$;
1243
- }
1244
- });
1245
1144
  }
1246
1145
  componentOnReady() {
1247
1146
  return getHostRef(this).$onReadyPromise$;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-1fa28ad9.js';
2
- export { s as setNonce } from './index-1fa28ad9.js';
1
+ import { b as bootstrapLazy } from './index-f6c09f3b.js';
2
+ export { s as setNonce } from './index-f6c09f3b.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 n,b as t}from"./p-1249f60f.js";export{s as setNonce}from"./p-1249f60f.js";import{g as e}from"./p-e1255160.js";(()=>{const t=import.meta.url,e={};return""!==t&&(e.resourcesUrl=new URL(".",t).href),n(e)})().then((async n=>(await e(),t([["p-a7e030e4",[[1,"general-about-us",{cmsEndpoint:[513,"cms-endpoint"],language:[513],userRoles:[513,"user-roles"],cmsEnv:[513,"cms-env"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],hasErrors:[32],isLoading:[32],limitStylingAppends:[32],device:[32]},null,{cmsEndpoint:["watchEndpoint"],language:["watchEndpoint"],userRoles:["watchEndpoint"],device:["watchEndpoint"]}]]]],n))));
1
+ import{p as n,b as t}from"./p-a4cae9d7.js";export{s as setNonce}from"./p-a4cae9d7.js";import{g as e}from"./p-e1255160.js";(()=>{const t=import.meta.url,e={};return""!==t&&(e.resourcesUrl=new URL(".",t).href),n(e)})().then((async n=>(await e(),t([["p-157a2384",[[1,"general-about-us",{cmsEndpoint:[513,"cms-endpoint"],language:[513],userRoles:[513,"user-roles"],cmsEnv:[513,"cms-env"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],hasErrors:[32],isLoading:[32],limitStylingAppends:[32],device:[32]},null,{cmsEndpoint:["watchEndpoint"],language:["watchEndpoint"],userRoles:["watchEndpoint"],device:["watchEndpoint"]}]]]],n))));
@@ -0,0 +1 @@
1
+ import{r as n,h as t}from"./p-a4cae9d7.js";const e={en:{error:"Error",noResults:"Loading, please wait ..."},hu:{error:"Error",noResults:"Loading, please wait ..."},ro:{error:"Eroare",noResults:"Loading, please wait ..."},fr:{error:"Error",noResults:"Loading, please wait ..."},ar:{error:"خطأ",noResults:"Loading, please wait ..."},hr:{error:"Greška",noResults:"Učitavanje, molimo pričekajte ..."}};const i=class{constructor(e){n(this,e),this.handleClick=(n,t,e,i)=>{window.postMessage({type:"NavigateTo",path:n,target:t,locations:e,externalLink:i||!1},window.location.href),"function"==typeof gtag&&gtag("event","GeneralAboutUs",{context:"AboutUsContent"})},this.setImage=n=>{let t="";switch(this.device=function(){const n=navigator.userAgent.toLowerCase(),t=screen.availWidth,e=screen.availHeight;if(n.includes("iphone"))return"mobile";if(n.includes("android")){if(e>t&&t<800)return"mobile";if(t>e&&e<800)return"tablet"}return"desktop"}(),this.device){case"mobile":t=n.imageMobile;break;case"tablet":t=n.imageTablet;break;case"desktop":t=n.imageDesktop}return t},this.setClientStyling=()=>{let n=document.createElement("style");n.innerHTML=this.clientStyling,this.stylingContainer.prepend(n)},this.setClientStylingURL=()=>{let n=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(n.href).then((n=>n.text())).then((n=>{t.innerHTML=n,setTimeout((()=>{this.stylingContainer.prepend(t)}),1)})).catch((n=>{console.log("error ",n)}))},this.formatTitle=(n,e)=>{let i,o;if(["zh","ja","th"].includes(e))i=n.substring(0,1),o=n.substring(1);else{const t=n.split(" ");i=t.shift(),o=t.join(" ")}return t("div",{class:"Title"},t("span",{class:"FirstWord"},i," "),t("span",null,o))},this.cmsEndpoint=void 0,this.language="en",this.userRoles="everyone",this.cmsEnv="stage",this.clientStyling="",this.clientStylingUrl="",this.hasErrors=!1,this.isLoading=!0,this.limitStylingAppends=!1,this.device=""}watchEndpoint(n,t){n&&n!=t&&this.cmsEndpoint&&this.getAboutUs()}componentWillLoad(){if(this.cmsEndpoint&&this.language)return this.getAboutUs()}componentDidLoad(){this.device=function(){const n=navigator.userAgent.toLowerCase();let t="";return t=n.includes("android")||n.includes("iphone")||n.includes("ipad")?function(){const n=screen.availWidth;return n<600?"mobile":n>=600&&n<1100?"tablet":void 0}():"desktop",t}()}getAboutUs(){let n=new URL(`${this.cmsEndpoint}/${this.language}/homepage`);return n.searchParams.append("env",this.cmsEnv),n.searchParams.append("userRoles",this.userRoles),n.searchParams.append("device",(()=>{const n=(()=>{let n=window.navigator.userAgent.toLocaleLowerCase();return n.includes("android/i")?"android":n.includes("iphone/i")?"iPhone":n.includes("ipad/i")||n.includes("ipod/i")?"iPad":"PC"})();if(n)return"PC"===n?"dk":"mtWeb"})()),new Promise(((t,e)=>{this.isLoading=!0,fetch(n.href).then((n=>n.json())).then((n=>{const e=["title","description","images","button","externalLink","targetType","locations"],i=Object.entries(n).filter((([n])=>e.includes(n))).reduce(((n,[t,e])=>(n[t]=e,n)),{});this.aboutUsData=i,t(i)})).catch((n=>{console.error(n),this.hasErrors=!0,e(n)})).finally((()=>{this.isLoading=!1}))}))}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}render(){var n,i,o,r,a,s;return this.hasErrors?t("div",{class:"AboutUsError"},t("div",{class:"ErrorInfo"},e[void 0!==(s=this.language)&&s in e?s:"en"].error)):this.isLoading?void 0:t("div",{ref:n=>this.stylingContainer=n},t("div",{class:"AboutUsWrapper"},t("div",{class:"ItemImage"},t("div",{class:"ForegroundImage",style:{background:`linear-gradient(to left, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%),\n linear-gradient(to bottom left, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%),\n linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.6) 100%),\n url(${this.setImage(null===(n=this.aboutUsData)||void 0===n?void 0:n.images)}) no-repeat center center / cover`}}),t("img",{class:"BackgroundImage",src:this.setImage(this.aboutUsData.images),alt:"image"}),t("div",{class:"ItemDetails"},this.formatTitle(null===(i=this.aboutUsData)||void 0===i?void 0:i.title,this.language),t("div",{class:"Description",innerHTML:null===(o=this.aboutUsData)||void 0===o?void 0:o.description}),t("button",{class:"Button",onClick:()=>{var n,t,e,i,o;return this.handleClick(null===(t=null===(n=this.aboutUsData)||void 0===n?void 0:n.button)||void 0===t?void 0:t.buttonUrl,null===(e=this.aboutUsData)||void 0===e?void 0:e.targetType,null===(i=this.aboutUsData)||void 0===i?void 0:i.locations,null===(o=this.aboutUsData)||void 0===o?void 0:o.externalLink)}},null===(a=null===(r=this.aboutUsData)||void 0===r?void 0:r.button)||void 0===a?void 0:a.buttonText,t("img",{src:"data:image/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KDTwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIFRyYW5zZm9ybWVkIGJ5OiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4KPHN2ZyBoZWlnaHQ9IjY0cHgiIHdpZHRoPSI2NHB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCAxODUuMzQzIDE4NS4zNDMiIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGw9IiNENUYzREYiIHN0cm9rZT0iI0Q1RjNERiI+Cg08ZyBpZD0iU1ZHUmVwb19iZ0NhcnJpZXIiIHN0cm9rZS13aWR0aD0iMCIvPgoNPGcgaWQ9IlNWR1JlcG9fdHJhY2VyQ2FycmllciIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cg08ZyBpZD0iU1ZHUmVwb19pY29uQ2FycmllciI+IDxnPiA8Zz4gPHBhdGggc3R5bGU9ImZpbGw6I2VjZjlmMDsiIGQ9Ik01MS43MDcsMTg1LjM0M2MtMi43NDEsMC01LjQ5My0xLjA0NC03LjU5My0zLjE0OWMtNC4xOTQtNC4xOTQtNC4xOTQtMTAuOTgxLDAtMTUuMTc1IGw3NC4zNTItNzQuMzQ3TDQ0LjExNCwxOC4zMmMtNC4xOTQtNC4xOTQtNC4xOTQtMTAuOTg3LDAtMTUuMTc1YzQuMTk0LTQuMTk0LDEwLjk4Ny00LjE5NCwxNS4xOCwwbDgxLjkzNCw4MS45MzQgYzQuMTk0LDQuMTk0LDQuMTk0LDEwLjk4NywwLDE1LjE3NWwtODEuOTM0LDgxLjkzOUM1Ny4yMDEsMTg0LjI5Myw1NC40NTQsMTg1LjM0Myw1MS43MDcsMTg1LjM0M3oiLz4gPC9nPiA8L2c+IDwvZz4KDTwvc3ZnPg==",alt:"right chevron",class:"Chevron"}))))))}static get watchers(){return{cmsEndpoint:["watchEndpoint"],language:["watchEndpoint"],userRoles:["watchEndpoint"],device:["watchEndpoint"]}}};i.style=":host {\n display: block;\n font-family: inherit;\n}\n\np {\n margin: 0;\n padding: 0;\n font-family: inherit;\n}\n\nbutton {\n font-family: inherit;\n}\n\n.AboutUsError .ErrorInfo {\n color: var(--emw--color-error, #ed0909);\n}\n\n.AboutUsWrapper {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background-color: var(--emw--color-background, #000000);\n width: 100%;\n border-radius: var(--emw--border-radius-large, 15px);\n animation: fadeInAnimation ease 1.5s;\n animation-iteration-count: 1;\n animation-fill-mode: forwards;\n}\n\n@keyframes fadeInAnimation {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n.ItemImage {\n position: relative;\n width: 100%;\n max-width: 100%;\n height: auto;\n border-radius: var(--emw--border-radius-large, 20px);\n background: var(--emw--color-background, black);\n}\n.ItemImage .ForegroundImage {\n z-index: 3;\n pointer-events: none;\n opacity: 1;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: opacity 0.5s ease, filter 0.5s ease;\n border-radius: var(--emw--border-radius-large, 20px);\n}\n.ItemImage .BackgroundImage {\n position: absolute;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: opacity 0.5s ease, filter 0.5s ease;\n border-radius: var(--emw--border-radius-large, 20px);\n z-index: 2;\n top: 20px;\n filter: blur(16px);\n opacity: 0.7;\n transform: scale(1.01);\n}\n.ItemImage .ItemDetails {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 16px;\n width: 60%;\n padding: 40px;\n}\n.ItemImage .ItemDetails > div {\n position: relative;\n height: auto;\n border-radius: var(--emw--border-radius-medium, 5px);\n z-index: 10;\n overflow: hidden;\n}\n.ItemImage .Title {\n padding: 20px 0px 10px 0px;\n font-size: var(--emw--font-size-x-large, 38px);\n font-weight: var(--emw--font-weight-bold, 700);\n color: var(--emw--color-typography, white);\n}\n.ItemImage .Title .FirstWord {\n text-transform: uppercase;\n letter-spacing: 1px;\n background: var(--emw--color-primary, #1EC450);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n.ItemImage .Description {\n font-size: var(--emw--font-size-small-plus, 16px);\n font-weight: var(--emw--font-weight-normal, 400);\n color: var(--emw--color-gray-100, #D1D1D2);\n}\n.ItemImage button {\n position: relative;\n width: auto;\n padding: 10px 24px;\n color: var(--emw--button-text-color, white);\n font-size: var(--emw--font-size-small, 16px);\n border: var(--emw--button-border, 3px solid) var(--emw--button-border-color, #063B17);\n border-radius: var(--emw--button-border-radius, 50px);\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n z-index: 20;\n animation: ButtonEffect 4s linear infinite;\n background-image: linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E), black 30%), var(--emw--color-primary, #22B04E));\n background-size: 300% 100%;\n}\n.ItemImage button:hover {\n opacity: 0.8;\n}\n.ItemImage button img.Chevron {\n position: relative;\n height: var(--emw--size-standard, 12px);\n margin-left: var(--emw--spacing-small-minus, 6px);\n}\n@keyframes ButtonEffect {\n 0% {\n background-position: 0% 50%;\n }\n 33% {\n background-position: 100% 50%;\n }\n 66% {\n background-position: 200% 50%;\n }\n 100% {\n background-position: 300% 50%;\n }\n}\n\n@container (max-width: 475px) {\n .AboutUsWrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: var(--emw--spacing-small-minus, 10px);\n max-width: 100%;\n background-color: var(--emw--color-background, #000000);\n animation: fadeInAnimation ease 1.5s;\n animation-iteration-count: 1;\n animation-fill-mode: forwards;\n }\n .AboutUsWrapper .ItemDetails {\n padding: 30px;\n }\n .AboutUsWrapper .ItemDetails .Title {\n font-size: var(--emw--font-size-large, 28px);\n padding: 0;\n }\n .AboutUsWrapper .ItemDetails .Button {\n font-size: var(--emw--font-size-small, 14px);\n padding: 8px 20px;\n }\n .AboutUsWrapper .ItemDetails > div {\n border-radius: var(--emw--border-radius-medium, 5px);\n gap: var(--emw--spacing-2x-small, 4px);\n }\n .AboutUsWrapper .Description {\n text-align: left;\n font-size: var(--emw--font-size-small, 14px);\n font-weight: var(--emw--font-weight-normal, 400);\n }\n .AboutUsWrapper button {\n padding-bottom: 10px;\n line-height: 15px;\n padding: 10px;\n }\n}\n@container (max-width: 800px) {\n .Title {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n}";export{i as general_about_us}
@@ -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),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={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),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),d=!1,m=[],y=[],$=(t,e)=>n=>{t.push(n),d||(d=!0,e&&4&f.o?v(b):f.raf(b))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},b=()=>{w(m),w(y),(d=m.length>0)&&f.raf(b)},v=t=>h().then(t),S=$(y,!0),g={},j=t=>"object"==(t=typeof t)||"function"===t;function E(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:()=>k,map:()=>C,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function C(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var 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=!1,s=!1;const r=[],i=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?i(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!j(o))&&(o+=""),l&&s?r[r.length-1].i+=o:r.push(l?D(null,o):o),s=l)};if(i(n),e){const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}const c=D(t,null);return c.u=e,r.length>0&&(c.h=r),c},D=(t,e)=>({o:0,p:t,i:e,m:null,h:null,u:null}),R={},H=new WeakMap,L=t=>"sc-"+t.$,T=(t,e,n,o,s,r)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=U(n),s=U(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("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=j(o);if((i||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]=o;else{const l=null==o?"":o;"list"===e?i=!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):(!i||4&r||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(W);e=e.replace(F,""),n&&f.rel(t,e,n,l),o&&f.ael(t,e,o,l)}}},N=/\s/,U=t=>t?t.split(N):[],W="Capture",F=RegExp(W+"$"),q=(t,e,n)=>{const o=11===e.m.nodeType&&e.m.host?e.m.host:e.m,l=t&&t.u||g,s=e.u||g;for(const t of G(Object.keys(l)))t in s||T(o,t,l[t],void 0,n,e.o);for(const t of G(Object.keys(s)))T(o,t,l[t],s[t],n,e.o)};function G(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var V=!1,_=(t,e,n)=>{const o=e.h[n];let l,s,r=0;if(null!==o.i)l=o.m=a.createTextNode(o.i);else if(l=o.m=a.createElement(o.p),q(null,o,V),l.getRootNode().querySelector("body"),o.h)for(r=0;r<o.h.length;++r)s=_(t,o,r),s&&l.appendChild(s);return l["s-hn"]=M,l},z=(t,e,n,o,l,s)=>{let r,i=t;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=_(null,n,l),r&&(o[l].m=r,Q(i,r,e)))},B=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.m;K(e),t&&t.remove()}}},I=(t,e)=>t.p===e.p,J=(t,e,n=!1)=>{const o=e.m=t.m,l=t.h,s=e.h,r=e.i;null===r?(q(t,e,V),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r=0,i=0,c=e.length-1,u=e[0],a=e[c],f=o.length-1,h=o[0],p=o[f];for(;r<=c&&i<=f;)null==u?u=e[++r]:null==a?a=e[--c]:null==h?h=o[++i]:null==p?p=o[--f]:I(u,h)?(J(u,h,l),u=e[++r],h=o[++i]):I(a,p)?(J(a,p,l),a=e[--c],p=o[--f]):I(u,p)?(J(u,p,l),Q(t,u.m,a.m.nextSibling),u=e[++r],p=o[--f]):I(a,h)?(J(a,h,l),Q(t,a.m,u.m),a=e[--c],h=o[++i]):(s=_(e&&e[i],n,i),h=o[++i],s&&Q(u.m.parentNode,s,u.m));r>c?z(t,null==o[f+1]?null:o[f+1].m,n,o,i,f):i>f&&B(e,r,c)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),z(o,null,e,s,0,s.length-1)):!n&&null!==l&&B(l,0,l.length-1)):t.i!==r&&(o.data=r)},K=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(K)},Q=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),X=(t,e)=>{e&&!t.v&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.v=e)))},Y=(t,e)=>{if(t.o|=16,!(4&t.o))return X(t,t.S),S((()=>Z(t,e)));t.o|=512},Z=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.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 o;return e&&(o=rt(n,"componentWillLoad")),tt(o,(()=>nt(t,n,e)))},tt=(t,e)=>et(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),et=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,nt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.j,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=L(e),l=i.get(o);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let s,r=H.get(t=t.head||t);if(r||H.set(t,r=new Set),!r.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=f.O)?n:E(a);if(null!=o&&s.setAttribute("nonce",o),!(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,n)}else if("host"in t)if(p){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&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),r&&r.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&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);ot(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>lt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},ot=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.j,s=t.k||D(null,null),r=(t=>t&&t.p===R)(e)?e:A(null,null,e);if(M=o.tagName,l.C&&(r.u=r.u||{},l.C.map((([t,e])=>r.u[e]=o[t]))),n&&r.u)for(const t of Object.keys(r.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(r.u[t]=o[t]);r.p=null,r.o|=4,t.k=r,r.m=s.m=o.shadowRoot||o,J(s,r,n)})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},lt=t=>{const e=t.$hostElement$,n=t.t,o=t.S;rt(n,"componentDidRender"),64&t.o||(t.o|=64,it(e),rt(n,"componentDidLoad"),t.M(e),o||st()),t.v&&(t.v(),t.v=void 0),512&t.o&&v((()=>Y(t,!1))),t.o&=-517},st=()=>{it(a.documentElement),v((()=>(t=>{const e=f.ce("appload",{detail:{namespace:"general-about-us"}});return t.dispatchEvent(e),e})(u)))},rt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t)}},it=t=>t.classList.add("hydrated"),ct=(t,e,o)=>{var l,r;const i=t.prototype;if(e.P||e.A||t.watchers){t.watchers&&!e.A&&(e.A=t.watchers);const c=Object.entries(null!=(l=e.P)?l:{});if(c.map((([t,[l]])=>{(31&l||2&o&&32&l)&&Object.defineProperty(i,t,{get(){return((t,e)=>n(this).D.get(e))(0,t)},set(o){((t,e,o,l)=>{const r=n(t);if(!r)throw Error(`Couldn't find host element for "${l.$}" 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 i=r.$hostElement$,c=r.D.get(e),u=r.o,a=r.t;if(o=((t,e)=>null==t||j(t)?t:1&e?t+"":t)(o,l.P[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(r.D.set(e,o),a)){if(l.A&&128&u){const t=l.A[e];t&&t.map((t=>{try{a[t](o,c,e)}catch(t){s(t,i)}}))}2==(18&u)&&Y(r,!1)}})(this,t,o,e)},configurable:!0,enumerable:!0})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){f.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.A)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=e.A)?r:{}),...c.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.C)||l.push([t,s])),s}))]))}}return t},ut=(t,o={})=>{var l;const h=[],d=o.exclude||[],m=u.customElements,y=a.head,$=y.querySelector("meta[charset]"),w=a.createElement("style"),b=[];let v,S=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let g=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],$:o[1],P:o[2],R:o[3]};4&c.o&&(g=!0),c.P=o[2],c.C=[],c.A=null!=(l=o[4])?l:{};const u=c.$,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,j:n,D:new Map};o.H=new Promise((t=>o.M=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.$}! 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),v&&(clearTimeout(v),v=null),S?b.push(this):f.jmp((()=>(t=>{if(!(1&f.o)){const e=n(t),o=e.j,l=()=>{};if(1&e.o)(null==e?void 0:e.t)||(null==e?void 0:e.H)&&e.H.then((()=>{}));else{e.o|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(e,e.S=n);break}}o.P&&Object.entries(o.P).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.L){const t=(t=>{const e=t.$.replace(/-/g,"_"),n=t.L;if(!n)return;const o=r.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(r.set(n,t),t[e])),s)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.$}#${e.T}" was not found`);o.isProxied||(n.A=o.watchers,ct(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(t){s(t)}e.o&=-9,e.o|=128,l()}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=L(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.S,c=()=>Y(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.o)){const t=n(this);(null==t?void 0:t.t)||(null==t?void 0:t.H)&&t.H.then((()=>{}))}})()))}componentOnReady(){return n(this).H}};c.L=t[0],d.includes(u)||m.get(u)||(h.push(u),m.define(u,ct(a,c,1)))}))})),h.length>0&&(g&&(w.textContent+=c),w.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const t=null!=(l=f.O)?l:E(a);null!=t&&w.setAttribute("nonce",t),y.insertBefore(w,$?$.nextSibling:y.firstChild)}S=!1,b.length?b.map((t=>t.connectedCallback())):f.jmp((()=>v=setTimeout(st,30)))},at=t=>f.O=t;export{ut as b,A as h,h as p,o as r,at as s}
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-about-us",
3
- "version": "1.54.12",
3
+ "version": "1.55.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",