


snake_case							:       Optional[Any]     			=      {
    '''A''': '''.-''', '''B''': '''-...''', '''C''': '''-.-.''', '''D''': '''-..''', '''E''': '''.''', '''F''': '''..-.''', '''G''': '''--.''',
    '''H''': '''....''', '''I''': '''..''', '''J''': '''.---''', '''K''': '''-.-''', '''L''': '''.-..''', '''M''': '''--''', '''N''': '''-.''',
    '''O''': '''---''', '''P''': '''.--.''', '''Q''': '''--.-''', '''R''': '''.-.''', '''S''': '''...''', '''T''': '''-''', '''U''': '''..-''',
    '''V''': '''...-''', '''W''': '''.--''', '''X''': '''-..-''', '''Y''': '''-.--''', '''Z''': '''--..''', '''1''': '''.----''',
    '''2''': '''..---''', '''3''': '''...--''', '''4''': '''....-''', '''5''': '''.....''', '''6''': '''-....''', '''7''': '''--...''',
    '''8''': '''---..''', '''9''': '''----.''', '''0''': '''-----''', '''&''': '''.-...''', '''@''': '''.--.-.''',
    ''':''': '''---...''', ''',''': '''--..--''', '''.''': '''.-.-.-''', '''\'''': '''.----.''', '''"''': '''.-..-.''',
    '''?''': '''..--..''', '''/''': '''-..-.''', '''=''': '''-...-''', '''+''': '''.-.-.''', '''-''': '''-....-''',
    '''(''': '''-.--.''', ''')''': '''-.--.-''', '''!''': '''-.-.--''', ''' ''': '''/'''
}  # Exclamation mark is not in ITU-R recommendation
# fmt: on
snake_case							:       Dict     			=      {value: key for key, value in MORSE_CODE_DICT.items()}






def 							__lowercase   ( __lowerCAmelCase							:				str   ):
							return " ".join(MORSE_CODE_DICT[char] for char in message.upper()   )






def 							__lowercase   ( __lowerCAmelCase							:				str   ):
							return "".join(REVERSE_DICT[char] for char in message.split()   )






def 							__lowercase   ( ):
							a__             =     'Morse code here!'
							print(__lowerCAmelCase   )
							a__             =     encrypt(__lowerCAmelCase   )
							print(__lowerCAmelCase   )
							a__             =     decrypt(__lowerCAmelCase   )
							print(__lowerCAmelCase   )


if __name__ == "__main__":
						main()








import argparse


snake_case							:       int     			=      '''docs/source/_static/js/custom.js'''






def 							__lowercase   ( __lowerCAmelCase							:				Optional[Any]   ):
							with open(__lowerCAmelCase					,    encoding='utf-8'					,    newline='\n'   ) as f:
														a__             =     f.readlines()
							a__             =     0

							# First let's put the right version
							while not lines[index].startswith('const stableVersion ='   ):
														index += 1
							a__             =     F'const stableVersion = "v{version}"\n'

							# Then update the dictionary
							while not lines[index].startswith('const versionMapping = {'   ):
														index += 1

							# We go until the end
							while not lines[index].startswith('}'   ):
														index += 1
							# We add the new version at the end
							lines[index - 1] += F'    "v{version}": "v{version}",\n'

							with open(__lowerCAmelCase					,    'w'					,    encoding='utf-8'					,    newline='\n'   ) as f:
														f.writelines(__lowerCAmelCase   )


if __name__ == "__main__":
						snake_case							:       Optional[Any]     			=      argparse.ArgumentParser()
						parser.add_argument('''--version''', help='''Release version.''')
						snake_case							:       Optional[int]     			=      parser.parse_args()
						update_custom_js(args.version)




