@everymatrix/casino-footer 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFooter-B0dm5xz-.js → CasinoFooter-CExC-mt3.js} +516 -520
- package/components/{CasinoFooter-swj2W7bn.cjs → CasinoFooter-Fkn-CmIz.cjs} +6 -6
- package/components/CasinoFooterSection-BP6Wd440.cjs +1 -0
- package/components/{CasinoFooterSection-CljV0sqr.js → CasinoFooterSection-Bf6VC_Qc.js} +51 -51
- package/components/CasinoFooterThumbnail-B-Q1sqiL.cjs +1 -0
- package/components/{CasinoFooterThumbnail-owTolPNC.js → CasinoFooterThumbnail-CcLz2KNi.js} +259 -259
- package/components/PlayerPanicButton-DD5ja969.cjs +1 -0
- package/components/PlayerPanicButton-DhEzThWl.js +241 -0
- package/es2015/casino-footer.cjs +1 -1
- package/es2015/casino-footer.js +1 -1
- package/package.json +2 -2
- package/components/CasinoFooterSection-Co06za0g.cjs +0 -1
- package/components/CasinoFooterThumbnail-BXo_hVlq.cjs +0 -1
- package/components/PlayerPanicButton-BBzVGTEu.cjs +0 -1
- package/components/PlayerPanicButton-DNamU5Fr.js +0 -245
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFooter-Fkn-CmIz.cjs");function k(r,t){e.addMessages(r,t)}function L(r){e.$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 M(r){e.append_styles(r,"svelte-m8v4z7","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{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{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{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{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:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{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 .PanicButtonMobile{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 .PanicButtonAnimation{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}")}function T(r){let t,o,s,l=(r[0]||r[5]("panicButtonString"))+"",d,c;return{c(){t=e.element("div"),o=e.element("div"),s=e.element("button"),d=e.text(l),e.attr(s,"class","PanicButton "+(e.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")),e.attr(s,"part","PanicButton "+(e.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")),e.toggle_class(s,"PanicButtonAnimation",r[4]),e.attr(o,"class","PanicSection "+(e.getDevice(r[6])!=="PC"?"PanicSectionMobile":"")),e.attr(o,"part","PanicSection "+(e.getDevice(r[6])!=="PC"?"PanicSectionMobile":"")),e.attr(t,"class",c=r[1]=="true"?"PanicButtonV2":"")},m(a,g){e.insert(a,t,g),e.append(t,o),e.append(o,s),e.append(s,d),r[11](s),r[12](t)},p(a,[g]){g&33&&l!==(l=(a[0]||a[5]("panicButtonString"))+"")&&e.set_data(d,l),g&16&&e.toggle_class(s,"PanicButtonAnimation",a[4]),g&2&&c!==(c=a[1]=="true"?"PanicButtonV2":"")&&e.attr(t,"class",c)},i:e.noop,o:e.noop,d(a){a&&e.detach(t),r[11](null),r[12](null)}}}function A(r,t,o){let s;e.component_subscribe(r,e.$format,n=>o(5,s=n));let{lang:l="en"}=t,{customtext:d=""}=t,{clientstyling:c=""}=t,{clientstylingurl:a=""}=t,{alternativestyling:g=""}=t,{translationurl:p=""}=t,i,m,y=!1,v=0,w,S=window.navigator.userAgent;const z=()=>{fetch(p).then(u=>u.json()).then(u=>{Object.keys(u).forEach(f=>{k(f,u[f])})}).catch(u=>{console.log(u)})};Object.keys(P).forEach(n=>{k(n,P[n])});const C=()=>{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=()=>{v=0,o(4,y=!0),w=setInterval(()=>{v++,v>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(w),typeof gtag=="function"&>ag("event","PanicButtonClicked",{context:"PanicButton"}))},1e3)},h=()=>{o(4,y=!1),clearInterval(w)},_=()=>{let n=document.createElement("style");n.innerHTML=c,m.appendChild(n)},F=()=>{let n=new URL(a),u=document.createElement("style");fetch(n.href).then(f=>f.text()).then(f=>{u.innerHTML=f,setTimeout(()=>{m.appendChild(u)},1)})};e.onMount(()=>()=>{B()});function D(n){e.binding_callbacks[n?"unshift":"push"](()=>{i=n,o(2,i)})}function E(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,o(3,m)})}return r.$$set=n=>{"lang"in n&&o(7,l=n.lang),"customtext"in n&&o(0,d=n.customtext),"clientstyling"in n&&o(8,c=n.clientstyling),"clientstylingurl"in n&&o(9,a=n.clientstylingurl),"alternativestyling"in n&&o(1,g=n.alternativestyling),"translationurl"in n&&o(10,p=n.translationurl)},r.$$.update=()=>{r.$$.dirty&4&&i&&C(),r.$$.dirty&128&&l&&L(l),r.$$.dirty&264&&c&&m&&_(),r.$$.dirty&520&&a&&m&&F(),r.$$.dirty&1024&&p&&z()},[d,g,i,m,y,s,S,l,c,a,p,D,E]}class x extends e.SvelteComponent{constructor(t){super(),e.init(this,t,A,T,e.safe_not_equal,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},M)}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(x,{lang:{},customtext:{},clientstyling:{},clientstylingurl:{},alternativestyling:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import { x as V, $ as H, S as N, i as O, f, c as R, s as U, a as q, e as x, v as G, b as y, p as w, y as z, d as J, r as S, w as K, n as C, g as Q, z as W, o as X, h as B, A as Y } from "./CasinoFooter-CExC-mt3.js";
|
|
2
|
+
function F(n, t) {
|
|
3
|
+
V(n, t);
|
|
4
|
+
}
|
|
5
|
+
function Z(n) {
|
|
6
|
+
H.set(n);
|
|
7
|
+
}
|
|
8
|
+
const _ = {
|
|
9
|
+
en: {
|
|
10
|
+
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
|
11
|
+
},
|
|
12
|
+
"zh-hk": {
|
|
13
|
+
panicButtonString: "长按3秒24小时即时锁定"
|
|
14
|
+
},
|
|
15
|
+
fr: {
|
|
16
|
+
panicButtonString: "Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"
|
|
17
|
+
},
|
|
18
|
+
ro: {
|
|
19
|
+
panicButtonString: "Tine apasat 3 secunde pentru a lua o pauza de 24h"
|
|
20
|
+
},
|
|
21
|
+
es: {
|
|
22
|
+
panicButtonString: "Dar clic durante 3 segundos para tomar un descanso de 24 horas"
|
|
23
|
+
},
|
|
24
|
+
de: {
|
|
25
|
+
panicButtonString: "Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"
|
|
26
|
+
},
|
|
27
|
+
hr: {
|
|
28
|
+
panicButtonString: "Držite gumb 3 sekunde za 24-satno vremensko ograničenje"
|
|
29
|
+
},
|
|
30
|
+
sl: {
|
|
31
|
+
panicButtonString: "Držite gumb 3 sekunde, da bi vzeli 24 urni premor"
|
|
32
|
+
},
|
|
33
|
+
pl: {
|
|
34
|
+
panicButtonString: "Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"
|
|
35
|
+
},
|
|
36
|
+
"pt-br": {
|
|
37
|
+
panicButtonString: "Pressione o botão por 3 segundos para fazer uma pausa de 24 horas."
|
|
38
|
+
},
|
|
39
|
+
"es-mx": {
|
|
40
|
+
panicButtonString: "Presionar el botón 3 segundos para tomar una pausa de 24 horas."
|
|
41
|
+
},
|
|
42
|
+
tr: {
|
|
43
|
+
panicButtonString: "24 saatlik zaman aşımına uğramak için düğmeyi 3 saniye basılı tutun"
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
function $(n) {
|
|
47
|
+
q(n, "svelte-m8v4z7", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{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{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{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{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:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{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 .PanicButtonMobile{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 .PanicButtonAnimation{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
|
|
48
|
+
}
|
|
49
|
+
function tt(n) {
|
|
50
|
+
let t, i, o, s = (
|
|
51
|
+
/*customtext*/
|
|
52
|
+
(n[0] || /*$_*/
|
|
53
|
+
n[5]("panicButtonString")) + ""
|
|
54
|
+
), m, l;
|
|
55
|
+
return {
|
|
56
|
+
c() {
|
|
57
|
+
t = x("div"), i = x("div"), o = x("button"), m = G(s), y(o, "class", "PanicButton " + (w(
|
|
58
|
+
/*userAgent*/
|
|
59
|
+
n[6]
|
|
60
|
+
) !== "PC" ? "PanicButtonMobile" : "")), y(o, "part", "PanicButton " + (w(
|
|
61
|
+
/*userAgent*/
|
|
62
|
+
n[6]
|
|
63
|
+
) !== "PC" ? "PanicButtonMobile" : "")), z(
|
|
64
|
+
o,
|
|
65
|
+
"PanicButtonAnimation",
|
|
66
|
+
/*panicLoading*/
|
|
67
|
+
n[4]
|
|
68
|
+
), y(i, "class", "PanicSection " + (w(
|
|
69
|
+
/*userAgent*/
|
|
70
|
+
n[6]
|
|
71
|
+
) !== "PC" ? "PanicSectionMobile" : "")), y(i, "part", "PanicSection " + (w(
|
|
72
|
+
/*userAgent*/
|
|
73
|
+
n[6]
|
|
74
|
+
) !== "PC" ? "PanicSectionMobile" : "")), y(t, "class", l = /*alternativestyling*/
|
|
75
|
+
n[1] == "true" ? "PanicButtonV2" : "");
|
|
76
|
+
},
|
|
77
|
+
m(a, u) {
|
|
78
|
+
J(a, t, u), S(t, i), S(i, o), S(o, m), n[11](o), n[12](t);
|
|
79
|
+
},
|
|
80
|
+
p(a, [u]) {
|
|
81
|
+
u & /*customtext, $_*/
|
|
82
|
+
33 && s !== (s = /*customtext*/
|
|
83
|
+
(a[0] || /*$_*/
|
|
84
|
+
a[5]("panicButtonString")) + "") && K(m, s), u & /*panicLoading*/
|
|
85
|
+
16 && z(
|
|
86
|
+
o,
|
|
87
|
+
"PanicButtonAnimation",
|
|
88
|
+
/*panicLoading*/
|
|
89
|
+
a[4]
|
|
90
|
+
), u & /*alternativestyling*/
|
|
91
|
+
2 && l !== (l = /*alternativestyling*/
|
|
92
|
+
a[1] == "true" ? "PanicButtonV2" : "") && y(t, "class", l);
|
|
93
|
+
},
|
|
94
|
+
i: C,
|
|
95
|
+
o: C,
|
|
96
|
+
d(a) {
|
|
97
|
+
a && Q(t), n[11](null), n[12](null);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function et(n, t, i) {
|
|
102
|
+
let o;
|
|
103
|
+
W(n, Y, (e) => i(5, o = e));
|
|
104
|
+
let { lang: s = "en" } = t, { customtext: m = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: u = "" } = t, { translationurl: p = "" } = t, r, g, b = !1, k = 0, P, D = window.navigator.userAgent;
|
|
105
|
+
const E = () => {
|
|
106
|
+
fetch(p).then((c) => c.json()).then((c) => {
|
|
107
|
+
Object.keys(c).forEach((d) => {
|
|
108
|
+
F(d, c[d]);
|
|
109
|
+
});
|
|
110
|
+
}).catch((c) => {
|
|
111
|
+
console.log(c);
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
Object.keys(_).forEach((e) => {
|
|
115
|
+
F(e, _[e]);
|
|
116
|
+
});
|
|
117
|
+
const L = () => {
|
|
118
|
+
r == null || r.addEventListener("mousedown", h, !1), r == null || r.addEventListener("touchstart", h, !1), r == null || r.addEventListener("mouseup", v, !1), r == null || r.addEventListener("touchend", v, !1);
|
|
119
|
+
}, M = () => {
|
|
120
|
+
i(4, b = !1), r == null || r.removeEventListener("mousedown", h), r == null || r.removeEventListener("touchstart", h), r == null || r.removeEventListener("mouseup", v), r == null || r.removeEventListener("touchend", v);
|
|
121
|
+
}, h = () => {
|
|
122
|
+
k = 0, i(4, b = !0), P = setInterval(
|
|
123
|
+
() => {
|
|
124
|
+
k++, k >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(P), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
|
|
125
|
+
},
|
|
126
|
+
1e3
|
|
127
|
+
);
|
|
128
|
+
}, v = () => {
|
|
129
|
+
i(4, b = !1), clearInterval(P);
|
|
130
|
+
}, A = () => {
|
|
131
|
+
let e = document.createElement("style");
|
|
132
|
+
e.innerHTML = l, g.appendChild(e);
|
|
133
|
+
}, T = () => {
|
|
134
|
+
let e = new URL(a), c = document.createElement("style");
|
|
135
|
+
fetch(e.href).then((d) => d.text()).then((d) => {
|
|
136
|
+
c.innerHTML = d, setTimeout(
|
|
137
|
+
() => {
|
|
138
|
+
g.appendChild(c);
|
|
139
|
+
},
|
|
140
|
+
1
|
|
141
|
+
);
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
X(() => () => {
|
|
145
|
+
M();
|
|
146
|
+
});
|
|
147
|
+
function I(e) {
|
|
148
|
+
B[e ? "unshift" : "push"](() => {
|
|
149
|
+
r = e, i(2, r);
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
function j(e) {
|
|
153
|
+
B[e ? "unshift" : "push"](() => {
|
|
154
|
+
g = e, i(3, g);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
return n.$$set = (e) => {
|
|
158
|
+
"lang" in e && i(7, s = e.lang), "customtext" in e && i(0, m = e.customtext), "clientstyling" in e && i(8, l = e.clientstyling), "clientstylingurl" in e && i(9, a = e.clientstylingurl), "alternativestyling" in e && i(1, u = e.alternativestyling), "translationurl" in e && i(10, p = e.translationurl);
|
|
159
|
+
}, n.$$.update = () => {
|
|
160
|
+
n.$$.dirty & /*panicButton*/
|
|
161
|
+
4 && r && L(), n.$$.dirty & /*lang*/
|
|
162
|
+
128 && s && Z(s), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
163
|
+
264 && l && g && A(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
164
|
+
520 && a && g && T(), n.$$.dirty & /*translationurl*/
|
|
165
|
+
1024 && p && E();
|
|
166
|
+
}, [
|
|
167
|
+
m,
|
|
168
|
+
u,
|
|
169
|
+
r,
|
|
170
|
+
g,
|
|
171
|
+
b,
|
|
172
|
+
o,
|
|
173
|
+
D,
|
|
174
|
+
s,
|
|
175
|
+
l,
|
|
176
|
+
a,
|
|
177
|
+
p,
|
|
178
|
+
I,
|
|
179
|
+
j
|
|
180
|
+
];
|
|
181
|
+
}
|
|
182
|
+
class nt extends N {
|
|
183
|
+
constructor(t) {
|
|
184
|
+
super(), O(
|
|
185
|
+
this,
|
|
186
|
+
t,
|
|
187
|
+
et,
|
|
188
|
+
tt,
|
|
189
|
+
U,
|
|
190
|
+
{
|
|
191
|
+
lang: 7,
|
|
192
|
+
customtext: 0,
|
|
193
|
+
clientstyling: 8,
|
|
194
|
+
clientstylingurl: 9,
|
|
195
|
+
alternativestyling: 1,
|
|
196
|
+
translationurl: 10
|
|
197
|
+
},
|
|
198
|
+
$
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
get lang() {
|
|
202
|
+
return this.$$.ctx[7];
|
|
203
|
+
}
|
|
204
|
+
set lang(t) {
|
|
205
|
+
this.$$set({ lang: t }), f();
|
|
206
|
+
}
|
|
207
|
+
get customtext() {
|
|
208
|
+
return this.$$.ctx[0];
|
|
209
|
+
}
|
|
210
|
+
set customtext(t) {
|
|
211
|
+
this.$$set({ customtext: t }), f();
|
|
212
|
+
}
|
|
213
|
+
get clientstyling() {
|
|
214
|
+
return this.$$.ctx[8];
|
|
215
|
+
}
|
|
216
|
+
set clientstyling(t) {
|
|
217
|
+
this.$$set({ clientstyling: t }), f();
|
|
218
|
+
}
|
|
219
|
+
get clientstylingurl() {
|
|
220
|
+
return this.$$.ctx[9];
|
|
221
|
+
}
|
|
222
|
+
set clientstylingurl(t) {
|
|
223
|
+
this.$$set({ clientstylingurl: t }), f();
|
|
224
|
+
}
|
|
225
|
+
get alternativestyling() {
|
|
226
|
+
return this.$$.ctx[1];
|
|
227
|
+
}
|
|
228
|
+
set alternativestyling(t) {
|
|
229
|
+
this.$$set({ alternativestyling: t }), f();
|
|
230
|
+
}
|
|
231
|
+
get translationurl() {
|
|
232
|
+
return this.$$.ctx[10];
|
|
233
|
+
}
|
|
234
|
+
set translationurl(t) {
|
|
235
|
+
this.$$set({ translationurl: t }), f();
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
R(nt, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
|
|
239
|
+
export {
|
|
240
|
+
nt as default
|
|
241
|
+
};
|
package/es2015/casino-footer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoFooter-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoFooter-Fkn-CmIz.cjs")).then(e=>e.CasinoFooter_ce).then(({default:e})=>{!customElements.get("casino-footer")&&customElements.define("casino-footer",e.element)})}
|
package/es2015/casino-footer.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoFooter-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoFooter-CExC-mt3.js").then((e) => e.C).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-footer") && customElements.define("casino-footer", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-footer",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/casino-footer.cjs",
|
|
6
6
|
"module": "es2015/casino-footer.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"./es2015/casino-footer.cjs": "./es2015/casino-footer.cjs"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
"files": [
|
|
15
15
|
"es2015/",
|
|
16
16
|
"components"
|
|
17
17
|
],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFooter-swj2W7bn.cjs");if(typeof window!="undefined"){let _=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=_(customElements.define),Promise.resolve().then(()=>require("./CasinoFooterThumbnail-BXo_hVlq.cjs")).then(({default:e})=>{!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",e.element)})}function K(_){t.append_styles(_,"svelte-1i97rgz",":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer.svelte-1i97rgz{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn.svelte-1i97rgz{flex-direction:column;align-items:flex-start}")}function E(_,e,s){const l=_.slice();return l[30]=e[s],l}function w(_,e,s){const l=_.slice();return l[30]=e[s],l}function U(_,e,s){const l=_.slice();return l[33]=e[s],l}function M(_,e,s){const l=_.slice();return l[30]=e[s],l}function z(_,e,s){const l=_.slice();return l[30]=e[s],l}function R(_,e,s){const l=_.slice();return l[27]=e[s],l}function V(_,e,s){const l=_.slice();return l[24]=e[s],l}function Q(_){let e,s=t.ensure_array_like(_[16]),l=[];for(let n=0;n<s.length;n+=1)l[n]=D(E(_,s,n));return{c(){e=t.element("div");for(let n=0;n<l.length;n+=1)l[n].c();t.attr(e,"class","FooterSectionInnerContainer svelte-1i97rgz"),t.attr(e,"part","FooterSectionInnerContainer")},m(n,o){t.insert(n,e,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null)},p(n,o){if(o[0]&66368){s=t.ensure_array_like(n[16]);let a;for(a=0;a<s.length;a+=1){const i=E(n,s,a);l[a]?l[a].p(i,o):(l[a]=D(i),l[a].c(),l[a].m(e,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=s.length}},d(n){n&&t.detach(e),t.destroy_each(l,n)}}}function W(_){let e,s=t.ensure_array_like(_[15]),l=[];for(let n=0;n<s.length;n+=1)l[n]=H(w(_,s,n));return{c(){e=t.element("div");for(let n=0;n<l.length;n+=1)l[n].c();t.attr(e,"class","FooterSectionInnerContainer svelte-1i97rgz"),t.attr(e,"part","FooterSectionInnerContainer")},m(n,o){t.insert(n,e,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null)},p(n,o){if(o[0]&33600){s=t.ensure_array_like(n[15]);let a;for(a=0;a<s.length;a+=1){const i=w(n,s,a);l[a]?l[a].p(i,o):(l[a]=H(i),l[a].c(),l[a].m(e,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=s.length}},d(n){n&&t.detach(e),t.destroy_each(l,n)}}}function X(_){let e,s,l=t.ensure_array_like(_[14]),n=[];for(let o=0;o<l.length;o+=1)n[o]=O(U(_,l,o));return{c(){e=t.element("div");for(let o=0;o<n.length;o+=1)n[o].c();t.attr(e,"class",s="FooterSectionInnerContainer "+(_[7]=="true"?"DisplayColumn":"")+" svelte-1i97rgz"),t.attr(e,"part","FooterSectionInnerContainer")},m(o,a){t.insert(o,e,a);for(let i=0;i<n.length;i+=1)n[i]&&n[i].m(e,null)},p(o,a){if(a[0]&17344){l=t.ensure_array_like(o[14]);let i;for(i=0;i<l.length;i+=1){const r=U(o,l,i);n[i]?n[i].p(r,a):(n[i]=O(r),n[i].c(),n[i].m(e,null))}for(;i<n.length;i+=1)n[i].d(1);n.length=l.length}a[0]&128&&s!==(s="FooterSectionInnerContainer "+(o[7]=="true"?"DisplayColumn":"")+" svelte-1i97rgz")&&t.attr(e,"class",s)},d(o){o&&t.detach(e),t.destroy_each(n,o)}}}function Y(_){let e,s=t.ensure_array_like(_[13]),l=[];for(let n=0;n<s.length;n+=1)l[n]=P(z(_,s,n));return{c(){e=t.element("div");for(let n=0;n<l.length;n+=1)l[n].c();t.attr(e,"class","FooterSectionInnerContainer svelte-1i97rgz"),t.attr(e,"part","FooterSectionInnerContainer")},m(n,o){t.insert(n,e,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null)},p(n,o){if(o[0]&9024){s=t.ensure_array_like(n[13]);let a;for(a=0;a<s.length;a+=1){const i=z(n,s,a);l[a]?l[a].p(i,o):(l[a]=P(i),l[a].c(),l[a].m(e,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=s.length}},d(n){n&&t.detach(e),t.destroy_each(l,n)}}}function Z(_){let e,s=t.ensure_array_like(_[12]),l=[];for(let n=0;n<s.length;n+=1)l[n]=j(R(_,s,n));return{c(){e=t.element("div");for(let n=0;n<l.length;n+=1)l[n].c();t.attr(e,"class","FooterSectionInnerContainer svelte-1i97rgz"),t.attr(e,"part","FooterSectionInnerContainer")},m(n,o){t.insert(n,e,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null)},p(n,o){if(o[0]&4928){s=t.ensure_array_like(n[12]);let a;for(a=0;a<s.length;a+=1){const i=R(n,s,a);l[a]?l[a].p(i,o):(l[a]=j(i),l[a].c(),l[a].m(e,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=s.length}},d(n){n&&t.detach(e),t.destroy_each(l,n)}}}function $(_){let e,s=t.ensure_array_like(_[11]),l=[];for(let n=0;n<s.length;n+=1)l[n]=N(V(_,s,n));return{c(){e=t.element("div");for(let n=0;n<l.length;n+=1)l[n].c();t.attr(e,"class","FooterSectionInnerContainer svelte-1i97rgz"),t.attr(e,"part","FooterSectionInnerContainer")},m(n,o){t.insert(n,e,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null)},p(n,o){if(o[0]&2880){s=t.ensure_array_like(n[11]);let a;for(a=0;a<s.length;a+=1){const i=V(n,s,a);l[a]?l[a].p(i,o):(l[a]=N(i),l[a].c(),l[a].m(e,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=s.length}},d(n){n&&t.detach(e),t.destroy_each(l,n)}}}function D(_){let e,s,l,n,o,a;return{c(){var i,r;e=t.element("casino-footer-thumbnail"),t.set_custom_element_data(e,"sociallinkurl",s=_[30].socialLinkUrl),t.set_custom_element_data(e,"sociallinkimage",l=_[30].socialLinkImage),t.set_custom_element_data(e,"sociallinktitle",n=_[30].socialLinkTitle),t.set_custom_element_data(e,"clientstyling",_[6]),t.set_custom_element_data(e,"linktype",o=(i=_[30])==null?void 0:i.isExternalLink),t.set_custom_element_data(e,"target",a=(r=_[30])==null?void 0:r.target),t.set_custom_element_data(e,"baseurl",_[8]),t.set_custom_element_data(e,"lang",_[9])},m(i,r){t.insert(i,e,r)},p(i,r){var u,c;r[0]&65536&&s!==(s=i[30].socialLinkUrl)&&t.set_custom_element_data(e,"sociallinkurl",s),r[0]&65536&&l!==(l=i[30].socialLinkImage)&&t.set_custom_element_data(e,"sociallinkimage",l),r[0]&65536&&n!==(n=i[30].socialLinkTitle)&&t.set_custom_element_data(e,"sociallinktitle",n),r[0]&64&&t.set_custom_element_data(e,"clientstyling",i[6]),r[0]&65536&&o!==(o=(u=i[30])==null?void 0:u.isExternalLink)&&t.set_custom_element_data(e,"linktype",o),r[0]&65536&&a!==(a=(c=i[30])==null?void 0:c.target)&&t.set_custom_element_data(e,"target",a),r[0]&256&&t.set_custom_element_data(e,"baseurl",i[8]),r[0]&512&&t.set_custom_element_data(e,"lang",i[9])},d(i){i&&t.detach(e)}}}function H(_){let e,s,l,n,o,a;return{c(){var i,r;e=t.element("casino-footer-thumbnail"),t.set_custom_element_data(e,"licenseurl",s=_[30].licenseUrl),t.set_custom_element_data(e,"licenseimage",l=_[30].licenseImage),t.set_custom_element_data(e,"licensetitle",n=_[30].licenseTitle),t.set_custom_element_data(e,"clientstyling",_[6]),t.set_custom_element_data(e,"linktype",o=(i=_[30])==null?void 0:i.isExternalLink),t.set_custom_element_data(e,"target",a=(r=_[30])==null?void 0:r.target),t.set_custom_element_data(e,"baseurl",_[8]),t.set_custom_element_data(e,"lang",_[9])},m(i,r){t.insert(i,e,r)},p(i,r){var u,c;r[0]&32768&&s!==(s=i[30].licenseUrl)&&t.set_custom_element_data(e,"licenseurl",s),r[0]&32768&&l!==(l=i[30].licenseImage)&&t.set_custom_element_data(e,"licenseimage",l),r[0]&32768&&n!==(n=i[30].licenseTitle)&&t.set_custom_element_data(e,"licensetitle",n),r[0]&64&&t.set_custom_element_data(e,"clientstyling",i[6]),r[0]&32768&&o!==(o=(u=i[30])==null?void 0:u.isExternalLink)&&t.set_custom_element_data(e,"linktype",o),r[0]&32768&&a!==(a=(c=i[30])==null?void 0:c.target)&&t.set_custom_element_data(e,"target",a),r[0]&256&&t.set_custom_element_data(e,"baseurl",i[8]),r[0]&512&&t.set_custom_element_data(e,"lang",i[9])},d(i){i&&t.detach(e)}}}function x(_){let e,s,l,n,o,a;return{c(){var i,r;e=t.element("casino-footer-thumbnail"),t.set_custom_element_data(e,"helperlinkurl",s=_[33].helpLinkUrl),t.set_custom_element_data(e,"helperlinkimage",l=_[33].helpLinkImage),t.set_custom_element_data(e,"helperlinktitle",n=_[33].helpLinkTitle),t.set_custom_element_data(e,"clientstyling",_[6]),t.set_custom_element_data(e,"displaycolumn",_[7]),t.set_custom_element_data(e,"linktype",o=(i=_[33])==null?void 0:i.helpLinkType),t.set_custom_element_data(e,"target",a=(r=_[33])==null?void 0:r.target),t.set_custom_element_data(e,"baseurl",_[8]),t.set_custom_element_data(e,"lang",_[9])},m(i,r){t.insert(i,e,r)},p(i,r){var u,c;r[0]&16384&&s!==(s=i[33].helpLinkUrl)&&t.set_custom_element_data(e,"helperlinkurl",s),r[0]&16384&&l!==(l=i[33].helpLinkImage)&&t.set_custom_element_data(e,"helperlinkimage",l),r[0]&16384&&n!==(n=i[33].helpLinkTitle)&&t.set_custom_element_data(e,"helperlinktitle",n),r[0]&64&&t.set_custom_element_data(e,"clientstyling",i[6]),r[0]&128&&t.set_custom_element_data(e,"displaycolumn",i[7]),r[0]&16384&&o!==(o=(u=i[33])==null?void 0:u.helpLinkType)&&t.set_custom_element_data(e,"linktype",o),r[0]&16384&&a!==(a=(c=i[33])==null?void 0:c.target)&&t.set_custom_element_data(e,"target",a),r[0]&256&&t.set_custom_element_data(e,"baseurl",i[8]),r[0]&512&&t.set_custom_element_data(e,"lang",i[9])},d(i){i&&t.detach(e)}}}function ee(_){let e,s=t.ensure_array_like(_[33].value),l=[];for(let n=0;n<s.length;n+=1)l[n]=q(M(_,s,n));return{c(){for(let n=0;n<l.length;n+=1)l[n].c();e=t.empty()},m(n,o){for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(n,o);t.insert(n,e,o)},p(n,o){if(o[0]&17344){s=t.ensure_array_like(n[33].value);let a;for(a=0;a<s.length;a+=1){const i=M(n,s,a);l[a]?l[a].p(i,o):(l[a]=q(i),l[a].c(),l[a].m(e.parentNode,e))}for(;a<l.length;a+=1)l[a].d(1);l.length=s.length}},d(n){n&&t.detach(e),t.destroy_each(l,n)}}}function q(_){let e,s,l,n,o,a;return{c(){var i,r;e=t.element("casino-footer-thumbnail"),t.set_custom_element_data(e,"helperlinkurl",s=_[30].helpLinkUrl),t.set_custom_element_data(e,"helperlinkimage",l=_[30].helpLinkImage),t.set_custom_element_data(e,"helperlinktitle",n=_[30].helpLinkTitle),t.set_custom_element_data(e,"clientstyling",_[6]),t.set_custom_element_data(e,"displaycolumn",_[7]),t.set_custom_element_data(e,"linktype",o=(i=_[30])==null?void 0:i.helpLinkType),t.set_custom_element_data(e,"target",a=(r=_[30])==null?void 0:r.target),t.set_custom_element_data(e,"baseurl",_[8]),t.set_custom_element_data(e,"lang",_[9])},m(i,r){t.insert(i,e,r)},p(i,r){var u,c;r[0]&16384&&s!==(s=i[30].helpLinkUrl)&&t.set_custom_element_data(e,"helperlinkurl",s),r[0]&16384&&l!==(l=i[30].helpLinkImage)&&t.set_custom_element_data(e,"helperlinkimage",l),r[0]&16384&&n!==(n=i[30].helpLinkTitle)&&t.set_custom_element_data(e,"helperlinktitle",n),r[0]&64&&t.set_custom_element_data(e,"clientstyling",i[6]),r[0]&128&&t.set_custom_element_data(e,"displaycolumn",i[7]),r[0]&16384&&o!==(o=(u=i[30])==null?void 0:u.helpLinkType)&&t.set_custom_element_data(e,"linktype",o),r[0]&16384&&a!==(a=(c=i[30])==null?void 0:c.target)&&t.set_custom_element_data(e,"target",a),r[0]&256&&t.set_custom_element_data(e,"baseurl",i[8]),r[0]&512&&t.set_custom_element_data(e,"lang",i[9])},d(i){i&&t.detach(e)}}}function O(_){let e,s;function l(a,i){return i[0]&16384&&(e=null),e==null&&(e=!!a[33].hasOwnProperty("value")),e?ee:x}let n=l(_,[-1,-1]),o=n(_);return{c(){o.c(),s=t.empty()},m(a,i){o.m(a,i),t.insert(a,s,i)},p(a,i){n===(n=l(a,i))&&o?o.p(a,i):(o.d(1),o=n(a),o&&(o.c(),o.m(s.parentNode,s)))},d(a){a&&t.detach(s),o.d(a)}}}function P(_){let e,s,l,n,o,a;return{c(){var i,r;e=t.element("casino-footer-thumbnail"),t.set_custom_element_data(e,"vendorurl",s=_[30].gameVendorUrl),t.set_custom_element_data(e,"vendorimage",l=_[30].gameVendorImage),t.set_custom_element_data(e,"vendortitle",n=_[30].gameVendorTitle),t.set_custom_element_data(e,"clientstyling",_[6]),t.set_custom_element_data(e,"linktype",o=(i=_[30])==null?void 0:i.isExternalLink),t.set_custom_element_data(e,"target",a=(r=_[30])==null?void 0:r.target),t.set_custom_element_data(e,"baseurl",_[8]),t.set_custom_element_data(e,"lang",_[9])},m(i,r){t.insert(i,e,r)},p(i,r){var u,c;r[0]&8192&&s!==(s=i[30].gameVendorUrl)&&t.set_custom_element_data(e,"vendorurl",s),r[0]&8192&&l!==(l=i[30].gameVendorImage)&&t.set_custom_element_data(e,"vendorimage",l),r[0]&8192&&n!==(n=i[30].gameVendorTitle)&&t.set_custom_element_data(e,"vendortitle",n),r[0]&64&&t.set_custom_element_data(e,"clientstyling",i[6]),r[0]&8192&&o!==(o=(u=i[30])==null?void 0:u.isExternalLink)&&t.set_custom_element_data(e,"linktype",o),r[0]&8192&&a!==(a=(c=i[30])==null?void 0:c.target)&&t.set_custom_element_data(e,"target",a),r[0]&256&&t.set_custom_element_data(e,"baseurl",i[8]),r[0]&512&&t.set_custom_element_data(e,"lang",i[9])},d(i){i&&t.detach(e)}}}function j(_){let e,s,l,n,o,a;return{c(){var i,r;e=t.element("casino-footer-thumbnail"),t.set_custom_element_data(e,"paymenturl",s=_[27].paymentMethodUrl),t.set_custom_element_data(e,"paymentimage",l=_[27].paymentMethodImage),t.set_custom_element_data(e,"paymenttitle",n=_[27].paymentMethodTitle),t.set_custom_element_data(e,"clientstyling",_[6]),t.set_custom_element_data(e,"linktype",o=(i=_[27])==null?void 0:i.isExternalLink),t.set_custom_element_data(e,"target",a=(r=_[27])==null?void 0:r.target),t.set_custom_element_data(e,"baseurl",_[8]),t.set_custom_element_data(e,"lang",_[9])},m(i,r){t.insert(i,e,r)},p(i,r){var u,c;r[0]&4096&&s!==(s=i[27].paymentMethodUrl)&&t.set_custom_element_data(e,"paymenturl",s),r[0]&4096&&l!==(l=i[27].paymentMethodImage)&&t.set_custom_element_data(e,"paymentimage",l),r[0]&4096&&n!==(n=i[27].paymentMethodTitle)&&t.set_custom_element_data(e,"paymenttitle",n),r[0]&64&&t.set_custom_element_data(e,"clientstyling",i[6]),r[0]&4096&&o!==(o=(u=i[27])==null?void 0:u.isExternalLink)&&t.set_custom_element_data(e,"linktype",o),r[0]&4096&&a!==(a=(c=i[27])==null?void 0:c.target)&&t.set_custom_element_data(e,"target",a),r[0]&256&&t.set_custom_element_data(e,"baseurl",i[8]),r[0]&512&&t.set_custom_element_data(e,"lang",i[9])},d(i){i&&t.detach(e)}}}function N(_){let e,s,l,n,o,a;return{c(){var i,r;e=t.element("casino-footer-thumbnail"),t.set_custom_element_data(e,"sponsorurl",s=_[24].sponsorUrl),t.set_custom_element_data(e,"sponsorimage",l=_[24].sponsorImage),t.set_custom_element_data(e,"sponsortitle",n=_[24].sponsorTitle),t.set_custom_element_data(e,"clientstyling",_[6]),t.set_custom_element_data(e,"linktype",o=(i=_[24])==null?void 0:i.isExternalLink),t.set_custom_element_data(e,"target",a=(r=_[24])==null?void 0:r.target),t.set_custom_element_data(e,"baseurl",_[8]),t.set_custom_element_data(e,"lang",_[9])},m(i,r){t.insert(i,e,r)},p(i,r){var u,c;r[0]&2048&&s!==(s=i[24].sponsorUrl)&&t.set_custom_element_data(e,"sponsorurl",s),r[0]&2048&&l!==(l=i[24].sponsorImage)&&t.set_custom_element_data(e,"sponsorimage",l),r[0]&2048&&n!==(n=i[24].sponsorTitle)&&t.set_custom_element_data(e,"sponsortitle",n),r[0]&64&&t.set_custom_element_data(e,"clientstyling",i[6]),r[0]&2048&&o!==(o=(u=i[24])==null?void 0:u.isExternalLink)&&t.set_custom_element_data(e,"linktype",o),r[0]&2048&&a!==(a=(c=i[24])==null?void 0:c.target)&&t.set_custom_element_data(e,"target",a),r[0]&256&&t.set_custom_element_data(e,"baseurl",i[8]),r[0]&512&&t.set_custom_element_data(e,"lang",i[9])},d(i){i&&t.detach(e)}}}function te(_){let e;function s(o,a){if(o[0]&&o[11].length)return $;if(o[1]&&o[12].length)return Z;if(o[2]&&o[13].length)return Y;if(o[3]&&o[14].length)return X;if(o[4]&&o[15].length)return W;if(o[5]&&o[16].length)return Q}let l=s(_),n=l&&l(_);return{c(){e=t.element("div"),n&&n.c(),t.attr(e,"class","FooterSectionContainer"),t.attr(e,"part","FooterSectionContainer")},m(o,a){t.insert(o,e,a),n&&n.m(e,null),_[20](e)},p(o,a){l===(l=s(o))&&n?n.p(o,a):(n&&n.d(1),n=l&&l(o),n&&(n.c(),n.m(e,null)))},i:t.noop,o:t.noop,d(o){o&&t.detach(e),n&&n.d(),_[20](null)}}}let le=/^(?:[^\/]*\/){2}[^\/]+/g;function ne(_,e,s){let{sponsorflag:l=""}=e,{paymentflag:n=""}=e,{vendorflag:o=""}=e,{helperflag:a=""}=e,{licenseflag:i=""}=e,{socialflag:r=""}=e,{clientstyling:u=""}=e,{clientstylingurl:c=""}=e,{target:p=""}=e,{displaycolumn:b=""}=e,{category:g=""}=e,{baseurl:y=""}=e,{lang:v=""}=e,L=[],C=[],I=[],h=[],S=[],T=[],f;const F=m=>{m.origin==window.location.href.match(le)[0]&&m.data&&m.data.type==="FooterData"&&(s(11,L=m.data.sponsorsRepeater),s(12,C=m.data.paymentMethodsRepeater),s(13,I=m.data.gameVendorsRepeater),s(14,h=m.data.helpLinksRepeater),s(15,S=m.data.licensesRepeater),s(16,T=m.data.socialLinksRepeater),g&&s(14,h=h.filter(d=>d.key==g)))},B=()=>{let m=document.createElement("style");m.innerHTML=u,f.appendChild(m)},G=()=>{let m=new URL(c),d=document.createElement("style");fetch(m.href).then(k=>k.text()).then(k=>{d.innerHTML=k,setTimeout(()=>{f.appendChild(d)},1)})};t.onMount(()=>(window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));function J(m){t.binding_callbacks[m?"unshift":"push"](()=>{f=m,s(10,f)})}return _.$$set=m=>{"sponsorflag"in m&&s(0,l=m.sponsorflag),"paymentflag"in m&&s(1,n=m.paymentflag),"vendorflag"in m&&s(2,o=m.vendorflag),"helperflag"in m&&s(3,a=m.helperflag),"licenseflag"in m&&s(4,i=m.licenseflag),"socialflag"in m&&s(5,r=m.socialflag),"clientstyling"in m&&s(6,u=m.clientstyling),"clientstylingurl"in m&&s(17,c=m.clientstylingurl),"target"in m&&s(18,p=m.target),"displaycolumn"in m&&s(7,b=m.displaycolumn),"category"in m&&s(19,g=m.category),"baseurl"in m&&s(8,y=m.baseurl),"lang"in m&&s(9,v=m.lang)},_.$$.update=()=>{_.$$.dirty[0]&1088&&u&&f&&B(),_.$$.dirty[0]&132096&&c&&f&&G()},[l,n,o,a,i,r,u,b,y,v,f,L,C,I,h,S,T,c,p,g,J]}class A extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ne,te,t.safe_not_equal,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,clientstyling:6,clientstylingurl:17,target:18,displaycolumn:7,category:19,baseurl:8,lang:9},K,[-1,-1])}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),t.flush()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),t.flush()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),t.flush()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),t.flush()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),t.flush()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),t.flush()}get displaycolumn(){return this.$$.ctx[7]}set displaycolumn(e){this.$$set({displaycolumn:e}),t.flush()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),t.flush()}get baseurl(){return this.$$.ctx[8]}set baseurl(e){this.$$set({baseurl:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}}t.create_custom_element(A,{sponsorflag:{},paymentflag:{},vendorflag:{},helperflag:{},licenseflag:{},socialflag:{},clientstyling:{},clientstylingurl:{},target:{},displaycolumn:{},category:{},baseurl:{},lang:{}},[],[],!0);exports.default=A;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFooter-swj2W7bn.cjs");function le(i){e.append_styles(i,"svelte-1w74e2k",":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem.svelte-1w74e2k.svelte-1w74e2k{display:inline-block;padding:0 12px}.FooterItem.svelte-1w74e2k .FooterSponsorLink.svelte-1w74e2k,.FooterItem.svelte-1w74e2k .FooterPaymentLink.svelte-1w74e2k{display:block}.FooterItem.svelte-1w74e2k .FooterSponsorLink.svelte-1w74e2k{display:flex;align-items:center}.FooterItem.svelte-1w74e2k .FooterPaymentLink.svelte-1w74e2k,.FooterItem.svelte-1w74e2k .FooterHelperLink.svelte-1w74e2k{display:flex;align-items:center;justify-content:center}.FooterItem.svelte-1w74e2k .FooterLinkDisabled.svelte-1w74e2k{pointer-events:none;cursor:auto}.FooterItem.svelte-1w74e2k .SponsorTitle.svelte-1w74e2k,.FooterItem.svelte-1w74e2k .PaymentTitle.svelte-1w74e2k{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem.svelte-1w74e2k .HelperTitle.svelte-1w74e2k{color:var(--emfe-w-footer-typography, var(--emfe-w-color-contrast, #111));font-size:8px}.FooterItem.HelperLinkItem.svelte-1w74e2k p.svelte-1w74e2k{font-size:10px}.FooterItem.svelte-1w74e2k .FooterItemAnchor.svelte-1w74e2k{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem.svelte-1w74e2k .FooterItemAnchor.svelte-1w74e2k{width:42px;height:42px}.FooterItem.svelte-1w74e2k .FooterImage.svelte-1w74e2k{min-height:38px}.SponsorTitle.svelte-1w74e2k.svelte-1w74e2k{margin:0}.FooterLink.svelte-1w74e2k.svelte-1w74e2k{display:block;text-align:center}.DisplayColumn.svelte-1w74e2k .FooterItemAnchor.svelte-1w74e2k{flex-direction:row}.DisplayColumn.svelte-1w74e2k .FooterImage.svelte-1w74e2k{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem.svelte-1w74e2k p.svelte-1w74e2k{font-size:12px}@media only screen and (max-width: 768px){.FooterItem.svelte-1w74e2k.svelte-1w74e2k{padding:0 5px}.FooterItem.PaymentItem.svelte-1w74e2k.svelte-1w74e2k{padding:15px 5px}.FooterItem.GameVendorItem.svelte-1w74e2k.svelte-1w74e2k{padding:0 10px}}")}function re(i){let t;function l(o,f){if(o[1])return ue;if(o[4])return me;if(o[7])return oe;if(o[9])return se;if(o[13])return ae;if(o[16])return ne}let r=l(i),a=r&&r(i);return{c(){a&&a.c(),t=e.empty()},m(o,f){a&&a.m(o,f),e.insert(o,t,f)},p(o,f){r===(r=l(o))&&a?a.p(o,f):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){o&&e.detach(t),a&&a.d(o)}}}function ie(i){let t;function l(o,f){if(o[1])return ge;if(o[4])return pe;if(o[7])return _e;if(o[9])return ke;if(o[13])return ce;if(o[16])return fe}let r=l(i),a=r&&r(i);return{c(){a&&a.c(),t=e.empty()},m(o,f){a&&a.m(o,f),e.insert(o,t,f)},p(o,f){r===(r=l(o))&&a?a.p(o,f):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){o&&e.detach(t),a&&a.d(o)}}}function ne(i){let t,l,r,a,o,f,k,u;return{c(){t=e.element("div"),l=e.element("button"),r=e.element("img"),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[16])||e.attr(r,"src",a),e.attr(r,"title",o=i[17]||i[15]),e.attr(l,"class",f="FooterLink "+(i[15]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(t,"class","FooterItem SocialItem svelte-1w74e2k"),e.attr(t,"part","FooterItem SocialItem")},m(s,n){e.insert(s,t,n),e.append(t,l),e.append(l,r),k||(u=e.listen(l,"click",i[33]),k=!0)},p(s,n){n[0]&65536&&!e.src_url_equal(r.src,a=s[16])&&e.attr(r,"src",a),n[0]&163840&&o!==(o=s[17]||s[15])&&e.attr(r,"title",o),n[0]&32768&&f!==(f="FooterLink "+(s[15]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",f)},d(s){s&&e.detach(t),k=!1,u()}}}function ae(i){let t,l,r,a,o,f,k,u;return{c(){t=e.element("div"),l=e.element("button"),r=e.element("img"),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[13])||e.attr(r,"src",a),e.attr(r,"title",o=i[14]||i[12]),e.attr(l,"class",f="FooterLink "+(i[12]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(t,"class","FooterItem svelte-1w74e2k"),e.attr(t,"part","FooterItem")},m(s,n){e.insert(s,t,n),e.append(t,l),e.append(l,r),k||(u=e.listen(l,"click",i[32]),k=!0)},p(s,n){n[0]&8192&&!e.src_url_equal(r.src,a=s[13])&&e.attr(r,"src",a),n[0]&20480&&o!==(o=s[14]||s[12])&&e.attr(r,"title",o),n[0]&4096&&f!==(f="FooterLink "+(s[12]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",f)},d(s){s&&e.detach(t),k=!1,u()}}}function se(i){let t,l,r,a,o,f,k,u=i[10]&&G(i),s=i[11]&&V(i);return{c(){t=e.element("div"),l=e.element("button"),u&&u.c(),r=e.space(),s&&s.c(),e.attr(l,"class",a=(i[11]?"FooterHelperLink":"")+" "+(i[9]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(t,"class",o="FooterItem HelperLinkItem "+(i[20]=="true"?"DisplayColumn":"")+" svelte-1w74e2k"),e.attr(t,"part","FooterItem HelperLinkItem")},m(n,m){e.insert(n,t,m),e.append(t,l),u&&u.m(l,null),e.append(l,r),s&&s.m(l,null),f||(k=e.listen(l,"click",i[31]),f=!0)},p(n,m){n[10]?u?u.p(n,m):(u=G(n),u.c(),u.m(l,r)):u&&(u.d(1),u=null),n[11]?s?s.p(n,m):(s=V(n),s.c(),s.m(l,null)):s&&(s.d(1),s=null),m[0]&2560&&a!==(a=(n[11]?"FooterHelperLink":"")+" "+(n[9]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",a),m[0]&1048576&&o!==(o="FooterItem HelperLinkItem "+(n[20]=="true"?"DisplayColumn":"")+" svelte-1w74e2k")&&e.attr(t,"class",o)},d(n){n&&e.detach(t),u&&u.d(),s&&s.d(),f=!1,k()}}}function oe(i){let t,l,r,a,o,f,k,u;return{c(){t=e.element("div"),l=e.element("button"),r=e.element("img"),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[7])||e.attr(r,"src",a),e.attr(r,"title",o=i[8]||i[6]),e.attr(l,"class",f=(i[6]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(t,"class","FooterItem GameVendorItem svelte-1w74e2k"),e.attr(t,"part","FooterItem GameVendorItem")},m(s,n){e.insert(s,t,n),e.append(t,l),e.append(l,r),k||(u=e.listen(l,"click",i[30]),k=!0)},p(s,n){n[0]&128&&!e.src_url_equal(r.src,a=s[7])&&e.attr(r,"src",a),n[0]&320&&o!==(o=s[8]||s[6])&&e.attr(r,"title",o),n[0]&64&&f!==(f=(s[6]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",f)},d(s){s&&e.detach(t),k=!1,u()}}}function me(i){let t,l,r,a,o,f,k,u,s,n=i[5]&&z(i);return{c(){t=e.element("div"),l=e.element("button"),r=e.element("img"),f=e.space(),n&&n.c(),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[4])||e.attr(r,"src",a),e.attr(r,"title",o=i[5]||i[3]),e.attr(l,"class",k=(i[5]?"FooterPaymentLink":"")+" "+(i[3]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(t,"class","FooterItem PaymentItem svelte-1w74e2k"),e.attr(t,"part","FooterItem PaymentItem")},m(m,_){e.insert(m,t,_),e.append(t,l),e.append(l,r),e.append(l,f),n&&n.m(l,null),u||(s=e.listen(l,"click",i[29]),u=!0)},p(m,_){_[0]&16&&!e.src_url_equal(r.src,a=m[4])&&e.attr(r,"src",a),_[0]&40&&o!==(o=m[5]||m[3])&&e.attr(r,"title",o),m[5]?n?n.p(m,_):(n=z(m),n.c(),n.m(l,null)):n&&(n.d(1),n=null),_[0]&40&&k!==(k=(m[5]?"FooterPaymentLink":"")+" "+(m[3]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",k)},d(m){m&&e.detach(t),n&&n.d(),u=!1,s()}}}function ue(i){let t,l,r,a,o,f,k,u,s,n=i[2]&&E(i);return{c(){t=e.element("div"),l=e.element("button"),r=e.element("img"),f=e.space(),n&&n.c(),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[1])||e.attr(r,"src",a),e.attr(r,"title",o=i[2]||i[0]),e.attr(l,"class",k=(i[2]?"FooterSponsorLink":"")+" "+(i[0]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(t,"class","FooterItem SponsorItem svelte-1w74e2k"),e.attr(t,"part","FooterItem SponsorItem")},m(m,_){e.insert(m,t,_),e.append(t,l),e.append(l,r),e.append(l,f),n&&n.m(l,null),u||(s=e.listen(l,"click",i[28]),u=!0)},p(m,_){_[0]&2&&!e.src_url_equal(r.src,a=m[1])&&e.attr(r,"src",a),_[0]&5&&o!==(o=m[2]||m[0])&&e.attr(r,"title",o),m[2]?n?n.p(m,_):(n=E(m),n.c(),n.m(l,null)):n&&(n.d(1),n=null),_[0]&5&&k!==(k=(m[2]?"FooterSponsorLink":"")+" "+(m[0]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",k)},d(m){m&&e.detach(t),n&&n.d(),u=!1,s()}}}function G(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","FooterImage svelte-1w74e2k"),e.attr(t,"part","FooterImage"),e.src_url_equal(t.src,l=i[10])||e.attr(t,"src",l),e.attr(t,"title",r=i[11]||i[9])},m(a,o){e.insert(a,t,o)},p(a,o){o[0]&1024&&!e.src_url_equal(t.src,l=a[10])&&e.attr(t,"src",l),o[0]&2560&&r!==(r=a[11]||a[9])&&e.attr(t,"title",r)},d(a){a&&e.detach(t)}}}function V(i){let t,l;return{c(){t=e.element("p"),l=e.text(i[11]),e.attr(t,"class","HelperTitle svelte-1w74e2k"),e.attr(t,"part","HelperTitle")},m(r,a){e.insert(r,t,a),e.append(t,l)},p(r,a){a[0]&2048&&e.set_data(l,r[11])},d(r){r&&e.detach(t)}}}function z(i){let t,l;return{c(){t=e.element("p"),l=e.text(i[5]),e.attr(t,"class","PaymentTitle svelte-1w74e2k"),e.attr(t,"part","PaymentTitle")},m(r,a){e.insert(r,t,a),e.append(t,l)},p(r,a){a[0]&32&&e.set_data(l,r[5])},d(r){r&&e.detach(t)}}}function E(i){let t,l;return{c(){t=e.element("p"),l=e.text(i[2]),e.attr(t,"class","SponsorTitle svelte-1w74e2k"),e.attr(t,"part","SponsorTitle")},m(r,a){e.insert(r,t,a),e.append(t,l)},p(r,a){a[0]&4&&e.set_data(l,r[2])},d(r){r&&e.detach(t)}}}function fe(i){let t,l,r,a,o,f,k,u;return{c(){t=e.element("div"),l=e.element("a"),r=e.element("img"),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[16])||e.attr(r,"src",a),e.attr(r,"title",o=i[17]||i[15]),e.attr(l,"class",f="FooterLink "+(i[15]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(l,"part",k="FooterLink "+(i[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),e.attr(l,"href",u=i[19]?i[15]:i[21]+`/${i[22]}/`+i[15]),e.attr(l,"target",i[18]),e.attr(t,"class","FooterItem SocialItem svelte-1w74e2k"),e.attr(t,"part","FooterItem SocialItem")},m(s,n){e.insert(s,t,n),e.append(t,l),e.append(l,r)},p(s,n){n[0]&65536&&!e.src_url_equal(r.src,a=s[16])&&e.attr(r,"src",a),n[0]&163840&&o!==(o=s[17]||s[15])&&e.attr(r,"title",o),n[0]&32768&&f!==(f="FooterLink "+(s[15]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",f),n[0]&32768&&k!==(k="FooterLink "+(s[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&e.attr(l,"part",k),n[0]&6848512&&u!==(u=s[19]?s[15]:s[21]+`/${s[22]}/`+s[15])&&e.attr(l,"href",u),n[0]&262144&&e.attr(l,"target",s[18])},d(s){s&&e.detach(t)}}}function ce(i){let t,l,r,a,o,f,k,u;return{c(){t=e.element("div"),l=e.element("a"),r=e.element("img"),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[13])||e.attr(r,"src",a),e.attr(r,"title",o=i[14]||i[12]),e.attr(l,"class",f="FooterLink "+(i[12]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(l,"part",k="FooterLink "+(i[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),e.attr(l,"href",u=i[19]?i[12]:i[21]+`/${i[22]}/`+i[12]),e.attr(l,"target",i[18]),e.attr(t,"class","FooterItem svelte-1w74e2k"),e.attr(t,"part","FooterItem")},m(s,n){e.insert(s,t,n),e.append(t,l),e.append(l,r)},p(s,n){n[0]&8192&&!e.src_url_equal(r.src,a=s[13])&&e.attr(r,"src",a),n[0]&20480&&o!==(o=s[14]||s[12])&&e.attr(r,"title",o),n[0]&4096&&f!==(f="FooterLink "+(s[12]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",f),n[0]&4096&&k!==(k="FooterLink "+(s[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&e.attr(l,"part",k),n[0]&6819840&&u!==(u=s[19]?s[12]:s[21]+`/${s[22]}/`+s[12])&&e.attr(l,"href",u),n[0]&262144&&e.attr(l,"target",s[18])},d(s){s&&e.detach(t)}}}function ke(i){let t,l,r,a,o,f,k,u=i[10]&&U(i),s=i[11]&&R(i);return{c(){t=e.element("div"),l=e.element("a"),u&&u.c(),r=e.space(),s&&s.c(),e.attr(l,"class",a=(i[11]?"FooterHelperLink":"")+" "+(i[9]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(l,"part",o=(i[11]?"FooterHelperLink":"")+" "+(i[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),e.attr(l,"href",f=i[19]?i[9]:i[21]+`/${i[22]}/`+i[9]),e.attr(l,"target",i[18]),e.attr(t,"class",k="FooterItem HelperLinkItem "+(i[20]=="true"?"DisplayColumn":"")+" svelte-1w74e2k"),e.attr(t,"part","FooterItem HelperLinkItem")},m(n,m){e.insert(n,t,m),e.append(t,l),u&&u.m(l,null),e.append(l,r),s&&s.m(l,null)},p(n,m){n[10]?u?u.p(n,m):(u=U(n),u.c(),u.m(l,r)):u&&(u.d(1),u=null),n[11]?s?s.p(n,m):(s=R(n),s.c(),s.m(l,null)):s&&(s.d(1),s=null),m[0]&2560&&a!==(a=(n[11]?"FooterHelperLink":"")+" "+(n[9]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",a),m[0]&2560&&o!==(o=(n[11]?"FooterHelperLink":"")+" "+(n[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&e.attr(l,"part",o),m[0]&6816256&&f!==(f=n[19]?n[9]:n[21]+`/${n[22]}/`+n[9])&&e.attr(l,"href",f),m[0]&262144&&e.attr(l,"target",n[18]),m[0]&1048576&&k!==(k="FooterItem HelperLinkItem "+(n[20]=="true"?"DisplayColumn":"")+" svelte-1w74e2k")&&e.attr(t,"class",k)},d(n){n&&e.detach(t),u&&u.d(),s&&s.d()}}}function _e(i){let t,l,r,a,o,f,k,u;return{c(){t=e.element("div"),l=e.element("a"),r=e.element("img"),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[7])||e.attr(r,"src",a),e.attr(r,"title",o=i[8]||i[6]),e.attr(l,"class",f=(i[6]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(l,"part",k=(i[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),e.attr(l,"href",u=i[19]?i[6]:i[21]+`/${i[22]}/`+i[6]),e.attr(l,"target",i[18]),e.attr(t,"class","FooterItem GameVendorItem svelte-1w74e2k"),e.attr(t,"part","FooterItem GameVendorItem")},m(s,n){e.insert(s,t,n),e.append(t,l),e.append(l,r)},p(s,n){n[0]&128&&!e.src_url_equal(r.src,a=s[7])&&e.attr(r,"src",a),n[0]&320&&o!==(o=s[8]||s[6])&&e.attr(r,"title",o),n[0]&64&&f!==(f=(s[6]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",f),n[0]&64&&k!==(k=(s[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&e.attr(l,"part",k),n[0]&6815808&&u!==(u=s[19]?s[6]:s[21]+`/${s[22]}/`+s[6])&&e.attr(l,"href",u),n[0]&262144&&e.attr(l,"target",s[18])},d(s){s&&e.detach(t)}}}function pe(i){let t,l,r,a,o,f,k,u,s,n=i[5]&&j(i);return{c(){t=e.element("div"),l=e.element("a"),r=e.element("img"),f=e.space(),n&&n.c(),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[4])||e.attr(r,"src",a),e.attr(r,"title",o=i[5]||i[3]),e.attr(l,"class",k=(i[5]?"FooterPaymentLink":"")+" "+(i[3]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(l,"part",u=(i[5]?"FooterPaymentLink":"")+" "+(i[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),e.attr(l,"href",s=i[19]?i[3]:i[21]+`/${i[22]}/`+i[3]),e.attr(l,"target",i[18]),e.attr(t,"class","FooterItem PaymentItem svelte-1w74e2k"),e.attr(t,"part","FooterItem PaymentItem")},m(m,_){e.insert(m,t,_),e.append(t,l),e.append(l,r),e.append(l,f),n&&n.m(l,null)},p(m,_){_[0]&16&&!e.src_url_equal(r.src,a=m[4])&&e.attr(r,"src",a),_[0]&40&&o!==(o=m[5]||m[3])&&e.attr(r,"title",o),m[5]?n?n.p(m,_):(n=j(m),n.c(),n.m(l,null)):n&&(n.d(1),n=null),_[0]&40&&k!==(k=(m[5]?"FooterPaymentLink":"")+" "+(m[3]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",k),_[0]&40&&u!==(u=(m[5]?"FooterPaymentLink":"")+" "+(m[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&e.attr(l,"part",u),_[0]&6815752&&s!==(s=m[19]?m[3]:m[21]+`/${m[22]}/`+m[3])&&e.attr(l,"href",s),_[0]&262144&&e.attr(l,"target",m[18])},d(m){m&&e.detach(t),n&&n.d()}}}function ge(i){let t,l,r,a,o,f,k,u,s,n=i[2]&&O(i);return{c(){t=e.element("div"),l=e.element("a"),r=e.element("img"),f=e.space(),n&&n.c(),e.attr(r,"class","FooterImage svelte-1w74e2k"),e.attr(r,"part","FooterImage"),e.src_url_equal(r.src,a=i[1])||e.attr(r,"src",a),e.attr(r,"title",o=i[2]||i[0]),e.attr(l,"class",k=(i[2]?"FooterSponsorLink":"")+" "+(i[0]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k"),e.attr(l,"part",u=(i[2]?"FooterSponsorLink":"")+" "+(i[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),e.attr(l,"href",s=i[19]?i[0]:i[21]+`/${i[22]}/`+i[0]),e.attr(l,"target",i[18]),e.attr(t,"class","FooterItem SponsorItem svelte-1w74e2k"),e.attr(t,"part","FooterItem SponsorItem")},m(m,_){e.insert(m,t,_),e.append(t,l),e.append(l,r),e.append(l,f),n&&n.m(l,null)},p(m,_){_[0]&2&&!e.src_url_equal(r.src,a=m[1])&&e.attr(r,"src",a),_[0]&5&&o!==(o=m[2]||m[0])&&e.attr(r,"title",o),m[2]?n?n.p(m,_):(n=O(m),n.c(),n.m(l,null)):n&&(n.d(1),n=null),_[0]&5&&k!==(k=(m[2]?"FooterSponsorLink":"")+" "+(m[0]?"":"FooterLinkDisabled")+" FooterItemAnchor svelte-1w74e2k")&&e.attr(l,"class",k),_[0]&5&&u!==(u=(m[2]?"FooterSponsorLink":"")+" "+(m[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&e.attr(l,"part",u),_[0]&6815745&&s!==(s=m[19]?m[0]:m[21]+`/${m[22]}/`+m[0])&&e.attr(l,"href",s),_[0]&262144&&e.attr(l,"target",m[18])},d(m){m&&e.detach(t),n&&n.d()}}}function U(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","FooterImage svelte-1w74e2k"),e.attr(t,"part","FooterImage"),e.src_url_equal(t.src,l=i[10])||e.attr(t,"src",l),e.attr(t,"title",r=i[11]||i[9])},m(a,o){e.insert(a,t,o)},p(a,o){o[0]&1024&&!e.src_url_equal(t.src,l=a[10])&&e.attr(t,"src",l),o[0]&2560&&r!==(r=a[11]||a[9])&&e.attr(t,"title",r)},d(a){a&&e.detach(t)}}}function R(i){let t,l;return{c(){t=e.element("p"),l=e.text(i[11]),e.attr(t,"class","HelperTitle svelte-1w74e2k"),e.attr(t,"part","HelperTitle")},m(r,a){e.insert(r,t,a),e.append(t,l)},p(r,a){a[0]&2048&&e.set_data(l,r[11])},d(r){r&&e.detach(t)}}}function j(i){let t,l;return{c(){t=e.element("p"),l=e.text(i[5]),e.attr(t,"class","PaymentTitle svelte-1w74e2k"),e.attr(t,"part","PaymentTitle")},m(r,a){e.insert(r,t,a),e.append(t,l)},p(r,a){a[0]&32&&e.set_data(l,r[5])},d(r){r&&e.detach(t)}}}function O(i){let t,l;return{c(){t=e.element("p"),l=e.text(i[2]),e.attr(t,"class","SponsorTitle svelte-1w74e2k"),e.attr(t,"part","SponsorTitle")},m(r,a){e.insert(r,t,a),e.append(t,l)},p(r,a){a[0]&4&&e.set_data(l,r[2])},d(r){r&&e.detach(t)}}}function he(i){let t;function l(o,f){return o[24]=="PC"?ie:re}let a=l(i)(i);return{c(){t=e.element("div"),a.c(),e.attr(t,"class","ThumbnailContainer"),e.attr(t,"part","ThumbnailContainer")},m(o,f){e.insert(o,t,f),a.m(t,null),i[34](t)},p(o,f){a.p(o,f)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a.d(),i[34](null)}}}function de(i,t,l){let{sponsorurl:r=""}=t,{sponsorimage:a=""}=t,{sponsortitle:o=""}=t,{paymenturl:f=""}=t,{paymentimage:k=""}=t,{paymenttitle:u=""}=t,{vendorurl:s=""}=t,{vendorimage:n=""}=t,{vendortitle:m=""}=t,{helperlinkurl:_=""}=t,{helperlinkimage:S=""}=t,{helperlinktitle:q=""}=t,{licenseurl:b=""}=t,{licenseimage:T=""}=t,{licensetitle:H=""}=t,{sociallinkurl:L=""}=t,{sociallinkimage:P=""}=t,{sociallinktitle:C=""}=t,{target:p="_self"}=t,{linktype:g="false"}=t,{displaycolumn:M=""}=t,{baseurl:y=""}=t,{lang:D=""}=t,{clientstyling:F=""}=t,{clientstylingurl:I=""}=t,h,J=window.navigator.userAgent,K=e.getDevice(J);const Q=()=>{let c=document.createElement("style");c.innerHTML=F,h.appendChild(c)},W=()=>{let c=new URL(I),w=document.createElement("style");fetch(c.href).then(v=>v.text()).then(v=>{w.innerHTML=v,setTimeout(()=>{h.appendChild(w)},1)})},d=(c,w,v)=>{const A=w,N=A?c:y+`/${D}/`+c;window.postMessage({type:"NavigateTo",path:c,target:v||null,externalLink:A||!1},window.location.href),A?window.postMessage({type:"ExternalLinkNavigation",externalUrl:N,target:v},window.location.href):window.postMessage({type:"LinkNavigation",navUrl:N,target:v},window.location.href)},X=()=>d(r,g,p),Y=()=>d(f,g,p),Z=()=>d(s,g,p),$=()=>d(_,g,p),x=()=>d(b,g,p),ee=()=>d(L,g,p);function te(c){e.binding_callbacks[c?"unshift":"push"](()=>{h=c,l(23,h)})}return i.$$set=c=>{"sponsorurl"in c&&l(0,r=c.sponsorurl),"sponsorimage"in c&&l(1,a=c.sponsorimage),"sponsortitle"in c&&l(2,o=c.sponsortitle),"paymenturl"in c&&l(3,f=c.paymenturl),"paymentimage"in c&&l(4,k=c.paymentimage),"paymenttitle"in c&&l(5,u=c.paymenttitle),"vendorurl"in c&&l(6,s=c.vendorurl),"vendorimage"in c&&l(7,n=c.vendorimage),"vendortitle"in c&&l(8,m=c.vendortitle),"helperlinkurl"in c&&l(9,_=c.helperlinkurl),"helperlinkimage"in c&&l(10,S=c.helperlinkimage),"helperlinktitle"in c&&l(11,q=c.helperlinktitle),"licenseurl"in c&&l(12,b=c.licenseurl),"licenseimage"in c&&l(13,T=c.licenseimage),"licensetitle"in c&&l(14,H=c.licensetitle),"sociallinkurl"in c&&l(15,L=c.sociallinkurl),"sociallinkimage"in c&&l(16,P=c.sociallinkimage),"sociallinktitle"in c&&l(17,C=c.sociallinktitle),"target"in c&&l(18,p=c.target),"linktype"in c&&l(19,g=c.linktype),"displaycolumn"in c&&l(20,M=c.displaycolumn),"baseurl"in c&&l(21,y=c.baseurl),"lang"in c&&l(22,D=c.lang),"clientstyling"in c&&l(26,F=c.clientstyling),"clientstylingurl"in c&&l(27,I=c.clientstylingurl)},i.$$.update=()=>{i.$$.dirty[0]&75497472&&F&&h&&Q(),i.$$.dirty[0]&142606336&&I&&h&&W()},[r,a,o,f,k,u,s,n,m,_,S,q,b,T,H,L,P,C,p,g,M,y,D,h,K,d,F,I,X,Y,Z,$,x,ee,te]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,de,he,e.safe_not_equal,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:26,clientstylingurl:27},le,[-1,-1])}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(t){this.$$set({sponsorurl:t}),e.flush()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(t){this.$$set({sponsorimage:t}),e.flush()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(t){this.$$set({sponsortitle:t}),e.flush()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(t){this.$$set({paymenturl:t}),e.flush()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(t){this.$$set({paymentimage:t}),e.flush()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(t){this.$$set({paymenttitle:t}),e.flush()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(t){this.$$set({vendorurl:t}),e.flush()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(t){this.$$set({vendorimage:t}),e.flush()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(t){this.$$set({vendortitle:t}),e.flush()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(t){this.$$set({helperlinkurl:t}),e.flush()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(t){this.$$set({helperlinkimage:t}),e.flush()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(t){this.$$set({helperlinktitle:t}),e.flush()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(t){this.$$set({licenseurl:t}),e.flush()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(t){this.$$set({licenseimage:t}),e.flush()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(t){this.$$set({licensetitle:t}),e.flush()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(t){this.$$set({sociallinkurl:t}),e.flush()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(t){this.$$set({sociallinkimage:t}),e.flush()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(t){this.$$set({sociallinktitle:t}),e.flush()}get target(){return this.$$.ctx[18]}set target(t){this.$$set({target:t}),e.flush()}get linktype(){return this.$$.ctx[19]}set linktype(t){this.$$set({linktype:t}),e.flush()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(t){this.$$set({displaycolumn:t}),e.flush()}get baseurl(){return this.$$.ctx[21]}set baseurl(t){this.$$set({baseurl:t}),e.flush()}get lang(){return this.$$.ctx[22]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(B,{sponsorurl:{},sponsorimage:{},sponsortitle:{},paymenturl:{},paymentimage:{},paymenttitle:{},vendorurl:{},vendorimage:{},vendortitle:{},helperlinkurl:{},helperlinkimage:{},helperlinktitle:{},licenseurl:{},licenseimage:{},licensetitle:{},sociallinkurl:{},sociallinkimage:{},sociallinktitle:{},target:{},linktype:{},displaycolumn:{},baseurl:{},lang:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=B;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFooter-swj2W7bn.cjs");function w(r,t){e.addMessages(r,t)}function L(r){e.$locale.set(r)}const k={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 M(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 T(r){let t,o,l,s=(r[0]||r[5]("panicButtonString"))+"",m,c;return{c(){t=e.element("div"),o=e.element("div"),l=e.element("button"),m=e.text(s),e.attr(l,"class","PanicButton "+(e.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")+" svelte-1pdndx7"),e.attr(l,"part","PanicButton "+(e.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")),e.toggle_class(l,"PanicButtonAnimation",r[4]),e.attr(o,"class","PanicSection "+(e.getDevice(r[6])!=="PC"?"PanicSectionMobile":"")+" svelte-1pdndx7"),e.attr(o,"part","PanicSection "+(e.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,l),e.append(l,m),r[11](l),r[12](t)},p(a,[u]){u&33&&s!==(s=(a[0]||a[5]("panicButtonString"))+"")&&e.set_data(m,s),u&16&&e.toggle_class(l,"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 A(r,t,o){let l;e.component_subscribe(r,e.$format,n=>o(5,l=n));let{lang:s="en"}=t,{customtext:m=""}=t,{clientstyling:c=""}=t,{clientstylingurl:a=""}=t,{alternativestyling:u=""}=t,{translationurl:v=""}=t,i,g,f=!1,h=0,x,S=window.navigator.userAgent;const _=()=>{fetch(v).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{w(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(k).forEach(n=>{w(n,k[n])});const z=()=>{i==null||i.addEventListener("mousedown",y,!1),i==null||i.addEventListener("touchstart",y,!1),i==null||i.addEventListener("mouseup",b,!1),i==null||i.addEventListener("touchend",b,!1)},C=()=>{o(4,f=!1),i==null||i.removeEventListener("mousedown",y),i==null||i.removeEventListener("touchstart",y),i==null||i.removeEventListener("mouseup",b),i==null||i.removeEventListener("touchend",b)},y=()=>{h=0,o(4,f=!0),x=setInterval(()=>{h++,h>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(x),typeof gtag=="function"&>ag("event","PanicButtonClicked",{context:"PanicButton"}))},1e3)},b=()=>{o(4,f=!1),clearInterval(x)},B=()=>{let n=document.createElement("style");n.innerHTML=c,g.appendChild(n)},F=()=>{let n=new URL(a),d=document.createElement("style");fetch(n.href).then(p=>p.text()).then(p=>{d.innerHTML=p,setTimeout(()=>{g.appendChild(d)},1)})};e.onMount(()=>()=>{C()});function D(n){e.binding_callbacks[n?"unshift":"push"](()=>{i=n,o(2,i)})}function E(n){e.binding_callbacks[n?"unshift":"push"](()=>{g=n,o(3,g)})}return r.$$set=n=>{"lang"in n&&o(7,s=n.lang),"customtext"in n&&o(0,m=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,v=n.translationurl)},r.$$.update=()=>{r.$$.dirty&4&&i&&z(),r.$$.dirty&128&&s&&L(s),r.$$.dirty&264&&c&&g&&B(),r.$$.dirty&520&&a&&g&&F(),r.$$.dirty&1024&&v&&_()},[m,u,i,g,f,l,S,s,c,a,v,D,E]}class P extends e.SvelteComponent{constructor(t){super(),e.init(this,t,A,T,e.safe_not_equal,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},M)}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(P,{lang:{},customtext:{},clientstyling:{},clientstylingurl:{},alternativestyling:{},translationurl:{}},[],[],!0);exports.default=P;
|