be-components 3.5.7 → 3.5.9
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/lib/commonjs/CompetitionManager/components/AthleteSelector.js +52 -75
- package/lib/commonjs/CompetitionManager/components/AthleteSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js +135 -119
- package/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js +69 -62
- package/lib/commonjs/CompetitionManager/components/CompetitionHeader.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js +86 -91
- package/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js +143 -150
- package/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/ContestSelector.js +57 -61
- package/lib/commonjs/CompetitionManager/components/ContestSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js +120 -266
- package/lib/commonjs/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js +35 -32
- package/lib/commonjs/CompetitionManager/components/MarketSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/components/PlayerSelector.js +42 -39
- package/lib/commonjs/CompetitionManager/components/PlayerSelector.js.map +1 -1
- package/lib/commonjs/CompetitionManager/index.js +47 -50
- package/lib/commonjs/CompetitionManager/index.js.map +1 -1
- package/lib/commonjs/MarketComponents/components/OrderBook.js +1 -0
- package/lib/commonjs/MarketComponents/components/OrderBook.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/VouchCard.js +56 -3
- package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/Vouchhtml.js +86 -0
- package/lib/commonjs/ProfileManager/Components/Vouchhtml.js.map +1 -0
- package/lib/module/CompetitionManager/components/AthleteSelector.js +42 -65
- package/lib/module/CompetitionManager/components/AthleteSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js +93 -77
- package/lib/module/CompetitionManager/components/CompetitionContestsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionHeader.js +47 -40
- package/lib/module/CompetitionManager/components/CompetitionHeader.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js +59 -64
- package/lib/module/CompetitionManager/components/CompetitionInfoForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js +108 -115
- package/lib/module/CompetitionManager/components/CompetitionSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/ContestSelector.js +34 -38
- package/lib/module/CompetitionManager/components/ContestSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js +90 -237
- package/lib/module/CompetitionManager/components/ContestSettingsForm.js.map +1 -1
- package/lib/module/CompetitionManager/components/MarketSelector.js +26 -23
- package/lib/module/CompetitionManager/components/MarketSelector.js.map +1 -1
- package/lib/module/CompetitionManager/components/PlayerSelector.js +30 -27
- package/lib/module/CompetitionManager/components/PlayerSelector.js.map +1 -1
- package/lib/module/CompetitionManager/index.js +32 -35
- package/lib/module/CompetitionManager/index.js.map +1 -1
- package/lib/module/MarketComponents/components/OrderBook.js +1 -0
- package/lib/module/MarketComponents/components/OrderBook.js.map +1 -1
- package/lib/module/ProfileManager/Components/VouchCard.js +56 -3
- package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/module/ProfileManager/Components/Vouchhtml.js +80 -0
- package/lib/module/ProfileManager/Components/Vouchhtml.js.map +1 -0
- package/lib/typescript/lib/commonjs/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSettingsForm.d.ts +1 -2
- package/lib/typescript/lib/commonjs/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/index.d.ts +2 -1
- package/lib/typescript/lib/commonjs/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/MarketComponents/components/OrderBook.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ProfileManager/Components/Vouchhtml.d.ts +9 -0
- package/lib/typescript/lib/commonjs/ProfileManager/Components/Vouchhtml.d.ts.map +1 -0
- package/lib/typescript/lib/module/CompetitionManager/components/AthleteSelector.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionContestsForm.d.ts +2 -4
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionHeader.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts +2 -4
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts +2 -4
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSelector.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts +2 -4
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/MarketSelector.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/PlayerSelector.d.ts +1 -2
- package/lib/typescript/lib/module/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/index.d.ts +3 -3
- package/lib/typescript/lib/module/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/OrderBook.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/ProfileManager/Components/Vouchhtml.d.ts +8 -0
- package/lib/typescript/lib/module/ProfileManager/Components/Vouchhtml.d.ts.map +1 -0
- package/lib/typescript/src/CompetitionManager/components/AthleteSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionContestsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionHeader.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -1
- package/lib/typescript/src/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/ContestSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/ContestSettingsForm.d.ts +1 -1
- package/lib/typescript/src/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/MarketSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/components/PlayerSelector.d.ts.map +1 -1
- package/lib/typescript/src/CompetitionManager/index.d.ts +7 -1
- package/lib/typescript/src/CompetitionManager/index.d.ts.map +1 -1
- package/lib/typescript/src/MarketComponents/components/OrderBook.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/Vouchhtml.d.ts +10 -0
- package/lib/typescript/src/ProfileManager/Components/Vouchhtml.d.ts.map +1 -0
- package/package.json +4 -1
- package/src/CompetitionManager/components/AthleteSelector.tsx +32 -52
- package/src/CompetitionManager/components/CompetitionContestsForm.tsx +82 -89
- package/src/CompetitionManager/components/CompetitionHeader.tsx +45 -37
- package/src/CompetitionManager/components/CompetitionInfoForm.tsx +36 -40
- package/src/CompetitionManager/components/CompetitionSettingsForm.tsx +88 -96
- package/src/CompetitionManager/components/ContestSelector.tsx +33 -36
- package/src/CompetitionManager/components/ContestSettingsForm.tsx +58 -179
- package/src/CompetitionManager/components/MarketSelector.tsx +19 -21
- package/src/CompetitionManager/components/PlayerSelector.tsx +23 -26
- package/src/CompetitionManager/index.tsx +22 -25
- package/src/MarketComponents/components/OrderBook.tsx +1 -0
- package/src/ProfileManager/Components/VouchCard.tsx +46 -2
- package/src/ProfileManager/Components/Vouchhtml.ts +87 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlatList } from "react-native";
|
|
2
2
|
import React, { useEffect, useState } from "react";
|
|
3
3
|
import { ManageCompetitionHelpers } from "../api";
|
|
4
|
-
import
|
|
5
|
-
import { Button, Icons, Text } from "../../Components";
|
|
4
|
+
import { Icons, Toggle } from "../../Components";
|
|
6
5
|
import moment from "moment-mini";
|
|
7
|
-
import {
|
|
6
|
+
import { useColors } from "../../constants/useColors";
|
|
7
|
+
import { Button, Text, TextInput, View } from "../../Components/Themed";
|
|
8
8
|
const length_types = ['event'];
|
|
9
9
|
const ContestSettingsForm = ({
|
|
10
10
|
is_valid,
|
|
11
|
-
width,
|
|
12
11
|
competition,
|
|
13
12
|
competition_matches,
|
|
14
13
|
competition_match_markets,
|
|
@@ -16,6 +15,7 @@ const ContestSettingsForm = ({
|
|
|
16
15
|
events,
|
|
17
16
|
onCompetitionUpdate
|
|
18
17
|
}) => {
|
|
18
|
+
const Colors = useColors();
|
|
19
19
|
const [expanded, setExpanded] = useState(false);
|
|
20
20
|
const [draft_competition, setDraftCompetition] = useState(undefined);
|
|
21
21
|
const competition_type = competition_types.find(ct => ct.competition_type_id == competition?.competition_type_id);
|
|
@@ -23,66 +23,19 @@ const ContestSettingsForm = ({
|
|
|
23
23
|
useEffect(() => {
|
|
24
24
|
setDraftCompetition(competition);
|
|
25
25
|
}, [competition]);
|
|
26
|
-
const renderCompetitionTypes = data => {
|
|
27
|
-
if (!draft_competition) {
|
|
28
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
29
|
-
}
|
|
30
|
-
const selected = data.item.competition_type_id == competition.competition_type_id ? true : false;
|
|
31
|
-
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
32
|
-
disabled: competition.competition_season_id ? true : false,
|
|
33
|
-
style: {
|
|
34
|
-
minWidth: 75,
|
|
35
|
-
margin: 1,
|
|
36
|
-
borderRadius: 8,
|
|
37
|
-
padding: 10,
|
|
38
|
-
backgroundColor: selected ? Colors.brand.midnight : undefined
|
|
39
|
-
},
|
|
40
|
-
onPress: () => onCompetitionUpdate({
|
|
41
|
-
...draft_competition,
|
|
42
|
-
competition_type_id: data.item.competition_type_id
|
|
43
|
-
})
|
|
44
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
45
|
-
textAlign: "center",
|
|
46
|
-
color: selected ? Colors.shades.white : Colors.brand.midnight,
|
|
47
|
-
weight: selected ? 'bold' : 'regular',
|
|
48
|
-
size: 14
|
|
49
|
-
}, data.item.type_label));
|
|
50
|
-
};
|
|
51
|
-
const renderLengthTypes = data => {
|
|
52
|
-
if (!draft_competition) {
|
|
53
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
54
|
-
}
|
|
55
|
-
const selected = data.item == competition?.length_type ? true : false;
|
|
56
|
-
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
57
|
-
disabled: competition.competition_season_id ? true : false,
|
|
58
|
-
style: {
|
|
59
|
-
minWidth: 75,
|
|
60
|
-
margin: 1,
|
|
61
|
-
borderRadius: 8,
|
|
62
|
-
padding: 10,
|
|
63
|
-
backgroundColor: selected ? Colors.brand.midnight : undefined
|
|
64
|
-
},
|
|
65
|
-
onPress: () => onCompetitionUpdate({
|
|
66
|
-
...draft_competition,
|
|
67
|
-
length_type: data.item
|
|
68
|
-
})
|
|
69
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
70
|
-
textAlign: "center",
|
|
71
|
-
color: selected ? Colors.shades.white : Colors.brand.midnight,
|
|
72
|
-
weight: selected ? 'bold' : 'regular',
|
|
73
|
-
size: 14
|
|
74
|
-
}, data.item.toUpperCase()));
|
|
75
|
-
};
|
|
76
26
|
const renderStartTimeOptions = data => {
|
|
77
27
|
if (!draft_competition) {
|
|
78
28
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
79
29
|
}
|
|
80
30
|
const selected = competition?.scheduled_datetime == data.item.start_time ? true : false;
|
|
81
|
-
return /*#__PURE__*/React.createElement(
|
|
31
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
32
|
+
float: true,
|
|
82
33
|
style: {
|
|
83
34
|
flexDirection: 'row',
|
|
35
|
+
margin: 2,
|
|
84
36
|
alignItems: 'center',
|
|
85
|
-
padding: 10
|
|
37
|
+
padding: 10,
|
|
38
|
+
borderColor: selected ? Colors.text.success : Colors.borders.light
|
|
86
39
|
},
|
|
87
40
|
onPress: () => onCompetitionUpdate({
|
|
88
41
|
...draft_competition,
|
|
@@ -94,16 +47,16 @@ const ContestSettingsForm = ({
|
|
|
94
47
|
width: 25,
|
|
95
48
|
borderRadius: 100,
|
|
96
49
|
borderWidth: 1,
|
|
97
|
-
borderColor: Colors.brand.midnight,
|
|
98
50
|
justifyContent: 'center',
|
|
99
|
-
alignItems: 'center'
|
|
51
|
+
alignItems: 'center',
|
|
52
|
+
borderColor: selected ? Colors.text.success : Colors.borders.light
|
|
100
53
|
}
|
|
101
54
|
}, selected ? /*#__PURE__*/React.createElement(View, {
|
|
102
55
|
style: {
|
|
103
56
|
height: 15,
|
|
104
57
|
width: 15,
|
|
105
58
|
borderRadius: 100,
|
|
106
|
-
backgroundColor: Colors.
|
|
59
|
+
backgroundColor: Colors.text.success
|
|
107
60
|
}
|
|
108
61
|
}) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
|
|
109
62
|
style: {
|
|
@@ -112,15 +65,13 @@ const ContestSettingsForm = ({
|
|
|
112
65
|
}
|
|
113
66
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
114
67
|
weight: "bold",
|
|
115
|
-
size: 14
|
|
116
|
-
color: Colors.brand.midnight
|
|
68
|
+
size: 14
|
|
117
69
|
}, data.item.label), /*#__PURE__*/React.createElement(Text, {
|
|
118
70
|
weight: "semibold",
|
|
119
71
|
style: {
|
|
120
72
|
marginTop: 4
|
|
121
73
|
},
|
|
122
|
-
size: 14
|
|
123
|
-
color: Colors.brand.slate
|
|
74
|
+
size: 14
|
|
124
75
|
}, moment(data.item.start_time).format('MMM DD YYYY hh:mm a'))));
|
|
125
76
|
};
|
|
126
77
|
if (!competition || !draft_competition) {
|
|
@@ -134,127 +85,125 @@ const ContestSettingsForm = ({
|
|
|
134
85
|
initial_balance: draft_competition.initial_balance
|
|
135
86
|
}) ? true : false;
|
|
136
87
|
return /*#__PURE__*/React.createElement(View, {
|
|
88
|
+
float: true,
|
|
137
89
|
style: {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
maxWidth: width,
|
|
141
|
-
flexGrow: 1
|
|
90
|
+
flexGrow: 1,
|
|
91
|
+
borderRadius: 0
|
|
142
92
|
}
|
|
143
|
-
}, /*#__PURE__*/React.createElement(
|
|
93
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
94
|
+
float: true,
|
|
144
95
|
style: {
|
|
145
|
-
|
|
146
|
-
|
|
96
|
+
flexDirection: 'row',
|
|
97
|
+
borderRadius: 0,
|
|
98
|
+
alignItems: 'center'
|
|
147
99
|
},
|
|
148
100
|
onPress: () => setExpanded(!expanded)
|
|
149
101
|
}, is_valid ? /*#__PURE__*/React.createElement(Icons.CheckCirlceIcon, {
|
|
150
102
|
size: 16,
|
|
151
|
-
color: Colors.
|
|
103
|
+
color: Colors.text.success
|
|
152
104
|
}) : /*#__PURE__*/React.createElement(Icons.AlertIcon, {
|
|
153
105
|
size: 16,
|
|
154
|
-
color: Colors.
|
|
106
|
+
color: Colors.text.warning
|
|
155
107
|
}), /*#__PURE__*/React.createElement(View, {
|
|
108
|
+
transparent: true,
|
|
156
109
|
style: {
|
|
157
110
|
flex: 1,
|
|
158
111
|
marginLeft: 10,
|
|
159
112
|
marginRight: 10
|
|
160
113
|
}
|
|
161
114
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
162
|
-
theme: "
|
|
115
|
+
theme: "h1"
|
|
163
116
|
}, "Contest Settings"), /*#__PURE__*/React.createElement(Text, {
|
|
164
117
|
style: {
|
|
165
118
|
marginTop: 3
|
|
166
119
|
},
|
|
167
|
-
theme: "
|
|
120
|
+
theme: "description"
|
|
168
121
|
}, "Manage the settings of how user will interact with the added contests")), is_changed ? /*#__PURE__*/React.createElement(Button, {
|
|
169
122
|
title: "SAVE",
|
|
170
|
-
|
|
171
|
-
title_color: Colors.shades.white,
|
|
172
|
-
backgroundColor: Colors.utility.success,
|
|
123
|
+
type: "success",
|
|
173
124
|
onPress: () => onCompetitionUpdate(draft_competition)
|
|
174
125
|
}) : /*#__PURE__*/React.createElement(Icons.ChevronIcon, {
|
|
175
126
|
direction: expanded ? 'up' : 'down',
|
|
176
|
-
color: Colors.
|
|
127
|
+
color: Colors.text.h1,
|
|
177
128
|
size: 8
|
|
178
129
|
})), expanded ? /*#__PURE__*/React.createElement(View, {
|
|
130
|
+
type: "body",
|
|
179
131
|
style: {
|
|
180
|
-
|
|
181
|
-
padding: 10,
|
|
182
|
-
backgroundColor: Colors.shades.shade100
|
|
132
|
+
padding: 10
|
|
183
133
|
}
|
|
184
134
|
}, /*#__PURE__*/React.createElement(View, {
|
|
185
135
|
nativeID: "competition_type",
|
|
186
136
|
style: {
|
|
187
|
-
...view_styles.body_row,
|
|
188
|
-
flexWrap: 'wrap',
|
|
189
|
-
maxWidth: width,
|
|
190
137
|
borderBottomWidth: 1,
|
|
191
|
-
borderColor: Colors.
|
|
138
|
+
borderColor: Colors.borders.light,
|
|
139
|
+
padding: 10
|
|
192
140
|
}
|
|
193
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
194
|
-
|
|
195
|
-
flex: 1
|
|
196
|
-
}
|
|
197
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
198
|
-
theme: "header_2"
|
|
141
|
+
}, /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
|
|
142
|
+
theme: "h1"
|
|
199
143
|
}, "Competition Type"), /*#__PURE__*/React.createElement(Text, {
|
|
200
144
|
style: {
|
|
201
145
|
marginTop: 3
|
|
202
146
|
},
|
|
203
|
-
theme: "
|
|
147
|
+
theme: "description"
|
|
204
148
|
}, competition_type ? competition_type.description : 'Choose the type of competition this is.')), /*#__PURE__*/React.createElement(View, {
|
|
205
149
|
style: {
|
|
206
|
-
margin: 5
|
|
207
|
-
borderRadius: 8,
|
|
208
|
-
backgroundColor: Colors.shades.white
|
|
150
|
+
margin: 5
|
|
209
151
|
}
|
|
210
|
-
}, /*#__PURE__*/React.createElement(
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
152
|
+
}, /*#__PURE__*/React.createElement(Toggle, {
|
|
153
|
+
options: competition_types.map(t => {
|
|
154
|
+
return {
|
|
155
|
+
key: t.competition_type_id,
|
|
156
|
+
label: t.type
|
|
157
|
+
};
|
|
158
|
+
}),
|
|
159
|
+
selected_option: competition_type?.competition_type_id,
|
|
160
|
+
onSelectOption: option => onCompetitionUpdate({
|
|
161
|
+
...draft_competition,
|
|
162
|
+
competition_type_id: option
|
|
163
|
+
})
|
|
215
164
|
}))), /*#__PURE__*/React.createElement(View, {
|
|
216
165
|
style: {
|
|
217
|
-
|
|
218
|
-
flexWrap: 'wrap',
|
|
219
|
-
maxWidth: width,
|
|
220
|
-
marginTop: 10,
|
|
166
|
+
padding: 10,
|
|
221
167
|
borderBottomWidth: 1,
|
|
222
|
-
borderColor: Colors.
|
|
223
|
-
}
|
|
224
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
225
|
-
style: {
|
|
226
|
-
flex: 1
|
|
168
|
+
borderColor: Colors.borders.light
|
|
227
169
|
}
|
|
228
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
229
|
-
theme: "
|
|
170
|
+
}, /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
|
|
171
|
+
theme: "h1"
|
|
230
172
|
}, "Length Type"), /*#__PURE__*/React.createElement(Text, {
|
|
231
173
|
style: {
|
|
232
174
|
marginTop: 3
|
|
233
175
|
}
|
|
234
176
|
}, "Choose how long this competition will remain open.")), /*#__PURE__*/React.createElement(View, {
|
|
235
177
|
style: {
|
|
236
|
-
|
|
237
|
-
backgroundColor: Colors.shades.white
|
|
178
|
+
margin: 5
|
|
238
179
|
}
|
|
239
|
-
}, /*#__PURE__*/React.createElement(
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
180
|
+
}, /*#__PURE__*/React.createElement(Toggle, {
|
|
181
|
+
options: length_types.map(t => {
|
|
182
|
+
return {
|
|
183
|
+
key: t,
|
|
184
|
+
label: t
|
|
185
|
+
};
|
|
186
|
+
}),
|
|
187
|
+
selected_option: competition.length_type,
|
|
188
|
+
onSelectOption: option => onCompetitionUpdate({
|
|
189
|
+
...draft_competition,
|
|
190
|
+
length_type: option
|
|
191
|
+
})
|
|
244
192
|
}))), competition_type?.type == 'pick' ? /*#__PURE__*/React.createElement(View, {
|
|
193
|
+
type: "row",
|
|
245
194
|
style: {
|
|
246
|
-
|
|
247
|
-
maxWidth: width,
|
|
248
|
-
marginTop: 10,
|
|
195
|
+
padding: 10,
|
|
249
196
|
borderBottomWidth: 1,
|
|
250
|
-
borderColor: Colors.
|
|
197
|
+
borderColor: Colors.borders.light
|
|
251
198
|
}
|
|
252
199
|
}, /*#__PURE__*/React.createElement(View, {
|
|
253
200
|
style: {
|
|
254
|
-
flex: 1
|
|
201
|
+
flex: 1,
|
|
202
|
+
minWidth: 200,
|
|
203
|
+
marginRight: 10
|
|
255
204
|
}
|
|
256
205
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
257
|
-
theme: "
|
|
206
|
+
theme: "h1"
|
|
258
207
|
}, "Max Picks"), /*#__PURE__*/React.createElement(Text, {
|
|
259
208
|
style: {
|
|
260
209
|
marginTop: 3
|
|
@@ -262,7 +211,7 @@ const ContestSettingsForm = ({
|
|
|
262
211
|
}, "The total number of picks allowed by each participant.")), /*#__PURE__*/React.createElement(TextInput, {
|
|
263
212
|
editable: competition.competition_season_id ? false : true,
|
|
264
213
|
style: {
|
|
265
|
-
|
|
214
|
+
flex: 1,
|
|
266
215
|
width: 75,
|
|
267
216
|
textAlign: 'center'
|
|
268
217
|
},
|
|
@@ -271,22 +220,23 @@ const ContestSettingsForm = ({
|
|
|
271
220
|
max_pick_count: text
|
|
272
221
|
}),
|
|
273
222
|
placeholder: "0",
|
|
274
|
-
|
|
275
|
-
|
|
223
|
+
keyboardType: "decimal-pad",
|
|
224
|
+
value: draft_competition.max_pick_count
|
|
276
225
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null), competition_type?.type == 'wager' ? /*#__PURE__*/React.createElement(View, {
|
|
226
|
+
type: "row",
|
|
277
227
|
style: {
|
|
278
|
-
|
|
279
|
-
maxWidth: width,
|
|
228
|
+
padding: 10,
|
|
280
229
|
borderBottomWidth: 1,
|
|
281
|
-
|
|
282
|
-
borderColor: Colors.shades.shade600
|
|
230
|
+
borderColor: Colors.borders.light
|
|
283
231
|
}
|
|
284
232
|
}, /*#__PURE__*/React.createElement(View, {
|
|
285
233
|
style: {
|
|
286
|
-
flex: 1
|
|
234
|
+
flex: 1,
|
|
235
|
+
minWidth: 200,
|
|
236
|
+
marginRight: 10
|
|
287
237
|
}
|
|
288
238
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
289
|
-
theme: "
|
|
239
|
+
theme: "h1"
|
|
290
240
|
}, "Initial Balance"), /*#__PURE__*/React.createElement(Text, {
|
|
291
241
|
style: {
|
|
292
242
|
marginTop: 3
|
|
@@ -294,7 +244,7 @@ const ContestSettingsForm = ({
|
|
|
294
244
|
}, "Initial balance that each player will start with at the beginning of the competition.")), /*#__PURE__*/React.createElement(TextInput, {
|
|
295
245
|
editable: competition.competition_season_id ? false : true,
|
|
296
246
|
style: {
|
|
297
|
-
|
|
247
|
+
flex: 1,
|
|
298
248
|
width: 75,
|
|
299
249
|
textAlign: 'center'
|
|
300
250
|
},
|
|
@@ -303,19 +253,19 @@ const ContestSettingsForm = ({
|
|
|
303
253
|
initial_balance: text
|
|
304
254
|
}),
|
|
305
255
|
placeholder: "0",
|
|
306
|
-
|
|
307
|
-
|
|
256
|
+
keyboardType: "decimal-pad",
|
|
257
|
+
value: draft_competition.initial_balance
|
|
308
258
|
})) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
259
|
+
type: "row",
|
|
309
260
|
style: {
|
|
310
|
-
|
|
311
|
-
marginTop: 10
|
|
261
|
+
padding: 10
|
|
312
262
|
}
|
|
313
263
|
}, /*#__PURE__*/React.createElement(View, {
|
|
314
264
|
style: {
|
|
315
265
|
flex: 1
|
|
316
266
|
}
|
|
317
267
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
318
|
-
theme: "
|
|
268
|
+
theme: "h1"
|
|
319
269
|
}, "Start Time Options"), /*#__PURE__*/React.createElement(Text, {
|
|
320
270
|
style: {
|
|
321
271
|
marginTop: 3
|
|
@@ -323,7 +273,6 @@ const ContestSettingsForm = ({
|
|
|
323
273
|
}, "When should this competition stop allowing entrants."))), /*#__PURE__*/React.createElement(View, {
|
|
324
274
|
style: {
|
|
325
275
|
padding: 10,
|
|
326
|
-
backgroundColor: Colors.shades.shade100,
|
|
327
276
|
borderRadius: 4
|
|
328
277
|
}
|
|
329
278
|
}, /*#__PURE__*/React.createElement(FlatList, {
|
|
@@ -333,100 +282,4 @@ const ContestSettingsForm = ({
|
|
|
333
282
|
})))) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
334
283
|
};
|
|
335
284
|
export default ContestSettingsForm;
|
|
336
|
-
|
|
337
|
-
/*
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
<View style={{ flexDirection:'row', flexWrap:'wrap', padding:10 }}>
|
|
341
|
-
<View nativeID="contest_settings" style={{ flex:1, minWidth:300, padding:10, borderRadius:8, margin:5, backgroundColor:Colors.shades.white }}>
|
|
342
|
-
<View nativeID="header_row" style={{ flexDirection:'row', alignItems:'center', padding:5, borderBottomWidth:1, borderBottomColor:Colors.shades.shade600 }}>
|
|
343
|
-
<Text style={{ flex:1, marginRight:10 }} size={22} color={Colors.brand.slate} weight='bold'>Competition Info</Text>
|
|
344
|
-
</View>
|
|
345
|
-
<View nativeID="competition_type" style={{ flexDirection:'row', flexWrap:'wrap', padding:10, borderBottomWidth:1, borderBottomColor:Colors.shades.white }}>
|
|
346
|
-
<View style={{ flex:1, marginRight:5 }}>
|
|
347
|
-
<Text size={16} color={Colors.brand.midnight} weight='bold'>Length Type</Text>
|
|
348
|
-
<Text size={14} color={Colors.brand.midnight} weight='regular'>Choose how long this competition will remain open.</Text>
|
|
349
|
-
</View>
|
|
350
|
-
|
|
351
|
-
</View>
|
|
352
|
-
{competition_type?.type == 'pick' ?
|
|
353
|
-
<View nativeID="max_picks" style={{ flexDirection:'row', flexWrap:'wrap', padding:10, borderBottomWidth:1, borderBottomColor:Colors.shades.white }}>
|
|
354
|
-
<View style={{ flex:1, marginRight:5 }}>
|
|
355
|
-
<Text size={16} color={Colors.brand.midnight} weight='bold'>Max Picks</Text>
|
|
356
|
-
<Text size={14} color={Colors.brand.midnight} weight='regular'>Maximum number of picks that will be allowed for each player in the competition</Text>
|
|
357
|
-
</View>
|
|
358
|
-
<TextInput
|
|
359
|
-
style={{ padding:10, borderRadius:8, backgroundColor:Colors.shades.white }}
|
|
360
|
-
onChangeText={(text) => onCompetitionUpdate({ ...competition, max_pick_count: text })}
|
|
361
|
-
placeholder="0"
|
|
362
|
-
value={competition.max_pick_count}
|
|
363
|
-
placeholderTextColor={Colors.brand.slate}
|
|
364
|
-
/>
|
|
365
|
-
</View>
|
|
366
|
-
:<></>}
|
|
367
|
-
{competition_type?.type == 'wager' ?
|
|
368
|
-
<View nativeID="wager_balance" style={{ flexDirection:'row', flexWrap:'wrap', padding:10, borderBottomWidth:1, borderBottomColor:Colors.shades.white }}>
|
|
369
|
-
<View style={{ flex:1, marginRight:5 }}>
|
|
370
|
-
<Text size={16} color={Colors.brand.midnight} weight='bold'>Initial Balance</Text>
|
|
371
|
-
<Text size={14} color={Colors.brand.midnight} weight='regular'>Initial balance that each player will start with at the beginning of the competition.</Text>
|
|
372
|
-
</View>
|
|
373
|
-
<TextInput
|
|
374
|
-
style={{ padding:10, borderRadius:8, backgroundColor:Colors.shades.white }}
|
|
375
|
-
onChangeText={(text) => onCompetitionUpdate({ ...competition, initial_balance: text })}
|
|
376
|
-
placeholder="1000"
|
|
377
|
-
value={competition.initial_balance}
|
|
378
|
-
placeholderTextColor={Colors.brand.slate}
|
|
379
|
-
/>
|
|
380
|
-
</View>
|
|
381
|
-
:<></>}
|
|
382
|
-
|
|
383
|
-
</View>
|
|
384
|
-
</View>
|
|
385
|
-
<View style={{ flexDirection:'row', flexWrap:'wrap', padding:10, paddingTop:0 }}>
|
|
386
|
-
<View nativeID="contest_settings" style={{ flex:1, minWidth:300, padding:10, borderRadius:8, margin:5, backgroundColor:Colors.shades.white }}>
|
|
387
|
-
<View nativeID="header_row" style={{ flexDirection:'row', alignItems:'center', padding:5, borderBottomWidth:1, borderBottomColor:Colors.shades.shade600 }}>
|
|
388
|
-
<Text style={{ flex:1, marginRight:10 }} size={22} color={Colors.brand.slate} weight='bold'>Competition Start</Text>
|
|
389
|
-
</View>
|
|
390
|
-
<View nativeID="max_picks" style={{ padding:10, borderBottomWidth:1, borderBottomColor:Colors.shades.white }}>
|
|
391
|
-
<View nativeID="descriptor">
|
|
392
|
-
<Text size={16} color={Colors.brand.midnight} weight='bold'>Start Time</Text>
|
|
393
|
-
<Text size={14} color={Colors.brand.midnight} weight='regular'>The time when tickets can no longer be purchased</Text>
|
|
394
|
-
</View>
|
|
395
|
-
<View style={{ padding:10 }}>
|
|
396
|
-
<FlatList
|
|
397
|
-
data={start_time_options}
|
|
398
|
-
renderItem={renderStartTimeOptions}
|
|
399
|
-
keyExtractor={(item) => item.start_time}
|
|
400
|
-
/>
|
|
401
|
-
</View>
|
|
402
|
-
</View>
|
|
403
|
-
</View>
|
|
404
|
-
</View>
|
|
405
|
-
{competition.length_type == 'time' ?
|
|
406
|
-
<View style={{ flexDirection:'row', flexWrap:'wrap', padding:10 }}>
|
|
407
|
-
<View nativeID="contest_settings" style={{ flex:1, minWidth:300, padding:10, borderRadius:4, marginRight:5, ...styles.float }}>
|
|
408
|
-
<View nativeID="header_row" style={{ flexDirection:'row', alignItems:'center', padding:5, borderBottomWidth:1, borderBottomColor:Colors.shades.shade600 }}>
|
|
409
|
-
<Text style={{ flex:1, marginRight:10 }} size={22} color={Colors.brand.slate} weight='bold'>Competition End Time</Text>
|
|
410
|
-
</View>
|
|
411
|
-
<View nativeID="max_picks" style={{ padding:10, borderBottomWidth:1, borderBottomColor:Colors.shades.white }}>
|
|
412
|
-
<View nativeID="descriptor">
|
|
413
|
-
<Text size={16} color={Colors.brand.midnight} weight='bold'>End Time</Text>
|
|
414
|
-
<Text size={14} color={Colors.brand.midnight} weight='regular'>When will this competition end?</Text>
|
|
415
|
-
</View>
|
|
416
|
-
<View style={{ padding:10 }}>
|
|
417
|
-
<DateTimePicker
|
|
418
|
-
value={competition?.end_datetime}
|
|
419
|
-
onChange={(value:any) => {
|
|
420
|
-
onCompetitionUpdate({ ...competition, end_datetime: value })
|
|
421
|
-
}}
|
|
422
|
-
|
|
423
|
-
/>
|
|
424
|
-
</View>
|
|
425
|
-
</View>
|
|
426
|
-
</View>
|
|
427
|
-
</View>
|
|
428
|
-
:<></>}
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
*/
|
|
432
285
|
//# sourceMappingURL=ContestSettingsForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TextInput","View","FlatList","TouchableOpacity","React","useEffect","useState","ManageCompetitionHelpers","Colors","Button","Icons","Text","moment","view_styles","length_types","ContestSettingsForm","is_valid","width","competition","competition_matches","competition_match_markets","competition_types","events","onCompetitionUpdate","expanded","setExpanded","draft_competition","setDraftCompetition","undefined","competition_type","find","ct","competition_type_id","start_time_options","getStartTimeOptions","renderCompetitionTypes","data","createElement","Fragment","selected","item","disabled","competition_season_id","style","minWidth","margin","borderRadius","padding","backgroundColor","brand","midnight","onPress","textAlign","color","shades","white","weight","size","type_label","renderLengthTypes","length_type","toUpperCase","renderStartTimeOptions","scheduled_datetime","start_time","flexDirection","alignItems","height","borderWidth","borderColor","justifyContent","flex","marginLeft","label","marginTop","slate","format","is_changed","JSON","stringify","max_pick_count","initial_balance","section","maxWidth","flexGrow","section_header","CheckCirlceIcon","utility","success","AlertIcon","warning","marginRight","theme","title","title_color","ChevronIcon","direction","section_body","shade100","nativeID","body_row","flexWrap","borderBottomWidth","shade600","description","renderItem","keyExtractor","toString","horizontal","type","editable","input","onChangeText","text","placeholder","value","placeholderTextColor"],"sourceRoot":"../../../../src","sources":["CompetitionManager/components/ContestSettingsForm.tsx"],"mappings":"AACA,SAASA,SAAS,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,gBAAgB,QAAQ,cAAc;AAC1E,OAAOC,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAGlD,SAASC,wBAAwB,QAAQ,QAAQ;AACjD,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,SAASC,MAAM,EAAEC,KAAK,EAAEC,IAAI,QAAQ,kBAAkB;AACtD,OAAOC,MAAM,MAAM,aAAa;AAChC,SAASC,WAAW,QAAQ,wBAAwB;AAapD,MAAMC,YAA8C,GAAG,CAAC,OAAO,CAAC;AAEhE,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,KAAK;EAAEC,WAAW;EAAEC,mBAAmB;EAAEC,yBAAyB;EAAEC,iBAAiB;EAAEC,MAAM;EAAEC;AAA6C,CAAC,KAAK;EACvL,MAAM,CAAEC,QAAQ,EAAEC,WAAW,CAAE,GAAGnB,QAAQ,CAAC,KAAK,CAAC;EACjD,MAAM,CAAEoB,iBAAiB,EAAEC,mBAAmB,CAAE,GAAGrB,QAAQ,CAA+BsB,SAAS,CAAC;EAEpG,MAAMC,gBAAgB,GAAGR,iBAAiB,CAACS,IAAI,CAACC,EAAE,IAAIA,EAAE,CAACC,mBAAmB,IAAId,WAAW,EAAEc,mB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0D,CACtF,CACJ,CAAC,eACPtE,KAAA,CAAAiC,aAAA,CAACpC,IAAI;IAAC0C,KAAK,EAAE;MAAEI,OAAO,EAAC,EAAE;MAAEC,eAAe,EAACxC,MAAM,CAAC8C,MAAM,CAAC4C,QAAQ;MAAEpD,YAAY,EAAC;IAAE;EAAE,gBAChF1C,KAAA,CAAAiC,aAAA,CAACnC,QAAQ;IACLkC,IAAI,EAAEH,kBAAmB;IACzBwE,UAAU,EAAE3C,sBAAuB;IACnC4C,YAAY,EAAGlE,IAAI,IAAKA,IAAI,CAACwB;EAAW,CAC3C,CACC,CACJ,CACJ,CAAC,gBACN5D,KAAA,CAAAiC,aAAA,CAAAjC,KAAA,CAAAkC,QAAA,MAAI,CACH,CAAC;AAEf,CAAC;AAED,eAAevB,mBAAmB;;AAKlC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["FlatList","React","useEffect","useState","ManageCompetitionHelpers","Icons","Toggle","moment","useColors","Button","Text","TextInput","View","length_types","ContestSettingsForm","is_valid","competition","competition_matches","competition_match_markets","competition_types","events","onCompetitionUpdate","Colors","expanded","setExpanded","draft_competition","setDraftCompetition","undefined","competition_type","find","ct","competition_type_id","start_time_options","getStartTimeOptions","renderStartTimeOptions","data","createElement","Fragment","selected","scheduled_datetime","item","start_time","float","style","flexDirection","margin","alignItems","padding","borderColor","text","success","borders","light","onPress","height","width","borderRadius","borderWidth","justifyContent","backgroundColor","flex","marginLeft","weight","size","label","marginTop","format","is_changed","JSON","stringify","max_pick_count","initial_balance","flexGrow","CheckCirlceIcon","color","AlertIcon","warning","transparent","marginRight","theme","title","type","ChevronIcon","direction","h1","nativeID","borderBottomWidth","description","options","map","t","key","selected_option","onSelectOption","option","length_type","minWidth","editable","competition_season_id","textAlign","onChangeText","placeholder","keyboardType","value","renderItem","keyExtractor"],"sourceRoot":"../../../../src","sources":["CompetitionManager/components/ContestSettingsForm.tsx"],"mappings":"AACA,SAASA,QAAQ,QAAQ,cAAc;AACvC,OAAOC,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAGlD,SAASC,wBAAwB,QAAQ,QAAQ;AACjD,SAASC,KAAK,EAAEC,MAAM,QAAQ,kBAAkB;AAChD,OAAOC,MAAM,MAAM,aAAa;AAChC,SAASC,SAAS,QAAQ,2BAA2B;AACrD,SAASC,MAAM,EAAEC,IAAI,EAAEC,SAAS,EAAEC,IAAI,QAAQ,yBAAyB;AAavE,MAAMC,YAA8C,GAAG,CAAC,OAAO,CAAC;AAEhE,MAAMC,mBAAmB,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,WAAW;EAAEC,mBAAmB;EAAEC,yBAAyB;EAAEC,iBAAiB;EAAEC,MAAM;EAAEC;AAA6C,CAAC,KAAK;EAChL,MAAMC,MAAM,GAAGd,SAAS,CAAC,CAAC;EAC1B,MAAM,CAAEe,QAAQ,EAAEC,WAAW,CAAE,GAAGrB,QAAQ,CAAC,KAAK,CAAC;EACjD,MAAM,CAAEsB,iBAAiB,EAAEC,mBAAmB,CAAE,GAAGvB,QAAQ,CAA+BwB,SAAS,CAAC;EAEpG,MAAMC,gBAAgB,GAAGT,iBAAiB,CAACU,IAAI,CAACC,EAAE,IAAIA,EAAE,CAACC,mBAAmB,IAAIf,WAAW,EA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