
'''simple docstring'''




import argparse


lowercase			:				Dict    		=			'docs/source/_static/js/custom.js'







def 		lowerCAmelCase_				(   snake_case__						):




    '''simple docstring'''



    with open(snake_case__		,				encoding='''utf-8'''		,				newline='''\n'''						) as f:
        A       :   Dict					=						f.readlines()
    A       :   Dict					=						0

    # First let's put the right version
    while not lines[index].startswith('''const stableVersion ='''						):
        index += 1
    A       :   Union[str, Any]					=						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(snake_case__		,				'''w'''		,				encoding='''utf-8'''		,				newline='''\n'''						) as f:
        f.writelines(snake_case__						)


if __name__ == "__main__":
      lowercase			:				Union[str, Any]    		=			argparse.ArgumentParser()
      parser.add_argument('--version', help='Release version.')
      lowercase			:				List[str]    		=			parser.parse_args()
      update_custom_js(args.version)






'''simple docstring'''




import os







def 		lowerCAmelCase_				(   ):




    '''simple docstring'''



    A       :   List[Any]					=						os.path.join(os.path.dirname(snake_case__						)		,				'''num.txt'''						)
    with open(snake_case__						) as file_hand:
        return str(sum(int(snake_case__						) for line in file_hand						)						)[:10]


if __name__ == "__main__":
      print(solution())




