Ë
    §!fVƒ  ã                   óð  — d Z ddlZddlZddlZddlZddlZddlZddlZddl	Zddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlmZmZmZ dZdZ G d„ de«      Z G d„ d	e«      Z G d
„ de«      Zdee   dee   fd„Zdedefd„Zdee   dedee   fd„Z d„ Z!dee   dedee   fd„Z"dee   de#e$ee   e%f   fd„Z&ejN                   G d„ d«      «       Z( G d„ d«      Z) G d„ dejT                  «      Z+y)z(Store, load, and handle problem reports.é    N)Ú	GeneratorÚIterableÚIterators   ‹s   (µ/ýc                   ó,   ‡ — e Zd ZdZdedefˆ fd„Zˆ xZS )ÚMalformedProblemReportz’Raised when a problem report violates the crash report format.

    This exception might be raised when the keys of the report are not ASCII.
    ÚmessageÚargsc                 ó.   •— t        ‰| �  d|› d�g|¢­Ž  y )NzMalformed problem report: z$. Is this a proper .crash text file?)ÚsuperÚ__init__)Úselfr   r	   Ú	__class__s      €ú0/usr/lib/python3/dist-packages/problem_report.pyr   zMalformedProblemReport.__init__,   s+   ø€ Ü‰ÑØ(¨¨	ð 22ð 3ð	
ð ô	
ó    )Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚobjectr   Ú__classcell__©r   s   @r   r   r   &   s    ø„ ñð

 ð 
¨F÷ 
ñ 
r   r   c                   ó   — e Zd ZdZy)Ú_SizeLimitExceededz>Raised internally to signal a value that is too big to encode.N)r   r   r   r   © r   r   r   r   4   s   „ ÚHr   r   c                   óJ   — e Zd ZdZdee   ddfd„Zdee   fd„Zdee   fd„Zy)Ú_EntryParserzÀIterator over entries in RFC822 formatted files.

    This iterator reads ahead one line to determine the boundaries between
    the entries. Each returned entry is a line-based iterator.
    ÚiteratorÚreturnNc                 ó.   — || _         d | _        d| _        y )NT)r   Ú	next_lineÚ
entry_read)r   r   s     r   r   z_EntryParser.__init__?   s   € Ø ˆŒØ'+ˆŒØˆ�r   c              #   óÌ   K  — | j                   sJ ‚| j                   –— d| _         | j                  D ]'  }|j                  d«      r|–— Œ|| _          d| _        y d| _        y­w)z$Iterate over all lines of one entry.Nó    T)r!   r   Ú
startswithr"   )r   Úlines     r   Úentry_iteratorz_EntryParser.entry_iteratorD   sa   è ø€ à�~Š~Ðˆ~Ø�n‰nÒØˆŒØ—M‘Mò 	ˆDØ�‰˜tÔ$Ø“
à!%�”ØØˆ�ð	ð ˆ�ùs   ‚A"A$c                 ó¾   — | j                   s| j                  «       D ]  }Œ | j                  st        | j                  «      | _        d| _         | j                  «       S )NF)r"   r'   r!   Únextr   )r   Ú_s     r   Ú__next__z_EntryParser.__next__Q   sQ   € Ø�ŠØ×(Ñ(Ó*ò �Øðà�~Š~Ü! $§-¡-Ó0ˆDŒNØˆŒØ×"Ñ"Ó$Ð$r   )	r   r   r   r   r   Úbytesr   r'   r+   r   r   r   r   r   8   s>   „ ñð ¨%¡ð °Tó ð
 ¨¡ó ð%˜( 5™/ô %r   r   Úentryr   c              #   óª   K  — | D ]  }	 t        j                  |«      –— Œ y # t        j                  $ r}t	        t        |«      «      d ‚d }~ww xY w­w©N)Úbase64Ú	b64decodeÚbinasciiÚErrorr   r   )r-   r&   Úerrors      r   Ú_base64_decoderr5   [   sQ   è ø€ Øò ?ˆð	?Ü×"Ñ" 4Ó(Ó(ñ?øô �~‰~ò 	?Ü(¬¨U«Ó4¸$Ð>ûð	?üs$   ‚A‰# A£A¶AÁAÁAr&   c                 óÎ   — | d   }d}|dz  r|| |   dz   z  }|dz  r| |   dk7  r|dz  }| |   dk7  rŒ|dz  }|dz  r| |   dk7  r|dz  }| |   dk7  rŒ|dz  }|dz  r|dz  }| |d	 S )
z0Strip gzip header from line and return the rest.é   é
   é   é   é   r   é   é   Nr   )r&   ÚflagsÚoffsets      r   Ú_strip_gzip_headerr@   c   s¬   € à�‰G€EØ€FØˆq‚yØ�$�v‘, Ñ"Ñ"ˆØˆq‚yØ�6‰l˜aÒØ�a‰KˆFð �6‰l˜aÓà�!‰ˆØˆr‚zØ�6‰l˜aÒØ�a‰KˆFð �6‰l˜aÓà�!‰ˆØˆq‚yØ�!‰ˆà��ˆ=Ðr   Ú
first_linec              #   óî   K  — |j                  «       }|–— t        |«      }| D ]M  }|dkD  rd–— |j                  d«      r|dd –— |t        |«      dz
  z  }Œ6|dd  –— |t        |«      dz
  z  }ŒO y ­w)Nr   ó   
r:   éÿÿÿÿr=   )ÚstripÚlenÚendswith)r-   rA   r&   Úlengths       r   Ú_text_decoderrI   w   s„   è ø€ Ø×ÑÓ€DØ
‚JÜ�‹Y€FØò $ˆØ�AŠ:ØŠKØ�=‰=˜ÔØ�q˜�*ÒØ”c˜$“i !‘mÑ#‰Fà�q�r�(ŠNØ”c˜$“i !‘mÑ#‰Fñ$ùs   ‚A3A5c                  ón   — 	 dd l } | j                  «       S # t        $ r}t        d|› d�«      d ‚d }~ww xY w)Nr   z$Failed to import zstandard library: z#. Please install python3-zstandard.)Ú	zstandardÚImportErrorÚRuntimeErrorÚZstdDecompressor)rK   r4   s     r   Ú_get_zstandard_decompressorrO   †   sP   € ðãð ×%Ñ%Ó'Ð'øô ò ÜØ2°5°'ð :1ð 2ó
ð ð	ûðús   ‚ –	4Ÿ/¯4Úfirst_blockc              #   ó–   K  — t        «       j                  «       }|j                  |«      –— | D ]  }|j                  |«      –— Œ y ­wr/   )rO   ÚdecompressobjÚ
decompress)r-   rP   ÚdecompressorÚblocks       r   Ú_zstandard_decoderrV   ’   sH   è ø€ Ü.Ó0×>Ñ>Ó@€LØ
×
!Ñ
! +Ó
.Ò.Øò -ˆØ×%Ñ% eÓ,Ó,ñ-ùs   ‚AA	c                 ór  — t        | «      }	 |j                  dd«      \  }}	 |j	                  d«      }|j                  «       d	k(  }|rt        | «      }nt        | |«      }|||fS # t        $ r! t        d|j	                  d¬«      ›d�«      d‚w xY w# t
        $ r}t        t        |«      «      d‚d}~ww xY w)
z¿Parse the given entry and return key and value.

    Return the key and a line iterator over the value. Also return a
    boolean if the entry is base64 encoded (i.e. is a binary value).
    ó   :r:   zLine Úbackslashreplace)Úerrorsz? does not contain a colon for separating the key from the valueNÚASCIIs   base64)
r)   ÚsplitÚ
ValueErrorr   ÚdecodeÚUnicodeDecodeErrorr   rE   r5   rI   )r-   rA   Úkey_in_bytesÚfirst_line_valueÚkeyr4   Úbase64_encodedÚvalue_iterators           r   Ú_parse_entryre   ™   sá   € ô �e“€JðØ+5×+;Ñ+;¸DÀ!Ó+DÑ(ˆÐ'ð;Ø×!Ñ! 'Ó*ˆð &×+Ñ+Ó-°Ñ:€NÙÜ(¨Ó/‰ä& uÐ.>Ó?ˆà� Ð.Ð.øô% ò Ü$Ø�J×%Ñ%Ð-?Ð%Ó@ÐCð&ð'ó
ð ð		ðûô ò ;Ü$¤S¨£ZÓ0°dÐ:ûð;ús"   �A& £B Á&*BÂ	B6ÂB1Â1B6c                   óP   — e Zd ZU dZeed<   deddfd„Zd„ Zdee	   fd„Z
defd„Zy)	ÚCompressedFilez‹Represents a ProblemReport value which points to a compressed file.

    The file is expected to be compressed with gzip or zstandard.
    Úfilenamer   Nc                 óH   — || _         t        | j                   d«      | _        y )NÚrb)rh   ÚopenÚ_compressed_file)r   rh   s     r   r   zCompressedFile.__init__À   s   € Ø ˆŒä $ T§]¡]°DÓ 9ˆÕr   c                 óR   — t        | d«      r| j                  j                  «        y y )Nrl   )Úhasattrrl   Úclose©r   s    r   Ú__del__zCompressedFile.__del__Å   s$   € Ü�4Ð+Ô,Ø×!Ñ!×'Ñ'Õ)ð -r   c              #   óR   K  — 	 | j                   j                  d«      }|sy|–— Œ#­w)z?Iterate over the compressed content of the file in 1 MB chunks.é   N)rl   Úread)r   rU   s     r   Úiter_compressedzCompressedFile.iter_compressedÉ   s/   è ø€ àØ×)Ñ)×.Ñ.¨wÓ7ˆEÙØØŠKð	 ùs   ‚%'c                 ób   — t        j                  | j                  t         j                  d¬«      S )z?Check if the compressed file is readable by the effective user.T)Úeffective_ids)ÚosÚaccessrh   ÚR_OKrp   s    r   Úis_readablezCompressedFile.is_readableÑ   s   € ä�y‰y˜Ÿ™¬¯©¸tÔDÐDr   )r   r   r   r   r   Ú__annotations__r   rq   r   r,   ru   Úboolr{   r   r   r   rg   rg   ·   sD   … ñð
 ƒMð: ð :¨ó :ò
*ð ¨%¡ó ðE˜Tô Er   rg   c            	       óÞ   — e Zd ZdZ	 	 	 ddedz  dedz  dedz  ddfd„Zdeddfd„Zdefd	„Z	defd
„Z
edee   dee   fd„«       Zdefd„Zdej                   ddfd„Zdefd„Zdee   fd„Zy)ÚCompressedValuezÑRepresent a ProblemReport value which is gzip or zstandard compressed.

    By default, compressed values are in gzip format. Earlier versions of
    problem_report used zlib format (without gzip header).
    NÚvalueÚnameÚcompressed_valuer   c                 óH   — || _         || _        |r| j                  |«       yy)zAInitialize an empty CompressedValue object with an optional name.N)r‚   r�   Ú	set_value)r   r€   r�   r‚   s       r   r   zCompressedValue.__init__Ý   s'   € ð !1ˆÔØˆŒ	ÙØ�N‰N˜5Õ!ð r   c                 óè   — t        j                  «       }t        j                  | j                  d|d¬«      5 }|j                  |«       ddd«       |j                  «       | _        y# 1 sw Y   ŒxY w)zSet uncompressed value.Úwbr   ©ÚmodeÚfileobjÚmtimeN)ÚioÚBytesIOÚgzipÚGzipFiler�   ÚwriteÚgetvaluer‚   )r   r€   ÚoutÚgzs       r   r„   zCompressedValue.set_valueé   sS   € ä�j‰j‹lˆÜ�]‰]˜4Ÿ9™9¨4¸ÀAÔFð 	È"Ø�H‰H�UŒO÷	à #§¡£ˆÕ÷	ð 	ús   ¸A(Á(A1c                 óH   — | j                   €J ‚t        | j                   «      S )z=Return size of the compressed (but not base64 encoded) value.)r‚   rF   rp   s    r   Úget_compressed_sizez#CompressedValue.get_compressed_sizeð   s%   € à×$Ñ$Ð0Ð0Ð0Ü�4×(Ñ(Ó)Ð)r   c                 ó4   — | j                  «       dz   dz  dz  S )a  Return the size needed on disk to store the compressed value.

        The compressed value will be base64 encoded when written to disk
        which adds an overhead of 1/3 plus up to 2 bytes of padding. Additional
        spaces and newlines are ignored in this calculation.
        r=   r7   r9   )r”   rp   s    r   Úget_on_disk_sizez CompressedValue.get_on_disk_sizeõ   s"   € ð ×)Ñ)Ó+¨aÑ/°AÑ5¸Ñ:Ð:r   r-   c              #   óÔ  K  — t        | d«      }|€y|j                  t        «      rt        | |«      E d{  –—†  y|j                  t        «      rAt        j                  t
        j                   «      }|j                  t        |«      «      –— n't        j                  «       }|j                  |«      –— | D ]  }|j                  |«      –— Œ |j                  «       –— y7 Œ¯­w)z5Decode the given compressed value (iterator version).N)r)   r%   ÚZSTANDARD_MAGIC_NUMBERrV   ÚGZIP_HEADER_STARTÚzlibrR   Ú	MAX_WBITSrS   r@   Úflush)r-   rU   rT   s      r   Údecode_compressed_streamz(CompressedValue.decode_compressed_streamþ   sÏ   è ø€ ô �U˜DÓ!ˆØˆ=ØØ×ÑÔ2Ô3Ü)¨%°Ó7×7Ð7Øà×ÑÔ-Ô.Ü×-Ñ-¬t¯~©~¨oÓ>ˆLØ×)Ñ)Ô*<¸UÓ*CÓDÓDô  ×-Ñ-Ó/ˆLØ×)Ñ)¨%Ó0Ò0àò 	1ˆEØ×)Ñ)¨%Ó0Ó0ð	1à× Ñ Ó"Ó"ð 8ús   ‚4C(¶C&·B0C(c                 ó\  — | j                   €J ‚| j                   j                  t        «      r#t        «       j	                  | j                   «      S | j                   j                  t
        «      rt        j                  | j                   «      S t        j                  | j                   «      S )zReturn uncompressed value.)r‚   r%   r˜   rO   rS   r™   r�   rš   rp   s    r   Ú	get_valuezCompressedValue.get_value  s‚   € à×$Ñ$Ð0Ð0Ð0à× Ñ ×+Ñ+Ô,BÔCÜ.Ó0×;Ñ;¸D×<QÑ<QÓRÐRØ× Ñ ×+Ñ+Ô,=Ô>Ü—?‘? 4×#8Ñ#8Ó9Ð9ä�‰˜t×4Ñ4Ó5Ð5r   Úfilec                 óN  — | j                   sJ ‚| j                   j                  t        «      r:t        «       }|j	                  t        j                  | j                   «      |«       y| j                   j                  t        «      ret        j                  t        j                  | j                   «      ¬«      5 }	 |j                  d«      }|sn|j                  |«       Œ&	 ddd«       y|j                  t        j                  | j                   «      «       y# 1 sw Y   Œ8xY w)z5Write uncompressed value into given file-like object.N)r‰   rs   )r‚   r%   r˜   rO   Úcopy_streamr‹   rŒ   r™   r�   rŽ   rt   r�   rš   rS   )r   r    rT   r’   rU   s        r   r�   zCompressedValue.write  sæ   € à×$Ò$Ð$Ð$à× Ñ ×+Ñ+Ô,BÔCÜ6Ó8ˆLØ×$Ñ$¤R§Z¡Z°×0EÑ0EÓ%FÈÔMØà× Ñ ×+Ñ+Ô,=Ô>Ü—‘¤r§z¡z°$×2GÑ2GÓ'HÔIð ÈRØØŸG™G GÓ,�EÙ ØØ—J‘J˜uÔ%ð	 ð
 ÷ð ð 	�
‰
”4—?‘? 4×#8Ñ#8Ó9Õ:÷ð ús   Â:)DÄD$c                 óì   — | j                   sJ ‚| j                   j                  t        «      r/t        t	        j
                  d| j                   dd «      d   «      S t        | j                  «       «      S )z$Return length of uncompressed value.ú<LéüÿÿÿNr   )r‚   r%   r™   ÚintÚstructÚunpackrF   rŸ   rp   s    r   Ú__len__zCompressedValue.__len__4  s`   € à×$Ò$Ð$Ð$Ø× Ñ ×+Ñ+Ô,=Ô>Ü”v—}‘} T¨4×+@Ñ+@ÀÀÐ+EÓFÀqÑIÓJÐJä�4—>‘>Ó#Ó$Ð$r   c                 ó>   — | j                  «       j                  «       S )z.Behaves like splitlines() for a normal string.)rŸ   Ú
splitlinesrp   s    r   r«   zCompressedValue.splitlines<  s   € à�~‰~Ó×*Ñ*Ó,Ð,r   )NNN)r   r   r   r   r,   r   r   r„   r¦   r”   r–   Ústaticmethodr   r�   rŸ   ÚtypingÚBinaryIOr�   r©   Úlistr«   r   r   r   r   r   Ö   sÝ   „ ñð #ØØ)-ñ	
"à�t‰|ð
"ð �D‰jð
"ð   $™,ð	
"ð
 
ó
"ð/˜uð /¨ó /ð* Só *ð
; #ó ;ð ð#¨°©ð #¸HÀU¹Oò #ó ð#ð*	6˜5ó 	6ð;˜&Ÿ/™/ð ;¨dó ;ð*%˜ó %ð-˜D ™Kô -r   r   c            	       óF  ‡ — e Zd ZdZd,dededz  ddfˆ fd„Zdee   ddfd„Z	 	 d-d	ej                  e
j                  z  d
ee
j                  d   z  dee   dz  ddfd„Zd	ej                  e
j                  z  dee   ez  deddfd„Zdee   fd„Zdedz  fd„Zdefd„Zedeez  defd„«       Zedeez  deez  fd„«       Z	 d.dee   dz  deeeeez  ez  ez  f      fd„Zd/d	e
j                  deddfd„Zdedeee   ee   f   fd„Z d	e
j                  deddfd„Z!ed	e
j                  dedee   ddfd „«       Z"dede#eddf   fd!„Z$d	e
j                  deddfd"„Z%d/d#ed$eddfd%„Z&	 	 	 	 d0d&„Z'd'ed(ee(z  ez  ez  ez  ddfd)„Z)dee   fd*„Z*ed	e+ddfd+„«       Z,ˆ xZ-S )1ÚProblemReportz1Class to store, load, and handle problem reports.NÚproblem_typeÚdater   c                 ót   •— |€t        j                  «       }t        ‰| �  ||dœ«       t	        «       | _        y)zæInitialize a fresh problem report.

        problem_type can be 'Crash', 'Packaging', 'KernelCrash' or
        'KernelOops'. date is the desired date/time string; if
        None (default), the current local time is used.
        N)ÚProblemTypeÚDate)ÚtimeÚasctimer   r   ÚsetÚold_keys)r   r²   r³   r   s      €r   r   zProblemReport.__init__D  s2   ø€ ð ˆ<Ü—<‘<“>ˆDÜ‰Ñ¨¸tÑDÔEô #&£%ˆ�r   Útagsc                 ó€   — | j                  «       }|j                  |«      }dj                  t        |«      «      | d<   y)z/Add tags to the report. Duplicates are dropped.ú ÚTagsN)Úget_tagsÚunionÚjoinÚsorted)r   r»   Úcurrent_tagsÚnew_tagss       r   Úadd_tagszProblemReport.add_tagsR  s4   € à—}‘}“ˆØ×%Ñ% dÓ+ˆØ—x‘x¤ xÓ 0Ó1ˆˆVŠr   r    ÚbinaryÚ
compressedÚ
key_filterc                 óÄ  — | j                  |«       | j                  j                  «        |rt        |«      }nd}t	        |«      D ]ï  }t        |«      \  }}}|�||vrŒ|r„|du rd| j                  |<   n�|dk(  r*t        |dj                  |«      ¬«      | j                  |<   nn| j                  dj                  t        j                  |«      «      «      | j                  |<   n-| j                  dj                  |«      «      | j                  |<   |€ŒÏ|j                  |«       t        |«      dk(  sŒï n t        | j                  j                  «       «      | _        y)aë  Initialize problem report from a file-like object.

        If binary is False, binary data is not loaded; the dictionary key is
        created, but its value will be an empty string. If it is True, it is
        transparently uncompressed and available as dictionary byte array
        values. If binary is 'compressed', the compressed value is retained,
        and the dictionary value will be a CompressedValue object. This is
        useful if the compressed value is still useful (to avoid recompression
        if the file needs to be written back).

        file needs to be opened in binary mode.

        If key_filter is given, only those keys will be loaded.

        Files are in RFC822 format, but with case sensitive keys.
        NFrÇ   r   )r�   r‚   r   )Ú_assert_bin_modeÚdataÚclearr¹   r   re   r   rÁ   Ú_try_unicoder�   ÚremoverF   Úkeysrº   )	r   r    rÆ   rÈ   Úremaining_keysr-   rb   r   rc   s	            r   ÚloadzProblemReport.loadX  s6  € ð, 	×Ñ˜dÔ#Ø�	‰	�‰ÔÙÜ  ›_‰Nà!ˆNä! $Ó'ò 	ˆEÜ,8¸Ó,?Ñ)ˆC�˜>ØÐ)¨c¸Ñ.GØáØ˜U‘?Ø%)�D—I‘I˜c’NØ˜|Ò+Ü%4Ø °3·8±8¸HÓ3Eô&�D—I‘I˜c’Nð &*×%6Ñ%6ØŸ™¤×!IÑ!IÈ(Ó!SÓTó&�D—I‘I˜c’Nð
 "&×!2Ñ!2°3·8±8¸HÓ3EÓ!F�—	‘	˜#‘àÑ)Ø×%Ñ% cÔ*Ü�~Ó&¨!Ó+Ùð/	ô2 ˜DŸI™IŸN™NÓ,Ó-ˆ�r   Úbin_keysÚ	directoryc                 óÖ  — | j                  |«       t        |t        «      r|g}t        |«      }i }t	        |«      D ]‘  }t        |«      \  }}}	||vrŒ|	||<   |j                  |«       |	sŒ0t        j                  j                  ||«      }
	 t        |
d«      5 }t        j                  |«      D ]  }|j                  |«       Œ 	 ddd«       Œ“ |rt        ddj                  |«      › d�«      ‚d|j!                  «       v r5|j#                  «       D ��cg c]  \  }}|du sŒ|‘Œ }}}t%        |› d�«      ‚y# 1 sw Y   ŒsxY w# t        $ r}t        d|
› �«      |‚d}~ww xY wc c}}w )	zÚExtract only given binary elements from the problem report.

        Binary elements like kernel crash dumps can be very big. This method
        extracts directly files without loading the report into memory.
        r†   Nzunable to open zCannot find z, z
 in reportFz has no binary content)rÊ   Ú
isinstancer   r¯   r   re   rÎ   rx   ÚpathrÁ   rk   r   r�   r�   ÚOSErrorÚKeyErrorÚvaluesÚitemsr]   )r   r    rÒ   rÓ   Úmissing_keysÚ	b64_blockr-   rb   r   rc   Úkey_pathr‘   rU   r4   ÚitemÚelementrÚ   s                    r   Úextract_keyszProblemReport.extract_keys�  s  € ð 	×Ñ˜dÔ#ä�h¤Ô$Ø �zˆHÜ˜H“~ˆØˆ	ä! $Ó'ò 	GˆEÜ,8¸Ó,?Ñ)ˆC�˜>Ø˜,Ñ&Øà+ˆI�c‰NØ×Ñ Ô$Ù!Øä—w‘w—|‘| I¨sÓ3ˆHðGÜ˜( DÓ)ð )¨SÜ!0×!IÑ!IÈ(Ó!Sò )˜ØŸ	™	 %Õ(ñ)÷)øð	Gñ$ Ü˜\¨$¯)©)°LÓ*AÐ)BÀ*ÐMÓNÐNØ�I×$Ñ$Ó&Ñ&Ø/8¯©Ó/@×U™m˜d GÀGÈuÒDT’TÐUˆEÑUÜ ˜wÐ&<Ð=Ó>Ð>ð '÷)ð )ûô ò GÜ °¨zÐ:Ó;ÀÐFûðGüó Vs<   ÂEÂ,D9ÃEÄE%Ä#E%Ä9E	Ä>EÅ	E"ÅEÅE"c                 óX   — d| vr
t        «       S t        | d   j                  d«      «      S )zReturn the set of tags.r¾   r½   )r¹   r\   rp   s    r   r¿   zProblemReport.get_tagsº  s+   € à˜ÑÜ“5ˆLÜ�4˜‘<×%Ñ% cÓ*Ó+Ð+r   c                 ó.  — t        j                  t         j                  «      }	 	 t        j                  t         j                  d«       t	        t        j                  t        j                  | d   «      «      «      t        j                  t         j                  |«       S # t        $ r' Y t        j                  t         j                  |«       yw xY w# t        j                  t         j                  |«       w xY w# t         j                  $ r Y yw xY w)zhGet timestamp (seconds since epoch) from Date field.

        Return None if it is not present.
        ÚCr¶   N)
ÚlocaleÚ	getlocaleÚLC_TIMEÚ	setlocaler¦   r·   ÚmktimeÚstrptimerØ   r3   )r   Ú
orig_ctimes     r   Úget_timestampzProblemReport.get_timestampÀ  s¾   € ô ×%Ñ%¤f§n¡nÓ5ˆ
ð		ð=Ü× Ñ ¤§¡°Ô5Üœ4Ÿ;™;¤t§}¡}°T¸&±\Ó'BÓCÓDô × Ñ ¤§¡°Õ<øô ò Øä× Ñ ¤§¡°Õ<ðûô × Ñ ¤§¡°Õ<ûÜ�|‰|ò 	Ùð	úsB   ¦AB" Á=$C> Â"	CÂ+C Â,$C> ÃCÃC Ã&C;Ã;C> Ã>DÄDc                 ó&   — d| j                  «       v S )z~Check if the report has any keys which were not loaded.

        This could happen when using binary=False in load().
        N)rÙ   rp   s    r   Úhas_removed_fieldsz ProblemReport.has_removed_fieldsÒ  s   € ð
 �t—{‘{“}Ð$Ð$r   Ústringc                 ót   — t        | t        «      r(| D ]#  }|dk  sŒ	t        |«      j                  «       rŒ# y y)z0Check if the given strings contains binary data.é    TF)rÕ   r,   ÚchrÚisspace)rî   Úcs     r   Ú	is_binaryzProblemReport.is_binaryÙ  s9   € ô �fœeÔ$Øò  �Ø�r“6¤# a£&§.¡.Õ"2Ùð ð r   r€   c                 óŽ   — t        |t        «      r#| j                  |«      s	 |j                  d«      S |S # t        $ r |cY S w xY w)z*Try to convert bytearray value to Unicode.úUTF-8)rÕ   r,   rô   r^   r_   )Úclsr€   s     r   rÍ   zProblemReport._try_unicodeâ  sJ   € ô �eœUÔ#¨C¯M©M¸%Ô,@ðØ—|‘| GÓ,Ð,ð ˆøô &ò Ø’ðús   £6 ¶AÁArÏ   c              #   óR  K  — |r/t        t        | j                  «       «      t        |«      z  «      }nt        | j                  «       «      }dD ]*  }||v sŒ|j                  |«       |j	                  d|«       Œ, |D ]%  }|j                  d«      rŒ| |   }|€Œ|| |   f–— Œ' y­w)a  Iterate over all non-internal items sorted.

        The most interesting fields will be returned first. The remaining
        items will be returned in alphabetical order. Keys starting with
        an underscore are considered internal and are skipped. Also values
        that are None will be skipped.

        If keys is provided, only those keys will be iterated over.
        )Ú	TracebackÚ
StackTraceÚTitlerµ   ÚPackageÚExecutablePathr   r*   N)rÂ   r¹   rÏ   rÎ   Úinsertr%   )r   rÏ   rb   r€   s       r   Úsorted_itemszProblemReport.sorted_itemsì  s¬   è ø€ ñ Üœ#˜dŸi™i›kÓ*¬S°«YÑ6Ó7‰Dä˜$Ÿ)™)›+Ó&ˆDð
ò 
	$ˆCð �dŠ{Ø—‘˜CÔ Ø—‘˜A˜sÕ#ð
	$ð ò 	!ˆCà�~‰~˜cÔ"ØØ˜‘IˆEØˆ}ØØ�t˜C‘y�.Ó ñ	!ùs   ‚AB'ÁAB'Úonly_newc                 ó²   — | j                  |«       | j                  |«      \  }}|D ]  }| j                  ||«       Œ |D ]  }| j                  ||«       Œ y)a»  Write information into the given file-like object.

        If only_new is True, only keys which have been added since the last
        load() are written (i. e. those returned by new_keys()).

        If a value is a string, it is written directly. Otherwise it must be a
        tuple of the form (file, encode=True, limit=None, fail_on_empty=False).
        The first argument can be a file name or a file-like object,
        which will be read and its content will become the value of this key.
        'encode' specifies whether the contents will be
        gzip compressed and base64-encoded (this defaults to True). If limit is
        set to a positive integer, the file is not attached if it's larger
        than the given limit, and the entire key will be removed. If
        fail_on_empty is True, reading zero bytes will cause an OSError.

        file needs to be opened in binary mode.

        Files are written in RFC822 format.
        N)rÊ   Ú_get_sorted_keysÚ_write_ascii_itemÚ)_write_binary_item_compressed_and_encoded)r   r    r   ÚasckeysÚbinkeysÚks         r   r�   zProblemReport.write  si   € ð( 	×Ñ˜dÔ#à×0Ñ0°Ó:Ñˆ�àò 	,ˆAØ×"Ñ" 4¨Õ+ð	,ð ò 	DˆAØ×:Ñ:¸4ÀÕCñ	Dr   c                 ó8  — g }g }| j                   j                  «       D ]¯  }|r|| j                  v rŒ| j                   |   }t        |d«      r5| j	                  |«      r|j                  |«       ŒR|j                  |«       Œdt        |t        t        f«      s%t        |«      dk\  r|d   s|j                  |«       ŒŸ|j                  |«       Œ± |j                  «        d|v r#|j                  d«       |j                  dd«       |j                  «        ||fS )zySort keys into ASCII non-ASCII/binary attachment ones, so that
        the base64 ones appear last in the report
        Úfindr=   r:   rµ   r   )rË   rÏ   rº   rn   rô   ÚappendrÕ   rg   r   rF   ÚsortrÎ   rþ   )r   r   r  r  r  Úvs         r   r  zProblemReport._get_sorted_keys/  sð   € ð ˆØˆØ—‘—‘Ó!ò 	"ˆAÙ˜A §¡Ñ.ØØ—	‘	˜!‘ˆAÜ�q˜&Ô!Ø—>‘> !Ô$Ø—N‘N 1Õ%à—N‘N 1Õ%ä˜q¤>´?Ð"CÔDÜ˜“F˜a’KØ˜!šð —‘˜qÕ!à—‘˜qÕ!ð#	"ð& 	�‰ŒØ˜GÑ#Ø�N‰N˜=Ô)Ø�N‰N˜1˜mÔ,Ø�‰ŒØ˜ÐÐr   rb   c                 ó  — | j                   |   }t        |d«      s·t        |«      dk\  r|d   �|d   }nd }t        |«      dk\  xr |d   }t        |d   d«      r|d   j                  «       }n(t	        |d   d«      5 }|j                  «       }d d d «       |rt        |«      dk(  rt        d|z   «      ‚|�t        |«      |kD  r| j                   |= y t        |t        «      r|j                  d	«      }|j                  |j                  d
«      «       d|v r3|j                  d«       |j                  |j                  dd«      «       n"|j                  d«       |j                  |«       |j                  d«       y # 1 sw Y   ŒñxY w)Nr	  r7   r=   r9   r   rt   rj   údid not get any data for field rö   r[   rC   s   :
 ó   
 s   : )rË   rn   rF   rt   rk   r×   rÕ   r   Úencoder�   Úreplace)r   r    rb   r  ÚlimitÚfail_on_emptyÚfs          r   r  zProblemReport._write_ascii_itemO  sX  € Ø�I‰I�c‰Nˆô �q˜&Ô!Ü�1‹v˜Š{˜q ™tÐ/Ø˜!™‘à�ä ›F a™KÒ0¨A¨a©DˆMä�q˜‘t˜VÔ$Ø�a‘D—I‘I“K‘ä˜!˜A™$ Ó%ð !¨ØŸ™›�A÷!ñ ¤ Q£¨1¢ÜÐ?À#ÑEÓFÐFàÐ ¤S¨£V¨e¢^Ø—I‘I˜c�NØä�aœÔà—‘˜Ó!ˆAà�
‰
�3—:‘:˜gÓ&Ô'Ø�A‰:à�J‰J�wÔØ�J‰J�q—y‘y ¨Ó/Õ0à�J‰J�uÔØ�J‰J�qŒMØ�
‰
�5Õ÷-!ð !ús   Á>E?Å?FÚchunksc                 óf  — | j                  «       }	 | j                  |› d�j                  d«      «       |D ]7  }| j                  d«       | j                  t        j                  |«      «       Œ9 | j                  d«       y# t
        $ r$ | j                  |«       | j                  |«       ‚ w xY w)zCWrite out binary chunks as a base64-encoded RFC822 multiline field.z: base64r[   r  rC   N)Útellr�   r  r0   Ú	b64encodeÚ	ExceptionÚseekÚtruncate)r    rb   r  Úreset_positionÚchunks        r   Ú!_write_binary_item_base64_encodedz/ProblemReport._write_binary_item_base64_encodedv  sœ   € ð
 Ÿ™›ˆð		Ø�J‰J˜#˜˜hÐ'×.Ñ.¨wÓ7Ô8Øò 4�Ø—
‘
˜6Ô"Ø—
‘
œ6×+Ñ+¨EÓ2Õ3ð4ð �J‰J�uÕøÜò 	Ø�I‰I�nÔ%Ø�M‰M˜.Ô)Øð	ús   ’A0B Â-B0c           	   #   ó  K  — | j                   |   }t        |t        «      r|j                  «       E d{  –—†  yt        |t        «      r|j
                  €J ‚|j
                  –— yt        dz   |j                  d«      z   dz   }|–— t        j                  d«      }t        j                  dt        j                  t        j                   t        j                  d«      }d}t        |d«      r>|t        |«      z  }t        j                  ||«      }|j!                  |«      }|�r	|–— �nd}t        |«      d	k\  r
|d
   �|d
   }t        |d   d«      r|d   }	nt#        |d   d«      }		 |	j%                  d«      }
|t        |
«      z  }t        j                  |
|«      }|�||kD  r| j                   |= t'        d«      ‚|
r|j!                  |
«      }|r|–— nnŒpt        |d   d«      s|	j)                  «        t        |«      dk\  r'|d	   r"|dk(  rt+        d|› dt-        |d   «      › �«      ‚|j/                  «       }
|
t1        j2                  d|dz  «      z  }
|
t1        j2                  d|dz  «      z  }
|
–— y7 �ŒJ­w)a  Generator taking the value out of self.data and outputing it
        in compressed chunks of binary data.

        Throws a _SizeLimitExceeded exception if the value exceeds its specified
        size limit, in which case it will also remove the value from self.data entirely.
        Ns       ÿrö   ó    r   é   r   r	  r7   r=   rt   rj   rs   z,Binary data bigger than the limit ({limit}b)r9   r  z from r¤   l   ÿÿ )rË   rÕ   rg   ru   r   r‚   r™   r  rš   Úcrc32ÚcompressobjÚDEFLATEDr›   ÚDEF_MEM_LEVELrn   rF   Úcompressrk   rt   r   ro   r×   r   rœ   r§   Úpack)r   rb   r€   Úgzip_headerÚcrcÚbcÚsizeÚoutblockr  r  rU   s              r   Ú_generate_compressed_chunksz)ProblemReport._generate_compressed_chunks‡  su  è ø€ ð —	‘	˜#‘ˆÜ�eœ^Ô,Ø×,Ñ,Ó.×.Ð.ØÜ�eœ_Ô-Ø×)Ñ)Ð5Ð5Ð5Ø×(Ñ(Ò(ØäØ-ñ.à�j‰j˜Ó!ñ"ð ñð 	ð Òä�j‰j˜‹oˆÜ×Ñ˜a¤§¡´·±°Ä×ASÑASÐUVÓWˆØˆô �5˜&Ô!Ø”C˜“JÑˆDÜ—*‘*˜U CÓ(ˆCØ—{‘{ 5Ó)ˆHÚØ”ð ˆEÜ�5‹z˜QŠ 5¨¡8Ð#7Ø˜a™�ä�u˜Q‘x Ô(Ø˜!‘H‘ô ˜˜q™ 4Ó(�ØØŸ™˜w›�Øœ˜E›
Ñ"�Ü—j‘j ¨Ó,�ØÐ$Ø˜e’|Ø ŸI™I c˜NÜ0ØJóð ñ Ø!Ÿ{™{¨5Ó1�HÙØ&›àð ô  ˜5 ™8 VÔ,Ø—‘”	ä�5‹z˜QŠ 5¨¢8Ø˜1’9Ü!Ø9¸#¸¸fÄSÈÈqÉÃ]ÀOÐTóð ð
 —‘“
ˆà”—‘˜T 3¨Ñ#3Ó4Ñ4ˆØ”—‘˜T 4¨*Ñ#4Ó5Ñ5ˆØ‹ðE /ûs   ‚3JµI?¶I
Jc                 óh   — 	 | j                  ||| j                  |«      «       y# t        $ r Y yw xY w)z?Write the binary keys with gzip compression and base64 encodingN)r  r-  r   )r   r    rb   s      r   r  z7ProblemReport._write_binary_item_compressed_and_encodedÖ  s;   € ð	Ø×2Ñ2Ø�c˜4×;Ñ;¸CÓ@õøô "ò 	áð	ús   ‚"% ¥	1°1Ú
reportfileÚ
keep_timesc                 ó  — t        j                  |«      }	 t        |d«      5 }t        j                  |d«       | j	                  |«       ddd«       |r,t        j
                  ||j                  |j                  f«       t        j                  ||j                  «       y# 1 sw Y   ŒXxY w# |r,t        j
                  ||j                  |j                  f«       t        j                  ||j                  «       w xY w)a  Add this report's data to an already existing report file.

        The file will be temporarily chmod'ed to 000 to prevent frontends
        from picking up a hal-updated report file. If keep_times
        is True, then the file's atime and mtime restored after updating.
        Úabr   N)	rx   Ústatrk   Úchmodr�   ÚutimeÚst_atimeÚst_mtimeÚst_mode)r   r/  r0  ÚstÚreports        r   Úadd_to_existingzProblemReport.add_to_existingâ  s·   € ô �W‰W�ZÓ ˆð	-Ü�j $Ó'ð #¨6Ü—‘˜ QÔ'Ø—
‘
˜6Ô"÷#ñ Ü—‘˜ b§k¡k°2·;±;Ð%?Ô@Ü�H‰H�Z §¡Õ,÷#ð #ûñ Ü—‘˜ b§k¡k°2·;±;Ð%?Ô@Ü�H‰H�Z §¡Õ,ús#   —B. £(B"ÁB. Â"B+Â'B. Â.AC>c                 ó~	  — | j                  |«       t        | j                  j                  «       «      }d}g }d|v r#|j	                  d«       |j                  dd«       |r6d}	|D ]/  }
|
|v sŒ|j	                  |
«       |j                  |	|
«       |	dz  }	Œ1 |D �]  }|r||v rŒ| j                  |   }d}t        |t        «      r|j                  }�nt        |d«      sÈd}t        |d   d«      r|d   }nt        |d   d«      }|j                  d	«      r|j                  «       }not        j                  «       }t        j                   |d
|d¬«      5 }	 |j                  d«      }|r|j#                  |«       nnŒ'	 ddd«       |j%                  «       }|j'                  «        n;| j)                  |«      r*|j                  d	«      r|}nt        ||«      j                  }|rªt*        j,                  j.                  j1                  dd«      }|j                  d	«      r|j3                  dd|¬«       n|j3                  dd|d	z   ¬«       |j5                  |«       t*        j6                  j9                  |«       |j;                  |«       �Œõt=        |«      }t        |t>        «      r|jA                  dd«      }t        |tB        «      sJ ‚t=        |jE                  «       «      }|dk  r%|dk(  r |jG                  «       }||dz   |z   dz   z  }�Œw|dk  rK||k  rF||dz   z  }|j                  d«      s|dz  }||jI                  «       jK                  dd«      dz   z  }�ŒÇt*        j,                  jL                  jO                  |d¬«      }|j3                  dd|dz   ¬«       |j;                  |«       �Œ t*        j,                  jL                  jO                  |d¬«      }|j3                  dd«       |j                  d|«       t*        j,                  jP                  jS                  «       }|r*|jU                  «       D ]  \  }}|j3                  ||«       Œ |D ]  }|jW                  |«       Œ |j#                  |jY                  «       j[                  d«      «       |j#                  d«       y# 1 sw Y   �Œ5xY w)a”  Write MIME/Multipart RFC 2822 formatted data into file.

        file must be a file-like object, not a path.  It needs to be opened in
        binary mode.

        If a value is a string or a CompressedValue, it is written directly.
        Otherwise it must be a tuple containing the source file and an optional
        boolean value (in that order); the first argument can be a file name or
        a file-like object, which will be read and its content will become the
        value of this key.  The file will be gzip compressed, unless the key
        already ends in .gz.

        attach_treshold specifies the maximum number of lines for a value to be
        included into the first inline text part. All bigger values (as well as
        all non-ASCII ones) will become an attachment, as well as text
        values bigger than 1 kB.

        Extra MIME preamble headers can be specified, too, as a dictionary.

        skip_keys is a set/list specifying keys which are filtered out and not
        written to the destination file.

        priority_fields is a set/list specifying the order in which keys should
        appear in the destination file.
        Ú rµ   r   r:   Nr	  rt   rj   z.gzr†   r‡   rs   Úapplicationzx-gzipzContent-DispositionÚ
attachment)rh   rö   r  iè  z: ú
z:
 z
 )Ú_charsetz.txtÚinlinerC   ).rÊ   rÂ   rË   rÏ   rÎ   rþ   rÕ   r   r‚   rn   rk   rG   rt   r‹   rŒ   r�   rŽ   r�   r�   ro   rô   ÚemailÚmimeÚbaseÚMIMEBaseÚ
add_headerÚset_payloadÚencodersÚencode_base64r
  rF   r,   r^   r   r«   ÚrstriprE   r  ÚtextÚMIMETextÚ	multipartÚMIMEMultipartrÚ   ÚattachÚ	as_stringr  )r   r    Úattach_tresholdÚextra_headersÚ	skip_keysÚpriority_fieldsrÏ   rL  ÚattachmentsÚcounterÚpriority_fieldr  r  Úattach_valuer  r‘   r’   rU   Úattr+  ÚlinesÚmsgÚas                          r   Ú
write_mimezProblemReport.write_mimeó  s=  € ðF 	×Ñ˜dÔ#ä�d—i‘i—n‘nÓ&Ó'ˆàˆØˆà˜DÑ Ø�K‰K˜Ô&Ø�K‰K˜˜=Ô)áØˆGØ"1ò !�Ø! TÒ)Ø—K‘K Ô/Ø—K‘K ¨Ô8Ø˜q‘L‘Gð	!ð ó M	,ˆAÙ˜Q )™^ØØ—	‘	˜!‘ˆAØˆLô ˜!œ_Ô-Ø ×1Ñ1’ô ˜Q Ô'Ø!�Ü˜1˜Q™4 Ô(Ø˜!™‘Aô ˜Q˜q™T 4Ó(�AØ—:‘:˜eÔ$Ø#$§6¡6£8‘LäŸ*™*›,�CÜŸ™ q¨t¸SÈÔJð &ÈbØ"Ø$%§F¡F¨7£O˜EÙ$Ø "§¡¨¥à %ð #ð
 !&÷&ð $'§<¡<£>�LØ—‘•	ð —‘ Ô"Ø—:‘:˜eÔ$Ø#$‘Lä#2°1°aÓ#8×#IÑ#I�Lñ Ü—j‘j—o‘o×.Ñ.¨}¸hÓG�Ø—:‘:˜eÔ$Ø—N‘NÐ#8¸,ÐQR�NÕSà—N‘NØ-¨|ÀaÈ%Áið #ô ð —‘ Ô-Ü—‘×,Ñ,¨SÔ1Ø×"Ñ" 3Ö'ô ˜1“v�ô ˜a¤Ô'ØŸ™ ¨)Ó4�Aä! !¤SÔ)Ð)Ð)ä˜AŸL™L›NÓ+�Ø˜4’< E¨Q¢JØŸ™›
�AØ˜A ™H q™L¨4Ñ/Ñ/’DØ˜T’\ e¨Ò&>Ø˜A ™JÑ&�DØŸ:™: dÔ+Ø˜T™	˜Ø˜AŸG™G›I×-Ñ-¨d°EÓ:¸TÑAÑA’Dô  Ÿ*™*Ÿ/™/×2Ñ2°1¸wÐ2ÓG�CØ—N‘NØ-¨|ÀaÈ&Ájð #ô ð  ×&Ñ& sÖ+ð[M	,ô` �j‰j�o‰o×&Ñ& t°gÐ&Ó>ˆØ�‰Ð,¨hÔ7Ø×Ñ˜1˜cÔ"ä�j‰j×"Ñ"×0Ñ0Ó2ˆÙØ%×+Ñ+Ó-ò %‘��1Ø—‘˜q !Õ$ð%àò 	ˆAØ�J‰J�q�Mð	ð 	�
‰
�3—=‘=“?×)Ñ)¨'Ó2Ô3Ø�
‰
�5Õ÷K&ñ &ús   Å)R2Ò2R<	r  r  c                 ó  — t        |d«      sJ ‚|j                  dd«      j                  dd«      j                  dd«      j                  «       st        d|› d�«      ‚t	        |t
        t        f«      szt        |d«      snt	        |t        «      rOt        |«      dk(  s#t        |«      d	k\  r3t        |«      d
k  r%|d   dv rt        |d   d«      st        |d   d«      st        d|› d�«      ‚| j                  j                  ||«      S )NÚisalnumú.r=  ú-r*   zkey 'zT' contains invalid characters (only numbers, letters, '.', '_', and '-' are allowed)r:   r=   r9   >   FTr   rt   zvalue for key z7 must be a string, CompressedValue, or a file reference)rn   r  r`  r]   rÕ   rg   r   ÚtuplerF   Ú	TypeErrorrË   Ú__setitem__)r   r  r  s      r   re  zProblemReport.__setitem__‡  s	  € ô �q˜)Ô$Ð$Ð$Ø�y‰y˜˜bÓ!×)Ñ)¨#¨rÓ2×:Ñ:¸3ÀÓC×KÑKÔMÜØ˜�sð Jð Kóð ô �qœ>¬?Ð;Ô<Ü�q˜)Ô$ä˜1œeÔ$ä˜“F˜a’KÜ˜A› !š¬¨A«°!ª¸¸!¹ÀÑ8Mä˜Q˜q™T 9Ô-´¸¸1¹¸vÔ1Fô Ø   ð $'ð (óð ð
 �y‰y×$Ñ$ Q¨Ó*Ð*r   c                 ób   — t        | j                  j                  «       «      | j                  z
  S )z‘Return newly added keys.

        Return the set of keys which have been added to the report since it
        was constructed or loaded.
        )r¹   rË   rÏ   rº   rp   s    r   Únew_keyszProblemReport.new_keys¥  s#   € ô �4—9‘9—>‘>Ó#Ó$ t§}¡}Ñ4Ð4r   c                 ó*   — t        | d«      rJ d«       ‚y)z0Assert that given file object is in binary mode.Úencodingz"file stream must be in binary modeN)rn   )r    s    r   rÊ   zProblemReport._assert_bin_mode­  s   € ô ˜4 Ô,ÐRÐ.RÓRÐ,Ð,r   )ÚCrashN)TNr/   )F)é   NNN).r   r   r   r   r   r   r   rÅ   r�   rŽ   r­   r®   r}   ÚLiteralrÑ   rà   r¹   r¿   r¦   rë   rí   r¬   r,   rô   ÚclassmethodrÍ   r   rc  r   rÿ   r�   r¯   r  r  r  r   r-  r  r;  r^  rg   re  rg  r   rÊ   r   r   s   @r   r±   r±   A  s  ø„ Ù;ñ( Sð (¸#À¹*ð (ÐPTõ (ð2˜X c™]ð 2¨tó 2ð 7;Ø+/ñ	6.à�m‰m˜fŸo™oÑ-ð6.ð �v—~‘~ lÑ3Ñ3ð6.ð ˜S‘M DÑ(ð	6.ð
 
ó6.ðp(?à�m‰m˜fŸo™oÑ-ð(?ð ˜3‘- #Ñ%ð(?ð ð	(?ð
 
ó(?ðT,˜#˜c™(ó ,ð˜s T™zó ð$% Dó %ð ð˜% #™+ð ¨$ò ó ðð ð ¨¡ð °¸±ò ó ðð ,0ñ#!Ø˜S‘M DÑ(ð#!à	�%˜˜e oÑ5¸Ñ;¸eÑCÐDÑEÑ	Fó#!ñJD˜&Ÿ/™/ð D°Tð DÀdó Dð< ¨ð  °%¸¸S¹	À4ÈÁ9Ð8LÑ2Mó  ð@% f§o¡oð %¸Cð %ÀDó %ðN ðØ�o‰oðØ$'ðØ19¸%±ðà	òó ðð M¨sð M°yÀÈÈdÐARÑ7Só Mð^
Ø—O‘Oð
Ø*-ð
à	ó
ñ-¨#ð -¸4ð -ÈDó -ð( ØØØóRðh+Øð+Ø Ñ/°/ÑAÀCÑGÈ%ÑOð+à	ó+ð<5˜#˜c™(ó 5ð ðS˜vð S¨$ò Só ôSr   r±   ),r   r0   r2   ÚcollectionsÚdataclassesÚemail.encodersrC  Úemail.mime.baseÚemail.mime.multipartÚemail.mime.textr�   r‹   rä   rx   r§   r·   r­   rš   Úcollections.abcr   r   r   r™   r˜   r]   r   rM   r   r   r,   r5   r@   rI   rO   rV   rc  r   r}   re   Ú	dataclassrg   r   ÚUserDictr±   r   r   r   ú<module>rw     sX  ðÙ .ó Û Û Û Û Û Û Û Û Û 	Û Û 	Û Û Û Û ß 9Ñ 9ð $Ð Ø,Ð ô
˜Zô 
ôI˜ô Iô %�8ô  %ðF?˜8 E™?ð ?¨x¸©ó ?ð˜Uð  uó ð($˜ %™ð $°eð $ÀÈÁó $ò	(ð-˜h u™oð -¸Eð -ÀhÈuÁoó -ð/˜ ™ð /¨E°#°xÀ±ÈÐ2LÑ,Mó /ð< ×Ñ÷Eð Eó ðE÷<h-ñ h-ôVo	S�K×(Ñ(õ o	Sr   