be-components 7.0.5 → 7.0.6

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.
Files changed (52) hide show
  1. package/lib/commonjs/Discord/api/index.js +61 -0
  2. package/lib/commonjs/Discord/api/index.js.map +1 -0
  3. package/lib/commonjs/Discord/index.js +516 -0
  4. package/lib/commonjs/Discord/index.js.map +1 -0
  5. package/lib/commonjs/Squares/index.js +0 -3
  6. package/lib/commonjs/Squares/index.js.map +1 -1
  7. package/lib/commonjs/SquaresManager/index.js +1 -1
  8. package/lib/commonjs/SquaresManager/index.js.map +1 -1
  9. package/lib/commonjs/index.js +7 -0
  10. package/lib/commonjs/index.js.map +1 -1
  11. package/lib/commonjs/types.d.js +2 -0
  12. package/lib/commonjs/types.d.js.map +1 -1
  13. package/lib/module/Discord/api/index.js +54 -0
  14. package/lib/module/Discord/api/index.js.map +1 -0
  15. package/lib/module/Discord/index.js +509 -0
  16. package/lib/module/Discord/index.js.map +1 -0
  17. package/lib/module/Squares/index.js +0 -3
  18. package/lib/module/Squares/index.js.map +1 -1
  19. package/lib/module/SquaresManager/index.js +1 -1
  20. package/lib/module/SquaresManager/index.js.map +1 -1
  21. package/lib/module/index.js +2 -1
  22. package/lib/module/index.js.map +1 -1
  23. package/lib/module/types.d.js +2 -0
  24. package/lib/module/types.d.js.map +1 -1
  25. package/lib/typescript/lib/commonjs/Discord/api/index.d.ts +9 -0
  26. package/lib/typescript/lib/commonjs/Discord/api/index.d.ts.map +1 -0
  27. package/lib/typescript/lib/commonjs/Discord/index.d.ts +11 -0
  28. package/lib/typescript/lib/commonjs/Discord/index.d.ts.map +1 -0
  29. package/lib/typescript/lib/commonjs/Squares/index.d.ts.map +1 -1
  30. package/lib/typescript/lib/commonjs/index.d.ts +1 -0
  31. package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
  32. package/lib/typescript/lib/module/Discord/api/index.d.ts +8 -0
  33. package/lib/typescript/lib/module/Discord/api/index.d.ts.map +1 -0
  34. package/lib/typescript/lib/module/Discord/index.d.ts +11 -0
  35. package/lib/typescript/lib/module/Discord/index.d.ts.map +1 -0
  36. package/lib/typescript/lib/module/Squares/index.d.ts.map +1 -1
  37. package/lib/typescript/lib/module/index.d.ts +2 -1
  38. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  39. package/lib/typescript/src/Discord/api/index.d.ts +9 -0
  40. package/lib/typescript/src/Discord/api/index.d.ts.map +1 -0
  41. package/lib/typescript/src/Discord/index.d.ts +13 -0
  42. package/lib/typescript/src/Discord/index.d.ts.map +1 -0
  43. package/lib/typescript/src/Squares/index.d.ts.map +1 -1
  44. package/lib/typescript/src/index.d.ts +2 -1
  45. package/lib/typescript/src/index.d.ts.map +1 -1
  46. package/package.json +1 -1
  47. package/src/Discord/api/index.ts +57 -0
  48. package/src/Discord/index.tsx +300 -0
  49. package/src/Squares/index.tsx +0 -1
  50. package/src/SquaresManager/index.tsx +1 -1
  51. package/src/index.tsx +2 -0
  52. package/src/types.d.ts +15 -1
@@ -0,0 +1,509 @@
1
+ import React, { useEffect, useState } from 'react';
2
+ import { Button, Text, View } from "../Components/Themed";
3
+ import { DiscordPlayerApi } from './api';
4
+ import { FlatList, Image } from 'react-native';
5
+ import { Icons, Toggle } from '../Components';
6
+ import { useColors } from '../constants/useColors';
7
+ import * as Clipboard from 'expo-clipboard';
8
+ const sections = ['header', 'toggle', 'logo', 'success', 'step_1', 'step_2', 'step_3'];
9
+ const DiscordConnectionManager = ({
10
+ player_id,
11
+ refresh_key,
12
+ header_style,
13
+ footer_style,
14
+ float,
15
+ onRequestAuthenticate
16
+ }) => {
17
+ const Colors = useColors();
18
+ const [state, setState] = useState({
19
+ loading: false,
20
+ active_step: 'step_1'
21
+ });
22
+ const {
23
+ loading,
24
+ discord_player,
25
+ active_step
26
+ } = state;
27
+ useEffect(() => {
28
+ DiscordPlayerApi.setEnvironment();
29
+ if (!player_id) {
30
+ return onRequestAuthenticate();
31
+ }
32
+ getData();
33
+ }, [player_id, refresh_key]);
34
+ const getData = async () => {
35
+ setState({
36
+ ...state,
37
+ loading: true
38
+ });
39
+ const dp = await DiscordPlayerApi.getMyDiscordConnection();
40
+ if (!dp) {
41
+ return alert('Unable to get your connection status');
42
+ }
43
+ const step = dp.status == 'inactive' ? 'step_1' : dp.status == 'requested' ? 'step_2' : dp.status == 'pending' ? 'step_3' : 'step_1';
44
+ setState({
45
+ ...state,
46
+ loading: false,
47
+ discord_player: dp,
48
+ active_step: step
49
+ });
50
+ };
51
+ const handleStartConnection = async () => {
52
+ if (loading) {
53
+ return;
54
+ }
55
+ setState({
56
+ ...state,
57
+ loading: true
58
+ });
59
+ const dp = await DiscordPlayerApi.startConnnection();
60
+ if (!dp) {
61
+ alert('Unable to process at this time. Please try again');
62
+ getData();
63
+ return;
64
+ }
65
+ setState({
66
+ ...state,
67
+ discord_player: dp,
68
+ active_step: 'step_2',
69
+ loading: false
70
+ });
71
+ };
72
+ const handleConfirmConnection = async () => {
73
+ if (loading) {
74
+ return;
75
+ }
76
+ setState({
77
+ ...state,
78
+ loading: true
79
+ });
80
+ const dp = await DiscordPlayerApi.confirmConnection();
81
+ if (!dp) {
82
+ alert('Unable to process at this time. Please try again');
83
+ getData();
84
+ return;
85
+ }
86
+ setState({
87
+ ...state,
88
+ discord_player: dp,
89
+ loading: false
90
+ });
91
+ };
92
+ const handleDisconnect = async () => {
93
+ if (loading) {
94
+ return;
95
+ }
96
+ setState({
97
+ ...state,
98
+ loading: true
99
+ });
100
+ const dp = await DiscordPlayerApi.disconnect();
101
+ if (!dp) {
102
+ alert('Unable to process at this time. Please try again');
103
+ getData();
104
+ return;
105
+ }
106
+ setState({
107
+ ...state,
108
+ discord_player: dp,
109
+ loading: false
110
+ });
111
+ };
112
+ const renderSections = data => {
113
+ switch (data.item) {
114
+ case 'header':
115
+ return /*#__PURE__*/React.createElement(View, {
116
+ type: "header",
117
+ style: {
118
+ flexDirection: 'row',
119
+ alignItems: 'center',
120
+ padding: 10,
121
+ ...header_style
122
+ }
123
+ }, /*#__PURE__*/React.createElement(Image, {
124
+ source: {
125
+ uri: 'https://res.cloudinary.com/hoabts6mc/image/upload/v1758212751/discord_xkfzgw.jpg'
126
+ },
127
+ style: {
128
+ height: 40,
129
+ width: 40
130
+ },
131
+ resizeMode: "contain"
132
+ }), /*#__PURE__*/React.createElement(View, {
133
+ transparent: true,
134
+ style: {
135
+ flex: 1,
136
+ marginLeft: 10
137
+ }
138
+ }, /*#__PURE__*/React.createElement(Text, {
139
+ theme: "h1"
140
+ }, "Connect Your Discord!"), /*#__PURE__*/React.createElement(Text, {
141
+ theme: "description"
142
+ }, "Follow the instructions below to authenticate discord with your account")), /*#__PURE__*/React.createElement(Button, {
143
+ float: true,
144
+ style: {
145
+ padding: 10
146
+ },
147
+ onPress: () => getData()
148
+ }, /*#__PURE__*/React.createElement(Icons.RefreshIcon, {
149
+ size: 18,
150
+ color: Colors.text.h1
151
+ })));
152
+ case 'toggle':
153
+ if (discord_player?.status == 'active') {
154
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
155
+ }
156
+ return /*#__PURE__*/React.createElement(View, {
157
+ style: {
158
+ padding: 10
159
+ }
160
+ }, /*#__PURE__*/React.createElement(Toggle, {
161
+ options: [{
162
+ key: 'step_1',
163
+ label: 'Step 1'
164
+ }, {
165
+ key: 'step_2',
166
+ label: 'Step 2'
167
+ }, {
168
+ key: 'step_3',
169
+ label: 'Step 3'
170
+ }],
171
+ selected_option: active_step,
172
+ onSelectOption: step => setState({
173
+ ...state,
174
+ active_step: step
175
+ })
176
+ }));
177
+ case 'success':
178
+ if (discord_player?.status != 'active') {
179
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
180
+ }
181
+ return /*#__PURE__*/React.createElement(View, {
182
+ style: {
183
+ padding: 10
184
+ }
185
+ }, /*#__PURE__*/React.createElement(View, {
186
+ float: true,
187
+ style: {
188
+ padding: 2,
189
+ backgroundColor: '#7289da',
190
+ borderRadius: 100,
191
+ alignSelf: 'center'
192
+ }
193
+ }, discord_player.image ? /*#__PURE__*/React.createElement(Image, {
194
+ source: {
195
+ uri: discord_player.image.url
196
+ },
197
+ style: {
198
+ height: 125,
199
+ width: 125,
200
+ borderRadius: 100
201
+ },
202
+ resizeMode: "cover"
203
+ }) : /*#__PURE__*/React.createElement(Image, {
204
+ source: {
205
+ uri: 'https://res.cloudinary.com/hoabts6mc/image/upload/v1758213727/discord-logo_zsufoi.png'
206
+ },
207
+ style: {
208
+ height: 125,
209
+ width: 125,
210
+ borderRadius: 100
211
+ },
212
+ resizeMode: "cover"
213
+ })), /*#__PURE__*/React.createElement(View, {
214
+ float: true,
215
+ style: {
216
+ marginTop: 40
217
+ }
218
+ }, /*#__PURE__*/React.createElement(View, {
219
+ transparent: true,
220
+ style: {
221
+ flexDirection: 'row',
222
+ alignItems: 'center',
223
+ padding: 10
224
+ }
225
+ }, discord_player.image ? /*#__PURE__*/React.createElement(Image, {
226
+ source: {
227
+ uri: discord_player.image.url
228
+ },
229
+ style: {
230
+ height: 50,
231
+ width: 50,
232
+ borderRadius: 100
233
+ },
234
+ resizeMode: "cover"
235
+ }) : /*#__PURE__*/React.createElement(Image, {
236
+ source: {
237
+ uri: 'https://res.cloudinary.com/hoabts6mc/image/upload/v1758213727/discord-logo_zsufoi.png'
238
+ },
239
+ style: {
240
+ height: 50,
241
+ width: 50,
242
+ borderRadius: 100
243
+ },
244
+ resizeMode: "cover"
245
+ }), /*#__PURE__*/React.createElement(View, {
246
+ transparent: true,
247
+ style: {
248
+ flex: 1,
249
+ marginLeft: 10,
250
+ marginRight: 10
251
+ }
252
+ }, /*#__PURE__*/React.createElement(Text, {
253
+ theme: "h1",
254
+ size: 18
255
+ }, "@", discord_player.username), /*#__PURE__*/React.createElement(Text, {
256
+ theme: "success",
257
+ style: {
258
+ marginTop: 5
259
+ }
260
+ }, "CONNECTED")), /*#__PURE__*/React.createElement(Icons.CheckCirlceIcon, {
261
+ color: Colors.text.success,
262
+ size: 20
263
+ }))));
264
+ case 'logo':
265
+ if (discord_player?.status == 'active') {
266
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
267
+ }
268
+ return /*#__PURE__*/React.createElement(View, {
269
+ transparent: true,
270
+ style: {
271
+ flexDirection: 'row',
272
+ paddingLeft: 10,
273
+ paddingRight: 10
274
+ }
275
+ }, active_step == 'step_2' ? /*#__PURE__*/React.createElement(View, {
276
+ style: {
277
+ flex: 1
278
+ }
279
+ }) : active_step == 'step_3' ? /*#__PURE__*/React.createElement(View, {
280
+ style: {
281
+ flex: 2
282
+ }
283
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(View, {
284
+ style: {
285
+ flex: 1,
286
+ justifyContent: 'center',
287
+ alignItems: 'center'
288
+ }
289
+ }, /*#__PURE__*/React.createElement(View, {
290
+ float: true,
291
+ style: {
292
+ padding: 10,
293
+ backgroundColor: '#7289da',
294
+ borderRadius: 100
295
+ }
296
+ }, /*#__PURE__*/React.createElement(Image, {
297
+ source: {
298
+ uri: 'https://res.cloudinary.com/hoabts6mc/image/upload/v1758213727/discord-logo_zsufoi.png'
299
+ },
300
+ style: {
301
+ height: 50,
302
+ width: 50,
303
+ borderRadius: 100
304
+ },
305
+ resizeMode: "cover"
306
+ }))), active_step == 'step_1' ? /*#__PURE__*/React.createElement(View, {
307
+ style: {
308
+ flex: 2
309
+ }
310
+ }) : active_step == 'step_2' ? /*#__PURE__*/React.createElement(View, {
311
+ style: {
312
+ flex: 1
313
+ }
314
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null));
315
+ case 'step_1':
316
+ if (active_step != 'step_1') {
317
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
318
+ }
319
+ if (discord_player && discord_player.status == 'active') {
320
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
321
+ }
322
+ return /*#__PURE__*/React.createElement(View, {
323
+ float: true,
324
+ style: {
325
+ padding: 20,
326
+ margin: 10,
327
+ justifyContent: 'center',
328
+ alignItems: 'center'
329
+ }
330
+ }, /*#__PURE__*/React.createElement(Text, {
331
+ theme: "h1",
332
+ size: 20,
333
+ style: {
334
+ marginTop: 20
335
+ },
336
+ textAlign: "center"
337
+ }, "Press Start Connection below"), /*#__PURE__*/React.createElement(Text, {
338
+ theme: "h1",
339
+ size: 20,
340
+ style: {
341
+ marginTop: 20
342
+ },
343
+ textAlign: "center"
344
+ }, "You\u2019ll get a temporary code valid for 10 minutes"), /*#__PURE__*/React.createElement(Text, {
345
+ theme: "h1",
346
+ size: 20,
347
+ style: {
348
+ marginTop: 20
349
+ },
350
+ textAlign: "center"
351
+ }, "Keep this code handy\u2014you\u2019ll need it in Discord"));
352
+ case 'step_2':
353
+ if (active_step != 'step_2' || !discord_player) {
354
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
355
+ }
356
+ if (discord_player?.status == 'active') {
357
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
358
+ }
359
+ return /*#__PURE__*/React.createElement(View, {
360
+ float: true,
361
+ style: {
362
+ padding: 20,
363
+ margin: 10,
364
+ justifyContent: 'center',
365
+ alignItems: 'center'
366
+ }
367
+ }, /*#__PURE__*/React.createElement(Text, {
368
+ theme: "h1",
369
+ size: 20,
370
+ style: {
371
+ marginTop: 20
372
+ },
373
+ textAlign: "center"
374
+ }, "Open Discord where the bot is installed."), /*#__PURE__*/React.createElement(Text, {
375
+ theme: "h1",
376
+ size: 20,
377
+ style: {
378
+ marginTop: 20
379
+ },
380
+ textAlign: "center"
381
+ }, "Use the slash command", '\n', " /connect ", discord_player.auth_code), /*#__PURE__*/React.createElement(Text, {
382
+ theme: "h1",
383
+ size: 20,
384
+ style: {
385
+ marginTop: 20
386
+ },
387
+ textAlign: "center"
388
+ }, "Make sure to enter the code exactly as shown. It will expire in 10 minutes"));
389
+ case 'step_3':
390
+ if (active_step != 'step_3' || !discord_player) {
391
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
392
+ }
393
+ if (discord_player?.status == 'active') {
394
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
395
+ }
396
+ return /*#__PURE__*/React.createElement(View, {
397
+ float: true,
398
+ style: {
399
+ padding: 20,
400
+ margin: 10,
401
+ justifyContent: 'center',
402
+ alignItems: 'center'
403
+ }
404
+ }, /*#__PURE__*/React.createElement(Text, {
405
+ theme: "h1",
406
+ size: 20,
407
+ style: {
408
+ marginTop: 20
409
+ },
410
+ textAlign: "center"
411
+ }, "Once Validated, you can confirm the connection"), /*#__PURE__*/React.createElement(Text, {
412
+ theme: "h1",
413
+ size: 20,
414
+ style: {
415
+ marginTop: 20
416
+ },
417
+ textAlign: "center"
418
+ }, "Press confirm connection below."), /*#__PURE__*/React.createElement(Text, {
419
+ theme: "h1",
420
+ size: 20,
421
+ style: {
422
+ marginTop: 20
423
+ },
424
+ textAlign: "center"
425
+ }, "Once confirmed, you can use authenticated commands in descord!"));
426
+ default:
427
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
428
+ }
429
+ };
430
+ return /*#__PURE__*/React.createElement(View, {
431
+ float: float,
432
+ style: {
433
+ flex: 1
434
+ }
435
+ }, /*#__PURE__*/React.createElement(FlatList, {
436
+ data: sections,
437
+ key: 'discord_connection_sections',
438
+ keyExtractor: item => item,
439
+ renderItem: renderSections
440
+ }), discord_player ? /*#__PURE__*/React.createElement(View, {
441
+ type: "footer",
442
+ style: {
443
+ flexDirection: 'row',
444
+ alignItems: 'center',
445
+ padding: 10,
446
+ ...footer_style
447
+ }
448
+ }, discord_player.status == 'inactive' ? /*#__PURE__*/React.createElement(Button, {
449
+ title: "START CONNECTION",
450
+ title_color: Colors.text.white,
451
+ backgroundColor: "#7289da",
452
+ loading: loading,
453
+ style: {
454
+ flex: 1
455
+ },
456
+ onPress: () => handleStartConnection()
457
+ }) : discord_player.status == 'requested' ? /*#__PURE__*/React.createElement(Button, {
458
+ type: "text",
459
+ loading: loading,
460
+ style: {
461
+ flex: 1,
462
+ alignItems: 'center',
463
+ justifyContent: 'center'
464
+ },
465
+ onPress: async () => {
466
+ if (!discord_player.auth_code) {
467
+ return;
468
+ }
469
+ await Clipboard.setStringAsync(discord_player.auth_code);
470
+ alert('Code copied to clipboard');
471
+ }
472
+ }, /*#__PURE__*/React.createElement(Text, {
473
+ theme: "action",
474
+ size: 14
475
+ }, "Press to Copy: ", discord_player.auth_code)) : discord_player.status == 'pending' ? /*#__PURE__*/React.createElement(Button, {
476
+ title: "CONFIRM CONNECTION",
477
+ type: "success",
478
+ loading: loading,
479
+ style: {
480
+ flex: 1
481
+ },
482
+ onPress: () => handleConfirmConnection()
483
+ }) : discord_player.status == 'active' ? /*#__PURE__*/React.createElement(Button, {
484
+ title: "DISCONNECT",
485
+ type: "error",
486
+ loading: loading,
487
+ style: {
488
+ flex: 1
489
+ },
490
+ onPress: () => handleDisconnect()
491
+ }) : /*#__PURE__*/React.createElement(React.Fragment, null)) : /*#__PURE__*/React.createElement(View, {
492
+ type: "footer",
493
+ style: {
494
+ flexDirection: 'row',
495
+ alignItems: 'center',
496
+ padding: 10,
497
+ ...footer_style
498
+ }
499
+ }, /*#__PURE__*/React.createElement(Button, {
500
+ type: "success",
501
+ style: {
502
+ flex: 1
503
+ },
504
+ title: "LOG IN FIRST",
505
+ onPress: () => onRequestAuthenticate()
506
+ })));
507
+ };
508
+ export default DiscordConnectionManager;
509
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","useState","Button","Text","View","DiscordPlayerApi","FlatList","Image","Icons","Toggle","useColors","Clipboard","sections","DiscordConnectionManager","player_id","refresh_key","header_style","footer_style","float","onRequestAuthenticate","Colors","state","setState","loading","active_step","discord_player","setEnvironment","getData","dp","getMyDiscordConnection","alert","step","status","handleStartConnection","startConnnection","handleConfirmConnection","confirmConnection","handleDisconnect","disconnect","renderSections","data","item","createElement","type","style","flexDirection","alignItems","padding","source","uri","height","width","resizeMode","transparent","flex","marginLeft","theme","onPress","RefreshIcon","size","color","text","h1","Fragment","options","key","label","selected_option","onSelectOption","backgroundColor","borderRadius","alignSelf","image","url","marginTop","marginRight","username","CheckCirlceIcon","success","paddingLeft","paddingRight","justifyContent","margin","textAlign","auth_code","keyExtractor","renderItem","title","title_color","white","setStringAsync"],"sourceRoot":"../../../src","sources":["Discord/index.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SAASC,MAAM,EAAEC,IAAI,EAAEC,IAAI,QAAQ,sBAAsB;AACzD,SAASC,gBAAgB,QAAQ,OAAO;AAExC,SAASC,QAAQ,EAAEC,KAAK,QAAwB,cAAc;AAC9D,SAASC,KAAK,EAAEC,MAAM,QAAQ,eAAe;AAC7C,SAASC,SAAS,QAAQ,wBAAwB;AAClD,OAAO,KAAKC,SAAS,MAAM,gBAAgB;AAW3C,MAAMC,QAAQ,GAAG,CAAC,QAAQ,EAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAC,QAAQ,EAAC,QAAQ,CAAC;AACnF,MAAMC,wBAAwB,GAAGA,CAAC;EAAEC,SAAS;EAAEC,WAAW;EAAEC,YAAY;EAAEC,YAAY;EAAEC,KAAK;EAAEC;AAAoD,CAAC,KAAK;EACrJ,MAAMC,MAAM,GAAGV,SAAS,CAAC,CAAC;EAC1B,MAAM,CAAEW,KAAK,EAAEC,QAAQ,CAAE,GAAGrB,QAAQ,CAIjC;IACCsB,OAAO,EAAE,KAAK;IACdC,WAAW,EAAE;EACjB,CAAC,CAAC;EACF,MAAM;IAAED,OAAO;IAAEE,cAAc;IAAED;EAAY,CAAC,GAAGH,KAAK;EAEtDrB,SAAS,CAAC,MAAM;IACZK,gBAAgB,CAACqB,cAAc,CAAC,CAAC;IACjC,IAAG,CAACZ,SAAS,EAAC;MAAE,OAAOK,qBAAqB,CAAC,CAAC;IAAC;IAC/CQ,OAAO,CAAC,CAAC;EACb,CAAC,EAAC,CAACb,SAAS,EAAEC,WAAW,CAAC,CAAC;EAE3B,MAAMY,OAAO,GAAG,MAAAA,CAAA,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React.createElement(Button, {
916
916
  title: "CLOSE",
917
- style: {
918
- flex: 1
919
- },
920
917
  type: "close",
921
918
  onPress: () => onClose()
922
919
  })))) : /*#__PURE__*/React.createElement(React.Fragment, null)), /*#__PURE__*/React.createElement(SocketManager