@everymatrix/casino-footer-v2 1.44.0 → 1.45.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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFooterSection-BGGXWBhS.cjs"),m=require("./CasinoFooterThumbnail-DJPSfxKy.cjs");function k(r,t){m.addMessages(r,t)}function M(r){m.$locale.set(r)}const P={en:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"},"zh-hk":{panicButtonString:"长按3秒24小时即时锁定"},fr:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"},ro:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"},es:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},de:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},hr:{panicButtonString:"Držite gumb 3 sekunde za 24-satno vremensko ograničenje"},sl:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"},"pt-br":{panicButtonString:"Pressione o botão por 3 segundos para fazer uma pausa de 24 horas."},"es-mx":{panicButtonString:"Presionar el botón 3 segundos para tomar una pausa de 24 horas."},tr:{panicButtonString:"24 saatlik zaman aşımına uğramak için düğmeyi 3 saniye basılı tutun"}};function T(r){e.append_styles(r,"svelte-1pdndx7",".svelte-1pdndx7.svelte-1pdndx7,.svelte-1pdndx7.svelte-1pdndx7::before,.svelte-1pdndx7.svelte-1pdndx7::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection.svelte-1pdndx7.svelte-1pdndx7{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection.svelte-1pdndx7 .PanicButton.svelte-1pdndx7{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile.svelte-1pdndx7.svelte-1pdndx7{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile.svelte-1pdndx7.svelte-1pdndx7{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation.svelte-1pdndx7.svelte-1pdndx7{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:svelte-1pdndx7-bar-animation 2s linear}@-webkit-keyframes svelte-1pdndx7-bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2.svelte-1pdndx7 .PanicButton.svelte-1pdndx7{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2.svelte-1pdndx7 .PanicButtonMobile.svelte-1pdndx7{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px}.PanicButtonV2.svelte-1pdndx7 .PanicButtonAnimation.svelte-1pdndx7{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px}@-webkit-keyframes svelte-1pdndx7-bar-animation{0%{background-position:0}100%{background-position:388px}}")}function A(r){let t,o,s,l=(r[0]||r[5]("panicButtonString"))+"",p,c;return{c(){t=e.element("div"),o=e.element("div"),s=e.element("button"),p=e.text(l),e.attr(s,"class","PanicButton "+(m.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")+" svelte-1pdndx7"),e.attr(s,"part","PanicButton "+(m.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")),e.toggle_class(s,"PanicButtonAnimation",r[4]),e.attr(o,"class","PanicSection "+(m.getDevice(r[6])!=="PC"?"PanicSectionMobile":"")+" svelte-1pdndx7"),e.attr(o,"part","PanicSection "+(m.getDevice(r[6])!=="PC"?"PanicSectionMobile":"")),e.attr(t,"class",c=e.null_to_empty(r[1]=="true"?"PanicButtonV2":"")+" svelte-1pdndx7")},m(a,u){e.insert(a,t,u),e.append(t,o),e.append(o,s),e.append(s,p),r[11](s),r[12](t)},p(a,[u]){u&33&&l!==(l=(a[0]||a[5]("panicButtonString"))+"")&&e.set_data(p,l),u&16&&e.toggle_class(s,"PanicButtonAnimation",a[4]),u&2&&c!==(c=e.null_to_empty(a[1]=="true"?"PanicButtonV2":"")+" svelte-1pdndx7")&&e.attr(t,"class",c)},i:e.noop,o:e.noop,d(a){a&&e.detach(t),r[11](null),r[12](null)}}}function I(r,t,o){let s;e.component_subscribe(r,m.$format,n=>o(5,s=n));let{lang:l="en"}=t,{customtext:p=""}=t,{clientstyling:c=""}=t,{clientstylingurl:a=""}=t,{alternativestyling:u=""}=t,{translationurl:f=""}=t,i,g,y=!1,x=0,w,_=window.navigator.userAgent;const C=()=>{fetch(f).then(d=>d.json()).then(d=>{Object.keys(d).forEach(v=>{k(v,d[v])})}).catch(d=>{console.log(d)})};Object.keys(P).forEach(n=>{k(n,P[n])});const z=()=>{i==null||i.addEventListener("mousedown",b,!1),i==null||i.addEventListener("touchstart",b,!1),i==null||i.addEventListener("mouseup",h,!1),i==null||i.addEventListener("touchend",h,!1)},B=()=>{o(4,y=!1),i==null||i.removeEventListener("mousedown",b),i==null||i.removeEventListener("touchstart",b),i==null||i.removeEventListener("mouseup",h),i==null||i.removeEventListener("touchend",h)},b=()=>{x=0,o(4,y=!0),w=setInterval(()=>{x++,x>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(w),typeof gtag=="function"&&gtag("event","PanicButtonClicked",{context:"PanicButton"}))},1e3)},h=()=>{o(4,y=!1),clearInterval(w)},F=()=>{let n=document.createElement("style");n.innerHTML=c,g.appendChild(n)},D=()=>{let n=new URL(a),d=document.createElement("style");fetch(n.href).then(v=>v.text()).then(v=>{d.innerHTML=v,setTimeout(()=>{g.appendChild(d)},1)})};e.onMount(()=>()=>{B()});function E(n){e.binding_callbacks[n?"unshift":"push"](()=>{i=n,o(2,i)})}function L(n){e.binding_callbacks[n?"unshift":"push"](()=>{g=n,o(3,g)})}return r.$$set=n=>{"lang"in n&&o(7,l=n.lang),"customtext"in n&&o(0,p=n.customtext),"clientstyling"in n&&o(8,c=n.clientstyling),"clientstylingurl"in n&&o(9,a=n.clientstylingurl),"alternativestyling"in n&&o(1,u=n.alternativestyling),"translationurl"in n&&o(10,f=n.translationurl)},r.$$.update=()=>{r.$$.dirty&4&&i&&z(),r.$$.dirty&128&&l&&M(l),r.$$.dirty&264&&c&&g&&F(),r.$$.dirty&520&&a&&g&&D(),r.$$.dirty&1024&&f&&C()},[p,u,i,g,y,s,_,l,c,a,f,E,L]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,I,A,e.safe_not_equal,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},T)}get lang(){return this.$$.ctx[7]}set lang(t){this.$$set({lang:t}),e.flush()}get customtext(){return this.$$.ctx[0]}set customtext(t){this.$$set({customtext:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(t){this.$$set({alternativestyling:t}),e.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(S,{lang:{},customtext:{},clientstyling:{},clientstylingurl:{},alternativestyling:{},translationurl:{}},[],[],!0);exports.default=S;
@@ -0,0 +1,246 @@
1
+ import { S as H, b as N, f as p, c as O, a as R, d as U, e as P, t as q, g as v, H as z, I as C, h as G, o as S, u as J, n as B, j as K, v as Q, w as W, k as _ } from "./CasinoFooterSection-Bk3ZcbQW.js";
2
+ import { b as X, $ as Y, g as x, d as Z } from "./CasinoFooterThumbnail-C2WhigO7.js";
3
+ function F(n, e) {
4
+ X(n, e);
5
+ }
6
+ function $(n) {
7
+ Y.set(n);
8
+ }
9
+ const D = {
10
+ en: {
11
+ panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
12
+ },
13
+ "zh-hk": {
14
+ panicButtonString: "长按3秒24小时即时锁定"
15
+ },
16
+ fr: {
17
+ panicButtonString: "Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"
18
+ },
19
+ ro: {
20
+ panicButtonString: "Tine apasat 3 secunde pentru a lua o pauza de 24h"
21
+ },
22
+ es: {
23
+ panicButtonString: "Dar clic durante 3 segundos para tomar un descanso de 24 horas"
24
+ },
25
+ de: {
26
+ panicButtonString: "Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"
27
+ },
28
+ hr: {
29
+ panicButtonString: "Držite gumb 3 sekunde za 24-satno vremensko ograničenje"
30
+ },
31
+ sl: {
32
+ panicButtonString: "Držite gumb 3 sekunde, da bi vzeli 24 urni premor"
33
+ },
34
+ pl: {
35
+ panicButtonString: "Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"
36
+ },
37
+ "pt-br": {
38
+ panicButtonString: "Pressione o botão por 3 segundos para fazer uma pausa de 24 horas."
39
+ },
40
+ "es-mx": {
41
+ panicButtonString: "Presionar el botón 3 segundos para tomar una pausa de 24 horas."
42
+ },
43
+ tr: {
44
+ panicButtonString: "24 saatlik zaman aşımına uğramak için düğmeyi 3 saniye basılı tutun"
45
+ }
46
+ };
47
+ function ee(n) {
48
+ U(n, "svelte-1pdndx7", ".svelte-1pdndx7.svelte-1pdndx7,.svelte-1pdndx7.svelte-1pdndx7::before,.svelte-1pdndx7.svelte-1pdndx7::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection.svelte-1pdndx7.svelte-1pdndx7{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection.svelte-1pdndx7 .PanicButton.svelte-1pdndx7{border-radius:5px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile.svelte-1pdndx7.svelte-1pdndx7{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile.svelte-1pdndx7.svelte-1pdndx7{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:100% !important;height:30px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation.svelte-1pdndx7.svelte-1pdndx7{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-webkit-animation:svelte-1pdndx7-bar-animation 2s linear}@-webkit-keyframes svelte-1pdndx7-bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2.svelte-1pdndx7 .PanicButton.svelte-1pdndx7{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2.svelte-1pdndx7 .PanicButtonMobile.svelte-1pdndx7{border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:10px}.PanicButtonV2.svelte-1pdndx7 .PanicButtonAnimation.svelte-1pdndx7{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px}@-webkit-keyframes svelte-1pdndx7-bar-animation{0%{background-position:0}100%{background-position:388px}}");
49
+ }
50
+ function te(n) {
51
+ let e, i, o, s = (
52
+ /*customtext*/
53
+ (n[0] || /*$_*/
54
+ n[5]("panicButtonString")) + ""
55
+ ), g, l;
56
+ return {
57
+ c() {
58
+ e = P("div"), i = P("div"), o = P("button"), g = q(s), v(o, "class", "PanicButton " + (x(
59
+ /*userAgent*/
60
+ n[6]
61
+ ) !== "PC" ? "PanicButtonMobile" : "") + " svelte-1pdndx7"), v(o, "part", "PanicButton " + (x(
62
+ /*userAgent*/
63
+ n[6]
64
+ ) !== "PC" ? "PanicButtonMobile" : "")), z(
65
+ o,
66
+ "PanicButtonAnimation",
67
+ /*panicLoading*/
68
+ n[4]
69
+ ), v(i, "class", "PanicSection " + (x(
70
+ /*userAgent*/
71
+ n[6]
72
+ ) !== "PC" ? "PanicSectionMobile" : "") + " svelte-1pdndx7"), v(i, "part", "PanicSection " + (x(
73
+ /*userAgent*/
74
+ n[6]
75
+ ) !== "PC" ? "PanicSectionMobile" : "")), v(e, "class", l = C(
76
+ /*alternativestyling*/
77
+ n[1] == "true" ? "PanicButtonV2" : ""
78
+ ) + " svelte-1pdndx7");
79
+ },
80
+ m(a, d) {
81
+ G(a, e, d), S(e, i), S(i, o), S(o, g), n[11](o), n[12](e);
82
+ },
83
+ p(a, [d]) {
84
+ d & /*customtext, $_*/
85
+ 33 && s !== (s = /*customtext*/
86
+ (a[0] || /*$_*/
87
+ a[5]("panicButtonString")) + "") && J(g, s), d & /*panicLoading*/
88
+ 16 && z(
89
+ o,
90
+ "PanicButtonAnimation",
91
+ /*panicLoading*/
92
+ a[4]
93
+ ), d & /*alternativestyling*/
94
+ 2 && l !== (l = C(
95
+ /*alternativestyling*/
96
+ a[1] == "true" ? "PanicButtonV2" : ""
97
+ ) + " svelte-1pdndx7") && v(e, "class", l);
98
+ },
99
+ i: B,
100
+ o: B,
101
+ d(a) {
102
+ a && K(e), n[11](null), n[12](null);
103
+ }
104
+ };
105
+ }
106
+ function ne(n, e, i) {
107
+ let o;
108
+ Q(n, Z, (t) => i(5, o = t));
109
+ let { lang: s = "en" } = e, { customtext: g = "" } = e, { clientstyling: l = "" } = e, { clientstylingurl: a = "" } = e, { alternativestyling: d = "" } = e, { translationurl: f = "" } = e, r, u, y = !1, w = 0, k, E = window.navigator.userAgent;
110
+ const L = () => {
111
+ fetch(f).then((c) => c.json()).then((c) => {
112
+ Object.keys(c).forEach((m) => {
113
+ F(m, c[m]);
114
+ });
115
+ }).catch((c) => {
116
+ console.log(c);
117
+ });
118
+ };
119
+ Object.keys(D).forEach((t) => {
120
+ F(t, D[t]);
121
+ });
122
+ const M = () => {
123
+ r == null || r.addEventListener("mousedown", b, !1), r == null || r.addEventListener("touchstart", b, !1), r == null || r.addEventListener("mouseup", h, !1), r == null || r.addEventListener("touchend", h, !1);
124
+ }, A = () => {
125
+ i(4, y = !1), r == null || r.removeEventListener("mousedown", b), r == null || r.removeEventListener("touchstart", b), r == null || r.removeEventListener("mouseup", h), r == null || r.removeEventListener("touchend", h);
126
+ }, b = () => {
127
+ w = 0, i(4, y = !0), k = setInterval(
128
+ () => {
129
+ w++, w >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(k), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
130
+ },
131
+ 1e3
132
+ );
133
+ }, h = () => {
134
+ i(4, y = !1), clearInterval(k);
135
+ }, T = () => {
136
+ let t = document.createElement("style");
137
+ t.innerHTML = l, u.appendChild(t);
138
+ }, I = () => {
139
+ let t = new URL(a), c = document.createElement("style");
140
+ fetch(t.href).then((m) => m.text()).then((m) => {
141
+ c.innerHTML = m, setTimeout(
142
+ () => {
143
+ u.appendChild(c);
144
+ },
145
+ 1
146
+ );
147
+ });
148
+ };
149
+ W(() => () => {
150
+ A();
151
+ });
152
+ function j(t) {
153
+ _[t ? "unshift" : "push"](() => {
154
+ r = t, i(2, r);
155
+ });
156
+ }
157
+ function V(t) {
158
+ _[t ? "unshift" : "push"](() => {
159
+ u = t, i(3, u);
160
+ });
161
+ }
162
+ return n.$$set = (t) => {
163
+ "lang" in t && i(7, s = t.lang), "customtext" in t && i(0, g = t.customtext), "clientstyling" in t && i(8, l = t.clientstyling), "clientstylingurl" in t && i(9, a = t.clientstylingurl), "alternativestyling" in t && i(1, d = t.alternativestyling), "translationurl" in t && i(10, f = t.translationurl);
164
+ }, n.$$.update = () => {
165
+ n.$$.dirty & /*panicButton*/
166
+ 4 && r && M(), n.$$.dirty & /*lang*/
167
+ 128 && s && $(s), n.$$.dirty & /*clientstyling, customStylingContainer*/
168
+ 264 && l && u && T(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
169
+ 520 && a && u && I(), n.$$.dirty & /*translationurl*/
170
+ 1024 && f && L();
171
+ }, [
172
+ g,
173
+ d,
174
+ r,
175
+ u,
176
+ y,
177
+ o,
178
+ E,
179
+ s,
180
+ l,
181
+ a,
182
+ f,
183
+ j,
184
+ V
185
+ ];
186
+ }
187
+ class re extends H {
188
+ constructor(e) {
189
+ super(), N(
190
+ this,
191
+ e,
192
+ ne,
193
+ te,
194
+ R,
195
+ {
196
+ lang: 7,
197
+ customtext: 0,
198
+ clientstyling: 8,
199
+ clientstylingurl: 9,
200
+ alternativestyling: 1,
201
+ translationurl: 10
202
+ },
203
+ ee
204
+ );
205
+ }
206
+ get lang() {
207
+ return this.$$.ctx[7];
208
+ }
209
+ set lang(e) {
210
+ this.$$set({ lang: e }), p();
211
+ }
212
+ get customtext() {
213
+ return this.$$.ctx[0];
214
+ }
215
+ set customtext(e) {
216
+ this.$$set({ customtext: e }), p();
217
+ }
218
+ get clientstyling() {
219
+ return this.$$.ctx[8];
220
+ }
221
+ set clientstyling(e) {
222
+ this.$$set({ clientstyling: e }), p();
223
+ }
224
+ get clientstylingurl() {
225
+ return this.$$.ctx[9];
226
+ }
227
+ set clientstylingurl(e) {
228
+ this.$$set({ clientstylingurl: e }), p();
229
+ }
230
+ get alternativestyling() {
231
+ return this.$$.ctx[1];
232
+ }
233
+ set alternativestyling(e) {
234
+ this.$$set({ alternativestyling: e }), p();
235
+ }
236
+ get translationurl() {
237
+ return this.$$.ctx[10];
238
+ }
239
+ set translationurl(e) {
240
+ this.$$set({ translationurl: e }), p();
241
+ }
242
+ }
243
+ O(re, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
244
+ export {
245
+ re as default
246
+ };
@@ -0,0 +1 @@
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoFooterV2-DzJobkB9.cjs")).then(({default:t})=>{!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",t.element)})}
@@ -0,0 +1,16 @@
1
+ if (typeof window != "undefined") {
2
+ let n = function(t) {
3
+ return function(...s) {
4
+ try {
5
+ return t.apply(this, s);
6
+ } catch (e) {
7
+ if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
8
+ return !1;
9
+ throw e;
10
+ }
11
+ };
12
+ };
13
+ customElements.define = n(customElements.define), import("../components/CasinoFooterV2-wamgGrOs.js").then(({ default: t }) => {
14
+ !customElements.get("casino-footer-v2") && customElements.define("casino-footer-v2", t.element);
15
+ });
16
+ }
package/package.json CHANGED
@@ -1,39 +1,25 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-footer-v2",
3
- "version": "1.44.0",
4
- "main": "dist/casino-footer-v2.js",
5
- "svelte": "src/index.ts",
6
- "scripts": {
7
- "start": "sirv public",
8
- "build": "cross-env NODE_ENV=production rollup -c",
9
- "dev": "cross-env NODE_ENV=\"development\" rollup -c -w",
10
- "validate": "svelte-check",
11
- "test": "echo"
12
- },
13
- "devDependencies": {
14
- "@rollup/plugin-babel": "^5.3.0",
15
- "@rollup/plugin-commonjs": "^16.0.0",
16
- "@rollup/plugin-node-resolve": "^10.0.0",
17
- "@rollup/plugin-typescript": "^6.0.0",
18
- "@tsconfig/svelte": "^1.0.0",
19
- "rollup": "^2.3.4",
20
- "rollup-plugin-dev-server": "^0.4.3",
21
- "rollup-plugin-livereload": "^2.0.0",
22
- "rollup-plugin-svelte": "^7.0.0",
23
- "rollup-plugin-terser": "^7.0.0",
24
- "rollup-plugin-uglify": "^6.0.4",
25
- "svelte-check": "^1.0.0",
26
- "svelte-preprocess": "^5.0.0",
27
- "tslib": "^2.0.0",
28
- "typescript": "^3.9.3"
29
- },
30
- "dependencies": {
31
- "cross-env": "^7.0.3",
32
- "sirv-cli": "^1.0.0",
33
- "svelte": "^3.0.0"
3
+ "version": "1.45.0",
4
+ "type": "module",
5
+ "main": "es2015/casino-footer-v2.cjs",
6
+ "module": "es2015/casino-footer-v2.js",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./es2015/casino-footer-v2.js",
10
+ "require": "./es2015/casino-footer-v2.cjs"
11
+ },
12
+ "./es2015/casino-footer-v2.cjs": "./es2015/casino-footer-v2.cjs"
34
13
  },
14
+ "files": [
15
+ "es2015/",
16
+ "components"
17
+ ],
35
18
  "publishConfig": {
36
19
  "access": "public"
37
20
  },
38
- "gitHead": "701410f2b76dfe1ee4038f799b1e8e340c85cdb5"
21
+ "dependencies": {
22
+ "@everymatrix/casino-footer-section": "1.0.72",
23
+ "@everymatrix/player-panic-button": "1.0.72"
24
+ }
39
25
  }
package/CHANGELOG.md DELETED
@@ -1,9 +0,0 @@
1
-
2
- ## casino-footer-v2 widget changelogs
3
-
4
- | Version | Release date | Impacted areas | Changes |
5
- | ------- | ------------ | ----------------------------- | --------------------------------------- |
6
- | 1.43.4 | Tue Oct 15 2024 | casino-footer-v2 | chore(EMFE-33485)(casino-footer-v2): add vars on footer lang dropdown |
7
- | 1.37.2 | Mon Aug 12 2024 | casino-footer-v2 | fix(EMFE-29061)(casino-footer-v2): populate variables with res data properly <br /> fix(EMFE-29061)(casino-footer-v2): async/await approach for fetch <br /> chore(EMFE-000)(casino-footer-thumbnail,casino-promotions-nd,casino-footer-v2): add color variables <br /> chore(EMFE-000)(casino-collections-providers,casino-footer,casino-footer-v2,casino-game-page,casino-games-category-section-nd,casino-hamburger-menu,casino-header-controller,casino-search,casino-winners,player-account-controller,player-account-menu): change some color variables for the dark/ light theme <br /> fix(EMFE-27252)(casino-footer-v2, casino-footer): added both on footer v1 and v2 a reset for hasErrors, for this untreated case where the call would fail on language change for a certain language, and upon switching back to the initial language where it did work at first, it would show server errro because the hasErrors would still be true from the previous call <br /> fix(EMFE-0000)(casino-footer-v2): create translation valid for time in footer <br /> fix(EMFE-0000)(casino-footer-v2): create translation valid for time in footer <br /> fix(EMFE-0000)(casino-footer-v2): create translation valid for time in footer |
8
- | 1.24.0 | Thu Jan 11 2024 | casino-footer-v2 | fix(EMFE-29061)(casino-footer-v2): populate variables with res data properly |
9
- | 1.23.0 | Thu Dec 21 2023 | casino-footer-v2 | fix(EMFE-29061)(casino-footer-v2): async/await approach for fetch |
package/README.md DELETED
@@ -1,30 +0,0 @@
1
- # @everymatrix/casino-footer-v2
2
- ---------
3
-
4
- ## First step
5
- ---------
6
- ```
7
- lerna bootstrap
8
- ```
9
-
10
- ## Run Widget
11
- ---------
12
- - starts server at port 5050
13
- - has livereload
14
-
15
- ```
16
- yarn run dev
17
- ```
18
-
19
- ## Build Widget
20
- ---------
21
- ```
22
- yarn run build
23
- ```
24
-
25
- ## Publishing widget
26
- ---------
27
- - Note add your user to the npm
28
- ```
29
- lerna publish
30
- ```