Repository navigation
Expand file tree
/
Copy pathpsg_debugger.py
More file actions
589 lines (523 loc) · 28.5 KB
/
Copy pathpsg_debugger.py
File metadata and controls
589 lines (523 loc) · 28.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
"""
Copyright 2018 - 2024 <PySimpleGUI>
2024 - 2026 <Xoriun>
"""
import inspect
import sys
import traceback
from quick_tkinter import (
SYMBOLS,
Button,
Cancel,
Checkbox,
Column,
Frame,
Input,
Multiline,
Ok,
Tab,
TabGroup,
Text,
VerticalSeparator,
Window,
obj_to_string_single_obj,
popup_quick_message,
popup_scrolled,
popup_yes_no,
theme,
theme_button_color,
)
class _Debugger:
debugger: _Debugger | None = None
DEBUGGER_MAIN_WINDOW_THEME = 'dark grey 13'
DEBUGGER_POPOUT_THEME = 'dark grey 13'
WIDTH_VARIABLES = 23
WIDTH_RESULTS = 46
WIDTH_WATCHER_VARIABLES = 20
WIDTH_WATCHER_RESULTS = 60
WIDTH_LOCALS = 80
NUM_AUTO_WATCH = 9
MAX_LINES_PER_RESULT_FLOATING = 4
MAX_LINES_PER_RESULT_MAIN = 3
DEBUGGER_POPOUT_WINDOW_FONT = 'Sans 8'
DEBUGGER_VARIABLE_DETAILS_FONT = 'Courier 10'
def __init__(self):
self.watcher_window = None # type: Window
self.popout_window = None # type: Window
self.local_choices = {}
self.myrc = ''
self.custom_watch = ''
self.locals = {}
self.globals = {}
self.popout_choices = {}
# Includes the DUAL PANE (now 2 tabs)! Don't forget REPL is there too!
def _build_main_debugger_window(self, location=(None, None)):
old_theme = theme()
theme(_Debugger.DEBUGGER_MAIN_WINDOW_THEME)
def _in_var(key1):
return [
Text(' '),
Input(key=key1, size=(_Debugger.WIDTH_VARIABLES, 1)),
Text('', key=key1 + 'CHANGED_', size=(_Debugger.WIDTH_RESULTS, 1)),
Button('Detail', key=key1 + 'DETAIL_'),
Button('Obj', key=key1 + 'OBJ_')
]
variables_frame = [_in_var(f'_VAR{i}_') for i in range(3)]
interactive_frame = [
[
Text('>>> '),
Input(size=(83, 1), key='-REPL-', tooltip='Type in any "expression" or "statement"\n and it will be disaplayed below.\nPress RETURN KEY instead of "Go"\nbutton for faster use'),
Button('Go', bind_return_key=True, visible=True)
],
[Multiline(size=(93, 26), key='-OUTPUT-', autoscroll=True, do_not_clear=True)]
]
autowatch_frame = [[
Button('Choose Variables To Auto Watch', key='-LOCALS-'),
Button('Clear All Auto Watches'),
Button('Show All Variables', key='-SHOW_ALL-'),
Button('Locals', key='-ALL_LOCALS-'),
Button('Globals', key='-GLOBALS-'),
Button('Popout', key='-POPOUT-')
]]
var_layout = [
[
Text('', size=(_Debugger.WIDTH_WATCHER_VARIABLES, 1), key=f"_WATCH{i}_"),
Text('', size=(_Debugger.WIDTH_WATCHER_RESULTS, _Debugger.MAX_LINES_PER_RESULT_MAIN), key=f"_WATCH{i}_RESULT_")
]
for i in range(_Debugger.NUM_AUTO_WATCH)
]
col1 = [
# [Frame('Auto Watches', autowatch_frame+variable_values, title_color='blue')]
[Frame('Auto Watches', autowatch_frame + var_layout, title_color=theme_button_color()[0])]
]
col2 = [
[Frame('Variables or Expressions to Watch', variables_frame, title_color=theme_button_color()[0])],
[Frame('REPL-Light - Press Enter To Execute Commands', interactive_frame, title_color=theme_button_color()[0]) ]
]
# Tab based layout
layout = [
[Text('Debugging: ' + self._find_users_code())],
[TabGroup([[
Tab('Variables', col1),
Tab('REPL & Watches', col2)
]])]
]
# ------------------------------- Create main window -------------------------------
window = Window("PySimpleGUI Debugger", layout, icon=PSG_DEBUGGER_LOGO, margins=(0, 0), location=location, keep_on_top=True, right_click_menu=[[''], ['Exit']])
Window._read_call_from_debugger = True
window.finalize()
Window._read_call_from_debugger = False
window.find_element('_VAR1_').set_focus()
self.watcher_window = window
theme(old_theme)
return window
def _refresh_main_debugger_window(self, mylocals, myglobals):
if not self.watcher_window: # if there is no window setup, nothing to do
return False
event, values = self.watcher_window.read(timeout=1)
if event in (None, 'Exit', '_EXIT_', '-EXIT-'): # EXIT BUTTON / X BUTTON
try:
self.watcher_window.close()
except Exception:
pass
self.watcher_window = None
return False
# ------------------------------- Process events from REPL Tab -------------------------------
cmd = values['-REPL-'] # get the REPL entered
# BUTTON - GO (NOTE - This button is invisible!!)
if event == 'Go': # GO BUTTON
self.watcher_window.find_element('-REPL-').update('')
self.watcher_window.find_element('-OUTPUT-').update(f">>> {cmd}\n", append=True, autoscroll=True)
try:
result = eval(f"{cmd}", myglobals, mylocals)
except Exception:
if sys.version_info[0] < 3:
result = 'Not available in Python 2'
else:
try:
result = exec(f"{cmd}", myglobals, mylocals)
except Exception as e:
result = f"Exception {e}\n"
self.watcher_window.find_element('-OUTPUT-').update(f"{result}\n", append=True, autoscroll=True)
# BUTTON - DETAIL
elif event.endswith('_DETAIL_'): # DETAIL BUTTON
var = values[f"_VAR{event[4]}_"]
try:
result = str(eval(str(var), myglobals, mylocals))
except Exception:
result = ''
old_theme = theme()
theme(_Debugger.DEBUGGER_MAIN_WINDOW_THEME)
popup_scrolled(str(values[f"_VAR{event[4]}_"]) + '\n' + result, title=var, non_blocking=True, font=_Debugger.DEBUGGER_VARIABLE_DETAILS_FONT)
theme(old_theme)
# BUTTON - OBJ
elif event.endswith('_OBJ_'): # OBJECT BUTTON
var = values[f"_VAR{event[4]}_"]
try:
result = obj_to_string_single_obj(mylocals[var])
except Exception:
try:
result = eval(f"{var}", myglobals, mylocals)
result = obj_to_string_single_obj(result)
except Exception as e:
result = f"{e}\nError showing object {var}"
old_theme = theme()
theme(_Debugger.DEBUGGER_MAIN_WINDOW_THEME)
popup_scrolled(str(var) + '\n' + str(result), title=var, non_blocking=True, font=_Debugger.DEBUGGER_VARIABLE_DETAILS_FONT)
theme(old_theme)
# ------------------------------- Process Watch Tab -------------------------------
# BUTTON - Choose Locals to see
elif event == '-LOCALS-': # Show all locals BUTTON
self._choose_auto_watches(mylocals)
# BUTTON - Locals (quick popup)
elif event == '-ALL_LOCALS-':
self._display_all_vars('All Locals', mylocals)
# BUTTON - Globals (quick popup)
elif event == '-GLOBALS-':
self._display_all_vars('All Globals', myglobals)
# BUTTON - clear all
elif event == 'Clear All Auto Watches':
if popup_yes_no('Do you really want to clear all Auto-Watches?', 'Really Clear??') == 'Yes':
self.local_choices = {}
self.custom_watch = ''
# BUTTON - Popout
elif event == '-POPOUT-':
if not self.popout_window:
self._build_floating_window()
# BUTTON - Show All
elif event == '-SHOW_ALL-':
for key in self.locals:
self.local_choices[key] = not key.startswith('_')
# -------------------- Process the manual "watch list" ------------------
for i in range(3):
key = f"_VAR{i}_"
out_key = f"_VAR{i}_CHANGED_"
self.myrc = ''
if self.watcher_window.find_element(key):
var = values[key]
try:
result = eval(str(var), myglobals, mylocals)
except Exception:
result = ''
self.watcher_window.find_element(out_key).update(str(result))
else:
self.watcher_window.find_element(out_key).update('')
# -------------------- Process the automatic "watch list" ------------------
slot = 0
for key in self.local_choices:
if key == '-CUSTOM_WATCH-':
continue
if self.local_choices[key]:
self.watcher_window.find_element(f"_WATCH{slot}_").update(key)
try:
self.watcher_window.find_element(f"_WATCH{slot}_RESULT_", silent_on_error=True).update(mylocals[key])
except Exception:
self.watcher_window.find_element(f"_WATCH{slot}_RESULT_").update('')
slot += 1
if slot + int(self.custom_watch not in (None, '')) >= _Debugger.NUM_AUTO_WATCH:
break
# If a custom watch was set, display that value in the window
if self.custom_watch:
self.watcher_window.find_element(f"_WATCH{slot}_").update(self.custom_watch)
try:
self.myrc = eval(self.custom_watch, myglobals, mylocals)
except Exception:
self.myrc = ''
self.watcher_window.find_element(f"_WATCH{slot}_RESULT_").update(self.myrc)
slot += 1
# blank out all of the slots not used (blank)
for i in range(slot, _Debugger.NUM_AUTO_WATCH):
self.watcher_window.find_element(f"_WATCH{i}_").update('')
self.watcher_window.find_element(f"_WATCH{i}_RESULT_").update('')
return True # return indicating the window stayed open
def _find_users_code(self):
try: # lots can go wrong so wrapping the entire thing
trace_details = traceback.format_stack()
file_info_pysimplegui, error_message = None, ''
for line in reversed(trace_details):
if __file__ not in line:
file_info_pysimplegui = line.split(",")[0]
error_message = line
break
if file_info_pysimplegui is None:
return ''
error_parts = None
if error_message != '':
error_parts = error_message.split(', ')
if len(error_parts) < 4:
error_message = error_parts[0] + '\n' + error_parts[1] + '\n' + ''.join(error_parts[2:])
if error_parts is None:
print('*** Error popup attempted but unable to parse error details ***')
print(trace_details)
return ''
return error_parts[0][error_parts[0].index('File ') + 5:]
except Exception:
return None
# displays them into a single text box
def _display_all_vars(self, title, _dict):
# num_cols = 3
# output_text = ''
# num_lines = 2
# cur_col = 0
out_text = title + '\n'
# longest_line = max([len(key) for key in dict])
# line = []
sorted_dict = {}
for key in sorted(_dict.keys()):
sorted_dict[key] = _dict[key]
for key in sorted_dict:
value = _dict[key]
# wrapped_list = textwrap.wrap(str(value), 60)
# wrapped_text = '\n'.join(wrapped_list)
wrapped_text = str(value)
out_text += f"{key} - {wrapped_text}\n"
# if cur_col + 1 == num_cols:
# cur_col = 0
# num_lines += len(wrapped_list)
# else:
# cur_col += 1
old_theme = theme()
theme(_Debugger.DEBUGGER_MAIN_WINDOW_THEME)
popup_scrolled(out_text, title=title, non_blocking=True, font=_Debugger.DEBUGGER_VARIABLE_DETAILS_FONT, keep_on_top=True, icon=PSG_DEBUGGER_LOGO)
theme(old_theme)
def _choose_auto_watches(self, my_locals):
old_theme = theme()
theme(_Debugger.DEBUGGER_MAIN_WINDOW_THEME)
num_cols = 3
# output_text = ''
# num_lines = 2
cur_col = 0
layout = [[Text('Choose your "Auto Watch" variables', font='ANY 14', text_color='red')]]
longest_line = max([len(key) for key in my_locals])
line = []
sorted_dict = {}
for key in sorted(my_locals.keys()):
sorted_dict[key] = my_locals[key]
for key in sorted_dict:
line.append(Checkbox(key, key=key, size=(longest_line, 1),
default_value=self.local_choices.get(key, False)))
if cur_col + 1 == num_cols:
cur_col = 0
layout.append(line)
line = []
else:
cur_col += 1
if cur_col:
layout.append(line)
layout += [
[Text('Custom Watch (any expression)'), Input(default_value=self.custom_watch, size=(40, 1), key='-CUSTOM_WATCH-')]]
layout += [
[Ok(), Cancel(), Button('Clear All'), Button('Select [almost] All', key='-AUTO_SELECT-')]]
window = Window('Choose Watches', layout, icon=PSG_DEBUGGER_LOGO, finalize=True, keep_on_top=True)
while True: # event loop
event, values = window.read()
if event in (None, 'Cancel', '-EXIT-'):
break
if event == 'Ok':
self.local_choices = values
self.custom_watch = values['-CUSTOM_WATCH-']
break
if event == 'Clear All':
popup_quick_message('Cleared Auto Watches', auto_close=True, auto_close_duration=3, non_blocking=True, text_color='red', font='ANY 18')
for key in sorted_dict:
window.find_element(key).update(False)
window.find_element('-CUSTOM_WATCH-').update('')
elif event == 'Select All':
for key in sorted_dict:
window.find_element(key).update(False)
elif event == '-AUTO_SELECT-':
for key in sorted_dict:
window.find_element(key).update(not key.startswith('_'))
# exited event loop
window.close()
theme(old_theme)
def _build_floating_window(self, location=(None, None)):
"""
:param location:
:type location:
"""
if self.popout_window: # if floating window already exists, close it first
self.popout_window.close()
old_theme = theme()
theme(_Debugger.DEBUGGER_POPOUT_THEME)
num_cols = 2
width_var = 15
width_value = 30
layout = []
line = []
col = 0
# self.popout_choices = self.local_choices
self.popout_choices = {}
if self.popout_choices == {}: # if nothing chosen, then choose all non-_ variables
for key in sorted(self.locals.keys()):
self.popout_choices[key] = not key.startswith("_")
width_var = max([len(key) for key in self.popout_choices])
for key in self.popout_choices:
if self.popout_choices[key] is True:
value = str(self.locals.get(key))
h = min(len(value) // width_value + 1, _Debugger.MAX_LINES_PER_RESULT_FLOATING)
line += [Text(f"{key}", size=(width_var, 1), font=_Debugger.DEBUGGER_POPOUT_WINDOW_FONT),
Text(" = ", font=_Debugger.DEBUGGER_POPOUT_WINDOW_FONT),
Text(value, key=key, size=(width_value, h), font=_Debugger.DEBUGGER_POPOUT_WINDOW_FONT)]
if col + 1 < num_cols:
line += [VerticalSeparator(), Text(' ')]
col += 1
if col >= num_cols:
layout.append(line)
line = []
col = 0
if col != 0:
layout.append(line)
layout = [[Text(SYMBOLS.X, enable_events=True, key='-EXIT-', font='_ 7')], [Column(layout)]]
Window._read_call_from_debugger = True
self.popout_window = Window('Floating', layout, alpha_channel=0, no_titlebar=True, grab_anywhere=True,
element_padding=(0, 0), margins=(0, 0), keep_on_top=True,
right_click_menu=['&Right', ['Debugger::RightClick', 'Exit::RightClick']], location=location, finalize=True)
Window._read_call_from_debugger = False
if location == (None, None):
screen_size = self.popout_window.get_screen_dimensions()
self.popout_window.move(screen_size[0] - self.popout_window.size[0], 0)
self.popout_window.set_alpha(1)
theme(old_theme)
return True
def _refresh_floating_window(self):
if not self.popout_window:
return
for key in self.popout_choices:
if self.popout_choices[key] is True and key in self.locals:
if key is not None and self.popout_window is not None:
self.popout_window.find_element(key, silent_on_error=True).update(self.locals.get(key))
event, _ = self.popout_window.read(timeout=5)
if event in (None, '_EXIT_', 'Exit::RightClick', '-EXIT-'):
self.popout_window.close()
self.popout_window = None
elif event == 'Debugger::RightClick':
show_debugger_window()
def show_debugger_window(location=(None, None), *args):
"""
Shows the large main debugger window
:param location: Locations (x,y) on the screen to place upper left corner of the window
:type location: (int, int)
:return: None
:rtype: None
"""
if _Debugger.debugger is None:
_Debugger.debugger = _Debugger()
debugger = _Debugger.debugger
frame = inspect.currentframe()
# prev_frame = inspect.currentframe().f_back
# frame, *others = inspect.stack()[1]
try:
debugger.locals = frame.f_back.f_locals
debugger.globals = frame.f_back.f_globals
finally:
del frame
if not debugger.watcher_window:
debugger.watcher_window = debugger._build_main_debugger_window(location=location)
return True
def show_debugger_popout_window(location=(None, None), *args):
"""
Shows the smaller "popout" window. Default location is the upper right corner of your screen
:param location: Locations (x,y) on the screen to place upper left corner of the window
:type location: (int, int)
:return: None
:rtype: None
"""
if _Debugger.debugger is None:
_Debugger.debugger = _Debugger()
debugger = _Debugger.debugger
frame = inspect.currentframe()
# prev_frame = inspect.currentframe().f_back
# frame = inspect.getframeinfo(prev_frame)
# frame, *others = inspect.stack()[1]
try:
debugger.locals = frame.f_back.f_locals
debugger.globals = frame.f_back.f_globals
finally:
del frame
if debugger.popout_window:
debugger.popout_window.Close()
debugger.popout_window = None
debugger._build_floating_window(location=location)
def _refresh_debugger():
"""
Refreshes the debugger windows. USERS should NOT be calling this function. Within PySimpleGUI it is called for the USER every time the Window.Read function is called.
:return: return code False if user closed the main debugger window.
:rtype: (bool)
"""
if _Debugger.debugger is None:
_Debugger.debugger = _Debugger()
debugger = _Debugger.debugger
Window._read_call_from_debugger = True
rc = None
# frame = inspect.currentframe()
# frame = inspect.currentframe().f_back
frame, *_ = inspect.stack()[1]
try:
debugger.locals = frame.f_back.f_locals
debugger.globals = frame.f_back.f_globals
finally:
del frame
if debugger.popout_window:
rc = debugger._refresh_floating_window()
if debugger.watcher_window:
rc = debugger._refresh_main_debugger_window(debugger.locals, debugger.globals)
Window._read_call_from_debugger = False
return rc
def _debugger_window_is_open():
"""
Determines if one of the debugger window is currently open
:return: returns True if the popout window or the main debug window is open
:rtype: (bool)
"""
if _Debugger.debugger is None:
return False
debugger = _Debugger.debugger
return debugger.popout_window or debugger.watcher_window
# ------------------------- NO BUTTON Element lazy function ------------------------- #
def Debug(button_text='', *, size=(None, None), auto_size_button=None, button_color=None, disabled=False, font=None,
tooltip=None, bind_return_key=False, focus=False, pad=None, key=None, visible=True, metadata=None, expand_x=False, expand_y=False):
"""
This Button has been changed in how it works!!
Your button has been replaced with a normal button that has the PySimpleGUI Debugger buggon logo on it.
In your event loop, you will need to check for the event of this button and then call:
show_debugger_popout_window()
:param button_text: text in the button (Default value = '')
:type button_text: (str)
:param size: (w,h) w=characters-wide, h=rows-high
:type size: (int, int)
:param auto_size_button: True if button size is determined by button text
:type auto_size_button: (bool)
:param button_color: button color (foreground, background)
:type button_color: (str, str) | str
:param disabled: set disable state for element (Default = False)
:type disabled: (bool)
:param font: specifies the font family, size, etc. Tuple or Single string format 'name size styles'. Styles: italic * roman bold normal underline overstrike
:type font: (str or (str, int[, str]) or None)
:param tooltip: text, that will appear when mouse hovers over the element
:type tooltip: (str)
:param bind_return_key: (Default = False) If True, this button will appear to be clicked when return key is pressed in other elements such as Input and elements with return key options
:type bind_return_key: (bool)
:param focus: if focus should be set to this
:type focus:
:param pad: Amount of padding to put around element in pixels (left/right, top/bottom) or ((left, right), (top, bottom)) or an int. If an int, then it's converted into a tuple (int, int)
:type pad: (int, int) or ((int, int),(int,int)) or (int,(int,int)) or ((int, int),int) | int
:param key: key for uniquely identify this element (for window.find_element)
:type key: str | int | tuple | object
:param visible: set initial visibility state of the Button
:type visible: (bool)
:param metadata: Anything you want to store along with this button
:type metadata: (Any)
:param expand_x: If True Element will expand in the Horizontal directions
:type expand_x: (bool)
:param expand_y: If True Element will expand in the Vertical directions
:type expand_y: (bool)
:return: returns a button
:rtype: (Button)
"""
user_key = key if key is not None else button_text
return Button(button_text='', button_type=Button.TYPE.READ_FORM, tooltip=tooltip, size=size,
auto_size_button=auto_size_button, button_color=theme_button_color(), font=font, disabled=disabled,
bind_return_key=bind_return_key, focus=focus, pad=pad, key=user_key, visible=visible, image_data=PSG_DEBUGGER_LOGO,
image_subsample=2, border_width=0, metadata=metadata, expand_x=expand_x, expand_y=expand_y)
PSG_DEBUGGER_LOGO = b'iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiIAAC4iAari3ZIAAA2CSURBVHhe7VtplBXFGe03qBiN+RGJJjEGFGZYXWMETDhhZFEGDaA4KCbnmOTo0UQx7AwgMIDs+4ggGlAjI/BERxY3loggHpGdgRkGJlFQzxFzNCd6NC6hc28tXVXd/XrevBnyI/HC7ar6vuru735V1a9f9xvvG/yfI6XKBuO+QYN/hKIT+H1h8Lz3wG1lC+Z+KJu5obDrtc1QtAVPB98Ha/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