+
    Si
                     `    R t ^ RIHt ^ RItRtRR ltR tR tR tRR lt	R	 t
R
 tR tR tR# )z3Formatting utilities for use in creating help text.)formatting_windowsNz...c                 \   a V P                  R 4      pR P                  V3R lV 4       4      # )
c              3   X   <"   T F  pV'       d   R S,          V,           MTx  K!  	  R# 5i) N ).0linespacess   & N/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/fire/formatting.py	<genexpr>Indent.<locals>.<genexpr>   s(      $ "cFlTt+s   **)splitjoin)textr
   liness   &f r   Indentr      s/    
**T
%	  
     c                 4    \         P                  ! V R .R7      # )boldattrs	termcolorcoloredr   s   &r   Boldr      s    			4x	00r   c                 4    \         P                  ! V R .R7      # )	underliner   r   r   s   &r   	Underliner   #   s    			4}	55r   c                 *    \        \        V 4      4      # )N)r   r   r   s   &r   BoldUnderliner!   '   s    	io	r   c                   . pRp\        V 4       F  w  rVV\        V 4      ^,
          8H  pV'       dN   \        V4      \        V4      ,           V8:  d   WF,          pKL  VP                  VP                  4       4       TpKo  \        V4      \        V4      ,           \        V4      ,           V8:  d   WFV,           ,          pK  VP                  VP                  4       4       Wa,           pK  	  VP                  V4       V# )zDJoins the items by the separator, wrapping lines at the given width. )	enumeratelenappendrstrip)items	separatorwidthr   current_lineindexitemis_final_items   &&&     r   WrappedJoinr/   +   s    
%,u%keSZ!^+M	\	SY	&%	/\((*+	\	SY	&Y	75	@y((\((*+' & ,,|	,r   c                 6    \         P                  ! V R R.R7      # )redr   )colorr   r   r   s   &r   Errorr3   B   s    			4uVH	==r   c                    V\        \        4      8  d   Tp\        V 4      V8:  d   V # V RV\        \        4      ,
           \        ,           # )z)Truncate text from the end with ellipsis.N)r%   ELLIPSIS)r   available_spaceline_lengths   &&&r   EllipsisTruncater8   F   s@    s8}$!OY/!K	.X.	/(	::r   c                    V\        \        4      8  d   Tp\        V 4      V8  d   V # V\        \        4      ,
          p\        V^,          4      pW4,
          pV RV \        ,           W) R ,           # )z-Truncates text from the middle with ellipsis.N)r%   r5   int)r   r6   r7   available_string_lenfirst_half_lensecond_half_lens   &&&   r   EllipsisMiddleTruncater>   P   sk    s8}$!OY K(3x=8+a/0.(9/	o~		)D1A1B,C	CCr   c                     R V ,          # )z"%s"r   r   s   &r   DoubleQuoter@   \   s    	$r   )   )z | P   )__doc__firer   r   r5   r   r   r   r!   r/   r3   r8   r>   r@   r   r   r   <module>rE      sE    : #  16.>;	Dr   