@everymatrix/general-about-us 1.74.7 → 1.74.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/cjs/general-about-us.cjs.js +2 -2
  2. package/dist/cjs/general-about-us_2.cjs.entry.js +479 -0
  3. package/dist/cjs/{index-6dfdd1cd.js → index-2df20f4a.js} +10 -3
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +8 -1
  6. package/dist/collection/components/general-about-us/general-about-us.css +13 -0
  7. package/dist/collection/components/general-about-us/general-about-us.js +13 -8
  8. package/dist/esm/general-about-us.js +3 -3
  9. package/dist/esm/general-about-us_2.entry.js +474 -0
  10. package/dist/esm/{index-75dfea3e.js → index-86b7910e.js} +10 -4
  11. package/dist/esm/loader.js +3 -3
  12. package/dist/general-about-us/general-about-us.esm.js +1 -1
  13. package/dist/general-about-us/general-about-us_2.entry.js +1 -0
  14. package/dist/general-about-us/{index-75dfea3e.js → index-86b7910e.js} +2 -2
  15. package/dist/types/components/general-about-us/general-about-us.d.ts +1 -0
  16. package/package.json +1 -1
  17. package/dist/cjs/general-about-us.cjs.entry.js +0 -300
  18. package/dist/esm/general-about-us.entry.js +0 -296
  19. package/dist/general-about-us/general-about-us.entry.js +0 -1
  20. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  21. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.d.ts +0 -0
  22. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/stencil.config.dev.d.ts +0 -0
  23. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/storybook/main.d.ts +0 -0
  24. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/packages/stencil/general-about-us/storybook/preview.d.ts +0 -0
  25. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/index.d.ts +0 -0
  26. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  27. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  28. /package/dist/types/Users/{maria.bumbar/Desktop/Widgets & Template → sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-about-us/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -3,6 +3,7 @@ import { translate } from "../../utils/locale.utils";
3
3
  import { setClientStyling, setClientStylingURL, setStreamStyling } from "../../../../../../../../libs/common/src/styling/index";
4
4
  import { getDeviceCustom, checkDeviceType, getDevicePlatform } from "../../utils/utils";
5
5
  import chevronRight from "../../utils/chevron.svg";
6
+ import "../../../../../ui-skeleton/dist/types/index";
6
7
  export class GeneralAboutUs {
7
8
  constructor() {
8
9
  this.handleClick = (url, target, location, isExternal) => {
@@ -124,14 +125,18 @@ export class GeneralAboutUs {
124
125
  }
125
126
  render() {
126
127
  var _a, _b, _c, _d, _e;
127
- return (h("div", { key: '92051e1b64b1668fc702bb339e4bfc47b24d9406', ref: el => this.stylingContainer = el }, this.hasErrors ? (h("div", { class: "AboutUsError" }, h("div", { class: "ErrorInfo" }, translate('error', this.language)))) : !this.isLoading ? (h("div", { class: "AboutUsWrapper" }, h("div", { class: "ItemImage" }, h("div", { class: "ForegroundImage", style: { background: `linear-gradient(to left, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%),
128
- linear-gradient(to bottom left, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%),
129
- linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.6) 100%),
130
- url(${this.setImage((_a = this.aboutUsData) === null || _a === void 0 ? void 0 : _a.images)}) no-repeat center center / cover` } }), h("img", { class: "BackgroundImage", src: this.setImage(this.aboutUsData.images), alt: "image" }), h("div", { class: "ItemDetails" }, this.formatTitle((_b = this.aboutUsData) === null || _b === void 0 ? void 0 : _b.title, this.language), h("div", { class: "Description", innerHTML: (_c = this.aboutUsData) === null || _c === void 0 ? void 0 : _c.description }), h("button", { class: "Button", onClick: () => {
131
- var _a, _b, _c, _d, _e;
132
- return this.handleClick((_b = (_a = this.aboutUsData) === null || _a === void 0 ? void 0 : _a.button) === null || _b === void 0 ? void 0 : _b.buttonUrl, (_c = this.aboutUsData) === null || _c === void 0 ? void 0 : _c.targetType, (_d = this.aboutUsData) === null || _d === void 0 ? void 0 : _d.locations, (_e = this.aboutUsData) === null || _e === void 0 ? void 0 : _e.externalLink);
133
- } }, (_e = (_d = this.aboutUsData) === null || _d === void 0 ? void 0 : _d.button) === null || _e === void 0 ? void 0 :
134
- _e.buttonText, h("img", { src: chevronRight, alt: "right chevron", class: "Chevron" })))))) : null));
128
+ return (h("div", { key: 'e7953832b9bc914b0fb770695c3550912e9e6406', ref: el => this.stylingContainer = el }, this.hasErrors
129
+ ? h("div", { class: "AboutUsError" }, h("div", { class: "ErrorInfo" }, translate('error', this.language)))
130
+ : this.isLoading
131
+ ? h("div", { class: "LoadingSkeleton" }, h("ui-skeleton", { structure: "title", height: "60px", widget: "150px" }), h("ui-skeleton", { structure: "text", rows: "3", height: "16px", width: "60%" }), h("ui-skeleton", { structure: "rectangle", width: "100px", height: "40px" }))
132
+ : h("div", { class: "AboutUsWrapper" }, h("div", { class: "ItemImage" }, h("div", { class: "ForegroundImage", style: { background: `linear-gradient(to left, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%),
133
+ linear-gradient(to bottom left, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%),
134
+ linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.6) 100%),
135
+ url(${this.setImage((_a = this.aboutUsData) === null || _a === void 0 ? void 0 : _a.images)}) no-repeat center center / cover` } }), h("img", { class: "BackgroundImage", src: this.setImage(this.aboutUsData.images), alt: "image" }), h("div", { class: "ItemDetails" }, this.formatTitle((_b = this.aboutUsData) === null || _b === void 0 ? void 0 : _b.title, this.language), h("div", { class: "Description", innerHTML: (_c = this.aboutUsData) === null || _c === void 0 ? void 0 : _c.description }), h("button", { class: "Button", onClick: () => {
136
+ var _a, _b, _c, _d, _e;
137
+ return this.handleClick((_b = (_a = this.aboutUsData) === null || _a === void 0 ? void 0 : _a.button) === null || _b === void 0 ? void 0 : _b.buttonUrl, (_c = this.aboutUsData) === null || _c === void 0 ? void 0 : _c.targetType, (_d = this.aboutUsData) === null || _d === void 0 ? void 0 : _d.locations, (_e = this.aboutUsData) === null || _e === void 0 ? void 0 : _e.externalLink);
138
+ } }, (_e = (_d = this.aboutUsData) === null || _d === void 0 ? void 0 : _d.button) === null || _e === void 0 ? void 0 :
139
+ _e.buttonText, h("img", { src: chevronRight, alt: "right chevron", class: "Chevron" })))))));
135
140
  }
136
141
  static get is() { return "general-about-us"; }
137
142
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-75dfea3e.js';
2
- export { s as setNonce } from './index-75dfea3e.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-86b7910e.js';
2
+ export { s as setNonce } from './index-86b7910e.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["general-about-us",[[1,"general-about-us",{"cmsEndpoint":[513,"cms-endpoint"],"language":[513],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"hasErrors":[32],"isLoading":[32],"device":[32]},null,{"cmsEndpoint":["watchEndpoint"],"language":["watchEndpoint"],"userRoles":["watchEndpoint"],"device":["watchEndpoint"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}]]]], options);
19
+ return bootstrapLazy([["general-about-us_2",[[1,"general-about-us",{"cmsEndpoint":[513,"cms-endpoint"],"language":[513],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"hasErrors":[32],"isLoading":[32],"device":[32]},null,{"cmsEndpoint":["watchEndpoint"],"language":["watchEndpoint"],"userRoles":["watchEndpoint"],"device":["watchEndpoint"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
20
20
  });
@@ -0,0 +1,474 @@
1
+ import { r as registerInstance, h, H as Host } from './index-86b7910e.js';
2
+
3
+ const DEFAULT_LANGUAGE = 'en';
4
+ const TRANSLATIONS = {
5
+ en: {
6
+ error: 'Error',
7
+ noResults: 'Loading, please wait ...',
8
+ },
9
+ hu: {
10
+ error: 'Error',
11
+ noResults: 'Loading, please wait ...',
12
+ },
13
+ ro: {
14
+ error: 'Eroare',
15
+ noResults: 'Loading, please wait ...',
16
+ },
17
+ fr: {
18
+ error: 'Error',
19
+ noResults: 'Loading, please wait ...',
20
+ },
21
+ ar: {
22
+ error: 'خطأ',
23
+ noResults: 'Loading, please wait ...',
24
+ },
25
+ hr: {
26
+ error: 'Greška',
27
+ noResults: 'Učitavanje, molimo pričekajte ...',
28
+ }
29
+ };
30
+ const translate = (key, customLang) => {
31
+ const lang = customLang;
32
+ return TRANSLATIONS[(lang !== undefined) && (lang in TRANSLATIONS) ? lang : DEFAULT_LANGUAGE][key];
33
+ };
34
+
35
+ /**
36
+ * @name setClientStyling
37
+ * @description Method used to create and append to the passed element of the widget a style element with the content received
38
+ * @param {HTMLElement} stylingContainer The reference element of the widget
39
+ * @param {string} clientStyling The style content
40
+ */
41
+ function setClientStyling(stylingContainer, clientStyling) {
42
+ if (stylingContainer) {
43
+ const sheet = document.createElement('style');
44
+ sheet.innerHTML = clientStyling;
45
+ stylingContainer.appendChild(sheet);
46
+ }
47
+ }
48
+
49
+ /**
50
+ * @name setClientStylingURL
51
+ * @description Method used to create and append to the passed element of the widget a style element with the content fetched from a given URL
52
+ * @param {HTMLElement} stylingContainer The reference element of the widget
53
+ * @param {string} clientStylingUrl The URL of the style content
54
+ */
55
+ function setClientStylingURL(stylingContainer, clientStylingUrl) {
56
+ const url = new URL(clientStylingUrl);
57
+
58
+ fetch(url.href)
59
+ .then((res) => res.text())
60
+ .then((data) => {
61
+ const cssFile = document.createElement('style');
62
+ cssFile.innerHTML = data;
63
+ if (stylingContainer) {
64
+ stylingContainer.appendChild(cssFile);
65
+ }
66
+ })
67
+ .catch((err) => {
68
+ console.error('There was an error while trying to load client styling from URL', err);
69
+ });
70
+ }
71
+
72
+ /**
73
+ * @name setStreamLibrary
74
+ * @description Method used to create and append to the passed element of the widget a style element with content fetched from the MessageBus
75
+ * @param {HTMLElement} stylingContainer The highest element of the widget
76
+ * @param {string} domain The domain from where the content should be fetched (e.g. 'Casino.Style', 'App.Style', 'casino-footer.style', etc.)
77
+ * @param {ref} subscription A reference to a variable where the subscription should be saved for unsubscribing when no longer needed
78
+ */
79
+ function setStreamStyling(stylingContainer, domain, subscription) {
80
+ if (window.emMessageBus) {
81
+ const sheet = document.createElement('style');
82
+
83
+ window.emMessageBus.subscribe(domain, (data) => {
84
+ sheet.innerHTML = data;
85
+ if (stylingContainer) {
86
+ stylingContainer.appendChild(sheet);
87
+ }
88
+ });
89
+ }
90
+ }
91
+
92
+ function checkDeviceType() {
93
+ const userAgent = navigator.userAgent.toLowerCase();
94
+ const width = screen.availWidth;
95
+ const height = screen.availHeight;
96
+ if (userAgent.includes('iphone')) {
97
+ return 'mobile';
98
+ }
99
+ if (userAgent.includes('android')) {
100
+ if (height > width && width < 800) {
101
+ return 'mobile';
102
+ }
103
+ if (width > height && height < 800) {
104
+ return 'tablet';
105
+ }
106
+ }
107
+ return 'desktop';
108
+ }
109
+ function checkCustomDeviceWidth() {
110
+ const width = screen.availWidth;
111
+ if (width < 600) {
112
+ return 'mobile';
113
+ }
114
+ else if (width >= 600 && width < 1100) {
115
+ return 'tablet';
116
+ }
117
+ }
118
+ function getDeviceCustom() {
119
+ const userAgent = navigator.userAgent.toLowerCase();
120
+ let source = '';
121
+ source = (userAgent.includes('android') || userAgent.includes('iphone') || userAgent.includes('ipad')) ? checkCustomDeviceWidth() : 'desktop';
122
+ return source;
123
+ }
124
+ const getDevice = () => {
125
+ let userAgent = window.navigator.userAgent.toLocaleLowerCase();
126
+ if (userAgent.includes('android/i'))
127
+ return 'android';
128
+ if (userAgent.includes('iphone/i'))
129
+ return 'iPhone';
130
+ if (userAgent.includes('ipad/i') || userAgent.includes('ipod/i'))
131
+ return 'iPad';
132
+ return 'PC';
133
+ };
134
+ const getDevicePlatform = () => {
135
+ const device = getDevice();
136
+ if (device) {
137
+ if (device === 'PC') {
138
+ return 'dk';
139
+ }
140
+ else if (device === 'iPad' || device === 'iPhone') {
141
+ return 'mtWeb';
142
+ }
143
+ else {
144
+ return 'mtWeb';
145
+ }
146
+ }
147
+ };
148
+
149
+ const chevronSvg = 'data:image/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KDTwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIFRyYW5zZm9ybWVkIGJ5OiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4KPHN2ZyBoZWlnaHQ9IjY0cHgiIHdpZHRoPSI2NHB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCAxODUuMzQzIDE4NS4zNDMiIHhtbDpzcGFjZT0icHJlc2VydmUiIGZpbGw9IiNENUYzREYiIHN0cm9rZT0iI0Q1RjNERiI+Cg08ZyBpZD0iU1ZHUmVwb19iZ0NhcnJpZXIiIHN0cm9rZS13aWR0aD0iMCIvPgoNPGcgaWQ9IlNWR1JlcG9fdHJhY2VyQ2FycmllciIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cg08ZyBpZD0iU1ZHUmVwb19pY29uQ2FycmllciI+IDxnPiA8Zz4gPHBhdGggc3R5bGU9ImZpbGw6I2VjZjlmMDsiIGQ9Ik01MS43MDcsMTg1LjM0M2MtMi43NDEsMC01LjQ5My0xLjA0NC03LjU5My0zLjE0OWMtNC4xOTQtNC4xOTQtNC4xOTQtMTAuOTgxLDAtMTUuMTc1IGw3NC4zNTItNzQuMzQ3TDQ0LjExNCwxOC4zMmMtNC4xOTQtNC4xOTQtNC4xOTQtMTAuOTg3LDAtMTUuMTc1YzQuMTk0LTQuMTk0LDEwLjk4Ny00LjE5NCwxNS4xOCwwbDgxLjkzNCw4MS45MzQgYzQuMTk0LDQuMTk0LDQuMTk0LDEwLjk4NywwLDE1LjE3NWwtODEuOTM0LDgxLjkzOUM1Ny4yMDEsMTg0LjI5Myw1NC40NTQsMTg1LjM0Myw1MS43MDcsMTg1LjM0M3oiLz4gPC9nPiA8L2c+IDwvZz4KDTwvc3ZnPg==';
150
+
151
+ const generalAboutUsCss = ":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, 10px);\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, 10px);\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, 10px);\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 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 background-color: transparent;\n width: unset;\n margin-bottom: 0;\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, 10px);\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}\n.LoadingSkeleton {\n display: flex;\n flex-direction: column;\n padding: 40px;\n gap: 15px;\n height: 250px;\n width: 100%;\n border-radius: var(--emw--border-radius-large, 15px);\n overflow: hidden;\n}";
152
+ const GeneralAboutUsStyle0 = generalAboutUsCss;
153
+
154
+ const GeneralAboutUs = class {
155
+ constructor(hostRef) {
156
+ registerInstance(this, hostRef);
157
+ this.handleClick = (url, target, location, isExternal) => {
158
+ window.postMessage({ type: 'NavigateTo', path: url, target: target, locations: location, externalLink: isExternal || false }, window.location.href);
159
+ // @ts-ignore Analytics event
160
+ if (typeof gtag == 'function') {
161
+ // @ts-ignore
162
+ gtag('event', 'GeneralAboutUs', {
163
+ 'context': 'AboutUsContent'
164
+ });
165
+ }
166
+ };
167
+ this.setImage = (image) => {
168
+ let source = '';
169
+ this.device = checkDeviceType();
170
+ switch (this.device) {
171
+ case 'mobile':
172
+ source = image.imageMobile;
173
+ break;
174
+ case 'tablet':
175
+ source = image.imageTablet;
176
+ break;
177
+ case 'desktop':
178
+ source = image.imageDesktop;
179
+ break;
180
+ }
181
+ return source;
182
+ };
183
+ this.formatTitle = (title, language) => {
184
+ let firstWord, restOfTitle;
185
+ // Check for common languages that do not use space - here: Chinese, Japanese, Thai
186
+ if (['zh', 'ja', 'th'].includes(language)) {
187
+ firstWord = title.substring(0, 1);
188
+ restOfTitle = title.substring(1);
189
+ }
190
+ else {
191
+ const words = title.split(' ');
192
+ firstWord = words.shift();
193
+ restOfTitle = words.join(' ');
194
+ }
195
+ return h("div", { class: "Title" }, h("span", { class: "FirstWord" }, firstWord, " "), h("span", null, restOfTitle));
196
+ };
197
+ this.cmsEndpoint = undefined;
198
+ this.language = 'en';
199
+ this.userRoles = 'everyone';
200
+ this.cmsEnv = 'stage';
201
+ this.mbSource = undefined;
202
+ this.clientStyling = '';
203
+ this.clientStylingUrl = '';
204
+ this.hasErrors = false;
205
+ this.isLoading = true;
206
+ this.device = '';
207
+ }
208
+ watchEndpoint(newValue, oldValue) {
209
+ if (newValue && newValue != oldValue && this.cmsEndpoint) {
210
+ this.getAboutUs();
211
+ }
212
+ }
213
+ handleClientStylingChange(newValue, oldValue) {
214
+ if (newValue != oldValue) {
215
+ setClientStyling(this.stylingContainer, this.clientStyling);
216
+ }
217
+ }
218
+ handleClientStylingChangeURL(newValue, oldValue) {
219
+ if (newValue != oldValue) {
220
+ if (this.clientStylingUrl)
221
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
222
+ }
223
+ }
224
+ componentWillLoad() {
225
+ if (this.cmsEndpoint && this.language) {
226
+ return this.getAboutUs();
227
+ }
228
+ }
229
+ componentDidLoad() {
230
+ this.device = getDeviceCustom();
231
+ if (this.stylingContainer) {
232
+ if (window.emMessageBus != undefined) {
233
+ setStreamStyling(this.stylingContainer, `${this.mbSource}.Style`);
234
+ }
235
+ else {
236
+ if (this.clientStyling)
237
+ setClientStyling(this.stylingContainer, this.clientStyling);
238
+ if (this.clientStylingUrl)
239
+ setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
240
+ }
241
+ }
242
+ }
243
+ disconnectedCallback() {
244
+ this.stylingSubscription && this.stylingSubscription.unsubscribe();
245
+ }
246
+ getAboutUs() {
247
+ let url = new URL(`${this.cmsEndpoint}/${this.language}/homepage`);
248
+ url.searchParams.append('env', this.cmsEnv);
249
+ url.searchParams.append('userRoles', this.userRoles);
250
+ url.searchParams.append('device', getDevicePlatform());
251
+ return new Promise((resolve, reject) => {
252
+ this.isLoading = true;
253
+ fetch(url.href)
254
+ .then((res) => res.json())
255
+ .then((aboutUsContent) => {
256
+ const keysToKeep = ['title', 'description', 'images', 'button', 'externalLink', 'targetType', 'locations'];
257
+ const aboutUsArrContent = Object.entries(aboutUsContent)
258
+ .filter(([key]) => keysToKeep.includes(key))
259
+ .reduce((acc, [key, value]) => {
260
+ acc[key] = value;
261
+ return acc;
262
+ }, {});
263
+ this.aboutUsData = aboutUsArrContent;
264
+ resolve(aboutUsArrContent);
265
+ }).catch((err) => {
266
+ console.error(err);
267
+ this.hasErrors = true;
268
+ reject(err);
269
+ }).finally(() => {
270
+ this.isLoading = false;
271
+ });
272
+ });
273
+ }
274
+ render() {
275
+ var _a, _b, _c, _d, _e;
276
+ return (h("div", { key: 'e7953832b9bc914b0fb770695c3550912e9e6406', ref: el => this.stylingContainer = el }, this.hasErrors
277
+ ? h("div", { class: "AboutUsError" }, h("div", { class: "ErrorInfo" }, translate('error', this.language)))
278
+ : this.isLoading
279
+ ? h("div", { class: "LoadingSkeleton" }, h("ui-skeleton", { structure: "title", height: "60px", widget: "150px" }), h("ui-skeleton", { structure: "text", rows: "3", height: "16px", width: "60%" }), h("ui-skeleton", { structure: "rectangle", width: "100px", height: "40px" }))
280
+ : h("div", { class: "AboutUsWrapper" }, h("div", { class: "ItemImage" }, h("div", { class: "ForegroundImage", style: { background: `linear-gradient(to left, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%),
281
+ linear-gradient(to bottom left, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 100%),
282
+ linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.6) 100%),
283
+ url(${this.setImage((_a = this.aboutUsData) === null || _a === void 0 ? void 0 : _a.images)}) no-repeat center center / cover` } }), h("img", { class: "BackgroundImage", src: this.setImage(this.aboutUsData.images), alt: "image" }), h("div", { class: "ItemDetails" }, this.formatTitle((_b = this.aboutUsData) === null || _b === void 0 ? void 0 : _b.title, this.language), h("div", { class: "Description", innerHTML: (_c = this.aboutUsData) === null || _c === void 0 ? void 0 : _c.description }), h("button", { class: "Button", onClick: () => {
284
+ var _a, _b, _c, _d, _e;
285
+ return this.handleClick((_b = (_a = this.aboutUsData) === null || _a === void 0 ? void 0 : _a.button) === null || _b === void 0 ? void 0 : _b.buttonUrl, (_c = this.aboutUsData) === null || _c === void 0 ? void 0 : _c.targetType, (_d = this.aboutUsData) === null || _d === void 0 ? void 0 : _d.locations, (_e = this.aboutUsData) === null || _e === void 0 ? void 0 : _e.externalLink);
286
+ } }, (_e = (_d = this.aboutUsData) === null || _d === void 0 ? void 0 : _d.button) === null || _e === void 0 ? void 0 :
287
+ _e.buttonText, h("img", { src: chevronSvg, alt: "right chevron", class: "Chevron" })))))));
288
+ }
289
+ static get watchers() { return {
290
+ "cmsEndpoint": ["watchEndpoint"],
291
+ "language": ["watchEndpoint"],
292
+ "userRoles": ["watchEndpoint"],
293
+ "device": ["watchEndpoint"],
294
+ "clientStyling": ["handleClientStylingChange"],
295
+ "clientStylingUrl": ["handleClientStylingChangeURL"]
296
+ }; }
297
+ };
298
+ GeneralAboutUs.style = GeneralAboutUsStyle0;
299
+
300
+ const uiSkeletonCss = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";
301
+ const UiSkeletonStyle0 = uiSkeletonCss;
302
+
303
+ const UiSkeleton = class {
304
+ constructor(hostRef) {
305
+ registerInstance(this, hostRef);
306
+ this.stylingValue = {
307
+ width: this.handleStylingProps(this.width),
308
+ height: this.handleStylingProps(this.height),
309
+ borderRadius: this.handleStylingProps(this.borderRadius),
310
+ marginBottom: this.handleStylingProps(this.marginBottom),
311
+ marginTop: this.handleStylingProps(this.marginTop),
312
+ marginLeft: this.handleStylingProps(this.marginLeft),
313
+ marginRight: this.handleStylingProps(this.marginRight),
314
+ size: this.handleStylingProps(this.size)
315
+ };
316
+ this.structure = undefined;
317
+ this.width = 'unset';
318
+ this.height = 'unset';
319
+ this.borderRadius = 'unset';
320
+ this.marginBottom = 'unset';
321
+ this.marginTop = 'unset';
322
+ this.marginLeft = 'unset';
323
+ this.marginRight = 'unset';
324
+ this.animation = true;
325
+ this.rows = 0;
326
+ this.size = '100%';
327
+ }
328
+ handleStructureChange(newValue, oldValue) {
329
+ if (oldValue !== newValue) {
330
+ this.handleStructure(newValue);
331
+ }
332
+ }
333
+ handleStylingProps(value) {
334
+ switch (typeof value) {
335
+ case 'number':
336
+ return value === 0 ? 0 : `${value}px`;
337
+ case 'undefined':
338
+ return 'unset';
339
+ case 'string':
340
+ if (['auto', 'unset', 'none', 'inherit', 'initial'].includes(value) ||
341
+ value.endsWith('px') ||
342
+ value.endsWith('%')) {
343
+ return value;
344
+ }
345
+ else {
346
+ return 'unset';
347
+ }
348
+ default:
349
+ return 'unset';
350
+ }
351
+ }
352
+ handleStructure(structure) {
353
+ switch (structure) {
354
+ case 'logo':
355
+ return this.renderLogo();
356
+ case 'image':
357
+ return this.renderImage();
358
+ case 'title':
359
+ return this.renderTitle();
360
+ case 'text':
361
+ return this.renderText();
362
+ case 'rectangle':
363
+ return this.renderRectangle();
364
+ case 'circle':
365
+ return this.renderCircle();
366
+ default:
367
+ return null;
368
+ }
369
+ }
370
+ renderLogo() {
371
+ return (h("div", { class: "SkeletonContainer" }, h("div", { class: 'Logo ' + (this.animation ? 'Skeleton' : '') })));
372
+ }
373
+ renderImage() {
374
+ return h("div", { class: 'Image ' + (this.animation ? 'Skeleton' : '') });
375
+ }
376
+ renderTitle() {
377
+ return (h("div", { class: "SkeletonContainer" }, h("div", { class: 'Title ' + (this.animation ? 'Skeleton' : '') })));
378
+ }
379
+ renderText() {
380
+ return (h("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((_, index) => (h("div", { key: index, class: 'Text ' + (this.animation ? 'Skeleton' : '') })))));
381
+ }
382
+ renderRectangle() {
383
+ return (h("div", { class: "SkeletonContainer" }, h("div", { class: 'Rectangle ' + (this.animation ? 'Skeleton' : '') })));
384
+ }
385
+ renderCircle() {
386
+ return (h("div", { class: "SkeletonContainer" }, h("div", { class: 'Circle ' + (this.animation ? 'Skeleton' : '') })));
387
+ }
388
+ render() {
389
+ let styleBlock = '';
390
+ switch (this.structure) {
391
+ case 'logo':
392
+ styleBlock = `
393
+ :host {
394
+ --emw-skeleton-logo-width: ${this.stylingValue.width};
395
+ --emw-skeleton-logo-height: ${this.stylingValue.height};
396
+ --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
397
+ --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
398
+ --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
399
+ --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
400
+ --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
401
+ }
402
+ `;
403
+ break;
404
+ case 'image':
405
+ styleBlock = `
406
+ :host {
407
+ --emw-skeleton-image-width: ${this.stylingValue.width};
408
+ --emw-skeleton-image-height: ${this.stylingValue.height};
409
+ --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
410
+ --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
411
+ --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
412
+ --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
413
+ --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
414
+ }
415
+ `;
416
+ break;
417
+ case 'title':
418
+ styleBlock = `
419
+ :host {
420
+ --emw-skeleton-title-width: ${this.stylingValue.width};
421
+ --emw-skeleton-title-height: ${this.stylingValue.height};
422
+ --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
423
+ --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
424
+ --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
425
+ --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
426
+ --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
427
+ }
428
+ `;
429
+ break;
430
+ case 'text':
431
+ styleBlock = `
432
+ :host {
433
+ --emw-skeleton-text-width: ${this.stylingValue.width};
434
+ --emw-skeleton-text-height: ${this.stylingValue.height};
435
+ --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
436
+ --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
437
+ --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
438
+ --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
439
+ --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
440
+ }
441
+ `;
442
+ break;
443
+ case 'rectangle':
444
+ styleBlock = `
445
+ :host {
446
+ --emw-skeleton-rectangle-width: ${this.stylingValue.width};
447
+ --emw-skeleton-rectangle-height: ${this.stylingValue.height};
448
+ --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
449
+ --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
450
+ --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
451
+ --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
452
+ --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
453
+ }
454
+ `;
455
+ break;
456
+ case 'circle':
457
+ styleBlock = `
458
+ :host {
459
+ --emw-skeleton-circle-size: ${this.stylingValue.size};
460
+ }
461
+ `;
462
+ break;
463
+ default:
464
+ styleBlock = '';
465
+ }
466
+ return (h(Host, { key: 'e6b885bfd985ce7663d990756fe9101e25eb97f0' }, h("style", { key: '06ae24c7bb74f4dacfc12ae58085333f9dc89da5' }, styleBlock), this.handleStructure(this.structure)));
467
+ }
468
+ static get watchers() { return {
469
+ "structure": ["handleStructureChange"]
470
+ }; }
471
+ };
472
+ UiSkeleton.style = UiSkeletonStyle0;
473
+
474
+ export { GeneralAboutUs as general_about_us, UiSkeleton as ui_skeleton };
@@ -1,5 +1,5 @@
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: 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: 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: true, 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: 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: true, 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: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
5
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -49,10 +49,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
49
49
  }
50
50
  switch(bundleId) {
51
51
 
52
- case 'general-about-us':
52
+ case 'general-about-us_2':
53
53
  return import(
54
54
  /* webpackMode: "lazy" */
55
- './general-about-us.entry.js').then(processMod, consoleError);
55
+ './general-about-us_2.entry.js').then(processMod, consoleError);
56
56
  }
57
57
  }
58
58
  return import(
@@ -273,6 +273,12 @@ var Host = {};
273
273
  var isHost = (node) => node && node.$tag$ === Host;
274
274
  var parsePropertyValue = (propValue, propType) => {
275
275
  if (propValue != null && !isComplexType(propValue)) {
276
+ if (propType & 4 /* Boolean */) {
277
+ return propValue === "false" ? false : propValue === "" || !!propValue;
278
+ }
279
+ if (propType & 2 /* Number */) {
280
+ return parseFloat(propValue);
281
+ }
276
282
  if (propType & 1 /* String */) {
277
283
  return String(propValue);
278
284
  }
@@ -1189,4 +1195,4 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1189
1195
  // src/runtime/nonce.ts
1190
1196
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1191
1197
 
1192
- export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
1198
+ export { Host as H, bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-75dfea3e.js';
2
- export { s as setNonce } from './index-75dfea3e.js';
1
+ import { b as bootstrapLazy } from './index-86b7910e.js';
2
+ export { s as setNonce } from './index-86b7910e.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["general-about-us",[[1,"general-about-us",{"cmsEndpoint":[513,"cms-endpoint"],"language":[513],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"hasErrors":[32],"isLoading":[32],"device":[32]},null,{"cmsEndpoint":["watchEndpoint"],"language":["watchEndpoint"],"userRoles":["watchEndpoint"],"device":["watchEndpoint"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}]]]], options);
8
+ return bootstrapLazy([["general-about-us_2",[[1,"general-about-us",{"cmsEndpoint":[513,"cms-endpoint"],"language":[513],"userRoles":[513,"user-roles"],"cmsEnv":[513,"cms-env"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"hasErrors":[32],"isLoading":[32],"device":[32]},null,{"cmsEndpoint":["watchEndpoint"],"language":["watchEndpoint"],"userRoles":["watchEndpoint"],"device":["watchEndpoint"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{"structure":[1],"width":[1],"height":[1],"borderRadius":[8,"border-radius"],"marginBottom":[8,"margin-bottom"],"marginTop":[8,"margin-top"],"marginLeft":[8,"margin-left"],"marginRight":[8,"margin-right"],"animation":[4],"rows":[2],"size":[1]},null,{"structure":["handleStructureChange"]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1 +1 @@
1
- import{p as n,b as e}from"./index-75dfea3e.js";export{s as setNonce}from"./index-75dfea3e.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const e=import.meta.url,t={};return""!==e&&(t.resourcesUrl=new URL(".",e).href),n(t)})().then((async n=>(await t(),e([["general-about-us",[[1,"general-about-us",{cmsEndpoint:[513,"cms-endpoint"],language:[513],userRoles:[513,"user-roles"],cmsEnv:[513,"cms-env"],mbSource:[1,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],hasErrors:[32],isLoading:[32],device:[32]},null,{cmsEndpoint:["watchEndpoint"],language:["watchEndpoint"],userRoles:["watchEndpoint"],device:["watchEndpoint"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n))));
1
+ import{p as n,b as t}from"./index-86b7910e.js";export{s as setNonce}from"./index-86b7910e.js";import{g as e}from"./app-globals-0f993ce5.js";(()=>{const t=import.meta.url,e={};return""!==t&&(e.resourcesUrl=new URL(".",t).href),n(e)})().then((async n=>(await e(),t([["general-about-us_2",[[1,"general-about-us",{cmsEndpoint:[513,"cms-endpoint"],language:[513],userRoles:[513,"user-roles"],cmsEnv:[513,"cms-env"],mbSource:[1,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],hasErrors:[32],isLoading:[32],device:[32]},null,{cmsEndpoint:["watchEndpoint"],language:["watchEndpoint"],userRoles:["watchEndpoint"],device:["watchEndpoint"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],n))));