@everymatrix/mini-games-hub 0.2.8 → 0.2.10
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/ArrowLeftIcon--eD-7fsx.cjs +1 -0
- package/components/ArrowLeftIcon-Bfs5TaL6.js +20 -0
- package/components/ArrowLeftIcon-D98iyiSl.js +20 -0
- package/components/ArrowLeftIcon-Ypzji-S_.cjs +1 -0
- package/components/{CoinFlip-BOrc1Sgy.cjs → CoinFlip-BI2KQoYz.cjs} +1 -1
- package/components/{CoinFlip-uc2aguuz.js → CoinFlip-BxeM60kP.js} +2 -2
- package/components/{CoinFlip-DgM6tDy5.js → CoinFlip-CIqBL9-4.js} +18 -18
- package/components/{CoinFlip-DiCOvx3Q.cjs → CoinFlip-tTQwMgSv.cjs} +1 -1
- package/components/{CoinRoyale-DLL1bCAy.js → CoinRoyale-AIjHyYRF.js} +120 -116
- package/components/{CoinRoyale-Bkr3Rd-u.cjs → CoinRoyale-B08ETrbd.cjs} +4 -4
- package/components/{CoinRoyale-BH73ZSrU.cjs → CoinRoyale-DqOsokVD.cjs} +4 -4
- package/components/{CoinRoyale-fp-xfwl2.js → CoinRoyale-gjCYpNk5.js} +105 -101
- package/components/{GameCard-D78hDMaL.js → GameCard-BAO-RWT9.js} +36 -36
- package/components/{GameCard-BiO9Cay-.cjs → GameCard-CehoUog_.cjs} +3 -3
- package/components/{GameCard-Qh_fk15-.cjs → GameCard-DfHnwOqs.cjs} +3 -3
- package/components/{GameCard-jCZ6S2Wu.js → GameCard-pddtwXsP.js} +31 -31
- package/components/{MiniGamesHub-Bf2Cd1bB.js → MiniGamesHub-BPYHmhQ0.js} +157 -88
- package/components/{MiniGamesHub-KqAdBJEX.js → MiniGamesHub-CJjxsGLO.js} +138 -69
- package/components/MiniGamesHub-DzY6bqFU.cjs +79 -0
- package/components/MiniGamesHub-rHaCMzIp.cjs +79 -0
- package/components/{WheelOfFortune-CBYo6vCg.js → WheelOfFortune-Bz-AxMjO.js} +20 -20
- package/components/{WheelOfFortune-CDTzbAjp.cjs → WheelOfFortune-C0aA8AWD.cjs} +1 -1
- package/components/{WheelOfFortune-8HCl7aHv.js → WheelOfFortune-CBD1u1Ya.js} +29 -29
- package/components/{WheelOfFortune-XfmUFV3-.cjs → WheelOfFortune-D3EtOxbR.cjs} +1 -1
- package/components/WheelOfFortuneDrawResults-BBd3dkqS.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-D7SxQsQ4.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-Dg54Kewh.js +286 -0
- package/components/WheelOfFortuneDrawResults-XxUjXAw4.js +261 -0
- package/components/WheelOfFortuneHistory-C8xiNova.js +222 -0
- package/components/WheelOfFortuneHistory-KBjh_Fju.cjs +13 -0
- package/components/WheelOfFortuneHistory-QwT2V9EM.cjs +13 -0
- package/components/WheelOfFortuneHistory-txMyUapV.js +223 -0
- package/components/WheelOfFortuneRules-BJENXLzh.cjs +5 -0
- package/components/WheelOfFortuneRules-BtC1z4Di.js +109 -0
- package/components/WheelOfFortuneRules-C3McWywL.js +120 -0
- package/components/WheelOfFortuneRules-YSDAQ18X.cjs +5 -0
- package/components/{WheelOfFortuneWheel-F62aU_CL.js → WheelOfFortuneWheel-B11sYKJn.js} +364 -346
- package/components/{WheelOfFortuneWheel-CiyQZNAd.js → WheelOfFortuneWheel-D1cbM2SU.js} +718 -700
- package/components/WheelOfFortuneWheel-DB0BZCUo.cjs +3 -0
- package/components/WheelOfFortuneWheel-DWAdby4o.cjs +3 -0
- package/components/utils-BqkCy2Rz.cjs +3 -0
- package/components/{utils-3LNftCeZ.js → utils-CzSqbDv1.js} +633 -639
- package/components/{utils-DGrEJJ_K.js → utils-UAFcjwcH.js} +1737 -1745
- package/components/utils-uE8V9ar8.cjs +3 -0
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.cjs +1 -1
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +1 -1
- package/components/MiniGamesHub-5tuj6CDm.cjs +0 -16
- package/components/MiniGamesHub-SxucWl3S.cjs +0 -16
- package/components/WheelOfFortuneDrawResults-CASEqNiM.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-DqgsImHB.js +0 -254
- package/components/WheelOfFortuneDrawResults-DsfJ3803.js +0 -279
- package/components/WheelOfFortuneDrawResults-l8iWZa_e.cjs +0 -1
- package/components/WheelOfFortuneHistory-CF8B0i5m.js +0 -213
- package/components/WheelOfFortuneHistory-Cnk8otCw.js +0 -213
- package/components/WheelOfFortuneHistory-DARohsMs.cjs +0 -12
- package/components/WheelOfFortuneHistory-ld2sGzjI.cjs +0 -12
- package/components/WheelOfFortuneRules-BZqR4cT9.js +0 -118
- package/components/WheelOfFortuneRules-Bv-d_VAp.cjs +0 -3
- package/components/WheelOfFortuneRules-CRGG3J0S.js +0 -107
- package/components/WheelOfFortuneRules-DLj96pqu.cjs +0 -3
- package/components/WheelOfFortuneWheel-CrRAYCB1.cjs +0 -3
- package/components/WheelOfFortuneWheel-DGD-zfeE.cjs +0 -3
- package/components/utils-BxNmJ6YA.cjs +0 -3
- package/components/utils-DyVEmMSf.cjs +0 -3
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { c as it, a as nt, p as B, i as w, l as i, e as n, f as x, s as vt, g as dt, h as C, m as E, j as G, k as H } from "./WheelOfFortuneWheel-B11sYKJn.js";
|
|
2
|
+
import { a5 as pt, ar as u, bi as I, a9 as ct, b3 as ft, aU as J, b6 as s, b7 as v, b5 as b, ba as r, b2 as K, bj as bt, L as g } from "./utils-CzSqbDv1.js";
|
|
3
|
+
var gt = x('<a class="terms-link svelte-1b0ztto" target="_blank" rel="noopener"><span class="svelte-1b0ztto"> </span></a>'), xt = x('<div class="detail-item svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="svelte-1b0ztto"> </span></div></div>'), mt = x('<span class="reward-label svelte-1b0ztto"> </span>'), ut = x('<img class="reward-icon svelte-1b0ztto" alt=""/>'), _t = x('<span class="reward-item svelte-1b0ztto"><!></span>'), zt = x('<div class="rules-content svelte-1b0ztto"><div class="game-description svelte-1b0ztto"> </div> <!> <div class="rules-details svelte-1b0ztto"><div class="detail-item svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="svelte-1b0ztto"> </span></div></div> <!> <div class="detail-item rewards svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="reward-list svelte-1b0ztto"><!></span></div></div></div></div>');
|
|
4
|
+
const ht = {
|
|
5
|
+
hash: "svelte-1b0ztto",
|
|
6
|
+
code: `.svelte-1b0ztto,
|
|
7
|
+
.svelte-1b0ztto::before,
|
|
8
|
+
.svelte-1b0ztto::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.rules-content.svelte-1b0ztto {display:flex;flex-direction:column;gap:16px;width:100%;max-width:700px;margin:0 auto;color:var(--color-text-default, #ffffff);font-family:inherit;}.game-description.svelte-1b0ztto {font-size:12px;color:var(--color-text-default, #ffffff);}.terms-link.svelte-1b0ztto {display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-style:italic;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--color-text-default, #ffffff);cursor:pointer;}.rules-details.svelte-1b0ztto {display:flex;flex-direction:column;gap:12px;}.detail-item.svelte-1b0ztto {display:flex;width:100%;gap:10px;justify-content:space-between;align-items:flex-start;border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));border-radius:6px;padding:8px 12px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-default, #ffffff);}.detail-text.svelte-1b0ztto {display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0;}.detail-text.svelte-1b0ztto strong:where(.svelte-1b0ztto) {font-size:14px;font-weight:700;opacity:0.9;}.detail-text.svelte-1b0ztto > span:where(.svelte-1b0ztto) {font-size:12px;opacity:0.95;font-style:italic;}
|
|
9
|
+
|
|
10
|
+
/* Rewards list */.reward-list.svelte-1b0ztto {display:flex;flex-direction:column;gap:10px;}.reward-item.svelte-1b0ztto {display:flex;align-items:center;gap:10px;}.reward-label.svelte-1b0ztto {font-size:12px;}.reward-icon.svelte-1b0ztto {width:22px;height:22px;object-fit:contain;}`
|
|
11
|
+
};
|
|
12
|
+
function wt(T, y) {
|
|
13
|
+
pt(y, !0), nt(T, ht);
|
|
14
|
+
const m = () => vt(ft, "$_", M), [M, N] = dt(), o = B(y, "program", 7), _ = B(y, "language", 7, "en");
|
|
15
|
+
var Q = {
|
|
16
|
+
get program() {
|
|
17
|
+
return o();
|
|
18
|
+
},
|
|
19
|
+
set program(t) {
|
|
20
|
+
o(t), J();
|
|
21
|
+
},
|
|
22
|
+
get language() {
|
|
23
|
+
return _();
|
|
24
|
+
},
|
|
25
|
+
set language(t = "en") {
|
|
26
|
+
_(t), J();
|
|
27
|
+
}
|
|
28
|
+
}, $ = zt(), U = s($), V = v(U, !0), D = b(U, 2);
|
|
29
|
+
{
|
|
30
|
+
var X = (t) => {
|
|
31
|
+
var e = gt(), d = s(e), p = v(d, !0);
|
|
32
|
+
r(e), u(
|
|
33
|
+
(a) => {
|
|
34
|
+
C(e, "href", o().termsUrl), i(p, a);
|
|
35
|
+
},
|
|
36
|
+
[() => m()("terms")]
|
|
37
|
+
), n(t, e);
|
|
38
|
+
};
|
|
39
|
+
w(D, (t) => {
|
|
40
|
+
o().termsUrl && t(X);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
var F = b(D, 2), k = s(F), L = s(k), W = s(L), Y = v(W, !0), Z = b(W, 2), tt = v(Z);
|
|
44
|
+
r(L), r(k);
|
|
45
|
+
var O = b(k, 2);
|
|
46
|
+
{
|
|
47
|
+
var et = (t) => {
|
|
48
|
+
var e = E(), d = K(e);
|
|
49
|
+
G(d, 17, () => o().periods, H, (p, a) => {
|
|
50
|
+
var c = xt(), z = s(c), h = s(z), j = v(h, !0), l = b(h, 2), f = v(l, !0);
|
|
51
|
+
r(z), r(c), u(
|
|
52
|
+
(R, lt) => {
|
|
53
|
+
i(j, R), i(f, lt);
|
|
54
|
+
},
|
|
55
|
+
[
|
|
56
|
+
() => m()("recurrenceLabel"),
|
|
57
|
+
() => bt(g(a))
|
|
58
|
+
]
|
|
59
|
+
), n(p, c);
|
|
60
|
+
}), n(t, e);
|
|
61
|
+
};
|
|
62
|
+
w(O, (t) => {
|
|
63
|
+
o()?.periods && t(et);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
var P = b(O, 2), S = s(P), q = s(S), at = v(q, !0), A = b(q, 2), st = s(A);
|
|
67
|
+
{
|
|
68
|
+
var rt = (t) => {
|
|
69
|
+
var e = E(), d = K(e);
|
|
70
|
+
G(d, 17, () => o()?.partitions, H, (p, a) => {
|
|
71
|
+
var c = _t(), z = s(c);
|
|
72
|
+
{
|
|
73
|
+
var h = (l) => {
|
|
74
|
+
var f = mt(), R = v(f, !0);
|
|
75
|
+
u(() => i(R, g(a).name["*"] || g(a).name[_()])), n(l, f);
|
|
76
|
+
}, j = (l) => {
|
|
77
|
+
var f = ut();
|
|
78
|
+
u(() => C(f, "src", g(a).image1["*"] || g(a).image1[_()])), n(l, f);
|
|
79
|
+
};
|
|
80
|
+
w(z, (l) => {
|
|
81
|
+
g(a).name["*"] ? l(h) : l(j, -1);
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
r(c), n(p, c);
|
|
85
|
+
}), n(t, e);
|
|
86
|
+
};
|
|
87
|
+
w(st, (t) => {
|
|
88
|
+
o()?.partitions && t(rt);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
r(A), r(S), r(P), r(F), r($), u(
|
|
92
|
+
(t, e, d, p, a) => {
|
|
93
|
+
i(V, t), i(Y, e), i(tt, `${d ?? ""} ~ ${p ?? ""}`), i(at, a);
|
|
94
|
+
},
|
|
95
|
+
[
|
|
96
|
+
() => m()("rulesDescription"),
|
|
97
|
+
() => m()("availablePeriod"),
|
|
98
|
+
() => I(o()?.startTime),
|
|
99
|
+
() => I(o()?.endTime),
|
|
100
|
+
() => m()("topRewards")
|
|
101
|
+
]
|
|
102
|
+
), n(T, $);
|
|
103
|
+
var ot = ct(Q);
|
|
104
|
+
return N(), ot;
|
|
105
|
+
}
|
|
106
|
+
it(wt, { program: {}, language: {} }, [], [], { mode: "open" });
|
|
107
|
+
export {
|
|
108
|
+
wt as W
|
|
109
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { c as it, a as nt, p as C, i as w, k as v, e as d, f as x, s as vt, g as dt, m as E, l as G, h as H, j as I } from "./WheelOfFortuneWheel-D1cbM2SU.js";
|
|
2
|
+
import { a5 as pt, b3 as b, ar as u, bi as J, a9 as ct, b6 as r, b4 as ft, aU as K, b7 as p, ba as o, b2 as M, bj as bt, L as g } from "./utils-UAFcjwcH.js";
|
|
3
|
+
var gt = x('<a class="terms-link svelte-1b0ztto" target="_blank" rel="noopener"><span class="svelte-1b0ztto"> </span></a>'), xt = x('<div class="detail-item svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="svelte-1b0ztto"> </span></div></div>'), mt = x('<span class="reward-label svelte-1b0ztto"> </span>'), ut = x('<img class="reward-icon svelte-1b0ztto" alt=""/>'), _t = x('<span class="reward-item svelte-1b0ztto"><!></span>'), zt = x('<div class="rules-content svelte-1b0ztto"><div class="game-description svelte-1b0ztto"> </div> <!> <div class="rules-details svelte-1b0ztto"><div class="detail-item svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="svelte-1b0ztto"> </span></div></div> <!> <div class="detail-item rewards svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="reward-list svelte-1b0ztto"><!></span></div></div></div></div>');
|
|
4
|
+
const ht = {
|
|
5
|
+
hash: "svelte-1b0ztto",
|
|
6
|
+
code: `.svelte-1b0ztto,
|
|
7
|
+
.svelte-1b0ztto::before,
|
|
8
|
+
.svelte-1b0ztto::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.rules-content.svelte-1b0ztto {display:flex;flex-direction:column;gap:16px;width:100%;max-width:700px;margin:0 auto;color:var(--color-text-default, #ffffff);font-family:inherit;}.game-description.svelte-1b0ztto {font-size:12px;color:var(--color-text-default, #ffffff);}.terms-link.svelte-1b0ztto {display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-style:italic;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--color-text-default, #ffffff);cursor:pointer;}.rules-details.svelte-1b0ztto {display:flex;flex-direction:column;gap:12px;}.detail-item.svelte-1b0ztto {display:flex;width:100%;gap:10px;justify-content:space-between;align-items:flex-start;border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));border-radius:6px;padding:8px 12px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-default, #ffffff);}.detail-text.svelte-1b0ztto {display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0;}.detail-text.svelte-1b0ztto strong:where(.svelte-1b0ztto) {font-size:14px;font-weight:700;opacity:0.9;}.detail-text.svelte-1b0ztto > span:where(.svelte-1b0ztto) {font-size:12px;opacity:0.95;font-style:italic;}
|
|
9
|
+
|
|
10
|
+
/* Rewards list */.reward-list.svelte-1b0ztto {display:flex;flex-direction:column;gap:10px;}.reward-item.svelte-1b0ztto {display:flex;align-items:center;gap:10px;}.reward-label.svelte-1b0ztto {font-size:12px;}.reward-icon.svelte-1b0ztto {width:22px;height:22px;object-fit:contain;}`
|
|
11
|
+
};
|
|
12
|
+
function wt(U, y) {
|
|
13
|
+
pt(y, !0), nt(U, ht);
|
|
14
|
+
const m = () => vt(ft, "$_", N), [N, Q] = dt(), l = C(y, "program", 7), _ = C(y, "language", 7, "en");
|
|
15
|
+
var V = {
|
|
16
|
+
get program() {
|
|
17
|
+
return l();
|
|
18
|
+
},
|
|
19
|
+
set program(t) {
|
|
20
|
+
l(t), K();
|
|
21
|
+
},
|
|
22
|
+
get language() {
|
|
23
|
+
return _();
|
|
24
|
+
},
|
|
25
|
+
set language(t = "en") {
|
|
26
|
+
_(t), K();
|
|
27
|
+
}
|
|
28
|
+
}, k = zt(), D = r(k), X = p(D, !0), F = b(D, 2);
|
|
29
|
+
{
|
|
30
|
+
var Y = (t) => {
|
|
31
|
+
var e = gt(), i = r(e), a = p(i, !0);
|
|
32
|
+
o(e), u(
|
|
33
|
+
(s) => {
|
|
34
|
+
E(e, "href", l().termsUrl), v(a, s);
|
|
35
|
+
},
|
|
36
|
+
[() => m()("terms")]
|
|
37
|
+
), d(t, e);
|
|
38
|
+
};
|
|
39
|
+
w(F, (t) => {
|
|
40
|
+
l().termsUrl && t(Y);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
var L = b(F, 2), j = r(L), W = r(j), O = r(W), Z = p(O, !0), $ = b(O, 2), tt = p($);
|
|
44
|
+
o(W), o(j);
|
|
45
|
+
var P = b(j, 2);
|
|
46
|
+
{
|
|
47
|
+
var et = (t) => {
|
|
48
|
+
var e = G(), i = M(e);
|
|
49
|
+
H(i, 17, () => l().periods, I, (a, s) => {
|
|
50
|
+
var c = xt(), z = r(c), h = r(z), R = p(h, !0), n = b(h, 2), f = p(n, !0);
|
|
51
|
+
o(z), o(c), u(
|
|
52
|
+
(T, lt) => {
|
|
53
|
+
v(R, T), v(f, lt);
|
|
54
|
+
},
|
|
55
|
+
[
|
|
56
|
+
() => m()("recurrenceLabel"),
|
|
57
|
+
() => bt(g(s))
|
|
58
|
+
]
|
|
59
|
+
), d(a, c);
|
|
60
|
+
}), d(t, e);
|
|
61
|
+
};
|
|
62
|
+
w(P, (t) => {
|
|
63
|
+
var e;
|
|
64
|
+
(e = l()) != null && e.periods && t(et);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
var S = b(P, 2), q = r(S), A = r(q), at = p(A, !0), B = b(A, 2), st = r(B);
|
|
68
|
+
{
|
|
69
|
+
var rt = (t) => {
|
|
70
|
+
var e = G(), i = M(e);
|
|
71
|
+
H(i, 17, () => {
|
|
72
|
+
var a;
|
|
73
|
+
return (a = l()) == null ? void 0 : a.partitions;
|
|
74
|
+
}, I, (a, s) => {
|
|
75
|
+
var c = _t(), z = r(c);
|
|
76
|
+
{
|
|
77
|
+
var h = (n) => {
|
|
78
|
+
var f = mt(), T = p(f, !0);
|
|
79
|
+
u(() => v(T, g(s).name["*"] || g(s).name[_()])), d(n, f);
|
|
80
|
+
}, R = (n) => {
|
|
81
|
+
var f = ut();
|
|
82
|
+
u(() => E(f, "src", g(s).image1["*"] || g(s).image1[_()])), d(n, f);
|
|
83
|
+
};
|
|
84
|
+
w(z, (n) => {
|
|
85
|
+
g(s).name["*"] ? n(h) : n(R, -1);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
o(c), d(a, c);
|
|
89
|
+
}), d(t, e);
|
|
90
|
+
};
|
|
91
|
+
w(st, (t) => {
|
|
92
|
+
var e;
|
|
93
|
+
(e = l()) != null && e.partitions && t(rt);
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
o(B), o(q), o(S), o(L), o(k), u(
|
|
97
|
+
(t, e, i, a, s) => {
|
|
98
|
+
v(X, t), v(Z, e), v(tt, `${i != null ? i : ""} ~ ${a != null ? a : ""}`), v(at, s);
|
|
99
|
+
},
|
|
100
|
+
[
|
|
101
|
+
() => m()("rulesDescription"),
|
|
102
|
+
() => m()("availablePeriod"),
|
|
103
|
+
() => {
|
|
104
|
+
var t;
|
|
105
|
+
return J((t = l()) == null ? void 0 : t.startTime);
|
|
106
|
+
},
|
|
107
|
+
() => {
|
|
108
|
+
var t;
|
|
109
|
+
return J((t = l()) == null ? void 0 : t.endTime);
|
|
110
|
+
},
|
|
111
|
+
() => m()("topRewards")
|
|
112
|
+
]
|
|
113
|
+
), d(U, k);
|
|
114
|
+
var ot = ct(V);
|
|
115
|
+
return Q(), ot;
|
|
116
|
+
}
|
|
117
|
+
it(wt, { program: {}, language: {} }, [], [], { mode: "open" });
|
|
118
|
+
export {
|
|
119
|
+
wt as W
|
|
120
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";const t=require("./WheelOfFortuneWheel-DB0BZCUo.cjs"),e=require("./utils-BqkCy2Rz.cjs");var K=t.from_html('<a class="terms-link svelte-1b0ztto" target="_blank" rel="noopener"><span class="svelte-1b0ztto"> </span></a>'),M=t.from_html('<div class="detail-item svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="svelte-1b0ztto"> </span></div></div>'),N=t.from_html('<span class="reward-label svelte-1b0ztto"> </span>'),Q=t.from_html('<img class="reward-icon svelte-1b0ztto" alt=""/>'),V=t.from_html('<span class="reward-item svelte-1b0ztto"><!></span>'),X=t.from_html('<div class="rules-content svelte-1b0ztto"><div class="game-description svelte-1b0ztto"> </div> <!> <div class="rules-details svelte-1b0ztto"><div class="detail-item svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="svelte-1b0ztto"> </span></div></div> <!> <div class="detail-item rewards svelte-1b0ztto"><div class="detail-text svelte-1b0ztto"><strong class="svelte-1b0ztto"> </strong> <span class="reward-list svelte-1b0ztto"><!></span></div></div></div></div>');const Y={hash:"svelte-1b0ztto",code:`.svelte-1b0ztto,
|
|
2
|
+
.svelte-1b0ztto::before,
|
|
3
|
+
.svelte-1b0ztto::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.rules-content.svelte-1b0ztto {display:flex;flex-direction:column;gap:16px;width:100%;max-width:700px;margin:0 auto;color:var(--color-text-default, #ffffff);font-family:inherit;}.game-description.svelte-1b0ztto {font-size:12px;color:var(--color-text-default, #ffffff);}.terms-link.svelte-1b0ztto {display:inline-flex;align-items:center;gap:6px;align-self:flex-start;font-style:italic;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--color-text-default, #ffffff);cursor:pointer;}.rules-details.svelte-1b0ztto {display:flex;flex-direction:column;gap:12px;}.detail-item.svelte-1b0ztto {display:flex;width:100%;gap:10px;justify-content:space-between;align-items:flex-start;border:1px solid var(--color-border-subtle, rgba(251, 251, 251, 0.0509803922));border-radius:6px;padding:8px 12px;background-color:var(--color-overlay-neutral-1, rgba(251, 251, 251, 0.1019607843));color:var(--color-text-default, #ffffff);}.detail-text.svelte-1b0ztto {display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0;}.detail-text.svelte-1b0ztto strong:where(.svelte-1b0ztto) {font-size:14px;font-weight:700;opacity:0.9;}.detail-text.svelte-1b0ztto > span:where(.svelte-1b0ztto) {font-size:12px;opacity:0.95;font-style:italic;}
|
|
4
|
+
|
|
5
|
+
/* Rewards list */.reward-list.svelte-1b0ztto {display:flex;flex-direction:column;gap:10px;}.reward-item.svelte-1b0ztto {display:flex;align-items:center;gap:10px;}.reward-label.svelte-1b0ztto {font-size:12px;}.reward-icon.svelte-1b0ztto {width:22px;height:22px;object-fit:contain;}`};function T(h,g){e.push(g,!0),t.append_styles(h,Y);const c=()=>t.store_get(e.$format,"$_",j),[j,q]=t.setup_stores(),l=t.prop(g,"program",7),p=t.prop(g,"language",7,"en");var S={get program(){return l()},set program(r){l(r),e.flushSync()},get language(){return p()},set language(r="en"){p(r),e.flushSync()}},m=X(),z=e.child(m),U=e.only_child(z,!0),y=e.sibling(z,2);{var L=r=>{var a=K(),i=e.child(a),n=e.only_child(i,!0);e.reset(a),e.template_effect(s=>{t.set_attribute(a,"href",l().termsUrl),t.set_text(n,s)},[()=>c()("terms")]),t.append(r,a)};t.if_block(y,r=>{l().termsUrl&&r(L)})}var w=e.sibling(y,2),b=e.child(w),k=e.child(b),$=e.child(k),P=e.only_child($,!0),A=e.sibling($,2),B=e.only_child(A);e.reset(k),e.reset(b);var F=e.sibling(b,2);{var C=r=>{var a=t.comment(),i=e.first_child(a);t.each(i,17,()=>l().periods,t.index,(n,s)=>{var d=M(),f=e.child(d),_=e.child(f),x=e.only_child(_,!0),o=e.sibling(_,2),v=e.only_child(o,!0);e.reset(f),e.reset(d),e.template_effect((u,J)=>{t.set_text(x,u),t.set_text(v,J)},[()=>c()("recurrenceLabel"),()=>e.getRecurrenceText(e.get(s))]),t.append(n,d)}),t.append(r,a)};t.if_block(F,r=>{l()?.periods&&r(C)})}var R=e.sibling(F,2),W=e.child(R),D=e.child(W),E=e.only_child(D,!0),O=e.sibling(D,2),G=e.child(O);{var H=r=>{var a=t.comment(),i=e.first_child(a);t.each(i,17,()=>l()?.partitions,t.index,(n,s)=>{var d=V(),f=e.child(d);{var _=o=>{var v=N(),u=e.only_child(v,!0);e.template_effect(()=>t.set_text(u,e.get(s).name["*"]||e.get(s).name[p()])),t.append(o,v)},x=o=>{var v=Q();e.template_effect(()=>t.set_attribute(v,"src",e.get(s).image1["*"]||e.get(s).image1[p()])),t.append(o,v)};t.if_block(f,o=>{e.get(s).name["*"]?o(_):o(x,-1)})}e.reset(d),t.append(n,d)}),t.append(r,a)};t.if_block(G,r=>{l()?.partitions&&r(H)})}e.reset(O),e.reset(W),e.reset(R),e.reset(w),e.reset(m),e.template_effect((r,a,i,n,s)=>{t.set_text(U,r),t.set_text(P,a),t.set_text(B,`${i??""} ~ ${n??""}`),t.set_text(E,s)},[()=>c()("rulesDescription"),()=>c()("availablePeriod"),()=>e.getFormattedDate(l()?.startTime),()=>e.getFormattedDate(l()?.endTime),()=>c()("topRewards")]),t.append(h,m);var I=e.pop(S);return q(),I}t.create_custom_element(T,{program:{},language:{}},[],[],{mode:"open"});exports.WheelOfFortuneRules=T;
|