fansunited-widget-poll 2.8.0 → 2.9.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.
- package/constants/constants.d.ts +8 -0
- package/package.json +1 -1
- package/poll-manager.es.js +90 -88
- package/poll-manager.umd.js +3 -3
package/constants/constants.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ export declare const supportedLanguages: {
|
|
|
55
55
|
key: string;
|
|
56
56
|
name: string;
|
|
57
57
|
};
|
|
58
|
+
hi: {
|
|
59
|
+
key: string;
|
|
60
|
+
name: string;
|
|
61
|
+
};
|
|
58
62
|
hu: {
|
|
59
63
|
key: string;
|
|
60
64
|
name: string;
|
|
@@ -201,6 +205,10 @@ export declare const languagesMap: {
|
|
|
201
205
|
key: string;
|
|
202
206
|
name: string;
|
|
203
207
|
};
|
|
208
|
+
hi: {
|
|
209
|
+
key: string;
|
|
210
|
+
name: string;
|
|
211
|
+
};
|
|
204
212
|
hu: {
|
|
205
213
|
key: string;
|
|
206
214
|
name: string;
|
package/package.json
CHANGED
package/poll-manager.es.js
CHANGED
|
@@ -713,7 +713,7 @@ var zS, nM, Yz = Vz(() => {
|
|
|
713
713
|
}, ni = (t, e) => {
|
|
714
714
|
let r = "";
|
|
715
715
|
return t === "prod" ? r = { profile: "https://profile.fansunitedapi.com/v1", football: "https://football.fansunitedapi.com/v1", idMapping: "https://id-mapping.fansunitedapi.com/v1", predictor: "https://prediction.fansunitedapi.com/v1", client: "https://client.fansunitedapi.com/v1", loyalty: "https://loyalty.fansunitedapi.com/v1", miniGames: "https://mini-games.fansunitedapi.com/v1", discussions: "https://discussions.fansunitedapi.com/v1", privateLeagues: "https://private-leagues.fansunitedapi.com/v1", voting: "https://voting.fansunitedapi.com/v1" }[e] : t === "dev" ? r = { profile: "http://localhost:8010/v1", football: "http://localhost:8080/v1", idMapping: "http://localhost:8030/v1", predictor: "http://localhost:8040/v1", client: "http://localhost:8070/v1", loyalty: "http://localhost:8060/v1", miniGames: "http://localhost:9040/v1", discussions: "http://localhost:9020/v1", privateLeagues: "http://localhost:9010/v1", voting: "http://localhost:9030/v1" }[e] : t === "watg" ? r = { profile: "https://profile.watg.fansunitedapi.com/v1", football: "https://football.watg.fansunitedapi.com/v1", idMapping: "https://id-mapping.watg.fansunitedapi.com/v1", predictor: "https://prediction.watg.fansunitedapi.com/v1", client: "https://client.watg.fansunitedapi.com/v1", loyalty: "https://loyalty.watg.fansunitedapi.com/v1", miniGames: "https://mini-games.watg.fansunitedapi.com/v1", discussions: "https://discussions.watg.fansunitedapi.com/v1", privateLeagues: "https://private-leagues.watg.fansunitedapi.com/v1", voting: "https://voting.watg.fansunitedapi.com/v1" }[e] : t === "yolo" ? r = { profile: "https://profile.yolo.fansunitedapi.com/v1", football: "https://football.yolo.fansunitedapi.com/v1", idMapping: "https://id-mapping.yolo.fansunitedapi.com/v1", predictor: "https://prediction.yolo.fansunitedapi.com/v1", client: "https://client.yolo.fansunitedapi.com/v1", loyalty: "https://loyalty.yolo.fansunitedapi.com/v1", miniGames: "https://mini-games.yolo.fansunitedapi.com/v1", discussions: "https://discussions.yolo.fansunitedapi.com/v1", privateLeagues: "https://private-leagues.yolo.fansunitedapi.com/v1", voting: "https://voting.yolo.fansunitedapi.com/v1" }[e] : r = { profile: "https://profile.fansunitedstagingapi.com/v1", football: "https://football.fansunitedstagingapi.com/v1", idMapping: "https://id-mapping.fansunitedstagingapi.com/v1", predictor: "https://prediction.fansunitedstagingapi.com/v1", client: "https://client.fansunitedstagingapi.com/v1", loyalty: "https://loyalty.fansunitedstagingapi.com/v1", miniGames: "https://mini-games.fansunitedstagingapi.com/v1", discussions: "https://discussions.fansunitedstagingapi.com/v1", privateLeagues: "https://private-leagues.fansunitedstagingapi.com/v1", voting: "https://voting.fansunitedstagingapi.com/v1" }[e], r;
|
|
716
|
-
}, vm = (t) => Array.from(new Set(t)), It = (t) => t || !1,
|
|
716
|
+
}, vm = (t) => Array.from(new Set(t)), It = (t) => t || !1, yt = () => `&disable_cache=${Date.now()}`, sM = (t) => JSON.parse(JSON.stringify(t.sort((e, r) => e.localeCompare(r)))), ym = ((t) => (t.FT_1X2 = "FT_1X2", t.HT_1X2 = "HT_1X2", t.BOTH_TEAMS_SCORE = "BOTH_TEAMS_SCORE", t.DOUBLE_CHANCE = "DOUBLE_CHANCE", t.HT_FT = "HT_FT", t.PLAYER_SCORE = "PLAYER_SCORE", t.PLAYER_YELLOW_CARD = "PLAYER_YELLOW_CARD", t.PLAYER_RED_CARD = "PLAYER_RED_CARD", t.RED_CARD_MATCH = "RED_CARD_MATCH", t.PENALTY_MATCH = "PENALTY_MATCH", t.PLAYER_SCORE_FIRST_GOAL = "PLAYER_SCORE_FIRST_GOAL", t.CORNERS_MATCH = "CORNERS_MATCH", t.CORRECT_SCORE = "CORRECT_SCORE", t.CORRECT_SCORE_ADVANCED = "CORRECT_SCORE_ADVANCED", t.CORRECT_SCORE_HT = "CORRECT_SCORE_HT", t.PLAYER_SCORE_HATTRICK = "PLAYER_SCORE_HATTRICK", t.PLAYER_SCORE_TWICE = "PLAYER_SCORE_TWICE", t.OVER_GOALS_0_5 = "OVER_GOALS_0_5", t.OVER_GOALS_1_5 = "OVER_GOALS_1_5", t.OVER_GOALS_2_5 = "OVER_GOALS_2_5", t.OVER_GOALS_3_5 = "OVER_GOALS_3_5", t.OVER_GOALS_4_5 = "OVER_GOALS_4_5", t.OVER_GOALS_5_5 = "OVER_GOALS_5_5", t.OVER_GOALS_6_5 = "OVER_GOALS_6_5", t.OVER_CORNERS_6_5 = "OVER_CORNERS_6_5", t.OVER_CORNERS_7_5 = "OVER_CORNERS_7_5", t.OVER_CORNERS_8_5 = "OVER_CORNERS_8_5", t.OVER_CORNERS_9_5 = "OVER_CORNERS_9_5", t.OVER_CORNERS_10_5 = "OVER_CORNERS_10_5", t.OVER_CORNERS_11_5 = "OVER_CORNERS_11_5", t.OVER_CORNERS_12_5 = "OVER_CORNERS_12_5", t.OVER_CORNERS_13_5 = "OVER_CORNERS_13_5", t))(ym || {}), dH = ["OVER_GOALS_0_5", "OVER_GOALS_1_5", "OVER_GOALS_2_5", "OVER_GOALS_3_5", "OVER_GOALS_4_5", "OVER_GOALS_5_5", "OVER_GOALS_6_5"], pH = ["OVER_CORNERS_6_5", "OVER_CORNERS_7_5", "OVER_CORNERS_8_5", "OVER_CORNERS_9_5", "OVER_CORNERS_10_5", "OVER_CORNERS_11_5", "OVER_CORNERS_12_5", "OVER_CORNERS_13_5"], ko = ["PLAYER_RED_CARD", "PLAYER_SCORE", "PLAYER_SCORE_FIRST_GOAL", "PLAYER_SCORE_HATTRICK", "PLAYER_SCORE_TWICE", "PLAYER_YELLOW_CARD"], hH = ["FT_1X2", "HT_1X2", "HT_FT", "DOUBLE_CHANCE", "CORNERS_MATCH", "CORRECT_SCORE", "CORRECT_SCORE_HT", "CORRECT_SCORE_ADVANCED"], sf = "PLAYER_SCORE_FIRST_GOAL", fH = class {
|
|
717
717
|
constructor() {
|
|
718
718
|
l(this, "id", "");
|
|
719
719
|
l(this, "achievedAt", "");
|
|
@@ -1057,7 +1057,7 @@ var fM = CH, IH = ((t) => (t[t.BAD_METHOD_CALL = 400] = "BAD_METHOD_CALL", t[t.U
|
|
|
1057
1057
|
}));
|
|
1058
1058
|
l(this, "getStats", (e, r) => F(this, null, function* () {
|
|
1059
1059
|
let n = "", i = "", a = null;
|
|
1060
|
-
return e ? (n += It(r) ? `/users/${e}/statistics${this.apiSignInUrl}${
|
|
1060
|
+
return e ? (n += It(r) ? `/users/${e}/statistics${this.apiSignInUrl}${yt()}` : `/users/${e}/statistics${this.apiSignInUrl}`, i = `There was a problem fetching statistics for profile: ${e}`, a = yield this.fetchWithoutAuth(n, i)) : (n += `/statistics${this.apiSignInUrl}`, i = "There was a problem fetching profile`s statistics", a = yield this.fetchWithAuth(n, i)), this.activityRemapper.remapStatsResponse(a.data);
|
|
1061
1061
|
}));
|
|
1062
1062
|
this.activityRemapper = new xH();
|
|
1063
1063
|
}
|
|
@@ -2120,12 +2120,12 @@ var Ud = class {
|
|
|
2120
2120
|
l(this, "standingGameRemapper", null);
|
|
2121
2121
|
l(this, "getBracketGames", (r, n) => F(this, null, function* () {
|
|
2122
2122
|
let i = r ? `/custom/bracket${this.apiSignInUrl}${r.constructMainFiltersUrl()}` : `/custom/bracket${this.apiSignInUrl}`;
|
|
2123
|
-
It(n) && (i +=
|
|
2123
|
+
It(n) && (i += yt());
|
|
2124
2124
|
let a = "There was a problem with fetching bracket games list", o = yield this.fetchWithoutAuth(i, a);
|
|
2125
2125
|
return this.bracketGameRemapper.remapBracketGames(o);
|
|
2126
2126
|
}));
|
|
2127
2127
|
l(this, "getBracketGameById", (r, n) => F(this, null, function* () {
|
|
2128
|
-
let i = It(n) ? `/custom/bracket/${r}${this.apiSignInUrl}${
|
|
2128
|
+
let i = It(n) ? `/custom/bracket/${r}${this.apiSignInUrl}${yt()}` : `/custom/bracket/${r}${this.apiSignInUrl}`, a = "There was a problem with fetching bracket game with the following ID: " + r, o = yield this.fetchWithoutAuth(i, a);
|
|
2129
2129
|
return this.bracketGameRemapper.remapBracketGameById(o);
|
|
2130
2130
|
}));
|
|
2131
2131
|
l(this, "makeBracketGamePrediction", (r, n) => F(this, null, function* () {
|
|
@@ -2142,29 +2142,29 @@ var Ud = class {
|
|
|
2142
2142
|
}));
|
|
2143
2143
|
l(this, "getBracketGamePredictionsForUser", (r, n, i, a) => F(this, null, function* () {
|
|
2144
2144
|
let o = i ? `/custom/bracket/${r}/predictions${this.apiSignInUrl}&profile_id=${n}${i.constructMainFiltersUrl()}` : `/custom/bracket/${r}/predictions${this.apiSignInUrl}&profile_id=${n}`;
|
|
2145
|
-
It(a) && (o +=
|
|
2145
|
+
It(a) && (o += yt());
|
|
2146
2146
|
let s = `There was a problem with getting all predictions for user with ID ${n} for bracket game with ID ${r}`, c = yield this.fetchWithoutAuth(o, s);
|
|
2147
2147
|
return this.bracketGameRemapper.remapPredictionsForUser(c);
|
|
2148
2148
|
}));
|
|
2149
2149
|
l(this, "getBracketGamePredictionById", (r, n, i) => F(this, null, function* () {
|
|
2150
|
-
It(i) ? `${r}${n}${this.apiSignInUrl}${
|
|
2150
|
+
It(i) ? `${r}${n}${this.apiSignInUrl}${yt()}` : `${r}${n}${this.apiSignInUrl}`;
|
|
2151
2151
|
let a = JSON.parse(JSON.stringify(a4));
|
|
2152
2152
|
return a.id = n, a.game_id = r, a.tiebreaker = null, Promise.resolve(this.bracketGameRemapper.remapPrediction(a));
|
|
2153
2153
|
}));
|
|
2154
2154
|
l(this, "getBracketGameRankings", (r, n, i) => F(this, null, function* () {
|
|
2155
2155
|
let a = n ? `/custom/bracket/${r}/ranking${this.apiSignInUrl}${n.constructMainFiltersUrl()}` : `/custom/bracket/${r}/ranking${this.apiSignInUrl}`;
|
|
2156
|
-
It(i) && (a +=
|
|
2156
|
+
It(i) && (a += yt());
|
|
2157
2157
|
let o = `There was a problem with getting rankings for bracket game with ID ${r}`, s = yield this.fetchWithoutAuth(a, o);
|
|
2158
2158
|
return this.bracketGameRemapper.remapRankings(s);
|
|
2159
2159
|
}));
|
|
2160
2160
|
l(this, "getStandingsGames", (r, n) => F(this, null, function* () {
|
|
2161
2161
|
let i = r ? `/custom/standing${this.apiSignInUrl}${r.constructMainFiltersUrl()}` : `/custom/standing${this.apiSignInUrl}`;
|
|
2162
|
-
It(n) && (i +=
|
|
2162
|
+
It(n) && (i += yt());
|
|
2163
2163
|
let a = "There was a problem with fetching standings games list", o = yield this.fetchWithoutAuth(i, a);
|
|
2164
2164
|
return this.standingGameRemapper.remapBracketGames(o);
|
|
2165
2165
|
}));
|
|
2166
2166
|
l(this, "getStandingGameById", (r, n) => F(this, null, function* () {
|
|
2167
|
-
let i = It(n) ? `/custom/standing/${r}${this.apiSignInUrl}${
|
|
2167
|
+
let i = It(n) ? `/custom/standing/${r}${this.apiSignInUrl}${yt()}` : `/custom/standing/${r}${this.apiSignInUrl}`, a = "There was a problem with fetching standing game with the following ID: " + r, o = yield this.fetchWithoutAuth(i, a);
|
|
2168
2168
|
return this.standingGameRemapper.remapStandingGameById(o);
|
|
2169
2169
|
}));
|
|
2170
2170
|
l(this, "makeStandingGamePrediction", (r, n) => F(this, null, function* () {
|
|
@@ -2177,13 +2177,13 @@ var Ud = class {
|
|
|
2177
2177
|
}));
|
|
2178
2178
|
l(this, "getStandingGamePredictionsForUser", (r, n, i) => F(this, null, function* () {
|
|
2179
2179
|
let a = `/custom/standing/${r}/predictions${this.apiSignInUrl}&profile_id=${n}`;
|
|
2180
|
-
It(i) && (a +=
|
|
2180
|
+
It(i) && (a += yt());
|
|
2181
2181
|
let o = `There was a problem with getting prediction for user with ID ${n} for standing game with ID ${r}`, s = yield this.fetchWithoutAuth(a, o);
|
|
2182
2182
|
return this.standingGameRemapper.remapPredictionsForUser(s);
|
|
2183
2183
|
}));
|
|
2184
2184
|
l(this, "getStandingGameRankings", (r, n, i) => F(this, null, function* () {
|
|
2185
2185
|
let a = n ? `/custom/standing/${r}/ranking${this.apiSignInUrl}${n.constructMainFiltersUrl()}` : `/custom/standing/${r}/ranking${this.apiSignInUrl}`;
|
|
2186
|
-
It(i) && (a +=
|
|
2186
|
+
It(i) && (a += yt());
|
|
2187
2187
|
let o = `There was a problem with getting rankings for standing game with ID ${r}`, s = yield this.fetchWithoutAuth(a, o);
|
|
2188
2188
|
return this.standingGameRemapper.remapRankings(s);
|
|
2189
2189
|
}));
|
|
@@ -5501,7 +5501,7 @@ var Ud = class {
|
|
|
5501
5501
|
l(this, "getNewLoyaltyConfig", (e) => F(this, null, function* () {
|
|
5502
5502
|
let r = `/clients/${this.clientId}/features`, n = this.apiSignInUrl.split("&")[0], i = "There was a problem fetching client features from Client API";
|
|
5503
5503
|
if (e) {
|
|
5504
|
-
let o = r + n +
|
|
5504
|
+
let o = r + n + yt(), s = yield this.fetchWithoutAuthAdditionalHeaders(o, i, { "x-api-version": "2" });
|
|
5505
5505
|
yield this.localStorage.setClientFeatures(s.data);
|
|
5506
5506
|
}
|
|
5507
5507
|
let a = yield this.getCachedFeatures();
|
|
@@ -5513,7 +5513,7 @@ var Ud = class {
|
|
|
5513
5513
|
}));
|
|
5514
5514
|
l(this, "getListContent", (e, r, n) => F(this, null, function* () {
|
|
5515
5515
|
let i = `/clients/${this.clientId}/lists/${e}/content${this.apiSignInUrl}`;
|
|
5516
|
-
r && (i += r.constructFiltersUrl()), It(n) && (i +=
|
|
5516
|
+
r && (i += r.constructFiltersUrl()), It(n) && (i += yt());
|
|
5517
5517
|
let a = "There was a problem fetching client list content", o = yield this.fetchWithoutAuth(i, a);
|
|
5518
5518
|
return this.listContentRemapper.remapListContent(o);
|
|
5519
5519
|
}));
|
|
@@ -6426,7 +6426,7 @@ var Ud = class {
|
|
|
6426
6426
|
for (let u of s) {
|
|
6427
6427
|
r.matchIds = u, r.limit = u.length;
|
|
6428
6428
|
let d = !0, p = `/matches${this.apiSignInUrl}${r.constructFilterUrl(d)}&limit=${u.length}`;
|
|
6429
|
-
n && (p +=
|
|
6429
|
+
n && (p += yt());
|
|
6430
6430
|
let h = yield this.fetchWithoutAuth(p, a);
|
|
6431
6431
|
o.push(h.data.map((f) => this.matchBasicRemapper.fromResponse(f)));
|
|
6432
6432
|
}
|
|
@@ -6434,7 +6434,7 @@ var Ud = class {
|
|
|
6434
6434
|
return i.meta = this.footballService.setMetaDataBatchRequest(c.length, r.limit || 20, r.page || 1), i.data = this.footballService.finalizeMatchesDataBatchRequest(c, r), i;
|
|
6435
6435
|
} else {
|
|
6436
6436
|
let o = `/matches${this.apiSignInUrl}`;
|
|
6437
|
-
r && (o += `${r.constructFilterUrl()}`), n && (o +=
|
|
6437
|
+
r && (o += `${r.constructFilterUrl()}`), n && (o += yt());
|
|
6438
6438
|
let s = yield this.fetchWithoutAuth(o, a);
|
|
6439
6439
|
return i.meta = this.footballMetaRemapper.remapMetaProp(s.meta), i.data = s.data.map((c) => this.matchBasicRemapper.fromResponse(c)), i;
|
|
6440
6440
|
}
|
|
@@ -6808,22 +6808,22 @@ var Ud = class {
|
|
|
6808
6808
|
l(this, "highestSuccessRateRemapper", null);
|
|
6809
6809
|
l(this, "getTemplates", (r, n) => F(this, null, function* () {
|
|
6810
6810
|
let i = r ? `/leaderboard/templates/${this.apiSignInUrl}${r.constructFiltersUrl()}` : `/leaderboard/templates/${this.apiSignInUrl}`;
|
|
6811
|
-
i += It(n) ?
|
|
6811
|
+
i += It(n) ? yt() : "";
|
|
6812
6812
|
let a = "There was a problem fetching the list of templates", o = yield this.fetchWithoutAuth(i, a), s = JSON.parse(JSON.stringify(o));
|
|
6813
6813
|
return s.meta = this.templateRemapper.remapMeta(o.meta), s.data = this.templateRemapper.remapResponse(o.data), s;
|
|
6814
6814
|
}));
|
|
6815
6815
|
l(this, "getTemplateById", (r, n) => F(this, null, function* () {
|
|
6816
|
-
let i = It(n) ? `/leaderboard/templates/${r}${this.apiSignInUrl}${
|
|
6816
|
+
let i = It(n) ? `/leaderboard/templates/${r}${this.apiSignInUrl}${yt()}` : `/leaderboard/templates/${r}${this.apiSignInUrl}`, a = `There was a problem requesting the following template: ${r}`, o = yield this.fetchWithoutAuth(i, a);
|
|
6817
6817
|
return this.templateRemapper.remapResponseId(o.data);
|
|
6818
6818
|
}));
|
|
6819
6819
|
l(this, "getLeaderboard", (r, n, i) => F(this, null, function* () {
|
|
6820
|
-
let a = It(n) ? `/leaderboard/${r}${this.apiSignInUrl}${
|
|
6820
|
+
let a = It(n) ? `/leaderboard/${r}${this.apiSignInUrl}${yt()}` : `/leaderboard/${r}${this.apiSignInUrl}`, o = `There was a problem fetching the leaderboard for the following template: ${r}`;
|
|
6821
6821
|
i && (a += `${i.constructFiltersUrl()}`);
|
|
6822
6822
|
let s = yield this.fetchWithoutAuth(a, o), c = JSON.parse(JSON.stringify(s));
|
|
6823
6823
|
return this.leaderboardRemapper.remapResponse(c);
|
|
6824
6824
|
}));
|
|
6825
6825
|
l(this, "getLeaderboardForGame", (r, n, i) => F(this, null, function* () {
|
|
6826
|
-
let a = It(n) ? `/leaderboard/games/${r}${this.apiSignInUrl}${
|
|
6826
|
+
let a = It(n) ? `/leaderboard/games/${r}${this.apiSignInUrl}${yt()}` : `/leaderboard/games/${r}${this.apiSignInUrl}`, o = `There was a problem fetching the leaderboard for the following game: ${r}`;
|
|
6827
6827
|
i && (a += `${i.constructFiltersUrl()}`);
|
|
6828
6828
|
let s = yield this.fetchWithoutAuth(a, o), c = JSON.parse(JSON.stringify(s));
|
|
6829
6829
|
return this.leaderboardRemapper.remapResponse(c);
|
|
@@ -6836,18 +6836,18 @@ var Ud = class {
|
|
|
6836
6836
|
}));
|
|
6837
6837
|
l(this, "getUserRankings", (r, n, i) => F(this, null, function* () {
|
|
6838
6838
|
let a = `/leaderboard/users/${r}/rankings${this.apiSignInUrl}`, o = `There was a problem fetching the rankings for the following user: ${r}`;
|
|
6839
|
-
n && (a += `${n.constructFiltersUrl()}`), It(i) && (a += `${
|
|
6839
|
+
n && (a += `${n.constructFiltersUrl()}`), It(i) && (a += `${yt()}`);
|
|
6840
6840
|
let s = yield this.fetchWithoutAuth(a, o);
|
|
6841
6841
|
return this.rankingsRemapper.remapRankings(s);
|
|
6842
6842
|
}));
|
|
6843
6843
|
l(this, "getHighestSuccessRate", (r, n) => F(this, null, function* () {
|
|
6844
6844
|
let i = `/statistics/top${this.apiSignInUrl}`, a = "There was a problem fetching highest success rate";
|
|
6845
|
-
r && (i += `${r.constructFiltersUrl()}`), It(n) && (i += `${
|
|
6845
|
+
r && (i += `${r.constructFiltersUrl()}`), It(n) && (i += `${yt()}`);
|
|
6846
6846
|
let o = yield this.fetchWithoutAuth(i, a);
|
|
6847
6847
|
return this.highestSuccessRateRemapper.remapHighestSuccessRate(o.data);
|
|
6848
6848
|
}));
|
|
6849
6849
|
l(this, "getEntitiesFollows", (r, n) => F(this, null, function* () {
|
|
6850
|
-
let i = It(n) ? `/statistics/follows${this.apiSignInUrl}${
|
|
6850
|
+
let i = It(n) ? `/statistics/follows${this.apiSignInUrl}${yt()}` : `/statistics/follows${this.apiSignInUrl}`;
|
|
6851
6851
|
return r.footballCompetitions && (i += `&competitions=${r.footballCompetitions.join(",")}`), r.footballTeams && (i += `&teams=${r.footballTeams.join(",")}`), r.footballPlayers && (i += `&players=${r.footballPlayers.join(",")}`), (yield this.fetchWithoutAuth(i, "There was a problem fetching follows for entities")).data;
|
|
6852
6852
|
}));
|
|
6853
6853
|
l(this, "getUserRankingsForPrivateLeagueAndChallenges", (r, n, i) => F(this, null, function* () {
|
|
@@ -6963,7 +6963,7 @@ var Ud = class {
|
|
|
6963
6963
|
}));
|
|
6964
6964
|
l(this, "getById", (r, n, i) => F(this, null, function* () {
|
|
6965
6965
|
let a = `/leagues/${r}` + this.apiSignInUrl;
|
|
6966
|
-
It(i) && (a +=
|
|
6966
|
+
It(i) && (a += yt());
|
|
6967
6967
|
let o = `There was a problem getting ${n === "PRIVATE_LEAGUE" ? "private league" : "challenge"}`, s = yield this.fetchWithAuth(a, o);
|
|
6968
6968
|
return this.remapper.remapToPrivateLeagueById(s.data);
|
|
6969
6969
|
}));
|
|
@@ -7566,7 +7566,7 @@ var km = class {
|
|
|
7566
7566
|
return yield this.predictionRemapper.remapResponseObjBody(o);
|
|
7567
7567
|
}));
|
|
7568
7568
|
l(this, "getMatchSummary", (r, n) => F(this, null, function* () {
|
|
7569
|
-
let i = It(n) ? `/predictions/summary/${r}${this.apiSignInUrl}${
|
|
7569
|
+
let i = It(n) ? `/predictions/summary/${r}${this.apiSignInUrl}${yt()}` : `/predictions/summary/${r}${this.apiSignInUrl}`, a = `There was a problem fetching predictions for match: ${r}`, o = yield this.fetchWithoutAuth(i, a);
|
|
7570
7570
|
return this.matchSummaryRemapper.remapResponse(o);
|
|
7571
7571
|
}));
|
|
7572
7572
|
l(this, "deleteFootballPrediction", (r) => F(this, null, function* () {
|
|
@@ -7584,7 +7584,7 @@ var km = class {
|
|
|
7584
7584
|
return yield this.fetchWithAuth(n, "There was a problem fetching own predictions");
|
|
7585
7585
|
}));
|
|
7586
7586
|
l(this, "getUserPredictions", (r, n, i) => F(this, null, function* () {
|
|
7587
|
-
let a = new Xn(), o = It(n) ? `/predictions/users/${r}${this.apiSignInUrl}${
|
|
7587
|
+
let a = new Xn(), o = It(n) ? `/predictions/users/${r}${this.apiSignInUrl}${yt()}` : `/predictions/users/${r}${this.apiSignInUrl}`, s = `There was a problem fetching predictions for user: ${r}`;
|
|
7588
7588
|
i && (o += `${i.constructFiltersUrl()}`);
|
|
7589
7589
|
let c = yield this.fetchWithoutAuth(o, s);
|
|
7590
7590
|
return a.meta = this.metaRemapper.remapMetaData(c.meta), a.data = yield this.predictionRemapper.remapResponseArrayBody(c.data), a;
|
|
@@ -7594,40 +7594,40 @@ var km = class {
|
|
|
7594
7594
|
return yield this.fetchWithoutAuth(i, a);
|
|
7595
7595
|
}));
|
|
7596
7596
|
l(this, "getGames", (r, n) => F(this, null, function* () {
|
|
7597
|
-
let i = It(n) ? `/games/${this.apiSignInUrl}${r.constructFiltersUrl()}${
|
|
7597
|
+
let i = It(n) ? `/games/${this.apiSignInUrl}${r.constructFiltersUrl()}${yt()}` : `/games/${this.apiSignInUrl}${r.constructFiltersUrl()}`, a = "There was a problem fetching the games list", o = yield this.fetchWithoutAuth(i, a);
|
|
7598
7598
|
return this.gamesRemapper.remapPaginatedGames(o);
|
|
7599
7599
|
}));
|
|
7600
7600
|
l(this, "getGameById", (r, n) => F(this, null, function* () {
|
|
7601
|
-
let i = It(n) ? `/games/${r}${this.apiSignInUrl}${
|
|
7601
|
+
let i = It(n) ? `/games/${r}${this.apiSignInUrl}${yt()}` : `/games/${r}${this.apiSignInUrl}`, a = `There was a problem fetching the following game: ${r}`, o = yield this.fetchWithoutAuth(i, a);
|
|
7602
7602
|
return this.gamesRemapper.remapGameByIdResponse(o);
|
|
7603
7603
|
}));
|
|
7604
7604
|
l(this, "getGamePredictions", (r, n, i) => F(this, null, function* () {
|
|
7605
|
-
let a = new Xn(), o = It(n) ? `/games/${r}/predictions${this.apiSignInUrl}${
|
|
7605
|
+
let a = new Xn(), o = It(n) ? `/games/${r}/predictions${this.apiSignInUrl}${yt()}` : `/games/${r}/predictions${this.apiSignInUrl}`, s = `There was a problem fetching the predictions for game: ${r}`;
|
|
7606
7606
|
i && (o += `${i.constructFiltersUrl()}`);
|
|
7607
7607
|
let c = yield this.fetchWithoutAuth(o, s);
|
|
7608
7608
|
return a.meta = this.metaRemapper.remapMetaData(c.meta), a.data = yield this.predictionRemapper.remapResponseArrayBody(c.data), a;
|
|
7609
7609
|
}));
|
|
7610
7610
|
l(this, "getUserGameEditions", (r, n) => F(this, null, function* () {
|
|
7611
|
-
let i = null, a = It(n) ? `/games/${this.apiSignInUrl}${r.constructFiltersUrl()}${
|
|
7611
|
+
let i = null, a = It(n) ? `/games/${this.apiSignInUrl}${r.constructFiltersUrl()}${yt()}` : `/games/${this.apiSignInUrl}${r.constructFiltersUrl()}`, o = "There was a problem fetching the games list", s = yield this.fetchWithoutAuth(a, o);
|
|
7612
7612
|
return s.data.forEach((c) => {
|
|
7613
7613
|
c.type === "TOP_X" ? i = this.gamesRemapper.remapPaginatedUserTopXEditions(s) : c.type === "MATCH_QUIZ" && (i = this.gamesRemapper.remapPaginatedUserMathQuizEditions(s));
|
|
7614
7614
|
}), i;
|
|
7615
7615
|
}));
|
|
7616
7616
|
l(this, "getGameResults", (r, n, i) => F(this, null, function* () {
|
|
7617
|
-
let a = It(n) ? `/games/${r}/results/${this.apiSignInUrl}${
|
|
7617
|
+
let a = It(n) ? `/games/${r}/results/${this.apiSignInUrl}${yt()}` : `/games/${r}/results/${this.apiSignInUrl}`, o = `There was a problem fetching the results for the following game: ${r}`;
|
|
7618
7618
|
i && (a += `${i.constructMainFiltersUrl()}`);
|
|
7619
7619
|
let s = yield this.fetchWithoutAuth(a, o);
|
|
7620
7620
|
return this.gamesRemapper.remapPaginatedGameResults(s);
|
|
7621
7621
|
}));
|
|
7622
7622
|
l(this, "getMarketResultsForGame", (r, n) => F(this, null, function* () {
|
|
7623
7623
|
let i = `/games/${r}/correct-results/${this.apiSignInUrl}`, a = `There was a problem fetching the markets correct results for the following game: ${r}`;
|
|
7624
|
-
It(n) && (i += `${
|
|
7624
|
+
It(n) && (i += `${yt()}`);
|
|
7625
7625
|
let o = yield this.fetchWithoutAuth(i, a);
|
|
7626
7626
|
return this.gamesRemapper.remapGameMarketsResults(o.data);
|
|
7627
7627
|
}));
|
|
7628
7628
|
l(this, "getContestWinners", (r, n) => F(this, null, function* () {
|
|
7629
7629
|
let i = `/winners/${this.apiSignInUrl}&contest_id=${r}`, a = `There was a problem fetching winners for the following game: ${r}`;
|
|
7630
|
-
n && (i +=
|
|
7630
|
+
n && (i += yt());
|
|
7631
7631
|
let o = yield this.fetchWithoutAuth(i, a);
|
|
7632
7632
|
return this.gamesRemapper.remapContestWinners(o);
|
|
7633
7633
|
}));
|
|
@@ -8079,13 +8079,13 @@ var km = class {
|
|
|
8079
8079
|
l(this, "eitherOrRemapper", null);
|
|
8080
8080
|
l(this, "getClassicQuizzes", (e, r) => F(this, null, function* () {
|
|
8081
8081
|
let n = `/classic-quizzes${this.apiSignInUrl}`;
|
|
8082
|
-
e && (n += e.constructMainFiltersUrl()), n += It(r) ?
|
|
8082
|
+
e && (n += e.constructMainFiltersUrl()), n += It(r) ? yt() : "";
|
|
8083
8083
|
let i = "There was a problem with fetching classic quizzes", a = yield this.fetchWithoutAuth(n, i);
|
|
8084
8084
|
return this.classicQuizRemapper.remapClassicQuizzes(a);
|
|
8085
8085
|
}));
|
|
8086
8086
|
l(this, "getClassicQuizById", (e, r, n) => F(this, null, function* () {
|
|
8087
8087
|
let i = `/classic-quizzes/${e}${this.apiSignInUrl}`;
|
|
8088
|
-
r && (i += `&include_correct_options=${r}`), It(n) && (i +=
|
|
8088
|
+
r && (i += `&include_correct_options=${r}`), It(n) && (i += yt());
|
|
8089
8089
|
let a = "There was a problem with fetching classic quiz by ID", o = yield this.fetchWithoutAuth(i, a);
|
|
8090
8090
|
return this.classicQuizRemapper.remapClassicQuizById(o.data);
|
|
8091
8091
|
}));
|
|
@@ -8117,19 +8117,19 @@ var km = class {
|
|
|
8117
8117
|
}));
|
|
8118
8118
|
l(this, "getClassicQuizResultsSummary", (e, r) => F(this, null, function* () {
|
|
8119
8119
|
let n = `/classic-quizzes/${e}/results-summary${this.apiSignInUrl}`;
|
|
8120
|
-
It(r) && (n +=
|
|
8120
|
+
It(r) && (n += yt());
|
|
8121
8121
|
let i = "There was a problem with fetching classic quiz results summary", a = yield this.fetchWithoutAuth(n, i);
|
|
8122
8122
|
return this.classicQuizRemapper.remapClassicQuizResultsSummary(a.data);
|
|
8123
8123
|
}));
|
|
8124
8124
|
l(this, "getEitherOrs", (e, r) => F(this, null, function* () {
|
|
8125
8125
|
let n = `/either-or${this.apiSignInUrl}`;
|
|
8126
|
-
e && (n += e.constructMainFiltersUrl()), n += It(r) ?
|
|
8126
|
+
e && (n += e.constructMainFiltersUrl()), n += It(r) ? yt() : "";
|
|
8127
8127
|
let i = "There was a problem with fetching list of Either/Ors", a = yield this.fetchWithoutAuth(n, i);
|
|
8128
8128
|
return this.eitherOrRemapper.remapEitherOrs(a);
|
|
8129
8129
|
}));
|
|
8130
8130
|
l(this, "getEitherOrById", (e, r) => F(this, null, function* () {
|
|
8131
8131
|
let n = `/either-or/${e}${this.apiSignInUrl}`;
|
|
8132
|
-
It(r) && (n +=
|
|
8132
|
+
It(r) && (n += yt());
|
|
8133
8133
|
let i = "There was a problem with fetching Either/Or by ID", a = yield this.fetchWithoutAuth(n, i);
|
|
8134
8134
|
return this.eitherOrRemapper.remapEitherOrById(a.data);
|
|
8135
8135
|
}));
|
|
@@ -8138,7 +8138,7 @@ var km = class {
|
|
|
8138
8138
|
return this.eitherOrRemapper.remapEitherOrOwnStats(i.data);
|
|
8139
8139
|
}));
|
|
8140
8140
|
l(this, "getEitherOrResults", (e, r) => F(this, null, function* () {
|
|
8141
|
-
let n = `/either-or/${e}/results${this.apiSignInUrl}${It(r) ?
|
|
8141
|
+
let n = `/either-or/${e}/results${this.apiSignInUrl}${It(r) ? yt() : ""}`, i = "There was a problem with fetching Either/Or results", a = yield this.fetchWithoutAuth(n, i);
|
|
8142
8142
|
return this.eitherOrRemapper.remapEitherOrResults(a.data);
|
|
8143
8143
|
}));
|
|
8144
8144
|
l(this, "participateInEitherOr", (e, r) => F(this, null, function* () {
|
|
@@ -9401,7 +9401,7 @@ var km = class {
|
|
|
9401
9401
|
l(this, "remapper", null);
|
|
9402
9402
|
l(this, "getAll", (r, n) => F(this, null, function* () {
|
|
9403
9403
|
let i = "/discussions" + this.apiSignInUrl;
|
|
9404
|
-
r && (i += `${r.constructMainFiltersUrl()}`), It(n) && (i +=
|
|
9404
|
+
r && (i += `${r.constructMainFiltersUrl()}`), It(n) && (i += yt());
|
|
9405
9405
|
let a = "There was a problem getting discussions", o = yield this.fetchWithoutAuth(i, a);
|
|
9406
9406
|
return this.remapper.remapToDiscussions(o);
|
|
9407
9407
|
}));
|
|
@@ -9453,19 +9453,19 @@ var km = class {
|
|
|
9453
9453
|
}));
|
|
9454
9454
|
l(this, "getUserPosts", (r, n, i) => F(this, null, function* () {
|
|
9455
9455
|
let a = `/posts/users/${r}` + this.apiSignInUrl;
|
|
9456
|
-
n && (a += `${n.constructMainFiltersUrl()}`), It(i) && (a +=
|
|
9456
|
+
n && (a += `${n.constructMainFiltersUrl()}`), It(i) && (a += yt());
|
|
9457
9457
|
let o = "There was a problem getting user's posts", s = yield this.fetchWithoutAuth(a, o);
|
|
9458
9458
|
return this.remapper.remapToPosts(s);
|
|
9459
9459
|
}));
|
|
9460
9460
|
l(this, "getPostsCount", (r, n) => F(this, null, function* () {
|
|
9461
9461
|
let i = "/discussions/posts/count" + this.apiSignInUrl + `&discussion_ids=${r.join(",")}`;
|
|
9462
|
-
It(n) && (i +=
|
|
9462
|
+
It(n) && (i += yt());
|
|
9463
9463
|
let a = "There was a problem getting posts count for discussions", o = yield this.fetchWithoutAuth(i, a);
|
|
9464
9464
|
return this.remapper.remapToPostCount(o.data);
|
|
9465
9465
|
}));
|
|
9466
9466
|
l(this, "getTopDiscussions", (r, n) => F(this, null, function* () {
|
|
9467
9467
|
let i = "/discussions/top" + this.apiSignInUrl;
|
|
9468
|
-
r && (i += `${r.constructMainFiltersUrl()}`), It(n) && (i +=
|
|
9468
|
+
r && (i += `${r.constructMainFiltersUrl()}`), It(n) && (i += yt());
|
|
9469
9469
|
let a = "There was a problem getting top discussions", o = yield this.fetchWithoutAuth(i, a);
|
|
9470
9470
|
return this.remapper.remapToDiscussions(o);
|
|
9471
9471
|
}));
|
|
@@ -9918,13 +9918,13 @@ var km = class {
|
|
|
9918
9918
|
l(this, "playerOfTheMatchRemapper", null);
|
|
9919
9919
|
l(this, "getPolls", (r, n) => F(this, null, function* () {
|
|
9920
9920
|
let i = `/polls${this.apiSignInUrl}`;
|
|
9921
|
-
r && (i += r.constructMainFiltersUrl()), It(n) && (i +=
|
|
9921
|
+
r && (i += r.constructMainFiltersUrl()), It(n) && (i += yt());
|
|
9922
9922
|
let a = "There was a problem fetching polls", o = yield this.fetchWithoutAuth(i, a);
|
|
9923
9923
|
return this.pollRemapper.remapPolls(o);
|
|
9924
9924
|
}));
|
|
9925
9925
|
l(this, "getPollById", (r, n) => F(this, null, function* () {
|
|
9926
9926
|
let i = `/polls/${r}${this.apiSignInUrl}`;
|
|
9927
|
-
It(n) && (i +=
|
|
9927
|
+
It(n) && (i += yt());
|
|
9928
9928
|
let a = "There was a problem fetching the following poll: " + r, o = yield this.fetchWithoutAuth(i, a);
|
|
9929
9929
|
return this.pollRemapper.remapPollById(o.data);
|
|
9930
9930
|
}));
|
|
@@ -9961,7 +9961,7 @@ var km = class {
|
|
|
9961
9961
|
return this.playerOfTheMatchRemapper.remapUserVotes(a);
|
|
9962
9962
|
}));
|
|
9963
9963
|
l(this, "getResultsForPlayerOfTheMatch", (r, n) => F(this, null, function* () {
|
|
9964
|
-
let i = `/football/potm/${r}${this.apiSignInUrl}${It(n) ?
|
|
9964
|
+
let i = `/football/potm/${r}${this.apiSignInUrl}${It(n) ? yt() : ""}`, a = "There was a problem fetching results for 'Player of the match'", o = yield this.fetchWithoutAuth(i, a);
|
|
9965
9965
|
return this.playerOfTheMatchRemapper.remapResults(o);
|
|
9966
9966
|
}));
|
|
9967
9967
|
this.pollRemapper = new nW(), this.playerOfTheMatchRemapper = new rW();
|
|
@@ -76493,7 +76493,7 @@ const yh = (t) => (t == null ? void 0 : t.main) || (t == null ? void 0 : t.cover
|
|
|
76493
76493
|
},
|
|
76494
76494
|
urls: { primary_url: "", secondary_url: "", privacy_policy_url: "", terms_and_conditions_url: "", additional_url: "" },
|
|
76495
76495
|
images: { main_logo: "", mobile_logo: "", background_image: "", mobile_background_image: "", additional_image: "" }
|
|
76496
|
-
},
|
|
76496
|
+
}, vt = {
|
|
76497
76497
|
ar: { key: "ar", name: "Arabic" },
|
|
76498
76498
|
bg: { key: "bg", name: "Bulgarian" },
|
|
76499
76499
|
da: { key: "da", name: "Danish" },
|
|
@@ -76502,6 +76502,7 @@ const yh = (t) => (t == null ? void 0 : t.main) || (t == null ? void 0 : t.cover
|
|
|
76502
76502
|
el: { key: "el", name: "Greek" },
|
|
76503
76503
|
es: { key: "es", name: "Spanish" },
|
|
76504
76504
|
fr: { key: "fr", name: "French" },
|
|
76505
|
+
hi: { key: "hi", name: "Hindi" },
|
|
76505
76506
|
hu: { key: "hu", name: "Hungarian" },
|
|
76506
76507
|
it: { key: "it", name: "Italian" },
|
|
76507
76508
|
nl: { key: "nl", name: "Dutch" },
|
|
@@ -76513,42 +76514,43 @@ const yh = (t) => (t == null ? void 0 : t.main) || (t == null ? void 0 : t.cover
|
|
|
76513
76514
|
sv: { key: "sv", name: "Swedish" },
|
|
76514
76515
|
sw: { key: "sw", name: "Swahili" }
|
|
76515
76516
|
}, qu = {
|
|
76516
|
-
ar:
|
|
76517
|
-
"ar-dz":
|
|
76518
|
-
"ar-bh":
|
|
76519
|
-
"ar-eg":
|
|
76520
|
-
"ar-iq":
|
|
76521
|
-
"ar-jo":
|
|
76522
|
-
"ar-kw":
|
|
76523
|
-
"ar-lb":
|
|
76524
|
-
"ar-ly":
|
|
76525
|
-
"ar-ma":
|
|
76526
|
-
"ar-om":
|
|
76527
|
-
"ar-qa":
|
|
76528
|
-
"ar-sa":
|
|
76529
|
-
"ar-sy":
|
|
76530
|
-
"ar-tn":
|
|
76531
|
-
"ar-ae":
|
|
76532
|
-
"ar-ye":
|
|
76533
|
-
bg:
|
|
76534
|
-
da:
|
|
76535
|
-
de:
|
|
76536
|
-
en:
|
|
76537
|
-
"en-gb":
|
|
76538
|
-
"en-us":
|
|
76539
|
-
el:
|
|
76540
|
-
es:
|
|
76541
|
-
fr:
|
|
76542
|
-
|
|
76543
|
-
|
|
76544
|
-
|
|
76545
|
-
|
|
76546
|
-
|
|
76547
|
-
|
|
76548
|
-
|
|
76549
|
-
|
|
76550
|
-
|
|
76551
|
-
|
|
76517
|
+
ar: vt.ar,
|
|
76518
|
+
"ar-dz": vt.ar,
|
|
76519
|
+
"ar-bh": vt.ar,
|
|
76520
|
+
"ar-eg": vt.ar,
|
|
76521
|
+
"ar-iq": vt.ar,
|
|
76522
|
+
"ar-jo": vt.ar,
|
|
76523
|
+
"ar-kw": vt.ar,
|
|
76524
|
+
"ar-lb": vt.ar,
|
|
76525
|
+
"ar-ly": vt.ar,
|
|
76526
|
+
"ar-ma": vt.ar,
|
|
76527
|
+
"ar-om": vt.ar,
|
|
76528
|
+
"ar-qa": vt.ar,
|
|
76529
|
+
"ar-sa": vt.ar,
|
|
76530
|
+
"ar-sy": vt.ar,
|
|
76531
|
+
"ar-tn": vt.ar,
|
|
76532
|
+
"ar-ae": vt.ar,
|
|
76533
|
+
"ar-ye": vt.ar,
|
|
76534
|
+
bg: vt.bg,
|
|
76535
|
+
da: vt.da,
|
|
76536
|
+
de: vt.de,
|
|
76537
|
+
en: vt.en,
|
|
76538
|
+
"en-gb": vt.en,
|
|
76539
|
+
"en-us": vt.en,
|
|
76540
|
+
el: vt.el,
|
|
76541
|
+
es: vt.es,
|
|
76542
|
+
fr: vt.fr,
|
|
76543
|
+
hi: vt.hi,
|
|
76544
|
+
hu: vt.hu,
|
|
76545
|
+
it: vt.it,
|
|
76546
|
+
nl: vt.nl,
|
|
76547
|
+
pt: vt.pt,
|
|
76548
|
+
"pt-br": vt["pt-br"],
|
|
76549
|
+
ro: vt.ro,
|
|
76550
|
+
sk: vt.sk,
|
|
76551
|
+
sr: vt.sr,
|
|
76552
|
+
sv: vt.sv,
|
|
76553
|
+
sw: vt.sw
|
|
76552
76554
|
};
|
|
76553
76555
|
var Ua = /* @__PURE__ */ ((t) => (t.SHOW_DESCRIPTION = "show_description", t.SHOW_IMAGES = "show_images", t.SHOW_EMBED_CODE = "show_embed_code", t))(Ua || {});
|
|
76554
76556
|
const Hke = [10, 15, 20, 25, 50], Uke = (t) => {
|
|
@@ -76856,7 +76858,7 @@ const Hke = [10, 15, 20, 25, 50], Uke = (t) => {
|
|
|
76856
76858
|
disabled: t.isReadOnly,
|
|
76857
76859
|
value: t.isPollVoted ? t.defaultValue : t.defaultValue || r.languageConfig.default_language,
|
|
76858
76860
|
onChange: (i, a) => t.onChange(a),
|
|
76859
|
-
children: n.map((i) => /* @__PURE__ */ D.jsx(ir, { value: i, children:
|
|
76861
|
+
children: n.map((i) => /* @__PURE__ */ D.jsx(ir, { value: i, children: vt[i].name }, `language-select-${i}`))
|
|
76860
76862
|
}
|
|
76861
76863
|
),
|
|
76862
76864
|
/* @__PURE__ */ D.jsx(Ia, { children: e.languageDescription })
|
|
@@ -77078,7 +77080,7 @@ const Hke = [10, 15, 20, 25, 50], Uke = (t) => {
|
|
|
77078
77080
|
},
|
|
77079
77081
|
disabled: !0,
|
|
77080
77082
|
checked: !0,
|
|
77081
|
-
label:
|
|
77083
|
+
label: vt[t.mainLanguage].name
|
|
77082
77084
|
},
|
|
77083
77085
|
"default-language"
|
|
77084
77086
|
),
|
|
@@ -77087,7 +77089,7 @@ const Hke = [10, 15, 20, 25, 50], Uke = (t) => {
|
|
|
77087
77089
|
{
|
|
77088
77090
|
sx: { my: 0.5 },
|
|
77089
77091
|
checked: e.includes(d),
|
|
77090
|
-
label:
|
|
77092
|
+
label: vt[d].name,
|
|
77091
77093
|
onChange: () => o(d)
|
|
77092
77094
|
},
|
|
77093
77095
|
d
|
|
@@ -77109,7 +77111,7 @@ const Hke = [10, 15, 20, 25, 50], Uke = (t) => {
|
|
|
77109
77111
|
},
|
|
77110
77112
|
children: [
|
|
77111
77113
|
/* @__PURE__ */ D.jsx(Le, { sx: { display: "flex", flexWrap: "wrap", gap: 0.5 }, children: t.languages.map(
|
|
77112
|
-
(e) => e && /* @__PURE__ */ D.jsx(Rl, { disableIndicator: !0, children:
|
|
77114
|
+
(e) => e && /* @__PURE__ */ D.jsx(Rl, { disableIndicator: !0, children: vt[e].name }, e)
|
|
77113
77115
|
) }),
|
|
77114
77116
|
/* @__PURE__ */ D.jsx(ht, { variant: "plain", color: "neutral", onClick: t.onLanguageButtonClick, children: /* @__PURE__ */ D.jsx(G2, {}) })
|
|
77115
77117
|
]
|
|
@@ -77465,7 +77467,7 @@ const UB = ({ filters: t, options: e, showStatusFilter: r = !0, setOptions: n, s
|
|
|
77465
77467
|
),
|
|
77466
77468
|
indicator: null
|
|
77467
77469
|
}), {
|
|
77468
|
-
children: A.map((k) => /* @__PURE__ */ D.jsx(ir, { value: k, children:
|
|
77470
|
+
children: A.map((k) => /* @__PURE__ */ D.jsx(ir, { value: k, children: vt[k].name }, k))
|
|
77469
77471
|
})
|
|
77470
77472
|
)
|
|
77471
77473
|
] }) });
|
|
@@ -86899,7 +86901,7 @@ const r2e = ["xAxis", "yAxis", "series", "width", "height", "margin", "colors",
|
|
|
86899
86901
|
/* @__PURE__ */ D.jsx("td", { children: /* @__PURE__ */ D.jsx(Rt, { title: o.additionalInformation, children: /* @__PURE__ */ D.jsx(dr, { "aria-label": "expand row", variant: "plain", color: "neutral", size: "sm", onClick: c, children: n ? /* @__PURE__ */ D.jsx(W2, {}) : /* @__PURE__ */ D.jsx(V2, {}) }) }) }),
|
|
86900
86902
|
/* @__PURE__ */ D.jsx("td", { scope: "row", children: t.title }),
|
|
86901
86903
|
/* @__PURE__ */ D.jsx("td", { children: /* @__PURE__ */ D.jsx(wn, { color: u(t.status), variant: "solid", size: "sm", children: t.status }) }),
|
|
86902
|
-
/* @__PURE__ */ D.jsx("td", { children: a ? ((p =
|
|
86904
|
+
/* @__PURE__ */ D.jsx("td", { children: a ? ((p = vt[t.language]) == null ? void 0 : p.key) || "N/A" : ((h = vt[t.language]) == null ? void 0 : h.name) || "N/A" }),
|
|
86903
86905
|
d(),
|
|
86904
86906
|
/* @__PURE__ */ D.jsx("td", { children: /* @__PURE__ */ D.jsx(pPe, { poll: t, onClickEdit: e, onDelete: r }) })
|
|
86905
86907
|
] }),
|