
    ՟f                     :    d Z ddlmZ  G d de      ZdedefdZy)	a&  This module contains a helper functions related to string manipulation.

Warning:
    Contents of this module are intended to be used internally by the library and *not* by the
    user. Changes to this module are not considered breaking changes and may not be documented in
    the changelog.
    )
StringEnumc                       e Zd ZdZdZdZdZy)TextEncodingzNThis enum contains encoding schemes for text.

    .. versionadded:: 21.5
     zutf-8z	utf-16-leN)__name__
__module____qualname____doc__	__slots__UTF_8	UTF_16_LEr       R/var/www/cvtools/html/venv/lib/python3.12/site-packages/telegram/_utils/strings.pyr   r   !   s    
 IEIr   r   	snake_strreturnc                 f    | j                  d      }|d   dj                  d |dd D              z   S )zConverts a snake_case string to camelCase.

    Args:
        snake_str (:obj:`str`): The string to convert.

    Returns:
        :obj:`str`: The converted string.
    _r    c              3   <   K   | ]  }|j                           y w)N)title).0xs     r   	<genexpr>z to_camel_case.<locals>.<genexpr>7   s     "E1779"Es      N)splitjoin)r   
componentss     r   to_camel_caser   -   s6     %Ja=277"Ejn"EEEEr   N)r
   telegram._utils.enumr   r   strr   r   r   r   <module>r!      s1   & ,	: 	
FS 
FS 
Fr   