+
    :1je                         R t ^ RIt^ RIt^ RIHt ^ RIHtHtHt ^ RI	H
t
Ht ^ RIHt ^RIHtHt ^RIHt ]! ]4      tR tR	 tR
 tR tR t]R8X  d   ]! ]! 4       4       R# R# )z<Anaconda-client (binstar) token management for CondaSession.N)	getLogger)isdirisfilejoin)S_IREADS_IWRITE)user_config_dir)
quote_plusunquote_plus)rm_rfc                 6    \         P                  ! R RV ^R7      # )z([./])api([./]|$)z	\1conda\2)count)resub)urls   &>lib/python3.14/site-packages/conda/gateways/anaconda_client.pyreplace_first_api_with_condar      s    66&cCC    c                      R \         P                  9   d6   \         P                  P                  \         P                  R ,          R4      # \	        RRR7      # )BINSTAR_CONFIG_DIRdatabinstarContinuumIO)appname	appauthor)osenvironpathr   r    r   r   _get_binstar_token_directoryr      s:    rzz)ww||BJJ';<fEEyMJJr   c                     / p \        4       p\        V4      '       g   V # \        P                  ! V4       F  pVP                  RR R8w  d   K  \
        P                  ! RR\        VP                  4      4      p\        VP                  4      ;_uu_ 4       pVP                  4       pRRR4       X;W&   V \        V4      &   K  	  V #   + '       g   i     L(; i)   N.tokenz\.token$ i)r   r   r   scandirnamer   r   r
   openr   readr   )tokens	token_dir	tkn_entryr   ftokens         r   read_binstar_tokensr-      s    F,.IZZ	*	>>"#(*ff["l9>>&BC)..!!QFFHE "BGGf9#>? + M "!s   CCc                    \        4       p\        V4      '       g   \        P                  ! V4       \	        V\        V 4       R 24      p\        V4      '       d   \        P                  ! V4       \        VR4      ;_uu_ 4       pVP                  V4       RRR4       \        P                  ! V\        \        ,          4       R#   + '       g   i     L8; i)r"   wN)r   r   r   makedirsr   r	   r   unlinkr&   writechmodr   r   )r   r,   r)   	tokenfilefds   &&   r   set_binstar_tokenr6   /   s    ,.I
IY:c?"36 :;Ii
		)	i		
 
HHY7*+ 
	s   CC	c                 `    \        4       p\        V\        V 4       R 24      p\        V4       R# )r"   N)r   r   r	   r   )r   r)   r4   s   &  r   remove_binstar_tokenr8   =   s*    ,.IY:c?"36 :;I	)r   __main__)__doc__r   r   loggingr   os.pathr   r   r   statr   r   platformdirsr   
common.urlr	   r
   disk.deleter   __name__logr   r   r-   r6   r8   printr   r   r   <module>rD      sf    C 	 	  ' ' " ( 1 D
K , z	

  r   