@everymatrix/casino-game-overlay 0.1.0 → 0.1.1
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-D8t8XiWi.js → CasinoMysteryChestDetails-BYi88meV.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as P, S as z, b as X,
|
|
2
|
-
import {
|
|
1
|
+
import { o as P, S as z, b as X, s as N, f as F, d as W, n as Y, e as f, r as _, u as Z, m as g, t as L, g as w, p as r, q as G, l as I, h as d, v as D, w as $, c as ee } from "./CasinoGameOverlay-C4dnNr7X.js";
|
|
2
|
+
import { $ as te, a as ie } from "./CasinoMysteryChestContainer-BKxyLfi6.js";
|
|
3
3
|
function ne(t, e) {
|
|
4
|
-
|
|
4
|
+
ie(t, e);
|
|
5
5
|
}
|
|
6
6
|
function oe(t) {
|
|
7
|
-
|
|
7
|
+
te.set(t);
|
|
8
8
|
}
|
|
9
9
|
const y = (t) => window.postMessage(t, window.location.href), se = (t) => (i) => {
|
|
10
10
|
Object.keys(t).map((o) => {
|
|
@@ -61,7 +61,7 @@ const T = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAADLCAYAAADEDrcOAAA
|
|
|
61
61
|
draw: async (t, e, i) => await ae(H.draw, t, { id: i, session: e, guid: `userid-${i}-${(/* @__PURE__ */ new Date()).getTime()}` })
|
|
62
62
|
};
|
|
63
63
|
function Se(t) {
|
|
64
|
-
|
|
64
|
+
W(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}`);
|
|
65
65
|
}
|
|
66
66
|
function x(t) {
|
|
67
67
|
let e;
|
|
@@ -70,10 +70,10 @@ function x(t) {
|
|
|
70
70
|
e = I("div"), g(e, "class", "additional-chest-glare");
|
|
71
71
|
},
|
|
72
72
|
m(i, o) {
|
|
73
|
-
|
|
73
|
+
w(i, e, o);
|
|
74
74
|
},
|
|
75
75
|
d(i) {
|
|
76
|
-
i &&
|
|
76
|
+
i && f(e);
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
}
|
|
@@ -84,16 +84,16 @@ function Je(t) {
|
|
|
84
84
|
e = I("p"), e.textContent = "You used all the Remaining Keys here", i = d(), o = I("button"), o.textContent = "OK", g(e, "class", "chests-footer__text"), g(o, "class", "chests-footer__btn");
|
|
85
85
|
},
|
|
86
86
|
m(l, S) {
|
|
87
|
-
|
|
87
|
+
w(l, e, S), w(l, i, S), w(l, o, S), s || (c = G(
|
|
88
88
|
o,
|
|
89
89
|
"click",
|
|
90
90
|
/*onBack*/
|
|
91
91
|
t[7]
|
|
92
92
|
), s = !0);
|
|
93
93
|
},
|
|
94
|
-
p:
|
|
94
|
+
p: Y,
|
|
95
95
|
d(l) {
|
|
96
|
-
l && (
|
|
96
|
+
l && (f(e), f(i), f(o)), s = !1, c();
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
}
|
|
@@ -104,11 +104,11 @@ function Ee(t) {
|
|
|
104
104
|
), p, m, k;
|
|
105
105
|
return {
|
|
106
106
|
c() {
|
|
107
|
-
e = I("button"), e.textContent = "Open Chest", i = d(), o = I("p"), s =
|
|
108
|
-
`), c = I("span"), l = I("img"), E = d(), U = I("span"), p =
|
|
107
|
+
e = I("button"), e.textContent = "Open Chest", i = d(), o = I("p"), s = D(`Remaining Keys:
|
|
108
|
+
`), c = I("span"), l = I("img"), E = d(), U = I("span"), p = D(a), g(e, "class", "chests-footer__btn"), L(l.src, S = re) || g(l, "src", S), g(l, "alt", "Key"), g(c, "class", "chests-footer__keys"), g(o, "class", "chests-footer__text");
|
|
109
109
|
},
|
|
110
110
|
m(h, Q) {
|
|
111
|
-
|
|
111
|
+
w(h, e, Q), w(h, i, Q), w(h, o, Q), r(o, s), r(o, c), r(c, l), r(c, E), r(c, U), r(U, p), m || (k = G(
|
|
112
112
|
e,
|
|
113
113
|
"click",
|
|
114
114
|
/*openChest*/
|
|
@@ -121,7 +121,7 @@ function Ee(t) {
|
|
|
121
121
|
h[0].current.remainingTimes + "") && Z(p, a);
|
|
122
122
|
},
|
|
123
123
|
d(h) {
|
|
124
|
-
h && (
|
|
124
|
+
h && (f(e), f(i), f(o)), m = !1, k();
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
}
|
|
@@ -146,13 +146,13 @@ function pe(t) {
|
|
|
146
146
|
let M = b(t), R = M(t);
|
|
147
147
|
return {
|
|
148
148
|
c() {
|
|
149
|
-
e = I("div"), i = I("button"), o = d(), s = I("div"), c = I("div"), l = I("button"), S = d(), E = I("div"), a =
|
|
149
|
+
e = I("div"), i = I("button"), o = d(), s = I("div"), c = I("div"), l = I("button"), S = d(), E = I("div"), a = D(U), p = d(), m = I("button"), k = d(), h = I("div"), A && A.c(), Q = d(), K = I("img"), v = d(), u = I("div"), R.c(), g(i, "class", "overlay"), g(l, "class", "icon-button back"), g(E, "class", "chests-header__title"), g(m, "class", "icon-button close"), g(c, "class", "chests-header"), g(K, "class", B = "chest-icon " + /*activeChest*/
|
|
150
150
|
(t[0].current.remainingTimes ? "" : "empty")), L(K.src, V = /*chestImg*/
|
|
151
151
|
t[4]) || g(K, "src", V), g(K, "alt", "Mystery chest"), g(h, "class", "chest-icon__container"), g(u, "class", "chests-footer"), g(s, "class", j = "drawer " + /*mobileView*/
|
|
152
152
|
(t[1] ? "mobile" : "")), g(e, "part", "CustomStylingContainer");
|
|
153
153
|
},
|
|
154
154
|
m(J, q) {
|
|
155
|
-
|
|
155
|
+
w(J, e, q), r(e, i), r(e, o), r(e, s), r(s, c), r(c, l), r(c, S), r(c, E), r(E, a), r(c, p), r(c, m), r(s, k), r(s, h), A && A.m(h, null), r(h, Q), r(h, K), r(s, v), r(s, u), R.m(u, null), t[14](e), n || (C = [
|
|
156
156
|
G(
|
|
157
157
|
i,
|
|
158
158
|
"click",
|
|
@@ -189,10 +189,10 @@ function pe(t) {
|
|
|
189
189
|
2 && j !== (j = "drawer " + /*mobileView*/
|
|
190
190
|
(J[1] ? "mobile" : "")) && g(s, "class", j);
|
|
191
191
|
},
|
|
192
|
-
i:
|
|
193
|
-
o:
|
|
192
|
+
i: Y,
|
|
193
|
+
o: Y,
|
|
194
194
|
d(J) {
|
|
195
|
-
J &&
|
|
195
|
+
J && f(e), A && A.d(), R.d(), t[14](null), n = !1, _(C);
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
}
|
|
@@ -242,7 +242,7 @@ function Ce(t, e, i) {
|
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
244
|
function j(n) {
|
|
245
|
-
|
|
245
|
+
$[n ? "unshift" : "push"](() => {
|
|
246
246
|
p = n, i(3, p);
|
|
247
247
|
});
|
|
248
248
|
}
|
|
@@ -279,7 +279,7 @@ class Ue extends z {
|
|
|
279
279
|
e,
|
|
280
280
|
Ce,
|
|
281
281
|
pe,
|
|
282
|
-
|
|
282
|
+
N,
|
|
283
283
|
{
|
|
284
284
|
mobileView: 1,
|
|
285
285
|
lang: 2,
|
|
@@ -342,7 +342,7 @@ class Ue extends z {
|
|
|
342
342
|
this.$$set({ activeChest: e }), F();
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
|
|
345
|
+
ee(Ue, { mobileView: { type: "Boolean" }, lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activeChest: {} }, [], [], !0);
|
|
346
346
|
export {
|
|
347
347
|
Ue as default
|
|
348
348
|
};
|