+
    ~j                         ^ RI t^ RIt^ RIt^ RIt^RIHt  ! R R]P                  P                  4      t	 ! R R]P                  P                  4      tR# )    N)
FoldedCasec                   &   a  ] tR t^	t o R tRtV tR# )	RawPolicyc                    V P                   P                  \        P                  ! VRR R7      P	                  4       P                  4       4      pV RV V P                    2# ) c                     R # )T )lines   &q/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/importlib_metadata/_adapters.py<lambda> RawPolicy.fold.<locals>.<lambda>   s    $    )prefix	predicatez:         )linesepjointextwrapindentlstrip
splitlines)selfnamevaluefoldeds   &&& r   foldRawPolicy.fold
   sZ    ""V'5FHVXZ\	
 r&$,,00r   r	   N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell__)__classdict__s   @r   r   r   	   s     1 1r   r   c                      a a ] tR t^t oRt]! ]! ]. RO4      4      t V3R lV 3R llt	R t
V 3R ltV 3R ltR tV 3R lt]R	 4       tR
tVtV ;t# )Messagea`  
Specialized Message subclass to handle metadata naturally.

Reads values that may have newlines in them and converts the
payload to the Description.

>>> msg_text = textwrap.dedent('''
...     Name: Foo
...     Version: 3.0
...     License: blah
...             de-blah
...     <BLANKLINE>
...     First line of description.
...     Second line of description.
...     <BLANKLINE>
...     Fourth line!
...     ''').lstrip().replace('<BLANKLINE>', '')
>>> msg = Message(email.message_from_string(msg_text))
>>> msg['Description']
'First line of description.\nSecond line of description.\n\nFourth line!\n'

Message should render even if values contain newlines.

>>> print(msg)
Name: Foo
Version: 3.0
License: blah
        de-blah
Description: First line of description.
        Second line of description.
<BLANKLINE>
        Fourth line!
<BLANKLINE>
<BLANKLINE>
c                H   < V ^8  d   QhRS[ P                  P                  /# )   orig)emailmessager&   )formatr$   s   "r   __annotate__Message.__annotate__N   s      5==00 r   c                l   < \         SV `  V 4      p\        V4      P                  \        V4      4       V# N)super__new__varsupdate)clsr)   res	__class__s   && r   r2   Message.__new__N   s,    goc"S	d$
r   c                0    V P                  4       V n        R # r0   )_repair_headers_headers)r   argskwargss   &*,r   __init__Message.__init__S   s    ,,.r   c                    < \         SV `  4       # r0   )r1   __iter__r   r7   s   &r   rA   Message.__iter__W   s    w!!r   c                D   < \         SV `  V4      pVf   \        V4      hV# )z
Override parent behavior to typical dict behavior.

``email.message.Message`` will emit None values for missing
keys. Typical mappings, including this ``Message``, will raise
a key error for missing keys.

Ref python/importlib_metadata#371.
)r1   __getitem__KeyError)r   itemr6   r7   s   && r   rE   Message.__getitem__Z   s(     g!$';4. 
r   c                    R  p\        V 4      R,           UUu. uF  w  r#W!! V4      3NK  	  pppV P                  '       d3   VP                  RV P                  4       34       V P	                  R4       V# u uppi )c                n    RpV '       d   RV,           V 9  d   V # \         P                  ! W,           4      # )zCorrect for RFC822 indentation
r   )r   dedent)r   r   s   & r   redent'Message._repair_headers.<locals>.redentj   s+    FD6M6??6>22r   r;   Description )r3   _payloadappendget_payloadset_payload)r   rM   keyr   headerss   &    r   r:   Message._repair_headersi   so    	3 ;?t*Z:PQ:PJCC':PQ===NNM4+;+;+=>?R 	 Rs   A6c                4   < \         SV `  \        4       R 7      # ))policy)r1   	as_stringr   rB   s   &r   rZ   Message.as_stringw   s    w 	 44r   c           	     V   a  V 3R lp\        \        V\        \        S 4      4      4      # )zC
Convert PackageMetadata to a JSON-compatible format
per PEP 0566.
c                    < V SP                   9   d   SP                  V 4      MSV ,          pV R 8X  d   \        P                  ! RV4      pV P	                  4       P                  RR4      pW!3# )Keywordsz\s+-_)multiple_use_keysget_allresplitlowerreplace)rU   r   tkr   s   &  r   	transformMessage.json.<locals>.transform   s]    ),0F0F)FDLL%DQTIEj /$$S#.B9r   )dictmapr   )r   rh   s   f r   jsonMessage.jsonz   s#    	 C	3z4#89::r   )r;   )

ClassifierzObsoletes-DistPlatformzProject-URLzProvides-DistzProvides-ExtrazRequires-DistzRequires-ExternalzSupported-PlatformDynamic)r   r   r    r!   __doc__setrk   r   ra   r2   r>   rA   rE   r:   rZ   propertyrl   r"   r#   __classcell__)r7   r$   s   @@r   r&   r&      si     "H 	
" 
/"5 ; ; ;r   r&   )email.messager*   email.policyrc   r   _textr   rY   EmailPolicyr   r+   r&   r	   r   r   <module>ry      sB      	  1(( 1t;emm## t;r   