@everymatrix/casino-tournaments-player-rank 1.67.0 → 1.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,264 +0,0 @@
1
- import { S as G, i as J, s as K, f as v, a as O, n as j, d as B, b as M, c as i, e as E, g as h, h as _, j as H, t as D, k as q, o as Q, l as V, m as W } from "./CasinoTournamentsPlayerRank-DoM3dlVG.js";
2
- const X = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Y = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
3
- function $(a) {
4
- O(a, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
5
- }
6
- function Z(a) {
7
- let e;
8
- return {
9
- c() {
10
- e = _("span"), e.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>', i(e, "class", "Icon UserIcon"), i(e, "part", "Icon UserIcon");
11
- },
12
- m(n, m) {
13
- E(n, e, m);
14
- },
15
- d(n) {
16
- n && B(e);
17
- }
18
- };
19
- }
20
- function F(a) {
21
- let e;
22
- return {
23
- c() {
24
- e = _("span"), e.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>', i(e, "class", "Icon PrizeIcon"), i(e, "part", "Icon PrizeIcon");
25
- },
26
- m(n, m) {
27
- E(n, e, m);
28
- },
29
- d(n) {
30
- n && B(e);
31
- }
32
- };
33
- }
34
- function ee(a) {
35
- let e, n, m, d, z, p, U, r, b, R, C, l, k, f, T, u, P, x, I, w, S, A, c = (
36
- /*showicon*/
37
- a[2] == "true" && Z()
38
- ), o = (
39
- /*showicon*/
40
- a[2] == "true" && F()
41
- );
42
- return {
43
- c() {
44
- e = _("div"), n = _("div"), c && c.c(), m = H(), d = _("span"), z = D(
45
- /*rankprefix*/
46
- a[1]
47
- ), p = D(
48
- /*rankinfo*/
49
- a[7]
50
- ), U = H(), r = _("img"), C = H(), l = _("img"), T = H(), u = _("div"), o && o.c(), P = H(), x = _("span"), I = D(
51
- /*prize*/
52
- a[0]
53
- ), i(r, "part", "Rank_Arror_UP"), i(r, "alt", "Rank Up"), q(r.src, b = X) || i(r, "src", b), i(r, "width", "20"), i(r, "height", "20"), i(r, "class", R = "svg Arrow Up " + /*userRankChanged*/
54
- (a[5] && /*isRankingUp*/
55
- a[6] ? "Show" : "Hidden")), i(l, "part", "Rank_Arror_Down"), i(l, "alt", "Rank Down"), q(l.src, k = Y) || i(l, "src", k), i(l, "width", "10"), i(l, "height", "10"), i(l, "class", f = "svg Arrow Down " + /*userRankChanged*/
56
- (a[5] && !/*isRankingUp*/
57
- a[6] ? "Show" : "Hidden")), i(d, "class", "RankInfo"), i(d, "part", "RankText"), i(n, "class", "RankSec"), i(n, "part", "Rank"), i(x, "class", "RankInfo UserPrize"), i(x, "part", "PrizeText"), i(u, "class", w = /*displayin*/
58
- a[3] + " PrizeSec"), i(u, "part", "Prize"), i(e, "class", S = /*displayin*/
59
- a[3] + " casino-tournaments-rank"), i(e, "part", A = /*displayin*/
60
- a[3] + " casino-tournaments-rank");
61
- },
62
- m(s, g) {
63
- E(s, e, g), h(e, n), c && c.m(n, null), h(n, m), h(n, d), h(d, z), h(d, p), h(d, U), h(d, r), h(d, C), h(d, l), h(e, T), h(e, u), o && o.m(u, null), h(u, P), h(u, x), h(x, I), a[14](e);
64
- },
65
- p(s, [g]) {
66
- /*showicon*/
67
- s[2] == "true" ? c || (c = Z(), c.c(), c.m(n, m)) : c && (c.d(1), c = null), g & /*rankprefix*/
68
- 2 && M(
69
- z,
70
- /*rankprefix*/
71
- s[1]
72
- ), g & /*rankinfo*/
73
- 128 && M(
74
- p,
75
- /*rankinfo*/
76
- s[7]
77
- ), g & /*userRankChanged, isRankingUp*/
78
- 96 && R !== (R = "svg Arrow Up " + /*userRankChanged*/
79
- (s[5] && /*isRankingUp*/
80
- s[6] ? "Show" : "Hidden")) && i(r, "class", R), g & /*userRankChanged, isRankingUp*/
81
- 96 && f !== (f = "svg Arrow Down " + /*userRankChanged*/
82
- (s[5] && !/*isRankingUp*/
83
- s[6] ? "Show" : "Hidden")) && i(l, "class", f), /*showicon*/
84
- s[2] == "true" ? o || (o = F(), o.c(), o.m(u, P)) : o && (o.d(1), o = null), g & /*prize*/
85
- 1 && M(
86
- I,
87
- /*prize*/
88
- s[0]
89
- ), g & /*displayin*/
90
- 8 && w !== (w = /*displayin*/
91
- s[3] + " PrizeSec") && i(u, "class", w), g & /*displayin*/
92
- 8 && S !== (S = /*displayin*/
93
- s[3] + " casino-tournaments-rank") && i(e, "class", S), g & /*displayin*/
94
- 8 && A !== (A = /*displayin*/
95
- s[3] + " casino-tournaments-rank") && i(e, "part", A);
96
- },
97
- i: j,
98
- o: j,
99
- d(s) {
100
- s && B(e), c && c.d(), o && o.d(), a[14](null);
101
- }
102
- };
103
- }
104
- function te(a, e, n) {
105
- let { rankprefix: m = "#" } = e, { showicon: d = "true" } = e, { tournamentid: z = "" } = e, { overallrank: p = "0" } = e, { showoverallrank: U = "true" } = e, { userrank: r = "0" } = e, { prize: b = "PrizeName" } = e, { displayin: R = "row" } = e, { clientstyling: C = "" } = e, { clientstylingurl: l = "" } = e, k, f, T = !1, u = !0, P, x, I, w, S = "";
106
- const A = (t) => {
107
- t.data && t.data.type == `TournamentRankInfo_${z}` && (c(t.data.rankInfo), g());
108
- }, c = (t) => {
109
- let L = (y) => {
110
- n(9, r = y.rank), n(8, p = y.overallRank), n(0, b = y.prize);
111
- };
112
- if (!w) {
113
- w = f, L(t);
114
- return;
115
- }
116
- f && (n(5, T = w != t.rank), n(6, u = w > t.rank), P = (/* @__PURE__ */ new Date()).getTime(), I = setTimeout(
117
- () => {
118
- x = (/* @__PURE__ */ new Date()).getTime(), (x - P) / 1e3 > 4 && n(5, T = !1), w = f;
119
- },
120
- 5e3
121
- ), L(t));
122
- }, o = () => {
123
- let t = document.createElement("style");
124
- t.innerHTML = C, k.appendChild(t);
125
- }, s = () => {
126
- let t = new URL(l), L = document.createElement("style");
127
- fetch(t.href).then((y) => y.text()).then((y) => {
128
- L.innerHTML = y, setTimeout(
129
- () => {
130
- k.appendChild(L);
131
- },
132
- 1
133
- ), setTimeout(
134
- () => {
135
- },
136
- 500
137
- );
138
- });
139
- }, g = () => {
140
- n(7, S = U == "true" ? `${+r == 0 ? "-" : r || "-"}/${+p == 0 ? "-" : p}` : r);
141
- };
142
- Q(() => (f = r == null ? void 0 : parseInt(r), w = f, n(9, r = r == null ? "-" : r), window.addEventListener("message", A, !0), g(), () => {
143
- window.removeEventListener("message", A), clearTimeout(I);
144
- }));
145
- function N(t) {
146
- V[t ? "unshift" : "push"](() => {
147
- k = t, n(4, k);
148
- });
149
- }
150
- return a.$$set = (t) => {
151
- "rankprefix" in t && n(1, m = t.rankprefix), "showicon" in t && n(2, d = t.showicon), "tournamentid" in t && n(10, z = t.tournamentid), "overallrank" in t && n(8, p = t.overallrank), "showoverallrank" in t && n(11, U = t.showoverallrank), "userrank" in t && n(9, r = t.userrank), "prize" in t && n(0, b = t.prize), "displayin" in t && n(3, R = t.displayin), "clientstyling" in t && n(12, C = t.clientstyling), "clientstylingurl" in t && n(13, l = t.clientstylingurl);
152
- }, a.$$.update = () => {
153
- a.$$.dirty & /*customStylingContainer, clientstyling*/
154
- 4112 && k && C && o(), a.$$.dirty & /*customStylingContainer, clientstylingurl*/
155
- 8208 && k && l && s(), a.$$.dirty & /*userrank*/
156
- 512 && (f = parseInt(r)), a.$$.dirty & /*userrank*/
157
- 512 && r && g(), a.$$.dirty & /*overallrank*/
158
- 256 && p && g();
159
- }, [
160
- b,
161
- m,
162
- d,
163
- R,
164
- k,
165
- T,
166
- u,
167
- S,
168
- p,
169
- r,
170
- z,
171
- U,
172
- C,
173
- l,
174
- N
175
- ];
176
- }
177
- class ne extends G {
178
- constructor(e) {
179
- super(), J(
180
- this,
181
- e,
182
- te,
183
- ee,
184
- K,
185
- {
186
- rankprefix: 1,
187
- showicon: 2,
188
- tournamentid: 10,
189
- overallrank: 8,
190
- showoverallrank: 11,
191
- userrank: 9,
192
- prize: 0,
193
- displayin: 3,
194
- clientstyling: 12,
195
- clientstylingurl: 13
196
- },
197
- $
198
- );
199
- }
200
- get rankprefix() {
201
- return this.$$.ctx[1];
202
- }
203
- set rankprefix(e) {
204
- this.$$set({ rankprefix: e }), v();
205
- }
206
- get showicon() {
207
- return this.$$.ctx[2];
208
- }
209
- set showicon(e) {
210
- this.$$set({ showicon: e }), v();
211
- }
212
- get tournamentid() {
213
- return this.$$.ctx[10];
214
- }
215
- set tournamentid(e) {
216
- this.$$set({ tournamentid: e }), v();
217
- }
218
- get overallrank() {
219
- return this.$$.ctx[8];
220
- }
221
- set overallrank(e) {
222
- this.$$set({ overallrank: e }), v();
223
- }
224
- get showoverallrank() {
225
- return this.$$.ctx[11];
226
- }
227
- set showoverallrank(e) {
228
- this.$$set({ showoverallrank: e }), v();
229
- }
230
- get userrank() {
231
- return this.$$.ctx[9];
232
- }
233
- set userrank(e) {
234
- this.$$set({ userrank: e }), v();
235
- }
236
- get prize() {
237
- return this.$$.ctx[0];
238
- }
239
- set prize(e) {
240
- this.$$set({ prize: e }), v();
241
- }
242
- get displayin() {
243
- return this.$$.ctx[3];
244
- }
245
- set displayin(e) {
246
- this.$$set({ displayin: e }), v();
247
- }
248
- get clientstyling() {
249
- return this.$$.ctx[12];
250
- }
251
- set clientstyling(e) {
252
- this.$$set({ clientstyling: e }), v();
253
- }
254
- get clientstylingurl() {
255
- return this.$$.ctx[13];
256
- }
257
- set clientstylingurl(e) {
258
- this.$$set({ clientstylingurl: e }), v();
259
- }
260
- }
261
- W(ne, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
262
- export {
263
- ne as default
264
- };
@@ -1,264 +0,0 @@
1
- import { S as G, i as J, f as v, s as K, c as O, a as Q, n as j, d as B, b as M, e as i, g as E, h, j as _, k as H, t as D, l as q, o as V, m as W } from "./CasinoTournamentsPlayerRank-CllQmu2H.js";
2
- const X = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Y = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
3
- function $(a) {
4
- Q(a, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
5
- }
6
- function Z(a) {
7
- let e;
8
- return {
9
- c() {
10
- e = _("span"), e.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>', i(e, "class", "Icon UserIcon"), i(e, "part", "Icon UserIcon");
11
- },
12
- m(n, m) {
13
- E(n, e, m);
14
- },
15
- d(n) {
16
- n && B(e);
17
- }
18
- };
19
- }
20
- function F(a) {
21
- let e;
22
- return {
23
- c() {
24
- e = _("span"), e.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>', i(e, "class", "Icon PrizeIcon"), i(e, "part", "Icon PrizeIcon");
25
- },
26
- m(n, m) {
27
- E(n, e, m);
28
- },
29
- d(n) {
30
- n && B(e);
31
- }
32
- };
33
- }
34
- function ee(a) {
35
- let e, n, m, d, z, p, U, r, b, R, C, l, k, f, T, u, P, x, I, w, S, A, c = (
36
- /*showicon*/
37
- a[2] == "true" && Z()
38
- ), o = (
39
- /*showicon*/
40
- a[2] == "true" && F()
41
- );
42
- return {
43
- c() {
44
- e = _("div"), n = _("div"), c && c.c(), m = H(), d = _("span"), z = D(
45
- /*rankprefix*/
46
- a[1]
47
- ), p = D(
48
- /*rankinfo*/
49
- a[7]
50
- ), U = H(), r = _("img"), C = H(), l = _("img"), T = H(), u = _("div"), o && o.c(), P = H(), x = _("span"), I = D(
51
- /*prize*/
52
- a[0]
53
- ), i(r, "part", "Rank_Arror_UP"), i(r, "alt", "Rank Up"), q(r.src, b = X) || i(r, "src", b), i(r, "width", "20"), i(r, "height", "20"), i(r, "class", R = "svg Arrow Up " + /*userRankChanged*/
54
- (a[5] && /*isRankingUp*/
55
- a[6] ? "Show" : "Hidden")), i(l, "part", "Rank_Arror_Down"), i(l, "alt", "Rank Down"), q(l.src, k = Y) || i(l, "src", k), i(l, "width", "10"), i(l, "height", "10"), i(l, "class", f = "svg Arrow Down " + /*userRankChanged*/
56
- (a[5] && !/*isRankingUp*/
57
- a[6] ? "Show" : "Hidden")), i(d, "class", "RankInfo"), i(d, "part", "RankText"), i(n, "class", "RankSec"), i(n, "part", "Rank"), i(x, "class", "RankInfo UserPrize"), i(x, "part", "PrizeText"), i(u, "class", w = /*displayin*/
58
- a[3] + " PrizeSec"), i(u, "part", "Prize"), i(e, "class", S = /*displayin*/
59
- a[3] + " casino-tournaments-rank"), i(e, "part", A = /*displayin*/
60
- a[3] + " casino-tournaments-rank");
61
- },
62
- m(s, g) {
63
- E(s, e, g), h(e, n), c && c.m(n, null), h(n, m), h(n, d), h(d, z), h(d, p), h(d, U), h(d, r), h(d, C), h(d, l), h(e, T), h(e, u), o && o.m(u, null), h(u, P), h(u, x), h(x, I), a[14](e);
64
- },
65
- p(s, [g]) {
66
- /*showicon*/
67
- s[2] == "true" ? c || (c = Z(), c.c(), c.m(n, m)) : c && (c.d(1), c = null), g & /*rankprefix*/
68
- 2 && M(
69
- z,
70
- /*rankprefix*/
71
- s[1]
72
- ), g & /*rankinfo*/
73
- 128 && M(
74
- p,
75
- /*rankinfo*/
76
- s[7]
77
- ), g & /*userRankChanged, isRankingUp*/
78
- 96 && R !== (R = "svg Arrow Up " + /*userRankChanged*/
79
- (s[5] && /*isRankingUp*/
80
- s[6] ? "Show" : "Hidden")) && i(r, "class", R), g & /*userRankChanged, isRankingUp*/
81
- 96 && f !== (f = "svg Arrow Down " + /*userRankChanged*/
82
- (s[5] && !/*isRankingUp*/
83
- s[6] ? "Show" : "Hidden")) && i(l, "class", f), /*showicon*/
84
- s[2] == "true" ? o || (o = F(), o.c(), o.m(u, P)) : o && (o.d(1), o = null), g & /*prize*/
85
- 1 && M(
86
- I,
87
- /*prize*/
88
- s[0]
89
- ), g & /*displayin*/
90
- 8 && w !== (w = /*displayin*/
91
- s[3] + " PrizeSec") && i(u, "class", w), g & /*displayin*/
92
- 8 && S !== (S = /*displayin*/
93
- s[3] + " casino-tournaments-rank") && i(e, "class", S), g & /*displayin*/
94
- 8 && A !== (A = /*displayin*/
95
- s[3] + " casino-tournaments-rank") && i(e, "part", A);
96
- },
97
- i: j,
98
- o: j,
99
- d(s) {
100
- s && B(e), c && c.d(), o && o.d(), a[14](null);
101
- }
102
- };
103
- }
104
- function te(a, e, n) {
105
- let { rankprefix: m = "#" } = e, { showicon: d = "true" } = e, { tournamentid: z = "" } = e, { overallrank: p = "0" } = e, { showoverallrank: U = "true" } = e, { userrank: r = "0" } = e, { prize: b = "PrizeName" } = e, { displayin: R = "row" } = e, { clientstyling: C = "" } = e, { clientstylingurl: l = "" } = e, k, f, T = !1, u = !0, P, x, I, w, S = "";
106
- const A = (t) => {
107
- t.data && t.data.type == `TournamentRankInfo_${z}` && (c(t.data.rankInfo), g());
108
- }, c = (t) => {
109
- let L = (y) => {
110
- n(9, r = y.rank), n(8, p = y.overallRank), n(0, b = y.prize);
111
- };
112
- if (!w) {
113
- w = f, L(t);
114
- return;
115
- }
116
- f && (n(5, T = w != t.rank), n(6, u = w > t.rank), P = (/* @__PURE__ */ new Date()).getTime(), I = setTimeout(
117
- () => {
118
- x = (/* @__PURE__ */ new Date()).getTime(), (x - P) / 1e3 > 4 && n(5, T = !1), w = f;
119
- },
120
- 5e3
121
- ), L(t));
122
- }, o = () => {
123
- let t = document.createElement("style");
124
- t.innerHTML = C, k.appendChild(t);
125
- }, s = () => {
126
- let t = new URL(l), L = document.createElement("style");
127
- fetch(t.href).then((y) => y.text()).then((y) => {
128
- L.innerHTML = y, setTimeout(
129
- () => {
130
- k.appendChild(L);
131
- },
132
- 1
133
- ), setTimeout(
134
- () => {
135
- },
136
- 500
137
- );
138
- });
139
- }, g = () => {
140
- n(7, S = U == "true" ? `${+r == 0 ? "-" : r || "-"}/${+p == 0 ? "-" : p}` : r);
141
- };
142
- V(() => (f = r == null ? void 0 : parseInt(r), w = f, n(9, r = r ?? "-"), window.addEventListener("message", A, !0), g(), () => {
143
- window.removeEventListener("message", A), clearTimeout(I);
144
- }));
145
- function N(t) {
146
- W[t ? "unshift" : "push"](() => {
147
- k = t, n(4, k);
148
- });
149
- }
150
- return a.$$set = (t) => {
151
- "rankprefix" in t && n(1, m = t.rankprefix), "showicon" in t && n(2, d = t.showicon), "tournamentid" in t && n(10, z = t.tournamentid), "overallrank" in t && n(8, p = t.overallrank), "showoverallrank" in t && n(11, U = t.showoverallrank), "userrank" in t && n(9, r = t.userrank), "prize" in t && n(0, b = t.prize), "displayin" in t && n(3, R = t.displayin), "clientstyling" in t && n(12, C = t.clientstyling), "clientstylingurl" in t && n(13, l = t.clientstylingurl);
152
- }, a.$$.update = () => {
153
- a.$$.dirty & /*customStylingContainer, clientstyling*/
154
- 4112 && k && C && o(), a.$$.dirty & /*customStylingContainer, clientstylingurl*/
155
- 8208 && k && l && s(), a.$$.dirty & /*userrank*/
156
- 512 && (f = parseInt(r)), a.$$.dirty & /*userrank*/
157
- 512 && r && g(), a.$$.dirty & /*overallrank*/
158
- 256 && p && g();
159
- }, [
160
- b,
161
- m,
162
- d,
163
- R,
164
- k,
165
- T,
166
- u,
167
- S,
168
- p,
169
- r,
170
- z,
171
- U,
172
- C,
173
- l,
174
- N
175
- ];
176
- }
177
- class ne extends G {
178
- constructor(e) {
179
- super(), J(
180
- this,
181
- e,
182
- te,
183
- ee,
184
- K,
185
- {
186
- rankprefix: 1,
187
- showicon: 2,
188
- tournamentid: 10,
189
- overallrank: 8,
190
- showoverallrank: 11,
191
- userrank: 9,
192
- prize: 0,
193
- displayin: 3,
194
- clientstyling: 12,
195
- clientstylingurl: 13
196
- },
197
- $
198
- );
199
- }
200
- get rankprefix() {
201
- return this.$$.ctx[1];
202
- }
203
- set rankprefix(e) {
204
- this.$$set({ rankprefix: e }), v();
205
- }
206
- get showicon() {
207
- return this.$$.ctx[2];
208
- }
209
- set showicon(e) {
210
- this.$$set({ showicon: e }), v();
211
- }
212
- get tournamentid() {
213
- return this.$$.ctx[10];
214
- }
215
- set tournamentid(e) {
216
- this.$$set({ tournamentid: e }), v();
217
- }
218
- get overallrank() {
219
- return this.$$.ctx[8];
220
- }
221
- set overallrank(e) {
222
- this.$$set({ overallrank: e }), v();
223
- }
224
- get showoverallrank() {
225
- return this.$$.ctx[11];
226
- }
227
- set showoverallrank(e) {
228
- this.$$set({ showoverallrank: e }), v();
229
- }
230
- get userrank() {
231
- return this.$$.ctx[9];
232
- }
233
- set userrank(e) {
234
- this.$$set({ userrank: e }), v();
235
- }
236
- get prize() {
237
- return this.$$.ctx[0];
238
- }
239
- set prize(e) {
240
- this.$$set({ prize: e }), v();
241
- }
242
- get displayin() {
243
- return this.$$.ctx[3];
244
- }
245
- set displayin(e) {
246
- this.$$set({ displayin: e }), v();
247
- }
248
- get clientstyling() {
249
- return this.$$.ctx[12];
250
- }
251
- set clientstyling(e) {
252
- this.$$set({ clientstyling: e }), v();
253
- }
254
- get clientstylingurl() {
255
- return this.$$.ctx[13];
256
- }
257
- set clientstylingurl(e) {
258
- this.$$set({ clientstylingurl: e }), v();
259
- }
260
- }
261
- O(ne, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
262
- export {
263
- ne as default
264
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsPlayerRank-CIg7ptBR.cjs"),M="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",D="data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";function q(a){e.append_styles(a,"svelte-1njm5xr",".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}")}function U(a){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>',e.attr(t,"class","Icon UserIcon"),e.attr(t,"part","Icon UserIcon")},m(i,p){e.insert(i,t,p)},d(i){i&&e.detach(t)}}}function I(a){let t;return{c(){t=e.element("span"),t.innerHTML='<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>',e.attr(t,"class","Icon PrizeIcon"),e.attr(t,"part","Icon PrizeIcon")},m(i,p){e.insert(i,t,p)},d(i){i&&e.detach(t)}}}function B(a){let t,i,p,h,_,w,C,r,S,x,y,s,m,g,A,u,T,k,b,f,R,z,c=a[2]=="true"&&U(),o=a[2]=="true"&&I();return{c(){t=e.element("div"),i=e.element("div"),c&&c.c(),p=e.space(),h=e.element("span"),_=e.text(a[1]),w=e.text(a[7]),C=e.space(),r=e.element("img"),y=e.space(),s=e.element("img"),A=e.space(),u=e.element("div"),o&&o.c(),T=e.space(),k=e.element("span"),b=e.text(a[0]),e.attr(r,"part","Rank_Arror_UP"),e.attr(r,"alt","Rank Up"),e.src_url_equal(r.src,S=M)||e.attr(r,"src",S),e.attr(r,"width","20"),e.attr(r,"height","20"),e.attr(r,"class",x="svg Arrow Up "+(a[5]&&a[6]?"Show":"Hidden")),e.attr(s,"part","Rank_Arror_Down"),e.attr(s,"alt","Rank Down"),e.src_url_equal(s.src,m=D)||e.attr(s,"src",m),e.attr(s,"width","10"),e.attr(s,"height","10"),e.attr(s,"class",g="svg Arrow Down "+(a[5]&&!a[6]?"Show":"Hidden")),e.attr(h,"class","RankInfo"),e.attr(h,"part","RankText"),e.attr(i,"class","RankSec"),e.attr(i,"part","Rank"),e.attr(k,"class","RankInfo UserPrize"),e.attr(k,"part","PrizeText"),e.attr(u,"class",f=a[3]+" PrizeSec"),e.attr(u,"part","Prize"),e.attr(t,"class",R=a[3]+" casino-tournaments-rank"),e.attr(t,"part",z=a[3]+" casino-tournaments-rank")},m(l,d){e.insert(l,t,d),e.append(t,i),c&&c.m(i,null),e.append(i,p),e.append(i,h),e.append(h,_),e.append(h,w),e.append(h,C),e.append(h,r),e.append(h,y),e.append(h,s),e.append(t,A),e.append(t,u),o&&o.m(u,null),e.append(u,T),e.append(u,k),e.append(k,b),a[14](t)},p(l,[d]){l[2]=="true"?c||(c=U(),c.c(),c.m(i,p)):c&&(c.d(1),c=null),d&2&&e.set_data(_,l[1]),d&128&&e.set_data(w,l[7]),d&96&&x!==(x="svg Arrow Up "+(l[5]&&l[6]?"Show":"Hidden"))&&e.attr(r,"class",x),d&96&&g!==(g="svg Arrow Down "+(l[5]&&!l[6]?"Show":"Hidden"))&&e.attr(s,"class",g),l[2]=="true"?o||(o=I(),o.c(),o.m(u,T)):o&&(o.d(1),o=null),d&1&&e.set_data(b,l[0]),d&8&&f!==(f=l[3]+" PrizeSec")&&e.attr(u,"class",f),d&8&&R!==(R=l[3]+" casino-tournaments-rank")&&e.attr(t,"class",R),d&8&&z!==(z=l[3]+" casino-tournaments-rank")&&e.attr(t,"part",z)},i:e.noop,o:e.noop,d(l){l&&e.detach(t),c&&c.d(),o&&o.d(),a[14](null)}}}function E(a,t,i){let{rankprefix:p="#"}=t,{showicon:h="true"}=t,{tournamentid:_=""}=t,{overallrank:w="0"}=t,{showoverallrank:C="true"}=t,{userrank:r="0"}=t,{prize:S="PrizeName"}=t,{displayin:x="row"}=t,{clientstyling:y=""}=t,{clientstylingurl:s=""}=t,m,g,A=!1,u=!0,T,k,b,f,R="";const z=n=>{n.data&&n.data.type==`TournamentRankInfo_${_}`&&(c(n.data.rankInfo),d())},c=n=>{let P=v=>{i(9,r=v.rank),i(8,w=v.overallRank),i(0,S=v.prize)};if(!f){f=g,P(n);return}g&&(i(5,A=f!=n.rank),i(6,u=f>n.rank),T=new Date().getTime(),b=setTimeout(()=>{k=new Date().getTime(),(k-T)/1e3>4&&i(5,A=!1),f=g},5e3),P(n))},o=()=>{let n=document.createElement("style");n.innerHTML=y,m.appendChild(n)},l=()=>{let n=new URL(s),P=document.createElement("style");fetch(n.href).then(v=>v.text()).then(v=>{P.innerHTML=v,setTimeout(()=>{m.appendChild(P)},1),setTimeout(()=>{},500)})},d=()=>{i(7,R=C=="true"?`${+r==0?"-":r||"-"}/${+w==0?"-":w}`:r)};e.onMount(()=>(g=r==null?void 0:parseInt(r),f=g,i(9,r=r==null?"-":r),window.addEventListener("message",z,!0),d(),()=>{window.removeEventListener("message",z),clearTimeout(b)}));function H(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,i(4,m)})}return a.$$set=n=>{"rankprefix"in n&&i(1,p=n.rankprefix),"showicon"in n&&i(2,h=n.showicon),"tournamentid"in n&&i(10,_=n.tournamentid),"overallrank"in n&&i(8,w=n.overallrank),"showoverallrank"in n&&i(11,C=n.showoverallrank),"userrank"in n&&i(9,r=n.userrank),"prize"in n&&i(0,S=n.prize),"displayin"in n&&i(3,x=n.displayin),"clientstyling"in n&&i(12,y=n.clientstyling),"clientstylingurl"in n&&i(13,s=n.clientstylingurl)},a.$$.update=()=>{a.$$.dirty&4112&&m&&y&&o(),a.$$.dirty&8208&&m&&s&&l(),a.$$.dirty&512&&(g=parseInt(r)),a.$$.dirty&512&&r&&d(),a.$$.dirty&256&&w&&d()},[S,p,h,x,m,A,u,R,w,r,_,C,y,s,H]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,E,B,e.safe_not_equal,{rankprefix:1,showicon:2,tournamentid:10,overallrank:8,showoverallrank:11,userrank:9,prize:0,displayin:3,clientstyling:12,clientstylingurl:13},q)}get rankprefix(){return this.$$.ctx[1]}set rankprefix(t){this.$$set({rankprefix:t}),e.flush()}get showicon(){return this.$$.ctx[2]}set showicon(t){this.$$set({showicon:t}),e.flush()}get tournamentid(){return this.$$.ctx[10]}set tournamentid(t){this.$$set({tournamentid:t}),e.flush()}get overallrank(){return this.$$.ctx[8]}set overallrank(t){this.$$set({overallrank:t}),e.flush()}get showoverallrank(){return this.$$.ctx[11]}set showoverallrank(t){this.$$set({showoverallrank:t}),e.flush()}get userrank(){return this.$$.ctx[9]}set userrank(t){this.$$set({userrank:t}),e.flush()}get prize(){return this.$$.ctx[0]}set prize(t){this.$$set({prize:t}),e.flush()}get displayin(){return this.$$.ctx[3]}set displayin(t){this.$$set({displayin:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(L,{rankprefix:{},showicon:{},tournamentid:{},overallrank:{},showoverallrank:{},userrank:{},prize:{},displayin:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=L;