WcWB gdZddlZddlmZdZd dZd dZd d ZdS) )body_line_iteratortyped_subpart_iteratorwalkN)StringIOc#K ||jr.|jD]}|jEd{dSdS7N) is_multipart get_payloadr)selfsubparts (/usr/lib64/python3.12/email/iterators.pyrrsp JJJ '') & &G||~ % % % % % % & & %sA Fc#K |jD]<}|j|}t|ts*t |Ed{>dS7)N)decode)rr isinstancestrr)msgrr payloads r rr"so88:))%%V%4 gs # #( ( ( ( ( ( ()) )sAtextc#K |jD]4}|j|ks||j|ks1|6dSr)rget_content_maintypeget_content_subtype)rmaintypesubtyper s r rr-se 88:  ' ' )X 5 5'"="="?7"J"J c\ |tj}d|dzz}t||jzd||r"td|j z|nt||j r*|j D]}t|||dz|dSdS)N )endfilez [%s])r )sysstdoutprintget_content_typeget_default_typer r _structure)rfplevelinclude_defaulttabr s r r'r';s z ZZ  C #$$& &BR888 g,,..R8888 2 ( > >G wE!G_ = = = > >r)F)rN)NrF)__all__r"iorrrrr'rr r/s 8     & & &))))     > > > > > >r