@everymatrix/casino-game-overlay 0.1.0 → 0.1.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/{CasinoGameOverlay-BpdmAKza.js → CasinoGameOverlay-C4dnNr7X.js} +17 -17
- package/components/{CasinoGameOverlay-BAErIOzd.js → CasinoGameOverlay-CI97A6FH.js} +19 -19
- package/components/{CasinoGameOverlay-BOdWsFOn.cjs → CasinoGameOverlay-CpayYY5d.cjs} +1 -1
- package/components/{CasinoMysteryChestContainer-BDHlGZ64.js → CasinoMysteryChestContainer-BKxyLfi6.js} +638 -617
- package/components/CasinoMysteryChestContainer-CnhgAwc1.cjs +18 -0
- package/components/{CasinoMysteryChestContainer-3q123vaa.js → CasinoMysteryChestContainer-ie3IimgG.js} +645 -624
- package/components/{CasinoMysteryChestDetails-D8t8XiWi.js → CasinoMysteryChestDetails-BYi88meV.js} +22 -22
- package/components/{CasinoMysteryChestDetails-TUNgJ9dn.cjs → CasinoMysteryChestDetails-DExAkfr5.cjs} +1 -1
- package/components/{CasinoMysteryChestDetails-BVPA8j9h.js → CasinoMysteryChestDetails-y20lcl1Y.js} +22 -22
- package/components/{CasinoMysteryChestModal-CK-JaJrH.cjs → CasinoMysteryChestModal-Bc9nYrkO.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-BOx55DO1.js → CasinoMysteryChestModal-CThwjazR.js} +16 -16
- package/components/{CasinoMysteryChestModal-_CqdTxrw.js → CasinoMysteryChestModal-CgFYiADm.js} +19 -19
- package/components/{CasinoMysteryChestsList-DQcdxCyH.js → CasinoMysteryChestsList-D4nv6Qro.js} +46 -48
- package/components/{CasinoMysteryChestsList-LdeKeFiw.js → CasinoMysteryChestsList-Dn1DBkjb.js} +46 -48
- package/components/CasinoMysteryChestsList-Dzle6HVD.cjs +3 -0
- package/components/{GeneralAnimationLoading-DrDRu9wb.js → GeneralAnimationLoading-CX8txAO6.js} +16 -16
- package/components/{GeneralAnimationLoading-CQYHpI1r.cjs → GeneralAnimationLoading-DLdLHkNj.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BlugCuwI.js → GeneralAnimationLoading-MQ4rrqNs.js} +14 -14
- package/es2015/casino-game-overlay.cjs +1 -1
- package/es2015/casino-game-overlay.js +1 -1
- package/esnext/casino-game-overlay.js +1 -1
- package/package.json +1 -1
- package/components/CasinoMysteryChestContainer-5oFT5DRE.cjs +0 -18
- package/components/CasinoMysteryChestsList-C1v5ZHef.cjs +0 -3
package/components/{CasinoMysteryChestDetails-BVPA8j9h.js → CasinoMysteryChestDetails-y20lcl1Y.js}
RENAMED
|
@@ -35,13 +35,13 @@ var y = (t, e, i) => new Promise((n, o) => {
|
|
|
35
35
|
}, a = (A) => A.done ? n(A.value) : Promise.resolve(A.value).then(c, l);
|
|
36
36
|
a((i = i.apply(t, e)).next());
|
|
37
37
|
});
|
|
38
|
-
import { o as oe, S as se, b as ce,
|
|
39
|
-
import {
|
|
38
|
+
import { o as oe, S as se, b as ce, s as le, f as F, c as ge, n as H, d as f, r as re, u as ee, l as r, q as b, e as w, m as I, p as O, k as h, g as d, v as T, w as Ae, t as Ie } from "./CasinoGameOverlay-CI97A6FH.js";
|
|
39
|
+
import { $ as ae, a as he } from "./CasinoMysteryChestContainer-ie3IimgG.js";
|
|
40
40
|
function Se(t, e) {
|
|
41
|
-
|
|
41
|
+
he(t, e);
|
|
42
42
|
}
|
|
43
43
|
function Je(t) {
|
|
44
|
-
|
|
44
|
+
ae.set(t);
|
|
45
45
|
}
|
|
46
46
|
const G = (t) => window.postMessage(t, window.location.href), Ee = (t) => (i) => {
|
|
47
47
|
Object.keys(t).map((n) => {
|
|
@@ -98,7 +98,7 @@ const _ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAADLCAYAAADEDrcOAAA
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
function de(t) {
|
|
101
|
-
|
|
101
|
+
ge(t, "svelte-mbyvg4", `.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .icon-button{width:24px;height:24px}.mobile .chests-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .chest-icon{width:initial;height:initial}.mobile .chest-icon__container{flex-grow:1;padding:0}.mobile .chests-footer{gap:10px}.mobile .chests-footer__btn{width:170px;height:48px;font-size:var(--emw--font-size-medium, 16px)}.mobile .chests-footer__text{font-size:var(--emw--font-size-x-small, 12px);line-height:14px}.mobile .chests-footer__keys{font-size:var(--emw--font-size-small, 14px);line-height:16px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:10;transition:bottom 0.5s ease-in-out;bottom:0px;opacity:1;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;display:flex;flex-direction:column}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;opacity:0;bottom:0px;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.back{background:center/100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M10.3579 5.26604C10.0032 4.91132 9.42806 4.91132 9.07334 5.26604L5.26604 9.07334C4.91132 9.42806 4.91132 10.0032 5.26604 10.3579L9.07334 14.1652C9.42806 14.5199 10.0032 14.5199 10.3579 14.1652C10.7126 13.8105 10.7126 13.2354 10.3579 12.8806L8.10118 10.6239H10.7817C12.0761 10.6239 12.9922 10.6246 13.7085 10.6832C14.4142 10.7408 14.8455 10.85 15.1847 11.0229C15.8735 11.3738 16.4335 11.9338 16.7844 12.6226C16.9573 12.9618 17.0665 13.3931 17.1241 14.0989C17.1827 14.8151 17.1834 15.7312 17.1834 17.0256V18.0917C17.1834 18.5933 17.59 19 18.0917 19C18.5933 19 19 18.5933 19 18.0917V16.9854C19 15.74 19 14.7498 18.9347 13.9509C18.8679 13.1329 18.7281 12.4359 18.403 11.7978C17.8779 10.7673 17.04 9.92938 16.0095 9.40427C15.3714 9.07918 14.6744 8.9394 13.8564 8.87257C13.0575 8.80729 12.0673 8.8073 10.8219 8.8073H8.10118L10.3579 6.55059C10.7126 6.19587 10.7126 5.62076 10.3579 5.26604Z" fill="%23729787"/></svg>') no-repeat}.icon-button.close{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.chests-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.chests-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.additional-chest-glare{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-40deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(50px);mix-blend-mode:hard-light;width:325px;height:325px;border-radius:40px}.chest-icon{position:relative;z-index:1;width:265px}.chest-icon__container{position:relative;padding:100px 0;align-self:center;align-content:center}.chest-icon__container::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-15deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);mix-blend-mode:hard-light;width:225px;height:225px;border-radius:40px;pointer-events:none}.chest-icon.empty{filter:grayscale(100%)}.chests-footer{display:flex;flex-direction:column;gap:20px;align-items:center;padding:32px 0}.chests-footer__btn{cursor:pointer;width:280px;height:60px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c)}.chests-footer__text{margin:0;font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center;color:var(--emw--color-primary, #d3ffed);display:flex;align-items:center;gap:8px}.chests-footer__keys{display:flex;align-items:center;gap:3px;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center}`);
|
|
102
102
|
}
|
|
103
103
|
function $(t) {
|
|
104
104
|
let e;
|
|
@@ -107,10 +107,10 @@ function $(t) {
|
|
|
107
107
|
e = h("div"), r(e, "class", "additional-chest-glare");
|
|
108
108
|
},
|
|
109
109
|
m(i, n) {
|
|
110
|
-
|
|
110
|
+
w(i, e, n);
|
|
111
111
|
},
|
|
112
112
|
d(i) {
|
|
113
|
-
i &&
|
|
113
|
+
i && f(e);
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
}
|
|
@@ -121,16 +121,16 @@ function qe(t) {
|
|
|
121
121
|
e = h("p"), e.textContent = "You used all the Remaining Keys here", i = d(), n = h("button"), n.textContent = "OK", r(e, "class", "chests-footer__text"), r(n, "class", "chests-footer__btn");
|
|
122
122
|
},
|
|
123
123
|
m(l, a) {
|
|
124
|
-
|
|
124
|
+
w(l, e, a), w(l, i, a), w(l, n, a), o || (c = O(
|
|
125
125
|
n,
|
|
126
126
|
"click",
|
|
127
127
|
/*onBack*/
|
|
128
128
|
t[7]
|
|
129
129
|
), o = !0);
|
|
130
130
|
},
|
|
131
|
-
p:
|
|
131
|
+
p: H,
|
|
132
132
|
d(l) {
|
|
133
|
-
l && (
|
|
133
|
+
l && (f(e), f(i), f(n)), o = !1, c();
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
}
|
|
@@ -141,11 +141,11 @@ function Fe(t) {
|
|
|
141
141
|
), C, U, k;
|
|
142
142
|
return {
|
|
143
143
|
c() {
|
|
144
|
-
e = h("button"), e.textContent = "Open Chest", i = d(), n = h("p"), o =
|
|
145
|
-
`), c = h("span"), l = h("img"), A = d(), S = h("span"), C =
|
|
144
|
+
e = h("button"), e.textContent = "Open Chest", i = d(), n = h("p"), o = T(`Remaining Keys:
|
|
145
|
+
`), c = h("span"), l = h("img"), A = d(), S = h("span"), C = T(J), r(e, "class", "chests-footer__btn"), b(l.src, a = me) || r(l, "src", a), r(l, "alt", "Key"), r(c, "class", "chests-footer__keys"), r(n, "class", "chests-footer__text");
|
|
146
146
|
},
|
|
147
147
|
m(E, Q) {
|
|
148
|
-
|
|
148
|
+
w(E, e, Q), w(E, i, Q), w(E, n, Q), I(n, o), I(n, c), I(c, l), I(c, A), I(c, S), I(S, C), U || (k = O(
|
|
149
149
|
e,
|
|
150
150
|
"click",
|
|
151
151
|
/*openChest*/
|
|
@@ -158,7 +158,7 @@ function Fe(t) {
|
|
|
158
158
|
E[0].current.remainingTimes + "") && ee(C, J);
|
|
159
159
|
},
|
|
160
160
|
d(E) {
|
|
161
|
-
E && (
|
|
161
|
+
E && (f(e), f(i), f(n)), U = !1, k();
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
}
|
|
@@ -183,13 +183,13 @@ function fe(t) {
|
|
|
183
183
|
let Y = Z(t), R = Y(t);
|
|
184
184
|
return {
|
|
185
185
|
c() {
|
|
186
|
-
e = h("div"), i = h("button"), n = d(), o = h("div"), c = h("div"), l = h("button"), a = d(), A = h("div"), J =
|
|
186
|
+
e = h("div"), i = h("button"), n = d(), o = h("div"), c = h("div"), l = h("button"), a = d(), A = h("div"), J = T(S), C = d(), U = h("button"), k = d(), E = h("div"), g && g.c(), Q = d(), K = h("img"), M = d(), u = h("div"), R.c(), r(i, "class", "overlay"), r(l, "class", "icon-button back"), r(A, "class", "chests-header__title"), r(U, "class", "icon-button close"), r(c, "class", "chests-header"), r(K, "class", B = "chest-icon " + /*activeChest*/
|
|
187
187
|
(t[0].current.remainingTimes ? "" : "empty")), b(K.src, V = /*chestImg*/
|
|
188
188
|
t[4]) || r(K, "src", V), r(K, "alt", "Mystery chest"), r(E, "class", "chest-icon__container"), r(u, "class", "chests-footer"), r(o, "class", j = "drawer " + /*mobileView*/
|
|
189
189
|
(t[1] ? "mobile" : "")), r(e, "part", "CustomStylingContainer");
|
|
190
190
|
},
|
|
191
191
|
m(p, q) {
|
|
192
|
-
|
|
192
|
+
w(p, e, q), I(e, i), I(e, n), I(e, o), I(o, c), I(c, l), I(c, a), I(c, A), I(A, J), I(c, C), I(c, U), I(o, k), I(o, E), g && g.m(E, null), I(E, Q), I(E, K), I(o, M), I(o, u), R.m(u, null), t[14](e), s || (m = [
|
|
193
193
|
O(
|
|
194
194
|
i,
|
|
195
195
|
"click",
|
|
@@ -226,10 +226,10 @@ function fe(t) {
|
|
|
226
226
|
2 && j !== (j = "drawer " + /*mobileView*/
|
|
227
227
|
(p[1] ? "mobile" : "")) && r(o, "class", j);
|
|
228
228
|
},
|
|
229
|
-
i:
|
|
230
|
-
o:
|
|
229
|
+
i: H,
|
|
230
|
+
o: H,
|
|
231
231
|
d(p) {
|
|
232
|
-
p &&
|
|
232
|
+
p && f(e), g && g.d(), R.d(), t[14](null), s = !1, re(m);
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
@@ -280,7 +280,7 @@ function we(t, e, i) {
|
|
|
280
280
|
}
|
|
281
281
|
});
|
|
282
282
|
function j(s) {
|
|
283
|
-
|
|
283
|
+
Ae[s ? "unshift" : "push"](() => {
|
|
284
284
|
C = s, i(3, C);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
@@ -317,7 +317,7 @@ class ue extends se {
|
|
|
317
317
|
e,
|
|
318
318
|
we,
|
|
319
319
|
fe,
|
|
320
|
-
|
|
320
|
+
le,
|
|
321
321
|
{
|
|
322
322
|
mobileView: 1,
|
|
323
323
|
lang: 2,
|
|
@@ -380,7 +380,7 @@ class ue extends se {
|
|
|
380
380
|
this.$$set({ activeChest: e }), F();
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
|
|
383
|
+
Ie(ue, { mobileView: { type: "Boolean" }, lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activeChest: {} }, [], [], !0);
|
|
384
384
|
export {
|
|
385
385
|
ue as default
|
|
386
386
|
};
|
package/components/{CasinoMysteryChestModal-CK-JaJrH.cjs → CasinoMysteryChestModal-Bc9nYrkO.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameOverlay-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameOverlay-CpayYY5d.cjs"),j=i=>window.postMessage(i,window.location.href);function B(i){e.append_styles(i,"svelte-286imq",".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}")}function G(i){let t,n,l,d,c,a,g,k,_,m=i[0].title+"",x,V,r,f=i[0].message+"",w,q,M,I,v,b=i[0].bold+"",z,S,p,h=i[0].btn+"",y,u,C,D;return{c(){t=e.element("div"),n=e.element("div"),l=e.element("div"),d=e.element("div"),c=e.space(),a=e.element("img"),k=e.space(),_=e.element("h2"),x=e.text(m),V=e.space(),r=e.element("p"),w=e.text(f),q=e.space(),M=e.element("br"),I=e.space(),v=e.element("b"),z=e.text(b),S=e.space(),p=e.element("button"),y=e.text(h),e.attr(d,"class","dialog__content__coin-glare"),e.attr(a,"class","dialog__content__icon"),e.src_url_equal(a.src,g=i[0].img)||e.attr(a,"src",g),e.attr(a,"alt",""),e.attr(l,"class","dialog__content__icon-container"),e.attr(_,"class","dialog__content__title"),e.attr(r,"class","dialog__content__message"),e.attr(p,"class","dialog__content__btn"),e.attr(n,"class","dialog__content"),e.attr(t,"class",u="dialog "+(i[1]?"mobile":""))},m(o,s){e.insert(o,t,s),e.append(t,n),e.append(n,l),e.append(l,d),e.append(l,c),e.append(l,a),e.append(n,k),e.append(n,_),e.append(_,x),e.append(n,V),e.append(n,r),e.append(r,w),e.append(r,q),e.append(r,M),e.append(r,I),e.append(r,v),e.append(v,z),e.append(n,S),e.append(n,p),e.append(p,y),C||(D=e.listen(p,"click",i[2]),C=!0)},p(o,[s]){s&1&&!e.src_url_equal(a.src,g=o[0].img)&&e.attr(a,"src",g),s&1&&m!==(m=o[0].title+"")&&e.set_data(x,m),s&1&&f!==(f=o[0].message+"")&&e.set_data(w,f),s&1&&b!==(b=o[0].bold+"")&&e.set_data(z,b),s&1&&h!==(h=o[0].btn+"")&&e.set_data(y,h),s&2&&u!==(u="dialog "+(o[1]?"mobile":""))&&e.attr(t,"class",u)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),C=!1,D()}}}function H(i,t,n){let{dialogContent:l}=t,{mobileView:d=!1}=t;const c=()=>{j({type:"HideDialog"})};return i.$$set=a=>{"dialogContent"in a&&n(0,l=a.dialogContent),"mobileView"in a&&n(1,d=a.mobileView)},[l,d,c]}class O extends e.SvelteComponent{constructor(t){super(),e.init(this,t,H,G,e.safe_not_equal,{dialogContent:0,mobileView:1},B)}get dialogContent(){return this.$$.ctx[0]}set dialogContent(t){this.$$set({dialogContent:t}),e.flush()}get mobileView(){return this.$$.ctx[1]}set mobileView(t){this.$$set({mobileView:t}),e.flush()}}e.create_custom_element(O,{dialogContent:{},mobileView:{type:"Boolean"}},[],[],!0);exports.default=O;
|
package/components/{CasinoMysteryChestModal-BOx55DO1.js → CasinoMysteryChestModal-CThwjazR.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as J, b as K, f as E,
|
|
1
|
+
import { S as J, b as K, s as L, f as E, d as N, n as F, e as O, t as G, m as a, u as z, g as P, p as e, q as Q, l as s, h as c, v as y, c as R } from "./CasinoGameOverlay-C4dnNr7X.js";
|
|
2
2
|
const T = (i) => window.postMessage(i, window.location.href);
|
|
3
3
|
function U(i) {
|
|
4
|
-
|
|
4
|
+
N(i, "svelte-286imq", ".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}");
|
|
5
5
|
}
|
|
6
6
|
function W(i) {
|
|
7
7
|
let t, o, r, _, p, n, f, D, h, b = (
|
|
@@ -10,21 +10,21 @@ function W(i) {
|
|
|
10
10
|
), C, S, d, u = (
|
|
11
11
|
/*dialogContent*/
|
|
12
12
|
i[0].message + ""
|
|
13
|
-
), k,
|
|
13
|
+
), k, B, H, X, V, x = (
|
|
14
14
|
/*dialogContent*/
|
|
15
15
|
i[0].bold + ""
|
|
16
|
-
), q,
|
|
16
|
+
), q, j, m, w = (
|
|
17
17
|
/*dialogContent*/
|
|
18
18
|
i[0].btn + ""
|
|
19
19
|
), M, v, I, A;
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), h = s("h2"), C =
|
|
22
|
+
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), h = s("h2"), C = y(b), S = c(), d = s("p"), k = y(u), B = c(), H = s("br"), X = c(), V = s("b"), q = y(x), j = c(), m = s("button"), M = y(w), a(_, "class", "dialog__content__coin-glare"), a(n, "class", "dialog__content__icon"), G(n.src, f = /*dialogContent*/
|
|
23
23
|
i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(h, "class", "dialog__content__title"), a(d, "class", "dialog__content__message"), a(m, "class", "dialog__content__btn"), a(o, "class", "dialog__content"), a(t, "class", v = "dialog " + /*mobileView*/
|
|
24
24
|
(i[1] ? "mobile" : ""));
|
|
25
25
|
},
|
|
26
26
|
m(l, g) {
|
|
27
|
-
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, h), e(h, C), e(o, S), e(o, d), e(d, k), e(d,
|
|
27
|
+
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, h), e(h, C), e(o, S), e(o, d), e(d, k), e(d, B), e(d, H), e(d, X), e(d, V), e(V, q), e(o, j), e(o, m), e(m, M), I || (A = Q(
|
|
28
28
|
m,
|
|
29
29
|
"click",
|
|
30
30
|
/*hideDialog*/
|
|
@@ -33,23 +33,23 @@ function W(i) {
|
|
|
33
33
|
},
|
|
34
34
|
p(l, [g]) {
|
|
35
35
|
g & /*dialogContent*/
|
|
36
|
-
1 && !
|
|
36
|
+
1 && !G(n.src, f = /*dialogContent*/
|
|
37
37
|
l[0].img) && a(n, "src", f), g & /*dialogContent*/
|
|
38
38
|
1 && b !== (b = /*dialogContent*/
|
|
39
|
-
l[0].title + "") &&
|
|
39
|
+
l[0].title + "") && z(C, b), g & /*dialogContent*/
|
|
40
40
|
1 && u !== (u = /*dialogContent*/
|
|
41
|
-
l[0].message + "") &&
|
|
41
|
+
l[0].message + "") && z(k, u), g & /*dialogContent*/
|
|
42
42
|
1 && x !== (x = /*dialogContent*/
|
|
43
|
-
l[0].bold + "") &&
|
|
43
|
+
l[0].bold + "") && z(q, x), g & /*dialogContent*/
|
|
44
44
|
1 && w !== (w = /*dialogContent*/
|
|
45
|
-
l[0].btn + "") &&
|
|
45
|
+
l[0].btn + "") && z(M, w), g & /*mobileView*/
|
|
46
46
|
2 && v !== (v = "dialog " + /*mobileView*/
|
|
47
47
|
(l[1] ? "mobile" : "")) && a(t, "class", v);
|
|
48
48
|
},
|
|
49
|
-
i:
|
|
50
|
-
o:
|
|
49
|
+
i: F,
|
|
50
|
+
o: F,
|
|
51
51
|
d(l) {
|
|
52
|
-
l &&
|
|
52
|
+
l && O(t), I = !1, A();
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -64,7 +64,7 @@ function Y(i, t, o) {
|
|
|
64
64
|
}
|
|
65
65
|
class Z extends J {
|
|
66
66
|
constructor(t) {
|
|
67
|
-
super(), K(this, t, Y, W,
|
|
67
|
+
super(), K(this, t, Y, W, L, { dialogContent: 0, mobileView: 1 }, U);
|
|
68
68
|
}
|
|
69
69
|
get dialogContent() {
|
|
70
70
|
return this.$$.ctx[0];
|
|
@@ -79,7 +79,7 @@ class Z extends J {
|
|
|
79
79
|
this.$$set({ mobileView: t }), E();
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
R(Z, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
|
|
83
83
|
export {
|
|
84
84
|
Z as default
|
|
85
85
|
};
|
package/components/{CasinoMysteryChestModal-_CqdTxrw.js → CasinoMysteryChestModal-CgFYiADm.js}
RENAMED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { S as J, b as K, f as E, c as
|
|
1
|
+
import { S as J, b as K, s as L, f as E, c as N, n as F, d as O, q as G, l as a, u as z, e as P, m as e, p as Q, k as s, g as c, v as y, t as R } from "./CasinoGameOverlay-CI97A6FH.js";
|
|
2
2
|
const T = (i) => window.postMessage(i, window.location.href);
|
|
3
3
|
function U(i) {
|
|
4
|
-
|
|
4
|
+
N(i, "svelte-286imq", ".dialog{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}.dialog__content{display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.dialog__content__icon-container{position:relative}.dialog__content__icon{position:relative;width:127px;height:127px}.dialog__content__coin-glare{width:105px;height:105px;border-radius:40px;background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);position:absolute;z-index:0;top:50%;left:50%;right:0;transform:translate(-50%, -50%)}.dialog__content__title{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.dialog__content__message{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.dialog__content__btn{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .dialog__content{gap:22px}.mobile .dialog__content__icon{width:initial;height:initial}.mobile .dialog__content__coin-glare{height:65px;width:65px}.mobile .dialog__content__title{font-size:var(--emw--font-size-2x-large, 32px);line-height:36px}.mobile .dialog__content__message{font-size:var(--emw--font-size-medium, 16px);line-height:24px;max-width:240px}.mobile .dialog__content__btn{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}");
|
|
5
5
|
}
|
|
6
6
|
function W(i) {
|
|
7
|
-
let t, o, r, _, p, n, f, D,
|
|
7
|
+
let t, o, r, _, p, n, f, D, b, h = (
|
|
8
8
|
/*dialogContent*/
|
|
9
9
|
i[0].title + ""
|
|
10
10
|
), C, S, d, u = (
|
|
11
11
|
/*dialogContent*/
|
|
12
12
|
i[0].message + ""
|
|
13
|
-
), k,
|
|
13
|
+
), k, B, H, X, V, x = (
|
|
14
14
|
/*dialogContent*/
|
|
15
15
|
i[0].bold + ""
|
|
16
|
-
), q,
|
|
16
|
+
), q, j, m, w = (
|
|
17
17
|
/*dialogContent*/
|
|
18
18
|
i[0].btn + ""
|
|
19
19
|
), M, v, I, A;
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(),
|
|
23
|
-
i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(
|
|
22
|
+
t = s("div"), o = s("div"), r = s("div"), _ = s("div"), p = c(), n = s("img"), D = c(), b = s("h2"), C = y(h), S = c(), d = s("p"), k = y(u), B = c(), H = s("br"), X = c(), V = s("b"), q = y(x), j = c(), m = s("button"), M = y(w), a(_, "class", "dialog__content__coin-glare"), a(n, "class", "dialog__content__icon"), G(n.src, f = /*dialogContent*/
|
|
23
|
+
i[0].img) || a(n, "src", f), a(n, "alt", ""), a(r, "class", "dialog__content__icon-container"), a(b, "class", "dialog__content__title"), a(d, "class", "dialog__content__message"), a(m, "class", "dialog__content__btn"), a(o, "class", "dialog__content"), a(t, "class", v = "dialog " + /*mobileView*/
|
|
24
24
|
(i[1] ? "mobile" : ""));
|
|
25
25
|
},
|
|
26
26
|
m(l, g) {
|
|
27
|
-
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o,
|
|
27
|
+
P(l, t, g), e(t, o), e(o, r), e(r, _), e(r, p), e(r, n), e(o, D), e(o, b), e(b, C), e(o, S), e(o, d), e(d, k), e(d, B), e(d, H), e(d, X), e(d, V), e(V, q), e(o, j), e(o, m), e(m, M), I || (A = Q(
|
|
28
28
|
m,
|
|
29
29
|
"click",
|
|
30
30
|
/*hideDialog*/
|
|
@@ -33,23 +33,23 @@ function W(i) {
|
|
|
33
33
|
},
|
|
34
34
|
p(l, [g]) {
|
|
35
35
|
g & /*dialogContent*/
|
|
36
|
-
1 && !
|
|
36
|
+
1 && !G(n.src, f = /*dialogContent*/
|
|
37
37
|
l[0].img) && a(n, "src", f), g & /*dialogContent*/
|
|
38
|
-
1 &&
|
|
39
|
-
l[0].title + "") &&
|
|
38
|
+
1 && h !== (h = /*dialogContent*/
|
|
39
|
+
l[0].title + "") && z(C, h), g & /*dialogContent*/
|
|
40
40
|
1 && u !== (u = /*dialogContent*/
|
|
41
|
-
l[0].message + "") &&
|
|
41
|
+
l[0].message + "") && z(k, u), g & /*dialogContent*/
|
|
42
42
|
1 && x !== (x = /*dialogContent*/
|
|
43
|
-
l[0].bold + "") &&
|
|
43
|
+
l[0].bold + "") && z(q, x), g & /*dialogContent*/
|
|
44
44
|
1 && w !== (w = /*dialogContent*/
|
|
45
|
-
l[0].btn + "") &&
|
|
45
|
+
l[0].btn + "") && z(M, w), g & /*mobileView*/
|
|
46
46
|
2 && v !== (v = "dialog " + /*mobileView*/
|
|
47
47
|
(l[1] ? "mobile" : "")) && a(t, "class", v);
|
|
48
48
|
},
|
|
49
|
-
i:
|
|
50
|
-
o:
|
|
49
|
+
i: F,
|
|
50
|
+
o: F,
|
|
51
51
|
d(l) {
|
|
52
|
-
l &&
|
|
52
|
+
l && O(t), I = !1, A();
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -64,7 +64,7 @@ function Y(i, t, o) {
|
|
|
64
64
|
}
|
|
65
65
|
class Z extends J {
|
|
66
66
|
constructor(t) {
|
|
67
|
-
super(), K(this, t, Y, W,
|
|
67
|
+
super(), K(this, t, Y, W, L, { dialogContent: 0, mobileView: 1 }, U);
|
|
68
68
|
}
|
|
69
69
|
get dialogContent() {
|
|
70
70
|
return this.$$.ctx[0];
|
|
@@ -79,7 +79,7 @@ class Z extends J {
|
|
|
79
79
|
this.$$set({ mobileView: t }), E();
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
R(Z, { dialogContent: {}, mobileView: { type: "Boolean" } }, [], [], !0);
|
|
83
83
|
export {
|
|
84
84
|
Z as default
|
|
85
85
|
};
|