@everymatrix/casino-engagement-suite-modal 1.0.69

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 (44) hide show
  1. package/dist/casino-engagement-suite-modal/casino-engagement-suite-modal.esm.js +1 -0
  2. package/dist/casino-engagement-suite-modal/index.esm.js +0 -0
  3. package/dist/casino-engagement-suite-modal/p-7b038275.js +2 -0
  4. package/dist/casino-engagement-suite-modal/p-d9e64531.entry.js +1 -0
  5. package/dist/casino-engagement-suite-modal/p-e1255160.js +1 -0
  6. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  7. package/dist/cjs/casino-engagement-suite-modal.cjs.entry.js +66 -0
  8. package/dist/cjs/casino-engagement-suite-modal.cjs.js +25 -0
  9. package/dist/cjs/index-63e7fad0.js +1210 -0
  10. package/dist/cjs/index.cjs.js +2 -0
  11. package/dist/cjs/loader.cjs.js +15 -0
  12. package/dist/collection/collection-manifest.json +12 -0
  13. package/dist/collection/components/casino-engagement-suite-modal/casino-engagement-suite-modal.css +141 -0
  14. package/dist/collection/components/casino-engagement-suite-modal/casino-engagement-suite-modal.js +249 -0
  15. package/dist/collection/components/casino-engagement-suite-modal/index.js +1 -0
  16. package/dist/collection/index.js +1 -0
  17. package/dist/collection/utils/constants.js +4 -0
  18. package/dist/collection/utils/utils.js +3 -0
  19. package/dist/esm/app-globals-0f993ce5.js +3 -0
  20. package/dist/esm/casino-engagement-suite-modal.entry.js +62 -0
  21. package/dist/esm/casino-engagement-suite-modal.js +20 -0
  22. package/dist/esm/index-9157b8d6.js +1182 -0
  23. package/dist/esm/index.js +1 -0
  24. package/dist/esm/loader.js +11 -0
  25. package/dist/index.cjs.js +1 -0
  26. package/dist/index.js +1 -0
  27. package/dist/stencil.config.dev.js +17 -0
  28. package/dist/stencil.config.js +17 -0
  29. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.d.ts +2 -0
  30. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.dev.d.ts +2 -0
  31. package/dist/types/components/casino-engagement-suite-modal/casino-engagement-suite-modal.d.ts +29 -0
  32. package/dist/types/components/casino-engagement-suite-modal/index.d.ts +1 -0
  33. package/dist/types/components.d.ts +89 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/stencil-public-runtime.d.ts +1674 -0
  36. package/dist/types/utils/constants.d.ts +4 -0
  37. package/dist/types/utils/utils.d.ts +1 -0
  38. package/loader/cdn.js +1 -0
  39. package/loader/index.cjs.js +1 -0
  40. package/loader/index.d.ts +24 -0
  41. package/loader/index.es2017.js +1 -0
  42. package/loader/index.js +2 -0
  43. package/loader/package.json +11 -0
  44. package/package.json +26 -0
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63e7fad0.js');
6
+ const appGlobals = require('./app-globals-3a1e7e63.js');
7
+
8
+ const defineCustomElements = async (win, options) => {
9
+ if (typeof window === 'undefined') return undefined;
10
+ await appGlobals.globalScripts();
11
+ return index.bootstrapLazy([["casino-engagement-suite-modal.cjs",[[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}]]]], options);
12
+ };
13
+
14
+ exports.setNonce = index.setNonce;
15
+ exports.defineCustomElements = defineCustomElements;
@@ -0,0 +1,12 @@
1
+ {
2
+ "entries": [
3
+ "components/casino-engagement-suite-modal/casino-engagement-suite-modal.js"
4
+ ],
5
+ "compiler": {
6
+ "name": "@stencil/core",
7
+ "version": "4.20.0",
8
+ "typescriptVersion": "5.5.3"
9
+ },
10
+ "collections": [],
11
+ "bundles": []
12
+ }
@@ -0,0 +1,141 @@
1
+ :host {
2
+ display: block;
3
+ font-family: inherit;
4
+ }
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ margin: 0;
9
+ padding: 0;
10
+ }
11
+
12
+ button {
13
+ border: none;
14
+ background: none;
15
+ cursor: pointer;
16
+ }
17
+ button:focus {
18
+ outline: none;
19
+ }
20
+
21
+ .ModalOverlay {
22
+ display: none;
23
+ position: fixed;
24
+ top: 0;
25
+ left: 0;
26
+ width: 100%;
27
+ height: 100%;
28
+ background-color: rgba(0, 0, 0, 0.5);
29
+ justify-content: center;
30
+ align-items: center;
31
+ }
32
+
33
+ .ModalOverlay.Open {
34
+ display: flex;
35
+ }
36
+
37
+ .IconCloseContainer {
38
+ width: 100%;
39
+ display: flex;
40
+ justify-content: end;
41
+ }
42
+
43
+ .IconCloseButton img {
44
+ width: 24px;
45
+ height: 24px;
46
+ }
47
+
48
+ .ModalContent {
49
+ display: flex;
50
+ flex-direction: column;
51
+ align-items: center;
52
+ font-family: "Montserrat", sans-serif;
53
+ position: relative;
54
+ color: var(--emw--color-typography, #FFFFFF);
55
+ background-color: var(--emw--color-background, #1E1638);
56
+ padding: 24px;
57
+ border-radius: 8px;
58
+ width: 450px;
59
+ max-width: 100%;
60
+ text-align: center;
61
+ }
62
+
63
+ .GradientBorder::before {
64
+ content: "";
65
+ position: absolute;
66
+ top: -1px;
67
+ left: -1px;
68
+ right: -1px;
69
+ bottom: -1px;
70
+ border-radius: 9px;
71
+ background: linear-gradient(143.2deg, #FF9401 -0.41%, #FFD32D 45.61%, #FF9401 82.77%);
72
+ z-index: -1;
73
+ }
74
+
75
+ .ModalHeader h1 {
76
+ font-weight: var(--emw--font-weight-semibold, 600);
77
+ font-size: var(--emw--font-size-large, 24px);
78
+ margin-top: 12px;
79
+ padding: 0 16px;
80
+ }
81
+
82
+ .ModalIcon {
83
+ width: 44px;
84
+ height: 44px;
85
+ border-radius: 50%;
86
+ background-size: cover;
87
+ margin-top: 12px;
88
+ }
89
+
90
+ .ModalBody {
91
+ margin-top: 20px;
92
+ font-size: 16px;
93
+ font-family: "Inter", sans-serif;
94
+ font-weight: var(--emw--font-weight-normal, 400);
95
+ color: var(--emw--color-gray-100, #BBB9C3);
96
+ padding: 0 16px;
97
+ }
98
+
99
+ .ModalFooter {
100
+ margin-top: 40px;
101
+ margin-bottom: 28px;
102
+ padding: 0 16px;
103
+ width: 100%;
104
+ }
105
+
106
+ @keyframes rotate {
107
+ 100% {
108
+ transform: rotate(1turn);
109
+ }
110
+ }
111
+ .ModalOverlay .ModalWinAnimation {
112
+ display: none;
113
+ }
114
+
115
+ .ModalOverlay.ShowAnimation .ModalWinAnimation {
116
+ display: block;
117
+ position: absolute;
118
+ width: 100%;
119
+ height: 100%;
120
+ inset: 0;
121
+ background: center/550px url(https://static.everymatrix.com/gic/img/engagement-suite/light.svg) no-repeat, center/550px url(https://static.everymatrix.com/gic/img/engagement-suite/win.svg) no-repeat;
122
+ animation: 6s rotate linear infinite;
123
+ }
124
+
125
+ .ModalOverlay.Mobile .IconCloseButton img {
126
+ width: 16px;
127
+ height: 16px;
128
+ }
129
+ .ModalOverlay.Mobile .ModalBody {
130
+ font-size: 14px;
131
+ }
132
+ .ModalOverlay.Mobile .ModalContent {
133
+ width: 318px;
134
+ padding: 12px;
135
+ }
136
+ .ModalOverlay.Mobile .ModalHeader h1 {
137
+ font-size: 20px;
138
+ }
139
+ .ModalOverlay.Mobile.ShowAnimation .ModalWinAnimation {
140
+ background-size: 400px;
141
+ }
@@ -0,0 +1,249 @@
1
+ import { h } from "@stencil/core";
2
+ export class CasinoEngagementSuiteModal {
3
+ constructor() {
4
+ this.handleCloseClick = () => {
5
+ if (this.isLoading)
6
+ return;
7
+ this.closeModal.emit(this.modalType);
8
+ };
9
+ this.setClientStyling = () => {
10
+ let sheet = document.createElement('style');
11
+ sheet.innerHTML = this.clientStyling;
12
+ this.host.prepend(sheet);
13
+ };
14
+ this.setClientStylingURL = () => {
15
+ let url = new URL(this.clientStylingUrl);
16
+ let cssFile = document.createElement('style');
17
+ fetch(url.href)
18
+ .then((res) => res.text())
19
+ .then((data) => {
20
+ cssFile.innerHTML = data;
21
+ setTimeout(() => { this.host.prepend(cssFile); }, 1);
22
+ })
23
+ .catch((err) => {
24
+ console.log('Error ', err);
25
+ });
26
+ };
27
+ this.clientStyling = '';
28
+ this.clientStylingUrl = '';
29
+ this.isOpen = undefined;
30
+ this.isLoading = undefined;
31
+ this.header = undefined;
32
+ this.contentIcon = undefined;
33
+ this.modalType = undefined;
34
+ this.device = 'Mobile';
35
+ this.showAnimation = false;
36
+ this.limitStylingAppends = false;
37
+ }
38
+ componentDidRender() {
39
+ if (!this.limitStylingAppends && this.host) {
40
+ if (this.clientStyling)
41
+ this.setClientStyling();
42
+ if (this.clientStylingUrl)
43
+ this.setClientStylingURL();
44
+ this.limitStylingAppends = true;
45
+ }
46
+ }
47
+ render() {
48
+ return (h("div", { key: '8285e9a45ca4c3ce4fb17e67d5804bc9b6c503a5', class: `ModalOverlay ${this.isOpen && 'Open'} ${this.device} ${this.showAnimation && 'ShowAnimation'}` }, h("div", { key: '9c0fca26014ebe7fa8ed9c5304ff2508b872f358', class: "ModalWinAnimation" }), h("div", { key: '7281f0aef2ae65ba58a7afee7d070c1caf34f1c3', class: "ModalContent GradientBorder" }, h("div", { key: '7db7f93904c057b80e78d982ee73baed6b91fc7b', class: 'IconCloseContainer' }, h("button", { key: '9ea9de79010807ff507c88897acddb4ca3d1ddcf', class: "IconCloseButton", onClick: this.handleCloseClick }, h("img", { key: '75f3155c2ccc0c98c0ae195057dd1ccf80939549', src: "https://static.everymatrix.com/gic/img/engagement-suite/close.svg", alt: "\u0421lose modal" }))), this.contentIcon ? (h("div", { class: "ModalIcon", style: {
49
+ background: `url(${this.contentIcon}) no-repeat center, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%)`
50
+ } })) : null, h("div", { key: '11dc59541107ba88928c8d56d87bf4c1e879b28a', class: "ModalHeader" }, h("h1", { key: '0587e3a15ef19b4e087e5c0262f974709d269baf' }, this.header)), h("div", { key: '826992ac3be61bbdff34f51e9e089efb18d07ce5', class: "ModalBodyWrapper" }, h("div", { key: 'a80b16956ef7a1941638e99fb0c0ad7166137037', class: "ModalBody" }, h("slot", { key: '41882aa05cea337febb2b2c4dad7c0089239b181', name: "body" })), h("div", { key: '6f4e855d70851eaa7ba3f58389110aa35431f03f', class: "ModalFooter" }, h("slot", { key: '737fe84975e121d5162d7824c577b4028dc327eb', name: "footer" }))))));
51
+ }
52
+ static get is() { return "casino-engagement-suite-modal"; }
53
+ static get encapsulation() { return "shadow"; }
54
+ static get originalStyleUrls() {
55
+ return {
56
+ "$": ["casino-engagement-suite-modal.scss"]
57
+ };
58
+ }
59
+ static get styleUrls() {
60
+ return {
61
+ "$": ["casino-engagement-suite-modal.css"]
62
+ };
63
+ }
64
+ static get properties() {
65
+ return {
66
+ "clientStyling": {
67
+ "type": "string",
68
+ "mutable": false,
69
+ "complexType": {
70
+ "original": "string",
71
+ "resolved": "string",
72
+ "references": {}
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": "Client custom styling via string"
79
+ },
80
+ "attribute": "client-styling",
81
+ "reflect": true,
82
+ "defaultValue": "''"
83
+ },
84
+ "clientStylingUrl": {
85
+ "type": "string",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "string",
89
+ "resolved": "string",
90
+ "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": "Client custom styling via url"
97
+ },
98
+ "attribute": "client-styling-url",
99
+ "reflect": true,
100
+ "defaultValue": "''"
101
+ },
102
+ "isOpen": {
103
+ "type": "boolean",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "boolean",
107
+ "resolved": "boolean",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": false,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": ""
115
+ },
116
+ "attribute": "is-open",
117
+ "reflect": false
118
+ },
119
+ "isLoading": {
120
+ "type": "boolean",
121
+ "mutable": true,
122
+ "complexType": {
123
+ "original": "boolean",
124
+ "resolved": "boolean",
125
+ "references": {}
126
+ },
127
+ "required": false,
128
+ "optional": false,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": ""
132
+ },
133
+ "attribute": "is-loading",
134
+ "reflect": false
135
+ },
136
+ "header": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "string",
141
+ "resolved": "string",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": ""
149
+ },
150
+ "attribute": "header",
151
+ "reflect": false
152
+ },
153
+ "contentIcon": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "string",
158
+ "resolved": "string",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": ""
166
+ },
167
+ "attribute": "content-icon",
168
+ "reflect": false
169
+ },
170
+ "modalType": {
171
+ "type": "string",
172
+ "mutable": false,
173
+ "complexType": {
174
+ "original": "string",
175
+ "resolved": "string",
176
+ "references": {}
177
+ },
178
+ "required": false,
179
+ "optional": false,
180
+ "docs": {
181
+ "tags": [],
182
+ "text": ""
183
+ },
184
+ "attribute": "modal-type",
185
+ "reflect": false
186
+ },
187
+ "device": {
188
+ "type": "string",
189
+ "mutable": false,
190
+ "complexType": {
191
+ "original": "\"Mobile\" | \"Tablet\" | \"Desktop\"",
192
+ "resolved": "\"Desktop\" | \"Mobile\" | \"Tablet\"",
193
+ "references": {}
194
+ },
195
+ "required": false,
196
+ "optional": false,
197
+ "docs": {
198
+ "tags": [],
199
+ "text": ""
200
+ },
201
+ "attribute": "device",
202
+ "reflect": false,
203
+ "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
204
+ },
205
+ "showAnimation": {
206
+ "type": "boolean",
207
+ "mutable": false,
208
+ "complexType": {
209
+ "original": "boolean",
210
+ "resolved": "boolean",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": false,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": "Show win animation"
218
+ },
219
+ "attribute": "show-animation",
220
+ "reflect": false,
221
+ "defaultValue": "false"
222
+ }
223
+ };
224
+ }
225
+ static get states() {
226
+ return {
227
+ "limitStylingAppends": {}
228
+ };
229
+ }
230
+ static get events() {
231
+ return [{
232
+ "method": "closeModal",
233
+ "name": "closeModal",
234
+ "bubbles": true,
235
+ "cancelable": true,
236
+ "composed": true,
237
+ "docs": {
238
+ "tags": [],
239
+ "text": ""
240
+ },
241
+ "complexType": {
242
+ "original": "any",
243
+ "resolved": "any",
244
+ "references": {}
245
+ }
246
+ }];
247
+ }
248
+ static get elementRef() { return "host"; }
249
+ }
@@ -0,0 +1 @@
1
+ export { CasinoEngagementSuiteModal } from './casino-engagement-suite-modal';
@@ -0,0 +1 @@
1
+ export * from './components';
@@ -0,0 +1,4 @@
1
+ export const MODAL_TYPES = {
2
+ REWARD_MODAL: 'REWARD_MODAL',
3
+ TARGET_MODAL: 'TARGET_MODAL'
4
+ };
@@ -0,0 +1,3 @@
1
+ export function format(first, middle, last) {
2
+ return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
3
+ }
@@ -0,0 +1,3 @@
1
+ const globalScripts = () => {};
2
+
3
+ export { globalScripts as g };
@@ -0,0 +1,62 @@
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9157b8d6.js';
2
+
3
+ const casinoEngagementSuiteModalCss = ":host{display:block;font-family:inherit}*{box-sizing:border-box;margin:0;padding:0}button{border:none;background:none;cursor:pointer}button:focus{outline:none}.ModalOverlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);justify-content:center;align-items:center}.ModalOverlay.Open{display:flex}.IconCloseContainer{width:100%;display:flex;justify-content:end}.IconCloseButton img{width:24px;height:24px}.ModalContent{display:flex;flex-direction:column;align-items:center;font-family:\"Montserrat\", sans-serif;position:relative;color:var(--emw--color-typography, #FFFFFF);background-color:var(--emw--color-background, #1E1638);padding:24px;border-radius:8px;width:450px;max-width:100%;text-align:center}.GradientBorder::before{content:\"\";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:9px;background:linear-gradient(143.2deg, #FF9401 -0.41%, #FFD32D 45.61%, #FF9401 82.77%);z-index:-1}.ModalHeader h1{font-weight:var(--emw--font-weight-semibold, 600);font-size:var(--emw--font-size-large, 24px);margin-top:12px;padding:0 16px}.ModalIcon{width:44px;height:44px;border-radius:50%;background-size:cover;margin-top:12px}.ModalBody{margin-top:20px;font-size:16px;font-family:\"Inter\", sans-serif;font-weight:var(--emw--font-weight-normal, 400);color:var(--emw--color-gray-100, #BBB9C3);padding:0 16px}.ModalFooter{margin-top:40px;margin-bottom:28px;padding:0 16px;width:100%}@keyframes rotate{100%{transform:rotate(1turn)}}.ModalOverlay .ModalWinAnimation{display:none}.ModalOverlay.ShowAnimation .ModalWinAnimation{display:block;position:absolute;width:100%;height:100%;inset:0;background:center/550px url(https://static.everymatrix.com/gic/img/engagement-suite/light.svg) no-repeat, center/550px url(https://static.everymatrix.com/gic/img/engagement-suite/win.svg) no-repeat;animation:6s rotate linear infinite}.ModalOverlay.Mobile .IconCloseButton img{width:16px;height:16px}.ModalOverlay.Mobile .ModalBody{font-size:14px}.ModalOverlay.Mobile .ModalContent{width:318px;padding:12px}.ModalOverlay.Mobile .ModalHeader h1{font-size:20px}.ModalOverlay.Mobile.ShowAnimation .ModalWinAnimation{background-size:400px}";
4
+ const CasinoEngagementSuiteModalStyle0 = casinoEngagementSuiteModalCss;
5
+
6
+ const CasinoEngagementSuiteModal = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.closeModal = createEvent(this, "closeModal", 7);
10
+ this.handleCloseClick = () => {
11
+ if (this.isLoading)
12
+ return;
13
+ this.closeModal.emit(this.modalType);
14
+ };
15
+ this.setClientStyling = () => {
16
+ let sheet = document.createElement('style');
17
+ sheet.innerHTML = this.clientStyling;
18
+ this.host.prepend(sheet);
19
+ };
20
+ this.setClientStylingURL = () => {
21
+ let url = new URL(this.clientStylingUrl);
22
+ let cssFile = document.createElement('style');
23
+ fetch(url.href)
24
+ .then((res) => res.text())
25
+ .then((data) => {
26
+ cssFile.innerHTML = data;
27
+ setTimeout(() => { this.host.prepend(cssFile); }, 1);
28
+ })
29
+ .catch((err) => {
30
+ console.log('Error ', err);
31
+ });
32
+ };
33
+ this.clientStyling = '';
34
+ this.clientStylingUrl = '';
35
+ this.isOpen = undefined;
36
+ this.isLoading = undefined;
37
+ this.header = undefined;
38
+ this.contentIcon = undefined;
39
+ this.modalType = undefined;
40
+ this.device = 'Mobile';
41
+ this.showAnimation = false;
42
+ this.limitStylingAppends = false;
43
+ }
44
+ componentDidRender() {
45
+ if (!this.limitStylingAppends && this.host) {
46
+ if (this.clientStyling)
47
+ this.setClientStyling();
48
+ if (this.clientStylingUrl)
49
+ this.setClientStylingURL();
50
+ this.limitStylingAppends = true;
51
+ }
52
+ }
53
+ render() {
54
+ return (h("div", { key: '8285e9a45ca4c3ce4fb17e67d5804bc9b6c503a5', class: `ModalOverlay ${this.isOpen && 'Open'} ${this.device} ${this.showAnimation && 'ShowAnimation'}` }, h("div", { key: '9c0fca26014ebe7fa8ed9c5304ff2508b872f358', class: "ModalWinAnimation" }), h("div", { key: '7281f0aef2ae65ba58a7afee7d070c1caf34f1c3', class: "ModalContent GradientBorder" }, h("div", { key: '7db7f93904c057b80e78d982ee73baed6b91fc7b', class: 'IconCloseContainer' }, h("button", { key: '9ea9de79010807ff507c88897acddb4ca3d1ddcf', class: "IconCloseButton", onClick: this.handleCloseClick }, h("img", { key: '75f3155c2ccc0c98c0ae195057dd1ccf80939549', src: "https://static.everymatrix.com/gic/img/engagement-suite/close.svg", alt: "\u0421lose modal" }))), this.contentIcon ? (h("div", { class: "ModalIcon", style: {
55
+ background: `url(${this.contentIcon}) no-repeat center, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%)`
56
+ } })) : null, h("div", { key: '11dc59541107ba88928c8d56d87bf4c1e879b28a', class: "ModalHeader" }, h("h1", { key: '0587e3a15ef19b4e087e5c0262f974709d269baf' }, this.header)), h("div", { key: '826992ac3be61bbdff34f51e9e089efb18d07ce5', class: "ModalBodyWrapper" }, h("div", { key: 'a80b16956ef7a1941638e99fb0c0ad7166137037', class: "ModalBody" }, h("slot", { key: '41882aa05cea337febb2b2c4dad7c0089239b181', name: "body" })), h("div", { key: '6f4e855d70851eaa7ba3f58389110aa35431f03f', class: "ModalFooter" }, h("slot", { key: '737fe84975e121d5162d7824c577b4028dc327eb', name: "footer" }))))));
57
+ }
58
+ get host() { return getElement(this); }
59
+ };
60
+ CasinoEngagementSuiteModal.style = CasinoEngagementSuiteModalStyle0;
61
+
62
+ export { CasinoEngagementSuiteModal as casino_engagement_suite_modal };
@@ -0,0 +1,20 @@
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-9157b8d6.js';
2
+ export { s as setNonce } from './index-9157b8d6.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
4
+
5
+ /*
6
+ Stencil Client Patch Browser v4.20.0 | MIT Licensed | https://stenciljs.com
7
+ */
8
+ var patchBrowser = () => {
9
+ const importMeta = import.meta.url;
10
+ const opts = {};
11
+ if (importMeta !== "") {
12
+ opts.resourcesUrl = new URL(".", importMeta).href;
13
+ }
14
+ return promiseResolve(opts);
15
+ };
16
+
17
+ patchBrowser().then(async (options) => {
18
+ await globalScripts();
19
+ return bootstrapLazy([["casino-engagement-suite-modal",[[1,"casino-engagement-suite-modal",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"isOpen":[4,"is-open"],"isLoading":[1028,"is-loading"],"header":[1],"contentIcon":[1,"content-icon"],"modalType":[1,"modal-type"],"device":[1],"showAnimation":[4,"show-animation"],"limitStylingAppends":[32]}]]]], options);
20
+ });