be-components 0.1.2 → 0.1.4
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/ApiOverrides/index.js +179 -0
- package/lib/commonjs/ApiOverrides/index.js.map +1 -0
- package/lib/commonjs/ApiOverrides/types.d.js.map +1 -0
- package/lib/commonjs/Assets/images/powered_by_be.webp +0 -0
- package/lib/commonjs/Authenticator/Components/LoginForm.js +491 -0
- package/lib/commonjs/Authenticator/Components/LoginForm.js.map +1 -0
- package/lib/commonjs/{AuthenticateWizard → Authenticator}/Components/StrategyForm.js +81 -58
- package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -0
- package/lib/commonjs/{AuthenticateWizard → Authenticator}/api/index.js +31 -36
- package/lib/commonjs/Authenticator/api/index.js.map +1 -0
- package/lib/commonjs/Authenticator/api/types.d.js +2 -0
- package/lib/commonjs/Authenticator/api/types.d.js.map +1 -0
- package/lib/commonjs/{AuthenticateWizard → Authenticator}/index.js +69 -25
- package/lib/commonjs/Authenticator/index.js.map +1 -0
- package/lib/commonjs/Components/Button.js +1 -1
- package/lib/commonjs/Components/Button.js.map +1 -1
- package/lib/commonjs/Components/Icons.js +115 -0
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/ImageUploader.js +86 -0
- package/lib/commonjs/Components/ImageUploader.js.map +1 -0
- package/lib/commonjs/Components/Spring.js +16 -6
- package/lib/commonjs/Components/Spring.js.map +1 -1
- package/lib/commonjs/Components/TextInput.js +9 -3
- package/lib/commonjs/Components/TextInput.js.map +1 -1
- package/lib/commonjs/Font.css +4 -4
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js +250 -0
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js +135 -0
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +361 -0
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/DOBManager.js +195 -0
- package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/EmailManager.js +287 -0
- package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js +334 -0
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js +291 -0
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js +114 -0
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js +80 -0
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +545 -0
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/VouchCard.js +454 -0
- package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -0
- package/lib/commonjs/ProfileManager/api/index.js +400 -0
- package/lib/commonjs/ProfileManager/api/index.js.map +1 -0
- package/lib/commonjs/ProfileManager/api/types.d.js +2 -0
- package/lib/commonjs/ProfileManager/api/types.d.js.map +1 -0
- package/lib/commonjs/ProfileManager/index.js +128 -0
- package/lib/commonjs/ProfileManager/index.js.map +1 -0
- package/lib/commonjs/constants/styles.js +10 -0
- package/lib/commonjs/constants/styles.js.map +1 -1
- package/lib/commonjs/index.js +24 -10
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/ApiOverrides/index.js +173 -0
- package/lib/module/ApiOverrides/index.js.map +1 -0
- package/lib/module/ApiOverrides/types.d.js.map +1 -0
- package/lib/module/Assets/images/powered_by_be.webp +0 -0
- package/lib/module/Authenticator/Components/LoginForm.js +482 -0
- package/lib/module/Authenticator/Components/LoginForm.js.map +1 -0
- package/lib/module/{AuthenticateWizard → Authenticator}/Components/StrategyForm.js +82 -59
- package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -0
- package/lib/module/{AuthenticateWizard → Authenticator}/api/index.js +31 -36
- package/lib/module/Authenticator/api/index.js.map +1 -0
- package/lib/module/Authenticator/api/types.d.js +2 -0
- package/lib/module/Authenticator/api/types.d.js.map +1 -0
- package/lib/module/Authenticator/index.js +121 -0
- package/lib/module/Authenticator/index.js.map +1 -0
- package/lib/module/Components/Button.js +1 -1
- package/lib/module/Components/Button.js.map +1 -1
- package/lib/module/Components/Icons.js +115 -0
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/ImageUploader.js +78 -0
- package/lib/module/Components/ImageUploader.js.map +1 -0
- package/lib/module/Components/Spring.js +17 -7
- package/lib/module/Components/Spring.js.map +1 -1
- package/lib/module/Components/TextInput.js +9 -3
- package/lib/module/Components/TextInput.js.map +1 -1
- package/lib/module/Font.css +4 -4
- package/lib/module/ProfileManager/Components/BasicInfoManager.js +241 -0
- package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -0
- package/lib/module/ProfileManager/Components/BasicStatus.js +128 -0
- package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -0
- package/lib/module/ProfileManager/Components/CodeRedeem.js +352 -0
- package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -0
- package/lib/module/ProfileManager/Components/DOBManager.js +186 -0
- package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -0
- package/lib/module/ProfileManager/Components/EmailManager.js +278 -0
- package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -0
- package/lib/module/ProfileManager/Components/PasswordManager.js +325 -0
- package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -0
- package/lib/module/ProfileManager/Components/PhoneManager.js +282 -0
- package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -0
- package/lib/module/ProfileManager/Components/ProfilePicManager.js +107 -0
- package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -0
- package/lib/module/ProfileManager/Components/ProfileWelcome.js +73 -0
- package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -0
- package/lib/module/ProfileManager/Components/ProfileWizard.js +537 -0
- package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -0
- package/lib/module/ProfileManager/Components/VouchCard.js +445 -0
- package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -0
- package/lib/module/ProfileManager/api/index.js +394 -0
- package/lib/module/ProfileManager/api/index.js.map +1 -0
- package/lib/module/ProfileManager/api/types.d.js +2 -0
- package/lib/module/ProfileManager/api/types.d.js.map +1 -0
- package/lib/module/ProfileManager/index.js +119 -0
- package/lib/module/ProfileManager/index.js.map +1 -0
- package/lib/module/constants/styles.js +10 -0
- package/lib/module/constants/styles.js.map +1 -1
- package/lib/module/index.js +7 -3
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/ApiOverrides/index.d.ts +24 -0
- package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -0
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts +10 -0
- package/lib/typescript/src/Authenticator/Components/LoginForm.d.ts.map +1 -0
- package/lib/typescript/src/{AuthenticateWizard → Authenticator}/Components/StrategyForm.d.ts +2 -1
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -0
- package/lib/typescript/src/{AuthenticateWizard → Authenticator}/api/index.d.ts +16 -8
- package/lib/typescript/src/Authenticator/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Authenticator/index.d.ts +16 -0
- package/lib/typescript/src/Authenticator/index.d.ts.map +1 -0
- package/lib/typescript/src/Components/Icons.d.ts +3 -0
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Components/ImageUploader.d.ts +11 -0
- package/lib/typescript/src/Components/ImageUploader.d.ts.map +1 -0
- package/lib/typescript/src/Components/Spring.d.ts +2 -1
- package/lib/typescript/src/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/src/Components/TextInput.d.ts +4 -1
- package/lib/typescript/src/Components/TextInput.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts +12 -0
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts +10 -0
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts +11 -0
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts +12 -0
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts +12 -0
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts +12 -0
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts +12 -0
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts +12 -0
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +11 -0
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts +14 -0
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts +9 -0
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/api/index.d.ts +104 -0
- package/lib/typescript/src/ProfileManager/api/index.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/index.d.ts +11 -0
- package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -0
- package/lib/typescript/src/constants/styles.d.ts +10 -0
- package/lib/typescript/src/constants/styles.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +7 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +7 -2
- package/src/ApiOverrides/index.ts +135 -0
- package/src/ApiOverrides/types.d.ts +7 -0
- package/src/Assets/images/powered_by_be.webp +0 -0
- package/src/Authenticator/Components/LoginForm.tsx +298 -0
- package/src/{AuthenticateWizard → Authenticator}/Components/StrategyForm.tsx +54 -40
- package/src/{AuthenticateWizard → Authenticator}/api/index.ts +27 -31
- package/src/{AuthenticateWizard → Authenticator}/api/types.d.ts +11 -28
- package/src/Authenticator/index.tsx +109 -0
- package/src/Components/Button.tsx +1 -1
- package/src/Components/Icons.tsx +59 -0
- package/src/Components/ImageUploader.tsx +104 -0
- package/src/Components/Spring.tsx +16 -11
- package/src/Components/TextInput.tsx +9 -3
- package/src/Font.css +4 -4
- package/src/ProfileManager/Components/BasicInfoManager.tsx +157 -0
- package/src/ProfileManager/Components/BasicStatus.tsx +81 -0
- package/src/ProfileManager/Components/CodeRedeem.tsx +234 -0
- package/src/ProfileManager/Components/DOBManager.tsx +154 -0
- package/src/ProfileManager/Components/EmailManager.tsx +205 -0
- package/src/ProfileManager/Components/PasswordManager.tsx +198 -0
- package/src/ProfileManager/Components/PhoneManager.tsx +210 -0
- package/src/ProfileManager/Components/ProfilePicManager.tsx +81 -0
- package/src/ProfileManager/Components/ProfileWelcome.tsx +53 -0
- package/src/ProfileManager/Components/ProfileWizard.tsx +385 -0
- package/src/ProfileManager/Components/VouchCard.tsx +265 -0
- package/src/ProfileManager/api/index.ts +250 -0
- package/src/ProfileManager/api/types.d.ts +138 -0
- package/src/ProfileManager/index.tsx +84 -0
- package/src/constants/styles.ts +10 -0
- package/src/index.tsx +12 -6
- package/lib/commonjs/AuthenticateWizard/Components/StrategyForm.js.map +0 -1
- package/lib/commonjs/AuthenticateWizard/api/index.js.map +0 -1
- package/lib/commonjs/AuthenticateWizard/api/types.d.js.map +0 -1
- package/lib/commonjs/AuthenticateWizard/index.js.map +0 -1
- package/lib/module/AuthenticateWizard/Components/StrategyForm.js.map +0 -1
- package/lib/module/AuthenticateWizard/api/index.js.map +0 -1
- package/lib/module/AuthenticateWizard/api/types.d.js.map +0 -1
- package/lib/module/AuthenticateWizard/index.js +0 -77
- package/lib/module/AuthenticateWizard/index.js.map +0 -1
- package/lib/typescript/src/AuthenticateWizard/Components/StrategyForm.d.ts.map +0 -1
- package/lib/typescript/src/AuthenticateWizard/api/index.d.ts.map +0 -1
- package/lib/typescript/src/AuthenticateWizard/index.d.ts +0 -15
- package/lib/typescript/src/AuthenticateWizard/index.d.ts.map +0 -1
- package/src/AuthenticateWizard/index.tsx +0 -84
- /package/lib/commonjs/{AuthenticateWizard/api → ApiOverrides}/types.d.js +0 -0
- /package/lib/commonjs/{fonts → Assets/fonts}/Barlow-Bold.ttf +0 -0
- /package/lib/commonjs/{fonts → Assets/fonts}/Barlow-Light.ttf +0 -0
- /package/lib/commonjs/{fonts → Assets/fonts}/Barlow-Regular.ttf +0 -0
- /package/lib/commonjs/{fonts → Assets/fonts}/Barlow-SemiBold.ttf +0 -0
- /package/lib/module/{AuthenticateWizard/api → ApiOverrides}/types.d.js +0 -0
- /package/lib/module/{fonts → Assets/fonts}/Barlow-Bold.ttf +0 -0
- /package/lib/module/{fonts → Assets/fonts}/Barlow-Light.ttf +0 -0
- /package/lib/module/{fonts → Assets/fonts}/Barlow-Regular.ttf +0 -0
- /package/lib/module/{fonts → Assets/fonts}/Barlow-SemiBold.ttf +0 -0
- /package/src/{fonts → Assets/fonts}/Barlow-Bold.ttf +0 -0
- /package/src/{fonts → Assets/fonts}/Barlow-Light.ttf +0 -0
- /package/src/{fonts → Assets/fonts}/Barlow-Regular.ttf +0 -0
- /package/src/{fonts → Assets/fonts}/Barlow-SemiBold.ttf +0 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react';
|
|
2
|
+
import { View, ActivityIndicator } from 'react-native';
|
|
3
|
+
import { Button, Icons, Text, TextInput } from '../../Components';
|
|
4
|
+
import Colors from '../../constants/colors';
|
|
5
|
+
import { view_styles } from '../../constants/styles';
|
|
6
|
+
import { ProfileApi, ProfileHelpers } from '../api';
|
|
7
|
+
const PhoneManager = ({
|
|
8
|
+
player,
|
|
9
|
+
walkthrough,
|
|
10
|
+
onPlayerUpdate,
|
|
11
|
+
onNext,
|
|
12
|
+
onClose
|
|
13
|
+
}) => {
|
|
14
|
+
const [loading, setLoading] = useState(false);
|
|
15
|
+
const [verify_token, setVerifyToken] = useState({
|
|
16
|
+
loading: false,
|
|
17
|
+
visible: false,
|
|
18
|
+
token: ''
|
|
19
|
+
});
|
|
20
|
+
const [draft_player, setDraftPlayer] = useState(player);
|
|
21
|
+
const [update_error, setUpdateError] = useState();
|
|
22
|
+
const [verify_error, setVerifyError] = useState();
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
setDraftPlayer(player);
|
|
25
|
+
}, [player]);
|
|
26
|
+
const handlePhoneChange = text => {
|
|
27
|
+
let phone = ProfileHelpers.unformatPhone(text);
|
|
28
|
+
setDraftPlayer({
|
|
29
|
+
...draft_player,
|
|
30
|
+
phone
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
const {
|
|
34
|
+
valid,
|
|
35
|
+
error
|
|
36
|
+
} = ProfileHelpers.isPhoneValid(draft_player.phone);
|
|
37
|
+
const is_changed = draft_player.phone.toLowerCase() != player.phone.toLowerCase() ? true : false;
|
|
38
|
+
const token_valid = verify_token.token != '' ? true : false;
|
|
39
|
+
const update_allowed = valid && is_changed ? true : false;
|
|
40
|
+
const handleUpdatePlayer = async () => {
|
|
41
|
+
try {
|
|
42
|
+
console.log(update_error, verify_error);
|
|
43
|
+
setLoading(true);
|
|
44
|
+
await ProfileApi.updatePlayerPhone(draft_player.phone);
|
|
45
|
+
setTimeout(() => {
|
|
46
|
+
setLoading(false);
|
|
47
|
+
setVerifyToken({
|
|
48
|
+
loading: false,
|
|
49
|
+
visible: true,
|
|
50
|
+
token: ''
|
|
51
|
+
});
|
|
52
|
+
}, 1000);
|
|
53
|
+
} catch (e) {
|
|
54
|
+
setLoading(false);
|
|
55
|
+
setUpdateError('Unable to use this phone number. Please try again');
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
const handleVerifyPhone = async () => {
|
|
59
|
+
try {
|
|
60
|
+
setVerifyToken({
|
|
61
|
+
...verify_token,
|
|
62
|
+
loading: true
|
|
63
|
+
});
|
|
64
|
+
const player = await ProfileApi.confirmPlayerPhone(verify_token.token);
|
|
65
|
+
setTimeout(() => {
|
|
66
|
+
setLoading(false);
|
|
67
|
+
setVerifyToken({
|
|
68
|
+
loading: false,
|
|
69
|
+
visible: false,
|
|
70
|
+
token: ''
|
|
71
|
+
});
|
|
72
|
+
if (onNext) {
|
|
73
|
+
onNext();
|
|
74
|
+
}
|
|
75
|
+
}, 1000);
|
|
76
|
+
onPlayerUpdate(player);
|
|
77
|
+
} catch (e) {
|
|
78
|
+
setVerifyToken({
|
|
79
|
+
...verify_token,
|
|
80
|
+
loading: false
|
|
81
|
+
});
|
|
82
|
+
setVerifyError('Invalid Token. Please try again');
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
const handleCancelUpdate = () => {
|
|
86
|
+
setVerifyToken({
|
|
87
|
+
visible: false,
|
|
88
|
+
loading: false,
|
|
89
|
+
token: ''
|
|
90
|
+
});
|
|
91
|
+
setDraftPlayer(player);
|
|
92
|
+
};
|
|
93
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
94
|
+
style: {
|
|
95
|
+
flex: 1
|
|
96
|
+
}
|
|
97
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
98
|
+
style: {
|
|
99
|
+
flex: 1
|
|
100
|
+
}
|
|
101
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
102
|
+
style: {
|
|
103
|
+
padding: 10
|
|
104
|
+
}
|
|
105
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
106
|
+
weight: "bold",
|
|
107
|
+
size: 16,
|
|
108
|
+
textAlign: "left",
|
|
109
|
+
color: Colors.brand.midnight
|
|
110
|
+
}, "My Phone Number"), /*#__PURE__*/React.createElement(Text, {
|
|
111
|
+
style: {
|
|
112
|
+
marginTop: 5
|
|
113
|
+
},
|
|
114
|
+
color: Colors.brand.midnight,
|
|
115
|
+
size: 14,
|
|
116
|
+
textAlign: "left"
|
|
117
|
+
}, "A valid phone number is required to verify your account")), /*#__PURE__*/React.createElement(View, {
|
|
118
|
+
style: {
|
|
119
|
+
padding: 10
|
|
120
|
+
}
|
|
121
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
122
|
+
style: {
|
|
123
|
+
backgroundColor: Colors.shades.white,
|
|
124
|
+
borderRadius: 22,
|
|
125
|
+
flexDirection: 'row',
|
|
126
|
+
alignItems: 'center'
|
|
127
|
+
}
|
|
128
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
129
|
+
style: {
|
|
130
|
+
paddingLeft: 15,
|
|
131
|
+
paddingRight: 15
|
|
132
|
+
}
|
|
133
|
+
}, /*#__PURE__*/React.createElement(Icons.PhoneIcon, {
|
|
134
|
+
color: Colors.brand.midnight,
|
|
135
|
+
size: 18
|
|
136
|
+
})), /*#__PURE__*/React.createElement(TextInput, {
|
|
137
|
+
value: ProfileHelpers.formatPhone(draft_player.phone),
|
|
138
|
+
keyboardType: "phone-pad",
|
|
139
|
+
style: {
|
|
140
|
+
flex: 1,
|
|
141
|
+
borderRadius: 0
|
|
142
|
+
},
|
|
143
|
+
onChangeText: text => handlePhoneChange(text)
|
|
144
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
145
|
+
style: {
|
|
146
|
+
paddingLeft: 15,
|
|
147
|
+
paddingRight: 15
|
|
148
|
+
}
|
|
149
|
+
}, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
150
|
+
size: "small",
|
|
151
|
+
color: Colors.brand.midnight
|
|
152
|
+
}) : /*#__PURE__*/React.createElement(View, null, valid ? /*#__PURE__*/React.createElement(Icons.CheckIcon, {
|
|
153
|
+
size: 16,
|
|
154
|
+
color: Colors.utility.success
|
|
155
|
+
}) : verify_token.visible ? /*#__PURE__*/React.createElement(Icons.AlertIcon, {
|
|
156
|
+
size: 16,
|
|
157
|
+
color: Colors.utility.warning
|
|
158
|
+
}) : /*#__PURE__*/React.createElement(Icons.CloseIcon, {
|
|
159
|
+
size: 14,
|
|
160
|
+
color: Colors.utility.error
|
|
161
|
+
}))))), error ? /*#__PURE__*/React.createElement(Text, {
|
|
162
|
+
size: 14,
|
|
163
|
+
color: Colors.utility.warning
|
|
164
|
+
}, error) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(View, {
|
|
165
|
+
nativeID: "action_row",
|
|
166
|
+
style: {
|
|
167
|
+
flexDirection: 'row',
|
|
168
|
+
padding: 10
|
|
169
|
+
}
|
|
170
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
171
|
+
title: walkthrough ? 'SKIP' : 'CLOSE',
|
|
172
|
+
style: {
|
|
173
|
+
flex: 1,
|
|
174
|
+
marginRight: 5
|
|
175
|
+
},
|
|
176
|
+
borderColor: Colors.brand.electric,
|
|
177
|
+
title_color: Colors.brand.electric,
|
|
178
|
+
borderWidth: 1,
|
|
179
|
+
padding: 15,
|
|
180
|
+
onPress: () => walkthrough ? onNext() : onClose()
|
|
181
|
+
}), !is_changed && player.phone_verified ? /*#__PURE__*/React.createElement(Button, {
|
|
182
|
+
title: "SET MY DATE OF BIRTH",
|
|
183
|
+
style: {
|
|
184
|
+
flex: 3
|
|
185
|
+
},
|
|
186
|
+
padding: 15,
|
|
187
|
+
backgroundColor: Colors.utility.success,
|
|
188
|
+
title_color: Colors.shades.white,
|
|
189
|
+
onPress: () => onNext()
|
|
190
|
+
}) : /*#__PURE__*/React.createElement(Button, {
|
|
191
|
+
title: "UPDATE",
|
|
192
|
+
style: {
|
|
193
|
+
flex: 3,
|
|
194
|
+
opacity: update_allowed ? 1 : 0.5
|
|
195
|
+
},
|
|
196
|
+
padding: 15,
|
|
197
|
+
disabled: !update_allowed,
|
|
198
|
+
backgroundColor: Colors.utility.success,
|
|
199
|
+
title_color: Colors.shades.white,
|
|
200
|
+
onPress: () => handleUpdatePlayer()
|
|
201
|
+
})), verify_token.visible ? /*#__PURE__*/React.createElement(View, {
|
|
202
|
+
style: {
|
|
203
|
+
position: 'absolute',
|
|
204
|
+
top: 0,
|
|
205
|
+
left: 0,
|
|
206
|
+
right: 0,
|
|
207
|
+
bottom: 0,
|
|
208
|
+
backgroundColor: Colors.shades.black_faded,
|
|
209
|
+
justifyContent: 'center',
|
|
210
|
+
alignItems: 'center'
|
|
211
|
+
}
|
|
212
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
213
|
+
style: {
|
|
214
|
+
padding: 20,
|
|
215
|
+
backgroundColor: Colors.shades.white,
|
|
216
|
+
borderRadius: 8,
|
|
217
|
+
...view_styles.float
|
|
218
|
+
}
|
|
219
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
220
|
+
style: {
|
|
221
|
+
padding: 10
|
|
222
|
+
}
|
|
223
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
224
|
+
size: 14,
|
|
225
|
+
weight: "semibold",
|
|
226
|
+
color: Colors.brand.midnight,
|
|
227
|
+
textAlign: "center"
|
|
228
|
+
}, "Enter Code Sent To"), /*#__PURE__*/React.createElement(Text, {
|
|
229
|
+
size: 18,
|
|
230
|
+
style: {
|
|
231
|
+
marginTop: 10
|
|
232
|
+
},
|
|
233
|
+
weight: "bold",
|
|
234
|
+
color: Colors.brand.midnight,
|
|
235
|
+
textAlign: "center"
|
|
236
|
+
}, draft_player.phone)), /*#__PURE__*/React.createElement(View, {
|
|
237
|
+
style: {
|
|
238
|
+
backgroundColor: Colors.shades.white,
|
|
239
|
+
borderRadius: 22,
|
|
240
|
+
flexDirection: 'row',
|
|
241
|
+
alignItems: 'center'
|
|
242
|
+
}
|
|
243
|
+
}, /*#__PURE__*/React.createElement(TextInput, {
|
|
244
|
+
value: verify_token.token,
|
|
245
|
+
textContentType: "oneTimeCode",
|
|
246
|
+
style: {
|
|
247
|
+
flex: 1
|
|
248
|
+
},
|
|
249
|
+
placeholder: "00000",
|
|
250
|
+
placeholderTextColor: Colors.brand.slate,
|
|
251
|
+
onChangeText: text => setVerifyToken({
|
|
252
|
+
...verify_token,
|
|
253
|
+
token: text
|
|
254
|
+
})
|
|
255
|
+
})), /*#__PURE__*/React.createElement(Button, {
|
|
256
|
+
title: "CONFIRM",
|
|
257
|
+
style: {
|
|
258
|
+
marginTop: 20,
|
|
259
|
+
opacity: token_valid && !loading ? 1 : 0.5
|
|
260
|
+
},
|
|
261
|
+
disabled: !token_valid || loading,
|
|
262
|
+
padding: 15,
|
|
263
|
+
loading: verify_token.loading,
|
|
264
|
+
title_color: Colors.shades.white,
|
|
265
|
+
backgroundColor: Colors.utility.success,
|
|
266
|
+
onPress: () => handleVerifyPhone()
|
|
267
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
268
|
+
title: "CANCEL",
|
|
269
|
+
style: {
|
|
270
|
+
marginTop: 10
|
|
271
|
+
},
|
|
272
|
+
disabled: loading,
|
|
273
|
+
padding: 15,
|
|
274
|
+
loading: verify_token.loading,
|
|
275
|
+
title_color: Colors.brand.electric,
|
|
276
|
+
borderWidth: 1,
|
|
277
|
+
borderColor: Colors.brand.electric,
|
|
278
|
+
onPress: () => handleCancelUpdate()
|
|
279
|
+
}))) : /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
280
|
+
};
|
|
281
|
+
export default PhoneManager;
|
|
282
|
+
//# sourceMappingURL=PhoneManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useEffect","useState","View","ActivityIndicator","Button","Icons","Text","TextInput","Colors","view_styles","ProfileApi","ProfileHelpers","PhoneManager","player","walkthrough","onPlayerUpdate","onNext","onClose","loading","setLoading","verify_token","setVerifyToken","visible","token","draft_player","setDraftPlayer","update_error","setUpdateError","verify_error","setVerifyError","handlePhoneChange","text","phone","unformatPhone","valid","error","isPhoneValid","is_changed","toLowerCase","token_valid","update_allowed","handleUpdatePlayer","console","log","updatePlayerPhone","setTimeout","e","handleVerifyPhone","confirmPlayerPhone","handleCancelUpdate","createElement","style","flex","padding","weight","size","textAlign","color","brand","midnight","marginTop","backgroundColor","shades","white","borderRadius","flexDirection","alignItems","paddingLeft","paddingRight","PhoneIcon","value","formatPhone","keyboardType","onChangeText","CheckIcon","utility","success","AlertIcon","warning","CloseIcon","Fragment","nativeID","title","marginRight","borderColor","electric","title_color","borderWidth","onPress","phone_verified","opacity","disabled","position","top","left","right","bottom","black_faded","justifyContent","float","textContentType","placeholder","placeholderTextColor","slate"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/PhoneManager.tsx"],"mappings":"AACA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,IAAI,EAAEC,iBAAiB,QAAQ,cAAc;AACtD,SAASC,MAAM,EAAEC,KAAK,EAAEC,IAAI,EAAEC,SAAS,QAAQ,kBAAkB;AACjE,OAAOC,MAAM,MAAM,wBAAwB;AAE3C,SAASC,WAAW,QAAQ,wBAAwB;AACpD,SAASC,UAAU,EAAEC,cAAc,QAAQ,QAAQ;AAWnD,MAAMC,YAAY,GAAGA,CAAC;EAAEC,MAAM;EAAEC,WAAW;EAAEC,cAAc;EAAEC,MAAM;EAAEC;AAA0B,CAAC,KAAK;EACjG,MAAM,CAAEC,OAAO,EAAEC,UAAU,CAAE,GAAGlB,QAAQ,CAAC,KAAK,CAAC;EAC/C,MAAM,CAAEmB,YAAY,EAAEC,cAAc,CAAE,GAAGpB,QAAQ,CAAC;IAC9CiB,OAAO,EAA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EzE,OAAQ;IAClBmC,OAAO,EAAE,EAAG;IACZnC,OAAO,EAAEE,YAAY,CAACF,OAAQ;IAC9BoE,WAAW,EAAE9E,MAAM,CAACkD,KAAK,CAAC2B,QAAS;IACnCE,WAAW,EAAE,CAAE;IACfH,WAAW,EAAE5E,MAAM,CAACkD,KAAK,CAAC2B,QAAS;IACnCG,OAAO,EAAEA,CAAA,KAAMvC,kBAAkB,CAAC;EAAE,CACvC,CACC,CACJ,CAAC,gBACNlD,KAAA,CAAAmD,aAAA,CAAAnD,KAAA,CAAAiF,QAAA,MAAI,CACP,CAAC;AAEf,CAAC;AAED,eAAepE,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Image, View } from "react-native";
|
|
3
|
+
import { Button, Text } from '../../Components';
|
|
4
|
+
import ImageUploader from '../../Components/ImageUploader';
|
|
5
|
+
import Colors from '../../constants/colors';
|
|
6
|
+
import { ProfileApi } from '../api';
|
|
7
|
+
const ProfilePicManager = ({
|
|
8
|
+
player,
|
|
9
|
+
onPlayerUpdate,
|
|
10
|
+
walkthrough,
|
|
11
|
+
onNext,
|
|
12
|
+
onClose
|
|
13
|
+
}) => {
|
|
14
|
+
const handleUpdatePic = async profile_pic => {
|
|
15
|
+
const new_player = await ProfileApi.updatePlayerPic(profile_pic);
|
|
16
|
+
onPlayerUpdate(new_player);
|
|
17
|
+
};
|
|
18
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
19
|
+
style: {
|
|
20
|
+
flex: 1
|
|
21
|
+
}
|
|
22
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
23
|
+
style: {
|
|
24
|
+
flex: 1
|
|
25
|
+
}
|
|
26
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
27
|
+
style: {
|
|
28
|
+
padding: 10
|
|
29
|
+
}
|
|
30
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
31
|
+
size: 16,
|
|
32
|
+
weight: "bold",
|
|
33
|
+
color: Colors.brand.midnight
|
|
34
|
+
}, "MY PROFILE PICTURE"), /*#__PURE__*/React.createElement(Text, {
|
|
35
|
+
style: {
|
|
36
|
+
marginTop: 5
|
|
37
|
+
},
|
|
38
|
+
size: 14,
|
|
39
|
+
color: Colors.brand.midnight
|
|
40
|
+
}, "Your profile picture is how users will see you in leaderboards and activity feeds.")), /*#__PURE__*/React.createElement(View, {
|
|
41
|
+
style: {
|
|
42
|
+
justifyContent: 'center',
|
|
43
|
+
alignItems: 'center'
|
|
44
|
+
}
|
|
45
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
46
|
+
source: {
|
|
47
|
+
uri: player.profile_pic ? player.profile_pic : 'https://res.cloudinary.com/hoabts6mc/image/upload/v1714408535/sports_avatar_wdzsxc.webp'
|
|
48
|
+
},
|
|
49
|
+
style: {
|
|
50
|
+
height: 400,
|
|
51
|
+
width: 400,
|
|
52
|
+
borderRadius: 4
|
|
53
|
+
},
|
|
54
|
+
resizeMode: "cover"
|
|
55
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
56
|
+
style: {
|
|
57
|
+
position: 'absolute',
|
|
58
|
+
left: 0,
|
|
59
|
+
bottom: 0,
|
|
60
|
+
right: 0,
|
|
61
|
+
padding: 10
|
|
62
|
+
}
|
|
63
|
+
}, /*#__PURE__*/React.createElement(ImageUploader, {
|
|
64
|
+
public_id: `${player.player_id}_${Math.random()}`,
|
|
65
|
+
onStartUpload: () => console.log('STARTED!!!!'),
|
|
66
|
+
onFinishUpload: obj => handleUpdatePic(obj.secure_url)
|
|
67
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
68
|
+
title: player.profile_pic ? 'CHANGE' : 'ADD PICTURE',
|
|
69
|
+
disabled: true,
|
|
70
|
+
title_color: Colors.brand.electric,
|
|
71
|
+
borderWidth: 1,
|
|
72
|
+
borderColor: Colors.brand.electric,
|
|
73
|
+
padding: 15,
|
|
74
|
+
onPress: () => console.log('NA')
|
|
75
|
+
}))))), /*#__PURE__*/React.createElement(View, {
|
|
76
|
+
nativeID: "action_row",
|
|
77
|
+
style: {
|
|
78
|
+
flexDirection: 'row',
|
|
79
|
+
padding: 10
|
|
80
|
+
}
|
|
81
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
82
|
+
title: walkthrough ? 'SKIP' : 'CLOSE',
|
|
83
|
+
style: {
|
|
84
|
+
flex: 1,
|
|
85
|
+
marginRight: 5
|
|
86
|
+
},
|
|
87
|
+
borderColor: Colors.brand.electric,
|
|
88
|
+
title_color: Colors.brand.electric,
|
|
89
|
+
borderWidth: 1,
|
|
90
|
+
padding: 15,
|
|
91
|
+
onPress: () => walkthrough ? onNext() : onClose()
|
|
92
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
93
|
+
title: 'SET MY PASSWORD',
|
|
94
|
+
style: {
|
|
95
|
+
flex: 3
|
|
96
|
+
},
|
|
97
|
+
padding: 15
|
|
98
|
+
//loading={loading}
|
|
99
|
+
//disabled={!is_valid}
|
|
100
|
+
,
|
|
101
|
+
backgroundColor: Colors.utility.success,
|
|
102
|
+
title_color: Colors.shades.white,
|
|
103
|
+
onPress: () => onNext()
|
|
104
|
+
})));
|
|
105
|
+
};
|
|
106
|
+
export default ProfilePicManager;
|
|
107
|
+
//# sourceMappingURL=ProfilePicManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Image","View","Button","Text","ImageUploader","Colors","ProfileApi","ProfilePicManager","player","onPlayerUpdate","walkthrough","onNext","onClose","handleUpdatePic","profile_pic","new_player","updatePlayerPic","createElement","style","flex","padding","size","weight","color","brand","midnight","marginTop","justifyContent","alignItems","source","uri","height","width","borderRadius","resizeMode","position","left","bottom","right","public_id","player_id","Math","random","onStartUpload","console","log","onFinishUpload","obj","secure_url","title","disabled","title_color","electric","borderWidth","borderColor","onPress","nativeID","flexDirection","marginRight","backgroundColor","utility","success","shades","white"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/ProfilePicManager.t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Q,EAAC,YAAY;IAACtC,KAAK,EAAE;MAAEuC,aAAa,EAAC,KAAK;MAAErC,OAAO,EAAC;IAAG;EAAE,gBACnErB,KAAA,CAAAkB,aAAA,CAACf,MAAM;IACH+C,KAAK,EAAEvC,WAAW,GAAG,MAAM,GAAG,OAAQ;IACtCQ,KAAK,EAAE;MAAEC,IAAI,EAAC,CAAC;MAAEuC,WAAW,EAAC;IAAE,CAAE;IACjCJ,WAAW,EAAEjD,MAAM,CAACmB,KAAK,CAAC4B,QAAS;IACnCD,WAAW,EAAE9C,MAAM,CAACmB,KAAK,CAAC4B,QAAS;IACnCC,WAAW,EAAE,CAAE;IACfjC,OAAO,EAAE,EAAG;IACZmC,OAAO,EAAEA,CAAA,KAAM7C,WAAW,GAAGC,MAAM,CAAC,CAAC,GAAGC,OAAO,CAAC;EAAE,CACrD,CAAC,eACFb,KAAA,CAAAkB,aAAA,CAACf,MAAM;IACH+C,KAAK,EAAE,iBAAkB;IACzB/B,KAAK,EAAE;MAAEC,IAAI,EAAC;IAAE,CAAE;IAClBC,OAAO,EAAE;IACT;IACA;IAAA;IACAuC,eAAe,EAAEtD,MAAM,CAACuD,OAAO,CAACC,OAAQ;IACxCV,WAAW,EAAE9C,MAAM,CAACyD,MAAM,CAACC,KAAM;IACjCR,OAAO,EAAEA,CAAA,KAAM5C,MAAM,CAAC;EAAE,CAC3B,CACC,CACJ,CAAC;AAEf,CAAC;AAED,eAAeJ,iBAAiB","ignoreList":[]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Image } from 'react-native';
|
|
3
|
+
import Colors from '../../constants/colors';
|
|
4
|
+
import { Button, Text } from '../../Components';
|
|
5
|
+
const ProfileWelcome = ({
|
|
6
|
+
player,
|
|
7
|
+
width,
|
|
8
|
+
onStartSetup,
|
|
9
|
+
onClose
|
|
10
|
+
}) => {
|
|
11
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
12
|
+
style: {
|
|
13
|
+
flex: 1
|
|
14
|
+
}
|
|
15
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
16
|
+
source: {
|
|
17
|
+
uri: 'https://res.cloudinary.com/hoabts6mc/image/upload/v1714506366/Welcome_James_pfzn7z.webp'
|
|
18
|
+
},
|
|
19
|
+
style: {
|
|
20
|
+
width,
|
|
21
|
+
height: width
|
|
22
|
+
},
|
|
23
|
+
resizeMode: "cover"
|
|
24
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
25
|
+
style: {
|
|
26
|
+
marginTop: -50,
|
|
27
|
+
flex: 1,
|
|
28
|
+
backgroundColor: Colors.shades.black_faded_heavy
|
|
29
|
+
}
|
|
30
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
31
|
+
style: {
|
|
32
|
+
padding: 10
|
|
33
|
+
}
|
|
34
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
35
|
+
size: 24,
|
|
36
|
+
color: Colors.shades.white,
|
|
37
|
+
weight: "bold"
|
|
38
|
+
}, "Welcome @", player.username), /*#__PURE__*/React.createElement(Text, {
|
|
39
|
+
style: {
|
|
40
|
+
marginTop: 10
|
|
41
|
+
},
|
|
42
|
+
size: 14,
|
|
43
|
+
color: Colors.shades.white,
|
|
44
|
+
weight: "bold"
|
|
45
|
+
}, "We have randomly generated this username for you. Finish setting up your profile to change it!"))), /*#__PURE__*/React.createElement(View, {
|
|
46
|
+
style: {
|
|
47
|
+
flexDirection: 'row',
|
|
48
|
+
padding: 10
|
|
49
|
+
}
|
|
50
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
51
|
+
title: "CLOSE",
|
|
52
|
+
style: {
|
|
53
|
+
flex: 1,
|
|
54
|
+
marginRight: 5
|
|
55
|
+
},
|
|
56
|
+
borderColor: Colors.brand.electric,
|
|
57
|
+
title_color: Colors.brand.electric,
|
|
58
|
+
borderWidth: 1,
|
|
59
|
+
padding: 15,
|
|
60
|
+
onPress: () => onClose()
|
|
61
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
62
|
+
title: "UPDATE MY INFO",
|
|
63
|
+
style: {
|
|
64
|
+
flex: 3
|
|
65
|
+
},
|
|
66
|
+
backgroundColor: Colors.utility.success,
|
|
67
|
+
title_color: Colors.shades.white,
|
|
68
|
+
padding: 15,
|
|
69
|
+
onPress: () => onStartSetup()
|
|
70
|
+
})));
|
|
71
|
+
};
|
|
72
|
+
export default ProfileWelcome;
|
|
73
|
+
//# sourceMappingURL=ProfileWelcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Image","Colors","Button","Text","ProfileWelcome","player","width","onStartSetup","onClose","createElement","style","flex","source","uri","height","resizeMode","marginTop","backgroundColor","shades","black_faded_heavy","padding","size","color","white","weight","username","flexDirection","title","marginRight","borderColor","brand","electric","title_color","borderWidth","onPress","utility","success"],"sourceRoot":"../../../../src","sources":["ProfileManager/Components/ProfileWelcome.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,KAAK,QAAQ,cAAc;AAE1C,OAAOC,MAAM,MAAM,wBAAwB;AAC3C,SAASC,MAAM,EAAEC,IAAI,QAAQ,kBAAkB;AAU/C,MAAMC,cAAc,GAAGA,CAAC;EAAEC,MAAM;EAAEC,KAAK;EAAEC,YAAY;EAAEC;AAA4B,CAAC,KAAK;EAErF,oBACIV,KAAA,CAAAW,aAAA,CAACV,IAAI;IAACW,KAAK,EAAE;MAAEC,IAAI,EAAC;IAAE;EAAE,gBACpBb,KAAA,CAAAW,aAAA,CAACT,KAAK;IACFY,MAAM,EAAE;MAAEC,GAAG,EAAE;IAA0F,CAAE;IAC3GH,KAAK,EAAE;MAAEJ,KAAK;MAAEQ,MAAM,EAACR;IAAM,CAAE;IAC/BS,UAAU,EAAC;EAAO,CACrB,CAAC,eACFjB,KAAA,CAAAW,aAAA,CAACV,IAAI;IAACW,KAAK,EAAE;MAAEM,SAAS,EAAC,CAAC,EAAE;MAAEL,IAAI,EAA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