
    $gZ                    x   d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl	m
Z
 ddlmZmZ ddlmZmZ erdd	lmZmZ dd
lmZ ddlmZ d@dZd@dZ G d de          Z G d d          Z G d d          Z	 	 	 	 	 dAdBd#Z ej        d$          Zd@d%Z dCdDd+Z!	 	 	 	 	 	 	 	 dEdFd6Z"dd,ddddd'd7dGd;Z#dHd?Z$dS )Iz
    babel.messages.pofile
    ~~~~~~~~~~~~~~~~~~~~~

    Reading and writing of files in the ``gettext`` PO (portable object)
    format.

    :copyright: (c) 2013-2024 by the Babel Team.
    :license: BSD, see LICENSE for more details.
    )annotationsN)Iterable)TYPE_CHECKING)Locale)CatalogMessage)_cmpwraptext)IOAnyStr)SupportsWrite)Literalstringstrreturnc                h    d }t          j        d                              || dd                   S )zReverse `escape` the given string.

    >>> print(unescape('"Say:\\n  \\"hello, world!\\"\\n"'))
    Say:
      "hello, world!"
    <BLANKLINE>

    :param string: the string to unescape
    c                `    |                      d          }|dk    rdS |dk    rdS |dk    rdS |S )N   n
t	r)group)matchms     U/var/www/html/netbox-4.1.3/venv/lib/python3.11/site-packages/babel/messages/pofile.pyreplace_escapesz!unescape.<locals>.replace_escapes'   s@    KKNN884#XX4#XX4    z\\([\\trn"])r   )recompilesub)r   r   s     r   unescaper%      s;    	 	 	 :o&&**?F1R4LIIIr    c                    d| v r]|                                  }|                     d          r
|dd         }t          t          |          }d                    |          S t          |           S )a  Reverse the normalization done by the `normalize` function.

    >>> print(denormalize(r'''""
    ... "Say:\n"
    ... "  \"hello, world!\"\n"'''))
    Say:
      "hello, world!"
    <BLANKLINE>

    >>> print(denormalize(r'''""
    ... "Say:\n"
    ... "  \"Lorem ipsum dolor sit "
    ... "amet, consectetur adipisicing"
    ... " elit, \"\n"'''))
    Say:
      "Lorem ipsum dolor sit amet, consectetur adipisicing elit, "
    <BLANKLINE>

    :param string: the string to denormalize
    r   ""r   N )
splitlines
startswithmapr%   join)r   escaped_linesliness      r   denormalizer/   4   so    * v~~))++T"" 	.)!""-MHm,,wwu~~r    c                  $     e Zd ZdZd fdZ xZS )PoFileErrorzDException thrown by PoParser when an invalid po file is encountered.messager   catalogr   linelinenointr   Nonec                ~    t                                          | d|            || _        || _        || _        d S )Nz on )super__init__r3   r4   r5   )selfr2   r3   r4   r5   	__class__s        r   r:   zPoFileError.__init__V   sB    G1111222	r    )
r2   r   r3   r   r4   r   r5   r6   r   r7   )__name__
__module____qualname____doc__r:   __classcell__)r<   s   @r   r1   r1   S   sC        NN         r    r1   c                  n    e Zd ZddZddZddZdd
ZddZddZddZ	ddZ
ddZddZddZddZdS )_NormalizedStringargsr   r   r7   c                H    g | _         |D ]}|                     |           d S N)_strsappend)r;   rD   args      r   r:   z_NormalizedString.__init___   s7     "
 	 	CKK	 	r    sc                ^    | j                             |                                           d S rF   )rG   rH   strip)r;   rJ   s     r   rH   z_NormalizedString.appendd   s&    
!''))$$$$$r    c                \    d                     t          t          | j                            S )Nr(   )r,   r+   r%   rG   r;   s    r   r/   z_NormalizedString.denormalizeg   s     wws8TZ00111r    boolc                *    t          | j                  S rF   )rO   rG   rN   s    r   __bool__z_NormalizedString.__bool__j   s    DJr    c                J    t           j                            | j                  S rF   )oslinesepr,   rG   rN   s    r   __repr__z_NormalizedString.__repr__m   s    ztz***r    otherobjectr6   c                ^    |sdS t          t          |           t          |                    S )Nr   )r	   r   r;   rV   s     r   __cmp__z_NormalizedString.__cmp__p   s+     	1CIIs5zz***r    c                4    |                      |          dk    S Nr   rZ   rY   s     r   __gt__z_NormalizedString.__gt__v       ||E""Q&&r    c                4    |                      |          dk     S r\   r]   rY   s     r   __lt__z_NormalizedString.__lt__y   r_   r    c                4    |                      |          dk    S r\   r]   rY   s     r   __ge__z_NormalizedString.__ge__|       ||E""a''r    c                4    |                      |          dk    S r\   r]   rY   s     r   __le__z_NormalizedString.__le__   rd   r    c                4    |                      |          dk    S r\   r]   rY   s     r   __eq__z_NormalizedString.__eq__   rd   r    c                4    |                      |          dk    S r\   r]   rY   s     r   __ne__z_NormalizedString.__ne__   rd   r    N)rD   r   r   r7   )rJ   r   r   r7   )r   r   )r   rO   )rV   rW   r   r6   )rV   rW   r   rO   )r=   r>   r?   r:   rH   r/   rQ   rU   rZ   r^   ra   rc   rf   rh   rj    r    r   rC   rC   ]   s          
% % % %2 2 2 2       + + + ++ + + +' ' ' '' ' ' '( ( ( (( ( ( (( ( ( (( ( ( ( ( (r    rC   c                  p    e Zd ZdZg dZdddZddZddZddZdddZ	dddZ
ddZddZddZddZdS )PoFileParserzSupport class to  read messages from a ``gettext`` PO (portable object) file
    and add them to a `Catalog`

    See `read_po` for simple cases.
    )msgidmsgstrmsgctxtmsgid_pluralFr3   r   ignore_obsoleterO   abort_invalidr   r7   c                t    || _         || _        d| _        d| _        || _        |                                  d S r\   )r3   rr   counteroffsetrs   _reset_message_state)r;   r3   rr   rs   s       r   r:   zPoFileParser.__init__   s?    .*!!#####r    c                    g | _         g | _        g | _        g | _        g | _        g | _        d | _        d| _        d| _        d| _	        d| _
        d S )NF)messagestranslations	locationsflagsuser_commentsauto_commentscontextobsoletein_msgid	in_msgstr
in_msgctxtrN   s    r   rw   z!PoFileParser._reset_message_state   sV    
r    c           
        | j                                          t          | j                  dk    rt	          d | j        D                       }n| j        d                                         }t          |t          t          f          rd t          | j	        j
                  D             }| j         D ]I\  }}|| j	        j
        k    r|                     d| j        d           2|                                ||<   Jt	          |          }n%| j         d         d                                         }| j        r| j                                        nd}t          ||t          | j                  t!          | j                  | j        | j        | j        dz   |          }| j        r| j        s|| j	        j        |<   n
|| j	        |<   | xj        dz  c_        |                                  dS )	z
        Add a message to the catalog based on the current parser state and
        clear the state ready to process the next message.
        r   c              3  >   K   | ]}|                                 V  d S rF   )r/   ).0r   s     r   	<genexpr>z,PoFileParser._add_message.<locals>.<genexpr>   s*      AAa!--//AAAAAAr    r   c                    g | ]}d S r(   rk   )r   _s     r   
<listcomp>z-PoFileParser._add_message.<locals>.<listcomp>   s    BBBQbBBBr    r(   z5msg has more translations than num_plurals of catalogN)r5   r   )rz   sortlenry   tupler/   
isinstancelistranger3   num_plurals_invalid_pofilerv   r   r   r{   setr|   r~   r}   r   rr   ru   rw   )r;   rn   r   idxtranslationrp   r2   s          r   _add_messagezPoFileParser._add_message   s   
 	   t}!!AA4=AAAAAEEM!$0022EedE]++ 		;BB%(@"A"ABBBF$($5 8 8 [$,222((T[:qrrr)5577s6]]FF&q)!,88::F04F$,**,,,$%dn)=)=s4:,d.@WX")+ + + = 	*' 7/6%e,")DL!!#####r    c                @    | j         r|                                  d S d S rF   )ry   r   rN   s    r   _finish_current_messagez$PoFileParser._finish_current_message   s.    = 	 	  	 r    c                    |                     d          r|                     ||           d S |                     |||           d S )N")r*   !_process_string_continuation_line_process_keyword_line)r;   r5   r4   r   s       r   _process_message_linez"PoFileParser._process_message_line   sP    ??3 	?224@@@@@&&vtX>>>>>r    c                   | j         D ]o}	 |                    |          r0|t          |                   dv r|t          |          d          } nAI# t          $ r |                     ||d           Y lw xY w|                     ||d           d S |dv r|                                  || _        |dk    r|| _        |dv r7d| _        d| _	        | j
                            t          |                     d S |d	k    rd| _	        d| _        |                    d
          rY|dd                              dd          \  }}| j                            t!          |          t          |          g           d S | j                            dt          |          g           d S |dk    rd| _        t          |          | _        d S d S )N) [z$Keyword must be followed by a stringz0Start of line didn't match any expected keyword.)rn   rp   rn   )rn   rq   FTro   r   r   ]r   rp   )	_keywordsr*   r   
IndexErrorr   r   r   rv   r   r   ry   rH   rC   r   splitrz   r6   r   )r;   r5   r4   r   keywordrI   r   msgs           r   r   z"PoFileParser._process_keyword_line   s   ~ 		 		G[??7++ S\\0Bj0P0Ps7||}}-CE [ [ [$$T63YZZZZZ[   v/abbbF***((***  g DK///#DO DMM  !23!7!788888  !DM!DN~~c"" Fqrr7==a00S!((#c((4Ec4J4J)KLLLLL!((!->s-C-C)DEEEEE	!!"DO,S11DLLL "!s   AA!A54A5c                    | j         r| j        d         }nC| j        r| j        d         d         }n(| j        r| j        }n|                     ||d           d S |                    |           d S )Nr!   r   z<Got line starting with " but not in msgid, msgstr or msgctxt)r   ry   r   rz   r   r   r   rH   )r;   r4   r5   rJ   s       r   r   z.PoFileParser._process_string_continuation_line   s|    = 	b!AA^ 	!"%a(AA_ 	AA  v/noooF	r    c                   |                                   |dd                              d          r|dd                                                                          D ]}|                    d          }|dk    rQ	 t          ||dz   d                    }n# t          $ r Y Ew xY w| j                            |d |         |f           n| j                            |d f           d S |dd                              d          r`|dd                                                              d          D ].}| j	                            |
                                           /d S |dd                              d          r<|dd          
                                }|r| j                            |           d S d S | j                            |dd          
                                           d S )Nr   :   r   ,.)r   r*   lstripr   rfindr6   
ValueErrorr{   rH   r|   rL   r~   r}   )r;   r4   locationposr5   flagcomments          r   _process_commentzPoFileParser._process_comment  s   $$&&&8s## 	8 HOO--3355 	< 	<nnS))!88!!$XcAghh%7!8!8% ! ! ! !N))8DSD>6*BCCCCN))8T*:;;;;	< 	< !""X  %% 
	8QRR))//44 0 0
!!$**,,////0 0!""X  %% 	8122hnn&&G 3"))'222223 3 %%d122hnn&6&677777s   >B
B&%B&fileobjIO[AnyStr] | Iterable[AnyStr]c                   t          |          D ]\  }}|                                }t          |t                    s|                    | j        j                  }|sP|                    d          rf|dd                             d          r3|                     ||dd         	                                d           | 
                    |           |                     ||           |                                  | j        s{| j        s| j        s| j        rh| j                            t%          d                     | j                            d	t%          d          g           |                                  dS dS dS )
z
        Reads from the file-like object `fileobj` and adds any po file
        units found in it to the `Catalog` supplied to the constructor.
        #r   N~r   T)r   r'   r   )	enumeraterL   r   r   decoder3   charsetr*   r   r   r   r   ru   r|   r}   r~   ry   rH   rC   rz   r   )r;   r   r5   r4   s       r   parsezPoFileParser.parse&  s    &g.. 	9 	9LFD::<<DdC(( 9{{4<#788 s## 98&&s++ 0..vtABBx7H7HSW.XXXX))$////**648888$$&&& | 	  	 t/A 	 TEW 	 M  !24!8!8999$$a):4)@)@%ABBB	  	  	  	 r    c                    t          |t                    sJ | j        rt          || j        ||          t          d|           t          d|dz    d|           d S )NzWARNING:zWARNING: Problem on line r   z: )r   r   rs   r1   r3   print)r;   r4   r5   r   s       r   r   zPoFileParser._invalid_pofileC  sr    $$$$$$ 	?c4<v>>>j#@&1*@@@@AAAAAr    N)FF)r3   r   rr   rO   rs   rO   r   r7   )r   r7   )F)r   r   r   r7   )r=   r>   r?   r@   r   r:   rw   r   r   r   r   r   r   r   r   rk   r    r   rm   rm      s          I$ $ $ $ $       $ $ $ $@       ? ? ? ? ?'2 '2 '2 '2 '2R
 
 
 
8 8 8 86       :B B B B B Br    rm   Fr   r   localestr | Locale | Nonedomain
str | Nonerr   rO   r   rs   r   c                x    t          |||          }t          |||          }|                    |            |S )a  Read messages from a ``gettext`` PO (portable object) file from the given
    file-like object (or an iterable of lines) and return a `Catalog`.

    >>> from datetime import datetime
    >>> from io import StringIO
    >>> buf = StringIO('''
    ... #: main.py:1
    ... #, fuzzy, python-format
    ... msgid "foo %(name)s"
    ... msgstr "quux %(name)s"
    ...
    ... # A user comment
    ... #. An auto comment
    ... #: main.py:3
    ... msgid "bar"
    ... msgid_plural "baz"
    ... msgstr[0] "bar"
    ... msgstr[1] "baaz"
    ... ''')
    >>> catalog = read_po(buf)
    >>> catalog.revision_date = datetime(2007, 4, 1)

    >>> for message in catalog:
    ...     if message.id:
    ...         print((message.id, message.string))
    ...         print(' ', (message.locations, sorted(list(message.flags))))
    ...         print(' ', (message.user_comments, message.auto_comments))
    (u'foo %(name)s', u'quux %(name)s')
      ([(u'main.py', 1)], [u'fuzzy', u'python-format'])
      ([], [])
    ((u'bar', u'baz'), (u'bar', u'baaz'))
      ([(u'main.py', 3)], [])
      ([u'A user comment'], [u'An auto comment'])

    .. versionadded:: 1.0
       Added support for explicit charset argument.

    :param fileobj: the file-like object (or iterable of lines) to read the PO file from
    :param locale: the locale identifier or `Locale` object, or `None`
                   if the catalog is not bound to a locale (which basically
                   means it's a template)
    :param domain: the message domain
    :param ignore_obsolete: whether to ignore obsolete messages in the input
    :param charset: the character set of the catalog.
    :param abort_invalid: abort read if po file is invalid
    )r   r   r   )rs   )r   rm   r   )r   r   r   rr   r   rs   r3   parsers           r   read_por   K  sD    l VFGDDDG'?-PPPF
LLNr    zL(\s+|[^\s\w]*\w+[a-zA-Z]-(?=\w+[a-zA-Z])|(?<=[\w\!\"\'\&\.\,\?])-{2,}(?=\w))c                    d|                      dd                               dd                               dd                               dd	                               d
d          z  S )zEscape the given string so that it can be included in double-quoted
    strings in ``PO`` files.

    >>> escape('''Say:
    ...   "hello, world!"
    ... ''')
    '"Say:\\n  \\"hello, world!\\"\\n"'

    :param string: the string to escape
    z"%s"\z\\r   z\tr   z\rr   z\nr   z\")replace)r   s    r   escaper     s]     FNN400"74//"74//"74//"74//	0 0r    r(   L   prefixwidthr6   c                   |rW|dk    rPt                    }g }|                     d          D ]'}t          t          |                    |z   |k    rt                              |          }|                                 |rg }d}|rt          t          |d                             dz
  |z   }	||	z   |k     r-|                    |                                           ||	z  }n*|s'|                    |                                           n||                    d                    |                     ||                    |           )n|                     d          }t          |          dk    rt          |           S |r|d         s|d= |dxx         dz  cc<   dd                    fd	|D                       z   S )
a  Convert a string into a format that is appropriate for .po files.

    >>> print(normalize('''Say:
    ...   "hello, world!"
    ... ''', width=None))
    ""
    "Say:\n"
    "  \"hello, world!\"\n"

    >>> print(normalize('''Say:
    ...   "Lorem ipsum dolor sit amet, consectetur adipisicing elit, "
    ... ''', width=32))
    ""
    "Say:\n"
    "  \"Lorem ipsum dolor sit "
    "amet, consectetur adipisicing"
    " elit, \"\n"

    :param string: the string to normalize
    :param prefix: a string that should be prepended to every line
    :param width: the maximum line width; use `None`, 0, or a negative number
                  to completely disable line wrapping
    r   Tr   r!   r(   r   r   z""
c                4    g | ]}t          |          z   S rk   )r   )r   r4   r   s     r   r   znormalize.<locals>.<listcomp>  s$    III4 5IIIr    )	r   r)   r   WORD_SEPr   reverserH   popr,   )
r   r   r   	prefixlenr.   r4   chunksbufsizelengths
    `        r   	normalizer     s   0  (KK	%%d++ 	# 	#D6$<<  9,u44!--    /CD  
"!$VF2J%7%7!8!81!<y!H&=500JJvzz||444 FNDD#& 9 !$

6::<< 8 8 8! ! 
" LL...  /  T"""")	#, !!$''
5zzQf~~  U2Y "Ib			T			DIIIIII5IIIJJJJr    TSupportsWrite[bytes]r3   no_locationomit_headersort_outputsort_by_fileinclude_previousinclude_linenor7   c
           
         d}
|rd}
n|rd}
t          |||	||||
|          D ]G}t          |t                    r|                    |j        d          }|                     |           HdS )a  Write a ``gettext`` PO (portable object) template file for a given
    message catalog to the provided file-like object.

    >>> catalog = Catalog()
    >>> catalog.add(u'foo %(name)s', locations=[('main.py', 1)],
    ...             flags=('fuzzy',))
    <Message...>
    >>> catalog.add((u'bar', u'baz'), locations=[('main.py', 3)])
    <Message...>
    >>> from io import BytesIO
    >>> buf = BytesIO()
    >>> write_po(buf, catalog, omit_header=True)
    >>> print(buf.getvalue().decode("utf8"))
    #: main.py:1
    #, fuzzy, python-format
    msgid "foo %(name)s"
    msgstr ""
    <BLANKLINE>
    #: main.py:3
    msgid "bar"
    msgid_plural "baz"
    msgstr[0] ""
    msgstr[1] ""
    <BLANKLINE>
    <BLANKLINE>

    :param fileobj: the file-like object to write to
    :param catalog: the `Catalog` instance
    :param width: the maximum line width for the generated output; use `None`,
                  0, or a negative number to completely disable line wrapping
    :param no_location: do not emit a location comment for every message
    :param omit_header: do not include the ``msgid ""`` entry at the top of the
                        output
    :param sort_output: whether to sort the messages in the output by msgid
    :param sort_by_file: whether to sort the messages in the output by their
                         locations
    :param ignore_obsolete: whether to ignore obsolete messages and not include
                            them in the output; by default they are included as
                            comments
    :param include_previous: include the old msgid as a comment when
                             updating the catalog
    :param include_lineno: include line number in the location comment
    Nr2   r   rr   r   r   r   r   sort_byr   backslashreplace)generate_por   r   encoder   write)r   r3   r   r   r   r   r   rr   r   r   r   r4   s               r   write_por     s    p G 	 '%)	 	 	   dC   	D;;w0BCCDd r    r   r   %Literal['message', 'location'] | NoneIterable[str]c             #  R   K   rdk    rnddfd	}d fd	}	t           |          D ]}
|
j        s\|r j        }rIdk    rCg }|                                D ]}|t	          |d          z  }d	                    |          }| d	V  |
j        D ]} ||          E d
{V  |
j        D ]} ||d          E d
{V  |sg }	 t          |
j	        d           }n# t          $ r
 |
j	        }Y nw xY w|D ]J\  }}|                    t          j        d          }|r
|r| d|d}||vr|                    |           K |d                    |          d          E d
{V  |
j        r0dd                    dgt          |
j                             d	V  |
j        r||rz |dt#          |
j        d                    d          E d
{V  t%          |
j                  dk    r2t#          |
j        d                   } |d| d          E d
{V   |	|
          E d
{V  d	V  |s]t           j                                        |          D ]6}
|
j        D ]} ||          E d
{V   |	|
d          E d
{V  d	V  5d
S d
S )zYield text strings representing a ``gettext`` PO (portable object) file.

    See `write_po()` for a more detailed description.
    r   r   r(   c              3  l   K   t          |           D ]}d| d|                                 dV   d S )Nr   r   r   )r
   rL   )r   r   r4   comment_widths      r   _format_commentz$generate_po.<locals>._format_comment=  sT      Wm44 	0 	0D/f//tzz||///////	0 	0r    c           
   3    K   t          | j        t          t          f          r| j        r| dt          | j        |           dV  | dt          | j        d         |           dV  | dt          | j        d         |           dV  t          j                  D ]A}	 | j        |         }n# t          $ r d}Y nw xY w| d	|d
dt          ||           dV  Bd S | j        r| dt          | j        |           dV  | dt          | j        |           dV  | dt          | j        pd|           dV  d S )Nzmsgctxt )r   r   r   msgid r   msgid_plural r   r(   zmsgstr[dz] zmsgstr )
r   idr   r   r   r   r   r   r   r   )r2   r   r   r   r3   r   s       r   _format_messagez$generate_po.<locals>._format_messageA  s     gj4-00 	d dcc7?6Y^)_)_)_cccccc[[9WZ]6QV#W#W#W[[[[[[bb)GJqM&X]*^*^*^bbbbbbW011 c c $^C0FF!      FFF bbbbb6&X]1^1^1^bbbbbbbc c  dcc7?6Y^)_)_)_ccccccXX9WZe#T#T#TXXXXXXccIgn.B6Y^$_$_$_ccccccccs   ,B::C	C	)r   z# )r   subsequent_indentr   Nr   )r   c                \    | d         t          | d         t                    r| d         pdfS )Nr   r   r!   )r   r6   )xs    r   <lambda>zgenerate_po.<locals>.<lambda>o  s/    !A$
1Q48M8M8VRSTURV8\Z\1] r    key/r   r   r   r   z, r   )r   |r   r   z#~ r   )_sort_messagesr   header_commentr)   r
   r,   r}   r~   sortedr{   	TypeErrorr   rS   seprH   r|   previous_idr   r   r   values)r3   rr   r   r   r   r   r   r   r   r   r2   comment_headerr.   r4   r   locsr{   filenamer5   r   norm_previous_idr   s   `      `             @r   r   r   *  s     " #8uqyyEEbM0 0 0 0 0 0d d d d d d d& "'7;;; 3 3z 
	( $3N 2*5577 > >DXd%8<> > > >EE!%5!1!1#'''''', 	0 	0G&w//////////, 	< 	<G&ws;;;;;;;;;;; 	CD."7#4']']_ _ _		 . . .#-			. %. * * &#++BFC88 8n 8"*77V777H4''KK)))&sxx~~cBBBBBBBBBB= 	BAdii <fW]&;&; <==AAAAAA 	[#3 	[&I7#6q#9GGGII          7&''!++#,W-@-C5#Q#Q#Q *?+M;K+M+MVYZZZZZZZZZZ"?7+++++++++



 %##%%
 
 
 	 	G #0 4 4*?73333333333&wu==========JJJJ 	 	s   C++C?>C?ry   Iterable[Message]list[Message]c                    t          |           } |dk    r|                                  n|dk    r|                     d            | S )z
    Sort the given message iterable by the given criteria.

    Always returns a list.

    :param messages: An iterable of Messages.
    :param sort_by: Sort by which criteria? Options are `message` and `location`.
    :return: list[Message]
    r2   r   c                    | j         S rF   )r{   )r   s    r   r   z _sort_messages.<locals>.<lambda>  s    AK r    r   )r   r   )ry   r   s     r   r   r     sQ     H~~H)	J		//000Or    )r   r   r   r   )NNFNF)r   r   r   r   r   r   rr   rO   r   r   rs   rO   r   r   )r(   r   )r   r   r   r   r   r6   r   r   )r   FFFFFFT)r   r   r3   r   r   r6   r   rO   r   rO   r   rO   r   rO   rr   rO   r   rO   r   rO   r   r7   )r3   r   rr   rO   r   rO   r   rO   r   rO   r   rO   r   r   r   r6   r   r   )ry   r  r   r   r   r	  )%r@   
__future__r   rS   r"   collections.abcr   typingr   
babel.corer   babel.messages.catalogr   r   
babel.utilr	   r
   r   r   	_typeshedr   typing_extensionsr   r%   r/   	Exceptionr1   rC   rm   r   r#   r   r   r   r   r   r   rk   r    r   <module>r     s  	 	 # " " " " " 				 				 $ $ $ $ $ $                   3 3 3 3 3 3 3 3 % % % % % % % % *!!!!!!!!''''''))))))J J J J.       >    )   )( )( )( )( )( )( )( )(XB B B B B B B BH #'!9 9 9 9 9x 2:   0 0 0 0$:K :K :K :K :K@ !"J J J J J` ""59g g g g g gT     r    